Просмотр исходного кода

Merge origin/main into feature/parity165w

Ka1-S 1 месяц назад
Родитель
Сommit
1eb28ddae2
51 измененных файлов с 5533 добавлено и 633 удалено
  1. 4 0
      CMakeLists.txt
  2. 13 9
      docs/PARITY.md
  3. 129 0
      docs/analise/REA_rodada165f-midisync.md
  4. 73 0
      docs/analise/REA_rodada165g.md
  5. 65 0
      docs/analise/REA_rodada165ha.md
  6. 15 0
      docs/analise/REA_rodada165n.md
  7. 52 0
      resources/i18n/pt-BR.txt
  8. 0 0
      scripts/build-local.sh
  9. 4 1
      scripts/build-windows-zig.sh
  10. 56 0
      src/Main.cpp
  11. 38 0
      src/core/Effects.cpp
  12. 42 8
      src/core/EmberClassic.cpp
  13. 12 0
      src/core/EmberClassic.h
  14. 26 0
      src/core/FlEffects.cpp
  15. 722 0
      src/core/FlExtraFx.cpp
  16. 145 0
      src/core/FlExtraFx.h
  17. 16 1
      src/core/FlpImport.cpp
  18. 424 0
      src/core/MidiSync.cpp
  19. 198 0
      src/core/MidiSync.h
  20. 14 1
      src/core/MixSuite.cpp
  21. 7 0
      src/core/MixSuite.h
  22. 4 4
      src/core/PluginCatalog.cpp
  23. 48 17
      src/core/PluginLayout.cpp
  24. 47 0
      src/core/Preferences.cpp
  25. 17 0
      src/core/Preferences.h
  26. 4 3
      src/core/RackRenderer.cpp
  27. 3 0
      src/core/RackRenderer.h
  28. 6 2
      src/core/Song.h
  29. 2 2
      src/core/StorePackage.h
  30. 18 0
      src/engine/AudioEngine.cpp
  31. 4 0
      src/engine/AudioEngine.h
  32. 2 1
      src/engine/ChannelRackProcessor.cpp
  33. 486 0
      src/engine/MidiSyncIo.cpp
  34. 119 0
      src/engine/MidiSyncIo.h
  35. 6 1
      src/engine/ProjectFile.cpp
  36. 5 1
      src/engine/Transport.h
  37. 2 0
      src/platform/Package.cpp
  38. 1016 0
      src/ui/FlExtraEditors.cpp
  39. 37 0
      src/ui/FlExtraEditors.h
  40. 745 574
      src/ui/I18nData.h
  41. 1 0
      src/ui/MixerComponent.cpp
  42. 12 3
      src/ui/PatcherEditor.cpp
  43. 20 0
      src/ui/PluginEditors.cpp
  44. 236 2
      src/ui/SettingsPages.cpp
  45. 175 0
      tests/FlPlugins165Tests.inc
  46. 345 0
      tests/MidiSync165Tests.inc
  47. 2 1
      tests/MixSuiteTests96.inc
  48. 1 1
      tests/Parity128Tests.inc
  49. 110 0
      tests/Parity165aTests.inc
  50. 1 1
      tests/Store165Tests.inc
  51. 4 0
      tests/tests.cpp

+ 4 - 0
CMakeLists.txt

@@ -51,6 +51,7 @@ add_library(lynx_core STATIC
     src/core/ProjectSafety.cpp
     src/core/PluginSubstitutes.cpp
     src/core/Preferences.cpp
+    src/core/MidiSync.cpp
     src/core/ThemePalette.cpp
     src/core/PluginLayout.cpp
     src/core/StateParams.cpp
@@ -88,6 +89,7 @@ add_library(lynx_core STATIC
     src/core/FreqShifterFl.cpp
     src/core/LowLifterFl.cpp
     src/core/VisualFx.cpp
+    src/core/FlExtraFx.cpp
     src/core/FruityDance.cpp
     src/core/Reeverb2.cpp
     src/core/LuxeVerb.cpp
@@ -297,6 +299,7 @@ if(LYNX_BUILD_APP)
         src/engine/Vst2Format.cpp
         src/engine/MidiFileIo.cpp
         src/engine/AudioLogger.cpp
+        src/engine/MidiSyncIo.cpp
         src/engine/PreviewPlayer.cpp
         src/ui/MainComponent.cpp
         src/ui/ChannelRackComponent.cpp
@@ -320,6 +323,7 @@ if(LYNX_BUILD_APP)
         src/ui/AutomationUi.cpp
         src/ui/ControllerEditors.cpp
         src/ui/VisualEditors.cpp
+        src/ui/FlExtraEditors.cpp
         src/ui/VisualGl.cpp
         src/ui/DanceView.cpp
         src/ui/NewtoneEditor.cpp

+ 13 - 9
docs/PARITY.md

@@ -483,7 +483,7 @@ sources, 50 modulation slots).
 | In / Out gain + mix | ✅ | round 128: In (±24 dB) in the bottom bar; Out; Dry / wet |
 | Input / output pan | ✅ | round 150b: In pan / Out pan in the strip [EXEC trial: the far side × (1 − \|pan\|); input pan before the drive, output pan after the mix; with M/S they act on mid / side]; translated (state slots 1 / 3) |
 | Auto gain | — | LYNX extra (Saturn has none; Decapitator has Auto) |
-| Decapitator: Drive, 5 styles (A, E, N, T, P), Low Cut, Tone, High Cut, Thump, Steep, Mix, Output, Auto, Punish | ⚠️ | trial not installed; Ember covers drive / tone / cuts / mix / auto gain, no Thump / Steep / Punish |
+| Decapitator: Drive, 5 styles (A, E, N, T, P), Low Cut, Tone, High Cut, Thump, Steep, Mix, Output, Auto, Punish | ✅ | see "Ember Saturator ← Decapitator (Soundtoys)" below (the Classic voicing, measured on the trial since round 135 / 136; round 165: Punish's law, Auto, the one-screen panel) |
 
 **Round 147b:** configuration 6 → 7 (channel mode M/S, drive pan, band pan, measured on the trial and translated), design 7 → 7. Remaining: 6 bands, 28 styles, modulation, linear phase.
 
@@ -1666,30 +1666,34 @@ text, screenshots, and measurements of sines / noise through it — docs/analise
 | Original feature | Original (range / default / where) [EXEC trial] | LYNX now | Status | Note |
 |---|---|---|---|---|
 | Drive | 0.0…10.0, big knob, default 0; ≈ 3.2 dB per step at −18 dBFS | Drive 0…+36 dB; read-out "+x dB (n.n)" on the 0–10 scale (3.6 dB / step) | ✅ | round 135: the 0–10 read-out |
-| Punish | on / off, top left; ≈ +20 dB before the drive | **Punish** in the strip on top of the display | ✅ | round 135: +20 dB pre-drive (single- and multiband) |
+| Punish | on / off, top left; adds 13.8 – 14.1 dB + 0.10 … 0.74 dB per Drive unit (per style) before the drive [EXEC round 165] | **Punish** in the strip on top of the display; Classic voicing: Punish top left with the measured law per style | ✅ | round 135: +20 dB pre-drive (single- and multiband); round 165: the Classic voicing's Punish follows the trial's gain law (0.03 – 0.14 dB) and style A its fitted Punish curve (null −9.5 → −17.3 dB over drives 1 … 10) (round 136's +9.75 dB came from a reading the trial gets wrong right after a toggle); projects saved before keep it ("Classic law Old") |
 | Style A / E / N / T / P | 5 one-click buttons, bottom row | **one-click voicing row** (Tape pre, Console, Grit, Triode, Pentode; "Style menu" = the old 4 styles) | ✅ | round 135: five voicings (a curve each — a new "console" curve for E — and their own broad EQ, from the measured responses); own names |
-| Per-style tone / harmonics | E brightest top (+3 dB > 8 kHz), N darker top, T thinner bass, P bass bump [EXEC noise, Drive 5] | each voicing's pre / post shelves follow these | ⚠️ | voicing curves not fitted to the measured harmonics (round 136 tunes the models) |
+| Per-style tone / harmonics | E brightest top (+3 dB > 8 kHz), N darker top, T thinner bass, P bass bump [EXEC noise, Drive 5] | each voicing's pre / post shelves follow these; the Classic voicing's five styles fitted on the trial | ✅ | round 136 (A) / 138 (E N T P): mean nulls A −25, E −16, N −17, T −12, P −13 dB |
 | Low Cut | 20 Hz…1 kHz, 12 dB/oct, before the drive | **Wide cuts**: 20 Hz…1 kHz (old range 20–500 Hz kept for older projects) | ✅ | round 135 |
 | Thump | switch beside Low Cut: a resonant bump at the cutoff (+3.5 dB) | **Thump** (low cut Q 1.6) | ✅ | round 135 |
-| Tone | Dark…Bright ±12 (a pre-drive tilt: +12 = −18 dB at 30 Hz / +3 dB at 16 kHz) | Tilt ±6 dB around 1 kHz, after the curve | ⚠️ | position (pre / post) left to the DSP round |
+| Tone | Dark…Bright ±12 (a pre-drive tilt: +12 = −18 dB at 30 Hz / +3 dB at 16 kHz) | Classic voicing: the measured 2nd-order tilt before the drive (±12, within 0.25 dB); Ember's own: Tilt ±6 dB after the curve | ✅ | round 136 |
 | High Cut | 1…20 kHz, gentle ≈ 6 dB/oct | **Wide cuts**: 1…20 kHz, 6 dB/oct (old: 2–20 kHz, 12 dB/oct) | ✅ | round 135 |
 | Steep | switch beside High Cut: ≈ 30 dB/oct | **Steep** (5th-order Butterworth, 30 dB/oct) | ✅ | round 135 |
-| Auto | on (default); links the Output knob to Drive in the GUI — the audio is identical on / off [EXEC] | Auto gain (RMS make-up) | ⚠️ | different law; her states are translated with LYNX's auto gain off and her trim |
+| Auto | on (default); links the Output knob to Drive in the GUI — the audio is identical on / off [EXEC]; −1.6 dB per Drive unit [EXEC her 63 states: 11 distinct drive / output pairs, all on the line within the 0.1 dB read-out] | Classic voicing: **Auto** beside Output — turning Drive in the editor moves Output −1.6 dB per unit (host automation does not, as the trial); Ember's own: Auto gain (RMS make-up) | ✅ | round 165 |
 | Output | −24…0 dB, main panel | **Output on the band panel** (±18 dB), beside Dry / wet | ✅ | round 135: moved from the bottom bar to the panel |
 | Mix | Dry…Wet, default 100 % | Dry / wet | ✅ | |
-| VU meter ("attitude") | analog VU on top | **IN / OUT meters** at the right of the display with the output read-out | ✅ | round 135 |
+| VU meter ("attitude") | analog VU on top | **IN / OUT meters** at the right of the display with the output read-out; Classic voicing: a needle VU top centre (output level, click: input / output) | ✅ | round 135; round 165: the VU |
 | Latency | 62 samples at 48 kHz [EXEC] | the oversampler's latency (reported) | ✅ | |
 | Oversampling | not exposed | 2× / 4× / 8× (bottom bar) | ➕ | |
 | Multiband (Saturn role) | — | up to 4 bands | ➕ | |
 | Preset strip ◀ ▶ / save / revert | Soundtoys strip | LYNX preset bar (◀ ▶, factory incl. a "Voicings" folder, user presets) | ✅ | |
 | A/B | — (none in the strip) | LYNX's A/B | ➕ | |
 | Translation of her saved state | encoded | **her 7 distinct states translated** (read in the trial: style A, Drive 1.9–2.0, Tone +1.7 / +4.2, High Cut 8.1 kHz / off, Mix 88 / 100 %, Trim −3.0 / −3.2 dB) | ✅ | round 135: payload hash → settings (core/SoundtoysStates.inc); other states: the light default |
-| One-screen layout | VU top, Drive left, filters row, styles row | display + band panel; the reference's switches in one strip on top | ⚠️ | layout differs (spectrum-first editor) |
+| One-screen layout | VU top, Drive left, filters row, styles row | Classic voicing: the same arrangement — Punish top left, VU top centre, Output + Auto top right, the big Drive left, Low cut (+ Thump) / Tone / High cut (+ Steep) / Mix, the five styles A … P one click each along the bottom; Ember's own: display + band panel | ✅ | round 165 (LYNX's widgets and colours; the Classic toggle returns to Ember's engine) |
 
 **Scores**: configuration 4/10 → **8/10**, design 4/10 → **7/10** (round 135).
 
-**Left**: Tone before the curve; the voicings' harmonic profiles fitted to the trial (round 136); Auto as an Output-follows-
-Drive link instead of a make-up gain.
+**Round 165:** config 8 → 9, design 7 → 9 (Punish's measured law per style, Auto as the reference's Output-follows-Drive
+link, the Classic voicing's one-screen panel with the VU; REA_rodada165ha).
+
+**Left**: drive ≥ 5 on style A (the null falls to −11 dB at drive 10: a level-dependent even-harmonic term, round 138 §5);
+Punish's curve at high level beyond the gain law; the VU's ballistics / calibration (not measurable black-box without the
+GUI); the trial's own hiss.
 
 ---
 

+ 129 - 0
docs/analise/REA_rodada165f-midisync.md

@@ -0,0 +1,129 @@
+# REA round 165f sub-round rea165-midisync: MIDI clock / MTC master sync and external clock sync
+
+Gap #2 of docs/analise/REA_rodada165f.md. Clean-room: behaviour and names only.
+
+## Evidence so far
+- [DFM] TMIDIForm (Options › MIDI): per output `MasterSyncBox` "Send master sync", `SyncTypeSelect` = MIDI clock
+  ("Standard MIDI clock and Song Position Pointer") / MTC 24 / 25 / 30 drop / 30 non-drop / 29.97 drop / 29.97
+  non-drop, `MasterSyncOffset` −1000…1000 ms, `SendAllNotesOffBox` "Send all notes off to this device on init and
+  after render". `MIDISyncPanel` "External sync": `ExtClockSyncSelect` (device list, filled at run time),
+  `MidiSyncOffset` −1000…1000 ms, `ExtSyncStatusLabel` "Status:". ("Slave tempo" is the FL-as-plugin page, not MIDI.)
+- [DFM/strings] handlers (Delphi method table): MasterSyncBoxClick 0x1367850, SyncTypeSelectChange 0x1368120,
+  MasterSyncOffsetChange 0x13678e0, MidiSyncOffsetChange 0x1366fb0, ExtClockSyncSelectChange 0x13610e0,
+  SendAllNotesOffBoxClick 0x135cd70.
+- [strings] class `TMIDIClockReceiver`, "Create MIDI clock receiver", "Start the MIDI sync thread", `SyncThread`,
+  "Clock is too fast !", "FL Studio Midi Sync warning", "Your audio device is set to FL Studio ASIO. This can cause
+  inaccurate MIDI sync timing.", registry names `ExternalMidiClockDeviceID`, `MasterClockSyncOffset`,
+  `MidiSyncTimingOffset`, toolbar `MIDISyncLED`, action "Enable MIDI master sync" (OptionsEnableMIDIMasterSyncAction).
+
+- [DECOMP] `MasterSyncBoxClick` (0x1367850): when master sync is turned on, FL first checks the audio driver: with
+  "FL Studio ASIO" it warns "Your audio device is set to FL Studio ASIO. This can cause inaccurate MIDI sync timing. Use a
+  dedicated ASIO driver for best results." (Cancel = the box goes off again); then stores the device's master-sync and
+  notes-off flags and reopens the MIDI outputs ("Opening MIDI output devices", 0x117ca10): an output is opened when it
+  has a port number or master sync. `SyncTypeSelectChange` (0x1368120), `MasterSyncOffsetChange` (0x13678e0) and
+  `MidiSyncOffsetChange` (0x1366fb0) each store **one global** value (sync type and master offset are not per device in
+  FL; LYNX keeps them per output — a superset). `SendAllNotesOffBoxClick` (0x135cd70) stores the flag of the selected
+  output. `ExtClockSyncSelectChange` (0x13610e0): item 0 = off (device −1, status 0); a device that is not enabled
+  asks "The device |%s| isn't enabled" [Enable device] [Disable sync]; status = 1 when the input is open, 3 when it is
+  not (the Status label); it also runs the FL Studio ASIO warning.
+
+- [DECOMP] **Master sync sender** = FL's "MIDI sync thread" (loop 0xbb0b00, `Sleep (1)` per pass, i.e. about 1 ms
+  timing resolution): MIDI clock only **while playing** (no clock when stopped). Start (0xbb0a40): if the song is not at
+  its start, Stop (0xFC) + Song Position Pointer (0xF2, position / ticks per 16th, rounded) first; then it waits for
+  playback and sends **Start (0xFA)** — FL never sends Continue. Each clock (0xF8, 0xbb12f0) is scheduled from the
+  previous one at one clock period, corrected against the song position (+ the master offset converted to ticks) so
+  the clocks stay phase-locked to the song; a positive master offset delays the first clock by that many ms. Stop
+  (0xbb1360): 0xFC. MTC (sync type > 0): quarter frames 0xF1 from the song time in seconds (+ offset), pieces 0…7
+  cycling, the timecode snapshot taken at piece 0 (frames = fraction of the second × fps — no drop-frame label
+  conversion), hours byte = hours mod 24 + the rate bits.
+- [DECOMP] **Clock receiver** (TMIDIClockReceiver message handler 0x1312760): 0xFA and 0xFB both reset and start
+  (status "Status: running [Beat n]"; FL plays from its **own** position — SPP is ignored); 0xFC stops ("Status:
+  ready"). Each 0xF8 while running: a least-squares line through the **last 16 clocks** (time in samples → beats),
+  tempo = its slope × 60, **clamped to 10…522 BPM and rounded to 0.1 BPM**; a second regression of FL's position
+  against the clock-derived position gives a playback speed ratio clamped to 0.25…4 (phase lock); the external offset
+  (ms × tempo / 60 000 beats) shifts the target. Every beat the status label's beat number moves. Status texts [DECOMP
+  0x136a650]: "Status: off" / "Status: ready" / "Status: running [Beat n]" / "Status: error"; the toolbar shows a MIDI
+  sync LED while running.
+- LYNX vs FL: LYNX sends SPP + **Continue** when starting elsewhere (the MIDI spec; devices that treat Start as "from
+  the top" then follow correctly), and **follows SPP** in (FL ignores it); per-output sync type / offset (FL: one
+  global); MTC with real drop-frame labels; sample-accurate time stamps instead of a 1 ms polling thread; tempo fit over
+  96 clocks with change detection + hysteresis (FL: 16 clocks, no hysteresis) — steadier with jittery USB interfaces;
+  phase correction ±5 % (FL: up to ×0.25…×4). Same tempo range (10…522) and 0.1 BPM rounding as FL.
+
+## LYNX today [CODE]
+- No juce::MidiOutput anywhere; MIDI inputs opened in AudioEngine::enableAllMidiInputs via the deviceManager;
+  handleIncomingMidiMessage ignores system real-time. Prefs: prefs::MidiPrefs (src/core/Preferences.h, text format).
+
+## What LYNX does now (this round) [CODE]
+- `src/core/MidiSync.{h,cpp}` (pure, unit-tested, no allocation):
+  - `Generator` (one per output): MIDI clock = 24 pulses per quarter (every 40 ticks of LYNX's 960 PPQ), each at the
+    first sample whose position reaches it (sample-accurate inside the block, also across tempo changes); Start
+    (0xFA) when playback starts at 0, else Song Position Pointer (0xF2, rounded **up** to the next 16th) + Continue
+    (0xFB) so the first pulse after Continue falls exactly on the SPP; Stop (0xFC) when the transport stops; a jump
+    while playing (loop wrap, seek) = Stop + Start/SPP+Continue. MTC: quarter frames 0xF1 4 per frame, pieces 0…7
+    over 2 frames, piece 0 on an even frame, the 8 pieces carry the frame of piece 0; a full-frame SysEx
+    `F0 7F 7F 01 01 hh mm ss ff F7` on every start / locate; rate bits 0 = 24, 1 = 25, 2 = 30 drop (used for 29.97
+    drop and 30 drop), 3 = 30 (also 29.97 non-drop); 29.97 runs at 30000/1001 real frames per second with drop-frame
+    labels (frames 0 and 1 skipped each minute except every 10th). Song time for MTC: position / tempo at the locate,
+    then the sample count.
+  - `Receiver`: 0xF8 times → least-squares fit over the last 96 pulses (4 beats), tempo-change detection (mean of the
+    last 6 intervals > 4 % off on two pulses running → the fit restarts from those 7 pulses), hysteresis 0.1 BPM on
+    the published tempo; Start / Continue start on the **next pulse** at 0 / the last SPP, Stop, SPP; the master's
+    position = last pulse's position + time since it at the measured tempo (extrapolated ≤ 0.1 s); "Clock is too
+    fast!" above 999 BPM.
+- `src/engine/MidiSyncIo.{h,cpp}`: audio thread runs the generators per sub-block (the block split at loop ends) and
+  pushes time-stamped messages into one lock-free SPSC queue per output (no device call, no lock, no allocation);
+  the "LYNX MIDI sync" thread (highest priority, `timeBeginPeriod(1)` on Windows) sends each message when due. Due
+  time = smoothed block clock (sample count pulled 2 % per block towards the callback time; resync after 50 ms) +
+  sample offset + one buffer + the device output latency + the output's offset (ms). External clock: the input named
+  in the settings feeds the receiver on the MIDI thread; at each block start its commands move the transport, the
+  transport plays at the clock's tempo (`Transport::externalBpm`, also the renderer's tempo, over the song's tempo
+  automation), phase-locked: the error between the master's position (at now + latency − offset) and LYNX's corrects
+  the tempo by up to ±5 % within ~0.5 s; more than half a beat off = relocate.
+- "Send all notes off": CC 64 = 0 + CC 123 on the 16 channels of the outputs that have it, at start-up and after
+  every export (`setPluginsRenderMode (false)`).
+- Settings › MIDI: "Output devices" (per device: Send master sync, type, Offset (ms), Send all notes off) and
+  "External sync" (External clock sync = Off / an input, External sync offset (milliseconds), Status: "Receiving
+  clock 120.0 BPM, playing" / "No clock"). Saved in the MIDI settings file (`output=`, `clockin=` lines). pt-BR.
+- CLI: `LYNX --midisync-test report.txt ["output"] ["input"]` (loopback in memory, sender timing, a real loopback
+  when both devices are given); `--devices` now lists `midi-in=` / `midi-out=`.
+
+## Measurements [MEASURED]
+- `LYNX --midisync-test` (Linux build, WSL, machine under load from other rounds): generator → receiver in memory at
+  90 / 120 / 174 BPM with ±0.5 ms time-stamp jitter: tempo error 0.000 BPM, position error < 1 tick (of 960 per beat).
+- Sender thread (dry run, 48 kHz / 256 frames simulated callbacks, 5 s at 120 BPM, 241 messages, machine at load
+  11–16 from other rounds, process niced): late p50 0.000 ms, p95 0.105 ms, p99 1.98 ms, mean 0.10 ms, max 11 ms
+  (one outlier). (A first version slept up to 1 s when its queue emptied: 487 ms mean — found by this test, fixed.)
+  FL's sync thread polls with `Sleep (1)`: about 1 ms of jitter by design.
+- Windows build (`--midisync-test` on this PC, 5 s at 120 BPM): dry run late p50 0.70 / p95 1.45 / p99 1.83 ms, max
+  1.9 ms; sending to real WinMM ports ("StudioRack", "SG Device I/O", Waves' virtual ports): p50 0.97 / p95 1.7 /
+  p99 2.0 ms, max 2.7–4.1 ms — the ~1 ms is Windows' sleep granularity (FL's sync thread has the same `Sleep (1)`
+  step). Audio-thread cost 0.6–0.7 µs per block (max 17 µs). Those Waves ports don't echo, so no hardware loopback here.
+- Audio-thread cost of the sync per block (one output sending MIDI clock): mean 1.15 µs, max 5 µs; nothing when no
+  output has master sync (one relaxed atomic load).
+- [SHOT] /mnt/d/lynx-work/rea165-midisync/compare-midi-sync.png: FL 2026 Options › MIDI (left, shot from round 143)
+  next to LYNX's Settings › MIDI (`--snapshot`, Linux/Xvfb).
+- No MIDI hardware or loopback here: WSL has no ALSA sequencer (`/dev/snd/seq` missing, `snd-virmidi` needs root),
+  Windows lists no loopMIDI / virtual port. The end-to-end check is the in-memory loopback (unit test
+  `midisync165_generator_feeds_receiver_loopback` + `--midisync-test`).
+- build-local with FL Data: 1 762 037 checks, 0 failures (10 new midisync165 tests).
+
+## Plan
+core/MidiSync.{h,cpp} (pure, unit-tested): clock generator (24 PPQN, sample offsets in the block, Start/Continue/
+Stop/SPP), MTC quarter-frame / full-frame encoder (all 6 fps incl. drop-frame), clock receiver (smoothed tempo,
+transport commands). Engine: audio thread pushes timestamped events into a lock-free queue; a sender thread opens the
+MidiOutput and sends at the target time (sample clock → ms through a DLL); offsets applied there. Settings › MIDI UI.
+
+## Where I stopped
+- 21:25 — implementation, tests (build-local with FL Data: 0 failures), Linux GUI build + `--midisync-test` +
+  `--snapshot` done; origin/main merged; release-note bullets added to notes-0.1.20.md. Windows build OK + Windows
+  `--midisync-test`; landing via land.sh.
+
+## What's left (next version)
+- Windows: a high-resolution waitable timer (CREATE_WAITABLE_TIMER_HIGH_RESOLUTION) would take the sender from ~1 ms
+  to ~0.5 ms of lateness (a constant bias today; the offset setting can absorb it).
+- A real hardware / loopback-port test (none on this machine): send clock to a device and measure on its input;
+  Windows MIDI Services loopback endpoints if installed later.
+- FL's toolbar MIDI sync LED and its global Options-menu action "Enable MIDI master sync" (a quick toggle of all
+  outputs' master sync); FL's warning when the audio driver is "FL Studio ASIO" (not applicable to LYNX's drivers).
+- MTC input (chase timecode) — FL doesn't follow MTC either (its receiver handles clock only).

+ 73 - 0
docs/analise/REA_rodada165g.md

@@ -0,0 +1,73 @@
+# REA round 165g — the FL plugins LYNX still lacked, and engines out of "(beta)"
+
+Round r165g "flplugins165" (parent). Evidence markers: [MANUAL] FL's online manual, [DECOMP addr] Ghidra on the
+installation's DLL (clean-room: behaviour only), [FL render] FL64.exe /R of a crafted project, [TEST], [SHOT], [HYP].
+
+## Where I stopped
+- 2026-10-27 resume after the BSOD: Ghidra projects of every missing plugin's DLL are on D:\lynx-work\flplugins165\ghidra
+  (BigClock, Mute2, Scratcher(+engine), Tuner(+engine), Transmitter, VideoPlayer, HtmlNoteBook). Sub-rounds relaunched:
+  flbeta165p (Granulizer, Newtime, Newtone), flbeta165s (Harmor); flbeta165k (Kepler) waits for a free slot.
+- Batch 1 written (Mute 2, Big Clock, Tuner, HTML NoteBook, inert imports): building + tests, FL GUI shots, then land.
+  Next: Scratcher, Transmitter (34 presets, state v3 = ~44 controls 0…10000), Video Player.
+
+## Plugins (FL 2026, Plugins\Fruity)
+| FL plugin | kind | LYNX | evidence |
+|---|---|---|---|
+| Fruity Mute 2 | effect | exact (§1) | [DECOMP], [MANUAL] |
+| Fruity Big Clock | effect (no sound) | §2 | [MANUAL] |
+| Tuner | effect (no sound) | §3 | [MANUAL] |
+| Fruity HTML NoteBook | effect (no sound) | §4 | [MANUAL] |
+| Fruity Scratcher | effect (turntable) | (todo) | [MANUAL] |
+| Transmitter | effect (transient / sustain split) | (todo) | [MANUAL], presets |
+| Fruity Video Player | generator | (todo) | [MANUAL] |
+| FL Studio Mobile / Mobile Rack FX | generator / effect | import note (§5) | |
+| Razer Chroma, ReWired | | inert on import, with a note | |
+
+## 1. Fruity Mute 2
+[DECOMP 006ba850] two parameters: 0 "Mute" — muted = value < 0.5 (labels On / Off); 1 "Channel" — round(value / (1/3)),
+clamped to 2: 0 = L, 1 = L + R, 2 = R. [DECOMP 006baaf0] process: not muted → copy; L → left × 0, right × 1;
+L + R → both zeroed; R → left × 1, right × 0. No ramp. [DECOMP 006ba2a0] state: int32 version (1), then the two
+controls' raw values (int32 each).
+[SHOT D:\lynx-work\flplugins165\fl\e13.png] FL 2026's window: two knobs with caption boxes MUTE / CHANNEL and their
+values; a new instance shows "On" and "L + R" — so "On" is the sound passing (muted = false indexes label 0 "On"), and
+LYNX's default is Mute = 1, Channel = 1/3. [EXEC FL] headless renders (FL64 /R) of projects holding Mute 2 hang at
+"Opening: Fruity Mute 2" (screenshot fl\stuck1.png), so the engine is checked by the decompiled logic and unit tests
+only. LYNX: EffectKind::fruityMute2, core/FlExtraFx.cpp, layout "Fruity Mute 2" (PluginLayout.cpp), import of the state.
+
+## 2. Fruity Big Clock
+[MANUAL] shows the playing time: Bar:Beat:Tick, Minute:Second:1/100 and (optional) Bar:Step:Tick; right-click for
+options. LYNX: EffectKind::bigClock (no sound, passes the audio), one parameter "Display"; the editor
+(ui/FlExtraEditors.cpp) draws the song position in the biggest monospaced size that fits the resizable window, a click
+steps to the next display, right-click picks one. Ticks are shown at FL's default 96 per quarter note. [TEST]
+fl165g_big_clock_text.
+
+## 3. Tuner
+[MANUAL] Reference 400–480 Hz (440), Reactivity slow … fast (fast: F1–C10, slow: F1–E7, ignores brief fluctuations),
+Bass (one octave lower, ≥ 100 ms per estimate), Visual Basic / Dial. [DATA presets Circular|Horizontal\{Default,
+Average,Bass}.fst] state = i32 version 1, reference 3000, reactivity (Default 1, Average 0), bass 0/1, visual 1 =
+Horizontal (Basic), 2 = Circular (Dial). [HYP] reference raw 0…6000 = 400…480 Hz (3000 = 440, the midpoint),
+reactivity −1 … 1. LYNX's detection is its own YIN on the UI thread fed by the slot's tap (the audio thread only copies,
+as Wave Candy): [TEST] fl165g_tuner_state_and_detection — B0 (bass) to C8, both reactivities, A4 = 432 Hz, within 2 cents.
+
+## 4. Fruity HTML NoteBook
+[MANUAL] shows an .html page chosen with the file icon; the page is not stored in the project. [DATA presets] state =
+i32 version 1 + the address as a Pascal short string ("http://www.google.com/", FL news). LYNX keeps the same state,
+renders local pages as formatted text (headings, paragraphs, lists, bold / italic, links, preformatted; scripts and
+styles skipped) and opens web addresses and external links in the user's browser — LYNX never downloads pages itself
+(privacy). Links to other local pages open in place. [TEST] fl165g_html_notebook.
+
+## 5. Inert plugins
+Razer Chroma (vendor lighting) and FL Studio Mobile Rack FX are left out of the mixer with a note in the import report;
+FL Studio Mobile channels keep LYNX's synth substitute with a note saying why; ReWired and Fruity Video Player channels
+(no sound of their own) are imported muted, with the note.
+
+## 6. Left for a next round (groundwork)
+- Transmitter [DATA 34 presets, tmp scratch tr.py]: state = i32 version 3 + 47 ints. Ints 1–33 are controls 0…10000
+  (Default: 7475, 1968, 1968, 8743, 8743, 5000, 5000, 10000, 9112, 0, 5000, 5051, …), 34–42 flags/selectors (34–38
+  0/1 enables: "Transient only" clears 38, "Sustain only" clears 37; 39–40 selectors 0…5; 41–42 0/1), 46 = 49…90,
+  47 = 257 / 65793 (bytes). The DSP (transient / sustain split, Saturation / Bounce / Diffusion / Delay per section) needs
+  a decompile of Transmitter.dll before LYNX can reproduce it; until then an imported Transmitter is reported as unsupported.
+- Fruity Scratcher [DATA presets]: state = version 1001000 + 14 floats + the sample path. engine_x64.dll is only the
+  DVS timecode decoder; the scratch DSP is in the 4 MB Delphi DLL. An FL render exists (D:\lynx-work\flplugins165\r\m_ref.wav).
+- Fruity Video Player: a video window synced to the song; plan = decode with the user's ffmpeg (ui/VisualEditors.cpp
+  findFfmpeg) through a reading pipe, frames shown by song time. Not started.

+ 65 - 0
docs/analise/REA_rodada165ha.md

@@ -0,0 +1,65 @@
+# REA round 165ha (parity165a): Ember Saturator ← Decapitator (Soundtoys)
+
+2026-10-27. Sub-round of r165h parity165. Black-box only: the official Decapitator trial (5.5.5, until ~11-22) hosted in
+our own host (tools/fxmeasure: public VST3 parameters and value texts, audio in / out), her saved states (read back
+through the parameter API in round 136), measurements. Nothing was decompiled; no graphics, preset names or text copied.
+Raw data: /mnt/d/lynx-work/parity165a (out/meas1_0 … meas5 trial renders, lab/ fits and logs), harness
+~/.claude/jobs/f8789b49/tmp/parity165a (py/ meas*.py, evp.py, fitp.py; lab/decalab).
+
+## Where I stopped
+- Resumed after the 2026-10-27 BSOD from checkpoint 68b0ff3a (the `--plugui` shot of Ember's Classic voicing, the
+  fxmeasure `editor <out.png>` fix). meas2.pkl was zeroed by the crash; its WAVs were intact and used instead.
+- Done (branch feature/parity165a, pushed to origin/wip/parity165a): §1 Punish's measured law per style, §2 style A's
+  Punish curve, §3 Auto link, §4 the one-screen Classic panel with the VU, tests/Parity165aTests.inc, PARITY rows.
+- In progress: build-local with FL Data, Windows build, `--plugui` re-shot, landing.
+- Not done (ranked): Punish curves of styles E / N / T / P (only their gain law is measured; their own curve is used);
+  style A at drive ≥ 7 without Punish (round 138 §5's open item: a level-dependent even-harmonic term); Saturn 2's
+  design items (drawn modulation cables, the 16-step LFO editor).
+
+## 1. Punish's law [EXEC trial]
+- The trial applies the FIRST setting after any change of Style or Punish wrongly: the same commands sent twice in a row
+  give a different small-signal gain the first time (meas3: −4.1 … −9.6 dB off; meas5: also after a Style change), and
+  re-sending them reads correctly and repeatably. Round 136 measured Punish at drive 0 as the first job after the toggle,
+  so its +9.75 dB constant came from such a reading. Every job here is preceded by a dummy job after each toggle.
+- Steady state (1 kHz at −70 dBFS, meas4): Punish adds a + k × drive dB before the curve, per style:
+  A 13.83 + 0.406 d, E 14.01 + 0.479 d, N 14.14 + 0.103 d, T 14.02 + 0.512 d, P 13.92 + 0.741 d (max error 0.02 – 0.14 dB
+  over drive 0 … 10). Without Punish the slopes are A 3.30, E 3.32, N 3.10, T 2.40, P 3.05 dB per unit (as round 136).
+- LYNX (`emberclassic::StyleModel::punishLaw*`, `Settings::measuredPunish`): the measured law; a new appended Ember
+  parameter `Classic law` (1 for new instances; projects saved before round 165 load with 0 = round 136's +9.75 dB, and
+  an "Old | Measured" switch shows in the Classic panel only for them).
+
+## 2. Style A's curve with Punish on [EXEC + model]
+With the gain law alone the Punish-on renders still null only −10 dB: Punish also drives a different curve (H2 at
+−20 dBFS, drive 1: trial −19.4 dBc vs −26 dBc without Punish at the same small-signal gain). Fitted in the lab (decalab,
+Nelder–Mead 2 × 150, 3 threads) on drives 1 / 3 / 6 / 10 (100 Hz and 1 kHz stairs −80 … +6 dBFS, bursts, two takes):
+the law, output, both knees, static and dynamic bias, the bias follower times. Check on every drive 1 … 10 incl. the
+held-out drives 2 / 4 / 5 / 7 / 8, the unseen 5 kHz stairs and the third take (py/evp.py):
+
+| Punish on, style A | mean null (63 renders) | drive 1 | drive 5 | drive 10 |
+|---|---|---|---|---|
+| round 136 (+9.75 dB, A's curve) | −9.47 dB | −10.1 | −9.6 | −7.9 |
+| measured law, A's curve | −10.08 dB | −11.8 | −10.1 | −8.2 |
+| **measured law + Punish curve** | **−17.27 dB** | **−23.1** | **−17.3** | **−11.7** |
+
+E / N / T / P keep their own curve under Punish (only A was rendered with Punish at every drive; her states use A).
+
+## 3. Auto [EXEC her states]
+The trial's Auto changes nothing in the audio path (round 135); in its editor it turns Output down as Drive goes up.
+Her 63 saved states (all Auto on) hold 11 distinct (drive, output) pairs from 1.1 / −1.7 to 5.9 / −9.4 dB, every one on
+Output = −1.6 dB × Drive within the 0.1 dB read-out. LYNX: `Classic auto` (appended, default on) — an editor edit of
+Drive moves Output by −1.6 dB per unit (relative, so a hand-set Output keeps its offset; clamped to −24 … 0 dB);
+host automation of Drive does not move it, as in the trial (`mixsuite::ember::linkedEdit`, hooked like Echoform's
+filter link).
+
+## 4. The Classic panel [SHOT]
+Trial: /mnt/d/lynx-work/vox138/trials/Decapitator.png. LYNX before: the round-136 strip (style radio left, a
+Classic section, no meter, no Auto) inside a 520 × 1110 window (Ember's multiband page). Now (520 × 440, the window only
+opens for the Classic voicing): Punish top left, a needle VU top centre (output level, click for input), Output with
+Auto top right, the big Drive left, Low cut (+ Thump) / Tone / High cut (+ Steep) / Mix, the five styles one click each
+along the bottom, "Classic" (back to Ember's engine) bottom right — LYNX's widgets and colours.
+Shot: C:\Users\kauan\lynx-test\parity165a\shots\Ember Saturator-classic.png.
+
+## Scores
+| pair | config | design |
+|---|---|---|
+| Ember Saturator ← Decapitator | 8 → 9 | 7 → 9 |

+ 15 - 0
docs/analise/REA_rodada165n.md

@@ -43,6 +43,21 @@ Evidence markers: **[DOC]** Microsoft Learn (MSIX docs), **[CODE]** LYNX source,
   of tests.cpp's list; wip/store165 force-pushed once (my own wip branch, to drop tune165's leaked commits).
 - 02:40 land #3 queued behind ~12 landings on the merge lock; Release run 40592904988: Version, Build LYNX.exe,
   Linux, macOS green; Windows "Self-test and package" (the MSIX job) still queued on GitHub's runners.
+- 03:40 LANDED 3988d3c6 (land #3: 1,779,733 checks 0 failures, Windows build, selftest result=OK).
+- 03:45 local check with the landed LYNX.exe (CLI only, no window) [TEST]: `--packageinfo` unpackaged → settings
+  %APPDATA%\LYNX, result=OK; with LYNX_SIMULATE_PACKAGE_FAMILY → settings
+  %LOCALAPPDATA%\Packages\<family>\LocalCache\Roaming\LYNX, wave cache and the user Plugins folder follow it, the
+  first start copied 13 preference entries (plugins.xml, favourites, Presets, ui-options, audio-device...) and skipped
+  wavecache / autosave / flp-embedded / crash reports / logs, result=OK. Simulated folder deleted afterwards.
+  Follow-up: the probe file is deleted when not packaged and never migrated.
+- 04:20 **Release run 40592904988 green on every job** [TEST, CI, windows-latest, Windows SDK 10.0.26100]: makepri +
+  `makeappx pack` → `LYNX-0.1.19-973cde6-store.msix` (14.1 MB, 103 files, "Package creation succeeded"); the test
+  identity package installed with `Add-AppxPackage -AllowUnsigned`
+  (`C:\Program Files\WindowsApps\LYNX.DAW_0.1.19.0_x64__dmy9vrm0dn9mt`); LYNX run through the `lynx.exe` alias:
+  `packaged=yes`, settings `…\Packages\LYNX.DAW_dmy9vrm0dn9mt\LocalCache\Roaming\LYNX`, `settingsIsPackageFolder=yes`,
+  result=OK; the probe file seen from outside the package; `--selftest` inside the package result=OK; package removed.
+  (That run was queued before the repository variables existed, so it still used the placeholder identity; the
+  layout script now defaults to KA1WARE.LYNXSHARE and the variables hold it too.)
 
 ## 1. Facts that shaped the design
 

+ 52 - 0
resources/i18n/pt-BR.txt

@@ -5228,6 +5228,58 @@ countries: br
 "Send MIDI" = "Enviar MIDI"
 "The Dashboard sends its notes, the program and the controls set to \"Send MIDI\" to the plugins whose MIDI input port is this port (plugin window > Settings > MIDI > Input port)." = "O Dashboard envia suas notas, o programa e os controles com \"Enviar MIDI\" para os plugins cuja porta de entrada MIDI é esta porta (janela do plugin > Configurações > MIDI > Porta de entrada)."
 
+# Round 165g: Fruity Mute 2, Fruity Big Clock, Tuner, Fruity HTML NoteBook
+"MUTE" = "MUDO"
+"CHANNEL" = "CANAL"
+"Bar:Beat:Tick" = "Compasso:Tempo:Tick"
+"Min:Sec:Hundredths" = "Min:Seg:Centésimos"
+"Bar:Step:Tick" = "Compasso:Step:Tick"
+"[RMB] display: Bar:Beat:Tick, Min:Sec:Hundredths or Bar:Step:Tick" = "[Botão direito] exibição: Compasso:Tempo:Tick, Min:Seg:Centésimos ou Compasso:Step:Tick"
+"Reference" = "Referência"
+"Reactivity" = "Reatividade"
+"Dial" = "Mostrador"
+"cent" = "cent"
+"Page: a .html file or a web address" = "Página: um arquivo .html ou um endereço da web"
+"Choose the .html page to show" = "Escolha a página .html a mostrar"
+"Open the page in your web browser" = "Abrir a página no seu navegador"
+"Read the page again" = "Ler a página de novo"
+"Open in browser" = "Abrir no navegador"
+"Reload" = "Recarregar"
+"No page. Choose a .html file with Browse, or type a web address and press Enter." = "Nenhuma página. Escolha um arquivo .html em Procurar, ou digite um endereço da web e pressione Enter."
+"A web page: LYNX does not load web pages itself. Use \"Open in browser\"." = "Uma página da web: o LYNX não carrega páginas da web. Use \"Abrir no navegador\"."
+"The page was not found: {0}" = "A página não foi encontrada: {0}"
+"The page has no text to show." = "A página não tem texto para mostrar."
+"Browse" = "Procurar"
+# --- Settings › MIDI: master sync and external clock (round 165f)
+"Output devices" = "Dispositivos de saída"
+"No MIDI output devices found." = "Nenhum dispositivo de saída MIDI encontrado."
+"Send master sync drives drum machines, synths and other software from LYNX's transport: MIDI clock with Song Position Pointer, or MIDI Time Code." = "Enviar sincronização mestre comanda baterias eletrônicas, sintetizadores e outros programas pelo transporte do LYNX: MIDI clock com Song Position Pointer, ou MIDI Time Code."
+"Send master sync" = "Enviar sincronização mestre"
+"Send master synchronization to this device" = "Envia a sincronização mestre para este dispositivo"
+"MIDI clock: 24 pulses per quarter note, Start / Continue / Stop and Song Position Pointer. MTC: MIDI Time Code quarter frames and a full frame when the position moves." = "MIDI clock: 24 pulsos por semínima, Start / Continue / Stop e Song Position Pointer. MTC: quarter frames de MIDI Time Code e um full frame quando a posição muda."
+"MIDI clock" = "MIDI clock"
+"MTC 24 fps" = "MTC 24 fps"
+"MTC 25 fps" = "MTC 25 fps"
+"MTC 30 fps (drop)" = "MTC 30 fps (drop-frame)"
+"MTC 30 fps (non-drop)" = "MTC 30 fps (non-drop)"
+"MTC 29.97 fps (drop)" = "MTC 29,97 fps (drop-frame)"
+"MTC 29.97 fps (non-drop)" = "MTC 29,97 fps (non-drop)"
+"Offset (ms)" = "Deslocamento (ms)"
+"Master sync offset (milliseconds): positive sends the sync later, negative earlier" = "Deslocamento da sincronização mestre (milissegundos): positivo envia mais tarde, negativo mais cedo"
+"Send all notes off" = "Enviar all notes off"
+"Send all notes off to this device on init and after an export" = "Envia all notes off a este dispositivo ao iniciar e depois de uma exportação"
+"External sync" = "Sincronização externa"
+"External clock sync" = "Sincronizar com clock externo"
+"LYNX follows the MIDI clock of this input: its tempo, Start / Continue / Stop and Song Position Pointer" = "O LYNX segue o MIDI clock desta entrada: o andamento, Start / Continue / Stop e Song Position Pointer"
+"External sync offset (milliseconds)" = "Deslocamento da sincronização externa (milissegundos)"
+"Positive plays LYNX later than the clock, negative earlier" = "Positivo toca o LYNX mais tarde que o clock, negativo mais cedo"
+"No clock" = "Sem clock"
+"Ready, no clock" = "Pronto, sem clock"
+"Error: the input is not open" = "Erro: a entrada não está aberta"
+"Running: beat {0}, {1} BPM" = "Rodando: tempo {0}, {1} BPM"
+"Clock is too fast!" = "Clock rápido demais!"
+"Receiving clock {0} BPM" = "Recebendo clock a {0} BPM"
+"Choosing an input turns it on in Input devices above. Song time will match the clock." = "Escolher uma entrada a liga em Dispositivos de entrada acima. O tempo da música segue o clock."
 # round 165e: the Visualizer's GPU layers, LYNX Dance
 "The Visualizer was drawing with the GPU (OpenGL) when it happened. It now draws without the GPU; its GPU button turns it back on." = "O Visualizer estava desenhando com a GPU (OpenGL) quando isso aconteceu. Agora ele desenha sem a GPU; o botão GPU dele a liga de novo."
 "Draw the scene with the GPU (OpenGL): needed by the shader layers (Canvas, Terrain, 3D, Feedback, Post-process) and blend modes. Off: the 2D renderer" = "Desenhar a cena com a GPU (OpenGL): necessário para as camadas de shader (Canvas, Terreno, 3D, Feedback, Pós-processamento) e os modos de mistura. Desligado: o renderizador 2D"

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
scripts/build-local.sh


+ 4 - 1
scripts/build-windows-zig.sh

@@ -106,7 +106,7 @@ APP_SOURCES+=(src/core/MissingFiles.cpp src/core/ProjectSafety.cpp src/ui/Missin
 APP_SOURCES+=(src/core/PluginSubstitutes.cpp)
 # settings pages (General/Audio/MIDI), plugin manager, shortcut manager (round 82)
 APP_SOURCES+=(src/core/ThemePalette.cpp src/ui/ThemeSettings.cpp src/ui/ColourPicker.cpp)
-APP_SOURCES+=(src/core/Preferences.cpp src/ui/SettingsPages.cpp src/ui/PluginManager.cpp src/ui/ShortcutManager.cpp)
+APP_SOURCES+=(src/core/Preferences.cpp src/core/MidiSync.cpp src/engine/MidiSyncIo.cpp src/ui/SettingsPages.cpp src/ui/PluginManager.cpp src/ui/ShortcutManager.cpp)
 # spectral waveforms: band analysis, background cache and drawing
 APP_SOURCES+=(src/core/WaveAnalysis.cpp src/ui/WaveformView.cpp)
 # FL's Plucked!, Sawer and BeepMap engines (REA round 65)
@@ -144,6 +144,9 @@ APP_SOURCES+=(src/core/PluginLayout.cpp src/core/StateParams.cpp src/ui/PluginEd
 # crash / freeze reports: consent, anonymiser, upload, GitHub form (round 159)
 APP_SOURCES+=(src/core/CrashReport.cpp src/ui/CrashReporter.cpp)
 # visual plugins: Wave Candy, Visualizer, video export (round 164c)
+APP_SOURCES+=(src/core/VisualFx.cpp src/ui/VisualEditors.cpp)
+# FL plugins LYNX lacked: Mute 2, Big Clock, Tuner, HTML NoteBook (round 165g)
+APP_SOURCES+=(src/core/FlExtraFx.cpp src/ui/FlExtraEditors.cpp)
 APP_SOURCES+=(src/core/VisualFx.cpp src/core/FruityDance.cpp src/ui/VisualEditors.cpp src/ui/VisualGl.cpp src/ui/DanceView.cpp)
 
 echo "WavPack (decoder, C)..."

+ 56 - 0
src/Main.cpp

@@ -3,6 +3,7 @@
 
 #include "core/LoadTrace.h"
 #include "core/Effects.h"
+#include "core/MixSuite.h"
 #include "core/HardwareInsert.h"
 #include "core/EchoSuite.h"
 #include "core/LynxTune.h"
@@ -30,6 +31,7 @@
 #include "platform/Package.h"
 #include "ui/PatcherEditor.h"
 #include "ui/VisualEditors.h"
+#include "ui/FlExtraEditors.h"
 #include "ui/VisualGl.h"
 #include "ui/DanceView.h"
 #include "ui/PluginPresetMenu.h"
@@ -453,6 +455,17 @@ public:
             return;
         }
 
+        if (args.contains ("--midisync-test"))
+        {
+            // LYNX --midisync-test report.txt ["output device"] ["input device"] (round 165f): MIDI clock timing
+            const auto i = args.indexOf ("--midisync-test");
+            const auto out = args.size() > i + 2 && ! args[i + 2].startsWith ("--") ? args[i + 2].unquoted() : juce::String();
+            const auto in = args.size() > i + 3 && ! args[i + 3].startsWith ("--") ? args[i + 3].unquoted() : juce::String();
+            juce::File (args[i + 1].unquoted()).replaceWithText (lynx::MidiSyncIo::selfTest (out, in));
+            quit();
+            return;
+        }
+
         if (args.contains ("--devices") || args.contains ("--dispositivos")) // --dispositivos: legacy alias
         {
             // diagnostics: driver types and output devices JUCE offers (without opening any)
@@ -474,6 +487,10 @@ public:
                 for (const auto& name : type->getDeviceNames (true))
                     report << "  input=" << name << "\n";
             }
+            for (const auto& d : juce::MidiInput::getAvailableDevices())
+                report << "midi-in=" << d.name << "\n";
+            for (const auto& d : juce::MidiOutput::getAvailableDevices())
+                report << "midi-out=" << d.name << "\n";
 
             const auto flag = args.contains ("--devices") ? args.indexOf ("--devices") : args.indexOf ("--dispositivos");
             juce::File (args[flag + 1].unquoted()).replaceWithText (report);
@@ -757,6 +774,18 @@ public:
             return;
         }
 
+        if (args.contains ("--flextrashot"))
+        {
+            // LYNX.exe --flextrashot <folder>: pictures of the editors of round 165g (Big Clock, Tuner, HTML NoteBook, Mute 2)
+            const auto i = args.indexOf ("--flextrashot");
+            juce::LookAndFeel::setDefaultLookAndFeel (&lookAndFeel);
+            lynx::AudioEngine shotEngine (false);
+            const auto ok = lynx::runFlExtraShots (shotEngine, juce::File (args[i + 1].unquoted()));
+            setApplicationReturnValue (ok ? 0 : 1);
+            quit();
+            return;
+        }
+
         if (args.contains ("--visualtest"))
         {
             // LYNX.exe --visualtest <folder> [project.flp]: the visual plugins (round 164c) — the audio path's CPU, every
@@ -4707,6 +4736,33 @@ private:
                     png.writeImageToStream (image, *stream);
             }
 
+            // round 165: Ember's Classic voicing (the Decapitator role) in its one-screen panel
+            {
+                namespace em = lynx::mixsuite::ember;
+                auto fx = lynx::makeEffectSlot (lynx::EffectKind::ember);
+                fx.params[em::voicing] = 1.0f;
+                fx.params[em::classicDrive] = 0.35f;
+                lynx::Song song;
+                song.mixer.resize (2);
+                song.mixer[0].name = "Master";
+                song.mixer[1].name = "Insert 1";
+                song.mixer[1].effects.push_back (fx);
+                offline.setSong (std::move (song));
+                offline.dispatchPendingMessages();
+                auto editor = lynx::makeNativeEffectEditor (offline, 1, 0, 1.0f, 0);
+                juce::Image image (juce::Image::ARGB, editor->getWidth(), editor->getHeight(), true);
+                {
+                    juce::Graphics g (image);
+                    g.fillAll (lynx::theme::panel);
+                    editor->paintEntireComponent (g, false);
+                }
+                const auto file = out.getChildFile ("Ember Saturator-classic.png");
+                file.deleteFile();
+                juce::PNGImageFormat png;
+                if (auto stream = file.createOutputStream())
+                    png.writeImageToStream (image, *stream);
+            }
+
             // round 152: Foil Plate's one-knob Plate view (the Little Plate role)
             {
                 auto fx = lynx::makeEffectSlot (lynx::EffectKind::foilPlate);

+ 38 - 0
src/core/Effects.cpp

@@ -49,6 +49,7 @@
 #include "core/VoiceTools.h"
 #include "core/VoiceShift.h"
 #include "core/VisualFx.h"
+#include "core/FlExtraFx.h"
 #include "core/XyController.h"
 #include "core/ControlSurface.h"
 
@@ -2911,6 +2912,28 @@ const EffectInfo& effectInfo (EffectKind kind)
                                                                 { "Input stereo", 1.0f }, { "Round trip", 0.0f }, { "Ping", 0.0f } } };
             return info;
         }
+        case EffectKind::fruityMute2:
+        {
+            // round 165g: a new Fruity Mute 2 lets the sound through (Mute = On means sound on, FL's labels), both sides selected
+            static const EffectInfo info { "Fruity Mute 2", { { "Mute", 1.0f }, { "Channel", 1.0f / 3.0f } } };
+            return info;
+        }
+        case EffectKind::bigClock:
+        {
+            static const EffectInfo info { "Fruity Big Clock", { { "Display", 0.0f } } };
+            return info;
+        }
+        case EffectKind::tuner:
+        {
+            // FL's Default preset: 440 Hz, fast, bass off, Dial
+            static const EffectInfo info { "Tuner", { { "Reference", 0.5f }, { "Reactivity", 1.0f }, { "Bass", 0.0f }, { "Visual", 1.0f } } };
+            return info;
+        }
+        case EffectKind::htmlNotebook:
+        {
+            static const EffectInfo info { "Fruity HTML NoteBook", {} };
+            return info;
+        }
         case EffectKind::waveCandy:
         {
             // round 164c (core/VisualFx.h wavecandy::Param): a new one shows the spectrum, like FL's Default preset's analyser
@@ -3446,6 +3469,14 @@ std::string formatEffectParam (EffectKind kind, int param, float v, double bpm)
             return lowlifter::paramText (param, v);
         case EffectKind::hardwareInsert:
             return hwinsert::paramText (param, v);
+        case EffectKind::fruityMute2:
+            return flextra::mute2::paramText (param, v);
+        case EffectKind::bigClock:
+            return flextra::bigclock::paramText (param, v);
+        case EffectKind::tuner:
+            return flextra::tuner::paramText (param, v);
+        case EffectKind::htmlNotebook:
+            return {};
         case EffectKind::waveCandy:
             return visualfx::wavecandy::paramText (param, v);
         case EffectKind::visualizer:
@@ -3531,6 +3562,9 @@ void upgradeLoadedEffectParams (EffectSlot& slot, std::size_t savedCount) noexce
     // round 152: Ember saved before the effect characters' measured law keeps the static stand-ins
     if (slot.kind == EffectKind::ember && savedCount <= (std::size_t) mixsuite::ember::effectLaw)
         slot.params[(std::size_t) mixsuite::ember::effectLaw] = 0.0f;
+    // round 165: … and before Punish's measured law keeps round 136's Classic Punish
+    if (slot.kind == EffectKind::ember && savedCount <= (std::size_t) mixsuite::ember::classicLaw)
+        slot.params[(std::size_t) mixsuite::ember::classicLaw] = 0.0f;
     if (slot.kind == EffectKind::echoform && savedCount <= (std::size_t) echosuite::echoform::voicingStereo
         && slot.params.size() > (std::size_t) echosuite::echoform::voicingStereo)
         slot.params[(std::size_t) echosuite::echoform::voicingStereo] = 0.0f;
@@ -3714,6 +3748,10 @@ std::unique_ptr<Effect> makeEffect (EffectKind kind)
         case EffectKind::flFrequencyShifter: return fsfl::make(); // round 154
         case EffectKind::flLowLifter: return lowlifter::make(); // round 154
         case EffectKind::hardwareInsert: return std::make_unique<hwinsert::HardwareInsertFx>(); // round 164d
+        case EffectKind::fruityMute2: return flextra::mute2::make(); // round 165g
+        case EffectKind::bigClock:
+        case EffectKind::tuner:
+        case EffectKind::htmlNotebook: return visualfx::make(); // round 165g: pass the sound, feed the editor's tap
         case EffectKind::waveCandy:
         case EffectKind::visualizer: return visualfx::make(); // round 164c: passes the sound, feeds the editor's display
         case EffectKind::xyController:

+ 42 - 8
src/core/EmberClassic.cpp

@@ -34,18 +34,19 @@ double dbToGain (double db) noexcept { return std::pow (10.0, db / 20.0); }
 // The five styles' constants, fitted on the official trial (REA_rodada136 §1; tmp/vox136/lab). Style A is the one
 // every state of her corpus uses; E, N, T, P are fitted the same way on the same signal set (round 138: started from
 // A's constants with each style's measured colour FIR; mean null over the stairs, bursts and takes at drive 0 … 6:
-// E −16.3, N −16.6, T −12.1, P −12.5 dB, from −8.9 … −9.5 with A's curve; A: −25.2 dB).
+// E −16.3, N −16.6, T −12.1, P −12.5 dB, from −8.9 … −9.5 with A's curve; A: −25.2 dB). Round 165: each style's
+// measured Punish law (the small-signal gain Punish adds at drive 0 … 10, within 0.03 – 0.14 dB of the trial).
 const StyleModel styleTable[styleCount] {
     StyleModel { -0.255358, 3.28943, 9.75, -1.14311, 424.977, -0.326658, 1090.62, -0.367324, 0.539481, 1.51943, 1.53834, 2.58446, -0.356477, -1.10167, 69.6495, 124.432, 16.5416,
-                 { -0.050348522, 0.45404479, 0.79960583, -0.25489203, 0.00071080674, 0.13172658, -0.18265066, 0.1758486, -0.13859833, 0.089003814, -0.046502489, 0.012880354, 0.0057738622, -0.013574345, 0.012208355, -0.0082160702 } },
+                 { -0.050348522, 0.45404479, 0.79960583, -0.25489203, 0.00071080674, 0.13172658, -0.18265066, 0.1758486, -0.13859833, 0.089003814, -0.046502489, 0.012880354, 0.0057738622, -0.013574345, 0.012208355, -0.0082160702 }, 13.830, 0.4057 },
     StyleModel { -1.75235, 3.28943, 9.75, 1.11786, 1115.83, 0.0747911, 9922.27, 2.51661, 0.451642, 7.54995, 0.882348, 7.96975, -0.172261, -1.54865, 64.4605, 53.2492, 8.13625,
-                 { -0.10601218, 0.88559837, 0.52104064, -0.59799496, 0.51338433, -0.44356996, 0.3946877, -0.32920235, 0.27590921, -0.21574306, 0.16618424, -0.11710939, 0.082003896, -0.04956957, 0.029232918, -0.011986428 } }, // E
+                 { -0.10601218, 0.88559837, 0.52104064, -0.59799496, 0.51338433, -0.44356996, 0.3946877, -0.32920235, 0.27590921, -0.21574306, 0.16618424, -0.11710939, 0.082003896, -0.04956957, 0.029232918, -0.011986428 }, 14.012, 0.4787 }, // E
     StyleModel { -0.350645, 3.28943, 9.75, -1.63499, 632.752, 1.62653, 1283.86, 0.729425, 0.742618, 5.08067, 1.10494, 5.74673, -0.154669, -1.96319, 28.2141, 36.5461, 13.2041,
-                 { -0.057462716, 0.51475856, 0.59565603, -0.1951887, 0.20100539, -0.16211082, 0.1583298, -0.12293189, 0.11337933, -0.08247574, 0.070085289, -0.045254, 0.03620832, -0.01890969, 0.013629928, -0.0037943876 } }, // N
+                 { -0.057462716, 0.51475856, 0.59565603, -0.1951887, 0.20100539, -0.16211082, 0.1583298, -0.12293189, 0.11337933, -0.08247574, 0.070085289, -0.045254, 0.03620832, -0.01890969, 0.013629928, -0.0037943876 }, 14.139, 0.1029 }, // N
     StyleModel { -0.0156997, 3.28943, 9.75, -0.875387, 42.6041, -2.6432, 5406.14, 2.39267, 0.237349, 2.3023, 1.07218, 4.50339, -0.380718, -2.98134, 127.063, 102.321, 25.3318,
-                 { -0.095832879, 0.81800219, 0.58278911, -0.55857331, 0.43114637, -0.35812354, 0.31761663, -0.26122303, 0.22193496, -0.17084589, 0.13440571, -0.092138368, 0.067173398, -0.038256847, 0.024569006, -0.0080880511 } }, // T
+                 { -0.095832879, 0.81800219, 0.58278911, -0.55857331, 0.43114637, -0.35812354, 0.31761663, -0.26122303, 0.22193496, -0.17084589, 0.13440571, -0.092138368, 0.067173398, -0.038256847, 0.024569006, -0.0080880511 }, 14.017, 0.5118 }, // T
     StyleModel { 0.703021, 3.28943, 9.75, -0.757538, 174.47, 4.1792, 1155.66, 1.21455, 0.203818, 3.41136, 1.40577, 2.1345, -0.476152, -2.62538, 94.3472, 69.8909, 39.9236,
-                 { -0.07587156, 0.67775215, 0.59516886, -0.39260415, 0.32049256, -0.26406084, 0.24365413, -0.19383356, 0.17184911, -0.12649202, 0.10493743, -0.067138583, 0.053183781, -0.026498863, 0.020158807, -0.0039552972 } }, // P
+                 { -0.07587156, 0.67775215, 0.59516886, -0.39260415, 0.32049256, -0.26406084, 0.24365413, -0.19383356, 0.17184911, -0.12649202, 0.10493743, -0.067138583, 0.053183781, -0.026498863, 0.020158807, -0.0039552972 }, 13.924, 0.7414 }, // P
 };
 
 // analog biquad (b2 s² + b1 s + b0) / (a2 s² + a1 s + a0), s = j·f in Hz → digital by the bilinear transform
@@ -70,10 +71,35 @@ void shelf1 (P& f, double sr, double hz, double db, bool high) noexcept
     const double a0 = 1.0 + k, a1 = k - 1.0;
     f.b0 = b0 / a0; f.b1 = b1 / a0; f.a1 = a1 / a0;
 }
+// round 165 [EXEC trial, REA_rodada165ha §2]: style A with Punish on drives its curve differently (harder negative
+// knee, less dynamic bias) — fitted on the trial's renders at drives 1 / 3 / 6 / 10 (stairs, bursts, two takes): mean
+// null −10.0 dB with A's own curve → −17.4 dB. The other styles keep their own curve under Punish (not measured yet).
+StyleModel punishModelA()
+{
+    auto m = styleTable[0];
+    m.punishLawDb = 13.7233;
+    m.punishLawPerUnitDb = 0.346217;
+    m.outDb = -0.888831;
+    m.cPos = 0.471376;
+    m.pPos = 2.69529;
+    m.cNeg = 1.11787;
+    m.pNeg = 6.67158;
+    m.bias = -0.166177;
+    m.biasDyn = -0.249233;
+    m.envAttackMs = 130.526;
+    m.envReleaseMs = 40.9654;
+    return m;
+}
 } // namespace
 
 const StyleModel& styleModel (int style) noexcept { return styleTable[std::clamp (style, 0, styleCount - 1)]; }
 
+const StyleModel& punishModel (int style) noexcept
+{
+    static const StyleModel a = punishModelA();
+    return std::clamp (style, 0, styleCount - 1) == 0 ? a : styleModel (style);
+}
+
 // [EXEC] the trial's own value → text laws (VST3 parameter read-back, REA_rodada136 §1)
 double driveUnits (float v) noexcept { return 10.0 * std::clamp ((double) v, 0.0, 1.0); }
 double toneDb (float v) noexcept { return -12.0 + 24.0 * std::clamp ((double) v, 0.0, 1.0); }
@@ -82,6 +108,12 @@ double highCutHz (float v) noexcept { return 1000.0 * std::pow (20.0, std::clamp
 double outputDb (float v) noexcept { return -24.0 + 24.0 * std::clamp ((double) v, 0.0, 1.0); }
 int styleOf (float v) noexcept { return std::clamp ((int) std::lround (std::clamp (v, 0.0f, 1.0f) * 4.0f), 0, styleCount - 1); }
 
+float autoOutput (float output, float driveFrom, float driveTo) noexcept
+{
+    const auto db = outputDb (output) + autoDbPerUnit * (driveUnits (driveTo) - driveUnits (driveFrom));
+    return (float) std::clamp ((db + 24.0) / 24.0, 0.0, 1.0);
+}
+
 // ---- the ×4 oversampler (same half-band polyphase scheme as mixsuite::Oversampler, shorter filters)
 Engine::Os4::Os4()
 {
@@ -187,7 +219,7 @@ void Engine::reset() noexcept
 void Engine::set (const Settings& settings, const StyleModel* model)
 {
     s = settings;
-    m = model != nullptr ? *model : styleModel (s.style);
+    m = model != nullptr ? *model : s.punish && s.measuredPunish ? punishModel (s.style) : styleModel (s.style);
     design();
 }
 
@@ -237,7 +269,9 @@ void Engine::design()
         dryGain = dbToGain (db);
     }
     const double osr = sr * osFactor; // the curve (and the bias envelope) runs at 4×
-    gain = dbToGain (m.gain0Db + m.gainPerUnitDb * std::clamp (s.drive, 0.0, 10.0) + (s.punish ? m.punishDb : 0.0));
+    const double drive = std::clamp (s.drive, 0.0, 10.0);
+    const double punish = ! s.punish ? 0.0 : s.measuredPunish ? m.punishLawDb + m.punishLawPerUnitDb * drive : m.punishDb;
+    gain = dbToGain (m.gain0Db + m.gainPerUnitDb * drive + punish);
     out = dbToGain (m.outDb);
     dcA = std::exp (-2.0 * pi * m.dcHz / sr);
     envA = std::exp (-1.0 / (std::max (m.envAttackMs, 0.01) * 0.001 * osr));

+ 12 - 0
src/core/EmberClassic.h

@@ -35,10 +35,15 @@ struct StyleModel
     double envAttackMs = 5.0, envReleaseMs = 50.0;
     double dcHz = 13.0;                         // DC blocker after the curve
     std::array<double, styleFirTaps> fir { 1.0 }; // the style's own linear colour (base rate, causal)
+    // round 165 [EXEC trial, REA_rodada165ha §1]: Punish's measured law — it adds punishLawDb + punishLawPerUnitDb × drive
+    // before the curve (round 136's constant punishDb was fitted on a reading the trial gets wrong right after a toggle)
+    double punishLawDb = 14.0, punishLawPerUnitDb = 0.4;
 };
 
 constexpr int styleCount = 5;                   // A, E, N, T, P
 const StyleModel& styleModel (int style) noexcept;
+// round 165: the constants with Punish on (its measured law; style A also its own fitted curve)
+const StyleModel& punishModel (int style) noexcept;
 
 // control laws of the original (normalised 0 … 1 values as its parameters use them)
 double driveUnits (float v) noexcept;           // 0 … 10
@@ -48,6 +53,12 @@ double highCutHz (float v) noexcept;            // 1 … 20 kHz (log)
 double outputDb (float v) noexcept;             // −24 … 0 dB
 int styleOf (float v) noexcept;
 
+// round 165 [EXEC: her 63 saved states]: the reference's Auto moves the Output knob opposite to Drive in its editor
+// (−1.6 dB per Drive unit; the audio path itself is unchanged). The Output value (0 … 1) after Drive moves from
+// `driveFrom` to `driveTo` (0 … 1), clamped to the knob's range.
+constexpr double autoDbPerUnit = -1.6;
+float autoOutput (float output, float driveFrom, float driveTo) noexcept;
+
 struct Settings
 {
     int style = 0;
@@ -56,6 +67,7 @@ struct Settings
     double lowCutHz = 20.0, toneDb = 0.0, highCutHz = 20000.0;
     double mix = 1.0;                           // 0 … 1, linear
     double outputDb = 0.0;
+    bool measuredPunish = true;                 // round 165: Punish's measured law (false = round 136's +9.75 dB)
     bool operator== (const Settings&) const = default;
 };
 

+ 26 - 0
src/core/FlEffects.cpp

@@ -45,6 +45,7 @@
 #include "core/FlpImport.h"
 #include "core/NewtoneFx.h"
 #include "core/VisualFx.h"
+#include "core/FlExtraFx.h"
 #include "flp/Flp.h"
 
 namespace lynx
@@ -1218,6 +1219,27 @@ std::optional<EffectSlot> effectFromFl (const std::string& pluginName, const std
             emphasizer::toParams (*s, slot.params.data());
             return slot;
         }
+    // round 165g (REA_rodada165g): Fruity Mute 2 (exact), Big Clock, Tuner, HTML NoteBook
+    if (pluginName == "Fruity Mute 2")
+    {
+        auto slot = makeEffectSlot (EffectKind::fruityMute2);
+        flextra::mute2::fromFl (state, slot);
+        return slot;
+    }
+    if (pluginName == "Fruity Big Clock")
+        return makeEffectSlot (EffectKind::bigClock);
+    if (pluginName == "Tuner")
+    {
+        auto slot = makeEffectSlot (EffectKind::tuner);
+        flextra::tuner::fromFl (state, slot);
+        return slot;
+    }
+    if (pluginName == "Fruity HTML NoteBook")
+    {
+        auto slot = makeEffectSlot (EffectKind::htmlNotebook);
+        slot.state = flextra::htmlnotebook::stateFor (flextra::htmlnotebook::address (state));
+        return slot;
+    }
     if (pluginName == "Wave Candy") // REA_rodada164c: LYNX's analyser in its role, in the display mode FL's state shows
     {
         auto slot = makeEffectSlot (EffectKind::waveCandy);
@@ -1548,6 +1570,10 @@ std::vector<std::string> flPluginsForEffect (EffectKind kind)
         case EffectKind::flFrequencyShifter: return { "Frequency Shifter" };
         case EffectKind::flLowLifter: return { "Low Lifter" };
         case EffectKind::waveCandy: return { "Wave Candy" };
+        case EffectKind::fruityMute2: return { "Fruity Mute 2" };
+        case EffectKind::bigClock: return { "Fruity Big Clock" };
+        case EffectKind::tuner: return { "Tuner" };
+        case EffectKind::htmlNotebook: return { "Fruity HTML NoteBook" };
         case EffectKind::visualizer: return { "ZGameEditor Visualizer" };
         case EffectKind::xyController: return { "Fruity X-Y Controller" };
         case EffectKind::xyzController: return {}; // (FL's X-Y-Z Controller: name from REA_rodada164a)

+ 722 - 0
src/core/FlExtraFx.cpp

@@ -0,0 +1,722 @@
+#include "core/FlExtraFx.h"
+
+// Round 165g (docs/analise/REA_rodada165g.md): Fruity Mute 2, Fruity Big Clock, Tuner, Fruity HTML NoteBook.
+
+#include <algorithm>
+#include <array>
+#include <cmath>
+#include <cstdio>
+#include <cstring>
+
+#include "core/Effects.h"
+
+namespace lynx::flextra
+{
+namespace
+{
+std::optional<std::int32_t> i32At (const std::vector<std::uint8_t>& s, std::size_t at)
+{
+    if (at + 4 > s.size())
+        return std::nullopt;
+    std::int32_t v = 0;
+    std::memcpy (&v, s.data() + at, 4);
+    return v;
+}
+
+// Delphi's Round (banker's rounding at .5), as FL's plugins round a control value to a step
+long roundHalfEven (double x) noexcept
+{
+    return (long) std::nearbyint (x);
+}
+} // namespace
+
+// ================================================================================================ Fruity Mute 2
+namespace mute2
+{
+bool soundOn (float muteValue) noexcept
+{
+    return ! (muteValue < 0.5f);
+}
+
+Channel channelOf (float value) noexcept
+{
+    const auto k = roundHalfEven ((double) (value / (1.0f / 3.0f)));
+    return (Channel) std::clamp<long> (k, 0, 2);
+}
+
+float channelValue (Channel c) noexcept
+{
+    return (float) (int) c / 3.0f;
+}
+
+std::string paramText (int param, float value)
+{
+    if (param == mute)
+        return soundOn (value) ? "On" : "Off";
+    if (param == channel)
+    {
+        switch (channelOf (value))
+        {
+            case Channel::left: return "L";
+            case Channel::both: return "L + R";
+            case Channel::right: return "R";
+        }
+    }
+    return {};
+}
+
+bool fromFl (const std::vector<std::uint8_t>& state, EffectSlot& slot)
+{
+    const auto version = i32At (state, 0);
+    const auto m = i32At (state, 4), c = i32At (state, 8);
+    if (! version || *version > 1 || ! m || ! c)
+        return false;
+    // the controls' raw values: the switch is 0 / 1, the channel selector 0…2 (FL's value = raw / 3 for the selector,
+    // whose control spans 0…3 with the last step unused) [FL render, REA_rodada165g §1]
+    slot.params[mute] = *m != 0 ? 1.0f : 0.0f;
+    slot.params[channel] = channelValue ((Channel) std::clamp (*c, 0, 2));
+    return true;
+}
+
+void process (float* left, float* right, int n, float muteValue, float channelVal) noexcept
+{
+    if (soundOn (muteValue))
+        return;
+    const auto c = channelOf (channelVal);
+    if (c != Channel::right)
+        std::fill (left, left + n, 0.0f);
+    if (c != Channel::left)
+        std::fill (right, right + n, 0.0f);
+}
+
+namespace
+{
+class Mute2Effect final : public Effect
+{
+public:
+    void prepare (double) noexcept override {}
+    void reset() noexcept override {}
+    void process (float* left, float* right, int n, const EffectParams& params, double) noexcept override
+    {
+        mute2::process (left, right, n, params[mute], params[channel]);
+    }
+};
+} // namespace
+
+std::unique_ptr<Effect> make()
+{
+    return std::make_unique<Mute2Effect>();
+}
+} // namespace mute2
+
+// ================================================================================================ Fruity Big Clock
+namespace bigclock
+{
+Display displayOf (float value) noexcept
+{
+    return (Display) std::clamp ((int) std::lround (value * (displays - 1)), 0, displays - 1);
+}
+
+float displayValue (Display d) noexcept
+{
+    return (float) (int) d / (float) (displays - 1);
+}
+
+const char* displayName (Display d) noexcept
+{
+    switch (d)
+    {
+        case Display::barBeatTick: return "Bar:Beat:Tick";
+        case Display::minSecHundredths: return "Min:Sec:Hundredths";
+        case Display::barStepTick: return "Bar:Step:Tick";
+    }
+    return "";
+}
+
+std::string paramText (int param, float value)
+{
+    return param == display ? displayName (displayOf (value)) : std::string();
+}
+
+std::string clockText (const Song& song, double ticks, int beatsPerBar, Display d)
+{
+    ticks = std::max (0.0, ticks);
+    char text[64] {};
+    if (d == Display::minSecHundredths)
+    {
+        const auto seconds = song.secondsForTicks ((std::int64_t) ticks);
+        const auto whole = (long) seconds;
+        std::snprintf (text, sizeof text, "%ld:%02ld:%02d", whole / 60, whole % 60, std::clamp ((int) ((seconds - (double) whole) * 100.0), 0, 99));
+        return text;
+    }
+
+    // the bar and the ticks into it (song mode: the Playlist's bars with time signature changes)
+    long bar = 1;
+    double intoBar = 0.0;
+    if (song.mode == PlayMode::song)
+    {
+        const auto b = song.barAt ((std::int64_t) ticks);
+        bar = b.number;
+        intoBar = ticks - (double) b.tick;
+    }
+    else
+    {
+        const auto perBar = (double) ppq * std::max (1, beatsPerBar);
+        bar = (long) (ticks / perBar) + 1;
+        intoBar = std::fmod (ticks, perBar);
+    }
+    constexpr double flTicksPerQuarter = 96.0; // FL's default project resolution
+    const auto toFl = flTicksPerQuarter / (double) ppq;
+    if (d == Display::barBeatTick)
+    {
+        const auto beat = (long) (intoBar / ppq);
+        const auto tick = (long) ((intoBar - (double) beat * ppq) * toFl);
+        std::snprintf (text, sizeof text, "%ld:%02ld:%02ld", bar, beat + 1, tick);
+    }
+    else
+    {
+        const auto step = (long) (intoBar / ticksPerStep);
+        const auto tick = (long) ((intoBar - (double) step * ticksPerStep) * toFl);
+        std::snprintf (text, sizeof text, "%ld:%02ld:%02ld", bar, step + 1, tick);
+    }
+    return text;
+}
+} // namespace bigclock
+
+// ================================================================================================ Tuner
+namespace tuner
+{
+double referenceHz (float value) noexcept
+{
+    return 400.0 + 80.0 * (double) std::clamp (value, 0.0f, 1.0f);
+}
+
+float referenceValue (double hz) noexcept
+{
+    return (float) std::clamp ((hz - 400.0) / 80.0, 0.0, 1.0);
+}
+
+bool bassOn (float value) noexcept
+{
+    return value >= 0.5f;
+}
+
+Visual visualOf (float value) noexcept
+{
+    return value >= 0.5f ? Visual::dial : Visual::basic;
+}
+
+std::string paramText (int param, float value)
+{
+    char text[32] {};
+    switch (param)
+    {
+        case reference: std::snprintf (text, sizeof text, "%.1f Hz", referenceHz (value)); return text;
+        case reactivity:
+            if (std::abs (value - 0.5f) < 0.01f)
+                return "Average";
+            std::snprintf (text, sizeof text, "%s %d%%", value < 0.5f ? "Slow" : "Fast", (int) std::lround (std::abs (value - 0.5f) * 200.0f));
+            return text;
+        case bass: return bassOn (value) ? "On" : "Off";
+        case visual: return visualOf (value) == Visual::dial ? "Dial" : "Basic";
+        default: return {};
+    }
+}
+
+bool fromFl (const std::vector<std::uint8_t>& state, EffectSlot& slot)
+{
+    const auto version = i32At (state, 0);
+    const auto ref = i32At (state, 4), react = i32At (state, 8), b = i32At (state, 12), vis = i32At (state, 16);
+    if (! version || *version > 1 || ! ref || ! react || ! b || ! vis)
+        return false;
+    slot.params[reference] = std::clamp ((float) *ref / 6000.0f, 0.0f, 1.0f);
+    slot.params[reactivity] = std::clamp (((float) *react + 1.0f) * 0.5f, 0.0f, 1.0f);
+    slot.params[bass] = *b != 0 ? 1.0f : 0.0f;
+    slot.params[visual] = *vis >= 2 ? 1.0f : 0.0f;
+    return true;
+}
+
+const char* noteName (int midiNote) noexcept
+{
+    static const char* names[] = { "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };
+    return names[((midiNote % 12) + 12) % 12];
+}
+
+int octaveOf (int midiNote) noexcept
+{
+    return (int) std::floor ((double) midiNote / 12.0) - 1;
+}
+
+// YIN (de Cheveigné & Kawahara 2002) on the full-rate signal: difference function, cumulative mean normalised
+// difference, absolute threshold, parabolic interpolation. Runs on the caller's thread (the editor's timer).
+struct Analyzer::Impl
+{
+    double sr = 48000.0, a4 = 440.0;
+    float react = 1.0f;
+    bool bass = false;
+    std::vector<float> ring; // power of two
+    std::size_t written = 0, sinceLast = 0;
+    std::vector<float> frame, d;
+    double smoothedNote = -1.0;
+    int unvoiced = 0;
+    std::array<double, 5> recent {};
+    int recentCount = 0;
+
+    double fmin() const { return bass ? 21.83 : 43.65; }                                  // F0 / F1
+    double fmax() const { return 2637.0 * std::pow (8372.0 / 2637.0, (double) react); } // E7 (slow) … C10 (fast)
+    std::size_t hop() const { return (std::size_t) std::max (256.0, sr * (bass ? 0.1 : 0.0213 + 0.02 * (1.0 - react))); }
+};
+
+Analyzer::Analyzer() : impl (std::make_unique<Impl>()) { prepare (48000.0); }
+Analyzer::~Analyzer() = default;
+
+void Analyzer::prepare (double sampleRate)
+{
+    impl->sr = sampleRate > 0.0 ? sampleRate : 48000.0;
+    impl->ring.assign (1u << 15, 0.0f);
+    impl->written = impl->sinceLast = 0;
+    impl->smoothedNote = -1.0;
+    impl->recentCount = 0;
+    shown = {};
+}
+
+void Analyzer::setOptions (double referenceHzValue, float reactivityValue, bool bassValue)
+{
+    impl->a4 = referenceHzValue;
+    impl->react = std::clamp (reactivityValue, 0.0f, 1.0f);
+    impl->bass = bassValue;
+}
+
+void Analyzer::push (const float* mono, int n) noexcept
+{
+    auto& m = *impl;
+    const auto mask = m.ring.size() - 1;
+    for (int i = 0; i < n; ++i)
+        m.ring[(m.written + (std::size_t) i) & mask] = mono[i];
+    m.written += (std::size_t) std::max (0, n);
+    m.sinceLast += (std::size_t) std::max (0, n);
+    if (m.sinceLast < m.hop())
+        return;
+    m.sinceLast = 0;
+
+    // the newest window + the longest lag
+    const auto tauMax = std::min ((int) std::ceil (m.sr / m.fmin()) + 2, (int) (m.ring.size() / 2) - 4);
+    const auto tauMin = std::max (2, (int) std::floor (m.sr / m.fmax()));
+    const auto window = std::clamp (tauMax, 256, 1536);
+    const auto total = (std::size_t) (window + tauMax + 2);
+    if (m.written < total)
+        return;
+    m.frame.resize (total);
+    for (std::size_t i = 0; i < total; ++i)
+        m.frame[i] = m.ring[(m.written - total + i) & mask];
+
+    double energy = 0.0;
+    for (int j = 0; j < window; ++j)
+        energy += (double) m.frame[(std::size_t) j] * m.frame[(std::size_t) j];
+    const auto rms = (float) std::sqrt (energy / window);
+
+    m.d.assign ((std::size_t) tauMax + 2, 1.0f);
+    double running = 0.0;
+    int best = -1;
+    float bestValue = 1.0f;
+    for (int tau = 1; tau <= tauMax + 1; ++tau)
+    {
+        double sum = 0.0;
+        const float* a = m.frame.data();
+        const float* b = m.frame.data() + tau;
+        for (int j = 0; j < window; ++j)
+        {
+            const auto diff = (double) a[j] - (double) b[j];
+            sum += diff * diff;
+        }
+        running += sum;
+        m.d[(std::size_t) tau] = running > 0.0 ? (float) (sum * tau / running) : 1.0f;
+    }
+    constexpr float threshold = 0.15f;
+    for (int tau = tauMin; tau <= tauMax; ++tau)
+        if (m.d[(std::size_t) tau] < threshold)
+        {
+            while (tau + 1 <= tauMax && m.d[(std::size_t) tau + 1] < m.d[(std::size_t) tau])
+                ++tau;
+            best = tau;
+            bestValue = m.d[(std::size_t) tau];
+            break;
+        }
+    if (best < 0) // no dip under the threshold: the deepest one, if clear enough
+        for (int tau = tauMin; tau <= tauMax; ++tau)
+            if (m.d[(std::size_t) tau] < bestValue)
+            {
+                bestValue = m.d[(std::size_t) tau];
+                best = tau;
+            }
+
+    const auto voiced = best > 0 && bestValue < 0.3f && rms > 0.0005f;
+    if (! voiced)
+    {
+        // keep the last reading a moment (a note's tail), then clear the display
+        if (++m.unvoiced * (double) m.hop() / m.sr > 0.35)
+        {
+            shown.valid = false;
+            m.smoothedNote = -1.0;
+            m.recentCount = 0;
+        }
+        shown.level = rms;
+        return;
+    }
+    m.unvoiced = 0;
+
+    // parabolic interpolation of the dip
+    auto tau = (double) best;
+    if (best > 1 && best < tauMax)
+    {
+        const auto s0 = (double) m.d[(std::size_t) best - 1], s1 = (double) m.d[(std::size_t) best], s2 = (double) m.d[(std::size_t) best + 1];
+        const auto den = s0 + s2 - 2.0 * s1;
+        if (std::abs (den) > 1e-12)
+            tau += std::clamp (0.5 * (s0 - s2) / den, -1.0, 1.0);
+    }
+    // short periods (high notes): the interpolation's error is a fraction of a sample, cents at C8 — refine on the dip
+    // of a multiple of the period and divide (the error shrinks with the multiple)
+    if (tau < 64.0)
+    {
+        const auto multiple = std::min ((int) (128.0 / tau), (int) ((tauMax - 2) / tau));
+        if (multiple >= 2)
+        {
+            auto at = (int) std::lround (tau * multiple);
+            for (int k = at - 2; k <= at + 2; ++k)
+                if (k > 1 && k < tauMax && m.d[(std::size_t) k] < m.d[(std::size_t) at])
+                    at = k;
+            const auto s0 = (double) m.d[(std::size_t) at - 1], s1 = (double) m.d[(std::size_t) at], s2 = (double) m.d[(std::size_t) at + 1];
+            const auto den = s0 + s2 - 2.0 * s1;
+            if (s1 < 0.3 && std::abs (den) > 1e-12)
+                tau = ((double) at + std::clamp (0.5 * (s0 - s2) / den, -1.0, 1.0)) / multiple;
+        }
+    }
+    const auto hz = m.sr / tau;
+    const auto note = 69.0 + 12.0 * std::log2 (hz / m.a4);
+
+    // reactivity: slow takes the median of the last estimates (ignores brief fluctuations) and averages longer
+    m.recent[(std::size_t) (m.recentCount++ % (int) m.recent.size())] = note;
+    auto target = note;
+    if (m.react < 0.5f && m.recentCount >= 3)
+    {
+        const auto count = std::min (m.recentCount, (int) m.recent.size());
+        std::array<double, 5> sorted = m.recent;
+        std::sort (sorted.begin(), sorted.begin() + count);
+        target = sorted[(std::size_t) count / 2];
+    }
+    const auto timeConstant = 0.03 + 0.27 * (1.0 - (double) m.react); // seconds
+    const auto alpha = 1.0 - std::exp (-(double) m.hop() / (m.sr * timeConstant));
+    if (m.smoothedNote < 0.0 || std::abs (target - m.smoothedNote) > 0.75) // a new note: jump
+        m.smoothedNote = target;
+    else
+        m.smoothedNote += alpha * (target - m.smoothedNote);
+
+    shown.valid = true;
+    shown.note = (int) std::lround (m.smoothedNote);
+    shown.cents = std::clamp ((m.smoothedNote - shown.note) * 100.0, -50.0, 50.0);
+    shown.hz = m.a4 * std::pow (2.0, (m.smoothedNote - 69.0) / 12.0);
+    shown.level = rms;
+}
+} // namespace tuner
+
+// ================================================================================================ Fruity HTML NoteBook
+namespace htmlnotebook
+{
+std::string address (const std::vector<std::uint8_t>& state)
+{
+    if (state.size() < 5)
+        return {};
+    const auto n = (std::size_t) state[4];
+    if (5 + n > state.size())
+        return {};
+    return std::string (state.begin() + 5, state.begin() + 5 + (std::ptrdiff_t) n);
+}
+
+std::vector<std::uint8_t> stateFor (const std::string& text)
+{
+    const auto n = std::min<std::size_t> (text.size(), 255);
+    std::vector<std::uint8_t> s { 1, 0, 0, 0, (std::uint8_t) n };
+    s.insert (s.end(), text.begin(), text.begin() + (std::ptrdiff_t) n);
+    return s;
+}
+
+bool isWebAddress (const std::string& a)
+{
+    auto lower = a;
+    std::transform (lower.begin(), lower.end(), lower.begin(), [] (unsigned char c) { return (char) std::tolower (c); });
+    return lower.rfind ("http://", 0) == 0 || lower.rfind ("https://", 0) == 0 || lower.rfind ("www.", 0) == 0;
+}
+
+namespace
+{
+std::string lowerAscii (std::string s)
+{
+    std::transform (s.begin(), s.end(), s.begin(), [] (unsigned char c) { return (char) std::tolower (c); });
+    return s;
+}
+
+void appendUtf8 (std::string& out, std::uint32_t cp)
+{
+    if (cp < 0x80)
+        out += (char) cp;
+    else if (cp < 0x800)
+    {
+        out += (char) (0xC0 | (cp >> 6));
+        out += (char) (0x80 | (cp & 0x3F));
+    }
+    else if (cp < 0x10000)
+    {
+        out += (char) (0xE0 | (cp >> 12));
+        out += (char) (0x80 | ((cp >> 6) & 0x3F));
+        out += (char) (0x80 | (cp & 0x3F));
+    }
+    else
+    {
+        out += (char) (0xF0 | (cp >> 18));
+        out += (char) (0x80 | ((cp >> 12) & 0x3F));
+        out += (char) (0x80 | ((cp >> 6) & 0x3F));
+        out += (char) (0x80 | (cp & 0x3F));
+    }
+}
+
+std::string decodeEntities (const std::string& s)
+{
+    std::string out;
+    out.reserve (s.size());
+    for (std::size_t i = 0; i < s.size(); ++i)
+    {
+        if (s[i] != '&')
+        {
+            out += s[i];
+            continue;
+        }
+        const auto end = s.find (';', i);
+        if (end == std::string::npos || end - i > 10)
+        {
+            out += '&';
+            continue;
+        }
+        const auto name = s.substr (i + 1, end - i - 1);
+        std::uint32_t cp = 0;
+        if (! name.empty() && name[0] == '#')
+            cp = (std::uint32_t) std::strtoul (name.c_str() + (name.size() > 1 && (name[1] == 'x' || name[1] == 'X') ? 2 : 1), nullptr,
+                                               name.size() > 1 && (name[1] == 'x' || name[1] == 'X') ? 16 : 10);
+        else
+        {
+            static const std::pair<const char*, std::uint32_t> named[] = { { "amp", '&' },     { "lt", '<' },       { "gt", '>' },
+                                                                          { "quot", '"' },    { "apos", '\'' },    { "nbsp", 0xA0 },
+                                                                          { "copy", 0xA9 },   { "reg", 0xAE },     { "trade", 0x2122 },
+                                                                          { "mdash", 0x2014 }, { "ndash", 0x2013 }, { "hellip", 0x2026 },
+                                                                          { "laquo", 0xAB },  { "raquo", 0xBB },   { "bull", 0x2022 } };
+            for (const auto& [n, c] : named)
+                if (name == n)
+                    cp = c;
+        }
+        if (cp == 0)
+        {
+            out += '&';
+            continue;
+        }
+        appendUtf8 (out, cp == 0xA0 ? (std::uint32_t) ' ' : cp);
+        i = end;
+    }
+    return out;
+}
+
+std::string attribute (const std::string& tag, const char* name)
+{
+    const auto lower = lowerAscii (tag);
+    const auto key = std::string (name) + "=";
+    for (auto at = lower.find (key); at != std::string::npos; at = lower.find (key, at + 1))
+    {
+        if (at > 0 && ! std::isspace ((unsigned char) lower[at - 1]))
+            continue;
+        auto v = at + key.size();
+        if (v >= tag.size())
+            return {};
+        const auto q = tag[v];
+        if (q == '"' || q == '\'')
+        {
+            const auto e = tag.find (q, v + 1);
+            return decodeEntities (tag.substr (v + 1, e == std::string::npos ? std::string::npos : e - v - 1));
+        }
+        auto e = v;
+        while (e < tag.size() && ! std::isspace ((unsigned char) tag[e]) && tag[e] != '>')
+            ++e;
+        return decodeEntities (tag.substr (v, e - v));
+    }
+    return {};
+}
+} // namespace
+
+Page parse (const std::string& html)
+{
+    Page page;
+    Block current;
+    bool bold = false, italic = false, pre = false, inTitle = false;
+    int skip = 0; // inside <script>, <style>, <head> parts that are not shown
+    std::string link;
+
+    auto flush = [&] {
+        // trim the block's runs; drop empty blocks
+        if (! pre)
+        {
+            while (! current.runs.empty() && (current.runs.front().text.empty() || current.runs.front().text == " "))
+                current.runs.erase (current.runs.begin());
+            if (! current.runs.empty() && ! current.runs.front().text.empty() && current.runs.front().text[0] == ' ')
+                current.runs.front().text.erase (0, 1);
+            while (! current.runs.empty() && ! current.runs.back().text.empty() && current.runs.back().text.back() == ' ')
+                current.runs.back().text.pop_back();
+        }
+        if (! current.runs.empty() || current.kind == Block::Kind::rule)
+            page.blocks.push_back (current);
+        current = {};
+    };
+    auto addText = [&] (std::string text) {
+        if (text.empty())
+            return;
+        if (inTitle)
+        {
+            page.title += decodeEntities (text);
+            return;
+        }
+        if (skip > 0)
+            return;
+        if (! pre)
+        {
+            std::string collapsed;
+            for (const auto c : text)
+            {
+                const auto space = c == ' ' || c == '\n' || c == '\r' || c == '\t';
+                if (space)
+                {
+                    if (collapsed.empty() || collapsed.back() != ' ')
+                        collapsed += ' ';
+                }
+                else
+                    collapsed += c;
+            }
+            text = collapsed;
+            const auto lastSpace = ! current.runs.empty() && ! current.runs.back().text.empty() && current.runs.back().text.back() == ' ';
+            if ((current.runs.empty() || lastSpace) && ! text.empty() && text[0] == ' ')
+                text.erase (0, 1);
+            if (text.empty())
+                return;
+        }
+        text = decodeEntities (text);
+        if (! current.runs.empty() && current.runs.back().bold == bold && current.runs.back().italic == italic && current.runs.back().link == link)
+            current.runs.back().text += text;
+        else
+            current.runs.push_back ({ text, bold, italic, link });
+    };
+
+    std::size_t i = 0;
+    while (i < html.size())
+    {
+        const auto lt = html.find ('<', i);
+        addText (html.substr (i, lt == std::string::npos ? std::string::npos : lt - i));
+        if (lt == std::string::npos)
+            break;
+        if (html.compare (lt, 4, "<!--") == 0)
+        {
+            const auto end = html.find ("-->", lt + 4);
+            i = end == std::string::npos ? html.size() : end + 3;
+            continue;
+        }
+        const auto gt = html.find ('>', lt);
+        if (gt == std::string::npos)
+            break;
+        const auto tag = html.substr (lt + 1, gt - lt - 1);
+        i = gt + 1;
+        const auto closing = ! tag.empty() && tag[0] == '/';
+        auto name = lowerAscii (tag.substr (closing ? 1 : 0));
+        name = name.substr (0, name.find_first_of (" \t\r\n/"));
+
+        if (name == "script" || name == "style" || name == "noscript")
+        {
+            if (! closing)
+            {
+                // skip to the closing tag
+                const auto end = lowerAscii (html).find ("</" + name, i);
+                i = end == std::string::npos ? html.size() : html.find ('>', end) + 1;
+                if (i == 0)
+                    i = html.size();
+            }
+            continue;
+        }
+        if (name == "title")
+        {
+            inTitle = ! closing;
+            continue;
+        }
+        if (name == "b" || name == "strong")
+            bold = ! closing;
+        else if (name == "i" || name == "em")
+            italic = ! closing;
+        else if (name == "a")
+            link = closing ? std::string() : attribute (tag, "href");
+        else if (name == "br")
+        {
+            if (pre)
+                addText ("\n");
+            else
+                flush();
+        }
+        else if (name == "hr")
+        {
+            flush();
+            current.kind = Block::Kind::rule;
+            flush();
+        }
+        else if (name == "h1" || name == "h2" || name == "h3" || name == "h4" || name == "h5" || name == "h6")
+        {
+            flush();
+            if (! closing)
+                current.kind = name == "h1" ? Block::Kind::heading1 : name == "h2" ? Block::Kind::heading2 : Block::Kind::heading3;
+        }
+        else if (name == "li")
+        {
+            flush();
+            if (! closing)
+                current.kind = Block::Kind::listItem;
+        }
+        else if (name == "pre")
+        {
+            flush();
+            pre = ! closing;
+            if (pre)
+                current.kind = Block::Kind::preformatted;
+        }
+        else if (name == "p" || name == "div" || name == "ul" || name == "ol" || name == "table" || name == "tr" || name == "blockquote"
+                 || name == "body" || name == "section" || name == "article" || name == "header" || name == "footer" || name == "center"
+                 || name == "dd" || name == "dt")
+            flush();
+        else if (name == "td" || name == "th")
+            addText (" ");
+        else if (name == "img" && ! closing)
+        {
+            const auto alt = attribute (tag, "alt");
+            if (! alt.empty())
+                addText ("[" + alt + "]");
+        }
+    }
+    flush();
+    return page;
+}
+} // namespace htmlnotebook
+
+std::string inertPluginNote (const std::string& flPluginName)
+{
+    if (flPluginName == "Razer Chroma")
+        return "Razer Chroma (keyboard / mouse lighting; not reproduced, the slot is left out)";
+    if (flPluginName == "ReWired")
+        return "ReWired (ReWire is discontinued; the channel is left silent)";
+    if (flPluginName == "FL Studio Mobile Rack FX")
+        return "FL Studio Mobile Rack FX (its modules are not reproduced; the slot is left out)";
+    if (flPluginName == "FL Studio Mobile" || flPluginName == "FL Studio Mobile Rack")
+        return flPluginName + " (its instruments are not reproduced; played with a LYNX synth preset)";
+    if (flPluginName == "Fruity Video Player")
+        return "Fruity Video Player (the video is not played; the channel is left silent)";
+    return {};
+}
+} // namespace lynx::flextra

+ 145 - 0
src/core/FlExtraFx.h

@@ -0,0 +1,145 @@
+#pragma once
+
+// FL Studio plugins LYNX lacked until round 165g (docs/analise/REA_rodada165g.md), rebuilt clean-room from FL's
+// manual and the behaviour decoded from the installation's DLLs (no Image-Line code or data in this repository):
+//
+//  - Fruity Mute 2 (EffectKind::fruityMute2), exact: [0] Mute — FL's control value, sound passes at ≥ 0.5 and is
+//    silenced below (FL's labels: On = sound, Off = muted); [1] Channel — round(value · 3) clamped to 2: L, L + R, R
+//    (the side(s) silenced while muted). No ramp: FL switches at the block.
+//  - Fruity Big Clock (EffectKind::bigClock): no sound; shows the song position in big digits. [0] Display: Bar:Beat:Tick,
+//    Min:Sec:Hundredths or Bar:Step:Tick.
+//  - Tuner (EffectKind::tuner): no sound; a chromatic tuner for monophonic input. [0] Reference 400–480 Hz,
+//    [1] Reactivity (slow … fast), [2] Bass (one octave lower, slower), [3] Visual (Basic, Dial). The detection is LYNX's
+//    own (YIN, core/VocalPitch.h) and runs on the UI thread from the slot's tap: the audio thread only copies the signal.
+//  - Fruity HTML NoteBook (EffectKind::htmlNotebook): no sound; shows a page (FL's state: the page's address). LYNX shows
+//    local .html files as formatted text and opens web addresses in the user's browser (it never fetches pages itself).
+//
+// No JUCE here (tests/FlPlugins165Tests.inc).
+
+#include <cstdint>
+#include <memory>
+#include <optional>
+#include <string>
+#include <vector>
+
+#include "core/Song.h"
+
+namespace lynx
+{
+class Effect;
+}
+
+namespace lynx::flextra
+{
+// ------------------------------------------------------------------------------------------------ Fruity Mute 2
+namespace mute2
+{
+enum Param { mute = 0, channel = 1, count = 2 };
+enum class Channel { left = 0, both = 1, right = 2 };
+
+bool soundOn (float muteValue) noexcept;        // FL: muted = value < 0.5
+Channel channelOf (float value) noexcept;       // FL: round(value / (1/3)), clamped to 2
+float channelValue (Channel c) noexcept;        // the value that selects c (c / 3)
+std::string paramText (int param, float value);
+// FL's state (record 0xD5): i32 version (1), then both controls' raw values (i32 each)
+bool fromFl (const std::vector<std::uint8_t>& state, EffectSlot& slot);
+std::unique_ptr<Effect> make();
+// one block, as FL's plugin processes it (exposed for the tests)
+void process (float* left, float* right, int n, float muteValue, float channelValue) noexcept;
+} // namespace mute2
+
+// ------------------------------------------------------------------------------------------------ Fruity Big Clock
+namespace bigclock
+{
+enum Param { display = 0, count = 1 };
+enum class Display { barBeatTick = 0, minSecHundredths = 1, barStepTick = 2 };
+constexpr int displays = 3;
+Display displayOf (float value) noexcept;
+float displayValue (Display d) noexcept;
+const char* displayName (Display d) noexcept; // English, for the menus
+std::string paramText (int param, float value);
+// The clock's digits at song position `ticks` (LYNX ticks, ppq per quarter note). Ticks are shown in FL's default
+// resolution (96 per quarter note): Bar:Beat:Tick → "bar:beat:tick" (tick 0–95 of the beat), Bar:Step:Tick →
+// "bar:step:tick" (tick 0–23 of the sixteenth), Min:Sec:Hundredths → "m:ss:cc". Bars follow the song's time signature
+// changes in song mode; `beatsPerBar` applies otherwise.
+std::string clockText (const Song& song, double ticks, int beatsPerBar, Display d);
+} // namespace bigclock
+
+// ------------------------------------------------------------------------------------------------ Tuner
+namespace tuner
+{
+enum Param { reference = 0, reactivity = 1, bass = 2, visual = 3, count = 4 };
+enum class Visual { basic = 0, dial = 1 };
+double referenceHz (float value) noexcept;   // 400 + 80 · value
+float referenceValue (double hz) noexcept;
+bool bassOn (float value) noexcept;
+Visual visualOf (float value) noexcept;
+std::string paramText (int param, float value);
+// FL's state: i32 version (1), reference (0…6000 = 400…480 Hz), reactivity (−1 slow … 1 fast), bass (0/1),
+// visual (1 = Basic, 2 = Dial)
+bool fromFl (const std::vector<std::uint8_t>& state, EffectSlot& slot);
+
+struct Reading
+{
+    bool valid = false;  // a pitch is shown
+    double hz = 0.0;     // detected frequency
+    int note = 69;       // nearest MIDI note for the reference
+    double cents = 0.0;  // offset from that note, −50 … +50
+    float level = 0.0f;  // RMS of the analysed signal
+};
+const char* noteName (int midiNote) noexcept; // "C", "C#", ... (sharps, as FL's default)
+int octaveOf (int midiNote) noexcept;         // C4 = 60
+
+// The tuner's detection: feed it the slot's signal (mono mix), read the smoothed reading. Reactivity: fast follows
+// within ~30 ms and detects up to C10; slow averages ~300 ms, ignores brief fluctuations and detects up to E7. Bass
+// lowers the range by an octave (F0) and needs ~100 ms per estimate.
+class Analyzer
+{
+public:
+    Analyzer();
+    ~Analyzer();
+    void prepare (double sampleRate);
+    void setOptions (double referenceHz, float reactivity, bool bass);
+    void push (const float* mono, int n) noexcept;
+    Reading reading() const noexcept { return shown; }
+
+private:
+    struct Impl;
+    std::unique_ptr<Impl> impl;
+    Reading shown;
+};
+} // namespace tuner
+
+// ------------------------------------------------------------------------------------------------ Fruity HTML NoteBook
+namespace htmlnotebook
+{
+// FL's state: i32 version (1), then the page's address as a Pascal short string (length byte + bytes)
+std::string address (const std::vector<std::uint8_t>& state);
+std::vector<std::uint8_t> stateFor (const std::string& address);
+bool isWebAddress (const std::string& address);
+
+// A page as LYNX shows it: blocks of text (headings, paragraphs, list items, preformatted) with links
+struct Block
+{
+    enum class Kind { heading1, heading2, heading3, paragraph, listItem, preformatted, rule } kind = Kind::paragraph;
+    struct Run
+    {
+        std::string text;
+        bool bold = false, italic = false;
+        std::string link; // "" = none
+    };
+    std::vector<Run> runs;
+};
+struct Page
+{
+    std::string title;
+    std::vector<Block> blocks;
+};
+// A small, forgiving HTML reader: scripts and styles skipped, entities decoded, whitespace collapsed (UTF-8 in/out)
+Page parse (const std::string& html);
+} // namespace htmlnotebook
+
+// FL plugins imported as inert slots / channels (no sound to reproduce here): the import report's note
+// ("" = not one of them)
+std::string inertPluginNote (const std::string& flPluginName);
+} // namespace lynx::flextra

+ 16 - 1
src/core/FlpImport.cpp

@@ -1,4 +1,5 @@
 #include "core/FlpImport.h"
+#include "core/FlExtraFx.h"
 #include "core/ControlSurface.h"
 #include "core/VoltageController.h"
 #include "core/XyController.h"
@@ -203,6 +204,8 @@ const std::pair<const char*, EffectKind> flEffectTable[] = {
         { "Multiband Delay", EffectKind::delay },
         { "Emphasizer", EffectKind::emphasizer },
         { "Wave Candy", EffectKind::waveCandy },     { "ZGameEditor Visualizer", EffectKind::visualizer },
+        { "Fruity Mute 2", EffectKind::fruityMute2 }, { "Fruity Big Clock", EffectKind::bigClock }, // round 165g
+        { "Tuner", EffectKind::tuner },              { "Fruity HTML NoteBook", EffectKind::htmlNotebook },
 };
 } // namespace
 
@@ -1937,7 +1940,12 @@ Song importFlp (const flp::Project& input, const FlpImportOptions& options)
                 ++r.converted[c.pluginName];
             else if (plugin != "fruity wrapper" && plugin != "fruity keyboard controller" && plugin != "midi out"
                      && def.instrument == InstrumentKind::synth)
-                ++r.unsupported[c.pluginName]; // (Keyboard Controller only sends notes to other channels)
+            {
+                const auto note = flextra::inertPluginNote (c.pluginName); // round 165g: ReWired, Video Player, FL Studio Mobile
+                if (c.pluginName == "ReWired" || c.pluginName == "Fruity Video Player")
+                    def.muted = true; // no sound of their own in LYNX: the stand-in synth must not play their notes
+                ++r.unsupported[note.empty() ? c.pluginName : note]; // (Keyboard Controller only sends notes to other channels)
+            }
         }
 
         song.channels.push_back (std::move (def));
@@ -2620,6 +2628,13 @@ Song importFlp (const flp::Project& input, const FlpImportOptions& options)
                                                     "Fruity Formula Controller", "Fruity LSD", "Fruity dB Meter", "Fruity Spectroman" };
                     const auto harmless = std::any_of (std::begin (silent), std::end (silent), [&] (const char* n) { return slot.plugin == n; });
 
+                    // FL plugins with nothing to reproduce here (vendor lighting, discontinued bridges): the note says why (round 165g)
+                    if (const auto note = flextra::inertPluginNote (slot.plugin); ! note.empty())
+                    {
+                        if (options.report != nullptr)
+                            ++options.report->droppedEffects[note];
+                        continue;
+                    }
                     if (options.report != nullptr && ! harmless)
                         ++options.report->droppedEffects[slot.plugin == "Fruity Wrapper" ? std::string ("Fruity Wrapper (plugin state not readable)")
                                                                                           : slot.plugin];

+ 424 - 0
src/core/MidiSync.cpp

@@ -0,0 +1,424 @@
+#include "core/MidiSync.h"
+
+#include <algorithm>
+#include <cmath>
+#include <cstdio>
+
+namespace lynx::midisync
+{
+namespace
+{
+constexpr double ticksPerQuarter = 960.0;
+constexpr double ticksPerPulse = ticksPerQuarter / 24.0; // 40
+constexpr double ticksPerSixteenth = ticksPerQuarter / 4.0;
+} // namespace
+
+const char* syncTypeKey (SyncType type) noexcept
+{
+    switch (type)
+    {
+        case SyncType::midiClock: return "clock";
+        case SyncType::mtc24: return "mtc24";
+        case SyncType::mtc25: return "mtc25";
+        case SyncType::mtc30Drop: return "mtc30drop";
+        case SyncType::mtc30: return "mtc30";
+        case SyncType::mtc2997Drop: return "mtc2997drop";
+        case SyncType::mtc2997: return "mtc2997";
+    }
+    return "clock";
+}
+
+SyncType syncTypeFromKey (const std::string& key) noexcept
+{
+    for (int i = 0; i < syncTypeCount; ++i)
+        if (key == syncTypeKey ((SyncType) i))
+            return (SyncType) i;
+    return SyncType::midiClock;
+}
+
+const char* syncTypeName (SyncType type) noexcept
+{
+    switch (type)
+    {
+        case SyncType::midiClock: return "MIDI clock";
+        case SyncType::mtc24: return "MTC 24 fps";
+        case SyncType::mtc25: return "MTC 25 fps";
+        case SyncType::mtc30Drop: return "MTC 30 fps (drop)";
+        case SyncType::mtc30: return "MTC 30 fps (non-drop)";
+        case SyncType::mtc2997Drop: return "MTC 29.97 fps (drop)";
+        case SyncType::mtc2997: return "MTC 29.97 fps (non-drop)";
+    }
+    return "MIDI clock";
+}
+
+MtcRate mtcRate (SyncType type) noexcept
+{
+    switch (type)
+    {
+        case SyncType::mtc24: return { 24.0, 24, false, 0 };
+        case SyncType::mtc25: return { 25.0, 25, false, 1 };
+        case SyncType::mtc30Drop: return { 30.0, 30, true, 2 };
+        case SyncType::mtc30: return { 30.0, 30, false, 3 };
+        case SyncType::mtc2997Drop: return { 30000.0 / 1001.0, 30, true, 2 };
+        case SyncType::mtc2997: return { 30000.0 / 1001.0, 30, false, 3 };
+        case SyncType::midiClock: break;
+    }
+    return { 25.0, 25, false, 1 };
+}
+
+Timecode frameToTimecode (std::int64_t frame, const MtcRate& rate) noexcept
+{
+    frame = std::max<std::int64_t> (0, frame);
+    const auto n = (std::int64_t) rate.nominal;
+    if (rate.drop)
+    {
+        // 30-frame numbering with labels 0 and 1 dropped at each minute except every tenth: 17 982 frames per 10 min
+        const std::int64_t perTen = 10 * 60 * n - 9 * 2, perMinute = 60 * n - 2;
+        const auto tens = frame / perTen, rest = frame % perTen;
+        frame += 18 * tens + (rest > 1 ? 2 * ((rest - 2) / perMinute) : 0);
+    }
+    Timecode tc;
+    tc.frames = (int) (frame % n);
+    tc.seconds = (int) (frame / n % 60);
+    tc.minutes = (int) (frame / (n * 60) % 60);
+    tc.hours = (int) (frame / (n * 3600) % 24);
+    return tc;
+}
+
+std::int64_t timecodeToFrame (const Timecode& tc, const MtcRate& rate) noexcept
+{
+    const auto n = (std::int64_t) rate.nominal;
+    auto frame = ((std::int64_t) tc.hours * 3600 + tc.minutes * 60 + tc.seconds) * n + tc.frames;
+    if (rate.drop)
+    {
+        const auto minutes = (std::int64_t) tc.hours * 60 + tc.minutes;
+        frame -= 2 * (minutes - minutes / 10);
+    }
+    return frame;
+}
+
+std::uint8_t quarterFrameData (const Timecode& tc, int piece, int rateCode) noexcept
+{
+    int value = 0;
+    switch (piece & 7)
+    {
+        case 0: value = tc.frames & 0x0f; break;
+        case 1: value = (tc.frames >> 4) & 0x01; break;
+        case 2: value = tc.seconds & 0x0f; break;
+        case 3: value = (tc.seconds >> 4) & 0x03; break;
+        case 4: value = tc.minutes & 0x0f; break;
+        case 5: value = (tc.minutes >> 4) & 0x03; break;
+        case 6: value = tc.hours & 0x0f; break;
+        case 7: value = ((tc.hours >> 4) & 0x01) | ((rateCode & 3) << 1); break;
+        default: break;
+    }
+    return (std::uint8_t) (((piece & 7) << 4) | value);
+}
+
+void fullFrame (const Timecode& tc, int rateCode, std::uint8_t* out) noexcept
+{
+    const std::uint8_t m[10] { 0xf0, 0x7f, 0x7f, 0x01, 0x01, (std::uint8_t) (((rateCode & 3) << 5) | (tc.hours & 0x1f)),
+                               (std::uint8_t) (tc.minutes & 0x3f), (std::uint8_t) (tc.seconds & 0x3f), (std::uint8_t) (tc.frames & 0x1f), 0xf7 };
+    std::copy (m, m + 10, out);
+}
+
+int sppFor (double ticks) noexcept
+{
+    const auto sixteenths = std::ceil (std::max (0.0, ticks) / ticksPerSixteenth - 1.0e-6);
+    return (int) std::min (16383.0, sixteenths);
+}
+
+// --- generator ---------------------------------------------------------------------------------------------------
+void Generator::setType (SyncType t) noexcept
+{
+    if (t != syncType)
+    {
+        syncType = t;
+        reset();
+    }
+}
+
+void Generator::reset() noexcept
+{
+    wasPlaying = false;
+    nextPulseTicks = 0.0;
+    expectedTicks = 0.0;
+    nextQuarter = 0;
+    mtcSeconds = 0.0;
+}
+
+void Generator::process (const Block& block, double songSeconds, BlockMessages& out) noexcept
+{
+    if (block.numSamples <= 0)
+        return;
+    // a jump the caller didn't flag: the block doesn't start where the last one ended (loop wrap, a click on the
+    // timeline, an external clock's relocate)
+    auto b = block;
+    b.jumped = block.jumped || (block.playing && wasPlaying && std::abs (block.startTicks - expectedTicks) > 0.5);
+    if (syncType == SyncType::midiClock)
+        processClock (b, out);
+    else
+        processMtc (b, songSeconds, out);
+    expectedTicks = block.startTicks + block.numSamples * block.ticksPerSample;
+}
+
+void Generator::processClock (const Block& block, BlockMessages& out) noexcept
+{
+    if (! block.playing)
+    {
+        if (wasPlaying)
+            out.add (0, { 0xfc }); // Stop
+        wasPlaying = false;
+        return;
+    }
+
+    if (! wasPlaying || block.jumped)
+    {
+        if (wasPlaying)
+            out.add (0, { 0xfc }); // a jump while playing: stop, relocate, continue
+        if (block.startTicks < 0.5)
+        {
+            out.add (0, { 0xfa }); // Start (from the song's beginning)
+            nextPulseTicks = 0.0;
+        }
+        else
+        {
+            const auto spp = sppFor (block.startTicks);
+            out.add (0, { 0xf2, (std::uint8_t) (spp & 0x7f), (std::uint8_t) ((spp >> 7) & 0x7f) });
+            out.add (0, { 0xfb }); // Continue: the first clock after it is at the SPP
+            nextPulseTicks = spp * ticksPerSixteenth;
+        }
+        wasPlaying = true;
+    }
+
+    if (block.ticksPerSample <= 0.0)
+        return;
+    const auto end = block.startTicks + block.numSamples * block.ticksPerSample;
+    // (a pulse is due at the first sample whose position reaches it)
+    while (nextPulseTicks < end - 1.0e-9)
+    {
+        const auto at = std::ceil ((nextPulseTicks - block.startTicks) / block.ticksPerSample - 1.0e-9);
+        out.add (std::clamp ((int) at, 0, block.numSamples - 1), { 0xf8 });
+        nextPulseTicks += ticksPerPulse;
+        if (out.overflow)
+            break;
+    }
+}
+
+void Generator::processMtc (const Block& block, double songSeconds, BlockMessages& out) noexcept
+{
+    if (! block.playing)
+    {
+        wasPlaying = false; // MTC: the quarter frames stop, the receiver stops with them
+        return;
+    }
+    const auto rate = mtcRate (syncType);
+    const auto quarter = 1.0 / (rate.fps * 4.0);
+
+    if (! wasPlaying || block.jumped)
+    {
+        mtcSeconds = std::max (0.0, songSeconds);
+        const auto frame = (std::int64_t) std::floor (mtcSeconds * rate.fps + 1.0e-9);
+        Message m;
+        m.size = 10;
+        fullFrame (frameToTimecode (frame, rate), rate.code, m.bytes.data());
+        if (out.count < (int) out.items.size())
+            out.items[(std::size_t) out.count++] = m;
+        // the quarter frames resume at the next even frame (piece 0 of a sequence starts on an even frame)
+        auto first = (std::int64_t) std::ceil (mtcSeconds * rate.fps - 1.0e-9);
+        if (first % 2 != 0)
+            ++first;
+        nextQuarter = first * 4;
+        wasPlaying = true;
+    }
+
+    const auto blockSeconds = block.numSamples / block.sampleRate;
+    while (nextQuarter * quarter < mtcSeconds + blockSeconds - 1.0e-12)
+    {
+        const auto at = std::ceil ((nextQuarter * quarter - mtcSeconds) * block.sampleRate - 1.0e-6);
+        const auto piece = (int) (nextQuarter % 8);
+        const auto tc = frameToTimecode ((nextQuarter / 8) * 2, rate);
+        out.add (std::clamp ((int) at, 0, block.numSamples - 1), { 0xf1, quarterFrameData (tc, piece, rate.code) });
+        ++nextQuarter;
+        if (out.overflow)
+            break;
+    }
+    mtcSeconds += blockSeconds;
+}
+
+// --- receiver ----------------------------------------------------------------------------------------------------
+double fitBpm (const double* t, int count) noexcept
+{
+    if (count < 2)
+        return 0.0;
+    // least squares slope of time against pulse index
+    double meanX = (count - 1) * 0.5, meanY = 0.0;
+    for (int i = 0; i < count; ++i)
+        meanY += t[i];
+    meanY /= count;
+    double sxy = 0.0, sxx = 0.0;
+    for (int i = 0; i < count; ++i)
+    {
+        sxy += (i - meanX) * (t[i] - meanY);
+        sxx += (i - meanX) * (i - meanX);
+    }
+    const auto secondsPerPulse = sxx > 0.0 ? sxy / sxx : 0.0;
+    return secondsPerPulse > 0.0 ? 60.0 / (secondsPerPulse * 24.0) : 0.0;
+}
+
+void Receiver::reset() noexcept
+{
+    timeCount = timeHead = changeVotes = 0;
+    shownBpm = 0.0;
+    armed = false;
+    positionTicks = sppTicks = 0.0;
+    tempo.store (0.0);
+    lastPulse.store (-1.0);
+    lastPulseTicks.store (0.0);
+    pulseSeconds.store (0.0);
+    isRunning.store (false);
+    fast.store (false);
+}
+
+void Receiver::pushCommand (Command c, double ticks) noexcept
+{
+    commands.push ({ c, ticks });
+}
+
+bool Receiver::popCommand (Command& c, double& ticks) noexcept
+{
+    Pending p;
+    if (! commands.pop (p))
+        return false;
+    c = p.command;
+    ticks = p.ticks;
+    return true;
+}
+
+bool Receiver::receiving (double now) const noexcept
+{
+    const auto last = lastPulse.load (std::memory_order_relaxed);
+    return last >= 0.0 && now - last < 0.5;
+}
+
+double Receiver::ticksAt (double seconds) const noexcept
+{
+    const auto base = lastPulseTicks.load (std::memory_order_relaxed);
+    const auto last = lastPulse.load (std::memory_order_relaxed);
+    const auto period = pulseSeconds.load (std::memory_order_relaxed);
+    if (! running() || last < 0.0 || period <= 0.0)
+        return base;
+    // (extrapolated up to 0.1 s past the last pulse, at least one pulse: enough for the output latency, and a master
+    // that stops sending without a Stop doesn't run LYNX away)
+    return base + ticksPerPulse * std::clamp ((seconds - last) / period, 0.0, std::max (1.0, 0.1 / period));
+}
+
+void Receiver::pulse (double seconds) noexcept
+{
+    // tempo: the last `window` + 1 pulse times in a ring, oldest first when fitted
+    constexpr int size = window + 1;
+    times[(std::size_t) timeHead] = seconds;
+    timeHead = (timeHead + 1) % size;
+    timeCount = std::min (timeCount + 1, size);
+
+    std::array<double, size> ordered {};
+    for (int i = 0; i < timeCount; ++i)
+        ordered[(std::size_t) i] = times[(std::size_t) ((timeHead - timeCount + i + 2 * size) % size)];
+
+    // a tempo change: the mean of the last 6 intervals is more than 4 % off the fitted period on two pulses running
+    // (one late message makes one interval long and the next short, which the 6-interval mean absorbs). The fit then
+    // restarts from those 7 pulses, so the new tempo is followed within a few pulses instead of the whole window.
+    constexpr int recent = 6;
+    if (timeCount > recent + 4)
+    {
+        const auto fitted = fitBpm (ordered.data(), timeCount - recent);
+        const auto mean = (ordered[(std::size_t) (timeCount - 1)] - ordered[(std::size_t) (timeCount - 1 - recent)]) / recent;
+        const auto period = fitted > 0.0 ? 60.0 / (fitted * 24.0) : 0.0;
+        changeVotes = period > 0.0 && std::abs (mean / period - 1.0) > 0.04 ? changeVotes + 1 : 0;
+        if (changeVotes >= 2)
+        {
+            for (int i = 0; i <= recent; ++i)
+                times[(std::size_t) i] = ordered[(std::size_t) (timeCount - 1 - recent + i)];
+            timeCount = recent + 1;
+            timeHead = timeCount % size;
+            for (int i = 0; i < timeCount; ++i)
+                ordered[(std::size_t) i] = times[(std::size_t) i];
+            shownBpm = 0.0;
+            changeVotes = 0;
+        }
+    }
+
+    const auto estimate = fitBpm (ordered.data(), timeCount);
+    if (estimate > 0.0)
+    {
+        fast.store (estimate > maxBpm, std::memory_order_relaxed);
+        // hysteresis: a steady clock with jitter shows one steady tempo; the period used for the position follows the
+        // estimate directly
+        // (FL's receiver: the fitted tempo rounded to 0.1 BPM and kept within 10…522 BPM, its tempo range; REA 165f)
+        if (shownBpm <= 0.0 || std::abs (estimate - shownBpm) > hysteresis)
+            shownBpm = std::round (estimate * 10.0) / 10.0;
+        tempo.store (std::clamp (shownBpm, minBpm, maxBpm), std::memory_order_relaxed);
+        pulseSeconds.store (60.0 / (estimate * 24.0), std::memory_order_relaxed);
+    }
+
+    if (armed)
+    {
+        armed = false;
+        positionTicks = sppTicks; // the first pulse after Start / Continue is at the song position
+        isRunning.store (true, std::memory_order_relaxed);
+    }
+    else if (isRunning.load (std::memory_order_relaxed))
+        positionTicks += ticksPerPulse;
+    lastPulseTicks.store (positionTicks, std::memory_order_relaxed);
+    lastPulse.store (seconds, std::memory_order_relaxed);
+}
+
+bool Receiver::feed (const std::uint8_t* bytes, int size, double seconds) noexcept
+{
+    if (size <= 0)
+        return false;
+    switch (bytes[0])
+    {
+        case 0xf8:
+            pulse (seconds);
+            return true;
+        case 0xfa: // Start: from the beginning, on the next pulse
+            sppTicks = 0.0;
+            armed = true;
+            pushCommand (Command::start, 0.0);
+            return true;
+        case 0xfb: // Continue: from the last Song Position Pointer, on the next pulse
+            armed = true;
+            pushCommand (Command::resume, sppTicks);
+            return true;
+        case 0xfc:
+            armed = false;
+            isRunning.store (false, std::memory_order_relaxed);
+            lastPulseTicks.store (positionTicks, std::memory_order_relaxed);
+            sppTicks = positionTicks; // a Continue without an SPP resumes where it stopped
+            pushCommand (Command::stop, positionTicks);
+            return true;
+        case 0xf2:
+            if (size < 3)
+                return true;
+            sppTicks = ((bytes[1] & 0x7f) | ((bytes[2] & 0x7f) << 7)) * ticksPerSixteenth;
+            positionTicks = sppTicks;
+            lastPulseTicks.store (positionTicks, std::memory_order_relaxed);
+            pushCommand (Command::locate, sppTicks);
+            return true;
+        default:
+            return false;
+    }
+}
+
+std::string statusText (const Receiver& r, double now)
+{
+    if (! r.receiving (now) || r.bpm() <= 0.0)
+        return "No clock";
+    if (r.tooFast())
+        return "Clock is too fast!";
+    char text[64];
+    std::snprintf (text, sizeof (text), "Receiving clock %.1f BPM%s", r.bpm(), r.running() ? ", playing" : "");
+    return text;
+}
+} // namespace lynx::midisync

+ 198 - 0
src/core/MidiSync.h

@@ -0,0 +1,198 @@
+#pragma once
+
+// MIDI synchronisation (REA round 165f, docs/analise/REA_rodada165f-midisync.md): FL Studio's Options › MIDI
+// "Send master sync" (MIDI clock + Song Position Pointer, or MIDI Time Code at 24 / 25 / 30 / 29.97 fps, drop or
+// non-drop) to an output and "External clock sync" (LYNX follows an incoming MIDI clock: tempo, Start / Continue /
+// Stop, Song Position Pointer). Pure logic, no devices: the engine feeds blocks and incoming bytes, tests check it.
+// Real-time safe: no allocation, no locks; fixed-capacity outputs.
+
+#include <array>
+#include <atomic>
+#include <cstdint>
+#include <string>
+
+#include "core/LiveEventQueue.h"
+
+namespace lynx::midisync
+{
+// FL's "Synchronization type" list (the order of its combo box, without the separator)
+enum class SyncType
+{
+    midiClock,
+    mtc24,
+    mtc25,
+    mtc30Drop,
+    mtc30,
+    mtc2997Drop,
+    mtc2997
+};
+constexpr int syncTypeCount = 7;
+const char* syncTypeKey (SyncType type) noexcept;     // stable name for the settings file ("clock", "mtc24", …)
+SyncType syncTypeFromKey (const std::string& key) noexcept;
+const char* syncTypeName (SyncType type) noexcept;    // English UI name, as FL's list
+
+// --- MIDI Time Code ---------------------------------------------------------------------------------------------
+struct MtcRate
+{
+    double fps = 25.0;   // real frames per second (29.97 = 30000 / 1001)
+    int nominal = 25;    // frames counted per second in the labels (30 for 29.97)
+    bool drop = false;   // drop-frame numbering (labels 0 and 1 skipped each minute except every 10th)
+    int code = 1;        // the rate bits in the hours byte: 0 = 24, 1 = 25, 2 = 30 drop, 3 = 30
+};
+MtcRate mtcRate (SyncType type) noexcept;
+
+struct Timecode
+{
+    int hours = 0, minutes = 0, seconds = 0, frames = 0;
+    bool operator== (const Timecode&) const = default;
+};
+// The label of frame number `frame` (0 = 00:00:00:00), drop-frame numbering when the rate says so.
+Timecode frameToTimecode (std::int64_t frame, const MtcRate& rate) noexcept;
+// The inverse (for tests and the receiver display).
+std::int64_t timecodeToFrame (const Timecode& tc, const MtcRate& rate) noexcept;
+// Quarter-frame message piece 0…7 (the data byte after 0xF1) for timecode `tc`.
+std::uint8_t quarterFrameData (const Timecode& tc, int piece, int rateCode) noexcept;
+// The full-frame SysEx F0 7F 7F 01 01 hh mm ss ff F7 (10 bytes) into `out`.
+void fullFrame (const Timecode& tc, int rateCode, std::uint8_t* out) noexcept;
+
+// --- what the generator sends -----------------------------------------------------------------------------------
+struct Message
+{
+    int sample = 0;                 // offset in the block it belongs to
+    std::uint8_t size = 0;
+    std::array<std::uint8_t, 10> bytes {};
+};
+
+template <int Capacity>
+struct MessageList
+{
+    std::array<Message, Capacity> items {};
+    int count = 0;
+    bool overflow = false;
+    void clear() noexcept
+    {
+        count = 0;
+        overflow = false;
+    }
+    void add (int sample, std::initializer_list<std::uint8_t> b) noexcept
+    {
+        if (count >= Capacity)
+        {
+            overflow = true;
+            return;
+        }
+        auto& m = items[(std::size_t) count++];
+        m.sample = sample;
+        m.size = 0;
+        for (auto v : b)
+            m.bytes[m.size++] = v;
+    }
+};
+using BlockMessages = MessageList<512>;
+
+// One audio block as the transport plays it.
+struct Block
+{
+    double startTicks = 0.0;      // position at the block's first sample (core ticks, 960 PPQ)
+    double ticksPerSample = 0.0;  // the tempo during the block
+    double sampleRate = 44100.0;
+    int numSamples = 0;
+    bool playing = false;
+    bool jumped = false;          // the position was moved before this block while playing (also detected: a block
+                                  // that doesn't start where the previous one ended)
+};
+
+// Song Position Pointer value (MIDI beats = 16th notes) for a tick position; rounded up to the next 16th so the
+// first clock after Continue falls exactly on it.
+int sppFor (double ticks) noexcept;
+
+// Master sync generator for one output. Clock: 24 pulses per quarter note at the sample where the position crosses
+// each pulse, Start at 0 / SPP + Continue elsewhere, Stop when the transport stops, SPP + Continue after a jump.
+// MTC: quarter frames (4 per frame, 8 pieces over 2 frames, piece 0 on an even frame) from the song time, a full
+// frame on every start and locate.
+class Generator
+{
+public:
+    void setType (SyncType t) noexcept;
+    SyncType type() const noexcept { return syncType; }
+    void reset() noexcept;
+    // Appends this block's messages (sample offsets relative to the block). `songSeconds` = the song time of the
+    // block's first sample (MTC only; the engine computes it from the position and tempo).
+    void process (const Block& block, double songSeconds, BlockMessages& out) noexcept;
+
+private:
+    void processClock (const Block& block, BlockMessages& out) noexcept;
+    void processMtc (const Block& block, double songSeconds, BlockMessages& out) noexcept;
+
+    SyncType syncType = SyncType::midiClock;
+    bool wasPlaying = false;
+    double nextPulseTicks = 0.0;         // the next clock pulse position (multiple of 40 ticks)
+    double expectedTicks = 0.0;          // where the next block should start (else: a jump)
+    std::int64_t nextQuarter = 0;        // MTC: the next quarter-frame index (frame * 4 + piece)
+    double mtcSeconds = 0.0;             // MTC: the song time at the next block's first sample
+};
+
+// --- external clock in ------------------------------------------------------------------------------------------
+// Fed by the MIDI thread with each real-time / SPP message and its time stamp (seconds, same clock as the engine's
+// Time::getMillisecondCounterHiRes()/1000). Publishes a smoothed tempo and a song position for the audio thread.
+class Receiver
+{
+public:
+    enum class Command : std::uint8_t
+    {
+        none,
+        start,
+        stop,
+        resume,
+        locate
+    };
+
+    // returns true if the message was a sync message (consumed)
+    bool feed (const std::uint8_t* bytes, int size, double seconds) noexcept;
+    void reset() noexcept;
+
+    // --- read from any thread (atomics) ---
+    double bpm() const noexcept { return tempo.load (std::memory_order_relaxed); }   // 0 = no clock yet
+    bool running() const noexcept { return isRunning.load (std::memory_order_relaxed); }
+    bool receiving (double now) const noexcept;                                         // a clock in the last 0.5 s
+    // The song position (ticks) the master is at at time `seconds`, while running: the last pulse's position plus
+    // the time since it at the measured tempo (extrapolated at most 0.1 s, or one pulse).
+    double ticksAt (double seconds) const noexcept;
+    // Transport commands for the audio thread (start / stop / continue / SPP), oldest first.
+    bool popCommand (Command& c, double& ticks) noexcept;
+    bool tooFast() const noexcept { return fast.load (std::memory_order_relaxed); }   // over 522 BPM (FL: "Clock is too fast !")
+
+    static constexpr int window = 96;          // pulses in the tempo estimate (four beats)
+    static constexpr double hysteresis = 0.1; // BPM
+    static constexpr double minBpm = 10.0, maxBpm = 522.0; // FL's tempo range (its receiver clamps there)
+
+private:
+    void pushCommand (Command c, double ticks) noexcept;
+    void pulse (double seconds) noexcept;
+
+    // MIDI thread only
+    std::array<double, window + 1> times {};
+    int timeCount = 0, timeHead = 0, changeVotes = 0;
+    double shownBpm = 0.0;
+    bool armed = false;            // after Start/Continue: the next pulse is the first one played
+    double positionTicks = 0.0;    // the master's position (ticks) at the last pulse
+    double sppTicks = 0.0;
+
+    std::atomic<double> tempo { 0.0 }, lastPulse { -1.0 }, lastPulseTicks { 0.0 }, pulseSeconds { 0.0 };
+    std::atomic<bool> isRunning { false }, fast { false };
+    struct Pending
+    {
+        Command command = Command::none;
+        double ticks = 0.0;
+    };
+    SpscQueue<Pending, 64> commands;
+};
+
+// FL's status text: "Receiving clock 120.0 BPM" / "No clock" (the UI translates the parts).
+std::string statusText (const Receiver& r, double now);
+
+// Tempo smoothing: a least-squares fit of the last `window` pulse times (robust to per-message jitter), then
+// hysteresis: the published tempo moves only when the estimate differs by more than `threshold` BPM, so a steady
+// clock with jitter shows a steady tempo. Exposed for tests.
+double fitBpm (const double* times, int count) noexcept;
+} // namespace lynx::midisync

+ 14 - 1
src/core/MixSuite.cpp

@@ -1739,6 +1739,14 @@ bool modulated (const EffectParams& p) noexcept
     return false;
 }
 bool measuredEffects (const EffectParams& p) noexcept { return on (p[effectLaw]); }
+
+std::vector<std::pair<int, float>> linkedEdit (const EffectParams& p, int param, float value)
+{
+    std::vector<std::pair<int, float>> edits { { param, value } };
+    if (param == classicDrive && on (p[classicAuto]))
+        edits.push_back ({ classicOutput, emberclassic::autoOutput (p[classicOutput], p[classicDrive], value) });
+    return edits;
+}
 double collapseRatio (double referenceDrive) noexcept { return std::exp2 (-2.0 * std::clamp (referenceDrive, 0.0, 1.0)); }
 
 float shape (Style s, float x) noexcept
@@ -2752,6 +2760,7 @@ private:
         c.steep = on (p[classicSteep]);
         c.mix = std::clamp ((double) p[classicMix], 0.0, 1.0);
         c.outputDb = emberclassic::outputDb (p[classicOutput]);
+        c.measuredPunish = on (p[classicLaw]);
         if (! classicOn || ! (c == classicSet))
         {
             if (! classicOn)
@@ -2947,7 +2956,9 @@ const EffectInfo& emberInfo()
                                      { "Mod 2 source", 0.0f }, { "Mod 2 target", 0.0f }, { "Mod 2 amount", 0.5f },
                                      { "Mod 3 source", 0.0f }, { "Mod 3 target", 0.0f }, { "Mod 3 amount", 0.5f },
                                      { "Mod 4 source", 0.0f }, { "Mod 4 target", 0.0f }, { "Mod 4 amount", 0.5f },
-                                     { "Effect law", 1.0f } } };
+                                     { "Effect law", 1.0f },
+                                     // round 165 (Decapitator: Auto, the Classic law)
+                                     { "Classic auto", 1.0f }, { "Classic law", 1.0f } } };
     return info;
 }
 
@@ -3231,6 +3242,8 @@ std::string paramText (EffectKind kind, int param, float v)
             case mod1Target: case mod2Target: case mod3Target: case mod4Target: return modTargetName (modTargetOf (v));
             case mod1Amount: case mod2Amount: case mod3Amount: case mod4Amount: return fmt ("%+.3f", modAmount (v));
             case effectLaw: return on (v) ? "measured" : "static";
+            case classicAuto: return onOff (v);
+            case classicLaw: return on (v) ? "measured" : "round 136";
             case band2Style: case band3Style: case band4Style: case band5Style: case band6Style:
             {
                 static const char* names[] = { "tube", "tape", "transistor", "fuzz" };

+ 7 - 0
src/core/MixSuite.h

@@ -297,8 +297,15 @@ enum Param
     mod1Source, mod1Target, mod1Amount, mod2Source, mod2Target, mod2Amount,
     mod3Source, mod3Target, mod3Amount, mod4Source, mod4Target, mod4Amount,
     effectLaw,
+    // round 165 (Decapitator parity, measured black-box on the trial, REA_rodada165ha; appended): the Classic voicing's
+    // Auto (its editor moves Output −1.6 dB per Drive unit, as the reference's; no audio effect) and the Classic law
+    // (1 = Punish's measured law; projects saved before round 165 keep round 136's +9.75 dB)
+    classicAuto, classicLaw,
     count
 };
+// round 165: an editor edit of `param` with the Classic voicing's Auto on also moves Output (the reference's link);
+// returns every (parameter, value) to set — just the edit itself when nothing is linked
+std::vector<std::pair<int, float>> linkedEdit (const EffectParams& p, int param, float value);
 // round 152: crossover k's slope (0 … 4) in dB/oct — its own, or the global Crossover slope
 int crossoverSlopeDbOct (const EffectParams& p, int k) noexcept;
 constexpr int ownSlopes = 5;                    // 6, 12, 24, 36, 48

+ 4 - 4
src/core/PluginCatalog.cpp

@@ -66,9 +66,9 @@ std::string effectCategory (const std::string& declared, const std::string& name
     for (const auto* text : { &declared, &name })
     {
         const auto& t = *text;
-        if (has (t, { "visualiz", "visualis", "video", "milkdrop", "projectm", "plugin dance" }) || hasToken (t, { "visual" }))
-            return visual;
-        if (has (t, { "analy", "meter", "scope", "spectrum", "loudness" }))
+        if (has (t, { "visualiz", "visualis", "video", "milkdrop", "projectm", "plugin dance", "big clock", "notebook" }) || hasToken (t, { "visual" }))
+            return visual; // (round 165g: FL's Big Clock and HTML NoteBook sit in FL's Visual group)
+        if (has (t, { "analy", "meter", "scope", "spectrum", "loudness", "tuner" }))
             return analyzer;
         if (has (t, { "reverb", "verb", "delay", "echo", "plate", "room", "hall", "spring" }))
             return delayReverb;
@@ -83,7 +83,7 @@ std::string effectCategory (const std::string& declared, const std::string& name
             return modulation;
         if (has (t, { "distort", "drive", "satur", "decapitator", "tube", "tape", "crush", "fuzz", "warm", "exciter", "fresh air" }) || hasToken (t, { "amp" }))
             return distortion;
-        if (has (t, { "tools", "utility", "gain", "trim", "mono", "routing", "restoration", "noise", "spatial" }))
+        if (has (t, { "tools", "utility", "gain", "trim", "mono", "routing", "restoration", "noise", "spatial", "mute" }))
             return utility;
     }
     return other;

+ 48 - 17
src/core/PluginLayout.cpp

@@ -991,6 +991,25 @@ Layout fruityBalance()
     return l;
 }
 
+Layout fruityMute2Layout()
+{
+    // round 165g, FL Studio 2026's window: two knobs side by side, each with its caption box (MUTE / CHANNEL) and its value
+    // under it ("On" = the sound passes, "Off" = muted; L, L + R, R = the side(s) silenced)
+    Layout l;
+    l.fl = "Fruity Mute 2";
+    l.width = 300;
+    l.height = 64;
+    auto& v = l.items;
+    v.push_back (section (0, 0, 300, 64, nullptr, boxed));
+    v.push_back (knob (28, 32, 36, "Mute", nullptr, 0, noCaption, 1));
+    v.push_back (label (52, 8, 92, 16, TR_NOOP ("MUTE")));
+    v.push_back (value (52, 30, 92, 18, "Mute"));
+    v.push_back (knob (172, 32, 36, "Channel", nullptr, 0, noCaption, 3));
+    v.push_back (label (196, 8, 96, 16, TR_NOOP ("CHANNEL")));
+    v.push_back (value (196, 30, 96, 18, "Channel"));
+    return l;
+}
+
 Layout fruitySend()
 {
     // one row: DRY, the SEND TO box (the destination insert, a menu of the mixer's inserts), PAN and VOLUME
@@ -1836,27 +1855,36 @@ Layout aetherLayout()
 }
 
 // round 136: Ember's Classic voicing (core/EmberClassic.h) — with Voicing on, Ember's own controls hide and the
-// Classic ones (the reference's laws and texts) show; added around emberLayout() so that layout stays as it is
+// Classic ones (the reference's laws and texts) show; added around emberLayout() so that layout stays as it is.
+// Round 165 (REA_rodada165ha §3): the reference's one-screen arrangement in LYNX's widgets — Punish top left, the VU
+// (output level) top centre, Output with its Auto link top right, the big Drive left, Low cut (+ Thump), Tone,
+// High cut (+ Steep) and Mix in a row, the five styles one click each along the bottom
 Layout withEmberClassic (Layout l)
 {
+    // every item of Ember's own page hides in Classic (round 165: also the band rows, which carry their own condition)
     for (auto& it : l.items)
-        if (it.whenParam == nullptr)
+        if (it.whenParam == nullptr || it.when2Param == nullptr)
             it = when (it, "Voicing", 0.0f, 0.5f);
     auto add = [&l] (LayoutItem it) { l.items.push_back (when (it, "Voicing", 0.5f, 1.0f)); };
-    add (section (4, 4, 200, 222, TR_NOOP ("Style")));
-    auto styles = radio (12, 30, 184, 120, "Classic style", TR_NOOP ("A|E|N|T|P"));
-    add (styles);
-    add (toggle (12, 166, 184, 22, "Classic punish", TR_NOOP ("Punish")));
-    add (section (208, 4, 308, 222, TR_NOOP ("Classic")));
-    add (dial (266, 86, 70, "Classic drive", TR_NOOP ("Drive"), big));
-    add (dial (380, 60, 36, "Classic tone", TR_NOOP ("Tone"), bipolar));
-    add (dial (460, 60, 36, "Classic mix", TR_NOOP ("Mix")));
-    add (dial (340, 148, 30, "Classic low cut", TR_NOOP ("Low cut")));
-    add (dial (410, 148, 30, "Classic high cut", TR_NOOP ("High cut")));
-    add (dial (480, 148, 30, "Classic output", TR_NOOP ("Output")));
-    add (toggle (216, 200, 80, 20, "Classic thump", TR_NOOP ("Thump")));
-    add (toggle (300, 200, 80, 20, "Classic steep", TR_NOOP ("Steep")));
-    add (toggle (400, 200, 108, 20, "Voicing", TR_NOOP ("Classic")));
+    add (section (4, 4, 512, 432, TR_NOOP ("Classic")));
+    add (toggle (24, 44, 104, 28, "Classic punish", TR_NOOP ("Punish")));
+    auto vu = display (152, 28, 216, 136, "vumeter");
+    vu.steps = 0;
+    add (vu);
+    add (dial (434, 84, 56, "Classic output", TR_NOOP ("Output")));
+    add (toggle (400, 156, 68, 20, "Classic auto", TR_NOOP ("Auto")));
+    add (dial (86, 222, 104, "Classic drive", TR_NOOP ("Drive"), big));
+    add (dial (204, 268, 50, "Classic low cut", TR_NOOP ("Low cut")));
+    add (dial (300, 268, 50, "Classic tone", TR_NOOP ("Tone"), bipolar));
+    add (dial (396, 268, 50, "Classic high cut", TR_NOOP ("High cut")));
+    add (dial (474, 222, 50, "Classic mix", TR_NOOP ("Mix")));
+    add (toggle (168, 336, 72, 20, "Classic thump", TR_NOOP ("Thump")));
+    add (toggle (360, 336, 72, 20, "Classic steep", TR_NOOP ("Steep")));
+    add (label (24, 368, 280, 14, TR_NOOP ("Style")));
+    add (tabs (24, 384, 300, 32, "Classic style", TR_NOOP ("A|E|N|T|P")));
+    // projects saved before round 165 keep round 136's Punish until switched to the measured law
+    add (when (tabs (344, 360, 152, 20, "Classic law", TR_NOOP ("Old|Measured")), "Classic law", 0.0f, 0.5f));
+    add (toggle (344, 392, 152, 24, "Voicing", TR_NOOP ("Classic")));
     return l;
 }
 
@@ -3280,7 +3308,9 @@ const std::vector<EffectKind>& flLayoutKinds()
                                                  EffectKind::flPitchShifter, EffectKind::effector, EffectKind::hardcore, EffectKind::vocodex,
                                                  EffectKind::fruitySend,
                                                  // round 154
-                                                 EffectKind::emphasizer };
+                                                 EffectKind::emphasizer,
+                                                 // round 165g
+                                                 EffectKind::fruityMute2 };
     return kinds;
 }
 
@@ -3367,6 +3397,7 @@ const Layout& layoutFor (EffectKind kind)
         case EffectKind::orbit: l = captionsAbove (orbitLayout()); break;
         case EffectKind::latticeMod: l = captionsAbove (latticeLayout()); break;
         case EffectKind::fruitySend: l = fruitySend(); break;
+        case EffectKind::fruityMute2: l = fruityMute2Layout(); break;
         case EffectKind::crestCompressor: l = crestCompressor(); break;
         case EffectKind::prismMultiband: l = prismMultiband(); break;
         case EffectKind::sentryGate: l = sentryGate(); break;

+ 47 - 0
src/core/Preferences.cpp

@@ -342,6 +342,25 @@ void MidiPrefs::setInput (const MidiInputPrefs& in)
         inputs.push_back (in);
 }
 
+MidiOutputPrefs MidiPrefs::output (const std::string& name) const
+{
+    for (const auto& o : outputs)
+        if (o.name == name)
+            return o;
+    MidiOutputPrefs d;
+    d.name = name;
+    return d;
+}
+
+void MidiPrefs::setOutput (const MidiOutputPrefs& out)
+{
+    MidiOutputPrefs defaults;
+    defaults.name = out.name;
+    outputs.erase (std::remove_if (outputs.begin(), outputs.end(), [&] (const MidiOutputPrefs& o) { return o.name == out.name; }), outputs.end());
+    if (! (out == defaults))
+        outputs.push_back (out);
+}
+
 bool MidiPrefs::accepts (const std::string& device, int channel) const
 {
     const auto i = input (device);
@@ -386,6 +405,13 @@ std::string MidiPrefs::toText() const
     // input=<enabled>|<midi channel>|<target>|<device name>
     for (const auto& i : inputs)
         out += "input=" + std::string (i.enabled ? "1" : "0") + "|" + std::to_string (i.midiChannel) + "|" + std::to_string (i.target) + "|" + i.name + "\n";
+    // output=<master sync>|<sync type>|<offset ms>|<all notes off>|<device name>
+    for (const auto& o : outputs)
+        out += "output=" + std::string (o.masterSync ? "1" : "0") + "|" + o.syncType + "|" + std::to_string (o.offsetMs) + "|"
+               + (o.allNotesOff ? "1" : "0") + "|" + o.name + "\n";
+    // clockin=<offset ms>|<device name>
+    if (! clockInput.empty() || clockOffsetMs != 0)
+        out += "clockin=" + std::to_string (clockOffsetMs) + "|" + clockInput + "\n";
     // link=<cc>|<channel>|<target kind>|<index>|<slot>|<param>
     for (const auto& l : globalLinks)
         out += "link=" + std::to_string (l.cc) + "|" + std::to_string (l.channel) + "|" + std::to_string (l.kind) + "|" + std::to_string (l.index)
@@ -428,6 +454,27 @@ MidiPrefs MidiPrefs::fromText (const std::string& text)
             i.name = parts[3];
             p.setInput (i);
         }
+        else if (key == "output")
+        {
+            const auto parts = split (value, '|', 5);
+            if (parts.size() != 5 || parts[4].empty())
+                continue;
+            MidiOutputPrefs o;
+            o.masterSync = trim (parts[0]) == "1";
+            o.syncType = trim (parts[1]);
+            o.offsetMs = std::clamp (toInt (trim (parts[2]), 0), -1000, 1000);
+            o.allNotesOff = trim (parts[3]) == "1";
+            o.name = parts[4];
+            p.setOutput (o);
+        }
+        else if (key == "clockin")
+        {
+            const auto parts = split (value, '|', 2);
+            if (parts.size() != 2)
+                continue;
+            p.clockOffsetMs = std::clamp (toInt (trim (parts[0]), 0), -1000, 1000);
+            p.clockInput = parts[1];
+        }
         else if (key == "link")
         {
             const auto parts = split (value, '|', 6);

+ 17 - 0
src/core/Preferences.h

@@ -128,9 +128,24 @@ struct GlobalLink
     bool operator== (const GlobalLink&) const = default;
 };
 
+// An output device (FL's Options › MIDI "Output" panel, REA round 165f): master sync and all-notes-off.
+struct MidiOutputPrefs
+{
+    std::string name;          // the device name
+    bool masterSync = false;   // "Send master sync"
+    std::string syncType = "clock"; // midisync::syncTypeKey: MIDI clock + SPP, or an MTC rate
+    int offsetMs = 0;          // "Master sync offset (milliseconds)", -1000…1000 (later = positive)
+    bool allNotesOff = false;  // "Send all notes off" on init and after an export
+
+    bool operator== (const MidiOutputPrefs&) const = default;
+};
+
 struct MidiPrefs
 {
     std::vector<MidiInputPrefs> inputs; // the devices the user changed (others use the defaults)
+    std::vector<MidiOutputPrefs> outputs; // the output devices the user changed
+    std::string clockInput;             // "External clock sync": the input LYNX follows ("" = off)
+    int clockOffsetMs = 0;              // "External sync offset (milliseconds)", -1000…1000
     std::vector<GlobalLink> globalLinks;
     VelocityCurve velocity = VelocityCurve::linear;
     bool pickup = false;                // a controller takes over a parameter only once it reaches its value
@@ -138,6 +153,8 @@ struct MidiPrefs
     // The settings of a device (the defaults when it was never changed).
     MidiInputPrefs input (const std::string& name) const;
     void setInput (const MidiInputPrefs& input);
+    MidiOutputPrefs output (const std::string& name) const;
+    void setOutput (const MidiOutputPrefs& output);
 
     // Should a message on MIDI channel `channel` (1..16) from `device` be played?
     bool accepts (const std::string& device, int channel) const;

+ 4 - 3
src/core/RackRenderer.cpp

@@ -1807,7 +1807,8 @@ void RackRenderer::runEffects (const RackState& state, int track, int n) noexcep
             && slots[i].kind != EffectKind::xyController && slots[i].kind != EffectKind::xyzController
             && slots[i].kind != EffectKind::controlSurface
             // round 164c: a visual plugin keeps recording silence (its display falls, the video export stays in time)
-            && slots[i].kind != EffectKind::waveCandy && slots[i].kind != EffectKind::visualizer)
+            && slots[i].kind != EffectKind::waveCandy && slots[i].kind != EffectKind::visualizer
+            && slots[i].kind != EffectKind::tuner) // (round 165g: the tuner's display follows the signal into silence)
         {
             auto& sd = smartDisable[key];
 
@@ -2066,9 +2067,9 @@ void RackRenderer::process (const RackState* state,
     resumeAudio = playing && (! wasPlaying || jumped);
     wasPlaying = playing;
     // tempo automation: the tempo holds for the whole block (evaluated at its start)
-    bpm = state->song.bpm;
+    bpm = tempoOverride > 0.0 ? tempoOverride : state->song.bpm;
 
-    if (state->tempoAutomation >= 0 && state->song.mode == PlayMode::song && ! isSlotOverridden (state->tempoAutomation))
+    if (tempoOverride <= 0.0 && state->tempoAutomation >= 0 && state->song.mode == PlayMode::song && ! isSlotOverridden (state->tempoAutomation))
     {
         const auto length = (double) std::max<std::int64_t> (1, state->schedule.songLength);
         const auto& clips = state->automationClips[(std::size_t) state->tempoAutomation];

+ 3 - 0
src/core/RackRenderer.h

@@ -315,6 +315,8 @@ public:
 
     // Tempo used in the last block (changes with tempo automation). The transport advances with it.
     double currentBpm() const noexcept { return bpm; }
+    // > 0: the tempo of an external MIDI clock LYNX follows (round 165f), over the song's tempo and its automation
+    void setTempoOverride (double b) noexcept { tempoOverride = b; }
 
     // Events of the last block (for tests and diagnostics).
     const EventBuffer& lastEvents() const noexcept { return events; }
@@ -341,6 +343,7 @@ private:
 
     double sampleRate = 44100.0;
     double bpm = 120.0;
+    double tempoOverride = 0.0;
     bool wasPlaying = false;
     double expectedTick = -1.0; // where the next block should start, to detect jumps
     bool resumeAudio = false;

+ 6 - 2
src/core/Song.h

@@ -664,10 +664,14 @@ enum class EffectKind : std::uint8_t
     xyController,    // FL's X-Y Controller (REA_rodada164a, core/XyController.h): no sound; outputs X, Y follow a pad
     xyzController,   // FL's X-Y-Z Controller (REA_rodada164a, core/XyController.h): the same with a Z axis (mouse wheel)
     controlSurface,  // FL's Control Surface (REA_rodada164a, core/ControlSurface.h): a user panel; output k = params[k]
-    hardwareInsert   // LYNX's hardware insert (REA_rodada164d, core/HardwareInsert.h): send to device outputs, return from inputs, pinged round trip
+    hardwareInsert,  // LYNX's hardware insert (REA_rodada164d, core/HardwareInsert.h): send to device outputs, return from inputs, pinged round trip
+    fruityMute2,     // FL's Fruity Mute 2, exact (REA_rodada165g §1, core/FlExtraFx.h): mute, channel (L, L + R, R)
+    bigClock,        // FL's Fruity Big Clock (REA_rodada165g §2, core/FlExtraFx.h): no sound; the song position in big digits
+    tuner,           // FL's Tuner (REA_rodada165g §3, core/FlExtraFx.h): no sound; chromatic tuner fed by the slot's tap
+    htmlNotebook     // FL's Fruity HTML NoteBook (REA_rodada165g §4, core/FlExtraFx.h): no sound; its page's address in EffectSlot::state
 };
 // the last EffectKind (loops over every kind; update when one is appended)
-constexpr EffectKind lastEffectKind = EffectKind::hardwareInsert;
+constexpr EffectKind lastEffectKind = EffectKind::htmlNotebook;
 
 constexpr int maxEffectParams = 160; // round 150: Prism Multiband 155, Ember 133. LuxeVerb uses 53 (FL's 49 controls + 4 sync switches); Facet EQ 88 (round 128); Echoform 102 (round 144)
 constexpr int maxEffectSlots = 10; // as in FL

+ 2 - 2
src/core/StorePackage.h

@@ -43,7 +43,7 @@ inline std::string appsFolderTarget (std::string_view familyName)
 // First start of the Store build on a PC that already ran the installer / zip build: which top-level entries of the
 // old %APPDATA%\LYNX are copied into the packaged settings folder. Preferences, the plugin list, favourites, presets,
 // themes, layouts and the user's own plugin folder come along; caches (rebuilt on demand), autosaves, crash reports,
-// session markers and logs of the other build stay where they are (a copied "session running" marker would even
+// session markers, logs and --packageinfo's probe file of the other build stay where they are (a copied "session running" marker would even
 // report a crash that never happened).
 inline bool migratesFromUnpackaged (std::string_view name, bool isDirectory)
 {
@@ -56,7 +56,7 @@ inline bool migratesFromUnpackaged (std::string_view name, bool isDirectory)
     };
     if (endsWith (".log") || endsWith (".tmp"))
         return false;
-    return name != "session-running.txt" && name != "migrated-from-appdata.txt";
+    return name != "session-running.txt" && name != "migrated-from-appdata.txt" && name != "package-probe.txt";
 }
 
 // The marker written once the copy is done (it is never copied itself, see above).

+ 18 - 0
src/engine/AudioEngine.cpp

@@ -266,6 +266,8 @@ AudioEngine::AudioEngine (bool openAudioDevice)
         prefetcher = std::make_unique<StreamPrefetcher> (transport);
         prefetcher->update (song, samples);
         enableAllMidiInputs();
+        midiSync.configure (midiPrefs);
+        midiSync.sendAllNotesOff(); // FL's "Send all notes off": on init and after a render
         deviceManager.addMidiInputDeviceCallback ({}, this); // {} = all inputs enabled
         midiDevicesChanged = juce::MidiDeviceListConnection::make ([this] { enableAllMidiInputs(); });
         mark ("  engine: MIDI inputs");
@@ -1625,6 +1627,10 @@ void AudioEngine::handleIncomingMidiMessage (juce::MidiInput* source, const juce
     if (! device.enabled)
         return;
 
+    // the external clock LYNX follows (round 165f): clock, start / stop / continue, song position
+    if (m.getRawDataSize() > 0 && (m.getRawData()[0] >= 0xf2) && source != nullptr && midiSync.handleInput (source->getName(), m))
+        return;
+
     midiActivity.fetch_add (1, std::memory_order_relaxed); // the toolbar's MIDI input light
 
     if (device.midiChannel != 0 && m.getChannel() != device.midiChannel)
@@ -1773,7 +1779,10 @@ void AudioEngine::setMidiPrefs (const prefs::MidiPrefs& p, bool save)
     if (! p.pickup)
         pickups.clear();
     if (prefetcher != nullptr) // (only with an audio device: the real app)
+    {
         enableAllMidiInputs();
+        midiSync.configure (p);
+    }
     if (save)
         midiSettingsFile().replaceWithText (juce::String (p.toText()));
     sendChangeMessage();
@@ -3145,6 +3154,8 @@ std::shared_ptr<Effect> AudioEngine::getEffect (int track, int slot) const
 
 void AudioEngine::setPluginsRenderMode (bool offline)
 {
+    if (! offline)
+        midiSync.sendAllNotesOff(); // FL's "Send all notes off": after a render
     // FL's "Notify about rendering mode" off: that plugin is not told (round 149); "Reset plugin when FL Studio
     // resets": reset as the export starts (round 151)
     for (std::size_t i = 0; i < song.channels.size(); ++i)
@@ -3274,6 +3285,9 @@ void AudioEngine::audioDeviceIOCallbackWithContext (const float* const* inputCha
     if (const auto target = transport.seekRequest.exchange (-1.0); target >= 0.0)
         transport.positionTicks.store (target);
 
+    // an external MIDI clock moves the transport (round 165f)
+    midiSync.beginBlock (transport, callbackStart, numSamples);
+
     // With the loop region on, the block is split at the loop end and the position jumps back to
     // its start (the nodes see a jump and release their notes, as in FL).
     // the audio editor's input recording (nothing happens unless it chose the input)
@@ -3368,6 +3382,9 @@ void AudioEngine::audioDeviceIOCallbackWithContext (const float* const* inputCha
         for (int ch = 0; ch < numOutputChannels; ++ch)
             outputs[(std::size_t) ch] = outputChannelData[ch] != nullptr ? outputChannelData[ch] + done : nullptr;
 
+        // master sync out (round 165f): this part's clock / MTC messages, time-stamped for the sender thread
+        midiSync.subBlock (transport.positionTicks.load (std::memory_order_relaxed), tps, n, done, playing);
+
         player.audioDeviceIOCallbackWithContext (inputs.data(), numInputChannels, outputs.data(), numOutputChannels, n, context);
         routeOutputs (outputs.data(), numOutputChannels, n);
 
@@ -3439,6 +3456,7 @@ void AudioEngine::audioDeviceAboutToStart (juce::AudioIODevice* device)
     rtStats.deviceRestarted();
     rt::resetForNewDevice();
     transport.sampleRate.store (device->getCurrentSampleRate());
+    midiSync.deviceStarted (device->getCurrentSampleRate(), device->getCurrentBufferSizeSamples(), device->getOutputLatencyInSamples());
     // FL's fixed size buffers: 2 ms, or the device buffer with "Process maximum size buffers" (REA round 134)
     setFixedPluginBlock (device->getCurrentBufferSizeSamples(), device->getCurrentSampleRate());
 

+ 4 - 0
src/engine/AudioEngine.h

@@ -18,6 +18,7 @@
 #include "core/Recorder.h"
 #include "core/TakeRecording.h"
 #include "core/WorkerPool.h"
+#include "engine/MidiSyncIo.h"
 #include "core/RackRenderer.h"
 #include "core/RtStats.h"
 #include "core/ScoreLog.h"
@@ -348,6 +349,8 @@ public:
     const prefs::MidiPrefs& getMidiPrefs() const noexcept { return midiPrefs; }
     // Applies them (and saves them in %APPDATA%\LYNX\midi-settings.txt when `save`).
     void setMidiPrefs (const prefs::MidiPrefs& prefs, bool save = true);
+    // master sync out / external clock in / all notes off (round 165f)
+    MidiSyncIo& getMidiSync() noexcept { return midiSync; }
 
     // How many undo steps are kept (Settings › General).
     void setUndoLevels (int levels);
@@ -560,6 +563,7 @@ private:
     juce::AudioProcessorGraph graph;
     juce::AudioProcessorPlayer player;
     Transport transport;
+    MidiSyncIo midiSync; // (before the MIDI callbacks and the audio callback use it)
     SampleLibrary samples;
     LiveEventQueue liveEvents;   // UI -> audio
     LiveEventQueue midiEvents;   // MIDI thread -> audio

+ 2 - 1
src/engine/ChannelRackProcessor.cpp

@@ -26,6 +26,7 @@ void ChannelRackProcessor::processBlock (juce::AudioBuffer<float>& buffer, juce:
     const auto* state = exchange.acquire();
     const auto playing = transport.playing.load (std::memory_order_relaxed);
     const auto startTick = transport.positionTicks.load (std::memory_order_relaxed);
+    renderer.setTempoOverride (transport.externalBpm.load (std::memory_order_relaxed));
 
     if (buffer.getNumChannels() >= 2)
     {
@@ -48,7 +49,7 @@ void ChannelRackProcessor::processBlock (juce::AudioBuffer<float>& buffer, juce:
     }
 
     // tempo automation: the transport advances at the tempo the renderer used
-    if (state != nullptr && state->tempoAutomation >= 0)
+    if (state != nullptr && state->tempoAutomation >= 0 && transport.externalBpm.load (std::memory_order_relaxed) <= 0.0)
         transport.bpm.store (renderer.currentBpm(), std::memory_order_relaxed);
 }
 } // namespace lynx

+ 486 - 0
src/engine/MidiSyncIo.cpp

@@ -0,0 +1,486 @@
+#include "engine/MidiSyncIo.h"
+
+#include <algorithm>
+#include <chrono>
+#include <cmath>
+#include <deque>
+#include <mutex>
+#include <random>
+#include <thread>
+
+#if JUCE_WINDOWS
+extern "C" __declspec (dllimport) unsigned int __stdcall timeBeginPeriod (unsigned int);
+extern "C" __declspec (dllimport) unsigned int __stdcall timeEndPeriod (unsigned int);
+#endif
+
+namespace lynx
+{
+namespace
+{
+void atomicMax (std::atomic<double>& a, double v) noexcept
+{
+    auto now = a.load (std::memory_order_relaxed);
+    while (v > now && ! a.compare_exchange_weak (now, v, std::memory_order_relaxed))
+    {
+    }
+}
+
+void atomicAdd (std::atomic<double>& a, double v) noexcept
+{
+    auto now = a.load (std::memory_order_relaxed);
+    while (! a.compare_exchange_weak (now, now + v, std::memory_order_relaxed))
+    {
+    }
+}
+} // namespace
+
+MidiSyncIo::MidiSyncIo() : juce::Thread ("LYNX MIDI sync") {}
+
+MidiSyncIo::~MidiSyncIo()
+{
+    stopThread (2000);
+    const juce::ScopedLock lock (outputLock);
+    for (auto& s : slots)
+        s.device.reset();
+}
+
+void MidiSyncIo::configure (const prefs::MidiPrefs& prefs, bool devices, bool dryRun)
+{
+    dry.store (dryRun);
+    {
+        const juce::SpinLock::ScopedLockType lock (clockNameLock);
+        clockName = juce::String::fromUTF8 (prefs.clockInput.c_str());
+    }
+    clockOffsetMs.store (juce::jlimit (-1000, 1000, prefs.clockOffsetMs));
+    // (the receiver belongs to the MIDI thread: it resets itself on its next message)
+    if (following.exchange (! prefs.clockInput.empty()) != ! prefs.clockInput.empty())
+        resetReceiver.store (true);
+
+    // the outputs that need a device: sync or notes off on
+    std::vector<prefs::MidiOutputPrefs> wanted;
+    for (const auto& o : prefs.outputs)
+        if (o.masterSync || o.allNotesOff)
+            wanted.push_back (o);
+    if ((int) wanted.size() > maxOutputs)
+        wanted.resize (maxOutputs);
+
+    const auto available = devices ? juce::MidiOutput::getAvailableDevices() : juce::Array<juce::MidiDeviceInfo>();
+    auto any = false;
+    for (int i = 0; i < maxOutputs; ++i)
+    {
+        auto& slot = slots[(std::size_t) i];
+        const prefs::MidiOutputPrefs* want = i < (int) wanted.size() ? &wanted[(std::size_t) i] : nullptr;
+        const auto sameDevice = want != nullptr && slot.name == want->name && (slot.device != nullptr || ! devices);
+        if (! sameDevice)
+        {
+            slot.active.store (false);
+            std::unique_ptr<juce::MidiOutput> opened;
+            if (want != nullptr && devices)
+                for (const auto& d : available)
+                    if (d.name.toStdString() == want->name)
+                    {
+                        opened = juce::MidiOutput::openDevice (d.identifier);
+                        break;
+                    }
+            {
+                const juce::ScopedLock lock (outputLock);
+                slot.device = std::move (opened);
+            }
+            slot.name = want != nullptr ? want->name : std::string();
+        }
+        slot.sync = want != nullptr && want->masterSync;
+        slot.notesOff = want != nullptr && want->allNotesOff;
+        const auto type = (int) midisync::syncTypeFromKey (want != nullptr ? want->syncType : std::string());
+        if (slot.type.exchange (type) != type || ! sameDevice)
+            slot.generation.fetch_add (1);
+        slot.offsetMs.store (want != nullptr ? juce::jlimit (-1000, 1000, want->offsetMs) : 0);
+        slot.active.store (slot.sync && (slot.device != nullptr || ! devices));
+        any = any || slot.active.load();
+    }
+    anySync.store (any);
+    if ((devices || dryRun) && any && ! isThreadRunning())
+        startThread (juce::Thread::Priority::highest);
+}
+
+void MidiSyncIo::sendAllNotesOff()
+{
+    const juce::ScopedLock lock (outputLock);
+    for (auto& s : slots)
+        if (s.notesOff && s.device != nullptr)
+            for (int ch = 1; ch <= 16; ++ch)
+            {
+                s.device->sendMessageNow (juce::MidiMessage::controllerEvent (ch, 64, 0));
+                s.device->sendMessageNow (juce::MidiMessage::allNotesOff (ch));
+            }
+}
+
+void MidiSyncIo::deviceStarted (double rate, int bufferSize, int outputLatencySamples) noexcept
+{
+    sampleRate = rate > 0.0 ? rate : 44100.0;
+    // the audio of a block computed now is heard one buffer plus the device's latency later: the sync messages for
+    // its samples are due then
+    latencyMs = 1000.0 * (bufferSize + std::max (0, outputLatencySamples)) / sampleRate;
+    predictedMs = -1.0;
+    for (auto& s : slots)
+        s.generator.reset();
+}
+
+void MidiSyncIo::beginBlock (Transport& transport, double callbackMs, int numSamples) noexcept
+{
+    // the block clock: callbacks wake up with jitter, the samples don't. Follow the sample count and pull towards
+    // the callback times slowly; resynchronise after a gap (xrun, device restart).
+    if (predictedMs < 0.0 || std::abs (callbackMs - predictedMs) > 50.0)
+        blockStartMs = callbackMs;
+    else
+        blockStartMs = predictedMs + 0.02 * (callbackMs - predictedMs);
+    predictedMs = blockStartMs + 1000.0 * numSamples / sampleRate;
+
+    if (! following.load (std::memory_order_relaxed))
+    {
+        midisync::Receiver::Command stale;
+        double at = 0.0;
+        while (clockIn.popCommand (stale, at)) // (nothing old is applied when following starts again)
+        {
+        }
+        if (wasFollowing)
+            transport.externalBpm.store (0.0, std::memory_order_relaxed);
+        wasFollowing = false;
+        waitingFirstPulse = false;
+        appliedBpm.store (0.0, std::memory_order_relaxed);
+        return;
+    }
+    wasFollowing = true;
+
+    midisync::Receiver::Command command;
+    double ticks = 0.0;
+    while (clockIn.popCommand (command, ticks))
+        switch (command)
+        {
+            case midisync::Receiver::Command::start:
+            case midisync::Receiver::Command::resume:
+                transport.playing.store (false, std::memory_order_relaxed);
+                transport.positionTicks.store (ticks, std::memory_order_relaxed);
+                waitingFirstPulse = true;
+                break;
+            case midisync::Receiver::Command::stop:
+                transport.playing.store (false, std::memory_order_relaxed);
+                waitingFirstPulse = false;
+                break;
+            case midisync::Receiver::Command::locate:
+                if (! transport.playing.load (std::memory_order_relaxed))
+                    transport.positionTicks.store (ticks, std::memory_order_relaxed);
+                break;
+            case midisync::Receiver::Command::none: break;
+        }
+
+    if (waitingFirstPulse && clockIn.running())
+    {
+        waitingFirstPulse = false;
+        transport.playing.store (true, std::memory_order_relaxed);
+    }
+
+    const auto nowSeconds = blockStartMs * 0.001;
+    const auto bpm = clockIn.receiving (nowSeconds) ? clockIn.bpm() : 0.0;
+    auto applied = bpm;
+    if (bpm > 0.0 && clockIn.running() && transport.playing.load (std::memory_order_relaxed))
+    {
+        // phase lock: the block's first sample is heard `latencyMs` from now; it should then be where the master is
+        // (plus the user's offset: positive = LYNX later)
+        const auto target = clockIn.ticksAt (nowSeconds + (latencyMs - clockOffsetMs.load (std::memory_order_relaxed)) * 0.001);
+        const auto position = transport.positionTicks.load (std::memory_order_relaxed);
+        const auto error = target - position;
+        if (std::abs (error) > 480.0) // half a beat off (a jump on the master's side): relocate
+            transport.positionTicks.store (target, std::memory_order_relaxed);
+        else // pull in within ~0.5 s, at most ±5 % of the tempo
+            applied = bpm * std::clamp (1.0 + error / (bpm * 16.0 * 0.5), 0.95, 1.05);
+    }
+    transport.externalBpm.store (applied, std::memory_order_relaxed);
+    appliedBpm.store (bpm, std::memory_order_relaxed);
+}
+
+void MidiSyncIo::subBlock (double startTicks, double ticksPerSample, int numSamples, int offset, bool playing) noexcept
+{
+    if (! anySync.load (std::memory_order_relaxed))
+        return;
+    const auto t0 = juce::Time::getHighResolutionTicks();
+    for (auto& slot : slots)
+    {
+        if (! slot.active.load (std::memory_order_relaxed))
+            continue;
+        if (const auto g = slot.generation.load (std::memory_order_acquire); g != slot.seenGeneration)
+        {
+            slot.seenGeneration = g;
+            slot.generator.reset();
+            slot.generator.setType ((midisync::SyncType) slot.type.load (std::memory_order_relaxed));
+        }
+        midisync::Block block;
+        block.startTicks = startTicks;
+        block.ticksPerSample = ticksPerSample;
+        block.sampleRate = sampleRate;
+        block.numSamples = numSamples;
+        block.playing = playing;
+        scratch.clear();
+        const auto songSeconds = ticksPerSample > 0.0 ? startTicks / (ticksPerSample * sampleRate) : 0.0;
+        slot.generator.process (block, songSeconds, scratch);
+        const auto base = blockStartMs + latencyMs + slot.offsetMs.load (std::memory_order_relaxed);
+        for (int i = 0; i < scratch.count; ++i)
+        {
+            const auto& m = scratch.items[(std::size_t) i];
+            if (! slot.queue.push ({ base + 1000.0 * (offset + m.sample) / sampleRate, m }))
+                droppedCount.fetch_add (1, std::memory_order_relaxed);
+        }
+    }
+    const auto us = 1.0e6 * juce::Time::highResolutionTicksToSeconds (juce::Time::getHighResolutionTicks() - t0);
+    atomicAdd (blockSum, us);
+    atomicMax (blockMax, us);
+    blockN.fetch_add (1, std::memory_order_relaxed);
+}
+
+void MidiSyncIo::run()
+{
+#if JUCE_WINDOWS
+    timeBeginPeriod (1); // 1 ms sleeps for this thread's waits
+#endif
+    std::array<std::deque<Timed>, maxOutputs> pending;
+    while (! threadShouldExit())
+    {
+        auto any = false;
+        for (int i = 0; i < maxOutputs; ++i)
+        {
+            Timed t;
+            while (slots[(std::size_t) i].queue.pop (t))
+                pending[(std::size_t) i].push_back (t);
+            any = any || ! pending[(std::size_t) i].empty();
+        }
+        if (! any)
+        {
+            if (! anySync.load())
+                wait (50);
+            else
+                std::this_thread::sleep_for (std::chrono::microseconds (500));
+            continue;
+        }
+
+        auto now = juce::Time::getMillisecondCounterHiRes();
+        auto next = now + 1000.0;
+        {
+            const juce::ScopedLock lock (outputLock);
+            for (int i = 0; i < maxOutputs; ++i)
+            {
+                auto& queue = pending[(std::size_t) i];
+                auto* device = slots[(std::size_t) i].device.get();
+                while (! queue.empty() && queue.front().dueMs <= now + 0.05)
+                {
+                    const auto& m = queue.front().message;
+                    if (device != nullptr || dry.load (std::memory_order_relaxed))
+                    {
+                        if (device != nullptr)
+                            device->sendMessageNow (juce::MidiMessage (m.bytes.data(), (int) m.size));
+                        now = juce::Time::getMillisecondCounterHiRes();
+                        const auto late = std::max (0.0, now - queue.front().dueMs);
+                        atomicAdd (lateSum, late);
+                        atomicMax (lateMax, late);
+                        lateN.fetch_add (1, std::memory_order_relaxed);
+                        if (lateLog != nullptr)
+                            lateLog->push_back (late);
+                        sentCount.fetch_add (1, std::memory_order_relaxed);
+                    }
+                    queue.pop_front();
+                }
+                if (! queue.empty())
+                    next = std::min (next, queue.front().dueMs);
+            }
+        }
+        // sleep until just before the next message, at most 1 ms (new messages arrive from the audio thread every
+        // block), then in short steps (FL's sync thread polls with Sleep (1); REA 165f)
+        const auto untilNext = next - juce::Time::getMillisecondCounterHiRes();
+        if (untilNext > 0.3)
+            std::this_thread::sleep_for (std::chrono::microseconds ((int) (std::min (untilNext - 0.25, 1.0) * 1000.0)));
+        else if (untilNext > 0.02)
+            std::this_thread::sleep_for (std::chrono::microseconds (50));
+    }
+#if JUCE_WINDOWS
+    timeEndPeriod (1);
+#endif
+}
+
+bool MidiSyncIo::handleInput (const juce::String& device, const juce::MidiMessage& m) noexcept
+{
+    if (! following.load (std::memory_order_relaxed))
+        return false;
+    {
+        const juce::SpinLock::ScopedLockType lock (clockNameLock);
+        if (device != clockName)
+            return false;
+    }
+    if (resetReceiver.exchange (false))
+        clockIn.reset();
+    // (JUCE time-stamps input in seconds on Time::getMillisecondCounterHiRes()'s clock)
+    return clockIn.feed (m.getRawData(), m.getRawDataSize(), m.getTimeStamp());
+}
+
+std::string MidiSyncIo::clockStatus() const
+{
+    return midisync::statusText (clockIn, juce::Time::getMillisecondCounterHiRes() * 0.001);
+}
+
+double MidiSyncIo::followedBpm() const noexcept
+{
+    return appliedBpm.load (std::memory_order_relaxed);
+}
+
+MidiSyncIo::Stats MidiSyncIo::stats() const
+{
+    // the last second's numbers (read and reset at most once a second)
+    const auto now = juce::Time::getMillisecondCounterHiRes();
+    if (now - lastStatsMs < 1000.0)
+        return lastStats;
+    lastStatsMs = now;
+    auto& self = const_cast<MidiSyncIo&> (*this);
+    Stats s;
+    s.sent = sentCount.load();
+    s.dropped = droppedCount.load();
+    const auto ln = self.lateN.exchange (0);
+    s.meanLateMs = ln > 0 ? self.lateSum.exchange (0.0) / (double) ln : 0.0;
+    s.maxLateMs = self.lateMax.exchange (0.0);
+    const auto bn = self.blockN.exchange (0);
+    s.meanBlockUs = bn > 0 ? self.blockSum.exchange (0.0) / (double) bn : 0.0;
+    s.maxBlockUs = self.blockMax.exchange (0.0);
+    lastStats = s;
+    return s;
+}
+juce::String MidiSyncIo::selfTest (const juce::String& outputName, const juce::String& inputName)
+{
+    juce::String report;
+    // 1. in memory: the generator's clock (time-stamped with ±0.5 ms of jitter) followed by a receiver
+    {
+        std::mt19937 random (165);
+        std::uniform_real_distribution<double> jitter (-0.0005, 0.0005);
+        for (const auto bpm : { 90.0, 120.0, 174.0 })
+        {
+            midisync::Generator g;
+            midisync::Receiver r;
+            const double rate = 48000.0, tps = bpm * 960.0 / (60.0 * rate);
+            double ticks = 0.0;
+            std::int64_t sample = 0;
+            midisync::BlockMessages out;
+            for (int b = 0; b < 48000 * 8 / 256; ++b)
+            {
+                midisync::Block block;
+                block.startTicks = ticks;
+                block.ticksPerSample = tps;
+                block.sampleRate = rate;
+                block.numSamples = 256;
+                block.playing = true;
+                out.clear();
+                g.process (block, 0.0, out);
+                for (int i = 0; i < out.count; ++i)
+                    r.feed (out.items[(std::size_t) i].bytes.data(), out.items[(std::size_t) i].size,
+                            (double) (sample + out.items[(std::size_t) i].sample) / rate + jitter (random));
+                ticks += 256 * tps;
+                sample += 256;
+            }
+            const auto positionError = r.ticksAt ((double) sample / rate) - ticks;
+            report << "loopback bpm=" << bpm << " received=" << juce::String (r.bpm(), 3) << " error=" << juce::String (r.bpm() - bpm, 3)
+                   << " position error ticks=" << juce::String (positionError, 2) << " running=" << (r.running() ? 1 : 0) << "\n";
+        }
+    }
+
+    // 2. the sender thread at real time
+    MidiSyncIo io;
+    prefs::MidiPrefs p;
+    prefs::MidiOutputPrefs o;
+    o.name = outputName.isNotEmpty() ? outputName.toStdString() : std::string ("(dry run)");
+    o.masterSync = true;
+    p.setOutput (o);
+    const auto real = outputName.isNotEmpty();
+    std::vector<double> lates;
+    lates.reserve (4096);
+    io.lateLog = &lates;
+    io.configure (p, real, ! real);
+    report << "output=" << (real ? outputName : juce::String ("(dry run, timed without a device)")) << " opened=" << (io.sending() ? 1 : 0) << "\n";
+    for (const auto& d : juce::MidiOutput::getAvailableDevices())
+        report << "  midi-out=" << d.name << "\n";
+    for (const auto& d : juce::MidiInput::getAvailableDevices())
+        report << "  midi-in=" << d.name << "\n";
+
+    // the input side of a loopback: a receiver fed from the input callback
+    struct In final : juce::MidiInputCallback
+    {
+        midisync::Receiver receiver;
+        std::vector<double> times;
+        std::mutex lock;
+        void handleIncomingMidiMessage (juce::MidiInput*, const juce::MidiMessage& m) override
+        {
+            receiver.feed (m.getRawData(), m.getRawDataSize(), m.getTimeStamp());
+            if (m.getRawDataSize() > 0 && m.getRawData()[0] == 0xf8)
+            {
+                const std::lock_guard<std::mutex> g (lock);
+                times.push_back (juce::Time::getMillisecondCounterHiRes());
+            }
+        }
+    } in;
+    std::unique_ptr<juce::MidiInput> input;
+    if (inputName.isNotEmpty())
+        for (const auto& d : juce::MidiInput::getAvailableDevices())
+            if (d.name == inputName)
+                input = juce::MidiInput::openDevice (d.identifier, &in);
+    if (input != nullptr)
+        input->start();
+
+    if (io.sending())
+    {
+        Transport transport;
+        transport.sampleRate.store (48000.0);
+        transport.bpm.store (120.0);
+        transport.playing.store (true);
+        io.deviceStarted (48000.0, 256, 0);
+        const auto start = juce::Time::getMillisecondCounterHiRes();
+        for (int b = 0; b < 48000 * 5 / 256; ++b)
+        {
+            // wake up like an audio callback (with the scheduler's jitter), on the block's due time
+            const auto due = start + b * 256.0 * 1000.0 / 48000.0;
+            while (juce::Time::getMillisecondCounterHiRes() < due)
+                std::this_thread::sleep_for (std::chrono::microseconds (200));
+            io.beginBlock (transport, juce::Time::getMillisecondCounterHiRes(), 256);
+            const auto tps = transport.ticksPerSample();
+            io.subBlock (transport.positionTicks.load(), tps, 256, 0, true);
+            transport.positionTicks.store (transport.positionTicks.load() + 256 * tps);
+        }
+        std::this_thread::sleep_for (std::chrono::milliseconds (100));
+        io.lastStatsMs = 0.0;
+        const auto s = io.stats();
+        report << "sender: sent=" << (juce::int64) s.sent << " dropped=" << (juce::int64) s.dropped << " late mean ms=" << juce::String (s.meanLateMs, 3)
+               << " max ms=" << juce::String (s.maxLateMs, 3) << " (5 s)\n";
+        io.stopThread (1000);
+        if (! lates.empty())
+        {
+            std::sort (lates.begin(), lates.end());
+            auto pct = [&lates] (double q) { return lates[(std::size_t) std::min ((double) lates.size() - 1, q * (double) lates.size())]; };
+            report << "sender late ms: p50=" << juce::String (pct (0.5), 3) << " p95=" << juce::String (pct (0.95), 3)
+                   << " p99=" << juce::String (pct (0.99), 3) << "\n";
+        }
+        report << "audio thread per block: mean us=" << juce::String (s.meanBlockUs, 2) << " max us=" << juce::String (s.maxBlockUs, 2) << "\n";
+    }
+    if (input != nullptr)
+    {
+        input->stop();
+        const std::lock_guard<std::mutex> g (in.lock);
+        double sum = 0.0, sum2 = 0.0;
+        const auto n = (int) in.times.size() - 1;
+        for (int i = 0; i < n; ++i)
+        {
+            const auto d = in.times[(std::size_t) i + 1] - in.times[(std::size_t) i];
+            sum += d;
+            sum2 += d * d;
+        }
+        const auto mean = n > 0 ? sum / n : 0.0;
+        report << "input=" << inputName << " clocks=" << (int) in.times.size() << " interval mean ms=" << juce::String (mean, 3)
+               << " sd ms=" << juce::String (n > 0 ? std::sqrt (std::max (0.0, sum2 / n - mean * mean)) : 0.0, 3)
+               << " received bpm=" << juce::String (in.receiver.bpm(), 2) << "\n";
+    }
+    else if (inputName.isNotEmpty())
+        report << "input=" << inputName << " not found\n";
+    return report;
+}
+} // namespace lynx

+ 119 - 0
src/engine/MidiSyncIo.h

@@ -0,0 +1,119 @@
+#pragma once
+
+// MIDI sync devices (REA round 165f, docs/analise/REA_rodada165f-midisync.md): master sync (MIDI clock + SPP, or
+// MTC) to the output devices that have "Send master sync", "Send all notes off" on init and after an export, and
+// "External clock sync" from one input.
+// Threads: the audio thread runs the generators and pushes time-stamped messages into one lock-free queue per output
+// (it never touches a device); a sender thread sends each message when it is due; the MIDI thread feeds the clock
+// receiver; the message thread opens and closes devices.
+
+#include <juce_audio_devices/juce_audio_devices.h>
+
+#include <array>
+#include <atomic>
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "core/LiveEventQueue.h"
+#include "core/MidiSync.h"
+#include "core/Preferences.h"
+#include "engine/Transport.h"
+
+namespace lynx
+{
+class MidiSyncIo final : private juce::Thread
+{
+public:
+    static constexpr int maxOutputs = 8;
+
+    MidiSyncIo();
+    ~MidiSyncIo() override;
+
+    // message thread: opens the outputs that send sync or notes off, closes the others, sets the clock input. With
+    // `devices` false nothing is opened (tests, --snapshot).
+    // `dryRun`: no device is opened but the sender runs and times every message as if it sent it (--midisync-test).
+    void configure (const prefs::MidiPrefs& prefs, bool devices = true, bool dryRun = false);
+    // message / render thread: CC 123 (All Notes Off) and CC 64 = 0 on the 16 channels of every output with the option
+    void sendAllNotesOff();
+
+    // --- audio thread ---
+    void deviceStarted (double sampleRate, int bufferSize, int outputLatencySamples) noexcept;
+    // Before the block: an external clock's commands and tempo move the transport. `callbackMs` = the callback's
+    // Time::getMillisecondCounterHiRes().
+    void beginBlock (Transport& transport, double callbackMs, int numSamples) noexcept;
+    // Each part of the block (split at loop ends): the master sync messages for it. `offset` = its first sample in
+    // the block.
+    void subBlock (double startTicks, double ticksPerSample, int numSamples, int offset, bool playing) noexcept;
+    bool sending() const noexcept { return anySync.load (std::memory_order_relaxed); }
+
+    // --- MIDI thread: true if the message was the followed clock's (consumed) ---
+    bool handleInput (const juce::String& device, const juce::MidiMessage& m) noexcept;
+
+    // --- UI ---
+    std::string clockStatus() const;             // "No clock" / "Receiving clock 120.0 BPM" (English; the UI translates)
+    double followedBpm() const noexcept;         // the external tempo LYNX plays at now (0 = not following)
+    struct Stats
+    {
+        std::uint64_t sent = 0, dropped = 0;
+        double meanLateMs = 0.0, maxLateMs = 0.0;   // send time − due time, last second
+        double meanBlockUs = 0.0, maxBlockUs = 0.0; // audio-thread cost of the sync per block, last second
+    };
+    Stats stats() const;
+
+    // tests / --midisync-test: the receiver
+    midisync::Receiver& receiver() noexcept { return clockIn; }
+    // LYNX --midisync-test report.txt ["output device"] ["input device"]: the generator → receiver loopback in memory,
+    // then 5 s of simulated audio callbacks (48 kHz, 256 frames) sending MIDI clock through the sender thread (to the
+    // output device, or timed without one), and with an input (a loopback cable / virtual port) the clock received.
+    static juce::String selfTest (const juce::String& outputName, const juce::String& inputName);
+
+private:
+    void run() override;
+
+    struct Timed
+    {
+        double dueMs = 0.0;
+        midisync::Message message;
+    };
+    struct Slot
+    {
+        std::atomic<bool> active { false };  // the audio thread generates for it
+        std::atomic<int> type { 0 };
+        std::atomic<int> offsetMs { 0 };
+        std::atomic<std::uint32_t> generation { 0 };
+        std::uint32_t seenGeneration = 0;    // audio thread
+        midisync::Generator generator;       // audio thread
+        SpscQueue<Timed, 2048> queue;        // audio → sender
+        std::string name;                    // message thread
+        bool notesOff = false, sync = false; // message thread
+        std::unique_ptr<juce::MidiOutput> device; // under outputLock
+    };
+    std::array<Slot, maxOutputs> slots;
+    juce::CriticalSection outputLock;        // the devices (message, sender, render threads; never the audio thread)
+    std::atomic<bool> anySync { false }, dry { false };
+
+    // timing: the device block clock mapped to milliseconds (smoothed: callbacks wake up with jitter)
+    double sampleRate = 44100.0, latencyMs = 0.0;
+    double blockStartMs = 0.0, predictedMs = -1.0;
+    midisync::BlockMessages scratch;
+
+    // external clock
+    midisync::Receiver clockIn;
+    juce::SpinLock clockNameLock;
+    juce::String clockName;                  // under clockNameLock
+    std::atomic<bool> following { false }, resetReceiver { false };
+    std::atomic<int> clockOffsetMs { 0 };
+    bool waitingFirstPulse = false;          // audio thread: Start / Continue received, play on the first pulse
+    bool wasFollowing = false;
+    std::atomic<double> appliedBpm { 0.0 };
+
+    // stats (sender thread / audio thread writes, UI reads)
+    std::atomic<std::uint64_t> sentCount { 0 }, droppedCount { 0 };
+    std::atomic<double> lateSum { 0.0 }, lateMax { 0.0 }, blockSum { 0.0 }, blockMax { 0.0 };
+    std::atomic<std::uint64_t> lateN { 0 }, blockN { 0 };
+    std::vector<double>* lateLog = nullptr;  // --midisync-test only (the sender thread appends)
+    mutable Stats lastStats;
+    mutable double lastStatsMs = 0.0;
+};
+} // namespace lynx

+ 6 - 1
src/engine/ProjectFile.cpp

@@ -243,6 +243,10 @@ const char* effectId (EffectKind k)
         case EffectKind::flFrequencyShifter: return "flFrequencyShifter";
         case EffectKind::flLowLifter: return "flLowLifter";
         case EffectKind::hardwareInsert: return "hardwareInsert";
+        case EffectKind::fruityMute2: return "fruityMute2";
+        case EffectKind::bigClock: return "bigClock";
+        case EffectKind::tuner: return "tuner";
+        case EffectKind::htmlNotebook: return "htmlNotebook";
         case EffectKind::waveCandy: return "waveCandy";
         case EffectKind::visualizer: return "visualizer";
         case EffectKind::xyController: return "xyController";
@@ -723,7 +727,8 @@ std::optional<EffectKind> effectFromId (const juce::String& id)
                     EffectKind::fruitySend,
                     EffectKind::crestCompressor, EffectKind::prismMultiband, EffectKind::sentryGate,
                     EffectKind::quellDenoiser, EffectKind::geminiDoubler, EffectKind::formulaController, EffectKind::voiceShift, EffectKind::patcher, EffectKind::emphasizer, EffectKind::flFrequencyShifter, EffectKind::flLowLifter, EffectKind::waveCandy, EffectKind::visualizer,
-                    EffectKind::xyController, EffectKind::xyzController, EffectKind::controlSurface, EffectKind::hardwareInsert })
+                    EffectKind::xyController, EffectKind::xyzController, EffectKind::controlSurface, EffectKind::hardwareInsert,
+                    EffectKind::fruityMute2, EffectKind::bigClock, EffectKind::tuner, EffectKind::htmlNotebook })
         if (id == effectId (k))
             return k;
 

+ 5 - 1
src/engine/Transport.h

@@ -20,6 +20,9 @@ struct Transport
     std::atomic<float> metronomeVolume { 1.0f }; // the metronome's volume (0..1.25, 1 = the default click level)
     std::atomic<bool> recording { false };
     std::atomic<double> bpm { 130.0 };
+    // External clock sync (round 165f): > 0 = the tempo LYNX follows from an incoming MIDI clock, over the song's
+    // (written by the audio thread only)
+    std::atomic<double> externalBpm { 0.0 };
     std::atomic<int> beatsPerBar { 4 };
 
     // Playlist time-signature changes for the metronome (song mode): the bar restarts at each
@@ -44,7 +47,8 @@ struct Transport
 
     double ticksPerSample() const noexcept
     {
-        return bpm.load (std::memory_order_relaxed) * ppq / (60.0 * sampleRate.load (std::memory_order_relaxed));
+        const auto external = externalBpm.load (std::memory_order_relaxed);
+        return (external > 0.0 ? external : bpm.load (std::memory_order_relaxed)) * ppq / (60.0 * sampleRate.load (std::memory_order_relaxed));
     }
 
     double positionInBeats() const noexcept

+ 2 - 0
src/platform/Package.cpp

@@ -163,6 +163,8 @@ juce::String packageReport()
     const bool wrote = probe.replaceWithText (stamp) && probe.loadFileAsString() == stamp;
     lines.add ("probe=" + probe.getFullPathName() + (wrote ? " written" : " FAILED"));
     ok = ok && wrote;
+    if (! runningPackaged())
+        probe.deleteFile(); // (packaged, it stays: the release workflow looks for it from outside the package)
     lines.add (juce::String ("result=") + (ok ? "OK" : "FAILED"));
     return lines.joinIntoString ("\n") + "\n";
 }

+ 1016 - 0
src/ui/FlExtraEditors.cpp

@@ -0,0 +1,1016 @@
+#include "ui/FlExtraEditors.h"
+
+#include <algorithm>
+#include <cmath>
+#include <map>
+
+#include "core/Effects.h"
+#include "core/FlExtraFx.h"
+#include "core/VisualFx.h"
+#include "engine/AudioEngine.h"
+#include "platform/Paths.h"
+#include "ui/I18n.h"
+#include "ui/PluginEditors.h"
+#include "ui/PluginSkin.h"
+#include "ui/SlotWatch.h"
+#include "ui/Theme.h"
+#include "ui/ValueControl.h"
+#include "ui/WindowOwner.h"
+
+namespace lynx
+{
+namespace
+{
+namespace fx = flextra;
+
+bool isExtraKind (EffectKind k)
+{
+    return k == EffectKind::bigClock || k == EffectKind::tuner || k == EffectKind::htmlNotebook;
+}
+
+VisualTarget slotTarget (AudioEngine& engine, int track, int slot)
+{
+    VisualTarget t;
+    t.engine = &engine;
+    t.track = track;
+    t.slot = slot;
+    t.locate = [track, slot] (Song& song) -> EffectSlot* {
+        if (track < 0 || track >= (int) song.mixer.size() || slot < 0 || slot >= (int) song.mixer[(std::size_t) track].effects.size())
+            return nullptr;
+        auto& e = song.mixer[(std::size_t) track].effects[(std::size_t) slot];
+        return isExtraKind (e.kind) ? &e : nullptr;
+    };
+    t.running = [&engine, track, slot] { return engine.getEffect (track, slot); };
+    t.runningIn = [track, slot] (AudioEngine& e) { return e.getEffect (track, slot); };
+    return t;
+}
+
+// ------------------------------------------------------------------------------------------------------------
+// A knob bound to one of the slot's parameters (LYNX's control contract; automatable on a mixer slot)
+// ------------------------------------------------------------------------------------------------------------
+class Knob final : public juce::Component
+{
+public:
+    Knob (const VisualTarget& t, EffectKind k, int p) : target (t), param (p)
+    {
+        const auto& info = effectInfo (k);
+        spec.name = tr (juce::String (info.params[(std::size_t) param].name));
+        spec.defaultValue = info.params[(std::size_t) param].defaultValue;
+        spec.toText = [k, p] (double v) { return tr (juce::String (formatEffectParam (k, p, (float) v, 120.0))); };
+        spec.fromText = ui::inverseOf (spec.toText, 0.0, 1.0);
+        if (target.track >= 0)
+            spec.target = AutomationTarget { AutomationTargetKind::effectParam, target.track, target.slot, param };
+        setRepaintsOnMouseActivity (true);
+        ui::setHint (*this, spec.name, true, spec.target.has_value());
+    }
+
+    double value() const
+    {
+        const auto* e = target.current();
+        return e != nullptr ? (double) e->params[(std::size_t) param] : spec.defaultValue;
+    }
+
+    void set (double v)
+    {
+        target.edit ([p = param, v] (EffectSlot& e) { e.params[(std::size_t) p] = (float) juce::jlimit (0.0, 1.0, v); });
+        repaint();
+        if (auto* parent = getParentComponent())
+            parent->repaint();
+    }
+
+    void paint (juce::Graphics& g) override
+    {
+        auto area = getLocalBounds().toFloat();
+        const auto label = area.removeFromBottom (13.0f);
+        const auto valueArea = area.removeFromBottom (13.0f);
+        const auto size = juce::jmin (area.getWidth(), area.getHeight());
+        skin::KnobLook look;
+        look.value = (float) value();
+        look.accent = theme::colour::accent;
+        look.hover = isMouseOverOrDragging() ? 1.0f : 0.0f;
+        look.active = drag.isActive();
+        skin::knob (g, juce::Rectangle<float> (size, size).withCentre (area.getCentre()), look);
+        g.setFont (theme::font (theme::type::caption));
+        g.setColour (skin::valueColour (isMouseOverOrDragging()));
+        g.drawText (spec.text (value()), valueArea, juce::Justification::centred);
+        g.setColour (skin::captionColour());
+        g.drawText (spec.name, label, juce::Justification::centred);
+    }
+
+    void mouseDown (const juce::MouseEvent& e) override
+    {
+        if (e.mods.isPopupMenu())
+        {
+            ui::showValueMenu (*this, target.track >= 0 ? target.engine : nullptr, spec, value(), [this] (double v) { set (v); });
+            return;
+        }
+        if (ui::isResetClick (e))
+        {
+            set (spec.defaultValue);
+            return;
+        }
+        drag.begin (e, value());
+    }
+
+    void mouseDrag (const juce::MouseEvent& e) override
+    {
+        if (! drag.isActive())
+            return;
+        set (drag.update (e, spec));
+        ui::showValueTip (*this, getLocalBounds(), spec.text (value()));
+    }
+
+    void mouseUp (const juce::MouseEvent&) override
+    {
+        drag.end();
+        ui::hideValueTip();
+    }
+
+    void mouseDoubleClick (const juce::MouseEvent&) override { set (spec.defaultValue); }
+
+    void mouseWheelMove (const juce::MouseEvent& e, const juce::MouseWheelDetails& wheel) override
+    {
+        if (const auto v = ui::wheelValue (value(), e, wheel, spec))
+        {
+            set (*v);
+            ui::flashValueTip (*this, getLocalBounds(), spec.text (value()));
+        }
+    }
+
+private:
+    VisualTarget target;
+    int param;
+    ui::ValueSpec spec;
+    ui::ValueDrag drag;
+};
+
+// two-state switch bound to a parameter (0 / 1), with the label of each state
+class Switch final : public juce::Component
+{
+public:
+    Switch (const VisualTarget& t, int p, juce::String offText, juce::String onText, juce::String caption)
+        : target (t), param (p), off (std::move (offText)), on (std::move (onText)), name (std::move (caption))
+    {
+        setRepaintsOnMouseActivity (true);
+        ui::setHint (*this, name + ": " + off + " / " + on);
+    }
+
+    bool state() const
+    {
+        const auto* e = target.current();
+        return e != nullptr && e->params[(std::size_t) param] >= 0.5f;
+    }
+
+    void paint (juce::Graphics& g) override
+    {
+        auto area = getLocalBounds().toFloat();
+        const auto caption = area.removeFromBottom (13.0f);
+        auto box = area.reduced (2.0f, 4.0f);
+        const auto half = box.getWidth() / 2.0f;
+        const auto s = state();
+        skin::button (g, box.withWidth (half), ! s, isMouseOver(), theme::colour::accent);
+        skin::button (g, box.withTrimmedLeft (half), s, isMouseOver(), theme::colour::accent);
+        g.setFont (theme::font (theme::type::small, true));
+        g.setColour (! s ? theme::colour::textPrimary : theme::colour::textSecondary);
+        g.drawFittedText (off, box.withWidth (half).toNearestInt(), juce::Justification::centred, 1);
+        g.setColour (s ? theme::colour::textPrimary : theme::colour::textSecondary);
+        g.drawFittedText (on, box.withTrimmedLeft (half).toNearestInt(), juce::Justification::centred, 1);
+        g.setFont (theme::font (theme::type::caption));
+        g.setColour (skin::captionColour());
+        g.drawText (name, caption, juce::Justification::centred);
+    }
+
+    void mouseUp (const juce::MouseEvent& e) override
+    {
+        if (! getLocalBounds().contains (e.getPosition()))
+            return;
+        const auto v = e.position.x >= (float) getWidth() / 2.0f ? 1.0f : 0.0f;
+        target.edit ([p = param, v] (EffectSlot& s) { s.params[(std::size_t) p] = v; });
+        if (auto* parent = getParentComponent())
+            parent->repaint();
+    }
+
+private:
+    VisualTarget target;
+    int param;
+    juce::String off, on, name;
+};
+
+// ------------------------------------------------------------------------------------------------------------
+// Fruity Big Clock
+// ------------------------------------------------------------------------------------------------------------
+class BigClockEditor final : public juce::Component, private juce::Timer
+{
+public:
+    BigClockEditor (const VisualTarget& t, bool demoMode) : target (t), demo (demoMode)
+    {
+        setSize (420, 150);
+        ui::setHint (*this, tr ("Song position") + "  " + tr ("[RMB] display: Bar:Beat:Tick, Min:Sec:Hundredths or Bar:Step:Tick"));
+        if (! demo)
+            startTimerHz (30);
+        refresh();
+    }
+
+    void setDemoTicks (double ticks)
+    {
+        demoTicks = ticks;
+        refresh();
+    }
+
+    fx::bigclock::Display display() const
+    {
+        const auto* e = target.current();
+        return fx::bigclock::displayOf (e != nullptr ? e->params[fx::bigclock::display] : 0.0f);
+    }
+
+    void paint (juce::Graphics& g) override
+    {
+        const auto area = getLocalBounds().toFloat();
+        g.setColour (theme::colour::bg0);
+        g.fillRect (area);
+        auto inner = area.reduced (8.0f);
+        g.setColour (theme::colour::bg1);
+        g.fillRoundedRectangle (inner, theme::radius::lg);
+        g.setColour (theme::colour::border);
+        g.drawRoundedRectangle (inner.reduced (0.5f), theme::radius::lg, 1.0f);
+
+        const auto captionArea = inner.removeFromBottom (juce::jmax (14.0f, inner.getHeight() * 0.14f));
+        const auto digits = inner.reduced (10.0f, 4.0f);
+        // the biggest monospaced size that fits the box (the digits never jump while they change)
+        const auto chars = (float) juce::jmax (8, shown.length());
+        const auto size = juce::jmin (digits.getHeight() * 0.92f, digits.getWidth() / (chars * 0.62f));
+        g.setFont (theme::monoFont (size).withStyle ("Bold"));
+        g.setColour (theme::colour::textPrimary);
+        g.drawText (shown, digits, juce::Justification::centred, false);
+
+        g.setFont (theme::font (juce::jmin (13.0f, captionArea.getHeight() * 0.8f)));
+        g.setColour (theme::colour::textDisabled);
+        g.drawText (tr (fx::bigclock::displayName (display())).toUpperCase(), captionArea, juce::Justification::centred, false);
+    }
+
+    void mouseUp (const juce::MouseEvent& e) override
+    {
+        if (! getLocalBounds().contains (e.getPosition()))
+            return;
+        if (! e.mods.isPopupMenu())
+        {
+            // a click steps to the next display, as FL's clock does
+            setDisplay ((fx::bigclock::Display) (((int) display() + 1) % fx::bigclock::displays));
+            return;
+        }
+        juce::PopupMenu m;
+        for (int d = 0; d < fx::bigclock::displays; ++d)
+            m.addItem (d + 1, tr (fx::bigclock::displayName ((fx::bigclock::Display) d)), true, (int) display() == d);
+        m.showMenuAsync (juce::PopupMenu::Options().withTargetComponent (this).withMousePosition(), [safe = juce::Component::SafePointer (this)] (int r) {
+            if (safe != nullptr && r > 0)
+                safe->setDisplay ((fx::bigclock::Display) (r - 1));
+        });
+    }
+
+private:
+    void setDisplay (fx::bigclock::Display d)
+    {
+        target.edit ([d] (EffectSlot& s) { s.params[fx::bigclock::display] = fx::bigclock::displayValue (d); });
+        refresh();
+    }
+
+    void timerCallback() override { refresh(); }
+
+    void refresh()
+    {
+        if (target.engine == nullptr)
+            return;
+        const auto& song = target.engine->getSong();
+        double ticks = demoTicks;
+        if (! demo)
+        {
+            const auto length = (double) juce::jmax<std::int64_t> (1, song.mode == PlayMode::song ? song.songLength() : (std::int64_t) ppq * 4 * 1000);
+            ticks = std::fmod (juce::jmax (0.0, target.engine->getTransport().positionTicks.load()), length);
+        }
+        const auto text = juce::String (fx::bigclock::clockText (song, ticks, target.engine->getTransport().beatsPerBar.load(), display()));
+        if (text != shown || display() != shownDisplay)
+        {
+            shown = text;
+            shownDisplay = display();
+            repaint();
+        }
+    }
+
+    VisualTarget target;
+    bool demo;
+    double demoTicks = 0.0;
+    juce::String shown;
+    fx::bigclock::Display shownDisplay = fx::bigclock::Display::barBeatTick;
+};
+
+// ------------------------------------------------------------------------------------------------------------
+// Tuner
+// ------------------------------------------------------------------------------------------------------------
+class TunerEditor final : public juce::Component, private juce::Timer
+{
+public:
+    TunerEditor (const VisualTarget& t, bool demoMode)
+        : target (t), demo (demoMode), reference (t, EffectKind::tuner, fx::tuner::reference),
+          reactivity (t, EffectKind::tuner, fx::tuner::reactivity),
+          bass (t, fx::tuner::bass, tr ("Off"), tr ("On"), tr ("Bass")),
+          visual (t, fx::tuner::visual, tr ("Basic"), tr ("Dial"), tr ("Visual"))
+    {
+        for (auto* c : std::initializer_list<juce::Component*> { &reference, &reactivity, &bass, &visual })
+            addAndMakeVisible (*c);
+        setSize (360, 330);
+        analyzer.prepare (48000.0);
+        if (demo)
+            feedDemo (442.3, 1.0);
+        else
+            startTimerHz (30);
+    }
+
+    // a test tone straight into the analyser (snapshots)
+    void feedDemo (double hz, double seconds)
+    {
+        applyOptions();
+        analyzer.prepare (48000.0);
+        applyOptions();
+        std::vector<float> block (480);
+        double phase = 0.0;
+        for (int b = 0; b < (int) (seconds * 100.0); ++b)
+        {
+            for (auto& x : block)
+            {
+                x = (float) (0.4 * std::sin (phase) + 0.15 * std::sin (2.0 * phase) + 0.08 * std::sin (3.0 * phase));
+                phase += 2.0 * juce::MathConstants<double>::pi * hz / 48000.0;
+            }
+            analyzer.push (block.data(), (int) block.size());
+        }
+        reading = analyzer.reading();
+        repaint();
+    }
+
+    void resized() override
+    {
+        auto area = getLocalBounds().reduced (8);
+        auto controls = area.removeFromBottom (78);
+        const auto w = controls.getWidth() / 4;
+        reference.setBounds (controls.removeFromLeft (w).reduced (4, 0));
+        reactivity.setBounds (controls.removeFromLeft (w).reduced (4, 0));
+        bass.setBounds (controls.removeFromLeft (w).reduced (4, 20).withTrimmedTop (-20));
+        visual.setBounds (controls.reduced (4, 20).withTrimmedTop (-20));
+        display = area.toFloat().withTrimmedBottom (6.0f);
+    }
+
+    void paint (juce::Graphics& g) override
+    {
+        g.fillAll (theme::colour::bg2);
+        g.setColour (theme::colour::bg0);
+        g.fillRoundedRectangle (display, theme::radius::lg);
+        const auto* e = target.current();
+        const auto dial = e != nullptr && fx::tuner::visualOf (e->params[fx::tuner::visual]) == fx::tuner::Visual::dial;
+        if (dial)
+            paintDial (g, display.reduced (10.0f));
+        else
+            paintBasic (g, display.reduced (10.0f));
+    }
+
+private:
+    juce::Colour offsetColour (double cents) const
+    {
+        const auto a = std::abs (cents);
+        return a <= 3.0 ? theme::colour::ledOn : a <= 15.0 ? theme::colour::meterMid : theme::colour::accent;
+    }
+
+    void paintNote (juce::Graphics& g, juce::Rectangle<float> area, float size) const
+    {
+        const auto name = reading.valid ? juce::String (fx::tuner::noteName (reading.note)) : juce::String ("-");
+        const auto octave = reading.valid ? juce::String (fx::tuner::octaveOf (reading.note)) : juce::String();
+        g.setColour (reading.valid ? theme::colour::textPrimary : theme::colour::textDisabled);
+        g.setFont (theme::font (size, true));
+        const auto nameWidth = juce::GlyphArrangement::getStringWidth (juce::Font (theme::font (size, true)), name);
+        const auto octaveSize = size * 0.45f;
+        const auto octaveWidth = octave.isEmpty() ? 0.0f : juce::GlyphArrangement::getStringWidth (juce::Font (theme::font (octaveSize, true)), octave);
+        const auto x = area.getCentreX() - (nameWidth + octaveWidth) / 2.0f;
+        g.drawText (name, juce::Rectangle<float> (x, area.getY(), nameWidth + 2.0f, area.getHeight()), juce::Justification::centredLeft, false);
+        if (octave.isNotEmpty())
+        {
+            g.setFont (theme::font (octaveSize, true));
+            g.setColour (theme::colour::textSecondary);
+            g.drawText (octave, juce::Rectangle<float> (x + nameWidth, area.getCentreY(), octaveWidth + 4.0f, size * 0.45f),
+                        juce::Justification::centredLeft, false);
+        }
+    }
+
+    juce::String hzLine() const
+    {
+        if (! reading.valid)
+            return "0 Hz   +0 " + tr ("cent");
+        const auto c = (int) std::lround (reading.cents);
+        return juce::String (reading.hz, 1) + " Hz   " + (c >= 0 ? "+" : "") + juce::String (c) + " " + tr ("cent");
+    }
+
+    void paintBasic (juce::Graphics& g, juce::Rectangle<float> area) const
+    {
+        auto top = area.removeFromTop (area.getHeight() * 0.62f);
+        paintNote (g, top, juce::jmin (top.getHeight() * 0.8f, 96.0f));
+        g.setFont (theme::font (theme::type::body));
+        g.setColour (theme::colour::textSecondary);
+        g.drawText (hzLine(), area.removeFromTop (20.0f), juce::Justification::centred, false);
+
+        // the offset bar: −50 … +50 cents, the centre marked, a line at the detected offset
+        auto bar = area.reduced (14.0f, 8.0f).withSizeKeepingCentre (area.getWidth() - 28.0f, 18.0f);
+        g.setColour (theme::colour::bg3);
+        g.fillRoundedRectangle (bar, 3.0f);
+        g.setColour (theme::colour::borderStrong);
+        for (int c = -50; c <= 50; c += 10)
+        {
+            const auto x = bar.getX() + bar.getWidth() * (float) (c + 50) / 100.0f;
+            g.drawVerticalLine ((int) x, bar.getY() + (c == 0 ? 0.0f : 5.0f), bar.getBottom() - (c == 0 ? 0.0f : 5.0f));
+        }
+        if (reading.valid)
+        {
+            const auto x = bar.getX() + bar.getWidth() * (float) (reading.cents + 50.0) / 100.0f;
+            g.setColour (offsetColour (reading.cents));
+            g.fillRoundedRectangle (juce::Rectangle<float> (x - 2.0f, bar.getY() - 4.0f, 4.0f, bar.getHeight() + 8.0f), 2.0f);
+        }
+    }
+
+    void paintDial (juce::Graphics& g, juce::Rectangle<float> area) const
+    {
+        const auto size = juce::jmin (area.getWidth(), area.getHeight());
+        const auto face = juce::Rectangle<float> (size, size).withCentre (area.getCentre());
+        const auto c = face.getCentre();
+        const auto r = size / 2.0f;
+        g.setColour (theme::colour::bg1);
+        g.fillEllipse (face);
+        g.setColour (theme::colour::borderStrong);
+        g.drawEllipse (face.reduced (1.0f), 1.5f);
+        // cent ticks around the face: −50 … +50 over the full circle, 0 at the top; majors every 10 cents
+        for (int k = -50; k < 50; k += 2)
+        {
+            const auto angle = juce::MathConstants<float>::twoPi * (float) k / 100.0f;
+            const auto major = k % 10 == 0;
+            const auto r0 = r * (major ? 0.80f : 0.86f), r1 = r * 0.93f;
+            g.setColour (k == 0 ? theme::colour::ledOn : major ? theme::colour::textSecondary : theme::colour::textDisabled);
+            g.drawLine (c.x + r0 * std::sin (angle), c.y - r0 * std::cos (angle), c.x + r1 * std::sin (angle), c.y - r1 * std::cos (angle),
+                        major ? 2.0f : 1.0f);
+        }
+        if (reading.valid)
+        {
+            const auto angle = juce::MathConstants<float>::twoPi * (float) reading.cents / 100.0f;
+            const auto dot = juce::Point<float> (c.x + r * 0.87f * std::sin (angle), c.y - r * 0.87f * std::cos (angle));
+            g.setColour (offsetColour (reading.cents));
+            g.fillEllipse (juce::Rectangle<float> (r * 0.13f, r * 0.13f).withCentre (dot));
+            g.setColour (offsetColour (reading.cents).withAlpha (0.35f));
+            g.drawEllipse (face.reduced (r * 0.24f), 3.0f);
+        }
+        paintNote (g, juce::Rectangle<float> (r * 1.2f, r * 0.7f).withCentre (c.translated (0.0f, -r * 0.08f)), r * 0.55f);
+        g.setFont (theme::font (juce::jmin (13.0f, r * 0.12f)));
+        g.setColour (theme::colour::textSecondary);
+        g.drawText (hzLine(), juce::Rectangle<float> (r * 1.4f, r * 0.16f).withCentre (c.translated (0.0f, r * 0.42f)), juce::Justification::centred, false);
+    }
+
+    void applyOptions()
+    {
+        const auto* e = target.current();
+        const auto ref = e != nullptr ? fx::tuner::referenceHz (e->params[fx::tuner::reference]) : 440.0;
+        const auto react = e != nullptr ? e->params[fx::tuner::reactivity] : 1.0f;
+        const auto b = e != nullptr && fx::tuner::bassOn (e->params[fx::tuner::bass]);
+        analyzer.setOptions (ref, react, b);
+    }
+
+    void timerCallback() override
+    {
+        if (! isShowing())
+            return;
+        applyOptions();
+        auto running = target.running ? target.running() : nullptr;
+        auto* tap = running != nullptr ? visualfx::tapOf (running.get()) : nullptr;
+        if (tap == nullptr)
+            return;
+        const auto rate = tap->sampleRate.load();
+        if (rate != preparedRate)
+        {
+            analyzer.prepare (rate);
+            applyOptions();
+            preparedRate = rate;
+            lastRead = tap->written();
+        }
+        const auto written = tap->written();
+        const auto fresh = (int) juce::jmin<std::uint64_t> (written - lastRead, (std::uint64_t) visualfx::tapSize / 2);
+        lastRead = written;
+        if (fresh > 0)
+        {
+            left.resize ((std::size_t) fresh);
+            right.resize ((std::size_t) fresh);
+            tap->read (left.data(), right.data(), fresh);
+            for (int i = 0; i < fresh; ++i)
+                left[(std::size_t) i] = 0.5f * (left[(std::size_t) i] + right[(std::size_t) i]);
+            analyzer.push (left.data(), fresh);
+        }
+        const auto next = analyzer.reading();
+        if (next.valid != reading.valid || next.note != reading.note || std::abs (next.cents - reading.cents) > 0.2
+            || std::abs (next.hz - reading.hz) > 0.05)
+        {
+            reading = next;
+            repaint (display.toNearestInt());
+        }
+    }
+
+    VisualTarget target;
+    bool demo;
+    Knob reference, reactivity;
+    Switch bass, visual;
+    juce::Rectangle<float> display;
+    fx::tuner::Analyzer analyzer;
+    fx::tuner::Reading reading;
+    double preparedRate = 0.0;
+    std::uint64_t lastRead = 0;
+    std::vector<float> left, right;
+};
+
+// ------------------------------------------------------------------------------------------------------------
+// Fruity HTML NoteBook
+// ------------------------------------------------------------------------------------------------------------
+class PageView final : public juce::Component
+{
+public:
+    std::function<void (const std::string& link)> onLink;
+
+    void setPage (const fx::htmlnotebook::Page& p, const juce::String& message)
+    {
+        page = p;
+        note = message;
+        layoutFor (getWidth());
+    }
+
+    void layoutFor (int width)
+    {
+        width = juce::jmax (120, width);
+        layouts.clear();
+        float y = 10.0f;
+        const auto textWidth = (float) width - 24.0f;
+        if (note.isNotEmpty())
+        {
+            juce::AttributedString s;
+            s.append (note, juce::Font (theme::font (theme::type::body)), theme::colour::textSecondary);
+            s.setWordWrap (juce::AttributedString::byWord);
+            Laid laid;
+            laid.layout.createLayout (s, textWidth);
+            laid.y = y;
+            y += laid.layout.getHeight() + 10.0f;
+            layouts.push_back (std::move (laid));
+        }
+        for (const auto& block : page.blocks)
+        {
+            Laid laid;
+            laid.kind = block.kind;
+            laid.y = y;
+            if (block.kind == fx::htmlnotebook::Block::Kind::rule)
+            {
+                y += 14.0f;
+                layouts.push_back (std::move (laid));
+                continue;
+            }
+            const auto size = block.kind == fx::htmlnotebook::Block::Kind::heading1   ? 22.0f
+                              : block.kind == fx::htmlnotebook::Block::Kind::heading2 ? 18.0f
+                              : block.kind == fx::htmlnotebook::Block::Kind::heading3 ? 15.0f
+                                                                                       : 13.0f;
+            const auto heading = size > 13.0f;
+            const auto mono = block.kind == fx::htmlnotebook::Block::Kind::preformatted;
+            const auto indent = block.kind == fx::htmlnotebook::Block::Kind::listItem ? 16.0f : 0.0f;
+            juce::AttributedString s;
+            s.setWordWrap (mono ? juce::AttributedString::none : juce::AttributedString::byWord);
+            for (const auto& run : block.runs)
+            {
+                auto font = juce::Font (mono ? theme::monoFont (size) : theme::font (size, heading || run.bold));
+                if (run.italic)
+                    font = font.italicised();
+                const auto start = s.getText().length();
+                const auto text = juce::String::fromUTF8 (run.text.c_str());
+                s.append (text, font, run.link.empty() ? (heading ? theme::colour::textPrimary : theme::colour::textSecondary) : theme::colour::info);
+                if (! run.link.empty())
+                    laid.links.push_back ({ start, start + text.length(), run.link });
+            }
+            laid.indent = indent;
+            laid.layout.createLayout (s, textWidth - indent);
+            y += laid.layout.getHeight() + (heading ? 10.0f : 7.0f);
+            layouts.push_back (std::move (laid));
+        }
+        setSize (width, (int) std::ceil (y + 10.0f));
+        repaint();
+    }
+
+    void paint (juce::Graphics& g) override
+    {
+        g.fillAll (theme::colour::bg0);
+        for (const auto& l : layouts)
+        {
+            if (l.kind == fx::htmlnotebook::Block::Kind::rule)
+            {
+                g.setColour (theme::colour::border);
+                g.drawHorizontalLine ((int) l.y + 6, 12.0f, (float) getWidth() - 12.0f);
+                continue;
+            }
+            if (l.kind == fx::htmlnotebook::Block::Kind::listItem)
+            {
+                g.setColour (theme::colour::textDisabled);
+                g.fillEllipse (16.0f, l.y + 6.0f, 4.0f, 4.0f);
+            }
+            l.layout.draw (g, juce::Rectangle<float> (12.0f + l.indent, l.y, (float) getWidth() - 24.0f - l.indent, l.layout.getHeight()));
+        }
+    }
+
+    void mouseMove (const juce::MouseEvent& e) override
+    {
+        setMouseCursor (linkAt (e.position).empty() ? juce::MouseCursor::NormalCursor : juce::MouseCursor::PointingHandCursor);
+    }
+
+    void mouseUp (const juce::MouseEvent& e) override
+    {
+        if (const auto link = linkAt (e.position); ! link.empty() && onLink)
+            onLink (link);
+    }
+
+private:
+    struct LinkRange
+    {
+        int from, to;
+        std::string target;
+    };
+    struct Laid
+    {
+        juce::TextLayout layout;
+        float y = 0.0f, indent = 0.0f;
+        fx::htmlnotebook::Block::Kind kind = fx::htmlnotebook::Block::Kind::paragraph;
+        std::vector<LinkRange> links;
+    };
+
+    std::string linkAt (juce::Point<float> p) const
+    {
+        for (const auto& l : layouts)
+        {
+            if (l.links.empty() || p.y < l.y || p.y > l.y + l.layout.getHeight())
+                continue;
+            const auto local = p - juce::Point<float> (12.0f + l.indent, l.y);
+            for (int li = 0; li < l.layout.getNumLines(); ++li)
+            {
+                const auto& line = l.layout.getLine (li);
+                for (const auto* run : line.runs)
+                {
+                    if (run == nullptr)
+                        continue;
+                    const auto range = run->getRunBoundsX();
+                    const auto lineTop = line.leading + line.lineOrigin.y - line.ascent;
+                    if (local.x < line.lineOrigin.x + range.getStart() || local.x > line.lineOrigin.x + range.getEnd() || local.y < lineTop
+                        || local.y > lineTop + line.ascent + line.descent)
+                        continue;
+                    for (const auto& link : l.links)
+                        if (run->stringRange.getStart() < link.to && run->stringRange.getEnd() > link.from)
+                            return link.target;
+                }
+            }
+        }
+        return {};
+    }
+
+    fx::htmlnotebook::Page page;
+    juce::String note;
+    std::vector<Laid> layouts;
+};
+
+class HtmlNotebookEditor final : public juce::Component
+{
+public:
+    explicit HtmlNotebookEditor (const VisualTarget& t) : target (t)
+    {
+        addAndMakeVisible (addressBox);
+        addressBox.setFont (juce::Font (theme::font (theme::type::body)));
+        addressBox.setColour (juce::TextEditor::backgroundColourId, theme::colour::bg0);
+        addressBox.setColour (juce::TextEditor::textColourId, theme::colour::textPrimary);
+        addressBox.setColour (juce::TextEditor::outlineColourId, theme::colour::borderStrong);
+        addressBox.setTextToShowWhenEmpty (tr ("Page: a .html file or a web address"), theme::colour::textDisabled);
+        addressBox.onReturnKey = [this] { setAddress (addressBox.getText().trim().toStdString()); };
+        addressBox.onFocusLost = [this] {
+            if (addressBox.getText().trim().toStdString() != current())
+                setAddress (addressBox.getText().trim().toStdString());
+        };
+        for (auto* b : { &browse, &openButton, &reload })
+            addAndMakeVisible (*b);
+        browse.setTooltip (tr ("Choose the .html page to show"));
+        openButton.setTooltip (tr ("Open the page in your web browser"));
+        reload.setTooltip (tr ("Read the page again"));
+        browse.onClick = [this] { choose(); };
+        openButton.onClick = [this] { openInBrowser (current()); };
+        reload.onClick = [this] { show(); };
+        viewport.setViewedComponent (&view, false);
+        viewport.setScrollBarsShown (true, false);
+        addAndMakeVisible (viewport);
+        view.onLink = [this] (const std::string& link) { follow (link); };
+        setSize (560, 460);
+        show();
+    }
+
+    void resized() override
+    {
+        auto area = getLocalBounds().reduced (6);
+        auto bar = area.removeFromTop (26);
+        reload.setBounds (bar.removeFromRight (64));
+        bar.removeFromRight (4);
+        openButton.setBounds (bar.removeFromRight (110));
+        bar.removeFromRight (4);
+        browse.setBounds (bar.removeFromLeft (80));
+        bar.removeFromLeft (4);
+        addressBox.setBounds (bar);
+        area.removeFromTop (6);
+        viewport.setBounds (area);
+        view.layoutFor (viewport.getMaximumVisibleWidth());
+    }
+
+    void paint (juce::Graphics& g) override { g.fillAll (theme::colour::bg2); }
+
+private:
+    std::string current() const
+    {
+        const auto* e = target.current();
+        return e != nullptr ? fx::htmlnotebook::address (e->state) : std::string();
+    }
+
+    void setAddress (const std::string& a)
+    {
+        target.edit ([a] (EffectSlot& s) { s.state = fx::htmlnotebook::stateFor (a); });
+        show();
+    }
+
+    void choose()
+    {
+        const auto start = juce::File::isAbsolutePath (juce::String::fromUTF8 (current().c_str())) ? juce::File (juce::String::fromUTF8 (current().c_str()))
+                                                                                                    : juce::File::getSpecialLocation (juce::File::userDocumentsDirectory);
+        chooser = std::make_unique<juce::FileChooser> (tr ("Choose the .html page to show"), start, "*.html;*.htm");
+        chooser->launchAsync (juce::FileBrowserComponent::openMode | juce::FileBrowserComponent::canSelectFiles,
+                              [safe = juce::Component::SafePointer (this)] (const juce::FileChooser& c) {
+                                  if (safe != nullptr && c.getResult() != juce::File())
+                                      safe->setAddress (c.getResult().getFullPathName().toStdString());
+                              });
+    }
+
+    static void openInBrowser (const std::string& a)
+    {
+        if (a.empty())
+            return;
+        const auto text = juce::String::fromUTF8 (a.c_str());
+        if (fx::htmlnotebook::isWebAddress (a))
+            juce::URL (text.startsWithIgnoreCase ("www.") ? "https://" + text : text).launchInDefaultBrowser();
+        else
+            juce::File (text).startAsProcess();
+    }
+
+    void follow (const std::string& link)
+    {
+        const auto text = juce::String::fromUTF8 (link.c_str());
+        if (fx::htmlnotebook::isWebAddress (link) || text.startsWithIgnoreCase ("mailto:"))
+        {
+            openInBrowser (link);
+            return;
+        }
+        if (text.startsWithChar ('#'))
+            return;
+        // a local page: relative to the shown one, opened in place
+        const auto base = juce::File (juce::String::fromUTF8 (current().c_str()));
+        const auto file = base.getParentDirectory().getChildFile (text.upToFirstOccurrenceOf ("#", false, false));
+        if (file.existsAsFile() && (file.hasFileExtension ("html") || file.hasFileExtension ("htm")))
+            setAddress (file.getFullPathName().toStdString());
+        else if (file.existsAsFile())
+            file.startAsProcess();
+    }
+
+    void show()
+    {
+        const auto a = current();
+        addressBox.setText (juce::String::fromUTF8 (a.c_str()), false);
+        openButton.setEnabled (! a.empty());
+        fx::htmlnotebook::Page page;
+        juce::String note;
+        if (a.empty())
+            note = tr ("No page. Choose a .html file with Browse, or type a web address and press Enter.");
+        else if (fx::htmlnotebook::isWebAddress (a))
+            note = tr ("A web page: LYNX does not load web pages itself. Use \"Open in browser\".");
+        else
+        {
+            const juce::File file (juce::String::fromUTF8 (a.c_str()));
+            if (! file.existsAsFile())
+                note = tr ("The page was not found: {0}", { file.getFullPathName() });
+            else
+            {
+                page = fx::htmlnotebook::parse (file.loadFileAsString().toStdString());
+                if (page.blocks.empty())
+                    note = tr ("The page has no text to show.");
+            }
+        }
+        view.setPage (page, note);
+        view.layoutFor (viewport.getMaximumVisibleWidth());
+    }
+
+    VisualTarget target;
+    juce::TextEditor addressBox;
+    juce::TextButton browse { tr ("Browse") }, openButton { tr ("Open in browser") }, reload { tr ("Reload") };
+    juce::Viewport viewport;
+    PageView view;
+    std::unique_ptr<juce::FileChooser> chooser;
+};
+
+// ------------------------------------------------------------------------------------------------------------
+// Windows
+// ------------------------------------------------------------------------------------------------------------
+class ExtraWindow final : public juce::DocumentWindow
+{
+public:
+    ExtraWindow (const VisualTarget& target, EffectKind kind, const juce::String& title)
+        : DocumentWindow (title, theme::colour::bg2, DocumentWindow::closeButton)
+    {
+        setUsingNativeTitleBar (true);
+        setContentOwned (makeFlExtraEditor (target, kind, false).release(), true);
+        setResizable (true, false);
+        if (kind == EffectKind::bigClock)
+            setResizeLimits (200, 80, 3000, 1200);
+        else if (kind == EffectKind::tuner)
+            setResizeLimits (300, 300, 1200, 1200);
+        else
+            setResizeLimits (360, 240, 3000, 2400);
+        centreWithSize (getWidth(), getHeight());
+        setVisible (true);
+        keepAboveMainWindow (*this);
+        if (target.track >= 0 && target.engine != nullptr)
+            gone = std::make_unique<ui::SlotGoneWatcher> (*target.engine, target.track, target.slot, [this] { closeButtonPressed(); });
+    }
+
+    void closeButtonPressed() override;
+
+private:
+    std::unique_ptr<ui::SlotGoneWatcher> gone;
+};
+
+std::map<juce::String, std::unique_ptr<ExtraWindow>>& extraWindows()
+{
+    static std::map<juce::String, std::unique_ptr<ExtraWindow>> open;
+    return open;
+}
+
+void ExtraWindow::closeButtonPressed()
+{
+    for (auto& [key, window] : extraWindows())
+        if (window.get() == this)
+        {
+            juce::MessageManager::callAsync ([k = key] { extraWindows().erase (k); });
+            return;
+        }
+}
+
+void openWindow (const VisualTarget& target, EffectKind kind, const juce::String& title, const juce::String& key)
+{
+    auto& open = extraWindows();
+    if (auto it = open.find (key); it != open.end())
+    {
+        it->second->toFront (true);
+        return;
+    }
+    open[key] = std::make_unique<ExtraWindow> (target, kind, title);
+}
+} // namespace
+
+std::unique_ptr<juce::Component> makeFlExtraEditor (const VisualTarget& target, EffectKind kind, bool demo)
+{
+    switch (kind)
+    {
+        case EffectKind::bigClock: return std::make_unique<BigClockEditor> (target, demo);
+        case EffectKind::tuner: return std::make_unique<TunerEditor> (target, demo);
+        default: return std::make_unique<HtmlNotebookEditor> (target);
+    }
+}
+
+namespace FlExtraWindows
+{
+bool handles (EffectKind kind)
+{
+    return isExtraKind (kind);
+}
+
+void open (AudioEngine& engine, int track, int slot)
+{
+    const auto& mixer = engine.getSong().mixer;
+    if (track < 0 || track >= (int) mixer.size() || slot < 0 || slot >= (int) mixer[(std::size_t) track].effects.size())
+        return;
+    const auto kind = mixer[(std::size_t) track].effects[(std::size_t) slot].kind;
+    if (! isExtraKind (kind))
+        return;
+    const auto name = track == 0 ? tr ("Master") : juce::String::fromUTF8 (mixer[(std::size_t) track].name.c_str());
+    const auto title = juce::String (effectInfo (kind).name) + " - " + (name.isNotEmpty() ? name : tr ("Insert {0}", { juce::String (track) })) + " ("
+                       + tr ("slot {0}", { juce::String (slot + 1) }) + ")";
+    openWindow (slotTarget (engine, track, slot), kind, title, "mixer-" + juce::String (track) + "-" + juce::String (slot) + "-" + juce::String ((int) kind));
+}
+
+void openNode (const VisualTarget& target, const juce::String& title, const juce::String& key)
+{
+    if (const auto* e = target.current(); e != nullptr && isExtraKind (e->kind))
+        openWindow (target, e->kind, title, key);
+}
+
+void closeAll()
+{
+    extraWindows().clear();
+}
+} // namespace FlExtraWindows
+
+// ------------------------------------------------------------------------------------------------------------
+// --flextrashot
+// ------------------------------------------------------------------------------------------------------------
+bool runFlExtraShots (AudioEngine& engine, const juce::File& folder)
+{
+    folder.createDirectory();
+    juce::String report;
+    bool ok = true;
+    auto save = [&] (juce::Component& c, const juce::String& name) {
+        const auto image = c.createComponentSnapshot (c.getLocalBounds(), true, 1.0f);
+        const auto file = folder.getChildFile (name + ".png");
+        file.deleteFile();
+        juce::FileOutputStream out (file);
+        juce::PNGImageFormat png;
+        const auto written = out.openedOk() && png.writeImageToStream (image, out);
+        ok = ok && written;
+        report << name << (written ? " ok\n" : " FAILED\n");
+    };
+    auto setSlot = [&] (EffectSlot fx) {
+        Song song;
+        song.mixer.resize (2);
+        song.mixer[0].name = "Master";
+        song.mixer[1].name = "Insert 1";
+        song.bpm = 130.0;
+        song.mixer[1].effects.push_back (std::move (fx));
+        engine.setSong (std::move (song));
+        engine.dispatchPendingMessages();
+    };
+
+    // Big Clock: the three displays at bar 12, beat 3, step 2 + 17 ticks (song mode)
+    for (int d = 0; d < flextra::bigclock::displays; ++d)
+    {
+        auto e = makeEffectSlot (EffectKind::bigClock);
+        e.params[flextra::bigclock::display] = flextra::bigclock::displayValue ((flextra::bigclock::Display) d);
+        setSlot (e);
+        BigClockEditor editor (slotTarget (engine, 1, 0), true);
+        editor.setSize (420, 150);
+        editor.setDemoTicks (11.0 * 4 * ppq + 2.0 * ppq + 1.0 * ticksPerStep + 170.0);
+        save (editor, "bigclock-" + juce::String (d));
+    }
+    // Tuner: Basic and Dial on a 442.3 Hz tone (A4 +9 cents), and Dial on 82.0 Hz with Bass (E2 −17 cents)
+    for (const auto& [name, vis, hz, bass] : std::vector<std::tuple<juce::String, float, double, float>> {
+             { "tuner-basic", 0.0f, 442.3, 0.0f }, { "tuner-dial", 1.0f, 442.3, 0.0f }, { "tuner-dial-bass-e2", 1.0f, 81.6, 1.0f } })
+    {
+        auto e = makeEffectSlot (EffectKind::tuner);
+        e.params[flextra::tuner::visual] = vis;
+        e.params[flextra::tuner::bass] = bass;
+        setSlot (e);
+        TunerEditor editor (slotTarget (engine, 1, 0), true);
+        editor.setSize (360, 330);
+        editor.feedDemo (hz, 1.5);
+        save (editor, name);
+    }
+    // HTML NoteBook: FL's own default page when installed, else a built-in sample page
+    {
+        auto page = juce::File ("C:\\Program Files\\Image-Line\\FL Studio 2026\\Plugins\\Fruity\\Effects\\Fruity HTML NoteBook\\DefaultHtml.html");
+        if (! page.existsAsFile())
+        {
+            page = folder.getChildFile ("sample-page.html");
+            page.replaceWithText ("<html><head><title>Notes</title></head><body><h1>Session notes</h1><p>Lead vocal: <b>take 3</b>, "
+                                  "comp the chorus from <i>take 5</i>.</p><ul><li>Kick: tighten the low end</li><li>Bass: sidechain to the "
+                                  "kick</li></ul><hr><p>Reference: <a href=\"https://example.com\">example.com</a></p></body></html>");
+        }
+        auto e = makeEffectSlot (EffectKind::htmlNotebook);
+        e.state = flextra::htmlnotebook::stateFor (page.getFullPathName().toStdString());
+        setSlot (e);
+        HtmlNotebookEditor editor (slotTarget (engine, 1, 0));
+        editor.setSize (560, 460);
+        save (editor, "htmlnotebook");
+        auto web = makeEffectSlot (EffectKind::htmlNotebook);
+        web.state = flextra::htmlnotebook::stateFor ("http://www.image-line.com/documents/news.php");
+        setSlot (web);
+        HtmlNotebookEditor webEditor (slotTarget (engine, 1, 0));
+        webEditor.setSize (560, 200);
+        save (webEditor, "htmlnotebook-web");
+    }
+    // Mute 2: the plugin layout editor
+    for (const auto& [name, mute, channel] : std::vector<std::tuple<juce::String, float, float>> { { "mute2-default", 1.0f, 1.0f / 3.0f },
+                                                                                                    { "mute2-muted-left", 0.0f, 0.0f } })
+    {
+        auto e = makeEffectSlot (EffectKind::fruityMute2);
+        e.params[flextra::mute2::mute] = mute;
+        e.params[flextra::mute2::channel] = channel;
+        setSlot (e);
+        if (auto editor = makeNativeEffectEditor (engine, 1, 0))
+            save (*editor, name);
+        else
+        {
+            ok = false;
+            report << name << " FAILED (no editor)\n";
+        }
+    }
+    folder.getChildFile ("report.txt").replaceWithText (report);
+    return ok;
+}
+} // namespace lynx

+ 37 - 0
src/ui/FlExtraEditors.h

@@ -0,0 +1,37 @@
+#pragma once
+
+// Editors of the FL plugins added in round 165g (docs/analise/REA_rodada165g.md, core/FlExtraFx.h):
+//  - Fruity Big Clock: the song position in big digits; right-click (or a click on the caption) picks the display.
+//  - Tuner: Basic (note, octave, frequency, offset bar) or Dial (a clock face in cents) over Reference, Reactivity, Bass
+//    and the Visual switch. It reads the slot's tap (core/VisualFx.h) on the UI thread, only while visible.
+//  - Fruity HTML NoteBook: the page's address (a local .html file or a web address), Browse, Open in browser, and the
+//    local page shown as formatted text (links open in the browser; local pages in place). LYNX never fetches web pages.
+// Fruity Mute 2 uses the plugin layout editor (core/PluginLayout.cpp).
+
+#include <memory>
+
+#include <juce_gui_basics/juce_gui_basics.h>
+
+#include "core/Song.h"
+#include "ui/VisualEditors.h"
+
+namespace lynx
+{
+class AudioEngine;
+
+namespace FlExtraWindows
+{
+bool handles (EffectKind kind); // bigClock, tuner, htmlNotebook
+void open (AudioEngine& engine, int track, int slot);
+void openNode (const VisualTarget& target, const juce::String& title, const juce::String& key); // a node in a Patcher
+void closeAll();
+} // namespace FlExtraWindows
+
+// The editor alone (snapshots): `demo` feeds the Tuner a built-in test tone and the clock a moving position
+std::unique_ptr<juce::Component> makeFlExtraEditor (const VisualTarget& target, EffectKind kind, bool demo = false);
+
+// LYNX.exe --flextrashot <folder>: PNGs of every editor of round 165g in its states (Big Clock's three displays, the Tuner's
+// Basic / Dial on test tones, the HTML NoteBook on FL's DefaultHtml.html or a built-in page, Mute 2's layout).
+// Writes report.txt; true when every picture was made.
+bool runFlExtraShots (AudioEngine& engine, const juce::File& folder);
+} // namespace lynx

+ 745 - 574
src/ui/I18nData.h

@@ -15458,581 +15458,752 @@ inline constexpr unsigned char ptBR[] = {
 73, 32, 195, 169, 32, 101, 115, 116, 97, 32, 112, 111, 114, 116, 97, 32, 40, 106, 97, 110, 101, 108, 97, 32,
 100, 111, 32, 112, 108, 117, 103, 105, 110, 32, 62, 32, 67, 111, 110, 102, 105, 103, 117, 114, 97, 195, 167, 195,
 181, 101, 115, 32, 62, 32, 77, 73, 68, 73, 32, 62, 32, 80, 111, 114, 116, 97, 32, 100, 101, 32, 101, 110,
-116, 114, 97, 100, 97, 41, 46, 34, 10, 10, 35, 32, 114, 111, 117, 110, 100, 32, 49, 54, 53, 101, 58, 32,
-116, 104, 101, 32, 86, 105, 115, 117, 97, 108, 105, 122, 101, 114, 39, 115, 32, 71, 80, 85, 32, 108, 97, 121,
-101, 114, 115, 44, 32, 76, 89, 78, 88, 32, 68, 97, 110, 99, 101, 10, 34, 84, 104, 101, 32, 86, 105, 115,
-117, 97, 108, 105, 122, 101, 114, 32, 119, 97, 115, 32, 100, 114, 97, 119, 105, 110, 103, 32, 119, 105, 116, 104,
-32, 116, 104, 101, 32, 71, 80, 85, 32, 40, 79, 112, 101, 110, 71, 76, 41, 32, 119, 104, 101, 110, 32, 105,
-116, 32, 104, 97, 112, 112, 101, 110, 101, 100, 46, 32, 73, 116, 32, 110, 111, 119, 32, 100, 114, 97, 119, 115,
-32, 119, 105, 116, 104, 111, 117, 116, 32, 116, 104, 101, 32, 71, 80, 85, 59, 32, 105, 116, 115, 32, 71, 80,
-85, 32, 98, 117, 116, 116, 111, 110, 32, 116, 117, 114, 110, 115, 32, 105, 116, 32, 98, 97, 99, 107, 32, 111,
-110, 46, 34, 32, 61, 32, 34, 79, 32, 86, 105, 115, 117, 97, 108, 105, 122, 101, 114, 32, 101, 115, 116, 97,
-118, 97, 32, 100, 101, 115, 101, 110, 104, 97, 110, 100, 111, 32, 99, 111, 109, 32, 97, 32, 71, 80, 85, 32,
-40, 79, 112, 101, 110, 71, 76, 41, 32, 113, 117, 97, 110, 100, 111, 32, 105, 115, 115, 111, 32, 97, 99, 111,
-110, 116, 101, 99, 101, 117, 46, 32, 65, 103, 111, 114, 97, 32, 101, 108, 101, 32, 100, 101, 115, 101, 110, 104,
-97, 32, 115, 101, 109, 32, 97, 32, 71, 80, 85, 59, 32, 111, 32, 98, 111, 116, 195, 163, 111, 32, 71, 80,
-85, 32, 100, 101, 108, 101, 32, 97, 32, 108, 105, 103, 97, 32, 100, 101, 32, 110, 111, 118, 111, 46, 34, 10,
-34, 68, 114, 97, 119, 32, 116, 104, 101, 32, 115, 99, 101, 110, 101, 32, 119, 105, 116, 104, 32, 116, 104, 101,
-32, 71, 80, 85, 32, 40, 79, 112, 101, 110, 71, 76, 41, 58, 32, 110, 101, 101, 100, 101, 100, 32, 98, 121,
-32, 116, 104, 101, 32, 115, 104, 97, 100, 101, 114, 32, 108, 97, 121, 101, 114, 115, 32, 40, 67, 97, 110, 118,
-97, 115, 44, 32, 84, 101, 114, 114, 97, 105, 110, 44, 32, 51, 68, 44, 32, 70, 101, 101, 100, 98, 97, 99,
-107, 44, 32, 80, 111, 115, 116, 45, 112, 114, 111, 99, 101, 115, 115, 41, 32, 97, 110, 100, 32, 98, 108, 101,
-110, 100, 32, 109, 111, 100, 101, 115, 46, 32, 79, 102, 102, 58, 32, 116, 104, 101, 32, 50, 68, 32, 114, 101,
-110, 100, 101, 114, 101, 114, 34, 32, 61, 32, 34, 68, 101, 115, 101, 110, 104, 97, 114, 32, 97, 32, 99, 101,
-110, 97, 32, 99, 111, 109, 32, 97, 32, 71, 80, 85, 32, 40, 79, 112, 101, 110, 71, 76, 41, 58, 32, 110,
-101, 99, 101, 115, 115, 195, 161, 114, 105, 111, 32, 112, 97, 114, 97, 32, 97, 115, 32, 99, 97, 109, 97, 100,
-97, 115, 32, 100, 101, 32, 115, 104, 97, 100, 101, 114, 32, 40, 67, 97, 110, 118, 97, 115, 44, 32, 84, 101,
-114, 114, 101, 110, 111, 44, 32, 51, 68, 44, 32, 70, 101, 101, 100, 98, 97, 99, 107, 44, 32, 80, 195, 179,
-115, 45, 112, 114, 111, 99, 101, 115, 115, 97, 109, 101, 110, 116, 111, 41, 32, 101, 32, 111, 115, 32, 109, 111,
-100, 111, 115, 32, 100, 101, 32, 109, 105, 115, 116, 117, 114, 97, 46, 32, 68, 101, 115, 108, 105, 103, 97, 100,
-111, 58, 32, 111, 32, 114, 101, 110, 100, 101, 114, 105, 122, 97, 100, 111, 114, 32, 50, 68, 34, 10, 34, 72,
-111, 119, 32, 116, 104, 101, 32, 108, 97, 121, 101, 114, 32, 109, 105, 120, 101, 115, 32, 119, 105, 116, 104, 32,
-116, 104, 101, 32, 111, 110, 101, 115, 32, 98, 101, 108, 111, 119, 32, 105, 116, 32, 40, 71, 80, 85, 41, 34,
-32, 61, 32, 34, 67, 111, 109, 111, 32, 97, 32, 99, 97, 109, 97, 100, 97, 32, 115, 101, 32, 109, 105, 115,
-116, 117, 114, 97, 32, 99, 111, 109, 32, 97, 115, 32, 100, 101, 32, 98, 97, 105, 120, 111, 32, 40, 71, 80,
-85, 41, 34, 10, 34, 66, 108, 101, 110, 100, 34, 32, 61, 32, 34, 77, 105, 115, 116, 117, 114, 97, 34, 10,
-34, 87, 105, 116, 104, 111, 117, 116, 32, 116, 104, 101, 32, 71, 80, 85, 32, 116, 104, 105, 115, 32, 108, 97,
-121, 101, 114, 32, 105, 115, 32, 100, 114, 97, 119, 110, 32, 115, 105, 109, 112, 108, 105, 102, 105, 101, 100, 46,
-34, 32, 61, 32, 34, 83, 101, 109, 32, 97, 32, 71, 80, 85, 32, 101, 115, 116, 97, 32, 99, 97, 109, 97,
-100, 97, 32, 195, 169, 32, 100, 101, 115, 101, 110, 104, 97, 100, 97, 32, 115, 105, 109, 112, 108, 105, 102, 105,
-99, 97, 100, 97, 46, 34, 10, 34, 84, 104, 105, 115, 32, 108, 97, 121, 101, 114, 32, 110, 101, 101, 100, 115,
-32, 116, 104, 101, 32, 71, 80, 85, 32, 40, 116, 117, 114, 110, 32, 71, 80, 85, 32, 111, 110, 41, 46, 34,
-32, 61, 32, 34, 69, 115, 116, 97, 32, 99, 97, 109, 97, 100, 97, 32, 112, 114, 101, 99, 105, 115, 97, 32,
-100, 97, 32, 71, 80, 85, 32, 40, 108, 105, 103, 117, 101, 32, 71, 80, 85, 41, 46, 34, 10, 34, 71, 80,
-85, 32, 108, 97, 121, 101, 114, 115, 34, 32, 61, 32, 34, 67, 97, 109, 97, 100, 97, 115, 32, 100, 101, 32,
-71, 80, 85, 34, 10, 34, 67, 97, 110, 118, 97, 115, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 67,
-97, 110, 118, 97, 115, 32, 40, 71, 80, 85, 41, 34, 10, 34, 84, 101, 114, 114, 97, 105, 110, 32, 51, 68,
-32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 84, 101, 114, 114, 101, 110, 111, 32, 51, 68, 32, 40, 71,
-80, 85, 41, 34, 10, 34, 51, 68, 32, 111, 98, 106, 101, 99, 116, 32, 40, 71, 80, 85, 41, 34, 32, 61,
-32, 34, 79, 98, 106, 101, 116, 111, 32, 51, 68, 32, 40, 71, 80, 85, 41, 34, 10, 34, 70, 101, 101, 100,
-98, 97, 99, 107, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 70, 101, 101, 100, 98, 97, 99, 107, 32,
-40, 71, 80, 85, 41, 34, 10, 34, 80, 111, 115, 116, 45, 112, 114, 111, 99, 101, 115, 115, 32, 40, 71, 80,
-85, 41, 34, 32, 61, 32, 34, 80, 195, 179, 115, 45, 112, 114, 111, 99, 101, 115, 115, 97, 109, 101, 110, 116,
-111, 32, 40, 71, 80, 85, 41, 34, 10, 34, 83, 99, 114, 101, 101, 110, 34, 32, 61, 32, 34, 84, 101, 108,
-97, 34, 10, 34, 79, 118, 101, 114, 108, 97, 121, 34, 32, 61, 32, 34, 83, 111, 98, 114, 101, 112, 111, 115,
-105, 195, 167, 195, 163, 111, 34, 10, 34, 68, 105, 102, 102, 101, 114, 101, 110, 99, 101, 34, 32, 61, 32, 34,
-68, 105, 102, 101, 114, 101, 110, 195, 167, 97, 34, 10, 34, 76, 105, 103, 104, 116, 101, 110, 34, 32, 61, 32,
-34, 67, 108, 97, 114, 101, 97, 114, 34, 10, 34, 68, 97, 114, 107, 101, 110, 34, 32, 61, 32, 34, 69, 115,
-99, 117, 114, 101, 99, 101, 114, 34, 10, 34, 80, 108, 97, 115, 109, 97, 34, 32, 61, 32, 34, 80, 108, 97,
-115, 109, 97, 34, 10, 34, 84, 117, 110, 110, 101, 108, 34, 32, 61, 32, 34, 84, 195, 186, 110, 101, 108, 34,
-10, 34, 67, 101, 108, 108, 115, 34, 32, 61, 32, 34, 67, 195, 169, 108, 117, 108, 97, 115, 34, 10, 34, 75,
-97, 108, 101, 105, 100, 111, 115, 99, 111, 112, 101, 34, 32, 61, 32, 34, 67, 97, 108, 101, 105, 100, 111, 115,
-99, 195, 179, 112, 105, 111, 34, 10, 34, 67, 108, 111, 117, 100, 115, 34, 32, 61, 32, 34, 78, 117, 118, 101,
-110, 115, 34, 10, 34, 87, 97, 114, 112, 32, 115, 116, 97, 114, 115, 34, 32, 61, 32, 34, 69, 115, 116, 114,
-101, 108, 97, 115, 32, 101, 109, 32, 100, 111, 98, 114, 97, 34, 10, 34, 69, 108, 101, 99, 116, 114, 105, 99,
-34, 32, 61, 32, 34, 69, 108, 195, 169, 116, 114, 105, 99, 111, 34, 10, 34, 83, 117, 110, 32, 114, 97, 121,
-115, 34, 32, 61, 32, 34, 82, 97, 105, 111, 115, 32, 100, 101, 32, 115, 111, 108, 34, 10, 34, 83, 112, 101,
-99, 116, 114, 117, 109, 32, 109, 111, 117, 110, 116, 97, 105, 110, 115, 34, 32, 61, 32, 34, 77, 111, 110, 116,
-97, 110, 104, 97, 115, 32, 100, 111, 32, 101, 115, 112, 101, 99, 116, 114, 111, 34, 10, 34, 83, 104, 97, 100,
-101, 100, 32, 104, 105, 108, 108, 115, 34, 32, 61, 32, 34, 67, 111, 108, 105, 110, 97, 115, 32, 115, 111, 109,
-98, 114, 101, 97, 100, 97, 115, 34, 10, 34, 82, 101, 116, 114, 111, 32, 114, 111, 97, 100, 34, 32, 61, 32,
-34, 69, 115, 116, 114, 97, 100, 97, 32, 114, 101, 116, 114, 195, 180, 34, 10, 34, 82, 101, 97, 99, 116, 105,
-118, 101, 32, 115, 112, 104, 101, 114, 101, 34, 32, 61, 32, 34, 69, 115, 102, 101, 114, 97, 32, 114, 101, 97,
-116, 105, 118, 97, 34, 10, 34, 84, 111, 114, 117, 115, 34, 32, 61, 32, 34, 84, 111, 114, 111, 34, 10, 34,
-67, 117, 98, 101, 32, 103, 114, 105, 100, 34, 32, 61, 32, 34, 71, 114, 97, 100, 101, 32, 100, 101, 32, 99,
-117, 98, 111, 115, 34, 10, 34, 82, 105, 110, 103, 32, 116, 117, 110, 110, 101, 108, 34, 32, 61, 32, 34, 84,
-195, 186, 110, 101, 108, 32, 100, 101, 32, 97, 110, 195, 169, 105, 115, 34, 10, 34, 90, 111, 111, 109, 32, 116,
-114, 97, 105, 108, 115, 34, 32, 61, 32, 34, 82, 97, 115, 116, 114, 111, 115, 32, 99, 111, 109, 32, 122, 111,
-111, 109, 34, 10, 34, 83, 112, 105, 110, 32, 116, 117, 110, 110, 101, 108, 34, 32, 61, 32, 34, 84, 195, 186,
-110, 101, 108, 32, 103, 105, 114, 97, 116, 195, 179, 114, 105, 111, 34, 10, 34, 75, 97, 108, 101, 105, 100, 111,
-32, 102, 101, 101, 100, 98, 97, 99, 107, 34, 32, 61, 32, 34, 70, 101, 101, 100, 98, 97, 99, 107, 32, 99,
-97, 108, 101, 105, 100, 111, 115, 99, 195, 179, 112, 105, 99, 111, 34, 10, 34, 83, 109, 111, 107, 101, 32, 100,
-114, 105, 102, 116, 34, 32, 61, 32, 34, 70, 117, 109, 97, 195, 167, 97, 32, 115, 117, 98, 105, 110, 100, 111,
-34, 10, 34, 66, 108, 111, 111, 109, 34, 32, 61, 32, 34, 66, 114, 105, 108, 104, 111, 32, 40, 98, 108, 111,
-111, 109, 41, 34, 10, 34, 82, 71, 66, 32, 115, 104, 105, 102, 116, 34, 32, 61, 32, 34, 68, 101, 115, 118,
-105, 111, 32, 82, 71, 66, 34, 10, 34, 80, 105, 120, 101, 108, 97, 116, 101, 34, 32, 61, 32, 34, 80, 105,
-120, 101, 108, 105, 122, 97, 114, 34, 10, 34, 68, 111, 116, 32, 109, 97, 116, 114, 105, 120, 34, 32, 61, 32,
-34, 77, 97, 116, 114, 105, 122, 32, 100, 101, 32, 112, 111, 110, 116, 111, 115, 34, 10, 34, 83, 99, 97, 110,
-32, 108, 105, 110, 101, 115, 34, 32, 61, 32, 34, 76, 105, 110, 104, 97, 115, 32, 100, 101, 32, 118, 97, 114,
-114, 101, 100, 117, 114, 97, 34, 10, 34, 86, 105, 103, 110, 101, 116, 116, 101, 34, 32, 61, 32, 34, 86, 105,
-110, 104, 101, 116, 97, 34, 10, 34, 67, 111, 108, 111, 117, 114, 32, 99, 111, 114, 114, 101, 99, 116, 105, 111,
-110, 34, 32, 61, 32, 34, 67, 111, 114, 114, 101, 195, 167, 195, 163, 111, 32, 100, 101, 32, 99, 111, 114, 34,
-10, 34, 69, 100, 103, 101, 32, 100, 101, 116, 101, 99, 116, 34, 32, 61, 32, 34, 68, 101, 116, 101, 99, 195,
-167, 195, 163, 111, 32, 100, 101, 32, 98, 111, 114, 100, 97, 115, 34, 10, 34, 83, 104, 97, 107, 101, 34, 32,
-61, 32, 34, 84, 114, 101, 109, 111, 114, 34, 10, 34, 71, 108, 105, 116, 99, 104, 34, 32, 61, 32, 34, 71,
-108, 105, 116, 99, 104, 34, 10, 34, 70, 105, 108, 109, 32, 103, 114, 97, 105, 110, 34, 32, 61, 32, 34, 71,
-114, 97, 110, 117, 108, 97, 195, 167, 195, 163, 111, 32, 100, 101, 32, 102, 105, 108, 109, 101, 34, 10, 34, 73,
-110, 118, 101, 114, 116, 32, 111, 110, 32, 98, 101, 97, 116, 34, 32, 61, 32, 34, 73, 110, 118, 101, 114, 116,
-101, 114, 32, 110, 97, 32, 98, 97, 116, 105, 100, 97, 34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 99, 97,
-108, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 108, 111, 117, 114, 32, 98, 97, 110, 100, 115,
-44, 32, 67, 111, 117, 110, 116, 58, 32, 108, 97, 121, 101, 114, 115, 32, 111, 102, 32, 119, 97, 118, 101, 115,
-34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 99, 97, 108, 97, 44, 32, 65, 109, 111, 117, 110,
-116, 58, 32, 102, 97, 105, 120, 97, 115, 32, 100, 101, 32, 99, 111, 114, 44, 32, 67, 111, 117, 110, 116, 58,
-32, 99, 97, 109, 97, 100, 97, 115, 32, 100, 101, 32, 111, 110, 100, 97, 115, 34, 10, 34, 83, 105, 122, 101,
-58, 32, 114, 105, 110, 103, 32, 115, 112, 97, 99, 105, 110, 103, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32,
-116, 119, 105, 115, 116, 44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 105, 103, 104, 116, 32, 115, 112, 101,
-101, 100, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 112, 97, 195, 167, 111, 32, 101, 110, 116,
-114, 101, 32, 97, 110, 195, 169, 105, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 111, 114, 195, 167,
-195, 163, 111, 44, 32, 83, 112, 101, 101, 100, 58, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32, 100,
-111, 32, 118, 111, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 99, 101, 108, 108, 32, 115, 105, 122, 101, 44,
-32, 65, 109, 111, 117, 110, 116, 58, 32, 98, 111, 114, 100, 101, 114, 32, 103, 108, 111, 119, 44, 32, 67, 111,
-117, 110, 116, 58, 32, 100, 101, 116, 97, 105, 108, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116, 97,
-109, 97, 110, 104, 111, 32, 100, 97, 32, 99, 195, 169, 108, 117, 108, 97, 44, 32, 65, 109, 111, 117, 110, 116,
-58, 32, 98, 114, 105, 108, 104, 111, 32, 100, 97, 32, 98, 111, 114, 100, 97, 44, 32, 67, 111, 117, 110, 116,
-58, 32, 100, 101, 116, 97, 108, 104, 101, 34, 10, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44, 32,
-65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 108, 100, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 105, 116,
-101, 114, 97, 116, 105, 111, 110, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44,
-32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 111, 98, 114, 97, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32,
-105, 116, 101, 114, 97, 195, 167, 195, 181, 101, 115, 34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 99, 97, 108,
-101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 101, 110, 115, 105, 116, 121, 44, 32, 83, 112, 101, 101,
-100, 58, 32, 100, 114, 105, 102, 116, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 99, 97, 108,
-97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 101, 110, 115, 105, 100, 97, 100, 101, 44, 32, 83, 112,
-101, 101, 100, 58, 32, 100, 101, 114, 105, 118, 97, 34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 116, 97, 114,
-32, 115, 105, 122, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 115, 116, 114, 101, 97, 107, 115, 44, 32,
-67, 111, 117, 110, 116, 58, 32, 100, 101, 110, 115, 105, 116, 121, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58,
-32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 97, 32, 101, 115, 116, 114, 101, 108, 97, 44, 32, 65, 109, 111,
-117, 110, 116, 58, 32, 114, 97, 115, 116, 114, 111, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 100, 101, 110,
-115, 105, 100, 97, 100, 101, 34, 10, 34, 83, 105, 122, 101, 58, 32, 116, 104, 105, 99, 107, 110, 101, 115, 115,
-44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 106, 105, 116, 116, 101, 114, 44, 32, 67, 111, 117, 110, 116, 58,
-32, 98, 111, 108, 116, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 112, 101, 115, 115, 117,
-114, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114, 101, 109, 111, 114, 44, 32, 67, 111, 117, 110,
-116, 58, 32, 114, 97, 105, 111, 115, 34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 117, 110, 32, 115, 105, 122,
-101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 114, 97, 121, 32, 115, 116, 114, 101, 110, 103, 116, 104, 44,
-32, 67, 111, 117, 110, 116, 58, 32, 114, 97, 121, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116,
-97, 109, 97, 110, 104, 111, 32, 100, 111, 32, 115, 111, 108, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 102,
-111, 114, 195, 167, 97, 32, 100, 111, 115, 32, 114, 97, 105, 111, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32,
-114, 97, 105, 111, 115, 34, 10, 34, 84, 104, 101, 32, 115, 112, 101, 99, 116, 114, 117, 109, 39, 115, 32, 104,
-105, 115, 116, 111, 114, 121, 32, 97, 115, 32, 97, 32, 119, 105, 114, 101, 32, 108, 97, 110, 100, 115, 99, 97,
-112, 101, 46, 32, 83, 105, 122, 101, 58, 32, 104, 101, 105, 103, 104, 116, 44, 32, 65, 109, 111, 117, 110, 116,
-58, 32, 108, 105, 110, 101, 32, 103, 108, 111, 119, 44, 32, 67, 111, 117, 110, 116, 58, 32, 114, 111, 119, 115,
-34, 32, 61, 32, 34, 79, 32, 104, 105, 115, 116, 195, 179, 114, 105, 99, 111, 32, 100, 111, 32, 101, 115, 112,
-101, 99, 116, 114, 111, 32, 99, 111, 109, 111, 32, 112, 97, 105, 115, 97, 103, 101, 109, 32, 100, 101, 32, 97,
-114, 97, 109, 101, 46, 32, 83, 105, 122, 101, 58, 32, 97, 108, 116, 117, 114, 97, 44, 32, 65, 109, 111, 117,
-110, 116, 58, 32, 98, 114, 105, 108, 104, 111, 32, 100, 97, 115, 32, 108, 105, 110, 104, 97, 115, 44, 32, 67,
-111, 117, 110, 116, 58, 32, 102, 105, 108, 101, 105, 114, 97, 115, 34, 10, 34, 65, 32, 108, 105, 116, 32, 108,
-97, 110, 100, 115, 99, 97, 112, 101, 32, 115, 104, 97, 112, 101, 100, 32, 98, 121, 32, 116, 104, 101, 32, 115,
-112, 101, 99, 116, 114, 117, 109, 46, 32, 83, 105, 122, 101, 58, 32, 104, 101, 105, 103, 104, 116, 44, 32, 65,
-109, 111, 117, 110, 116, 58, 32, 102, 111, 103, 44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 105, 103, 104,
-116, 32, 115, 112, 101, 101, 100, 34, 32, 61, 32, 34, 85, 109, 97, 32, 112, 97, 105, 115, 97, 103, 101, 109,
-32, 105, 108, 117, 109, 105, 110, 97, 100, 97, 32, 109, 111, 108, 100, 97, 100, 97, 32, 112, 101, 108, 111, 32,
-101, 115, 112, 101, 99, 116, 114, 111, 46, 32, 83, 105, 122, 101, 58, 32, 97, 108, 116, 117, 114, 97, 44, 32,
-65, 109, 111, 117, 110, 116, 58, 32, 110, 101, 98, 108, 105, 110, 97, 44, 32, 83, 112, 101, 101, 100, 58, 32,
-118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32, 100, 111, 32, 118, 111, 111, 34, 10, 34, 65, 32, 110, 101,
-111, 110, 32, 103, 114, 105, 100, 32, 97, 110, 100, 32, 97, 32, 115, 117, 110, 46, 32, 83, 105, 122, 101, 58,
-32, 115, 117, 110, 32, 115, 105, 122, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 103, 114, 105, 100, 32,
-103, 108, 111, 119, 44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 105, 103, 104, 116, 32, 115, 112, 101, 101,
-100, 34, 32, 61, 32, 34, 85, 109, 97, 32, 103, 114, 97, 100, 101, 32, 110, 101, 111, 110, 32, 101, 32, 117,
-109, 32, 115, 111, 108, 46, 32, 83, 105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 111, 32,
-115, 111, 108, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 98, 114, 105, 108, 104, 111, 32, 100, 97, 32, 103,
-114, 97, 100, 101, 44, 32, 83, 112, 101, 101, 100, 58, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32,
-100, 111, 32, 118, 111, 111, 34, 10, 34, 65, 32, 115, 112, 104, 101, 114, 101, 32, 116, 104, 101, 32, 98, 97,
-115, 115, 32, 100, 101, 102, 111, 114, 109, 115, 46, 32, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115,
-44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 101, 102, 111, 114, 109, 97, 116, 105, 111, 110, 44, 32, 83,
-112, 101, 101, 100, 58, 32, 115, 112, 105, 110, 34, 32, 61, 32, 34, 85, 109, 97, 32, 101, 115, 102, 101, 114,
-97, 32, 113, 117, 101, 32, 111, 32, 103, 114, 97, 118, 101, 32, 100, 101, 102, 111, 114, 109, 97, 46, 32, 83,
-105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 101, 102, 111, 114,
-109, 97, 195, 167, 195, 163, 111, 44, 32, 83, 112, 101, 101, 100, 58, 32, 103, 105, 114, 111, 34, 10, 34, 83,
-105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 104, 105,
-99, 107, 110, 101, 115, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 115, 112, 105, 110, 34, 32, 61, 32, 34,
-83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 112, 101,
-115, 115, 117, 114, 97, 44, 32, 83, 112, 101, 101, 100, 58, 32, 103, 105, 114, 111, 34, 10, 34, 67, 111, 108,
-117, 109, 110, 115, 32, 116, 104, 97, 116, 32, 102, 111, 108, 108, 111, 119, 32, 116, 104, 101, 32, 115, 112, 101,
-99, 116, 114, 117, 109, 46, 32, 83, 105, 122, 101, 58, 32, 104, 101, 105, 103, 104, 116, 44, 32, 65, 109, 111,
-117, 110, 116, 58, 32, 115, 112, 97, 99, 105, 110, 103, 44, 32, 67, 111, 117, 110, 116, 58, 32, 99, 111, 108,
-117, 109, 110, 115, 34, 32, 61, 32, 34, 67, 111, 108, 117, 110, 97, 115, 32, 113, 117, 101, 32, 115, 101, 103,
-117, 101, 109, 32, 111, 32, 101, 115, 112, 101, 99, 116, 114, 111, 46, 32, 83, 105, 122, 101, 58, 32, 97, 108,
-116, 117, 114, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 112, 97, 195, 167, 97, 109, 101, 110,
-116, 111, 44, 32, 67, 111, 117, 110, 116, 58, 32, 99, 111, 108, 117, 110, 97, 115, 34, 10, 34, 82, 105, 110,
-103, 115, 32, 102, 108, 121, 105, 110, 103, 32, 112, 97, 115, 116, 46, 32, 83, 105, 122, 101, 58, 32, 114, 97,
-100, 105, 117, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 104, 105, 99, 107, 110, 101, 115, 115, 44,
+116, 114, 97, 100, 97, 41, 46, 34, 10, 10, 35, 32, 82, 111, 117, 110, 100, 32, 49, 54, 53, 103, 58, 32,
+70, 114, 117, 105, 116, 121, 32, 77, 117, 116, 101, 32, 50, 44, 32, 70, 114, 117, 105, 116, 121, 32, 66, 105,
+103, 32, 67, 108, 111, 99, 107, 44, 32, 84, 117, 110, 101, 114, 44, 32, 70, 114, 117, 105, 116, 121, 32, 72,
+84, 77, 76, 32, 78, 111, 116, 101, 66, 111, 111, 107, 10, 34, 77, 85, 84, 69, 34, 32, 61, 32, 34, 77,
+85, 68, 79, 34, 10, 34, 67, 72, 65, 78, 78, 69, 76, 34, 32, 61, 32, 34, 67, 65, 78, 65, 76, 34,
+10, 34, 66, 97, 114, 58, 66, 101, 97, 116, 58, 84, 105, 99, 107, 34, 32, 61, 32, 34, 67, 111, 109, 112,
+97, 115, 115, 111, 58, 84, 101, 109, 112, 111, 58, 84, 105, 99, 107, 34, 10, 34, 77, 105, 110, 58, 83, 101,
+99, 58, 72, 117, 110, 100, 114, 101, 100, 116, 104, 115, 34, 32, 61, 32, 34, 77, 105, 110, 58, 83, 101, 103,
+58, 67, 101, 110, 116, 195, 169, 115, 105, 109, 111, 115, 34, 10, 34, 66, 97, 114, 58, 83, 116, 101, 112, 58,
+84, 105, 99, 107, 34, 32, 61, 32, 34, 67, 111, 109, 112, 97, 115, 115, 111, 58, 83, 116, 101, 112, 58, 84,
+105, 99, 107, 34, 10, 34, 91, 82, 77, 66, 93, 32, 100, 105, 115, 112, 108, 97, 121, 58, 32, 66, 97, 114,
+58, 66, 101, 97, 116, 58, 84, 105, 99, 107, 44, 32, 77, 105, 110, 58, 83, 101, 99, 58, 72, 117, 110, 100,
+114, 101, 100, 116, 104, 115, 32, 111, 114, 32, 66, 97, 114, 58, 83, 116, 101, 112, 58, 84, 105, 99, 107, 34,
+32, 61, 32, 34, 91, 66, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105, 116, 111, 93, 32, 101, 120, 105,
+98, 105, 195, 167, 195, 163, 111, 58, 32, 67, 111, 109, 112, 97, 115, 115, 111, 58, 84, 101, 109, 112, 111, 58,
+84, 105, 99, 107, 44, 32, 77, 105, 110, 58, 83, 101, 103, 58, 67, 101, 110, 116, 195, 169, 115, 105, 109, 111,
+115, 32, 111, 117, 32, 67, 111, 109, 112, 97, 115, 115, 111, 58, 83, 116, 101, 112, 58, 84, 105, 99, 107, 34,
+10, 34, 82, 101, 102, 101, 114, 101, 110, 99, 101, 34, 32, 61, 32, 34, 82, 101, 102, 101, 114, 195, 170, 110,
+99, 105, 97, 34, 10, 34, 82, 101, 97, 99, 116, 105, 118, 105, 116, 121, 34, 32, 61, 32, 34, 82, 101, 97,
+116, 105, 118, 105, 100, 97, 100, 101, 34, 10, 34, 68, 105, 97, 108, 34, 32, 61, 32, 34, 77, 111, 115, 116,
+114, 97, 100, 111, 114, 34, 10, 34, 99, 101, 110, 116, 34, 32, 61, 32, 34, 99, 101, 110, 116, 34, 10, 34,
+80, 97, 103, 101, 58, 32, 97, 32, 46, 104, 116, 109, 108, 32, 102, 105, 108, 101, 32, 111, 114, 32, 97, 32,
+119, 101, 98, 32, 97, 100, 100, 114, 101, 115, 115, 34, 32, 61, 32, 34, 80, 195, 161, 103, 105, 110, 97, 58,
+32, 117, 109, 32, 97, 114, 113, 117, 105, 118, 111, 32, 46, 104, 116, 109, 108, 32, 111, 117, 32, 117, 109, 32,
+101, 110, 100, 101, 114, 101, 195, 167, 111, 32, 100, 97, 32, 119, 101, 98, 34, 10, 34, 67, 104, 111, 111, 115,
+101, 32, 116, 104, 101, 32, 46, 104, 116, 109, 108, 32, 112, 97, 103, 101, 32, 116, 111, 32, 115, 104, 111, 119,
+34, 32, 61, 32, 34, 69, 115, 99, 111, 108, 104, 97, 32, 97, 32, 112, 195, 161, 103, 105, 110, 97, 32, 46,
+104, 116, 109, 108, 32, 97, 32, 109, 111, 115, 116, 114, 97, 114, 34, 10, 34, 79, 112, 101, 110, 32, 116, 104,
+101, 32, 112, 97, 103, 101, 32, 105, 110, 32, 121, 111, 117, 114, 32, 119, 101, 98, 32, 98, 114, 111, 119, 115,
+101, 114, 34, 32, 61, 32, 34, 65, 98, 114, 105, 114, 32, 97, 32, 112, 195, 161, 103, 105, 110, 97, 32, 110,
+111, 32, 115, 101, 117, 32, 110, 97, 118, 101, 103, 97, 100, 111, 114, 34, 10, 34, 82, 101, 97, 100, 32, 116,
+104, 101, 32, 112, 97, 103, 101, 32, 97, 103, 97, 105, 110, 34, 32, 61, 32, 34, 76, 101, 114, 32, 97, 32,
+112, 195, 161, 103, 105, 110, 97, 32, 100, 101, 32, 110, 111, 118, 111, 34, 10, 34, 79, 112, 101, 110, 32, 105,
+110, 32, 98, 114, 111, 119, 115, 101, 114, 34, 32, 61, 32, 34, 65, 98, 114, 105, 114, 32, 110, 111, 32, 110,
+97, 118, 101, 103, 97, 100, 111, 114, 34, 10, 34, 82, 101, 108, 111, 97, 100, 34, 32, 61, 32, 34, 82, 101,
+99, 97, 114, 114, 101, 103, 97, 114, 34, 10, 34, 78, 111, 32, 112, 97, 103, 101, 46, 32, 67, 104, 111, 111,
+115, 101, 32, 97, 32, 46, 104, 116, 109, 108, 32, 102, 105, 108, 101, 32, 119, 105, 116, 104, 32, 66, 114, 111,
+119, 115, 101, 44, 32, 111, 114, 32, 116, 121, 112, 101, 32, 97, 32, 119, 101, 98, 32, 97, 100, 100, 114, 101,
+115, 115, 32, 97, 110, 100, 32, 112, 114, 101, 115, 115, 32, 69, 110, 116, 101, 114, 46, 34, 32, 61, 32, 34,
+78, 101, 110, 104, 117, 109, 97, 32, 112, 195, 161, 103, 105, 110, 97, 46, 32, 69, 115, 99, 111, 108, 104, 97,
+32, 117, 109, 32, 97, 114, 113, 117, 105, 118, 111, 32, 46, 104, 116, 109, 108, 32, 101, 109, 32, 80, 114, 111,
+99, 117, 114, 97, 114, 44, 32, 111, 117, 32, 100, 105, 103, 105, 116, 101, 32, 117, 109, 32, 101, 110, 100, 101,
+114, 101, 195, 167, 111, 32, 100, 97, 32, 119, 101, 98, 32, 101, 32, 112, 114, 101, 115, 115, 105, 111, 110, 101,
+32, 69, 110, 116, 101, 114, 46, 34, 10, 34, 65, 32, 119, 101, 98, 32, 112, 97, 103, 101, 58, 32, 76, 89,
+78, 88, 32, 100, 111, 101, 115, 32, 110, 111, 116, 32, 108, 111, 97, 100, 32, 119, 101, 98, 32, 112, 97, 103,
+101, 115, 32, 105, 116, 115, 101, 108, 102, 46, 32, 85, 115, 101, 32, 92, 34, 79, 112, 101, 110, 32, 105, 110,
+32, 98, 114, 111, 119, 115, 101, 114, 92, 34, 46, 34, 32, 61, 32, 34, 85, 109, 97, 32, 112, 195, 161, 103,
+105, 110, 97, 32, 100, 97, 32, 119, 101, 98, 58, 32, 111, 32, 76, 89, 78, 88, 32, 110, 195, 163, 111, 32,
+99, 97, 114, 114, 101, 103, 97, 32, 112, 195, 161, 103, 105, 110, 97, 115, 32, 100, 97, 32, 119, 101, 98, 46,
+32, 85, 115, 101, 32, 92, 34, 65, 98, 114, 105, 114, 32, 110, 111, 32, 110, 97, 118, 101, 103, 97, 100, 111,
+114, 92, 34, 46, 34, 10, 34, 84, 104, 101, 32, 112, 97, 103, 101, 32, 119, 97, 115, 32, 110, 111, 116, 32,
+102, 111, 117, 110, 100, 58, 32, 123, 48, 125, 34, 32, 61, 32, 34, 65, 32, 112, 195, 161, 103, 105, 110, 97,
+32, 110, 195, 163, 111, 32, 102, 111, 105, 32, 101, 110, 99, 111, 110, 116, 114, 97, 100, 97, 58, 32, 123, 48,
+125, 34, 10, 34, 84, 104, 101, 32, 112, 97, 103, 101, 32, 104, 97, 115, 32, 110, 111, 32, 116, 101, 120, 116,
+32, 116, 111, 32, 115, 104, 111, 119, 46, 34, 32, 61, 32, 34, 65, 32, 112, 195, 161, 103, 105, 110, 97, 32,
+110, 195, 163, 111, 32, 116, 101, 109, 32, 116, 101, 120, 116, 111, 32, 112, 97, 114, 97, 32, 109, 111, 115, 116,
+114, 97, 114, 46, 34, 10, 34, 66, 114, 111, 119, 115, 101, 34, 32, 61, 32, 34, 80, 114, 111, 99, 117, 114,
+97, 114, 34, 10, 35, 32, 45, 45, 45, 32, 83, 101, 116, 116, 105, 110, 103, 115, 32, 226, 128, 186, 32, 77,
+73, 68, 73, 58, 32, 109, 97, 115, 116, 101, 114, 32, 115, 121, 110, 99, 32, 97, 110, 100, 32, 101, 120, 116,
+101, 114, 110, 97, 108, 32, 99, 108, 111, 99, 107, 32, 40, 114, 111, 117, 110, 100, 32, 49, 54, 53, 102, 41,
+10, 34, 79, 117, 116, 112, 117, 116, 32, 100, 101, 118, 105, 99, 101, 115, 34, 32, 61, 32, 34, 68, 105, 115,
+112, 111, 115, 105, 116, 105, 118, 111, 115, 32, 100, 101, 32, 115, 97, 195, 173, 100, 97, 34, 10, 34, 78, 111,
+32, 77, 73, 68, 73, 32, 111, 117, 116, 112, 117, 116, 32, 100, 101, 118, 105, 99, 101, 115, 32, 102, 111, 117,
+110, 100, 46, 34, 32, 61, 32, 34, 78, 101, 110, 104, 117, 109, 32, 100, 105, 115, 112, 111, 115, 105, 116, 105,
+118, 111, 32, 100, 101, 32, 115, 97, 195, 173, 100, 97, 32, 77, 73, 68, 73, 32, 101, 110, 99, 111, 110, 116,
+114, 97, 100, 111, 46, 34, 10, 34, 83, 101, 110, 100, 32, 109, 97, 115, 116, 101, 114, 32, 115, 121, 110, 99,
+32, 100, 114, 105, 118, 101, 115, 32, 100, 114, 117, 109, 32, 109, 97, 99, 104, 105, 110, 101, 115, 44, 32, 115,
+121, 110, 116, 104, 115, 32, 97, 110, 100, 32, 111, 116, 104, 101, 114, 32, 115, 111, 102, 116, 119, 97, 114, 101,
+32, 102, 114, 111, 109, 32, 76, 89, 78, 88, 39, 115, 32, 116, 114, 97, 110, 115, 112, 111, 114, 116, 58, 32,
+77, 73, 68, 73, 32, 99, 108, 111, 99, 107, 32, 119, 105, 116, 104, 32, 83, 111, 110, 103, 32, 80, 111, 115,
+105, 116, 105, 111, 110, 32, 80, 111, 105, 110, 116, 101, 114, 44, 32, 111, 114, 32, 77, 73, 68, 73, 32, 84,
+105, 109, 101, 32, 67, 111, 100, 101, 46, 34, 32, 61, 32, 34, 69, 110, 118, 105, 97, 114, 32, 115, 105, 110,
+99, 114, 111, 110, 105, 122, 97, 195, 167, 195, 163, 111, 32, 109, 101, 115, 116, 114, 101, 32, 99, 111, 109, 97,
+110, 100, 97, 32, 98, 97, 116, 101, 114, 105, 97, 115, 32, 101, 108, 101, 116, 114, 195, 180, 110, 105, 99, 97,
+115, 44, 32, 115, 105, 110, 116, 101, 116, 105, 122, 97, 100, 111, 114, 101, 115, 32, 101, 32, 111, 117, 116, 114,
+111, 115, 32, 112, 114, 111, 103, 114, 97, 109, 97, 115, 32, 112, 101, 108, 111, 32, 116, 114, 97, 110, 115, 112,
+111, 114, 116, 101, 32, 100, 111, 32, 76, 89, 78, 88, 58, 32, 77, 73, 68, 73, 32, 99, 108, 111, 99, 107,
+32, 99, 111, 109, 32, 83, 111, 110, 103, 32, 80, 111, 115, 105, 116, 105, 111, 110, 32, 80, 111, 105, 110, 116,
+101, 114, 44, 32, 111, 117, 32, 77, 73, 68, 73, 32, 84, 105, 109, 101, 32, 67, 111, 100, 101, 46, 34, 10,
+34, 83, 101, 110, 100, 32, 109, 97, 115, 116, 101, 114, 32, 115, 121, 110, 99, 34, 32, 61, 32, 34, 69, 110,
+118, 105, 97, 114, 32, 115, 105, 110, 99, 114, 111, 110, 105, 122, 97, 195, 167, 195, 163, 111, 32, 109, 101, 115,
+116, 114, 101, 34, 10, 34, 83, 101, 110, 100, 32, 109, 97, 115, 116, 101, 114, 32, 115, 121, 110, 99, 104, 114,
+111, 110, 105, 122, 97, 116, 105, 111, 110, 32, 116, 111, 32, 116, 104, 105, 115, 32, 100, 101, 118, 105, 99, 101,
+34, 32, 61, 32, 34, 69, 110, 118, 105, 97, 32, 97, 32, 115, 105, 110, 99, 114, 111, 110, 105, 122, 97, 195,
+167, 195, 163, 111, 32, 109, 101, 115, 116, 114, 101, 32, 112, 97, 114, 97, 32, 101, 115, 116, 101, 32, 100, 105,
+115, 112, 111, 115, 105, 116, 105, 118, 111, 34, 10, 34, 77, 73, 68, 73, 32, 99, 108, 111, 99, 107, 58, 32,
+50, 52, 32, 112, 117, 108, 115, 101, 115, 32, 112, 101, 114, 32, 113, 117, 97, 114, 116, 101, 114, 32, 110, 111,
+116, 101, 44, 32, 83, 116, 97, 114, 116, 32, 47, 32, 67, 111, 110, 116, 105, 110, 117, 101, 32, 47, 32, 83,
+116, 111, 112, 32, 97, 110, 100, 32, 83, 111, 110, 103, 32, 80, 111, 115, 105, 116, 105, 111, 110, 32, 80, 111,
+105, 110, 116, 101, 114, 46, 32, 77, 84, 67, 58, 32, 77, 73, 68, 73, 32, 84, 105, 109, 101, 32, 67, 111,
+100, 101, 32, 113, 117, 97, 114, 116, 101, 114, 32, 102, 114, 97, 109, 101, 115, 32, 97, 110, 100, 32, 97, 32,
+102, 117, 108, 108, 32, 102, 114, 97, 109, 101, 32, 119, 104, 101, 110, 32, 116, 104, 101, 32, 112, 111, 115, 105,
+116, 105, 111, 110, 32, 109, 111, 118, 101, 115, 46, 34, 32, 61, 32, 34, 77, 73, 68, 73, 32, 99, 108, 111,
+99, 107, 58, 32, 50, 52, 32, 112, 117, 108, 115, 111, 115, 32, 112, 111, 114, 32, 115, 101, 109, 195, 173, 110,
+105, 109, 97, 44, 32, 83, 116, 97, 114, 116, 32, 47, 32, 67, 111, 110, 116, 105, 110, 117, 101, 32, 47, 32,
+83, 116, 111, 112, 32, 101, 32, 83, 111, 110, 103, 32, 80, 111, 115, 105, 116, 105, 111, 110, 32, 80, 111, 105,
+110, 116, 101, 114, 46, 32, 77, 84, 67, 58, 32, 113, 117, 97, 114, 116, 101, 114, 32, 102, 114, 97, 109, 101,
+115, 32, 100, 101, 32, 77, 73, 68, 73, 32, 84, 105, 109, 101, 32, 67, 111, 100, 101, 32, 101, 32, 117, 109,
+32, 102, 117, 108, 108, 32, 102, 114, 97, 109, 101, 32, 113, 117, 97, 110, 100, 111, 32, 97, 32, 112, 111, 115,
+105, 195, 167, 195, 163, 111, 32, 109, 117, 100, 97, 46, 34, 10, 34, 77, 73, 68, 73, 32, 99, 108, 111, 99,
+107, 34, 32, 61, 32, 34, 77, 73, 68, 73, 32, 99, 108, 111, 99, 107, 34, 10, 34, 77, 84, 67, 32, 50,
+52, 32, 102, 112, 115, 34, 32, 61, 32, 34, 77, 84, 67, 32, 50, 52, 32, 102, 112, 115, 34, 10, 34, 77,
+84, 67, 32, 50, 53, 32, 102, 112, 115, 34, 32, 61, 32, 34, 77, 84, 67, 32, 50, 53, 32, 102, 112, 115,
+34, 10, 34, 77, 84, 67, 32, 51, 48, 32, 102, 112, 115, 32, 40, 100, 114, 111, 112, 41, 34, 32, 61, 32,
+34, 77, 84, 67, 32, 51, 48, 32, 102, 112, 115, 32, 40, 100, 114, 111, 112, 45, 102, 114, 97, 109, 101, 41,
+34, 10, 34, 77, 84, 67, 32, 51, 48, 32, 102, 112, 115, 32, 40, 110, 111, 110, 45, 100, 114, 111, 112, 41,
+34, 32, 61, 32, 34, 77, 84, 67, 32, 51, 48, 32, 102, 112, 115, 32, 40, 110, 111, 110, 45, 100, 114, 111,
+112, 41, 34, 10, 34, 77, 84, 67, 32, 50, 57, 46, 57, 55, 32, 102, 112, 115, 32, 40, 100, 114, 111, 112,
+41, 34, 32, 61, 32, 34, 77, 84, 67, 32, 50, 57, 44, 57, 55, 32, 102, 112, 115, 32, 40, 100, 114, 111,
+112, 45, 102, 114, 97, 109, 101, 41, 34, 10, 34, 77, 84, 67, 32, 50, 57, 46, 57, 55, 32, 102, 112, 115,
+32, 40, 110, 111, 110, 45, 100, 114, 111, 112, 41, 34, 32, 61, 32, 34, 77, 84, 67, 32, 50, 57, 44, 57,
+55, 32, 102, 112, 115, 32, 40, 110, 111, 110, 45, 100, 114, 111, 112, 41, 34, 10, 34, 79, 102, 102, 115, 101,
+116, 32, 40, 109, 115, 41, 34, 32, 61, 32, 34, 68, 101, 115, 108, 111, 99, 97, 109, 101, 110, 116, 111, 32,
+40, 109, 115, 41, 34, 10, 34, 77, 97, 115, 116, 101, 114, 32, 115, 121, 110, 99, 32, 111, 102, 102, 115, 101,
+116, 32, 40, 109, 105, 108, 108, 105, 115, 101, 99, 111, 110, 100, 115, 41, 58, 32, 112, 111, 115, 105, 116, 105,
+118, 101, 32, 115, 101, 110, 100, 115, 32, 116, 104, 101, 32, 115, 121, 110, 99, 32, 108, 97, 116, 101, 114, 44,
+32, 110, 101, 103, 97, 116, 105, 118, 101, 32, 101, 97, 114, 108, 105, 101, 114, 34, 32, 61, 32, 34, 68, 101,
+115, 108, 111, 99, 97, 109, 101, 110, 116, 111, 32, 100, 97, 32, 115, 105, 110, 99, 114, 111, 110, 105, 122, 97,
+195, 167, 195, 163, 111, 32, 109, 101, 115, 116, 114, 101, 32, 40, 109, 105, 108, 105, 115, 115, 101, 103, 117, 110,
+100, 111, 115, 41, 58, 32, 112, 111, 115, 105, 116, 105, 118, 111, 32, 101, 110, 118, 105, 97, 32, 109, 97, 105,
+115, 32, 116, 97, 114, 100, 101, 44, 32, 110, 101, 103, 97, 116, 105, 118, 111, 32, 109, 97, 105, 115, 32, 99,
+101, 100, 111, 34, 10, 34, 83, 101, 110, 100, 32, 97, 108, 108, 32, 110, 111, 116, 101, 115, 32, 111, 102, 102,
+34, 32, 61, 32, 34, 69, 110, 118, 105, 97, 114, 32, 97, 108, 108, 32, 110, 111, 116, 101, 115, 32, 111, 102,
+102, 34, 10, 34, 83, 101, 110, 100, 32, 97, 108, 108, 32, 110, 111, 116, 101, 115, 32, 111, 102, 102, 32, 116,
+111, 32, 116, 104, 105, 115, 32, 100, 101, 118, 105, 99, 101, 32, 111, 110, 32, 105, 110, 105, 116, 32, 97, 110,
+100, 32, 97, 102, 116, 101, 114, 32, 97, 110, 32, 101, 120, 112, 111, 114, 116, 34, 32, 61, 32, 34, 69, 110,
+118, 105, 97, 32, 97, 108, 108, 32, 110, 111, 116, 101, 115, 32, 111, 102, 102, 32, 97, 32, 101, 115, 116, 101,
+32, 100, 105, 115, 112, 111, 115, 105, 116, 105, 118, 111, 32, 97, 111, 32, 105, 110, 105, 99, 105, 97, 114, 32,
+101, 32, 100, 101, 112, 111, 105, 115, 32, 100, 101, 32, 117, 109, 97, 32, 101, 120, 112, 111, 114, 116, 97, 195,
+167, 195, 163, 111, 34, 10, 34, 69, 120, 116, 101, 114, 110, 97, 108, 32, 115, 121, 110, 99, 34, 32, 61, 32,
+34, 83, 105, 110, 99, 114, 111, 110, 105, 122, 97, 195, 167, 195, 163, 111, 32, 101, 120, 116, 101, 114, 110, 97,
+34, 10, 34, 69, 120, 116, 101, 114, 110, 97, 108, 32, 99, 108, 111, 99, 107, 32, 115, 121, 110, 99, 34, 32,
+61, 32, 34, 83, 105, 110, 99, 114, 111, 110, 105, 122, 97, 114, 32, 99, 111, 109, 32, 99, 108, 111, 99, 107,
+32, 101, 120, 116, 101, 114, 110, 111, 34, 10, 34, 76, 89, 78, 88, 32, 102, 111, 108, 108, 111, 119, 115, 32,
+116, 104, 101, 32, 77, 73, 68, 73, 32, 99, 108, 111, 99, 107, 32, 111, 102, 32, 116, 104, 105, 115, 32, 105,
+110, 112, 117, 116, 58, 32, 105, 116, 115, 32, 116, 101, 109, 112, 111, 44, 32, 83, 116, 97, 114, 116, 32, 47,
+32, 67, 111, 110, 116, 105, 110, 117, 101, 32, 47, 32, 83, 116, 111, 112, 32, 97, 110, 100, 32, 83, 111, 110,
+103, 32, 80, 111, 115, 105, 116, 105, 111, 110, 32, 80, 111, 105, 110, 116, 101, 114, 34, 32, 61, 32, 34, 79,
+32, 76, 89, 78, 88, 32, 115, 101, 103, 117, 101, 32, 111, 32, 77, 73, 68, 73, 32, 99, 108, 111, 99, 107,
+32, 100, 101, 115, 116, 97, 32, 101, 110, 116, 114, 97, 100, 97, 58, 32, 111, 32, 97, 110, 100, 97, 109, 101,
+110, 116, 111, 44, 32, 83, 116, 97, 114, 116, 32, 47, 32, 67, 111, 110, 116, 105, 110, 117, 101, 32, 47, 32,
+83, 116, 111, 112, 32, 101, 32, 83, 111, 110, 103, 32, 80, 111, 115, 105, 116, 105, 111, 110, 32, 80, 111, 105,
+110, 116, 101, 114, 34, 10, 34, 69, 120, 116, 101, 114, 110, 97, 108, 32, 115, 121, 110, 99, 32, 111, 102, 102,
+115, 101, 116, 32, 40, 109, 105, 108, 108, 105, 115, 101, 99, 111, 110, 100, 115, 41, 34, 32, 61, 32, 34, 68,
+101, 115, 108, 111, 99, 97, 109, 101, 110, 116, 111, 32, 100, 97, 32, 115, 105, 110, 99, 114, 111, 110, 105, 122,
+97, 195, 167, 195, 163, 111, 32, 101, 120, 116, 101, 114, 110, 97, 32, 40, 109, 105, 108, 105, 115, 115, 101, 103,
+117, 110, 100, 111, 115, 41, 34, 10, 34, 80, 111, 115, 105, 116, 105, 118, 101, 32, 112, 108, 97, 121, 115, 32,
+76, 89, 78, 88, 32, 108, 97, 116, 101, 114, 32, 116, 104, 97, 110, 32, 116, 104, 101, 32, 99, 108, 111, 99,
+107, 44, 32, 110, 101, 103, 97, 116, 105, 118, 101, 32, 101, 97, 114, 108, 105, 101, 114, 34, 32, 61, 32, 34,
+80, 111, 115, 105, 116, 105, 118, 111, 32, 116, 111, 99, 97, 32, 111, 32, 76, 89, 78, 88, 32, 109, 97, 105,
+115, 32, 116, 97, 114, 100, 101, 32, 113, 117, 101, 32, 111, 32, 99, 108, 111, 99, 107, 44, 32, 110, 101, 103,
+97, 116, 105, 118, 111, 32, 109, 97, 105, 115, 32, 99, 101, 100, 111, 34, 10, 34, 78, 111, 32, 99, 108, 111,
+99, 107, 34, 32, 61, 32, 34, 83, 101, 109, 32, 99, 108, 111, 99, 107, 34, 10, 34, 82, 101, 97, 100, 121,
+44, 32, 110, 111, 32, 99, 108, 111, 99, 107, 34, 32, 61, 32, 34, 80, 114, 111, 110, 116, 111, 44, 32, 115,
+101, 109, 32, 99, 108, 111, 99, 107, 34, 10, 34, 69, 114, 114, 111, 114, 58, 32, 116, 104, 101, 32, 105, 110,
+112, 117, 116, 32, 105, 115, 32, 110, 111, 116, 32, 111, 112, 101, 110, 34, 32, 61, 32, 34, 69, 114, 114, 111,
+58, 32, 97, 32, 101, 110, 116, 114, 97, 100, 97, 32, 110, 195, 163, 111, 32, 101, 115, 116, 195, 161, 32, 97,
+98, 101, 114, 116, 97, 34, 10, 34, 82, 117, 110, 110, 105, 110, 103, 58, 32, 98, 101, 97, 116, 32, 123, 48,
+125, 44, 32, 123, 49, 125, 32, 66, 80, 77, 34, 32, 61, 32, 34, 82, 111, 100, 97, 110, 100, 111, 58, 32,
+116, 101, 109, 112, 111, 32, 123, 48, 125, 44, 32, 123, 49, 125, 32, 66, 80, 77, 34, 10, 34, 67, 108, 111,
+99, 107, 32, 105, 115, 32, 116, 111, 111, 32, 102, 97, 115, 116, 33, 34, 32, 61, 32, 34, 67, 108, 111, 99,
+107, 32, 114, 195, 161, 112, 105, 100, 111, 32, 100, 101, 109, 97, 105, 115, 33, 34, 10, 34, 82, 101, 99, 101,
+105, 118, 105, 110, 103, 32, 99, 108, 111, 99, 107, 32, 123, 48, 125, 32, 66, 80, 77, 34, 32, 61, 32, 34,
+82, 101, 99, 101, 98, 101, 110, 100, 111, 32, 99, 108, 111, 99, 107, 32, 97, 32, 123, 48, 125, 32, 66, 80,
+77, 34, 10, 34, 67, 104, 111, 111, 115, 105, 110, 103, 32, 97, 110, 32, 105, 110, 112, 117, 116, 32, 116, 117,
+114, 110, 115, 32, 105, 116, 32, 111, 110, 32, 105, 110, 32, 73, 110, 112, 117, 116, 32, 100, 101, 118, 105, 99,
+101, 115, 32, 97, 98, 111, 118, 101, 46, 32, 83, 111, 110, 103, 32, 116, 105, 109, 101, 32, 119, 105, 108, 108,
+32, 109, 97, 116, 99, 104, 32, 116, 104, 101, 32, 99, 108, 111, 99, 107, 46, 34, 32, 61, 32, 34, 69, 115,
+99, 111, 108, 104, 101, 114, 32, 117, 109, 97, 32, 101, 110, 116, 114, 97, 100, 97, 32, 97, 32, 108, 105, 103,
+97, 32, 101, 109, 32, 68, 105, 115, 112, 111, 115, 105, 116, 105, 118, 111, 115, 32, 100, 101, 32, 101, 110, 116,
+114, 97, 100, 97, 32, 97, 99, 105, 109, 97, 46, 32, 79, 32, 116, 101, 109, 112, 111, 32, 100, 97, 32, 109,
+195, 186, 115, 105, 99, 97, 32, 115, 101, 103, 117, 101, 32, 111, 32, 99, 108, 111, 99, 107, 46, 34, 10, 35,
+32, 114, 111, 117, 110, 100, 32, 49, 54, 53, 101, 58, 32, 116, 104, 101, 32, 86, 105, 115, 117, 97, 108, 105,
+122, 101, 114, 39, 115, 32, 71, 80, 85, 32, 108, 97, 121, 101, 114, 115, 44, 32, 76, 89, 78, 88, 32, 68,
+97, 110, 99, 101, 10, 34, 84, 104, 101, 32, 86, 105, 115, 117, 97, 108, 105, 122, 101, 114, 32, 119, 97, 115,
+32, 100, 114, 97, 119, 105, 110, 103, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 71, 80, 85, 32, 40, 79,
+112, 101, 110, 71, 76, 41, 32, 119, 104, 101, 110, 32, 105, 116, 32, 104, 97, 112, 112, 101, 110, 101, 100, 46,
+32, 73, 116, 32, 110, 111, 119, 32, 100, 114, 97, 119, 115, 32, 119, 105, 116, 104, 111, 117, 116, 32, 116, 104,
+101, 32, 71, 80, 85, 59, 32, 105, 116, 115, 32, 71, 80, 85, 32, 98, 117, 116, 116, 111, 110, 32, 116, 117,
+114, 110, 115, 32, 105, 116, 32, 98, 97, 99, 107, 32, 111, 110, 46, 34, 32, 61, 32, 34, 79, 32, 86, 105,
+115, 117, 97, 108, 105, 122, 101, 114, 32, 101, 115, 116, 97, 118, 97, 32, 100, 101, 115, 101, 110, 104, 97, 110,
+100, 111, 32, 99, 111, 109, 32, 97, 32, 71, 80, 85, 32, 40, 79, 112, 101, 110, 71, 76, 41, 32, 113, 117,
+97, 110, 100, 111, 32, 105, 115, 115, 111, 32, 97, 99, 111, 110, 116, 101, 99, 101, 117, 46, 32, 65, 103, 111,
+114, 97, 32, 101, 108, 101, 32, 100, 101, 115, 101, 110, 104, 97, 32, 115, 101, 109, 32, 97, 32, 71, 80, 85,
+59, 32, 111, 32, 98, 111, 116, 195, 163, 111, 32, 71, 80, 85, 32, 100, 101, 108, 101, 32, 97, 32, 108, 105,
+103, 97, 32, 100, 101, 32, 110, 111, 118, 111, 46, 34, 10, 34, 68, 114, 97, 119, 32, 116, 104, 101, 32, 115,
+99, 101, 110, 101, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 71, 80, 85, 32, 40, 79, 112, 101, 110, 71,
+76, 41, 58, 32, 110, 101, 101, 100, 101, 100, 32, 98, 121, 32, 116, 104, 101, 32, 115, 104, 97, 100, 101, 114,
+32, 108, 97, 121, 101, 114, 115, 32, 40, 67, 97, 110, 118, 97, 115, 44, 32, 84, 101, 114, 114, 97, 105, 110,
+44, 32, 51, 68, 44, 32, 70, 101, 101, 100, 98, 97, 99, 107, 44, 32, 80, 111, 115, 116, 45, 112, 114, 111,
+99, 101, 115, 115, 41, 32, 97, 110, 100, 32, 98, 108, 101, 110, 100, 32, 109, 111, 100, 101, 115, 46, 32, 79,
+102, 102, 58, 32, 116, 104, 101, 32, 50, 68, 32, 114, 101, 110, 100, 101, 114, 101, 114, 34, 32, 61, 32, 34,
+68, 101, 115, 101, 110, 104, 97, 114, 32, 97, 32, 99, 101, 110, 97, 32, 99, 111, 109, 32, 97, 32, 71, 80,
+85, 32, 40, 79, 112, 101, 110, 71, 76, 41, 58, 32, 110, 101, 99, 101, 115, 115, 195, 161, 114, 105, 111, 32,
+112, 97, 114, 97, 32, 97, 115, 32, 99, 97, 109, 97, 100, 97, 115, 32, 100, 101, 32, 115, 104, 97, 100, 101,
+114, 32, 40, 67, 97, 110, 118, 97, 115, 44, 32, 84, 101, 114, 114, 101, 110, 111, 44, 32, 51, 68, 44, 32,
+70, 101, 101, 100, 98, 97, 99, 107, 44, 32, 80, 195, 179, 115, 45, 112, 114, 111, 99, 101, 115, 115, 97, 109,
+101, 110, 116, 111, 41, 32, 101, 32, 111, 115, 32, 109, 111, 100, 111, 115, 32, 100, 101, 32, 109, 105, 115, 116,
+117, 114, 97, 46, 32, 68, 101, 115, 108, 105, 103, 97, 100, 111, 58, 32, 111, 32, 114, 101, 110, 100, 101, 114,
+105, 122, 97, 100, 111, 114, 32, 50, 68, 34, 10, 34, 72, 111, 119, 32, 116, 104, 101, 32, 108, 97, 121, 101,
+114, 32, 109, 105, 120, 101, 115, 32, 119, 105, 116, 104, 32, 116, 104, 101, 32, 111, 110, 101, 115, 32, 98, 101,
+108, 111, 119, 32, 105, 116, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 67, 111, 109, 111, 32, 97, 32,
+99, 97, 109, 97, 100, 97, 32, 115, 101, 32, 109, 105, 115, 116, 117, 114, 97, 32, 99, 111, 109, 32, 97, 115,
+32, 100, 101, 32, 98, 97, 105, 120, 111, 32, 40, 71, 80, 85, 41, 34, 10, 34, 66, 108, 101, 110, 100, 34,
+32, 61, 32, 34, 77, 105, 115, 116, 117, 114, 97, 34, 10, 34, 87, 105, 116, 104, 111, 117, 116, 32, 116, 104,
+101, 32, 71, 80, 85, 32, 116, 104, 105, 115, 32, 108, 97, 121, 101, 114, 32, 105, 115, 32, 100, 114, 97, 119,
+110, 32, 115, 105, 109, 112, 108, 105, 102, 105, 101, 100, 46, 34, 32, 61, 32, 34, 83, 101, 109, 32, 97, 32,
+71, 80, 85, 32, 101, 115, 116, 97, 32, 99, 97, 109, 97, 100, 97, 32, 195, 169, 32, 100, 101, 115, 101, 110,
+104, 97, 100, 97, 32, 115, 105, 109, 112, 108, 105, 102, 105, 99, 97, 100, 97, 46, 34, 10, 34, 84, 104, 105,
+115, 32, 108, 97, 121, 101, 114, 32, 110, 101, 101, 100, 115, 32, 116, 104, 101, 32, 71, 80, 85, 32, 40, 116,
+117, 114, 110, 32, 71, 80, 85, 32, 111, 110, 41, 46, 34, 32, 61, 32, 34, 69, 115, 116, 97, 32, 99, 97,
+109, 97, 100, 97, 32, 112, 114, 101, 99, 105, 115, 97, 32, 100, 97, 32, 71, 80, 85, 32, 40, 108, 105, 103,
+117, 101, 32, 71, 80, 85, 41, 46, 34, 10, 34, 71, 80, 85, 32, 108, 97, 121, 101, 114, 115, 34, 32, 61,
+32, 34, 67, 97, 109, 97, 100, 97, 115, 32, 100, 101, 32, 71, 80, 85, 34, 10, 34, 67, 97, 110, 118, 97,
+115, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 67, 97, 110, 118, 97, 115, 32, 40, 71, 80, 85, 41,
+34, 10, 34, 84, 101, 114, 114, 97, 105, 110, 32, 51, 68, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34,
+84, 101, 114, 114, 101, 110, 111, 32, 51, 68, 32, 40, 71, 80, 85, 41, 34, 10, 34, 51, 68, 32, 111, 98,
+106, 101, 99, 116, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 79, 98, 106, 101, 116, 111, 32, 51, 68,
+32, 40, 71, 80, 85, 41, 34, 10, 34, 70, 101, 101, 100, 98, 97, 99, 107, 32, 40, 71, 80, 85, 41, 34,
+32, 61, 32, 34, 70, 101, 101, 100, 98, 97, 99, 107, 32, 40, 71, 80, 85, 41, 34, 10, 34, 80, 111, 115,
+116, 45, 112, 114, 111, 99, 101, 115, 115, 32, 40, 71, 80, 85, 41, 34, 32, 61, 32, 34, 80, 195, 179, 115,
+45, 112, 114, 111, 99, 101, 115, 115, 97, 109, 101, 110, 116, 111, 32, 40, 71, 80, 85, 41, 34, 10, 34, 83,
+99, 114, 101, 101, 110, 34, 32, 61, 32, 34, 84, 101, 108, 97, 34, 10, 34, 79, 118, 101, 114, 108, 97, 121,
+34, 32, 61, 32, 34, 83, 111, 98, 114, 101, 112, 111, 115, 105, 195, 167, 195, 163, 111, 34, 10, 34, 68, 105,
+102, 102, 101, 114, 101, 110, 99, 101, 34, 32, 61, 32, 34, 68, 105, 102, 101, 114, 101, 110, 195, 167, 97, 34,
+10, 34, 76, 105, 103, 104, 116, 101, 110, 34, 32, 61, 32, 34, 67, 108, 97, 114, 101, 97, 114, 34, 10, 34,
+68, 97, 114, 107, 101, 110, 34, 32, 61, 32, 34, 69, 115, 99, 117, 114, 101, 99, 101, 114, 34, 10, 34, 80,
+108, 97, 115, 109, 97, 34, 32, 61, 32, 34, 80, 108, 97, 115, 109, 97, 34, 10, 34, 84, 117, 110, 110, 101,
+108, 34, 32, 61, 32, 34, 84, 195, 186, 110, 101, 108, 34, 10, 34, 67, 101, 108, 108, 115, 34, 32, 61, 32,
+34, 67, 195, 169, 108, 117, 108, 97, 115, 34, 10, 34, 75, 97, 108, 101, 105, 100, 111, 115, 99, 111, 112, 101,
+34, 32, 61, 32, 34, 67, 97, 108, 101, 105, 100, 111, 115, 99, 195, 179, 112, 105, 111, 34, 10, 34, 67, 108,
+111, 117, 100, 115, 34, 32, 61, 32, 34, 78, 117, 118, 101, 110, 115, 34, 10, 34, 87, 97, 114, 112, 32, 115,
+116, 97, 114, 115, 34, 32, 61, 32, 34, 69, 115, 116, 114, 101, 108, 97, 115, 32, 101, 109, 32, 100, 111, 98,
+114, 97, 34, 10, 34, 69, 108, 101, 99, 116, 114, 105, 99, 34, 32, 61, 32, 34, 69, 108, 195, 169, 116, 114,
+105, 99, 111, 34, 10, 34, 83, 117, 110, 32, 114, 97, 121, 115, 34, 32, 61, 32, 34, 82, 97, 105, 111, 115,
+32, 100, 101, 32, 115, 111, 108, 34, 10, 34, 83, 112, 101, 99, 116, 114, 117, 109, 32, 109, 111, 117, 110, 116,
+97, 105, 110, 115, 34, 32, 61, 32, 34, 77, 111, 110, 116, 97, 110, 104, 97, 115, 32, 100, 111, 32, 101, 115,
+112, 101, 99, 116, 114, 111, 34, 10, 34, 83, 104, 97, 100, 101, 100, 32, 104, 105, 108, 108, 115, 34, 32, 61,
+32, 34, 67, 111, 108, 105, 110, 97, 115, 32, 115, 111, 109, 98, 114, 101, 97, 100, 97, 115, 34, 10, 34, 82,
+101, 116, 114, 111, 32, 114, 111, 97, 100, 34, 32, 61, 32, 34, 69, 115, 116, 114, 97, 100, 97, 32, 114, 101,
+116, 114, 195, 180, 34, 10, 34, 82, 101, 97, 99, 116, 105, 118, 101, 32, 115, 112, 104, 101, 114, 101, 34, 32,
+61, 32, 34, 69, 115, 102, 101, 114, 97, 32, 114, 101, 97, 116, 105, 118, 97, 34, 10, 34, 84, 111, 114, 117,
+115, 34, 32, 61, 32, 34, 84, 111, 114, 111, 34, 10, 34, 67, 117, 98, 101, 32, 103, 114, 105, 100, 34, 32,
+61, 32, 34, 71, 114, 97, 100, 101, 32, 100, 101, 32, 99, 117, 98, 111, 115, 34, 10, 34, 82, 105, 110, 103,
+32, 116, 117, 110, 110, 101, 108, 34, 32, 61, 32, 34, 84, 195, 186, 110, 101, 108, 32, 100, 101, 32, 97, 110,
+195, 169, 105, 115, 34, 10, 34, 90, 111, 111, 109, 32, 116, 114, 97, 105, 108, 115, 34, 32, 61, 32, 34, 82,
+97, 115, 116, 114, 111, 115, 32, 99, 111, 109, 32, 122, 111, 111, 109, 34, 10, 34, 83, 112, 105, 110, 32, 116,
+117, 110, 110, 101, 108, 34, 32, 61, 32, 34, 84, 195, 186, 110, 101, 108, 32, 103, 105, 114, 97, 116, 195, 179,
+114, 105, 111, 34, 10, 34, 75, 97, 108, 101, 105, 100, 111, 32, 102, 101, 101, 100, 98, 97, 99, 107, 34, 32,
+61, 32, 34, 70, 101, 101, 100, 98, 97, 99, 107, 32, 99, 97, 108, 101, 105, 100, 111, 115, 99, 195, 179, 112,
+105, 99, 111, 34, 10, 34, 83, 109, 111, 107, 101, 32, 100, 114, 105, 102, 116, 34, 32, 61, 32, 34, 70, 117,
+109, 97, 195, 167, 97, 32, 115, 117, 98, 105, 110, 100, 111, 34, 10, 34, 66, 108, 111, 111, 109, 34, 32, 61,
+32, 34, 66, 114, 105, 108, 104, 111, 32, 40, 98, 108, 111, 111, 109, 41, 34, 10, 34, 82, 71, 66, 32, 115,
+104, 105, 102, 116, 34, 32, 61, 32, 34, 68, 101, 115, 118, 105, 111, 32, 82, 71, 66, 34, 10, 34, 80, 105,
+120, 101, 108, 97, 116, 101, 34, 32, 61, 32, 34, 80, 105, 120, 101, 108, 105, 122, 97, 114, 34, 10, 34, 68,
+111, 116, 32, 109, 97, 116, 114, 105, 120, 34, 32, 61, 32, 34, 77, 97, 116, 114, 105, 122, 32, 100, 101, 32,
+112, 111, 110, 116, 111, 115, 34, 10, 34, 83, 99, 97, 110, 32, 108, 105, 110, 101, 115, 34, 32, 61, 32, 34,
+76, 105, 110, 104, 97, 115, 32, 100, 101, 32, 118, 97, 114, 114, 101, 100, 117, 114, 97, 34, 10, 34, 86, 105,
+103, 110, 101, 116, 116, 101, 34, 32, 61, 32, 34, 86, 105, 110, 104, 101, 116, 97, 34, 10, 34, 67, 111, 108,
+111, 117, 114, 32, 99, 111, 114, 114, 101, 99, 116, 105, 111, 110, 34, 32, 61, 32, 34, 67, 111, 114, 114, 101,
+195, 167, 195, 163, 111, 32, 100, 101, 32, 99, 111, 114, 34, 10, 34, 69, 100, 103, 101, 32, 100, 101, 116, 101,
+99, 116, 34, 32, 61, 32, 34, 68, 101, 116, 101, 99, 195, 167, 195, 163, 111, 32, 100, 101, 32, 98, 111, 114,
+100, 97, 115, 34, 10, 34, 83, 104, 97, 107, 101, 34, 32, 61, 32, 34, 84, 114, 101, 109, 111, 114, 34, 10,
+34, 71, 108, 105, 116, 99, 104, 34, 32, 61, 32, 34, 71, 108, 105, 116, 99, 104, 34, 10, 34, 70, 105, 108,
+109, 32, 103, 114, 97, 105, 110, 34, 32, 61, 32, 34, 71, 114, 97, 110, 117, 108, 97, 195, 167, 195, 163, 111,
+32, 100, 101, 32, 102, 105, 108, 109, 101, 34, 10, 34, 73, 110, 118, 101, 114, 116, 32, 111, 110, 32, 98, 101,
+97, 116, 34, 32, 61, 32, 34, 73, 110, 118, 101, 114, 116, 101, 114, 32, 110, 97, 32, 98, 97, 116, 105, 100,
+97, 34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 99, 97, 108, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58,
+32, 99, 111, 108, 111, 117, 114, 32, 98, 97, 110, 100, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 108, 97,
+121, 101, 114, 115, 32, 111, 102, 32, 119, 97, 118, 101, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32,
+101, 115, 99, 97, 108, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 102, 97, 105, 120, 97, 115, 32, 100,
+101, 32, 99, 111, 114, 44, 32, 67, 111, 117, 110, 116, 58, 32, 99, 97, 109, 97, 100, 97, 115, 32, 100, 101,
+32, 111, 110, 100, 97, 115, 34, 10, 34, 83, 105, 122, 101, 58, 32, 114, 105, 110, 103, 32, 115, 112, 97, 99,
+105, 110, 103, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 119, 105, 115, 116, 44, 32, 83, 112, 101, 101,
+100, 58, 32, 102, 108, 105, 103, 104, 116, 32, 115, 112, 101, 101, 100, 34, 32, 61, 32, 34, 83, 105, 122, 101,
+58, 32, 101, 115, 112, 97, 195, 167, 111, 32, 101, 110, 116, 114, 101, 32, 97, 110, 195, 169, 105, 115, 44, 32,
+65, 109, 111, 117, 110, 116, 58, 32, 116, 111, 114, 195, 167, 195, 163, 111, 44, 32, 83, 112, 101, 101, 100, 58,
+32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32, 100, 111, 32, 118, 111, 111, 34, 10, 34, 83, 105, 122,
+101, 58, 32, 99, 101, 108, 108, 32, 115, 105, 122, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 98, 111,
+114, 100, 101, 114, 32, 103, 108, 111, 119, 44, 32, 67, 111, 117, 110, 116, 58, 32, 100, 101, 116, 97, 105, 108,
+34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 97, 32, 99, 195,
+169, 108, 117, 108, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 98, 114, 105, 108, 104, 111, 32, 100, 97,
+32, 98, 111, 114, 100, 97, 44, 32, 67, 111, 117, 110, 116, 58, 32, 100, 101, 116, 97, 108, 104, 101, 34, 10,
+34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 108,
+100, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 105, 116, 101, 114, 97, 116, 105, 111, 110, 115, 34, 32, 61,
+32, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 111,
+98, 114, 97, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 105, 116, 101, 114, 97, 195, 167, 195, 181, 101, 115,
+34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 99, 97, 108, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32,
+100, 101, 110, 115, 105, 116, 121, 44, 32, 83, 112, 101, 101, 100, 58, 32, 100, 114, 105, 102, 116, 34, 32, 61,
+32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 99, 97, 108, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32,
+100, 101, 110, 115, 105, 100, 97, 100, 101, 44, 32, 83, 112, 101, 101, 100, 58, 32, 100, 101, 114, 105, 118, 97,
+34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 116, 97, 114, 32, 115, 105, 122, 101, 44, 32, 65, 109, 111, 117,
+110, 116, 58, 32, 115, 116, 114, 101, 97, 107, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 100, 101, 110, 115,
+105, 116, 121, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 97,
+32, 101, 115, 116, 114, 101, 108, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 114, 97, 115, 116, 114, 111,
+115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 100, 101, 110, 115, 105, 100, 97, 100, 101, 34, 10, 34, 83, 105,
+122, 101, 58, 32, 116, 104, 105, 99, 107, 110, 101, 115, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 106,
+105, 116, 116, 101, 114, 44, 32, 67, 111, 117, 110, 116, 58, 32, 98, 111, 108, 116, 115, 34, 32, 61, 32, 34,
+83, 105, 122, 101, 58, 32, 101, 115, 112, 101, 115, 115, 117, 114, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58,
+32, 116, 114, 101, 109, 111, 114, 44, 32, 67, 111, 117, 110, 116, 58, 32, 114, 97, 105, 111, 115, 34, 10, 34,
+83, 105, 122, 101, 58, 32, 115, 117, 110, 32, 115, 105, 122, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32,
+114, 97, 121, 32, 115, 116, 114, 101, 110, 103, 116, 104, 44, 32, 67, 111, 117, 110, 116, 58, 32, 114, 97, 121,
+115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 111, 32, 115,
+111, 108, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 114, 195, 167, 97, 32, 100, 111, 115, 32, 114,
+97, 105, 111, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 114, 97, 105, 111, 115, 34, 10, 34, 84, 104, 101,
+32, 115, 112, 101, 99, 116, 114, 117, 109, 39, 115, 32, 104, 105, 115, 116, 111, 114, 121, 32, 97, 115, 32, 97,
+32, 119, 105, 114, 101, 32, 108, 97, 110, 100, 115, 99, 97, 112, 101, 46, 32, 83, 105, 122, 101, 58, 32, 104,
+101, 105, 103, 104, 116, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 108, 105, 110, 101, 32, 103, 108, 111, 119,
+44, 32, 67, 111, 117, 110, 116, 58, 32, 114, 111, 119, 115, 34, 32, 61, 32, 34, 79, 32, 104, 105, 115, 116,
+195, 179, 114, 105, 99, 111, 32, 100, 111, 32, 101, 115, 112, 101, 99, 116, 114, 111, 32, 99, 111, 109, 111, 32,
+112, 97, 105, 115, 97, 103, 101, 109, 32, 100, 101, 32, 97, 114, 97, 109, 101, 46, 32, 83, 105, 122, 101, 58,
+32, 97, 108, 116, 117, 114, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 98, 114, 105, 108, 104, 111, 32,
+100, 97, 115, 32, 108, 105, 110, 104, 97, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 102, 105, 108, 101, 105,
+114, 97, 115, 34, 10, 34, 65, 32, 108, 105, 116, 32, 108, 97, 110, 100, 115, 99, 97, 112, 101, 32, 115, 104,
+97, 112, 101, 100, 32, 98, 121, 32, 116, 104, 101, 32, 115, 112, 101, 99, 116, 114, 117, 109, 46, 32, 83, 105,
+122, 101, 58, 32, 104, 101, 105, 103, 104, 116, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 103, 44,
 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 105, 103, 104, 116, 32, 115, 112, 101, 101, 100, 34, 32, 61, 32,
-34, 65, 110, 195, 169, 105, 115, 32, 112, 97, 115, 115, 97, 110, 100, 111, 46, 32, 83, 105, 122, 101, 58, 32,
-114, 97, 105, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 112, 101, 115, 115, 117, 114, 97, 44,
-32, 83, 112, 101, 101, 100, 58, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32, 100, 111, 32, 118, 111,
-111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 32, 112, 101, 114, 32, 102, 114, 97, 109, 101,
-44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 104, 111, 119, 32, 108, 111, 110, 103, 32, 116, 114, 97, 105, 108,
-115, 32, 108, 97, 115, 116, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 32, 112, 111,
-114, 32, 113, 117, 97, 100, 114, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 113, 117, 97, 110, 116, 111,
-32, 100, 117, 114, 97, 109, 32, 111, 115, 32, 114, 97, 115, 116, 114, 111, 115, 34, 10, 34, 83, 105, 122, 101,
-58, 32, 122, 111, 111, 109, 32, 112, 101, 114, 32, 102, 114, 97, 109, 101, 44, 32, 83, 112, 101, 101, 100, 58,
-32, 114, 111, 116, 97, 116, 105, 111, 110, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114, 97, 105, 108,
-32, 108, 101, 110, 103, 116, 104, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 32, 112,
-111, 114, 32, 113, 117, 97, 100, 114, 111, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111, 116, 97, 195, 167,
-195, 163, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 109, 112, 114, 105, 109, 101, 110, 116, 111,
-32, 100, 111, 32, 114, 97, 115, 116, 114, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44,
-32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114, 97, 105, 108, 32, 108, 101, 110, 103, 116, 104, 44, 32, 67,
-111, 117, 110, 116, 58, 32, 109, 105, 114, 114, 111, 114, 32, 102, 111, 108, 100, 115, 34, 32, 61, 32, 34, 83,
-105, 122, 101, 58, 32, 122, 111, 111, 109, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 109, 112, 114,
-105, 109, 101, 110, 116, 111, 32, 100, 111, 32, 114, 97, 115, 116, 114, 111, 44, 32, 67, 111, 117, 110, 116, 58,
-32, 100, 111, 98, 114, 97, 115, 32, 100, 111, 32, 101, 115, 112, 101, 108, 104, 111, 34, 10, 34, 83, 105, 122,
-101, 58, 32, 119, 97, 114, 112, 32, 115, 99, 97, 108, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116,
-114, 97, 105, 108, 32, 108, 101, 110, 103, 116, 104, 44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 111, 119,
-34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 99, 97, 108, 97, 32, 100, 97, 32, 100, 105, 115,
-116, 111, 114, 195, 167, 195, 163, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 109, 112, 114, 105,
-109, 101, 110, 116, 111, 32, 100, 111, 32, 114, 97, 115, 116, 114, 111, 44, 32, 83, 112, 101, 101, 100, 58, 32,
-102, 108, 117, 120, 111, 34, 10, 34, 65, 109, 111, 117, 110, 116, 58, 32, 104, 111, 119, 32, 108, 111, 110, 103,
-32, 116, 104, 101, 32, 112, 105, 99, 116, 117, 114, 101, 32, 115, 116, 97, 121, 115, 34, 32, 61, 32, 34, 65,
-109, 111, 117, 110, 116, 58, 32, 113, 117, 97, 110, 116, 111, 32, 116, 101, 109, 112, 111, 32, 97, 32, 105, 109,
-97, 103, 101, 109, 32, 102, 105, 99, 97, 34, 10, 34, 83, 112, 101, 101, 100, 58, 32, 114, 105, 115, 101, 44,
-32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114, 97, 105, 108, 32, 108, 101, 110, 103, 116, 104, 44, 32, 83,
-105, 122, 101, 58, 32, 115, 112, 114, 101, 97, 100, 34, 32, 61, 32, 34, 83, 112, 101, 101, 100, 58, 32, 115,
-117, 98, 105, 100, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 109, 112, 114, 105, 109, 101, 110,
-116, 111, 32, 100, 111, 32, 114, 97, 115, 116, 114, 111, 44, 32, 83, 105, 122, 101, 58, 32, 101, 115, 112, 97,
-108, 104, 97, 109, 101, 110, 116, 111, 34, 10, 34, 71, 108, 111, 119, 32, 97, 114, 111, 117, 110, 100, 32, 98,
-114, 105, 103, 104, 116, 32, 112, 97, 114, 116, 115, 46, 32, 65, 109, 111, 117, 110, 116, 58, 32, 115, 116, 114,
-101, 110, 103, 116, 104, 44, 32, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 67, 111, 117,
-110, 116, 58, 32, 116, 104, 114, 101, 115, 104, 111, 108, 100, 34, 32, 61, 32, 34, 66, 114, 105, 108, 104, 111,
-32, 101, 109, 32, 118, 111, 108, 116, 97, 32, 100, 97, 115, 32, 112, 97, 114, 116, 101, 115, 32, 99, 108, 97,
-114, 97, 115, 46, 32, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 114, 195, 167, 97, 44, 32, 83, 105, 122,
-101, 58, 32, 114, 97, 105, 111, 44, 32, 67, 111, 117, 110, 116, 58, 32, 108, 105, 109, 105, 97, 114, 34, 10,
-34, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 82, 101, 97, 99, 116, 58, 32, 116, 104,
-101, 32, 98, 97, 110, 100, 32, 98, 108, 117, 114, 115, 32, 105, 116, 32, 109, 111, 114, 101, 34, 32, 61, 32,
-34, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32, 82, 101, 97, 99, 116, 58, 32, 97, 32, 98, 97,
-110, 100, 97, 32, 100, 101, 115, 102, 111, 99, 97, 32, 109, 97, 105, 115, 34, 10, 34, 65, 109, 111, 117, 110,
-116, 58, 32, 99, 111, 108, 111, 117, 114, 32, 115, 112, 108, 105, 116, 44, 32, 82, 101, 97, 99, 116, 58, 32,
-116, 104, 101, 32, 98, 97, 110, 100, 32, 112, 117, 115, 104, 101, 115, 32, 105, 116, 34, 32, 61, 32, 34, 65,
-109, 111, 117, 110, 116, 58, 32, 115, 101, 112, 97, 114, 97, 195, 167, 195, 163, 111, 32, 100, 97, 115, 32, 99,
-111, 114, 101, 115, 44, 32, 82, 101, 97, 99, 116, 58, 32, 97, 32, 98, 97, 110, 100, 97, 32, 101, 109, 112,
-117, 114, 114, 97, 34, 10, 34, 83, 105, 122, 101, 58, 32, 112, 105, 120, 101, 108, 32, 115, 105, 122, 101, 34,
-32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 111, 32, 112, 105, 120,
-101, 108, 34, 10, 34, 83, 105, 122, 101, 58, 32, 100, 111, 116, 32, 115, 105, 122, 101, 44, 32, 65, 109, 111,
-117, 110, 116, 58, 32, 100, 111, 116, 32, 115, 104, 97, 114, 112, 110, 101, 115, 115, 34, 32, 61, 32, 34, 83,
-105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 111, 32, 112, 111, 110, 116, 111, 44, 32, 65,
-109, 111, 117, 110, 116, 58, 32, 110, 105, 116, 105, 100, 101, 122, 32, 100, 111, 32, 112, 111, 110, 116, 111, 34,
-10, 34, 83, 105, 122, 101, 58, 32, 108, 105, 110, 101, 32, 115, 112, 97, 99, 105, 110, 103, 44, 32, 65, 109,
-111, 117, 110, 116, 58, 32, 100, 97, 114, 107, 110, 101, 115, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114,
-111, 108, 108, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 101, 115, 112, 97, 195, 167, 111, 32, 101, 110,
-116, 114, 101, 32, 108, 105, 110, 104, 97, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 99, 117,
-114, 101, 99, 105, 109, 101, 110, 116, 111, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111, 108, 97, 103, 101,
-109, 34, 10, 34, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 65, 109, 111, 117, 110, 116,
-58, 32, 100, 97, 114, 107, 110, 101, 115, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 114, 97, 105,
-111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 99, 117, 114, 101, 99, 105, 109, 101, 110, 116, 111,
-34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 97, 116, 117, 114, 97, 116, 105, 111, 110, 44, 32, 65, 109, 111,
-117, 110, 116, 58, 32, 99, 111, 110, 116, 114, 97, 115, 116, 44, 32, 83, 112, 101, 101, 100, 58, 32, 104, 117,
-101, 32, 100, 114, 105, 102, 116, 44, 32, 99, 111, 108, 111, 117, 114, 32, 65, 58, 32, 116, 105, 110, 116, 34,
-32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 115, 97, 116, 117, 114, 97, 195, 167, 195, 163, 111, 44, 32, 65,
-109, 111, 117, 110, 116, 58, 32, 99, 111, 110, 116, 114, 97, 115, 116, 101, 44, 32, 83, 112, 101, 101, 100, 58,
-32, 100, 101, 114, 105, 118, 97, 32, 100, 101, 32, 109, 97, 116, 105, 122, 44, 32, 99, 111, 114, 32, 65, 58,
-32, 116, 105, 110, 103, 105, 109, 101, 110, 116, 111, 34, 10, 34, 67, 111, 117, 110, 116, 58, 32, 102, 111, 108,
-100, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111, 116, 97, 116, 105, 111, 110, 34, 32, 61, 32, 34,
-67, 111, 117, 110, 116, 58, 32, 100, 111, 98, 114, 97, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111,
-116, 97, 195, 167, 195, 163, 111, 34, 10, 34, 67, 111, 117, 110, 116, 58, 32, 49, 32, 108, 101, 102, 116, 45,
-114, 105, 103, 104, 116, 44, 32, 50, 32, 116, 111, 112, 45, 98, 111, 116, 116, 111, 109, 44, 32, 51, 32, 98,
-111, 116, 104, 34, 32, 61, 32, 34, 67, 111, 117, 110, 116, 58, 32, 49, 32, 101, 115, 113, 117, 101, 114, 100,
-97, 45, 100, 105, 114, 101, 105, 116, 97, 44, 32, 50, 32, 99, 105, 109, 97, 45, 98, 97, 105, 120, 111, 44,
-32, 51, 32, 97, 109, 98, 111, 115, 34, 10, 34, 65, 109, 111, 117, 110, 116, 58, 32, 101, 100, 103, 101, 32,
-115, 116, 114, 101, 110, 103, 116, 104, 44, 32, 99, 111, 108, 111, 117, 114, 32, 65, 58, 32, 101, 100, 103, 101,
-32, 99, 111, 108, 111, 117, 114, 34, 32, 61, 32, 34, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 114, 195,
-167, 97, 32, 100, 97, 32, 98, 111, 114, 100, 97, 44, 32, 99, 111, 114, 32, 65, 58, 32, 99, 111, 114, 32,
-100, 97, 32, 98, 111, 114, 100, 97, 34, 10, 34, 65, 109, 111, 117, 110, 116, 58, 32, 104, 111, 119, 32, 102,
-97, 114, 32, 116, 104, 101, 32, 98, 101, 97, 116, 32, 115, 104, 97, 107, 101, 115, 32, 116, 104, 101, 32, 112,
-105, 99, 116, 117, 114, 101, 34, 32, 61, 32, 34, 65, 109, 111, 117, 110, 116, 58, 32, 111, 32, 113, 117, 97,
-110, 116, 111, 32, 97, 32, 98, 97, 116, 105, 100, 97, 32, 115, 97, 99, 111, 100, 101, 32, 97, 32, 105, 109,
-97, 103, 101, 109, 34, 10, 34, 65, 109, 111, 117, 110, 116, 58, 32, 104, 111, 119, 32, 111, 102, 116, 101, 110,
-32, 115, 108, 105, 99, 101, 115, 32, 106, 117, 109, 112, 44, 32, 82, 101, 97, 99, 116, 58, 32, 116, 104, 101,
-32, 98, 97, 110, 100, 32, 116, 114, 105, 103, 103, 101, 114, 115, 32, 105, 116, 34, 32, 61, 32, 34, 65, 109,
-111, 117, 110, 116, 58, 32, 102, 114, 101, 113, 117, 195, 170, 110, 99, 105, 97, 32, 99, 111, 109, 32, 113, 117,
-101, 32, 97, 115, 32, 102, 97, 105, 120, 97, 115, 32, 112, 117, 108, 97, 109, 44, 32, 82, 101, 97, 99, 116,
-58, 32, 97, 32, 98, 97, 110, 100, 97, 32, 100, 105, 115, 112, 97, 114, 97, 34, 10, 34, 65, 109, 111, 117,
-110, 116, 58, 32, 103, 114, 97, 105, 110, 32, 115, 116, 114, 101, 110, 103, 116, 104, 34, 32, 61, 32, 34, 65,
-109, 111, 117, 110, 116, 58, 32, 102, 111, 114, 195, 167, 97, 32, 100, 97, 32, 103, 114, 97, 110, 117, 108, 97,
-195, 167, 195, 163, 111, 34, 10, 34, 82, 101, 97, 99, 116, 58, 32, 104, 111, 119, 32, 109, 117, 99, 104, 32,
-116, 104, 101, 32, 98, 97, 110, 100, 32, 105, 110, 118, 101, 114, 116, 115, 32, 116, 104, 101, 32, 99, 111, 108,
-111, 117, 114, 115, 34, 32, 61, 32, 34, 82, 101, 97, 99, 116, 58, 32, 111, 32, 113, 117, 97, 110, 116, 111,
-32, 97, 32, 98, 97, 110, 100, 97, 32, 105, 110, 118, 101, 114, 116, 101, 32, 97, 115, 32, 99, 111, 114, 101,
-115, 34, 10, 34, 70, 114, 101, 101, 115, 116, 121, 108, 101, 34, 32, 61, 32, 34, 69, 115, 116, 105, 108, 111,
-32, 108, 105, 118, 114, 101, 34, 10, 34, 87, 97, 105, 116, 105, 110, 103, 34, 32, 61, 32, 34, 69, 115, 112,
-101, 114, 97, 110, 100, 111, 34, 10, 34, 83, 116, 101, 112, 112, 105, 110, 103, 34, 32, 61, 32, 34, 80, 97,
-115, 115, 105, 110, 104, 111, 34, 10, 34, 74, 117, 109, 112, 105, 110, 103, 34, 32, 61, 32, 34, 80, 117, 108,
-97, 110, 100, 111, 34, 10, 34, 90, 111, 109, 98, 105, 101, 34, 32, 61, 32, 34, 90, 117, 109, 98, 105, 34,
-10, 34, 87, 97, 118, 105, 110, 103, 34, 32, 61, 32, 34, 65, 99, 101, 110, 97, 110, 100, 111, 34, 10, 34,
-72, 117, 108, 97, 34, 32, 61, 32, 34, 72, 117, 108, 97, 34, 10, 34, 87, 105, 110, 100, 109, 105, 108, 108,
-34, 32, 61, 32, 34, 77, 111, 105, 110, 104, 111, 34, 10, 34, 70, 108, 97, 105, 108, 105, 110, 103, 34, 32,
-61, 32, 34, 65, 103, 105, 116, 97, 110, 100, 111, 34, 10, 34, 83, 112, 105, 110, 110, 105, 110, 103, 34, 32,
-61, 32, 34, 71, 105, 114, 97, 110, 100, 111, 34, 10, 34, 80, 111, 115, 101, 34, 32, 61, 32, 34, 80, 111,
-115, 101, 34, 10, 34, 77, 105, 114, 114, 111, 114, 101, 100, 34, 32, 61, 32, 34, 69, 115, 112, 101, 108, 104,
-97, 100, 111, 34, 10, 34, 72, 105, 100, 101, 32, 116, 104, 101, 32, 100, 97, 110, 99, 101, 114, 34, 32, 61,
-32, 34, 69, 115, 99, 111, 110, 100, 101, 114, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 34,
-10, 34, 83, 101, 116, 116, 105, 110, 103, 115, 46, 46, 46, 34, 32, 61, 32, 34, 67, 111, 110, 102, 105, 103,
-117, 114, 97, 195, 167, 195, 181, 101, 115, 46, 46, 46, 34, 10, 34, 83, 104, 111, 119, 32, 116, 104, 101, 32,
-100, 97, 110, 99, 101, 114, 34, 32, 61, 32, 34, 77, 111, 115, 116, 114, 97, 114, 32, 111, 32, 100, 97, 110,
-195, 167, 97, 114, 105, 110, 111, 34, 10, 34, 79, 117, 116, 102, 105, 116, 32, 99, 111, 108, 111, 117, 114, 46,
-46, 46, 34, 32, 61, 32, 34, 67, 111, 114, 32, 100, 97, 32, 114, 111, 117, 112, 97, 46, 46, 46, 34, 10,
-34, 79, 117, 116, 102, 105, 116, 32, 99, 111, 108, 111, 117, 114, 34, 32, 61, 32, 34, 67, 111, 114, 32, 100,
-97, 32, 114, 111, 117, 112, 97, 34, 10, 34, 80, 117, 116, 32, 116, 104, 101, 32, 100, 97, 110, 99, 101, 114,
-32, 98, 97, 99, 107, 34, 32, 61, 32, 34, 80, 195, 180, 114, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114,
-105, 110, 111, 32, 100, 101, 32, 118, 111, 108, 116, 97, 34, 10, 34, 76, 89, 78, 88, 32, 68, 97, 110, 99,
-101, 34, 32, 61, 32, 34, 76, 89, 78, 88, 32, 68, 97, 110, 99, 101, 34, 10, 34, 70, 114, 117, 105, 116,
-121, 32, 68, 97, 110, 99, 101, 39, 115, 32, 114, 111, 108, 101, 32, 119, 105, 116, 104, 32, 76, 89, 78, 88,
-39, 115, 32, 111, 119, 110, 32, 100, 97, 110, 99, 101, 114, 58, 32, 105, 116, 32, 109, 97, 107, 101, 115, 32,
-110, 111, 32, 115, 111, 117, 110, 100, 46, 32, 73, 116, 115, 32, 110, 111, 116, 101, 115, 32, 112, 105, 99, 107,
-32, 116, 104, 101, 32, 109, 111, 118, 101, 59, 32, 100, 114, 97, 103, 32, 116, 104, 101, 32, 100, 97, 110, 99,
-101, 114, 32, 116, 111, 32, 112, 108, 97, 99, 101, 32, 105, 116, 44, 32, 114, 105, 103, 104, 116, 45, 99, 108,
-105, 99, 107, 32, 105, 116, 32, 102, 111, 114, 32, 105, 116, 115, 32, 109, 111, 118, 101, 115, 46, 34, 32, 61,
-32, 34, 79, 32, 112, 97, 112, 101, 108, 32, 100, 111, 32, 70, 114, 117, 105, 116, 121, 32, 68, 97, 110, 99,
-101, 32, 99, 111, 109, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 32, 112, 114, 195, 179, 112,
-114, 105, 111, 32, 100, 111, 32, 76, 89, 78, 88, 58, 32, 110, 195, 163, 111, 32, 102, 97, 122, 32, 115, 111,
-109, 46, 32, 65, 115, 32, 110, 111, 116, 97, 115, 32, 101, 115, 99, 111, 108, 104, 101, 109, 32, 111, 32, 112,
-97, 115, 115, 111, 59, 32, 97, 114, 114, 97, 115, 116, 101, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105,
-110, 111, 32, 112, 97, 114, 97, 32, 112, 111, 115, 105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 44, 32, 99,
-108, 105, 113, 117, 101, 32, 99, 111, 109, 32, 111, 32, 98, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105,
-116, 111, 32, 112, 97, 114, 97, 32, 118, 101, 114, 32, 111, 115, 32, 112, 97, 115, 115, 111, 115, 46, 34, 10,
-34, 77, 111, 118, 101, 34, 32, 61, 32, 34, 80, 97, 115, 115, 111, 34, 10, 34, 75, 101, 121, 115, 32, 40,
-97, 115, 32, 105, 110, 32, 70, 76, 39, 115, 32, 70, 114, 117, 105, 116, 121, 32, 68, 97, 110, 99, 101, 41,
-58, 32, 123, 48, 125, 46, 32, 70, 114, 111, 109, 32, 123, 49, 125, 32, 100, 111, 119, 110, 58, 32, 116, 104,
-101, 32, 115, 97, 109, 101, 32, 109, 111, 118, 101, 115, 32, 109, 105, 114, 114, 111, 114, 101, 100, 46, 32, 123,
-50, 125, 32, 104, 105, 100, 101, 115, 32, 116, 104, 101, 32, 100, 97, 110, 99, 101, 114, 44, 32, 123, 51, 125,
-32, 115, 104, 111, 119, 115, 32, 105, 116, 46, 34, 32, 61, 32, 34, 84, 101, 99, 108, 97, 115, 32, 40, 99,
-111, 109, 111, 32, 110, 111, 32, 70, 114, 117, 105, 116, 121, 32, 68, 97, 110, 99, 101, 32, 100, 111, 32, 70,
-76, 41, 58, 32, 123, 48, 125, 46, 32, 68, 101, 32, 123, 49, 125, 32, 112, 97, 114, 97, 32, 98, 97, 105,
-120, 111, 58, 32, 111, 115, 32, 109, 101, 115, 109, 111, 115, 32, 112, 97, 115, 115, 111, 115, 32, 101, 115, 112,
-101, 108, 104, 97, 100, 111, 115, 46, 32, 123, 50, 125, 32, 101, 115, 99, 111, 110, 100, 101, 32, 111, 32, 100,
-97, 110, 195, 167, 97, 114, 105, 110, 111, 44, 32, 123, 51, 125, 32, 109, 111, 115, 116, 114, 97, 46, 34, 10,
-35, 32, 114, 111, 117, 110, 100, 32, 49, 54, 53, 32, 40, 108, 105, 110, 117, 120, 109, 111, 117, 115, 101, 49,
-54, 53, 41, 58, 32, 70, 76, 39, 115, 32, 112, 111, 105, 110, 116, 32, 101, 100, 105, 116, 105, 110, 103, 32,
-40, 87, 97, 118, 101, 83, 104, 97, 112, 101, 114, 44, 32, 97, 117, 116, 111, 109, 97, 116, 105, 111, 110, 44,
-32, 99, 117, 114, 118, 101, 32, 101, 100, 105, 116, 111, 114, 115, 41, 10, 34, 80, 111, 105, 110, 116, 58, 32,
-91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 109, 111, 118, 101, 115, 44, 32, 116, 104, 101, 110, 32, 91,
-83, 104, 105, 102, 116, 93, 32, 107, 101, 101, 112, 115, 32, 116, 105, 109, 101, 44, 32, 91, 67, 116, 114, 108,
-93, 32, 107, 101, 101, 112, 115, 32, 118, 97, 108, 117, 101, 32, 32, 91, 65, 108, 116, 93, 32, 110, 111, 32,
-115, 110, 97, 112, 32, 32, 91, 82, 77, 66, 93, 32, 109, 101, 110, 117, 34, 32, 61, 32, 34, 80, 111, 110,
-116, 111, 58, 32, 91, 76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116, 97, 114, 32, 109, 111, 118, 101, 44,
-32, 100, 101, 112, 111, 105, 115, 32, 91, 83, 104, 105, 102, 116, 93, 32, 109, 97, 110, 116, 195, 169, 109, 32,
-111, 32, 116, 101, 109, 112, 111, 44, 32, 91, 67, 116, 114, 108, 93, 32, 109, 97, 110, 116, 195, 169, 109, 32,
-111, 32, 118, 97, 108, 111, 114, 32, 32, 91, 65, 108, 116, 93, 32, 115, 101, 109, 32, 103, 114, 97, 100, 101,
-32, 32, 91, 82, 77, 66, 93, 32, 109, 101, 110, 117, 34, 10, 34, 84, 101, 110, 115, 105, 111, 110, 58, 32,
-91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 117, 112, 32, 47, 32, 100, 111, 119, 110, 32, 98, 101, 110,
-100, 115, 32, 116, 104, 101, 32, 115, 101, 103, 109, 101, 110, 116, 32, 40, 91, 67, 116, 114, 108, 93, 32, 102,
-105, 110, 101, 41, 32, 32, 91, 82, 77, 66, 93, 32, 115, 116, 114, 97, 105, 103, 104, 116, 34, 32, 61, 32,
-34, 84, 101, 110, 115, 195, 163, 111, 58, 32, 91, 76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116, 97, 114,
-32, 112, 97, 114, 97, 32, 99, 105, 109, 97, 32, 47, 32, 98, 97, 105, 120, 111, 32, 99, 117, 114, 118, 97,
-32, 111, 32, 115, 101, 103, 109, 101, 110, 116, 111, 32, 40, 91, 67, 116, 114, 108, 93, 32, 102, 105, 110, 111,
-41, 32, 32, 91, 82, 77, 66, 93, 32, 114, 101, 116, 111, 34, 10, 34, 91, 76, 77, 66, 93, 32, 111, 114,
-32, 91, 82, 77, 66, 93, 32, 110, 101, 119, 32, 112, 111, 105, 110, 116, 32, 40, 104, 111, 108, 100, 32, 97,
-110, 100, 32, 100, 114, 97, 103, 41, 32, 32, 91, 83, 104, 105, 102, 116, 93, 91, 82, 77, 66, 93, 32, 112,
-111, 105, 110, 116, 32, 111, 110, 32, 116, 104, 101, 32, 99, 117, 114, 118, 101, 32, 32, 91, 65, 108, 116, 93,
-91, 76, 77, 66, 93, 32, 98, 101, 110, 100, 32, 32, 91, 67, 116, 114, 108, 93, 91, 87, 104, 101, 101, 108,
-93, 32, 122, 111, 111, 109, 32, 32, 91, 77, 77, 66, 93, 32, 115, 99, 114, 111, 108, 108, 34, 32, 61, 32,
-34, 91, 76, 77, 66, 93, 32, 111, 117, 32, 91, 82, 77, 66, 93, 32, 110, 111, 118, 111, 32, 112, 111, 110,
-116, 111, 32, 40, 115, 101, 103, 117, 114, 101, 32, 101, 32, 97, 114, 114, 97, 115, 116, 101, 41, 32, 32, 91,
-83, 104, 105, 102, 116, 93, 91, 82, 77, 66, 93, 32, 112, 111, 110, 116, 111, 32, 115, 111, 98, 114, 101, 32,
-97, 32, 99, 117, 114, 118, 97, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93, 32, 99, 117, 114, 118,
-97, 114, 32, 32, 91, 67, 116, 114, 108, 93, 91, 82, 111, 100, 97, 93, 32, 122, 111, 111, 109, 32, 32, 91,
-77, 77, 66, 93, 32, 114, 111, 108, 97, 114, 34, 10, 34, 87, 104, 111, 108, 101, 32, 99, 117, 114, 118, 101,
-34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 105, 110, 116, 101, 105, 114, 97, 34, 10, 34, 82, 105, 103,
-104, 116, 45, 99, 108, 105, 99, 107, 32, 111, 114, 32, 100, 111, 117, 98, 108, 101, 45, 99, 108, 105, 99, 107,
-32, 97, 100, 100, 115, 32, 97, 32, 112, 111, 105, 110, 116, 44, 32, 100, 114, 97, 103, 32, 109, 111, 118, 101,
-115, 32, 105, 116, 44, 32, 65, 108, 116, 43, 99, 108, 105, 99, 107, 32, 100, 101, 108, 101, 116, 101, 115, 32,
-105, 116, 44, 32, 65, 108, 116, 43, 100, 114, 97, 103, 32, 98, 101, 110, 100, 115, 32, 97, 32, 115, 101, 103,
-109, 101, 110, 116, 34, 32, 61, 32, 34, 67, 108, 105, 113, 117, 101, 32, 100, 105, 114, 101, 105, 116, 111, 32,
-111, 117, 32, 100, 117, 112, 108, 111, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 112, 111, 110,
-116, 111, 44, 32, 97, 114, 114, 97, 115, 116, 97, 114, 32, 109, 111, 118, 101, 44, 32, 65, 108, 116, 43, 99,
-108, 105, 113, 117, 101, 32, 101, 120, 99, 108, 117, 105, 44, 32, 65, 108, 116, 43, 97, 114, 114, 97, 115, 116,
-97, 114, 32, 99, 117, 114, 118, 97, 32, 117, 109, 32, 115, 101, 103, 109, 101, 110, 116, 111, 34, 10, 34, 67,
-117, 114, 118, 101, 58, 32, 91, 76, 77, 66, 93, 32, 111, 114, 32, 91, 82, 77, 66, 93, 32, 97, 100, 100,
-115, 32, 97, 32, 112, 111, 105, 110, 116, 32, 40, 104, 111, 108, 100, 32, 97, 110, 100, 32, 100, 114, 97, 103,
-32, 116, 111, 32, 112, 108, 97, 99, 101, 32, 105, 116, 41, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 58,
-32, 91, 76, 77, 66, 93, 32, 111, 117, 32, 91, 82, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110, 97,
-32, 117, 109, 32, 112, 111, 110, 116, 111, 32, 40, 115, 101, 103, 117, 114, 101, 32, 101, 32, 97, 114, 114, 97,
-115, 116, 101, 32, 112, 97, 114, 97, 32, 112, 111, 115, 105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 41, 34,
-10, 34, 66, 101, 110, 100, 105, 110, 103, 32, 116, 104, 101, 32, 115, 101, 103, 109, 101, 110, 116, 58, 32, 100,
-114, 97, 103, 32, 117, 112, 32, 47, 32, 100, 111, 119, 110, 32, 32, 91, 67, 116, 114, 108, 93, 32, 102, 105,
-110, 101, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 110, 100, 111, 32, 111, 32, 115, 101, 103, 109, 101, 110,
-116, 111, 58, 32, 97, 114, 114, 97, 115, 116, 101, 32, 112, 97, 114, 97, 32, 99, 105, 109, 97, 32, 47, 32,
-98, 97, 105, 120, 111, 32, 32, 91, 67, 116, 114, 108, 93, 32, 102, 105, 110, 111, 34, 10, 34, 91, 82, 77,
-66, 93, 32, 97, 100, 100, 115, 32, 97, 32, 112, 111, 105, 110, 116, 32, 104, 101, 114, 101, 32, 40, 104, 111,
-108, 100, 32, 97, 110, 100, 32, 100, 114, 97, 103, 32, 116, 111, 32, 112, 108, 97, 99, 101, 32, 105, 116, 41,
-32, 32, 91, 83, 104, 105, 102, 116, 93, 91, 82, 77, 66, 93, 32, 111, 110, 32, 116, 104, 101, 32, 99, 117,
-114, 118, 101, 34, 32, 61, 32, 34, 91, 82, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117,
-109, 32, 112, 111, 110, 116, 111, 32, 97, 113, 117, 105, 32, 40, 115, 101, 103, 117, 114, 101, 32, 101, 32, 97,
-114, 114, 97, 115, 116, 101, 32, 112, 97, 114, 97, 32, 112, 111, 115, 105, 99, 105, 111, 110, 195, 161, 45, 108,
-111, 41, 32, 32, 91, 83, 104, 105, 102, 116, 93, 91, 82, 77, 66, 93, 32, 115, 111, 98, 114, 101, 32, 97,
-32, 99, 117, 114, 118, 97, 34, 10, 34, 80, 101, 114, 99, 101, 110, 116, 32, 40, 45, 49, 48, 48, 32, 116,
-111, 32, 49, 48, 48, 41, 34, 32, 61, 32, 34, 80, 111, 114, 99, 101, 110, 116, 97, 103, 101, 109, 32, 40,
-45, 49, 48, 48, 32, 97, 32, 49, 48, 48, 41, 34, 10, 34, 80, 111, 105, 110, 116, 58, 32, 91, 76, 77,
-66, 93, 32, 100, 114, 97, 103, 32, 109, 111, 118, 101, 115, 32, 40, 91, 83, 104, 105, 102, 116, 93, 32, 107,
-101, 101, 112, 115, 32, 116, 104, 101, 32, 108, 101, 118, 101, 108, 44, 32, 91, 67, 116, 114, 108, 93, 32, 116,
-104, 101, 32, 112, 111, 115, 105, 116, 105, 111, 110, 41, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93,
-32, 100, 101, 108, 101, 116, 101, 32, 32, 91, 82, 77, 66, 93, 32, 115, 104, 97, 112, 101, 44, 32, 118, 97,
-108, 117, 101, 44, 32, 100, 101, 108, 101, 116, 101, 34, 32, 61, 32, 34, 80, 111, 110, 116, 111, 58, 32, 91,
-76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116, 97, 114, 32, 109, 111, 118, 101, 32, 40, 91, 83, 104, 105,
-102, 116, 93, 32, 109, 97, 110, 116, 195, 169, 109, 32, 111, 32, 110, 195, 173, 118, 101, 108, 44, 32, 91, 67,
-116, 114, 108, 93, 32, 97, 32, 112, 111, 115, 105, 195, 167, 195, 163, 111, 41, 32, 32, 91, 65, 108, 116, 93,
-91, 76, 77, 66, 93, 32, 101, 120, 99, 108, 117, 105, 114, 32, 32, 91, 82, 77, 66, 93, 32, 102, 111, 114,
-109, 97, 44, 32, 118, 97, 108, 111, 114, 44, 32, 101, 120, 99, 108, 117, 105, 114, 34, 10, 34, 83, 104, 97,
-112, 105, 110, 103, 32, 99, 117, 114, 118, 101, 58, 32, 91, 82, 77, 66, 93, 32, 97, 100, 100, 32, 97, 32,
-112, 111, 105, 110, 116, 32, 40, 104, 111, 108, 100, 32, 97, 110, 100, 32, 100, 114, 97, 103, 32, 116, 111, 32,
-112, 108, 97, 99, 101, 32, 105, 116, 41, 32, 32, 91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 97, 32,
-112, 111, 105, 110, 116, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93, 32, 100, 101, 108, 101, 116, 101,
-32, 97, 32, 112, 111, 105, 110, 116, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 100, 101, 32, 100, 105,
-115, 116, 111, 114, 195, 167, 195, 163, 111, 58, 32, 91, 82, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110,
-97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 32, 40, 115, 101, 103, 117, 114, 101, 32, 101, 32, 97, 114, 114,
-97, 115, 116, 101, 32, 112, 97, 114, 97, 32, 112, 111, 115, 105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 41,
-32, 32, 91, 76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111,
-32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93, 32, 101, 120, 99, 108, 117, 105, 32, 117, 109, 32, 112,
-111, 110, 116, 111, 34, 10, 34, 84, 105, 109, 101, 32, 105, 110, 32, 123, 48, 125, 46, 32, 68, 114, 97, 103,
-32, 97, 32, 112, 111, 105, 110, 116, 44, 32, 114, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32, 111, 114,
-32, 100, 111, 117, 98, 108, 101, 45, 99, 108, 105, 99, 107, 32, 116, 111, 32, 97, 100, 100, 32, 111, 110, 101,
-44, 32, 114, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32, 105, 116, 32, 116, 111, 32, 114, 101, 109, 111,
-118, 101, 32, 105, 116, 44, 32, 100, 114, 97, 103, 32, 97, 32, 115, 101, 103, 109, 101, 110, 116, 32, 116, 111,
-32, 98, 101, 110, 100, 32, 105, 116, 46, 34, 32, 61, 32, 34, 84, 101, 109, 112, 111, 32, 101, 109, 32, 123,
-48, 125, 46, 32, 65, 114, 114, 97, 115, 116, 101, 32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 99, 108,
-105, 113, 117, 101, 32, 100, 105, 114, 101, 105, 116, 111, 32, 111, 117, 32, 100, 117, 112, 108, 111, 32, 112, 97,
-114, 97, 32, 97, 100, 105, 99, 105, 111, 110, 97, 114, 32, 117, 109, 44, 32, 99, 108, 105, 113, 117, 101, 32,
-100, 105, 114, 101, 105, 116, 111, 32, 110, 101, 108, 101, 32, 112, 97, 114, 97, 32, 114, 101, 109, 111, 118, 195,
-170, 45, 108, 111, 44, 32, 97, 114, 114, 97, 115, 116, 101, 32, 117, 109, 32, 115, 101, 103, 109, 101, 110, 116,
-111, 32, 112, 97, 114, 97, 32, 99, 117, 114, 118, 195, 161, 45, 108, 111, 46, 34, 10, 34, 83, 105, 110, 103,
-108, 101, 32, 99, 117, 114, 118, 101, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 115, 105, 109, 112, 108,
-101, 115, 34, 10, 34, 83, 105, 110, 103, 108, 101, 32, 99, 117, 114, 118, 101, 32, 50, 34, 32, 61, 32, 34,
-67, 117, 114, 118, 97, 32, 115, 105, 109, 112, 108, 101, 115, 32, 50, 34, 10, 34, 83, 105, 110, 103, 108, 101,
-32, 99, 117, 114, 118, 101, 32, 51, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 115, 105, 109, 112, 108,
-101, 115, 32, 51, 34, 10, 34, 68, 111, 117, 98, 108, 101, 32, 99, 117, 114, 118, 101, 34, 32, 61, 32, 34,
-67, 117, 114, 118, 97, 32, 100, 117, 112, 108, 97, 34, 10, 34, 68, 111, 117, 98, 108, 101, 32, 99, 117, 114,
-118, 101, 32, 50, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 100, 117, 112, 108, 97, 32, 50, 34, 10,
-34, 68, 111, 117, 98, 108, 101, 32, 99, 117, 114, 118, 101, 32, 51, 34, 32, 61, 32, 34, 67, 117, 114, 118,
-97, 32, 100, 117, 112, 108, 97, 32, 51, 34, 10, 34, 72, 97, 108, 102, 32, 115, 105, 110, 101, 34, 32, 61,
-32, 34, 77, 101, 105, 111, 32, 115, 101, 110, 111, 34, 10, 34, 83, 116, 97, 105, 114, 115, 34, 32, 61, 32,
-34, 69, 115, 99, 97, 100, 97, 34, 10, 34, 83, 109, 111, 111, 116, 104, 32, 115, 116, 97, 105, 114, 115, 34,
-32, 61, 32, 34, 69, 115, 99, 97, 100, 97, 32, 115, 117, 97, 118, 101, 34, 10, 34, 87, 97, 118, 101, 34,
-32, 61, 32, 34, 79, 110, 100, 97, 34, 10, 35, 32, 45, 45, 45, 32, 82, 111, 117, 110, 100, 32, 49, 54,
-53, 97, 32, 40, 105, 115, 115, 117, 101, 32, 35, 49, 49, 58, 32, 70, 76, 32, 109, 117, 115, 99, 108, 101,
-32, 109, 101, 109, 111, 114, 121, 41, 10, 34, 72, 101, 97, 114, 105, 110, 103, 32, 116, 104, 101, 32, 107, 101,
-121, 58, 32, 102, 117, 114, 116, 104, 101, 114, 32, 114, 105, 103, 104, 116, 32, 111, 110, 32, 97, 32, 107, 101,
-121, 32, 61, 32, 108, 111, 117, 100, 101, 114, 34, 32, 61, 32, 34, 79, 117, 118, 105, 110, 100, 111, 32, 97,
-32, 116, 101, 99, 108, 97, 58, 32, 109, 97, 105, 115, 32, 195, 160, 32, 100, 105, 114, 101, 105, 116, 97, 32,
-110, 97, 32, 116, 101, 99, 108, 97, 32, 61, 32, 109, 97, 105, 115, 32, 102, 111, 114, 116, 101, 34, 10, 34,
-118, 101, 108, 32, 123, 48, 125, 34, 32, 61, 32, 34, 118, 101, 108, 32, 123, 48, 125, 34, 10, 34, 65, 32,
-110, 97, 109, 101, 32, 102, 111, 114, 32, 92, 34, 123, 48, 125, 92, 34, 32, 105, 110, 32, 116, 104, 101, 32,
-80, 108, 117, 103, 105, 110, 32, 100, 97, 116, 97, 98, 97, 115, 101, 32, 97, 110, 100, 32, 116, 104, 101, 32,
-109, 101, 110, 117, 115, 46, 32, 83, 116, 97, 114, 116, 32, 105, 116, 32, 119, 105, 116, 104, 32, 97, 32, 100,
-105, 103, 105, 116, 32, 111, 114, 32, 108, 101, 116, 116, 101, 114, 32, 111, 102, 32, 105, 116, 115, 32, 111, 119,
-110, 32, 40, 92, 34, 49, 95, 69, 81, 92, 34, 44, 32, 92, 34, 50, 95, 76, 105, 109, 105, 116, 101, 114,
-92, 34, 41, 58, 32, 111, 110, 32, 97, 110, 32, 101, 109, 112, 116, 121, 32, 109, 105, 120, 101, 114, 32, 115,
-108, 111, 116, 32, 40, 111, 114, 32, 105, 110, 32, 116, 104, 101, 32, 67, 104, 97, 110, 110, 101, 108, 32, 82,
-97, 99, 107, 39, 115, 32, 97, 100, 100, 32, 109, 101, 110, 117, 41, 32, 116, 121, 112, 105, 110, 103, 32, 105,
-116, 32, 97, 100, 100, 115, 32, 116, 104, 101, 32, 112, 108, 117, 103, 105, 110, 46, 32, 69, 109, 112, 116, 121,
-58, 32, 116, 104, 101, 32, 111, 114, 105, 103, 105, 110, 97, 108, 32, 110, 97, 109, 101, 46, 34, 32, 61, 32,
-34, 85, 109, 32, 110, 111, 109, 101, 32, 112, 97, 114, 97, 32, 92, 34, 123, 48, 125, 92, 34, 32, 110, 111,
-32, 66, 97, 110, 99, 111, 32, 100, 101, 32, 112, 108, 117, 103, 105, 110, 115, 32, 101, 32, 110, 111, 115, 32,
-109, 101, 110, 117, 115, 46, 32, 67, 111, 109, 101, 99, 101, 32, 99, 111, 109, 32, 117, 109, 32, 100, 195, 173,
-103, 105, 116, 111, 32, 111, 117, 32, 108, 101, 116, 114, 97, 32, 115, 195, 179, 32, 100, 101, 108, 101, 32, 40,
-92, 34, 49, 95, 69, 81, 92, 34, 44, 32, 92, 34, 50, 95, 76, 105, 109, 105, 116, 101, 114, 92, 34, 41,
-58, 32, 110, 117, 109, 32, 115, 108, 111, 116, 32, 118, 97, 122, 105, 111, 32, 100, 111, 32, 109, 105, 120, 101,
-114, 32, 40, 111, 117, 32, 110, 111, 32, 109, 101, 110, 117, 32, 100, 101, 32, 97, 100, 105, 99, 105, 111, 110,
-97, 114, 32, 100, 111, 32, 67, 104, 97, 110, 110, 101, 108, 32, 82, 97, 99, 107, 41, 44, 32, 100, 105, 103,
-105, 116, 195, 161, 45, 108, 111, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 111, 32, 112, 108, 117, 103, 105,
-110, 46, 32, 86, 97, 122, 105, 111, 58, 32, 111, 32, 110, 111, 109, 101, 32, 111, 114, 105, 103, 105, 110, 97,
-108, 46, 34, 10, 34, 65, 102, 116, 101, 114, 32, 116, 104, 101, 32, 112, 97, 116, 116, 101, 114, 110, 39, 115,
-32, 101, 110, 100, 58, 32, 91, 76, 77, 66, 93, 32, 97, 100, 100, 115, 32, 97, 32, 115, 116, 101, 112, 32,
-97, 110, 100, 32, 109, 97, 107, 101, 115, 32, 116, 104, 101, 32, 112, 97, 116, 116, 101, 114, 110, 32, 108, 111,
-110, 103, 101, 114, 34, 32, 61, 32, 34, 68, 101, 112, 111, 105, 115, 32, 100, 111, 32, 102, 105, 109, 32, 100,
-111, 32, 112, 97, 116, 116, 101, 114, 110, 58, 32, 91, 76, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110,
-97, 32, 117, 109, 32, 115, 116, 101, 112, 32, 101, 32, 97, 117, 109, 101, 110, 116, 97, 32, 111, 32, 112, 97,
-116, 116, 101, 114, 110, 34, 10, 34, 67, 108, 111, 115, 101, 32, 97, 108, 108, 32, 112, 108, 117, 103, 105, 110,
-32, 119, 105, 110, 100, 111, 119, 115, 34, 32, 61, 32, 34, 70, 101, 99, 104, 97, 114, 32, 116, 111, 100, 97,
-115, 32, 97, 115, 32, 106, 97, 110, 101, 108, 97, 115, 32, 100, 101, 32, 112, 108, 117, 103, 105, 110, 115, 34,
-10, 34, 67, 108, 111, 115, 101, 32, 97, 108, 108, 32, 119, 105, 110, 100, 111, 119, 115, 32, 40, 112, 108, 117,
-103, 105, 110, 115, 44, 32, 99, 104, 97, 110, 110, 101, 108, 32, 115, 101, 116, 116, 105, 110, 103, 115, 44, 32,
-116, 111, 111, 108, 115, 41, 34, 32, 61, 32, 34, 70, 101, 99, 104, 97, 114, 32, 116, 111, 100, 97, 115, 32,
-97, 115, 32, 106, 97, 110, 101, 108, 97, 115, 32, 40, 112, 108, 117, 103, 105, 110, 115, 44, 32, 99, 111, 110,
-102, 105, 103, 117, 114, 97, 195, 167, 195, 181, 101, 115, 32, 100, 101, 32, 99, 97, 110, 97, 108, 44, 32, 102,
-101, 114, 114, 97, 109, 101, 110, 116, 97, 115, 41, 34, 10, 34, 68, 101, 108, 101, 116, 101, 32, 116, 104, 101,
-32, 115, 101, 108, 101, 99, 116, 101, 100, 32, 101, 102, 102, 101, 99, 116, 32, 115, 108, 111, 116, 39, 115, 32,
-112, 108, 117, 103, 105, 110, 34, 32, 61, 32, 34, 65, 112, 97, 103, 97, 114, 32, 111, 32, 112, 108, 117, 103,
-105, 110, 32, 100, 111, 32, 115, 108, 111, 116, 32, 100, 101, 32, 101, 102, 101, 105, 116, 111, 32, 115, 101, 108,
-101, 99, 105, 111, 110, 97, 100, 111, 34, 10, 34, 77, 73, 68, 73, 32, 115, 101, 116, 116, 105, 110, 103, 115,
-34, 32, 61, 32, 34, 67, 111, 110, 102, 105, 103, 117, 114, 97, 195, 167, 195, 181, 101, 115, 32, 100, 101, 32,
-77, 73, 68, 73, 34, 10, 34, 79, 114, 105, 103, 105, 110, 97, 108, 32, 110, 97, 109, 101, 34, 32, 61, 32,
-34, 78, 111, 109, 101, 32, 111, 114, 105, 103, 105, 110, 97, 108, 34, 10, 34, 80, 108, 117, 103, 105, 110, 32,
-100, 97, 116, 97, 98, 97, 115, 101, 32, 40, 105, 110, 32, 116, 104, 101, 32, 66, 114, 111, 119, 115, 101, 114,
-41, 34, 32, 61, 32, 34, 66, 97, 110, 99, 111, 32, 100, 101, 32, 112, 108, 117, 103, 105, 110, 115, 32, 40,
-110, 111, 32, 66, 114, 111, 119, 115, 101, 114, 41, 34, 10, 34, 82, 101, 110, 97, 109, 101, 32, 112, 108, 117,
-103, 105, 110, 34, 32, 61, 32, 34, 82, 101, 110, 111, 109, 101, 97, 114, 32, 112, 108, 117, 103, 105, 110, 34,
-10, 34, 82, 101, 110, 97, 109, 101, 32, 116, 104, 101, 32, 115, 101, 108, 101, 99, 116, 101, 100, 32, 112, 108,
-117, 103, 105, 110, 32, 40, 80, 108, 117, 103, 105, 110, 32, 100, 97, 116, 97, 98, 97, 115, 101, 41, 34, 32,
-61, 32, 34, 82, 101, 110, 111, 109, 101, 97, 114, 32, 111, 32, 112, 108, 117, 103, 105, 110, 32, 115, 101, 108,
-101, 99, 105, 111, 110, 97, 100, 111, 32, 40, 66, 97, 110, 99, 111, 32, 100, 101, 32, 112, 108, 117, 103, 105,
-110, 115, 41, 34, 10, 34, 82, 101, 110, 97, 109, 101, 100, 32, 112, 108, 117, 103, 105, 110, 115, 32, 40, 116,
-121, 112, 101, 32, 116, 104, 101, 32, 102, 105, 114, 115, 116, 32, 99, 104, 97, 114, 97, 99, 116, 101, 114, 41,
-34, 32, 61, 32, 34, 80, 108, 117, 103, 105, 110, 115, 32, 114, 101, 110, 111, 109, 101, 97, 100, 111, 115, 32,
-40, 100, 105, 103, 105, 116, 101, 32, 111, 32, 112, 114, 105, 109, 101, 105, 114, 111, 32, 99, 97, 114, 97, 99,
-116, 101, 114, 101, 41, 34, 10, 34, 84, 114, 97, 99, 107, 32, 104, 101, 105, 103, 104, 116, 32, 40, 118, 101,
-114, 116, 105, 99, 97, 108, 32, 122, 111, 111, 109, 41, 34, 32, 61, 32, 34, 65, 108, 116, 117, 114, 97, 32,
-100, 97, 115, 32, 116, 114, 105, 108, 104, 97, 115, 32, 40, 122, 111, 111, 109, 32, 118, 101, 114, 116, 105, 99,
-97, 108, 41, 34, 10, 34, 84, 114, 97, 99, 107, 32, 104, 101, 105, 103, 104, 116, 32, 40, 118, 101, 114, 116,
-105, 99, 97, 108, 32, 122, 111, 111, 109, 41, 58, 32, 91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 117,
-112, 32, 47, 32, 100, 111, 119, 110, 32, 32, 91, 65, 108, 116, 93, 91, 87, 104, 101, 101, 108, 93, 32, 111,
-118, 101, 114, 32, 116, 104, 101, 32, 80, 108, 97, 121, 108, 105, 115, 116, 32, 32, 91, 50, 120, 76, 77, 66,
-93, 32, 49, 48, 48, 37, 34, 32, 61, 32, 34, 65, 108, 116, 117, 114, 97, 32, 100, 97, 115, 32, 116, 114,
-105, 108, 104, 97, 115, 32, 40, 122, 111, 111, 109, 32, 118, 101, 114, 116, 105, 99, 97, 108, 41, 58, 32, 91,
+34, 85, 109, 97, 32, 112, 97, 105, 115, 97, 103, 101, 109, 32, 105, 108, 117, 109, 105, 110, 97, 100, 97, 32,
+109, 111, 108, 100, 97, 100, 97, 32, 112, 101, 108, 111, 32, 101, 115, 112, 101, 99, 116, 114, 111, 46, 32, 83,
+105, 122, 101, 58, 32, 97, 108, 116, 117, 114, 97, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 110, 101, 98,
+108, 105, 110, 97, 44, 32, 83, 112, 101, 101, 100, 58, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32,
+100, 111, 32, 118, 111, 111, 34, 10, 34, 65, 32, 110, 101, 111, 110, 32, 103, 114, 105, 100, 32, 97, 110, 100,
+32, 97, 32, 115, 117, 110, 46, 32, 83, 105, 122, 101, 58, 32, 115, 117, 110, 32, 115, 105, 122, 101, 44, 32,
+65, 109, 111, 117, 110, 116, 58, 32, 103, 114, 105, 100, 32, 103, 108, 111, 119, 44, 32, 83, 112, 101, 101, 100,
+58, 32, 102, 108, 105, 103, 104, 116, 32, 115, 112, 101, 101, 100, 34, 32, 61, 32, 34, 85, 109, 97, 32, 103,
+114, 97, 100, 101, 32, 110, 101, 111, 110, 32, 101, 32, 117, 109, 32, 115, 111, 108, 46, 32, 83, 105, 122, 101,
+58, 32, 116, 97, 109, 97, 110, 104, 111, 32, 100, 111, 32, 115, 111, 108, 44, 32, 65, 109, 111, 117, 110, 116,
+58, 32, 98, 114, 105, 108, 104, 111, 32, 100, 97, 32, 103, 114, 97, 100, 101, 44, 32, 83, 112, 101, 101, 100,
+58, 32, 118, 101, 108, 111, 99, 105, 100, 97, 100, 101, 32, 100, 111, 32, 118, 111, 111, 34, 10, 34, 65, 32,
+115, 112, 104, 101, 114, 101, 32, 116, 104, 101, 32, 98, 97, 115, 115, 32, 100, 101, 102, 111, 114, 109, 115, 46,
+32, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100,
+101, 102, 111, 114, 109, 97, 116, 105, 111, 110, 44, 32, 83, 112, 101, 101, 100, 58, 32, 115, 112, 105, 110, 34,
+32, 61, 32, 34, 85, 109, 97, 32, 101, 115, 102, 101, 114, 97, 32, 113, 117, 101, 32, 111, 32, 103, 114, 97,
+118, 101, 32, 100, 101, 102, 111, 114, 109, 97, 46, 32, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32,
+65, 109, 111, 117, 110, 116, 58, 32, 100, 101, 102, 111, 114, 109, 97, 195, 167, 195, 163, 111, 44, 32, 83, 112,
+101, 101, 100, 58, 32, 103, 105, 114, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115,
+44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 104, 105, 99, 107, 110, 101, 115, 115, 44, 32, 83, 112, 101,
+101, 100, 58, 32, 115, 112, 105, 110, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44,
+32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 112, 101, 115, 115, 117, 114, 97, 44, 32, 83, 112, 101, 101,
+100, 58, 32, 103, 105, 114, 111, 34, 10, 34, 67, 111, 108, 117, 109, 110, 115, 32, 116, 104, 97, 116, 32, 102,
+111, 108, 108, 111, 119, 32, 116, 104, 101, 32, 115, 112, 101, 99, 116, 114, 117, 109, 46, 32, 83, 105, 122, 101,
+58, 32, 104, 101, 105, 103, 104, 116, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 115, 112, 97, 99, 105, 110,
+103, 44, 32, 67, 111, 117, 110, 116, 58, 32, 99, 111, 108, 117, 109, 110, 115, 34, 32, 61, 32, 34, 67, 111,
+108, 117, 110, 97, 115, 32, 113, 117, 101, 32, 115, 101, 103, 117, 101, 109, 32, 111, 32, 101, 115, 112, 101, 99,
+116, 114, 111, 46, 32, 83, 105, 122, 101, 58, 32, 97, 108, 116, 117, 114, 97, 44, 32, 65, 109, 111, 117, 110,
+116, 58, 32, 101, 115, 112, 97, 195, 167, 97, 109, 101, 110, 116, 111, 44, 32, 67, 111, 117, 110, 116, 58, 32,
+99, 111, 108, 117, 110, 97, 115, 34, 10, 34, 82, 105, 110, 103, 115, 32, 102, 108, 121, 105, 110, 103, 32, 112,
+97, 115, 116, 46, 32, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 65, 109, 111, 117, 110,
+116, 58, 32, 116, 104, 105, 99, 107, 110, 101, 115, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 105,
+103, 104, 116, 32, 115, 112, 101, 101, 100, 34, 32, 61, 32, 34, 65, 110, 195, 169, 105, 115, 32, 112, 97, 115,
+115, 97, 110, 100, 111, 46, 32, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32, 65, 109, 111, 117, 110,
+116, 58, 32, 101, 115, 112, 101, 115, 115, 117, 114, 97, 44, 32, 83, 112, 101, 101, 100, 58, 32, 118, 101, 108,
+111, 99, 105, 100, 97, 100, 101, 32, 100, 111, 32, 118, 111, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 122,
+111, 111, 109, 32, 112, 101, 114, 32, 102, 114, 97, 109, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 104,
+111, 119, 32, 108, 111, 110, 103, 32, 116, 114, 97, 105, 108, 115, 32, 108, 97, 115, 116, 34, 32, 61, 32, 34,
+83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 32, 112, 111, 114, 32, 113, 117, 97, 100, 114, 111, 44, 32, 65,
+109, 111, 117, 110, 116, 58, 32, 113, 117, 97, 110, 116, 111, 32, 100, 117, 114, 97, 109, 32, 111, 115, 32, 114,
+97, 115, 116, 114, 111, 115, 34, 10, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 32, 112, 101, 114, 32,
+102, 114, 97, 109, 101, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111, 116, 97, 116, 105, 111, 110, 44, 32,
+65, 109, 111, 117, 110, 116, 58, 32, 116, 114, 97, 105, 108, 32, 108, 101, 110, 103, 116, 104, 34, 32, 61, 32,
+34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 32, 112, 111, 114, 32, 113, 117, 97, 100, 114, 111, 44, 32,
+83, 112, 101, 101, 100, 58, 32, 114, 111, 116, 97, 195, 167, 195, 163, 111, 44, 32, 65, 109, 111, 117, 110, 116,
+58, 32, 99, 111, 109, 112, 114, 105, 109, 101, 110, 116, 111, 32, 100, 111, 32, 114, 97, 115, 116, 114, 111, 34,
+10, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114,
+97, 105, 108, 32, 108, 101, 110, 103, 116, 104, 44, 32, 67, 111, 117, 110, 116, 58, 32, 109, 105, 114, 114, 111,
+114, 32, 102, 111, 108, 100, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 122, 111, 111, 109, 44, 32,
+65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 109, 112, 114, 105, 109, 101, 110, 116, 111, 32, 100, 111, 32, 114,
+97, 115, 116, 114, 111, 44, 32, 67, 111, 117, 110, 116, 58, 32, 100, 111, 98, 114, 97, 115, 32, 100, 111, 32,
+101, 115, 112, 101, 108, 104, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 119, 97, 114, 112, 32, 115, 99, 97,
+108, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114, 97, 105, 108, 32, 108, 101, 110, 103, 116, 104,
+44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 111, 119, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32,
+101, 115, 99, 97, 108, 97, 32, 100, 97, 32, 100, 105, 115, 116, 111, 114, 195, 167, 195, 163, 111, 44, 32, 65,
+109, 111, 117, 110, 116, 58, 32, 99, 111, 109, 112, 114, 105, 109, 101, 110, 116, 111, 32, 100, 111, 32, 114, 97,
+115, 116, 114, 111, 44, 32, 83, 112, 101, 101, 100, 58, 32, 102, 108, 117, 120, 111, 34, 10, 34, 65, 109, 111,
+117, 110, 116, 58, 32, 104, 111, 119, 32, 108, 111, 110, 103, 32, 116, 104, 101, 32, 112, 105, 99, 116, 117, 114,
+101, 32, 115, 116, 97, 121, 115, 34, 32, 61, 32, 34, 65, 109, 111, 117, 110, 116, 58, 32, 113, 117, 97, 110,
+116, 111, 32, 116, 101, 109, 112, 111, 32, 97, 32, 105, 109, 97, 103, 101, 109, 32, 102, 105, 99, 97, 34, 10,
+34, 83, 112, 101, 101, 100, 58, 32, 114, 105, 115, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 116, 114,
+97, 105, 108, 32, 108, 101, 110, 103, 116, 104, 44, 32, 83, 105, 122, 101, 58, 32, 115, 112, 114, 101, 97, 100,
+34, 32, 61, 32, 34, 83, 112, 101, 101, 100, 58, 32, 115, 117, 98, 105, 100, 97, 44, 32, 65, 109, 111, 117,
+110, 116, 58, 32, 99, 111, 109, 112, 114, 105, 109, 101, 110, 116, 111, 32, 100, 111, 32, 114, 97, 115, 116, 114,
+111, 44, 32, 83, 105, 122, 101, 58, 32, 101, 115, 112, 97, 108, 104, 97, 109, 101, 110, 116, 111, 34, 10, 34,
+71, 108, 111, 119, 32, 97, 114, 111, 117, 110, 100, 32, 98, 114, 105, 103, 104, 116, 32, 112, 97, 114, 116, 115,
+46, 32, 65, 109, 111, 117, 110, 116, 58, 32, 115, 116, 114, 101, 110, 103, 116, 104, 44, 32, 83, 105, 122, 101,
+58, 32, 114, 97, 100, 105, 117, 115, 44, 32, 67, 111, 117, 110, 116, 58, 32, 116, 104, 114, 101, 115, 104, 111,
+108, 100, 34, 32, 61, 32, 34, 66, 114, 105, 108, 104, 111, 32, 101, 109, 32, 118, 111, 108, 116, 97, 32, 100,
+97, 115, 32, 112, 97, 114, 116, 101, 115, 32, 99, 108, 97, 114, 97, 115, 46, 32, 65, 109, 111, 117, 110, 116,
+58, 32, 102, 111, 114, 195, 167, 97, 44, 32, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32, 67, 111,
+117, 110, 116, 58, 32, 108, 105, 109, 105, 97, 114, 34, 10, 34, 83, 105, 122, 101, 58, 32, 114, 97, 100, 105,
+117, 115, 44, 32, 82, 101, 97, 99, 116, 58, 32, 116, 104, 101, 32, 98, 97, 110, 100, 32, 98, 108, 117, 114,
+115, 32, 105, 116, 32, 109, 111, 114, 101, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111,
+44, 32, 82, 101, 97, 99, 116, 58, 32, 97, 32, 98, 97, 110, 100, 97, 32, 100, 101, 115, 102, 111, 99, 97,
+32, 109, 97, 105, 115, 34, 10, 34, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 108, 111, 117, 114, 32, 115,
+112, 108, 105, 116, 44, 32, 82, 101, 97, 99, 116, 58, 32, 116, 104, 101, 32, 98, 97, 110, 100, 32, 112, 117,
+115, 104, 101, 115, 32, 105, 116, 34, 32, 61, 32, 34, 65, 109, 111, 117, 110, 116, 58, 32, 115, 101, 112, 97,
+114, 97, 195, 167, 195, 163, 111, 32, 100, 97, 115, 32, 99, 111, 114, 101, 115, 44, 32, 82, 101, 97, 99, 116,
+58, 32, 97, 32, 98, 97, 110, 100, 97, 32, 101, 109, 112, 117, 114, 114, 97, 34, 10, 34, 83, 105, 122, 101,
+58, 32, 112, 105, 120, 101, 108, 32, 115, 105, 122, 101, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116,
+97, 109, 97, 110, 104, 111, 32, 100, 111, 32, 112, 105, 120, 101, 108, 34, 10, 34, 83, 105, 122, 101, 58, 32,
+100, 111, 116, 32, 115, 105, 122, 101, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 111, 116, 32, 115, 104,
+97, 114, 112, 110, 101, 115, 115, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 116, 97, 109, 97, 110, 104,
+111, 32, 100, 111, 32, 112, 111, 110, 116, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 110, 105, 116, 105,
+100, 101, 122, 32, 100, 111, 32, 112, 111, 110, 116, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 108, 105, 110,
+101, 32, 115, 112, 97, 99, 105, 110, 103, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 97, 114, 107, 110,
+101, 115, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111, 108, 108, 34, 32, 61, 32, 34, 83, 105, 122,
+101, 58, 32, 101, 115, 112, 97, 195, 167, 111, 32, 101, 110, 116, 114, 101, 32, 108, 105, 110, 104, 97, 115, 44,
+32, 65, 109, 111, 117, 110, 116, 58, 32, 101, 115, 99, 117, 114, 101, 99, 105, 109, 101, 110, 116, 111, 44, 32,
+83, 112, 101, 101, 100, 58, 32, 114, 111, 108, 97, 103, 101, 109, 34, 10, 34, 83, 105, 122, 101, 58, 32, 114,
+97, 100, 105, 117, 115, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 100, 97, 114, 107, 110, 101, 115, 115, 34,
+32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 114, 97, 105, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32,
+101, 115, 99, 117, 114, 101, 99, 105, 109, 101, 110, 116, 111, 34, 10, 34, 83, 105, 122, 101, 58, 32, 115, 97,
+116, 117, 114, 97, 116, 105, 111, 110, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 110, 116, 114, 97,
+115, 116, 44, 32, 83, 112, 101, 101, 100, 58, 32, 104, 117, 101, 32, 100, 114, 105, 102, 116, 44, 32, 99, 111,
+108, 111, 117, 114, 32, 65, 58, 32, 116, 105, 110, 116, 34, 32, 61, 32, 34, 83, 105, 122, 101, 58, 32, 115,
+97, 116, 117, 114, 97, 195, 167, 195, 163, 111, 44, 32, 65, 109, 111, 117, 110, 116, 58, 32, 99, 111, 110, 116,
+114, 97, 115, 116, 101, 44, 32, 83, 112, 101, 101, 100, 58, 32, 100, 101, 114, 105, 118, 97, 32, 100, 101, 32,
+109, 97, 116, 105, 122, 44, 32, 99, 111, 114, 32, 65, 58, 32, 116, 105, 110, 103, 105, 109, 101, 110, 116, 111,
+34, 10, 34, 67, 111, 117, 110, 116, 58, 32, 102, 111, 108, 100, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32,
+114, 111, 116, 97, 116, 105, 111, 110, 34, 32, 61, 32, 34, 67, 111, 117, 110, 116, 58, 32, 100, 111, 98, 114,
+97, 115, 44, 32, 83, 112, 101, 101, 100, 58, 32, 114, 111, 116, 97, 195, 167, 195, 163, 111, 34, 10, 34, 67,
+111, 117, 110, 116, 58, 32, 49, 32, 108, 101, 102, 116, 45, 114, 105, 103, 104, 116, 44, 32, 50, 32, 116, 111,
+112, 45, 98, 111, 116, 116, 111, 109, 44, 32, 51, 32, 98, 111, 116, 104, 34, 32, 61, 32, 34, 67, 111, 117,
+110, 116, 58, 32, 49, 32, 101, 115, 113, 117, 101, 114, 100, 97, 45, 100, 105, 114, 101, 105, 116, 97, 44, 32,
+50, 32, 99, 105, 109, 97, 45, 98, 97, 105, 120, 111, 44, 32, 51, 32, 97, 109, 98, 111, 115, 34, 10, 34,
+65, 109, 111, 117, 110, 116, 58, 32, 101, 100, 103, 101, 32, 115, 116, 114, 101, 110, 103, 116, 104, 44, 32, 99,
+111, 108, 111, 117, 114, 32, 65, 58, 32, 101, 100, 103, 101, 32, 99, 111, 108, 111, 117, 114, 34, 32, 61, 32,
+34, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 114, 195, 167, 97, 32, 100, 97, 32, 98, 111, 114, 100, 97,
+44, 32, 99, 111, 114, 32, 65, 58, 32, 99, 111, 114, 32, 100, 97, 32, 98, 111, 114, 100, 97, 34, 10, 34,
+65, 109, 111, 117, 110, 116, 58, 32, 104, 111, 119, 32, 102, 97, 114, 32, 116, 104, 101, 32, 98, 101, 97, 116,
+32, 115, 104, 97, 107, 101, 115, 32, 116, 104, 101, 32, 112, 105, 99, 116, 117, 114, 101, 34, 32, 61, 32, 34,
+65, 109, 111, 117, 110, 116, 58, 32, 111, 32, 113, 117, 97, 110, 116, 111, 32, 97, 32, 98, 97, 116, 105, 100,
+97, 32, 115, 97, 99, 111, 100, 101, 32, 97, 32, 105, 109, 97, 103, 101, 109, 34, 10, 34, 65, 109, 111, 117,
+110, 116, 58, 32, 104, 111, 119, 32, 111, 102, 116, 101, 110, 32, 115, 108, 105, 99, 101, 115, 32, 106, 117, 109,
+112, 44, 32, 82, 101, 97, 99, 116, 58, 32, 116, 104, 101, 32, 98, 97, 110, 100, 32, 116, 114, 105, 103, 103,
+101, 114, 115, 32, 105, 116, 34, 32, 61, 32, 34, 65, 109, 111, 117, 110, 116, 58, 32, 102, 114, 101, 113, 117,
+195, 170, 110, 99, 105, 97, 32, 99, 111, 109, 32, 113, 117, 101, 32, 97, 115, 32, 102, 97, 105, 120, 97, 115,
+32, 112, 117, 108, 97, 109, 44, 32, 82, 101, 97, 99, 116, 58, 32, 97, 32, 98, 97, 110, 100, 97, 32, 100,
+105, 115, 112, 97, 114, 97, 34, 10, 34, 65, 109, 111, 117, 110, 116, 58, 32, 103, 114, 97, 105, 110, 32, 115,
+116, 114, 101, 110, 103, 116, 104, 34, 32, 61, 32, 34, 65, 109, 111, 117, 110, 116, 58, 32, 102, 111, 114, 195,
+167, 97, 32, 100, 97, 32, 103, 114, 97, 110, 117, 108, 97, 195, 167, 195, 163, 111, 34, 10, 34, 82, 101, 97,
+99, 116, 58, 32, 104, 111, 119, 32, 109, 117, 99, 104, 32, 116, 104, 101, 32, 98, 97, 110, 100, 32, 105, 110,
+118, 101, 114, 116, 115, 32, 116, 104, 101, 32, 99, 111, 108, 111, 117, 114, 115, 34, 32, 61, 32, 34, 82, 101,
+97, 99, 116, 58, 32, 111, 32, 113, 117, 97, 110, 116, 111, 32, 97, 32, 98, 97, 110, 100, 97, 32, 105, 110,
+118, 101, 114, 116, 101, 32, 97, 115, 32, 99, 111, 114, 101, 115, 34, 10, 34, 70, 114, 101, 101, 115, 116, 121,
+108, 101, 34, 32, 61, 32, 34, 69, 115, 116, 105, 108, 111, 32, 108, 105, 118, 114, 101, 34, 10, 34, 87, 97,
+105, 116, 105, 110, 103, 34, 32, 61, 32, 34, 69, 115, 112, 101, 114, 97, 110, 100, 111, 34, 10, 34, 83, 116,
+101, 112, 112, 105, 110, 103, 34, 32, 61, 32, 34, 80, 97, 115, 115, 105, 110, 104, 111, 34, 10, 34, 74, 117,
+109, 112, 105, 110, 103, 34, 32, 61, 32, 34, 80, 117, 108, 97, 110, 100, 111, 34, 10, 34, 90, 111, 109, 98,
+105, 101, 34, 32, 61, 32, 34, 90, 117, 109, 98, 105, 34, 10, 34, 87, 97, 118, 105, 110, 103, 34, 32, 61,
+32, 34, 65, 99, 101, 110, 97, 110, 100, 111, 34, 10, 34, 72, 117, 108, 97, 34, 32, 61, 32, 34, 72, 117,
+108, 97, 34, 10, 34, 87, 105, 110, 100, 109, 105, 108, 108, 34, 32, 61, 32, 34, 77, 111, 105, 110, 104, 111,
+34, 10, 34, 70, 108, 97, 105, 108, 105, 110, 103, 34, 32, 61, 32, 34, 65, 103, 105, 116, 97, 110, 100, 111,
+34, 10, 34, 83, 112, 105, 110, 110, 105, 110, 103, 34, 32, 61, 32, 34, 71, 105, 114, 97, 110, 100, 111, 34,
+10, 34, 80, 111, 115, 101, 34, 32, 61, 32, 34, 80, 111, 115, 101, 34, 10, 34, 77, 105, 114, 114, 111, 114,
+101, 100, 34, 32, 61, 32, 34, 69, 115, 112, 101, 108, 104, 97, 100, 111, 34, 10, 34, 72, 105, 100, 101, 32,
+116, 104, 101, 32, 100, 97, 110, 99, 101, 114, 34, 32, 61, 32, 34, 69, 115, 99, 111, 110, 100, 101, 114, 32,
+111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 34, 10, 34, 83, 101, 116, 116, 105, 110, 103, 115, 46,
+46, 46, 34, 32, 61, 32, 34, 67, 111, 110, 102, 105, 103, 117, 114, 97, 195, 167, 195, 181, 101, 115, 46, 46,
+46, 34, 10, 34, 83, 104, 111, 119, 32, 116, 104, 101, 32, 100, 97, 110, 99, 101, 114, 34, 32, 61, 32, 34,
+77, 111, 115, 116, 114, 97, 114, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 34, 10, 34, 79,
+117, 116, 102, 105, 116, 32, 99, 111, 108, 111, 117, 114, 46, 46, 46, 34, 32, 61, 32, 34, 67, 111, 114, 32,
+100, 97, 32, 114, 111, 117, 112, 97, 46, 46, 46, 34, 10, 34, 79, 117, 116, 102, 105, 116, 32, 99, 111, 108,
+111, 117, 114, 34, 32, 61, 32, 34, 67, 111, 114, 32, 100, 97, 32, 114, 111, 117, 112, 97, 34, 10, 34, 80,
+117, 116, 32, 116, 104, 101, 32, 100, 97, 110, 99, 101, 114, 32, 98, 97, 99, 107, 34, 32, 61, 32, 34, 80,
+195, 180, 114, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 32, 100, 101, 32, 118, 111, 108, 116,
+97, 34, 10, 34, 76, 89, 78, 88, 32, 68, 97, 110, 99, 101, 34, 32, 61, 32, 34, 76, 89, 78, 88, 32,
+68, 97, 110, 99, 101, 34, 10, 34, 70, 114, 117, 105, 116, 121, 32, 68, 97, 110, 99, 101, 39, 115, 32, 114,
+111, 108, 101, 32, 119, 105, 116, 104, 32, 76, 89, 78, 88, 39, 115, 32, 111, 119, 110, 32, 100, 97, 110, 99,
+101, 114, 58, 32, 105, 116, 32, 109, 97, 107, 101, 115, 32, 110, 111, 32, 115, 111, 117, 110, 100, 46, 32, 73,
+116, 115, 32, 110, 111, 116, 101, 115, 32, 112, 105, 99, 107, 32, 116, 104, 101, 32, 109, 111, 118, 101, 59, 32,
+100, 114, 97, 103, 32, 116, 104, 101, 32, 100, 97, 110, 99, 101, 114, 32, 116, 111, 32, 112, 108, 97, 99, 101,
+32, 105, 116, 44, 32, 114, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32, 105, 116, 32, 102, 111, 114, 32,
+105, 116, 115, 32, 109, 111, 118, 101, 115, 46, 34, 32, 61, 32, 34, 79, 32, 112, 97, 112, 101, 108, 32, 100,
+111, 32, 70, 114, 117, 105, 116, 121, 32, 68, 97, 110, 99, 101, 32, 99, 111, 109, 32, 111, 32, 100, 97, 110,
+195, 167, 97, 114, 105, 110, 111, 32, 112, 114, 195, 179, 112, 114, 105, 111, 32, 100, 111, 32, 76, 89, 78, 88,
+58, 32, 110, 195, 163, 111, 32, 102, 97, 122, 32, 115, 111, 109, 46, 32, 65, 115, 32, 110, 111, 116, 97, 115,
+32, 101, 115, 99, 111, 108, 104, 101, 109, 32, 111, 32, 112, 97, 115, 115, 111, 59, 32, 97, 114, 114, 97, 115,
+116, 101, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 32, 112, 97, 114, 97, 32, 112, 111, 115,
+105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 44, 32, 99, 108, 105, 113, 117, 101, 32, 99, 111, 109, 32, 111,
+32, 98, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105, 116, 111, 32, 112, 97, 114, 97, 32, 118, 101, 114,
+32, 111, 115, 32, 112, 97, 115, 115, 111, 115, 46, 34, 10, 34, 77, 111, 118, 101, 34, 32, 61, 32, 34, 80,
+97, 115, 115, 111, 34, 10, 34, 75, 101, 121, 115, 32, 40, 97, 115, 32, 105, 110, 32, 70, 76, 39, 115, 32,
+70, 114, 117, 105, 116, 121, 32, 68, 97, 110, 99, 101, 41, 58, 32, 123, 48, 125, 46, 32, 70, 114, 111, 109,
+32, 123, 49, 125, 32, 100, 111, 119, 110, 58, 32, 116, 104, 101, 32, 115, 97, 109, 101, 32, 109, 111, 118, 101,
+115, 32, 109, 105, 114, 114, 111, 114, 101, 100, 46, 32, 123, 50, 125, 32, 104, 105, 100, 101, 115, 32, 116, 104,
+101, 32, 100, 97, 110, 99, 101, 114, 44, 32, 123, 51, 125, 32, 115, 104, 111, 119, 115, 32, 105, 116, 46, 34,
+32, 61, 32, 34, 84, 101, 99, 108, 97, 115, 32, 40, 99, 111, 109, 111, 32, 110, 111, 32, 70, 114, 117, 105,
+116, 121, 32, 68, 97, 110, 99, 101, 32, 100, 111, 32, 70, 76, 41, 58, 32, 123, 48, 125, 46, 32, 68, 101,
+32, 123, 49, 125, 32, 112, 97, 114, 97, 32, 98, 97, 105, 120, 111, 58, 32, 111, 115, 32, 109, 101, 115, 109,
+111, 115, 32, 112, 97, 115, 115, 111, 115, 32, 101, 115, 112, 101, 108, 104, 97, 100, 111, 115, 46, 32, 123, 50,
+125, 32, 101, 115, 99, 111, 110, 100, 101, 32, 111, 32, 100, 97, 110, 195, 167, 97, 114, 105, 110, 111, 44, 32,
+123, 51, 125, 32, 109, 111, 115, 116, 114, 97, 46, 34, 10, 35, 32, 114, 111, 117, 110, 100, 32, 49, 54, 53,
+32, 40, 108, 105, 110, 117, 120, 109, 111, 117, 115, 101, 49, 54, 53, 41, 58, 32, 70, 76, 39, 115, 32, 112,
+111, 105, 110, 116, 32, 101, 100, 105, 116, 105, 110, 103, 32, 40, 87, 97, 118, 101, 83, 104, 97, 112, 101, 114,
+44, 32, 97, 117, 116, 111, 109, 97, 116, 105, 111, 110, 44, 32, 99, 117, 114, 118, 101, 32, 101, 100, 105, 116,
+111, 114, 115, 41, 10, 34, 80, 111, 105, 110, 116, 58, 32, 91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32,
+109, 111, 118, 101, 115, 44, 32, 116, 104, 101, 110, 32, 91, 83, 104, 105, 102, 116, 93, 32, 107, 101, 101, 112,
+115, 32, 116, 105, 109, 101, 44, 32, 91, 67, 116, 114, 108, 93, 32, 107, 101, 101, 112, 115, 32, 118, 97, 108,
+117, 101, 32, 32, 91, 65, 108, 116, 93, 32, 110, 111, 32, 115, 110, 97, 112, 32, 32, 91, 82, 77, 66, 93,
+32, 109, 101, 110, 117, 34, 32, 61, 32, 34, 80, 111, 110, 116, 111, 58, 32, 91, 76, 77, 66, 93, 32, 97,
+114, 114, 97, 115, 116, 97, 114, 32, 109, 111, 118, 101, 44, 32, 100, 101, 112, 111, 105, 115, 32, 91, 83, 104,
+105, 102, 116, 93, 32, 109, 97, 110, 116, 195, 169, 109, 32, 111, 32, 116, 101, 109, 112, 111, 44, 32, 91, 67,
+116, 114, 108, 93, 32, 109, 97, 110, 116, 195, 169, 109, 32, 111, 32, 118, 97, 108, 111, 114, 32, 32, 91, 65,
+108, 116, 93, 32, 115, 101, 109, 32, 103, 114, 97, 100, 101, 32, 32, 91, 82, 77, 66, 93, 32, 109, 101, 110,
+117, 34, 10, 34, 84, 101, 110, 115, 105, 111, 110, 58, 32, 91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32,
+117, 112, 32, 47, 32, 100, 111, 119, 110, 32, 98, 101, 110, 100, 115, 32, 116, 104, 101, 32, 115, 101, 103, 109,
+101, 110, 116, 32, 40, 91, 67, 116, 114, 108, 93, 32, 102, 105, 110, 101, 41, 32, 32, 91, 82, 77, 66, 93,
+32, 115, 116, 114, 97, 105, 103, 104, 116, 34, 32, 61, 32, 34, 84, 101, 110, 115, 195, 163, 111, 58, 32, 91,
 76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116, 97, 114, 32, 112, 97, 114, 97, 32, 99, 105, 109, 97, 32,
-47, 32, 98, 97, 105, 120, 111, 32, 32, 91, 65, 108, 116, 93, 91, 87, 104, 101, 101, 108, 93, 32, 115, 111,
-98, 114, 101, 32, 97, 32, 80, 108, 97, 121, 108, 105, 115, 116, 32, 32, 91, 50, 120, 76, 77, 66, 93, 32,
-49, 48, 48, 37, 34, 10, 10, 35, 32, 114, 111, 117, 110, 100, 32, 49, 54, 53, 102, 32, 40, 114, 101, 97,
-49, 54, 53, 41, 10, 34, 76, 97, 115, 116, 32, 123, 48, 125, 32, 109, 105, 110, 117, 116, 101, 115, 34, 32,
-61, 32, 34, 195, 154, 108, 116, 105, 109, 111, 115, 32, 123, 48, 125, 32, 109, 105, 110, 117, 116, 111, 115, 34,
-10, 34, 83, 99, 111, 114, 101, 32, 108, 111, 103, 103, 101, 114, 34, 32, 61, 32, 34, 82, 101, 103, 105, 115,
-116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 34, 10, 34, 68, 117, 109, 112, 32, 115, 99, 111, 114,
-101, 32, 108, 111, 103, 32, 116, 111, 32, 115, 101, 108, 101, 99, 116, 101, 100, 32, 112, 97, 116, 116, 101, 114,
-110, 34, 32, 61, 32, 34, 68, 101, 115, 112, 101, 106, 97, 114, 32, 111, 32, 114, 101, 103, 105, 115, 116, 114,
-111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 32, 110, 111, 32, 112, 97, 116, 116, 101, 114, 110, 32, 115, 101,
-108, 101, 99, 105, 111, 110, 97, 100, 111, 34, 10, 34, 67, 108, 101, 97, 114, 32, 115, 99, 111, 114, 101, 32,
-108, 111, 103, 34, 32, 61, 32, 34, 76, 105, 109, 112, 97, 114, 32, 111, 32, 114, 101, 103, 105, 115, 116, 114,
-111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 34, 10, 34, 84, 104, 105, 115, 32, 119, 105, 108, 108, 32, 99,
-108, 101, 97, 114, 32, 97, 108, 108, 32, 108, 111, 103, 103, 101, 100, 32, 110, 111, 116, 101, 115, 33, 34, 32,
-61, 32, 34, 73, 115, 115, 111, 32, 97, 112, 97, 103, 97, 32, 116, 111, 100, 97, 115, 32, 97, 115, 32, 110,
-111, 116, 97, 115, 32, 114, 101, 103, 105, 115, 116, 114, 97, 100, 97, 115, 33, 34, 10, 34, 67, 108, 101, 97,
-114, 32, 108, 111, 103, 34, 32, 61, 32, 34, 76, 105, 109, 112, 97, 114, 32, 114, 101, 103, 105, 115, 116, 114,
-111, 34, 10, 34, 84, 104, 101, 32, 115, 99, 111, 114, 101, 32, 108, 111, 103, 32, 105, 115, 32, 101, 109, 112,
-116, 121, 58, 32, 110, 111, 32, 110, 111, 116, 101, 115, 32, 119, 101, 114, 101, 32, 112, 108, 97, 121, 101, 100,
-32, 111, 110, 32, 97, 32, 77, 73, 68, 73, 32, 107, 101, 121, 98, 111, 97, 114, 100, 32, 111, 114, 32, 116,
-104, 101, 32, 116, 121, 112, 105, 110, 103, 32, 107, 101, 121, 98, 111, 97, 114, 100, 32, 105, 110, 32, 116, 104,
-97, 116, 32, 116, 105, 109, 101, 46, 34, 32, 61, 32, 34, 79, 32, 114, 101, 103, 105, 115, 116, 114, 111, 32,
-100, 101, 32, 110, 111, 116, 97, 115, 32, 101, 115, 116, 195, 161, 32, 118, 97, 122, 105, 111, 58, 32, 110, 101,
-110, 104, 117, 109, 97, 32, 110, 111, 116, 97, 32, 102, 111, 105, 32, 116, 111, 99, 97, 100, 97, 32, 110, 117,
-109, 32, 116, 101, 99, 108, 97, 100, 111, 32, 77, 73, 68, 73, 32, 111, 117, 32, 110, 111, 32, 116, 101, 99,
-108, 97, 100, 111, 32, 100, 111, 32, 99, 111, 109, 112, 117, 116, 97, 100, 111, 114, 32, 110, 101, 115, 115, 101,
-32, 116, 101, 109, 112, 111, 46, 34, 10, 34, 83, 99, 111, 114, 101, 32, 108, 111, 103, 58, 32, 123, 48, 125,
-32, 110, 111, 116, 101, 115, 32, 112, 117, 116, 32, 105, 110, 32, 116, 104, 101, 32, 112, 97, 116, 116, 101, 114,
-110, 34, 32, 61, 32, 34, 82, 101, 103, 105, 115, 116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 58,
-32, 123, 48, 125, 32, 110, 111, 116, 97, 115, 32, 99, 111, 108, 111, 99, 97, 100, 97, 115, 32, 110, 111, 32,
-112, 97, 116, 116, 101, 114, 110, 34, 10, 34, 84, 104, 101, 32, 99, 117, 114, 114, 101, 110, 116, 32, 112, 97,
-116, 116, 101, 114, 110, 32, 105, 115, 110, 39, 116, 32, 101, 109, 112, 116, 121, 46, 32, 68, 111, 32, 121, 111,
-117, 32, 119, 97, 110, 116, 32, 116, 104, 101, 32, 115, 99, 111, 114, 101, 32, 108, 111, 103, 32, 116, 111, 32,
-98, 101, 32, 109, 101, 114, 103, 101, 100, 44, 32, 111, 114, 32, 116, 111, 32, 114, 101, 112, 108, 97, 99, 101,
-32, 116, 104, 101, 32, 99, 117, 114, 114, 101, 110, 116, 32, 99, 111, 110, 116, 101, 110, 116, 63, 34, 32, 61,
-32, 34, 79, 32, 112, 97, 116, 116, 101, 114, 110, 32, 97, 116, 117, 97, 108, 32, 110, 195, 163, 111, 32, 101,
-115, 116, 195, 161, 32, 118, 97, 122, 105, 111, 46, 32, 81, 117, 101, 114, 32, 106, 117, 110, 116, 97, 114, 32,
-111, 32, 114, 101, 103, 105, 115, 116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 32, 97, 32, 101, 108,
-101, 32, 111, 117, 32, 115, 117, 98, 115, 116, 105, 116, 117, 105, 114, 32, 111, 32, 99, 111, 110, 116, 101, 195,
-186, 100, 111, 32, 97, 116, 117, 97, 108, 63, 34, 10, 34, 77, 101, 116, 114, 111, 110, 111, 109, 101, 32, 115,
-111, 117, 110, 100, 34, 32, 61, 32, 34, 83, 111, 109, 32, 100, 111, 32, 109, 101, 116, 114, 195, 180, 110, 111,
-109, 111, 34, 10, 34, 72, 105, 45, 104, 97, 116, 34, 32, 61, 32, 34, 67, 104, 105, 109, 98, 97, 108, 34,
-10, 34, 84, 105, 99, 107, 34, 32, 61, 32, 34, 84, 105, 113, 117, 101, 34, 10, 34, 66, 101, 101, 112, 34,
-32, 61, 32, 34, 66, 105, 112, 101, 34, 10, 34, 67, 111, 119, 98, 101, 108, 108, 34, 32, 61, 32, 34, 67,
-111, 119, 98, 101, 108, 108, 34, 10, 34, 66, 97, 114, 32, 58, 32, 66, 101, 97, 116, 32, 58, 32, 83, 116,
-101, 112, 34, 32, 61, 32, 34, 67, 111, 109, 112, 97, 115, 115, 111, 32, 58, 32, 84, 101, 109, 112, 111, 32,
-58, 32, 80, 97, 115, 115, 111, 34, 10, 34, 77, 105, 110, 117, 116, 101, 32, 58, 32, 83, 101, 99, 111, 110,
-100, 32, 58, 32, 67, 101, 110, 116, 105, 115, 101, 99, 111, 110, 100, 34, 32, 61, 32, 34, 77, 105, 110, 117,
-116, 111, 32, 58, 32, 83, 101, 103, 117, 110, 100, 111, 32, 58, 32, 67, 101, 110, 116, 195, 169, 115, 105, 109,
-111, 34, 10, 34, 84, 105, 109, 101, 58, 32, 83, 77, 80, 84, 69, 32, 116, 105, 109, 101, 32, 99, 111, 100,
-101, 32, 40, 104, 111, 117, 114, 115, 32, 58, 32, 109, 105, 110, 117, 116, 101, 115, 32, 58, 32, 115, 101, 99,
-111, 110, 100, 115, 32, 58, 32, 102, 114, 97, 109, 101, 115, 41, 34, 32, 61, 32, 34, 84, 101, 109, 112, 111,
-58, 32, 99, 195, 179, 100, 105, 103, 111, 32, 100, 101, 32, 116, 101, 109, 112, 111, 32, 83, 77, 80, 84, 69,
-32, 40, 104, 111, 114, 97, 115, 32, 58, 32, 109, 105, 110, 117, 116, 111, 115, 32, 58, 32, 115, 101, 103, 117,
-110, 100, 111, 115, 32, 58, 32, 113, 117, 97, 100, 114, 111, 115, 41, 34, 10, 34, 91, 76, 77, 66, 93, 32,
-110, 101, 120, 116, 32, 109, 111, 100, 101, 32, 40, 98, 97, 114, 115, 44, 32, 109, 105, 110, 117, 116, 101, 115,
-44, 32, 83, 77, 80, 84, 69, 41, 32, 32, 91, 82, 77, 66, 93, 32, 109, 111, 100, 101, 32, 97, 110, 100,
-32, 102, 114, 97, 109, 101, 32, 114, 97, 116, 101, 34, 32, 61, 32, 34, 91, 76, 77, 66, 93, 32, 112, 114,
-195, 179, 120, 105, 109, 111, 32, 109, 111, 100, 111, 32, 40, 99, 111, 109, 112, 97, 115, 115, 111, 115, 44, 32,
-109, 105, 110, 117, 116, 111, 115, 44, 32, 83, 77, 80, 84, 69, 41, 32, 32, 91, 82, 77, 66, 93, 32, 109,
-111, 100, 111, 32, 101, 32, 116, 97, 120, 97, 32, 100, 101, 32, 113, 117, 97, 100, 114, 111, 115, 34, 10, 34,
-69, 110, 103, 108, 105, 115, 104, 32, 40, 67, 44, 32, 68, 44, 32, 69, 41, 34, 32, 61, 32, 34, 73, 110,
-103, 108, 195, 170, 115, 32, 40, 67, 44, 32, 68, 44, 32, 69, 41, 34, 10, 34, 71, 101, 114, 109, 97, 110,
-105, 99, 32, 40, 72, 32, 102, 111, 114, 32, 66, 41, 34, 32, 61, 32, 34, 71, 101, 114, 109, 195, 162, 110,
-105, 99, 111, 32, 40, 72, 32, 110, 111, 32, 108, 117, 103, 97, 114, 32, 100, 101, 32, 66, 41, 34, 10, 34,
-83, 111, 108, 102, 195, 168, 103, 101, 32, 40, 100, 111, 44, 32, 114, 101, 44, 32, 109, 105, 41, 34, 32, 61,
-32, 34, 83, 111, 108, 102, 101, 106, 111, 32, 40, 100, 195, 179, 44, 32, 114, 195, 169, 44, 32, 109, 105, 41,
-34, 10, 34, 66, 108, 97, 99, 107, 32, 110, 111, 116, 101, 115, 34, 32, 61, 32, 34, 84, 101, 99, 108, 97,
-115, 32, 112, 114, 101, 116, 97, 115, 34, 10, 34, 83, 104, 97, 114, 112, 115, 32, 40, 35, 41, 34, 32, 61,
-32, 34, 83, 117, 115, 116, 101, 110, 105, 100, 111, 115, 32, 40, 35, 41, 34, 10, 34, 70, 108, 97, 116, 115,
-32, 40, 98, 41, 34, 32, 61, 32, 34, 66, 101, 109, 195, 179, 105, 115, 32, 40, 98, 41, 34, 10, 34, 66,
-97, 108, 97, 110, 99, 101, 32, 111, 102, 32, 116, 104, 101, 32, 105, 110, 112, 117, 116, 32, 98, 101, 102, 111,
-114, 101, 32, 116, 104, 101, 32, 100, 101, 45, 101, 115, 115, 101, 114, 32, 104, 101, 97, 114, 115, 32, 105, 116,
-34, 32, 61, 32, 34, 66, 97, 108, 97, 110, 195, 167, 111, 32, 100, 97, 32, 101, 110, 116, 114, 97, 100, 97,
-32, 97, 110, 116, 101, 115, 32, 100, 101, 32, 111, 32, 100, 101, 45, 101, 115, 115, 101, 114, 32, 111, 117, 118,
-105, 45, 108, 97, 34, 10, 34, 66, 97, 108, 97, 110, 99, 101, 32, 111, 102, 32, 116, 104, 101, 32, 111, 117,
-116, 112, 117, 116, 34, 32, 61, 32, 34, 66, 97, 108, 97, 110, 195, 167, 111, 32, 100, 97, 32, 115, 97, 195,
-173, 100, 97, 34, 10,
+47, 32, 98, 97, 105, 120, 111, 32, 99, 117, 114, 118, 97, 32, 111, 32, 115, 101, 103, 109, 101, 110, 116, 111,
+32, 40, 91, 67, 116, 114, 108, 93, 32, 102, 105, 110, 111, 41, 32, 32, 91, 82, 77, 66, 93, 32, 114, 101,
+116, 111, 34, 10, 34, 91, 76, 77, 66, 93, 32, 111, 114, 32, 91, 82, 77, 66, 93, 32, 110, 101, 119, 32,
+112, 111, 105, 110, 116, 32, 40, 104, 111, 108, 100, 32, 97, 110, 100, 32, 100, 114, 97, 103, 41, 32, 32, 91,
+83, 104, 105, 102, 116, 93, 91, 82, 77, 66, 93, 32, 112, 111, 105, 110, 116, 32, 111, 110, 32, 116, 104, 101,
+32, 99, 117, 114, 118, 101, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93, 32, 98, 101, 110, 100, 32,
+32, 91, 67, 116, 114, 108, 93, 91, 87, 104, 101, 101, 108, 93, 32, 122, 111, 111, 109, 32, 32, 91, 77, 77,
+66, 93, 32, 115, 99, 114, 111, 108, 108, 34, 32, 61, 32, 34, 91, 76, 77, 66, 93, 32, 111, 117, 32, 91,
+82, 77, 66, 93, 32, 110, 111, 118, 111, 32, 112, 111, 110, 116, 111, 32, 40, 115, 101, 103, 117, 114, 101, 32,
+101, 32, 97, 114, 114, 97, 115, 116, 101, 41, 32, 32, 91, 83, 104, 105, 102, 116, 93, 91, 82, 77, 66, 93,
+32, 112, 111, 110, 116, 111, 32, 115, 111, 98, 114, 101, 32, 97, 32, 99, 117, 114, 118, 97, 32, 32, 91, 65,
+108, 116, 93, 91, 76, 77, 66, 93, 32, 99, 117, 114, 118, 97, 114, 32, 32, 91, 67, 116, 114, 108, 93, 91,
+82, 111, 100, 97, 93, 32, 122, 111, 111, 109, 32, 32, 91, 77, 77, 66, 93, 32, 114, 111, 108, 97, 114, 34,
+10, 34, 87, 104, 111, 108, 101, 32, 99, 117, 114, 118, 101, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32,
+105, 110, 116, 101, 105, 114, 97, 34, 10, 34, 82, 105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32, 111, 114,
+32, 100, 111, 117, 98, 108, 101, 45, 99, 108, 105, 99, 107, 32, 97, 100, 100, 115, 32, 97, 32, 112, 111, 105,
+110, 116, 44, 32, 100, 114, 97, 103, 32, 109, 111, 118, 101, 115, 32, 105, 116, 44, 32, 65, 108, 116, 43, 99,
+108, 105, 99, 107, 32, 100, 101, 108, 101, 116, 101, 115, 32, 105, 116, 44, 32, 65, 108, 116, 43, 100, 114, 97,
+103, 32, 98, 101, 110, 100, 115, 32, 97, 32, 115, 101, 103, 109, 101, 110, 116, 34, 32, 61, 32, 34, 67, 108,
+105, 113, 117, 101, 32, 100, 105, 114, 101, 105, 116, 111, 32, 111, 117, 32, 100, 117, 112, 108, 111, 32, 97, 100,
+105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 97, 114, 114, 97, 115, 116, 97,
+114, 32, 109, 111, 118, 101, 44, 32, 65, 108, 116, 43, 99, 108, 105, 113, 117, 101, 32, 101, 120, 99, 108, 117,
+105, 44, 32, 65, 108, 116, 43, 97, 114, 114, 97, 115, 116, 97, 114, 32, 99, 117, 114, 118, 97, 32, 117, 109,
+32, 115, 101, 103, 109, 101, 110, 116, 111, 34, 10, 34, 67, 117, 114, 118, 101, 58, 32, 91, 76, 77, 66, 93,
+32, 111, 114, 32, 91, 82, 77, 66, 93, 32, 97, 100, 100, 115, 32, 97, 32, 112, 111, 105, 110, 116, 32, 40,
+104, 111, 108, 100, 32, 97, 110, 100, 32, 100, 114, 97, 103, 32, 116, 111, 32, 112, 108, 97, 99, 101, 32, 105,
+116, 41, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 58, 32, 91, 76, 77, 66, 93, 32, 111, 117, 32, 91,
+82, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 32, 40,
+115, 101, 103, 117, 114, 101, 32, 101, 32, 97, 114, 114, 97, 115, 116, 101, 32, 112, 97, 114, 97, 32, 112, 111,
+115, 105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 41, 34, 10, 34, 66, 101, 110, 100, 105, 110, 103, 32, 116,
+104, 101, 32, 115, 101, 103, 109, 101, 110, 116, 58, 32, 100, 114, 97, 103, 32, 117, 112, 32, 47, 32, 100, 111,
+119, 110, 32, 32, 91, 67, 116, 114, 108, 93, 32, 102, 105, 110, 101, 34, 32, 61, 32, 34, 67, 117, 114, 118,
+97, 110, 100, 111, 32, 111, 32, 115, 101, 103, 109, 101, 110, 116, 111, 58, 32, 97, 114, 114, 97, 115, 116, 101,
+32, 112, 97, 114, 97, 32, 99, 105, 109, 97, 32, 47, 32, 98, 97, 105, 120, 111, 32, 32, 91, 67, 116, 114,
+108, 93, 32, 102, 105, 110, 111, 34, 10, 34, 91, 82, 77, 66, 93, 32, 97, 100, 100, 115, 32, 97, 32, 112,
+111, 105, 110, 116, 32, 104, 101, 114, 101, 32, 40, 104, 111, 108, 100, 32, 97, 110, 100, 32, 100, 114, 97, 103,
+32, 116, 111, 32, 112, 108, 97, 99, 101, 32, 105, 116, 41, 32, 32, 91, 83, 104, 105, 102, 116, 93, 91, 82,
+77, 66, 93, 32, 111, 110, 32, 116, 104, 101, 32, 99, 117, 114, 118, 101, 34, 32, 61, 32, 34, 91, 82, 77,
+66, 93, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 32, 97, 113, 117,
+105, 32, 40, 115, 101, 103, 117, 114, 101, 32, 101, 32, 97, 114, 114, 97, 115, 116, 101, 32, 112, 97, 114, 97,
+32, 112, 111, 115, 105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 41, 32, 32, 91, 83, 104, 105, 102, 116, 93,
+91, 82, 77, 66, 93, 32, 115, 111, 98, 114, 101, 32, 97, 32, 99, 117, 114, 118, 97, 34, 10, 34, 80, 101,
+114, 99, 101, 110, 116, 32, 40, 45, 49, 48, 48, 32, 116, 111, 32, 49, 48, 48, 41, 34, 32, 61, 32, 34,
+80, 111, 114, 99, 101, 110, 116, 97, 103, 101, 109, 32, 40, 45, 49, 48, 48, 32, 97, 32, 49, 48, 48, 41,
+34, 10, 34, 80, 111, 105, 110, 116, 58, 32, 91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 109, 111, 118,
+101, 115, 32, 40, 91, 83, 104, 105, 102, 116, 93, 32, 107, 101, 101, 112, 115, 32, 116, 104, 101, 32, 108, 101,
+118, 101, 108, 44, 32, 91, 67, 116, 114, 108, 93, 32, 116, 104, 101, 32, 112, 111, 115, 105, 116, 105, 111, 110,
+41, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93, 32, 100, 101, 108, 101, 116, 101, 32, 32, 91, 82,
+77, 66, 93, 32, 115, 104, 97, 112, 101, 44, 32, 118, 97, 108, 117, 101, 44, 32, 100, 101, 108, 101, 116, 101,
+34, 32, 61, 32, 34, 80, 111, 110, 116, 111, 58, 32, 91, 76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116,
+97, 114, 32, 109, 111, 118, 101, 32, 40, 91, 83, 104, 105, 102, 116, 93, 32, 109, 97, 110, 116, 195, 169, 109,
+32, 111, 32, 110, 195, 173, 118, 101, 108, 44, 32, 91, 67, 116, 114, 108, 93, 32, 97, 32, 112, 111, 115, 105,
+195, 167, 195, 163, 111, 41, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66, 93, 32, 101, 120, 99, 108, 117,
+105, 114, 32, 32, 91, 82, 77, 66, 93, 32, 102, 111, 114, 109, 97, 44, 32, 118, 97, 108, 111, 114, 44, 32,
+101, 120, 99, 108, 117, 105, 114, 34, 10, 34, 83, 104, 97, 112, 105, 110, 103, 32, 99, 117, 114, 118, 101, 58,
+32, 91, 82, 77, 66, 93, 32, 97, 100, 100, 32, 97, 32, 112, 111, 105, 110, 116, 32, 40, 104, 111, 108, 100,
+32, 97, 110, 100, 32, 100, 114, 97, 103, 32, 116, 111, 32, 112, 108, 97, 99, 101, 32, 105, 116, 41, 32, 32,
+91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 97, 32, 112, 111, 105, 110, 116, 32, 32, 91, 65, 108, 116,
+93, 91, 76, 77, 66, 93, 32, 100, 101, 108, 101, 116, 101, 32, 97, 32, 112, 111, 105, 110, 116, 34, 32, 61,
+32, 34, 67, 117, 114, 118, 97, 32, 100, 101, 32, 100, 105, 115, 116, 111, 114, 195, 167, 195, 163, 111, 58, 32,
+91, 82, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 32,
+40, 115, 101, 103, 117, 114, 101, 32, 101, 32, 97, 114, 114, 97, 115, 116, 101, 32, 112, 97, 114, 97, 32, 112,
+111, 115, 105, 99, 105, 111, 110, 195, 161, 45, 108, 111, 41, 32, 32, 91, 76, 77, 66, 93, 32, 97, 114, 114,
+97, 115, 116, 97, 32, 117, 109, 32, 112, 111, 110, 116, 111, 32, 32, 91, 65, 108, 116, 93, 91, 76, 77, 66,
+93, 32, 101, 120, 99, 108, 117, 105, 32, 117, 109, 32, 112, 111, 110, 116, 111, 34, 10, 34, 84, 105, 109, 101,
+32, 105, 110, 32, 123, 48, 125, 46, 32, 68, 114, 97, 103, 32, 97, 32, 112, 111, 105, 110, 116, 44, 32, 114,
+105, 103, 104, 116, 45, 99, 108, 105, 99, 107, 32, 111, 114, 32, 100, 111, 117, 98, 108, 101, 45, 99, 108, 105,
+99, 107, 32, 116, 111, 32, 97, 100, 100, 32, 111, 110, 101, 44, 32, 114, 105, 103, 104, 116, 45, 99, 108, 105,
+99, 107, 32, 105, 116, 32, 116, 111, 32, 114, 101, 109, 111, 118, 101, 32, 105, 116, 44, 32, 100, 114, 97, 103,
+32, 97, 32, 115, 101, 103, 109, 101, 110, 116, 32, 116, 111, 32, 98, 101, 110, 100, 32, 105, 116, 46, 34, 32,
+61, 32, 34, 84, 101, 109, 112, 111, 32, 101, 109, 32, 123, 48, 125, 46, 32, 65, 114, 114, 97, 115, 116, 101,
+32, 117, 109, 32, 112, 111, 110, 116, 111, 44, 32, 99, 108, 105, 113, 117, 101, 32, 100, 105, 114, 101, 105, 116,
+111, 32, 111, 117, 32, 100, 117, 112, 108, 111, 32, 112, 97, 114, 97, 32, 97, 100, 105, 99, 105, 111, 110, 97,
+114, 32, 117, 109, 44, 32, 99, 108, 105, 113, 117, 101, 32, 100, 105, 114, 101, 105, 116, 111, 32, 110, 101, 108,
+101, 32, 112, 97, 114, 97, 32, 114, 101, 109, 111, 118, 195, 170, 45, 108, 111, 44, 32, 97, 114, 114, 97, 115,
+116, 101, 32, 117, 109, 32, 115, 101, 103, 109, 101, 110, 116, 111, 32, 112, 97, 114, 97, 32, 99, 117, 114, 118,
+195, 161, 45, 108, 111, 46, 34, 10, 34, 83, 105, 110, 103, 108, 101, 32, 99, 117, 114, 118, 101, 34, 32, 61,
+32, 34, 67, 117, 114, 118, 97, 32, 115, 105, 109, 112, 108, 101, 115, 34, 10, 34, 83, 105, 110, 103, 108, 101,
+32, 99, 117, 114, 118, 101, 32, 50, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 115, 105, 109, 112, 108,
+101, 115, 32, 50, 34, 10, 34, 83, 105, 110, 103, 108, 101, 32, 99, 117, 114, 118, 101, 32, 51, 34, 32, 61,
+32, 34, 67, 117, 114, 118, 97, 32, 115, 105, 109, 112, 108, 101, 115, 32, 51, 34, 10, 34, 68, 111, 117, 98,
+108, 101, 32, 99, 117, 114, 118, 101, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 100, 117, 112, 108, 97,
+34, 10, 34, 68, 111, 117, 98, 108, 101, 32, 99, 117, 114, 118, 101, 32, 50, 34, 32, 61, 32, 34, 67, 117,
+114, 118, 97, 32, 100, 117, 112, 108, 97, 32, 50, 34, 10, 34, 68, 111, 117, 98, 108, 101, 32, 99, 117, 114,
+118, 101, 32, 51, 34, 32, 61, 32, 34, 67, 117, 114, 118, 97, 32, 100, 117, 112, 108, 97, 32, 51, 34, 10,
+34, 72, 97, 108, 102, 32, 115, 105, 110, 101, 34, 32, 61, 32, 34, 77, 101, 105, 111, 32, 115, 101, 110, 111,
+34, 10, 34, 83, 116, 97, 105, 114, 115, 34, 32, 61, 32, 34, 69, 115, 99, 97, 100, 97, 34, 10, 34, 83,
+109, 111, 111, 116, 104, 32, 115, 116, 97, 105, 114, 115, 34, 32, 61, 32, 34, 69, 115, 99, 97, 100, 97, 32,
+115, 117, 97, 118, 101, 34, 10, 34, 87, 97, 118, 101, 34, 32, 61, 32, 34, 79, 110, 100, 97, 34, 10, 35,
+32, 45, 45, 45, 32, 82, 111, 117, 110, 100, 32, 49, 54, 53, 97, 32, 40, 105, 115, 115, 117, 101, 32, 35,
+49, 49, 58, 32, 70, 76, 32, 109, 117, 115, 99, 108, 101, 32, 109, 101, 109, 111, 114, 121, 41, 10, 34, 72,
+101, 97, 114, 105, 110, 103, 32, 116, 104, 101, 32, 107, 101, 121, 58, 32, 102, 117, 114, 116, 104, 101, 114, 32,
+114, 105, 103, 104, 116, 32, 111, 110, 32, 97, 32, 107, 101, 121, 32, 61, 32, 108, 111, 117, 100, 101, 114, 34,
+32, 61, 32, 34, 79, 117, 118, 105, 110, 100, 111, 32, 97, 32, 116, 101, 99, 108, 97, 58, 32, 109, 97, 105,
+115, 32, 195, 160, 32, 100, 105, 114, 101, 105, 116, 97, 32, 110, 97, 32, 116, 101, 99, 108, 97, 32, 61, 32,
+109, 97, 105, 115, 32, 102, 111, 114, 116, 101, 34, 10, 34, 118, 101, 108, 32, 123, 48, 125, 34, 32, 61, 32,
+34, 118, 101, 108, 32, 123, 48, 125, 34, 10, 34, 65, 32, 110, 97, 109, 101, 32, 102, 111, 114, 32, 92, 34,
+123, 48, 125, 92, 34, 32, 105, 110, 32, 116, 104, 101, 32, 80, 108, 117, 103, 105, 110, 32, 100, 97, 116, 97,
+98, 97, 115, 101, 32, 97, 110, 100, 32, 116, 104, 101, 32, 109, 101, 110, 117, 115, 46, 32, 83, 116, 97, 114,
+116, 32, 105, 116, 32, 119, 105, 116, 104, 32, 97, 32, 100, 105, 103, 105, 116, 32, 111, 114, 32, 108, 101, 116,
+116, 101, 114, 32, 111, 102, 32, 105, 116, 115, 32, 111, 119, 110, 32, 40, 92, 34, 49, 95, 69, 81, 92, 34,
+44, 32, 92, 34, 50, 95, 76, 105, 109, 105, 116, 101, 114, 92, 34, 41, 58, 32, 111, 110, 32, 97, 110, 32,
+101, 109, 112, 116, 121, 32, 109, 105, 120, 101, 114, 32, 115, 108, 111, 116, 32, 40, 111, 114, 32, 105, 110, 32,
+116, 104, 101, 32, 67, 104, 97, 110, 110, 101, 108, 32, 82, 97, 99, 107, 39, 115, 32, 97, 100, 100, 32, 109,
+101, 110, 117, 41, 32, 116, 121, 112, 105, 110, 103, 32, 105, 116, 32, 97, 100, 100, 115, 32, 116, 104, 101, 32,
+112, 108, 117, 103, 105, 110, 46, 32, 69, 109, 112, 116, 121, 58, 32, 116, 104, 101, 32, 111, 114, 105, 103, 105,
+110, 97, 108, 32, 110, 97, 109, 101, 46, 34, 32, 61, 32, 34, 85, 109, 32, 110, 111, 109, 101, 32, 112, 97,
+114, 97, 32, 92, 34, 123, 48, 125, 92, 34, 32, 110, 111, 32, 66, 97, 110, 99, 111, 32, 100, 101, 32, 112,
+108, 117, 103, 105, 110, 115, 32, 101, 32, 110, 111, 115, 32, 109, 101, 110, 117, 115, 46, 32, 67, 111, 109, 101,
+99, 101, 32, 99, 111, 109, 32, 117, 109, 32, 100, 195, 173, 103, 105, 116, 111, 32, 111, 117, 32, 108, 101, 116,
+114, 97, 32, 115, 195, 179, 32, 100, 101, 108, 101, 32, 40, 92, 34, 49, 95, 69, 81, 92, 34, 44, 32, 92,
+34, 50, 95, 76, 105, 109, 105, 116, 101, 114, 92, 34, 41, 58, 32, 110, 117, 109, 32, 115, 108, 111, 116, 32,
+118, 97, 122, 105, 111, 32, 100, 111, 32, 109, 105, 120, 101, 114, 32, 40, 111, 117, 32, 110, 111, 32, 109, 101,
+110, 117, 32, 100, 101, 32, 97, 100, 105, 99, 105, 111, 110, 97, 114, 32, 100, 111, 32, 67, 104, 97, 110, 110,
+101, 108, 32, 82, 97, 99, 107, 41, 44, 32, 100, 105, 103, 105, 116, 195, 161, 45, 108, 111, 32, 97, 100, 105,
+99, 105, 111, 110, 97, 32, 111, 32, 112, 108, 117, 103, 105, 110, 46, 32, 86, 97, 122, 105, 111, 58, 32, 111,
+32, 110, 111, 109, 101, 32, 111, 114, 105, 103, 105, 110, 97, 108, 46, 34, 10, 34, 65, 102, 116, 101, 114, 32,
+116, 104, 101, 32, 112, 97, 116, 116, 101, 114, 110, 39, 115, 32, 101, 110, 100, 58, 32, 91, 76, 77, 66, 93,
+32, 97, 100, 100, 115, 32, 97, 32, 115, 116, 101, 112, 32, 97, 110, 100, 32, 109, 97, 107, 101, 115, 32, 116,
+104, 101, 32, 112, 97, 116, 116, 101, 114, 110, 32, 108, 111, 110, 103, 101, 114, 34, 32, 61, 32, 34, 68, 101,
+112, 111, 105, 115, 32, 100, 111, 32, 102, 105, 109, 32, 100, 111, 32, 112, 97, 116, 116, 101, 114, 110, 58, 32,
+91, 76, 77, 66, 93, 32, 97, 100, 105, 99, 105, 111, 110, 97, 32, 117, 109, 32, 115, 116, 101, 112, 32, 101,
+32, 97, 117, 109, 101, 110, 116, 97, 32, 111, 32, 112, 97, 116, 116, 101, 114, 110, 34, 10, 34, 67, 108, 111,
+115, 101, 32, 97, 108, 108, 32, 112, 108, 117, 103, 105, 110, 32, 119, 105, 110, 100, 111, 119, 115, 34, 32, 61,
+32, 34, 70, 101, 99, 104, 97, 114, 32, 116, 111, 100, 97, 115, 32, 97, 115, 32, 106, 97, 110, 101, 108, 97,
+115, 32, 100, 101, 32, 112, 108, 117, 103, 105, 110, 115, 34, 10, 34, 67, 108, 111, 115, 101, 32, 97, 108, 108,
+32, 119, 105, 110, 100, 111, 119, 115, 32, 40, 112, 108, 117, 103, 105, 110, 115, 44, 32, 99, 104, 97, 110, 110,
+101, 108, 32, 115, 101, 116, 116, 105, 110, 103, 115, 44, 32, 116, 111, 111, 108, 115, 41, 34, 32, 61, 32, 34,
+70, 101, 99, 104, 97, 114, 32, 116, 111, 100, 97, 115, 32, 97, 115, 32, 106, 97, 110, 101, 108, 97, 115, 32,
+40, 112, 108, 117, 103, 105, 110, 115, 44, 32, 99, 111, 110, 102, 105, 103, 117, 114, 97, 195, 167, 195, 181, 101,
+115, 32, 100, 101, 32, 99, 97, 110, 97, 108, 44, 32, 102, 101, 114, 114, 97, 109, 101, 110, 116, 97, 115, 41,
+34, 10, 34, 68, 101, 108, 101, 116, 101, 32, 116, 104, 101, 32, 115, 101, 108, 101, 99, 116, 101, 100, 32, 101,
+102, 102, 101, 99, 116, 32, 115, 108, 111, 116, 39, 115, 32, 112, 108, 117, 103, 105, 110, 34, 32, 61, 32, 34,
+65, 112, 97, 103, 97, 114, 32, 111, 32, 112, 108, 117, 103, 105, 110, 32, 100, 111, 32, 115, 108, 111, 116, 32,
+100, 101, 32, 101, 102, 101, 105, 116, 111, 32, 115, 101, 108, 101, 99, 105, 111, 110, 97, 100, 111, 34, 10, 34,
+77, 73, 68, 73, 32, 115, 101, 116, 116, 105, 110, 103, 115, 34, 32, 61, 32, 34, 67, 111, 110, 102, 105, 103,
+117, 114, 97, 195, 167, 195, 181, 101, 115, 32, 100, 101, 32, 77, 73, 68, 73, 34, 10, 34, 79, 114, 105, 103,
+105, 110, 97, 108, 32, 110, 97, 109, 101, 34, 32, 61, 32, 34, 78, 111, 109, 101, 32, 111, 114, 105, 103, 105,
+110, 97, 108, 34, 10, 34, 80, 108, 117, 103, 105, 110, 32, 100, 97, 116, 97, 98, 97, 115, 101, 32, 40, 105,
+110, 32, 116, 104, 101, 32, 66, 114, 111, 119, 115, 101, 114, 41, 34, 32, 61, 32, 34, 66, 97, 110, 99, 111,
+32, 100, 101, 32, 112, 108, 117, 103, 105, 110, 115, 32, 40, 110, 111, 32, 66, 114, 111, 119, 115, 101, 114, 41,
+34, 10, 34, 82, 101, 110, 97, 109, 101, 32, 112, 108, 117, 103, 105, 110, 34, 32, 61, 32, 34, 82, 101, 110,
+111, 109, 101, 97, 114, 32, 112, 108, 117, 103, 105, 110, 34, 10, 34, 82, 101, 110, 97, 109, 101, 32, 116, 104,
+101, 32, 115, 101, 108, 101, 99, 116, 101, 100, 32, 112, 108, 117, 103, 105, 110, 32, 40, 80, 108, 117, 103, 105,
+110, 32, 100, 97, 116, 97, 98, 97, 115, 101, 41, 34, 32, 61, 32, 34, 82, 101, 110, 111, 109, 101, 97, 114,
+32, 111, 32, 112, 108, 117, 103, 105, 110, 32, 115, 101, 108, 101, 99, 105, 111, 110, 97, 100, 111, 32, 40, 66,
+97, 110, 99, 111, 32, 100, 101, 32, 112, 108, 117, 103, 105, 110, 115, 41, 34, 10, 34, 82, 101, 110, 97, 109,
+101, 100, 32, 112, 108, 117, 103, 105, 110, 115, 32, 40, 116, 121, 112, 101, 32, 116, 104, 101, 32, 102, 105, 114,
+115, 116, 32, 99, 104, 97, 114, 97, 99, 116, 101, 114, 41, 34, 32, 61, 32, 34, 80, 108, 117, 103, 105, 110,
+115, 32, 114, 101, 110, 111, 109, 101, 97, 100, 111, 115, 32, 40, 100, 105, 103, 105, 116, 101, 32, 111, 32, 112,
+114, 105, 109, 101, 105, 114, 111, 32, 99, 97, 114, 97, 99, 116, 101, 114, 101, 41, 34, 10, 34, 84, 114, 97,
+99, 107, 32, 104, 101, 105, 103, 104, 116, 32, 40, 118, 101, 114, 116, 105, 99, 97, 108, 32, 122, 111, 111, 109,
+41, 34, 32, 61, 32, 34, 65, 108, 116, 117, 114, 97, 32, 100, 97, 115, 32, 116, 114, 105, 108, 104, 97, 115,
+32, 40, 122, 111, 111, 109, 32, 118, 101, 114, 116, 105, 99, 97, 108, 41, 34, 10, 34, 84, 114, 97, 99, 107,
+32, 104, 101, 105, 103, 104, 116, 32, 40, 118, 101, 114, 116, 105, 99, 97, 108, 32, 122, 111, 111, 109, 41, 58,
+32, 91, 76, 77, 66, 93, 32, 100, 114, 97, 103, 32, 117, 112, 32, 47, 32, 100, 111, 119, 110, 32, 32, 91,
+65, 108, 116, 93, 91, 87, 104, 101, 101, 108, 93, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 80, 108, 97,
+121, 108, 105, 115, 116, 32, 32, 91, 50, 120, 76, 77, 66, 93, 32, 49, 48, 48, 37, 34, 32, 61, 32, 34,
+65, 108, 116, 117, 114, 97, 32, 100, 97, 115, 32, 116, 114, 105, 108, 104, 97, 115, 32, 40, 122, 111, 111, 109,
+32, 118, 101, 114, 116, 105, 99, 97, 108, 41, 58, 32, 91, 76, 77, 66, 93, 32, 97, 114, 114, 97, 115, 116,
+97, 114, 32, 112, 97, 114, 97, 32, 99, 105, 109, 97, 32, 47, 32, 98, 97, 105, 120, 111, 32, 32, 91, 65,
+108, 116, 93, 91, 87, 104, 101, 101, 108, 93, 32, 115, 111, 98, 114, 101, 32, 97, 32, 80, 108, 97, 121, 108,
+105, 115, 116, 32, 32, 91, 50, 120, 76, 77, 66, 93, 32, 49, 48, 48, 37, 34, 10, 10, 35, 32, 114, 111,
+117, 110, 100, 32, 49, 54, 53, 102, 32, 40, 114, 101, 97, 49, 54, 53, 41, 10, 34, 76, 97, 115, 116, 32,
+123, 48, 125, 32, 109, 105, 110, 117, 116, 101, 115, 34, 32, 61, 32, 34, 195, 154, 108, 116, 105, 109, 111, 115,
+32, 123, 48, 125, 32, 109, 105, 110, 117, 116, 111, 115, 34, 10, 34, 83, 99, 111, 114, 101, 32, 108, 111, 103,
+103, 101, 114, 34, 32, 61, 32, 34, 82, 101, 103, 105, 115, 116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97,
+115, 34, 10, 34, 68, 117, 109, 112, 32, 115, 99, 111, 114, 101, 32, 108, 111, 103, 32, 116, 111, 32, 115, 101,
+108, 101, 99, 116, 101, 100, 32, 112, 97, 116, 116, 101, 114, 110, 34, 32, 61, 32, 34, 68, 101, 115, 112, 101,
+106, 97, 114, 32, 111, 32, 114, 101, 103, 105, 115, 116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 32,
+110, 111, 32, 112, 97, 116, 116, 101, 114, 110, 32, 115, 101, 108, 101, 99, 105, 111, 110, 97, 100, 111, 34, 10,
+34, 67, 108, 101, 97, 114, 32, 115, 99, 111, 114, 101, 32, 108, 111, 103, 34, 32, 61, 32, 34, 76, 105, 109,
+112, 97, 114, 32, 111, 32, 114, 101, 103, 105, 115, 116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 34,
+10, 34, 84, 104, 105, 115, 32, 119, 105, 108, 108, 32, 99, 108, 101, 97, 114, 32, 97, 108, 108, 32, 108, 111,
+103, 103, 101, 100, 32, 110, 111, 116, 101, 115, 33, 34, 32, 61, 32, 34, 73, 115, 115, 111, 32, 97, 112, 97,
+103, 97, 32, 116, 111, 100, 97, 115, 32, 97, 115, 32, 110, 111, 116, 97, 115, 32, 114, 101, 103, 105, 115, 116,
+114, 97, 100, 97, 115, 33, 34, 10, 34, 67, 108, 101, 97, 114, 32, 108, 111, 103, 34, 32, 61, 32, 34, 76,
+105, 109, 112, 97, 114, 32, 114, 101, 103, 105, 115, 116, 114, 111, 34, 10, 34, 84, 104, 101, 32, 115, 99, 111,
+114, 101, 32, 108, 111, 103, 32, 105, 115, 32, 101, 109, 112, 116, 121, 58, 32, 110, 111, 32, 110, 111, 116, 101,
+115, 32, 119, 101, 114, 101, 32, 112, 108, 97, 121, 101, 100, 32, 111, 110, 32, 97, 32, 77, 73, 68, 73, 32,
+107, 101, 121, 98, 111, 97, 114, 100, 32, 111, 114, 32, 116, 104, 101, 32, 116, 121, 112, 105, 110, 103, 32, 107,
+101, 121, 98, 111, 97, 114, 100, 32, 105, 110, 32, 116, 104, 97, 116, 32, 116, 105, 109, 101, 46, 34, 32, 61,
+32, 34, 79, 32, 114, 101, 103, 105, 115, 116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 32, 101, 115,
+116, 195, 161, 32, 118, 97, 122, 105, 111, 58, 32, 110, 101, 110, 104, 117, 109, 97, 32, 110, 111, 116, 97, 32,
+102, 111, 105, 32, 116, 111, 99, 97, 100, 97, 32, 110, 117, 109, 32, 116, 101, 99, 108, 97, 100, 111, 32, 77,
+73, 68, 73, 32, 111, 117, 32, 110, 111, 32, 116, 101, 99, 108, 97, 100, 111, 32, 100, 111, 32, 99, 111, 109,
+112, 117, 116, 97, 100, 111, 114, 32, 110, 101, 115, 115, 101, 32, 116, 101, 109, 112, 111, 46, 34, 10, 34, 83,
+99, 111, 114, 101, 32, 108, 111, 103, 58, 32, 123, 48, 125, 32, 110, 111, 116, 101, 115, 32, 112, 117, 116, 32,
+105, 110, 32, 116, 104, 101, 32, 112, 97, 116, 116, 101, 114, 110, 34, 32, 61, 32, 34, 82, 101, 103, 105, 115,
+116, 114, 111, 32, 100, 101, 32, 110, 111, 116, 97, 115, 58, 32, 123, 48, 125, 32, 110, 111, 116, 97, 115, 32,
+99, 111, 108, 111, 99, 97, 100, 97, 115, 32, 110, 111, 32, 112, 97, 116, 116, 101, 114, 110, 34, 10, 34, 84,
+104, 101, 32, 99, 117, 114, 114, 101, 110, 116, 32, 112, 97, 116, 116, 101, 114, 110, 32, 105, 115, 110, 39, 116,
+32, 101, 109, 112, 116, 121, 46, 32, 68, 111, 32, 121, 111, 117, 32, 119, 97, 110, 116, 32, 116, 104, 101, 32,
+115, 99, 111, 114, 101, 32, 108, 111, 103, 32, 116, 111, 32, 98, 101, 32, 109, 101, 114, 103, 101, 100, 44, 32,
+111, 114, 32, 116, 111, 32, 114, 101, 112, 108, 97, 99, 101, 32, 116, 104, 101, 32, 99, 117, 114, 114, 101, 110,
+116, 32, 99, 111, 110, 116, 101, 110, 116, 63, 34, 32, 61, 32, 34, 79, 32, 112, 97, 116, 116, 101, 114, 110,
+32, 97, 116, 117, 97, 108, 32, 110, 195, 163, 111, 32, 101, 115, 116, 195, 161, 32, 118, 97, 122, 105, 111, 46,
+32, 81, 117, 101, 114, 32, 106, 117, 110, 116, 97, 114, 32, 111, 32, 114, 101, 103, 105, 115, 116, 114, 111, 32,
+100, 101, 32, 110, 111, 116, 97, 115, 32, 97, 32, 101, 108, 101, 32, 111, 117, 32, 115, 117, 98, 115, 116, 105,
+116, 117, 105, 114, 32, 111, 32, 99, 111, 110, 116, 101, 195, 186, 100, 111, 32, 97, 116, 117, 97, 108, 63, 34,
+10, 34, 77, 101, 116, 114, 111, 110, 111, 109, 101, 32, 115, 111, 117, 110, 100, 34, 32, 61, 32, 34, 83, 111,
+109, 32, 100, 111, 32, 109, 101, 116, 114, 195, 180, 110, 111, 109, 111, 34, 10, 34, 72, 105, 45, 104, 97, 116,
+34, 32, 61, 32, 34, 67, 104, 105, 109, 98, 97, 108, 34, 10, 34, 84, 105, 99, 107, 34, 32, 61, 32, 34,
+84, 105, 113, 117, 101, 34, 10, 34, 66, 101, 101, 112, 34, 32, 61, 32, 34, 66, 105, 112, 101, 34, 10, 34,
+67, 111, 119, 98, 101, 108, 108, 34, 32, 61, 32, 34, 67, 111, 119, 98, 101, 108, 108, 34, 10, 34, 66, 97,
+114, 32, 58, 32, 66, 101, 97, 116, 32, 58, 32, 83, 116, 101, 112, 34, 32, 61, 32, 34, 67, 111, 109, 112,
+97, 115, 115, 111, 32, 58, 32, 84, 101, 109, 112, 111, 32, 58, 32, 80, 97, 115, 115, 111, 34, 10, 34, 77,
+105, 110, 117, 116, 101, 32, 58, 32, 83, 101, 99, 111, 110, 100, 32, 58, 32, 67, 101, 110, 116, 105, 115, 101,
+99, 111, 110, 100, 34, 32, 61, 32, 34, 77, 105, 110, 117, 116, 111, 32, 58, 32, 83, 101, 103, 117, 110, 100,
+111, 32, 58, 32, 67, 101, 110, 116, 195, 169, 115, 105, 109, 111, 34, 10, 34, 84, 105, 109, 101, 58, 32, 83,
+77, 80, 84, 69, 32, 116, 105, 109, 101, 32, 99, 111, 100, 101, 32, 40, 104, 111, 117, 114, 115, 32, 58, 32,
+109, 105, 110, 117, 116, 101, 115, 32, 58, 32, 115, 101, 99, 111, 110, 100, 115, 32, 58, 32, 102, 114, 97, 109,
+101, 115, 41, 34, 32, 61, 32, 34, 84, 101, 109, 112, 111, 58, 32, 99, 195, 179, 100, 105, 103, 111, 32, 100,
+101, 32, 116, 101, 109, 112, 111, 32, 83, 77, 80, 84, 69, 32, 40, 104, 111, 114, 97, 115, 32, 58, 32, 109,
+105, 110, 117, 116, 111, 115, 32, 58, 32, 115, 101, 103, 117, 110, 100, 111, 115, 32, 58, 32, 113, 117, 97, 100,
+114, 111, 115, 41, 34, 10, 34, 91, 76, 77, 66, 93, 32, 110, 101, 120, 116, 32, 109, 111, 100, 101, 32, 40,
+98, 97, 114, 115, 44, 32, 109, 105, 110, 117, 116, 101, 115, 44, 32, 83, 77, 80, 84, 69, 41, 32, 32, 91,
+82, 77, 66, 93, 32, 109, 111, 100, 101, 32, 97, 110, 100, 32, 102, 114, 97, 109, 101, 32, 114, 97, 116, 101,
+34, 32, 61, 32, 34, 91, 76, 77, 66, 93, 32, 112, 114, 195, 179, 120, 105, 109, 111, 32, 109, 111, 100, 111,
+32, 40, 99, 111, 109, 112, 97, 115, 115, 111, 115, 44, 32, 109, 105, 110, 117, 116, 111, 115, 44, 32, 83, 77,
+80, 84, 69, 41, 32, 32, 91, 82, 77, 66, 93, 32, 109, 111, 100, 111, 32, 101, 32, 116, 97, 120, 97, 32,
+100, 101, 32, 113, 117, 97, 100, 114, 111, 115, 34, 10, 34, 69, 110, 103, 108, 105, 115, 104, 32, 40, 67, 44,
+32, 68, 44, 32, 69, 41, 34, 32, 61, 32, 34, 73, 110, 103, 108, 195, 170, 115, 32, 40, 67, 44, 32, 68,
+44, 32, 69, 41, 34, 10, 34, 71, 101, 114, 109, 97, 110, 105, 99, 32, 40, 72, 32, 102, 111, 114, 32, 66,
+41, 34, 32, 61, 32, 34, 71, 101, 114, 109, 195, 162, 110, 105, 99, 111, 32, 40, 72, 32, 110, 111, 32, 108,
+117, 103, 97, 114, 32, 100, 101, 32, 66, 41, 34, 10, 34, 83, 111, 108, 102, 195, 168, 103, 101, 32, 40, 100,
+111, 44, 32, 114, 101, 44, 32, 109, 105, 41, 34, 32, 61, 32, 34, 83, 111, 108, 102, 101, 106, 111, 32, 40,
+100, 195, 179, 44, 32, 114, 195, 169, 44, 32, 109, 105, 41, 34, 10, 34, 66, 108, 97, 99, 107, 32, 110, 111,
+116, 101, 115, 34, 32, 61, 32, 34, 84, 101, 99, 108, 97, 115, 32, 112, 114, 101, 116, 97, 115, 34, 10, 34,
+83, 104, 97, 114, 112, 115, 32, 40, 35, 41, 34, 32, 61, 32, 34, 83, 117, 115, 116, 101, 110, 105, 100, 111,
+115, 32, 40, 35, 41, 34, 10, 34, 70, 108, 97, 116, 115, 32, 40, 98, 41, 34, 32, 61, 32, 34, 66, 101,
+109, 195, 179, 105, 115, 32, 40, 98, 41, 34, 10, 34, 66, 97, 108, 97, 110, 99, 101, 32, 111, 102, 32, 116,
+104, 101, 32, 105, 110, 112, 117, 116, 32, 98, 101, 102, 111, 114, 101, 32, 116, 104, 101, 32, 100, 101, 45, 101,
+115, 115, 101, 114, 32, 104, 101, 97, 114, 115, 32, 105, 116, 34, 32, 61, 32, 34, 66, 97, 108, 97, 110, 195,
+167, 111, 32, 100, 97, 32, 101, 110, 116, 114, 97, 100, 97, 32, 97, 110, 116, 101, 115, 32, 100, 101, 32, 111,
+32, 100, 101, 45, 101, 115, 115, 101, 114, 32, 111, 117, 118, 105, 45, 108, 97, 34, 10, 34, 66, 97, 108, 97,
+110, 99, 101, 32, 111, 102, 32, 116, 104, 101, 32, 111, 117, 116, 112, 117, 116, 34, 32, 61, 32, 34, 66, 97,
+108, 97, 110, 195, 167, 111, 32, 100, 97, 32, 115, 97, 195, 173, 100, 97, 34, 10,
 };
 } // namespace lynx::i18n::data

+ 1 - 0
src/ui/MixerComponent.cpp

@@ -1878,6 +1878,7 @@ const EffectKind allEffects[] = { EffectKind::eq,     EffectKind::parametricEq,
                                       EffectKind::hardcore,
                                       EffectKind::multibandDelay, EffectKind::emphasizer, EffectKind::flFrequencyShifter, EffectKind::flLowLifter,
                                       EffectKind::waveCandy, EffectKind::visualizer, // visual plugins (round 164c)
+                                      EffectKind::fruityMute2, EffectKind::bigClock, EffectKind::tuner, EffectKind::htmlNotebook, // round 165g
                                       // FL engines that need more than their parameters (round 142, issue #5): a new one starts from
                                       // the plugin's Default preset of the user's FL installation (core/NativeEngines.h)
                                       EffectKind::maximus, EffectKind::vocodex, EffectKind::equo, EffectKind::distructor, EffectKind::lovePhilter,

+ 12 - 3
src/ui/PatcherEditor.cpp

@@ -1,5 +1,6 @@
 #include "ui/PatcherEditor.h"
 #include "ui/VisualEditors.h"
+#include "ui/FlExtraEditors.h"
 #include "core/ControlSurface.h"
 #include "core/VoltageController.h"
 #include "ui/VoltageEditor.h"
@@ -1513,7 +1514,10 @@ private:
             case EffectKind::patcher:
                 return "Patcher";
             case EffectKind::waveCandy: case EffectKind::visualizer:
+            case EffectKind::bigClock: case EffectKind::htmlNotebook: // round 165g
                 return "Visual";
+            case EffectKind::tuner: // round 165g (FL's Tuner: an analyser)
+                return "Misc";
             default:
                 return "Misc";
         }
@@ -1813,14 +1817,16 @@ private:
             openToolWindow (std::move (editor), title + " - " + tr ("Patcher"), target.key() + "-node-" + juce::String (n));
             return;
         }
-        if (! node.generator && VisualWindows::handles (node.effect.kind)) // Wave Candy / Visualizer in a Patcher (round 164c)
+        const auto extra = FlExtraWindows::handles (node.effect.kind); // Big Clock / Tuner / HTML NoteBook (round 165g)
+        if (! node.generator && (VisualWindows::handles (node.effect.kind) || extra)) // Wave Candy / Visualizer in a Patcher (round 164c)
         {
             VisualTarget vt;
             vt.engine = &engine;
             vt.locate = [t = target, n] (Song& song) -> EffectSlot* {
                 auto* doc = t.doc (song);
                 return doc != nullptr && n < (int) doc->nodes.size() && ! doc->nodes[(std::size_t) n].generator
-                               && VisualWindows::handles (doc->nodes[(std::size_t) n].effect.kind)
+                               && (VisualWindows::handles (doc->nodes[(std::size_t) n].effect.kind)
+                                   || FlExtraWindows::handles (doc->nodes[(std::size_t) n].effect.kind))
                            ? &doc->nodes[(std::size_t) n].effect
                            : nullptr;
             };
@@ -1832,7 +1838,10 @@ private:
                 return g != nullptr ? g->effectAt (n) : nullptr;
             };
             vt.running = [runningIn = vt.runningIn, &e = engine] { return runningIn (e); };
-            VisualWindows::openNode (vt, title + " - " + tr ("Patcher"), target.key() + "-node-" + juce::String (n));
+            if (extra)
+                FlExtraWindows::openNode (vt, title + " - " + tr ("Patcher"), target.key() + "-node-" + juce::String (n));
+            else
+                VisualWindows::openNode (vt, title + " - " + tr ("Patcher"), target.key() + "-node-" + juce::String (n));
             return;
         }
         if (! node.generator && node.effect.kind != EffectKind::plugin && node.effect.kind != EffectKind::patcher)

+ 20 - 0
src/ui/PluginEditors.cpp

@@ -4,6 +4,7 @@
 #include "ui/Controllers164.h"
 #include "ui/NewtoneEditor.h"
 #include "ui/VisualEditors.h"
+#include "ui/FlExtraEditors.h"
 #include "ui/PluginEditors.h"
 
 #include <cstring>
@@ -83,6 +84,11 @@ public:
         {
             kind = fx->kind;
             layout = &plugui::layoutFor (kind);
+            if (kind == EffectKind::ember) // round 165: this window only opens for the Classic voicing — its one-screen
+            {                              // panel, not the 1110-unit multiband page around it
+                static const auto classic = [] { auto l = plugui::layoutFor (EffectKind::ember); l.height = 440; return l; }();
+                layout = &classic;
+            }
             if (kind == EffectKind::maximus) // Soundgoodizer runs on the Maximus engine: its own page
                 if (const auto blob = maximusfx::unpack (fx->state); blob && blob->build == hlfx::MaximusBuild::soundgoodizer)
                     layout = &plugui::soundgoodizerLayout();
@@ -94,6 +100,8 @@ public:
         }
 
         accent = skin::accentFor (sgApprox ? EffectKind::maximus : kind);
+        if (kind == EffectKind::ember) // round 165: the Classic voicing's VU shows the output level, as the reference's
+            vuMode = 2;
         anim.onFrame = [this] { repaint(); };
         page = initialPage;
         if (kind == EffectKind::equo && initialPage == 0)
@@ -311,6 +319,12 @@ public:
                 setParams (edits);
                 return;
             }
+        if (kind == EffectKind::ember) // round 165: the Classic voicing's Auto moves Output with Drive
+            if (const auto edits = mixsuite::ember::linkedEdit (current()->params, param, value); edits.size() > 1)
+            {
+                setParams (edits);
+                return;
+            }
         if (usesBar())
             bar.willEdit();
         engine.editSong ([t = track, s = slot, param, v = juce::jlimit (0.0f, 1.0f, value)] (Song& song) {
@@ -4478,6 +4492,11 @@ void open (AudioEngine& engine, int track, int slot)
         VisualWindows::open (engine, track, slot);
         return;
     }
+    if (FlExtraWindows::handles (kind)) // Big Clock, Tuner, HTML NoteBook (round 165g)
+    {
+        FlExtraWindows::open (engine, track, slot);
+        return;
+    }
     if (! canOpen (fxSlot))
         return;
     if (kind == EffectKind::formulaController) // the formula, its knobs and a monitor (REA round 133)
@@ -4537,6 +4556,7 @@ void closeAll()
     Controller164Windows::closeAll();
     NewtoneWindows::closeAll();
     VisualWindows::closeAll();
+    FlExtraWindows::closeAll();
     FacetEqWindows::closeAll();
     ProEditorWindows::closeAll();
 }

+ 236 - 2
src/ui/SettingsPages.cpp

@@ -954,8 +954,103 @@ private:
     juce::ComboBox channel, plays;
 };
 
+// One output device (FL's Options › MIDI "Output" panel, round 165f): master sync (MIDI clock or MTC) with its
+// offset, and all notes off on init and after an export.
+class MidiOutputRow final : public juce::Component
+{
+public:
+    MidiOutputRow (const juce::String& deviceName, const prefs::MidiOutputPrefs& p, std::function<void (const prefs::MidiOutputPrefs&)> changed)
+        : prefsNow (p), onChange (std::move (changed))
+    {
+        name.setText (deviceName, juce::dontSendNotification);
+        name.setFont (theme::font (theme::type::body));
+        name.setColour (juce::Label::textColourId, theme::colour::textPrimary);
+        addAndMakeVisible (name);
+
+        sync.setButtonText (tr ("Send master sync"));
+        sync.setTooltip (tr ("Send master synchronization to this device"));
+        sync.setToggleState (p.masterSync, juce::dontSendNotification);
+        sync.onClick = [this] {
+            prefsNow.masterSync = sync.getToggleState();
+            update();
+        };
+        for (int t = 0; t < midisync::syncTypeCount; ++t)
+            type.addItem (tr (midisync::syncTypeName ((midisync::SyncType) t)), t + 1);
+        type.setTooltip (tr ("MIDI clock: 24 pulses per quarter note, Start / Continue / Stop and Song Position Pointer. "
+                             "MTC: MIDI Time Code quarter frames and a full frame when the position moves."));
+        type.setSelectedId ((int) midisync::syncTypeFromKey (p.syncType) + 1, juce::dontSendNotification);
+        type.onChange = [this] {
+            prefsNow.syncType = midisync::syncTypeKey ((midisync::SyncType) (type.getSelectedId() - 1));
+            update();
+        };
+        styleCombo (type);
+        offsetLabel.setText (tr ("Offset (ms)"), juce::dontSendNotification);
+        offsetLabel.setFont (theme::font (theme::type::small));
+        offsetLabel.setColour (juce::Label::textColourId, theme::colour::textSecondary);
+        offset.setSliderStyle (juce::Slider::IncDecButtons);
+        offset.setTextBoxStyle (juce::Slider::TextBoxLeft, false, 56, 24);
+        offset.setRange (-1000.0, 1000.0, 1.0);
+        offset.setValue (p.offsetMs, juce::dontSendNotification);
+        offset.setTooltip (tr ("Master sync offset (milliseconds): positive sends the sync later, negative earlier"));
+        offset.setDoubleClickReturnValue (true, 0.0);
+        offset.onValueChange = [this] {
+            prefsNow.offsetMs = (int) offset.getValue();
+            update();
+        };
+        notesOff.setButtonText (tr ("Send all notes off"));
+        notesOff.setTooltip (tr ("Send all notes off to this device on init and after an export"));
+        notesOff.setToggleState (p.allNotesOff, juce::dontSendNotification);
+        notesOff.onClick = [this] {
+            prefsNow.allNotesOff = notesOff.getToggleState();
+            update();
+        };
+        for (auto* c : std::initializer_list<juce::Component*> { &sync, &type, &offsetLabel, &offset, &notesOff })
+            addAndMakeVisible (c);
+        update (false);
+    }
+
+    void resized() override
+    {
+        auto r = getLocalBounds().reduced (8, 4);
+        auto top = r.removeFromTop (24);
+        notesOff.setBounds (top.removeFromRight (170));
+        name.setBounds (top);
+        r.removeFromTop (4);
+        auto bottom = r.removeFromTop (26);
+        sync.setBounds (bottom.removeFromLeft (150));
+        bottom.removeFromLeft (8);
+        type.setBounds (bottom.removeFromLeft (190));
+        bottom.removeFromLeft (12);
+        offsetLabel.setBounds (bottom.removeFromLeft (76));
+        offset.setBounds (bottom.removeFromLeft (110));
+    }
+
+    void paint (juce::Graphics& g) override
+    {
+        g.setColour (theme::colour::bg1);
+        g.fillRoundedRectangle (getLocalBounds().toFloat(), theme::radius::md);
+    }
+
+private:
+    void update (bool notify = true)
+    {
+        type.setEnabled (prefsNow.masterSync);
+        offset.setEnabled (prefsNow.masterSync);
+        if (notify && onChange)
+            onChange (prefsNow);
+    }
+
+    prefs::MidiOutputPrefs prefsNow;
+    std::function<void (const prefs::MidiOutputPrefs&)> onChange;
+    juce::Label name, offsetLabel;
+    juce::ToggleButton sync, notesOff;
+    juce::ComboBox type;
+    juce::Slider offset;
+};
+
 class MidiPage final : public ScrollingPage,
                        private juce::ChangeListener,
+                       private juce::Timer,
                        private juce::ListBoxModel
 {
 public:
@@ -963,8 +1058,51 @@ public:
     {
         for (auto* c : std::initializer_list<juce::Component*> { &inputsTitle, &notesTitle, &controllersTitle, &inputsNote, &refresh, &noDevices,
                                                                  &velocityLabel, &velocityBox, &velocityNote, &typeLabel, &typeValue, &pickup,
-                                                                 &pickupNote, &linksLabel, &links, &removeLink, &removeAll })
+                                                                 &pickupNote, &linksLabel, &links, &removeLink, &removeAll, &outputsTitle,
+                                                                 &outputsNote, &noOutputs, &syncTitle, &clockLabel, &clockBox, &clockOffsetLabel,
+                                                                 &clockOffset, &clockStatusLabel, &clockStatus, &clockNote })
             add (*c);
+        styleNote (outputsNote, tr ("Send master sync drives drum machines, synths and other software from LYNX's transport: MIDI clock "
+                                    "with Song Position Pointer, or MIDI Time Code."));
+        styleLabel (noOutputs, tr ("No MIDI output devices found."));
+        styleLabel (clockLabel, tr ("External clock sync"));
+        clockBox.setTooltip (tr ("LYNX follows the MIDI clock of this input: its tempo, Start / Continue / Stop and Song Position Pointer"));
+        clockBox.onChange = [this] {
+            if (loading)
+                return;
+            auto p = engine.getMidiPrefs();
+            const auto id = clockBox.getSelectedId();
+            p.clockInput = id > 1 && id - 2 < clockInputs.size() ? clockInputs[id - 2].toStdString() : std::string();
+            // (FL asks "The device isn't enabled" → Enable device: the clock input is turned on with it)
+            if (! p.clockInput.empty() && ! p.input (p.clockInput).enabled)
+            {
+                auto in = p.input (p.clockInput);
+                in.enabled = true;
+                p.setInput (in);
+                set (p);
+                rebuildInputs();
+                return;
+            }
+            set (p);
+        };
+        styleCombo (clockBox);
+        styleLabel (clockOffsetLabel, tr ("External sync offset (milliseconds)"));
+        clockOffset.setSliderStyle (juce::Slider::IncDecButtons);
+        clockOffset.setTextBoxStyle (juce::Slider::TextBoxLeft, false, 56, 24);
+        clockOffset.setRange (-1000.0, 1000.0, 1.0);
+        clockOffset.setDoubleClickReturnValue (true, 0.0);
+        clockOffset.setTooltip (tr ("Positive plays LYNX later than the clock, negative earlier"));
+        clockOffset.onValueChange = [this] {
+            if (loading)
+                return;
+            auto p = engine.getMidiPrefs();
+            p.clockOffsetMs = (int) clockOffset.getValue();
+            set (p);
+        };
+        styleLabel (clockStatusLabel, tr ("Status"));
+        styleLabel (clockStatus, tr ("No clock"), false);
+        styleNote (clockNote, tr ("Choosing an input turns it on in Input devices above. Song time will match the clock."));
+        startTimerHz (4);
         styleNote (inputsNote, tr ("Each input device can be turned off, listen to one MIDI channel only and play a fixed channel of the "
                                    "Channel Rack instead of the selected ones."));
         styleLabel (noDevices, tr ("No MIDI input devices found. Connect one and refresh the list."));
@@ -1021,6 +1159,15 @@ public:
         {
             // --snapshot: devices of a typical setup, and two links
             sampleDevices = { "Arturia KeyLab 49", "Akai MPD218" };
+            sampleOutputs = { "Roland TR-8S", "Korg volca sample" };
+            auto p = engine.getMidiPrefs();
+            prefs::MidiOutputPrefs drums;
+            drums.name = "Roland TR-8S";
+            drums.masterSync = true;
+            drums.allNotesOff = true;
+            p.setOutput (drums);
+            p.clockInput = "Akai MPD218";
+            engine.setMidiPrefs (p, false);
             engine.editSong ([] (Song& s) {
                 AutomationTarget volume;
                 volume.kind = AutomationTargetKind::mixerVolume;
@@ -1035,9 +1182,14 @@ public:
         engine.addChangeListener (this);
         rebuildInputs();
         load();
+        timerCallback(); // (the status at once, not after the first tick)
     }
 
-    ~MidiPage() override { engine.removeChangeListener (this); }
+    ~MidiPage() override
+    {
+        stopTimer();
+        engine.removeChangeListener (this);
+    }
 
 private:
     int layout (int width) override
@@ -1051,6 +1203,19 @@ private:
             row->setBounds (r.full (34).translated (0, -4));
         refresh.setBounds (r.full().removeFromLeft (150));
 
+        r.section (outputsTitle);
+        outputsNote.setBounds (r.full (32).translated (0, -4));
+        if (outputRows.empty())
+            noOutputs.setBounds (r.full (24));
+        for (auto& row : outputRows)
+            row->setBounds (r.full (66).translated (0, -4));
+
+        r.section (syncTitle);
+        clockBox.setBounds (r.row (clockLabel, 300));
+        clockOffset.setBounds (r.row (clockOffsetLabel, 140));
+        clockStatus.setBounds (r.row (clockStatusLabel, 0));
+        clockNote.setBounds (r.indented (16).translated (0, -3));
+
         r.section (notesTitle);
         velocityBox.setBounds (r.row (velocityLabel, 300));
         velocityNote.setBounds (r.indented (16).translated (0, -3));
@@ -1091,6 +1256,14 @@ private:
         const auto& p = engine.getMidiPrefs();
         velocityBox.setSelectedId ((int) p.velocity + 1, juce::dontSendNotification);
         pickup.setToggleState (p.pickup, juce::dontSendNotification);
+        {
+            auto id = 1;
+            for (int i = 0; i < clockInputs.size(); ++i)
+                if (clockInputs[i].toStdString() == p.clockInput)
+                    id = i + 2;
+            clockBox.setSelectedId (id, juce::dontSendNotification);
+        }
+        clockOffset.setValue (p.clockOffsetMs, juce::dontSendNotification);
         links.updateContent();
         links.repaint();
         removeLink.setEnabled (links.getSelectedRow() >= 0);
@@ -1126,9 +1299,64 @@ private:
             rows.push_back (std::move (row));
         }
         noDevices.setVisible (rows.empty());
+
+        // the clock input list: off, then the inputs (a saved one missing now stays listed)
+        clockInputs = names;
+        if (const auto saved = juce::String::fromUTF8 (engine.getMidiPrefs().clockInput.c_str()); saved.isNotEmpty() && ! clockInputs.contains (saved))
+            clockInputs.add (saved);
+        clockBox.clear (juce::dontSendNotification);
+        clockBox.addItem (tr ("Off"), 1);
+        for (int i = 0; i < clockInputs.size(); ++i)
+            clockBox.addItem (clockInputs[i], i + 2);
+
+        outputRows.clear();
+        juce::StringArray outputs;
+        if (persistent)
+            for (const auto& d : juce::MidiOutput::getAvailableDevices())
+                outputs.add (d.name);
+        else
+            outputs = sampleOutputs;
+        for (const auto& name : outputs)
+        {
+            auto row = std::make_unique<MidiOutputRow> (name, engine.getMidiPrefs().output (name.toStdString()), [this] (const prefs::MidiOutputPrefs& out) {
+                auto p = engine.getMidiPrefs();
+                p.setOutput (out);
+                set (p);
+            });
+            add (*row);
+            outputRows.push_back (std::move (row));
+        }
+        noOutputs.setVisible (outputRows.empty());
+        load();
         resized();
     }
 
+    void timerCallback() override
+    {
+        // FL's "Status: off / ready / running [Beat n] / error" (REA 165f), with the tempo received
+        const auto& p = engine.getMidiPrefs();
+        auto& sync = engine.getMidiSync();
+        const auto now = juce::Time::getMillisecondCounterHiRes() * 0.001;
+        juce::String text;
+        if (p.clockInput.empty())
+            text = tr ("Off");
+        else if (! persistent)
+            text = tr ("Running: beat {0}, {1} BPM", { "17", "120.0" }); // --snapshot
+        else if (! engine.getActiveMidiInputs().contains (juce::String::fromUTF8 (p.clockInput.c_str())))
+            text = tr ("Error: the input is not open");
+        else if (! sync.receiver().receiving (now))
+            text = tr ("Ready, no clock");
+        else if (sync.receiver().tooFast())
+            text = tr ("Clock is too fast!");
+        else if (sync.receiver().running())
+            text = tr ("Running: beat {0}, {1} BPM", { juce::String ((int) (engine.getTransport().positionInBeats()) + 1),
+                                                       juce::String (sync.receiver().bpm(), 1) });
+        else
+            text = tr ("Receiving clock {0} BPM", { juce::String (sync.receiver().bpm(), 1) });
+        if (clockStatus.getText() != text)
+            clockStatus.setText (text, juce::dontSendNotification);
+    }
+
     // links list
     int getNumRows() override { return juce::jmax (1, linkRows()); }
 
@@ -1179,6 +1407,12 @@ private:
     std::size_t channelCount = 0;
     juce::StringArray sampleDevices;
     std::vector<std::unique_ptr<MidiInputRow>> rows;
+    std::vector<std::unique_ptr<MidiOutputRow>> outputRows;
+    juce::StringArray sampleOutputs, clockInputs;
+    SectionTitle outputsTitle { tr ("Output devices") }, syncTitle { tr ("External sync") };
+    juce::Label outputsNote, noOutputs, clockLabel, clockOffsetLabel, clockStatusLabel, clockStatus, clockNote;
+    juce::ComboBox clockBox;
+    juce::Slider clockOffset;
     SectionTitle inputsTitle { tr ("Input devices") }, notesTitle { tr ("Notes") }, controllersTitle { tr ("Controllers") };
     juce::Label inputsNote, noDevices, velocityLabel, velocityNote, typeLabel, typeValue, pickupNote, linksLabel;
     juce::TextButton refresh { tr ("Refresh device list") }, removeLink { tr ("Remove link") }, removeAll { tr ("Remove all") };

+ 175 - 0
tests/FlPlugins165Tests.inc

@@ -0,0 +1,175 @@
+// --- FL plugins LYNX lacked: Fruity Mute 2, Big Clock, Tuner, HTML NoteBook, inert imports (core/FlExtraFx.h) - round 165g
+
+#include "core/FlExtraFx.h"
+
+namespace fl165g
+{
+std::vector<std::uint8_t> ints (std::initializer_list<std::int32_t> v)
+{
+    std::vector<std::uint8_t> out;
+    for (const auto x : v)
+    {
+        const auto* b = reinterpret_cast<const std::uint8_t*> (&x);
+        out.insert (out.end(), b, b + 4);
+    }
+    return out;
+}
+} // namespace fl165g
+
+TEST (fl165g_mute2_channels_and_switch)
+{
+    using namespace lynx::flextra::mute2;
+    // FL: muted below 0.5; channel = round(v · 3) clamped to 2 (Delphi's banker's rounding)
+    CHECK (soundOn (0.5f) && soundOn (1.0f) && ! soundOn (0.49f) && ! soundOn (0.0f));
+    CHECK (channelOf (0.0f) == Channel::left && channelOf (1.0f / 3.0f) == Channel::both && channelOf (2.0f / 3.0f) == Channel::right);
+    CHECK (channelOf (1.0f) == Channel::right && channelOf (0.5f) == Channel::right && channelOf (0.16f) == Channel::left);
+    CHECK (paramText (mute, 1.0f) == "On" && paramText (mute, 0.0f) == "Off" && paramText (channel, 1.0f / 3.0f) == "L + R");
+
+    for (const auto c : { Channel::left, Channel::both, Channel::right })
+        for (const auto m : { 0.0f, 1.0f })
+        {
+            std::vector<float> l (64, 0.5f), r (64, -0.25f);
+            process (l.data(), r.data(), 64, m, channelValue (c));
+            const auto lOn = l[10] != 0.0f, rOn = r[10] != 0.0f;
+            if (m >= 0.5f)
+                CHECK (lOn && rOn && l[63] == 0.5f && r[0] == -0.25f);
+            else
+                CHECK (lOn == (c == Channel::right) && rOn == (c == Channel::left));
+        }
+
+    // FL's state: version 1, the switch, the selector
+    auto slot = lynx::makeEffectSlot (lynx::EffectKind::fruityMute2);
+    CHECK (fromFl (fl165g::ints ({ 1, 1, 0 }), slot) && soundOn (slot.params[mute]) && channelOf (slot.params[channel]) == Channel::left);
+    CHECK (fromFl (fl165g::ints ({ 1, 0, 2 }), slot) && ! soundOn (slot.params[mute]) && channelOf (slot.params[channel]) == Channel::right);
+    CHECK (! fromFl (fl165g::ints ({ 1, 0 }), slot) && ! fromFl (fl165g::ints ({ 7, 0, 0 }), slot));
+
+    // the import: name → effect, through effectFromFl
+    const auto fx = lynx::effectFromFl ("Fruity Mute 2", fl165g::ints ({ 1, 0, 1 }), 120.0);
+    CHECK (fx && fx->kind == lynx::EffectKind::fruityMute2 && channelOf (fx->params[channel]) == Channel::both);
+    CHECK (lynx::effectForFlPlugin ("Fruity Mute 2") == lynx::EffectKind::fruityMute2);
+
+    // the running effect
+    auto effect = lynx::makeEffect (lynx::EffectKind::fruityMute2);
+    effect->prepare (48000.0);
+    lynx::EffectParams p {};
+    p[mute] = 0.0f;
+    p[channel] = channelValue (Channel::left);
+    std::vector<float> l (32, 1.0f), r (32, 1.0f);
+    effect->process (l.data(), r.data(), 32, p, 120.0);
+    CHECK (l[5] == 0.0f && r[5] == 1.0f);
+}
+
+TEST (fl165g_big_clock_text)
+{
+    using namespace lynx::flextra::bigclock;
+    lynx::Song song;
+    song.mode = lynx::PlayMode::pattern;
+    song.bpm = 120.0;
+    const double ticks = 11.0 * 4 * lynx::ppq + 2.0 * lynx::ppq + 1.0 * lynx::ticksPerStep + 170.0; // bar 12, beat 3, step 10 (+170)
+    CHECK (clockText (song, ticks, 4, Display::barBeatTick) == "12:03:41");  // 240 + 170 LYNX ticks = 41 FL ticks (96 ppq)
+    CHECK (clockText (song, ticks, 4, Display::barStepTick) == "12:10:17");  // step 10 of the bar, 170 ticks = 17
+    CHECK (clockText (song, 0.0, 4, Display::barBeatTick) == "1:01:00");
+    CHECK (clockText (song, (double) lynx::ppq * 2 * 61.5, 4, Display::minSecHundredths) == "1:01:50"); // 123 beats at 120 BPM = 61.5 s
+    CHECK (displayOf (displayValue (Display::minSecHundredths)) == Display::minSecHundredths);
+    CHECK (paramText (display, 1.0f) == "Bar:Step:Tick");
+    CHECK (lynx::effectFromFl ("Fruity Big Clock", {}, 120.0)->kind == lynx::EffectKind::bigClock);
+}
+
+TEST (fl165g_tuner_state_and_detection)
+{
+    using namespace lynx::flextra::tuner;
+    // FL's presets: Default (440 Hz, fast, no bass, Dial = 2), Bass, Horizontal (Basic = 1), Average (reactivity 0)
+    auto slot = lynx::makeEffectSlot (lynx::EffectKind::tuner);
+    CHECK (fromFl (fl165g::ints ({ 1, 3000, 1, 0, 2 }), slot));
+    CHECK (std::abs (referenceHz (slot.params[reference]) - 440.0) < 1e-9 && slot.params[reactivity] == 1.0f && ! bassOn (slot.params[bass])
+           && visualOf (slot.params[visual]) == Visual::dial);
+    CHECK (fromFl (fl165g::ints ({ 1, 3000, 0, 1, 1 }), slot) && slot.params[reactivity] == 0.5f && bassOn (slot.params[bass])
+           && visualOf (slot.params[visual]) == Visual::basic);
+    CHECK (paramText (reference, 0.5f) == "440.0 Hz" && paramText (reactivity, 0.5f) == "Average" && paramText (visual, 1.0f) == "Dial");
+    CHECK (std::string (noteName (61)) == "C#" && octaveOf (60) == 4 && octaveOf (59) == 3);
+
+    // detection: tones across the range, both reactivities, a different reference
+    struct Case { double hz; float react; bool bass; double a4; int note; double cents; };
+    const Case cases[] = { { 440.0, 1.0f, false, 440.0, 69, 0.0 },   { 442.3, 1.0f, false, 440.0, 69, 9.0 },
+                           { 82.41, 0.0f, false, 440.0, 40, 0.0 },   { 55.0, 0.5f, false, 440.0, 33, 0.0 },
+                           { 30.87, 1.0f, true, 440.0, 23, 0.0 },    { 2093.0, 0.0f, false, 440.0, 96, 0.0 },
+                           { 4186.0, 1.0f, false, 440.0, 108, 0.0 }, { 432.0, 1.0f, false, 432.0, 69, 0.0 },
+                           { 261.63, 0.3f, false, 440.0, 60, 0.0 } };
+    for (const auto& c : cases)
+    {
+        Analyzer a;
+        a.prepare (48000.0);
+        a.setOptions (c.a4, c.react, c.bass);
+        std::vector<float> block (256);
+        double phase = 0.0;
+        for (int b = 0; b < 48000 * 2 / 256; ++b)
+        {
+            for (auto& x : block)
+            {
+                x = (float) (0.3 * std::sin (phase) + 0.1 * std::sin (2.0 * phase));
+                phase += 2.0 * 3.141592653589793 * c.hz / 48000.0;
+            }
+            a.push (block.data(), (int) block.size());
+        }
+        const auto r = a.reading();
+        CHECK (r.valid && r.note == c.note && std::abs (r.cents - c.cents) < 2.0);
+        if (! (r.valid && r.note == c.note && std::abs (r.cents - c.cents) < 2.0))
+            std::printf ("  tuner %.2f Hz: valid %d note %d cents %.2f hz %.2f\n", c.hz, (int) r.valid, r.note, r.cents, r.hz);
+    }
+    // silence clears the display
+    {
+        Analyzer a;
+        a.prepare (48000.0);
+        std::vector<float> zero (48000, 0.0f);
+        a.push (zero.data(), (int) zero.size());
+        CHECK (! a.reading().valid);
+    }
+}
+
+TEST (fl165g_html_notebook)
+{
+    using namespace lynx::flextra::htmlnotebook;
+    // FL's presets: version 1 + a Pascal short string
+    std::vector<std::uint8_t> state { 1, 0, 0, 0, 22 };
+    const std::string google = "http://www.google.com/";
+    state.insert (state.end(), google.begin(), google.end());
+    CHECK (address (state) == google && isWebAddress (google) && ! isWebAddress ("C:\\notes\\a.html"));
+    CHECK (address ({ 1, 0, 0, 0, 0 }).empty() && address ({}).empty() && address ({ 1, 0, 0, 0, 9, 'a' }).empty());
+    CHECK (stateFor (google) == state);
+    const auto fx = lynx::effectFromFl ("Fruity HTML NoteBook", state, 120.0);
+    CHECK (fx && fx->kind == lynx::EffectKind::htmlNotebook && address (fx->state) == google);
+
+    const auto page = parse ("<html><head><title>My &amp; notes</title><style>p{color:red}</style><script>var a='<p>x</p>';</script></head>"
+                             "<body><h1>Title</h1><p>Some   <b>bold</b>\n text &copy; <a href=\"x.html\">link</a></p>"
+                             "<ul><li>one</li><li>two</li></ul><!-- hidden --><hr><pre>a  b\nc</pre></body></html>");
+    CHECK (page.title == "My & notes");
+    CHECK (page.blocks.size() == 6);
+    if (page.blocks.size() == 6)
+    {
+        using K = Block::Kind;
+        CHECK (page.blocks[0].kind == K::heading1 && page.blocks[0].runs[0].text == "Title");
+        const auto& p = page.blocks[1];
+        CHECK (p.kind == K::paragraph && p.runs.size() == 4 && p.runs[0].text == "Some " && p.runs[1].bold && p.runs[1].text == "bold");
+        CHECK (p.runs.size() == 4 && p.runs[2].text == " text \xc2\xa9 " && p.runs[3].link == "x.html" && p.runs[3].text == "link");
+        CHECK (page.blocks[2].kind == K::listItem && page.blocks[3].kind == K::listItem && page.blocks[3].runs[0].text == "two");
+        CHECK (page.blocks[4].kind == K::rule && page.blocks[5].kind == K::preformatted && page.blocks[5].runs[0].text == "a  b\nc");
+    }
+}
+
+TEST (fl165g_inert_and_project_round_trip)
+{
+    using namespace lynx;
+    CHECK (! flextra::inertPluginNote ("Razer Chroma").empty() && ! flextra::inertPluginNote ("ReWired").empty());
+    CHECK (! flextra::inertPluginNote ("FL Studio Mobile Rack FX").empty() && flextra::inertPluginNote ("Fruity Limiter").empty());
+    for (const auto k : { EffectKind::fruityMute2, EffectKind::bigClock, EffectKind::tuner, EffectKind::htmlNotebook })
+    {
+        CHECK (flPluginsForEffect (k).size() == 1);
+        CHECK (effectForFlPlugin (flPluginsForEffect (k)[0]) == k);
+        auto e = makeEffect (k);
+        e->prepare (48000.0);
+        std::vector<float> l (64, 0.25f), r (64, 0.25f);
+        e->process (l.data(), r.data(), 64, makeEffectSlot (k).params, 120.0);
+        // a new Mute 2 lets the sound through until it is switched off; the others never touch the sound
+        CHECK (l[3] == 0.25f && r[3] == 0.25f);
+    }
+}

+ 345 - 0
tests/MidiSync165Tests.inc

@@ -0,0 +1,345 @@
+// Round 165f (rea165-midisync): MIDI clock / MTC master sync and external clock sync
+// (docs/analise/REA_rodada165f-midisync.md)
+
+namespace midisync165
+{
+using namespace lynx::midisync;
+
+// runs the generator over `blocks` blocks of `n` samples at `bpm`, starting at `startTicks`
+struct Run
+{
+    std::vector<std::pair<std::int64_t, Message>> sent; // absolute sample, message
+};
+
+inline void play (Generator& g, Run& run, double& ticks, std::int64_t& sample, int blocks, int n, double bpm, double rate = 48000.0,
+                  bool playing = true, bool jumped = false)
+{
+    for (int b = 0; b < blocks; ++b)
+    {
+        Block block;
+        block.startTicks = ticks;
+        block.ticksPerSample = bpm * 960.0 / (60.0 * rate);
+        block.sampleRate = rate;
+        block.numSamples = n;
+        block.playing = playing;
+        block.jumped = jumped && b == 0;
+        BlockMessages out;
+        g.process (block, ticks / (block.ticksPerSample * rate), out);
+        for (int i = 0; i < out.count; ++i)
+            run.sent.push_back ({ sample + out.items[(std::size_t) i].sample, out.items[(std::size_t) i] });
+        if (playing)
+            ticks += n * block.ticksPerSample;
+        sample += n;
+    }
+}
+
+inline int countStatus (const Run& r, std::uint8_t status)
+{
+    return (int) std::count_if (r.sent.begin(), r.sent.end(), [status] (const auto& m) { return m.second.bytes[0] == status; });
+}
+} // namespace midisync165
+
+TEST (midisync165_clock_pulses_land_on_their_samples)
+{
+    using namespace midisync165;
+    Generator g;
+    Run run;
+    double ticks = 0.0;
+    std::int64_t sample = 0;
+    // 120 BPM at 48 kHz: a pulse every 48000 * 0.5 / 24 = 1000 samples; blocks of 333 split pulses everywhere
+    play (g, run, ticks, sample, 300, 333, 120.0);
+    CHECK (! run.sent.empty() && run.sent[0].second.bytes[0] == 0xfa && run.sent[0].first == 0);
+    std::vector<std::int64_t> pulses;
+    for (const auto& [at, m] : run.sent)
+        if (m.bytes[0] == 0xf8)
+            pulses.push_back (at);
+    CHECK (pulses.size() == 100); // 99 900 samples: pulses at 0, 1000 … 99 000
+    for (std::size_t i = 0; i < pulses.size(); ++i)
+        CHECK (pulses[i] == (std::int64_t) i * 1000);
+    // stop: one Stop, then nothing
+    play (g, run, ticks, sample, 10, 333, 120.0, 48000.0, false);
+    CHECK (countStatus (run, 0xfc) == 1);
+    CHECK (run.sent.back().second.bytes[0] == 0xfc);
+}
+
+TEST (midisync165_clock_follows_tempo_changes)
+{
+    using namespace midisync165;
+    Generator g;
+    Run run;
+    double ticks = 0.0;
+    std::int64_t sample = 0;
+    play (g, run, ticks, sample, 48, 1000, 120.0); // 1 s at 120: 48 pulses, 1000 samples apart
+    const auto before = (std::size_t) countStatus (run, 0xf8);
+    play (g, run, ticks, sample, 48, 1000, 60.0); // 1 s at 60: 24 pulses, 2000 samples apart
+    CHECK (before == 48);
+    CHECK (countStatus (run, 0xf8) == 72);
+    std::vector<std::int64_t> pulses;
+    for (const auto& [at, m] : run.sent)
+        if (m.bytes[0] == 0xf8)
+            pulses.push_back (at);
+    CHECK (pulses[48] == 48000 && pulses[49] == 50000 && pulses.back() == 94000);
+}
+
+TEST (midisync165_spp_and_continue_on_start_elsewhere_and_jumps)
+{
+    using namespace midisync165;
+    CHECK (sppFor (0.0) == 0 && sppFor (240.0) == 1 && sppFor (241.0) == 2 && sppFor (3840.0) == 16);
+    Generator g;
+    Run run;
+    double ticks = 3840.0 + 100.0; // bar 2 + a bit: SPP 17 (the next 16th), first pulse at tick 4080
+    std::int64_t sample = 0;
+    play (g, run, ticks, sample, 4, 1000, 120.0);
+    CHECK (run.sent[0].second.bytes[0] == 0xf2 && run.sent[0].second.bytes[1] == 17 && run.sent[0].second.bytes[2] == 0);
+    CHECK (run.sent[1].second.bytes[0] == 0xfb);
+    CHECK (run.sent[2].second.bytes[0] == 0xf8);
+    // 140 ticks to the pulse at 1 tick / 25 samples (120 BPM, 48 kHz: 0.04 ticks per sample)
+    CHECK (run.sent[2].first == 3500);
+    // a jump while playing (the loop goes back to 0): Stop, Start, pulse at once
+    run.sent.clear();
+    ticks = 0.0;
+    play (g, run, ticks, sample, 1, 1000, 120.0, 48000.0, true, true);
+    CHECK (run.sent.size() >= 3 && run.sent[0].second.bytes[0] == 0xfc && run.sent[1].second.bytes[0] == 0xfa && run.sent[2].second.bytes[0] == 0xf8);
+    // a big SPP: 14 bits, LSB first
+    run.sent.clear();
+    ticks = 240.0 * 1000.0;
+    play (g, run, ticks, sample, 1, 10, 120.0, 48000.0, true, true);
+    CHECK (run.sent[1].second.bytes[0] == 0xf2 && run.sent[1].second.bytes[1] == (1000 & 0x7f) && run.sent[1].second.bytes[2] == (1000 >> 7));
+}
+
+TEST (midisync165_loop_wrap_detected_without_a_flag)
+{
+    // the engine's loop: the position goes back to the loop start between two parts of a block, unflagged
+    using namespace midisync165;
+    Generator g;
+    Run run;
+    double ticks = 0.0;
+    std::int64_t sample = 0;
+    play (g, run, ticks, sample, 4, 1000, 120.0); // 160 ticks played
+    ticks = 0.0;                                  // wrap to 0
+    play (g, run, ticks, sample, 2, 1000, 120.0);
+    CHECK (countStatus (run, 0xfa) == 2 && countStatus (run, 0xfc) == 1);
+    std::vector<std::int64_t> pulses;
+    for (const auto& [at, m] : run.sent)
+        if (m.bytes[0] == 0xf8)
+            pulses.push_back (at);
+    CHECK (pulses.size() == 6 && pulses[4] == 4000 && pulses[5] == 5000);
+    // a wrap to bar 2: SPP 16 + Continue
+    ticks = 3840.0;
+    run.sent.clear();
+    play (g, run, ticks, sample, 1, 1000, 120.0);
+    CHECK (run.sent.size() >= 4 && run.sent[0].second.bytes[0] == 0xfc && run.sent[1].second.bytes[0] == 0xf2 && run.sent[1].second.bytes[1] == 16
+           && run.sent[2].second.bytes[0] == 0xfb && run.sent[3].second.bytes[0] == 0xf8 && run.sent[3].first == sample - 1000);
+}
+
+TEST (midisync165_mtc_timecode_labels_drop_frame)
+{
+    using namespace lynx::midisync;
+    const auto df = mtcRate (SyncType::mtc2997Drop);
+    CHECK (df.code == 2 && df.drop && df.nominal == 30);
+    // the first minute has every label; minute 1 starts at 00:01:00;02
+    CHECK ((frameToTimecode (1799, df) == Timecode { 0, 0, 59, 29 }));
+    CHECK ((frameToTimecode (1800, df) == Timecode { 0, 1, 0, 2 }));
+    // minute 10 keeps its 0 and 1
+    CHECK ((frameToTimecode (17982, df) == Timecode { 0, 10, 0, 0 }));
+    CHECK ((frameToTimecode (17981, df) == Timecode { 0, 9, 59, 29 }));
+    // one hour of 29.97 drop = 107 892 frames = 01:00:00;00 exactly
+    CHECK ((frameToTimecode (107892, df) == Timecode { 1, 0, 0, 0 }));
+    for (std::int64_t f : { 0, 1, 2, 1799, 1800, 1801, 3597, 3598, 17981, 17982, 17983, 107891, 107892, 500000 })
+        CHECK (timecodeToFrame (frameToTimecode (f, df), df) == f);
+    // non-drop 29.97: plain 30-frame labels (it drifts from the clock by design)
+    const auto nd = mtcRate (SyncType::mtc2997);
+    CHECK (nd.code == 3 && ! nd.drop);
+    CHECK ((frameToTimecode (1800, nd) == Timecode { 0, 1, 0, 0 }));
+    const auto f24 = mtcRate (SyncType::mtc24), f25 = mtcRate (SyncType::mtc25), f30 = mtcRate (SyncType::mtc30), d30 = mtcRate (SyncType::mtc30Drop);
+    CHECK (f24.code == 0 && f25.code == 1 && f30.code == 3 && d30.code == 2 && d30.fps == 30.0);
+    CHECK ((frameToTimecode (24 * 3661 + 5, f24) == Timecode { 1, 1, 1, 5 }));
+    CHECK ((frameToTimecode (25 * 59 + 24, f25) == Timecode { 0, 0, 59, 24 }));
+}
+
+TEST (midisync165_mtc_quarter_frames_and_full_frame)
+{
+    using namespace midisync165;
+    // the pieces of 01:23:45:12 at 25 fps
+    const Timecode tc { 1, 23, 45, 12 };
+    const std::uint8_t expect[8] { 0x0c, 0x10, 0x2d, 0x32, 0x47, 0x51, 0x61, 0x72 };
+    for (int p = 0; p < 8; ++p)
+        CHECK (quarterFrameData (tc, p, 1) == expect[p]);
+    std::uint8_t ff[10] {};
+    fullFrame (tc, 1, ff);
+    const std::uint8_t ffExpect[10] { 0xf0, 0x7f, 0x7f, 0x01, 0x01, 0x21, 23, 45, 12, 0xf7 };
+    CHECK (std::equal (ff, ff + 10, ffExpect));
+
+    for (int t = 1; t < syncTypeCount; ++t)
+    {
+        const auto type = (SyncType) t;
+        const auto rate = mtcRate (type);
+        Generator g;
+        g.setType (type);
+        Run run;
+        double ticks = 0.0;
+        std::int64_t sample = 0;
+        play (g, run, ticks, sample, 100, 480, 120.0); // 1 s
+        // a full frame at the start, then 4 quarter frames per frame, in piece order 0…7
+        CHECK (run.sent[0].second.size == 10 && run.sent[0].second.bytes[5] == (std::uint8_t) (rate.code << 5));
+        std::vector<std::pair<std::int64_t, std::uint8_t>> qf;
+        for (const auto& [at, m] : run.sent)
+            if (m.bytes[0] == 0xf1)
+                qf.push_back ({ at, m.bytes[1] });
+        const auto expected = (std::size_t) std::ceil (rate.fps * 4.0 - 1.0e-9);
+        CHECK (qf.size() == expected);
+        for (std::size_t i = 0; i < qf.size(); ++i)
+        {
+            CHECK ((qf[i].second >> 4) == (int) (i % 8));
+            CHECK (std::llabs (qf[i].first - std::llround (i * 48000.0 / (rate.fps * 4.0))) <= 1);
+        }
+        // the second sequence (frames 2–3) carries frame 2
+        CHECK ((qf[8].second & 0x0f) == 2 && (qf[9].second & 0x0f) == 0);
+        CHECK ((qf[7].second & 0x06) >> 1 == rate.code);
+    }
+
+    // a locate at 10 s (25 fps): a full frame 00:00:10:00, then quarter frames from frame 250
+    Generator g;
+    g.setType (SyncType::mtc25);
+    Run run;
+    double ticks = 10.0 * 2.0 * 960.0; // 10 s at 120 BPM
+    std::int64_t sample = 0;
+    play (g, run, ticks, sample, 10, 480, 120.0);
+    CHECK (run.sent[0].second.size == 10 && run.sent[0].second.bytes[7] == 10 && run.sent[0].second.bytes[8] == 0);
+    CHECK (run.sent[1].second.bytes[0] == 0xf1 && run.sent[1].first == 0 && run.sent[1].second.bytes[1] == (0x00 | (250 % 25)));
+    CHECK (run.sent[3].second.bytes[1] == (0x20 | 10)); // seconds low nibble
+}
+
+TEST (midisync165_receiver_tempo_from_jittery_clock)
+{
+    using namespace lynx::midisync;
+    std::mt19937 random (165);
+    std::uniform_real_distribution<double> jitter (-0.001, 0.001); // ±1 ms per message (a USB MIDI interface)
+    for (const auto bpm : { 60.0, 98.5, 120.0, 174.0, 240.0 })
+    {
+        Receiver r;
+        const std::uint8_t clock = 0xf8;
+        const auto period = 60.0 / (bpm * 24.0);
+        double shown = 0.0, maxSwing = 0.0;
+        for (int i = 0; i < 24 * 16; ++i)
+        {
+            r.feed (&clock, 1, 10.0 + i * period + jitter (random));
+            if (i >= 24 * 4)
+            {
+                if (shown > 0.0)
+                    maxSwing = std::max (maxSwing, std::abs (r.bpm() - shown));
+                shown = r.bpm();
+            }
+        }
+        CHECK (std::abs (r.bpm() - bpm) < 0.15 * bpm / 120.0 + 0.1);
+        CHECK (maxSwing < 0.3); // the hysteresis keeps the readout steady
+        CHECK (r.receiving (10.0 + 24 * 16 * period) && ! r.receiving (20.0 + 24 * 16 * period));
+    }
+    // a tempo change is followed within a beat
+    Receiver r;
+    const std::uint8_t clock = 0xf8;
+    double t = 0.0;
+    for (int i = 0; i < 96; ++i, t += 60.0 / (120.0 * 24.0))
+        r.feed (&clock, 1, t);
+    for (int i = 0; i < 24; ++i, t += 60.0 / (90.0 * 24.0))
+        r.feed (&clock, 1, t);
+    CHECK (std::abs (r.bpm() - 90.0) < 0.2);
+    // one late message does not restart the fit
+    Receiver q;
+    t = 0.0;
+    for (int i = 0; i < 96; ++i, t += 60.0 / (120.0 * 24.0))
+        q.feed (&clock, 1, t + (i == 60 ? 0.008 : 0.0));
+    CHECK (std::abs (q.bpm() - 120.0) < 0.3);
+    // a clock too fast for a tempo
+    Receiver f;
+    for (int i = 0; i < 48; ++i)
+        f.feed (&clock, 1, i * 0.0001);
+    CHECK (f.tooFast() && statusText (f, 0.0047).find ("too fast") != std::string::npos);
+    CHECK (statusText (Receiver(), 0.0) == "No clock");
+}
+
+TEST (midisync165_receiver_transport_commands_and_position)
+{
+    using namespace lynx::midisync;
+    Receiver r;
+    const std::uint8_t clock = 0xf8, start = 0xfa, stop = 0xfc, resume = 0xfb;
+    const std::uint8_t spp[3] { 0xf2, 0x10, 0x01 }; // 16 + 128 = 144 sixteenths = 36 beats
+    const auto period = 60.0 / (120.0 * 24.0);
+    Receiver::Command c;
+    double ticks = -1.0;
+    // a clock while stopped: the tempo is known, the song does not move
+    for (int i = 0; i < 30; ++i)
+        r.feed (&clock, 1, i * period);
+    CHECK (! r.running() && std::abs (r.bpm() - 120.0) < 0.05 && ! r.popCommand (c, ticks));
+    CHECK (r.feed (&start, 1, 30 * period - 0.001));
+    CHECK (r.popCommand (c, ticks) && c == Receiver::Command::start && ticks == 0.0);
+    CHECK (! r.running()); // starts on the next pulse
+    r.feed (&clock, 1, 30 * period);
+    CHECK (r.running() && r.ticksAt (30 * period) == 0.0);
+    CHECK (std::abs (r.ticksAt (30 * period + period / 2) - 20.0) < 1.0e-6);
+    CHECK (std::abs (r.ticksAt (30 * period + 3 * period) - 120.0) < 1.0e-6); // extrapolated…
+    CHECK (std::abs (r.ticksAt (30 * period + 5.0) - 40.0 * 0.1 / period) < 1.0e-6); // …at most 0.1 s
+    for (int i = 31; i < 30 + 49; ++i)
+        r.feed (&clock, 1, i * period);
+    CHECK (std::abs (r.ticksAt (78 * period) - 48 * 40.0) < 1.0e-6); // two beats in
+    r.feed (&stop, 1, 79 * period);
+    CHECK (r.popCommand (c, ticks) && c == Receiver::Command::stop && ! r.running());
+    // SPP then Continue: playback resumes at bar 10 on the next pulse
+    CHECK (r.feed (spp, 3, 80 * period));
+    CHECK (r.popCommand (c, ticks) && c == Receiver::Command::locate && ticks == 144 * 240.0);
+    r.feed (&resume, 1, 81 * period);
+    CHECK (r.popCommand (c, ticks) && c == Receiver::Command::resume && ticks == 144 * 240.0);
+    r.feed (&clock, 1, 82 * period);
+    r.feed (&clock, 1, 83 * period);
+    CHECK (r.running() && r.ticksAt (83 * period) == 144 * 240.0 + 40.0);
+    // other messages are not sync
+    const std::uint8_t note[3] { 0x90, 60, 100 };
+    CHECK (! r.feed (note, 3, 0.0));
+}
+
+TEST (midisync165_generator_feeds_receiver_loopback)
+{
+    // the self-check: what the master sends, a receiver follows (tempo, start, position)
+    using namespace midisync165;
+    Generator g;
+    Receiver r;
+    Run run;
+    double ticks = 0.0;
+    std::int64_t sample = 0;
+    play (g, run, ticks, sample, 200, 256, 133.0, 44100.0);
+    for (const auto& [at, m] : run.sent)
+        r.feed (m.bytes.data(), m.size, at / 44100.0);
+    CHECK (std::abs (r.bpm() - 133.0) < 0.05);
+    CHECK (r.running());
+    const auto now = sample / 44100.0;
+    CHECK (std::abs (r.ticksAt (now) - ticks) <= 40.0);
+    Receiver::Command c;
+    double at = 0.0;
+    CHECK (r.popCommand (c, at) && c == Receiver::Command::start);
+}
+
+TEST (midisync165_settings_round_trip)
+{
+    lynx::prefs::MidiPrefs p;
+    lynx::prefs::MidiOutputPrefs o;
+    o.name = "Volca | Sample";
+    o.masterSync = true;
+    o.syncType = "mtc2997drop";
+    o.offsetMs = -12;
+    o.allNotesOff = true;
+    p.setOutput (o);
+    p.clockInput = "TR-8S";
+    p.clockOffsetMs = 7;
+    const auto back = lynx::prefs::MidiPrefs::fromText (p.toText());
+    CHECK (back == p);
+    CHECK (back.output ("Volca | Sample").syncType == "mtc2997drop");
+    CHECK (! back.output ("other").masterSync && back.output ("other").syncType == "clock");
+    // defaults are not stored
+    lynx::prefs::MidiOutputPrefs plain;
+    plain.name = "x";
+    p.setOutput (plain);
+    CHECK (p.outputs.size() == 1);
+    CHECK (lynx::midisync::syncTypeFromKey ("bogus") == lynx::midisync::SyncType::midiClock);
+    for (int t = 0; t < lynx::midisync::syncTypeCount; ++t)
+        CHECK (lynx::midisync::syncTypeFromKey (lynx::midisync::syncTypeKey ((lynx::midisync::SyncType) t)) == (lynx::midisync::SyncType) t);
+}

+ 2 - 1
tests/MixSuiteTests96.inc

@@ -510,7 +510,8 @@ TEST (mixsuite_panels_place_every_parameter)
             }
         CHECK (meters == (kind == EffectKind::ridgeStrip ? 2 // round 145: the Vocal strip voicing's two (round 165: the E strip's are LED ladders, displays)
                           : (kind == EffectKind::glowLeveler || kind == EffectKind::hushDeEsser || kind == EffectKind::crestCompressor
-                             || kind == EffectKind::sentryGate || kind == EffectKind::quellDenoiser || kind == EffectKind::compressor) ? 1 : 0));
+                             || kind == EffectKind::sentryGate || kind == EffectKind::quellDenoiser || kind == EffectKind::compressor
+                             || kind == EffectKind::ember) ? 1 : 0)); // round 165: Ember's Classic VU
     }
 }
 

+ 1 - 1
tests/Parity128Tests.inc

@@ -175,7 +175,7 @@ TEST (ember_round128_new_parameters_default_to_the_old_sound)
 {
     using namespace lynx::mixsuite::ember;
     const auto& in = lynx::effectInfo (lynx::EffectKind::ember);
-    CHECK ((int) in.params.size() == count && count == 158 && count <= lynx::maxEffectParams); // round 135 (7) + round 136 (the Classic voicing, 11) + round 147b (9) + round 150b (41) + round 152b (25)
+    CHECK ((int) in.params.size() == count && count == 160 && count <= lynx::maxEffectParams); // round 135 (7) + round 136 (the Classic voicing, 11) + round 147b (9) + round 150b (41) + round 152b (25) + round 165a (2)
     const auto p = mixsuite96::defaults (lynx::EffectKind::ember);
     CHECK (std::abs (inputDb (p[inputGain])) < 1e-9);
     for (int b = 0; b < maxBands; ++b)

+ 110 - 0
tests/Parity165aTests.inc

@@ -0,0 +1,110 @@
+// --- Round 165a: Ember Saturator ← Decapitator (docs/PARITY.md, REA_rodada165ha) -----------------------------------
+// Punish's measured law per style, the Auto link (Output follows Drive in the editor), the Classic law upgrade of older
+// projects, and the one-screen Classic layout.
+
+namespace p165a
+{
+// small-signal gain (dB) of Ember's Classic voicing at 1 kHz, −70 dBFS
+inline double classicGainDb (int style, float drive, bool punish, bool measuredLaw = true)
+{
+    namespace e = lynx::mixsuite::ember;
+    auto slot = lynx::makeEffectSlot (lynx::EffectKind::ember);
+    slot.params[(size_t) e::voicing] = 1.0f;
+    slot.params[(size_t) e::classicStyle] = (float) style / 4.0f;
+    slot.params[(size_t) e::classicDrive] = drive / 10.0f;
+    slot.params[(size_t) e::classicPunish] = punish ? 1.0f : 0.0f;
+    slot.params[(size_t) e::classicLaw] = measuredLaw ? 1.0f : 0.0f;
+    auto fx = lynx::makeEffect (slot);
+    fx->prepare (48000.0);
+    fx->reset();
+    const int n = 24000;
+    std::vector<float> l ((size_t) n), r ((size_t) n);
+    for (int i = 0; i < n; ++i)
+        l[(size_t) i] = r[(size_t) i] = (float) (std::pow (10.0, -70.0 / 20.0) * std::sin (2.0 * 3.141592653589793 * 1000.0 * i / 48000.0));
+    for (int at = 0; at < n; at += 512)
+        fx->process (l.data() + at, r.data() + at, std::min (512, n - at), slot.params, 120.0);
+    double s = 0.0;
+    for (int i = n / 2; i < n; ++i) s += (double) l[(size_t) i] * l[(size_t) i];
+    return 20.0 * std::log10 (std::sqrt (s / (n / 2)) * std::sqrt (2.0)) + 70.0;
+}
+} // namespace p165a
+
+TEST (ember_classic_punish_follows_the_measured_law_round165)
+{
+    // [EXEC trial, REA_rodada165ha §1] the gain Punish adds (dB) at drive 1 / 5 / 10, per style A E N T P
+    const double trial[5][3] { { 14.24, 15.84, 17.92 }, { 14.50, 16.40, 18.72 }, { 14.25, 14.64, 15.19 },
+                               { 14.52, 16.62, 19.11 }, { 14.64, 17.64, 21.32 } };
+    const float drives[3] { 1.0f, 5.0f, 10.0f };
+    for (int st = 0; st < 5; ++st)
+        for (int k = 0; k < 3; ++k)
+        {
+            const auto added = p165a::classicGainDb (st, drives[k], true) - p165a::classicGainDb (st, drives[k], false);
+            CHECK (std::abs (added - trial[st][k]) < 0.5);
+        }
+    // a project saved before round 165 keeps round 136's +9.75 dB
+    const auto old = p165a::classicGainDb (0, 5.0f, true, false) - p165a::classicGainDb (0, 5.0f, false, false);
+    CHECK (std::abs (old - 9.75) < 0.1);
+}
+
+TEST (ember_classic_law_upgrade_and_count_round165)
+{
+    using namespace lynx;
+    namespace em = mixsuite::ember;
+    CHECK ((int) em::count <= maxEffectParams);
+    auto old = makeEffectSlot (EffectKind::ember);
+    CHECK (old.params[(size_t) em::classicLaw] == 1.0f);  // new instances: the measured law
+    CHECK (old.params[(size_t) em::classicAuto] == 1.0f); // Auto on, the reference's default
+    upgradeLoadedEffectParams (old, (std::size_t) em::classicAuto);
+    CHECK (old.params[(size_t) em::classicLaw] == 0.0f);
+    auto fresh = makeEffectSlot (EffectKind::ember);
+    upgradeLoadedEffectParams (fresh, (std::size_t) em::count);
+    CHECK (fresh.params[(size_t) em::classicLaw] == 1.0f);
+}
+
+TEST (ember_classic_auto_moves_output_with_drive_round165)
+{
+    // [EXEC her 63 saved states] the reference's Auto: Output = −1.6 dB per Drive unit (drive 2.0 → −3.2 dB, 5.9 → −9.4)
+    using namespace lynx;
+    namespace em = mixsuite::ember;
+    auto slot = makeEffectSlot (EffectKind::ember);
+    slot.params[(size_t) em::voicing] = 1.0f;
+    slot.params[(size_t) em::classicDrive] = 0.0f;
+    slot.params[(size_t) em::classicOutput] = 1.0f;
+    auto e = em::linkedEdit (slot.params, em::classicDrive, 0.59f);
+    CHECK (e.size() == 2);
+    CHECK (e[1].first == em::classicOutput);
+    CHECK (std::abs (emberclassic::outputDb (e[1].second) - (-9.44)) < 1e-3);
+    // relative: a hand-set Output keeps its offset; the knob's range clamps
+    slot.params[(size_t) em::classicDrive] = 0.2f;
+    slot.params[(size_t) em::classicOutput] = (24.0f - 6.0f) / 24.0f; // −6 dB
+    e = em::linkedEdit (slot.params, em::classicDrive, 0.1f);
+    CHECK (std::abs (emberclassic::outputDb (e[1].second) - (-4.4)) < 1e-3);
+    e = em::linkedEdit (slot.params, em::classicDrive, 1.0f);
+    CHECK (std::abs (emberclassic::outputDb (e[1].second) - (-18.8)) < 1e-3);
+    // Auto off, or another parameter: only the edit itself
+    slot.params[(size_t) em::classicAuto] = 0.0f;
+    CHECK (em::linkedEdit (slot.params, em::classicDrive, 0.5f).size() == 1);
+    slot.params[(size_t) em::classicAuto] = 1.0f;
+    CHECK (em::linkedEdit (slot.params, em::classicTone, 0.5f).size() == 1);
+}
+
+TEST (ember_classic_layout_is_the_one_screen_panel_round165)
+{
+    using namespace lynx;
+    const auto& l = plugui::layoutFor (EffectKind::ember);
+    bool vu = false, autoToggle = false, styleRow = false;
+    for (const auto& it : l.items)
+    {
+        const bool classic = it.whenParam != nullptr && std::string (it.whenParam) == "Voicing" && it.whenMin >= 0.5f;
+        if (classic && it.type == plugui::Item::display && std::string (it.display) == "vumeter") vu = true;
+        if (classic && it.param != nullptr && std::string (it.param) == "Classic auto") autoToggle = true;
+        if (classic && it.param != nullptr && std::string (it.param) == "Classic style" && it.type == plugui::Item::tabs
+            && it.w > 4 * it.h)
+            styleRow = true; // the five styles side by side along the bottom
+        if (classic) // inside the editor
+            CHECK (it.x >= 0 && it.y >= 0 && it.x + it.w <= l.width + 1 && it.y + it.h <= l.height + 1);
+    }
+    CHECK (vu);
+    CHECK (autoToggle);
+    CHECK (styleRow);
+}

+ 1 - 1
tests/Store165Tests.inc

@@ -26,6 +26,6 @@ TEST (store165_migration_keeps_preferences_not_caches)
     // caches, autosaves, crash reports, session markers and logs stay
     for (const auto* name : { "wavecache", "autosave", "flp-embedded", "crash-reports", "sessions" })
         CHECK (! st::migratesFromUnpackaged (name, true));
-    for (const auto* name : { "session-running.txt", "ui.log", "audio-glitches.log", "startup.log", "x.tmp", "migrated-from-appdata.txt", "", ".", ".." })
+    for (const auto* name : { "session-running.txt", "ui.log", "audio-glitches.log", "startup.log", "x.tmp", "migrated-from-appdata.txt", "package-probe.txt", "", ".", ".." })
         CHECK (! st::migratesFromUnpackaged (name, false));
 }

+ 4 - 0
tests/tests.cpp

@@ -57,6 +57,7 @@
 #include "core/PianoRollTools.h"
 #include "core/EventEdit.h"
 #include "core/Preferences.h"
+#include "core/MidiSync.h"
 #include "core/History.h"
 #include "core/Gms.h"
 #include "core/PoiZone.h"
@@ -16028,6 +16029,7 @@ TEST (plugin_layout_options_match_the_engine_values)
 #include "Parity152cTests.inc"
 #include "Parity165Tests.inc"
 #include "Parity165wTests.inc"
+#include "Parity165aTests.inc"
 #include "Patcher141Tests.inc"
 #include "Patcher162Tests.inc"
 #include "Vox138Tests.inc"
@@ -16202,6 +16204,7 @@ TEST (fl_low_lifter_matches_fl_engine)
 #include "Workflow163cTests.inc"
 #include "ClipPitch164Tests.inc"
 #include "Misc164mTests.inc"
+#include "MidiSync165Tests.inc"
 #include "Theme162Tests.inc"
 #include "PluginPresets162Tests.inc"
 #include "Look162Tests.inc"
@@ -16221,6 +16224,7 @@ TEST (fl_low_lifter_matches_fl_engine)
 #include "Visual164Tests.inc"
 #include "Visual165Tests.inc"
 #include "Patcher164fTests.inc"
+#include "FlPlugins165Tests.inc"
 #include "Dash165Tests.inc"
 #include "LinuxMouse165Tests.inc"
 #include "Fl165Tests.inc"

Некоторые файлы не были показаны из-за большого количества измененных файлов