diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99dcb28f..9f194189 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,27 +3,55 @@ on: pull_request: push: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: bun-version: latest + - name: local background raster conversion + run: | + # Some hosted runners reach the Azure mirror at only tens of KB/s. + # Use Ubuntu's main mirror, with the same signed package indexes. + for source in /etc/apt/sources.list /etc/apt/sources.list.d/*.sources /etc/apt/sources.list.d/*.list; do + if [ -f "$source" ]; then + sudo sed -i 's|http://azure.archive.ubuntu.com|https://archive.ubuntu.com|g' "$source" + fi + done + sudo apt-get -o Acquire::Retries=2 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 update -qq + sudo apt-get -o Acquire::Retries=2 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 install -y -q imagemagick ffmpeg - name: unit tests (collector, thread, tier2, ui invariants) run: bun test - name: QML badge regression (synthetic data, no desktop needed) run: | - sudo apt-get update -qq - sudo apt-get install -y -q qt6-declarative-dev-tools qml6-module-qttest qml6-module-qtquick qml6-module-qtquick-window qml6-module-qtqml-workerscript + sudo apt-get -o Acquire::Retries=2 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 update -qq + sudo apt-get -o Acquire::Retries=2 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 install -y -q qt6-declarative-dev-tools qml6-module-qttest qml6-module-qtquick qml6-module-qtquick-window qml6-module-qtqml-workerscript qml6-module-qtquick-controls qml6-module-qtquick-templates qml6-module-qtquick-layouts qt6-image-formats-plugins qml6-module-qtmultimedia pulseaudio pulseaudio-utils + pulseaudio --start --exit-idle-time=-1 + pactl load-module module-null-sink sink_name=blip_test >/dev/null + pactl set-default-sink blip_test python3 scripts/test-read-ui.py + python3 scripts/test-reaction-ui.py + python3 scripts/test-reaction-badge-ui.py + python3 scripts/test-background-ui.py + python3 scripts/test-composer-emoji-ui.py + python3 scripts/test-sticker-ui.py + python3 scripts/test-audio-ui.py + python3 scripts/test-audio-session-ui.py + python3 scripts/test-conversation-menu-ui.py + python3 scripts/test-time-reveal-ui.py + python3 scripts/test-notice-ui.py - name: OTP desktop adapter (no desktop needed) run: | python3 -m py_compile otp-desktop.py python3 test_otp_desktop.py - name: Mac tools compile (python3 syntax, no macOS needed) - run: python3 -m py_compile bridge/linux/blip-bridged bridge/mac/imsg bridge/mac/imsg-send bridge/mac/contacts bridge/mac/tcc-check bridge/mac/blip-check bridge/mac/blip-dispatch bridge/mac/imsg-read bridge/mac/imsg-react bridge/mac/calling_codes.py bridge/mac/contact-save bridge/mac/read_state.py bridge/mac/findmy_city.py + run: python3 -m py_compile bridge/linux/blip-bridged bridge/mac/imsg bridge/mac/imsg-send bridge/mac/contacts bridge/mac/tcc-check bridge/mac/blip-check bridge/mac/imsg-reply bridge/mac/blip-dispatch bridge/mac/imsg-read bridge/mac/imsg-react bridge/mac/calling_codes.py bridge/mac/contact-save bridge/mac/read_state.py bridge/mac/findmy_city.py - name: shared city (synthetic AX and Contacts, no macOS needed) run: python3 bridge/mac/test_findmy_city.py - name: read pushes require verified completion (no macOS needed) @@ -40,6 +68,8 @@ jobs: run: python3 bridge/mac/test_unsent.py - name: a voice message gets its MIME from the UTI (no macOS needed) run: python3 bridge/mac/test_attachment_mime.py + - name: sticker metadata and association folding (synthetic SQLite) + run: python3 bridge/mac/test_stickers.py - name: a waiting Send Later is flagged, never "sent" (no macOS needed) run: python3 bridge/mac/test_scheduled.py - name: conversation cluster pins (no macOS needed) @@ -50,6 +80,8 @@ jobs: run: python3 bridge/mac/test_read.py - name: tapbacks are verified by chat.db, pressed once and never mid-scroll (no macOS needed) run: python3 bridge/mac/test_react.py + - name: native replies refuse what is unproven and are confirmed by chat.db (no macOS needed) + run: python3 bridge/mac/test_reply.py - name: hide Spam / unknown senders (no macOS needed) run: python3 bridge/mac/test_filtered.py - name: contact review across sources (no macOS needed) @@ -71,5 +103,5 @@ jobs: - name: shell scripts (bash -n + shellcheck) run: | bash -n bridge/linux/blip-shim scripts/blip-setup scripts/sync-bridge.sh scripts/demo/blip-shots bridge/mac/install.sh - sudo apt-get install -y -q shellcheck >/dev/null + sudo apt-get -o Acquire::Retries=2 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 install -y -q shellcheck >/dev/null shellcheck -S warning bridge/linux/blip-shim scripts/blip-setup scripts/sync-bridge.sh bridge/mac/install.sh diff --git a/.gitignore b/.gitignore index d3dd3238..2d459aa8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ node_modules/ *.log __pycache__/ -!CHANGE.log + +# Local development scratch and private test-session artifacts. +/work/ diff --git a/AGENTS.md b/AGENTS.md index cf87ca0f..5e15a112 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -39,10 +39,7 @@ attempts trigger prompts on the Mac's screen. ## Deploying a change locally ```sh -bun test -cp -r *.qml *.ts *.mjs otp-desktop.py manifest.json icons ~/.config/omarchy/plugins/nixfred.blip/ -omarchy-restart-shell # NOT a hot-reload: IPC would stay on the old instance -qs -p /usr/share/omarchy/shell ipc call nixfred.blip status +scripts/deploy-local # tests, backup, fast-forward the plugin to HEAD, restart, status ``` Mac-side tool changes: `scp bridge/mac/ you@your-mac:~/.blip/bin/`. diff --git a/AudioMessage.qml b/AudioMessage.qml new file mode 100644 index 00000000..e4f1d452 --- /dev/null +++ b/AudioMessage.qml @@ -0,0 +1,167 @@ +import QtQuick +import QtQuick.Controls +import QtMultimedia +import "AudioWaveform.mjs" as AudioWaveform + +// One parent-owned playing intent selects the active voice message. Each +// item retains its paused position; a conversation reset stops it entirely. +Rectangle { + id: root + property url source: "" + property var waveform: [] + property real durationMs: 0 + property bool playing: false + property bool loading: false + property bool failed: false + property int resetToken: 0 + property bool muted: false + property bool mine: false + property color fillColor: mine ? "#0a84ff" : "#34343a" + property color textColor: "white" + property string fontFamily: "sans-serif" + property int fontSize: 12 + readonly property var bars: AudioWaveform.fitWaveform(waveform, Math.max(1, width - 80)) + readonly property real positionMs: player.position + readonly property real totalDurationMs: player.duration > 0 ? player.duration : durationMs + readonly property real progress: AudioWaveform.playbackFraction(positionMs, totalDurationMs) + readonly property bool actuallyPlaying: player.playbackState === MediaPlayer.PlayingState + readonly property bool ready: player.mediaStatus === MediaPlayer.LoadedMedia || player.mediaStatus === MediaPlayer.BufferedMedia || player.mediaStatus === MediaPlayer.EndOfMedia + readonly property bool seekable: player.seekable + readonly property bool decodeFailed: player.error !== MediaPlayer.NoError + readonly property bool controlsFocused: playButton.activeFocus || timeline.activeFocus + signal toggleRequested() + signal playbackEnded() + signal playbackFailed() + signal contextRequested() + + implicitWidth: 268 + implicitHeight: 68 + radius: 18 + color: fillColor + onPlayingChanged: { + if (playing && String(source) !== "") { + if (player.mediaStatus === MediaPlayer.EndOfMedia) player.position = 0 + player.play() + } else player.pause() + } + onResetTokenChanged: player.stop() + Component.onDestruction: player.stop() + + MediaPlayer { + id: player + source: root.source + audioOutput: AudioOutput { muted: root.muted } + onMediaStatusChanged: { + if (mediaStatus === MediaPlayer.LoadedMedia && root.playing) play() + else if (mediaStatus === MediaPlayer.EndOfMedia) root.playbackEnded() + } + onErrorOccurred: root.playbackFailed() + } + + Item { + id: playButton + x: 10; y: (root.height - height) / 2 + width: 38; height: 38 + activeFocusOnTab: true + Accessible.role: Accessible.Button + Accessible.name: root.loading ? "Loading audio message" : root.failed || root.decodeFailed ? "Retry audio message" : root.playing ? "Pause audio message" : "Play audio message" + Accessible.description: AudioWaveform.durationLabel(root.totalDurationMs) + Accessible.onPressAction: root.toggleRequested() + Rectangle { anchors.fill: parent; radius: width / 2; color: root.textColor; opacity: playButton.activeFocus ? 0.22 : 0.13 } + // Draw playback symbols geometrically, independent of emoji/font glyphs. + Canvas { + id: playSymbol + anchors.centerIn: parent; width: 20; height: 22 + visible: !root.playing + onPaint: { + var c = getContext("2d") + c.reset(); c.fillStyle = root.textColor + c.beginPath(); c.moveTo(5, 3); c.lineTo(18, 11); c.lineTo(5, 19); c.closePath(); c.fill() + } + Connections { target: root; function onTextColorChanged() { playSymbol.requestPaint() } } + } + Row { + anchors.centerIn: parent; spacing: 4; visible: root.playing + Rectangle { width: 4; height: 17; radius: 1; color: root.textColor } + Rectangle { width: 4; height: 17; radius: 1; color: root.textColor } + } + TapHandler { onTapped: root.toggleRequested() } + HoverHandler { cursorShape: Qt.PointingHandCursor } + Keys.onSpacePressed: root.toggleRequested() + Keys.onReturnPressed: root.toggleRequested() + Keys.onEnterPressed: root.toggleRequested() + } + + Slider { + id: timeline + objectName: "audioTimeline" + x: 58; y: 10 + width: Math.max(24, root.width - x - 14); height: 30 + from: 0; to: Math.max(1, root.totalDurationMs) + value: root.positionMs + stepSize: 1000 + enabled: root.seekable && !root.loading && !root.decodeFailed + activeFocusOnTab: enabled + Accessible.name: "Audio message position" + Accessible.description: (root.bars.length === 0 ? "Waveform unavailable. " : "") + + AudioWaveform.durationLabel(root.positionMs) + " of " + AudioWaveform.durationLabel(root.totalDurationMs) + onMoved: player.position = Math.round(value) + background: Item { + x: timeline.leftPadding; y: timeline.topPadding + width: timeline.availableWidth; height: timeline.availableHeight + Row { + anchors.fill: parent + spacing: root.bars.length > 1 ? 2 : 0 + Repeater { + model: root.bars + delegate: Rectangle { + required property int index + required property real modelData + width: Math.max(1, (timeline.availableWidth - Math.max(0, root.bars.length - 1) * 2) / Math.max(1, root.bars.length)) + height: Math.max(3, modelData * timeline.availableHeight) + y: (timeline.availableHeight - height) / 2 + radius: 1.5 + color: root.textColor + opacity: (index + 0.5) / root.bars.length <= root.progress ? 1 : 0.38 + } + } + } + Rectangle { + visible: root.bars.length === 0 + anchors.verticalCenter: parent.verticalCenter + width: parent.width; height: 3; radius: 1.5 + color: root.textColor; opacity: 0.3 + } + Rectangle { + visible: root.bars.length === 0 + anchors.verticalCenter: parent.verticalCenter + width: parent.width * root.progress; height: 3; radius: 1.5 + color: root.textColor + } + } + handle: Rectangle { + x: timeline.leftPadding + timeline.visualPosition * Math.max(0, timeline.availableWidth - width) + y: timeline.topPadding - 1 + width: 2; height: timeline.availableHeight + 2; radius: 1 + visible: timeline.pressed || timeline.activeFocus + color: root.textColor + } + Keys.onLeftPressed: player.position = Math.max(0, player.position - 5000) + Keys.onRightPressed: player.position = Math.min(root.totalDurationMs, player.position + 5000) + Keys.onSpacePressed: root.toggleRequested() + Keys.onReturnPressed: root.toggleRequested() + Keys.onEnterPressed: root.toggleRequested() + } + Text { + x: timeline.x + 4; y: 42 + width: timeline.width - 8 + text: root.loading ? "Loading…" : root.failed || root.decodeFailed ? "Audio unavailable · retry" + : root.totalDurationMs > 0 ? AudioWaveform.durationLabel(Math.max(0, root.totalDurationMs - root.positionMs)) : "Audio message" + textFormat: Text.PlainText + color: root.textColor + opacity: 0.88 + font.family: root.fontFamily + font.pixelSize: root.fontSize + } + TapHandler { acceptedButtons: Qt.RightButton; onTapped: root.contextRequested() } +} diff --git a/AudioWaveform.mjs b/AudioWaveform.mjs new file mode 100644 index 00000000..060d2026 --- /dev/null +++ b/AudioWaveform.mjs @@ -0,0 +1,72 @@ +// audio-waveform.ts +var AUDIO_WAVEFORM_BARS = 64; +var AUDIO_SAMPLE_RATE = 4000; +var AUDIO_ANALYSIS_SECONDS = 600; +function normalizeWaveform(value) { + if (!Array.isArray(value) || value.length > 96) + return []; + return value.map((v) => typeof v === "number" && Number.isFinite(v) ? Math.max(0, Math.min(1, v)) : 0); +} +function fitWaveform(value, width) { + const input = normalizeWaveform(value); + if (!input.length || !Number.isFinite(width) || width <= 0) + return []; + const count = Math.min(input.length, Math.max(1, Math.floor(width / 4))); + const output = []; + for (let i = 0;i < count; i++) { + let peak = 0; + for (let j = Math.floor(i * input.length / count);j < Math.floor((i + 1) * input.length / count); j++) + peak = Math.max(peak, input[j]); + output.push(peak); + } + return output; +} +function waveformFromPcm16(bytes, count = AUDIO_WAVEFORM_BARS) { + const samples = Math.floor(bytes.length / 2); + if (!samples || bytes.length > AUDIO_SAMPLE_RATE * AUDIO_ANALYSIS_SECONDS * 2 || !Number.isInteger(count) || count < 1 || count > 96) + return []; + count = Math.min(count, samples); + const bins = []; + let largest = 0; + for (let bin = 0;bin < count; bin++) { + const first = Math.floor(bin * samples / count), last = Math.floor((bin + 1) * samples / count); + let sum = 0; + for (let i = first;i < last; i++) { + const unsigned = bytes[2 * i] | bytes[2 * i + 1] << 8; + const sample = unsigned >= 32768 ? unsigned - 65536 : unsigned; + sum += sample * sample; + } + const rms = Math.sqrt(sum / (last - first)); + bins.push(rms); + largest = Math.max(largest, rms); + } + return largest === 0 ? bins : bins.map((v) => Math.round(Math.sqrt(v / largest) * 1000) / 1000); +} +function durationLabel(milliseconds) { + if (!Number.isFinite(milliseconds) || milliseconds < 0) + return "0:00"; + const seconds = Math.floor(Math.min(milliseconds, 86400000) / 1000); + const minutes = Math.floor(seconds / 60), remainder = seconds % 60; + return String(minutes) + ":" + (remainder < 10 ? "0" : "") + String(remainder); +} +function playbackFraction(positionMs, durationMs) { + if (!Number.isFinite(positionMs) || !Number.isFinite(durationMs) || durationMs <= 0) + return 0; + return Math.max(0, Math.min(1, positionMs / durationMs)); +} +function seekPosition(fraction, durationMs) { + if (!Number.isFinite(fraction) || !Number.isFinite(durationMs) || durationMs <= 0) + return 0; + return Math.round(Math.max(0, Math.min(1, fraction)) * durationMs); +} +export { + AUDIO_ANALYSIS_SECONDS, + AUDIO_SAMPLE_RATE, + AUDIO_WAVEFORM_BARS, + durationLabel, + fitWaveform, + normalizeWaveform, + playbackFraction, + seekPosition, + waveformFromPcm16 +}; diff --git a/BarWidget.qml b/BarWidget.qml index 1c37901a..267e2e40 100644 --- a/BarWidget.qml +++ b/BarWidget.qml @@ -61,6 +61,9 @@ BarWidget { * drives Messages through Accessibility, by action names Apple can rename. * The shim refuses the tool without the same key. */ property bool tapbacks: false + /** `replies=on` in bridge.conf: Reply in the message menu sends a native reply + * through the Mac's imsg-reply. OFF by default, like tapbacks. */ + property bool replies: false // The imsg-react run lives HERE, not in the view that asked for it: the // popout's surface and the app window are destroyed on close, and a run @@ -72,12 +75,15 @@ BarWidget { property var tapbackFailures: ({}) /** Every exit: (chat, ok). A view on that chat settles its pending pill. */ signal tapbackExited(string chat, bool ok) - function runTapback(chat, argv) { + function runTapback(chat, argv, body) { if (reactProc.running) return false root.tapbackChat = String(chat) reactProc.lastErr = "" reactProc.command = argv + reactProc.stdinEnabled = true reactProc.running = true + if (body) reactProc.write(body) + reactProc.stdinEnabled = false return true } function tapbackFailed(chat, text) { @@ -437,7 +443,7 @@ BarWidget { // `running = true` while it thinks a previous run is alive, which left // showApp() "succeeding" without ever focusing (SUPER+M "nothing at all"). Quickshell.execDetached(["sh", "-c", - 'for i in 1 2 3 4 5 6 7 8; do a=$(hyprctl clients -j | jq -r \'.[] | select(.class == "org.quickshell" and (.title | test("^Blip( [(][0-9]+[)])?$"))) | .address\' | head -1); [ -n "$a" ] && break; sleep 0.15; done; ' + + 'for i in 1 2 3 4 5 6 7 8; do a=$(hyprctl clients -j | jq -r \'.[] | select(.class == "org.quickshell" and (.title | test("^(Messages|Blip( [(][0-9]+[)])?)$"))) | .address\' | head -1); [ -n "$a" ] && break; sleep 0.15; done; ' + '[ -n "$a" ] && hyprctl dispatch "hl.dsp.focus({ window = \\"address:$a\\" })" >/dev/null']) } /** Either surface open → keep the deep (complete) thread list. */ @@ -1218,16 +1224,17 @@ BarWidget { root.touchpadScrollGain = root.parseGain(t, /^\s*touchpad_scroll_gain\s*=\s*['"]?(\d*\.?\d+)/mi) root.smoothScroll = /^\s*smooth_scroll\s*=\s*['"]?(on|true|1|yes)\b/mi.test(t) root.tapbacks = TapbackActions.tapbacksOn(t) + root.replies = TapbackActions.repliesOn(t) root.bridgeConfLoaded = true } - onLoadFailed: { root.otpAutofill = false; root.automationOn = false; root.uiFontTheme = false; root.uiFontSize = 0; root.scrollGain = 1.0; root.touchpadScrollGain = 1.0; root.smoothScroll = false; root.tapbacks = false; root.binDir = root.home + "/bin"; root.bridgeConfLoaded = true } + onLoadFailed: { root.replies = false; root.otpAutofill = false; root.automationOn = false; root.uiFontTheme = false; root.uiFontSize = 0; root.scrollGain = 1.0; root.touchpadScrollGain = 1.0; root.smoothScroll = false; root.tapbacks = false; root.binDir = root.home + "/bin"; root.bridgeConfLoaded = true } } IpcHandler { target: root.moduleName enabled: root.leader function status(): string { var w = windowLoader.item - return "online=" + root.online + " unread=" + root.unread + " leader=" + root.leader + return "version=" + root.version + " online=" + root.online + " unread=" + root.unread + " leader=" + root.leader + " window=" + (w && w.visible ? (w.focused ? "focused" : "unfocused") : "hidden") + " threads=" + root.threads.length + " healthy=" + root.healthy + " watch=" + root.watchAlive @@ -1236,6 +1243,7 @@ BarWidget { + " scroll_gain=" + root.scrollGain + (root.touchpadScrollGain !== 1 ? "/" + root.touchpadScrollGain : "") + (root.smoothScroll ? " smooth_scroll=on" : "") + (root.tapbacks ? " tapbacks=on" : "") + + (root.replies ? " replies=on" : "") + (root.lastError !== "" ? " error=" + root.lastError : "") } function citystatus(): string { diff --git a/BlipAppearance.qml b/BlipAppearance.qml index a837f761..b432d19b 100644 --- a/BlipAppearance.qml +++ b/BlipAppearance.qml @@ -25,8 +25,8 @@ QtObject { * yields a default sans, which would be a worse wrong answer than the * theme font). * Order: SF Pro if the machine has it, then Inter — which is OFL-licensed, - * ships in Arch's `extra`, and was drawn for exactly this job — then the - * theme font, so nothing changes for anyone who has installed neither. + * ships in Arch's `extra`, and was drawn for exactly this job — then an installed Linux sans family. Explicit theme typography remains + * available through ui_font=theme. * `ui_font=theme` in bridge.conf opts out. * * Blip will never SHIP a font: SF Pro is Apple's and its licence forbids @@ -34,7 +34,7 @@ QtObject { * Apple's own download for SF Pro. */ readonly property string messagesFont: { - var want = ["SF Pro Text", "SF Pro Display", "SF Pro", "Inter"] + var want = ["SF Pro Text", "SF Pro Display", "SF Pro", "Inter", "Adwaita Sans", "Noto Sans", "Liberation Sans"] var have = Qt.fontFamilies() for (var i = 0; i < want.length; i++) if (have.indexOf(want[i]) >= 0) return want[i] return "" @@ -43,14 +43,14 @@ QtObject { readonly property string fontFamily: (messagesFont !== "" && !themeFontForced) ? messagesFont : themeFont // `ui_font_size=N` in bridge.conf: N is bubble text in px. Unset (0) keeps - // Omarchy's tokens. Caption/body keep the same ratios as Style.font. + // the readable sans default. Caption/body keep the same ratios as Style.font. readonly property int uiFontSizePx: { if (!hostWidget) return 0 var n = hostWidget.uiFontSize return (typeof n === "number" && n > 0) ? n : 0 } readonly property real uiFontScale: { - if (uiFontSizePx <= 0) return 1 + if (uiFontSizePx <= 0) return themeFontForced ? 1 : Math.max(1, 13 / Style.font.bodySmall) var small = Style.font.bodySmall return small > 0 ? uiFontSizePx / small : 1 } diff --git a/BlipView.qml b/BlipView.qml index 2847d05b..d29169ab 100644 --- a/BlipView.qml +++ b/BlipView.qml @@ -1,7 +1,10 @@ +import "Stickers.mjs" as Stickers +import "ConversationAppearance.mjs" as ConversationAppearance import "SendState.mjs" as SendState import "MessageActions.mjs" as MessageActions import "SourceId.mjs" as SourceId import "TapbackActions.mjs" as TapbackActions +import "Notices.mjs" as Notices import QtQuick import QtQuick.Controls import QtQuick.Layouts @@ -16,7 +19,7 @@ import qs.Ui // // list → every thread, newest first, unread marked // conversation → bubbles: mine blue on the right, theirs grey on the left, -// grouped by sender with one timestamp per run, day dividers, +// grouped by sender, times revealed by a sideways swipe, day dividers, // compose box pinned at the bottom. Esc goes back. // // Reads its thread list from the host widget so there is exactly one poller. @@ -75,12 +78,18 @@ FocusScope { readonly property real uiFontScale: appearance.uiFontScale readonly property int fontTitle: appearance.fontTitle readonly property int fontCaption: appearance.fontCaption + FontMetrics { id: receiptMetrics; font.family: root.fontFamily; font.pixelSize: root.fontCaption } readonly property int fontBodySmall: appearance.fontBodySmall readonly property int fontBody: appearance.fontBody readonly property color dim: appearance.muted + readonly property color canvasDim: backgroundUrl !== "" ? Qt.alpha(foreground, 0.94) : dim /** An editor owns the keyboard — the host's key catcher must stand down. */ readonly property bool editorActive: - messageMenu.visible || contactMenu.visible || contactReview.opened || composeField.activeFocus || searchField.activeFocus || newField.activeFocus || bubbleFocused + messageMenu.visible || emojiPopup.visible || contactMenu.visible || contactReview.opened || composeField.activeFocus || searchField.activeFocus || newField.activeFocus || bubbleFocused || focusedAudio !== null || focusedReaction !== null || actionFocused + readonly property bool actionFocused: newMessageButton.activeFocus || compactNewMessageButton.activeFocus || appWindowButton.activeFocus + || backButton.activeFocus || conversationActions.activeFocus || attachmentButton.activeFocus || emojiButton.activeFocus || sendButton.activeFocus + property var focusedAudio: null + property var focusedReaction: null readonly property alias composeEditor: composeField readonly property real contentHeightHint: listContent.implicitHeight /** The view wants keyboard navigation focus back (list mode). */ @@ -97,11 +106,11 @@ FocusScope { readonly property color mineFill: accent readonly property color mineText: appearance.accentText - readonly property color theirsFill: Qt.rgba(foreground.r, foreground.g, foreground.b, 0.14) + readonly property color theirsFill: backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.78) : Qt.rgba(foreground.r, foreground.g, foreground.b, 0.14) // Omarchy's hover-cursor fill for rows and the bubble band alike: the theme's // colour and alpha (foreground at 0.08 by default), not a hard-coded copy of them. readonly property color hoverFill: Style.hoverFillFor(foreground, accent) - readonly property color selectedFill: Style.selectedFillFor(foreground, accent) + readonly property color selectedFill: Qt.alpha(accent, 0.28) readonly property color theirsText: foreground // Links inside a bubble take the bubble's readable text color instead of @@ -135,6 +144,78 @@ FocusScope { readonly property string contactScript: decodeURIComponent(Qt.resolvedUrl("contact-search.ts").toString().replace(/^file:\/\//, "")) + // Only the validated helper result reaches Image.source. A saved setting + // cannot turn this renderer into a URL loader or an arbitrary file viewer. + property string backgroundUrl: "" + readonly property string backgroundScript: decodeURIComponent(Qt.resolvedUrl("conversation-background.ts").toString().replace(/^file:\/\//, "")) + readonly property string backgroundChat: root.active ? String(root.active.chat || "") : "" + property bool backgroundReloadPending: false + property bool backgroundBusy: false + property bool backgroundReady: false + Component.onCompleted: { + root.backgroundReady = true + Qt.callLater(function() { root.changeBackground("load") }) + } + onBackgroundChatChanged: { + backgroundUrl = "" + changeBackground("load") + } + function changeBackground(action, targetChat) { + if (!root.backgroundReady) return + if (root.backgroundBusy || backgroundProc.running) { + if (action === "load") backgroundReloadPending = true + return + } + root.backgroundBusy = true + backgroundProc.action = action + backgroundProc.chat = targetChat === undefined ? root.backgroundChat : String(targetChat) + backgroundProc.reply = "" + backgroundProc.sawExit = false + backgroundProc.command = ["bun", root.backgroundScript, action] + backgroundProc.stdinEnabled = true + backgroundProc.running = true + backgroundProc.write(JSON.stringify({ chat: backgroundProc.chat })) + backgroundProc.stdinEnabled = false + } + function finishBackground(code) { + try { + var result = JSON.parse(backgroundProc.reply) + if (result.cancelled !== true) { + if (result.ok === true && backgroundProc.chat === root.backgroundChat) root.backgroundUrl = String(result.url || "") + else if (result.ok === true) root.backgroundReloadPending = true + else { + if (backgroundProc.action === "load") root.backgroundUrl = "" + root.note = String(result.error || "Background could not be changed") + } + } + } catch (e) { root.note = "Background helper failed (exit " + code + ")" } + root.backgroundBusy = false + if (root.backgroundReloadPending || backgroundProc.chat !== root.backgroundChat) { + root.backgroundReloadPending = false + Qt.callLater(function() { root.changeBackground("load") }) + } + } + FileView { + path: root.home + "/.config/blip/bridge.conf" + watchChanges: root.surfaceOpen + printErrors: false + onFileChanged: { reload(); root.changeBackground("load") } + } + Process { + id: backgroundProc + property string action: "load" + property string chat: "" + property string reply: "" + property bool sawExit: false + stdout: StdioCollector { onStreamFinished: backgroundProc.reply = text } + onRunningChanged: if (!running) Qt.callLater(function() { + if (!backgroundProc.sawExit && !backgroundProc.running && root.backgroundBusy) root.finishBackground(-1) + }) + // Process exit can arrive before the stdout collector finishes. Settle on + // the next turn before clearing busy or starting the next chat's request. + onExited: function(code, status) { backgroundProc.sawExit = true; Qt.callLater(function() { root.finishBackground(code) }) } + } + // ---- new-conversation state (`n` opens, Esc closes) property bool newMode: false property var newResults: [] @@ -442,6 +523,7 @@ FocusScope { // Text sends queue instead of refusing while one is on the wire; each gets // its bubble the instant Enter is pressed (see pendingSends). property var sendQueue: [] + property var sendReply: null // Files still to ship for the send in flight: one part per file, in order. // The caption rides the FIRST part only — repeating it on each would post // the same sentence five times. @@ -459,11 +541,7 @@ FocusScope { property string reloadChat: "" function avatarInitials(thread) { - var n = String(thread.name || "") - if (/^[+0-9]/.test(n) || n === "") return "#" - var parts = n.trim().split(/\s+/).filter(function(p) { return p.length > 0 }) - if (parts.length === 0) return "#" - return (parts[0][0] + (parts.length > 1 ? parts[parts.length - 1][0] : "")).toUpperCase() + return ConversationAppearance.conversationInitials(thread) } readonly property bool contactsOpen: contactReview.opened @@ -521,9 +599,9 @@ FocusScope { function cityStatus() { return { surfaceOpen: surfaceOpen, inThread: inThread, group: activeIsGroup, - headerVisible: conversationHero.visible, - headerUsesCity: sharedCity.city !== "" && conversationHero.meta === sharedCity.city, - headerShowsLocationState: sharedCity.stateLabel !== "" && conversationHero.meta === sharedCity.stateLabel, + headerVisible: headerMeta.visible, + headerUsesCity: sharedCity.city !== "" && headerMeta.text === sharedCity.city, + headerShowsLocationState: sharedCity.stateLabel !== "" && headerMeta.text === sharedCity.stateLabel, lookup: sharedCity.diagnostic() } } @@ -853,9 +931,27 @@ FocusScope { if (isImageMime(atts[i].mime)) { copyAttachment(atts[i]); return } } } - /** Ctrl+R: quote the selected bubble into the compose field. iMessage's - * inline reply is not reachable through the bridge (no message GUID leaves - * the Mac and AppleScript has no reply-to), so this is a plain "> quote". */ + // ---- native replies: replies=on in bridge.conf, the Mac's imsg-reply. The + // composer holds one target at a time; send() hands it to the send queue. + readonly property bool repliesOn: hostWidget ? hostWidget.replies === true : false + property var replyTarget: null + onActiveChanged: if (root.replyTarget && (!root.active || String(root.active.chat) !== root.replyTarget.chat)) root.replyTarget = null + function canReplyTo(b) { + return root.repliesOn && root.online && !!root.active && root.isSendable(root.active) && MessageActions.canReply(b, root.activeIsGroup) + } + function startReply(b) { + var target = MessageActions.replyTarget(b) + target.chat = String(root.active.chat) + root.replyTarget = target + if (target.attachment && root.isImageMime(target.attachment.mime)) root.enqueueFetch(target.attachment, "", true) + leaveBubbles() + Qt.callLater(function() { composeField.forceActiveFocus() }) + } + /** Ctrl+R: a native reply where the Mac can send one, otherwise a "> quote". */ + function replyToBubble(b) { + if (root.canReplyTo(b)) root.startReply(b) + else root.quoteBubble(b) + } function quoteBubble(b) { composeField.text = MessageActions.quotedDraft(b, composeField.text) composeField.cursorPosition = composeField.length @@ -882,43 +978,37 @@ FocusScope { return "📎" } - /** "❤️👍" — the emoji string for a bubble's tapback pill. */ - function tapbackRow(list) { - var s = "" - for (var i = 0; i < (list || []).length; i++) s += list[i].emoji - return s - } - // The tapback pill, overlapping the top corner opposite the tail. One - // definition for the text bubble and for the attachments: a picture-only - // message hides its text bubble, so the pill sits on the picture (or the - // file chip) itself, or the reaction is never seen. - component TapbackPill: Rectangle { + // One thought balloon for emoji and native sticker reactions. Placed + // stickers remain independent transparent decorations on the message. + component TapbackPill: ReactionBadge { id: pill - property bool mine: false - property var tapbacks: [] - visible: (tapbacks || []).length > 0 - // a tapback on its way (tapback-actions.ts shownTapbacks) draws dimmed - opacity: (tapbacks || []).some(function(t) { return t.pending === true }) ? 0.45 : 1 - width: Math.ceil(pillText.implicitWidth) + Style.space(12) - height: Math.ceil(pillText.implicitHeight) + Style.space(8) - radius: height / 2 - color: mine ? Qt.darker(root.mineFill, 2.2) : root.mineFill - border.color: Qt.rgba(0, 0, 0, 0.5) - border.width: 2 - z: 2 + files: root.attFiles + metrics: root.attMetrics + fetchingId: root.fetchingId + fetchQueue: root.fetchQueue + diameter: Style.space(34) + glyphSize: Style.space(22) + maximumWidth: Math.min(Style.space(180), parent.width) + width: implicitWidth + height: implicitHeight + fillColor: Qt.tint(appearance.background, Qt.alpha(root.foreground, 0.16)) + borderColor: Qt.tint(appearance.background, Qt.alpha(root.foreground, 0.06)) + textColor: root.foreground + z: 4 anchors.top: parent.top - anchors.topMargin: -Style.space(12) + anchors.topMargin: -Style.space(26) anchors.right: mine ? undefined : parent.right - anchors.rightMargin: mine ? 0 : -Style.space(6) + anchors.rightMargin: mine ? 0 : -Style.space(4) anchors.left: mine ? parent.left : undefined - anchors.leftMargin: mine ? -Style.space(6) : 0 - Text { - id: pillText - anchors.centerIn: parent - text: root.tapbackRow(pill.tapbacks) - textFormat: Text.PlainText - font.pixelSize: root.fontCaption + anchors.leftMargin: mine ? -Style.space(4) : 0 + onStickerActivated: function(att) { root.activateSticker(att) } + property var message: null + onStickerContextRequested: function(att) { root.openAttachmentMenu(message, att) } + onActiveFocusChanged: { + if (activeFocus) root.focusedReaction = pill + else if (root.focusedReaction === pill) root.focusedReaction = null } + Component.onDestruction: if (root.focusedReaction === pill) root.focusedReaction = null } // ---------------------------------------------------- attachment fetching @@ -1033,6 +1123,7 @@ FocusScope { for (var i = 0; i < keys.length; i++) root.requestAvatar(keys[i]) } onSurfaceOpenChanged: { + if (surfaceOpen) root.changeBackground("load") if (surfaceOpen) root.retryBareAvatars() // Closed: drop the rows scrolling built, so the next open is cheap again. else rowBudget = rowBatch @@ -1080,38 +1171,62 @@ FocusScope { Qt.callLater(root.pumpAvatar) } } - /** Voice messages play WITHOUT a window. xdg-open handed audio to mpv, - * which opens an empty black video window for a sound file (Fred, - * 2026-09-26). mpv runs with --no-video --force-window=no; the chip toggles: - * a second click on the same file stops it, a click on another stops the - * first. The path is an argument, never interpolated; without mpv the file - * still goes to xdg-open. */ + // Exactly one inline audio message plays. A paused source keeps its + // position; leaving the conversation resets every player and pending intent. + property bool audioMuted: false // synthetic demo/test playback only property string playingAudio: "" - function toggleAudio(path) { - if (path === "") return - var same = audioPlayer.running && root.playingAudio === path - if (audioPlayer.running) audioPlayer.running = false - if (same) { - root.playingAudio = "" - root.note = "stopped" - noteTimer.restart() + property bool audioPlaying: false + property int audioResetToken: 0 + property string pendingAudioId: "" + property string pendingAudioChat: "" + function toggleAudio(att) { + var id = String(att.id || "") + if (id === "" || !root.inThread || !root.surfaceOpen) return + if (root.pendingAudioId === id) { root.stopAudio(); return } + if (root.playingAudio === id && root.attFiles[id]) { + root.audioPlaying = !root.audioPlaying return } - root.playingAudio = path - audioPlayer.command = ["sh", "-c", - 'if command -v mpv >/dev/null 2>&1; then exec mpv --no-video --force-window=no --no-terminal --really-quiet -- "$1"; else exec xdg-open "$1"; fi', - "sh", path] - audioPlayer.running = true - root.note = "playing, click again to stop" - noteTimer.restart() + root.stopAudio() + root.pendingAudioId = id + root.pendingAudioChat = String(root.active.chat) + // Fetch again before a fresh play: the cache may have been evicted. + // An in-flight auto-fetch also satisfies this captured play intent. + root.enqueueFetch(att, "audio-play", false) + } + function settleAudioFetch(id, ok, error) { + if (root.pendingAudioId !== id) return + var belongsHere = root.surfaceOpen && root.inThread + && String(root.active.chat) === root.pendingAudioChat + root.pendingAudioId = "" + root.pendingAudioChat = "" + if (ok && belongsHere && root.attFiles[id]) { + var metadata = (root.attMetrics[id] || {}).audio + if (metadata && metadata.playable === true) { + root.playingAudio = id + root.audioPlaying = true + } else root.note = "Audio preview unavailable — right-click to save the file" + } else if (!ok && belongsHere) { + // Play can attach to an automatic fetch whose action remains empty. + // Its captured intent still deserves the failure reason before clearing. + root.note = "fetch failed — " + String(error || "could not load audio message").replace(/^error:\s*/, "") + } } - Process { - id: audioPlayer - onExited: function(code, status) { root.playingAudio = "" } + function failAudio(id) { + var requested = root.playingAudio === id || root.pendingAudioId === id + if (requested) root.stopAudio() + // Clear the source so retry reloads even when the cache URL is unchanged. + var files = Object.assign({}, root.attFiles) + files[id] = "" + root.attFiles = files + if (requested) root.note = "Could not play this audio message — try again or save the file" } function stopAudio() { - if (audioPlayer.running) audioPlayer.running = false + root.audioPlaying = false root.playingAudio = "" + root.pendingAudioId = "" + root.pendingAudioChat = "" + root.audioResetToken++ } Component.onDestruction: root.stopAudio() @@ -1135,16 +1250,17 @@ FocusScope { if (fetchQueue[i].id === id) { // A gesture on a queued auto-pull wants the ORIGINAL: drop the // transfer cap, or a save is handed the -prev- preview it refuses. - if (action) { fetchQueue[i].action = action; fetchQueue[i].auto = false } + if (action) { fetchQueue[i].action = action; fetchQueue[i].auto = action === "preview" } return } } fetchQueue.push({ id: id, name: String(att.name || "file"), - mime: String(att.mime || ""), action: action || "", + mime: String(att.mime || ""), sticker: !!att.sticker, action: action || "", auto: auto === true }) pumpFetch() } + property bool fetchJobSticker: false property string fetchJobAction: "" property string fetchJobMime: "" property string fetchJobName: "" @@ -1155,8 +1271,9 @@ FocusScope { fetchJobAction = job.action fetchJobMime = job.mime fetchJobName = job.name + fetchJobSticker = job.sticker === true // Auto-pulls carry a hard transfer cap: claimed metadata is not the limit. - fetchProc.command = ["bun", root.fetchScript, job.id, job.name, job.mime, job.auto ? "5242880" : ""] + fetchProc.command = ["bun", root.fetchScript, job.id, job.name, job.mime, job.auto ? "5242880" : ""].concat(job.sticker ? ["--sticker"] : []) fetchProc.running = true } @@ -1168,7 +1285,9 @@ FocusScope { function autoFetchImages() { if (!inThread) return for (var i = 0; i < bubbles.length; i++) { - var atts = bubbles[i].attachments || [] + var atts = (bubbles[i].attachments || []).concat((bubbles[i].stickers || []).map(function(sticker) { return sticker.attachment })) + var replied = bubbles[i].replyAttachment + if (replied && isImageMime(replied.mime)) enqueueFetch(replied, "", true) for (var j = 0; j < atts.length; j++) { // Bytes must be KNOWN — null/0 must not slip through and auto-pull // something the click-path 100 MB ceiling would allow. The SOURCE cap @@ -1177,7 +1296,8 @@ FocusScope { // while sips turns a 5.07 MB HEIC into a 7.80 MB JPEG, so full-size // iPhone photos were rejected at both ends and simply never appeared. var b = atts[j].bytes - if (isImageMime(atts[j].mime) && typeof b === "number" && b > 0 && b <= root.autoFetchMaxSource) + var audio = !atts[j].sticker && String(atts[j].mime || "").indexOf("audio/") === 0 + if ((isImageMime(atts[j].mime) || (atts[j].sticker && String(atts[j].mime || "").indexOf("video/") === 0) || audio) && typeof b === "number" && b > 0 && b <= root.autoFetchMaxSource && (!audio || b <= 5 * 1024 * 1024)) enqueueFetch(atts[j], "", true) } // link-card preview PNGs are small; the auto-fetch transfer cap bounds them @@ -1186,10 +1306,21 @@ FocusScope { } } + function stickerLoading(id) { + return id !== "" && (root.fetchingId === id || root.fetchQueue.some(function(job) { return job.id === id })) + } + function activateSticker(att) { + var id = String(att.id || "") + if (!id) return + if (!root.attFiles[id]) root.enqueueFetch(att, "preview", true) + else root.openAttachment(att) + } + /** Chip/image click: fetch-then-open. ALWAYS round-trips fetch.ts, even * when attFiles already has a url — the LRU may have evicted the file * since (Codex finding #5); a cache hit is instant anyway. */ function openAttachment(att) { + if (!att.sticker && String(att.mime || "").indexOf("audio/") === 0) { root.toggleAudio(att); return } var id = String(att.id || "") if (id === "") return if (attFiles[id] === "") { // failed marker — clear it so a retry runs @@ -1255,6 +1386,28 @@ FocusScope { root.fileQueue = [] } + property string attachmentPickerChat: "" + function chooseAttachments() { + if (attachmentPicker.running || !root.inThread) return + root.attachmentPickerChat = String(root.active.chat) + attachmentPicker.command = ["bun", decodeURIComponent(Qt.resolvedUrl("attachment-picker.ts").toString().replace(/^file:\/\//, ""))] + attachmentPicker.running = true + } + Process { + id: attachmentPicker + stdout: StdioCollector { + onStreamFinished: { + if (!root.inThread || String(root.active.chat) !== root.attachmentPickerChat) return + try { + var result = JSON.parse(text) + if (result.cancelled === true) return + if (result.ok === true) root.addAttachments(result.paths || []) + else root.note = String(result.error || "Could not select files") + } catch (e) { root.note = "Could not select files" } + } + } + } + function startPaste() { if (pasteProc.running || !inThread) return pasteChat = String(active.chat) @@ -1617,6 +1770,11 @@ FocusScope { return } + if (root.replyTarget && root.attachCount > 0) { + note = "a reply can't carry attachments yet — remove them or cancel the reply" + return + } + if (root.attachCount > 0) { if (sendProc.running || fileSendProc.running) { note = "a message is already sending" @@ -1648,12 +1806,20 @@ FocusScope { if (!root.activeIsGroup && /^(SMS|RCS)$/i.test(svc)) target = target.concat(["--service", svc.toUpperCase()]) var localId = String(++root.nextSendId) root.pendingRevision++ - root.pendingSends = root.pendingSends.concat([{ chat: chat, text: text, ts: stamp, localId: localId }]) - root.bubbles = root.appendPendingBubble(root.bubbles, text, stamp, localId) + var reply = root.replyTarget + root.replyTarget = null + var pendingSend = { chat: chat, text: text, ts: stamp, localId: localId } + if (reply) { + pendingSend.replyText = reply.text + pendingSend.replyMine = reply.mine + pendingSend.replyAttachment = reply.attachment + } + root.pendingSends = root.pendingSends.concat([pendingSend]) + root.bubbles = root.appendPendingBubble(root.bubbles, text, stamp, localId, reply) root.pinToBottom = true composeField.text = "" note = "" - root.sendQueue = root.sendQueue.concat([{ chat: chat, text: text, stamp: stamp, localId: localId, target: target }]) + root.sendQueue = root.sendQueue.concat([{ chat: chat, text: text, stamp: stamp, localId: localId, target: target, reply: reply }]) pumpSend() } @@ -1683,16 +1849,22 @@ FocusScope { /** The instant echo: thread.ts's pendingBubble() in miniature — enough to * draw the bubble in the right run with the right clock. Every reload * replaces it with the TypeScript version until the real row lands. */ - function appendPendingBubble(list, text, stamp, localId) { - var out = (list || []).slice() + function appendPendingBubble(list, text, stamp, localId, reply) { + // The status line belongs to the newest message, which this one now is. + var out = (list || []).map(function(b) { + if (!b.receipt && !b.receiptSlot) return b + var cleared = Object.assign({}, b); cleared.receipt = ""; cleared.receiptDetail = ""; cleared.receiptSlot = false + return cleared + }) var prev = out.length ? out[out.length - 1] : null var newDay = !prev || root.localDay(prev.ts) !== root.localDay(stamp) var gapMin = prev ? (root.stampMs(stamp) - root.stampMs(prev.ts)) / 60000 : Infinity var start = !prev || newDay || prev.from_me !== true || !(gapMin <= 15) - if (!start) { var p = Object.assign({}, prev); p.groupEnd = false; p.time = ""; out[out.length - 1] = p } + if (!start) { var p = Object.assign({}, prev); p.groupEnd = false; out[out.length - 1] = p } out.push({ localId: localId, ts: stamp, from_me: true, name: "", text: String(text).trim(), day: newDay ? "Today" : "", groupStart: start, groupEnd: true, time: Qt.formatTime(new Date(), root.timeFormat), - receipt: "", tapbacks: [], attachments: [], replyText: "", replyMine: false, edited: false, + receipt: "Sending…", receiptDetail: "", receiptSlot: true, tapbacks: [], attachments: [], + replyText: reply ? reply.text : "", replyMine: reply ? reply.mine : false, replyAttachment: reply ? reply.attachment : null, edited: false, link: null, retracted: false, effect: "", audio: false, html: "", failed: false, pending: true }) return out } @@ -1717,13 +1889,17 @@ FocusScope { root.sendText = job.text root.sendStamp = job.stamp root.sendLocalId = job.localId + root.sendReply = job.reply || null sendProc.lastErr = "" root.reloadTries = 0 // Body on STDIN (--text-stdin), never argv: argv is readable by every // process on this machine and travels through ssh into the Mac's ps. // Which program sends is source-id.ts's answer for this conversation — in // stock Blip always the Mac's imsg-send in bin_dir, exactly as before. - sendProc.command = SourceId.bridgeArgv(job.chat, "imsg-send", hostWidget ? hostWidget.binDir : root.home + "/bin").concat(job.target).concat(["--yes", "--text-stdin", "--keep-dashes"]) + var binDir = hostWidget ? hostWidget.binDir : root.home + "/bin" + sendProc.command = job.reply + ? SourceId.bridgeArgv(job.chat, "imsg-reply", binDir).concat(["--guid", job.reply.guid, "--yes", "--text-stdin"]) + : SourceId.bridgeArgv(job.chat, "imsg-send", binDir).concat(job.target).concat(["--yes", "--text-stdin", "--keep-dashes"]) sendProc.stdinEnabled = true sendProc.running = true sendProc.write(job.text) @@ -1911,7 +2087,9 @@ FocusScope { var completedText = root.sendText var completedStamp = root.sendStamp var completedId = root.sendLocalId + var completedReply = root.sendReply var belongsHere = root.inThread && String(root.active.chat) === completedChat + root.sendReply = null root.sendChat = "" root.sendText = "" root.sendStamp = "" @@ -1920,6 +2098,12 @@ FocusScope { // The bubble is already up; reload to swap it for the real row. root.reloadChat = completedChat reloadTimer.restart() + } else if (completedReply && code === 76) { + // Return was pressed but chat.db did not confirm it. Handing the words + // back would invite sending the reply twice. + root.reloadChat = completedChat + reloadTimer.restart() + if (belongsHere) root.note = sendProc.lastErr.replace(/^imsg-reply:\s*/, "") } else { // Keep the failed bubble; put the words back in the field (unless a // newer draft is there), and the reason is on the status line. @@ -1927,7 +2111,10 @@ FocusScope { : sendProc.lastErr !== "" ? sendProc.lastErr : "Send failed (exit " + code + ")" root.failPending(completedChat, completedId, reason, completedText, completedStamp) if (belongsHere) { - if (composeField.text === "") composeField.text = completedText + if (composeField.text === "") { + composeField.text = completedText + if (completedReply) root.replyTarget = completedReply + } if (code === 69 || code === 255) root.note = "not sent — Mac unreachable" else root.note = (sendProc.lastErr !== "" ? "send failed: " + sendProc.lastErr : "send failed (exit " + code + ")") } @@ -1967,7 +2154,7 @@ FocusScope { // A copy fetches the ORIGINAL for the clipboard; the bubble keeps // the preview it already draws. Swapping its source and metrics // re-decodes and re-lays out the picture under the reader's eyes. - var keepInline = (root.fetchJobAction === "copy" || root.fetchJobAction === "save") && !!root.attFiles[id] + var keepInline = ((root.fetchJobAction === "copy" || root.fetchJobAction === "save") && !!root.attFiles[id]) || (root.fetchJobSticker && root.fetchJobAction === "open") var m = Object.assign({}, root.attFiles) if (!keepInline) m[id] = d.ok === true ? String(d.url || "") : "" root.attFiles = m @@ -1979,14 +2166,14 @@ FocusScope { if (!isFinite(pixelHeight) || pixelHeight < 1 || pixelHeight > 100000) pixelHeight = 0 if (!keepInline) { var metrics = Object.assign({}, root.attMetrics) - metrics[id] = { pixelRatio: ratio, pixelWidth: pixelWidth, pixelHeight: pixelHeight } + metrics[id] = { pixelRatio: ratio, pixelWidth: pixelWidth, pixelHeight: pixelHeight, animated: d.animated === true, renderMime: String(d.renderMime || ""), animationUnavailable: d.animationUnavailable === true, audio: d.audio || null } root.attMetrics = metrics } if (d.ok === true && root.fetchJobAction === "copy") { // The Mac converts HEIC/HEIF to JPEG on the way (fetch.ts wantsJpeg), // so the clipboard type must say what the bytes are. Path and type // travel as arguments, never interpolated into the script. - var mime = root.fetchJobMime === "image/heic" || root.fetchJobMime === "image/heif" ? "image/jpeg" : root.fetchJobMime + var mime = String(d.renderMime || "") || (root.fetchJobMime === "image/heic" || root.fetchJobMime === "image/heif" ? "image/jpeg" : root.fetchJobMime) Quickshell.execDetached(["sh", "-c", 'wl-copy --type "$1" < "$2"', "sh", mime, String(d.path || "")]) root.note = "copied" noteTimer.restart() @@ -1998,14 +2185,17 @@ FocusScope { saveProc.running = true } else root.note = "a save dialog is already open" } else if (d.ok === true && root.fetchJobAction === "open") { - if (String(root.fetchJobMime || "").indexOf("audio/") === 0) { - root.toggleAudio(String(d.path || "")) - } else if (root.openableMime(root.fetchJobMime)) { + if (root.openableMime(root.fetchJobMime)) { Quickshell.execDetached(["xdg-open", String(d.url || "")]) } else { root.note = "saved, not opened (" + (root.fetchJobMime || "unknown type") + "): " + String(d.path || "") } } + root.settleAudioFetch(id, d.ok === true, d.error) + if (root.fetchJobSticker && root.fetchJobAction === "open" && !root.attFiles[id]) { + var previewAtt = { id: id, name: root.fetchJobName, mime: root.fetchJobMime, sticker: {} } + Qt.callLater(function() { root.enqueueFetch(previewAtt, "preview", true) }) + } if (d.ok !== true && d.online === false) root.note = "fetch failed — Mac unreachable" // A click deserves the reason (a photo Messages in iCloud has not // brought to the Mac yet reads as "no such attachment" otherwise); @@ -2020,6 +2210,7 @@ FocusScope { } } onExited: function(code, status) { + root.settleAudioFetch(root.fetchingId, false) root.fetchingId = "" Qt.callLater(root.pumpFetch) } @@ -2382,7 +2573,7 @@ FocusScope { || text === "u" || text === "U" || (text >= "1" && text <= "9") if (!jump) return false - if (searchField.activeFocus || newField.activeFocus || bubbleFocused) return false + if (searchField.activeFocus || newField.activeFocus || bubbleFocused || root.focusedAudio !== null || root.focusedReaction !== null || root.actionFocused) return false if (composeField.activeFocus && (composeField.text.length > 0 || root.attachCount > 0)) return false return handleTextKey(text) === true @@ -2411,6 +2602,8 @@ FocusScope { Keys.onPressed: function(event) { if (root.catchNavKey(event.key)) event.accepted = true } } function catchEscape() { + if (contactMenu.visible) { contactMenu.close(); root.focusDefault(); return true } + if (emojiPopup.visible) { emojiPopup.close(); composeField.forceActiveFocus(); return true } if (newField.activeFocus || newMode) { exitNew(); return true } if (searchField.activeFocus || searching) { exitSearch(); return true } return false @@ -2433,7 +2626,7 @@ FocusScope { // ---- layout: one pane (popout) or two (window). Both panes always exist — // hiding, not unloading, keeps image state, selection, and scroll position. property bool splitView: false - property int sidebarWidth: 320 + property int sidebarWidth: Math.min(340, Math.max(260, width * 0.30)) readonly property bool listShowing: splitView || !inThread RowLayout { @@ -2444,6 +2637,7 @@ FocusScope { // ------------------------------------------------------- thread pane Item { id: threadPane + Rectangle { anchors.fill: parent; color: Qt.alpha(root.foreground, 0.035) } visible: root.listShowing Layout.fillHeight: true Layout.fillWidth: !root.splitView @@ -2452,77 +2646,43 @@ FocusScope { anchors.fill: parent // Gutters for the app: the popout's card supplies its own padding, // the window's panes had text flush against the borders (Fred). - anchors.leftMargin: root.splitView ? Style.space(18) : 0 - anchors.rightMargin: root.splitView ? Style.space(18) : 0 + anchors.leftMargin: root.splitView ? Style.space(12) : 0 + anchors.rightMargin: root.splitView ? Style.space(12) : 0 anchors.topMargin: root.splitView ? Style.space(10) : 0 anchors.bottomMargin: root.splitView ? Style.space(10) : 0 - spacing: Style.space(root.splitView ? 14 : 8) + spacing: Style.space(8) RowLayout { Layout.fillWidth: true + Layout.preferredHeight: Style.space(32) spacing: Style.space(8) - Text { - text: "Blip" - textFormat: Text.PlainText - color: root.foreground - font.family: root.fontFamily - font.pixelSize: root.fontTitle - font.bold: true - } - Text { - Layout.fillWidth: true - text: (!root.online ? "Mac unreachable — bridge offline" - : root.unread > 0 ? root.unread + " unread" : "all caught up").toUpperCase() - textFormat: Text.PlainText - color: root.dim - font.family: root.fontFamily - font.pixelSize: root.fontCaption - font.bold: true - font.letterSpacing: 1.2 - elide: Text.ElideRight - } - Text { - visible: root.version !== "" - text: root.version - textFormat: Text.PlainText - color: root.dim - font.family: root.fontFamily - font.pixelSize: root.fontCaption - } - PanelActionButton { - visible: root.online && !root.newMode && !root.searchShowing - iconText: "+" + Item { Layout.fillWidth: true } + // A single-pane popout keeps its compose action beside Open App. + // The app's compose action lives across the divider in its header. + ComposerButton { + id: compactNewMessageButton + visible: !root.splitView && root.online && !root.newMode + iconName: "compose" tooltipText: "New message (n)" - bordered: true + Accessible.name: "New message" foreground: root.foreground - hoverColor: root.accent - fontFamily: root.fontFamily + accent: root.accent + motionDuration: Style.duration(120) + font.family: root.fontFamily onClicked: root.startNew() } - PanelActionButton { + ComposerButton { + id: appWindowButton visible: root.online && !root.splitView - iconText: "⇱" + iconName: "window" tooltipText: "Open the app window" - bordered: true foreground: root.foreground - hoverColor: root.accent - fontFamily: root.fontFamily + accent: root.accent + motionDuration: Style.duration(120) + font.family: root.fontFamily onClicked: root.openApp() } } - PanelSeparator { Layout.fillWidth: true; foreground: root.foreground } - - Text { - objectName: "blipToastErrorList" - Layout.fillWidth: true - visible: root.toastAllowlistError !== "" - text: "Blip notifications: " + root.toastAllowlistError - textFormat: Text.PlainText - color: root.urgent - font.family: root.fontFamily - font.pixelSize: root.fontCaption - wrapMode: Text.WordWrap - } // ---------------------------------------------------- scroll body Flickable { @@ -2586,45 +2746,14 @@ FocusScope { font.pixelSize: root.fontBodySmall wrapMode: Text.WordWrap } - // Reachable but broken — say exactly what to fix (Full Disk Access, - // Automation, blip-setup). collector.explainBridgeError writes it. - Text { - Layout.fillWidth: true - visible: root.online && root.hostWidget && !root.hostWidget.healthy - && String(root.hostWidget.lastError || "") !== "" - text: "⚠ " + String(root.hostWidget ? root.hostWidget.lastError : "") - textFormat: Text.PlainText - color: root.urgent - font.family: root.fontFamily - font.pixelSize: root.fontBodySmall - wrapMode: Text.WordWrap - } // ---------------------------------------------- LIST VIEW - RowLayout { + PanelSectionHeader { Layout.fillWidth: true - visible: root.online && root.listShowing - && (root.newMode || root.canMarkAllRead && !root.searchShowing) - PanelSectionHeader { - Layout.fillWidth: true - text: root.newMode ? "NEW MESSAGE" : "" - foreground: root.foreground - fontFamily: root.fontFamily - } - // Clear local marks and, unless push_read=off, ask Messages - // on the Mac to mark its conversations read too. - Text { - id: markAllBtn - visible: root.canMarkAllRead && !root.searchShowing && !root.newMode - text: "mark all read" - textFormat: Text.PlainText - color: markAllHover.hovered ? root.mineFill : root.cyan - font.family: root.fontFamily - font.pixelSize: root.fontCaption - font.underline: markAllHover.hovered - HoverHandler { id: markAllHover; cursorShape: Qt.PointingHandCursor } - TapHandler { onTapped: root.markAllRead() } - } + visible: root.newMode + text: "NEW MESSAGE" + foreground: root.foreground + fontFamily: root.fontFamily } // ------------------------------------------------ SEARCH @@ -2720,30 +2849,25 @@ FocusScope { Layout.fillWidth: true visible: root.online && root.listShowing && !root.newMode placeholderText: "Search" + background: GlassSurface { + color: Qt.alpha(root.foreground, 0.08) + foreground: root.foreground + accent: root.accent + focused: searchField.activeFocus + motionDuration: Style.duration(120) + } + verticalPadding: Style.space(8) + horizontalPadding: Style.space(12) Accessible.name: "Search" leftPadding: horizontalPadding + searchGlyph.width + Style.space(7) - Canvas { + LineIcon { id: searchGlyph anchors.left: parent.left anchors.leftMargin: searchField.horizontalPadding anchors.verticalCenter: parent.verticalCenter - width: Style.space(16) - height: width - readonly property color strokeColor: searchField.placeholderTextColor - onStrokeColorChanged: requestPaint() - onPaint: { - var ctx = getContext("2d") - ctx.reset() - ctx.scale(width / 16, height / 16) - ctx.strokeStyle = strokeColor - ctx.lineWidth = 1.5 - ctx.lineCap = "round" - ctx.beginPath() - ctx.arc(6.5, 6.5, 5, 0, Math.PI * 2) - ctx.moveTo(10.1, 10.1) - ctx.lineTo(14.5, 14.5) - ctx.stroke() - } + width: Style.space(16); height: width + name: "search" + color: searchField.placeholderTextColor } foreground: root.foreground accent: root.accent @@ -2773,9 +2897,9 @@ FocusScope { && root.pinnedThreads.length > 0 columns: 3 columnSpacing: Style.space(8) - rowSpacing: Style.space(10) - Layout.topMargin: Style.space(8) - Layout.bottomMargin: Style.space(8) + rowSpacing: Style.space(6) + Layout.topMargin: Style.space(4) + Layout.bottomMargin: Style.space(4) Repeater { id: pinnedRepeater @@ -2789,9 +2913,10 @@ FocusScope { readonly property bool selected: root.splitView && root.isShowing(modelData) onHasCursorChanged: if (hasCursor) root.cursorRow = pinnedTile Layout.fillWidth: true - Layout.preferredWidth: Math.max(1, (pinnedGrid.width - pinnedGrid.columnSpacing * 2) / 3) - implicitHeight: pinnedColumn.implicitHeight + Style.space(12) - radius: Style.cornerRadius + Layout.preferredWidth: 1 + Layout.minimumWidth: 0 + implicitHeight: pinnedColumn.implicitHeight + Style.space(16) + radius: Style.space(10) color: selected ? root.selectedFill : pinnedHover.hovered || (hasCursor && root.cursorShown) ? root.hoverFill @@ -2811,7 +2936,7 @@ FocusScope { anchors.leftMargin: Style.space(4) anchors.rightMargin: Style.space(4) anchors.verticalCenter: parent.verticalCenter - spacing: Style.space(4) + spacing: Style.space(7) Rectangle { id: pinnedAvatar @@ -2819,9 +2944,9 @@ FocusScope { // Hidden layouts defer their first measurement. Derive // the size from the pane's known width and supply both // implicit size and layout hints before the first open. - readonly property real avatarSize: Math.min(88, Math.max(56, - ((root.splitView ? root.sidebarWidth - Style.space(36) : root.width) - - pinnedGrid.columnSpacing * 2) / 3 * 0.62)) + readonly property real avatarSize: Math.min(76, Math.max(56, + ((root.splitView ? root.sidebarWidth - Style.space(24) : root.width) + - pinnedGrid.columnSpacing * 2) / 3 * 0.80)) implicitWidth: avatarSize implicitHeight: avatarSize Layout.preferredWidth: avatarSize @@ -2880,8 +3005,8 @@ FocusScope { textFormat: Text.PlainText color: root.foreground font.family: root.fontFamily - font.pixelSize: root.fontBody - font.bold: true + font.pixelSize: Math.round(pinnedAvatar.avatarSize * 0.32) + font.weight: Font.Medium } // The unread dot. Pinned threads live ONLY here — the list @@ -2914,14 +3039,17 @@ FocusScope { // the label; the digit was a hint, not the mechanism. Text { Layout.fillWidth: true - text: String(modelData.name || modelData.chat) + Layout.minimumWidth: 0 + text: ConversationAppearance.pinnedName(modelData, root.pinnedThreads, + root.isGroupId(String(modelData.chat || ""))) textFormat: Text.PlainText horizontalAlignment: Text.AlignHCenter elide: Text.ElideRight color: root.foreground font.family: root.fontFamily font.pixelSize: root.fontCaption - font.bold: modelData.unread > 0 + font.weight: modelData.unread > 0 ? Font.DemiBold : Font.Normal + Accessible.name: ConversationAppearance.conversationName(modelData) } } } @@ -3039,8 +3167,8 @@ FocusScope { onHasCursorChanged: if (hasCursor) root.cursorRow = threadRow Layout.fillWidth: true - implicitHeight: rowRow.implicitHeight + Style.space(root.splitView ? 30 : 18) - radius: Style.cornerRadius + implicitHeight: Math.max(Style.space(68), rowRow.implicitHeight + Style.space(16)) + radius: Style.space(10) color: selected ? root.selectedFill : highlighted ? root.hoverFill : "transparent" @@ -3078,7 +3206,7 @@ FocusScope { id: avatarCircle // Messages' sidebar avatar is large relative to the row; // Keep ordinary avatars legible beside two preview lines. - width: Style.space(40); height: width; radius: width / 2 + width: Style.space(42); height: width; radius: width / 2 color: Qt.rgba(root.foreground.r, root.foreground.g, root.foreground.b, 0.18) // A group binds to ITS OWN chat id (its Messages group photo); a DM to // the person. Binding a group to `handle` showed whoever spoke last — @@ -3135,14 +3263,15 @@ FocusScope { textFormat: Text.PlainText color: root.foreground font.family: root.fontFamily - font.pixelSize: root.fontCaption - font.bold: true + font.pixelSize: root.fontBodySmall + 2 + font.weight: Font.Medium } } ColumnLayout { Layout.fillWidth: true - spacing: Style.space(1) + Layout.minimumWidth: 0 + spacing: Style.space(3) RowLayout { Layout.fillWidth: true spacing: Style.space(6) @@ -3218,6 +3347,21 @@ FocusScope { // ------------------------------------------------- conversation pane Item { id: conversationPane + clip: true + Image { + id: conversationBackdrop + anchors.fill: parent + source: root.backgroundUrl + asynchronous: true + autoTransform: true + fillMode: Image.PreserveAspectCrop + sourceSize: Qt.size(2048, 2048) + } + Rectangle { + anchors.fill: parent + visible: conversationBackdrop.status === Image.Ready + color: Qt.alpha(appearance.background, 0.50) + } visible: root.splitView || root.inThread Layout.fillHeight: true Layout.fillWidth: true @@ -3230,76 +3374,107 @@ FocusScope { anchors.topMargin: root.splitView ? Style.space(10) : 0 anchors.bottomMargin: root.splitView ? Style.space(10) : 0 spacing: Style.space(8) - RowLayout { + Item { Layout.fillWidth: true - spacing: Style.space(8) - PanelActionButton { + Layout.preferredHeight: root.inThread ? (headerMeta.visible ? Style.space(98) : Style.space(82)) : Style.space(50) + ComposerButton { + id: newMessageButton + visible: root.splitView && root.online && !root.newMode + anchors.left: parent.left + anchors.verticalCenter: parent.verticalCenter + iconName: "compose" + fill: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.10) + tooltipText: "New message (n)" + Accessible.name: "New message" + foreground: root.foreground + accent: root.accent + motionDuration: Style.duration(120) + font.family: root.fontFamily + onClicked: root.startNew() + } + ComposerButton { + id: backButton visible: root.inThread && !root.splitView - Layout.alignment: Qt.AlignTop - Layout.topMargin: Style.space(6) - iconText: "←" + anchors.left: parent.left + anchors.verticalCenter: parent.verticalCenter + iconName: "back" + fill: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.10) tooltipText: "Back to messages (Esc)" Accessible.name: "Back to messages" - focusable: true foreground: root.foreground - hoverColor: root.accent - fontFamily: root.fontFamily + accent: root.accent + motionDuration: Style.duration(120) + font.family: root.fontFamily onClicked: root.back() } - PanelHero { - id: conversationHero - Layout.fillWidth: true - title: root.inThread ? String(root.active.name || root.active.chat) : "Select a conversation" - meta: root.inThread - ? (root.activeIsGroup - ? (root.isSendable(root.active) ? "group" : "group · read-only (id unknown)") - : (sharedCity.city || sharedCity.stateLabel || String(root.active.handle))) - : "" - detail: root.inThread && root.loading ? "loading…" : "" - foreground: root.foreground - fontFamily: root.fontFamily + Column { + anchors.centerIn: parent + spacing: Style.space(4) + width: Math.max(1, parent.width - Style.space(120)) + ConversationAvatar { + anchors.horizontalCenter: parent.horizontalCenter + visible: root.inThread + width: Style.space(44); height: width + thread: root.active + avatarFiles: root.avatarFiles + foreground: root.foreground + fontFamily: root.fontFamily + onRequestAvatar: function(handle) { root.requestAvatar(handle) } + } + GlassSurface { + anchors.horizontalCenter: parent.horizontalCenter + width: Math.min(parent.width, headerName.implicitWidth + Style.space(18)) + height: headerName.implicitHeight + Style.space(6) + radius: height / 2 + color: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.74) : Qt.alpha(root.foreground, 0.08) + foreground: root.foreground + Text { + id: headerName + anchors.centerIn: parent + width: Math.max(0, parent.width - Style.space(18)) + text: ConversationAppearance.conversationName(root.active) + textFormat: Text.PlainText + horizontalAlignment: Text.AlignHCenter + elide: Text.ElideRight + color: root.foreground + font.family: root.fontFamily + font.pixelSize: root.fontBodySmall + font.weight: Font.DemiBold + } + } + // Upstream #152: a friend's shared Find My city (opt-in), under the name. + Text { + id: headerMeta + anchors.horizontalCenter: parent.horizontalCenter + width: parent.width + visible: root.inThread && !root.activeIsGroup && text !== "" + text: sharedCity.city || sharedCity.stateLabel + textFormat: Text.PlainText + horizontalAlignment: Text.AlignHCenter + elide: Text.ElideRight + color: Qt.alpha(root.foreground, 0.72) + font.family: root.fontFamily + font.pixelSize: root.fontCaption + } } - PanelActionButton { + ComposerButton { id: conversationActions objectName: "blipConversationActions" visible: root.inThread - iconText: "⋯" + anchors.right: parent.right + anchors.verticalCenter: parent.verticalCenter + iconName: "more" + fill: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.10) tooltipText: "Conversation actions" Accessible.name: "Conversation actions" - focusable: true foreground: root.foreground - hoverColor: root.accent - fontFamily: root.fontFamily + accent: root.accent + motionDuration: Style.duration(120) + font.family: root.fontFamily onClicked: root.openContactMenu(root.active, conversationActions) } - // The app's NEW button lives up here (where "Esc = back" used to be). - PanelActionButton { - visible: root.splitView && !root.newMode - Layout.alignment: Qt.AlignTop - Layout.topMargin: Style.space(6) - iconText: "+" - tooltipText: "New message (n)" - bordered: true - foreground: root.foreground - hoverColor: root.accent - fontFamily: root.fontFamily - onClicked: root.startNew() - } } - PanelSeparator { Layout.fillWidth: true; foreground: root.foreground } - - Text { - objectName: "blipToastErrorThread" - Layout.fillWidth: true - visible: !root.listShowing && root.toastAllowlistError !== "" - text: "Blip notifications: " + root.toastAllowlistError - textFormat: Text.PlainText - color: root.urgent - font.family: root.fontFamily - font.pixelSize: root.fontCaption - wrapMode: Text.WordWrap - } // ---------------------------------------------------- scroll body Flickable { @@ -3322,6 +3497,9 @@ FocusScope { // the fold. Scrolling up releases the stick; scrolling back to // the end re-arms it. property bool stick: false + onHeightChanged: if (stick || root.pinToBottom) Qt.callLater(function() { + if (flick.stick || root.pinToBottom) flick.contentY = Math.max(0, flick.contentHeight - flick.height) + }) onContentHeightChanged: { if (!root.inThread) return if (root.pinToBottom) { @@ -3362,6 +3540,12 @@ FocusScope { z: -1 acceptedButtons: Qt.NoButton onWheel: function(wheel) { + // A sideways swipe reveals message times; see time-reveal.ts. A + // burst commits to one axis, so y can come back zero here. + var sideways = wheel.pixelDelta.x !== 0 ? wheel.pixelDelta.x : wheel.angleDelta.x + var vertical = wheel.pixelDelta.y !== 0 ? wheel.pixelDelta.y : wheel.angleDelta.y + wheel.accepted = true + if (timeReveal.route(sideways, vertical) === 0) return var d = wheel.pixelDelta.y !== 0 ? wheel.pixelDelta.y * root.touchpadMultiplier : wheel.angleDelta.y * root.wheelMultiplier // the wheel bypasses Flickable movement signals — the helper // maintains the bottom-stick too @@ -3371,6 +3555,12 @@ FocusScope { } } + TimeRevealGesture { + id: timeReveal + // room for the widest clock in this format, plus a gap from the bubble + maxOffset: Math.ceil(timeMetrics.advanceWidth(Qt.formatTime(new Date(2000, 0, 1, 12, 59), root.timeFormat))) + Style.space(14) + FontMetrics { id: timeMetrics; font.family: root.fontFamily; font.pixelSize: root.fontCaption } + } // The bubble cursor: one translucent band behind the selected row, // the list rows' fill. A sibling of `content`, not a child of the // layout, so no delegate carries a background of its own; the row's @@ -3383,6 +3573,8 @@ FocusScope { radius: Style.cornerRadius color: root.hoverFill } + // Message times, behind the rows and sized to match them (see bubbleRow). + Item { id: timeLayer; width: content.width; height: content.height; visible: root.inThread } ColumnLayout { id: content width: parent.width @@ -3395,7 +3587,7 @@ FocusScope { text: "loading…" textFormat: Text.PlainText horizontalAlignment: Text.AlignHCenter - color: root.dim + color: root.canvasDim font.family: root.fontFamily font.pixelSize: root.fontCaption } @@ -3411,19 +3603,49 @@ FocusScope { readonly property bool hasCursor: root.bubbleCursor === index // with a tapback on its way drawn in (tapback-actions.ts) readonly property var shownTapbacks: TapbackActions.shownTapbacks(modelData, root.pendingTapback) + readonly property var shownReactionStickers: Stickers.reactionStickers(modelData.stickers) + readonly property bool hasReactions: shownTapbacks.length > 0 || shownReactionStickers.length > 0 + // The keyboard cursor pins its row's time open, so reading a + // time never depends on having a sideways-scrolling pointer. + readonly property real timeProgress: hasCursor ? 1 : timeReveal.progress + readonly property real timeOffset: timeReveal.maxOffset * timeProgress + // Like Messages: your bubbles make way, theirs stay put. Layout + // is untouched, so the transcript never reflows during a swipe. + transform: Translate { x: bubbleRow.mine ? -bubbleRow.timeOffset : 0 } onHasCursorChanged: if (hasCursor) root.bubbleCursorItem = bubbleRow Layout.fillWidth: true spacing: Style.space(2) + // Lives in timeLayer because a layout child would take up a + // slot in this row. Loaded only while a reveal is showing it. + Loader { + parent: timeLayer + active: bubbleRow.timeProgress > 0 && String(bubbleRow.modelData.time || "") !== "" + x: content.width - bubbleRow.timeOffset + y: bubbleRow.y + (textBubbleRow.visible ? textBubbleRow.y + textBubbleRow.height / 2 : bubbleRow.height / 2) - height / 2 + width: timeReveal.maxOffset + opacity: bubbleRow.timeProgress + sourceComponent: Text { + text: String(bubbleRow.modelData.time || "") + textFormat: Text.PlainText + horizontalAlignment: Text.AlignRight + color: root.canvasDim + font.family: root.fontFamily + font.pixelSize: root.fontCaption + } + } + // day divider — "Today", "Yesterday", "Aug 28" Text { Layout.fillWidth: true + // stays centered while your bubbles slide + transform: Translate { x: bubbleRow.mine ? bubbleRow.timeOffset : 0 } visible: String(modelData.day || "") !== "" text: String(modelData.day || "") textFormat: Text.PlainText horizontalAlignment: Text.AlignHCenter - color: root.dim + color: root.canvasDim font.family: root.fontFamily font.pixelSize: root.fontCaption font.bold: true @@ -3443,7 +3665,7 @@ FocusScope { // "delegate wider than the panel" bug (CLAUDE.md) — Astra A#10. Layout.maximumWidth: Math.max(1, bubbleRow.width - Style.space(40)) elide: Text.ElideRight - color: root.dim + color: root.canvasDim font.family: root.fontFamily font.pixelSize: root.fontCaption } @@ -3459,7 +3681,7 @@ FocusScope { textFormat: Text.PlainText Layout.maximumWidth: Math.max(1, bubbleRow.width - Style.space(40)) elide: Text.ElideRight - color: root.dim + color: root.canvasDim font.family: root.fontFamily font.pixelSize: root.fontCaption font.italic: true @@ -3476,22 +3698,36 @@ FocusScope { spacing: 0 Item { Layout.fillWidth: true; visible: bubbleRow.mine } Rectangle { - Layout.preferredWidth: Math.min(Math.ceil(replySnippet.implicitWidth) + Style.space(18), Math.round(content.width * 0.7)) - Layout.preferredHeight: Math.ceil(replySnippet.implicitHeight) + Style.space(10) + id: replyChip + readonly property var att: modelData.replyAttachment || null + readonly property string thumb: att && root.isImageMime(att.mime) ? String(root.attFiles[String(att.id || "")] || "") : "" + readonly property int thumbSpace: thumb !== "" ? Style.space(28) + Style.space(6) : 0 + Layout.preferredWidth: Math.min(Math.ceil(replySnippet.implicitWidth) + Style.space(18) + thumbSpace, Math.round(content.width * 0.7)) + Layout.preferredHeight: Math.max(Math.ceil(replySnippet.implicitHeight), thumb !== "" ? Style.space(28) : 0) + Style.space(10) radius: Style.space(12) color: "transparent" - border.color: root.dim + border.color: root.canvasDim border.width: 1 opacity: 0.75 + Image { + visible: replyChip.thumb !== "" + x: Style.space(9); y: Style.space(5) + width: Style.space(28); height: width + source: replyChip.thumb + fillMode: Image.PreserveAspectCrop + asynchronous: true + sourceSize.width: width * 2; sourceSize.height: height * 2 + } Text { id: replySnippet - x: Style.space(9); y: Style.space(5) - width: Math.round(content.width * 0.7) - Style.space(18) + x: Style.space(9) + replyChip.thumbSpace + anchors.verticalCenter: parent.verticalCenter + width: parent.width - x - Style.space(9) text: "↩ " + (modelData.replyMine ? "You: " : "") + String(modelData.replyText || "") textFormat: Text.PlainText elide: Text.ElideRight maximumLineCount: 1 - color: root.dim + color: root.canvasDim font.family: root.fontFamily font.pixelSize: root.fontCaption } @@ -3530,20 +3766,52 @@ FocusScope { readonly property string attId: String(modelData.id || "") // the pill lands here when the message has no text bubble to carry it readonly property bool pillHere: index === 0 && String(bubbleRow.modelData.text || "") === "" - && (bubbleRow.modelData.tapbacks || []).length > 0 + && bubbleRow.hasReactions // undefined = not fetched, "" = failed, else file:// url readonly property var fileUrl: root.attFiles[chipRow.attId] readonly property bool failed: chipRow.fileUrl === "" readonly property var imageMetrics: root.attMetrics[chipRow.attId] || ({}) + readonly property bool isSticker: !!modelData.sticker + readonly property bool isAudio: !isSticker && String(modelData.mime || "").indexOf("audio/") === 0 readonly property bool showImage: - root.isImageMime(chipRow.modelData.mime) && + !isSticker && root.isImageMime(chipRow.modelData.mime) && chipRow.fileUrl !== undefined && chipRow.fileUrl !== "" Layout.fillWidth: true Layout.topMargin: (index === 0 && bubbleRow.modelData.groupStart ? Style.space(6) : 0) - + (pillHere ? Style.space(12) : 0) + + (pillHere ? Style.space(26) : 0) spacing: 0 Item { Layout.fillWidth: true; visible: bubbleRow.mine } + StickerImage { + visible: chipRow.isSticker + Layout.preferredWidth: Math.min(Style.space(160), content.width * 0.50) + Layout.preferredHeight: Layout.preferredWidth + attachment: chipRow.modelData + source: chipRow.isSticker ? (chipRow.fileUrl || "") : "" + loading: root.stickerLoading(chipRow.attId) + failed: chipRow.attId === "" || chipRow.failed + animated: chipRow.imageMetrics.animated === true + animationUnavailable: chipRow.imageMetrics.animationUnavailable === true + playing: root.surfaceOpen && chipRow.y + bubbleRow.y + height >= flick.contentY && chipRow.y + bubbleRow.y <= flick.contentY + flick.height + textColor: root.canvasDim + fontSize: root.fontCaption + onTapped: root.activateSticker(chipRow.modelData) + onContextRequested: root.openAttachmentMenu(bubbleRow.modelData, chipRow.modelData) + StickerLayer { + anchors.fill: parent + z: 3 + visible: chipRow.index === 0 && !textBubbleRow.visible + stickers: visible ? Stickers.placedStickers(bubbleRow.modelData.stickers) : [] + files: root.attFiles; metrics: root.attMetrics + fetchingId: root.fetchingId; fetchQueue: root.fetchQueue + textColor: root.canvasDim + playing: root.surfaceOpen && bubbleRow.y + chipRow.y + height >= flick.contentY && bubbleRow.y + chipRow.y <= flick.contentY + flick.height + onOpenRequested: function(att) { root.activateSticker(att) } + onContextRequested: function(att) { root.openAttachmentMenu(bubbleRow.modelData, att) } + } + TapbackPill { visible: chipRow.pillHere; mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData; playing: root.surfaceOpen && bubbleRow.y + bubbleRow.height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height } + } + // fetched image renders inline, like Messages; click = full view. // A GIF has to MOVE, and Image paints frame one and stops, // so animated formats go through AnimatedImage instead. @@ -3555,8 +3823,20 @@ FocusScope { // every right-aligned element off-screen with it. Item { id: attImage - TapbackPill { visible: chipRow.pillHere; mine: bubbleRow.mine; tapbacks: bubbleRow.modelData.tapbacks } + TapbackPill { visible: chipRow.pillHere; mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData; playing: root.surfaceOpen && bubbleRow.y + bubbleRow.height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height } visible: chipRow.showImage + StickerLayer { + anchors.fill: parent + z: 3 + visible: chipRow.index === 0 && !textBubbleRow.visible + stickers: visible ? Stickers.placedStickers(bubbleRow.modelData.stickers) : [] + files: root.attFiles; metrics: root.attMetrics + fetchingId: root.fetchingId; fetchQueue: root.fetchQueue + textColor: root.canvasDim + playing: root.surfaceOpen && bubbleRow.y + chipRow.y + height >= flick.contentY && bubbleRow.y + chipRow.y <= flick.contentY + flick.height + onOpenRequested: function(att) { root.activateSticker(att) } + onContextRequested: function(att) { root.openAttachmentMenu(bubbleRow.modelData, att) } + } readonly property bool animated: root.isAnimatedMime(chipRow.modelData.mime) readonly property var view: animated ? attAnimated : attStill readonly property int status: view.status @@ -3576,7 +3856,9 @@ FocusScope { ? Number(chipRow.imageMetrics.pixelHeight) / pixelRatio : view.implicitHeight - Layout.preferredWidth: status === Image.Ready ? Math.min(maxW, naturalWidth) : maxW + readonly property real maxH: Style.space(240) + Layout.preferredWidth: status === Image.Ready && naturalHeight > 0 + ? Math.min(maxW, naturalWidth, maxH * naturalWidth / naturalHeight) : maxW Layout.preferredHeight: status === Image.Ready && naturalWidth > 0 ? Layout.preferredWidth * naturalHeight / naturalWidth : Style.space(120) @@ -3636,9 +3918,44 @@ FocusScope { } } + AudioMessage { + objectName: chipRow.isAudio ? "blipAudio:" + chipRow.attId : "" + visible: chipRow.isAudio + Layout.preferredWidth: Math.min(Style.space(270), content.width * 0.80) + Layout.preferredHeight: Style.space(64) + // Only recognized audio containers reach the media + // decoder; an audio MIME alone could conceal a playlist. + source: chipRow.isAudio && (chipRow.imageMetrics.audio || {}).playable === true ? (chipRow.fileUrl || "") : "" + waveform: (chipRow.imageMetrics.audio || {}).waveform || [] + durationMs: Number((chipRow.imageMetrics.audio || {}).durationMs || 0) + playing: root.playingAudio === chipRow.attId && root.audioPlaying + muted: root.audioMuted + resetToken: root.audioResetToken + loading: root.stickerLoading(chipRow.attId) + failed: chipRow.attId === "" || chipRow.failed || (!!chipRow.fileUrl && (chipRow.imageMetrics.audio || {}).playable !== true) + fillColor: bubbleRow.mine ? root.mineFill : root.theirsFill + textColor: bubbleRow.mine ? root.mineText : root.theirsText + fontFamily: root.fontFamily + fontSize: root.fontCaption + id: audioMessage + onControlsFocusedChanged: { + if (controlsFocused) root.focusedAudio = audioMessage + else if (root.focusedAudio === audioMessage) root.focusedAudio = null + } + Component.onDestruction: { + if (root.focusedAudio === audioMessage) root.focusedAudio = null + if (root.playingAudio === chipRow.attId) root.stopAudio() + } + onToggleRequested: root.toggleAudio(chipRow.modelData) + onPlaybackEnded: if (root.playingAudio === chipRow.attId) root.audioPlaying = false + onPlaybackFailed: root.failAudio(chipRow.attId) + onContextRequested: root.openAttachmentMenu(bubbleRow.modelData, chipRow.modelData) + TapbackPill { visible: chipRow.pillHere; mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData; playing: root.surfaceOpen && bubbleRow.y + bubbleRow.height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height } + } + Rectangle { - TapbackPill { visible: chipRow.pillHere; mine: bubbleRow.mine; tapbacks: bubbleRow.modelData.tapbacks } - visible: !chipRow.showImage + TapbackPill { visible: chipRow.pillHere; mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData; playing: root.surfaceOpen && bubbleRow.y + bubbleRow.height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height } + visible: !chipRow.showImage && !chipRow.isSticker && !chipRow.isAudio Layout.preferredWidth: Math.ceil(chipText.implicitWidth) + Style.space(18) Layout.preferredHeight: Math.ceil(chipText.implicitHeight) + Style.space(12) radius: Style.space(14) @@ -3682,7 +3999,7 @@ FocusScope { onBareUrlChanged: if (bareUrl !== "") root.requestPreview(bareUrl) visible: !modelData.retracted && (!!modelData.link || !!fetched) Layout.fillWidth: true - Layout.topMargin: modelData.groupStart ? Style.space(6) : 0 + Layout.topMargin: (modelData.groupStart ? Style.space(6) : 0) + (!textBubbleRow.visible && bubbleRow.hasReactions ? Style.space(26) : 0) spacing: 0 // same anchoring as the chips: a card image completing ABOVE // the viewport must not shove the reader's position. @@ -3708,8 +4025,8 @@ FocusScope { Layout.preferredWidth: Math.min(Math.round(content.width * 0.62), Style.space(380)) Layout.preferredHeight: linkCol.implicitHeight radius: Style.space(14) - clip: true color: bubbleRow.mine ? root.mineFill : root.theirsFill + TapbackPill { visible: !textBubbleRow.visible && bubbleRow.hasReactions; mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData; playing: root.surfaceOpen && bubbleRow.y + bubbleRow.height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height } ColumnLayout { id: linkCol width: parent.width @@ -3784,10 +4101,11 @@ FocusScope { // the sender's far side guarantees right/left placement even // when the delegate's own width collapses to its content. RowLayout { + id: textBubbleRow Layout.fillWidth: true // a tapback pill overlaps the top edge — leave room for it Layout.topMargin: (modelData.groupStart ? Style.space(6) : 0) - + (bubbleRow.shownTapbacks.length > 0 ? Style.space(12) : 0) + + (bubbleRow.hasReactions ? Style.space(26) : 0) visible: !modelData.retracted && (String(modelData.text || "") !== "" || (modelData.attachments || []).length === 0) && // a message that is ONLY the URL shows just the card, @@ -3813,8 +4131,20 @@ FocusScope { // the corner: theirsFill is translucent, and stacking two // copies of it double-alphas the overlap into a visibly // lighter square (seen on every received run-ending bubble). - bottomLeftRadius: modelData.groupEnd === true && !bubbleRow.mine ? 0 : radius - bottomRightRadius: modelData.groupEnd === true && bubbleRow.mine ? 0 : radius + bottomLeftRadius: modelData.groupEnd === true && !bubbleRow.mine ? Style.space(4) : radius + bottomRightRadius: modelData.groupEnd === true && bubbleRow.mine ? Style.space(4) : radius + + StickerLayer { + anchors.fill: parent + z: 3 + stickers: Stickers.placedStickers(bubbleRow.modelData.stickers) + files: root.attFiles; metrics: root.attMetrics + fetchingId: root.fetchingId; fetchQueue: root.fetchQueue + textColor: root.canvasDim + playing: root.surfaceOpen && bubbleRow.y + textBubbleRow.y + height >= flick.contentY && bubbleRow.y + textBubbleRow.y <= flick.contentY + flick.height + onOpenRequested: function(att) { root.activateSticker(att) } + onContextRequested: function(att) { root.openAttachmentMenu(bubbleRow.modelData, att) } + } // TextEdit, not Text: read-only but selectable, so a message // can be highlighted and Ctrl+C'd like any other text. @@ -3878,20 +4208,18 @@ FocusScope { } } - TapbackPill { mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks } + TapbackPill { mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData; playing: root.surfaceOpen && bubbleRow.y + bubbleRow.height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height } } Item { Layout.fillWidth: true; visible: !bubbleRow.mine } } - // timestamp under the last bubble of a run, same spacer trick; - // carries the "Edited" and "sent with " tags too + // Only delivery/edit status occupies space; times are revealed by a + // sideways swipe or keyboard selection without shifting the transcript. RowLayout { Layout.fillWidth: true - visible: String(modelData.time || "") !== "" || - modelData.edited === true || String(modelData.effect || "") !== "" || - modelData.failed === true || modelData.pending === true || - modelData.scheduled === true + visible: modelData.edited === true || String(modelData.effect || "") !== "" || + modelData.failed === true || modelData.scheduled === true spacing: 0 Item { Layout.fillWidth: true; visible: bubbleRow.mine } Text { @@ -3901,15 +4229,14 @@ FocusScope { wrapMode: Text.WrapAnywhere text: [modelData.failed === true ? "⚠ Not Delivered" : "", modelData.failed === true ? String(modelData.failureReason || "") - : modelData.pending === true ? "Sending…" : modelData.scheduled === true ? "Scheduled for " + String(modelData.scheduledFor || "") - : String(modelData.time || ""), + : "", modelData.edited === true ? "Edited" : "", String(modelData.effect || "") !== "" ? "sent with " + modelData.effect : ""] .filter(function(s) { return s !== "" }).join(" · ") textFormat: Text.PlainText // a failed send is the one thing here that must not be dim - color: modelData.failed === true ? root.urgent : root.dim + color: modelData.failed === true ? root.urgent : root.canvasDim font.bold: modelData.failed === true font.family: root.fontFamily font.pixelSize: root.fontCaption @@ -3918,21 +4245,96 @@ FocusScope { Item { Layout.fillWidth: true; visible: !bubbleRow.mine } } - // "Read 4:42 PM" — only ever under the newest read from-me bubble RowLayout { Layout.fillWidth: true - visible: String(modelData.receipt || "") !== "" + visible: unplacedStickerFlow.stickers.length > 0 + Item { Layout.fillWidth: true; visible: bubbleRow.mine } + Flow { + id: unplacedStickerFlow + readonly property bool imageSurface: (bubbleRow.modelData.attachments || []).length > 0 && (root.isImageMime(bubbleRow.modelData.attachments[0].mime) || !!bubbleRow.modelData.attachments[0].sticker) && !!root.attFiles[String(bubbleRow.modelData.attachments[0].id)] + readonly property var stickers: textBubbleRow.visible || imageSurface ? Stickers.unplacedStickers(bubbleRow.modelData.stickers) : (bubbleRow.modelData.stickers || []).filter(function(sticker) { return sticker.reaction !== true }) + Layout.preferredWidth: Math.min(content.width * 0.78, stickers.length * Style.space(58)) + Layout.preferredHeight: childrenRect.height + spacing: Style.space(6) + Repeater { + model: unplacedStickerFlow.stickers + delegate: StickerImage { + required property var modelData + readonly property string attachmentId: String(modelData.attachment.id || "") + width: Style.space(52); height: width + attachment: modelData.attachment + source: root.attFiles[attachmentId] || "" + loading: root.stickerLoading(attachmentId) + failed: attachmentId === "" || root.attFiles[attachmentId] === "" + animated: (root.attMetrics[attachmentId] || {}).animated === true + animationUnavailable: (root.attMetrics[attachmentId] || {}).animationUnavailable === true + playing: root.surfaceOpen && bubbleRow.y + height >= flick.contentY && bubbleRow.y <= flick.contentY + flick.height + compact: true + textColor: root.canvasDim + Accessible.description: (animationUnavailable ? "Static preview; animation unavailable. " : "") + "Sticker attached to message part " + String(modelData.part + 1) + onTapped: root.activateSticker(modelData.attachment) + onContextRequested: root.openAttachmentMenu(bubbleRow.modelData, modelData.attachment) + } + } + } + Item { Layout.fillWidth: true; visible: !bubbleRow.mine } + } + Text { + Layout.fillWidth: true + visible: Number(modelData.stickersOverflow || 0) > 0 + text: "+" + String(modelData.stickersOverflow || 0) + " more stickers" + textFormat: Text.PlainText + horizontalAlignment: bubbleRow.mine ? Text.AlignRight : Text.AlignLeft + color: root.canvasDim + font.family: root.fontFamily + font.pixelSize: root.fontCaption + } + + // "Delivered" or "Read 4:42 PM" under your newest message. A fixed + // height: one status replacing another must not move the transcript. + RowLayout { + id: receiptRow + readonly property string label: modelData.failed === true ? "" : String(modelData.receipt || "") + readonly property string detail: label === "" ? "" : String(modelData.receiptDetail || "") + Layout.fillWidth: true + Layout.topMargin: Style.space(3) + Layout.bottomMargin: Style.space(4) + Layout.preferredHeight: Math.ceil(receiptMetrics.height) + visible: label !== "" || (modelData.receiptSlot === true && modelData.failed !== true) spacing: 0 Item { Layout.fillWidth: true } - Text { + Item { Layout.rightMargin: Style.space(6) - text: String(modelData.receipt || "") - textFormat: Text.PlainText - color: root.dim - font.family: root.fontFamily - font.pixelSize: root.fontCaption - font.bold: true - bottomPadding: Style.space(4) + implicitWidth: receiptText.implicitWidth + implicitHeight: receiptText.implicitHeight + Rectangle { + anchors.fill: parent + anchors.margins: -Style.space(3) + visible: root.backgroundUrl !== "" && receiptRow.label !== "" + radius: Style.space(8) + color: Qt.alpha(appearance.background, 0.74) + } + Row { + id: receiptText + spacing: Style.space(4) + Text { + text: receiptRow.label + textFormat: Text.PlainText + color: root.canvasDim + font.family: root.fontFamily + font.pixelSize: root.fontCaption + font.weight: Font.Medium + } + Text { + visible: text !== "" + text: receiptRow.detail + textFormat: Text.PlainText + color: root.canvasDim + font.family: root.fontFamily + font.pixelSize: root.fontCaption + font.weight: Font.Normal + } + } } } @@ -3945,19 +4347,71 @@ FocusScope { text: "No messages loaded for this thread." horizontalAlignment: Text.AlignHCenter textFormat: Text.PlainText - color: root.dim + color: root.canvasDim font.family: root.fontFamily font.pixelSize: root.fontBodySmall } + + // Breathing room between the newest message and the composer. + Item { + visible: root.inThread + Layout.fillWidth: true + Layout.preferredHeight: Style.space(8) + } } } // ------------------------------------------------------ COMPOSE - PanelSeparator { + // The message a native reply is answering. ✕ or Escape cancels it. + Rectangle { + id: replyBanner + readonly property var target: root.replyTarget + readonly property var att: target ? target.attachment : null + readonly property string thumb: att && root.isImageMime(att.mime) ? String(root.attFiles[String(att.id || "")] || "") : "" Layout.fillWidth: true - visible: root.inThread - foreground: root.foreground + Layout.preferredHeight: Math.max(replyBannerText.implicitHeight, thumb !== "" ? Style.space(28) : 0) + Style.space(12) + visible: root.inThread && target !== null + radius: Style.space(12) + color: Qt.alpha(root.foreground, 0.08) + RowLayout { + anchors.fill: parent + anchors.leftMargin: Style.space(10) + anchors.rightMargin: Style.space(6) + spacing: Style.space(6) + Image { + visible: replyBanner.thumb !== "" + Layout.preferredWidth: Style.space(28) + Layout.preferredHeight: Style.space(28) + source: replyBanner.thumb + fillMode: Image.PreserveAspectCrop + asynchronous: true + sourceSize.width: Style.space(56); sourceSize.height: Style.space(56) + } + Text { + id: replyBannerText + Layout.fillWidth: true + text: replyBanner.target + ? "Replying to " + (replyBanner.target.mine ? "yourself" : (replyBanner.target.name || "message")) + ": " + replyBanner.target.text + : "" + textFormat: Text.PlainText + elide: Text.ElideRight + maximumLineCount: 1 + color: root.canvasDim + font.family: root.fontFamily + font.pixelSize: root.fontCaption + } + Text { + text: "✕" + textFormat: Text.PlainText + color: root.canvasDim + font.family: root.fontFamily + font.pixelSize: root.fontCaption + leftPadding: Style.space(6); rightPadding: Style.space(6) + Accessible.name: "Cancel reply" + HoverHandler { cursorShape: Qt.PointingHandCursor } + TapHandler { onTapped: { root.replyTarget = null; composeField.forceActiveFocus() } } + } + } } - // queued attachments — ✕ removes one. ONE CHIP PER ROW, never a // RowLayout of N: summed implicit widths stretch the whole column // past the panel and take every right-aligned element off-screen @@ -4009,6 +4463,22 @@ FocusScope { Layout.topMargin: root.splitView ? 0 : Math.max(0, Style.spacing.popupPadding - Style.space(8)) spacing: Style.space(6) + ComposerButton { + id: attachmentButton + Layout.alignment: Qt.AlignBottom + Layout.bottomMargin: Style.space(1) + implicitWidth: Style.space(34) + iconName: "plus" + motionDuration: Style.duration(120) + tooltipText: "Attach files" + foreground: root.foreground + fill: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.10) + font.family: root.fontFamily + font.pixelSize: root.fontBody + 8 + enabled: root.online && root.isSendable(root.active) && !attachmentPicker.running + onClicked: root.chooseAttachments() + } + // Width must be assigned by the layout *before* wrap can happen. // A bare TextArea's implicitWidth is the unwrapped line, so RowLayout // otherwise grows with the text and the caret scrolls sideways. @@ -4029,11 +4499,14 @@ FocusScope { // The border belongs to the SLOT, not the field: inside composeFlick // the TextArea is as tall as its text, so a background there would // scroll away and its rounded bottom edge would be clipped off. - BorderSurface { + GlassSurface { anchors.fill: parent - color: Style.controlFill(composeField.activeFocus, composeField.hovered, root.foreground, root.mineFill) - borderSpec: composeField._composeBorder - radius: Style.cornerRadius + color: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.06) + foreground: root.foreground + accent: Qt.alpha(root.foreground, 0.35) + focused: composeField.activeFocus + radius: Math.min(height / 2, Style.space(22)) + motionDuration: Style.duration(120) } // A long draft reads back with the wheel (#62). The caret keeps what @@ -4106,7 +4579,7 @@ FocusScope { ? "caption (optional) — Enter sends the file" : root.isSendable(root.active) ? "iMessage" : "Read-only — group id unknown" color: root.foreground - placeholderTextColor: root.dim + placeholderTextColor: root.canvasDim selectionColor: Style.selectionFillFor(root.foreground, root.mineFill) selectedTextColor: root.foreground font.family: root.fontFamily @@ -4114,13 +4587,13 @@ FocusScope { readonly property var _composeBorder: Border.controlSpec( activeFocus ? "focus" : (hovered ? "hover-cursor" : "normal"), root.foreground, root.mineFill) - leftPadding: Style.spacing.controlPaddingX + Border.left(_composeBorder) - rightPadding: Style.spacing.controlPaddingX + Border.right(_composeBorder) - topPadding: Style.spacing.inputPaddingY + Border.top(_composeBorder) - bottomPadding: Style.spacing.inputPaddingY + Border.bottom(_composeBorder) + leftPadding: Style.space(14) + rightPadding: Style.space(14) + topPadding: Style.space(9) + bottomPadding: Style.space(9) // Esc drops a bubble selection first (back to the bottom), then // leaves the thread — the two-step Esc a text selection gets. - Keys.onEscapePressed: if (root.shareUrl !== "") root.closeShare(); else if (root.bubbleCursor >= 0) root.leaveBubbles(); else root.back() + Keys.onEscapePressed: if (root.shareUrl !== "") root.closeShare(); else if (root.bubbleCursor >= 0) root.leaveBubbles(); else if (root.replyTarget) root.replyTarget = null; else root.back() // Left from the START of the text (or an empty field) hands focus // back to the sidebar (split view); anywhere else it moves the // caret as usual — the arrows' edge rule. Not while the share @@ -4165,7 +4638,7 @@ FocusScope { if (b) { if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) { event.accepted = true; root.openBubble(b); return } if (event.matches(StandardKey.Copy)) { event.accepted = true; root.copyBubble(b); return } - if (event.key === Qt.Key_R && (event.modifiers & Qt.ControlModifier)) { event.accepted = true; root.quoteBubble(b); return } + if (event.key === Qt.Key_R && (event.modifiers & Qt.ControlModifier)) { event.accepted = true; root.replyToBubble(b); return } if (event.key === Qt.Key_E && (event.modifiers & Qt.ControlModifier)) { event.accepted = true; root.openMessageMenuAt(b, root.bubbleCursorItem); return } } if ((event.key === Qt.Key_Return || event.key === Qt.Key_Enter) @@ -4178,39 +4651,128 @@ FocusScope { } } - // send button — the blue arrow circle (lit when text OR a file is queued) - Rectangle { + ComposerButton { + id: emojiButton Layout.alignment: Qt.AlignBottom - readonly property bool armed: composeField.text.trim() !== "" || root.attachCount > 0 - width: Style.space(28); height: width; radius: width / 2 - color: armed ? root.mineFill : Qt.rgba(root.foreground.r, root.foreground.g, root.foreground.b, 0.15) - Text { - anchors.centerIn: parent - text: "↑" - textFormat: Text.PlainText - color: parent.armed ? "#ffffff" : root.dim - font.family: root.fontFamily - font.pixelSize: root.fontBody - font.bold: true + Layout.bottomMargin: Style.space(1) + implicitWidth: Style.space(34) + iconName: "emoji" + motionDuration: Style.duration(120) + tooltipText: "Emoji" + foreground: root.foreground + fill: root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.10) + font.family: root.fontFamily + font.pixelSize: root.fontBody + 4 + enabled: root.online && root.isSendable(root.active) + onClicked: { + root.openEmojiPicker() } - TapHandler { onTapped: root.send() } } - } - // No empty status row below the composer. The resize grip overlays - // the panel corner independently of this layout. - Text { - visible: root.note !== "" - Layout.fillWidth: true - text: root.note - textFormat: Text.PlainText - readonly property bool calm: root.note === "copied" || root.note === "sending…" - || root.note === "sent to LocalSend" || root.note.indexOf("attached") === 0 - color: calm ? root.dim : root.urgent - font.family: root.fontFamily - font.pixelSize: root.fontCaption - wrapMode: Text.WordWrap + ComposerButton { + id: sendButton + Layout.alignment: Qt.AlignBottom + Layout.bottomMargin: Style.space(1) + readonly property bool armed: composeField.text.trim() !== "" || root.attachCount > 0 + implicitWidth: Style.space(34) + iconName: "send" + tooltipText: "Send message" + foreground: armed ? "#ffffff" : root.foreground + fill: armed ? root.mineFill : root.backgroundUrl !== "" ? Qt.alpha(appearance.background, 0.76) : Qt.alpha(root.foreground, 0.10) + accent: root.accent + motionDuration: Style.duration(120) + onClicked: root.send() + } } + + } + } + } + + // Notices float over the top right, below the header's buttons, and never + // move the transcript. Wording and lifetimes live in notices.ts. + property var dismissedNotices: ({}) + readonly property var notices: Notices.activeNotices(root.note, [ + { kind: "notifications", text: root.toastAllowlistError === "" ? "" : "Blip notifications: " + root.toastAllowlistError }, + // Reachable but broken: says exactly what to fix (collector.explainBridgeError). + { kind: "bridge", text: root.online && root.hostWidget && !root.hostWidget.healthy ? String(root.hostWidget.lastError || "") : "" } + ], root.dismissedNotices) + function dismissNotice(notice) { + if (notice.kind === "note") { root.note = ""; return } + var next = Object.assign({}, root.dismissedNotices) + next[notice.kind] = notice.text + root.dismissedNotices = next + } + Column { + objectName: "blipNotices" + z: 1000 + anchors.top: parent.top + anchors.right: parent.right + anchors.topMargin: Style.space(64) + anchors.rightMargin: Style.space(14) + spacing: Style.space(6) + Repeater { + model: root.notices + delegate: NoticeOverlay { + required property var modelData + anchors.right: parent ? parent.right : undefined + text: modelData.text + error: modelData.error + timeoutMs: modelData.timeoutMs + maximumWidth: Math.min(Style.space(340), root.width * 0.7) + foreground: "white" + accent: root.urgent + fontFamily: root.fontFamily + fontPixelSize: root.fontBodySmall + onDismissed: root.dismissNotice(modelData) + } + } + } + + function openEmojiPicker() { + if (emojiPopup.visible) { emojiPopup.close(); return } + emojiPopup.open() + } + function insertComposerEmoji(emoji) { + var start = composeField.selectionStart + var end = composeField.selectionEnd + var at = start !== end ? start : composeField.cursorPosition + if (start !== end) composeField.remove(start, end) + composeField.insert(at, emoji) + composeField.cursorPosition = at + emoji.length + emojiPopup.close() + composeField.forceActiveFocus() + } + Popup { + id: emojiPopup + parent: root + width: Math.min(Style.space(340), root.width - Style.space(16)) + height: Math.min(emojiPicker.implicitHeight + padding * 2, root.height - Style.space(16)) + x: Math.max(Style.space(8), root.width - width - Style.space(18)) + y: Math.max(Style.space(8), root.height - height - composeSlot.height - Style.space(28)) + padding: Style.space(8) + focus: true + onClosed: if (root.inThread) composeField.forceActiveFocus() + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside + background: Rectangle { + color: appearance.background + border.color: Qt.alpha(root.foreground, 0.18) + border.width: 1 + radius: Style.space(16) + } + contentItem: ReactionPicker { + id: emojiPicker + expanded: true + showClassics: false + font.family: root.fontFamily + font.pixelSize: root.fontBodySmall + palette.text: root.foreground + palette.windowText: root.foreground + palette.base: appearance.background + palette.window: appearance.background + palette.highlight: root.accent + onEmojiChosen: function(emoji) { + root.insertComposerEmoji(emoji) } } } @@ -4262,13 +4824,14 @@ FocusScope { if (root.tapbacksBusy || !root.tapbacksOn || !hostWidget || !TapbackActions.canTapback(message, root.activeIsGroup)) return var chat = String(root.active.chat) var current = TapbackActions.myTapback(message) - var argv = SourceId.bridgeArgv(chat, "imsg-react", hostWidget.binDir) - .concat(TapbackActions.tapbackArgs(String(message.guid), kind, current)) + var request = TapbackActions.tapbackRequest(String(message.guid), kind, current) + if (!request) { root.note = "That reaction is not supported"; return } + var argv = SourceId.bridgeArgv(chat, "imsg-react", hostWidget.binDir).concat(request.args) // the dimmed pill says it is on its way; an earlier failure is old news if (root.note.indexOf("tapback: ") === 0) root.note = "" hostWidget.takeTapbackFailure(chat) root.pendingTapback = TapbackActions.pendingTapback(chat, String(message.guid), kind, current) - if (!hostWidget.runTapback(chat, argv)) root.pendingTapback = null + if (!hostWidget.runTapback(chat, argv, request.stdin)) root.pendingTapback = null } MessageMenu { id: messageMenu @@ -4282,6 +4845,8 @@ FocusScope { palette.buttonText: root.foreground palette.highlight: root.accent palette.highlightedText: "#ffffff" + canReply: root.canReplyTo(root.messageContext) + onReplyRequested: if (root.messageContext) root.startReply(root.messageContext) canQuote: root.messageContext !== null && MessageActions.quoteText(root.messageContext) !== "" && root.online && root.isSendable(root.active) canCopy: root.messageContext !== null && String(root.messageContext.text || "") !== "" @@ -4319,16 +4884,51 @@ FocusScope { root.contactContext = t if (root.hostWidget && root.isDmChat(t)) root.hostWidget.reloadToastAllowlist() if (item) { - var at = item.mapToItem(root, Math.max(0, item.width - contactMenu.width), item.height) - contactMenu.popup(root, at.x, at.y) + var at = item.mapToItem(root, item.width - contactMenu.width, item.height + Style.space(6)) + contactMenu.open() + // A hidden Menu measures its rows on opening. Position after that + // measurement so the first open stays below its button when it fits. + Qt.callLater(function() { + if (!contactMenu.visible) return + contactMenu.x = Math.max(Style.space(8), Math.min(at.x, root.width - contactMenu.width - Style.space(8))) + contactMenu.y = Math.max(Style.space(8), Math.min(at.y, root.height - contactMenu.height - Style.space(8))) + }) } else contactMenu.popup() } function menuIcon(name) { return Qt.resolvedUrl("icons/" + name + ".svg") } + component ConversationMenuItem: MenuItem { + implicitHeight: Math.max(Style.space(36), font.pixelSize + Style.space(18)) + leftPadding: Style.space(12) + rightPadding: Style.space(12) + spacing: Style.space(10) + icon.width: Style.space(18) + icon.height: Style.space(18) + background: Rectangle { + radius: Style.space(7) + color: parent.highlighted ? Qt.alpha(root.accent, 0.90) : "transparent" + } + } + component ConversationMenuSeparator: MenuSeparator { + topPadding: Style.space(6) + bottomPadding: Style.space(6) + leftPadding: Style.space(6) + rightPadding: Style.space(6) + contentItem: Rectangle { implicitHeight: 1; color: Qt.alpha(root.foreground, 0.12) } + } Menu { id: contactMenu objectName: "blipContactMenu" - width: Math.max(260, implicitWidth) - padding: 6 + parent: root + width: Math.min(Style.space(310), root.width - Style.space(24)) + height: Math.min(implicitHeight, root.height - Style.space(24)) + padding: Style.space(10) + modal: true + dim: false + focus: true + closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside + // Qt 6.8+ may put Menu in a separate window, whose outside clicks are + // not delivered by a layer-shell host. Keep the overlay in this window. + Component.onCompleted: { try { contactMenu.popupType = Popup.Item } catch (error) {} } font.family: root.fontFamily font.pixelSize: root.fontBodySmall palette.window: Commons.Color.background @@ -4338,16 +4938,46 @@ FocusScope { palette.buttonText: root.foreground palette.highlight: root.accent palette.highlightedText: "#ffffff" - background: Rectangle { - color: contactMenu.palette.window - border.color: Qt.alpha(contactMenu.palette.windowText, 0.25) - radius: 7 + background: GlassSurface { + color: Qt.alpha(contactMenu.palette.window, 0.94) + foreground: root.foreground + radius: Style.space(14) + } + contentItem: ListView { + implicitHeight: contentHeight + model: contactMenu.contentModel + currentIndex: contactMenu.currentIndex + clip: true + interactive: contentHeight > height + boundsBehavior: Flickable.StopAtBounds + ScrollIndicator.vertical: ScrollIndicator {} + } + ConversationMenuItem { + text: root.backgroundBusy ? "Updating background…" : "Choose Conversation Background…" + enabled: !root.backgroundBusy + onTriggered: root.changeBackground("choose", root.contactContext ? String(root.contactContext.chat) : root.backgroundChat) + } + ConversationMenuItem { + text: "Reset Conversation Background" + enabled: !root.backgroundBusy + onTriggered: root.changeBackground("clear", root.contactContext ? String(root.contactContext.chat) : root.backgroundChat) } - MenuItem { + ConversationMenuItem { + text: "Choose Default Background…" + enabled: !root.backgroundBusy + onTriggered: root.changeBackground("choose", "") + } + ConversationMenuItem { + text: "Remove Default Background" + enabled: !root.backgroundBusy + onTriggered: root.changeBackground("clear", "") + } + ConversationMenuSeparator {} + ConversationMenuItem { text: "Review contact" onTriggered: if (root.contactContext) contactReview.review(root.contactContext) } - MenuItem { + ConversationMenuItem { text: root.contactContext && root.contactContext.pinned ? "Unpin" : "Pin" icon.source: root.menuIcon("pin") enabled: root.isDmChat(root.contactContext) @@ -4356,8 +4986,8 @@ FocusScope { if (t && root.hostWidget) root.hostWidget.conversationAct(t.pinned ? "unpin" : "pin", t.chat) } } - MenuSeparator {} - MenuItem { + ConversationMenuSeparator {} + ConversationMenuItem { visible: !(root.contactContext && Number(root.contactContext.unread || 0) > 0) height: visible ? implicitHeight : 0 text: "Mark as Unread" @@ -4365,7 +4995,7 @@ FocusScope { enabled: root.isDmChat(root.contactContext) onTriggered: if (root.contactContext) root.markUnread(root.contactContext) } - MenuItem { + ConversationMenuItem { visible: root.contactContext && Number(root.contactContext.unread || 0) > 0 height: visible ? implicitHeight : 0 text: "Mark as Read" @@ -4377,7 +5007,16 @@ FocusScope { root.markRead(String(t.chat), String(t.last_ts || ""), root.isDmChat(t) ? "read" : "") } } - MenuItem { + // Upstream's "mark all read" link, kept as a menu item: clears local + // marks and, unless push_read=off, marks the Mac's conversations read. + ConversationMenuItem { + objectName: "blipMarkAllRead" + text: "Mark All as Read" + icon.source: root.menuIcon("read") + enabled: root.canMarkAllRead + onTriggered: root.markAllRead() + } + ConversationMenuItem { text: root.contactContext && root.contactContext.muted ? "Show Alerts" : "Hide Alerts" icon.source: root.menuIcon("moon") enabled: root.isDmChat(root.contactContext) @@ -4386,11 +5025,11 @@ FocusScope { if (t && root.hostWidget) root.hostWidget.conversationAct(t.muted ? "unmute" : "mute", t.chat) } } - MenuSeparator { + ConversationMenuSeparator { visible: root.isDmChat(root.contactContext) height: visible ? implicitHeight : 0 } - MenuItem { + ConversationMenuItem { objectName: "blipToastNotifications" visible: root.isDmChat(root.contactContext) height: visible ? implicitHeight : 0 diff --git a/BlipWindow.qml b/BlipWindow.qml index 633ac5d3..2145f94b 100644 --- a/BlipWindow.qml +++ b/BlipWindow.qml @@ -21,9 +21,9 @@ import qs.Commons as Commons FloatingWindow { id: win property var hostWidget: null - // "Blip (3)" while unread exists — selectors match the "Blip" PREFIX. + // Stable user-facing title; launch and restore selectors also accept legacy Blip titles. property string restorationTitle: "" - title: restorationTitle || "Blip" + (hostWidget && hostWidget.unread > 0 ? " (" + hostWidget.unread + ")" : "") + title: restorationTitle || "Messages" // Same fill as Omarchy's other FloatingWindow (dev gallery). A 0.70 // alpha assumed Hyprland blur, which Omarchy 4.x ships off. color: hostWidget && hostWidget.appearance ? hostWidget.appearance.background : Commons.Color.background @@ -31,12 +31,13 @@ FloatingWindow { implicitHeight: 720 minimumSize: Qt.size(720, 480) visible: false - // Focused = Hyprland's active toplevel is this window (title prefix "Blip"). + // Focused = Hyprland's active toplevel belongs to this shell and exact title. // A visible-but-unfocused window keeps refreshing but does not mark read. // Exact title, not a prefix: a terminal or tab titled "Blip documentation" // used to count as this window being read (Astra A#6). The title is ours - // ("Blip" or "Blip (N)"), so equality identifies it. + // ("Messages"), and the PID guard excludes another app with the same title. readonly property bool focused: visible && Hyprland.activeToplevel !== null + && Number((Hyprland.activeToplevel.lastIpcObject || {}).pid) === Quickshell.processId && String(Hyprland.activeToplevel.title || "") === win.title // Proxies BarWidget relies on (same names as the popout host). @@ -138,7 +139,7 @@ FloatingWindow { if (name === "openwindow") { var open = win.eventParts(event, 4) var title = String(open[3] || "") - if (String(open[2] || "") === "org.quickshell" && /^Blip( \([0-9]+\))?$/.test(title)) + if (String(open[2] || "") === "org.quickshell" && /^(Messages|Blip( \([0-9]+\))?)$/.test(title)) win.applyWorkspaceDecision(String(open[1] || ""), "map", String(open[0] || "")) } else if (name === "movewindowv2") { var moved = win.eventParts(event, 3) @@ -252,9 +253,9 @@ FloatingWindow { BlipView { id: view anchors.fill: parent - // Inset from the window edge: Hyprland rounds the corners, and text - // flush to the border got clipped by the radius (Fred). - anchors.margins: Style.space(12) + // Pane surfaces meet the window edge; each pane owns its content + // inset so backgrounds stay full bleed without clipping labels. + anchors.margins: 0 hostWidget: win.hostWidget splitView: true surfaceOpen: win.visible diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9aa151..5be50979 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,48 @@ # Changelog +## 2.7.0 — Messages-style interface + +- Remove the app's redundant status/version banner and outer padding. Add a + centered circular contact photo/name, rounded composer controls, clearer sans + typography, and a more compact conversation layout. Polish favorites spacing, + avatar sizes, and glass-style buttons with consistent line icons. +- Name the window Messages, move New Message into its conversation header, + move Mark All as Read into the conversation menu, and align the composer controls. The roomier, + translucent conversation menu closes when clicked outside. Emoji and native + sticker reactions share round badges with a two-dot thought-bubble tail. +- Choose a local PNG/JPEG background for a conversation or as a default. Imports + are private, metadata-stripped copies; settings stay in `bridge.conf` and are + local to this client, not synchronized to other participants. +- Render attributed stickers without photo framing, fold attached stickers onto + their target, preserve transparent media, and decode supported animated sticker + containers. Unknown placement remains a separate sticker rather than hiding it. + See [sticker formats and limits](docs/STICKERS.md). +- Add a searchable emoji picker for the composer and right-click Tapbacks. + Native custom reactions require exact accessible Mac controls and a matching + database receipt. Existing target restrictions apply; unsupported native paths + report failure. See [reaction evidence and limits](docs/reactions.md). + Live macOS 27.2 self-tests verified custom add, replacement, removal, and a + complete variation-selector/ZWJ emoji through the exact native picker route. +- Add synthetic bridge, media-conversion, keyboard, and background-race checks. + Real native behavior is reported separately from synthetic validation. +- Show audio messages inline with measured waveforms, playback progress, + play/pause, duration, and seeking. Switching conversations stops playback; + starting a second message pauses the first. See [audio formats](docs/AUDIO.md). +- Replace the hover tooltip with a Messages-style sideways swipe on a trackpad + or Magic Mouse. Every message now has a time, not only the last of a run. The + keyboard cursor shows its own message's time. +- Add `scripts/deploy-local`. +- Send Tapbacks and custom emoji reactions to any eligible message on macOS 27, + not only the newest, in about 10 seconds instead of 30. Requires the updated + `imsg-react` on the Mac. +- Show status and errors as small floating notices at the top right, in plain + words, that dismiss themselves or on a click. +- Shared Find My cities (#152) show as a caption under the contact's name. +- Show "Delivered" under your newest message until it is read, without the + transcript jumping as the status changes. +- Send native replies to text and single pictures through the Mac + (`replies=on`); see [replies](docs/replies.md). + ## Unreleased - **A friend's shared city under their name (#152, thanks @mmdisbrow).** With `shared_city=on` in diff --git a/CLAUDE.md b/CLAUDE.md index b68bec99..fb5c731d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,7 +12,7 @@ treating a Mac as the gateway. Read this before touching anything. blip-dispatch forced-command gate for ~/.ssh/blip_ed25519: only the tools in its TOOLS set run. imsg: sqlite read of chat.db, `--rich` (tapbacks/read_at/reply_to/ attachments/error), `watch`, `attachment`, `chats`; Recently Deleted hidden. -(Linux side) bridge/linux/blip-shim installed as ~/bin/{imsg,imsg-send,imsg-read,imsg-react,contacts,contact-save} by scripts/blip-setup +(Linux side) bridge/linux/blip-shim installed as ~/bin/{imsg,imsg-send,imsg-read,imsg-react,imsg-reply,contacts,contact-save} by scripts/blip-setup (bin_dir= in bridge.conf moves them; bin-dir.ts parses it); reads ~/.config/blip/bridge.conf (host=, remote_bin='$HOME/.blip/bin' — single-quoted, expands on the MAC). `ssh -n` preflight; exit 69 offline. @@ -415,6 +415,10 @@ what it is handed. Keep it that way. Flickable grabs every drag, and drag IS text selection in a bubble; a slightly-moving click on a link became a flick. Wheel scrolling never needed it (next invariant). Ctrl+C in a bubble goes through `wl-copy`. +- **Message times are revealed by a sideways swipe, not a tooltip.** The + conversation's wheel handler routes each burst to one axis + (`time-reveal.ts`, `TimeRevealGesture.qml`). Rows slide with a transform, so + layout never reflows; the keyboard cursor pins its own row's time open. - **Wheel scrolling = `MouseArea.onWheel`, direct 1:1 by default, and INSTRUMENT before tuning.** A `WheelHandler` on the Flickable received ZERO events on this stack (proved by logging after four "fixes" that were @@ -583,14 +587,14 @@ what it is handed. Keep it that way. bun test # 620+ tests, ~1.5 s bun collector.ts --deep | jq .unread # live against the Mac bun thread.ts 40 | jq .bubbles # one conversation -cp -r *.qml *.ts *.mjs otp-desktop.py manifest.json icons ~/.config/omarchy/plugins/nixfred.blip/ +scripts/deploy-local # tests, backup, fast-forward the installed checkout to HEAD, restart, status # NEVER leave a backup copy INSIDE ~/.config/omarchy/plugins/ (nixfred.blip.bak-*): it carries the # same manifest id, PluginRegistry scans `plugins/*` in glob order and the LAST id wins, so the # backup silently replaces the live plugin. A .bak-113 dir ran on gus and vic from 23 to 25 Sep # while three deploys reported success; `status` still lacked a field the new file printed. # Back up to ~/.local/state/omarchy/plugin-backups/ instead, and after a deploy verify a field # the new code emits (e.g. `status` → scroll_gain=), not just "healthy=true". -omarchy-restart-shell # ALWAYS restart (hot-reload leaves IPC on a zombie) +# deploy-local ALWAYS restarts: a hot-reload leaves IPC on a zombie. # MANDATORY after every deploy — a QML syntax error kills BOTH surfaces silently (2.1.4 shipped one): qs log /run/user/1000/quickshell/by-id/$(basename $(readlink /run/user/1000/quickshell/by-pid/$(pgrep -x quickshell)))/log.qslog -t 400 | grep -iE 'nixfred.blip.*(error|warn|unavailable|token)' qs -p /usr/share/omarchy/shell ipc call nixfred.blip open # and LOOK at it (grim) @@ -611,6 +615,8 @@ to whatever has focus otherwise. ## Things that are not possible +Native replies are possible and shipped; read `docs/replies.md` before changing them. + - ~~Tapbacks, edits, typing indicators out — needs SIP-off code injection.~~ **Half wrong; do not quote this as settled** (2026-09-07). macOS 26 Messages has real MENU ITEMS for three of them — `Edit ▸ Tapback Message…`, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 30a1ea54..5f0376cd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -39,8 +39,7 @@ break and expensive to rediscover. bun test # unit tests, ~70 ms bun collector.ts --deep | jq .unread # live poll through your bridge bun thread.ts 40 | jq .bubbles # one conversation -cp -r *.qml *.ts *.mjs otp-desktop.py manifest.json icons ~/.config/omarchy/plugins/nixfred.blip/ -omarchy-restart-shell # QML changes need a restart, not a hot-reload (see CLAUDE.md) +scripts/deploy-local # install HEAD into the live plugin and restart the shell ``` UI changes: screenshot them (`grim`) and look. Every layout bug so far was diff --git a/ComposerButton.qml b/ComposerButton.qml new file mode 100644 index 00000000..c84301d2 --- /dev/null +++ b/ComposerButton.qml @@ -0,0 +1,49 @@ +import QtQuick +import QtQuick.Controls + +AbstractButton { + id: root + property string iconName: "" + property string iconText: "" + property string tooltipText: "" + property color foreground: "white" + property color fill: Qt.alpha(foreground, 0.10) + property color accent: "#0a84ff" + property int motionDuration: 120 + implicitWidth: 34 + implicitHeight: implicitWidth + opacity: enabled ? 1 : 0.45 + Accessible.name: tooltipText + ToolTip.visible: hovered + ToolTip.delay: 600 + ToolTip.text: tooltipText + background: GlassSurface { + color: root.fill + foreground: root.foreground + accent: root.accent + focused: root.activeFocus + hovered: root.hovered + pressed: root.down + motionDuration: root.motionDuration + } + contentItem: Item { + LineIcon { + anchors.centerIn: parent + width: Math.round(Math.min(22, root.width * 0.60)); height: width + visible: root.iconName !== "" + name: root.iconName + color: root.foreground + } + Text { + anchors.fill: parent + visible: root.iconName === "" + text: root.iconText + textFormat: Text.PlainText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: root.foreground + font.family: root.font.family + font.pixelSize: root.font.pixelSize + } + } +} diff --git a/ConversationAppearance.mjs b/ConversationAppearance.mjs new file mode 100644 index 00000000..8624f9fd --- /dev/null +++ b/ConversationAppearance.mjs @@ -0,0 +1,32 @@ +// conversation-appearance.ts +function conversationName(thread) { + if (!thread) + return "Select a conversation"; + const name = typeof thread.name === "string" ? thread.name.trim() : ""; + if (!name || name === thread.chat || name === thread.handle || /^[+\d\s().-]+$/.test(name) || /^[^\s@]+@[^\s@]+$/.test(name)) + return "Conversation"; + return name; +} +function conversationInitials(thread) { + const name = conversationName(thread); + if (name === "Conversation" || !thread) + return "?"; + return name.split(/\s+/).slice(0, 2).map((word) => word.slice(0, (word.codePointAt(0) || 0) > 65535 ? 2 : 1)).join("").toUpperCase(); +} +function pinnedName(thread, peers = [], group = false) { + const name = conversationName(thread); + if (group || name === "Conversation") + return name; + const words = name.split(/\s+/); + if (words.length === 1) + return name; + const first = words[0]; + const duplicate = peers.filter((peer) => typeof peer.name === "string" && peer.name.trim().split(/\s+/)[0].toLocaleLowerCase() === first.toLocaleLowerCase()).length > 1; + const last = words[words.length - 1]; + return duplicate ? first + " " + last.slice(0, (last.codePointAt(0) || 0) > 65535 ? 2 : 1).toUpperCase() + "." : first; +} +export { + conversationInitials, + conversationName, + pinnedName +}; diff --git a/ConversationAvatar.qml b/ConversationAvatar.qml new file mode 100644 index 00000000..06d2164b --- /dev/null +++ b/ConversationAvatar.qml @@ -0,0 +1,66 @@ +import "ConversationAppearance.mjs" as ConversationAppearance +import QtQuick +import QtQuick.Effects + +// Shared circular profile rendering. The identity is the conversation for +// groups, never whichever participant happened to speak last. +Rectangle { + id: root + property var thread: null + property var avatarFiles: ({}) + property color foreground: "white" + property string fontFamily: "sans-serif" + readonly property string chat: thread ? String(thread.chat || "") : "" + readonly property bool group: chat !== "" && !/^\+?[0-9]{3,15}$/.test(chat) && chat.indexOf("@") < 0 + readonly property string handle: group ? chat : (thread ? String(thread.handle || chat) : "") + signal requestAvatar(string handle) + onHandleChanged: if (handle !== "") requestAvatar(handle) + Component.onCompleted: if (handle !== "") requestAvatar(handle) + radius: width / 2 + color: Qt.alpha(foreground, 0.16) + Image { + id: photo + anchors.fill: parent + visible: false + source: root.avatarFiles[root.handle] || "" + asynchronous: true + fillMode: Image.PreserveAspectCrop + autoTransform: true + sourceSize: Qt.size(128, 128) + } + Item { + id: mask + anchors.fill: parent + visible: false + layer.enabled: true + Rectangle { anchors.fill: parent; radius: width / 2 } + } + MultiEffect { + anchors.fill: parent + source: photo + visible: photo.status === Image.Ready + maskEnabled: true + maskSource: mask + } + Loader { + anchors.fill: parent + active: root.group && photo.status !== Image.Ready && (root.thread.participants || []).length > 0 + sourceComponent: GroupAvatar { + participants: root.thread.participants || [] + avatarFiles: root.avatarFiles + foreground: root.foreground + fontFamily: root.fontFamily + onRequestAvatar: function(handle) { root.requestAvatar(handle) } + } + } + Text { + anchors.centerIn: parent + visible: photo.status !== Image.Ready && (!root.group || (root.thread.participants || []).length === 0) + text: ConversationAppearance.conversationInitials(root.thread) + textFormat: Text.PlainText + color: root.foreground + font.family: root.fontFamily + font.pixelSize: Math.max(12, root.width * 0.34) + font.weight: Font.DemiBold + } +} diff --git a/GlassSurface.qml b/GlassSurface.qml new file mode 100644 index 00000000..a1296937 --- /dev/null +++ b/GlassSurface.qml @@ -0,0 +1,49 @@ +import QtQuick + +// A small layered surface, with no backdrop capture or blur passes. +Item { + id: root + property color color: Qt.rgba(1, 1, 1, 0.10) + property color foreground: "white" + property color accent: "#0a84ff" + property real radius: height / 2 + property bool focused: false + property bool hovered: false + property bool pressed: false + property bool shadow: true + property int motionDuration: 120 + Rectangle { + anchors.fill: parent + anchors.topMargin: 1 + anchors.bottomMargin: -1 + radius: root.radius + color: "#24000000" + visible: root.shadow + } + Rectangle { + anchors.fill: parent + radius: root.radius + color: root.color + } + Rectangle { + anchors.fill: parent + radius: root.radius + gradient: Gradient { + GradientStop { position: 0; color: Qt.rgba(1, 1, 1, root.pressed ? 0.05 : root.hovered ? 0.20 : 0.12) } + GradientStop { position: 0.50; color: Qt.rgba(1, 1, 1, root.pressed ? 0.02 : 0.035) } + GradientStop { position: 1; color: Qt.rgba(0, 0, 0, root.pressed ? 0.10 : 0.035) } + } + border.width: 1 + border.color: Qt.alpha(root.foreground, root.hovered ? 0.27 : 0.18) + Behavior on border.color { ColorAnimation { duration: root.motionDuration } } + } + Rectangle { + anchors.fill: parent + radius: root.radius + color: "transparent" + border.width: 2 + border.color: root.accent + opacity: root.focused ? 0.90 : 0 + Behavior on opacity { NumberAnimation { duration: root.motionDuration } } + } +} diff --git a/LineIcon.qml b/LineIcon.qml new file mode 100644 index 00000000..860f57a8 --- /dev/null +++ b/LineIcon.qml @@ -0,0 +1,47 @@ +import QtQuick + +// Shared 24-unit icon geometry keeps stroke weight independent of font glyphs. +Canvas { + id: root + property string name: "" + property color color: "white" + implicitWidth: 20 + implicitHeight: 20 + onNameChanged: requestPaint() + onColorChanged: requestPaint() + onWidthChanged: requestPaint() + onHeightChanged: requestPaint() + onPaint: { + var c = getContext("2d") + c.reset() + c.scale(width / 24, height / 24) + c.strokeStyle = color + c.fillStyle = color + c.lineWidth = 1.8 + c.lineCap = "round" + c.lineJoin = "round" + function line(points) { + c.beginPath(); c.moveTo(points[0], points[1]) + for (var i = 2; i < points.length; i += 2) c.lineTo(points[i], points[i + 1]) + c.stroke() + } + if (name === "plus") { line([5,12,19,12]); line([12,5,12,19]) } + else if (name === "send") { line([12,20,12,4]); line([5,11,12,4,19,11]) } + else if (name === "back") { line([15,5,8,12,15,19]) } + else if (name === "check") { line([5,12,10,17,19,7]) } + else if (name === "search") { + c.beginPath(); c.arc(10,10,6.5,0,Math.PI*2); c.stroke(); line([15,15,21,21]) + } else if (name === "more") { + for (var j=0; j<3; j++) { c.beginPath(); c.arc(5+j*7,12,1.4,0,Math.PI*2); c.fill() } + } else if (name === "emoji") { + c.beginPath(); c.arc(12,12,9,0,Math.PI*2); c.stroke() + for (var eye=0; eye<2; eye++) { c.beginPath(); c.arc(8.5+eye*7,9.5,0.9,0,Math.PI*2); c.fill() } + c.beginPath(); c.arc(12,12,5,0.20*Math.PI,0.80*Math.PI); c.stroke() + } else if (name === "compose") { + line([19,13,19,19,5,19,5,5,11,5]) + line([10,14,11,10,18,3,21,6,14,13,10,14]); line([16,5,19,8]) + } else if (name === "window") { + line([10,5,4,5,4,20,19,20,19,14]); line([13,3,21,3,21,11]); line([11,13,21,3]) + } + } +} diff --git a/MessageActions.mjs b/MessageActions.mjs index 8799f042..e6371f84 100644 --- a/MessageActions.mjs +++ b/MessageActions.mjs @@ -14,6 +14,28 @@ function quotedDraft(message, draft) { ` + draft; } +function canReply(message, group) { + if (!message || group || !String(message.guid || "")) + return false; + if (message.retracted || message.audio || message.pending || message.failed || message.scheduled || message.link) + return false; + const text = String(message.text || "").trim(); + const files = message.attachments ?? []; + if (files.length === 0) + return text !== "" && !/:\/\/|\bwww\./i.test(text); + const only = files[0]; + return files.length === 1 && text === "" && !only.sticker && String(only.mime || "").toLowerCase().startsWith("image/"); +} +function replyTarget(message) { + const attachment = (message.attachments ?? [])[0] ?? null; + return { + guid: String(message.guid || ""), + text: quoteText(message) || (attachment ? "Photo" : ""), + mine: message.from_me === true, + name: String(message.name || ""), + attachment + }; +} function bubbleIndexByGuid(bubbles, guid) { if (!guid) return -1; @@ -33,7 +55,9 @@ function attachmentActions(att) { export { attachmentActions, bubbleIndexByGuid, + canReply, quoteText, quotedDraft, + replyTarget, saveableMime }; diff --git a/MessageMenu.qml b/MessageMenu.qml index 4afd748b..01c69739 100644 --- a/MessageMenu.qml +++ b/MessageMenu.qml @@ -7,24 +7,26 @@ import QtQuick.Controls // before. An attachment (picture or file chip) gets Open / Copy image / Save… // in place of the text rows; which rows show comes from // MessageActions.attachmentActions. With -// tapbacks=on, a row of the six classic tapbacks leads it: 1–6 pick one, or -// Left/Right move along the row and Enter/Space pick the marked one. +// tapbacks=on, classic tapbacks and the expandable emoji picker lead it: +// 1–6 pick a classic, or Left/Right and Enter/Space choose from the strip. Menu { id: menu - implicitWidth: 250 + implicitWidth: 314 padding: 6 background: Rectangle { color: menu.palette.window border.color: Qt.alpha(menu.palette.windowText, 0.25) - radius: 7 + radius: 14 } property string linkUrl: "" /** The right-clicked attachment's rows ({open, copy, save, saveLabel}); null = none. */ property var attachmentRows: null readonly property bool attachmentShown: !!menu.attachmentRows && menu.attachmentRows.open === true readonly property bool textRowsShown: menu.linkUrl === "" && !menu.attachmentShown + property bool canReply: false property bool canQuote: false property bool canCopy: false + signal replyRequested() signal quoteRequested() signal copyRequested() signal openRequested(string url) @@ -51,81 +53,24 @@ Menu { // is the menu's first item: Down leaves it, Up from "Quote and reply" comes // back. Menu gives focus only to a MenuItem it moves to, so the row takes it. onOpened: { - tapbackStrip.cursor = TapbackActions.initialTapbackCursor(menu.myTapback, menu.keyHints) + tapbackStrip.reset(menu.keyHints) if (menu.tapbacksShown) menu.currentIndex = 0 } onCurrentIndexChanged: if (menu.currentIndex === 0 && menu.tapbacksShown) tapbackStrip.forceActiveFocus() - Item { + ReactionPicker { id: tapbackStrip visible: menu.tapbacksShown focus: menu.tapbacksShown - // what Menu's Up/Down look for; without it Up stops at the first MenuItem activeFocusOnTab: menu.tapbacksShown - /** The marked tapback, for Left/Right and Enter; -1 for none. */ - property int cursor: -1 - // Up/Down, Esc, and Enter with nothing marked are left unaccepted: they stay the menu's - Keys.onPressed: function(event) { - if (event.modifiers & (Qt.ControlModifier | Qt.AltModifier | Qt.MetaModifier)) return - if (event.key === Qt.Key_Left || event.key === Qt.Key_Right) { - event.accepted = true - tapbackStrip.cursor = TapbackActions.moveTapbackCursor(tapbackStrip.cursor, event.key === Qt.Key_Right ? 1 : -1) - return - } - var marked = tapbackStrip.cursor >= 0 && (event.key === Qt.Key_Return || event.key === Qt.Key_Enter || event.key === Qt.Key_Space) - var kind = marked ? TapbackActions.TAPBACKS[tapbackStrip.cursor].kind : TapbackActions.tapbackForKey(event.text) - if (kind === "") return - event.accepted = true - menu.pickTapback(kind) - } width: menu.availableWidth - height: visible ? tapbackRow.implicitHeight + 4 : 0 - Row { - id: tapbackRow - anchors.centerIn: parent - spacing: 2 - Repeater { - model: TapbackActions.TAPBACKS - delegate: Rectangle { - id: tapbackCell - required property var modelData - required property int index - readonly property bool current: modelData.kind === menu.myTapback - readonly property bool marked: tapbackStrip.activeFocus && tapbackStrip.cursor === index - width: 36 - height: 32 - radius: 6 - color: current ? Qt.alpha(menu.palette.highlight, 0.45) - : hover.hovered && !menu.tapbacksBusy ? Qt.alpha(menu.palette.windowText, 0.12) : "transparent" - border.width: marked ? 2 : 0 - border.color: menu.palette.highlight - opacity: menu.tapbacksBusy ? 0.35 : 1 - Accessible.role: Accessible.Button - Accessible.name: (current ? "Remove " : "") + modelData.kind - Text { - anchors.centerIn: parent - text: tapbackCell.modelData.emoji - textFormat: Text.PlainText - font.pixelSize: menu.font.pixelSize + 5 - } - Text { - visible: menu.keyHints - anchors.right: parent.right - anchors.bottom: parent.bottom - anchors.rightMargin: 2 - text: String(index + 1) - textFormat: Text.PlainText - font.pixelSize: Math.max(8, menu.font.pixelSize - 4) - color: Qt.alpha(menu.palette.windowText, 0.6) - } - HoverHandler { id: hover } - TapHandler { - enabled: !menu.tapbacksBusy - onTapped: menu.pickTapback(tapbackCell.modelData.kind) - } - } - } - } + height: visible ? implicitHeight + 4 : 0 + font: menu.font + palette: menu.palette + busy: menu.tapbacksBusy + currentKind: menu.myTapback + keyHints: menu.keyHints + onChosen: function(kind) { menu.pickTapback(kind) } } MenuSeparator { visible: menu.tapbacksShown @@ -153,6 +98,13 @@ Menu { height: visible ? implicitHeight : 0 onTriggered: menu.saveAttachmentRequested() } + MenuItem { + text: "Reply" + visible: menu.canReply && menu.linkUrl === "" + height: visible ? implicitHeight : 0 + enabled: visible + onTriggered: menu.replyRequested() + } MenuItem { text: "Quote and reply" visible: menu.textRowsShown diff --git a/NoticeOverlay.qml b/NoticeOverlay.qml new file mode 100644 index 00000000..14437be2 --- /dev/null +++ b/NoticeOverlay.qml @@ -0,0 +1,62 @@ +import QtQuick + +// One floating notice: small, quiet, gone by itself, or on a click. +Item { + id: notice + property string text: "" + property bool error: false + property int timeoutMs: 0 + property real maximumWidth: 320 + property color foreground: "white" + property color accent: "#ff5f57" + property string fontFamily: "" + property int fontPixelSize: 13 + signal dismissed() + + implicitWidth: Math.min(label.implicitWidth + 16 + (error ? 14 : 0) + 8, maximumWidth) + implicitHeight: Math.max(30, label.implicitHeight + 14) + width: implicitWidth + height: implicitHeight + opacity: 0 + Component.onCompleted: opacity = 1 + Behavior on opacity { NumberAnimation { duration: 140; easing.type: Easing.OutCubic } } + + GlassSurface { + anchors.fill: parent + radius: 15 + color: Qt.rgba(0.11, 0.11, 0.13, 0.97) + foreground: notice.foreground + hovered: hover.hovered + } + Rectangle { + visible: notice.error + x: 12; width: 6; height: 6; radius: 3 + y: Math.round((parent.height - height) / 2) + color: notice.accent + } + Text { + id: label + x: notice.error ? 26 : 12 + width: notice.maximumWidth - x - 12 + y: Math.round((parent.height - height) / 2) + text: notice.text + textFormat: Text.PlainText + wrapMode: Text.Wrap + color: notice.foreground + font.family: notice.fontFamily + font.pixelSize: notice.fontPixelSize + onTextChanged: if (notice.timeoutMs > 0) lifetime.restart() + // a one-line notice hugs its text rather than the width allowed + Component.onCompleted: width = Qt.binding(function() { + return Math.min(implicitWidth, notice.maximumWidth - x - 12) + }) + } + HoverHandler { id: hover; cursorShape: Qt.PointingHandCursor } + TapHandler { onTapped: notice.dismissed() } + Timer { + id: lifetime + interval: notice.timeoutMs + running: notice.timeoutMs > 0 && !hover.hovered + onTriggered: notice.dismissed() + } +} diff --git a/Notices.mjs b/Notices.mjs new file mode 100644 index 00000000..0afc4a79 --- /dev/null +++ b/Notices.mjs @@ -0,0 +1,56 @@ +// notices.ts +var MAX_LENGTH = 120; +var ERROR_MS = 6000; +var CALM_MS = 2500; +var REACTION_REASONS = [ + [/unreachable/i, "Couldn't reach your Mac."], + [/did not expose that exact emoji/i, "That emoji isn't available as a reaction on your Mac."], + [/did not open its tapback picker|picker opened on another message/i, "Messages didn't open the reaction picker. Try again."], + [/does not offer|not-rendered|not-offered|ambiguous|unsettled|moved/i, "Couldn't find that message in Messages. Try again."], + [/groups are not supported/i, "Reactions aren't available in group chats yet."], + [/attachments and link|has a link|with a link/i, "Reactions aren't available on attachments or links yet."], + [/no tapback row|did not confirm|shows tapback type|stray/i, "Your Mac didn't confirm the reaction. Check it in Messages."], + [/did not start|re-run blip-setup/i, "Reactions aren't set up. Run blip-setup."], + [/timed? ?out|deadline/i, "Reaction timed out. Try again."] +]; +function bounded(text) { + const clean = String(text || "").replace(/\s+/g, " ").trim(); + return clean.length <= MAX_LENGTH ? clean : clean.slice(0, MAX_LENGTH - 1).trimEnd() + "…"; +} +function noticeText(note) { + const text = String(note || ""); + if (!text.startsWith("tapback: ")) + return bounded(text); + const why = text.slice(9); + const known = REACTION_REASONS.find(([pattern]) => pattern.test(why)); + return known ? known[1] : "Couldn't send that reaction."; +} +function isCalm(note) { + const text = String(note || ""); + return text === "copied" || text === "sent to LocalSend" || text.startsWith("sending…") || text.startsWith("attached") || text.startsWith("saved"); +} +function activeNotices(note, standing, dismissed) { + const out = []; + if (String(note || "") !== "") { + const calm = isCalm(note); + out.push({ + kind: "note", + text: noticeText(note), + error: !calm, + timeoutMs: String(note).startsWith("sending…") ? 0 : calm ? CALM_MS : ERROR_MS + }); + } + for (const item of standing) { + const text = bounded(item.text); + if (text !== "" && (dismissed || {})[item.kind] !== text) + out.push({ kind: item.kind, text, error: true, timeoutMs: 0 }); + } + return out; +} +export { + CALM_MS, + ERROR_MS, + activeNotices, + isCalm, + noticeText +}; diff --git a/README.md b/README.md index 5b475d42..7ee33305 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +> **Messages-style interface:** see [appearance and backgrounds](docs/APPEARANCE.md), [stickers](docs/STICKERS.md), [audio messages](docs/AUDIO.md), and [reactions](docs/reactions.md) for the new features and their limits. +

Blip: iMessage. On Linux. For real.

@@ -11,11 +13,11 @@

- version + version Omarchy QuickShell bun - tests + tests license

@@ -28,7 +30,7 @@ > thin client. **No Mac, no Blip.** When the Mac sleeps, Blip dims and waits.

- The Blip app window: conversation list on the left, thread with a link card, reply, attachment and read receipt on the right + Blip with glass controls, a contact grid, a custom background, transparent stickers, and audio waveforms

@@ -60,8 +62,8 @@ people who showed up with pull requests. What is in it now: - **The font Messages uses.** Omarchy renders everything in monospace, and that one thing is most of what makes a screenshot read as *not* Messages. Blip picks the first of **SF Pro** (Apple's own, what Messages ships with), - **Inter** (open licence, `pacman -S inter-font`), then your theme font — so - nothing changes for anyone who has installed neither. `blip-setup` offers to + **Inter** (open licence, `pacman -S inter-font`), then an installed Linux sans + family before the theme fallback. `blip-setup` offers to install Inter; `ui_font=theme` in `bridge.conf` opts out. `ui_font_size=14` (9–24) is bubble text in pixels so Blip can be larger than the rest of the shell. @@ -136,8 +138,8 @@ Linux side. If the Mac is asleep, the widget dims and says so. - grouped into runs with one timestamp per run, day dividers, squared "tail" corner - sender names above each run in a group - **tapbacks** — ❤️👍😂 pills on the bubble corner, custom emoji included -- **"Read 4:42 PM"** under the last message of yours they've read. Reading in Blip does not send a receipt; *mark all read* asks the Mac to mark everything read, and then your Messages read-receipt setting applies (`push_read=off` in `bridge.conf` keeps the Mac out of it) -- **inline replies** quoted above the bubble · **Edited** tags · "unsent a message" tombstones +- **"Delivered", then "Read 4:42 PM"** under your newest message. Reading in Blip does not send a receipt; *mark all read* asks the Mac to mark everything read, and then your Messages read-receipt setting applies (`push_read=off` in `bridge.conf` keeps the Mac out of it) +- **native replies** to text and single pictures (`replies=on`), with the message or picture shown above the bubble · **Edited** tags · "unsent a message" tombstones - **link cards** — URL messages show the preview image, title, and host, like Messages. Apple only decorates some links; for the rest Blip fetches the page's own Open Graph card itself, so a bare URL still gets its picture. Click opens the link, **right-click opens the share sheet** (open · copy · QR for your phone · send to a device via LocalSend, Omarchy's share). `link_previews=off` in `bridge.conf` disables the fetching - **iMessage-app cards read as text** — Ask to Buy, Fitness sharing, Find My: the sentence Messages shows for them, instead of a replacement character - **photos render inline** — images ≤5MB auto-fetch over SSH (HEIC converted on the Mac); click opens full-size. PDFs/videos are chips — click fetches and opens them. **Right-click a photo** for Open · Copy image (the picture itself, on the clipboard) · Save image… (a file picker starting in Downloads with the original name; the full original is saved, and an existing file is never replaced — a taken name becomes `name (2).jpg`). Media and PDF chips get Open · Save… @@ -175,7 +177,7 @@ Linux side. If the Mac is asleep, the widget dims and says so. "Blip documentation" must never be focused or closed by this shortcut: ```lua o.bind("SUPER + M", "Blip messages", [[sh -c ' - blip() { hyprctl clients -j | jq -r ".[] | select(.class == \"org.quickshell\" and (.title | test(\"^Blip( [(][0-9]+[)])?$\"))) | .address" | head -1; } + blip() { hyprctl clients -j | jq -r ".[] | select(.class == \"org.quickshell\" and (.title | test(\"^(Messages|Blip( [(][0-9]+[)])?)$\"))) | .address" | head -1; } a=$(blip) if [ -z "$a" ]; then omarchy-shell nixfred.blip app >/dev/null @@ -260,12 +262,14 @@ Blip renders in the first of these it finds, so it is optional either way: |---|---|---| | **SF Pro** | what Messages itself uses | [developer.apple.com/fonts](https://developer.apple.com/fonts/) · Arch: [`otf-san-francisco`](https://aur.archlinux.org/packages/otf-san-francisco) (AUR, downloads it from Apple) | | **Inter** | open licence, drawn for interfaces, very close | [rsms/inter](https://github.com/rsms/inter) · Arch: [`inter-font`](https://archlinux.org/packages/extra/any/inter-font/) — `sudo pacman -S inter-font` | -| your theme font | whatever Omarchy is set to | nothing to install | +| Linux sans | Adwaita Sans, Noto Sans, or Liberation Sans if installed | nothing bundled | +| your theme font | final fallback, or explicit `ui_font=theme` | nothing to install | `blip-setup` offers to install Inter if you have neither. `ui_font=theme` in `bridge.conf` always uses the Omarchy family. `ui_font_size=14` (9–24) sets bubble text in pixels so Blip can be larger than the rest of the shell; -unset, it follows Omarchy's type size. +unset, the Messages-style sans default uses at least 13 pixels; the explicit +theme-font preference retains Omarchy's type scale. **Scroll speed.** Blip applies the wheel delta the compositor delivers, 1:1, so Hyprland's `input:scroll_factor` decides the speed as it does everywhere @@ -346,7 +350,9 @@ session it clones the plugin and then stops with `OMARCHY_PATH is not set`. **2. Run the wizard** (idempotent — re-run any time; it prints the `pacman` line for exactly the Linux packages you are missing and stops, -and names `ffmpeg` and `mpv` as optional: voice messages need them) +and checks the Qt Multimedia runtime used by inline audio. `ffmpeg` supplies +CAF conversion, audio validation, and waveform analysis; `mpv` is only needed +for optional external playback.) ```sh ~/.config/omarchy/plugins/nixfred.blip/scripts/blip-setup you@your-mac @@ -562,11 +568,10 @@ answers. Needs a the Mac and the `imsg-react` shim on Linux. On a macOS 27 gateway the bubbles no longer carry the tapbacks, so -`imsg-react` opens Messages' own Edit ▸ Tapback Last Message… picker instead, -checks that it opened on your message, and presses the tapback there. That -picker only ever opens on a conversation's newest message, so on 27 only the -newest message can take a tapback; an older one is refused with that reason. -A run takes 15–20 seconds. Each run's outcome (code and exit status, never +`imsg-react` performs the bubble's own "Tapback Details…" action to open +Messages' picker on that message, checks that it opened there, and presses the +tapback. Any delivered plain-text message in a direct conversation can take +one. A run takes about 10 seconds. Each run's outcome (code and exit status, never text) is appended to `~/.blip/react.log` on the Mac. **Two or more monitors:** one bar widget per screen is normal; only the one @@ -782,7 +787,7 @@ cards are not edited or merged. See [contact saving setup](docs/SAVE-CONTACT.md) | thread | `Ctrl+V` | paste — an image on the clipboard becomes a queued file, text pastes normally | | thread | `/attach ` + `Enter` | queue any file on this machine; drag-and-drop works too | | thread | `↑` / `↓` | move through draft lines; on the first / last visual line, jump to the beginning / end of the draft | -| thread | `Enter` · `Ctrl+C` · `Ctrl+R` (bubble selected) | open its attachment or link · copy its text, or the picture itself when the bubble is only a picture · quote it into the compose field (`> …`) | +| thread | `Enter` · `Ctrl+C` · `Ctrl+R` (bubble selected; a native reply with `replies=on`, otherwise a quote) | open its attachment or link · copy its text, or the picture itself when the bubble is only a picture · quote it into the compose field (`> …`) | | thread | `PgUp` / `PgDn` (Fn+`↑`/`↓` on a Mac keyboard) | select the topmost / bottommost visible bubble, then a screen further each press — also with text in the compose field, since they move no caret | | thread | `Ctrl+E` (bubble selected) · `1`–`6` or `←`/`→` + `Enter` | the message menu under the bubble · with `tapbacks=on`, the tapback with that number, or the one the arrows marked (the one you have takes it back) | | thread | `Shift+PgUp` / `Shift+PgDn` | one bubble at a time from anywhere in a draft, without moving the caret first | diff --git a/ROADMAP.md b/ROADMAP.md index 4bc60d19..0ad12351 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -11,10 +11,12 @@ changes to the Mac beyond claude-on-mac updates. roadmap (imsg resolves Contacts natively). Contact PHOTOS still open — needs image transfer + the same cache decision as attachments. - [x] **Read receipts (inbound)** — shipped 0.8.0 via `imsg --rich` `read_at`; - "Read 4:42 PM" under the newest read from-me bubble only. + one "Delivered" or "Read 4:42 PM" line, under your newest message. - [x] **Tapbacks on bubbles** — shipped 0.8.0: corner pills, net add/remove per sender, custom emoji included; the `Loved "…"` pseudo-rows are folded. - [x] **Inline replies** — shipped 0.8.0: quoted snippet above the bubble. +- [x] **Sending native replies** — text and single pictures in a 1:1 through + `imsg-reply`, opt-in with `replies=on`. What is left and why: docs/replies.md. - [x] **Edited / unsent markers** — shipped 0.8.0: "· Edited" in the time row, "unsent a message" tombstone. - [x] **Attachment previews (stage 1)** — shipped 0.8.0: one chip per row diff --git a/ReactionBadge.qml b/ReactionBadge.qml new file mode 100644 index 00000000..7d377913 --- /dev/null +++ b/ReactionBadge.qml @@ -0,0 +1,103 @@ +import QtQuick +import QtQuick.Controls +import "ReactionBadges.mjs" as ReactionBadges + +// A compact thought balloon. The two dots point outward, so neither the +// emoji nor the tail covers the message text underneath it. +FocusScope { + id: root + property var tapbacks: [] + property var stickers: [] + property var files: ({}) + property var metrics: ({}) + property var fetchQueue: [] + property string fetchingId: "" + property bool mine: false + property bool playing: true + property int diameter: 34 + property int glyphSize: 22 + property real maximumWidth: 180 + property color fillColor: "#3c3c40" + property color borderColor: "#202024" + property color textColor: "white" + readonly property var entries: ReactionBadges.badgeEntries(tapbacks, stickers, + Math.floor((Math.max(diameter, maximumWidth) - 8) / (glyphSize + 4))) + signal stickerActivated(var attachment) + signal stickerContextRequested(var attachment) + implicitWidth: Math.max(diameter, entries.length * glyphSize + Math.max(0, entries.length - 1) * 4 + 12) + implicitHeight: diameter + 10 + visible: entries.length > 0 + opacity: (tapbacks || []).some(function(t) { return t.pending === true }) ? 0.45 : 1 + Accessible.role: Accessible.StaticText + Accessible.name: "Reactions" + Accessible.description: (tapbacks || []).map(function(t) { return String(t.emoji || "") + (t.from_me ? " by you" : t.by ? " by " + String(t.by) : "") }).concat((stickers || []).map(function(s) { return String(s.attachment.sticker && s.attachment.sticker.label || "Sticker reaction") })).join(", ") + Rectangle { + x: root.mine ? 3 : root.width - 11 + y: root.diameter - 3 + width: 8; height: width; radius: width / 2 + color: root.fillColor + border.color: root.borderColor; border.width: 1 + } + Rectangle { + x: root.mine ? -1 : root.width - 3 + y: root.diameter + 5 + width: 4; height: width; radius: width / 2 + color: root.fillColor + } + Rectangle { + width: root.width; height: root.diameter + radius: height / 2 + color: root.fillColor + border.color: root.borderColor; border.width: 1 + Row { + anchors.centerIn: parent + spacing: 4 + Repeater { + model: root.entries + delegate: Item { + required property var modelData + width: root.glyphSize; height: width + Text { + anchors.centerIn: parent + visible: !modelData.sticker + text: modelData.count ? "+" + String(modelData.count) : String(modelData.emoji || "") + textFormat: Text.PlainText + color: root.textColor + font.pixelSize: modelData.count ? Math.round(root.glyphSize * 0.65) : root.glyphSize + font.weight: modelData.count ? Font.DemiBold : Font.Normal + } + Loader { + anchors.fill: parent + active: !!modelData.sticker + sourceComponent: StickerImage { + readonly property var att: modelData.sticker.attachment + readonly property string attachmentId: String(att.id || "") + readonly property var metric: root.metrics[attachmentId] || ({}) + attachment: att + source: root.files[attachmentId] || "" + loading: attachmentId !== "" && (root.fetchingId === attachmentId || root.fetchQueue.some(function(job) { return job.id === attachmentId })) + failed: attachmentId === "" || root.files[attachmentId] === "" + animated: metric.animated === true + animationUnavailable: metric.animationUnavailable === true + playing: root.playing + compact: true + iconOnly: true + textColor: root.textColor + fontSize: 13 + onTapped: root.stickerActivated(att) + onContextRequested: root.stickerContextRequested(att) + } + } + } + } + } + } + HoverHandler { id: badgeHover } + ToolTip { + id: badgeTip + visible: badgeHover.hovered + text: root.Accessible.description + delay: 450 + contentItem: Text { text: badgeTip.text; textFormat: Text.PlainText; color: root.textColor } + } +} diff --git a/ReactionBadges.mjs b/ReactionBadges.mjs new file mode 100644 index 00000000..4b1fe2f4 --- /dev/null +++ b/ReactionBadges.mjs @@ -0,0 +1,17 @@ +// reaction-badges.ts +function badgeEntries(tapbacks, stickers, capacity) { + const sequence = (value) => value && typeof value.length === "number" ? Array.prototype.slice.call(value, 0, 256) : []; + const entries = sequence(tapbacks).filter((t) => t && typeof t.emoji === "string" && t.emoji !== "").map((t) => ({ emoji: t.emoji })); + for (const sticker of sequence(stickers)) + if (sticker && sticker.reaction === true && sticker.attachment) + entries.push({ sticker }); + const limit = Math.max(1, Math.min(5, Number.isFinite(capacity) ? Math.floor(capacity) : 1)); + if (entries.length <= limit) + return entries; + if (limit === 1) + return [{ count: entries.length }]; + return entries.slice(0, limit - 1).concat([{ count: entries.length - limit + 1 }]); +} +export { + badgeEntries +}; diff --git a/ReactionPicker.qml b/ReactionPicker.qml new file mode 100644 index 00000000..ab589b89 --- /dev/null +++ b/ReactionPicker.qml @@ -0,0 +1,216 @@ +import QtQuick +import QtQuick.Controls +import "TapbackActions.mjs" as TapbackActions + +// Reusable picker: reactions emit a kind, composer insertion emits the glyph. +// Search/category/identity policy lives in tapback-actions.ts. GridView only +// instantiates visible cells, even with the complete Unicode catalogue open. +Control { + id: picker + objectName: "blipReactionPicker" + implicitWidth: 302 + implicitHeight: column.implicitHeight + padding: 0 + property bool expanded: false + property bool showClassics: true + property bool busy: false + property string currentKind: "" + property bool keyHints: false + property int cursor: -1 + signal chosen(string kind) + signal emojiChosen(string emoji) + function choose(kind) { + if (picker.busy) return + var emoji = TapbackActions.reactionEmoji(kind) + if (!emoji) return + picker.chosen(kind) + picker.emojiChosen(emoji) + } + function reset(keyboard) { + expanded = !showClassics + search.text = "" + categories.currentIndex = 0 + cursor = TapbackActions.initialTapbackCursor(currentKind, keyboard) + } + Keys.onPressed: function(event) { + if (search.activeFocus || grid.activeFocus || categories.activeFocus) return + if (event.modifiers & (Qt.ControlModifier | Qt.AltModifier | Qt.MetaModifier)) return + if (event.key === Qt.Key_Left || event.key === Qt.Key_Right) { + cursor = TapbackActions.moveTapbackCursor(cursor, event.key === Qt.Key_Right ? 1 : -1, 7) + event.accepted = true + return + } + var marked = cursor >= 0 && (event.key === Qt.Key_Return || event.key === Qt.Key_Enter || event.key === Qt.Key_Space) + if (marked && cursor === 6) { + expanded = !expanded + if (expanded) search.forceActiveFocus() + event.accepted = true + return + } + var kind = marked ? TapbackActions.TAPBACKS[cursor].kind : TapbackActions.tapbackForKey(event.text) + if (kind) { event.accepted = true; choose(kind) } + } + contentItem: Column { + id: column + spacing: 8 + Row { + visible: picker.showClassics + width: parent.width + height: visible ? 44 : 0 + spacing: 2 + Repeater { + model: 7 + delegate: ToolButton { + id: classic + required property int index + readonly property bool more: index === 6 + readonly property var entry: more ? null : TapbackActions.TAPBACKS[index] + readonly property bool selected: !more && picker.currentKind === entry.kind + width: (column.width - 12) / 7 + height: 44 + enabled: !picker.busy + hoverEnabled: true + Accessible.name: more ? "More emoji" : (selected ? "Remove " : "React with ") + entry.kind + ToolTip.visible: hovered + ToolTip.text: Accessible.name + background: Rectangle { + radius: width / 2 + color: classic.selected ? Qt.alpha(picker.palette.highlight, 0.3) + : classic.hovered || (classic.more && picker.expanded) ? Qt.alpha(picker.palette.windowText, 0.10) : "transparent" + border.width: picker.activeFocus && picker.cursor === classic.index ? 2 : 0 + border.color: picker.palette.highlight + } + contentItem: Text { + text: classic.more ? "⊕" : classic.entry.emoji + textFormat: Text.PlainText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.pixelSize: classic.more ? 27 : 25 + color: picker.palette.windowText + opacity: picker.busy ? 0.4 : 1 + } + Text { + visible: picker.keyHints && !classic.more + anchors.right: parent.right + anchors.bottom: parent.bottom + text: String(classic.index + 1) + textFormat: Text.PlainText + font.pixelSize: 9 + color: picker.palette.windowText + } + onClicked: { + if (more) { picker.expanded = !picker.expanded; if (picker.expanded) search.forceActiveFocus() } + else picker.choose(entry.kind) + } + } + } + } + Column { + width: parent.width + visible: picker.expanded + height: visible ? implicitHeight : 0 + spacing: 8 + TextField { + id: search + objectName: "reactionEmojiSearch" + width: parent.width + placeholderText: "Search or paste an emoji" + font: picker.font + palette: picker.palette + color: picker.palette.windowText + placeholderTextColor: Qt.alpha(picker.palette.windowText, 0.45) + background: Rectangle { + radius: 8 + color: Qt.alpha(picker.palette.windowText, 0.06) + border.width: 1 + border.color: search.activeFocus ? picker.palette.highlight : Qt.alpha(picker.palette.windowText, 0.12) + } + maximumLength: 160 + selectByMouse: true + Accessible.name: "Search emoji" + Keys.onDownPressed: { grid.currentIndex = 0; grid.forceActiveFocus() } + onAccepted: if (grid.count > 0) picker.choose(grid.model[0].kind) + onTextChanged: grid.currentIndex = -1 + } + ComboBox { + id: categories + width: parent.width + model: TapbackActions.EMOJI_GROUPS + font: picker.font + palette.buttonText: picker.palette.windowText + palette.button: picker.palette.window + palette.text: picker.palette.windowText + palette.base: picker.palette.window + palette.window: picker.palette.window + palette.highlight: picker.palette.highlight + background: Rectangle { + radius: 8 + color: Qt.alpha(picker.palette.windowText, 0.06) + border.color: Qt.alpha(picker.palette.windowText, 0.12) + } + Accessible.name: "Emoji category" + } + GridView { + id: grid + objectName: "reactionEmojiGrid" + width: parent.width + height: 220 + clip: true + cellWidth: width / 7 + cellHeight: 42 + model: picker.expanded ? TapbackActions.searchReactionEmoji(search.text, categories.currentText || "All") : [] + currentIndex: -1 + keyNavigationEnabled: true + boundsBehavior: Flickable.StopAtBounds + ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded } + Keys.onReturnPressed: if (currentIndex >= 0) picker.choose(model[currentIndex].kind) + Keys.onEnterPressed: if (currentIndex >= 0) picker.choose(model[currentIndex].kind) + Keys.onEscapePressed: search.forceActiveFocus() + delegate: ToolButton { + required property var modelData + required property int index + width: grid.cellWidth + height: grid.cellHeight + enabled: !picker.busy + hoverEnabled: true + Accessible.name: modelData.name + ToolTip.visible: hovered + ToolTip.text: modelData.name + background: Rectangle { + radius: 8 + color: parent.modelData.kind === picker.currentKind ? Qt.alpha(picker.palette.highlight, 0.3) + : parent.hovered ? Qt.alpha(picker.palette.windowText, 0.10) : "transparent" + border.width: grid.activeFocus && grid.currentIndex === parent.index ? 2 : 0 + border.color: picker.palette.highlight + } + contentItem: Text { + text: parent.modelData.emoji + textFormat: Text.PlainText + font.pixelSize: 25 + color: picker.palette.windowText + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + onClicked: picker.choose(modelData.kind) + } + Text { + anchors.centerIn: parent + visible: grid.count === 0 + text: "No matching emoji" + textFormat: Text.PlainText + color: picker.palette.windowText + font: picker.font + } + } + Text { + visible: picker.showClassics + width: parent.width + text: "Custom reactions depend on the Mac’s available emoji." + textFormat: Text.PlainText + wrapMode: Text.WordWrap + color: Qt.alpha(picker.palette.windowText, 0.65) + font.pixelSize: Math.max(10, picker.font.pixelSize - 2) + } + } + } +} diff --git a/StickerImage.qml b/StickerImage.qml new file mode 100644 index 00000000..cd2b87dc --- /dev/null +++ b/StickerImage.qml @@ -0,0 +1,95 @@ +import QtQuick + +// Presentation only. Attribution, animation detection, and geometry come +// from TypeScript; the parent owns fetching and conversation positioning. +Item { + id: root + property var attachment: ({}) + property url source: "" + property bool loading: false + property bool failed: false + property bool animated: false + property bool animationUnavailable: false + property bool playing: true + property bool compact: false + property bool iconOnly: false + property color textColor: "#8e8e93" + property int fontSize: 12 + readonly property bool ready: animated ? motion.status === Image.Ready : still.status === Image.Ready + readonly property bool decodeFailed: animated ? motion.status === Image.Error : still.status === Image.Error + readonly property real paintedWidth: animated ? motion.paintedWidth : still.paintedWidth + readonly property real paintedHeight: animated ? motion.paintedHeight : still.paintedHeight + readonly property int currentFrame: motion.currentFrame + readonly property int frameCount: motion.frameCount + signal tapped() + signal contextRequested() + + implicitWidth: compact ? 48 : 160 + implicitHeight: compact ? 48 : 160 + activeFocusOnTab: true + Accessible.role: Accessible.Button + Accessible.name: String(attachment.sticker && attachment.sticker.label || "Sticker") + Accessible.description: failed || decodeFailed ? "Unavailable. Activate to retry." + : animationUnavailable ? "Static preview; animation unavailable. Open sticker." : "Open sticker" + Accessible.onPressAction: tapped() + + Image { + id: still + anchors.fill: parent + source: !root.animated ? root.source : "" + visible: !root.animated + asynchronous: true + autoTransform: true + fillMode: Image.PreserveAspectFit + sourceSize.width: 640 + sourceSize.height: 640 + smooth: true + mipmap: true + } + AnimatedImage { + id: motion + anchors.fill: parent + source: root.animated ? root.source : "" + visible: root.animated + playing: root.playing && root.visible && root.animated + asynchronous: true + autoTransform: true + fillMode: Image.PreserveAspectFit + // AnimatedImage.sourceSize was read-only in Qt 6.4. A static assignment + // prevents the whole component from loading there. Newer Qt can bound + // decoder output; older Qt still receives validated <=2048px rasters. + Component.onCompleted: { + try { motion.sourceSize = Qt.size(640, 640) } catch (error) { } + } + cache: false + smooth: true + } + Text { + anchors.centerIn: parent + width: parent.width + visible: !root.ready + text: root.iconOnly ? (root.loading ? "…" : root.failed || root.decodeFailed ? "!" : "◇") + : root.loading ? "Loading…" : root.failed || root.decodeFailed ? "Sticker unavailable" : "Sticker" + textFormat: Text.PlainText + horizontalAlignment: Text.AlignHCenter + wrapMode: Text.Wrap + color: root.textColor + font.pixelSize: root.fontSize + } + Rectangle { + anchors.fill: parent + visible: root.activeFocus + color: "transparent" + border.color: root.textColor + border.width: 1 + radius: 6 + } + TapHandler { onTapped: root.tapped() } + TapHandler { + acceptedButtons: Qt.RightButton + onTapped: root.contextRequested() + } + Keys.onReturnPressed: tapped() + Keys.onEnterPressed: tapped() + Keys.onMenuPressed: contextRequested() +} diff --git a/StickerLayer.qml b/StickerLayer.qml new file mode 100644 index 00000000..813fbb16 --- /dev/null +++ b/StickerLayer.qml @@ -0,0 +1,41 @@ +import QtQuick +import "Stickers.mjs" as Stickers + +// Position only when the bridge supplied a body-part mapping we understand. +// Unknown placements stay in a separate attachment strip in BlipView. +Item { + id: root + property var stickers: [] + property var files: ({}) + property var metrics: ({}) + property bool playing: true + property string fetchingId: "" + property var fetchQueue: [] + property color textColor: "#8e8e93" + signal openRequested(var attachment) + signal contextRequested(var attachment) + Repeater { + model: root.stickers + delegate: StickerImage { + required property var modelData + readonly property string attachmentId: String(modelData.attachment.id || "") + readonly property var metric: root.metrics[attachmentId] || ({}) + readonly property var geometry: Stickers.stickerGeometry(modelData.placement, root.width, root.height, Number(metric.pixelWidth || 64), Number(metric.pixelHeight || 64)) + x: geometry.x; y: geometry.y + width: geometry.width; height: geometry.height + rotation: geometry.rotation + z: 2 + attachment: modelData.attachment + source: root.files[attachmentId] || "" + loading: attachmentId !== "" && (root.fetchingId === attachmentId || root.fetchQueue.some(function(job) { return job.id === attachmentId })) + failed: attachmentId === "" || root.files[attachmentId] === "" + animated: metric.animated === true + animationUnavailable: metric.animationUnavailable === true + playing: root.playing + compact: true + textColor: root.textColor + onTapped: root.openRequested(modelData.attachment) + onContextRequested: root.contextRequested(modelData.attachment) + } + } +} diff --git a/Stickers.mjs b/Stickers.mjs new file mode 100644 index 00000000..178d5bfc --- /dev/null +++ b/Stickers.mjs @@ -0,0 +1,133 @@ +// stickers.ts +var MAX_VISIBLE_STICKERS = 24; +var sources = new Set(["memoji", "genmoji", "user", "app", "unknown"]); +var record = (value) => !!value && typeof value === "object" && !Array.isArray(value); +var finite = (value, min, max) => typeof value === "number" && Number.isFinite(value) && value >= min && value <= max; +var label = (value, max = 160) => typeof value === "string" ? value.replace(/[\p{Cc}\p{Cf}]/gu, "").trim().slice(0, max) : ""; +function normalizeStickerPlacement(value) { + if (!record(value) || !finite(value.x, -3, 3) || !finite(value.y, -3, 3) || !finite(value.scale, 0.1, 4) || !finite(value.rotation, -Math.PI * 2, Math.PI * 2)) + return; + return Object.assign({ x: value.x, y: value.y, scale: value.scale, rotation: value.rotation }, finite(value.parentWidth, 1, 1e4) ? { parentWidth: value.parentWidth } : {}); +} +function normalizeStickerMetadata(value) { + if (!record(value)) + return; + const placement = normalizeStickerPlacement(value.placement); + const app = label(value.app_name, 80); + return Object.assign({ + source: typeof value.source === "string" && sources.has(value.source) ? value.source : "unknown", + label: label(value.label) || "Sticker", + animated: value.animated === true + }, app ? { app_name: app } : {}, placement ? { placement } : {}); +} +function normalizeStickerAttachment(attachment) { + const sticker = normalizeStickerMetadata(attachment.sticker); + if (sticker) + return Object.assign({}, attachment, { sticker }); + const plain = Object.assign({}, attachment); + delete plain.sticker; + return plain; +} +function normalizeStickerOverlays(value) { + if (!Array.isArray(value)) + return { stickers: [], overflow: 0 }; + const valid = []; + const identities = new Set; + let total = 0; + for (const raw of value) { + if (!record(raw) || !record(raw.attachment)) + continue; + const a = raw.attachment; + const sticker = normalizeStickerMetadata(a.sticker); + if (!sticker) + continue; + const id = typeof a.id === "string" && /^[0-9]{1,18}$/.test(a.id) ? a.id : ""; + const guid = label(raw.guid, 128); + const key = `${guid}\x00${id}`; + if ((guid || id) && identities.has(key)) + continue; + if (guid || id) + identities.add(key); + total++; + if (valid.length >= MAX_VISIBLE_STICKERS) + continue; + const placement = normalizeStickerPlacement(raw.placement) ?? sticker.placement; + valid.push(Object.assign({ + attachment: { + id, + name: label(a.name, 256) || "Sticker", + mime: typeof a.mime === "string" ? a.mime.slice(0, 100) : null, + bytes: finite(a.bytes, 0, Number.MAX_SAFE_INTEGER) ? a.bytes : null, + sticker + }, + guid, + part: finite(raw.part, 0, 999999) && Number.isInteger(raw.part) ? raw.part : 0, + from_me: raw.from_me === true, + by: label(raw.by, 160) || null, + ts: typeof raw.ts === "string" ? raw.ts : "" + }, raw.reaction === true ? { reaction: true } : {}, placement ? { placement } : {})); + } + return { stickers: valid, overflow: Math.max(0, total - valid.length) }; +} +function mergeStickers(a, b) { + const all = [...a ?? [], ...b ?? []]; + if (!all.length) + return; + const seen = new Set; + return all.filter((s) => { + const key = `${s.guid}\x00${s.attachment?.id ?? ""}`; + if (seen.has(key)) + return false; + seen.add(key); + return true; + }); +} +function placedStickers(stickers) { + return (stickers ?? []).filter((s) => s.reaction !== true && s.part === 0 && !!normalizeStickerPlacement(s.placement)); +} +function unplacedStickers(stickers) { + return (stickers ?? []).filter((s) => s.reaction !== true && (s.part !== 0 || !normalizeStickerPlacement(s.placement))); +} +function reactionStickers(stickers) { + return (stickers ?? []).filter((s) => s.reaction === true); +} +function stickerGeometry(placement, width, height, naturalWidth = 64, naturalHeight = 64) { + const w = finite(width, 1, 1e4) ? width : 64; + const h = finite(height, 1, 1e4) ? height : 64; + const nw = finite(naturalWidth, 1, 1e5) ? naturalWidth : 64; + const nh = finite(naturalHeight, 1, 1e5) ? naturalHeight : 64; + const p = normalizeStickerPlacement(placement); + const scale = p?.scale ?? 1; + const longEdge = Math.min(Math.max(40 * scale, 24), 120, w); + let sw = nw >= nh ? longEdge : longEdge * nw / nh; + let sh = nh >= nw ? longEdge : longEdge * nh / nw; + const angle = p?.rotation ?? 0; + const cos = Math.abs(Math.cos(angle)), sin = Math.abs(Math.sin(angle)); + let bw = sw * cos + sh * sin, bh = sh * cos + sw * sin; + const fit = Math.min(1, w / bw, h / bh); + sw *= fit; + sh *= fit; + bw *= fit; + bh *= fit; + const insetX = (bw - sw) / 2, insetY = (bh - sh) / 2; + return { + x: p ? Math.max(insetX, Math.min(w - sw - insetX, p.x * w - sw / 2)) : 0, + y: p ? Math.max(insetY, Math.min(h - sh - insetY, p.y * h - sh / 2)) : 0, + width: sw, + height: sh, + rotation: p ? p.rotation * 180 / Math.PI : 0, + placed: !!p + }; +} +export { + MAX_VISIBLE_STICKERS, + mergeStickers, + normalizeStickerAttachment, + normalizeStickerMetadata, + normalizeStickerOverlays, + normalizeStickerPlacement, + placedStickers, + reactionStickers, + stickerGeometry, + unplacedStickers +}; diff --git a/TapbackActions.mjs b/TapbackActions.mjs index c2d6255f..c4e098c7 100644 --- a/TapbackActions.mjs +++ b/TapbackActions.mjs @@ -1,4 +1,3982 @@ +// emoji-catalogue.ts +var EMOJI_CATALOGUE = [ + ["\uD83D\uDE00", "grinning face", "Smileys & Emotion"], + ["\uD83D\uDE03", "grinning face with big eyes", "Smileys & Emotion"], + ["\uD83D\uDE04", "grinning face with smiling eyes", "Smileys & Emotion"], + ["\uD83D\uDE01", "beaming face with smiling eyes", "Smileys & Emotion"], + ["\uD83D\uDE06", "grinning squinting face", "Smileys & Emotion"], + ["\uD83D\uDE05", "grinning face with sweat", "Smileys & Emotion"], + ["\uD83E\uDD23", "rolling on the floor laughing", "Smileys & Emotion"], + ["\uD83D\uDE02", "face with tears of joy", "Smileys & Emotion"], + ["\uD83D\uDE42", "slightly smiling face", "Smileys & Emotion"], + ["\uD83D\uDE43", "upside-down face", "Smileys & Emotion"], + ["\uD83E\uDEE0", "melting face", "Smileys & Emotion"], + ["\uD83E\uDEEB", "cracking face", "Smileys & Emotion"], + ["\uD83D\uDE09", "winking face", "Smileys & Emotion"], + ["\uD83D\uDE0A", "smiling face with smiling eyes", "Smileys & Emotion"], + ["\uD83D\uDE07", "smiling face with halo", "Smileys & Emotion"], + ["\uD83E\uDD70", "smiling face with hearts", "Smileys & Emotion"], + ["\uD83D\uDE0D", "smiling face with heart-eyes", "Smileys & Emotion"], + ["\uD83E\uDD29", "star-struck", "Smileys & Emotion"], + ["\uD83D\uDE18", "face blowing a kiss", "Smileys & Emotion"], + ["\uD83D\uDE17", "kissing face", "Smileys & Emotion"], + ["☺️", "smiling face", "Smileys & Emotion"], + ["\uD83D\uDE1A", "kissing face with closed eyes", "Smileys & Emotion"], + ["\uD83D\uDE19", "kissing face with smiling eyes", "Smileys & Emotion"], + ["\uD83E\uDD72", "smiling face with tear", "Smileys & Emotion"], + ["\uD83D\uDE0B", "face savoring food", "Smileys & Emotion"], + ["\uD83D\uDE1B", "face with tongue", "Smileys & Emotion"], + ["\uD83D\uDE1C", "winking face with tongue", "Smileys & Emotion"], + ["\uD83E\uDD2A", "zany face", "Smileys & Emotion"], + ["\uD83D\uDE1D", "squinting face with tongue", "Smileys & Emotion"], + ["\uD83E\uDD11", "money-mouth face", "Smileys & Emotion"], + ["\uD83E\uDD17", "smiling face with open hands", "Smileys & Emotion"], + ["\uD83E\uDD2D", "face with hand over mouth", "Smileys & Emotion"], + ["\uD83E\uDEE2", "face with open eyes and hand over mouth", "Smileys & Emotion"], + ["\uD83E\uDEE3", "face with peeking eye", "Smileys & Emotion"], + ["\uD83E\uDD2B", "shushing face", "Smileys & Emotion"], + ["\uD83E\uDD14", "thinking face", "Smileys & Emotion"], + ["\uD83E\uDEE1", "saluting face", "Smileys & Emotion"], + ["\uD83E\uDD10", "zipper-mouth face", "Smileys & Emotion"], + ["\uD83E\uDD28", "face with raised eyebrow", "Smileys & Emotion"], + ["\uD83D\uDE10", "neutral face", "Smileys & Emotion"], + ["\uD83D\uDE11", "expressionless face", "Smileys & Emotion"], + ["\uD83D\uDE36", "face without mouth", "Smileys & Emotion"], + ["\uD83E\uDEE5", "dotted line face", "Smileys & Emotion"], + ["\uD83D\uDE36‍\uD83C\uDF2B️", "face in clouds", "Smileys & Emotion"], + ["\uD83D\uDE0F", "smirking face", "Smileys & Emotion"], + ["\uD83D\uDE12", "unamused face", "Smileys & Emotion"], + ["\uD83D\uDE44", "face with rolling eyes", "Smileys & Emotion"], + ["\uD83D\uDE2C", "grimacing face", "Smileys & Emotion"], + ["\uD83D\uDE2E‍\uD83D\uDCA8", "face exhaling", "Smileys & Emotion"], + ["\uD83E\uDD25", "lying face", "Smileys & Emotion"], + ["\uD83E\uDEE8", "shaking face", "Smileys & Emotion"], + ["\uD83D\uDE42‍↔️", "head shaking horizontally", "Smileys & Emotion"], + ["\uD83D\uDE42‍↕️", "head shaking vertically", "Smileys & Emotion"], + ["\uD83D\uDE0C", "relieved face", "Smileys & Emotion"], + ["\uD83D\uDE14", "pensive face", "Smileys & Emotion"], + ["\uD83D\uDE2A", "sleepy face", "Smileys & Emotion"], + ["\uD83E\uDD24", "drooling face", "Smileys & Emotion"], + ["\uD83D\uDE34", "sleeping face", "Smileys & Emotion"], + ["\uD83E\uDEE9", "face with bags under eyes", "Smileys & Emotion"], + ["\uD83D\uDE37", "face with medical mask", "Smileys & Emotion"], + ["\uD83E\uDD12", "face with thermometer", "Smileys & Emotion"], + ["\uD83E\uDD15", "face with head-bandage", "Smileys & Emotion"], + ["\uD83E\uDD22", "nauseated face", "Smileys & Emotion"], + ["\uD83E\uDD2E", "face vomiting", "Smileys & Emotion"], + ["\uD83E\uDD27", "sneezing face", "Smileys & Emotion"], + ["\uD83E\uDD75", "hot face", "Smileys & Emotion"], + ["\uD83E\uDD76", "cold face", "Smileys & Emotion"], + ["\uD83E\uDD74", "woozy face", "Smileys & Emotion"], + ["\uD83D\uDE35", "face with crossed-out eyes", "Smileys & Emotion"], + ["\uD83D\uDE35‍\uD83D\uDCAB", "face with spiral eyes", "Smileys & Emotion"], + ["\uD83E\uDD2F", "exploding head", "Smileys & Emotion"], + ["\uD83E\uDD20", "cowboy hat face", "Smileys & Emotion"], + ["\uD83E\uDD73", "partying face", "Smileys & Emotion"], + ["\uD83E\uDD78", "disguised face", "Smileys & Emotion"], + ["\uD83D\uDE0E", "smiling face with sunglasses", "Smileys & Emotion"], + ["\uD83E\uDD13", "nerd face", "Smileys & Emotion"], + ["\uD83E\uDDD0", "face with monocle", "Smileys & Emotion"], + ["\uD83D\uDE15", "confused face", "Smileys & Emotion"], + ["\uD83E\uDEE4", "face with diagonal mouth", "Smileys & Emotion"], + ["\uD83D\uDE1F", "worried face", "Smileys & Emotion"], + ["\uD83D\uDE41", "slightly frowning face", "Smileys & Emotion"], + ["☹️", "frowning face", "Smileys & Emotion"], + ["\uD83D\uDE2E", "face with open mouth", "Smileys & Emotion"], + ["\uD83D\uDE2F", "hushed face", "Smileys & Emotion"], + ["\uD83D\uDE32", "astonished face", "Smileys & Emotion"], + ["\uD83D\uDE33", "flushed face", "Smileys & Emotion"], + ["\uD83E\uDEEA", "distorted face", "Smileys & Emotion"], + ["\uD83E\uDD7A", "pleading face", "Smileys & Emotion"], + ["\uD83E\uDD79", "face holding back tears", "Smileys & Emotion"], + ["\uD83D\uDE26", "frowning face with open mouth", "Smileys & Emotion"], + ["\uD83D\uDE27", "anguished face", "Smileys & Emotion"], + ["\uD83D\uDE28", "fearful face", "Smileys & Emotion"], + ["\uD83D\uDE30", "anxious face with sweat", "Smileys & Emotion"], + ["\uD83D\uDE25", "sad but relieved face", "Smileys & Emotion"], + ["\uD83D\uDE22", "crying face", "Smileys & Emotion"], + ["\uD83D\uDE2D", "loudly crying face", "Smileys & Emotion"], + ["\uD83D\uDE31", "face screaming in fear", "Smileys & Emotion"], + ["\uD83D\uDE16", "confounded face", "Smileys & Emotion"], + ["\uD83D\uDE23", "persevering face", "Smileys & Emotion"], + ["\uD83D\uDE1E", "disappointed face", "Smileys & Emotion"], + ["\uD83D\uDE13", "downcast face with sweat", "Smileys & Emotion"], + ["\uD83D\uDE29", "weary face", "Smileys & Emotion"], + ["\uD83D\uDE2B", "tired face", "Smileys & Emotion"], + ["\uD83E\uDD71", "yawning face", "Smileys & Emotion"], + ["\uD83D\uDE24", "face with steam from nose", "Smileys & Emotion"], + ["\uD83D\uDE21", "enraged face", "Smileys & Emotion"], + ["\uD83D\uDE20", "angry face", "Smileys & Emotion"], + ["\uD83E\uDD2C", "face with symbols on mouth", "Smileys & Emotion"], + ["\uD83D\uDE08", "smiling face with horns", "Smileys & Emotion"], + ["\uD83D\uDC7F", "angry face with horns", "Smileys & Emotion"], + ["\uD83D\uDC80", "skull", "Smileys & Emotion"], + ["☠️", "skull and crossbones", "Smileys & Emotion"], + ["\uD83D\uDCA9", "pile of poo", "Smileys & Emotion"], + ["\uD83E\uDD21", "clown face", "Smileys & Emotion"], + ["\uD83D\uDC79", "ogre", "Smileys & Emotion"], + ["\uD83D\uDC7A", "goblin", "Smileys & Emotion"], + ["\uD83D\uDC7B", "ghost", "Smileys & Emotion"], + ["\uD83D\uDC7D", "alien", "Smileys & Emotion"], + ["\uD83D\uDC7E", "alien monster", "Smileys & Emotion"], + ["\uD83E\uDD16", "robot", "Smileys & Emotion"], + ["\uD83D\uDE3A", "grinning cat", "Smileys & Emotion"], + ["\uD83D\uDE38", "grinning cat with smiling eyes", "Smileys & Emotion"], + ["\uD83D\uDE39", "cat with tears of joy", "Smileys & Emotion"], + ["\uD83D\uDE3B", "smiling cat with heart-eyes", "Smileys & Emotion"], + ["\uD83D\uDE3C", "cat with wry smile", "Smileys & Emotion"], + ["\uD83D\uDE3D", "kissing cat", "Smileys & Emotion"], + ["\uD83D\uDE40", "weary cat", "Smileys & Emotion"], + ["\uD83D\uDE3F", "crying cat", "Smileys & Emotion"], + ["\uD83D\uDE3E", "pouting cat", "Smileys & Emotion"], + ["\uD83D\uDE48", "see-no-evil monkey", "Smileys & Emotion"], + ["\uD83D\uDE49", "hear-no-evil monkey", "Smileys & Emotion"], + ["\uD83D\uDE4A", "speak-no-evil monkey", "Smileys & Emotion"], + ["\uD83D\uDC8C", "love letter", "Smileys & Emotion"], + ["\uD83D\uDC98", "heart with arrow", "Smileys & Emotion"], + ["\uD83D\uDC9D", "heart with ribbon", "Smileys & Emotion"], + ["\uD83D\uDC96", "sparkling heart", "Smileys & Emotion"], + ["\uD83D\uDC97", "growing heart", "Smileys & Emotion"], + ["\uD83D\uDC93", "beating heart", "Smileys & Emotion"], + ["\uD83D\uDC9E", "revolving hearts", "Smileys & Emotion"], + ["\uD83D\uDC95", "two hearts", "Smileys & Emotion"], + ["\uD83D\uDC9F", "heart decoration", "Smileys & Emotion"], + ["❣️", "heart exclamation", "Smileys & Emotion"], + ["\uD83D\uDC94", "broken heart", "Smileys & Emotion"], + ["❤️‍\uD83D\uDD25", "heart on fire", "Smileys & Emotion"], + ["❤️‍\uD83E\uDE79", "mending heart", "Smileys & Emotion"], + ["❤️", "red heart", "Smileys & Emotion"], + ["\uD83E\uDE77", "pink heart", "Smileys & Emotion"], + ["\uD83E\uDDE1", "orange heart", "Smileys & Emotion"], + ["\uD83D\uDC9B", "yellow heart", "Smileys & Emotion"], + ["\uD83D\uDC9A", "green heart", "Smileys & Emotion"], + ["\uD83D\uDC99", "blue heart", "Smileys & Emotion"], + ["\uD83E\uDE75", "light blue heart", "Smileys & Emotion"], + ["\uD83D\uDC9C", "purple heart", "Smileys & Emotion"], + ["\uD83E\uDD0E", "brown heart", "Smileys & Emotion"], + ["\uD83D\uDDA4", "black heart", "Smileys & Emotion"], + ["\uD83E\uDE76", "grey heart", "Smileys & Emotion"], + ["\uD83E\uDD0D", "white heart", "Smileys & Emotion"], + ["\uD83D\uDC8B", "kiss mark", "Smileys & Emotion"], + ["\uD83D\uDCAF", "hundred points", "Smileys & Emotion"], + ["\uD83D\uDCA2", "anger symbol", "Smileys & Emotion"], + ["\uD83E\uDEEF", "fight cloud", "Smileys & Emotion"], + ["\uD83D\uDCA5", "collision", "Smileys & Emotion"], + ["\uD83D\uDCAB", "dizzy", "Smileys & Emotion"], + ["\uD83D\uDCA6", "sweat droplets", "Smileys & Emotion"], + ["\uD83D\uDCA8", "dashing away", "Smileys & Emotion"], + ["\uD83D\uDD73️", "hole", "Smileys & Emotion"], + ["\uD83D\uDCAC", "speech balloon", "Smileys & Emotion"], + ["\uD83D\uDC41️‍\uD83D\uDDE8️", "eye in speech bubble", "Smileys & Emotion"], + ["\uD83D\uDDE8️", "left speech bubble", "Smileys & Emotion"], + ["\uD83D\uDDEF️", "right anger bubble", "Smileys & Emotion"], + ["\uD83D\uDCAD", "thought balloon", "Smileys & Emotion"], + ["\uD83D\uDCA4", "ZZZ", "Smileys & Emotion"], + ["\uD83D\uDC4B", "waving hand", "People & Body"], + ["\uD83D\uDC4B\uD83C\uDFFB", "waving hand: light skin tone", "People & Body"], + ["\uD83D\uDC4B\uD83C\uDFFC", "waving hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDC4B\uD83C\uDFFD", "waving hand: medium skin tone", "People & Body"], + ["\uD83D\uDC4B\uD83C\uDFFE", "waving hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC4B\uD83C\uDFFF", "waving hand: dark skin tone", "People & Body"], + ["\uD83E\uDD1A", "raised back of hand", "People & Body"], + ["\uD83E\uDD1A\uD83C\uDFFB", "raised back of hand: light skin tone", "People & Body"], + ["\uD83E\uDD1A\uD83C\uDFFC", "raised back of hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDD1A\uD83C\uDFFD", "raised back of hand: medium skin tone", "People & Body"], + ["\uD83E\uDD1A\uD83C\uDFFE", "raised back of hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD1A\uD83C\uDFFF", "raised back of hand: dark skin tone", "People & Body"], + ["\uD83D\uDD90️", "hand with fingers splayed", "People & Body"], + ["\uD83D\uDD90\uD83C\uDFFB", "hand with fingers splayed: light skin tone", "People & Body"], + ["\uD83D\uDD90\uD83C\uDFFC", "hand with fingers splayed: medium-light skin tone", "People & Body"], + ["\uD83D\uDD90\uD83C\uDFFD", "hand with fingers splayed: medium skin tone", "People & Body"], + ["\uD83D\uDD90\uD83C\uDFFE", "hand with fingers splayed: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD90\uD83C\uDFFF", "hand with fingers splayed: dark skin tone", "People & Body"], + ["✋", "raised hand", "People & Body"], + ["✋\uD83C\uDFFB", "raised hand: light skin tone", "People & Body"], + ["✋\uD83C\uDFFC", "raised hand: medium-light skin tone", "People & Body"], + ["✋\uD83C\uDFFD", "raised hand: medium skin tone", "People & Body"], + ["✋\uD83C\uDFFE", "raised hand: medium-dark skin tone", "People & Body"], + ["✋\uD83C\uDFFF", "raised hand: dark skin tone", "People & Body"], + ["\uD83D\uDD96", "vulcan salute", "People & Body"], + ["\uD83D\uDD96\uD83C\uDFFB", "vulcan salute: light skin tone", "People & Body"], + ["\uD83D\uDD96\uD83C\uDFFC", "vulcan salute: medium-light skin tone", "People & Body"], + ["\uD83D\uDD96\uD83C\uDFFD", "vulcan salute: medium skin tone", "People & Body"], + ["\uD83D\uDD96\uD83C\uDFFE", "vulcan salute: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD96\uD83C\uDFFF", "vulcan salute: dark skin tone", "People & Body"], + ["\uD83E\uDEF1", "rightwards hand", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFB", "rightwards hand: light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFC", "rightwards hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFD", "rightwards hand: medium skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFE", "rightwards hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFF", "rightwards hand: dark skin tone", "People & Body"], + ["\uD83E\uDEF2", "leftwards hand", "People & Body"], + ["\uD83E\uDEF2\uD83C\uDFFB", "leftwards hand: light skin tone", "People & Body"], + ["\uD83E\uDEF2\uD83C\uDFFC", "leftwards hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF2\uD83C\uDFFD", "leftwards hand: medium skin tone", "People & Body"], + ["\uD83E\uDEF2\uD83C\uDFFE", "leftwards hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF2\uD83C\uDFFF", "leftwards hand: dark skin tone", "People & Body"], + ["\uD83E\uDEF3", "palm down hand", "People & Body"], + ["\uD83E\uDEF3\uD83C\uDFFB", "palm down hand: light skin tone", "People & Body"], + ["\uD83E\uDEF3\uD83C\uDFFC", "palm down hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF3\uD83C\uDFFD", "palm down hand: medium skin tone", "People & Body"], + ["\uD83E\uDEF3\uD83C\uDFFE", "palm down hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF3\uD83C\uDFFF", "palm down hand: dark skin tone", "People & Body"], + ["\uD83E\uDEF4", "palm up hand", "People & Body"], + ["\uD83E\uDEF4\uD83C\uDFFB", "palm up hand: light skin tone", "People & Body"], + ["\uD83E\uDEF4\uD83C\uDFFC", "palm up hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF4\uD83C\uDFFD", "palm up hand: medium skin tone", "People & Body"], + ["\uD83E\uDEF4\uD83C\uDFFE", "palm up hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF4\uD83C\uDFFF", "palm up hand: dark skin tone", "People & Body"], + ["\uD83E\uDEF7", "leftwards pushing hand", "People & Body"], + ["\uD83E\uDEF7\uD83C\uDFFB", "leftwards pushing hand: light skin tone", "People & Body"], + ["\uD83E\uDEF7\uD83C\uDFFC", "leftwards pushing hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF7\uD83C\uDFFD", "leftwards pushing hand: medium skin tone", "People & Body"], + ["\uD83E\uDEF7\uD83C\uDFFE", "leftwards pushing hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF7\uD83C\uDFFF", "leftwards pushing hand: dark skin tone", "People & Body"], + ["\uD83E\uDEF8", "rightwards pushing hand", "People & Body"], + ["\uD83E\uDEF8\uD83C\uDFFB", "rightwards pushing hand: light skin tone", "People & Body"], + ["\uD83E\uDEF8\uD83C\uDFFC", "rightwards pushing hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF8\uD83C\uDFFD", "rightwards pushing hand: medium skin tone", "People & Body"], + ["\uD83E\uDEF8\uD83C\uDFFE", "rightwards pushing hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF8\uD83C\uDFFF", "rightwards pushing hand: dark skin tone", "People & Body"], + ["\uD83D\uDC4C", "OK hand", "People & Body"], + ["\uD83D\uDC4C\uD83C\uDFFB", "OK hand: light skin tone", "People & Body"], + ["\uD83D\uDC4C\uD83C\uDFFC", "OK hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDC4C\uD83C\uDFFD", "OK hand: medium skin tone", "People & Body"], + ["\uD83D\uDC4C\uD83C\uDFFE", "OK hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC4C\uD83C\uDFFF", "OK hand: dark skin tone", "People & Body"], + ["\uD83E\uDD0C", "pinched fingers", "People & Body"], + ["\uD83E\uDD0C\uD83C\uDFFB", "pinched fingers: light skin tone", "People & Body"], + ["\uD83E\uDD0C\uD83C\uDFFC", "pinched fingers: medium-light skin tone", "People & Body"], + ["\uD83E\uDD0C\uD83C\uDFFD", "pinched fingers: medium skin tone", "People & Body"], + ["\uD83E\uDD0C\uD83C\uDFFE", "pinched fingers: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD0C\uD83C\uDFFF", "pinched fingers: dark skin tone", "People & Body"], + ["\uD83E\uDD0F", "pinching hand", "People & Body"], + ["\uD83E\uDD0F\uD83C\uDFFB", "pinching hand: light skin tone", "People & Body"], + ["\uD83E\uDD0F\uD83C\uDFFC", "pinching hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDD0F\uD83C\uDFFD", "pinching hand: medium skin tone", "People & Body"], + ["\uD83E\uDD0F\uD83C\uDFFE", "pinching hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD0F\uD83C\uDFFF", "pinching hand: dark skin tone", "People & Body"], + ["✌️", "victory hand", "People & Body"], + ["✌\uD83C\uDFFB", "victory hand: light skin tone", "People & Body"], + ["✌\uD83C\uDFFC", "victory hand: medium-light skin tone", "People & Body"], + ["✌\uD83C\uDFFD", "victory hand: medium skin tone", "People & Body"], + ["✌\uD83C\uDFFE", "victory hand: medium-dark skin tone", "People & Body"], + ["✌\uD83C\uDFFF", "victory hand: dark skin tone", "People & Body"], + ["\uD83E\uDD1E", "crossed fingers", "People & Body"], + ["\uD83E\uDD1E\uD83C\uDFFB", "crossed fingers: light skin tone", "People & Body"], + ["\uD83E\uDD1E\uD83C\uDFFC", "crossed fingers: medium-light skin tone", "People & Body"], + ["\uD83E\uDD1E\uD83C\uDFFD", "crossed fingers: medium skin tone", "People & Body"], + ["\uD83E\uDD1E\uD83C\uDFFE", "crossed fingers: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD1E\uD83C\uDFFF", "crossed fingers: dark skin tone", "People & Body"], + ["\uD83E\uDEF0", "hand with index finger and thumb crossed", "People & Body"], + ["\uD83E\uDEF0\uD83C\uDFFB", "hand with index finger and thumb crossed: light skin tone", "People & Body"], + ["\uD83E\uDEF0\uD83C\uDFFC", "hand with index finger and thumb crossed: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF0\uD83C\uDFFD", "hand with index finger and thumb crossed: medium skin tone", "People & Body"], + ["\uD83E\uDEF0\uD83C\uDFFE", "hand with index finger and thumb crossed: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF0\uD83C\uDFFF", "hand with index finger and thumb crossed: dark skin tone", "People & Body"], + ["\uD83E\uDD1F", "love-you gesture", "People & Body"], + ["\uD83E\uDD1F\uD83C\uDFFB", "love-you gesture: light skin tone", "People & Body"], + ["\uD83E\uDD1F\uD83C\uDFFC", "love-you gesture: medium-light skin tone", "People & Body"], + ["\uD83E\uDD1F\uD83C\uDFFD", "love-you gesture: medium skin tone", "People & Body"], + ["\uD83E\uDD1F\uD83C\uDFFE", "love-you gesture: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD1F\uD83C\uDFFF", "love-you gesture: dark skin tone", "People & Body"], + ["\uD83E\uDD18", "sign of the horns", "People & Body"], + ["\uD83E\uDD18\uD83C\uDFFB", "sign of the horns: light skin tone", "People & Body"], + ["\uD83E\uDD18\uD83C\uDFFC", "sign of the horns: medium-light skin tone", "People & Body"], + ["\uD83E\uDD18\uD83C\uDFFD", "sign of the horns: medium skin tone", "People & Body"], + ["\uD83E\uDD18\uD83C\uDFFE", "sign of the horns: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD18\uD83C\uDFFF", "sign of the horns: dark skin tone", "People & Body"], + ["\uD83E\uDD19", "call me hand", "People & Body"], + ["\uD83E\uDD19\uD83C\uDFFB", "call me hand: light skin tone", "People & Body"], + ["\uD83E\uDD19\uD83C\uDFFC", "call me hand: medium-light skin tone", "People & Body"], + ["\uD83E\uDD19\uD83C\uDFFD", "call me hand: medium skin tone", "People & Body"], + ["\uD83E\uDD19\uD83C\uDFFE", "call me hand: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD19\uD83C\uDFFF", "call me hand: dark skin tone", "People & Body"], + ["\uD83D\uDC48", "backhand index pointing left", "People & Body"], + ["\uD83D\uDC48\uD83C\uDFFB", "backhand index pointing left: light skin tone", "People & Body"], + ["\uD83D\uDC48\uD83C\uDFFC", "backhand index pointing left: medium-light skin tone", "People & Body"], + ["\uD83D\uDC48\uD83C\uDFFD", "backhand index pointing left: medium skin tone", "People & Body"], + ["\uD83D\uDC48\uD83C\uDFFE", "backhand index pointing left: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC48\uD83C\uDFFF", "backhand index pointing left: dark skin tone", "People & Body"], + ["\uD83D\uDC49", "backhand index pointing right", "People & Body"], + ["\uD83D\uDC49\uD83C\uDFFB", "backhand index pointing right: light skin tone", "People & Body"], + ["\uD83D\uDC49\uD83C\uDFFC", "backhand index pointing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC49\uD83C\uDFFD", "backhand index pointing right: medium skin tone", "People & Body"], + ["\uD83D\uDC49\uD83C\uDFFE", "backhand index pointing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC49\uD83C\uDFFF", "backhand index pointing right: dark skin tone", "People & Body"], + ["\uD83D\uDC46", "backhand index pointing up", "People & Body"], + ["\uD83D\uDC46\uD83C\uDFFB", "backhand index pointing up: light skin tone", "People & Body"], + ["\uD83D\uDC46\uD83C\uDFFC", "backhand index pointing up: medium-light skin tone", "People & Body"], + ["\uD83D\uDC46\uD83C\uDFFD", "backhand index pointing up: medium skin tone", "People & Body"], + ["\uD83D\uDC46\uD83C\uDFFE", "backhand index pointing up: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC46\uD83C\uDFFF", "backhand index pointing up: dark skin tone", "People & Body"], + ["\uD83D\uDD95", "middle finger", "People & Body"], + ["\uD83D\uDD95\uD83C\uDFFB", "middle finger: light skin tone", "People & Body"], + ["\uD83D\uDD95\uD83C\uDFFC", "middle finger: medium-light skin tone", "People & Body"], + ["\uD83D\uDD95\uD83C\uDFFD", "middle finger: medium skin tone", "People & Body"], + ["\uD83D\uDD95\uD83C\uDFFE", "middle finger: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD95\uD83C\uDFFF", "middle finger: dark skin tone", "People & Body"], + ["\uD83D\uDC47", "backhand index pointing down", "People & Body"], + ["\uD83D\uDC47\uD83C\uDFFB", "backhand index pointing down: light skin tone", "People & Body"], + ["\uD83D\uDC47\uD83C\uDFFC", "backhand index pointing down: medium-light skin tone", "People & Body"], + ["\uD83D\uDC47\uD83C\uDFFD", "backhand index pointing down: medium skin tone", "People & Body"], + ["\uD83D\uDC47\uD83C\uDFFE", "backhand index pointing down: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC47\uD83C\uDFFF", "backhand index pointing down: dark skin tone", "People & Body"], + ["☝️", "index pointing up", "People & Body"], + ["☝\uD83C\uDFFB", "index pointing up: light skin tone", "People & Body"], + ["☝\uD83C\uDFFC", "index pointing up: medium-light skin tone", "People & Body"], + ["☝\uD83C\uDFFD", "index pointing up: medium skin tone", "People & Body"], + ["☝\uD83C\uDFFE", "index pointing up: medium-dark skin tone", "People & Body"], + ["☝\uD83C\uDFFF", "index pointing up: dark skin tone", "People & Body"], + ["\uD83E\uDEF5", "index pointing at the viewer", "People & Body"], + ["\uD83E\uDEF5\uD83C\uDFFB", "index pointing at the viewer: light skin tone", "People & Body"], + ["\uD83E\uDEF5\uD83C\uDFFC", "index pointing at the viewer: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF5\uD83C\uDFFD", "index pointing at the viewer: medium skin tone", "People & Body"], + ["\uD83E\uDEF5\uD83C\uDFFE", "index pointing at the viewer: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF5\uD83C\uDFFF", "index pointing at the viewer: dark skin tone", "People & Body"], + ["\uD83D\uDC4D", "thumbs up", "People & Body"], + ["\uD83D\uDC4D\uD83C\uDFFB", "thumbs up: light skin tone", "People & Body"], + ["\uD83D\uDC4D\uD83C\uDFFC", "thumbs up: medium-light skin tone", "People & Body"], + ["\uD83D\uDC4D\uD83C\uDFFD", "thumbs up: medium skin tone", "People & Body"], + ["\uD83D\uDC4D\uD83C\uDFFE", "thumbs up: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC4D\uD83C\uDFFF", "thumbs up: dark skin tone", "People & Body"], + ["\uD83D\uDC4E", "thumbs down", "People & Body"], + ["\uD83D\uDC4E\uD83C\uDFFB", "thumbs down: light skin tone", "People & Body"], + ["\uD83D\uDC4E\uD83C\uDFFC", "thumbs down: medium-light skin tone", "People & Body"], + ["\uD83D\uDC4E\uD83C\uDFFD", "thumbs down: medium skin tone", "People & Body"], + ["\uD83D\uDC4E\uD83C\uDFFE", "thumbs down: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC4E\uD83C\uDFFF", "thumbs down: dark skin tone", "People & Body"], + ["\uD83E\uDEF9", "leftwards thumb sign", "People & Body"], + ["\uD83E\uDEF9\uD83C\uDFFB", "leftwards thumb sign: light skin tone", "People & Body"], + ["\uD83E\uDEF9\uD83C\uDFFC", "leftwards thumb sign: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF9\uD83C\uDFFD", "leftwards thumb sign: medium skin tone", "People & Body"], + ["\uD83E\uDEF9\uD83C\uDFFE", "leftwards thumb sign: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF9\uD83C\uDFFF", "leftwards thumb sign: dark skin tone", "People & Body"], + ["\uD83E\uDEFA", "rightwards thumb sign", "People & Body"], + ["\uD83E\uDEFA\uD83C\uDFFB", "rightwards thumb sign: light skin tone", "People & Body"], + ["\uD83E\uDEFA\uD83C\uDFFC", "rightwards thumb sign: medium-light skin tone", "People & Body"], + ["\uD83E\uDEFA\uD83C\uDFFD", "rightwards thumb sign: medium skin tone", "People & Body"], + ["\uD83E\uDEFA\uD83C\uDFFE", "rightwards thumb sign: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEFA\uD83C\uDFFF", "rightwards thumb sign: dark skin tone", "People & Body"], + ["✊", "raised fist", "People & Body"], + ["✊\uD83C\uDFFB", "raised fist: light skin tone", "People & Body"], + ["✊\uD83C\uDFFC", "raised fist: medium-light skin tone", "People & Body"], + ["✊\uD83C\uDFFD", "raised fist: medium skin tone", "People & Body"], + ["✊\uD83C\uDFFE", "raised fist: medium-dark skin tone", "People & Body"], + ["✊\uD83C\uDFFF", "raised fist: dark skin tone", "People & Body"], + ["\uD83D\uDC4A", "oncoming fist", "People & Body"], + ["\uD83D\uDC4A\uD83C\uDFFB", "oncoming fist: light skin tone", "People & Body"], + ["\uD83D\uDC4A\uD83C\uDFFC", "oncoming fist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC4A\uD83C\uDFFD", "oncoming fist: medium skin tone", "People & Body"], + ["\uD83D\uDC4A\uD83C\uDFFE", "oncoming fist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC4A\uD83C\uDFFF", "oncoming fist: dark skin tone", "People & Body"], + ["\uD83E\uDD1B", "left-facing fist", "People & Body"], + ["\uD83E\uDD1B\uD83C\uDFFB", "left-facing fist: light skin tone", "People & Body"], + ["\uD83E\uDD1B\uD83C\uDFFC", "left-facing fist: medium-light skin tone", "People & Body"], + ["\uD83E\uDD1B\uD83C\uDFFD", "left-facing fist: medium skin tone", "People & Body"], + ["\uD83E\uDD1B\uD83C\uDFFE", "left-facing fist: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD1B\uD83C\uDFFF", "left-facing fist: dark skin tone", "People & Body"], + ["\uD83E\uDD1C", "right-facing fist", "People & Body"], + ["\uD83E\uDD1C\uD83C\uDFFB", "right-facing fist: light skin tone", "People & Body"], + ["\uD83E\uDD1C\uD83C\uDFFC", "right-facing fist: medium-light skin tone", "People & Body"], + ["\uD83E\uDD1C\uD83C\uDFFD", "right-facing fist: medium skin tone", "People & Body"], + ["\uD83E\uDD1C\uD83C\uDFFE", "right-facing fist: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD1C\uD83C\uDFFF", "right-facing fist: dark skin tone", "People & Body"], + ["\uD83D\uDC4F", "clapping hands", "People & Body"], + ["\uD83D\uDC4F\uD83C\uDFFB", "clapping hands: light skin tone", "People & Body"], + ["\uD83D\uDC4F\uD83C\uDFFC", "clapping hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDC4F\uD83C\uDFFD", "clapping hands: medium skin tone", "People & Body"], + ["\uD83D\uDC4F\uD83C\uDFFE", "clapping hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC4F\uD83C\uDFFF", "clapping hands: dark skin tone", "People & Body"], + ["\uD83D\uDE4C", "raising hands", "People & Body"], + ["\uD83D\uDE4C\uD83C\uDFFB", "raising hands: light skin tone", "People & Body"], + ["\uD83D\uDE4C\uD83C\uDFFC", "raising hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4C\uD83C\uDFFD", "raising hands: medium skin tone", "People & Body"], + ["\uD83D\uDE4C\uD83C\uDFFE", "raising hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4C\uD83C\uDFFF", "raising hands: dark skin tone", "People & Body"], + ["\uD83E\uDEF6", "heart hands", "People & Body"], + ["\uD83E\uDEF6\uD83C\uDFFB", "heart hands: light skin tone", "People & Body"], + ["\uD83E\uDEF6\uD83C\uDFFC", "heart hands: medium-light skin tone", "People & Body"], + ["\uD83E\uDEF6\uD83C\uDFFD", "heart hands: medium skin tone", "People & Body"], + ["\uD83E\uDEF6\uD83C\uDFFE", "heart hands: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF6\uD83C\uDFFF", "heart hands: dark skin tone", "People & Body"], + ["\uD83D\uDC50", "open hands", "People & Body"], + ["\uD83D\uDC50\uD83C\uDFFB", "open hands: light skin tone", "People & Body"], + ["\uD83D\uDC50\uD83C\uDFFC", "open hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDC50\uD83C\uDFFD", "open hands: medium skin tone", "People & Body"], + ["\uD83D\uDC50\uD83C\uDFFE", "open hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC50\uD83C\uDFFF", "open hands: dark skin tone", "People & Body"], + ["\uD83E\uDD32", "palms up together", "People & Body"], + ["\uD83E\uDD32\uD83C\uDFFB", "palms up together: light skin tone", "People & Body"], + ["\uD83E\uDD32\uD83C\uDFFC", "palms up together: medium-light skin tone", "People & Body"], + ["\uD83E\uDD32\uD83C\uDFFD", "palms up together: medium skin tone", "People & Body"], + ["\uD83E\uDD32\uD83C\uDFFE", "palms up together: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD32\uD83C\uDFFF", "palms up together: dark skin tone", "People & Body"], + ["\uD83E\uDD1D", "handshake", "People & Body"], + ["\uD83E\uDD1D\uD83C\uDFFB", "handshake: light skin tone", "People & Body"], + ["\uD83E\uDD1D\uD83C\uDFFC", "handshake: medium-light skin tone", "People & Body"], + ["\uD83E\uDD1D\uD83C\uDFFD", "handshake: medium skin tone", "People & Body"], + ["\uD83E\uDD1D\uD83C\uDFFE", "handshake: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD1D\uD83C\uDFFF", "handshake: dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFB‍\uD83E\uDEF2\uD83C\uDFFC", "handshake: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFB‍\uD83E\uDEF2\uD83C\uDFFD", "handshake: light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFB‍\uD83E\uDEF2\uD83C\uDFFE", "handshake: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFB‍\uD83E\uDEF2\uD83C\uDFFF", "handshake: light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFC‍\uD83E\uDEF2\uD83C\uDFFB", "handshake: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFC‍\uD83E\uDEF2\uD83C\uDFFD", "handshake: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFC‍\uD83E\uDEF2\uD83C\uDFFE", "handshake: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFC‍\uD83E\uDEF2\uD83C\uDFFF", "handshake: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFD‍\uD83E\uDEF2\uD83C\uDFFB", "handshake: medium skin tone, light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFD‍\uD83E\uDEF2\uD83C\uDFFC", "handshake: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFD‍\uD83E\uDEF2\uD83C\uDFFE", "handshake: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFD‍\uD83E\uDEF2\uD83C\uDFFF", "handshake: medium skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFE‍\uD83E\uDEF2\uD83C\uDFFB", "handshake: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFE‍\uD83E\uDEF2\uD83C\uDFFC", "handshake: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFE‍\uD83E\uDEF2\uD83C\uDFFD", "handshake: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFE‍\uD83E\uDEF2\uD83C\uDFFF", "handshake: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFF‍\uD83E\uDEF2\uD83C\uDFFB", "handshake: dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFF‍\uD83E\uDEF2\uD83C\uDFFC", "handshake: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFF‍\uD83E\uDEF2\uD83C\uDFFD", "handshake: dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDEF1\uD83C\uDFFF‍\uD83E\uDEF2\uD83C\uDFFE", "handshake: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4F", "folded hands", "People & Body"], + ["\uD83D\uDE4F\uD83C\uDFFB", "folded hands: light skin tone", "People & Body"], + ["\uD83D\uDE4F\uD83C\uDFFC", "folded hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4F\uD83C\uDFFD", "folded hands: medium skin tone", "People & Body"], + ["\uD83D\uDE4F\uD83C\uDFFE", "folded hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4F\uD83C\uDFFF", "folded hands: dark skin tone", "People & Body"], + ["✍️", "writing hand", "People & Body"], + ["✍\uD83C\uDFFB", "writing hand: light skin tone", "People & Body"], + ["✍\uD83C\uDFFC", "writing hand: medium-light skin tone", "People & Body"], + ["✍\uD83C\uDFFD", "writing hand: medium skin tone", "People & Body"], + ["✍\uD83C\uDFFE", "writing hand: medium-dark skin tone", "People & Body"], + ["✍\uD83C\uDFFF", "writing hand: dark skin tone", "People & Body"], + ["\uD83D\uDC85", "nail polish", "People & Body"], + ["\uD83D\uDC85\uD83C\uDFFB", "nail polish: light skin tone", "People & Body"], + ["\uD83D\uDC85\uD83C\uDFFC", "nail polish: medium-light skin tone", "People & Body"], + ["\uD83D\uDC85\uD83C\uDFFD", "nail polish: medium skin tone", "People & Body"], + ["\uD83D\uDC85\uD83C\uDFFE", "nail polish: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC85\uD83C\uDFFF", "nail polish: dark skin tone", "People & Body"], + ["\uD83E\uDD33", "selfie", "People & Body"], + ["\uD83E\uDD33\uD83C\uDFFB", "selfie: light skin tone", "People & Body"], + ["\uD83E\uDD33\uD83C\uDFFC", "selfie: medium-light skin tone", "People & Body"], + ["\uD83E\uDD33\uD83C\uDFFD", "selfie: medium skin tone", "People & Body"], + ["\uD83E\uDD33\uD83C\uDFFE", "selfie: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD33\uD83C\uDFFF", "selfie: dark skin tone", "People & Body"], + ["\uD83D\uDCAA", "flexed biceps", "People & Body"], + ["\uD83D\uDCAA\uD83C\uDFFB", "flexed biceps: light skin tone", "People & Body"], + ["\uD83D\uDCAA\uD83C\uDFFC", "flexed biceps: medium-light skin tone", "People & Body"], + ["\uD83D\uDCAA\uD83C\uDFFD", "flexed biceps: medium skin tone", "People & Body"], + ["\uD83D\uDCAA\uD83C\uDFFE", "flexed biceps: medium-dark skin tone", "People & Body"], + ["\uD83D\uDCAA\uD83C\uDFFF", "flexed biceps: dark skin tone", "People & Body"], + ["\uD83E\uDDBE", "mechanical arm", "People & Body"], + ["\uD83E\uDDBF", "mechanical leg", "People & Body"], + ["\uD83E\uDDB5", "leg", "People & Body"], + ["\uD83E\uDDB5\uD83C\uDFFB", "leg: light skin tone", "People & Body"], + ["\uD83E\uDDB5\uD83C\uDFFC", "leg: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB5\uD83C\uDFFD", "leg: medium skin tone", "People & Body"], + ["\uD83E\uDDB5\uD83C\uDFFE", "leg: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB5\uD83C\uDFFF", "leg: dark skin tone", "People & Body"], + ["\uD83E\uDDB6", "foot", "People & Body"], + ["\uD83E\uDDB6\uD83C\uDFFB", "foot: light skin tone", "People & Body"], + ["\uD83E\uDDB6\uD83C\uDFFC", "foot: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB6\uD83C\uDFFD", "foot: medium skin tone", "People & Body"], + ["\uD83E\uDDB6\uD83C\uDFFE", "foot: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB6\uD83C\uDFFF", "foot: dark skin tone", "People & Body"], + ["\uD83D\uDC42", "ear", "People & Body"], + ["\uD83D\uDC42\uD83C\uDFFB", "ear: light skin tone", "People & Body"], + ["\uD83D\uDC42\uD83C\uDFFC", "ear: medium-light skin tone", "People & Body"], + ["\uD83D\uDC42\uD83C\uDFFD", "ear: medium skin tone", "People & Body"], + ["\uD83D\uDC42\uD83C\uDFFE", "ear: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC42\uD83C\uDFFF", "ear: dark skin tone", "People & Body"], + ["\uD83E\uDDBB", "ear with hearing aid", "People & Body"], + ["\uD83E\uDDBB\uD83C\uDFFB", "ear with hearing aid: light skin tone", "People & Body"], + ["\uD83E\uDDBB\uD83C\uDFFC", "ear with hearing aid: medium-light skin tone", "People & Body"], + ["\uD83E\uDDBB\uD83C\uDFFD", "ear with hearing aid: medium skin tone", "People & Body"], + ["\uD83E\uDDBB\uD83C\uDFFE", "ear with hearing aid: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDBB\uD83C\uDFFF", "ear with hearing aid: dark skin tone", "People & Body"], + ["\uD83D\uDC43", "nose", "People & Body"], + ["\uD83D\uDC43\uD83C\uDFFB", "nose: light skin tone", "People & Body"], + ["\uD83D\uDC43\uD83C\uDFFC", "nose: medium-light skin tone", "People & Body"], + ["\uD83D\uDC43\uD83C\uDFFD", "nose: medium skin tone", "People & Body"], + ["\uD83D\uDC43\uD83C\uDFFE", "nose: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC43\uD83C\uDFFF", "nose: dark skin tone", "People & Body"], + ["\uD83E\uDDE0", "brain", "People & Body"], + ["\uD83E\uDEC0", "anatomical heart", "People & Body"], + ["\uD83E\uDEC1", "lungs", "People & Body"], + ["\uD83E\uDDB7", "tooth", "People & Body"], + ["\uD83E\uDDB4", "bone", "People & Body"], + ["\uD83D\uDC40", "eyes", "People & Body"], + ["\uD83D\uDC41️", "eye", "People & Body"], + ["\uD83D\uDC45", "tongue", "People & Body"], + ["\uD83D\uDC44", "mouth", "People & Body"], + ["\uD83E\uDEE6", "biting lip", "People & Body"], + ["\uD83D\uDC76", "baby", "People & Body"], + ["\uD83D\uDC76\uD83C\uDFFB", "baby: light skin tone", "People & Body"], + ["\uD83D\uDC76\uD83C\uDFFC", "baby: medium-light skin tone", "People & Body"], + ["\uD83D\uDC76\uD83C\uDFFD", "baby: medium skin tone", "People & Body"], + ["\uD83D\uDC76\uD83C\uDFFE", "baby: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC76\uD83C\uDFFF", "baby: dark skin tone", "People & Body"], + ["\uD83E\uDDD2", "child", "People & Body"], + ["\uD83E\uDDD2\uD83C\uDFFB", "child: light skin tone", "People & Body"], + ["\uD83E\uDDD2\uD83C\uDFFC", "child: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD2\uD83C\uDFFD", "child: medium skin tone", "People & Body"], + ["\uD83E\uDDD2\uD83C\uDFFE", "child: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD2\uD83C\uDFFF", "child: dark skin tone", "People & Body"], + ["\uD83D\uDC66", "boy", "People & Body"], + ["\uD83D\uDC66\uD83C\uDFFB", "boy: light skin tone", "People & Body"], + ["\uD83D\uDC66\uD83C\uDFFC", "boy: medium-light skin tone", "People & Body"], + ["\uD83D\uDC66\uD83C\uDFFD", "boy: medium skin tone", "People & Body"], + ["\uD83D\uDC66\uD83C\uDFFE", "boy: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC66\uD83C\uDFFF", "boy: dark skin tone", "People & Body"], + ["\uD83D\uDC67", "girl", "People & Body"], + ["\uD83D\uDC67\uD83C\uDFFB", "girl: light skin tone", "People & Body"], + ["\uD83D\uDC67\uD83C\uDFFC", "girl: medium-light skin tone", "People & Body"], + ["\uD83D\uDC67\uD83C\uDFFD", "girl: medium skin tone", "People & Body"], + ["\uD83D\uDC67\uD83C\uDFFE", "girl: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC67\uD83C\uDFFF", "girl: dark skin tone", "People & Body"], + ["\uD83E\uDDD1", "person", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB", "person: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC", "person: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD", "person: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE", "person: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF", "person: dark skin tone", "People & Body"], + ["\uD83D\uDC71", "person: blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFB", "person: light skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFC", "person: medium-light skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFD", "person: medium skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFE", "person: medium-dark skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFF", "person: dark skin tone, blond hair", "People & Body"], + ["\uD83D\uDC68", "man", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB", "man: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC", "man: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD", "man: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE", "man: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF", "man: dark skin tone", "People & Body"], + ["\uD83E\uDDD4", "person: beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFB", "person: light skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFC", "person: medium-light skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFD", "person: medium skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFE", "person: medium-dark skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFF", "person: dark skin tone, beard", "People & Body"], + ["\uD83E\uDDD4‍♂️", "man: beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFB‍♂️", "man: light skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFC‍♂️", "man: medium-light skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFD‍♂️", "man: medium skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFE‍♂️", "man: medium-dark skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFF‍♂️", "man: dark skin tone, beard", "People & Body"], + ["\uD83E\uDDD4‍♀️", "woman: beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFB‍♀️", "woman: light skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFC‍♀️", "woman: medium-light skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFD‍♀️", "woman: medium skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFE‍♀️", "woman: medium-dark skin tone, beard", "People & Body"], + ["\uD83E\uDDD4\uD83C\uDFFF‍♀️", "woman: dark skin tone, beard", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDB0", "man: red hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDB0", "man: light skin tone, red hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDB0", "man: medium-light skin tone, red hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDB0", "man: medium skin tone, red hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDB0", "man: medium-dark skin tone, red hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDB0", "man: dark skin tone, red hair", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDB1", "man: curly hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDB1", "man: light skin tone, curly hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDB1", "man: medium-light skin tone, curly hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDB1", "man: medium skin tone, curly hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDB1", "man: medium-dark skin tone, curly hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDB1", "man: dark skin tone, curly hair", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDB3", "man: white hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDB3", "man: light skin tone, white hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDB3", "man: medium-light skin tone, white hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDB3", "man: medium skin tone, white hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDB3", "man: medium-dark skin tone, white hair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDB3", "man: dark skin tone, white hair", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDB2", "man: bald", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDB2", "man: light skin tone, bald", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDB2", "man: medium-light skin tone, bald", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDB2", "man: medium skin tone, bald", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDB2", "man: medium-dark skin tone, bald", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDB2", "man: dark skin tone, bald", "People & Body"], + ["\uD83D\uDC69", "woman", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB", "woman: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC", "woman: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD", "woman: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE", "woman: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF", "woman: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDB0", "woman: red hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDB0", "woman: light skin tone, red hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDB0", "woman: medium-light skin tone, red hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDB0", "woman: medium skin tone, red hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDB0", "woman: medium-dark skin tone, red hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDB0", "woman: dark skin tone, red hair", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDB0", "person: red hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDB0", "person: light skin tone, red hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDB0", "person: medium-light skin tone, red hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDB0", "person: medium skin tone, red hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDB0", "person: medium-dark skin tone, red hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDB0", "person: dark skin tone, red hair", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDB1", "woman: curly hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDB1", "woman: light skin tone, curly hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDB1", "woman: medium-light skin tone, curly hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDB1", "woman: medium skin tone, curly hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDB1", "woman: medium-dark skin tone, curly hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDB1", "woman: dark skin tone, curly hair", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDB1", "person: curly hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDB1", "person: light skin tone, curly hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDB1", "person: medium-light skin tone, curly hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDB1", "person: medium skin tone, curly hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDB1", "person: medium-dark skin tone, curly hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDB1", "person: dark skin tone, curly hair", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDB3", "woman: white hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDB3", "woman: light skin tone, white hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDB3", "woman: medium-light skin tone, white hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDB3", "woman: medium skin tone, white hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDB3", "woman: medium-dark skin tone, white hair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDB3", "woman: dark skin tone, white hair", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDB3", "person: white hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDB3", "person: light skin tone, white hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDB3", "person: medium-light skin tone, white hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDB3", "person: medium skin tone, white hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDB3", "person: medium-dark skin tone, white hair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDB3", "person: dark skin tone, white hair", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDB2", "woman: bald", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDB2", "woman: light skin tone, bald", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDB2", "woman: medium-light skin tone, bald", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDB2", "woman: medium skin tone, bald", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDB2", "woman: medium-dark skin tone, bald", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDB2", "woman: dark skin tone, bald", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDB2", "person: bald", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDB2", "person: light skin tone, bald", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDB2", "person: medium-light skin tone, bald", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDB2", "person: medium skin tone, bald", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDB2", "person: medium-dark skin tone, bald", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDB2", "person: dark skin tone, bald", "People & Body"], + ["\uD83D\uDC71‍♀️", "woman: blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFB‍♀️", "woman: light skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFC‍♀️", "woman: medium-light skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFD‍♀️", "woman: medium skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFE‍♀️", "woman: medium-dark skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFF‍♀️", "woman: dark skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71‍♂️", "man: blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFB‍♂️", "man: light skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFC‍♂️", "man: medium-light skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFD‍♂️", "man: medium skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFE‍♂️", "man: medium-dark skin tone, blond hair", "People & Body"], + ["\uD83D\uDC71\uD83C\uDFFF‍♂️", "man: dark skin tone, blond hair", "People & Body"], + ["\uD83E\uDDD3", "older person", "People & Body"], + ["\uD83E\uDDD3\uD83C\uDFFB", "older person: light skin tone", "People & Body"], + ["\uD83E\uDDD3\uD83C\uDFFC", "older person: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD3\uD83C\uDFFD", "older person: medium skin tone", "People & Body"], + ["\uD83E\uDDD3\uD83C\uDFFE", "older person: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD3\uD83C\uDFFF", "older person: dark skin tone", "People & Body"], + ["\uD83D\uDC74", "old man", "People & Body"], + ["\uD83D\uDC74\uD83C\uDFFB", "old man: light skin tone", "People & Body"], + ["\uD83D\uDC74\uD83C\uDFFC", "old man: medium-light skin tone", "People & Body"], + ["\uD83D\uDC74\uD83C\uDFFD", "old man: medium skin tone", "People & Body"], + ["\uD83D\uDC74\uD83C\uDFFE", "old man: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC74\uD83C\uDFFF", "old man: dark skin tone", "People & Body"], + ["\uD83D\uDC75", "old woman", "People & Body"], + ["\uD83D\uDC75\uD83C\uDFFB", "old woman: light skin tone", "People & Body"], + ["\uD83D\uDC75\uD83C\uDFFC", "old woman: medium-light skin tone", "People & Body"], + ["\uD83D\uDC75\uD83C\uDFFD", "old woman: medium skin tone", "People & Body"], + ["\uD83D\uDC75\uD83C\uDFFE", "old woman: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC75\uD83C\uDFFF", "old woman: dark skin tone", "People & Body"], + ["\uD83D\uDE4D", "person frowning", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFB", "person frowning: light skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFC", "person frowning: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFD", "person frowning: medium skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFE", "person frowning: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFF", "person frowning: dark skin tone", "People & Body"], + ["\uD83D\uDE4D‍♂️", "man frowning", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFB‍♂️", "man frowning: light skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFC‍♂️", "man frowning: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFD‍♂️", "man frowning: medium skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFE‍♂️", "man frowning: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFF‍♂️", "man frowning: dark skin tone", "People & Body"], + ["\uD83D\uDE4D‍♀️", "woman frowning", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFB‍♀️", "woman frowning: light skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFC‍♀️", "woman frowning: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFD‍♀️", "woman frowning: medium skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFE‍♀️", "woman frowning: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4D\uD83C\uDFFF‍♀️", "woman frowning: dark skin tone", "People & Body"], + ["\uD83D\uDE4E", "person pouting", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFB", "person pouting: light skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFC", "person pouting: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFD", "person pouting: medium skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFE", "person pouting: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFF", "person pouting: dark skin tone", "People & Body"], + ["\uD83D\uDE4E‍♂️", "man pouting", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFB‍♂️", "man pouting: light skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFC‍♂️", "man pouting: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFD‍♂️", "man pouting: medium skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFE‍♂️", "man pouting: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFF‍♂️", "man pouting: dark skin tone", "People & Body"], + ["\uD83D\uDE4E‍♀️", "woman pouting", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFB‍♀️", "woman pouting: light skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFC‍♀️", "woman pouting: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFD‍♀️", "woman pouting: medium skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFE‍♀️", "woman pouting: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4E\uD83C\uDFFF‍♀️", "woman pouting: dark skin tone", "People & Body"], + ["\uD83D\uDE45", "person gesturing NO", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFB", "person gesturing NO: light skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFC", "person gesturing NO: medium-light skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFD", "person gesturing NO: medium skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFE", "person gesturing NO: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFF", "person gesturing NO: dark skin tone", "People & Body"], + ["\uD83D\uDE45‍♂️", "man gesturing NO", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFB‍♂️", "man gesturing NO: light skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFC‍♂️", "man gesturing NO: medium-light skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFD‍♂️", "man gesturing NO: medium skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFE‍♂️", "man gesturing NO: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFF‍♂️", "man gesturing NO: dark skin tone", "People & Body"], + ["\uD83D\uDE45‍♀️", "woman gesturing NO", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFB‍♀️", "woman gesturing NO: light skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFC‍♀️", "woman gesturing NO: medium-light skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFD‍♀️", "woman gesturing NO: medium skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFE‍♀️", "woman gesturing NO: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE45\uD83C\uDFFF‍♀️", "woman gesturing NO: dark skin tone", "People & Body"], + ["\uD83D\uDE46", "person gesturing OK", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFB", "person gesturing OK: light skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFC", "person gesturing OK: medium-light skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFD", "person gesturing OK: medium skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFE", "person gesturing OK: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFF", "person gesturing OK: dark skin tone", "People & Body"], + ["\uD83D\uDE46‍♂️", "man gesturing OK", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFB‍♂️", "man gesturing OK: light skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFC‍♂️", "man gesturing OK: medium-light skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFD‍♂️", "man gesturing OK: medium skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFE‍♂️", "man gesturing OK: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFF‍♂️", "man gesturing OK: dark skin tone", "People & Body"], + ["\uD83D\uDE46‍♀️", "woman gesturing OK", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFB‍♀️", "woman gesturing OK: light skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFC‍♀️", "woman gesturing OK: medium-light skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFD‍♀️", "woman gesturing OK: medium skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFE‍♀️", "woman gesturing OK: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE46\uD83C\uDFFF‍♀️", "woman gesturing OK: dark skin tone", "People & Body"], + ["\uD83D\uDC81", "person tipping hand", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFB", "person tipping hand: light skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFC", "person tipping hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFD", "person tipping hand: medium skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFE", "person tipping hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFF", "person tipping hand: dark skin tone", "People & Body"], + ["\uD83D\uDC81‍♂️", "man tipping hand", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFB‍♂️", "man tipping hand: light skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFC‍♂️", "man tipping hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFD‍♂️", "man tipping hand: medium skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFE‍♂️", "man tipping hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFF‍♂️", "man tipping hand: dark skin tone", "People & Body"], + ["\uD83D\uDC81‍♀️", "woman tipping hand", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFB‍♀️", "woman tipping hand: light skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFC‍♀️", "woman tipping hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFD‍♀️", "woman tipping hand: medium skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFE‍♀️", "woman tipping hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC81\uD83C\uDFFF‍♀️", "woman tipping hand: dark skin tone", "People & Body"], + ["\uD83D\uDE4B", "person raising hand", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFB", "person raising hand: light skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFC", "person raising hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFD", "person raising hand: medium skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFE", "person raising hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFF", "person raising hand: dark skin tone", "People & Body"], + ["\uD83D\uDE4B‍♂️", "man raising hand", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFB‍♂️", "man raising hand: light skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFC‍♂️", "man raising hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFD‍♂️", "man raising hand: medium skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFE‍♂️", "man raising hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFF‍♂️", "man raising hand: dark skin tone", "People & Body"], + ["\uD83D\uDE4B‍♀️", "woman raising hand", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFB‍♀️", "woman raising hand: light skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFC‍♀️", "woman raising hand: medium-light skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFD‍♀️", "woman raising hand: medium skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFE‍♀️", "woman raising hand: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE4B\uD83C\uDFFF‍♀️", "woman raising hand: dark skin tone", "People & Body"], + ["\uD83E\uDDCF", "deaf person", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFB", "deaf person: light skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFC", "deaf person: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFD", "deaf person: medium skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFE", "deaf person: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFF", "deaf person: dark skin tone", "People & Body"], + ["\uD83E\uDDCF‍♂️", "deaf man", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFB‍♂️", "deaf man: light skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFC‍♂️", "deaf man: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFD‍♂️", "deaf man: medium skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFE‍♂️", "deaf man: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFF‍♂️", "deaf man: dark skin tone", "People & Body"], + ["\uD83E\uDDCF‍♀️", "deaf woman", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFB‍♀️", "deaf woman: light skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFC‍♀️", "deaf woman: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFD‍♀️", "deaf woman: medium skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFE‍♀️", "deaf woman: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCF\uD83C\uDFFF‍♀️", "deaf woman: dark skin tone", "People & Body"], + ["\uD83D\uDE47", "person bowing", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFB", "person bowing: light skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFC", "person bowing: medium-light skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFD", "person bowing: medium skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFE", "person bowing: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFF", "person bowing: dark skin tone", "People & Body"], + ["\uD83D\uDE47‍♂️", "man bowing", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFB‍♂️", "man bowing: light skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFC‍♂️", "man bowing: medium-light skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFD‍♂️", "man bowing: medium skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFE‍♂️", "man bowing: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFF‍♂️", "man bowing: dark skin tone", "People & Body"], + ["\uD83D\uDE47‍♀️", "woman bowing", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFB‍♀️", "woman bowing: light skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFC‍♀️", "woman bowing: medium-light skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFD‍♀️", "woman bowing: medium skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFE‍♀️", "woman bowing: medium-dark skin tone", "People & Body"], + ["\uD83D\uDE47\uD83C\uDFFF‍♀️", "woman bowing: dark skin tone", "People & Body"], + ["\uD83E\uDD26", "person facepalming", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFB", "person facepalming: light skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFC", "person facepalming: medium-light skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFD", "person facepalming: medium skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFE", "person facepalming: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFF", "person facepalming: dark skin tone", "People & Body"], + ["\uD83E\uDD26‍♂️", "man facepalming", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFB‍♂️", "man facepalming: light skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFC‍♂️", "man facepalming: medium-light skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFD‍♂️", "man facepalming: medium skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFE‍♂️", "man facepalming: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFF‍♂️", "man facepalming: dark skin tone", "People & Body"], + ["\uD83E\uDD26‍♀️", "woman facepalming", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFB‍♀️", "woman facepalming: light skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFC‍♀️", "woman facepalming: medium-light skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFD‍♀️", "woman facepalming: medium skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFE‍♀️", "woman facepalming: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD26\uD83C\uDFFF‍♀️", "woman facepalming: dark skin tone", "People & Body"], + ["\uD83E\uDD37", "person shrugging", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFB", "person shrugging: light skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFC", "person shrugging: medium-light skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFD", "person shrugging: medium skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFE", "person shrugging: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFF", "person shrugging: dark skin tone", "People & Body"], + ["\uD83E\uDD37‍♂️", "man shrugging", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFB‍♂️", "man shrugging: light skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFC‍♂️", "man shrugging: medium-light skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFD‍♂️", "man shrugging: medium skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFE‍♂️", "man shrugging: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFF‍♂️", "man shrugging: dark skin tone", "People & Body"], + ["\uD83E\uDD37‍♀️", "woman shrugging", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFB‍♀️", "woman shrugging: light skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFC‍♀️", "woman shrugging: medium-light skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFD‍♀️", "woman shrugging: medium skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFE‍♀️", "woman shrugging: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD37\uD83C\uDFFF‍♀️", "woman shrugging: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍⚕️", "health worker", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍⚕️", "health worker: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍⚕️", "health worker: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍⚕️", "health worker: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍⚕️", "health worker: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍⚕️", "health worker: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍⚕️", "man health worker", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍⚕️", "man health worker: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍⚕️", "man health worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍⚕️", "man health worker: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍⚕️", "man health worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍⚕️", "man health worker: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍⚕️", "woman health worker", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍⚕️", "woman health worker: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍⚕️", "woman health worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍⚕️", "woman health worker: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍⚕️", "woman health worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍⚕️", "woman health worker: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDF93", "student", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDF93", "student: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDF93", "student: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDF93", "student: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDF93", "student: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDF93", "student: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDF93", "man student", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDF93", "man student: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDF93", "man student: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDF93", "man student: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDF93", "man student: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDF93", "man student: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDF93", "woman student", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDF93", "woman student: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDF93", "woman student: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDF93", "woman student: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDF93", "woman student: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDF93", "woman student: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDFEB", "teacher", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDFEB", "teacher: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDFEB", "teacher: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDFEB", "teacher: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDFEB", "teacher: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDFEB", "teacher: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDFEB", "man teacher", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDFEB", "man teacher: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDFEB", "man teacher: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDFEB", "man teacher: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDFEB", "man teacher: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDFEB", "man teacher: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDFEB", "woman teacher", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDFEB", "woman teacher: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDFEB", "woman teacher: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDFEB", "woman teacher: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDFEB", "woman teacher: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDFEB", "woman teacher: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍⚖️", "judge", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍⚖️", "judge: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍⚖️", "judge: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍⚖️", "judge: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍⚖️", "judge: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍⚖️", "judge: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍⚖️", "man judge", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍⚖️", "man judge: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍⚖️", "man judge: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍⚖️", "man judge: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍⚖️", "man judge: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍⚖️", "man judge: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍⚖️", "woman judge", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍⚖️", "woman judge: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍⚖️", "woman judge: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍⚖️", "woman judge: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍⚖️", "woman judge: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍⚖️", "woman judge: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDF3E", "farmer", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDF3E", "farmer: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDF3E", "farmer: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDF3E", "farmer: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDF3E", "farmer: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDF3E", "farmer: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDF3E", "man farmer", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDF3E", "man farmer: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDF3E", "man farmer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDF3E", "man farmer: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDF3E", "man farmer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDF3E", "man farmer: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDF3E", "woman farmer", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDF3E", "woman farmer: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDF3E", "woman farmer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDF3E", "woman farmer: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDF3E", "woman farmer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDF3E", "woman farmer: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDF73", "cook", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDF73", "cook: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDF73", "cook: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDF73", "cook: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDF73", "cook: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDF73", "cook: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDF73", "man cook", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDF73", "man cook: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDF73", "man cook: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDF73", "man cook: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDF73", "man cook: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDF73", "man cook: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDF73", "woman cook", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDF73", "woman cook: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDF73", "woman cook: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDF73", "woman cook: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDF73", "woman cook: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDF73", "woman cook: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83D\uDD27", "mechanic", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDD27", "mechanic: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDD27", "mechanic: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDD27", "mechanic: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDD27", "mechanic: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDD27", "mechanic: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDD27", "man mechanic", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDD27", "man mechanic: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDD27", "man mechanic: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDD27", "man mechanic: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDD27", "man mechanic: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDD27", "man mechanic: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDD27", "woman mechanic", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDD27", "woman mechanic: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDD27", "woman mechanic: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDD27", "woman mechanic: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDD27", "woman mechanic: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDD27", "woman mechanic: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDFED", "factory worker", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDFED", "factory worker: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDFED", "factory worker: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDFED", "factory worker: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDFED", "factory worker: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDFED", "factory worker: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDFED", "man factory worker", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDFED", "man factory worker: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDFED", "man factory worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDFED", "man factory worker: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDFED", "man factory worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDFED", "man factory worker: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDFED", "woman factory worker", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDFED", "woman factory worker: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDFED", "woman factory worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDFED", "woman factory worker: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDFED", "woman factory worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDFED", "woman factory worker: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83D\uDCBC", "office worker", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDCBC", "office worker: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDCBC", "office worker: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDCBC", "office worker: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDCBC", "office worker: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDCBC", "office worker: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDCBC", "man office worker", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDCBC", "man office worker: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDCBC", "man office worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDCBC", "man office worker: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDCBC", "man office worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDCBC", "man office worker: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDCBC", "woman office worker", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDCBC", "woman office worker: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDCBC", "woman office worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDCBC", "woman office worker: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDCBC", "woman office worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDCBC", "woman office worker: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83D\uDD2C", "scientist", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDD2C", "scientist: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDD2C", "scientist: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDD2C", "scientist: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDD2C", "scientist: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDD2C", "scientist: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDD2C", "man scientist", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDD2C", "man scientist: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDD2C", "man scientist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDD2C", "man scientist: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDD2C", "man scientist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDD2C", "man scientist: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDD2C", "woman scientist", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDD2C", "woman scientist: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDD2C", "woman scientist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDD2C", "woman scientist: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDD2C", "woman scientist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDD2C", "woman scientist: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83D\uDCBB", "technologist", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDCBB", "technologist: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDCBB", "technologist: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDCBB", "technologist: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDCBB", "technologist: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDCBB", "technologist: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDCBB", "man technologist", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDCBB", "man technologist: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDCBB", "man technologist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDCBB", "man technologist: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDCBB", "man technologist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDCBB", "man technologist: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDCBB", "woman technologist", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDCBB", "woman technologist: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDCBB", "woman technologist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDCBB", "woman technologist: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDCBB", "woman technologist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDCBB", "woman technologist: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDFA4", "singer", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDFA4", "singer: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDFA4", "singer: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDFA4", "singer: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDFA4", "singer: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDFA4", "singer: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDFA4", "man singer", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDFA4", "man singer: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDFA4", "man singer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDFA4", "man singer: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDFA4", "man singer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDFA4", "man singer: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDFA4", "woman singer", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDFA4", "woman singer: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDFA4", "woman singer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDFA4", "woman singer: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDFA4", "woman singer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDFA4", "woman singer: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDFA8", "artist", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDFA8", "artist: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDFA8", "artist: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDFA8", "artist: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDFA8", "artist: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDFA8", "artist: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDFA8", "man artist", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDFA8", "man artist: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDFA8", "man artist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDFA8", "man artist: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDFA8", "man artist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDFA8", "man artist: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDFA8", "woman artist", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDFA8", "woman artist: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDFA8", "woman artist: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDFA8", "woman artist: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDFA8", "woman artist: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDFA8", "woman artist: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍✈️", "pilot", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍✈️", "pilot: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍✈️", "pilot: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍✈️", "pilot: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍✈️", "pilot: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍✈️", "pilot: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍✈️", "man pilot", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍✈️", "man pilot: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍✈️", "man pilot: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍✈️", "man pilot: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍✈️", "man pilot: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍✈️", "man pilot: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍✈️", "woman pilot", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍✈️", "woman pilot: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍✈️", "woman pilot: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍✈️", "woman pilot: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍✈️", "woman pilot: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍✈️", "woman pilot: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83D\uDE80", "astronaut", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDE80", "astronaut: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDE80", "astronaut: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDE80", "astronaut: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDE80", "astronaut: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDE80", "astronaut: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDE80", "man astronaut", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDE80", "man astronaut: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDE80", "man astronaut: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDE80", "man astronaut: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDE80", "man astronaut: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDE80", "man astronaut: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDE80", "woman astronaut", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDE80", "woman astronaut: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDE80", "woman astronaut: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDE80", "woman astronaut: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDE80", "woman astronaut: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDE80", "woman astronaut: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83D\uDE92", "firefighter", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDE92", "firefighter: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDE92", "firefighter: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDE92", "firefighter: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDE92", "firefighter: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDE92", "firefighter: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDE92", "man firefighter", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDE92", "man firefighter: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDE92", "man firefighter: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDE92", "man firefighter: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDE92", "man firefighter: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDE92", "man firefighter: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDE92", "woman firefighter", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDE92", "woman firefighter: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDE92", "woman firefighter: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDE92", "woman firefighter: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDE92", "woman firefighter: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDE92", "woman firefighter: dark skin tone", "People & Body"], + ["\uD83D\uDC6E", "police officer", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFB", "police officer: light skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFC", "police officer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFD", "police officer: medium skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFE", "police officer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFF", "police officer: dark skin tone", "People & Body"], + ["\uD83D\uDC6E‍♂️", "man police officer", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFB‍♂️", "man police officer: light skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFC‍♂️", "man police officer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFD‍♂️", "man police officer: medium skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFE‍♂️", "man police officer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFF‍♂️", "man police officer: dark skin tone", "People & Body"], + ["\uD83D\uDC6E‍♀️", "woman police officer", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFB‍♀️", "woman police officer: light skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFC‍♀️", "woman police officer: medium-light skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFD‍♀️", "woman police officer: medium skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFE‍♀️", "woman police officer: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6E\uD83C\uDFFF‍♀️", "woman police officer: dark skin tone", "People & Body"], + ["\uD83D\uDD75️", "detective", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFB", "detective: light skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFC", "detective: medium-light skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFD", "detective: medium skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFE", "detective: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFF", "detective: dark skin tone", "People & Body"], + ["\uD83D\uDD75️‍♂️", "man detective", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFB‍♂️", "man detective: light skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFC‍♂️", "man detective: medium-light skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFD‍♂️", "man detective: medium skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFE‍♂️", "man detective: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFF‍♂️", "man detective: dark skin tone", "People & Body"], + ["\uD83D\uDD75️‍♀️", "woman detective", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFB‍♀️", "woman detective: light skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFC‍♀️", "woman detective: medium-light skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFD‍♀️", "woman detective: medium skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFE‍♀️", "woman detective: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD75\uD83C\uDFFF‍♀️", "woman detective: dark skin tone", "People & Body"], + ["\uD83D\uDC82", "guard", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFB", "guard: light skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFC", "guard: medium-light skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFD", "guard: medium skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFE", "guard: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFF", "guard: dark skin tone", "People & Body"], + ["\uD83D\uDC82‍♂️", "man guard", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFB‍♂️", "man guard: light skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFC‍♂️", "man guard: medium-light skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFD‍♂️", "man guard: medium skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFE‍♂️", "man guard: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFF‍♂️", "man guard: dark skin tone", "People & Body"], + ["\uD83D\uDC82‍♀️", "woman guard", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFB‍♀️", "woman guard: light skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFC‍♀️", "woman guard: medium-light skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFD‍♀️", "woman guard: medium skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFE‍♀️", "woman guard: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC82\uD83C\uDFFF‍♀️", "woman guard: dark skin tone", "People & Body"], + ["\uD83E\uDD77", "ninja", "People & Body"], + ["\uD83E\uDD77\uD83C\uDFFB", "ninja: light skin tone", "People & Body"], + ["\uD83E\uDD77\uD83C\uDFFC", "ninja: medium-light skin tone", "People & Body"], + ["\uD83E\uDD77\uD83C\uDFFD", "ninja: medium skin tone", "People & Body"], + ["\uD83E\uDD77\uD83C\uDFFE", "ninja: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD77\uD83C\uDFFF", "ninja: dark skin tone", "People & Body"], + ["\uD83D\uDC77", "construction worker", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFB", "construction worker: light skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFC", "construction worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFD", "construction worker: medium skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFE", "construction worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFF", "construction worker: dark skin tone", "People & Body"], + ["\uD83D\uDC77‍♂️", "man construction worker", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFB‍♂️", "man construction worker: light skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFC‍♂️", "man construction worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFD‍♂️", "man construction worker: medium skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFE‍♂️", "man construction worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFF‍♂️", "man construction worker: dark skin tone", "People & Body"], + ["\uD83D\uDC77‍♀️", "woman construction worker", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFB‍♀️", "woman construction worker: light skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFC‍♀️", "woman construction worker: medium-light skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFD‍♀️", "woman construction worker: medium skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFE‍♀️", "woman construction worker: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC77\uD83C\uDFFF‍♀️", "woman construction worker: dark skin tone", "People & Body"], + ["\uD83E\uDEC5", "person with crown", "People & Body"], + ["\uD83E\uDEC5\uD83C\uDFFB", "person with crown: light skin tone", "People & Body"], + ["\uD83E\uDEC5\uD83C\uDFFC", "person with crown: medium-light skin tone", "People & Body"], + ["\uD83E\uDEC5\uD83C\uDFFD", "person with crown: medium skin tone", "People & Body"], + ["\uD83E\uDEC5\uD83C\uDFFE", "person with crown: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEC5\uD83C\uDFFF", "person with crown: dark skin tone", "People & Body"], + ["\uD83E\uDD34", "prince", "People & Body"], + ["\uD83E\uDD34\uD83C\uDFFB", "prince: light skin tone", "People & Body"], + ["\uD83E\uDD34\uD83C\uDFFC", "prince: medium-light skin tone", "People & Body"], + ["\uD83E\uDD34\uD83C\uDFFD", "prince: medium skin tone", "People & Body"], + ["\uD83E\uDD34\uD83C\uDFFE", "prince: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD34\uD83C\uDFFF", "prince: dark skin tone", "People & Body"], + ["\uD83D\uDC78", "princess", "People & Body"], + ["\uD83D\uDC78\uD83C\uDFFB", "princess: light skin tone", "People & Body"], + ["\uD83D\uDC78\uD83C\uDFFC", "princess: medium-light skin tone", "People & Body"], + ["\uD83D\uDC78\uD83C\uDFFD", "princess: medium skin tone", "People & Body"], + ["\uD83D\uDC78\uD83C\uDFFE", "princess: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC78\uD83C\uDFFF", "princess: dark skin tone", "People & Body"], + ["\uD83D\uDC73", "person wearing turban", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFB", "person wearing turban: light skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFC", "person wearing turban: medium-light skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFD", "person wearing turban: medium skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFE", "person wearing turban: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFF", "person wearing turban: dark skin tone", "People & Body"], + ["\uD83D\uDC73‍♂️", "man wearing turban", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFB‍♂️", "man wearing turban: light skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFC‍♂️", "man wearing turban: medium-light skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFD‍♂️", "man wearing turban: medium skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFE‍♂️", "man wearing turban: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFF‍♂️", "man wearing turban: dark skin tone", "People & Body"], + ["\uD83D\uDC73‍♀️", "woman wearing turban", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFB‍♀️", "woman wearing turban: light skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFC‍♀️", "woman wearing turban: medium-light skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFD‍♀️", "woman wearing turban: medium skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFE‍♀️", "woman wearing turban: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC73\uD83C\uDFFF‍♀️", "woman wearing turban: dark skin tone", "People & Body"], + ["\uD83D\uDC72", "person with skullcap", "People & Body"], + ["\uD83D\uDC72\uD83C\uDFFB", "person with skullcap: light skin tone", "People & Body"], + ["\uD83D\uDC72\uD83C\uDFFC", "person with skullcap: medium-light skin tone", "People & Body"], + ["\uD83D\uDC72\uD83C\uDFFD", "person with skullcap: medium skin tone", "People & Body"], + ["\uD83D\uDC72\uD83C\uDFFE", "person with skullcap: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC72\uD83C\uDFFF", "person with skullcap: dark skin tone", "People & Body"], + ["\uD83E\uDDD5", "woman with headscarf", "People & Body"], + ["\uD83E\uDDD5\uD83C\uDFFB", "woman with headscarf: light skin tone", "People & Body"], + ["\uD83E\uDDD5\uD83C\uDFFC", "woman with headscarf: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD5\uD83C\uDFFD", "woman with headscarf: medium skin tone", "People & Body"], + ["\uD83E\uDDD5\uD83C\uDFFE", "woman with headscarf: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD5\uD83C\uDFFF", "woman with headscarf: dark skin tone", "People & Body"], + ["\uD83E\uDD35", "person in tuxedo", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFB", "person in tuxedo: light skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFC", "person in tuxedo: medium-light skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFD", "person in tuxedo: medium skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFE", "person in tuxedo: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFF", "person in tuxedo: dark skin tone", "People & Body"], + ["\uD83E\uDD35‍♂️", "man in tuxedo", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFB‍♂️", "man in tuxedo: light skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFC‍♂️", "man in tuxedo: medium-light skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFD‍♂️", "man in tuxedo: medium skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFE‍♂️", "man in tuxedo: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFF‍♂️", "man in tuxedo: dark skin tone", "People & Body"], + ["\uD83E\uDD35‍♀️", "woman in tuxedo", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFB‍♀️", "woman in tuxedo: light skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFC‍♀️", "woman in tuxedo: medium-light skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFD‍♀️", "woman in tuxedo: medium skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFE‍♀️", "woman in tuxedo: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD35\uD83C\uDFFF‍♀️", "woman in tuxedo: dark skin tone", "People & Body"], + ["\uD83D\uDC70", "person with veil", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFB", "person with veil: light skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFC", "person with veil: medium-light skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFD", "person with veil: medium skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFE", "person with veil: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFF", "person with veil: dark skin tone", "People & Body"], + ["\uD83D\uDC70‍♂️", "man with veil", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFB‍♂️", "man with veil: light skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFC‍♂️", "man with veil: medium-light skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFD‍♂️", "man with veil: medium skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFE‍♂️", "man with veil: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFF‍♂️", "man with veil: dark skin tone", "People & Body"], + ["\uD83D\uDC70‍♀️", "woman with veil", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFB‍♀️", "woman with veil: light skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFC‍♀️", "woman with veil: medium-light skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFD‍♀️", "woman with veil: medium skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFE‍♀️", "woman with veil: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC70\uD83C\uDFFF‍♀️", "woman with veil: dark skin tone", "People & Body"], + ["\uD83E\uDD30", "pregnant woman", "People & Body"], + ["\uD83E\uDD30\uD83C\uDFFB", "pregnant woman: light skin tone", "People & Body"], + ["\uD83E\uDD30\uD83C\uDFFC", "pregnant woman: medium-light skin tone", "People & Body"], + ["\uD83E\uDD30\uD83C\uDFFD", "pregnant woman: medium skin tone", "People & Body"], + ["\uD83E\uDD30\uD83C\uDFFE", "pregnant woman: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD30\uD83C\uDFFF", "pregnant woman: dark skin tone", "People & Body"], + ["\uD83E\uDEC3", "pregnant man", "People & Body"], + ["\uD83E\uDEC3\uD83C\uDFFB", "pregnant man: light skin tone", "People & Body"], + ["\uD83E\uDEC3\uD83C\uDFFC", "pregnant man: medium-light skin tone", "People & Body"], + ["\uD83E\uDEC3\uD83C\uDFFD", "pregnant man: medium skin tone", "People & Body"], + ["\uD83E\uDEC3\uD83C\uDFFE", "pregnant man: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEC3\uD83C\uDFFF", "pregnant man: dark skin tone", "People & Body"], + ["\uD83E\uDEC4", "pregnant person", "People & Body"], + ["\uD83E\uDEC4\uD83C\uDFFB", "pregnant person: light skin tone", "People & Body"], + ["\uD83E\uDEC4\uD83C\uDFFC", "pregnant person: medium-light skin tone", "People & Body"], + ["\uD83E\uDEC4\uD83C\uDFFD", "pregnant person: medium skin tone", "People & Body"], + ["\uD83E\uDEC4\uD83C\uDFFE", "pregnant person: medium-dark skin tone", "People & Body"], + ["\uD83E\uDEC4\uD83C\uDFFF", "pregnant person: dark skin tone", "People & Body"], + ["\uD83E\uDD31", "breast-feeding", "People & Body"], + ["\uD83E\uDD31\uD83C\uDFFB", "breast-feeding: light skin tone", "People & Body"], + ["\uD83E\uDD31\uD83C\uDFFC", "breast-feeding: medium-light skin tone", "People & Body"], + ["\uD83E\uDD31\uD83C\uDFFD", "breast-feeding: medium skin tone", "People & Body"], + ["\uD83E\uDD31\uD83C\uDFFE", "breast-feeding: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD31\uD83C\uDFFF", "breast-feeding: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83C\uDF7C", "woman feeding baby", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83C\uDF7C", "woman feeding baby: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83C\uDF7C", "woman feeding baby: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83C\uDF7C", "woman feeding baby: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83C\uDF7C", "woman feeding baby: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83C\uDF7C", "woman feeding baby: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83C\uDF7C", "man feeding baby", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83C\uDF7C", "man feeding baby: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83C\uDF7C", "man feeding baby: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83C\uDF7C", "man feeding baby: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83C\uDF7C", "man feeding baby: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83C\uDF7C", "man feeding baby: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDF7C", "person feeding baby", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDF7C", "person feeding baby: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDF7C", "person feeding baby: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDF7C", "person feeding baby: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDF7C", "person feeding baby: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDF7C", "person feeding baby: dark skin tone", "People & Body"], + ["\uD83D\uDC7C", "baby angel", "People & Body"], + ["\uD83D\uDC7C\uD83C\uDFFB", "baby angel: light skin tone", "People & Body"], + ["\uD83D\uDC7C\uD83C\uDFFC", "baby angel: medium-light skin tone", "People & Body"], + ["\uD83D\uDC7C\uD83C\uDFFD", "baby angel: medium skin tone", "People & Body"], + ["\uD83D\uDC7C\uD83C\uDFFE", "baby angel: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC7C\uD83C\uDFFF", "baby angel: dark skin tone", "People & Body"], + ["\uD83C\uDF85", "Santa Claus", "People & Body"], + ["\uD83C\uDF85\uD83C\uDFFB", "Santa Claus: light skin tone", "People & Body"], + ["\uD83C\uDF85\uD83C\uDFFC", "Santa Claus: medium-light skin tone", "People & Body"], + ["\uD83C\uDF85\uD83C\uDFFD", "Santa Claus: medium skin tone", "People & Body"], + ["\uD83C\uDF85\uD83C\uDFFE", "Santa Claus: medium-dark skin tone", "People & Body"], + ["\uD83C\uDF85\uD83C\uDFFF", "Santa Claus: dark skin tone", "People & Body"], + ["\uD83E\uDD36", "Mrs. Claus", "People & Body"], + ["\uD83E\uDD36\uD83C\uDFFB", "Mrs. Claus: light skin tone", "People & Body"], + ["\uD83E\uDD36\uD83C\uDFFC", "Mrs. Claus: medium-light skin tone", "People & Body"], + ["\uD83E\uDD36\uD83C\uDFFD", "Mrs. Claus: medium skin tone", "People & Body"], + ["\uD83E\uDD36\uD83C\uDFFE", "Mrs. Claus: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD36\uD83C\uDFFF", "Mrs. Claus: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83C\uDF84", "Mx Claus", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83C\uDF84", "Mx Claus: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83C\uDF84", "Mx Claus: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83C\uDF84", "Mx Claus: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83C\uDF84", "Mx Claus: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83C\uDF84", "Mx Claus: dark skin tone", "People & Body"], + ["\uD83E\uDDB8", "superhero", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFB", "superhero: light skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFC", "superhero: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFD", "superhero: medium skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFE", "superhero: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFF", "superhero: dark skin tone", "People & Body"], + ["\uD83E\uDDB8‍♂️", "man superhero", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFB‍♂️", "man superhero: light skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFC‍♂️", "man superhero: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFD‍♂️", "man superhero: medium skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFE‍♂️", "man superhero: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFF‍♂️", "man superhero: dark skin tone", "People & Body"], + ["\uD83E\uDDB8‍♀️", "woman superhero", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFB‍♀️", "woman superhero: light skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFC‍♀️", "woman superhero: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFD‍♀️", "woman superhero: medium skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFE‍♀️", "woman superhero: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB8\uD83C\uDFFF‍♀️", "woman superhero: dark skin tone", "People & Body"], + ["\uD83E\uDDB9", "supervillain", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFB", "supervillain: light skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFC", "supervillain: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFD", "supervillain: medium skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFE", "supervillain: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFF", "supervillain: dark skin tone", "People & Body"], + ["\uD83E\uDDB9‍♂️", "man supervillain", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFB‍♂️", "man supervillain: light skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFC‍♂️", "man supervillain: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFD‍♂️", "man supervillain: medium skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFE‍♂️", "man supervillain: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFF‍♂️", "man supervillain: dark skin tone", "People & Body"], + ["\uD83E\uDDB9‍♀️", "woman supervillain", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFB‍♀️", "woman supervillain: light skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFC‍♀️", "woman supervillain: medium-light skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFD‍♀️", "woman supervillain: medium skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFE‍♀️", "woman supervillain: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDB9\uD83C\uDFFF‍♀️", "woman supervillain: dark skin tone", "People & Body"], + ["\uD83E\uDDD9", "mage", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFB", "mage: light skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFC", "mage: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFD", "mage: medium skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFE", "mage: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFF", "mage: dark skin tone", "People & Body"], + ["\uD83E\uDDD9‍♂️", "man mage", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFB‍♂️", "man mage: light skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFC‍♂️", "man mage: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFD‍♂️", "man mage: medium skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFE‍♂️", "man mage: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFF‍♂️", "man mage: dark skin tone", "People & Body"], + ["\uD83E\uDDD9‍♀️", "woman mage", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFB‍♀️", "woman mage: light skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFC‍♀️", "woman mage: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFD‍♀️", "woman mage: medium skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFE‍♀️", "woman mage: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD9\uD83C\uDFFF‍♀️", "woman mage: dark skin tone", "People & Body"], + ["\uD83E\uDDDA", "fairy", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFB", "fairy: light skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFC", "fairy: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFD", "fairy: medium skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFE", "fairy: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFF", "fairy: dark skin tone", "People & Body"], + ["\uD83E\uDDDA‍♂️", "man fairy", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFB‍♂️", "man fairy: light skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFC‍♂️", "man fairy: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFD‍♂️", "man fairy: medium skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFE‍♂️", "man fairy: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFF‍♂️", "man fairy: dark skin tone", "People & Body"], + ["\uD83E\uDDDA‍♀️", "woman fairy", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFB‍♀️", "woman fairy: light skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFC‍♀️", "woman fairy: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFD‍♀️", "woman fairy: medium skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFE‍♀️", "woman fairy: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDA\uD83C\uDFFF‍♀️", "woman fairy: dark skin tone", "People & Body"], + ["\uD83E\uDDDB", "vampire", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFB", "vampire: light skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFC", "vampire: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFD", "vampire: medium skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFE", "vampire: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFF", "vampire: dark skin tone", "People & Body"], + ["\uD83E\uDDDB‍♂️", "man vampire", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFB‍♂️", "man vampire: light skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFC‍♂️", "man vampire: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFD‍♂️", "man vampire: medium skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFE‍♂️", "man vampire: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFF‍♂️", "man vampire: dark skin tone", "People & Body"], + ["\uD83E\uDDDB‍♀️", "woman vampire", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFB‍♀️", "woman vampire: light skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFC‍♀️", "woman vampire: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFD‍♀️", "woman vampire: medium skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFE‍♀️", "woman vampire: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDB\uD83C\uDFFF‍♀️", "woman vampire: dark skin tone", "People & Body"], + ["\uD83E\uDDDC", "merperson", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFB", "merperson: light skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFC", "merperson: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFD", "merperson: medium skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFE", "merperson: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFF", "merperson: dark skin tone", "People & Body"], + ["\uD83E\uDDDC‍♂️", "merman", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFB‍♂️", "merman: light skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFC‍♂️", "merman: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFD‍♂️", "merman: medium skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFE‍♂️", "merman: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFF‍♂️", "merman: dark skin tone", "People & Body"], + ["\uD83E\uDDDC‍♀️", "mermaid", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFB‍♀️", "mermaid: light skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFC‍♀️", "mermaid: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFD‍♀️", "mermaid: medium skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFE‍♀️", "mermaid: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDC\uD83C\uDFFF‍♀️", "mermaid: dark skin tone", "People & Body"], + ["\uD83E\uDDDD", "elf", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFB", "elf: light skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFC", "elf: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFD", "elf: medium skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFE", "elf: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFF", "elf: dark skin tone", "People & Body"], + ["\uD83E\uDDDD‍♂️", "man elf", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFB‍♂️", "man elf: light skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFC‍♂️", "man elf: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFD‍♂️", "man elf: medium skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFE‍♂️", "man elf: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFF‍♂️", "man elf: dark skin tone", "People & Body"], + ["\uD83E\uDDDD‍♀️", "woman elf", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFB‍♀️", "woman elf: light skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFC‍♀️", "woman elf: medium-light skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFD‍♀️", "woman elf: medium skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFE‍♀️", "woman elf: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDDD\uD83C\uDFFF‍♀️", "woman elf: dark skin tone", "People & Body"], + ["\uD83E\uDDDE", "genie", "People & Body"], + ["\uD83E\uDDDE‍♂️", "man genie", "People & Body"], + ["\uD83E\uDDDE‍♀️", "woman genie", "People & Body"], + ["\uD83E\uDDDF", "zombie", "People & Body"], + ["\uD83E\uDDDF‍♂️", "man zombie", "People & Body"], + ["\uD83E\uDDDF‍♀️", "woman zombie", "People & Body"], + ["\uD83E\uDDCC", "troll", "People & Body"], + ["\uD83E\uDEC8", "hairy creature", "People & Body"], + ["\uD83D\uDC86", "person getting massage", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFB", "person getting massage: light skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFC", "person getting massage: medium-light skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFD", "person getting massage: medium skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFE", "person getting massage: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFF", "person getting massage: dark skin tone", "People & Body"], + ["\uD83D\uDC86‍♂️", "man getting massage", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFB‍♂️", "man getting massage: light skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFC‍♂️", "man getting massage: medium-light skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFD‍♂️", "man getting massage: medium skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFE‍♂️", "man getting massage: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFF‍♂️", "man getting massage: dark skin tone", "People & Body"], + ["\uD83D\uDC86‍♀️", "woman getting massage", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFB‍♀️", "woman getting massage: light skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFC‍♀️", "woman getting massage: medium-light skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFD‍♀️", "woman getting massage: medium skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFE‍♀️", "woman getting massage: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC86\uD83C\uDFFF‍♀️", "woman getting massage: dark skin tone", "People & Body"], + ["\uD83D\uDC87", "person getting haircut", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFB", "person getting haircut: light skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFC", "person getting haircut: medium-light skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFD", "person getting haircut: medium skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFE", "person getting haircut: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFF", "person getting haircut: dark skin tone", "People & Body"], + ["\uD83D\uDC87‍♂️", "man getting haircut", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFB‍♂️", "man getting haircut: light skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFC‍♂️", "man getting haircut: medium-light skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFD‍♂️", "man getting haircut: medium skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFE‍♂️", "man getting haircut: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFF‍♂️", "man getting haircut: dark skin tone", "People & Body"], + ["\uD83D\uDC87‍♀️", "woman getting haircut", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFB‍♀️", "woman getting haircut: light skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFC‍♀️", "woman getting haircut: medium-light skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFD‍♀️", "woman getting haircut: medium skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFE‍♀️", "woman getting haircut: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC87\uD83C\uDFFF‍♀️", "woman getting haircut: dark skin tone", "People & Body"], + ["\uD83D\uDEB6", "person walking", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFB", "person walking: light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFC", "person walking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFD", "person walking: medium skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFE", "person walking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFF", "person walking: dark skin tone", "People & Body"], + ["\uD83D\uDEB6‍♂️", "man walking", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFB‍♂️", "man walking: light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFC‍♂️", "man walking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFD‍♂️", "man walking: medium skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFE‍♂️", "man walking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFF‍♂️", "man walking: dark skin tone", "People & Body"], + ["\uD83D\uDEB6‍♀️", "woman walking", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFB‍♀️", "woman walking: light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFC‍♀️", "woman walking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFD‍♀️", "woman walking: medium skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFE‍♀️", "woman walking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFF‍♀️", "woman walking: dark skin tone", "People & Body"], + ["\uD83D\uDEB6‍➡️", "person walking facing right", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFB‍➡️", "person walking facing right: light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFC‍➡️", "person walking facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFD‍➡️", "person walking facing right: medium skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFE‍➡️", "person walking facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFF‍➡️", "person walking facing right: dark skin tone", "People & Body"], + ["\uD83D\uDEB6‍♀️‍➡️", "woman walking facing right", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFB‍♀️‍➡️", "woman walking facing right: light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFC‍♀️‍➡️", "woman walking facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFD‍♀️‍➡️", "woman walking facing right: medium skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFE‍♀️‍➡️", "woman walking facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFF‍♀️‍➡️", "woman walking facing right: dark skin tone", "People & Body"], + ["\uD83D\uDEB6‍♂️‍➡️", "man walking facing right", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFB‍♂️‍➡️", "man walking facing right: light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFC‍♂️‍➡️", "man walking facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFD‍♂️‍➡️", "man walking facing right: medium skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFE‍♂️‍➡️", "man walking facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB6\uD83C\uDFFF‍♂️‍➡️", "man walking facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDCD", "person standing", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFB", "person standing: light skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFC", "person standing: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFD", "person standing: medium skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFE", "person standing: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFF", "person standing: dark skin tone", "People & Body"], + ["\uD83E\uDDCD‍♂️", "man standing", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFB‍♂️", "man standing: light skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFC‍♂️", "man standing: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFD‍♂️", "man standing: medium skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFE‍♂️", "man standing: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFF‍♂️", "man standing: dark skin tone", "People & Body"], + ["\uD83E\uDDCD‍♀️", "woman standing", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFB‍♀️", "woman standing: light skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFC‍♀️", "woman standing: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFD‍♀️", "woman standing: medium skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFE‍♀️", "woman standing: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCD\uD83C\uDFFF‍♀️", "woman standing: dark skin tone", "People & Body"], + ["\uD83E\uDDCE", "person kneeling", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFB", "person kneeling: light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFC", "person kneeling: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFD", "person kneeling: medium skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFE", "person kneeling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFF", "person kneeling: dark skin tone", "People & Body"], + ["\uD83E\uDDCE‍♂️", "man kneeling", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFB‍♂️", "man kneeling: light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFC‍♂️", "man kneeling: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFD‍♂️", "man kneeling: medium skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFE‍♂️", "man kneeling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFF‍♂️", "man kneeling: dark skin tone", "People & Body"], + ["\uD83E\uDDCE‍♀️", "woman kneeling", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFB‍♀️", "woman kneeling: light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFC‍♀️", "woman kneeling: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFD‍♀️", "woman kneeling: medium skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFE‍♀️", "woman kneeling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFF‍♀️", "woman kneeling: dark skin tone", "People & Body"], + ["\uD83E\uDDCE‍➡️", "person kneeling facing right", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFB‍➡️", "person kneeling facing right: light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFC‍➡️", "person kneeling facing right: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFD‍➡️", "person kneeling facing right: medium skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFE‍➡️", "person kneeling facing right: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFF‍➡️", "person kneeling facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDCE‍♀️‍➡️", "woman kneeling facing right", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFB‍♀️‍➡️", "woman kneeling facing right: light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFC‍♀️‍➡️", "woman kneeling facing right: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFD‍♀️‍➡️", "woman kneeling facing right: medium skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFE‍♀️‍➡️", "woman kneeling facing right: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFF‍♀️‍➡️", "woman kneeling facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDCE‍♂️‍➡️", "man kneeling facing right", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFB‍♂️‍➡️", "man kneeling facing right: light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFC‍♂️‍➡️", "man kneeling facing right: medium-light skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFD‍♂️‍➡️", "man kneeling facing right: medium skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFE‍♂️‍➡️", "man kneeling facing right: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDCE\uD83C\uDFFF‍♂️‍➡️", "man kneeling facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDAF", "person with white cane", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDAF", "person with white cane: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDAF", "person with white cane: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDAF", "person with white cane: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDAF", "person with white cane: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDAF", "person with white cane: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDAF‍➡️", "person with white cane facing right", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDAF‍➡️", "person with white cane facing right: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDAF‍➡️", "person with white cane facing right: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDAF‍➡️", "person with white cane facing right: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDAF‍➡️", "person with white cane facing right: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDAF‍➡️", "person with white cane facing right: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDAF", "man with white cane", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDAF", "man with white cane: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDAF", "man with white cane: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDAF", "man with white cane: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDAF", "man with white cane: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDAF", "man with white cane: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDAF‍➡️", "man with white cane facing right", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDAF‍➡️", "man with white cane facing right: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDAF‍➡️", "man with white cane facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDAF‍➡️", "man with white cane facing right: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDAF‍➡️", "man with white cane facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDAF‍➡️", "man with white cane facing right: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDAF", "woman with white cane", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDAF", "woman with white cane: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDAF", "woman with white cane: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDAF", "woman with white cane: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDAF", "woman with white cane: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDAF", "woman with white cane: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDAF‍➡️", "woman with white cane facing right", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDAF‍➡️", "woman with white cane facing right: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDAF‍➡️", "woman with white cane facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDAF‍➡️", "woman with white cane facing right: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDAF‍➡️", "woman with white cane facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDAF‍➡️", "woman with white cane facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDBC", "person in motorized wheelchair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDBC", "person in motorized wheelchair: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDBC", "person in motorized wheelchair: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDBC", "person in motorized wheelchair: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDBC", "person in motorized wheelchair: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDBC", "person in motorized wheelchair: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDBC‍➡️", "person in motorized wheelchair facing right", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDBC‍➡️", "person in motorized wheelchair facing right: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDBC‍➡️", "person in motorized wheelchair facing right: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDBC‍➡️", "person in motorized wheelchair facing right: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDBC‍➡️", "person in motorized wheelchair facing right: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDBC‍➡️", "person in motorized wheelchair facing right: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDBC", "man in motorized wheelchair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDBC", "man in motorized wheelchair: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDBC", "man in motorized wheelchair: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDBC", "man in motorized wheelchair: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDBC", "man in motorized wheelchair: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDBC", "man in motorized wheelchair: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDBC‍➡️", "man in motorized wheelchair facing right", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDBC‍➡️", "man in motorized wheelchair facing right: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDBC‍➡️", "man in motorized wheelchair facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDBC‍➡️", "man in motorized wheelchair facing right: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDBC‍➡️", "man in motorized wheelchair facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDBC‍➡️", "man in motorized wheelchair facing right: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDBC", "woman in motorized wheelchair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDBC", "woman in motorized wheelchair: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDBC", "woman in motorized wheelchair: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDBC", "woman in motorized wheelchair: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDBC", "woman in motorized wheelchair: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDBC", "woman in motorized wheelchair: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDBC‍➡️", "woman in motorized wheelchair facing right", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDBC‍➡️", "woman in motorized wheelchair facing right: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDBC‍➡️", "woman in motorized wheelchair facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDBC‍➡️", "woman in motorized wheelchair facing right: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDBC‍➡️", "woman in motorized wheelchair facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDBC‍➡️", "woman in motorized wheelchair facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDBD", "person in manual wheelchair", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDBD", "person in manual wheelchair: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDBD", "person in manual wheelchair: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDBD", "person in manual wheelchair: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDBD", "person in manual wheelchair: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDBD", "person in manual wheelchair: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDBD‍➡️", "person in manual wheelchair facing right", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDDBD‍➡️", "person in manual wheelchair facing right: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDDBD‍➡️", "person in manual wheelchair facing right: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDDBD‍➡️", "person in manual wheelchair facing right: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDDBD‍➡️", "person in manual wheelchair facing right: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDDBD‍➡️", "person in manual wheelchair facing right: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDBD", "man in manual wheelchair", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDBD", "man in manual wheelchair: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDBD", "man in manual wheelchair: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDBD", "man in manual wheelchair: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDBD", "man in manual wheelchair: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDBD", "man in manual wheelchair: dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83E\uDDBD‍➡️", "man in manual wheelchair facing right", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDDBD‍➡️", "man in manual wheelchair facing right: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDDBD‍➡️", "man in manual wheelchair facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDDBD‍➡️", "man in manual wheelchair facing right: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDDBD‍➡️", "man in manual wheelchair facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDDBD‍➡️", "man in manual wheelchair facing right: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDBD", "woman in manual wheelchair", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDBD", "woman in manual wheelchair: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDBD", "woman in manual wheelchair: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDBD", "woman in manual wheelchair: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDBD", "woman in manual wheelchair: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDBD", "woman in manual wheelchair: dark skin tone", "People & Body"], + ["\uD83D\uDC69‍\uD83E\uDDBD‍➡️", "woman in manual wheelchair facing right", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDDBD‍➡️", "woman in manual wheelchair facing right: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDDBD‍➡️", "woman in manual wheelchair facing right: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDDBD‍➡️", "woman in manual wheelchair facing right: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDDBD‍➡️", "woman in manual wheelchair facing right: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDDBD‍➡️", "woman in manual wheelchair facing right: dark skin tone", "People & Body"], + ["\uD83C\uDFC3", "person running", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFB", "person running: light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFC", "person running: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFD", "person running: medium skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFE", "person running: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFF", "person running: dark skin tone", "People & Body"], + ["\uD83C\uDFC3‍♂️", "man running", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFB‍♂️", "man running: light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFC‍♂️", "man running: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFD‍♂️", "man running: medium skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFE‍♂️", "man running: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFF‍♂️", "man running: dark skin tone", "People & Body"], + ["\uD83C\uDFC3‍♀️", "woman running", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFB‍♀️", "woman running: light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFC‍♀️", "woman running: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFD‍♀️", "woman running: medium skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFE‍♀️", "woman running: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFF‍♀️", "woman running: dark skin tone", "People & Body"], + ["\uD83C\uDFC3‍➡️", "person running facing right", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFB‍➡️", "person running facing right: light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFC‍➡️", "person running facing right: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFD‍➡️", "person running facing right: medium skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFE‍➡️", "person running facing right: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFF‍➡️", "person running facing right: dark skin tone", "People & Body"], + ["\uD83C\uDFC3‍♀️‍➡️", "woman running facing right", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFB‍♀️‍➡️", "woman running facing right: light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFC‍♀️‍➡️", "woman running facing right: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFD‍♀️‍➡️", "woman running facing right: medium skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFE‍♀️‍➡️", "woman running facing right: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFF‍♀️‍➡️", "woman running facing right: dark skin tone", "People & Body"], + ["\uD83C\uDFC3‍♂️‍➡️", "man running facing right", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFB‍♂️‍➡️", "man running facing right: light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFC‍♂️‍➡️", "man running facing right: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFD‍♂️‍➡️", "man running facing right: medium skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFE‍♂️‍➡️", "man running facing right: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC3\uD83C\uDFFF‍♂️‍➡️", "man running facing right: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDE70", "ballet dancer", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDE70", "ballet dancer: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDE70", "ballet dancer: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDE70", "ballet dancer: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDE70", "ballet dancer: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDE70", "ballet dancer: dark skin tone", "People & Body"], + ["\uD83D\uDC83", "woman dancing", "People & Body"], + ["\uD83D\uDC83\uD83C\uDFFB", "woman dancing: light skin tone", "People & Body"], + ["\uD83D\uDC83\uD83C\uDFFC", "woman dancing: medium-light skin tone", "People & Body"], + ["\uD83D\uDC83\uD83C\uDFFD", "woman dancing: medium skin tone", "People & Body"], + ["\uD83D\uDC83\uD83C\uDFFE", "woman dancing: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC83\uD83C\uDFFF", "woman dancing: dark skin tone", "People & Body"], + ["\uD83D\uDD7A", "man dancing", "People & Body"], + ["\uD83D\uDD7A\uD83C\uDFFB", "man dancing: light skin tone", "People & Body"], + ["\uD83D\uDD7A\uD83C\uDFFC", "man dancing: medium-light skin tone", "People & Body"], + ["\uD83D\uDD7A\uD83C\uDFFD", "man dancing: medium skin tone", "People & Body"], + ["\uD83D\uDD7A\uD83C\uDFFE", "man dancing: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD7A\uD83C\uDFFF", "man dancing: dark skin tone", "People & Body"], + ["\uD83D\uDD74️", "person in suit levitating", "People & Body"], + ["\uD83D\uDD74\uD83C\uDFFB", "person in suit levitating: light skin tone", "People & Body"], + ["\uD83D\uDD74\uD83C\uDFFC", "person in suit levitating: medium-light skin tone", "People & Body"], + ["\uD83D\uDD74\uD83C\uDFFD", "person in suit levitating: medium skin tone", "People & Body"], + ["\uD83D\uDD74\uD83C\uDFFE", "person in suit levitating: medium-dark skin tone", "People & Body"], + ["\uD83D\uDD74\uD83C\uDFFF", "person in suit levitating: dark skin tone", "People & Body"], + ["\uD83D\uDC6F", "people with bunny ears", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFB", "people with bunny ears: light skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFC", "people with bunny ears: medium-light skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFD", "people with bunny ears: medium skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFE", "people with bunny ears: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFF", "people with bunny ears: dark skin tone", "People & Body"], + ["\uD83D\uDC6F‍♂️", "men with bunny ears", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFB‍♂️", "men with bunny ears: light skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFC‍♂️", "men with bunny ears: medium-light skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFD‍♂️", "men with bunny ears: medium skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFE‍♂️", "men with bunny ears: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFF‍♂️", "men with bunny ears: dark skin tone", "People & Body"], + ["\uD83D\uDC6F‍♀️", "women with bunny ears", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFB‍♀️", "women with bunny ears: light skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFC‍♀️", "women with bunny ears: medium-light skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFD‍♀️", "women with bunny ears: medium skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFE‍♀️", "women with bunny ears: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6F\uD83C\uDFFF‍♀️", "women with bunny ears: dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFC", "people with bunny ears: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFD", "people with bunny ears: light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFE", "people with bunny ears: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFF", "people with bunny ears: light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFB", "people with bunny ears: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFD", "people with bunny ears: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFE", "people with bunny ears: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFF", "people with bunny ears: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFB", "people with bunny ears: medium skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFC", "people with bunny ears: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFE", "people with bunny ears: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFF", "people with bunny ears: medium skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFB", "people with bunny ears: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFC", "people with bunny ears: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFD", "people with bunny ears: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFF", "people with bunny ears: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFB", "people with bunny ears: dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFC", "people with bunny ears: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFD", "people with bunny ears: dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83D\uDC30‍\uD83E\uDDD1\uD83C\uDFFE", "people with bunny ears: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFC", "men with bunny ears: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFD", "men with bunny ears: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFE", "men with bunny ears: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFF", "men with bunny ears: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFB", "men with bunny ears: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFD", "men with bunny ears: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFE", "men with bunny ears: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFF", "men with bunny ears: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFB", "men with bunny ears: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFC", "men with bunny ears: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFE", "men with bunny ears: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFF", "men with bunny ears: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFB", "men with bunny ears: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFC", "men with bunny ears: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFD", "men with bunny ears: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFF", "men with bunny ears: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFB", "men with bunny ears: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFC", "men with bunny ears: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFD", "men with bunny ears: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC68\uD83C\uDFFE", "men with bunny ears: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFC", "women with bunny ears: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFD", "women with bunny ears: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFE", "women with bunny ears: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFF", "women with bunny ears: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFB", "women with bunny ears: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFD", "women with bunny ears: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFE", "women with bunny ears: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFF", "women with bunny ears: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFB", "women with bunny ears: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFC", "women with bunny ears: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFE", "women with bunny ears: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFF", "women with bunny ears: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFB", "women with bunny ears: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFC", "women with bunny ears: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFD", "women with bunny ears: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFF", "women with bunny ears: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFB", "women with bunny ears: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFC", "women with bunny ears: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFD", "women with bunny ears: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83D\uDC30‍\uD83D\uDC69\uD83C\uDFFE", "women with bunny ears: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD6", "person in steamy room", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFB", "person in steamy room: light skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFC", "person in steamy room: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFD", "person in steamy room: medium skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFE", "person in steamy room: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFF", "person in steamy room: dark skin tone", "People & Body"], + ["\uD83E\uDDD6‍♂️", "man in steamy room", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFB‍♂️", "man in steamy room: light skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFC‍♂️", "man in steamy room: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFD‍♂️", "man in steamy room: medium skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFE‍♂️", "man in steamy room: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFF‍♂️", "man in steamy room: dark skin tone", "People & Body"], + ["\uD83E\uDDD6‍♀️", "woman in steamy room", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFB‍♀️", "woman in steamy room: light skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFC‍♀️", "woman in steamy room: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFD‍♀️", "woman in steamy room: medium skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFE‍♀️", "woman in steamy room: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD6\uD83C\uDFFF‍♀️", "woman in steamy room: dark skin tone", "People & Body"], + ["\uD83E\uDDD7", "person climbing", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFB", "person climbing: light skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFC", "person climbing: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFD", "person climbing: medium skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFE", "person climbing: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFF", "person climbing: dark skin tone", "People & Body"], + ["\uD83E\uDDD7‍♂️", "man climbing", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFB‍♂️", "man climbing: light skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFC‍♂️", "man climbing: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFD‍♂️", "man climbing: medium skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFE‍♂️", "man climbing: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFF‍♂️", "man climbing: dark skin tone", "People & Body"], + ["\uD83E\uDDD7‍♀️", "woman climbing", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFB‍♀️", "woman climbing: light skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFC‍♀️", "woman climbing: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFD‍♀️", "woman climbing: medium skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFE‍♀️", "woman climbing: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD7\uD83C\uDFFF‍♀️", "woman climbing: dark skin tone", "People & Body"], + ["\uD83E\uDD3A", "person fencing", "People & Body"], + ["\uD83C\uDFC7", "horse racing", "People & Body"], + ["\uD83C\uDFC7\uD83C\uDFFB", "horse racing: light skin tone", "People & Body"], + ["\uD83C\uDFC7\uD83C\uDFFC", "horse racing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC7\uD83C\uDFFD", "horse racing: medium skin tone", "People & Body"], + ["\uD83C\uDFC7\uD83C\uDFFE", "horse racing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC7\uD83C\uDFFF", "horse racing: dark skin tone", "People & Body"], + ["⛷️", "skier", "People & Body"], + ["\uD83C\uDFC2", "snowboarder", "People & Body"], + ["\uD83C\uDFC2\uD83C\uDFFB", "snowboarder: light skin tone", "People & Body"], + ["\uD83C\uDFC2\uD83C\uDFFC", "snowboarder: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC2\uD83C\uDFFD", "snowboarder: medium skin tone", "People & Body"], + ["\uD83C\uDFC2\uD83C\uDFFE", "snowboarder: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC2\uD83C\uDFFF", "snowboarder: dark skin tone", "People & Body"], + ["\uD83C\uDFCC️", "person golfing", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFB", "person golfing: light skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFC", "person golfing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFD", "person golfing: medium skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFE", "person golfing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFF", "person golfing: dark skin tone", "People & Body"], + ["\uD83C\uDFCC️‍♂️", "man golfing", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFB‍♂️", "man golfing: light skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFC‍♂️", "man golfing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFD‍♂️", "man golfing: medium skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFE‍♂️", "man golfing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFF‍♂️", "man golfing: dark skin tone", "People & Body"], + ["\uD83C\uDFCC️‍♀️", "woman golfing", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFB‍♀️", "woman golfing: light skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFC‍♀️", "woman golfing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFD‍♀️", "woman golfing: medium skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFE‍♀️", "woman golfing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCC\uD83C\uDFFF‍♀️", "woman golfing: dark skin tone", "People & Body"], + ["\uD83C\uDFC4", "person surfing", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFB", "person surfing: light skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFC", "person surfing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFD", "person surfing: medium skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFE", "person surfing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFF", "person surfing: dark skin tone", "People & Body"], + ["\uD83C\uDFC4‍♂️", "man surfing", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFB‍♂️", "man surfing: light skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFC‍♂️", "man surfing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFD‍♂️", "man surfing: medium skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFE‍♂️", "man surfing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFF‍♂️", "man surfing: dark skin tone", "People & Body"], + ["\uD83C\uDFC4‍♀️", "woman surfing", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFB‍♀️", "woman surfing: light skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFC‍♀️", "woman surfing: medium-light skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFD‍♀️", "woman surfing: medium skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFE‍♀️", "woman surfing: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFC4\uD83C\uDFFF‍♀️", "woman surfing: dark skin tone", "People & Body"], + ["\uD83D\uDEA3", "person rowing boat", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFB", "person rowing boat: light skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFC", "person rowing boat: medium-light skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFD", "person rowing boat: medium skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFE", "person rowing boat: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFF", "person rowing boat: dark skin tone", "People & Body"], + ["\uD83D\uDEA3‍♂️", "man rowing boat", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFB‍♂️", "man rowing boat: light skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFC‍♂️", "man rowing boat: medium-light skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFD‍♂️", "man rowing boat: medium skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFE‍♂️", "man rowing boat: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFF‍♂️", "man rowing boat: dark skin tone", "People & Body"], + ["\uD83D\uDEA3‍♀️", "woman rowing boat", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFB‍♀️", "woman rowing boat: light skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFC‍♀️", "woman rowing boat: medium-light skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFD‍♀️", "woman rowing boat: medium skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFE‍♀️", "woman rowing boat: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEA3\uD83C\uDFFF‍♀️", "woman rowing boat: dark skin tone", "People & Body"], + ["\uD83C\uDFCA", "person swimming", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFB", "person swimming: light skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFC", "person swimming: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFD", "person swimming: medium skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFE", "person swimming: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFF", "person swimming: dark skin tone", "People & Body"], + ["\uD83C\uDFCA‍♂️", "man swimming", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFB‍♂️", "man swimming: light skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFC‍♂️", "man swimming: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFD‍♂️", "man swimming: medium skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFE‍♂️", "man swimming: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFF‍♂️", "man swimming: dark skin tone", "People & Body"], + ["\uD83C\uDFCA‍♀️", "woman swimming", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFB‍♀️", "woman swimming: light skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFC‍♀️", "woman swimming: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFD‍♀️", "woman swimming: medium skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFE‍♀️", "woman swimming: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCA\uD83C\uDFFF‍♀️", "woman swimming: dark skin tone", "People & Body"], + ["⛹️", "person bouncing ball", "People & Body"], + ["⛹\uD83C\uDFFB", "person bouncing ball: light skin tone", "People & Body"], + ["⛹\uD83C\uDFFC", "person bouncing ball: medium-light skin tone", "People & Body"], + ["⛹\uD83C\uDFFD", "person bouncing ball: medium skin tone", "People & Body"], + ["⛹\uD83C\uDFFE", "person bouncing ball: medium-dark skin tone", "People & Body"], + ["⛹\uD83C\uDFFF", "person bouncing ball: dark skin tone", "People & Body"], + ["⛹️‍♂️", "man bouncing ball", "People & Body"], + ["⛹\uD83C\uDFFB‍♂️", "man bouncing ball: light skin tone", "People & Body"], + ["⛹\uD83C\uDFFC‍♂️", "man bouncing ball: medium-light skin tone", "People & Body"], + ["⛹\uD83C\uDFFD‍♂️", "man bouncing ball: medium skin tone", "People & Body"], + ["⛹\uD83C\uDFFE‍♂️", "man bouncing ball: medium-dark skin tone", "People & Body"], + ["⛹\uD83C\uDFFF‍♂️", "man bouncing ball: dark skin tone", "People & Body"], + ["⛹️‍♀️", "woman bouncing ball", "People & Body"], + ["⛹\uD83C\uDFFB‍♀️", "woman bouncing ball: light skin tone", "People & Body"], + ["⛹\uD83C\uDFFC‍♀️", "woman bouncing ball: medium-light skin tone", "People & Body"], + ["⛹\uD83C\uDFFD‍♀️", "woman bouncing ball: medium skin tone", "People & Body"], + ["⛹\uD83C\uDFFE‍♀️", "woman bouncing ball: medium-dark skin tone", "People & Body"], + ["⛹\uD83C\uDFFF‍♀️", "woman bouncing ball: dark skin tone", "People & Body"], + ["\uD83C\uDFCB️", "person lifting weights", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFB", "person lifting weights: light skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFC", "person lifting weights: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFD", "person lifting weights: medium skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFE", "person lifting weights: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFF", "person lifting weights: dark skin tone", "People & Body"], + ["\uD83C\uDFCB️‍♂️", "man lifting weights", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFB‍♂️", "man lifting weights: light skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFC‍♂️", "man lifting weights: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFD‍♂️", "man lifting weights: medium skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFE‍♂️", "man lifting weights: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFF‍♂️", "man lifting weights: dark skin tone", "People & Body"], + ["\uD83C\uDFCB️‍♀️", "woman lifting weights", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFB‍♀️", "woman lifting weights: light skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFC‍♀️", "woman lifting weights: medium-light skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFD‍♀️", "woman lifting weights: medium skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFE‍♀️", "woman lifting weights: medium-dark skin tone", "People & Body"], + ["\uD83C\uDFCB\uD83C\uDFFF‍♀️", "woman lifting weights: dark skin tone", "People & Body"], + ["\uD83D\uDEB4", "person biking", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFB", "person biking: light skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFC", "person biking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFD", "person biking: medium skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFE", "person biking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFF", "person biking: dark skin tone", "People & Body"], + ["\uD83D\uDEB4‍♂️", "man biking", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFB‍♂️", "man biking: light skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFC‍♂️", "man biking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFD‍♂️", "man biking: medium skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFE‍♂️", "man biking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFF‍♂️", "man biking: dark skin tone", "People & Body"], + ["\uD83D\uDEB4‍♀️", "woman biking", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFB‍♀️", "woman biking: light skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFC‍♀️", "woman biking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFD‍♀️", "woman biking: medium skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFE‍♀️", "woman biking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB4\uD83C\uDFFF‍♀️", "woman biking: dark skin tone", "People & Body"], + ["\uD83D\uDEB5", "person mountain biking", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFB", "person mountain biking: light skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFC", "person mountain biking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFD", "person mountain biking: medium skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFE", "person mountain biking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFF", "person mountain biking: dark skin tone", "People & Body"], + ["\uD83D\uDEB5‍♂️", "man mountain biking", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFB‍♂️", "man mountain biking: light skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFC‍♂️", "man mountain biking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFD‍♂️", "man mountain biking: medium skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFE‍♂️", "man mountain biking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFF‍♂️", "man mountain biking: dark skin tone", "People & Body"], + ["\uD83D\uDEB5‍♀️", "woman mountain biking", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFB‍♀️", "woman mountain biking: light skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFC‍♀️", "woman mountain biking: medium-light skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFD‍♀️", "woman mountain biking: medium skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFE‍♀️", "woman mountain biking: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEB5\uD83C\uDFFF‍♀️", "woman mountain biking: dark skin tone", "People & Body"], + ["\uD83E\uDD38", "person cartwheeling", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFB", "person cartwheeling: light skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFC", "person cartwheeling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFD", "person cartwheeling: medium skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFE", "person cartwheeling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFF", "person cartwheeling: dark skin tone", "People & Body"], + ["\uD83E\uDD38‍♂️", "man cartwheeling", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFB‍♂️", "man cartwheeling: light skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFC‍♂️", "man cartwheeling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFD‍♂️", "man cartwheeling: medium skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFE‍♂️", "man cartwheeling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFF‍♂️", "man cartwheeling: dark skin tone", "People & Body"], + ["\uD83E\uDD38‍♀️", "woman cartwheeling", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFB‍♀️", "woman cartwheeling: light skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFC‍♀️", "woman cartwheeling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFD‍♀️", "woman cartwheeling: medium skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFE‍♀️", "woman cartwheeling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD38\uD83C\uDFFF‍♀️", "woman cartwheeling: dark skin tone", "People & Body"], + ["\uD83E\uDD3C", "people wrestling", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFB", "people wrestling: light skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFC", "people wrestling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFD", "people wrestling: medium skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFE", "people wrestling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFF", "people wrestling: dark skin tone", "People & Body"], + ["\uD83E\uDD3C‍♂️", "men wrestling", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFB‍♂️", "men wrestling: light skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFC‍♂️", "men wrestling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFD‍♂️", "men wrestling: medium skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFE‍♂️", "men wrestling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFF‍♂️", "men wrestling: dark skin tone", "People & Body"], + ["\uD83E\uDD3C‍♀️", "women wrestling", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFB‍♀️", "women wrestling: light skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFC‍♀️", "women wrestling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFD‍♀️", "women wrestling: medium skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFE‍♀️", "women wrestling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3C\uD83C\uDFFF‍♀️", "women wrestling: dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFC", "people wrestling: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFD", "people wrestling: light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFE", "people wrestling: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFF", "people wrestling: light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFB", "people wrestling: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFD", "people wrestling: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFE", "people wrestling: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFF", "people wrestling: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFB", "people wrestling: medium skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFC", "people wrestling: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFE", "people wrestling: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFF", "people wrestling: medium skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFB", "people wrestling: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFC", "people wrestling: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFD", "people wrestling: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFF", "people wrestling: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFB", "people wrestling: dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFC", "people wrestling: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFD", "people wrestling: dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83E\uDDD1\uD83C\uDFFE", "people wrestling: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFC", "men wrestling: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFD", "men wrestling: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFE", "men wrestling: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFF", "men wrestling: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFB", "men wrestling: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFD", "men wrestling: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFE", "men wrestling: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFF", "men wrestling: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFB", "men wrestling: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFC", "men wrestling: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFE", "men wrestling: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFF", "men wrestling: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFB", "men wrestling: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFC", "men wrestling: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFD", "men wrestling: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFF", "men wrestling: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFB", "men wrestling: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFC", "men wrestling: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFD", "men wrestling: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC68\uD83C\uDFFE", "men wrestling: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFC", "women wrestling: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFD", "women wrestling: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFE", "women wrestling: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFF", "women wrestling: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFB", "women wrestling: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFD", "women wrestling: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFE", "women wrestling: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFF", "women wrestling: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFB", "women wrestling: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFC", "women wrestling: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFE", "women wrestling: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFF", "women wrestling: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFB", "women wrestling: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFC", "women wrestling: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFD", "women wrestling: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFF", "women wrestling: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFB", "women wrestling: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFC", "women wrestling: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFD", "women wrestling: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDEEF‍\uD83D\uDC69\uD83C\uDFFE", "women wrestling: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3D", "person playing water polo", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFB", "person playing water polo: light skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFC", "person playing water polo: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFD", "person playing water polo: medium skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFE", "person playing water polo: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFF", "person playing water polo: dark skin tone", "People & Body"], + ["\uD83E\uDD3D‍♂️", "man playing water polo", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFB‍♂️", "man playing water polo: light skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFC‍♂️", "man playing water polo: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFD‍♂️", "man playing water polo: medium skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFE‍♂️", "man playing water polo: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFF‍♂️", "man playing water polo: dark skin tone", "People & Body"], + ["\uD83E\uDD3D‍♀️", "woman playing water polo", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFB‍♀️", "woman playing water polo: light skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFC‍♀️", "woman playing water polo: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFD‍♀️", "woman playing water polo: medium skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFE‍♀️", "woman playing water polo: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3D\uD83C\uDFFF‍♀️", "woman playing water polo: dark skin tone", "People & Body"], + ["\uD83E\uDD3E", "person playing handball", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFB", "person playing handball: light skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFC", "person playing handball: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFD", "person playing handball: medium skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFE", "person playing handball: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFF", "person playing handball: dark skin tone", "People & Body"], + ["\uD83E\uDD3E‍♂️", "man playing handball", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFB‍♂️", "man playing handball: light skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFC‍♂️", "man playing handball: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFD‍♂️", "man playing handball: medium skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFE‍♂️", "man playing handball: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFF‍♂️", "man playing handball: dark skin tone", "People & Body"], + ["\uD83E\uDD3E‍♀️", "woman playing handball", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFB‍♀️", "woman playing handball: light skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFC‍♀️", "woman playing handball: medium-light skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFD‍♀️", "woman playing handball: medium skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFE‍♀️", "woman playing handball: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD3E\uD83C\uDFFF‍♀️", "woman playing handball: dark skin tone", "People & Body"], + ["\uD83E\uDD39", "person juggling", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFB", "person juggling: light skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFC", "person juggling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFD", "person juggling: medium skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFE", "person juggling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFF", "person juggling: dark skin tone", "People & Body"], + ["\uD83E\uDD39‍♂️", "man juggling", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFB‍♂️", "man juggling: light skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFC‍♂️", "man juggling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFD‍♂️", "man juggling: medium skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFE‍♂️", "man juggling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFF‍♂️", "man juggling: dark skin tone", "People & Body"], + ["\uD83E\uDD39‍♀️", "woman juggling", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFB‍♀️", "woman juggling: light skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFC‍♀️", "woman juggling: medium-light skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFD‍♀️", "woman juggling: medium skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFE‍♀️", "woman juggling: medium-dark skin tone", "People & Body"], + ["\uD83E\uDD39\uD83C\uDFFF‍♀️", "woman juggling: dark skin tone", "People & Body"], + ["\uD83E\uDDD8", "person in lotus position", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFB", "person in lotus position: light skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFC", "person in lotus position: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFD", "person in lotus position: medium skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFE", "person in lotus position: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFF", "person in lotus position: dark skin tone", "People & Body"], + ["\uD83E\uDDD8‍♂️", "man in lotus position", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFB‍♂️", "man in lotus position: light skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFC‍♂️", "man in lotus position: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFD‍♂️", "man in lotus position: medium skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFE‍♂️", "man in lotus position: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFF‍♂️", "man in lotus position: dark skin tone", "People & Body"], + ["\uD83E\uDDD8‍♀️", "woman in lotus position", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFB‍♀️", "woman in lotus position: light skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFC‍♀️", "woman in lotus position: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFD‍♀️", "woman in lotus position: medium skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFE‍♀️", "woman in lotus position: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD8\uD83C\uDFFF‍♀️", "woman in lotus position: dark skin tone", "People & Body"], + ["\uD83D\uDEC0", "person taking bath", "People & Body"], + ["\uD83D\uDEC0\uD83C\uDFFB", "person taking bath: light skin tone", "People & Body"], + ["\uD83D\uDEC0\uD83C\uDFFC", "person taking bath: medium-light skin tone", "People & Body"], + ["\uD83D\uDEC0\uD83C\uDFFD", "person taking bath: medium skin tone", "People & Body"], + ["\uD83D\uDEC0\uD83C\uDFFE", "person taking bath: medium-dark skin tone", "People & Body"], + ["\uD83D\uDEC0\uD83C\uDFFF", "person taking bath: dark skin tone", "People & Body"], + ["\uD83D\uDECC", "person in bed", "People & Body"], + ["\uD83D\uDECC\uD83C\uDFFB", "person in bed: light skin tone", "People & Body"], + ["\uD83D\uDECC\uD83C\uDFFC", "person in bed: medium-light skin tone", "People & Body"], + ["\uD83D\uDECC\uD83C\uDFFD", "person in bed: medium skin tone", "People & Body"], + ["\uD83D\uDECC\uD83C\uDFFE", "person in bed: medium-dark skin tone", "People & Body"], + ["\uD83D\uDECC\uD83C\uDFFF", "person in bed: dark skin tone", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDD1D‍\uD83E\uDDD1", "people holding hands", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFB", "people holding hands: light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFC", "people holding hands: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFD", "people holding hands: light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFE", "people holding hands: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFF", "people holding hands: light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFB", "people holding hands: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFC", "people holding hands: medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFD", "people holding hands: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFE", "people holding hands: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFF", "people holding hands: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFB", "people holding hands: medium skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFC", "people holding hands: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFD", "people holding hands: medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFE", "people holding hands: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFF", "people holding hands: medium skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFB", "people holding hands: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFC", "people holding hands: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFD", "people holding hands: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFE", "people holding hands: medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFF", "people holding hands: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFB", "people holding hands: dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFC", "people holding hands: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFD", "people holding hands: dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFE", "people holding hands: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83E\uDDD1\uD83C\uDFFF", "people holding hands: dark skin tone", "People & Body"], + ["\uD83D\uDC6D", "women holding hands", "People & Body"], + ["\uD83D\uDC6D\uD83C\uDFFB", "women holding hands: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFC", "women holding hands: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFD", "women holding hands: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFE", "women holding hands: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFF", "women holding hands: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFB", "women holding hands: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC6D\uD83C\uDFFC", "women holding hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFD", "women holding hands: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFE", "women holding hands: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFF", "women holding hands: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFB", "women holding hands: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFC", "women holding hands: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC6D\uD83C\uDFFD", "women holding hands: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFE", "women holding hands: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFF", "women holding hands: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFB", "women holding hands: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFC", "women holding hands: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFD", "women holding hands: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC6D\uD83C\uDFFE", "women holding hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFF", "women holding hands: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFB", "women holding hands: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFC", "women holding hands: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFD", "women holding hands: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC69\uD83C\uDFFE", "women holding hands: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6D\uD83C\uDFFF", "women holding hands: dark skin tone", "People & Body"], + ["\uD83D\uDC6B", "woman and man holding hands", "People & Body"], + ["\uD83D\uDC6B\uD83C\uDFFB", "woman and man holding hands: light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "woman and man holding hands: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "woman and man holding hands: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "woman and man holding hands: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "woman and man holding hands: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "woman and man holding hands: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC6B\uD83C\uDFFC", "woman and man holding hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "woman and man holding hands: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "woman and man holding hands: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "woman and man holding hands: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "woman and man holding hands: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "woman and man holding hands: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC6B\uD83C\uDFFD", "woman and man holding hands: medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "woman and man holding hands: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "woman and man holding hands: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "woman and man holding hands: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "woman and man holding hands: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "woman and man holding hands: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC6B\uD83C\uDFFE", "woman and man holding hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "woman and man holding hands: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "woman and man holding hands: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "woman and man holding hands: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "woman and man holding hands: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "woman and man holding hands: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6B\uD83C\uDFFF", "woman and man holding hands: dark skin tone", "People & Body"], + ["\uD83D\uDC6C", "men holding hands", "People & Body"], + ["\uD83D\uDC6C\uD83C\uDFFB", "men holding hands: light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "men holding hands: light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "men holding hands: light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "men holding hands: light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "men holding hands: light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "men holding hands: medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC6C\uD83C\uDFFC", "men holding hands: medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "men holding hands: medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "men holding hands: medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "men holding hands: medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "men holding hands: medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "men holding hands: medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC6C\uD83C\uDFFD", "men holding hands: medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "men holding hands: medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "men holding hands: medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "men holding hands: medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "men holding hands: medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "men holding hands: medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC6C\uD83C\uDFFE", "men holding hands: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFF", "men holding hands: medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFB", "men holding hands: dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFC", "men holding hands: dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFD", "men holding hands: dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍\uD83E\uDD1D‍\uD83D\uDC68\uD83C\uDFFE", "men holding hands: dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC6C\uD83C\uDFFF", "men holding hands: dark skin tone", "People & Body"], + ["\uD83D\uDC8F", "kiss", "People & Body"], + ["\uD83D\uDC8F\uD83C\uDFFB", "kiss: light skin tone", "People & Body"], + ["\uD83D\uDC8F\uD83C\uDFFC", "kiss: medium-light skin tone", "People & Body"], + ["\uD83D\uDC8F\uD83C\uDFFD", "kiss: medium skin tone", "People & Body"], + ["\uD83D\uDC8F\uD83C\uDFFE", "kiss: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC8F\uD83C\uDFFF", "kiss: dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFC", "kiss: person, person, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFD", "kiss: person, person, light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFE", "kiss: person, person, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFF", "kiss: person, person, light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFB", "kiss: person, person, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFD", "kiss: person, person, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFE", "kiss: person, person, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFF", "kiss: person, person, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFB", "kiss: person, person, medium skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFC", "kiss: person, person, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFE", "kiss: person, person, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFF", "kiss: person, person, medium skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFB", "kiss: person, person, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFC", "kiss: person, person, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFD", "kiss: person, person, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFF", "kiss: person, person, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFB", "kiss: person, person, dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFC", "kiss: person, person, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFD", "kiss: person, person, dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83E\uDDD1\uD83C\uDFFE", "kiss: person, person, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68", "kiss: woman, man", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: woman, man, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: woman, man, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: woman, man, light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: woman, man, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: woman, man, light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: woman, man, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: woman, man, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: woman, man, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: woman, man, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: woman, man, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: woman, man, medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: woman, man, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: woman, man, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: woman, man, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: woman, man, medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: woman, man, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: woman, man, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: woman, man, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: woman, man, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: woman, man, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: woman, man, dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: woman, man, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: woman, man, dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: woman, man, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: woman, man, dark skin tone", "People & Body"], + ["\uD83D\uDC68‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68", "kiss: man, man", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: man, man, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: man, man, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: man, man, light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: man, man, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: man, man, light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: man, man, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: man, man, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: man, man, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: man, man, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: man, man, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: man, man, medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: man, man, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: man, man, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: man, man, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: man, man, medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: man, man, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: man, man, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: man, man, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: man, man, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: man, man, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFB", "kiss: man, man, dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFC", "kiss: man, man, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFD", "kiss: man, man, dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFE", "kiss: man, man, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC68\uD83C\uDFFF", "kiss: man, man, dark skin tone", "People & Body"], + ["\uD83D\uDC69‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69", "kiss: woman, woman", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFB", "kiss: woman, woman, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFC", "kiss: woman, woman, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFD", "kiss: woman, woman, light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFE", "kiss: woman, woman, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFF", "kiss: woman, woman, light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFB", "kiss: woman, woman, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFC", "kiss: woman, woman, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFD", "kiss: woman, woman, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFE", "kiss: woman, woman, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFF", "kiss: woman, woman, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFB", "kiss: woman, woman, medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFC", "kiss: woman, woman, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFD", "kiss: woman, woman, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFE", "kiss: woman, woman, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFF", "kiss: woman, woman, medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFB", "kiss: woman, woman, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFC", "kiss: woman, woman, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFD", "kiss: woman, woman, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFE", "kiss: woman, woman, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFF", "kiss: woman, woman, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFB", "kiss: woman, woman, dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFC", "kiss: woman, woman, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFD", "kiss: woman, woman, dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFE", "kiss: woman, woman, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC8B‍\uD83D\uDC69\uD83C\uDFFF", "kiss: woman, woman, dark skin tone", "People & Body"], + ["\uD83D\uDC91", "couple with heart", "People & Body"], + ["\uD83D\uDC91\uD83C\uDFFB", "couple with heart: light skin tone", "People & Body"], + ["\uD83D\uDC91\uD83C\uDFFC", "couple with heart: medium-light skin tone", "People & Body"], + ["\uD83D\uDC91\uD83C\uDFFD", "couple with heart: medium skin tone", "People & Body"], + ["\uD83D\uDC91\uD83C\uDFFE", "couple with heart: medium-dark skin tone", "People & Body"], + ["\uD83D\uDC91\uD83C\uDFFF", "couple with heart: dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83E\uDDD1\uD83C\uDFFC", "couple with heart: person, person, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83E\uDDD1\uD83C\uDFFD", "couple with heart: person, person, light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83E\uDDD1\uD83C\uDFFE", "couple with heart: person, person, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFB‍❤️‍\uD83E\uDDD1\uD83C\uDFFF", "couple with heart: person, person, light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83E\uDDD1\uD83C\uDFFB", "couple with heart: person, person, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83E\uDDD1\uD83C\uDFFD", "couple with heart: person, person, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83E\uDDD1\uD83C\uDFFE", "couple with heart: person, person, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFC‍❤️‍\uD83E\uDDD1\uD83C\uDFFF", "couple with heart: person, person, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83E\uDDD1\uD83C\uDFFB", "couple with heart: person, person, medium skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83E\uDDD1\uD83C\uDFFC", "couple with heart: person, person, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83E\uDDD1\uD83C\uDFFE", "couple with heart: person, person, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFD‍❤️‍\uD83E\uDDD1\uD83C\uDFFF", "couple with heart: person, person, medium skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83E\uDDD1\uD83C\uDFFB", "couple with heart: person, person, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83E\uDDD1\uD83C\uDFFC", "couple with heart: person, person, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83E\uDDD1\uD83C\uDFFD", "couple with heart: person, person, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFE‍❤️‍\uD83E\uDDD1\uD83C\uDFFF", "couple with heart: person, person, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83E\uDDD1\uD83C\uDFFB", "couple with heart: person, person, dark skin tone, light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83E\uDDD1\uD83C\uDFFC", "couple with heart: person, person, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83E\uDDD1\uD83C\uDFFD", "couple with heart: person, person, dark skin tone, medium skin tone", "People & Body"], + ["\uD83E\uDDD1\uD83C\uDFFF‍❤️‍\uD83E\uDDD1\uD83C\uDFFE", "couple with heart: person, person, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69‍❤️‍\uD83D\uDC68", "couple with heart: woman, man", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: woman, man, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: woman, man, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: woman, man, light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: woman, man, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: woman, man, light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: woman, man, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: woman, man, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: woman, man, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: woman, man, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: woman, man, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: woman, man, medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: woman, man, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: woman, man, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: woman, man, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: woman, man, medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: woman, man, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: woman, man, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: woman, man, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: woman, man, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: woman, man, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: woman, man, dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: woman, man, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: woman, man, dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: woman, man, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: woman, man, dark skin tone", "People & Body"], + ["\uD83D\uDC68‍❤️‍\uD83D\uDC68", "couple with heart: man, man", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: man, man, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: man, man, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: man, man, light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: man, man, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFB‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: man, man, light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: man, man, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: man, man, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: man, man, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: man, man, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFC‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: man, man, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: man, man, medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: man, man, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: man, man, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: man, man, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFD‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: man, man, medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: man, man, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: man, man, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: man, man, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: man, man, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFE‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: man, man, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFB", "couple with heart: man, man, dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFC", "couple with heart: man, man, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFD", "couple with heart: man, man, dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFE", "couple with heart: man, man, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC68\uD83C\uDFFF‍❤️‍\uD83D\uDC68\uD83C\uDFFF", "couple with heart: man, man, dark skin tone", "People & Body"], + ["\uD83D\uDC69‍❤️‍\uD83D\uDC69", "couple with heart: woman, woman", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC69\uD83C\uDFFB", "couple with heart: woman, woman, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC69\uD83C\uDFFC", "couple with heart: woman, woman, light skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC69\uD83C\uDFFD", "couple with heart: woman, woman, light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC69\uD83C\uDFFE", "couple with heart: woman, woman, light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFB‍❤️‍\uD83D\uDC69\uD83C\uDFFF", "couple with heart: woman, woman, light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC69\uD83C\uDFFB", "couple with heart: woman, woman, medium-light skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC69\uD83C\uDFFC", "couple with heart: woman, woman, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC69\uD83C\uDFFD", "couple with heart: woman, woman, medium-light skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC69\uD83C\uDFFE", "couple with heart: woman, woman, medium-light skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFC‍❤️‍\uD83D\uDC69\uD83C\uDFFF", "couple with heart: woman, woman, medium-light skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC69\uD83C\uDFFB", "couple with heart: woman, woman, medium skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC69\uD83C\uDFFC", "couple with heart: woman, woman, medium skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC69\uD83C\uDFFD", "couple with heart: woman, woman, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC69\uD83C\uDFFE", "couple with heart: woman, woman, medium skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFD‍❤️‍\uD83D\uDC69\uD83C\uDFFF", "couple with heart: woman, woman, medium skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC69\uD83C\uDFFB", "couple with heart: woman, woman, medium-dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC69\uD83C\uDFFC", "couple with heart: woman, woman, medium-dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC69\uD83C\uDFFD", "couple with heart: woman, woman, medium-dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC69\uD83C\uDFFE", "couple with heart: woman, woman, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFE‍❤️‍\uD83D\uDC69\uD83C\uDFFF", "couple with heart: woman, woman, medium-dark skin tone, dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC69\uD83C\uDFFB", "couple with heart: woman, woman, dark skin tone, light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC69\uD83C\uDFFC", "couple with heart: woman, woman, dark skin tone, medium-light skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC69\uD83C\uDFFD", "couple with heart: woman, woman, dark skin tone, medium skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC69\uD83C\uDFFE", "couple with heart: woman, woman, dark skin tone, medium-dark skin tone", "People & Body"], + ["\uD83D\uDC69\uD83C\uDFFF‍❤️‍\uD83D\uDC69\uD83C\uDFFF", "couple with heart: woman, woman, dark skin tone", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC66", "family: man, woman, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67", "family: man, woman, girl", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC66", "family: man, woman, girl, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC66‍\uD83D\uDC66", "family: man, woman, boy, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC67", "family: man, woman, girl, girl", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC66", "family: man, man, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC67", "family: man, man, girl", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC66", "family: man, man, girl, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC66‍\uD83D\uDC66", "family: man, man, boy, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC67", "family: man, man, girl, girl", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC66", "family: woman, woman, boy", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC67", "family: woman, woman, girl", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC66", "family: woman, woman, girl, boy", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC66‍\uD83D\uDC66", "family: woman, woman, boy, boy", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC67", "family: woman, woman, girl, girl", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC66", "family: man, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC66‍\uD83D\uDC66", "family: man, boy, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC67", "family: man, girl", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC66", "family: man, girl, boy", "People & Body"], + ["\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC67", "family: man, girl, girl", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC66", "family: woman, boy", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC66‍\uD83D\uDC66", "family: woman, boy, boy", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC67", "family: woman, girl", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC66", "family: woman, girl, boy", "People & Body"], + ["\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC67", "family: woman, girl, girl", "People & Body"], + ["\uD83D\uDDE3️", "speaking head", "People & Body"], + ["\uD83D\uDC64", "bust in silhouette", "People & Body"], + ["\uD83D\uDC65", "busts in silhouette", "People & Body"], + ["\uD83E\uDEC2", "people hugging", "People & Body"], + ["\uD83D\uDC6A", "family", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDD1‍\uD83E\uDDD2", "family: adult, adult, child", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDD1‍\uD83E\uDDD2‍\uD83E\uDDD2", "family: adult, adult, child, child", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDD2", "family: adult, child", "People & Body"], + ["\uD83E\uDDD1‍\uD83E\uDDD2‍\uD83E\uDDD2", "family: adult, child, child", "People & Body"], + ["\uD83D\uDC63", "footprints", "People & Body"], + ["\uD83E\uDEC6", "fingerprint", "People & Body"], + ["\uD83D\uDC35", "monkey face", "Animals & Nature"], + ["\uD83D\uDC12", "monkey", "Animals & Nature"], + ["\uD83E\uDD8D", "gorilla", "Animals & Nature"], + ["\uD83E\uDDA7", "orangutan", "Animals & Nature"], + ["\uD83D\uDC36", "dog face", "Animals & Nature"], + ["\uD83D\uDC15", "dog", "Animals & Nature"], + ["\uD83E\uDDAE", "guide dog", "Animals & Nature"], + ["\uD83D\uDC15‍\uD83E\uDDBA", "service dog", "Animals & Nature"], + ["\uD83D\uDC29", "poodle", "Animals & Nature"], + ["\uD83D\uDC3A", "wolf", "Animals & Nature"], + ["\uD83E\uDD8A", "fox", "Animals & Nature"], + ["\uD83E\uDD9D", "raccoon", "Animals & Nature"], + ["\uD83D\uDC31", "cat face", "Animals & Nature"], + ["\uD83D\uDC08", "cat", "Animals & Nature"], + ["\uD83D\uDC08‍⬛", "black cat", "Animals & Nature"], + ["\uD83E\uDD81", "lion", "Animals & Nature"], + ["\uD83D\uDC2F", "tiger face", "Animals & Nature"], + ["\uD83D\uDC05", "tiger", "Animals & Nature"], + ["\uD83D\uDC06", "leopard", "Animals & Nature"], + ["\uD83D\uDC34", "horse face", "Animals & Nature"], + ["\uD83E\uDECE", "moose", "Animals & Nature"], + ["\uD83E\uDECF", "donkey", "Animals & Nature"], + ["\uD83D\uDC0E", "horse", "Animals & Nature"], + ["\uD83E\uDD84", "unicorn", "Animals & Nature"], + ["\uD83E\uDD93", "zebra", "Animals & Nature"], + ["\uD83E\uDD8C", "deer", "Animals & Nature"], + ["\uD83E\uDDAC", "bison", "Animals & Nature"], + ["\uD83D\uDC2E", "cow face", "Animals & Nature"], + ["\uD83D\uDC02", "ox", "Animals & Nature"], + ["\uD83D\uDC03", "water buffalo", "Animals & Nature"], + ["\uD83D\uDC04", "cow", "Animals & Nature"], + ["\uD83D\uDC37", "pig face", "Animals & Nature"], + ["\uD83D\uDC16", "pig", "Animals & Nature"], + ["\uD83D\uDC17", "boar", "Animals & Nature"], + ["\uD83D\uDC3D", "pig nose", "Animals & Nature"], + ["\uD83D\uDC0F", "ram", "Animals & Nature"], + ["\uD83D\uDC11", "ewe", "Animals & Nature"], + ["\uD83D\uDC10", "goat", "Animals & Nature"], + ["\uD83D\uDC2A", "camel", "Animals & Nature"], + ["\uD83D\uDC2B", "two-hump camel", "Animals & Nature"], + ["\uD83E\uDD99", "llama", "Animals & Nature"], + ["\uD83E\uDD92", "giraffe", "Animals & Nature"], + ["\uD83D\uDC18", "elephant", "Animals & Nature"], + ["\uD83E\uDDA3", "mammoth", "Animals & Nature"], + ["\uD83E\uDD8F", "rhinoceros", "Animals & Nature"], + ["\uD83E\uDD9B", "hippopotamus", "Animals & Nature"], + ["\uD83D\uDC2D", "mouse face", "Animals & Nature"], + ["\uD83D\uDC01", "mouse", "Animals & Nature"], + ["\uD83D\uDC00", "rat", "Animals & Nature"], + ["\uD83D\uDC39", "hamster", "Animals & Nature"], + ["\uD83D\uDC30", "rabbit face", "Animals & Nature"], + ["\uD83D\uDC07", "rabbit", "Animals & Nature"], + ["\uD83D\uDC3F️", "chipmunk", "Animals & Nature"], + ["\uD83E\uDDAB", "beaver", "Animals & Nature"], + ["\uD83E\uDD94", "hedgehog", "Animals & Nature"], + ["\uD83E\uDD87", "bat", "Animals & Nature"], + ["\uD83D\uDC3B", "bear", "Animals & Nature"], + ["\uD83D\uDC3B‍❄️", "polar bear", "Animals & Nature"], + ["\uD83D\uDC28", "koala", "Animals & Nature"], + ["\uD83D\uDC3C", "panda", "Animals & Nature"], + ["\uD83E\uDDA5", "sloth", "Animals & Nature"], + ["\uD83E\uDDA6", "otter", "Animals & Nature"], + ["\uD83E\uDDA8", "skunk", "Animals & Nature"], + ["\uD83E\uDD98", "kangaroo", "Animals & Nature"], + ["\uD83E\uDDA1", "badger", "Animals & Nature"], + ["\uD83D\uDC3E", "paw prints", "Animals & Nature"], + ["\uD83E\uDD83", "turkey", "Animals & Nature"], + ["\uD83D\uDC14", "chicken", "Animals & Nature"], + ["\uD83D\uDC13", "rooster", "Animals & Nature"], + ["\uD83D\uDC23", "hatching chick", "Animals & Nature"], + ["\uD83D\uDC24", "baby chick", "Animals & Nature"], + ["\uD83D\uDC25", "front-facing baby chick", "Animals & Nature"], + ["\uD83D\uDC26", "bird", "Animals & Nature"], + ["\uD83D\uDC27", "penguin", "Animals & Nature"], + ["\uD83D\uDD4A️", "dove", "Animals & Nature"], + ["\uD83E\uDD85", "eagle", "Animals & Nature"], + ["\uD83E\uDD86", "duck", "Animals & Nature"], + ["\uD83E\uDDA2", "swan", "Animals & Nature"], + ["\uD83E\uDD89", "owl", "Animals & Nature"], + ["\uD83E\uDDA4", "dodo", "Animals & Nature"], + ["\uD83E\uDEB6", "feather", "Animals & Nature"], + ["\uD83E\uDDA9", "flamingo", "Animals & Nature"], + ["\uD83E\uDD9A", "peacock", "Animals & Nature"], + ["\uD83E\uDD9C", "parrot", "Animals & Nature"], + ["\uD83E\uDEBD", "wing", "Animals & Nature"], + ["\uD83D\uDC26‍⬛", "black bird", "Animals & Nature"], + ["\uD83E\uDEBF", "goose", "Animals & Nature"], + ["\uD83D\uDC26‍\uD83D\uDD25", "phoenix", "Animals & Nature"], + ["\uD83D\uDC38", "frog", "Animals & Nature"], + ["\uD83D\uDC0A", "crocodile", "Animals & Nature"], + ["\uD83D\uDC22", "turtle", "Animals & Nature"], + ["\uD83E\uDD8E", "lizard", "Animals & Nature"], + ["\uD83D\uDC0D", "snake", "Animals & Nature"], + ["\uD83D\uDC32", "dragon face", "Animals & Nature"], + ["\uD83D\uDC09", "dragon", "Animals & Nature"], + ["\uD83E\uDD95", "sauropod", "Animals & Nature"], + ["\uD83E\uDD96", "T-Rex", "Animals & Nature"], + ["\uD83D\uDC33", "spouting whale", "Animals & Nature"], + ["\uD83D\uDC0B", "whale", "Animals & Nature"], + ["\uD83D\uDC2C", "dolphin", "Animals & Nature"], + ["\uD83E\uDECD", "orca", "Animals & Nature"], + ["\uD83E\uDDAD", "seal", "Animals & Nature"], + ["\uD83D\uDC1F", "fish", "Animals & Nature"], + ["\uD83D\uDC20", "tropical fish", "Animals & Nature"], + ["\uD83D\uDC21", "blowfish", "Animals & Nature"], + ["\uD83E\uDD88", "shark", "Animals & Nature"], + ["\uD83D\uDC19", "octopus", "Animals & Nature"], + ["\uD83D\uDC1A", "spiral shell", "Animals & Nature"], + ["\uD83E\uDEB8", "coral", "Animals & Nature"], + ["\uD83E\uDEBC", "jellyfish", "Animals & Nature"], + ["\uD83E\uDD80", "crab", "Animals & Nature"], + ["\uD83E\uDD9E", "lobster", "Animals & Nature"], + ["\uD83E\uDD90", "shrimp", "Animals & Nature"], + ["\uD83E\uDD91", "squid", "Animals & Nature"], + ["\uD83E\uDDAA", "oyster", "Animals & Nature"], + ["\uD83D\uDC0C", "snail", "Animals & Nature"], + ["\uD83E\uDD8B", "butterfly", "Animals & Nature"], + ["\uD83E\uDECC", "monarch butterfly", "Animals & Nature"], + ["\uD83D\uDC1B", "bug", "Animals & Nature"], + ["\uD83D\uDC1C", "ant", "Animals & Nature"], + ["\uD83D\uDC1D", "honeybee", "Animals & Nature"], + ["\uD83E\uDEB2", "beetle", "Animals & Nature"], + ["\uD83D\uDC1E", "lady beetle", "Animals & Nature"], + ["\uD83E\uDD97", "cricket", "Animals & Nature"], + ["\uD83E\uDEB3", "cockroach", "Animals & Nature"], + ["\uD83D\uDD77️", "spider", "Animals & Nature"], + ["\uD83D\uDD78️", "spider web", "Animals & Nature"], + ["\uD83E\uDD82", "scorpion", "Animals & Nature"], + ["\uD83E\uDD9F", "mosquito", "Animals & Nature"], + ["\uD83E\uDEB0", "fly", "Animals & Nature"], + ["\uD83E\uDEB1", "worm", "Animals & Nature"], + ["\uD83E\uDDA0", "microbe", "Animals & Nature"], + ["\uD83D\uDC90", "bouquet", "Animals & Nature"], + ["\uD83C\uDF38", "cherry blossom", "Animals & Nature"], + ["\uD83D\uDCAE", "white flower", "Animals & Nature"], + ["\uD83E\uDEB7", "lotus", "Animals & Nature"], + ["\uD83C\uDFF5️", "rosette", "Animals & Nature"], + ["\uD83C\uDF39", "rose", "Animals & Nature"], + ["\uD83E\uDD40", "wilted flower", "Animals & Nature"], + ["\uD83C\uDF3A", "hibiscus", "Animals & Nature"], + ["\uD83C\uDF3B", "sunflower", "Animals & Nature"], + ["\uD83C\uDF3C", "blossom", "Animals & Nature"], + ["\uD83C\uDF37", "tulip", "Animals & Nature"], + ["\uD83E\uDEBB", "hyacinth", "Animals & Nature"], + ["\uD83C\uDF31", "seedling", "Animals & Nature"], + ["\uD83E\uDEB4", "potted plant", "Animals & Nature"], + ["\uD83C\uDF32", "evergreen tree", "Animals & Nature"], + ["\uD83C\uDF33", "deciduous tree", "Animals & Nature"], + ["\uD83C\uDF34", "palm tree", "Animals & Nature"], + ["\uD83C\uDF35", "cactus", "Animals & Nature"], + ["\uD83C\uDF3E", "sheaf of rice", "Animals & Nature"], + ["\uD83C\uDF3F", "herb", "Animals & Nature"], + ["☘️", "shamrock", "Animals & Nature"], + ["\uD83C\uDF40", "four leaf clover", "Animals & Nature"], + ["\uD83C\uDF41", "maple leaf", "Animals & Nature"], + ["\uD83C\uDF42", "fallen leaf", "Animals & Nature"], + ["\uD83C\uDF43", "leaf fluttering in wind", "Animals & Nature"], + ["\uD83E\uDEB9", "empty nest", "Animals & Nature"], + ["\uD83E\uDEBA", "nest with eggs", "Animals & Nature"], + ["\uD83C\uDF44", "mushroom", "Animals & Nature"], + ["\uD83E\uDEBE", "leafless tree", "Animals & Nature"], + ["\uD83C\uDF47", "grapes", "Food & Drink"], + ["\uD83C\uDF48", "melon", "Food & Drink"], + ["\uD83C\uDF49", "watermelon", "Food & Drink"], + ["\uD83C\uDF4A", "tangerine", "Food & Drink"], + ["\uD83C\uDF4B", "lemon", "Food & Drink"], + ["\uD83C\uDF4B‍\uD83D\uDFE9", "lime", "Food & Drink"], + ["\uD83C\uDF4C", "banana", "Food & Drink"], + ["\uD83C\uDF4D", "pineapple", "Food & Drink"], + ["\uD83E\uDD6D", "mango", "Food & Drink"], + ["\uD83C\uDF4E", "red apple", "Food & Drink"], + ["\uD83C\uDF4F", "green apple", "Food & Drink"], + ["\uD83C\uDF50", "pear", "Food & Drink"], + ["\uD83C\uDF51", "peach", "Food & Drink"], + ["\uD83C\uDF52", "cherries", "Food & Drink"], + ["\uD83C\uDF53", "strawberry", "Food & Drink"], + ["\uD83E\uDED0", "blueberries", "Food & Drink"], + ["\uD83E\uDD5D", "kiwi fruit", "Food & Drink"], + ["\uD83C\uDF45", "tomato", "Food & Drink"], + ["\uD83E\uDED2", "olive", "Food & Drink"], + ["\uD83E\uDD65", "coconut", "Food & Drink"], + ["\uD83E\uDD51", "avocado", "Food & Drink"], + ["\uD83C\uDF46", "eggplant", "Food & Drink"], + ["\uD83E\uDD54", "potato", "Food & Drink"], + ["\uD83E\uDD55", "carrot", "Food & Drink"], + ["\uD83C\uDF3D", "ear of corn", "Food & Drink"], + ["\uD83C\uDF36️", "hot pepper", "Food & Drink"], + ["\uD83E\uDED1", "bell pepper", "Food & Drink"], + ["\uD83E\uDD52", "cucumber", "Food & Drink"], + ["\uD83E\uDEDD", "pickle", "Food & Drink"], + ["\uD83E\uDD6C", "leafy green", "Food & Drink"], + ["\uD83E\uDD66", "broccoli", "Food & Drink"], + ["\uD83E\uDDC4", "garlic", "Food & Drink"], + ["\uD83E\uDDC5", "onion", "Food & Drink"], + ["\uD83E\uDD5C", "peanuts", "Food & Drink"], + ["\uD83E\uDED8", "beans", "Food & Drink"], + ["\uD83C\uDF30", "chestnut", "Food & Drink"], + ["\uD83E\uDEDA", "ginger root", "Food & Drink"], + ["\uD83E\uDEDB", "pea pod", "Food & Drink"], + ["\uD83C\uDF44‍\uD83D\uDFEB", "brown mushroom", "Food & Drink"], + ["\uD83E\uDEDC", "root vegetable", "Food & Drink"], + ["\uD83C\uDF5E", "bread", "Food & Drink"], + ["\uD83E\uDD50", "croissant", "Food & Drink"], + ["\uD83E\uDD56", "baguette bread", "Food & Drink"], + ["\uD83E\uDED3", "flatbread", "Food & Drink"], + ["\uD83E\uDD68", "pretzel", "Food & Drink"], + ["\uD83E\uDD6F", "bagel", "Food & Drink"], + ["\uD83E\uDD5E", "pancakes", "Food & Drink"], + ["\uD83E\uDDC7", "waffle", "Food & Drink"], + ["\uD83E\uDDC0", "cheese wedge", "Food & Drink"], + ["\uD83C\uDF56", "meat on bone", "Food & Drink"], + ["\uD83C\uDF57", "poultry leg", "Food & Drink"], + ["\uD83E\uDD69", "cut of meat", "Food & Drink"], + ["\uD83E\uDD53", "bacon", "Food & Drink"], + ["\uD83C\uDF54", "hamburger", "Food & Drink"], + ["\uD83C\uDF5F", "french fries", "Food & Drink"], + ["\uD83C\uDF55", "pizza", "Food & Drink"], + ["\uD83C\uDF2D", "hot dog", "Food & Drink"], + ["\uD83E\uDD6A", "sandwich", "Food & Drink"], + ["\uD83C\uDF2E", "taco", "Food & Drink"], + ["\uD83C\uDF2F", "burrito", "Food & Drink"], + ["\uD83E\uDED4", "tamale", "Food & Drink"], + ["\uD83E\uDD59", "stuffed flatbread", "Food & Drink"], + ["\uD83E\uDDC6", "falafel", "Food & Drink"], + ["\uD83E\uDD5A", "egg", "Food & Drink"], + ["\uD83C\uDF73", "cooking", "Food & Drink"], + ["\uD83E\uDD58", "shallow pan of food", "Food & Drink"], + ["\uD83C\uDF72", "pot of food", "Food & Drink"], + ["\uD83E\uDED5", "fondue", "Food & Drink"], + ["\uD83E\uDD63", "bowl with spoon", "Food & Drink"], + ["\uD83E\uDD57", "green salad", "Food & Drink"], + ["\uD83C\uDF7F", "popcorn", "Food & Drink"], + ["\uD83E\uDDC8", "butter", "Food & Drink"], + ["\uD83E\uDDC2", "salt", "Food & Drink"], + ["\uD83E\uDD6B", "canned food", "Food & Drink"], + ["\uD83C\uDF71", "bento box", "Food & Drink"], + ["\uD83C\uDF58", "rice cracker", "Food & Drink"], + ["\uD83C\uDF59", "rice ball", "Food & Drink"], + ["\uD83C\uDF5A", "cooked rice", "Food & Drink"], + ["\uD83C\uDF5B", "curry rice", "Food & Drink"], + ["\uD83C\uDF5C", "steaming bowl", "Food & Drink"], + ["\uD83C\uDF5D", "spaghetti", "Food & Drink"], + ["\uD83C\uDF60", "roasted sweet potato", "Food & Drink"], + ["\uD83C\uDF62", "oden", "Food & Drink"], + ["\uD83C\uDF63", "sushi", "Food & Drink"], + ["\uD83C\uDF64", "fried shrimp", "Food & Drink"], + ["\uD83C\uDF65", "fish cake with swirl", "Food & Drink"], + ["\uD83E\uDD6E", "moon cake", "Food & Drink"], + ["\uD83C\uDF61", "dango", "Food & Drink"], + ["\uD83E\uDD5F", "dumpling", "Food & Drink"], + ["\uD83E\uDD60", "fortune cookie", "Food & Drink"], + ["\uD83E\uDD61", "takeout box", "Food & Drink"], + ["\uD83C\uDF66", "soft ice cream", "Food & Drink"], + ["\uD83C\uDF67", "shaved ice", "Food & Drink"], + ["\uD83C\uDF68", "ice cream", "Food & Drink"], + ["\uD83C\uDF69", "doughnut", "Food & Drink"], + ["\uD83C\uDF6A", "cookie", "Food & Drink"], + ["\uD83C\uDF82", "birthday cake", "Food & Drink"], + ["\uD83C\uDF70", "shortcake", "Food & Drink"], + ["\uD83E\uDDC1", "cupcake", "Food & Drink"], + ["\uD83E\uDD67", "pie", "Food & Drink"], + ["\uD83C\uDF6B", "chocolate bar", "Food & Drink"], + ["\uD83C\uDF6C", "candy", "Food & Drink"], + ["\uD83C\uDF6D", "lollipop", "Food & Drink"], + ["\uD83C\uDF6E", "custard", "Food & Drink"], + ["\uD83C\uDF6F", "honey pot", "Food & Drink"], + ["\uD83C\uDF7C", "baby bottle", "Food & Drink"], + ["\uD83E\uDD5B", "glass of milk", "Food & Drink"], + ["☕", "hot beverage", "Food & Drink"], + ["\uD83E\uDED6", "teapot", "Food & Drink"], + ["\uD83C\uDF75", "teacup without handle", "Food & Drink"], + ["\uD83C\uDF76", "sake", "Food & Drink"], + ["\uD83C\uDF7E", "bottle with popping cork", "Food & Drink"], + ["\uD83C\uDF77", "wine glass", "Food & Drink"], + ["\uD83C\uDF78", "cocktail glass", "Food & Drink"], + ["\uD83C\uDF79", "tropical drink", "Food & Drink"], + ["\uD83C\uDF7A", "beer mug", "Food & Drink"], + ["\uD83C\uDF7B", "clinking beer mugs", "Food & Drink"], + ["\uD83E\uDD42", "clinking glasses", "Food & Drink"], + ["\uD83E\uDD43", "tumbler glass", "Food & Drink"], + ["\uD83E\uDED7", "pouring liquid", "Food & Drink"], + ["\uD83E\uDD64", "cup with straw", "Food & Drink"], + ["\uD83E\uDDCB", "bubble tea", "Food & Drink"], + ["\uD83E\uDDC3", "beverage box", "Food & Drink"], + ["\uD83E\uDDC9", "mate", "Food & Drink"], + ["\uD83E\uDDCA", "ice", "Food & Drink"], + ["\uD83E\uDD62", "chopsticks", "Food & Drink"], + ["\uD83C\uDF7D️", "fork and knife with plate", "Food & Drink"], + ["\uD83C\uDF74", "fork and knife", "Food & Drink"], + ["\uD83E\uDD44", "spoon", "Food & Drink"], + ["\uD83D\uDD2A", "kitchen knife", "Food & Drink"], + ["\uD83E\uDED9", "jar", "Food & Drink"], + ["\uD83C\uDFFA", "amphora", "Food & Drink"], + ["\uD83C\uDF0D", "globe showing Europe-Africa", "Travel & Places"], + ["\uD83C\uDF0E", "globe showing Americas", "Travel & Places"], + ["\uD83C\uDF0F", "globe showing Asia-Australia", "Travel & Places"], + ["\uD83C\uDF10", "globe with meridians", "Travel & Places"], + ["\uD83D\uDDFA️", "world map", "Travel & Places"], + ["\uD83D\uDDFE", "map of Japan", "Travel & Places"], + ["\uD83E\uDDED", "compass", "Travel & Places"], + ["\uD83C\uDFD4️", "snow-capped mountain", "Travel & Places"], + ["⛰️", "mountain", "Travel & Places"], + ["\uD83D\uDED8", "landslide", "Travel & Places"], + ["\uD83C\uDF0B", "volcano", "Travel & Places"], + ["\uD83D\uDDFB", "mount fuji", "Travel & Places"], + ["\uD83C\uDFD5️", "camping", "Travel & Places"], + ["\uD83C\uDFD6️", "beach with umbrella", "Travel & Places"], + ["\uD83C\uDFDC️", "desert", "Travel & Places"], + ["\uD83C\uDFDD️", "desert island", "Travel & Places"], + ["\uD83C\uDFDE️", "national park", "Travel & Places"], + ["\uD83C\uDFDF️", "stadium", "Travel & Places"], + ["\uD83C\uDFDB️", "classical building", "Travel & Places"], + ["\uD83C\uDFD7️", "building construction", "Travel & Places"], + ["\uD83E\uDDF1", "brick", "Travel & Places"], + ["\uD83E\uDEA8", "rock", "Travel & Places"], + ["\uD83E\uDEB5", "wood", "Travel & Places"], + ["\uD83D\uDED6", "hut", "Travel & Places"], + ["\uD83C\uDFD8️", "houses", "Travel & Places"], + ["\uD83C\uDFDA️", "derelict house", "Travel & Places"], + ["\uD83C\uDFE0", "house", "Travel & Places"], + ["\uD83C\uDFE1", "house with garden", "Travel & Places"], + ["\uD83C\uDFE2", "office building", "Travel & Places"], + ["\uD83C\uDFE3", "Japanese post office", "Travel & Places"], + ["\uD83C\uDFE4", "post office", "Travel & Places"], + ["\uD83C\uDFE5", "hospital", "Travel & Places"], + ["\uD83C\uDFE6", "bank", "Travel & Places"], + ["\uD83C\uDFE8", "hotel", "Travel & Places"], + ["\uD83C\uDFE9", "love hotel", "Travel & Places"], + ["\uD83C\uDFEA", "convenience store", "Travel & Places"], + ["\uD83C\uDFEB", "school", "Travel & Places"], + ["\uD83C\uDFEC", "department store", "Travel & Places"], + ["\uD83C\uDFED", "factory", "Travel & Places"], + ["\uD83C\uDFEF", "Japanese castle", "Travel & Places"], + ["\uD83C\uDFF0", "castle", "Travel & Places"], + ["\uD83D\uDC92", "wedding", "Travel & Places"], + ["\uD83D\uDDFC", "Tokyo tower", "Travel & Places"], + ["\uD83D\uDDFD", "Statue of Liberty", "Travel & Places"], + ["⛪", "church", "Travel & Places"], + ["\uD83D\uDD4C", "mosque", "Travel & Places"], + ["\uD83D\uDED5", "hindu temple", "Travel & Places"], + ["\uD83D\uDD4D", "synagogue", "Travel & Places"], + ["⛩️", "shinto shrine", "Travel & Places"], + ["\uD83D\uDD4B", "kaaba", "Travel & Places"], + ["⛲", "fountain", "Travel & Places"], + ["⛺", "tent", "Travel & Places"], + ["\uD83C\uDF01", "foggy", "Travel & Places"], + ["\uD83C\uDF03", "night with stars", "Travel & Places"], + ["\uD83C\uDFD9️", "cityscape", "Travel & Places"], + ["\uD83C\uDF04", "sunrise over mountains", "Travel & Places"], + ["\uD83C\uDF05", "sunrise", "Travel & Places"], + ["\uD83C\uDF06", "cityscape at dusk", "Travel & Places"], + ["\uD83C\uDF07", "sunset", "Travel & Places"], + ["\uD83C\uDF09", "bridge at night", "Travel & Places"], + ["♨️", "hot springs", "Travel & Places"], + ["\uD83C\uDFA0", "carousel horse", "Travel & Places"], + ["\uD83D\uDEDD", "playground slide", "Travel & Places"], + ["\uD83C\uDFA1", "ferris wheel", "Travel & Places"], + ["\uD83C\uDFA2", "roller coaster", "Travel & Places"], + ["\uD83D\uDC88", "barber pole", "Travel & Places"], + ["\uD83C\uDFAA", "circus tent", "Travel & Places"], + ["\uD83D\uDE82", "locomotive", "Travel & Places"], + ["\uD83D\uDE83", "railway car", "Travel & Places"], + ["\uD83D\uDE84", "high-speed train", "Travel & Places"], + ["\uD83D\uDE85", "bullet train", "Travel & Places"], + ["\uD83D\uDE86", "train", "Travel & Places"], + ["\uD83D\uDE87", "metro", "Travel & Places"], + ["\uD83D\uDE88", "light rail", "Travel & Places"], + ["\uD83D\uDE89", "station", "Travel & Places"], + ["\uD83D\uDE8A", "tram", "Travel & Places"], + ["\uD83D\uDE9D", "monorail", "Travel & Places"], + ["\uD83D\uDE9E", "mountain railway", "Travel & Places"], + ["\uD83D\uDE8B", "tram car", "Travel & Places"], + ["\uD83D\uDE8C", "bus", "Travel & Places"], + ["\uD83D\uDE8D", "oncoming bus", "Travel & Places"], + ["\uD83D\uDE8E", "trolleybus", "Travel & Places"], + ["\uD83D\uDE90", "minibus", "Travel & Places"], + ["\uD83D\uDE91", "ambulance", "Travel & Places"], + ["\uD83D\uDE92", "fire engine", "Travel & Places"], + ["\uD83D\uDE93", "police car", "Travel & Places"], + ["\uD83D\uDE94", "oncoming police car", "Travel & Places"], + ["\uD83D\uDE95", "taxi", "Travel & Places"], + ["\uD83D\uDE96", "oncoming taxi", "Travel & Places"], + ["\uD83D\uDE97", "automobile", "Travel & Places"], + ["\uD83D\uDE98", "oncoming automobile", "Travel & Places"], + ["\uD83D\uDE99", "sport utility vehicle", "Travel & Places"], + ["\uD83D\uDEFB", "pickup truck", "Travel & Places"], + ["\uD83D\uDE9A", "delivery truck", "Travel & Places"], + ["\uD83D\uDE9B", "articulated lorry", "Travel & Places"], + ["\uD83D\uDE9C", "tractor", "Travel & Places"], + ["\uD83C\uDFCE️", "racing car", "Travel & Places"], + ["\uD83C\uDFCD️", "motorcycle", "Travel & Places"], + ["\uD83D\uDEF5", "motor scooter", "Travel & Places"], + ["\uD83E\uDDBD", "manual wheelchair", "Travel & Places"], + ["\uD83E\uDDBC", "motorized wheelchair", "Travel & Places"], + ["\uD83D\uDEFA", "auto rickshaw", "Travel & Places"], + ["\uD83D\uDEB2", "bicycle", "Travel & Places"], + ["\uD83D\uDEF4", "kick scooter", "Travel & Places"], + ["\uD83D\uDEF9", "skateboard", "Travel & Places"], + ["\uD83D\uDEFC", "roller skate", "Travel & Places"], + ["\uD83D\uDE8F", "bus stop", "Travel & Places"], + ["\uD83D\uDEE3️", "motorway", "Travel & Places"], + ["\uD83D\uDEE4️", "railway track", "Travel & Places"], + ["\uD83D\uDEE2️", "oil drum", "Travel & Places"], + ["⛽", "fuel pump", "Travel & Places"], + ["\uD83D\uDEDE", "wheel", "Travel & Places"], + ["\uD83D\uDEA8", "police car light", "Travel & Places"], + ["\uD83D\uDEA5", "horizontal traffic light", "Travel & Places"], + ["\uD83D\uDEA6", "vertical traffic light", "Travel & Places"], + ["\uD83D\uDED1", "stop sign", "Travel & Places"], + ["\uD83D\uDEA7", "construction", "Travel & Places"], + ["\uD83D\uDED9", "lighthouse", "Travel & Places"], + ["⚓", "anchor", "Travel & Places"], + ["\uD83D\uDEDF", "ring buoy", "Travel & Places"], + ["⛵", "sailboat", "Travel & Places"], + ["\uD83D\uDEF6", "canoe", "Travel & Places"], + ["\uD83D\uDEA4", "speedboat", "Travel & Places"], + ["\uD83D\uDEF3️", "passenger ship", "Travel & Places"], + ["⛴️", "ferry", "Travel & Places"], + ["\uD83D\uDEE5️", "motor boat", "Travel & Places"], + ["\uD83D\uDEA2", "ship", "Travel & Places"], + ["✈️", "airplane", "Travel & Places"], + ["\uD83D\uDEE9️", "small airplane", "Travel & Places"], + ["\uD83D\uDEEB", "airplane departure", "Travel & Places"], + ["\uD83D\uDEEC", "airplane arrival", "Travel & Places"], + ["\uD83E\uDE82", "parachute", "Travel & Places"], + ["\uD83D\uDCBA", "seat", "Travel & Places"], + ["\uD83D\uDE81", "helicopter", "Travel & Places"], + ["\uD83D\uDE9F", "suspension railway", "Travel & Places"], + ["\uD83D\uDEA0", "mountain cableway", "Travel & Places"], + ["\uD83D\uDEA1", "aerial tramway", "Travel & Places"], + ["\uD83D\uDEF0️", "satellite", "Travel & Places"], + ["\uD83D\uDE80", "rocket", "Travel & Places"], + ["\uD83D\uDEF8", "flying saucer", "Travel & Places"], + ["\uD83D\uDECE️", "bellhop bell", "Travel & Places"], + ["\uD83E\uDDF3", "luggage", "Travel & Places"], + ["⌛", "hourglass done", "Travel & Places"], + ["⏳", "hourglass not done", "Travel & Places"], + ["⌚", "watch", "Travel & Places"], + ["⏰", "alarm clock", "Travel & Places"], + ["⏱️", "stopwatch", "Travel & Places"], + ["⏲️", "timer clock", "Travel & Places"], + ["\uD83D\uDD70️", "mantelpiece clock", "Travel & Places"], + ["\uD83D\uDD5B", "twelve o’clock", "Travel & Places"], + ["\uD83D\uDD67", "twelve-thirty", "Travel & Places"], + ["\uD83D\uDD50", "one o’clock", "Travel & Places"], + ["\uD83D\uDD5C", "one-thirty", "Travel & Places"], + ["\uD83D\uDD51", "two o’clock", "Travel & Places"], + ["\uD83D\uDD5D", "two-thirty", "Travel & Places"], + ["\uD83D\uDD52", "three o’clock", "Travel & Places"], + ["\uD83D\uDD5E", "three-thirty", "Travel & Places"], + ["\uD83D\uDD53", "four o’clock", "Travel & Places"], + ["\uD83D\uDD5F", "four-thirty", "Travel & Places"], + ["\uD83D\uDD54", "five o’clock", "Travel & Places"], + ["\uD83D\uDD60", "five-thirty", "Travel & Places"], + ["\uD83D\uDD55", "six o’clock", "Travel & Places"], + ["\uD83D\uDD61", "six-thirty", "Travel & Places"], + ["\uD83D\uDD56", "seven o’clock", "Travel & Places"], + ["\uD83D\uDD62", "seven-thirty", "Travel & Places"], + ["\uD83D\uDD57", "eight o’clock", "Travel & Places"], + ["\uD83D\uDD63", "eight-thirty", "Travel & Places"], + ["\uD83D\uDD58", "nine o’clock", "Travel & Places"], + ["\uD83D\uDD64", "nine-thirty", "Travel & Places"], + ["\uD83D\uDD59", "ten o’clock", "Travel & Places"], + ["\uD83D\uDD65", "ten-thirty", "Travel & Places"], + ["\uD83D\uDD5A", "eleven o’clock", "Travel & Places"], + ["\uD83D\uDD66", "eleven-thirty", "Travel & Places"], + ["\uD83C\uDF11", "new moon", "Travel & Places"], + ["\uD83C\uDF12", "waxing crescent moon", "Travel & Places"], + ["\uD83C\uDF13", "first quarter moon", "Travel & Places"], + ["\uD83C\uDF14", "waxing gibbous moon", "Travel & Places"], + ["\uD83C\uDF15", "full moon", "Travel & Places"], + ["\uD83C\uDF16", "waning gibbous moon", "Travel & Places"], + ["\uD83C\uDF17", "last quarter moon", "Travel & Places"], + ["\uD83C\uDF18", "waning crescent moon", "Travel & Places"], + ["\uD83C\uDF19", "crescent moon", "Travel & Places"], + ["\uD83C\uDF1A", "new moon face", "Travel & Places"], + ["\uD83C\uDF1B", "first quarter moon face", "Travel & Places"], + ["\uD83C\uDF1C", "last quarter moon face", "Travel & Places"], + ["\uD83C\uDF21️", "thermometer", "Travel & Places"], + ["☀️", "sun", "Travel & Places"], + ["\uD83C\uDF1D", "full moon face", "Travel & Places"], + ["\uD83C\uDF1E", "sun with face", "Travel & Places"], + ["\uD83E\uDE90", "ringed planet", "Travel & Places"], + ["⭐", "star", "Travel & Places"], + ["\uD83C\uDF1F", "glowing star", "Travel & Places"], + ["\uD83C\uDF20", "shooting star", "Travel & Places"], + ["\uD83C\uDF0C", "milky way", "Travel & Places"], + ["☁️", "cloud", "Travel & Places"], + ["⛅", "sun behind cloud", "Travel & Places"], + ["⛈️", "cloud with lightning and rain", "Travel & Places"], + ["\uD83C\uDF24️", "sun behind small cloud", "Travel & Places"], + ["\uD83C\uDF25️", "sun behind large cloud", "Travel & Places"], + ["\uD83C\uDF26️", "sun behind rain cloud", "Travel & Places"], + ["\uD83C\uDF27️", "cloud with rain", "Travel & Places"], + ["\uD83C\uDF28️", "cloud with snow", "Travel & Places"], + ["\uD83C\uDF29️", "cloud with lightning", "Travel & Places"], + ["\uD83C\uDF2A️", "tornado", "Travel & Places"], + ["\uD83C\uDF2B️", "fog", "Travel & Places"], + ["\uD83C\uDF2C️", "wind face", "Travel & Places"], + ["\uD83C\uDF00", "cyclone", "Travel & Places"], + ["\uD83C\uDF08", "rainbow", "Travel & Places"], + ["\uD83C\uDF02", "closed umbrella", "Travel & Places"], + ["☂️", "umbrella", "Travel & Places"], + ["☔", "umbrella with rain drops", "Travel & Places"], + ["⛱️", "umbrella on ground", "Travel & Places"], + ["⚡", "high voltage", "Travel & Places"], + ["❄️", "snowflake", "Travel & Places"], + ["☃️", "snowman", "Travel & Places"], + ["⛄", "snowman without snow", "Travel & Places"], + ["☄️", "comet", "Travel & Places"], + ["\uD83E\uDE8B", "meteor", "Travel & Places"], + ["\uD83D\uDD25", "fire", "Travel & Places"], + ["\uD83D\uDCA7", "droplet", "Travel & Places"], + ["\uD83C\uDF0A", "water wave", "Travel & Places"], + ["\uD83C\uDF83", "jack-o-lantern", "Activities"], + ["\uD83C\uDF84", "Christmas tree", "Activities"], + ["\uD83C\uDF86", "fireworks", "Activities"], + ["\uD83C\uDF87", "sparkler", "Activities"], + ["\uD83E\uDDE8", "firecracker", "Activities"], + ["✨", "sparkles", "Activities"], + ["\uD83C\uDF88", "balloon", "Activities"], + ["\uD83C\uDF89", "party popper", "Activities"], + ["\uD83C\uDF8A", "confetti ball", "Activities"], + ["\uD83C\uDF8B", "tanabata tree", "Activities"], + ["\uD83C\uDF8D", "pine decoration", "Activities"], + ["\uD83C\uDF8E", "Japanese dolls", "Activities"], + ["\uD83C\uDF8F", "carp streamer", "Activities"], + ["\uD83C\uDF90", "wind chime", "Activities"], + ["\uD83C\uDF91", "moon viewing ceremony", "Activities"], + ["\uD83E\uDDE7", "red envelope", "Activities"], + ["\uD83C\uDF80", "ribbon", "Activities"], + ["\uD83C\uDF81", "wrapped gift", "Activities"], + ["\uD83C\uDF97️", "reminder ribbon", "Activities"], + ["\uD83C\uDF9F️", "admission tickets", "Activities"], + ["\uD83C\uDFAB", "ticket", "Activities"], + ["\uD83C\uDF96️", "military medal", "Activities"], + ["\uD83C\uDFC6", "trophy", "Activities"], + ["\uD83C\uDFC5", "sports medal", "Activities"], + ["\uD83E\uDD47", "1st place medal", "Activities"], + ["\uD83E\uDD48", "2nd place medal", "Activities"], + ["\uD83E\uDD49", "3rd place medal", "Activities"], + ["⚽", "soccer ball", "Activities"], + ["⚾", "baseball", "Activities"], + ["\uD83E\uDD4E", "softball", "Activities"], + ["\uD83C\uDFC0", "basketball", "Activities"], + ["\uD83C\uDFD0", "volleyball", "Activities"], + ["\uD83C\uDFC8", "american football", "Activities"], + ["\uD83C\uDFC9", "rugby football", "Activities"], + ["\uD83C\uDFBE", "tennis", "Activities"], + ["\uD83E\uDD4F", "flying disc", "Activities"], + ["\uD83C\uDFB3", "bowling", "Activities"], + ["\uD83C\uDFCF", "cricket game", "Activities"], + ["\uD83C\uDFD1", "field hockey", "Activities"], + ["\uD83C\uDFD2", "ice hockey", "Activities"], + ["\uD83E\uDD4D", "lacrosse", "Activities"], + ["\uD83C\uDFD3", "ping pong", "Activities"], + ["\uD83C\uDFF8", "badminton", "Activities"], + ["\uD83E\uDD4A", "boxing glove", "Activities"], + ["\uD83E\uDD4B", "martial arts uniform", "Activities"], + ["\uD83E\uDD45", "goal net", "Activities"], + ["⛳", "flag in hole", "Activities"], + ["⛸️", "ice skate", "Activities"], + ["\uD83C\uDFA3", "fishing pole", "Activities"], + ["\uD83E\uDD3F", "diving mask", "Activities"], + ["\uD83C\uDFBD", "running shirt", "Activities"], + ["\uD83C\uDFBF", "skis", "Activities"], + ["\uD83D\uDEF7", "sled", "Activities"], + ["\uD83E\uDD4C", "curling stone", "Activities"], + ["\uD83C\uDFAF", "bullseye", "Activities"], + ["\uD83E\uDE80", "yo-yo", "Activities"], + ["\uD83E\uDE81", "kite", "Activities"], + ["\uD83D\uDD2B", "water pistol", "Activities"], + ["\uD83C\uDFB1", "pool 8 ball", "Activities"], + ["\uD83D\uDD2E", "crystal ball", "Activities"], + ["\uD83E\uDE84", "magic wand", "Activities"], + ["\uD83C\uDFAE", "video game", "Activities"], + ["\uD83D\uDD79️", "joystick", "Activities"], + ["\uD83C\uDFB0", "slot machine", "Activities"], + ["\uD83C\uDFB2", "game die", "Activities"], + ["\uD83E\uDDE9", "puzzle piece", "Activities"], + ["\uD83E\uDDF8", "teddy bear", "Activities"], + ["\uD83E\uDE85", "piñata", "Activities"], + ["\uD83E\uDEA9", "mirror ball", "Activities"], + ["\uD83E\uDE86", "nesting dolls", "Activities"], + ["♠️", "spade suit", "Activities"], + ["♥️", "heart suit", "Activities"], + ["♦️", "diamond suit", "Activities"], + ["♣️", "club suit", "Activities"], + ["♟️", "chess pawn", "Activities"], + ["\uD83C\uDCCF", "joker", "Activities"], + ["\uD83C\uDC04", "mahjong red dragon", "Activities"], + ["\uD83C\uDFB4", "flower playing cards", "Activities"], + ["\uD83C\uDFAD", "performing arts", "Activities"], + ["\uD83D\uDDBC️", "framed picture", "Activities"], + ["\uD83C\uDFA8", "artist palette", "Activities"], + ["\uD83E\uDDF5", "thread", "Activities"], + ["\uD83E\uDEA1", "sewing needle", "Activities"], + ["\uD83E\uDDF6", "yarn", "Activities"], + ["\uD83E\uDEA2", "knot", "Activities"], + ["\uD83D\uDC53", "glasses", "Objects"], + ["\uD83D\uDD76️", "sunglasses", "Objects"], + ["\uD83E\uDD7D", "goggles", "Objects"], + ["\uD83E\uDD7C", "lab coat", "Objects"], + ["\uD83E\uDDBA", "safety vest", "Objects"], + ["\uD83D\uDC54", "necktie", "Objects"], + ["\uD83D\uDC55", "t-shirt", "Objects"], + ["\uD83D\uDC56", "jeans", "Objects"], + ["\uD83E\uDDE3", "scarf", "Objects"], + ["\uD83E\uDDE4", "gloves", "Objects"], + ["\uD83E\uDDE5", "coat", "Objects"], + ["\uD83E\uDDE6", "socks", "Objects"], + ["\uD83D\uDC57", "dress", "Objects"], + ["\uD83D\uDC58", "kimono", "Objects"], + ["\uD83E\uDD7B", "sari", "Objects"], + ["\uD83E\uDE71", "one-piece swimsuit", "Objects"], + ["\uD83E\uDE72", "briefs", "Objects"], + ["\uD83E\uDE73", "shorts", "Objects"], + ["\uD83D\uDC59", "bikini", "Objects"], + ["\uD83D\uDC5A", "woman’s clothes", "Objects"], + ["\uD83E\uDEAD", "folding hand fan", "Objects"], + ["\uD83D\uDC5B", "purse", "Objects"], + ["\uD83D\uDC5C", "handbag", "Objects"], + ["\uD83D\uDC5D", "clutch bag", "Objects"], + ["\uD83D\uDECD️", "shopping bags", "Objects"], + ["\uD83C\uDF92", "backpack", "Objects"], + ["\uD83E\uDE74", "thong sandal", "Objects"], + ["\uD83D\uDC5E", "man’s shoe", "Objects"], + ["\uD83D\uDC5F", "running shoe", "Objects"], + ["\uD83E\uDD7E", "hiking boot", "Objects"], + ["\uD83E\uDD7F", "flat shoe", "Objects"], + ["\uD83D\uDC60", "high-heeled shoe", "Objects"], + ["\uD83D\uDC61", "woman’s sandal", "Objects"], + ["\uD83E\uDE70", "ballet shoes", "Objects"], + ["\uD83D\uDC62", "woman’s boot", "Objects"], + ["\uD83E\uDEAE", "hair pick", "Objects"], + ["\uD83D\uDC51", "crown", "Objects"], + ["\uD83D\uDC52", "woman’s hat", "Objects"], + ["\uD83C\uDFA9", "top hat", "Objects"], + ["\uD83C\uDF93", "graduation cap", "Objects"], + ["\uD83E\uDDE2", "billed cap", "Objects"], + ["\uD83E\uDE96", "military helmet", "Objects"], + ["⛑️", "rescue worker’s helmet", "Objects"], + ["\uD83D\uDCFF", "prayer beads", "Objects"], + ["\uD83D\uDC84", "lipstick", "Objects"], + ["\uD83D\uDC8D", "ring", "Objects"], + ["\uD83D\uDC8E", "gem stone", "Objects"], + ["\uD83D\uDD07", "muted speaker", "Objects"], + ["\uD83D\uDD08", "speaker low volume", "Objects"], + ["\uD83D\uDD09", "speaker medium volume", "Objects"], + ["\uD83D\uDD0A", "speaker high volume", "Objects"], + ["\uD83D\uDCE2", "loudspeaker", "Objects"], + ["\uD83D\uDCE3", "megaphone", "Objects"], + ["\uD83D\uDCEF", "postal horn", "Objects"], + ["\uD83D\uDD14", "bell", "Objects"], + ["\uD83D\uDD15", "bell with slash", "Objects"], + ["\uD83C\uDFBC", "musical score", "Objects"], + ["\uD83C\uDFB5", "musical note", "Objects"], + ["\uD83C\uDFB6", "musical notes", "Objects"], + ["\uD83C\uDF99️", "studio microphone", "Objects"], + ["\uD83C\uDF9A️", "level slider", "Objects"], + ["\uD83C\uDF9B️", "control knobs", "Objects"], + ["\uD83C\uDFA4", "microphone", "Objects"], + ["\uD83C\uDFA7", "headphone", "Objects"], + ["\uD83D\uDCFB", "radio", "Objects"], + ["\uD83C\uDFB7", "saxophone", "Objects"], + ["\uD83C\uDFBA", "trumpet", "Objects"], + ["\uD83E\uDE8A", "trombone", "Objects"], + ["\uD83E\uDE97", "accordion", "Objects"], + ["\uD83C\uDFB8", "guitar", "Objects"], + ["\uD83C\uDFB9", "musical keyboard", "Objects"], + ["\uD83C\uDFBB", "violin", "Objects"], + ["\uD83E\uDE95", "banjo", "Objects"], + ["\uD83E\uDD41", "drum", "Objects"], + ["\uD83E\uDE98", "long drum", "Objects"], + ["\uD83E\uDE87", "maracas", "Objects"], + ["\uD83E\uDE88", "flute", "Objects"], + ["\uD83E\uDE89", "harp", "Objects"], + ["\uD83D\uDCF1", "mobile phone", "Objects"], + ["\uD83D\uDCF2", "mobile phone with arrow", "Objects"], + ["☎️", "telephone", "Objects"], + ["\uD83D\uDCDE", "telephone receiver", "Objects"], + ["\uD83D\uDCDF", "pager", "Objects"], + ["\uD83D\uDCE0", "fax machine", "Objects"], + ["\uD83D\uDD0B", "battery", "Objects"], + ["\uD83E\uDEAB", "low battery", "Objects"], + ["\uD83D\uDD0C", "electric plug", "Objects"], + ["\uD83D\uDCBB", "laptop", "Objects"], + ["\uD83D\uDDA5️", "desktop computer", "Objects"], + ["\uD83D\uDDA8️", "printer", "Objects"], + ["⌨️", "keyboard", "Objects"], + ["\uD83D\uDDB1️", "computer mouse", "Objects"], + ["\uD83D\uDDB2️", "trackball", "Objects"], + ["\uD83D\uDCBD", "computer disk", "Objects"], + ["\uD83D\uDCBE", "floppy disk", "Objects"], + ["\uD83D\uDCBF", "optical disk", "Objects"], + ["\uD83D\uDCC0", "dvd", "Objects"], + ["\uD83E\uDDEE", "abacus", "Objects"], + ["\uD83C\uDFA5", "movie camera", "Objects"], + ["\uD83C\uDF9E️", "film frames", "Objects"], + ["\uD83D\uDCFD️", "film projector", "Objects"], + ["\uD83C\uDFAC", "clapper board", "Objects"], + ["\uD83D\uDCFA", "television", "Objects"], + ["\uD83D\uDCF7", "camera", "Objects"], + ["\uD83D\uDCF8", "camera with flash", "Objects"], + ["\uD83D\uDCF9", "video camera", "Objects"], + ["\uD83D\uDCFC", "videocassette", "Objects"], + ["\uD83D\uDD0D", "magnifying glass tilted left", "Objects"], + ["\uD83D\uDD0E", "magnifying glass tilted right", "Objects"], + ["\uD83D\uDD6F️", "candle", "Objects"], + ["\uD83D\uDCA1", "light bulb", "Objects"], + ["\uD83D\uDD26", "flashlight", "Objects"], + ["\uD83C\uDFEE", "red paper lantern", "Objects"], + ["\uD83E\uDE94", "diya lamp", "Objects"], + ["\uD83D\uDCD4", "notebook with decorative cover", "Objects"], + ["\uD83D\uDCD5", "closed book", "Objects"], + ["\uD83D\uDCD6", "open book", "Objects"], + ["\uD83D\uDCD7", "green book", "Objects"], + ["\uD83D\uDCD8", "blue book", "Objects"], + ["\uD83D\uDCD9", "orange book", "Objects"], + ["\uD83D\uDCDA", "books", "Objects"], + ["\uD83D\uDCD3", "notebook", "Objects"], + ["\uD83D\uDCD2", "ledger", "Objects"], + ["\uD83D\uDCC3", "page with curl", "Objects"], + ["\uD83D\uDCDC", "scroll", "Objects"], + ["\uD83D\uDCC4", "page facing up", "Objects"], + ["\uD83D\uDCF0", "newspaper", "Objects"], + ["\uD83D\uDDDE️", "rolled-up newspaper", "Objects"], + ["\uD83D\uDCD1", "bookmark tabs", "Objects"], + ["\uD83D\uDD16", "bookmark", "Objects"], + ["\uD83C\uDFF7️", "label", "Objects"], + ["\uD83E\uDE99", "coin", "Objects"], + ["\uD83D\uDCB0", "money bag", "Objects"], + ["\uD83E\uDE8E", "treasure chest", "Objects"], + ["\uD83D\uDCB4", "yen banknote", "Objects"], + ["\uD83D\uDCB5", "dollar banknote", "Objects"], + ["\uD83D\uDCB6", "euro banknote", "Objects"], + ["\uD83D\uDCB7", "pound banknote", "Objects"], + ["\uD83D\uDCB8", "money with wings", "Objects"], + ["\uD83D\uDCB3", "credit card", "Objects"], + ["\uD83E\uDDFE", "receipt", "Objects"], + ["\uD83D\uDCB9", "chart increasing with yen", "Objects"], + ["✉️", "envelope", "Objects"], + ["\uD83D\uDCE7", "e-mail", "Objects"], + ["\uD83D\uDCE8", "incoming envelope", "Objects"], + ["\uD83D\uDCE9", "envelope with arrow", "Objects"], + ["\uD83D\uDCE4", "outbox tray", "Objects"], + ["\uD83D\uDCE5", "inbox tray", "Objects"], + ["\uD83D\uDCE6", "package", "Objects"], + ["\uD83D\uDCEB", "closed mailbox with raised flag", "Objects"], + ["\uD83D\uDCEA", "closed mailbox with lowered flag", "Objects"], + ["\uD83D\uDCEC", "open mailbox with raised flag", "Objects"], + ["\uD83D\uDCED", "open mailbox with lowered flag", "Objects"], + ["\uD83D\uDCEE", "postbox", "Objects"], + ["\uD83D\uDDF3️", "ballot box with ballot", "Objects"], + ["✏️", "pencil", "Objects"], + ["✒️", "black nib", "Objects"], + ["\uD83D\uDD8B️", "fountain pen", "Objects"], + ["\uD83D\uDD8A️", "pen", "Objects"], + ["\uD83D\uDD8C️", "paintbrush", "Objects"], + ["\uD83D\uDD8D️", "crayon", "Objects"], + ["\uD83D\uDCDD", "memo", "Objects"], + ["\uD83E\uDE8C", "eraser", "Objects"], + ["\uD83D\uDCBC", "briefcase", "Objects"], + ["\uD83D\uDCC1", "file folder", "Objects"], + ["\uD83D\uDCC2", "open file folder", "Objects"], + ["\uD83D\uDDC2️", "card index dividers", "Objects"], + ["\uD83D\uDCC5", "calendar", "Objects"], + ["\uD83D\uDCC6", "tear-off calendar", "Objects"], + ["\uD83D\uDDD2️", "spiral notepad", "Objects"], + ["\uD83D\uDDD3️", "spiral calendar", "Objects"], + ["\uD83D\uDCC7", "card index", "Objects"], + ["\uD83D\uDCC8", "chart increasing", "Objects"], + ["\uD83D\uDCC9", "chart decreasing", "Objects"], + ["\uD83D\uDCCA", "bar chart", "Objects"], + ["\uD83D\uDCCB", "clipboard", "Objects"], + ["\uD83D\uDCCC", "pushpin", "Objects"], + ["\uD83D\uDCCD", "round pushpin", "Objects"], + ["\uD83D\uDCCE", "paperclip", "Objects"], + ["\uD83D\uDD87️", "linked paperclips", "Objects"], + ["\uD83D\uDCCF", "straight ruler", "Objects"], + ["\uD83D\uDCD0", "triangular ruler", "Objects"], + ["✂️", "scissors", "Objects"], + ["\uD83D\uDDC3️", "card file box", "Objects"], + ["\uD83D\uDDC4️", "file cabinet", "Objects"], + ["\uD83D\uDDD1️", "wastebasket", "Objects"], + ["\uD83D\uDD12", "locked", "Objects"], + ["\uD83D\uDD13", "unlocked", "Objects"], + ["\uD83D\uDD0F", "locked with pen", "Objects"], + ["\uD83D\uDD10", "locked with key", "Objects"], + ["\uD83D\uDD11", "key", "Objects"], + ["\uD83D\uDDDD️", "old key", "Objects"], + ["\uD83E\uDE8D", "net with handle", "Objects"], + ["\uD83D\uDD28", "hammer", "Objects"], + ["\uD83E\uDE93", "axe", "Objects"], + ["⛏️", "pick", "Objects"], + ["⚒️", "hammer and pick", "Objects"], + ["\uD83D\uDEE0️", "hammer and wrench", "Objects"], + ["\uD83D\uDDE1️", "dagger", "Objects"], + ["⚔️", "crossed swords", "Objects"], + ["\uD83D\uDCA3", "bomb", "Objects"], + ["\uD83E\uDE83", "boomerang", "Objects"], + ["\uD83C\uDFF9", "bow and arrow", "Objects"], + ["\uD83D\uDEE1️", "shield", "Objects"], + ["\uD83E\uDE9A", "carpentry saw", "Objects"], + ["\uD83D\uDD27", "wrench", "Objects"], + ["\uD83E\uDE9B", "screwdriver", "Objects"], + ["\uD83D\uDD29", "nut and bolt", "Objects"], + ["⚙️", "gear", "Objects"], + ["\uD83D\uDDDC️", "clamp", "Objects"], + ["⚖️", "balance scale", "Objects"], + ["\uD83E\uDDAF", "white cane", "Objects"], + ["\uD83D\uDD17", "link", "Objects"], + ["⛓️‍\uD83D\uDCA5", "broken chain", "Objects"], + ["⛓️", "chains", "Objects"], + ["\uD83E\uDE9D", "hook", "Objects"], + ["\uD83E\uDDF0", "toolbox", "Objects"], + ["\uD83E\uDDF2", "magnet", "Objects"], + ["\uD83E\uDE9C", "ladder", "Objects"], + ["\uD83E\uDE8F", "shovel", "Objects"], + ["⚗️", "alembic", "Objects"], + ["\uD83E\uDDEA", "test tube", "Objects"], + ["\uD83E\uDDEB", "petri dish", "Objects"], + ["\uD83E\uDDEC", "dna", "Objects"], + ["\uD83D\uDD2C", "microscope", "Objects"], + ["\uD83D\uDD2D", "telescope", "Objects"], + ["\uD83D\uDCE1", "satellite antenna", "Objects"], + ["\uD83D\uDC89", "syringe", "Objects"], + ["\uD83E\uDE78", "drop of blood", "Objects"], + ["\uD83D\uDC8A", "pill", "Objects"], + ["\uD83E\uDE79", "adhesive bandage", "Objects"], + ["\uD83E\uDE7C", "crutch", "Objects"], + ["\uD83E\uDE7A", "stethoscope", "Objects"], + ["\uD83E\uDE7B", "x-ray", "Objects"], + ["\uD83D\uDEAA", "door", "Objects"], + ["\uD83D\uDED7", "elevator", "Objects"], + ["\uD83E\uDE9E", "mirror", "Objects"], + ["\uD83E\uDE9F", "window", "Objects"], + ["\uD83D\uDECF️", "bed", "Objects"], + ["\uD83D\uDECB️", "couch and lamp", "Objects"], + ["\uD83E\uDE91", "chair", "Objects"], + ["\uD83D\uDEBD", "toilet", "Objects"], + ["\uD83E\uDEA0", "plunger", "Objects"], + ["\uD83D\uDEBF", "shower", "Objects"], + ["\uD83D\uDEC1", "bathtub", "Objects"], + ["\uD83E\uDEA4", "mouse trap", "Objects"], + ["\uD83E\uDE92", "razor", "Objects"], + ["\uD83E\uDDF4", "lotion bottle", "Objects"], + ["\uD83E\uDDF7", "safety pin", "Objects"], + ["\uD83E\uDDF9", "broom", "Objects"], + ["\uD83E\uDDFA", "basket", "Objects"], + ["\uD83E\uDDFB", "roll of paper", "Objects"], + ["\uD83E\uDEA3", "bucket", "Objects"], + ["\uD83E\uDDFC", "soap", "Objects"], + ["\uD83E\uDEE7", "bubbles", "Objects"], + ["\uD83E\uDEA5", "toothbrush", "Objects"], + ["\uD83E\uDDFD", "sponge", "Objects"], + ["\uD83E\uDDEF", "fire extinguisher", "Objects"], + ["\uD83D\uDED2", "shopping cart", "Objects"], + ["\uD83D\uDEAC", "cigarette", "Objects"], + ["⚰️", "coffin", "Objects"], + ["\uD83E\uDEA6", "headstone", "Objects"], + ["⚱️", "funeral urn", "Objects"], + ["\uD83E\uDDFF", "nazar amulet", "Objects"], + ["\uD83E\uDEAC", "hamsa", "Objects"], + ["\uD83D\uDDFF", "moai", "Objects"], + ["\uD83E\uDEA7", "placard", "Objects"], + ["\uD83E\uDEAA", "identification card", "Objects"], + ["\uD83C\uDFE7", "ATM sign", "Symbols"], + ["\uD83D\uDEAE", "litter in bin sign", "Symbols"], + ["\uD83D\uDEB0", "potable water", "Symbols"], + ["♿", "wheelchair symbol", "Symbols"], + ["\uD83D\uDEB9", "men’s room", "Symbols"], + ["\uD83D\uDEBA", "women’s room", "Symbols"], + ["\uD83D\uDEBB", "restroom", "Symbols"], + ["\uD83D\uDEBC", "baby symbol", "Symbols"], + ["\uD83D\uDEBE", "water closet", "Symbols"], + ["\uD83D\uDEC2", "passport control", "Symbols"], + ["\uD83D\uDEC3", "customs", "Symbols"], + ["\uD83D\uDEC4", "baggage claim", "Symbols"], + ["\uD83D\uDEC5", "left luggage", "Symbols"], + ["⚠️", "warning", "Symbols"], + ["\uD83D\uDEB8", "children crossing", "Symbols"], + ["⛔", "no entry", "Symbols"], + ["\uD83D\uDEAB", "prohibited", "Symbols"], + ["\uD83D\uDEB3", "no bicycles", "Symbols"], + ["\uD83D\uDEAD", "no smoking", "Symbols"], + ["\uD83D\uDEAF", "no littering", "Symbols"], + ["\uD83D\uDEB1", "non-potable water", "Symbols"], + ["\uD83D\uDEB7", "no pedestrians", "Symbols"], + ["\uD83D\uDCF5", "no mobile phones", "Symbols"], + ["\uD83D\uDD1E", "no one under eighteen", "Symbols"], + ["☢️", "radioactive", "Symbols"], + ["☣️", "biohazard", "Symbols"], + ["⬆️", "up arrow", "Symbols"], + ["↗️", "up-right arrow", "Symbols"], + ["➡️", "right arrow", "Symbols"], + ["↘️", "down-right arrow", "Symbols"], + ["⬇️", "down arrow", "Symbols"], + ["↙️", "down-left arrow", "Symbols"], + ["⬅️", "left arrow", "Symbols"], + ["↖️", "up-left arrow", "Symbols"], + ["↕️", "up-down arrow", "Symbols"], + ["↔️", "left-right arrow", "Symbols"], + ["↩️", "right arrow curving left", "Symbols"], + ["↪️", "left arrow curving right", "Symbols"], + ["⤴️", "right arrow curving up", "Symbols"], + ["⤵️", "right arrow curving down", "Symbols"], + ["\uD83D\uDD03", "clockwise vertical arrows", "Symbols"], + ["\uD83D\uDD04", "counterclockwise arrows button", "Symbols"], + ["\uD83D\uDD19", "BACK arrow", "Symbols"], + ["\uD83D\uDD1A", "END arrow", "Symbols"], + ["\uD83D\uDD1B", "ON! arrow", "Symbols"], + ["\uD83D\uDD1C", "SOON arrow", "Symbols"], + ["\uD83D\uDD1D", "TOP arrow", "Symbols"], + ["\uD83D\uDED0", "place of worship", "Symbols"], + ["⚛️", "atom symbol", "Symbols"], + ["\uD83D\uDD49️", "om", "Symbols"], + ["✡️", "star of David", "Symbols"], + ["☸️", "wheel of dharma", "Symbols"], + ["☯️", "yin yang", "Symbols"], + ["✝️", "latin cross", "Symbols"], + ["☦️", "orthodox cross", "Symbols"], + ["☪️", "star and crescent", "Symbols"], + ["☮️", "peace symbol", "Symbols"], + ["\uD83D\uDD4E", "menorah", "Symbols"], + ["\uD83D\uDD2F", "dotted six-pointed star", "Symbols"], + ["\uD83E\uDEAF", "khanda", "Symbols"], + ["♈", "Aries", "Symbols"], + ["♉", "Taurus", "Symbols"], + ["♊", "Gemini", "Symbols"], + ["♋", "Cancer", "Symbols"], + ["♌", "Leo", "Symbols"], + ["♍", "Virgo", "Symbols"], + ["♎", "Libra", "Symbols"], + ["♏", "Scorpio", "Symbols"], + ["♐", "Sagittarius", "Symbols"], + ["♑", "Capricorn", "Symbols"], + ["♒", "Aquarius", "Symbols"], + ["♓", "Pisces", "Symbols"], + ["⛎", "Ophiuchus", "Symbols"], + ["\uD83D\uDD00", "shuffle tracks button", "Symbols"], + ["\uD83D\uDD01", "repeat button", "Symbols"], + ["\uD83D\uDD02", "repeat single button", "Symbols"], + ["▶️", "play button", "Symbols"], + ["⏩", "fast-forward button", "Symbols"], + ["⏭️", "next track button", "Symbols"], + ["⏯️", "play or pause button", "Symbols"], + ["◀️", "reverse button", "Symbols"], + ["⏪", "fast reverse button", "Symbols"], + ["⏮️", "last track button", "Symbols"], + ["\uD83D\uDD3C", "upwards button", "Symbols"], + ["⏫", "fast up button", "Symbols"], + ["\uD83D\uDD3D", "downwards button", "Symbols"], + ["⏬", "fast down button", "Symbols"], + ["⏸️", "pause button", "Symbols"], + ["⏹️", "stop button", "Symbols"], + ["⏺️", "record button", "Symbols"], + ["⏏️", "eject button", "Symbols"], + ["\uD83C\uDFA6", "cinema", "Symbols"], + ["\uD83D\uDD05", "dim button", "Symbols"], + ["\uD83D\uDD06", "bright button", "Symbols"], + ["\uD83D\uDCF6", "antenna bars", "Symbols"], + ["\uD83D\uDEDC", "wireless", "Symbols"], + ["\uD83D\uDCF3", "vibration mode", "Symbols"], + ["\uD83D\uDCF4", "mobile phone off", "Symbols"], + ["♀️", "female sign", "Symbols"], + ["♂️", "male sign", "Symbols"], + ["⚧️", "transgender symbol", "Symbols"], + ["✖️", "multiply", "Symbols"], + ["➕", "plus", "Symbols"], + ["➖", "minus", "Symbols"], + ["➗", "divide", "Symbols"], + ["\uD83D\uDFF0", "heavy equals sign", "Symbols"], + ["♾️", "infinity", "Symbols"], + ["‼️", "double exclamation mark", "Symbols"], + ["⁉️", "exclamation question mark", "Symbols"], + ["❓", "red question mark", "Symbols"], + ["❔", "white question mark", "Symbols"], + ["❕", "white exclamation mark", "Symbols"], + ["❗", "red exclamation mark", "Symbols"], + ["〰️", "wavy dash", "Symbols"], + ["\uD83D\uDCB1", "currency exchange", "Symbols"], + ["\uD83D\uDCB2", "heavy dollar sign", "Symbols"], + ["⚕️", "medical symbol", "Symbols"], + ["♻️", "recycling symbol", "Symbols"], + ["⚜️", "fleur-de-lis", "Symbols"], + ["\uD83D\uDD31", "trident emblem", "Symbols"], + ["\uD83D\uDCDB", "name badge", "Symbols"], + ["\uD83D\uDD30", "Japanese symbol for beginner", "Symbols"], + ["⭕", "hollow red circle", "Symbols"], + ["✅", "check mark button", "Symbols"], + ["☑️", "check box with check", "Symbols"], + ["✔️", "check mark", "Symbols"], + ["❌", "cross mark", "Symbols"], + ["❎", "cross mark button", "Symbols"], + ["➰", "curly loop", "Symbols"], + ["➿", "double curly loop", "Symbols"], + ["〽️", "part alternation mark", "Symbols"], + ["✳️", "eight-spoked asterisk", "Symbols"], + ["✴️", "eight-pointed star", "Symbols"], + ["❇️", "sparkle", "Symbols"], + ["©️", "copyright", "Symbols"], + ["®️", "registered", "Symbols"], + ["™️", "trade mark", "Symbols"], + ["\uD83E\uDEDF", "splatter", "Symbols"], + ["#️⃣", "keycap: #", "Symbols"], + ["*️⃣", "keycap: *", "Symbols"], + ["0️⃣", "keycap: 0", "Symbols"], + ["1️⃣", "keycap: 1", "Symbols"], + ["2️⃣", "keycap: 2", "Symbols"], + ["3️⃣", "keycap: 3", "Symbols"], + ["4️⃣", "keycap: 4", "Symbols"], + ["5️⃣", "keycap: 5", "Symbols"], + ["6️⃣", "keycap: 6", "Symbols"], + ["7️⃣", "keycap: 7", "Symbols"], + ["8️⃣", "keycap: 8", "Symbols"], + ["9️⃣", "keycap: 9", "Symbols"], + ["\uD83D\uDD1F", "keycap: 10", "Symbols"], + ["\uD83D\uDD20", "input latin uppercase", "Symbols"], + ["\uD83D\uDD21", "input latin lowercase", "Symbols"], + ["\uD83D\uDD22", "input numbers", "Symbols"], + ["\uD83D\uDD23", "input symbols", "Symbols"], + ["\uD83D\uDD24", "input latin letters", "Symbols"], + ["\uD83C\uDD70️", "A button (blood type)", "Symbols"], + ["\uD83C\uDD8E", "AB button (blood type)", "Symbols"], + ["\uD83C\uDD71️", "B button (blood type)", "Symbols"], + ["\uD83C\uDD91", "CL button", "Symbols"], + ["\uD83C\uDD92", "COOL button", "Symbols"], + ["\uD83C\uDD93", "FREE button", "Symbols"], + ["ℹ️", "information", "Symbols"], + ["\uD83C\uDD94", "ID button", "Symbols"], + ["Ⓜ️", "circled M", "Symbols"], + ["\uD83C\uDD95", "NEW button", "Symbols"], + ["\uD83C\uDD96", "NG button", "Symbols"], + ["\uD83C\uDD7E️", "O button (blood type)", "Symbols"], + ["\uD83C\uDD97", "OK button", "Symbols"], + ["\uD83C\uDD7F️", "P button", "Symbols"], + ["\uD83C\uDD98", "SOS button", "Symbols"], + ["\uD83C\uDD99", "UP! button", "Symbols"], + ["\uD83C\uDD9A", "VS button", "Symbols"], + ["\uD83C\uDE01", "Japanese “here” button", "Symbols"], + ["\uD83C\uDE02️", "Japanese “service charge” button", "Symbols"], + ["\uD83C\uDE37️", "Japanese “monthly amount” button", "Symbols"], + ["\uD83C\uDE36", "Japanese “not free of charge” button", "Symbols"], + ["\uD83C\uDE2F", "Japanese “reserved” button", "Symbols"], + ["\uD83C\uDE50", "Japanese “bargain” button", "Symbols"], + ["\uD83C\uDE39", "Japanese “discount” button", "Symbols"], + ["\uD83C\uDE1A", "Japanese “free of charge” button", "Symbols"], + ["\uD83C\uDE32", "Japanese “prohibited” button", "Symbols"], + ["\uD83C\uDE51", "Japanese “acceptable” button", "Symbols"], + ["\uD83C\uDE38", "Japanese “application” button", "Symbols"], + ["\uD83C\uDE34", "Japanese “passing grade” button", "Symbols"], + ["\uD83C\uDE33", "Japanese “vacancy” button", "Symbols"], + ["㊗️", "Japanese “congratulations” button", "Symbols"], + ["㊙️", "Japanese “secret” button", "Symbols"], + ["\uD83C\uDE3A", "Japanese “open for business” button", "Symbols"], + ["\uD83C\uDE35", "Japanese “no vacancy” button", "Symbols"], + ["\uD83D\uDD34", "red circle", "Symbols"], + ["\uD83D\uDFE0", "orange circle", "Symbols"], + ["\uD83D\uDFE1", "yellow circle", "Symbols"], + ["\uD83D\uDFE2", "green circle", "Symbols"], + ["\uD83D\uDD35", "blue circle", "Symbols"], + ["\uD83D\uDFE3", "purple circle", "Symbols"], + ["\uD83D\uDFE4", "brown circle", "Symbols"], + ["⚫", "black circle", "Symbols"], + ["⚪", "white circle", "Symbols"], + ["\uD83D\uDFE5", "red square", "Symbols"], + ["\uD83D\uDFE7", "orange square", "Symbols"], + ["\uD83D\uDFE8", "yellow square", "Symbols"], + ["\uD83D\uDFE9", "green square", "Symbols"], + ["\uD83D\uDFE6", "blue square", "Symbols"], + ["\uD83D\uDFEA", "purple square", "Symbols"], + ["\uD83D\uDFEB", "brown square", "Symbols"], + ["⬛", "black large square", "Symbols"], + ["⬜", "white large square", "Symbols"], + ["◼️", "black medium square", "Symbols"], + ["◻️", "white medium square", "Symbols"], + ["◾", "black medium-small square", "Symbols"], + ["◽", "white medium-small square", "Symbols"], + ["▪️", "black small square", "Symbols"], + ["▫️", "white small square", "Symbols"], + ["\uD83D\uDD36", "large orange diamond", "Symbols"], + ["\uD83D\uDD37", "large blue diamond", "Symbols"], + ["\uD83D\uDD38", "small orange diamond", "Symbols"], + ["\uD83D\uDD39", "small blue diamond", "Symbols"], + ["\uD83D\uDD3A", "red triangle pointed up", "Symbols"], + ["\uD83D\uDD3B", "red triangle pointed down", "Symbols"], + ["\uD83D\uDCA0", "diamond with a dot", "Symbols"], + ["\uD83D\uDD18", "radio button", "Symbols"], + ["\uD83D\uDD33", "white square button", "Symbols"], + ["\uD83D\uDD32", "black square button", "Symbols"], + ["\uD83C\uDFC1", "chequered flag", "Flags"], + ["\uD83D\uDEA9", "triangular flag", "Flags"], + ["\uD83C\uDF8C", "crossed flags", "Flags"], + ["\uD83C\uDFF4", "black flag", "Flags"], + ["\uD83C\uDFF3️", "white flag", "Flags"], + ["\uD83C\uDFF3️‍\uD83C\uDF08", "rainbow flag", "Flags"], + ["\uD83C\uDFF3️‍⚧️", "transgender flag", "Flags"], + ["\uD83C\uDFF4‍☠️", "pirate flag", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDE8", "flag: Ascension Island", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDE9", "flag: Andorra", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDEA", "flag: United Arab Emirates", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDEB", "flag: Afghanistan", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDEC", "flag: Antigua & Barbuda", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDEE", "flag: Anguilla", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF1", "flag: Albania", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF2", "flag: Armenia", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF4", "flag: Angola", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF6", "flag: Antarctica", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF7", "flag: Argentina", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF8", "flag: American Samoa", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDF9", "flag: Austria", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDFA", "flag: Australia", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDFC", "flag: Aruba", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDFD", "flag: Åland Islands", "Flags"], + ["\uD83C\uDDE6\uD83C\uDDFF", "flag: Azerbaijan", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDE6", "flag: Bosnia & Herzegovina", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDE7", "flag: Barbados", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDE9", "flag: Bangladesh", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDEA", "flag: Belgium", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDEB", "flag: Burkina Faso", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDEC", "flag: Bulgaria", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDED", "flag: Bahrain", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDEE", "flag: Burundi", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDEF", "flag: Benin", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF1", "flag: St. Barthélemy", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF2", "flag: Bermuda", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF3", "flag: Brunei", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF4", "flag: Bolivia", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF6", "flag: Caribbean Netherlands", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF7", "flag: Brazil", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF8", "flag: Bahamas", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDF9", "flag: Bhutan", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDFB", "flag: Bouvet Island", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDFC", "flag: Botswana", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDFE", "flag: Belarus", "Flags"], + ["\uD83C\uDDE7\uD83C\uDDFF", "flag: Belize", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDE6", "flag: Canada", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDE8", "flag: Cocos (Keeling) Islands", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDE9", "flag: Congo - Kinshasa", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDEB", "flag: Central African Republic", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDEC", "flag: Congo - Brazzaville", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDED", "flag: Switzerland", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDEE", "flag: Côte d’Ivoire", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF0", "flag: Cook Islands", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF1", "flag: Chile", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF2", "flag: Cameroon", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF3", "flag: China", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF4", "flag: Colombia", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF5", "flag: Clipperton Island", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF6", "flag: Sark", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDF7", "flag: Costa Rica", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDFA", "flag: Cuba", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDFB", "flag: Cape Verde", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDFC", "flag: Curaçao", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDFD", "flag: Christmas Island", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDFE", "flag: Cyprus", "Flags"], + ["\uD83C\uDDE8\uD83C\uDDFF", "flag: Czechia", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDEA", "flag: Germany", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDEC", "flag: Diego Garcia", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDEF", "flag: Djibouti", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDF0", "flag: Denmark", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDF2", "flag: Dominica", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDF4", "flag: Dominican Republic", "Flags"], + ["\uD83C\uDDE9\uD83C\uDDFF", "flag: Algeria", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDE6", "flag: Ceuta & Melilla", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDE8", "flag: Ecuador", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDEA", "flag: Estonia", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDEC", "flag: Egypt", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDED", "flag: Western Sahara", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDF7", "flag: Eritrea", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDF8", "flag: Spain", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDF9", "flag: Ethiopia", "Flags"], + ["\uD83C\uDDEA\uD83C\uDDFA", "flag: European Union", "Flags"], + ["\uD83C\uDDEB\uD83C\uDDEE", "flag: Finland", "Flags"], + ["\uD83C\uDDEB\uD83C\uDDEF", "flag: Fiji", "Flags"], + ["\uD83C\uDDEB\uD83C\uDDF0", "flag: Falkland Islands", "Flags"], + ["\uD83C\uDDEB\uD83C\uDDF2", "flag: Micronesia", "Flags"], + ["\uD83C\uDDEB\uD83C\uDDF4", "flag: Faroe Islands", "Flags"], + ["\uD83C\uDDEB\uD83C\uDDF7", "flag: France", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDE6", "flag: Gabon", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDE7", "flag: United Kingdom", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDE9", "flag: Grenada", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDEA", "flag: Georgia", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDEB", "flag: French Guiana", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDEC", "flag: Guernsey", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDED", "flag: Ghana", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDEE", "flag: Gibraltar", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF1", "flag: Greenland", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF2", "flag: Gambia", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF3", "flag: Guinea", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF5", "flag: Guadeloupe", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF6", "flag: Equatorial Guinea", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF7", "flag: Greece", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF8", "flag: South Georgia & South Sandwich Islands", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDF9", "flag: Guatemala", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDFA", "flag: Guam", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDFC", "flag: Guinea-Bissau", "Flags"], + ["\uD83C\uDDEC\uD83C\uDDFE", "flag: Guyana", "Flags"], + ["\uD83C\uDDED\uD83C\uDDF0", "flag: Hong Kong SAR China", "Flags"], + ["\uD83C\uDDED\uD83C\uDDF2", "flag: Heard Island & McDonald Islands", "Flags"], + ["\uD83C\uDDED\uD83C\uDDF3", "flag: Honduras", "Flags"], + ["\uD83C\uDDED\uD83C\uDDF7", "flag: Croatia", "Flags"], + ["\uD83C\uDDED\uD83C\uDDF9", "flag: Haiti", "Flags"], + ["\uD83C\uDDED\uD83C\uDDFA", "flag: Hungary", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDE8", "flag: Canary Islands", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDE9", "flag: Indonesia", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDEA", "flag: Ireland", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF1", "flag: Israel", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF2", "flag: Isle of Man", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF3", "flag: India", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF4", "flag: British Indian Ocean Territory", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF6", "flag: Iraq", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF7", "flag: Iran", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF8", "flag: Iceland", "Flags"], + ["\uD83C\uDDEE\uD83C\uDDF9", "flag: Italy", "Flags"], + ["\uD83C\uDDEF\uD83C\uDDEA", "flag: Jersey", "Flags"], + ["\uD83C\uDDEF\uD83C\uDDF2", "flag: Jamaica", "Flags"], + ["\uD83C\uDDEF\uD83C\uDDF4", "flag: Jordan", "Flags"], + ["\uD83C\uDDEF\uD83C\uDDF5", "flag: Japan", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDEA", "flag: Kenya", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDEC", "flag: Kyrgyzstan", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDED", "flag: Cambodia", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDEE", "flag: Kiribati", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDF2", "flag: Comoros", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDF3", "flag: St. Kitts & Nevis", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDF5", "flag: North Korea", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDF7", "flag: South Korea", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDFC", "flag: Kuwait", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDFE", "flag: Cayman Islands", "Flags"], + ["\uD83C\uDDF0\uD83C\uDDFF", "flag: Kazakhstan", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDE6", "flag: Laos", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDE7", "flag: Lebanon", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDE8", "flag: St. Lucia", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDEE", "flag: Liechtenstein", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDF0", "flag: Sri Lanka", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDF7", "flag: Liberia", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDF8", "flag: Lesotho", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDF9", "flag: Lithuania", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDFA", "flag: Luxembourg", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDFB", "flag: Latvia", "Flags"], + ["\uD83C\uDDF1\uD83C\uDDFE", "flag: Libya", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDE6", "flag: Morocco", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDE8", "flag: Monaco", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDE9", "flag: Moldova", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDEA", "flag: Montenegro", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDEB", "flag: St. Martin", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDEC", "flag: Madagascar", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDED", "flag: Marshall Islands", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF0", "flag: North Macedonia", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF1", "flag: Mali", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF2", "flag: Myanmar (Burma)", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF3", "flag: Mongolia", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF4", "flag: Macao SAR China", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF5", "flag: Northern Mariana Islands", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF6", "flag: Martinique", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF7", "flag: Mauritania", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF8", "flag: Montserrat", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDF9", "flag: Malta", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDFA", "flag: Mauritius", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDFB", "flag: Maldives", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDFC", "flag: Malawi", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDFD", "flag: Mexico", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDFE", "flag: Malaysia", "Flags"], + ["\uD83C\uDDF2\uD83C\uDDFF", "flag: Mozambique", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDE6", "flag: Namibia", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDE8", "flag: New Caledonia", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDEA", "flag: Niger", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDEB", "flag: Norfolk Island", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDEC", "flag: Nigeria", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDEE", "flag: Nicaragua", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDF1", "flag: Netherlands", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDF4", "flag: Norway", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDF5", "flag: Nepal", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDF7", "flag: Nauru", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDFA", "flag: Niue", "Flags"], + ["\uD83C\uDDF3\uD83C\uDDFF", "flag: New Zealand", "Flags"], + ["\uD83C\uDDF4\uD83C\uDDF2", "flag: Oman", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDE6", "flag: Panama", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDEA", "flag: Peru", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDEB", "flag: French Polynesia", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDEC", "flag: Papua New Guinea", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDED", "flag: Philippines", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF0", "flag: Pakistan", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF1", "flag: Poland", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF2", "flag: St. Pierre & Miquelon", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF3", "flag: Pitcairn Islands", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF7", "flag: Puerto Rico", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF8", "flag: Palestinian Territories", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDF9", "flag: Portugal", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDFC", "flag: Palau", "Flags"], + ["\uD83C\uDDF5\uD83C\uDDFE", "flag: Paraguay", "Flags"], + ["\uD83C\uDDF6\uD83C\uDDE6", "flag: Qatar", "Flags"], + ["\uD83C\uDDF7\uD83C\uDDEA", "flag: Réunion", "Flags"], + ["\uD83C\uDDF7\uD83C\uDDF4", "flag: Romania", "Flags"], + ["\uD83C\uDDF7\uD83C\uDDF8", "flag: Serbia", "Flags"], + ["\uD83C\uDDF7\uD83C\uDDFA", "flag: Russia", "Flags"], + ["\uD83C\uDDF7\uD83C\uDDFC", "flag: Rwanda", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDE6", "flag: Saudi Arabia", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDE7", "flag: Solomon Islands", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDE8", "flag: Seychelles", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDE9", "flag: Sudan", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDEA", "flag: Sweden", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDEC", "flag: Singapore", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDED", "flag: St. Helena, Ascension & Tristan da Cunha", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDEE", "flag: Slovenia", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDEF", "flag: Svalbard & Jan Mayen", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF0", "flag: Slovakia", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF1", "flag: Sierra Leone", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF2", "flag: San Marino", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF3", "flag: Senegal", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF4", "flag: Somalia", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF7", "flag: Suriname", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF8", "flag: South Sudan", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDF9", "flag: São Tomé & Príncipe", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDFB", "flag: El Salvador", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDFD", "flag: Sint Maarten", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDFE", "flag: Syria", "Flags"], + ["\uD83C\uDDF8\uD83C\uDDFF", "flag: Eswatini", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDE6", "flag: Tristan da Cunha", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDE8", "flag: Turks & Caicos Islands", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDE9", "flag: Chad", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDEB", "flag: French Southern and Antarctic Lands", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDEC", "flag: Togo", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDED", "flag: Thailand", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDEF", "flag: Tajikistan", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF0", "flag: Tokelau", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF1", "flag: Timor-Leste", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF2", "flag: Turkmenistan", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF3", "flag: Tunisia", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF4", "flag: Tonga", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF7", "flag: Türkiye", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDF9", "flag: Trinidad & Tobago", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDFB", "flag: Tuvalu", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDFC", "flag: Taiwan", "Flags"], + ["\uD83C\uDDF9\uD83C\uDDFF", "flag: Tanzania", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDE6", "flag: Ukraine", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDEC", "flag: Uganda", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDF2", "flag: U.S. Outlying Islands", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDF3", "flag: United Nations", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDF8", "flag: United States", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDFE", "flag: Uruguay", "Flags"], + ["\uD83C\uDDFA\uD83C\uDDFF", "flag: Uzbekistan", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDE6", "flag: Vatican City", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDE8", "flag: St. Vincent & Grenadines", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDEA", "flag: Venezuela", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDEC", "flag: British Virgin Islands", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDEE", "flag: U.S. Virgin Islands", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDF3", "flag: Vietnam", "Flags"], + ["\uD83C\uDDFB\uD83C\uDDFA", "flag: Vanuatu", "Flags"], + ["\uD83C\uDDFC\uD83C\uDDEB", "flag: Wallis & Futuna", "Flags"], + ["\uD83C\uDDFC\uD83C\uDDF8", "flag: Samoa", "Flags"], + ["\uD83C\uDDFD\uD83C\uDDF0", "flag: Kosovo", "Flags"], + ["\uD83C\uDDFE\uD83C\uDDEA", "flag: Yemen", "Flags"], + ["\uD83C\uDDFE\uD83C\uDDF9", "flag: Mayotte", "Flags"], + ["\uD83C\uDDFF\uD83C\uDDE6", "flag: South Africa", "Flags"], + ["\uD83C\uDDFF\uD83C\uDDF2", "flag: Zambia", "Flags"], + ["\uD83C\uDDFF\uD83C\uDDFC", "flag: Zimbabwe", "Flags"], + ["\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F", "flag: England", "Flags"], + ["\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74\uDB40\uDC7F", "flag: Scotland", "Flags"], + ["\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73\uDB40\uDC7F", "flag: Wales", "Flags"] +]; + // tapback-actions.ts +var EMOJI_GROUPS = ["All", "Smileys & Emotion", "People & Body", "Animals & Nature", "Food & Drink", "Travel & Places", "Activities", "Objects", "Symbols", "Flags"]; +var EMOJI_CHOICES = EMOJI_CATALOGUE.map((r) => ({ emoji: r[0], name: r[1], kind: "emoji:" + r[0] })); +var EMOJI_NAMES = new Map(EMOJI_CATALOGUE.map((r) => [r[0], r[1]])); +function searchReactionEmoji(query, group = "All") { + const q = String(query || "").trim().toLowerCase(); + const words = q.split(/\s+/).filter(Boolean); + const choices = EMOJI_CHOICES.filter((r, i) => (group === "All" || EMOJI_CATALOGUE[i][2] === group) && (r.emoji === q || words.every((w) => r.name.toLowerCase().includes(w)))); + if (validReactionEmoji(q) && !choices.some((r) => r.emoji === q)) + choices.unshift({ emoji: q, name: EMOJI_NAMES.get(q) || "Custom emoji", kind: "emoji:" + q }); + return choices; +} var TAPBACKS = [ { kind: "love", emoji: "❤️" }, { kind: "like", emoji: "\uD83D\uDC4D" }, @@ -23,12 +4001,18 @@ function moveTapbackCursor(cursor, dir, n = TAPBACKS.length) { return (cursor + (dir > 0 ? 1 : n - 1)) % n; } function tapbacksOn(conf) { + return confOn(conf, "tapbacks"); +} +function repliesOn(conf) { + return confOn(conf, "replies"); +} +function confOn(conf, key) { let v = ""; for (const raw of String(conf || "").split(` `)) { const line = raw.replace(/#.*/, "").replace(/\s+/g, ""); const eq = line.indexOf("="); - if (eq < 0 || line.slice(0, eq) !== "tapbacks") + if (eq < 0 || line.slice(0, eq) !== key) continue; v = line.slice(eq + 1).replace(/^"/, "").replace(/"$/, "").replace(/^'/, "").replace(/'$/, ""); } @@ -42,10 +4026,13 @@ function tapbackKind(emoji) { } function myTapback(message) { for (const t of message?.tapbacks ?? []) { - if (t.from_me) { + if (t.from_me && t.kind !== "sticker") { + if (t.kind === "emoji") + return emojiKind(t.emoji); const kind = tapbackKind(t.emoji); if (kind) return kind; + return emojiKind(t.emoji); } } return ""; @@ -63,8 +4050,119 @@ function canTapback(message, group) { return text !== "" && !LINK.test(text); } function tapbackArgs(guid, kind, current) { + if (!TAPBACKS.some((t) => t.kind === kind)) + return []; return ["--guid", guid, kind, ...current === kind ? ["--remove"] : [], "--yes"]; } +function validReactionEmoji(value) { + if (typeof value !== "string" || value.length === 0 || value.length > 64) + return false; + const points = []; + for (let i = 0;i < value.length; ) { + const point = value.codePointAt(i); + points.push(point); + i += point > 65535 ? 2 : 1; + } + if (points.length === 2 && points.every((n) => n >= 127462 && n <= 127487)) + return true; + if (/^[0-9#*]\uFE0F?\u20E3$/.test(value)) + return true; + const base = (n) => n >= 126976 && n <= 129791 && !(n >= 127462 && n <= 127487) || n >= 9728 && n <= 10175 || [ + 169, + 174, + 8252, + 8265, + 8482, + 8505, + 8596, + 8597, + 8598, + 8599, + 8600, + 8601, + 8617, + 8618, + 8986, + 8987, + 9000, + 9167, + 9193, + 9194, + 9195, + 9196, + 9197, + 9198, + 9199, + 9200, + 9201, + 9202, + 9203, + 9208, + 9209, + 9210, + 9410, + 9642, + 9643, + 9654, + 9664, + 9723, + 9724, + 9725, + 9726, + 10548, + 10549, + 11013, + 11014, + 11015, + 11035, + 11036, + 11088, + 11093, + 12336, + 12349, + 12951, + 12953 + ].includes(n); + let at = 0; + for (;; ) { + const n = points[at++]; + if (!base(n) || n >= 127995 && n <= 127999) + return false; + if (points[at] === 65039 || points[at] === 65038) + at++; + if (points[at] >= 127995 && points[at] <= 127999) + at++; + if (n === 127988 && points[at] >= 917536 && points[at] <= 917630) { + while (points[at] >= 917536 && points[at] <= 917630) + at++; + if (points[at++] !== 917631) + return false; + } + if (at === points.length) + return true; + if (points[at++] !== 8205 || at === points.length) + return false; + } +} +function emojiKind(emoji) { + return validReactionEmoji(emoji) ? "emoji:" + emoji : ""; +} +function reactionEmoji(kind) { + const classic = TAPBACKS.find((t) => t.kind === kind); + if (classic) + return classic.emoji; + return kind.startsWith("emoji:") && validReactionEmoji(kind.slice(6)) ? kind.slice(6) : ""; +} +function tapbackRequest(guid, kind, current) { + if (!/^[A-Za-z0-9:/_-]{1,128}$/.test(guid) || !reactionEmoji(kind)) + return null; + if (!kind.startsWith("emoji:")) + return { args: tapbackArgs(guid, kind, current), stdin: "" }; + return { + args: ["--guid", guid, "--emoji-stdin", ...current === kind ? ["--remove"] : [], "--yes"], + stdin: JSON.stringify({ emoji: kind.slice(6), name: EMOJI_NAMES.get(kind.slice(6)) || "" }) + }; +} var SETTLE_TRIES = 8; function pendingTapback(chat, guid, kind, current) { return { chat, guid, kind, remove: current === kind, done: false, tries: 0 }; @@ -76,11 +4174,11 @@ function shownTapbacks(message, p) { const list = message?.tapbacks ?? []; if (!message || !p || String(message.guid || "") !== p.guid || tapbackSettled(message, p)) return list; - const hit = TAPBACKS.find((t) => t.kind === p.kind); - if (!hit) + const emoji = reactionEmoji(p.kind); + if (!emoji) return list; - const others = list.filter((t) => !(t.from_me && tapbackKind(t.emoji))); - return [...others, { emoji: hit.emoji, from_me: true, pending: true }]; + const others = list.filter((t) => !t.from_me || t.kind === "sticker"); + return [...others, { emoji, from_me: true, pending: true }]; } function pendingAfterLoad(p, chat, bubbles, startedAfterDone) { if (!p || p.chat !== chat) @@ -104,20 +4202,27 @@ function tapbackFailure(code, stderr) { return "tapback: " + (why || "imsg-react exit " + code); } export { + EMOJI_GROUPS, SETTLE_TRIES, TAPBACKS, TAPBACK_NOT_STARTED, canTapback, + emojiKind, initialTapbackCursor, moveTapbackCursor, myTapback, pendingAfterLoad, pendingTapback, + reactionEmoji, + repliesOn, + searchReactionEmoji, shownTapbacks, tapbackArgs, tapbackFailure, tapbackForKey, tapbackKind, + tapbackRequest, tapbackSettled, - tapbacksOn + tapbacksOn, + validReactionEmoji }; diff --git a/TimeReveal.mjs b/TimeReveal.mjs new file mode 100644 index 00000000..08f80cef --- /dev/null +++ b/TimeReveal.mjs @@ -0,0 +1,39 @@ +// time-reveal.ts +var COMMIT_PX = 10; +var X_DOMINANCE = 1.5; +var HOLD_OPEN_MS = 1400; +var ABANDON_MS = 160; +function idleGesture() { + return { axis: "", x: 0, y: 0 }; +} +function routeWheel(gesture, dx, dy) { + const x = Number.isFinite(dx) ? dx : 0; + const y = Number.isFinite(dy) ? dy : 0; + if (gesture.axis === "x") + return { gesture, dx: x, dy: 0 }; + if (gesture.axis === "y") + return { gesture, dx: 0, dy: y }; + const sumX = gesture.x + x; + const sumY = gesture.y + y; + if (Math.abs(sumX) >= COMMIT_PX && Math.abs(sumX) > Math.abs(sumY) * X_DOMINANCE) + return { gesture: { axis: "x", x: sumX, y: sumY }, dx: sumX, dy: 0 }; + if (Math.abs(sumY) >= COMMIT_PX && Math.abs(sumY) >= Math.abs(sumX)) + return { gesture: { axis: "y", x: sumX, y: sumY }, dx: 0, dy: y }; + return { gesture: { axis: "", x: sumX, y: sumY }, dx: 0, dy: y }; +} +function nextOffset(offset, dx, maxOffset) { + const max = Number.isFinite(maxOffset) && maxOffset > 0 ? maxOffset : 0; + const next = (Number.isFinite(offset) ? offset : 0) - (Number.isFinite(dx) ? dx : 0); + return Math.max(0, Math.min(max, next)); +} +function settleDelay(offset, maxOffset) { + return maxOffset > 0 && offset >= maxOffset / 2 ? HOLD_OPEN_MS : ABANDON_MS; +} +export { + ABANDON_MS, + HOLD_OPEN_MS, + idleGesture, + nextOffset, + routeWheel, + settleDelay +}; diff --git a/TimeRevealGesture.qml b/TimeRevealGesture.qml new file mode 100644 index 00000000..948747ba --- /dev/null +++ b/TimeRevealGesture.qml @@ -0,0 +1,43 @@ +import QtQuick +import "TimeReveal.mjs" as TimeReveal + +// State for the sideways swipe that reveals message times. The conversation's +// wheel handler feeds it; rows read `progress`. Decisions live in time-reveal.ts. +Item { + id: gesture + property real maxOffset: 72 + property real offset: 0 + property bool tracking: false + property var wheelState: TimeReveal.idleGesture() + readonly property real progress: maxOffset > 0 ? Math.max(0, Math.min(1, offset / maxOffset)) : 0 + + /** Returns the vertical delta the caller should still scroll by. */ + function route(dx, dy) { + var routed = TimeReveal.routeWheel(wheelState, dx, dy) + wheelState = routed.gesture + idle.restart() + if (routed.dx !== 0) { + tracking = true + hold.stop() + offset = TimeReveal.nextOffset(offset, routed.dx, maxOffset) + } + return routed.dy + } + + Behavior on offset { + enabled: !gesture.tracking + NumberAnimation { duration: 240; easing.type: Easing.OutCubic } + } + Timer { + id: idle + interval: 120 + onTriggered: { + gesture.wheelState = TimeReveal.idleGesture() + if (!gesture.tracking) return + gesture.tracking = false + hold.interval = TimeReveal.settleDelay(gesture.offset, gesture.maxOffset) + hold.restart() + } + } + Timer { id: hold; onTriggered: gesture.offset = 0 } +} diff --git a/attachment-picker.test.ts b/attachment-picker.test.ts new file mode 100644 index 00000000..441cfd8b --- /dev/null +++ b/attachment-picker.test.ts @@ -0,0 +1,15 @@ +import { expect, test } from "bun:test"; +import { mkdtempSync, writeFileSync, symlinkSync, rmSync } from "node:fs"; +import { join } from "node:path"; +import { tmpdir } from "node:os"; +import { attachmentPaths } from "./attachment-picker"; +test("picker accepts bounded distinct regular local files and refuses URLs, directories and symlinks", () => { + const dir = mkdtempSync(join(tmpdir(), "blip-picker-test-")); + try { + const file = join(dir, "photo one.png"); writeFileSync(file, "bytes"); + symlinkSync(file, join(dir, "link")); + expect(attachmentPaths(`${file}\n${file}\n`)).toEqual([file]); + for (const value of ["https://example.com/file", "relative", dir, join(dir, "link"), ""]) expect(() => attachmentPaths(value)).toThrow(); + expect(() => attachmentPaths(Array.from({length:11}, (_, i) => join(dir, String(i))).join("\n"))).toThrow("10 files"); + } finally { rmSync(dir, { recursive: true, force: true }); } +}); diff --git a/attachment-picker.ts b/attachment-picker.ts new file mode 100644 index 00000000..80edecb9 --- /dev/null +++ b/attachment-picker.ts @@ -0,0 +1,28 @@ +#!/usr/bin/env bun +/** The picker only selects local files. No send happens until the composer is + * explicitly sent; filenames never enter a shell command. */ +import { spawnSync } from "node:child_process"; +import { lstatSync } from "node:fs"; +import { isAbsolute } from "node:path"; +export function attachmentPaths(value: string): string[] { + const files = [...new Set(value.replace(/\n$/, "").split("\n"))]; + if (!files.length || files.length > 10) throw new Error("Choose up to 10 files"); + for (const file of files) { + if (!isAbsolute(file) || file.length > 4096 || /[\x00-\x1f\x7f]/.test(file)) throw new Error("Choose local files"); + const st = lstatSync(file); + if (!st.isFile() || st.isSymbolicLink()) throw new Error("Choose files, not folders or links"); + if (st.size > 100 * 1024 * 1024) throw new Error("Each attachment must be smaller than 100 MB"); + } + return files; +} +if (import.meta.main) { + try { + const picked = spawnSync("zenity", ["--file-selection", "--multiple", "--separator=\n", "--title=Attach files"], { encoding: "utf8", timeout: 120000, maxBuffer: 65536 }); + if (picked.status === 1) console.log(JSON.stringify({ ok: true, cancelled: true })); + else if (picked.status !== 0) throw new Error("Could not open the file picker"); + else console.log(JSON.stringify({ ok: true, paths: attachmentPaths(picked.stdout) })); + } catch (error) { + console.log(JSON.stringify({ ok: false, error: error instanceof Error ? error.message : "Could not select files" })); + process.exitCode = 1; + } +} diff --git a/audio-metadata.ts b/audio-metadata.ts new file mode 100644 index 00000000..f4a26971 --- /dev/null +++ b/audio-metadata.ts @@ -0,0 +1,62 @@ +/** Audio-only metadata/envelope extraction. All PCM remains in memory. */ +import { spawnSync } from "node:child_process"; +import { closeSync, constants, fstatSync, openSync, readSync } from "node:fs"; +import { AUDIO_ANALYSIS_SECONDS, AUDIO_SAMPLE_RATE, waveformFromPcm16 } from "./audio-waveform"; + +export interface AudioMetadata { durationMs: number; waveform: number[]; unavailable: boolean; playable: boolean } +const MAX_INPUT = 100 * 1024 * 1024; + +/** Explicit demuxers prevent disguised playlists from loading referenced + * resources. The cached CAF may already be Ogg after the existing rewrap. */ +export function audioDemuxer(header: Uint8Array): string { + const text = (a: number, b: number) => String.fromCharCode(...header.subarray(a, b)); + if (header.length < 12) return ""; + if (text(0, 4) === "RIFF" && text(8, 12) === "WAVE") return "wav"; + if (text(0, 4) === "OggS") return "ogg"; + if (text(0, 4) === "caff") return "caf"; + if (text(0, 4) === "fLaC") return "flac"; + if (text(4, 8) === "ftyp") return "mov"; + if (text(0, 3) === "ID3" || (header[0] === 255 && (header[1]! & 0xe0) === 0xe0 && (header[1]! & 6) !== 0)) return "mp3"; + if (header[0] === 255 && (header[1]! & 0xf6) === 0xf0) return "aac"; + return ""; +} + +export function analyzeAudio(path: string, runner = spawnSync): AudioMetadata { + const empty: AudioMetadata = { durationMs: 0, waveform: [], unavailable: true, playable: false }; + let fallback = empty; + let fd: number | undefined; + try { + fd = openSync(path, constants.O_RDONLY | constants.O_NOFOLLOW); + const st = fstatSync(fd); + if (!st.isFile() || st.size <= 0 || st.size > MAX_INPUT) return empty; + const header = Buffer.alloc(16); const length = readSync(fd, header, 0, header.length, 0); + const format = audioDemuxer(header.subarray(0, length)); + if (!format) return empty; + const input = ["-protocol_whitelist", "file,pipe", "-f", format, "-i", path]; + const probe = runner("ffprobe", ["-v", "error", ...input, "-select_streams", "a:0", + "-show_entries", "format=duration:stream=codec_type", "-of", "json"], + { timeout: 10000, maxBuffer: 16384 }); + if (probe.status !== 0) return empty; + const data = JSON.parse(String(probe.stdout)); + if (!Array.isArray(data.streams) || !data.streams.some((s: any) => s.codec_type === "audio")) return empty; + fallback = { ...empty, playable: true }; + const seconds = Number(data.format?.duration); + if (!Number.isFinite(seconds) || seconds <= 0 || seconds > 86400) return { ...empty, playable: true }; + const durationMs = Math.round(seconds * 1000); + fallback = { durationMs, waveform: [], unavailable: true, playable: true }; + // A waveform must describe the complete recording. Don't display a + // truncated ten-minute envelope against a longer recording's timeline. + if (seconds > AUDIO_ANALYSIS_SECONDS) return { durationMs, waveform: [], unavailable: true, playable: true }; + const result = runner("ffmpeg", ["-nostdin", "-v", "error", "-threads", "1", ...input, + "-map", "0:a:0", "-vn", "-sn", "-dn", "-t", String(AUDIO_ANALYSIS_SECONDS), + "-ac", "1", "-ar", String(AUDIO_SAMPLE_RATE), "-c:a", "pcm_s16le", "-f", "s16le", "pipe:1"], + { timeout: 15000, maxBuffer: AUDIO_SAMPLE_RATE * AUDIO_ANALYSIS_SECONDS * 2 + 16384 }); + if (result.status !== 0 || !Buffer.isBuffer(result.stdout)) return { durationMs, waveform: [], unavailable: true, playable: true }; + const decodedSeconds = result.stdout.length / (2 * AUDIO_SAMPLE_RATE); + if (Math.abs(decodedSeconds - seconds) > Math.max(0.25, seconds * 0.02)) + return { durationMs, waveform: [], unavailable: true, playable: true }; + const waveform = waveformFromPcm16(result.stdout); + return { durationMs, waveform, unavailable: waveform.length === 0, playable: true }; + } catch { return fallback; } + finally { if (fd !== undefined) closeSync(fd); } +} diff --git a/audio-waveform.test.ts b/audio-waveform.test.ts new file mode 100644 index 00000000..dbb3fbc3 --- /dev/null +++ b/audio-waveform.test.ts @@ -0,0 +1,97 @@ +import { describe, expect, test } from "bun:test"; +import { mkdtempSync, rmSync, symlinkSync, writeFileSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { AUDIO_ANALYSIS_SECONDS, AUDIO_SAMPLE_RATE, durationLabel, fitWaveform, normalizeWaveform, + playbackFraction, seekPosition, waveformFromPcm16 } from "./audio-waveform"; +import { analyzeAudio, audioDemuxer } from "./audio-metadata"; + +function pcm(samples: number[]): Buffer { + const bytes = Buffer.alloc(samples.length * 2); + samples.forEach((sample, i) => bytes.writeInt16LE(sample, i * 2)); + return bytes; +} +function wavHeader(): Buffer { + const h = Buffer.alloc(44); h.write("RIFF"); h.write("WAVE", 8); return h; +} + +describe("measured audio presentation", () => { + test("silence stays flat; changes in the source produce corresponding envelope", () => { + expect(waveformFromPcm16(pcm([0,0,0,0]), 2)).toEqual([0,0]); + expect(waveformFromPcm16(pcm([100,-100,1600,-1600,0,0,400,-400]), 4)).toEqual([0.25,1,0,0.5]); + expect(waveformFromPcm16(pcm([-32768,32767]), 2)[0]).toBe(1); + expect(waveformFromPcm16(new Uint8Array())).toEqual([]); + expect(waveformFromPcm16(pcm([100]), 200)).toEqual([]); + expect(waveformFromPcm16(new Uint8Array(AUDIO_SAMPLE_RATE * AUDIO_ANALYSIS_SECONDS * 2 + 1))).toEqual([]); + }); + test("malformed or oversize UI data is bounded, and narrow waveforms retain peaks", () => { + expect(normalizeWaveform([NaN,Infinity,-1,0.5,2,"1"])).toEqual([0,0,0,0.5,1,0]); + expect(normalizeWaveform(Array(97).fill(1))).toEqual([]); + expect(normalizeWaveform({length:100000})).toEqual([]); + expect(fitWaveform([0,0.8,0.2,1,0.4,0.7], 12)).toEqual([0.8,1,0.7]); + expect(fitWaveform([1], 1)).toEqual([1]); + expect(fitWaveform([1], NaN)).toEqual([]); + }); + test("duration and seeking clamp invalid positions", () => { + expect(durationLabel(0)).toBe("0:00"); expect(durationLabel(65300)).toBe("1:05"); + expect(durationLabel(NaN)).toBe("0:00"); expect(durationLabel(-1)).toBe("0:00"); + expect(playbackFraction(20,10)).toBe(1); expect(playbackFraction(-1,10)).toBe(0); + expect(playbackFraction(1,0)).toBe(0); expect(playbackFraction(NaN,1)).toBe(0); + expect(seekPosition(0.25,1000)).toBe(250); expect(seekPosition(5,1000)).toBe(1000); + }); +}); + +describe("bounded private audio analysis", () => { + test("demuxer selection rejects disguised playlists and checks actual bytes", () => { + expect(audioDemuxer(wavHeader())).toBe("wav"); + expect(audioDemuxer(Buffer.from("#EXTM3U\nfile:///private"))).toBe(""); + expect(audioDemuxer(Buffer.from("external resource"))).toBe(""); + for (const [magic, format] of [["OggS","ogg"],["caff","caf"],["fLaC","flac"],["ID3","mp3"]]) { + const h = Buffer.alloc(16); h.write(magic!); expect(audioDemuxer(h)).toBe(format); + } + }); + test("the real duration and complete PCM envelope survive, with fixed caps and explicit demuxer", () => { + const dir = mkdtempSync(join(tmpdir(), "blip-audio-test-")); + const path = join(dir,"sample.wav"); writeFileSync(path,wavHeader(),{mode:0o600}); + try { + const calls: string[] = []; + const runner = ((cmd: string, args: string[], opts: any) => { + calls.push(cmd); expect(args).toContain("file,pipe"); expect(args).toContain("wav"); + expect(args).not.toContain("http"); expect(opts.timeout).toBeLessThanOrEqual(15000); + if (cmd === "ffprobe") return { status:0, stdout: JSON.stringify({streams:[{codec_type:"audio"}],format:{duration:"2.5"}}) }; + expect(opts.maxBuffer).toBeLessThanOrEqual(4_816_384); + return { status:0, stdout:pcm(Array.from({length:10000}, (_,i) => i < 1000 ? 0 : 300)) }; + }) as never; + const result = analyzeAudio(path,runner); + expect(result.durationMs).toBe(2500); expect(result.unavailable).toBe(false); + expect(result.playable).toBe(true); + expect(result.waveform.length).toBe(64); expect(result.waveform[0]).toBe(0); + expect(calls).toEqual(["ffprobe","ffmpeg"]); + const link = join(dir,"link.wav"); symlinkSync(path,link); + expect(analyzeAudio(link,runner).unavailable).toBe(true); expect(calls.length).toBe(2); + } finally { rmSync(dir,{recursive:true,force:true}); } + }); + test("long recordings retain duration without a misleading truncated waveform; failures remain playable", () => { + const dir = mkdtempSync(join(tmpdir(), "blip-audio-test-")); + const path = join(dir,"sample.wav"); writeFileSync(path,wavHeader()); + try { + for (const seconds of [601, NaN, -1]) { + let calls = 0; + const r = analyzeAudio(path, (() => { calls++; return {status:0,stdout:JSON.stringify({streams:[{codec_type:"audio"}],format:{duration:seconds}})}; }) as never); + expect(calls).toBe(1); expect(r.waveform).toEqual([]); expect(r.unavailable).toBe(true); + expect(r.durationMs).toBe(seconds===601 ? 601000 : 0); + } + const timedOut = analyzeAudio(path, ((cmd: string) => cmd === "ffprobe" + ? {status:0,stdout:'{"streams":[{"codec_type":"audio"}],"format":{"duration":"2"}}'} : {status:null,stdout:Buffer.alloc(0),error:Error("ETIMEDOUT")}) as never); + expect(timedOut.durationMs).toBe(2000); expect(timedOut.unavailable).toBe(true); + expect(timedOut.playable).toBe(true); + const missing = analyzeAudio(path, ((cmd: string) => { + if (cmd === "ffprobe") return {status:0,stdout:'{"streams":[{"codec_type":"audio"}],"format":{"duration":"2"}}'}; + throw Error("ENOENT"); + }) as never); + expect(missing.durationMs).toBe(2000); expect(missing.playable).toBe(true); + const noAudio = analyzeAudio(path, (() => ({status:0,stdout:'{"streams":[{"codec_type":"video"}],"format":{"duration":"2"}}'})) as never); + expect(noAudio.playable).toBe(false); + } finally { rmSync(dir,{recursive:true,force:true}); } + }); +}); diff --git a/audio-waveform.ts b/audio-waveform.ts new file mode 100644 index 00000000..c88a25e2 --- /dev/null +++ b/audio-waveform.ts @@ -0,0 +1,64 @@ +/** Pure presentation math shared by Bun and QML. Samples represent decoded + * audio; unavailable audio uses an empty waveform, never decorative data. */ +export const AUDIO_WAVEFORM_BARS = 64; +export const AUDIO_SAMPLE_RATE = 4000; +export const AUDIO_ANALYSIS_SECONDS = 600; + +export function normalizeWaveform(value: unknown): number[] { + if (!Array.isArray(value) || value.length > 96) return []; + return value.map(v => typeof v === "number" && Number.isFinite(v) ? Math.max(0, Math.min(1, v)) : 0); +} + +export function fitWaveform(value: unknown, width: number): number[] { + const input = normalizeWaveform(value); + if (!input.length || !Number.isFinite(width) || width <= 0) return []; + const count = Math.min(input.length, Math.max(1, Math.floor(width / 4))); + const output: number[] = []; + for (let i = 0; i < count; i++) { + let peak = 0; + for (let j = Math.floor(i * input.length / count); j < Math.floor((i + 1) * input.length / count); j++) + peak = Math.max(peak, input[j]!); + output.push(peak); + } + return output; +} + +/** Bounded little-endian signed 16-bit PCM, RMS per equal-time bucket. + * Normalize within the recording, then compress amplitude for small bars. */ +export function waveformFromPcm16(bytes: Uint8Array, count = AUDIO_WAVEFORM_BARS): number[] { + const samples = Math.floor(bytes.length / 2); + if (!samples || bytes.length > AUDIO_SAMPLE_RATE * AUDIO_ANALYSIS_SECONDS * 2 + || !Number.isInteger(count) || count < 1 || count > 96) return []; + count = Math.min(count, samples); + const bins: number[] = []; + let largest = 0; + for (let bin = 0; bin < count; bin++) { + const first = Math.floor(bin * samples / count), last = Math.floor((bin + 1) * samples / count); + let sum = 0; + for (let i = first; i < last; i++) { + const unsigned = bytes[2 * i]! | (bytes[2 * i + 1]! << 8); + const sample = unsigned >= 32768 ? unsigned - 65536 : unsigned; + sum += sample * sample; + } + const rms = Math.sqrt(sum / (last - first)); + bins.push(rms); largest = Math.max(largest, rms); + } + return largest === 0 ? bins : bins.map(v => Math.round(Math.sqrt(v / largest) * 1000) / 1000); +} + +export function durationLabel(milliseconds: number): string { + if (!Number.isFinite(milliseconds) || milliseconds < 0) return "0:00"; + const seconds = Math.floor(Math.min(milliseconds, 86400000) / 1000); + const minutes = Math.floor(seconds / 60), remainder = seconds % 60; + return String(minutes) + ":" + (remainder < 10 ? "0" : "") + String(remainder); +} + +export function playbackFraction(positionMs: number, durationMs: number): number { + if (!Number.isFinite(positionMs) || !Number.isFinite(durationMs) || durationMs <= 0) return 0; + return Math.max(0, Math.min(1, positionMs / durationMs)); +} + +export function seekPosition(fraction: number, durationMs: number): number { + if (!Number.isFinite(fraction) || !Number.isFinite(durationMs) || durationMs <= 0) return 0; + return Math.round(Math.max(0, Math.min(1, fraction)) * durationMs); +} diff --git a/bin-dir.test.ts b/bin-dir.test.ts index 834ab414..7e5f936f 100644 --- a/bin-dir.test.ts +++ b/bin-dir.test.ts @@ -47,7 +47,7 @@ test("no spawner hard-codes ~/bin", () => { const dir = import.meta.dir; for (const f of readdirSync(dir).filter(n => /\.(ts|qml)$/.test(n) && !n.endsWith(".test.ts"))) { const src = readFileSync(join(dir, f), "utf8"); - expect({ f, hit: /["`'/]bin\/(imsg|imsg-send|imsg-read|imsg-react|contacts|contact-save)\b|["`']bin["`']\s*,\s*["`'](imsg|imsg-send|imsg-read|imsg-react|contacts|contact-save)["`']/.test(src.replace(/^\s*(\/\/|\*).*$/gm, "")) }) + expect({ f, hit: /["`'/]bin\/(imsg|imsg-send|imsg-read|imsg-react|imsg-reply|contacts|contact-save)\b|["`']bin["`']\s*,\s*["`'](imsg|imsg-send|imsg-read|imsg-react|imsg-reply|contacts|contact-save)["`']/.test(src.replace(/^\s*(\/\/|\*).*$/gm, "")) }) .toEqual({ f, hit: false }); } }); diff --git a/bridge/BRIDGE-VERSION b/bridge/BRIDGE-VERSION index c1b4e837..90266b3b 100644 --- a/bridge/BRIDGE-VERSION +++ b/bridge/BRIDGE-VERSION @@ -1,6 +1,8 @@ claude-on-mac 3f93270 (v2.0.0, 2026-09-16; Blip's fixes upstreamed) vendored: imsg imsg-send contacts tcc-check -blip-only (NOT upstream): imsg-read imsg-react blip-check blip-dispatch +blip-only (NOT upstream): imsg-read imsg-react imsg-reply blip-check blip-dispatch blip extensions: Messages pin order; bounded read-only contact review, store-fingerprint audit, and card availability check sync: scripts/sync-bridge.sh blip deviations from upstream v2.0.0: imsg-send consent banner prints body LENGTH only and only on a TTY (stderr lands in journald); imsg CONTACT_HELPER path; Blip wording in comments; imsg exposes chat_cluster_ids() as a supported entry point (was _group_photo_chat_ids, alias kept) so imsg-read can scope a read push to the cluster; imsg serve (the read-only persistent channel blip-bridged holds open) with memoised group clusters, pins and Contacts index, each keyed on what it derives from + +changed here since the pin: delivery state on own iMessage and RCS rows, sticker attribution/association metadata, alpha-preserving PNG export, and exact-identity custom emoji reactions; upstream pin above is unchanged. See docs/STICKERS.md and docs/reactions.md. diff --git a/bridge/linux/blip-shim b/bridge/linux/blip-shim index ce8cd537..63397940 100755 --- a/bridge/linux/blip-shim +++ b/bridge/linux/blip-shim @@ -1,6 +1,6 @@ #!/usr/bin/env bash # blip-shim — the Linux side of Blip's Mac bridge. blip-setup installs it as -# imsg, imsg-send, imsg-read, imsg-react, contacts, and contact-save. It +# imsg, imsg-send, imsg-read, imsg-react, imsg-reply, contacts, and contact-save. It # dispatches on its own basename and execs the matching Mac tool over ssh. # # iMessage is macOS-only: chat.db is TCC-protected and AppleScript send needs @@ -14,7 +14,8 @@ # holding the tools; default ~/.blip/bin), python (default python3), # automation (on|off — read by the plugin, not the shim), hide_spam / # hide_unknown (on|off — injected as imsg flags; default off), tapbacks -# (on|off — imsg-react is refused unless on; default off). +# (on|off — imsg-react is refused unless on; default off), replies +# (on|off — imsg-reply is refused unless on; default off). # # There is deliberately NO connectivity probe — see the note above the ssh # call at the bottom. The old one cost 41 ms on every call and had to be @@ -25,7 +26,7 @@ CONF="${BLIP_BRIDGE_CONF:-$HOME/.config/blip/bridge.conf}" # remote_bin is expanded by the MAC's shell, so keep it literal here — a bare # ~ or $HOME in bridge.conf would expand to the Linux home (it did). host=""; remote_bin='$HOME/.blip/bin'; python="python3"; key="$HOME/.ssh/blip_ed25519" -hide_spam=""; hide_unknown=""; tapbacks="" +hide_spam=""; hide_unknown=""; tapbacks=""; replies="" # Parsed, not sourced: the file is data. Known keys only, quotes stripped. if [[ -r "$CONF" ]]; then while IFS= read -r line || [[ -n "$line" ]]; do @@ -41,6 +42,7 @@ if [[ -r "$CONF" ]]; then hide_spam) hide_spam="$v" ;; hide_unknown) hide_unknown="$v" ;; tapbacks) tapbacks="$v" ;; + replies) replies="$v" ;; esac done < "$CONF" fi @@ -58,8 +60,8 @@ fi tool="$(basename "$0")" case "$tool" in - imsg|imsg-send|imsg-read|imsg-react|contacts|contact-save|tcc-check|blip-check) ;; - *) echo "blip-shim: unknown tool name '$tool' (install as imsg, imsg-send, imsg-read, imsg-react, contacts, or contact-save)" >&2; exit 64 ;; + imsg|imsg-send|imsg-read|imsg-react|imsg-reply|contacts|contact-save|tcc-check|blip-check) ;; + *) echo "blip-shim: unknown tool name '$tool' (install as imsg, imsg-send, imsg-read, imsg-react, imsg-reply, contacts, or contact-save)" >&2; exit 64 ;; esac # Tapbacks drive Messages' own buttons through Accessibility, by names Apple # localizes and may rename: opt-in, refused before anything reaches the Mac. @@ -69,6 +71,12 @@ if [[ "$tool" == imsg-react ]]; then *) echo "imsg-react: tapbacks are off — set tapbacks=on in $CONF to enable" >&2; exit 78 ;; esac fi +if [[ "$tool" == imsg-reply ]]; then + case "${replies,,}" in + on|yes|true|1) ;; + *) echo "imsg-reply: replies are off — set replies=on in $CONF to enable" >&2; exit 78 ;; + esac +fi # With the dedicated key (blip-setup enrolls it as restrict,command=blip-dispatch) # the Mac side can ONLY run the bridge tools, so the remote command is bare. diff --git a/bridge/mac/blip-dispatch b/bridge/mac/blip-dispatch index ef6a51ed..57de06b8 100755 --- a/bridge/mac/blip-dispatch +++ b/bridge/mac/blip-dispatch @@ -19,8 +19,9 @@ import sys # Mail/Calendar/Notes/Reminders and pops four Automation prompts on the Mac. # blip-check covers what Blip needs. # imsg-react changes the Mac's Messages (a tapback); the shim only calls it with -# tapbacks=on in bridge.conf, and it acts only with --yes. -TOOLS = {"imsg", "imsg-send", "imsg-read", "imsg-react", "contacts", "contact-save", "blip-check"} +# tapbacks=on in bridge.conf, and it acts only with --yes. imsg-reply sends a native +# reply the same way, under replies=on. +TOOLS = {"imsg", "imsg-send", "imsg-read", "imsg-react", "imsg-reply", "contacts", "contact-save", "blip-check"} def refuse(msg: str) -> None: diff --git a/bridge/mac/imsg b/bridge/mac/imsg index cfce590e..64e0461a 100755 --- a/bridge/mac/imsg +++ b/bridge/mac/imsg @@ -28,6 +28,7 @@ import hashlib import html import io import json +import math import os import plistlib import re @@ -37,6 +38,7 @@ import subprocess import sys import unicodedata from glob import glob +from xml.parsers.expat import ExpatError sys.path.insert(0, os.path.dirname(os.path.realpath(__file__))) from read_state import read_state @@ -68,7 +70,13 @@ ATTACHMENT_MIME_SQL = """COALESCE(NULLIF(a.mime_type, ''), CASE a.uti WHEN 'org.3gpp.adaptive-multi-rate-audio' THEN 'audio/amr' WHEN 'public.jpeg' THEN 'image/jpeg' WHEN 'public.png' THEN 'image/png' + WHEN 'public.webp' THEN 'image/webp' + WHEN 'org.webmproject.webp' THEN 'image/webp' + WHEN 'com.compuserve.gif' THEN 'image/gif' WHEN 'public.heic' THEN 'image/heic' + WHEN 'public.heif' THEN 'image/heif' + WHEN 'public.heics' THEN 'image/heic-sequence' + WHEN 'public.heifs' THEN 'image/heif-sequence' WHEN 'com.apple.quicktime-movie' THEN 'video/quicktime' WHEN 'public.mpeg-4' THEN 'video/mp4' END)""" @@ -899,7 +907,7 @@ def pin_order_for(pins: list[set[str]], *candidates: str | None) -> int | None: return None -# ---------- --rich enrichment (tapbacks, read receipts, replies, attachments) ---------- +# ---------- --rich enrichment (tapbacks, stickers, read receipts, replies, attachments) ---------- # Tapback rows are their own messages pointing at a target via # associated_message_guid ("p:0/" / "bp:"). 2xxx adds, 3xxx removes; @@ -928,6 +936,105 @@ def _strip_assoc(guid: str | None) -> str: return guid +def _assoc_part(guid: str | None) -> int: + """The body-part index in p:N/GUID; a balloon/bare GUID targets part 0.""" + match = re.match(r"^p:(\d{1,6})/", guid or "") + return int(match.group(1)) if match else 0 + + +def _row_value(row, key, default=None): + # Older schemas and callers' projected rows need not have new columns. + try: + return row[key] + except (KeyError, IndexError): + return default + + +def _small_plist_dict(blob) -> dict: + """Sticker metadata is untrusted, optional, and never an executable archive.""" + if not isinstance(blob, (bytes, bytearray, memoryview)) or len(blob) > 65536: + return {} + try: + value = plistlib.loads(bytes(blob)) + return value if isinstance(value, dict) else {} + except (plistlib.InvalidFileException, ExpatError, ValueError, TypeError, OverflowError, RecursionError): + return {} + + +def _sticker_number(value, low, high): + # Apple's geometry values are usually decimal strings. Never accept a + # boolean, NaN, infinity, or an enormous value as a layout coordinate. + if isinstance(value, bool) or not isinstance(value, (str, int, float)): + return None + try: + number = float(value) + except (ValueError, OverflowError): + return None + return number if math.isfinite(number) and low <= number <= high else None + + +def _sticker_label(value, limit=160) -> str: + if not isinstance(value, str): + return "" + return "".join(c for c in value if not unicodedata.category(c).startswith("C"))[:limit].strip() + + +def sticker_metadata(row, force=False) -> dict | None: + """Recognize by Messages' flag or association, never by size/name/MIME. + + sticker_user_info uses sxs/sys (normalized center), ssa (scale), sro + (clockwise radians), spw (parent preview width), and pid (source bundle). + See docs/STICKERS.md for the independently inspected format sources. + Unknown/malformed geometry falls back to a separate attached-sticker row. + No raw plist, path, or arbitrary metadata is forwarded. + """ + if not (force or _row_value(row, "is_sticker") == 1): + return None + info = _small_plist_dict(_row_value(row, "sticker_user_info")) + attribution = _small_plist_dict(_row_value(row, "attribution_info")) + bundle = info.get("pid", "") + bundle = bundle.rsplit(":", 1)[-1] if isinstance(bundle, str) else "" + source = { + "com.apple.messages.genmoji": "genmoji", + "com.apple.Animoji.StickersApp.MessagesExtension": "memoji", + "com.apple.Jellyfish.Animoji": "memoji", + "com.apple.Stickers.UserGenerated.MessagesExtension": "user", + }.get(bundle, "app" if bundle else "unknown") + label = _sticker_label(_row_value(row, "emoji_description")) or _sticker_label(attribution.get("accessl")) + out = {"source": source, "label": label or ("Memoji" if source == "memoji" else "Sticker")} + name = _sticker_label(attribution.get("name"), 80) + if name: + out["app_name"] = name + placement = {key: _sticker_number(info.get(raw), low, high) for key, raw, low, high in ( + ("x", "sxs", -3, 3), ("y", "sys", -3, 3), + ("scale", "ssa", 0.1, 4), ("rotation", "sro", -math.pi * 2, math.pi * 2), + )} + if all(value is not None for value in placement.values()): + parent_width = _sticker_number(info.get("spw"), 1, 10000) + if parent_width is not None: + placement["parentWidth"] = parent_width + out["placement"] = placement + mime = (_row_value(row, "mime") or "").lower() + out["animated"] = mime in ("image/gif", "image/apng", "image/heics", "image/heic-sequence", "image/heif-sequence") or mime.startswith("video/") + return out + + +def sticker_attachment_columns(con): + """Optional fields were introduced in different macOS releases.""" + names = {_pragma_name(r) for r in con.execute("PRAGMA table_info(attachment)")} + fields = {"is_sticker": "0", "sticker_user_info": "NULL", "attribution_info": "NULL", + "emoji_image_short_description": "NULL"} + return ", ".join( + ("a." + field if field in names else default) + " AS " + + ("emoji_description" if field == "emoji_image_short_description" else field) + for field, default in fields.items() + ) + + +def sticker_flag_sql(con): + return "a.is_sticker" if any(_pragma_name(r) == "is_sticker" for r in con.execute("PRAGMA table_info(attachment)")) else "0" + + def _effect_name(style_id: str | None) -> str | None: """'com.apple.messages.effect.CKConfettiEffect' → 'confetti'.""" if not style_id: @@ -1021,24 +1128,44 @@ def enrich(con, rows, with_names: bool): kept = [r for r in rows if not (r["assoc_type"] and 2000 <= r["assoc_type"] < 4000)] targets = {r["guid"]: r["ROWID"] for r in kept if r["guid"]} extras: dict[int, dict] = {r["ROWID"]: {} for r in kept} + # An associated sticker can be inside the window while its parent is + # outside it. Keep it visible as a standalone sticker in that case. + orphans = {r["ROWID"]: r for r in rows if r["assoc_type"] == 2007 + and _strip_assoc(_row_value(r, "assoc_guid")) not in targets} + orphan_targets = {_strip_assoc(_row_value(r, "assoc_guid")) for r in orphans.values()} + legacy_stickers = [] # Tapbacks: scan every assoc row in the DB (type-filtered), net per sender+target. emoji_col = ", m.associated_message_emoji AS emo" if has_emoji else "" - latest: dict[tuple[str, str], sqlite3.Row] = {} + latest: dict[tuple[str, str, int], sqlite3.Row] = {} for r in con.execute( - f"""SELECT m.associated_message_guid AS ag, m.associated_message_type AS t, + f"""SELECT m.ROWID AS mid, m.guid, m.associated_message_guid AS ag, m.associated_message_type AS t, m.is_from_me, m.date, h.id AS handle{emoji_col} FROM {MESSAGE_SRC} m LEFT JOIN handle h ON h.ROWID = m.handle_id - WHERE m.associated_message_type BETWEEN 2000 AND 3999""" + WHERE m.associated_message_type = 1000 OR m.associated_message_type BETWEEN 2000 AND 3999""" ): tg = _strip_assoc(r["ag"]) - if tg not in targets: + if tg not in targets and tg not in orphan_targets: + continue + if r["t"] == 1000: + # A dragged sticker is additive, not the sender's one tapback + # slot. Several stickers from the same person must all survive. + if tg in targets: + legacy_stickers.append(r) continue who = "me" if r["is_from_me"] else (r["handle"] or "?") - key = (who, tg) - if key not in latest or r["date"] > latest[key]["date"]: + key = (who, tg, _assoc_part(r["ag"])) + if key not in latest or (r["date"], _row_value(r, "mid", 0)) > (latest[key]["date"], _row_value(latest[key], "mid", 0)): latest[key] = r - for (who, tg), r in latest.items(): + sticker_rows = list(legacy_stickers) + for (who, tg, part), r in latest.items(): + if tg not in targets: + # Only the currently active sticker is shown, not a later + # removed/replaced sticker that happened to fall in the window. + if r["t"] == 2007 and _row_value(r, "mid") in orphans: + kept.append(orphans[r["mid"]]) + extras[r["mid"]] = {"sticker_orphan": True} + continue # A rendered reaction (or its removal) is newer activity than the # target bubble. Preserve its timestamp for the client's read boundary. e = extras[targets[tg]] @@ -1046,34 +1173,102 @@ def enrich(con, rows, with_names: bool): e["activity_ts"] = max(e.get("activity_ts", ""), activity) if not (2000 <= r["t"] < 3000): continue # net-removed + if r["t"] == 2007: + sticker_rows.append(r) + continue # a sticker has image bytes, never a made-up star emoji kind = r["t"] - 2000 emoji = (r["emo"] if has_emoji and r["emo"] else None) or TAPBACK_EMOJI.get(kind, "⭐") extras[targets[tg]].setdefault("tapbacks", []).append({ "emoji": emoji, "from_me": bool(r["is_from_me"]), "by": None if r["is_from_me"] else (name_for(r["handle"]) if with_names else None) or r["handle"], + **({"kind": "emoji"} if kind == 6 else {}), }) + # Fold sticker events onto their parent, even when the event itself fell + # outside the query window. The target's display date stays unchanged. + sticker_destinations = {} + for r in sticker_rows: + mid = r["mid"] + target = targets[_strip_assoc(r["ag"])] + if mid == target: + continue # malformed self-reference + sticker_destinations[mid] = (target, r) + e = extras[target] + e["activity_ts"] = max(e.get("activity_ts", ""), fmt_ts(r["date"])) + # A sticker can itself be the target of another sticker. Keep both on + # the surviving root bubble; coordinates relative to a removed sticker + # are not coordinates relative to the root, so those use the strip. + nested_stickers = set() + for mid in list(sticker_destinations): + target, event = sticker_destinations[mid] + seen = {mid} + while target in sticker_destinations and target not in seen: + seen.add(target) + target = sticker_destinations[target][0] + if target in seen: + del sticker_destinations[mid] # malformed cycle: keep the event row + elif target != sticker_destinations[mid][0]: + sticker_destinations[mid] = (target, event) + nested_stickers.add(mid) + extras[target]["activity_ts"] = max(extras[target].get("activity_ts", ""), fmt_ts(event["date"])) + kept = [r for r in kept if r["ROWID"] not in sticker_destinations] + # Preserve the input chronology after adding orphan 2007 rows. + order = {r["ROWID"]: i for i, r in enumerate(rows)} + kept.sort(key=lambda r: order[r["ROWID"]]) + # Attachments. transfer_name is null mid-download; .pluginPayloadAttachment # blobs are rich-link-preview internals (a URL message can carry four of # them), not user files — both are noise to a client. - rowids = [r["ROWID"] for r in kept] + rowids = [r["ROWID"] for r in kept] + list(sticker_destinations) + force_stickers = {r["ROWID"] for r in kept if r["assoc_type"] in (1000, 2007)} | set(sticker_destinations) + attachment_fields = sticker_attachment_columns(con) for a in _chunked_in( con, f"""SELECT maj.message_id AS mid, a.ROWID AS aid, a.transfer_name AS name, - {attachment_mime_sql(con)} AS mime, a.total_bytes AS bytes + {attachment_mime_sql(con)} AS mime, a.total_bytes AS bytes, {attachment_fields} FROM message_attachment_join maj JOIN attachment a ON a.ROWID = maj.attachment_id - WHERE a.transfer_name IS NOT NULL - AND a.transfer_name NOT LIKE '%.pluginPayloadAttachment' + WHERE (a.transfer_name IS NULL OR a.transfer_name NOT LIKE '%.pluginPayloadAttachment') AND maj.message_id IN ({{marks}})""", rowids, ): - extras.setdefault(a["mid"], {}).setdefault("attachments", []).append( - # id as a STRING: attachment ROWIDs are 64-bit and JS number - # consumers lose precision past 2^53. - {"id": str(a["aid"]), "name": a["name"], "mime": a["mime"], "bytes": a["bytes"]} - ) + # id as a STRING: attachment ROWIDs are 64-bit and JS number + # consumers lose precision past 2^53. + attachment = {"id": str(a["aid"]), "name": a["name"] or "Sticker", "mime": a["mime"], "bytes": a["bytes"]} + sticker = sticker_metadata(a, force=a["mid"] in force_stickers) + if a["name"] is None and sticker is None: + continue # unfinished ordinary transfer, not a displayable file + if sticker is not None: + attachment["sticker"] = sticker + extras.setdefault(a["mid"], {}).setdefault("attachments", []).append(attachment) + + for mid in force_stickers: + if not extras.get(mid, {}).get("attachments"): + extras.setdefault(mid, {})["attachments"] = [{"id": "", "name": "Sticker", "mime": None, "bytes": None, + "sticker": {"source": "unknown", "label": "Sticker", "animated": False}}] + + for mid, (target, r) in sticker_destinations.items(): + attachments = extras.get(mid, {}).get("attachments", []) + if not attachments: + attachments = [{"id": "", "name": "Sticker", "mime": None, "bytes": None, + "sticker": {"source": "unknown", "label": "Sticker", "animated": False}}] + for attachment in attachments: + overlay = {"attachment": attachment, "guid": r["guid"] or "", "part": _assoc_part(r["ag"]), + "from_me": bool(r["is_from_me"]), "ts": fmt_ts(r["date"]), + "by": None if r["is_from_me"] else (name_for(r["handle"]) if with_names else None) or r["handle"]} + if r["t"] == 2007: + overlay["reaction"] = True + placement = attachment.get("sticker", {}).get("placement") + if placement is not None and mid not in nested_stickers: + overlay["placement"] = placement + elif mid in nested_stickers: + # Preserve attribution but never apply the old target's + # coordinate system to an unrelated body part. + attachment = dict(attachment) + attachment["sticker"] = {k: v for k, v in attachment.get("sticker", {}).items() if k != "placement"} + overlay["attachment"] = attachment + extras[target].setdefault("stickers", []).append(overlay) # Rich-link cards: the balloon payload names the URL/title/summary; the # preview image is the nth .pluginPayloadAttachment row of the message. @@ -1104,22 +1299,49 @@ def enrich(con, rows, with_names: bool): if origins: for o in _chunked_in( con, - f"SELECT guid, text, attributedBody, is_from_me FROM {MESSAGE_SRC} m WHERE guid IN ({{marks}})", + f"SELECT ROWID, guid, text, attributedBody, is_from_me FROM {MESSAGE_SRC} m WHERE guid IN ({{marks}})", origins, ): osnip[o["guid"]] = { "text": (o["text"] or decode_attributed_body(o["attributedBody"]) or "")[:120], "from_me": bool(o["is_from_me"]), + "rowid": o["ROWID"], } + # A reply to a picture has no text to quote, so the context names the file. + bare = {v["rowid"]: k for k, v in osnip.items() if not v["text"].replace("\ufffc", "").strip()} + origin_files: dict[str, list] = {} + if bare: + for a in _chunked_in( + con, + """SELECT maj.message_id AS mid, a.ROWID AS aid, a.transfer_name AS name, a.mime_type AS mime + FROM message_attachment_join maj JOIN attachment a ON a.ROWID = maj.attachment_id + WHERE a.transfer_name NOT LIKE '%.pluginPayloadAttachment' AND maj.message_id IN ({marks}) + ORDER BY a.ROWID""", + list(bare), + ): + origin_files.setdefault(bare[a["mid"]], []).append( + {"id": str(a["aid"]), "name": a["name"] or "file", "mime": a["mime"]}) + for snip in osnip.values(): + del snip["rowid"] for r in kept: e = extras[r["ROWID"]] if r["is_from_me"] and r["date_read"]: e["read_at"] = fmt_ts(r["date_read"]) + # Messages only says "Delivered" for messages it can track to the device; + # a carrier SMS has no such state even when its flag happens to be set. + if r["is_from_me"] and r["is_delivered"] and r["service"] in ("iMessage", "RCS"): + e["delivered"] = True if has_edit: e.update(_edit_flags(r["date_edited"], r["date_retracted"], r["message_summary_info"])) if r["orig_guid"] and r["orig_guid"] in osnip: - e["reply_to"] = osnip[r["orig_guid"]] + e["reply_to"] = dict(osnip[r["orig_guid"]]) + files = origin_files.get(r["orig_guid"]) + if files: + # thread_originator_part opens with the part replied to ("2:0:1"). + part = str(r["orig_part"] or "0").split(":")[0] + index = int(part) if part.isdecimal() else 0 + e["reply_to"]["attachment"] = files[index] if index < len(files) else files[0] fx = _effect_name(r["style_id"]) if fx: e["effect"] = fx @@ -1158,7 +1380,7 @@ def render(rows, as_json: bool, with_names: bool = True, con=None, rich: bool = **_edit_flags(r["date_edited"], r["date_retracted"], r["message_summary_info"]), # Tapback rows are messages too, but no Apple client counts # them toward a badge — flag them so clients can match. - "tapback": bool(r["assoc_type"] and 2000 <= r["assoc_type"] < 4000), + "tapback": bool(r["assoc_type"] == 1000 or (r["assoc_type"] and 2000 <= r["assoc_type"] < 4000)), # Delivery failure code on OWN messages (0 = fine). AppleScript # reports success for sends that die later; this is the only # place the truth lands (e.g. 25 = attachment not readable). @@ -1286,9 +1508,11 @@ def base_select(con) -> str: _BASE_SELECT_CACHE = f""" SELECT m.ROWID, m.date, m.is_from_me, m.text, m.attributedBody, m.service, h.id AS handle, c.chat_identifier, c.room_name, - m.guid, m.date_read, m.is_read, m.error, {edit_cols} {sched_cols} + m.guid, m.date_read, m.is_delivered, m.is_read, m.error, {edit_cols} {sched_cols} m.associated_message_type AS assoc_type, + m.associated_message_guid AS assoc_guid, m.thread_originator_guid AS orig_guid, + m.thread_originator_part AS orig_part, m.expressive_send_style_id AS style_id, m.is_audio_message, m.balloon_bundle_id, m.payload_data, @@ -1640,7 +1864,8 @@ def cmd_chats(con, args): attachments = {} for attachment in _chunked_in( con, - f"""SELECT maj.message_id AS mid, a.transfer_name AS name, {attachment_mime_sql(con)} AS mime + f"""SELECT maj.message_id AS mid, a.transfer_name AS name, {attachment_mime_sql(con)} AS mime, + {sticker_flag_sql(con)} AS is_sticker FROM message_attachment_join maj JOIN attachment a ON a.ROWID = maj.attachment_id WHERE maj.message_id IN ({{marks}}) @@ -1650,6 +1875,7 @@ def cmd_chats(con, args): ): attachments.setdefault(attachment["mid"], { "name": attachment["name"] or "", "mime": attachment["mime"] or "", + **({"sticker": True} if attachment["is_sticker"] == 1 else {}), }) participants = {} @@ -2345,12 +2571,14 @@ def cmd_attachment(con, args): """ if not re.fullmatch(r"[0-9]{1,18}", args.id): sys.exit("error: attachment id must be decimal digits") + sticker_column = sticker_flag_sql(con) + " = 1" row = con.execute( f"""SELECT a.filename, {attachment_mime_sql(con)} AS mime_type FROM attachment a JOIN message_attachment_join maj ON maj.attachment_id = a.ROWID JOIN {MESSAGE_SRC} m ON m.ROWID = maj.message_id - WHERE a.ROWID = ? AND a.transfer_name IS NOT NULL + WHERE a.ROWID = ? AND (a.transfer_name IS NOT NULL OR {sticker_column} + OR m.associated_message_type IN (1000, 2007)) LIMIT 1""", (int(args.id),), ).fetchone() @@ -2382,16 +2610,19 @@ def cmd_attachment(con, args): src = path tmp = None - if args.jpeg and (row["mime_type"] or "").startswith("image/"): + image_format = "png" if getattr(args, "png", False) else "jpeg" + if (getattr(args, "jpeg", False) or getattr(args, "png", False)) and (row["mime_type"] or "").startswith("image/"): import subprocess import tempfile - fd_t, tmp = tempfile.mkstemp(suffix=".jpg") + fd_t, tmp = tempfile.mkstemp(suffix=".png" if image_format == "png" else ".jpg") os.close(fd_t) - cmd = ["sips", "-s", "format", "jpeg"] + cmd = ["sips", "-s", "format", image_format] if getattr(args, "max_dim", 0): # -Z is "resample, longest edge, preserve aspect"; it never upscales. - cmd += ["-Z", str(int(args.max_dim)), "-s", "formatOptions", "80"] + cmd += ["-Z", str(int(args.max_dim))] + if image_format == "jpeg": + cmd += ["-s", "formatOptions", "80"] cmd += [path, "--out", tmp] try: r = subprocess.run(cmd, capture_output=True, timeout=60) @@ -2738,7 +2969,7 @@ def build_parser() -> argparse.ArgumentParser: help="do not resolve handles via Contacts") common.add_argument("--rich", action="store_true", default=argparse.SUPPRESS, help="JSON only: fold tapbacks onto their targets and add " - "read_at/edited/retracted/reply_to/attachments/effect/audio") + "read_at/edited/retracted/reply_to/attachments/stickers/effect/audio") common.add_argument("--hide-spam", action="store_true", default=argparse.SUPPRESS, help="omit chats with is_filtered=2 (iPhone Spam)") common.add_argument("--hide-unknown", action="store_true", default=argparse.SUPPRESS, @@ -2768,10 +2999,13 @@ def build_parser() -> argparse.ArgumentParser: s = sub.add_parser("attachment", parents=[common], help="stream one attachment's bytes to stdout (id from --rich)") s.add_argument("id") - s.add_argument("--jpeg", action="store_true", + conversion = s.add_mutually_exclusive_group() + conversion.add_argument("--jpeg", action="store_true", help="convert image/* (HEIC) to JPEG via sips before streaming") + conversion.add_argument("--png", action="store_true", + help="convert image/* to PNG via sips, preserving sticker transparency") s.add_argument("--max-dim", type=int, default=0, dest="max_dim", - help="with --jpeg, resample to N px on the long edge (inline previews)") + help="with --jpeg/--png, resample to N px on the long edge (inline previews)") s.set_defaults(func=cmd_attachment) s = sub.add_parser("avatar", parents=[common], help="stream a contact photo (JPEG) for a handle, or a group's own photo with --chat") s.add_argument("handle", nargs="?", default="") diff --git a/bridge/mac/imsg-react b/bridge/mac/imsg-react index 8108adca..ad7401a6 100755 --- a/bridge/mac/imsg-react +++ b/bridge/mac/imsg-react @@ -1,11 +1,14 @@ #!/usr/bin/env python3 -"""imsg-react — add or remove one classic tapback on one message. +"""imsg-react — add or remove one classic or exact-emoji tapback on one message. imsg-react --guid love dry run: say what would happen imsg-react --guid love --yes add ❤️ (nothing to do if it is there) imsg-react --guid love --remove --yes Tapbacks: love like dislike laugh emphasize question. +Custom emoji: --emoji-stdin reads bounded JSON {"emoji":"…","name":"…"}. +The optional name only searches; an exact Unicode AX identity must match +before pressing, and type 2006/3006 plus associated_message_emoji verifies it. The old note said sending a tapback needs SIP off. That was true of code injection; it is not true of Accessibility. Every rendered bubble in Messages' @@ -15,13 +18,19 @@ SIP on, under the Accessibility grant imsg-read already holds. Going through Messages means the tapback syncs like one sent from the phone. macOS 27 took those actions off the bubbles (measured 27.0.1: a bubble offers -"Tapback Details…", "Reply…", "Copy" and the like, none of the six). What it -kept is Edit ▸ "Tapback Last Message…", which opens the Tapback Picker on the -conversation's newest message, with the six as buttons of the same names. -Neither a click nor an AX press selects an older bubble, so on 27 only the -newest message can take a tapback; anything older is refused (exit 65). The -picker names the message it opened on, and nothing is pressed unless that is -the target's text. chat.db still decides success. +"Tapback Details…", "Reply…", "Copy" and the like, none of the six). Performing +"Tapback Details…" opens the Tapback Picker on that bubble, any bubble, with the +six as buttons of the same names (measured 27.2). The picker names the message +it opened on, and nothing is pressed unless that is the target's text. chat.db +still decides success. + +macOS 27.2 custom emoji use public native AX APIs to find the presentation +and its detached CharacterPalette. A result must expose the exact sequence +twice (glyph wrapper and enabled static-text child). That wrapper's AXPress +is ignored on 27.2, so one frame-stable, globally hit-tested click selects it. +The target, main window/title, presentation and glyph are revalidated first. +Live self-thread receipts verified add, replace, remove and a ZWJ sequence; +see docs/reactions.md for the limits and tests. Never retry after a gesture. How one run goes: 1. chat.db names the target: the message's text, its side, its minute, and @@ -67,7 +76,9 @@ already allowed; a prompt at an empty Mac becomes a denial (#36). Exit 77. Refused before Messages is touched: groups (not tested yet), tapback rows, messages without text, attachments, links, and rich-link / app cards -(their AX labels differ). Custom-emoji tapbacks are not here yet. +(their AX labels differ). Custom emoji use an exact bubble action or picker +identity, never a guessed index, image sticker, or typed message. If Messages +does not expose that identity, the operation fails visibly without pressing. Enabled from Linux by tapbacks=on in bridge.conf (the shim refuses otherwise). Message text never rides argv: it goes to osascript on stdin. @@ -92,6 +103,7 @@ import sqlite3 import subprocess import sys import time +import unicodedata APPLE_EPOCH = 978307200 HERE = os.path.dirname(os.path.abspath(__file__)) @@ -122,6 +134,7 @@ LATER_SCAN = 5000 # later rows checked for an identical HH:MM twin; at the cap EX_NOT_OFFERED, EX_USAGE, EX_UNSUPPORTED, EX_UNAVAILABLE, EX_SOFTWARE, EX_TEMPFAIL, EX_NOPERM = 1, 64, 65, 69, 70, 75, 77 # osascript errors that may come after the action went through MAYBE_PERFORMED = {"timeout", "osascript", "perform-failed"} +NOT_OPENED = {"unsettled", "not-rendered", "ambiguous", "not-offered", "no-conversation"} USER_TCC = os.path.expanduser("~/Library/Application Support/com.apple.TCC/TCC.db") SSH_CLIENT = "/usr/libexec/sshd-keygen-wrapper" # the TCC client every ssh session runs as @@ -175,6 +188,12 @@ MSG_COLS = """m.ROWID, m.guid, m.text, m.attributedBody, m.is_from_me, m.date, m # A link turns the bubble into a preview card whose label is the page's # title, not the text, even with no balloon_bundle_id on the row. LINK = re.compile(r"://|\bwww\.", re.I) +# What a reacted bubble's label adds after its text, measured on 27.2 ("2 reactions, +# You laughed at this", "Ann loved this", "Ann reacted with 🪿"). The JXA bodyIs twin +# must match. A sender is never "I", so a real "ok, I loved this" stays its own text; +# only the time, side and ordinal tell "ok" from a real "ok, Ann loved this". +_REACTION = r"(\d+ reactions?|(?!I )[^,]+ (loved|liked|disliked|laughed at|emphasized|questioned) this|(?!I )[^,]+ reacted with [^,]+)" +REACTED = re.compile(_REACTION + "(, " + _REACTION + ")*") # A bubble: a real message, not a tapback row. Same filter the transcript uses. BUBBLE = "m.item_type = 0 AND (m.associated_message_type IS NULL OR m.associated_message_type < 2000 OR m.associated_message_type >= 4000)" @@ -283,8 +302,11 @@ def my_rows(con, guids: list, self_handles: list, since: int = 0) -> list: writes the tapback as an inbound echo from your own address.""" handles = list(self_handles) or [""] aimed = " OR ".join("m.associated_message_guid LIKE '%' || ?" for _ in guids) + has_emoji = any(r[1] == "associated_message_emoji" for r in con.execute("PRAGMA table_info(message)")) + emoji_col = "m.associated_message_emoji" if has_emoji else "NULL" return [dict(r) for r in con.execute( - f"""SELECT m.ROWID, m.associated_message_type AS type, m.associated_message_guid AS ag, m.date + f"""SELECT m.ROWID, m.associated_message_type AS type, m.associated_message_guid AS ag, m.date, + {emoji_col} AS emoji FROM message m LEFT JOIN handle h ON h.ROWID = m.handle_id WHERE m.associated_message_type BETWEEN 2000 AND 3999 AND m.date > ? AND ({aimed}) AND (m.is_from_me = 1 OR h.id IN ({','.join('?' * len(handles))})) @@ -330,6 +352,50 @@ def plan(current, kind: int, remove: bool): return None if current == kind else 2000 + kind +def emoji_plan(rows: list, emoji: str, remove: bool): + """2006 alone is insufficient: two different emoji share that row type.""" + current = rows[-1] if rows else {} + same = current.get("type") == 2006 and current.get("emoji") == emoji + return (3006 if same else None) if remove else (None if same else 2006) + + +def read_emoji(stream) -> dict: + """Content stays on bounded stdin. A label is search metadata, never an action identity.""" + raw = stream.read(2049) + if len(raw) > 2048: + raise Stop("usage", EX_USAGE, "emoji request is too large") + try: + data = json.loads(raw) + except (ValueError, UnicodeError): + raise Stop("usage", EX_USAGE, "expected one emoji request on stdin") + emoji = data.get("emoji") if isinstance(data, dict) else None + name = data.get("name", "") if isinstance(data, dict) else None + # The exact sequence is additionally checked by Messages' identity and + # chat.db. Reject prose/control chars before any database or UI access. + if (not valid_emoji(emoji) + or not isinstance(name, str) or len(name) > 160 + or any(unicodedata.category(c).startswith("C") for c in name)): + raise Stop("usage", EX_USAGE, "expected one emoji sequence and an optional search name") + return {"emoji": emoji, "name": name} + + +def valid_emoji(value) -> bool: + """Single bounded emoji sequence; same grammar as tapback-actions.ts.""" + if not isinstance(value, str) or not 1 <= len(value.encode("utf-16-le", "surrogatepass")) // 2 <= 64: + return False + if re.fullmatch(r"[\U0001f1e6-\U0001f1ff]{2}|[0-9#*]\ufe0f?\u20e3", value): + return True + base = (r"[\U0001f000-\U0001f1e5\U0001f200-\U0001f3fa\U0001f400-\U0001faff\u2600-\u27bf" + r"\u00a9\u00ae\u203c\u2049\u2122\u2139\u2194-\u2199\u21a9\u21aa" + r"\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\u24c2" + r"\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2934\u2935\u2b05-\u2b07" + r"\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299]") + unit = base + r"[\ufe0e\ufe0f]?[\U0001f3fb-\U0001f3ff]?" + if re.fullmatch(r"\U0001f3f4[\ufe0e\ufe0f]?[\U000e0020-\U000e007e]+\U000e007f", value): + return True + return re.fullmatch(unit + r"(?:\u200d" + unit + r")*", value) is not None + + def answer(con, target: dict, self_handles: list, since: int, pause=0.2): """chat.db's verdict on the one press: this account's first tapback row on the target newer than `since`, or None after ROW_WAIT seconds. Every @@ -375,7 +441,7 @@ function parseLabel(d) { let h = parseInt(m[2], 10); if (m[4] === "PM" && h < 12) h += 12; if (m[4] === "AM" && h === 12) h = 0; - return { time: (h < 10 ? "0" : "") + h + ":" + m[3], body: norm(m[1].replace(/^[^,]*, /, "")) }; + return { time: (h < 10 ? "0" : "") + h + ":" + m[3], body: norm(m[1].replace(/^[^,]*, /, "").replace(/^Reply…, /, "")) }; } // Exactly the text, or the text followed by the tapback annotation, which // opens with its count: "ok" must not match a neighbouring "ok, see you", nor @@ -383,15 +449,74 @@ function parseLabel(d) { function bodyIs(body, want) { if (body === want) return true; if (!body.startsWith(want + ", ")) return false; - return /^\d+ reactions?(, .+ this)*$/.test(body.slice(want.length + 2)); + return /^(\d+ reactions?|(?!I )[^,]+ (loved|liked|disliked|laughed at|emphasized|questioned) this|(?!I )[^,]+ reacted with [^,]+)(, (\d+ reactions?|(?!I )[^,]+ (loved|liked|disliked|laughed at|emphasized|questioned) this|(?!I )[^,]+ reacted with [^,]+))*$/ + .test(body.slice(want.length + 2)); +} +function attribute(el, name) { return safe(() => el.attributes.byName(name).value(), null); } +function emojiIdentity(el, emoji) { + return String(attribute(el, "AXIdentifier") || "") === emoji || + String(attribute(el, "AXValue") || "") === emoji; +} +function pickerTargetMatches(q) { + if (!q.text) return false; + const els = safe(() => win().entireContents(), []); + const descriptions = els.map(e => String(safe(() => e.description(), ""))); + const labels = descriptions.filter(d => /^Message, /.test(d)); + return descriptions.filter(d => d === "Tapback Picker").length === 1 && labels.length > 0 && + labels.every(d => bodyIs(norm(d.slice(9)), q.text)); +} +// No arrow-count or Return fallback. A search result must expose the exact +// requested sequence, including skin tone, ZWJ and variation selectors. +// Beeper's platform-imessage documents direct action names and picker ids; +// detached/inaccessible CharacterPalette windows fail closed here. +function pressEmoji(els, emoji, q) { + const hits = els.filter(e => ["AXButton", "AXCell"].indexOf(safe(() => e.role(), "")) >= 0 && emojiIdentity(e, emoji) && + safe(() => e.enabled(), false) === true && + safe(() => e.actions.name(), []).indexOf("AXPress") >= 0); + if (hits.length !== 1) return { ok: false, error: hits.length ? "ambiguous-emoji" : "emoji-not-offered" }; + const el = hits[0]; + if (!pickerTargetMatches(q) || !safe(() => proc.frontmost(), false) || !emojiIdentity(el, emoji) || !safe(() => el.enabled(), false)) + return { ok: false, error: "moved" }; + try { el.actions.byName("AXPress").perform(); return { ok: true }; } + catch (e) { return { ok: false, error: "perform-failed" }; } +} +function emojiPicker(q) { + if (!pickerTargetMatches(q)) return { ok: false, error: "picker-elsewhere" }; + let popover = null; + for (let n = 0; n < 8 && !popover; n++) { + delay(0.2); + // Restrict inspection to Messages' own windows and AXPopover elements. + // Never search arbitrary app windows or type into the compose field. + const windows = safe(() => proc.windows(), []); + const pops = []; + for (const w of windows) { + const els = [w].concat(safe(() => w.entireContents(), [])); + for (const el of els) if (safe(() => el.role(), "") === "AXPopover" || safe(() => el.roleDescription(), "") === "popover") pops.push(el); + } + if (pops.length === 1) popover = pops[0]; + else if (pops.length > 1) return { ok: false, error: "ambiguous-emoji" }; + } + if (!popover) return { ok: false, error: "emoji-picker-unavailable" }; + let els = safe(() => popover.entireContents(), []); + const direct = pressEmoji(els, q.emoji, q); + if (direct.ok || direct.error !== "emoji-not-offered") return direct; + const fields = els.filter(e => safe(() => e.subrole(), "") === "AXSearchField" && safe(() => e.enabled(), false)); + if (fields.length !== 1 || !q.name || !pickerTargetMatches(q) || !safe(() => proc.frontmost(), false)) + return { ok: false, error: "emoji-not-offered" }; + // The name narrows results, but does not determine what is pressed. + try { fields[0].value = q.name; } catch (e) { return { ok: false, error: "emoji-picker-unavailable" }; } + delay(0.8); + return pressEmoji(safe(() => popover.entireContents(), []), q.emoji, q); } // The transcript is one group whose child groups are the message rows, each // labelled like its bubble; their labels come in bulk reads, since one AX // read per element costs ~70 ms. A row holds the live bubble somewhere below // it, at a depth that varies by kind; the row itself offers only scrolling // and the menu (see LIVE). -function collect() { +function collect(q) { const all = win().entireContents(); + // A picture's live bubble is a button below its row (imsg-reply, 27.2). + const kinds = q && q.picture ? /\.(groups|uiElements|buttons)\.at\(\d+\)$/ : /\.(groups|uiElements)\.at\(\d+\)$/; const paths = all.map(el => Automation.getDisplayString(el)); const at = {}, kids = {}, fields = []; paths.forEach((s, i) => { @@ -420,7 +545,7 @@ function collect() { const copies = row => { const out = []; paths.forEach((s, i) => { - if (s !== row.path && !(s.startsWith(row.path + ".") && /\.(groups|uiElements)\.at\(\d+\)$/.test(s))) return; + if (s !== row.path && !(s.startsWith(row.path + ".") && kinds.test(s))) return; const L = parseLabel(String(safe(() => all[i].description(), "") || "")); if (L && L.time === row.L.time && L.body === row.L.body) out.push(all[i]); }); @@ -436,7 +561,7 @@ function liveCopies(els, q) { return els.map(el => ({ el, names: actionNames(el) })).filter(c => live(c.names, q)); } function scan(q) { - const { rows, copies, fields } = collect(); + const { rows, copies, fields } = collect(q); // The compose field spans the transcript: its centre splits sent from received. let wide = null; for (const f of fields) { const fr = frame(f); if (!wide || fr.w > wide.w) wide = fr; } @@ -502,8 +627,21 @@ function picker(q) { out.error = "picker-elsewhere"; return out; } + if (q.emoji) { + const children = safe(() => pk.entireContents(), []); + const direct = pressEmoji(children, q.emoji, q); + if (direct.ok || direct.error !== "emoji-not-offered") return direct; + if (q.remove) return direct; // removing must select the exact existing reaction + const add = children.filter(e => safe(() => e.role(), "") === "AXButton" && + String(safe(() => e.description(), "")) === "Add custom emoji reaction" && safe(() => e.enabled(), false)); + if (add.length !== 1 || !safe(() => proc.frontmost(), false)) return direct; + try { add[0].actions.byName("AXPress").perform(); } + catch (e) { return { ok: false, error: "emoji-picker-unavailable" }; } + return emojiPicker(q); + } const btn = safe(() => pk.entireContents(), []).find(e => - safe(() => e.role(), "") === "AXButton" && String(safe(() => e.description(), "")) === q.action); + safe(() => e.role(), "") === "AXButton" && String(safe(() => e.description(), "")) === q.action + && safe(() => e.enabled(), false)); if (!btn) { se.keyCode(53); out.error = "not-offered"; out.offered = []; return out; } // The action's NAME is AXPress; "press" is only its description. try { btn.actions.byName("AXPress").perform(); out.ok = true; } @@ -513,10 +651,11 @@ function picker(q) { function run() { const input = $.NSFileHandle.fileHandleWithStandardInput.readDataToEndOfFile; const q = JSON.parse(String(ObjC.unwrap($.NSString.alloc.initWithDataEncoding(input, $.NSUTF8StringEncoding)))); + if (q.mode === "emoji") return JSON.stringify(emojiPicker(q)); if (q.mode === "page") { // Live bubbles carry the transcript's page-scroll actions. No page below // means already at the bottom. - const { rows, copies } = collect(); + const { rows, copies } = collect(q); const down = q.direction === "down"; let c = null; for (let n = 0; n < rows.length && !c; n++) c = liveCopies(copies(rows[down ? rows.length - 1 - n : n]), q)[0]; @@ -571,6 +710,414 @@ function run() { """ +class NativeAX: + """Public Accessibility/CoreFoundation APIs, with no extra dependency. + + System Events does not expose detached CharacterPalette popovers. Native + AX also avoids its per-attribute Apple-event latency. Every owned CF value + is released together after the bounded operation; borrowed children remain + alive while their containing arrays are retained. + """ + def __init__(self, deadline): + import ctypes as C + self.C, self.deadline, self.refs, self.keys = C, deadline, [], {} + P, L = C.c_void_p, C.c_long + self.cf = C.CDLL("/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation") + self.ax = C.CDLL("/System/Library/Frameworks/ApplicationServices.framework/ApplicationServices") + def bind(lib, name, result, args): + fn = getattr(lib, name) + fn.restype, fn.argtypes = result, args + return fn + self.string = bind(self.cf, "CFStringCreateWithCString", P, [P, C.c_char_p, C.c_uint]) + self.getstring = bind(self.cf, "CFStringGetCString", C.c_bool, [P, C.c_char_p, L, C.c_uint]) + self.count = bind(self.cf, "CFArrayGetCount", L, [P]) + self.at = bind(self.cf, "CFArrayGetValueAtIndex", P, [P, L]) + self.typeid = bind(self.cf, "CFGetTypeID", C.c_ulong, [P]) + self.types = {name: bind(self.cf, "CF" + name + "GetTypeID", C.c_ulong, [])() + for name in ("String", "Array", "Boolean", "Number", "Dictionary")} + self.boolean = bind(self.cf, "CFBooleanGetValue", C.c_bool, [P]) + self.number = bind(self.cf, "CFNumberGetValue", C.c_bool, [P, C.c_int, P]) + self.dictget = bind(self.cf, "CFDictionaryGetValue", P, [P, P]) + self.release = bind(self.cf, "CFRelease", None, [P]) + self.equal = bind(self.cf, "CFEqual", C.c_bool, [P, P]) + self.copyattr = bind(self.ax, "AXUIElementCopyAttributeValue", C.c_int, [P, P, C.POINTER(P)]) + self.copyactions = bind(self.ax, "AXUIElementCopyActionNames", C.c_int, [P, C.POINTER(P)]) + self.setattr = bind(self.ax, "AXUIElementSetAttributeValue", C.c_int, [P, P, P]) + self.perform = bind(self.ax, "AXUIElementPerformAction", C.c_int, [P, P]) + self.hit = bind(self.ax, "AXUIElementCopyElementAtPosition", C.c_int, + [P, C.c_float, C.c_float, C.POINTER(P)]) + self.windows = bind(self.ax, "CGWindowListCopyWindowInfo", P, [C.c_uint, C.c_uint]) + class Point(C.Structure): + _fields_ = [("x", C.c_double), ("y", C.c_double)] + self.Point = Point + self.axvalue = bind(self.ax, "AXValueGetValue", C.c_bool, [P, C.c_int, P]) + self.event = bind(self.ax, "CGEventCreate", P, [P]) + self.location = bind(self.ax, "CGEventGetLocation", Point, [P]) + self.mouse_event = bind(self.ax, "CGEventCreateMouseEvent", P, [P, C.c_uint, Point, C.c_uint]) + self.post_event = bind(self.ax, "CGEventPost", None, [C.c_uint, P]) + self.button_state = bind(self.ax, "CGEventSourceButtonState", C.c_bool, [C.c_int, C.c_uint]) + self.flags_state = bind(self.ax, "CGEventSourceFlagsState", C.c_ulonglong, [C.c_int]) + create = bind(self.ax, "AXUIElementCreateApplication", P, [C.c_int]) + set_timeout = bind(self.ax, "AXUIElementSetMessagingTimeout", C.c_int, [P, C.c_float]) + pids = subprocess.check_output(["/usr/bin/pgrep", "-x", "Messages"], timeout=2).splitlines() + if len(pids) != 1: + raise RuntimeError("Messages process is not unique") + self.pid = int(pids[0]) + self.app = self.own(create(self.pid)) + self.system = self.own(bind(self.ax, "AXUIElementCreateSystemWide", P, [])()) + set_timeout(self.app, 0.5) + + def check(self): + if time.monotonic() >= self.deadline: + raise TimeoutError("emoji selection deadline reached") + + def own(self, value): + if value: + self.refs.append(value) + return value + + def key(self, name): + if name not in self.keys: + self.keys[name] = self.own(self.string(None, name.encode(), 0x08000100)) + return self.keys[name] + + def decode(self, ref): + if not ref: + return None + kind = self.typeid(ref) + if kind == self.types["String"]: + buf = self.C.create_string_buffer(8192) + return buf.value.decode("utf-8") if self.getstring(ref, buf, len(buf), 0x08000100) else None + if kind == self.types["Array"]: + size = self.count(ref) + if size > 4096: + raise RuntimeError("Accessibility array exceeded its bound") + return [self.at(ref, i) for i in range(size)] + if kind == self.types["Boolean"]: + return bool(self.boolean(ref)) + if kind == self.types["Number"]: + number = self.C.c_double() + return number.value if self.number(ref, 13, self.C.byref(number)) else None + return ref + + def attr(self, el, name): + self.check() + out = self.C.c_void_p() + if not el or self.copyattr(el, self.key(name), self.C.byref(out)): + return None + return self.decode(self.own(out.value)) + + def children(self, el): + return self.attr(el, "AXChildren") or [] + + def walk(self, el, limit=1800): + queue, seen = [(el, None)], 0 + while queue: + self.check() + if seen >= limit: + raise RuntimeError("Accessibility tree exceeded its bound") + item, parent = queue.pop(0) + seen += 1 + yield item, parent + queue.extend((child, item) for child in self.children(item)) + + def actions(self, el): + self.check() + out = self.C.c_void_p() + if self.copyactions(el, self.C.byref(out)): + return [] + return [self.decode(x) for x in self.decode(self.own(out.value)) or []] + + def press(self, el): + self.check() + return self.perform(el, self.key("AXPress")) == 0 + + def frame(self, el): + point, size = self.Point(), self.Point() + p, s = self.attr(el, "AXPosition"), self.attr(el, "AXSize") + if not p or not s or not self.axvalue(p, 1, self.C.byref(point)) or not self.axvalue(s, 2, self.C.byref(size)): + return None + return point.x, point.y, size.x, size.y + + def click_glyph(self, el, validate): + """One bounded click on an exact AX glyph, never a guessed grid cell. + + CharacterPalette acknowledges AXPress on its AXUnknown glyph wrappers + without choosing them on macOS 27.2. Hit-test the current center back + to that same wrapper or its one static-text child; revalidate context, + identity and bounds immediately before the single down/up gesture. + """ + self.check() + before = self.frame(el) + if not before or not all(abs(v) < 100000 for v in before) or not (4 <= before[2] <= 128 and 4 <= before[3] <= 128): + return {"ok": False, "error": "moved"} + point = self.Point(before[0] + before[2] / 2, before[1] + before[3] / 2) + hit = self.C.c_void_p() + if self.hit(self.system, point.x, point.y, self.C.byref(hit)): + return {"ok": False, "error": "moved"} + hit = self.own(hit.value) + children = self.children(el) + if not (self.equal(hit, el) or (len(children) == 1 and self.equal(hit, children[0]))): + return {"ok": False, "error": "moved"} + # Do not mix a synthetic click with a person's drag or held modifier. + if any(self.button_state(0, n) for n in range(5)) or self.flags_state(0) & 0x9e0000: + return {"ok": False, "error": "moved"} + original_event = self.own(self.event(None)) + if not original_event: + return {"ok": False, "error": "moved"} + original = self.location(original_event) + down = self.own(self.mouse_event(None, 1, point, 0)) + up = self.own(self.mouse_event(None, 2, point, 0)) + if not down or not up or not validate() or self.frame(el) != before: + return {"ok": False, "error": "moved"} + hit_now = self.C.c_void_p() + if self.hit(self.system, point.x, point.y, self.C.byref(hit_now)): + return {"ok": False, "error": "moved"} + hit_now = self.own(hit_now.value) + if not (self.equal(hit_now, el) or (len(children) == 1 and self.equal(hit_now, children[0]))): + return {"ok": False, "error": "moved"} + self.check() + # No fallback or second click follows these events, even if no receipt + # arrives. A user moving immediately afterward retains their pointer. + try: + try: + self.post_event(0, down) + finally: + self.post_event(0, up) + current_event = self.own(self.event(None)) + if current_event: + current = self.location(current_event) + if abs(current.x - point.x) < 1 and abs(current.y - point.y) < 1: + restore = self.own(self.mouse_event(None, 5, original, 0)) + if restore: + self.post_event(0, restore) + except Exception: + return {"ok": False, "error": "perform-failed"} + return {"ok": True} + + def search(self, el, text): + self.check() + return self.setattr(el, self.key("AXValue"), self.key(text)) == 0 + + def foreground(self): + return self.attr(self.app, "AXFrontmost") is True + + def origin(self, picker, container): + window = self.attr(self.app, "AXMainWindow") + parent = self.attr(container, "AXParent") + picker_parent = self.attr(picker, "AXParent") + if not window or not parent or not picker_parent or not self.equal(picker_parent, container): + return None + title = self.attr(window, "AXTitle") + return (window, title, parent) if isinstance(title, str) else None + + def same_origin(self, origin, picker, container): + current = self.origin(picker, container) + return bool(origin and current and self.equal(origin[0], current[0]) + and origin[1] == current[1] and self.equal(origin[2], current[2])) + + def pickers(self): + # The presentation container is a direct child of iOSContentGroup. + # Do not traverse conversation/history cells to find its sibling UI. + found = [] + for window in self.attr(self.app, "AXWindows") or []: + for group in self.children(window): + if self.attr(group, "AXSubrole") != "iOSContentGroup": + continue + for presentation in self.children(group): + for el in self.children(presentation): + if self.attr(el, "AXIdentifier") == "TapbackPickerCollectionView": + found.append((el, presentation)) + return found + + def popovers(self): + """Discover, never click, a detached Messages-owned picker window. + + The point is only an AX hit-test. It must resolve to a search field + whose parent is AXPopover. Subsequent selection uses exact identities. + Window bounds alone can never authorize any input or press. + """ + found = [] + self.check() + windows = self.decode(self.own(self.windows(16, 0))) or [] + def field(obj, name): + return self.decode(self.dictget(obj, self.key(name))) + for window in windows: + self.check() + if field(window, "kCGWindowOwnerPID") != self.pid or not field(window, "kCGWindowIsOnscreen"): + continue + if (field(window, "kCGWindowAlpha") or 0) <= 0: + continue + bounds = self.dictget(window, self.key("kCGWindowBounds")) + if not bounds: + continue + x, y, width, height = [field(bounds, k) for k in ("X", "Y", "Width", "Height")] + if any(v is None for v in (x, y, width, height)) or not (300 <= width <= 420 and 350 <= height <= 560): + continue + out = self.C.c_void_p() + if self.hit(self.app, x + width / 2, y + 38, self.C.byref(out)): + continue + el = self.own(out.value) + if self.attr(el, "AXSubrole") != "AXSearchField": + continue + parent = self.attr(el, "AXParent") + if self.attr(parent, "AXRole") == "AXPopover" and not any(self.equal(parent, p) for p in found): + found.append(parent) + return found + + def close(self): + for ref in reversed(self.refs): + self.release(ref) + self.refs.clear() + + +def native_emoji_picker(q, ax=None, pause=time.sleep, open_picker=None): + """One exact custom reaction in the picker already opened by picker_route. + + Only identifiers/roles are traversed in the transcript. Message-label + reads are restricted to siblings in the verified picker presentation. + No CharacterPalette process search, global keyboard input, or grid index. + """ + owned = ax is None + ax = ax or NativeAX(time.monotonic() + 30) + pressed = False + try: + matches = ax.pickers() + if not matches and open_picker: + why = open_picker() + if why: + return {"ok": False, "error": "no-picker"} + # The menu event is deliberately asynchronous. Acting on the old + # presentation during its transition can acknowledge AXPress but + # do nothing. An existing picker is reused, never toggled closed. + pause(0.8) + for _ in range(15): + matches = ax.pickers() + if matches: + break + pause(0.3) + if len(matches) != 1: + return {"ok": False, "error": "no-picker" if not matches else "ambiguous-emoji"} + # A press during the picker's opening transition is acknowledged and + # then ignored (27.2), for classic buttons and glyphs alike. + pause(0.8) + matches = ax.pickers() + if len(matches) != 1: + return {"ok": False, "error": "no-picker" if not matches else "ambiguous-emoji"} + picker, container = matches[0] + origin = ax.origin(picker, container) + + def context(): + if (not ax.foreground() or not ax.same_origin(origin, picker, container) + or ax.attr(picker, "AXIdentifier") != "TapbackPickerCollectionView"): + return False + labels = [] + for sibling in ax.children(container): + if ax.attr(sibling, "AXRole") != "AXGroup" or ax.attr(sibling, "AXIdentifier") == "TapbackPickerCollectionView": + continue + label = ax.attr(sibling, "AXDescription") or "" + if label.startswith("Message, "): + labels.append(norm(label[9:])) + return bool(labels) and all(label == q["text"] or + (label.startswith(q["text"] + ", ") and REACTED.fullmatch(label[len(q["text"]) + 2:])) + for label in labels) + + if not q.get("emoji"): + hits = [el for el, _ in ax.walk(picker) if ax.attr(el, "AXRole") == "AXButton" + and ax.attr(el, "AXDescription") == q["action"] and ax.attr(el, "AXEnabled") is True] + if len(hits) != 1: + return {"ok": False, "error": "not-offered", "offered": []} + if not context(): + return {"ok": False, "error": "picker-elsewhere"} + pressed = True + # A slow AX acknowledgement proves nothing either way: chat.db decides. + return {"ok": True} if ax.press(hits[0]) else {"ok": False, "error": "perform-failed"} + + def exact(el): + if ax.attr(el, "AXRole") == "AXUnknown": + # CharacterPalette 27.2 exposes each glyph as AXUnknown with + # AXPress, an exact glyph description and one static-text + # child containing the same sequence. A named image/sticker + # or a search field cannot satisfy this identity contract. + children = ax.children(el) + return (ax.attr(el, "AXDescription") == q["emoji"] and len(children) == 1 + and ax.attr(children[0], "AXRole") == "AXStaticText" + and ax.attr(children[0], "AXValue") == q["emoji"]) + return ax.attr(el, "AXIdentifier") == q["emoji"] or ax.attr(el, "AXValue") == q["emoji"] + + def enabled(el): + state = ax.attr(el, "AXEnabled") + if state is not None: + return state is True + # The system's AXUnknown glyph wrapper omits AXEnabled. Its + # exact static-text child supplies the enabled state instead. + children = ax.children(el) + return (ax.attr(el, "AXRole") == "AXUnknown" and len(children) == 1 + and ax.attr(children[0], "AXRole") == "AXStaticText" + and ax.attr(children[0], "AXEnabled") is True) + + def choose(root): + nonlocal pressed + hits = [el for el, _ in ax.walk(root) if ax.attr(el, "AXRole") in ("AXButton", "AXCell", "AXUnknown") + and exact(el) and enabled(el) and "AXPress" in ax.actions(el)] + if len(hits) != 1: + return {"ok": False, "error": "ambiguous-emoji" if hits else "emoji-not-offered"} + if not context() or not exact(hits[0]) or not enabled(hits[0]): + return {"ok": False, "error": "moved"} + if ax.attr(hits[0], "AXRole") == "AXUnknown": + result = ax.click_glyph(hits[0], lambda: context() and exact(hits[0]) and enabled(hits[0])) + pressed = result.get("ok", False) or result.get("error") == "perform-failed" + return result + pressed = True + return {"ok": True} if ax.press(hits[0]) else {"ok": False, "error": "perform-failed"} + + if not context(): + return {"ok": False, "error": "picker-elsewhere"} + pause(0.2) + if not context(): + return {"ok": False, "error": "moved"} + direct = choose(picker) + if direct.get("ok") or direct.get("error") != "emoji-not-offered" or q.get("remove"): + return direct + more = [el for el in ax.children(container) if ax.attr(el, "AXRole") == "AXButton" + and ax.attr(el, "AXDescription") == "Add custom emoji reaction" + and ax.attr(el, "AXEnabled") is True and "AXPress" in ax.actions(el)] + if len(more) != 1 or not context(): + return {"ok": False, "error": "emoji-picker-unavailable"} + if not ax.press(more[0]): + return {"ok": False, "error": "emoji-picker-unavailable"} + popovers = [] + for _ in range(8): + pause(0.2) + if not context(): + return {"ok": False, "error": "moved"} + popovers = ax.popovers() + if popovers: + break + if len(popovers) != 1: + return {"ok": False, "error": "ambiguous-emoji" if popovers else "emoji-picker-unavailable"} + popover = popovers[0] + if not q.get("name"): + return choose(popover) + # Search before enumerating the catalogue; an unfiltered system + # picker may contain thousands of cells. The field is a direct child. + fields = [el for el in ax.children(popover) if ax.attr(el, "AXSubrole") == "AXSearchField" + and ax.attr(el, "AXEnabled") is True] + if len(fields) != 1 or not context(): + return {"ok": False, "error": "emoji-picker-unavailable"} + if not ax.search(fields[0], q["name"]): + return {"ok": False, "error": "emoji-picker-unavailable"} + pause(0.8) + return choose(popover) + except TimeoutError: + return {"ok": False, "error": "timeout" if pressed else "emoji-picker-unavailable"} + except Exception: + return {"ok": False, "error": "perform-failed" if pressed else "emoji-picker-unavailable"} + finally: + if owned: + ax.close() + + def jxa(request: dict) -> dict: """Run the AX script with one request on stdin; its JSON answer, or an error.""" try: @@ -596,8 +1143,8 @@ def perform(target: dict, action: str, run=jxa, deadline=None) -> dict: that finds it where the last one did. Paging and settling are the only things repeated, and they stop at `deadline` (time.monotonic()).""" request = {"text": target["text"], "from_me": target["from_me"], "hhmm": target["hhmm"], - "ordinal": target["ordinal"], "newest": target["newest"], "actions": ACTIONS, - "action": action, "frame": "", "mode": "perform"} + "ordinal": target["ordinal"], "newest": target["newest"], "actions": ACTIONS + [action], + "action": action, "frame": "", "mode": "perform", "picture": bool(target.get("picture"))} down = up = settles = 0 looked_again = bottom_seen = False while True: @@ -739,16 +1286,14 @@ def system_events_consent(path: str = USER_TCC, probe=ae_permission) -> str: # --------------------------------------------------------------------- run -def react(con, target: dict, kind: int, remove: bool, self_handles: list, ui, run=jxa) -> dict: +def react(con, target: dict, kind: int, remove: bool, self_handles: list, ui, run=jxa, emoji="", name="") -> dict: """Steps 3-4: one press, then chat.db (see the module docstring). `ui` is the imsg-read module (lock, selection, focus); tests pass a stand-in.""" - action = TAPBACKS_BY_KIND[kind] - expected = plan(current_kind(my_rows(con, target["guids"], self_handles)), kind, remove) + action = emoji if emoji else TAPBACKS_BY_KIND[kind] + rows = my_rows(con, target["guids"], self_handles) + expected = emoji_plan(rows, emoji, remove) if emoji else plan(current_kind(rows), kind, remove) if expected is None: return {"ok": True, "result": "unchanged"} - if macos_major() >= 27 and not is_last(con, target): # refused before Messages is touched - raise Stop("not-last", EX_UNSUPPORTED, - "on this macOS only the newest message in a conversation can take a tapback") why = system_events_consent() # before ensure_messages: it is already a System Events call if why: raise Stop("consent", EX_NOPERM, why) @@ -766,22 +1311,37 @@ def react(con, target: dict, kind: int, remove: bool, self_handles: list, ui, ru if why: raise Stop("unavailable", EX_UNAVAILABLE, why) since = apple_now() - # macOS 27 bubbles carry no tapbacks, so the bubble search cannot even - # page (it pages with a live bubble's actions): straight to the picker. - r = (picker_route(con, target, action, run) if macos_major() >= 27 + # macOS 27 bubbles carry no tapbacks, only the way to their picker. + r = (picker_route(target, action, run, emoji=emoji, name=name, remove=remove, deadline=deadline) if macos_major() >= 27 else perform(target, action, run=run, deadline=deadline)) if r.get("error") == "not-offered" and PICKER_SIGN in r.get("offered", []): - r = picker_route(con, target, action, run) # a 27-style bubble on an older version + r = picker_route(target, action, run, emoji=emoji, name=name, remove=remove, deadline=deadline) + elif emoji and not remove and r.get("error") == "not-offered": + # Opening the catalogue is not sending. The final choice still + # needs exact AX identity; a missing/ambiguous result is refused. + if time.monotonic() >= deadline: + raise Stop("timeout", EX_TEMPFAIL, "emoji selection deadline reached; nothing was sent") + opened = perform(target, "Add Emoji as Tapback", run=run, deadline=deadline) + if opened.get("ok") and time.monotonic() >= deadline: + raise Stop("timeout", EX_TEMPFAIL, "emoji selection deadline reached; nothing was sent") + r = run({"mode": "emoji", "emoji": emoji, "name": name, "text": target["text"]}) if opened.get("ok") else opened if not r.get("ok") and r.get("error") not in MAYBE_PERFORMED: + if macos_major() >= 27 and run is jxa and r.get("error") not in NOT_OPENED: + close_picker() raise failure(r, action) # nothing was pressed row = answer(con, target, self_handles, since) if row is None: + if macos_major() >= 27 and run is jxa: + close_picker() if not r.get("ok"): raise failure(r, action) raise Stop("no-row", EX_TEMPFAIL, f"'{action}' was performed but no tapback row reached chat.db") if row["type"] != expected: raise Stop("unexpected", EX_TEMPFAIL, f"chat.db shows tapback type {row['type']}, not {expected}", type=row["type"]) + if emoji and row.get("emoji") != emoji: + raise Stop("unexpected-emoji", EX_TEMPFAIL, + "chat.db did not confirm the exact requested emoji; check the reaction in Messages") finally: ui.restore_front(prev) return {"ok": True, "result": "removed" if expected >= 3000 else "added", "type": expected, @@ -795,49 +1355,57 @@ def macos_major() -> int: return 0 -CLICK_PICKER = """tell application "Messages" to activate -delay 0.6 -ignoring application responses - tell application "System Events" to click menu item "Tapback Last Message…" of menu 1 of menu bar item "Edit" of menu bar 1 of process "Messages" -end ignoring""" - - -def click_picker_item() -> str: - """Edit ▸ Tapback Last Message…, without waiting for Messages to answer: - a System Events click on it can block until the picker closes (27.0.1, - by index and by name alike). "" or why it could not be sent.""" +def picker_route(target: dict, action: str, run, emoji="", name="", remove=False, deadline=None) -> dict: + """macOS 27: open the picker from the target bubble, then choose in it. The + bubble search finds, settles and re-reads the bubble before that one press.""" + if run is jxa: + clear_stale_picker() + opened = perform(target, PICKER_SIGN, run=run, deadline=deadline) + if not opened.get("ok"): + # Nothing was chosen, even if the press landed: only the picker sends. + return {"ok": False, "error": "no-picker"} if opened.get("error") in MAYBE_PERFORMED else opened + request = {"mode": "picker", "text": target["text"], "action": action} + if emoji: + request.update(emoji=emoji, name=name, remove=remove) + if run is jxa: + return native_emoji_picker(request) + return run(request) + + +def close_picker() -> None: + """Escape out of a picker a run left open. Left there it blocks the next run, + and the JXA scan's entireContents would then walk the whole emoji catalogue, + pinning Messages' main thread for minutes (27.2). Only ever to Messages.""" + script = 'tell application "System Events" to if frontmost of process "Messages" then key code 53' try: - r = subprocess.run(["/usr/bin/osascript", "-e", CLICK_PICKER], capture_output=True, timeout=15) + subprocess.run(["/usr/bin/osascript", "-e", script], capture_output=True, timeout=10) except subprocess.TimeoutExpired: - return "the menu click timed out" - return "" if r.returncode == 0 else r.stderr.decode("utf-8", "replace").strip()[-200:] - - -def picker_route(con, target: dict, action: str, run, click=None) -> dict: - if not is_last(con, target): - raise Stop("not-last", EX_UNSUPPORTED, - "on this macOS only the newest message in a conversation can take a tapback") - why = (click or click_picker_item)() - if why: - return {"ok": False, "error": "no-picker", "detail": why} - return run({"mode": "picker", "text": target["text"], "action": action}) + pass -def is_last(con, target: dict) -> bool: - """Whether the target is the conversation's newest message: the one Edit ▸ - Tapback Last Message… opens the picker on. Tapbacks and announcements are - not messages; Recently Deleted ones are not drawn.""" - marks = ",".join("?" * len(target["chats"])) - row = con.execute( - f"""SELECT m.guid FROM message m JOIN chat_message_join j ON j.message_id = m.ROWID - WHERE j.chat_id IN ({marks}) AND m.associated_message_type = 0 AND m.item_type = 0 - AND m.ROWID NOT IN (SELECT message_id FROM chat_recoverable_message_join) - ORDER BY m.date DESC, m.ROWID DESC LIMIT 1""", list(target["chats"])).fetchone() - return row is not None and row["guid"] in target["guids"] +def clear_stale_picker() -> None: + """Before any scan: the native check never enumerates the catalogue. Each + Escape closes one layer, the catalogue first and then the picker under it.""" + for _ in range(3): + ax = NativeAX(time.monotonic() + 5) + try: + stale = bool(ax.pickers() or ax.popovers()) + except Exception: + stale = False + finally: + ax.close() + if not stale: + return + close_picker() + time.sleep(0.5) def failure(r: dict, action: str) -> Stop: error = r.get("error") or "failed" + if error in {"emoji-not-offered", "emoji-picker-unavailable", "ambiguous-emoji"}: + return Stop(error, EX_NOT_OFFERED, + "Messages did not expose that exact emoji as an accessible reaction; nothing was sent. " + "Try a recently used emoji or a classic Tapback") if error == "picker-elsewhere": return Stop(error, EX_TEMPFAIL, "the tapback picker opened on another message; nothing was done") if error == "no-picker": @@ -854,8 +1422,9 @@ def failure(r: dict, action: str) -> Stop: def main(argv=None) -> int: p = argparse.ArgumentParser(prog="imsg-react", add_help=True, description="Add or remove one tapback. Dry run unless --yes.") - p.add_argument("tapback", choices=sorted(TAPBACKS)) + p.add_argument("tapback", nargs="?", choices=sorted(TAPBACKS)) p.add_argument("--guid", required=True, help="the message's GUID (message.guid)") + p.add_argument("--emoji-stdin", action="store_true", help="read an exact emoji and optional search name as JSON on stdin") p.add_argument("--remove", action="store_true", help="remove this tapback instead of adding it") p.add_argument("--yes", action="store_true", help="act; without it nothing on the Mac changes") try: @@ -864,7 +1433,10 @@ def main(argv=None) -> int: return EX_USAGE if e.code else 0 if not re.fullmatch(r"[A-Za-z0-9:/_-]{1,128}", a.guid): return emit(Stop("usage", EX_USAGE, "that is not a message GUID")) + if bool(a.tapback) == bool(a.emoji_stdin): + return emit(Stop("usage", EX_USAGE, "choose one classic tapback or --emoji-stdin")) try: + custom = read_emoji(sys.stdin) if a.emoji_stdin else {"emoji": "", "name": ""} imsg = sibling("imsg") try: self_handles = sibling("imsg-send").detect_self_handles() @@ -873,14 +1445,15 @@ def main(argv=None) -> int: con = sqlite3.connect(f"file:{imsg.DB_PATH}?mode=ro", uri=True, timeout=5) con.row_factory = sqlite3.Row target = resolve(con, imsg, a.guid, self_handles) - action, kind = TAPBACKS[a.tapback] + action, kind = (custom["emoji"], 6) if a.emoji_stdin else TAPBACKS[a.tapback] if not a.yes: - expected = plan(current_kind(my_rows(con, target["guids"], self_handles)), kind, a.remove) + rows = my_rows(con, target["guids"], self_handles) + expected = emoji_plan(rows, custom["emoji"], a.remove) if a.emoji_stdin else plan(current_kind(rows), kind, a.remove) would = "unchanged" if expected is None else ("remove" if expected >= 3000 else "add") return emit({"ok": True, "result": "dry-run", "would": would, "action": action}) ui = sibling("imsg-read") with ui.messages_ui_lock(): - return emit(react(con, target, kind, a.remove, self_handles, ui)) + return emit(react(con, target, kind, a.remove, self_handles, ui, **custom)) except Stop as stop: return emit(stop) except TimeoutError as exc: # the Messages lock; before OSError, which it is diff --git a/bridge/mac/imsg-reply b/bridge/mac/imsg-reply new file mode 100755 index 00000000..da3fa9cc --- /dev/null +++ b/bridge/mac/imsg-reply @@ -0,0 +1,432 @@ +#!/usr/bin/env python3 +"""imsg-reply: send one native inline reply through Messages. Dry run unless --yes. + + imsg-reply --guid GUID --text-stdin [--yes] + +AppleScript cannot reply, so this drives the bubble's "Reply…" action through +Accessibility, the way imsg-react drives "Tapback Details…". Measured on macOS +27.2; see docs/replies.md for what was tried, what was refused and why. + +How one run goes: + 1. chat.db alone decides the target and refuses what is not proven: groups, + links and cards, captions, several attachments, anything but one picture, + and two pictures on one side in the same minute (their labels are identical). + 2. A draft in the Mac's composer stops the run. "Reply…" moves the draft into the + reply field, so sending would take it along or overwrite it. + 3. Press "Reply…" once on the target. The reply view must name that target. + 4. Fill the field through AX, never the clipboard: the clipboard would carry the + text to other machines. Read it back, recheck focus, press Return. + 5. chat.db decides. A row of yours with this text must name the target's thread. + +The text arrives on stdin and is never in argv or a log. + +Exit codes: 0 sent and confirmed; 75 nothing sent, try again; 76 Return was pressed +but chat.db did not confirm it, so the caller must NOT resend; others as imsg-react. +""" +from __future__ import annotations + +import argparse +import datetime as dt +import json +import os +import re +import sqlite3 +import subprocess +import sys +import time +from importlib.machinery import SourceFileLoader +from importlib.util import module_from_spec, spec_from_loader + +HERE = os.path.dirname(os.path.realpath(__file__)) + + +def _load(name: str): + loader = SourceFileLoader(name.replace("-", "_"), os.path.join(HERE, name)) + spec = spec_from_loader(loader.name, loader) + module = module_from_spec(spec) + loader.exec_module(module) + return module + + +rx = _load("imsg-react") +Stop = rx.Stop +EX_USAGE, EX_UNSUPPORTED, EX_UNAVAILABLE, EX_SOFTWARE, EX_TEMPFAIL, EX_NOPERM = ( + rx.EX_USAGE, rx.EX_UNSUPPORTED, rx.EX_UNAVAILABLE, rx.EX_SOFTWARE, rx.EX_TEMPFAIL, rx.EX_NOPERM) +EX_UNCONFIRMED = 76 + +REPLY_ACTION = "Reply…" +PICTURE_LABEL = "Includes picture" # a picture bubble's whole body, measured on 27.2 +MAX_CHARS = 4000 +MAX_BYTES = 16000 +CONFIRM_SECONDS = 15 +OPEN_POLLS = 10 +LOG = os.path.expanduser("~/.blip/reply.log") + +# Answers with no message text in them. The request (text included) is on stdin. +JXA = r""" +ObjC.import("Foundation"); +const se = Application("System Events"); +const proc = se.processes.byName("Messages"); +const REACTED = new RegExp(REACTED_SOURCE); +function safe(f, d) { try { const v = f(); return v === undefined ? d : v; } catch (e) { return d; } } +function norm(s) { return String(s || "").replace(//g, "").replace(/\s+/g, " ").trim(); } +function focused() { return safe(() => proc.attributes.byName("AXFocusedUIElement").value(), null); } +function attr(el, name) { return safe(() => el.attributes.byName(name).value(), null); } +function info(el) { + if (!el) return { id: "", placeholder: "", length: 0 }; + return { id: String(attr(el, "AXIdentifier") || ""), placeholder: String(attr(el, "AXPlaceholderValue") || ""), + length: String(safe(() => el.value(), "") || "").length }; +} +function front() { return safe(() => proc.frontmost(), false) === true; } +function parseLabel(d) { + const m = String(d).match(/^([\s\S]*), (\d{1,2})[:.](\d{2})(?:\s*([AP]M))?$/); + if (!m) return null; + let h = parseInt(m[2], 10); + if (m[4] === "PM" && h < 12) h += 12; + if (m[4] === "AM" && h === 12) h = 0; + return { time: (h < 10 ? "0" : "") + h + ":" + m[3], body: norm(m[1].replace(/^[^,]*, /, "").replace(/^Reply…, /, "")) }; +} +function bodyIs(body, want) { + if (body === want) return true; + return body.startsWith(want + ", ") && REACTED.test(body.slice(want.length + 2)); +} +// The reply view opens over the conversation, with its own transcript of the thread. +function viewNames(q) { + const all = safe(() => proc.windows[0].entireContents(), []); + const paths = all.map(e => Automation.getDisplayString(e)); + const at = all.findIndex(e => String(safe(() => e.description(), "")) === "Reply transcript"); + if (at < 0) return false; + const under = paths[at] + "."; + return all.some((e, i) => { + if (!paths[i].startsWith(under)) return false; + const label = parseLabel(String(safe(() => e.description(), "") || "")); + return !!label && label.time === q.hhmm && bodyIs(label.body, q.text); + }); +} +function composer() { + let el = focused(), i = info(el); + if (i.id === "messageBodyField") return i; + for (const e of safe(() => proc.windows[0].entireContents(), [])) { + if (!/\.textFields\.at\(\d+\)$/.test(Automation.getDisplayString(e))) continue; + i = info(e); + if (i.id === "messageBodyField") return i; + } + return null; +} +function send(q) { + let el = null, i = null; + for (let n = 0; n < q.polls; n++) { + el = focused(); i = info(el); + if (i.id === "messageBodyField" && i.placeholder === "Reply") break; + i = null; + delay(0.3); + } + if (!i) return { ok: false, error: "no-reply-view" }; + if (!front()) return { ok: false, error: "not-front" }; + if (i.length > 0) return { ok: false, error: "draft" }; + if (!viewNames(q)) return { ok: false, error: "reply-elsewhere" }; + try { el.value = q.body; } catch (e) { return { ok: false, error: "fill-failed" }; } + delay(0.3); + if (String(safe(() => el.value(), "")) !== q.body) { safe(() => { el.value = ""; }); return { ok: false, error: "fill-failed" }; } + const now = info(focused()); + if (!front() || now.id !== "messageBodyField" || now.placeholder !== "Reply") { + safe(() => { el.value = ""; }); + return { ok: false, error: "focus-moved" }; + } + se.keyCode(36); + delay(0.8); + const left = info(focused()); + if (left.length > 0) { safe(() => { focused().value = ""; }); return { ok: false, error: "not-sent" }; } + return { ok: true }; +} +function run() { + const input = $.NSFileHandle.fileHandleWithStandardInput.readDataToEndOfFile; + const q = JSON.parse(String(ObjC.unwrap($.NSString.alloc.initWithDataEncoding(input, $.NSUTF8StringEncoding)))); + if (q.mode === "composer") { + const c = composer(); + return JSON.stringify(c ? { ok: true, length: c.length, inReply: c.placeholder === "Reply" } : { ok: false, error: "no-conversation" }); + } + if (q.mode === "send") return JSON.stringify(send(q)); + if (q.mode === "close") { + const i = info(focused()); + if (front() && i.id === "messageBodyField" && i.placeholder === "Reply") { se.keyCode(53); return JSON.stringify({ ok: true, closed: true }); } + return JSON.stringify({ ok: true, closed: false }); + } + return JSON.stringify({ ok: false, error: "bad-mode" }); +} +""".replace("REACTED_SOURCE", json.dumps("^" + rx._REACTION + "(, " + rx._REACTION + ")*$")) + + +def jxa(request: dict) -> dict: + try: + r = subprocess.run(["/usr/bin/osascript", "-l", "JavaScript", "-e", JXA], + input=json.dumps(request, ensure_ascii=False).encode(), + capture_output=True, timeout=rx.JXA_TIMEOUT) + except subprocess.TimeoutExpired: + return {"ok": False, "error": "timeout"} + if r.returncode != 0: + return {"ok": False, "error": "osascript"} + try: + answer = json.loads(r.stdout) + except ValueError: + return {"ok": False, "error": "osascript"} + return answer if isinstance(answer, dict) else {"ok": False, "error": "osascript"} + + +def read_text(stream) -> str: + raw = stream.buffer.read(MAX_BYTES + 1) + if len(raw) > MAX_BYTES: + raise Stop("too-long", EX_USAGE, f"replies are limited to {MAX_CHARS} characters; nothing was sent") + try: + text = raw.decode("utf-8").strip() + except UnicodeDecodeError: + raise Stop("usage", EX_USAGE, "the reply is not valid UTF-8; nothing was sent") + if not text: + raise Stop("usage", EX_USAGE, "the reply is empty; nothing was sent") + if len(text) > MAX_CHARS: + raise Stop("too-long", EX_USAGE, f"replies are limited to {MAX_CHARS} characters; nothing was sent") + return text + + +def _attachments(con, rowid: int) -> list: + cols = {r[1] for r in con.execute("PRAGMA table_info(attachment)")} + sticker = "a.is_sticker" if "is_sticker" in cols else "0" + rows = con.execute( + f"""SELECT a.mime_type, a.transfer_name, {sticker} AS sticker + FROM message_attachment_join j JOIN attachment a ON a.ROWID = j.attachment_id + WHERE j.message_id = ?""", (rowid,)).fetchall() + return [r for r in rows if not str(r["transfer_name"] or "").endswith(".pluginPayloadAttachment")] + + +def resolve_picture(con, imsg, row, self_handles: list) -> dict: + """A message of exactly one picture and no text. Its label is only "Includes + picture" and a time, and the reply view can name nothing more, so a run + refuses whenever that does not pick out one bubble.""" + if rx.norm(imsg.message_text(row)): + raise Stop("unsupported", EX_UNSUPPORTED, "replying to a picture with a caption is not supported yet") + files = _attachments(con, row["ROWID"]) + if len(files) != 1: + raise Stop("unsupported", EX_UNSUPPORTED, "replying to a message with several attachments is not supported yet") + if files[0]["sticker"] or not str(files[0]["mime_type"] or "").lower().startswith("image/"): + raise Stop("unsupported", EX_UNSUPPORTED, "only pictures can be replied to, not other attachments") + ids = imsg.chat_cluster_ids(con, row["chat_identifier"]) + chats = [r[0] for r in con.execute( + f"SELECT ROWID FROM chat WHERE chat_identifier IN ({','.join('?' * len(ids))})", ids)] + guids = [row["guid"]] + from_me = bool(row["is_from_me"]) + date, rowid = row["date"], row["ROWID"] + self_thread = row["chat_identifier"] in self_handles + if self_thread: + twins = [t for t in rx.bubbles(con, chats, "m.cache_has_attachments AND ABS(m.date - ?) < ?", + "m.is_from_me DESC, m.date, m.ROWID", (date, rx.SELF_TWIN_NS))] + guids = list(dict.fromkeys([row["guid"]] + [t["guid"] for t in twins])) + sent = next((t for t in twins if t["is_from_me"]), None) + if sent: + from_me, date, rowid = True, sent["date"], sent["ROWID"] + minute = rx.hhmm(date) + day = 86400 * 10**9 + ordinal = scanned = 0 + for r in rx.bubbles(con, chats, "m.is_from_me = ? AND m.cache_has_attachments", f"m.date, m.ROWID LIMIT {rx.LATER_SCAN}", (int(from_me),)): + scanned += 1 + if r["guid"] in guids or rx.hhmm(r["date"]) != minute or rx.norm(imsg.message_text(r)): + continue + if abs(r["date"] - date) < day: + raise Stop("ambiguous", EX_TEMPFAIL, "two pictures were sent in that minute and Messages labels them alike; nothing was sent") + if (r["date"], r["ROWID"]) > (date, rowid): + ordinal += 1 + if scanned >= rx.LATER_SCAN: + raise Stop("ambiguous", EX_TEMPFAIL, "too many pictures on this side to rule out a look-alike; nothing was sent") + newest = None + for r in rx.bubbles(con, chats, "NOT m.cache_has_attachments AND m.balloon_bundle_id IS NULL", + "m.date DESC, m.ROWID DESC LIMIT 50"): + body = rx.norm(imsg.message_text(r)) + if body and not rx.LINK.search(body): + newest = {"text": body, "from_me": bool(r["is_from_me"]), "hhmm": rx.hhmm(r["date"])} + break + return {"guids": guids, "chats": chats, "text": PICTURE_LABEL, "from_me": from_me, "hhmm": minute, + "ordinal": ordinal, "chat": row["chat_identifier"], "self_thread": self_thread, "picture": True, + "newest": newest or {"text": PICTURE_LABEL, "from_me": from_me, "hhmm": minute}} + + +def resolve(con, imsg, guid: str, self_handles: list) -> dict: + row = con.execute( + f"""SELECT {rx.MSG_COLS}, c.chat_identifier, c.style FROM message m + JOIN chat_message_join j ON j.message_id = m.ROWID + JOIN chat c ON c.ROWID = j.chat_id WHERE m.guid = ?""", (guid,)).fetchone() + if not row: + raise Stop("no-such-message", EX_UNSUPPORTED, "no message with that GUID") + if row["style"] == 43: + raise Stop("unsupported", EX_UNSUPPORTED, "replying in a group is not supported yet") + if row["item_type"] != 0 or (row["associated_message_type"] or 0) in range(2000, 4000): + raise Stop("unsupported", EX_UNSUPPORTED, "that row is not a message bubble") + if row["balloon_bundle_id"]: + raise Stop("unsupported", EX_UNSUPPORTED, "replying to a link or app card is not supported yet") + if row["cache_has_attachments"]: + return resolve_picture(con, imsg, row, self_handles) + return rx.resolve(con, imsg, guid, self_handles) + + +def threads(con, target: dict) -> set: + """What a reply to this target may name. A reply to a reply names the thread's + first message, so the target's own originator counts too (measured on 27.2).""" + guids = list(target["guids"]) + marks = ",".join("?" * len(guids)) + roots = [r[0] for r in con.execute(f"SELECT thread_originator_guid FROM message WHERE guid IN ({marks})", guids) if r[0]] + return set(guids) | set(roots) + + +def find_reply(con, imsg, expected: set, text: str, since: int): + """Your row with this text in the target's thread. Not filtered by chat: a reply + can land under another address of the same person (seen in a self-thread).""" + marks = ",".join("?" * len(expected)) + want = rx.norm(text) + for row in con.execute( + f"""SELECT m.ROWID, m.guid, m.text, m.attributedBody, m.error FROM message m + WHERE m.is_from_me = 1 AND m.date >= ? AND m.thread_originator_guid IN ({marks}) + ORDER BY m.ROWID DESC""", (since, *expected)): + if rx.norm(imsg.message_text(row)) == want: + return row + return None + + +def confirm(con, imsg, expected: set, text: str, since: int, pause=time.sleep) -> dict: + for _ in range(int(CONFIRM_SECONDS * 2)): + row = find_reply(con, imsg, expected, text, since) + if row is not None: + if row["error"]: + raise Stop("failed", EX_UNCONFIRMED, "Messages could not deliver the reply; check it in Messages", error=row["error"]) + return {"ok": True, "result": "sent"} + pause(0.5) + raise Stop("unconfirmed", EX_UNCONFIRMED, + "the reply was submitted but Messages did not record it yet; check before sending it again") + + +NOT_SENT = { + "draft": "this chat has a draft in Messages on the Mac; send or clear it first. Nothing was sent", + "no-reply-view": "the reply view did not open; nothing was sent", + "not-front": "Messages was not in front; nothing was sent", + "reply-elsewhere": "the reply view opened on a different message; nothing was sent", + "fill-failed": "the reply could not be filled in; nothing was sent", + "focus-moved": "focus moved away from the reply; nothing was sent", + "not-sent": "Messages did not accept the reply; nothing was sent", +} + + +def reply(con, imsg, target: dict, text: str, ui, run=jxa, perform=None, pause=time.sleep) -> dict: + perform = perform or rx.perform + why = rx.system_events_consent() + if why: + raise Stop("consent", EX_NOPERM, why) + why = ui.ensure_messages() + if why: + raise Stop("unavailable", EX_UNAVAILABLE, why) + why = ui.accessibility() + if why: + raise Stop("accessibility", EX_NOPERM, why) + prev = ui.frontmost() + started = time.monotonic() + opened = False + try: + why = ui.select_chat(target["chat"]) + if why: + raise Stop("unavailable", EX_TEMPFAIL, why) + if run is jxa: + rx.clear_stale_picker() + state = run({"mode": "composer"}) + if state.get("inReply"): # left open by a run that died + run({"mode": "close"}) + pause(0.8) + state = run({"mode": "composer"}) + if not state.get("ok"): + raise Stop("unavailable", EX_TEMPFAIL, "the conversation did not open in Messages; nothing was sent") + if state.get("length", 0) > 0 or state.get("inReply"): + raise Stop("draft", EX_TEMPFAIL, NOT_SENT["draft"]) + expected = threads(con, target) + since = rx.apple_now() + pressed = perform(target, REPLY_ACTION, deadline=started + rx.RUN_LIMIT) + if not pressed.get("ok") and pressed.get("error") not in rx.MAYBE_PERFORMED: + if pressed.get("error") in ("not-rendered", "unsettled"): + raise Stop(pressed["error"], EX_TEMPFAIL, "Messages could not find that message on screen; nothing was sent") + raise rx.failure(pressed, REPLY_ACTION) + opened = True + sent = run({"mode": "send", "body": text, "text": target["text"], "hhmm": target["hhmm"], "polls": OPEN_POLLS}) + if not sent.get("ok"): + code = sent.get("error", "error") + if code in rx.MAYBE_PERFORMED: + # osascript died or timed out, possibly after Return. Never resend. + return confirm(con, imsg, expected, text, since, pause) + raise Stop(code, EX_TEMPFAIL, NOT_SENT.get(code, "the reply could not be sent; nothing was sent")) + result = confirm(con, imsg, expected, text, since, pause) + result["seconds"] = round(time.monotonic() - started, 1) + return result + finally: + if opened: + run({"mode": "close"}) + pause(0.4) + ui.restore_front(prev) + + +def log_outcome(code: str, exit_code: int, seconds=None) -> None: + """When, the outcome code and the exit status. Never a GUID or any text.""" + try: + if os.path.exists(LOG) and os.path.getsize(LOG) > 65536: + os.replace(LOG, LOG + ".1") + line = f"{dt.datetime.now(dt.timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ')} {code} exit={exit_code}" + if seconds is not None: + line += f" {seconds}s" + with open(LOG, "a") as f: + f.write(line + "\n") + except OSError: + pass + + +def emit(result) -> int: + if isinstance(result, Stop): + log_outcome(str(result.result.get("code", "?")), result.exit_code) + if result.why: + sys.stderr.write(f"imsg-reply: {result.why}\n") + print(json.dumps(result.result, ensure_ascii=False)) + return result.exit_code + log_outcome(str(result.get("result", "ok")), 0, result.get("seconds")) + print(json.dumps(result, ensure_ascii=False)) + return 0 + + +def main(argv=None) -> int: + p = argparse.ArgumentParser(prog="imsg-reply", description="Send one native reply. Dry run unless --yes.") + p.add_argument("--guid", required=True, help="the message's GUID (message.guid)") + p.add_argument("--text-stdin", action="store_true", required=True, help="read the reply from stdin") + p.add_argument("--yes", action="store_true", help="act; without it nothing on the Mac changes") + try: + a = p.parse_args(argv) + except SystemExit as e: + return EX_USAGE if e.code else 0 + if not re.fullmatch(r"[A-Za-z0-9:/_-]{1,128}", a.guid): + return emit(Stop("usage", EX_USAGE, "that is not a message GUID")) + try: + text = read_text(sys.stdin) + imsg = rx.sibling("imsg") + try: + self_handles = rx.sibling("imsg-send").detect_self_handles() + except Exception: + self_handles = [] + con = sqlite3.connect(f"file:{imsg.DB_PATH}?mode=ro", uri=True, timeout=5) + con.row_factory = sqlite3.Row + target = resolve(con, imsg, a.guid, self_handles) + if not a.yes: + return emit({"ok": True, "result": "dry-run", "target": "picture" if target.get("picture") else "text"}) + ui = rx.sibling("imsg-read") + with ui.messages_ui_lock(): + return emit(reply(con, imsg, target, text, ui)) + except Stop as stop: + return emit(stop) + except TimeoutError as exc: + return emit(Stop("busy", EX_TEMPFAIL, str(exc))) + except (sqlite3.Error, OSError) as exc: + return emit(Stop("unavailable", EX_UNAVAILABLE, str(exc))) + except Exception as exc: + return emit(Stop("error", EX_SOFTWARE, f"{type(exc).__name__}: {exc}")) + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/bridge/mac/install.sh b/bridge/mac/install.sh index e2780a0b..a909f5a4 100755 --- a/bridge/mac/install.sh +++ b/bridge/mac/install.sh @@ -21,7 +21,7 @@ dest="$HOME/.blip/bin" # denial (#36, Astra #11). check=1; for a in "$@"; do [[ $a == --no-check ]] && check=0; done mkdir -p "$dest" -for t in imsg imsg-send imsg-read imsg-react contacts contact-repair.js contact-save contact-save.js tcc-check blip-check blip-dispatch calling_codes.py read_state.py findmy_city.py; do +for t in imsg imsg-send imsg-read imsg-react imsg-reply contacts contact-repair.js contact-save contact-save.js tcc-check blip-check blip-dispatch calling_codes.py read_state.py findmy_city.py; do if [[ -f "$here/$t" ]]; then install -m 0755 "$here/$t" "$dest/$t" else diff --git a/bridge/mac/test_react.py b/bridge/mac/test_react.py index 070611bd..d835ca7a 100644 --- a/bridge/mac/test_react.py +++ b/bridge/mac/test_react.py @@ -278,9 +278,6 @@ def setUp(self): self.wait = patch.object(react, "ROW_WAIT", 0.05) self.wait.start() self.addCleanup(self.wait.stop) - clicked = patch.object(react, "click_picker_item", return_value="") - clicked.start() - self.addCleanup(clicked.stop) logged = patch.object(react, "log_outcome") logged.start() self.addCleanup(logged.stop) @@ -322,49 +319,51 @@ def test_not_offered_is_reported_once_and_left_alone(self): # macOS 27: a bubble offers Tapback Details… and none of the six. MACOS27 = {"ok": False, "error": "not-offered", "offered": ["press", "Tapback Details…", "Reply…", "Copy"]} - def test_macos27_newest_message_goes_through_the_picker(self): - result, messages = self.run_react([self.MACOS27, {"ok": True, "lands": 2000}]) + def test_macos27_sign_opens_the_picker_from_the_target_bubble(self): + result, messages = self.run_react([self.MACOS27, OK, {"ok": True, "lands": 2000}]) self.assertEqual((result["result"], result["type"]), ("added", 2000)) + self.assertEqual(messages.performs[-1]["action"], "Tapback Details…") self.assertEqual(len(messages.pickers), 1) self.assertEqual((messages.pickers[0]["text"], messages.pickers[0]["action"]), ("see you", "Heart")) self.assertEqual(self.ui.restored, ["Previous app"]) - def test_macos27_an_older_message_is_refused_before_any_picker(self): + def test_macos27_an_older_message_takes_a_tapback(self): add(self.con, 1, "N", "later", True, T0 + MINUTE) - stop, messages = self.run_react([self.MACOS27]) - self.assertEqual((stop.exit_code, stop.result["code"]), (react.EX_UNSUPPORTED, "not-last")) - self.assertEqual(messages.pickers, []) - - def test_macos27_a_later_tapback_does_not_make_it_older(self): - tapback(self.con, 1, "M", 2001, from_me=False, handle=2, date=T0 + MINUTE) - result, messages = self.run_react([self.MACOS27, {"ok": True, "lands": 2000}]) + with patch.object(react, "macos_major", return_value=27): + result, messages = self.run_react([OK, {"ok": True, "lands": 2000}]) self.assertEqual(result["result"], "added") + self.assertEqual((len(messages.performs), len(messages.pickers)), (1, 1)) def test_macos27_a_picker_on_another_message_presses_nothing(self): - stop, messages = self.run_react([self.MACOS27, {"ok": False, "error": "picker-elsewhere"}]) + stop, messages = self.run_react([self.MACOS27, OK, {"ok": False, "error": "picker-elsewhere"}]) self.assertEqual((stop.exit_code, stop.result["code"]), (react.EX_TEMPFAIL, "picker-elsewhere")) self.assertEqual(len(messages.pickers), 1) - def test_on_macos27_the_bubble_search_is_skipped(self): + def test_macos27_the_picker_opens_only_after_the_bubble_settles(self): with patch.object(react, "macos_major", return_value=27): - result, messages = self.run_react([{"ok": True, "lands": 2000}]) + result, messages = self.run_react([{"ok": False, "error": "unsettled", "frame": "1,2,3,4"}, OK, + {"ok": True, "lands": 2000}]) self.assertEqual(result["result"], "added") - self.assertEqual((len(messages.performs), len(messages.pickers)), (0, 1)) + self.assertEqual(messages.performs[-1]["frame"], "1,2,3,4") - def test_on_macos27_an_older_message_touches_nothing(self): - add(self.con, 1, "N", "later", True, T0 + MINUTE) + def test_macos27_a_bubble_that_is_not_found_opens_no_picker(self): with patch.object(react, "macos_major", return_value=27): - stop, messages = self.run_react([]) - self.assertEqual(stop.result["code"], "not-last") - self.assertEqual(messages.requests, []) - self.assertEqual(self.ui.selected, []) # Messages never opened the conversation + stop, messages = self.run_react([{"ok": False, "error": "ambiguous"}]) + self.assertEqual(stop.result["code"], "ambiguous") + self.assertEqual(messages.pickers, []) - def test_macos27_a_menu_click_that_fails_presses_nothing(self): - with patch.object(react, "macos_major", return_value=27), \ - patch.object(react, "click_picker_item", return_value="no Edit menu"): - stop, messages = self.run_react([]) + def test_macos27_an_uncertain_open_never_chooses_a_tapback(self): + with patch.object(react, "macos_major", return_value=27): + stop, messages = self.run_react([{"ok": False, "error": "timeout"}]) self.assertEqual(stop.result["code"], "no-picker") - self.assertEqual(messages.requests, []) + self.assertEqual(messages.pickers, []) + + def test_the_reacted_label_grammar_measured_on_macos27(self): + for suffix in ("2 reactions, You laughed at this", "Ann loved this", "Ann reacted with \U0001FABF", "1 reaction", + "2 reactions, You laughed at this, Ann loved this"): + self.assertTrue(react.REACTED.fullmatch(suffix), suffix) + for suffix in ("see you tomorrow", "I love this", "I loved this", "2 reactions, and more"): + self.assertFalse(react.REACTED.fullmatch(suffix), suffix) def test_a_renamed_action_without_the_macos27_sign_never_opens_the_picker(self): stop, messages = self.run_react([{"ok": False, "error": "not-offered", "offered": ["Coeur"]}]) @@ -693,5 +692,342 @@ def test_every_sibling_name_imsg_react_uses_exists(self): self.assertEqual(missing, []) +class CustomEmojiTests(unittest.TestCase): + def setUp(self): + self.con = db() + self.con.execute("ALTER TABLE message ADD COLUMN associated_message_emoji TEXT") + add(self.con, 1, "M", "synthetic target", False, T0) + self.target = react.resolve(self.con, imsg, "M", []) + self.ui = FakeUI() + + def tearDown(self): + self.con.close() + + def row(self, emoji, type_=2006, date=None): + return add(self.con, 1, "R" + str(self.con.execute("SELECT COUNT(*) FROM message").fetchone()[0]), + None, True, date or react.apple_now(), associated_message_type=type_, + associated_message_guid="p:0/M", associated_message_emoji=emoji) + + def run_custom(self, emoji, lands=None, type_=2006, remove=False): + calls = [] + def runner(request): + calls.append(request) + if lands is not None: + self.row(lands, type_) + return {"ok": True} + with patch.object(react, "macos_major", return_value=26), \ + patch.object(react, "system_events_consent", return_value=""), \ + patch.object(react, "ROW_WAIT", 0): + result = react.react(self.con, self.target, 6, remove, [], self.ui, run=runner, emoji=emoji, name="rocket") + return result, calls + + def test_add_custom_checks_exact_emoji_and_type(self): + result, calls = self.run_custom("🚀", lands="🚀") + self.assertEqual(result["type"], 2006) + self.assertEqual(len(calls), 1) + self.assertEqual(calls[0]["action"], "🚀") + self.assertEqual(self.ui.restored, ["Previous app"]) + + def test_same_type_different_emoji_is_never_success(self): + with self.assertRaises(react.Stop) as error: + self.run_custom("🚀", lands="🎉") + self.assertEqual(error.exception.result["code"], "unexpected-emoji") + + def test_existing_different_custom_emoji_is_replaced(self): + self.row("🎉", date=T0 + 1) + result, calls = self.run_custom("🚀", lands="🚀") + self.assertEqual(result["result"], "added") + self.assertEqual(len(calls), 1) + + def test_existing_exact_custom_emoji_is_noop(self): + self.row("🚀", date=T0 + 1) + result, calls = self.run_custom("🚀") + self.assertEqual(result["result"], "unchanged") + self.assertEqual(calls, []) + self.assertEqual(self.ui.selected, []) + + def test_custom_remove_does_not_remove_other_emoji_or_classic(self): + self.row("🎉", date=T0 + 1) + result, calls = self.run_custom("🚀", remove=True) + self.assertEqual(result["result"], "unchanged") + self.assertEqual(calls, []) + self.row(None, type_=2001, date=T0 + 2) + result, calls = self.run_custom("👍", remove=True) + self.assertEqual(result["result"], "unchanged") + self.assertEqual(calls, []) + + def test_remove_exact_custom_emoji_requires_removal_receipt(self): + self.row("🚀", date=T0 + 1) + result, calls = self.run_custom("🚀", lands="🚀", type_=3006, remove=True) + self.assertEqual(result["result"], "removed") + self.assertEqual(len(calls), 1) + + def test_no_receipt_never_retries_a_press(self): + with self.assertRaises(react.Stop) as error: + self.run_custom("🚀") + self.assertEqual(error.exception.result["code"], "no-row") + + def test_bounded_input_rejects_prose_multiple_emoji_and_controls(self): + for value in ["", "hello", "日本語", "🚀🚀", "hello🚀", "🚀\n", "🇺", "🏽", "\u200d🚀", "🚀\u200d"]: + with self.subTest(value=value), self.assertRaises(react.Stop): + react.read_emoji(io.StringIO(json.dumps({"emoji": value}))) + for raw in ["[]", "null", "{", "x" * 2049]: + with self.assertRaises(react.Stop): + react.read_emoji(io.StringIO(raw)) + for value in ["👩🏽‍💻", "👨‍👩‍👧‍👦", "🇬🇧", "1️⃣", "❤️"]: + self.assertEqual(react.read_emoji(io.StringIO(json.dumps({"emoji": value})))["emoji"], value) + + def test_whole_unicode_catalogue_validates(self): + catalogue = Path(__file__).resolve().parents[2] / "emoji-catalogue.ts" + entries = [json.loads(line.strip().rstrip(",")) for line in catalogue.read_text().splitlines() + if line.strip().startswith('["')] + self.assertGreater(len(entries), 3900) + for emoji, _, _ in entries: + with self.subTest(emoji=emoji): + self.assertTrue(react.valid_emoji(emoji)) + + +class NativeEmojiPickerTests(unittest.TestCase): + def scene(self, emoji="🪿", recent=False): + def node(role, ident=None, description=None, children=None, **attrs): + return dict(AXRole=role, AXIdentifier=ident, AXDescription=description, + AXChildren=children or [], AXEnabled=True, **attrs) + cell = node("AXButton", emoji) + picker = node("AXGroup", "TapbackPickerCollectionView", children=[cell] if recent else []) + # macOS 27.2 exposes two copies of the selected message in this + # presentation container. Both must agree; duplicates are not a race. + labels = [node("AXGroup", "Sticker", "Message, invented test") for _ in range(2)] + more = node("AXButton", description="Add custom emoji reaction") + container = node("AXGroup", children=[picker, *labels, more]) + search = node("AXTextField", AXSubrole="AXSearchField") + popover = node("AXPopover", children=[search]) + + class FakeAX: + app = node("AXApplication", children=[container]) + front = True + pressed = [] + searched = [] + popover_list = [popover] + after_search = None + fail_press = False + origin_matches = True + def attr(self, el, name): + return el.get(name) + def children(self, el): + return el["AXChildren"] + def walk(self, el, parent=None): + yield el, parent + for child in self.children(el): + yield from self.walk(child, el) + def foreground(self): + return self.front + def origin(self, picker, container): + return "synthetic main window, title and presentation" + def same_origin(self, origin, picker, container): + return self.origin_matches + def pickers(self): + return [(el, parent) for el, parent in self.walk(self.app) + if el.get("AXIdentifier") == "TapbackPickerCollectionView"] + def actions(self, el): + return ["AXPress"] + def press(self, el): + self.pressed.append(el) + return not self.fail_press + def click_glyph(self, el, validate): + if not validate(): + return {"ok": False, "error": "moved"} + self.pressed.append(el) + return {"ok": True} + def popovers(self): + return self.popover_list + def search(self, el, text): + self.searched.append(text) + popover["AXChildren"].append(cell) + if self.after_search: + self.after_search() + return True + ax = FakeAX() + q = dict(emoji=emoji, name="goose", text="invented test", remove=False) + return ax, q, cell, picker, labels, more, popover + + def run_picker(self, ax, q): + return react.native_emoji_picker(q, ax=ax, pause=lambda _: None) + + def test_recent_identity_with_matching_duplicate_target_labels(self): + ax, q, cell, *_ = self.scene(recent=True) + self.assertEqual(self.run_picker(ax, q), {"ok": True}) + self.assertEqual(ax.pressed, [cell]) + + + def test_existing_picker_is_not_toggled_closed(self): + ax, q, cell, *_ = self.scene(recent=True) + def must_not_open(): + raise AssertionError("menu would toggle the existing picker") + self.assertEqual(react.native_emoji_picker(q, ax=ax, pause=lambda _: None, + open_picker=must_not_open), {"ok": True}) + self.assertEqual(ax.pressed, [cell]) + + def test_absent_picker_is_opened_once_then_validated(self): + ax, q, cell, picker, *_ = self.scene(recent=True) + container = ax.app["AXChildren"][0] + container["AXChildren"].remove(picker) + opens = [] + def open_picker(): + opens.append(True) + container["AXChildren"].insert(0, picker) + return "" + self.assertEqual(react.native_emoji_picker(q, ax=ax, pause=lambda _: None, + open_picker=open_picker), {"ok": True}) + self.assertEqual(opens, [True]) + self.assertEqual(ax.pressed, [cell]) + + def test_search_native_popover_then_press_exact_result(self): + ax, q, cell, picker, labels, more, popover = self.scene() + self.assertEqual(self.run_picker(ax, q), {"ok": True}) + self.assertEqual(ax.pressed, [more, cell]) + self.assertEqual(ax.searched, ["goose"]) + + def test_character_palette_glyph_requires_two_exact_sequence_fields(self): + ax, q, cell, picker, labels, more, _ = self.scene() + cell.update(AXRole="AXUnknown", AXIdentifier=None, AXDescription=q["emoji"], AXEnabled=None, + AXChildren=[dict(AXRole="AXStaticText", AXValue=q["emoji"], AXEnabled=True, AXChildren=[])]) + self.assertEqual(self.run_picker(ax, q), {"ok": True}) + self.assertEqual(ax.pressed, [more, cell]) + for change in ("child", "image", "label", "disabled", "child-disabled"): + ax, q, cell, picker, labels, more, _ = self.scene() + child = dict(AXRole="AXStaticText", AXValue=q["emoji"], AXEnabled=True, AXChildren=[]) + cell.update(AXRole="AXUnknown", AXIdentifier=None, AXDescription=q["emoji"], AXEnabled=None, AXChildren=[child]) + if change == "child": + child["AXValue"] = "🦆" + elif change == "image": + child["AXRole"] = "AXImage" + elif change == "label": + cell["AXDescription"] = "goose" + elif change == "disabled": + cell["AXEnabled"] = False + else: + child["AXEnabled"] = False + self.assertEqual(self.run_picker(ax, q)["error"], "emoji-not-offered") + self.assertEqual(ax.pressed, [more]) + + def test_conflicting_target_copy_refuses_before_any_press(self): + ax, q, cell, picker, labels, *_ = self.scene(recent=True) + labels[1]["AXDescription"] = "Message, different test" + self.assertEqual(self.run_picker(ax, q)["error"], "picker-elsewhere") + self.assertFalse(ax.pressed) + + def test_target_or_foreground_change_during_search_refuses(self): + for change in ("target", "focus", "same-text-other-window"): + ax, q, cell, picker, labels, more, _ = self.scene() + def moved(): + if change == "focus": + ax.front = False + elif change == "same-text-other-window": + ax.origin_matches = False + else: + labels[0]["AXDescription"] = "Message, changed test" + ax.after_search = moved + self.assertEqual(self.run_picker(ax, q)["error"], "moved") + self.assertEqual(ax.pressed, [more]) + + def test_remove_never_opens_more(self): + ax, q, *_ = self.scene() + q["remove"] = True + self.assertEqual(self.run_picker(ax, q)["error"], "emoji-not-offered") + self.assertFalse(ax.pressed) + + def test_disabled_duplicate_or_wrong_sequence_never_pressed(self): + for case in ("disabled", "duplicate", "skin", "zwj"): + ax, q, cell, picker, *_ = self.scene(recent=True) + q["remove"] = True + if case == "disabled": + cell["AXEnabled"] = False + elif case == "duplicate": + picker["AXChildren"].append(dict(cell)) + elif case == "skin": + q["emoji"], cell["AXIdentifier"] = "👍🏽", "👍" + else: + q["emoji"], cell["AXIdentifier"] = "👩🏽‍💻", "👩‍💻" + self.assertFalse(self.run_picker(ax, q)["ok"]) + self.assertFalse(ax.pressed) + + def test_multiple_popovers_are_never_searched(self): + ax, q, cell, picker, labels, more, popover = self.scene() + ax.popover_list = [popover, dict(popover)] + self.assertEqual(self.run_picker(ax, q)["error"], "ambiguous-emoji") + self.assertFalse(ax.searched) + self.assertEqual(ax.pressed, [more]) + + def test_failed_final_press_is_uncertain_and_never_retried(self): + ax, q, cell, *_ = self.scene(recent=True) + ax.fail_press = True + self.assertEqual(self.run_picker(ax, q)["error"], "perform-failed") + self.assertEqual(ax.pressed, [cell]) + + +class NativeGlyphClickTests(unittest.TestCase): + def fake(self): + import ctypes as C + class Point(C.Structure): + _fields_ = [("x", C.c_double), ("y", C.c_double)] + ax = react.NativeAX.__new__(react.NativeAX) + ax.C, ax.Point, ax.app, ax.system = C, Point, 1, 2 + ax.check = lambda: None + ax.own = lambda value: value + ax.frame = lambda _: (10, 20, 40, 40) + ax.children = lambda _: [99] + ax.equal = lambda a, b: a == b + def hit(app, x, y, out): + out._obj.value = 99 + return 0 + ax.hit = hit + ax.button_state = lambda *_: False + ax.flags_state = lambda *_: 0 + ax.event = lambda _: 42 + locations = iter([Point(1, 2), Point(30, 40)]) + ax.location = lambda _: next(locations) + ax.mouse_event = lambda source, kind, point, button: kind + posted = [] + ax.post_event = lambda where, event: posted.append(event) + return ax, posted + + def test_one_verified_down_up_and_pointer_restore(self): + ax, posted = self.fake() + self.assertEqual(ax.click_glyph(98, lambda: True), {"ok": True}) + self.assertEqual(posted, [1, 2, 5]) + + def test_no_click_when_target_bounds_hit_or_user_input_changes(self): + for case in ("context", "bounds", "hit", "drag", "modifier"): + ax, posted = self.fake() + if case == "bounds": + frames = iter([(10, 20, 40, 40), (11, 20, 40, 40)]) + ax.frame = lambda _: next(frames) + elif case == "hit": + ax.equal = lambda *_: False + elif case == "drag": + ax.button_state = lambda *_: True + elif case == "modifier": + ax.flags_state = lambda *_: 1 << 20 + self.assertEqual(ax.click_glyph(98, lambda: case != "context")["error"], "moved") + self.assertEqual(posted, []) + + def test_user_pointer_movement_after_click_is_not_overwritten(self): + ax, posted = self.fake() + locations = iter([ax.Point(1, 2), ax.Point(200, 300)]) + ax.location = lambda _: next(locations) + self.assertTrue(ax.click_glyph(98, lambda: True)["ok"]) + self.assertEqual(posted, [1, 2]) + + def test_dispatch_error_is_uncertain_not_an_automatic_retry(self): + ax, posted = self.fake() + def post(where, event): + posted.append(event) + raise RuntimeError("synthetic dispatch error") + ax.post_event = post + self.assertEqual(ax.click_glyph(98, lambda: True)["error"], "perform-failed") + self.assertEqual(posted, [1, 2]) # always release; never a second down + + + if __name__ == "__main__": unittest.main() diff --git a/bridge/mac/test_read_sync.py b/bridge/mac/test_read_sync.py index 1f3f9161..0372803b 100644 --- a/bridge/mac/test_read_sync.py +++ b/bridge/mac/test_read_sync.py @@ -129,7 +129,8 @@ class ReactionReadBoundary(unittest.TestCase): def test_folded_reactions_and_removals_keep_their_activity_timestamp(self): imsg = load_tool('imsg') target = {"ROWID": 1, "guid": "target", "assoc_type": 0, - "date_read": 0, "is_from_me": 1, "orig_guid": None, + "date_read": 0, "is_delivered": 0, "service": "iMessage", + "is_from_me": 1, "orig_guid": None, "style_id": None, "is_audio_message": 0, "balloon_bundle_id": None, "payload_data": None} for kind in [2004, 3004]: @@ -143,6 +144,27 @@ def test_folded_reactions_and_removals_keep_their_activity_timestamp(self): self.assertEqual(len(extras[1].get('tapbacks', [])), 1 if kind == 2004 else 0) +class DeliveryState(unittest.TestCase): + def delivered(self, service, is_delivered=1, is_from_me=1): + imsg = load_tool('imsg') + row = {"ROWID": 1, "guid": "m", "assoc_type": 0, "date_read": 0, + "is_delivered": is_delivered, "service": service, "is_from_me": is_from_me, + "orig_guid": None, "style_id": None, "is_audio_message": 0, + "balloon_bundle_id": None, "payload_data": None} + con = Mock() + con.execute.return_value = [] + with patch.object(imsg, '_has_col', return_value=False), patch.object(imsg, '_chunked_in', return_value=[]): + _, extras = imsg.enrich(con, [row], with_names=False) + return extras[1].get('delivered', False) + + def test_only_own_imessage_and_rcs_report_delivery(self): + self.assertTrue(self.delivered('iMessage')) + self.assertTrue(self.delivered('RCS')) + self.assertFalse(self.delivered('SMS')) + self.assertFalse(self.delivered('iMessage', is_delivered=0)) + self.assertFalse(self.delivered('iMessage', is_from_me=0)) + + class Actions(unittest.TestCase): def setUp(self): self.tool = load_tool('imsg-read') diff --git a/bridge/mac/test_reply.py b/bridge/mac/test_reply.py new file mode 100644 index 00000000..cad581d0 --- /dev/null +++ b/bridge/mac/test_reply.py @@ -0,0 +1,288 @@ +#!/usr/bin/env python3 +"""imsg-reply on a synthetic chat.db with a scripted Messages; never opens Messages.""" +import contextlib +import io +import os +import sqlite3 +import tempfile +import types +import unittest +from importlib.machinery import SourceFileLoader +from importlib.util import module_from_spec, spec_from_loader +from pathlib import Path +from unittest.mock import patch + +_loader = SourceFileLoader("test_reply_tool", str(Path(__file__).with_name("imsg-reply"))) +_spec = spec_from_loader(_loader.name, _loader) +tool = module_from_spec(_spec) +_loader.exec_module(tool) +rx = tool.rx + +SCHEMA = """ +CREATE TABLE chat (ROWID INTEGER PRIMARY KEY, chat_identifier TEXT, style INT); +CREATE TABLE message (ROWID INTEGER PRIMARY KEY, guid TEXT, text TEXT, attributedBody BLOB, is_from_me INT, date INT, + item_type INT DEFAULT 0, associated_message_type INT DEFAULT 0, balloon_bundle_id TEXT, payload_data BLOB, + cache_has_attachments INT DEFAULT 0, thread_originator_guid TEXT, error INT DEFAULT 0); +CREATE TABLE chat_message_join (chat_id INT, message_id INT); +CREATE TABLE chat_recoverable_message_join (chat_id INT, message_id INT); +CREATE TABLE attachment (ROWID INTEGER PRIMARY KEY, mime_type TEXT, transfer_name TEXT, is_sticker INT DEFAULT 0); +CREATE TABLE message_attachment_join (message_id INT, attachment_id INT); +""" +BASE = 800_000_000 * 10**9 +MINUTE = 60 * 10**9 +imsg = types.SimpleNamespace(message_text=lambda r: r["text"], chat_cluster_ids=lambda con, chat: [chat]) + + +class Db: + def __init__(self): + self.con = sqlite3.connect(":memory:") + self.con.row_factory = sqlite3.Row + self.con.executescript(SCHEMA) + self.con.execute("INSERT INTO chat VALUES (1, '+15551234567', 45)") + self.con.execute("INSERT INTO chat VALUES (2, 'group-1', 43)") + self.con.execute("INSERT INTO chat VALUES (3, 'alias@example.com', 45)") + self.n = 0 + + def msg(self, guid, text="", me=1, date=BASE, chat=1, files=(), **extra): + self.n += 1 + cols = {"ROWID": self.n, "guid": guid, "text": text, "is_from_me": me, "date": date, + "cache_has_attachments": int(bool(files)), **extra} + self.con.execute(f"INSERT INTO message ({','.join(cols)}) VALUES ({','.join('?' * len(cols))})", tuple(cols.values())) + self.con.execute("INSERT INTO chat_message_join VALUES (?, ?)", (chat, self.n)) + for mime, name, sticker in files: + cur = self.con.execute("INSERT INTO attachment (mime_type, transfer_name, is_sticker) VALUES (?, ?, ?)", (mime, name, sticker)) + self.con.execute("INSERT INTO message_attachment_join VALUES (?, ?)", (self.n, cur.lastrowid)) + return guid + + +PNG = ("image/png", "a.png", 0) + + +class Targets(unittest.TestCase): + def refused(self, db, guid, code): + with self.assertRaises(rx.Stop) as ctx: + tool.resolve(db.con, imsg, guid, []) + self.assertEqual(ctx.exception.result["code"], code) + + def test_text_and_a_single_picture_are_targets(self): + db = Db() + db.msg("T", "hello") + db.msg("P", "", files=[PNG], date=BASE + MINUTE) + self.assertEqual(tool.resolve(db.con, imsg, "T", [])["text"], "hello") + picture = tool.resolve(db.con, imsg, "P", []) + self.assertEqual((picture["text"], picture["picture"], picture["ordinal"]), (tool.PICTURE_LABEL, True, 0)) + + def test_what_is_unproven_is_refused(self): + db = Db() + db.msg("G", "hi", chat=2) + db.msg("C", "caption", files=[PNG]) + db.msg("M", "", files=[PNG, ("image/jpeg", "b.jpg", 0)], date=BASE + MINUTE) + db.msg("V", "", files=[("video/mp4", "a.mp4", 0)], date=BASE + 2 * MINUTE) + db.msg("S", "", files=[("image/png", "s.png", 1)], date=BASE + 3 * MINUTE) + db.msg("L", "see https://example.com", date=BASE + 4 * MINUTE) + db.msg("A", "card", balloon_bundle_id="x.URLBalloonProvider", date=BASE + 5 * MINUTE) + for guid in "GCMVSLA": + self.refused(db, guid, "unsupported") + self.refused(db, "nope", "no-such-message") + + def test_two_pictures_in_a_minute_are_refused_not_guessed(self): + db = Db() + db.msg("P1", "", files=[PNG], date=BASE) + db.msg("P2", "", files=[PNG], date=BASE + 10**9) + self.refused(db, "P1", "ambiguous") + self.refused(db, "P2", "ambiguous") + + def test_the_other_side_does_not_count_as_a_look_alike(self): + db = Db() + db.msg("P1", "", files=[PNG], date=BASE) + db.msg("P2", "", files=[PNG], date=BASE + 10**9, me=0) + self.assertTrue(tool.resolve(db.con, imsg, "P1", [])["picture"]) + + def test_the_same_minute_on_a_later_day_is_counted_from_the_bottom(self): + db = Db() + db.msg("P1", "", files=[PNG], date=BASE) + db.msg("P2", "", files=[PNG], date=BASE + 86400 * 2 * 10**9) + self.assertEqual(tool.resolve(db.con, imsg, "P1", [])["ordinal"], 1) + + def test_a_self_thread_picture_aims_at_the_sent_row_and_knows_its_echo(self): + db = Db() + db.msg("ECHO", "", files=[PNG], me=0, date=BASE + 10**9) + db.msg("SENT", "", files=[PNG], me=1, date=BASE) + target = tool.resolve(db.con, imsg, "ECHO", ["+15551234567"]) + self.assertTrue(target["from_me"]) + self.assertEqual(set(target["guids"]), {"ECHO", "SENT"}) + + +class Ui: + def __init__(self, select=""): + self.select = select + self.restored = [] + + def ensure_messages(self): return "" + def accessibility(self): return "" + def frontmost(self): return "Terminal" + def select_chat(self, chat): return self.select + def restore_front(self, prev): self.restored.append(prev) + + +class Script: + """Messages as far as the tool can see it. `land` writes the reply row.""" + def __init__(self, db=None, composer=None, send=None, land=None): + self.db, self.composer, self.answer, self.land = db, composer, send, land + self.calls = [] + self.presses = 0 + + def run(self, q): + self.calls.append(q["mode"]) + if q["mode"] == "composer": + return self.composer.pop(0) if self.composer else {"ok": True, "length": 0, "inReply": False} + if q["mode"] == "send": + self.sent = q + if self.land: + self.land() + return self.answer or {"ok": True} + return {"ok": True} + + def perform(self, target, action, deadline=None): + self.presses += 1 + self.action = action + return {"ok": True} + + +def target_of(db, guid): + return tool.resolve(db.con, imsg, guid, []) + + +class Run(unittest.TestCase): + def setUp(self): + p = patch.object(rx, "system_events_consent", return_value="") + p.start() + self.addCleanup(p.stop) + now = patch.object(rx, "apple_now", return_value=BASE) + now.start() + self.addCleanup(now.stop) + + def go(self, db, script, ui=None, guid="T", text="the reply"): + return tool.reply(db.con, imsg, target_of(db, guid), text, ui or Ui(), run=script.run, + perform=script.perform, pause=lambda _: None) + + def land(self, db, orig, text="the reply", chat=1, error=0): + return lambda: db.msg("R", text, date=BASE + 5 * 10**9, chat=chat, thread_originator_guid=orig, error=error) + + def test_sent_when_chat_db_names_the_target(self): + db = Db(); db.msg("T", "hello") + ui = Ui() + s = Script(land=self.land(db, "T")) + self.assertEqual(self.go(db, s, ui)["result"], "sent") + self.assertEqual((s.presses, s.action), (1, "Reply…")) + self.assertEqual(s.sent["body"], "the reply") + self.assertEqual(s.calls[-1], "close") + self.assertEqual(ui.restored, ["Terminal"]) + + def test_a_reply_under_another_address_of_the_same_person_still_counts(self): + db = Db(); db.msg("T", "hello") + self.assertEqual(self.go(db, Script(land=self.land(db, "T", chat=3)))["result"], "sent") + + def test_a_reply_to_a_reply_names_the_start_of_the_thread(self): + db = Db(); db.msg("ROOT", "first"); db.msg("T", "hello", date=BASE + MINUTE, thread_originator_guid="ROOT") + self.assertEqual(self.go(db, Script(land=self.land(db, "ROOT")))["result"], "sent") + + def test_a_draft_stops_the_run_before_anything_is_pressed(self): + db = Db(); db.msg("T", "hello") + s = Script(composer=[{"ok": True, "length": 5, "inReply": False}]) + with self.assertRaises(rx.Stop) as ctx: + self.go(db, s) + self.assertEqual(ctx.exception.result["code"], "draft") + self.assertEqual(ctx.exception.exit_code, tool.EX_TEMPFAIL) + self.assertEqual(s.presses, 0) + self.assertNotIn("send", s.calls) + + def test_a_reply_view_left_open_is_closed_first(self): + db = Db(); db.msg("T", "hello") + s = Script(composer=[{"ok": True, "length": 0, "inReply": True}, {"ok": True, "length": 0, "inReply": False}], + land=self.land(db, "T")) + self.assertEqual(self.go(db, s)["result"], "sent") + self.assertEqual(s.calls[:3], ["composer", "close", "composer"]) + + def test_a_locked_mac_is_said_plainly_and_nothing_is_pressed(self): + db = Db(); db.msg("T", "hello") + s = Script() + with self.assertRaises(rx.Stop) as ctx: + self.go(db, s, Ui(select="the Mac's screen is locked")) + self.assertIn("locked", ctx.exception.why) + self.assertEqual(ctx.exception.exit_code, tool.EX_TEMPFAIL) + self.assertEqual(s.presses, 0) + + def test_nothing_sent_is_a_retryable_failure_and_the_view_closes(self): + for code in tool.NOT_SENT: + db = Db(); db.msg("T", "hello") + s = Script(send={"ok": False, "error": code}) + with self.assertRaises(rx.Stop) as ctx: + self.go(db, s) + self.assertEqual((ctx.exception.result["code"], ctx.exception.exit_code), (code, tool.EX_TEMPFAIL)) + self.assertEqual(s.calls[-1], "close") + + def test_no_row_after_return_is_unconfirmed_and_never_says_resend(self): + db = Db(); db.msg("T", "hello") + s = Script() + with patch.object(tool, "CONFIRM_SECONDS", 0.5), self.assertRaises(rx.Stop) as ctx: + tool.reply(db.con, imsg, target_of(db, "T"), "the reply", Ui(), run=s.run, perform=s.perform, + pause=lambda _: None) + self.assertEqual((ctx.exception.result["code"], ctx.exception.exit_code), ("unconfirmed", tool.EX_UNCONFIRMED)) + + def test_a_script_that_dies_during_send_is_checked_never_retried(self): + db = Db(); db.msg("T", "hello") + s = Script(send={"ok": False, "error": "timeout"}, land=self.land(db, "T")) + self.assertEqual(self.go(db, s)["result"], "sent") + self.assertEqual(s.calls.count("send"), 1) + + def test_a_row_with_the_wrong_thread_or_text_does_not_confirm(self): + db = Db(); db.msg("T", "hello"); db.msg("OTHER", "other", date=BASE + MINUTE) + s = Script(land=self.land(db, "OTHER")) + with patch.object(tool, "CONFIRM_SECONDS", 0.5), self.assertRaises(rx.Stop) as ctx: + tool.reply(db.con, imsg, target_of(db, "T"), "the reply", Ui(), run=s.run, perform=s.perform, pause=lambda _: None) + self.assertEqual(ctx.exception.result["code"], "unconfirmed") + + def test_a_delivery_error_is_reported_without_inviting_a_resend(self): + db = Db(); db.msg("T", "hello") + with self.assertRaises(rx.Stop) as ctx: + self.go(db, Script(land=self.land(db, "T", error=22))) + self.assertEqual((ctx.exception.result["code"], ctx.exception.exit_code), ("failed", tool.EX_UNCONFIRMED)) + + def test_a_bubble_not_found_says_nothing_was_sent(self): + db = Db(); db.msg("T", "hello") + s = Script() + s.perform = lambda target, action, deadline=None: {"ok": False, "error": "not-rendered"} + with self.assertRaises(rx.Stop) as ctx: + self.go(db, s) + self.assertIn("nothing was sent", ctx.exception.why) + self.assertNotIn("send", s.calls) + + +class Text(unittest.TestCase): + def read(self, raw): + return tool.read_text(types.SimpleNamespace(buffer=io.BytesIO(raw))) + + def test_limits(self): + self.assertEqual(self.read(" two\nlines 👍\n".encode()), "two\nlines 👍") + for bad in (b"", b" \n", b"\xff\xfe", b"x" * (tool.MAX_BYTES + 1), b"x" * (tool.MAX_CHARS + 1)): + with self.assertRaises(rx.Stop): + self.read(bad) + + def test_the_log_never_holds_a_guid_or_text(self): + with tempfile.TemporaryDirectory() as d, patch.object(tool, "LOG", os.path.join(d, "reply.log")): + with contextlib.redirect_stdout(io.StringIO()), contextlib.redirect_stderr(io.StringIO()): + tool.emit({"ok": True, "result": "sent", "seconds": 1.2}) + tool.emit(rx.Stop("draft", 75, "a draft")) + log = Path(tool.LOG).read_text() + self.assertIn("sent exit=0 1.2s", log) + self.assertIn("draft exit=75", log) + self.assertNotIn("a draft", log) + + def test_no_guid_no_tool(self): + with contextlib.redirect_stderr(io.StringIO()), contextlib.redirect_stdout(io.StringIO()): + self.assertEqual(tool.main(["--text-stdin"]), tool.EX_USAGE) + + +if __name__ == "__main__": + unittest.main() diff --git a/bridge/mac/test_stickers.py b/bridge/mac/test_stickers.py new file mode 100644 index 00000000..d5f33d32 --- /dev/null +++ b/bridge/mac/test_stickers.py @@ -0,0 +1,261 @@ +#!/usr/bin/env python3 +"""Synthetic sticker rows only. Never opens the user's Messages database.""" +import math +import io +import plistlib +import sqlite3 +import tempfile +import unittest +from importlib.machinery import SourceFileLoader +from importlib.util import module_from_spec, spec_from_loader +from pathlib import Path +from types import SimpleNamespace +from unittest.mock import patch + + +def load_imsg(): + loader = SourceFileLoader("blip_sticker_test", str(Path(__file__).with_name("imsg"))) + module = module_from_spec(spec_from_loader(loader.name, loader)) + loader.exec_module(module) + return module + + +T0 = 800_000_000_000_000_000 + + +class Stickers(unittest.TestCase): + def setUp(self): + self.imsg = load_imsg() + self.con = sqlite3.connect(":memory:") + self.con.row_factory = sqlite3.Row + self.con.executescript(""" + CREATE TABLE message ( + ROWID INTEGER PRIMARY KEY, guid TEXT, date INTEGER, is_from_me INTEGER DEFAULT 0, + handle_id INTEGER DEFAULT 1, text TEXT, attributedBody BLOB, item_type INTEGER DEFAULT 0, + associated_message_type INTEGER DEFAULT 0, associated_message_guid TEXT, + associated_message_emoji TEXT, date_read INTEGER DEFAULT 0, + balloon_bundle_id TEXT, payload_data BLOB, thread_originator_guid TEXT, + expressive_send_style_id TEXT, is_audio_message INTEGER DEFAULT 0); + CREATE TABLE handle (ROWID INTEGER PRIMARY KEY, id TEXT); + CREATE TABLE attachment (ROWID INTEGER PRIMARY KEY, transfer_name TEXT, mime_type TEXT, + uti TEXT, total_bytes INTEGER, is_sticker INTEGER DEFAULT 0, sticker_user_info BLOB, + attribution_info BLOB, emoji_image_short_description TEXT); + CREATE TABLE message_attachment_join (message_id INTEGER, attachment_id INTEGER); + CREATE TABLE chat_recoverable_message_join (message_id INTEGER); + INSERT INTO handle VALUES (1, '+15551234567'); + """) + + def tearDown(self): + self.con.close() + + def message(self, guid, kind=0, target=None, date=T0, emoji=None, mine=False): + cur = self.con.execute("""INSERT INTO message + (guid, date, associated_message_type, associated_message_guid, associated_message_emoji, is_from_me) + VALUES (?, ?, ?, ?, ?, ?)""", (guid, date, kind, target, emoji, mine)) + return cur.lastrowid + + def attachment(self, mid, aid, sticker=True, name="sticker.png", mime="image/png", info=None): + self.con.execute("INSERT INTO attachment VALUES (?, ?, ?, NULL, 128, ?, ?, NULL, NULL)", + (aid, name, mime, sticker, plistlib.dumps(info) if info is not None else None)) + self.con.execute("INSERT INTO message_attachment_join VALUES (?, ?)", (mid, aid)) + + def enrich(self, ids): + marks = ",".join("?" for _ in ids) + rows = list(self.con.execute(f"""SELECT m.*, associated_message_type AS assoc_type, + associated_message_guid AS assoc_guid, thread_originator_guid AS orig_guid, + expressive_send_style_id AS style_id FROM {self.imsg.MESSAGE_SRC} m + WHERE ROWID IN ({marks}) ORDER BY date, ROWID""", ids)) + return self.imsg.enrich(self.con, rows, False) + + def test_standalone_sticker_is_not_a_photo(self): + a, b = self.message("S"), self.message("P") + self.attachment(a, 1) + self.attachment(b, 2, sticker=False) + kept, extra = self.enrich([a, b]) + self.assertEqual(len(kept), 2) + self.assertEqual(extra[a]["attachments"][0]["sticker"]["label"], "Sticker") + self.assertNotIn("sticker", extra[b]["attachments"][0]) + + def test_sticker_without_transfer_name_is_preserved(self): + s = self.message("S") + self.attachment(s, 1, name=None) + self.assertEqual(self.enrich([s])[1][s]["attachments"][0]["name"], "Sticker") + + def test_ordinary_unfinished_and_link_payload_attachments_stay_hidden(self): + m = self.message("M") + self.attachment(m, 1, sticker=False, name=None) + self.attachment(m, 2, sticker=False, name="x.pluginPayloadAttachment") + self.assertNotIn("attachments", self.enrich([m])[1][m]) + + def test_legacy_stickers_fold_additively_onto_parent_even_outside_window(self): + parent = self.message("P") + one = self.message("S1", 1000, "p:0/P", T0 + 1_000_000_000) + two = self.message("S2", 1000, "p:0/P", T0 + 2_000_000_000) + self.attachment(one, 1) + self.attachment(two, 2) + for window in ([parent], [parent, one, two]): + kept, extra = self.enrich(window) + self.assertEqual([r["ROWID"] for r in kept], [parent]) + self.assertEqual([s["attachment"]["id"] for s in extra[parent]["stickers"]], ["1", "2"]) + self.assertTrue(all(not s.get("reaction") for s in extra[parent]["stickers"])) + self.assertEqual(extra[parent]["activity_ts"], self.imsg.fmt_ts(T0 + 2_000_000_000)) + + def test_sticker_tapback_never_becomes_star_and_can_be_removed(self): + parent = self.message("P") + sticker = self.message("S", 2007, "p:0/P", T0 + 1_000_000_000) + self.attachment(sticker, 1) + kept, extra = self.enrich([parent, sticker]) + self.assertEqual(len(kept), 1) + self.assertNotIn("tapbacks", extra[parent]) + self.assertEqual(len(extra[parent]["stickers"]), 1) + self.assertIs(extra[parent]["stickers"][0]["reaction"], True) + self.message("R", 3007, "p:0/P", T0 + 2_000_000_000) + extra = self.enrich([parent, sticker])[1] + self.assertNotIn("stickers", extra[parent]) + self.assertEqual(extra[parent]["activity_ts"], self.imsg.fmt_ts(T0 + 2_000_000_000)) + + def test_emoji_replaces_sticker_slot_but_not_legacy_decorations(self): + p = self.message("P") + legacy = self.message("L", 1000, "p:0/P") + modern = self.message("S", 2007, "p:0/P") + self.attachment(legacy, 1) + self.attachment(modern, 2) + self.message("E", 2006, "p:0/P", T0 + 1_000_000_000, emoji="👍") + extra = self.enrich([p])[1][p] + self.assertEqual([s["guid"] for s in extra["stickers"]], ["L"]) + self.assertEqual(extra["tapbacks"][0]["kind"], "emoji") + self.assertEqual(extra["tapbacks"][0]["emoji"], "👍") + + def test_body_parts_keep_separate_reaction_slots(self): + p = self.message("P") + s = self.message("S", 2007, "p:2/P") + self.attachment(s, 1) + self.message("E", 2001, "p:0/P", T0 + 1_000_000_000) + extra = self.enrich([p])[1][p] + self.assertEqual(extra["stickers"][0]["part"], 2) + self.assertEqual(extra["tapbacks"][0]["emoji"], "👍") + + def test_same_timestamp_later_rowid_wins(self): + p = self.message("P") + s = self.message("S", 2007, "p:0/P") + self.attachment(s, 1) + self.message("R", 3007, "p:0/P") + self.assertNotIn("stickers", self.enrich([p])[1][p]) + + def test_orphan_sticker_stays_visible_until_removed(self): + self.message("P") + s = self.message("S", 2007, "p:0/P") + self.attachment(s, 1) + kept, extra = self.enrich([s]) + self.assertEqual([r["ROWID"] for r in kept], [s]) + self.assertIn("sticker", extra[s]["attachments"][0]) + self.message("R", 3007, "p:0/P", T0 + 1_000_000_000) + self.assertEqual(self.enrich([s])[0], []) + + def test_legacy_orphan_is_retained(self): + s = self.message("S", 1000, "p:0/missing") + self.attachment(s, 1, sticker=False) # association works on older schemas + kept, extra = self.enrich([s]) + self.assertEqual(len(kept), 1) + self.assertIn("sticker", extra[s]["attachments"][0]) + + def test_missing_sticker_media_gets_an_explicit_placeholder(self): + p = self.message("P") + self.message("S", 2007, "p:0/P") + overlay = self.enrich([p])[1][p]["stickers"][0] + self.assertEqual(overlay["attachment"]["id"], "") + self.assertEqual(overlay["attachment"]["sticker"]["label"], "Sticker") + + def test_orphan_missing_media_still_has_a_labeled_attachment(self): + s = self.message("S", 2007, "p:0/missing") + self.assertEqual(self.enrich([s])[1][s]["attachments"][0]["sticker"]["label"], "Sticker") + + def test_nested_sticker_survives_on_root_without_wrong_coordinates(self): + p = self.message("P") + one = self.message("S1", 1000, "p:0/P") + two = self.message("S2", 1000, "p:0/S1", T0 + 1_000_000_000) + geometry = {"sxs": "0.5", "sys": "0.5", "ssa": "1", "sro": "0"} + self.attachment(one, 1, info=geometry) + self.attachment(two, 2, info=geometry) + kept, extra = self.enrich([p, one, two]) + self.assertEqual([r["ROWID"] for r in kept], [p]) + self.assertEqual(len(extra[p]["stickers"]), 2) + nested = next(s for s in extra[p]["stickers"] if s["guid"] == "S2") + self.assertNotIn("placement", nested) + self.assertNotIn("placement", nested["attachment"]["sticker"]) + + def test_cyclic_sticker_association_keeps_one_visible_row(self): + one = self.message("S1", 1000, "p:0/S2") + two = self.message("S2", 1000, "p:0/S1") + self.attachment(one, 1) + self.attachment(two, 2) + kept, extra = self.enrich([one, two]) + self.assertTrue(kept) + self.assertEqual(len(extra[kept[0]["ROWID"]]["attachments"]), 1) + + def test_deleted_sticker_does_not_reappear(self): + p = self.message("P") + s = self.message("S", 1000, "p:0/P") + self.attachment(s, 1) + self.con.execute("INSERT INTO chat_recoverable_message_join VALUES (?)", (s,)) + self.assertNotIn("stickers", self.enrich([p])[1][p]) + + def test_schema_without_sticker_columns_still_reads_ordinary_images(self): + self.con.execute("DROP TABLE attachment") + self.con.execute("CREATE TABLE attachment (ROWID INTEGER PRIMARY KEY, transfer_name TEXT, mime_type TEXT, total_bytes INTEGER)") + p = self.message("P") + self.con.execute("INSERT INTO attachment VALUES (1, 'image.png', 'image/png', 10)") + self.con.execute("INSERT INTO message_attachment_join VALUES (?, 1)", (p,)) + self.assertEqual(self.enrich([p])[1][p]["attachments"], [{"id": "1", "name": "image.png", "mime": "image/png", "bytes": 10}]) + + def test_geometry_and_accessible_label_are_bounded_and_typed(self): + info = {"sxs": "0.75", "sys": "0.1", "ssa": "1.2", "sro": "-0.4", "spw": "164", + "pid": "extension:team:com.apple.messages.genmoji", "untrusted": "not forwarded"} + r = {"is_sticker": 1, "mime": "image/heic", "sticker_user_info": plistlib.dumps(info), + "emoji_description": "Smile\x00", "attribution_info": None} + m = self.imsg.sticker_metadata(r) + self.assertEqual(m["placement"], {"x": .75, "y": .1, "scale": 1.2, "rotation": -.4, "parentWidth": 164}) + self.assertEqual((m["label"], m["source"]), ("Smile", "genmoji")) + self.assertNotIn("untrusted", m) + for bad in ["nan", "inf", "1e999", -100, True]: + r["sticker_user_info"] = plistlib.dumps({**info, "sxs": bad}) + self.assertNotIn("placement", self.imsg.sticker_metadata(r)) + + def test_bad_plists_never_take_down_thread(self): + for bad in [None, b"garbage", b"", + b"&unknown;", b"x" * 65537, plistlib.dumps([1, 2])]: + self.assertEqual(self.imsg._small_plist_dict(bad), {}) + self.assertEqual(self.imsg.sticker_metadata({"is_sticker": 1, "sticker_user_info": bad})["source"], "unknown") + + def test_png_conversion_flag_is_exclusive_with_jpeg(self): + args = self.imsg.build_parser().parse_args(["attachment", "42", "--png"]) + self.assertTrue(args.png) + self.assertFalse(args.jpeg) + + def test_attachment_png_conversion_preserves_stream_and_cleans_temp(self): + m = self.message("S") + self.attachment(m, 1, name=None, mime="image/heic") + self.con.execute("ALTER TABLE attachment ADD COLUMN filename TEXT") + with tempfile.TemporaryDirectory(prefix="blip-sticker-test-") as directory: + source = Path(directory) / "source.heic" + source.write_bytes(b"synthetic heic input") + self.con.execute("UPDATE attachment SET filename=? WHERE ROWID=1", (str(source),)) + output, temporary = io.BytesIO(), [] + + def convert(argv, **kwargs): + self.assertEqual(argv[:4], ["sips", "-s", "format", "png"]) + temporary.append(argv[-1]) + Path(argv[-1]).write_bytes(b"\x89PNG\r\n\x1a\nsynthetic output") + return SimpleNamespace(returncode=0, stderr=b"") + + with patch.object(self.imsg, "ATTACHMENTS_ROOT", directory), \ + patch("subprocess.run", side_effect=convert), \ + patch.object(self.imsg.sys, "stdout", SimpleNamespace(buffer=output)): + self.imsg.cmd_attachment(self.con, SimpleNamespace(id="1", png=True, jpeg=False, max_dim=0)) + self.assertEqual(output.getvalue(), b"\x89PNG\r\n\x1a\nsynthetic output") + self.assertTrue(temporary) + self.assertFalse(Path(temporary[0]).exists()) + + +if __name__ == "__main__": + unittest.main() diff --git a/collector.ts b/collector.ts index 438f75af..57d4345c 100644 --- a/collector.ts +++ b/collector.ts @@ -25,6 +25,7 @@ import { spawn, spawnSync } from "node:child_process"; import { createHash } from "node:crypto"; import { appendFileSync, chmodSync, lstatSync, mkdirSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs"; import { dirname, join } from "node:path"; +import { mergeStickers, type StickerOverlay } from "./stickers"; import { parseReadSnapshot, parseReadIntents, queueReadIntent, retryReadIntent, reconcileReadIntents, type ReadSnapshot, type ReadIntents } from "./read-sync"; @@ -47,10 +48,10 @@ export const POLL_WINDOW = 150; export const DEEP_WINDOW = 500; /** One reaction folded onto its target message (imsg --rich). */ -export interface Tapback { emoji: string; from_me: boolean; by: string | null } +export interface Tapback { emoji: string; from_me: boolean; by: string | null; kind?: "classic" | "emoji" | "sticker" } /** Attachment metadata only — the file itself stays on the Mac until * fetch.ts pulls it by `id` (attachment ROWID as a string: 64-bit safe). */ -export interface AttachmentMeta { id?: string; name: string; mime: string | null; bytes: number | null } +export interface AttachmentMeta { id?: string; name: string; mime: string | null; bytes: number | null; sticker?: import("./stickers").StickerMetadata } export interface ImsgMessage { /** Stable chat.db message ROWID, supplied by bridges that expose it. */ @@ -88,9 +89,12 @@ export interface ImsgMessage { scheduled?: boolean | null; // ---- imsg --rich extras (claude-on-mac ≥ 1.5.0); absent on plain fetches read_at?: string | null; + /** An own iMessage or RCS the recipient's device has acknowledged. */ + delivered?: boolean | null; tapbacks?: Tapback[] | null; attachments?: AttachmentMeta[] | null; - reply_to?: { text: string; from_me: boolean } | null; + stickers?: import("./stickers").StickerOverlay[] | null; + reply_to?: { text: string; from_me: boolean; attachment?: AttachmentMeta | null } | null; edited?: boolean | null; retracted?: boolean | null; effect?: string | null; @@ -416,11 +420,12 @@ export function prettyHandle(id: string): string { /** Never expose Messages' U+FFFC attachment marker as a dotted OBJ glyph. */ export function messagePreview( text: unknown, - attachment?: { name?: unknown; mime?: unknown } | null, + attachment?: { name?: unknown; mime?: unknown; sticker?: unknown } | null, ): string { const cleaned = String(text ?? "").replace(/\uFFFC/g, "").trim(); if (cleaned) return cleaned; if (!attachment) return ""; + if (attachment.sticker === true || (attachment.sticker && typeof attachment.sticker === "object")) return "Sticker"; const mime = String(attachment.mime ?? "").toLowerCase(); const name = String(attachment.name ?? "").toLowerCase(); if (mime.startsWith("image/") || /\.(?:avif|gif|heic|heif|jpe?g|png|webp)$/.test(name)) return "Photo"; @@ -490,6 +495,11 @@ export function mergeTapbacks(a?: Tapback[] | null, b?: Tapback[] | null): Tapba }); } +function sentReceipt(a: Pick | undefined, b: ImsgMessage): Pick { + const read_at = a?.read_at ?? b.read_at; + return { ...(a?.delivered || b.delivered ? { delivered: true } : {}), ...(read_at ? { read_at } : {}) }; +} + export function dedupeSelfEcho(msgs: ImsgMessage[], knownSelfChats: string[] = []): ImsgMessage[] { const contextKey = (m: ImsgMessage) => `${chatKey(m)}\u0000${m.handle || ""}\u0000${m.ts}`; const contentKey = (m: ImsgMessage) => `${contextKey(m)}\u0000${m.text}`; @@ -503,10 +513,18 @@ export function dedupeSelfEcho(msgs: ImsgMessage[], knownSelfChats: string[] = [ // is dropped below hands its tapbacks to the row that stays, so a reaction // on your own note is seen no matter which twin carried it. const emptySentTapbacks = new Map(); + const emptySentStickers = new Map(); + const emptySentActivity = new Map(); + // Delivery and read state live only on the sent row, so the row that stays + // takes them too, or a self-thread could never show its status line. + const emptySentReceipt = new Map>(); for (const m of msgs) { if (selfChats.has(chatKey(m)) && m.from_me && m.text === "") { const k = contextKey(m); emptySentTapbacks.set(k, mergeTapbacks(emptySentTapbacks.get(k), m.tapbacks)); + emptySentStickers.set(k, mergeStickers(emptySentStickers.get(k), m.stickers)); + if (m.activity_ts && m.activity_ts > (emptySentActivity.get(k) ?? "")) emptySentActivity.set(k, m.activity_ts); + emptySentReceipt.set(k, sentReceipt(emptySentReceipt.get(k), m)); } } const retractedSent = new Set( @@ -536,14 +554,20 @@ export function dedupeSelfEcho(msgs: ImsgMessage[], knownSelfChats: string[] = [ const idx = selfText.get(key); if (idx !== undefined && out[idx]!.from_me !== m.from_me) { const kept = out[idx]!; - out[idx] = { ...kept, from_me: kept.from_me || m.from_me, tapbacks: mergeTapbacks(kept.tapbacks, m.tapbacks) }; + const stickers = mergeStickers(kept.stickers, m.stickers); + const activity = [kept.activity_ts ?? "", m.activity_ts ?? ""].sort().at(-1); + out[idx] = { ...kept, from_me: kept.from_me || m.from_me, tapbacks: mergeTapbacks(kept.tapbacks, m.tapbacks), + ...sentReceipt(kept, m), ...(stickers ? { stickers } : {}), ...(activity ? { activity_ts: activity } : {}) }; continue; } selfText.set(key, out.length); } if (emptySent.has(context) && !m.from_me) { - out.push({ ...m, from_me: true, tapbacks: mergeTapbacks(m.tapbacks, emptySentTapbacks.get(context)) }); + const stickers = mergeStickers(m.stickers, emptySentStickers.get(context)); + const activity = [m.activity_ts ?? "", emptySentActivity.get(context) ?? ""].sort().at(-1); + out.push({ ...m, from_me: true, tapbacks: mergeTapbacks(m.tapbacks, emptySentTapbacks.get(context)), + ...emptySentReceipt.get(context), ...(stickers ? { stickers } : {}), ...(activity ? { activity_ts: activity } : {}) }); continue; } out.push(m); @@ -1927,7 +1951,7 @@ export interface ChatInfo { /** Mirrored from Messages' pinning preferences; absent on old bridges. */ pinned: boolean; pin_order: number | null; - last_attachment?: { name: string; mime: string } | null; + last_attachment?: { name: string; mime: string; sticker?: boolean } | null; pin_name: string | null; muted: boolean; } @@ -1985,14 +2009,15 @@ export function fetchChats(runner = spawnSync): ChatInfo[] | null { last_text: messagePreview( r.last_text, r.last_attachment && typeof r.last_attachment === "object" - ? { name: r.last_attachment.name, mime: r.last_attachment.mime } + ? { name: r.last_attachment.name, mime: r.last_attachment.mime, sticker: r.last_attachment.sticker === true } : null, ), last_from_me: r.last_from_me === true, last_handle: String(r.last_handle ?? ""), last_name: typeof r.last_name === "string" ? r.last_name : null, last_attachment: r.last_attachment && typeof r.last_attachment === "object" - ? { name: String(r.last_attachment.name ?? ""), mime: String(r.last_attachment.mime ?? "") } + ? { name: String(r.last_attachment.name ?? ""), mime: String(r.last_attachment.mime ?? ""), + ...(r.last_attachment.sticker === true ? { sticker: true } : {}) } : null, pinned: r.pinned === true || boundedPinOrder !== null, pin_order: boundedPinOrder, diff --git a/conversation-appearance.test.ts b/conversation-appearance.test.ts new file mode 100644 index 00000000..f67031ae --- /dev/null +++ b/conversation-appearance.test.ts @@ -0,0 +1,23 @@ +import { expect, test } from "bun:test"; +import { conversationInitials, conversationName, pinnedName } from "./conversation-appearance"; +test("header uses resolved names and never substitutes phone or email identifiers", () => { + expect(conversationName({ name: "Jamie Rivera", chat: "+15551234567" })).toBe("Jamie Rivera"); + for (const name of ["", "+15551234567", "+1 (555) 123-4567", "person@example.com"]) { + expect(conversationName({ name, chat: "+15551234567" })).toBe("Conversation"); + expect(conversationInitials({ name, chat: "+15551234567" })).toBe("?"); + } + expect(conversationName({name:"chat1234", chat:"chat1234"})).toBe("Conversation"); + expect(conversationName({name:"Trail Crew", chat:"chat1234"})).toBe("Trail Crew"); + expect(conversationInitials({name:"Jamie Rivera"})).toBe("JR"); + expect(conversationInitials(null)).toBe("?"); + expect(conversationInitials({name:"🚀 Rocket"})).toBe("🚀R"); +}); + +test("favorite captions fit the grid without losing group or ambiguous names", () => { + const jamie = {name:"Jamie Rivera"}; + expect(pinnedName(jamie, [jamie, {name:"Alex Chen"}])).toBe("Jamie"); + expect(pinnedName(jamie, [jamie, {name:"Jamie Smith"}])).toBe("Jamie R."); + expect(pinnedName({name:"Trail Crew"}, [], true)).toBe("Trail Crew"); + expect(pinnedName({name:"Priya"})).toBe("Priya"); + expect(pinnedName({name:"+15551234567"})).toBe("Conversation"); +}); diff --git a/conversation-appearance.ts b/conversation-appearance.ts new file mode 100644 index 00000000..b5f45a69 --- /dev/null +++ b/conversation-appearance.ts @@ -0,0 +1,24 @@ +// Rebuild QML module: bun build conversation-appearance.ts --target browser --format esm --outfile ConversationAppearance.mjs +export function conversationName(thread: { name?: unknown; chat?: unknown; handle?: unknown } | null): string { + if (!thread) return "Select a conversation"; + const name = typeof thread.name === "string" ? thread.name.trim() : ""; + if (!name || name === thread.chat || name === thread.handle || /^[+\d\s().-]+$/.test(name) || /^[^\s@]+@[^\s@]+$/.test(name)) return "Conversation"; + return name; +} +export function conversationInitials(thread: { name?: unknown; chat?: unknown; handle?: unknown } | null): string { + const name = conversationName(thread); + if (name === "Conversation" || !thread) return "?"; + return name.split(/\s+/).slice(0, 2).map(word => word.slice(0, (word.codePointAt(0) || 0) > 0xffff ? 2 : 1)).join("").toUpperCase(); +} + +/** Compact favorite captions retain full names elsewhere, disambiguating first names. */ +export function pinnedName(thread: { name?: unknown; chat?: unknown; handle?: unknown }, peers: Array<{ name?: unknown }> = [], group = false): string { + const name = conversationName(thread); + if (group || name === "Conversation") return name; + const words = name.split(/\s+/); + if (words.length === 1) return name; + const first = words[0]; + const duplicate = peers.filter(peer => typeof peer.name === "string" && peer.name.trim().split(/\s+/)[0].toLocaleLowerCase() === first.toLocaleLowerCase()).length > 1; + const last = words[words.length - 1]; + return duplicate ? first + " " + last.slice(0, (last.codePointAt(0) || 0) > 0xffff ? 2 : 1).toUpperCase() + "." : first; +} diff --git a/conversation-background.test.ts b/conversation-background.test.ts new file mode 100644 index 00000000..58808fad --- /dev/null +++ b/conversation-background.test.ts @@ -0,0 +1,143 @@ +import { dlopen, FFIType } from "bun:ffi"; +import { afterEach, expect, test } from "bun:test"; +import { closeSync, openSync, mkdtempSync, mkdirSync, readFileSync, readdirSync, rmSync, symlinkSync, writeFileSync, statSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { spawnSync } from "node:child_process"; +import { chooseBackground, backgroundConfig, backgroundName, backgroundPaths, loadBackground, normalizeBackground, rasterType, saveBackground } from "./conversation-background"; + +const homes: string[] = []; +function setup() { + const home = mkdtempSync(join(tmpdir(), "blip-background-test-")); homes.push(home); + const paths = backgroundPaths(home); + mkdirSync(join(home, ".config/blip"), { recursive: true, mode: 0o700 }); + writeFileSync(paths.config, "# keep me\nhost=demo\ntapbacks=on\n", { mode: 0o600 }); + return { home, paths }; +} +afterEach(() => { for (const home of homes.splice(0)) rmSync(home, { recursive: true, force: true }); }); +const tinyPng = Buffer.from("iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+jjuQAAAAASUVORK5CYII=", "base64"); +const digest = "a".repeat(64) + ".png"; +test("one bridge.conf preference preserves unrelated configuration and collapses duplicates", () => { + const original = "# kept\nhost=demo\nconversation_background=old\ntapbacks=on\n conversation_background=other\n"; + expect(backgroundConfig(original, digest)).toBe(`# kept\nhost=demo\ntapbacks=on\nconversation_background=${digest}\n`); + expect(backgroundName(backgroundConfig(original, digest))).toBe(digest); + expect(backgroundConfig(original, "")).toBe("# kept\nhost=demo\ntapbacks=on\n"); +}); +test("remote URLs, traversal and shell text can never become background sources", () => { + for (const value of ["https://example.com/a.png", "file:///etc/passwd", "../a.png", "$(whoami)", "/tmp/a.png", "a.png"]) { + expect(() => backgroundName(`conversation_background=${value}`)).toThrow(); + expect(() => backgroundConfig("", value)).toThrow(); + } +}); +test("magic validation refuses SVG, HTML, PDFs and renamed non-images", () => { + for (const bytes of [Buffer.from(""), Buffer.from(""), Buffer.from("%PDF-1.4"), Buffer.from("not a png")]) + expect(() => rasterType(bytes)).toThrow(); + expect(rasterType(tinyPng)).toBe("png"); +}); +test("huge declared dimensions are rejected before decoding", () => { + const bytes = Buffer.from(tinyPng); bytes.writeUInt32BE(12001, 16); + expect(() => normalizeBackground(bytes)).toThrow("dimensions"); +}); +test("absent preference loads without creating files", () => { + const { paths } = setup(); expect(loadBackground(paths)).toBe(""); +}); +test("source symlinks and non-local paths are refused without changing config", () => { + const { home, paths } = setup(); const source = join(home, "image.png"); + writeFileSync(source, tinyPng); symlinkSync(source, join(home, "link.png")); + const original = readFileSync(paths.config, "utf8"); + expect(() => saveBackground(join(home, "link.png"), paths)).toThrow(); + expect(() => saveBackground("https://example.com/image.png", paths)).toThrow(); + expect(readFileSync(paths.config, "utf8")).toBe(original); +}); +test("configuration symlinks cannot overwrite their targets", () => { + const { home, paths } = setup(); const target = join(home, "other"); + writeFileSync(target, "untouched"); rmSync(paths.config); symlinkSync(target, paths.config); + expect(() => saveBackground(null, paths)).toThrow(); + expect(readFileSync(target, "utf8")).toBe("untouched"); +}); +test("local raster round trip copies privately, persists, detects tampering and resets", () => { + const { home, paths } = setup(); + const source = join(home, "image.png"); + let r = spawnSync("magick", ["-size", "24x16", "xc:#72829a", "png:-"]); + if ((r.error as NodeJS.ErrnoException | undefined)?.code === "ENOENT") r = spawnSync("convert", ["-size", "24x16", "xc:#72829a", "png:-"]); + expect(r.status).toBe(0); writeFileSync(source, r.stdout); + const url = saveBackground(source, paths); + expect(url.startsWith("file://")).toBe(true); + expect(loadBackground(paths)).toBe(url); + const stored = new URL(url); expect(statSync(stored).mode & 0o777).toBe(0o600); + const png = readFileSync(stored); + const chunks: string[] = []; + for (let offset = 8; offset + 12 <= png.length;) { + chunks.push(png.toString("ascii", offset + 4, offset + 8)); + offset += 12 + png.readUInt32BE(offset); + } + for (const metadata of ["tIME", "orNT", "eXIf", "tEXt", "iTXt", "zTXt"]) expect(chunks).not.toContain(metadata); + expect(statSync(paths.assets).mode & 0o777).toBe(0o700); + expect(readFileSync(paths.config, "utf8")).toContain("tapbacks=on"); + writeFileSync(stored, tinyPng); + expect(() => loadBackground(paths)).toThrow("changed"); + expect(saveBackground(null, paths)).toBe(""); + expect(loadBackground(paths)).toBe(""); + expect(readFileSync(paths.config, "utf8")).toBe("# keep me\nhost=demo\ntapbacks=on\n"); +}); + +test("cancelled picker changes no files or preference", () => { + const { paths } = setup(); + const original = readFileSync(paths.config, "utf8"); + const result = chooseBackground(paths, (() => ({ status: 1, stdout: "" })) as any); + expect(result).toEqual({ ok: true, cancelled: true }); + expect(readFileSync(paths.config, "utf8")).toBe(original); +}); + +test("conversation overrides use opaque keys and preserve default and other conversations", () => { + const a = "+15551234567", b = "other@example.com"; + let config = backgroundConfig("host=demo\n", digest); + const alternate = "b".repeat(64) + ".png"; + config = backgroundConfig(config, alternate, a); + expect(config).not.toContain(a); + expect(backgroundName(config)).toBe(digest); + expect(backgroundName(config, a)).toBe(alternate); + expect(backgroundName(config, b)).toBe(digest); + const cleared = backgroundConfig(config, "", a); + expect(backgroundName(cleared, a)).toBe(digest); + expect(cleared).toBe(backgroundConfig("host=demo\n", digest)); +}); + +test("clearing one shared override cannot remove the default asset", () => { + const { home, paths } = setup(); + const source = join(home, "shared.png"); + let result = spawnSync("magick", ["-size", "16x16", "xc:#abcdef", "png:-"]); + if ((result.error as NodeJS.ErrnoException | undefined)?.code === "ENOENT") result = spawnSync("convert", ["-size", "16x16", "xc:#abcdef", "png:-"]); + expect(result.status).toBe(0); writeFileSync(source, result.stdout); + const url = saveBackground(source, paths); + expect(saveBackground(source, paths, "+15551234567")).toBe(url); + expect(saveBackground(null, paths, "+15551234567")).toBe(url); + expect(loadBackground(paths)).toBe(url); + expect(loadBackground(paths, "+15551234567")).toBe(url); +}); + +test("concurrent settings write reports a conflict and leaves config unchanged", () => { + const { paths } = setup(); + const native = dlopen("libc.so.6", { flock: { args: [FFIType.i32, FFIType.i32], returns: FFIType.i32 } }); + const fd = openSync(paths.config + ".background.lock", "w", 0o600); + const original = readFileSync(paths.config, "utf8"); + try { + expect(native.symbols.flock(fd, 6)).toBe(0); + expect(() => saveBackground(null, paths)).toThrow("Another window"); + expect(readFileSync(paths.config, "utf8")).toBe(original); + } finally { native.symbols.flock(fd, 8); closeSync(fd); native.close(); } + expect(saveBackground(null, paths)).toBe(""); +}); + +test("oversized resulting configuration is refused and the imported orphan removed", () => { + const { home, paths } = setup(); + const original = "#" + "x".repeat(65490) + "\n"; + writeFileSync(paths.config, original); + const source = join(home, "large-config-image.png"); + let result = spawnSync("magick", ["-size", "8x8", "xc:#123456", "png:-"]); + if ((result.error as NodeJS.ErrnoException | undefined)?.code === "ENOENT") result = spawnSync("convert", ["-size", "8x8", "xc:#123456", "png:-"]); + expect(result.status).toBe(0); writeFileSync(source, result.stdout); + expect(() => saveBackground(source, paths)).toThrow("Too many conversation backgrounds"); + expect(readFileSync(paths.config, "utf8")).toBe(original); + expect(readdirSync(paths.assets)).toEqual([]); +}); diff --git a/conversation-background.ts b/conversation-background.ts new file mode 100644 index 00000000..aa88d621 --- /dev/null +++ b/conversation-background.ts @@ -0,0 +1,209 @@ +#!/usr/bin/env bun +/** Explicit local appearance preference, stored in bridge.conf. No bridge or + * conversation text enters this helper. Picked raster bytes are decoded, + * resized and stripped before the private copy is shown by QML. */ +import { spawnSync } from "node:child_process"; +import { dlopen, FFIType } from "bun:ffi"; +import { createHash, randomUUID } from "node:crypto"; +import { closeSync, constants, fstatSync, fsyncSync, lstatSync, mkdirSync, openSync, readSync, renameSync, unlinkSync, writeFileSync } from "node:fs"; +import { homedir } from "node:os"; +import { dirname, isAbsolute, join } from "node:path"; +import { pathToFileURL } from "node:url"; +import { imageMetrics } from "./fetch"; + +export const MAX_BACKGROUND_BYTES = 20 * 1024 * 1024; +const KEY_PREFIX = "conversation_background"; +const SAFE_NAME = /^[a-f0-9]{64}\.png$/; +const CONTROL = /[\x00-\x1f\x7f]/; +export interface BackgroundPaths { config: string; assets: string } +export function backgroundPaths(home = homedir()): BackgroundPaths { + return { config: join(home, ".config/blip/bridge.conf"), assets: join(home, ".local/state/blip/backgrounds") }; +} +function privateDirectory(path: string): void { + mkdirSync(path, { recursive: true, mode: 0o700 }); + const st = lstatSync(path); + if (!st.isDirectory() || st.isSymbolicLink() || st.uid !== process.getuid!() || (st.mode & 0o022)) + throw new Error("Background storage must be a directory you own"); +} +function readLocal(path: string, max: number, owned = false): Buffer { + if (!isAbsolute(path) || path.length > 4096 || CONTROL.test(path)) throw new Error("Choose a local image file"); + const fd = openSync(path, constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK); + try { + const st = fstatSync(fd); + if (!st.isFile() || st.size > max || (owned && (st.uid !== process.getuid!() || (st.mode & 0o022)))) + throw new Error("Image or configuration file is not safe to read"); + const buffer = Buffer.alloc(Math.min(st.size + 1, max + 1)); + let offset = 0; + while (offset < buffer.length) { + const count = readSync(fd, buffer, offset, buffer.length - offset, null); + if (!count) break; + offset += count; + } + if (offset > st.size || offset > max) throw new Error("Image changed while reading; choose it again"); + return buffer.subarray(0, offset); + } finally { closeSync(fd); } +} +function readConfig(paths: BackgroundPaths): string { + try { return readLocal(paths.config, 65536, true).toString("utf8"); } + catch (e: any) { if (e.code === "ENOENT") return ""; throw e; } +} +export function backgroundKey(chat = ""): string { + if (typeof chat !== "string" || chat.length > 320 || CONTROL.test(chat)) throw new Error("Invalid conversation"); + return KEY_PREFIX + (chat ? "_" + createHash("sha256").update(chat).digest("hex") : ""); +} +function directName(config: string, chat = ""): string | undefined { + const key = backgroundKey(chat); + const matches = [...config.matchAll(new RegExp("^[ \\t]*" + key + "[ \\t]*=[ \\t]*(.*?)[ \\t]*$", "gm"))]; + if (!matches.length) return undefined; + const value = matches[matches.length - 1]![1]!; + if (value === "") return ""; + if (!SAFE_NAME.test(value)) throw new Error("Saved background is invalid; choose another local image"); + return value; +} +export function backgroundName(config: string, chat = ""): string { + return directName(config, chat) ?? (chat ? directName(config) : undefined) ?? ""; +} +export function backgroundConfig(config: string, name: string, chat = ""): string { + if (name !== "" && !SAFE_NAME.test(name)) throw new Error("Invalid background name"); + const key = backgroundKey(chat); + const clean = config.replace(new RegExp("^[ \\t]*" + key + "[ \\t]*=.*(?:\\r?\\n|$)", "gm"), ""); + return clean + (clean && !clean.endsWith("\n") ? "\n" : "") + (name ? `${key}=${name}\n` : ""); +} +function referencedBackgrounds(config: string): Set { + return new Set([...config.matchAll(/^[ \t]*conversation_background(?:_[a-f0-9]{64})?[ \t]*=[ \t]*([a-f0-9]{64}\.png)[ \t]*$/gm)].map(match => match[1]!)); +} +export function rasterType(bytes: Buffer): "png" | "jpeg" { + if (bytes.length >= 24 && bytes.subarray(0, 8).equals(Buffer.from([137,80,78,71,13,10,26,10]))) return "png"; + if (bytes.length >= 4 && bytes[0] === 255 && bytes[1] === 216 && bytes[2] === 255) return "jpeg"; + throw new Error("Choose a PNG or JPEG image"); +} +/** Recent ImageMagick still emits orNT after -strip, even when explicitly + * excluded. Remove non-rendering metadata chunks from its bounded PNG output; + * retained chunks and their CRCs remain byte-identical. */ +export function stripPngMetadata(bytes: Buffer): Buffer { + if (rasterType(bytes) !== "png") throw new Error("Image decoder did not return PNG"); + const chunks = [bytes.subarray(0, 8)]; + const metadata = new Set(["tIME", "orNT", "eXIf", "tEXt", "zTXt", "iTXt"]); + let offset = 8, ended = false; + while (offset + 12 <= bytes.length) { + const length = bytes.readUInt32BE(offset); + const end = offset + length + 12; + if (end > bytes.length) throw new Error("Image decoder returned an incomplete PNG"); + const kind = bytes.toString("ascii", offset + 4, offset + 8); + if (!metadata.has(kind)) chunks.push(bytes.subarray(offset, end)); + offset = end; + if (kind === "IEND") { ended = true; break; } + } + if (!ended || offset !== bytes.length) throw new Error("Image decoder returned an incomplete PNG"); + return Buffer.concat(chunks); +} +export function normalizeBackground(bytes: Buffer): Buffer { + if (!bytes.length || bytes.length > MAX_BACKGROUND_BYTES) throw new Error("Image is empty or too large (maximum 20 MB)"); + const format = rasterType(bytes); + const {pixelWidth: w, pixelHeight: h} = imageMetrics(bytes, "image/" + format); + if (!w || !h || w > 12000 || h > 12000 || w * h > 40000000) throw new Error("Image dimensions exceed the 40 megapixel limit"); + const args = ["-limit", "memory", "128MiB", "-limit", "map", "128MiB", "-limit", "disk", "0", `${format}:-[0]`, "-auto-orient", "-resize", "2560x2560>", "-strip", "-define", "png:exclude-chunk=tIME,orNT", "png:-"]; + const options = { input: bytes, maxBuffer: MAX_BACKGROUND_BYTES, timeout: 12000 }; + let r = spawnSync("magick", args, options); + // Arch ships ImageMagick 7; Ubuntu's package can still expose IM6 convert. + if ((r.error as NodeJS.ErrnoException | undefined)?.code === "ENOENT") r = spawnSync("convert", args, options); + if (r.status !== 0 || !r.stdout?.length) throw new Error("Could not decode this image; choose a different PNG or JPEG"); + return stripPngMetadata(r.stdout); +} +function atomicWrite(path: string, bytes: Buffer | string): void { + const temp = path + "." + randomUUID() + ".tmp"; + let fd: number | undefined; + try { + fd = openSync(temp, "wx", 0o600); + writeFileSync(fd, bytes); fsyncSync(fd); + closeSync(fd); fd = undefined; + renameSync(temp, path); + } finally { + if (fd !== undefined) closeSync(fd); + try { unlinkSync(temp); } catch {} + } +} +export function loadBackground(paths = backgroundPaths(), chat = ""): string { + const name = backgroundName(readConfig(paths), chat); + if (!name) return ""; + const folder = lstatSync(paths.assets); + if (!folder.isDirectory() || folder.isSymbolicLink() || folder.uid !== process.getuid!() || (folder.mode & 0o077)) throw new Error("Background storage is not private"); + const path = join(paths.assets, name); + const bytes = readLocal(path, MAX_BACKGROUND_BYTES, true); + if (rasterType(bytes) !== "png" || createHash("sha256").update(bytes).digest("hex") + ".png" !== name) + throw new Error("Saved background has changed; choose the image again"); + const size = imageMetrics(bytes, "image/png"); + if (!size.pixelWidth || !size.pixelHeight || size.pixelWidth > 2560 || size.pixelHeight > 2560) throw new Error("Saved background dimensions are invalid"); + return pathToFileURL(path).href; +} +// Linux advisory locks are released by the kernel even if the helper dies. +// This serializes two open Blip surfaces without stale lock-directory recovery. +const libc = dlopen("libc.so.6", { flock: { args: [FFIType.i32, FFIType.i32], returns: FFIType.i32 } }); +export function saveBackground(path: string | null, paths = backgroundPaths(), chat = ""): string { + privateDirectory(dirname(paths.config)); + const fd = openSync(paths.config + ".background.lock", constants.O_RDWR | constants.O_CREAT | constants.O_NOFOLLOW, 0o600); + try { + const st = fstatSync(fd); + if (!st.isFile() || st.uid !== process.getuid!() || (st.mode & 0o077)) throw new Error("Background settings lock is not private"); + if (libc.symbols.flock(fd, 6) !== 0) throw new Error("Another window is updating backgrounds; try again"); + return saveBackgroundLocked(path, paths, chat); + } finally { libc.symbols.flock(fd, 8); closeSync(fd); } +} +function saveBackgroundLocked(path: string | null, paths = backgroundPaths(), chat = ""): string { + + const original = readConfig(paths); + // Even an invalid old preference can be cleared or replaced explicitly. + let previous = ""; try { previous = directName(original, chat) || ""; } catch {} + let name = ""; + if (path !== null) { + const bytes = normalizeBackground(readLocal(path, MAX_BACKGROUND_BYTES)); + name = createHash("sha256").update(bytes).digest("hex") + ".png"; + privateDirectory(paths.assets); + const st = lstatSync(paths.assets); + if (st.mode & 0o077) throw new Error("Background storage is not private"); + atomicWrite(join(paths.assets, name), bytes); + } + privateDirectory(dirname(paths.config)); + const next = backgroundConfig(original, name, chat); + try { + if (Buffer.byteLength(next, "utf8") > 65536) throw new Error("Too many conversation backgrounds; reset an old background first"); + if (readConfig(paths) !== original) throw new Error("Configuration changed; try again"); + atomicWrite(paths.config, next); + } + catch (error) { + if (name && !referencedBackgrounds(original).has(name)) { try { unlinkSync(join(paths.assets, name)); } catch {} } + throw error; + } + if (previous && !referencedBackgrounds(next).has(previous)) { try { unlinkSync(join(paths.assets, previous)); } catch {} } + return loadBackground(paths, chat); +} +export function chooseBackground(paths = backgroundPaths(), picker = () => spawnSync("zenity", ["--file-selection", "--title=Choose conversation background", "--file-filter=Images | *.png *.jpg *.jpeg *.PNG *.JPG *.JPEG"], { encoding: "utf8", timeout: 120000, maxBuffer: 8192 }), chat = "") { + const picked = picker(); + if (picked.status === 1) return { ok: true, cancelled: true }; + if (picked.status !== 0) throw new Error("Could not open the image picker"); + return { ok: true, url: saveBackground(picked.stdout.replace(/\r?\n$/, ""), paths, chat) }; +} +if (import.meta.main) { + try { + const action = process.argv[2] || "load"; + let input = ""; + if (!process.stdin.isTTY) for await (const chunk of process.stdin) { + input += chunk.toString(); + if (Buffer.byteLength(input) > 2048) throw new Error("Background request is too large"); + } + const request = input.trim() ? JSON.parse(input) : {}; + const chat = typeof request.chat === "string" ? request.chat : ""; + backgroundKey(chat); + let url = ""; + if (action === "load") url = loadBackground(backgroundPaths(), chat); + else if (action === "clear") url = saveBackground(null, backgroundPaths(), chat); + else if (action === "choose") { + console.log(JSON.stringify(chooseBackground(backgroundPaths(), undefined, chat))); + process.exit(0); + } else throw new Error("Unknown background action"); + console.log(JSON.stringify({ ok: true, url })); + } catch (error) { + console.log(JSON.stringify({ ok: false, error: error instanceof Error ? error.message : "Background could not be changed" })); + process.exitCode = 1; + } +} diff --git a/docs/APPEARANCE.md b/docs/APPEARANCE.md new file mode 100644 index 00000000..0f66d036 --- /dev/null +++ b/docs/APPEARANCE.md @@ -0,0 +1,94 @@ +# Conversation appearance + +The app uses a full-width two-pane layout, with a centered contact photo and +resolved name. Unknown contacts use “Conversation” and a `?` avatar; phone +numbers and email addresses are not substituted into the conversation header. +The sidebar still identifies every conversation and preserves unread markers. +Favorites use equal-width tiles and short personal names; matching first names +include a surname initial. Group names and the full conversation header stay +intact. + +**New Message** sits at the upper-left of the conversation pane, just across +the sidebar divider. In the compact popout it remains at the top-right of the +conversation list. The `n` shortcut remains available. + +Click **+** beside the composer to select up to ten local files. They remain +queued attachments until you send. Click the **smiley** for searchable emoji; +choosing one inserts it at the draft's cursor or replaces selected text, without sending. The blue arrow +or Enter sends, while Shift+Enter inserts a newline. + +Swipe left with two fingers to reveal message times, as in Messages; your +bubbles slide aside and spring back when you stop. The keyboard cursor also +shows its message's time. Delivery failures, +sending/scheduled state, edits, and the latest read receipt remain visible. +Photos preserve their aspect ratio and fit within a 240-pixel display height; +open an attachment to see its original. Transparent stickers have no bubble +background. Native sticker reactions and emoji reactions share larger round +balloons with a two-dot tail. Known additive placements appear on their message; unsupported body-part +placements stay in a separate sticker strip instead of being guessed. + +Voice messages have an inline play/pause button, a measured waveform, remaining +time, and a seek control. Click the waveform to seek; Tab reaches the controls, +Space toggles playback, and Left/Right on the seek control move five seconds. +Only one message plays at a time. Closing the surface or changing conversations +stops playback, including a play request still waiting for its file. Audio +files up to 5 MB preload silently; larger or unknown sizes load when clicked. +When waveform analysis is unavailable, a simple progress track remains usable. +Right-click the player to save the file. + +## Backgrounds + +Open a conversation's **⋯** menu. Click outside it or press Escape to close; +its translucent surface and spacious rows stay within the window: + + +- **Choose Conversation Background…** sets a local PNG or JPEG for that chat. +- **Reset Conversation Background** restores the default background. +- **Choose Default Background…** supplies a fallback for conversations without + their own choice. +- **Remove Default Background** restores the theme's normal canvas. + +These choices affect Blip on this Linux machine only. They are not sent to the +Mac or other participants. Switching conversations while the file picker is +open keeps the choice associated with the conversation where you opened it. +Both open Blip surfaces refresh when a preference changes. + +The picker accepts regular local PNG/JPEG files up to 20 MB and 40 megapixels. +Blip decodes, strips metadata, and scales a private copy to at most 2560 pixels +per side. Remote URLs, SVG documents, symlinks, and arbitrary saved paths are +not accepted. The copy remains available if the original file moves. + +Preferences stay in `~/.config/blip/bridge.conf`. A default uses +`conversation_background=.png`; per-conversation keys append a +SHA-256 hash of the conversation identifier. Raw handles and message text are +not written. Private image copies are stored in +`~/.local/state/blip/backgrounds/` with `0700` directory and `0600` file modes. +Replacing or resetting a choice removes its old copy when no other choice +still references it. Concurrent saves are serialized with a kernel lock; +configuration errors are reported without overwriting unrelated settings. + +## Type and theme + +Blip prefers an installed SF Pro or Inter family, then an installed Linux sans +family. Default bubble text is at least 13 pixels. Existing `ui_font_size=` and +`ui_font=theme` preferences remain authoritative. Bubbles retain iMessage +blue; the surrounding interface follows the desktop theme. A theme-colored +wash and translucent surfaces keep text readable on bright or dark images. + +## Synthetic verification + +`scripts/demo/blip-shots` renders the shipping view against invented people, +messages, avatars, and generated sticker art. It never opens a real +conversation. `BLIP_DEMO_OUT` optionally changes the screenshot directory. +`python3 scripts/test-background-ui.py` executes the actual QML callbacks with +synthetic state, covering pending picker results, chat switches, queued +configuration refreshes, cancellation, and component startup. + +`python3 scripts/test-composer-emoji-ui.py` checks real composer selection, +popup keys, and send isolation. `python3 scripts/test-audio-session-ui.py` +checks delayed audio playback, cancellation, switching, and retry using a fake +fetcher. Neither test contacts the Mac or sends a message. + +`python3 scripts/test-conversation-menu-ui.py` exercises outside-click dismissal, +reopening, Escape, and actual action clicks. `python3 scripts/test-reaction-badge-ui.py` +checks round sizing and sticker interaction without involving real conversations. diff --git a/docs/AUDIO.md b/docs/AUDIO.md new file mode 100644 index 00000000..8fc9a863 --- /dev/null +++ b/docs/AUDIO.md @@ -0,0 +1,37 @@ +# Voice messages + +Audio attachments render as an inline player with a measured waveform, +remaining time, playback progress, and pause/resume. Clicking the waveform +seeks. Space or Return toggles the focused player; Left/Right seek five +seconds when the timeline has focus. Switching recordings, leaving the +conversation, or closing the panel stops playback. Loading an attachment +never starts it without an explicit play request. + +The player uses Qt Multimedia (`qt6-multimedia` on Arch; +`qml6-module-qtmultimedia` on Ubuntu). FFmpeg/FFprobe provide the existing CAF +to Opus conversion and the waveform analysis. Missing analysis tools or an +unsupported format produce an unavailable inline preview; the attachment's +Save action remains available. + +The waveform is computed from the recording, not generated decoration. The +fetcher verifies an audio container signature, selects its demuxer explicitly, +and confirms an audio stream with FFprobe before exposing a playable source. +It decodes mono 4 kHz signed PCM into memory and takes RMS values in 64 +equal-time buckets, normalized within that recording. Silence remains flat. +A narrow player groups those buckets without dropping peaks. + +Analysis has a 100 MB source ceiling, a ten-second metadata deadline, a +15-second decode deadline, and a 600-second/4.8 MB PCM limit. Longer recordings +retain their duration and a simple seek timeline instead of a misleading +partial waveform. Decoding failures likewise retain playable media when the +container and audio stream were verified. No waveform or PCM sidecar is saved; +only the existing private media cache contains the attachment itself. + +Tests use generated WAV tones and play muted. The Qt runtime checks actual +pause/resume, seek, completion, replay, and focus behavior, while TypeScript +tests cover envelope math, malformed metadata, and decoder bounds: + +```sh +bun test audio-waveform.test.ts +python3 scripts/test-audio-ui.py +``` diff --git a/scripts/slopbrake/LICENSE b/docs/BEEPER-LICENSE.txt similarity index 94% rename from scripts/slopbrake/LICENSE rename to docs/BEEPER-LICENSE.txt index 3af61eea..ee2f4a24 100644 --- a/scripts/slopbrake/LICENSE +++ b/docs/BEEPER-LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 Greyforge Labs +Copyright (c) 2020-2023 Texts.com, 2023- Automattic Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + diff --git a/docs/PRIVACY.md b/docs/PRIVACY.md index 5658566b..afd605b9 100644 --- a/docs/PRIVACY.md +++ b/docs/PRIVACY.md @@ -138,6 +138,8 @@ timestamp when `chat.db` changes; the client then fetches privately. Edit or unsend, see typing indicators. Those need Apple private APIs that Blip deliberately does not use. +Native replies are opt-in too (`replies=on`): the Mac's `~/.blip/reply.log` holds outcome codes and durations only. + Tapbacks are the opt-in exception (`tapbacks=on`): they are Messages' own actions, performed through Accessibility, not a private API. diff --git a/docs/SECURITY.md b/docs/SECURITY.md index 53672a56..af376455 100644 --- a/docs/SECURITY.md +++ b/docs/SECURITY.md @@ -63,6 +63,14 @@ back before success. The helper never writes Contacts databases directly and does not edit, merge, or delete existing cards. Contacts write permission is separate from Full Disk Access and may prompt on first save. +## Optional native replies + +`imsg-reply` sends a message through the same Accessibility route as tapbacks, so it +can reach the same people `imsg-send` can. The shim refuses it unless `replies=on` is +in `bridge.conf`, which is an opt-in, not a boundary against someone who already holds +the key. It acts only with `--yes`. The text stays on stdin, is set directly on the +reply field and never touches the clipboard. Its log holds outcome codes only. + ## Optional tapbacks The confined key can invoke `imsg-react`, the first bridge tool that *acts* diff --git a/docs/STICKERS.md b/docs/STICKERS.md new file mode 100644 index 00000000..85dc89f2 --- /dev/null +++ b/docs/STICKERS.md @@ -0,0 +1,161 @@ +# Receiving stickers + +The rich bridge distinguishes a sticker from a photo using +`attachment.is_sticker` or a sticker association (`1000` or `2007`). A small +PNG, transparent photo, filename, or MIME type alone does not make a sticker. +Standalone stickers render without a photo bubble. Associated stickers belong +to their original message rather than appearing as duplicate message rows. + +| Received media | Inline display | +|---|---| +| PNG, JPEG | Original pixels; PNG transparency preserved | +| HEIC / HEIF | Full-size PNG converted by the Mac's `sips`; alpha preserved | +| GIF | Original animated file through Qt's `AnimatedImage` | +| Animated WebP | Original animated file through Qt's `AnimatedImage` | +| APNG, including APNG declared `image/png` | Lossless animated WebP preview; original PNG retained for explicit Open, Copy, and Save | +| HEICS / HEIC sequence | Animated color and grayscale alpha tracks combined into lossless WebP when the container layout is recognized | +| Sticker video | Bounded WebP animation; a separate grayscale alpha track is used when present | + +All inline sticker rasters, including static PNG/JPEG and converted HEIC +stills, must have positive dimensions no larger than 2048 pixels per edge. +Larger static assets show an unavailable placeholder; this path does not +silently resize them. The table's original-pixel and full-size descriptions +apply within that limit. + +HEICS conversion uses the animated pair in a four-track container. FFprobe +checks dimensions, frame count, duration, and track layout before FFmpeg +decodes it. Supported animations have at most 100 frames, eight seconds, a +2048-pixel edge, and 64 million total decoded pixels. Unknown or larger +sequences get a transparent still when available. Missing tools, malformed +media, timeouts, or an oversized converted preview keep the usable still; +the fetch result explicitly reports `animationUnavailable`. HEICS explicit +Open/Copy/Save currently uses the Mac's full-size transparent still, not a +native HEICS export. Video Open still opens the original video externally. + +Qt's PNG reader displays APNG as a single frame on the tested Qt 6 stack. +That is why the inline APNG conversion exists. Animated images do not retain +all decoded frames in the QML cache, and the view pauses playback outside the +visible conversation viewport. + +## Associations and placement + +The wire attachment gains a `sticker` object with a bounded plain-text label, +source (`memoji`, `genmoji`, `user`, `app`, or `unknown`), optional app name, +animation hint, and optional placement. The bridge exposes only selected +fields, never the raw property list or a Mac attachment path. + +Associated media appears in the parent message's `stickers` array: + +```json +{ + "attachment": { + "id": "42", + "name": "sticker.png", + "mime": "image/png", + "bytes": 1024, + "sticker": {"source": "user", "label": "Sticker", "animated": false} + }, + "guid": "EXAMPLE-STICKER-GUID", + "part": 0, + "from_me": false, + "by": null, + "ts": "2026-11-06T12:01:00Z", + "placement": {"x": 0.9, "y": 0.1, "scale": 1, "rotation": -0.2, "parentWidth": 164} +} +``` + +`sticker_user_info` stores the normalized center in `sxs`/`sys`, scale in +`ssa`, clockwise radians in `sro`, and the source parent preview width in +`spw`. Blip validates every value. Its small-panel layout preserves the +relative position and rotation while bounding the rotated rectangle to the +rendered target. This is an approximation, not pixel-perfect reconstruction +of the sender's Messages layout; `parentWidth` is retained as metadata. + +`p:N/GUID` identifies a body part, not an index into the attachment array. +Blip can safely position part 0 on text or the first rendered image. Other +parts, missing geometry, or an unavailable placement target use a compact +attached-sticker strip. Nested associations resolved inside the loaded window +retain their media on the surviving root bubble but use the strip because +their coordinates refer to another sticker. Native sticker effect shaders +are not recreated; Blip displays the decoded media pixels. + +Legacy type `1000` decorations are additive, so several stickers from one +sender survive. A type `2007` sticker occupies that sender's tapback slot for +one body part; a later emoji replaces it, and type `3007` removes it. It never +becomes a fabricated star emoji. Legacy sticker rows hidden by Recently +Deleted stay hidden; other legacy removal encodings have not been verified. +Type `2007` overlays carry `reaction: true` so the client can use a round +reaction badge without putting ordinary placed stickers inside a bubble. +Sticker metadata is fetched for loaded parents even when the associated event +is outside the message window. A current sticker whose parent is outside the +window remains visible on its own. Missing media remains a labeled unavailable +sticker instead of disappearing. + +The decoration's timestamp advances the parent's `seen_ts` without changing +its displayed message time. Self-thread deduplication preserves decorations +and that boundary from either echo. At most 24 distinct associated stickers +are rendered per bubble; an overflow count explains omitted decorations. +Unsent parent messages hide their sticker decoration. + +## Sending and privacy + +This receiving path does not add a native sticker-send command. Sending an +ordinary transparent image through the existing attachment composer remains +an image send; it does not place a native sticker on a selected message. +An Accessibility route through Messages' sticker picker needs separately +verified target and sticker identities before it can safely be offered. + +A separate synthetic feasibility probe found a possible standalone route: +public ImageIO encoded a transparent HEIC with `tiff:DocumentName` and +`dc:description`; AppKit accepted it as `NSAdaptiveImageGlyph`, and its +identifier survived an attributed-string RTFD roundtrip. Plain PNG and +untagged HEIC were not accepted. Apple's +[Genmoji API overview](https://developer.apple.com/videos/play/wwdc2024/10220/) +documents rich-text and pasteboard support, but the probe did not access the +clipboard, open Messages, or send. A native Messages receipt and exact target +handling remain unverified, so no native sticker-send control is shipped. +Bubble placement is a further capability beyond standalone glyph transport. + +Media uses the existing private attachment cache (directory `0700`, files +`0600`, 500 MB LRU). Automatic transfers retain the five-MB output ceiling; +the absolute source/transport ceiling remains 100 MB. Conversion inputs are +private temporary **media** files, always removed, or bounded pipes. FFmpeg +and FFprobe receive fixed arguments, deadlines, output caps, and a restricted +protocol list. No message body enters arguments, files, or logs. Read-state +snapshots remain metadata only, and no Messages database is written. +The sticker render path accepts only PNG, JPEG, GIF, or WebP raster signatures +matching the advertised or converted format, with nonzero dimensions no +larger than 2048 pixels per edge. Cache hits are checked too. SVG and other +resource-bearing formats are never loaded through sticker attribution. + +## Evidence and checks + +The parsers and conversion code are independently implemented from observed +format facts; no upstream implementation was copied or vendored. The sources +used to cross-check those facts are pinned here: + +- [ReagentX/imessage-exporter attachment fields and source metadata](https://github.com/ReagentX/imessage-exporter/blob/47b75148b82e666b25db1211ce1dcecf32ab40a8/imessage-database/src/tables/attachment.rs) + (`is_sticker`, `pid`, Memoji/Genmoji source, sequence media types). +- [Its association type definitions](https://github.com/ReagentX/imessage-exporter/blob/47b75148b82e666b25db1211ce1dcecf32ab40a8/imessage-database/src/tables/messages/message.rs) + (`1000`, `2007`, `3007`). That project is GPL-3.0 licensed. +- [Its documented HEICS track roles](https://github.com/ReagentX/imessage-exporter/blob/47b75148b82e666b25db1211ce1dcecf32ab40a8/imessage-exporter/src/app/compatibility/converters/sticker.rs). + Blip uses one bounded color/alpha filter into lossless WebP rather than that + implementation's temporary PNG sequences and GIF palette workflow. +- [openclaw/imsg sticker geometry metadata](https://github.com/openclaw/imsg/blob/1bc0679663bf3978a744a61a5a9161d9ba518764/Sources/IMsgHelper/StickerAssets.inc) + and [placement fixtures](https://github.com/openclaw/imsg/blob/1bc0679663bf3978a744a61a5a9161d9ba518764/Tests/IMsgHelperTests/StickerPlacementTests.m) + (`sxs`, `sys`, `ssa`, `sro`, `spw`). That project is MIT licensed; its + sending implementation is not used. + +The current gateway schema was checked for the needed column names and types +without selecting message rows or attachment content. All media tests use +generated synthetic fixtures: + +```sh +bun test stickers.test.ts +python3 -m unittest discover -s bridge/mac -p test_stickers.py +python3 scripts/test-sticker-ui.py +``` + +The Qt test runs the shipping `StickerImage.qml`, verifies background showing +through transparent corners, checks that both converted animation types +advance frames, and checks playback pause. It does not open Messages or send. diff --git a/docs/UNICODE-LICENSE.txt b/docs/UNICODE-LICENSE.txt new file mode 100644 index 00000000..f2d8a9a0 --- /dev/null +++ b/docs/UNICODE-LICENSE.txt @@ -0,0 +1,42 @@ +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 2001-2024 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT +DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +software and any associated documentation (the "Software") to deal in the +Data Files or Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, and/or sell +copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that either (a) +this copyright and permission notice appear with all copies of the Data +Files or Software, or (b) this copyright and permission notice appear in +associated Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF +THIRD PARTY RIGHTS. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE +BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA +FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in these Data Files or Software without prior written +authorization of the copyright holder. + +SPDX-License-Identifier: Unicode-3.0 + diff --git a/docs/img/app.png b/docs/img/app.png index e4f2139e..9467d780 100644 Binary files a/docs/img/app.png and b/docs/img/app.png differ diff --git a/docs/img/conversation-menu.png b/docs/img/conversation-menu.png new file mode 100644 index 00000000..c4bbe613 Binary files /dev/null and b/docs/img/conversation-menu.png differ diff --git a/docs/img/panel-conversation.png b/docs/img/panel-conversation.png index 21c786a6..54282d45 100644 Binary files a/docs/img/panel-conversation.png and b/docs/img/panel-conversation.png differ diff --git a/docs/img/panel.png b/docs/img/panel.png index 96058f78..61196aab 100644 Binary files a/docs/img/panel.png and b/docs/img/panel.png differ diff --git a/docs/img/share-sheet.png b/docs/img/share-sheet.png index 215e835b..75cbf181 100644 Binary files a/docs/img/share-sheet.png and b/docs/img/share-sheet.png differ diff --git a/docs/reactions.md b/docs/reactions.md new file mode 100644 index 00000000..f3f6a133 --- /dev/null +++ b/docs/reactions.md @@ -0,0 +1,128 @@ +# Reaction picker and native bridge + +Right-click an eligible message or press Ctrl+E with a history bubble selected. +The six classic Tapbacks remain first; 1–6 or the arrow keys choose one. +The plus button opens a searchable, categorized emoji catalogue. A pasted +emoji keeps its complete sequence, including skin tone and joined characters. +Choosing the reaction already on the message requests removal. The same +catalogue supplies the composer's emoji insertion button. + +The catalogue contains the 3,963 fully qualified Emoji 18.0 sequences, from +[Unicode's released data](https://www.unicode.org/Public/emoji/18.0/emoji-test.txt). +[Unicode 18.0 was released in September 2026](https://www.unicode.org/versions/Unicode18.0.0/). +Font and receiving-device support can lag that catalogue. The data's Unicode +License v3 is included in [UNICODE-LICENSE.txt](UNICODE-LICENSE.txt). + +Native replies use the same bubble search; see [replies.md](replies.md). + +## What the bridge does + +Sending still requires `tapbacks=on` and the Mac's existing Accessibility and +Automation grants. It never requests new consent as part of a reaction. The +existing target restrictions remain: delivered plain-text direct-message +bubbles, without attachments or link/app cards. Opening Messages can briefly +change focus on the Mac. + +On macOS 27, the bubble's "Tapback Details…" action opens the picker on any +message, so older messages work. The picker needs about 0.8 s to settle: a press +during its opening transition is acknowledged and then ignored. Never run a JXA +`entireContents` while the emoji catalogue is open. It walks thousands of cells +and pins Messages' main thread for minutes, so a run first closes any picker a +previous run left behind, one Escape per layer. + +Classic requests retain the original command protocol. Custom emoji use +`imsg-react --guid GUID --emoji-stdin --yes`, with a bounded JSON object +containing `emoji` and an optional search `name` on stdin. Neither the emoji, +search text, nor original message body rides process arguments or is saved +to a Linux file. The bridge log records only outcome codes and duration. + +For a custom reaction, the bridge first looks for an exact emoji action on +the matched bubble, or an enabled picker control whose AXIdentifier/AXValue +is the requested Unicode sequence. A catalogue search can narrow results, +but a name or grid position never authorizes the final press. There must be +exactly one enabled matching control. On macOS 27, a bounded stdlib ctypes +helper uses the public Accessibility and CoreGraphics APIs. It finds the +picker directly under its iOSContentGroup presentation, without traversing +conversation text. Every selected-message label copy must match the target; +macOS 27.2 exposes two copies in some states. The main window, title, +presentation parent, foreground state and exact glyph are checked again +before an action. An existing picker is reused rather than toggled closed. + +The custom catalogue can be detached from Messages' regular Accessibility +tree. Only visible Messages-owned windows in the known picker size range +are considered. An AX hit-test must resolve to a search field inside an +AXPopover. This point is for discovery, not a click. The unique popover's +search field receives the search name; a name never authorizes selection. + +CharacterPalette 27.2 exposes a result as an AXUnknown wrapper with an exact +emoji description, one enabled static-text child carrying that same complete +sequence, and AXPress. Its AXPress acknowledges without selecting the glyph. +The bridge therefore uses one click at that verified glyph's current frame +center. A global AX hit-test must resolve to the same wrapper or exact child; +the target, identity, unchanged bounds and hit-test are rechecked immediately +before the down/up gesture. A held modifier or mouse drag prevents it. The +pointer returns to its original position only if the user has not moved it. +No second gesture follows a missing receipt. An ambiguous result, changed +target or unavailable exact emoji fails visibly. There is no guessed grid +position, arrow-count/Return fallback, or image-sticker substitution. + +Success requires a new chat.db receipt on the intended GUID with type 2006 +(add) or 3006 (remove) **and the same emoji sequence**. The type alone cannot +distinguish two custom emoji. Existing custom reactions retain their type on +the read path, so a custom 👍 cannot accidentally remove a classic Like. +The existing stray-message guard, UI lock, focus restoration, and no-retry +rule continue to apply. Accessibility can still race user activity between +the final check and the press; the database receipt remains the referee. + +Native sticker-reaction sending is not implemented by this route. Apple's +Messages UI supports stickers, but an image attachment is not a native +sticker reaction and must not be represented as one. + +## Evidence and limits + +The classic AX implementation predates this change and has its original +native verification notes in `imsg-react`. The new custom route is covered +with synthetic AX trees and chat.db fixtures, including exact identities, +wrong emoji receipts, stale target/focus, disabled and ambiguous controls, +no-op/removal semantics, and no retry after a missing receipt. + +`python3 scripts/test-reaction-ui.py` runs the shipping QML in an isolated +QtTest process. It covers classic number keys, the busy gate, expanding and +focusing search, exact custom selection, grid navigation, composer mode, +and expanded popup placement near the bottom of the window. Add +`--screenshot PATH` for visual QA. All fixture message content is invented. + +After the user granted Accessibility, live tests on macOS 27.2 used only +fresh labeled messages to the user's explicitly authorized self-conversation. +Verified receipts: classic Heart; a nonrecent 🪿 custom reaction (2006); +replacement with nonrecent 🦦 (2006 with a different exact emoji); and removal +of 🦦 (3006 with that exact emoji). A subsequent 🏳️‍🌈 addition verified the full +variation-selector/ZWJ sequence with the final window/presentation guards. +The custom additions took about six seconds. +The existing composer draft was checked intact; clipboard contents were never +changed. Test message content stayed in memory and Messages, never a Linux +file or process argument. No unrelated conversation was used for those sends. + +Availability of a safe native selection remains a runtime check. Emoji that +the Mac cannot expose exactly, including unsupported catalogue versions or +variant controls, fail without substitution. Skin-tone variant selection and +native sticker sending have not been verified by these tests. + +## Implementation references + +Apple documents [Tapbacks with any emoji in Messages](https://support.apple.com/guide/messages/ichtb967d30b/mac). +The upstream [Blip discussion #69](https://github.com/nixfred/blip/issues/69) +reports exact recent-emoji AX actions and the Add Emoji as Tapback action. + +The following primary source at Beeper `platform-imessage` commit +`04666201f5dfa93398f6961e4e9367bb3c939729` informed the independent Python/JXA +implementation: + +- [Reaction.swift](https://github.com/beeper/platform-imessage/blob/04666201f5dfa93398f6961e4e9367bb3c939729/src/IMessage/Sources/IMessage/Reaction.swift): custom direct action titles are the emoji itself; classic and custom identities are distinct. +- [MessagesController.swift](https://github.com/beeper/platform-imessage/blob/04666201f5dfa93398f6961e4e9367bb3c939729/src/IMessage/Sources/IMessage/Messages/MessagesController.swift): reaction picker cells carry an exact emoji identifier. +- [MessagesAppElements.swift](https://github.com/beeper/platform-imessage/blob/04666201f5dfa93398f6961e4e9367bb3c939729/src/IMessage/Sources/IMessage/Messages/MessagesAppElements.swift): Add custom emoji reaction control and detached CharacterPalette limitations. + +No Swift source is vendored. Beeper's MIT copyright and permission notice +is retained in [BEEPER-LICENSE.txt](BEEPER-LICENSE.txt) for the referenced +automation design. Blip deliberately does not adopt its search-result +keyboard-offset navigation or private emoji-search framework integration. diff --git a/docs/replies.md b/docs/replies.md new file mode 100644 index 00000000..bd0ddd0f --- /dev/null +++ b/docs/replies.md @@ -0,0 +1,166 @@ +# Native replies + +Reply in the message menu, or `Ctrl+R` on a selected bubble, sends a real inline +reply: the same thing Messages sends, recorded in `chat.db` with +`thread_originator_guid`. It needs `replies=on` in `bridge.conf` and the Mac's +existing Accessibility and Automation grants. `Quote and reply` is still there, and +`Ctrl+R` falls back to it on anything a native reply refuses. + +Everything below was measured on macOS 27.2 in a self-thread (2026-11-07). If you +are about to investigate replies, read this first: these paths have been walked. + +## What works + +| Target | Result | +|---|---| +| Plain text in a 1:1 | Sent and confirmed | +| One picture, no caption, in a 1:1 | Sent and confirmed | +| A message that is already a reply | Sent; names the start of the thread | +| Multi-line text with emoji | Sent intact | + +A run takes 11 to 13 seconds and brings Messages to the front on the Mac, then +restores whichever app was there. + +## How the Mac tool works + +`bridge/mac/imsg-reply --guid GUID --text-stdin --yes`, in this order: + +1. `chat.db` decides the target and refuses anything unproven. +2. A draft in the composer stops the run, before anything is pressed. +3. The bubble search in `imsg-react` presses `Reply…` once. +4. The reply view must name the target. The field is filled through AX and read back. +5. Focus is rechecked, then Return is pressed. +6. `chat.db` must show your row with this text naming the target's thread. +7. The reply view is closed and the previous app comes back. + +| Exit | Meaning | What Blip does | +|---|---|---| +| 0 | Sent and confirmed | Reloads to the real row | +| 75 | Nothing was sent, including a locked Mac or a draft | Failed bubble, words and target back in the composer | +| 76 | Return was pressed but not confirmed, or Messages reported an error | Says so; **never hands the words back**, because a resend could duplicate | +| 65, 69, 77 | Refused, unavailable, or no permission | Same as 75 | + +Never retry after Return. The log, `~/.blip/reply.log`, holds the outcome code, exit +status and duration, never a GUID or text. + +## What we found in Messages + +**The reply view.** `Reply…` opens a view over the conversation: + +- The focused field is an `AXTextField` with `AXIdentifier` `messageBodyField` and + placeholder `Reply`. The main composer has the same identifier and a placeholder of + `iMessage`, so the placeholder is how to tell them apart. +- A group described `Reply transcript` holds the thread, with bubble labels that name + the target. That is the check before anything is typed. +- **It stays open after sending.** Escape closes it. +- **There is no send button and no confirm action on the field.** The only `send` + match is `Send Later`. Return via System Events is the only way, and it goes to + whichever app is in front, which is why focus is rechecked immediately before. + +**Drafts.** A draft in the composer moves into the reply field when the view opens, +and Escape hands it back intact. Filling the field replaces the draft, and sending +destroys it. So the tool refuses when one exists. A draft could be saved and restored +around the send, but that wasn't worth the risk of losing someone's words. + +**Never use the clipboard for the text.** Setting `AXValue` works, including line +breaks and emoji. Pasting would put the message on the Mac's clipboard, where any +clipboard sync can carry it to another machine, breaking the rule that message text +never reaches Linux disk or argv. + +**Bubble labels.** Times can be 12-hour, and the sender comes first: + +- Text: `Your iMessage, hello, 11:30 AM` +- A reply: `Your iMessage, Reply…, hello, 11:43 AM`. `parseLabel` strips the + `Reply…, ` so replies can be targeted. +- A picture: `Your iMessage, Includes picture, 11:52 AM`. That is all it says, so two + pictures from one side in one minute can't be told apart, and the tool refuses. +- A picture's live bubble is an `AXButton` under its row, not a group, which is why + the search takes a `picture` flag. +- In a self-thread each message draws two bubbles, `Maybe: , …` and + `Your iMessage, …`. + +**`chat.db`.** + +- `thread_originator_guid` is the message replied to, or **the start of the thread** + when replying to a reply, so confirmation has to accept the target's own originator. +- `thread_originator_part` looks like `0:0:23` for text and `0:0:1` for a picture. The + first number is the part. Blip assumes that in a message with several attachments it + is the attachment's index, falling back to the first. **That is unverified.** +- **A reply can land under a different chat row for the same person.** In the + self-thread they went to the phone-number chat while the message replied to was + under the email chat. Confirm by thread and text, never by chat. Filtering by chat + made working replies look lost during the investigation. + +## Known limits + +- **The Mac must be unlocked.** A locked Mac fails with a clear message and nothing is + sent. Native tapbacks have the same limit. +- **A reply can appear in another of the person's conversations.** When someone has two + addresses that Blip hasn't merged, the reply may land under the other one. Messages + draws them as one thread; Blip shows the reply under the other chat, and the pending + bubble here expires after two minutes. It was seen in a self-thread, where the email + and phone chats aren't merged. Addresses merged through `chatAliases` are read + together, so they shouldn't show this, but no merged conversation has been tested. +- **In a self-thread, a picture shows twice in Blip**: the sent row and its echo. Replying + to either works. Blip's echo folding doesn't cover this case. +- **The whole path has only been exercised in a self-thread.** Real one-to-one + conversations use the same route, but no reply has been sent in one during testing. + +## Dead ends + +- **AppleScript has no reply.** `send` takes no reply target. +- **Private APIs.** Replying through `IMCore`, as BlueBubbles' Private API does, + requires SIP off as far as we know. Not considered for that reason. +- **`Edit ▸ Reply to Message…`.** Acts on the selected message, and selecting a bubble + from outside is an unsolved problem. The bubble's action needs no selection. +- **Testing with the Mac locked.** Accessibility sees no windows, and screen capture + fails too. Nothing can be probed until someone unlocks it. +- **Testing on another Mac over ssh.** Needs Full Disk Access and Accessibility for + `/usr/libexec/sshd-keygen-wrapper`, which only a person can grant. + +## Traps when probing + +- JXA calls a top-level `function run` by itself. Calling `run()` as well makes it read + stdin twice, and the second read fails with `JSON Parse error: Unexpected EOF`. +- Path filters on `ConversationList` no longer exclude the sidebar on macOS 27, so a + loose label filter prints other people's conversation previews. Filter on bubbles + offering `Reply…`, and keep to the self-thread. +- Never run `entireContents` while the emoji catalogue is open. See `reactions.md`. +- Any query that looks for test rows must filter on your marker text. A filter on + `ROWID` alone also returns other conversations' messages that arrived in between. +- A self-thread can span several chats, so check that a surprising chat is really yours + before assuming: its participants must all be in `detect_self_handles()`. +- `grim -g` captures the screen, not the window. A Blip window on another workspace gets + whatever is on top at those coordinates. +- `imsg-send` takes attachments with `--file-stdin --file-bytes N --name X`. + +## Not built, and what it would take + +Each of these is refused today, in `canReply` (`message-actions.ts`) and in +`imsg-reply`. Change both together. Test in a self-thread first, except groups, which +need a real group you own and everyone's consent. + +| Feature | What to measure first | +|---|---| +| Groups | Bubble labels with several senders, and how to pick the side. The route should be the same. | +| Several pictures in a message | The label, whether each picture has its own `Reply…`, and how the part number maps | +| Picture with a caption | The label, and which part `Reply…` answers | +| Videos, files, audio | Each label | +| Link and app cards | The label is the page's title, not the text, so `chat.db` can't predict it | +| Two pictures in one minute | Whether bubble order can be trusted, and how to check it in the reply view | +| Replying with an attachment | How to attach in the reply view without the clipboard | +| Thread view like Apple's | Blip only; `thread_originator_guid` has what it needs | +| Replying while a draft exists | Save and restore around the send | +| Replies with the Mac locked | Not possible through Accessibility | + +The reply context above a bubble works whether or not the Mac is locked, because it +only reads `chat.db`. + +## Testing + +`bridge/mac/test_reply.py` runs on a synthetic `chat.db` with a scripted Messages. +`message-actions.test.ts`, `thread.test.ts` and `tapbacks.test.ts` cover the Linux side. +For a live run, target only your own self-thread: + + printf 'test' | ~/.blip/bin/imsg-reply --guid GUID --text-stdin # dry run + printf 'test' | ~/.blip/bin/imsg-reply --guid GUID --text-stdin --yes diff --git a/docs/research/native-glyph-clipboard.m b/docs/research/native-glyph-clipboard.m new file mode 100644 index 00000000..421b2ae2 --- /dev/null +++ b/docs/research/native-glyph-clipboard.m @@ -0,0 +1,169 @@ +// Experimental public-API glyph transport. NOT a send command. +// --dry-run never accesses the clipboard. --clipboard is opt-in and restores +// its RAM-only snapshot on request, EOF, signal, or a 45-second deadline. +#import +#import +#import +#include +#include +#include +#include +#include + +static volatile sig_atomic_t interrupted = 0; +static void interruptProbe(int sig) { interrupted = sig; } +static void emit(NSDictionary *value) { + NSData *data = [NSJSONSerialization dataWithJSONObject:value options:0 error:NULL]; + fwrite(data.bytes, 1, data.length, stdout); fputc('\n', stdout); fflush(stdout); +} +static NSData *readPng(NSString *path) { + int fd = open(path.fileSystemRepresentation, O_RDONLY | O_NOFOLLOW); + if (fd < 0) return nil; + struct stat st; + if (fstat(fd, &st) || !S_ISREG(st.st_mode) || st.st_size <= 0 || st.st_size > 10 * 1024 * 1024) { close(fd); return nil; } + NSMutableData *data = [NSMutableData dataWithLength:(NSUInteger)st.st_size]; + size_t done = 0; + while (done < data.length) { + ssize_t n = read(fd, (char *)data.mutableBytes + done, data.length - done); + if (n <= 0) { close(fd); return nil; } + done += (size_t)n; + } + close(fd); + return data; +} +static CGImageRef makeImage(NSString *path) { + CGImageRef original = NULL; + if (path.length) { + NSData *data = readPng(path); + if (!data) return NULL; + CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL); + if (!source) return NULL; + NSString *type = (__bridge NSString *)CGImageSourceGetType(source); + NSDictionary *properties = CFBridgingRelease(CGImageSourceCopyPropertiesAtIndex(source, 0, NULL)); + NSUInteger width = [properties[(__bridge NSString *)kCGImagePropertyPixelWidth] unsignedIntegerValue]; + NSUInteger height = [properties[(__bridge NSString *)kCGImagePropertyPixelHeight] unsignedIntegerValue]; + if (![type isEqualToString:UTTypePNG.identifier] || width < 1 || height < 1 || width > 2048 || height > 2048) { CFRelease(source); return NULL; } + original = CGImageSourceCreateImageAtIndex(source, 0, NULL); CFRelease(source); + if (!original) return NULL; + } + CGColorSpaceRef space = CGColorSpaceCreateWithName(kCGColorSpaceSRGB); + CGContextRef c = CGBitmapContextCreate(NULL, 160, 160, 8, 0, space, (CGBitmapInfo)kCGImageAlphaPremultipliedLast); + CGColorSpaceRelease(space); + if (!c) { if (original) CGImageRelease(original); return NULL; } + if (original) { + double width = CGImageGetWidth(original), height = CGImageGetHeight(original); + double ratio = MIN(160 / width, 160 / height); + CGContextSetInterpolationQuality(c, kCGInterpolationHigh); + CGContextDrawImage(c, CGRectMake((160-width*ratio)/2, (160-height*ratio)/2, width*ratio, height*ratio), original); + CGImageRelease(original); + } else { + CGContextSetRGBFillColor(c, 1.0, 0.67, 0.08, 1.0); + for (int i = 0; i < 10; i++) { + double angle = M_PI/2 + i*M_PI/5, radius = i%2 ? 30 : 69; + double x = 80 + cos(angle)*radius, y = 80 + sin(angle)*radius; + if (!i) CGContextMoveToPoint(c,x,y); else CGContextAddLineToPoint(c,x,y); + } + CGContextClosePath(c); CGContextFillPath(c); + } + CGImageRef image = CGBitmapContextCreateImage(c); CGContextRelease(c); return image; +} +static NSData *makeRichGlyph(NSDictionary *request, NSMutableDictionary *status) { + NSString *path = request[@"inputPath"]; + NSString *label = request[@"description"] ?: @"Synthetic golden star"; + if ((path && ![path isKindOfClass:NSString.class]) || ![label isKindOfClass:NSString.class] || label.length < 1 || label.length > 160) return nil; + CGImageRef image = makeImage(path); + if (!image) return nil; + NSString *identity = NSUUID.UUID.UUIDString; + CGMutableImageMetadataRef metadata = CGImageMetadataCreateMutable(); + BOOL named = CGImageMetadataSetValueWithPath(metadata,NULL,CFSTR("tiff:DocumentName"),(__bridge CFStringRef)identity); + BOOL described = CGImageMetadataSetValueWithPath(metadata,NULL,CFSTR("dc:description"),(__bridge CFStringRef)label); + NSMutableData *data = [NSMutableData data]; + CGImageDestinationRef dest = CGImageDestinationCreateWithData((__bridge CFMutableDataRef)data, + (__bridge CFStringRef)NSAdaptiveImageGlyph.contentType.identifier, 1, NULL); + if (!dest || !named || !described) { if(dest) CFRelease(dest); CFRelease(metadata); CGImageRelease(image); return nil; } + CGImageDestinationAddImageAndMetadata(dest,image,metadata,NULL); + BOOL encoded = CGImageDestinationFinalize(dest); + CFRelease(dest); CFRelease(metadata); CGImageRelease(image); + if (!encoded) return nil; + NSAdaptiveImageGlyph *glyph = [[NSAdaptiveImageGlyph alloc] initWithImageContent:data]; + if (!glyph || ![glyph.contentIdentifier isEqual:identity] || ![glyph.contentDescription isEqual:label]) return nil; + NSAttributedString *string = [NSAttributedString attributedStringWithAdaptiveImageGlyph:glyph attributes:@{}]; + NSError *error = nil; + NSData *rtfd = [string dataFromRange:NSMakeRange(0,string.length) + documentAttributes:@{NSDocumentTypeDocumentAttribute:NSRTFDTextDocumentType} error:&error]; + NSAttributedString *decoded = rtfd ? [[NSAttributedString alloc] initWithData:rtfd + options:@{NSDocumentTypeDocumentOption:NSRTFDTextDocumentType} documentAttributes:nil error:&error] : nil; + NSAdaptiveImageGlyph *again = decoded.length ? [decoded attribute:NSAdaptiveImageGlyphAttributeName atIndex:0 effectiveRange:NULL] : nil; + if (!again || ![again.contentIdentifier isEqual:identity]) return nil; + status[@"contentIdentifier"] = identity; + status[@"contentType"] = NSAdaptiveImageGlyph.contentType.identifier; + status[@"pasteboardType"] = NSPasteboardTypeRTFD; + status[@"heicBytes"] = @(data.length); status[@"rtfdBytes"] = @(rtfd.length); + status[@"roundTrip"] = @YES; + return rtfd; +} +int main(int argc, const char **argv) { @autoreleasepool { + BOOL clipboardMode = argc == 2 && strcmp(argv[1],"--clipboard") == 0; + if (!clipboardMode && !(argc == 2 && strcmp(argv[1],"--dry-run") == 0)) { emit(@{@"ok":@NO,@"error":@"use --dry-run or explicit --clipboard"}); return 64; } + char line[16384]; + if (!fgets(line,sizeof(line),stdin) || !strchr(line,'\n')) { emit(@{@"ok":@NO,@"error":@"one bounded JSON line required"}); return 64; } + NSData *requestData = [NSData dataWithBytes:line length:strlen(line)]; + NSDictionary *request = [NSJSONSerialization JSONObjectWithData:requestData options:0 error:NULL]; + if (![request isKindOfClass:NSDictionary.class]) { emit(@{@"ok":@NO,@"error":@"invalid request"}); return 64; } + NSMutableDictionary *status = [NSMutableDictionary dictionaryWithObject:@YES forKey:@"ok"]; + NSData *rtfd = nil; + @try { rtfd = makeRichGlyph(request,status); } @catch (NSException *e) { } + if (!rtfd) { emit(@{@"ok":@NO,@"error":@"could not create and round-trip public adaptive glyph"}); return 65; } + if (!clipboardMode) { status[@"clipboardTouched"] = @NO; emit(status); return 0; } + NSPasteboard *board = NSPasteboard.generalPasteboard; + NSInteger originalCount = board.changeCount; + NSArray *items = board.pasteboardItems ?: @[]; + NSMutableArray *snapshot = [NSMutableArray array]; + NSUInteger total = 0, typeCount = 0; + if (items.count > 16) { emit(@{@"ok":@NO,@"error":@"clipboard snapshot exceeds item bound"}); return 65; } + for (NSPasteboardItem *item in items) { + NSPasteboardItem *copy = [NSPasteboardItem new]; + for (NSPasteboardType type in item.types) { + NSData *data = [item dataForType:type]; + total += data.length; typeCount++; + if (!data || total > 10*1024*1024 || typeCount > 128 || ![copy setData:data forType:type]) { + emit(@{@"ok":@NO,@"error":@"clipboard cannot be preserved within bounds"}); return 65; + } + } + [snapshot addObject:copy]; + } + if (board.changeCount != originalCount) { emit(@{@"ok":@NO,@"error":@"clipboard changed before publish"}); return 75; } + struct sigaction action = {0}; action.sa_handler = interruptProbe; + sigaction(SIGINT,&action,NULL); sigaction(SIGTERM,&action,NULL); sigaction(SIGHUP,&action,NULL); + signal(SIGPIPE,SIG_IGN); + // No snapshot bytes leave RAM. Original drafts are untouched by this + // helper; the controller must refuse to paste into a nonempty composer. + [board clearContents]; + BOOL wrote = [board setData:rtfd forType:NSPasteboardTypeRTFD]; + NSInteger publishedCount = board.changeCount; + status[@"published"] = @(wrote); status[@"clipboardTouched"] = @YES; + status[@"restoreDeadlineSeconds"] = @45; status[@"changeCount"] = @(publishedCount); emit(status); + CFAbsoluteTime deadline = CFAbsoluteTimeGetCurrent() + 45; + char command[64]; size_t commandLength = 0; + while (wrote && !interrupted && CFAbsoluteTimeGetCurrent() < deadline) { + struct pollfd input = { .fd=STDIN_FILENO, .events=POLLIN }; + int ready = poll(&input,1,250); + if (ready > 0 && (input.revents & (POLLIN|POLLHUP|POLLERR))) { + char byte; ssize_t n = read(STDIN_FILENO, &byte, 1); + if (n <= 0) break; + if (byte == '\n' || commandLength == sizeof(command)-1) { + command[commandLength] = 0; + if (strcmp(command,"status") != 0) break; + emit(@{@"active":@(board.changeCount == publishedCount), + @"secondsRemaining":@(MAX(0,deadline-CFAbsoluteTimeGetCurrent()))}); + commandLength = 0; + } else command[commandLength++] = byte; + } + } + BOOL unchanged = board.changeCount == publishedCount, restored = NO; + if (unchanged) { + [board clearContents]; restored = snapshot.count == 0 || [board writeObjects:snapshot]; + } + emit(@{@"restored":@(restored),@"newClipboardPreserved":@(!unchanged)}); + return restored || !unchanged ? 0 : 74; +} } diff --git a/docs/research/native-glyph-probe.md b/docs/research/native-glyph-probe.md new file mode 100644 index 00000000..4551be38 --- /dev/null +++ b/docs/research/native-glyph-probe.md @@ -0,0 +1,72 @@ +# Experimental native glyph self-test handoff + +This is a source-only prototype; nothing here ships in the plugin. The helper +never opens Messages or sends. Its `--dry-run` mode has been compiled and run +on the authorized Mac using only generated pixels, with successful HEIC → +NSAdaptiveImageGlyph → RTFD → glyph identity roundtrip. Clipboard mode is not +yet runtime verified; only the live-UI owner may execute it under self-test +authorization. + +Source: `native-glyph-clipboard.m` alongside this note. Compile in a private +Mac temporary directory, with the already installed compiler: + +``` +clang -Wall -Wextra -fobjc-arc -framework AppKit -framework ImageIO \ + -framework UniformTypeIdentifiers glyph.m -o glyph +printf '{}\n' | ./glyph --dry-run +``` + +The empty request generates a golden star from geometry. Alternatively a JSON +request can contain `inputPath` (regular PNG, <=10 MB, <=2048px edge) and +`description` (1..160 characters). The helper draws into a transparent 160px +square, uses public ImageIO metadata `tiff:DocumentName` (UUID) and +`dc:description`, constructs NSAdaptiveImageGlyph, and verifies its identifier +and description. Public `NSRTFDTextDocumentType` serialization preserves the +glyph. The clipboard type is **com.apple.flat-rtfd**, not plain PNG or a file +URL. Publishing only that rich type avoids an intentional plain-image fallback. + +## Controlled UI test + +1. Before publishing, verify the exact authorized self conversation and an + empty composer: no text, existing attachment, reply draft, or edit state. + If a draft exists, stop without changing it. Do not select-all/erase it. +2. Start the helper with `--clipboard` and keep its stdin open. Write one JSON + request line and flush. Read the first JSON response; require `ok` and + `published`. This is only a prepared clipboard, not a sent message. +3. The helper snapshots all current clipboard item types/data in RAM only, + rejects unpreservable or oversized snapshots before mutation, publishes + RTFD, and returns its clipboard `changeCount` and 45-second deadline. +4. Immediately before the single Cmd-V, send `status\n` and require + `active:true` with sufficient time remaining. Recheck the clipboard's + changeCount in the same bounded UI action that verifies the focused self + composer. Abort if changed or if the helper exited/restored. Never paste + after its deadline. After paste, inspect the composer for one attachment/ + object-replacement glyph and no unexpected plain text; do not press Return + if the paste result or target is uncertain. +5. Reverify the self target and send exactly once. Poll only the new self row + after the recorded pre-send boundary. Classify the receipt using + `attachment.is_sticker`, the attachment UTI/sticker metadata, and adaptive + glyph identity where exposed. A visually transparent image alone does not + prove native sticker semantics. Parent-message placement is a separate, + unverified capability. +6. In a controller `finally`, write `restore\n` and flush, or close stdin. + Read the final JSON. The helper restores the original RAM snapshot only + when the clipboard still has its published changeCount. If the user copied + something new meanwhile, it preserves that new clipboard instead. + SIGINT/SIGTERM/SIGHUP and the 45-second deadline also request restoration; + SIGKILL cannot be cleaned up. Keep the controller's UI deadline shorter. +7. If paste succeeded but send did not, preserve the original empty-draft + condition without touching a changed composer: only undo the known paste + while the same self composer still contains exactly the inserted glyph. + Otherwise stop and report the residual draft; never blindly clear it. + +The live UI owner can drive the helper with a subprocess pipe while its +existing JXA controller performs the bounded UI operation. Clipboard data and +composer contents must not be written to logs, files, or argv. Record only the +synthetic receipt metadata and outcome. Remove the temporary helper afterward. + +Primary API facts: Apple's NSAdaptiveImageGlyph documentation and WWDC24 +“Bring expression to your app with Genmoji” describe public attributed-text, +RTFD, and pasteboard support. The metadata-key hypothesis was independently +tested against public ImageIO/AppKit APIs; no upstream implementation was +copied. This prototype does not use IMCore injection or private selectors. diff --git a/emoji-catalogue.ts b/emoji-catalogue.ts new file mode 100644 index 00000000..d68aeb37 --- /dev/null +++ b/emoji-catalogue.ts @@ -0,0 +1,3969 @@ +// Generated from Unicode Emoji 18.0 emoji-test.txt (fully-qualified entries). +// https://www.unicode.org/Public/emoji/18.0/emoji-test.txt +// Unicode License v3: see docs/UNICODE-LICENSE.txt. +export const EMOJI_CATALOGUE: readonly (readonly [string, string, string])[] = [ + ["😀","grinning face","Smileys & Emotion"], + ["😃","grinning face with big eyes","Smileys & Emotion"], + ["😄","grinning face with smiling eyes","Smileys & Emotion"], + ["😁","beaming face with smiling eyes","Smileys & Emotion"], + ["😆","grinning squinting face","Smileys & Emotion"], + ["😅","grinning face with sweat","Smileys & Emotion"], + ["🤣","rolling on the floor laughing","Smileys & Emotion"], + ["😂","face with tears of joy","Smileys & Emotion"], + ["🙂","slightly smiling face","Smileys & Emotion"], + ["🙃","upside-down face","Smileys & Emotion"], + ["🫠","melting face","Smileys & Emotion"], + ["🫫","cracking face","Smileys & Emotion"], + ["😉","winking face","Smileys & Emotion"], + ["😊","smiling face with smiling eyes","Smileys & Emotion"], + ["😇","smiling face with halo","Smileys & Emotion"], + ["🥰","smiling face with hearts","Smileys & Emotion"], + ["😍","smiling face with heart-eyes","Smileys & Emotion"], + ["🤩","star-struck","Smileys & Emotion"], + ["😘","face blowing a kiss","Smileys & Emotion"], + ["😗","kissing face","Smileys & Emotion"], + ["☺️","smiling face","Smileys & Emotion"], + ["😚","kissing face with closed eyes","Smileys & Emotion"], + ["😙","kissing face with smiling eyes","Smileys & Emotion"], + ["🥲","smiling face with tear","Smileys & Emotion"], + ["😋","face savoring food","Smileys & Emotion"], + ["😛","face with tongue","Smileys & Emotion"], + ["😜","winking face with tongue","Smileys & Emotion"], + ["🤪","zany face","Smileys & Emotion"], + ["😝","squinting face with tongue","Smileys & Emotion"], + ["🤑","money-mouth face","Smileys & Emotion"], + ["🤗","smiling face with open hands","Smileys & Emotion"], + ["🤭","face with hand over mouth","Smileys & Emotion"], + ["🫢","face with open eyes and hand over mouth","Smileys & Emotion"], + ["🫣","face with peeking eye","Smileys & Emotion"], + ["🤫","shushing face","Smileys & Emotion"], + ["🤔","thinking face","Smileys & Emotion"], + ["🫡","saluting face","Smileys & Emotion"], + ["🤐","zipper-mouth face","Smileys & Emotion"], + ["🤨","face with raised eyebrow","Smileys & Emotion"], + ["😐","neutral face","Smileys & Emotion"], + ["😑","expressionless face","Smileys & Emotion"], + ["😶","face without mouth","Smileys & Emotion"], + ["🫥","dotted line face","Smileys & Emotion"], + ["😶‍🌫️","face in clouds","Smileys & Emotion"], + ["😏","smirking face","Smileys & Emotion"], + ["😒","unamused face","Smileys & Emotion"], + ["🙄","face with rolling eyes","Smileys & Emotion"], + ["😬","grimacing face","Smileys & Emotion"], + ["😮‍💨","face exhaling","Smileys & Emotion"], + ["🤥","lying face","Smileys & Emotion"], + ["🫨","shaking face","Smileys & Emotion"], + ["🙂‍↔️","head shaking horizontally","Smileys & Emotion"], + ["🙂‍↕️","head shaking vertically","Smileys & Emotion"], + ["😌","relieved face","Smileys & Emotion"], + ["😔","pensive face","Smileys & Emotion"], + ["😪","sleepy face","Smileys & Emotion"], + ["🤤","drooling face","Smileys & Emotion"], + ["😴","sleeping face","Smileys & Emotion"], + ["🫩","face with bags under eyes","Smileys & Emotion"], + ["😷","face with medical mask","Smileys & Emotion"], + ["🤒","face with thermometer","Smileys & Emotion"], + ["🤕","face with head-bandage","Smileys & Emotion"], + ["🤢","nauseated face","Smileys & Emotion"], + ["🤮","face vomiting","Smileys & Emotion"], + ["🤧","sneezing face","Smileys & Emotion"], + ["🥵","hot face","Smileys & Emotion"], + ["🥶","cold face","Smileys & Emotion"], + ["🥴","woozy face","Smileys & Emotion"], + ["😵","face with crossed-out eyes","Smileys & Emotion"], + ["😵‍💫","face with spiral eyes","Smileys & Emotion"], + ["🤯","exploding head","Smileys & Emotion"], + ["🤠","cowboy hat face","Smileys & Emotion"], + ["🥳","partying face","Smileys & Emotion"], + ["🥸","disguised face","Smileys & Emotion"], + ["😎","smiling face with sunglasses","Smileys & Emotion"], + ["🤓","nerd face","Smileys & Emotion"], + ["🧐","face with monocle","Smileys & Emotion"], + ["😕","confused face","Smileys & Emotion"], + ["🫤","face with diagonal mouth","Smileys & Emotion"], + ["😟","worried face","Smileys & Emotion"], + ["🙁","slightly frowning face","Smileys & Emotion"], + ["☹️","frowning face","Smileys & Emotion"], + ["😮","face with open mouth","Smileys & Emotion"], + ["😯","hushed face","Smileys & Emotion"], + ["😲","astonished face","Smileys & Emotion"], + ["😳","flushed face","Smileys & Emotion"], + ["🫪","distorted face","Smileys & Emotion"], + ["🥺","pleading face","Smileys & Emotion"], + ["🥹","face holding back tears","Smileys & Emotion"], + ["😦","frowning face with open mouth","Smileys & Emotion"], + ["😧","anguished face","Smileys & Emotion"], + ["😨","fearful face","Smileys & Emotion"], + ["😰","anxious face with sweat","Smileys & Emotion"], + ["😥","sad but relieved face","Smileys & Emotion"], + ["😢","crying face","Smileys & Emotion"], + ["😭","loudly crying face","Smileys & Emotion"], + ["😱","face screaming in fear","Smileys & Emotion"], + ["😖","confounded face","Smileys & Emotion"], + ["😣","persevering face","Smileys & Emotion"], + ["😞","disappointed face","Smileys & Emotion"], + ["😓","downcast face with sweat","Smileys & Emotion"], + ["😩","weary face","Smileys & Emotion"], + ["😫","tired face","Smileys & Emotion"], + ["🥱","yawning face","Smileys & Emotion"], + ["😤","face with steam from nose","Smileys & Emotion"], + ["😡","enraged face","Smileys & Emotion"], + ["😠","angry face","Smileys & Emotion"], + ["🤬","face with symbols on mouth","Smileys & Emotion"], + ["😈","smiling face with horns","Smileys & Emotion"], + ["👿","angry face with horns","Smileys & Emotion"], + ["💀","skull","Smileys & Emotion"], + ["☠️","skull and crossbones","Smileys & Emotion"], + ["💩","pile of poo","Smileys & Emotion"], + ["🤡","clown face","Smileys & Emotion"], + ["👹","ogre","Smileys & Emotion"], + ["👺","goblin","Smileys & Emotion"], + ["👻","ghost","Smileys & Emotion"], + ["👽","alien","Smileys & Emotion"], + ["👾","alien monster","Smileys & Emotion"], + ["🤖","robot","Smileys & Emotion"], + ["😺","grinning cat","Smileys & Emotion"], + ["😸","grinning cat with smiling eyes","Smileys & Emotion"], + ["😹","cat with tears of joy","Smileys & Emotion"], + ["😻","smiling cat with heart-eyes","Smileys & Emotion"], + ["😼","cat with wry smile","Smileys & Emotion"], + ["😽","kissing cat","Smileys & Emotion"], + ["🙀","weary cat","Smileys & Emotion"], + ["😿","crying cat","Smileys & Emotion"], + ["😾","pouting cat","Smileys & Emotion"], + ["🙈","see-no-evil monkey","Smileys & Emotion"], + ["🙉","hear-no-evil monkey","Smileys & Emotion"], + ["🙊","speak-no-evil monkey","Smileys & Emotion"], + ["💌","love letter","Smileys & Emotion"], + ["💘","heart with arrow","Smileys & Emotion"], + ["💝","heart with ribbon","Smileys & Emotion"], + ["💖","sparkling heart","Smileys & Emotion"], + ["💗","growing heart","Smileys & Emotion"], + ["💓","beating heart","Smileys & Emotion"], + ["💞","revolving hearts","Smileys & Emotion"], + ["💕","two hearts","Smileys & Emotion"], + ["💟","heart decoration","Smileys & Emotion"], + ["❣️","heart exclamation","Smileys & Emotion"], + ["💔","broken heart","Smileys & Emotion"], + ["❤️‍🔥","heart on fire","Smileys & Emotion"], + ["❤️‍🩹","mending heart","Smileys & Emotion"], + ["❤️","red heart","Smileys & Emotion"], + ["🩷","pink heart","Smileys & Emotion"], + ["🧡","orange heart","Smileys & Emotion"], + ["💛","yellow heart","Smileys & Emotion"], + ["💚","green heart","Smileys & Emotion"], + ["💙","blue heart","Smileys & Emotion"], + ["🩵","light blue heart","Smileys & Emotion"], + ["💜","purple heart","Smileys & Emotion"], + ["🤎","brown heart","Smileys & Emotion"], + ["🖤","black heart","Smileys & Emotion"], + ["🩶","grey heart","Smileys & Emotion"], + ["🤍","white heart","Smileys & Emotion"], + ["💋","kiss mark","Smileys & Emotion"], + ["💯","hundred points","Smileys & Emotion"], + ["💢","anger symbol","Smileys & Emotion"], + ["🫯","fight cloud","Smileys & Emotion"], + ["💥","collision","Smileys & Emotion"], + ["💫","dizzy","Smileys & Emotion"], + ["💦","sweat droplets","Smileys & Emotion"], + ["💨","dashing away","Smileys & Emotion"], + ["🕳️","hole","Smileys & Emotion"], + ["💬","speech balloon","Smileys & Emotion"], + ["👁️‍🗨️","eye in speech bubble","Smileys & Emotion"], + ["🗨️","left speech bubble","Smileys & Emotion"], + ["🗯️","right anger bubble","Smileys & Emotion"], + ["💭","thought balloon","Smileys & Emotion"], + ["💤","ZZZ","Smileys & Emotion"], + ["👋","waving hand","People & Body"], + ["👋🏻","waving hand: light skin tone","People & Body"], + ["👋🏼","waving hand: medium-light skin tone","People & Body"], + ["👋🏽","waving hand: medium skin tone","People & Body"], + ["👋🏾","waving hand: medium-dark skin tone","People & Body"], + ["👋🏿","waving hand: dark skin tone","People & Body"], + ["🤚","raised back of hand","People & Body"], + ["🤚🏻","raised back of hand: light skin tone","People & Body"], + ["🤚🏼","raised back of hand: medium-light skin tone","People & Body"], + ["🤚🏽","raised back of hand: medium skin tone","People & Body"], + ["🤚🏾","raised back of hand: medium-dark skin tone","People & Body"], + ["🤚🏿","raised back of hand: dark skin tone","People & Body"], + ["🖐️","hand with fingers splayed","People & Body"], + ["🖐🏻","hand with fingers splayed: light skin tone","People & Body"], + ["🖐🏼","hand with fingers splayed: medium-light skin tone","People & Body"], + ["🖐🏽","hand with fingers splayed: medium skin tone","People & Body"], + ["🖐🏾","hand with fingers splayed: medium-dark skin tone","People & Body"], + ["🖐🏿","hand with fingers splayed: dark skin tone","People & Body"], + ["✋","raised hand","People & Body"], + ["✋🏻","raised hand: light skin tone","People & Body"], + ["✋🏼","raised hand: medium-light skin tone","People & Body"], + ["✋🏽","raised hand: medium skin tone","People & Body"], + ["✋🏾","raised hand: medium-dark skin tone","People & Body"], + ["✋🏿","raised hand: dark skin tone","People & Body"], + ["🖖","vulcan salute","People & Body"], + ["🖖🏻","vulcan salute: light skin tone","People & Body"], + ["🖖🏼","vulcan salute: medium-light skin tone","People & Body"], + ["🖖🏽","vulcan salute: medium skin tone","People & Body"], + ["🖖🏾","vulcan salute: medium-dark skin tone","People & Body"], + ["🖖🏿","vulcan salute: dark skin tone","People & Body"], + ["🫱","rightwards hand","People & Body"], + ["🫱🏻","rightwards hand: light skin tone","People & Body"], + ["🫱🏼","rightwards hand: medium-light skin tone","People & Body"], + ["🫱🏽","rightwards hand: medium skin tone","People & Body"], + ["🫱🏾","rightwards hand: medium-dark skin tone","People & Body"], + ["🫱🏿","rightwards hand: dark skin tone","People & Body"], + ["🫲","leftwards hand","People & Body"], + ["🫲🏻","leftwards hand: light skin tone","People & Body"], + ["🫲🏼","leftwards hand: medium-light skin tone","People & Body"], + ["🫲🏽","leftwards hand: medium skin tone","People & Body"], + ["🫲🏾","leftwards hand: medium-dark skin tone","People & Body"], + ["🫲🏿","leftwards hand: dark skin tone","People & Body"], + ["🫳","palm down hand","People & Body"], + ["🫳🏻","palm down hand: light skin tone","People & Body"], + ["🫳🏼","palm down hand: medium-light skin tone","People & Body"], + ["🫳🏽","palm down hand: medium skin tone","People & Body"], + ["🫳🏾","palm down hand: medium-dark skin tone","People & Body"], + ["🫳🏿","palm down hand: dark skin tone","People & Body"], + ["🫴","palm up hand","People & Body"], + ["🫴🏻","palm up hand: light skin tone","People & Body"], + ["🫴🏼","palm up hand: medium-light skin tone","People & Body"], + ["🫴🏽","palm up hand: medium skin tone","People & Body"], + ["🫴🏾","palm up hand: medium-dark skin tone","People & Body"], + ["🫴🏿","palm up hand: dark skin tone","People & Body"], + ["🫷","leftwards pushing hand","People & Body"], + ["🫷🏻","leftwards pushing hand: light skin tone","People & Body"], + ["🫷🏼","leftwards pushing hand: medium-light skin tone","People & Body"], + ["🫷🏽","leftwards pushing hand: medium skin tone","People & Body"], + ["🫷🏾","leftwards pushing hand: medium-dark skin tone","People & Body"], + ["🫷🏿","leftwards pushing hand: dark skin tone","People & Body"], + ["🫸","rightwards pushing hand","People & Body"], + ["🫸🏻","rightwards pushing hand: light skin tone","People & Body"], + ["🫸🏼","rightwards pushing hand: medium-light skin tone","People & Body"], + ["🫸🏽","rightwards pushing hand: medium skin tone","People & Body"], + ["🫸🏾","rightwards pushing hand: medium-dark skin tone","People & Body"], + ["🫸🏿","rightwards pushing hand: dark skin tone","People & Body"], + ["👌","OK hand","People & Body"], + ["👌🏻","OK hand: light skin tone","People & Body"], + ["👌🏼","OK hand: medium-light skin tone","People & Body"], + ["👌🏽","OK hand: medium skin tone","People & Body"], + ["👌🏾","OK hand: medium-dark skin tone","People & Body"], + ["👌🏿","OK hand: dark skin tone","People & Body"], + ["🤌","pinched fingers","People & Body"], + ["🤌🏻","pinched fingers: light skin tone","People & Body"], + ["🤌🏼","pinched fingers: medium-light skin tone","People & Body"], + ["🤌🏽","pinched fingers: medium skin tone","People & Body"], + ["🤌🏾","pinched fingers: medium-dark skin tone","People & Body"], + ["🤌🏿","pinched fingers: dark skin tone","People & Body"], + ["🤏","pinching hand","People & Body"], + ["🤏🏻","pinching hand: light skin tone","People & Body"], + ["🤏🏼","pinching hand: medium-light skin tone","People & Body"], + ["🤏🏽","pinching hand: medium skin tone","People & Body"], + ["🤏🏾","pinching hand: medium-dark skin tone","People & Body"], + ["🤏🏿","pinching hand: dark skin tone","People & Body"], + ["✌️","victory hand","People & Body"], + ["✌🏻","victory hand: light skin tone","People & Body"], + ["✌🏼","victory hand: medium-light skin tone","People & Body"], + ["✌🏽","victory hand: medium skin tone","People & Body"], + ["✌🏾","victory hand: medium-dark skin tone","People & Body"], + ["✌🏿","victory hand: dark skin tone","People & Body"], + ["🤞","crossed fingers","People & Body"], + ["🤞🏻","crossed fingers: light skin tone","People & Body"], + ["🤞🏼","crossed fingers: medium-light skin tone","People & Body"], + ["🤞🏽","crossed fingers: medium skin tone","People & Body"], + ["🤞🏾","crossed fingers: medium-dark skin tone","People & Body"], + ["🤞🏿","crossed fingers: dark skin tone","People & Body"], + ["🫰","hand with index finger and thumb crossed","People & Body"], + ["🫰🏻","hand with index finger and thumb crossed: light skin tone","People & Body"], + ["🫰🏼","hand with index finger and thumb crossed: medium-light skin tone","People & Body"], + ["🫰🏽","hand with index finger and thumb crossed: medium skin tone","People & Body"], + ["🫰🏾","hand with index finger and thumb crossed: medium-dark skin tone","People & Body"], + ["🫰🏿","hand with index finger and thumb crossed: dark skin tone","People & Body"], + ["🤟","love-you gesture","People & Body"], + ["🤟🏻","love-you gesture: light skin tone","People & Body"], + ["🤟🏼","love-you gesture: medium-light skin tone","People & Body"], + ["🤟🏽","love-you gesture: medium skin tone","People & Body"], + ["🤟🏾","love-you gesture: medium-dark skin tone","People & Body"], + ["🤟🏿","love-you gesture: dark skin tone","People & Body"], + ["🤘","sign of the horns","People & Body"], + ["🤘🏻","sign of the horns: light skin tone","People & Body"], + ["🤘🏼","sign of the horns: medium-light skin tone","People & Body"], + ["🤘🏽","sign of the horns: medium skin tone","People & Body"], + ["🤘🏾","sign of the horns: medium-dark skin tone","People & Body"], + ["🤘🏿","sign of the horns: dark skin tone","People & Body"], + ["🤙","call me hand","People & Body"], + ["🤙🏻","call me hand: light skin tone","People & Body"], + ["🤙🏼","call me hand: medium-light skin tone","People & Body"], + ["🤙🏽","call me hand: medium skin tone","People & Body"], + ["🤙🏾","call me hand: medium-dark skin tone","People & Body"], + ["🤙🏿","call me hand: dark skin tone","People & Body"], + ["👈","backhand index pointing left","People & Body"], + ["👈🏻","backhand index pointing left: light skin tone","People & Body"], + ["👈🏼","backhand index pointing left: medium-light skin tone","People & Body"], + ["👈🏽","backhand index pointing left: medium skin tone","People & Body"], + ["👈🏾","backhand index pointing left: medium-dark skin tone","People & Body"], + ["👈🏿","backhand index pointing left: dark skin tone","People & Body"], + ["👉","backhand index pointing right","People & Body"], + ["👉🏻","backhand index pointing right: light skin tone","People & Body"], + ["👉🏼","backhand index pointing right: medium-light skin tone","People & Body"], + ["👉🏽","backhand index pointing right: medium skin tone","People & Body"], + ["👉🏾","backhand index pointing right: medium-dark skin tone","People & Body"], + ["👉🏿","backhand index pointing right: dark skin tone","People & Body"], + ["👆","backhand index pointing up","People & Body"], + ["👆🏻","backhand index pointing up: light skin tone","People & Body"], + ["👆🏼","backhand index pointing up: medium-light skin tone","People & Body"], + ["👆🏽","backhand index pointing up: medium skin tone","People & Body"], + ["👆🏾","backhand index pointing up: medium-dark skin tone","People & Body"], + ["👆🏿","backhand index pointing up: dark skin tone","People & Body"], + ["🖕","middle finger","People & Body"], + ["🖕🏻","middle finger: light skin tone","People & Body"], + ["🖕🏼","middle finger: medium-light skin tone","People & Body"], + ["🖕🏽","middle finger: medium skin tone","People & Body"], + ["🖕🏾","middle finger: medium-dark skin tone","People & Body"], + ["🖕🏿","middle finger: dark skin tone","People & Body"], + ["👇","backhand index pointing down","People & Body"], + ["👇🏻","backhand index pointing down: light skin tone","People & Body"], + ["👇🏼","backhand index pointing down: medium-light skin tone","People & Body"], + ["👇🏽","backhand index pointing down: medium skin tone","People & Body"], + ["👇🏾","backhand index pointing down: medium-dark skin tone","People & Body"], + ["👇🏿","backhand index pointing down: dark skin tone","People & Body"], + ["☝️","index pointing up","People & Body"], + ["☝🏻","index pointing up: light skin tone","People & Body"], + ["☝🏼","index pointing up: medium-light skin tone","People & Body"], + ["☝🏽","index pointing up: medium skin tone","People & Body"], + ["☝🏾","index pointing up: medium-dark skin tone","People & Body"], + ["☝🏿","index pointing up: dark skin tone","People & Body"], + ["🫵","index pointing at the viewer","People & Body"], + ["🫵🏻","index pointing at the viewer: light skin tone","People & Body"], + ["🫵🏼","index pointing at the viewer: medium-light skin tone","People & Body"], + ["🫵🏽","index pointing at the viewer: medium skin tone","People & Body"], + ["🫵🏾","index pointing at the viewer: medium-dark skin tone","People & Body"], + ["🫵🏿","index pointing at the viewer: dark skin tone","People & Body"], + ["👍","thumbs up","People & Body"], + ["👍🏻","thumbs up: light skin tone","People & Body"], + ["👍🏼","thumbs up: medium-light skin tone","People & Body"], + ["👍🏽","thumbs up: medium skin tone","People & Body"], + ["👍🏾","thumbs up: medium-dark skin tone","People & Body"], + ["👍🏿","thumbs up: dark skin tone","People & Body"], + ["👎","thumbs down","People & Body"], + ["👎🏻","thumbs down: light skin tone","People & Body"], + ["👎🏼","thumbs down: medium-light skin tone","People & Body"], + ["👎🏽","thumbs down: medium skin tone","People & Body"], + ["👎🏾","thumbs down: medium-dark skin tone","People & Body"], + ["👎🏿","thumbs down: dark skin tone","People & Body"], + ["🫹","leftwards thumb sign","People & Body"], + ["🫹🏻","leftwards thumb sign: light skin tone","People & Body"], + ["🫹🏼","leftwards thumb sign: medium-light skin tone","People & Body"], + ["🫹🏽","leftwards thumb sign: medium skin tone","People & Body"], + ["🫹🏾","leftwards thumb sign: medium-dark skin tone","People & Body"], + ["🫹🏿","leftwards thumb sign: dark skin tone","People & Body"], + ["🫺","rightwards thumb sign","People & Body"], + ["🫺🏻","rightwards thumb sign: light skin tone","People & Body"], + ["🫺🏼","rightwards thumb sign: medium-light skin tone","People & Body"], + ["🫺🏽","rightwards thumb sign: medium skin tone","People & Body"], + ["🫺🏾","rightwards thumb sign: medium-dark skin tone","People & Body"], + ["🫺🏿","rightwards thumb sign: dark skin tone","People & Body"], + ["✊","raised fist","People & Body"], + ["✊🏻","raised fist: light skin tone","People & Body"], + ["✊🏼","raised fist: medium-light skin tone","People & Body"], + ["✊🏽","raised fist: medium skin tone","People & Body"], + ["✊🏾","raised fist: medium-dark skin tone","People & Body"], + ["✊🏿","raised fist: dark skin tone","People & Body"], + ["👊","oncoming fist","People & Body"], + ["👊🏻","oncoming fist: light skin tone","People & Body"], + ["👊🏼","oncoming fist: medium-light skin tone","People & Body"], + ["👊🏽","oncoming fist: medium skin tone","People & Body"], + ["👊🏾","oncoming fist: medium-dark skin tone","People & Body"], + ["👊🏿","oncoming fist: dark skin tone","People & Body"], + ["🤛","left-facing fist","People & Body"], + ["🤛🏻","left-facing fist: light skin tone","People & Body"], + ["🤛🏼","left-facing fist: medium-light skin tone","People & Body"], + ["🤛🏽","left-facing fist: medium skin tone","People & Body"], + ["🤛🏾","left-facing fist: medium-dark skin tone","People & Body"], + ["🤛🏿","left-facing fist: dark skin tone","People & Body"], + ["🤜","right-facing fist","People & Body"], + ["🤜🏻","right-facing fist: light skin tone","People & Body"], + ["🤜🏼","right-facing fist: medium-light skin tone","People & Body"], + ["🤜🏽","right-facing fist: medium skin tone","People & Body"], + ["🤜🏾","right-facing fist: medium-dark skin tone","People & Body"], + ["🤜🏿","right-facing fist: dark skin tone","People & Body"], + ["👏","clapping hands","People & Body"], + ["👏🏻","clapping hands: light skin tone","People & Body"], + ["👏🏼","clapping hands: medium-light skin tone","People & Body"], + ["👏🏽","clapping hands: medium skin tone","People & Body"], + ["👏🏾","clapping hands: medium-dark skin tone","People & Body"], + ["👏🏿","clapping hands: dark skin tone","People & Body"], + ["🙌","raising hands","People & Body"], + ["🙌🏻","raising hands: light skin tone","People & Body"], + ["🙌🏼","raising hands: medium-light skin tone","People & Body"], + ["🙌🏽","raising hands: medium skin tone","People & Body"], + ["🙌🏾","raising hands: medium-dark skin tone","People & Body"], + ["🙌🏿","raising hands: dark skin tone","People & Body"], + ["🫶","heart hands","People & Body"], + ["🫶🏻","heart hands: light skin tone","People & Body"], + ["🫶🏼","heart hands: medium-light skin tone","People & Body"], + ["🫶🏽","heart hands: medium skin tone","People & Body"], + ["🫶🏾","heart hands: medium-dark skin tone","People & Body"], + ["🫶🏿","heart hands: dark skin tone","People & Body"], + ["👐","open hands","People & Body"], + ["👐🏻","open hands: light skin tone","People & Body"], + ["👐🏼","open hands: medium-light skin tone","People & Body"], + ["👐🏽","open hands: medium skin tone","People & Body"], + ["👐🏾","open hands: medium-dark skin tone","People & Body"], + ["👐🏿","open hands: dark skin tone","People & Body"], + ["🤲","palms up together","People & Body"], + ["🤲🏻","palms up together: light skin tone","People & Body"], + ["🤲🏼","palms up together: medium-light skin tone","People & Body"], + ["🤲🏽","palms up together: medium skin tone","People & Body"], + ["🤲🏾","palms up together: medium-dark skin tone","People & Body"], + ["🤲🏿","palms up together: dark skin tone","People & Body"], + ["🤝","handshake","People & Body"], + ["🤝🏻","handshake: light skin tone","People & Body"], + ["🤝🏼","handshake: medium-light skin tone","People & Body"], + ["🤝🏽","handshake: medium skin tone","People & Body"], + ["🤝🏾","handshake: medium-dark skin tone","People & Body"], + ["🤝🏿","handshake: dark skin tone","People & Body"], + ["🫱🏻‍🫲🏼","handshake: light skin tone, medium-light skin tone","People & Body"], + ["🫱🏻‍🫲🏽","handshake: light skin tone, medium skin tone","People & Body"], + ["🫱🏻‍🫲🏾","handshake: light skin tone, medium-dark skin tone","People & Body"], + ["🫱🏻‍🫲🏿","handshake: light skin tone, dark skin tone","People & Body"], + ["🫱🏼‍🫲🏻","handshake: medium-light skin tone, light skin tone","People & Body"], + ["🫱🏼‍🫲🏽","handshake: medium-light skin tone, medium skin tone","People & Body"], + ["🫱🏼‍🫲🏾","handshake: medium-light skin tone, medium-dark skin tone","People & Body"], + ["🫱🏼‍🫲🏿","handshake: medium-light skin tone, dark skin tone","People & Body"], + ["🫱🏽‍🫲🏻","handshake: medium skin tone, light skin tone","People & Body"], + ["🫱🏽‍🫲🏼","handshake: medium skin tone, medium-light skin tone","People & Body"], + ["🫱🏽‍🫲🏾","handshake: medium skin tone, medium-dark skin tone","People & Body"], + ["🫱🏽‍🫲🏿","handshake: medium skin tone, dark skin tone","People & Body"], + ["🫱🏾‍🫲🏻","handshake: medium-dark skin tone, light skin tone","People & Body"], + ["🫱🏾‍🫲🏼","handshake: medium-dark skin tone, medium-light skin tone","People & Body"], + ["🫱🏾‍🫲🏽","handshake: medium-dark skin tone, medium skin tone","People & Body"], + ["🫱🏾‍🫲🏿","handshake: medium-dark skin tone, dark skin tone","People & Body"], + ["🫱🏿‍🫲🏻","handshake: dark skin tone, light skin tone","People & Body"], + ["🫱🏿‍🫲🏼","handshake: dark skin tone, medium-light skin tone","People & Body"], + ["🫱🏿‍🫲🏽","handshake: dark skin tone, medium skin tone","People & Body"], + ["🫱🏿‍🫲🏾","handshake: dark skin tone, medium-dark skin tone","People & Body"], + ["🙏","folded hands","People & Body"], + ["🙏🏻","folded hands: light skin tone","People & Body"], + ["🙏🏼","folded hands: medium-light skin tone","People & Body"], + ["🙏🏽","folded hands: medium skin tone","People & Body"], + ["🙏🏾","folded hands: medium-dark skin tone","People & Body"], + ["🙏🏿","folded hands: dark skin tone","People & Body"], + ["✍️","writing hand","People & Body"], + ["✍🏻","writing hand: light skin tone","People & Body"], + ["✍🏼","writing hand: medium-light skin tone","People & Body"], + ["✍🏽","writing hand: medium skin tone","People & Body"], + ["✍🏾","writing hand: medium-dark skin tone","People & Body"], + ["✍🏿","writing hand: dark skin tone","People & Body"], + ["💅","nail polish","People & Body"], + ["💅🏻","nail polish: light skin tone","People & Body"], + ["💅🏼","nail polish: medium-light skin tone","People & Body"], + ["💅🏽","nail polish: medium skin tone","People & Body"], + ["💅🏾","nail polish: medium-dark skin tone","People & Body"], + ["💅🏿","nail polish: dark skin tone","People & Body"], + ["🤳","selfie","People & Body"], + ["🤳🏻","selfie: light skin tone","People & Body"], + ["🤳🏼","selfie: medium-light skin tone","People & Body"], + ["🤳🏽","selfie: medium skin tone","People & Body"], + ["🤳🏾","selfie: medium-dark skin tone","People & Body"], + ["🤳🏿","selfie: dark skin tone","People & Body"], + ["💪","flexed biceps","People & Body"], + ["💪🏻","flexed biceps: light skin tone","People & Body"], + ["💪🏼","flexed biceps: medium-light skin tone","People & Body"], + ["💪🏽","flexed biceps: medium skin tone","People & Body"], + ["💪🏾","flexed biceps: medium-dark skin tone","People & Body"], + ["💪🏿","flexed biceps: dark skin tone","People & Body"], + ["🦾","mechanical arm","People & Body"], + ["🦿","mechanical leg","People & Body"], + ["🦵","leg","People & Body"], + ["🦵🏻","leg: light skin tone","People & Body"], + ["🦵🏼","leg: medium-light skin tone","People & Body"], + ["🦵🏽","leg: medium skin tone","People & Body"], + ["🦵🏾","leg: medium-dark skin tone","People & Body"], + ["🦵🏿","leg: dark skin tone","People & Body"], + ["🦶","foot","People & Body"], + ["🦶🏻","foot: light skin tone","People & Body"], + ["🦶🏼","foot: medium-light skin tone","People & Body"], + ["🦶🏽","foot: medium skin tone","People & Body"], + ["🦶🏾","foot: medium-dark skin tone","People & Body"], + ["🦶🏿","foot: dark skin tone","People & Body"], + ["👂","ear","People & Body"], + ["👂🏻","ear: light skin tone","People & Body"], + ["👂🏼","ear: medium-light skin tone","People & Body"], + ["👂🏽","ear: medium skin tone","People & Body"], + ["👂🏾","ear: medium-dark skin tone","People & Body"], + ["👂🏿","ear: dark skin tone","People & Body"], + ["🦻","ear with hearing aid","People & Body"], + ["🦻🏻","ear with hearing aid: light skin tone","People & Body"], + ["🦻🏼","ear with hearing aid: medium-light skin tone","People & Body"], + ["🦻🏽","ear with hearing aid: medium skin tone","People & Body"], + ["🦻🏾","ear with hearing aid: medium-dark skin tone","People & Body"], + ["🦻🏿","ear with hearing aid: dark skin tone","People & Body"], + ["👃","nose","People & Body"], + ["👃🏻","nose: light skin tone","People & Body"], + ["👃🏼","nose: medium-light skin tone","People & Body"], + ["👃🏽","nose: medium skin tone","People & Body"], + ["👃🏾","nose: medium-dark skin tone","People & Body"], + ["👃🏿","nose: dark skin tone","People & Body"], + ["🧠","brain","People & Body"], + ["🫀","anatomical heart","People & Body"], + ["🫁","lungs","People & Body"], + ["🦷","tooth","People & Body"], + ["🦴","bone","People & Body"], + ["👀","eyes","People & Body"], + ["👁️","eye","People & Body"], + ["👅","tongue","People & Body"], + ["👄","mouth","People & Body"], + ["🫦","biting lip","People & Body"], + ["👶","baby","People & Body"], + ["👶🏻","baby: light skin tone","People & Body"], + ["👶🏼","baby: medium-light skin tone","People & Body"], + ["👶🏽","baby: medium skin tone","People & Body"], + ["👶🏾","baby: medium-dark skin tone","People & Body"], + ["👶🏿","baby: dark skin tone","People & Body"], + ["🧒","child","People & Body"], + ["🧒🏻","child: light skin tone","People & Body"], + ["🧒🏼","child: medium-light skin tone","People & Body"], + ["🧒🏽","child: medium skin tone","People & Body"], + ["🧒🏾","child: medium-dark skin tone","People & Body"], + ["🧒🏿","child: dark skin tone","People & Body"], + ["👦","boy","People & Body"], + ["👦🏻","boy: light skin tone","People & Body"], + ["👦🏼","boy: medium-light skin tone","People & Body"], + ["👦🏽","boy: medium skin tone","People & Body"], + ["👦🏾","boy: medium-dark skin tone","People & Body"], + ["👦🏿","boy: dark skin tone","People & Body"], + ["👧","girl","People & Body"], + ["👧🏻","girl: light skin tone","People & Body"], + ["👧🏼","girl: medium-light skin tone","People & Body"], + ["👧🏽","girl: medium skin tone","People & Body"], + ["👧🏾","girl: medium-dark skin tone","People & Body"], + ["👧🏿","girl: dark skin tone","People & Body"], + ["🧑","person","People & Body"], + ["🧑🏻","person: light skin tone","People & Body"], + ["🧑🏼","person: medium-light skin tone","People & Body"], + ["🧑🏽","person: medium skin tone","People & Body"], + ["🧑🏾","person: medium-dark skin tone","People & Body"], + ["🧑🏿","person: dark skin tone","People & Body"], + ["👱","person: blond hair","People & Body"], + ["👱🏻","person: light skin tone, blond hair","People & Body"], + ["👱🏼","person: medium-light skin tone, blond hair","People & Body"], + ["👱🏽","person: medium skin tone, blond hair","People & Body"], + ["👱🏾","person: medium-dark skin tone, blond hair","People & Body"], + ["👱🏿","person: dark skin tone, blond hair","People & Body"], + ["👨","man","People & Body"], + ["👨🏻","man: light skin tone","People & Body"], + ["👨🏼","man: medium-light skin tone","People & Body"], + ["👨🏽","man: medium skin tone","People & Body"], + ["👨🏾","man: medium-dark skin tone","People & Body"], + ["👨🏿","man: dark skin tone","People & Body"], + ["🧔","person: beard","People & Body"], + ["🧔🏻","person: light skin tone, beard","People & Body"], + ["🧔🏼","person: medium-light skin tone, beard","People & Body"], + ["🧔🏽","person: medium skin tone, beard","People & Body"], + ["🧔🏾","person: medium-dark skin tone, beard","People & Body"], + ["🧔🏿","person: dark skin tone, beard","People & Body"], + ["🧔‍♂️","man: beard","People & Body"], + ["🧔🏻‍♂️","man: light skin tone, beard","People & Body"], + ["🧔🏼‍♂️","man: medium-light skin tone, beard","People & Body"], + ["🧔🏽‍♂️","man: medium skin tone, beard","People & Body"], + ["🧔🏾‍♂️","man: medium-dark skin tone, beard","People & Body"], + ["🧔🏿‍♂️","man: dark skin tone, beard","People & Body"], + ["🧔‍♀️","woman: beard","People & Body"], + ["🧔🏻‍♀️","woman: light skin tone, beard","People & Body"], + ["🧔🏼‍♀️","woman: medium-light skin tone, beard","People & Body"], + ["🧔🏽‍♀️","woman: medium skin tone, beard","People & Body"], + ["🧔🏾‍♀️","woman: medium-dark skin tone, beard","People & Body"], + ["🧔🏿‍♀️","woman: dark skin tone, beard","People & Body"], + ["👨‍🦰","man: red hair","People & Body"], + ["👨🏻‍🦰","man: light skin tone, red hair","People & Body"], + ["👨🏼‍🦰","man: medium-light skin tone, red hair","People & Body"], + ["👨🏽‍🦰","man: medium skin tone, red hair","People & Body"], + ["👨🏾‍🦰","man: medium-dark skin tone, red hair","People & Body"], + ["👨🏿‍🦰","man: dark skin tone, red hair","People & Body"], + ["👨‍🦱","man: curly hair","People & Body"], + ["👨🏻‍🦱","man: light skin tone, curly hair","People & Body"], + ["👨🏼‍🦱","man: medium-light skin tone, curly hair","People & Body"], + ["👨🏽‍🦱","man: medium skin tone, curly hair","People & Body"], + ["👨🏾‍🦱","man: medium-dark skin tone, curly hair","People & Body"], + ["👨🏿‍🦱","man: dark skin tone, curly hair","People & Body"], + ["👨‍🦳","man: white hair","People & Body"], + ["👨🏻‍🦳","man: light skin tone, white hair","People & Body"], + ["👨🏼‍🦳","man: medium-light skin tone, white hair","People & Body"], + ["👨🏽‍🦳","man: medium skin tone, white hair","People & Body"], + ["👨🏾‍🦳","man: medium-dark skin tone, white hair","People & Body"], + ["👨🏿‍🦳","man: dark skin tone, white hair","People & Body"], + ["👨‍🦲","man: bald","People & Body"], + ["👨🏻‍🦲","man: light skin tone, bald","People & Body"], + ["👨🏼‍🦲","man: medium-light skin tone, bald","People & Body"], + ["👨🏽‍🦲","man: medium skin tone, bald","People & Body"], + ["👨🏾‍🦲","man: medium-dark skin tone, bald","People & Body"], + ["👨🏿‍🦲","man: dark skin tone, bald","People & Body"], + ["👩","woman","People & Body"], + ["👩🏻","woman: light skin tone","People & Body"], + ["👩🏼","woman: medium-light skin tone","People & Body"], + ["👩🏽","woman: medium skin tone","People & Body"], + ["👩🏾","woman: medium-dark skin tone","People & Body"], + ["👩🏿","woman: dark skin tone","People & Body"], + ["👩‍🦰","woman: red hair","People & Body"], + ["👩🏻‍🦰","woman: light skin tone, red hair","People & Body"], + ["👩🏼‍🦰","woman: medium-light skin tone, red hair","People & Body"], + ["👩🏽‍🦰","woman: medium skin tone, red hair","People & Body"], + ["👩🏾‍🦰","woman: medium-dark skin tone, red hair","People & Body"], + ["👩🏿‍🦰","woman: dark skin tone, red hair","People & Body"], + ["🧑‍🦰","person: red hair","People & Body"], + ["🧑🏻‍🦰","person: light skin tone, red hair","People & Body"], + ["🧑🏼‍🦰","person: medium-light skin tone, red hair","People & Body"], + ["🧑🏽‍🦰","person: medium skin tone, red hair","People & Body"], + ["🧑🏾‍🦰","person: medium-dark skin tone, red hair","People & Body"], + ["🧑🏿‍🦰","person: dark skin tone, red hair","People & Body"], + ["👩‍🦱","woman: curly hair","People & Body"], + ["👩🏻‍🦱","woman: light skin tone, curly hair","People & Body"], + ["👩🏼‍🦱","woman: medium-light skin tone, curly hair","People & Body"], + ["👩🏽‍🦱","woman: medium skin tone, curly hair","People & Body"], + ["👩🏾‍🦱","woman: medium-dark skin tone, curly hair","People & Body"], + ["👩🏿‍🦱","woman: dark skin tone, curly hair","People & Body"], + ["🧑‍🦱","person: curly hair","People & Body"], + ["🧑🏻‍🦱","person: light skin tone, curly hair","People & Body"], + ["🧑🏼‍🦱","person: medium-light skin tone, curly hair","People & Body"], + ["🧑🏽‍🦱","person: medium skin tone, curly hair","People & Body"], + ["🧑🏾‍🦱","person: medium-dark skin tone, curly hair","People & Body"], + ["🧑🏿‍🦱","person: dark skin tone, curly hair","People & Body"], + ["👩‍🦳","woman: white hair","People & Body"], + ["👩🏻‍🦳","woman: light skin tone, white hair","People & Body"], + ["👩🏼‍🦳","woman: medium-light skin tone, white hair","People & Body"], + ["👩🏽‍🦳","woman: medium skin tone, white hair","People & Body"], + ["👩🏾‍🦳","woman: medium-dark skin tone, white hair","People & Body"], + ["👩🏿‍🦳","woman: dark skin tone, white hair","People & Body"], + ["🧑‍🦳","person: white hair","People & Body"], + ["🧑🏻‍🦳","person: light skin tone, white hair","People & Body"], + ["🧑🏼‍🦳","person: medium-light skin tone, white hair","People & Body"], + ["🧑🏽‍🦳","person: medium skin tone, white hair","People & Body"], + ["🧑🏾‍🦳","person: medium-dark skin tone, white hair","People & Body"], + ["🧑🏿‍🦳","person: dark skin tone, white hair","People & Body"], + ["👩‍🦲","woman: bald","People & Body"], + ["👩🏻‍🦲","woman: light skin tone, bald","People & Body"], + ["👩🏼‍🦲","woman: medium-light skin tone, bald","People & Body"], + ["👩🏽‍🦲","woman: medium skin tone, bald","People & Body"], + ["👩🏾‍🦲","woman: medium-dark skin tone, bald","People & Body"], + ["👩🏿‍🦲","woman: dark skin tone, bald","People & Body"], + ["🧑‍🦲","person: bald","People & Body"], + ["🧑🏻‍🦲","person: light skin tone, bald","People & Body"], + ["🧑🏼‍🦲","person: medium-light skin tone, bald","People & Body"], + ["🧑🏽‍🦲","person: medium skin tone, bald","People & Body"], + ["🧑🏾‍🦲","person: medium-dark skin tone, bald","People & Body"], + ["🧑🏿‍🦲","person: dark skin tone, bald","People & Body"], + ["👱‍♀️","woman: blond hair","People & Body"], + ["👱🏻‍♀️","woman: light skin tone, blond hair","People & Body"], + ["👱🏼‍♀️","woman: medium-light skin tone, blond hair","People & Body"], + ["👱🏽‍♀️","woman: medium skin tone, blond hair","People & Body"], + ["👱🏾‍♀️","woman: medium-dark skin tone, blond hair","People & Body"], + ["👱🏿‍♀️","woman: dark skin tone, blond hair","People & Body"], + ["👱‍♂️","man: blond hair","People & Body"], + ["👱🏻‍♂️","man: light skin tone, blond hair","People & Body"], + ["👱🏼‍♂️","man: medium-light skin tone, blond hair","People & Body"], + ["👱🏽‍♂️","man: medium skin tone, blond hair","People & Body"], + ["👱🏾‍♂️","man: medium-dark skin tone, blond hair","People & Body"], + ["👱🏿‍♂️","man: dark skin tone, blond hair","People & Body"], + ["🧓","older person","People & Body"], + ["🧓🏻","older person: light skin tone","People & Body"], + ["🧓🏼","older person: medium-light skin tone","People & Body"], + ["🧓🏽","older person: medium skin tone","People & Body"], + ["🧓🏾","older person: medium-dark skin tone","People & Body"], + ["🧓🏿","older person: dark skin tone","People & Body"], + ["👴","old man","People & Body"], + ["👴🏻","old man: light skin tone","People & Body"], + ["👴🏼","old man: medium-light skin tone","People & Body"], + ["👴🏽","old man: medium skin tone","People & Body"], + ["👴🏾","old man: medium-dark skin tone","People & Body"], + ["👴🏿","old man: dark skin tone","People & Body"], + ["👵","old woman","People & Body"], + ["👵🏻","old woman: light skin tone","People & Body"], + ["👵🏼","old woman: medium-light skin tone","People & Body"], + ["👵🏽","old woman: medium skin tone","People & Body"], + ["👵🏾","old woman: medium-dark skin tone","People & Body"], + ["👵🏿","old woman: dark skin tone","People & Body"], + ["🙍","person frowning","People & Body"], + ["🙍🏻","person frowning: light skin tone","People & Body"], + ["🙍🏼","person frowning: medium-light skin tone","People & Body"], + ["🙍🏽","person frowning: medium skin tone","People & Body"], + ["🙍🏾","person frowning: medium-dark skin tone","People & Body"], + ["🙍🏿","person frowning: dark skin tone","People & Body"], + ["🙍‍♂️","man frowning","People & Body"], + ["🙍🏻‍♂️","man frowning: light skin tone","People & Body"], + ["🙍🏼‍♂️","man frowning: medium-light skin tone","People & Body"], + ["🙍🏽‍♂️","man frowning: medium skin tone","People & Body"], + ["🙍🏾‍♂️","man frowning: medium-dark skin tone","People & Body"], + ["🙍🏿‍♂️","man frowning: dark skin tone","People & Body"], + ["🙍‍♀️","woman frowning","People & Body"], + ["🙍🏻‍♀️","woman frowning: light skin tone","People & Body"], + ["🙍🏼‍♀️","woman frowning: medium-light skin tone","People & Body"], + ["🙍🏽‍♀️","woman frowning: medium skin tone","People & Body"], + ["🙍🏾‍♀️","woman frowning: medium-dark skin tone","People & Body"], + ["🙍🏿‍♀️","woman frowning: dark skin tone","People & Body"], + ["🙎","person pouting","People & Body"], + ["🙎🏻","person pouting: light skin tone","People & Body"], + ["🙎🏼","person pouting: medium-light skin tone","People & Body"], + ["🙎🏽","person pouting: medium skin tone","People & Body"], + ["🙎🏾","person pouting: medium-dark skin tone","People & Body"], + ["🙎🏿","person pouting: dark skin tone","People & Body"], + ["🙎‍♂️","man pouting","People & Body"], + ["🙎🏻‍♂️","man pouting: light skin tone","People & Body"], + ["🙎🏼‍♂️","man pouting: medium-light skin tone","People & Body"], + ["🙎🏽‍♂️","man pouting: medium skin tone","People & Body"], + ["🙎🏾‍♂️","man pouting: medium-dark skin tone","People & Body"], + ["🙎🏿‍♂️","man pouting: dark skin tone","People & Body"], + ["🙎‍♀️","woman pouting","People & Body"], + ["🙎🏻‍♀️","woman pouting: light skin tone","People & Body"], + ["🙎🏼‍♀️","woman pouting: medium-light skin tone","People & Body"], + ["🙎🏽‍♀️","woman pouting: medium skin tone","People & Body"], + ["🙎🏾‍♀️","woman pouting: medium-dark skin tone","People & Body"], + ["🙎🏿‍♀️","woman pouting: dark skin tone","People & Body"], + ["🙅","person gesturing NO","People & Body"], + ["🙅🏻","person gesturing NO: light skin tone","People & Body"], + ["🙅🏼","person gesturing NO: medium-light skin tone","People & Body"], + ["🙅🏽","person gesturing NO: medium skin tone","People & Body"], + ["🙅🏾","person gesturing NO: medium-dark skin tone","People & Body"], + ["🙅🏿","person gesturing NO: dark skin tone","People & Body"], + ["🙅‍♂️","man gesturing NO","People & Body"], + ["🙅🏻‍♂️","man gesturing NO: light skin tone","People & Body"], + ["🙅🏼‍♂️","man gesturing NO: medium-light skin tone","People & Body"], + ["🙅🏽‍♂️","man gesturing NO: medium skin tone","People & Body"], + ["🙅🏾‍♂️","man gesturing NO: medium-dark skin tone","People & Body"], + ["🙅🏿‍♂️","man gesturing NO: dark skin tone","People & Body"], + ["🙅‍♀️","woman gesturing NO","People & Body"], + ["🙅🏻‍♀️","woman gesturing NO: light skin tone","People & Body"], + ["🙅🏼‍♀️","woman gesturing NO: medium-light skin tone","People & Body"], + ["🙅🏽‍♀️","woman gesturing NO: medium skin tone","People & Body"], + ["🙅🏾‍♀️","woman gesturing NO: medium-dark skin tone","People & Body"], + ["🙅🏿‍♀️","woman gesturing NO: dark skin tone","People & Body"], + ["🙆","person gesturing OK","People & Body"], + ["🙆🏻","person gesturing OK: light skin tone","People & Body"], + ["🙆🏼","person gesturing OK: medium-light skin tone","People & Body"], + ["🙆🏽","person gesturing OK: medium skin tone","People & Body"], + ["🙆🏾","person gesturing OK: medium-dark skin tone","People & Body"], + ["🙆🏿","person gesturing OK: dark skin tone","People & Body"], + ["🙆‍♂️","man gesturing OK","People & Body"], + ["🙆🏻‍♂️","man gesturing OK: light skin tone","People & Body"], + ["🙆🏼‍♂️","man gesturing OK: medium-light skin tone","People & Body"], + ["🙆🏽‍♂️","man gesturing OK: medium skin tone","People & Body"], + ["🙆🏾‍♂️","man gesturing OK: medium-dark skin tone","People & Body"], + ["🙆🏿‍♂️","man gesturing OK: dark skin tone","People & Body"], + ["🙆‍♀️","woman gesturing OK","People & Body"], + ["🙆🏻‍♀️","woman gesturing OK: light skin tone","People & Body"], + ["🙆🏼‍♀️","woman gesturing OK: medium-light skin tone","People & Body"], + ["🙆🏽‍♀️","woman gesturing OK: medium skin tone","People & Body"], + ["🙆🏾‍♀️","woman gesturing OK: medium-dark skin tone","People & Body"], + ["🙆🏿‍♀️","woman gesturing OK: dark skin tone","People & Body"], + ["💁","person tipping hand","People & Body"], + ["💁🏻","person tipping hand: light skin tone","People & Body"], + ["💁🏼","person tipping hand: medium-light skin tone","People & Body"], + ["💁🏽","person tipping hand: medium skin tone","People & Body"], + ["💁🏾","person tipping hand: medium-dark skin tone","People & Body"], + ["💁🏿","person tipping hand: dark skin tone","People & Body"], + ["💁‍♂️","man tipping hand","People & Body"], + ["💁🏻‍♂️","man tipping hand: light skin tone","People & Body"], + ["💁🏼‍♂️","man tipping hand: medium-light skin tone","People & Body"], + ["💁🏽‍♂️","man tipping hand: medium skin tone","People & Body"], + ["💁🏾‍♂️","man tipping hand: medium-dark skin tone","People & Body"], + ["💁🏿‍♂️","man tipping hand: dark skin tone","People & Body"], + ["💁‍♀️","woman tipping hand","People & Body"], + ["💁🏻‍♀️","woman tipping hand: light skin tone","People & Body"], + ["💁🏼‍♀️","woman tipping hand: medium-light skin tone","People & Body"], + ["💁🏽‍♀️","woman tipping hand: medium skin tone","People & Body"], + ["💁🏾‍♀️","woman tipping hand: medium-dark skin tone","People & Body"], + ["💁🏿‍♀️","woman tipping hand: dark skin tone","People & Body"], + ["🙋","person raising hand","People & Body"], + ["🙋🏻","person raising hand: light skin tone","People & Body"], + ["🙋🏼","person raising hand: medium-light skin tone","People & Body"], + ["🙋🏽","person raising hand: medium skin tone","People & Body"], + ["🙋🏾","person raising hand: medium-dark skin tone","People & Body"], + ["🙋🏿","person raising hand: dark skin tone","People & Body"], + ["🙋‍♂️","man raising hand","People & Body"], + ["🙋🏻‍♂️","man raising hand: light skin tone","People & Body"], + ["🙋🏼‍♂️","man raising hand: medium-light skin tone","People & Body"], + ["🙋🏽‍♂️","man raising hand: medium skin tone","People & Body"], + ["🙋🏾‍♂️","man raising hand: medium-dark skin tone","People & Body"], + ["🙋🏿‍♂️","man raising hand: dark skin tone","People & Body"], + ["🙋‍♀️","woman raising hand","People & Body"], + ["🙋🏻‍♀️","woman raising hand: light skin tone","People & Body"], + ["🙋🏼‍♀️","woman raising hand: medium-light skin tone","People & Body"], + ["🙋🏽‍♀️","woman raising hand: medium skin tone","People & Body"], + ["🙋🏾‍♀️","woman raising hand: medium-dark skin tone","People & Body"], + ["🙋🏿‍♀️","woman raising hand: dark skin tone","People & Body"], + ["🧏","deaf person","People & Body"], + ["🧏🏻","deaf person: light skin tone","People & Body"], + ["🧏🏼","deaf person: medium-light skin tone","People & Body"], + ["🧏🏽","deaf person: medium skin tone","People & Body"], + ["🧏🏾","deaf person: medium-dark skin tone","People & Body"], + ["🧏🏿","deaf person: dark skin tone","People & Body"], + ["🧏‍♂️","deaf man","People & Body"], + ["🧏🏻‍♂️","deaf man: light skin tone","People & Body"], + ["🧏🏼‍♂️","deaf man: medium-light skin tone","People & Body"], + ["🧏🏽‍♂️","deaf man: medium skin tone","People & Body"], + ["🧏🏾‍♂️","deaf man: medium-dark skin tone","People & Body"], + ["🧏🏿‍♂️","deaf man: dark skin tone","People & Body"], + ["🧏‍♀️","deaf woman","People & Body"], + ["🧏🏻‍♀️","deaf woman: light skin tone","People & Body"], + ["🧏🏼‍♀️","deaf woman: medium-light skin tone","People & Body"], + ["🧏🏽‍♀️","deaf woman: medium skin tone","People & Body"], + ["🧏🏾‍♀️","deaf woman: medium-dark skin tone","People & Body"], + ["🧏🏿‍♀️","deaf woman: dark skin tone","People & Body"], + ["🙇","person bowing","People & Body"], + ["🙇🏻","person bowing: light skin tone","People & Body"], + ["🙇🏼","person bowing: medium-light skin tone","People & Body"], + ["🙇🏽","person bowing: medium skin tone","People & Body"], + ["🙇🏾","person bowing: medium-dark skin tone","People & Body"], + ["🙇🏿","person bowing: dark skin tone","People & Body"], + ["🙇‍♂️","man bowing","People & Body"], + ["🙇🏻‍♂️","man bowing: light skin tone","People & Body"], + ["🙇🏼‍♂️","man bowing: medium-light skin tone","People & Body"], + ["🙇🏽‍♂️","man bowing: medium skin tone","People & Body"], + ["🙇🏾‍♂️","man bowing: medium-dark skin tone","People & Body"], + ["🙇🏿‍♂️","man bowing: dark skin tone","People & Body"], + ["🙇‍♀️","woman bowing","People & Body"], + ["🙇🏻‍♀️","woman bowing: light skin tone","People & Body"], + ["🙇🏼‍♀️","woman bowing: medium-light skin tone","People & Body"], + ["🙇🏽‍♀️","woman bowing: medium skin tone","People & Body"], + ["🙇🏾‍♀️","woman bowing: medium-dark skin tone","People & Body"], + ["🙇🏿‍♀️","woman bowing: dark skin tone","People & Body"], + ["🤦","person facepalming","People & Body"], + ["🤦🏻","person facepalming: light skin tone","People & Body"], + ["🤦🏼","person facepalming: medium-light skin tone","People & Body"], + ["🤦🏽","person facepalming: medium skin tone","People & Body"], + ["🤦🏾","person facepalming: medium-dark skin tone","People & Body"], + ["🤦🏿","person facepalming: dark skin tone","People & Body"], + ["🤦‍♂️","man facepalming","People & Body"], + ["🤦🏻‍♂️","man facepalming: light skin tone","People & Body"], + ["🤦🏼‍♂️","man facepalming: medium-light skin tone","People & Body"], + ["🤦🏽‍♂️","man facepalming: medium skin tone","People & Body"], + ["🤦🏾‍♂️","man facepalming: medium-dark skin tone","People & Body"], + ["🤦🏿‍♂️","man facepalming: dark skin tone","People & Body"], + ["🤦‍♀️","woman facepalming","People & Body"], + ["🤦🏻‍♀️","woman facepalming: light skin tone","People & Body"], + ["🤦🏼‍♀️","woman facepalming: medium-light skin tone","People & Body"], + ["🤦🏽‍♀️","woman facepalming: medium skin tone","People & Body"], + ["🤦🏾‍♀️","woman facepalming: medium-dark skin tone","People & Body"], + ["🤦🏿‍♀️","woman facepalming: dark skin tone","People & Body"], + ["🤷","person shrugging","People & Body"], + ["🤷🏻","person shrugging: light skin tone","People & Body"], + ["🤷🏼","person shrugging: medium-light skin tone","People & Body"], + ["🤷🏽","person shrugging: medium skin tone","People & Body"], + ["🤷🏾","person shrugging: medium-dark skin tone","People & Body"], + ["🤷🏿","person shrugging: dark skin tone","People & Body"], + ["🤷‍♂️","man shrugging","People & Body"], + ["🤷🏻‍♂️","man shrugging: light skin tone","People & Body"], + ["🤷🏼‍♂️","man shrugging: medium-light skin tone","People & Body"], + ["🤷🏽‍♂️","man shrugging: medium skin tone","People & Body"], + ["🤷🏾‍♂️","man shrugging: medium-dark skin tone","People & Body"], + ["🤷🏿‍♂️","man shrugging: dark skin tone","People & Body"], + ["🤷‍♀️","woman shrugging","People & Body"], + ["🤷🏻‍♀️","woman shrugging: light skin tone","People & Body"], + ["🤷🏼‍♀️","woman shrugging: medium-light skin tone","People & Body"], + ["🤷🏽‍♀️","woman shrugging: medium skin tone","People & Body"], + ["🤷🏾‍♀️","woman shrugging: medium-dark skin tone","People & Body"], + ["🤷🏿‍♀️","woman shrugging: dark skin tone","People & Body"], + ["🧑‍⚕️","health worker","People & Body"], + ["🧑🏻‍⚕️","health worker: light skin tone","People & Body"], + ["🧑🏼‍⚕️","health worker: medium-light skin tone","People & Body"], + ["🧑🏽‍⚕️","health worker: medium skin tone","People & Body"], + ["🧑🏾‍⚕️","health worker: medium-dark skin tone","People & Body"], + ["🧑🏿‍⚕️","health worker: dark skin tone","People & Body"], + ["👨‍⚕️","man health worker","People & Body"], + ["👨🏻‍⚕️","man health worker: light skin tone","People & Body"], + ["👨🏼‍⚕️","man health worker: medium-light skin tone","People & Body"], + ["👨🏽‍⚕️","man health worker: medium skin tone","People & Body"], + ["👨🏾‍⚕️","man health worker: medium-dark skin tone","People & Body"], + ["👨🏿‍⚕️","man health worker: dark skin tone","People & Body"], + ["👩‍⚕️","woman health worker","People & Body"], + ["👩🏻‍⚕️","woman health worker: light skin tone","People & Body"], + ["👩🏼‍⚕️","woman health worker: medium-light skin tone","People & Body"], + ["👩🏽‍⚕️","woman health worker: medium skin tone","People & Body"], + ["👩🏾‍⚕️","woman health worker: medium-dark skin tone","People & Body"], + ["👩🏿‍⚕️","woman health worker: dark skin tone","People & Body"], + ["🧑‍🎓","student","People & Body"], + ["🧑🏻‍🎓","student: light skin tone","People & Body"], + ["🧑🏼‍🎓","student: medium-light skin tone","People & Body"], + ["🧑🏽‍🎓","student: medium skin tone","People & Body"], + ["🧑🏾‍🎓","student: medium-dark skin tone","People & Body"], + ["🧑🏿‍🎓","student: dark skin tone","People & Body"], + ["👨‍🎓","man student","People & Body"], + ["👨🏻‍🎓","man student: light skin tone","People & Body"], + ["👨🏼‍🎓","man student: medium-light skin tone","People & Body"], + ["👨🏽‍🎓","man student: medium skin tone","People & Body"], + ["👨🏾‍🎓","man student: medium-dark skin tone","People & Body"], + ["👨🏿‍🎓","man student: dark skin tone","People & Body"], + ["👩‍🎓","woman student","People & Body"], + ["👩🏻‍🎓","woman student: light skin tone","People & Body"], + ["👩🏼‍🎓","woman student: medium-light skin tone","People & Body"], + ["👩🏽‍🎓","woman student: medium skin tone","People & Body"], + ["👩🏾‍🎓","woman student: medium-dark skin tone","People & Body"], + ["👩🏿‍🎓","woman student: dark skin tone","People & Body"], + ["🧑‍🏫","teacher","People & Body"], + ["🧑🏻‍🏫","teacher: light skin tone","People & Body"], + ["🧑🏼‍🏫","teacher: medium-light skin tone","People & Body"], + ["🧑🏽‍🏫","teacher: medium skin tone","People & Body"], + ["🧑🏾‍🏫","teacher: medium-dark skin tone","People & Body"], + ["🧑🏿‍🏫","teacher: dark skin tone","People & Body"], + ["👨‍🏫","man teacher","People & Body"], + ["👨🏻‍🏫","man teacher: light skin tone","People & Body"], + ["👨🏼‍🏫","man teacher: medium-light skin tone","People & Body"], + ["👨🏽‍🏫","man teacher: medium skin tone","People & Body"], + ["👨🏾‍🏫","man teacher: medium-dark skin tone","People & Body"], + ["👨🏿‍🏫","man teacher: dark skin tone","People & Body"], + ["👩‍🏫","woman teacher","People & Body"], + ["👩🏻‍🏫","woman teacher: light skin tone","People & Body"], + ["👩🏼‍🏫","woman teacher: medium-light skin tone","People & Body"], + ["👩🏽‍🏫","woman teacher: medium skin tone","People & Body"], + ["👩🏾‍🏫","woman teacher: medium-dark skin tone","People & Body"], + ["👩🏿‍🏫","woman teacher: dark skin tone","People & Body"], + ["🧑‍⚖️","judge","People & Body"], + ["🧑🏻‍⚖️","judge: light skin tone","People & Body"], + ["🧑🏼‍⚖️","judge: medium-light skin tone","People & Body"], + ["🧑🏽‍⚖️","judge: medium skin tone","People & Body"], + ["🧑🏾‍⚖️","judge: medium-dark skin tone","People & Body"], + ["🧑🏿‍⚖️","judge: dark skin tone","People & Body"], + ["👨‍⚖️","man judge","People & Body"], + ["👨🏻‍⚖️","man judge: light skin tone","People & Body"], + ["👨🏼‍⚖️","man judge: medium-light skin tone","People & Body"], + ["👨🏽‍⚖️","man judge: medium skin tone","People & Body"], + ["👨🏾‍⚖️","man judge: medium-dark skin tone","People & Body"], + ["👨🏿‍⚖️","man judge: dark skin tone","People & Body"], + ["👩‍⚖️","woman judge","People & Body"], + ["👩🏻‍⚖️","woman judge: light skin tone","People & Body"], + ["👩🏼‍⚖️","woman judge: medium-light skin tone","People & Body"], + ["👩🏽‍⚖️","woman judge: medium skin tone","People & Body"], + ["👩🏾‍⚖️","woman judge: medium-dark skin tone","People & Body"], + ["👩🏿‍⚖️","woman judge: dark skin tone","People & Body"], + ["🧑‍🌾","farmer","People & Body"], + ["🧑🏻‍🌾","farmer: light skin tone","People & Body"], + ["🧑🏼‍🌾","farmer: medium-light skin tone","People & Body"], + ["🧑🏽‍🌾","farmer: medium skin tone","People & Body"], + ["🧑🏾‍🌾","farmer: medium-dark skin tone","People & Body"], + ["🧑🏿‍🌾","farmer: dark skin tone","People & Body"], + ["👨‍🌾","man farmer","People & Body"], + ["👨🏻‍🌾","man farmer: light skin tone","People & Body"], + ["👨🏼‍🌾","man farmer: medium-light skin tone","People & Body"], + ["👨🏽‍🌾","man farmer: medium skin tone","People & Body"], + ["👨🏾‍🌾","man farmer: medium-dark skin tone","People & Body"], + ["👨🏿‍🌾","man farmer: dark skin tone","People & Body"], + ["👩‍🌾","woman farmer","People & Body"], + ["👩🏻‍🌾","woman farmer: light skin tone","People & Body"], + ["👩🏼‍🌾","woman farmer: medium-light skin tone","People & Body"], + ["👩🏽‍🌾","woman farmer: medium skin tone","People & Body"], + ["👩🏾‍🌾","woman farmer: medium-dark skin tone","People & Body"], + ["👩🏿‍🌾","woman farmer: dark skin tone","People & Body"], + ["🧑‍🍳","cook","People & Body"], + ["🧑🏻‍🍳","cook: light skin tone","People & Body"], + ["🧑🏼‍🍳","cook: medium-light skin tone","People & Body"], + ["🧑🏽‍🍳","cook: medium skin tone","People & Body"], + ["🧑🏾‍🍳","cook: medium-dark skin tone","People & Body"], + ["🧑🏿‍🍳","cook: dark skin tone","People & Body"], + ["👨‍🍳","man cook","People & Body"], + ["👨🏻‍🍳","man cook: light skin tone","People & Body"], + ["👨🏼‍🍳","man cook: medium-light skin tone","People & Body"], + ["👨🏽‍🍳","man cook: medium skin tone","People & Body"], + ["👨🏾‍🍳","man cook: medium-dark skin tone","People & Body"], + ["👨🏿‍🍳","man cook: dark skin tone","People & Body"], + ["👩‍🍳","woman cook","People & Body"], + ["👩🏻‍🍳","woman cook: light skin tone","People & Body"], + ["👩🏼‍🍳","woman cook: medium-light skin tone","People & Body"], + ["👩🏽‍🍳","woman cook: medium skin tone","People & Body"], + ["👩🏾‍🍳","woman cook: medium-dark skin tone","People & Body"], + ["👩🏿‍🍳","woman cook: dark skin tone","People & Body"], + ["🧑‍🔧","mechanic","People & Body"], + ["🧑🏻‍🔧","mechanic: light skin tone","People & Body"], + ["🧑🏼‍🔧","mechanic: medium-light skin tone","People & Body"], + ["🧑🏽‍🔧","mechanic: medium skin tone","People & Body"], + ["🧑🏾‍🔧","mechanic: medium-dark skin tone","People & Body"], + ["🧑🏿‍🔧","mechanic: dark skin tone","People & Body"], + ["👨‍🔧","man mechanic","People & Body"], + ["👨🏻‍🔧","man mechanic: light skin tone","People & Body"], + ["👨🏼‍🔧","man mechanic: medium-light skin tone","People & Body"], + ["👨🏽‍🔧","man mechanic: medium skin tone","People & Body"], + ["👨🏾‍🔧","man mechanic: medium-dark skin tone","People & Body"], + ["👨🏿‍🔧","man mechanic: dark skin tone","People & Body"], + ["👩‍🔧","woman mechanic","People & Body"], + ["👩🏻‍🔧","woman mechanic: light skin tone","People & Body"], + ["👩🏼‍🔧","woman mechanic: medium-light skin tone","People & Body"], + ["👩🏽‍🔧","woman mechanic: medium skin tone","People & Body"], + ["👩🏾‍🔧","woman mechanic: medium-dark skin tone","People & Body"], + ["👩🏿‍🔧","woman mechanic: dark skin tone","People & Body"], + ["🧑‍🏭","factory worker","People & Body"], + ["🧑🏻‍🏭","factory worker: light skin tone","People & Body"], + ["🧑🏼‍🏭","factory worker: medium-light skin tone","People & Body"], + ["🧑🏽‍🏭","factory worker: medium skin tone","People & Body"], + ["🧑🏾‍🏭","factory worker: medium-dark skin tone","People & Body"], + ["🧑🏿‍🏭","factory worker: dark skin tone","People & Body"], + ["👨‍🏭","man factory worker","People & Body"], + ["👨🏻‍🏭","man factory worker: light skin tone","People & Body"], + ["👨🏼‍🏭","man factory worker: medium-light skin tone","People & Body"], + ["👨🏽‍🏭","man factory worker: medium skin tone","People & Body"], + ["👨🏾‍🏭","man factory worker: medium-dark skin tone","People & Body"], + ["👨🏿‍🏭","man factory worker: dark skin tone","People & Body"], + ["👩‍🏭","woman factory worker","People & Body"], + ["👩🏻‍🏭","woman factory worker: light skin tone","People & Body"], + ["👩🏼‍🏭","woman factory worker: medium-light skin tone","People & Body"], + ["👩🏽‍🏭","woman factory worker: medium skin tone","People & Body"], + ["👩🏾‍🏭","woman factory worker: medium-dark skin tone","People & Body"], + ["👩🏿‍🏭","woman factory worker: dark skin tone","People & Body"], + ["🧑‍💼","office worker","People & Body"], + ["🧑🏻‍💼","office worker: light skin tone","People & Body"], + ["🧑🏼‍💼","office worker: medium-light skin tone","People & Body"], + ["🧑🏽‍💼","office worker: medium skin tone","People & Body"], + ["🧑🏾‍💼","office worker: medium-dark skin tone","People & Body"], + ["🧑🏿‍💼","office worker: dark skin tone","People & Body"], + ["👨‍💼","man office worker","People & Body"], + ["👨🏻‍💼","man office worker: light skin tone","People & Body"], + ["👨🏼‍💼","man office worker: medium-light skin tone","People & Body"], + ["👨🏽‍💼","man office worker: medium skin tone","People & Body"], + ["👨🏾‍💼","man office worker: medium-dark skin tone","People & Body"], + ["👨🏿‍💼","man office worker: dark skin tone","People & Body"], + ["👩‍💼","woman office worker","People & Body"], + ["👩🏻‍💼","woman office worker: light skin tone","People & Body"], + ["👩🏼‍💼","woman office worker: medium-light skin tone","People & Body"], + ["👩🏽‍💼","woman office worker: medium skin tone","People & Body"], + ["👩🏾‍💼","woman office worker: medium-dark skin tone","People & Body"], + ["👩🏿‍💼","woman office worker: dark skin tone","People & Body"], + ["🧑‍🔬","scientist","People & Body"], + ["🧑🏻‍🔬","scientist: light skin tone","People & Body"], + ["🧑🏼‍🔬","scientist: medium-light skin tone","People & Body"], + ["🧑🏽‍🔬","scientist: medium skin tone","People & Body"], + ["🧑🏾‍🔬","scientist: medium-dark skin tone","People & Body"], + ["🧑🏿‍🔬","scientist: dark skin tone","People & Body"], + ["👨‍🔬","man scientist","People & Body"], + ["👨🏻‍🔬","man scientist: light skin tone","People & Body"], + ["👨🏼‍🔬","man scientist: medium-light skin tone","People & Body"], + ["👨🏽‍🔬","man scientist: medium skin tone","People & Body"], + ["👨🏾‍🔬","man scientist: medium-dark skin tone","People & Body"], + ["👨🏿‍🔬","man scientist: dark skin tone","People & Body"], + ["👩‍🔬","woman scientist","People & Body"], + ["👩🏻‍🔬","woman scientist: light skin tone","People & Body"], + ["👩🏼‍🔬","woman scientist: medium-light skin tone","People & Body"], + ["👩🏽‍🔬","woman scientist: medium skin tone","People & Body"], + ["👩🏾‍🔬","woman scientist: medium-dark skin tone","People & Body"], + ["👩🏿‍🔬","woman scientist: dark skin tone","People & Body"], + ["🧑‍💻","technologist","People & Body"], + ["🧑🏻‍💻","technologist: light skin tone","People & Body"], + ["🧑🏼‍💻","technologist: medium-light skin tone","People & Body"], + ["🧑🏽‍💻","technologist: medium skin tone","People & Body"], + ["🧑🏾‍💻","technologist: medium-dark skin tone","People & Body"], + ["🧑🏿‍💻","technologist: dark skin tone","People & Body"], + ["👨‍💻","man technologist","People & Body"], + ["👨🏻‍💻","man technologist: light skin tone","People & Body"], + ["👨🏼‍💻","man technologist: medium-light skin tone","People & Body"], + ["👨🏽‍💻","man technologist: medium skin tone","People & Body"], + ["👨🏾‍💻","man technologist: medium-dark skin tone","People & Body"], + ["👨🏿‍💻","man technologist: dark skin tone","People & Body"], + ["👩‍💻","woman technologist","People & Body"], + ["👩🏻‍💻","woman technologist: light skin tone","People & Body"], + ["👩🏼‍💻","woman technologist: medium-light skin tone","People & Body"], + ["👩🏽‍💻","woman technologist: medium skin tone","People & Body"], + ["👩🏾‍💻","woman technologist: medium-dark skin tone","People & Body"], + ["👩🏿‍💻","woman technologist: dark skin tone","People & Body"], + ["🧑‍🎤","singer","People & Body"], + ["🧑🏻‍🎤","singer: light skin tone","People & Body"], + ["🧑🏼‍🎤","singer: medium-light skin tone","People & Body"], + ["🧑🏽‍🎤","singer: medium skin tone","People & Body"], + ["🧑🏾‍🎤","singer: medium-dark skin tone","People & Body"], + ["🧑🏿‍🎤","singer: dark skin tone","People & Body"], + ["👨‍🎤","man singer","People & Body"], + ["👨🏻‍🎤","man singer: light skin tone","People & Body"], + ["👨🏼‍🎤","man singer: medium-light skin tone","People & Body"], + ["👨🏽‍🎤","man singer: medium skin tone","People & Body"], + ["👨🏾‍🎤","man singer: medium-dark skin tone","People & Body"], + ["👨🏿‍🎤","man singer: dark skin tone","People & Body"], + ["👩‍🎤","woman singer","People & Body"], + ["👩🏻‍🎤","woman singer: light skin tone","People & Body"], + ["👩🏼‍🎤","woman singer: medium-light skin tone","People & Body"], + ["👩🏽‍🎤","woman singer: medium skin tone","People & Body"], + ["👩🏾‍🎤","woman singer: medium-dark skin tone","People & Body"], + ["👩🏿‍🎤","woman singer: dark skin tone","People & Body"], + ["🧑‍🎨","artist","People & Body"], + ["🧑🏻‍🎨","artist: light skin tone","People & Body"], + ["🧑🏼‍🎨","artist: medium-light skin tone","People & Body"], + ["🧑🏽‍🎨","artist: medium skin tone","People & Body"], + ["🧑🏾‍🎨","artist: medium-dark skin tone","People & Body"], + ["🧑🏿‍🎨","artist: dark skin tone","People & Body"], + ["👨‍🎨","man artist","People & Body"], + ["👨🏻‍🎨","man artist: light skin tone","People & Body"], + ["👨🏼‍🎨","man artist: medium-light skin tone","People & Body"], + ["👨🏽‍🎨","man artist: medium skin tone","People & Body"], + ["👨🏾‍🎨","man artist: medium-dark skin tone","People & Body"], + ["👨🏿‍🎨","man artist: dark skin tone","People & Body"], + ["👩‍🎨","woman artist","People & Body"], + ["👩🏻‍🎨","woman artist: light skin tone","People & Body"], + ["👩🏼‍🎨","woman artist: medium-light skin tone","People & Body"], + ["👩🏽‍🎨","woman artist: medium skin tone","People & Body"], + ["👩🏾‍🎨","woman artist: medium-dark skin tone","People & Body"], + ["👩🏿‍🎨","woman artist: dark skin tone","People & Body"], + ["🧑‍✈️","pilot","People & Body"], + ["🧑🏻‍✈️","pilot: light skin tone","People & Body"], + ["🧑🏼‍✈️","pilot: medium-light skin tone","People & Body"], + ["🧑🏽‍✈️","pilot: medium skin tone","People & Body"], + ["🧑🏾‍✈️","pilot: medium-dark skin tone","People & Body"], + ["🧑🏿‍✈️","pilot: dark skin tone","People & Body"], + ["👨‍✈️","man pilot","People & Body"], + ["👨🏻‍✈️","man pilot: light skin tone","People & Body"], + ["👨🏼‍✈️","man pilot: medium-light skin tone","People & Body"], + ["👨🏽‍✈️","man pilot: medium skin tone","People & Body"], + ["👨🏾‍✈️","man pilot: medium-dark skin tone","People & Body"], + ["👨🏿‍✈️","man pilot: dark skin tone","People & Body"], + ["👩‍✈️","woman pilot","People & Body"], + ["👩🏻‍✈️","woman pilot: light skin tone","People & Body"], + ["👩🏼‍✈️","woman pilot: medium-light skin tone","People & Body"], + ["👩🏽‍✈️","woman pilot: medium skin tone","People & Body"], + ["👩🏾‍✈️","woman pilot: medium-dark skin tone","People & Body"], + ["👩🏿‍✈️","woman pilot: dark skin tone","People & Body"], + ["🧑‍🚀","astronaut","People & Body"], + ["🧑🏻‍🚀","astronaut: light skin tone","People & Body"], + ["🧑🏼‍🚀","astronaut: medium-light skin tone","People & Body"], + ["🧑🏽‍🚀","astronaut: medium skin tone","People & Body"], + ["🧑🏾‍🚀","astronaut: medium-dark skin tone","People & Body"], + ["🧑🏿‍🚀","astronaut: dark skin tone","People & Body"], + ["👨‍🚀","man astronaut","People & Body"], + ["👨🏻‍🚀","man astronaut: light skin tone","People & Body"], + ["👨🏼‍🚀","man astronaut: medium-light skin tone","People & Body"], + ["👨🏽‍🚀","man astronaut: medium skin tone","People & Body"], + ["👨🏾‍🚀","man astronaut: medium-dark skin tone","People & Body"], + ["👨🏿‍🚀","man astronaut: dark skin tone","People & Body"], + ["👩‍🚀","woman astronaut","People & Body"], + ["👩🏻‍🚀","woman astronaut: light skin tone","People & Body"], + ["👩🏼‍🚀","woman astronaut: medium-light skin tone","People & Body"], + ["👩🏽‍🚀","woman astronaut: medium skin tone","People & Body"], + ["👩🏾‍🚀","woman astronaut: medium-dark skin tone","People & Body"], + ["👩🏿‍🚀","woman astronaut: dark skin tone","People & Body"], + ["🧑‍🚒","firefighter","People & Body"], + ["🧑🏻‍🚒","firefighter: light skin tone","People & Body"], + ["🧑🏼‍🚒","firefighter: medium-light skin tone","People & Body"], + ["🧑🏽‍🚒","firefighter: medium skin tone","People & Body"], + ["🧑🏾‍🚒","firefighter: medium-dark skin tone","People & Body"], + ["🧑🏿‍🚒","firefighter: dark skin tone","People & Body"], + ["👨‍🚒","man firefighter","People & Body"], + ["👨🏻‍🚒","man firefighter: light skin tone","People & Body"], + ["👨🏼‍🚒","man firefighter: medium-light skin tone","People & Body"], + ["👨🏽‍🚒","man firefighter: medium skin tone","People & Body"], + ["👨🏾‍🚒","man firefighter: medium-dark skin tone","People & Body"], + ["👨🏿‍🚒","man firefighter: dark skin tone","People & Body"], + ["👩‍🚒","woman firefighter","People & Body"], + ["👩🏻‍🚒","woman firefighter: light skin tone","People & Body"], + ["👩🏼‍🚒","woman firefighter: medium-light skin tone","People & Body"], + ["👩🏽‍🚒","woman firefighter: medium skin tone","People & Body"], + ["👩🏾‍🚒","woman firefighter: medium-dark skin tone","People & Body"], + ["👩🏿‍🚒","woman firefighter: dark skin tone","People & Body"], + ["👮","police officer","People & Body"], + ["👮🏻","police officer: light skin tone","People & Body"], + ["👮🏼","police officer: medium-light skin tone","People & Body"], + ["👮🏽","police officer: medium skin tone","People & Body"], + ["👮🏾","police officer: medium-dark skin tone","People & Body"], + ["👮🏿","police officer: dark skin tone","People & Body"], + ["👮‍♂️","man police officer","People & Body"], + ["👮🏻‍♂️","man police officer: light skin tone","People & Body"], + ["👮🏼‍♂️","man police officer: medium-light skin tone","People & Body"], + ["👮🏽‍♂️","man police officer: medium skin tone","People & Body"], + ["👮🏾‍♂️","man police officer: medium-dark skin tone","People & Body"], + ["👮🏿‍♂️","man police officer: dark skin tone","People & Body"], + ["👮‍♀️","woman police officer","People & Body"], + ["👮🏻‍♀️","woman police officer: light skin tone","People & Body"], + ["👮🏼‍♀️","woman police officer: medium-light skin tone","People & Body"], + ["👮🏽‍♀️","woman police officer: medium skin tone","People & Body"], + ["👮🏾‍♀️","woman police officer: medium-dark skin tone","People & Body"], + ["👮🏿‍♀️","woman police officer: dark skin tone","People & Body"], + ["🕵️","detective","People & Body"], + ["🕵🏻","detective: light skin tone","People & Body"], + ["🕵🏼","detective: medium-light skin tone","People & Body"], + ["🕵🏽","detective: medium skin tone","People & Body"], + ["🕵🏾","detective: medium-dark skin tone","People & Body"], + ["🕵🏿","detective: dark skin tone","People & Body"], + ["🕵️‍♂️","man detective","People & Body"], + ["🕵🏻‍♂️","man detective: light skin tone","People & Body"], + ["🕵🏼‍♂️","man detective: medium-light skin tone","People & Body"], + ["🕵🏽‍♂️","man detective: medium skin tone","People & Body"], + ["🕵🏾‍♂️","man detective: medium-dark skin tone","People & Body"], + ["🕵🏿‍♂️","man detective: dark skin tone","People & Body"], + ["🕵️‍♀️","woman detective","People & Body"], + ["🕵🏻‍♀️","woman detective: light skin tone","People & Body"], + ["🕵🏼‍♀️","woman detective: medium-light skin tone","People & Body"], + ["🕵🏽‍♀️","woman detective: medium skin tone","People & Body"], + ["🕵🏾‍♀️","woman detective: medium-dark skin tone","People & Body"], + ["🕵🏿‍♀️","woman detective: dark skin tone","People & Body"], + ["💂","guard","People & Body"], + ["💂🏻","guard: light skin tone","People & Body"], + ["💂🏼","guard: medium-light skin tone","People & Body"], + ["💂🏽","guard: medium skin tone","People & Body"], + ["💂🏾","guard: medium-dark skin tone","People & Body"], + ["💂🏿","guard: dark skin tone","People & Body"], + ["💂‍♂️","man guard","People & Body"], + ["💂🏻‍♂️","man guard: light skin tone","People & Body"], + ["💂🏼‍♂️","man guard: medium-light skin tone","People & Body"], + ["💂🏽‍♂️","man guard: medium skin tone","People & Body"], + ["💂🏾‍♂️","man guard: medium-dark skin tone","People & Body"], + ["💂🏿‍♂️","man guard: dark skin tone","People & Body"], + ["💂‍♀️","woman guard","People & Body"], + ["💂🏻‍♀️","woman guard: light skin tone","People & Body"], + ["💂🏼‍♀️","woman guard: medium-light skin tone","People & Body"], + ["💂🏽‍♀️","woman guard: medium skin tone","People & Body"], + ["💂🏾‍♀️","woman guard: medium-dark skin tone","People & Body"], + ["💂🏿‍♀️","woman guard: dark skin tone","People & Body"], + ["🥷","ninja","People & Body"], + ["🥷🏻","ninja: light skin tone","People & Body"], + ["🥷🏼","ninja: medium-light skin tone","People & Body"], + ["🥷🏽","ninja: medium skin tone","People & Body"], + ["🥷🏾","ninja: medium-dark skin tone","People & Body"], + ["🥷🏿","ninja: dark skin tone","People & Body"], + ["👷","construction worker","People & Body"], + ["👷🏻","construction worker: light skin tone","People & Body"], + ["👷🏼","construction worker: medium-light skin tone","People & Body"], + ["👷🏽","construction worker: medium skin tone","People & Body"], + ["👷🏾","construction worker: medium-dark skin tone","People & Body"], + ["👷🏿","construction worker: dark skin tone","People & Body"], + ["👷‍♂️","man construction worker","People & Body"], + ["👷🏻‍♂️","man construction worker: light skin tone","People & Body"], + ["👷🏼‍♂️","man construction worker: medium-light skin tone","People & Body"], + ["👷🏽‍♂️","man construction worker: medium skin tone","People & Body"], + ["👷🏾‍♂️","man construction worker: medium-dark skin tone","People & Body"], + ["👷🏿‍♂️","man construction worker: dark skin tone","People & Body"], + ["👷‍♀️","woman construction worker","People & Body"], + ["👷🏻‍♀️","woman construction worker: light skin tone","People & Body"], + ["👷🏼‍♀️","woman construction worker: medium-light skin tone","People & Body"], + ["👷🏽‍♀️","woman construction worker: medium skin tone","People & Body"], + ["👷🏾‍♀️","woman construction worker: medium-dark skin tone","People & Body"], + ["👷🏿‍♀️","woman construction worker: dark skin tone","People & Body"], + ["🫅","person with crown","People & Body"], + ["🫅🏻","person with crown: light skin tone","People & Body"], + ["🫅🏼","person with crown: medium-light skin tone","People & Body"], + ["🫅🏽","person with crown: medium skin tone","People & Body"], + ["🫅🏾","person with crown: medium-dark skin tone","People & Body"], + ["🫅🏿","person with crown: dark skin tone","People & Body"], + ["🤴","prince","People & Body"], + ["🤴🏻","prince: light skin tone","People & Body"], + ["🤴🏼","prince: medium-light skin tone","People & Body"], + ["🤴🏽","prince: medium skin tone","People & Body"], + ["🤴🏾","prince: medium-dark skin tone","People & Body"], + ["🤴🏿","prince: dark skin tone","People & Body"], + ["👸","princess","People & Body"], + ["👸🏻","princess: light skin tone","People & Body"], + ["👸🏼","princess: medium-light skin tone","People & Body"], + ["👸🏽","princess: medium skin tone","People & Body"], + ["👸🏾","princess: medium-dark skin tone","People & Body"], + ["👸🏿","princess: dark skin tone","People & Body"], + ["👳","person wearing turban","People & Body"], + ["👳🏻","person wearing turban: light skin tone","People & Body"], + ["👳🏼","person wearing turban: medium-light skin tone","People & Body"], + ["👳🏽","person wearing turban: medium skin tone","People & Body"], + ["👳🏾","person wearing turban: medium-dark skin tone","People & Body"], + ["👳🏿","person wearing turban: dark skin tone","People & Body"], + ["👳‍♂️","man wearing turban","People & Body"], + ["👳🏻‍♂️","man wearing turban: light skin tone","People & Body"], + ["👳🏼‍♂️","man wearing turban: medium-light skin tone","People & Body"], + ["👳🏽‍♂️","man wearing turban: medium skin tone","People & Body"], + ["👳🏾‍♂️","man wearing turban: medium-dark skin tone","People & Body"], + ["👳🏿‍♂️","man wearing turban: dark skin tone","People & Body"], + ["👳‍♀️","woman wearing turban","People & Body"], + ["👳🏻‍♀️","woman wearing turban: light skin tone","People & Body"], + ["👳🏼‍♀️","woman wearing turban: medium-light skin tone","People & Body"], + ["👳🏽‍♀️","woman wearing turban: medium skin tone","People & Body"], + ["👳🏾‍♀️","woman wearing turban: medium-dark skin tone","People & Body"], + ["👳🏿‍♀️","woman wearing turban: dark skin tone","People & Body"], + ["👲","person with skullcap","People & Body"], + ["👲🏻","person with skullcap: light skin tone","People & Body"], + ["👲🏼","person with skullcap: medium-light skin tone","People & Body"], + ["👲🏽","person with skullcap: medium skin tone","People & Body"], + ["👲🏾","person with skullcap: medium-dark skin tone","People & Body"], + ["👲🏿","person with skullcap: dark skin tone","People & Body"], + ["🧕","woman with headscarf","People & Body"], + ["🧕🏻","woman with headscarf: light skin tone","People & Body"], + ["🧕🏼","woman with headscarf: medium-light skin tone","People & Body"], + ["🧕🏽","woman with headscarf: medium skin tone","People & Body"], + ["🧕🏾","woman with headscarf: medium-dark skin tone","People & Body"], + ["🧕🏿","woman with headscarf: dark skin tone","People & Body"], + ["🤵","person in tuxedo","People & Body"], + ["🤵🏻","person in tuxedo: light skin tone","People & Body"], + ["🤵🏼","person in tuxedo: medium-light skin tone","People & Body"], + ["🤵🏽","person in tuxedo: medium skin tone","People & Body"], + ["🤵🏾","person in tuxedo: medium-dark skin tone","People & Body"], + ["🤵🏿","person in tuxedo: dark skin tone","People & Body"], + ["🤵‍♂️","man in tuxedo","People & Body"], + ["🤵🏻‍♂️","man in tuxedo: light skin tone","People & Body"], + ["🤵🏼‍♂️","man in tuxedo: medium-light skin tone","People & Body"], + ["🤵🏽‍♂️","man in tuxedo: medium skin tone","People & Body"], + ["🤵🏾‍♂️","man in tuxedo: medium-dark skin tone","People & Body"], + ["🤵🏿‍♂️","man in tuxedo: dark skin tone","People & Body"], + ["🤵‍♀️","woman in tuxedo","People & Body"], + ["🤵🏻‍♀️","woman in tuxedo: light skin tone","People & Body"], + ["🤵🏼‍♀️","woman in tuxedo: medium-light skin tone","People & Body"], + ["🤵🏽‍♀️","woman in tuxedo: medium skin tone","People & Body"], + ["🤵🏾‍♀️","woman in tuxedo: medium-dark skin tone","People & Body"], + ["🤵🏿‍♀️","woman in tuxedo: dark skin tone","People & Body"], + ["👰","person with veil","People & Body"], + ["👰🏻","person with veil: light skin tone","People & Body"], + ["👰🏼","person with veil: medium-light skin tone","People & Body"], + ["👰🏽","person with veil: medium skin tone","People & Body"], + ["👰🏾","person with veil: medium-dark skin tone","People & Body"], + ["👰🏿","person with veil: dark skin tone","People & Body"], + ["👰‍♂️","man with veil","People & Body"], + ["👰🏻‍♂️","man with veil: light skin tone","People & Body"], + ["👰🏼‍♂️","man with veil: medium-light skin tone","People & Body"], + ["👰🏽‍♂️","man with veil: medium skin tone","People & Body"], + ["👰🏾‍♂️","man with veil: medium-dark skin tone","People & Body"], + ["👰🏿‍♂️","man with veil: dark skin tone","People & Body"], + ["👰‍♀️","woman with veil","People & Body"], + ["👰🏻‍♀️","woman with veil: light skin tone","People & Body"], + ["👰🏼‍♀️","woman with veil: medium-light skin tone","People & Body"], + ["👰🏽‍♀️","woman with veil: medium skin tone","People & Body"], + ["👰🏾‍♀️","woman with veil: medium-dark skin tone","People & Body"], + ["👰🏿‍♀️","woman with veil: dark skin tone","People & Body"], + ["🤰","pregnant woman","People & Body"], + ["🤰🏻","pregnant woman: light skin tone","People & Body"], + ["🤰🏼","pregnant woman: medium-light skin tone","People & Body"], + ["🤰🏽","pregnant woman: medium skin tone","People & Body"], + ["🤰🏾","pregnant woman: medium-dark skin tone","People & Body"], + ["🤰🏿","pregnant woman: dark skin tone","People & Body"], + ["🫃","pregnant man","People & Body"], + ["🫃🏻","pregnant man: light skin tone","People & Body"], + ["🫃🏼","pregnant man: medium-light skin tone","People & Body"], + ["🫃🏽","pregnant man: medium skin tone","People & Body"], + ["🫃🏾","pregnant man: medium-dark skin tone","People & Body"], + ["🫃🏿","pregnant man: dark skin tone","People & Body"], + ["🫄","pregnant person","People & Body"], + ["🫄🏻","pregnant person: light skin tone","People & Body"], + ["🫄🏼","pregnant person: medium-light skin tone","People & Body"], + ["🫄🏽","pregnant person: medium skin tone","People & Body"], + ["🫄🏾","pregnant person: medium-dark skin tone","People & Body"], + ["🫄🏿","pregnant person: dark skin tone","People & Body"], + ["🤱","breast-feeding","People & Body"], + ["🤱🏻","breast-feeding: light skin tone","People & Body"], + ["🤱🏼","breast-feeding: medium-light skin tone","People & Body"], + ["🤱🏽","breast-feeding: medium skin tone","People & Body"], + ["🤱🏾","breast-feeding: medium-dark skin tone","People & Body"], + ["🤱🏿","breast-feeding: dark skin tone","People & Body"], + ["👩‍🍼","woman feeding baby","People & Body"], + ["👩🏻‍🍼","woman feeding baby: light skin tone","People & Body"], + ["👩🏼‍🍼","woman feeding baby: medium-light skin tone","People & Body"], + ["👩🏽‍🍼","woman feeding baby: medium skin tone","People & Body"], + ["👩🏾‍🍼","woman feeding baby: medium-dark skin tone","People & Body"], + ["👩🏿‍🍼","woman feeding baby: dark skin tone","People & Body"], + ["👨‍🍼","man feeding baby","People & Body"], + ["👨🏻‍🍼","man feeding baby: light skin tone","People & Body"], + ["👨🏼‍🍼","man feeding baby: medium-light skin tone","People & Body"], + ["👨🏽‍🍼","man feeding baby: medium skin tone","People & Body"], + ["👨🏾‍🍼","man feeding baby: medium-dark skin tone","People & Body"], + ["👨🏿‍🍼","man feeding baby: dark skin tone","People & Body"], + ["🧑‍🍼","person feeding baby","People & Body"], + ["🧑🏻‍🍼","person feeding baby: light skin tone","People & Body"], + ["🧑🏼‍🍼","person feeding baby: medium-light skin tone","People & Body"], + ["🧑🏽‍🍼","person feeding baby: medium skin tone","People & Body"], + ["🧑🏾‍🍼","person feeding baby: medium-dark skin tone","People & Body"], + ["🧑🏿‍🍼","person feeding baby: dark skin tone","People & Body"], + ["👼","baby angel","People & Body"], + ["👼🏻","baby angel: light skin tone","People & Body"], + ["👼🏼","baby angel: medium-light skin tone","People & Body"], + ["👼🏽","baby angel: medium skin tone","People & Body"], + ["👼🏾","baby angel: medium-dark skin tone","People & Body"], + ["👼🏿","baby angel: dark skin tone","People & Body"], + ["🎅","Santa Claus","People & Body"], + ["🎅🏻","Santa Claus: light skin tone","People & Body"], + ["🎅🏼","Santa Claus: medium-light skin tone","People & Body"], + ["🎅🏽","Santa Claus: medium skin tone","People & Body"], + ["🎅🏾","Santa Claus: medium-dark skin tone","People & Body"], + ["🎅🏿","Santa Claus: dark skin tone","People & Body"], + ["🤶","Mrs. Claus","People & Body"], + ["🤶🏻","Mrs. Claus: light skin tone","People & Body"], + ["🤶🏼","Mrs. Claus: medium-light skin tone","People & Body"], + ["🤶🏽","Mrs. Claus: medium skin tone","People & Body"], + ["🤶🏾","Mrs. Claus: medium-dark skin tone","People & Body"], + ["🤶🏿","Mrs. Claus: dark skin tone","People & Body"], + ["🧑‍🎄","Mx Claus","People & Body"], + ["🧑🏻‍🎄","Mx Claus: light skin tone","People & Body"], + ["🧑🏼‍🎄","Mx Claus: medium-light skin tone","People & Body"], + ["🧑🏽‍🎄","Mx Claus: medium skin tone","People & Body"], + ["🧑🏾‍🎄","Mx Claus: medium-dark skin tone","People & Body"], + ["🧑🏿‍🎄","Mx Claus: dark skin tone","People & Body"], + ["🦸","superhero","People & Body"], + ["🦸🏻","superhero: light skin tone","People & Body"], + ["🦸🏼","superhero: medium-light skin tone","People & Body"], + ["🦸🏽","superhero: medium skin tone","People & Body"], + ["🦸🏾","superhero: medium-dark skin tone","People & Body"], + ["🦸🏿","superhero: dark skin tone","People & Body"], + ["🦸‍♂️","man superhero","People & Body"], + ["🦸🏻‍♂️","man superhero: light skin tone","People & Body"], + ["🦸🏼‍♂️","man superhero: medium-light skin tone","People & Body"], + ["🦸🏽‍♂️","man superhero: medium skin tone","People & Body"], + ["🦸🏾‍♂️","man superhero: medium-dark skin tone","People & Body"], + ["🦸🏿‍♂️","man superhero: dark skin tone","People & Body"], + ["🦸‍♀️","woman superhero","People & Body"], + ["🦸🏻‍♀️","woman superhero: light skin tone","People & Body"], + ["🦸🏼‍♀️","woman superhero: medium-light skin tone","People & Body"], + ["🦸🏽‍♀️","woman superhero: medium skin tone","People & Body"], + ["🦸🏾‍♀️","woman superhero: medium-dark skin tone","People & Body"], + ["🦸🏿‍♀️","woman superhero: dark skin tone","People & Body"], + ["🦹","supervillain","People & Body"], + ["🦹🏻","supervillain: light skin tone","People & Body"], + ["🦹🏼","supervillain: medium-light skin tone","People & Body"], + ["🦹🏽","supervillain: medium skin tone","People & Body"], + ["🦹🏾","supervillain: medium-dark skin tone","People & Body"], + ["🦹🏿","supervillain: dark skin tone","People & Body"], + ["🦹‍♂️","man supervillain","People & Body"], + ["🦹🏻‍♂️","man supervillain: light skin tone","People & Body"], + ["🦹🏼‍♂️","man supervillain: medium-light skin tone","People & Body"], + ["🦹🏽‍♂️","man supervillain: medium skin tone","People & Body"], + ["🦹🏾‍♂️","man supervillain: medium-dark skin tone","People & Body"], + ["🦹🏿‍♂️","man supervillain: dark skin tone","People & Body"], + ["🦹‍♀️","woman supervillain","People & Body"], + ["🦹🏻‍♀️","woman supervillain: light skin tone","People & Body"], + ["🦹🏼‍♀️","woman supervillain: medium-light skin tone","People & Body"], + ["🦹🏽‍♀️","woman supervillain: medium skin tone","People & Body"], + ["🦹🏾‍♀️","woman supervillain: medium-dark skin tone","People & Body"], + ["🦹🏿‍♀️","woman supervillain: dark skin tone","People & Body"], + ["🧙","mage","People & Body"], + ["🧙🏻","mage: light skin tone","People & Body"], + ["🧙🏼","mage: medium-light skin tone","People & Body"], + ["🧙🏽","mage: medium skin tone","People & Body"], + ["🧙🏾","mage: medium-dark skin tone","People & Body"], + ["🧙🏿","mage: dark skin tone","People & Body"], + ["🧙‍♂️","man mage","People & Body"], + ["🧙🏻‍♂️","man mage: light skin tone","People & Body"], + ["🧙🏼‍♂️","man mage: medium-light skin tone","People & Body"], + ["🧙🏽‍♂️","man mage: medium skin tone","People & Body"], + ["🧙🏾‍♂️","man mage: medium-dark skin tone","People & Body"], + ["🧙🏿‍♂️","man mage: dark skin tone","People & Body"], + ["🧙‍♀️","woman mage","People & Body"], + ["🧙🏻‍♀️","woman mage: light skin tone","People & Body"], + ["🧙🏼‍♀️","woman mage: medium-light skin tone","People & Body"], + ["🧙🏽‍♀️","woman mage: medium skin tone","People & Body"], + ["🧙🏾‍♀️","woman mage: medium-dark skin tone","People & Body"], + ["🧙🏿‍♀️","woman mage: dark skin tone","People & Body"], + ["🧚","fairy","People & Body"], + ["🧚🏻","fairy: light skin tone","People & Body"], + ["🧚🏼","fairy: medium-light skin tone","People & Body"], + ["🧚🏽","fairy: medium skin tone","People & Body"], + ["🧚🏾","fairy: medium-dark skin tone","People & Body"], + ["🧚🏿","fairy: dark skin tone","People & Body"], + ["🧚‍♂️","man fairy","People & Body"], + ["🧚🏻‍♂️","man fairy: light skin tone","People & Body"], + ["🧚🏼‍♂️","man fairy: medium-light skin tone","People & Body"], + ["🧚🏽‍♂️","man fairy: medium skin tone","People & Body"], + ["🧚🏾‍♂️","man fairy: medium-dark skin tone","People & Body"], + ["🧚🏿‍♂️","man fairy: dark skin tone","People & Body"], + ["🧚‍♀️","woman fairy","People & Body"], + ["🧚🏻‍♀️","woman fairy: light skin tone","People & Body"], + ["🧚🏼‍♀️","woman fairy: medium-light skin tone","People & Body"], + ["🧚🏽‍♀️","woman fairy: medium skin tone","People & Body"], + ["🧚🏾‍♀️","woman fairy: medium-dark skin tone","People & Body"], + ["🧚🏿‍♀️","woman fairy: dark skin tone","People & Body"], + ["🧛","vampire","People & Body"], + ["🧛🏻","vampire: light skin tone","People & Body"], + ["🧛🏼","vampire: medium-light skin tone","People & Body"], + ["🧛🏽","vampire: medium skin tone","People & Body"], + ["🧛🏾","vampire: medium-dark skin tone","People & Body"], + ["🧛🏿","vampire: dark skin tone","People & Body"], + ["🧛‍♂️","man vampire","People & Body"], + ["🧛🏻‍♂️","man vampire: light skin tone","People & Body"], + ["🧛🏼‍♂️","man vampire: medium-light skin tone","People & Body"], + ["🧛🏽‍♂️","man vampire: medium skin tone","People & Body"], + ["🧛🏾‍♂️","man vampire: medium-dark skin tone","People & Body"], + ["🧛🏿‍♂️","man vampire: dark skin tone","People & Body"], + ["🧛‍♀️","woman vampire","People & Body"], + ["🧛🏻‍♀️","woman vampire: light skin tone","People & Body"], + ["🧛🏼‍♀️","woman vampire: medium-light skin tone","People & Body"], + ["🧛🏽‍♀️","woman vampire: medium skin tone","People & Body"], + ["🧛🏾‍♀️","woman vampire: medium-dark skin tone","People & Body"], + ["🧛🏿‍♀️","woman vampire: dark skin tone","People & Body"], + ["🧜","merperson","People & Body"], + ["🧜🏻","merperson: light skin tone","People & Body"], + ["🧜🏼","merperson: medium-light skin tone","People & Body"], + ["🧜🏽","merperson: medium skin tone","People & Body"], + ["🧜🏾","merperson: medium-dark skin tone","People & Body"], + ["🧜🏿","merperson: dark skin tone","People & Body"], + ["🧜‍♂️","merman","People & Body"], + ["🧜🏻‍♂️","merman: light skin tone","People & Body"], + ["🧜🏼‍♂️","merman: medium-light skin tone","People & Body"], + ["🧜🏽‍♂️","merman: medium skin tone","People & Body"], + ["🧜🏾‍♂️","merman: medium-dark skin tone","People & Body"], + ["🧜🏿‍♂️","merman: dark skin tone","People & Body"], + ["🧜‍♀️","mermaid","People & Body"], + ["🧜🏻‍♀️","mermaid: light skin tone","People & Body"], + ["🧜🏼‍♀️","mermaid: medium-light skin tone","People & Body"], + ["🧜🏽‍♀️","mermaid: medium skin tone","People & Body"], + ["🧜🏾‍♀️","mermaid: medium-dark skin tone","People & Body"], + ["🧜🏿‍♀️","mermaid: dark skin tone","People & Body"], + ["🧝","elf","People & Body"], + ["🧝🏻","elf: light skin tone","People & Body"], + ["🧝🏼","elf: medium-light skin tone","People & Body"], + ["🧝🏽","elf: medium skin tone","People & Body"], + ["🧝🏾","elf: medium-dark skin tone","People & Body"], + ["🧝🏿","elf: dark skin tone","People & Body"], + ["🧝‍♂️","man elf","People & Body"], + ["🧝🏻‍♂️","man elf: light skin tone","People & Body"], + ["🧝🏼‍♂️","man elf: medium-light skin tone","People & Body"], + ["🧝🏽‍♂️","man elf: medium skin tone","People & Body"], + ["🧝🏾‍♂️","man elf: medium-dark skin tone","People & Body"], + ["🧝🏿‍♂️","man elf: dark skin tone","People & Body"], + ["🧝‍♀️","woman elf","People & Body"], + ["🧝🏻‍♀️","woman elf: light skin tone","People & Body"], + ["🧝🏼‍♀️","woman elf: medium-light skin tone","People & Body"], + ["🧝🏽‍♀️","woman elf: medium skin tone","People & Body"], + ["🧝🏾‍♀️","woman elf: medium-dark skin tone","People & Body"], + ["🧝🏿‍♀️","woman elf: dark skin tone","People & Body"], + ["🧞","genie","People & Body"], + ["🧞‍♂️","man genie","People & Body"], + ["🧞‍♀️","woman genie","People & Body"], + ["🧟","zombie","People & Body"], + ["🧟‍♂️","man zombie","People & Body"], + ["🧟‍♀️","woman zombie","People & Body"], + ["🧌","troll","People & Body"], + ["🫈","hairy creature","People & Body"], + ["💆","person getting massage","People & Body"], + ["💆🏻","person getting massage: light skin tone","People & Body"], + ["💆🏼","person getting massage: medium-light skin tone","People & Body"], + ["💆🏽","person getting massage: medium skin tone","People & Body"], + ["💆🏾","person getting massage: medium-dark skin tone","People & Body"], + ["💆🏿","person getting massage: dark skin tone","People & Body"], + ["💆‍♂️","man getting massage","People & Body"], + ["💆🏻‍♂️","man getting massage: light skin tone","People & Body"], + ["💆🏼‍♂️","man getting massage: medium-light skin tone","People & Body"], + ["💆🏽‍♂️","man getting massage: medium skin tone","People & Body"], + ["💆🏾‍♂️","man getting massage: medium-dark skin tone","People & Body"], + ["💆🏿‍♂️","man getting massage: dark skin tone","People & Body"], + ["💆‍♀️","woman getting massage","People & Body"], + ["💆🏻‍♀️","woman getting massage: light skin tone","People & Body"], + ["💆🏼‍♀️","woman getting massage: medium-light skin tone","People & Body"], + ["💆🏽‍♀️","woman getting massage: medium skin tone","People & Body"], + ["💆🏾‍♀️","woman getting massage: medium-dark skin tone","People & Body"], + ["💆🏿‍♀️","woman getting massage: dark skin tone","People & Body"], + ["💇","person getting haircut","People & Body"], + ["💇🏻","person getting haircut: light skin tone","People & Body"], + ["💇🏼","person getting haircut: medium-light skin tone","People & Body"], + ["💇🏽","person getting haircut: medium skin tone","People & Body"], + ["💇🏾","person getting haircut: medium-dark skin tone","People & Body"], + ["💇🏿","person getting haircut: dark skin tone","People & Body"], + ["💇‍♂️","man getting haircut","People & Body"], + ["💇🏻‍♂️","man getting haircut: light skin tone","People & Body"], + ["💇🏼‍♂️","man getting haircut: medium-light skin tone","People & Body"], + ["💇🏽‍♂️","man getting haircut: medium skin tone","People & Body"], + ["💇🏾‍♂️","man getting haircut: medium-dark skin tone","People & Body"], + ["💇🏿‍♂️","man getting haircut: dark skin tone","People & Body"], + ["💇‍♀️","woman getting haircut","People & Body"], + ["💇🏻‍♀️","woman getting haircut: light skin tone","People & Body"], + ["💇🏼‍♀️","woman getting haircut: medium-light skin tone","People & Body"], + ["💇🏽‍♀️","woman getting haircut: medium skin tone","People & Body"], + ["💇🏾‍♀️","woman getting haircut: medium-dark skin tone","People & Body"], + ["💇🏿‍♀️","woman getting haircut: dark skin tone","People & Body"], + ["🚶","person walking","People & Body"], + ["🚶🏻","person walking: light skin tone","People & Body"], + ["🚶🏼","person walking: medium-light skin tone","People & Body"], + ["🚶🏽","person walking: medium skin tone","People & Body"], + ["🚶🏾","person walking: medium-dark skin tone","People & Body"], + ["🚶🏿","person walking: dark skin tone","People & Body"], + ["🚶‍♂️","man walking","People & Body"], + ["🚶🏻‍♂️","man walking: light skin tone","People & Body"], + ["🚶🏼‍♂️","man walking: medium-light skin tone","People & Body"], + ["🚶🏽‍♂️","man walking: medium skin tone","People & Body"], + ["🚶🏾‍♂️","man walking: medium-dark skin tone","People & Body"], + ["🚶🏿‍♂️","man walking: dark skin tone","People & Body"], + ["🚶‍♀️","woman walking","People & Body"], + ["🚶🏻‍♀️","woman walking: light skin tone","People & Body"], + ["🚶🏼‍♀️","woman walking: medium-light skin tone","People & Body"], + ["🚶🏽‍♀️","woman walking: medium skin tone","People & Body"], + ["🚶🏾‍♀️","woman walking: medium-dark skin tone","People & Body"], + ["🚶🏿‍♀️","woman walking: dark skin tone","People & Body"], + ["🚶‍➡️","person walking facing right","People & Body"], + ["🚶🏻‍➡️","person walking facing right: light skin tone","People & Body"], + ["🚶🏼‍➡️","person walking facing right: medium-light skin tone","People & Body"], + ["🚶🏽‍➡️","person walking facing right: medium skin tone","People & Body"], + ["🚶🏾‍➡️","person walking facing right: medium-dark skin tone","People & Body"], + ["🚶🏿‍➡️","person walking facing right: dark skin tone","People & Body"], + ["🚶‍♀️‍➡️","woman walking facing right","People & Body"], + ["🚶🏻‍♀️‍➡️","woman walking facing right: light skin tone","People & Body"], + ["🚶🏼‍♀️‍➡️","woman walking facing right: medium-light skin tone","People & Body"], + ["🚶🏽‍♀️‍➡️","woman walking facing right: medium skin tone","People & Body"], + ["🚶🏾‍♀️‍➡️","woman walking facing right: medium-dark skin tone","People & Body"], + ["🚶🏿‍♀️‍➡️","woman walking facing right: dark skin tone","People & Body"], + ["🚶‍♂️‍➡️","man walking facing right","People & Body"], + ["🚶🏻‍♂️‍➡️","man walking facing right: light skin tone","People & Body"], + ["🚶🏼‍♂️‍➡️","man walking facing right: medium-light skin tone","People & Body"], + ["🚶🏽‍♂️‍➡️","man walking facing right: medium skin tone","People & Body"], + ["🚶🏾‍♂️‍➡️","man walking facing right: medium-dark skin tone","People & Body"], + ["🚶🏿‍♂️‍➡️","man walking facing right: dark skin tone","People & Body"], + ["🧍","person standing","People & Body"], + ["🧍🏻","person standing: light skin tone","People & Body"], + ["🧍🏼","person standing: medium-light skin tone","People & Body"], + ["🧍🏽","person standing: medium skin tone","People & Body"], + ["🧍🏾","person standing: medium-dark skin tone","People & Body"], + ["🧍🏿","person standing: dark skin tone","People & Body"], + ["🧍‍♂️","man standing","People & Body"], + ["🧍🏻‍♂️","man standing: light skin tone","People & Body"], + ["🧍🏼‍♂️","man standing: medium-light skin tone","People & Body"], + ["🧍🏽‍♂️","man standing: medium skin tone","People & Body"], + ["🧍🏾‍♂️","man standing: medium-dark skin tone","People & Body"], + ["🧍🏿‍♂️","man standing: dark skin tone","People & Body"], + ["🧍‍♀️","woman standing","People & Body"], + ["🧍🏻‍♀️","woman standing: light skin tone","People & Body"], + ["🧍🏼‍♀️","woman standing: medium-light skin tone","People & Body"], + ["🧍🏽‍♀️","woman standing: medium skin tone","People & Body"], + ["🧍🏾‍♀️","woman standing: medium-dark skin tone","People & Body"], + ["🧍🏿‍♀️","woman standing: dark skin tone","People & Body"], + ["🧎","person kneeling","People & Body"], + ["🧎🏻","person kneeling: light skin tone","People & Body"], + ["🧎🏼","person kneeling: medium-light skin tone","People & Body"], + ["🧎🏽","person kneeling: medium skin tone","People & Body"], + ["🧎🏾","person kneeling: medium-dark skin tone","People & Body"], + ["🧎🏿","person kneeling: dark skin tone","People & Body"], + ["🧎‍♂️","man kneeling","People & Body"], + ["🧎🏻‍♂️","man kneeling: light skin tone","People & Body"], + ["🧎🏼‍♂️","man kneeling: medium-light skin tone","People & Body"], + ["🧎🏽‍♂️","man kneeling: medium skin tone","People & Body"], + ["🧎🏾‍♂️","man kneeling: medium-dark skin tone","People & Body"], + ["🧎🏿‍♂️","man kneeling: dark skin tone","People & Body"], + ["🧎‍♀️","woman kneeling","People & Body"], + ["🧎🏻‍♀️","woman kneeling: light skin tone","People & Body"], + ["🧎🏼‍♀️","woman kneeling: medium-light skin tone","People & Body"], + ["🧎🏽‍♀️","woman kneeling: medium skin tone","People & Body"], + ["🧎🏾‍♀️","woman kneeling: medium-dark skin tone","People & Body"], + ["🧎🏿‍♀️","woman kneeling: dark skin tone","People & Body"], + ["🧎‍➡️","person kneeling facing right","People & Body"], + ["🧎🏻‍➡️","person kneeling facing right: light skin tone","People & Body"], + ["🧎🏼‍➡️","person kneeling facing right: medium-light skin tone","People & Body"], + ["🧎🏽‍➡️","person kneeling facing right: medium skin tone","People & Body"], + ["🧎🏾‍➡️","person kneeling facing right: medium-dark skin tone","People & Body"], + ["🧎🏿‍➡️","person kneeling facing right: dark skin tone","People & Body"], + ["🧎‍♀️‍➡️","woman kneeling facing right","People & Body"], + ["🧎🏻‍♀️‍➡️","woman kneeling facing right: light skin tone","People & Body"], + ["🧎🏼‍♀️‍➡️","woman kneeling facing right: medium-light skin tone","People & Body"], + ["🧎🏽‍♀️‍➡️","woman kneeling facing right: medium skin tone","People & Body"], + ["🧎🏾‍♀️‍➡️","woman kneeling facing right: medium-dark skin tone","People & Body"], + ["🧎🏿‍♀️‍➡️","woman kneeling facing right: dark skin tone","People & Body"], + ["🧎‍♂️‍➡️","man kneeling facing right","People & Body"], + ["🧎🏻‍♂️‍➡️","man kneeling facing right: light skin tone","People & Body"], + ["🧎🏼‍♂️‍➡️","man kneeling facing right: medium-light skin tone","People & Body"], + ["🧎🏽‍♂️‍➡️","man kneeling facing right: medium skin tone","People & Body"], + ["🧎🏾‍♂️‍➡️","man kneeling facing right: medium-dark skin tone","People & Body"], + ["🧎🏿‍♂️‍➡️","man kneeling facing right: dark skin tone","People & Body"], + ["🧑‍🦯","person with white cane","People & Body"], + ["🧑🏻‍🦯","person with white cane: light skin tone","People & Body"], + ["🧑🏼‍🦯","person with white cane: medium-light skin tone","People & Body"], + ["🧑🏽‍🦯","person with white cane: medium skin tone","People & Body"], + ["🧑🏾‍🦯","person with white cane: medium-dark skin tone","People & Body"], + ["🧑🏿‍🦯","person with white cane: dark skin tone","People & Body"], + ["🧑‍🦯‍➡️","person with white cane facing right","People & Body"], + ["🧑🏻‍🦯‍➡️","person with white cane facing right: light skin tone","People & Body"], + ["🧑🏼‍🦯‍➡️","person with white cane facing right: medium-light skin tone","People & Body"], + ["🧑🏽‍🦯‍➡️","person with white cane facing right: medium skin tone","People & Body"], + ["🧑🏾‍🦯‍➡️","person with white cane facing right: medium-dark skin tone","People & Body"], + ["🧑🏿‍🦯‍➡️","person with white cane facing right: dark skin tone","People & Body"], + ["👨‍🦯","man with white cane","People & Body"], + ["👨🏻‍🦯","man with white cane: light skin tone","People & Body"], + ["👨🏼‍🦯","man with white cane: medium-light skin tone","People & Body"], + ["👨🏽‍🦯","man with white cane: medium skin tone","People & Body"], + ["👨🏾‍🦯","man with white cane: medium-dark skin tone","People & Body"], + ["👨🏿‍🦯","man with white cane: dark skin tone","People & Body"], + ["👨‍🦯‍➡️","man with white cane facing right","People & Body"], + ["👨🏻‍🦯‍➡️","man with white cane facing right: light skin tone","People & Body"], + ["👨🏼‍🦯‍➡️","man with white cane facing right: medium-light skin tone","People & Body"], + ["👨🏽‍🦯‍➡️","man with white cane facing right: medium skin tone","People & Body"], + ["👨🏾‍🦯‍➡️","man with white cane facing right: medium-dark skin tone","People & Body"], + ["👨🏿‍🦯‍➡️","man with white cane facing right: dark skin tone","People & Body"], + ["👩‍🦯","woman with white cane","People & Body"], + ["👩🏻‍🦯","woman with white cane: light skin tone","People & Body"], + ["👩🏼‍🦯","woman with white cane: medium-light skin tone","People & Body"], + ["👩🏽‍🦯","woman with white cane: medium skin tone","People & Body"], + ["👩🏾‍🦯","woman with white cane: medium-dark skin tone","People & Body"], + ["👩🏿‍🦯","woman with white cane: dark skin tone","People & Body"], + ["👩‍🦯‍➡️","woman with white cane facing right","People & Body"], + ["👩🏻‍🦯‍➡️","woman with white cane facing right: light skin tone","People & Body"], + ["👩🏼‍🦯‍➡️","woman with white cane facing right: medium-light skin tone","People & Body"], + ["👩🏽‍🦯‍➡️","woman with white cane facing right: medium skin tone","People & Body"], + ["👩🏾‍🦯‍➡️","woman with white cane facing right: medium-dark skin tone","People & Body"], + ["👩🏿‍🦯‍➡️","woman with white cane facing right: dark skin tone","People & Body"], + ["🧑‍🦼","person in motorized wheelchair","People & Body"], + ["🧑🏻‍🦼","person in motorized wheelchair: light skin tone","People & Body"], + ["🧑🏼‍🦼","person in motorized wheelchair: medium-light skin tone","People & Body"], + ["🧑🏽‍🦼","person in motorized wheelchair: medium skin tone","People & Body"], + ["🧑🏾‍🦼","person in motorized wheelchair: medium-dark skin tone","People & Body"], + ["🧑🏿‍🦼","person in motorized wheelchair: dark skin tone","People & Body"], + ["🧑‍🦼‍➡️","person in motorized wheelchair facing right","People & Body"], + ["🧑🏻‍🦼‍➡️","person in motorized wheelchair facing right: light skin tone","People & Body"], + ["🧑🏼‍🦼‍➡️","person in motorized wheelchair facing right: medium-light skin tone","People & Body"], + ["🧑🏽‍🦼‍➡️","person in motorized wheelchair facing right: medium skin tone","People & Body"], + ["🧑🏾‍🦼‍➡️","person in motorized wheelchair facing right: medium-dark skin tone","People & Body"], + ["🧑🏿‍🦼‍➡️","person in motorized wheelchair facing right: dark skin tone","People & Body"], + ["👨‍🦼","man in motorized wheelchair","People & Body"], + ["👨🏻‍🦼","man in motorized wheelchair: light skin tone","People & Body"], + ["👨🏼‍🦼","man in motorized wheelchair: medium-light skin tone","People & Body"], + ["👨🏽‍🦼","man in motorized wheelchair: medium skin tone","People & Body"], + ["👨🏾‍🦼","man in motorized wheelchair: medium-dark skin tone","People & Body"], + ["👨🏿‍🦼","man in motorized wheelchair: dark skin tone","People & Body"], + ["👨‍🦼‍➡️","man in motorized wheelchair facing right","People & Body"], + ["👨🏻‍🦼‍➡️","man in motorized wheelchair facing right: light skin tone","People & Body"], + ["👨🏼‍🦼‍➡️","man in motorized wheelchair facing right: medium-light skin tone","People & Body"], + ["👨🏽‍🦼‍➡️","man in motorized wheelchair facing right: medium skin tone","People & Body"], + ["👨🏾‍🦼‍➡️","man in motorized wheelchair facing right: medium-dark skin tone","People & Body"], + ["👨🏿‍🦼‍➡️","man in motorized wheelchair facing right: dark skin tone","People & Body"], + ["👩‍🦼","woman in motorized wheelchair","People & Body"], + ["👩🏻‍🦼","woman in motorized wheelchair: light skin tone","People & Body"], + ["👩🏼‍🦼","woman in motorized wheelchair: medium-light skin tone","People & Body"], + ["👩🏽‍🦼","woman in motorized wheelchair: medium skin tone","People & Body"], + ["👩🏾‍🦼","woman in motorized wheelchair: medium-dark skin tone","People & Body"], + ["👩🏿‍🦼","woman in motorized wheelchair: dark skin tone","People & Body"], + ["👩‍🦼‍➡️","woman in motorized wheelchair facing right","People & Body"], + ["👩🏻‍🦼‍➡️","woman in motorized wheelchair facing right: light skin tone","People & Body"], + ["👩🏼‍🦼‍➡️","woman in motorized wheelchair facing right: medium-light skin tone","People & Body"], + ["👩🏽‍🦼‍➡️","woman in motorized wheelchair facing right: medium skin tone","People & Body"], + ["👩🏾‍🦼‍➡️","woman in motorized wheelchair facing right: medium-dark skin tone","People & Body"], + ["👩🏿‍🦼‍➡️","woman in motorized wheelchair facing right: dark skin tone","People & Body"], + ["🧑‍🦽","person in manual wheelchair","People & Body"], + ["🧑🏻‍🦽","person in manual wheelchair: light skin tone","People & Body"], + ["🧑🏼‍🦽","person in manual wheelchair: medium-light skin tone","People & Body"], + ["🧑🏽‍🦽","person in manual wheelchair: medium skin tone","People & Body"], + ["🧑🏾‍🦽","person in manual wheelchair: medium-dark skin tone","People & Body"], + ["🧑🏿‍🦽","person in manual wheelchair: dark skin tone","People & Body"], + ["🧑‍🦽‍➡️","person in manual wheelchair facing right","People & Body"], + ["🧑🏻‍🦽‍➡️","person in manual wheelchair facing right: light skin tone","People & Body"], + ["🧑🏼‍🦽‍➡️","person in manual wheelchair facing right: medium-light skin tone","People & Body"], + ["🧑🏽‍🦽‍➡️","person in manual wheelchair facing right: medium skin tone","People & Body"], + ["🧑🏾‍🦽‍➡️","person in manual wheelchair facing right: medium-dark skin tone","People & Body"], + ["🧑🏿‍🦽‍➡️","person in manual wheelchair facing right: dark skin tone","People & Body"], + ["👨‍🦽","man in manual wheelchair","People & Body"], + ["👨🏻‍🦽","man in manual wheelchair: light skin tone","People & Body"], + ["👨🏼‍🦽","man in manual wheelchair: medium-light skin tone","People & Body"], + ["👨🏽‍🦽","man in manual wheelchair: medium skin tone","People & Body"], + ["👨🏾‍🦽","man in manual wheelchair: medium-dark skin tone","People & Body"], + ["👨🏿‍🦽","man in manual wheelchair: dark skin tone","People & Body"], + ["👨‍🦽‍➡️","man in manual wheelchair facing right","People & Body"], + ["👨🏻‍🦽‍➡️","man in manual wheelchair facing right: light skin tone","People & Body"], + ["👨🏼‍🦽‍➡️","man in manual wheelchair facing right: medium-light skin tone","People & Body"], + ["👨🏽‍🦽‍➡️","man in manual wheelchair facing right: medium skin tone","People & Body"], + ["👨🏾‍🦽‍➡️","man in manual wheelchair facing right: medium-dark skin tone","People & Body"], + ["👨🏿‍🦽‍➡️","man in manual wheelchair facing right: dark skin tone","People & Body"], + ["👩‍🦽","woman in manual wheelchair","People & Body"], + ["👩🏻‍🦽","woman in manual wheelchair: light skin tone","People & Body"], + ["👩🏼‍🦽","woman in manual wheelchair: medium-light skin tone","People & Body"], + ["👩🏽‍🦽","woman in manual wheelchair: medium skin tone","People & Body"], + ["👩🏾‍🦽","woman in manual wheelchair: medium-dark skin tone","People & Body"], + ["👩🏿‍🦽","woman in manual wheelchair: dark skin tone","People & Body"], + ["👩‍🦽‍➡️","woman in manual wheelchair facing right","People & Body"], + ["👩🏻‍🦽‍➡️","woman in manual wheelchair facing right: light skin tone","People & Body"], + ["👩🏼‍🦽‍➡️","woman in manual wheelchair facing right: medium-light skin tone","People & Body"], + ["👩🏽‍🦽‍➡️","woman in manual wheelchair facing right: medium skin tone","People & Body"], + ["👩🏾‍🦽‍➡️","woman in manual wheelchair facing right: medium-dark skin tone","People & Body"], + ["👩🏿‍🦽‍➡️","woman in manual wheelchair facing right: dark skin tone","People & Body"], + ["🏃","person running","People & Body"], + ["🏃🏻","person running: light skin tone","People & Body"], + ["🏃🏼","person running: medium-light skin tone","People & Body"], + ["🏃🏽","person running: medium skin tone","People & Body"], + ["🏃🏾","person running: medium-dark skin tone","People & Body"], + ["🏃🏿","person running: dark skin tone","People & Body"], + ["🏃‍♂️","man running","People & Body"], + ["🏃🏻‍♂️","man running: light skin tone","People & Body"], + ["🏃🏼‍♂️","man running: medium-light skin tone","People & Body"], + ["🏃🏽‍♂️","man running: medium skin tone","People & Body"], + ["🏃🏾‍♂️","man running: medium-dark skin tone","People & Body"], + ["🏃🏿‍♂️","man running: dark skin tone","People & Body"], + ["🏃‍♀️","woman running","People & Body"], + ["🏃🏻‍♀️","woman running: light skin tone","People & Body"], + ["🏃🏼‍♀️","woman running: medium-light skin tone","People & Body"], + ["🏃🏽‍♀️","woman running: medium skin tone","People & Body"], + ["🏃🏾‍♀️","woman running: medium-dark skin tone","People & Body"], + ["🏃🏿‍♀️","woman running: dark skin tone","People & Body"], + ["🏃‍➡️","person running facing right","People & Body"], + ["🏃🏻‍➡️","person running facing right: light skin tone","People & Body"], + ["🏃🏼‍➡️","person running facing right: medium-light skin tone","People & Body"], + ["🏃🏽‍➡️","person running facing right: medium skin tone","People & Body"], + ["🏃🏾‍➡️","person running facing right: medium-dark skin tone","People & Body"], + ["🏃🏿‍➡️","person running facing right: dark skin tone","People & Body"], + ["🏃‍♀️‍➡️","woman running facing right","People & Body"], + ["🏃🏻‍♀️‍➡️","woman running facing right: light skin tone","People & Body"], + ["🏃🏼‍♀️‍➡️","woman running facing right: medium-light skin tone","People & Body"], + ["🏃🏽‍♀️‍➡️","woman running facing right: medium skin tone","People & Body"], + ["🏃🏾‍♀️‍➡️","woman running facing right: medium-dark skin tone","People & Body"], + ["🏃🏿‍♀️‍➡️","woman running facing right: dark skin tone","People & Body"], + ["🏃‍♂️‍➡️","man running facing right","People & Body"], + ["🏃🏻‍♂️‍➡️","man running facing right: light skin tone","People & Body"], + ["🏃🏼‍♂️‍➡️","man running facing right: medium-light skin tone","People & Body"], + ["🏃🏽‍♂️‍➡️","man running facing right: medium skin tone","People & Body"], + ["🏃🏾‍♂️‍➡️","man running facing right: medium-dark skin tone","People & Body"], + ["🏃🏿‍♂️‍➡️","man running facing right: dark skin tone","People & Body"], + ["🧑‍🩰","ballet dancer","People & Body"], + ["🧑🏻‍🩰","ballet dancer: light skin tone","People & Body"], + ["🧑🏼‍🩰","ballet dancer: medium-light skin tone","People & Body"], + ["🧑🏽‍🩰","ballet dancer: medium skin tone","People & Body"], + ["🧑🏾‍🩰","ballet dancer: medium-dark skin tone","People & Body"], + ["🧑🏿‍🩰","ballet dancer: dark skin tone","People & Body"], + ["💃","woman dancing","People & Body"], + ["💃🏻","woman dancing: light skin tone","People & Body"], + ["💃🏼","woman dancing: medium-light skin tone","People & Body"], + ["💃🏽","woman dancing: medium skin tone","People & Body"], + ["💃🏾","woman dancing: medium-dark skin tone","People & Body"], + ["💃🏿","woman dancing: dark skin tone","People & Body"], + ["🕺","man dancing","People & Body"], + ["🕺🏻","man dancing: light skin tone","People & Body"], + ["🕺🏼","man dancing: medium-light skin tone","People & Body"], + ["🕺🏽","man dancing: medium skin tone","People & Body"], + ["🕺🏾","man dancing: medium-dark skin tone","People & Body"], + ["🕺🏿","man dancing: dark skin tone","People & Body"], + ["🕴️","person in suit levitating","People & Body"], + ["🕴🏻","person in suit levitating: light skin tone","People & Body"], + ["🕴🏼","person in suit levitating: medium-light skin tone","People & Body"], + ["🕴🏽","person in suit levitating: medium skin tone","People & Body"], + ["🕴🏾","person in suit levitating: medium-dark skin tone","People & Body"], + ["🕴🏿","person in suit levitating: dark skin tone","People & Body"], + ["👯","people with bunny ears","People & Body"], + ["👯🏻","people with bunny ears: light skin tone","People & Body"], + ["👯🏼","people with bunny ears: medium-light skin tone","People & Body"], + ["👯🏽","people with bunny ears: medium skin tone","People & Body"], + ["👯🏾","people with bunny ears: medium-dark skin tone","People & Body"], + ["👯🏿","people with bunny ears: dark skin tone","People & Body"], + ["👯‍♂️","men with bunny ears","People & Body"], + ["👯🏻‍♂️","men with bunny ears: light skin tone","People & Body"], + ["👯🏼‍♂️","men with bunny ears: medium-light skin tone","People & Body"], + ["👯🏽‍♂️","men with bunny ears: medium skin tone","People & Body"], + ["👯🏾‍♂️","men with bunny ears: medium-dark skin tone","People & Body"], + ["👯🏿‍♂️","men with bunny ears: dark skin tone","People & Body"], + ["👯‍♀️","women with bunny ears","People & Body"], + ["👯🏻‍♀️","women with bunny ears: light skin tone","People & Body"], + ["👯🏼‍♀️","women with bunny ears: medium-light skin tone","People & Body"], + ["👯🏽‍♀️","women with bunny ears: medium skin tone","People & Body"], + ["👯🏾‍♀️","women with bunny ears: medium-dark skin tone","People & Body"], + ["👯🏿‍♀️","women with bunny ears: dark skin tone","People & Body"], + ["🧑🏻‍🐰‍🧑🏼","people with bunny ears: light skin tone, medium-light skin tone","People & Body"], + ["🧑🏻‍🐰‍🧑🏽","people with bunny ears: light skin tone, medium skin tone","People & Body"], + ["🧑🏻‍🐰‍🧑🏾","people with bunny ears: light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏻‍🐰‍🧑🏿","people with bunny ears: light skin tone, dark skin tone","People & Body"], + ["🧑🏼‍🐰‍🧑🏻","people with bunny ears: medium-light skin tone, light skin tone","People & Body"], + ["🧑🏼‍🐰‍🧑🏽","people with bunny ears: medium-light skin tone, medium skin tone","People & Body"], + ["🧑🏼‍🐰‍🧑🏾","people with bunny ears: medium-light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏼‍🐰‍🧑🏿","people with bunny ears: medium-light skin tone, dark skin tone","People & Body"], + ["🧑🏽‍🐰‍🧑🏻","people with bunny ears: medium skin tone, light skin tone","People & Body"], + ["🧑🏽‍🐰‍🧑🏼","people with bunny ears: medium skin tone, medium-light skin tone","People & Body"], + ["🧑🏽‍🐰‍🧑🏾","people with bunny ears: medium skin tone, medium-dark skin tone","People & Body"], + ["🧑🏽‍🐰‍🧑🏿","people with bunny ears: medium skin tone, dark skin tone","People & Body"], + ["🧑🏾‍🐰‍🧑🏻","people with bunny ears: medium-dark skin tone, light skin tone","People & Body"], + ["🧑🏾‍🐰‍🧑🏼","people with bunny ears: medium-dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏾‍🐰‍🧑🏽","people with bunny ears: medium-dark skin tone, medium skin tone","People & Body"], + ["🧑🏾‍🐰‍🧑🏿","people with bunny ears: medium-dark skin tone, dark skin tone","People & Body"], + ["🧑🏿‍🐰‍🧑🏻","people with bunny ears: dark skin tone, light skin tone","People & Body"], + ["🧑🏿‍🐰‍🧑🏼","people with bunny ears: dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏿‍🐰‍🧑🏽","people with bunny ears: dark skin tone, medium skin tone","People & Body"], + ["🧑🏿‍🐰‍🧑🏾","people with bunny ears: dark skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍🐰‍👨🏼","men with bunny ears: light skin tone, medium-light skin tone","People & Body"], + ["👨🏻‍🐰‍👨🏽","men with bunny ears: light skin tone, medium skin tone","People & Body"], + ["👨🏻‍🐰‍👨🏾","men with bunny ears: light skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍🐰‍👨🏿","men with bunny ears: light skin tone, dark skin tone","People & Body"], + ["👨🏼‍🐰‍👨🏻","men with bunny ears: medium-light skin tone, light skin tone","People & Body"], + ["👨🏼‍🐰‍👨🏽","men with bunny ears: medium-light skin tone, medium skin tone","People & Body"], + ["👨🏼‍🐰‍👨🏾","men with bunny ears: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👨🏼‍🐰‍👨🏿","men with bunny ears: medium-light skin tone, dark skin tone","People & Body"], + ["👨🏽‍🐰‍👨🏻","men with bunny ears: medium skin tone, light skin tone","People & Body"], + ["👨🏽‍🐰‍👨🏼","men with bunny ears: medium skin tone, medium-light skin tone","People & Body"], + ["👨🏽‍🐰‍👨🏾","men with bunny ears: medium skin tone, medium-dark skin tone","People & Body"], + ["👨🏽‍🐰‍👨🏿","men with bunny ears: medium skin tone, dark skin tone","People & Body"], + ["👨🏾‍🐰‍👨🏻","men with bunny ears: medium-dark skin tone, light skin tone","People & Body"], + ["👨🏾‍🐰‍👨🏼","men with bunny ears: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👨🏾‍🐰‍👨🏽","men with bunny ears: medium-dark skin tone, medium skin tone","People & Body"], + ["👨🏾‍🐰‍👨🏿","men with bunny ears: medium-dark skin tone, dark skin tone","People & Body"], + ["👨🏿‍🐰‍👨🏻","men with bunny ears: dark skin tone, light skin tone","People & Body"], + ["👨🏿‍🐰‍👨🏼","men with bunny ears: dark skin tone, medium-light skin tone","People & Body"], + ["👨🏿‍🐰‍👨🏽","men with bunny ears: dark skin tone, medium skin tone","People & Body"], + ["👨🏿‍🐰‍👨🏾","men with bunny ears: dark skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍🐰‍👩🏼","women with bunny ears: light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍🐰‍👩🏽","women with bunny ears: light skin tone, medium skin tone","People & Body"], + ["👩🏻‍🐰‍👩🏾","women with bunny ears: light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍🐰‍👩🏿","women with bunny ears: light skin tone, dark skin tone","People & Body"], + ["👩🏼‍🐰‍👩🏻","women with bunny ears: medium-light skin tone, light skin tone","People & Body"], + ["👩🏼‍🐰‍👩🏽","women with bunny ears: medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍🐰‍👩🏾","women with bunny ears: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍🐰‍👩🏿","women with bunny ears: medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍🐰‍👩🏻","women with bunny ears: medium skin tone, light skin tone","People & Body"], + ["👩🏽‍🐰‍👩🏼","women with bunny ears: medium skin tone, medium-light skin tone","People & Body"], + ["👩🏽‍🐰‍👩🏾","women with bunny ears: medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍🐰‍👩🏿","women with bunny ears: medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍🐰‍👩🏻","women with bunny ears: medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍🐰‍👩🏼","women with bunny ears: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍🐰‍👩🏽","women with bunny ears: medium-dark skin tone, medium skin tone","People & Body"], + ["👩🏾‍🐰‍👩🏿","women with bunny ears: medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍🐰‍👩🏻","women with bunny ears: dark skin tone, light skin tone","People & Body"], + ["👩🏿‍🐰‍👩🏼","women with bunny ears: dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍🐰‍👩🏽","women with bunny ears: dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍🐰‍👩🏾","women with bunny ears: dark skin tone, medium-dark skin tone","People & Body"], + ["🧖","person in steamy room","People & Body"], + ["🧖🏻","person in steamy room: light skin tone","People & Body"], + ["🧖🏼","person in steamy room: medium-light skin tone","People & Body"], + ["🧖🏽","person in steamy room: medium skin tone","People & Body"], + ["🧖🏾","person in steamy room: medium-dark skin tone","People & Body"], + ["🧖🏿","person in steamy room: dark skin tone","People & Body"], + ["🧖‍♂️","man in steamy room","People & Body"], + ["🧖🏻‍♂️","man in steamy room: light skin tone","People & Body"], + ["🧖🏼‍♂️","man in steamy room: medium-light skin tone","People & Body"], + ["🧖🏽‍♂️","man in steamy room: medium skin tone","People & Body"], + ["🧖🏾‍♂️","man in steamy room: medium-dark skin tone","People & Body"], + ["🧖🏿‍♂️","man in steamy room: dark skin tone","People & Body"], + ["🧖‍♀️","woman in steamy room","People & Body"], + ["🧖🏻‍♀️","woman in steamy room: light skin tone","People & Body"], + ["🧖🏼‍♀️","woman in steamy room: medium-light skin tone","People & Body"], + ["🧖🏽‍♀️","woman in steamy room: medium skin tone","People & Body"], + ["🧖🏾‍♀️","woman in steamy room: medium-dark skin tone","People & Body"], + ["🧖🏿‍♀️","woman in steamy room: dark skin tone","People & Body"], + ["🧗","person climbing","People & Body"], + ["🧗🏻","person climbing: light skin tone","People & Body"], + ["🧗🏼","person climbing: medium-light skin tone","People & Body"], + ["🧗🏽","person climbing: medium skin tone","People & Body"], + ["🧗🏾","person climbing: medium-dark skin tone","People & Body"], + ["🧗🏿","person climbing: dark skin tone","People & Body"], + ["🧗‍♂️","man climbing","People & Body"], + ["🧗🏻‍♂️","man climbing: light skin tone","People & Body"], + ["🧗🏼‍♂️","man climbing: medium-light skin tone","People & Body"], + ["🧗🏽‍♂️","man climbing: medium skin tone","People & Body"], + ["🧗🏾‍♂️","man climbing: medium-dark skin tone","People & Body"], + ["🧗🏿‍♂️","man climbing: dark skin tone","People & Body"], + ["🧗‍♀️","woman climbing","People & Body"], + ["🧗🏻‍♀️","woman climbing: light skin tone","People & Body"], + ["🧗🏼‍♀️","woman climbing: medium-light skin tone","People & Body"], + ["🧗🏽‍♀️","woman climbing: medium skin tone","People & Body"], + ["🧗🏾‍♀️","woman climbing: medium-dark skin tone","People & Body"], + ["🧗🏿‍♀️","woman climbing: dark skin tone","People & Body"], + ["🤺","person fencing","People & Body"], + ["🏇","horse racing","People & Body"], + ["🏇🏻","horse racing: light skin tone","People & Body"], + ["🏇🏼","horse racing: medium-light skin tone","People & Body"], + ["🏇🏽","horse racing: medium skin tone","People & Body"], + ["🏇🏾","horse racing: medium-dark skin tone","People & Body"], + ["🏇🏿","horse racing: dark skin tone","People & Body"], + ["⛷️","skier","People & Body"], + ["🏂","snowboarder","People & Body"], + ["🏂🏻","snowboarder: light skin tone","People & Body"], + ["🏂🏼","snowboarder: medium-light skin tone","People & Body"], + ["🏂🏽","snowboarder: medium skin tone","People & Body"], + ["🏂🏾","snowboarder: medium-dark skin tone","People & Body"], + ["🏂🏿","snowboarder: dark skin tone","People & Body"], + ["🏌️","person golfing","People & Body"], + ["🏌🏻","person golfing: light skin tone","People & Body"], + ["🏌🏼","person golfing: medium-light skin tone","People & Body"], + ["🏌🏽","person golfing: medium skin tone","People & Body"], + ["🏌🏾","person golfing: medium-dark skin tone","People & Body"], + ["🏌🏿","person golfing: dark skin tone","People & Body"], + ["🏌️‍♂️","man golfing","People & Body"], + ["🏌🏻‍♂️","man golfing: light skin tone","People & Body"], + ["🏌🏼‍♂️","man golfing: medium-light skin tone","People & Body"], + ["🏌🏽‍♂️","man golfing: medium skin tone","People & Body"], + ["🏌🏾‍♂️","man golfing: medium-dark skin tone","People & Body"], + ["🏌🏿‍♂️","man golfing: dark skin tone","People & Body"], + ["🏌️‍♀️","woman golfing","People & Body"], + ["🏌🏻‍♀️","woman golfing: light skin tone","People & Body"], + ["🏌🏼‍♀️","woman golfing: medium-light skin tone","People & Body"], + ["🏌🏽‍♀️","woman golfing: medium skin tone","People & Body"], + ["🏌🏾‍♀️","woman golfing: medium-dark skin tone","People & Body"], + ["🏌🏿‍♀️","woman golfing: dark skin tone","People & Body"], + ["🏄","person surfing","People & Body"], + ["🏄🏻","person surfing: light skin tone","People & Body"], + ["🏄🏼","person surfing: medium-light skin tone","People & Body"], + ["🏄🏽","person surfing: medium skin tone","People & Body"], + ["🏄🏾","person surfing: medium-dark skin tone","People & Body"], + ["🏄🏿","person surfing: dark skin tone","People & Body"], + ["🏄‍♂️","man surfing","People & Body"], + ["🏄🏻‍♂️","man surfing: light skin tone","People & Body"], + ["🏄🏼‍♂️","man surfing: medium-light skin tone","People & Body"], + ["🏄🏽‍♂️","man surfing: medium skin tone","People & Body"], + ["🏄🏾‍♂️","man surfing: medium-dark skin tone","People & Body"], + ["🏄🏿‍♂️","man surfing: dark skin tone","People & Body"], + ["🏄‍♀️","woman surfing","People & Body"], + ["🏄🏻‍♀️","woman surfing: light skin tone","People & Body"], + ["🏄🏼‍♀️","woman surfing: medium-light skin tone","People & Body"], + ["🏄🏽‍♀️","woman surfing: medium skin tone","People & Body"], + ["🏄🏾‍♀️","woman surfing: medium-dark skin tone","People & Body"], + ["🏄🏿‍♀️","woman surfing: dark skin tone","People & Body"], + ["🚣","person rowing boat","People & Body"], + ["🚣🏻","person rowing boat: light skin tone","People & Body"], + ["🚣🏼","person rowing boat: medium-light skin tone","People & Body"], + ["🚣🏽","person rowing boat: medium skin tone","People & Body"], + ["🚣🏾","person rowing boat: medium-dark skin tone","People & Body"], + ["🚣🏿","person rowing boat: dark skin tone","People & Body"], + ["🚣‍♂️","man rowing boat","People & Body"], + ["🚣🏻‍♂️","man rowing boat: light skin tone","People & Body"], + ["🚣🏼‍♂️","man rowing boat: medium-light skin tone","People & Body"], + ["🚣🏽‍♂️","man rowing boat: medium skin tone","People & Body"], + ["🚣🏾‍♂️","man rowing boat: medium-dark skin tone","People & Body"], + ["🚣🏿‍♂️","man rowing boat: dark skin tone","People & Body"], + ["🚣‍♀️","woman rowing boat","People & Body"], + ["🚣🏻‍♀️","woman rowing boat: light skin tone","People & Body"], + ["🚣🏼‍♀️","woman rowing boat: medium-light skin tone","People & Body"], + ["🚣🏽‍♀️","woman rowing boat: medium skin tone","People & Body"], + ["🚣🏾‍♀️","woman rowing boat: medium-dark skin tone","People & Body"], + ["🚣🏿‍♀️","woman rowing boat: dark skin tone","People & Body"], + ["🏊","person swimming","People & Body"], + ["🏊🏻","person swimming: light skin tone","People & Body"], + ["🏊🏼","person swimming: medium-light skin tone","People & Body"], + ["🏊🏽","person swimming: medium skin tone","People & Body"], + ["🏊🏾","person swimming: medium-dark skin tone","People & Body"], + ["🏊🏿","person swimming: dark skin tone","People & Body"], + ["🏊‍♂️","man swimming","People & Body"], + ["🏊🏻‍♂️","man swimming: light skin tone","People & Body"], + ["🏊🏼‍♂️","man swimming: medium-light skin tone","People & Body"], + ["🏊🏽‍♂️","man swimming: medium skin tone","People & Body"], + ["🏊🏾‍♂️","man swimming: medium-dark skin tone","People & Body"], + ["🏊🏿‍♂️","man swimming: dark skin tone","People & Body"], + ["🏊‍♀️","woman swimming","People & Body"], + ["🏊🏻‍♀️","woman swimming: light skin tone","People & Body"], + ["🏊🏼‍♀️","woman swimming: medium-light skin tone","People & Body"], + ["🏊🏽‍♀️","woman swimming: medium skin tone","People & Body"], + ["🏊🏾‍♀️","woman swimming: medium-dark skin tone","People & Body"], + ["🏊🏿‍♀️","woman swimming: dark skin tone","People & Body"], + ["⛹️","person bouncing ball","People & Body"], + ["⛹🏻","person bouncing ball: light skin tone","People & Body"], + ["⛹🏼","person bouncing ball: medium-light skin tone","People & Body"], + ["⛹🏽","person bouncing ball: medium skin tone","People & Body"], + ["⛹🏾","person bouncing ball: medium-dark skin tone","People & Body"], + ["⛹🏿","person bouncing ball: dark skin tone","People & Body"], + ["⛹️‍♂️","man bouncing ball","People & Body"], + ["⛹🏻‍♂️","man bouncing ball: light skin tone","People & Body"], + ["⛹🏼‍♂️","man bouncing ball: medium-light skin tone","People & Body"], + ["⛹🏽‍♂️","man bouncing ball: medium skin tone","People & Body"], + ["⛹🏾‍♂️","man bouncing ball: medium-dark skin tone","People & Body"], + ["⛹🏿‍♂️","man bouncing ball: dark skin tone","People & Body"], + ["⛹️‍♀️","woman bouncing ball","People & Body"], + ["⛹🏻‍♀️","woman bouncing ball: light skin tone","People & Body"], + ["⛹🏼‍♀️","woman bouncing ball: medium-light skin tone","People & Body"], + ["⛹🏽‍♀️","woman bouncing ball: medium skin tone","People & Body"], + ["⛹🏾‍♀️","woman bouncing ball: medium-dark skin tone","People & Body"], + ["⛹🏿‍♀️","woman bouncing ball: dark skin tone","People & Body"], + ["🏋️","person lifting weights","People & Body"], + ["🏋🏻","person lifting weights: light skin tone","People & Body"], + ["🏋🏼","person lifting weights: medium-light skin tone","People & Body"], + ["🏋🏽","person lifting weights: medium skin tone","People & Body"], + ["🏋🏾","person lifting weights: medium-dark skin tone","People & Body"], + ["🏋🏿","person lifting weights: dark skin tone","People & Body"], + ["🏋️‍♂️","man lifting weights","People & Body"], + ["🏋🏻‍♂️","man lifting weights: light skin tone","People & Body"], + ["🏋🏼‍♂️","man lifting weights: medium-light skin tone","People & Body"], + ["🏋🏽‍♂️","man lifting weights: medium skin tone","People & Body"], + ["🏋🏾‍♂️","man lifting weights: medium-dark skin tone","People & Body"], + ["🏋🏿‍♂️","man lifting weights: dark skin tone","People & Body"], + ["🏋️‍♀️","woman lifting weights","People & Body"], + ["🏋🏻‍♀️","woman lifting weights: light skin tone","People & Body"], + ["🏋🏼‍♀️","woman lifting weights: medium-light skin tone","People & Body"], + ["🏋🏽‍♀️","woman lifting weights: medium skin tone","People & Body"], + ["🏋🏾‍♀️","woman lifting weights: medium-dark skin tone","People & Body"], + ["🏋🏿‍♀️","woman lifting weights: dark skin tone","People & Body"], + ["🚴","person biking","People & Body"], + ["🚴🏻","person biking: light skin tone","People & Body"], + ["🚴🏼","person biking: medium-light skin tone","People & Body"], + ["🚴🏽","person biking: medium skin tone","People & Body"], + ["🚴🏾","person biking: medium-dark skin tone","People & Body"], + ["🚴🏿","person biking: dark skin tone","People & Body"], + ["🚴‍♂️","man biking","People & Body"], + ["🚴🏻‍♂️","man biking: light skin tone","People & Body"], + ["🚴🏼‍♂️","man biking: medium-light skin tone","People & Body"], + ["🚴🏽‍♂️","man biking: medium skin tone","People & Body"], + ["🚴🏾‍♂️","man biking: medium-dark skin tone","People & Body"], + ["🚴🏿‍♂️","man biking: dark skin tone","People & Body"], + ["🚴‍♀️","woman biking","People & Body"], + ["🚴🏻‍♀️","woman biking: light skin tone","People & Body"], + ["🚴🏼‍♀️","woman biking: medium-light skin tone","People & Body"], + ["🚴🏽‍♀️","woman biking: medium skin tone","People & Body"], + ["🚴🏾‍♀️","woman biking: medium-dark skin tone","People & Body"], + ["🚴🏿‍♀️","woman biking: dark skin tone","People & Body"], + ["🚵","person mountain biking","People & Body"], + ["🚵🏻","person mountain biking: light skin tone","People & Body"], + ["🚵🏼","person mountain biking: medium-light skin tone","People & Body"], + ["🚵🏽","person mountain biking: medium skin tone","People & Body"], + ["🚵🏾","person mountain biking: medium-dark skin tone","People & Body"], + ["🚵🏿","person mountain biking: dark skin tone","People & Body"], + ["🚵‍♂️","man mountain biking","People & Body"], + ["🚵🏻‍♂️","man mountain biking: light skin tone","People & Body"], + ["🚵🏼‍♂️","man mountain biking: medium-light skin tone","People & Body"], + ["🚵🏽‍♂️","man mountain biking: medium skin tone","People & Body"], + ["🚵🏾‍♂️","man mountain biking: medium-dark skin tone","People & Body"], + ["🚵🏿‍♂️","man mountain biking: dark skin tone","People & Body"], + ["🚵‍♀️","woman mountain biking","People & Body"], + ["🚵🏻‍♀️","woman mountain biking: light skin tone","People & Body"], + ["🚵🏼‍♀️","woman mountain biking: medium-light skin tone","People & Body"], + ["🚵🏽‍♀️","woman mountain biking: medium skin tone","People & Body"], + ["🚵🏾‍♀️","woman mountain biking: medium-dark skin tone","People & Body"], + ["🚵🏿‍♀️","woman mountain biking: dark skin tone","People & Body"], + ["🤸","person cartwheeling","People & Body"], + ["🤸🏻","person cartwheeling: light skin tone","People & Body"], + ["🤸🏼","person cartwheeling: medium-light skin tone","People & Body"], + ["🤸🏽","person cartwheeling: medium skin tone","People & Body"], + ["🤸🏾","person cartwheeling: medium-dark skin tone","People & Body"], + ["🤸🏿","person cartwheeling: dark skin tone","People & Body"], + ["🤸‍♂️","man cartwheeling","People & Body"], + ["🤸🏻‍♂️","man cartwheeling: light skin tone","People & Body"], + ["🤸🏼‍♂️","man cartwheeling: medium-light skin tone","People & Body"], + ["🤸🏽‍♂️","man cartwheeling: medium skin tone","People & Body"], + ["🤸🏾‍♂️","man cartwheeling: medium-dark skin tone","People & Body"], + ["🤸🏿‍♂️","man cartwheeling: dark skin tone","People & Body"], + ["🤸‍♀️","woman cartwheeling","People & Body"], + ["🤸🏻‍♀️","woman cartwheeling: light skin tone","People & Body"], + ["🤸🏼‍♀️","woman cartwheeling: medium-light skin tone","People & Body"], + ["🤸🏽‍♀️","woman cartwheeling: medium skin tone","People & Body"], + ["🤸🏾‍♀️","woman cartwheeling: medium-dark skin tone","People & Body"], + ["🤸🏿‍♀️","woman cartwheeling: dark skin tone","People & Body"], + ["🤼","people wrestling","People & Body"], + ["🤼🏻","people wrestling: light skin tone","People & Body"], + ["🤼🏼","people wrestling: medium-light skin tone","People & Body"], + ["🤼🏽","people wrestling: medium skin tone","People & Body"], + ["🤼🏾","people wrestling: medium-dark skin tone","People & Body"], + ["🤼🏿","people wrestling: dark skin tone","People & Body"], + ["🤼‍♂️","men wrestling","People & Body"], + ["🤼🏻‍♂️","men wrestling: light skin tone","People & Body"], + ["🤼🏼‍♂️","men wrestling: medium-light skin tone","People & Body"], + ["🤼🏽‍♂️","men wrestling: medium skin tone","People & Body"], + ["🤼🏾‍♂️","men wrestling: medium-dark skin tone","People & Body"], + ["🤼🏿‍♂️","men wrestling: dark skin tone","People & Body"], + ["🤼‍♀️","women wrestling","People & Body"], + ["🤼🏻‍♀️","women wrestling: light skin tone","People & Body"], + ["🤼🏼‍♀️","women wrestling: medium-light skin tone","People & Body"], + ["🤼🏽‍♀️","women wrestling: medium skin tone","People & Body"], + ["🤼🏾‍♀️","women wrestling: medium-dark skin tone","People & Body"], + ["🤼🏿‍♀️","women wrestling: dark skin tone","People & Body"], + ["🧑🏻‍🫯‍🧑🏼","people wrestling: light skin tone, medium-light skin tone","People & Body"], + ["🧑🏻‍🫯‍🧑🏽","people wrestling: light skin tone, medium skin tone","People & Body"], + ["🧑🏻‍🫯‍🧑🏾","people wrestling: light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏻‍🫯‍🧑🏿","people wrestling: light skin tone, dark skin tone","People & Body"], + ["🧑🏼‍🫯‍🧑🏻","people wrestling: medium-light skin tone, light skin tone","People & Body"], + ["🧑🏼‍🫯‍🧑🏽","people wrestling: medium-light skin tone, medium skin tone","People & Body"], + ["🧑🏼‍🫯‍🧑🏾","people wrestling: medium-light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏼‍🫯‍🧑🏿","people wrestling: medium-light skin tone, dark skin tone","People & Body"], + ["🧑🏽‍🫯‍🧑🏻","people wrestling: medium skin tone, light skin tone","People & Body"], + ["🧑🏽‍🫯‍🧑🏼","people wrestling: medium skin tone, medium-light skin tone","People & Body"], + ["🧑🏽‍🫯‍🧑🏾","people wrestling: medium skin tone, medium-dark skin tone","People & Body"], + ["🧑🏽‍🫯‍🧑🏿","people wrestling: medium skin tone, dark skin tone","People & Body"], + ["🧑🏾‍🫯‍🧑🏻","people wrestling: medium-dark skin tone, light skin tone","People & Body"], + ["🧑🏾‍🫯‍🧑🏼","people wrestling: medium-dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏾‍🫯‍🧑🏽","people wrestling: medium-dark skin tone, medium skin tone","People & Body"], + ["🧑🏾‍🫯‍🧑🏿","people wrestling: medium-dark skin tone, dark skin tone","People & Body"], + ["🧑🏿‍🫯‍🧑🏻","people wrestling: dark skin tone, light skin tone","People & Body"], + ["🧑🏿‍🫯‍🧑🏼","people wrestling: dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏿‍🫯‍🧑🏽","people wrestling: dark skin tone, medium skin tone","People & Body"], + ["🧑🏿‍🫯‍🧑🏾","people wrestling: dark skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍🫯‍👨🏼","men wrestling: light skin tone, medium-light skin tone","People & Body"], + ["👨🏻‍🫯‍👨🏽","men wrestling: light skin tone, medium skin tone","People & Body"], + ["👨🏻‍🫯‍👨🏾","men wrestling: light skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍🫯‍👨🏿","men wrestling: light skin tone, dark skin tone","People & Body"], + ["👨🏼‍🫯‍👨🏻","men wrestling: medium-light skin tone, light skin tone","People & Body"], + ["👨🏼‍🫯‍👨🏽","men wrestling: medium-light skin tone, medium skin tone","People & Body"], + ["👨🏼‍🫯‍👨🏾","men wrestling: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👨🏼‍🫯‍👨🏿","men wrestling: medium-light skin tone, dark skin tone","People & Body"], + ["👨🏽‍🫯‍👨🏻","men wrestling: medium skin tone, light skin tone","People & Body"], + ["👨🏽‍🫯‍👨🏼","men wrestling: medium skin tone, medium-light skin tone","People & Body"], + ["👨🏽‍🫯‍👨🏾","men wrestling: medium skin tone, medium-dark skin tone","People & Body"], + ["👨🏽‍🫯‍👨🏿","men wrestling: medium skin tone, dark skin tone","People & Body"], + ["👨🏾‍🫯‍👨🏻","men wrestling: medium-dark skin tone, light skin tone","People & Body"], + ["👨🏾‍🫯‍👨🏼","men wrestling: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👨🏾‍🫯‍👨🏽","men wrestling: medium-dark skin tone, medium skin tone","People & Body"], + ["👨🏾‍🫯‍👨🏿","men wrestling: medium-dark skin tone, dark skin tone","People & Body"], + ["👨🏿‍🫯‍👨🏻","men wrestling: dark skin tone, light skin tone","People & Body"], + ["👨🏿‍🫯‍👨🏼","men wrestling: dark skin tone, medium-light skin tone","People & Body"], + ["👨🏿‍🫯‍👨🏽","men wrestling: dark skin tone, medium skin tone","People & Body"], + ["👨🏿‍🫯‍👨🏾","men wrestling: dark skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍🫯‍👩🏼","women wrestling: light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍🫯‍👩🏽","women wrestling: light skin tone, medium skin tone","People & Body"], + ["👩🏻‍🫯‍👩🏾","women wrestling: light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍🫯‍👩🏿","women wrestling: light skin tone, dark skin tone","People & Body"], + ["👩🏼‍🫯‍👩🏻","women wrestling: medium-light skin tone, light skin tone","People & Body"], + ["👩🏼‍🫯‍👩🏽","women wrestling: medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍🫯‍👩🏾","women wrestling: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍🫯‍👩🏿","women wrestling: medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍🫯‍👩🏻","women wrestling: medium skin tone, light skin tone","People & Body"], + ["👩🏽‍🫯‍👩🏼","women wrestling: medium skin tone, medium-light skin tone","People & Body"], + ["👩🏽‍🫯‍👩🏾","women wrestling: medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍🫯‍👩🏿","women wrestling: medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍🫯‍👩🏻","women wrestling: medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍🫯‍👩🏼","women wrestling: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍🫯‍👩🏽","women wrestling: medium-dark skin tone, medium skin tone","People & Body"], + ["👩🏾‍🫯‍👩🏿","women wrestling: medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍🫯‍👩🏻","women wrestling: dark skin tone, light skin tone","People & Body"], + ["👩🏿‍🫯‍👩🏼","women wrestling: dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍🫯‍👩🏽","women wrestling: dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍🫯‍👩🏾","women wrestling: dark skin tone, medium-dark skin tone","People & Body"], + ["🤽","person playing water polo","People & Body"], + ["🤽🏻","person playing water polo: light skin tone","People & Body"], + ["🤽🏼","person playing water polo: medium-light skin tone","People & Body"], + ["🤽🏽","person playing water polo: medium skin tone","People & Body"], + ["🤽🏾","person playing water polo: medium-dark skin tone","People & Body"], + ["🤽🏿","person playing water polo: dark skin tone","People & Body"], + ["🤽‍♂️","man playing water polo","People & Body"], + ["🤽🏻‍♂️","man playing water polo: light skin tone","People & Body"], + ["🤽🏼‍♂️","man playing water polo: medium-light skin tone","People & Body"], + ["🤽🏽‍♂️","man playing water polo: medium skin tone","People & Body"], + ["🤽🏾‍♂️","man playing water polo: medium-dark skin tone","People & Body"], + ["🤽🏿‍♂️","man playing water polo: dark skin tone","People & Body"], + ["🤽‍♀️","woman playing water polo","People & Body"], + ["🤽🏻‍♀️","woman playing water polo: light skin tone","People & Body"], + ["🤽🏼‍♀️","woman playing water polo: medium-light skin tone","People & Body"], + ["🤽🏽‍♀️","woman playing water polo: medium skin tone","People & Body"], + ["🤽🏾‍♀️","woman playing water polo: medium-dark skin tone","People & Body"], + ["🤽🏿‍♀️","woman playing water polo: dark skin tone","People & Body"], + ["🤾","person playing handball","People & Body"], + ["🤾🏻","person playing handball: light skin tone","People & Body"], + ["🤾🏼","person playing handball: medium-light skin tone","People & Body"], + ["🤾🏽","person playing handball: medium skin tone","People & Body"], + ["🤾🏾","person playing handball: medium-dark skin tone","People & Body"], + ["🤾🏿","person playing handball: dark skin tone","People & Body"], + ["🤾‍♂️","man playing handball","People & Body"], + ["🤾🏻‍♂️","man playing handball: light skin tone","People & Body"], + ["🤾🏼‍♂️","man playing handball: medium-light skin tone","People & Body"], + ["🤾🏽‍♂️","man playing handball: medium skin tone","People & Body"], + ["🤾🏾‍♂️","man playing handball: medium-dark skin tone","People & Body"], + ["🤾🏿‍♂️","man playing handball: dark skin tone","People & Body"], + ["🤾‍♀️","woman playing handball","People & Body"], + ["🤾🏻‍♀️","woman playing handball: light skin tone","People & Body"], + ["🤾🏼‍♀️","woman playing handball: medium-light skin tone","People & Body"], + ["🤾🏽‍♀️","woman playing handball: medium skin tone","People & Body"], + ["🤾🏾‍♀️","woman playing handball: medium-dark skin tone","People & Body"], + ["🤾🏿‍♀️","woman playing handball: dark skin tone","People & Body"], + ["🤹","person juggling","People & Body"], + ["🤹🏻","person juggling: light skin tone","People & Body"], + ["🤹🏼","person juggling: medium-light skin tone","People & Body"], + ["🤹🏽","person juggling: medium skin tone","People & Body"], + ["🤹🏾","person juggling: medium-dark skin tone","People & Body"], + ["🤹🏿","person juggling: dark skin tone","People & Body"], + ["🤹‍♂️","man juggling","People & Body"], + ["🤹🏻‍♂️","man juggling: light skin tone","People & Body"], + ["🤹🏼‍♂️","man juggling: medium-light skin tone","People & Body"], + ["🤹🏽‍♂️","man juggling: medium skin tone","People & Body"], + ["🤹🏾‍♂️","man juggling: medium-dark skin tone","People & Body"], + ["🤹🏿‍♂️","man juggling: dark skin tone","People & Body"], + ["🤹‍♀️","woman juggling","People & Body"], + ["🤹🏻‍♀️","woman juggling: light skin tone","People & Body"], + ["🤹🏼‍♀️","woman juggling: medium-light skin tone","People & Body"], + ["🤹🏽‍♀️","woman juggling: medium skin tone","People & Body"], + ["🤹🏾‍♀️","woman juggling: medium-dark skin tone","People & Body"], + ["🤹🏿‍♀️","woman juggling: dark skin tone","People & Body"], + ["🧘","person in lotus position","People & Body"], + ["🧘🏻","person in lotus position: light skin tone","People & Body"], + ["🧘🏼","person in lotus position: medium-light skin tone","People & Body"], + ["🧘🏽","person in lotus position: medium skin tone","People & Body"], + ["🧘🏾","person in lotus position: medium-dark skin tone","People & Body"], + ["🧘🏿","person in lotus position: dark skin tone","People & Body"], + ["🧘‍♂️","man in lotus position","People & Body"], + ["🧘🏻‍♂️","man in lotus position: light skin tone","People & Body"], + ["🧘🏼‍♂️","man in lotus position: medium-light skin tone","People & Body"], + ["🧘🏽‍♂️","man in lotus position: medium skin tone","People & Body"], + ["🧘🏾‍♂️","man in lotus position: medium-dark skin tone","People & Body"], + ["🧘🏿‍♂️","man in lotus position: dark skin tone","People & Body"], + ["🧘‍♀️","woman in lotus position","People & Body"], + ["🧘🏻‍♀️","woman in lotus position: light skin tone","People & Body"], + ["🧘🏼‍♀️","woman in lotus position: medium-light skin tone","People & Body"], + ["🧘🏽‍♀️","woman in lotus position: medium skin tone","People & Body"], + ["🧘🏾‍♀️","woman in lotus position: medium-dark skin tone","People & Body"], + ["🧘🏿‍♀️","woman in lotus position: dark skin tone","People & Body"], + ["🛀","person taking bath","People & Body"], + ["🛀🏻","person taking bath: light skin tone","People & Body"], + ["🛀🏼","person taking bath: medium-light skin tone","People & Body"], + ["🛀🏽","person taking bath: medium skin tone","People & Body"], + ["🛀🏾","person taking bath: medium-dark skin tone","People & Body"], + ["🛀🏿","person taking bath: dark skin tone","People & Body"], + ["🛌","person in bed","People & Body"], + ["🛌🏻","person in bed: light skin tone","People & Body"], + ["🛌🏼","person in bed: medium-light skin tone","People & Body"], + ["🛌🏽","person in bed: medium skin tone","People & Body"], + ["🛌🏾","person in bed: medium-dark skin tone","People & Body"], + ["🛌🏿","person in bed: dark skin tone","People & Body"], + ["🧑‍🤝‍🧑","people holding hands","People & Body"], + ["🧑🏻‍🤝‍🧑🏻","people holding hands: light skin tone","People & Body"], + ["🧑🏻‍🤝‍🧑🏼","people holding hands: light skin tone, medium-light skin tone","People & Body"], + ["🧑🏻‍🤝‍🧑🏽","people holding hands: light skin tone, medium skin tone","People & Body"], + ["🧑🏻‍🤝‍🧑🏾","people holding hands: light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏻‍🤝‍🧑🏿","people holding hands: light skin tone, dark skin tone","People & Body"], + ["🧑🏼‍🤝‍🧑🏻","people holding hands: medium-light skin tone, light skin tone","People & Body"], + ["🧑🏼‍🤝‍🧑🏼","people holding hands: medium-light skin tone","People & Body"], + ["🧑🏼‍🤝‍🧑🏽","people holding hands: medium-light skin tone, medium skin tone","People & Body"], + ["🧑🏼‍🤝‍🧑🏾","people holding hands: medium-light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏼‍🤝‍🧑🏿","people holding hands: medium-light skin tone, dark skin tone","People & Body"], + ["🧑🏽‍🤝‍🧑🏻","people holding hands: medium skin tone, light skin tone","People & Body"], + ["🧑🏽‍🤝‍🧑🏼","people holding hands: medium skin tone, medium-light skin tone","People & Body"], + ["🧑🏽‍🤝‍🧑🏽","people holding hands: medium skin tone","People & Body"], + ["🧑🏽‍🤝‍🧑🏾","people holding hands: medium skin tone, medium-dark skin tone","People & Body"], + ["🧑🏽‍🤝‍🧑🏿","people holding hands: medium skin tone, dark skin tone","People & Body"], + ["🧑🏾‍🤝‍🧑🏻","people holding hands: medium-dark skin tone, light skin tone","People & Body"], + ["🧑🏾‍🤝‍🧑🏼","people holding hands: medium-dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏾‍🤝‍🧑🏽","people holding hands: medium-dark skin tone, medium skin tone","People & Body"], + ["🧑🏾‍🤝‍🧑🏾","people holding hands: medium-dark skin tone","People & Body"], + ["🧑🏾‍🤝‍🧑🏿","people holding hands: medium-dark skin tone, dark skin tone","People & Body"], + ["🧑🏿‍🤝‍🧑🏻","people holding hands: dark skin tone, light skin tone","People & Body"], + ["🧑🏿‍🤝‍🧑🏼","people holding hands: dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏿‍🤝‍🧑🏽","people holding hands: dark skin tone, medium skin tone","People & Body"], + ["🧑🏿‍🤝‍🧑🏾","people holding hands: dark skin tone, medium-dark skin tone","People & Body"], + ["🧑🏿‍🤝‍🧑🏿","people holding hands: dark skin tone","People & Body"], + ["👭","women holding hands","People & Body"], + ["👭🏻","women holding hands: light skin tone","People & Body"], + ["👩🏻‍🤝‍👩🏼","women holding hands: light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍🤝‍👩🏽","women holding hands: light skin tone, medium skin tone","People & Body"], + ["👩🏻‍🤝‍👩🏾","women holding hands: light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍🤝‍👩🏿","women holding hands: light skin tone, dark skin tone","People & Body"], + ["👩🏼‍🤝‍👩🏻","women holding hands: medium-light skin tone, light skin tone","People & Body"], + ["👭🏼","women holding hands: medium-light skin tone","People & Body"], + ["👩🏼‍🤝‍👩🏽","women holding hands: medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍🤝‍👩🏾","women holding hands: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍🤝‍👩🏿","women holding hands: medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍🤝‍👩🏻","women holding hands: medium skin tone, light skin tone","People & Body"], + ["👩🏽‍🤝‍👩🏼","women holding hands: medium skin tone, medium-light skin tone","People & Body"], + ["👭🏽","women holding hands: medium skin tone","People & Body"], + ["👩🏽‍🤝‍👩🏾","women holding hands: medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍🤝‍👩🏿","women holding hands: medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍🤝‍👩🏻","women holding hands: medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍🤝‍👩🏼","women holding hands: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍🤝‍👩🏽","women holding hands: medium-dark skin tone, medium skin tone","People & Body"], + ["👭🏾","women holding hands: medium-dark skin tone","People & Body"], + ["👩🏾‍🤝‍👩🏿","women holding hands: medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍🤝‍👩🏻","women holding hands: dark skin tone, light skin tone","People & Body"], + ["👩🏿‍🤝‍👩🏼","women holding hands: dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍🤝‍👩🏽","women holding hands: dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍🤝‍👩🏾","women holding hands: dark skin tone, medium-dark skin tone","People & Body"], + ["👭🏿","women holding hands: dark skin tone","People & Body"], + ["👫","woman and man holding hands","People & Body"], + ["👫🏻","woman and man holding hands: light skin tone","People & Body"], + ["👩🏻‍🤝‍👨🏼","woman and man holding hands: light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍🤝‍👨🏽","woman and man holding hands: light skin tone, medium skin tone","People & Body"], + ["👩🏻‍🤝‍👨🏾","woman and man holding hands: light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍🤝‍👨🏿","woman and man holding hands: light skin tone, dark skin tone","People & Body"], + ["👩🏼‍🤝‍👨🏻","woman and man holding hands: medium-light skin tone, light skin tone","People & Body"], + ["👫🏼","woman and man holding hands: medium-light skin tone","People & Body"], + ["👩🏼‍🤝‍👨🏽","woman and man holding hands: medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍🤝‍👨🏾","woman and man holding hands: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍🤝‍👨🏿","woman and man holding hands: medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍🤝‍👨🏻","woman and man holding hands: medium skin tone, light skin tone","People & Body"], + ["👩🏽‍🤝‍👨🏼","woman and man holding hands: medium skin tone, medium-light skin tone","People & Body"], + ["👫🏽","woman and man holding hands: medium skin tone","People & Body"], + ["👩🏽‍🤝‍👨🏾","woman and man holding hands: medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍🤝‍👨🏿","woman and man holding hands: medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍🤝‍👨🏻","woman and man holding hands: medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍🤝‍👨🏼","woman and man holding hands: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍🤝‍👨🏽","woman and man holding hands: medium-dark skin tone, medium skin tone","People & Body"], + ["👫🏾","woman and man holding hands: medium-dark skin tone","People & Body"], + ["👩🏾‍🤝‍👨🏿","woman and man holding hands: medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍🤝‍👨🏻","woman and man holding hands: dark skin tone, light skin tone","People & Body"], + ["👩🏿‍🤝‍👨🏼","woman and man holding hands: dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍🤝‍👨🏽","woman and man holding hands: dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍🤝‍👨🏾","woman and man holding hands: dark skin tone, medium-dark skin tone","People & Body"], + ["👫🏿","woman and man holding hands: dark skin tone","People & Body"], + ["👬","men holding hands","People & Body"], + ["👬🏻","men holding hands: light skin tone","People & Body"], + ["👨🏻‍🤝‍👨🏼","men holding hands: light skin tone, medium-light skin tone","People & Body"], + ["👨🏻‍🤝‍👨🏽","men holding hands: light skin tone, medium skin tone","People & Body"], + ["👨🏻‍🤝‍👨🏾","men holding hands: light skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍🤝‍👨🏿","men holding hands: light skin tone, dark skin tone","People & Body"], + ["👨🏼‍🤝‍👨🏻","men holding hands: medium-light skin tone, light skin tone","People & Body"], + ["👬🏼","men holding hands: medium-light skin tone","People & Body"], + ["👨🏼‍🤝‍👨🏽","men holding hands: medium-light skin tone, medium skin tone","People & Body"], + ["👨🏼‍🤝‍👨🏾","men holding hands: medium-light skin tone, medium-dark skin tone","People & Body"], + ["👨🏼‍🤝‍👨🏿","men holding hands: medium-light skin tone, dark skin tone","People & Body"], + ["👨🏽‍🤝‍👨🏻","men holding hands: medium skin tone, light skin tone","People & Body"], + ["👨🏽‍🤝‍👨🏼","men holding hands: medium skin tone, medium-light skin tone","People & Body"], + ["👬🏽","men holding hands: medium skin tone","People & Body"], + ["👨🏽‍🤝‍👨🏾","men holding hands: medium skin tone, medium-dark skin tone","People & Body"], + ["👨🏽‍🤝‍👨🏿","men holding hands: medium skin tone, dark skin tone","People & Body"], + ["👨🏾‍🤝‍👨🏻","men holding hands: medium-dark skin tone, light skin tone","People & Body"], + ["👨🏾‍🤝‍👨🏼","men holding hands: medium-dark skin tone, medium-light skin tone","People & Body"], + ["👨🏾‍🤝‍👨🏽","men holding hands: medium-dark skin tone, medium skin tone","People & Body"], + ["👬🏾","men holding hands: medium-dark skin tone","People & Body"], + ["👨🏾‍🤝‍👨🏿","men holding hands: medium-dark skin tone, dark skin tone","People & Body"], + ["👨🏿‍🤝‍👨🏻","men holding hands: dark skin tone, light skin tone","People & Body"], + ["👨🏿‍🤝‍👨🏼","men holding hands: dark skin tone, medium-light skin tone","People & Body"], + ["👨🏿‍🤝‍👨🏽","men holding hands: dark skin tone, medium skin tone","People & Body"], + ["👨🏿‍🤝‍👨🏾","men holding hands: dark skin tone, medium-dark skin tone","People & Body"], + ["👬🏿","men holding hands: dark skin tone","People & Body"], + ["💏","kiss","People & Body"], + ["💏🏻","kiss: light skin tone","People & Body"], + ["💏🏼","kiss: medium-light skin tone","People & Body"], + ["💏🏽","kiss: medium skin tone","People & Body"], + ["💏🏾","kiss: medium-dark skin tone","People & Body"], + ["💏🏿","kiss: dark skin tone","People & Body"], + ["🧑🏻‍❤️‍💋‍🧑🏼","kiss: person, person, light skin tone, medium-light skin tone","People & Body"], + ["🧑🏻‍❤️‍💋‍🧑🏽","kiss: person, person, light skin tone, medium skin tone","People & Body"], + ["🧑🏻‍❤️‍💋‍🧑🏾","kiss: person, person, light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏻‍❤️‍💋‍🧑🏿","kiss: person, person, light skin tone, dark skin tone","People & Body"], + ["🧑🏼‍❤️‍💋‍🧑🏻","kiss: person, person, medium-light skin tone, light skin tone","People & Body"], + ["🧑🏼‍❤️‍💋‍🧑🏽","kiss: person, person, medium-light skin tone, medium skin tone","People & Body"], + ["🧑🏼‍❤️‍💋‍🧑🏾","kiss: person, person, medium-light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏼‍❤️‍💋‍🧑🏿","kiss: person, person, medium-light skin tone, dark skin tone","People & Body"], + ["🧑🏽‍❤️‍💋‍🧑🏻","kiss: person, person, medium skin tone, light skin tone","People & Body"], + ["🧑🏽‍❤️‍💋‍🧑🏼","kiss: person, person, medium skin tone, medium-light skin tone","People & Body"], + ["🧑🏽‍❤️‍💋‍🧑🏾","kiss: person, person, medium skin tone, medium-dark skin tone","People & Body"], + ["🧑🏽‍❤️‍💋‍🧑🏿","kiss: person, person, medium skin tone, dark skin tone","People & Body"], + ["🧑🏾‍❤️‍💋‍🧑🏻","kiss: person, person, medium-dark skin tone, light skin tone","People & Body"], + ["🧑🏾‍❤️‍💋‍🧑🏼","kiss: person, person, medium-dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏾‍❤️‍💋‍🧑🏽","kiss: person, person, medium-dark skin tone, medium skin tone","People & Body"], + ["🧑🏾‍❤️‍💋‍🧑🏿","kiss: person, person, medium-dark skin tone, dark skin tone","People & Body"], + ["🧑🏿‍❤️‍💋‍🧑🏻","kiss: person, person, dark skin tone, light skin tone","People & Body"], + ["🧑🏿‍❤️‍💋‍🧑🏼","kiss: person, person, dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏿‍❤️‍💋‍🧑🏽","kiss: person, person, dark skin tone, medium skin tone","People & Body"], + ["🧑🏿‍❤️‍💋‍🧑🏾","kiss: person, person, dark skin tone, medium-dark skin tone","People & Body"], + ["👩‍❤️‍💋‍👨","kiss: woman, man","People & Body"], + ["👩🏻‍❤️‍💋‍👨🏻","kiss: woman, man, light skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👨🏼","kiss: woman, man, light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👨🏽","kiss: woman, man, light skin tone, medium skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👨🏾","kiss: woman, man, light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👨🏿","kiss: woman, man, light skin tone, dark skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👨🏻","kiss: woman, man, medium-light skin tone, light skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👨🏼","kiss: woman, man, medium-light skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👨🏽","kiss: woman, man, medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👨🏾","kiss: woman, man, medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👨🏿","kiss: woman, man, medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👨🏻","kiss: woman, man, medium skin tone, light skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👨🏼","kiss: woman, man, medium skin tone, medium-light skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👨🏽","kiss: woman, man, medium skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👨🏾","kiss: woman, man, medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👨🏿","kiss: woman, man, medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👨🏻","kiss: woman, man, medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👨🏼","kiss: woman, man, medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👨🏽","kiss: woman, man, medium-dark skin tone, medium skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👨🏾","kiss: woman, man, medium-dark skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👨🏿","kiss: woman, man, medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👨🏻","kiss: woman, man, dark skin tone, light skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👨🏼","kiss: woman, man, dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👨🏽","kiss: woman, man, dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👨🏾","kiss: woman, man, dark skin tone, medium-dark skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👨🏿","kiss: woman, man, dark skin tone","People & Body"], + ["👨‍❤️‍💋‍👨","kiss: man, man","People & Body"], + ["👨🏻‍❤️‍💋‍👨🏻","kiss: man, man, light skin tone","People & Body"], + ["👨🏻‍❤️‍💋‍👨🏼","kiss: man, man, light skin tone, medium-light skin tone","People & Body"], + ["👨🏻‍❤️‍💋‍👨🏽","kiss: man, man, light skin tone, medium skin tone","People & Body"], + ["👨🏻‍❤️‍💋‍👨🏾","kiss: man, man, light skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍❤️‍💋‍👨🏿","kiss: man, man, light skin tone, dark skin tone","People & Body"], + ["👨🏼‍❤️‍💋‍👨🏻","kiss: man, man, medium-light skin tone, light skin tone","People & Body"], + ["👨🏼‍❤️‍💋‍👨🏼","kiss: man, man, medium-light skin tone","People & Body"], + ["👨🏼‍❤️‍💋‍👨🏽","kiss: man, man, medium-light skin tone, medium skin tone","People & Body"], + ["👨🏼‍❤️‍💋‍👨🏾","kiss: man, man, medium-light skin tone, medium-dark skin tone","People & Body"], + ["👨🏼‍❤️‍💋‍👨🏿","kiss: man, man, medium-light skin tone, dark skin tone","People & Body"], + ["👨🏽‍❤️‍💋‍👨🏻","kiss: man, man, medium skin tone, light skin tone","People & Body"], + ["👨🏽‍❤️‍💋‍👨🏼","kiss: man, man, medium skin tone, medium-light skin tone","People & Body"], + ["👨🏽‍❤️‍💋‍👨🏽","kiss: man, man, medium skin tone","People & Body"], + ["👨🏽‍❤️‍💋‍👨🏾","kiss: man, man, medium skin tone, medium-dark skin tone","People & Body"], + ["👨🏽‍❤️‍💋‍👨🏿","kiss: man, man, medium skin tone, dark skin tone","People & Body"], + ["👨🏾‍❤️‍💋‍👨🏻","kiss: man, man, medium-dark skin tone, light skin tone","People & Body"], + ["👨🏾‍❤️‍💋‍👨🏼","kiss: man, man, medium-dark skin tone, medium-light skin tone","People & Body"], + ["👨🏾‍❤️‍💋‍👨🏽","kiss: man, man, medium-dark skin tone, medium skin tone","People & Body"], + ["👨🏾‍❤️‍💋‍👨🏾","kiss: man, man, medium-dark skin tone","People & Body"], + ["👨🏾‍❤️‍💋‍👨🏿","kiss: man, man, medium-dark skin tone, dark skin tone","People & Body"], + ["👨🏿‍❤️‍💋‍👨🏻","kiss: man, man, dark skin tone, light skin tone","People & Body"], + ["👨🏿‍❤️‍💋‍👨🏼","kiss: man, man, dark skin tone, medium-light skin tone","People & Body"], + ["👨🏿‍❤️‍💋‍👨🏽","kiss: man, man, dark skin tone, medium skin tone","People & Body"], + ["👨🏿‍❤️‍💋‍👨🏾","kiss: man, man, dark skin tone, medium-dark skin tone","People & Body"], + ["👨🏿‍❤️‍💋‍👨🏿","kiss: man, man, dark skin tone","People & Body"], + ["👩‍❤️‍💋‍👩","kiss: woman, woman","People & Body"], + ["👩🏻‍❤️‍💋‍👩🏻","kiss: woman, woman, light skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👩🏼","kiss: woman, woman, light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👩🏽","kiss: woman, woman, light skin tone, medium skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👩🏾","kiss: woman, woman, light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍❤️‍💋‍👩🏿","kiss: woman, woman, light skin tone, dark skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👩🏻","kiss: woman, woman, medium-light skin tone, light skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👩🏼","kiss: woman, woman, medium-light skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👩🏽","kiss: woman, woman, medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👩🏾","kiss: woman, woman, medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍❤️‍💋‍👩🏿","kiss: woman, woman, medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👩🏻","kiss: woman, woman, medium skin tone, light skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👩🏼","kiss: woman, woman, medium skin tone, medium-light skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👩🏽","kiss: woman, woman, medium skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👩🏾","kiss: woman, woman, medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍❤️‍💋‍👩🏿","kiss: woman, woman, medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👩🏻","kiss: woman, woman, medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👩🏼","kiss: woman, woman, medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👩🏽","kiss: woman, woman, medium-dark skin tone, medium skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👩🏾","kiss: woman, woman, medium-dark skin tone","People & Body"], + ["👩🏾‍❤️‍💋‍👩🏿","kiss: woman, woman, medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👩🏻","kiss: woman, woman, dark skin tone, light skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👩🏼","kiss: woman, woman, dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👩🏽","kiss: woman, woman, dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👩🏾","kiss: woman, woman, dark skin tone, medium-dark skin tone","People & Body"], + ["👩🏿‍❤️‍💋‍👩🏿","kiss: woman, woman, dark skin tone","People & Body"], + ["💑","couple with heart","People & Body"], + ["💑🏻","couple with heart: light skin tone","People & Body"], + ["💑🏼","couple with heart: medium-light skin tone","People & Body"], + ["💑🏽","couple with heart: medium skin tone","People & Body"], + ["💑🏾","couple with heart: medium-dark skin tone","People & Body"], + ["💑🏿","couple with heart: dark skin tone","People & Body"], + ["🧑🏻‍❤️‍🧑🏼","couple with heart: person, person, light skin tone, medium-light skin tone","People & Body"], + ["🧑🏻‍❤️‍🧑🏽","couple with heart: person, person, light skin tone, medium skin tone","People & Body"], + ["🧑🏻‍❤️‍🧑🏾","couple with heart: person, person, light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏻‍❤️‍🧑🏿","couple with heart: person, person, light skin tone, dark skin tone","People & Body"], + ["🧑🏼‍❤️‍🧑🏻","couple with heart: person, person, medium-light skin tone, light skin tone","People & Body"], + ["🧑🏼‍❤️‍🧑🏽","couple with heart: person, person, medium-light skin tone, medium skin tone","People & Body"], + ["🧑🏼‍❤️‍🧑🏾","couple with heart: person, person, medium-light skin tone, medium-dark skin tone","People & Body"], + ["🧑🏼‍❤️‍🧑🏿","couple with heart: person, person, medium-light skin tone, dark skin tone","People & Body"], + ["🧑🏽‍❤️‍🧑🏻","couple with heart: person, person, medium skin tone, light skin tone","People & Body"], + ["🧑🏽‍❤️‍🧑🏼","couple with heart: person, person, medium skin tone, medium-light skin tone","People & Body"], + ["🧑🏽‍❤️‍🧑🏾","couple with heart: person, person, medium skin tone, medium-dark skin tone","People & Body"], + ["🧑🏽‍❤️‍🧑🏿","couple with heart: person, person, medium skin tone, dark skin tone","People & Body"], + ["🧑🏾‍❤️‍🧑🏻","couple with heart: person, person, medium-dark skin tone, light skin tone","People & Body"], + ["🧑🏾‍❤️‍🧑🏼","couple with heart: person, person, medium-dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏾‍❤️‍🧑🏽","couple with heart: person, person, medium-dark skin tone, medium skin tone","People & Body"], + ["🧑🏾‍❤️‍🧑🏿","couple with heart: person, person, medium-dark skin tone, dark skin tone","People & Body"], + ["🧑🏿‍❤️‍🧑🏻","couple with heart: person, person, dark skin tone, light skin tone","People & Body"], + ["🧑🏿‍❤️‍🧑🏼","couple with heart: person, person, dark skin tone, medium-light skin tone","People & Body"], + ["🧑🏿‍❤️‍🧑🏽","couple with heart: person, person, dark skin tone, medium skin tone","People & Body"], + ["🧑🏿‍❤️‍🧑🏾","couple with heart: person, person, dark skin tone, medium-dark skin tone","People & Body"], + ["👩‍❤️‍👨","couple with heart: woman, man","People & Body"], + ["👩🏻‍❤️‍👨🏻","couple with heart: woman, man, light skin tone","People & Body"], + ["👩🏻‍❤️‍👨🏼","couple with heart: woman, man, light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍❤️‍👨🏽","couple with heart: woman, man, light skin tone, medium skin tone","People & Body"], + ["👩🏻‍❤️‍👨🏾","couple with heart: woman, man, light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍❤️‍👨🏿","couple with heart: woman, man, light skin tone, dark skin tone","People & Body"], + ["👩🏼‍❤️‍👨🏻","couple with heart: woman, man, medium-light skin tone, light skin tone","People & Body"], + ["👩🏼‍❤️‍👨🏼","couple with heart: woman, man, medium-light skin tone","People & Body"], + ["👩🏼‍❤️‍👨🏽","couple with heart: woman, man, medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍❤️‍👨🏾","couple with heart: woman, man, medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍❤️‍👨🏿","couple with heart: woman, man, medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍❤️‍👨🏻","couple with heart: woman, man, medium skin tone, light skin tone","People & Body"], + ["👩🏽‍❤️‍👨🏼","couple with heart: woman, man, medium skin tone, medium-light skin tone","People & Body"], + ["👩🏽‍❤️‍👨🏽","couple with heart: woman, man, medium skin tone","People & Body"], + ["👩🏽‍❤️‍👨🏾","couple with heart: woman, man, medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍❤️‍👨🏿","couple with heart: woman, man, medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍❤️‍👨🏻","couple with heart: woman, man, medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍❤️‍👨🏼","couple with heart: woman, man, medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍❤️‍👨🏽","couple with heart: woman, man, medium-dark skin tone, medium skin tone","People & Body"], + ["👩🏾‍❤️‍👨🏾","couple with heart: woman, man, medium-dark skin tone","People & Body"], + ["👩🏾‍❤️‍👨🏿","couple with heart: woman, man, medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍❤️‍👨🏻","couple with heart: woman, man, dark skin tone, light skin tone","People & Body"], + ["👩🏿‍❤️‍👨🏼","couple with heart: woman, man, dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍❤️‍👨🏽","couple with heart: woman, man, dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍❤️‍👨🏾","couple with heart: woman, man, dark skin tone, medium-dark skin tone","People & Body"], + ["👩🏿‍❤️‍👨🏿","couple with heart: woman, man, dark skin tone","People & Body"], + ["👨‍❤️‍👨","couple with heart: man, man","People & Body"], + ["👨🏻‍❤️‍👨🏻","couple with heart: man, man, light skin tone","People & Body"], + ["👨🏻‍❤️‍👨🏼","couple with heart: man, man, light skin tone, medium-light skin tone","People & Body"], + ["👨🏻‍❤️‍👨🏽","couple with heart: man, man, light skin tone, medium skin tone","People & Body"], + ["👨🏻‍❤️‍👨🏾","couple with heart: man, man, light skin tone, medium-dark skin tone","People & Body"], + ["👨🏻‍❤️‍👨🏿","couple with heart: man, man, light skin tone, dark skin tone","People & Body"], + ["👨🏼‍❤️‍👨🏻","couple with heart: man, man, medium-light skin tone, light skin tone","People & Body"], + ["👨🏼‍❤️‍👨🏼","couple with heart: man, man, medium-light skin tone","People & Body"], + ["👨🏼‍❤️‍👨🏽","couple with heart: man, man, medium-light skin tone, medium skin tone","People & Body"], + ["👨🏼‍❤️‍👨🏾","couple with heart: man, man, medium-light skin tone, medium-dark skin tone","People & Body"], + ["👨🏼‍❤️‍👨🏿","couple with heart: man, man, medium-light skin tone, dark skin tone","People & Body"], + ["👨🏽‍❤️‍👨🏻","couple with heart: man, man, medium skin tone, light skin tone","People & Body"], + ["👨🏽‍❤️‍👨🏼","couple with heart: man, man, medium skin tone, medium-light skin tone","People & Body"], + ["👨🏽‍❤️‍👨🏽","couple with heart: man, man, medium skin tone","People & Body"], + ["👨🏽‍❤️‍👨🏾","couple with heart: man, man, medium skin tone, medium-dark skin tone","People & Body"], + ["👨🏽‍❤️‍👨🏿","couple with heart: man, man, medium skin tone, dark skin tone","People & Body"], + ["👨🏾‍❤️‍👨🏻","couple with heart: man, man, medium-dark skin tone, light skin tone","People & Body"], + ["👨🏾‍❤️‍👨🏼","couple with heart: man, man, medium-dark skin tone, medium-light skin tone","People & Body"], + ["👨🏾‍❤️‍👨🏽","couple with heart: man, man, medium-dark skin tone, medium skin tone","People & Body"], + ["👨🏾‍❤️‍👨🏾","couple with heart: man, man, medium-dark skin tone","People & Body"], + ["👨🏾‍❤️‍👨🏿","couple with heart: man, man, medium-dark skin tone, dark skin tone","People & Body"], + ["👨🏿‍❤️‍👨🏻","couple with heart: man, man, dark skin tone, light skin tone","People & Body"], + ["👨🏿‍❤️‍👨🏼","couple with heart: man, man, dark skin tone, medium-light skin tone","People & Body"], + ["👨🏿‍❤️‍👨🏽","couple with heart: man, man, dark skin tone, medium skin tone","People & Body"], + ["👨🏿‍❤️‍👨🏾","couple with heart: man, man, dark skin tone, medium-dark skin tone","People & Body"], + ["👨🏿‍❤️‍👨🏿","couple with heart: man, man, dark skin tone","People & Body"], + ["👩‍❤️‍👩","couple with heart: woman, woman","People & Body"], + ["👩🏻‍❤️‍👩🏻","couple with heart: woman, woman, light skin tone","People & Body"], + ["👩🏻‍❤️‍👩🏼","couple with heart: woman, woman, light skin tone, medium-light skin tone","People & Body"], + ["👩🏻‍❤️‍👩🏽","couple with heart: woman, woman, light skin tone, medium skin tone","People & Body"], + ["👩🏻‍❤️‍👩🏾","couple with heart: woman, woman, light skin tone, medium-dark skin tone","People & Body"], + ["👩🏻‍❤️‍👩🏿","couple with heart: woman, woman, light skin tone, dark skin tone","People & Body"], + ["👩🏼‍❤️‍👩🏻","couple with heart: woman, woman, medium-light skin tone, light skin tone","People & Body"], + ["👩🏼‍❤️‍👩🏼","couple with heart: woman, woman, medium-light skin tone","People & Body"], + ["👩🏼‍❤️‍👩🏽","couple with heart: woman, woman, medium-light skin tone, medium skin tone","People & Body"], + ["👩🏼‍❤️‍👩🏾","couple with heart: woman, woman, medium-light skin tone, medium-dark skin tone","People & Body"], + ["👩🏼‍❤️‍👩🏿","couple with heart: woman, woman, medium-light skin tone, dark skin tone","People & Body"], + ["👩🏽‍❤️‍👩🏻","couple with heart: woman, woman, medium skin tone, light skin tone","People & Body"], + ["👩🏽‍❤️‍👩🏼","couple with heart: woman, woman, medium skin tone, medium-light skin tone","People & Body"], + ["👩🏽‍❤️‍👩🏽","couple with heart: woman, woman, medium skin tone","People & Body"], + ["👩🏽‍❤️‍👩🏾","couple with heart: woman, woman, medium skin tone, medium-dark skin tone","People & Body"], + ["👩🏽‍❤️‍👩🏿","couple with heart: woman, woman, medium skin tone, dark skin tone","People & Body"], + ["👩🏾‍❤️‍👩🏻","couple with heart: woman, woman, medium-dark skin tone, light skin tone","People & Body"], + ["👩🏾‍❤️‍👩🏼","couple with heart: woman, woman, medium-dark skin tone, medium-light skin tone","People & Body"], + ["👩🏾‍❤️‍👩🏽","couple with heart: woman, woman, medium-dark skin tone, medium skin tone","People & Body"], + ["👩🏾‍❤️‍👩🏾","couple with heart: woman, woman, medium-dark skin tone","People & Body"], + ["👩🏾‍❤️‍👩🏿","couple with heart: woman, woman, medium-dark skin tone, dark skin tone","People & Body"], + ["👩🏿‍❤️‍👩🏻","couple with heart: woman, woman, dark skin tone, light skin tone","People & Body"], + ["👩🏿‍❤️‍👩🏼","couple with heart: woman, woman, dark skin tone, medium-light skin tone","People & Body"], + ["👩🏿‍❤️‍👩🏽","couple with heart: woman, woman, dark skin tone, medium skin tone","People & Body"], + ["👩🏿‍❤️‍👩🏾","couple with heart: woman, woman, dark skin tone, medium-dark skin tone","People & Body"], + ["👩🏿‍❤️‍👩🏿","couple with heart: woman, woman, dark skin tone","People & Body"], + ["👨‍👩‍👦","family: man, woman, boy","People & Body"], + ["👨‍👩‍👧","family: man, woman, girl","People & Body"], + ["👨‍👩‍👧‍👦","family: man, woman, girl, boy","People & Body"], + ["👨‍👩‍👦‍👦","family: man, woman, boy, boy","People & Body"], + ["👨‍👩‍👧‍👧","family: man, woman, girl, girl","People & Body"], + ["👨‍👨‍👦","family: man, man, boy","People & Body"], + ["👨‍👨‍👧","family: man, man, girl","People & Body"], + ["👨‍👨‍👧‍👦","family: man, man, girl, boy","People & Body"], + ["👨‍👨‍👦‍👦","family: man, man, boy, boy","People & Body"], + ["👨‍👨‍👧‍👧","family: man, man, girl, girl","People & Body"], + ["👩‍👩‍👦","family: woman, woman, boy","People & Body"], + ["👩‍👩‍👧","family: woman, woman, girl","People & Body"], + ["👩‍👩‍👧‍👦","family: woman, woman, girl, boy","People & Body"], + ["👩‍👩‍👦‍👦","family: woman, woman, boy, boy","People & Body"], + ["👩‍👩‍👧‍👧","family: woman, woman, girl, girl","People & Body"], + ["👨‍👦","family: man, boy","People & Body"], + ["👨‍👦‍👦","family: man, boy, boy","People & Body"], + ["👨‍👧","family: man, girl","People & Body"], + ["👨‍👧‍👦","family: man, girl, boy","People & Body"], + ["👨‍👧‍👧","family: man, girl, girl","People & Body"], + ["👩‍👦","family: woman, boy","People & Body"], + ["👩‍👦‍👦","family: woman, boy, boy","People & Body"], + ["👩‍👧","family: woman, girl","People & Body"], + ["👩‍👧‍👦","family: woman, girl, boy","People & Body"], + ["👩‍👧‍👧","family: woman, girl, girl","People & Body"], + ["🗣️","speaking head","People & Body"], + ["👤","bust in silhouette","People & Body"], + ["👥","busts in silhouette","People & Body"], + ["🫂","people hugging","People & Body"], + ["👪","family","People & Body"], + ["🧑‍🧑‍🧒","family: adult, adult, child","People & Body"], + ["🧑‍🧑‍🧒‍🧒","family: adult, adult, child, child","People & Body"], + ["🧑‍🧒","family: adult, child","People & Body"], + ["🧑‍🧒‍🧒","family: adult, child, child","People & Body"], + ["👣","footprints","People & Body"], + ["🫆","fingerprint","People & Body"], + ["🐵","monkey face","Animals & Nature"], + ["🐒","monkey","Animals & Nature"], + ["🦍","gorilla","Animals & Nature"], + ["🦧","orangutan","Animals & Nature"], + ["🐶","dog face","Animals & Nature"], + ["🐕","dog","Animals & Nature"], + ["🦮","guide dog","Animals & Nature"], + ["🐕‍🦺","service dog","Animals & Nature"], + ["🐩","poodle","Animals & Nature"], + ["🐺","wolf","Animals & Nature"], + ["🦊","fox","Animals & Nature"], + ["🦝","raccoon","Animals & Nature"], + ["🐱","cat face","Animals & Nature"], + ["🐈","cat","Animals & Nature"], + ["🐈‍⬛","black cat","Animals & Nature"], + ["🦁","lion","Animals & Nature"], + ["🐯","tiger face","Animals & Nature"], + ["🐅","tiger","Animals & Nature"], + ["🐆","leopard","Animals & Nature"], + ["🐴","horse face","Animals & Nature"], + ["🫎","moose","Animals & Nature"], + ["🫏","donkey","Animals & Nature"], + ["🐎","horse","Animals & Nature"], + ["🦄","unicorn","Animals & Nature"], + ["🦓","zebra","Animals & Nature"], + ["🦌","deer","Animals & Nature"], + ["🦬","bison","Animals & Nature"], + ["🐮","cow face","Animals & Nature"], + ["🐂","ox","Animals & Nature"], + ["🐃","water buffalo","Animals & Nature"], + ["🐄","cow","Animals & Nature"], + ["🐷","pig face","Animals & Nature"], + ["🐖","pig","Animals & Nature"], + ["🐗","boar","Animals & Nature"], + ["🐽","pig nose","Animals & Nature"], + ["🐏","ram","Animals & Nature"], + ["🐑","ewe","Animals & Nature"], + ["🐐","goat","Animals & Nature"], + ["🐪","camel","Animals & Nature"], + ["🐫","two-hump camel","Animals & Nature"], + ["🦙","llama","Animals & Nature"], + ["🦒","giraffe","Animals & Nature"], + ["🐘","elephant","Animals & Nature"], + ["🦣","mammoth","Animals & Nature"], + ["🦏","rhinoceros","Animals & Nature"], + ["🦛","hippopotamus","Animals & Nature"], + ["🐭","mouse face","Animals & Nature"], + ["🐁","mouse","Animals & Nature"], + ["🐀","rat","Animals & Nature"], + ["🐹","hamster","Animals & Nature"], + ["🐰","rabbit face","Animals & Nature"], + ["🐇","rabbit","Animals & Nature"], + ["🐿️","chipmunk","Animals & Nature"], + ["🦫","beaver","Animals & Nature"], + ["🦔","hedgehog","Animals & Nature"], + ["🦇","bat","Animals & Nature"], + ["🐻","bear","Animals & Nature"], + ["🐻‍❄️","polar bear","Animals & Nature"], + ["🐨","koala","Animals & Nature"], + ["🐼","panda","Animals & Nature"], + ["🦥","sloth","Animals & Nature"], + ["🦦","otter","Animals & Nature"], + ["🦨","skunk","Animals & Nature"], + ["🦘","kangaroo","Animals & Nature"], + ["🦡","badger","Animals & Nature"], + ["🐾","paw prints","Animals & Nature"], + ["🦃","turkey","Animals & Nature"], + ["🐔","chicken","Animals & Nature"], + ["🐓","rooster","Animals & Nature"], + ["🐣","hatching chick","Animals & Nature"], + ["🐤","baby chick","Animals & Nature"], + ["🐥","front-facing baby chick","Animals & Nature"], + ["🐦","bird","Animals & Nature"], + ["🐧","penguin","Animals & Nature"], + ["🕊️","dove","Animals & Nature"], + ["🦅","eagle","Animals & Nature"], + ["🦆","duck","Animals & Nature"], + ["🦢","swan","Animals & Nature"], + ["🦉","owl","Animals & Nature"], + ["🦤","dodo","Animals & Nature"], + ["🪶","feather","Animals & Nature"], + ["🦩","flamingo","Animals & Nature"], + ["🦚","peacock","Animals & Nature"], + ["🦜","parrot","Animals & Nature"], + ["🪽","wing","Animals & Nature"], + ["🐦‍⬛","black bird","Animals & Nature"], + ["🪿","goose","Animals & Nature"], + ["🐦‍🔥","phoenix","Animals & Nature"], + ["🐸","frog","Animals & Nature"], + ["🐊","crocodile","Animals & Nature"], + ["🐢","turtle","Animals & Nature"], + ["🦎","lizard","Animals & Nature"], + ["🐍","snake","Animals & Nature"], + ["🐲","dragon face","Animals & Nature"], + ["🐉","dragon","Animals & Nature"], + ["🦕","sauropod","Animals & Nature"], + ["🦖","T-Rex","Animals & Nature"], + ["🐳","spouting whale","Animals & Nature"], + ["🐋","whale","Animals & Nature"], + ["🐬","dolphin","Animals & Nature"], + ["🫍","orca","Animals & Nature"], + ["🦭","seal","Animals & Nature"], + ["🐟","fish","Animals & Nature"], + ["🐠","tropical fish","Animals & Nature"], + ["🐡","blowfish","Animals & Nature"], + ["🦈","shark","Animals & Nature"], + ["🐙","octopus","Animals & Nature"], + ["🐚","spiral shell","Animals & Nature"], + ["🪸","coral","Animals & Nature"], + ["🪼","jellyfish","Animals & Nature"], + ["🦀","crab","Animals & Nature"], + ["🦞","lobster","Animals & Nature"], + ["🦐","shrimp","Animals & Nature"], + ["🦑","squid","Animals & Nature"], + ["🦪","oyster","Animals & Nature"], + ["🐌","snail","Animals & Nature"], + ["🦋","butterfly","Animals & Nature"], + ["🫌","monarch butterfly","Animals & Nature"], + ["🐛","bug","Animals & Nature"], + ["🐜","ant","Animals & Nature"], + ["🐝","honeybee","Animals & Nature"], + ["🪲","beetle","Animals & Nature"], + ["🐞","lady beetle","Animals & Nature"], + ["🦗","cricket","Animals & Nature"], + ["🪳","cockroach","Animals & Nature"], + ["🕷️","spider","Animals & Nature"], + ["🕸️","spider web","Animals & Nature"], + ["🦂","scorpion","Animals & Nature"], + ["🦟","mosquito","Animals & Nature"], + ["🪰","fly","Animals & Nature"], + ["🪱","worm","Animals & Nature"], + ["🦠","microbe","Animals & Nature"], + ["💐","bouquet","Animals & Nature"], + ["🌸","cherry blossom","Animals & Nature"], + ["💮","white flower","Animals & Nature"], + ["🪷","lotus","Animals & Nature"], + ["🏵️","rosette","Animals & Nature"], + ["🌹","rose","Animals & Nature"], + ["🥀","wilted flower","Animals & Nature"], + ["🌺","hibiscus","Animals & Nature"], + ["🌻","sunflower","Animals & Nature"], + ["🌼","blossom","Animals & Nature"], + ["🌷","tulip","Animals & Nature"], + ["🪻","hyacinth","Animals & Nature"], + ["🌱","seedling","Animals & Nature"], + ["🪴","potted plant","Animals & Nature"], + ["🌲","evergreen tree","Animals & Nature"], + ["🌳","deciduous tree","Animals & Nature"], + ["🌴","palm tree","Animals & Nature"], + ["🌵","cactus","Animals & Nature"], + ["🌾","sheaf of rice","Animals & Nature"], + ["🌿","herb","Animals & Nature"], + ["☘️","shamrock","Animals & Nature"], + ["🍀","four leaf clover","Animals & Nature"], + ["🍁","maple leaf","Animals & Nature"], + ["🍂","fallen leaf","Animals & Nature"], + ["🍃","leaf fluttering in wind","Animals & Nature"], + ["🪹","empty nest","Animals & Nature"], + ["🪺","nest with eggs","Animals & Nature"], + ["🍄","mushroom","Animals & Nature"], + ["🪾","leafless tree","Animals & Nature"], + ["🍇","grapes","Food & Drink"], + ["🍈","melon","Food & Drink"], + ["🍉","watermelon","Food & Drink"], + ["🍊","tangerine","Food & Drink"], + ["🍋","lemon","Food & Drink"], + ["🍋‍🟩","lime","Food & Drink"], + ["🍌","banana","Food & Drink"], + ["🍍","pineapple","Food & Drink"], + ["🥭","mango","Food & Drink"], + ["🍎","red apple","Food & Drink"], + ["🍏","green apple","Food & Drink"], + ["🍐","pear","Food & Drink"], + ["🍑","peach","Food & Drink"], + ["🍒","cherries","Food & Drink"], + ["🍓","strawberry","Food & Drink"], + ["🫐","blueberries","Food & Drink"], + ["🥝","kiwi fruit","Food & Drink"], + ["🍅","tomato","Food & Drink"], + ["🫒","olive","Food & Drink"], + ["🥥","coconut","Food & Drink"], + ["🥑","avocado","Food & Drink"], + ["🍆","eggplant","Food & Drink"], + ["🥔","potato","Food & Drink"], + ["🥕","carrot","Food & Drink"], + ["🌽","ear of corn","Food & Drink"], + ["🌶️","hot pepper","Food & Drink"], + ["🫑","bell pepper","Food & Drink"], + ["🥒","cucumber","Food & Drink"], + ["🫝","pickle","Food & Drink"], + ["🥬","leafy green","Food & Drink"], + ["🥦","broccoli","Food & Drink"], + ["🧄","garlic","Food & Drink"], + ["🧅","onion","Food & Drink"], + ["🥜","peanuts","Food & Drink"], + ["🫘","beans","Food & Drink"], + ["🌰","chestnut","Food & Drink"], + ["🫚","ginger root","Food & Drink"], + ["🫛","pea pod","Food & Drink"], + ["🍄‍🟫","brown mushroom","Food & Drink"], + ["🫜","root vegetable","Food & Drink"], + ["🍞","bread","Food & Drink"], + ["🥐","croissant","Food & Drink"], + ["🥖","baguette bread","Food & Drink"], + ["🫓","flatbread","Food & Drink"], + ["🥨","pretzel","Food & Drink"], + ["🥯","bagel","Food & Drink"], + ["🥞","pancakes","Food & Drink"], + ["🧇","waffle","Food & Drink"], + ["🧀","cheese wedge","Food & Drink"], + ["🍖","meat on bone","Food & Drink"], + ["🍗","poultry leg","Food & Drink"], + ["🥩","cut of meat","Food & Drink"], + ["🥓","bacon","Food & Drink"], + ["🍔","hamburger","Food & Drink"], + ["🍟","french fries","Food & Drink"], + ["🍕","pizza","Food & Drink"], + ["🌭","hot dog","Food & Drink"], + ["🥪","sandwich","Food & Drink"], + ["🌮","taco","Food & Drink"], + ["🌯","burrito","Food & Drink"], + ["🫔","tamale","Food & Drink"], + ["🥙","stuffed flatbread","Food & Drink"], + ["🧆","falafel","Food & Drink"], + ["🥚","egg","Food & Drink"], + ["🍳","cooking","Food & Drink"], + ["🥘","shallow pan of food","Food & Drink"], + ["🍲","pot of food","Food & Drink"], + ["🫕","fondue","Food & Drink"], + ["🥣","bowl with spoon","Food & Drink"], + ["🥗","green salad","Food & Drink"], + ["🍿","popcorn","Food & Drink"], + ["🧈","butter","Food & Drink"], + ["🧂","salt","Food & Drink"], + ["🥫","canned food","Food & Drink"], + ["🍱","bento box","Food & Drink"], + ["🍘","rice cracker","Food & Drink"], + ["🍙","rice ball","Food & Drink"], + ["🍚","cooked rice","Food & Drink"], + ["🍛","curry rice","Food & Drink"], + ["🍜","steaming bowl","Food & Drink"], + ["🍝","spaghetti","Food & Drink"], + ["🍠","roasted sweet potato","Food & Drink"], + ["🍢","oden","Food & Drink"], + ["🍣","sushi","Food & Drink"], + ["🍤","fried shrimp","Food & Drink"], + ["🍥","fish cake with swirl","Food & Drink"], + ["🥮","moon cake","Food & Drink"], + ["🍡","dango","Food & Drink"], + ["🥟","dumpling","Food & Drink"], + ["🥠","fortune cookie","Food & Drink"], + ["🥡","takeout box","Food & Drink"], + ["🍦","soft ice cream","Food & Drink"], + ["🍧","shaved ice","Food & Drink"], + ["🍨","ice cream","Food & Drink"], + ["🍩","doughnut","Food & Drink"], + ["🍪","cookie","Food & Drink"], + ["🎂","birthday cake","Food & Drink"], + ["🍰","shortcake","Food & Drink"], + ["🧁","cupcake","Food & Drink"], + ["🥧","pie","Food & Drink"], + ["🍫","chocolate bar","Food & Drink"], + ["🍬","candy","Food & Drink"], + ["🍭","lollipop","Food & Drink"], + ["🍮","custard","Food & Drink"], + ["🍯","honey pot","Food & Drink"], + ["🍼","baby bottle","Food & Drink"], + ["🥛","glass of milk","Food & Drink"], + ["☕","hot beverage","Food & Drink"], + ["🫖","teapot","Food & Drink"], + ["🍵","teacup without handle","Food & Drink"], + ["🍶","sake","Food & Drink"], + ["🍾","bottle with popping cork","Food & Drink"], + ["🍷","wine glass","Food & Drink"], + ["🍸","cocktail glass","Food & Drink"], + ["🍹","tropical drink","Food & Drink"], + ["🍺","beer mug","Food & Drink"], + ["🍻","clinking beer mugs","Food & Drink"], + ["🥂","clinking glasses","Food & Drink"], + ["🥃","tumbler glass","Food & Drink"], + ["🫗","pouring liquid","Food & Drink"], + ["🥤","cup with straw","Food & Drink"], + ["🧋","bubble tea","Food & Drink"], + ["🧃","beverage box","Food & Drink"], + ["🧉","mate","Food & Drink"], + ["🧊","ice","Food & Drink"], + ["🥢","chopsticks","Food & Drink"], + ["🍽️","fork and knife with plate","Food & Drink"], + ["🍴","fork and knife","Food & Drink"], + ["🥄","spoon","Food & Drink"], + ["🔪","kitchen knife","Food & Drink"], + ["🫙","jar","Food & Drink"], + ["🏺","amphora","Food & Drink"], + ["🌍","globe showing Europe-Africa","Travel & Places"], + ["🌎","globe showing Americas","Travel & Places"], + ["🌏","globe showing Asia-Australia","Travel & Places"], + ["🌐","globe with meridians","Travel & Places"], + ["🗺️","world map","Travel & Places"], + ["🗾","map of Japan","Travel & Places"], + ["🧭","compass","Travel & Places"], + ["🏔️","snow-capped mountain","Travel & Places"], + ["⛰️","mountain","Travel & Places"], + ["🛘","landslide","Travel & Places"], + ["🌋","volcano","Travel & Places"], + ["🗻","mount fuji","Travel & Places"], + ["🏕️","camping","Travel & Places"], + ["🏖️","beach with umbrella","Travel & Places"], + ["🏜️","desert","Travel & Places"], + ["🏝️","desert island","Travel & Places"], + ["🏞️","national park","Travel & Places"], + ["🏟️","stadium","Travel & Places"], + ["🏛️","classical building","Travel & Places"], + ["🏗️","building construction","Travel & Places"], + ["🧱","brick","Travel & Places"], + ["🪨","rock","Travel & Places"], + ["🪵","wood","Travel & Places"], + ["🛖","hut","Travel & Places"], + ["🏘️","houses","Travel & Places"], + ["🏚️","derelict house","Travel & Places"], + ["🏠","house","Travel & Places"], + ["🏡","house with garden","Travel & Places"], + ["🏢","office building","Travel & Places"], + ["🏣","Japanese post office","Travel & Places"], + ["🏤","post office","Travel & Places"], + ["🏥","hospital","Travel & Places"], + ["🏦","bank","Travel & Places"], + ["🏨","hotel","Travel & Places"], + ["🏩","love hotel","Travel & Places"], + ["🏪","convenience store","Travel & Places"], + ["🏫","school","Travel & Places"], + ["🏬","department store","Travel & Places"], + ["🏭","factory","Travel & Places"], + ["🏯","Japanese castle","Travel & Places"], + ["🏰","castle","Travel & Places"], + ["💒","wedding","Travel & Places"], + ["🗼","Tokyo tower","Travel & Places"], + ["🗽","Statue of Liberty","Travel & Places"], + ["⛪","church","Travel & Places"], + ["🕌","mosque","Travel & Places"], + ["🛕","hindu temple","Travel & Places"], + ["🕍","synagogue","Travel & Places"], + ["⛩️","shinto shrine","Travel & Places"], + ["🕋","kaaba","Travel & Places"], + ["⛲","fountain","Travel & Places"], + ["⛺","tent","Travel & Places"], + ["🌁","foggy","Travel & Places"], + ["🌃","night with stars","Travel & Places"], + ["🏙️","cityscape","Travel & Places"], + ["🌄","sunrise over mountains","Travel & Places"], + ["🌅","sunrise","Travel & Places"], + ["🌆","cityscape at dusk","Travel & Places"], + ["🌇","sunset","Travel & Places"], + ["🌉","bridge at night","Travel & Places"], + ["♨️","hot springs","Travel & Places"], + ["🎠","carousel horse","Travel & Places"], + ["🛝","playground slide","Travel & Places"], + ["🎡","ferris wheel","Travel & Places"], + ["🎢","roller coaster","Travel & Places"], + ["💈","barber pole","Travel & Places"], + ["🎪","circus tent","Travel & Places"], + ["🚂","locomotive","Travel & Places"], + ["🚃","railway car","Travel & Places"], + ["🚄","high-speed train","Travel & Places"], + ["🚅","bullet train","Travel & Places"], + ["🚆","train","Travel & Places"], + ["🚇","metro","Travel & Places"], + ["🚈","light rail","Travel & Places"], + ["🚉","station","Travel & Places"], + ["🚊","tram","Travel & Places"], + ["🚝","monorail","Travel & Places"], + ["🚞","mountain railway","Travel & Places"], + ["🚋","tram car","Travel & Places"], + ["🚌","bus","Travel & Places"], + ["🚍","oncoming bus","Travel & Places"], + ["🚎","trolleybus","Travel & Places"], + ["🚐","minibus","Travel & Places"], + ["🚑","ambulance","Travel & Places"], + ["🚒","fire engine","Travel & Places"], + ["🚓","police car","Travel & Places"], + ["🚔","oncoming police car","Travel & Places"], + ["🚕","taxi","Travel & Places"], + ["🚖","oncoming taxi","Travel & Places"], + ["🚗","automobile","Travel & Places"], + ["🚘","oncoming automobile","Travel & Places"], + ["🚙","sport utility vehicle","Travel & Places"], + ["🛻","pickup truck","Travel & Places"], + ["🚚","delivery truck","Travel & Places"], + ["🚛","articulated lorry","Travel & Places"], + ["🚜","tractor","Travel & Places"], + ["🏎️","racing car","Travel & Places"], + ["🏍️","motorcycle","Travel & Places"], + ["🛵","motor scooter","Travel & Places"], + ["🦽","manual wheelchair","Travel & Places"], + ["🦼","motorized wheelchair","Travel & Places"], + ["🛺","auto rickshaw","Travel & Places"], + ["🚲","bicycle","Travel & Places"], + ["🛴","kick scooter","Travel & Places"], + ["🛹","skateboard","Travel & Places"], + ["🛼","roller skate","Travel & Places"], + ["🚏","bus stop","Travel & Places"], + ["🛣️","motorway","Travel & Places"], + ["🛤️","railway track","Travel & Places"], + ["🛢️","oil drum","Travel & Places"], + ["⛽","fuel pump","Travel & Places"], + ["🛞","wheel","Travel & Places"], + ["🚨","police car light","Travel & Places"], + ["🚥","horizontal traffic light","Travel & Places"], + ["🚦","vertical traffic light","Travel & Places"], + ["🛑","stop sign","Travel & Places"], + ["🚧","construction","Travel & Places"], + ["🛙","lighthouse","Travel & Places"], + ["⚓","anchor","Travel & Places"], + ["🛟","ring buoy","Travel & Places"], + ["⛵","sailboat","Travel & Places"], + ["🛶","canoe","Travel & Places"], + ["🚤","speedboat","Travel & Places"], + ["🛳️","passenger ship","Travel & Places"], + ["⛴️","ferry","Travel & Places"], + ["🛥️","motor boat","Travel & Places"], + ["🚢","ship","Travel & Places"], + ["✈️","airplane","Travel & Places"], + ["🛩️","small airplane","Travel & Places"], + ["🛫","airplane departure","Travel & Places"], + ["🛬","airplane arrival","Travel & Places"], + ["🪂","parachute","Travel & Places"], + ["💺","seat","Travel & Places"], + ["🚁","helicopter","Travel & Places"], + ["🚟","suspension railway","Travel & Places"], + ["🚠","mountain cableway","Travel & Places"], + ["🚡","aerial tramway","Travel & Places"], + ["🛰️","satellite","Travel & Places"], + ["🚀","rocket","Travel & Places"], + ["🛸","flying saucer","Travel & Places"], + ["🛎️","bellhop bell","Travel & Places"], + ["🧳","luggage","Travel & Places"], + ["⌛","hourglass done","Travel & Places"], + ["⏳","hourglass not done","Travel & Places"], + ["⌚","watch","Travel & Places"], + ["⏰","alarm clock","Travel & Places"], + ["⏱️","stopwatch","Travel & Places"], + ["⏲️","timer clock","Travel & Places"], + ["🕰️","mantelpiece clock","Travel & Places"], + ["🕛","twelve o’clock","Travel & Places"], + ["🕧","twelve-thirty","Travel & Places"], + ["🕐","one o’clock","Travel & Places"], + ["🕜","one-thirty","Travel & Places"], + ["🕑","two o’clock","Travel & Places"], + ["🕝","two-thirty","Travel & Places"], + ["🕒","three o’clock","Travel & Places"], + ["🕞","three-thirty","Travel & Places"], + ["🕓","four o’clock","Travel & Places"], + ["🕟","four-thirty","Travel & Places"], + ["🕔","five o’clock","Travel & Places"], + ["🕠","five-thirty","Travel & Places"], + ["🕕","six o’clock","Travel & Places"], + ["🕡","six-thirty","Travel & Places"], + ["🕖","seven o’clock","Travel & Places"], + ["🕢","seven-thirty","Travel & Places"], + ["🕗","eight o’clock","Travel & Places"], + ["🕣","eight-thirty","Travel & Places"], + ["🕘","nine o’clock","Travel & Places"], + ["🕤","nine-thirty","Travel & Places"], + ["🕙","ten o’clock","Travel & Places"], + ["🕥","ten-thirty","Travel & Places"], + ["🕚","eleven o’clock","Travel & Places"], + ["🕦","eleven-thirty","Travel & Places"], + ["🌑","new moon","Travel & Places"], + ["🌒","waxing crescent moon","Travel & Places"], + ["🌓","first quarter moon","Travel & Places"], + ["🌔","waxing gibbous moon","Travel & Places"], + ["🌕","full moon","Travel & Places"], + ["🌖","waning gibbous moon","Travel & Places"], + ["🌗","last quarter moon","Travel & Places"], + ["🌘","waning crescent moon","Travel & Places"], + ["🌙","crescent moon","Travel & Places"], + ["🌚","new moon face","Travel & Places"], + ["🌛","first quarter moon face","Travel & Places"], + ["🌜","last quarter moon face","Travel & Places"], + ["🌡️","thermometer","Travel & Places"], + ["☀️","sun","Travel & Places"], + ["🌝","full moon face","Travel & Places"], + ["🌞","sun with face","Travel & Places"], + ["🪐","ringed planet","Travel & Places"], + ["⭐","star","Travel & Places"], + ["🌟","glowing star","Travel & Places"], + ["🌠","shooting star","Travel & Places"], + ["🌌","milky way","Travel & Places"], + ["☁️","cloud","Travel & Places"], + ["⛅","sun behind cloud","Travel & Places"], + ["⛈️","cloud with lightning and rain","Travel & Places"], + ["🌤️","sun behind small cloud","Travel & Places"], + ["🌥️","sun behind large cloud","Travel & Places"], + ["🌦️","sun behind rain cloud","Travel & Places"], + ["🌧️","cloud with rain","Travel & Places"], + ["🌨️","cloud with snow","Travel & Places"], + ["🌩️","cloud with lightning","Travel & Places"], + ["🌪️","tornado","Travel & Places"], + ["🌫️","fog","Travel & Places"], + ["🌬️","wind face","Travel & Places"], + ["🌀","cyclone","Travel & Places"], + ["🌈","rainbow","Travel & Places"], + ["🌂","closed umbrella","Travel & Places"], + ["☂️","umbrella","Travel & Places"], + ["☔","umbrella with rain drops","Travel & Places"], + ["⛱️","umbrella on ground","Travel & Places"], + ["⚡","high voltage","Travel & Places"], + ["❄️","snowflake","Travel & Places"], + ["☃️","snowman","Travel & Places"], + ["⛄","snowman without snow","Travel & Places"], + ["☄️","comet","Travel & Places"], + ["🪋","meteor","Travel & Places"], + ["🔥","fire","Travel & Places"], + ["💧","droplet","Travel & Places"], + ["🌊","water wave","Travel & Places"], + ["🎃","jack-o-lantern","Activities"], + ["🎄","Christmas tree","Activities"], + ["🎆","fireworks","Activities"], + ["🎇","sparkler","Activities"], + ["🧨","firecracker","Activities"], + ["✨","sparkles","Activities"], + ["🎈","balloon","Activities"], + ["🎉","party popper","Activities"], + ["🎊","confetti ball","Activities"], + ["🎋","tanabata tree","Activities"], + ["🎍","pine decoration","Activities"], + ["🎎","Japanese dolls","Activities"], + ["🎏","carp streamer","Activities"], + ["🎐","wind chime","Activities"], + ["🎑","moon viewing ceremony","Activities"], + ["🧧","red envelope","Activities"], + ["🎀","ribbon","Activities"], + ["🎁","wrapped gift","Activities"], + ["🎗️","reminder ribbon","Activities"], + ["🎟️","admission tickets","Activities"], + ["🎫","ticket","Activities"], + ["🎖️","military medal","Activities"], + ["🏆","trophy","Activities"], + ["🏅","sports medal","Activities"], + ["🥇","1st place medal","Activities"], + ["🥈","2nd place medal","Activities"], + ["🥉","3rd place medal","Activities"], + ["⚽","soccer ball","Activities"], + ["⚾","baseball","Activities"], + ["🥎","softball","Activities"], + ["🏀","basketball","Activities"], + ["🏐","volleyball","Activities"], + ["🏈","american football","Activities"], + ["🏉","rugby football","Activities"], + ["🎾","tennis","Activities"], + ["🥏","flying disc","Activities"], + ["🎳","bowling","Activities"], + ["🏏","cricket game","Activities"], + ["🏑","field hockey","Activities"], + ["🏒","ice hockey","Activities"], + ["🥍","lacrosse","Activities"], + ["🏓","ping pong","Activities"], + ["🏸","badminton","Activities"], + ["🥊","boxing glove","Activities"], + ["🥋","martial arts uniform","Activities"], + ["🥅","goal net","Activities"], + ["⛳","flag in hole","Activities"], + ["⛸️","ice skate","Activities"], + ["🎣","fishing pole","Activities"], + ["🤿","diving mask","Activities"], + ["🎽","running shirt","Activities"], + ["🎿","skis","Activities"], + ["🛷","sled","Activities"], + ["🥌","curling stone","Activities"], + ["🎯","bullseye","Activities"], + ["🪀","yo-yo","Activities"], + ["🪁","kite","Activities"], + ["🔫","water pistol","Activities"], + ["🎱","pool 8 ball","Activities"], + ["🔮","crystal ball","Activities"], + ["🪄","magic wand","Activities"], + ["🎮","video game","Activities"], + ["🕹️","joystick","Activities"], + ["🎰","slot machine","Activities"], + ["🎲","game die","Activities"], + ["🧩","puzzle piece","Activities"], + ["🧸","teddy bear","Activities"], + ["🪅","piñata","Activities"], + ["🪩","mirror ball","Activities"], + ["🪆","nesting dolls","Activities"], + ["♠️","spade suit","Activities"], + ["♥️","heart suit","Activities"], + ["♦️","diamond suit","Activities"], + ["♣️","club suit","Activities"], + ["♟️","chess pawn","Activities"], + ["🃏","joker","Activities"], + ["🀄","mahjong red dragon","Activities"], + ["🎴","flower playing cards","Activities"], + ["🎭","performing arts","Activities"], + ["🖼️","framed picture","Activities"], + ["🎨","artist palette","Activities"], + ["🧵","thread","Activities"], + ["🪡","sewing needle","Activities"], + ["🧶","yarn","Activities"], + ["🪢","knot","Activities"], + ["👓","glasses","Objects"], + ["🕶️","sunglasses","Objects"], + ["🥽","goggles","Objects"], + ["🥼","lab coat","Objects"], + ["🦺","safety vest","Objects"], + ["👔","necktie","Objects"], + ["👕","t-shirt","Objects"], + ["👖","jeans","Objects"], + ["🧣","scarf","Objects"], + ["🧤","gloves","Objects"], + ["🧥","coat","Objects"], + ["🧦","socks","Objects"], + ["👗","dress","Objects"], + ["👘","kimono","Objects"], + ["🥻","sari","Objects"], + ["🩱","one-piece swimsuit","Objects"], + ["🩲","briefs","Objects"], + ["🩳","shorts","Objects"], + ["👙","bikini","Objects"], + ["👚","woman’s clothes","Objects"], + ["🪭","folding hand fan","Objects"], + ["👛","purse","Objects"], + ["👜","handbag","Objects"], + ["👝","clutch bag","Objects"], + ["🛍️","shopping bags","Objects"], + ["🎒","backpack","Objects"], + ["🩴","thong sandal","Objects"], + ["👞","man’s shoe","Objects"], + ["👟","running shoe","Objects"], + ["🥾","hiking boot","Objects"], + ["🥿","flat shoe","Objects"], + ["👠","high-heeled shoe","Objects"], + ["👡","woman’s sandal","Objects"], + ["🩰","ballet shoes","Objects"], + ["👢","woman’s boot","Objects"], + ["🪮","hair pick","Objects"], + ["👑","crown","Objects"], + ["👒","woman’s hat","Objects"], + ["🎩","top hat","Objects"], + ["🎓","graduation cap","Objects"], + ["🧢","billed cap","Objects"], + ["🪖","military helmet","Objects"], + ["⛑️","rescue worker’s helmet","Objects"], + ["📿","prayer beads","Objects"], + ["💄","lipstick","Objects"], + ["💍","ring","Objects"], + ["💎","gem stone","Objects"], + ["🔇","muted speaker","Objects"], + ["🔈","speaker low volume","Objects"], + ["🔉","speaker medium volume","Objects"], + ["🔊","speaker high volume","Objects"], + ["📢","loudspeaker","Objects"], + ["📣","megaphone","Objects"], + ["📯","postal horn","Objects"], + ["🔔","bell","Objects"], + ["🔕","bell with slash","Objects"], + ["🎼","musical score","Objects"], + ["🎵","musical note","Objects"], + ["🎶","musical notes","Objects"], + ["🎙️","studio microphone","Objects"], + ["🎚️","level slider","Objects"], + ["🎛️","control knobs","Objects"], + ["🎤","microphone","Objects"], + ["🎧","headphone","Objects"], + ["📻","radio","Objects"], + ["🎷","saxophone","Objects"], + ["🎺","trumpet","Objects"], + ["🪊","trombone","Objects"], + ["🪗","accordion","Objects"], + ["🎸","guitar","Objects"], + ["🎹","musical keyboard","Objects"], + ["🎻","violin","Objects"], + ["🪕","banjo","Objects"], + ["🥁","drum","Objects"], + ["🪘","long drum","Objects"], + ["🪇","maracas","Objects"], + ["🪈","flute","Objects"], + ["🪉","harp","Objects"], + ["📱","mobile phone","Objects"], + ["📲","mobile phone with arrow","Objects"], + ["☎️","telephone","Objects"], + ["📞","telephone receiver","Objects"], + ["📟","pager","Objects"], + ["📠","fax machine","Objects"], + ["🔋","battery","Objects"], + ["🪫","low battery","Objects"], + ["🔌","electric plug","Objects"], + ["💻","laptop","Objects"], + ["🖥️","desktop computer","Objects"], + ["🖨️","printer","Objects"], + ["⌨️","keyboard","Objects"], + ["🖱️","computer mouse","Objects"], + ["🖲️","trackball","Objects"], + ["💽","computer disk","Objects"], + ["💾","floppy disk","Objects"], + ["💿","optical disk","Objects"], + ["📀","dvd","Objects"], + ["🧮","abacus","Objects"], + ["🎥","movie camera","Objects"], + ["🎞️","film frames","Objects"], + ["📽️","film projector","Objects"], + ["🎬","clapper board","Objects"], + ["📺","television","Objects"], + ["📷","camera","Objects"], + ["📸","camera with flash","Objects"], + ["📹","video camera","Objects"], + ["📼","videocassette","Objects"], + ["🔍","magnifying glass tilted left","Objects"], + ["🔎","magnifying glass tilted right","Objects"], + ["🕯️","candle","Objects"], + ["💡","light bulb","Objects"], + ["🔦","flashlight","Objects"], + ["🏮","red paper lantern","Objects"], + ["🪔","diya lamp","Objects"], + ["📔","notebook with decorative cover","Objects"], + ["📕","closed book","Objects"], + ["📖","open book","Objects"], + ["📗","green book","Objects"], + ["📘","blue book","Objects"], + ["📙","orange book","Objects"], + ["📚","books","Objects"], + ["📓","notebook","Objects"], + ["📒","ledger","Objects"], + ["📃","page with curl","Objects"], + ["📜","scroll","Objects"], + ["📄","page facing up","Objects"], + ["📰","newspaper","Objects"], + ["🗞️","rolled-up newspaper","Objects"], + ["📑","bookmark tabs","Objects"], + ["🔖","bookmark","Objects"], + ["🏷️","label","Objects"], + ["🪙","coin","Objects"], + ["💰","money bag","Objects"], + ["🪎","treasure chest","Objects"], + ["💴","yen banknote","Objects"], + ["💵","dollar banknote","Objects"], + ["💶","euro banknote","Objects"], + ["💷","pound banknote","Objects"], + ["💸","money with wings","Objects"], + ["💳","credit card","Objects"], + ["🧾","receipt","Objects"], + ["💹","chart increasing with yen","Objects"], + ["✉️","envelope","Objects"], + ["📧","e-mail","Objects"], + ["📨","incoming envelope","Objects"], + ["📩","envelope with arrow","Objects"], + ["📤","outbox tray","Objects"], + ["📥","inbox tray","Objects"], + ["📦","package","Objects"], + ["📫","closed mailbox with raised flag","Objects"], + ["📪","closed mailbox with lowered flag","Objects"], + ["📬","open mailbox with raised flag","Objects"], + ["📭","open mailbox with lowered flag","Objects"], + ["📮","postbox","Objects"], + ["🗳️","ballot box with ballot","Objects"], + ["✏️","pencil","Objects"], + ["✒️","black nib","Objects"], + ["🖋️","fountain pen","Objects"], + ["🖊️","pen","Objects"], + ["🖌️","paintbrush","Objects"], + ["🖍️","crayon","Objects"], + ["📝","memo","Objects"], + ["🪌","eraser","Objects"], + ["💼","briefcase","Objects"], + ["📁","file folder","Objects"], + ["📂","open file folder","Objects"], + ["🗂️","card index dividers","Objects"], + ["📅","calendar","Objects"], + ["📆","tear-off calendar","Objects"], + ["🗒️","spiral notepad","Objects"], + ["🗓️","spiral calendar","Objects"], + ["📇","card index","Objects"], + ["📈","chart increasing","Objects"], + ["📉","chart decreasing","Objects"], + ["📊","bar chart","Objects"], + ["📋","clipboard","Objects"], + ["📌","pushpin","Objects"], + ["📍","round pushpin","Objects"], + ["📎","paperclip","Objects"], + ["🖇️","linked paperclips","Objects"], + ["📏","straight ruler","Objects"], + ["📐","triangular ruler","Objects"], + ["✂️","scissors","Objects"], + ["🗃️","card file box","Objects"], + ["🗄️","file cabinet","Objects"], + ["🗑️","wastebasket","Objects"], + ["🔒","locked","Objects"], + ["🔓","unlocked","Objects"], + ["🔏","locked with pen","Objects"], + ["🔐","locked with key","Objects"], + ["🔑","key","Objects"], + ["🗝️","old key","Objects"], + ["🪍","net with handle","Objects"], + ["🔨","hammer","Objects"], + ["🪓","axe","Objects"], + ["⛏️","pick","Objects"], + ["⚒️","hammer and pick","Objects"], + ["🛠️","hammer and wrench","Objects"], + ["🗡️","dagger","Objects"], + ["⚔️","crossed swords","Objects"], + ["💣","bomb","Objects"], + ["🪃","boomerang","Objects"], + ["🏹","bow and arrow","Objects"], + ["🛡️","shield","Objects"], + ["🪚","carpentry saw","Objects"], + ["🔧","wrench","Objects"], + ["🪛","screwdriver","Objects"], + ["🔩","nut and bolt","Objects"], + ["⚙️","gear","Objects"], + ["🗜️","clamp","Objects"], + ["⚖️","balance scale","Objects"], + ["🦯","white cane","Objects"], + ["🔗","link","Objects"], + ["⛓️‍💥","broken chain","Objects"], + ["⛓️","chains","Objects"], + ["🪝","hook","Objects"], + ["🧰","toolbox","Objects"], + ["🧲","magnet","Objects"], + ["🪜","ladder","Objects"], + ["🪏","shovel","Objects"], + ["⚗️","alembic","Objects"], + ["🧪","test tube","Objects"], + ["🧫","petri dish","Objects"], + ["🧬","dna","Objects"], + ["🔬","microscope","Objects"], + ["🔭","telescope","Objects"], + ["📡","satellite antenna","Objects"], + ["💉","syringe","Objects"], + ["🩸","drop of blood","Objects"], + ["💊","pill","Objects"], + ["🩹","adhesive bandage","Objects"], + ["🩼","crutch","Objects"], + ["🩺","stethoscope","Objects"], + ["🩻","x-ray","Objects"], + ["🚪","door","Objects"], + ["🛗","elevator","Objects"], + ["🪞","mirror","Objects"], + ["🪟","window","Objects"], + ["🛏️","bed","Objects"], + ["🛋️","couch and lamp","Objects"], + ["🪑","chair","Objects"], + ["🚽","toilet","Objects"], + ["🪠","plunger","Objects"], + ["🚿","shower","Objects"], + ["🛁","bathtub","Objects"], + ["🪤","mouse trap","Objects"], + ["🪒","razor","Objects"], + ["🧴","lotion bottle","Objects"], + ["🧷","safety pin","Objects"], + ["🧹","broom","Objects"], + ["🧺","basket","Objects"], + ["🧻","roll of paper","Objects"], + ["🪣","bucket","Objects"], + ["🧼","soap","Objects"], + ["🫧","bubbles","Objects"], + ["🪥","toothbrush","Objects"], + ["🧽","sponge","Objects"], + ["🧯","fire extinguisher","Objects"], + ["🛒","shopping cart","Objects"], + ["🚬","cigarette","Objects"], + ["⚰️","coffin","Objects"], + ["🪦","headstone","Objects"], + ["⚱️","funeral urn","Objects"], + ["🧿","nazar amulet","Objects"], + ["🪬","hamsa","Objects"], + ["🗿","moai","Objects"], + ["🪧","placard","Objects"], + ["🪪","identification card","Objects"], + ["🏧","ATM sign","Symbols"], + ["🚮","litter in bin sign","Symbols"], + ["🚰","potable water","Symbols"], + ["♿","wheelchair symbol","Symbols"], + ["🚹","men’s room","Symbols"], + ["🚺","women’s room","Symbols"], + ["🚻","restroom","Symbols"], + ["🚼","baby symbol","Symbols"], + ["🚾","water closet","Symbols"], + ["🛂","passport control","Symbols"], + ["🛃","customs","Symbols"], + ["🛄","baggage claim","Symbols"], + ["🛅","left luggage","Symbols"], + ["⚠️","warning","Symbols"], + ["🚸","children crossing","Symbols"], + ["⛔","no entry","Symbols"], + ["🚫","prohibited","Symbols"], + ["🚳","no bicycles","Symbols"], + ["🚭","no smoking","Symbols"], + ["🚯","no littering","Symbols"], + ["🚱","non-potable water","Symbols"], + ["🚷","no pedestrians","Symbols"], + ["📵","no mobile phones","Symbols"], + ["🔞","no one under eighteen","Symbols"], + ["☢️","radioactive","Symbols"], + ["☣️","biohazard","Symbols"], + ["⬆️","up arrow","Symbols"], + ["↗️","up-right arrow","Symbols"], + ["➡️","right arrow","Symbols"], + ["↘️","down-right arrow","Symbols"], + ["⬇️","down arrow","Symbols"], + ["↙️","down-left arrow","Symbols"], + ["⬅️","left arrow","Symbols"], + ["↖️","up-left arrow","Symbols"], + ["↕️","up-down arrow","Symbols"], + ["↔️","left-right arrow","Symbols"], + ["↩️","right arrow curving left","Symbols"], + ["↪️","left arrow curving right","Symbols"], + ["⤴️","right arrow curving up","Symbols"], + ["⤵️","right arrow curving down","Symbols"], + ["🔃","clockwise vertical arrows","Symbols"], + ["🔄","counterclockwise arrows button","Symbols"], + ["🔙","BACK arrow","Symbols"], + ["🔚","END arrow","Symbols"], + ["🔛","ON! arrow","Symbols"], + ["🔜","SOON arrow","Symbols"], + ["🔝","TOP arrow","Symbols"], + ["🛐","place of worship","Symbols"], + ["⚛️","atom symbol","Symbols"], + ["🕉️","om","Symbols"], + ["✡️","star of David","Symbols"], + ["☸️","wheel of dharma","Symbols"], + ["☯️","yin yang","Symbols"], + ["✝️","latin cross","Symbols"], + ["☦️","orthodox cross","Symbols"], + ["☪️","star and crescent","Symbols"], + ["☮️","peace symbol","Symbols"], + ["🕎","menorah","Symbols"], + ["🔯","dotted six-pointed star","Symbols"], + ["🪯","khanda","Symbols"], + ["♈","Aries","Symbols"], + ["♉","Taurus","Symbols"], + ["♊","Gemini","Symbols"], + ["♋","Cancer","Symbols"], + ["♌","Leo","Symbols"], + ["♍","Virgo","Symbols"], + ["♎","Libra","Symbols"], + ["♏","Scorpio","Symbols"], + ["♐","Sagittarius","Symbols"], + ["♑","Capricorn","Symbols"], + ["♒","Aquarius","Symbols"], + ["♓","Pisces","Symbols"], + ["⛎","Ophiuchus","Symbols"], + ["🔀","shuffle tracks button","Symbols"], + ["🔁","repeat button","Symbols"], + ["🔂","repeat single button","Symbols"], + ["▶️","play button","Symbols"], + ["⏩","fast-forward button","Symbols"], + ["⏭️","next track button","Symbols"], + ["⏯️","play or pause button","Symbols"], + ["◀️","reverse button","Symbols"], + ["⏪","fast reverse button","Symbols"], + ["⏮️","last track button","Symbols"], + ["🔼","upwards button","Symbols"], + ["⏫","fast up button","Symbols"], + ["🔽","downwards button","Symbols"], + ["⏬","fast down button","Symbols"], + ["⏸️","pause button","Symbols"], + ["⏹️","stop button","Symbols"], + ["⏺️","record button","Symbols"], + ["⏏️","eject button","Symbols"], + ["🎦","cinema","Symbols"], + ["🔅","dim button","Symbols"], + ["🔆","bright button","Symbols"], + ["📶","antenna bars","Symbols"], + ["🛜","wireless","Symbols"], + ["📳","vibration mode","Symbols"], + ["📴","mobile phone off","Symbols"], + ["♀️","female sign","Symbols"], + ["♂️","male sign","Symbols"], + ["⚧️","transgender symbol","Symbols"], + ["✖️","multiply","Symbols"], + ["➕","plus","Symbols"], + ["➖","minus","Symbols"], + ["➗","divide","Symbols"], + ["🟰","heavy equals sign","Symbols"], + ["♾️","infinity","Symbols"], + ["‼️","double exclamation mark","Symbols"], + ["⁉️","exclamation question mark","Symbols"], + ["❓","red question mark","Symbols"], + ["❔","white question mark","Symbols"], + ["❕","white exclamation mark","Symbols"], + ["❗","red exclamation mark","Symbols"], + ["〰️","wavy dash","Symbols"], + ["💱","currency exchange","Symbols"], + ["💲","heavy dollar sign","Symbols"], + ["⚕️","medical symbol","Symbols"], + ["♻️","recycling symbol","Symbols"], + ["⚜️","fleur-de-lis","Symbols"], + ["🔱","trident emblem","Symbols"], + ["📛","name badge","Symbols"], + ["🔰","Japanese symbol for beginner","Symbols"], + ["⭕","hollow red circle","Symbols"], + ["✅","check mark button","Symbols"], + ["☑️","check box with check","Symbols"], + ["✔️","check mark","Symbols"], + ["❌","cross mark","Symbols"], + ["❎","cross mark button","Symbols"], + ["➰","curly loop","Symbols"], + ["➿","double curly loop","Symbols"], + ["〽️","part alternation mark","Symbols"], + ["✳️","eight-spoked asterisk","Symbols"], + ["✴️","eight-pointed star","Symbols"], + ["❇️","sparkle","Symbols"], + ["©️","copyright","Symbols"], + ["®️","registered","Symbols"], + ["™️","trade mark","Symbols"], + ["🫟","splatter","Symbols"], + ["#️⃣","keycap: #","Symbols"], + ["*️⃣","keycap: *","Symbols"], + ["0️⃣","keycap: 0","Symbols"], + ["1️⃣","keycap: 1","Symbols"], + ["2️⃣","keycap: 2","Symbols"], + ["3️⃣","keycap: 3","Symbols"], + ["4️⃣","keycap: 4","Symbols"], + ["5️⃣","keycap: 5","Symbols"], + ["6️⃣","keycap: 6","Symbols"], + ["7️⃣","keycap: 7","Symbols"], + ["8️⃣","keycap: 8","Symbols"], + ["9️⃣","keycap: 9","Symbols"], + ["🔟","keycap: 10","Symbols"], + ["🔠","input latin uppercase","Symbols"], + ["🔡","input latin lowercase","Symbols"], + ["🔢","input numbers","Symbols"], + ["🔣","input symbols","Symbols"], + ["🔤","input latin letters","Symbols"], + ["🅰️","A button (blood type)","Symbols"], + ["🆎","AB button (blood type)","Symbols"], + ["🅱️","B button (blood type)","Symbols"], + ["🆑","CL button","Symbols"], + ["🆒","COOL button","Symbols"], + ["🆓","FREE button","Symbols"], + ["ℹ️","information","Symbols"], + ["🆔","ID button","Symbols"], + ["Ⓜ️","circled M","Symbols"], + ["🆕","NEW button","Symbols"], + ["🆖","NG button","Symbols"], + ["🅾️","O button (blood type)","Symbols"], + ["🆗","OK button","Symbols"], + ["🅿️","P button","Symbols"], + ["🆘","SOS button","Symbols"], + ["🆙","UP! button","Symbols"], + ["🆚","VS button","Symbols"], + ["🈁","Japanese “here” button","Symbols"], + ["🈂️","Japanese “service charge” button","Symbols"], + ["🈷️","Japanese “monthly amount” button","Symbols"], + ["🈶","Japanese “not free of charge” button","Symbols"], + ["🈯","Japanese “reserved” button","Symbols"], + ["🉐","Japanese “bargain” button","Symbols"], + ["🈹","Japanese “discount” button","Symbols"], + ["🈚","Japanese “free of charge” button","Symbols"], + ["🈲","Japanese “prohibited” button","Symbols"], + ["🉑","Japanese “acceptable” button","Symbols"], + ["🈸","Japanese “application” button","Symbols"], + ["🈴","Japanese “passing grade” button","Symbols"], + ["🈳","Japanese “vacancy” button","Symbols"], + ["㊗️","Japanese “congratulations” button","Symbols"], + ["㊙️","Japanese “secret” button","Symbols"], + ["🈺","Japanese “open for business” button","Symbols"], + ["🈵","Japanese “no vacancy” button","Symbols"], + ["🔴","red circle","Symbols"], + ["🟠","orange circle","Symbols"], + ["🟡","yellow circle","Symbols"], + ["🟢","green circle","Symbols"], + ["🔵","blue circle","Symbols"], + ["🟣","purple circle","Symbols"], + ["🟤","brown circle","Symbols"], + ["⚫","black circle","Symbols"], + ["⚪","white circle","Symbols"], + ["🟥","red square","Symbols"], + ["🟧","orange square","Symbols"], + ["🟨","yellow square","Symbols"], + ["🟩","green square","Symbols"], + ["🟦","blue square","Symbols"], + ["🟪","purple square","Symbols"], + ["🟫","brown square","Symbols"], + ["⬛","black large square","Symbols"], + ["⬜","white large square","Symbols"], + ["◼️","black medium square","Symbols"], + ["◻️","white medium square","Symbols"], + ["◾","black medium-small square","Symbols"], + ["◽","white medium-small square","Symbols"], + ["▪️","black small square","Symbols"], + ["▫️","white small square","Symbols"], + ["🔶","large orange diamond","Symbols"], + ["🔷","large blue diamond","Symbols"], + ["🔸","small orange diamond","Symbols"], + ["🔹","small blue diamond","Symbols"], + ["🔺","red triangle pointed up","Symbols"], + ["🔻","red triangle pointed down","Symbols"], + ["💠","diamond with a dot","Symbols"], + ["🔘","radio button","Symbols"], + ["🔳","white square button","Symbols"], + ["🔲","black square button","Symbols"], + ["🏁","chequered flag","Flags"], + ["🚩","triangular flag","Flags"], + ["🎌","crossed flags","Flags"], + ["🏴","black flag","Flags"], + ["🏳️","white flag","Flags"], + ["🏳️‍🌈","rainbow flag","Flags"], + ["🏳️‍⚧️","transgender flag","Flags"], + ["🏴‍☠️","pirate flag","Flags"], + ["🇦🇨","flag: Ascension Island","Flags"], + ["🇦🇩","flag: Andorra","Flags"], + ["🇦🇪","flag: United Arab Emirates","Flags"], + ["🇦🇫","flag: Afghanistan","Flags"], + ["🇦🇬","flag: Antigua & Barbuda","Flags"], + ["🇦🇮","flag: Anguilla","Flags"], + ["🇦🇱","flag: Albania","Flags"], + ["🇦🇲","flag: Armenia","Flags"], + ["🇦🇴","flag: Angola","Flags"], + ["🇦🇶","flag: Antarctica","Flags"], + ["🇦🇷","flag: Argentina","Flags"], + ["🇦🇸","flag: American Samoa","Flags"], + ["🇦🇹","flag: Austria","Flags"], + ["🇦🇺","flag: Australia","Flags"], + ["🇦🇼","flag: Aruba","Flags"], + ["🇦🇽","flag: Åland Islands","Flags"], + ["🇦🇿","flag: Azerbaijan","Flags"], + ["🇧🇦","flag: Bosnia & Herzegovina","Flags"], + ["🇧🇧","flag: Barbados","Flags"], + ["🇧🇩","flag: Bangladesh","Flags"], + ["🇧🇪","flag: Belgium","Flags"], + ["🇧🇫","flag: Burkina Faso","Flags"], + ["🇧🇬","flag: Bulgaria","Flags"], + ["🇧🇭","flag: Bahrain","Flags"], + ["🇧🇮","flag: Burundi","Flags"], + ["🇧🇯","flag: Benin","Flags"], + ["🇧🇱","flag: St. Barthélemy","Flags"], + ["🇧🇲","flag: Bermuda","Flags"], + ["🇧🇳","flag: Brunei","Flags"], + ["🇧🇴","flag: Bolivia","Flags"], + ["🇧🇶","flag: Caribbean Netherlands","Flags"], + ["🇧🇷","flag: Brazil","Flags"], + ["🇧🇸","flag: Bahamas","Flags"], + ["🇧🇹","flag: Bhutan","Flags"], + ["🇧🇻","flag: Bouvet Island","Flags"], + ["🇧🇼","flag: Botswana","Flags"], + ["🇧🇾","flag: Belarus","Flags"], + ["🇧🇿","flag: Belize","Flags"], + ["🇨🇦","flag: Canada","Flags"], + ["🇨🇨","flag: Cocos (Keeling) Islands","Flags"], + ["🇨🇩","flag: Congo - Kinshasa","Flags"], + ["🇨🇫","flag: Central African Republic","Flags"], + ["🇨🇬","flag: Congo - Brazzaville","Flags"], + ["🇨🇭","flag: Switzerland","Flags"], + ["🇨🇮","flag: Côte d’Ivoire","Flags"], + ["🇨🇰","flag: Cook Islands","Flags"], + ["🇨🇱","flag: Chile","Flags"], + ["🇨🇲","flag: Cameroon","Flags"], + ["🇨🇳","flag: China","Flags"], + ["🇨🇴","flag: Colombia","Flags"], + ["🇨🇵","flag: Clipperton Island","Flags"], + ["🇨🇶","flag: Sark","Flags"], + ["🇨🇷","flag: Costa Rica","Flags"], + ["🇨🇺","flag: Cuba","Flags"], + ["🇨🇻","flag: Cape Verde","Flags"], + ["🇨🇼","flag: Curaçao","Flags"], + ["🇨🇽","flag: Christmas Island","Flags"], + ["🇨🇾","flag: Cyprus","Flags"], + ["🇨🇿","flag: Czechia","Flags"], + ["🇩🇪","flag: Germany","Flags"], + ["🇩🇬","flag: Diego Garcia","Flags"], + ["🇩🇯","flag: Djibouti","Flags"], + ["🇩🇰","flag: Denmark","Flags"], + ["🇩🇲","flag: Dominica","Flags"], + ["🇩🇴","flag: Dominican Republic","Flags"], + ["🇩🇿","flag: Algeria","Flags"], + ["🇪🇦","flag: Ceuta & Melilla","Flags"], + ["🇪🇨","flag: Ecuador","Flags"], + ["🇪🇪","flag: Estonia","Flags"], + ["🇪🇬","flag: Egypt","Flags"], + ["🇪🇭","flag: Western Sahara","Flags"], + ["🇪🇷","flag: Eritrea","Flags"], + ["🇪🇸","flag: Spain","Flags"], + ["🇪🇹","flag: Ethiopia","Flags"], + ["🇪🇺","flag: European Union","Flags"], + ["🇫🇮","flag: Finland","Flags"], + ["🇫🇯","flag: Fiji","Flags"], + ["🇫🇰","flag: Falkland Islands","Flags"], + ["🇫🇲","flag: Micronesia","Flags"], + ["🇫🇴","flag: Faroe Islands","Flags"], + ["🇫🇷","flag: France","Flags"], + ["🇬🇦","flag: Gabon","Flags"], + ["🇬🇧","flag: United Kingdom","Flags"], + ["🇬🇩","flag: Grenada","Flags"], + ["🇬🇪","flag: Georgia","Flags"], + ["🇬🇫","flag: French Guiana","Flags"], + ["🇬🇬","flag: Guernsey","Flags"], + ["🇬🇭","flag: Ghana","Flags"], + ["🇬🇮","flag: Gibraltar","Flags"], + ["🇬🇱","flag: Greenland","Flags"], + ["🇬🇲","flag: Gambia","Flags"], + ["🇬🇳","flag: Guinea","Flags"], + ["🇬🇵","flag: Guadeloupe","Flags"], + ["🇬🇶","flag: Equatorial Guinea","Flags"], + ["🇬🇷","flag: Greece","Flags"], + ["🇬🇸","flag: South Georgia & South Sandwich Islands","Flags"], + ["🇬🇹","flag: Guatemala","Flags"], + ["🇬🇺","flag: Guam","Flags"], + ["🇬🇼","flag: Guinea-Bissau","Flags"], + ["🇬🇾","flag: Guyana","Flags"], + ["🇭🇰","flag: Hong Kong SAR China","Flags"], + ["🇭🇲","flag: Heard Island & McDonald Islands","Flags"], + ["🇭🇳","flag: Honduras","Flags"], + ["🇭🇷","flag: Croatia","Flags"], + ["🇭🇹","flag: Haiti","Flags"], + ["🇭🇺","flag: Hungary","Flags"], + ["🇮🇨","flag: Canary Islands","Flags"], + ["🇮🇩","flag: Indonesia","Flags"], + ["🇮🇪","flag: Ireland","Flags"], + ["🇮🇱","flag: Israel","Flags"], + ["🇮🇲","flag: Isle of Man","Flags"], + ["🇮🇳","flag: India","Flags"], + ["🇮🇴","flag: British Indian Ocean Territory","Flags"], + ["🇮🇶","flag: Iraq","Flags"], + ["🇮🇷","flag: Iran","Flags"], + ["🇮🇸","flag: Iceland","Flags"], + ["🇮🇹","flag: Italy","Flags"], + ["🇯🇪","flag: Jersey","Flags"], + ["🇯🇲","flag: Jamaica","Flags"], + ["🇯🇴","flag: Jordan","Flags"], + ["🇯🇵","flag: Japan","Flags"], + ["🇰🇪","flag: Kenya","Flags"], + ["🇰🇬","flag: Kyrgyzstan","Flags"], + ["🇰🇭","flag: Cambodia","Flags"], + ["🇰🇮","flag: Kiribati","Flags"], + ["🇰🇲","flag: Comoros","Flags"], + ["🇰🇳","flag: St. Kitts & Nevis","Flags"], + ["🇰🇵","flag: North Korea","Flags"], + ["🇰🇷","flag: South Korea","Flags"], + ["🇰🇼","flag: Kuwait","Flags"], + ["🇰🇾","flag: Cayman Islands","Flags"], + ["🇰🇿","flag: Kazakhstan","Flags"], + ["🇱🇦","flag: Laos","Flags"], + ["🇱🇧","flag: Lebanon","Flags"], + ["🇱🇨","flag: St. Lucia","Flags"], + ["🇱🇮","flag: Liechtenstein","Flags"], + ["🇱🇰","flag: Sri Lanka","Flags"], + ["🇱🇷","flag: Liberia","Flags"], + ["🇱🇸","flag: Lesotho","Flags"], + ["🇱🇹","flag: Lithuania","Flags"], + ["🇱🇺","flag: Luxembourg","Flags"], + ["🇱🇻","flag: Latvia","Flags"], + ["🇱🇾","flag: Libya","Flags"], + ["🇲🇦","flag: Morocco","Flags"], + ["🇲🇨","flag: Monaco","Flags"], + ["🇲🇩","flag: Moldova","Flags"], + ["🇲🇪","flag: Montenegro","Flags"], + ["🇲🇫","flag: St. Martin","Flags"], + ["🇲🇬","flag: Madagascar","Flags"], + ["🇲🇭","flag: Marshall Islands","Flags"], + ["🇲🇰","flag: North Macedonia","Flags"], + ["🇲🇱","flag: Mali","Flags"], + ["🇲🇲","flag: Myanmar (Burma)","Flags"], + ["🇲🇳","flag: Mongolia","Flags"], + ["🇲🇴","flag: Macao SAR China","Flags"], + ["🇲🇵","flag: Northern Mariana Islands","Flags"], + ["🇲🇶","flag: Martinique","Flags"], + ["🇲🇷","flag: Mauritania","Flags"], + ["🇲🇸","flag: Montserrat","Flags"], + ["🇲🇹","flag: Malta","Flags"], + ["🇲🇺","flag: Mauritius","Flags"], + ["🇲🇻","flag: Maldives","Flags"], + ["🇲🇼","flag: Malawi","Flags"], + ["🇲🇽","flag: Mexico","Flags"], + ["🇲🇾","flag: Malaysia","Flags"], + ["🇲🇿","flag: Mozambique","Flags"], + ["🇳🇦","flag: Namibia","Flags"], + ["🇳🇨","flag: New Caledonia","Flags"], + ["🇳🇪","flag: Niger","Flags"], + ["🇳🇫","flag: Norfolk Island","Flags"], + ["🇳🇬","flag: Nigeria","Flags"], + ["🇳🇮","flag: Nicaragua","Flags"], + ["🇳🇱","flag: Netherlands","Flags"], + ["🇳🇴","flag: Norway","Flags"], + ["🇳🇵","flag: Nepal","Flags"], + ["🇳🇷","flag: Nauru","Flags"], + ["🇳🇺","flag: Niue","Flags"], + ["🇳🇿","flag: New Zealand","Flags"], + ["🇴🇲","flag: Oman","Flags"], + ["🇵🇦","flag: Panama","Flags"], + ["🇵🇪","flag: Peru","Flags"], + ["🇵🇫","flag: French Polynesia","Flags"], + ["🇵🇬","flag: Papua New Guinea","Flags"], + ["🇵🇭","flag: Philippines","Flags"], + ["🇵🇰","flag: Pakistan","Flags"], + ["🇵🇱","flag: Poland","Flags"], + ["🇵🇲","flag: St. Pierre & Miquelon","Flags"], + ["🇵🇳","flag: Pitcairn Islands","Flags"], + ["🇵🇷","flag: Puerto Rico","Flags"], + ["🇵🇸","flag: Palestinian Territories","Flags"], + ["🇵🇹","flag: Portugal","Flags"], + ["🇵🇼","flag: Palau","Flags"], + ["🇵🇾","flag: Paraguay","Flags"], + ["🇶🇦","flag: Qatar","Flags"], + ["🇷🇪","flag: Réunion","Flags"], + ["🇷🇴","flag: Romania","Flags"], + ["🇷🇸","flag: Serbia","Flags"], + ["🇷🇺","flag: Russia","Flags"], + ["🇷🇼","flag: Rwanda","Flags"], + ["🇸🇦","flag: Saudi Arabia","Flags"], + ["🇸🇧","flag: Solomon Islands","Flags"], + ["🇸🇨","flag: Seychelles","Flags"], + ["🇸🇩","flag: Sudan","Flags"], + ["🇸🇪","flag: Sweden","Flags"], + ["🇸🇬","flag: Singapore","Flags"], + ["🇸🇭","flag: St. Helena, Ascension & Tristan da Cunha","Flags"], + ["🇸🇮","flag: Slovenia","Flags"], + ["🇸🇯","flag: Svalbard & Jan Mayen","Flags"], + ["🇸🇰","flag: Slovakia","Flags"], + ["🇸🇱","flag: Sierra Leone","Flags"], + ["🇸🇲","flag: San Marino","Flags"], + ["🇸🇳","flag: Senegal","Flags"], + ["🇸🇴","flag: Somalia","Flags"], + ["🇸🇷","flag: Suriname","Flags"], + ["🇸🇸","flag: South Sudan","Flags"], + ["🇸🇹","flag: São Tomé & Príncipe","Flags"], + ["🇸🇻","flag: El Salvador","Flags"], + ["🇸🇽","flag: Sint Maarten","Flags"], + ["🇸🇾","flag: Syria","Flags"], + ["🇸🇿","flag: Eswatini","Flags"], + ["🇹🇦","flag: Tristan da Cunha","Flags"], + ["🇹🇨","flag: Turks & Caicos Islands","Flags"], + ["🇹🇩","flag: Chad","Flags"], + ["🇹🇫","flag: French Southern and Antarctic Lands","Flags"], + ["🇹🇬","flag: Togo","Flags"], + ["🇹🇭","flag: Thailand","Flags"], + ["🇹🇯","flag: Tajikistan","Flags"], + ["🇹🇰","flag: Tokelau","Flags"], + ["🇹🇱","flag: Timor-Leste","Flags"], + ["🇹🇲","flag: Turkmenistan","Flags"], + ["🇹🇳","flag: Tunisia","Flags"], + ["🇹🇴","flag: Tonga","Flags"], + ["🇹🇷","flag: Türkiye","Flags"], + ["🇹🇹","flag: Trinidad & Tobago","Flags"], + ["🇹🇻","flag: Tuvalu","Flags"], + ["🇹🇼","flag: Taiwan","Flags"], + ["🇹🇿","flag: Tanzania","Flags"], + ["🇺🇦","flag: Ukraine","Flags"], + ["🇺🇬","flag: Uganda","Flags"], + ["🇺🇲","flag: U.S. Outlying Islands","Flags"], + ["🇺🇳","flag: United Nations","Flags"], + ["🇺🇸","flag: United States","Flags"], + ["🇺🇾","flag: Uruguay","Flags"], + ["🇺🇿","flag: Uzbekistan","Flags"], + ["🇻🇦","flag: Vatican City","Flags"], + ["🇻🇨","flag: St. Vincent & Grenadines","Flags"], + ["🇻🇪","flag: Venezuela","Flags"], + ["🇻🇬","flag: British Virgin Islands","Flags"], + ["🇻🇮","flag: U.S. Virgin Islands","Flags"], + ["🇻🇳","flag: Vietnam","Flags"], + ["🇻🇺","flag: Vanuatu","Flags"], + ["🇼🇫","flag: Wallis & Futuna","Flags"], + ["🇼🇸","flag: Samoa","Flags"], + ["🇽🇰","flag: Kosovo","Flags"], + ["🇾🇪","flag: Yemen","Flags"], + ["🇾🇹","flag: Mayotte","Flags"], + ["🇿🇦","flag: South Africa","Flags"], + ["🇿🇲","flag: Zambia","Flags"], + ["🇿🇼","flag: Zimbabwe","Flags"], + ["🏴󠁧󠁢󠁥󠁮󠁧󠁿","flag: England","Flags"], + ["🏴󠁧󠁢󠁳󠁣󠁴󠁿","flag: Scotland","Flags"], + ["🏴󠁧󠁢󠁷󠁬󠁳󠁿","flag: Wales","Flags"], +]; + diff --git a/fetch.ts b/fetch.ts index 027a99c8..9956557e 100644 --- a/fetch.ts +++ b/fetch.ts @@ -17,6 +17,7 @@ */ import { shimPath } from "./shim-path"; +import { analyzeAudio, type AudioMetadata } from "./audio-metadata"; import { homedir } from "node:os"; import { spawnSync } from "node:child_process"; import { @@ -53,6 +54,12 @@ export function wantsJpeg(mime: string): boolean { return mime === "image/heic" || mime === "image/heif"; } +/** HEIC stickers need alpha-preserving PNG, including a still fallback for + * Live Sticker sequences that sips cannot export as an animation. */ +export function wantsStickerPng(mime: string): boolean { + return ["image/heic", "image/heif", "image/heics", "image/heic-sequence", "image/heif-sequence"].includes(String(mime || "").toLowerCase()); +} + /** * Formats whose whole point is that they MOVE. * @@ -79,6 +86,7 @@ export function sanitizeName(name: string): string { * from the sender's filename: "image/png" + "evil.desktop" caches as .png. */ const MIME_EXT: Record = { "image/png": "png", "image/jpeg": "jpg", "image/gif": "gif", "image/webp": "webp", + "image/apng": "png", "image/heic": "jpg", "image/heif": "jpg", "image/tiff": "tiff", "image/bmp": "bmp", "video/mp4": "mp4", "video/quicktime": "mov", "video/x-m4v": "m4v", "audio/mpeg": "mp3", "audio/mp4": "m4a", "audio/x-m4a": "m4a", "audio/aac": "aac", "audio/amr": "amr", @@ -88,18 +96,19 @@ const MIME_EXT: Record = { "audio/x-caf": "ogg", "application/pdf": "pdf", "text/plain": "txt", "text/vcard": "vcf", "text/calendar": "ics", }; -export function cacheFileName(id: string, name: string, mime: string, preview = false): string { +export function cacheFileName(id: string, name: string, mime: string, preview = false, sticker = false): string { // Three transforms, never colliding: `orig` is the untouched file, `jpg` a // sips HEIC→JPEG at full size, `prev` a resampled inline preview. A preview // is ALWAYS JPEG whatever the source was, so its extension is too — // xdg-open dispatches on extension, and a JPEG inside a .png would be a lie // (war room #49). - const transform = preview ? "prev" : wantsJpeg(mime) ? "jpg" : "orig"; + const png = sticker && wantsStickerPng(mime); + const transform = png ? "png" : preview ? "prev" : wantsJpeg(mime) ? "jpg" : "orig"; let base = sanitizeName(name); // The extension is ALWAYS ours. An unmapped type (image/svg+xml, anything // exotic) used to keep the sender's name — "evil.desktop" with an image MIME // passed the opening gate and reached xdg-open by extension (Astra B#1). - const ext = preview ? "jpg" : (MIME_EXT[String(mime || "").toLowerCase()] ?? "bin"); + const ext = png ? "png" : preview ? "jpg" : (MIME_EXT[String(mime || "").toLowerCase()] ?? "bin"); base = base.replace(/\.[^.]{1,8}$/, "") + "." + ext; return `${id}-${transform}-${base}`; } @@ -154,6 +163,21 @@ export function imageMetrics(bytes: Buffer, mime: string): ImageMetrics { }; } + // WebP extended header (including animations), lossless, and lossy. + if (bytes.length >= 30 && bytes.toString("ascii", 0, 4) === "RIFF" && bytes.toString("ascii", 8, 12) === "WEBP") { + const kind = bytes.toString("ascii", 12, 16); + if (kind === "VP8X") return { + pixelWidth: bytes.readUIntLE(24, 3) + 1, pixelHeight: bytes.readUIntLE(27, 3) + 1, pixelRatio: 1, + }; + if (kind === "VP8L" && bytes[20] === 0x2f) return { + pixelWidth: 1 + (bytes.readUInt32LE(21) & 0x3fff), + pixelHeight: 1 + ((bytes.readUInt32LE(21) >>> 14) & 0x3fff), pixelRatio: 1, + }; + if (kind === "VP8 " && bytes[23] === 0x9d && bytes[24] === 0x01 && bytes[25] === 0x2a) return { + pixelWidth: bytes.readUInt16LE(26) & 0x3fff, pixelHeight: bytes.readUInt16LE(28) & 0x3fff, pixelRatio: 1, + }; + } + const png = Buffer.from([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]); if (bytes.length >= 24 && bytes.subarray(0, 8).equals(png)) { const pixelWidth = bytes.readUInt32BE(16); @@ -208,22 +232,168 @@ export function imageMetrics(bytes: Buffer, mime: string): ImageMetrics { return { ...EMPTY_IMAGE_METRICS }; } -function cachedImageMetrics(path: string, mime: string): ImageMetrics { +export interface ImageAnimation { animated: boolean; frames: number; format: string } + +/** Sticker images bypass JPEG previewing, so do not let a sender use that + * path to load SVG or another resource-bearing format in the QML renderer. */ +export function stickerRasterMime(bytes: Buffer): string { + if (bytes.length >= 24 && bytes.toString("hex", 0, 8) === "89504e470d0a1a0a" + && bytes.toString("ascii", 12, 16) === "IHDR") return "image/png"; + if (bytes.length >= 4 && bytes[0] === 0xff && bytes[1] === 0xd8 && bytes[2] === 0xff) return "image/jpeg"; + if (bytes.length >= 10 && ["GIF87a", "GIF89a"].includes(bytes.toString("ascii", 0, 6))) return "image/gif"; + if (bytes.length >= 30 && bytes.toString("ascii", 0, 4) === "RIFF" && bytes.toString("ascii", 8, 12) === "WEBP" + && ["VP8X", "VP8L", "VP8 "].includes(bytes.toString("ascii", 12, 16))) return "image/webp"; + return ""; +} + +function stickerRasterValid(bytes: Buffer, mime: string): boolean { + const expected = mime === "image/apng" ? "image/png" : mime; + if (stickerRasterMime(bytes) !== expected) return false; + const metrics = imageMetrics(bytes, expected); + return metrics.pixelWidth > 0 && metrics.pixelHeight > 0 && metrics.pixelWidth <= 2048 && metrics.pixelHeight <= 2048; +} + +/** Only inspect bounded container headers. PNG's acTL precedes IDAT. */ +export function imageAnimation(bytes: Buffer): ImageAnimation { + const plain = { animated: false, frames: 1, format: "" }; + if (bytes.length >= 10 && ["GIF87a", "GIF89a"].includes(bytes.toString("ascii", 0, 6))) + return { animated: true, frames: 0, format: "gif" }; + if (bytes.length >= 30 && bytes.toString("ascii", 0, 4) === "RIFF" && bytes.toString("ascii", 8, 12) === "WEBP") + return { animated: bytes.toString("ascii", 12, 16) === "VP8X" && (bytes[20]! & 2) !== 0, frames: 0, format: "webp" }; + if (bytes.length < 24 || bytes.toString("hex", 0, 8) !== "89504e470d0a1a0a") return plain; + for (let pos = 8; pos + 12 <= bytes.length;) { + const length = bytes.readUInt32BE(pos); + if (length > IMAGE_HEADER_BYTES || pos + 12 + length > bytes.length) break; + const type = bytes.toString("ascii", pos + 4, pos + 8); + if (type === "acTL" && length === 8) { + const frames = bytes.readUInt32BE(pos + 8); + return { animated: frames > 1, frames, format: "png" }; + } + if (type === "IDAT" || type === "IEND") break; + pos += length + 12; + } + return { ...plain, format: "png" }; +} + +/** Qt's PNG reader renders APNG as a still. Convert only the inline sticker + * preview to lossless animated WebP, preserving alpha. Originals still back + * explicit Open/Copy/Save; no conversation text enters files or argv. */ +export function stickerAnimationPreview(bytes: Buffer, runner = spawnSync, dir = CACHE_DIR): { bytes: Buffer; converted: boolean; unavailable: boolean } { + const animation = imageAnimation(bytes.subarray(0, IMAGE_HEADER_BYTES)); + if (animation.format !== "png" || !animation.animated) return { bytes, converted: false, unavailable: false }; + const size = imageMetrics(bytes.subarray(0, IMAGE_HEADER_BYTES), "image/png"); + if (animation.frames > 100 || size.pixelWidth <= 0 || size.pixelHeight <= 0 + || size.pixelWidth > 2048 || size.pixelHeight > 2048 + || size.pixelWidth * size.pixelHeight * animation.frames > 64_000_000) + return { bytes, converted: false, unavailable: true }; + // FFmpeg 6's APNG demuxer asks for input length even with ignore_loop=1; + // a looping APNG on stdin fails with ENOSYS. Keep one bounded, seekable + // private media file, as with HEICS, and remove it on every exit path. + const tmp = join(dir, `.sticker-${process.pid}-${Math.random().toString(36).slice(2, 10)}.apng`); + try { + mkdirSync(dir, { recursive: true, mode: 0o700 }); + const fd = openSync(tmp, "wx", 0o600); + try { writeSync(fd, bytes); } finally { closeSync(fd); } + const res = runner("ffmpeg", ["-nostdin", "-v", "error", "-protocol_whitelist", "file,pipe", "-f", "apng", "-ignore_loop", "1", "-i", tmp, + "-map_metadata", "-1", "-c:v", "libwebp_anim", "-lossless", "1", "-loop", "0", + "-frames:v", "100", "-f", "webp", "pipe:1"], + { timeout: 30000, maxBuffer: FETCH_MAX_BYTES + (1 << 20) }); + const out = res.stdout as Buffer; + if (res.status === 0 && Buffer.isBuffer(out) && out.length > 30 && imageAnimation(out).format === "webp") + return { bytes: out, converted: true, unavailable: false }; + } catch { /* A missing ffmpeg or decoder retains a usable transparent still. */ } + finally { try { unlinkSync(tmp); } catch { /* no temp file survived */ } } + return { bytes, converted: false, unavailable: true }; +} + +interface StickerSequenceResult { bytes: Buffer; renderMime: "image/webp" | "image/png"; unavailable: boolean } + +/** Live Stickers use a color track and a separate grayscale alpha track. + * In HEICS the first pair is the still image; tracks 2/3 are the animation. + * Probe only container metadata before allowing bounded decode. A private + * media temp file supplies seekable input (MOV/HEICS often puts moov last). + */ +export function stickerSequencePreview(bytes: Buffer, mime: string, runner = spawnSync, dir = CACHE_DIR): StickerSequenceResult | undefined { + if (!bytes.length || bytes.length > FETCH_MAX_BYTES) return undefined; + const tmp = join(dir, `.sticker-${process.pid}-${Math.random().toString(36).slice(2, 10)}.media`); + try { + mkdirSync(dir, { recursive: true, mode: 0o700 }); + const fd = openSync(tmp, "wx", 0o600); + try { writeSync(fd, bytes); } finally { closeSync(fd); } + const probe = runner("ffprobe", ["-v", "error", "-protocol_whitelist", "file,pipe", + "-show_entries", "stream=index,codec_type,width,height,nb_frames,duration,pix_fmt", + "-of", "json", tmp], { timeout: 10000, maxBuffer: 65536 }); + if (probe.status !== 0) return undefined; + const data = JSON.parse(String(probe.stdout)); + if (!Array.isArray(data.streams) || data.streams.length > 8) return undefined; + const video = data.streams.filter((s: any) => s.codec_type === "video"); + const heics = wantsStickerPng(mime); + if (!video.length || (heics && video.length < 4)) return undefined; + const color = heics ? video[2] : video[0]; + const mask = heics ? video[3] : video.length === 2 && /^gray/.test(video[1].pix_fmt) ? video[1] : null; + const width = Number(color.width), height = Number(color.height), count = Number(color.nb_frames), seconds = Number(color.duration); + const validSize = (s: any) => Number.isInteger(s.index) && s.index >= 0 && s.index <= 16 + && Number.isInteger(s.width) && Number.isInteger(s.height) && s.width > 0 && s.height > 0 && s.width <= 2048 && s.height <= 2048; + if (!validSize(color) || (mask && (!validSize(mask) || mask.width !== width || mask.height !== height || !/^gray/.test(mask.pix_fmt)))) return undefined; + const animate = Number.isInteger(count) && count > 1 && count <= 100 + && width * height * count <= 64_000_000 && Number.isFinite(seconds) && seconds > 0 && seconds <= 8; + const filter = mask + ? `[0:${color.index}][0:${mask.index}]alphamerge,format=rgba[out]` + : `[0:${color.index}]format=rgba[out]`; + const output = animate + ? ["-c:v", "libwebp_anim", "-lossless", "1", "-loop", "0", "-frames:v", "100", "-t", "8", "-f", "webp"] + : ["-c:v", "png", "-frames:v", "1", "-f", "image2pipe"]; + const result = runner("ffmpeg", ["-nostdin", "-v", "error", "-protocol_whitelist", "file,pipe", + "-threads", "1", "-i", tmp, "-filter_complex_threads", "1", "-filter_complex", filter, + "-map", "[out]", "-an", "-map_metadata", "-1", ...output, "pipe:1"], + { timeout: 30000, maxBuffer: FETCH_MAX_BYTES + (1 << 20) }); + const out = result.stdout as Buffer; + if (result.status !== 0 || !Buffer.isBuffer(out) || out.length > FETCH_MAX_BYTES) return undefined; + const format = imageAnimation(out).format; + if ((animate && format !== "webp") || (!animate && format !== "png")) return undefined; + return { bytes: out, renderMime: animate ? "image/webp" : "image/png", unavailable: !animate }; + } catch { return undefined; } + finally { try { unlinkSync(tmp); } catch { /* no temp file survived */ } } +} + +function cachedImageMetrics(path: string, mime: string): ImageMetrics & { animated: boolean; animationUnavailable: boolean; rasterMime: string } { + const empty = { ...EMPTY_IMAGE_METRICS, animated: false, animationUnavailable: false, rasterMime: "" }; let fd = -1; try { fd = openSync(path, constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK); const st = fstatSync(fd); - if (!st.isFile() || st.uid !== process.getuid() || st.size <= 0) return { ...EMPTY_IMAGE_METRICS }; + if (!st.isFile() || st.uid !== process.getuid() || st.size <= 0) return empty; const header = Buffer.alloc(Math.min(st.size, IMAGE_HEADER_BYTES)); const count = readSync(fd, header, 0, header.length, 0); - return imageMetrics(header.subarray(0, count), mime); + const bytes = header.subarray(0, count); + const animation = imageAnimation(bytes); + return { ...imageMetrics(bytes, mime), animated: animation.animated && animation.format !== "png", + animationUnavailable: animation.animated && animation.format === "png", rasterMime: stickerRasterMime(bytes) }; } catch { - return { ...EMPTY_IMAGE_METRICS }; + return empty; } finally { if (fd >= 0) closeSync(fd); } } +function cachedMediaBytes(path: string, cap: number): Buffer | undefined { + let fd = -1; + try { + fd = openSync(path, constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK); + const stat = fstatSync(fd); + if (!stat.isFile() || stat.uid !== process.getuid() || stat.size <= 0 || stat.size > cap) return undefined; + const bytes = Buffer.alloc(stat.size); + let offset = 0; + while (offset < bytes.length) { + const n = readSync(fd, bytes, offset, bytes.length - offset, offset); + if (!n) return undefined; + offset += n; + } + return bytes; + } catch { return undefined; } + finally { if (fd >= 0) closeSync(fd); } +} + function evict(keep: string): void { let entries: { name: string; bytes: number; mtimeMs: number }[] = []; try { @@ -348,6 +518,13 @@ export interface FetchResult { pixelWidth: number; pixelHeight: number; pixelRatio: number; + /** Actual cached bytes, for clipboard MIME and sticker render selection. */ + renderMime: string; + animated: boolean; + /** A transparent still is available, but its source animation could not be decoded. */ + animationUnavailable: boolean; + /** Real decoded envelope, kept in memory; absent for non-audio media. */ + audio?: AudioMetadata; } /** An iPhone voice message (CAF, Opus inside) → Ogg Opus, so the default @@ -383,24 +560,53 @@ export function fetchAttachment( mime: string, runner = spawnSync, maxBytes = FETCH_MAX_BYTES, + sticker = false, ): FetchResult { const fail = (error: string, online = true): FetchResult => - ({ ok: false, online, path: "", url: "", error, ...EMPTY_IMAGE_METRICS }); + ({ ok: false, online, path: "", url: "", error, ...EMPTY_IMAGE_METRICS, + renderMime: "", animated: false, animationUnavailable: false }); if (!/^[0-9]{1,18}$/.test(id)) return fail("bad attachment id"); + mime = String(mime || "").toLowerCase(); + if (sticker && !["image/png", "image/apng", "image/jpeg", "image/gif", "image/webp"].includes(mime) + && !wantsStickerPng(mime) && !mime.startsWith("video/")) return fail("unsupported sticker media format"); mkdirSync(CACHE_DIR, { recursive: true, mode: 0o700 }); - const preview = maxBytes < FETCH_MAX_BYTES && isImageMime(mime) && !isAnimatedMime(mime); - const file = join(CACHE_DIR, cacheFileName(id, name, mime, preview)); - try { - const st = lstatSync(file); + const auto = maxBytes < FETCH_MAX_BYTES; + const preview = auto && isImageMime(mime) && !isAnimatedMime(mime) && !sticker; + const png = sticker && wantsStickerPng(mime); + const animatedPreview = sticker && auto && ["image/png", "image/apng"].includes(mime.toLowerCase()); + const sequencePreview = sticker && auto && (mime.toLowerCase().startsWith("video/") + || (png && !["image/heic", "image/heif"].includes(mime.toLowerCase()))); + const rawFile = join(CACHE_DIR, cacheFileName(id, name, mime, preview, sticker)); + const animationFile = join(CACHE_DIR, cacheFileName(id, name, "image/webp").replace(`${id}-orig-`, `${id}-anim-`)); + const stillFile = join(CACHE_DIR, cacheFileName(id, name, "image/png").replace(`${id}-orig-`, `${id}-still-`)); + let file = rawFile; + let cachedRaw: Buffer | undefined; + let renderMime = png ? "image/png" : preview || wantsJpeg(mime) ? "image/jpeg" : mime; + const sequenceStill = png && !["image/heic", "image/heif"].includes(mime.toLowerCase()); + const candidates = sequencePreview ? [animationFile, stillFile].concat(png ? [rawFile] : []) + : animatedPreview ? [animationFile, rawFile] : [rawFile]; + for (const candidate of candidates) try { + const st = lstatSync(candidate); // A symlink planted in the cache must never be followed (or touched). - if (st.isFile() && st.size > 0) { + if (st.isFile() && st.size > 0 && st.size <= Math.min(maxBytes, FETCH_MAX_BYTES)) { const now = new Date(); - utimesSync(file, now, now); // mtime is the LRU clock + utimesSync(candidate, now, now); // mtime is the LRU clock + const cachedMime = candidate === animationFile ? "image/webp" : candidate === stillFile ? "image/png" : renderMime; + const { rasterMime, ...metrics } = cachedImageMetrics(candidate, cachedMime); + if (sticker && !cachedMime.startsWith("video/") && (rasterMime !== (cachedMime === "image/apng" ? "image/png" : cachedMime) + || metrics.pixelWidth <= 0 || metrics.pixelHeight <= 0 || metrics.pixelWidth > 2048 || metrics.pixelHeight > 2048)) + return fail("sticker media is not a supported bounded raster image"); + if (animatedPreview && candidate === rawFile && metrics.animationUnavailable) { + cachedRaw = cachedMediaBytes(candidate, Math.min(maxBytes, FETCH_MAX_BYTES)); + if (cachedRaw) break; // convert an already cached APNG without another bridge read + } return { - ok: true, online: true, path: file, url: pathToFileURL(file).href, error: "", - ...cachedImageMetrics(file, mime), + ok: true, online: true, path: candidate, url: pathToFileURL(candidate).href, error: "", + renderMime: cachedMime, ...metrics, + animationUnavailable: candidate !== animationFile && (sequenceStill || candidate === stillFile || metrics.animationUnavailable), + ...(mime.startsWith("audio/") ? { audio: analyzeAudio(candidate, runner) } : {}), }; } } catch { /* not cached */ } @@ -415,10 +621,10 @@ export function fetchAttachment( // still fetch the untouched original into `-orig-…`. const args = [ "attachment", id, - ...(wantsJpeg(mime) || preview ? ["--jpeg"] : []), + ...(png && !sequencePreview ? ["--png"] : !sequencePreview && (wantsJpeg(mime) || preview) ? ["--jpeg"] : []), ...(preview ? ["--max-dim", String(PREVIEW_MAX_DIM)] : []), ]; - const res = runner(shimPath("imsg"), args, { + const res = cachedRaw ? { status: 0, stdout: cachedRaw, stderr: "" } : runner(shimPath("imsg"), args, { timeout: 120000, maxBuffer: FETCH_MAX_BYTES + (1 << 20), }); @@ -430,9 +636,46 @@ export function fetchAttachment( const raw = res.stdout as Buffer; if (!raw || raw.length === 0) return fail("empty attachment stream"); if (raw.length > Math.min(maxBytes, FETCH_MAX_BYTES)) return fail("attachment exceeds the fetch ceiling"); - const bytes = String(mime || "").toLowerCase() === "audio/x-caf" + let bytes = String(mime || "").toLowerCase() === "audio/x-caf" ? rewrapCaf(raw, runner) : bakeOrientation(raw, runner); + let animationUnavailable = sequenceStill; + if (sequencePreview) { + const converted = stickerSequencePreview(bytes, mime, runner); + if (converted && converted.bytes.length <= Math.min(maxBytes, FETCH_MAX_BYTES)) { + bytes = converted.bytes; + file = converted.renderMime === "image/webp" ? animationFile : stillFile; + renderMime = converted.renderMime; + animationUnavailable = converted.unavailable; + } else if (png) { + // A missing ffmpeg, unknown HEICS layout, or oversized preview still + // gets the Mac's transparent first image. Never cache raw HEICS as PNG. + const fallback = runner(shimPath("imsg"), ["attachment", id, "--png"], + { timeout: 120000, maxBuffer: FETCH_MAX_BYTES + (1 << 20) }); + if (fallback.status === 69 || fallback.status === 255) return fail("Mac unreachable", false); + const still = fallback.stdout as Buffer; + if (fallback.status !== 0 || !Buffer.isBuffer(still) || imageAnimation(still).format !== "png") + return fail("sticker animation and still preview unavailable"); + if (still.length > Math.min(maxBytes, FETCH_MAX_BYTES)) return fail("sticker preview exceeds the fetch ceiling"); + bytes = still; + animationUnavailable = true; + } else { + return fail("sticker video preview unavailable; open the original attachment"); + } + } + if (animatedPreview) { + const converted = stickerAnimationPreview(bytes, runner); + animationUnavailable = converted.unavailable; + if (converted.converted) { + if (converted.bytes.length <= Math.min(maxBytes, FETCH_MAX_BYTES)) { + bytes = converted.bytes; + file = animationFile; + renderMime = "image/webp"; + } else animationUnavailable = true; + } + } + if (sticker && !renderMime.startsWith("video/") && !stickerRasterValid(bytes.subarray(0, IMAGE_HEADER_BYTES), renderMime)) + return fail("sticker media is not a supported bounded raster image"); // tmp + fsync + rename: a killed fetch must never leave a cache hit that // looks complete. @@ -446,10 +689,14 @@ export function fetchAttachment( closeSync(fd); } renameSync(tmp, file); - evict(cacheFileName(id, name, mime, preview)); + evict(file.slice(file.lastIndexOf("/") + 1)); + const animation = imageAnimation(bytes.subarray(0, IMAGE_HEADER_BYTES)); return { ok: true, online: true, path: file, url: pathToFileURL(file).href, error: "", - ...imageMetrics(bytes.subarray(0, IMAGE_HEADER_BYTES), mime), + ...imageMetrics(bytes.subarray(0, IMAGE_HEADER_BYTES), renderMime), renderMime, + animated: animation.animated && animation.format !== "png", + animationUnavailable: animationUnavailable || (animation.animated && animation.format === "png"), + ...(mime.startsWith("audio/") ? { audio: analyzeAudio(file, runner) } : {}), }; } @@ -457,7 +704,7 @@ if (import.meta.main) { const [id, name, mime] = [process.argv[2] ?? "", process.argv[3] ?? "file", process.argv[4] ?? ""]; const cap = Number(process.argv[5] ?? ""); try { - console.log(JSON.stringify(fetchAttachment(id, name, mime, undefined, cap > 0 ? cap : FETCH_MAX_BYTES))); + console.log(JSON.stringify(fetchAttachment(id, name, mime, undefined, cap > 0 ? cap : FETCH_MAX_BYTES, process.argv.includes("--sticker")))); } catch (e) { console.log(JSON.stringify({ ok: false, online: true, path: "", url: "", error: String(e) })); } diff --git a/manifest.json b/manifest.json index 1258892e..cf0fcd82 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "id": "nixfred.blip", "name": "Blip", - "version": "2.6.2", + "version": "2.7.0", "author": "Larry & Fred", "license": "MIT", "description": "iMessage in the Omarchy bar. Reads and sends through a Mac you own over a multiplexed SSH socket \u2014 iMessage is macOS-only, so this machine is a thin client and the Mac is the gateway. Bar badge counts every unread; desktop toasts fire only for handles on your allowlist, because chat.db is mostly bank alerts and 2FA codes. Left-click = panel (thread list, history, compose). Middle-click = refresh. Right-click = mark all read.", diff --git a/message-actions.test.ts b/message-actions.test.ts index 51279f47..8f14cce9 100644 --- a/message-actions.test.ts +++ b/message-actions.test.ts @@ -1,5 +1,5 @@ import { expect, test } from "bun:test"; -import { attachmentActions, bubbleIndexByGuid, quotedDraft, quoteText, saveableMime } from "./message-actions"; +import { attachmentActions, bubbleIndexByGuid, canReply, quotedDraft, quoteText, replyTarget, saveableMime } from "./message-actions"; test("quote an older message without replacing or normalizing the draft", () => { expect(quotedDraft({ text: "An older\nmessage" }, "My reply\n in progress")) @@ -49,3 +49,35 @@ test("a right-clicked picture offers open, copy and save; a document open and sa const runtime = await import("./MessageActions.mjs"); expect(runtime.attachmentActions({ id: "7", mime: "image/png" }).copy).toBe(true); }); + +test("replies are offered only where imsg-react's sibling tool has been proven", () => { + const text = { guid: "G", text: "hello" }; + const picture = { guid: "G", text: "", attachments: [{ id: "1", mime: "image/heic" }] }; + expect(canReply(text, false)).toBe(true); + expect(canReply(picture, false)).toBe(true); + expect(canReply(text, true)).toBe(false); + expect(canReply(null, false)).toBe(false); + expect(canReply({ text: "no guid" }, false)).toBe(false); + expect(canReply({ guid: "G", text: "see https://example.com" }, false)).toBe(false); + expect(canReply({ ...text, link: { url: "https://example.com" } }, false)).toBe(false); + for (const flag of ["retracted", "audio", "pending", "failed", "scheduled"]) + expect(canReply({ ...text, [flag]: true }, false)).toBe(false); + expect(canReply({ ...picture, text: "caption" }, false)).toBe(false); + expect(canReply({ guid: "G", attachments: [{ mime: "image/png" }, { mime: "image/png" }] }, false)).toBe(false); + expect(canReply({ guid: "G", attachments: [{ mime: "video/mp4" }] }, false)).toBe(false); + expect(canReply({ guid: "G", attachments: [{ mime: "image/png", sticker: {} }] }, false)).toBe(false); +}); + +test("a reply target carries what the banner and the pending bubble show", () => { + expect(replyTarget({ guid: "G", text: "hello there", from_me: true, name: "" })) + .toEqual({ guid: "G", text: "hello there", mine: true, name: "", attachment: null }); + const file = { id: "7", mime: "image/png" }; + expect(replyTarget({ guid: "G", text: "", name: "Ann", attachments: [file] })) + .toEqual({ guid: "G", text: "Photo", mine: false, name: "Ann", attachment: file }); +}); + +test("the QML runtime's reply rules are the same build", async () => { + const runtime = await import("./MessageActions.mjs"); + expect(runtime.canReply({ guid: "G", text: "hello" }, false)).toBe(true); + expect(runtime.replyTarget({ guid: "G", text: "x" }).guid).toBe("G"); +}); diff --git a/message-actions.ts b/message-actions.ts index 9a30659a..820fc23d 100644 --- a/message-actions.ts +++ b/message-actions.ts @@ -21,6 +21,56 @@ export function quotedDraft(message: QuotableMessage, draft: string): string { return "> " + excerpt + "\n\n" + draft; } +export interface ReplyAttachment { + id?: string | number; + name?: string; + mime?: string | null; + sticker?: unknown; +} +export interface ReplyableMessage extends QuotableMessage { + guid?: string; + from_me?: boolean; + name?: string; + attachments?: ReplyAttachment[] | null; + audio?: boolean; + pending?: boolean; + failed?: boolean; + scheduled?: boolean; +} + +/** True when the Mac's imsg-reply would act on the bubble: plain text, or exactly + * one picture with no caption, in a 1:1. What is refused has not been proven; + * docs/replies.md says what would have to be measured first. */ +export function canReply(message: ReplyableMessage | null | undefined, group: boolean): boolean { + if (!message || group || !String(message.guid || "")) return false; + if (message.retracted || message.audio || message.pending || message.failed || message.scheduled || message.link) return false; + const text = String(message.text || "").trim(); + const files = message.attachments ?? []; + if (files.length === 0) return text !== "" && !/:\/\/|\bwww\./i.test(text); + const only = files[0]!; + return files.length === 1 && text === "" && !only.sticker && String(only.mime || "").toLowerCase().startsWith("image/"); +} + +export interface ReplyTarget { + guid: string; + text: string; + mine: boolean; + name: string; + attachment: ReplyAttachment | null; +} + +/** What the composer's banner and the pending bubble need to know. */ +export function replyTarget(message: ReplyableMessage): ReplyTarget { + const attachment = (message.attachments ?? [])[0] ?? null; + return { + guid: String(message.guid || ""), + text: quoteText(message) || (attachment ? "Photo" : ""), + mine: message.from_me === true, + name: String(message.name || ""), + attachment, + }; +} + /** Where the selected bubble is after a reload: the row with the same guid, * or -1 when it is gone or has none. A reload renumbers the rows, and a * tapback landing on the selected bubble is itself a reload. */ diff --git a/notices.test.ts b/notices.test.ts new file mode 100644 index 00000000..ed1a4293 --- /dev/null +++ b/notices.test.ts @@ -0,0 +1,43 @@ +import { expect, test } from "bun:test"; +import { readFileSync } from "node:fs"; +import { activeNotices, CALM_MS, ERROR_MS, isCalm, noticeText } from "./notices"; +import * as runtime from "./Notices.mjs"; + +test("tool output becomes one plain sentence", () => { + expect(noticeText("tapback: Mac unreachable")).toBe("Couldn't reach your Mac."); + expect(noticeText("tapback: Messages did not open its tapback picker; nothing was done")) + .toBe("Messages didn't open the reaction picker. Try again."); + expect(noticeText("tapback: 'Heart' was performed but no tapback row reached chat.db")) + .toBe("Your Mac didn't confirm the reaction. Check it in Messages."); + expect(noticeText("tapback: some new internal code 17")).toBe("Couldn't send that reaction."); +}); + +test("other notes pass through, bounded to one line", () => { + expect(noticeText("not sent — Mac unreachable")).toBe("not sent — Mac unreachable"); + const long = noticeText("x".repeat(500)); + expect(long.length).toBe(120); + expect(long.endsWith("…")).toBe(true); +}); + +test("failures linger, confirmations are brief, progress waits for its sender", () => { + expect(activeNotices("send failed", [], {})[0]).toEqual({ kind: "note", text: "send failed", error: true, timeoutMs: ERROR_MS }); + expect(activeNotices("copied", [], {})[0]).toEqual({ kind: "note", text: "copied", error: false, timeoutMs: CALM_MS }); + expect(activeNotices("sending… (2 left)", [], {})[0]!.timeoutMs).toBe(0); + expect(isCalm("save failed")).toBe(false); +}); + +test("a dismissed standing error stays away until its text changes", () => { + const standing = [{ kind: "bridge", text: "Grant Full Disk Access" }]; + expect(activeNotices("", standing, {}).map((n) => n.kind)).toEqual(["bridge"]); + expect(activeNotices("", standing, { bridge: "Grant Full Disk Access" })).toEqual([]); + expect(activeNotices("", [{ kind: "bridge", text: "Other" }], { bridge: "Grant Full Disk Access" })).toHaveLength(1); + expect(activeNotices("", [{ kind: "bridge", text: "" }], {})).toEqual([]); +}); + +test("the QML module matches its source and the view has no inline error rows", () => { + expect(runtime.noticeText("tapback: Mac unreachable")).toBe(noticeText("tapback: Mac unreachable")); + const view = readFileSync(new URL("./BlipView.qml", import.meta.url), "utf8"); + expect(view).toContain("Notices.activeNotices("); + expect(view).not.toContain('"blipToastErrorThread"'); + expect(view).not.toContain('text: root.note\n'); +}); diff --git a/notices.ts b/notices.ts new file mode 100644 index 00000000..6d5ce49c --- /dev/null +++ b/notices.ts @@ -0,0 +1,60 @@ +// What the floating notices say. Failures reach here as tool output, so this is +// where they become one short sentence a person can act on. +// +// Pure, shared with the QML renderer. Rebuild the QML module: +// bun build notices.ts --target browser --format esm --outfile Notices.mjs + +export interface Notice { kind: string; text: string; error: boolean; timeoutMs: number } + +const MAX_LENGTH = 120; +export const ERROR_MS = 6000; +export const CALM_MS = 2500; + +const REACTION_REASONS: [RegExp, string][] = [ + [/unreachable/i, "Couldn't reach your Mac."], + [/did not expose that exact emoji/i, "That emoji isn't available as a reaction on your Mac."], + [/did not open its tapback picker|picker opened on another message/i, "Messages didn't open the reaction picker. Try again."], + [/does not offer|not-rendered|not-offered|ambiguous|unsettled|moved/i, "Couldn't find that message in Messages. Try again."], + [/groups are not supported/i, "Reactions aren't available in group chats yet."], + [/attachments and link|has a link|with a link/i, "Reactions aren't available on attachments or links yet."], + [/no tapback row|did not confirm|shows tapback type|stray/i, "Your Mac didn't confirm the reaction. Check it in Messages."], + [/did not start|re-run blip-setup/i, "Reactions aren't set up. Run blip-setup."], + [/timed? ?out|deadline/i, "Reaction timed out. Try again."], +]; + +function bounded(text: string): string { + const clean = String(text || "").replace(/\s+/g, " ").trim(); + return clean.length <= MAX_LENGTH ? clean : clean.slice(0, MAX_LENGTH - 1).trimEnd() + "…"; +} + +/** A tapback failure line becomes its plain reason; other notes pass through. */ +export function noticeText(note: string): string { + const text = String(note || ""); + if (!text.startsWith("tapback: ")) return bounded(text); + const why = text.slice(9); + const known = REACTION_REASONS.find(([pattern]) => pattern.test(why)); + return known ? known[1] : "Couldn't send that reaction."; +} + +/** Progress and confirmations rather than failures. */ +export function isCalm(note: string): boolean { + const text = String(note || ""); + return text === "copied" || text === "sent to LocalSend" || text.startsWith("sending…") + || text.startsWith("attached") || text.startsWith("saved"); +} + +/** Everything to show now, newest concern first. A dismissed standing error + * stays away until its text changes. Progress has no timeout: its sender clears it. */ +export function activeNotices(note: string, standing: { kind: string; text: string }[], dismissed: Record): Notice[] { + const out: Notice[] = []; + if (String(note || "") !== "") { + const calm = isCalm(note); + out.push({ kind: "note", text: noticeText(note), error: !calm, + timeoutMs: String(note).startsWith("sending…") ? 0 : calm ? CALM_MS : ERROR_MS }); + } + for (const item of standing) { + const text = bounded(item.text); + if (text !== "" && (dismissed || {})[item.kind] !== text) out.push({ kind: item.kind, text, error: true, timeoutMs: 0 }); + } + return out; +} diff --git a/reaction-badges.test.ts b/reaction-badges.test.ts new file mode 100644 index 00000000..baecb489 --- /dev/null +++ b/reaction-badges.test.ts @@ -0,0 +1,22 @@ +import { expect, test } from "bun:test"; +import { badgeEntries } from "./reaction-badges"; +const sticker = { reaction: true, attachment: { id: "synthetic-sticker" } }; +test("emoji and native sticker reactions share a badge without wrapping placed stickers", () => { + expect(badgeEntries([{emoji:"❤️"}], [sticker, {attachment:{id:"decoration"}}], 5)) + .toEqual([{emoji:"❤️"}, {sticker}]); + expect(badgeEntries([], [{reaction:false, attachment:{id:"decoration"}}], 5)).toEqual([]); +}); +test("narrow bubbles show a bounded count instead of overflowing their message", () => { + expect(badgeEntries([{emoji:"❤️"},{emoji:"👍"},{emoji:"🎉"}], [sticker], 2)).toEqual([{emoji:"❤️"},{count:3}]); + expect(badgeEntries([{emoji:"❤️"},{emoji:"👍"}], [], 1)).toEqual([{count:2}]); + expect(badgeEntries([{emoji:"🌄"}], [], 1)).toEqual([{emoji:"🌄"}]); +}); +test("empty and invalid capacity inputs remain bounded", () => { + expect(badgeEntries(undefined, undefined, NaN)).toEqual([]); + expect(badgeEntries(Array.from({length:20},()=>({emoji:"👍"})), [], 100).length).toBe(5); + expect(badgeEntries([{emoji:"👍"},{emoji:"🎉"}], [], -10)).toEqual([{count:2}]); +}); + +test("QML model-role array-like sequences retain emoji reactions", () => { + expect(badgeEntries({0:{emoji:"🌄"},length:1} as any, [], 5)).toEqual([{emoji:"🌄"}]); +}); diff --git a/reaction-badges.ts b/reaction-badges.ts new file mode 100644 index 00000000..e5548979 --- /dev/null +++ b/reaction-badges.ts @@ -0,0 +1,17 @@ +/** Bounded contents for the reaction balloon; placed decorations stay separate. */ +export interface BadgeEntry { emoji?: string; sticker?: any; count?: number } +export function badgeEntries(tapbacks: any[] | undefined, stickers: any[] | undefined, capacity: number): BadgeEntry[] { + // QML model roles may expose QVariantList as an array-like sequence, for + // which Array.isArray is false even though indexing and length work. + const sequence = (value: any) => value && typeof value.length === "number" + ? Array.prototype.slice.call(value, 0, 256) : []; + const entries: BadgeEntry[] = sequence(tapbacks) + .filter(t => t && typeof t.emoji === "string" && t.emoji !== "") + .map(t => ({ emoji: t.emoji })); + for (const sticker of sequence(stickers)) + if (sticker && sticker.reaction === true && sticker.attachment) entries.push({ sticker }); + const limit = Math.max(1, Math.min(5, Number.isFinite(capacity) ? Math.floor(capacity) : 1)); + if (entries.length <= limit) return entries; + if (limit === 1) return [{ count: entries.length }]; + return entries.slice(0, limit - 1).concat([{ count: entries.length - limit + 1 }]); +} diff --git a/save-attachment.ts b/save-attachment.ts index d0356625..698e5aaf 100644 --- a/save-attachment.ts +++ b/save-attachment.ts @@ -26,13 +26,13 @@ import { CACHE_DIR, FETCH_MAX_BYTES } from "./fetch"; const CONTROL = /[\x00-\x1f\x7f-\x9f\u202a-\u202e\u2066-\u2069]/; -/** Only an original (`-orig-…`) or the full-size HEIC→JPEG (`-jpg-…`) +/** Only an original (`-orig-…`) or full-size HEIC→JPEG/PNG (`-jpg-`/`-png-`) * inside the media cache is a valid source: never a preview, never a path a * caller made up. Returns the resolved path. */ export function cachedOriginal(path: string, cacheDir = CACHE_DIR): string { if (typeof path !== "string" || !isAbsolute(path) || CONTROL.test(path)) throw new Error("Invalid attachment path"); const resolved = realpathSync(path); - if (dirname(resolved) !== realpathSync(cacheDir) || !/^[^/]+-(orig|jpg)-[^/]+$/.test(basename(resolved))) + if (dirname(resolved) !== realpathSync(cacheDir) || !/^[^/]+-(orig|jpg|png)-[^/]+$/.test(basename(resolved))) throw new Error("Not a fetched original"); const st = lstatSync(resolved); if (!st.isFile()) throw new Error("Not a fetched original"); diff --git a/scripts/blip-setup b/scripts/blip-setup index d5a02a45..dc03d699 100755 --- a/scripts/blip-setup +++ b/scripts/blip-setup @@ -7,7 +7,7 @@ # 1. ~/.config/blip/bridge.conf host= (and remote_bin=, python=) # 2. ~/.ssh/config ControlMaster block for the host (47 ms warm # round trips — Blip polls; this is required) -# 3. ~/bin/{imsg,imsg-send,imsg-read,imsg-react,contacts,contact-save} the bridge shim (existing +# 3. ~/bin/{imsg,imsg-send,imsg-read,imsg-react,imsg-reply,contacts,contact-save} the bridge shim (existing # files backed up; claude-on-mac remote shims are left # alone), plus ~/bin/blip-bridged, the persistent-channel # daemon the bar widget runs. bin_dir= in bridge.conf, or @@ -30,19 +30,39 @@ for dep in ssh scp bun jq notify-send wl-copy xdg-open; do [[ " ${pkgs[*]} " == *" ${pkg_for[$dep]} "* ]] || pkgs+=("${pkg_for[$dep]}") fi done +# QML imports are runtime dependencies even before a voice message is played. +# These are the standard Qt 6 locations on Arch and Debian/Ubuntu; no package +# is installed by setup. WebP support is needed for animated sticker previews. +qt6_has() { + local qt_root + for qt_root in /usr/lib/qt6 /usr/lib64/qt6 /usr/lib/x86_64-linux-gnu/qt6 /usr/lib/aarch64-linux-gnu/qt6; do + compgen -G "$qt_root/$1" >/dev/null && return 0 + done + return 1 +} +if ! qt6_has qml/QtMultimedia/qmldir; then + missing+=("QtMultimedia QML module"); pkgs+=(qt6-multimedia) +fi +if ! qt6_has 'plugins/multimedia/*mediaplugin.so'; then + missing+=("QtMultimedia playback backend"); pkgs+=(qt6-multimedia-ffmpeg) +fi +if ! qt6_has plugins/imageformats/libqwebp.so; then + missing+=("Qt WebP image plugin"); pkgs+=(qt6-imageformats) +fi if (( ${#missing[@]} )); then echo "✗ missing on this machine: ${missing[*]}" >&2 echo " sudo pacman -S --needed ${pkgs[*]} (Omarchy/Arch names), then re-run blip-setup" >&2 exit 69 fi -echo "✓ Linux prerequisites present (ssh scp bun jq notify-send wl-copy xdg-open)" -# Optional: voice messages. iPhone voice notes are CAF; ffmpeg turns them into -# Ogg and mpv plays them without a window. Blip works without either, a voice -# message just will not play. +echo "✓ Linux prerequisites present (bridge commands, Qt Multimedia, WebP)" +# Optional media analysis: ffmpeg converts iPhone CAF voice notes to Ogg and +# generates real waveforms/animated sticker previews; ffprobe validates audio. +# Qt Multimedia plays inline. Missing codecs leave an unavailable preview +# with Save still available; mpv is only an optional external file association. optional=() -for dep in ffmpeg mpv; do command -v "$dep" >/dev/null 2>&1 || optional+=("$dep"); done +for dep in ffmpeg ffprobe; do command -v "$dep" >/dev/null 2>&1 || optional+=("$dep"); done if (( ${#optional[@]} )); then - echo "• optional, for voice messages: sudo pacman -S --needed ${optional[*]}" + echo "• missing media helpers (${optional[*]}): sudo pacman -S --needed ffmpeg" fi # 0b. bun must be resolvable by the BAR, not just by this shell. Quickshell @@ -123,7 +143,7 @@ kept="" [[ -r "$conf" ]] && kept="$(grep -vE '^[[:space:]]*(#|$|host=|remote_bin=|python=|key=|automation=|country_code=|bin_dir[[:space:]]*=)' "$conf" || true)" mkdir -p "$conf_dir" { - echo "# Blip bridge — read (never sourced) by the imsg, imsg-send, imsg-read, imsg-react, contacts, contact-save shims" + echo "# Blip bridge — read (never sourced) by the imsg, imsg-send, imsg-read, imsg-react, imsg-reply, contacts, contact-save shims" echo "host=$host" echo "# single-quoted on purpose: expanded on the MAC, not here" echo "remote_bin='\$HOME/.blip/bin'" @@ -164,7 +184,7 @@ fi # 3. shims mkdir -p "$bin_dir" -for t in imsg imsg-send imsg-read imsg-react contacts contact-save; do +for t in imsg imsg-send imsg-read imsg-react imsg-reply contacts contact-save; do target="$bin_dir/$t" if [[ -e "$target" && ! -L "$target" ]] && ! grep -q "blip-shim" "$target" 2>/dev/null; then cp -p "$target" "$target.pre-blip.$(date +%s)" @@ -173,7 +193,7 @@ for t in imsg imsg-send imsg-read imsg-react contacts contact-save; do install -m 0755 "$here/bridge/linux/blip-shim" "$target" done install -m 0755 "$here/bridge/linux/blip-bridged" "$bin_dir/blip-bridged" -echo "✓ shims installed in $bin_dir: imsg imsg-send imsg-read imsg-react contacts contact-save blip-bridged" +echo "✓ shims installed in $bin_dir: imsg imsg-send imsg-read imsg-react imsg-reply contacts contact-save blip-bridged" echo "• Save contact helpers are included. Mac permission guide: $here/docs/SAVE-CONTACT.md" # blip-bridged holds `imsg serve` channels open so a query costs the query # instead of ~90 ms of ssh + two Python starts + opening a 218 MB chat.db. diff --git a/scripts/demo/DemoShell.qml b/scripts/demo/DemoShell.qml index 1f0ae569..17a5703a 100644 --- a/scripts/demo/DemoShell.qml +++ b/scripts/demo/DemoShell.qml @@ -28,7 +28,17 @@ ShellRoot { property string lastError: "" property var draftCache: ({}) property var avatarCache: ({}) + property string binDir: Quickshell.env("HOME") + "/bin" + property var pendingSends: [] + property int sendEpoch: 0 + property bool tapbacks: true signal tapbackExited(string chat, bool ok) + property bool tapbackRunning: false + property var toastAllowlist: [] + property bool toastAllowlistLoaded: true + property bool toastAllowlistReady: true + function reloadToastAllowlist() { } + function runTapback(chat, argv, body) { return false } // The version, from the same manifest.json the shipped widget reads. property string version: "" // Clock and date patterns, as BarWidget would supply them (README defaults); @@ -90,8 +100,10 @@ ShellRoot { readonly property int originY: 140 /** narrow = the bar popout (one column); wide = the app window (two). */ property bool narrow: false - implicitWidth: narrow ? 560 : 1120 - implicitHeight: 760 + property int demoWidth: 1040 + property int demoHeight: 720 + implicitWidth: narrow ? 560 : demoWidth + implicitHeight: demoHeight visible: true Rectangle { @@ -102,9 +114,10 @@ ShellRoot { BlipView { id: view anchors.fill: parent - anchors.margins: Style.space(14) + anchors.margins: win.narrow ? Style.space(12) : 0 hostWidget: host surfaceOpen: true + audioMuted: true // never make QA playback audible readActive: false // a screenshot must never move a read mark splitView: !win.narrow foreground: Commons.Color.foreground @@ -124,8 +137,41 @@ ShellRoot { return "unknown chat" } function list(): string { view.resetToList(); return "list" } + function size(w: int, h: int): string { win.demoWidth = Math.max(720, w); win.demoHeight = Math.max(480, h); return "resized" } + function dismiss(): string { view.catchEscape(); return "closed" } + function menu(): string { + function find(item) { + if (item.objectName === "blipConversationActions") return item + var children = item.children || [] + for (var i = 0; i < children.length; i++) { var found = find(children[i]); if (found) return found } + return null + } + view.openContactMenu(view.active, find(view)); return "opened" + } + function emoji(): string { view.openEmojiPicker(); return "opened" } function mode(m: string): string { win.narrow = (m === "narrow"); return m } function share(url: string): string { return view.shareLink(url) } + function snapshot(): string { return JSON.stringify({background:view.backgroundUrl,chat:view.backgroundChat,note:view.note,bubbles:view.bubbles.length,busy:view.backgroundBusy,pending:view.backgroundReloadPending}) } + function audio(id: string): string { + for (var i = 0; i < view.bubbles.length; i++) { + var atts = view.bubbles[i].attachments || [] + for (var j = 0; j < atts.length; j++) if (String(atts[j].id) === id) { + view.toggleAudio(atts[j]); return "toggled" + } + } + return "unknown attachment" + } + function audioState(): string { + var states = [] + function visit(item) { + if (String(item.objectName || "").indexOf("blipAudio:") === 0) + states.push({id:item.objectName,position:item.positionMs,duration:item.totalDurationMs,playing:item.actuallyPlaying,ready:item.ready,seekable:item.seekable,failed:item.decodeFailed}) + var children = item.children || [] + for (var i = 0; i < children.length; i++) visit(children[i]) + } + visit(view) + return JSON.stringify({intent:view.playingAudio,playing:view.audioPlaying,pending:view.pendingAudioId,states:states}) + } function threads(): string { return String(host.threads.length) } } } diff --git a/scripts/demo/blip-shots b/scripts/demo/blip-shots index 39dee9cb..70108021 100755 --- a/scripts/demo/blip-shots +++ b/scripts/demo/blip-shots @@ -101,8 +101,8 @@ echo "· $ready conversations loaded" # The demo surface is a layer-shell panel at a fixed origin and size (see # DemoShell.qml), so the crop is known without asking the compositor anything. -WIDE="220,140 1120x760" -NARROW="220,140 560x760" +WIDE="220,140 1040x720" +NARROW="220,140 560x720" GEOM="$WIDE" # Park the pointer off the crop: Hyprland composites a software cursor into # the screencopy frame, so grim captures it even without -c. diff --git a/scripts/demo/fake-imsg b/scripts/demo/fake-imsg index 93148815..cd80c931 100755 --- a/scripts/demo/fake-imsg +++ b/scripts/demo/fake-imsg @@ -104,15 +104,17 @@ function conversation(): Row[] { read: true, tapback: m.tapback === true, error: 0, + delivered: m.from_me === true || null, read_at: m.read_at ? stamp(Number(m.min) + 2) : null, - tapbacks: null, + tapbacks: m.tapbacks || null, + stickers: Array.isArray(m.stickers) ? (m.stickers as any[]).map(sticker => ({...sticker, ts: stamp(Number(m.min) + 1)})) : [], attachments: Array.isArray(m.attachments) - ? (m.attachments as unknown as Array<{ name: string; mime: string }>).map((a, k) => ({ - id: String(700000 + i * 10 + k), name: a.name, mime: a.mime, bytes: 1843200, + ? (m.attachments as unknown as Array<{ name: string; mime: string; sticker?: unknown }>).map((a, k) => ({ + id: String(700000 + i * 10 + k), name: a.name, mime: a.mime, bytes: a.mime.startsWith("audio/") ? 1152044 : a.sticker ? 12000 : 1843200, ...(a.sticker ? {sticker:a.sticker} : {}), })) : null, reply_to: m.reply_to ? { text: String(m.reply_to), from_me: false } : null, - edited: m.edited === true, retracted: m.retracted === true, effect: null, audio: false, link: null, + edited: m.edited === true, retracted: m.retracted === true, effect: null, audio: m.audio === true, link: null, }; return row; }); @@ -205,12 +207,33 @@ function main(): void { if (sub === "attachment") { const dim = val("--max-dim") || "1600"; const id = argv.find((a) => /^[0-9]+$/.test(a)) ?? "0"; + const isAudio = conversation().some(row => (row.attachments as any[] || []).some(a => a.id === id && a.mime.startsWith("audio/"))); + if (isAudio) { + // Synthetic tone envelope, never a recording of a real voice. + const frames = 48000 * 12, data = Buffer.alloc(44 + frames * 2); + data.write("RIFF"); data.writeUInt32LE(data.length - 8, 4); data.write("WAVEfmt ", 8); + data.writeUInt32LE(16, 16); data.writeUInt16LE(1, 20); data.writeUInt16LE(1, 22); + data.writeUInt32LE(48000, 24); data.writeUInt32LE(96000, 28); data.writeUInt16LE(2, 32); data.writeUInt16LE(16, 34); + data.write("data", 36); data.writeUInt32LE(frames * 2, 40); + for (let i = 0; i < frames; i++) { + const envelope = Math.max(0, Math.sin(i / 11000) * Math.sin(i / 37000)); + data.writeInt16LE(Math.round(18000 * envelope * Math.sin(2 * Math.PI * 220 * i / 48000)), 44 + i * 2); + } + process.stdout.write(data); return; + } + const isSticker = id === "990001" || id === "990002" || conversation().some(row => (row.attachments as any[] || []).some(a => a.id === id && a.sticker)); + if (isSticker) { + // Procedural transparent art: no real person's image or downloaded media. + const r = spawnSync("magick", ["-size", "192x192", "xc:none", "-fill", "#ffd45c", "-stroke", "#edb742", "-strokewidth", "3", "-draw", "polygon 96,10 118,64 176,68 132,108 146,168 96,138 46,168 60,108 16,68 74,64", "-stroke", "none", "-fill", "#513d32", "-draw", "circle 75,87 79,87 circle 117,87 121,87", "-stroke", "#513d32", "-strokewidth", "5", "-fill", "none", "-draw", "path 'M 76,110 Q 96,130 116,110'", "png:-"], { maxBuffer: 8 << 20 }); + if (r.status !== 0 || !r.stdout?.length) process.exit(1); + process.stdout.write(r.stdout as Buffer); return; + } const hue = (Number(id) % 12) * 30; const r = spawnSync("magick", [ "-size", `${dim}x${Math.round(Number(dim) * 0.75)}`, `gradient:hsl(${hue},60%,42%)-hsl(${(hue + 40) % 360},55%,22%)`, "-gravity", "center", "-font", FONT, "-pointsize", String(Math.round(Number(dim) / 12)), - "-fill", "white", "-annotate", "+0+0", "demo photo", + "-fill", "white", "-annotate", "+0+0", "LAKE TRAIL", "-quality", "80", "jpg:-", ], { maxBuffer: 32 << 20 }); if (r.status !== 0 || !r.stdout?.length) process.exit(1); diff --git a/scripts/demo/fixtures.json b/scripts/demo/fixtures.json index 1869c957..a006168a 100644 --- a/scripts/demo/fixtures.json +++ b/scripts/demo/fixtures.json @@ -94,51 +94,153 @@ "chat": "+15550100011", "messages": [ { - "min": -184, + "min": -80, "from_me": false, - "text": "trailhead at 7? forecast says clear" + "text": "Morning! Lake trail at ten?" }, { - "min": -182, + "min": -78, "from_me": true, - "text": "7 works. bringing the good thermos" + "text": "Absolutely. Coffee is already packed \u2615", + "tapbacks": [ + { + "emoji": "\u2764\ufe0f", + "from_me": false, + "by": "Jamie Rivera", + "kind": "classic" + } + ] }, { - "min": -181, + "min": -65, "from_me": false, - "text": "Loved “7 works. bringing the good thermos”", - "tapback": true + "text": "A little preview from yesterday.", + "attachments": [ + { + "name": "ridge.heic", + "mime": "image/heic" + } + ] + }, + { + "min": -14, + "from_me": true, + "text": "That light! Let\u2019s take the long way back.", + "tapbacks": [ + { + "emoji": "\ud83c\udf04", + "from_me": false, + "by": "Jamie Rivera", + "kind": "emoji" + } + ] + }, + { + "min": -12, + "from_me": false, + "text": "Perfect. I found a new overlook for our coffee stop.", + "stickers": [ + { + "attachment": { + "id": "990001", + "name": "sunshine.png", + "mime": "image/png", + "bytes": 12000, + "sticker": { + "source": "user", + "label": "Sunshine sticker", + "animated": false + } + }, + "guid": "DEMO-STICKER-1", + "part": 0, + "from_me": true, + "by": "You", + "placement": { + "x": 1.0, + "y": 0.0, + "scale": 1.0, + "rotation": -0.12, + "parentWidth": 300 + } + } + ] }, { - "min": -96, + "min": -10, + "from_me": true, + "text": "", + "attachments": [ + { + "name": "happy-star.png", + "mime": "image/png", + "sticker": { + "source": "user", + "label": "Happy star sticker", + "animated": false + } + } + ] + }, + { + "min": -8, "from_me": false, - "text": "found the meetup page, it's a real thing now https://oatlug.org" + "text": "See you there!", + "stickers": [ + { + "reaction": true, + "attachment": { + "id": "990002", + "name": "reaction-star.png", + "mime": "image/png", + "bytes": 12000, + "sticker": { + "source": "user", + "label": "Star reaction", + "animated": false + } + }, + "guid": "DEMO-REACTION-STICKER", + "part": 0, + "from_me": true, + "by": "You" + } + ] }, { - "min": -95, + "min": -7, "from_me": true, - "text": "that logo goes hard", - "reply_to": "found the meetup page, it's a real thing now" + "text": "On my way \u2728", + "read_at": true }, { - "min": -44, + "min": -6, "from_me": false, - "text": "two from the ridge", + "text": "Here is the voice note." + }, + { + "min": -5, + "from_me": false, + "text": "", + "audio": true, "attachments": [ { - "name": "ridge-1.heic", - "mime": "image/heic" - }, - { - "name": "ridge-2.heic", - "mime": "image/heic" + "name": "Voice note.wav", + "mime": "audio/wav" } ] }, { - "min": -12, + "min": -4, "from_me": true, - "text": "on my way, ten minutes out", + "text": "", + "audio": true, + "attachments": [ + { + "name": "Reply.wav", + "mime": "audio/wav" + } + ], "read_at": true } ] diff --git a/scripts/deploy-local b/scripts/deploy-local new file mode 100755 index 00000000..ceaa2713 --- /dev/null +++ b/scripts/deploy-local @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# Install this checkout's HEAD into the live plugin, then restart and verify. +# +# The installed plugin is a git checkout, so it fast-forwards to HEAD instead of +# being copied over, and nothing is pushed. Restarting the shell discards unsent +# Blip drafts and queued attachments: they are memory-only. +set -euo pipefail + +REPO=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd) +LIVE=${BLIP_PLUGIN_DIR:-"$HOME/.config/omarchy/plugins/nixfred.blip"} + +[[ -z $(git -C "$REPO" status --porcelain) ]] || { echo "commit your changes first: this deploys HEAD" >&2; exit 1; } +[[ -z $(git -C "$LIVE" status --porcelain) ]] || { echo "installed plugin has local changes: $LIVE" >&2; exit 1; } + +(cd "$REPO" && bun test --silent) + +# Outside plugins/ on purpose: a copy in there carries the same manifest id and +# silently replaces the live plugin (CLAUDE.md). +backup="$HOME/.local/state/omarchy/plugin-backups/blip-$(date -u +%Y%m%dT%H%M%SZ)" +mkdir -p -m 700 "$backup" +cp -a "$LIVE" "$backup/source" +[[ ! -f $HOME/.config/blip/bridge.conf ]] || cp -p "$HOME/.config/blip/bridge.conf" "$backup/" + +git -C "$LIVE" fetch -q "$REPO" HEAD +git -C "$LIVE" merge -q --ff-only FETCH_HEAD +echo "installed $(git -C "$LIVE" rev-parse --short HEAD); backup in $backup" + +omarchy-restart-shell # always restart: a hot-reload leaves IPC on the old instance +for _ in $(seq 1 30); do + status=$(qs -p /usr/share/omarchy/shell ipc call nixfred.blip status 2>/dev/null) && [[ -n $status ]] && break + sleep 1 +done +echo "${status:-no status: check the shell log for QML errors}" +[[ -n ${status:-} ]] diff --git a/scripts/test-audio-session-ui.py b/scripts/test-audio-session-ui.py new file mode 100644 index 00000000..8de7dda0 --- /dev/null +++ b/scripts/test-audio-session-ui.py @@ -0,0 +1,113 @@ +#!/usr/bin/env python3 +"""Exercise shipping audio play-intent handlers with a fake attachment fetcher.""" +from pathlib import Path +import os +import shutil +import subprocess +import tempfile + +repo = Path(__file__).resolve().parents[1] +source = (repo / 'BlipView.qml').read_text() + +def function(name): + start = source.index(' function ' + name + '(') + begin = source.index('{', start) + depth = 0 + for end in range(begin, len(source)): + if source[end] == '{': depth += 1 + elif source[end] == '}': + depth -= 1 + if depth == 0: return source[start:end + 1] + raise ValueError(name) + +qml = '''import QtQuick +import QtTest +Item { + id: root + property bool surfaceOpen: true + property bool inThread: true + property var active: ({chat:"synthetic-a"}) + property var attFiles: ({}) + property var attMetrics: ({}) + property string playingAudio: "" + property bool audioPlaying: false + property int audioResetToken: 0 + property string pendingAudioId: "" + property string pendingAudioChat: "" + property string note: "" + property string fetchingId: "" + property string fetchJobAction: "" + property var requests: [] + function enqueueFetch(att, action, auto) { if (fetchingId === att.id) return; requests = requests.concat([{id:att.id,action:action,auto:auto}]) } + @FUNCTIONS@ + TestCase { + name: "AudioSession" + function init() { + root.stopAudio(); root.requests = []; root.note = ""; root.fetchingId = ""; root.fetchJobAction = ""; root.attFiles = ({}); root.attMetrics = ({}); + root.surfaceOpen = true; root.inThread = true; root.active = ({chat:"synthetic-a"}); + } + function complete(id, ok) { + if(ok) { var files=Object.assign({},root.attFiles); files[id]="file:///synthetic/voice.ogg"; root.attFiles=files; var metrics=Object.assign({},root.attMetrics); metrics[id]=({audio:{playable:true}}); root.attMetrics=metrics } + root.settleAudioFetch(id,ok) + } + function test_fetch_then_play_and_pause_resume_without_refetch() { + root.toggleAudio({id:"a"}); compare(root.requests.length,1); compare(root.requests[0].action,"audio-play"); + verify(!root.audioPlaying); complete("a",true); verify(root.audioPlaying); compare(root.playingAudio,"a"); + root.toggleAudio({id:"a"}); verify(!root.audioPlaying); + root.toggleAudio({id:"a"}); verify(root.audioPlaying); compare(root.requests.length,1); + } + function test_switching_chat_drops_late_completion() { + root.toggleAudio({id:"a"}); root.active=({chat:"synthetic-b"}); complete("a",true); + verify(!root.audioPlaying); compare(root.playingAudio,""); compare(root.pendingAudioId,""); + } + function test_closing_during_fetch_never_plays() { + root.toggleAudio({id:"a"}); root.surfaceOpen=false; root.stopAudio(); complete("a",true); + verify(!root.audioPlaying); compare(root.pendingAudioChat,""); + } + function test_other_attachment_completion_does_not_consume_intent() { + root.toggleAudio({id:"a"}); complete("b",true); verify(!root.audioPlaying); compare(root.pendingAudioId,"a"); + complete("a",true); verify(root.audioPlaying); + } + function test_second_click_cancels_pending_play() { + root.toggleAudio({id:"a"}); root.toggleAudio({id:"a"}); complete("a",true); verify(!root.audioPlaying); + } + function test_switching_audio_stops_old_and_ignores_old_fetch() { + root.toggleAudio({id:"a"}); root.toggleAudio({id:"b"}); complete("a",true); verify(!root.audioPlaying); + complete("b",true); verify(root.audioPlaying); compare(root.playingAudio,"b"); + var token=root.audioResetToken; root.toggleAudio({id:"c"}); verify(!root.audioPlaying); verify(root.audioResetToken>token); + } + function test_failure_settles_intent_and_retry_fetches_again() { + root.toggleAudio({id:"a"}); complete("a",false); verify(!root.audioPlaying); compare(root.pendingAudioId,""); + root.toggleAudio({id:"a"}); compare(root.requests.length,2); + } + function test_play_during_auto_fetch_reports_its_failure_reason() { + root.fetchingId="a"; root.fetchJobAction=""; + root.toggleAudio({id:"a"}); compare(root.requests.length,0); compare(root.pendingAudioId,"a"); + root.settleAudioFetch("a",false,"error: attachment exceeds transfer limit"); + compare(root.note,"fetch failed — attachment exceeds transfer limit"); compare(root.pendingAudioId,""); verify(!root.audioPlaying); + // A conversation switch cancels the captured request and its error UI. + root.note=""; root.toggleAudio({id:"a"}); root.active=({chat:"synthetic-b"}); + root.settleAudioFetch("a",false,"old error"); compare(root.note,""); + } + function test_decoder_failure_clears_source_and_allows_same_url_retry() { + root.toggleAudio({id:"a"}); complete("a",true); root.failAudio("a"); + verify(!root.audioPlaying); compare(root.attFiles.a,""); + root.toggleAudio({id:"a"}); complete("a",true); verify(root.audioPlaying); + } + function test_unrecognized_audio_never_gets_play_intent() { + root.toggleAudio({id:"a"}); root.attFiles=({a:"file:///synthetic/disguised-playlist"}); + root.attMetrics=({a:{audio:{playable:false}}}); root.settleAudioFetch("a",true); + verify(!root.audioPlaying); compare(root.playingAudio,""); + } + function test_missing_id_or_closed_surface_cannot_request_play() { + root.toggleAudio({id:""}); root.surfaceOpen=false; root.toggleAudio({id:"a"}); compare(root.requests.length,0); + } + } +} +'''.replace('@FUNCTIONS@', '\n'.join(function(name) for name in ['toggleAudio','settleAudioFetch','failAudio','stopAudio'])) +runner = shutil.which('qmltestrunner') or '/usr/lib/qt6/bin/qmltestrunner' +with tempfile.TemporaryDirectory(prefix='blip-audio-session-') as tmp: + path=Path(tmp); (path/'tst_audio.qml').write_text(qml) + env={**os.environ,'QT_QPA_PLATFORM':'offscreen','QT_QUICK_BACKEND':'software','QT_QPA_PLATFORMTHEME':'generic'} + result=subprocess.run([runner,'-input',tmp],env=env) + raise SystemExit(result.returncode) diff --git a/scripts/test-audio-ui.py b/scripts/test-audio-ui.py new file mode 100644 index 00000000..a2382a17 --- /dev/null +++ b/scripts/test-audio-ui.py @@ -0,0 +1,138 @@ +#!/usr/bin/env python3 +"""Exercise shipping audio analysis/player using a muted synthetic WAV only.""" +import argparse +import json +import math +import os +from pathlib import Path +import shutil +import struct +import subprocess +import tempfile +import wave + +ROOT = Path(__file__).resolve().parents[1] + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--capture", type=Path) + args = parser.parse_args() + runner = shutil.which("qmltestrunner") or next((str(p) for p in ( + Path("/usr/lib/qt6/bin/qmltestrunner"), Path("/usr/lib/qt6/libexec/qmltestrunner")) if p.is_file()), None) + if not runner: + raise SystemExit("Qt 6 qmltestrunner required") + with tempfile.TemporaryDirectory(prefix="blip-audio-ui-") as directory: + folder = Path(directory) + samples = [] + for i in range(192000): + amplitude = 0 if i < 12000 else (0.15, 0.8, 0.4, 0.65)[(i // 12000) % 4] + samples.append(round(24000 * amplitude * math.sin(i * math.tau * 220 / 48000))) + with wave.open(str(folder / "voice.wav"), "wb") as output: + output.setnchannels(1); output.setsampwidth(2); output.setframerate(48000) + output.writeframes(struct.pack("<" + "h" * len(samples), *samples)) + prepare = folder / "prepare.ts" + prepare.write_text('import { analyzeAudio } from ' + json.dumps(str(ROOT / "audio-metadata.ts")) + ';\n' + 'console.log(JSON.stringify(analyzeAudio(process.argv[2])));\n') + result = subprocess.run(["bun", str(prepare), str(folder / "voice.wav")], capture_output=True, text=True, timeout=30) + if result.returncode: + raise SystemExit("Synthetic audio preparation failed: " + result.stderr[:4096]) + metadata = json.loads(result.stdout) + assert not metadata["unavailable"] and metadata["durationMs"] == 4000 + assert len(metadata["waveform"]) == 64 and max(metadata["waveform"]) == 1 + for file in ["AudioMessage.qml", "AudioWaveform.mjs"]: + shutil.copy(ROOT / file, folder) + capture = "" if args.capture is None else str(args.capture.resolve()) + if capture: + args.capture.resolve().parent.mkdir(parents=True, exist_ok=True) + (folder / "tst_audio.qml").write_text('''import QtQuick +import QtTest +Item { + id: root + width: 350; height: 190 + property int ended: 0 + property int failures: 0 + Rectangle { anchors.fill: parent; color: "#202127" } + AudioMessage { + id: card; x: 30; y: 28; width: 288 + source: "voice.wav"; muted: true + waveform: @WAVEFORM@; durationMs: 4000 + onToggleRequested: playing = !playing + onPlaybackEnded: { root.ended++; playing = false } + onPlaybackFailed: root.failures++ + } + AudioMessage { + x: 90; y: 112; width: 230; mine: true; muted: true + waveform: @WAVEFORM@; durationMs: 37000 + } + TestCase { + name: "AudioMessagePlayback" + when: windowShown + function initTestCase() { + tryCompare(card, "ready", true, 5000) + compare(card.totalDurationMs, 4000) + compare(root.failures, 0) + } + function test_01_play_pause_resume_and_reset() { + card.playing = true + tryVerify(function() { return card.positionMs > 100 }, 3000) + card.playing = false + wait(120) + var position = card.positionMs + wait(200) + compare(card.positionMs, position) + card.playing = true + tryVerify(function() { return card.positionMs > position + 100 }, 3000) + card.playing = false + card.resetToken++ + tryCompare(card, "positionMs", 0) + verify(!card.actuallyPlaying) + } + function test_02_seek_and_keyboard_focus() { + var slider = findChild(card, "audioTimeline") + verify(slider !== null) + tryCompare(card, "seekable", true) + mouseClick(slider, slider.width / 2, slider.height / 2) + tryVerify(function() { return card.positionMs > 1000 && card.positionMs < 3000 }) + slider.forceActiveFocus() + verify(card.controlsFocused) + keyClick(Qt.Key_Left) + tryCompare(card, "positionMs", 0) + } + function test_03_completion_and_replay() { + var slider = findChild(card, "audioTimeline") + mouseClick(slider, slider.width * 0.75, slider.height / 2) + card.playing = true + tryVerify(function() { return root.ended > 0 }, 5000) + verify(!card.playing) + card.playing = true + tryVerify(function() { return card.positionMs > 0 && card.positionMs < 2000 }, 3000) + card.playing = false + card.resetToken++ + compare(root.failures, 0) + } + function test_04_compact_layout_and_unavailable_waveform() { + card.width = 160 + verify(card.bars.length <= 20) + card.waveform = [] + compare(card.bars.length, 0) + verify(card.totalDurationMs > 0) + card.width = 288 + card.waveform = @WAVEFORM@ + } + function cleanupTestCase() { + card.playing = false + card.resetToken++ + var path = @CAPTURE@ + if (path !== "") grabImage(root).save(path) + } + } +} +'''.replace("@WAVEFORM@", json.dumps(metadata["waveform"])).replace("@CAPTURE@", json.dumps(capture))) + return subprocess.run([runner, "-input", str(folder), "-platform", "offscreen"], timeout=30, + env={**os.environ, "QT_QPA_PLATFORM":"offscreen", "QT_QPA_PLATFORMTHEME":"generic", + "QT_QUICK_BACKEND":"software", "QT_MEDIA_BACKEND":"ffmpeg"}).returncode + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/test-background-ui.py b/scripts/test-background-ui.py new file mode 100644 index 00000000..6ff282a4 --- /dev/null +++ b/scripts/test-background-ui.py @@ -0,0 +1,137 @@ +#!/usr/bin/env python3 +"""Execute the shipping background picker callbacks with synthetic QtTest state. + +No picker, bridge or real settings are opened. Covers thread switches while a +picker/decoder owns the process and config watcher events during that operation. +""" +from pathlib import Path +import os +import shutil +import subprocess +import tempfile + +source = (Path(__file__).resolve().parents[1] / 'BlipView.qml').read_text() + +def block(marker, after=0): + start = source.index(marker, after) + begin = source.index('{', start) + depth = 0 + for end in range(begin, len(source)): + if source[end] == '{': + depth += 1 + elif source[end] == '}': + depth -= 1 + if depth == 0: + return source[begin + 1:end] + raise ValueError(marker) + +process = source.index('id: backgroundProc') +qml = '''import QtQuick +import QtTest +Item { + id: root + property string backgroundChat: "A" + property string backgroundUrl: "file:///synthetic-a.png" + property string backgroundScript: "/synthetic-helper.ts" + property bool backgroundReloadPending: false + property bool backgroundReady: true + property bool backgroundBusy: false + property string note: "" + function changeBackground(action, targetChat) { @CHANGE@ } + function changedChat() { @CHANGED@ } + function receive(text) { backgroundProc.reply = text } + function finishBackground(code) { @FINISH@ } + function finished() { root.finishBackground(0) } + QtObject { + id: backgroundProc + property bool running: false + property string action: "load" + property string chat: "" + property var command: [] + property bool stdinEnabled: false + property string body: "" + property string reply: "" + property bool sawExit: false + function write(value) { body = value } + } + TestCase { + name: "ConversationBackground" + function init() { + root.backgroundChat = "A" + root.backgroundUrl = "file:///synthetic-a.png" + root.backgroundReloadPending = false + root.backgroundBusy = false + root.backgroundReady = true + root.note = "" + backgroundProc.running = false + backgroundProc.chat = "" + backgroundProc.body = "" + } + function test_initial_signals_cannot_start_an_unready_process() { + root.backgroundReady = false + root.changeBackground("load") + compare(backgroundProc.running, false) + compare(root.backgroundBusy, false) + } + function test_switch_during_picker_keeps_result_with_original_chat() { + root.changeBackground("choose") + compare(backgroundProc.chat, "A") + compare(JSON.parse(backgroundProc.body).chat, "A") + root.backgroundChat = "B" + root.changedChat() + compare(root.backgroundUrl, "") + verify(root.backgroundReloadPending) + root.receive(JSON.stringify({ok:true, url:"file:///new-a.png"})) + compare(root.backgroundUrl, "") + backgroundProc.running = false + root.finished() + tryCompare(backgroundProc, "chat", "B") + compare(backgroundProc.action, "load") + root.receive(JSON.stringify({ok:true, url:"file:///b.png"})) + root.finished() + compare(root.backgroundUrl, "file:///b.png") + } + function test_config_watch_during_load_queues_a_fresh_read() { + root.changeBackground("load") + root.changeBackground("load") + verify(root.backgroundReloadPending) + backgroundProc.running = false + root.finished() + tryCompare(backgroundProc, "running", true) + compare(backgroundProc.action, "load") + compare(root.backgroundReloadPending, false) + } + function test_cancel_does_not_erase_current_background() { + root.changeBackground("choose") + root.receive(JSON.stringify({ok:true, cancelled:true})) + root.finished() + compare(root.backgroundUrl, "file:///synthetic-a.png") + compare(root.note, "") + } + function test_default_change_reloads_current_override() { + root.changeBackground("choose", "") + compare(backgroundProc.chat, "") + root.receive(JSON.stringify({ok:true, url:"file:///default.png"})) + root.finished() + compare(root.backgroundUrl, "file:///synthetic-a.png") + backgroundProc.running = false + tryCompare(backgroundProc, "chat", "A") + } + function test_failed_choose_retains_current_image_and_explains() { + root.changeBackground("choose") + root.receive(JSON.stringify({ok:false, error:"Choose a PNG or JPEG image"})) + root.finished() + compare(root.backgroundUrl, "file:///synthetic-a.png") + compare(root.note, "Choose a PNG or JPEG image") + } + } +} +''' +qml = qml.replace('@CHANGE@', block('function changeBackground(')) +qml = qml.replace('@CHANGED@', block('onBackgroundChatChanged:')) +qml = qml.replace('@FINISH@', block('function finishBackground(')) +runner = shutil.which('qmltestrunner') or '/usr/lib/qt6/bin/qmltestrunner' +with tempfile.TemporaryDirectory(prefix='blip-background-ui-') as folder: + Path(folder, 'tst_background.qml').write_text(qml) + result = subprocess.run([runner, '-input', folder, '-platform', 'offscreen'], env={**os.environ, 'QT_QPA_PLATFORM':'offscreen', 'QT_QPA_PLATFORMTHEME':'generic'}) + raise SystemExit(result.returncode) diff --git a/scripts/test-composer-emoji-ui.py b/scripts/test-composer-emoji-ui.py new file mode 100644 index 00000000..28b84cb9 --- /dev/null +++ b/scripts/test-composer-emoji-ui.py @@ -0,0 +1,161 @@ +#!/usr/bin/env python3 +"""Run the actual composer and emoji-popup wiring against a fake send counter. + +Only theme tokens, the external spelling worker, and host actions are stubbed; the TextArea, shipping picker, +insert/close handlers and full composer key handler are the real source. +""" +from pathlib import Path +import os +import shutil +import subprocess +import tempfile + +repo = Path(__file__).resolve().parents[1] +source = (repo / 'BlipView.qml').read_text() + +def block(marker): + begin = source.index('{', source.index(marker)) + depth = 0 + for end in range(begin, len(source)): + if source[end] == '{': depth += 1 + elif source[end] == '}': + depth -= 1 + if depth == 0: return source[begin + 1:end] + raise ValueError(marker) + +composer = block(' ComposerInput {') +# Theme math does not change the editor's behavior; no Omarchy shell is loaded. +composer = composer.replace('Style.', 'style.').replace('Border.', 'borderStyle.') +popup = block(' Popup {\n id: emojiPopup') +popup = popup.replace('Style.', 'style.').replace('appearance.background', '"#202126"') +qml = '''import QtQuick +import QtQuick.Controls +import QtTest +import "." +Item { + id: root + width: 740; height: 540 + property color foreground: "white" + property color dim: "#aaaaaa" + property color urgent: "#ff4444" + property color mineFill: "#0a84ff" + property color accent: "#0a84ff" + property string fontFamily: "sans-serif" + property int fontBodySmall: 13 + property int fontCaption: 11 + property bool online: true + property bool inThread: true + property bool splitView: true + property var active: ({chat:"synthetic"}) + property var drafts: ({}) + property int attachCount: 0 + property string shareUrl: "" + property int bubbleCursor: -1 + property int sends: 0 + function send() { sends++ } + function isSendable(t) { return true } + function commitPeek() {} + function shareKey(key) { return false } + function selectedBubble() { return null } + function back() {} + function openEmojiPicker() { @OPEN@ } + function insertComposerEmoji(emoji) { @INSERT@ } + QtObject { + id: style + function space(n) { return n } + function selectionFillFor(a,b) { return b } + } + QtObject { id: borderStyle; function controlSpec(a,b,c) { return {} } } + Item { + id: composeSlot + anchors.left: parent.left; anchors.right: parent.right; anchors.bottom: parent.bottom + height: 46 + Flickable { + id: composeFlick + anchors.fill: parent + function showCaret() {} + ComposerInput { @COMPOSER@ } + } + } + Popup { @POPUP@ } + TestCase { + name: "ComposerEmoji" + when: windowShown + function init() { + emojiPopup.close() + composeField.text = "A draft stays here" + composeField.cursorPosition = composeField.length + composeField.forceActiveFocus() + root.sends = 0 + } + function chooseRocketByKeyboard() { + root.openEmojiPicker() + tryCompare(emojiPopup, "visible", true) + var search = findChild(emojiPicker, "reactionEmojiSearch") + var grid = findChild(emojiPicker, "reactionEmojiGrid") + search.text = "rocket" + tryCompare(grid, "count", 1) + search.forceActiveFocus() + keyClick(Qt.Key_Return) + tryCompare(emojiPopup, "visible", false) + } + function test_selected_text_is_replaced_and_enter_never_sends() { + composeField.select(2,7) + chooseRocketByKeyboard() + compare(composeField.text, "A 🚀 stays here") + compare(composeField.cursorPosition, 4) + compare(root.sends, 0) + verify(composeField.activeFocus) + } + function test_inserts_at_cursor_and_keeps_both_sides() { + composeField.cursorPosition = 2 + chooseRocketByKeyboard() + compare(composeField.text, "A 🚀draft stays here") + compare(root.sends, 0) + keyClick(Qt.Key_Return) + compare(root.sends, 1) + } + function test_escape_retains_draft_and_restores_editor_focus() { + root.openEmojiPicker() + tryCompare(emojiPopup, "visible", true) + var search = findChild(emojiPicker, "reactionEmojiSearch") + search.forceActiveFocus() + keyClick(Qt.Key_Escape) + tryCompare(emojiPopup, "visible", false) + compare(composeField.text, "A draft stays here") + verify(composeField.activeFocus) + compare(root.sends, 0) + } + function test_button_toggles_closed_without_losing_focus() { + root.openEmojiPicker() + tryCompare(emojiPopup, "visible", true) + root.openEmojiPicker() + tryCompare(emojiPopup, "visible", false) + verify(composeField.activeFocus) + compare(composeField.text, "A draft stays here") + compare(root.sends, 0) + } + } +} +''' +qml = qml.replace('@OPEN@', block('function openEmojiPicker(')).replace('@INSERT@', block('function insertComposerEmoji(')) +qml = qml.replace('@COMPOSER@', composer).replace('@POPUP@', popup) +runner = os.environ.get('QMLTESTRUNNER') or shutil.which('qmltestrunner') or '/usr/lib/qt6/bin/qmltestrunner' +with tempfile.TemporaryDirectory(prefix='blip-composer-emoji-') as folder: + for name in ['ComposerInput.qml', 'ReactionPicker.qml', 'TapbackActions.mjs']: + shutil.copy2(repo / name, Path(folder) / name) + editor = (repo / 'ComposerInput.qml').read_text().replace('import Quickshell.Io\n', '') + start = editor.index(' Process {') + end = editor.index(' Canvas {', start) + editor = editor[:start] + """ QtObject { + id: checker + property bool running: false + property var command: [] + property bool stdinEnabled: false + function write(text) {} + } +""" + editor[end:] + Path(folder, 'ComposerInput.qml').write_text(editor) + Path(folder, 'tst_composer.qml').write_text(qml) + result = subprocess.run([runner, '-input', folder, '-platform', 'offscreen'], env={**os.environ, 'QT_QPA_PLATFORM':'offscreen', 'QT_QPA_PLATFORMTHEME':'generic'}) + raise SystemExit(result.returncode) diff --git a/scripts/test-conversation-menu-ui.py b/scripts/test-conversation-menu-ui.py new file mode 100644 index 00000000..de5fff06 --- /dev/null +++ b/scripts/test-conversation-menu-ui.py @@ -0,0 +1,84 @@ +#!/usr/bin/env python3 +"""Drive the shipping conversation menu with mouse/key events and fake actions.""" +from pathlib import Path +import os, shutil, subprocess, tempfile +repo=Path(__file__).resolve().parents[1] +source=(repo/'BlipView.qml').read_text() +def chunk(marker): + start=source.index(marker); begin=source.index('{',start); depth=0 + for end in range(begin,len(source)): + if source[end]=='{': depth+=1 + elif source[end]=='}': + depth-=1 + if depth==0:return source[start:end+1] + raise ValueError(marker) +menu=chunk(' Menu {\n id: contactMenu') +parts=[chunk(' component ConversationMenuItem:'),chunk(' component ConversationMenuSeparator:'),menu,chunk(' function openContactMenu(')] +parts='\n'.join(parts).replace('Style.','style.').replace('Commons.Color.background','"#202126"') +qml='''import QtQuick +import QtQuick.Controls +import QtTest +Item { + width:720; height:480; visible:true + Item { + id:root + anchors.fill:parent + property string fontFamily:"sans-serif" + property int fontBodySmall:13 + property color foreground:"white" + property color accent:"#0a84ff" + property bool backgroundBusy:false + property string backgroundChat:"synthetic" + property var contactContext:null + property bool toastAllowlistReady:true + property bool toastAllowlistLoaded:true + property bool toastAllowlistBusy:false + property bool peeking:false + property int actions:0 + property int outsideClicks:0 + property var hostWidget:QtObject { + function reloadToastAllowlist() {} + function conversationAct(kind,chat) { root.actions++ } + function setToastAllowed(chat,handle,allow) { root.actions++ } + } + QtObject { id:style; function space(n) {return n} } + QtObject { id:contactReview; function review(thread) {root.actions++} } + function isDmChat(t) { return true } + function blipNotificationsAllowed(t) { return false } + function changeBackground(action,chat) { actions++ } + function markUnread(t) { actions++ } + function markRead(chat,ts,kind) { actions++ } + function menuIcon(name) { return "" } + MouseArea { anchors.fill:parent; onClicked:root.outsideClicks++ } + Button { id:anchor; x:660; y:20; width:34; height:34; text:"⋯"; onClicked:root.openContactMenu({chat:"synthetic"},anchor) } + @PARTS@ + TestCase { + name:"ConversationMenu"; when:windowShown + function init() { contactMenu.close(); root.actions=0; root.outsideClicks=0; wait(20) } + function open() { mouseClick(anchor); tryCompare(contactMenu,"opened",true); wait(20) } + function test_outside_click_closes_without_triggering_content_and_can_reopen() { + open(); mouseClick(root,10,10); tryCompare(contactMenu,"visible",false); compare(root.outsideClicks,0); + open(); verify(contactMenu.opened); mouseClick(root,10,450); tryCompare(contactMenu,"visible",false); + } + function test_action_click_runs_once_and_closes() { + open(); var item=contactMenu.itemAt(0); mouseClick(item,item.width/2,item.height/2); + compare(root.actions,1); tryCompare(contactMenu,"visible",false); + } + function test_escape_closes_and_retains_action_on_reopen() { + open(); keyClick(Qt.Key_Escape); tryCompare(contactMenu,"visible",false); + open(); var item=contactMenu.itemAt(1); mouseClick(item,item.width/2,item.height/2); + compare(root.actions,1); tryCompare(contactMenu,"visible",false); + } + function test_small_window_keeps_menu_inside_surface() { + open(); verify(contactMenu.x>=0); verify(contactMenu.y>=0); + verify(contactMenu.x+contactMenu.width<=root.width); verify(contactMenu.y+contactMenu.height<=root.height); + } + } + } +} +'''.replace('@PARTS@',parts) +runner=shutil.which('qmltestrunner') or '/usr/lib/qt6/bin/qmltestrunner' +with tempfile.TemporaryDirectory(prefix='blip-menu-test-') as temp: + p=Path(temp);(p/'tst_menu.qml').write_text(qml);shutil.copy2(repo/'GlassSurface.qml',p/'GlassSurface.qml') + env={**os.environ,'QT_QPA_PLATFORM':'offscreen','QT_QPA_PLATFORMTHEME':'generic','QT_QUICK_BACKEND':'software'} + raise SystemExit(subprocess.run([runner,'-input',temp],env=env).returncode) diff --git a/scripts/test-notice-ui.py b/scripts/test-notice-ui.py new file mode 100644 index 00000000..c0e66c04 --- /dev/null +++ b/scripts/test-notice-ui.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 +"""Drive the shipping notice with a synthetic message: size, lifetime, dismissal.""" +from pathlib import Path +import os, shutil, subprocess, tempfile +repo=Path(__file__).resolve().parents[1] +qml='''import QtQuick +import QtTest +Item { + width:500; height:200 + NoticeOverlay { id:notice; x:20; y:20; text:"Couldn't reach your Mac."; error:true; maximumWidth:260; fontPixelSize:13 } + SignalSpy { id:spy; target:notice; signalName:"dismissed" } + TestCase { + name:"Notice"; when:windowShown + function init() { spy.clear(); notice.timeoutMs=0; notice.text="Couldn't reach your Mac."; wait(20) } + function test_click_dismisses() { mouseClick(notice,10,10); compare(spy.count,1) } + function test_timeout_dismisses_and_zero_stays() { + wait(200); compare(spy.count,0); + notice.timeoutMs=120; tryCompare(spy,"count",1,1500); + } + function test_long_text_wraps_inside_maximum_width() { + notice.text="A synthetic failure long enough that it has to wrap onto a second line of the notice"; + wait(30); verify(notice.width<=260); verify(notice.height>30); + } + function test_short_text_hugs_its_content() { + notice.text="A synthetic failure long enough that it has to wrap onto a second line of the notice"; + wait(30); var wrapped=notice.height; + notice.text="ok"; wait(30); verify(notice.width<160); verify(notice.height 400) + // Popup's visual item is fitted independently of requested x/y. + var visual = menu.contentItem.mapToItem(root, 0, 0) + verify(visual.y >= 0) + verify(visual.y + menu.contentItem.height <= root.height + 1) + @SCREENSHOT@ + } + } +} +''' + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--screenshot", type=Path) + args = parser.parse_args() + repo = Path(__file__).resolve().parents[1] + runner = os.environ.get("QMLTESTRUNNER") or shutil.which("qmltestrunner") + if not runner: + runner = next((str(p) for p in (Path("/usr/lib/qt6/bin/qmltestrunner"), Path("/usr/lib/qt/bin/qmltestrunner")) if p.exists()), None) + if not runner: + parser.error("Qt 6 qmltestrunner is required") + screenshot = "" + if args.screenshot: + path = args.screenshot.resolve() + path.parent.mkdir(parents=True, exist_ok=True) + screenshot = "menu.contentItem.grabToImage(function(result) { result.saveToFile(" + json.dumps(str(path)) + ") }); wait(120)" + with tempfile.TemporaryDirectory(prefix="blip-reaction-ui-") as directory: + dest = Path(directory) + for name in ("ReactionPicker.qml", "MessageMenu.qml", "TapbackActions.mjs"): + shutil.copyfile(repo / name, dest / name) + (dest / "tst_reactions.qml").write_text(HARNESS.replace("@SCREENSHOT@", screenshot)) + env = dict(os.environ, QT_QPA_PLATFORM="offscreen", QT_QUICK_CONTROLS_STYLE="Basic", QT_QPA_PLATFORMTHEME="") + return subprocess.run([runner, "-input", directory, "-o", "-,txt"], env=env, timeout=30).returncode + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/test-sticker-ui.py b/scripts/test-sticker-ui.py new file mode 100644 index 00000000..a09a530e --- /dev/null +++ b/scripts/test-sticker-ui.py @@ -0,0 +1,163 @@ +#!/usr/bin/env python3 +"""Decode synthetic sticker media through the shipping fetcher and QML item. + +Requires Bun, ffmpeg/ffprobe, and Qt 6 QtQuick/QtTest. No Mac, network, real +Messages rows, or live app is used. --capture writes a synthetic preview. +""" +import argparse +import json +import os +from pathlib import Path +import shutil +import struct +import subprocess +import tempfile +import zlib + + +ROOT = Path(__file__).resolve().parents[1] + + +def png(width, height, raw, channels): + def chunk(kind, data): + return struct.pack(">I", len(data)) + kind + data + struct.pack(">I", zlib.crc32(kind + data)) + scan = b"".join(b"\0" + raw[y * width * channels:(y + 1) * width * channels] for y in range(height)) + return (b"\x89PNG\r\n\x1a\n" + chunk(b"IHDR", struct.pack(">IIBBBBB", width, height, 8, 6 if channels == 4 else 0, 0, 0, 0)) + + chunk(b"IDAT", zlib.compress(scan)) + chunk(b"IEND", b"")) + + +def run(command, **kwargs): + subprocess.run(command, check=True, timeout=45, **kwargs) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--capture", type=Path) + args = parser.parse_args() + runner = shutil.which("qmltestrunner") or next((str(p) for p in ( + Path("/usr/lib/qt6/bin/qmltestrunner"), Path("/usr/lib/qt6/libexec/qmltestrunner")) if p.is_file()), None) + if not runner: + raise SystemExit("Qt 6 qmltestrunner not found") + if not shutil.which("ffmpeg") or not shutil.which("ffprobe"): + raise SystemExit("ffmpeg and ffprobe are required for the synthetic codec test") + with tempfile.TemporaryDirectory(prefix="blip-sticker-ui-") as directory: + folder = Path(directory) + width = height = 64 + mask = bytes(128 if (x - 32) ** 2 + (y - 32) ** 2 < 24 ** 2 else 0 + for y in range(height) for x in range(width)) + red = b"".join(bytes((240, 80, 100, a)) for a in mask) + blue = b"".join(bytes((60, 160, 250, a)) for a in mask) + (folder / "still.png").write_bytes(png(width, height, red, 4)) + (folder / "mask.png").write_bytes(png(width, height, mask, 1)) + run(["ffmpeg", "-v", "error", "-f", "rawvideo", "-pixel_format", "rgba", "-video_size", "64x64", + "-framerate", "5", "-i", "pipe:0", "-plays", "0", "-f", "apng", str(folder / "animated.png")], input=red + blue) + # Four independently addressable tracks model HEICS's still pair + # and animated color/alpha pair, without importing someone's sticker. + run(["ffmpeg", "-v", "error", "-f", "lavfi", "-i", "testsrc=size=64x64:rate=5:duration=1", + "-loop", "1", "-framerate", "5", "-i", str(folder / "mask.png"), "-t", "1", + "-map", "0:v", "-map", "1:v", "-map", "0:v", "-map", "1:v", "-c:v", "png", + str(folder / "four-track.mov")]) + prepare = folder / "prepare.ts" + prepare.write_text('''import { readFileSync, writeFileSync } from "node:fs"; +import { spawnSync } from "node:child_process"; +import { stickerAnimationPreview, stickerSequencePreview } from @MODULE@; +const dir = process.argv[2]; +// Synthetic inputs only: expose codec diagnostics here, never in shipping +// message/media logs. CI must explain unsupported decoders rather than skip. +const diagnosticRunner = ((command, args, options) => { + const result = spawnSync(command, args, options); + if (result.status !== 0) console.error(command, "exit", result.status, + String(result.stderr || "").slice(0, 4096), result.error?.message || ""); + return result; +}) as typeof spawnSync; +const apng = stickerAnimationPreview(readFileSync(dir + "/animated.png"), diagnosticRunner, dir); +if (!apng.converted || apng.unavailable) throw Error("APNG conversion failed"); +writeFileSync(dir + "/animated.webp", apng.bytes); +const sequence = stickerSequencePreview(readFileSync(dir + "/four-track.mov"), "image/heic-sequence", diagnosticRunner, dir); +if (!sequence || sequence.unavailable || sequence.renderMime !== "image/webp") throw Error("sequence conversion failed"); +writeFileSync(dir + "/sequence.webp", sequence.bytes); +'''.replace("@MODULE@", json.dumps(str(ROOT / "fetch.ts")))) + run(["bun", str(prepare), str(folder)], env={**os.environ, "XDG_CACHE_HOME": str(folder / "cache")}) + shutil.copy(ROOT / "StickerImage.qml", folder) + shutil.copy(ROOT / "Stickers.mjs", folder) + capture = "" if args.capture is None else str(args.capture.resolve()) + if capture: + args.capture.resolve().parent.mkdir(parents=True, exist_ok=True) + (folder / "tst_sticker.qml").write_text('''import QtQuick +import QtTest +import "Stickers.mjs" as Stickers +Item { + id: root + width: 580; height: 220 + Rectangle { anchors.fill: parent; color: "#202127" } + StickerImage { + id: still; x: 20; y: 30; width: 160; height: 160 + source: "still.png" + attachment: ({sticker:{label:"Synthetic translucent circle"}}) + } + StickerImage { + id: apng; x: 210; y: 30; width: 160; height: 160 + source: "animated.webp"; animated: true + } + StickerImage { + id: sequence; x: 400; y: 30; width: 160; height: 160 + source: "sequence.webp"; animated: true + } + TestCase { + name: "StickerRendering" + when: windowShown + function initTestCase() { + tryCompare(still, "ready", true) + tryCompare(apng, "ready", true) + tryCompare(sequence, "ready", true) + } + function test_alpha_survives_static_and_animated_paths() { + for (var item of [still, apng, sequence]) { + var captured = grabImage(item) + // grabImage includes the parent's opaque background. Transparent + // corners must show that background, never black or an image matte. + compare(captured.red(1, 1), 32) + compare(captured.green(1, 1), 33) + compare(captured.blue(1, 1), 39) + } + var staticImage = grabImage(still) + // The center is 50% red over the background, not opaque source red. + verify(staticImage.red(80, 80) > 130 && staticImage.red(80, 80) < 145) + } + function test_frames_advance_for_both_animation_formats() { + compare(apng.frameCount, 2) + compare(sequence.frameCount, 5) + for (var item of [apng, sequence]) { + var first = item.currentFrame + tryVerify(function() { return item.currentFrame !== first }, 2000) + } + } + function test_pause_releases_animation_work() { + apng.playing = false + wait(250) + var first = apng.currentFrame + wait(400) + compare(apng.currentFrame, first) + apng.playing = true + } + function test_geometry_module_loads_in_qml() { + var g = Stickers.stickerGeometry({x:1,y:0,scale:1,rotation:0.5}, 180, 80, 64, 64) + verify(g.placed) + verify(g.width > 0 && isFinite(g.rotation)) + compare(Stickers.placedStickers([{part:0,placement:{x:0.5,y:0.5,scale:1,rotation:0}}]).length, 1) + } + function cleanupTestCase() { + var path = @CAPTURE@ + if (path !== "") grabImage(root).save(path) + } + } +} +'''.replace("@CAPTURE@", json.dumps(capture))) + result = subprocess.run([runner, "-input", str(folder), "-platform", "offscreen"], timeout=30, + env={**os.environ, "QT_QPA_PLATFORM": "offscreen", "QT_QPA_PLATFORMTHEME": "generic", + "QT_QUICK_BACKEND": "software"}) + return result.returncode + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/test-time-reveal-ui.py b/scripts/test-time-reveal-ui.py new file mode 100644 index 00000000..d4c2376e --- /dev/null +++ b/scripts/test-time-reveal-ui.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python3 +"""Drive the shipping swipe gesture with real wheel events and a synthetic row.""" +from pathlib import Path +import os, shutil, subprocess, tempfile +repo=Path(__file__).resolve().parents[1] +qml='''import QtQuick +import QtTest +Item { + width:400; height:200 + TimeRevealGesture { id:reveal; maxOffset:72 } + property real scrolled:0 + MouseArea { + id:area; anchors.fill:parent; acceptedButtons:Qt.NoButton + onWheel:function(wheel) { + var sideways=wheel.pixelDelta.x!==0?wheel.pixelDelta.x:wheel.angleDelta.x + var vertical=wheel.pixelDelta.y!==0?wheel.pixelDelta.y:wheel.angleDelta.y + wheel.accepted=true + parent.scrolled+=reveal.route(sideways,vertical) + } + } + TestCase { + name:"TimeReveal"; when:windowShown + function init() { tryCompare(reveal,"tracking",false,1000); reveal.offset=0; area.parent.scrolled=0; wait(300) } + function test_swipe_left_opens_then_springs_back() { + mouseWheel(area,200,100,-120,0); compare(reveal.offset,72); compare(reveal.progress,1); compare(area.parent.scrolled,0); + wait(600); compare(reveal.offset,72); + tryCompare(reveal,"offset",0,3000); + } + function test_swipe_right_closes_while_tracking() { + mouseWheel(area,200,100,-60,0); compare(reveal.offset,60); + mouseWheel(area,200,100,40,0); compare(reveal.offset,20); + } + function test_abandoned_partial_swipe_closes_fast() { + mouseWheel(area,200,100,-20,0); compare(reveal.offset,20); + tryCompare(reveal,"offset",0,800); + } + function test_vertical_scroll_does_not_reveal() { + mouseWheel(area,200,100,-5,120); mouseWheel(area,200,100,-60,30); + compare(reveal.offset,0); compare(area.parent.scrolled,150); + } + } +} +''' +runner=shutil.which('qmltestrunner') or '/usr/lib/qt6/bin/qmltestrunner' +with tempfile.TemporaryDirectory(prefix='blip-time-reveal-') as temp: + p=Path(temp);(p/'tst_time_reveal.qml').write_text(qml) + for name in ['TimeRevealGesture.qml','TimeReveal.mjs']:shutil.copy2(repo/name,p/name) + env={**os.environ,'QT_QPA_PLATFORM':'offscreen','QT_QPA_PLATFORMTHEME':'generic','QT_QUICK_BACKEND':'software'} + raise SystemExit(subprocess.run([runner,'-input',temp],env=env).returncode) diff --git a/shim-path.ts b/shim-path.ts index 859d8bbb..f977b64d 100644 --- a/shim-path.ts +++ b/shim-path.ts @@ -5,7 +5,7 @@ import { homedir } from "node:os"; import { parseBinDir } from "./bin-dir"; import { bridgeArgv, type BridgeTool } from "./source-id"; -export type ShimTool = "imsg" | "imsg-send" | "imsg-read" | "imsg-react" | "contacts" | "contact-save"; +export type ShimTool = "imsg" | "imsg-send" | "imsg-read" | "imsg-react" | "imsg-reply" | "contacts" | "contact-save"; /** The shim directory: `bin_dir=` in bridge.conf, default ~/bin. */ export function shimDir(home: string = process.env.HOME ?? homedir()): string { diff --git a/source-id.ts b/source-id.ts index 8ade7fe8..bec91f40 100644 --- a/source-id.ts +++ b/source-id.ts @@ -11,7 +11,7 @@ /** The Mac-side tools a conversation is read, sent, marked read and * tapbacked through. */ -export type BridgeTool = "imsg" | "imsg-send" | "imsg-read" | "imsg-react"; +export type BridgeTool = "imsg" | "imsg-send" | "imsg-read" | "imsg-react" | "imsg-reply"; export interface Source { /** Stable lowercase name, e.g. "imessage". */ diff --git a/stickers.test.ts b/stickers.test.ts new file mode 100644 index 00000000..657b5746 --- /dev/null +++ b/stickers.test.ts @@ -0,0 +1,301 @@ +import { describe, expect, test } from "bun:test"; +import { mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { decorate } from "./thread"; +import { dedupeSelfEcho, messagePreview, type ImsgMessage } from "./collector"; +import { MAX_VISIBLE_STICKERS, normalizeStickerAttachment, normalizeStickerMetadata, + normalizeStickerOverlays, normalizeStickerPlacement, placedStickers, unplacedStickers, reactionStickers, stickerGeometry, + type StickerOverlay } from "./stickers"; +import { CACHE_DIR, FETCH_MAX_BYTES, cacheFileName, fetchAttachment, imageAnimation, imageMetrics, + stickerAnimationPreview, stickerSequencePreview, wantsStickerPng } from "./fetch"; +import { cachedOriginal } from "./save-attachment"; + +const position = { x: 0.9, y: 0.1, scale: 1.2, rotation: -.2, parentWidth: 160 }; +const overlay = (n = 1): StickerOverlay => ({ + attachment: { id: String(n), name: "sticker.png", mime: "image/png", bytes: 128, + sticker: { source: "user", label: "Heart", placement: position } }, + guid: `S${n}`, part: 0, from_me: false, by: "Example", ts: "2026-11-06T10:01:00Z", placement: position, +}); +const message = (overrides: Partial = {}): ImsgMessage => ({ + guid: "P", ts: "2026-11-06T10:00:00Z", text: "Example", from_me: false, + chat: "+15551234567", handle: "+15551234567", name: null, service: "iMessage", ...overrides, +}); + +describe("sticker presentation model", () => { + test("a transparent photo never becomes a sticker based on its filename or MIME", () => { + const a = { name: "sticker.png", mime: "image/png", bytes: 100 }; + expect(normalizeStickerAttachment(a)).toEqual(a); + expect(normalizeStickerMetadata(true)).toBeUndefined(); + expect(normalizeStickerMetadata([])).toBeUndefined(); + expect(messagePreview("\uFFFC", a)).toBe("Photo"); + expect(messagePreview("\uFFFC", { ...a, sticker: true })).toBe("Sticker"); + expect(messagePreview("caption", { ...a, sticker: true })).toBe("caption"); + }); + test("only finite bounded placement numbers reach the renderer", () => { + expect(normalizeStickerPlacement(position)).toEqual(position); + for (const value of [NaN, Infinity, -Infinity, true, "0.5", null, 100]) + expect(normalizeStickerPlacement({ ...position, x: value })).toBeUndefined(); + expect(normalizeStickerPlacement({ ...position, parentWidth: Infinity })).not.toHaveProperty("parentWidth"); + }); + test("labels are bounded plain text; unknown attribution is still a sticker", () => { + expect(normalizeStickerMetadata({ source: "weird", label: "\u202e\0" })).toEqual({ + source: "unknown", label: "", animated: false, + }); + expect(normalizeStickerMetadata({ label: "a".repeat(1000) })!.label.length).toBe(160); + expect(normalizeStickerMetadata({ source: { toString: "not callable" } })!.source).toBe("unknown"); + }); + test("duplicates do not consume the bounded overlay budget; overflow is honest", () => { + const input = Array.from({ length: MAX_VISIBLE_STICKERS + 9 }, (_, i) => overlay(i + 1)); + const result = normalizeStickerOverlays([null, {}, ...input, input[0], input[1]]); + expect(result.stickers.length).toBe(MAX_VISIBLE_STICKERS); + expect(result.overflow).toBe(9); + }); + test("missing media survives as a labeled non-fetchable placeholder", () => { + const s = overlay(); s.attachment.id = "not-an-id"; + const result = normalizeStickerOverlays([s]); + expect(result.stickers[0]!.attachment.id).toBe(""); + expect(result.stickers[0]!.attachment.sticker!.label).toBe("Heart"); + }); + test("unknown body parts and absent geometry use an attached strip", () => { + const first = overlay(1), second = { ...overlay(2), part: 2 }, third = overlay(3); + delete third.placement; + delete third.attachment.sticker!.placement; + expect(placedStickers([first, second, third]).map(s => s.guid)).toEqual(["S1"]); + expect(unplacedStickers([first, second, third]).map(s => s.guid)).toEqual(["S2", "S3"]); + }); + test("decorating preserves sticker activity without moving message time", () => { + const result = decorate([message({ stickers: [overlay()], activity_ts: "2026-11-06T10:01:00Z" })], "2026-11-06")[0]!; + expect(result.ts).toBe("2026-11-06T10:00:00Z"); + expect(result.seen_ts).toBe("2026-11-06T10:01:00Z"); + expect(result.stickers[0]!.placement).toEqual(position); + expect(result.tapbacks).toEqual([]); + }); + test("native sticker reactions remain distinct from additive decorations", () => { + const input = [overlay(1), { ...overlay(2), reaction: true }, + { ...overlay(3), reaction: "true" }, { ...overlay(4), reaction: true, part: 2 }]; + const normalized = normalizeStickerOverlays(input).stickers; + expect(reactionStickers(normalized).map(s => s.guid)).toEqual(["S2", "S4"]); + expect(placedStickers(normalized).map(s => s.guid)).toEqual(["S1", "S3"]); + expect(unplacedStickers(normalized)).toEqual([]); + expect(decorate([message({ stickers: normalized })], "2026-11-06")[0]!.stickers[1]!.reaction).toBe(true); + }); + test("an unsent parent hides sticker decoration", () => { + const b = decorate([message({ stickers: [overlay()], retracted: true })], "2026-11-06")[0]!; + expect(b.stickers).toEqual([]); + expect(b.stickersOverflow).toBe(0); + }); + test("either self-thread twin keeps stickers and their read boundary", () => { + for (const reversed of [false, true]) { + const rows = [message({ from_me: true }), message({ stickers: [overlay()], activity_ts: "2026-11-06T10:01:00Z" })]; + const result = dedupeSelfEcho(reversed ? rows.reverse() : rows, ["+15551234567"]); + expect(result.length).toBe(1); + expect(result[0]!.stickers!.length).toBe(1); + expect(result[0]!.activity_ts).toBe("2026-11-06T10:01:00Z"); + } + }); + test("empty outbound self echo transfers its decorations to the displayed inbound", () => { + const result = dedupeSelfEcho([ + message({ text: "", from_me: true, stickers: [overlay()], activity_ts: "2026-11-06T10:01:00Z" }), + message({ text: "" }), + ], ["+15551234567"]); + expect(result.length).toBe(1); + expect(result[0]!.stickers![0]!.guid).toBe("S1"); + expect(result[0]!.activity_ts).toBe("2026-11-06T10:01:00Z"); + }); + test("geometry preserves image aspect and clamps absurd source dimensions", () => { + const g = stickerGeometry(position, 200, 100, 200, 100); + expect(g.width / g.height).toBe(2); + expect(g.rotation).toBeCloseTo(-.2 * 180 / Math.PI); + expect(g.x).toBeGreaterThanOrEqual(0); + expect(g.x + g.width).toBeLessThanOrEqual(200); + const fallback = stickerGeometry(undefined, NaN, Infinity, 0, -1); + expect(Object.values(fallback).every(v => typeof v !== "number" || Number.isFinite(v))).toBe(true); + expect(fallback.placed).toBe(false); + for (const rotation of [0, Math.PI / 4, Math.PI / 2, Math.PI, -Math.PI / 3]) { + const g = stickerGeometry({ ...position, x: 3, y: -3, scale: 4, rotation }, 80, 30, 200, 100); + const bw = g.width * Math.abs(Math.cos(rotation)) + g.height * Math.abs(Math.sin(rotation)); + const bh = g.height * Math.abs(Math.cos(rotation)) + g.width * Math.abs(Math.sin(rotation)); + expect(g.x + g.width / 2 - bw / 2).toBeGreaterThanOrEqual(-1e-6); + expect(g.y + g.height / 2 - bh / 2).toBeGreaterThanOrEqual(-1e-6); + expect(g.x + g.width / 2 + bw / 2).toBeLessThanOrEqual(80 + 1e-6); + expect(g.y + g.height / 2 + bh / 2).toBeLessThanOrEqual(30 + 1e-6); + } + }); +}); + +// Deliberately tiny container headers for parser/runner tests. Pixel decoding +// is covered by scripts/test-sticker-ui.py with generated, valid media. +function png(frames = 1, width = 64, height = 64): Buffer { + const chunk = (type: string, body: Buffer) => { + const b = Buffer.alloc(12 + body.length); b.writeUInt32BE(body.length); b.write(type, 4); body.copy(b, 8); return b; + }; + const ihdr = Buffer.alloc(13); ihdr.writeUInt32BE(width, 0); ihdr.writeUInt32BE(height, 4); ihdr[8] = 8; ihdr[9] = 6; + const actl = Buffer.alloc(8); actl.writeUInt32BE(frames); + return Buffer.concat([Buffer.from("89504e470d0a1a0a", "hex"), chunk("IHDR", ihdr), + ...(frames > 1 ? [chunk("acTL", actl)] : []), chunk("IDAT", Buffer.alloc(0))]); +} +function webp(): Buffer { + const b = Buffer.alloc(40); b.write("RIFF", 0); b.writeUInt32LE(32, 4); b.write("WEBPVP8X", 8); + b.writeUInt32LE(10, 16); b[20] = 0x12; b.writeUIntLE(63, 24, 3); b.writeUIntLE(31, 27, 3); return b; +} +const cap = 5 * 1024 * 1024; +let nextId = 80000; +const id = () => String(nextId++); + +describe("alpha and animated sticker fetches", () => { + test("HEIC and HEICS sticker transforms have PNG filenames; photos retain JPEG", () => { + expect(wantsStickerPng("image/heic-sequence")).toBe(true); + expect(cacheFileName("1", "evil.desktop", "image/heic", false, true)).toBe("1-png-evil.png"); + expect(cacheFileName("1", "same.heic", "image/heic")).toBe("1-jpg-same.jpg"); + }); + test("sticker attribution never admits SVG or MIME-spoofed external-resource media", () => { + let calls = 0; + const svg = Buffer.from(''); + const runner = (() => { calls++; return { status: 0, stdout: svg }; }) as never; + expect(fetchAttachment(id(), "unsafe.svg", "image/svg+xml", runner, cap, true).ok).toBe(false); + expect(calls).toBe(0); + for (const mime of ["image/png", "image/gif", "image/jpeg", "image/webp", "image/heic"]) + expect(fetchAttachment(id(), "fake.png", mime, runner, cap, true).ok).toBe(false); + expect(fetchAttachment(id(), "wrong.gif", "image/gif", (() => ({ status: 0, stdout: png() })) as never, cap, true).ok).toBe(false); + expect(fetchAttachment(id(), "zero.png", "image/png", (() => ({ status: 0, stdout: png(1, 0, 0) })) as never, cap, true).ok).toBe(false); + }); + test("cached sticker bytes are revalidated instead of trusting their extension", () => { + const aid = id(); + mkdirSync(CACHE_DIR, { recursive: true, mode: 0o700 }); + const file = join(CACHE_DIR, cacheFileName(aid, "cached.png", "image/png")); + writeFileSync(file, '', { mode: 0o600 }); + let called = false; + const result = fetchAttachment(aid, "cached.png", "image/png", (() => { called = true; throw Error("unexpected"); }) as never, cap, true); + expect(result.ok).toBe(false); + expect(result.error).toContain("raster"); + expect(called).toBe(false); + }); + test("transparent PNG stickers avoid sips JPEG preview, on first fetch and cache hit", () => { + const calls: string[][] = []; + const runner = ((_cmd: string, args: string[]) => { calls.push(args); return { status: 0, stdout: png() }; }) as never; + const aid = id(); + const result = fetchAttachment(aid, "sticker.png", "image/png", runner, cap, true); + expect(result.ok).toBe(true); + expect(calls).toEqual([["attachment", aid]]); + expect(result.renderMime).toBe("image/png"); + expect(readFileSync(result.path)).toEqual(png()); + expect(statSync(result.path).mode & 0o777).toBe(0o600); + expect(fetchAttachment(aid, "sticker.png", "image/png", runner, cap, true).url).toBe(result.url); + expect(calls.length).toBe(1); + }); + test("HEIC sticker asks for PNG and can be saved as a full-size converted original", () => { + const calls: string[][] = []; + const runner = ((_cmd: string, args: string[]) => { calls.push(args); return { status: 0, stdout: png() }; }) as never; + const aid = id(); + const result = fetchAttachment(aid, "sticker.heic", "image/heic", runner, cap, true); + expect(calls).toEqual([["attachment", aid, "--png"]]); + expect(result.renderMime).toBe("image/png"); + expect(result.path).toContain("-png-"); + expect(cachedOriginal(result.path)).toBe(result.path); + }); + test("APNG auto-preview becomes animated WebP; copy/save retains original PNG", () => { + const calls: any[] = []; + const runner = ((cmd: string, args: string[], options: any) => { + calls.push({ cmd, args, options }); + if (cmd === "ffmpeg") { + const input = args[args.indexOf("-i") + 1]!; + expect(readFileSync(input)).toEqual(png(2)); + expect(statSync(input).mode & 0o777).toBe(0o600); + } + return { status: 0, stdout: cmd === "ffmpeg" ? webp() : png(2) }; + }) as never; + const aid = id(); + const result = fetchAttachment(aid, "animated.png", "image/png", runner, cap, true); + expect(result.renderMime).toBe("image/webp"); expect(result.animated).toBe(true); + expect(result.path).toContain("-anim-"); + expect(calls[1].options.input).toBeUndefined(); + expect(calls[1].args).toContain("-ignore_loop"); + expect(readdirSync(CACHE_DIR).some(n => n.startsWith(".sticker-"))).toBe(false); + expect(calls[1].args).toContain("-lossless"); + expect(() => cachedOriginal(result.path)).toThrow("original"); + const original = fetchAttachment(aid, "animated.png", "image/png", runner, FETCH_MAX_BYTES, true); + expect(original.renderMime).toBe("image/png"); + expect(readFileSync(original.path)).toEqual(png(2)); + expect(cachedOriginal(original.path)).toBe(original.path); + const count = calls.length; + expect(fetchAttachment(aid, "animated.png", "image/png", runner, cap, true).path).toBe(result.path); + expect(calls.length).toBe(count); + }); + test("an APNG cached by copy converts locally without another bridge read", () => { + const aid = id(); + fetchAttachment(aid, "loop.png", "image/png", (() => ({ status: 0, stdout: png(2) })) as never, FETCH_MAX_BYTES, true); + const calls: string[] = []; + const r = fetchAttachment(aid, "loop.png", "image/png", ((cmd: string) => { + calls.push(cmd); return { status: 0, stdout: webp() }; + }) as never, cap, true); + expect(calls).toEqual(["ffmpeg"]); + expect(r.animated).toBe(true); + }); + test("malformed headers cannot make the parser read past the buffer", () => { + for (let end = 0; end < png(2).length; end++) expect(() => imageAnimation(png(2).subarray(0, end))).not.toThrow(); + const malformed = png(2); malformed.writeUInt32BE(0xffffffff, 8); + expect(imageAnimation(malformed).animated).toBe(false); + expect(imageMetrics(webp(), "image/webp")).toEqual({ pixelWidth: 64, pixelHeight: 32, pixelRatio: 1 }); + }); + test("huge APNG dimensions or frame counts never enter a decoder", () => { + let calls = 0; + const runner = (() => { calls++; throw Error("must not run"); }) as never; + for (const bytes of [png(101), png(2, 100000, 100000), png(100, 2048, 2048)]) { + const r = stickerAnimationPreview(bytes, runner); + expect(r.unavailable).toBe(true); expect(r.bytes).toBe(bytes); + } + expect(calls).toBe(0); + }); + test("missing decoder, timeout, corrupt output, and large output preserve a transparent still", () => { + for (const behavior of ["missing", "timeout", "corrupt", "large"]) { + const runner = ((cmd: string, _args: string[], opts: any) => { + if (cmd !== "ffmpeg") return { status: 0, stdout: png(2) }; + expect(opts.timeout).toBe(30000); expect(opts.maxBuffer).toBeLessThanOrEqual(FETCH_MAX_BYTES + (1 << 20)); + if (behavior === "missing") throw Error("ENOENT"); + if (behavior === "timeout") return { status: null, stdout: Buffer.alloc(0), error: Error("ETIMEDOUT") }; + if (behavior === "large") return { status: 0, stdout: Buffer.concat([webp(), Buffer.alloc(cap)]) }; + return { status: 0, stdout: Buffer.from("not an image") }; + }) as never; + const r = fetchAttachment(id(), "loop.png", "image/png", runner, cap, true); + expect(r.ok).toBe(true); expect(r.animationUnavailable).toBe(true); + expect(r.renderMime).toBe("image/png"); expect(readFileSync(r.path)).toEqual(png(2)); + expect(readdirSync(CACHE_DIR).some(n => n.startsWith(".sticker-"))).toBe(false); + } + }); + test("HEICS failure asks the Mac for a transparent still and names the lost motion", () => { + const calls: any[] = []; + const runner = ((cmd: string, args: string[]) => { + calls.push({ cmd, args }); + if (cmd === "ffprobe") return { status: 1, stdout: "" }; + return { status: 0, stdout: args.includes("--png") ? png() : Buffer.from("synthetic sequence") }; + }) as never; + const aid = id(), r = fetchAttachment(aid, "live.heics", "image/heic-sequence", runner, cap, true); + expect(r.ok).toBe(true); expect(r.renderMime).toBe("image/png"); expect(r.animationUnavailable).toBe(true); + expect(calls[0].args).toEqual(["attachment", aid]); + expect(calls.at(-1).args).toEqual(["attachment", aid, "--png"]); + expect(readdirSync(CACHE_DIR).some(n => n.startsWith(".sticker-"))).toBe(false); + }); + test("HEICS color and alpha tracks are selected only after bounded metadata validation", () => { + const dir = mkdtempSync(join(tmpdir(), "blip-sticker-sequence-")); + const streams = Array.from({ length: 4 }, (_, index) => ({ index, codec_type: "video", width: 64, height: 32, + pix_fmt: index % 2 ? "gray" : "yuv420p", nb_frames: "5", duration: "1" })); + const calls: any[] = []; + const runner = ((cmd: string, args: string[], opts: any) => { + calls.push({ cmd, args, opts }); + if (cmd === "ffprobe") { expect(statSync(args.at(-1)!).mode & 0o777).toBe(0o600); return { status: 0, stdout: JSON.stringify({ streams }) }; } + return { status: 0, stdout: webp() }; + }) as never; + try { + expect(stickerSequencePreview(Buffer.from("media"), "image/heics", runner, dir)?.renderMime).toBe("image/webp"); + expect(calls[1].args).toContain("[0:2][0:3]alphamerge,format=rgba[out]"); + expect(calls[1].args).toContain("file,pipe"); + expect(readdirSync(dir)).toEqual([]); + streams[2]!.width = 999999; + calls.length = 0; + expect(stickerSequencePreview(Buffer.from("media"), "image/heics", runner, dir)).toBeUndefined(); + expect(calls.length).toBe(1); + expect(readdirSync(dir)).toEqual([]); + } finally { rmSync(dir, { recursive: true, force: true }); } + }); +}); diff --git a/stickers.ts b/stickers.ts new file mode 100644 index 00000000..840506d2 --- /dev/null +++ b/stickers.ts @@ -0,0 +1,169 @@ +/** Sticker wire normalization and layout. No files, processes, or message state. + * Regenerate the QML module: bun build stickers.ts --target=browser --format=esm --outfile=Stickers.mjs + */ +import type { AttachmentMeta } from "./collector"; + +export interface StickerPlacement { + /** Center as a fraction of the target bubble's dimensions. */ + x: number; + y: number; + scale: number; + /** Clockwise radians, as stored by Messages. */ + rotation: number; + parentWidth?: number; +} +export interface StickerMetadata { + source: "memoji" | "genmoji" | "user" | "app" | "unknown"; + label: string; + app_name?: string; + animated?: boolean; + placement?: StickerPlacement; +} +export interface StickerOverlay { + attachment: AttachmentMeta; + guid: string; + part: number; + from_me: boolean; + by: string | null; + ts: string; + /** Native type 2007 occupies the sender's Tapback slot, unlike decoration 1000. */ + reaction?: boolean; + placement?: StickerPlacement; +} + +/** Protect the render tree from a very long history of decorations on one message. */ +export const MAX_VISIBLE_STICKERS = 24; +const sources = new Set(["memoji", "genmoji", "user", "app", "unknown"]); +const record = (value: unknown): value is Record => + !!value && typeof value === "object" && !Array.isArray(value); +const finite = (value: unknown, min: number, max: number): value is number => + typeof value === "number" && Number.isFinite(value) && value >= min && value <= max; +const label = (value: unknown, max = 160): string => + typeof value === "string" ? value.replace(/[\p{Cc}\p{Cf}]/gu, "").trim().slice(0, max) : ""; + +export function normalizeStickerPlacement(value: unknown): StickerPlacement | undefined { + if (!record(value) || !finite(value.x, -3, 3) || !finite(value.y, -3, 3) + || !finite(value.scale, 0.1, 4) || !finite(value.rotation, -Math.PI * 2, Math.PI * 2)) return undefined; + return Object.assign({ x: value.x, y: value.y, scale: value.scale, rotation: value.rotation }, + finite(value.parentWidth, 1, 10000) ? { parentWidth: value.parentWidth } : {}); +} + +export function normalizeStickerMetadata(value: unknown): StickerMetadata | undefined { + if (!record(value)) return undefined; + const placement = normalizeStickerPlacement(value.placement); + const app = label(value.app_name, 80); + return Object.assign({ + source: typeof value.source === "string" && sources.has(value.source) ? value.source as StickerMetadata["source"] : "unknown", + label: label(value.label) || "Sticker", + animated: value.animated === true, + }, app ? { app_name: app } : {}, placement ? { placement } : {}); +} + +/** Ordinary transparent PNGs remain ordinary images: sticker attribution is explicit. */ +export function normalizeStickerAttachment(attachment: AttachmentMeta): AttachmentMeta { + const sticker = normalizeStickerMetadata(attachment.sticker); + if (sticker) return Object.assign({}, attachment, { sticker }); + const plain = Object.assign({}, attachment); + delete plain.sticker; + return plain; +} + +export function normalizeStickerOverlays(value: unknown): { stickers: StickerOverlay[]; overflow: number } { + if (!Array.isArray(value)) return { stickers: [], overflow: 0 }; + const valid: StickerOverlay[] = []; + const identities = new Set(); + let total = 0; + for (const raw of value) { + if (!record(raw) || !record(raw.attachment)) continue; + const a = raw.attachment; + const sticker = normalizeStickerMetadata(a.sticker); + if (!sticker) continue; + const id = typeof a.id === "string" && /^[0-9]{1,18}$/.test(a.id) ? a.id : ""; + const guid = label(raw.guid, 128); + const key = `${guid}\0${id}`; + // A missing-media placeholder still needs its message identity to avoid + // merging unrelated unloaded stickers. Blank identities are not deduped. + if ((guid || id) && identities.has(key)) continue; + if (guid || id) identities.add(key); + total++; + if (valid.length >= MAX_VISIBLE_STICKERS) continue; + const placement = normalizeStickerPlacement(raw.placement) ?? sticker.placement; + valid.push(Object.assign({ + attachment: { + id, name: label(a.name, 256) || "Sticker", + mime: typeof a.mime === "string" ? a.mime.slice(0, 100) : null, + bytes: finite(a.bytes, 0, Number.MAX_SAFE_INTEGER) ? a.bytes : null, + sticker, + }, + guid, + part: finite(raw.part, 0, 999999) && Number.isInteger(raw.part) ? raw.part : 0, + from_me: raw.from_me === true, + by: label(raw.by, 160) || null, + ts: typeof raw.ts === "string" ? raw.ts : "", + }, raw.reaction === true ? { reaction: true } : {}, placement ? { placement } : {})); + } + return { stickers: valid, overflow: Math.max(0, total - valid.length) }; +} + +/** A self-thread can store decoration on either echo. Preserve both, once. */ +export function mergeStickers(a?: StickerOverlay[] | null, b?: StickerOverlay[] | null): StickerOverlay[] | undefined { + const all = [...(a ?? []), ...(b ?? [])]; + if (!all.length) return undefined; + const seen = new Set(); + return all.filter(s => { + const key = `${s.guid}\0${s.attachment?.id ?? ""}`; + if (seen.has(key)) return false; + seen.add(key); + return true; + }); +} + +/** Body-part 0 is the only safely addressable part without attributed-body + * range mapping. The renderer anchors it to text, or the first attachment. + */ +export function placedStickers(stickers: StickerOverlay[] | undefined): StickerOverlay[] { + return (stickers ?? []).filter(s => s.reaction !== true && s.part === 0 && !!normalizeStickerPlacement(s.placement)); +} + +export function unplacedStickers(stickers: StickerOverlay[] | undefined): StickerOverlay[] { + return (stickers ?? []).filter(s => s.reaction !== true && (s.part !== 0 || !normalizeStickerPlacement(s.placement))); +} + +export function reactionStickers(stickers: StickerOverlay[] | undefined): StickerOverlay[] { + return (stickers ?? []).filter(s => s.reaction === true); +} + +/** A compact decoration stays bounded even when metadata claims huge scaling. + * Unknown placement gets a readable row below the bubble, never a guessed + * position obscuring its text. The renderer chooses the target body part. + */ +export function stickerGeometry(placement: StickerPlacement | undefined, width: number, height: number, + naturalWidth = 64, naturalHeight = 64): + { x: number; y: number; width: number; height: number; rotation: number; placed: boolean } { + const w = finite(width, 1, 10000) ? width : 64; + const h = finite(height, 1, 10000) ? height : 64; + const nw = finite(naturalWidth, 1, 100000) ? naturalWidth : 64; + const nh = finite(naturalHeight, 1, 100000) ? naturalHeight : 64; + const p = normalizeStickerPlacement(placement); + const scale = p?.scale ?? 1; + const longEdge = Math.min(Math.max(40 * scale, 24), 120, w); + let sw = nw >= nh ? longEdge : longEdge * nw / nh; + let sh = nh >= nw ? longEdge : longEdge * nh / nw; + const angle = p?.rotation ?? 0; + const cos = Math.abs(Math.cos(angle)), sin = Math.abs(Math.sin(angle)); + let bw = sw * cos + sh * sin, bh = sh * cos + sw * sin; + const fit = Math.min(1, w / bw, h / bh); + sw *= fit; sh *= fit; bw *= fit; bh *= fit; + const insetX = (bw - sw) / 2, insetY = (bh - sh) / 2; + return { + // Sender offsets can sit outside the native bubble. Clamp to our target + // so they cannot escape the panel or cover another message's actions. + // Rotation is around the image center; clamp its rotated bounding box, + // not just the unrotated image, to the target. parentWidth is preserved + // as provenance but native point-for-point scale is intentionally not + // reproduced in a much narrower Linux bubble. + x: p ? Math.max(insetX, Math.min(w - sw - insetX, p.x * w - sw / 2)) : 0, + y: p ? Math.max(insetY, Math.min(h - sh - insetY, p.y * h - sh / 2)) : 0, + width: sw, height: sh, rotation: p ? p.rotation * 180 / Math.PI : 0, placed: !!p, + }; +} diff --git a/tapback-actions.test.ts b/tapback-actions.test.ts index e8115e8e..9038aa8d 100644 --- a/tapback-actions.test.ts +++ b/tapback-actions.test.ts @@ -3,8 +3,9 @@ import { readdirSync, readFileSync } from "node:fs"; import { join } from "node:path"; import { canTapback, initialTapbackCursor, moveTapbackCursor, myTapback, tapbackForKey, pendingAfterLoad, SETTLE_TRIES, pendingTapback, shownTapbacks, TAPBACKS, tapbackArgs, tapbackFailure, tapbackKind, TAPBACK_NOT_STARTED, - tapbackSettled, tapbacksOn, + tapbackSettled, tapbacksOn, validReactionEmoji, emojiKind, reactionEmoji, tapbackRequest, searchReactionEmoji, } from "./tapback-actions"; +import { EMOJI_CATALOGUE } from "./emoji-catalogue"; const text = { guid: "ABC-123", text: "see you at eight", attachments: [], link: null }; @@ -24,11 +25,52 @@ test("the emoji imsg reports map back to a kind, with or without the variation s expect(tapbackKind("🚀")).toBe(""); }); -test("yours is the first classic tapback marked from_me; others' and custom ones are not", () => { +test("yours preserves classic/custom identity and ignores others", () => { expect(myTapback(null)).toBe(""); expect(myTapback({ tapbacks: [{ emoji: "👍", from_me: false }] })).toBe(""); expect(myTapback({ tapbacks: [{ emoji: "👍", from_me: false }, { emoji: "😂", from_me: true }] })).toBe("laugh"); - expect(myTapback({ tapbacks: [{ emoji: "🚀", from_me: true }] })).toBe(""); + expect(myTapback({ tapbacks: [{ emoji: "🚀", from_me: true }] })).toBe("emoji:🚀"); + expect(myTapback({ tapbacks: [{ emoji: "👍", from_me: true, kind: "emoji" }] })).toBe("emoji:👍"); + expect(myTapback({ tapbacks: [{ emoji: "⭐", from_me: true, kind: "sticker" }] })).toBe(""); +}); + +test("single-emoji grammar accepts the full catalogue and rejects prose/multiple emoji", () => { + expect(EMOJI_CATALOGUE.length).toBeGreaterThan(3900); + for (const [emoji] of EMOJI_CATALOGUE) expect(validReactionEmoji(emoji)).toBe(true); + for (const value of ["", "hello", "日本語", "🚀🚀", "hello🚀", "🚀\n", "🇺", "🏽", "\u200d🚀", "🚀\u200d", "a".repeat(65)]) + expect(validReactionEmoji(value)).toBe(false); + for (const emoji of ["👩🏽‍💻", "👨‍👩‍👧‍👦", "🇬🇧", "1️⃣", "❤️"]) + expect(reactionEmoji(emojiKind(emoji))).toBe(emoji); +}); + +test("custom emoji, including search metadata, travels only on stdin", () => { + const request = tapbackRequest("G", "emoji:🚀", "emoji:🚀")!; + expect(request.args).toEqual(["--guid", "G", "--emoji-stdin", "--remove", "--yes"]); + expect(JSON.parse(request.stdin)).toEqual({ emoji: "🚀", name: "rocket" }); + expect(request.args.join(" ")).not.toContain("🚀"); + expect(tapbackRequest("G", "emoji:👍", "like")!.args).not.toContain("--remove"); + expect(tapbackRequest("G", "love", "love")).toEqual({args: ["--guid", "G", "love", "--remove", "--yes"], stdin: ""}); + expect(tapbackRequest("G;bad", "love", "")).toBeNull(); + expect(tapbackRequest("G", "emoji:hello", "")).toBeNull(); + expect(tapbackArgs("G", "emoji:🚀", "")).toEqual([]); +}); + +test("search supports categories, compound names, skin tones, and direct paste", () => { + expect(searchReactionEmoji("rocket")[0].emoji).toBe("🚀"); + expect(searchReactionEmoji("rocket", "Animals & Nature")).toEqual([]); + expect(searchReactionEmoji("woman technologist medium skin").some((r) => r.emoji === "👩🏽‍💻")).toBe(true); + expect(searchReactionEmoji("👩🏽‍💻")[0].kind).toBe("emoji:👩🏽‍💻"); + expect(searchReactionEmoji("not-a-real-emoji-name")).toEqual([]); +}); + +test("custom pending state replaces yours and waits for the exact emoji", () => { + const p = pendingTapback("chat", "ABC-123", "emoji:🚀", "emoji:🎉"); + const message = { ...text, tapbacks: [{emoji:"🎉",from_me:true,kind:"emoji"}] }; + expect(shownTapbacks(message, p)).toEqual([{emoji:"🚀",from_me:true,pending:true}]); + expect(tapbackSettled(message, p)).toBe(false); + expect(tapbackSettled({ ...text, tapbacks:[{emoji:"🚀",from_me:true,kind:"emoji"}] }, p)).toBe(true); + const customLike = pendingTapback("chat", "ABC-123", "emoji:👍", ""); + expect(tapbackSettled({ ...text, tapbacks:[{emoji:"👍",from_me:true}] }, customLike)).toBe(false); }); test("offered only where imsg-react acts: a delivered text bubble in a 1:1", () => { diff --git a/tapback-actions.ts b/tapback-actions.ts index b11cf0db..a5f204dc 100644 --- a/tapback-actions.ts +++ b/tapback-actions.ts @@ -5,6 +5,23 @@ // // Pure, shared with the QML renderer. Rebuild the QML module: // bun build tapback-actions.ts --target browser --format esm --outfile TapbackActions.mjs +import { EMOJI_CATALOGUE } from "./emoji-catalogue"; + +export const EMOJI_GROUPS = ["All", "Smileys & Emotion", "People & Body", "Animals & Nature", "Food & Drink", "Travel & Places", "Activities", "Objects", "Symbols", "Flags"]; +export interface ReactionChoice { emoji: string; name: string; kind: string } +const EMOJI_CHOICES: ReactionChoice[] = EMOJI_CATALOGUE.map((r) => ({ emoji: r[0], name: r[1], kind: "emoji:" + r[0] })); +const EMOJI_NAMES = new Map(EMOJI_CATALOGUE.map((r) => [r[0], r[1]])); + +/** The grid is virtualized in QML; searching and category policy live here. + * Pasting a valid sequence always exposes that exact emoji as the first hit. */ +export function searchReactionEmoji(query: string, group = "All"): ReactionChoice[] { + const q = String(query || "").trim().toLowerCase(); + const words = q.split(/\s+/).filter(Boolean); + const choices = EMOJI_CHOICES.filter((r, i) => (group === "All" || EMOJI_CATALOGUE[i][2] === group) + && (r.emoji === q || words.every((w) => r.name.toLowerCase().includes(w)))); + if (validReactionEmoji(q) && !choices.some((r) => r.emoji === q)) choices.unshift({ emoji: q, name: EMOJI_NAMES.get(q) || "Custom emoji", kind: "emoji:" + q }); + return choices; +} /** The six classic tapbacks, in Messages' order: imsg-react's names and the * emoji imsg reports for them on the read path. */ @@ -45,11 +62,20 @@ export function moveTapbackCursor(cursor: number, dir: number, n = TAPBACKS.leng * dropped, one pair of quotes stripped, the last line wins, on/yes/true/1 in * any case. */ export function tapbacksOn(conf: string): boolean { + return confOn(conf, "tapbacks"); +} + +/** `replies=` read the same way: the menu's half of the shim's gate on imsg-reply. */ +export function repliesOn(conf: string): boolean { + return confOn(conf, "replies"); +} + +function confOn(conf: string, key: string): boolean { let v = ""; for (const raw of String(conf || "").split("\n")) { const line = raw.replace(/#.*/, "").replace(/\s+/g, ""); const eq = line.indexOf("="); - if (eq < 0 || line.slice(0, eq) !== "tapbacks") continue; + if (eq < 0 || line.slice(0, eq) !== key) continue; v = line.slice(eq + 1).replace(/^"/, "").replace(/"$/, "").replace(/^'/, "").replace(/'$/, ""); } return ["on", "yes", "true", "1"].includes(v.toLowerCase()); @@ -69,7 +95,7 @@ export interface TapbackTarget { pending?: boolean; failed?: boolean; scheduled?: boolean; - tapbacks?: { emoji: string; from_me: boolean }[] | null; + tapbacks?: { emoji: string; from_me: boolean; kind?: string }[] | null; } /** "love" for "❤️" (with or without the emoji variation selector); "" for @@ -80,12 +106,15 @@ export function tapbackKind(emoji: string): string { return hit ? hit.kind : ""; } -/** The classic tapback you have on the bubble now, or "". */ +/** Preserve custom-emoji identity even when its glyph is one of the classics. + * Apple stores those as different types (2006 versus 2000…2005). */ export function myTapback(message: TapbackTarget | null): string { for (const t of message?.tapbacks ?? []) { - if (t.from_me) { + if (t.from_me && t.kind !== "sticker") { + if (t.kind === "emoji") return emojiKind(t.emoji); const kind = tapbackKind(t.emoji); if (kind) return kind; + return emojiKind(t.emoji); } } return ""; @@ -107,9 +136,65 @@ export function canTapback(message: TapbackTarget | null, group: boolean): boole * removes it, as on the phone; any other replaces it (one per person). The * tool re-reads chat.db and does nothing when the menu's view was stale. */ export function tapbackArgs(guid: string, kind: string, current: string): string[] { + if (!TAPBACKS.some((t) => t.kind === kind)) return []; return ["--guid", guid, kind, ...(current === kind ? ["--remove"] : []), "--yes"]; } +/** Bounded emoji syntax shared with QML: one emoji sequence, never prose. + * Accepts ZWJ families/professions, skin tones, flag pairs and keycaps. + * Mac validation is independent; an unsupported glyph is never substituted. */ +export function validReactionEmoji(value: string): boolean { + if (typeof value !== "string" || value.length === 0 || value.length > 64) return false; + // QML's Array.from(string) walks UTF-16 units on supported Qt builds; + // explicitly advance over surrogate pairs instead of relying on it. + const points: number[] = []; + for (let i = 0; i < value.length;) { + const point = value.codePointAt(i)!; + points.push(point); + i += point > 0xffff ? 2 : 1; + } + if (points.length === 2 && points.every((n) => n >= 0x1f1e6 && n <= 0x1f1ff)) return true; + if (/^[0-9#*]\uFE0F?\u20E3$/.test(value)) return true; + const base = (n: number) => (n >= 0x1f000 && n <= 0x1faff && !(n >= 0x1f1e6 && n <= 0x1f1ff)) || (n >= 0x2600 && n <= 0x27bf) + || [0xa9, 0xae, 0x203c, 0x2049, 0x2122, 0x2139, 0x2194, 0x2195, 0x2196, 0x2197, 0x2198, 0x2199, + 0x21a9, 0x21aa, 0x231a, 0x231b, 0x2328, 0x23cf, 0x23e9, 0x23ea, 0x23eb, 0x23ec, 0x23ed, + 0x23ee, 0x23ef, 0x23f0, 0x23f1, 0x23f2, 0x23f3, 0x23f8, 0x23f9, 0x23fa, 0x24c2, + 0x25aa, 0x25ab, 0x25b6, 0x25c0, 0x25fb, 0x25fc, 0x25fd, 0x25fe, 0x2934, 0x2935, + 0x2b05, 0x2b06, 0x2b07, 0x2b1b, 0x2b1c, 0x2b50, 0x2b55, 0x3030, 0x303d, 0x3297, 0x3299].includes(n); + let at = 0; + for (;;) { + const n = points[at++]; + if (!base(n) || (n >= 0x1f3fb && n <= 0x1f3ff)) return false; + if (points[at] === 0xfe0f || points[at] === 0xfe0e) at++; + if (points[at] >= 0x1f3fb && points[at] <= 0x1f3ff) at++; + // Unicode subdivision flags, e.g. England, finish with CANCEL TAG. + if (n === 0x1f3f4 && points[at] >= 0xe0020 && points[at] <= 0xe007e) { + while (points[at] >= 0xe0020 && points[at] <= 0xe007e) at++; + if (points[at++] !== 0xe007f) return false; + } + if (at === points.length) return true; + if (points[at++] !== 0x200d || at === points.length) return false; + } +} + +export function emojiKind(emoji: string): string { + return validReactionEmoji(emoji) ? "emoji:" + emoji : ""; +} + +export function reactionEmoji(kind: string): string { + const classic = TAPBACKS.find((t) => t.kind === kind); + if (classic) return classic.emoji; + return kind.startsWith("emoji:") && validReactionEmoji(kind.slice(6)) ? kind.slice(6) : ""; +} + +/** Custom content travels only on stdin, including the Mac→osascript hop. */ +export function tapbackRequest(guid: string, kind: string, current: string): { args: string[]; stdin: string } | null { + if (!/^[A-Za-z0-9:/_-]{1,128}$/.test(guid) || !reactionEmoji(kind)) return null; + if (!kind.startsWith("emoji:")) return { args: tapbackArgs(guid, kind, current), stdin: "" }; + return { args: ["--guid", guid, "--emoji-stdin", ...(current === kind ? ["--remove"] : []), "--yes"], + stdin: JSON.stringify({ emoji: kind.slice(6), name: EMOJI_NAMES.get(kind.slice(6)) || "" }) }; +} + /** A tapback on its way: drawn at once, dimmed, until chat.db has the * answer. `remove` takes back the one you have; `done` is set when * imsg-react exits 0, and `tries` counts the loads since then that did not @@ -140,10 +225,10 @@ export function shownTapbacks( ): { emoji: string; from_me: boolean; pending?: boolean }[] { const list = message?.tapbacks ?? []; if (!message || !p || String(message.guid || "") !== p.guid || tapbackSettled(message, p)) return list; - const hit = TAPBACKS.find((t) => t.kind === p.kind); - if (!hit) return list; - const others = list.filter((t) => !(t.from_me && tapbackKind(t.emoji))); - return [...others, { emoji: hit.emoji, from_me: true, pending: true }]; + const emoji = reactionEmoji(p.kind); + if (!emoji) return list; + const others = list.filter((t) => !t.from_me || t.kind === "sticker"); + return [...others, { emoji, from_me: true, pending: true }]; } /** What is left of a pending tapback once a thread load lands: nothing when diff --git a/tapbacks-emoji-ax.test.ts b/tapbacks-emoji-ax.test.ts new file mode 100644 index 00000000..c030e6ee --- /dev/null +++ b/tapbacks-emoji-ax.test.ts @@ -0,0 +1,93 @@ +import { describe, expect, test } from "bun:test"; +import { readFileSync } from "node:fs"; + +// Execute the shipping JXA with a synthetic Accessibility tree. No Mac, UI +// events, message database or network is used by this test. +const src = readFileSync(new URL("./bridge/mac/imsg-react", import.meta.url), "utf8"); +const start = src.indexOf('JXA = r"""') + 10; +const script = src.slice(start, src.indexOf('\n"""', start)); + +function scene(options: { foreground?: boolean; label?: string; duplicate?: boolean } = {}) { + const presses: string[] = []; + let label = options.label ?? "Message, synthetic target"; + let fieldsWritten = 0; + const element = (id: string, opts: { enabled?: boolean; role?: string; value?: string; afterIdentity?: () => void } = {}): any => ({ + attributes: { byName: (name: string) => ({ value() { + const result = name === "AXIdentifier" ? id : name === "AXValue" ? opts.value || "" : ""; + opts.afterIdentity?.(); + return result; + } }) }, + role: () => opts.role || "AXButton", + enabled: () => opts.enabled !== false, + description: () => id, + actions: { name: () => ["AXPress"], byName: () => ({ perform: () => presses.push(id) }) }, + }); + const search: any = { + role: () => "AXTextField", subrole: () => "AXSearchField", enabled: () => true, + set value(_v: string) { fieldsWritten++; }, + }; + let children: any[] = []; + const picker = { description: () => "Tapback Picker", entireContents: () => children }; + const popover = { role: () => "AXPopover", entireContents: () => children.concat(search) }; + const window = { entireContents: () => [picker, {description: () => label}, popover] }; + const windows: any = () => [window]; windows[0] = window; + const proc = { windows, frontmost: () => options.foreground !== false }; + const Application = () => ({ processes: { byName: () => proc }, keyCode: () => {} }); + const api = new Function("Application", "ObjC", "delay", `${script}\nreturn {pressEmoji, emojiPicker, picker};`)(Application, {import() {}}, () => {}); + return { api, element, presses, set: (els: any[]) => {children = els}, + changeLabel: (l: string) => {label = l}, writes: () => fieldsWritten, + request: { text: "synthetic target", emoji: "🚀", name: "rocket" } }; +} + +describe("custom emoji: exact AX identity and original target are required", () => { + test("presses one enabled exact picker identity", () => { + const s = scene(); + const els = [s.element("🎉"), s.element("🚀")]; + expect(s.api.pressEmoji(els, "🚀", s.request)).toEqual({ok:true}); + expect(s.presses).toEqual(["🚀"]); + }); + test("different emoji, skin tone, ZWJ, and variation selectors are never substituted", () => { + for (const [wanted, offered] of [["🚀","🎉"],["👍🏽","👍"],["👩🏽‍💻","👩‍💻"],["❤️","❤"]]) { + const s = scene(); + expect(s.api.pressEmoji([s.element(offered)], wanted, s.request).ok).toBe(false); + expect(s.presses).toEqual([]); + } + }); + test("disabled, ambiguous, and image sticker identities are refused", () => { + const s = scene(); + for (const els of [[s.element("🚀",{enabled:false})], [s.element("🚀"),s.element("🚀")], [s.element("Sticker",{role:"AXImage"})]]) { + expect(s.api.pressEmoji(els,"🚀",s.request).ok).toBe(false); + expect(s.presses).toEqual([]); + } + }); + test("a search field with the emoji value can never be pressed", () => { + const s = scene(); + expect(s.api.pressEmoji([s.element("",{role:"AXTextField",value:"🚀"})],"🚀",s.request).ok).toBe(false); + expect(s.presses).toEqual([]); + }); + test("focus or original message context changing prevents a press", () => { + for (const options of [{foreground:false},{label:"Message, another target"}]) { + const s = scene(options); + expect(s.api.pressEmoji([s.element("🚀")],"🚀",s.request).ok).toBe(false); + expect(s.presses).toEqual([]); + } + }); + test("context is rechecked after discovering the emoji", () => { + const s = scene(); + const el = s.element("🚀", {afterIdentity: () => s.changeLabel("Message, changed")}); + expect(s.api.pressEmoji([el],"🚀",s.request).ok).toBe(false); + expect(s.presses).toEqual([]); + }); + test("searches only a unique picker and selects only an exact result", () => { + const s = scene(); s.set([s.element("🚀")]); + expect(s.api.emojiPicker(s.request)).toEqual({ok:true}); + expect(s.presses).toEqual(["🚀"]); + expect(s.writes()).toBe(0); + }); + test("an unrelated popover never receives even a search query", () => { + const s = scene({label:"Message, other"}); s.set([s.element("🚀")]); + expect(s.api.emojiPicker(s.request).error).toBe("picker-elsewhere"); + expect(s.writes()).toBe(0); + expect(s.presses).toEqual([]); + }); +}); diff --git a/tapbacks.test.ts b/tapbacks.test.ts index 15e37aca..2ce512fa 100644 --- a/tapbacks.test.ts +++ b/tapbacks.test.ts @@ -35,6 +35,18 @@ describe("blip-shim: tapbacks=on gates imsg-react", () => { } }); + test("replies have their own gate, and tapbacks=on does not open it", () => { + for (const conf of ["", "replies=off\n", "tapbacks=on\n"]) { + const r = run("imsg-reply", conf); + expect(r.code).toBe(78); + expect(r.err).toContain("replies=on"); + expect(r.log).toBe(""); + } + const r = run("imsg-reply", "replies=on\n"); + expect(r.code).toBe(0); + expect(r.log).toContain("imsg-reply '--guid' 'ABC'"); + }); + test("tapbacks=on passes it through like any bridge tool", () => { for (const conf of ["tapbacks=on\n", "tapbacks=ON\n", 'tapbacks="yes"\n', "tapbacks=1\n"]) { const r = run("imsg-react", conf); @@ -89,6 +101,12 @@ describe("imsg-react: bubble label matching", () => { expect(matches("Ann, a, b, 18:03", "a, b")).toBe(true); }); + test("reaction annotations measured on macOS 27 still match", () => { + expect(matches("Ann, ok, Ann loved this, 18:03", "ok")).toBe(true); + expect(matches("Ann, ok, Ann reacted with 🪿, 18:03", "ok")).toBe(true); + expect(matches("Ann, ok, 2 reactions, You laughed at this, Ann loved this, 18:03", "ok")).toBe(true); + }); + test("never a longer text that starts the same way", () => { expect(matches("Ann, ok, see you, 18:03", "ok")).toBe(false); expect(matches("Ann, ok, I loved this, 18:03", "ok")).toBe(false); @@ -108,6 +126,7 @@ describe("message menu: tapbacks", () => { const view = readFileSync(new URL("./BlipView.qml", import.meta.url), "utf8"); const widget = readFileSync(new URL("./BarWidget.qml", import.meta.url), "utf8"); const menu = readFileSync(new URL("./MessageMenu.qml", import.meta.url), "utf8"); + const picker = readFileSync(new URL("./ReactionPicker.qml", import.meta.url), "utf8"); test("off by default, from the same parser as the tests above", () => { expect(widget).toContain("property bool tapbacks: false"); @@ -123,14 +142,19 @@ describe("message menu: tapbacks", () => { expect(view).toContain("if (root.tapbacksBusy || !root.tapbacksOn || !hostWidget || !TapbackActions.canTapback(message, root.activeIsGroup)) return"); expect(widget).toContain("if (reactProc.running) return false"); expect(menu).toContain("visible: menu.tapbacksShown"); - expect(menu).toContain("enabled: !menu.tapbacksBusy"); + expect(menu).toContain("busy: menu.tapbacksBusy"); + expect(picker).toContain("enabled: !picker.busy"); }); test("spawned through the conversation's source, add or remove decided by tapback-actions.ts", () => { expect(view).toContain('SourceId.bridgeArgv(chat, "imsg-react", hostWidget.binDir)'); // the pending pill and the tool are told the same thing expect(view).toContain("TapbackActions.pendingTapback(chat, String(message.guid), kind, current)"); - expect(view).toContain("TapbackActions.tapbackArgs(String(message.guid), kind, current)"); + expect(view).toContain("TapbackActions.tapbackRequest(String(message.guid), kind, current)"); + expect(view).toContain('if (!request) { root.note = "That reaction is not supported"; return }'); + expect(view).toContain("hostWidget.runTapback(chat, argv, request.stdin)"); + expect(widget).toContain("if (body) reactProc.write(body)"); + expect(widget).toContain("reactProc.stdinEnabled = false"); }); test("keyboard: Ctrl+E on the selected bubble opens the menu, 1–6 in it pick a tapback", () => { @@ -146,18 +170,20 @@ describe("message menu: tapbacks", () => { expect(menu).toContain("onCurrentIndexChanged: if (menu.currentIndex === 0 && menu.tapbacksShown) tapbackStrip.forceActiveFocus()"); expect(menu).toContain(" activeFocusOnTab: menu.tapbacksShown"); expect(menu.indexOf("id: tapbackStrip")).toBeLessThan(menu.indexOf("MenuItem {")); - expect(menu).toContain("var kind = marked ? TapbackActions.TAPBACKS[tapbackStrip.cursor].kind : TapbackActions.tapbackForKey(event.text)"); + expect(picker).toContain("var kind = marked ? TapbackActions.TAPBACKS[cursor].kind : TapbackActions.tapbackForKey(event.text)"); // the number keys go through the same signal and busy gate as a click - const strip = menu.slice(menu.indexOf("Keys.onPressed"), menu.indexOf("Row {")); - expect(strip).toContain("menu.pickTapback(kind)"); - expect(menu).toContain("onTapped: menu.pickTapback(tapbackCell.modelData.kind)"); + const strip = picker.slice(picker.indexOf("Keys.onPressed"), picker.indexOf("contentItem: Column")); + expect(strip).toContain("choose(kind)"); + expect(menu).toContain("onChosen: function(kind) { menu.pickTapback(kind) }"); + expect(picker).toContain("else picker.choose(entry.kind)"); const pick = menu.slice(menu.indexOf("function pickTapback"), menu.indexOf("onOpened:")); expect(pick.indexOf("if (menu.tapbacksBusy) return")).toBeLessThan(pick.indexOf("menu.tapbackRequested(kind)")); // Left/Right mark one along the row, Enter/Space pick it; unmarked, Enter stays the menu's - expect(strip).toContain("tapbackStrip.cursor = TapbackActions.moveTapbackCursor(tapbackStrip.cursor, event.key === Qt.Key_Right ? 1 : -1)"); - expect(strip).toContain("var marked = tapbackStrip.cursor >= 0 && (event.key === Qt.Key_Return || event.key === Qt.Key_Enter || event.key === Qt.Key_Space)"); - expect(menu).toContain("tapbackStrip.cursor = TapbackActions.initialTapbackCursor(menu.myTapback, menu.keyHints)"); - expect(menu).toContain("readonly property bool marked: tapbackStrip.activeFocus && tapbackStrip.cursor === index"); + expect(strip).toContain("cursor = TapbackActions.moveTapbackCursor(cursor, event.key === Qt.Key_Right ? 1 : -1, 7)"); + expect(strip).toContain("var marked = cursor >= 0 && (event.key === Qt.Key_Return || event.key === Qt.Key_Enter || event.key === Qt.Key_Space)"); + expect(menu).toContain("tapbackStrip.reset(menu.keyHints)"); + expect(picker).toContain("cursor = TapbackActions.initialTapbackCursor(currentKind, keyboard)"); + expect(picker).toContain("picker.activeFocus && picker.cursor === classic.index"); }); test("an open menu survives a reload and follows its message (Ctrl+E while a tapback lands)", () => { @@ -216,8 +242,11 @@ describe("message menu: tapbacks", () => { expect(view).toContain("if (root.threadTapbackDone && root.pendingTapback && root.pendingTapback.chat === root.threadRunningChat) {"); // the text bubble's pill and the room left for it both draw through shownTapbacks expect(view).toContain("readonly property var shownTapbacks: TapbackActions.shownTapbacks(modelData, root.pendingTapback)"); - expect(view).toContain("TapbackPill { mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks }"); - expect(view).toContain("+ (bubbleRow.shownTapbacks.length > 0 ? Style.space(12) : 0)"); - expect(view).toContain("opacity: (tapbacks || []).some(function(t) { return t.pending === true }) ? 0.45 : 1"); + expect(view).toContain("TapbackPill { mine: bubbleRow.mine; tapbacks: bubbleRow.shownTapbacks; stickers: bubbleRow.shownReactionStickers; message: bubbleRow.modelData;"); + expect(view).toContain("readonly property bool hasReactions: shownTapbacks.length > 0 || shownReactionStickers.length > 0"); + expect(view).toContain("+ (bubbleRow.hasReactions ? Style.space(26) : 0)"); + expect(view).toContain("component TapbackPill: ReactionBadge"); + const badge = readFileSync(new URL("./ReactionBadge.qml", import.meta.url), "utf8"); + expect(badge).toContain("opacity: (tapbacks || []).some(function(t) { return t.pending === true }) ? 0.45 : 1"); }); }); diff --git a/thread.test.ts b/thread.test.ts index 199bdc63..25f5f2de 100644 --- a/thread.test.ts +++ b/thread.test.ts @@ -15,7 +15,8 @@ import { minutesBetween, parsePendingSends, pendingBubble, - receiptLabel, + readReceipt, + replyAttachmentLabel, selectThread, withPendingSends, } from "./thread"; @@ -183,7 +184,8 @@ describe("decorate", () => { ); expect(b[0]!.day).toBe("28.08"); expect(b[0]!.time).toBe("16:42"); - expect(b[0]!.receipt).toBe("Read 28.08 16:45"); + expect(b[0]!.receipt).toBe("Read"); + expect(b[0]!.receiptDetail).toBe("28.08"); }); test("consecutive messages from one sender form a single group", () => { @@ -199,12 +201,12 @@ describe("decorate", () => { expect(b.map((x) => x.groupEnd)).toEqual([false, false, true]); }); - test("only the last bubble of a group carries a timestamp", () => { + test("every bubble in a group carries its own time for the reveal", () => { const b = decorate( [msg({ ts: "2026-08-30T12:00:00Z" }), msg({ ts: "2026-08-30T12:01:00Z" })], today, ); - expect(b[0]!.time).toBe(""); + expect(b[0]!.time).toBe("12:00 PM"); expect(b[1]!.time).toBe("12:01 PM"); }); @@ -527,22 +529,89 @@ describe("linkify", () => { describe("rich decoration", () => { const today = "2026-08-31"; - test("receipt lands only on the NEWEST read from-me bubble", () => { + test("the status line sits only under your newest message", () => { const out = decorate( [ msg({ ts: "2026-08-31T10:00:00Z", from_me: true, read_at: "2026-08-31T10:00:30Z" }), msg({ ts: "2026-08-31T10:05:00Z", from_me: false }), msg({ ts: "2026-08-31T10:06:00Z", from_me: true, read_at: "2026-08-31T10:07:12Z" }), - msg({ ts: "2026-08-31T10:08:00Z", from_me: true }), // sent, not yet read + msg({ ts: "2026-08-31T10:08:00Z", from_me: true, delivered: true }), ], today, ); - expect(out.map((b) => b.receipt)).toEqual(["", "", "Read 10:07 AM", ""]); + expect(out.map((b) => b.receipt)).toEqual(["", "", "", "Delivered"]); + }); + + test("Read takes the place of Delivered without changing the line's height", () => { + const base = { ts: "2026-08-31T10:08:00Z", from_me: true, delivered: true }; + const before = decorate([msg(base)], today)[0]!; + const after = decorate([msg({ ...base, read_at: "2026-08-31T16:42:00Z" })], today)[0]!; + expect([before.receipt, before.receiptDetail, before.receiptSlot]).toEqual(["Delivered", "", true]); + expect([after.receipt, after.receiptDetail, after.receiptSlot]).toEqual(["Read", "4:42 PM", true]); + }); + + test("the line is held open before delivery, but only at the end of the thread", () => { + const sent = msg({ ts: "2026-08-31T10:08:00Z", from_me: true }); + expect(decorate([sent], today)[0]).toMatchObject({ receipt: "", receiptSlot: true }); + const replied = decorate([sent, msg({ ts: "2026-08-31T10:09:00Z", from_me: false })], today); + expect(replied[0]).toMatchObject({ receipt: "", receiptSlot: false }); + expect(replied[1]).toMatchObject({ receipt: "", receiptSlot: false }); + }); + + test("a failed, unsent or scheduled message gets no status line", () => { + const failed = msg({ ts: "2026-08-31T10:08:00Z", from_me: true, delivered: true, error: 22 }); + expect(decorate([failed], today)[0]).toMatchObject({ receipt: "", receiptSlot: false }); + const read = { ts: "2026-08-31T10:00:00Z", from_me: true, read_at: "2026-08-31T16:42:00Z" }; + const unsent = msg({ ts: "2026-08-31T10:08:00Z", from_me: true, retracted: true }); + expect(decorate([msg(read), unsent], today).map((b) => b.receipt)).toEqual(["Read", ""]); + const later = msg({ ts: "2026-09-01T10:08:00Z", from_me: true, scheduled: true }); + expect(decorate([msg(read), later], today).map((b) => b.receipt)).toEqual(["Read", ""]); + }); + + test("a read receipt keeps the clock today and only the day before that", () => { + expect(readReceipt("2026-08-31T16:42:00Z", today)).toEqual({ receipt: "Read", receiptDetail: "4:42 PM" }); + expect(readReceipt("2026-08-30T21:03:00Z", today)).toEqual({ receipt: "Read", receiptDetail: "Yesterday" }); + }); + + test("a self-thread keeps the sent row's status when its two rows fold into one", () => { + const ts = "2026-08-31T10:08:00Z"; + const sent = msg({ ts, id: 2, from_me: true, text: "note", chat: "me", handle: "me", delivered: true, read_at: "2026-08-31T10:08:02Z" }); + const echo = msg({ ts, id: 1, from_me: false, text: "note", chat: "me", handle: "me" }); + const one = dedupeSelfEcho([echo, sent], ["me"]); + expect(one).toHaveLength(1); + expect(one[0]).toMatchObject({ from_me: true, delivered: true, read_at: "2026-08-31T10:08:02Z" }); + const emptySent = { ...sent, text: "" }; + const two = dedupeSelfEcho([echo, emptySent], ["me"]); + expect(two).toHaveLength(1); + expect(two[0]).toMatchObject({ from_me: true, delivered: true, read_at: "2026-08-31T10:08:02Z" }); + }); + + test("a reply to a picture names the picture where there is no text to quote", () => { + const photo = { id: "9", name: "IMG_1.heic", mime: "image/heic", bytes: 5 }; + const b = decorate([msg({ reply_to: { text: "", from_me: true, attachment: photo } })], today)[0]!; + expect(b).toMatchObject({ replyText: "Photo", replyMine: true, replyAttachment: photo }); + const captioned = decorate([msg({ reply_to: { text: "look", from_me: false, attachment: photo } })], today)[0]!; + expect(captioned).toMatchObject({ replyText: "look", replyAttachment: null }); + expect(replyAttachmentLabel({ name: "a.mov", mime: "video/quicktime", bytes: 1 })).toBe("Video"); + expect(replyAttachmentLabel({ name: "a.m4a", mime: "audio/mp4", bytes: 1 })).toBe("Audio message"); + expect(replyAttachmentLabel({ name: "a.pdf", mime: "application/pdf", bytes: 1 })).toBe("a.pdf"); + }); + + test("a pending reply keeps its context through a reload", () => { + const send = { chat: "1", text: "b", ts: "2026-08-31T10:02:00Z", replyText: "Photo", replyMine: false, + replyAttachment: { id: "9", name: "x.png", mime: "image/png", bytes: 1 } }; + const { bubbles } = withPendingSends([], [send], today, undefined, Date.parse(send.ts)); + expect(bubbles[0]).toMatchObject({ replyText: "Photo", replyAttachment: { id: "9" } }); }); - test("receipt from an earlier day carries the day label", () => { - expect(receiptLabel("2026-08-30T21:03:00Z", today)).toBe("Read Yesterday 9:03 PM"); - expect(receiptLabel("2026-08-31T16:42:00Z", today)).toBe("Read 4:42 PM"); + test("a send in flight takes over the status line from the message before it", () => { + const real = decorate([msg({ ts: "2026-08-31T10:00:00Z", from_me: true, text: "a", read_at: "2026-08-31T10:01:00Z" })], today); + const send = { chat: "1", text: "b", ts: "2026-08-31T10:02:00Z" }; + const now = Date.parse(send.ts); + const { bubbles } = withPendingSends(real, [send], today, undefined, now); + expect(bubbles.map((b) => [b.receipt, b.receiptSlot])).toEqual([["", false], ["Sending…", true]]); + const failed = withPendingSends(real, [{ ...send, failed: true }], today, undefined, now).bubbles; + expect(failed.map((b) => [b.receipt, b.receiptSlot])).toEqual([["", false], ["", false]]); }); test("link-preview payload pseudo-attachments are filtered out", () => { @@ -635,8 +704,8 @@ describe("pending sends (the bubble drawn before the Mac writes the row)", () => expect(mine!.time).toBe("12:00 PM"); expect(mine!.day).toBe(""); // same day as the bubble before it expect(mine!.groupStart).toBe(false); - expect(prev!.groupEnd).toBe(false); // the run continues, so the older bubble loses its time - expect(prev!.time).toBe(""); + expect(prev!.groupEnd).toBe(false); // the run continues; the older bubble keeps its own time + expect(prev!.time).not.toBe(""); expect(r.pending).toEqual([send()]); }); diff --git a/thread.ts b/thread.ts index 9ff6b5c7..f256539c 100644 --- a/thread.ts +++ b/thread.ts @@ -13,6 +13,7 @@ import { homedir } from "node:os"; import { spawnSync } from "node:child_process"; import { readFileSync } from "node:fs"; +import { normalizeStickerAttachment, normalizeStickerOverlays, type StickerOverlay } from "./stickers"; import { chatKey, dedupeSelfEcho, @@ -72,17 +73,28 @@ export interface Bubble { groupStart: boolean; /** Last bubble of a run — carries the timestamp, like iMessage. */ groupEnd: boolean; - /** "9:41 PM" (or whatever `timeFormat` says), shown only on groupEnd. */ + /** "9:41 PM" (or whatever `timeFormat` says), revealed by a sideways swipe. */ time: string; - /** "Read 4:42 PM" — only on the NEWEST read from-me bubble, like iMessage. */ + /** "Read", "Delivered" or "Sending…", on your newest message only. */ receipt: string; + /** Drawn lighter after the receipt: "4:42 PM" today, "Yesterday" before. */ + receiptDetail: string; + /** Hold the receipt's line open even while it is empty, so the transcript + * does not move when the status first appears. */ + receiptSlot: boolean; /** Reactions folded onto this bubble; [] when none. */ tapbacks: Tapback[]; /** Attachment chips ("📷 IMG_4502.png"); metadata only, files stay on the Mac. */ attachments: AttachmentMeta[]; + /** Stickers placed on this message, independent of the sender's tapback. */ + stickers: StickerOverlay[]; + /** Additional decorations omitted from the bounded render tree. */ + stickersOverflow: number; /** Inline-reply context: the quoted snippet, "" when not a reply. */ replyText: string; replyMine: boolean; + /** The file a reply answers, when the original has no text to quote. */ + replyAttachment: AttachmentMeta | null; edited: boolean; /** Rich-link preview card, null when the message has none. */ link: LinkCard | null; @@ -98,7 +110,7 @@ export interface Bubble { * rendered as a red "Not Delivered" tag. */ failed: boolean; /** Drawn the moment Enter was pressed, before the Mac has written the row; - * "Sending…" replaces the time. Absent on every real bubble. */ + * "Sending…" takes the status line. Absent on every real bubble. */ pending?: boolean; /** A Send Later message still waiting on the Mac: "Scheduled for Tomorrow * 6:00 PM" replaces the time, and it is never counted as seen. */ @@ -111,7 +123,17 @@ export interface Bubble { /** A send in flight: what was typed, where, and when Enter was pressed * (the wire format, UTC — it is compared against real message stamps). * Lives in BarWidget memory only. */ -export interface PendingSend { chat: string; text: string; ts: string; localId?: string; failed?: boolean; failureReason?: string } +export interface PendingSend { + chat: string; + text: string; + ts: string; + localId?: string; + failed?: boolean; + failureReason?: string; + replyText?: string; + replyMine?: boolean; + replyAttachment?: AttachmentMeta | null; +} export interface ThreadOutput { ok: boolean; @@ -277,10 +299,13 @@ export function minutesBetween(a: string, b: string): number { export function decorate(msgs: ImsgMessage[], today: string, formats = DEFAULT_FORMATS): Bubble[] { const out: Bubble[] = []; - // iMessage shows "Read" under only the newest read message you sent. + // One status line, under your newest message. Keeping an older "Read" while + // a newer message is only "Delivered" would make the line vanish from the + // older bubble when the newer one is read, shifting the transcript. let receiptIdx = -1; for (let i = msgs.length - 1; i >= 0; i--) { - if (msgs[i]!.from_me && msgs[i]!.read_at) { receiptIdx = i; break; } + const m = msgs[i]!; + if (m.from_me && !m.retracted && !m.scheduled) { receiptIdx = i; break; } } for (let i = 0; i < msgs.length; i++) { @@ -307,6 +332,7 @@ export function decorate(msgs: ImsgMessage[], today: string, formats = DEFAULT_F localDay(next.ts) !== localDay(m.ts) || !sameSender(m, next) || minutesBetween(m.ts, next.ts) > GROUP_GAP_MINUTES; + const stickerState = normalizeStickerOverlays(m.stickers); out.push({ ts: m.ts, @@ -320,15 +346,16 @@ export function decorate(msgs: ImsgMessage[], today: string, formats = DEFAULT_F day: newDay ? dayLabel(m.ts, today, formats) : "", groupStart, groupEnd, - time: groupEnd ? clockLabel(m.ts, formats.time) : "", - receipt: i === receiptIdx ? receiptLabel(m.read_at!, today, formats) : "", + time: clockLabel(m.ts, formats.time), + ...receiptFor(i === receiptIdx ? m : null, i === msgs.length - 1, today, formats), tapbacks: m.tapbacks ?? [], // Belt to imsg 1.5.1's suspenders: link-preview payloads are not files. attachments: (m.attachments ?? []).filter( (a) => !String(a.name || "").endsWith(".pluginPayloadAttachment"), - ), - replyText: m.reply_to?.text ?? "", - replyMine: m.reply_to?.from_me ?? false, + ).map(normalizeStickerAttachment), + stickers: m.retracted ? [] : stickerState.stickers, + stickersOverflow: m.retracted ? 0 : stickerState.overflow, + ...replyContext(m), edited: m.edited === true, link: normalizeLink(m.link), retracted: m.retracted === true, @@ -403,7 +430,7 @@ const PENDING_SKEW_MS = PENDING_MAX_AGE_MS; /** The bubble for a send in flight, decorated against the bubble before it * the way decorate() would: same run when it follows one of yours within - * the gap (that bubble then loses its time), a day divider when it starts one. */ + * the gap, a day divider when it starts one. */ export function pendingBubble(prev: Bubble | undefined, send: PendingSend, today: string, formats = DEFAULT_FORMATS): { bubble: Bubble; prev: Bubble | undefined } { const ts = send.ts; const newDay = !prev || localDay(prev.ts) !== localDay(ts); @@ -417,11 +444,16 @@ export function pendingBubble(prev: Bubble | undefined, send: PendingSend, today groupStart, groupEnd: true, time: clockLabel(ts, formats.time), - receipt: "", + receipt: send.failed === true ? "" : "Sending…", + receiptDetail: "", + receiptSlot: send.failed !== true, tapbacks: [], attachments: [], - replyText: "", - replyMine: false, + stickers: [], + stickersOverflow: 0, + replyText: send.replyText ?? "", + replyMine: send.replyMine ?? false, + replyAttachment: send.replyAttachment ?? null, edited: false, link: null, retracted: false, @@ -433,7 +465,7 @@ export function pendingBubble(prev: Bubble | undefined, send: PendingSend, today ...(send.localId ? { localId: send.localId } : {}), ...(send.failureReason ? { failureReason: send.failureReason } : {}), }; - return { bubble, prev: prev && !groupStart ? { ...prev, groupEnd: false, time: "" } : prev }; + return { bubble, prev: prev && !groupStart ? { ...prev, groupEnd: false } : prev }; } /** @@ -464,8 +496,14 @@ export function withPendingSends(bubbles: Bubble[], pending: PendingSend[], toda } if (hit >= 0) taken.add(hit); else open.push(p); } - const out = bubbles.slice(); + // The status line belongs to the newest message, which is now a pending one. + const out = open.length === 0 ? bubbles.slice() : bubbles.map((b) => b.receipt || b.receiptSlot + ? { ...b, receipt: "", receiptDetail: "", receiptSlot: false } : b); for (const p of open) { + if (out.length > 0) { + const last = out[out.length - 1]!; + if (last.pending) out[out.length - 1] = { ...last, receipt: "", receiptSlot: false }; + } const { bubble, prev } = pendingBubble(out[out.length - 1], p, today, formats); if (prev && out.length) out[out.length - 1] = prev; out.push(bubble); @@ -483,12 +521,37 @@ export function parsePendingSends(raw: string): PendingSend[] { } catch { return []; } } -/** "Read 4:42 PM" today, "Read Yesterday 9:03 AM" otherwise. */ -export function receiptLabel(readAt: string, today: string, formats = DEFAULT_FORMATS): string { +/** What a reply context says when the original was only a file. */ +export function replyAttachmentLabel(att: AttachmentMeta): string { + const mime = String(att.mime || "").toLowerCase(); + if (mime.startsWith("image/")) return "Photo"; + if (mime.startsWith("video/")) return "Video"; + if (mime.startsWith("audio/")) return "Audio message"; + return String(att.name || "") || "Attachment"; +} + +function replyContext(m: ImsgMessage): Pick { + const text = (m.reply_to?.text ?? "").replace(//g, "").trim(); + const attachment = text === "" ? m.reply_to?.attachment ?? null : null; + return { + replyText: text || (attachment ? replyAttachmentLabel(attachment) : ""), + replyMine: m.reply_to?.from_me ?? false, + replyAttachment: attachment, + }; +} + +/** "Read" and its lighter detail: the clock today, just the day before that. */ +export function readReceipt(readAt: string, today: string, formats = DEFAULT_FORMATS): { receipt: string; receiptDetail: string } { const clock = clockLabel(readAt, formats.time); - if (!clock) return "Read"; + if (!clock) return { receipt: "Read", receiptDetail: "" }; const day = dayLabel(readAt, today, formats); - return day === "Today" ? `Read ${clock}` : `Read ${day} ${clock}`; + return { receipt: "Read", receiptDetail: day === "Today" ? clock : day }; +} + +function receiptFor(m: ImsgMessage | null, last: boolean, today: string, formats: typeof DEFAULT_FORMATS): Pick { + if (!m || (m.error ?? 0) !== 0) return { receipt: "", receiptDetail: "", receiptSlot: false }; + if (m.read_at) return { ...readReceipt(m.read_at, today, formats), receiptSlot: last }; + return { receipt: m.delivered ? "Delivered" : "", receiptDetail: "", receiptSlot: last }; } /** Local calendar date — toISOString() is UTC and flips "Today" at 8pm EDT. */ diff --git a/tier2.test.ts b/tier2.test.ts index 64e249ba..5a93d980 100644 --- a/tier2.test.ts +++ b/tier2.test.ts @@ -910,7 +910,9 @@ describe("multi-photo messages and the preview transform (#Crystal/Thatchers)", const panelSrc = readFileSync(new URL("./BlipView.qml", import.meta.url), "utf8"); expect(panelSrc).toContain("for (var j = 0; j < atts.length; j++)"); expect(panelSrc).toContain("b <= root.autoFetchMaxSource"); - expect(panelSrc).not.toContain("b <= 5 * 1024 * 1024"); + // Photos retain the larger source allowance; only audio has the lower + // automatic transfer gate, since it is not resampled by the Mac. + expect(panelSrc).toContain("&& (!audio || b <= 5 * 1024 * 1024)"); }); }); diff --git a/time-reveal.test.ts b/time-reveal.test.ts new file mode 100644 index 00000000..1d524d77 --- /dev/null +++ b/time-reveal.test.ts @@ -0,0 +1,58 @@ +import { expect, test } from "bun:test"; +import { readFileSync } from "node:fs"; +import { ABANDON_MS, HOLD_OPEN_MS, idleGesture, nextOffset, routeWheel, settleDelay } from "./time-reveal"; +import * as runtime from "./TimeReveal.mjs"; + +function run(events: [number, number][]) { + let gesture = idleGesture(), dx = 0, dy = 0; + for (const [x, y] of events) { + const routed = routeWheel(gesture, x, y); + gesture = routed.gesture; dx += routed.dx; dy += routed.dy; + } + return { axis: gesture.axis, dx, dy }; +} + +test("a sideways swipe commits to x and never scrolls the transcript", () => { + expect(run([[-4, 0], [-4, 1], [-4, 0], [-30, 6]])).toEqual({ axis: "x", dx: -42, dy: 1 }); +}); + +test("a vertical scroll with drift keeps every vertical delta and never reveals", () => { + expect(run([[1, 8], [-3, 12], [-6, 20], [-40, 20]])).toEqual({ axis: "y", dx: 0, dy: 60 }); +}); + +test("one hi-res wheel notch commits immediately on either axis", () => { + expect(run([[-120, 0]])).toEqual({ axis: "x", dx: -120, dy: 0 }); + expect(run([[0, -120]])).toEqual({ axis: "y", dx: 0, dy: -120 }); +}); + +test("non-finite deltas are treated as no movement", () => { + expect(run([[NaN, Infinity]])).toEqual({ axis: "", dx: 0, dy: 0 }); + expect(nextOffset(NaN, NaN, 72)).toBe(0); +}); + +test("the offset follows the swipe and stays within the time column", () => { + expect(nextOffset(0, -30, 72)).toBe(30); + expect(nextOffset(30, 10, 72)).toBe(20); + expect(nextOffset(70, -30, 72)).toBe(72); + expect(nextOffset(5, 30, 72)).toBe(0); + expect(nextOffset(5, -30, 0)).toBe(0); +}); + +test("a committed reveal stays readable and an abandoned one closes", () => { + expect(settleDelay(72, 72)).toBe(HOLD_OPEN_MS); + expect(settleDelay(36, 72)).toBe(HOLD_OPEN_MS); + expect(settleDelay(20, 72)).toBe(ABANDON_MS); + expect(settleDelay(0, 0)).toBe(ABANDON_MS); +}); + +test("the QML module matches its TypeScript source", () => { + expect(runtime.routeWheel(idleGesture(), -12, 0)).toEqual(routeWheel(idleGesture(), -12, 0)); + expect(runtime.nextOffset(10, -5, 72)).toBe(nextOffset(10, -5, 72)); + expect(runtime.settleDelay(72, 72)).toBe(settleDelay(72, 72)); +}); + +test("the conversation uses the swipe and no longer shows a time tooltip", () => { + const view = readFileSync(new URL("./BlipView.qml", import.meta.url), "utf8"); + expect(view).toContain("timeReveal.route(sideways, vertical)"); + expect(view).not.toContain("ToolTip.text: String(modelData.time"); +}); diff --git a/time-reveal.ts b/time-reveal.ts new file mode 100644 index 00000000..b4b4193f --- /dev/null +++ b/time-reveal.ts @@ -0,0 +1,45 @@ +/** Sideways-swipe gesture behind the Messages-style timestamp reveal. + * + * Wheel events carry no "fingers down" signal on this stack, so a gesture is + * a burst of events: the QML side resets it after a short idle. One burst + * commits to one axis, so a vertical scroll with some sideways drift never + * nudges the transcript and a sideways swipe never scrolls it. */ +export interface WheelGesture { axis: "" | "x" | "y"; x: number; y: number } +export interface WheelRoute { gesture: WheelGesture; dx: number; dy: number } + +const COMMIT_PX = 10; +const X_DOMINANCE = 1.5; +/** How long a swipe stays open once the events stop, so the times can be read. */ +export const HOLD_OPEN_MS = 1400; +/** A partial swipe that was abandoned closes almost immediately. */ +export const ABANDON_MS = 160; + +export function idleGesture(): WheelGesture { return { axis: "", x: 0, y: 0 }; } + +/** Route one wheel delta. Vertical passes through until the burst commits to + * sideways, keeping scrolling 1:1; sideways is withheld until it commits. */ +export function routeWheel(gesture: WheelGesture, dx: number, dy: number): WheelRoute { + const x = Number.isFinite(dx) ? dx : 0; + const y = Number.isFinite(dy) ? dy : 0; + if (gesture.axis === "x") return { gesture, dx: x, dy: 0 }; + if (gesture.axis === "y") return { gesture, dx: 0, dy: y }; + const sumX = gesture.x + x; + const sumY = gesture.y + y; + if (Math.abs(sumX) >= COMMIT_PX && Math.abs(sumX) > Math.abs(sumY) * X_DOMINANCE) + return { gesture: { axis: "x", x: sumX, y: sumY }, dx: sumX, dy: 0 }; + if (Math.abs(sumY) >= COMMIT_PX && Math.abs(sumY) >= Math.abs(sumX)) + return { gesture: { axis: "y", x: sumX, y: sumY }, dx: 0, dy: y }; + return { gesture: { axis: "", x: sumX, y: sumY }, dx: 0, dy: y }; +} + +/** A negative Qt x delta moves content left, which is the reveal direction. The + * sign is the delta's rather than the fingers', so it honors natural scrolling. */ +export function nextOffset(offset: number, dx: number, maxOffset: number): number { + const max = Number.isFinite(maxOffset) && maxOffset > 0 ? maxOffset : 0; + const next = (Number.isFinite(offset) ? offset : 0) - (Number.isFinite(dx) ? dx : 0); + return Math.max(0, Math.min(max, next)); +} + +export function settleDelay(offset: number, maxOffset: number): number { + return maxOffset > 0 && offset >= maxOffset / 2 ? HOLD_OPEN_MS : ABANDON_MS; +} diff --git a/ui.test.ts b/ui.test.ts index daf675e5..e6c45759 100644 --- a/ui.test.ts +++ b/ui.test.ts @@ -116,7 +116,10 @@ describe("QML safety invariants", () => { const flick = panel.slice(panel.indexOf("id: composeFlick"), panel.indexOf("id: composeField")); expect(flick).toContain("interactive: false"); // the border is the slot's: inside the flickable it would scroll away - expect(panel).toContain("borderSpec: composeField._composeBorder"); + const slot = panel.slice(panel.indexOf("id: composeSlot"), panel.indexOf("id: composeFlick")); + expect(slot).toContain("GlassSurface {"); + expect(readFileSync(new URL("./GlassSurface.qml", import.meta.url), "utf8")).toContain("border.width: 1"); + expect(slot).toContain("radius: Math.min(height / 2, Style.space(22))"); expect(panel).toContain("background: null"); }); @@ -125,16 +128,20 @@ describe("QML safety invariants", () => { expect(panel).toContain("var completedStamp = root.sendStamp"); // the field clears as Enter is pressed; a failure puts the words back // only when nothing newer has been typed - expect(panel).toContain("if (composeField.text === \"\") composeField.text = completedText"); + expect(panel).toContain("if (composeField.text === \"\") {\n composeField.text = completedText"); }); test("a send shows its bubble at once and reloads carry the in-flight ledger on stdin", () => { expect(panel).toContain("root.bubbles = root.appendPendingBubble(root.bubbles, text, stamp, localId)"); - expect(panel).toContain("root.pendingSends = root.pendingSends.concat([{ chat: chat, text: text, ts: stamp, localId: localId }])"); + expect(panel).toContain("var pendingSend = { chat: chat, text: text, ts: stamp, localId: localId }"); + expect(panel).toContain("root.pendingSends = root.pendingSends.concat([pendingSend])"); + // a reply whose Return went through but is unconfirmed never hands its words back + expect(panel).toContain("} else if (completedReply && code === 76) {"); + expect(panel).toContain('SourceId.bridgeArgv(job.chat, "imsg-reply", binDir).concat(["--guid", job.reply.guid, "--yes", "--text-stdin"])'); expect(panel).toContain('"--pending-stdin"'); expect(panel).toContain("threadProc.write(JSON.stringify(pending))"); expect(panel).toContain("root.failPending(completedChat, completedId, reason, completedText, completedStamp)"); - expect(panel).toContain('modelData.pending === true ? "Sending…"'); + expect(panel).toContain('receipt: "Sending…", receiptDetail: "", receiptSlot: true'); // the read watermark never takes a pending bubble's local-clock stamp expect(panel).toContain("if (list[k].pending === true || list[k].scheduled === true) continue"); }); @@ -398,7 +405,7 @@ describe("QML safety invariants", () => { }); test("split-view active chat has a persistent selected fill independent of the keyboard cursor", () => { - expect(panel).toContain("readonly property color selectedFill: Style.selectedFillFor(foreground, accent)"); + expect(panel).toContain("readonly property color selectedFill: Qt.alpha(accent, 0.28)"); // Both the pinned tiles and chronological rows follow the displayed chat's // identity, not its changing position or whether an editor holds focus. expect(panel.split("readonly property bool selected: root.splitView && root.isShowing(modelData)").length - 1).toBe(2); @@ -515,14 +522,18 @@ describe("QML safety invariants", () => { expect(parseTouchpadScrollGain("scroll_gain=0.25\ntouchpad_scroll_gain=0.5")).toBe(0.5); }); - test("a voice message plays without a window, and the chip toggles it", () => { - // xdg-open gave audio to mpv, which opened an empty black video window. - expect(panel).toContain('if (String(root.fetchJobMime || "").indexOf("audio/") === 0) {'); - expect(panel).toContain("root.toggleAudio(String(d.path || \"\"))"); - expect(panel).toContain("exec mpv --no-video --force-window=no --no-terminal --really-quiet -- \"$1\""); - expect(panel).toContain('"sh", path]'); // the path is an argument, never interpolated - expect(panel).toContain("var same = audioPlayer.running && root.playingAudio === path"); - // clicking away stops it: surface closed, another thread, view destroyed + test("inline voice playback pauses and scopes delayed play intent to its conversation", () => { + expect(panel).toContain("AudioMessage {"); + expect(panel).toContain('root.enqueueFetch(att, "audio-play", false)'); + expect(panel).toContain("root.audioPlaying = !root.audioPlaying"); + expect(panel).toContain("String(root.active.chat) === root.pendingAudioChat"); + expect(panel).toContain("root.settleAudioFetch(id, d.ok === true, d.error)"); + expect(panel).toContain("resetToken: root.audioResetToken"); + expect(panel).toContain("metadata.playable === true"); + expect(panel).toContain("focusedAudio !== null || focusedReaction !== null || actionFocused"); + expect(panel).toContain("if (root.playingAudio === chipRow.attId) root.stopAudio()"); + expect(panel).not.toContain("exec mpv"); + // Closing, navigating and destruction stop playback and cancel pending fetch intent. expect(panel).toContain("if (!surfaceOpen) root.stopAudio()"); expect(panel).toContain("root.stopAudio() // another conversation"); expect(panel).toContain("Component.onDestruction: root.stopAudio()"); @@ -559,7 +570,7 @@ describe("QML safety invariants", () => { expect(panel).toContain("readonly property color hoverFill: Style.hoverFillFor(foreground, accent)"); expect(panel).not.toContain("foreground.b, 0.08)"); expect(panel).toContain("onHasCursorChanged: if (hasCursor) root.bubbleCursorItem = bubbleRow"); - expect(panel).toContain("if (root.bubbleCursor >= 0) root.leaveBubbles(); else root.back()"); + expect(panel).toContain("if (root.bubbleCursor >= 0) root.leaveBubbles(); else if (root.replyTarget) root.replyTarget = null; else root.back()"); const move = qmlFunction("moveBubbleCursor"); expect(move).toContain("bubbleCursor = n - 1"); // Up from nothing = newest expect(move).toContain("leaveBubbles()"); // Down past newest = same exit as Esc @@ -580,7 +591,7 @@ describe("QML safety invariants", () => { expect(save).toContain("MessageActions.saveableMime(att.mime)"); expect(save).toContain('enqueueFetch(att, "save")'); // a gesture on a queued auto-pull drops its cap, so the ORIGINAL is fetched - expect(qmlFunction("enqueueFetch")).toContain("fetchQueue[i].auto = false"); + expect(qmlFunction("enqueueFetch")).toContain('fetchQueue[i].auto = action === "preview"'); // path and name ride as arguments to the script; nothing is executed or opened expect(panel).toContain('saveProc.command = ["bun", root.saveAttachmentScript, String(d.path || ""), root.fetchJobName]'); const menu = readFileSync(new URL("./MessageMenu.qml", import.meta.url), "utf8"); @@ -604,12 +615,11 @@ describe("QML safety invariants", () => { // HEIC arrives as JPEG (fetch.ts wantsJpeg): the clipboard type must say so expect(panel).toContain('root.fetchJobMime === "image/heic" || root.fetchJobMime === "image/heif" ? "image/jpeg"'); // the inline preview stays put while the original is fetched for the clipboard (or a save) - expect(panel).toContain('var keepInline = (root.fetchJobAction === "copy" || root.fetchJobAction === "save") && !!root.attFiles[id]'); + expect(panel).toContain('var keepInline = ((root.fetchJobAction === "copy" || root.fetchJobAction === "save") && !!root.attFiles[id]) || (root.fetchJobSticker && root.fetchJobAction === "open")'); expect(panel).not.toContain("fetchJobOpen"); expect(qmlFunction("quoteBubble")).toContain("leaveBubbles()"); - // Empty status does not reserve a row; only failures are red. - expect(panel).toContain('visible: root.note !== ""'); - expect(panel).toContain("color: calm ? root.dim : root.urgent"); + // Status floats over the view (notices.ts) and never reserves a row. + expect(panel).toContain("Notices.activeNotices(root.note"); // secondary text dims by alpha, which reads right on light and dark themes alike; // Qt.darker on the foreground only works on a dark one expect(panel).toContain("readonly property color dim: appearance.muted"); @@ -755,7 +765,9 @@ describe("QML safety invariants", () => { describe("media renders at its intended scale", () => { test("attachment sizing honours the header pixel density from fetch.ts", () => { expect(panel).toContain("Number(chipRow.imageMetrics.pixelWidth) / pixelRatio"); - expect(panel).toContain("Math.min(maxW, naturalWidth)"); + expect(panel).toContain("Math.min(maxW, naturalWidth, maxH * naturalWidth / naturalHeight)"); + expect(panel).toContain("readonly property real maxH: Style.space(240)"); + expect(panel).toContain("Layout.preferredWidth * naturalHeight / naturalWidth"); }); test("message links inherit the bubble's text color", () => { @@ -820,12 +832,15 @@ test("outgoing bubbles are always iMessage blue with white text", () => { expect(panel).not.toContain("themeHasAccent"); }); -// The version shows in the header both surfaces share, read live from -// manifest.json by the host — one source, one place, never two numbers. -test("the header shows the version from manifest.json", () => { +// Version remains host metadata. The conversation UI no longer reserves an +// application banner: its header is the resolved contact identity. +test("the contact header replaces the application status and version banner", () => { expect(widget).toContain('Qt.resolvedUrl("manifest.json")'); expect(widget).toContain("root.version = String(JSON.parse(text()).version"); - expect(panel).toContain("text: root.version"); + expect(panel).not.toContain("text: root.version"); + expect(panel).not.toContain('text: "Blip"'); + expect(panel).toContain("ConversationAppearance.conversationName(root.active)"); + expect(panel).toContain("ConversationAvatar {"); }); // A release bumps three files. If one is missed the badge lies, or the @@ -834,9 +849,9 @@ test("manifest, README badge and CHANGELOG agree on the released version", () => const manifest = JSON.parse(readFileSync(new URL("./manifest.json", import.meta.url), "utf8")).version as string; const readme = readFileSync(new URL("./README.md", import.meta.url), "utf8"); const changelog = readFileSync(new URL("./CHANGELOG.md", import.meta.url), "utf8"); - expect(manifest).toMatch(/^\d+\.\d+\.\d+$/); - expect(readme).toContain(`badge/version-${manifest}-`); - const released = /^## (\d+\.\d+\.\d+)\b/m.exec(changelog); + expect(manifest).toMatch(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z]+(?:[.-][0-9A-Za-z]+)*)?$/); + expect(readme).toContain(`badge/version-${manifest.replace(/-/g, "--")}-`); + const released = /^## (\d+\.\d+\.\d+(?:-[0-9A-Za-z]+(?:[.-][0-9A-Za-z]+)*)?)\b/m.exec(changelog); expect(released?.[1]).toBe(manifest); }); @@ -951,7 +966,8 @@ test("idle remaps do not adopt the focused workspace", () => { expect(window).toContain('runRestore("home", savedWorkspace)'); expect(window).toContain('runRestore("return", savedWorkspace, addr || ourAddress())'); expect(window).toContain('["bun", win.restoreScript, "prepare", win.savedWorkspace]'); - expect(window).toContain("/^Blip( \\([0-9]+\\))?$/.test(title)"); + expect(window).toContain("/^(Messages|Blip( \\([0-9]+\\))?)$/.test(title)"); + expect(window).toContain("Number(t.lastIpcObject.pid) === Quickshell.processId && t.title === win.title"); expect(window).toContain("id: strayReturn"); expect(window).toContain("sameAddress"); }); @@ -961,7 +977,7 @@ test("idle remaps do not adopt the focused workspace", () => { test("share-sheet Escape, search generations, bounded sender labels", () => { // Astra A#7: the share sheet must close before back() (which would clear the // draft under it). #39 adds the bubble selection as a middle step. - expect(panel).toContain('Keys.onEscapePressed: if (root.shareUrl !== "") root.closeShare(); else if (root.bubbleCursor >= 0) root.leaveBubbles(); else root.back()'); + expect(panel).toContain('Keys.onEscapePressed: if (root.shareUrl !== "") root.closeShare(); else if (root.bubbleCursor >= 0) root.leaveBubbles(); else if (root.replyTarget) root.replyTarget = null; else root.back()'); expect(panel).toContain("if (q !== newQueryRan) { newResults = []; newCursor = 0 }"); expect(panel.split("Layout.maximumWidth: Math.max(1, bubbleRow.width - Style.space(40))").length - 1).toBe(2); expect(widget).toContain('return "code expired"'); @@ -979,7 +995,7 @@ test("pinned avatars size through Layout hints, not width bindings", () => { const start = panel.indexOf("id: pinnedAvatar"); expect(start).toBeGreaterThan(-1); const avatar = panel.slice(start, panel.indexOf("radius: width / 2", start)); - expect(avatar).toContain("readonly property real avatarSize: Math.min(88, Math.max(56,"); + expect(avatar).toContain("readonly property real avatarSize: Math.min(76, Math.max(56,"); expect(avatar).toContain("implicitWidth: avatarSize"); expect(avatar).toContain("implicitHeight: avatarSize"); expect(avatar).toContain("Layout.preferredWidth: avatarSize"); @@ -1075,10 +1091,10 @@ test("a thread response taken before a local send or failure cannot replace bubb // A picture-only message has no text bubble, so its tapback pill must live on // the picture (or file chip) itself, through the one shared TapbackPill. test("tapbacks on picture-only messages get a pill on the picture", () => { - expect(panel).toContain("component TapbackPill: Rectangle {"); - expect(panel.split("TapbackPill {").length - 1).toBe(3); // text bubble, picture, file chip + expect(panel).toContain("component TapbackPill: ReactionBadge {"); + expect(panel.split("TapbackPill {").length - 1).toBe(6); // text, picture, file, standalone sticker, voice message, link card expect(panel).toContain('readonly property bool pillHere: index === 0 && String(bubbleRow.modelData.text || "") === ""'); - expect(panel).toContain("+ (pillHere ? Style.space(12) : 0)"); + expect(panel).toContain("+ (pillHere ? Style.space(26) : 0)"); }); test("composer boundary arrows use visual lines and preserve modified keys", () => { const source = readFileSync(new URL("./ComposerInput.qml", import.meta.url), "utf8"); @@ -1218,11 +1234,20 @@ test("a toast click strips the + and falls back to open()", () => { describe("mark all read is not gated on Blip's own unread count", () => { const view = readFileSync(new URL("./BlipView.qml", import.meta.url), "utf8"); - test("the function, the button and its row share one gate that only push_read=off closes", () => { + test("the retained keyboard action respects the push-read gate without a toolbar button", () => { expect(view).toMatch(/readonly property bool canMarkAllRead: root\.online && \(root\.unread > 0 \|\| !hostWidget \|\| hostWidget\.readPush !== "off"\)/); expect(view).toMatch(/function markAllRead\(\) \{\s*if \(!root\.hostWidget \|\| !root\.canMarkAllRead\) return/); - expect(view).toMatch(/id: markAllBtn\s*visible: root\.canMarkAllRead && !root\.searchShowing && !root\.newMode/); - expect(view).toMatch(/\(root\.newMode \|\| root\.canMarkAllRead && !root\.searchShowing\)/); + expect(view).toContain('if (text === "a" || text === "A") { markAllRead(); return true }'); + expect(view).not.toContain("id: markAllBtn"); + }); + + test("Mark All as Read lives in the conversation menu, behind the same gate", () => { + const start = view.indexOf('objectName: "blipMarkAllRead"'); + expect(start).toBeGreaterThan(view.indexOf("id: contactMenu")); + const item = view.slice(start, view.indexOf("}", view.indexOf("onTriggered:", start))); + expect(item).toContain('text: "Mark All as Read"'); + expect(item).toContain("enabled: root.canMarkAllRead"); + expect(item).toContain("onTriggered: root.markAllRead()"); }); test("nothing in the view still short-circuits mark-all on a zero count", () => { @@ -1231,6 +1256,31 @@ describe("mark all read is not gated on Blip's own unread count", () => { }); }); +test("New Message sits across the sidebar divider with a compact popout fallback", () => { + const action = panel.indexOf("id: newMessageButton"); + expect(action).toBeGreaterThan(panel.indexOf("id: conversationPane")); + const headerAction = panel.slice(action, panel.indexOf("onClicked: root.startNew()", action)); + expect(headerAction).toContain("visible: root.splitView && root.online && !root.newMode"); + expect(headerAction).toContain("anchors.left: parent.left"); + expect(headerAction).toContain("anchors.verticalCenter: parent.verticalCenter"); + const actions = panel.indexOf("id: conversationActions"); + expect(panel.slice(actions, panel.indexOf("iconName:", actions))).toContain("anchors.verticalCenter: parent.verticalCenter"); + const compact = panel.indexOf("id: compactNewMessageButton"); + expect(compact).toBeLessThan(panel.indexOf("id: conversationPane")); + expect(panel.slice(compact, compact + 200)).toContain("visible: !root.splitView && root.online && !root.newMode"); + expect(panel).toContain("newMessageButton.activeFocus || compactNewMessageButton.activeFocus"); +}); + +test("composer emoji and send controls share size and bottom alignment", () => { + for (const id of ["attachmentButton", "emojiButton", "sendButton"]) { + const start = panel.indexOf("id: " + id); + const button = panel.slice(start, panel.indexOf("onClicked:", start)); + expect(button).toContain("Layout.alignment: Qt.AlignBottom"); + expect(button).toContain("Layout.bottomMargin: Style.space(1)"); + expect(button).toContain("implicitWidth: Style.space(34)"); + } +}); + // #153: Omarchy 4.0.2 ships an OpticalGlyph with no paintedSize. A QML file that // assigns an unknown property does not compile, and when BarWidget.qml itself // assigned it the whole widget vanished from the bar (Test Drive, 4.0.2). The diff --git a/window-launch.test.ts b/window-launch.test.ts index 9377ca81..2b53e1af 100644 --- a/window-launch.test.ts +++ b/window-launch.test.ts @@ -14,6 +14,8 @@ const args = showApp.split("Quickshell.execDetached(")[1].trim().slice(0, -1); const launch = runInNewContext(args) as string[]; const impostors = [ + { class: "chromium", title: "Messages", address: "0x10" }, + { class: "org.quickshell", title: "Messages documentation", address: "0x15" }, { class: "codex", title: "Blip plugin missing", address: "0x11" }, { class: "chromium", title: "Blip", address: "0x12" }, { class: "org.quickshell", title: "Blip documentation", address: "0x13" }, @@ -48,7 +50,7 @@ esac } describe("Blip window launch identity", () => { - for (const title of ["Blip", "Blip (3)"]) { + for (const title of ["Messages", "Blip", "Blip (3)"]) { test(`shortcut focuses ${title}, not an earlier title match`, () => { expect(run(["sh", "-c", shortcut], title, false)).toEqual([ 'hl.dsp.focus({ window = "address:0x20" })', diff --git a/window-restore.test.ts b/window-restore.test.ts index 55ec5ac3..291d1a75 100644 --- a/window-restore.test.ts +++ b/window-restore.test.ts @@ -37,13 +37,15 @@ test("workspace names cannot inject Lua", () => { }); test("the live home rule matches Blip and Blip (N), not a restore title", () => { + expect(isLiveBlipTitle("Messages")).toBe(true); + expect(isLiveBlipTitle("Messages documentation")).toBe(false); expect(isLiveBlipTitle("Blip")).toBe(true); expect(isLiveBlipTitle("Blip (3)")).toBe(true); expect(isLiveBlipTitle("Blip-restore-abcd-1234")).toBe(false); expect(isLiveBlipTitle("Blip documentation")).toBe(false); const rule = homeRule("2"); expect(rule).toContain('name = "blip-session-home"'); - expect(rule).toContain(`title = ${luaString("^Blip( \\([0-9]+\\))?$")}`); + expect(rule).toContain(`title = ${luaString("^(Messages|Blip( \\([0-9]+\\))?)$")}`); expect(rule).toContain(`workspace = ${luaString("2 silent")}`); expect(homeRule(undefined)).not.toContain("workspace ="); }); diff --git a/window-restore.ts b/window-restore.ts index d8548067..37cb829a 100644 --- a/window-restore.ts +++ b/window-restore.ts @@ -15,7 +15,7 @@ export function workspaceSelector(value: unknown): string | null { } export function isLiveBlipTitle(title: unknown): boolean { - return typeof title === "string" && /^Blip( \([0-9]+\))?$/.test(title); + return typeof title === "string" && /^(Messages|Blip( \([0-9]+\))?)$/.test(title); } export function windowAddress(value: unknown): string | null { @@ -49,7 +49,7 @@ export function restoreRule(workspace: unknown, title: string): string { export function homeRule(workspace: unknown): string { const target = workspaceSelector(workspace); - return `hl.window_rule({ name = "blip-session-home", match = { class = ${luaString("^org\\.quickshell$")}, title = ${luaString("^Blip( \\([0-9]+\\))?$")} }, no_initial_focus = true${target ? `, workspace = ${luaString(target + " silent")}` : ""} })`; + return `hl.window_rule({ name = "blip-session-home", match = { class = ${luaString("^org\\.quickshell$")}, title = ${luaString("^(Messages|Blip( \\([0-9]+\\))?)$")} }, no_initial_focus = true${target ? `, workspace = ${luaString(target + " silent")}` : ""} })`; } export function silentMove(workspace: unknown, address: unknown): string | null {