π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[rust] Compute CLIP memories in ente-photos
laurenspriem3a5798563c27
diff --git a/rust/checks/lint-exceptions/suppressions.json b/rust/checks/lint-exceptions/suppressions.jsonindex efef732c6e..972c37418b 100644--- a/rust/checks/lint-exceptions/suppressions.json+++ b/rust/checks/lint-exceptions/suppressions.json@@ -44,6 +44,7 @@"rust/crates/location/src/dispute.rs": ["clippy::expect_used"],"rust/crates/location/src/lib.rs": ["clippy::expect_used"],"rust/crates/location/src/urban.rs": ["clippy::expect_used"],+ "rust/crates/ml/examples/memories_text_embeddings.rs": ["dead_code"],"rust/crates/ml/examples/ml_goldens.rs": ["dead_code"],"rust/crates/ml/examples/ocr.rs": ["dead_code"],"rust/crates/ml/src/assets.rs": ["clippy::expect_used"],diff --git a/rust/crates/ml/examples/memories_text_embeddings.rs b/rust/crates/ml/examples/memories_text_embeddings.rsnew file mode 100644index 0000000000..b59577061e--- /dev/null+++ b/rust/crates/ml/examples/memories_text_embeddings.rs@@ -0,0 +1,279 @@+#[expect(+ dead_code,+ reason = "The memories text embeddings generator uses only part of the shared ML helpers"+)]+#[path = "../tests/support/mod.rs"]+mod support;++use std::fmt::Write as _;+use std::path::Path;+use std::process::Command;++use anyhow::{Context, Result, bail};+use ente_assets::AssetStore;+use ente_ml::assets::ensure_clip_text;+use ente_ml::indexing::{RunClipTextRequest, run_clip_text};+use support::ml_indexing::{asset_cache_dir, load_onnx_runtime};++const OUTPUT: &str = "../photos/src/memories/text_embeddings.rs";+const DIMENSIONS: usize = 512;+const I8_LIMIT: f32 = 127.0;+const NOSTALGIA: &str = "Photo of a precious and nostalgic memory radiating warmth, vibrant energy, or quiet beauty β alive with color, light, or emotion";+const CLIP_MEMORY_TYPES: [(&str, &str); 48] = [+ (+ "Sunrise",+ "Photo of an absolutely stunning sunrise or sunset",+ ),+ ("Mountains", "Photo of a beautiful mountain range"),+ ("Greenery", "Photo of lush greenery"),+ ("Beach", "Photo of a beautiful beach"),+ ("City", "Beautiful photo showing a metropolitan city"),+ ("Moon", "Photo of a beautiful moon"),+ ("OnTheRoad", "Photo of a nostalgic road trip"),+ ("Food", "Photo of delicious looking food"),+ ("Pets", "Photo of cute pets"),+ (+ "Festivities",+ "Photo capturing a joyful celebration or festival",+ ),+ (+ "SnowAdventures",+ "Photo of a cozy winter adventure in the snow",+ ),+ (+ "Waterfalls",+ "Photo of a majestic waterfall cascading through nature",+ ),+ (+ "Wildlife",+ "Photo of a magnificent wild animal in its natural habitat",+ ),+ ("Flowers", "Photo of vibrant blooming flowers in a garden"),+ (+ "NightLights",+ "Photo of dazzling city lights glowing at night",+ ),+ (+ "Architecture",+ "Photo showcasing striking architectural design or landmark",+ ),+ (+ "AutumnColors",+ "Photo of trees glowing with vibrant autumn colors",+ ),+ (+ "DesertDreams",+ "Photo of sweeping desert dunes under golden light",+ ),+ (+ "Stargazing",+ "Photo of a brilliant night sky filled with stars or the Milky Way",+ ),+ (+ "Lakeside",+ "Photo of a serene lake reflecting the surrounding landscape",+ ),+ ("RainyDays", "Photo capturing the cozy mood of a rainy day"),+ (+ "SportsAction",+ "Photo of thrilling sports action frozen in motion",+ ),+ (+ "StreetArt",+ "Photo showcasing vibrant street art or graffiti murals",+ ),+ (+ "FamilyMoments",+ "Photo capturing heartwarming moments with family",+ ),+ (+ "Fireworks",+ "Photo of dazzling fireworks bursting in the sky",+ ),+ (+ "HistoricSites",+ "Photo of an awe-inspiring historical monument or landmark",+ ),+ (+ "TropicalParadise",+ "Photo of a dreamy tropical paradise with turquoise water and palm trees",+ ),+ (+ "ForestTrails",+ "Photo of a peaceful forest trail bathed in soft light",+ ),+ (+ "CitySunsets",+ "Photo of a vibrant sunset casting colors over a city skyline",+ ),+ (+ "ColorfulMarkets",+ "Photo of a bustling market overflowing with colorful stalls",+ ),+ ("CozyCafes", "Photo of a cozy cafe scene with warm ambience"),+ (+ "VintageVibes",+ "Photo with a charming vintage aesthetic or retro details",+ ),+ (+ "AerialViews",+ "Photo captured from above showing sweeping aerial views",+ ),+ (+ "ArtisticPortraits",+ "Photo of an expressive artistic portrait",+ ),+ (+ "StreetFood",+ "Photo of mouthwatering street food being prepared or served",+ ),+ (+ "RiverCruises",+ "Photo of a scenic river cruise or boat drifting along the water",+ ),+ (+ "PlayfulKids",+ "Photo capturing joyful kids playing and laughing",+ ),+ (+ "CoastalCliffs",+ "Photo of dramatic coastal cliffs meeting the sea",+ ),+ (+ "CandidLaughter",+ "Photo capturing candid laughter, joy, and shared smiles",+ ),+ (+ "GroupSelfies",+ "Photo of friends or family gathered for a fun group selfie",+ ),+ (+ "BirthdayJoy",+ "Photo of a birthday celebration with cake, candles, and happy faces",+ ),+ (+ "WeddingMoments",+ "Photo capturing a wedding moment full of love, celebration, and togetherness",+ ),+ (+ "GoldenHourPortraits",+ "Photo of a beautiful portrait taken in warm golden hour light",+ ),+ (+ "ConcertNights",+ "Photo of a live concert, music performance, or crowd under stage lights",+ ),+ (+ "PoolDays",+ "Photo of a fun summer day at the pool with splashes and sunshine",+ ),+ (+ "PicnicDays",+ "Photo of a relaxed picnic outdoors with food, blankets, and loved ones",+ ),+ (+ "CampingMoments",+ "Photo of a camping trip with tents, campfires, or cozy outdoor moments",+ ),+ (+ "BabySmiles",+ "Photo capturing a baby smiling, laughing, or sharing a tender family moment",+ ),+];++#[tokio::main(flavor = "current_thread")]+async fn main() -> Result<()> {+ load_onnx_runtime().await?;+ let cache = asset_cache_dir()?;+ let paths = ensure_clip_text(&AssetStore::new(cache.clone()), &cache).await?;+ let embed = |text: &str| -> Result<Vec<i8>> {+ let result = run_clip_text(RunClipTextRequest {+ text: text.to_owned(),+ model_path: paths.model.to_string_lossy().into_owned(),+ vocab_path: paths.vocab.to_string_lossy().into_owned(),+ })+ .with_context(|| format!("embed {text:?}"))?;+ quantize(&result.embedding).with_context(|| format!("quantize {text:?}"))+ };+ let nostalgia = embed(NOSTALGIA)?;+ let mut clip_memory_types = Vec::with_capacity(CLIP_MEMORY_TYPES.len());+ for (name, query) in CLIP_MEMORY_TYPES {+ clip_memory_types.push((name, embed(query)?));+ }++ let path = Path::new(env!("CARGO_MANIFEST_DIR")).join(OUTPUT);+ std::fs::write(&path, render(&nostalgia, &clip_memory_types)?)+ .with_context(|| format!("write {}", path.display()))?;+ let rustfmt = Command::new("rustfmt")+ .args(["--edition", "2024"])+ .arg(&path)+ .status()+ .with_context(|| format!("run rustfmt on {}", path.display()))?;+ if !rustfmt.success() {+ bail!("rustfmt failed on {}", path.display());+ }+ println!("wrote {}", path.display());+ Ok(())+}++fn quantize(embedding: &[f32]) -> Result<Vec<i8>> {+ if embedding.len() != DIMENSIONS {+ bail!("expected {DIMENSIONS} dimensions, got {}", embedding.len());+ }+ let max_abs = embedding+ .iter()+ .fold(0.0f32, |max_abs, value| max_abs.max(value.abs()));+ if !max_abs.is_normal() {+ bail!("embedding has no usable magnitude");+ }+ let scale = max_abs / I8_LIMIT;+ Ok(embedding+ .iter()+ .map(|value| (value / scale).round().clamp(-I8_LIMIT, I8_LIMIT) as i8)+ .collect())+}++fn render(nostalgia: &[i8], clip_memory_types: &[(&str, Vec<i8>)]) -> Result<String> {+ let mut source = String::from(+ "use super::output::ClipMemoryType;\n\+ use crate::ml_db::CLIP_EMBEDDING_DIMENSIONS;\n\n\+ pub(super) type TextEmbedding = [i8; CLIP_EMBEDDING_DIMENSIONS];\n\n",+ );+ writeln!(+ source,+ "pub(super) static NOSTALGIA: TextEmbedding = {};\n",+ array(nostalgia)+ )?;+ source.push_str(+ "impl ClipMemoryType {\n pub(super) fn embedding(self) -> &'static TextEmbedding {\n match self {\n",+ );+ for (name, _) in clip_memory_types {+ writeln!(source, "Self::{name} => &{},", static_name(name))?;+ }+ source.push_str("}\n}\n}\n");+ for (name, embedding) in clip_memory_types {+ writeln!(+ source,+ "\nstatic {}: TextEmbedding = {};",+ static_name(name),+ array(embedding)+ )?;+ }+ Ok(source)+}++fn array(values: &[i8]) -> String {+ let values: Vec<String> = values.iter().map(i8::to_string).collect();+ format!("[{}]", values.join(", "))+}++fn static_name(name: &str) -> String {+ let mut static_name = String::new();+ for (index, character) in name.chars().enumerate() {+ if index > 0 && character.is_ascii_uppercase() {+ static_name.push('_');+ }+ static_name.push(character.to_ascii_uppercase());+ }+ static_name+}diff --git a/rust/crates/photos/src/memories/clip.rs b/rust/crates/photos/src/memories/clip.rsnew file mode 100644index 0000000000..e7da40b6e9--- /dev/null+++ b/rust/crates/photos/src/memories/clip.rs@@ -0,0 +1,276 @@+use std::collections::HashMap;++use super::UPDATE_FREQUENCY_DAYS;+use super::calendar::MICROS_PER_DAY;+use super::input::{MemoriesRequest, Period};+use super::output::{ClipMemoryType, Memory, MemoryKind};+use super::photo::Photo;+use super::selector::Selector;+use super::signals::Signals;+use crate::ml_store::Result;++const MATCH_SIMILARITY: f32 = 0.225;+const MINIMUM_MATCHES: usize = 10;+const SHOW_TIMEOUT_DAYS: i64 = 10 * UPDATE_FREQUENCY_DAYS;++pub(super) fn memories(+ photos: &[Photo],+ period: Period,+ request: &MemoriesRequest,+ signals: &Signals,+ selector: &mut Selector,+) -> Result<Vec<Memory>> {+ let photos_by_id: HashMap<i64, &Photo> = photos.iter().map(|photo| (photo.id, photo)).collect();+ if request.surface_all {+ let mut memories = Vec::new();+ for kind in ClipMemoryType::ALL {+ memories.extend(memory(kind, &photos_by_id, period, signals, selector)?);+ }+ return Ok(memories);+ }+ let mut kinds = ClipMemoryType::ALL;+ selector.shuffle(&mut kinds);+ for kind in kinds {+ if was_shown_recently(kind, request, period) {+ continue;+ }+ if let Some(memory) = memory(kind, &photos_by_id, period, signals, selector)? {+ return Ok(vec![memory]);+ }+ }+ Ok(Vec::new())+}++fn was_shown_recently(kind: ClipMemoryType, request: &MemoriesRequest, period: Period) -> bool {+ let cutoff = period.now - SHOW_TIMEOUT_DAYS * MICROS_PER_DAY;+ request+ .shown_clip_memories+ .iter()+ .any(|shown| shown.kind == kind && shown.last_time_shown > cutoff)+}++fn memory(+ kind: ClipMemoryType,+ photos_by_id: &HashMap<i64, &Photo>,+ period: Period,+ signals: &Signals,+ selector: &mut Selector,+) -> Result<Option<Memory>> {+ let matches: Vec<(&Photo, f32)> = signals+ .matches(kind.embedding(), MATCH_SIMILARITY)?+ .into_iter()+ .filter(|&(_, similarity)| similarity > MATCH_SIMILARITY)+ .filter_map(|(file_id, similarity)| Some((*photos_by_id.get(&file_id)?, similarity)))+ .collect();+ if matches.len() < MINIMUM_MATCHES {+ return Ok(None);+ }+ Ok(Some(Memory::new(+ MemoryKind::Clip(kind),+ &selector.best_matches(matches)?,+ period.now,+ period.now + UPDATE_FREQUENCY_DAYS * MICROS_PER_DAY,+ )))+}++#[cfg(test)]+mod tests {+ use std::collections::{HashMap, HashSet};++ use crate::memories::calendar::MICROS_PER_DAY;+ use crate::memories::tests::{files_on, micros, period};+ use crate::memories::{+ ClipMemoryType, ClipVectors, MemoriesRequest, Memory, MemoryKind, MlInputs,+ ShownClipMemory, compute_smart_memories,+ };+ use crate::ml_store::Result;++ const NOW: &str = "2026-10-30T09:00:00";++ #[derive(Default)]+ struct Clip {+ matches: HashMap<ClipMemoryType, Vec<(i64, f32)>>,+ vectors: HashMap<i64, Vec<f32>>,+ }++ impl ClipVectors for Clip {+ fn matches(&self, query: &[f32], min_similarity: f32) -> Result<Vec<(i64, f32)>> {+ let kind = ClipMemoryType::ALL.into_iter().find(|kind| {+ kind.embedding()+ .iter()+ .copied()+ .map(f32::from)+ .eq(query.iter().copied())+ });+ Ok(kind+ .and_then(|kind| self.matches.get(&kind))+ .into_iter()+ .flatten()+ .copied()+ .filter(|&(_, similarity)| similarity >= min_similarity)+ .collect())+ }++ fn vector(&self, file_id: i64) -> Result<Option<Vec<f32>>> {+ Ok(self.vectors.get(&file_id).cloned())+ }+ }++ fn scored(first_id: i64, count: i64, similarity: f32) -> Vec<(i64, f32)> {+ (0..count)+ .map(|index| (first_id + index, similarity + index as f32 / 1000.0))+ .collect()+ }++ fn request() -> MemoriesRequest {+ let mut files = files_on(1, "2025-05-01", 20);+ files.extend(files_on(21, "2025-06-01", 20));+ files.extend(files_on(41, "2025-07-01", 20));+ MemoriesRequest {+ files,+ ..MemoriesRequest::default()+ }+ }++ fn clip_memories(clip: &Clip, request: &MemoriesRequest) -> Vec<(ClipMemoryType, Memory)> {+ let ml = MlInputs {+ clip,+ face_weights: HashMap::new(),+ };+ compute_smart_memories(request, &[period(NOW)], Some(&ml), None)+ .unwrap()+ .periods+ .remove(0)+ .into_iter()+ .filter_map(|memory| match memory.kind {+ MemoryKind::Clip(kind) => Some((kind, memory)),+ _ => None,+ })+ .collect()+ }++ fn shown(kind: ClipMemoryType, days_ago: i64) -> ShownClipMemory {+ ShownClipMemory {+ kind,+ last_time_shown: micros(NOW) - days_ago * MICROS_PER_DAY,+ }+ }++ fn library() -> Clip {+ Clip {+ matches: HashMap::from([+ (ClipMemoryType::Beach, scored(1, 12, 0.3)),+ (ClipMemoryType::Food, scored(21, 15, 0.3)),+ (ClipMemoryType::Moon, scored(41, 9, 0.3)),+ (+ ClipMemoryType::Mountains,+ scored(41, 20, 0.225)[1..].to_vec(),+ ),+ (ClipMemoryType::City, vec![(41, 0.225); 12]),+ ]),+ ..Clip::default()+ }+ }++ #[test]+ fn each_period_shows_one_type_with_ten_strong_matches_that_is_not_cooling_down() {+ let clip = library();+ let kinds_over_seeds = |request: &MemoriesRequest| {+ (0..20)+ .flat_map(|seed| {+ let request = MemoriesRequest {+ seed,+ ..request.clone()+ };+ clip_memories(&clip, &request)+ .into_iter()+ .map(|(kind, _)| kind)+ })+ .collect::<HashSet<_>>()+ };++ let mut request = request();+ request.shown_clip_memories = vec![shown(ClipMemoryType::Food, 31)];+ assert_eq!(+ kinds_over_seeds(&request),+ HashSet::from([+ ClipMemoryType::Beach,+ ClipMemoryType::Food,+ ClipMemoryType::Mountains,+ ])+ );++ request.shown_clip_memories = vec![+ shown(ClipMemoryType::Food, 29),+ shown(ClipMemoryType::Mountains, -1),+ ];+ let memories = clip_memories(&clip, &request);+ assert_eq!(memories.len(), 1);+ let (kind, memory) = &memories[0];+ assert_eq!(*kind, ClipMemoryType::Beach);+ assert_eq!(memory.file_ids.len(), 10);+ assert!(memory.file_ids.is_sorted_by(|a, b| a > b));+ assert_eq!(+ (memory.first_date_to_show, memory.last_date_to_show),+ (micros(NOW), micros(NOW) + 3 * MICROS_PER_DAY)+ );+ }++ #[test]+ fn surfacing_everything_lists_every_type_with_enough_matches_in_type_order() {+ let request = MemoriesRequest {+ surface_all: true,+ shown_clip_memories: vec![shown(ClipMemoryType::Food, 1)],+ ..request()+ };++ let kinds: Vec<ClipMemoryType> = clip_memories(&library(), &request)+ .into_iter()+ .map(|(kind, _)| kind)+ .collect();++ assert_eq!(+ kinds,+ [+ ClipMemoryType::Mountains,+ ClipMemoryType::Beach,+ ClipMemoryType::Food,+ ]+ );+ }++ #[test]+ fn picks_skip_photos_taken_within_ten_minutes_and_near_duplicates() {+ let mut request = request();+ request.files[2].creation_time = request.files[1].creation_time + 60_000_000;+ request.files[3].creation_time = request.files[1].creation_time + 120_000_000;+ let one_hot = |hot: usize| {+ let mut vector = vec![0.0; 32];+ vector[hot] = 1.0;+ vector+ };+ let mut vectors: HashMap<i64, Vec<f32>> =+ (1..=20).map(|id| (id, one_hot(id as usize))).collect();+ vectors.insert(6, one_hot(5));+ let clip = Clip {+ matches: HashMap::from([(ClipMemoryType::Beach, scored(1, 20, 0.3))]),+ vectors,+ };++ for seed in 0..20 {+ let request = MemoriesRequest {+ seed,+ ..request.clone()+ };+ let ids: HashSet<i64> = clip_memories(&clip, &request)[0]+ .1+ .file_ids+ .iter()+ .copied()+ .collect();+ assert_eq!(ids.len(), 10);+ assert!(ids.iter().filter(|id| (2..=4).contains(*id)).count() <= 1);+ assert!(!(ids.contains(&5) && ids.contains(&6)));+ }+ }+}diff --git a/rust/crates/photos/src/memories/input.rs b/rust/crates/photos/src/memories/input.rsindex 6cc33da9f4..2cbca7f34e 100644--- a/rust/crates/photos/src/memories/input.rs+++ b/rust/crates/photos/src/memories/input.rs@@ -1,7 +1,11 @@+use std::collections::HashMap;+use ente_location::{CityMatch, Coordinate};use super::calendar::{LocalDate, MICROS_PER_DAY, MICROS_PER_SECOND};+use super::output::ClipMemoryType;use crate::location::LocationIndex;+use crate::ml_store::Result;#[derive(Clone, Debug, PartialEq)]pub struct MemoryFile {@@ -19,6 +23,7 @@ pub struct MemoriesRequest {pub excluded_collection_ids: Vec<i64>,pub shown_trips: Vec<ShownTrip>,pub cached_trips: Vec<CachedTrip>,+ pub shown_clip_memories: Vec<ShownClipMemory>,pub surface_all: bool,pub local_gallery_mode: bool,pub seed: u64,@@ -31,6 +36,12 @@ pub struct ShownTrip {pub last_time_shown: i64,}+#[derive(Clone, Copy, Debug, PartialEq, Eq)]+pub struct ShownClipMemory {+ pub kind: ClipMemoryType,+ pub last_time_shown: i64,+}+#[derive(Clone, Debug, PartialEq, Eq)]pub struct CachedTrip {pub identity_key: String,@@ -62,10 +73,20 @@ impl Period {}}-pub trait PhotoSignals {+pub struct MlInputs<'m> {+ pub clip: &'m dyn ClipVectors,+ pub face_weights: HashMap<i64, u32>,+}++pub trait ClipVectors {+ fn matches(&self, query: &[f32], min_similarity: f32) -> Result<Vec<(i64, f32)>>;+ fn vector(&self, file_id: i64) -> Result<Option<Vec<f32>>>;+}++pub(super) trait PhotoSignals {fn face_weight(&self, file_id: i64) -> u32;fn nostalgia(&self, file_id: i64) -> Option<f32>;- fn similarity(&self, file_id: i64, other_file_id: i64) -> Option<f32>;+ fn similarity(&self, file_id: i64, other_file_id: i64) -> Result<Option<f32>>;}pub trait CityLookup {diff --git a/rust/crates/photos/src/memories/mod.rs b/rust/crates/photos/src/memories/mod.rsindex 8fe148e0a1..962e2dcb5b 100644--- a/rust/crates/photos/src/memories/mod.rs+++ b/rust/crates/photos/src/memories/mod.rs@@ -1,4 +1,5 @@mod calendar;+mod clip;mod filler;mod geo;mod input;@@ -8,24 +9,33 @@ mod photo;mod places;mod rng;mod selector;+mod signals;+mod text_embeddings;mod time;mod trips;+mod vectors;use std::collections::HashSet;pub use calendar::LocalDate;pub use input::{- CachedTrip, CityLookup, MemoriesRequest, MemoryFile, Period, PhotoSignals, ShownTrip,+ CachedTrip, CityLookup, ClipVectors, MemoriesRequest, MemoryFile, MlInputs, Period,+ ShownClipMemory, ShownTrip,};pub use output::{- BaseLocation, BaseMemory, Memory, MemoryKind, SmartMemories, TimeMemory, TripMemory,+ BaseLocation, BaseMemory, ClipMemoryType, Memory, MemoryKind, SmartMemories, TimeMemory,+ TripMemory,};+use input::PhotoSignals;use photo::Photo;use places::Places;use selector::Selector;+use signals::Signals;use trips::TripHistory;+use crate::ml_store::Result;+const UPDATE_FREQUENCY_DAYS: i64 = 3;const MAX_MEMORY_ITEMS: usize = 100;const MINIMUM_MEMORY_LENGTH: usize = 5;@@ -33,9 +43,9 @@ const MINIMUM_MEMORY_LENGTH: usize = 5;pub fn compute_smart_memories(request: &MemoriesRequest,periods: &[Period],- signals: Option<&dyn PhotoSignals>,+ ml: Option<&MlInputs>,cities: Option<&dyn CityLookup>,-) -> SmartMemories {+) -> Result<SmartMemories> {let photos = photo::prepare(&request.files);let excluded_collection_ids: HashSet<i64> =request.excluded_collection_ids.iter().copied().collect();@@ -45,36 +55,42 @@ pub fn compute_smart_memories(.first().map(|period| trips::analyze(&located, period.now, &places));let mut trip_history = TripHistory::new(&request.shown_trips, &request.cached_trips);- let mut selector = Selector::new(signals, request.seed);- let periods = periods- .iter()- .map(|&period| {- let mut memories =- on_this_day::memories(&photos, period, &excluded_collection_ids, &mut selector);- if let Some(analysis) = &analysis {- let trip_memories = trips::memories(- analysis,- &trip_history,- period,- request,- &places,- &mut selector,- );- trip_history.record(&trip_memories);- memories.extend(trip_memories);- }- let time_memories = time::memories(- &unused_photos(&photos, &memories),- &photos,+ let signals = ml.map(Signals::load).transpose()?;+ let mut selector = Selector::new(+ signals.as_ref().map(|signals| signals as &dyn PhotoSignals),+ request.seed,+ );+ let mut period_memories = Vec::with_capacity(periods.len());+ for &period in periods {+ let mut memories =+ on_this_day::memories(&photos, period, &excluded_collection_ids, &mut selector);+ if let Some(analysis) = &analysis {+ let trip_memories = trips::memories(+ analysis,+ &trip_history,period,+ request,+ &places,&mut selector,- );- memories.extend(time_memories);- let filler_memories = filler::memories(&unused_photos(&photos, &memories), period);- memories.extend(filler_memories);- memories- })- .collect();+ )?;+ trip_history.record(&trip_memories);+ memories.extend(trip_memories);+ }+ if let Some(signals) = &signals {+ let clip_memories = clip::memories(&photos, period, request, signals, &mut selector)?;+ memories.extend(clip_memories);+ }+ let time_memories = time::memories(+ &unused_photos(&photos, &memories),+ &photos,+ period,+ &mut selector,+ )?;+ memories.extend(time_memories);+ let filler_memories = filler::memories(&unused_photos(&photos, &memories), period);+ memories.extend(filler_memories);+ period_memories.push(memories);+ }let base_locations = analysis.map(|analysis| {analysis@@ -88,10 +104,10 @@ pub fn compute_smart_memories(.collect()}).unwrap_or_default();- SmartMemories {- periods,+ Ok(SmartMemories {+ periods: period_memories,base_locations,- }+ })}pub fn compute_simple_memories(request: &MemoriesRequest, period: Period) -> Vec<Memory> {@@ -217,6 +233,7 @@ mod tests {None,None,)+ .unwrap().periods;let current = &periods[0];diff --git a/rust/crates/photos/src/memories/output.rs b/rust/crates/photos/src/memories/output.rsindex b10cf5825b..80c57252ce 100644--- a/rust/crates/photos/src/memories/output.rs+++ b/rust/crates/photos/src/memories/output.rs@@ -30,6 +30,7 @@ pub enum MemoryKind {OnThisDay,Trip(TripMemory),Base(BaseMemory),+ Clip(ClipMemoryType),Time(TimeMemory),Filler { years_ago: i32 },}@@ -49,6 +50,111 @@ pub struct BaseMemory {pub is_current: bool,}+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]+pub enum ClipMemoryType {+ Sunrise,+ Mountains,+ Greenery,+ Beach,+ City,+ Moon,+ OnTheRoad,+ Food,+ Pets,+ Festivities,+ SnowAdventures,+ Waterfalls,+ Wildlife,+ Flowers,+ NightLights,+ Architecture,+ AutumnColors,+ DesertDreams,+ Stargazing,+ Lakeside,+ RainyDays,+ SportsAction,+ StreetArt,+ FamilyMoments,+ Fireworks,+ HistoricSites,+ TropicalParadise,+ ForestTrails,+ CitySunsets,+ ColorfulMarkets,+ CozyCafes,+ VintageVibes,+ AerialViews,+ ArtisticPortraits,+ StreetFood,+ RiverCruises,+ PlayfulKids,+ CoastalCliffs,+ CandidLaughter,+ GroupSelfies,+ BirthdayJoy,+ WeddingMoments,+ GoldenHourPortraits,+ ConcertNights,+ PoolDays,+ PicnicDays,+ CampingMoments,+ BabySmiles,+}++impl ClipMemoryType {+ pub const ALL: [Self; 48] = [+ Self::Sunrise,+ Self::Mountains,+ Self::Greenery,+ Self::Beach,+ Self::City,+ Self::Moon,+ Self::OnTheRoad,+ Self::Food,+ Self::Pets,+ Self::Festivities,+ Self::SnowAdventures,+ Self::Waterfalls,+ Self::Wildlife,+ Self::Flowers,+ Self::NightLights,+ Self::Architecture,+ Self::AutumnColors,+ Self::DesertDreams,+ Self::Stargazing,+ Self::Lakeside,+ Self::RainyDays,+ Self::SportsAction,+ Self::StreetArt,+ Self::FamilyMoments,+ Self::Fireworks,+ Self::HistoricSites,+ Self::TropicalParadise,+ Self::ForestTrails,+ Self::CitySunsets,+ Self::ColorfulMarkets,+ Self::CozyCafes,+ Self::VintageVibes,+ Self::AerialViews,+ Self::ArtisticPortraits,+ Self::StreetFood,+ Self::RiverCruises,+ Self::PlayfulKids,+ Self::CoastalCliffs,+ Self::CandidLaughter,+ Self::GroupSelfies,+ Self::BirthdayJoy,+ Self::WeddingMoments,+ Self::GoldenHourPortraits,+ Self::ConcertNights,+ Self::PoolDays,+ Self::PicnicDays,+ Self::CampingMoments,+ Self::BabySmiles,+ ];+}+#[derive(Clone, Copy, Debug, PartialEq, Eq)]pub enum TimeMemory {Day {diff --git a/rust/crates/photos/src/memories/selector.rs b/rust/crates/photos/src/memories/selector.rsindex 69f676742c..a7746ef0b8 100644--- a/rust/crates/photos/src/memories/selector.rs+++ b/rust/crates/photos/src/memories/selector.rs@@ -1,11 +1,15 @@+use std::cmp::Ordering;use std::collections::{BTreeMap, HashSet};+use std::convert::Infallible;use super::calendar::MICROS_PER_MINUTE;use super::input::PhotoSignals;use super::photo::{Photo, sort_chronologically};use super::rng::Rng;+use crate::ml_store::Result;const DEFAULT_SELECTION_SIZE: usize = 10;+const TOP_MATCHES: usize = 50;const MINIMUM_TIME_GAP: i64 = 10 * MICROS_PER_MINUTE;const NEAR_DUPLICATE_SIMILARITY: f32 = 0.80;const FACE_WEIGHT_SCORE: f64 = 1000.0;@@ -40,7 +44,7 @@ impl<'s> Selector<'s> {&mut self,photos: Vec<&'p Photo>,preferred_size: Option<usize>,- ) -> Vec<&'p Photo> {+ ) -> Result<Vec<&'p Photo>> {self.select(photos, preferred_size, false)}@@ -48,10 +52,45 @@ impl<'s> Selector<'s> {&mut self,photos: Vec<&'p Photo>,size: usize,- ) -> Vec<&'p Photo> {+ ) -> Result<Vec<&'p Photo>> {self.select(photos, Some(size), true)}+ pub(super) fn best_matches<'p>(+ &mut self,+ mut matches: Vec<(&'p Photo, f32)>,+ ) -> Result<Vec<&'p Photo>> {+ matches.sort_by(by_similarity);+ matches.truncate(TOP_MATCHES);+ self.rng.shuffle(&mut matches);+ let total = matches.len();+ let mut selected: Vec<(&Photo, f32)> = Vec::with_capacity(DEFAULT_SELECTION_SIZE);+ let mut chosen: Vec<&Photo> = Vec::with_capacity(DEFAULT_SELECTION_SIZE);+ let mut skipped = 0;+ for (photo, similarity) in matches {+ if chosen.len() >= DEFAULT_SELECTION_SIZE {+ break;+ }+ let rejected = is_too_close(photo, &chosen)+ || (total - skipped > DEFAULT_SELECTION_SIZE+ && self.signals.map_or(Ok(false), |signals| {+ is_near_duplicate(photo, &chosen, signals)+ })?);+ if rejected {+ skipped += 1;+ continue;+ }+ selected.push((photo, similarity));+ chosen.push(photo);+ }+ selected.sort_by(by_similarity);+ Ok(selected.into_iter().map(|(photo, _)| photo).collect())+ }++ pub(super) fn shuffle<T>(&mut self, items: &mut [T]) {+ self.rng.shuffle(items);+ }+pub(super) fn sample_across_years<'p>(&mut self,mut photos: Vec<&'p Photo>,@@ -70,7 +109,7 @@ impl<'s> Selector<'s> {years.truncate(size);years.sort_by_key(|year| year[0].date.year);}- let mut selected = round_robin(&years, size, |_, _, _| true);+ let Ok(mut selected) = round_robin(&years, size, |_, _, _| Ok::<_, Infallible>(true));sort_chronologically(&mut selected);selected}@@ -80,11 +119,11 @@ impl<'s> Selector<'s> {mut photos: Vec<&'p Photo>,preferred_size: Option<usize>,over_time: bool,- ) -> Vec<&'p Photo> {+ ) -> Result<Vec<&'p Photo>> {sort_chronologically(&mut photos);let mut size = preferred_size.unwrap_or(DEFAULT_SELECTION_SIZE);if photos.len() <= size {- return photos;+ return Ok(photos);}let year_count = photos.iter()@@ -101,17 +140,17 @@ impl<'s> Selector<'s> {{size = year_count * 3;if photos.len() < size {- return photos;+ return Ok(photos);}}Spread::AcrossYears};let mut selected = match self.signals {- Some(signals) => ranked(&photos, size, spread, signals),+ Some(signals) => ranked(&photos, size, spread, signals)?,None => self.random(&photos, size, spread),};sort_chronologically(&mut selected);- selected+ Ok(selected)}fn random<'p>(&mut self, photos: &[&'p Photo], size: usize, spread: Spread) -> Vec<&'p Photo> {@@ -122,9 +161,10 @@ impl<'s> Selector<'s> {for year in &mut years {self.rng.shuffle(year);}- round_robin(&years, size, |_, photo, selected| {- !is_too_close(photo, selected)- })+ let Ok(selected) = round_robin(&years, size, |_, photo, selected| {+ Ok::<_, Infallible>(!is_too_close(photo, selected))+ });+ selected}fn random_over_time<'p>(&mut self, photos: &[&'p Photo], size: usize) -> Vec<&'p Photo> {@@ -163,7 +203,7 @@ fn ranked<'p>(size: usize,spread: Spread,signals: &dyn PhotoSignals,-) -> Vec<&'p Photo> {+) -> Result<Vec<&'p Photo>> {let candidates: Vec<Candidate> = photos.iter().map(|&photo| Candidate {@@ -183,7 +223,7 @@ fn ranked_flat<'p>(mut candidates: Vec<Candidate<'p>>,size: usize,signals: &dyn PhotoSignals,-) -> Vec<&'p Photo> {+) -> Result<Vec<&'p Photo>> {sort_by_score(&mut candidates);let total = candidates.len();let mut selected: Vec<&Photo> = Vec::with_capacity(size);@@ -195,32 +235,33 @@ fn ranked_flat<'p>(let photo = candidate.photo;if !selected.is_empty()&& (is_too_close(photo, &selected)- || (total - skipped > size && is_near_duplicate(photo, &selected, signals)))+ || (total - skipped > size && is_near_duplicate(photo, &selected, signals)?)){skipped += 1;continue;}selected.push(photo);}- selected+ Ok(selected)}fn ranked_over_time<'p>(candidates: Vec<Candidate<'p>>,size: usize,signals: &dyn PhotoSignals,-) -> Vec<&'p Photo> {+) -> Result<Vec<&'p Photo>> {if is_single_moment(&candidates, |candidate| candidate.photo.creation_time) {return ranked_flat(candidates, size, signals);}let mut selected: Vec<&Photo> = Vec::with_capacity(size);for mut bucket in time_buckets(&candidates, size, |candidate| candidate.photo.creation_time) {sort_by_score(&mut bucket);- let distinct: Vec<Candidate> = bucket- .iter()- .copied()- .filter(|candidate| !is_near_duplicate(candidate.photo, &selected, signals))- .collect();+ let mut distinct: Vec<Candidate> = Vec::new();+ for &candidate in &bucket {+ if !is_near_duplicate(candidate.photo, &selected, signals)? {+ distinct.push(candidate);+ }+ }let pool = if distinct.is_empty() {bucket} else {@@ -244,21 +285,21 @@ fn ranked_over_time<'p>(if selected.len() >= size {break;}- if !is_near_duplicate(candidate.photo, &selected, signals)- && !is_too_close(candidate.photo, &selected)+ if !is_too_close(candidate.photo, &selected)+ && !is_near_duplicate(candidate.photo, &selected, signals)?{selected.push(candidate.photo);}}}- selected+ Ok(selected)}fn ranked_across_years<'p>(candidates: Vec<Candidate<'p>>,size: usize,signals: &dyn PhotoSignals,-) -> Vec<&'p Photo> {+) -> Result<Vec<&'p Photo>> {let total = candidates.len();let mut years: BTreeMap<i32, Vec<Candidate>> = BTreeMap::new();for candidate in candidates {@@ -278,32 +319,34 @@ fn ranked_across_years<'p>(let mut skipped = 0;round_robin(&years, size, |round, photo, selected| {let rejected = is_too_close(photo, selected)- || (round > 0 && total - skipped > size && is_near_duplicate(photo, selected, signals));+ || (round > 0+ && total - skipped > size+ && is_near_duplicate(photo, selected, signals)?);if rejected {skipped += 1;}- !rejected+ Ok(!rejected)})}-fn round_robin<'p>(+fn round_robin<'p, E>(years: &[Vec<&'p Photo>],size: usize,- mut accept: impl FnMut(usize, &Photo, &[&'p Photo]) -> bool,-) -> Vec<&'p Photo> {+ mut accept: impl FnMut(usize, &Photo, &[&'p Photo]) -> std::result::Result<bool, E>,+) -> std::result::Result<Vec<&'p Photo>, E> {let rounds = years.iter().map(Vec::len).max().unwrap_or(0);let mut selected = Vec::with_capacity(size);for round in 0..rounds {for photo in years.iter().filter_map(|year| year.get(round)) {if selected.len() >= size {- return selected;+ return Ok(selected);}- if accept(round, photo, &selected) {+ if accept(round, photo, &selected)? {selected.push(*photo);}}}- selected+ Ok(selected)}fn by_year<'p>(photos: &[&'p Photo]) -> BTreeMap<i32, Vec<&'p Photo>> {@@ -328,6 +371,12 @@ fn time_buckets<T: Copy>(items: &[T], count: usize, time: impl Fn(&T) -> i64) ->buckets}+fn by_similarity((a, a_similarity): &(&Photo, f32), (b, b_similarity): &(&Photo, f32)) -> Ordering {+ b_similarity+ .total_cmp(a_similarity)+ .then_with(|| (a.creation_time, a.id).cmp(&(b.creation_time, b.id)))+}+fn sort_by_score(candidates: &mut [Candidate]) {candidates.sort_by(|a, b| {b.score.total_cmp(&a.score).then_with(|| {@@ -346,12 +395,20 @@ fn is_too_close(photo: &Photo, selected: &[&Photo]) -> bool {.any(|other| (photo.creation_time - other.creation_time).abs() < MINIMUM_TIME_GAP)}-fn is_near_duplicate(photo: &Photo, selected: &[&Photo], signals: &dyn PhotoSignals) -> bool {- selected.iter().any(|other| {- signals- .similarity(photo.id, other.id)+fn is_near_duplicate(+ photo: &Photo,+ selected: &[&Photo],+ signals: &dyn PhotoSignals,+) -> Result<bool> {+ for other in selected {+ if signals+ .similarity(photo.id, other.id)?.is_some_and(|similarity| similarity > NEAR_DUPLICATE_SIMILARITY)- })+ {+ return Ok(true);+ }+ }+ Ok(false)}#[cfg(test)]@@ -362,6 +419,7 @@ mod tests {use crate::memories::input::{MemoryFile, PhotoSignals};use crate::memories::photo::{Photo, prepare};use crate::memories::tests::{file, micros};+ use crate::ml_store::Result;#[derive(Default)]struct Signals {@@ -379,13 +437,13 @@ mod tests {self.nostalgia.get(&file_id).copied()}- fn similarity(&self, file_id: i64, other_file_id: i64) -> Option<f32> {+ fn similarity(&self, file_id: i64, other_file_id: i64) -> Result<Option<f32>> {let pair = (file_id.min(other_file_id), file_id.max(other_file_id));- Some(if self.near_duplicates.contains(&pair) {+ Ok(Some(if self.near_duplicates.contains(&pair) {0.95} else {0.1- })+ }))}}@@ -414,7 +472,9 @@ mod tests {near_duplicates: HashSet::from([(14, 15)]),};- let selected = Selector::new(Some(&signals), 0).best(photos.iter().collect(), None);+ let selected = Selector::new(Some(&signals), 0)+ .best(photos.iter().collect(), None)+ .unwrap();assert_eq!(ids(&selected), [3, 5, 6, 7, 8, 9, 10, 11, 13, 15]);}@@ -441,7 +501,9 @@ mod tests {let photos = prepare(&six_years_of_four_photos());let signals = Signals::default();- let selected = Selector::new(Some(&signals), 0).best(photos.iter().collect(), None);+ let selected = Selector::new(Some(&signals), 0)+ .best(photos.iter().collect(), None)+ .unwrap();assert_three_per_year(&selected);}@@ -451,18 +513,41 @@ mod tests {let photos = prepare(&six_years_of_four_photos());let signals = Signals::default();- let random = Selector::new(None, 0).best(photos.iter().collect(), Some(20));- let ranked = Selector::new(Some(&signals), 0).best(photos.iter().collect(), Some(20));+ let random = Selector::new(None, 0)+ .best(photos.iter().collect(), Some(20))+ .unwrap();+ let ranked = Selector::new(Some(&signals), 0)+ .best(photos.iter().collect(), Some(20))+ .unwrap();assert_three_per_year(&random);assert_eq!(ranked.len(), 20);}+ #[test]+ fn picks_over_time_take_the_best_photo_per_period_unless_it_repeats_an_earlier_pick() {+ let photos = prepare(&daily(1, "2024-01-01T12:00:00", 30));+ let signals = Signals {+ face_weights: HashMap::from([(5, 10)]),+ nostalgia: (1..=30).map(|id| (id, id as f32 / 100.0)).collect(),+ near_duplicates: HashSet::from([(5, 9)]),+ };++ let selected = Selector::new(Some(&signals), 0)+ .best_over_time(photos.iter().collect(), 10)+ .unwrap();++ assert_eq!(ids(&selected), [3, 5, 8, 12, 15, 18, 21, 24, 27, 30]);+ }+#[test]fn random_picks_spread_over_time_and_follow_the_seed() {let photos = prepare(&daily(0, "2024-01-01T12:00:00", 40));- let pick =- |seed| ids(&Selector::new(None, seed).best_over_time(photos.iter().collect(), 10));+ let pick = |seed| {+ ids(&Selector::new(None, seed)+ .best_over_time(photos.iter().collect(), 10)+ .unwrap())+ };let selected = pick(5);@@ -479,7 +564,7 @@ mod tests {let photos = prepare(&daily(0, "2024-01-01T12:00:00", 5));let reversed: Vec<&Photo> = photos.iter().rev().collect();- let selected = Selector::new(None, 0).best(reversed, None);+ let selected = Selector::new(None, 0).best(reversed, None).unwrap();assert_eq!(ids(&selected), [0, 1, 2, 3, 4]);}diff --git a/rust/crates/photos/src/memories/signals.rs b/rust/crates/photos/src/memories/signals.rsnew file mode 100644index 0000000000..725b3e606c--- /dev/null+++ b/rust/crates/photos/src/memories/signals.rs@@ -0,0 +1,130 @@+use std::cell::RefCell;+use std::collections::HashMap;++use super::input::{ClipVectors, MlInputs, PhotoSignals};+use super::text_embeddings::{NOSTALGIA, TextEmbedding};+use crate::ml_store::Result;++const ANY_SIMILARITY: f32 = -1.0;++pub(super) struct Signals<'m> {+ clip: &'m dyn ClipVectors,+ face_weights: &'m HashMap<i64, u32>,+ nostalgia: HashMap<i64, f32>,+ unit_vectors: RefCell<HashMap<i64, Option<Vec<f32>>>>,+}++impl<'m> Signals<'m> {+ pub(super) fn load(ml: &'m MlInputs<'_>) -> Result<Self> {+ let nostalgia = ml+ .clip+ .matches(&query(&NOSTALGIA), ANY_SIMILARITY)?+ .into_iter()+ .collect();+ Ok(Self {+ clip: ml.clip,+ face_weights: &ml.face_weights,+ nostalgia,+ unit_vectors: RefCell::default(),+ })+ }++ pub(super) fn matches(+ &self,+ embedding: &TextEmbedding,+ min_similarity: f32,+ ) -> Result<Vec<(i64, f32)>> {+ self.clip.matches(&query(embedding), min_similarity)+ }++ fn load_unit_vector(&self, file_id: i64) -> Result<()> {+ if self.unit_vectors.borrow().contains_key(&file_id) {+ return Ok(());+ }+ let vector = self.clip.vector(file_id)?.map(unit);+ self.unit_vectors.borrow_mut().insert(file_id, vector);+ Ok(())+ }+}++impl PhotoSignals for Signals<'_> {+ fn face_weight(&self, file_id: i64) -> u32 {+ self.face_weights.get(&file_id).copied().unwrap_or(0)+ }++ fn nostalgia(&self, file_id: i64) -> Option<f32> {+ self.nostalgia.get(&file_id).copied()+ }++ fn similarity(&self, file_id: i64, other_file_id: i64) -> Result<Option<f32>> {+ self.load_unit_vector(file_id)?;+ self.load_unit_vector(other_file_id)?;+ let unit_vectors = self.unit_vectors.borrow();+ let (Some(Some(vector)), Some(Some(other))) =+ (unit_vectors.get(&file_id), unit_vectors.get(&other_file_id))+ else {+ return Ok(None);+ };+ Ok(Some(vector.iter().zip(other).map(|(a, b)| a * b).sum()))+ }+}++fn query(embedding: &TextEmbedding) -> Vec<f32> {+ embedding.iter().copied().map(f32::from).collect()+}++fn unit(mut vector: Vec<f32>) -> Vec<f32> {+ let norm = vector.iter().map(|value| value * value).sum::<f32>().sqrt();+ if norm > 0.0 {+ for value in &mut vector {+ *value /= norm;+ }+ }+ vector+}++#[cfg(test)]+mod tests {+ use std::collections::HashMap;++ use super::Signals;+ use crate::memories::input::{ClipVectors, MlInputs, PhotoSignals};+ use crate::ml_store::Result;++ struct Clip;++ impl ClipVectors for Clip {+ fn matches(&self, _: &[f32], _: f32) -> Result<Vec<(i64, f32)>> {+ Ok(vec![(1, 0.4), (2, -0.1)])+ }++ fn vector(&self, file_id: i64) -> Result<Option<Vec<f32>>> {+ Ok(match file_id {+ 1 => Some(vec![3.0, 4.0]),+ 2 => Some(vec![6.0, 8.0]),+ 3 => Some(vec![4.0, -3.0]),+ _ => None,+ })+ }+ }++ #[test]+ fn photos_get_nostalgia_from_one_scan_and_compare_by_cosine_similarity() {+ let ml = MlInputs {+ clip: &Clip,+ face_weights: HashMap::from([(1, 12)]),+ };++ let signals = Signals::load(&ml).unwrap();++ assert_eq!(+ [1, 2, 3].map(|file_id| signals.nostalgia(file_id)),+ [Some(0.4), Some(-0.1), None]+ );+ assert_eq!([1, 2].map(|file_id| signals.face_weight(file_id)), [12, 0]);+ let similarity = |a, b| signals.similarity(a, b).unwrap();+ assert!(similarity(1, 2).is_some_and(|value| (value - 1.0).abs() < 1e-6));+ assert!(similarity(1, 3).is_some_and(|value| value.abs() < 1e-6));+ assert_eq!(similarity(1, 4), None);+ }+}diff --git a/rust/crates/photos/src/memories/text_embeddings.rs b/rust/crates/photos/src/memories/text_embeddings.rsnew file mode 100644index 0000000000..a2e6ca2d00--- /dev/null+++ b/rust/crates/photos/src/memories/text_embeddings.rs@@ -0,0 +1,1201 @@+use super::output::ClipMemoryType;+use crate::ml_db::CLIP_EMBEDDING_DIMENSIONS;++pub(super) type TextEmbedding = [i8; CLIP_EMBEDDING_DIMENSIONS];++pub(super) static NOSTALGIA: TextEmbedding = [+ 0, -2, 1, -12, 9, 13, -4, 3, -2, -5, 3, -1, -7, -5, 6, 126, -3, -1, 3, -13, 3, -5, -8, 0, 8,+ -13, 10, 7, -4, 4, -3, 1, 2, -5, -4, -5, -2, -3, -6, -6, 4, -5, 5, -2, -14, -9, 2, -4, -1, 6,+ 6, 15, 2, -10, -5, -2, -7, -4, -8, 2, 4, 1, 6, 10, -17, 8, -3, -3, 10, 32, 4, 1, -2, -1, 0, 0,+ -13, -6, -3, -4, -7, -9, 13, 5, 0, 0, -1, -5, 11, -6, 6, -1, 3, -1, -2, 3, -2, 2, -1, -5, 6, 5,+ -7, 1, 5, 0, -17, -1, 1, 2, -4, -5, 33, -3, -2, -4, 5, 2, -4, 0, 2, -6, -1, 2, 4, 9, 5, 0, -2,+ 1, -11, 1, 3, -4, -2, -8, -7, -1, 0, 3, 4, -2, 3, -6, 0, -7, -4, 1, -1, 3, -8, -3, -3, -6, -11,+ -15, 10, -3, 5, 7, -6, 2, 0, -2, -9, -9, 6, -127, 1, -6, -10, 20, 0, 0, 1, 3, -8, -5, 0, 9, 1,+ -1, 1, -1, -4, -8, 4, -5, 6, -7, -5, -8, 10, -7, 10, -8, 6, -13, -6, -3, 11, -17, 8, 1, -6, 4,+ 12, -5, -1, -4, -6, 5, -14, 10, -6, -3, 11, 1, 4, -5, -6, -4, -2, 5, 7, 4, -3, 1, 6, -10, -6,+ 5, -1, -6, -1, -6, 0, -6, 1, -2, 0, 5, -11, 1, -20, 1, -10, 8, -18, -5, 5, -3, -8, 12, -15, -1,+ -5, -5, -1, 1, 4, -8, -2, 1, 4, -8, 2, -10, 2, 7, -8, 2, -2, -6, 6, 7, 3, -3, -8, -14, -3, -11,+ -3, -1, 2, -1, -6, 2, -2, -7, -7, -4, -10, -6, 0, 6, -14, 29, 10, -2, -3, -1, -2, -5, 8, 3, 5,+ 10, -11, -2, 20, 8, 12, -3, 5, -10, -13, -8, -9, -7, 0, 7, -12, 10, -12, -2, 11, 3, -9, -9, 6,+ 3, 7, 11, -2, -2, -8, 17, 4, -1, 2, 4, 7, 4, 8, 1, -4, 9, -6, -3, -5, 8, -2, -1, -1, 5, 10, 0,+ -6, -2, 2, -5, 6, -1, 1, -1, 3, -3, 0, 7, -7, 4, -3, -7, 4, -5, 9, 3, -37, 2, 2, 0, -6, 1, 2,+ -2, 1, 0, 9, -16, 11, -12, 5, 8, 0, 7, 0, -5, -2, -4, 1, -10, 1, -4, -2, 7, -15, -17, -2, -17,+ 4, -2, -3, -14, 4, -1, 10, -16, 1, 0, 14, -1, -4, -2, -3, -1, 9, 3, 5, 3, 9, 4, 3, 0, -16, 10,+ -2, 0, 2, 2, 1, -11, -3, 2, 1, -3, -2, -1, -2, -13, 11, 0, 5, 6, -1, -2, -4, 1, -1, 0, 3, -2,+ 0, -3, 4, -13, 1, 6, 15, -7, -1, 1, 0, -7, -7, -2, 4, -6, 6, 4, -12, 10, 13, -7, -19, -1, -40,+ 6, -2, 8, -5, 12, -2, 6, 2, -1, -2, -10, -3, -5, 3, -4, -4, 1, 2, 0, -8, 9, 3, 2, 3, -9,+];++impl ClipMemoryType {+ pub(super) fn embedding(self) -> &'static TextEmbedding {+ match self {+ Self::Sunrise => &SUNRISE,+ Self::Mountains => &MOUNTAINS,+ Self::Greenery => &GREENERY,+ Self::Beach => &BEACH,+ Self::City => &CITY,+ Self::Moon => &MOON,+ Self::OnTheRoad => &ON_THE_ROAD,+ Self::Food => &FOOD,+ Self::Pets => &PETS,+ Self::Festivities => &FESTIVITIES,+ Self::SnowAdventures => &SNOW_ADVENTURES,+ Self::Waterfalls => &WATERFALLS,+ Self::Wildlife => &WILDLIFE,+ Self::Flowers => &FLOWERS,+ Self::NightLights => &NIGHT_LIGHTS,+ Self::Architecture => &ARCHITECTURE,+ Self::AutumnColors => &AUTUMN_COLORS,+ Self::DesertDreams => &DESERT_DREAMS,+ Self::Stargazing => &STARGAZING,+ Self::Lakeside => &LAKESIDE,+ Self::RainyDays => &RAINY_DAYS,+ Self::SportsAction => &SPORTS_ACTION,+ Self::StreetArt => &STREET_ART,+ Self::FamilyMoments => &FAMILY_MOMENTS,+ Self::Fireworks => &FIREWORKS,+ Self::HistoricSites => &HISTORIC_SITES,+ Self::TropicalParadise => &TROPICAL_PARADISE,+ Self::ForestTrails => &FOREST_TRAILS,+ Self::CitySunsets => &CITY_SUNSETS,+ Self::ColorfulMarkets => &COLORFUL_MARKETS,+ Self::CozyCafes => &COZY_CAFES,+ Self::VintageVibes => &VINTAGE_VIBES,+ Self::AerialViews => &AERIAL_VIEWS,+ Self::ArtisticPortraits => &ARTISTIC_PORTRAITS,+ Self::StreetFood => &STREET_FOOD,+ Self::RiverCruises => &RIVER_CRUISES,+ Self::PlayfulKids => &PLAYFUL_KIDS,+ Self::CoastalCliffs => &COASTAL_CLIFFS,+ Self::CandidLaughter => &CANDID_LAUGHTER,+ Self::GroupSelfies => &GROUP_SELFIES,+ Self::BirthdayJoy => &BIRTHDAY_JOY,+ Self::WeddingMoments => &WEDDING_MOMENTS,+ Self::GoldenHourPortraits => &GOLDEN_HOUR_PORTRAITS,+ Self::ConcertNights => &CONCERT_NIGHTS,+ Self::PoolDays => &POOL_DAYS,+ Self::PicnicDays => &PICNIC_DAYS,+ Self::CampingMoments => &CAMPING_MOMENTS,+ Self::BabySmiles => &BABY_SMILES,+ }+ }+}++static SUNRISE: TextEmbedding = [+ 4, 3, 5, -5, 3, 1, -4, 9, 21, 3, 0, -8, -9, -3, -3, 126, -6, -6, 4, -2, -2, -3, -1, 6, 3, -11,+ 9, 2, 2, -7, 0, -3, -3, 3, -9, 8, 2, 0, -10, 7, 9, -4, 2, -5, -1, -8, 2, 10, -2, 5, 3, 10, -11,+ 9, -3, 5, 9, 0, -4, 4, 5, 0, 2, 3, 2, 7, 12, -1, 12, 6, 3, -7, -9, -7, 5, 7, 1, 12, 0, -3, -4,+ -7, 8, -4, -6, -11, 3, -7, 3, 5, 7, 3, -5, 5, -1, -6, -8, -2, 9, 2, -3, -2, -5, 5, 14, -2, -12,+ 9, -3, -8, 6, -3, 11, -5, -9, -8, 0, -3, -7, -3, 3, -10, 0, 2, 7, 3, 11, 2, 5, 2, 3, -2, -4, 7,+ -14, -10, -15, 3, 1, -5, 4, 4, -2, -13, 13, -13, -3, -6, -9, 1, -1, -6, 6, -8, -7, -11, 3, -17,+ -8, -3, 1, -1, 14, 2, -6, -18, 1, -127, 7, 0, -6, 12, -5, -10, -5, 5, 1, -4, -2, -1, 5, 4, 13,+ 13, 3, -1, -13, -7, 3, 7, 0, -4, -1, -18, 0, -5, -1, -17, -5, -8, 14, -14, 7, 6, 5, 7, -1, 3,+ -7, -1, 3, 6, -2, 2, 0, -6, -6, 0, 6, -5, -9, 1, 6, -8, 1, -9, 0, 1, 14, -4, 3, 8, -7, -7, -7,+ 15, 4, 7, 12, 3, 3, 4, -11, 6, -17, 5, -12, -7, -13, -5, 7, -6, 0, 15, -10, 5, 3, -6, -2, 2, 6,+ 4, -5, -2, 3, 13, -3, 10, 0, 11, 7, -6, -1, -2, 0, 15, 3, -3, -1, -4, -5, -4, 6, 0, -1, 5, -9,+ 13, 1, 3, -7, -1, 2, 5, 2, 11, -9, 21, 0, -2, -8, -3, -7, -3, -3, 5, 6, 9, -9, 2, 31, -3, 2, 1,+ 6, 9, -9, 4, -18, 3, 4, -8, 3, 7, -12, 2, 5, 20, -4, 17, -4, -2, -12, 15, -5, 11, -5, -1, 13,+ 4, -4, 6, 7, -7, 2, 2, 6, 3, 0, 9, -3, 6, 2, -2, 4, -9, 14, -1, -2, 5, -8, 1, 3, -3, 3, 10, 5,+ 1, 4, -2, -4, 4, -4, -6, 7, 2, 6, -1, -17, -7, 0, -8, -6, -1, 0, 5, 0, -8, 0, 3, 10, -14, 19,+ -9, -5, -8, 2, -7, 5, -8, 1, -2, -5, -6, -1, 6, -13, 2, -9, -4, -19, -6, 5, -9, 7, 5, 12, 2,+ -6, -4, 8, -9, -1, 3, 7, -2, -7, 5, 3, 4, -6, 11, -8, -2, -16, 4, 0, 5, -3, -4, -2, -5, -8, -9,+ 9, -6, 5, 19, 0, -8, 2, 7, 2, 6, 1, -5, 6, 16, 9, 2, -13, -4, -4, 8, 3, 5, -13, 4, -3, 1, -6,+ 5, 5, -1, 1, 8, -13, 4, 11, -1, -2, -6, 4, 5, 3, -11, -33, 5, -6, 1, -8, 2, -9, 1, 6, 3, 0, 0,+ -7, -12, -2, 0, -4, -1, -5, -9, -2, 0, -18, 3, 8, 1,+];++static MOUNTAINS: TextEmbedding = [+ 6, 4, 5, -3, -1, 0, 4, 4, 14, 7, -2, -7, 4, -3, 4, 126, -5, 4, 6, 2, -7, -4, -6, 0, 3, -3, 3,+ 0, -5, 16, 3, 2, -7, 5, -1, 11, 0, -3, -7, -4, 12, 4, -4, -7, -3, -5, -3, -4, 9, -2, 3, 4, -8,+ 3, -2, -6, -5, 3, -3, 12, -2, 4, 2, -2, 2, 9, -1, -2, 8, 5, 4, 12, -6, -1, 2, 4, -5, 0, 13, 11,+ 3, -4, 10, 1, -1, -9, 1, -2, -6, -2, 9, 9, -3, -1, -3, 4, 0, 8, 2, 3, -5, -2, 7, -9, 7, 1, -18,+ 6, 7, 0, 1, -3, 7, -3, 1, -3, 2, 1, -6, 4, -3, -9, 4, 2, 0, 2, 20, -14, 7, 4, 4, -2, -5, 1, -1,+ -4, -8, 2, -9, -2, 3, -1, 7, -7, 2, -14, 4, 2, -8, -2, -9, 2, 5, 1, -1, -5, 0, 6, -3, -6, 0, 2,+ 6, -8, -11, -21, -4, -127, 3, 1, -4, 18, -1, 0, 1, -2, -1, -2, 0, -8, 1, 2, -6, 2, -5, 3, -4,+ -1, 1, 5, -6, -3, -5, -20, -1, -9, 1, -8, -1, 7, 3, -4, 7, 2, 3, 5, 3, 3, 2, 5, 2, -1, 7, -3,+ -2, 0, 5, -5, 2, 0, 8, -1, 2, 5, -2, -2, 9, -2, -8, -29, -3, 5, 1, -12, -5, -9, -6, -6, 5, 0,+ 4, 2, -11, -4, -3, 10, -6, -4, -21, 6, 0, -3, -7, 15, -5, -4, 2, -8, 5, 1, 3, 1, 2, 8, -2, 0,+ -1, 8, 2, -4, 2, 8, -2, 4, 3, 17, 4, 3, 6, -9, 0, -2, -1, -2, 3, -2, 4, 4, 8, -2, -4, -1, -6,+ -3, -4, 1, 4, 6, 5, -1, 1, 3, 1, 2, 0, -1, -1, -2, 0, -3, 25, 1, 1, 0, 8, 8, -13, 4, -13, 3,+ -2, 0, -1, 7, -11, 3, -9, 6, 2, 2, -2, 5, -3, 8, -6, 7, -4, -2, 2, 0, 4, -1, 2, -2, -1, 3, 2,+ 5, -6, -1, 1, -7, 1, -7, 3, -1, 1, 12, 6, 4, 8, -2, -4, -4, -6, 3, 6, -1, -7, 3, -1, 1, -4, -3,+ 8, -7, 7, 5, -27, 4, -7, 4, 1, -2, 1, -3, -6, -5, 1, 6, -19, 3, -1, 0, 1, -2, -2, -1, -1, 1, 1,+ 1, 2, 1, 9, 4, -13, 5, -3, 1, -8, -16, -2, -2, 3, -1, 5, -3, 1, 4, 7, 1, -17, 4, -5, -6, -3, 5,+ -7, 9, -1, 5, -5, 6, -3, 0, -8, 5, -5, -2, 2, 5, 5, 6, 14, 4, 9, -8, 0, -2, -10, -7, -1, -7, 0,+ -4, 3, 15, 5, -3, 1, -2, 1, 5, 7, 17, 3, 7, 4, 1, -5, 10, 2, 0, -6, 5, -3, 1, 2, 6, -4, -4, 2,+ 9, -2, 0, -15, -4, 2, -3, -6, 1, -1, -1, -3, -1, -12, 0, -1, 1, -2, -2, 0, -4, -1, -6, 3, -6,+ 0, -2, 4, -6,+];++static GREENERY: TextEmbedding = [+ -2, 2, -1, -6, -1, 3, 0, 2, -6, -4, 7, -4, 12, 4, 5, 126, -3, 2, -1, -9, -5, -9, -7, -5, -3,+ -1, 5, -12, -5, 10, -4, -5, 11, 0, 9, 5, 3, 6, -9, 4, 3, -3, 3, -1, 17, -3, 6, -4, 5, 11, -2,+ 7, -4, -10, -12, 0, -3, 0, -6, 4, -7, -4, 0, -17, 10, 7, -7, -2, 1, 17, 5, -2, 0, 4, 5, -4,+ -29, 1, -17, -3, -10, 1, 12, 4, -2, 5, -2, 0, 1, 12, 17, 5, 2, 0, -6, 5, -29, 5, 8, 1, 0, 1, 2,+ -22, 3, -4, -16, -4, 0, -2, -11, -9, 6, 8, -1, 7, -3, -1, 0, 0, 1, -9, 3, -1, -1, 2, 10, 11, 5,+ 10, -8, 4, -8, 1, 16, -1, 1, -5, 2, -17, 1, 0, 0, -7, -3, -6, 8, 0, 3, 3, 4, -2, 6, 3, 5, -3,+ -3, 1, 4, -11, -16, -1, -2, 0, 11, 0, -4, -127, 1, -11, -1, 19, 1, -2, 3, 9, -1, -6, 8, 17, -1,+ -5, 4, -3, -8, -4, -10, -9, -2, -2, -3, -7, -3, -7, -3, -6, 7, 0, -5, -4, 8, -9, 6, 5, 2, 2, 6,+ 2, 0, -7, 8, 4, -2, 1, -3, -6, 24, -3, 2, -5, 2, -5, 4, -8, 0, -6, -2, -5, -7, -31, -1, 1, -5,+ -5, 0, -12, -6, 2, -2, 5, 10, -2, -9, -3, 0, 13, -5, -12, -48, -10, 4, 0, 0, -16, 0, 7, 1, -31,+ -4, 8, 1, -9, 0, -1, 1, 1, 9, -8, 5, 1, 0, -1, -2, -4, 3, -1, 6, 1, 6, -5, 5, -18, -3, -4, -1,+ 6, 4, 1, 15, -2, -9, -4, -3, -4, 12, 1, -6, 7, 11, -1, -6, 6, 4, 1, -3, -1, -1, 2, -1, 2, 0,+ -3, 12, -5, 4, 4, -7, 7, 6, -6, -8, -1, -3, 3, -29, 3, -2, -12, 9, -10, -3, -9, 8, 3, -3, 7,+ -4, -2, 13, -15, 1, 3, 2, 4, 8, -6, 3, 1, -7, -2, 5, 6, 0, 8, 0, 8, 3, 5, 7, -17, -4, 0, -7, 2,+ -2, 4, -4, 5, -7, 7, 12, 2, -1, -6, 3, 9, 8, 1, -6, -4, -2, 10, 1, 1, 0, 0, -6, 2, 0, 2, -5,+ -2, 8, 0, 3, -4, 6, -5, -5, 1, -4, 2, -1, -11, -8, 1, -3, -7, -3, -6, -3, 0, 6, -3, 0, 4, -2,+ -5, -5, -2, 8, 8, -6, 8, -1, -1, -3, 2, 1, 0, -8, 4, 1, 5, -3, 5, -12, 4, -6, -6, -7, -8, 13,+ 15, 2, -7, 1, -1, 5, 4, -12, -4, -10, 1, 2, -6, -5, 14, 2, 3, -4, 11, 0, 5, 7, 8, 10, -6, 3, 1,+ -1, 12, -1, 0, 0, 3, -2, -4, 2, -3, 1, -8, 10, -4, 5, -4, -24, 9, -3, -1, -9, -5, 4, -2, -8, 1,+ -6, -11, 2, -2, -6, 4, 1, 0, 1, -5, -9, 0, -6, 6, 7, 11,+];++static BEACH: TextEmbedding = [+ -4, 1, 2, -9, -1, 9, 5, 1, 2, 7, 5, -3, -11, 3, 0, 126, 0, 1, -4, 6, -3, -7, 7, -10, 5, -7, 8,+ -4, 3, 3, -2, -5, 5, -6, -1, 3, -2, -3, -8, -5, 1, 4, -1, -6, 6, 2, 0, -1, 5, 0, 7, 12, 3, 1,+ 2, -6, -1, 3, -6, 6, -1, -4, -2, 3, -1, 6, 1, -6, 2, -7, 9, 2, -1, -1, 8, 5, -12, 1, 9, 6, 0,+ -8, 10, 5, 2, 0, -2, 3, -4, -2, 5, 6, 5, -1, -7, 3, -11, 2, 3, 0, -5, -3, 0, 0, -7, -7, -17, 6,+ 4, -5, -4, 1, 4, -8, 2, -6, 1, 0, -9, 2, -5, 4, 5, 3, 0, 3, 13, -6, -2, 2, -2, 3, 3, -2, -5,+ -4, -6, 2, -1, 1, 1, 3, 2, -10, 1, -5, -2, 3, -9, 1, 2, -2, 10, -9, -2, 0, 2, 2, 6, -4, -8, 0,+ 5, 0, -7, -14, 4, -127, 5, -6, -3, 15, -1, 3, 1, 4, -4, 3, -3, 4, 3, 4, 8, 3, -1, 2, -2, 4, -2,+ 8, 5, -7, 11, -7, -1, -11, -2, -16, -2, 2, 6, 5, 9, 4, 4, 4, 1, 2, 6, 6, 6, -2, -1, -3, 2, 1,+ -5, -2, 2, 0, -5, -3, 0, 0, -4, -3, 8, 0, 2, -26, -6, 12, -8, -13, 1, 4, -5, 1, -1, -1, -4, 1,+ -14, 6, -10, 0, 4, 4, -23, -2, 2, -6, -2, 8, 2, -3, 2, -18, -2, 1, 11, -4, 1, 2, 2, 2, -1, 8,+ -1, -4, 2, -2, -4, 6, -1, 9, 7, 2, 1, -2, 3, -3, -4, 3, 3, 2, 0, 4, 5, 0, -8, -2, -1, 1, -1, 4,+ -5, -3, 5, 0, 11, -3, 1, 3, 4, 1, 6, -2, 4, 3, 26, 1, 4, 3, 11, 6, -10, 1, -9, 2, -2, -3, -5,+ -2, -11, 1, -7, -1, -1, -3, 0, 3, -3, 0, -3, 4, 0, 0, -8, 9, 6, 3, 5, -1, -7, -4, -3, 2, -7,+ -2, -2, 0, -1, -6, 3, -4, 7, -4, 7, 1, 3, -2, -1, 2, -2, 4, 1, -5, -4, 4, 4, -1, -6, -3, -7,+ -12, 3, -2, -9, -5, -5, -3, 0, -5, 8, -2, -2, -1, 1, 5, -4, -1, 5, 1, 3, 5, -1, -8, 4, -3, -6,+ 3, 1, -7, 3, 0, 2, 3, 1, -3, 4, -9, 2, 0, 0, 4, 1, -1, -2, -1, 15, -5, -9, 2, 5, 1, -4, 1, 2,+ 3, -2, 6, 2, 4, -3, -3, 1, 2, -1, 0, 2, 3, -2, 2, 6, 2, 3, -5, 2, -6, -11, 6, -1, 0, -8, -1,+ -9, 5, 0, -5, -2, -7, -3, 8, 10, 16, 5, 3, -3, -6, -1, 5, 8, 2, 1, 1, -10, 2, 5, 0, -5, 2, 4,+ 2, 3, -3, -24, -2, 1, 6, -8, 3, 5, 2, -1, -1, -4, 1, -1, -1, 3, -9, 2, -2, 2, -4, 3, 6, 4, -2,+ 7, -16,+];++static CITY: TextEmbedding = [+ -5, 0, -6, -4, -4, 3, -1, 2, 6, 1, 1, -4, -13, 1, 8, 126, -1, -2, 3, -9, -1, -2, -10, 1, 2, -7,+ 6, -4, -9, 0, 0, 1, 9, 11, -8, 2, 3, -3, -11, -4, 7, -6, 0, -10, 0, -15, -1, -1, 4, 0, 12, 5,+ -1, 11, -3, -1, -2, -6, 1, 12, 5, 3, 6, -4, -19, 5, 6, 0, 0, 9, 5, 7, -9, 4, 0, 1, -6, 9, 15,+ 19, 4, 0, 9, 5, 7, 0, -13, -2, 3, -3, 6, 7, -5, 2, 1, 3, -14, -8, -3, 2, -2, 3, 5, 7, 2, -3,+ -12, 3, 5, 2, 4, -12, -5, -12, 4, 6, -1, -6, -1, -9, -6, 3, 8, 6, 13, 16, 4, -7, 0, 1, -4, -3,+ 10, 5, 3, -8, -4, 0, -10, -9, 3, 0, 2, -3, -2, -3, 12, 5, -8, 7, 5, -6, 17, -6, -2, -14, -3, 1,+ 4, 4, -9, 0, 7, -5, -2, -6, -6, -127, -6, -3, -10, 12, 3, 4, 6, -9, -5, 3, 1, 3, 8, -3, 1, 6,+ 8, 6, -1, -5, -5, 4, -3, -3, 2, -16, -5, -16, 0, -4, 7, 4, 7, 1, -2, 3, -1, 5, -2, -1, 8, -15,+ 4, 6, -11, 3, 2, -1, -18, -8, 0, -6, 8, 1, 2, -6, -7, 2, 3, 0, -7, -18, 0, 16, -6, -6, -3, -8,+ -3, -3, 1, -8, -11, 1, -5, -5, -13, 1, -12, -4, -16, 2, 2, -8, 1, 11, -4, -3, 2, -22, 1, 4, 2,+ 3, -6, 7, -7, 9, -7, -10, 5, 4, 10, 9, -5, 0, 4, 11, -1, 5, 1, -4, -11, -2, -3, -5, 8, -8, -1,+ 5, -1, 0, -2, 0, 7, -5, 0, 1, 0, 9, 9, -5, -6, -3, 9, 3, 0, 2, 0, 0, -2, -1, 14, -1, -5, -1,+ -2, -3, -9, 6, -11, 1, 13, 5, 3, 11, -13, 5, -11, 7, 4, -7, 2, -2, 11, 9, -2, 11, -5, -4, -6,+ 14, -3, 0, -2, -4, 2, -5, -2, 8, -4, -1, -3, -6, -5, -2, 6, -6, -3, -5, -5, -12, -7, -1, 4, -2,+ -8, 6, 3, -2, 0, -5, 0, 5, -4, -1, 10, 4, 2, -1, -14, 8, 2, -3, 1, -1, -2, 7, -11, -13, 0, -6,+ 0, -4, 1, 2, 8, 6, -8, -11, 5, -9, 9, 9, 1, -3, 2, -5, 1, 5, 5, -13, 4, 0, 6, -4, 6, 3, -5, 12,+ 3, -1, 3, -9, -7, 6, -8, -5, 1, 9, -3, 2, 0, 2, 0, 8, -9, 3, -4, 0, 2, -6, -7, -1, -7, 8, 5, 7,+ 11, 3, 0, -18, -9, -4, -3, -2, 3, 3, -3, 1, 12, 2, 1, -14, -2, 10, 11, 20, 3, 6, -7, 3, -1, 14,+ -5, -10, -8, 5, -3, 2, 1, 8, -1, 1, 3, 5, 4, 0, -28, -11, 3, 9, -6, 7, -1, 6, -5, 1, -14, 2,+ -2, 5, 7, 6, -1, -1, -2, -10, -3, 0, -4, -5, 5, -6,+];++static MOON: TextEmbedding = [+ 4, 4, 1, -9, 5, -3, 6, 7, 9, 9, -5, -10, -9, 8, 4, 126, -9, 10, 0, -2, 0, 6, -7, -6, 1, -13, 0,+ -5, 3, 7, -1, -8, -8, 4, -4, 3, -1, 5, 0, -8, 9, 13, -10, -7, 4, -4, 1, -3, 6, -5, 7, -2, -4,+ -3, -5, 7, 1, 2, 5, 12, -2, 0, -4, -2, -5, 8, 9, 2, -3, -6, 10, 14, -4, -3, 5, 1, -5, 9, 11, 8,+ -10, 6, 2, 1, -3, 4, 0, 8, -11, -1, -3, 18, 0, 8, -4, 4, -10, -9, -1, 2, -3, 6, -10, -13, 0,+ -2, -14, 3, 4, -6, -5, -2, -2, -5, 10, 8, 7, 9, -9, 16, 9, -1, 3, 3, 6, 11, 21, 7, 6, 11, -2,+ 6, -1, 6, -10, -1, -3, -5, -2, 4, 2, -4, 0, -9, -8, 1, -2, -7, -15, -8, 0, 1, -3, -5, 3, 9, 2,+ 4, 5, -4, 1, -8, 8, -1, -6, -15, -1, -127, -3, -2, -6, 14, 6, -5, -3, 3, -6, -9, 6, 2, 4, 7, 3,+ 4, -8, -3, -4, -8, 4, 11, 5, 0, 12, -18, -7, -8, 0, -6, -2, -2, 8, -4, 13, 6, 0, 10, 9, -7,+ -11, 5, 9, 6, -10, 5, -3, 5, 5, -7, 4, -9, 1, -9, 0, -6, 6, -7, -6, -5, -5, -10, -1, 14, -10,+ -3, -10, -2, -3, 9, 4, -2, 3, -1, 1, -1, -2, -3, -5, -9, -26, -3, -3, -11, 5, 26, -1, 6, 2, -5,+ 3, 4, -4, 1, 2, 5, 1, -3, 5, -2, 2, 1, 0, 2, -3, -7, -5, 11, 5, 1, -11, -7, 0, 9, -3, 2, 4, -4,+ 12, -5, -3, 2, 2, 3, 2, 1, 1, -1, -6, 27, 15, 7, 15, -2, 0, -7, -4, -2, -10, -13, 6, 3, 13, 6,+ -10, 0, 1, -3, -13, 3, -21, -3, -1, -1, -15, 3, -2, 2, 2, 8, 3, 5, -10, 1, 1, 14, 0, 8, 2, -2,+ 4, 8, 12, 2, 13, 2, 5, -5, 2, 1, -17, 0, -8, 4, -1, -5, 4, -1, 8, -7, 6, 4, -14, -2, -2, -4, 7,+ 0, 12, -1, -14, -3, 0, -5, -1, -2, 13, -2, 6, -3, -8, 5, 3, 10, -6, -11, -10, -2, -6, -1, -1,+ -2, 14, 6, 7, -4, -5, 0, -3, 0, -15, -3, 0, -4, 11, -9, 9, -10, -18, 11, -10, -1, 4, -13, 3, 9,+ -1, 2, -5, 3, 0, -1, -6, 2, -10, -1, 0, -3, 2, 2, 5, 0, 0, 9, -8, 1, -1, 4, 0, -12, -3, -7, -4,+ -6, -2, -6, -2, 1, 7, 2, -13, 1, -2, -3, -9, -1, -6, 4, -2, 4, -5, -9, -13, -6, -7, 0, 1, -1,+ -5, 3, -7, 4, 1, 16, -5, 0, -7, 12, -7, 0, 7, -9, -1, -2, 4, -11, 6, -5, -29, 6, 2, 4, -6, -5,+ 4, -2, 3, 4, -3, -3, 2, 7, 2, 3, 0, -4, -10, -5, 13, 2, 0, 6, -1, -4,+];++static ON_THE_ROAD: TextEmbedding = [+ -8, 4, -2, -2, 11, -2, 1, -3, -1, 7, -3, -6, 0, 9, 0, 126, 3, 5, 5, -7, 5, -1, -11, -4, 3, -4,+ 2, 3, 3, 8, 2, 3, -6, 0, -5, 2, -7, -4, -4, -7, 7, 3, -7, 2, -9, -12, -7, 6, -6, 3, -4, -7, 4,+ 6, 11, -8, -11, 2, -5, 1, -3, 9, -4, 12, -18, 2, -7, -2, 12, 15, 5, 10, -12, -5, -12, 1, -17,+ 6, 16, 11, 0, -3, 8, 2, 9, 3, -6, 5, -6, -1, 13, 3, 4, -10, 1, 2, -11, 4, 4, 7, -3, -1, 4, -14,+ -8, 7, -14, -5, -9, 10, -3, 1, 17, -5, -5, -3, 4, -6, -11, 2, 8, -8, -6, -2, -7, -5, 14, 1, -8,+ -4, -3, 0, 1, 11, 10, -5, -7, -6, -9, -4, 10, 20, 8, -4, -1, -11, -2, 3, -6, -13, -1, 5, 8, -3,+ 6, -1, -9, 1, 4, 2, 0, -2, 1, 1, 12, -5, 8, -127, 2, 8, 1, 11, -12, 10, 4, -5, -6, 4, 3, 9, 7,+ -2, 6, -4, 10, -4, 5, -3, -7, -3, 7, -13, 2, 18, 6, -7, 7, -30, -5, 7, 5, 0, -6, -1, -3, 1, -2,+ 8, 4, -9, -11, 1, 5, -7, 0, 1, 2, 1, 4, 1, 3, -1, -8, 3, 9, 1, 1, 2, 2, -15, -9, -2, -8, -17,+ -7, -12, -7, 4, 4, 4, -7, 8, 0, 5, -26, 2, -3, 10, -14, 8, -9, -6, -12, 11, -11, -1, -5, -19,+ 3, -1, 2, -4, -12, -4, 7, -1, -1, -7, 4, -2, -11, -2, -6, -10, -2, 7, 3, -6, -6, -2, 3, -7, 11,+ -3, 6, 1, -6, 4, -9, -1, -9, -2, -9, -5, 4, 5, -10, -16, 5, 1, 1, -4, 8, 6, 6, 1, 2, 2, 4, 2,+ 16, 3, -1, -5, 0, 0, -9, 6, -4, -9, -9, 5, -6, 2, 3, -7, -1, 13, -4, 1, 8, -2, 1, 9, 2, 6, 2,+ -4, -2, 13, -4, 5, 10, 1, 7, -6, -5, -4, 4, 0, -6, 0, 11, -4, -1, 2, -3, 2, -2, 4, -7, -6, -2,+ -8, -4, 6, 5, -6, 0, -1, -8, 3, -12, -2, 2, 0, 4, 0, -23, 5, 0, -4, 4, -13, 7, 2, -4, -2, 9,+ -18, 9, 1, -6, 5, -2, 4, 4, -7, 12, -2, 11, 1, -5, -2, 6, 4, 2, 14, -10, 7, 1, 0, -4, -2, 3, 9,+ -5, 2, -5, 4, 9, -6, -7, -2, -10, -12, -8, 13, -1, -3, 1, -4, 3, 4, -6, 4, -8, -2, -6, -3, -1,+ 6, -3, 7, 4, 4, 5, -5, 3, -11, -4, -2, -4, -5, 0, -7, 0, 7, 5, 0, 6, -8, 4, 8, 9, -8, -2, 6,+ -9, -8, -1, 13, 16, 3, 1, 0, -2, 6, 0, 5, -5, 1, 12, -2, 5, 2, -19, 1, -1, -2, -2, 9, 7, 7, -5,+ -5, 1, -4, 5, -7, 1, 2, -6, -1, -4, 1, 9, -3, 6, -3, 5, 1,+];++static FOOD: TextEmbedding = [+ -8, 4, -4, -8, -8, 4, 5, -5, -4, -7, 5, 9, 0, 5, 1, 126, -2, 1, -1, -12, 6, -2, 3, -4, -5, -1,+ -6, 6, 3, -1, -5, -3, 10, -2, -7, 5, 2, -1, 4, 0, 12, -7, -3, 4, -9, -10, -5, 0, -4, -6, 8, 4,+ 5, -2, -8, 3, -10, -2, -2, 12, -4, 0, -1, -7, -19, 7, 5, -2, 14, 10, 8, -5, 0, -4, 1, 3, -12,+ 3, 2, 2, -3, -6, 5, 8, -3, 6, -1, 7, 0, -6, 4, 12, -7, 4, 0, -3, -27, 4, -3, -3, -5, -1, 5, 18,+ 2, 3, -14, 6, 2, 2, 0, -2, 24, -16, 4, -5, 2, 2, -12, 0, -6, -5, 5, -6, -3, 8, 15, 0, 0, 1, -3,+ 2, 3, 4, -2, -5, 1, 6, 2, 5, -3, -2, -1, -9, 0, 2, 0, 5, -4, -3, -3, 11, 13, -4, 2, -1, 6, 0,+ 5, -3, 2, 2, 9, 9, 7, -20, -5, -127, 1, 6, 3, 15, 2, 3, 2, 1, -1, 8, 1, 1, 0, 6, 1, 1, -2, 7,+ -11, -8, 8, -1, -3, -16, -8, -2, 0, -10, 0, 8, 3, 6, 8, -2, 3, 0, 3, 5, 11, -5, 5, -9, -1, 1,+ 1, 3, -4, 3, -17, 0, 1, 2, -2, 6, -2, -2, 0, -5, 5, -7, 0, -13, -8, 14, -4, -10, -7, 1, -4, -3,+ 4, -3, -3, 0, -7, 9, 6, 0, 8, -4, -9, 3, -2, -5, -3, 11, -8, -9, -1, 2, 2, -1, -1, -1, -1, 3,+ -5, -4, 2, -4, 4, -6, 0, -2, 3, 6, -3, -1, 2, 8, 2, -4, 7, 9, 1, -11, 10, 6, -4, 0, 4, 0, -8,+ -1, -2, -3, -1, 3, 0, -7, 7, 0, 5, 1, 6, 1, 4, -3, 6, -1, -1, -3, 4, -1, 7, 4, 3, -4, -12, -2,+ -15, -1, -11, 5, -9, 12, -3, -1, -2, -9, 4, 4, -1, 0, -4, 19, -8, -3, -4, 2, -14, 3, -5, 5, 8,+ -2, 3, -3, 0, -3, -11, 6, -2, 1, -5, 5, -3, -2, 13, -1, 3, -11, -2, 0, -3, 1, 4, -1, -2, 3, 1,+ 3, -2, -2, -3, -6, 6, -13, 3, 0, -21, -5, -2, -5, 2, -3, 11, 8, -2, -3, 5, 11, -10, 7, 6, -4,+ 4, -4, 5, 5, -2, 16, 4, 2, 7, -6, 1, 0, 1, 9, 2, -8, -4, 3, -1, 1, 1, -7, -8, -7, -3, 1, 17,+ -2, 4, -5, 4, 3, -4, 2, 4, 3, -1, 10, -2, -4, -4, 5, 3, 9, 0, 1, -5, -4, 2, -3, 4, -2, 6, 8, 5,+ 5, -21, 1, -16, 3, -5, -1, -2, 4, -4, -5, -6, -7, -1, -6, 2, 15, -2, 2, -6, 1, -1, 14, 2, -5,+ 5, 3, -6, -2, 10, -5, 0, 0, 5, -10, -30, -7, -32, 6, 1, -1, -6, 10, -5, 6, -1, -4, -5, -2, 4,+ -7, 9, -11, 3, 0, -3, -7, -3, 4, -4, -2, 0, -10,+];++static PETS: TextEmbedding = [+ -4, 4, 0, -1, 0, 1, -3, 0, 5, -2, 3, 1, -18, -1, -3, 126, -7, -1, 9, -8, 5, 10, 9, -8, 2, -11,+ -4, 6, 6, 1, 1, -7, 3, 3, 2, -12, -1, 0, -4, 1, 12, -6, -3, -8, -3, -6, 3, 1, 7, -2, 15, 2, 1,+ -1, 8, 5, -10, -5, 1, -4, -7, 4, -4, 12, -12, 7, 2, 9, 3, 4, 0, 9, 0, -6, 0, -1, -23, 2, -5, 2,+ 9, 0, 4, 1, -7, 6, 0, 3, -9, -3, 5, 3, 0, 7, -9, 0, -17, -4, 0, -9, -14, 4, -4, 9, -1, -5, -15,+ 2, 1, -3, 1, -2, 24, -3, -2, -3, -3, 0, 2, 0, -4, -5, 14, -3, 5, 0, 0, 2, 7, 6, 5, 11, 2, -1,+ -6, -9, -7, 3, -2, 2, -7, -1, 6, 2, 1, 5, 7, 6, 0, -3, 3, -3, -1, -8, -3, -4, -3, 1, 5, -2,+ -14, 8, 2, 4, 10, 4, -1, -127, 8, -2, -3, 16, 5, 8, 6, 14, 2, 7, 2, -5, -3, 3, 6, 2, 0, 1, 8,+ 2, -5, -5, 0, -14, -1, -3, -5, -8, 4, 3, 5, 2, 15, -4, -3, -5, -6, 3, -5, 6, -10, 3, -1, -3, 1,+ -11, -4, 5, -10, -8, 4, -2, 2, 9, -1, 1, -5, -5, 1, 5, -3, -19, 0, 1, -5, -16, 0, -3, -7, -2,+ 10, -8, -4, -8, -4, 1, -8, -2, 7, -9, -21, -1, 4, -10, -2, 12, -3, -2, -3, -12, -1, 5, -2, -1,+ 6, 6, 1, 6, 8, 0, 0, 3, -4, 1, -3, 3, 14, 7, 11, 5, 0, -9, 3, -2, -5, -4, 7, 7, -4, 11, 1, 0,+ -16, 1, -1, 6, 2, 2, 3, 6, 4, -10, -5, 0, 0, 5, 6, -4, 13, -4, 11, 0, 9, 7, 9, -1, 3, -5, -12,+ 1, -12, -4, 5, 9, 0, 4, -17, -5, 1, -3, 3, 6, -3, 0, -3, 13, -1, 5, -4, -5, 5, 6, -3, 2, -3,+ -3, -1, 1, 4, -2, 8, 2, -1, 1, -7, -13, 8, 4, 6, -10, -6, 11, 4, 1, -6, 1, 8, 7, -1, -4, -1, 4,+ 3, -5, 8, -6, 6, -14, 4, -3, -15, -1, 1, 2, -2, -5, 7, 3, -9, -9, 8, 2, -17, -8, 5, 3, 0, -5,+ 0, 8, -7, -17, 8, 0, -1, -6, 5, 7, 2, -10, 12, 2, -7, -6, 8, -2, 2, 6, -5, -6, -3, -4, 13, -16,+ 18, 2, 6, -4, -1, 6, 3, 1, -6, 8, 1, -5, -11, -4, -3, 8, -4, 6, -7, 3, 6, -8, 9, -4, 1, -11,+ 10, 2, -17, 12, -5, 4, -3, -10, -15, -6, -4, -8, -6, -6, -2, 5, 6, 7, 13, -2, -5, 10, -13, 2,+ 5, -2, 2, 4, 2, 5, 3, -9, -7, 5, 3, 1, -7, -9, -19, 3, 3, 1, 5, 5, 6, 1, -3, 2, -5, -8, -2, -3,+ -4, -5, -2, -5, -6, -5, -5, 2, 5, 2, 7, -13,+];++static FESTIVITIES: TextEmbedding = [+ -1, 3, -7, -6, 2, -4, -7, -5, -5, 0, 6, -8, 4, 5, 1, 126, 11, 2, 11, -15, -9, -3, -5, -3, 1, 1,+ -1, 2, -1, 1, 8, -6, 0, 2, -6, -2, -2, -1, 10, 0, 7, -4, -7, 8, -1, -6, -7, 0, 2, -1, 8, 9, 8,+ 2, -6, -7, 1, 4, -5, 2, -7, 4, -2, -16, -19, 3, 1, -9, 6, 22, 9, 4, -5, 3, 3, 6, -6, 10, 13, 1,+ 4, 3, 1, -1, 1, 0, -8, 3, 5, -4, 7, 8, -3, -3, 8, 1, -13, 5, -4, -2, -2, 2, 4, 1, 5, 4, -13, 1,+ -4, -6, -3, -14, 31, -6, 2, 5, 2, 1, -1, 7, -1, 1, 9, -9, 0, -4, 4, -8, -11, -1, -16, 2, -5, 2,+ 5, -2, -13, -1, 4, -14, 2, -1, 6, -7, -9, 10, -12, 2, -8, 4, -4, -1, -5, -2, -2, -3, -3, -2, 2,+ 1, -7, 4, 2, 6, -6, -6, 6, -127, 0, -2, 3, 14, 2, 0, 0, 3, -3, -1, -1, 0, 1, 2, 1, -5, 1, -3,+ -6, -3, 11, 0, 14, 1, 18, -7, -4, -8, -2, -5, 0, 4, 3, 5, -8, 1, 7, -6, 1, -4, 0, -3, -2, 2, 5,+ -5, 0, 5, 4, 3, -6, 6, -15, 22, 0, -6, 1, 7, -5, -9, 7, -13, -9, 1, 7, -10, -5, -10, -1, -7,+ -10, -9, 0, 0, -9, 6, -17, 3, 0, -12, -21, 6, -1, -4, -9, 8, 2, 1, -3, -6, 4, 1, -4, -4, -6, 4,+ 5, -1, 0, -14, 3, 1, 1, 1, 6, -4, -1, 8, 4, -5, -4, -12, -7, 2, 9, 0, 5, 3, -3, -2, -3, 3, -11,+ -12, -5, -5, 5, -4, -6, 8, -4, 1, -6, -3, 7, -7, 7, 2, 10, -2, -1, -5, 1, 6, -14, 5, -8, -6,+ -11, 2, 7, 4, 0, -7, -11, 2, 6, -2, -2, 2, -6, -1, 23, -5, 1, 17, -6, -4, -3, 3, 5, -1, 3, -2,+ 1, -1, 3, 3, -5, 4, -13, -3, -9, 6, -6, -4, -5, -2, -3, 5, 0, -8, 5, 6, -7, -1, -2, -4, 0, 8,+ -1, 3, -1, -1, 4, 1, -3, -8, 5, -3, -16, 4, -8, 2, -2, -10, 8, 1, -3, -9, 3, -6, 12, -6, -1, 1,+ 4, 10, 6, -11, -2, -20, 10, -17, 2, -5, 12, -1, 8, 1, 5, -23, 4, 0, -5, -9, 5, 1, 1, -2, 3, -6,+ 19, -7, 0, -1, 5, -4, 2, 6, -2, -5, -1, 6, 8, 2, -4, 3, 5, -4, -2, -10, -7, -1, -13, 15, 1, 12,+ 6, 7, 6, 3, -3, 4, 12, -2, -4, 4, -4, 1, -10, -6, -5, -9, 3, -12, -3, -6, -9, 4, -2, -6, 6,+ -12, 9, -3, -9, -1, 3, 2, -2, -1, -7, -3, 6, -2, -3, -9, -29, 16, 5, 13, 6, 6, 6, -2, 10, 6, 4,+ -3, 3, 0, 6, 3, -8, -4, -8, -3, -6, 3, 9, -10, -2, -8,+];++static SNOW_ADVENTURES: TextEmbedding = [+ -11, 10, 4, -8, 11, 3, -5, 1, -2, 7, 4, -6, 10, 10, 3, 126, -1, 4, 4, 14, 5, -4, 8, -3, 14,+ -12, 6, -3, -5, 12, 3, -10, -1, -6, -4, 1, 0, 2, -4, 3, 13, -1, -8, -12, -9, -4, 8, 3, 1, 1, 0,+ 5, 1, 17, 13, -13, 3, -4, 14, 15, -5, 5, -4, 4, 0, 4, 4, -5, 17, 18, 1, 10, -14, 7, -11, 4, -2,+ 1, 0, 12, -9, 6, 17, 0, 14, 5, -4, 10, -5, -13, 0, 1, 14, -10, -5, 9, -20, 5, 1, 9, 2, -4, -1,+ 6, -2, 2, -15, -6, 3, 11, -14, 7, 3, -8, 2, -14, -6, -15, 5, -13, 4, -14, 9, -8, 3, -4, 1, -6,+ 8, 2, -1, 5, -6, -3, 6, 4, -10, -8, 18, -4, 9, 16, 11, -2, 3, -1, -1, 12, 8, -8, -5, -6, -13,+ 0, 5, 10, 15, 2, -4, -2, -17, 2, -7, 5, 0, -9, 2, -127, -8, -3, -7, 12, 14, 1, 11, -1, 3, 2, 4,+ -13, 6, 8, 2, 0, -14, -3, -5, 0, -2, 2, 10, 0, -11, 5, -4, -9, 25, -16, -4, 8, 11, -14, 3, -3,+ -5, 5, 7, 15, 7, -7, -9, -1, -3, -7, 2, -2, -5, 0, -7, -8, -16, 5, 5, -11, -1, 1, 2, -13, -7,+ -3, 11, -4, -1, 3, 5, -10, -15, -6, -9, 1, 12, 1, 9, -1, -24, 8, 1, 11, -21, -9, -1, -8, -5,+ 29, -2, 3, -2, -13, -4, 4, 0, -6, -3, 0, 2, 0, 6, 7, 6, -10, -1, -10, -4, 2, -7, 2, 12, -5, -4,+ -12, 4, 9, -5, -5, -13, 4, -10, 8, 1, 7, -2, -1, 19, 11, 14, 7, -5, 3, 10, -1, -5, 5, -9, 10,+ -6, -4, 17, -9, -1, -1, 30, -12, 8, 1, 11, -25, -9, 3, -6, -1, 4, 2, -4, 0, -10, 5, 14, 5, 3,+ -3, 1, 4, -14, -1, 4, 4, 5, 6, -9, 10, -8, -4, -5, 8, 7, 11, 0, -14, 3, -1, -3, -1, 15, -10,+ -8, 6, 5, 5, 4, 15, -6, -2, -6, -5, 5, -10, -1, -18, 12, -5, -1, -4, 18, -10, -1, -11, 14, -17,+ -14, -1, -7, -1, 3, -12, 8, -10, -5, -4, 2, -18, 7, -12, 4, 15, 7, 3, -19, 18, -3, 5, 3, 2, -1,+ -8, 8, 0, -11, 36, -6, 4, 4, -8, 1, -3, 12, 4, -14, -10, 7, 23, 10, -26, -23, 1, 8, -1, 3, -2,+ -8, -1, -2, 1, 6, 5, -5, 1, 0, -4, -9, -4, 5, -4, 1, -2, 5, 2, -3, -8, -1, -10, -9, -5, 9, 8,+ -8, 2, 10, 3, -1, 1, -7, -18, 9, -16, 11, -6, 6, 13, -10, 16, -8, -13, 4, 3, -4, 7, 9, 1, 3,+ -2, -8, -11, -4, -2, -4, -15, -21, 13, 8, 5, -11, 18, 10, -1, -2, -4, -10, 11, -12, -3, 7, -3,+ -5, 8, -18, 2, 4, 2, -1, 7, 7, -3,+];++static WATERFALLS: TextEmbedding = [+ 3, 3, 5, -6, 9, 3, -5, -1, 9, 2, -6, 5, -1, 2, -3, 126, -2, 8, 1, -3, -8, -13, 1, 2, 7, -2, -5,+ 1, -1, 2, 3, -3, -5, -8, 2, 2, 8, -8, -9, 1, 9, -7, -9, -2, 7, -1, 1, 1, 3, 0, 2, 10, -7, -3,+ -3, -1, -6, 7, 6, 2, -6, 9, 0, 3, 1, 6, 3, -7, -4, -9, 4, 3, -5, 8, -6, 3, 6, 4, 5, 9, 4, 0,+ 13, -7, 5, -1, 2, -3, -6, 2, 15, 2, -3, -8, 6, 1, 4, -1, 6, 9, -4, -1, -6, -1, 2, -10, -12, -2,+ 7, -4, -2, 1, -9, -6, 3, 3, 6, -3, 0, 1, -5, -14, 6, -3, 2, -2, 17, -7, 5, 9, -1, 5, -6, -6, 4,+ -3, -8, 5, -5, -11, 4, 2, 5, -3, 2, -6, 6, 9, -3, -1, 6, -1, -6, 6, -2, 2, -7, 6, 0, -4, -5,+ -7, -4, -7, -16, -21, 4, -127, -4, 1, -6, 15, 6, 1, -3, 3, -1, -9, 8, 3, 9, 14, 4, 8, 0, -1,+ -9, -10, 0, 8, 5, -6, -9, -12, -4, -7, 1, 0, -3, 1, 3, -8, 9, 9, 4, -5, -3, -9, 0, 0, 6, 12, 4,+ -2, 2, 3, 8, -2, 1, 2, 3, -6, -9, 5, 0, 5, -5, -7, -4, -24, -1, 6, -3, 0, -8, -8, -5, -4, 6,+ -1, 0, 3, -12, -6, 2, 1, -8, 0, -28, 3, -5, -3, 0, 3, -4, 7, -3, -20, 2, 3, 0, -4, 3, 6, -5, 0,+ 1, 3, -4, -7, -4, -1, -3, -3, 3, -3, 8, -2, 5, 1, -1, -6, -3, 8, 6, -2, 1, -3, 14, 2, 1, -5,+ -2, -4, 5, -2, -4, 1, 9, -2, 7, 0, 1, 11, 11, -5, 1, -7, -5, -2, 21, -5, 4, -4, 8, 12, -9, 6,+ -11, -3, -5, -6, -2, 1, -11, -1, -10, 2, 10, 7, 11, -1, -12, 4, -9, 1, -1, 5, -4, -11, 12, 6,+ 7, 1, -1, 0, 11, 6, 3, 8, -1, 3, -9, 2, 5, 1, 15, 18, 5, 2, 5, -1, -7, 0, 4, -2, 11, -12, -1,+ -1, -9, -1, -14, -3, 2, -11, 13, -6, -12, -8, 3, 11, -3, -2, -7, -2, -3, 2, 0, -4, -16, 7, 6,+ 2, -1, -7, 8, 1, -4, 3, 6, 6, 3, -7, -6, 4, 0, 3, 0, -2, -2, -4, 3, 2, 9, 6, 5, 4, -7, -3, 7,+ -13, 1, 6, 6, 8, -1, 10, -8, 4, -3, 8, -4, 2, -2, -2, -6, 2, -5, -3, 8, 11, 7, 7, 12, -1, 6,+ -2, -8, -6, -7, 1, 4, -11, -4, -8, 2, 3, -3, 5, -1, -7, -1, 9, 1, 20, -2, 8, 0, 9, 3, 1, 12,+ -2, 5, 12, -5, -1, -2, 8, -1, 7, -7, 12, 3, 11, -16, 6, 1, 0, 1, 5, 0, -9, -4, -1, -4, 1, -4,+ 4, -2, 0, 0, 10, 0, -9, 0, 2, 8, -4, 10, 2,+];++static WILDLIFE: TextEmbedding = [+ -3, 0, 4, -10, -5, 2, 7, 1, 10, 17, -2, 2, 3, 2, 1, 126, -7, 11, 4, -2, 1, -2, 10, 3, 1, -2,+ -1, -10, 3, 5, -2, 5, -10, 3, 0, 2, -2, -1, -9, 3, 6, -6, -10, -2, -7, -7, -2, -3, 3, -7, -3,+ 0, -6, -6, 3, -12, 7, 9, -6, -2, -1, 1, -11, 4, 12, 2, 6, -10, -2, 7, -5, 0, 2, 9, -3, 3, -11,+ -3, 9, 12, -6, 0, 1, -2, -1, -6, -4, 7, -2, -5, 3, 4, -4, -10, 0, 7, -11, -5, 12, 1, 1, -1, -3,+ 7, 11, 3, -13, 3, 1, 2, 6, -2, 17, 3, -12, 3, 7, -4, -4, 18, -1, 1, 10, -6, 2, 9, 0, -2, 8, -2,+ -3, -5, -8, -2, -4, -9, 0, -3, -5, -7, -8, 3, 0, -4, -1, 0, -2, 5, -2, 2, -11, 8, -5, -6, -1,+ -5, -2, 4, -5, -6, -8, 4, -3, -6, -5, -18, 6, -127, 5, 1, 2, 15, 1, 9, 1, 6, 8, -8, 8, 2, -2,+ 10, -6, 0, -4, 5, 2, -10, 4, 9, 3, 1, 9, -22, -6, -8, 0, 10, -5, -4, 7, -3, -2, 8, -9, -1, -3,+ -7, 5, 10, 5, 16, -11, 3, 6, 14, 8, 3, -4, 1, 6, -11, 0, 8, -2, -1, 6, -6, -1, -16, 2, 8, 0,+ -23, -6, -3, 2, -2, -1, -1, -6, 4, -2, -1, -20, -12, -14, -5, -21, -3, -9, -11, -3, 8, -1, -10,+ -2, -9, -1, 3, -6, -2, -2, -11, 0, 5, 7, 1, 5, -1, -4, 7, -2, 6, 2, 2, 6, -2, -5, -10, 19, 3,+ -3, -4, -1, 6, 5, -2, 8, -2, -3, -1, -16, 7, -1, 7, 7, 18, 8, 2, 2, -9, 7, 10, 9, 1, -5, -5,+ -8, 2, 4, 2, 4, -8, 3, -9, -9, 6, -2, 5, -9, 1, -2, 9, -13, 2, -11, -4, 12, -3, 10, -1, 1, 18,+ -8, 6, -1, 1, -2, -15, -6, 6, 2, 6, -8, -5, -7, -2, -5, -3, 2, -5, 4, -7, -8, 8, 12, 0, 1, -1,+ -4, 3, 2, -1, 6, 7, 2, -3, 5, -1, 2, 1, -3, -3, -10, -5, -1, -11, -18, 1, -5, 5, 1, -8, -3, -2,+ -8, 5, 7, 5, -12, 12, 1, 4, 5, -6, 9, 17, -1, 0, -1, -2, 7, -10, -10, 9, -2, 4, -7, 3, -2, 4,+ 3, -10, 10, 11, -6, 8, 3, 0, 13, -8, 9, 4, -11, -1, -2, -3, 0, 7, -3, 11, -5, 3, -3, 4, -6, 8,+ -3, -2, 4, 0, 2, 9, 8, 11, -7, -7, -1, -1, -5, -11, 2, -6, 2, 0, -4, 1, 3, 3, -2, -12, 2, 6, 1,+ 18, 2, 9, 2, 7, -3, 4, 17, -6, 12, -3, 4, 2, -1, 4, -3, -8, 5, 9, 16, 10, -16, 13, 2, 1, -7, 6,+ -4, -3, -4, 3, -1, 5, -4, 9, 1, -3, -2, 4, -10, -7, 1, 0, -1, -1, 4, 7,+];++static FLOWERS: TextEmbedding = [+ -1, 3, -1, 1, -4, 1, 0, -3, 10, -10, -4, -10, 5, 0, -4, 126, -2, -6, 11, -14, 1, -8, -9, -5,+ -3, -5, 4, -8, -2, 6, 2, 1, 5, 2, -4, 3, 6, 0, -2, 3, 6, -7, -7, -8, -2, -1, 4, 2, 10, -3, 9,+ 9, 1, 9, -6, -8, 1, 0, -8, 13, 5, -2, 4, -3, 9, 1, -7, -2, -3, 23, 10, 2, 0, -3, 3, 6, -12, -8,+ 0, -6, -7, 3, 11, -2, 11, 0, 0, -3, -2, 0, 5, -2, -6, 1, 10, -5, -57, -1, -4, -3, 0, -8, 5,+ -12, -4, -3, -6, -3, 2, 6, -11, -10, -39, 8, 2, -10, 0, -17, -1, 3, -13, -12, 6, -7, -8, 4, 14,+ 3, 8, 3, -9, 8, -7, -7, 0, 3, 4, 2, 4, 1, 13, 1, 0, -2, 2, 4, 1, 6, -5, 17, 1, 4, 16, 2, -1,+ -4, -4, -6, 0, 4, 16, 8, 8, -1, -25, 6, 0, -127, 5, 3, -6, 11, 8, 15, 1, -6, 2, 5, 5, 20, 16,+ 4, 1, -2, -9, -1, -3, -4, 12, -6, 0, -10, 12, 10, 2, 0, 6, -4, 10, 7, 6, -7, 8, 3, 5, -4, 11,+ -5, 0, 5, 8, 8, 4, -2, 1, 9, 29, 5, 5, -14, -5, 6, 2, 4, -2, 6, 2, -1, 1, -26, 1, 12, -8, 4,+ 11, 10, -9, 10, -3, 4, 2, -1, -3, -1, 2, -1, 4, -26, -28, -7, -2, -5, 7, 8, 7, -2, 3, -17, -2,+ -1, 10, -7, -4, 1, 3, 5, -1, 2, 0, -1, -2, -4, 0, -10, -4, 4, 5, 4, 2, -6, 2, -4, -4, 6, 1, 6,+ 2, -12, 5, -1, -4, 0, 30, -11, -2, -3, -16, -10, 8, -3, 4, -14, -1, 9, 5, 2, -2, 6, -8, -12,+ 17, 2, -2, 4, 9, -8, -4, -2, -8, 0, 5, -3, -9, 15, -5, 0, 6, -9, 1, 3, 3, 2, 1, 8, 0, 0, 4, 5,+ -1, -15, -7, 0, 16, 0, -1, 5, -4, -9, 16, -2, 6, 2, -9, 7, 8, -12, 25, 8, 2, -11, -5, -2, -6,+ -5, -6, -3, -2, -9, -1, 3, 9, -6, -2, -2, 4, 1, -10, 2, 11, -11, 5, -4, 8, -5, 1, -7, -5, -3,+ 1, 5, -11, -4, 2, 4, 5, -5, -3, -24, -1, -2, -14, -3, 0, -8, -21, 0, -5, -21, 0, -20, 13, -6,+ -2, 8, 0, 1, -2, -5, 4, 7, 9, -16, 22, -1, -3, 4, 8, -7, -3, 6, 6, 21, -4, 7, -7, 2, 0, 13, -9,+ 7, 0, 2, -5, 3, -1, 3, -5, 7, 5, 6, 9, -14, -17, 0, -8, 1, -7, 0, -6, -4, 4, -2, -1, 19, 0, 4,+ 0, 2, 3, -1, -10, -13, 5, -9, -13, -5, -1, -11, 7, -6, 5, 5, 12, 5, -11, 0, -44, 0, -10, -3, 6,+ 17, -1, -1, 4, 3, -9, 1, -13, 0, -2, -2, -5, -3, -5, -14, 1, 1, 3, 6, 5, 7,+];++static NIGHT_LIGHTS: TextEmbedding = [+ 5, -3, 4, -3, 2, 7, 2, 4, 11, -1, -6, -11, -14, 8, 10, 126, -9, 5, -12, -14, -19, -7, 4, 3, 7,+ -9, 2, 1, -8, 5, -3, 3, -4, 8, 5, 1, 3, -5, -7, 4, 16, -1, -2, -1, -5, -13, -5, 10, 0, -2, -2,+ -4, -2, 6, -1, 1, -1, -3, -1, -1, 3, -1, 1, 2, -21, 10, 9, 8, 3, 5, 13, 15, -13, -4, 0, 3, 17,+ 10, -1, -1, -8, 1, 4, -1, 8, -9, -6, -2, 5, 12, 1, 1, -1, 3, 0, 4, -18, -3, 10, -2, -7, 4, -1,+ 4, -5, -18, -8, 1, 1, -8, -3, -7, -20, -1, -1, 9, 0, -8, -7, -2, -7, -7, 8, 8, 15, 7, -7, -5,+ 10, 1, -13, 2, 5, -1, -17, -8, -6, 4, -1, 2, 3, -1, -2, -13, -1, -2, 3, -4, -16, 14, -3, -3,+ 35, 4, 3, -12, -4, 1, -11, 11, -3, -11, 1, -8, -1, -24, -7, -127, -9, 3, -8, 8, 9, 5, 2, -3,+ -2, -1, -3, -16, 8, 9, 0, 1, 2, 3, -5, -5, 3, 11, -14, -10, -2, -9, 5, -9, -2, -1, 13, 5, 12,+ -13, -8, 6, 5, 12, 12, -3, -4, 11, 12, 3, 5, 5, -3, 3, -4, -6, 4, -4, -14, -1, 2, -23, 2, 7, 0,+ 2, -4, -8, 2, 8, -2, 7, -3, 4, 9, 9, 9, -11, -5, -3, 7, -7, -2, 10, -10, 13, -10, 2, 5, -13,+ -1, 9, -3, 6, 5, -11, -1, 12, -5, -2, -5, 2, -3, 5, -3, 1, 1, 13, 7, 2, -9, -3, 9, 8, 8, 8, 3,+ -4, -5, -5, -9, -5, 10, 5, 3, 8, -6, -1, 3, 1, 17, -3, 9, 0, -12, 27, 4, -1, -17, 1, 7, 0, 5,+ 6, 0, 4, -5, 2, 28, -3, -13, -2, -1, -4, -10, 2, -20, -5, 7, 4, -7, 6, -8, 1, -4, 9, 6, -7, -5,+ -3, 11, 14, 4, 8, 1, -8, 2, 7, -8, 3, 20, 0, 1, -4, 5, -6, 7, 3, 10, 8, 0, -5, -1, 4, 5, -11,+ -4, -10, -2, -6, -2, -5, 5, -10, 3, -5, 4, 3, 1, -2, 3, 0, 12, 11, 12, -14, 6, 0, -6, -7, 0,+ -4, -9, 7, -3, -3, 4, -5, 13, -4, 8, -1, 3, -4, -11, -13, -9, -4, -2, -2, 3, -6, 3, -3, -21,+ 20, 8, -19, -1, -3, 5, 7, 1, 1, -5, 4, -1, -6, 3, -20, -9, 11, -12, 0, 5, 9, 4, -3, 3, 16, -9,+ 0, -11, 11, -6, 10, 3, -8, -6, 1, -5, 5, -2, -6, 9, 11, -9, -9, 18, -1, -19, -6, -4, -3, 9, 4,+ 0, 4, -14, -12, 3, -1, -5, 7, -2, 1, -17, 4, -7, 5, -1, -11, -2, 3, -4, 5, 11, 6, -4, -13, -3,+ -4, -4, -20, -52, 0, -8, 9, -7, 14, 5, -1, 5, -1, -15, -1, 0, -2, 4, 6, -3, -5, 1, -6, -8, 6,+ -7, -5, -5, 4,+];++static ARCHITECTURE: TextEmbedding = [+ -1, -4, -8, -3, -7, -4, -5, 1, -5, 12, 4, -4, 17, -3, 0, 126, 5, -1, 0, -19, -6, -7, -5, -1, 3,+ -5, -9, -2, 5, -3, 0, -2, 5, 2, -2, -2, -4, -10, 1, -3, 6, 1, -1, 1, 7, -8, 2, 2, 5, 4, -4, -6,+ 2, 1, 2, 1, 1, 2, 4, 5, -3, -4, 1, 4, -10, 5, 1, 1, 8, -1, 2, -3, 0, 6, -4, 6, 1, -4, 0, 6, 0,+ -1, 5, 2, 1, 3, -8, 2, 5, 9, 12, 4, 4, -2, 2, -2, 15, 6, 5, 0, -5, 5, -2, 5, 1, -5, -14, 4, -3,+ -5, -2, -1, 19, -3, 0, 8, 0, 4, -2, 1, -3, 2, 1, 10, -4, 3, 11, -5, -8, -8, -6, -2, 1, 6, 9,+ -2, -3, 0, -9, -3, 0, 0, 0, 2, -4, -2, -1, -2, 0, 3, -1, -4, 10, -6, -7, 0, 0, -5, -2, -3, -6,+ 1, 7, 2, -5, 8, 0, -127, -2, -2, -3, 13, -1, 4, -2, 1, -2, -1, -3, 5, -2, 2, 0, 7, -6, 4, -4,+ 0, -2, 0, 1, -7, 2, -28, 4, -1, 1, 14, -5, -7, 3, -13, 0, -3, 2, 6, 10, -1, -5, -4, 3, 1, -11,+ 0, 0, 4, -12, -1, -1, 7, 0, 5, -7, -1, -2, -1, 4, 1, -4, 0, -2, 0, -2, -4, -10, -2, -5, 5, 7,+ 3, 0, 4, -13, 2, -15, 5, -20, -7, -25, -3, -6, -2, -8, -4, -6, -9, -5, -5, -3, -2, 6, -2, 2, 3,+ -4, 6, -5, -3, -4, -1, -1, 1, 3, 0, -2, 2, -3, 3, -7, -10, 8, 3, 1, -5, 6, 5, -5, 4, -14, -3,+ 2, 7, 1, -1, 3, -1, 2, -1, -5, -4, 3, 1, 8, -4, 2, 1, -1, 0, 1, 5, 23, 0, 1, -5, 1, -5, -7, -2,+ -4, 3, 0, -4, -4, 5, -7, 3, -6, 9, -3, -1, 1, 1, -3, 25, 3, 0, -4, 2, -8, 10, 0, 5, -3, 4, 2,+ -2, -2, 6, 10, -3, 8, -1, 4, 11, -4, 4, -2, 1, 0, -9, -4, -5, -1, -1, -1, -2, -4, -3, 3, 2, -2,+ -4, -1, -4, -4, 10, -7, -4, -25, -7, -1, 1, -3, 4, -2, 3, -2, -10, 4, -1, 9, -4, 0, 8, 2, 4, 5,+ -8, 5, 16, 4, 2, 5, -1, -1, 4, -9, -11, 3, -9, 4, 0, 0, -7, 0, 2, -8, 7, -1, -1, 12, -13, -3,+ 7, -5, 5, -7, 2, 5, -2, -3, -14, 4, 0, 0, 1, 2, 13, 14, -8, -3, 0, -6, 9, 5, 8, 3, 4, -5, 2, 2,+ 5, -12, 0, -8, 2, -7, -4, -6, 0, 2, -9, 0, -6, -5, 3, 0, 5, 3, 8, -3, 4, -2, -1, -8, 1, 1, 0,+ -3, 1, 4, -3, 7, -4, 8, -2, -19, -3, -1, 9, -1, 2, -7, -4, 7, 1, -13, 2, 0, 0, 3, 1, -4, -5,+ -3, -6, 6, 4, 7, -7, 4, 6,+];++static AUTUMN_COLORS: TextEmbedding = [+ -5, -7, -1, 5, 4, 1, -3, 1, 5, -21, -2, -4, 11, 12, 7, 126, -16, -12, 1, 3, -13, -20, -2, -6,+ -6, -17, 7, 1, -14, 4, 12, 6, 13, -14, 6, 1, -10, -7, -3, 14, 4, -4, 7, -8, -16, 1, -9, 14, -7,+ 7, 9, 4, -2, 2, -2, 11, -11, 4, -10, 12, 8, -7, -15, -11, 4, 4, 0, 4, 4, 22, 16, 9, 3, -10, -9,+ 13, -6, 10, -17, -5, -6, 10, 5, -5, -3, -12, -2, 2, -6, 4, 4, -5, 10, -6, -11, 11, -47, -4, -1,+ 3, -4, 5, 2, -27, 20, -9, -5, -9, -4, 2, 0, -6, -60, -1, -3, -1, -4, -6, 1, 1, 7, -13, 2, 3,+ -2, 16, 20, -13, 12, -7, -5, 10, -6, -7, -9, 1, 2, 17, 2, 13, -1, 3, 3, 5, 2, -5, 9, -15, -2,+ 24, 8, 3, 17, -4, -8, 0, 10, -10, -5, 5, 20, 8, -6, -2, -11, -9, 8, -127, -12, -5, -22, 10, -4,+ 4, -5, 7, -6, 0, 7, -9, -6, 17, -1, 8, 3, 10, -2, -2, 6, 12, 13, -3, 6, -9, -12, -9, 3, -23,+ 24, -7, 6, -14, 11, 12, -9, -8, -6, -2, -14, 3, 11, 6, -1, 7, -8, 3, 29, -6, -3, -10, -11, 8,+ -9, -9, -2, 0, -4, -18, 0, -14, 5, 15, -1, 31, -3, 15, -9, 6, -2, -11, -5, 2, -9, -11, -9, 14,+ -6, -21, -6, -19, 2, -4, -3, 0, -3, -6, 2, 5, -2, 3, 4, -4, -6, 2, -1, -8, 1, 15, 2, 10, 3, 0,+ 2, -2, -13, 6, 20, 0, -6, -3, -5, -13, -9, 8, -1, 4, 2, 7, 10, -3, -15, -1, 39, 0, 5, -2, -26,+ 19, 1, 4, -14, 1, -2, -10, 6, 5, 7, 5, -9, -3, 45, -11, -8, 6, 14, 15, -4, 4, -1, -15, 13, 9,+ -25, 23, -27, -10, 14, 12, 13, -7, -1, 4, -8, 16, 1, 9, 7, 10, -6, -34, 6, 4, 8, 2, -4, 0, 0,+ 12, 50, -2, 5, -6, 6, 1, -2, -16, 34, 15, -14, -22, -6, -18, 2, 9, 3, -11, 12, -9, -3, -12, -2,+ -16, 8, 3, 0, 1, 2, 5, 8, -10, -8, 4, -6, -6, -17, 0, -6, -1, 0, -1, -8, -24, -7, 5, 0, 7, -3,+ -35, 6, -3, -3, 2, -9, -3, -18, 14, -27, 12, -6, -9, -26, -14, -10, -4, 1, -3, 3, 1, 3, -20, 3,+ -29, -15, 5, 12, 5, -4, -9, 6, -9, -4, 18, -1, 4, -10, 16, -10, 0, -12, -10, 0, -2, 0, -20, -2,+ -3, 20, 19, 5, -10, 9, -4, -17, 7, 0, -9, 10, -5, 8, 5, -16, -4, -5, 26, -3, -4, -8, 6, 3, 1,+ -7, 0, 3, -1, -2, 4, -5, -13, 17, -1, -2, 10, 4, 4, -13, -2, -57, -3, 5, 7, -7, 15, 9, -6, 14,+ -4, -5, 3, 9, -4, 11, -2, -12, -9, 3, -3, 2, 3, -5, 9, 2, 21,+];++static DESERT_DREAMS: TextEmbedding = [+ 7, -3, 9, 0, 3, 11, -4, -10, 10, 16, 6, -7, 11, -6, 12, 126, -5, -1, 15, 3, -4, 5, 2, 12, 1,+ -10, 4, -12, 2, -8, -3, -7, 2, -4, -3, 12, -3, -4, 2, 3, 0, 2, 3, 2, -8, -11, 1, 6, 3, 3, 3, 9,+ -3, -2, -6, -13, -9, 0, -7, -2, -15, 4, -13, -4, 19, 4, 7, -11, -3, -15, 10, 17, -5, -2, 4, -3,+ -13, -3, -17, 18, 8, 9, 8, -8, -6, -12, -7, -7, 8, 14, 2, -5, 11, -5, -7, 4, -12, 2, 5, -1, -5,+ -5, -6, -14, 6, -8, -11, 14, 1, -8, -6, -5, -50, 4, -8, 12, -6, -11, -14, -2, -12, -9, 4, 0, 3,+ 5, 12, 3, 6, 12, -2, -2, -8, 2, -23, -7, -3, 6, 4, 4, -5, 2, -2, -1, 16, -20, 9, 2, 1, 0, -12,+ -2, 5, 5, 3, -1, 14, -2, 3, -1, -3, -5, 18, -12, 3, -45, -5, -127, 1, -14, -6, 10, 6, 3, -3,+ -6, -5, 9, -9, -23, 3, 7, 7, 13, -4, 8, -14, 0, 13, -9, 9, -9, 11, -22, 0, -7, 7, -41, -7, 0,+ -2, -3, 22, 14, -3, -4, 5, 2, -16, 6, 8, -7, 11, 14, 4, -2, -4, 7, -6, -16, -4, 7, 16, -5, -3,+ -6, -1, 5, 4, 2, 7, 10, -4, 11, 8, -10, -3, 9, 0, 1, 1, 5, -6, -2, -1, 4, -2, 1, 3, -14, 8, 2,+ 3, -24, -10, -6, -3, 12, 6, 1, -13, 0, -6, -5, 3, 8, 2, -4, -5, -5, 5, 7, -1, -5, -6, 14, 18,+ 8, 8, 1, 8, -12, -2, -7, -11, 11, 1, 5, -5, 7, 5, -3, 16, 10, -5, -6, -1, 11, -9, -5, -15, 7,+ -4, 1, -1, -1, 2, 2, 4, -1, 22, 1, 7, 11, 17, -8, -8, -4, -32, -7, -10, 1, 7, 5, -19, -7, 0,+ 10, -4, 4, -8, 2, -6, 9, 3, 17, 0, -4, -5, -2, -12, 7, -6, -4, -9, 20, -6, -1, 22, 4, 14, 3, 5,+ -31, -3, 8, 21, 7, 0, -2, 8, -12, 1, -12, 14, -6, 9, 3, -4, 4, 1, -8, -2, -6, 2, -17, 0, -4, 2,+ 6, -11, -5, -14, 5, -1, 12, -2, -2, 3, -2, 1, -23, 8, -5, -2, 1, 2, -17, 15, 23, -3, -9, -18,+ -6, -3, 5, -40, 13, -8, -14, -6, -11, -1, 5, 2, 0, -7, 4, 3, 2, -2, 1, -27, 5, 2, -4, -8, -9,+ -1, 6, -10, 8, -3, 2, -18, 12, 7, 10, -8, -5, 4, 4, -4, -14, 3, 3, -2, 2, -1, -3, 2, -5, -3, 7,+ -5, -5, 0, 5, -5, -4, -14, -3, -7, 8, 0, 10, 5, -2, -3, -5, -8, -6, 1, -7, 1, 6, -11, 3, 3, 11,+ -11, 9, 0, 9, 9, -1, -26, -14, 1, 7, -13, 6, -4, -2, -4, 7, -23, -14, -3, -1, 4, -5, -5, 3, 12,+ -15, 12, 2, -12, -4, 0, 11,+];++static STARGAZING: TextEmbedding = [+ 7, 0, 11, -13, 6, 1, -2, 2, 13, 3, -6, 5, -8, -9, 12, 126, -5, 4, 0, 3, -16, 6, 6, 8, 7, -6,+ -2, 5, -8, 8, -6, -3, 3, 13, -3, -1, 14, -1, -13, 2, 6, 3, -1, 1, 15, -4, -6, 0, -2, -5, -9,+ -16, -5, 0, -1, 0, 19, -11, -9, 2, 5, 2, -4, 5, -2, 6, -1, 1, 2, -11, 8, 6, -5, 3, 8, 11, 0,+ -7, 6, 1, -1, 8, 4, 4, -4, -8, 5, 2, -6, 11, 5, -2, 6, 6, 11, -1, -22, -10, 10, 7, -2, -14,+ -14, 7, -6, -4, -8, 6, -12, -7, 1, -4, -33, -3, -10, -8, 0, -13, -4, 0, 6, -10, 0, 4, -11, 6,+ 6, -19, 6, -5, -4, -4, 1, 8, -13, 4, -10, 13, 7, -1, 8, 3, -6, -5, -7, -3, -3, -15, -6, -13,+ -6, 8, 17, 8, -6, -1, -1, 4, -11, -8, 3, -6, 1, -1, -4, -21, 5, -127, -10, -3, -4, 8, 6, 3, 5,+ 12, 1, -1, -1, -9, 13, 7, 1, 6, 0, 2, -14, -8, 6, -6, -7, -5, -3, -11, 5, -5, -11, -17, 8, 3,+ 20, -2, 4, 16, 12, 5, 8, -8, 0, -7, 6, -6, 12, -2, -11, 12, -7, -4, 4, 1, -15, -7, 5, -14, 8,+ -3, -12, 3, 5, -25, -3, -4, -7, 8, -7, -1, -7, -4, 2, -8, -10, -1, 0, -3, 5, 9, -3, -11, -16,+ 9, 8, 0, 0, 22, 1, 14, -2, -4, 10, 0, 6, -3, -3, 9, 10, 2, 4, 14, 7, 9, -4, 1, -7, -8, 14, 10,+ 0, 10, 6, -4, 1, 5, -8, -6, -6, 1, 11, 9, -7, -2, 2, -6, 4, 2, 7, -1, -10, 20, 15, 3, -7, -8,+ 2, 3, 0, 8, -4, -3, -8, 16, 18, 1, -3, -10, -1, -11, -9, -4, -7, -4, 0, -11, -4, 2, -3, -6, 1,+ 10, 6, -2, -3, 6, 8, 26, -10, 14, 19, -16, -6, 4, -11, 8, 12, -4, 3, -8, -4, 1, 5, 8, 8, 8, 11,+ -5, -1, 1, 17, -2, 6, 4, 2, 1, -9, 6, 24, -14, 6, -9, -11, -6, -4, 0, -1, 3, 6, 5, 19, -17, -5,+ -2, -10, -7, -1, 3, 2, 6, 0, 1, 4, 2, 11, 5, 5, 4, -5, -5, -12, -5, -12, 0, 7, -10, 1, -4, 5,+ 10, -14, 16, -10, -3, -1, 8, 0, 10, 9, -1, -17, -1, -13, -9, -2, -8, -13, -1, -8, -4, 5, -10,+ 3, -1, 1, 19, -2, 10, 11, 1, -14, 6, -2, -7, -4, -9, -13, 3, 5, -12, 7, 5, 3, 4, 20, -7, 0,+ -11, 5, -10, 16, 6, 2, 4, -14, -14, 8, -9, -5, 4, -7, 6, -3, -4, 2, 7, 6, -3, -3, 12, -3, 11,+ 3, -3, 8, -19, -4, -4, 5, -16, -32, 2, -1, 0, -9, 3, -1, -2, 18, -7, 9, 4, -1, -16, 2, -2, -6,+ -12, -13, 0, 3, 8, -3, -4, -1, -7,+];++static LAKESIDE: TextEmbedding = [+ 5, 0, 1, -4, 0, -1, 1, 6, 5, 2, -2, -5, -11, 1, -7, 126, 4, -4, -5, -1, -10, 8, 6, 3, 0, 0, 2,+ -6, -2, 7, -4, -9, 3, -2, 5, -1, 0, -3, -3, -8, -7, -5, -1, -3, -3, 0, 4, -6, -6, -4, 3, 9, -2,+ 2, 0, -10, -5, -5, 2, 4, -12, -3, 0, -15, 25, 6, 1, 1, -5, -14, 2, 17, -2, -3, 2, 10, -10, 5,+ 3, 6, -1, -7, 8, -7, 2, -5, -4, 1, -6, -6, 2, 6, -13, -9, 8, 4, -20, 8, -1, 1, -3, 0, -2, 2, 6,+ -1, -10, 7, -3, 1, -7, 1, -37, -10, 2, -4, -4, -8, -2, -5, 2, 1, 2, 1, -1, 7, 13, -7, 8, -8,+ -8, 4, -4, 9, -13, -2, -7, 5, 1, -4, 8, 1, -6, -5, -1, -2, 4, 2, -1, 3, 4, 7, 23, 2, 8, -10,+ 10, -3, 1, 11, -3, 11, -2, -3, -4, -7, -2, -127, -9, -1, -3, 9, -18, 1, -1, 5, -11, 1, 13, 3,+ -3, 6, 10, 0, 12, 4, -1, -3, 3, 6, -4, -2, 14, -2, 0, 7, 0, -14, 5, 7, 7, -3, 19, 4, -5, -7, 8,+ 3, -1, -6, 16, 6, -1, 0, 5, 10, 2, 5, 8, -1, -4, -10, 1, 5, -4, 9, 3, -6, -1, -29, -9, -3, -3,+ 21, -3, 5, 10, 1, -4, -9, -4, 7, -17, -1, 0, 10, -14, -7, -32, -3, -3, -2, 3, -5, -1, 1, 4,+ -21, -5, -5, -5, 1, 8, 11, -6, -7, 6, 2, 3, -8, 2, 7, -5, 10, -2, 11, -1, 4, -1, -1, 0, 3, 3,+ 4, 5, 4, -11, -2, 1, 5, 5, -1, 24, 3, -6, 3, -16, -14, 12, 6, -6, 2, 5, 3, 6, 2, 9, 3, -3, 1,+ 34, -2, 9, -6, 1, 21, -4, -4, -14, -6, 5, -15, 3, 0, -13, -3, -6, -3, 3, -2, -11, 4, -3, -3, 4,+ 5, -1, 2, -1, 9, 2, 6, -3, 9, -2, 4, -1, 1, -7, -5, 6, 5, -7, 6, 7, 6, 19, 1, -3, 14, -9, -3,+ -10, 9, -9, 3, -5, 0, -5, 7, -8, -3, -9, 2, 1, -6, 5, 0, 7, -7, -9, 2, 1, -4, -5, 11, 7, -4,+ -5, -6, 6, 14, 11, -1, -3, -3, -5, -13, 0, 19, -5, 2, 5, 7, -6, 8, -8, 0, 2, 8, -6, -3, -4, 15,+ -4, 4, -1, 1, -1, 3, -1, -4, -21, -1, 2, -1, -1, 3, -3, 2, -2, -1, 8, -2, -20, 4, 0, -1, 0, 6,+ -11, 5, 5, 14, 0, -2, 1, -6, 9, -8, 0, 2, 13, -7, 0, -2, 3, 6, 6, -5, -17, -2, -7, 10, 11, 12,+ -8, 10, 0, 5, -5, -1, -1, 8, -16, -2, -4, 5, -6, -10, 3, 8, -9, 0, 11, -1, -23, 7, 4, 3, -1, 8,+ -2, -6, 7, 8, -4, -6, -2, -1, 2, 1, 4, -14, 3, -2, 6, -7, 0, -3, 3, 2,+];++static RAINY_DAYS: TextEmbedding = [+ -13, -3, 6, -3, -4, 1, -4, -6, -2, -19, 8, 10, -18, 12, 2, 126, -10, 6, 0, 2, 15, -3, 1, -7, 9,+ 19, -9, 9, -2, 10, 10, 11, 5, -3, -8, 26, 8, -3, -7, -8, 0, -19, -17, 12, -5, -9, -5, -3, -3,+ 8, 4, 26, -4, 8, -4, -2, -17, -3, 16, 7, -4, -5, -4, -9, -9, 3, 14, -7, 20, 28, -6, 9, -8, 3,+ 2, 3, -23, 21, 3, 4, -15, 20, 7, -3, 4, 0, -12, 6, 16, -10, 11, 3, 1, -3, 5, -1, -18, -10, 2,+ 10, 6, 5, -11, 34, 0, 1, -19, -5, -9, 5, -13, -5, 34, -15, 5, 24, 5, 1, 1, -11, 12, -15, 6, -7,+ 5, 2, 9, -21, 14, 15, 13, 8, -8, -6, 3, 5, -6, -9, 12, -21, -3, 21, -13, -3, -17, 8, -2, -14,+ 3, -12, -3, 1, -1, -8, 11, -12, 4, 9, -8, -2, -7, 11, -7, 8, -14, 17, -7, -127, 3, -1, -8, 19,+ 2, 6, -23, 15, -3, -4, 13, -9, 12, 7, 1, 15, -24, -11, -8, -23, -4, -11, -2, -4, -3, 7, 7, 8,+ 12, -21, 2, 18, -4, -15, -12, -13, -8, 17, -6, 7, 1, -22, 2, 2, -28, 8, -11, 17, 2, -13, 0, -2,+ -2, 17, 8, -4, 8, 9, -15, -10, -8, -8, -9, -6, -4, 2, 6, -2, -10, -12, -9, 11, -2, 6, -7, 18,+ -14, 6, -4, 5, -52, 4, -10, -12, 17, 18, -11, -4, 4, -27, 5, 15, -10, -10, -13, 0, 2, -9, -4,+ -20, 9, -7, -10, 3, -6, 7, -2, -1, -3, -15, 0, -25, -1, -18, -16, -5, 0, -6, 5, 4, -10, 10, -8,+ -8, 4, -4, 11, -7, -17, 23, 0, -3, -5, 0, -5, 11, 5, -3, 17, -4, 1, -5, 22, -14, 15, 2, -4,+ -26, -10, -5, -5, -1, -6, -10, -8, -1, -10, 4, 26, -2, 17, -5, 11, 9, 10, 0, -20, -5, -7, -3,+ 2, -2, 3, -4, 2, 8, 3, 19, 18, 3, 3, 3, -6, 19, -10, 2, -5, 14, 14, -4, -4, -5, -4, -9, -14,+ -9, 14, -8, -15, -27, -8, 1, -12, 14, 8, -11, 9, -8, 4, -10, -4, 16, -6, 25, 10, -8, 1, 3, -5,+ 0, -5, -30, 10, 3, -5, 4, -3, -6, -19, -1, 21, 30, 1, 0, -8, -11, 0, -4, 0, 25, 1, -5, -9, 6,+ 1, 5, 22, 10, -11, -18, 15, 0, 17, -15, -15, 3, -2, -21, 2, 4, -8, -22, -3, -2, 0, 5, 5, 19,+ -5, 9, -5, -24, 1, 3, -4, 15, -3, -5, 4, -10, -8, -25, 2, -7, 16, 5, 3, -1, 11, -14, 1, -6, -8,+ -3, 15, -10, 2, -18, 1, -6, 3, 6, -1, 2, 2, -12, -15, 7, 12, 0, 11, -12, 7, -9, -9, 0, -8, -4,+ -29, 3, -14, 11, -10, 10, 2, 5, -1, -11, -1, -1, -8, -15, -1, -7, 2, 5, -20, 21, 15, 11, -4, 4,+ 6, 10,+];++static SPORTS_ACTION: TextEmbedding = [+ 3, 4, 1, -12, 2, 6, -1, -2, -6, 10, 2, 4, 3, 4, 7, 126, 0, 1, 6, -8, -4, -8, -2, -7, 10, 5, -1,+ 3, -16, 7, 5, -9, 5, 2, -4, 0, 2, -5, -2, 8, 4, 4, -11, 3, -11, -5, 8, 0, 2, -1, 1, 5, 2, 13,+ -5, -5, 1, -2, 8, 2, 1, 4, -11, 0, -6, 5, 7, -7, 5, 4, 5, 8, 5, -12, -8, 5, 0, 10, -6, 12, -9,+ -6, 5, -3, -9, -4, -10, 6, -2, 5, -4, 2, -8, -7, 6, 4, 3, -3, 0, 9, -3, -5, 5, 4, 16, 8, -15,+ 8, 2, -4, 3, 8, 24, -9, 5, -15, -13, -5, -2, 12, 6, -14, 1, -5, -2, -2, 16, 3, 0, 1, -8, -1,+ -3, -7, 10, -6, -4, -1, 1, 4, 7, 5, 3, -8, 4, -4, 2, 5, 7, 9, 3, 4, -3, 3, -5, 7, 5, -9, 3, 6,+ -12, -4, -11, 1, -10, -5, -3, -127, -6, -9, -1, 15, 9, 10, -9, -3, 8, 10, 2, -4, -4, 4, 0, -2,+ -13, -1, -14, -13, 8, 8, 7, -12, 10, -15, 1, -1, -2, -3, 6, 10, -1, -20, 0, -4, -3, 7, 5, -1,+ -5, 1, -8, 14, -4, 5, 1, 14, -5, -1, -1, -6, -1, 3, -9, 12, -7, -4, -5, -4, -11, -18, 8, -4, 5,+ -28, 5, -23, -5, 3, 13, 3, 8, -3, 10, 4, -16, 0, -4, 1, -12, -2, 5, -13, 8, 1, -11, 7, 10, 6,+ -7, 2, -8, 0, -1, -4, 3, -4, 2, -3, 5, 0, -2, 11, 0, 1, 0, -5, 4, 2, -9, 5, 3, 7, -3, -7, 2,+ -1, 0, 3, -15, -4, 6, -10, -15, -3, 1, 0, 0, 4, 5, -2, -1, 1, 1, 14, 7, -20, 17, 3, -4, -7, 13,+ -4, -2, 3, 7, -6, -15, 0, 7, -3, 2, 3, -9, 15, -11, 12, -3, 7, -5, 5, -3, -2, 2, 13, -5, 5, -1,+ 5, -8, -7, -5, -5, 19, 7, -1, 2, 2, 2, -21, 6, 0, 5, -9, -7, -4, -1, -4, 6, 8, -5, 11, -11, -3,+ 3, 2, -8, 3, 0, 9, 5, 10, -8, 0, 0, -1, -16, 11, 0, -19, 1, 7, 1, -9, -6, -7, -5, 0, -5, 3, 18,+ 7, 0, 4, -5, -4, -10, -1, -23, 5, -14, 2, -10, 11, 0, 6, -4, -1, 11, -3, 6, 9, 9, -5, -2, 0,+ -3, -1, 6, -1, 0, 12, -4, -8, 2, 2, 4, 0, 0, -1, 10, -5, 7, 8, -2, -3, 0, 2, 8, 3, -7, -11, 3,+ 1, 6, 12, 2, 5, 1, -11, 3, 6, -5, 2, 4, -13, -8, 6, -5, 2, -8, -3, -9, -2, 0, -9, -3, -4, 7, 4,+ 13, -9, 9, -2, -9, -4, 4, 9, 1, 4, -17, -1, -6, -5, -6, 16, -1, -15, 19, -2, 0, 1, 5, 2, -2, 2,+ -2, -11, 1, -3, 7, 6, 0, 3, 1, -6, -3, -2, 6, 4, -2, 5, -13,+];++static STREET_ART: TextEmbedding = [+ 6, 7, -4, -1, -10, 0, -1, 1, -5, -3, -5, -10, 7, 4, 2, 126, -3, 0, 3, -3, 1, -3, 0, -6, -1, -3,+ -1, -2, 2, -3, 4, 4, 13, 0, 8, -7, -1, -2, -2, 8, -3, -1, -9, 0, -6, -6, 4, 7, -2, 0, 6, -4, 3,+ 3, -1, -17, 10, -1, 1, -4, -9, 3, 6, 1, -8, 2, 2, -1, 2, 11, -4, -6, 0, -1, -4, -5, -5, 0, -1,+ 15, -11, 7, 9, 8, 0, 1, -4, 2, -4, 13, 2, 3, 1, 3, 7, -3, 10, -5, 3, -2, -4, 0, 11, 26, -3, 2,+ -11, -2, 6, 1, 3, 1, 22, -8, -2, 17, 5, -6, 1, -7, 1, 8, 9, -8, 1, -5, -7, 3, -6, -5, -10, -9,+ 0, -1, 17, -3, -6, 1, -5, 13, 4, -4, 8, 9, -3, -10, 0, 1, 4, 13, 1, -2, 0, 3, -5, 1, 4, 1, -1,+ 4, 2, 4, -7, -2, -3, 13, -1, -127, -1, 1, 3, 10, -1, -4, 0, 1, 12, -5, -1, 24, 5, 9, -2, -5,+ -4, 2, 0, 0, -9, 7, 0, 3, -3, 6, -5, 1, -5, 6, -7, 2, 2, -4, -10, 7, -2, -12, 0, 8, -7, -4, 0,+ 5, -2, 0, -7, 11, -5, 8, 4, -9, 12, 13, 0, 1, 1, 0, -2, -6, -7, 11, -2, 4, -13, -14, 1, -6, -1,+ 2, 7, 11, 1, 4, -16, -2, -26, 1, -1, -2, 4, -7, 0, -2, -12, 30, 5, -9, -3, -10, -9, -2, 14, 2,+ 1, 4, -4, 12, -6, -3, -1, 11, -3, 5, 1, 2, -3, 5, 1, -3, -2, -4, 5, 2, -1, -18, 3, 3, 2, 1, -8,+ 10, -3, 3, -1, 6, 1, 2, -15, -19, 0, 1, -11, 0, 9, 4, -2, -1, 8, 0, -5, 1, 18, -3, -14, -1, 6,+ -12, -10, 3, 2, 2, -4, -5, 0, 4, 9, 1, -10, 6, 5, -9, -4, 5, 3, 33, 3, -4, -1, 0, 4, -12, 5, 2,+ 0, -4, -8, -3, -2, 2, 10, 0, -4, 1, 2, 17, 2, 3, 24, 0, -4, -3, 5, 2, 10, 2, 11, 2, 2, -2, -6,+ -8, 5, -4, -3, -3, 0, -13, -13, -5, -16, -5, 0, -1, 4, -3, -3, 3, -2, -15, 1, 0, -3, -12, -6,+ 3, 5, -2, 2, -21, -7, -8, 3, 0, 0, -1, -1, 0, -4, -10, -1, -17, 12, 1, 6, -2, -3, -2, -2, -1,+ -2, -7, 0, -14, -13, 3, -13, 4, 2, -4, 2, 2, -4, 3, 0, 6, -1, -14, 0, 4, 6, 2, 8, 3, -3, 13, 4,+ -4, 9, 7, -1, -3, 14, 15, -21, 2, -11, -9, 5, 4, -3, -1, 7, -9, 3, -5, -9, -12, -1, -3, -9, -1,+ 3, 2, 10, -1, -2, 5, -2, -2, -5, -12, 1, 6, 5, 1, 15, -6, -36, -2, 0, 2, -2, -11, 4, -11, 11,+ 2, 7, 1, 1, -4, 1, -1, -10, -1, 5, -2, -1, 2, 2, -10, 6, 15,+];++static FAMILY_MOMENTS: TextEmbedding = [+ 0, 4, -2, -8, -3, 3, -4, 3, 4, -9, 8, -1, -8, -8, 3, 126, -2, -6, 6, -14, -1, -8, -8, -5, 1, 1,+ -6, 16, 6, 0, 8, -4, 0, 2, 0, 0, -3, -1, -5, 5, 1, -3, -4, 10, 0, -12, 2, 2, 2, 3, -4, 8, 0, 9,+ 3, -3, -11, 5, 1, -10, -2, 6, 2, 6, -28, -5, -4, -4, 7, 30, -3, 0, -4, -2, -8, -8, -28, 12, 5,+ 10, -9, -15, 9, -4, 5, -3, 2, 8, 8, 4, 3, 12, -11, 5, 0, 3, -25, 2, 8, 0, 6, 3, -6, 27, -2, 6,+ -7, -2, 2, 0, -7, -8, 15, -6, 3, 3, 3, -5, 3, 0, 14, 4, 6, -6, -2, 0, 8, -8, 6, -4, -14, 4, 12,+ 4, -4, -5, 0, -1, -7, 0, -6, 8, -3, -3, -1, -1, -11, -2, -4, 2, 5, 1, -30, 6, -13, -1, 3, -5,+ 2, -9, -6, 3, 2, 7, -1, 7, -3, -127, 4, -6, -9, 9, -11, 6, -1, -3, -5, 7, 11, 9, 0, 11, 3, -1,+ 6, 2, 3, -7, -1, 0, 11, -7, 17, -10, -1, -11, -2, -10, -12, 6, 4, -6, -6, 1, 5, -3, 6, 6, -2,+ 2, -11, -5, -9, 2, -5, 2, -15, 3, 3, -6, 0, 13, 0, 0, 0, 3, -3, 6, 3, -11, -1, 4, 3, 4, -3, -7,+ 0, -7, 0, -9, -3, 8, -7, -2, -17, 0, -9, -2, -27, 9, 2, -5, -1, 17, -17, -4, -17, -11, -6, 2,+ -9, -1, 5, -9, 0, 9, 4, -14, 2, 13, -6, 3, -2, -11, -1, 6, 6, -6, 0, -5, -1, -5, 10, -7, 14,+ -4, -7, 8, -11, -2, 0, 0, 6, -4, 9, -10, -4, 14, 2, -8, 1, 1, 5, -4, 4, 3, 8, 3, 6, 0, 5, -1,+ -1, 2, 9, -16, -5, 2, -14, -1, 7, -20, -1, 6, -1, -13, 17, 2, -2, -1, 4, -6, 13, 22, -2, -6,+ -2, 2, -2, -7, -6, 0, 4, -1, 2, 4, -6, 4, -15, -2, -1, 4, 1, -8, -1, 13, -11, -10, -3, 6, 4,+ -2, 5, -5, 12, 10, 2, -3, 8, -1, 2, 7, -2, -11, 9, -8, 16, 4, -15, -3, 1, -6, -7, -2, -1, 7, 7,+ -8, 13, 0, -11, -12, -2, 1, -13, -6, 2, -13, 0, -23, -2, -8, -1, -7, 10, 3, 7, 12, -1, -2, -5,+ -1, 12, -6, 1, 1, 0, -4, 4, -4, 16, -6, 2, 2, 3, -5, -7, -1, 0, -11, -4, -4, 12, -8, -5, 14,+ -12, 6, 3, 2, -14, 3, -3, 10, -6, -1, 2, 2, -15, -13, -9, -4, 18, -3, -3, 6, -6, 1, 9, -8, -4,+ 5, 4, 1, 0, -13, -7, 8, 10, 9, -9, -12, -1, -8, -3, 3, -3, 7, -1, -4, -6, 2, 6, 5, 15, -10,+ -17, -2, 1, 8, 2, -2, 3, 4, 3, 4, -6, 4, 7, 2, 0, 2, 1, -6, -1, 3, -4, 12, 11, -2, 6, -7,+];++static FIREWORKS: TextEmbedding = [+ 3, -3, -2, -2, 4, 10, -8, 2, 4, -6, -5, -5, 2, -7, -6, 126, -1, -1, 2, 7, -3, -5, 0, -2, -2, 4,+ -6, 1, 1, 7, -3, -8, -1, -3, -5, -7, 6, -3, 2, -1, 9, 5, -1, 5, -1, -1, -1, -5, 7, 3, 5, -2,+ -2, 7, -4, -10, 5, -2, 2, 8, 2, 0, -6, -9, -10, 5, -4, 5, 3, -6, 7, 5, -4, 4, 6, 4, 12, 3, 0,+ -13, -11, 6, 2, -2, -7, -3, 2, 6, -7, 5, 4, -4, -6, 10, 3, 0, -6, 4, 3, 5, 1, -4, -5, -11, 1,+ -2, -9, 3, 1, -3, -1, 0, -13, -4, -3, 0, -7, -1, -7, 1, -4, -6, 1, 5, 0, 4, 10, -11, 6, -7, -7,+ 6, -7, 4, -5, 6, -12, 3, 2, 3, -2, -6, 1, -12, -8, 3, -7, -3, -2, 0, 2, -4, 3, 4, 2, -7, 1, 4,+ 0, 1, -1, 3, 7, -2, -5, -8, -3, -127, -7, -4, 9, 9, 2, 15, 1, 2, 0, -5, -8, 0, 8, 10, -2, 3, 6,+ -4, -2, -3, 2, -1, -5, -5, 1, -7, 2, -3, 4, -7, 8, 3, 3, -5, 2, 8, 11, -2, 3, -6, -2, -2, 10,+ -2, -1, -8, 1, 12, 10, -1, 0, 4, -10, 3, -3, -9, 7, -1, -5, 0, -1, -18, -6, 7, -7, 0, -6, -1,+ -2, -2, -1, 2, -2, 1, 3, 1, -9, 7, -6, -3, -8, 0, 1, -2, -7, 17, 3, 5, 2, -6, -3, 0, -9, -4,+ -2, 4, 0, 0, 1, -2, -4, 2, 5, 0, -6, -8, 15, -3, -3, -2, 4, 1, 0, -11, -12, 13, 3, 1, 2, 4, -3,+ 10, -1, -2, 3, -3, 6, 0, -10, 11, 3, -2, -5, -10, 1, -4, -6, 4, 1, 2, -4, 6, 25, 5, -4, -2, 0,+ 6, -8, 2, -7, 3, 7, -4, -7, 11, -6, 4, 2, 10, -2, 8, 5, -1, 3, 14, -1, 9, 5, -5, 6, -1, -6, 9,+ 8, 0, 2, -2, 4, -3, -4, 0, -2, 5, -6, -7, -4, 3, 12, 5, -1, -4, -4, -1, -8, -2, 9, -3, 9, 4, 0,+ -4, -4, -3, 0, 0, 4, 11, 8, -8, -7, -6, -2, 1, -9, -4, 1, 2, 8, -5, 3, 3, 4, -8, 6, -4, 0, -12,+ -8, -15, 0, 0, 4, -12, 3, -5, 6, -1, -10, 10, 2, -12, 0, -4, -1, -3, -8, -2, -2, -1, -3, 3, 7,+ -11, -4, 2, -1, -4, -2, 3, -1, -3, 0, 21, -8, 2, 4, -4, -4, 9, -4, -9, -4, 3, -14, 6, 12, -6,+ 2, 11, -4, -1, 11, -12, 1, -7, -4, -4, 11, 8, -3, 6, -16, -6, -9, -1, -10, -1, -3, 3, -7, -1,+ 2, -1, 2, -3, -8, 1, -1, 3, -1, -1, 4, -14, 0, 3, -2, -7, -26, 14, -6, 2, -8, 11, 0, 1, 14, -5,+ 4, 0, -14, -4, -1, 3, -6, -11, 4, 2, -2, 8, 3, 0, 2, -6,+];++static HISTORIC_SITES: TextEmbedding = [+ -5, -3, -4, -4, -3, -2, -2, 4, -3, 4, 2, -6, 2, 1, 3, 126, 1, 6, 1, -17, 2, -9, 2, -3, 4, 0, 5,+ 1, -2, 5, 2, -5, 0, 2, -5, -1, -3, -7, 2, 4, 10, -2, -5, -2, 3, -9, 6, 5, 2, 5, 0, 1, 4, 9, -3,+ 5, 0, -1, 1, -1, -5, -1, -2, 5, -13, 4, 1, 1, 10, 4, 6, 3, 0, 4, -6, -2, -5, -3, 2, 5, -1, 2,+ 2, 4, 5, 4, -4, 0, 4, 4, 15, 3, 0, -2, 1, 8, 12, 0, 2, 3, -6, 6, 3, -2, -3, -1, -14, 5, 0, -3,+ -5, -6, 11, -2, 0, 0, -1, -6, 0, 2, -1, -2, -3, 6, -1, -2, 4, 2, -2, -8, -4, -2, -1, -4, 8, -2,+ 0, 0, -7, -3, 3, -2, 2, -1, 0, -3, -3, 2, 8, 6, -4, 0, -4, -3, -8, 1, -3, -4, 4, -5, -5, -2, 5,+ 4, -3, 3, 0, -127, -3, -1, -3, 15, -6, 7, -6, 2, -4, -1, 0, 14, 3, 0, -1, 6, -1, -4, 0, 0, 4,+ -5, 5, -6, 3, -26, 5, -9, 3, 2, -8, -6, 12, 6, 10, 4, 1, -2, 12, -1, 5, 1, 1, 5, 1, 8, 1, 7,+ -6, 1, -3, -2, 6, -4, -4, 2, 0, -4, 2, -2, 0, -11, -3, 1, -6, -21, -10, -5, 2, 1, 1, 4, -1, 4,+ -10, -8, -23, 9, -15, 2, -14, -3, -1, -7, -11, 9, -5, -4, -5, -3, -2, -3, 7, -3, -1, 1, -5, 0,+ -7, 2, -2, -2, -3, 1, 4, -2, -1, -1, 0, -1, -8, -4, 2, -2, 1, 0, 7, 0, -7, 5, -5, 3, -1, 6, -7,+ 3, 2, 4, 1, -3, 2, -7, 9, -1, 11, 5, 4, 0, 5, 1, 0, 7, 13, 5, -3, -3, 3, -1, -10, 2, -5, 1, -2,+ -9, -6, 9, -8, -2, -1, 5, -2, 0, 0, 1, -3, 23, 4, 1, -1, 6, -5, 14, 1, 1, 4, 4, 7, 0, -1, 1, 1,+ -1, -1, 1, 3, 2, -2, 5, -13, 4, -1, -6, 2, -4, -7, 0, 0, 1, 0, -9, -1, 0, -8, -4, -14, -7, -3,+ 14, -2, -7, -31, -6, -2, -3, 1, -3, 5, 0, 1, -7, 5, -3, 4, 3, 1, 7, 3, 3, -4, 3, 2, 11, -3, -6,+ 3, 4, 0, 8, 0, -12, -2, -2, 5, -1, -3, -5, 2, -1, -6, 11, 2, -2, 7, -3, -9, 3, 0, -5, 1, 3, 0,+ -5, 1, -4, -2, -2, -2, 3, 6, 8, 6, -7, 1, 3, -2, 10, 7, 6, 8, -1, -1, -3, -3, 2, -9, 1, -10, 6,+ -4, 9, -3, 0, 1, -10, -1, -1, 0, 4, 0, 4, -2, 5, 1, 5, 6, -7, -6, -1, 1, 0, -5, -4, 1, -2, 12,+ -1, 8, -7, -21, 9, 1, 5, -2, 1, 1, -1, 5, 5, -9, -1, -2, -3, 3, -2, -3, 0, -3, -3, -1, 3, -4,+ -3, 0, 0,+];++static TROPICAL_PARADISE: TextEmbedding = [+ -4, 17, -4, 1, 2, 1, 2, -4, 9, 12, 0, 1, -7, 0, 2, 127, -4, 6, -7, 6, -11, -9, 4, 4, 2, -13,+ -4, -14, 4, -2, -3, 4, 9, -13, 2, 9, -5, -4, -6, -9, -8, 1, -3, -4, 21, 3, -1, 4, 2, 2, 3, 10,+ -2, -1, 3, -3, -12, 6, 4, 7, -3, -8, -7, 3, 35, 0, -8, 8, 4, -5, 1, -23, 1, -1, 1, 9, -3, 7,+ -19, 11, 4, -15, 18, -10, 12, 1, -3, 3, -8, 2, 18, -8, 8, -1, 0, 0, -44, -1, -3, 14, 0, -3, -2,+ 4, 7, -15, -7, 6, 1, 3, 1, 6, -37, -9, 6, -14, 1, -13, -13, -15, -1, -21, -1, 1, -5, -12, -7,+ -6, 8, -2, -17, -1, 0, -1, -5, 2, -3, 8, 0, -5, -1, 3, -1, -5, -7, 0, 9, 2, -1, 7, -2, -5, 26,+ -7, -1, -16, 6, -6, -3, -6, -10, -7, -11, 1, -4, -15, -14, -127, -8, -9, 2, 6, 9, 1, 14, -5,+ -1, -5, -6, -2, 3, 4, -3, 6, -12, 5, -16, -10, -6, 20, 5, -3, 30, 2, -4, -11, -4, -1, -6, -1,+ 7, -1, 8, -13, 0, -3, -4, 10, 6, 11, -2, 3, 4, 2, -1, -8, 11, 5, -2, 3, -5, -15, -9, -20, 1,+ -5, -2, -11, -8, -48, -3, 3, 3, 48, 9, -6, -8, 12, -7, -7, 4, -1, -16, -5, 1, -10, 2, 6, -35,+ -11, 0, 1, -9, -9, -11, 7, 4, -33, 2, 8, -2, -7, -1, 18, -5, -1, 10, 9, -1, 17, -5, -11, -6,+ 10, -3, 9, 8, 1, -8, -4, 14, 0, -1, 11, -5, -2, -3, 10, 0, 2, -11, 0, 35, 0, 9, -8, -23, -20,+ 11, -7, -17, -4, 3, -2, 0, -4, -6, 11, -5, 0, 44, 9, 15, 5, 15, -9, 1, 5, -1, -8, 10, 2, -1, 1,+ -9, -6, -5, -2, -3, 3, 3, -13, 6, 9, 3, 3, -4, -8, -6, 9, 4, 14, 3, -6, -4, 3, -1, 0, 0, 4, 6,+ 5, -8, 4, 3, 4, 38, -7, 3, 16, 8, 0, 3, 5, -2, -1, 3, -5, -7, -1, 7, 6, -13, -8, -9, -28, 8, 5,+ 39, -3, 0, 11, -4, 6, 3, -3, -6, -4, -9, 2, -3, -10, 4, 7, 12, -5, -3, -10, 8, 19, -4, -8, 6,+ -4, -3, 12, 2, -18, 3, -15, 11, 12, -8, 3, 4, -2, -2, -6, -1, -6, 1, -6, -18, 11, 3, 10, -3, 0,+ -4, -5, -4, 10, 5, 8, -10, 7, -8, 10, -9, -6, 3, 4, 1, 2, 0, -4, 4, -6, -5, -9, -16, -3, -2,+ -2, -3, -1, 9, 2, -1, 6, -14, -5, -6, 28, 13, 8, 2, 19, -6, -13, 0, 6, 2, 5, -1, 6, -12, -4,+ 11, -3, -8, -5, 14, -2, 6, 3, -43, 11, 4, 0, -13, 3, 9, -3, -5, -8, 2, 4, -1, 2, 7, -3, 6, -10,+ 0, 2, -9, -5, 9, -9, -2, 13,+];++static FOREST_TRAILS: TextEmbedding = [+ 12, -3, -5, -10, 3, 12, -10, 9, 11, 17, 5, -6, -1, -4, 15, 126, 6, 5, -1, -5, 2, 1, 3, -10, 4,+ -4, -2, -2, -7, -11, 15, 3, 14, -9, 5, -1, -8, -5, -18, 4, -7, -7, -3, 0, -7, 2, 10, -1, 5, -3,+ 4, 4, -7, -11, 5, -5, -15, -7, -3, 2, -13, -16, -8, 14, -2, 3, 0, 10, -2, 5, 10, 4, 5, -5, -2,+ 3, -20, 1, 1, 10, 11, 7, 4, -4, 0, -4, -5, -5, 6, 20, 26, 0, 3, -2, -5, 1, -49, 10, -3, 2, -6,+ 1, -6, -33, 14, -6, -6, 8, 8, -10, -3, 9, -58, 16, 1, 7, 6, -3, 3, 4, 9, 2, -10, -15, -3, 5, 4,+ -3, 3, 8, -2, 6, 13, -3, -8, -9, -7, 6, 8, 4, 7, -3, 4, -12, 3, 0, -1, 5, 6, 8, -11, -9, 6, 14,+ -8, -4, 8, -1, -5, 1, 3, 6, 0, -3, -6, -13, -1, -127, -7, -8, -19, 12, -1, -4, -1, 0, -6, 11,+ 0, -15, 2, 21, 2, 6, 2, 5, -7, -4, 9, 4, -14, 3, 14, -13, -13, -2, 5, -26, -2, -5, 13, -5, 25,+ 12, -6, -5, -2, -11, -10, -3, 16, 6, 0, 3, 3, 7, 23, 3, -2, -11, -20, -9, 9, 6, 4, -4, -14, -9,+ 5, -30, 8, 2, -1, 24, 5, 5, -1, 0, -4, 1, -2, -1, 4, -2, 28, 5, 2, 2, -36, -15, 12, -7, 5, -1,+ -16, 8, -2, -33, 8, 0, -18, -5, -3, -5, 15, -3, 0, -8, -5, -6, -4, -6, -3, 13, -2, 12, 14, 7,+ 11, 4, 3, -12, -1, -13, -5, 0, 9, 8, 14, 21, -5, 0, 29, -4, 7, 3, -10, -18, 16, 0, -17, 12, -5,+ 10, 2, 0, -2, 5, 4, -2, 21, -1, 9, 11, 3, -2, -2, 3, -17, -10, -2, 16, 4, 6, -5, -11, 8, 14,+ -2, -2, 1, -3, 3, -8, 0, 1, 9, 9, -9, -28, 8, 3, 17, -5, 9, -1, -4, 8, 24, 15, -5, 9, 14, -19,+ -1, 0, 26, 20, -4, 7, 11, -7, 0, -3, -1, 2, 7, -10, 3, 0, 6, 2, -8, 1, 1, -4, 18, -3, 8, -5,+ -4, -3, -11, 5, 14, 7, 4, -3, -3, -10, 17, -12, 4, 9, 3, 8, 2, 0, 1, 20, 1, 7, 6, 2, -11, 9,+ -23, 9, -9, 1, -14, -7, -3, 4, 2, 4, -4, -7, 1, -4, 9, -8, -15, 7, 11, 7, 1, -2, 0, -3, -9, 7,+ 7, -7, -12, 15, -4, 4, -6, -2, -3, 4, 5, 6, -8, 1, 9, 5, 4, -9, 11, 7, -2, 3, 0, -9, -3, -13,+ -9, -5, -3, -1, -15, 22, 12, 17, -2, 10, -3, 12, 8, 19, 12, 5, -12, 2, -12, 0, 17, 10, -9, 9,+ 6, -7, -3, -5, -23, 8, -7, 2, 3, 5, -5, -6, 3, -6, -4, -14, 3, -8, 2, -6, -5, 9, 3, -8, 1, -15,+ -1, -6, 0, 3,+];++static CITY_SUNSETS: TextEmbedding = [+ 10, 1, 15, -2, 13, -4, 4, 8, 31, -6, -6, -13, -9, -3, 4, 126, -13, 3, 6, -11, -1, -5, 4, 14, 7,+ -15, 17, 0, -22, -12, 12, 8, -3, 4, -3, 7, 3, 12, -5, 6, 18, 1, 1, -15, -8, -17, -7, 0, -4, 6,+ 5, 7, -21, 20, -8, 3, 6, -3, 10, 4, -2, 1, 0, -3, 14, 11, 19, 2, -3, 23, 1, 3, -15, -6, -1, 10,+ 40, 17, 7, 3, -8, -7, 6, 5, -3, -30, 6, -13, 5, 4, -2, -1, -6, 0, -7, -8, -19, 1, 12, -3, 4,+ -7, 6, 5, 3, -7, -7, 5, 2, -9, 3, -15, -44, -9, -5, -16, 7, -5, -12, -18, 6, -17, 4, -3, 16,+ 13, 12, -18, 8, 3, -1, 7, -18, 12, -23, -10, -15, 8, 8, -12, 9, 4, 0, -18, 18, -24, 7, -5, -20,+ 23, -10, -10, 42, -6, 1, -4, -2, -14, -10, 1, 0, 3, 19, -1, -10, -25, -19, -127, -8, -2, -14,+ 6, 6, -15, -12, 0, 3, 3, -3, 4, 4, -11, 11, 22, 4, 11, -11, -4, 2, 13, -1, 2, 4, -18, -1, -9,+ -1, -14, 0, -8, 16, -15, 0, 8, 10, 17, 13, 9, -10, -5, 8, 1, -10, 8, 9, 2, 14, -3, -4, 3, -2,+ 2, 4, -10, -4, 8, -3, 13, 11, 0, 23, 18, -7, 6, -4, 20, 5, 12, 24, -1, -2, 6, 0, 8, -31, 4,+ -16, 3, 18, -4, 13, -12, -3, 17, -3, 1, 7, -10, -8, 3, 10, -5, -5, 4, 4, 22, -5, -3, -1, 17,+ 28, 9, 6, -3, 6, 29, 0, 3, 9, -12, -16, -4, 6, -4, -4, 4, -13, 18, 16, -8, 2, 2, 44, 4, 9, 10,+ -20, 10, 3, 3, -32, -10, -6, -8, 4, 13, 5, 9, -12, -1, 61, -3, 0, -5, 3, -5, -8, 9, -31, 1, 20,+ 2, 0, 13, -28, 3, 3, 21, -9, 13, -14, 0, 7, 43, -8, 21, -11, -5, 14, -2, -8, 12, -5, -8, -7, 8,+ -3, 11, 24, 10, 4, 8, 6, 0, 14, -5, 26, -13, -6, -14, -1, -5, 2, -4, -5, 11, 13, 4, 15, -3,+ -10, 5, -12, -1, 21, -9, 0, 7, 23, 0, 6, -25, -13, -6, -6, 9, -5, -10, 2, -9, -2, -17, 14, -17,+ 1, -4, -1, -44, 25, -3, 1, 4, -9, -9, -2, 10, -21, 7, -2, -14, -32, -14, 9, -14, 5, 7, 17, 8,+ 0, -16, -21, -16, -12, 3, -10, 5, -11, 16, 4, 1, -11, 12, -4, 0, -24, 19, 13, 6, 5, -14, 3, 2,+ -14, -13, 6, 0, 8, 24, -12, -13, 8, 9, -12, -3, -10, -3, 7, 24, 13, 9, -18, -15, -7, 25, 0, 11,+ -8, 4, -12, -5, -13, 8, 10, -11, -11, 3, -18, 21, 20, 4, 2, 13, 14, 15, -3, -18, -62, -30, -11,+ 3, -22, 6, -3, 9, 6, 3, -13, -3, -10, -13, -9, 8, -8, -4, -9, -16, -9, -8, -16, -2, 14, 7,+];++static COLORFUL_MARKETS: TextEmbedding = [+ -1, 0, -8, -1, -2, 9, -12, -1, 1, -1, -3, 3, -11, 10, 3, 126, -4, 8, -5, -15, 3, -11, 3, -6, 2,+ 5, 3, -3, -6, 3, 10, -1, 5, -2, -6, 6, 4, -2, -10, 7, 4, -2, 8, -3, -14, 0, 8, -1, -2, -2, 16,+ -6, 1, 5, 3, -7, 2, -14, 5, -1, -5, -3, 7, 12, -6, -1, 4, -6, 4, 10, 11, 6, 0, 6, 8, 2, 15, 3,+ 6, 3, 0, -6, 11, 8, 1, 10, 2, 0, -3, -1, 13, 6, 9, 5, 6, 0, -32, 0, -3, 1, -3, 10, 4, -2, 4,+ -16, -7, -4, 11, -12, -7, -6, -24, 0, 1, -9, -1, -3, -1, -5, -10, -1, 1, -2, 5, 3, -15, 4, 5,+ -8, 0, 1, -10, 3, 14, -1, -4, -3, 4, -8, 7, -1, 14, 1, -8, -14, -2, 6, -14, 15, 1, 3, 12, 1,+ -7, -4, -2, 7, 8, -8, -12, -3, -5, -10, -2, -16, 8, -127, -5, -5, -5, 5, 8, 1, 0, 6, 8, -3, 9,+ 11, 3, 0, 0, 3, -3, -8, 1, -1, 3, 2, -7, 8, -6, 4, -6, -1, -4, 0, -7, -3, -3, 17, -17, 11, 10,+ -8, 4, 3, -10, -1, -2, -2, -13, 2, 3, 1, -8, 7, -4, 1, 0, 4, 3, -4, 5, 7, -6, -7, -1, 0, 1, 5,+ 1, -18, 5, 6, -3, -9, -3, 0, 5, 8, -4, 9, -14, 8, 11, -14, 5, 4, 3, 1, -12, -3, 7, 3, -1, -10,+ 0, 2, 1, -2, -1, 9, -5, 4, 7, -19, -2, 3, -1, -6, 1, -2, -9, 0, -1, 3, -5, 10, -1, -3, -3, 5,+ -1, 13, 10, 5, -2, -2, -1, 8, 12, -7, -3, -13, -17, -23, 1, 4, -4, -5, 7, -3, -3, -3, 6, 8, 1,+ -3, 7, -8, -8, 3, -5, -1, -5, 1, -4, -4, -9, 4, -3, 14, 11, -11, -3, 6, -6, 2, 3, -4, 11, 13,+ 4, -3, 1, -5, 3, -8, 4, 4, 7, -3, -5, -1, 1, 6, 13, -3, -2, 1, 0, -10, 12, -1, -10, -8, 3, -21,+ 6, 1, 6, 4, 1, 3, 6, 0, 0, 0, -7, 1, 5, -5, -1, 8, 3, 0, 5, -3, 6, 1, -5, -1, 3, -5, 0, -3, 3,+ -1, -13, -4, -3, -2, -2, 9, -6, -20, 0, -13, 3, 1, 2, 1, 3, 2, 2, -3, -4, -26, 10, 1, 3, 4, 4,+ -1, 4, -4, 2, -6, 5, -1, -2, 0, -4, 4, 1, -9, 1, -1, 1, 4, 7, 7, -3, 16, -7, -3, -2, 5, 0, 2,+ 6, -6, 8, -1, 5, 4, -2, 0, -4, 12, 5, -1, -8, 0, 7, -15, 2, 13, 2, 5, 2, 2, 4, 6, -9, -7, -3,+ 0, 3, -5, 1, 5, -7, 0, -6, -1, 6, -4, -7, 4, -4, 0, -30, 1, -53, 2, -1, 10, 6, -1, 3, 2, 3, -7,+ -14, 2, -6, 2, -8, 0, 7, 10, -4, -2, -8, 0, 5, -11, 4, 0,+];++static COZY_CAFES: TextEmbedding = [+ 0, -9, 2, 0, -2, 11, 7, 8, -5, -17, -8, 6, 4, -3, -6, 126, -6, 3, 0, -9, -1, -2, -2, -2, 2, 1,+ 2, -3, -9, -3, 3, -5, 1, -3, 2, -5, 2, -5, -1, -11, 7, -8, 0, -7, -18, -4, -4, 4, -1, 0, -1, 4,+ 0, 1, 1, -5, 2, 3, -5, -2, -9, -2, -1, -4, -11, 0, 3, -3, -1, 36, 6, 6, -10, 1, 1, 0, -14, 4,+ -7, 15, 6, -9, 6, 0, 3, 3, 0, 8, 6, 2, 3, 3, 13, 2, 2, 4, -25, -3, -7, 1, 0, 0, 10, 13, 7, 5,+ -12, 0, 2, -3, -9, 5, 1, 6, 0, 8, 1, 0, -9, -6, 0, -13, 8, -5, 9, 4, -5, -4, -2, 7, 0, 4, -2,+ 0, -13, -2, -3, -1, 8, -4, 1, -4, -7, -11, -5, -6, -5, 3, -4, 3, -1, 4, 6, 3, -9, -5, 1, -9,+ -2, -4, -6, 6, -2, -2, 3, -15, 8, -127, 2, 3, 1, 12, 3, 3, -4, 7, -3, 2, -7, -14, 2, 1, -1, 4,+ -14, 3, 4, 0, 7, 7, 10, -1, 9, 5, 0, -6, 2, -5, -8, -1, 7, -1, -10, 5, 5, 12, 14, 2, 1, -13,+ -9, -4, 2, 6, -1, -3, -12, -8, 4, -1, -10, 6, 7, 3, 0, 0, -4, -4, -1, 22, 3, 8, 4, 18, -5, 12,+ -6, -11, 0, -3, -1, 8, -2, 0, 3, 10, 2, 5, -19, -4, 2, 0, 2, 6, 1, -11, 3, -8, -5, 4, -5, -2,+ 0, -5, 2, 8, -2, -5, -2, -2, -9, 2, -1, -1, -4, 0, 5, 7, 0, -6, 5, -5, -14, -12, -2, 9, 2, -1,+ -9, -2, -3, 4, -1, 9, -1, -5, -12, -12, 6, 2, -8, 11, 1, 7, -9, 1, 7, 4, 5, -1, 14, -2, -2, -8,+ 11, -4, -7, -2, -18, -10, -3, 0, 3, 12, -3, -10, 5, -11, -3, -1, 5, -9, 10, 1, -3, 7, -2, -3,+ 1, 0, 2, 7, 14, -3, -3, 9, -3, 5, 18, -3, -5, -2, -9, -3, -2, 13, 12, -5, -6, -4, 6, -1, 2, -5,+ 1, 0, -6, -16, 2, 4, 1, 2, 7, -4, 2, 5, -4, 7, 9, 0, -1, -8, -1, -4, -5, -3, -4, 0, -3, -11, 6,+ 7, 4, 3, 0, 0, -13, 5, 2, 22, 2, 8, 1, -5, -7, 4, 8, 16, 4, -17, 2, -1, -8, -1, 4, 0, 2, -10,+ -1, 5, 7, -8, -9, 4, 2, -1, 7, 0, -4, -2, 2, -12, -4, 5, -12, 17, 4, 4, -2, 5, -6, 4, 2, -11,+ -2, -3, -8, -1, -4, 1, -4, 8, 7, -2, -2, 0, 6, -10, 8, 0, -8, 1, 7, -18, 0, 7, 6, 1, 4, 12, -7,+ 4, 18, -3, 4, 2, 0, -1, 14, -5, -9, -1, 6, -1, -25, 6, -35, 1, 7, 12, -11, -3, 9, 1, -7, 0, -3,+ 2, 6, -4, -6, -2, 3, 4, 0, -9, -2, 3, -5, -7, 4, -4,+];++static VINTAGE_VIBES: TextEmbedding = [+ 0, 3, 1, -3, -3, 9, -1, -4, 3, 22, 4, 8, 7, -3, -4, 126, 4, 9, 9, -10, -12, 0, -13, 0, -3, 0,+ -4, -3, 7, 6, 13, 1, 1, 11, -3, -1, -6, -8, -3, -8, 9, -5, -7, -10, 1, 0, -2, 1, 3, -1, 8, 4,+ 0, 1, 10, -2, -3, 2, 5, 3, -2, 4, -3, 4, 6, -1, 2, -1, 2, 42, 7, -6, -9, -1, -3, -2, -33, -3,+ -7, 19, -4, 0, -3, 2, 8, -7, -2, -2, 16, 3, 8, 10, 2, -6, -7, -3, -12, 3, 1, -4, 9, 0, -5, 24,+ -10, 3, -15, 8, -5, 2, -1, -1, 34, -11, -4, 24, 10, 0, -12, 5, 0, -8, 3, 7, -4, 6, 15, 5, -3,+ 8, -9, 0, -3, 6, 28, -5, 1, 11, -11, -2, 6, -4, -7, 6, 1, 2, -9, 2, -2, -11, -1, 1, -4, -6, -8,+ 2, 6, -2, -2, -12, -1, 2, -1, 1, -5, 3, 0, -127, 11, -5, -6, 16, -4, 2, -8, 1, -2, -4, 3, 2,+ -3, 3, -8, 4, -3, 2, -1, -3, -2, -3, 6, -2, 20, 2, 4, -3, -1, -13, -8, -8, 4, -6, -18, -4, 2,+ -2, 3, -5, 2, 1, -7, 5, -13, -5, -9, -2, -4, -4, 3, 8, -4, 6, -9, -1, -1, -10, 0, 3, -4, -6, 0,+ 13, -7, 14, -7, -6, -9, -2, 3, 1, -3, 6, -6, 1, -2, -12, -8, -8, -15, -4, -3, -7, 1, 13, -7,+ -5, 1, -10, -6, 1, -6, 10, -2, -2, 2, 0, -4, 5, -2, 0, -10, 1, 0, -8, -6, 5, 5, -4, -7, -6, 12,+ -8, -7, -2, -3, 4, -6, 5, -23, -4, -9, -1, -6, 12, 2, 4, -3, 15, 9, 3, -2, -1, -1, -2, -4, 0,+ 1, 3, 1, 8, 8, 5, 6, -8, 10, -29, -12, 3, 3, 7, 0, -7, -5, 4, -5, -1, -1, 0, 2, -2, -2, 1, 4,+ 13, 8, 6, 0, 5, 1, 22, 4, 9, 2, 2, 3, 2, -10, 6, 1, -3, -5, -1, -2, 6, -7, 7, 4, -1, -6, 3, 5,+ 2, -4, -10, -4, 7, 0, -4, 0, 2, 3, 4, -1, -3, -5, -16, 0, 7, -20, 7, -2, 5, -3, 3, -2, 7, -2,+ 6, 14, -23, 19, -10, -7, 5, 8, -1, 4, 4, 17, 6, 2, -5, -2, -4, -4, 2, -6, -6, 2, -4, 21, 9, -5,+ -6, 5, 6, -6, -13, -3, -4, 5, 2, -9, -3, -6, -5, -4, 2, 4, -4, -2, -7, 2, 2, 0, 7, -10, 9, 1,+ 4, 5, 2, 1, 5, -1, 4, -4, 1, 1, -13, 14, -3, 4, -8, -5, 6, 5, -15, 5, 0, 3, 0, 1, 4, 6, 6, 2,+ 4, 1, -2, -9, 5, 12, 5, -3, -5, -5, -3, -2, 15, -14, 0, 4, 0, -8, 4, -39, 4, -7, 14, -3, -2, 7,+ -2, 1, -9, 3, -3, 3, -10, 0, -3, -7, -5, -2, 4, -1, 1, -2, -4, -2, 7,+];++static AERIAL_VIEWS: TextEmbedding = [+ 2, 11, -14, -3, -2, 2, -6, -7, -7, 7, 2, -3, 5, -7, 14, 126, 2, -9, -8, -2, -9, 1, -6, 2, 1,+ 10, 5, 0, 17, -13, -6, -3, 5, 2, -3, 4, 6, -2, -7, -8, 5, -19, -3, 6, -1, -8, 14, -5, -8, 13,+ 2, 7, 0, -7, -6, 8, -11, -8, -3, 10, 4, -9, 10, -21, -2, 6, -5, 8, -6, -13, -1, 4, -4, 7, -9,+ 3, -31, 4, 13, 2, -2, 4, 7, 5, -13, -4, 7, 2, 3, 18, -5, 0, -14, 4, 9, -2, -3, -10, 8, -6, -6,+ 11, -11, 12, -2, -5, -21, 3, 1, -14, 8, 2, 14, -16, 11, -12, 18, -1, 8, -9, -9, -1, 5, -1, 13,+ 5, -2, 13, 1, -10, -1, -1, 9, -1, 2, -16, -1, 3, -1, 3, -3, -9, 2, 10, -3, -1, -3, -5, 11, 7,+ -4, 7, 4, -4, 5, 12, 4, 1, 2, -10, -6, 8, 10, 3, -7, -21, 6, -127, 8, -6, 4, 14, 12, 0, -9, 4,+ 3, 2, 6, 3, -7, 4, -5, 10, 4, 7, -11, 16, -10, -7, 17, -11, -9, -19, 1, -6, -1, -7, -1, -8, -1,+ -8, 10, 13, 11, -1, -3, -12, -7, -5, 1, 5, -3, 5, 1, 8, -2, 11, -14, -6, 9, 6, -2, -8, -10, 11,+ 5, -2, -2, -4, -12, 21, -11, -17, 12, -16, 0, -3, -6, 2, -5, -11, 11, 4, -26, 29, -6, -12, -18,+ -17, 0, 1, -2, 6, -13, 13, 3, -20, -1, 5, 17, 3, 10, 1, 1, -8, 1, -6, 8, 11, 15, 1, 10, -1, 6,+ -3, -3, 16, -5, 0, -12, 5, 6, 11, -12, 5, 3, 2, -23, -2, -18, -8, 6, -4, 5, -10, 5, 0, 3, -11,+ 8, -9, 8, -1, 7, -7, -2, -8, -18, 5, -2, -3, -12, -13, -11, -10, -13, 1, 12, -6, 12, -16, 0, 4,+ -8, 6, -24, 11, -2, 2, -13, -7, 5, -2, -6, 9, 1, -10, -14, 7, -10, 6, 11, 7, 15, -1, -9, 0, -4,+ 6, -2, 8, -11, 6, -1, -14, -36, 13, 7, -8, 2, -21, -4, -7, -12, -1, -1, 10, -11, 2, 4, 6, -8,+ 12, 7, -9, 11, -17, -35, -4, -1, -2, -6, -11, -6, -5, 1, -17, 15, -1, -13, -12, -5, -4, 3, -6,+ -3, -18, -7, 6, -1, -4, -18, 4, 16, -3, -12, 6, 1, -9, -5, 1, 6, 12, 7, 5, 11, 6, 1, -3, 4, -1,+ -20, 3, 12, -2, -3, 2, 13, 6, -1, 4, 7, 6, 10, 7, -21, 7, 2, -11, 9, 11, -4, 3, 6, -2, -8, 0,+ 4, 0, -6, -12, 5, 3, -9, -3, -2, -8, 4, 2, -2, 7, -19, -4, 2, 6, -3, -1, -6, 4, 0, 11, -3, -11,+ 0, 11, 4, 1, -9, 4, 11, -1, -16, 3, -5, -8, -19, 1, 0, -7, -11, 4, -1, -3, 11, 0, -12, -9, 2,+ 10, -1, 7, -4, -2, 12, -3, 5, 3, -5, 13, 1, 15,+];++static ARTISTIC_PORTRAITS: TextEmbedding = [+ -3, -4, 2, -10, -2, -1, -2, 1, 2, 5, 8, -3, 14, -1, 3, 126, -2, -1, -2, -12, -2, 3, -4, -4, -3,+ 1, 2, 9, -1, 8, 6, 1, 2, 0, 4, -3, 1, -5, 3, -3, -8, -1, 3, -1, 0, -6, -9, -5, 3, 3, -4, 4, 0,+ 4, -2, -5, -1, -1, -8, 5, 3, -2, 0, 5, -11, 5, -11, -4, -2, 21, -2, -8, -4, 6, -5, -1, -7, 5,+ 3, 7, -2, 6, 3, 1, -2, 6, -1, 8, 8, 3, 6, -8, 0, 3, 2, -2, 9, 1, -4, 5, -9, 5, -1, -1, 2, -2,+ -12, -3, 2, 1, 1, 2, 5, 1, -4, 14, -5, 8, -4, 3, 4, 8, 9, -4, -3, 5, -9, -6, -3, 7, -3, -1, -6,+ 1, 11, 0, -5, -3, -3, 2, 7, -5, 5, -4, 11, -11, -4, -7, -3, -4, -1, 4, -7, 2, -7, -6, 1, -2, 1,+ 1, -13, 3, 2, 3, -9, -15, 4, -127, -4, 0, -4, 18, -3, 6, 5, 0, 6, 4, 4, 9, 4, 8, 1, 0, -6, 2,+ -15, 0, -2, 3, 10, 2, 20, 0, -3, -3, 3, 6, -2, 2, 6, -1, 4, 3, -4, -2, -2, -1, -4, -1, 7, 4,+ -13, 1, -6, 2, -2, 3, -6, -11, 7, 19, 1, 15, -6, 6, -6, 1, -1, -3, -3, -2, -1, -2, -8, 6, -2,+ -5, 1, 0, -1, -6, -14, 7, -7, -2, 2, 3, -15, -1, 2, -2, 6, 4, -7, -8, -2, 14, -4, -3, 4, 1, -2,+ -5, 11, 6, 7, -20, 4, 3, -3, -1, 2, -2, 3, -2, 8, 4, -2, 6, -1, -3, 9, -6, 8, -3, -7, 4, -11,+ -5, -3, -2, 6, 2, -2, -4, -12, 19, 4, -6, -11, 6, -1, -1, 5, -6, -3, 2, 4, 3, 7, -2, -5, 3, 0,+ -2, -16, -1, -4, -2, -2, -6, -5, 18, 2, -3, -3, 5, 1, 0, 3, 1, 4, 16, -2, 9, -9, 8, -1, -17, 9,+ -1, 6, 6, -1, -2, -2, -4, -27, -6, -5, 4, -5, 2, 4, 7, 27, 4, 1, 13, -5, -6, 1, 5, 0, 2, 2, 7,+ -7, -2, 4, 2, 2, -8, 14, -20, 4, 0, -14, -3, -2, 9, -7, -8, -1, -1, -4, -10, 4, -32, 3, -1, 5,+ 5, 0, -4, 4, -2, -6, -8, -6, -6, 2, -2, 16, 6, -5, 6, 5, -8, -2, 5, 1, -3, -1, 2, -7, 0, 2, -8,+ 7, -12, 0, 3, -2, 0, -8, 0, 4, 2, -2, 8, 3, 6, -1, 5, -2, 6, 4, -1, -16, -6, -11, 4, -3, 0, 0,+ -7, -4, -4, 16, 8, 1, 6, -4, -6, -2, 5, 0, -2, -1, -1, -4, -6, 0, 5, -4, 9, 8, -6, -5, 4, 7,+ -2, -4, 6, 7, -3, 2, -9, -3, -1, 4, 6, 0, 1, -35, -8, -3, 0, -2, -7, -5, -6, -3, 5, 0, 5, 2, 1,+ 4, -2, -2, 7, -2, -9, -1, 2, 11, -7, 1, 12,+];++static STREET_FOOD: TextEmbedding = [+ 12, 5, 4, -8, 3, 3, 4, -7, -9, -16, 3, -2, -11, -10, 8, 126, 3, -3, -1, -22, 0, -12, 6, -10,+ -1, 8, 0, -4, -3, 5, 6, 11, 1, 2, -11, 3, 2, -6, -7, 4, 8, 0, 3, -8, -13, -8, 4, -5, -1, 4, 8,+ -7, 6, 4, 2, -7, 1, -1, 5, 12, -2, 4, -5, -16, -21, -1, 3, -5, 5, 15, -3, 6, 0, -9, 0, -4, 6,+ 3, -10, 10, 2, 4, -1, 0, -2, 3, -5, 5, -6, -2, 3, 9, -1, 10, 1, -7, -18, 4, -3, 2, -5, -2, 3,+ 11, 1, 2, -12, 1, 4, -4, 4, -5, 13, -1, 4, -4, -5, 2, 2, -2, 1, -4, 0, -19, -1, -4, -11, 7, -2,+ -1, -10, 3, 13, 2, 12, -4, -4, 6, 6, 9, -4, -4, 2, 3, -8, -6, -9, -2, -12, 11, -2, 4, 10, -1,+ -2, 6, 4, -1, 3, -2, -4, -5, 6, 2, -2, -17, 1, -127, -6, 1, 2, 9, -5, 4, -5, 5, -2, 1, -3, 16,+ 3, 6, 1, 8, 4, 3, -4, -3, 9, 10, 0, -5, -4, 8, -5, -9, -6, 3, -5, -2, 3, 18, -13, -3, 4, -1,+ 10, 2, -4, -6, 0, 8, 4, 7, 1, 5, -31, 12, 2, -8, -8, 13, -2, 1, 6, -4, -4, -4, 0, -14, 6, 10,+ -10, -28, -7, 19, 2, -1, 0, -7, 5, 4, -5, -3, -8, 20, 5, -18, 3, 7, -1, -7, -3, 1, -4, -2, 6,+ 1, 1, 0, -2, -11, 3, 7, -3, -1, 9, -21, 5, -4, 1, 3, 5, 7, -10, -3, 4, 8, 1, 0, 10, 10, 0, -5,+ 2, 8, -8, 3, -5, -3, -12, -3, -2, -7, -6, -4, -5, -30, 9, 0, -10, 4, 6, 2, 1, 3, 12, 2, -6, 3,+ -7, 6, -5, 0, 3, 6, -11, -4, -9, 0, -6, 7, -11, 6, 23, -2, -3, -11, -3, 2, 0, 3, 8, 19, 5, -4,+ 2, -8, -8, -6, 3, -6, 15, 0, 1, -1, 2, -2, -4, 3, -1, 3, 2, -9, 1, 0, 8, -1, 5, -21, 16, -2, 1,+ 2, 4, 5, 9, -4, -10, 6, -8, 2, 3, -7, 2, -8, 6, -5, -8, 5, -1, -8, -4, -11, 1, 8, 6, -2, 1, 0,+ 7, 9, 1, -6, 6, -1, 5, -6, 3, 21, 5, -1, 7, -2, 1, -8, 15, 23, 1, -17, 11, 9, 2, -1, 8, -5, -1,+ -6, 1, 6, 6, -8, 11, 5, -4, 0, -1, 1, -1, 6, 12, 2, -2, 6, -4, 1, -2, -2, 0, 3, -2, 3, -1, -7,+ 3, 0, 7, 8, -9, 7, -23, 11, -4, -1, -3, 8, -2, 1, 2, -3, -2, 1, 1, -8, -1, -9, -3, 2, -4, -10,+ -6, 7, 13, 0, 11, -3, -11, -1, 8, -10, -1, 6, -3, -7, -31, -12, -31, 4, -11, 9, -5, -2, -6, 1,+ 0, -3, 3, 7, 3, -8, 4, -4, 7, 1, -2, 6, -1, -4, -14, -10, 9, 8,+];++static RIVER_CRUISES: TextEmbedding = [+ 1, -9, 2, -7, 0, -3, 3, -1, 7, 7, -1, -1, 1, 3, 1, 126, -6, 8, 3, 0, 0, 0, 15, -5, 7, 0, -1,+ -5, 4, 9, -1, -3, -2, -4, 0, -1, -10, 2, -7, -3, 4, 1, -1, -3, 1, -5, 0, 1, 6, -3, 3, -6, -3,+ 2, 10, -8, 2, 4, 3, 11, -3, 1, -9, -2, 10, 6, 4, -1, -1, -1, 0, 9, 4, -9, -8, 1, -9, 3, 2, 3,+ -5, -5, -4, 8, 6, 0, -2, -5, -3, -1, -1, -5, 1, -4, 7, 5, -3, -2, 3, -2, -3, 0, -3, 2, -1, 8,+ -15, 0, 1, 1, 0, -16, -15, -1, 0, -18, -4, 5, -2, -5, 4, -7, 1, -5, 2, 6, 0, -8, -2, 1, -8, 4,+ -5, -3, 5, 0, -12, 3, -2, 1, 4, 14, 7, -3, 8, -5, -7, -9, -5, 3, 3, 0, 23, 10, 3, 7, -9, 0, 6,+ 2, -27, 2, 5, -1, -9, -15, -6, -127, 3, 1, 5, 11, -8, 9, 3, 4, 10, 11, 6, 11, 0, 6, -5, 2, -8,+ -6, 7, 0, 5, 4, 2, -8, 12, 7, 4, 1, -1, -19, 5, -2, 4, -1, 5, 9, 6, 3, 9, 5, -3, 5, 14, 5, 0,+ 13, -4, -9, 2, -4, 1, 8, -4, 0, 1, 16, -4, 4, -6, -5, -1, -24, -1, -5, 1, -4, 1, -8, 1, 1, -1,+ 5, -5, 8, -3, -1, -17, 12, -14, 3, -18, -5, -2, -4, -9, -11, -1, -10, -3, -19, 5, -7, -3, -12,+ 5, 4, 2, 0, 3, 0, -6, -5, -4, -4, -3, 7, -6, -5, -5, -2, -9, -6, 5, 3, 1, 1, 8, -4, -2, -3, -1,+ -6, -4, -2, 4, 2, -3, -7, -10, -19, 3, 5, -6, 7, 1, 2, 2, -2, -4, 6, 3, -1, 28, 3, 1, 2, -2,+ 19, -7, 6, -6, 3, -3, 6, -2, 7, 10, 3, -9, 4, -3, 7, 4, -5, 5, -6, 1, -1, -2, -3, -2, 18, 6, 3,+ 1, 2, -4, -2, -8, -2, -10, -2, 1, 4, 4, -1, 4, -14, 10, -3, -3, 0, -13, -8, -2, 1, 4, -8, -3,+ -1, 1, -1, 1, 1, -11, 2, 0, 6, 4, -10, -6, -1, -6, 1, 0, 3, -3, 3, -7, -2, -4, -14, 10, 11, -1,+ 4, -3, 3, 4, -16, 15, 15, 6, 6, -4, 6, -3, 7, 3, 6, -3, -7, -7, -1, -3, -1, -10, 1, 7, 2, -1,+ 2, 6, 4, -9, -2, 3, -4, 1, 9, -7, 7, 2, -4, -2, 3, 1, 8, -8, -7, 11, 3, -5, 3, -2, 13, -2, -1,+ 11, 6, 9, 8, -13, 2, 7, -1, -12, -1, 1, 0, 2, -6, 10, 6, 3, -4, -9, -7, -5, -3, 1, 1, -6, -10,+ -6, -2, -4, 2, 12, -3, -3, -1, -2, 13, -4, -6, 1, -5, -19, 13, -4, 1, -5, 5, 1, -4, 5, -1, -7,+ -1, 8, -6, 1, -1, 1, -5, 0, -13, 0, -1, -10, 2, 2, 3,+];++static PLAYFUL_KIDS: TextEmbedding = [+ 7, -2, -9, 1, -2, 4, -7, 2, -4, -2, -1, -4, 4, 1, 1, 126, 8, -6, 10, -14, 0, -3, -11, -7, 1,+ -6, -7, 12, -4, -7, 5, -3, 1, 2, -3, -6, 2, 3, 3, 11, 4, -6, 3, 8, 4, -7, -10, -9, -2, -4, -4,+ 16, 2, -6, -6, -6, -2, 10, 2, 5, -6, 2, 3, -4, -3, 1, -7, -4, -6, 18, 3, 3, 1, 3, 1, 0, -14, 0,+ 1, -13, -3, -6, 4, 1, -10, -1, -3, 6, 14, -1, 4, 7, -12, 3, 0, 3, -14, 3, -2, 7, -6, -2, 1, 1,+ -2, 1, -11, 3, -7, 7, 3, -8, 7, -8, 0, -8, 6, -1, 3, 5, 9, -3, 6, -6, -8, 4, -1, -15, -4, 4, 5,+ 6, 4, -1, 5, -5, -10, -4, -3, -1, -2, 10, 7, -5, 2, 1, -6, -2, -3, -1, -7, 0, 2, 10, -7, -5,+ -2, -10, -6, -5, -8, 0, -8, 6, -1, 25, -2, -127, 1, -4, -7, 13, -1, 1, -4, 0, 3, 6, -4, 2, -1,+ 10, -2, 0, 1, -11, -6, -10, 3, 3, 9, 0, 14, -12, -6, -6, -3, -13, 3, 12, 3, -8, -6, -3, -4, -9,+ -3, 1, 0, 13, -11, 0, 9, -5, -5, -4, -5, 4, 2, -1, 0, 9, 1, -1, -5, 5, -8, 1, 1, -19, -6, -3,+ 4, -2, -1, -10, -15, 1, -7, -4, -10, -4, -9, 8, -13, 0, 3, -6, -22, 3, -3, -7, -1, 9, -3, -2,+ -10, -2, -7, -1, -3, 2, 2, -4, -3, 6, -7, -13, -5, 5, 6, 5, 0, -8, 2, 7, 7, 7, -5, -6, -6, -12,+ 8, 0, -1, 0, -1, 7, -13, -10, -4, -11, 2, 7, 12, 2, -6, 4, 2, 2, -4, 7, -4, 6, 0, 2, 9, 7, -1,+ 1, 3, -8, -8, 8, 2, -8, -6, -6, -9, -2, 0, -14, -17, -5, -7, 9, 3, 6, 2, 3, 12, -14, 10, 18,+ -9, 0, -11, 4, -1, -4, 5, -12, 8, 3, 0, 8, -5, -4, 1, 3, -2, 2, 0, -13, 7, 9, -10, -2, 3, 4,+ -3, 2, -3, 1, 5, 8, -1, 7, -4, -2, 5, 3, 0, -4, 1, -7, 12, -5, 3, -5, -6, 2, -9, 3, 5, 4, 0, 1,+ 10, 7, -6, -9, 6, 1, 0, 6, -1, -10, -5, -24, 1, -5, -2, -8, 20, 2, 9, -3, -1, -10, -7, 0, -4,+ -9, -3, -9, -4, -1, -2, -4, 20, 8, 0, 2, 9, 2, 0, 4, -2, -6, -8, 4, -7, -11, -1, -2, 4, 2, 1,+ -2, -8, 5, 0, 3, -4, 1, -3, 0, -6, -8, -3, 2, 13, 2, -3, 0, -9, -8, -10, -8, -13, 0, -7, 1, -7,+ -16, -10, 8, -6, 3, 1, -7, 2, -3, -5, 1, -4, 3, 2, 1, -3, 3, 1, 1, 8, -15, -10, -3, 4, 7, 2, 5,+ -2, 7, 1, 2, -6, 5, 12, 5, 3, 6, -10, -4, -8, 4, -2, 7, 10, 0, -2, -23,+];++static COASTAL_CLIFFS: TextEmbedding = [+ 7, 0, -9, 3, 4, -2, -2, -1, 1, 13, -1, 2, 8, -3, -1, 126, -3, 13, 1, 4, 1, 4, 2, 4, 7, 1, -2,+ 1, 2, 4, 11, -3, -3, -9, 4, 0, 19, -13, -14, -6, 4, -2, -6, -5, 5, 8, 4, -4, -3, 0, 2, 6, 0,+ -4, -2, 3, -3, 3, -7, 5, 0, -1, -1, 1, 13, 2, -2, -4, 3, -13, 3, 21, -8, 0, -1, -1, -3, 3, -2,+ 7, -4, 1, 1, -9, 9, -3, -1, -4, -4, 7, 7, -12, -2, -5, 0, -12, -12, -2, -1, 12, -3, 1, -17, 6,+ 6, -6, -10, 11, 3, -10, -2, -2, -27, 16, -4, -3, 9, 5, -7, -2, -9, -6, 13, 2, -6, 4, -4, -16,+ -9, 5, -2, 0, 1, 9, 5, 3, -8, -5, -10, -3, 6, 10, 7, 3, 5, -8, 6, -6, 1, 9, -2, 5, 14, 10, -3,+ -2, -5, -5, -10, -4, -12, 2, 12, 3, -10, -13, -3, -127, 2, 0, -9, 11, -1, 5, -5, -7, -3, 3, 10,+ -3, 5, 4, -4, 5, -17, -2, -15, 4, 14, 5, 0, -1, -3, -9, -6, -13, 3, -20, -3, -1, -5, 6, 18, 7,+ -3, 3, 5, 7, 0, 0, 18, 2, 3, 0, 5, -1, -8, -7, 14, 3, 1, 10, -6, 9, -4, 5, 1, -2, -12, -28,+ -12, 0, -12, 9, 3, -8, -2, -2, -2, 6, 1, -3, -16, -1, -3, 6, -3, 12, -14, 6, -5, -4, 2, -2, -7,+ -2, -3, -1, 1, 0, 2, -5, 1, -3, -6, -1, 3, 3, -2, -9, 2, 13, 3, -6, 3, 4, 8, -8, 7, 1, 0, -7,+ 0, 12, -1, -3, -3, 1, -4, 8, -2, 3, 20, -5, 2, -15, -7, -13, 1, 1, 11, -16, 6, 3, 2, -4, -5, 4,+ 3, 6, 31, -1, -4, 3, 7, 23, -5, 0, -3, 4, -2, 0, -8, 5, 5, 4, -15, -5, 1, -3, -2, 6, -3, 5, -3,+ -4, -7, -3, -3, 9, 6, -1, -1, -1, 7, 4, 4, 7, -6, 5, -6, 8, -12, -11, -3, 7, 20, 17, 9, 9, 11,+ 2, 1, 0, -1, -9, 9, -1, 1, -2, -3, 4, -7, -8, 0, -9, 8, -7, -3, -9, 4, 4, -8, -2, -4, -10, 2,+ 4, 1, 3, -1, -7, -8, -6, 0, 2, -6, -7, -6, 11, 5, -4, 5, 0, 8, 13, -4, 1, -3, 4, -18, -1, -2,+ 4, 0, 3, 3, 12, -5, 2, 16, -16, -18, -5, -4, 5, 2, 13, -1, 5, 4, 1, -8, 3, -10, 0, 1, -1, 5, 0,+ 0, 7, 1, 1, 9, 0, 6, -7, -1, -5, -3, 7, -7, -11, -9, 0, -3, 7, 1, -8, 7, 1, -8, 12, 0, 18, -1,+ -5, -14, -2, -5, 7, -6, -2, -12, 3, -2, -13, 16, 5, -1, 13, -7, -4, 6, 13, -24, -11, 0, -3, -5,+ -1, 5, 6, 1, 0, -8, -9, 3, 2, -7, 3, 6, -8, 6, -1, 3, 5, 10, 1, 7, 13,+];++static CANDID_LAUGHTER: TextEmbedding = [+ 2, 4, -3, -3, 3, 1, -1, -1, -4, -8, 9, -3, 15, -6, -1, 126, 3, -7, 15, -19, -2, -2, -5, -6, 5,+ -5, -8, 10, -3, -4, 6, -4, -3, 5, -9, -1, -3, 2, -2, 4, -4, -7, -1, 16, 4, -9, -10, -9, -2, 1,+ -11, 14, -2, -3, -8, -7, -4, 1, 8, 2, -16, 1, -7, -5, -25, -1, -15, -1, -3, 18, 3, 2, -6, -9,+ 0, 4, -22, -3, 3, 3, -10, 1, 1, 7, -6, -4, 4, 8, 12, 7, 11, 6, -8, -1, 6, 1, -8, 8, -4, 8, 0,+ 4, 2, 1, -10, 3, -9, -4, 1, 4, -5, -12, 39, 1, 4, -6, 5, -8, -1, 14, 13, 0, 4, -5, -2, -3, 0,+ -1, -7, -2, -2, 2, 7, 0, 9, -7, -6, -4, 2, 0, 0, 15, 7, -1, 11, 7, -9, -1, 6, -3, -2, 2, -13,+ 7, -8, -11, -6, -11, -9, -5, -5, -7, -4, 15, -11, -5, 10, -127, 4, 6, -2, 13, 6, -2, -7, -2,+ -4, -4, 2, -6, -1, 5, -5, 7, -7, -13, 4, -6, 8, 8, 6, -8, 19, -3, -4, 0, 0, -5, -5, 13, 8, 4,+ -7, -1, 0, -8, -11, -3, -2, 9, -8, -1, 5, 4, -3, -7, 5, 13, 4, -1, -8, 9, 4, -3, -5, 4, -8, 3,+ 4, -13, -9, -6, 4, -4, -7, -11, -8, -10, -5, -7, -6, 4, -6, 14, -11, -2, -6, -3, -17, -3, -4,+ -12, -5, 8, -8, -6, -12, 0, -6, 2, -5, 0, 7, -1, 2, 4, 1, -17, 3, 5, 5, 0, -3, 0, 0, 10, 3, 6,+ 0, -17, -7, -11, 14, -2, -1, 5, 3, 6, 1, -5, -3, -4, -3, 11, 10, -1, -1, 23, 3, 7, -6, 5, -3,+ -2, 3, 2, 8, 7, -2, 0, 8, -9, 7, 3, -4, -6, -8, 3, -7, -5, 3, -2, -20, -7, 1, 3, -1, 0, 5, -13,+ 5, -12, 19, 13, -19, -2, -9, -1, 3, -6, 1, -10, 5, 3, 6, 5, -5, -6, -17, 2, -12, 3, -1, -5, 11,+ 8, -4, -9, 4, 8, 2, -7, -6, 5, 0, 5, 0, 12, -7, 5, 2, 4, 2, -2, -1, 0, 18, -2, -9, -4, -7, 8,+ -5, 3, -4, -1, 2, -13, 16, -1, -16, -25, 6, 4, -2, 7, 2, 0, -2, -15, -5, -13, -5, -11, 21, 2,+ 3, 4, 6, 0, -13, -9, 0, -3, -5, -13, -1, -5, 8, -4, 8, 5, 5, -1, -1, 4, -2, -2, -6, -9, -4, -3,+ 1, 4, 2, -1, 3, 3, -2, 6, -15, -2, -12, 8, -11, 10, 0, -1, -7, -15, -3, -3, 8, 8, -5, -2, -4,+ 6, -10, -3, -8, 4, -2, -4, -11, -17, -18, 4, -3, 0, 4, -15, -1, -6, -6, 2, 0, 4, 0, 1, -3, 0,+ -2, -2, 10, -10, -25, -3, -4, 0, 6, -11, 2, 11, -5, 4, -9, 3, 6, 2, -3, 5, -9, 2, -7, 4, -5, 5,+ 12, -1, 0, -1,+];++static GROUP_SELFIES: TextEmbedding = [+ 1, 10, -3, -12, 9, -6, 1, 6, 1, -7, -3, -8, 2, 4, -3, 126, 7, -7, 7, -3, -5, -5, 0, 1, 5, 8,+ -2, -2, 9, -4, -2, -7, 0, 2, 7, -11, 1, 0, 0, -1, 0, 8, -5, 3, 5, -12, -8, -5, 10, 5, -13, 14,+ 2, -7, -4, -20, 2, 3, -5, -2, 2, -1, -11, -8, -14, 4, 8, 7, -3, 14, 3, 5, -4, 6, 0, -1, -26,+ -4, 28, 0, 7, -10, 3, 2, 3, 8, -3, 0, 5, 2, -2, -1, 7, 3, 9, 9, -26, 9, -4, -4, -2, 3, -8, 0,+ -1, 1, -14, 0, -2, 3, -12, -7, 16, -17, 0, -10, 0, -21, 4, -1, 6, -11, 7, 0, 0, -3, 4, -15, 5,+ -1, -2, 7, -15, 4, 7, 3, 0, -1, 9, -9, -7, 1, 3, -6, -5, -3, -7, 0, -3, -6, 1, 3, 2, 3, -1, 1,+ -1, -4, -15, -5, -4, 1, -5, 0, 12, -10, -3, -127, 11, 0, -6, 14, -4, -2, 15, -10, 11, -3, 0,+ 13, 0, 5, 12, -7, 4, 13, 3, -3, 9, -9, 6, 4, -2, -9, 1, -8, -1, -2, -5, 7, 14, 12, -7, -3, 2,+ -2, -3, 8, 12, 15, -1, -1, 6, -5, 3, 5, 0, 0, 9, -1, -3, 3, 4, 2, 6, 11, -8, 7, 7, -7, -6, -11,+ 6, -12, -2, -1, 6, 1, -2, -3, 1, 0, -7, 4, -12, 17, -2, 1, -14, -3, 4, -14, -9, 19, 3, -1, -18,+ -13, -9, -2, -9, -6, 5, 9, 5, 0, 1, 4, 9, -2, -6, 5, 6, -10, -1, 3, 3, -3, -1, -4, 4, -1, -3,+ -19, -2, 4, -3, 0, -5, 6, -4, -10, -13, 14, 0, 4, -1, 6, -2, -4, 2, -5, -5, 7, -1, 0, -3, -3,+ 6, -7, 0, -5, -8, 11, 6, 11, -9, 13, -13, -4, 4, -5, -7, 4, -6, -6, -5, 6, -4, -3, 8, -15, 12,+ 26, 0, -10, -3, -1, -2, -6, -5, -1, 10, -12, 1, -4, 0, 1, -16, 4, 1, 6, 0, -7, 0, 6, -37, 1,+ -4, 0, -2, 7, -4, -9, 10, 7, 11, 21, -4, -4, 8, -2, 8, -6, -3, -1, 16, -8, -15, -6, -5, 1, -3,+ -4, 3, -15, -1, -4, 8, -1, -21, -21, 3, 12, -3, 6, -3, -8, 6, -15, 3, -8, -1, 2, 0, 7, 6, -4,+ -4, -2, -7, 0, -2, 3, -1, 9, 1, -4, -3, -8, 14, -8, -7, 2, 12, 1, -3, 9, 5, 4, 2, -5, -4, 4,+ -4, 1, 2, -2, 1, -3, -6, 0, -11, -12, 0, -3, -9, -3, -8, -1, -10, 2, 12, -2, -11, 0, -1, 2, 4,+ 9, -2, -4, -4, 4, -7, 15, -2, 1, -9, -4, -5, -11, 2, 2, 4, -1, 6, 3, -2, 10, -1, 4, 6, 4, -6,+ -7, -28, 10, -5, 3, 12, 14, 1, 4, 9, 5, -1, 1, 4, -1, -2, 0, -1, -9, -2, 1, 2, 14, 18, -5, 2,+ -37,+];++static BIRTHDAY_JOY: TextEmbedding = [+ 0, 6, -2, -8, -7, -6, -3, -6, -8, -27, -5, -10, 11, -1, 0, 126, 11, 5, 3, -6, 3, 4, -11, -6, 2,+ -6, 3, 3, -5, 5, 19, -6, 7, -5, 0, -4, 5, -10, 12, -2, -2, -10, -1, 10, -10, 0, -5, -9, 4, 1,+ -4, 5, 8, 7, -1, -8, -11, 4, 2, 7, -6, -3, 1, -29, -21, 0, -3, -13, -4, 10, 8, 14, -15, 10, 15,+ -1, 1, 0, 7, 3, -5, 5, 3, 11, 3, -2, -2, 11, -10, 6, -10, 3, 1, 7, 8, 6, -29, -5, -4, -1, -6,+ 4, 1, -5, -4, -4, -5, -5, -3, 1, 1, -11, -12, 2, 2, -16, -1, 4, -6, 3, 8, -17, 8, -5, -8, -1,+ -2, -7, 11, 2, -19, 2, -9, 4, -18, -4, -9, -12, 1, -1, -5, 2, 6, -10, 5, 5, -3, 7, 0, -3, -5,+ -15, -21, 11, 8, 2, 5, -1, -5, 2, 4, 5, 12, 7, -1, -6, 7, -127, -9, -7, -7, 10, -4, 9, 4, -1,+ 8, 3, -2, -6, 15, 3, 1, 2, -4, 0, 10, -3, -5, -9, 7, 0, 0, 12, -6, -3, 2, -1, 3, 11, -2, 1,+ -14, -1, 0, 0, -5, -2, 2, 7, -4, 3, 18, -6, -2, -6, -4, 0, 6, 3, -7, 19, 22, 13, 11, 4, 5, -1,+ -4, 6, -5, 4, 4, 16, -2, 0, 9, -8, -2, -3, 3, -2, -11, 7, -9, 9, 4, 4, 6, -5, -5, -11, -1, 6,+ 4, -7, -11, 11, -4, 2, -14, -3, 2, 11, 11, -5, -5, -15, 0, 1, -11, 5, 5, 3, -2, 4, 8, 4, -12,+ -3, -1, -8, -11, -7, -5, 0, 3, 4, 10, 12, -2, -7, -1, -3, 2, -2, -8, 6, 13, 3, -21, -5, -8, -9,+ 10, 6, 0, -2, -7, 1, 4, -5, 1, 2, -3, 1, -8, 9, -9, -3, 4, 7, -10, 8, 12, -10, 4, 10, 4, 1, 13,+ -1, 9, 22, -3, 3, 6, -7, 4, 6, 5, 7, 8, 4, 1, -3, 7, -4, -19, -1, -12, 10, -16, -17, -11, 14,+ -18, 18, 7, -12, 1, 7, 0, 6, -1, -5, 2, -6, 1, 1, 0, -3, 4, 4, -1, -13, 7, -4, 24, 1, -1, -1,+ -5, -8, 8, -5, -8, -1, 8, -8, -15, 12, 2, -3, 0, -5, -8, 0, -7, -14, 6, -3, -8, -8, 1, 9, 3, 4,+ -1, -8, -1, 0, -7, -3, -1, -3, 8, -1, 0, -3, -1, -16, 13, 5, 9, 3, 0, 6, -3, -5, 0, -5, 12, 6,+ 6, 2, 5, 5, -5, -2, 6, -3, -8, 7, 6, -6, 9, -2, -1, -3, -7, 10, 15, 7, -3, -6, -4, 6, -3, 0,+ -5, -10, 0, 6, -10, -2, -10, 1, -7, 9, 2, -6, 2, 14, 4, -3, 4, 1, 10, -5, 0, -25, -11, -3, -5,+ -9, -17, 14, 4, -7, 4, 4, -2, 10, 2, 7, 4, -7, -5, 1, 6, 3, -9, -2, 5, -11, 0, 1, 3, 2, -9, -9,+];++static WEDDING_MOMENTS: TextEmbedding = [+ -6, 5, -2, -5, 5, -4, -6, -1, -9, 0, 7, 1, -2, 6, 1, 126, -2, 1, 13, -16, -2, 3, -11, -3, -3,+ 4, 0, 8, -3, 4, 0, -1, -1, -1, 3, -5, -3, -4, 7, 6, -6, 1, -6, 6, 5, -11, -3, -1, 2, -2, 1, 12,+ -7, 22, -5, -12, -18, -2, 2, -8, -3, 2, 11, -7, -51, 1, -8, -5, 5, 17, 1, -5, -2, 2, 3, -5,+ -22, 16, 10, 0, -5, -5, -1, -2, 3, -6, 1, 7, 5, -10, -1, 10, -2, 3, 7, 7, -28, 7, 6, 0, 4, -6,+ 2, 15, 0, 10, -7, 6, -3, -5, -1, -12, -1, -15, 1, 0, 5, -3, -1, 2, 1, -3, 5, -9, -6, -12, 1,+ -3, -4, -3, -12, 1, -5, 5, 8, -2, -1, -9, 0, 1, 6, 1, 3, -8, -9, 8, -8, 1, 6, 5, -3, 3, -13, 1,+ -6, 3, -2, -3, 0, -8, -12, -1, 14, 6, -5, 0, 11, -127, 7, 1, -3, 11, 5, 6, -3, 1, -5, -2, 0,+ -6, 10, 6, 1, -2, 6, -1, 8, -6, 2, -2, 17, -3, 34, 2, -6, 2, 2, 3, -7, 14, 2, 0, -4, 0, 5, -10,+ 6, 0, -4, -7, -3, -11, -3, 9, -1, -2, -9, 3, -5, -2, -12, 14, -6, 6, 13, -5, -1, 3, 5, -16, -3,+ -8, 3, 8, 5, -3, -2, -5, -4, -1, 1, 4, -14, -3, -1, 9, -6, -7, -20, 7, 4, -15, 5, 2, -8, 1,+ -12, -2, -2, -5, -2, -13, 6, 7, 1, 7, 8, -6, 4, 13, -2, 7, 5, -9, -1, 12, 10, -9, -12, -2, 2,+ 2, 5, -8, 7, 3, 1, -9, -4, -1, -3, 4, 9, -1, 3, -4, -5, 12, 7, -1, 5, -5, -1, -5, 2, 0, 5, 2,+ 3, -2, 5, -2, -5, -5, 2, -20, -10, -4, -12, 4, 3, 2, -3, 3, 1, -1, 2, -12, 3, -5, 6, -11, 19,+ 17, -1, -2, 5, 1, 12, -3, 0, 1, 10, 3, 3, 0, 6, 2, -10, 0, -2, 12, -5, -2, -8, 0, -20, 0, -6,+ -4, 4, -8, -7, 3, 0, -1, 11, -1, -6, 2, 4, 7, -5, -4, -7, 5, 16, -2, 1, 2, -5, 1, -14, -7, 0,+ 9, -1, -7, 6, -11, -11, -18, 5, -1, 3, 3, 0, -11, 1, -23, 6, -21, -4, 0, 6, 6, 4, 6, 2, -13, 3,+ 2, 2, -4, 4, -3, 5, -5, 3, -3, 19, -7, 5, 4, 1, -2, -1, -7, -6, -14, -3, -3, 6, 9, -8, 15, 7,+ -7, 2, -10, -12, -1, -4, 6, 1, 4, 5, 5, 1, -4, -11, 4, 21, 7, 4, 4, 1, 14, 7, -2, 10, -1, -1,+ 6, -5, -29, -10, 1, 10, 8, -1, -17, 7, -11, -1, 3, 1, 8, -1, -1, 3, 2, 4, -11, 4, -16, -22, 16,+ 3, 6, 4, -2, 3, 1, -4, 8, 0, 4, 6, -6, 4, -1, 2, 0, -3, -2, -7, 11, 17, 5, 11, -3,+];++static GOLDEN_HOUR_PORTRAITS: TextEmbedding = [+ 2, 2, 11, -12, 0, 14, 3, 2, -4, 22, 3, -10, 11, -2, 4, 126, -12, -4, 12, -22, 4, 11, -1, 0, 1,+ -2, 3, 8, -2, -4, 9, 8, 6, -3, -7, 2, -6, -2, -11, 0, 7, -3, 6, 0, 5, -14, -6, 14, 14, 14, -7,+ 8, -5, 6, 2, -6, 0, -2, -6, -1, -2, -5, -2, 18, -14, -3, -1, -7, -8, 30, -7, 2, -6, 5, -7, 7,+ -24, 3, 7, 20, -14, 2, 5, 6, 2, 0, -11, -2, 17, 22, -1, -1, -2, 4, -14, -2, -18, -2, 2, 10, 1,+ 3, 0, 4, 9, -5, -8, 11, -2, -1, 17, 7, -23, 3, -5, 43, -3, 4, -8, 7, 6, -5, 6, -6, -1, 6, 3,+ -10, 2, 14, 6, 1, -14, 5, -6, -6, -7, 5, 5, 8, 5, -6, 12, -14, 21, -11, 9, 1, -12, 1, -7, -3,+ -14, 17, -5, 0, 9, -17, -3, -3, -7, 3, 6, 4, -8, -38, 3, -127, -2, 8, -10, 15, -7, 0, -10, 6,+ 1, -1, 0, 11, -9, 11, 7, 15, -10, 0, -10, -9, -4, 2, 4, -11, 45, -7, 0, -10, 2, -17, 1, 0, 18,+ -8, 8, 14, 3, -9, -7, 5, -10, -3, 7, 5, -32, 14, 1, 5, 1, 7, -1, -22, -12, 8, 7, 7, -4, -4,+ -15, 3, 8, 5, 17, 11, -8, 14, 1, 18, 4, 4, 0, 1, -11, 7, -26, -1, -5, -2, -14, -4, -21, -9, 4,+ -5, 12, 6, -19, -4, -8, 3, 2, 2, -7, 5, -4, -7, 19, 2, 4, -17, 5, 5, 2, -7, 5, 6, -1, 11, 18,+ 0, 5, 9, -1, -12, 11, -5, -7, 2, 9, 19, 1, 10, -13, 3, 26, 17, 12, 3, -3, 29, 1, 1, -14, 5, -4,+ -3, -3, -1, 1, 3, -9, 7, 19, -1, -6, 13, 13, -14, -11, 3, -19, -7, -14, -9, 6, 18, -12, -12,+ 14, 2, -6, 10, 7, 6, -6, 34, 6, 19, -5, 6, -3, -7, 8, -1, 12, -2, 5, 2, 0, 3, 8, 2, -11, 12,+ 10, -22, -2, 19, 36, -7, -9, 11, -7, 4, 8, -5, 10, 8, 13, 13, -1, -1, 3, -7, 6, -9, 3, -11, 6,+ -1, 11, -4, 5, 13, -21, 1, 0, 9, 6, -9, 3, -29, 1, -20, 10, -6, -6, -10, 8, -10, -2, 11, -1,+ -4, -4, 4, -4, 15, -17, 6, -11, 2, -8, -2, 7, 3, -2, 8, -6, -1, 4, -6, 1, -16, 8, -1, 11, 2,+ -15, -12, 1, -3, -1, 12, -9, -7, -15, 15, 2, 18, 2, 7, -8, 0, -10, -12, -14, 7, -1, 9, -8, -4,+ 7, -1, -11, 9, -5, -4, 1, -3, 5, 5, -12, 7, -13, 4, 13, 21, -5, 7, -1, 5, -12, -9, 16, 6, -5,+ -3, 6, 8, 15, 0, -7, 7, -1, 6, 15, -5, -48, -2, -3, 10, -5, 8, -15, -1, -2, 6, -20, 0, 6, -6,+ -6, -5, -13, 0, -4, -16, -3, 3, 1, 2, 7, 12,+];++static CONCERT_NIGHTS: TextEmbedding = [+ -5, 2, 2, -5, -2, 1, -6, -2, -4, 5, -5, 6, -3, 3, -1, 126, -4, 4, 5, -13, -4, -9, 13, 2, -5,+ -1, 5, 2, 6, 5, 8, 3, -2, -4, -3, 7, -1, 0, -4, 1, 11, 7, 3, -8, -4, -5, 0, 2, 0, -2, -2, 6, 6,+ -7, -2, -3, 13, -4, -1, -7, 0, 3, 1, -4, -6, 8, 0, -2, 9, -9, 0, 8, -3, 1, 7, 1, 9, -3, 1, -9,+ 2, -2, -2, -1, 4, -2, 0, -4, -1, 5, -6, 3, 6, 0, 3, -2, -8, 7, 0, -1, -4, 3, 6, -3, -1, -2, -9,+ 5, -2, -7, 2, -7, -22, -2, 5, 1, 1, -1, -2, 4, -7, -11, 6, -10, 1, 10, -22, 4, -2, -3, -2, -1,+ -14, 2, -11, 1, -5, -2, 4, -5, 2, -3, 4, -1, 0, 1, -6, 3, -4, 7, 6, -4, 23, -7, 4, -1, 0, 3, 0,+ -6, -11, -7, -1, -5, -5, -17, 6, -127, -7, -4, 2, 7, 4, 4, -1, 7, 8, 3, 2, 2, 7, 5, 6, -4, 3,+ -3, 2, -1, 7, 6, -4, 1, 13, 11, -5, 1, -6, 7, 1, 3, 5, 0, -8, -1, 3, -8, -8, 5, -3, 0, 3, -2,+ 10, 11, -6, 12, 2, 8, 3, -2, -14, -2, -4, 0, 1, 3, 5, -4, -7, 8, 11, -4, 3, 2, 0, 5, 2, -5, -3,+ 0, 0, -6, 3, -6, -1, 9, -1, 16, 4, -4, -2, -2, -1, 1, 3, -5, -6, -7, -5, -1, -4, -4, 0, 0, 3,+ -4, 5, 4, 3, 1, -10, 2, 5, 0, 3, 8, 0, -1, 0, 0, -3, 3, -6, -6, 3, 1, 2, 5, -26, 1, -2, -6, 5,+ -3, 3, -6, -12, 13, 3, -2, 7, 6, 4, -3, 4, -5, -4, 3, 5, -1, 8, 1, -9, -2, 3, 1, -11, 5, -11,+ -6, 0, -1, 2, 3, -6, -8, -6, -2, -3, -3, -1, 0, 4, 17, -1, 10, 2, -1, -2, -8, 6, 1, 14, -3, -5,+ 4, 3, -3, -1, 1, 5, 5, -10, -19, -1, 0, -17, 4, -1, -7, 4, -4, 0, -1, 2, -2, 8, -4, -1, 3, -5,+ 2, 2, -3, -1, 15, 2, -5, -4, -1, -3, 5, 0, -3, -4, -1, 0, -3, 5, -12, 6, 13, 6, -2, 5, 0, -6,+ -19, -9, -6, 3, -4, -6, 0, 2, 4, 0, 16, 5, -14, 7, 0, -4, -3, 6, 4, -3, 1, 2, 6, 7, 3, 1, 0,+ -1, 4, 11, 3, 1, -2, 6, 13, 2, -1, 0, 4, -6, 5, 1, -2, 0, 4, 5, 0, 4, -7, -8, 3, 2, 1, 21, -4,+ -4, 3, 1, 5, -6, 6, -3, 1, 2, -2, 4, 2, 3, 2, 11, -5, 2, 1, 4, 1, 16, -2, 10, 4, 6, -6, 2, 4,+ -3, -8, -6, -7, -8, -12, -32, -2, -3, 2, 8, -7, -1, -3, 5, 1, -1, 2, -3, 5, 2, -2, 3, 6, 5, -4,+ -6, -3, 0, -4, 7, -13,+];++static POOL_DAYS: TextEmbedding = [+ 12, 6, -9, -21, 11, 3, -12, 9, -7, -8, -4, 1, -2, 10, -4, 126, 8, 0, 8, -23, -2, -4, 2, 7, -1,+ -12, -1, -1, -1, -1, 10, 5, 3, 2, 3, -2, 7, 1, -6, 6, -16, 7, -5, 5, 6, -4, -7, -2, -3, 2, 4,+ 1, 4, 17, 4, -9, 19, -7, -2, 2, -17, -5, -8, 14, -3, 2, -5, 6, -15, -23, -7, 9, -11, 0, 2, 7,+ -7, -1, 15, -1, -17, 4, 4, 13, 4, 0, -12, 2, -8, -5, 8, 1, -4, 0, 3, -7, -17, 2, 7, 18, 7, 6,+ -2, -1, -8, 2, -13, 5, -3, -4, 5, 4, 24, -1, -9, -11, 1, -7, 0, 5, -1, -15, -2, -7, -16, -4,+ -11, -19, 2, 5, -4, -1, -17, -13, -3, 7, -12, -5, 5, -3, -4, 5, 20, -3, 8, 5, 14, 10, 1, -4, 3,+ 3, -1, 6, -1, 3, 9, -4, -5, -3, -16, -6, -9, -7, -14, -8, 0, -127, -11, 5, 8, 15, 4, -10, -7,+ -9, 13, 9, -13, 24, 2, 24, -1, 16, -32, 2, 2, -3, -11, 8, -1, -3, 13, 17, 2, -5, 6, -12, -1,+ 12, -8, 5, -1, -4, -2, -3, 3, -7, -3, -1, -14, 9, 1, 2, 1, 5, 1, 3, 6, 11, -2, 4, -11, 2, 6, 7,+ 0, -6, -7, -19, 0, -3, -3, -14, 12, -1, -13, 7, -1, -7, -11, -1, -18, -3, -15, 9, 4, 4, -36,+ -1, -3, 4, 3, 7, -3, 5, 10, -22, -2, -4, 6, -12, -3, 5, 12, 4, -4, -27, 3, -13, 7, -5, 10, 5,+ -10, 12, 16, 5, 7, -2, -1, -12, 6, -17, -4, -10, 3, 2, -4, 6, -3, -19, 8, 13, 4, -15, -17, -18,+ 3, 7, -1, -10, -3, 10, 3, -6, 6, 2, -1, -6, 23, 3, 14, 5, 1, 0, -8, 6, -12, 0, -6, 8, -5, -7,+ -6, 8, -3, -11, 3, -7, 14, -6, -7, 21, -12, 2, 1, 16, -7, 11, 18, 2, 1, -1, -5, 3, 1, -4, 7,+ -10, -8, 7, -9, 8, 2, 4, 9, -9, -2, 1, 0, -2, -10, 1, 5, -7, 19, -3, 0, -6, -4, 7, -21, 9, -13,+ -42, 5, -10, 19, 4, 2, 0, -2, -2, 1, -3, 2, 3, 13, -4, 20, -13, 6, -2, 1, -2, -1, -25, 25, 17,+ 5, -10, -7, 3, -8, 1, 9, -9, 6, 2, 16, 14, -7, 7, -5, -5, -7, -11, -2, 6, 4, -1, -4, 0, 8, -4,+ 4, 3, -9, -9, -3, 10, 3, 7, 5, -4, 1, -4, -9, 7, -1, 0, -6, -11, 10, 2, 2, -3, 8, -1, -2, 0,+ -2, 2, -5, -2, -5, -7, 2, 13, 1, 3, -6, 2, -4, -15, 5, 0, -1, 7, 1, -19, -6, 12, -3, -8, 11, 8,+ -3, 4, -8, 9, 0, -1, -1, 0, -27, 3, 4, -7, -2, -7, -7, 8, -6, -6, -2, 4, -13, -8, 0, -2, -10,+ 2, -6, -9, 6, 3, 14, 0, 3, -12,+];++static PICNIC_DAYS: TextEmbedding = [+ 1, 2, -4, -10, 2, 1, -9, -8, -4, -21, -3, 6, 11, -2, 2, 126, -4, 3, -1, -19, 0, -3, 10, 2, 1,+ -4, -4, 2, 5, 3, 10, -10, 1, 4, -1, 2, 3, -5, 2, -4, 3, 0, 6, 8, -11, -9, 1, -4, -5, 6, 2, 6,+ 0, 14, 1, -9, 10, -1, 1, 3, -13, 11, 2, -14, 9, 0, 1, -15, 4, 6, 1, -4, -2, 2, 0, 2, -21, 3,+ 14, 13, -3, 2, 13, 7, 5, -4, 4, 0, 15, 5, -3, 2, 6, 5, 6, 0, -33, 1, -4, 8, -5, 5, 4, 11, -8,+ 6, -11, 5, 6, -3, 0, 8, 8, -7, -6, -13, 2, -9, 1, -4, -2, -3, 2, -12, -1, 1, -10, -5, 2, -4,+ -3, 11, 12, 11, 3, -1, -3, -2, 11, 2, 9, 0, -4, 10, -4, -8, -5, 2, -3, 11, -8, 3, -11, 1, 11,+ 2, 8, 6, 2, 0, 2, -3, 3, 7, 27, 3, -7, -127, -1, 4, -12, 12, -7, -1, -3, -4, 3, -3, -12, 10,+ -5, 13, 3, 2, 10, -5, 3, 3, 5, -5, 3, 6, 7, 22, 2, 3, 0, -24, -7, 8, 2, -8, -2, 0, 4, 1, 7, 6,+ 3, -5, -10, 2, -12, 1, 0, 9, 4, 3, 0, 4, -15, 3, 6, 1, 6, 1, -1, -10, -4, -4, -9, 4, -1, 3, 0,+ -6, -2, -3, -7, -2, 10, 3, -16, 4, -25, 23, 4, -3, -18, -5, 0, -11, -18, 5, 12, 1, -6, -5, -4,+ 1, 10, -6, -7, 1, 2, -4, 2, -1, 8, -2, -13, 1, -5, 1, -4, 2, 7, 3, 6, 4, 3, 1, 5, -17, -4, 8,+ 2, 3, 25, 3, -2, -11, 3, -1, 6, 5, -11, -42, -6, 7, -1, -3, 2, 2, 7, -1, 7, -2, 4, 5, 6, 3, 4,+ 4, 2, 13, -4, -1, -15, -4, 5, 1, 0, 5, -1, 4, 8, -15, 5, -10, 5, -2, -1, 17, 4, -8, 6, 2, -11,+ -3, 1, 5, 11, -5, -3, -10, -2, 0, -3, 2, -11, 11, -2, -25, -3, 12, -8, -7, 0, -2, 4, -2, 0, 0,+ 14, -9, 3, 2, -5, -1, -4, -3, -2, -8, -9, 5, 24, 15, -9, -12, 0, -5, -4, -2, 1, -6, -3, -5, 9,+ -20, -5, 1, -1, 2, -3, 4, -1, 8, 11, 6, 7, 1, 10, -7, -12, 1, 10, 16, -5, -8, 23, -2, 1, 4, -1,+ 5, 4, -10, -1, 11, 18, -15, 11, 2, 7, 2, -5, 0, -1, -3, 1, 1, -5, 6, -5, -7, 13, -5, -3, 1, 1,+ 7, -8, -20, 6, -2, 7, 3, 4, -5, -15, -5, -18, 3, -9, 2, 3, 3, 6, -8, -2, -4, -2, 0, -4, -2, 2,+ -6, -7, 7, 4, 2, 8, 2, -8, 0, -1, 3, -4, 0, -5, 1, 5, -8, -18, -3, -13, -8, 2, -1, 3, 22, -12,+ 0, 1, 5, -1, -2, 0, 3, -2, -3, -4, 7, -4, 6, 0, -2, 0, -10, 1, -18,+];++static CAMPING_MOMENTS: TextEmbedding = [+ 1, 1, 4, 0, 4, 1, -1, 0, 2, -12, -1, -3, 7, 6, 2, 126, -8, 0, -1, -9, 0, 0, 4, -2, 6, -4, 2, 0,+ 0, 4, 1, 0, -6, 4, 5, 0, 3, 3, 3, 1, 2, -4, -5, -4, -11, -7, 3, 0, -2, 0, 12, 4, -3, 6, 7, -5,+ -3, -5, 8, 2, -3, 5, -2, 2, -7, 2, 0, 1, 6, 4, 8, 6, 6, -1, 10, 0, -17, 5, 1, -3, 7, 8, 0, 8,+ 2, -9, 0, 5, 2, 8, 4, 0, 15, 6, 7, -3, -5, 4, 1, 1, -3, 0, 11, 3, -1, 1, -14, 3, 0, -3, 1, -2,+ 20, 9, -5, -5, -7, -2, 6, -5, 0, -12, 1, -8, -8, 2, -12, -8, 0, 2, -4, 1, 4, 3, 2, -5, -6, -4,+ -1, -12, 7, 4, 4, 11, 3, -4, -6, -6, -8, 0, -2, 5, -1, 3, 4, 2, 4, 5, 2, 5, 0, 1, 12, 11, 0,+ -10, 3, -127, -7, 6, -3, 11, 1, 2, -1, 5, 5, -1, -3, -1, 1, 10, 7, -1, 6, -1, 4, 3, 4, -1, 0,+ -6, -1, 10, -6, 7, 6, -24, -1, 6, 5, 8, 4, 3, 7, -2, 2, 2, -3, -3, -6, 2, -9, 2, -1, -5, 5, -2,+ 0, -1, -16, -2, 4, 0, 9, -2, -1, -8, -2, -9, -2, -6, -5, -8, -2, -17, 2, 6, 4, -1, 4, 6, -6, 0,+ -25, 13, -6, 7, -15, -1, 0, -6, -19, 2, -2, 4, -10, -8, -5, 2, -6, -3, -6, 2, -2, -2, 1, 6, 4,+ -1, -4, -2, 0, -3, -3, 5, -3, 4, 6, 2, 1, 2, -8, -7, -3, 5, 1, 4, 10, 8, -4, -2, 0, 4, 1, 1,+ -6, -24, 3, 2, -15, -1, 3, 12, 4, 4, 5, -4, 7, 8, 12, 4, -4, 2, 0, 16, -8, 5, -1, -4, 7, 10,+ -1, 4, -5, -4, 3, -11, 2, 4, 5, -3, -2, 12, -4, 1, 1, 3, 3, -2, 0, 0, 1, 4, 3, -1, 4, 1, 6, 0,+ 0, 2, 3, -17, -4, 6, 5, 6, -3, 12, 1, -10, 3, -5, 2, -3, -1, -12, 1, 0, -1, -1, 7, -1, 9, 1,+ 13, 2, -28, 0, 2, 4, -1, -7, 7, -6, 1, -9, 1, -8, 8, -5, -2, 9, 4, 4, -9, -3, 6, -1, 5, -2, -2,+ 2, 0, -5, 1, 15, -1, 1, 12, 0, 0, -1, -2, -5, 2, -10, 1, 9, 15, -13, -9, 8, -9, -7, -1, 2, 5,+ -1, 2, 5, 8, 4, -3, 0, 1, 1, -2, -5, 8, 2, -5, 1, 4, -3, -1, 2, -3, -5, -8, -2, -12, 7, -5, 4,+ -6, -4, 4, -2, 1, -2, 7, 1, -2, -8, 4, -3, -5, 3, 0, 1, 5, -5, -6, 2, -2, 3, 1, -1, 2, -8, 9,+ 5, -5, -1, -8, 5, -6, -3, -2, 11, -1, 2, 9, 0, 7, 2, 3, -1, -9, -4, -6, -1, -8, -2, 0, -5, -6,+ -8, 6, -8,+];++static BABY_SMILES: TextEmbedding = [+ 3, -2, -5, -11, -1, 0, -4, 11, -7, -6, 10, -3, 6, -2, 4, 126, 3, -7, 6, -18, 3, -4, -15, -6, 5,+ -6, -4, 6, -1, -1, 5, -6, 3, 3, -5, -10, 5, 9, 2, 7, -1, -6, 1, 11, 6, -11, -11, -9, 4, 4, -6,+ 12, -4, -5, -1, -10, -11, 5, 3, 6, -10, 6, -4, -2, -8, 3, -7, -1, -6, 16, 2, 3, 9, -5, 8, -7,+ -19, 3, 3, -4, -2, -6, 6, -3, -5, -4, 0, 1, 12, 0, -4, 6, -4, 8, 6, 3, -11, 5, 6, 2, -2, 5, -1,+ -9, -11, 2, -11, -3, 5, 1, -11, -11, 3, -9, 1, -10, 4, -10, 1, 8, 14, -2, 3, -3, -6, 3, -5,+ -11, -6, -2, -3, 2, 5, -5, 0, -9, -4, 7, -4, 3, -1, 10, 0, -2, 5, -1, -12, 2, -2, 2, -6, 0,+ -10, 2, -4, -6, -4, -8, 0, -6, -9, -3, -3, 7, 2, -3, -3, -127, -1, 1, -11, 14, -11, -4, -1, -3,+ 0, 1, -3, 4, 6, 8, 1, 0, -2, -3, 1, 0, 6, 4, 10, -5, 14, 2, -3, 0, 0, -5, -2, 14, 10, -6, 2,+ -4, -1, -4, 3, -3, 1, 8, -5, -1, 3, 6, -2, 1, 1, 6, 12, -10, -4, 7, -4, 7, -2, 0, -1, -3, 6,+ -10, -4, -4, 7, 1, 1, -5, 1, 0, -2, -5, 0, 0, 0, 5, 1, 0, -2, 3, -18, 2, -1, -13, 1, 12, -8,+ -3, -20, 1, -5, -6, -5, -1, 7, -2, -6, -2, 2, -11, 2, 2, 5, 1, -2, 0, 3, 11, 4, 3, -1, -8, -3,+ -5, 8, -4, 0, 2, -4, 8, -5, -8, -6, -5, -1, 10, 9, 7, -1, 10, 5, 0, -3, 4, -4, -3, 8, 5, 11, 0,+ 3, 3, -3, -7, 0, -3, 0, -11, -10, 6, -17, 1, 7, -4, -7, -1, -2, 5, 5, 1, -4, 5, -3, -12, 15, 8,+ -12, -2, -10, -1, 4, 3, 5, -3, 16, -1, -8, 4, -3, -5, -6, 7, -4, 4, 6, -9, 5, 7, -9, -7, 3, 16,+ 4, 0, -1, -3, 2, 2, 3, 2, -1, -2, 4, 1, 1, -2, -1, -12, 19, 6, -2, -6, -6, 2, -6, 0, 3, 3, 1,+ 4, 6, -5, -11, -11, 1, -2, 1, 11, -10, 9, -10, -6, -10, -10, 3, -8, 10, 0, 9, -6, 4, 0, -12,+ -2, 0, -7, 1, -6, 10, -2, 9, -1, 22, 8, 4, 0, 1, 0, -4, -3, -6, -11, 0, 4, 3, 0, -3, -1, 2, 0,+ 4, 5, -17, 1, 2, -2, -8, 10, 5, 4, -11, -6, -10, 1, 14, 6, -9, 2, -6, -2, -4, -4, -11, 7, 4,+ -1, -4, -10, -12, 2, 0, 9, 3, -8, -6, 3, -6, 4, 2, 0, 2, 9, -1, 8, -2, -3, -5, -10, -12, -4,+ -1, 2, 0, 2, 1, 6, 3, 0, -8, 1, 4, 1, 4, 3, -3, -1, 1, 2, 2, 1, 10, -1, 2, -16,+];diff --git a/rust/crates/photos/src/memories/time.rs b/rust/crates/photos/src/memories/time.rsindex 73ad9451c4..bf6c69a4fd 100644--- a/rust/crates/photos/src/memories/time.rs+++ b/rust/crates/photos/src/memories/time.rs@@ -7,6 +7,7 @@ use super::output::{Memory, MemoryKind, TimeMemory};use super::photo::Photo;use super::selector::Selector;use super::{MINIMUM_MEMORY_LENGTH, UPDATE_FREQUENCY_DAYS, unused_photos};+use crate::ml_store::Result;const RECENT_SELECTION_SIZE: usize = 10;const MONTH_SELECTION_SIZE: usize = 20;@@ -22,8 +23,8 @@ pub(super) fn memories(all_photos: &[Photo],period: Period,selector: &mut Selector,-) -> Vec<Memory> {- let mut memories = recent_memories(all_photos, period, selector);+) -> Result<Vec<Memory>> {+ let mut memories = recent_memories(all_photos, period, selector)?;let cutoff = period.now - DAYS_PER_YEAR * MICROS_PER_DAY;let historical: Vec<&Photo> = available.iter()@@ -37,26 +38,30 @@ pub(super) fn memories(period,average_daily_photos * SIGNIFICANT_DAY_SHARE,selector,- );+ )?;if past_memories.is_empty() {past_memories = week_memories(&historical,period,average_daily_photos * SIGNIFICANT_WEEK_SHARE,selector,- );+ )?;}let month_photos = unused_photos(historical, &past_memories);- past_memories.extend(month_memories(&month_photos, period, selector));+ past_memories.extend(month_memories(&month_photos, period, selector)?);memories.extend(past_memories);- memories+ Ok(memories)}-fn recent_memories(photos: &[Photo], period: Period, selector: &mut Selector) -> Vec<Memory> {+fn recent_memories(+ photos: &[Photo],+ period: Period,+ selector: &mut Selector,+) -> Result<Vec<Memory>> {let today = period.today();let week_start = today.plus_days(1 - today.weekday());let month_start = LocalDate::new(today.year, today.month, 1);- [+ let windows = [(TimeMemory::LastWeek,week_start.plus_days(-7),@@ -69,23 +74,23 @@ fn recent_memories(photos: &[Photo], period: Period, selector: &mut Selector) ->month_start,LocalDate::new(today.year, today.month + 1, 1),),- ]- .into_iter()- .filter_map(|(kind, source_start, show_start, show_end)| {+ ];+ let mut memories = Vec::new();+ for (kind, source_start, show_start, show_end) in windows {let candidates: Vec<&Photo> = photos.iter().filter(|photo| (source_start..show_start).contains(&photo.date)).collect();- (candidates.len() >= MINIMUM_MEMORY_LENGTH).then(|| {- Memory::new(+ if candidates.len() >= MINIMUM_MEMORY_LENGTH {+ memories.push(Memory::new(MemoryKind::Time(kind),- &selector.best_over_time(candidates, RECENT_SELECTION_SIZE),+ &selector.best_over_time(candidates, RECENT_SELECTION_SIZE)?,period.start_of(show_start),period.start_of(show_end),- )- })- })- .collect()+ ));+ }+ }+ Ok(memories)}fn day_memories(@@ -93,7 +98,7 @@ fn day_memories(period: Period,significance_threshold: f64,selector: &mut Selector,-) -> Vec<Memory> {+) -> Result<Vec<Memory>> {let show_dates = show_dates(period.today());let mut groups: HashMap<(i32, i32), HashMap<i32, Vec<&Photo>>> = HashMap::new();for &photo in photos {@@ -130,7 +135,7 @@ fn day_memories(let photos = years.values().flatten().copied().collect();memories.push(Memory::new(MemoryKind::Time(kind),- &selector.best(photos, None),+ &selector.best(photos, None)?,first_date_to_show,last_date_to_show,));@@ -142,14 +147,14 @@ fn day_memories(};memories.push(Memory::new(MemoryKind::Time(kind),- &selector.best(years[&year].clone(), None),+ &selector.best(years[&year].clone(), None)?,first_date_to_show,last_date_to_show,));}}}- memories+ Ok(memories)}fn week_memories(@@ -157,7 +162,7 @@ fn week_memories(period: Period,significance_threshold: f64,selector: &mut Selector,-) -> Vec<Memory> {+) -> Result<Vec<Memory>> {let today = period.today();let mut years: HashMap<i32, Vec<&Photo>> = HashMap::new();for &photo in photos {@@ -170,30 +175,33 @@ fn week_memories(let last_date_to_show = period.now + UPDATE_FREQUENCY_DAYS * MICROS_PER_DAY;if significant_years.len() >= MINIMUM_SIGNIFICANT_YEARS_FOR_THROUGH_THE_YEARS {let photos = years.values().flatten().copied().collect();- return vec![Memory::new(+ return Ok(vec![Memory::new(MemoryKind::Time(TimeMemory::Week { years_ago: None }),- &selector.best(photos, None),+ &selector.best(photos, None)?,first_date_to_show,last_date_to_show,- )];+ )]);}- significant_years- .into_iter()- .map(|year| {- let kind = TimeMemory::Week {- years_ago: Some(today.year - year),- };- Memory::new(- MemoryKind::Time(kind),- &selector.best(years[&year].clone(), None),- first_date_to_show,- last_date_to_show,- )- })- .collect()+ let mut memories = Vec::new();+ for year in significant_years {+ let kind = TimeMemory::Week {+ years_ago: Some(today.year - year),+ };+ memories.push(Memory::new(+ MemoryKind::Time(kind),+ &selector.best(years[&year].clone(), None)?,+ first_date_to_show,+ last_date_to_show,+ ));+ }+ Ok(memories)}-fn month_memories(photos: &[&Photo], period: Period, selector: &mut Selector) -> Vec<Memory> {+fn month_memories(+ photos: &[&Photo],+ period: Period,+ selector: &mut Selector,+) -> Result<Vec<Memory>> {let today = period.today();let mut years: HashMap<i32, Vec<&Photo>> = HashMap::new();for &photo in photos {@@ -207,23 +215,20 @@ fn month_memories(photos: &[&Photo], period: Period, selector: &mut Selector) ->let first_date_to_show = period.now;let last_date_to_show = period.start_of(LocalDate::new(today.year, today.month + 1, 1));let mut years = years.into_iter();- let mut memories: Vec<Memory> = years- .by_ref()- .take(SINGLE_YEAR_MONTH_MEMORIES)- .map(|(year, photos)| {- let kind = TimeMemory::Month {- year,- month: today.month,- years_ago: Some(today.year - year),- };- Memory::new(- MemoryKind::Time(kind),- &selector.best(photos, Some(MONTH_SELECTION_SIZE)),- first_date_to_show,- last_date_to_show,- )- })- .collect();+ let mut memories = Vec::new();+ for (year, photos) in years.by_ref().take(SINGLE_YEAR_MONTH_MEMORIES) {+ let kind = TimeMemory::Month {+ year,+ month: today.month,+ years_ago: Some(today.year - year),+ };+ memories.push(Memory::new(+ MemoryKind::Time(kind),+ &selector.best(photos, Some(MONTH_SELECTION_SIZE))?,+ first_date_to_show,+ last_date_to_show,+ ));+ }let remaining_years: Vec<(i32, Vec<&Photo>)> = years.collect();if remaining_years.len() >= MINIMUM_YEARS_FOR_MONTH_THROUGH_THE_YEARS {let kind = TimeMemory::Month {@@ -237,12 +242,12 @@ fn month_memories(photos: &[&Photo], period: Period, selector: &mut Selector) ->.collect();memories.push(Memory::new(MemoryKind::Time(kind),- &selector.best(photos, Some(MONTH_SELECTION_SIZE)),+ &selector.best(photos, Some(MONTH_SELECTION_SIZE))?,first_date_to_show,last_date_to_show,));}- memories+ Ok(memories)}fn show_dates(today: LocalDate) -> HashMap<(i32, i32), LocalDate> {@@ -286,6 +291,7 @@ mod tests {period(now),&mut Selector::new(None, 0),)+ .unwrap()}fn day(year: i32, month: i32, day: i32, years_ago: Option<i32>) -> MemoryKind {diff --git a/rust/crates/photos/src/memories/trips/mod.rs b/rust/crates/photos/src/memories/trips/mod.rsindex e2b3e5eafb..3e8d9ad9b4 100644--- a/rust/crates/photos/src/memories/trips/mod.rs+++ b/rust/crates/photos/src/memories/trips/mod.rs@@ -320,6 +320,7 @@ mod tests {None,cities.map(|cities| cities as &dyn CityLookup),)+ .unwrap()}fn trips(memories: &[Memory]) -> Vec<&TripMemory> {diff --git a/rust/crates/photos/src/memories/trips/surface.rs b/rust/crates/photos/src/memories/trips/surface.rsindex deb18aaf57..f836277b99 100644--- a/rust/crates/photos/src/memories/trips/surface.rs+++ b/rust/crates/photos/src/memories/trips/surface.rs@@ -10,6 +10,7 @@ use crate::memories::output::{BaseMemory, Memory, MemoryKind, TripMemory};use crate::memories::photo::Photo;use crate::memories::places::Places;use crate::memories::selector::Selector;+use crate::ml_store::Result;const TRIP_SURFACE_SLOTS: usize = 2;const TRIP_SHOW_TIMEOUT_DAYS: i64 = 40 * UPDATE_FREQUENCY_DAYS;@@ -80,7 +81,7 @@ pub(in crate::memories) fn memories(request: &MemoriesRequest,places: &Places,selector: &mut Selector,-) -> Vec<Memory> {+) -> Result<Vec<Memory>> {let cutoff = period.now - MINIMUM_TRIP_AGE_DAYS * MICROS_PER_DAY;let trips: Vec<&Trip> = analysis.trips@@ -113,7 +114,7 @@ fn surface_all(period: Period,places: &Places,selector: &mut Selector,-) -> Vec<Memory> {+) -> Result<Vec<Memory>> {let last_date_to_show = period.now + UPDATE_FREQUENCY_DAYS * MICROS_PER_DAY;let bases = analysis.bases.iter().map(|base| {let photos: Vec<&Photo> = base.members.iter().map(|member| member.photo).collect();@@ -133,9 +134,9 @@ fn surface_all(selector,period.now,last_date_to_show,- ));+ )?);}- memories+ Ok(memories)}fn scheduled<'a, 'p>(@@ -234,7 +235,7 @@ fn trip_memory(selector: &mut Selector,first_date_to_show: i64,last_date_to_show: i64,-) -> Memory {+) -> Result<Memory> {let photos: Vec<&Photo> = trip.members.iter().map(|member| member.photo).collect();let kind = MemoryKind::Trip(TripMemory {location: trip.location,@@ -242,12 +243,12 @@ fn trip_memory(year: trip.year(),key: trip.key.clone(),});- Memory::new(+ Ok(Memory::new(kind,- &selector.best(photos, None),+ &selector.best(photos, None)?,first_date_to_show,last_date_to_show,- )+ ))}fn anniversary_distance_days(trip: &Trip, period: Period) -> i64 {diff --git a/rust/crates/photos/src/memories/vectors.rs b/rust/crates/photos/src/memories/vectors.rsnew file mode 100644index 0000000000..95ce203774--- /dev/null+++ b/rust/crates/photos/src/memories/vectors.rs@@ -0,0 +1,71 @@+use super::input::ClipVectors;+use crate::ml_store::{Index, MlStore, Result, SearchParams};++impl ClipVectors for MlStore {+ fn matches(&self, query: &[f32], min_similarity: f32) -> Result<Vec<(i64, f32)>> {+ let params = SearchParams {+ limit: None,+ max_distance: Some(1.0 - min_similarity),+ exact: true,+ allowed_keys: None,+ };+ Ok(self+ .search(Index::Clip, query, ¶ms)?+ .into_iter()+ .filter_map(|found| Some((found.key.parse().ok()?, 1.0 - found.distance)))+ .collect())+ }++ fn vector(&self, file_id: i64) -> Result<Option<Vec<f32>>> {+ self.get_vector(Index::Clip, &file_id.to_string())+ }+}++#[cfg(test)]+mod tests {+ use crate::memories::input::ClipVectors;+ use crate::ml_db::{CLIP_EMBEDDING_DIMENSIONS, ClipEmbedding};+ use crate::ml_store::MlStore;++ fn clip(file_id: i64, values: [f64; 2]) -> ClipEmbedding {+ let mut embedding = vec![0.0; CLIP_EMBEDDING_DIMENSIONS];+ embedding[..2].copy_from_slice(&values);+ ClipEmbedding {+ file_id,+ embedding,+ version: 1,+ }+ }++ #[test]+ fn matches_report_cosine_similarity_down_to_the_minimum_and_vectors_come_back_by_file_id() {+ let directory = tempfile::tempdir().unwrap();+ let store = MlStore::open(directory.path().join("ente.ml.db")).unwrap();+ store+ .put_clip(&[+ clip(1, [1.0, 0.0]),+ clip(2, [0.6, 0.8]),+ clip(3, [0.0, 1.0]),+ ])+ .unwrap();+ store.fill_clip_index(false).unwrap();+ let mut query = vec![0.0; CLIP_EMBEDDING_DIMENSIONS];+ query[0] = 1.0;++ let mut matches = store.matches(&query, 0.5).unwrap();+ matches.sort_by_key(|&(file_id, _)| file_id);++ assert_eq!(+ matches+ .iter()+ .map(|&(file_id, _)| file_id)+ .collect::<Vec<_>>(),+ [1, 2]+ );+ assert!((matches[0].1 - 1.0).abs() < 1e-3);+ assert!((matches[1].1 - 0.6).abs() < 1e-2);+ let vector = store.vector(3).unwrap().unwrap();+ assert!(vector[1] > 0.99 && vector[0].abs() < 1e-6);+ assert_eq!(store.vector(4).unwrap(), None);+ }+}