const DMX_SIZE = 512;
const REFRESH_MS = 25;
const PRODUCT = window.NEUROSYNC_PRODUCT || {
  edition: "audio-light",
  name: "NeuroSync Pro Audio+Light",
  hasLight: true,
  hasManualEntrainment: true,
  hasSessionComposer: true,
  hasMuse: true,
  hasRemote: true,
  hasScreenLight: true,
  supportsEnttecUsbPro: false,
  supportsOpenDmxFtdi: false,
  hasMarketplace: true,
  publisherCode: "",
  aiAnalysisWebhookUrl: "",
  aiAnalysisStatusWebhookUrl: "",
  askAiWebhookUrl: "",
  analysisCreditsApiUrl: "",
  analysisCreditsPurchaseUrl: "",
  marketplaceCheckoutUrl: "",
  creatorSharePercent: 70,
  creatorTermsUrl: "",
  creatorTermsVersion: "2026-08-22",
  payoutInterval: "manual",
  payoutMinimumAmount: 25
};
const HAS_LIGHT = PRODUCT.hasLight !== false;
const HAS_MANUAL_ENTRAINMENT = PRODUCT.hasManualEntrainment !== false;
const HAS_SESSION_COMPOSER = PRODUCT.hasSessionComposer !== false;
const HAS_SESSION_MANAGEMENT = PRODUCT.edition !== "personal";
const HAS_MARKETPLACE = PRODUCT.hasMarketplace === true;
const CAN_EXPORT_SESSIONS = HAS_SESSION_MANAGEMENT || PRODUCT.edition === "personal";
const CAN_IMPORT_SESSIONS = HAS_SESSION_MANAGEMENT || PRODUCT.edition === "personal";
const HAS_SPATIAL_REVERB = PRODUCT.edition === "audio-light" || PRODUCT.edition === "audio";
const HAS_SESSION_REVERB = PRODUCT.edition === "audio-light";
const HAS_SESSION_REVERB_GRAPH = ["audio-light", "audio", "personal"].includes(PRODUCT.edition);
const HAS_AURORA_MODE = PRODUCT.edition === "audio-light";
const HAS_SESSION_DESCRIPTION_AI = PRODUCT.edition === "audio-light";
const HAS_MUSE = PRODUCT.hasMuse === true && (PRODUCT.edition === "audio-light" || PRODUCT.edition === "audio");
const CAN_ADAPTIVE_SESSION = PRODUCT.edition === "audio-light" && HAS_MUSE;
const HAS_REMOTE = PRODUCT.hasRemote === true && PRODUCT.edition === "audio-light";
const HAS_SCREEN_LIGHT = PRODUCT.hasScreenLight === true;
const HAS_ENTTEC_USB_PRO = PRODUCT.supportsEnttecUsbPro === true;
const HAS_OPEN_DMX_FTDI = PRODUCT.supportsOpenDmxFtdi === true;
const HAS_USB_DMX = HAS_ENTTEC_USB_PRO || HAS_OPEN_DMX_FTDI;
const CAN_OUTPUT_MUSIC_LIGHT_CODE = HAS_SCREEN_LIGHT || (PRODUCT.edition === "audio-light" && HAS_LIGHT);
const HAS_RGB_INTENSITY_GRAPH = HAS_LIGHT || HAS_SCREEN_LIGHT;
const HAS_LIGHT_FREQUENCY_GRAPH = HAS_LIGHT || HAS_SCREEN_LIGHT;
const CAN_PUBLISH_MARKETPLACE = HAS_MARKETPLACE && PRODUCT.edition === "audio-light";
const AI_ANALYSIS_WEBHOOK_URL = String(PRODUCT.aiAnalysisWebhookUrl || "").trim();
const AI_ANALYSIS_STATUS_WEBHOOK_URL = String(PRODUCT.aiAnalysisStatusWebhookUrl || "").trim();
const ASK_AI_WEBHOOK_URL = String(PRODUCT.askAiWebhookUrl || "").trim();
const ANALYSIS_CREDITS_API_URL = String(PRODUCT.analysisCreditsApiUrl || "").replace(/\/+$/, "");
const ANALYSIS_CREDITS_PURCHASE_URL = String(PRODUCT.analysisCreditsPurchaseUrl || "").trim();
const AFFILIATE_PROFILE_API_URL = String(PRODUCT.affiliateProfileApiUrl || "/affiliate-profile").trim();
const MIN_ANALYSIS_SAMPLES = 5;
const ANALYSIS_POLL_INTERVAL_MS = 5000;
const ANALYSIS_POLL_TIMEOUT_MS = 5 * 60 * 1000;
const MARKETPLACE_CATALOG_URL = PRODUCT.marketplaceCatalogUrl || "marketplace/catalog.json";
const MARKETPLACE_FALLBACK_CATALOG_URL = "marketplace/catalog.json";
const MARKETPLACE_API_URL = String(PRODUCT.marketplaceApiUrl || "").replace(/\/+$/, "");
const MARKETPLACE_CHECKOUT_URL = String(PRODUCT.marketplaceCheckoutUrl || "").trim();
const CONFIGURED_MARKETPLACE_CREATOR_SHARE_PERCENT = Number(PRODUCT.creatorSharePercent);
const MARKETPLACE_CREATOR_SHARE_PERCENT = Number.isFinite(CONFIGURED_MARKETPLACE_CREATOR_SHARE_PERCENT)
  ? Math.min(100, Math.max(0, CONFIGURED_MARKETPLACE_CREATOR_SHARE_PERCENT))
  : 70;
const MARKETPLACE_CREATOR_TERMS_VERSION = String(PRODUCT.creatorTermsVersion || "2026-08-22").trim();
const MARKETPLACE_CREATOR_STORAGE_KEY = "neurosync.marketplace.creator.v1";
const MARKETPLACE_PUBLISHER_CODE_STORAGE_KEY = "neurosync.marketplace.publisherCode.v1";
const ACTIVE_FIXTURE_STORAGE_KEY = "hypnowave.activeFixtureId";
const FIXTURE_DEFAULT_MIGRATION_KEY = "hypnowave.atomicFixtureDefaultMigrated";
const SESSION_PROGRAM_STORAGE_KEY = "hypnowave.sessionProgramId";
const USER_SESSIONS_STORAGE_KEY = "neurosync.userSessions.v1";
const USER_SESSION_FILE_FORMAT = "neurosync-session";
const USER_SESSION_FILE_VERSION = 1;
const MAX_USER_SESSIONS = 100;
const NOISE_LAYER_FADE_SECONDS = 8;
const DMX_OWNER_STORAGE_KEY = "hypnowave.dmxOwner";
const ARTNET_CONTROLLER_STORAGE_KEY = "hypnowave.artnetController";
const ARTNET_IP_STORAGE_KEY = "hypnowave.artnetIp";
const ARTNET_UNIVERSE_STORAGE_KEY = "hypnowave.artnetUniverse";
const SESSION_MUSIC_SELECTION_STORAGE_KEY = "hypnowave.sessionMusicSelection";
const LAST_SESSION_START_TRACK_STORAGE_KEY = "hypnowave.lastSessionStartTrack";
const LANGUAGE_STORAGE_KEY = "hypnowave.language";
const SESSION_PRE_BASELINE_STORAGE_KEY = "neurosync.sessionPreBaseline.v1";
const SESSION_PRE_BASELINE_DISABLED_STORAGE_KEY = "neurosync.sessionPreBaselineDisabled.v1";
const SESSION_ADAPTIVE_ENABLED_STORAGE_KEY = "neurosync.sessionAdaptive.enabled.v1";
const SESSION_ADAPTIVE_GOAL_STORAGE_KEY = "neurosync.sessionAdaptive.goal.v2";
const MUSE_MONITOR_VISIBLE_STORAGE_KEY = "neurosync.museMonitor.visible.v2";
const ANALYSIS_VISIBLE_STORAGE_KEY = "neurosync.analysis.visible.v1";
const ANALYSIS_INSTALLATION_STORAGE_KEY = "neurosync.analysis.installationId.v1";
const OPENAI_API_KEY_STORAGE_KEY = "neurosync.askAi.openAiApiKey.v1";
const AFFILIATE_EMAIL_STORAGE_KEY = "neurosync.affiliate.email.v1";
const AFFILIATE_PANEL_OPEN_STORAGE_KEY = "neurosync.affiliate.panelOpen.v1";
const CONTROL_PANEL_ACTIVE_TAB_STORAGE_KEY = `neurosync.controlPanel.activeTab.${PRODUCT.edition || "default"}.v1`;
const PRESENTER_STORAGE_KEY = "hypnowave.presenterId";
const SCREEN_LIGHT_SESSION_SOURCE_STORAGE_KEY = `neurosync.screenLight.sessionSource.${PRODUCT.edition || "default"}.v3`;
const USER_MUSIC_DB_NAME = "neurosync-user-music";
const USER_MUSIC_DB_VERSION = 1;
const USER_MUSIC_STORE_NAME = "tracks";
const BREATHING_GUIDE_VOLUME = 0.6;
const DMX_OWNER_LEASE_MS = 7000;
const DMX_OWNER_REFRESH_MS = 2500;
const DMX_OWNER_ID = `${Date.now()}-${Math.random().toString(36).slice(2)}`;
const DMX_OUTPUT_MODE_STORAGE_KEY = "hypnowave.dmxOutputMode";
const DMX_SERIAL_PORT_STORAGE_KEY = "hypnowave.dmxSerialPort";
const DMX_SERIAL_PORT_REFRESH_MS = 2500;
const REMOTE_STATUS_MS = 1000;
const REMOTE_COMMAND_MS = 450;
const REMOTE_CLIENT_CONNECTED_MAX_AGE_MS = 3500;
const SCREEN_LIGHT_STATUS_MS = 120;
const SCREEN_LIGHT_SESSION_PREPARATION_SECONDS = 45;
const SCREEN_LIGHT_CLIENT_CONNECTED_MAX_AGE_MS = 3500;
const SCREEN_LIGHT_SESSION_MIN_INTENSITY = 20;
const SCREEN_LIGHT_BOOST_MIN = 250;
const SCREEN_LIGHT_BOOST_MAX = 1000;
const OUTPUT_FREQUENCY_UPDATE_THRESHOLD_HZ = 0.1;
const OPEN_DMX_SOFTWARE_PULSE_MAX_HZ = 8;
let currentLanguage = localStorage.getItem(LANGUAGE_STORAGE_KEY) === "nl" ? "nl" : "en";
const TRANSLATIONS = {
  en: {
    light: "Light", testArtnet: "Test Art-Net", testDmx: "Test DMX", outputActive: "Output active", dmxControls: "DMX controls",
    controlTabsAria: "Control panel sections",
    controlTabSessions: "Sessions",
    controlTabMusic: "Music",
    controlTabAudio: "Audio",
    controlTabPulse: "Pulse",
    controlTabLight: "Light",
    controlTabMuse: "Muse",
    controlTabSettings: "Settings",
    museControlHint: "Baseline and adaptive controls are available when Muse S Athena is active.",
    findMuse: "Find Muse",
    sessions: "Sessions", category: "Category", subcategory: "Subcategory", allSubcategories: "All subcategories", noSubcategory: "No subcategory", searchSessions: "Search sessions", searchSessionsPlaceholder: "Search by title, goal or phase", stop: "Stop",
    sessionSearchResults: "{count} of {total} sessions",
    sessionSearchNoResults: "No sessions found",
    askAi: "Ask AI",
    askAiEyebrow: "Session recommendation",
    askAiTitle: "Ask AI",
    askAiQuestion: "What would you like support with?",
    askAiPlaceholder: "Example: I want a calm session for better sleep tonight.",
    askAiNote: "AI suggests existing sessions from your library. This is not medical advice.",
    askAiFind: "Find session",
    askAiEmpty: "Enter a goal or question first.",
    askAiThinking: "Searching your session library...",
    askAiLocalMode: "Showing NeuroSync Match recommendations.",
    askAiHybridMode: "Showing AI-ranked recommendations.",
    askAiFallbackMode: "AI is unavailable, showing local recommendations.",
    askAiNoResults: "No suitable sessions found. Try a simpler goal.",
    askAiSelect: "Select",
    askAiBestMatch: "Best match",
    askAiOpenAiMode: "Showing OpenAI-ranked recommendations.",
    askAiSourceOpenAi: "Source: OpenAI",
    askAiSourceInternal: "Source: NeuroSync Match",
    askAiSourceHybrid: "Source: AI webhook",
    askAiSourceFallback: "Source: internal fallback",
    sessionDescriptionButton: "Session description",
    sessionDescriptionEyebrow: "AI session explanation",
    sessionDescriptionTitle: "Session description",
    sessionDescriptionIntro: "ChatGPT creates a detailed explanation of the selected session from the session data.",
    sessionDescriptionThinking: "Generating a detailed session explanation...",
    sessionDescriptionUnavailable: "Enter and save your OpenAI API key first.",
    sessionDescriptionError: "The session explanation could not be generated.",
    openAiApiKey: "OpenAI API key",
    openAiApiKeyPlaceholder: "sk-...",
    openAiApiKeyHint: "Stored locally on this device and used only for Ask AI recommendations and AI session descriptions.",
    saveApiKey: "Save key",
    clearApiKey: "Clear",
    apiKeySaved: "OpenAI API key saved locally.",
    apiKeyCleared: "OpenAI API key removed.",
    apiKeyConfigured: "OpenAI API key configured.",
    apiKeyNotConfigured: "No OpenAI API key configured.",
    affiliateTitle: "Affiliate & commission",
    affiliateIdle: "Load your affiliate details.",
    affiliateLoading: "Loading affiliate details...",
    affiliateReady: "Your affiliate details are ready.",
    affiliateLoadFailed: "Affiliate details could not be loaded. This may happen when your order was processed before affiliate access was available.",
    affiliateEmail: "Affiliate email",
    affiliateEmailPlaceholder: "name@example.com",
    affiliateLinkCopied: "Affiliate link copied.",
    affiliateCopyFallback: "Copy your affiliate link:",
    loadAffiliateDetails: "Load affiliate details",
    affiliateTermsInfo: "View the affiliate terms on the NeuroSync Pro website",
    affiliateTermsUrl: "https://neurosyncpro.eu/affiliate-terms/",
    copyAffiliateLink: "Copy link",
    affiliateCode: "Code",
    affiliateApproved: "Approved",
    affiliatePaid: "Paid",
    affiliateMinimum: "Minimum payout",
    affiliatePayable: "Payable",
    controlStatusIconsAria: "Active features",
    statusIconVr: "Smartphone Light active",
    statusIconBinaural: "Binaural Beats active",
    statusIconRemote: "Smart Remote active",
    statusIconMuse: "Muse S active",
    statusIconDmx: "DMX light bar active",
    newSession: "New session", duplicate: "Duplicate", edit: "Edit", share: "Export", import: "Import", delete: "Delete",
    marketplace: "Neural Exchange™", marketplaceBeta: "Neural Exchange™ beta", searchPrograms: "Search programs",
    marketplaceIntro: "Discover and install programs created for NeuroSync Pro.",
    allCategories: "All categories", install: "Install", installed: "Installed", buy: "Buy", free: "Free", by: "by",
    marketplaceEmpty: "No programs found.", marketplaceLoadError: "The Neural Exchange™ could not be loaded.",
    marketplaceInstalled: "Program installed.", purchaseUnavailable: "Checkout is not configured yet.",
    guidedSessionsLocked: "Guided sessions can only be published by NeuroSync and cannot be edited, duplicated or exported.",
    publishSession: "Publish your session", creatorSubmission: "Creator submission", session: "Session",
    submissionIntro: "Your session is submitted for Neural Exchange™ review before publication.",
    creatorName: "Creator name", creatorEmail: "Email address", listingSummary: "Neural Exchange™ description",
    listingPrice: "Price", creatorShare: "Creator share (%)",
    publisherCode: "Publisher code", submitForReview: "Submit for review",
    copyLightToAudioFrequencies: "Audio = light",
    pasteCode: "Paste", codePasted: "Publisher code pasted.", codePasteFailed: "The clipboard could not be read.",
    publisherCodeHint: "Paste the code; copied prefixes, quotes and invisible whitespace are removed automatically.",
    submissionConsent: "I confirm that I created this session and may distribute its contents.",
    creatorTermsConsent: "I agree to the Neural Exchange™ creator terms.",
    creatorTermsConsentPrefix: "I agree to the",
    creatorTermsConsentLink: "Neural Exchange™ creator terms",
    creatorTermsConsentSuffix: ".",
    creatorTermsUrl: "https://neurosyncpro.eu/neural-exchange-terms/",
    submissionUnavailable: "Uploads are not configured yet.", submissionSent: "Session submitted for Neural Exchange™ review.",
    submissionFailed: "The session could not be submitted.", noCustomSessions: "Create a custom session before publishing.",
    submissionInvalidCode: "The publisher code is incorrect.",
    submissionInvalidData: "The session or creator details are invalid.",
    submissionInvalidEmail: "Enter a complete email address, for example name@example.com.",
    submissionMissingCreatorName: "Enter your creator name.",
    submissionMissingSummary: "Enter a Neural Exchange™ description.",
    submissionMissingCode: "Enter or paste the publisher code.",
    submissionMissingConsent: "Confirm that you created the session and may distribute it.",
    submissionMissingTerms: "Accept the Neural Exchange™ creator terms.",
    submissionInvalidPrice: "Enter a valid price from 0 to 999.",
    submissionInvalidSession: "This session cannot be submitted. Open it in the Neural State Studio™, check its title, goal, category and timeline, then save it again.",
    submissionInvalidFormat: "The app created an invalid submission. Restart NeuroSync Pro and try again.",
    submissionInvalidLocalPayload: "One of these fields is incomplete: creator name, complete email address, description, session title, goal, category or timeline.",
    submissionServiceError: "Bunny Storage is temporarily unavailable.",
    submissionNetworkError: "The Neural Exchange™ service could not be reached.",
    close: "Close", name: "Name", sessionGoal: "Goal or description", carrierFrequency: "Carrier frequency",
    musicCrossfade: "Music crossfade (sec.)", colorCrossfade: "Colour crossfade (sec.)", phases: "Phases", phaseLimit: "Add up to 12 phases.",
    addPhase: "Add phase", cancel: "Cancel", saveSession: "Save session",
    breathingCoaching: "Breathing coaching", disableWhiteBar: "Disable white flash bar", sessionsOnly: "Sessions only",
    adaptiveSession: "Adaptive optimization",
    adaptiveGoal: "Goal",
    adaptiveGoalOff: "Disabled",
    adaptiveGoalAuto: "Automatic by session profile",
    adaptiveGoalCalmRegulation: "Calm & Regulation",
    adaptiveGoalSleepRecovery: "Sleep & Recovery",
    adaptiveGoalFocusCognition: "Focus & Cognition",
    adaptiveGoalEnergyActivation: "Energy & Activation",
    adaptiveGoalEmotionalBalance: "Emotional Balance",
    adaptiveGoalHeartCoherence: "Heart Coherence",
    adaptiveGoalPhysicalRecovery: "Physical Recovery",
    adaptiveGoalCreativeFlow: "Creative Flow",
    adaptiveGoalHypnoticTrance: "Hypnotic Trance",
    adaptiveGoalMeditativeSpiritual: "Meditative & Spiritual",
    adaptiveGoalPerformanceSports: "Performance & Sports",
    adaptiveGoalGentleSupport: "Gentle Support",
    adaptiveMuseRequired: "Available when Muse S Athena is live.",
    adaptiveSessionDisabled: "Adaptive optimization disabled.",
    adaptiveSessionReady: "Adaptive target: {goal}. A baseline is used automatically.",
    adaptiveSessionActive: "Adaptive optimization active: {goal}",
    adaptiveSessionHold: "Adaptive hold: improving signal quality",
    adaptiveSessionSoftening: "Adaptive softening: stress or artifacts rising",
    adaptiveSessionDeepening: "Adaptive deepening: calm is improving",
    adaptiveSessionStable: "Adaptive stable: session identity preserved",
    activePhase: "Active phase", frequencyProgression: "Light and audio frequency progression",
    intensityProgression: "RGB and white LED intensity plus audio volume progression",
    activeMusicCategory: "Active music category", music: "Music", nowPlaying: "Now playing",
    makeAnalysis: "Create analysis",
    buyAnalysisCredits: "Buy credits",
    analysisCreditsLoading: "Analysis credits: --",
    analysisCreditsStatus: "Analysis credits: {credits}",
    analysisCreditsUnavailable: "Analysis credits unavailable",
    analysisCreditsRequired: "You need 1 analysis credit to create a report.",
    analysisCreditsNoLicense: "Activate your license before using analysis credits.",
    analysisCreditsRefreshFailed: "Could not refresh analysis credits.",
    showAnalysisButton: "Show AI analysis button",
    analysisUnavailable: "Available once session data has been measured.",
    analysisReady: "Session data ready for analysis.",
    analysisCollecting: "Collecting session data...",
    analysisWaitForEnd: "Available after the session has ended.",
    analysisRunning: "Analysis request is being sent...",
    analysisStarted: "Analysis started. Waiting for the report...",
    analysisPending: "Analysis is still being created...",
    analysisTimeout: "The analysis is taking longer than expected. Try again in a moment.",
    analysisFailed: "The analysis could not be created.",
    analysisNotConfigured: "AI analysis is not linked yet.",
    analysisAcceptedNoReport: "The analysis service accepted the request, but did not return a report yet.",
    analysisIncomplete: "The report may be incomplete. The analysis service did not return the expected completion marker.",
    showAnalysisReport: "Show report",
    analysisEyebrow: "AI analysis",
    analysisTitle: "AI analysis report",
    analysisIntro: "The AI report is ready to print.",
    printAnalysisReport: "Print report",
    coreMusicLibrary: "Core music library", musicLibraryNotInstalled: "Not installed",
    installMusicLibrary: "Install library", replaceMusicLibrary: "Replace library",
    musicPosition: "Music position", previous: "Previous", next: "Next", musicVolume: "Music volume",
    musicCategory: "Music category", addToCategory: "Add to category", addMusicFiles: "Add tracks",
    customMusicCategory: "Category for custom music", frequency: "Frequency", frequencyPresets: "Frequency presets",
    alertness: "Alertness", relaxation: "Relaxation", deepTrance: "Deep trance", sleep: "Sleep",
    frequencyBands: "Frequency bands", mode: "Mode", pulseShape: "Pulse shape", solfeggioTone: "Solfeggio tone",
    volume: "Volume", noiseLayer: "Noise layer", noiseVolume: "Noise volume", lighting: "Lighting", smartphoneLight: "Smartphone Light", whiteFlashBar: "White flash bar", rgbColor: "RGB color", screenLightIntensity: "Intensity", screenLightBoost: "Smartphone boost",
    masterVolume: "Master volume", pulseVolume: "Pulse volume", balance: "Balance", equalizer: "Equalizer", equalizerReset: "Reset EQ",
    audioVisualization: "Audio settings visualization",
    spatialReverb: "Spatial reverb", spatialReverbHint: "Adds room depth to music and noise layers.",
    reverbPreset: "Reverb preset", reverbMix: "Reverb mix", reverbDecay: "Decay", reverbPreDelay: "Pre-delay",
    bass: "Bass", mid: "Mid", treble: "Treble",
    auroraMode: "Aurora Immersion™ mode", auroraPreset: "Aurora Immersion™ intensity",
    auroraSpeed: "Aurora Immersion™ speed", auroraDepth: "Aurora Immersion™ depth",
    auroraHint: "Slow northern-light colour drift; RGB pulsing remains active when enabled by the session.",
    ganzfeldMode: "Infinity Ganzfeld™ mode",
    ganzfeldHint: "Continuous, uniform RGB light without pulses or white flashes.",
    showMuseMonitor: "Show Muse S monitor data",
    connectMuse: "Connect Muse",
    remoteControl: "Smart Remote",
    remoteLoading: "Creating link...",
    remoteReady: "Scan with a smartphone on the same Wi-Fi network.",
    remoteUnavailable: "Remote link unavailable.",
    remoteQrAlt: "QR code for Smart Remote",
    copyRemoteLink: "Copy link",
    remoteLinkCopied: "Link copied.",
    screenLightControl: "Smartphone Light",
    screenLightLoading: "Creating QR code...",
    screenLightReady: "Scan with a smartphone and start full-screen light.",
    screenLightUnavailable: "Smartphone Light unavailable.",
    screenLightQrAlt: "QR code for Smartphone Light",
    screenLightPreparationPhase: "Smartphone preparation",
    screenLightPreparationPurpose: "Place the smartphone in the VR adapter. The session starts automatically when the countdown reaches zero.",
    screenLightPreparationStatus: "Smartphone Light preparation",
    screenLightPreparationButton: "Starts in {seconds}s",
    screenLightPreparationCancelled: "Smartphone Light preparation cancelled.",
    museSignal: "Signal", museCalm: "Calm", museFocus: "Focus", museArtifacts: "Artifacts",
    museBattery: "Battery", museLatency: "Latency",
    museLegendAria: "Muse monitor index",
    museLegendSignal: "green: signal quality",
    museLegendCalm: "blue: calm",
    museLegendFocus: "yellow: focus",
    museLegendStress: "red: stress",
    museLegendArtifacts: "orange: artifacts",
    museLegendMeta: "text: battery and latency",
    eegSpectrumLegendAria: "EEG spectrum colour index",
    eegSpectrumLegendLow: "blue: low power",
    eegSpectrumLegendMid: "green/yellow: medium power",
    eegSpectrumLegendHigh: "red: high power peak",
    eegSpectrumLegendDepth: "depth: recent time windows",
    eegSpectrumLegendAxis: "x-axis: auto zoom",
    museCurrentState: "Current state",
    museHeartRate: "Heart rate",
    museBreathingRate: "Breathing",
    museDominantFrequency: "Dominant freq.",
    museEntrainmentMatch: "Entrainment match",
    museHemisphereBalance: "Left/right activity",
    museHemisphereBalanced: "Balanced",
    museHemisphereLeft: "Left active",
    museHemisphereRight: "Right active",
    museHemispherePending: "Pending",
    museStateFocus: "Focus",
    museStateRelaxation: "Relaxation",
    museStateCognitiveLoad: "Cognitive load",
    museStateRecovery: "Recovery",
    museStateStress: "Stress",
    museStateMentalFatigue: "Mental fatigue",
    eegSpectrumTitle: "3D EEG Spectrum Waterfall",
    showEegSpectrum: "3D EEG",
    showRingView: "Rings",
    settings: "Settings", fixtureChannels: "Fixture & DMX", language: "Language",
    dmxOutputType: "DMX output",
    dmxController: "DMX controller", controller: "Controller",
    presenter: "Presenter", shortcutFunctions: "Shortcut functions",
    userManual: "NeuroSync Pro user manual", userManualAria: "Open the NeuroSync Pro user manual",
    userManualUrl: "https://neurosyncpro.eu/blog/category/user-manual/",
    facebookGroup: "NeuroSync Pro Facebook group", facebookGroupAria: "Open the NeuroSync Pro Facebook group",
    whatsappChannel: "NeuroSync Pro WhatsApp channel", whatsappChannelAria: "Open the NeuroSync Pro WhatsApp channel",
    presenterPlayButton: "Presenter Play/Next", presenterBlackoutButton: "Presenter Blackout/B",
    keyboardA: "Keyboard A", keyboardB: "Keyboard B",
    toggleBreathing: "Toggle breathing coaching", toggleBlackout: "Toggle blackout",
    device: "Device", startAddress: "Start address", whiteDimmer: "White dimmer", whiteStrobe: "White strobe",
    whiteDuration: "White flash duration", red: "Red", green: "Green", blue: "Blue",
    hueCorrection: "Hue correction", saturation: "Saturation", ipAddress: "IP address",
    rgbDimmer: "RGB dimmer", rgbStrobe: "RGB strobe", universe: "Universe"
  },
  nl: {
    light: "Licht", testArtnet: "Test Art-Net", testDmx: "Test DMX", outputActive: "Output actief", dmxControls: "DMX bediening",
    controlTabsAria: "Bedieningspaneel onderdelen",
    controlTabSessions: "Sessies",
    controlTabMusic: "Muziek",
    controlTabAudio: "Audio",
    controlTabPulse: "Pulse",
    controlTabLight: "Licht",
    controlTabMuse: "Muse",
    controlTabSettings: "Instellingen",
    museControlHint: "Baseline en adaptieve instellingen zijn beschikbaar zodra Muse S Athena actief is.",
    findMuse: "Zoek Muse",
    sessions: "Sessies", category: "Categorie", subcategory: "Subcategorie", allSubcategories: "Alle subcategorieën", noSubcategory: "Geen subcategorie", searchSessions: "Sessies zoeken", searchSessionsPlaceholder: "Zoek op titel, doel of fase", stop: "Stop",
    sessionSearchResults: "{count} van {total} sessies",
    sessionSearchNoResults: "Geen sessies gevonden",
    askAi: "Ask AI",
    askAiEyebrow: "Sessie-aanbeveling",
    askAiTitle: "Ask AI",
    askAiQuestion: "Waar wil je ondersteuning bij?",
    askAiPlaceholder: "Voorbeeld: ik zoek een rustige sessie om vanavond beter te slapen.",
    askAiNote: "AI stelt bestaande sessies uit je bibliotheek voor. Dit is geen medisch advies.",
    askAiFind: "Sessie zoeken",
    askAiEmpty: "Vul eerst een doel of vraag in.",
    askAiThinking: "Je sessiebibliotheek wordt doorzocht...",
    askAiLocalMode: "NeuroSync Match-aanbevelingen weergegeven.",
    askAiHybridMode: "AI-gerangschikte aanbevelingen weergegeven.",
    askAiFallbackMode: "AI is niet beschikbaar, lokale aanbevelingen weergegeven.",
    askAiNoResults: "Geen passende sessies gevonden. Probeer een eenvoudiger doel.",
    askAiSelect: "Selecteer",
    askAiBestMatch: "Beste match",
    askAiOpenAiMode: "OpenAI-gerangschikte aanbevelingen weergegeven.",
    askAiSourceOpenAi: "Bron: OpenAI",
    askAiSourceInternal: "Bron: NeuroSync Match",
    askAiSourceHybrid: "Bron: AI-webhook",
    askAiSourceFallback: "Bron: interne fallback",
    sessionDescriptionButton: "Sessie omschrijving",
    sessionDescriptionEyebrow: "AI sessie-uitleg",
    sessionDescriptionTitle: "Sessie omschrijving",
    sessionDescriptionIntro: "ChatGPT maakt een uitgebreide uitleg van de geselecteerde sessie op basis van de sessiedata.",
    sessionDescriptionThinking: "Uitgebreide sessie-uitleg wordt gegenereerd...",
    sessionDescriptionUnavailable: "Vul eerst je OpenAI API-key in en sla deze op.",
    sessionDescriptionError: "De sessie-uitleg kon niet worden gegenereerd.",
    openAiApiKey: "OpenAI API-key",
    openAiApiKeyPlaceholder: "sk-...",
    openAiApiKeyHint: "Wordt lokaal op dit apparaat opgeslagen en alleen gebruikt voor Ask AI sessie-aanbevelingen en AI sessieomschrijvingen.",
    saveApiKey: "Key opslaan",
    clearApiKey: "Wissen",
    apiKeySaved: "OpenAI API-key lokaal opgeslagen.",
    apiKeyCleared: "OpenAI API-key verwijderd.",
    apiKeyConfigured: "OpenAI API-key ingesteld.",
    apiKeyNotConfigured: "Geen OpenAI API-key ingesteld.",
    affiliateTitle: "Affiliate & commissie",
    affiliateIdle: "Laad je affiliategegevens.",
    affiliateLoading: "Affiliategegevens laden...",
    affiliateReady: "Je affiliategegevens zijn geladen.",
    affiliateLoadFailed: "Affiliategegevens konden niet worden geladen. Waarschijnlijk is je order verwerkt voordat affiliategegevens beschikbaar waren.",
    affiliateEmail: "Affiliate e-mailadres",
    affiliateEmailPlaceholder: "naam@voorbeeld.nl",
    affiliateLinkCopied: "Affiliate-link gekopieerd.",
    affiliateCopyFallback: "Kopieer je affiliate-link:",
    loadAffiliateDetails: "Affiliategegevens laden",
    affiliateTermsInfo: "Bekijk de affiliatevoorwaarden op de NeuroSync Pro website",
    affiliateTermsUrl: "https://neurosyncpro.eu/affiliate-voorwaarden/",
    copyAffiliateLink: "Kopieer link",
    affiliateCode: "Code",
    affiliateApproved: "Goedgekeurd",
    affiliatePaid: "Betaald",
    affiliateMinimum: "Minimum uitbetaling",
    affiliatePayable: "Uitbetaalbaar",
    controlStatusIconsAria: "Actieve functies",
    statusIconVr: "Smartphone Light actief",
    statusIconBinaural: "Binaural Beats actief",
    statusIconRemote: "Smart Remote actief",
    statusIconMuse: "Muse S actief",
    statusIconDmx: "DMX lichtbalk actief",
    newSession: "Nieuwe sessie", duplicate: "Dupliceren", edit: "Bewerken", share: "Exporteren", import: "Importeren", delete: "Verwijderen",
    marketplace: "Neural Exchange™", marketplaceBeta: "Neural Exchange™ bèta", searchPrograms: "Programma's zoeken",
    marketplaceIntro: "Ontdek en installeer programma's voor NeuroSync Pro.",
    allCategories: "Alle categorieën", install: "Installeren", installed: "Geïnstalleerd", buy: "Kopen", free: "Gratis", by: "door",
    marketplaceEmpty: "Geen programma's gevonden.", marketplaceLoadError: "De Neural Exchange™ kon niet worden geladen.",
    marketplaceInstalled: "Programma geïnstalleerd.", purchaseUnavailable: "De checkout is nog niet geconfigureerd.",
    guidedSessionsLocked: "Begeleide sessies kunnen alleen door NeuroSync worden gepubliceerd en kunnen niet worden bewerkt, gedupliceerd of geëxporteerd.",
    publishSession: "Publiceer jouw sessie", creatorSubmission: "Inzending van maker", session: "Sessie",
    submissionIntro: "Je sessie wordt eerst ter beoordeling ingestuurd voordat hij in de Neural Exchange™ verschijnt.",
    creatorName: "Naam van maker", creatorEmail: "E-mailadres", listingSummary: "Omschrijving voor de Neural Exchange™",
    listingPrice: "Prijs", creatorShare: "Aandeel maker (%)",
    publisherCode: "Uitgeverscode", submitForReview: "Insturen ter beoordeling",
    copyLightToAudioFrequencies: "Audio = licht",
    pasteCode: "Plakken", codePasted: "Uitgeverscode geplakt.", codePasteFailed: "Het klembord kon niet worden gelezen.",
    publisherCodeHint: "Plak de code; meegekopieerde prefixes, aanhalingstekens en onzichtbare spaties worden automatisch verwijderd.",
    submissionConsent: "Ik bevestig dat ik deze sessie heb gemaakt en de inhoud mag verspreiden.",
    creatorTermsConsent: "Ik ga akkoord met de voorwaarden voor makers van Neural Exchange™.",
    creatorTermsConsentPrefix: "Ik ga akkoord met de",
    creatorTermsConsentLink: "voorwaarden voor makers van Neural Exchange™",
    creatorTermsConsentSuffix: ".",
    creatorTermsUrl: "https://neurosyncpro.eu/neural-exchange-voorwaarden/",
    submissionUnavailable: "Uploads zijn nog niet geconfigureerd.", submissionSent: "Sessie is ingestuurd ter beoordeling voor de Neural Exchange™.",
    submissionFailed: "De sessie kon niet worden ingestuurd.", noCustomSessions: "Maak eerst een eigen sessie om te publiceren.",
    submissionInvalidCode: "De uitgeverscode is onjuist.",
    submissionInvalidData: "De sessie of gegevens van de maker zijn ongeldig.",
    submissionInvalidEmail: "Vul een volledig e-mailadres in, bijvoorbeeld naam@voorbeeld.nl.",
    submissionMissingCreatorName: "Vul de naam van de maker in.",
    submissionMissingSummary: "Vul een omschrijving voor de Neural Exchange™ in.",
    submissionMissingCode: "Vul of plak de uitgeverscode.",
    submissionMissingConsent: "Bevestig dat je de sessie hebt gemaakt en de inhoud mag verspreiden.",
    submissionMissingTerms: "Accepteer de voorwaarden voor makers van Neural Exchange™.",
    submissionInvalidPrice: "Vul een geldige prijs in van 0 tot 999.",
    submissionInvalidSession: "Deze sessie kan niet worden ingestuurd. Open hem in de Neural State Studio™, controleer titel, doel, categorie en tijdlijn en sla hem opnieuw op.",
    submissionInvalidFormat: "De app heeft een ongeldige inzending gemaakt. Herstart NeuroSync Pro en probeer opnieuw.",
    submissionInvalidLocalPayload: "Een van deze velden is onvolledig: naam maker, volledig e-mailadres, omschrijving, sessietitel, doel, categorie of tijdlijn.",
    submissionServiceError: "Bunny Storage is tijdelijk niet beschikbaar.",
    submissionNetworkError: "De Neural Exchange™-service kon niet worden bereikt.",
    close: "Sluiten", name: "Naam", sessionGoal: "Doel of beschrijving", carrierFrequency: "Draaggolffrequentie",
    musicCrossfade: "Crossfade muziek (sec.)", colorCrossfade: "Kleur crossfade (sec.)", phases: "Fasen", phaseLimit: "Voeg maximaal 12 fasen toe.",
    addPhase: "Fase toevoegen", cancel: "Annuleren", saveSession: "Sessie opslaan",
    breathingCoaching: "Ademcoaching", disableWhiteBar: "Witte flashbalk uitschakelen", sessionsOnly: "Alleen tijdens sessies",
    adaptiveSession: "Adaptieve optimalisatie",
    adaptiveGoal: "Doel",
    adaptiveGoalOff: "Uitgeschakeld",
    adaptiveGoalAuto: "Automatisch op sessieprofiel",
    adaptiveGoalCalmRegulation: "Rust & regulatie",
    adaptiveGoalSleepRecovery: "Slaap & herstel",
    adaptiveGoalFocusCognition: "Focus & cognitie",
    adaptiveGoalEnergyActivation: "Energie & activatie",
    adaptiveGoalEmotionalBalance: "Emotionele balans",
    adaptiveGoalHeartCoherence: "Hartcoherentie",
    adaptiveGoalPhysicalRecovery: "Fysiek herstel",
    adaptiveGoalCreativeFlow: "Creatieve flow",
    adaptiveGoalHypnoticTrance: "Hypnotische trance",
    adaptiveGoalMeditativeSpiritual: "Meditatief & spiritueel",
    adaptiveGoalPerformanceSports: "Prestatie & sport",
    adaptiveGoalGentleSupport: "Zachte ondersteuning",
    adaptiveMuseRequired: "Beschikbaar zodra Muse S Athena live is.",
    adaptiveSessionDisabled: "Adaptieve optimalisatie uitgeschakeld.",
    adaptiveSessionReady: "Adaptief doel: {goal}. Een baseline wordt automatisch gebruikt.",
    adaptiveSessionActive: "Adaptieve optimalisatie actief: {goal}",
    adaptiveSessionHold: "Adaptief wachten: signaalkwaliteit verbeteren",
    adaptiveSessionSoftening: "Adaptief verzachten: stress of artefacten stijgen",
    adaptiveSessionDeepening: "Adaptief verdiepen: rust neemt toe",
    adaptiveSessionStable: "Adaptief stabiel: sessie blijft herkenbaar",
    activePhase: "Actieve fase", frequencyProgression: "Frequentieverloop licht en audio",
    intensityProgression: "Intensiteitsverloop leds en volumeverloop audio",
    activeMusicCategory: "Actieve muziekcategorie", music: "Muziek", nowPlaying: "Nu afgespeeld",
    makeAnalysis: "Analyse maken",
    buyAnalysisCredits: "Credits kopen",
    analysisCreditsLoading: "Analysecredits: --",
    analysisCreditsStatus: "Analysecredits: {credits}",
    analysisCreditsUnavailable: "Analysecredits niet beschikbaar",
    analysisCreditsRequired: "Je hebt 1 analysecredit nodig om een rapport te maken.",
    analysisCreditsNoLicense: "Activeer je licentie voordat je analysecredits gebruikt.",
    analysisCreditsRefreshFailed: "Analysecredits konden niet worden vernieuwd.",
    showAnalysisButton: "AI-analyseknop tonen",
    analysisUnavailable: "Beschikbaar zodra sessiedata is gemeten.",
    analysisReady: "Sessiedata gereed voor analyse.",
    analysisCollecting: "Sessiedata wordt gemeten...",
    analysisWaitForEnd: "Beschikbaar nadat de sessie is afgelopen.",
    analysisRunning: "Analyseverzoek wordt verzonden...",
    analysisStarted: "Analyse gestart. Wachten op het rapport...",
    analysisPending: "Analyse wordt nog gemaakt...",
    analysisTimeout: "De analyse duurt langer dan verwacht. Probeer het zo opnieuw.",
    analysisFailed: "De analyse kon niet worden gemaakt.",
    analysisNotConfigured: "AI-analyse is nog niet gekoppeld.",
    analysisAcceptedNoReport: "De analyseservice heeft het verzoek geaccepteerd, maar nog geen rapport teruggestuurd.",
    analysisIncomplete: "Het rapport is mogelijk onvolledig. De analyseservice heeft de verwachte eindmarkering niet teruggestuurd.",
    showAnalysisReport: "Rapport tonen",
    analysisEyebrow: "AI-analyse",
    analysisTitle: "AI-analyserapport",
    analysisIntro: "Het AI-rapport is klaar om af te drukken.",
    printAnalysisReport: "Rapport printen",
    coreMusicLibrary: "Vaste muziekbibliotheek", musicLibraryNotInstalled: "Niet geïnstalleerd",
    installMusicLibrary: "Bibliotheek installeren", replaceMusicLibrary: "Bibliotheek vervangen",
    musicPosition: "Muziekpositie", previous: "Vorige", next: "Volgende", musicVolume: "Muziekvolume",
    musicCategory: "Muziekcategorie", addToCategory: "Toevoegen aan categorie", addMusicFiles: "Tracks toevoegen",
    customMusicCategory: "Categorie voor eigen muziek", frequency: "Frequentie", frequencyPresets: "Frequentie presets",
    alertness: "Alertheid", relaxation: "Ontspanning", deepTrance: "Diepe trance", sleep: "Slaap",
    frequencyBands: "Frequentiegebieden", mode: "Modus", pulseShape: "Pulsevorm", solfeggioTone: "Solfeggio toon",
    volume: "Volume", noiseLayer: "Ruislaag", noiseVolume: "Ruisvolume", lighting: "Verlichting", smartphoneLight: "Smartphone Light", whiteFlashBar: "Witte flashbalk", rgbColor: "RGB-kleur", screenLightIntensity: "Intensiteit", screenLightBoost: "Smartphone versterking",
    masterVolume: "Mastervolume", pulseVolume: "Pulsevolume", balance: "Balans", equalizer: "Equalizer", equalizerReset: "Reset EQ",
    audioVisualization: "Grafische weergave van audio-instellingen",
    spatialReverb: "Ruimtelijke galm", spatialReverbHint: "Voegt ruimtediepte toe aan muziek en ruislagen.",
    reverbPreset: "Galm preset", reverbMix: "Galm mix", reverbDecay: "Uitklank", reverbPreDelay: "Pre-delay",
    bass: "Bass", mid: "Midden", treble: "Hoog",
    auroraMode: "Aurora Immersion™-modus", auroraPreset: "Aurora Immersion™ intensiteit",
    auroraSpeed: "Aurora Immersion™ snelheid", auroraDepth: "Aurora Immersion™ diepte",
    auroraHint: "Langzame noorderlichtachtige kleurdrift; RGB-puls blijft actief wanneer de sessie dit gebruikt.",
    ganzfeldMode: "Infinity Ganzfeld™-modus",
    ganzfeldHint: "Continu, egaal RGB-licht zonder pulsen of witte flitsen.",
    showMuseMonitor: "Muse S-monitorgegevens tonen",
    connectMuse: "Muse verbinden",
    remoteControl: "Smart Remote",
    remoteLoading: "Link wordt gemaakt...",
    remoteReady: "Scan met een smartphone op hetzelfde wifi-netwerk.",
    remoteUnavailable: "Remote-link niet beschikbaar.",
    remoteQrAlt: "QR-code voor Smart Remote",
    copyRemoteLink: "Kopieer link",
    remoteLinkCopied: "Link gekopieerd.",
    screenLightControl: "Smartphone Light",
    screenLightLoading: "QR-code wordt gemaakt...",
    screenLightReady: "Scan met een smartphone en start volledig scherm.",
    screenLightUnavailable: "Smartphone Light niet beschikbaar.",
    screenLightQrAlt: "QR-code voor Smartphone Light",
    screenLightPreparationPhase: "Smartphone voorbereiden",
    screenLightPreparationPurpose: "Plaats de smartphone in de VR-adapter. De sessie start automatisch zodra de teller op nul staat.",
    screenLightPreparationStatus: "Smartphone Light voorbereiding",
    screenLightPreparationButton: "Start over {seconds}s",
    screenLightPreparationCancelled: "Smartphone Light voorbereiding geannuleerd.",
    museSignal: "Signaal", museCalm: "Rust", museFocus: "Focus", museArtifacts: "Artefacten",
    museBattery: "Batterij", museLatency: "Latency",
    museLegendAria: "Index voor Muse-monitor",
    museLegendSignal: "groen: signaalkwaliteit",
    museLegendCalm: "blauw: rust",
    museLegendFocus: "geel: focus",
    museLegendStress: "rood: stress",
    museLegendArtifacts: "oranje: artefacten",
    museLegendMeta: "tekst: batterij en latency",
    eegSpectrumLegendAria: "Kleurindex voor EEG-spectrum",
    eegSpectrumLegendLow: "blauw: lage power",
    eegSpectrumLegendMid: "groen/geel: gemiddelde power",
    eegSpectrumLegendHigh: "rood: hoge power-piek",
    eegSpectrumLegendDepth: "diepte: recente tijdvensters",
    eegSpectrumLegendAxis: "x-as: automatische zoom",
    museCurrentState: "Huidige staat",
    museHeartRate: "Hartslag",
    museBreathingRate: "Ademhaling",
    museDominantFrequency: "Dominante freq.",
    museEntrainmentMatch: "Entrainment match",
    museHemisphereBalance: "Links/rechts activiteit",
    museHemisphereBalanced: "In balans",
    museHemisphereLeft: "Links actiever",
    museHemisphereRight: "Rechts actiever",
    museHemispherePending: "Wacht",
    museStateFocus: "Focus",
    museStateRelaxation: "Relaxatie",
    museStateCognitiveLoad: "Cognitieve load",
    museStateRecovery: "Recovery",
    museStateStress: "Stress",
    museStateMentalFatigue: "Mental fatigue",
    eegSpectrumTitle: "3D EEG Spectrum Waterfall",
    showEegSpectrum: "3D EEG",
    showRingView: "Cirkels",
    settings: "Instellingen", fixtureChannels: "Armatuur & DMX", language: "Taal",
    dmxOutputType: "DMX-output",
    dmxController: "DMX-controller", controller: "Controller",
    presenter: "Presenter", shortcutFunctions: "Functies van sneltoetsen",
    userManual: "NeuroSync Pro gebruikershandleiding", userManualAria: "Open de NeuroSync Pro gebruikershandleiding",
    userManualUrl: "https://neurosyncpro.eu/blog/category/user-manual/?lang=nl",
    facebookGroup: "NeuroSync Pro Facebook-groep", facebookGroupAria: "Open de NeuroSync Pro Facebook-groep",
    whatsappChannel: "NeuroSync Pro WhatsApp-kanaal", whatsappChannelAria: "Open het NeuroSync Pro WhatsApp-kanaal",
    presenterPlayButton: "Presenter Play/Volgende", presenterBlackoutButton: "Presenter Blackout/B",
    keyboardA: "Toetsenbord A", keyboardB: "Toetsenbord B",
    toggleBreathing: "Ademcoaching aan/uit", toggleBlackout: "Blackout aan/uit",
    device: "Apparaat", startAddress: "Startadres", whiteDimmer: "Witte dimmer", whiteStrobe: "Witte strobe",
    whiteDuration: "Witte flitsduur", red: "Rood", green: "Groen", blue: "Blauw",
    hueCorrection: "Kleurtooncorrectie", saturation: "Verzadiging", ipAddress: "IP-adres",
    rgbDimmer: "RGB dimmer", rgbStrobe: "RGB strobe", universe: "Universe"
  }
};
function t(key) {
  return TRANSLATIONS[currentLanguage]?.[key] || TRANSLATIONS.en[key] || key;
}
function tf(key, values = {}) {
  return Object.entries(values).reduce(
    (text, [name, value]) => text.replaceAll(`{${name}}`, String(value)),
    t(key)
  );
}
const USER_SESSION_CATEGORY_ID = "eigen-sessies";
const MARKETPLACE_SESSION_CATEGORY_ID = "marketplace-sessions";
const GUIDED_SESSION_CATEGORY_ID = "begeleide-sessies";
const SEARCH_RESULTS_SESSION_CATEGORY_ID = "__search-results";
const BASELINE_SESSION_CATEGORY_ID = "baseline";
const PRE_BASELINE_SESSION_IDS = new Set([
  "muse-s-athena-short-baseline-5",
  "muse-s-athena-baseline-13"
]);
const SESSION_CATEGORIES = [
  { id: USER_SESSION_CATEGORY_ID, nl: ["Eigen sessies", "Zelfgemaakte en geïmporteerde sessies"], en: ["Custom sessions", "Created and imported sessions"] },
  { id: MARKETPLACE_SESSION_CATEGORY_ID, nl: ["Neural Exchange™ sessies", "Geïnstalleerde sessies uit de Neural Exchange™"], en: ["Neural Exchange™ sessions", "Installed Neural Exchange™ sessions"] },
  { id: GUIDED_SESSION_CATEGORY_ID, nl: ["Begeleide sessies", "NeuroSync spraak-begeleide sessies met muziek en suggesties"], en: ["Guided sessions", "NeuroSync voice-guided sessions with music and suggestions"] },
  { id: "meditatie", nl: ["Meditatie", "Bewustzijn verdiepen en mindfulness"], en: ["Meditation", "Deepen awareness and mindfulness"] },
  { id: "hypnose", nl: ["Hypnose", "Trance, suggestibiliteit en therapie"], en: ["Hypnosis", "Trance, suggestibility and therapy"] },
  { id: "energie", nl: ["Energie", "Vitaliteit en activering"], en: ["Energy", "Vitality and activation"] },
  { id: "creativiteit", nl: ["Creativiteit", "Inspiratie, ideeën en flow"], en: ["Creativity", "Inspiration, ideas and flow"] },
  { id: "herstel-welzijn", nl: ["Herstel & Welzijn", "Burn-out, ontspanning en herstel"], en: ["Recovery & Well-being", "Burnout, relaxation and recovery"] }
];
const SESSION_SUBCATEGORIES = {
  energie: [
    { id: "morning-energy", en: "☀️ Morning Energy", nl: "☀️ Ochtendenergie" },
    { id: "mental-energy", en: "🧠 Mental Energy", nl: "🧠 Mentale energie" },
    { id: "physical-energy", en: "💪 Physical Energy", nl: "💪 Fysieke energie" },
    { id: "emotional-energy", en: "❤️ Emotional Energy", nl: "❤️ Emotionele energie" },
    { id: "recovery-recharge", en: "🌿 Recovery & Recharge", nl: "🌿 Herstel & opladen" },
    { id: "sports-energy", en: "🏃 Sports Energy", nl: "🏃 Sportenergie" },
    { id: "motivation", en: "🎯 Motivation", nl: "🎯 Motivatie" },
    { id: "healthy-aging", en: "👴 Healthy Aging", nl: "👴 Gezond ouder worden" },
    { id: "travel-jet-lag", en: "✈️ Travel & Jet Lag", nl: "✈️ Reizen & jetlag" },
    { id: "spiritual-energy", en: "🌌 Spiritual Energy", nl: "🌌 Spirituele energie" },
    { id: "biohacking", en: "⚡ Biohacking", nl: "⚡ Biohacking" }
  ],
  creativiteit: [
    { id: "creative-thinking", en: "💡 Creative Thinking", nl: "💡 Creatief denken" },
    { id: "arts-design", en: "🎨 Arts & Design", nl: "🎨 Kunst & design" },
    { id: "music-audio", en: "🎼 Music & Audio", nl: "🎼 Muziek & audio" },
    { id: "writing-storytelling", en: "✍️ Writing & Storytelling", nl: "✍️ Schrijven & storytelling" },
    { id: "business-innovation", en: "💼 Business Innovation", nl: "💼 Zakelijke innovatie" },
    { id: "problem-solving", en: "🧩 Problem Solving", nl: "🧩 Probleemoplossing" },
    { id: "flow-inspiration", en: "🌊 Flow & Inspiration", nl: "🌊 Flow & inspiratie" },
    { id: "imagination-intuition", en: "🔮 Imagination & Intuition", nl: "🔮 Verbeelding & intuïtie" },
    { id: "self-expression", en: "🌟 Self-Expression", nl: "🌟 Zelfexpressie" },
    { id: "learning-creative-performance", en: "🎓 Learning & Creative Performance", nl: "🎓 Leren & creatieve prestatie" }
  ],
  "herstel-welzijn": [
    { id: "sleep", en: "😴 Sleep", nl: "😴 Slaap" },
    { id: "stress-anxiety", en: "😟 Stress & Anxiety", nl: "😟 Stress & angst" },
    { id: "heart-coherence", en: "❤️ Heart Coherence", nl: "❤️ Hartcoherentie" },
    { id: "neurological-support", en: "🧠 Neurological Support", nl: "🧠 Neurologische ondersteuning" },
    { id: "musculoskeletal-support", en: "💪 Musculoskeletal Support", nl: "💪 Spier- en skelet ondersteuning" },
    { id: "cardiovascular-support", en: "❤️ Cardiovascular Support", nl: "❤️ Cardiovasculaire ondersteuning" },
    { id: "respiratory-support", en: "🫁 Respiratory Support", nl: "🫁 Ademhalingsondersteuning" },
    { id: "digestive-support", en: "🍽️ Digestive Support", nl: "🍽️ Spijsverteringsondersteuning" },
    { id: "immune-support", en: "🛡️ Immune Support", nl: "🛡️ Immuunondersteuning" },
    { id: "hormonal-endocrine-support", en: "⚖️ Hormonal & Endocrine Support", nl: "⚖️ Hormonale & endocriene ondersteuning" },
    { id: "womens-health", en: "👩 Women's Health", nl: "👩 Vrouwengezondheid" },
    { id: "mens-health", en: "👨 Men's Health", nl: "👨 Mannengezondheid" },
    { id: "pregnancy-parenthood", en: "👶 Pregnancy & Parenthood", nl: "👶 Zwangerschap & ouderschap" },
    { id: "healthy-aging", en: "👵 Healthy Aging", nl: "👵 Gezond ouder worden" },
    { id: "recovery-rehabilitation", en: "🌱 Recovery & Rehabilitation", nl: "🌱 Herstel & revalidatie" },
    { id: "functional-disorders", en: "🩺 SOLK / ALK / Functional Disorders", nl: "🩺 SOLK / ALK / functionele klachten" },
    { id: "oncology-support", en: "🎗️ Oncology Support (Supportive Care)", nl: "🎗️ Oncologische ondersteuning (supportive care)" },
    { id: "vision-eye-health", en: "👁️ Vision & Eye Health", nl: "👁️ Zicht & ooggezondheid" },
    { id: "hearing-tinnitus-support", en: "👂 Hearing & Tinnitus Support", nl: "👂 Gehoor & tinnitus ondersteuning" },
    { id: "oral-dental-health", en: "🦷 Oral & Dental Health", nl: "🦷 Mond- & tandgezondheid" },
    { id: "genetic-rare-disorders", en: "🧬 Genetic & Rare Disorders", nl: "🧬 Genetische & zeldzame aandoeningen" },
    { id: "child-development-pediatric-support", en: "🧒 Child Development & Pediatric Support", nl: "🧒 Kinderontwikkeling & pediatrische ondersteuning" },
    { id: "neurodevelopmental-disorders", en: "🧩 Neurodevelopmental Disorders", nl: "🧩 Neuro-ontwikkelingsstoornissen" },
    { id: "wound-healing-tissue-recovery", en: "🩹 Wound Healing & Tissue Recovery", nl: "🩹 Wondgenezing & weefselherstel" },
    { id: "pelvic-health", en: "🚺 Pelvic Health", nl: "🚺 Bekkengezondheid" },
    { id: "infectious-disease-recovery", en: "🌡️ Infectious Disease Recovery", nl: "🌡️ Herstel na infectieziekten" },
    { id: "pre-post-surgery-support", en: "🏥 Pre- & Post-Surgery Support", nl: "🏥 Ondersteuning voor en na operatie" },
    { id: "detox-lifestyle-support", en: "🧪 Detox & Lifestyle Support", nl: "🧪 Detox & leefstijlondersteuning" },
    { id: "environmental-sensitivity-support", en: "🌍 Environmental Sensitivity Support", nl: "🌍 Ondersteuning bij omgevingsgevoeligheid" },
    { id: "medication-treatment-support", en: "💊 Medication & Treatment Support", nl: "💊 Medicatie- & behandelondersteuning" },
    { id: "diagnostic-medical-procedure-support", en: "🩻 Diagnostic & Medical Procedure Support", nl: "🩻 Diagnostische & medische procedure ondersteuning" },
    { id: "mind-body-medicine", en: "🧘 Mind-Body Medicine", nl: "🧘 Mind-body geneeskunde" },
    { id: "integrative-health", en: "🌿 Integrative Health", nl: "🌿 Integratieve gezondheid" },
    { id: "caregiver-support", en: "🏡 Caregiver Support", nl: "🏡 Mantelzorgondersteuning" },
    { id: "chronic-illness-support", en: "🤝 Chronic Illness Support", nl: "🤝 Ondersteuning bij chronische ziekte" },
    { id: "general-wellness-prevention", en: "⚕️ General Wellness & Prevention", nl: "⚕️ Algemene wellness & preventie" }
  ]
};
function isSpecialSessionCategory(categoryId) {
  return categoryId === USER_SESSION_CATEGORY_ID
    || categoryId === MARKETPLACE_SESSION_CATEGORY_ID
    || categoryId === GUIDED_SESSION_CATEGORY_ID;
}
function isHiddenSessionCategory(categoryId) {
  return categoryId === BASELINE_SESSION_CATEGORY_ID;
}
function categoryText(category, index) {
  return (category?.[currentLanguage] || category?.en || ["", ""])[index] || "";
}
function sessionSubcategoryText(subcategory) {
  return subcategory?.[currentLanguage] || subcategory?.en || "";
}
function compareLocalizedText(a, b) {
  return String(a || "").localeCompare(String(b || ""), currentLanguage, {
    sensitivity: "base",
    numeric: true
  });
}
function sortableLocalizedLabel(text) {
  return String(text || "").replace(/^[^A-Za-zÀ-ÖØ-öø-ÿ0-9]+/g, "").trim();
}
function compareLocalizedLabels(a, b) {
  return compareLocalizedText(sortableLocalizedLabel(a), sortableLocalizedLabel(b));
}
const SESSION_CATEGORY_LOOKUP = new Map(SESSION_CATEGORIES.map((category) => [category.id, category]));
const SESSION_SUBCATEGORY_LOOKUP = new Map(
  Object.entries(SESSION_SUBCATEGORIES).flatMap(([categoryId, subcategories]) => (
    subcategories.map((subcategory) => [`${categoryId}:${subcategory.id}`, subcategory])
  ))
);
const sessionSubcategorySortCache = new Map();

function editableSessionCategories() {
  return SESSION_CATEGORIES
    .filter((category) => !isSpecialSessionCategory(category.id) && !isHiddenSessionCategory(category.id))
    .sort((a, b) => compareLocalizedLabels(categoryText(a, 0), categoryText(b, 0)));
}
function sessionSubcategoriesForCategory(categoryId) {
  const cacheKey = `${currentLanguage}:${categoryId}`;
  const cached = sessionSubcategorySortCache.get(cacheKey);
  if (cached) return cached;
  const sorted = [...(SESSION_SUBCATEGORIES[categoryId] || [])]
    .sort((a, b) => compareLocalizedLabels(sessionSubcategoryText(a), sessionSubcategoryText(b)));
  sessionSubcategorySortCache.set(cacheKey, sorted);
  return sorted;
}
function sessionSubcategoryById(categoryId, subcategoryId) {
  return SESSION_SUBCATEGORY_LOOKUP.get(`${categoryId}:${subcategoryId}`);
}
function validSessionSubcategory(categoryId, subcategoryId) {
  const id = String(subcategoryId || "");
  return sessionSubcategoryById(categoryId, id) ? id : "";
}
const MUSIC_LIBRARY_CATEGORIES = [
  "Ambient",
  "Cinematic Ambient",
  "Drone",
  "Soft Soundscapes",
  "Theta Soundscape",
  "Uplifting Electronic Ambient"
];
const ARTNET_CONTROLLERS = {
  "artnet-dmx2": {
    defaultIp: "2.51.250.91",
    defaultUniverse: 0,
    help: {
      nl: "Zet de ArtNet-DMX2 op NODE/output, kies hetzelfde universe en vul hierboven het IP-adres van het apparaat in.",
      en: "Set the ArtNet-DMX2 to NODE/output, select the same universe, and enter the device IP address above."
    }
  },
  "chauvet-dmx-an2": {
    defaultIp: "2.0.0.1",
    defaultUniverse: 0,
    help: {
      nl: "Zet de DMX-AN2-poort op Art-Net output en gebruik hetzelfde universe als hierboven.",
      en: "Set the DMX-AN2 port to Art-Net output and use the same universe shown above."
    }
  }
};


const sessionPrograms = {
  "muse-s-athena-short-baseline-5": {
    title: "Korte Muse S Athena baseline",
    titleEn: "Short Muse S Athena Baseline",
    category: "baseline",
    subcategory: "",
    goal: "Een rustige nulmeting van vijf minuten met minimale stimulatie, bedoeld als referentie voor Muse S Athena analyse en adaptieve sessies.",
    goalEn: "A calm five-minute baseline with minimal stimulation, intended as a reference for Muse S Athena analysis and adaptive sessions.",
    marketplaceListingId: "",
    carrier: 432,
    musicCrossfadeSeconds: 0,
    colorCrossfadeSeconds: 20,
    durationSeconds: 300,
    audioMode: "binaural",
    sessionStructure: "timeline",
    requiresMuseSensorContact: true,
    baselineKind: "short",
    voiceScript: [
      {
        time: 1,
        audioSrc: "assets/baseline/short/nl/sensor-check.mp3",
        audioSrcEn: "assets/baseline/short/en/sensor-check.mp3",
        text: "Neem rustig plaats. Deze korte baseline meet je huidige staat voordat de sessie begint.",
        textEn: "Settle in comfortably. This short baseline measures your current state before the session begins."
      },
      {
        time: 60,
        audioSrc: "assets/baseline/short/nl/eyes-open.mp3",
        audioSrcEn: "assets/baseline/short/en/eyes-open.mp3",
        text: "Houd je ogen rustig open.",
        textEn: "Keep your eyes gently open."
      },
      {
        time: 120,
        audioSrc: "assets/baseline/short/nl/eyes-closed.mp3",
        audioSrcEn: "assets/baseline/short/en/eyes-closed.mp3",
        text: "Sluit nu rustig je ogen.",
        textEn: "Now gently close your eyes."
      },
      {
        time: 180,
        audioSrc: "assets/baseline/short/nl/breathing.mp3",
        audioSrcEn: "assets/baseline/short/en/breathing.mp3",
        text: "Blijf ontspannen zitten en adem natuurlijk. De Muse S Athena verzamelt nu referentiegegevens.",
        textEn: "Remain relaxed and breathe naturally. The Muse S Athena is now collecting reference data."
      },
      {
        time: 250,
        audioSrc: "assets/baseline/short/nl/closing.mp3",
        audioSrcEn: "assets/baseline/short/en/closing.mp3",
        text: "De baseline is bijna afgerond. Na deze meting start de gekozen sessie automatisch.",
        textEn: "The baseline is almost complete. After this measurement, the selected session will start automatically."
      }
    ],
    timeline: {
      version: 1,
      durationSeconds: 300,
      pulseShape: "sine",
      audioMode: "binaural",
      musicMood: "",
      noiseType: "none",
      reverbPreset: "none",
      ganzfeldMode: false,
      auroraMode: "off",
      auroraSpeed: 0.25,
      auroraDepth: 0,
      markers: [
        { time: 0, name: "Landen", nameEn: "Settle", purpose: "Start met minimale stimulatie en een rustige referentieconditie.", purposeEn: "Starts with minimal stimulation and a calm reference condition." },
        { time: 90, name: "Meten", nameEn: "Measure", purpose: "Verzamelt stabiele EEG-, rust- en aandachtsgegevens zonder extra activatie.", purposeEn: "Collects stable EEG, calm, and focus data without additional activation." },
        { time: 240, name: "Afronden", nameEn: "Close", purpose: "Rondt de nulmeting af en bereidt de overgang naar de gekozen sessie voor.", purposeEn: "Completes the baseline and prepares the transition into the selected session." },
        { time: 300, name: "Start sessie", nameEn: "Start session", purpose: "De hoofdsessie start automatisch na deze baseline.", purposeEn: "The main session starts automatically after this baseline." }
      ],
      curves: {
        frequency: [
          { time: 0, value: 7.83, musicMood: "", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" },
          { time: 150, value: 7.83, musicMood: "", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" },
          { time: 300, value: 7.83, musicMood: "", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: 0, musicMood: "", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: 150, value: 0, musicMood: "", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: 300, value: 0, musicMood: "", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [{ time: 0, value: 2 }, { time: 300, value: 2 }],
        white: [{ time: 0, value: 0 }, { time: 300, value: 0 }],
        pulseVolume: [{ time: 0, value: 0 }, { time: 300, value: 0 }],
        musicVolume: [{ time: 0, value: 0 }, { time: 300, value: 0 }],
        noiseVolume: [{ time: 0, value: 0 }, { time: 300, value: 0 }],
        reverbMix: [{ time: 0, value: 0 }, { time: 300, value: 0 }],
        reverbDecay: [{ time: 0, value: 0 }, { time: 300, value: 0 }],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.25, auroraDepth: 0 },
          { time: 300, value: "#1e293b", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.25, auroraDepth: 0 }
        ]
      }
    }
  },
  "muse-s-athena-baseline-13": {
    title: "Lange Muse S Athena baseline",
    titleEn: "Long Muse S Athena Baseline",
    category: "baseline",
    subcategory: "",
    goal: "Een uitgebreide nulmeting van dertien minuten met zeer lage stimulatie, bedoeld voor stabielere referentiewaarden bij analyse en adaptieve sessies.",
    goalEn: "An extended thirteen-minute baseline with very low stimulation, intended for more stable reference values during analysis and adaptive sessions.",
    marketplaceListingId: "",
    carrier: 432,
    musicCrossfadeSeconds: 0,
    colorCrossfadeSeconds: 30,
    durationSeconds: 780,
    audioMode: "binaural",
    sessionStructure: "timeline",
    requiresMuseSensorContact: true,
    baselineKind: "long",
    voiceScript: [
      {
        time: 1,
        audioSrc: "assets/baseline/long/nl/sensor-check.mp3",
        audioSrcEn: "assets/baseline/long/en/sensor-check.mp3",
        text: "Neem rustig plaats. Deze langere baseline bouwt een stabiele referentie op voordat de sessie begint.",
        textEn: "Settle in comfortably. This longer baseline builds a stable reference before the session begins."
      },
      {
        time: 120,
        audioSrc: "assets/baseline/long/nl/eyes-open.mp3",
        audioSrcEn: "assets/baseline/long/en/eyes-open.mp3",
        text: "Houd je ogen rustig open.",
        textEn: "Keep your eyes gently open."
      },
      {
        time: 240,
        audioSrc: "assets/baseline/long/nl/eyes-closed.mp3",
        audioSrcEn: "assets/baseline/long/en/eyes-closed.mp3",
        text: "Sluit nu rustig je ogen.",
        textEn: "Now gently close your eyes."
      },
      {
        time: 360,
        audioSrc: "assets/baseline/long/nl/breathing.mp3",
        audioSrcEn: "assets/baseline/long/en/breathing.mp3",
        text: "Laat de adem vanzelf verlopen. De Muse S Athena verzamelt nu rustige referentiegegevens.",
        textEn: "Let the breath move naturally. The Muse S Athena is now collecting calm reference data."
      },
      {
        time: 480,
        audioSrc: "assets/baseline/long/nl/mental-task.mp3",
        audioSrcEn: "assets/baseline/long/en/mental-task.mp3",
        text: "Blijf zo ontspannen mogelijk zitten. De meting helpt om de latere sessierespons beter te vergelijken.",
        textEn: "Remain as relaxed as possible. This measurement helps compare the later session response more clearly."
      },
      {
        time: 600,
        audioSrc: "assets/baseline/long/nl/recovery.mp3",
        audioSrcEn: "assets/baseline/long/en/recovery.mp3",
        text: "Keer rustig terug naar ontspanning.",
        textEn: "Gently return to relaxation."
      },
      {
        time: 720,
        audioSrc: "assets/baseline/long/nl/closing.mp3",
        audioSrcEn: "assets/baseline/long/en/closing.mp3",
        text: "De baseline is bijna afgerond. De gekozen sessie start straks automatisch.",
        textEn: "The baseline is almost complete. The selected session will start automatically shortly."
      }
    ],
    timeline: {
      version: 1,
      durationSeconds: 780,
      pulseShape: "sine",
      audioMode: "binaural",
      musicMood: "",
      noiseType: "none",
      reverbPreset: "none",
      ganzfeldMode: false,
      auroraMode: "off",
      auroraSpeed: 0.25,
      auroraDepth: 0,
      markers: [
        { time: 0, name: "Landen", nameEn: "Settle", purpose: "Start met minimale stimulatie en een stille meetomgeving.", purposeEn: "Starts with minimal stimulation and a quiet measurement environment." },
        { time: 180, name: "Stabiliseren", nameEn: "Stabilize", purpose: "Geeft het systeem tijd om te stabiliseren voor een bruikbare referentie.", purposeEn: "Gives the system time to stabilize for a useful reference." },
        { time: 420, name: "Referentie", nameEn: "Reference", purpose: "Verzamelt langere EEG-, rust-, focus- en sensorwaarden voor analyse.", purposeEn: "Collects longer EEG, calm, focus, and sensor values for analysis." },
        { time: 700, name: "Overgang", nameEn: "Transition", purpose: "Bereidt een zachte overgang naar de gekozen sessie voor.", purposeEn: "Prepares a gentle transition into the selected session." },
        { time: 780, name: "Start sessie", nameEn: "Start session", purpose: "De hoofdsessie start automatisch na deze baseline.", purposeEn: "The main session starts automatically after this baseline." }
      ],
      curves: {
        frequency: [
          { time: 0, value: 7.83, musicMood: "", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" },
          { time: 390, value: 7.83, musicMood: "", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" },
          { time: 780, value: 7.83, musicMood: "", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: 0, musicMood: "", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: 390, value: 0, musicMood: "", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: 780, value: 0, musicMood: "", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [{ time: 0, value: 2 }, { time: 780, value: 2 }],
        white: [{ time: 0, value: 0 }, { time: 780, value: 0 }],
        pulseVolume: [{ time: 0, value: 0 }, { time: 780, value: 0 }],
        musicVolume: [{ time: 0, value: 0 }, { time: 780, value: 0 }],
        noiseVolume: [{ time: 0, value: 0 }, { time: 780, value: 0 }],
        reverbMix: [{ time: 0, value: 0 }, { time: 780, value: 0 }],
        reverbDecay: [{ time: 0, value: 0 }, { time: 780, value: 0 }],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.25, auroraDepth: 0 },
          { time: 780, value: "#1e293b", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.25, auroraDepth: 0 }
        ]
      }
    }
  },
  "alzheimers-gamma-support": {
    "title": "Alzheimer Gamma-ondersteuning (Fysiek)",
    "titleEn": "Alzheimer's Gamma Support (Physical)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van heldere aandacht, cognitieve frisheid, rustige orientatie, geheugenvriendelijke alertheid en geintegreerde gamma-activatie.",
    "goalEn": "Designed to support clear attention, cognitive brightness, calm orientation, memory-friendly alertness, and integrated gamma activation.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention and prepares the system for clean cognitive activation.",
          "purposeEn": "Settles attention and prepares the system for clean cognitive activation."
        },
        {
          "time": 240,
          "name": "Alpha Orientation",
          "nameEn": "Alpha Orientation",
          "purpose": "Builds relaxed alertness and stable sensory clarity.",
          "purposeEn": "Builds relaxed alertness and stable sensory clarity."
        },
        {
          "time": 600,
          "name": "Beta Clarity Build",
          "nameEn": "Beta Clarity Build",
          "purpose": "Activates focused awareness with controlled energy and mental organization.",
          "purposeEn": "Activates focused awareness with controlled energy and mental organization."
        },
        {
          "time": 960,
          "name": "Gamma Support Plateau One",
          "nameEn": "Gamma Support Plateau One",
          "purpose": "Introduces a bright gamma-like entrainment field with steady visual and auditory definition.",
          "purposeEn": "Introduces a bright gamma-like entrainment field with steady visual and auditory definition."
        },
        {
          "time": 1320,
          "name": "Recovery Integration",
          "nameEn": "Recovery Integration",
          "purpose": "Allows the nervous system to integrate the activation through alpha-theta spaciousness.",
          "purposeEn": "Allows the nervous system to integrate the activation through alpha-theta spaciousness."
        },
        {
          "time": 1620,
          "name": "Gamma Support Plateau Two",
          "nameEn": "Gamma Support Plateau Two",
          "purpose": "Re-engages cognitive brightness with a stronger but controlled gamma-oriented pulse profile.",
          "purposeEn": "Re-engages cognitive brightness with a stronger but controlled gamma-oriented pulse profile."
        },
        {
          "time": 2040,
          "name": "Clear Integration",
          "nameEn": "Clear Integration",
          "purpose": "Brings the mind back toward calm alpha focus and organized presence.",
          "purposeEn": "Brings the mind back toward calm alpha focus and organized presence."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session grounded, clear, and mentally refreshed.",
          "purposeEn": "Completes the session grounded, clear, and mentally refreshed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 15,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 18,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 32,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 38,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 40,
            "lightPulseShape": "square"
          },
          {
            "time": 1320,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1470,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 34,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 40,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 37,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 15,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 18,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 32,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 38,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 40,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1320,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1470,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 34,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 40,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 37,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 420,
            "value": 48
          },
          {
            "time": 600,
            "value": 46
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 960,
            "value": 34
          },
          {
            "time": 1080,
            "value": 32
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1320,
            "value": 56
          },
          {
            "time": 1470,
            "value": 66
          },
          {
            "time": 1620,
            "value": 38
          },
          {
            "time": 1740,
            "value": 32
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2040,
            "value": 50
          },
          {
            "time": 2220,
            "value": 38
          },
          {
            "time": 2400,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 420,
            "value": 22
          },
          {
            "time": 600,
            "value": 30
          },
          {
            "time": 780,
            "value": 36
          },
          {
            "time": 960,
            "value": 40
          },
          {
            "time": 1080,
            "value": 46
          },
          {
            "time": 1200,
            "value": 50
          },
          {
            "time": 1320,
            "value": 14
          },
          {
            "time": 1470,
            "value": 6
          },
          {
            "time": 1620,
            "value": 42
          },
          {
            "time": 1740,
            "value": 50
          },
          {
            "time": 1860,
            "value": 44
          },
          {
            "time": 2040,
            "value": 24
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2400,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 32
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 600,
            "value": 44
          },
          {
            "time": 780,
            "value": 50
          },
          {
            "time": 960,
            "value": 52
          },
          {
            "time": 1080,
            "value": 56
          },
          {
            "time": 1200,
            "value": 58
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1470,
            "value": 28
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1740,
            "value": 60
          },
          {
            "time": 1860,
            "value": 54
          },
          {
            "time": 2040,
            "value": 38
          },
          {
            "time": 2220,
            "value": 28
          },
          {
            "time": 2400,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 780,
            "value": 70
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1200,
            "value": 68
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1470,
            "value": 72
          },
          {
            "time": 1620,
            "value": 70
          },
          {
            "time": 1740,
            "value": 68
          },
          {
            "time": 1860,
            "value": 66
          },
          {
            "time": 2040,
            "value": 64
          },
          {
            "time": 2220,
            "value": 52
          },
          {
            "time": 2400,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1200,
            "value": 0
          },
          {
            "time": 1320,
            "value": 18
          },
          {
            "time": 1470,
            "value": 24
          },
          {
            "time": 1620,
            "value": 0
          },
          {
            "time": 1740,
            "value": 0
          },
          {
            "time": 1860,
            "value": 0
          },
          {
            "time": 2040,
            "value": 12
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 12
          },
          {
            "time": 780,
            "value": 10
          },
          {
            "time": 960,
            "value": 24
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1200,
            "value": 18
          },
          {
            "time": 1320,
            "value": 46
          },
          {
            "time": 1470,
            "value": 54
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1740,
            "value": 24
          },
          {
            "time": 1860,
            "value": 18
          },
          {
            "time": 2040,
            "value": 30
          },
          {
            "time": 2220,
            "value": 18
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 120,
            "value": 1.4
          },
          {
            "time": 240,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 2.8
          },
          {
            "time": 600,
            "value": 1.6
          },
          {
            "time": 780,
            "value": 1.3
          },
          {
            "time": 960,
            "value": 3.2
          },
          {
            "time": 1080,
            "value": 3.6
          },
          {
            "time": 1200,
            "value": 2
          },
          {
            "time": 1320,
            "value": 5.8
          },
          {
            "time": 1470,
            "value": 6.8
          },
          {
            "time": 1620,
            "value": 2.6
          },
          {
            "time": 1740,
            "value": 2.8
          },
          {
            "time": 1860,
            "value": 2
          },
          {
            "time": 2040,
            "value": 3.6
          },
          {
            "time": 2220,
            "value": 1.8
          },
          {
            "time": 2400,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#8ee6c8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 34
          },
          {
            "time": 600,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 22
          },
          {
            "time": 780,
            "value": "#ffb300",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.52,
            "auroraDepth": 18
          },
          {
            "time": 960,
            "value": "#fff176",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.3,
            "auroraDepth": 0
          },
          {
            "time": 1080,
            "value": "#e3f2fd",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.2,
            "auroraDepth": 0
          },
          {
            "time": 1200,
            "value": "#ffffff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.12,
            "auroraDepth": 0
          },
          {
            "time": 1320,
            "value": "#5b6cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 62
          },
          {
            "time": 1470,
            "value": "#7b4dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 70
          },
          {
            "time": 1620,
            "value": "#ffe082",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 18
          },
          {
            "time": 1740,
            "value": "#fff59d",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.24,
            "auroraDepth": 0
          },
          {
            "time": 1860,
            "value": "#e1f5fe",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.18,
            "auroraDepth": 0
          },
          {
            "time": 2040,
            "value": "#4dd0e1",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 36
          },
          {
            "time": 2220,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 18
          },
          {
            "time": 2400,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Uplifting Electronic Ambient",
      "Cinematic Ambient",
      "Theta Soundscape"
    ]
  },
  "alzheimers-prevention": {
    "title": "Alzheimerpreventie (Fysiek)",
    "titleEn": "Alzheimer's Prevention (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van cognitieve vitaliteit, rustige helderheid, emotionele stabiliteit, geheugenvriendelijke ontspanning en mentale veerkracht op lange termijn.",
    "goalEn": "Designed to support cognitive vitality, calm clarity, emotional steadiness, memory-friendly relaxation, and long-term mental resilience.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body, softens vigilance, and opens a calm attentional field.",
          "purposeEn": "Settles the body, softens vigilance, and opens a calm attentional field."
        },
        {
          "time": 300,
          "name": "Alpha Stabilization",
          "nameEn": "Alpha Stabilization",
          "purpose": "Builds relaxed alertness and steady cognitive presence.",
          "purposeEn": "Builds relaxed alertness and steady cognitive presence."
        },
        {
          "time": 780,
          "name": "Memory Garden",
          "nameEn": "Memory Garden",
          "purpose": "Guides the mind into imagery-rich theta with gentle clarity and emotional warmth.",
          "purposeEn": "Guides the mind into imagery-rich theta with gentle clarity and emotional warmth."
        },
        {
          "time": 1320,
          "name": "Deep Neuroplastic Plateau",
          "nameEn": "Deep Neuroplastic Plateau",
          "purpose": "Deepens inward absorption and supports restorative mental spaciousness.",
          "purposeEn": "Deepens inward absorption and supports restorative mental spaciousness."
        },
        {
          "time": 1980,
          "name": "Clear Integration",
          "nameEn": "Clear Integration",
          "purpose": "Returns toward alpha clarity while integrating calm focus and mental organization.",
          "purposeEn": "Returns toward alpha clarity while integrating calm focus and mental organization."
        },
        {
          "time": 2400,
          "name": "Bright Orientation",
          "nameEn": "Bright Orientation",
          "purpose": "Activates gentle alertness, confidence, and clean mental energy.",
          "purposeEn": "Activates gentle alertness, confidence, and clean mental energy."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with stable, grounded cognitive presence.",
          "purposeEn": "Completes the session with stable, grounded cognitive presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 5.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2190,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 12,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2550,
            "value": 11,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2190,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 12,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2550,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 150,
            "value": 34
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 540,
            "value": 58
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 1020,
            "value": 76
          },
          {
            "time": 1320,
            "value": 84
          },
          {
            "time": 1650,
            "value": 88
          },
          {
            "time": 1980,
            "value": 72
          },
          {
            "time": 2190,
            "value": 64
          },
          {
            "time": 2400,
            "value": 56
          },
          {
            "time": 2550,
            "value": 42
          },
          {
            "time": 2700,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 150,
            "value": 8
          },
          {
            "time": 300,
            "value": 14
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 780,
            "value": 10
          },
          {
            "time": 1020,
            "value": 6
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1650,
            "value": 0
          },
          {
            "time": 1980,
            "value": 12
          },
          {
            "time": 2190,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2550,
            "value": 18
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 36
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 1020,
            "value": 50
          },
          {
            "time": 1320,
            "value": 44
          },
          {
            "time": 1650,
            "value": 40
          },
          {
            "time": 1980,
            "value": 38
          },
          {
            "time": 2190,
            "value": 42
          },
          {
            "time": 2400,
            "value": 48
          },
          {
            "time": 2550,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 150,
            "value": 58
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1020,
            "value": 74
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1650,
            "value": 74
          },
          {
            "time": 1980,
            "value": 70
          },
          {
            "time": 2190,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2550,
            "value": 54
          },
          {
            "time": 2700,
            "value": 38
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 780,
            "value": 20
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1320,
            "value": 28
          },
          {
            "time": 1650,
            "value": 32
          },
          {
            "time": 1980,
            "value": 18
          },
          {
            "time": 2190,
            "value": 10
          },
          {
            "time": 2400,
            "value": 0
          },
          {
            "time": 2550,
            "value": 0
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 22
          },
          {
            "time": 540,
            "value": 28
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 1020,
            "value": 52
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1650,
            "value": 68
          },
          {
            "time": 1980,
            "value": 46
          },
          {
            "time": 2190,
            "value": 32
          },
          {
            "time": 2400,
            "value": 18
          },
          {
            "time": 2550,
            "value": 12
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 150,
            "value": 1.8
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 540,
            "value": 3.4
          },
          {
            "time": 780,
            "value": 5.6
          },
          {
            "time": 1020,
            "value": 6.8
          },
          {
            "time": 1320,
            "value": 8.6
          },
          {
            "time": 1650,
            "value": 9.2
          },
          {
            "time": 1980,
            "value": 5.4
          },
          {
            "time": 2190,
            "value": 3.6
          },
          {
            "time": 2400,
            "value": 2
          },
          {
            "time": 2550,
            "value": 1.4
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 540,
            "value": "#68e1b4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 40
          },
          {
            "time": 780,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 52
          },
          {
            "time": 1020,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 64
          },
          {
            "time": 1320,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 72
          },
          {
            "time": 1650,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1980,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2190,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 34
          },
          {
            "time": 2400,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.45,
            "auroraDepth": 24
          },
          {
            "time": 2550,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 16
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "boost-dhea": {
    "title": "DHEA versterken (Fysiek)",
    "titleEn": "Boost DHEA (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van veerkrachtige vitaliteit, evenwichtig herstel, zelfverzekerde rust, herstelbeelden rond de bijnieren en geintegreerde jeugdige energie.",
    "goalEn": "Designed to support resilient vitality, balanced recovery, confident calm, adrenal-style restoration imagery, and integrated youthful energy.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 26,
    "colorCrossfadeSeconds": 52,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm resilience field.",
          "purposeEn": "Settles the body and opens a calm resilience field."
        },
        {
          "time": 300,
          "name": "Adrenal Calm",
          "nameEn": "Adrenal Calm",
          "purpose": "Builds alpha stability, physical ease, and emotional steadiness.",
          "purposeEn": "Builds alpha stability, physical ease, and emotional steadiness."
        },
        {
          "time": 720,
          "name": "Restorative Descent",
          "nameEn": "Restorative Descent",
          "purpose": "Guides the system into theta recovery and renewal imagery.",
          "purposeEn": "Guides the system into theta recovery and renewal imagery."
        },
        {
          "time": 1260,
          "name": "Resilience Plateau",
          "nameEn": "Resilience Plateau",
          "purpose": "Creates an immersive field for deep balance, regeneration, and inner reserve.",
          "purposeEn": "Creates an immersive field for deep balance, regeneration, and inner reserve."
        },
        {
          "time": 1800,
          "name": "Vitality Activation",
          "nameEn": "Vitality Activation",
          "purpose": "Gently activates confident energy, motivation, and clean brightness.",
          "purposeEn": "Gently activates confident energy, motivation, and clean brightness."
        },
        {
          "time": 2220,
          "name": "Integrated Strength",
          "nameEn": "Integrated Strength",
          "purpose": "Integrates vitality into calm focus, warmth, and steady wellbeing.",
          "purposeEn": "Integrates vitality into calm focus, warmth, and steady wellbeing."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session grounded, resilient, warm, and clear.",
          "purposeEn": "Completes the session grounded, resilient, warm, and clear."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 2010,
            "value": 13.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2460,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 8.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2010,
            "value": 13.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 10.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2460,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1260,
            "value": 86
          },
          {
            "time": 1530,
            "value": 88
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 2010,
            "value": 66
          },
          {
            "time": 2220,
            "value": 64
          },
          {
            "time": 2460,
            "value": 42
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1530,
            "value": 0
          },
          {
            "time": 1800,
            "value": 12
          },
          {
            "time": 2010,
            "value": 34
          },
          {
            "time": 2220,
            "value": 20
          },
          {
            "time": 2460,
            "value": 8
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1530,
            "value": 34
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 2010,
            "value": 50
          },
          {
            "time": 2220,
            "value": 36
          },
          {
            "time": 2460,
            "value": 22
          },
          {
            "time": 2700,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1530,
            "value": 74
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 2010,
            "value": 70
          },
          {
            "time": 2220,
            "value": 66
          },
          {
            "time": 2460,
            "value": 50
          },
          {
            "time": 2700,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1530,
            "value": 36
          },
          {
            "time": 1800,
            "value": 20
          },
          {
            "time": 2010,
            "value": 0
          },
          {
            "time": 2220,
            "value": 14
          },
          {
            "time": 2460,
            "value": 8
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1530,
            "value": 74
          },
          {
            "time": 1800,
            "value": 48
          },
          {
            "time": 2010,
            "value": 22
          },
          {
            "time": 2220,
            "value": 34
          },
          {
            "time": 2460,
            "value": 18
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1530,
            "value": 9.6
          },
          {
            "time": 1800,
            "value": 5
          },
          {
            "time": 2010,
            "value": 2.2
          },
          {
            "time": 2220,
            "value": 3.8
          },
          {
            "time": 2460,
            "value": 1.8
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 40
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1530,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1800,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2010,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 28
          },
          {
            "time": 2220,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 22
          },
          {
            "time": 2460,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "boost-endorphins": {
    "title": "Endorfinen versterken (Fysiek)",
    "titleEn": "Boost Endorphins (Physical)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van emotionele opwaartse beweging, natuurlijk plezier, warm lichaamscomfort, positieve energie en geintegreerde feelgood-vitaliteit.",
    "goalEn": "Designed to support emotional uplift, natural pleasure, warm body comfort, positive energy, and integrated feel-good vitality.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 42,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a warm, receptive emotional field.",
          "purposeEn": "Settles the body and opens a warm, receptive emotional field."
        },
        {
          "time": 240,
          "name": "Warm Stabilization",
          "nameEn": "Warm Stabilization",
          "purpose": "Builds relaxed alpha comfort and gentle emotional brightness.",
          "purposeEn": "Builds relaxed alpha comfort and gentle emotional brightness."
        },
        {
          "time": 600,
          "name": "Uplift Build",
          "nameEn": "Uplift Build",
          "purpose": "Activates positive energy, rhythmic lightness, and feel-good momentum.",
          "purposeEn": "Activates positive energy, rhythmic lightness, and feel-good momentum."
        },
        {
          "time": 960,
          "name": "Joyful Peak",
          "nameEn": "Joyful Peak",
          "purpose": "Creates a bright, controlled activation field for pleasure, motivation, and vitality.",
          "purposeEn": "Creates a bright, controlled activation field for pleasure, motivation, and vitality."
        },
        {
          "time": 1320,
          "name": "Bliss Immersion",
          "nameEn": "Bliss Immersion",
          "purpose": "Deepens into spacious theta warmth and full-body ease.",
          "purposeEn": "Deepens into spacious theta warmth and full-body ease."
        },
        {
          "time": 1800,
          "name": "Radiant Integration",
          "nameEn": "Radiant Integration",
          "purpose": "Integrates uplift into calm confidence, emotional balance, and grounded wellbeing.",
          "purposeEn": "Integrates uplift into calm confidence, emotional balance, and grounded wellbeing."
        },
        {
          "time": 2160,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Returns gently with warmth, clarity, and steady positive presence.",
          "purposeEn": "Returns gently with warmth, clarity, and steady positive presence."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session refreshed, calm, open, and uplifted.",
          "purposeEn": "Completes the session refreshed, calm, open, and uplifted."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 13.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 15.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 18,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1140,
            "value": 16.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 13,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 15.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 17.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1140,
            "value": 16.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 240,
            "value": 46
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 62
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 960,
            "value": 70
          },
          {
            "time": 1140,
            "value": 66
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1560,
            "value": 84
          },
          {
            "time": 1800,
            "value": 70
          },
          {
            "time": 1980,
            "value": 60
          },
          {
            "time": 2160,
            "value": 44
          },
          {
            "time": 2280,
            "value": 32
          },
          {
            "time": 2400,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 30
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 960,
            "value": 44
          },
          {
            "time": 1140,
            "value": 34
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1560,
            "value": 4
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 1980,
            "value": 22
          },
          {
            "time": 2160,
            "value": 12
          },
          {
            "time": 2280,
            "value": 6
          },
          {
            "time": 2400,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 32
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 600,
            "value": 46
          },
          {
            "time": 780,
            "value": 52
          },
          {
            "time": 960,
            "value": 58
          },
          {
            "time": 1140,
            "value": 52
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1800,
            "value": 40
          },
          {
            "time": 1980,
            "value": 36
          },
          {
            "time": 2160,
            "value": 26
          },
          {
            "time": 2280,
            "value": 18
          },
          {
            "time": 2400,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 70
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 960,
            "value": 74
          },
          {
            "time": 1140,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1800,
            "value": 70
          },
          {
            "time": 1980,
            "value": 64
          },
          {
            "time": 2160,
            "value": 52
          },
          {
            "time": 2280,
            "value": 42
          },
          {
            "time": 2400,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 0
          },
          {
            "time": 1320,
            "value": 18
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 14
          },
          {
            "time": 1980,
            "value": 10
          },
          {
            "time": 2160,
            "value": 8
          },
          {
            "time": 2280,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 20
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 600,
            "value": 14
          },
          {
            "time": 780,
            "value": 12
          },
          {
            "time": 960,
            "value": 18
          },
          {
            "time": 1140,
            "value": 28
          },
          {
            "time": 1320,
            "value": 46
          },
          {
            "time": 1560,
            "value": 56
          },
          {
            "time": 1800,
            "value": 38
          },
          {
            "time": 1980,
            "value": 28
          },
          {
            "time": 2160,
            "value": 18
          },
          {
            "time": 2280,
            "value": 12
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 120,
            "value": 1.4
          },
          {
            "time": 240,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 2.8
          },
          {
            "time": 600,
            "value": 1.6
          },
          {
            "time": 780,
            "value": 1.2
          },
          {
            "time": 960,
            "value": 2
          },
          {
            "time": 1140,
            "value": 3.4
          },
          {
            "time": 1320,
            "value": 5.6
          },
          {
            "time": 1560,
            "value": 6.8
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 1980,
            "value": 2.8
          },
          {
            "time": 2160,
            "value": 1.8
          },
          {
            "time": 2280,
            "value": 1.2
          },
          {
            "time": 2400,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 240,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 32
          },
          {
            "time": 420,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 38
          },
          {
            "time": 600,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 26
          },
          {
            "time": 780,
            "value": "#ffb300",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.58,
            "auroraDepth": 24
          },
          {
            "time": 960,
            "value": "#ff7043",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.72,
            "auroraDepth": 34
          },
          {
            "time": 1140,
            "value": "#ff4081",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.52,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#7b4dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 68
          },
          {
            "time": 1560,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1800,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 44
          },
          {
            "time": 1980,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 28
          },
          {
            "time": 2160,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 2280,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2400,
            "value": "#fffaf0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Uplifting Electronic Ambient",
      "Cinematic Ambient",
      "Theta Soundscape"
    ]
  },
  "boost-gaba": {
    "title": "GABA versterken (Fysiek)",
    "titleEn": "Boost GABA (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "stress-anxiety",
    "goal": "Ontworpen ter ondersteuning van kalmerende remming, minder innerlijke overactiviteit, het tot rust brengen van het zenuwstelsel, emotionele stilte en diepe ontspannen balans.",
    "goalEn": "Designed to support calm inhibition, reduced inner overactivity, nervous system settling, emotional quiet, and deep relaxed balance.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and begins reducing inner overactivity.",
          "purposeEn": "Settles the body and begins reducing inner overactivity."
        },
        {
          "time": 300,
          "name": "Inhibitory Alpha",
          "nameEn": "Inhibitory Alpha",
          "purpose": "Builds calm alpha stability and quiet mental pacing.",
          "purposeEn": "Builds calm alpha stability and quiet mental pacing."
        },
        {
          "time": 720,
          "name": "GABA Softening Descent",
          "nameEn": "GABA Softening Descent",
          "purpose": "Guides attention into theta calm, muscular ease, and emotional quiet.",
          "purposeEn": "Guides attention into theta calm, muscular ease, and emotional quiet."
        },
        {
          "time": 1260,
          "name": "Deep Quiet Plateau",
          "nameEn": "Deep Quiet Plateau",
          "purpose": "Creates a spacious immersive field for deep relaxation and nervous system inhibition.",
          "purposeEn": "Creates a spacious immersive field for deep relaxation and nervous system inhibition."
        },
        {
          "time": 1860,
          "name": "Balanced Recovery",
          "nameEn": "Balanced Recovery",
          "purpose": "Integrates deep calm into stable emotional regulation and body comfort.",
          "purposeEn": "Integrates deep calm into stable emotional regulation and body comfort."
        },
        {
          "time": 2280,
          "name": "Grounded Ease",
          "nameEn": "Grounded Ease",
          "purpose": "Returns gently toward relaxed clarity and grounded presence.",
          "purposeEn": "Returns gently toward relaxed clarity and grounded presence."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session quiet, settled, balanced, and clear.",
          "purposeEn": "Completes the session quiet, settled, balanced, and clear."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2490,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 6.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 7.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 5.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 7.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2490,
            "value": 7.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 6.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 44
          },
          {
            "time": 510,
            "value": 56
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1260,
            "value": 86
          },
          {
            "time": 1560,
            "value": 88
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2070,
            "value": 60
          },
          {
            "time": 2280,
            "value": 46
          },
          {
            "time": 2490,
            "value": 32
          },
          {
            "time": 2700,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 9
          },
          {
            "time": 510,
            "value": 8
          },
          {
            "time": 720,
            "value": 4
          },
          {
            "time": 990,
            "value": 2
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 6
          },
          {
            "time": 2070,
            "value": 10
          },
          {
            "time": 2280,
            "value": 8
          },
          {
            "time": 2490,
            "value": 5
          },
          {
            "time": 2700,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 34
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 990,
            "value": 44
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1560,
            "value": 32
          },
          {
            "time": 1860,
            "value": 30
          },
          {
            "time": 2070,
            "value": 28
          },
          {
            "time": 2280,
            "value": 24
          },
          {
            "time": 2490,
            "value": 18
          },
          {
            "time": 2700,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1860,
            "value": 68
          },
          {
            "time": 2070,
            "value": 62
          },
          {
            "time": 2280,
            "value": 54
          },
          {
            "time": 2490,
            "value": 42
          },
          {
            "time": 2700,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 20
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 990,
            "value": 28
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2070,
            "value": 16
          },
          {
            "time": 2280,
            "value": 12
          },
          {
            "time": 2490,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2070,
            "value": 34
          },
          {
            "time": 2280,
            "value": 22
          },
          {
            "time": 2490,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.2
          },
          {
            "time": 990,
            "value": 6.6
          },
          {
            "time": 1260,
            "value": 8.6
          },
          {
            "time": 1560,
            "value": 9.2
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2070,
            "value": 3.4
          },
          {
            "time": 2280,
            "value": 2
          },
          {
            "time": 2490,
            "value": 1.2
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#123a7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 150,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 20
          },
          {
            "time": 300,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 30
          },
          {
            "time": 510,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 36
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 52
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 64
          },
          {
            "time": 1260,
            "value": "#2d1b69",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#101144",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 42
          },
          {
            "time": 2070,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 26
          },
          {
            "time": 2280,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 16
          },
          {
            "time": 2490,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 2700,
            "value": "#fffaf0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "boost-melatonin": {
    "title": "Melatonine versterken (Fysiek)",
    "titleEn": "Boost Melatonin (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "sleep",
    "goal": "Ontworpen ter ondersteuning van avondlijke ontspanning, beelden van duisternissignalen, diepe lichamelijke rust, slaapbereidheid en stille nachtelijke regeneratie.",
    "goalEn": "Designed to support evening wind-down, darkness signaling imagery, deep body settling, sleep readiness, and quiet nocturnal restoration.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 34,
    "colorCrossfadeSeconds": 75,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3600,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Evening Arrival",
          "nameEn": "Evening Arrival",
          "purpose": "Settles the body and begins a gentle transition away from daytime alertness.",
          "purposeEn": "Settles the body and begins a gentle transition away from daytime alertness."
        },
        {
          "time": 420,
          "name": "Twilight Alpha",
          "nameEn": "Twilight Alpha",
          "purpose": "Softens attention and stabilizes relaxed evening calm.",
          "purposeEn": "Softens attention and stabilizes relaxed evening calm."
        },
        {
          "time": 900,
          "name": "Melatonin Descent",
          "nameEn": "Melatonin Descent",
          "purpose": "Guides the system into theta quiet and darkness-oriented sleep readiness.",
          "purposeEn": "Guides the system into theta quiet and darkness-oriented sleep readiness."
        },
        {
          "time": 1500,
          "name": "Nocturnal Immersion",
          "nameEn": "Nocturnal Immersion",
          "purpose": "Creates a spacious low-light field for deep inward settling.",
          "purposeEn": "Creates a spacious low-light field for deep inward settling."
        },
        {
          "time": 2280,
          "name": "Delta Sleep Gate",
          "nameEn": "Delta Sleep Gate",
          "purpose": "Deepens into slow-wave restoration and body heaviness.",
          "purposeEn": "Deepens into slow-wave restoration and body heaviness."
        },
        {
          "time": 3060,
          "name": "Quiet Continuation",
          "nameEn": "Quiet Continuation",
          "purpose": "Maintains a soft, sleep-friendly field with minimal stimulation.",
          "purposeEn": "Maintains a soft, sleep-friendly field with minimal stimulation."
        },
        {
          "time": 3600,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session deeply settled and ready for sleep.",
          "purposeEn": "Completes the session deeply settled and ready for sleep."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 3.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1890,
            "value": 3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2280,
            "value": 2.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2670,
            "value": 1.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3060,
            "value": 1.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 3330,
            "value": 1,
            "lightPulseShape": "sine"
          },
          {
            "time": 3600,
            "value": 0.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 6.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 3.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1890,
            "value": 2.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2280,
            "value": 2,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2670,
            "value": 1.4,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3060,
            "value": 1.1,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3330,
            "value": 0.9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3600,
            "value": 0.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 210,
            "value": 30
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 660,
            "value": 52
          },
          {
            "time": 900,
            "value": 62
          },
          {
            "time": 1200,
            "value": 70
          },
          {
            "time": 1500,
            "value": 76
          },
          {
            "time": 1890,
            "value": 70
          },
          {
            "time": 2280,
            "value": 58
          },
          {
            "time": 2670,
            "value": 44
          },
          {
            "time": 3060,
            "value": 28
          },
          {
            "time": 3330,
            "value": 16
          },
          {
            "time": 3600,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 210,
            "value": 5
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 900,
            "value": 2
          },
          {
            "time": 1200,
            "value": 1
          },
          {
            "time": 1500,
            "value": 0
          },
          {
            "time": 1890,
            "value": 0
          },
          {
            "time": 2280,
            "value": 0
          },
          {
            "time": 2670,
            "value": 0
          },
          {
            "time": 3060,
            "value": 0
          },
          {
            "time": 3330,
            "value": 0
          },
          {
            "time": 3600,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 210,
            "value": 22
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 900,
            "value": 38
          },
          {
            "time": 1200,
            "value": 40
          },
          {
            "time": 1500,
            "value": 34
          },
          {
            "time": 1890,
            "value": 28
          },
          {
            "time": 2280,
            "value": 22
          },
          {
            "time": 2670,
            "value": 18
          },
          {
            "time": 3060,
            "value": 14
          },
          {
            "time": 3330,
            "value": 10
          },
          {
            "time": 3600,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 210,
            "value": 54
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 660,
            "value": 66
          },
          {
            "time": 900,
            "value": 70
          },
          {
            "time": 1200,
            "value": 72
          },
          {
            "time": 1500,
            "value": 74
          },
          {
            "time": 1890,
            "value": 72
          },
          {
            "time": 2280,
            "value": 68
          },
          {
            "time": 2670,
            "value": 62
          },
          {
            "time": 3060,
            "value": 50
          },
          {
            "time": 3330,
            "value": 38
          },
          {
            "time": 3600,
            "value": 22
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 660,
            "value": 22
          },
          {
            "time": 900,
            "value": 26
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1500,
            "value": 36
          },
          {
            "time": 1890,
            "value": 38
          },
          {
            "time": 2280,
            "value": 34
          },
          {
            "time": 2670,
            "value": 30
          },
          {
            "time": 3060,
            "value": 24
          },
          {
            "time": 3330,
            "value": 12
          },
          {
            "time": 3600,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 210,
            "value": 14
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 900,
            "value": 46
          },
          {
            "time": 1200,
            "value": 56
          },
          {
            "time": 1500,
            "value": 70
          },
          {
            "time": 1890,
            "value": 78
          },
          {
            "time": 2280,
            "value": 76
          },
          {
            "time": 2670,
            "value": 68
          },
          {
            "time": 3060,
            "value": 54
          },
          {
            "time": 3330,
            "value": 30
          },
          {
            "time": 3600,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 210,
            "value": 1.6
          },
          {
            "time": 420,
            "value": 2.8
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 900,
            "value": 5.8
          },
          {
            "time": 1200,
            "value": 7
          },
          {
            "time": 1500,
            "value": 9
          },
          {
            "time": 1890,
            "value": 10.4
          },
          {
            "time": 2280,
            "value": 10.8
          },
          {
            "time": 2670,
            "value": 9.2
          },
          {
            "time": 3060,
            "value": 6.4
          },
          {
            "time": 3330,
            "value": 3
          },
          {
            "time": 3600,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#203a6b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 210,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 20
          },
          {
            "time": 420,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 28
          },
          {
            "time": 660,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 36
          },
          {
            "time": 900,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 52
          },
          {
            "time": 1200,
            "value": "#4a148c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 64
          },
          {
            "time": 1500,
            "value": "#2d1b69",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 1890,
            "value": "#101144",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 82
          },
          {
            "time": 2280,
            "value": "#08091f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 70
          },
          {
            "time": 2670,
            "value": "#050615",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 54
          },
          {
            "time": 3060,
            "value": "#03040c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 18
          },
          {
            "time": 3330,
            "value": "#020207",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.05,
            "auroraDepth": 8
          },
          {
            "time": 3600,
            "value": "#000000",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3600,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone"
    ]
  },
  "boost-serotonin": {
    "title": "Serotonine versterken (Fysiek)",
    "titleEn": "Boost Serotonin (Physical)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van emotionele balans, zonnig optimisme, rustige zelfverzekerdheid, innerlijke warmte en stabiele stemmingsverbetering.",
    "goalEn": "Designed to support emotional balance, sunny optimism, calm confidence, inner warmth, and steady mood uplift.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 26,
    "colorCrossfadeSeconds": 52,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a warm emotional baseline.",
          "purposeEn": "Settles the body and opens a warm emotional baseline."
        },
        {
          "time": 300,
          "name": "Sunny Alpha Balance",
          "nameEn": "Sunny Alpha Balance",
          "purpose": "Builds relaxed alertness, emotional stability, and gentle optimism.",
          "purposeEn": "Builds relaxed alertness, emotional stability, and gentle optimism."
        },
        {
          "time": 720,
          "name": "Mood Uplift Build",
          "nameEn": "Mood Uplift Build",
          "purpose": "Activates positive momentum, lightness, and calm confidence.",
          "purposeEn": "Activates positive momentum, lightness, and calm confidence."
        },
        {
          "time": 1080,
          "name": "Warm Expansion",
          "nameEn": "Warm Expansion",
          "purpose": "Opens a bright, spacious field for emotional warmth and wellbeing.",
          "purposeEn": "Opens a bright, spacious field for emotional warmth and wellbeing."
        },
        {
          "time": 1500,
          "name": "Serotonin Harmony Plateau",
          "nameEn": "Serotonin Harmony Plateau",
          "purpose": "Deepens into theta-alpha harmony for mood regulation and inner contentment.",
          "purposeEn": "Deepens into theta-alpha harmony for mood regulation and inner contentment."
        },
        {
          "time": 2040,
          "name": "Radiant Integration",
          "nameEn": "Radiant Integration",
          "purpose": "Integrates uplift into grounded clarity, social warmth, and stable presence.",
          "purposeEn": "Integrates uplift into grounded clarity, social warmth, and stable presence."
        },
        {
          "time": 2400,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Returns gently with calm brightness and steady emotional balance.",
          "purposeEn": "Returns gently with calm brightness and steady emotional balance."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session warm, balanced, clear, and uplifted.",
          "purposeEn": "Completes the session warm, balanced, clear, and uplifted."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 12.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1290,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1770,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2550,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 12,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 13.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 11.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1290,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1770,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2550,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 150,
            "value": 32
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 62
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1290,
            "value": 76
          },
          {
            "time": 1500,
            "value": 82
          },
          {
            "time": 1770,
            "value": 86
          },
          {
            "time": 2040,
            "value": 70
          },
          {
            "time": 2220,
            "value": 62
          },
          {
            "time": 2400,
            "value": 44
          },
          {
            "time": 2550,
            "value": 30
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 150,
            "value": 8
          },
          {
            "time": 300,
            "value": 14
          },
          {
            "time": 510,
            "value": 20
          },
          {
            "time": 720,
            "value": 30
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1290,
            "value": 18
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1770,
            "value": 4
          },
          {
            "time": 2040,
            "value": 16
          },
          {
            "time": 2220,
            "value": 22
          },
          {
            "time": 2400,
            "value": 12
          },
          {
            "time": 2550,
            "value": 6
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 150,
            "value": 24
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 510,
            "value": 38
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 50
          },
          {
            "time": 1080,
            "value": 44
          },
          {
            "time": 1290,
            "value": 38
          },
          {
            "time": 1500,
            "value": 34
          },
          {
            "time": 1770,
            "value": 32
          },
          {
            "time": 2040,
            "value": 38
          },
          {
            "time": 2220,
            "value": 34
          },
          {
            "time": 2400,
            "value": 25
          },
          {
            "time": 2550,
            "value": 18
          },
          {
            "time": 2700,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 900,
            "value": 72
          },
          {
            "time": 1080,
            "value": 74
          },
          {
            "time": 1290,
            "value": 72
          },
          {
            "time": 1500,
            "value": 70
          },
          {
            "time": 1770,
            "value": 72
          },
          {
            "time": 2040,
            "value": 70
          },
          {
            "time": 2220,
            "value": 64
          },
          {
            "time": 2400,
            "value": 52
          },
          {
            "time": 2550,
            "value": 42
          },
          {
            "time": 2700,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 14
          },
          {
            "time": 510,
            "value": 12
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1290,
            "value": 12
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1770,
            "value": 24
          },
          {
            "time": 2040,
            "value": 14
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2400,
            "value": 8
          },
          {
            "time": 2550,
            "value": 4
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 510,
            "value": 24
          },
          {
            "time": 720,
            "value": 14
          },
          {
            "time": 900,
            "value": 12
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1290,
            "value": 38
          },
          {
            "time": 1500,
            "value": 50
          },
          {
            "time": 1770,
            "value": 58
          },
          {
            "time": 2040,
            "value": 38
          },
          {
            "time": 2220,
            "value": 28
          },
          {
            "time": 2400,
            "value": 18
          },
          {
            "time": 2550,
            "value": 12
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.4
          },
          {
            "time": 300,
            "value": 2.4
          },
          {
            "time": 510,
            "value": 2.8
          },
          {
            "time": 720,
            "value": 1.6
          },
          {
            "time": 900,
            "value": 1.3
          },
          {
            "time": 1080,
            "value": 3.4
          },
          {
            "time": 1290,
            "value": 4.4
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1770,
            "value": 7
          },
          {
            "time": 2040,
            "value": 4
          },
          {
            "time": 2220,
            "value": 2.8
          },
          {
            "time": 2400,
            "value": 1.8
          },
          {
            "time": 2550,
            "value": 1.2
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 32
          },
          {
            "time": 510,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 720,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.44,
            "auroraDepth": 24
          },
          {
            "time": 900,
            "value": "#ffb300",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.5,
            "auroraDepth": 22
          },
          {
            "time": 1080,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 34
          },
          {
            "time": 1290,
            "value": "#ff80ab",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 44
          },
          {
            "time": 1500,
            "value": "#7b4dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 66
          },
          {
            "time": 1770,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 74
          },
          {
            "time": 2040,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 42
          },
          {
            "time": 2220,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 2550,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2700,
            "value": "#fffaf0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Uplifting Electronic Ambient",
      "Cinematic Ambient",
      "Theta Soundscape"
    ]
  },
  "brain-synchronization": {
    "title": "Hersensynchronisatie (Fysiek)",
    "titleEn": "Brain Synchronization (Physical)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van hemisferische balans, coherente gewaarwording, rustige focus, integratie tussen beide hersenhelften en heldere meditatieve synchronisatie.",
    "goalEn": "Designed to support hemispheric balance, coherent awareness, calm focus, cross-brain integration, and clear meditative synchronization.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention and prepares both hemispheres for balanced entrainment.",
          "purposeEn": "Settles attention and prepares both hemispheres for balanced entrainment."
        },
        {
          "time": 300,
          "name": "Alpha Alignment",
          "nameEn": "Alpha Alignment",
          "purpose": "Builds relaxed bilateral coherence and stable sensory calm.",
          "purposeEn": "Builds relaxed bilateral coherence and stable sensory calm."
        },
        {
          "time": 720,
          "name": "Theta Bridge",
          "nameEn": "Theta Bridge",
          "purpose": "Deepens cross-brain communication through imagery-rich theta awareness.",
          "purposeEn": "Deepens cross-brain communication through imagery-rich theta awareness."
        },
        {
          "time": 1260,
          "name": "Synchronization Plateau",
          "nameEn": "Synchronization Plateau",
          "purpose": "Creates an immersive field for unified awareness and coherent inward absorption.",
          "purposeEn": "Creates an immersive field for unified awareness and coherent inward absorption."
        },
        {
          "time": 1800,
          "name": "Clear Coherence Activation",
          "nameEn": "Clear Coherence Activation",
          "purpose": "Activates clean mental brightness and integrated cognitive presence.",
          "purposeEn": "Activates clean mental brightness and integrated cognitive presence."
        },
        {
          "time": 2220,
          "name": "Whole-Brain Integration",
          "nameEn": "Whole-Brain Integration",
          "purpose": "Integrates clarity, calm, and hemispheric balance into relaxed focus.",
          "purposeEn": "Integrates clarity, calm, and hemispheric balance into relaxed focus."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session centered, coherent, balanced, and clear.",
          "purposeEn": "Completes the session centered, coherent, balanced, and clear."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 7,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 12,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2010,
            "value": 18,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2460,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 6.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 11.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2010,
            "value": 18,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2460,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1260,
            "value": 86
          },
          {
            "time": 1530,
            "value": 88
          },
          {
            "time": 1800,
            "value": 70
          },
          {
            "time": 2010,
            "value": 58
          },
          {
            "time": 2220,
            "value": 64
          },
          {
            "time": 2460,
            "value": 42
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1530,
            "value": 0
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 2010,
            "value": 38
          },
          {
            "time": 2220,
            "value": 20
          },
          {
            "time": 2460,
            "value": 8
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 510,
            "value": 38
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1530,
            "value": 38
          },
          {
            "time": 1800,
            "value": 44
          },
          {
            "time": 2010,
            "value": 52
          },
          {
            "time": 2220,
            "value": 36
          },
          {
            "time": 2460,
            "value": 24
          },
          {
            "time": 2700,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1530,
            "value": 72
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 2010,
            "value": 68
          },
          {
            "time": 2220,
            "value": 66
          },
          {
            "time": 2460,
            "value": 50
          },
          {
            "time": 2700,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 20
          },
          {
            "time": 990,
            "value": 24
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1530,
            "value": 32
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2010,
            "value": 0
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2460,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1530,
            "value": 72
          },
          {
            "time": 1800,
            "value": 42
          },
          {
            "time": 2010,
            "value": 20
          },
          {
            "time": 2220,
            "value": 34
          },
          {
            "time": 2460,
            "value": 18
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1530,
            "value": 9.2
          },
          {
            "time": 1800,
            "value": 4.8
          },
          {
            "time": 2010,
            "value": 2
          },
          {
            "time": 2220,
            "value": 3.6
          },
          {
            "time": 2460,
            "value": 1.8
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 40
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1530,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1800,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2010,
            "value": "#fff176",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 24
          },
          {
            "time": 2220,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 24
          },
          {
            "time": 2460,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "calm-neurotransmitters": {
    "title": "Neurotransmitters kalmeren (Fysiek)",
    "titleEn": "Calm Neurotransmitters (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van neurochemische rust, emotionele balans, het tot rust brengen van het zenuwstelsel, heldere ontspanning en stabiele innerlijke harmonie.",
    "goalEn": "Designed to support neurochemical calm, emotional balance, nervous system settling, clear ease, and steady inner harmony.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a soft field of calm regulation.",
          "purposeEn": "Settles the body and opens a soft field of calm regulation."
        },
        {
          "time": 300,
          "name": "Alpha Balance",
          "nameEn": "Alpha Balance",
          "purpose": "Builds relaxed alertness and emotional steadiness.",
          "purposeEn": "Builds relaxed alertness and emotional steadiness."
        },
        {
          "time": 720,
          "name": "Neurochemical Softening",
          "nameEn": "Neurochemical Softening",
          "purpose": "Guides the mind toward theta calm, softness, and inner spaciousness.",
          "purposeEn": "Guides the mind toward theta calm, softness, and inner spaciousness."
        },
        {
          "time": 1260,
          "name": "Deep Regulation Plateau",
          "nameEn": "Deep Regulation Plateau",
          "purpose": "Deepens immersive nervous system regulation and harmonious inward absorption.",
          "purposeEn": "Deepens immersive nervous system regulation and harmonious inward absorption."
        },
        {
          "time": 1860,
          "name": "Heart-Mind Coherence",
          "nameEn": "Heart-Mind Coherence",
          "purpose": "Integrates calm with warmth, connection, and clear emotional balance.",
          "purposeEn": "Integrates calm with warmth, connection, and clear emotional balance."
        },
        {
          "time": 2280,
          "name": "Grounded Clarity",
          "nameEn": "Grounded Clarity",
          "purpose": "Returns toward stable alpha clarity and calm orientation.",
          "purposeEn": "Returns toward stable alpha clarity and calm orientation."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session settled, balanced, warm, and clear.",
          "purposeEn": "Completes the session settled, balanced, warm, and clear."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2490,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2490,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1260,
            "value": 86
          },
          {
            "time": 1560,
            "value": 88
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2070,
            "value": 66
          },
          {
            "time": 2280,
            "value": 54
          },
          {
            "time": 2490,
            "value": 36
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 4
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 8
          },
          {
            "time": 2070,
            "value": 14
          },
          {
            "time": 2280,
            "value": 16
          },
          {
            "time": 2490,
            "value": 8
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2070,
            "value": 32
          },
          {
            "time": 2280,
            "value": 28
          },
          {
            "time": 2490,
            "value": 20
          },
          {
            "time": 2700,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1860,
            "value": 70
          },
          {
            "time": 2070,
            "value": 66
          },
          {
            "time": 2280,
            "value": 58
          },
          {
            "time": 2490,
            "value": 46
          },
          {
            "time": 2700,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2070,
            "value": 16
          },
          {
            "time": 2280,
            "value": 12
          },
          {
            "time": 2490,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2070,
            "value": 36
          },
          {
            "time": 2280,
            "value": 24
          },
          {
            "time": 2490,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.2
          },
          {
            "time": 990,
            "value": 6.6
          },
          {
            "time": 1260,
            "value": 8.6
          },
          {
            "time": 1560,
            "value": 9.2
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2070,
            "value": 3.6
          },
          {
            "time": 2280,
            "value": 2.2
          },
          {
            "time": 2490,
            "value": 1.3
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 64
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 80
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 44
          },
          {
            "time": 2070,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 2280,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 2490,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2700,
            "value": "#fffaf0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "gene-expression": {
    "title": "Genexpressie (Fysiek)",
    "titleEn": "Gene Expression (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van positieve transformatiebeelden, cellulaire harmonie, diep herstel, innerlijke regulatie en geintegreerd welzijn.",
    "goalEn": "Designed to support positive transformation imagery, cellular harmony, deep recovery, inner regulation, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm field for inner transformation.",
          "purposeEn": "Settles the body and opens a calm field for inner transformation."
        },
        {
          "time": 300,
          "name": "Coherent Foundation",
          "nameEn": "Coherent Foundation",
          "purpose": "Builds alpha stability, heart coherence imagery, and relaxed body awareness.",
          "purposeEn": "Builds alpha stability, heart coherence imagery, and relaxed body awareness."
        },
        {
          "time": 720,
          "name": "Cellular Harmony Descent",
          "nameEn": "Cellular Harmony Descent",
          "purpose": "Guides the system into theta restoration and regenerative inner imagery.",
          "purposeEn": "Guides the system into theta restoration and regenerative inner imagery."
        },
        {
          "time": 1260,
          "name": "Transformation Immersion",
          "nameEn": "Transformation Immersion",
          "purpose": "Creates a spacious field for positive change, renewal, and deep adaptive balance.",
          "purposeEn": "Creates a spacious field for positive change, renewal, and deep adaptive balance."
        },
        {
          "time": 1860,
          "name": "Vital Expression Activation",
          "nameEn": "Vital Expression Activation",
          "purpose": "Gently activates clarity, vitality, and constructive expression of inner potential.",
          "purposeEn": "Gently activates clarity, vitality, and constructive expression of inner potential."
        },
        {
          "time": 2400,
          "name": "Integrated Renewal",
          "nameEn": "Integrated Renewal",
          "purpose": "Integrates transformation into grounded strength, warmth, and stable wellbeing.",
          "purposeEn": "Integrates transformation into grounded strength, warmth, and stable wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, clear, balanced, and renewed.",
          "purposeEn": "Completes the session restored, clear, balanced, and renewed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 76
          },
          {
            "time": 2130,
            "value": 66
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2130,
            "value": 32
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2130,
            "value": 48
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "growth-hormone": {
    "title": "Groeihormoon (Fysiek)",
    "titleEn": "Growth Hormone (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van diepe nachtelijke herstelkwaliteit, lichamelijke regeneratie, herstellende beelden, fysieke ontspanning en rustige vernieuwing.",
    "goalEn": "Designed to support deep nocturnal-style recovery, body restoration, regenerative imagery, physical relaxation, and calm renewal.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 32,
    "colorCrossfadeSeconds": 65,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3300,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and prepares a quiet recovery field.",
          "purposeEn": "Settles the body and prepares a quiet recovery field."
        },
        {
          "time": 360,
          "name": "Alpha Settling",
          "nameEn": "Alpha Settling",
          "purpose": "Guides relaxed alertness into slower physical ease.",
          "purposeEn": "Guides relaxed alertness into slower physical ease."
        },
        {
          "time": 840,
          "name": "Theta Recovery Descent",
          "nameEn": "Theta Recovery Descent",
          "purpose": "Deepens inward attention and supports regenerative body awareness.",
          "purposeEn": "Deepens inward attention and supports regenerative body awareness."
        },
        {
          "time": 1380,
          "name": "Delta Restoration",
          "nameEn": "Delta Restoration",
          "purpose": "Guides the system into a slow-wave recovery state with minimal effort.",
          "purposeEn": "Guides the system into a slow-wave recovery state with minimal effort."
        },
        {
          "time": 2100,
          "name": "Deep Repair Plateau",
          "nameEn": "Deep Repair Plateau",
          "purpose": "Maintains a spacious, low-frequency field for deep physical renewal.",
          "purposeEn": "Maintains a spacious, low-frequency field for deep physical renewal."
        },
        {
          "time": 2760,
          "name": "Soft Integration",
          "nameEn": "Soft Integration",
          "purpose": "Integrates recovery with quiet warmth and stable body comfort.",
          "purposeEn": "Integrates recovery with quiet warmth and stable body comfort."
        },
        {
          "time": 3300,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session deeply settled, restored, and calm.",
          "purposeEn": "Completes the session deeply settled, restored, and calm."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 360,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 4.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 3.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 2.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 1.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2430,
            "value": 1.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2760,
            "value": 2.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 3030,
            "value": 4.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 3300,
            "value": 5.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 7.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 360,
            "value": 6.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 5.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 5,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 3,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 2.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 1.6,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2430,
            "value": 1.3,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2760,
            "value": 2.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 3030,
            "value": 4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3300,
            "value": 5.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 360,
            "value": 44
          },
          {
            "time": 600,
            "value": 58
          },
          {
            "time": 840,
            "value": 70
          },
          {
            "time": 1110,
            "value": 78
          },
          {
            "time": 1380,
            "value": 86
          },
          {
            "time": 1740,
            "value": 90
          },
          {
            "time": 2100,
            "value": 88
          },
          {
            "time": 2430,
            "value": 84
          },
          {
            "time": 2760,
            "value": 66
          },
          {
            "time": 3030,
            "value": 42
          },
          {
            "time": 3300,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 5
          },
          {
            "time": 360,
            "value": 8
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 840,
            "value": 3
          },
          {
            "time": 1110,
            "value": 1
          },
          {
            "time": 1380,
            "value": 0
          },
          {
            "time": 1740,
            "value": 0
          },
          {
            "time": 2100,
            "value": 0
          },
          {
            "time": 2430,
            "value": 0
          },
          {
            "time": 2760,
            "value": 4
          },
          {
            "time": 3030,
            "value": 6
          },
          {
            "time": 3300,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 360,
            "value": 28
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 840,
            "value": 38
          },
          {
            "time": 1110,
            "value": 42
          },
          {
            "time": 1380,
            "value": 36
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 2100,
            "value": 26
          },
          {
            "time": 2430,
            "value": 22
          },
          {
            "time": 2760,
            "value": 24
          },
          {
            "time": 3030,
            "value": 18
          },
          {
            "time": 3300,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 180,
            "value": 52
          },
          {
            "time": 360,
            "value": 62
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 840,
            "value": 72
          },
          {
            "time": 1110,
            "value": 74
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1740,
            "value": 74
          },
          {
            "time": 2100,
            "value": 72
          },
          {
            "time": 2430,
            "value": 70
          },
          {
            "time": 2760,
            "value": 66
          },
          {
            "time": 3030,
            "value": 50
          },
          {
            "time": 3300,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 360,
            "value": 18
          },
          {
            "time": 600,
            "value": 22
          },
          {
            "time": 840,
            "value": 26
          },
          {
            "time": 1110,
            "value": 30
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1740,
            "value": 38
          },
          {
            "time": 2100,
            "value": 34
          },
          {
            "time": 2430,
            "value": 30
          },
          {
            "time": 2760,
            "value": 22
          },
          {
            "time": 3030,
            "value": 10
          },
          {
            "time": 3300,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 360,
            "value": 24
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 840,
            "value": 48
          },
          {
            "time": 1110,
            "value": 58
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1740,
            "value": 76
          },
          {
            "time": 2100,
            "value": 78
          },
          {
            "time": 2430,
            "value": 72
          },
          {
            "time": 2760,
            "value": 54
          },
          {
            "time": 3030,
            "value": 28
          },
          {
            "time": 3300,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 1.6
          },
          {
            "time": 360,
            "value": 2.8
          },
          {
            "time": 600,
            "value": 4
          },
          {
            "time": 840,
            "value": 5.8
          },
          {
            "time": 1110,
            "value": 7
          },
          {
            "time": 1380,
            "value": 9
          },
          {
            "time": 1740,
            "value": 10.2
          },
          {
            "time": 2100,
            "value": 10.8
          },
          {
            "time": 2430,
            "value": 9.4
          },
          {
            "time": 2760,
            "value": 6
          },
          {
            "time": 3030,
            "value": 2.8
          },
          {
            "time": 3300,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#123a7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 180,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 20
          },
          {
            "time": 360,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 600,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 36
          },
          {
            "time": 840,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 52
          },
          {
            "time": 1110,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 64
          },
          {
            "time": 1380,
            "value": "#2d1b69",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 1740,
            "value": "#101144",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 84
          },
          {
            "time": 2100,
            "value": "#08091f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 72
          },
          {
            "time": 2430,
            "value": "#16235c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.07,
            "auroraDepth": 62
          },
          {
            "time": 2760,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 38
          },
          {
            "time": 3030,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 18
          },
          {
            "time": 3300,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3300,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "have-more-energy": {
    "title": "Meer energie (Fysiek)",
    "titleEn": "Have More Energy (Physical)",
    "category": "energie",
    "subcategory": "physical-energy",
    "goal": "Ontworpen ter ondersteuning van zuivere energie, motivatie, mentale helderheid, zelfverzekerde activatie en gegronde vitaliteit.",
    "goalEn": "Designed to support clean energy, motivation, mental brightness, confident activation, and grounded vitality.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and prepares a stable energetic foundation.",
          "purposeEn": "Settles the body and prepares a stable energetic foundation."
        },
        {
          "time": 240,
          "name": "Clear Alpha Base",
          "nameEn": "Clear Alpha Base",
          "purpose": "Builds relaxed alertness and calm readiness.",
          "purposeEn": "Builds relaxed alertness and calm readiness."
        },
        {
          "time": 600,
          "name": "Energy Build",
          "nameEn": "Energy Build",
          "purpose": "Guides the system into brighter activation and positive momentum.",
          "purposeEn": "Guides the system into brighter activation and positive momentum."
        },
        {
          "time": 960,
          "name": "Vitality Peak",
          "nameEn": "Vitality Peak",
          "purpose": "Creates a controlled beta activation field for motivation, clarity, and vitality.",
          "purposeEn": "Creates a controlled beta activation field for motivation, clarity, and vitality."
        },
        {
          "time": 1380,
          "name": "Confident Drive",
          "nameEn": "Confident Drive",
          "purpose": "Stabilizes energy into confident action and sustained focus.",
          "purposeEn": "Stabilizes energy into confident action and sustained focus."
        },
        {
          "time": 1860,
          "name": "Balanced Integration",
          "nameEn": "Balanced Integration",
          "purpose": "Integrates activation into calm clarity and grounded wellbeing.",
          "purposeEn": "Integrates activation into calm clarity and grounded wellbeing."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session energized, clear, steady, and ready.",
          "purposeEn": "Completes the session energized, clear, steady, and ready."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 12.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 16.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 19.2,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1170,
            "value": 21,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1380,
            "value": 17.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1620,
            "value": 14.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2130,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 12,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 16,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 19,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1170,
            "value": 20.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1380,
            "value": 17.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1620,
            "value": 14,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2130,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 64
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1170,
            "value": 70
          },
          {
            "time": 1380,
            "value": 66
          },
          {
            "time": 1620,
            "value": 60
          },
          {
            "time": 1860,
            "value": 52
          },
          {
            "time": 2130,
            "value": 38
          },
          {
            "time": 2400,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 960,
            "value": 48
          },
          {
            "time": 1170,
            "value": 44
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1620,
            "value": 26
          },
          {
            "time": 1860,
            "value": 18
          },
          {
            "time": 2130,
            "value": 10
          },
          {
            "time": 2400,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 34
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 50
          },
          {
            "time": 780,
            "value": 56
          },
          {
            "time": 960,
            "value": 62
          },
          {
            "time": 1170,
            "value": 60
          },
          {
            "time": 1380,
            "value": 54
          },
          {
            "time": 1620,
            "value": 46
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2130,
            "value": 24
          },
          {
            "time": 2400,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 960,
            "value": 76
          },
          {
            "time": 1170,
            "value": 74
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1620,
            "value": 68
          },
          {
            "time": 1860,
            "value": 62
          },
          {
            "time": 2130,
            "value": 48
          },
          {
            "time": 2400,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 420,
            "value": 8
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1170,
            "value": 0
          },
          {
            "time": 1380,
            "value": 0
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2130,
            "value": 6
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 12
          },
          {
            "time": 780,
            "value": 10
          },
          {
            "time": 960,
            "value": 14
          },
          {
            "time": 1170,
            "value": 18
          },
          {
            "time": 1380,
            "value": 26
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1860,
            "value": 24
          },
          {
            "time": 2130,
            "value": 14
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 120,
            "value": 1.3
          },
          {
            "time": 240,
            "value": 2.2
          },
          {
            "time": 420,
            "value": 2.6
          },
          {
            "time": 600,
            "value": 1.4
          },
          {
            "time": 780,
            "value": 1.1
          },
          {
            "time": 960,
            "value": 1.6
          },
          {
            "time": 1170,
            "value": 2
          },
          {
            "time": 1380,
            "value": 3.2
          },
          {
            "time": 1620,
            "value": 3.8
          },
          {
            "time": 1860,
            "value": 2.6
          },
          {
            "time": 2130,
            "value": 1.4
          },
          {
            "time": 2400,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 240,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 420,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 34
          },
          {
            "time": 600,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 24
          },
          {
            "time": 780,
            "value": "#ffb300",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.62,
            "auroraDepth": 22
          },
          {
            "time": 960,
            "value": "#ff7043",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.78,
            "auroraDepth": 34
          },
          {
            "time": 1170,
            "value": "#ff4081",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.58,
            "auroraDepth": 38
          },
          {
            "time": 1380,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 28
          },
          {
            "time": 1620,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 1860,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 24
          },
          {
            "time": 2130,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 2400,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Uplifting Electronic Ambient",
      "Cinematic Ambient"
    ]
  },
  "increase-libido": {
    "title": "Libido versterken (Fysiek)",
    "titleEn": "Increase Libido (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "hormonal-endocrine-support",
    "goal": "Ontworpen ter ondersteuning van sensuele vitaliteit, lichaamsbewustzijn, emotionele warmte, zelfverzekerde aanwezigheid, intieme verbinding en gegrond verlangen.",
    "goalEn": "Designed to support sensual vitality, body awareness, emotional warmth, confident presence, intimate connection, and grounded desire.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 56,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a safe, warm inner atmosphere.",
          "purposeEn": "Settles the body and opens a safe, warm inner atmosphere."
        },
        {
          "time": 300,
          "name": "Body Warmth",
          "nameEn": "Body Warmth",
          "purpose": "Builds relaxed body awareness, softness, and emotional receptivity.",
          "purposeEn": "Builds relaxed body awareness, softness, and emotional receptivity."
        },
        {
          "time": 720,
          "name": "Sensual Descent",
          "nameEn": "Sensual Descent",
          "purpose": "Deepens into theta-based embodiment, imagery, and intimate presence.",
          "purposeEn": "Deepens into theta-based embodiment, imagery, and intimate presence."
        },
        {
          "time": 1260,
          "name": "Connection Immersion",
          "nameEn": "Connection Immersion",
          "purpose": "Creates a spacious field for warmth, attraction, confidence, and emotional connection.",
          "purposeEn": "Creates a spacious field for warmth, attraction, confidence, and emotional connection."
        },
        {
          "time": 1800,
          "name": "Desire Activation",
          "nameEn": "Desire Activation",
          "purpose": "Gently activates vitality, motivation, sensual energy, and embodied aliveness.",
          "purposeEn": "Gently activates vitality, motivation, sensual energy, and embodied aliveness."
        },
        {
          "time": 2220,
          "name": "Integrated Passion",
          "nameEn": "Integrated Passion",
          "purpose": "Integrates desire into grounded confidence, warmth, and relaxed clarity.",
          "purposeEn": "Integrates desire into grounded confidence, warmth, and relaxed clarity."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session warm, present, connected, and alive.",
          "purposeEn": "Completes the session warm, present, connected, and alive."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2010,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2460,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2010,
            "value": 13.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 10.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2460,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 60
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1530,
            "value": 90
          },
          {
            "time": 1800,
            "value": 78
          },
          {
            "time": 2010,
            "value": 72
          },
          {
            "time": 2220,
            "value": 68
          },
          {
            "time": 2460,
            "value": 46
          },
          {
            "time": 2700,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1530,
            "value": 0
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 2010,
            "value": 28
          },
          {
            "time": 2220,
            "value": 16
          },
          {
            "time": 2460,
            "value": 8
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1530,
            "value": 38
          },
          {
            "time": 1800,
            "value": 42
          },
          {
            "time": 2010,
            "value": 52
          },
          {
            "time": 2220,
            "value": 38
          },
          {
            "time": 2460,
            "value": 24
          },
          {
            "time": 2700,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 68
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 74
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1530,
            "value": 74
          },
          {
            "time": 1800,
            "value": 74
          },
          {
            "time": 2010,
            "value": 72
          },
          {
            "time": 2220,
            "value": 68
          },
          {
            "time": 2460,
            "value": 52
          },
          {
            "time": 2700,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 20
          },
          {
            "time": 990,
            "value": 24
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1530,
            "value": 32
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2010,
            "value": 0
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2460,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 32
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1530,
            "value": 76
          },
          {
            "time": 1800,
            "value": 50
          },
          {
            "time": 2010,
            "value": 24
          },
          {
            "time": 2220,
            "value": 36
          },
          {
            "time": 2460,
            "value": 20
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.8
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1530,
            "value": 9.8
          },
          {
            "time": 1800,
            "value": 5.2
          },
          {
            "time": 2010,
            "value": 2.4
          },
          {
            "time": 2220,
            "value": 4
          },
          {
            "time": 2460,
            "value": 2
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#ff80ab",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#e91e63",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 44
          },
          {
            "time": 720,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 58
          },
          {
            "time": 990,
            "value": "#ad1457",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 68
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1530,
            "value": "#880e4f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 84
          },
          {
            "time": 1800,
            "value": "#ff7043",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 52
          },
          {
            "time": 2010,
            "value": "#ffb300",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 30
          },
          {
            "time": 2220,
            "value": "#ff80ab",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 2460,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 16
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "lower-cortisol": {
    "title": "Cortisol verlagen (Fysiek)",
    "titleEn": "Lower Cortisol (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "hormonal-endocrine-support",
    "goal": "Ontworpen ter ondersteuning van stressafbouw, het tot rust brengen van het zenuwstelsel, emotionele ontlading, veilige lichamelijke kalmte en herstelde innerlijke balans.",
    "goalEn": "Designed to support stress downshifting, nervous system settling, emotional release, safe body calm, and restored inner balance.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles urgency and guides the body into a safer rhythm.",
          "purposeEn": "Settles urgency and guides the body into a safer rhythm."
        },
        {
          "time": 300,
          "name": "Alpha Downshift",
          "nameEn": "Alpha Downshift",
          "purpose": "Builds relaxed alertness and softens stress-driven mental speed.",
          "purposeEn": "Builds relaxed alertness and softens stress-driven mental speed."
        },
        {
          "time": 720,
          "name": "Cortisol Release Descent",
          "nameEn": "Cortisol Release Descent",
          "purpose": "Guides tension downward into theta-based emotional clearing and body ease.",
          "purposeEn": "Guides tension downward into theta-based emotional clearing and body ease."
        },
        {
          "time": 1260,
          "name": "Deep Safety Plateau",
          "nameEn": "Deep Safety Plateau",
          "purpose": "Creates a spacious immersive field for nervous system settling and deep unwinding.",
          "purposeEn": "Creates a spacious immersive field for nervous system settling and deep unwinding."
        },
        {
          "time": 1860,
          "name": "Parasympathetic Recovery",
          "nameEn": "Parasympathetic Recovery",
          "purpose": "Rebuilds calm regulation, breath ease, and grounded emotional balance.",
          "purposeEn": "Rebuilds calm regulation, breath ease, and grounded emotional balance."
        },
        {
          "time": 2280,
          "name": "Warm Integration",
          "nameEn": "Warm Integration",
          "purpose": "Integrates relaxation into soft clarity, warmth, and stable presence.",
          "purposeEn": "Integrates relaxation into soft clarity, warmth, and stable presence."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, clear, grounded, and settled.",
          "purposeEn": "Completes the session calm, clear, grounded, and settled."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2490,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 7.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2490,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2070,
            "value": 62
          },
          {
            "time": 2280,
            "value": 50
          },
          {
            "time": 2490,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 10
          },
          {
            "time": 720,
            "value": 5
          },
          {
            "time": 990,
            "value": 2
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 8
          },
          {
            "time": 2070,
            "value": 14
          },
          {
            "time": 2280,
            "value": 12
          },
          {
            "time": 2490,
            "value": 6
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 32
          },
          {
            "time": 2070,
            "value": 30
          },
          {
            "time": 2280,
            "value": 26
          },
          {
            "time": 2490,
            "value": 18
          },
          {
            "time": 2700,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1860,
            "value": 70
          },
          {
            "time": 2070,
            "value": 64
          },
          {
            "time": 2280,
            "value": 56
          },
          {
            "time": 2490,
            "value": 44
          },
          {
            "time": 2700,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 20
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 990,
            "value": 28
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 24
          },
          {
            "time": 2070,
            "value": 18
          },
          {
            "time": 2280,
            "value": 12
          },
          {
            "time": 2490,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2070,
            "value": 36
          },
          {
            "time": 2280,
            "value": 24
          },
          {
            "time": 2490,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 9.6
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2070,
            "value": 3.6
          },
          {
            "time": 2280,
            "value": 2.2
          },
          {
            "time": 2490,
            "value": 1.3
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 64
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 2070,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 2280,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 2490,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2700,
            "value": "#fffaf0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "need-less-sleep": {
    "title": "Minder slaap nodig hebben (Fysiek)",
    "titleEn": "Need Less Sleep (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van efficient herstel, diepe herstellende vertraging, frisse helderheid, rustige energie en geintegreerde alertheid.",
    "goalEn": "Designed to support efficient recovery, deep restorative downshifting, refreshed clarity, calm energy, and integrated alertness.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the system and prepares an efficient recovery state.",
          "purposeEn": "Settles the system and prepares an efficient recovery state."
        },
        {
          "time": 300,
          "name": "Recovery Downshift",
          "nameEn": "Recovery Downshift",
          "purpose": "Guides relaxed alpha stability into calm physical restoration.",
          "purposeEn": "Guides relaxed alpha stability into calm physical restoration."
        },
        {
          "time": 720,
          "name": "Deep Recuperation Descent",
          "nameEn": "Deep Recuperation Descent",
          "purpose": "Moves into theta-based restoration, reduced mental load, and body heaviness.",
          "purposeEn": "Moves into theta-based restoration, reduced mental load, and body heaviness."
        },
        {
          "time": 1260,
          "name": "Compact Deep Rest Plateau",
          "nameEn": "Compact Deep Rest Plateau",
          "purpose": "Creates an immersive low-frequency recovery field for condensed restorative absorption.",
          "purposeEn": "Creates an immersive low-frequency recovery field for condensed restorative absorption."
        },
        {
          "time": 1920,
          "name": "Refresh Activation",
          "nameEn": "Refresh Activation",
          "purpose": "Gently activates clarity, refreshed energy, and clean mental presence.",
          "purposeEn": "Gently activates clarity, refreshed energy, and clean mental presence."
        },
        {
          "time": 2400,
          "name": "Alert Integration",
          "nameEn": "Alert Integration",
          "purpose": "Integrates restoration into calm focus, balanced vitality, and stable orientation.",
          "purposeEn": "Integrates restoration into calm focus, balanced vitality, and stable orientation."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, clear, grounded, and refreshed.",
          "purposeEn": "Completes the session restored, clear, grounded, and refreshed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 3.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1590,
            "value": 2.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 11.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 7.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 6.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 5.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 4.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 3.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1590,
            "value": 2.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 11.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 44
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1590,
            "value": 90
          },
          {
            "time": 1920,
            "value": 72
          },
          {
            "time": 2160,
            "value": 62
          },
          {
            "time": 2400,
            "value": 64
          },
          {
            "time": 2700,
            "value": 42
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 510,
            "value": 6
          },
          {
            "time": 720,
            "value": 3
          },
          {
            "time": 990,
            "value": 1
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1590,
            "value": 0
          },
          {
            "time": 1920,
            "value": 10
          },
          {
            "time": 2160,
            "value": 32
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 990,
            "value": 42
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1590,
            "value": 28
          },
          {
            "time": 1920,
            "value": 32
          },
          {
            "time": 2160,
            "value": 48
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 68
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 74
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1590,
            "value": 74
          },
          {
            "time": 1920,
            "value": 72
          },
          {
            "time": 2160,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 22
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 990,
            "value": 30
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1590,
            "value": 38
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2160,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 34
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 990,
            "value": 58
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1590,
            "value": 78
          },
          {
            "time": 1920,
            "value": 48
          },
          {
            "time": 2160,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 4
          },
          {
            "time": 720,
            "value": 5.8
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9.2
          },
          {
            "time": 1590,
            "value": 10.2
          },
          {
            "time": 1920,
            "value": 5
          },
          {
            "time": 2160,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 510,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#4a148c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#2d1b69",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 78
          },
          {
            "time": 1590,
            "value": "#101144",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 82
          },
          {
            "time": 1920,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 2160,
            "value": "#fff176",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 26
          },
          {
            "time": 2400,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 22
          },
          {
            "time": 2700,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "pain-relieve": {
    "title": "Pijnverlichting (Fysiek)",
    "titleEn": "Pain Relieve (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van lichaamscomfort, diep tot rust komen, verzachtende aandacht, rustige dissociatie en herstellend welzijn.",
    "goalEn": "Designed to support body comfort, deep settling, soothing attention, calm dissociation, and restorative wellbeing.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and guides attention toward safety, warmth, and comfort.",
          "purposeEn": "Settles the body and guides attention toward safety, warmth, and comfort."
        },
        {
          "time": 300,
          "name": "Comfort Stabilization",
          "nameEn": "Comfort Stabilization",
          "purpose": "Builds relaxed alpha stability and softens physical tension.",
          "purposeEn": "Builds relaxed alpha stability and softens physical tension."
        },
        {
          "time": 720,
          "name": "Soothing Descent",
          "nameEn": "Soothing Descent",
          "purpose": "Guides the system into theta-based comfort, distance, and calm body awareness.",
          "purposeEn": "Guides the system into theta-based comfort, distance, and calm body awareness."
        },
        {
          "time": 1200,
          "name": "Deep Comfort Plateau",
          "nameEn": "Deep Comfort Plateau",
          "purpose": "Creates an immersive field for spacious relief, sensory softening, and deep unwinding.",
          "purposeEn": "Creates an immersive field for spacious relief, sensory softening, and deep unwinding."
        },
        {
          "time": 1740,
          "name": "Restorative Integration",
          "nameEn": "Restorative Integration",
          "purpose": "Integrates comfort into calm clarity and balanced emotional presence.",
          "purposeEn": "Integrates comfort into calm clarity and balanced emotional presence."
        },
        {
          "time": 2100,
          "name": "Warm Landing",
          "nameEn": "Warm Landing",
          "purpose": "Returns gently with grounded ease, warmth, and steady breathing.",
          "purposeEn": "Returns gently with grounded ease, warmth, and steady breathing."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session settled, clear, and comfortable.",
          "purposeEn": "Completes the session settled, clear, and comfortable."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1470,
            "value": 4.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2250,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 7,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1470,
            "value": 4.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 7.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2250,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 960,
            "value": 78
          },
          {
            "time": 1200,
            "value": 86
          },
          {
            "time": 1470,
            "value": 90
          },
          {
            "time": 1740,
            "value": 72
          },
          {
            "time": 1920,
            "value": 62
          },
          {
            "time": 2100,
            "value": 48
          },
          {
            "time": 2250,
            "value": 34
          },
          {
            "time": 2400,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 10
          },
          {
            "time": 720,
            "value": 5
          },
          {
            "time": 960,
            "value": 2
          },
          {
            "time": 1200,
            "value": 0
          },
          {
            "time": 1470,
            "value": 0
          },
          {
            "time": 1740,
            "value": 6
          },
          {
            "time": 1920,
            "value": 12
          },
          {
            "time": 2100,
            "value": 10
          },
          {
            "time": 2250,
            "value": 6
          },
          {
            "time": 2400,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 20
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 510,
            "value": 34
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 960,
            "value": 44
          },
          {
            "time": 1200,
            "value": 38
          },
          {
            "time": 1470,
            "value": 34
          },
          {
            "time": 1740,
            "value": 32
          },
          {
            "time": 1920,
            "value": 30
          },
          {
            "time": 2100,
            "value": 26
          },
          {
            "time": 2250,
            "value": 18
          },
          {
            "time": 2400,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1470,
            "value": 72
          },
          {
            "time": 1740,
            "value": 70
          },
          {
            "time": 1920,
            "value": 66
          },
          {
            "time": 2100,
            "value": 58
          },
          {
            "time": 2250,
            "value": 46
          },
          {
            "time": 2400,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 20
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 960,
            "value": 28
          },
          {
            "time": 1200,
            "value": 32
          },
          {
            "time": 1470,
            "value": 34
          },
          {
            "time": 1740,
            "value": 22
          },
          {
            "time": 1920,
            "value": 16
          },
          {
            "time": 2100,
            "value": 12
          },
          {
            "time": 2250,
            "value": 6
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 960,
            "value": 54
          },
          {
            "time": 1200,
            "value": 66
          },
          {
            "time": 1470,
            "value": 72
          },
          {
            "time": 1740,
            "value": 48
          },
          {
            "time": 1920,
            "value": 34
          },
          {
            "time": 2100,
            "value": 22
          },
          {
            "time": 2250,
            "value": 14
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.2
          },
          {
            "time": 960,
            "value": 6.6
          },
          {
            "time": 1200,
            "value": 8.6
          },
          {
            "time": 1470,
            "value": 9.2
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 1920,
            "value": 3.4
          },
          {
            "time": 2100,
            "value": 2
          },
          {
            "time": 2250,
            "value": 1.3
          },
          {
            "time": 2400,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 960,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 64
          },
          {
            "time": 1200,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1470,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 80
          },
          {
            "time": 1740,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 44
          },
          {
            "time": 1920,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 2100,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 2250,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2400,
            "value": "#fffaf0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "slow-aging": {
    "title": "Veroudering vertragen (Fysiek)",
    "titleEn": "Slow Aging (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van diep herstel, emotionele balans, regeneratieve beelden, rustige vitaliteit en een jeugdige ervaring van innerlijke vernieuwing.",
    "goalEn": "Designed to support deep recovery, emotional balance, regenerative imagery, calm vitality, and a youthful sense of inner renewal.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and guides attention into calm, restorative presence.",
          "purposeEn": "Settles the body and guides attention into calm, restorative presence."
        },
        {
          "time": 360,
          "name": "Restorative Alpha",
          "nameEn": "Restorative Alpha",
          "purpose": "Builds relaxed coherence, body comfort, and emotional steadiness.",
          "purposeEn": "Builds relaxed coherence, body comfort, and emotional steadiness."
        },
        {
          "time": 840,
          "name": "Regeneration Descent",
          "nameEn": "Regeneration Descent",
          "purpose": "Deepens into theta and opens imagery of renewal, repair, and inner harmony.",
          "purposeEn": "Deepens into theta and opens imagery of renewal, repair, and inner harmony."
        },
        {
          "time": 1380,
          "name": "Cellular Renewal Plateau",
          "nameEn": "Cellular Renewal Plateau",
          "purpose": "Creates a spacious immersive field for deep recovery and regenerative visualization.",
          "purposeEn": "Creates a spacious immersive field for deep recovery and regenerative visualization."
        },
        {
          "time": 2040,
          "name": "Vitality Rebuild",
          "nameEn": "Vitality Rebuild",
          "purpose": "Gently activates calm life energy, clarity, and youthful inner brightness.",
          "purposeEn": "Gently activates calm life energy, clarity, and youthful inner brightness."
        },
        {
          "time": 2520,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates restoration into relaxed alertness and grounded wellbeing.",
          "purposeEn": "Integrates restoration into relaxed alertness and grounded wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, warm, clear, and renewed.",
          "purposeEn": "Completes the session calm, warm, clear, and renewed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 360,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 10.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2520,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2760,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 360,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 10.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2520,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2760,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 34
          },
          {
            "time": 360,
            "value": 48
          },
          {
            "time": 600,
            "value": 60
          },
          {
            "time": 840,
            "value": 70
          },
          {
            "time": 1080,
            "value": 78
          },
          {
            "time": 1380,
            "value": 86
          },
          {
            "time": 1680,
            "value": 90
          },
          {
            "time": 2040,
            "value": 74
          },
          {
            "time": 2280,
            "value": 62
          },
          {
            "time": 2520,
            "value": 66
          },
          {
            "time": 2760,
            "value": 44
          },
          {
            "time": 3000,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 360,
            "value": 12
          },
          {
            "time": 600,
            "value": 16
          },
          {
            "time": 840,
            "value": 8
          },
          {
            "time": 1080,
            "value": 4
          },
          {
            "time": 1380,
            "value": 0
          },
          {
            "time": 1680,
            "value": 0
          },
          {
            "time": 2040,
            "value": 10
          },
          {
            "time": 2280,
            "value": 28
          },
          {
            "time": 2520,
            "value": 18
          },
          {
            "time": 2760,
            "value": 10
          },
          {
            "time": 3000,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 360,
            "value": 34
          },
          {
            "time": 600,
            "value": 40
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1080,
            "value": 48
          },
          {
            "time": 1380,
            "value": 42
          },
          {
            "time": 1680,
            "value": 38
          },
          {
            "time": 2040,
            "value": 36
          },
          {
            "time": 2280,
            "value": 46
          },
          {
            "time": 2520,
            "value": 34
          },
          {
            "time": 2760,
            "value": 24
          },
          {
            "time": 3000,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 180,
            "value": 56
          },
          {
            "time": 360,
            "value": 64
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 840,
            "value": 72
          },
          {
            "time": 1080,
            "value": 74
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1680,
            "value": 74
          },
          {
            "time": 2040,
            "value": 72
          },
          {
            "time": 2280,
            "value": 68
          },
          {
            "time": 2520,
            "value": 66
          },
          {
            "time": 2760,
            "value": 52
          },
          {
            "time": 3000,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 360,
            "value": 18
          },
          {
            "time": 600,
            "value": 14
          },
          {
            "time": 840,
            "value": 20
          },
          {
            "time": 1080,
            "value": 24
          },
          {
            "time": 1380,
            "value": 30
          },
          {
            "time": 1680,
            "value": 34
          },
          {
            "time": 2040,
            "value": 20
          },
          {
            "time": 2280,
            "value": 0
          },
          {
            "time": 2520,
            "value": 14
          },
          {
            "time": 2760,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 360,
            "value": 24
          },
          {
            "time": 600,
            "value": 30
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1080,
            "value": 54
          },
          {
            "time": 1380,
            "value": 66
          },
          {
            "time": 1680,
            "value": 72
          },
          {
            "time": 2040,
            "value": 48
          },
          {
            "time": 2280,
            "value": 24
          },
          {
            "time": 2520,
            "value": 34
          },
          {
            "time": 2760,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 1.6
          },
          {
            "time": 360,
            "value": 2.8
          },
          {
            "time": 600,
            "value": 3.4
          },
          {
            "time": 840,
            "value": 5.6
          },
          {
            "time": 1080,
            "value": 6.8
          },
          {
            "time": 1380,
            "value": 8.8
          },
          {
            "time": 1680,
            "value": 9.6
          },
          {
            "time": 2040,
            "value": 5
          },
          {
            "time": 2280,
            "value": 2.2
          },
          {
            "time": 2520,
            "value": 3.6
          },
          {
            "time": 2760,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 180,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 360,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 600,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 840,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 56
          },
          {
            "time": 1080,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 66
          },
          {
            "time": 1380,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1680,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 82
          },
          {
            "time": 2040,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2280,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 26
          },
          {
            "time": 2520,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 22
          },
          {
            "time": 2760,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "speed-healing": {
    "title": "Herstel versnellen (Fysiek)",
    "titleEn": "Speed Healing (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van versneld aanvoelend herstel, regeneratieve beelden, lichaamscomfort, rustige vitaliteit en geintegreerde herstelfocus.",
    "goalEn": "Designed to support accelerated-feeling recovery, regenerative imagery, body comfort, calm vitality, and integrated healing focus.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and prepares a receptive recovery state.",
          "purposeEn": "Settles the body and prepares a receptive recovery state."
        },
        {
          "time": 300,
          "name": "Recovery Stabilization",
          "nameEn": "Recovery Stabilization",
          "purpose": "Builds alpha balance, physical ease, and calm healing focus.",
          "purposeEn": "Builds alpha balance, physical ease, and calm healing focus."
        },
        {
          "time": 720,
          "name": "Regeneration Descent",
          "nameEn": "Regeneration Descent",
          "purpose": "Guides the system into theta imagery for restoration and renewal.",
          "purposeEn": "Guides the system into theta imagery for restoration and renewal."
        },
        {
          "time": 1260,
          "name": "Deep Repair Immersion",
          "nameEn": "Deep Repair Immersion",
          "purpose": "Creates a spacious low-frequency field for body comfort and deep renewal.",
          "purposeEn": "Creates a spacious low-frequency field for body comfort and deep renewal."
        },
        {
          "time": 1860,
          "name": "Healing Activation",
          "nameEn": "Healing Activation",
          "purpose": "Gently activates vitality, circulation imagery, and clean inner brightness.",
          "purposeEn": "Gently activates vitality, circulation imagery, and clean inner brightness."
        },
        {
          "time": 2400,
          "name": "Integrated Renewal",
          "nameEn": "Integrated Renewal",
          "purpose": "Integrates recovery into steady clarity, warmth, and grounded wellbeing.",
          "purposeEn": "Integrates recovery into steady clarity, warmth, and grounded wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, restored, clear, and renewed.",
          "purposeEn": "Completes the session calm, restored, clear, and renewed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 3.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 11.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 3.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 11,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2130,
            "value": 30
          },
          {
            "time": 2400,
            "value": 18
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 32
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2130,
            "value": 46
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 9.6
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 32
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 64
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 26
          },
          {
            "time": 2400,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 22
          },
          {
            "time": 2700,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "strengthen-immunity": {
    "title": "Immuniteit versterken (Fysiek)",
    "titleEn": "Strengthen Immunity (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van beelden van immuunkracht, diep herstel, lichamelijke veerkracht, rustige regulatie en geintegreerde beschermende vitaliteit.",
    "goalEn": "Designed to support immune-strength imagery, deep recovery, body resilience, calm regulation, and integrated protective vitality.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm recovery field.",
          "purposeEn": "Settles the body and opens a calm recovery field."
        },
        {
          "time": 300,
          "name": "Regulated Foundation",
          "nameEn": "Regulated Foundation",
          "purpose": "Builds alpha balance, breath ease, and body stability.",
          "purposeEn": "Builds alpha balance, breath ease, and body stability."
        },
        {
          "time": 720,
          "name": "Immune Recovery Descent",
          "nameEn": "Immune Recovery Descent",
          "purpose": "Guides the system into theta restoration and protective body imagery.",
          "purposeEn": "Guides the system into theta restoration and protective body imagery."
        },
        {
          "time": 1260,
          "name": "Cellular Defense Immersion",
          "nameEn": "Cellular Defense Immersion",
          "purpose": "Creates a spacious field for renewal, resilience, and deep inner protection.",
          "purposeEn": "Creates a spacious field for renewal, resilience, and deep inner protection."
        },
        {
          "time": 1860,
          "name": "Vital Defense Activation",
          "nameEn": "Vital Defense Activation",
          "purpose": "Gently activates clean strength, vitality, and protective clarity.",
          "purposeEn": "Gently activates clean strength, vitality, and protective clarity."
        },
        {
          "time": 2400,
          "name": "Resilient Integration",
          "nameEn": "Resilient Integration",
          "purpose": "Integrates recovery into grounded strength, warmth, and stable wellbeing.",
          "purposeEn": "Integrates recovery into grounded strength, warmth, and stable wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, clear, protected, and grounded.",
          "purposeEn": "Completes the session restored, clear, protected, and grounded."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2130,
            "value": 32
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2130,
            "value": 48
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 9.6
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "stress-release-1": {
    "title": "Stressverlichting (Fysiek)",
    "titleEn": "Stress Relieve (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "stress-anxiety",
    "goal": "Ontworpen ter ondersteuning van stressontlading, het tot rust brengen van het zenuwstelsel, emotionele decompressie, rustige ademhaling en gegronde innerlijke ontspanning.",
    "goalEn": "Designed to support stress release, nervous system settling, emotional decompression, calm breathing, and grounded inner ease.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body out of pressure and into a calmer sensory field.",
          "purposeEn": "Guides the body out of pressure and into a calmer sensory field."
        },
        {
          "time": 300,
          "name": "Regulation",
          "nameEn": "Regulation",
          "purpose": "Stabilizes relaxed alpha awareness and softens inner tension.",
          "purposeEn": "Stabilizes relaxed alpha awareness and softens inner tension."
        },
        {
          "time": 780,
          "name": "Release Descent",
          "nameEn": "Release Descent",
          "purpose": "Deepens into theta and promotes letting go through slower rhythmic guidance.",
          "purposeEn": "Deepens into theta and promotes letting go through slower rhythmic guidance."
        },
        {
          "time": 1320,
          "name": "Deep Unwinding",
          "nameEn": "Deep Unwinding",
          "purpose": "Creates an immersive spacious field for emotional decompression and deep relaxation.",
          "purposeEn": "Creates an immersive spacious field for emotional decompression and deep relaxation."
        },
        {
          "time": 1920,
          "name": "Calm Rebuild",
          "nameEn": "Calm Rebuild",
          "purpose": "Returns toward balanced alpha while rebuilding inner steadiness.",
          "purposeEn": "Returns toward balanced alpha while rebuilding inner steadiness."
        },
        {
          "time": 2340,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Settles the session into grounded ease and comfortable orientation.",
          "purposeEn": "Settles the session into grounded ease and comfortable orientation."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the experience calm, clear, and settled.",
          "purposeEn": "Completes the experience calm, clear, and settled."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 4.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2340,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2520,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2340,
            "value": 7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2520,
            "value": 6.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 540,
            "value": 58
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 1050,
            "value": 76
          },
          {
            "time": 1320,
            "value": 84
          },
          {
            "time": 1620,
            "value": 88
          },
          {
            "time": 1920,
            "value": 70
          },
          {
            "time": 2130,
            "value": 62
          },
          {
            "time": 2340,
            "value": 52
          },
          {
            "time": 2520,
            "value": 38
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 540,
            "value": 12
          },
          {
            "time": 780,
            "value": 6
          },
          {
            "time": 1050,
            "value": 3
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1620,
            "value": 0
          },
          {
            "time": 1920,
            "value": 8
          },
          {
            "time": 2130,
            "value": 14
          },
          {
            "time": 2340,
            "value": 8
          },
          {
            "time": 2520,
            "value": 5
          },
          {
            "time": 2700,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 1050,
            "value": 42
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1920,
            "value": 32
          },
          {
            "time": 2130,
            "value": 30
          },
          {
            "time": 2340,
            "value": 26
          },
          {
            "time": 2520,
            "value": 20
          },
          {
            "time": 2700,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 150,
            "value": 56
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1050,
            "value": 74
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1620,
            "value": 74
          },
          {
            "time": 1920,
            "value": 70
          },
          {
            "time": 2130,
            "value": 66
          },
          {
            "time": 2340,
            "value": 58
          },
          {
            "time": 2520,
            "value": 48
          },
          {
            "time": 2700,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 1050,
            "value": 26
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1920,
            "value": 20
          },
          {
            "time": 2130,
            "value": 16
          },
          {
            "time": 2340,
            "value": 12
          },
          {
            "time": 2520,
            "value": 8
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 780,
            "value": 44
          },
          {
            "time": 1050,
            "value": 54
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1620,
            "value": 70
          },
          {
            "time": 1920,
            "value": 46
          },
          {
            "time": 2130,
            "value": 34
          },
          {
            "time": 2340,
            "value": 24
          },
          {
            "time": 2520,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 540,
            "value": 3.4
          },
          {
            "time": 780,
            "value": 5.4
          },
          {
            "time": 1050,
            "value": 6.6
          },
          {
            "time": 1320,
            "value": 8.6
          },
          {
            "time": 1620,
            "value": 9.2
          },
          {
            "time": 1920,
            "value": 5
          },
          {
            "time": 2130,
            "value": 3.4
          },
          {
            "time": 2340,
            "value": 2.2
          },
          {
            "time": 2520,
            "value": 1.4
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 540,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 42
          },
          {
            "time": 780,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 54
          },
          {
            "time": 1050,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 64
          },
          {
            "time": 1320,
            "value": "#4527a0",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 74
          },
          {
            "time": 1620,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1920,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 2130,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 32
          },
          {
            "time": 2340,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2520,
            "value": "#ffe0b2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "stress-release-2": {
    "title": "Stressverlichting (Fysiek)",
    "titleEn": "Stress Relieve (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "stress-anxiety",
    "goal": "Ontworpen ter ondersteuning van stressontlading, het tot rust brengen van het zenuwstelsel, emotionele decompressie, rustige ademhaling en gegronde innerlijke ontspanning.",
    "goalEn": "Designed to support stress release, nervous system settling, emotional decompression, calm breathing, and grounded inner ease.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body out of pressure and into a calmer sensory field.",
          "purposeEn": "Guides the body out of pressure and into a calmer sensory field."
        },
        {
          "time": 300,
          "name": "Regulation",
          "nameEn": "Regulation",
          "purpose": "Stabilizes relaxed alpha awareness and softens inner tension.",
          "purposeEn": "Stabilizes relaxed alpha awareness and softens inner tension."
        },
        {
          "time": 780,
          "name": "Release Descent",
          "nameEn": "Release Descent",
          "purpose": "Deepens into theta and promotes letting go through slower rhythmic guidance.",
          "purposeEn": "Deepens into theta and promotes letting go through slower rhythmic guidance."
        },
        {
          "time": 1320,
          "name": "Deep Unwinding",
          "nameEn": "Deep Unwinding",
          "purpose": "Creates an immersive spacious field for emotional decompression and deep relaxation.",
          "purposeEn": "Creates an immersive spacious field for emotional decompression and deep relaxation."
        },
        {
          "time": 1920,
          "name": "Calm Rebuild",
          "nameEn": "Calm Rebuild",
          "purpose": "Returns toward balanced alpha while rebuilding inner steadiness.",
          "purposeEn": "Returns toward balanced alpha while rebuilding inner steadiness."
        },
        {
          "time": 2340,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Settles the session into grounded ease and comfortable orientation.",
          "purposeEn": "Settles the session into grounded ease and comfortable orientation."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the experience calm, clear, and settled.",
          "purposeEn": "Completes the experience calm, clear, and settled."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 4.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2340,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2520,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2340,
            "value": 7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2520,
            "value": 6.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 540,
            "value": 58
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 1050,
            "value": 76
          },
          {
            "time": 1320,
            "value": 84
          },
          {
            "time": 1620,
            "value": 88
          },
          {
            "time": 1920,
            "value": 70
          },
          {
            "time": 2130,
            "value": 62
          },
          {
            "time": 2340,
            "value": 52
          },
          {
            "time": 2520,
            "value": 38
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 540,
            "value": 12
          },
          {
            "time": 780,
            "value": 6
          },
          {
            "time": 1050,
            "value": 3
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1620,
            "value": 0
          },
          {
            "time": 1920,
            "value": 8
          },
          {
            "time": 2130,
            "value": 14
          },
          {
            "time": 2340,
            "value": 8
          },
          {
            "time": 2520,
            "value": 5
          },
          {
            "time": 2700,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 1050,
            "value": 42
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1920,
            "value": 32
          },
          {
            "time": 2130,
            "value": 30
          },
          {
            "time": 2340,
            "value": 26
          },
          {
            "time": 2520,
            "value": 20
          },
          {
            "time": 2700,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 150,
            "value": 56
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1050,
            "value": 74
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1620,
            "value": 74
          },
          {
            "time": 1920,
            "value": 70
          },
          {
            "time": 2130,
            "value": 66
          },
          {
            "time": 2340,
            "value": 58
          },
          {
            "time": 2520,
            "value": 48
          },
          {
            "time": 2700,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 1050,
            "value": 26
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1920,
            "value": 20
          },
          {
            "time": 2130,
            "value": 16
          },
          {
            "time": 2340,
            "value": 12
          },
          {
            "time": 2520,
            "value": 8
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 780,
            "value": 44
          },
          {
            "time": 1050,
            "value": 54
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1620,
            "value": 70
          },
          {
            "time": 1920,
            "value": 46
          },
          {
            "time": 2130,
            "value": 34
          },
          {
            "time": 2340,
            "value": 24
          },
          {
            "time": 2520,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 540,
            "value": 3.4
          },
          {
            "time": 780,
            "value": 5.4
          },
          {
            "time": 1050,
            "value": 6.6
          },
          {
            "time": 1320,
            "value": 8.6
          },
          {
            "time": 1620,
            "value": 9.2
          },
          {
            "time": 1920,
            "value": 5
          },
          {
            "time": 2130,
            "value": 3.4
          },
          {
            "time": 2340,
            "value": 2.2
          },
          {
            "time": 2520,
            "value": 1.4
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 540,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 42
          },
          {
            "time": 780,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 54
          },
          {
            "time": 1050,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 64
          },
          {
            "time": 1320,
            "value": "#4527a0",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 74
          },
          {
            "time": 1620,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1920,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 2130,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 32
          },
          {
            "time": 2340,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2520,
            "value": "#ffe0b2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "stress-response": {
    "title": "Stressrespons (Fysiek)",
    "titleEn": "Stress Response (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van een flexibele stressrespons, rustig herstel, emotionele regulatie, veerkracht van het zenuwstelsel en gegronde adaptieve balans.",
    "goalEn": "Designed to support a flexible stress response, calm recovery, emotional regulation, nervous system resilience, and grounded adaptive balance.",
    "marketplaceListingId": "",
    "carrier": 417,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and prepares a calm adaptive response.",
          "purposeEn": "Settles the body and prepares a calm adaptive response."
        },
        {
          "time": 300,
          "name": "Regulation Baseline",
          "nameEn": "Regulation Baseline",
          "purpose": "Builds alpha stability, breath ease, and emotional orientation.",
          "purposeEn": "Builds alpha stability, breath ease, and emotional orientation."
        },
        {
          "time": 720,
          "name": "Stress Discharge Descent",
          "nameEn": "Stress Discharge Descent",
          "purpose": "Guides stress energy downward into theta-based release and nervous system softening.",
          "purposeEn": "Guides stress energy downward into theta-based release and nervous system softening."
        },
        {
          "time": 1260,
          "name": "Deep Reset Plateau",
          "nameEn": "Deep Reset Plateau",
          "purpose": "Creates an immersive field for reset, recovery, and quiet adaptive balance.",
          "purposeEn": "Creates an immersive field for reset, recovery, and quiet adaptive balance."
        },
        {
          "time": 1860,
          "name": "Resilience Activation",
          "nameEn": "Resilience Activation",
          "purpose": "Gently activates clarity, confidence, and a flexible return to strength.",
          "purposeEn": "Gently activates clarity, confidence, and a flexible return to strength."
        },
        {
          "time": 2400,
          "name": "Adaptive Integration",
          "nameEn": "Adaptive Integration",
          "purpose": "Integrates calm and activation into grounded stress resilience.",
          "purposeEn": "Integrates calm and activation into grounded stress resilience."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session clear, steady, regulated, and present.",
          "purposeEn": "Completes the session clear, steady, regulated, and present."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 62
          },
          {
            "time": 2400,
            "value": 64
          },
          {
            "time": 2700,
            "value": 42
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 12
          },
          {
            "time": 720,
            "value": 6
          },
          {
            "time": 990,
            "value": 2
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2130,
            "value": 30
          },
          {
            "time": 2400,
            "value": 18
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2130,
            "value": 48
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 20
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 990,
            "value": 28
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 9.6
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 40
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.44,
            "auroraDepth": 26
          },
          {
            "time": 2400,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 22
          },
          {
            "time": 2700,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "super-antioxidant": {
    "title": "Super-antioxidant (Fysiek)",
    "titleEn": "Super-Antioxidant (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van cellulaire vernieuwingsbeelden, symbolische ontlading van oxidatieve stress, diep herstel, zuivere vitaliteit en rustige herstellende helderheid.",
    "goalEn": "Designed to support cellular renewal imagery, oxidative-stress release symbolism, deep recovery, clean vitality, and calm restorative clarity.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a clean restorative field.",
          "purposeEn": "Settles the body and opens a clean restorative field."
        },
        {
          "time": 300,
          "name": "Green Alpha Balance",
          "nameEn": "Green Alpha Balance",
          "purpose": "Builds calm coherence, body comfort, and balanced inner freshness.",
          "purposeEn": "Builds calm coherence, body comfort, and balanced inner freshness."
        },
        {
          "time": 720,
          "name": "Clearing Descent",
          "nameEn": "Clearing Descent",
          "purpose": "Guides the mind into theta-based release, purification imagery, and soft emotional clearing.",
          "purposeEn": "Guides the mind into theta-based release, purification imagery, and soft emotional clearing."
        },
        {
          "time": 1260,
          "name": "Cellular Renewal Immersion",
          "nameEn": "Cellular Renewal Immersion",
          "purpose": "Creates a spacious immersive field for renewal, repair imagery, and deep recovery.",
          "purposeEn": "Creates a spacious immersive field for renewal, repair imagery, and deep recovery."
        },
        {
          "time": 1860,
          "name": "Clean Vitality Activation",
          "nameEn": "Clean Vitality Activation",
          "purpose": "Activates bright clarity, lightness, and refreshed body awareness.",
          "purposeEn": "Activates bright clarity, lightness, and refreshed body awareness."
        },
        {
          "time": 2400,
          "name": "Radiant Integration",
          "nameEn": "Radiant Integration",
          "purpose": "Integrates recovery into calm brightness, warmth, and grounded wellbeing.",
          "purposeEn": "Integrates recovery into calm brightness, warmth, and grounded wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session fresh, clear, restored, and settled.",
          "purposeEn": "Completes the session fresh, clear, restored, and settled."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2130,
            "value": 34
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2130,
            "value": 48
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 9.6
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 22
          },
          {
            "time": 2700,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "t-cells-antobodies": {
    "title": "T-cellen en antilichamen (Fysiek)",
    "titleEn": "T-Cells & Antibodies (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van immuunresponsbeelden, beschermende innerlijke kracht, helderheid rond antilichamen, T-celvitaliteit, diep herstel en evenwichtige veerkracht.",
    "goalEn": "Designed to support immune-response imagery, protective inner strength, antibody clarity, T-cell vitality, deep recovery, and balanced resilience.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm immune-support field.",
          "purposeEn": "Settles the body and opens a calm immune-support field."
        },
        {
          "time": 300,
          "name": "Immune Baseline",
          "nameEn": "Immune Baseline",
          "purpose": "Builds alpha regulation, breath ease, and stable body awareness.",
          "purposeEn": "Builds alpha regulation, breath ease, and stable body awareness."
        },
        {
          "time": 720,
          "name": "T-Cell Recovery Descent",
          "nameEn": "T-Cell Recovery Descent",
          "purpose": "Guides the system into theta restoration and cellular-defense imagery.",
          "purposeEn": "Guides the system into theta restoration and cellular-defense imagery."
        },
        {
          "time": 1260,
          "name": "Antibody Immersion",
          "nameEn": "Antibody Immersion",
          "purpose": "Creates a spacious inner field for protective clarity, recognition, and renewal.",
          "purposeEn": "Creates a spacious inner field for protective clarity, recognition, and renewal."
        },
        {
          "time": 1860,
          "name": "Protective Vitality",
          "nameEn": "Protective Vitality",
          "purpose": "Gently activates immune-strength imagery, clean energy, and resilient brightness.",
          "purposeEn": "Gently activates immune-strength imagery, clean energy, and resilient brightness."
        },
        {
          "time": 2400,
          "name": "Resilient Integration",
          "nameEn": "Resilient Integration",
          "purpose": "Integrates protection, recovery, warmth, and grounded vitality.",
          "purposeEn": "Integrates protection, recovery, warmth, and grounded vitality."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, protected, clear, and balanced.",
          "purposeEn": "Completes the session restored, protected, clear, and balanced."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 76
          },
          {
            "time": 2130,
            "value": 66
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2130,
            "value": 34
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 38
          },
          {
            "time": 2130,
            "value": 50
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "aid-digestion": {
    "title": "Spijsvertering ondersteunen (Fysiek)",
    "titleEn": "Aid Digestion (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van lichamelijke rust, spijsverteringsgemak, beelden van buikcomfort en rustig parasympathisch herstel.",
    "goalEn": "Designed to support body settling, digestive ease, abdominal comfort imagery, and calm parasympathetic recovery.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Warm Arrival",
          "nameEn": "Warm Arrival",
          "purpose": "Guides the body into a settled and receptive state.",
          "purposeEn": "Guides the body into a settled and receptive state."
        },
        {
          "time": 300,
          "name": "Belly Ease",
          "nameEn": "Belly Ease",
          "purpose": "Promotes relaxed abdominal awareness and steady inner rhythm.",
          "purposeEn": "Promotes relaxed abdominal awareness and steady inner rhythm."
        },
        {
          "time": 780,
          "name": "Rest-and-Digest Descent",
          "nameEn": "Rest-and-Digest Descent",
          "purpose": "Deepens into theta support for quiet recovery and internal softness.",
          "purposeEn": "Deepens into theta support for quiet recovery and internal softness."
        },
        {
          "time": 1020,
          "name": "Gut Calm Immersion",
          "nameEn": "Gut Calm Immersion",
          "purpose": "Creates a spacious Infinity Ganzfeld™ plateau for comfort imagery and deep regulation.",
          "purposeEn": "Creates a spacious Infinity Ganzfeld™ plateau for comfort imagery and deep regulation."
        },
        {
          "time": 1500,
          "name": "Rhythmic Integration",
          "nameEn": "Rhythmic Integration",
          "purpose": "Stabilizes ease, flow, and balanced body awareness.",
          "purposeEn": "Stabilizes ease, flow, and balanced body awareness."
        },
        {
          "time": 1920,
          "name": "Soft Close",
          "nameEn": "Soft Close",
          "purpose": "Returns gently with grounded calm and warm clarity.",
          "purposeEn": "Returns gently with grounded calm and warm clarity."
        },
        {
          "time": 2100,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with relaxed alertness and a settled internal tone.",
          "purposeEn": "Ends with relaxed alertness and a settled internal tone."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.5,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.1,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.1,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 300,
            "value": 40
          },
          {
            "time": 540,
            "value": 54
          },
          {
            "time": 780,
            "value": 64
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1500,
            "value": 58
          },
          {
            "time": 1740,
            "value": 44
          },
          {
            "time": 1920,
            "value": 30
          },
          {
            "time": 2100,
            "value": 14
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 5
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 540,
            "value": 8
          },
          {
            "time": 780,
            "value": 6
          },
          {
            "time": 1020,
            "value": 4
          },
          {
            "time": 1260,
            "value": 4
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1920,
            "value": 5
          },
          {
            "time": 2100,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 300,
            "value": 26
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1740,
            "value": 22
          },
          {
            "time": 1920,
            "value": 16
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1500,
            "value": 64
          },
          {
            "time": 1740,
            "value": 56
          },
          {
            "time": 1920,
            "value": 44
          },
          {
            "time": 2100,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 780,
            "value": 14
          },
          {
            "time": 1020,
            "value": 12
          },
          {
            "time": 1260,
            "value": 10
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1740,
            "value": 6
          },
          {
            "time": 1920,
            "value": 4
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 1020,
            "value": 52
          },
          {
            "time": 1260,
            "value": 48
          },
          {
            "time": 1500,
            "value": 34
          },
          {
            "time": 1740,
            "value": 22
          },
          {
            "time": 1920,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.1
          },
          {
            "time": 300,
            "value": 1.8
          },
          {
            "time": 540,
            "value": 2.8
          },
          {
            "time": 780,
            "value": 4.8
          },
          {
            "time": 1020,
            "value": 6.5
          },
          {
            "time": 1260,
            "value": 5.8
          },
          {
            "time": 1500,
            "value": 3.4
          },
          {
            "time": 1740,
            "value": 1.8
          },
          {
            "time": 1920,
            "value": 1
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1c5c72",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#2fa7a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 18
          },
          {
            "time": 300,
            "value": "#42c98d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 26
          },
          {
            "time": 540,
            "value": "#3a9f6b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 780,
            "value": "#304f8f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 42
          },
          {
            "time": 1020,
            "value": "#34256e",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 50
          },
          {
            "time": 1260,
            "value": "#295f82",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 42
          },
          {
            "time": 1500,
            "value": "#38b985",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.25,
            "auroraDepth": 30
          },
          {
            "time": 1740,
            "value": "#7bcf75",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1920,
            "value": "#f0b66d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2100,
            "value": "#ffd8a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "become-superhuman": {
    "title": "Bovenmenselijke prestatie (Fysiek)",
    "titleEn": "Become Superhuman (Physical)",
    "category": "energie",
    "subcategory": "biohacking",
    "goal": "Ontworpen ter ondersteuning van uitzonderlijke focus, zelfverzekerde activatie, verhoogde drive, veerkrachtige prestatie en krachtige integratie.",
    "goalEn": "Designed to support exceptional focus, confident activation, elevated drive, resilient performance, and powerful integration.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Prime the System",
          "nameEn": "Prime the System",
          "purpose": "Establishes calm control, alert posture, and clear mental readiness.",
          "purposeEn": "Establishes calm control, alert posture, and clear mental readiness."
        },
        {
          "time": 300,
          "name": "Command Focus",
          "nameEn": "Command Focus",
          "purpose": "Builds alpha clarity into decisive attention and inner precision.",
          "purposeEn": "Builds alpha clarity into decisive attention and inner precision."
        },
        {
          "time": 780,
          "name": "Activation Ramp",
          "nameEn": "Activation Ramp",
          "purpose": "Raises energy, confidence, and momentum with controlled beta entrainment.",
          "purposeEn": "Raises energy, confidence, and momentum with controlled beta entrainment."
        },
        {
          "time": 1260,
          "name": "Peak State",
          "nameEn": "Peak State",
          "purpose": "Activates a strong performance plateau with vivid light, rhythmic drive, and sensory intensity.",
          "purposeEn": "Activates a strong performance plateau with vivid light, rhythmic drive, and sensory intensity."
        },
        {
          "time": 1740,
          "name": "Heroic Integration",
          "nameEn": "Heroic Integration",
          "purpose": "Transforms high activation into composed confidence and strategic control.",
          "purposeEn": "Transforms high activation into composed confidence and strategic control."
        },
        {
          "time": 2220,
          "name": "Stable Power",
          "nameEn": "Stable Power",
          "purpose": "Settles the system into relaxed strength, mental order, and embodied capability.",
          "purposeEn": "Settles the system into relaxed strength, mental order, and embodied capability."
        },
        {
          "time": 2700,
          "name": "Ready Close",
          "nameEn": "Ready Close",
          "purpose": "Closes with grounded alertness, clear intention, and usable energy.",
          "purposeEn": "Closes with grounded alertness, clear intention, and usable energy."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1020,
            "value": 16,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1260,
            "value": 18,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 20,
            "lightPulseShape": "square"
          },
          {
            "time": 1740,
            "value": 18.5,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 15,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 12,
            "lightPulseShape": "sine"
          },
          {
            "time": 2460,
            "value": 9.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.3,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 10.5,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 13.7,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1020,
            "value": 15.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1260,
            "value": 17.5,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 19.5,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1740,
            "value": 18,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 14.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 11.7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2460,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 540,
            "value": 62
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1020,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1500,
            "value": 92
          },
          {
            "time": 1740,
            "value": 84
          },
          {
            "time": 1980,
            "value": 68
          },
          {
            "time": 2220,
            "value": 50
          },
          {
            "time": 2460,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 780,
            "value": 26
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1260,
            "value": 42
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1740,
            "value": 34
          },
          {
            "time": 1980,
            "value": 22
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2460,
            "value": 6
          },
          {
            "time": 2700,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 300,
            "value": 36
          },
          {
            "time": 540,
            "value": 48
          },
          {
            "time": 780,
            "value": 58
          },
          {
            "time": 1020,
            "value": 66
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1500,
            "value": 78
          },
          {
            "time": 1740,
            "value": 66
          },
          {
            "time": 1980,
            "value": 50
          },
          {
            "time": 2220,
            "value": 34
          },
          {
            "time": 2460,
            "value": 22
          },
          {
            "time": 2700,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 120,
            "value": 56
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 540,
            "value": 74
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 1020,
            "value": 86
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1500,
            "value": 88
          },
          {
            "time": 1740,
            "value": 78
          },
          {
            "time": 1980,
            "value": 68
          },
          {
            "time": 2220,
            "value": 56
          },
          {
            "time": 2460,
            "value": 44
          },
          {
            "time": 2700,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 300,
            "value": 0
          },
          {
            "time": 540,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1260,
            "value": 10
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2460,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 300,
            "value": 22
          },
          {
            "time": 540,
            "value": 28
          },
          {
            "time": 780,
            "value": 18
          },
          {
            "time": 1020,
            "value": 16
          },
          {
            "time": 1260,
            "value": 24
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1740,
            "value": 40
          },
          {
            "time": 1980,
            "value": 30
          },
          {
            "time": 2220,
            "value": 18
          },
          {
            "time": 2460,
            "value": 10
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.2
          },
          {
            "time": 300,
            "value": 2
          },
          {
            "time": 540,
            "value": 2.8
          },
          {
            "time": 780,
            "value": 1.4
          },
          {
            "time": 1020,
            "value": 1.2
          },
          {
            "time": 1260,
            "value": 2.4
          },
          {
            "time": 1500,
            "value": 3
          },
          {
            "time": 1740,
            "value": 4.8
          },
          {
            "time": 1980,
            "value": 3
          },
          {
            "time": 2220,
            "value": 1.8
          },
          {
            "time": 2460,
            "value": 1
          },
          {
            "time": 2700,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#123c69",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 14
          },
          {
            "time": 120,
            "value": "#1c6fa6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.25,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#22b8c9",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.38,
            "auroraDepth": 34
          },
          {
            "time": 540,
            "value": "#36d08f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.55,
            "auroraDepth": 42
          },
          {
            "time": 780,
            "value": "#ffc247",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.75,
            "auroraDepth": 48
          },
          {
            "time": 1020,
            "value": "#ff8a2a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.95,
            "auroraDepth": 56
          },
          {
            "time": 1260,
            "value": "#ff315a",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.15,
            "auroraDepth": 68
          },
          {
            "time": 1500,
            "value": "#a72cff",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.3,
            "auroraDepth": 72
          },
          {
            "time": 1740,
            "value": "#6e45ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.9,
            "auroraDepth": 58
          },
          {
            "time": 1980,
            "value": "#2a82ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.55,
            "auroraDepth": 42
          },
          {
            "time": 2220,
            "value": "#2bd6a2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 26
          },
          {
            "time": 2460,
            "value": "#ffc66b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 14
          },
          {
            "time": 2700,
            "value": "#ffd9a1",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Ambient",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient",
      "Theta Soundscape",
      "Soft Soundscapes"
    ]
  },
  "better-endocrine-system": {
    "title": "Endocrien systeem verbeteren (Fysiek)",
    "titleEn": "Better Endocrine System (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van beelden van hormonale balans, regulatie van het zenuwstelsel, lichaamsbewustzijn, diepe regeneratie en stabiele vitaliteitsintegratie.",
    "goalEn": "Designed to support hormonal balance imagery, nervous-system regulation, body awareness, deep restoration, and steady vitality integration.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 36,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Regulated Arrival",
          "nameEn": "Regulated Arrival",
          "purpose": "Guides the body into a calm, receptive state with soft grounding and breath-like pacing.",
          "purposeEn": "Guides the body into a calm, receptive state with soft grounding and breath-like pacing."
        },
        {
          "time": 540,
          "name": "Balance Stabilization",
          "nameEn": "Balance Stabilization",
          "purpose": "Builds relaxed alpha stability and promotes balanced inner awareness.",
          "purposeEn": "Builds relaxed alpha stability and promotes balanced inner awareness."
        },
        {
          "time": 840,
          "name": "Hormonal Harmony Descent",
          "nameEn": "Hormonal Harmony Descent",
          "purpose": "Deepens into theta for coherent regulation imagery and restorative settling.",
          "purposeEn": "Deepens into theta for coherent regulation imagery and restorative settling."
        },
        {
          "time": 1140,
          "name": "Endocrine Immersion",
          "nameEn": "Endocrine Immersion",
          "purpose": "Creates a spacious Infinity Ganzfeld™ plateau for deep calm, renewal imagery, and systemic integration.",
          "purposeEn": "Creates a spacious Infinity Ganzfeld™ plateau for deep calm, renewal imagery, and systemic integration."
        },
        {
          "time": 1860,
          "name": "Vitality Integration",
          "nameEn": "Vitality Integration",
          "purpose": "Promotes warm coherence, gentle uplift, and balanced energy returning through the body.",
          "purposeEn": "Promotes warm coherence, gentle uplift, and balanced energy returning through the body."
        },
        {
          "time": 2220,
          "name": "Clear Energy Landing",
          "nameEn": "Clear Energy Landing",
          "purpose": "Stabilizes calm alertness and integrates the session into grounded wellbeing.",
          "purposeEn": "Stabilizes calm alertness and integrates the session into grounded wellbeing."
        },
        {
          "time": 2700,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with calm clarity, warmth, and steady vitality.",
          "purposeEn": "Ends with calm clarity, warmth, and steady vitality."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 540,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 9,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2700,
            "value": 10.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 540,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 8.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2700,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 840,
            "value": 46
          },
          {
            "time": 1140,
            "value": 54
          },
          {
            "time": 1500,
            "value": 56
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2220,
            "value": 38
          },
          {
            "time": 2700,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 240,
            "value": 2
          },
          {
            "time": 540,
            "value": 4
          },
          {
            "time": 840,
            "value": 5
          },
          {
            "time": 1140,
            "value": 2
          },
          {
            "time": 1500,
            "value": 1
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 840,
            "value": 27
          },
          {
            "time": 1140,
            "value": 30
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2220,
            "value": 16
          },
          {
            "time": 2700,
            "value": 3
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 28
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 540,
            "value": 60
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1140,
            "value": 66
          },
          {
            "time": 1500,
            "value": 62
          },
          {
            "time": 1860,
            "value": 58
          },
          {
            "time": 2220,
            "value": 48
          },
          {
            "time": 2700,
            "value": 18
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 540,
            "value": 12
          },
          {
            "time": 840,
            "value": 16
          },
          {
            "time": 1140,
            "value": 20
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1860,
            "value": 11
          },
          {
            "time": 2220,
            "value": 6
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 540,
            "value": 22
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1140,
            "value": 48
          },
          {
            "time": 1500,
            "value": 50
          },
          {
            "time": 1860,
            "value": 38
          },
          {
            "time": 2220,
            "value": 20
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 240,
            "value": 1.2
          },
          {
            "time": 540,
            "value": 2.1
          },
          {
            "time": 840,
            "value": 3.8
          },
          {
            "time": 1140,
            "value": 5.8
          },
          {
            "time": 1500,
            "value": 6.2
          },
          {
            "time": 1860,
            "value": 4
          },
          {
            "time": 2220,
            "value": 1.8
          },
          {
            "time": 2700,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173b57",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 10
          },
          {
            "time": 240,
            "value": "#2f8fa3",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 16
          },
          {
            "time": 540,
            "value": "#53b987",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 25
          },
          {
            "time": 840,
            "value": "#4569a0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.11,
            "auroraDepth": 32
          },
          {
            "time": 1140,
            "value": "#2c356f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.07,
            "auroraDepth": 44
          },
          {
            "time": 1500,
            "value": "#4c2b79",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 48
          },
          {
            "time": 1860,
            "value": "#69c98d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 28
          },
          {
            "time": 2220,
            "value": "#e0b85a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.09,
            "auroraDepth": 14
          },
          {
            "time": 2700,
            "value": "#f3dcc0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "boost-telomerase": {
    "title": "Telomerase versterken (Fysiek)",
    "titleEn": "Boost Telomerase (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van telomerase-activatiebeelden, diep herstel, cellulaire harmonie, veerkrachtige vitaliteit en geintegreerd langdurig welzijn.",
    "goalEn": "Designed to support telomerase activation imagery, deep recovery, cellular harmony, resilient vitality, and integrated long-term wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm field for renewal imagery.",
          "purposeEn": "Settles the body and opens a calm field for renewal imagery."
        },
        {
          "time": 300,
          "name": "Coherent Foundation",
          "nameEn": "Coherent Foundation",
          "purpose": "Builds alpha balance, body safety, and steady heart-centered regulation.",
          "purposeEn": "Builds alpha balance, body safety, and steady heart-centered regulation."
        },
        {
          "time": 720,
          "name": "Telomerase Renewal Descent",
          "nameEn": "Telomerase Renewal Descent",
          "purpose": "Guides the system into theta restoration and constructive cellular activation imagery.",
          "purposeEn": "Guides the system into theta restoration and constructive cellular activation imagery."
        },
        {
          "time": 1260,
          "name": "Regenerative Immersion",
          "nameEn": "Regenerative Immersion",
          "purpose": "Creates a spacious field for repair imagery, resilience, and deep adaptive renewal.",
          "purposeEn": "Creates a spacious field for repair imagery, resilience, and deep adaptive renewal."
        },
        {
          "time": 1860,
          "name": "Vital Enzyme Activation",
          "nameEn": "Vital Enzyme Activation",
          "purpose": "Gently activates clear vitality, bright renewal, and constructive life force.",
          "purposeEn": "Gently activates clear vitality, bright renewal, and constructive life force."
        },
        {
          "time": 2400,
          "name": "Integrated Renewal",
          "nameEn": "Integrated Renewal",
          "purpose": "Integrates recovery and vitality into grounded balance and stable wellbeing.",
          "purposeEn": "Integrates recovery and vitality into grounded balance and stable wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, clear, protected, and renewed.",
          "purposeEn": "Completes the session restored, clear, protected, and renewed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 76
          },
          {
            "time": 2130,
            "value": 66
          },
          {
            "time": 2400,
            "value": 68
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2130,
            "value": 34
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 38
          },
          {
            "time": 2130,
            "value": 50
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.44,
            "auroraDepth": 30
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "cure-headaches": {
    "title": "Hoofdpijn verlichten (Fysiek)",
    "titleEn": "Cure Headaches (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van hoofdcomfort, het tot rust brengen van het zenuwstelsel, sensorische decompressie en een heldere, gegronde terugkeer naar ontspanning.",
    "goalEn": "Designed to support head comfort, nervous-system settling, sensory decompression, and a clear, grounded return to ease.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Quiet Arrival",
          "nameEn": "Quiet Arrival",
          "purpose": "Guides the head, eyes, jaw, neck, and shoulders into a softer sensory field.",
          "purposeEn": "Guides the head, eyes, jaw, neck, and shoulders into a softer sensory field."
        },
        {
          "time": 420,
          "name": "Release and Soften",
          "nameEn": "Release and Soften",
          "purpose": "Promotes calm alpha-theta transition and reduces cognitive pressure.",
          "purposeEn": "Promotes calm alpha-theta transition and reduces cognitive pressure."
        },
        {
          "time": 660,
          "name": "Comfort Descent",
          "nameEn": "Comfort Descent",
          "purpose": "Deepens relaxation with spacious sound and gentle light rhythm.",
          "purposeEn": "Deepens relaxation with spacious sound and gentle light rhythm."
        },
        {
          "time": 900,
          "name": "Sensory Cocoon",
          "nameEn": "Sensory Cocoon",
          "purpose": "Creates an immersive low-stimulation plateau for stillness, comfort, and inward quiet.",
          "purposeEn": "Creates an immersive low-stimulation plateau for stillness, comfort, and inward quiet."
        },
        {
          "time": 1500,
          "name": "Clear Integration",
          "nameEn": "Clear Integration",
          "purpose": "Builds a balanced return toward clarity and relaxed alertness.",
          "purposeEn": "Builds a balanced return toward clarity and relaxed alertness."
        },
        {
          "time": 1800,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Stabilizes comfort, warmth, and grounded presence.",
          "purposeEn": "Stabilizes comfort, warmth, and grounded presence."
        },
        {
          "time": 2100,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with a clear, calm, and settled state.",
          "purposeEn": "Ends with a clear, calm, and settled state."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 420,
            "value": 28
          },
          {
            "time": 660,
            "value": 38
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1200,
            "value": 48
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1800,
            "value": 24
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 2
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 900,
            "value": 1
          },
          {
            "time": 1200,
            "value": 0
          },
          {
            "time": 1500,
            "value": 2
          },
          {
            "time": 1800,
            "value": 3
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 660,
            "value": 24
          },
          {
            "time": 900,
            "value": 26
          },
          {
            "time": 1200,
            "value": 22
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1800,
            "value": 11
          },
          {
            "time": 2100,
            "value": 3
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 28
          },
          {
            "time": 180,
            "value": 44
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 660,
            "value": 64
          },
          {
            "time": 900,
            "value": 62
          },
          {
            "time": 1200,
            "value": 58
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1800,
            "value": 40
          },
          {
            "time": 2100,
            "value": 18
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 660,
            "value": 15
          },
          {
            "time": 900,
            "value": 18
          },
          {
            "time": 1200,
            "value": 16
          },
          {
            "time": 1500,
            "value": 9
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1200,
            "value": 48
          },
          {
            "time": 1500,
            "value": 34
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.5
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 1.8
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 900,
            "value": 5.2
          },
          {
            "time": 1200,
            "value": 5.8
          },
          {
            "time": 1500,
            "value": 3.6
          },
          {
            "time": 1800,
            "value": 1.5
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#243b55",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 8
          },
          {
            "time": 180,
            "value": "#2f7f9f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 420,
            "value": "#4bb7a8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 22
          },
          {
            "time": 660,
            "value": "#4966b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 30
          },
          {
            "time": 900,
            "value": "#2d286d",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.07,
            "auroraDepth": 36
          },
          {
            "time": 1200,
            "value": "#1c204c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 42
          },
          {
            "time": 1500,
            "value": "#5e8fc8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.11,
            "auroraDepth": 24
          },
          {
            "time": 1800,
            "value": "#b7d7c7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 10
          },
          {
            "time": 2100,
            "value": "#f0dfc6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone"
    ]
  },
  "ease-muscle-tension": {
    "title": "Spierspanning verzachten (Fysiek)",
    "titleEn": "Ease Muscle Tension (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van fysiek loslaten, zachtere spieren, lichaamscomfort, gegronde ontspanning en rustig herstel.",
    "goalEn": "Designed to support physical unwinding, muscular softness, body comfort, grounded relaxation, and calm recovery.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 34,
    "colorCrossfadeSeconds": 80,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Body Arrival",
          "nameEn": "Body Arrival",
          "purpose": "Guides attention into the body and begins gentle muscular release.",
          "purposeEn": "Guides attention into the body and begins gentle muscular release."
        },
        {
          "time": 420,
          "name": "Somatic Softening",
          "nameEn": "Somatic Softening",
          "purpose": "Promotes relaxed alpha stability and reduces surface tension.",
          "purposeEn": "Promotes relaxed alpha stability and reduces surface tension."
        },
        {
          "time": 720,
          "name": "Deep Unwinding",
          "nameEn": "Deep Unwinding",
          "purpose": "Deepens into theta pacing with warmer colors and slower sensory flow.",
          "purposeEn": "Deepens into theta pacing with warmer colors and slower sensory flow."
        },
        {
          "time": 1020,
          "name": "Comfort Plateau",
          "nameEn": "Comfort Plateau",
          "purpose": "Creates an immersive field for heavy, comfortable, full-body relaxation.",
          "purposeEn": "Creates an immersive field for heavy, comfortable, full-body relaxation."
        },
        {
          "time": 1620,
          "name": "Recovery Integration",
          "nameEn": "Recovery Integration",
          "purpose": "Stabilizes comfort and reconnects breath, posture, and body awareness.",
          "purposeEn": "Stabilizes comfort and reconnects breath, posture, and body awareness."
        },
        {
          "time": 1860,
          "name": "Gentle Landing",
          "nameEn": "Gentle Landing",
          "purpose": "Eases stimulation downward and leaves a grounded relaxed tone.",
          "purposeEn": "Eases stimulation downward and leaves a grounded relaxed tone."
        },
        {
          "time": 2100,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with settled body comfort and quiet clarity.",
          "purposeEn": "Ends with settled body comfort and quiet clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.1,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.5,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1320,
            "value": 56
          },
          {
            "time": 1620,
            "value": 44
          },
          {
            "time": 1860,
            "value": 28
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 2
          },
          {
            "time": 720,
            "value": 1
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1620,
            "value": 2
          },
          {
            "time": 1860,
            "value": 3
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 9
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 1020,
            "value": 27
          },
          {
            "time": 1320,
            "value": 25
          },
          {
            "time": 1620,
            "value": 18
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2100,
            "value": 2
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 180,
            "value": 43
          },
          {
            "time": 420,
            "value": 56
          },
          {
            "time": 720,
            "value": 63
          },
          {
            "time": 1020,
            "value": 66
          },
          {
            "time": 1320,
            "value": 62
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1860,
            "value": 40
          },
          {
            "time": 2100,
            "value": 14
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 9
          },
          {
            "time": 420,
            "value": 15
          },
          {
            "time": 720,
            "value": 19
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1620,
            "value": 13
          },
          {
            "time": 1860,
            "value": 6
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 11
          },
          {
            "time": 420,
            "value": 21
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1020,
            "value": 52
          },
          {
            "time": 1320,
            "value": 50
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1860,
            "value": 16
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 180,
            "value": 1.1
          },
          {
            "time": 420,
            "value": 2.3
          },
          {
            "time": 720,
            "value": 3.5
          },
          {
            "time": 1020,
            "value": 6
          },
          {
            "time": 1320,
            "value": 5.8
          },
          {
            "time": 1620,
            "value": 3.8
          },
          {
            "time": 1860,
            "value": 1.6
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#16324a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.07,
            "auroraDepth": 8
          },
          {
            "time": 180,
            "value": "#2b6f7f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.09,
            "auroraDepth": 14
          },
          {
            "time": 420,
            "value": "#3fa68e",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.11,
            "auroraDepth": 22
          },
          {
            "time": 720,
            "value": "#4c6f9f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.09,
            "auroraDepth": 30
          },
          {
            "time": 1020,
            "value": "#2b2d62",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#3b265b",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 44
          },
          {
            "time": 1620,
            "value": "#5e8f72",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 24
          },
          {
            "time": 1860,
            "value": "#c79b63",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 12
          },
          {
            "time": 2100,
            "value": "#ead7c4",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "extinguish-inflammation": {
    "title": "Ontsteking tot rust brengen (Fysiek)",
    "titleEn": "Extinguish Inflammation (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van verkoelende regulatie, lichaamscomfort, beelden van ontstekingsontlading, diep herstel, evenwichtige veerkracht en geintegreerd welzijn.",
    "goalEn": "Designed to support cooling regulation, body comfort, inflammatory-release imagery, deep recovery, balanced resilience, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a cooling recovery field.",
          "purposeEn": "Settles the body and opens a cooling recovery field."
        },
        {
          "time": 300,
          "name": "Cooling Regulation",
          "nameEn": "Cooling Regulation",
          "purpose": "Builds alpha balance, comfort, and steady nervous-system settling.",
          "purposeEn": "Builds alpha balance, comfort, and steady nervous-system settling."
        },
        {
          "time": 720,
          "name": "Inflammation Release Descent",
          "nameEn": "Inflammation Release Descent",
          "purpose": "Guides the body into theta restoration and release imagery.",
          "purposeEn": "Guides the body into theta restoration and release imagery."
        },
        {
          "time": 1260,
          "name": "Deep Cooling Immersion",
          "nameEn": "Deep Cooling Immersion",
          "purpose": "Creates a spacious field for soothing, repair imagery, and inner quiet.",
          "purposeEn": "Creates a spacious field for soothing, repair imagery, and inner quiet."
        },
        {
          "time": 1860,
          "name": "Clear Recovery Activation",
          "nameEn": "Clear Recovery Activation",
          "purpose": "Gently activates clarity, balanced vitality, and clean body strength.",
          "purposeEn": "Gently activates clarity, balanced vitality, and clean body strength."
        },
        {
          "time": 2400,
          "name": "Comfort Integration",
          "nameEn": "Comfort Integration",
          "purpose": "Integrates cooling relief imagery, grounded stability, and warm wellbeing.",
          "purposeEn": "Integrates cooling relief imagery, grounded stability, and warm wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, clear, comfortable, and restored.",
          "purposeEn": "Completes the session calm, clear, comfortable, and restored."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 5.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 60
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 58
          },
          {
            "time": 2400,
            "value": 62
          },
          {
            "time": 2700,
            "value": 42
          },
          {
            "time": 3000,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 6
          },
          {
            "time": 990,
            "value": 2
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2130,
            "value": 20
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          },
          {
            "time": 3000,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 20
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 510,
            "value": 34
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 990,
            "value": 44
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1560,
            "value": 32
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2130,
            "value": 40
          },
          {
            "time": 2400,
            "value": 30
          },
          {
            "time": 2700,
            "value": 20
          },
          {
            "time": 3000,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 52
          },
          {
            "time": 300,
            "value": 60
          },
          {
            "time": 510,
            "value": 64
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 70
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 62
          },
          {
            "time": 2700,
            "value": 48
          },
          {
            "time": 3000,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 990,
            "value": 28
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1560,
            "value": 38
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 12
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 990,
            "value": 58
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1860,
            "value": 46
          },
          {
            "time": 2130,
            "value": 20
          },
          {
            "time": 2400,
            "value": 32
          },
          {
            "time": 2700,
            "value": 16
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.8
          },
          {
            "time": 990,
            "value": 7.2
          },
          {
            "time": 1260,
            "value": 9.2
          },
          {
            "time": 1560,
            "value": 10
          },
          {
            "time": 1860,
            "value": 4.8
          },
          {
            "time": 2130,
            "value": 2
          },
          {
            "time": 2400,
            "value": 3.4
          },
          {
            "time": 2700,
            "value": 1.6
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#184e77",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#2dd4bf",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#3f7cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#536dfe",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 64
          },
          {
            "time": 1260,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#1a237e",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#b2ebf2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 26
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 22
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "fortify-brain": {
    "title": "Brein versterken (Fysiek)",
    "titleEn": "Fortify Brain (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van beelden van hersenveerkracht, rustige helderheid, cognitieve stabiliteit, neuraal herstel, gerichte vitaliteit en geintegreerde mentale kracht.",
    "goalEn": "Designed to support brain resilience imagery, calm clarity, cognitive steadiness, neural recovery, focused vitality, and integrated mental strength.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the nervous system and opens a calm field for brain resilience.",
          "purposeEn": "Settles the nervous system and opens a calm field for brain resilience."
        },
        {
          "time": 300,
          "name": "Clear Stability",
          "nameEn": "Clear Stability",
          "purpose": "Builds relaxed alpha clarity, steady attention, and mental organization.",
          "purposeEn": "Builds relaxed alpha clarity, steady attention, and mental organization."
        },
        {
          "time": 720,
          "name": "Neural Recovery Descent",
          "nameEn": "Neural Recovery Descent",
          "purpose": "Guides the system into theta restoration and protective inner quiet.",
          "purposeEn": "Guides the system into theta restoration and protective inner quiet."
        },
        {
          "time": 1260,
          "name": "Fortification Immersion",
          "nameEn": "Fortification Immersion",
          "purpose": "Creates a spacious recovery field for neural strength imagery and deep integration.",
          "purposeEn": "Creates a spacious recovery field for neural strength imagery and deep integration."
        },
        {
          "time": 1860,
          "name": "Cognitive Vitality Activation",
          "nameEn": "Cognitive Vitality Activation",
          "purpose": "Activates clear energy, mental brightness, and confident cognitive presence.",
          "purposeEn": "Activates clear energy, mental brightness, and confident cognitive presence."
        },
        {
          "time": 2400,
          "name": "Resilient Integration",
          "nameEn": "Resilient Integration",
          "purpose": "Integrates calm focus, brain strength, emotional steadiness, and grounded clarity.",
          "purposeEn": "Integrates calm focus, brain strength, emotional steadiness, and grounded clarity."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session clear, stable, restored, and mentally fortified.",
          "purposeEn": "Completes the session clear, stable, restored, and mentally fortified."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 11,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 50
          },
          {
            "time": 510,
            "value": 64
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1260,
            "value": 84
          },
          {
            "time": 1560,
            "value": 86
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 76
          },
          {
            "time": 2400,
            "value": 64
          },
          {
            "time": 2700,
            "value": 42
          },
          {
            "time": 3000,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 8
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 510,
            "value": 22
          },
          {
            "time": 720,
            "value": 10
          },
          {
            "time": 990,
            "value": 4
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 18
          },
          {
            "time": 2130,
            "value": 42
          },
          {
            "time": 2400,
            "value": 28
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 510,
            "value": 38
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 990,
            "value": 44
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1560,
            "value": 32
          },
          {
            "time": 1860,
            "value": 40
          },
          {
            "time": 2130,
            "value": 56
          },
          {
            "time": 2400,
            "value": 40
          },
          {
            "time": 2700,
            "value": 24
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 70
          },
          {
            "time": 2400,
            "value": 64
          },
          {
            "time": 2700,
            "value": 48
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 18
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 10
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 44
          },
          {
            "time": 2130,
            "value": 20
          },
          {
            "time": 2400,
            "value": 32
          },
          {
            "time": 2700,
            "value": 16
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 4.8
          },
          {
            "time": 2130,
            "value": 2.1
          },
          {
            "time": 2400,
            "value": 3.6
          },
          {
            "time": 2700,
            "value": 1.7
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#536dfe",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#3949ab",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#1a237e",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00e5ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 32
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "harness-the-breath": {
    "title": "De adem benutten (Fysiek)",
    "titleEn": "Harness the Breath (Physical)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van adembewustzijn, ritmische regulatie, rustige focus, lichamelijke rust, emotionele balans en geintegreerde innerlijke stabiliteit.",
    "goalEn": "Designed to support breath awareness, rhythmic regulation, calm focus, body settling, emotional balance, and integrated inner steadiness.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and introduces the breath as a steady anchor.",
          "purposeEn": "Settles the body and introduces the breath as a steady anchor."
        },
        {
          "time": 300,
          "name": "Breath Coherence",
          "nameEn": "Breath Coherence",
          "purpose": "Builds calm alpha rhythm, smooth pacing, and relaxed attention.",
          "purposeEn": "Builds calm alpha rhythm, smooth pacing, and relaxed attention."
        },
        {
          "time": 780,
          "name": "Deep Breath Descent",
          "nameEn": "Deep Breath Descent",
          "purpose": "Guides the breath into a slower theta field for inward regulation.",
          "purposeEn": "Guides the breath into a slower theta field for inward regulation."
        },
        {
          "time": 1380,
          "name": "Stillness Immersion",
          "nameEn": "Stillness Immersion",
          "purpose": "Creates a spacious breath-led plateau for inner quiet and deep settling.",
          "purposeEn": "Creates a spacious breath-led plateau for inner quiet and deep settling."
        },
        {
          "time": 1980,
          "name": "Integrated Breath Power",
          "nameEn": "Integrated Breath Power",
          "purpose": "Brings the breath back into clear presence, balance, and grounded vitality.",
          "purposeEn": "Brings the breath back into clear presence, balance, and grounded vitality."
        },
        {
          "time": 2520,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Softens the breath rhythm and integrates calm steadiness.",
          "purposeEn": "Softens the breath rhythm and integrates calm steadiness."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, centered, steady, and clear.",
          "purposeEn": "Completes the session calm, centered, steady, and clear."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2520,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2520,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 300,
            "value": 44
          },
          {
            "time": 540,
            "value": 56
          },
          {
            "time": 780,
            "value": 70
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1380,
            "value": 88
          },
          {
            "time": 1680,
            "value": 82
          },
          {
            "time": 1980,
            "value": 66
          },
          {
            "time": 2280,
            "value": 54
          },
          {
            "time": 2520,
            "value": 34
          },
          {
            "time": 2700,
            "value": 14
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 120,
            "value": 5
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 780,
            "value": 8
          },
          {
            "time": 1080,
            "value": 3
          },
          {
            "time": 1380,
            "value": 0
          },
          {
            "time": 1680,
            "value": 2
          },
          {
            "time": 1980,
            "value": 10
          },
          {
            "time": 2280,
            "value": 18
          },
          {
            "time": 2520,
            "value": 6
          },
          {
            "time": 2700,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 780,
            "value": 40
          },
          {
            "time": 1080,
            "value": 44
          },
          {
            "time": 1380,
            "value": 36
          },
          {
            "time": 1680,
            "value": 34
          },
          {
            "time": 1980,
            "value": 32
          },
          {
            "time": 2280,
            "value": 30
          },
          {
            "time": 2520,
            "value": 18
          },
          {
            "time": 2700,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 120,
            "value": 50
          },
          {
            "time": 300,
            "value": 60
          },
          {
            "time": 540,
            "value": 64
          },
          {
            "time": 780,
            "value": 70
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1680,
            "value": 72
          },
          {
            "time": 1980,
            "value": 66
          },
          {
            "time": 2280,
            "value": 58
          },
          {
            "time": 2520,
            "value": 42
          },
          {
            "time": 2700,
            "value": 26
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 540,
            "value": 16
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1680,
            "value": 22
          },
          {
            "time": 1980,
            "value": 14
          },
          {
            "time": 2280,
            "value": 0
          },
          {
            "time": 2520,
            "value": 8
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 1080,
            "value": 58
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1680,
            "value": 58
          },
          {
            "time": 1980,
            "value": 38
          },
          {
            "time": 2280,
            "value": 20
          },
          {
            "time": 2520,
            "value": 12
          },
          {
            "time": 2700,
            "value": 5
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 120,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 540,
            "value": 3.2
          },
          {
            "time": 780,
            "value": 5.4
          },
          {
            "time": 1080,
            "value": 7
          },
          {
            "time": 1380,
            "value": 9.2
          },
          {
            "time": 1680,
            "value": 7
          },
          {
            "time": 1980,
            "value": 4
          },
          {
            "time": 2280,
            "value": 2
          },
          {
            "time": 2520,
            "value": 1.2
          },
          {
            "time": 2700,
            "value": 0.7
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 20
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 540,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 40
          },
          {
            "time": 780,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 1080,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 64
          },
          {
            "time": 1380,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 1680,
            "value": "#1a237e",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 80
          },
          {
            "time": 1980,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 44
          },
          {
            "time": 2280,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 24
          },
          {
            "time": 2520,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 2700,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "heal-the-gut": {
    "title": "Darmherstel ondersteunen (Fysiek)",
    "titleEn": "Heal the Gut (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van beelden van darmcomfort, parasympathische rust, spijsverteringsharmonie, diep herstel, emotionele veiligheid en geintegreerd welzijn.",
    "goalEn": "Designed to support gut comfort imagery, parasympathetic settling, digestive harmony, deep recovery, emotional safety, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a gentle field for digestive comfort.",
          "purposeEn": "Settles the body and opens a gentle field for digestive comfort."
        },
        {
          "time": 300,
          "name": "Belly Safety",
          "nameEn": "Belly Safety",
          "purpose": "Builds alpha calm, soft abdominal awareness, and grounded safety.",
          "purposeEn": "Builds alpha calm, soft abdominal awareness, and grounded safety."
        },
        {
          "time": 720,
          "name": "Digestive Harmony Descent",
          "nameEn": "Digestive Harmony Descent",
          "purpose": "Guides the system into theta restoration, warmth, and gut-soothing imagery.",
          "purposeEn": "Guides the system into theta restoration, warmth, and gut-soothing imagery."
        },
        {
          "time": 1260,
          "name": "Gut Renewal Immersion",
          "nameEn": "Gut Renewal Immersion",
          "purpose": "Creates a spacious field for repair imagery, microbiome balance, and deep inner quiet.",
          "purposeEn": "Creates a spacious field for repair imagery, microbiome balance, and deep inner quiet."
        },
        {
          "time": 1860,
          "name": "Vagal Flow Activation",
          "nameEn": "Vagal Flow Activation",
          "purpose": "Gently activates relaxed flow, digestive rhythm, and clean body vitality.",
          "purposeEn": "Gently activates relaxed flow, digestive rhythm, and clean body vitality."
        },
        {
          "time": 2400,
          "name": "Comfort Integration",
          "nameEn": "Comfort Integration",
          "purpose": "Integrates gut comfort, grounded warmth, and stable wellbeing.",
          "purposeEn": "Integrates gut comfort, grounded warmth, and stable wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, warm, comfortable, and restored.",
          "purposeEn": "Completes the session calm, warm, comfortable, and restored."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 5.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 60
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 58
          },
          {
            "time": 2400,
            "value": 62
          },
          {
            "time": 2700,
            "value": 42
          },
          {
            "time": 3000,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 150,
            "value": 5
          },
          {
            "time": 300,
            "value": 9
          },
          {
            "time": 510,
            "value": 12
          },
          {
            "time": 720,
            "value": 6
          },
          {
            "time": 990,
            "value": 2
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2130,
            "value": 18
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 6
          },
          {
            "time": 3000,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 20
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 510,
            "value": 34
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 990,
            "value": 44
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1560,
            "value": 32
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2130,
            "value": 38
          },
          {
            "time": 2400,
            "value": 30
          },
          {
            "time": 2700,
            "value": 20
          },
          {
            "time": 3000,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 52
          },
          {
            "time": 300,
            "value": 60
          },
          {
            "time": 510,
            "value": 64
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 70
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 62
          },
          {
            "time": 2700,
            "value": 48
          },
          {
            "time": 3000,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 990,
            "value": 28
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1560,
            "value": 38
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 12
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 990,
            "value": 58
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1860,
            "value": 46
          },
          {
            "time": 2130,
            "value": 20
          },
          {
            "time": 2400,
            "value": 32
          },
          {
            "time": 2700,
            "value": 16
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.8
          },
          {
            "time": 990,
            "value": 7.2
          },
          {
            "time": 1260,
            "value": 9.2
          },
          {
            "time": 1560,
            "value": 10
          },
          {
            "time": 1860,
            "value": 4.8
          },
          {
            "time": 2130,
            "value": 2
          },
          {
            "time": 2400,
            "value": 3.4
          },
          {
            "time": 2700,
            "value": 1.6
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2e6f95",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 14
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#2dd4bf",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#3f7cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#536dfe",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 64
          },
          {
            "time": 1260,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#1a237e",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.06,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#a5d6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 26
          },
          {
            "time": 2400,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 22
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "healing-sleep": {
    "title": "Herstellende slaap (Fysiek)",
    "titleEn": "Healing Sleep (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "sleep",
    "goal": "Ontworpen om het lichaam te begeleiden naar diepe slaap, herstellende stilte, fysiek comfort, rust in het zenuwstelsel en stille herstelbeelden.",
    "goalEn": "Designed to guide the body into deep sleep, restorative stillness, physical comfort, nervous system settling, and quiet recovery imagery.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 36,
    "colorCrossfadeSeconds": 75,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3600,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body, softens attention, and opens a calm sleep pathway.",
          "purposeEn": "Settles the body, softens attention, and opens a calm sleep pathway."
        },
        {
          "time": 420,
          "name": "Sleep Descent",
          "nameEn": "Sleep Descent",
          "purpose": "Guides relaxed alpha into early theta for effortless letting go.",
          "purposeEn": "Guides relaxed alpha into early theta for effortless letting go."
        },
        {
          "time": 1020,
          "name": "Restorative Deepening",
          "nameEn": "Restorative Deepening",
          "purpose": "Deepens theta calm, body comfort, and healing sleep imagery.",
          "purposeEn": "Deepens theta calm, body comfort, and healing sleep imagery."
        },
        {
          "time": 1680,
          "name": "Delta Immersion",
          "nameEn": "Delta Immersion",
          "purpose": "Moves into slow delta stillness with spacious, protected sensory quiet.",
          "purposeEn": "Moves into slow delta stillness with spacious, protected sensory quiet."
        },
        {
          "time": 2400,
          "name": "Healing Sleep Plateau",
          "nameEn": "Healing Sleep Plateau",
          "purpose": "Stabilizes deep rest, recovery imagery, and very slow rhythmic settling.",
          "purposeEn": "Stabilizes deep rest, recovery imagery, and very slow rhythmic settling."
        },
        {
          "time": 3180,
          "name": "Quiet Integration",
          "nameEn": "Quiet Integration",
          "purpose": "Reduces stimulation while preserving soft recovery and sleep continuity.",
          "purposeEn": "Reduces stimulation while preserving soft recovery and sleep continuity."
        },
        {
          "time": 3600,
          "name": "Sleep Continuation",
          "nameEn": "Sleep Continuation",
          "purpose": "Closes into darkness, warmth, and uninterrupted restorative sleep.",
          "purposeEn": "Closes into darkness, warmth, and uninterrupted restorative sleep."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 3.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 2.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 2.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2820,
            "value": 2,
            "lightPulseShape": "sine"
          },
          {
            "time": 3180,
            "value": 1.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3420,
            "value": 1.3,
            "lightPulseShape": "sine"
          },
          {
            "time": 3600,
            "value": 1.1,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 3.2,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 2.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 2.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2820,
            "value": 1.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3180,
            "value": 1.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3420,
            "value": 1.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3600,
            "value": 1,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 1020,
            "value": 56
          },
          {
            "time": 1320,
            "value": 62
          },
          {
            "time": 1680,
            "value": 66
          },
          {
            "time": 2040,
            "value": 64
          },
          {
            "time": 2400,
            "value": 58
          },
          {
            "time": 2820,
            "value": 44
          },
          {
            "time": 3180,
            "value": 30
          },
          {
            "time": 3420,
            "value": 16
          },
          {
            "time": 3600,
            "value": 4
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 4
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 720,
            "value": 4
          },
          {
            "time": 1020,
            "value": 2
          },
          {
            "time": 1320,
            "value": 1
          },
          {
            "time": 1680,
            "value": 0
          },
          {
            "time": 2040,
            "value": 0
          },
          {
            "time": 2400,
            "value": 0
          },
          {
            "time": 2820,
            "value": 0
          },
          {
            "time": 3180,
            "value": 0
          },
          {
            "time": 3420,
            "value": 0
          },
          {
            "time": 3600,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 26
          },
          {
            "time": 720,
            "value": 32
          },
          {
            "time": 1020,
            "value": 36
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1680,
            "value": 30
          },
          {
            "time": 2040,
            "value": 26
          },
          {
            "time": 2400,
            "value": 22
          },
          {
            "time": 2820,
            "value": 16
          },
          {
            "time": 3180,
            "value": 10
          },
          {
            "time": 3420,
            "value": 6
          },
          {
            "time": 3600,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 180,
            "value": 50
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1320,
            "value": 74
          },
          {
            "time": 1680,
            "value": 72
          },
          {
            "time": 2040,
            "value": 68
          },
          {
            "time": 2400,
            "value": 60
          },
          {
            "time": 2820,
            "value": 46
          },
          {
            "time": 3180,
            "value": 32
          },
          {
            "time": 3420,
            "value": 20
          },
          {
            "time": 3600,
            "value": 8
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 1020,
            "value": 26
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1680,
            "value": 32
          },
          {
            "time": 2040,
            "value": 36
          },
          {
            "time": 2400,
            "value": 30
          },
          {
            "time": 2820,
            "value": 22
          },
          {
            "time": 3180,
            "value": 14
          },
          {
            "time": 3420,
            "value": 8
          },
          {
            "time": 3600,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1020,
            "value": 48
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 2040,
            "value": 78
          },
          {
            "time": 2400,
            "value": 74
          },
          {
            "time": 2820,
            "value": 56
          },
          {
            "time": 3180,
            "value": 36
          },
          {
            "time": 3420,
            "value": 18
          },
          {
            "time": 3600,
            "value": 4
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.9
          },
          {
            "time": 180,
            "value": 1.4
          },
          {
            "time": 420,
            "value": 2.4
          },
          {
            "time": 720,
            "value": 3.6
          },
          {
            "time": 1020,
            "value": 5.4
          },
          {
            "time": 1320,
            "value": 6.8
          },
          {
            "time": 1680,
            "value": 8.4
          },
          {
            "time": 2040,
            "value": 9.6
          },
          {
            "time": 2400,
            "value": 9
          },
          {
            "time": 2820,
            "value": 6.2
          },
          {
            "time": 3180,
            "value": 3.6
          },
          {
            "time": 3420,
            "value": 1.6
          },
          {
            "time": 3600,
            "value": 0.5
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#163b73",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 12
          },
          {
            "time": 180,
            "value": "#234f9c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 420,
            "value": "#245f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 24
          },
          {
            "time": 720,
            "value": "#2c7c8c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 32
          },
          {
            "time": 1020,
            "value": "#31578f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 44
          },
          {
            "time": 1320,
            "value": "#3d3a8f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 54
          },
          {
            "time": 1680,
            "value": "#24165f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 64
          },
          {
            "time": 2040,
            "value": "#151044",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.05,
            "auroraDepth": 58
          },
          {
            "time": 2400,
            "value": "#0c1238",
            "ganzfeldMode": true,
            "auroraMode": "subtle",
            "auroraSpeed": 0.05,
            "auroraDepth": 42
          },
          {
            "time": 2820,
            "value": "#10182f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 24
          },
          {
            "time": 3180,
            "value": "#182034",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.05,
            "auroraDepth": 12
          },
          {
            "time": 3420,
            "value": "#121722",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 3600,
            "value": "#080b10",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3600,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone"
    ]
  },
  "healthy-chemicals": {
    "title": "Gezonde chemie (Fysiek)",
    "titleEn": "Healthy Chemicals (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van beelden van evenwichtige innerlijke chemie, emotionele regulatie, rustige positiviteit, heldere vitaliteit, diep herstel en geintegreerd welzijn.",
    "goalEn": "Designed to support balanced inner chemistry imagery, emotional regulation, calm positivity, clear vitality, deep recovery, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm field for balanced inner chemistry imagery.",
          "purposeEn": "Settles the body and opens a calm field for balanced inner chemistry imagery."
        },
        {
          "time": 300,
          "name": "Chemical Coherence",
          "nameEn": "Chemical Coherence",
          "purpose": "Builds alpha balance, emotional steadiness, and relaxed clarity.",
          "purposeEn": "Builds alpha balance, emotional steadiness, and relaxed clarity."
        },
        {
          "time": 720,
          "name": "Regulation Descent",
          "nameEn": "Regulation Descent",
          "purpose": "Guides the system into theta restoration and smooth internal regulation.",
          "purposeEn": "Guides the system into theta restoration and smooth internal regulation."
        },
        {
          "time": 1260,
          "name": "Balanced Chemistry Immersion",
          "nameEn": "Balanced Chemistry Immersion",
          "purpose": "Creates a spacious field for deep recovery, emotional harmony, and positive inner recalibration.",
          "purposeEn": "Creates a spacious field for deep recovery, emotional harmony, and positive inner recalibration."
        },
        {
          "time": 1860,
          "name": "Positive Vitality Activation",
          "nameEn": "Positive Vitality Activation",
          "purpose": "Gently activates brightness, motivation, and clean balanced energy.",
          "purposeEn": "Gently activates brightness, motivation, and clean balanced energy."
        },
        {
          "time": 2400,
          "name": "Integrated Balance",
          "nameEn": "Integrated Balance",
          "purpose": "Integrates calm chemistry, steady mood, grounded vitality, and wellbeing.",
          "purposeEn": "Integrates calm chemistry, steady mood, grounded vitality, and wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session calm, clear, positive, balanced, and restored.",
          "purposeEn": "Completes the session calm, clear, positive, balanced, and restored."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 13.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 13,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 990,
            "value": 80
          },
          {
            "time": 1260,
            "value": 86
          },
          {
            "time": 1560,
            "value": 88
          },
          {
            "time": 1860,
            "value": 76
          },
          {
            "time": 2130,
            "value": 70
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2130,
            "value": 36
          },
          {
            "time": 2400,
            "value": 22
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 990,
            "value": 44
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1560,
            "value": 32
          },
          {
            "time": 1860,
            "value": 38
          },
          {
            "time": 2130,
            "value": 52
          },
          {
            "time": 2400,
            "value": 36
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 70
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 20
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 12
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 32
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "healthy-heart": {
    "title": "Gezond hart (Fysiek)",
    "titleEn": "Healthy Heart (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van hartcoherentiebeelden, emotionele warmte, rustige regulatie, innerlijke veiligheid, herstellende balans en geintegreerd welzijn.",
    "goalEn": "Designed to support heart coherence imagery, emotional warmth, calm regulation, inner safety, restorative balance, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a warm, safe heart-centered field.",
          "purposeEn": "Settles the body and opens a warm, safe heart-centered field."
        },
        {
          "time": 300,
          "name": "Heart Coherence Build",
          "nameEn": "Heart Coherence Build",
          "purpose": "Builds relaxed alpha balance, emotional warmth, and steady internal rhythm.",
          "purposeEn": "Builds relaxed alpha balance, emotional warmth, and steady internal rhythm."
        },
        {
          "time": 720,
          "name": "Soft Emotional Regulation",
          "nameEn": "Soft Emotional Regulation",
          "purpose": "Guides the system into theta calm, release, and restorative heart imagery.",
          "purposeEn": "Guides the system into theta calm, release, and restorative heart imagery."
        },
        {
          "time": 1260,
          "name": "Heart Recovery Immersion",
          "nameEn": "Heart Recovery Immersion",
          "purpose": "Creates spacious inner stillness for compassion, coherence, and deep recovery.",
          "purposeEn": "Creates spacious inner stillness for compassion, coherence, and deep recovery."
        },
        {
          "time": 1860,
          "name": "Warm Vitality",
          "nameEn": "Warm Vitality",
          "purpose": "Gently brightens emotional energy, circulation imagery, and grounded positivity.",
          "purposeEn": "Gently brightens emotional energy, circulation imagery, and grounded positivity."
        },
        {
          "time": 2400,
          "name": "Integrated Coherence",
          "nameEn": "Integrated Coherence",
          "purpose": "Integrates calm heart rhythm, emotional balance, safety, and wellbeing.",
          "purposeEn": "Integrates calm heart rhythm, emotional balance, safety, and wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session warm, steady, coherent, restored, and calm.",
          "purposeEn": "Completes the session warm, steady, coherent, restored, and calm."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 8,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 6.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 6.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 46
          },
          {
            "time": 510,
            "value": 58
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 990,
            "value": 76
          },
          {
            "time": 1260,
            "value": 84
          },
          {
            "time": 1560,
            "value": 86
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2130,
            "value": 70
          },
          {
            "time": 2400,
            "value": 58
          },
          {
            "time": 2700,
            "value": 38
          },
          {
            "time": 3000,
            "value": 14
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 510,
            "value": 14
          },
          {
            "time": 720,
            "value": 7
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2130,
            "value": 18
          },
          {
            "time": 2400,
            "value": 12
          },
          {
            "time": 2700,
            "value": 5
          },
          {
            "time": 3000,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 20
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 510,
            "value": 34
          },
          {
            "time": 720,
            "value": 38
          },
          {
            "time": 990,
            "value": 42
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1560,
            "value": 30
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2130,
            "value": 40
          },
          {
            "time": 2400,
            "value": 30
          },
          {
            "time": 2700,
            "value": 20
          },
          {
            "time": 3000,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 60
          },
          {
            "time": 2700,
            "value": 46
          },
          {
            "time": 3000,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 20
          },
          {
            "time": 2130,
            "value": 14
          },
          {
            "time": 2400,
            "value": 10
          },
          {
            "time": 2700,
            "value": 6
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 990,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 46
          },
          {
            "time": 2130,
            "value": 36
          },
          {
            "time": 2400,
            "value": 24
          },
          {
            "time": 2700,
            "value": 14
          },
          {
            "time": 3000,
            "value": 5
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 510,
            "value": 3.2
          },
          {
            "time": 720,
            "value": 5.2
          },
          {
            "time": 990,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 9.4
          },
          {
            "time": 1860,
            "value": 4.8
          },
          {
            "time": 2130,
            "value": 3.4
          },
          {
            "time": 2400,
            "value": 2
          },
          {
            "time": 2700,
            "value": 1.3
          },
          {
            "time": 3000,
            "value": 0.7
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ed",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#b05cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.09,
            "auroraDepth": 76
          },
          {
            "time": 1560,
            "value": "#6a1b9a",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 80
          },
          {
            "time": 1860,
            "value": "#ec407a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffb74d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 2400,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffccbc",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "help-infertility": {
    "title": "Vruchtbaarheid ondersteunen (Fysiek)",
    "titleEn": "Help Infertility (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van diepe ontspanning, emotionele balans, lichaamsvertrouwen, warme bekkenbewustwording en herstellende innerlijke harmonie.",
    "goalEn": "Designed to support deep relaxation, emotional balance, body trust, warm pelvic awareness, and restorative inner harmony.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 36,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Safe Arrival",
          "nameEn": "Safe Arrival",
          "purpose": "Guides the body into safety, softness, and receptive calm.",
          "purposeEn": "Guides the body into safety, softness, and receptive calm."
        },
        {
          "time": 300,
          "name": "Body Trust",
          "nameEn": "Body Trust",
          "purpose": "Builds grounded alpha stability and warm inner body awareness.",
          "purposeEn": "Builds grounded alpha stability and warm inner body awareness."
        },
        {
          "time": 600,
          "name": "Emotional Release",
          "nameEn": "Emotional Release",
          "purpose": "Softens emotional pressure and promotes letting go through spacious theta movement.",
          "purposeEn": "Softens emotional pressure and promotes letting go through spacious theta movement."
        },
        {
          "time": 900,
          "name": "Restorative Womb Space",
          "nameEn": "Restorative Womb Space",
          "purpose": "Deepens inward attention, warmth, and restorative imagery with immersive light and sound.",
          "purposeEn": "Deepens inward attention, warmth, and restorative imagery with immersive light and sound."
        },
        {
          "time": 1260,
          "name": "Heart-Pelvis Coherence",
          "nameEn": "Heart-Pelvis Coherence",
          "purpose": "Promotes emotional warmth, coherence, and a positive embodied connection.",
          "purposeEn": "Promotes emotional warmth, coherence, and a positive embodied connection."
        },
        {
          "time": 1560,
          "name": "Renewal Integration",
          "nameEn": "Renewal Integration",
          "purpose": "Integrates calm vitality, confidence, and steady inner balance.",
          "purposeEn": "Integrates calm vitality, confidence, and steady inner balance."
        },
        {
          "time": 1860,
          "name": "Gentle Landing",
          "nameEn": "Gentle Landing",
          "purpose": "Returns the session to soft grounded presence and body comfort.",
          "purposeEn": "Returns the session to soft grounded presence and body comfort."
        },
        {
          "time": 2100,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Closes with calm, warmth, trust, and quiet renewal.",
          "purposeEn": "Closes with calm, warmth, trust, and quiet renewal."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 600,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 8.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 600,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 900,
            "value": 56
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1560,
            "value": 58
          },
          {
            "time": 1860,
            "value": 28
          },
          {
            "time": 2100,
            "value": 3
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 300,
            "value": 2
          },
          {
            "time": 600,
            "value": 1
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1260,
            "value": 4
          },
          {
            "time": 1560,
            "value": 8
          },
          {
            "time": 1860,
            "value": 2
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 600,
            "value": 18
          },
          {
            "time": 900,
            "value": 21
          },
          {
            "time": 1260,
            "value": 24
          },
          {
            "time": 1560,
            "value": 22
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 20
          },
          {
            "time": 300,
            "value": 50
          },
          {
            "time": 600,
            "value": 62
          },
          {
            "time": 900,
            "value": 66
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1560,
            "value": 60
          },
          {
            "time": 1860,
            "value": 40
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 300,
            "value": 9
          },
          {
            "time": 600,
            "value": 15
          },
          {
            "time": 900,
            "value": 21
          },
          {
            "time": 1260,
            "value": 14
          },
          {
            "time": 1560,
            "value": 9
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 600,
            "value": 30
          },
          {
            "time": 900,
            "value": 50
          },
          {
            "time": 1260,
            "value": 44
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.5
          },
          {
            "time": 300,
            "value": 1.6
          },
          {
            "time": 600,
            "value": 3
          },
          {
            "time": 900,
            "value": 5.8
          },
          {
            "time": 1260,
            "value": 5
          },
          {
            "time": 1560,
            "value": 2.8
          },
          {
            "time": 1860,
            "value": 1.1
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1b2a3d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 8
          },
          {
            "time": 300,
            "value": "#2f8f83",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 18
          },
          {
            "time": 600,
            "value": "#6541a5",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 32
          },
          {
            "time": 900,
            "value": "#7a2b76",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 52
          },
          {
            "time": 1260,
            "value": "#c54f78",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 42
          },
          {
            "time": 1560,
            "value": "#d9924a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 26
          },
          {
            "time": 1860,
            "value": "#d8a37e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.07,
            "auroraDepth": 12
          },
          {
            "time": 2100,
            "value": "#f1cdbb",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "help-senior-health": {
    "title": "Seniorengezondheid ondersteunen (Fysiek)",
    "titleEn": "Help Senior Health (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van gegronde vitaliteit, rustig herstel, emotionele stabiliteit, lichaamscomfort, heldere gewaarwording en mild welzijn voor seniorengezondheid.",
    "goalEn": "Designed to support grounded vitality, calm recovery, emotional steadiness, body comfort, clear awareness, and gentle wellbeing for senior health.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 36,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Gentle Arrival",
          "nameEn": "Gentle Arrival",
          "purpose": "Guides the body into safety, comfort, and slow settling.",
          "purposeEn": "Guides the body into safety, comfort, and slow settling."
        },
        {
          "time": 420,
          "name": "Balanced Regulation",
          "nameEn": "Balanced Regulation",
          "purpose": "Promotes calm alpha stability and easy breath-led regulation.",
          "purposeEn": "Promotes calm alpha stability and easy breath-led regulation."
        },
        {
          "time": 720,
          "name": "Recovery Descent",
          "nameEn": "Recovery Descent",
          "purpose": "Deepens toward restorative theta with warm body awareness.",
          "purposeEn": "Deepens toward restorative theta with warm body awareness."
        },
        {
          "time": 1080,
          "name": "Restorative Immersion",
          "nameEn": "Restorative Immersion",
          "purpose": "Builds a spacious comfort field for deep recovery imagery and inner quiet.",
          "purposeEn": "Builds a spacious comfort field for deep recovery imagery and inner quiet."
        },
        {
          "time": 1680,
          "name": "Vital Integration",
          "nameEn": "Vital Integration",
          "purpose": "Integrates calm vitality, clarity, and emotional steadiness.",
          "purposeEn": "Integrates calm vitality, clarity, and emotional steadiness."
        },
        {
          "time": 1980,
          "name": "Clear Renewal",
          "nameEn": "Clear Renewal",
          "purpose": "Gently lifts awareness into clean, stable, relaxed alertness.",
          "purposeEn": "Gently lifts awareness into clean, stable, relaxed alertness."
        },
        {
          "time": 2220,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Reduces stimulation and leaves a warm grounded finish.",
          "purposeEn": "Reduces stimulation and leaves a warm grounded finish."
        },
        {
          "time": 2400,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with calm body comfort and balanced presence.",
          "purposeEn": "Ends with calm body comfort and balanced presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.5,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.9,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 6.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 420,
            "value": 28
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 1080,
            "value": 54
          },
          {
            "time": 1380,
            "value": 58
          },
          {
            "time": 1680,
            "value": 48
          },
          {
            "time": 1980,
            "value": 38
          },
          {
            "time": 2220,
            "value": 22
          },
          {
            "time": 2400,
            "value": 4
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 720,
            "value": 2
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1380,
            "value": 0
          },
          {
            "time": 1680,
            "value": 2
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2220,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 7
          },
          {
            "time": 420,
            "value": 13
          },
          {
            "time": 720,
            "value": 18
          },
          {
            "time": 1080,
            "value": 23
          },
          {
            "time": 1380,
            "value": 24
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1980,
            "value": 16
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2400,
            "value": 1
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 22
          },
          {
            "time": 180,
            "value": 39
          },
          {
            "time": 420,
            "value": 52
          },
          {
            "time": 720,
            "value": 60
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1380,
            "value": 62
          },
          {
            "time": 1680,
            "value": 56
          },
          {
            "time": 1980,
            "value": 48
          },
          {
            "time": 2220,
            "value": 34
          },
          {
            "time": 2400,
            "value": 12
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 7
          },
          {
            "time": 420,
            "value": 13
          },
          {
            "time": 720,
            "value": 17
          },
          {
            "time": 1080,
            "value": 22
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1980,
            "value": 9
          },
          {
            "time": 2220,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 9
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 720,
            "value": 32
          },
          {
            "time": 1080,
            "value": 50
          },
          {
            "time": 1380,
            "value": 52
          },
          {
            "time": 1680,
            "value": 38
          },
          {
            "time": 1980,
            "value": 24
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.5
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 2
          },
          {
            "time": 720,
            "value": 3.4
          },
          {
            "time": 1080,
            "value": 5.8
          },
          {
            "time": 1380,
            "value": 6.2
          },
          {
            "time": 1680,
            "value": 4.4
          },
          {
            "time": 1980,
            "value": 2.4
          },
          {
            "time": 2220,
            "value": 1.1
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#18304a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 8
          },
          {
            "time": 180,
            "value": "#2a6f83",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 14
          },
          {
            "time": 420,
            "value": "#3d9b82",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 22
          },
          {
            "time": 720,
            "value": "#3b6f9f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.09,
            "auroraDepth": 30
          },
          {
            "time": 1080,
            "value": "#2d315f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 40
          },
          {
            "time": 1380,
            "value": "#342659",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 42
          },
          {
            "time": 1680,
            "value": "#5c8f72",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 26
          },
          {
            "time": 1980,
            "value": "#d0a15c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 2220,
            "value": "#c7b07e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.07,
            "auroraDepth": 8
          },
          {
            "time": 2400,
            "value": "#eadbc4",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "improve-circulation": {
    "title": "Doorbloeding verbeteren (Fysiek)",
    "titleEn": "Improve Circulation (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van warm lichaamsbewustzijn, ritmische ontspanning, ontspannen vitaliteit en een comfortabele ervaring van innerlijke stroming.",
    "goalEn": "Designed to support warm body awareness, rhythmic relaxation, relaxed vitality, and a comfortable sense of inner flow.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 32,
    "colorCrossfadeSeconds": 75,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Warm Arrival",
          "nameEn": "Warm Arrival",
          "purpose": "Guides the body into grounded comfort and softens the first layer of tension.",
          "purposeEn": "Guides the body into grounded comfort and softens the first layer of tension."
        },
        {
          "time": 420,
          "name": "Flow Stabilization",
          "nameEn": "Flow Stabilization",
          "purpose": "Builds a steady alpha rhythm with gentle warmth and balanced inner movement.",
          "purposeEn": "Builds a steady alpha rhythm with gentle warmth and balanced inner movement."
        },
        {
          "time": 660,
          "name": "Body-Wide Release",
          "nameEn": "Body-Wide Release",
          "purpose": "Deepens relaxation and promotes a spacious sense of circulation through the whole body.",
          "purposeEn": "Deepens relaxation and promotes a spacious sense of circulation through the whole body."
        },
        {
          "time": 960,
          "name": "Inner Flow Immersion",
          "nameEn": "Inner Flow Immersion",
          "purpose": "Uses low theta, Aurora Immersion™ movement, and diffuse light to deepen embodied flow.",
          "purposeEn": "Uses low theta, Aurora Immersion™ movement, and diffuse light to deepen embodied flow."
        },
        {
          "time": 1260,
          "name": "Vital Warmth",
          "nameEn": "Vital Warmth",
          "purpose": "Gently lifts the session into relaxed vitality and warmer body presence.",
          "purposeEn": "Gently lifts the session into relaxed vitality and warmer body presence."
        },
        {
          "time": 1500,
          "name": "Coherent Integration",
          "nameEn": "Coherent Integration",
          "purpose": "Stabilizes relaxed alertness and integrates the sensation of open flow.",
          "purposeEn": "Stabilizes relaxed alertness and integrates the sensation of open flow."
        },
        {
          "time": 1740,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Reduces stimulation while preserving calm warmth and body ease.",
          "purposeEn": "Reduces stimulation while preserving calm warmth and body ease."
        },
        {
          "time": 1920,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with grounded comfort, relaxed vitality, and steady presence.",
          "purposeEn": "Ends with grounded comfort, relaxed vitality, and steady presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 960,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 9,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 960,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 7.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 8.1,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 660,
            "value": 45
          },
          {
            "time": 960,
            "value": 58
          },
          {
            "time": 1260,
            "value": 64
          },
          {
            "time": 1500,
            "value": 70
          },
          {
            "time": 1740,
            "value": 36
          },
          {
            "time": 1920,
            "value": 4
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1260,
            "value": 6
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 9
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 660,
            "value": 22
          },
          {
            "time": 960,
            "value": 20
          },
          {
            "time": 1260,
            "value": 24
          },
          {
            "time": 1500,
            "value": 30
          },
          {
            "time": 1740,
            "value": 14
          },
          {
            "time": 1920,
            "value": 1
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 22
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 56
          },
          {
            "time": 660,
            "value": 63
          },
          {
            "time": 960,
            "value": 66
          },
          {
            "time": 1260,
            "value": 64
          },
          {
            "time": 1500,
            "value": 68
          },
          {
            "time": 1740,
            "value": 42
          },
          {
            "time": 1920,
            "value": 10
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 13
          },
          {
            "time": 660,
            "value": 18
          },
          {
            "time": 960,
            "value": 22
          },
          {
            "time": 1260,
            "value": 14
          },
          {
            "time": 1500,
            "value": 5
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 960,
            "value": 48
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1500,
            "value": 26
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 180,
            "value": 1.1
          },
          {
            "time": 420,
            "value": 2.3
          },
          {
            "time": 660,
            "value": 3.6
          },
          {
            "time": 960,
            "value": 5.6
          },
          {
            "time": 1260,
            "value": 4.8
          },
          {
            "time": 1500,
            "value": 2.8
          },
          {
            "time": 1740,
            "value": 1.2
          },
          {
            "time": 1920,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#152b24",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 8
          },
          {
            "time": 180,
            "value": "#27715f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 16
          },
          {
            "time": 420,
            "value": "#38a77a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.11,
            "auroraDepth": 28
          },
          {
            "time": 660,
            "value": "#2e8f9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.09,
            "auroraDepth": 36
          },
          {
            "time": 960,
            "value": "#3b2a74",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 48
          },
          {
            "time": 1260,
            "value": "#b96b3d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 34
          },
          {
            "time": 1500,
            "value": "#e09a31",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.18,
            "auroraDepth": 38
          },
          {
            "time": 1740,
            "value": "#c88f6b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 14
          },
          {
            "time": 1920,
            "value": "#f0d2b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "lengthen-telomeres": {
    "title": "Telomeren verlengen (Fysiek)",
    "titleEn": "Lengthen Telomeres (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van cellulaire vernieuwingsbeelden, diep herstel, beschermende rust, veerkrachtige vitaliteit en geintegreerd langdurig welzijn.",
    "goalEn": "Designed to support cellular renewal imagery, deep recovery, protective calm, resilient vitality, and integrated long-term wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm field for cellular renewal imagery.",
          "purposeEn": "Settles the body and opens a calm field for cellular renewal imagery."
        },
        {
          "time": 300,
          "name": "Protective Coherence",
          "nameEn": "Protective Coherence",
          "purpose": "Builds alpha balance, body safety, and steady inner organization.",
          "purposeEn": "Builds alpha balance, body safety, and steady inner organization."
        },
        {
          "time": 720,
          "name": "Telomere Renewal Descent",
          "nameEn": "Telomere Renewal Descent",
          "purpose": "Guides the system into theta restoration, regenerative imagery, and deep cellular calm.",
          "purposeEn": "Guides the system into theta restoration, regenerative imagery, and deep cellular calm."
        },
        {
          "time": 1260,
          "name": "Cellular Longevity Immersion",
          "nameEn": "Cellular Longevity Immersion",
          "purpose": "Creates a spacious field for repair imagery, resilience, and protective inner stillness.",
          "purposeEn": "Creates a spacious field for repair imagery, resilience, and protective inner stillness."
        },
        {
          "time": 1860,
          "name": "Vital Renewal Activation",
          "nameEn": "Vital Renewal Activation",
          "purpose": "Gently activates clear vitality, constructive energy, and renewed inner brightness.",
          "purposeEn": "Gently activates clear vitality, constructive energy, and renewed inner brightness."
        },
        {
          "time": 2400,
          "name": "Integrated Resilience",
          "nameEn": "Integrated Resilience",
          "purpose": "Integrates recovery and vitality into grounded balance and stable wellbeing.",
          "purposeEn": "Integrates recovery and vitality into grounded balance and stable wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, clear, protected, and renewed.",
          "purposeEn": "Completes the session restored, clear, protected, and renewed."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2130,
            "value": 30
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2130,
            "value": 46
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "life-extension-gene": {
    "title": "Levensverlengingsgen (Fysiek)",
    "titleEn": "Life Extension Gene (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van diepe herstellende rust, vernieuwingsbeelden, veerkrachtige lichaam-geestregulatie en een geintegreerde ervaring van langdurige vitaliteit.",
    "goalEn": "Designed to support deep restorative calm, renewal imagery, resilient body-mind regulation, and an integrated sense of long-term vitality.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 84,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival and Settling",
          "nameEn": "Arrival and Settling",
          "purpose": "Guides the system into calm, grounded presence.",
          "purposeEn": "Guides the system into calm, grounded presence."
        },
        {
          "time": 420,
          "name": "Regulation Field",
          "nameEn": "Regulation Field",
          "purpose": "Stabilizes relaxed alpha balance and steady body awareness.",
          "purposeEn": "Stabilizes relaxed alpha balance and steady body awareness."
        },
        {
          "time": 660,
          "name": "Renewal Descent",
          "nameEn": "Renewal Descent",
          "purpose": "Deepens into theta for restoration imagery and inner repair symbolism.",
          "purposeEn": "Deepens into theta for restoration imagery and inner repair symbolism."
        },
        {
          "time": 900,
          "name": "Longevity Chamber",
          "nameEn": "Longevity Chamber",
          "purpose": "Builds an immersive plateau for resilience, renewal, and coherent vitality.",
          "purposeEn": "Builds an immersive plateau for resilience, renewal, and coherent vitality."
        },
        {
          "time": 1500,
          "name": "Vitality Integration",
          "nameEn": "Vitality Integration",
          "purpose": "Integrates the restorative state with confidence, warmth, and cellular renewal imagery.",
          "purposeEn": "Integrates the restorative state with confidence, warmth, and cellular renewal imagery."
        },
        {
          "time": 2100,
          "name": "Grounded Close",
          "nameEn": "Grounded Close",
          "purpose": "Returns to calm alertness with a soft and stable landing.",
          "purposeEn": "Returns to calm alertness with a soft and stable landing."
        },
        {
          "time": 2400,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends in balanced, refreshed presence.",
          "purposeEn": "Ends in balanced, refreshed presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 8.1,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2100,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.1,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2100,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 420,
            "value": 40
          },
          {
            "time": 660,
            "value": 54
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1800,
            "value": 52
          },
          {
            "time": 2100,
            "value": 34
          },
          {
            "time": 2400,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 3
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 660,
            "value": 7
          },
          {
            "time": 900,
            "value": 5
          },
          {
            "time": 1200,
            "value": 3
          },
          {
            "time": 1500,
            "value": 7
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 2100,
            "value": 5
          },
          {
            "time": 2400,
            "value": 1
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 7
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 900,
            "value": 38
          },
          {
            "time": 1200,
            "value": 34
          },
          {
            "time": 1500,
            "value": 30
          },
          {
            "time": 1800,
            "value": 25
          },
          {
            "time": 2100,
            "value": 16
          },
          {
            "time": 2400,
            "value": 5
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 180,
            "value": 50
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 660,
            "value": 71
          },
          {
            "time": 900,
            "value": 74
          },
          {
            "time": 1200,
            "value": 70
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1800,
            "value": 58
          },
          {
            "time": 2100,
            "value": 42
          },
          {
            "time": 2400,
            "value": 20
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 9
          },
          {
            "time": 420,
            "value": 13
          },
          {
            "time": 660,
            "value": 16
          },
          {
            "time": 900,
            "value": 18
          },
          {
            "time": 1200,
            "value": 16
          },
          {
            "time": 1500,
            "value": 10
          },
          {
            "time": 1800,
            "value": 6
          },
          {
            "time": 2100,
            "value": 2
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 22
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 900,
            "value": 48
          },
          {
            "time": 1200,
            "value": 56
          },
          {
            "time": 1500,
            "value": 44
          },
          {
            "time": 1800,
            "value": 28
          },
          {
            "time": 2100,
            "value": 12
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 180,
            "value": 1.1
          },
          {
            "time": 420,
            "value": 1.9
          },
          {
            "time": 660,
            "value": 3.2
          },
          {
            "time": 900,
            "value": 5.4
          },
          {
            "time": 1200,
            "value": 6.8
          },
          {
            "time": 1500,
            "value": 5
          },
          {
            "time": 1800,
            "value": 2.5
          },
          {
            "time": 2100,
            "value": 0.9
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#315f7c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 180,
            "value": "#43b7b8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.13,
            "auroraDepth": 18
          },
          {
            "time": 420,
            "value": "#5fd889",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.17,
            "auroraDepth": 28
          },
          {
            "time": 660,
            "value": "#4d66c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.15,
            "auroraDepth": 36
          },
          {
            "time": 900,
            "value": "#7b4fc9",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 46
          },
          {
            "time": 1200,
            "value": "#37216f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 54
          },
          {
            "time": 1500,
            "value": "#c36fe5",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 38
          },
          {
            "time": 1800,
            "value": "#f0b35f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.17,
            "auroraDepth": 26
          },
          {
            "time": 2100,
            "value": "#ffd7a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 12
          },
          {
            "time": 2400,
            "value": "#ffe8cf",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "longevity": {
    "title": "Lang leven (Fysiek)",
    "titleEn": "Longevity (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van diep herstel, veerkrachtige vitaliteit, rustige regulatie, positieve transformatie, lichaamsharmonie en geintegreerd langdurig welzijn.",
    "goalEn": "Designed to support deep recovery, resilient vitality, calm regulation, positive transformation, body harmony, and integrated long-term wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 3000,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm field for long-term wellbeing.",
          "purposeEn": "Settles the body and opens a calm field for long-term wellbeing."
        },
        {
          "time": 300,
          "name": "Vital Coherence",
          "nameEn": "Vital Coherence",
          "purpose": "Builds alpha stability, heart-centered regulation, and balanced body awareness.",
          "purposeEn": "Builds alpha stability, heart-centered regulation, and balanced body awareness."
        },
        {
          "time": 720,
          "name": "Recovery Descent",
          "nameEn": "Recovery Descent",
          "purpose": "Guides the system into theta restoration, cellular harmony imagery, and deep renewal.",
          "purposeEn": "Guides the system into theta restoration, cellular harmony imagery, and deep renewal."
        },
        {
          "time": 1260,
          "name": "Longevity Immersion",
          "nameEn": "Longevity Immersion",
          "purpose": "Creates a spacious field for regenerative imagery, resilience, and quiet inner strength.",
          "purposeEn": "Creates a spacious field for regenerative imagery, resilience, and quiet inner strength."
        },
        {
          "time": 1860,
          "name": "Renewed Vitality",
          "nameEn": "Renewed Vitality",
          "purpose": "Gently activates clean energy, clarity, warmth, and constructive life force.",
          "purposeEn": "Gently activates clean energy, clarity, warmth, and constructive life force."
        },
        {
          "time": 2400,
          "name": "Integrated Balance",
          "nameEn": "Integrated Balance",
          "purpose": "Integrates restoration and vitality into grounded balance and stable wellbeing.",
          "purposeEn": "Integrates restoration and vitality into grounded balance and stable wellbeing."
        },
        {
          "time": 3000,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session restored, clear, balanced, and quietly energized.",
          "purposeEn": "Completes the session restored, clear, balanced, and quietly energized."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 12.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2400,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2700,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 3000,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 510,
            "value": 62
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 990,
            "value": 82
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1560,
            "value": 90
          },
          {
            "time": 1860,
            "value": 74
          },
          {
            "time": 2130,
            "value": 64
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 44
          },
          {
            "time": 3000,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 7
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 8
          },
          {
            "time": 990,
            "value": 3
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2130,
            "value": 30
          },
          {
            "time": 2400,
            "value": 20
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 510,
            "value": 36
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 990,
            "value": 46
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2130,
            "value": 46
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 22
          },
          {
            "time": 3000,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 510,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 990,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1860,
            "value": 72
          },
          {
            "time": 2130,
            "value": 68
          },
          {
            "time": 2400,
            "value": 66
          },
          {
            "time": 2700,
            "value": 50
          },
          {
            "time": 3000,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 510,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 990,
            "value": 26
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2130,
            "value": 0
          },
          {
            "time": 2400,
            "value": 14
          },
          {
            "time": 2700,
            "value": 8
          },
          {
            "time": 3000,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 14
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 30
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 990,
            "value": 56
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1860,
            "value": 48
          },
          {
            "time": 2130,
            "value": 22
          },
          {
            "time": 2400,
            "value": 34
          },
          {
            "time": 2700,
            "value": 18
          },
          {
            "time": 3000,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 510,
            "value": 3.4
          },
          {
            "time": 720,
            "value": 5.6
          },
          {
            "time": 990,
            "value": 7
          },
          {
            "time": 1260,
            "value": 9
          },
          {
            "time": 1560,
            "value": 9.8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2130,
            "value": 2.2
          },
          {
            "time": 2400,
            "value": 3.8
          },
          {
            "time": 2700,
            "value": 1.8
          },
          {
            "time": 3000,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#36d399",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#7ee8b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#5b6cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 990,
            "value": "#7b4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1260,
            "value": "#4a148c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1560,
            "value": "#283593",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 82
          },
          {
            "time": 1860,
            "value": "#00bcd4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 2130,
            "value": "#ffd54f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 28
          },
          {
            "time": 2400,
            "value": "#8bc34a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 24
          },
          {
            "time": 2700,
            "value": "#ffcc80",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 3000,
            "value": "#fff3d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 3000,
    "audioMode": "isochronic-monaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient",
      "Uplifting Electronic Ambient"
    ]
  },
  "lower-cholesterol": {
    "title": "Cholesterol verlagen (Fysiek)",
    "titleEn": "Lower Cholesterol (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van metabole rust, hartgerichte regulatie, herstellend lichaamsbewustzijn en stabiele integratie van welzijn.",
    "goalEn": "Designed to support metabolic calm, heart-centered regulation, restorative body awareness, and steady wellbeing integration.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 32,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Heart-Calm Arrival",
          "nameEn": "Heart-Calm Arrival",
          "purpose": "Guides the body into a slower, steadier rhythm with soft sensory grounding.",
          "purposeEn": "Guides the body into a slower, steadier rhythm with soft sensory grounding."
        },
        {
          "time": 480,
          "name": "Regulation Build",
          "nameEn": "Regulation Build",
          "purpose": "Builds relaxed alpha stability and supports balanced body awareness.",
          "purposeEn": "Builds relaxed alpha stability and supports balanced body awareness."
        },
        {
          "time": 720,
          "name": "Metabolic Ease",
          "nameEn": "Metabolic Ease",
          "purpose": "Deepens into theta for calm internal imagery, restoration, and release.",
          "purposeEn": "Deepens into theta for calm internal imagery, restoration, and release."
        },
        {
          "time": 1020,
          "name": "Restorative Immersion",
          "nameEn": "Restorative Immersion",
          "purpose": "Creates a spacious Infinity Ganzfeld™ plateau for deep parasympathetic settling and renewal imagery.",
          "purposeEn": "Creates a spacious Infinity Ganzfeld™ plateau for deep parasympathetic settling and renewal imagery."
        },
        {
          "time": 1620,
          "name": "Heart Integration",
          "nameEn": "Heart Integration",
          "purpose": "Promotes coherence, warmth, and a smooth return toward balanced alertness.",
          "purposeEn": "Promotes coherence, warmth, and a smooth return toward balanced alertness."
        },
        {
          "time": 1980,
          "name": "Steady Landing",
          "nameEn": "Steady Landing",
          "purpose": "Stabilizes calm energy, grounded confidence, and comfortable completion.",
          "purposeEn": "Stabilizes calm energy, grounded confidence, and comfortable completion."
        },
        {
          "time": 2400,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with calm clarity and integrated wellbeing.",
          "purposeEn": "Ends with calm clarity and integrated wellbeing."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 480,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 480,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 1020,
            "value": 50
          },
          {
            "time": 1320,
            "value": 52
          },
          {
            "time": 1620,
            "value": 44
          },
          {
            "time": 1980,
            "value": 28
          },
          {
            "time": 2400,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 240,
            "value": 2
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 720,
            "value": 3
          },
          {
            "time": 1020,
            "value": 1
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1620,
            "value": 4
          },
          {
            "time": 1980,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 240,
            "value": 11
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 720,
            "value": 25
          },
          {
            "time": 1020,
            "value": 27
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1620,
            "value": 19
          },
          {
            "time": 1980,
            "value": 12
          },
          {
            "time": 2400,
            "value": 3
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 30
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 480,
            "value": 58
          },
          {
            "time": 720,
            "value": 66
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1320,
            "value": 60
          },
          {
            "time": 1620,
            "value": 56
          },
          {
            "time": 1980,
            "value": 42
          },
          {
            "time": 2400,
            "value": 18
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 480,
            "value": 12
          },
          {
            "time": 720,
            "value": 15
          },
          {
            "time": 1020,
            "value": 18
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1620,
            "value": 10
          },
          {
            "time": 1980,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 480,
            "value": 22
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1020,
            "value": 45
          },
          {
            "time": 1320,
            "value": 48
          },
          {
            "time": 1620,
            "value": 36
          },
          {
            "time": 1980,
            "value": 18
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 240,
            "value": 1.1
          },
          {
            "time": 480,
            "value": 2
          },
          {
            "time": 720,
            "value": 3.2
          },
          {
            "time": 1020,
            "value": 5.4
          },
          {
            "time": 1320,
            "value": 5.8
          },
          {
            "time": 1620,
            "value": 3.8
          },
          {
            "time": 1980,
            "value": 1.6
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f5f73",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 10
          },
          {
            "time": 240,
            "value": "#2fa7a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 16
          },
          {
            "time": 480,
            "value": "#4fbf86",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 24
          },
          {
            "time": 720,
            "value": "#3d7f78",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 30
          },
          {
            "time": 1020,
            "value": "#24456b",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.07,
            "auroraDepth": 38
          },
          {
            "time": 1320,
            "value": "#2b2f6e",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 42
          },
          {
            "time": 1620,
            "value": "#6fcf97",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.11,
            "auroraDepth": 26
          },
          {
            "time": 1980,
            "value": "#d6b86a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 12
          },
          {
            "time": 2400,
            "value": "#f0dfc6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "lower-respiratory-rate": {
    "title": "Ademfrequentie verlagen (Fysiek)",
    "titleEn": "Lower Respiratory Rate (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "respiratory-support",
    "goal": "Ontworpen ter ondersteuning van langzamer ademen, lichamelijke rust, een kalm ritme van het zenuwstelsel en diepe ontspannen aanwezigheid.",
    "goalEn": "Designed to support slower breathing, body settling, calm nervous system rhythm, and deep relaxed presence.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 36,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Soft Arrival",
          "nameEn": "Soft Arrival",
          "purpose": "Guides the body into safety and begins a slower breathing rhythm.",
          "purposeEn": "Guides the body into safety and begins a slower breathing rhythm."
        },
        {
          "time": 420,
          "name": "Breath Regulation",
          "nameEn": "Breath Regulation",
          "purpose": "Stabilizes relaxed alpha rhythm with gentle respiratory pacing.",
          "purposeEn": "Stabilizes relaxed alpha rhythm with gentle respiratory pacing."
        },
        {
          "time": 720,
          "name": "Deep Exhale Descent",
          "nameEn": "Deep Exhale Descent",
          "purpose": "Promotes longer exhalation, softer muscles, and inward settling.",
          "purposeEn": "Promotes longer exhalation, softer muscles, and inward settling."
        },
        {
          "time": 1020,
          "name": "Slow Rhythm Immersion",
          "nameEn": "Slow Rhythm Immersion",
          "purpose": "Deepens into low theta with spacious sensory calm and reduced effort.",
          "purposeEn": "Deepens into low theta with spacious sensory calm and reduced effort."
        },
        {
          "time": 1620,
          "name": "Calm Integration",
          "nameEn": "Calm Integration",
          "purpose": "Integrates a slow, comfortable breathing rhythm into balanced awareness.",
          "purposeEn": "Integrates a slow, comfortable breathing rhythm into balanced awareness."
        },
        {
          "time": 1860,
          "name": "Gentle Landing",
          "nameEn": "Gentle Landing",
          "purpose": "Reduces stimulation while preserving calm respiratory ease.",
          "purposeEn": "Reduces stimulation while preserving calm respiratory ease."
        },
        {
          "time": 2100,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with quiet presence and grounded breath comfort.",
          "purposeEn": "Ends with quiet presence and grounded breath comfort."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 7,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.5,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 7.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 720,
            "value": 36
          },
          {
            "time": 1020,
            "value": 50
          },
          {
            "time": 1320,
            "value": 54
          },
          {
            "time": 1620,
            "value": 42
          },
          {
            "time": 1860,
            "value": 24
          },
          {
            "time": 2100,
            "value": 3
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 2
          },
          {
            "time": 720,
            "value": 1
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1620,
            "value": 2
          },
          {
            "time": 1860,
            "value": 1
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 7
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 720,
            "value": 17
          },
          {
            "time": 1020,
            "value": 21
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1620,
            "value": 15
          },
          {
            "time": 1860,
            "value": 8
          },
          {
            "time": 2100,
            "value": 1
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 20
          },
          {
            "time": 180,
            "value": 38
          },
          {
            "time": 420,
            "value": 52
          },
          {
            "time": 720,
            "value": 60
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1320,
            "value": 62
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 7
          },
          {
            "time": 420,
            "value": 13
          },
          {
            "time": 720,
            "value": 18
          },
          {
            "time": 1020,
            "value": 22
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1620,
            "value": 13
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 22
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1020,
            "value": 50
          },
          {
            "time": 1320,
            "value": 52
          },
          {
            "time": 1620,
            "value": 36
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.5
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 2.2
          },
          {
            "time": 720,
            "value": 3.6
          },
          {
            "time": 1020,
            "value": 5.8
          },
          {
            "time": 1320,
            "value": 6.4
          },
          {
            "time": 1620,
            "value": 4
          },
          {
            "time": 1860,
            "value": 1.2
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#10283a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.05,
            "auroraDepth": 8
          },
          {
            "time": 180,
            "value": "#1d5f74",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.07,
            "auroraDepth": 14
          },
          {
            "time": 420,
            "value": "#328e8a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 22
          },
          {
            "time": 720,
            "value": "#286f93",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.07,
            "auroraDepth": 30
          },
          {
            "time": 1020,
            "value": "#252b63",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#2e2356",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 44
          },
          {
            "time": 1620,
            "value": "#417b6d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 24
          },
          {
            "time": 1860,
            "value": "#b99773",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 10
          },
          {
            "time": 2100,
            "value": "#e6d4bd",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "pregnancy": {
    "title": "Zwangerschap (Fysiek)",
    "titleEn": "Pregnancy (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van maternale rust, mild lichaamsvertrouwen, warme verbinding, emotionele zachtheid en diep gevestigd welzijn.",
    "goalEn": "Designed to support maternal calm, gentle body confidence, warm connection, emotional softness, and deeply settled wellbeing.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 70,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Gentle Arrival",
          "nameEn": "Gentle Arrival",
          "purpose": "Guides the body into safety, warmth, and soft breathing.",
          "purposeEn": "Guides the body into safety, warmth, and soft breathing."
        },
        {
          "time": 420,
          "name": "Maternal Grounding",
          "nameEn": "Maternal Grounding",
          "purpose": "Builds steady alpha calm and relaxed body awareness.",
          "purposeEn": "Builds steady alpha calm and relaxed body awareness."
        },
        {
          "time": 720,
          "name": "Warm Connection",
          "nameEn": "Warm Connection",
          "purpose": "Deepens inward attention and promotes tenderness, trust, and emotional ease.",
          "purposeEn": "Deepens inward attention and promotes tenderness, trust, and emotional ease."
        },
        {
          "time": 1020,
          "name": "Protected Immersion",
          "nameEn": "Protected Immersion",
          "purpose": "Creates a spacious theta field for comfort imagery and quiet bonding.",
          "purposeEn": "Creates a spacious theta field for comfort imagery and quiet bonding."
        },
        {
          "time": 1620,
          "name": "Heart Integration",
          "nameEn": "Heart Integration",
          "purpose": "Stabilizes warmth, connection, and confident inner regulation.",
          "purposeEn": "Stabilizes warmth, connection, and confident inner regulation."
        },
        {
          "time": 2160,
          "name": "Soft Landing",
          "nameEn": "Soft Landing",
          "purpose": "Returns gently with grounded calm and a peaceful body tone.",
          "purposeEn": "Returns gently with grounded calm and a peaceful body tone."
        },
        {
          "time": 2400,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with serene warmth and settled presence.",
          "purposeEn": "Ends with serene warmth and settled presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7.5,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 720,
            "value": 52
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1620,
            "value": 58
          },
          {
            "time": 1920,
            "value": 45
          },
          {
            "time": 2160,
            "value": 30
          },
          {
            "time": 2400,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 3
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 720,
            "value": 6
          },
          {
            "time": 1020,
            "value": 4
          },
          {
            "time": 1320,
            "value": 3
          },
          {
            "time": 1620,
            "value": 4
          },
          {
            "time": 1920,
            "value": 5
          },
          {
            "time": 2160,
            "value": 3
          },
          {
            "time": 2400,
            "value": 1
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 420,
            "value": 22
          },
          {
            "time": 720,
            "value": 30
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1620,
            "value": 26
          },
          {
            "time": 1920,
            "value": 20
          },
          {
            "time": 2160,
            "value": 14
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 180,
            "value": 50
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1620,
            "value": 62
          },
          {
            "time": 1920,
            "value": 54
          },
          {
            "time": 2160,
            "value": 42
          },
          {
            "time": 2400,
            "value": 24
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 1020,
            "value": 12
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2160,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 720,
            "value": 30
          },
          {
            "time": 1020,
            "value": 44
          },
          {
            "time": 1320,
            "value": 50
          },
          {
            "time": 1620,
            "value": 36
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2160,
            "value": 10
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.7
          },
          {
            "time": 180,
            "value": 1
          },
          {
            "time": 420,
            "value": 1.7
          },
          {
            "time": 720,
            "value": 2.8
          },
          {
            "time": 1020,
            "value": 4.8
          },
          {
            "time": 1320,
            "value": 5.8
          },
          {
            "time": 1620,
            "value": 3.2
          },
          {
            "time": 1920,
            "value": 1.6
          },
          {
            "time": 2160,
            "value": 0.8
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f6f7e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 180,
            "value": "#6ec7b8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 420,
            "value": "#77c99b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 720,
            "value": "#c98aa8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 32
          },
          {
            "time": 1020,
            "value": "#6c4d9b",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#4f3a7f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.09,
            "auroraDepth": 48
          },
          {
            "time": 1620,
            "value": "#be77a4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.15,
            "auroraDepth": 30
          },
          {
            "time": 1920,
            "value": "#f0b77e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 2160,
            "value": "#ffd2b6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 8
          },
          {
            "time": 2400,
            "value": "#ffe8d5",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "relax-nervous-system": {
    "title": "Zenuwstelsel ontspannen (Fysiek)",
    "titleEn": "Relax Nervous System (Physical)",
    "category": "herstel-welzijn",
    "subcategory": "stress-anxiety",
    "goal": "Ontworpen ter ondersteuning van ontspanning van het zenuwstelsel, lichamelijke rust, emotionele regulatie, parasympathische kalmte en gegronde integratie.",
    "goalEn": "Designed to support nervous-system relaxation, body settling, emotional regulation, parasympathetic calm, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 38,
    "colorCrossfadeSeconds": 90,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Safe Arrival",
          "nameEn": "Safe Arrival",
          "purpose": "Guides the body into safety, soft attention, and immediate downshifting.",
          "purposeEn": "Guides the body into safety, soft attention, and immediate downshifting."
        },
        {
          "time": 540,
          "name": "Alpha Regulation",
          "nameEn": "Alpha Regulation",
          "purpose": "Stabilizes relaxed alertness and smooths sensory input.",
          "purposeEn": "Stabilizes relaxed alertness and smooths sensory input."
        },
        {
          "time": 840,
          "name": "Theta Softening",
          "nameEn": "Theta Softening",
          "purpose": "Deepens into a calmer inner rhythm with slower breath-like pacing.",
          "purposeEn": "Deepens into a calmer inner rhythm with slower breath-like pacing."
        },
        {
          "time": 1140,
          "name": "Deep Rest Plateau",
          "nameEn": "Deep Rest Plateau",
          "purpose": "Creates a spacious immersive field for nervous-system quieting and body comfort.",
          "purposeEn": "Creates a spacious immersive field for nervous-system quieting and body comfort."
        },
        {
          "time": 1860,
          "name": "Warm Integration",
          "nameEn": "Warm Integration",
          "purpose": "Builds stable calm and gently returns awareness to the whole body.",
          "purposeEn": "Builds stable calm and gently returns awareness to the whole body."
        },
        {
          "time": 2160,
          "name": "Grounded Close",
          "nameEn": "Grounded Close",
          "purpose": "Reduces stimulation and lands the session in quiet clarity.",
          "purposeEn": "Reduces stimulation and lands the session in quiet clarity."
        },
        {
          "time": 2400,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends with relaxed steadiness and grounded comfort.",
          "purposeEn": "Ends with relaxed steadiness and grounded comfort."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 11.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 540,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 540,
            "value": 8.5,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1140,
            "value": 54
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1860,
            "value": 42
          },
          {
            "time": 2160,
            "value": 26
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 240,
            "value": 1
          },
          {
            "time": 540,
            "value": 3
          },
          {
            "time": 840,
            "value": 3
          },
          {
            "time": 1140,
            "value": 1
          },
          {
            "time": 1500,
            "value": 0
          },
          {
            "time": 1860,
            "value": 2
          },
          {
            "time": 2160,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 540,
            "value": 17
          },
          {
            "time": 840,
            "value": 24
          },
          {
            "time": 1140,
            "value": 28
          },
          {
            "time": 1500,
            "value": 26
          },
          {
            "time": 1860,
            "value": 20
          },
          {
            "time": 2160,
            "value": 12
          },
          {
            "time": 2400,
            "value": 2
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 26
          },
          {
            "time": 240,
            "value": 46
          },
          {
            "time": 540,
            "value": 58
          },
          {
            "time": 840,
            "value": 64
          },
          {
            "time": 1140,
            "value": 66
          },
          {
            "time": 1500,
            "value": 62
          },
          {
            "time": 1860,
            "value": 54
          },
          {
            "time": 2160,
            "value": 42
          },
          {
            "time": 2400,
            "value": 16
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 840,
            "value": 18
          },
          {
            "time": 1140,
            "value": 22
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2160,
            "value": 6
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 540,
            "value": 22
          },
          {
            "time": 840,
            "value": 34
          },
          {
            "time": 1140,
            "value": 48
          },
          {
            "time": 1500,
            "value": 50
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2160,
            "value": 18
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 240,
            "value": 1.2
          },
          {
            "time": 540,
            "value": 2.4
          },
          {
            "time": 840,
            "value": 3.6
          },
          {
            "time": 1140,
            "value": 5.8
          },
          {
            "time": 1500,
            "value": 6.2
          },
          {
            "time": 1860,
            "value": 4
          },
          {
            "time": 2160,
            "value": 1.8
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#102c4a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.07,
            "auroraDepth": 8
          },
          {
            "time": 240,
            "value": "#1f6f8b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.09,
            "auroraDepth": 14
          },
          {
            "time": 540,
            "value": "#42b3a7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 22
          },
          {
            "time": 840,
            "value": "#3568a0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 30
          },
          {
            "time": 1140,
            "value": "#242f68",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 42
          },
          {
            "time": 1500,
            "value": "#33235e",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.05,
            "auroraDepth": 46
          },
          {
            "time": 1860,
            "value": "#3f9f86",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 24
          },
          {
            "time": 2160,
            "value": "#d0aa6a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 12
          },
          {
            "time": 2400,
            "value": "#f1dcc4",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "younger-skin": {
    "title": "Jongere huid (Fysiek)",
    "titleEn": "Younger Skin (Physical)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van diepe ontspanning, herstelbeelden, evenwichtige emotionele toon, stralende zelfperceptie en een verfriste lichaam-geesttoestand.",
    "goalEn": "Designed to support deep relaxation, restoration imagery, balanced emotional tone, radiant self-perception, and a refreshed body-mind state.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 72,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Radiant Arrival",
          "nameEn": "Radiant Arrival",
          "purpose": "Guides the body into calm and opens a soft restorative atmosphere.",
          "purposeEn": "Guides the body into calm and opens a soft restorative atmosphere."
        },
        {
          "time": 420,
          "name": "Cellular Calm",
          "nameEn": "Cellular Calm",
          "purpose": "Stabilizes alpha relaxation and promotes smooth body awareness.",
          "purposeEn": "Stabilizes alpha relaxation and promotes smooth body awareness."
        },
        {
          "time": 660,
          "name": "Renewal Descent",
          "nameEn": "Renewal Descent",
          "purpose": "Deepens into theta with gentle renewal imagery and emotional softness.",
          "purposeEn": "Deepens into theta with gentle renewal imagery and emotional softness."
        },
        {
          "time": 900,
          "name": "Inner Glow Plateau",
          "nameEn": "Inner Glow Plateau",
          "purpose": "Builds an immersive field for refreshment, warmth, and luminous self-connection.",
          "purposeEn": "Builds an immersive field for refreshment, warmth, and luminous self-connection."
        },
        {
          "time": 1500,
          "name": "Radiance Integration",
          "nameEn": "Radiance Integration",
          "purpose": "Integrates calm vitality, confidence, and a fresh inner glow.",
          "purposeEn": "Integrates calm vitality, confidence, and a fresh inner glow."
        },
        {
          "time": 1920,
          "name": "Soft Finish",
          "nameEn": "Soft Finish",
          "purpose": "Lands the session with warmth, clarity, and settled ease.",
          "purposeEn": "Lands the session with warmth, clarity, and settled ease."
        },
        {
          "time": 2100,
          "name": "Complete",
          "nameEn": "Complete",
          "purpose": "Ends in calm, refreshed presence.",
          "purposeEn": "Ends in calm, refreshed presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1920,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1920,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1200,
            "value": 72
          },
          {
            "time": 1500,
            "value": 64
          },
          {
            "time": 1740,
            "value": 50
          },
          {
            "time": 1920,
            "value": 34
          },
          {
            "time": 2100,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 180,
            "value": 4
          },
          {
            "time": 420,
            "value": 7
          },
          {
            "time": 660,
            "value": 8
          },
          {
            "time": 900,
            "value": 6
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2100,
            "value": 1
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 15
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1200,
            "value": 32
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1740,
            "value": 24
          },
          {
            "time": 1920,
            "value": 16
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 180,
            "value": 50
          },
          {
            "time": 420,
            "value": 63
          },
          {
            "time": 660,
            "value": 70
          },
          {
            "time": 900,
            "value": 72
          },
          {
            "time": 1200,
            "value": 68
          },
          {
            "time": 1500,
            "value": 64
          },
          {
            "time": 1740,
            "value": 56
          },
          {
            "time": 1920,
            "value": 42
          },
          {
            "time": 2100,
            "value": 22
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 660,
            "value": 15
          },
          {
            "time": 900,
            "value": 12
          },
          {
            "time": 1200,
            "value": 10
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 1920,
            "value": 2
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 900,
            "value": 46
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1740,
            "value": 24
          },
          {
            "time": 1920,
            "value": 10
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.7
          },
          {
            "time": 180,
            "value": 1.1
          },
          {
            "time": 420,
            "value": 1.8
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 900,
            "value": 5
          },
          {
            "time": 1200,
            "value": 6
          },
          {
            "time": 1500,
            "value": 3.4
          },
          {
            "time": 1740,
            "value": 1.8
          },
          {
            "time": 1920,
            "value": 0.8
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#5fb8a8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 180,
            "value": "#83d6c2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 18
          },
          {
            "time": 420,
            "value": "#7fdc9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 26
          },
          {
            "time": 660,
            "value": "#a77bd8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 34
          },
          {
            "time": 900,
            "value": "#d686c4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 44
          },
          {
            "time": 1200,
            "value": "#6f4fa8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.09,
            "auroraDepth": 50
          },
          {
            "time": 1500,
            "value": "#f2a56d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.17,
            "auroraDepth": 34
          },
          {
            "time": 1740,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 1920,
            "value": "#ffd6c2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.09,
            "auroraDepth": 10
          },
          {
            "time": 2100,
            "value": "#ffeadd",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100,
    "audioMode": "binaural",
    "audioFadeInSeconds": 10,
    "allowedMusicMoods": [
      "Soft Soundscapes",
      "Ambient",
      "Theta Soundscape",
      "Drone",
      "Cinematic Ambient"
    ]
  },
  "balanced-thought": {
    "title": "Evenwichtig denken (Mentaal)",
    "titleEn": "Balanced Thought (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van evenwichtig denken, emotionele stabiliteit, mentale ruimte en rustige cognitieve integratie.",
    "goalEn": "Designed to support balanced thinking, emotional steadiness, mental spaciousness, and calm cognitive integration.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 42,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1860,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Settling the Mind",
          "nameEn": "Arrival / Settling the Mind",
          "purpose": "Guides attention away from mental pressure into a calmer, more grounded state.",
          "purposeEn": "Guides attention away from mental pressure into a calmer, more grounded state."
        },
        {
          "time": 210,
          "name": "Emotional Regulation",
          "nameEn": "Emotional Regulation",
          "purpose": "Promotes steadier breathing, softer mental tone, and balanced inner orientation.",
          "purposeEn": "Promotes steadier breathing, softer mental tone, and balanced inner orientation."
        },
        {
          "time": 480,
          "name": "Cognitive Balance",
          "nameEn": "Cognitive Balance",
          "purpose": "Builds relaxed alpha clarity and smoother thought organization.",
          "purposeEn": "Builds relaxed alpha clarity and smoother thought organization."
        },
        {
          "time": 780,
          "name": "Deeper Integration",
          "nameEn": "Deeper Integration",
          "purpose": "Deepens spacious awareness and reduces mental over-effort.",
          "purposeEn": "Deepens spacious awareness and reduces mental over-effort."
        },
        {
          "time": 1080,
          "name": "Balanced Insight Plateau",
          "nameEn": "Balanced Insight Plateau",
          "purpose": "Supports calm reflection, emotional balance, and coherent thinking.",
          "purposeEn": "Supports calm reflection, emotional balance, and coherent thinking."
        },
        {
          "time": 1380,
          "name": "Clear Integration",
          "nameEn": "Clear Integration",
          "purpose": "Reorganizes the session toward awake clarity and stable self-direction.",
          "purposeEn": "Reorganizes the session toward awake clarity and stable self-direction."
        },
        {
          "time": 1620,
          "name": "Landing / Steady Close",
          "nameEn": "Landing / Steady Close",
          "purpose": "Returns the experience to grounded calm with balanced alertness.",
          "purposeEn": "Returns the experience to grounded calm with balanced alertness."
        },
        {
          "time": 1860,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with quiet mental steadiness.",
          "purposeEn": "Completes the session with quiet mental steadiness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 630,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 930,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1230,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 11.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1620,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 630,
            "value": 10.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 930,
            "value": 6.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1230,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 10.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 11.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1620,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 22
          },
          {
            "time": 210,
            "value": 36
          },
          {
            "time": 345,
            "value": 44
          },
          {
            "time": 480,
            "value": 52
          },
          {
            "time": 630,
            "value": 58
          },
          {
            "time": 780,
            "value": 64
          },
          {
            "time": 930,
            "value": 72
          },
          {
            "time": 1080,
            "value": 66
          },
          {
            "time": 1230,
            "value": 56
          },
          {
            "time": 1380,
            "value": 54
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1740,
            "value": 18
          },
          {
            "time": 1860,
            "value": 2
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 2
          },
          {
            "time": 210,
            "value": 5
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 10
          },
          {
            "time": 630,
            "value": 12
          },
          {
            "time": 780,
            "value": 4
          },
          {
            "time": 930,
            "value": 1
          },
          {
            "time": 1080,
            "value": 3
          },
          {
            "time": 1230,
            "value": 8
          },
          {
            "time": 1380,
            "value": 14
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1740,
            "value": 2
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 10
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 30
          },
          {
            "time": 630,
            "value": 32
          },
          {
            "time": 780,
            "value": 22
          },
          {
            "time": 930,
            "value": 18
          },
          {
            "time": 1080,
            "value": 22
          },
          {
            "time": 1230,
            "value": 28
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1620,
            "value": 20
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 26
          },
          {
            "time": 105,
            "value": 42
          },
          {
            "time": 210,
            "value": 56
          },
          {
            "time": 345,
            "value": 62
          },
          {
            "time": 480,
            "value": 66
          },
          {
            "time": 630,
            "value": 64
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 930,
            "value": 70
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1230,
            "value": 62
          },
          {
            "time": 1380,
            "value": 60
          },
          {
            "time": 1500,
            "value": 58
          },
          {
            "time": 1620,
            "value": 44
          },
          {
            "time": 1740,
            "value": 24
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 9
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 345,
            "value": 10
          },
          {
            "time": 480,
            "value": 3
          },
          {
            "time": 630,
            "value": 0
          },
          {
            "time": 780,
            "value": 8
          },
          {
            "time": 930,
            "value": 15
          },
          {
            "time": 1080,
            "value": 10
          },
          {
            "time": 1230,
            "value": 6
          },
          {
            "time": 1380,
            "value": 0
          },
          {
            "time": 1500,
            "value": 0
          },
          {
            "time": 1620,
            "value": 7
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 10
          },
          {
            "time": 210,
            "value": 18
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 28
          },
          {
            "time": 630,
            "value": 26
          },
          {
            "time": 780,
            "value": 40
          },
          {
            "time": 930,
            "value": 52
          },
          {
            "time": 1080,
            "value": 44
          },
          {
            "time": 1230,
            "value": 30
          },
          {
            "time": 1380,
            "value": 22
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1620,
            "value": 10
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 105,
            "value": 0.9
          },
          {
            "time": 210,
            "value": 1.8
          },
          {
            "time": 345,
            "value": 2.4
          },
          {
            "time": 480,
            "value": 3.2
          },
          {
            "time": 630,
            "value": 2.8
          },
          {
            "time": 780,
            "value": 5
          },
          {
            "time": 930,
            "value": 6.8
          },
          {
            "time": 1080,
            "value": 5.4
          },
          {
            "time": 1230,
            "value": 3
          },
          {
            "time": 1380,
            "value": 2.1
          },
          {
            "time": 1500,
            "value": 1
          },
          {
            "time": 1620,
            "value": 0.8
          },
          {
            "time": 1740,
            "value": 0.5
          },
          {
            "time": 1860,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#13202a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 105,
            "value": "#245b74",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 12
          },
          {
            "time": 210,
            "value": "#36c2b4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 345,
            "value": "#61d483",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 480,
            "value": "#9de7b6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 630,
            "value": "#c7f4df",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 780,
            "value": "#3d4db8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 34
          },
          {
            "time": 930,
            "value": "#6b47d9",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 48
          },
          {
            "time": 1080,
            "value": "#3f77d8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.09,
            "auroraDepth": 42
          },
          {
            "time": 1230,
            "value": "#44c1a4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.15,
            "auroraDepth": 26
          },
          {
            "time": 1380,
            "value": "#f3c865",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 16
          },
          {
            "time": 1500,
            "value": "#f2a65a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 12
          },
          {
            "time": 1620,
            "value": "#c78f6a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 1740,
            "value": "#382923",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 1860,
            "value": "#120f0c",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1860
  },
  "beat-add-adhd": {
    "title": "ADD en ADHD focus (Mentaal)",
    "titleEn": "Beat ADD & ADHD (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van rustige focus, minder afleidbaarheid, stabiele aandacht, mentale ordening en heldere taakgerichte betrokkenheid.",
    "goalEn": "Designed to support calm focus, reduced distractibility, steady attention, mental organization, and clear task-oriented engagement.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 16,
    "colorCrossfadeSeconds": 30,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Settle",
          "nameEn": "Arrival / Settle",
          "purpose": "Settles restlessness and prepares a clean attentional field.",
          "purposeEn": "Settles restlessness and prepares a clean attentional field."
        },
        {
          "time": 210,
          "name": "Calm Alpha Gate",
          "nameEn": "Calm Alpha Gate",
          "purpose": "Guides the system into relaxed alertness without dullness.",
          "purposeEn": "Guides the system into relaxed alertness without dullness."
        },
        {
          "time": 480,
          "name": "SMR Stabilization",
          "nameEn": "SMR Stabilization",
          "purpose": "Builds steady sensory-motor rhythm and organized focus.",
          "purposeEn": "Builds steady sensory-motor rhythm and organized focus."
        },
        {
          "time": 780,
          "name": "Low-Beta Engagement",
          "nameEn": "Low-Beta Engagement",
          "purpose": "Activates task-ready attention with controlled mental energy.",
          "purposeEn": "Activates task-ready attention with controlled mental energy."
        },
        {
          "time": 1140,
          "name": "Sustained Focus Plateau",
          "nameEn": "Sustained Focus Plateau",
          "purpose": "Promotes consistency, filtering, and focused engagement.",
          "purposeEn": "Promotes consistency, filtering, and focused engagement."
        },
        {
          "time": 1500,
          "name": "Organized Integration",
          "nameEn": "Organized Integration",
          "purpose": "Integrates clarity while lowering excess stimulation.",
          "purposeEn": "Integrates clarity while lowering excess stimulation."
        },
        {
          "time": 1800,
          "name": "Landing / Clear Close",
          "nameEn": "Landing / Clear Close",
          "purpose": "Returns to calm, grounded focus and comfortable closure.",
          "purposeEn": "Returns to calm, grounded focus and comfortable closure."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with balanced alertness.",
          "purposeEn": "Completes the session with balanced alertness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 12.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 630,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 14.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 15.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1140,
            "value": 14.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 13.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 11.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 12.4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 630,
            "value": 13.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 14.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 15.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1140,
            "value": 14.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 13,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 11.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 22
          },
          {
            "time": 210,
            "value": 34
          },
          {
            "time": 345,
            "value": 44
          },
          {
            "time": 480,
            "value": 58
          },
          {
            "time": 630,
            "value": 66
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 960,
            "value": 78
          },
          {
            "time": 1140,
            "value": 70
          },
          {
            "time": 1320,
            "value": 60
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1650,
            "value": 38
          },
          {
            "time": 1800,
            "value": 26
          },
          {
            "time": 1920,
            "value": 14
          },
          {
            "time": 2040,
            "value": 4
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 3
          },
          {
            "time": 210,
            "value": 6
          },
          {
            "time": 345,
            "value": 8
          },
          {
            "time": 480,
            "value": 12
          },
          {
            "time": 630,
            "value": 18
          },
          {
            "time": 780,
            "value": 26
          },
          {
            "time": 960,
            "value": 30
          },
          {
            "time": 1140,
            "value": 22
          },
          {
            "time": 1320,
            "value": 14
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1650,
            "value": 5
          },
          {
            "time": 1800,
            "value": 3
          },
          {
            "time": 1920,
            "value": 1
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 22
          },
          {
            "time": 345,
            "value": 30
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 630,
            "value": 44
          },
          {
            "time": 780,
            "value": 52
          },
          {
            "time": 960,
            "value": 56
          },
          {
            "time": 1140,
            "value": 46
          },
          {
            "time": 1320,
            "value": 36
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1650,
            "value": 20
          },
          {
            "time": 1800,
            "value": 12
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 105,
            "value": 48
          },
          {
            "time": 210,
            "value": 58
          },
          {
            "time": 345,
            "value": 62
          },
          {
            "time": 480,
            "value": 66
          },
          {
            "time": 630,
            "value": 70
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 960,
            "value": 76
          },
          {
            "time": 1140,
            "value": 70
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1500,
            "value": 58
          },
          {
            "time": 1650,
            "value": 48
          },
          {
            "time": 1800,
            "value": 34
          },
          {
            "time": 1920,
            "value": 20
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 8
          },
          {
            "time": 210,
            "value": 10
          },
          {
            "time": 345,
            "value": 5
          },
          {
            "time": 480,
            "value": 0
          },
          {
            "time": 630,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 0
          },
          {
            "time": 1320,
            "value": 6
          },
          {
            "time": 1500,
            "value": 10
          },
          {
            "time": 1650,
            "value": 8
          },
          {
            "time": 1800,
            "value": 5
          },
          {
            "time": 1920,
            "value": 2
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 10
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 345,
            "value": 10
          },
          {
            "time": 480,
            "value": 8
          },
          {
            "time": 630,
            "value": 14
          },
          {
            "time": 780,
            "value": 8
          },
          {
            "time": 960,
            "value": 6
          },
          {
            "time": 1140,
            "value": 10
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1650,
            "value": 18
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 1920,
            "value": 4
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.7
          },
          {
            "time": 105,
            "value": 1
          },
          {
            "time": 210,
            "value": 1.2
          },
          {
            "time": 345,
            "value": 1
          },
          {
            "time": 480,
            "value": 0.9
          },
          {
            "time": 630,
            "value": 2
          },
          {
            "time": 780,
            "value": 1
          },
          {
            "time": 960,
            "value": 0.8
          },
          {
            "time": 1140,
            "value": 1.1
          },
          {
            "time": 1320,
            "value": 2.6
          },
          {
            "time": 1500,
            "value": 3.4
          },
          {
            "time": 1650,
            "value": 2
          },
          {
            "time": 1800,
            "value": 1
          },
          {
            "time": 1920,
            "value": 0.6
          },
          {
            "time": 2040,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#10243d",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 105,
            "value": "#1f6f8b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 210,
            "value": "#27b8c7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 345,
            "value": "#31c989",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 480,
            "value": "#41d38a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 22
          },
          {
            "time": 630,
            "value": "#5bd6ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 28
          },
          {
            "time": 780,
            "value": "#f0c84b",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 960,
            "value": "#fff2b8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 1140,
            "value": "#46d2ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 16
          },
          {
            "time": 1320,
            "value": "#3fbf91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 26
          },
          {
            "time": 1500,
            "value": "#5869d9",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 32
          },
          {
            "time": 1650,
            "value": "#3aa88d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 1800,
            "value": "#d79c58",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 8
          },
          {
            "time": 1920,
            "value": "#3b2720",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 2040,
            "value": "#12100e",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "beat-bipolar-disorder": {
    "title": "Emotionele ritmebalans (Mentaal)",
    "titleEn": "Emotional Rhythm Balance (Mental)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van emotionele stabiliteit, innerlijk ritme, rustige zelfregulatie, gegrond optimisme en evenwichtige integratie van stemmingstoestanden.",
    "goalEn": "Designed to support emotional steadiness, inner rhythm, calm self-regulation, grounded optimism, and balanced mood-state integration.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 40,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Grounding",
          "nameEn": "Arrival / Grounding",
          "purpose": "Guides the system into a steady grounded baseline with soft sensory pacing.",
          "purposeEn": "Guides the system into a steady grounded baseline with soft sensory pacing."
        },
        {
          "time": 240,
          "name": "Emotional Regulation",
          "nameEn": "Emotional Regulation",
          "purpose": "Stabilizes relaxed alpha rhythm and supports smoother emotional tone.",
          "purposeEn": "Stabilizes relaxed alpha rhythm and supports smoother emotional tone."
        },
        {
          "time": 540,
          "name": "Balanced Clarity",
          "nameEn": "Balanced Clarity",
          "purpose": "Builds calm alertness, clear orientation, and gentle mental organization.",
          "purposeEn": "Builds calm alertness, clear orientation, and gentle mental organization."
        },
        {
          "time": 900,
          "name": "Inner Rhythm Plateau",
          "nameEn": "Inner Rhythm Plateau",
          "purpose": "Promotes balanced mood-state integration through steady alpha-theta flow and warm color movement.",
          "purposeEn": "Promotes balanced mood-state integration through steady alpha-theta flow and warm color movement."
        },
        {
          "time": 1320,
          "name": "Deep Steadiness",
          "nameEn": "Deep Steadiness",
          "purpose": "Deepens inner stability with spacious sound, pink noise, slow Aurora Immersion™, and restorative imagery.",
          "purposeEn": "Deepens inner stability with spacious sound, pink noise, slow Aurora Immersion™, and restorative imagery."
        },
        {
          "time": 1740,
          "name": "Warm Integration",
          "nameEn": "Warm Integration",
          "purpose": "Integrates calm confidence, emotional warmth, and practical present-moment steadiness.",
          "purposeEn": "Integrates calm confidence, emotional warmth, and practical present-moment steadiness."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in grounded balance and relaxed clarity.",
          "purposeEn": "Completes the session in grounded balance and relaxed clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 7,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1950,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 10.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 9.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 6.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1950,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 38
          },
          {
            "time": 390,
            "value": 48
          },
          {
            "time": 540,
            "value": 58
          },
          {
            "time": 720,
            "value": 62
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1110,
            "value": 72
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1530,
            "value": 74
          },
          {
            "time": 1740,
            "value": 62
          },
          {
            "time": 1950,
            "value": 34
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 120,
            "value": 4
          },
          {
            "time": 240,
            "value": 7
          },
          {
            "time": 390,
            "value": 10
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 720,
            "value": 12
          },
          {
            "time": 900,
            "value": 6
          },
          {
            "time": 1110,
            "value": 3
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1530,
            "value": 0
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 1950,
            "value": 4
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 390,
            "value": 30
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 720,
            "value": 32
          },
          {
            "time": 900,
            "value": 28
          },
          {
            "time": 1110,
            "value": 26
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1530,
            "value": 22
          },
          {
            "time": 1740,
            "value": 28
          },
          {
            "time": 1950,
            "value": 16
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 120,
            "value": 52
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 390,
            "value": 68
          },
          {
            "time": 540,
            "value": 72
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 900,
            "value": 76
          },
          {
            "time": 1110,
            "value": 74
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1530,
            "value": 68
          },
          {
            "time": 1740,
            "value": 66
          },
          {
            "time": 1950,
            "value": 42
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 390,
            "value": 16
          },
          {
            "time": 540,
            "value": 10
          },
          {
            "time": 720,
            "value": 12
          },
          {
            "time": 900,
            "value": 18
          },
          {
            "time": 1110,
            "value": 22
          },
          {
            "time": 1320,
            "value": 28
          },
          {
            "time": 1530,
            "value": 26
          },
          {
            "time": 1740,
            "value": 14
          },
          {
            "time": 1950,
            "value": 4
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 240,
            "value": 20
          },
          {
            "time": 390,
            "value": 26
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 720,
            "value": 32
          },
          {
            "time": 900,
            "value": 42
          },
          {
            "time": 1110,
            "value": 48
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1530,
            "value": 54
          },
          {
            "time": 1740,
            "value": 34
          },
          {
            "time": 1950,
            "value": 12
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.3
          },
          {
            "time": 240,
            "value": 2
          },
          {
            "time": 390,
            "value": 2.8
          },
          {
            "time": 540,
            "value": 3.2
          },
          {
            "time": 720,
            "value": 3.4
          },
          {
            "time": 900,
            "value": 5
          },
          {
            "time": 1110,
            "value": 6
          },
          {
            "time": 1320,
            "value": 7.8
          },
          {
            "time": 1530,
            "value": 7.2
          },
          {
            "time": 1740,
            "value": 3.8
          },
          {
            "time": 1950,
            "value": 1.1
          },
          {
            "time": 2160,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173850",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#1d6f7f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#35b58f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 390,
            "value": "#65c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 36
          },
          {
            "time": 540,
            "value": "#d4b84f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.38,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.34,
            "auroraDepth": 38
          },
          {
            "time": 900,
            "value": "#4aa4c6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 46
          },
          {
            "time": 1110,
            "value": "#4e68b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 1320,
            "value": "#2d235f",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 66
          },
          {
            "time": 1530,
            "value": "#251b4a",
            "ganzfeldMode": true,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 58
          },
          {
            "time": 1740,
            "value": "#5ec48b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 32
          },
          {
            "time": 1950,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 2160,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "beat-eating-disorders": {
    "title": "Eetpatronen in balans (Mentaal)",
    "titleEn": "Beat Eating Disorders (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotionele regulatie, lichaamsvertrouwen, gegronde zelfverbinding, rustig impulsbewustzijn en een warmere relatie met voeding en zelfzorg.",
    "goalEn": "Designed to support emotional regulation, body trust, grounded self-connection, calm impulse awareness, and a warmer relationship with nourishment and self-care.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2520,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Safety",
          "nameEn": "Arrival / Safety",
          "purpose": "Creates a grounded, gentle entry and begins settling inner pressure.",
          "purposeEn": "Creates a grounded, gentle entry and begins settling inner pressure."
        },
        {
          "time": 300,
          "name": "Body Trust Stabilization",
          "nameEn": "Body Trust Stabilization",
          "purpose": "Promotes steady body awareness and calm regulation.",
          "purposeEn": "Promotes steady body awareness and calm regulation."
        },
        {
          "time": 660,
          "name": "Emotional Softening",
          "nameEn": "Emotional Softening",
          "purpose": "Guides emotional tension into a warmer and more spacious state.",
          "purposeEn": "Guides emotional tension into a warmer and more spacious state."
        },
        {
          "time": 1020,
          "name": "Deep Self-Connection",
          "nameEn": "Deep Self-Connection",
          "purpose": "Deepens compassionate inward attention and quiets reactive patterns.",
          "purposeEn": "Deepens compassionate inward attention and quiets reactive patterns."
        },
        {
          "time": 1440,
          "name": "Nourishment Integration",
          "nameEn": "Nourishment Integration",
          "purpose": "Builds balanced self-care imagery and stable internal permission.",
          "purposeEn": "Builds balanced self-care imagery and stable internal permission."
        },
        {
          "time": 1860,
          "name": "Confidence and Choice",
          "nameEn": "Confidence and Choice",
          "purpose": "Activates calm agency, clarity, and constructive choice.",
          "purposeEn": "Activates calm agency, clarity, and constructive choice."
        },
        {
          "time": 2220,
          "name": "Landing / Warm Close",
          "nameEn": "Landing / Warm Close",
          "purpose": "Returns the session to grounded balance and gentle confidence.",
          "purposeEn": "Returns the session to grounded balance and gentle confidence."
        },
        {
          "time": 2520,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with calm integration.",
          "purposeEn": "Completes the session with calm integration."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1230,
            "value": 4.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 10.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2370,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 7.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 6.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 6.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 5.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1230,
            "value": 4.3,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 10.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2220,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2370,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 24
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 480,
            "value": 50
          },
          {
            "time": 660,
            "value": 60
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1230,
            "value": 76
          },
          {
            "time": 1440,
            "value": 68
          },
          {
            "time": 1650,
            "value": 62
          },
          {
            "time": 1860,
            "value": 58
          },
          {
            "time": 2040,
            "value": 64
          },
          {
            "time": 2220,
            "value": 42
          },
          {
            "time": 2370,
            "value": 22
          },
          {
            "time": 2520,
            "value": 4
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 2
          },
          {
            "time": 300,
            "value": 4
          },
          {
            "time": 480,
            "value": 6
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 840,
            "value": 2
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1230,
            "value": 0
          },
          {
            "time": 1440,
            "value": 6
          },
          {
            "time": 1650,
            "value": 10
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2040,
            "value": 18
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2370,
            "value": 2
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 480,
            "value": 26
          },
          {
            "time": 660,
            "value": 30
          },
          {
            "time": 840,
            "value": 32
          },
          {
            "time": 1020,
            "value": 28
          },
          {
            "time": 1230,
            "value": 26
          },
          {
            "time": 1440,
            "value": 30
          },
          {
            "time": 1650,
            "value": 34
          },
          {
            "time": 1860,
            "value": 36
          },
          {
            "time": 2040,
            "value": 40
          },
          {
            "time": 2220,
            "value": 24
          },
          {
            "time": 2370,
            "value": 12
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 30
          },
          {
            "time": 150,
            "value": 46
          },
          {
            "time": 300,
            "value": 58
          },
          {
            "time": 480,
            "value": 64
          },
          {
            "time": 660,
            "value": 68
          },
          {
            "time": 840,
            "value": 70
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1230,
            "value": 72
          },
          {
            "time": 1440,
            "value": 70
          },
          {
            "time": 1650,
            "value": 68
          },
          {
            "time": 1860,
            "value": 64
          },
          {
            "time": 2040,
            "value": 66
          },
          {
            "time": 2220,
            "value": 50
          },
          {
            "time": 2370,
            "value": 28
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 8
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 480,
            "value": 14
          },
          {
            "time": 660,
            "value": 10
          },
          {
            "time": 840,
            "value": 12
          },
          {
            "time": 1020,
            "value": 18
          },
          {
            "time": 1230,
            "value": 20
          },
          {
            "time": 1440,
            "value": 12
          },
          {
            "time": 1650,
            "value": 8
          },
          {
            "time": 1860,
            "value": 3
          },
          {
            "time": 2040,
            "value": 0
          },
          {
            "time": 2220,
            "value": 6
          },
          {
            "time": 2370,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 12
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 480,
            "value": 26
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 840,
            "value": 42
          },
          {
            "time": 1020,
            "value": 52
          },
          {
            "time": 1230,
            "value": 56
          },
          {
            "time": 1440,
            "value": 36
          },
          {
            "time": 1650,
            "value": 28
          },
          {
            "time": 1860,
            "value": 18
          },
          {
            "time": 2040,
            "value": 12
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2370,
            "value": 5
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 150,
            "value": 1.2
          },
          {
            "time": 300,
            "value": 2
          },
          {
            "time": 480,
            "value": 2.8
          },
          {
            "time": 660,
            "value": 4.2
          },
          {
            "time": 840,
            "value": 5.6
          },
          {
            "time": 1020,
            "value": 7
          },
          {
            "time": 1230,
            "value": 7.6
          },
          {
            "time": 1440,
            "value": 4.4
          },
          {
            "time": 1650,
            "value": 3
          },
          {
            "time": 1860,
            "value": 1.8
          },
          {
            "time": 2040,
            "value": 1.2
          },
          {
            "time": 2220,
            "value": 1
          },
          {
            "time": 2370,
            "value": 0.6
          },
          {
            "time": 2520,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173127",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 150,
            "value": "#2a6f64",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 12
          },
          {
            "time": 300,
            "value": "#45b68f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 480,
            "value": "#66c78f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 660,
            "value": "#6c5bd6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 32
          },
          {
            "time": 840,
            "value": "#8a58d6",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 42
          },
          {
            "time": 1020,
            "value": "#7240a8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.09,
            "auroraDepth": 50
          },
          {
            "time": 1230,
            "value": "#5d3488",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 54
          },
          {
            "time": 1440,
            "value": "#d88bb8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 38
          },
          {
            "time": 1650,
            "value": "#e7a05d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 1860,
            "value": "#f0c85a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 18
          },
          {
            "time": 2040,
            "value": "#ffd477",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 2220,
            "value": "#d89b6a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 2370,
            "value": "#5a3c2c",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 2520,
            "value": "#15100c",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2520
  },
  "better-listening": {
    "title": "Beter luisteren (Mentaal)",
    "titleEn": "Better Listening (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van ontvankelijke aandacht, auditieve helderheid, rustige aanwezigheid en dieper interpersoonlijk luisteren.",
    "goalEn": "Designed to support receptive attention, auditory clarity, calm presence, and deeper interpersonal listening.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 40,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Receptive Space",
          "nameEn": "Arrival / Receptive Space",
          "purpose": "Opens a calm listening field and softens internal noise.",
          "purposeEn": "Opens a calm listening field and softens internal noise."
        },
        {
          "time": 240,
          "name": "Auditory Grounding",
          "nameEn": "Auditory Grounding",
          "purpose": "Stabilizes attention through gentle alpha rhythm and steady sound layers.",
          "purposeEn": "Stabilizes attention through gentle alpha rhythm and steady sound layers."
        },
        {
          "time": 540,
          "name": "Presence and Connection",
          "nameEn": "Presence and Connection",
          "purpose": "Builds emotional warmth, patience, and interpersonal receptivity.",
          "purposeEn": "Builds emotional warmth, patience, and interpersonal receptivity."
        },
        {
          "time": 900,
          "name": "Focused Listening Plateau",
          "nameEn": "Focused Listening Plateau",
          "purpose": "Promotes clear attention, speech tracking, and responsive awareness.",
          "purposeEn": "Promotes clear attention, speech tracking, and responsive awareness."
        },
        {
          "time": 1260,
          "name": "Deep Receptive Flow",
          "nameEn": "Deep Receptive Flow",
          "purpose": "Deepens relaxed concentration while reducing over-analysis.",
          "purposeEn": "Deepens relaxed concentration while reducing over-analysis."
        },
        {
          "time": 1620,
          "name": "Integration and Response",
          "nameEn": "Integration and Response",
          "purpose": "Activates calm clarity for listening, understanding, and thoughtful response.",
          "purposeEn": "Activates calm clarity for listening, understanding, and thoughtful response."
        },
        {
          "time": 1920,
          "name": "Landing / Open Awareness",
          "nameEn": "Landing / Open Awareness",
          "purpose": "Returns to balanced alertness with warm social presence.",
          "purposeEn": "Returns to balanced alertness with warm social presence."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with stable, open attention.",
          "purposeEn": "Completes the session with stable, open attention."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 11.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 12.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1770,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 12.4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 8.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 10.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1770,
            "value": 11.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 22
          },
          {
            "time": 240,
            "value": 38
          },
          {
            "time": 390,
            "value": 46
          },
          {
            "time": 540,
            "value": 56
          },
          {
            "time": 720,
            "value": 50
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1080,
            "value": 42
          },
          {
            "time": 1260,
            "value": 58
          },
          {
            "time": 1440,
            "value": 64
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1770,
            "value": 56
          },
          {
            "time": 1920,
            "value": 38
          },
          {
            "time": 2040,
            "value": 20
          },
          {
            "time": 2160,
            "value": 4
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 2
          },
          {
            "time": 240,
            "value": 5
          },
          {
            "time": 390,
            "value": 8
          },
          {
            "time": 540,
            "value": 6
          },
          {
            "time": 720,
            "value": 4
          },
          {
            "time": 900,
            "value": 12
          },
          {
            "time": 1080,
            "value": 16
          },
          {
            "time": 1260,
            "value": 2
          },
          {
            "time": 1440,
            "value": 0
          },
          {
            "time": 1620,
            "value": 12
          },
          {
            "time": 1770,
            "value": 18
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2040,
            "value": 2
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 390,
            "value": 28
          },
          {
            "time": 540,
            "value": 30
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1080,
            "value": 40
          },
          {
            "time": 1260,
            "value": 26
          },
          {
            "time": 1440,
            "value": 24
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1770,
            "value": 38
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2040,
            "value": 10
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 28
          },
          {
            "time": 120,
            "value": 44
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 390,
            "value": 64
          },
          {
            "time": 540,
            "value": 66
          },
          {
            "time": 720,
            "value": 62
          },
          {
            "time": 900,
            "value": 56
          },
          {
            "time": 1080,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1440,
            "value": 70
          },
          {
            "time": 1620,
            "value": 62
          },
          {
            "time": 1770,
            "value": 64
          },
          {
            "time": 1920,
            "value": 48
          },
          {
            "time": 2040,
            "value": 26
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 390,
            "value": 10
          },
          {
            "time": 540,
            "value": 8
          },
          {
            "time": 720,
            "value": 2
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1260,
            "value": 10
          },
          {
            "time": 1440,
            "value": 14
          },
          {
            "time": 1620,
            "value": 2
          },
          {
            "time": 1770,
            "value": 0
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2040,
            "value": 3
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 390,
            "value": 22
          },
          {
            "time": 540,
            "value": 28
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 900,
            "value": 12
          },
          {
            "time": 1080,
            "value": 10
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1440,
            "value": 46
          },
          {
            "time": 1620,
            "value": 16
          },
          {
            "time": 1770,
            "value": 12
          },
          {
            "time": 1920,
            "value": 10
          },
          {
            "time": 2040,
            "value": 4
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.7
          },
          {
            "time": 120,
            "value": 1
          },
          {
            "time": 240,
            "value": 1.4
          },
          {
            "time": 390,
            "value": 2.4
          },
          {
            "time": 540,
            "value": 3.2
          },
          {
            "time": 720,
            "value": 2.6
          },
          {
            "time": 900,
            "value": 1.2
          },
          {
            "time": 1080,
            "value": 1
          },
          {
            "time": 1260,
            "value": 4.6
          },
          {
            "time": 1440,
            "value": 5.8
          },
          {
            "time": 1620,
            "value": 1.8
          },
          {
            "time": 1770,
            "value": 1.2
          },
          {
            "time": 1920,
            "value": 0.9
          },
          {
            "time": 2040,
            "value": 0.5
          },
          {
            "time": 2160,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#11283a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 120,
            "value": "#1d6f8d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 240,
            "value": "#39b6c8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 390,
            "value": "#50c88c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 540,
            "value": "#79c56a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 28
          },
          {
            "time": 720,
            "value": "#4cbf96",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 18
          },
          {
            "time": 900,
            "value": "#55d6ff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 1080,
            "value": "#74e4ff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 1260,
            "value": "#4a5fd2",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 38
          },
          {
            "time": 1440,
            "value": "#5d4dc0",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 46
          },
          {
            "time": 1620,
            "value": "#f0c45f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 1770,
            "value": "#ffd66b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 14
          },
          {
            "time": 1920,
            "value": "#c9865a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 2040,
            "value": "#413022",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 2160,
            "value": "#14100c",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "better-perception": {
    "title": "Betere waarneming (Mentaal)",
    "titleEn": "Better Perception (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van scherper zintuiglijk bewustzijn, helderdere perceptie, rustige observatie en geintegreerde aandachtige aanwezigheid.",
    "goalEn": "Designed to support sharper sensory awareness, clearer perception, calm observation, and integrated attentional presence.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Sensory Opening",
          "nameEn": "Arrival / Sensory Opening",
          "purpose": "Softens internal distraction and opens a calm observational field.",
          "purposeEn": "Softens internal distraction and opens a calm observational field."
        },
        {
          "time": 210,
          "name": "Grounded Awareness",
          "nameEn": "Grounded Awareness",
          "purpose": "Stabilizes the mind in relaxed alpha perception.",
          "purposeEn": "Stabilizes the mind in relaxed alpha perception."
        },
        {
          "time": 480,
          "name": "Perceptual Clarity",
          "nameEn": "Perceptual Clarity",
          "purpose": "Builds clean sensory focus and sharper present-moment noticing.",
          "purposeEn": "Builds clean sensory focus and sharper present-moment noticing."
        },
        {
          "time": 780,
          "name": "Expanded Observation",
          "nameEn": "Expanded Observation",
          "purpose": "Deepens receptive awareness with wider visual and auditory spaciousness.",
          "purposeEn": "Deepens receptive awareness with wider visual and auditory spaciousness."
        },
        {
          "time": 1110,
          "name": "Clear Signal Plateau",
          "nameEn": "Clear Signal Plateau",
          "purpose": "Promotes alert clarity, sensory discrimination, and steady attention.",
          "purposeEn": "Promotes alert clarity, sensory discrimination, and steady attention."
        },
        {
          "time": 1440,
          "name": "Integrated Perception",
          "nameEn": "Integrated Perception",
          "purpose": "Blends calm observation with brighter cognitive orientation.",
          "purposeEn": "Blends calm observation with brighter cognitive orientation."
        },
        {
          "time": 1740,
          "name": "Landing / Open Clarity",
          "nameEn": "Landing / Open Clarity",
          "purpose": "Returns to balanced awareness with a clean, grounded close.",
          "purposeEn": "Returns to balanced awareness with a clean, grounded close."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with steady perceptual presence.",
          "purposeEn": "Completes the session with steady perceptual presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 630,
            "value": 12.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 945,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 13.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 15,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1440,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1590,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1890,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 11,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 630,
            "value": 12,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 8.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 945,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 13,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 14.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1440,
            "value": 11.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1590,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1890,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 34
          },
          {
            "time": 345,
            "value": 44
          },
          {
            "time": 480,
            "value": 52
          },
          {
            "time": 630,
            "value": 58
          },
          {
            "time": 780,
            "value": 64
          },
          {
            "time": 945,
            "value": 70
          },
          {
            "time": 1110,
            "value": 46
          },
          {
            "time": 1260,
            "value": 50
          },
          {
            "time": 1440,
            "value": 58
          },
          {
            "time": 1590,
            "value": 52
          },
          {
            "time": 1740,
            "value": 34
          },
          {
            "time": 1890,
            "value": 18
          },
          {
            "time": 2040,
            "value": 3
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 3
          },
          {
            "time": 210,
            "value": 6
          },
          {
            "time": 345,
            "value": 10
          },
          {
            "time": 480,
            "value": 14
          },
          {
            "time": 630,
            "value": 18
          },
          {
            "time": 780,
            "value": 4
          },
          {
            "time": 945,
            "value": 2
          },
          {
            "time": 1110,
            "value": 22
          },
          {
            "time": 1260,
            "value": 26
          },
          {
            "time": 1440,
            "value": 18
          },
          {
            "time": 1590,
            "value": 10
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 1890,
            "value": 2
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 105,
            "value": 12
          },
          {
            "time": 210,
            "value": 22
          },
          {
            "time": 345,
            "value": 30
          },
          {
            "time": 480,
            "value": 36
          },
          {
            "time": 630,
            "value": 38
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 945,
            "value": 22
          },
          {
            "time": 1110,
            "value": 42
          },
          {
            "time": 1260,
            "value": 48
          },
          {
            "time": 1440,
            "value": 38
          },
          {
            "time": 1590,
            "value": 30
          },
          {
            "time": 1740,
            "value": 18
          },
          {
            "time": 1890,
            "value": 8
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 28
          },
          {
            "time": 105,
            "value": 42
          },
          {
            "time": 210,
            "value": 56
          },
          {
            "time": 345,
            "value": 62
          },
          {
            "time": 480,
            "value": 66
          },
          {
            "time": 630,
            "value": 64
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 945,
            "value": 70
          },
          {
            "time": 1110,
            "value": 58
          },
          {
            "time": 1260,
            "value": 62
          },
          {
            "time": 1440,
            "value": 64
          },
          {
            "time": 1590,
            "value": 58
          },
          {
            "time": 1740,
            "value": 44
          },
          {
            "time": 1890,
            "value": 24
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 8
          },
          {
            "time": 210,
            "value": 11
          },
          {
            "time": 345,
            "value": 6
          },
          {
            "time": 480,
            "value": 0
          },
          {
            "time": 630,
            "value": 0
          },
          {
            "time": 780,
            "value": 9
          },
          {
            "time": 945,
            "value": 14
          },
          {
            "time": 1110,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1440,
            "value": 0
          },
          {
            "time": 1590,
            "value": 5
          },
          {
            "time": 1740,
            "value": 7
          },
          {
            "time": 1890,
            "value": 3
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 105,
            "value": 10
          },
          {
            "time": 210,
            "value": 14
          },
          {
            "time": 345,
            "value": 20
          },
          {
            "time": 480,
            "value": 26
          },
          {
            "time": 630,
            "value": 24
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 945,
            "value": 50
          },
          {
            "time": 1110,
            "value": 12
          },
          {
            "time": 1260,
            "value": 10
          },
          {
            "time": 1440,
            "value": 18
          },
          {
            "time": 1590,
            "value": 22
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1890,
            "value": 5
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.6
          },
          {
            "time": 105,
            "value": 0.9
          },
          {
            "time": 210,
            "value": 1.3
          },
          {
            "time": 345,
            "value": 2.2
          },
          {
            "time": 480,
            "value": 3
          },
          {
            "time": 630,
            "value": 2.6
          },
          {
            "time": 780,
            "value": 4.8
          },
          {
            "time": 945,
            "value": 6.5
          },
          {
            "time": 1110,
            "value": 1.1
          },
          {
            "time": 1260,
            "value": 0.9
          },
          {
            "time": 1440,
            "value": 2
          },
          {
            "time": 1590,
            "value": 2.4
          },
          {
            "time": 1740,
            "value": 1.1
          },
          {
            "time": 1890,
            "value": 0.5
          },
          {
            "time": 2040,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#0e2230",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 105,
            "value": "#1d6788",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 12
          },
          {
            "time": 210,
            "value": "#2db7c4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 345,
            "value": "#53d48c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 480,
            "value": "#7ee8d2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 26
          },
          {
            "time": 630,
            "value": "#d3f7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 780,
            "value": "#3340b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 36
          },
          {
            "time": 945,
            "value": "#5d3fd3",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 48
          },
          {
            "time": 1110,
            "value": "#6fe6ff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 1260,
            "value": "#f4d15f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 12
          },
          {
            "time": 1440,
            "value": "#f8b64c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 16
          },
          {
            "time": 1590,
            "value": "#54cfa7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 20
          },
          {
            "time": 1740,
            "value": "#b6815c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 1890,
            "value": "#38261f",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 2040,
            "value": "#120f0b",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "boost-iq": {
    "title": "IQ versterken (Mentaal)",
    "titleEn": "Boost IQ (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van scherper redeneren, cognitieve flexibiliteit, patroonherkenning, werkfocus en heldere probleemoplossende prestaties.",
    "goalEn": "Designed to support sharper reasoning, cognitive flexibility, pattern recognition, working focus, and clear problem-solving performance.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 14,
    "colorCrossfadeSeconds": 30,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Start / Cognitive Clearing",
          "nameEn": "Start / Cognitive Clearing",
          "purpose": "Clears distraction and prepares a calm, organized mental field.",
          "purposeEn": "Clears distraction and prepares a calm, organized mental field."
        },
        {
          "time": 210,
          "name": "Alpha Reasoning Base",
          "nameEn": "Alpha Reasoning Base",
          "purpose": "Stabilizes relaxed alertness and supports flexible thinking.",
          "purposeEn": "Stabilizes relaxed alertness and supports flexible thinking."
        },
        {
          "time": 480,
          "name": "Analytical Build-up",
          "nameEn": "Analytical Build-up",
          "purpose": "Builds focused cognitive energy, processing speed, and structured attention.",
          "purposeEn": "Builds focused cognitive energy, processing speed, and structured attention."
        },
        {
          "time": 780,
          "name": "Problem-Solving Peak",
          "nameEn": "Problem-Solving Peak",
          "purpose": "Promotes bright concentration, pattern recognition, and confident reasoning.",
          "purposeEn": "Promotes bright concentration, pattern recognition, and confident reasoning."
        },
        {
          "time": 1080,
          "name": "Flexible Intelligence Flow",
          "nameEn": "Flexible Intelligence Flow",
          "purpose": "Blends focused analysis with creative association and adaptive thinking.",
          "purposeEn": "Blends focused analysis with creative association and adaptive thinking."
        },
        {
          "time": 1500,
          "name": "Integration / Mental Order",
          "nameEn": "Integration / Mental Order",
          "purpose": "Integrates cognitive activation into calm clarity and usable mental organization.",
          "purposeEn": "Integrates cognitive activation into calm clarity and usable mental organization."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in alert balance and clear focused presence.",
          "purposeEn": "Completes the session in alert balance and clear focused presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 12.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 630,
            "value": 15.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 930,
            "value": 19,
            "lightPulseShape": "square"
          },
          {
            "time": 1020,
            "value": 16.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 13.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1290,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 11,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 9.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 12.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 630,
            "value": 15.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 930,
            "value": 18.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1020,
            "value": 16,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 13,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1290,
            "value": 11.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 10.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 105,
            "value": 30
          },
          {
            "time": 210,
            "value": 44
          },
          {
            "time": 345,
            "value": 56
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 630,
            "value": 82
          },
          {
            "time": 780,
            "value": 92
          },
          {
            "time": 930,
            "value": 96
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1080,
            "value": 80
          },
          {
            "time": 1290,
            "value": 70
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1740,
            "value": 32
          },
          {
            "time": 2040,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 105,
            "value": 7
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 345,
            "value": 18
          },
          {
            "time": 480,
            "value": 30
          },
          {
            "time": 630,
            "value": 40
          },
          {
            "time": 780,
            "value": 50
          },
          {
            "time": 930,
            "value": 56
          },
          {
            "time": 1020,
            "value": 42
          },
          {
            "time": 1080,
            "value": 30
          },
          {
            "time": 1290,
            "value": 22
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 22
          },
          {
            "time": 210,
            "value": 30
          },
          {
            "time": 345,
            "value": 38
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 630,
            "value": 58
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 930,
            "value": 70
          },
          {
            "time": 1020,
            "value": 60
          },
          {
            "time": 1080,
            "value": 48
          },
          {
            "time": 1290,
            "value": 40
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1740,
            "value": 14
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 105,
            "value": 56
          },
          {
            "time": 210,
            "value": 66
          },
          {
            "time": 345,
            "value": 72
          },
          {
            "time": 480,
            "value": 78
          },
          {
            "time": 630,
            "value": 84
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 930,
            "value": 90
          },
          {
            "time": 1020,
            "value": 86
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1290,
            "value": 74
          },
          {
            "time": 1500,
            "value": 60
          },
          {
            "time": 1740,
            "value": 40
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 8
          },
          {
            "time": 210,
            "value": 10
          },
          {
            "time": 345,
            "value": 6
          },
          {
            "time": 480,
            "value": 0
          },
          {
            "time": 630,
            "value": 0
          },
          {
            "time": 780,
            "value": 4
          },
          {
            "time": 930,
            "value": 8
          },
          {
            "time": 1020,
            "value": 4
          },
          {
            "time": 1080,
            "value": 10
          },
          {
            "time": 1290,
            "value": 12
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1740,
            "value": 2
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 12
          },
          {
            "time": 210,
            "value": 18
          },
          {
            "time": 345,
            "value": 22
          },
          {
            "time": 480,
            "value": 14
          },
          {
            "time": 630,
            "value": 16
          },
          {
            "time": 780,
            "value": 22
          },
          {
            "time": 930,
            "value": 26
          },
          {
            "time": 1020,
            "value": 20
          },
          {
            "time": 1080,
            "value": 38
          },
          {
            "time": 1290,
            "value": 30
          },
          {
            "time": 1500,
            "value": 16
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 105,
            "value": 1.1
          },
          {
            "time": 210,
            "value": 1.8
          },
          {
            "time": 345,
            "value": 2.3
          },
          {
            "time": 480,
            "value": 1.2
          },
          {
            "time": 630,
            "value": 1.5
          },
          {
            "time": 780,
            "value": 2.2
          },
          {
            "time": 930,
            "value": 2.8
          },
          {
            "time": 1020,
            "value": 2
          },
          {
            "time": 1080,
            "value": 4.2
          },
          {
            "time": 1290,
            "value": 3
          },
          {
            "time": 1500,
            "value": 1.2
          },
          {
            "time": 1740,
            "value": 0.7
          },
          {
            "time": 2040,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173b5a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 105,
            "value": "#217c8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 22
          },
          {
            "time": 210,
            "value": "#35bfa0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#45c874",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 480,
            "value": "#d6c94b",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.56,
            "auroraDepth": 52
          },
          {
            "time": 630,
            "value": "#f5a63a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.72,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#ff7d2f",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.88,
            "auroraDepth": 72
          },
          {
            "time": 930,
            "value": "#ffe257",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 78
          },
          {
            "time": 1020,
            "value": "#ffad3d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.76,
            "auroraDepth": 58
          },
          {
            "time": 1080,
            "value": "#7a42c8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 52
          },
          {
            "time": 1290,
            "value": "#3aa5c8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 34
          },
          {
            "time": 1500,
            "value": "#5ccf91",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 1740,
            "value": "#d89a65",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2040,
            "value": "#241912",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "boost-learning-ability": {
    "title": "Leer vermogen versterken (Mentaal)",
    "titleEn": "Boost Learning Ability (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van heldere aandacht, rustige geheugenopslag, flexibel begrip en zelfverzekerde leerintegratie.",
    "goalEn": "Designed to support clear attention, calm memory encoding, flexible understanding, and confident learning integration.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 35,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the body and opens a calm learning state.",
          "purposeEn": "Settles the body and opens a calm learning state."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Guides relaxed alpha attention and reduces inner noise.",
          "purposeEn": "Guides relaxed alpha attention and reduces inner noise."
        },
        {
          "time": 600,
          "name": "Learning Activation",
          "nameEn": "Learning Activation",
          "purpose": "Builds alert focus and mental clarity for absorbing information.",
          "purposeEn": "Builds alert focus and mental clarity for absorbing information."
        },
        {
          "time": 1020,
          "name": "Encoding Plateau",
          "nameEn": "Encoding Plateau",
          "purpose": "Promotes steady concentration, pattern recognition, and memory encoding.",
          "purposeEn": "Promotes steady concentration, pattern recognition, and memory encoding."
        },
        {
          "time": 1440,
          "name": "Associative Integration",
          "nameEn": "Associative Integration",
          "purpose": "Deepens flexible thinking and connects new material with existing knowledge.",
          "purposeEn": "Deepens flexible thinking and connects new material with existing knowledge."
        },
        {
          "time": 1800,
          "name": "Consolidation Landing",
          "nameEn": "Consolidation Landing",
          "purpose": "Stabilizes the learning state and closes with calm confidence.",
          "purposeEn": "Stabilizes the learning state and closes with calm confidence."
        },
        {
          "time": 2100,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with a clear, grounded finish.",
          "purposeEn": "Completes the session with a clear, grounded finish."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9
          },
          {
            "time": 240,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11
          },
          {
            "time": 600,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 15.5
          },
          {
            "time": 1020,
            "value": 16.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 15
          },
          {
            "time": 1440,
            "value": 10.5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9.2
          },
          {
            "time": 1800,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1980,
            "value": 7.8
          },
          {
            "time": 2100,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.8
          },
          {
            "time": 240,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11.2
          },
          {
            "time": 600,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 15.8
          },
          {
            "time": 1020,
            "value": 16,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 14.6
          },
          {
            "time": 1440,
            "value": 10.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9
          },
          {
            "time": 1800,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1980,
            "value": 7.8
          },
          {
            "time": 2100,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 120,
            "value": 38
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 780,
            "value": 76
          },
          {
            "time": 1020,
            "value": 82
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1440,
            "value": 64
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1800,
            "value": 42
          },
          {
            "time": 1980,
            "value": 30
          },
          {
            "time": 2100,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 26
          },
          {
            "time": 780,
            "value": 34
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1440,
            "value": 22
          },
          {
            "time": 1620,
            "value": 16
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 1980,
            "value": 5
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 22
          },
          {
            "time": 240,
            "value": 30
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 600,
            "value": 48
          },
          {
            "time": 780,
            "value": 54
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1260,
            "value": 50
          },
          {
            "time": 1440,
            "value": 42
          },
          {
            "time": 1620,
            "value": 32
          },
          {
            "time": 1800,
            "value": 24
          },
          {
            "time": 1980,
            "value": 14
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 55
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 70
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1440,
            "value": 64
          },
          {
            "time": 1620,
            "value": 58
          },
          {
            "time": 1800,
            "value": 50
          },
          {
            "time": 1980,
            "value": 38
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 1020,
            "value": 5
          },
          {
            "time": 1260,
            "value": 3
          },
          {
            "time": 1440,
            "value": 8
          },
          {
            "time": 1620,
            "value": 12
          },
          {
            "time": 1800,
            "value": 9
          },
          {
            "time": 1980,
            "value": 4
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 420,
            "value": 26
          },
          {
            "time": 600,
            "value": 14
          },
          {
            "time": 780,
            "value": 12
          },
          {
            "time": 1020,
            "value": 10
          },
          {
            "time": 1260,
            "value": 14
          },
          {
            "time": 1440,
            "value": 30
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1800,
            "value": 22
          },
          {
            "time": 1980,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 240,
            "value": 2.8
          },
          {
            "time": 420,
            "value": 3.4
          },
          {
            "time": 600,
            "value": 1.6
          },
          {
            "time": 780,
            "value": 1.3
          },
          {
            "time": 1020,
            "value": 1.1
          },
          {
            "time": 1260,
            "value": 1.5
          },
          {
            "time": 1440,
            "value": 4.2
          },
          {
            "time": 1620,
            "value": 4.8
          },
          {
            "time": 1800,
            "value": 2.4
          },
          {
            "time": 1980,
            "value": 1.3
          },
          {
            "time": 2100,
            "value": 0.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2a6fdb",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#34c7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 25
          },
          {
            "time": 240,
            "value": "#27d6a8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#65e6c4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.4,
            "auroraDepth": 42
          },
          {
            "time": 600,
            "value": "#ffd44a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.55,
            "auroraDepth": 24
          },
          {
            "time": 780,
            "value": "#ffb43d",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.72,
            "auroraDepth": 36
          },
          {
            "time": 1020,
            "value": "#ffffff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.85,
            "auroraDepth": 18
          },
          {
            "time": 1260,
            "value": "#a7ffcf",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 38
          },
          {
            "time": 1440,
            "value": "#6f5cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.3,
            "auroraDepth": 55
          },
          {
            "time": 1620,
            "value": "#b46dff",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 48
          },
          {
            "time": 1800,
            "value": "#7edbd4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 1980,
            "value": "#ffd28a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 14
          },
          {
            "time": 2100,
            "value": "#1f2c3d",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "brain-balance": {
    "title": "Breinbalans (Mentaal)",
    "titleEn": "Brain Balance (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van hele-breinbalans, rustige helderheid, emotionele stabiliteit, ontspannen focus en geintegreerde mentale harmonie.",
    "goalEn": "Designed to support whole-brain balance, calm clarity, emotional steadiness, relaxed focus, and integrated mental harmony.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Centering",
          "nameEn": "Arrival / Centering",
          "purpose": "Guides body and mind into a calm, centered starting point.",
          "purposeEn": "Guides body and mind into a calm, centered starting point."
        },
        {
          "time": 240,
          "name": "Alpha Balance",
          "nameEn": "Alpha Balance",
          "purpose": "Stabilizes relaxed attention and promotes emotional steadiness.",
          "purposeEn": "Stabilizes relaxed attention and promotes emotional steadiness."
        },
        {
          "time": 540,
          "name": "Coherent Focus",
          "nameEn": "Coherent Focus",
          "purpose": "Builds clear mental organization and balanced cognitive engagement.",
          "purposeEn": "Builds clear mental organization and balanced cognitive engagement."
        },
        {
          "time": 900,
          "name": "Whole-Brain Flow",
          "nameEn": "Whole-Brain Flow",
          "purpose": "Promotes integrated awareness with gentle rhythmic clarity and immersive color movement.",
          "purposeEn": "Promotes integrated awareness with gentle rhythmic clarity and immersive color movement."
        },
        {
          "time": 1260,
          "name": "Deep Harmonization",
          "nameEn": "Deep Harmonization",
          "purpose": "Deepens balance through spacious alpha-theta pacing, reverb, Aurora Immersion™, and soft sensory blending.",
          "purposeEn": "Deepens balance through spacious alpha-theta pacing, reverb, Aurora Immersion™, and soft sensory blending."
        },
        {
          "time": 1680,
          "name": "Integrated Clarity",
          "nameEn": "Integrated Clarity",
          "purpose": "Returns balance into calm alertness, inner order, and practical presence.",
          "purposeEn": "Returns balance into calm alertness, inner order, and practical presence."
        },
        {
          "time": 2100,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in grounded harmony and relaxed focus.",
          "purposeEn": "Completes the session in grounded harmony and relaxed focus."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 11.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1470,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1890,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 13.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 11.6,
            "musicMood": "Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 10,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1470,
            "value": 7.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1890,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 390,
            "value": 52
          },
          {
            "time": 540,
            "value": 62
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 900,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1470,
            "value": 80
          },
          {
            "time": 1680,
            "value": 62
          },
          {
            "time": 1890,
            "value": 36
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 5
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 390,
            "value": 12
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 900,
            "value": 18
          },
          {
            "time": 1080,
            "value": 10
          },
          {
            "time": 1260,
            "value": 4
          },
          {
            "time": 1470,
            "value": 0
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1890,
            "value": 6
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 20
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 390,
            "value": 34
          },
          {
            "time": 540,
            "value": 40
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 42
          },
          {
            "time": 1080,
            "value": 36
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1470,
            "value": 26
          },
          {
            "time": 1680,
            "value": 32
          },
          {
            "time": 1890,
            "value": 18
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 540,
            "value": 76
          },
          {
            "time": 720,
            "value": 80
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1080,
            "value": 76
          },
          {
            "time": 1260,
            "value": 74
          },
          {
            "time": 1470,
            "value": 70
          },
          {
            "time": 1680,
            "value": 64
          },
          {
            "time": 1890,
            "value": 42
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 390,
            "value": 10
          },
          {
            "time": 540,
            "value": 4
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 10
          },
          {
            "time": 1080,
            "value": 14
          },
          {
            "time": 1260,
            "value": 20
          },
          {
            "time": 1470,
            "value": 26
          },
          {
            "time": 1680,
            "value": 12
          },
          {
            "time": 1890,
            "value": 4
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 390,
            "value": 24
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 720,
            "value": 20
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1080,
            "value": 36
          },
          {
            "time": 1260,
            "value": 48
          },
          {
            "time": 1470,
            "value": 58
          },
          {
            "time": 1680,
            "value": 32
          },
          {
            "time": 1890,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 1.8
          },
          {
            "time": 390,
            "value": 2.6
          },
          {
            "time": 540,
            "value": 1.6
          },
          {
            "time": 720,
            "value": 1.9
          },
          {
            "time": 900,
            "value": 3.2
          },
          {
            "time": 1080,
            "value": 4
          },
          {
            "time": 1260,
            "value": 5.8
          },
          {
            "time": 1470,
            "value": 7.4
          },
          {
            "time": 1680,
            "value": 3.4
          },
          {
            "time": 1890,
            "value": 1.2
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#143a54",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#1f7486",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#35b99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 30
          },
          {
            "time": 390,
            "value": "#62c978",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 38
          },
          {
            "time": 540,
            "value": "#d2c84a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.44,
            "auroraDepth": 44
          },
          {
            "time": 720,
            "value": "#f0b23d",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.54,
            "auroraDepth": 50
          },
          {
            "time": 900,
            "value": "#5fcf91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.38,
            "auroraDepth": 44
          },
          {
            "time": 1080,
            "value": "#3aa5c8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.28,
            "auroraDepth": 50
          },
          {
            "time": 1260,
            "value": "#4657b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 58
          },
          {
            "time": 1470,
            "value": "#28205f",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 68
          },
          {
            "time": 1680,
            "value": "#4fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 1890,
            "value": "#d9a26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 2100,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "brain-power": {
    "title": "Breinkracht (Mentaal)",
    "titleEn": "Brain Power (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van cognitieve kracht, mentale helderheid, leerbereidheid, werkfocus en geactiveerde breinprestatie.",
    "goalEn": "Designed to support cognitive power, mental clarity, learning readiness, working focus, and energized brain performance.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 14,
    "colorCrossfadeSeconds": 28,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1860,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Mental Reset",
          "nameEn": "Arrival / Mental Reset",
          "purpose": "Clears distraction and prepares the mind for efficient cognitive activation.",
          "purposeEn": "Clears distraction and prepares the mind for efficient cognitive activation."
        },
        {
          "time": 180,
          "name": "Alpha Stabilization",
          "nameEn": "Alpha Stabilization",
          "purpose": "Builds calm alertness and balanced attention.",
          "purposeEn": "Builds calm alertness and balanced attention."
        },
        {
          "time": 450,
          "name": "Cognitive Build-up",
          "nameEn": "Cognitive Build-up",
          "purpose": "Activates mental brightness, processing speed, and focused engagement.",
          "purposeEn": "Activates mental brightness, processing speed, and focused engagement."
        },
        {
          "time": 780,
          "name": "Brain Power Peak",
          "nameEn": "Brain Power Peak",
          "purpose": "Promotes sharp focus, clear thinking, and energized problem solving.",
          "purposeEn": "Promotes sharp focus, clear thinking, and energized problem solving."
        },
        {
          "time": 1110,
          "name": "Sustained Work State",
          "nameEn": "Sustained Work State",
          "purpose": "Stabilizes cognitive power into usable concentration and steady performance.",
          "purposeEn": "Stabilizes cognitive power into usable concentration and steady performance."
        },
        {
          "time": 1500,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates clarity, confidence, and mental organization.",
          "purposeEn": "Integrates clarity, confidence, and mental organization."
        },
        {
          "time": 1860,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in calm, awake, and focused presence.",
          "purposeEn": "Completes the session in calm, awake, and focused presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 315,
            "value": 12.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 450,
            "value": 13.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 615,
            "value": 15.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 930,
            "value": 19,
            "lightPulseShape": "square"
          },
          {
            "time": 1020,
            "value": 16.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1110,
            "value": 15,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 13.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 12,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 11,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 315,
            "value": 12.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 450,
            "value": 13.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 615,
            "value": 15.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 930,
            "value": 18.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1020,
            "value": 16.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1110,
            "value": 14.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 13.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 315,
            "value": 54
          },
          {
            "time": 450,
            "value": 68
          },
          {
            "time": 615,
            "value": 78
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 930,
            "value": 94
          },
          {
            "time": 1020,
            "value": 86
          },
          {
            "time": 1110,
            "value": 76
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1680,
            "value": 30
          },
          {
            "time": 1860,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 7
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 315,
            "value": 18
          },
          {
            "time": 450,
            "value": 28
          },
          {
            "time": 615,
            "value": 36
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 930,
            "value": 55
          },
          {
            "time": 1020,
            "value": 42
          },
          {
            "time": 1110,
            "value": 32
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1680,
            "value": 5
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 90,
            "value": 22
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 315,
            "value": 38
          },
          {
            "time": 450,
            "value": 48
          },
          {
            "time": 615,
            "value": 56
          },
          {
            "time": 780,
            "value": 64
          },
          {
            "time": 930,
            "value": 68
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1110,
            "value": 50
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1680,
            "value": 16
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 90,
            "value": 56
          },
          {
            "time": 180,
            "value": 66
          },
          {
            "time": 315,
            "value": 72
          },
          {
            "time": 450,
            "value": 78
          },
          {
            "time": 615,
            "value": 84
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 930,
            "value": 90
          },
          {
            "time": 1020,
            "value": 86
          },
          {
            "time": 1110,
            "value": 80
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1500,
            "value": 60
          },
          {
            "time": 1680,
            "value": 42
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 315,
            "value": 6
          },
          {
            "time": 450,
            "value": 0
          },
          {
            "time": 615,
            "value": 0
          },
          {
            "time": 780,
            "value": 4
          },
          {
            "time": 930,
            "value": 8
          },
          {
            "time": 1020,
            "value": 4
          },
          {
            "time": 1110,
            "value": 8
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1680,
            "value": 2
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 315,
            "value": 22
          },
          {
            "time": 450,
            "value": 14
          },
          {
            "time": 615,
            "value": 16
          },
          {
            "time": 780,
            "value": 22
          },
          {
            "time": 930,
            "value": 26
          },
          {
            "time": 1020,
            "value": 20
          },
          {
            "time": 1110,
            "value": 26
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1500,
            "value": 16
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 1860,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 90,
            "value": 1.1
          },
          {
            "time": 180,
            "value": 1.8
          },
          {
            "time": 315,
            "value": 2.3
          },
          {
            "time": 450,
            "value": 1.2
          },
          {
            "time": 615,
            "value": 1.5
          },
          {
            "time": 780,
            "value": 2.1
          },
          {
            "time": 930,
            "value": 2.7
          },
          {
            "time": 1020,
            "value": 2
          },
          {
            "time": 1110,
            "value": 2.6
          },
          {
            "time": 1320,
            "value": 1.9
          },
          {
            "time": 1500,
            "value": 1.2
          },
          {
            "time": 1680,
            "value": 0.7
          },
          {
            "time": 1860,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173b5a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 90,
            "value": "#217c8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#35bfa0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 315,
            "value": "#45c874",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 450,
            "value": "#d6c94b",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.56,
            "auroraDepth": 52
          },
          {
            "time": 615,
            "value": "#f5a63a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.72,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#ff7d2f",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.88,
            "auroraDepth": 72
          },
          {
            "time": 930,
            "value": "#ffe257",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 78
          },
          {
            "time": 1020,
            "value": "#ffad3d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.76,
            "auroraDepth": 58
          },
          {
            "time": 1110,
            "value": "#a8d85f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#5ccf91",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 30
          },
          {
            "time": 1500,
            "value": "#42aeb0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1680,
            "value": "#d89a65",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 1860,
            "value": "#241912",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1860
  },
  "concentration": {
    "title": "Concentratie (Mentaal)",
    "titleEn": "Concentration (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van concentratie, volgehouden aandacht, mentale helderheid, taakbetrokkenheid en rustige cognitieve controle.",
    "goalEn": "Designed to support concentration, sustained attention, mental clarity, task engagement, and calm cognitive control.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 12,
    "colorCrossfadeSeconds": 24,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1740,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Start / Clear Desk",
          "nameEn": "Start / Clear Desk",
          "purpose": "Clears mental clutter and prepares attention for focused work.",
          "purposeEn": "Clears mental clutter and prepares attention for focused work."
        },
        {
          "time": 180,
          "name": "Alpha Lock-in",
          "nameEn": "Alpha Lock-in",
          "purpose": "Stabilizes calm alertness and reduces distraction.",
          "purposeEn": "Stabilizes calm alertness and reduces distraction."
        },
        {
          "time": 420,
          "name": "Focused Build-up",
          "nameEn": "Focused Build-up",
          "purpose": "Activates concentration with clear rhythmic structure and brighter light.",
          "purposeEn": "Activates concentration with clear rhythmic structure and brighter light."
        },
        {
          "time": 720,
          "name": "Deep Work Plateau",
          "nameEn": "Deep Work Plateau",
          "purpose": "Promotes sustained attention, task engagement, and cognitive control.",
          "purposeEn": "Promotes sustained attention, task engagement, and cognitive control."
        },
        {
          "time": 1110,
          "name": "Precision Focus",
          "nameEn": "Precision Focus",
          "purpose": "Refines mental clarity and strengthens single-pointed attention.",
          "purposeEn": "Refines mental clarity and strengthens single-pointed attention."
        },
        {
          "time": 1440,
          "name": "Integration / Calm Control",
          "nameEn": "Integration / Calm Control",
          "purpose": "Integrates focus into a steady and usable working state.",
          "purposeEn": "Integrates focus into a steady and usable working state."
        },
        {
          "time": 1740,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with calm presence and clear concentration.",
          "purposeEn": "Completes the session with calm presence and clear concentration."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 11.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 13.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 570,
            "value": 14.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 15.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 16.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1110,
            "value": 15.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1290,
            "value": 13.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 12,
            "lightPulseShape": "sine"
          },
          {
            "time": 1600,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 11.6,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 13,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 570,
            "value": 14.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 15.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 16.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1110,
            "value": 15,
            "musicMood": "Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1290,
            "value": 13.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 11.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1600,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 90,
            "value": 24
          },
          {
            "time": 180,
            "value": 36
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 570,
            "value": 72
          },
          {
            "time": 720,
            "value": 80
          },
          {
            "time": 900,
            "value": 84
          },
          {
            "time": 1110,
            "value": 76
          },
          {
            "time": 1290,
            "value": 64
          },
          {
            "time": 1440,
            "value": 48
          },
          {
            "time": 1600,
            "value": 28
          },
          {
            "time": 1740,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 90,
            "value": 6
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 570,
            "value": 32
          },
          {
            "time": 720,
            "value": 38
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1110,
            "value": 34
          },
          {
            "time": 1290,
            "value": 24
          },
          {
            "time": 1440,
            "value": 12
          },
          {
            "time": 1600,
            "value": 4
          },
          {
            "time": 1740,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 90,
            "value": 20
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 36
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 570,
            "value": 52
          },
          {
            "time": 720,
            "value": 58
          },
          {
            "time": 900,
            "value": 60
          },
          {
            "time": 1110,
            "value": 52
          },
          {
            "time": 1290,
            "value": 42
          },
          {
            "time": 1440,
            "value": 30
          },
          {
            "time": 1600,
            "value": 16
          },
          {
            "time": 1740,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 90,
            "value": 54
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 300,
            "value": 70
          },
          {
            "time": 420,
            "value": 76
          },
          {
            "time": 570,
            "value": 80
          },
          {
            "time": 720,
            "value": 82
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1110,
            "value": 78
          },
          {
            "time": 1290,
            "value": 70
          },
          {
            "time": 1440,
            "value": 58
          },
          {
            "time": 1600,
            "value": 40
          },
          {
            "time": 1740,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 6
          },
          {
            "time": 420,
            "value": 0
          },
          {
            "time": 570,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 5
          },
          {
            "time": 1110,
            "value": 6
          },
          {
            "time": 1290,
            "value": 8
          },
          {
            "time": 1440,
            "value": 6
          },
          {
            "time": 1600,
            "value": 2
          },
          {
            "time": 1740,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 570,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 20
          },
          {
            "time": 1110,
            "value": 18
          },
          {
            "time": 1290,
            "value": 16
          },
          {
            "time": 1440,
            "value": 14
          },
          {
            "time": 1600,
            "value": 7
          },
          {
            "time": 1740,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.7
          },
          {
            "time": 90,
            "value": 1
          },
          {
            "time": 180,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2
          },
          {
            "time": 420,
            "value": 1.1
          },
          {
            "time": 570,
            "value": 1.2
          },
          {
            "time": 720,
            "value": 1.4
          },
          {
            "time": 900,
            "value": 1.8
          },
          {
            "time": 1110,
            "value": 1.6
          },
          {
            "time": 1290,
            "value": 1.3
          },
          {
            "time": 1440,
            "value": 1
          },
          {
            "time": 1600,
            "value": 0.6
          },
          {
            "time": 1740,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#143b55",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 90,
            "value": "#1e7080",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#28a69a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 24
          },
          {
            "time": 300,
            "value": "#38b978",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 32
          },
          {
            "time": 420,
            "value": "#92c95a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.44,
            "auroraDepth": 40
          },
          {
            "time": 570,
            "value": "#d8c84b",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.54,
            "auroraDepth": 46
          },
          {
            "time": 720,
            "value": "#f0b43d",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.64,
            "auroraDepth": 52
          },
          {
            "time": 900,
            "value": "#ffd24a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.7,
            "auroraDepth": 56
          },
          {
            "time": 1110,
            "value": "#b8d85f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 40
          },
          {
            "time": 1290,
            "value": "#59c98f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 30
          },
          {
            "time": 1440,
            "value": "#3aa5a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1600,
            "value": "#c58d64",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 1740,
            "value": "#201914",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1740
  },
  "creativity": {
    "title": "Creatieve flow-katalysator (Mentaal)",
    "titleEn": "Creativity Flow Catalyst (Mental)",
    "category": "creativiteit",
    "goal": "Ontworpen ter ondersteuning van creatieve flow, verbeeldende associatie, expressief vertrouwen en heldere integratie van nieuwe ideeen.",
    "goalEn": "Designed to support creative flow, imaginative association, expressive confidence, and clear integration of new ideas.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival Spark",
          "nameEn": "Arrival Spark",
          "purpose": "Open a calm, receptive creative state with soft sensory orientation.",
          "purposeEn": "Open a calm, receptive creative state with soft sensory orientation."
        },
        {
          "time": 240,
          "name": "Alpha Canvas",
          "nameEn": "Alpha Canvas",
          "purpose": "Stabilize relaxed alertness and prepare the mind for flexible association.",
          "purposeEn": "Stabilize relaxed alertness and prepare the mind for flexible association."
        },
        {
          "time": 600,
          "name": "Theta Incubation",
          "nameEn": "Theta Incubation",
          "purpose": "Guide inward imagery, associative thinking, and imaginative flow.",
          "purposeEn": "Guide inward imagery, associative thinking, and imaginative flow."
        },
        {
          "time": 1020,
          "name": "Infinity Ganzfeld™ Vision Field",
          "nameEn": "Infinity Ganzfeld™ Vision Field",
          "purpose": "Deepen immersive absorption and promote spacious creative imagery.",
          "purposeEn": "Deepen immersive absorption and promote spacious creative imagery."
        },
        {
          "time": 1440,
          "name": "Creative Activation",
          "nameEn": "Creative Activation",
          "purpose": "Activate clarity, confidence, and expressive momentum.",
          "purposeEn": "Activate clarity, confidence, and expressive momentum."
        },
        {
          "time": 1800,
          "name": "Integration Glow",
          "nameEn": "Integration Glow",
          "purpose": "Integrate insights into grounded focus and usable creative direction.",
          "purposeEn": "Integrate insights into grounded focus and usable creative direction."
        },
        {
          "time": 2040,
          "name": "Landing Close",
          "nameEn": "Landing Close",
          "purpose": "Land the session smoothly with warm clarity and stable presence.",
          "purposeEn": "Land the session smoothly with warm clarity and stable presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 12.5,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.1,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 12.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 10.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 240,
            "value": 45
          },
          {
            "time": 420,
            "value": 55
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 780,
            "value": 78
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1260,
            "value": 92
          },
          {
            "time": 1440,
            "value": 82
          },
          {
            "time": 1620,
            "value": 76
          },
          {
            "time": 1800,
            "value": 66
          },
          {
            "time": 1980,
            "value": 52
          },
          {
            "time": 2040,
            "value": 38
          },
          {
            "time": 2160,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 780,
            "value": 3
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1440,
            "value": 8
          },
          {
            "time": 1620,
            "value": 24
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 1980,
            "value": 10
          },
          {
            "time": 2040,
            "value": 6
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 36
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 34
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1260,
            "value": 28
          },
          {
            "time": 1440,
            "value": 40
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1800,
            "value": 42
          },
          {
            "time": 1980,
            "value": 30
          },
          {
            "time": 2040,
            "value": 22
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 240,
            "value": 66
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 1020,
            "value": 76
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1440,
            "value": 78
          },
          {
            "time": 1620,
            "value": 80
          },
          {
            "time": 1800,
            "value": 74
          },
          {
            "time": 1980,
            "value": 64
          },
          {
            "time": 2040,
            "value": 52
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 600,
            "value": 20
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1440,
            "value": 16
          },
          {
            "time": 1620,
            "value": 0
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2040,
            "value": 0
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 44
          },
          {
            "time": 780,
            "value": 52
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1440,
            "value": 50
          },
          {
            "time": 1620,
            "value": 24
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 1980,
            "value": 22
          },
          {
            "time": 2040,
            "value": 14
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 120,
            "value": 2.1
          },
          {
            "time": 240,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 3.8
          },
          {
            "time": 600,
            "value": 5.5
          },
          {
            "time": 780,
            "value": 6.8
          },
          {
            "time": 1020,
            "value": 8.8
          },
          {
            "time": 1260,
            "value": 9.4
          },
          {
            "time": 1440,
            "value": 6
          },
          {
            "time": 1620,
            "value": 2.4
          },
          {
            "time": 1800,
            "value": 4.2
          },
          {
            "time": 1980,
            "value": 2.5
          },
          {
            "time": 2040,
            "value": 1.6
          },
          {
            "time": 2160,
            "value": 0.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f7dff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 26
          },
          {
            "time": 240,
            "value": "#32e6c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.35,
            "auroraDepth": 40
          },
          {
            "time": 420,
            "value": "#26d68a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 48
          },
          {
            "time": 600,
            "value": "#5b5cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.28,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#7b3cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 70
          },
          {
            "time": 1020,
            "value": "#8f4dff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.16,
            "auroraDepth": 86
          },
          {
            "time": 1260,
            "value": "#c03cff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.13,
            "auroraDepth": 92
          },
          {
            "time": 1440,
            "value": "#ff5fd2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.45,
            "auroraDepth": 66
          },
          {
            "time": 1620,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.85,
            "auroraDepth": 54
          },
          {
            "time": 1800,
            "value": "#ff9f43",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.55,
            "auroraDepth": 42
          },
          {
            "time": 1980,
            "value": "#74e6a4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 28
          },
          {
            "time": 2040,
            "value": "#ffd6a5",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 2160,
            "value": "#2b3a67",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "critical-factor-bypass": {
    "title": "Kritische factor omzeilen (Mentaal)",
    "titleEn": "Critical Factor Bypass (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van hypnotische absorptie, minder analytische weerstand, diepere innerlijke aandacht en een stabiele ontvankelijke staat voor therapeutisch suggestiewerk.",
    "goalEn": "Designed to support hypnotic absorption, reduce analytical resistance, deepen inward attention, and create a stable receptive state for therapeutic suggestion work.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention, softens external orientation, and begins the transition from everyday thinking into inward focus.",
          "purposeEn": "Settles attention, softens external orientation, and begins the transition from everyday thinking into inward focus."
        },
        {
          "time": 180,
          "name": "Analytical Softening",
          "nameEn": "Analytical Softening",
          "purpose": "Guides relaxed alpha stabilization while the soundstage becomes wider and more absorbing.",
          "purposeEn": "Guides relaxed alpha stabilization while the soundstage becomes wider and more absorbing."
        },
        {
          "time": 420,
          "name": "Gateway Descent",
          "nameEn": "Gateway Descent",
          "purpose": "Moves from alpha into theta with stronger rhythmic coherence and gentle hypnotic narrowing.",
          "purposeEn": "Moves from alpha into theta with stronger rhythmic coherence and gentle hypnotic narrowing."
        },
        {
          "time": 720,
          "name": "Bypass Window",
          "nameEn": "Bypass Window",
          "purpose": "Deepens receptive theta while light, audio, reverb, and Aurora Immersion™ guide attention beneath ordinary analysis.",
          "purposeEn": "Deepens receptive theta while light, audio, reverb, and Aurora Immersion™ guide attention beneath ordinary analysis."
        },
        {
          "time": 1080,
          "name": "Suggestion Field",
          "nameEn": "Suggestion Field",
          "purpose": "Maintains a stable immersive plateau designed to support clear suggestion delivery and inner acceptance.",
          "purposeEn": "Maintains a stable immersive plateau designed to support clear suggestion delivery and inner acceptance."
        },
        {
          "time": 1380,
          "name": "Integration Rise",
          "nameEn": "Integration Rise",
          "purpose": "Lifts gradually toward alpha while keeping the new inner orientation coherent and calm.",
          "purposeEn": "Lifts gradually toward alpha while keeping the new inner orientation coherent and calm."
        },
        {
          "time": 1620,
          "name": "Return and Seal",
          "nameEn": "Return and Seal",
          "purpose": "Warms the color field, reduces entrainment intensity, and stabilizes the post-hypnotic integration.",
          "purposeEn": "Warms the color field, reduces entrainment intensity, and stabilizes the post-hypnotic integration."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 11.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.8
          },
          {
            "time": 180,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9.4
          },
          {
            "time": 420,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 7.4
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 6.2
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1230,
            "value": 5.6
          },
          {
            "time": 1380,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.4
          },
          {
            "time": 1620,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1710,
            "value": 10.4
          },
          {
            "time": 1800,
            "value": 11,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.6
          },
          {
            "time": 180,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9.2
          },
          {
            "time": 420,
            "value": 8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 7.2
          },
          {
            "time": 720,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 6.1
          },
          {
            "time": 1080,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1230,
            "value": 5.5
          },
          {
            "time": 1380,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.2
          },
          {
            "time": 1620,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1710,
            "value": 10.2
          },
          {
            "time": 1800,
            "value": 10.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 30
          },
          {
            "time": 180,
            "value": 45
          },
          {
            "time": 300,
            "value": 58
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 570,
            "value": 76
          },
          {
            "time": 720,
            "value": 84
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1080,
            "value": 92
          },
          {
            "time": 1230,
            "value": 90
          },
          {
            "time": 1380,
            "value": 78
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1620,
            "value": 48
          },
          {
            "time": 1710,
            "value": 34
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 570,
            "value": 4
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1230,
            "value": 3
          },
          {
            "time": 1380,
            "value": 10
          },
          {
            "time": 1500,
            "value": 16
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1710,
            "value": 14
          },
          {
            "time": 1800,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 26
          },
          {
            "time": 180,
            "value": 34
          },
          {
            "time": 300,
            "value": 42
          },
          {
            "time": 420,
            "value": 48
          },
          {
            "time": 570,
            "value": 52
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 42
          },
          {
            "time": 1080,
            "value": 40
          },
          {
            "time": 1230,
            "value": 38
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1710,
            "value": 14
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 90,
            "value": 55
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 300,
            "value": 68
          },
          {
            "time": 420,
            "value": 72
          },
          {
            "time": 570,
            "value": 74
          },
          {
            "time": 720,
            "value": 76
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1080,
            "value": 76
          },
          {
            "time": 1230,
            "value": 72
          },
          {
            "time": 1380,
            "value": 68
          },
          {
            "time": 1500,
            "value": 62
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1710,
            "value": 42
          },
          {
            "time": 1800,
            "value": 24
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 300,
            "value": 22
          },
          {
            "time": 420,
            "value": 26
          },
          {
            "time": 570,
            "value": 28
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1080,
            "value": 32
          },
          {
            "time": 1230,
            "value": 28
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1710,
            "value": 4
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 40
          },
          {
            "time": 570,
            "value": 48
          },
          {
            "time": 720,
            "value": 58
          },
          {
            "time": 900,
            "value": 64
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1230,
            "value": 62
          },
          {
            "time": 1380,
            "value": 48
          },
          {
            "time": 1500,
            "value": 36
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1710,
            "value": 14
          },
          {
            "time": 1800,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.8
          },
          {
            "time": 300,
            "value": 3.6
          },
          {
            "time": 420,
            "value": 4.8
          },
          {
            "time": 570,
            "value": 5.8
          },
          {
            "time": 720,
            "value": 7.4
          },
          {
            "time": 900,
            "value": 8.6
          },
          {
            "time": 1080,
            "value": 9.2
          },
          {
            "time": 1230,
            "value": 8
          },
          {
            "time": 1380,
            "value": 5.8
          },
          {
            "time": 1500,
            "value": 4
          },
          {
            "time": 1620,
            "value": 2.4
          },
          {
            "time": 1710,
            "value": 1.6
          },
          {
            "time": 1800,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1d6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#28b8ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 30
          },
          {
            "time": 300,
            "value": "#2f8cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#3347ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 46
          },
          {
            "time": 570,
            "value": "#5b2dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 54
          },
          {
            "time": 720,
            "value": "#6d23d9",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 62
          },
          {
            "time": 900,
            "value": "#7b1fa2",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 68
          },
          {
            "time": 1080,
            "value": "#4b157f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 72
          },
          {
            "time": 1230,
            "value": "#5d2bbf",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 64
          },
          {
            "time": 1380,
            "value": "#2377ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 44
          },
          {
            "time": 1500,
            "value": "#20c997",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 32
          },
          {
            "time": 1620,
            "value": "#f6b04d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1710,
            "value": "#ffcc88",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 12
          },
          {
            "time": 1800,
            "value": "#ffd9a3",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "deep-trance-stabilizer": {
    "title": "Diepe-trance stabilisator (Mentaal)",
    "titleEn": "Deep Trance Stabilizer (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van diepe hypnotische stabilisatie, innerlijke absorptie en een stabiel therapeutisch tranceveld.",
    "goalEn": "Designed to support deep hypnotic stabilization, inward absorption, and a steady therapeutic trance field.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Establishes a calm, receptive entry and begins the descent from ordinary awareness into hypnotic stability.",
          "purposeEn": "Establishes a calm, receptive entry and begins the descent from ordinary awareness into hypnotic stability."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Guides attention into a steady alpha rhythm with gentle sensory coherence and reduced internal chatter.",
          "purposeEn": "Guides attention into a steady alpha rhythm with gentle sensory coherence and reduced internal chatter."
        },
        {
          "time": 420,
          "name": "Deepening Descent",
          "nameEn": "Deepening Descent",
          "purpose": "Deepens into theta with a more spacious sound field, slower light movement, and stronger trance continuity.",
          "purposeEn": "Deepens into theta with a more spacious sound field, slower light movement, and stronger trance continuity."
        },
        {
          "time": 780,
          "name": "Deep Trance Plateau",
          "nameEn": "Deep Trance Plateau",
          "purpose": "Stabilizes a deep inward state using theta entrainment, Infinity Ganzfeld™ immersion, and warm low-intensity sensory containment.",
          "purposeEn": "Stabilizes a deep inward state using theta entrainment, Infinity Ganzfeld™ immersion, and warm low-intensity sensory containment."
        },
        {
          "time": 1200,
          "name": "Therapeutic Holding",
          "nameEn": "Therapeutic Holding",
          "purpose": "Maintains a consistent hypnotic field for suggestion work, imagery, inner rehearsal, or therapeutic processing.",
          "purposeEn": "Maintains a consistent hypnotic field for suggestion work, imagery, inner rehearsal, or therapeutic processing."
        },
        {
          "time": 1560,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Gently lifts toward calm alpha while preserving inner absorption and integrating the trance experience.",
          "purposeEn": "Gently lifts toward calm alpha while preserving inner absorption and integrating the trance experience."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Returns awareness with a smooth landing, stable breathing rhythm, and clear closure.",
          "purposeEn": "Returns awareness with a smooth landing, stable breathing rhythm, and clear closure."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 5.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 990,
            "value": 5,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.3,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 990,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 65
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1200,
            "value": 70
          },
          {
            "time": 1380,
            "value": 58
          },
          {
            "time": 1560,
            "value": 48
          },
          {
            "time": 1680,
            "value": 34
          },
          {
            "time": 1800,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 6
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 990,
            "value": 0
          },
          {
            "time": 1200,
            "value": 2
          },
          {
            "time": 1380,
            "value": 5
          },
          {
            "time": 1560,
            "value": 10
          },
          {
            "time": 1680,
            "value": 12
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 20
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 990,
            "value": 45
          },
          {
            "time": 1200,
            "value": 38
          },
          {
            "time": 1380,
            "value": 32
          },
          {
            "time": 1560,
            "value": 25
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 76
          },
          {
            "time": 990,
            "value": 78
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 64
          },
          {
            "time": 1680,
            "value": 54
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 420,
            "value": 22
          },
          {
            "time": 600,
            "value": 24
          },
          {
            "time": 780,
            "value": 30
          },
          {
            "time": 990,
            "value": 34
          },
          {
            "time": 1200,
            "value": 26
          },
          {
            "time": 1380,
            "value": 18
          },
          {
            "time": 1560,
            "value": 12
          },
          {
            "time": 1680,
            "value": 5
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 44
          },
          {
            "time": 600,
            "value": 52
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 990,
            "value": 68
          },
          {
            "time": 1200,
            "value": 58
          },
          {
            "time": 1380,
            "value": 48
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1680,
            "value": 22
          },
          {
            "time": 1800,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 5.2
          },
          {
            "time": 600,
            "value": 6.4
          },
          {
            "time": 780,
            "value": 8.4
          },
          {
            "time": 990,
            "value": 9.6
          },
          {
            "time": 1200,
            "value": 7.2
          },
          {
            "time": 1380,
            "value": 5.2
          },
          {
            "time": 1560,
            "value": 3.2
          },
          {
            "time": 1680,
            "value": 1.8
          },
          {
            "time": 1800,
            "value": 0.6
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1b6d8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#2a7f91",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 420,
            "value": "#263a8f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 42
          },
          {
            "time": 600,
            "value": "#39207f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 50
          },
          {
            "time": 780,
            "value": "#4b1d73",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 64
          },
          {
            "time": 990,
            "value": "#2e1a5f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 70
          },
          {
            "time": 1200,
            "value": "#351f72",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 58
          },
          {
            "time": 1380,
            "value": "#214c78",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 44
          },
          {
            "time": 1560,
            "value": "#2f8f7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 1680,
            "value": "#d89b4a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 18
          },
          {
            "time": 1800,
            "value": "#c9875a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "ego-sterngthening-prelude": {
    "title": "Egoversterkende prelude (Mentaal)",
    "titleEn": "Ego Strengthening Prelude (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van innerlijke stabiliteit, positieve zelfreferentie, rustig vertrouwen en ontvankelijke gereedheid voor egoversterkende hypnose.",
    "goalEn": "Designed to support inner stability, positive self-reference, calm confidence and receptive readiness before ego-strengthening hypnosis.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1260,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival and Grounding",
          "nameEn": "Arrival and Grounding",
          "purpose": "Guides the client into calm presence and stable body awareness.",
          "purposeEn": "Guides the client into calm presence and stable body awareness."
        },
        {
          "time": 120,
          "name": "Inner Stability Build",
          "nameEn": "Inner Stability Build",
          "purpose": "Builds relaxed confidence and prepares the mind for ego-strengthening work.",
          "purposeEn": "Builds relaxed confidence and prepares the mind for ego-strengthening work."
        },
        {
          "time": 300,
          "name": "Resource Access",
          "nameEn": "Resource Access",
          "purpose": "Deepens access to inner resources, positive identity and emotional resilience.",
          "purposeEn": "Deepens access to inner resources, positive identity and emotional resilience."
        },
        {
          "time": 540,
          "name": "Strengthening Plateau",
          "nameEn": "Strengthening Plateau",
          "purpose": "Stabilizes a strong receptive trance state for empowering suggestions.",
          "purposeEn": "Stabilizes a strong receptive trance state for empowering suggestions."
        },
        {
          "time": 780,
          "name": "Confident Expansion",
          "nameEn": "Confident Expansion",
          "purpose": "Promotes warmth, capability and future-oriented self-belief.",
          "purposeEn": "Promotes warmth, capability and future-oriented self-belief."
        },
        {
          "time": 1020,
          "name": "Integration and Readiness",
          "nameEn": "Integration and Readiness",
          "purpose": "Integrates the strengthened state and prepares a clear transition into hypnosis.",
          "purposeEn": "Integrates the strengthened state and prepares a clear transition into hypnosis."
        },
        {
          "time": 1260,
          "name": "Open Channel Close",
          "nameEn": "Open Channel Close",
          "purpose": "Leaves the client stable, receptive and ready for spoken therapeutic work.",
          "purposeEn": "Leaves the client stable, receptive and ready for spoken therapeutic work."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.1,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 8.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1140,
            "value": 9.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.1,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.3,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 7.5,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1140,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "isochronic",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 60,
            "value": 24
          },
          {
            "time": 120,
            "value": 38
          },
          {
            "time": 300,
            "value": 58
          },
          {
            "time": 540,
            "value": 72
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 780,
            "value": 78
          },
          {
            "time": 1020,
            "value": 66
          },
          {
            "time": 1140,
            "value": 46
          },
          {
            "time": 1260,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 540,
            "value": 8
          },
          {
            "time": 660,
            "value": 6
          },
          {
            "time": 780,
            "value": 18
          },
          {
            "time": 960,
            "value": 26
          },
          {
            "time": 1020,
            "value": 22
          },
          {
            "time": 1140,
            "value": 12
          },
          {
            "time": 1260,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 60,
            "value": 18
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 300,
            "value": 34
          },
          {
            "time": 540,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 780,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1140,
            "value": 22
          },
          {
            "time": 1260,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 60,
            "value": 58
          },
          {
            "time": 120,
            "value": 66
          },
          {
            "time": 300,
            "value": 72
          },
          {
            "time": 540,
            "value": 76
          },
          {
            "time": 660,
            "value": 78
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1140,
            "value": 56
          },
          {
            "time": 1260,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 60,
            "value": 10
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 540,
            "value": 26
          },
          {
            "time": 660,
            "value": 30
          },
          {
            "time": 780,
            "value": 18
          },
          {
            "time": 1020,
            "value": 12
          },
          {
            "time": 1140,
            "value": 4
          },
          {
            "time": 1260,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 660,
            "value": 52
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1140,
            "value": 14
          },
          {
            "time": 1260,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 300,
            "value": 3.2
          },
          {
            "time": 540,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.4
          },
          {
            "time": 780,
            "value": 4.6
          },
          {
            "time": 1020,
            "value": 2.6
          },
          {
            "time": 1140,
            "value": 1.5
          },
          {
            "time": 1260,
            "value": 0.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f7cff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 300,
            "value": "#4ed7a8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 42
          },
          {
            "time": 540,
            "value": "#5f4bff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 54
          },
          {
            "time": 660,
            "value": "#7b3cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#d65cff",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 56
          },
          {
            "time": 900,
            "value": "#ffb347",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 46
          },
          {
            "time": 1020,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.36,
            "auroraDepth": 34
          },
          {
            "time": 1140,
            "value": "#ffcf9f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 1260,
            "value": "#f7d7b1",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1260
  },
  "einstein-brain": {
    "title": "Einstein-brein (Mentaal)",
    "titleEn": "Einstein Brain (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van verbeeldende intelligentie, helder probleemoplossen, gerichte inzichten, cognitieve flexibiliteit en geinspireerde mentale integratie.",
    "goalEn": "Designed to support imaginative intelligence, clear problem solving, focused insight, cognitive flexibility, and inspired mental integration.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 40,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2340,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Clear Field",
          "nameEn": "Arrival / Clear Field",
          "purpose": "Clears mental noise and prepares the mind for creative intelligence.",
          "purposeEn": "Clears mental noise and prepares the mind for creative intelligence."
        },
        {
          "time": 240,
          "name": "Alpha Insight Base",
          "nameEn": "Alpha Insight Base",
          "purpose": "Stabilizes calm alertness and opens relaxed cognitive flexibility.",
          "purposeEn": "Stabilizes calm alertness and opens relaxed cognitive flexibility."
        },
        {
          "time": 540,
          "name": "Conceptual Build-up",
          "nameEn": "Conceptual Build-up",
          "purpose": "Activates focused thinking, pattern recognition, and problem-solving energy.",
          "purposeEn": "Activates focused thinking, pattern recognition, and problem-solving energy."
        },
        {
          "time": 900,
          "name": "Brilliant Focus Peak",
          "nameEn": "Brilliant Focus Peak",
          "purpose": "Promotes bright concentration, sharp clarity, and inspired analytical flow.",
          "purposeEn": "Promotes bright concentration, sharp clarity, and inspired analytical flow."
        },
        {
          "time": 1230,
          "name": "Imagination Bridge",
          "nameEn": "Imagination Bridge",
          "purpose": "Blends focused cognition with imagery, association, and intuitive insight.",
          "purposeEn": "Blends focused cognition with imagery, association, and intuitive insight."
        },
        {
          "time": 1680,
          "name": "Integration Chamber",
          "nameEn": "Integration Chamber",
          "purpose": "Deepens whole-mind integration through theta, Aurora Immersion™, spacious reverb, and symbolic synthesis.",
          "purposeEn": "Deepens whole-mind integration through theta, Aurora Immersion™, spacious reverb, and symbolic synthesis."
        },
        {
          "time": 2100,
          "name": "Landing / Practical Clarity",
          "nameEn": "Landing / Practical Clarity",
          "purpose": "Returns insight into calm conscious organization and usable mental presence.",
          "purposeEn": "Returns insight into calm conscious organization and usable mental presence."
        },
        {
          "time": 2340,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with balanced clarity and inspired focus.",
          "purposeEn": "Completes the session with balanced clarity and inspired focus."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 11,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 15.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 17,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1050,
            "value": 18.6,
            "lightPulseShape": "square"
          },
          {
            "time": 1140,
            "value": 16.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1230,
            "value": 12.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1450,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1890,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2340,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 13.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 15,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 16.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1050,
            "value": 18.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1140,
            "value": 15.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1230,
            "value": 12.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1450,
            "value": 9,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1890,
            "value": 6.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2340,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 42
          },
          {
            "time": 390,
            "value": 54
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 720,
            "value": 80
          },
          {
            "time": 900,
            "value": 90
          },
          {
            "time": 1050,
            "value": 96
          },
          {
            "time": 1140,
            "value": 88
          },
          {
            "time": 1230,
            "value": 80
          },
          {
            "time": 1450,
            "value": 74
          },
          {
            "time": 1680,
            "value": 82
          },
          {
            "time": 1890,
            "value": 78
          },
          {
            "time": 2100,
            "value": 58
          },
          {
            "time": 2220,
            "value": 32
          },
          {
            "time": 2340,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 11
          },
          {
            "time": 390,
            "value": 18
          },
          {
            "time": 540,
            "value": 28
          },
          {
            "time": 720,
            "value": 38
          },
          {
            "time": 900,
            "value": 48
          },
          {
            "time": 1050,
            "value": 56
          },
          {
            "time": 1140,
            "value": 42
          },
          {
            "time": 1230,
            "value": 26
          },
          {
            "time": 1450,
            "value": 10
          },
          {
            "time": 1680,
            "value": 0
          },
          {
            "time": 1890,
            "value": 0
          },
          {
            "time": 2100,
            "value": 16
          },
          {
            "time": 2220,
            "value": 5
          },
          {
            "time": 2340,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 21
          },
          {
            "time": 240,
            "value": 30
          },
          {
            "time": 390,
            "value": 38
          },
          {
            "time": 540,
            "value": 48
          },
          {
            "time": 720,
            "value": 58
          },
          {
            "time": 900,
            "value": 66
          },
          {
            "time": 1050,
            "value": 70
          },
          {
            "time": 1140,
            "value": 60
          },
          {
            "time": 1230,
            "value": 46
          },
          {
            "time": 1450,
            "value": 32
          },
          {
            "time": 1680,
            "value": 26
          },
          {
            "time": 1890,
            "value": 24
          },
          {
            "time": 2100,
            "value": 32
          },
          {
            "time": 2220,
            "value": 16
          },
          {
            "time": 2340,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 540,
            "value": 78
          },
          {
            "time": 720,
            "value": 84
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1050,
            "value": 90
          },
          {
            "time": 1140,
            "value": 86
          },
          {
            "time": 1230,
            "value": 82
          },
          {
            "time": 1450,
            "value": 76
          },
          {
            "time": 1680,
            "value": 72
          },
          {
            "time": 1890,
            "value": 70
          },
          {
            "time": 2100,
            "value": 62
          },
          {
            "time": 2220,
            "value": 40
          },
          {
            "time": 2340,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 6
          },
          {
            "time": 540,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 4
          },
          {
            "time": 1050,
            "value": 8
          },
          {
            "time": 1140,
            "value": 4
          },
          {
            "time": 1230,
            "value": 12
          },
          {
            "time": 1450,
            "value": 18
          },
          {
            "time": 1680,
            "value": 32
          },
          {
            "time": 1890,
            "value": 30
          },
          {
            "time": 2100,
            "value": 10
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2340,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 390,
            "value": 24
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 24
          },
          {
            "time": 1050,
            "value": 30
          },
          {
            "time": 1140,
            "value": 24
          },
          {
            "time": 1230,
            "value": 40
          },
          {
            "time": 1450,
            "value": 48
          },
          {
            "time": 1680,
            "value": 64
          },
          {
            "time": 1890,
            "value": 60
          },
          {
            "time": 2100,
            "value": 28
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2340,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 1.8
          },
          {
            "time": 390,
            "value": 2.6
          },
          {
            "time": 540,
            "value": 1.2
          },
          {
            "time": 720,
            "value": 1.5
          },
          {
            "time": 900,
            "value": 2.4
          },
          {
            "time": 1050,
            "value": 3
          },
          {
            "time": 1140,
            "value": 2.2
          },
          {
            "time": 1230,
            "value": 4.6
          },
          {
            "time": 1450,
            "value": 5.8
          },
          {
            "time": 1680,
            "value": 8.6
          },
          {
            "time": 1890,
            "value": 8
          },
          {
            "time": 2100,
            "value": 2.8
          },
          {
            "time": 2220,
            "value": 1
          },
          {
            "time": 2340,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#143a54",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#1f7486",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 22
          },
          {
            "time": 240,
            "value": "#35b99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 32
          },
          {
            "time": 390,
            "value": "#60c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.4,
            "auroraDepth": 42
          },
          {
            "time": 540,
            "value": "#d6c94b",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.54,
            "auroraDepth": 52
          },
          {
            "time": 720,
            "value": "#f5a63a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.7,
            "auroraDepth": 62
          },
          {
            "time": 900,
            "value": "#ff7d2f",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.86,
            "auroraDepth": 72
          },
          {
            "time": 1050,
            "value": "#ffe257",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 80
          },
          {
            "time": 1140,
            "value": "#ffa33d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.74,
            "auroraDepth": 58
          },
          {
            "time": 1230,
            "value": "#7a42c8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.42,
            "auroraDepth": 60
          },
          {
            "time": 1450,
            "value": "#3a5bc4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 56
          },
          {
            "time": 1680,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1890,
            "value": "#1b123d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 68
          },
          {
            "time": 2100,
            "value": "#4fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 2220,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2340,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2340
  },
  "fight-or-flight": {
    "title": "Fight-or-flight reset (Mentaal)",
    "titleEn": "Fight or Flight Reset (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van de overgang van fight-or-flight activatie naar gegronde regulatie, rustige alertheid, lichaamscomfort en stabiele innerlijke veiligheid.",
    "goalEn": "Designed to support a shift from fight-or-flight activation into grounded regulation, calm alertness, body comfort, and steady inner safety.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the system from alert readiness into grounded orientation.",
          "purposeEn": "Guides the system from alert readiness into grounded orientation."
        },
        {
          "time": 240,
          "name": "Regulation Build-up",
          "nameEn": "Regulation Build-up",
          "purpose": "Stabilizes attention and softens the fight-or-flight charge with steady alpha pacing.",
          "purposeEn": "Stabilizes attention and softens the fight-or-flight charge with steady alpha pacing."
        },
        {
          "time": 600,
          "name": "Release and Reset",
          "nameEn": "Release and Reset",
          "purpose": "Promotes letting go through descending alpha into theta with deeper sound and color immersion.",
          "purposeEn": "Promotes letting go through descending alpha into theta with deeper sound and color immersion."
        },
        {
          "time": 1020,
          "name": "Deep Safety Plateau",
          "nameEn": "Deep Safety Plateau",
          "purpose": "Builds a spacious inner state for body comfort, emotional clearing, and nervous system settling.",
          "purposeEn": "Builds a spacious inner state for body comfort, emotional clearing, and nervous system settling."
        },
        {
          "time": 1500,
          "name": "Coherent Integration",
          "nameEn": "Coherent Integration",
          "purpose": "Integrates calm alertness, clarity, and steady confidence.",
          "purposeEn": "Integrates calm alertness, clarity, and steady confidence."
        },
        {
          "time": 1920,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Returns gently to a settled, present, and balanced close.",
          "purposeEn": "Returns gently to a settled, present, and balanced close."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in soft grounded awareness.",
          "purposeEn": "Completes the session in soft grounded awareness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 12,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 11.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 8.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 42
          },
          {
            "time": 420,
            "value": 50
          },
          {
            "time": 600,
            "value": 62
          },
          {
            "time": 780,
            "value": 70
          },
          {
            "time": 1020,
            "value": 76
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1500,
            "value": 64
          },
          {
            "time": 1740,
            "value": 58
          },
          {
            "time": 1920,
            "value": 42
          },
          {
            "time": 2070,
            "value": 26
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 600,
            "value": 8
          },
          {
            "time": 780,
            "value": 4
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1500,
            "value": 10
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 1920,
            "value": 8
          },
          {
            "time": 2070,
            "value": 3
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 32
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 780,
            "value": 30
          },
          {
            "time": 1020,
            "value": 26
          },
          {
            "time": 1260,
            "value": 24
          },
          {
            "time": 1500,
            "value": 30
          },
          {
            "time": 1740,
            "value": 32
          },
          {
            "time": 1920,
            "value": 24
          },
          {
            "time": 2070,
            "value": 14
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 56
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1500,
            "value": 72
          },
          {
            "time": 1740,
            "value": 66
          },
          {
            "time": 1920,
            "value": 54
          },
          {
            "time": 2070,
            "value": 38
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 24
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1740,
            "value": 14
          },
          {
            "time": 1920,
            "value": 10
          },
          {
            "time": 2070,
            "value": 4
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 420,
            "value": 28
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 48
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1260,
            "value": 54
          },
          {
            "time": 1500,
            "value": 42
          },
          {
            "time": 1740,
            "value": 34
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2070,
            "value": 10
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 120,
            "value": 1.6
          },
          {
            "time": 240,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 3.2
          },
          {
            "time": 600,
            "value": 5.2
          },
          {
            "time": 780,
            "value": 7
          },
          {
            "time": 1020,
            "value": 8.8
          },
          {
            "time": 1260,
            "value": 8
          },
          {
            "time": 1500,
            "value": 5
          },
          {
            "time": 1740,
            "value": 3.6
          },
          {
            "time": 1920,
            "value": 2
          },
          {
            "time": 2070,
            "value": 1
          },
          {
            "time": 2160,
            "value": 0.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#12365a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#1b6a8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 240,
            "value": "#1fae9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#3fcf91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 42
          },
          {
            "time": 600,
            "value": "#3557c7",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 52
          },
          {
            "time": 780,
            "value": "#4c2a9c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1020,
            "value": "#2d1b5f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 78
          },
          {
            "time": 1260,
            "value": "#1d1442",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 70
          },
          {
            "time": 1500,
            "value": "#2fbf9b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 1740,
            "value": "#74c476",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 1920,
            "value": "#f0b35a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2070,
            "value": "#d98d5f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 2160,
            "value": "#2a1b14",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "fluid-iq": {
    "title": "Vloeibare intelligentie (Mentaal)",
    "titleEn": "Fluid IQ (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van flexibel redeneren, mentale helderheid, patroonherkenning, probleemoplossing, cognitieve wendbaarheid en rustige analytische focus.",
    "goalEn": "Designed to support flexible reasoning, mental clarity, pattern recognition, problem solving, cognitive agility, and calm analytical focus.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 35,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "none",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Clear Field",
          "nameEn": "Arrival / Clear Field",
          "purpose": "Settles attention and prepares a clean mental workspace.",
          "purposeEn": "Settles attention and prepares a clean mental workspace."
        },
        {
          "time": 240,
          "name": "Alpha Stabilization",
          "nameEn": "Alpha Stabilization",
          "purpose": "Builds relaxed alertness and steady attentional control.",
          "purposeEn": "Builds relaxed alertness and steady attentional control."
        },
        {
          "time": 540,
          "name": "Cognitive Opening",
          "nameEn": "Cognitive Opening",
          "purpose": "Guides the mind toward flexible association and pattern sensitivity.",
          "purposeEn": "Guides the mind toward flexible association and pattern sensitivity."
        },
        {
          "time": 900,
          "name": "Fluid Reasoning Peak",
          "nameEn": "Fluid Reasoning Peak",
          "purpose": "Activates precise, adaptive thinking and problem-solving momentum.",
          "purposeEn": "Activates precise, adaptive thinking and problem-solving momentum."
        },
        {
          "time": 1320,
          "name": "Insight Integration",
          "nameEn": "Insight Integration",
          "purpose": "Stabilizes clarity while keeping thought flexible and coherent.",
          "purposeEn": "Stabilizes clarity while keeping thought flexible and coherent."
        },
        {
          "time": 1740,
          "name": "Calm Focus Landing",
          "nameEn": "Calm Focus Landing",
          "purpose": "Returns to grounded alpha with a clear and balanced mental state.",
          "purposeEn": "Returns to grounded alpha with a clear and balanced mental state."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with calm clarity and integrated focus.",
          "purposeEn": "Completes the session with calm clarity and integrated focus."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 13.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 15.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1110,
            "value": 16.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 14.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 12.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1950,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 13.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 15,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1110,
            "value": 16.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 14.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 12.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1950,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 42
          },
          {
            "time": 390,
            "value": 52
          },
          {
            "time": 540,
            "value": 62
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1110,
            "value": 82
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1530,
            "value": 56
          },
          {
            "time": 1740,
            "value": 42
          },
          {
            "time": 1950,
            "value": 24
          },
          {
            "time": 2160,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 120,
            "value": 4
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 390,
            "value": 12
          },
          {
            "time": 540,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1110,
            "value": 34
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1530,
            "value": 12
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1950,
            "value": 3
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 390,
            "value": 30
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 900,
            "value": 48
          },
          {
            "time": 1110,
            "value": 52
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1530,
            "value": 30
          },
          {
            "time": 1740,
            "value": 20
          },
          {
            "time": 1950,
            "value": 10
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 120,
            "value": 50
          },
          {
            "time": 240,
            "value": 60
          },
          {
            "time": 390,
            "value": 64
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 76
          },
          {
            "time": 1110,
            "value": 78
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1530,
            "value": 62
          },
          {
            "time": 1740,
            "value": 48
          },
          {
            "time": 1950,
            "value": 32
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 5
          },
          {
            "time": 390,
            "value": 0
          },
          {
            "time": 540,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1110,
            "value": 0
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1530,
            "value": 12
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1950,
            "value": 3
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 390,
            "value": 14
          },
          {
            "time": 540,
            "value": 24
          },
          {
            "time": 720,
            "value": 28
          },
          {
            "time": 900,
            "value": 16
          },
          {
            "time": 1110,
            "value": 12
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1530,
            "value": 36
          },
          {
            "time": 1740,
            "value": 18
          },
          {
            "time": 1950,
            "value": 8
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 1.6
          },
          {
            "time": 390,
            "value": 1.4
          },
          {
            "time": 540,
            "value": 3
          },
          {
            "time": 720,
            "value": 3.4
          },
          {
            "time": 900,
            "value": 1.6
          },
          {
            "time": 1110,
            "value": 1.2
          },
          {
            "time": 1320,
            "value": 3.6
          },
          {
            "time": 1530,
            "value": 4.4
          },
          {
            "time": 1740,
            "value": 2
          },
          {
            "time": 1950,
            "value": 0.9
          },
          {
            "time": 2160,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#16324f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 120,
            "value": "#1b6f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 16
          },
          {
            "time": 240,
            "value": "#28b7c9",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 22
          },
          {
            "time": 390,
            "value": "#35cfa7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 30
          },
          {
            "time": 540,
            "value": "#4b7cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 36
          },
          {
            "time": 720,
            "value": "#6a4dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 900,
            "value": "#f0c94b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.48,
            "auroraDepth": 28
          },
          {
            "time": 1110,
            "value": "#ffffff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          },
          {
            "time": 1320,
            "value": "#48c1ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 1530,
            "value": "#824fd6",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 44
          },
          {
            "time": 1740,
            "value": "#48b889",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 1950,
            "value": "#d99a5c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 2160,
            "value": "#17120f",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "future-self-connection": {
    "title": "Verbinding met toekomstige zelf (Mentaal)",
    "titleEn": "Future Self Connection (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van toekomstige-zelfbeelden, innerlijke leiding, identiteitsafstemming, motivatie, emotionele resonantie en zelfverzekerde integratie.",
    "goalEn": "Designed to support future-self imagery, inner guidance, identity alignment, motivation, emotional resonance, and confident integration.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body, soften attention, and open a calm inner orientation.",
          "purposeEn": "Settle the body, soften attention, and open a calm inner orientation."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Stabilize relaxed alpha awareness and prepare for future-self imagery.",
          "purposeEn": "Stabilize relaxed alpha awareness and prepare for future-self imagery."
        },
        {
          "time": 420,
          "name": "Hypnotic Descent",
          "nameEn": "Hypnotic Descent",
          "purpose": "Guide the mind into theta absorption and inner visual access.",
          "purposeEn": "Guide the mind into theta absorption and inner visual access."
        },
        {
          "time": 780,
          "name": "Future Self Gateway",
          "nameEn": "Future Self Gateway",
          "purpose": "Deepen into an immersive inner space where the future-self connection becomes vivid.",
          "purposeEn": "Deepen into an immersive inner space where the future-self connection becomes vivid."
        },
        {
          "time": 1200,
          "name": "Connection Plateau",
          "nameEn": "Connection Plateau",
          "purpose": "Promote emotional resonance, insight, identity alignment, and symbolic future guidance.",
          "purposeEn": "Promote emotional resonance, insight, identity alignment, and symbolic future guidance."
        },
        {
          "time": 1620,
          "name": "Integration Rise",
          "nameEn": "Integration Rise",
          "purpose": "Bring future-self qualities into present identity, clarity, and choice.",
          "purposeEn": "Bring future-self qualities into present identity, clarity, and choice."
        },
        {
          "time": 1920,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return to calm alertness with grounded confidence and coherent direction.",
          "purposeEn": "Return to calm alertness with grounded confidence and coherent direction."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 5.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 11,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 5.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.3,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 1020,
            "value": 92
          },
          {
            "time": 1200,
            "value": 88
          },
          {
            "time": 1440,
            "value": 76
          },
          {
            "time": 1620,
            "value": 60
          },
          {
            "time": 1800,
            "value": 48
          },
          {
            "time": 1920,
            "value": 30
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 6
          },
          {
            "time": 1440,
            "value": 18
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 1920,
            "value": 8
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 50
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 1020,
            "value": 52
          },
          {
            "time": 1200,
            "value": 44
          },
          {
            "time": 1440,
            "value": 38
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1800,
            "value": 26
          },
          {
            "time": 1920,
            "value": 18
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 45
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 76
          },
          {
            "time": 1020,
            "value": 78
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1440,
            "value": 70
          },
          {
            "time": 1620,
            "value": 64
          },
          {
            "time": 1800,
            "value": 58
          },
          {
            "time": 1920,
            "value": 48
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 16
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 1020,
            "value": 28
          },
          {
            "time": 1200,
            "value": 18
          },
          {
            "time": 1440,
            "value": 12
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1920,
            "value": 0
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 600,
            "value": 48
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1200,
            "value": 58
          },
          {
            "time": 1440,
            "value": 46
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1800,
            "value": 22
          },
          {
            "time": 1920,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 4.2
          },
          {
            "time": 600,
            "value": 5.8
          },
          {
            "time": 780,
            "value": 7.5
          },
          {
            "time": 1020,
            "value": 8.8
          },
          {
            "time": 1200,
            "value": 7.2
          },
          {
            "time": 1440,
            "value": 5.4
          },
          {
            "time": 1620,
            "value": 3.2
          },
          {
            "time": 1800,
            "value": 2.4
          },
          {
            "time": 1920,
            "value": 1.4
          },
          {
            "time": 2100,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f8cff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.25,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#3556ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 42
          },
          {
            "time": 600,
            "value": "#6b4dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 50
          },
          {
            "time": 780,
            "value": "#3b1d88",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#6f2cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1200,
            "value": "#b94dff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.2,
            "auroraDepth": 82
          },
          {
            "time": 1440,
            "value": "#ffb84d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 55
          },
          {
            "time": 1620,
            "value": "#55e0b8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 38
          },
          {
            "time": 1800,
            "value": "#ffe28a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.35,
            "auroraDepth": 30
          },
          {
            "time": 1920,
            "value": "#ffc07a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 18
          },
          {
            "time": 2100,
            "value": "#ffd6a0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "grit-mental-toughness": {
    "title": "Grit en mentale weerbaarheid (Mentaal)",
    "titleEn": "Grit and Mental Toughness (Mental)",
    "category": "energie",
    "subcategory": "motivation",
    "goal": "Ontworpen ter ondersteuning van grit, mentale weerbaarheid, gedisciplineerde focus, emotionele stabiliteit en veerkrachtige prestatie onder druk.",
    "goalEn": "Designed to support grit, mental toughness, disciplined focus, emotional steadiness, and resilient performance under pressure.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 16,
    "colorCrossfadeSeconds": 30,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Cinematic Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Composure",
          "nameEn": "Arrival / Composure",
          "purpose": "Builds grounded composure and prepares the mind for disciplined effort.",
          "purposeEn": "Builds grounded composure and prepares the mind for disciplined effort."
        },
        {
          "time": 240,
          "name": "Focused Resolve",
          "nameEn": "Focused Resolve",
          "purpose": "Stabilizes attention and activates clear inner command.",
          "purposeEn": "Stabilizes attention and activates clear inner command."
        },
        {
          "time": 540,
          "name": "Pressure Conditioning",
          "nameEn": "Pressure Conditioning",
          "purpose": "Guides controlled intensity while maintaining emotional steadiness.",
          "purposeEn": "Guides controlled intensity while maintaining emotional steadiness."
        },
        {
          "time": 900,
          "name": "Grit Peak",
          "nameEn": "Grit Peak",
          "purpose": "Promotes decisive drive, sustained effort, and resilient mental toughness.",
          "purposeEn": "Promotes decisive drive, sustained effort, and resilient mental toughness."
        },
        {
          "time": 1320,
          "name": "Endurance Integration",
          "nameEn": "Endurance Integration",
          "purpose": "Integrates strength with calm control and long-range persistence.",
          "purposeEn": "Integrates strength with calm control and long-range persistence."
        },
        {
          "time": 1740,
          "name": "Ready State Landing",
          "nameEn": "Ready State Landing",
          "purpose": "Returns to a grounded, focused, and capable state.",
          "purposeEn": "Returns to a grounded, focused, and capable state."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with steady confidence and clear direction.",
          "purposeEn": "Completes the session with steady confidence and clear direction."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 11.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 12.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 14.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 15.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 17.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 19.2,
            "lightPulseShape": "square"
          },
          {
            "time": 1200,
            "value": 16.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 14.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 13.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 11.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1890,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 9.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 11.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 12.6,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 14,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 15.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 17.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 18.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1200,
            "value": 16.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 14.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1530,
            "value": 13,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1890,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 20
          },
          {
            "time": 120,
            "value": 30
          },
          {
            "time": 240,
            "value": 44
          },
          {
            "time": 390,
            "value": 56
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 720,
            "value": 78
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1080,
            "value": 94
          },
          {
            "time": 1200,
            "value": 86
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1530,
            "value": 64
          },
          {
            "time": 1740,
            "value": 46
          },
          {
            "time": 1890,
            "value": 28
          },
          {
            "time": 2040,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 7
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 390,
            "value": 18
          },
          {
            "time": 540,
            "value": 26
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1080,
            "value": 52
          },
          {
            "time": 1200,
            "value": 40
          },
          {
            "time": 1320,
            "value": 28
          },
          {
            "time": 1530,
            "value": 20
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 1890,
            "value": 4
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 32
          },
          {
            "time": 390,
            "value": 40
          },
          {
            "time": 540,
            "value": 50
          },
          {
            "time": 720,
            "value": 58
          },
          {
            "time": 900,
            "value": 66
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1200,
            "value": 60
          },
          {
            "time": 1320,
            "value": 50
          },
          {
            "time": 1530,
            "value": 40
          },
          {
            "time": 1740,
            "value": 28
          },
          {
            "time": 1890,
            "value": 16
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 120,
            "value": 56
          },
          {
            "time": 240,
            "value": 66
          },
          {
            "time": 390,
            "value": 72
          },
          {
            "time": 540,
            "value": 78
          },
          {
            "time": 720,
            "value": 84
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1080,
            "value": 90
          },
          {
            "time": 1200,
            "value": 86
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1530,
            "value": 70
          },
          {
            "time": 1740,
            "value": 58
          },
          {
            "time": 1890,
            "value": 40
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 6
          },
          {
            "time": 540,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 4
          },
          {
            "time": 1080,
            "value": 8
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1530,
            "value": 10
          },
          {
            "time": 1740,
            "value": 6
          },
          {
            "time": 1890,
            "value": 2
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 390,
            "value": 22
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 22
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1200,
            "value": 22
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1530,
            "value": 24
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 1890,
            "value": 8
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.1
          },
          {
            "time": 240,
            "value": 1.8
          },
          {
            "time": 390,
            "value": 2.4
          },
          {
            "time": 540,
            "value": 1.2
          },
          {
            "time": 720,
            "value": 1.5
          },
          {
            "time": 900,
            "value": 2
          },
          {
            "time": 1080,
            "value": 2.6
          },
          {
            "time": 1200,
            "value": 2
          },
          {
            "time": 1320,
            "value": 3.2
          },
          {
            "time": 1530,
            "value": 2.2
          },
          {
            "time": 1740,
            "value": 1.3
          },
          {
            "time": 1890,
            "value": 0.7
          },
          {
            "time": 2040,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173b4f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 120,
            "value": "#245f73",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#2d8f88",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 30
          },
          {
            "time": 390,
            "value": "#6ca85e",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.4,
            "auroraDepth": 38
          },
          {
            "time": 540,
            "value": "#d39b32",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.55,
            "auroraDepth": 48
          },
          {
            "time": 720,
            "value": "#f06f2f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.7,
            "auroraDepth": 58
          },
          {
            "time": 900,
            "value": "#d9412e",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.88,
            "auroraDepth": 70
          },
          {
            "time": 1080,
            "value": "#ffd04a",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 76
          },
          {
            "time": 1200,
            "value": "#f08a2f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.76,
            "auroraDepth": 56
          },
          {
            "time": 1320,
            "value": "#c8a14a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.46,
            "auroraDepth": 40
          },
          {
            "time": 1530,
            "value": "#5fbf7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 28
          },
          {
            "time": 1740,
            "value": "#3da09c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 18
          },
          {
            "time": 1890,
            "value": "#c78a66",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2040,
            "value": "#241912",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "gyrification": {
    "title": "Gyrificatie (Mentaal)",
    "titleEn": "Gyrification (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van cognitieve vitaliteit, beelden van neurale complexiteit, mentale flexibiliteit, hele-breinintegratie en rustig gericht herstel.",
    "goalEn": "Designed to support cognitive vitality, neural complexity imagery, mental flexibility, whole-brain integration, and calm focused restoration.",
    "marketplaceListingId": "",
    "carrier": 285,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 44,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Neural Grounding",
          "nameEn": "Arrival / Neural Grounding",
          "purpose": "Guides the mind and body into a calm foundation for restorative cognitive work.",
          "purposeEn": "Guides the mind and body into a calm foundation for restorative cognitive work."
        },
        {
          "time": 300,
          "name": "Alpha Organization",
          "nameEn": "Alpha Organization",
          "purpose": "Stabilizes relaxed attention and supports clear internal organization.",
          "purposeEn": "Stabilizes relaxed attention and supports clear internal organization."
        },
        {
          "time": 660,
          "name": "Cortical Flow Build-up",
          "nameEn": "Cortical Flow Build-up",
          "purpose": "Builds flexible cognitive engagement with balanced rhythm, color movement, and spacious sound.",
          "purposeEn": "Builds flexible cognitive engagement with balanced rhythm, color movement, and spacious sound."
        },
        {
          "time": 1080,
          "name": "Gyrification Imagery Plateau",
          "nameEn": "Gyrification Imagery Plateau",
          "purpose": "Promotes growth-oriented neural complexity imagery through theta depth, Aurora Immersion™, and Infinity Ganzfeld™ immersion.",
          "purposeEn": "Promotes growth-oriented neural complexity imagery through theta depth, Aurora Immersion™, and Infinity Ganzfeld™ immersion."
        },
        {
          "time": 1560,
          "name": "Integration and Mapping",
          "nameEn": "Integration and Mapping",
          "purpose": "Integrates imagery, clarity, and whole-brain balance into a coherent inner map.",
          "purposeEn": "Integrates imagery, clarity, and whole-brain balance into a coherent inner map."
        },
        {
          "time": 2040,
          "name": "Bright Cognitive Landing",
          "nameEn": "Bright Cognitive Landing",
          "purpose": "Returns gradually to calm alertness and usable mental freshness.",
          "purposeEn": "Returns gradually to calm alertness and usable mental freshness."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in grounded clarity and restored cognitive presence.",
          "purposeEn": "Completes the session in grounded clarity and restored cognitive presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 870,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 870,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 42
          },
          {
            "time": 480,
            "value": 54
          },
          {
            "time": 660,
            "value": 64
          },
          {
            "time": 870,
            "value": 72
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1320,
            "value": 84
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1800,
            "value": 68
          },
          {
            "time": 2040,
            "value": 52
          },
          {
            "time": 2220,
            "value": 30
          },
          {
            "time": 2400,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 5
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 480,
            "value": 9
          },
          {
            "time": 660,
            "value": 6
          },
          {
            "time": 870,
            "value": 3
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 8
          },
          {
            "time": 1800,
            "value": 14
          },
          {
            "time": 2040,
            "value": 10
          },
          {
            "time": 2220,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 20
          },
          {
            "time": 300,
            "value": 27
          },
          {
            "time": 480,
            "value": 31
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 870,
            "value": 32
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1320,
            "value": 26
          },
          {
            "time": 1560,
            "value": 31
          },
          {
            "time": 1800,
            "value": 34
          },
          {
            "time": 2040,
            "value": 26
          },
          {
            "time": 2220,
            "value": 14
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1800,
            "value": 74
          },
          {
            "time": 2040,
            "value": 60
          },
          {
            "time": 2220,
            "value": 40
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 660,
            "value": 22
          },
          {
            "time": 870,
            "value": 28
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1320,
            "value": 36
          },
          {
            "time": 1560,
            "value": 26
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 2040,
            "value": 10
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 870,
            "value": 52
          },
          {
            "time": 1080,
            "value": 66
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1560,
            "value": 54
          },
          {
            "time": 1800,
            "value": 40
          },
          {
            "time": 2040,
            "value": 24
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 660,
            "value": 5
          },
          {
            "time": 870,
            "value": 6.8
          },
          {
            "time": 1080,
            "value": 9
          },
          {
            "time": 1320,
            "value": 9.4
          },
          {
            "time": 1560,
            "value": 6.4
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 2040,
            "value": 2
          },
          {
            "time": 2220,
            "value": 0.9
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#143852",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 14
          },
          {
            "time": 150,
            "value": "#1f6f86",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#2fb89b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 32
          },
          {
            "time": 480,
            "value": "#4ac878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 38
          },
          {
            "time": 660,
            "value": "#4a76b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.28,
            "auroraDepth": 48
          },
          {
            "time": 870,
            "value": "#4b2a9a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1080,
            "value": "#241653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1320,
            "value": "#18113d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 72
          },
          {
            "time": 1560,
            "value": "#6732b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 58
          },
          {
            "time": 1800,
            "value": "#38a6b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 42
          },
          {
            "time": 2040,
            "value": "#58c795",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 26
          },
          {
            "time": 2220,
            "value": "#d69a68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2400,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "hallucination-experience": {
    "title": "Hallucinatoire ervaring (Mentaal)",
    "titleEn": "Hallucination Experience (Mental)",
    "category": "meditatie",
    "goal": "Een diepe immersieve audio-lichtreis ontworpen ter ondersteuning van levendige innerlijke beelden, abstracte visuele waarneming, ruime trance en geintegreerde terugkeer.",
    "goalEn": "A deep immersive audio-light journey designed to support vivid inner imagery, abstract visual perception, spacious trance, and integrated return.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the mind into a calm, receptive sensory field.",
          "purposeEn": "Guides the mind into a calm, receptive sensory field."
        },
        {
          "time": 180,
          "name": "Visual Stabilization",
          "nameEn": "Visual Stabilization",
          "purpose": "Builds steady alpha rhythm, soft visual attention, and comfortable immersion.",
          "purposeEn": "Builds steady alpha rhythm, soft visual attention, and comfortable immersion."
        },
        {
          "time": 480,
          "name": "Trance Descent",
          "nameEn": "Trance Descent",
          "purpose": "Deepens toward theta and opens inner imagery through spacious audio-light pacing.",
          "purposeEn": "Deepens toward theta and opens inner imagery through spacious audio-light pacing."
        },
        {
          "time": 840,
          "name": "Infinity Ganzfeld™ Immersion",
          "nameEn": "Infinity Ganzfeld™ Immersion",
          "purpose": "Creates a unified sensory field designed to support vivid internal patterns and dreamlike perception.",
          "purposeEn": "Creates a unified sensory field designed to support vivid internal patterns and dreamlike perception."
        },
        {
          "time": 1260,
          "name": "Visionary Plateau",
          "nameEn": "Visionary Plateau",
          "purpose": "Sustains deep visual absorption with slow Aurora Immersion™ movement and layered theta entrainment.",
          "purposeEn": "Sustains deep visual absorption with slow Aurora Immersion™ movement and layered theta entrainment."
        },
        {
          "time": 1680,
          "name": "Integration Glow",
          "nameEn": "Integration Glow",
          "purpose": "Guides the experience back toward coherent alpha integration and emotional clarity.",
          "purposeEn": "Guides the experience back toward coherent alpha integration and emotional clarity."
        },
        {
          "time": 1980,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Softens stimulation, stabilizes attention, and closes with warmth and clarity.",
          "purposeEn": "Softens stimulation, stabilizes attention, and closes with warmth and clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 330,
            "value": 8.3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1470,
            "value": 5.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 7.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1830,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 10.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.1,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 330,
            "value": 8.1,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1470,
            "value": 5.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1830,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 36
          },
          {
            "time": 330,
            "value": 55
          },
          {
            "time": 480,
            "value": 68
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 94
          },
          {
            "time": 1050,
            "value": 100
          },
          {
            "time": 1260,
            "value": 96
          },
          {
            "time": 1470,
            "value": 88
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1830,
            "value": 56
          },
          {
            "time": 1980,
            "value": 32
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 90,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 330,
            "value": 10
          },
          {
            "time": 480,
            "value": 6
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1050,
            "value": 0
          },
          {
            "time": 1260,
            "value": 3
          },
          {
            "time": 1470,
            "value": 6
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1830,
            "value": 14
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2100,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 330,
            "value": 30
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 46
          },
          {
            "time": 1050,
            "value": 44
          },
          {
            "time": 1260,
            "value": 48
          },
          {
            "time": 1470,
            "value": 42
          },
          {
            "time": 1680,
            "value": 34
          },
          {
            "time": 1830,
            "value": 28
          },
          {
            "time": 1980,
            "value": 18
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 45
          },
          {
            "time": 90,
            "value": 55
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 330,
            "value": 66
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 72
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1050,
            "value": 64
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1470,
            "value": 72
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1830,
            "value": 62
          },
          {
            "time": 1980,
            "value": 52
          },
          {
            "time": 2100,
            "value": 35
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 330,
            "value": 20
          },
          {
            "time": 480,
            "value": 22
          },
          {
            "time": 660,
            "value": 28
          },
          {
            "time": 840,
            "value": 38
          },
          {
            "time": 1050,
            "value": 42
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1470,
            "value": 24
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1830,
            "value": 12
          },
          {
            "time": 1980,
            "value": 4
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 330,
            "value": 32
          },
          {
            "time": 480,
            "value": 44
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1050,
            "value": 74
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1470,
            "value": 56
          },
          {
            "time": 1680,
            "value": 42
          },
          {
            "time": 1830,
            "value": 30
          },
          {
            "time": 1980,
            "value": 18
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.8
          },
          {
            "time": 330,
            "value": 3.6
          },
          {
            "time": 480,
            "value": 5.4
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 9
          },
          {
            "time": 1050,
            "value": 10.5
          },
          {
            "time": 1260,
            "value": 9.6
          },
          {
            "time": 1470,
            "value": 7
          },
          {
            "time": 1680,
            "value": 4.4
          },
          {
            "time": 1830,
            "value": 3
          },
          {
            "time": 1980,
            "value": 1.8
          },
          {
            "time": 2100,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#102040",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#1b4f7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 28
          },
          {
            "time": 180,
            "value": "#245bff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.25,
            "auroraDepth": 40
          },
          {
            "time": 330,
            "value": "#2ee6d6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 48
          },
          {
            "time": 480,
            "value": "#4b2cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 62
          },
          {
            "time": 660,
            "value": "#7a2cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 72
          },
          {
            "time": 840,
            "value": "#8f3dff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.14,
            "auroraDepth": 88
          },
          {
            "time": 1050,
            "value": "#d04dff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.11,
            "auroraDepth": 96
          },
          {
            "time": 1260,
            "value": "#5c22ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 92
          },
          {
            "time": 1470,
            "value": "#2b7cff",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 78
          },
          {
            "time": 1680,
            "value": "#35ffd0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 56
          },
          {
            "time": 1830,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 36
          },
          {
            "time": 1980,
            "value": "#ffb36b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 22
          },
          {
            "time": 2100,
            "value": "#2a1830",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "how-thoughts-heal": {
    "title": "Hoe gedachten helen (Mentaal)",
    "titleEn": "How Thoughts Heal (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van herstelgerichte denkpatronen, hartcoherentie, emotionele balans, herstellende beelden en geintegreerd welzijn.",
    "goalEn": "Designed to support healing-oriented thought patterns, heart coherence, emotional balance, restorative imagery, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 44,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2520,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Safe Inner Space",
          "nameEn": "Arrival / Safe Inner Space",
          "purpose": "Guides body and mind into calm safety and receptive presence.",
          "purposeEn": "Guides body and mind into calm safety and receptive presence."
        },
        {
          "time": 300,
          "name": "Heart Coherence",
          "nameEn": "Heart Coherence",
          "purpose": "Builds emotional warmth, centered breathing, and balanced inner rhythm.",
          "purposeEn": "Builds emotional warmth, centered breathing, and balanced inner rhythm."
        },
        {
          "time": 660,
          "name": "Thought Repatterning",
          "nameEn": "Thought Repatterning",
          "purpose": "Promotes clear, constructive thought flow and positive emotional direction.",
          "purposeEn": "Promotes clear, constructive thought flow and positive emotional direction."
        },
        {
          "time": 1080,
          "name": "Restorative Imagery Immersion",
          "nameEn": "Restorative Imagery Immersion",
          "purpose": "Deepens healing-oriented imagery through theta, Aurora Immersion™, Infinity Ganzfeld™, and spacious sound.",
          "purposeEn": "Deepens healing-oriented imagery through theta, Aurora Immersion™, Infinity Ganzfeld™, and spacious sound."
        },
        {
          "time": 1560,
          "name": "Embodied Integration",
          "nameEn": "Embodied Integration",
          "purpose": "Connects thought, emotion, body sensation, and restorative intention into one coherent state.",
          "purposeEn": "Connects thought, emotion, body sensation, and restorative intention into one coherent state."
        },
        {
          "time": 2040,
          "name": "Warm Return",
          "nameEn": "Warm Return",
          "purpose": "Returns the integrated experience into calm alertness and grounded wellbeing.",
          "purposeEn": "Returns the integrated experience into calm alertness and grounded wellbeing."
        },
        {
          "time": 2520,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in peaceful clarity and inner harmony.",
          "purposeEn": "Completes the session in peaceful clarity and inner harmony."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 870,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 870,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 26
          },
          {
            "time": 300,
            "value": 42
          },
          {
            "time": 480,
            "value": 54
          },
          {
            "time": 660,
            "value": 66
          },
          {
            "time": 870,
            "value": 74
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1320,
            "value": 80
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1800,
            "value": 64
          },
          {
            "time": 2040,
            "value": 48
          },
          {
            "time": 2220,
            "value": 28
          },
          {
            "time": 2520,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 5
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 480,
            "value": 6
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 870,
            "value": 2
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 8
          },
          {
            "time": 1800,
            "value": 12
          },
          {
            "time": 2040,
            "value": 7
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 13
          },
          {
            "time": 150,
            "value": 19
          },
          {
            "time": 300,
            "value": 25
          },
          {
            "time": 480,
            "value": 30
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 870,
            "value": 30
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1800,
            "value": 30
          },
          {
            "time": 2040,
            "value": 22
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 2040,
            "value": 56
          },
          {
            "time": 2220,
            "value": 38
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 660,
            "value": 22
          },
          {
            "time": 870,
            "value": 26
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2040,
            "value": 8
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 870,
            "value": 52
          },
          {
            "time": 1080,
            "value": 66
          },
          {
            "time": 1320,
            "value": 62
          },
          {
            "time": 1560,
            "value": 50
          },
          {
            "time": 1800,
            "value": 38
          },
          {
            "time": 2040,
            "value": 22
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 660,
            "value": 5.2
          },
          {
            "time": 870,
            "value": 6.8
          },
          {
            "time": 1080,
            "value": 9
          },
          {
            "time": 1320,
            "value": 8.2
          },
          {
            "time": 1560,
            "value": 6
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 2040,
            "value": 2
          },
          {
            "time": 2220,
            "value": 0.9
          },
          {
            "time": 2520,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173850",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 150,
            "value": "#1f6f7f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 300,
            "value": "#35b58f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 480,
            "value": "#61c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 38
          },
          {
            "time": 660,
            "value": "#5fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.26,
            "auroraDepth": 46
          },
          {
            "time": 870,
            "value": "#3a8ec4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 54
          },
          {
            "time": 1080,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1320,
            "value": "#1b123d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 68
          },
          {
            "time": 1560,
            "value": "#7c3fb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 1800,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 2040,
            "value": "#69c78e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 2220,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2520,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2520
  },
  "hypnotic-gateway": {
    "title": "Hypnotische poort (Mentaal)",
    "titleEn": "Hypnotic Gateway (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van een soepele overgang van ontspannen alertheid naar een stabiele, ontvankelijke hypnotische poort.",
    "goalEn": "Designed to support a smooth transition from relaxed alertness into a stable, receptive hypnotic gateway.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1080,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the client into calm orientation and prepares attention for hypnosis.",
          "purposeEn": "Guides the client into calm orientation and prepares attention for hypnosis."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Builds relaxed alpha stability and reduces outer distraction.",
          "purposeEn": "Builds relaxed alpha stability and reduces outer distraction."
        },
        {
          "time": 390,
          "name": "Threshold",
          "nameEn": "Threshold",
          "purpose": "Deepens from relaxed alertness toward hypnotic absorption.",
          "purposeEn": "Deepens from relaxed alertness toward hypnotic absorption."
        },
        {
          "time": 660,
          "name": "Gateway Plateau",
          "nameEn": "Gateway Plateau",
          "purpose": "Stabilizes a receptive theta gateway for therapeutic work.",
          "purposeEn": "Stabilizes a receptive theta gateway for therapeutic work."
        },
        {
          "time": 900,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates the trance state while keeping the mind open and responsive.",
          "purposeEn": "Integrates the trance state while keeping the mind open and responsive."
        },
        {
          "time": 1080,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the client in calm clarity, ready for guidance or transition.",
          "purposeEn": "Lands the client in calm clarity, ready for guidance or transition."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 12,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 11.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 520,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1000,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 520,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1000,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 35
          },
          {
            "time": 180,
            "value": 52
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 520,
            "value": 78
          },
          {
            "time": 660,
            "value": 84
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 900,
            "value": 72
          },
          {
            "time": 1000,
            "value": 55
          },
          {
            "time": 1080,
            "value": 28
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 390,
            "value": 6
          },
          {
            "time": 520,
            "value": 4
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 780,
            "value": 2
          },
          {
            "time": 900,
            "value": 8
          },
          {
            "time": 1000,
            "value": 14
          },
          {
            "time": 1080,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 90,
            "value": 24
          },
          {
            "time": 180,
            "value": 32
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 390,
            "value": 42
          },
          {
            "time": 520,
            "value": 45
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 780,
            "value": 36
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1000,
            "value": 24
          },
          {
            "time": 1080,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 90,
            "value": 58
          },
          {
            "time": 180,
            "value": 65
          },
          {
            "time": 300,
            "value": 68
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 520,
            "value": 72
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 900,
            "value": 66
          },
          {
            "time": 1000,
            "value": 56
          },
          {
            "time": 1080,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 60,
            "value": 10
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 390,
            "value": 20
          },
          {
            "time": 520,
            "value": 24
          },
          {
            "time": 660,
            "value": 30
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 900,
            "value": 18
          },
          {
            "time": 1000,
            "value": 10
          },
          {
            "time": 1080,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 34
          },
          {
            "time": 390,
            "value": 42
          },
          {
            "time": 520,
            "value": 50
          },
          {
            "time": 660,
            "value": 62
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 900,
            "value": 48
          },
          {
            "time": 1000,
            "value": 30
          },
          {
            "time": 1080,
            "value": 12
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 3
          },
          {
            "time": 300,
            "value": 3.8
          },
          {
            "time": 390,
            "value": 5
          },
          {
            "time": 520,
            "value": 6.6
          },
          {
            "time": 660,
            "value": 8.4
          },
          {
            "time": 780,
            "value": 9.2
          },
          {
            "time": 900,
            "value": 6.2
          },
          {
            "time": 1000,
            "value": 3.2
          },
          {
            "time": 1080,
            "value": 1.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f7dff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#35c7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#28d7c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 36
          },
          {
            "time": 300,
            "value": "#3a9cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 42
          },
          {
            "time": 390,
            "value": "#3652ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 50
          },
          {
            "time": 520,
            "value": "#5b38ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 58
          },
          {
            "time": 660,
            "value": "#6a35ff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 72
          },
          {
            "time": 780,
            "value": "#7a3cff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.08,
            "auroraDepth": 76
          },
          {
            "time": 900,
            "value": "#8e5bff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 52
          },
          {
            "time": 1000,
            "value": "#4ed6c6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 32
          },
          {
            "time": 1080,
            "value": "#ffd39a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1080
  },
  "ideomotor-response-enhancer": {
    "title": "Ideomotorische respons versterken (Mentaal)",
    "titleEn": "Ideomotor Response Enhancer (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van hypnotische ideomotorische responsiviteit, subtiele lichaamssignalen en rustige onbewuste samenwerking.",
    "goalEn": "Designed to support hypnotic ideomotor responsiveness, subtle body signaling, and calm unconscious cooperation.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 35,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1500,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle attention into the body and create a calm baseline for subtle responses.",
          "purposeEn": "Settle attention into the body and create a calm baseline for subtle responses."
        },
        {
          "time": 180,
          "name": "Response Priming",
          "nameEn": "Response Priming",
          "purpose": "Promote relaxed alertness and prepare awareness for small involuntary signals.",
          "purposeEn": "Promote relaxed alertness and prepare awareness for small involuntary signals."
        },
        {
          "time": 420,
          "name": "Trance Deepening",
          "nameEn": "Trance Deepening",
          "purpose": "Guide the mind into a receptive theta rhythm while maintaining body awareness.",
          "purposeEn": "Guide the mind into a receptive theta rhythm while maintaining body awareness."
        },
        {
          "time": 720,
          "name": "Ideomotor Window",
          "nameEn": "Ideomotor Window",
          "purpose": "Stabilize a deep, responsive state for finger, hand, or micro-movement signaling.",
          "purposeEn": "Stabilize a deep, responsive state for finger, hand, or micro-movement signaling."
        },
        {
          "time": 1080,
          "name": "Suggestion Integration",
          "nameEn": "Suggestion Integration",
          "purpose": "Integrate the response pathway with calm clarity and inner cooperation.",
          "purposeEn": "Integrate the response pathway with calm clarity and inner cooperation."
        },
        {
          "time": 1320,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return toward relaxed alertness while keeping the response channel accessible.",
          "purposeEn": "Return toward relaxed alertness while keeping the response channel accessible."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.2
          },
          {
            "time": 420,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 6.2
          },
          {
            "time": 720,
            "value": 5.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.1
          },
          {
            "time": 1080,
            "value": 6.7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.7
          },
          {
            "time": 1320,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 10.3,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.2
          },
          {
            "time": 180,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 6.4
          },
          {
            "time": 720,
            "value": 5.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.2
          },
          {
            "time": 1080,
            "value": 6.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.8
          },
          {
            "time": 1320,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 30
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 52
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 570,
            "value": 70
          },
          {
            "time": 720,
            "value": 76
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1200,
            "value": 55
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1500,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 420,
            "value": 8
          },
          {
            "time": 570,
            "value": 6
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 10
          },
          {
            "time": 1200,
            "value": 16
          },
          {
            "time": 1320,
            "value": 12
          },
          {
            "time": 1500,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 25
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 570,
            "value": 42
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1500,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 46
          },
          {
            "time": 90,
            "value": 54
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 570,
            "value": 70
          },
          {
            "time": 720,
            "value": 66
          },
          {
            "time": 900,
            "value": 64
          },
          {
            "time": 1080,
            "value": 62
          },
          {
            "time": 1200,
            "value": 58
          },
          {
            "time": 1320,
            "value": 50
          },
          {
            "time": 1500,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 60,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 570,
            "value": 14
          },
          {
            "time": 720,
            "value": 20
          },
          {
            "time": 900,
            "value": 24
          },
          {
            "time": 1080,
            "value": 14
          },
          {
            "time": 1200,
            "value": 8
          },
          {
            "time": 1320,
            "value": 2
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 300,
            "value": 26
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 570,
            "value": 38
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 52
          },
          {
            "time": 1080,
            "value": 42
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.8
          },
          {
            "time": 300,
            "value": 3.4
          },
          {
            "time": 420,
            "value": 4.2
          },
          {
            "time": 570,
            "value": 5.2
          },
          {
            "time": 720,
            "value": 7.2
          },
          {
            "time": 900,
            "value": 8
          },
          {
            "time": 1080,
            "value": 6.2
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1320,
            "value": 2.2
          },
          {
            "time": 1500,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#245dff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#28c6d7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 420,
            "value": "#4b35d6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#2d1b83",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.09,
            "auroraDepth": 62
          },
          {
            "time": 900,
            "value": "#5130b5",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 70
          },
          {
            "time": 1080,
            "value": "#7d4cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 48
          },
          {
            "time": 1320,
            "value": "#6fe7c8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 26
          },
          {
            "time": 1500,
            "value": "#f3c886",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1500
  },
  "improve-memory": {
    "title": "Geheugen verbeteren (Mentaal)",
    "titleEn": "Improve Memory (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van geheugenvertrouwen, heldere opslag, paraatheid voor herinnering, cognitieve ordening en rustige gerichte integratie.",
    "goalEn": "Designed to support memory confidence, encoding clarity, recall readiness, cognitive organization, and calm focused integration.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2280,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Mental Clearing",
          "nameEn": "Arrival / Mental Clearing",
          "purpose": "Clears distraction and prepares the mind for memory-focused work.",
          "purposeEn": "Clears distraction and prepares the mind for memory-focused work."
        },
        {
          "time": 240,
          "name": "Alpha Encoding",
          "nameEn": "Alpha Encoding",
          "purpose": "Stabilizes calm alertness and supports clear intake of information.",
          "purposeEn": "Stabilizes calm alertness and supports clear intake of information."
        },
        {
          "time": 540,
          "name": "Focused Recall Build-up",
          "nameEn": "Focused Recall Build-up",
          "purpose": "Activates organized attention and confident access to stored associations.",
          "purposeEn": "Activates organized attention and confident access to stored associations."
        },
        {
          "time": 900,
          "name": "Memory Clarity Plateau",
          "nameEn": "Memory Clarity Plateau",
          "purpose": "Promotes steady concentration, structured recall, and mental brightness.",
          "purposeEn": "Promotes steady concentration, structured recall, and mental brightness."
        },
        {
          "time": 1320,
          "name": "Theta Consolidation",
          "nameEn": "Theta Consolidation",
          "purpose": "Deepens integration through imagery, association, and relaxed subconscious organization.",
          "purposeEn": "Deepens integration through imagery, association, and relaxed subconscious organization."
        },
        {
          "time": 1800,
          "name": "Recall Integration",
          "nameEn": "Recall Integration",
          "purpose": "Returns memory work into calm conscious clarity and practical recall readiness.",
          "purposeEn": "Returns memory work into calm conscious clarity and practical recall readiness."
        },
        {
          "time": 2280,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in grounded clarity and confident mental presence.",
          "purposeEn": "Completes the session in grounded clarity and confident mental presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 13.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1110,
            "value": 12.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 11,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 9.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 13.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1110,
            "value": 12,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 10.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 390,
            "value": 52
          },
          {
            "time": 540,
            "value": 64
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1110,
            "value": 72
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1530,
            "value": 78
          },
          {
            "time": 1800,
            "value": 60
          },
          {
            "time": 2040,
            "value": 34
          },
          {
            "time": 2280,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 16
          },
          {
            "time": 540,
            "value": 26
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 900,
            "value": 40
          },
          {
            "time": 1110,
            "value": 30
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1530,
            "value": 4
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 2040,
            "value": 7
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 20
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 390,
            "value": 34
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 900,
            "value": 46
          },
          {
            "time": 1110,
            "value": 40
          },
          {
            "time": 1320,
            "value": 28
          },
          {
            "time": 1530,
            "value": 24
          },
          {
            "time": 1800,
            "value": 34
          },
          {
            "time": 2040,
            "value": 18
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 540,
            "value": 76
          },
          {
            "time": 720,
            "value": 80
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1110,
            "value": 78
          },
          {
            "time": 1320,
            "value": 74
          },
          {
            "time": 1530,
            "value": 72
          },
          {
            "time": 1800,
            "value": 66
          },
          {
            "time": 2040,
            "value": 42
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 390,
            "value": 8
          },
          {
            "time": 540,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 8
          },
          {
            "time": 1110,
            "value": 10
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1530,
            "value": 24
          },
          {
            "time": 1800,
            "value": 12
          },
          {
            "time": 2040,
            "value": 4
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 390,
            "value": 22
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 28
          },
          {
            "time": 1110,
            "value": 32
          },
          {
            "time": 1320,
            "value": 48
          },
          {
            "time": 1530,
            "value": 54
          },
          {
            "time": 1800,
            "value": 30
          },
          {
            "time": 2040,
            "value": 10
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 1.8
          },
          {
            "time": 390,
            "value": 2.4
          },
          {
            "time": 540,
            "value": 1.2
          },
          {
            "time": 720,
            "value": 1.5
          },
          {
            "time": 900,
            "value": 3
          },
          {
            "time": 1110,
            "value": 3.4
          },
          {
            "time": 1320,
            "value": 5.8
          },
          {
            "time": 1530,
            "value": 6.8
          },
          {
            "time": 1800,
            "value": 3.2
          },
          {
            "time": 2040,
            "value": 1
          },
          {
            "time": 2280,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#143a54",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#1f7486",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#35b99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 30
          },
          {
            "time": 390,
            "value": "#60c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 38
          },
          {
            "time": 540,
            "value": "#d2c84a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.48,
            "auroraDepth": 46
          },
          {
            "time": 720,
            "value": "#f0b23d",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.58,
            "auroraDepth": 52
          },
          {
            "time": 900,
            "value": "#ffd95a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.52,
            "auroraDepth": 50
          },
          {
            "time": 1110,
            "value": "#8bd76c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.4,
            "auroraDepth": 40
          },
          {
            "time": 1320,
            "value": "#3a8ec4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 50
          },
          {
            "time": 1530,
            "value": "#4550b8",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 62
          },
          {
            "time": 1800,
            "value": "#4fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 28
          },
          {
            "time": 2040,
            "value": "#d9a26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2280,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2280
  },
  "increase-brainpower": {
    "title": "Breinvermogen vergroten (Mentaal)",
    "titleEn": "Increase Brainpower (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van meer breinvermogen, mentale helderheid, snelle cognitieve betrokkenheid, leerbereidheid en geactiveerde gerichte prestatie.",
    "goalEn": "Designed to support increased brainpower, mental clarity, fast cognitive engagement, learning readiness, and energized focused performance.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 14,
    "colorCrossfadeSeconds": 28,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Start / Cognitive Warm-up",
          "nameEn": "Start / Cognitive Warm-up",
          "purpose": "Clears the mental field and prepares the brain for stronger cognitive engagement.",
          "purposeEn": "Clears the mental field and prepares the brain for stronger cognitive engagement."
        },
        {
          "time": 180,
          "name": "Alpha Focus Lock",
          "nameEn": "Alpha Focus Lock",
          "purpose": "Stabilizes relaxed attention and organizes thought flow.",
          "purposeEn": "Stabilizes relaxed attention and organizes thought flow."
        },
        {
          "time": 450,
          "name": "Power Build-up",
          "nameEn": "Power Build-up",
          "purpose": "Activates clear mental energy, processing speed, and purposeful focus.",
          "purposeEn": "Activates clear mental energy, processing speed, and purposeful focus."
        },
        {
          "time": 780,
          "name": "Brainpower Peak",
          "nameEn": "Brainpower Peak",
          "purpose": "Promotes bright alertness, sharper concentration, and confident problem solving.",
          "purposeEn": "Promotes bright alertness, sharper concentration, and confident problem solving."
        },
        {
          "time": 1080,
          "name": "Sustained Cognitive Drive",
          "nameEn": "Sustained Cognitive Drive",
          "purpose": "Stabilizes the peak into usable mental performance and steady working focus.",
          "purposeEn": "Stabilizes the peak into usable mental performance and steady working focus."
        },
        {
          "time": 1500,
          "name": "Integration / Mental Order",
          "nameEn": "Integration / Mental Order",
          "purpose": "Integrates energy with calm control, clarity, and organized awareness.",
          "purposeEn": "Integrates energy with calm control, clarity, and organized awareness."
        },
        {
          "time": 1920,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in awake clarity and balanced focus.",
          "purposeEn": "Completes the session in awake clarity and balanced focus."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 315,
            "value": 12.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 450,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 615,
            "value": 15.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 930,
            "value": 19.2,
            "lightPulseShape": "square"
          },
          {
            "time": 1020,
            "value": 16.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 15.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 13.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 12,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 315,
            "value": 12.4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 450,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 615,
            "value": 15.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 930,
            "value": 18.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1020,
            "value": 16.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 15,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 13.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 315,
            "value": 54
          },
          {
            "time": 450,
            "value": 68
          },
          {
            "time": 615,
            "value": 80
          },
          {
            "time": 780,
            "value": 90
          },
          {
            "time": 930,
            "value": 96
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1500,
            "value": 50
          },
          {
            "time": 1680,
            "value": 30
          },
          {
            "time": 1920,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 7
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 315,
            "value": 18
          },
          {
            "time": 450,
            "value": 28
          },
          {
            "time": 615,
            "value": 38
          },
          {
            "time": 780,
            "value": 48
          },
          {
            "time": 930,
            "value": 56
          },
          {
            "time": 1020,
            "value": 42
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1680,
            "value": 5
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 90,
            "value": 22
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 315,
            "value": 38
          },
          {
            "time": 450,
            "value": 48
          },
          {
            "time": 615,
            "value": 58
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 930,
            "value": 70
          },
          {
            "time": 1020,
            "value": 60
          },
          {
            "time": 1080,
            "value": 54
          },
          {
            "time": 1320,
            "value": 42
          },
          {
            "time": 1500,
            "value": 30
          },
          {
            "time": 1680,
            "value": 16
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 90,
            "value": 56
          },
          {
            "time": 180,
            "value": 66
          },
          {
            "time": 315,
            "value": 72
          },
          {
            "time": 450,
            "value": 78
          },
          {
            "time": 615,
            "value": 84
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 930,
            "value": 90
          },
          {
            "time": 1020,
            "value": 86
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1320,
            "value": 74
          },
          {
            "time": 1500,
            "value": 60
          },
          {
            "time": 1680,
            "value": 42
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 315,
            "value": 6
          },
          {
            "time": 450,
            "value": 0
          },
          {
            "time": 615,
            "value": 0
          },
          {
            "time": 780,
            "value": 4
          },
          {
            "time": 930,
            "value": 8
          },
          {
            "time": 1020,
            "value": 4
          },
          {
            "time": 1080,
            "value": 6
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1680,
            "value": 2
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 315,
            "value": 22
          },
          {
            "time": 450,
            "value": 14
          },
          {
            "time": 615,
            "value": 16
          },
          {
            "time": 780,
            "value": 22
          },
          {
            "time": 930,
            "value": 26
          },
          {
            "time": 1020,
            "value": 20
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1500,
            "value": 16
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 90,
            "value": 1.1
          },
          {
            "time": 180,
            "value": 1.8
          },
          {
            "time": 315,
            "value": 2.3
          },
          {
            "time": 450,
            "value": 1.2
          },
          {
            "time": 615,
            "value": 1.5
          },
          {
            "time": 780,
            "value": 2.2
          },
          {
            "time": 930,
            "value": 2.8
          },
          {
            "time": 1020,
            "value": 2
          },
          {
            "time": 1080,
            "value": 2.6
          },
          {
            "time": 1320,
            "value": 1.9
          },
          {
            "time": 1500,
            "value": 1.2
          },
          {
            "time": 1680,
            "value": 0.7
          },
          {
            "time": 1920,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173b5a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 90,
            "value": "#217c8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#35bfa0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 315,
            "value": "#45c874",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 450,
            "value": "#d6c94b",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.56,
            "auroraDepth": 52
          },
          {
            "time": 615,
            "value": "#f5a63a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.72,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#ff7d2f",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.88,
            "auroraDepth": 72
          },
          {
            "time": 930,
            "value": "#ffe257",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 78
          },
          {
            "time": 1020,
            "value": "#ffad3d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.76,
            "auroraDepth": 58
          },
          {
            "time": 1080,
            "value": "#a8d85f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#5ccf91",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 30
          },
          {
            "time": 1500,
            "value": "#42aeb0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1680,
            "value": "#d89a65",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 1920,
            "value": "#241912",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "lucid-visualization": {
    "title": "Lucide visualisatie (Mentaal)",
    "titleEn": "Lucid Visualization (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van levendige innerlijke beelden, lucide visualisatie, symbolische waarneming en heldere herinnering na de sessie.",
    "goalEn": "Designed to support vivid inner imagery, lucid visualization, symbolic perception, and clear post-session recall.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle attention, soften visual focus, and open the doorway to inner imagery.",
          "purposeEn": "Settle attention, soften visual focus, and open the doorway to inner imagery."
        },
        {
          "time": 180,
          "name": "Visual Stabilization",
          "nameEn": "Visual Stabilization",
          "purpose": "Build calm alpha stability and prepare clear mental screen perception.",
          "purposeEn": "Build calm alpha stability and prepare clear mental screen perception."
        },
        {
          "time": 420,
          "name": "Theta Descent",
          "nameEn": "Theta Descent",
          "purpose": "Guide attention into image-rich theta while maintaining comfortable awareness.",
          "purposeEn": "Guide attention into image-rich theta while maintaining comfortable awareness."
        },
        {
          "time": 780,
          "name": "Lucid Visualization Plateau",
          "nameEn": "Lucid Visualization Plateau",
          "purpose": "Deepen vivid inner seeing with immersive audio, Aurora Immersion™ motion, and Infinity Ganzfeld™ support.",
          "purposeEn": "Deepen vivid inner seeing with immersive audio, Aurora Immersion™ motion, and Infinity Ganzfeld™ support."
        },
        {
          "time": 1140,
          "name": "Symbolic Expansion",
          "nameEn": "Symbolic Expansion",
          "purpose": "Expand imagery, associations, and intuitive clarity without losing orientation.",
          "purposeEn": "Expand imagery, associations, and intuitive clarity without losing orientation."
        },
        {
          "time": 1500,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Bring the imagery into calm alpha integration and meaningful recall.",
          "purposeEn": "Bring the imagery into calm alpha integration and meaningful recall."
        },
        {
          "time": 1800,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return smoothly with grounded clarity and retained visual impressions.",
          "purposeEn": "Return smoothly with grounded clarity and retained visual impressions."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 10.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 6.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 20
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 780,
            "value": 80
          },
          {
            "time": 1020,
            "value": 84
          },
          {
            "time": 1140,
            "value": 76
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1680,
            "value": 35
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 600,
            "value": 3
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1140,
            "value": 6
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 1800,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 600,
            "value": 32
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 1020,
            "value": 22
          },
          {
            "time": 1140,
            "value": 30
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1500,
            "value": 24
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 76
          },
          {
            "time": 1020,
            "value": 74
          },
          {
            "time": 1140,
            "value": 78
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1680,
            "value": 54
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 20
          },
          {
            "time": 780,
            "value": 26
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1140,
            "value": 20
          },
          {
            "time": 1320,
            "value": 14
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1680,
            "value": 0
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 600,
            "value": 42
          },
          {
            "time": 780,
            "value": 55
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1140,
            "value": 50
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1800,
            "value": 4
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 4.2
          },
          {
            "time": 600,
            "value": 6.5
          },
          {
            "time": 780,
            "value": 8.8
          },
          {
            "time": 1020,
            "value": 9.6
          },
          {
            "time": 1140,
            "value": 7.5
          },
          {
            "time": 1320,
            "value": 5.4
          },
          {
            "time": 1500,
            "value": 3.2
          },
          {
            "time": 1680,
            "value": 1.8
          },
          {
            "time": 1800,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1d6bff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#27d7c8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 35
          },
          {
            "time": 420,
            "value": "#4b39ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 50
          },
          {
            "time": 600,
            "value": "#7a2cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#3500a8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 78
          },
          {
            "time": 1020,
            "value": "#8b2cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 86
          },
          {
            "time": 1140,
            "value": "#c12cff",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.38,
            "auroraDepth": 75
          },
          {
            "time": 1320,
            "value": "#ff5fd2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.44,
            "auroraDepth": 58
          },
          {
            "time": 1500,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 38
          },
          {
            "time": 1680,
            "value": "#ffd27a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 1800,
            "value": "#ffb870",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "mental-awareness": {
    "title": "Mentaal bewustzijn (Mentaal)",
    "titleEn": "Mental Awareness (Mental)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van helder mentaal bewustzijn, observatie van het huidige moment, rustig inzicht, evenwichtige aandacht en geintegreerde innerlijke helderheid.",
    "goalEn": "Designed to support clear mental awareness, present-moment observation, calm insight, balanced attention, and integrated inner clarity.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 40,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Present Attention",
          "nameEn": "Arrival / Present Attention",
          "purpose": "Guides attention into a calm, receptive state of present awareness.",
          "purposeEn": "Guides attention into a calm, receptive state of present awareness."
        },
        {
          "time": 240,
          "name": "Alpha Clarity",
          "nameEn": "Alpha Clarity",
          "purpose": "Stabilizes relaxed alertness and clears scattered mental activity.",
          "purposeEn": "Stabilizes relaxed alertness and clears scattered mental activity."
        },
        {
          "time": 540,
          "name": "Insight Window",
          "nameEn": "Insight Window",
          "purpose": "Promotes reflective awareness, subtle inner observation, and spacious perception.",
          "purposeEn": "Promotes reflective awareness, subtle inner observation, and spacious perception."
        },
        {
          "time": 900,
          "name": "Awareness Plateau",
          "nameEn": "Awareness Plateau",
          "purpose": "Deepens calm insight through theta pacing, Aurora Immersion™ movement, and immersive reverb.",
          "purposeEn": "Deepens calm insight through theta pacing, Aurora Immersion™ movement, and immersive reverb."
        },
        {
          "time": 1260,
          "name": "Clear Focus Integration",
          "nameEn": "Clear Focus Integration",
          "purpose": "Builds mental clarity and integrates awareness into steady attention.",
          "purposeEn": "Builds mental clarity and integrates awareness into steady attention."
        },
        {
          "time": 1680,
          "name": "Grounded Presence",
          "nameEn": "Grounded Presence",
          "purpose": "Returns awareness into calm, practical clarity and balanced presence.",
          "purposeEn": "Returns awareness into calm, practical clarity and balanced presence."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with clear mental awareness and stable inner quiet.",
          "purposeEn": "Completes the session with clear mental awareness and stable inner quiet."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 720,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1860,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2040,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 390,
            "value": 52
          },
          {
            "time": 540,
            "value": 64
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1080,
            "value": 74
          },
          {
            "time": 1260,
            "value": 62
          },
          {
            "time": 1440,
            "value": 56
          },
          {
            "time": 1680,
            "value": 42
          },
          {
            "time": 1860,
            "value": 24
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 5
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 390,
            "value": 10
          },
          {
            "time": 540,
            "value": 6
          },
          {
            "time": 720,
            "value": 3
          },
          {
            "time": 900,
            "value": 1
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1260,
            "value": 14
          },
          {
            "time": 1440,
            "value": 22
          },
          {
            "time": 1680,
            "value": 10
          },
          {
            "time": 1860,
            "value": 3
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 240,
            "value": 25
          },
          {
            "time": 390,
            "value": 30
          },
          {
            "time": 540,
            "value": 32
          },
          {
            "time": 720,
            "value": 30
          },
          {
            "time": 900,
            "value": 25
          },
          {
            "time": 1080,
            "value": 23
          },
          {
            "time": 1260,
            "value": 31
          },
          {
            "time": 1440,
            "value": 36
          },
          {
            "time": 1680,
            "value": 22
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 120,
            "value": 52
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 390,
            "value": 68
          },
          {
            "time": 540,
            "value": 72
          },
          {
            "time": 720,
            "value": 74
          },
          {
            "time": 900,
            "value": 70
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1440,
            "value": 66
          },
          {
            "time": 1680,
            "value": 52
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 390,
            "value": 16
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1260,
            "value": 14
          },
          {
            "time": 1440,
            "value": 4
          },
          {
            "time": 1680,
            "value": 2
          },
          {
            "time": 1860,
            "value": 0
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 390,
            "value": 30
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 720,
            "value": 50
          },
          {
            "time": 900,
            "value": 62
          },
          {
            "time": 1080,
            "value": 58
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1440,
            "value": 22
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1860,
            "value": 6
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.4
          },
          {
            "time": 240,
            "value": 2.2
          },
          {
            "time": 390,
            "value": 3.2
          },
          {
            "time": 540,
            "value": 4.8
          },
          {
            "time": 720,
            "value": 6.2
          },
          {
            "time": 900,
            "value": 7.8
          },
          {
            "time": 1080,
            "value": 7
          },
          {
            "time": 1260,
            "value": 4
          },
          {
            "time": 1440,
            "value": 2.2
          },
          {
            "time": 1680,
            "value": 1.2
          },
          {
            "time": 1860,
            "value": 0.6
          },
          {
            "time": 2040,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#123a4f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 120,
            "value": "#1f6f8c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 240,
            "value": "#34a9a2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 390,
            "value": "#3bbf8f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 34
          },
          {
            "time": 540,
            "value": "#335ab6",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 720,
            "value": "#4422a0",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 56
          },
          {
            "time": 900,
            "value": "#1e154f",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 68
          },
          {
            "time": 1080,
            "value": "#241b5c",
            "ganzfeldMode": true,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 58
          },
          {
            "time": 1260,
            "value": "#4b92c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 1440,
            "value": "#d8c75a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 24
          },
          {
            "time": 1680,
            "value": "#63c996",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 1860,
            "value": "#c99b72",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 2040,
            "value": "#181512",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "mental-health": {
    "title": "Mentaal welzijn (Mentaal)",
    "titleEn": "Mental Health (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van mentaal welzijn, emotionele balans, het tot rust brengen van het zenuwstelsel, rustige helderheid, veerkracht en geintegreerde innerlijke stabiliteit.",
    "goalEn": "Designed to support mental wellbeing, emotional balance, nervous system settling, calm clarity, resilience, and integrated inner stability.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Safety",
          "nameEn": "Arrival / Safety",
          "purpose": "Guides the mind and body into grounded calm and emotional safety.",
          "purposeEn": "Guides the mind and body into grounded calm and emotional safety."
        },
        {
          "time": 300,
          "name": "Nervous System Settling",
          "nameEn": "Nervous System Settling",
          "purpose": "Stabilizes relaxed alpha rhythm and promotes internal steadiness.",
          "purposeEn": "Stabilizes relaxed alpha rhythm and promotes internal steadiness."
        },
        {
          "time": 660,
          "name": "Emotional Balance",
          "nameEn": "Emotional Balance",
          "purpose": "Deepens calm processing, softens mental tension, and supports balanced mood.",
          "purposeEn": "Deepens calm processing, softens mental tension, and supports balanced mood."
        },
        {
          "time": 1080,
          "name": "Restorative Immersion",
          "nameEn": "Restorative Immersion",
          "purpose": "Uses theta pacing, spacious sound, Aurora Immersion™, and Infinity Ganzfeld™ for deep inner restoration.",
          "purposeEn": "Uses theta pacing, spacious sound, Aurora Immersion™, and Infinity Ganzfeld™ for deep inner restoration."
        },
        {
          "time": 1500,
          "name": "Resilience Integration",
          "nameEn": "Resilience Integration",
          "purpose": "Builds stable clarity, self-trust, and balanced emotional presence.",
          "purposeEn": "Builds stable clarity, self-trust, and balanced emotional presence."
        },
        {
          "time": 1980,
          "name": "Clear Return",
          "nameEn": "Clear Return",
          "purpose": "Returns toward calm alertness with warmth and integrated stability.",
          "purposeEn": "Returns toward calm alertness with warmth and integrated stability."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in grounded clarity and balanced wellbeing.",
          "purposeEn": "Completes the session in grounded clarity and balanced wellbeing."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7,
            "lightPulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1290,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1290,
            "value": 4.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 7.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 24
          },
          {
            "time": 300,
            "value": 40
          },
          {
            "time": 480,
            "value": 54
          },
          {
            "time": 660,
            "value": 66
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 84
          },
          {
            "time": 1290,
            "value": 82
          },
          {
            "time": 1500,
            "value": 74
          },
          {
            "time": 1740,
            "value": 64
          },
          {
            "time": 1980,
            "value": 46
          },
          {
            "time": 2160,
            "value": 26
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 150,
            "value": 4
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 480,
            "value": 6
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 870,
            "value": 2
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1290,
            "value": 0
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1980,
            "value": 6
          },
          {
            "time": 2160,
            "value": 2
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 28
          },
          {
            "time": 660,
            "value": 31
          },
          {
            "time": 870,
            "value": 29
          },
          {
            "time": 1080,
            "value": 25
          },
          {
            "time": 1290,
            "value": 23
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 1980,
            "value": 20
          },
          {
            "time": 2160,
            "value": 10
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 52
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1290,
            "value": 70
          },
          {
            "time": 1500,
            "value": 78
          },
          {
            "time": 1740,
            "value": 72
          },
          {
            "time": 1980,
            "value": 54
          },
          {
            "time": 2160,
            "value": 36
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 20
          },
          {
            "time": 660,
            "value": 24
          },
          {
            "time": 870,
            "value": 28
          },
          {
            "time": 1080,
            "value": 36
          },
          {
            "time": 1290,
            "value": 34
          },
          {
            "time": 1500,
            "value": 24
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2160,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 150,
            "value": 15
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 46
          },
          {
            "time": 870,
            "value": 56
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1290,
            "value": 64
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1740,
            "value": 38
          },
          {
            "time": 1980,
            "value": 20
          },
          {
            "time": 2160,
            "value": 8
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 150,
            "value": 1.5
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 5.6
          },
          {
            "time": 870,
            "value": 7.2
          },
          {
            "time": 1080,
            "value": 9
          },
          {
            "time": 1290,
            "value": 8.2
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1980,
            "value": 1.8
          },
          {
            "time": 2160,
            "value": 0.8
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#17364f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 150,
            "value": "#1f6f7f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 300,
            "value": "#32a88f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 480,
            "value": "#58c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 38
          },
          {
            "time": 660,
            "value": "#54bfa0",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 870,
            "value": "#3a75c4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 1080,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1290,
            "value": "#1a123d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 68
          },
          {
            "time": 1500,
            "value": "#7c3fb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 1740,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 1980,
            "value": "#69c78e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2160,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2400,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "mind-body-connection": {
    "title": "Lichaam-geestverbinding (Mentaal)",
    "titleEn": "Mind-Body Connection (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van lichaam-geestverbinding, belichaamd bewustzijn, hartcoherentie, emotionele regulatie, innerlijke rust en geintegreerd welzijn.",
    "goalEn": "Designed to support mind-body connection, embodied awareness, heart coherence, emotional regulation, inner calm, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 44,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2520,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Body Settling",
          "nameEn": "Arrival / Body Settling",
          "purpose": "Guides attention into the body and creates a grounded sensory baseline.",
          "purposeEn": "Guides attention into the body and creates a grounded sensory baseline."
        },
        {
          "time": 300,
          "name": "Breath and Heart Coherence",
          "nameEn": "Breath and Heart Coherence",
          "purpose": "Stabilizes relaxed alpha rhythm and promotes warm inner connection.",
          "purposeEn": "Stabilizes relaxed alpha rhythm and promotes warm inner connection."
        },
        {
          "time": 660,
          "name": "Embodied Awareness",
          "nameEn": "Embodied Awareness",
          "purpose": "Builds clear body awareness, emotional steadiness, and gentle internal listening.",
          "purposeEn": "Builds clear body awareness, emotional steadiness, and gentle internal listening."
        },
        {
          "time": 1080,
          "name": "Deep Mind-Body Immersion",
          "nameEn": "Deep Mind-Body Immersion",
          "purpose": "Deepens somatic presence through theta pacing, Aurora Immersion™ movement, soft noise, and spacious reverb.",
          "purposeEn": "Deepens somatic presence through theta pacing, Aurora Immersion™ movement, soft noise, and spacious reverb."
        },
        {
          "time": 1560,
          "name": "Integrated Inner Flow",
          "nameEn": "Integrated Inner Flow",
          "purpose": "Promotes harmony between thought, emotion, breath, and body sensation.",
          "purposeEn": "Promotes harmony between thought, emotion, breath, and body sensation."
        },
        {
          "time": 2040,
          "name": "Warm Integration",
          "nameEn": "Warm Integration",
          "purpose": "Returns the integrated state into calm alertness, grounded clarity, and practical presence.",
          "purposeEn": "Returns the integrated state into calm alertness, grounded clarity, and practical presence."
        },
        {
          "time": 2520,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in relaxed embodiment and centered wellbeing.",
          "purposeEn": "Completes the session in relaxed embodiment and centered wellbeing."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 26
          },
          {
            "time": 300,
            "value": 42
          },
          {
            "time": 480,
            "value": 54
          },
          {
            "time": 660,
            "value": 66
          },
          {
            "time": 870,
            "value": 74
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1320,
            "value": 80
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1800,
            "value": 64
          },
          {
            "time": 2040,
            "value": 48
          },
          {
            "time": 2220,
            "value": 28
          },
          {
            "time": 2520,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 150,
            "value": 5
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 480,
            "value": 6
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 870,
            "value": 2
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 7
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 2040,
            "value": 7
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 20
          },
          {
            "time": 300,
            "value": 26
          },
          {
            "time": 480,
            "value": 30
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 870,
            "value": 30
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1800,
            "value": 30
          },
          {
            "time": 2040,
            "value": 22
          },
          {
            "time": 2220,
            "value": 12
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1800,
            "value": 70
          },
          {
            "time": 2040,
            "value": 56
          },
          {
            "time": 2220,
            "value": 38
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 660,
            "value": 22
          },
          {
            "time": 870,
            "value": 26
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2040,
            "value": 8
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 870,
            "value": 50
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1320,
            "value": 60
          },
          {
            "time": 1560,
            "value": 48
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 2040,
            "value": 22
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 660,
            "value": 5.2
          },
          {
            "time": 870,
            "value": 6.6
          },
          {
            "time": 1080,
            "value": 8.8
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1560,
            "value": 5.8
          },
          {
            "time": 1800,
            "value": 3.8
          },
          {
            "time": 2040,
            "value": 2
          },
          {
            "time": 2220,
            "value": 0.9
          },
          {
            "time": 2520,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173850",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 150,
            "value": "#1f6f7f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 300,
            "value": "#35b58f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 480,
            "value": "#61c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 38
          },
          {
            "time": 660,
            "value": "#5fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.26,
            "auroraDepth": 46
          },
          {
            "time": 870,
            "value": "#3a8ec4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 54
          },
          {
            "time": 1080,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 70
          },
          {
            "time": 1320,
            "value": "#1b123d",
            "ganzfeldMode": true,
            "auroraMode": "subtle",
            "auroraSpeed": 0.08,
            "auroraDepth": 62
          },
          {
            "time": 1560,
            "value": "#7c3fb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 52
          },
          {
            "time": 1800,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 2040,
            "value": "#69c78e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 2220,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2520,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2520
  },
  "mind-healing": {
    "title": "Mentale heling (Mentaal)",
    "titleEn": "Mind Healing (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van mentale restauratie, emotionele balans, rustige innerlijke verwerking, herstelgerichte beelden en geintegreerd welzijn.",
    "goalEn": "Designed to support mental restoration, emotional balance, calm inner processing, healing-oriented imagery, and integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 48,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2520,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Inner Safety",
          "nameEn": "Arrival / Inner Safety",
          "purpose": "Guides the mind into grounded calm, softness, and receptive presence.",
          "purposeEn": "Guides the mind into grounded calm, softness, and receptive presence."
        },
        {
          "time": 300,
          "name": "Emotional Stabilization",
          "nameEn": "Emotional Stabilization",
          "purpose": "Stabilizes alpha rhythm and promotes emotional steadiness.",
          "purposeEn": "Stabilizes alpha rhythm and promotes emotional steadiness."
        },
        {
          "time": 660,
          "name": "Restorative Thought Field",
          "nameEn": "Restorative Thought Field",
          "purpose": "Builds constructive inner focus and healing-oriented mental imagery.",
          "purposeEn": "Builds constructive inner focus and healing-oriented mental imagery."
        },
        {
          "time": 1080,
          "name": "Deep Healing Immersion",
          "nameEn": "Deep Healing Immersion",
          "purpose": "Deepens theta processing through spacious sound, Aurora Immersion™ flow, Infinity Ganzfeld™, and sensory wash.",
          "purposeEn": "Deepens theta processing through spacious sound, Aurora Immersion™ flow, Infinity Ganzfeld™, and sensory wash."
        },
        {
          "time": 1560,
          "name": "Mind-Heart Integration",
          "nameEn": "Mind-Heart Integration",
          "purpose": "Connects calm thought, warm emotion, and embodied wellbeing into one coherent state.",
          "purposeEn": "Connects calm thought, warm emotion, and embodied wellbeing into one coherent state."
        },
        {
          "time": 2040,
          "name": "Gentle Return",
          "nameEn": "Gentle Return",
          "purpose": "Returns the mind into clear presence while preserving calm integration.",
          "purposeEn": "Returns the mind into clear presence while preserving calm integration."
        },
        {
          "time": 2520,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in peaceful clarity and balanced inner restoration.",
          "purposeEn": "Completes the session in peaceful clarity and balanced inner restoration."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7,
            "lightPulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 24
          },
          {
            "time": 300,
            "value": 40
          },
          {
            "time": 480,
            "value": 52
          },
          {
            "time": 660,
            "value": 64
          },
          {
            "time": 870,
            "value": 74
          },
          {
            "time": 1080,
            "value": 84
          },
          {
            "time": 1320,
            "value": 82
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1800,
            "value": 62
          },
          {
            "time": 2040,
            "value": 46
          },
          {
            "time": 2220,
            "value": 26
          },
          {
            "time": 2520,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 150,
            "value": 4
          },
          {
            "time": 300,
            "value": 6
          },
          {
            "time": 480,
            "value": 5
          },
          {
            "time": 660,
            "value": 3
          },
          {
            "time": 870,
            "value": 1
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 7
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 2040,
            "value": 5
          },
          {
            "time": 2220,
            "value": 2
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 18
          },
          {
            "time": 300,
            "value": 25
          },
          {
            "time": 480,
            "value": 29
          },
          {
            "time": 660,
            "value": 31
          },
          {
            "time": 870,
            "value": 29
          },
          {
            "time": 1080,
            "value": 25
          },
          {
            "time": 1320,
            "value": 23
          },
          {
            "time": 1560,
            "value": 27
          },
          {
            "time": 1800,
            "value": 28
          },
          {
            "time": 2040,
            "value": 20
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 52
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1800,
            "value": 70
          },
          {
            "time": 2040,
            "value": 54
          },
          {
            "time": 2220,
            "value": 36
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 20
          },
          {
            "time": 660,
            "value": 24
          },
          {
            "time": 870,
            "value": 28
          },
          {
            "time": 1080,
            "value": 36
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2040,
            "value": 8
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 44
          },
          {
            "time": 870,
            "value": 54
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1560,
            "value": 52
          },
          {
            "time": 1800,
            "value": 38
          },
          {
            "time": 2040,
            "value": 20
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 5.4
          },
          {
            "time": 870,
            "value": 7
          },
          {
            "time": 1080,
            "value": 9.2
          },
          {
            "time": 1320,
            "value": 8.4
          },
          {
            "time": 1560,
            "value": 6.2
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 2040,
            "value": 1.8
          },
          {
            "time": 2220,
            "value": 0.8
          },
          {
            "time": 2520,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#16364f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 150,
            "value": "#1f6f7f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 300,
            "value": "#32a88f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 480,
            "value": "#58c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 38
          },
          {
            "time": 660,
            "value": "#54bfa0",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 870,
            "value": "#3a75c4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 1080,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 76
          },
          {
            "time": 1320,
            "value": "#1a123d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 68
          },
          {
            "time": 1560,
            "value": "#7c3fb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 1800,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 2040,
            "value": "#69c78e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2220,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2520,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2520
  },
  "more-brain-integration": {
    "title": "Meer breinintegratie (Mentaal)",
    "titleEn": "More Brain Integration (Mental)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van hele-breinintegratie, hemisferische harmonie, ontspannen helderheid, intuitieve verbinding en coherente mentaal-emotionele balans.",
    "goalEn": "Designed to support whole-brain integration, hemispheric harmony, relaxed clarity, intuitive connection, and coherent mental-emotional balance.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 44,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Center Line",
          "nameEn": "Arrival / Center Line",
          "purpose": "Guides attention into a calm centered baseline for integrated awareness.",
          "purposeEn": "Guides attention into a calm centered baseline for integrated awareness."
        },
        {
          "time": 300,
          "name": "Alpha Coherence",
          "nameEn": "Alpha Coherence",
          "purpose": "Stabilizes relaxed alertness and begins linking calm focus with body awareness.",
          "purposeEn": "Stabilizes relaxed alertness and begins linking calm focus with body awareness."
        },
        {
          "time": 660,
          "name": "Cross-Brain Synchrony",
          "nameEn": "Cross-Brain Synchrony",
          "purpose": "Builds balanced left-right processing through steady rhythm, color movement, and layered sound.",
          "purposeEn": "Builds balanced left-right processing through steady rhythm, color movement, and layered sound."
        },
        {
          "time": 1080,
          "name": "Integration Immersion",
          "nameEn": "Integration Immersion",
          "purpose": "Deepens whole-brain integration through theta pacing, Infinity Ganzfeld™ depth, Aurora Immersion™, and spacious reverb.",
          "purposeEn": "Deepens whole-brain integration through theta pacing, Infinity Ganzfeld™ depth, Aurora Immersion™, and spacious reverb."
        },
        {
          "time": 1560,
          "name": "Insight Bridge",
          "nameEn": "Insight Bridge",
          "purpose": "Connects intuitive imagery with clear awareness and emotionally grounded meaning.",
          "purposeEn": "Connects intuitive imagery with clear awareness and emotionally grounded meaning."
        },
        {
          "time": 2040,
          "name": "Integrated Clarity",
          "nameEn": "Integrated Clarity",
          "purpose": "Returns the integrated state into calm wakefulness and practical mental clarity.",
          "purposeEn": "Returns the integrated state into calm wakefulness and practical mental clarity."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in balanced presence and coherent inner alignment.",
          "purposeEn": "Completes the session in balanced presence and coherent inner alignment."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 870,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 870,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 42
          },
          {
            "time": 480,
            "value": 54
          },
          {
            "time": 660,
            "value": 64
          },
          {
            "time": 870,
            "value": 72
          },
          {
            "time": 1080,
            "value": 80
          },
          {
            "time": 1320,
            "value": 82
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1800,
            "value": 66
          },
          {
            "time": 2040,
            "value": 48
          },
          {
            "time": 2220,
            "value": 28
          },
          {
            "time": 2400,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 480,
            "value": 10
          },
          {
            "time": 660,
            "value": 8
          },
          {
            "time": 870,
            "value": 4
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 8
          },
          {
            "time": 1800,
            "value": 12
          },
          {
            "time": 2040,
            "value": 8
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 150,
            "value": 21
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 870,
            "value": 32
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1320,
            "value": 26
          },
          {
            "time": 1560,
            "value": 30
          },
          {
            "time": 1800,
            "value": 32
          },
          {
            "time": 2040,
            "value": 24
          },
          {
            "time": 2220,
            "value": 14
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 2040,
            "value": 58
          },
          {
            "time": 2220,
            "value": 40
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 660,
            "value": 20
          },
          {
            "time": 870,
            "value": 26
          },
          {
            "time": 1080,
            "value": 32
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 2040,
            "value": 10
          },
          {
            "time": 2220,
            "value": 3
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 870,
            "value": 52
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1560,
            "value": 52
          },
          {
            "time": 1800,
            "value": 40
          },
          {
            "time": 2040,
            "value": 24
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 660,
            "value": 5
          },
          {
            "time": 870,
            "value": 6.8
          },
          {
            "time": 1080,
            "value": 8.8
          },
          {
            "time": 1320,
            "value": 9.2
          },
          {
            "time": 1560,
            "value": 6.2
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 2040,
            "value": 2
          },
          {
            "time": 2220,
            "value": 0.9
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#14385a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 14
          },
          {
            "time": 150,
            "value": "#1f6f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#2fb89b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 32
          },
          {
            "time": 480,
            "value": "#4ac878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 38
          },
          {
            "time": 660,
            "value": "#3658b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.26,
            "auroraDepth": 50
          },
          {
            "time": 870,
            "value": "#4b2a9a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1080,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1320,
            "value": "#1b123d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 72
          },
          {
            "time": 1560,
            "value": "#6732b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 58
          },
          {
            "time": 1800,
            "value": "#35a4b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 42
          },
          {
            "time": 2040,
            "value": "#4fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 26
          },
          {
            "time": 2220,
            "value": "#d69a68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2400,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "more-motivation": {
    "title": "Meer motivatie (Mentaal)",
    "titleEn": "More Motivation (Mental)",
    "category": "energie",
    "subcategory": "motivation",
    "goal": "Ontworpen ter ondersteuning van motivatie, vooruitgaande beweging, zelfverzekerde energie, mentale helderheid en doelgerichte actie.",
    "goalEn": "Designed to support motivation, forward movement, confident energy, mental clarity, and goal-directed action.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 14,
    "colorCrossfadeSeconds": 28,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Start / Orientation",
          "nameEn": "Start / Orientation",
          "purpose": "Settles attention and prepares the mind for purposeful activation.",
          "purposeEn": "Settles attention and prepares the mind for purposeful activation."
        },
        {
          "time": 180,
          "name": "Stabilized Focus",
          "nameEn": "Stabilized Focus",
          "purpose": "Builds relaxed alertness and clears mental hesitation.",
          "purposeEn": "Builds relaxed alertness and clears mental hesitation."
        },
        {
          "time": 420,
          "name": "Momentum Build",
          "nameEn": "Momentum Build",
          "purpose": "Activates forward energy with stronger rhythm, brighter color, and rising clarity.",
          "purposeEn": "Activates forward energy with stronger rhythm, brighter color, and rising clarity."
        },
        {
          "time": 780,
          "name": "Motivation Peak",
          "nameEn": "Motivation Peak",
          "purpose": "Promotes decisive drive, confidence, and goal-directed action.",
          "purposeEn": "Promotes decisive drive, confidence, and goal-directed action."
        },
        {
          "time": 1200,
          "name": "Command Integration",
          "nameEn": "Command Integration",
          "purpose": "Stabilizes motivation into calm control and steady self-direction.",
          "purposeEn": "Stabilizes motivation into calm control and steady self-direction."
        },
        {
          "time": 1560,
          "name": "Landing / Ready State",
          "nameEn": "Landing / Ready State",
          "purpose": "Returns to grounded alertness with usable energy and emotional steadiness.",
          "purposeEn": "Returns to grounded alertness with usable energy and emotional steadiness."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in clear, motivated presence.",
          "purposeEn": "Completes the session in clear, motivated presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 11.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 12.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 13.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 600,
            "value": 15.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.5,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 18.8,
            "lightPulseShape": "square"
          },
          {
            "time": 1080,
            "value": 16.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 14.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 12.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 11.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.7,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 11.5,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 12.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 13.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 600,
            "value": 15,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 17.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 18.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1080,
            "value": 16,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 14,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 12.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 54
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 78
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 960,
            "value": 94
          },
          {
            "time": 1080,
            "value": 86
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 62
          },
          {
            "time": 1560,
            "value": 46
          },
          {
            "time": 1680,
            "value": 30
          },
          {
            "time": 1800,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 600,
            "value": 32
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 960,
            "value": 50
          },
          {
            "time": 1080,
            "value": 38
          },
          {
            "time": 1200,
            "value": 26
          },
          {
            "time": 1380,
            "value": 18
          },
          {
            "time": 1560,
            "value": 10
          },
          {
            "time": 1680,
            "value": 4
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 90,
            "value": 22
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 600,
            "value": 54
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 960,
            "value": 66
          },
          {
            "time": 1080,
            "value": 56
          },
          {
            "time": 1200,
            "value": 46
          },
          {
            "time": 1380,
            "value": 36
          },
          {
            "time": 1560,
            "value": 26
          },
          {
            "time": 1680,
            "value": 16
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 45
          },
          {
            "time": 90,
            "value": 56
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 300,
            "value": 70
          },
          {
            "time": 420,
            "value": 76
          },
          {
            "time": 600,
            "value": 82
          },
          {
            "time": 780,
            "value": 86
          },
          {
            "time": 960,
            "value": 88
          },
          {
            "time": 1080,
            "value": 84
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 58
          },
          {
            "time": 1680,
            "value": 42
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 6
          },
          {
            "time": 420,
            "value": 0
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 5
          },
          {
            "time": 960,
            "value": 8
          },
          {
            "time": 1080,
            "value": 4
          },
          {
            "time": 1200,
            "value": 8
          },
          {
            "time": 1380,
            "value": 10
          },
          {
            "time": 1560,
            "value": 6
          },
          {
            "time": 1680,
            "value": 2
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 600,
            "value": 18
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 960,
            "value": 28
          },
          {
            "time": 1080,
            "value": 24
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1380,
            "value": 24
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 90,
            "value": 1.1
          },
          {
            "time": 180,
            "value": 1.8
          },
          {
            "time": 300,
            "value": 2.5
          },
          {
            "time": 420,
            "value": 1.4
          },
          {
            "time": 600,
            "value": 1.6
          },
          {
            "time": 780,
            "value": 2.2
          },
          {
            "time": 960,
            "value": 2.8
          },
          {
            "time": 1080,
            "value": 2.2
          },
          {
            "time": 1200,
            "value": 3
          },
          {
            "time": 1380,
            "value": 2.1
          },
          {
            "time": 1560,
            "value": 1.2
          },
          {
            "time": 1680,
            "value": 0.7
          },
          {
            "time": 1800,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1d4f68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 90,
            "value": "#2c8c8a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#3fbf84",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 300,
            "value": "#89c850",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 420,
            "value": "#f2b641",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.55,
            "auroraDepth": 52
          },
          {
            "time": 600,
            "value": "#ff9a2e",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.72,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#ff6b2a",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.88,
            "auroraDepth": 72
          },
          {
            "time": 960,
            "value": "#ffd447",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 78
          },
          {
            "time": 1080,
            "value": "#ff8c3a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.72,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#f0bf5a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 42
          },
          {
            "time": 1380,
            "value": "#75c26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 28
          },
          {
            "time": 1560,
            "value": "#4ab0a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 18
          },
          {
            "time": 1680,
            "value": "#d89a65",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 1800,
            "value": "#2a1c12",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "more-success": {
    "title": "Meer succes (Mentaal)",
    "titleEn": "More Success (Mental)",
    "category": "energie",
    "subcategory": "motivation",
    "goal": "Ontworpen ter ondersteuning van succesgerichte focus, zelfverzekerde actie, heldere besluitvorming, gemotiveerde uitvoering en positieve doelintegratie.",
    "goalEn": "Designed to support success-oriented focus, confident action, clear decision-making, motivated execution, and positive goal integration.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 16,
    "colorCrossfadeSeconds": 32,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Cinematic Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Clear Intention",
          "nameEn": "Arrival / Clear Intention",
          "purpose": "Settles the mind and opens a clear inner direction for success.",
          "purposeEn": "Settles the mind and opens a clear inner direction for success."
        },
        {
          "time": 210,
          "name": "Vision Stabilization",
          "nameEn": "Vision Stabilization",
          "purpose": "Builds relaxed alpha focus and strengthens positive expectancy.",
          "purposeEn": "Builds relaxed alpha focus and strengthens positive expectancy."
        },
        {
          "time": 510,
          "name": "Action Build-up",
          "nameEn": "Action Build-up",
          "purpose": "Activates goal-directed energy, confidence, and mental brightness.",
          "purposeEn": "Activates goal-directed energy, confidence, and mental brightness."
        },
        {
          "time": 840,
          "name": "Success Peak",
          "nameEn": "Success Peak",
          "purpose": "Promotes decisive action, strong motivation, and expansive achievement imagery.",
          "purposeEn": "Promotes decisive action, strong motivation, and expansive achievement imagery."
        },
        {
          "time": 1200,
          "name": "Focused Execution",
          "nameEn": "Focused Execution",
          "purpose": "Stabilizes the peak into practical focus, clarity, and sustained momentum.",
          "purposeEn": "Stabilizes the peak into practical focus, clarity, and sustained momentum."
        },
        {
          "time": 1560,
          "name": "Integration / Ownership",
          "nameEn": "Integration / Ownership",
          "purpose": "Integrates success as a grounded, believable, and repeatable inner state.",
          "purposeEn": "Integrates success as a grounded, believable, and repeatable inner state."
        },
        {
          "time": 1920,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with calm confidence and forward orientation.",
          "purposeEn": "Completes the session with calm confidence and forward orientation."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 11,
            "lightPulseShape": "triangle"
          },
          {
            "time": 360,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 690,
            "value": 15.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 840,
            "value": 16.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1020,
            "value": 18.2,
            "lightPulseShape": "square"
          },
          {
            "time": 1110,
            "value": 16,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 14.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 13.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 11.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 10.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 360,
            "value": 11.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 13.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 690,
            "value": 15,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 840,
            "value": 16.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1020,
            "value": 17.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1110,
            "value": 15.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 14.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 13,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 11.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 105,
            "value": 28
          },
          {
            "time": 210,
            "value": 42
          },
          {
            "time": 360,
            "value": 54
          },
          {
            "time": 510,
            "value": 68
          },
          {
            "time": 690,
            "value": 80
          },
          {
            "time": 840,
            "value": 90
          },
          {
            "time": 1020,
            "value": 96
          },
          {
            "time": 1110,
            "value": 88
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 66
          },
          {
            "time": 1560,
            "value": 50
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 1920,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 105,
            "value": 7
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 360,
            "value": 18
          },
          {
            "time": 510,
            "value": 26
          },
          {
            "time": 690,
            "value": 34
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 54
          },
          {
            "time": 1110,
            "value": 42
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1380,
            "value": 22
          },
          {
            "time": 1560,
            "value": 12
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 22
          },
          {
            "time": 210,
            "value": 30
          },
          {
            "time": 360,
            "value": 38
          },
          {
            "time": 510,
            "value": 48
          },
          {
            "time": 690,
            "value": 56
          },
          {
            "time": 840,
            "value": 64
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1110,
            "value": 58
          },
          {
            "time": 1200,
            "value": 48
          },
          {
            "time": 1380,
            "value": 38
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 44
          },
          {
            "time": 105,
            "value": 56
          },
          {
            "time": 210,
            "value": 66
          },
          {
            "time": 360,
            "value": 72
          },
          {
            "time": 510,
            "value": 78
          },
          {
            "time": 690,
            "value": 84
          },
          {
            "time": 840,
            "value": 88
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1110,
            "value": 86
          },
          {
            "time": 1200,
            "value": 80
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1560,
            "value": 60
          },
          {
            "time": 1740,
            "value": 42
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 105,
            "value": 8
          },
          {
            "time": 210,
            "value": 10
          },
          {
            "time": 360,
            "value": 6
          },
          {
            "time": 510,
            "value": 0
          },
          {
            "time": 690,
            "value": 0
          },
          {
            "time": 840,
            "value": 4
          },
          {
            "time": 1020,
            "value": 8
          },
          {
            "time": 1110,
            "value": 4
          },
          {
            "time": 1200,
            "value": 8
          },
          {
            "time": 1380,
            "value": 10
          },
          {
            "time": 1560,
            "value": 6
          },
          {
            "time": 1740,
            "value": 2
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 22
          },
          {
            "time": 360,
            "value": 28
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 690,
            "value": 20
          },
          {
            "time": 840,
            "value": 28
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1110,
            "value": 28
          },
          {
            "time": 1200,
            "value": 26
          },
          {
            "time": 1380,
            "value": 22
          },
          {
            "time": 1560,
            "value": 18
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.9
          },
          {
            "time": 105,
            "value": 1.3
          },
          {
            "time": 210,
            "value": 2.2
          },
          {
            "time": 360,
            "value": 3
          },
          {
            "time": 510,
            "value": 1.5
          },
          {
            "time": 690,
            "value": 1.8
          },
          {
            "time": 840,
            "value": 2.8
          },
          {
            "time": 1020,
            "value": 3.4
          },
          {
            "time": 1110,
            "value": 2.7
          },
          {
            "time": 1200,
            "value": 2.4
          },
          {
            "time": 1380,
            "value": 1.8
          },
          {
            "time": 1560,
            "value": 1.2
          },
          {
            "time": 1740,
            "value": 0.7
          },
          {
            "time": 1920,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1b3c5f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 16
          },
          {
            "time": 105,
            "value": "#2b7c8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#36b88c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 360,
            "value": "#7bcf66",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 44
          },
          {
            "time": 510,
            "value": "#f2c14e",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.58,
            "auroraDepth": 54
          },
          {
            "time": 690,
            "value": "#ff9f2f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.74,
            "auroraDepth": 64
          },
          {
            "time": 840,
            "value": "#ff7a2a",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.92,
            "auroraDepth": 74
          },
          {
            "time": 1020,
            "value": "#ffd84d",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.1,
            "auroraDepth": 80
          },
          {
            "time": 1110,
            "value": "#ffa33c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.78,
            "auroraDepth": 60
          },
          {
            "time": 1200,
            "value": "#f4cf64",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.5,
            "auroraDepth": 44
          },
          {
            "time": 1380,
            "value": "#7fd36f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 30
          },
          {
            "time": 1560,
            "value": "#4eb3a4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1740,
            "value": "#d69a6a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 1920,
            "value": "#241914",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "neurogenesis": {
    "title": "Neurogenese vernieuwing (Mentaal)",
    "titleEn": "Neurogenesis Renewal (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van een herstellende, groeigerichte innerlijke staat die rustige alertheid, beelden van neurale vernieuwing, emotionele regulatie en geintegreerde cognitieve vitaliteit bevordert.",
    "goalEn": "Designed to support a restorative, growth-oriented inner state that promotes calm alertness, neural renewal imagery, emotional regulation, and integrated cognitive vitality.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 14,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention, softens the body, and opens a calm recovery state.",
          "purposeEn": "Settles attention, softens the body, and opens a calm recovery state."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Builds relaxed alpha balance and steady sensory orientation.",
          "purposeEn": "Builds relaxed alpha balance and steady sensory orientation."
        },
        {
          "time": 600,
          "name": "Growth Imagery Descent",
          "nameEn": "Growth Imagery Descent",
          "purpose": "Guides the mind into theta-based renewal imagery and inward absorption.",
          "purposeEn": "Guides the mind into theta-based renewal imagery and inward absorption."
        },
        {
          "time": 1050,
          "name": "Regenerative Immersion",
          "nameEn": "Regenerative Immersion",
          "purpose": "Deepens spacious sensory immersion with Infinity Ganzfeld™, Aurora Immersion™, and restoration-focused pacing.",
          "purposeEn": "Deepens spacious sensory immersion with Infinity Ganzfeld™, Aurora Immersion™, and restoration-focused pacing."
        },
        {
          "time": 1500,
          "name": "Cognitive Integration",
          "nameEn": "Cognitive Integration",
          "purpose": "Promotes clear alpha integration, emotional warmth, and coherent mental energy.",
          "purposeEn": "Promotes clear alpha integration, emotional warmth, and coherent mental energy."
        },
        {
          "time": 1860,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Stabilizes the experience and returns attention gently to the present.",
          "purposeEn": "Stabilizes the experience and returns attention gently to the present."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 6.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 10.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1050,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.9,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 10.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 34
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 1050,
            "value": 88
          },
          {
            "time": 1260,
            "value": 92
          },
          {
            "time": 1500,
            "value": 76
          },
          {
            "time": 1680,
            "value": 68
          },
          {
            "time": 1860,
            "value": 42
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 780,
            "value": 3
          },
          {
            "time": 1050,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1680,
            "value": 32
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 20
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 1050,
            "value": 36
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1500,
            "value": 40
          },
          {
            "time": 1680,
            "value": 46
          },
          {
            "time": 1860,
            "value": 26
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 120,
            "value": 52
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 70
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1050,
            "value": 68
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1500,
            "value": 72
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1860,
            "value": 52
          },
          {
            "time": 2100,
            "value": 20
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 24
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 1050,
            "value": 32
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1500,
            "value": 16
          },
          {
            "time": 1680,
            "value": 0
          },
          {
            "time": 1860,
            "value": 8
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 600,
            "value": 42
          },
          {
            "time": 780,
            "value": 52
          },
          {
            "time": 1050,
            "value": 62
          },
          {
            "time": 1260,
            "value": 58
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1680,
            "value": 22
          },
          {
            "time": 1860,
            "value": 14
          },
          {
            "time": 2100,
            "value": 4
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 120,
            "value": 1.6
          },
          {
            "time": 240,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 3.2
          },
          {
            "time": 600,
            "value": 5.5
          },
          {
            "time": 780,
            "value": 7.2
          },
          {
            "time": 1050,
            "value": 9.4
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1500,
            "value": 4.6
          },
          {
            "time": 1680,
            "value": 2.8
          },
          {
            "time": 1860,
            "value": 1.8
          },
          {
            "time": 2100,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#183a5a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#246f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 26
          },
          {
            "time": 240,
            "value": "#40c9a2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 36
          },
          {
            "time": 420,
            "value": "#2fbf71",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 42
          },
          {
            "time": 600,
            "value": "#3d5afe",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 52
          },
          {
            "time": 780,
            "value": "#6a4cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1050,
            "value": "#5b2cff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1260,
            "value": "#8c4dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 82
          },
          {
            "time": 1500,
            "value": "#38d9a9",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 48
          },
          {
            "time": 1680,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.46,
            "auroraDepth": 34
          },
          {
            "time": 1860,
            "value": "#ffb07c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2100,
            "value": "#2a5674",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "optimism": {
    "title": "Optimisme (Mentaal)",
    "titleEn": "Optimism (Mental)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van optimisme, emotionele helderheid, toekomstgericht vertrouwen, positieve verwachting en warm geintegreerd welzijn.",
    "goalEn": "Designed to support optimism, emotional brightness, future-oriented confidence, positive expectation, and warm integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Lightness Begins",
          "nameEn": "Arrival / Lightness Begins",
          "purpose": "Guides attention into calm openness and emotional lightness.",
          "purposeEn": "Guides attention into calm openness and emotional lightness."
        },
        {
          "time": 240,
          "name": "Heart Warmth",
          "nameEn": "Heart Warmth",
          "purpose": "Builds heart coherence, warmth, and a receptive positive state.",
          "purposeEn": "Builds heart coherence, warmth, and a receptive positive state."
        },
        {
          "time": 540,
          "name": "Positive Outlook",
          "nameEn": "Positive Outlook",
          "purpose": "Promotes constructive expectation and optimistic mental framing.",
          "purposeEn": "Promotes constructive expectation and optimistic mental framing."
        },
        {
          "time": 840,
          "name": "Forward Momentum",
          "nameEn": "Forward Momentum",
          "purpose": "Activates confidence, motivation, and bright future-oriented focus.",
          "purposeEn": "Activates confidence, motivation, and bright future-oriented focus."
        },
        {
          "time": 1200,
          "name": "Radiant Optimism Plateau",
          "nameEn": "Radiant Optimism Plateau",
          "purpose": "Deepens uplift through spacious sound, golden color, Aurora Immersion™ movement, and clear emotional expansion.",
          "purposeEn": "Deepens uplift through spacious sound, golden color, Aurora Immersion™ movement, and clear emotional expansion."
        },
        {
          "time": 1620,
          "name": "Integrated Hope",
          "nameEn": "Integrated Hope",
          "purpose": "Stabilizes optimism into grounded clarity, calm confidence, and inner balance.",
          "purposeEn": "Stabilizes optimism into grounded clarity, calm confidence, and inner balance."
        },
        {
          "time": 2100,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in warm optimism and clear positive presence.",
          "purposeEn": "Completes the session in warm optimism and clear positive presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 690,
            "value": 12.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 840,
            "value": 14,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1020,
            "value": 13,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1410,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 10.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 690,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 840,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1020,
            "value": 12.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1410,
            "value": 8.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 9.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 44
          },
          {
            "time": 390,
            "value": 58
          },
          {
            "time": 540,
            "value": 70
          },
          {
            "time": 690,
            "value": 78
          },
          {
            "time": 840,
            "value": 88
          },
          {
            "time": 1020,
            "value": 82
          },
          {
            "time": 1200,
            "value": 86
          },
          {
            "time": 1410,
            "value": 78
          },
          {
            "time": 1620,
            "value": 66
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 15
          },
          {
            "time": 540,
            "value": 22
          },
          {
            "time": 690,
            "value": 30
          },
          {
            "time": 840,
            "value": 40
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1410,
            "value": 10
          },
          {
            "time": 1620,
            "value": 16
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 240,
            "value": 26
          },
          {
            "time": 390,
            "value": 32
          },
          {
            "time": 540,
            "value": 38
          },
          {
            "time": 690,
            "value": 46
          },
          {
            "time": 840,
            "value": 54
          },
          {
            "time": 1020,
            "value": 48
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1410,
            "value": 28
          },
          {
            "time": 1620,
            "value": 32
          },
          {
            "time": 1860,
            "value": 15
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 72
          },
          {
            "time": 540,
            "value": 78
          },
          {
            "time": 690,
            "value": 82
          },
          {
            "time": 840,
            "value": 88
          },
          {
            "time": 1020,
            "value": 84
          },
          {
            "time": 1200,
            "value": 82
          },
          {
            "time": 1410,
            "value": 76
          },
          {
            "time": 1620,
            "value": 70
          },
          {
            "time": 1860,
            "value": 42
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 390,
            "value": 12
          },
          {
            "time": 540,
            "value": 6
          },
          {
            "time": 690,
            "value": 2
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 5
          },
          {
            "time": 1200,
            "value": 12
          },
          {
            "time": 1410,
            "value": 18
          },
          {
            "time": 1620,
            "value": 10
          },
          {
            "time": 1860,
            "value": 3
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 390,
            "value": 28
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 690,
            "value": 24
          },
          {
            "time": 840,
            "value": 20
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1200,
            "value": 46
          },
          {
            "time": 1410,
            "value": 54
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1860,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.3
          },
          {
            "time": 240,
            "value": 2.2
          },
          {
            "time": 390,
            "value": 3
          },
          {
            "time": 540,
            "value": 3.8
          },
          {
            "time": 690,
            "value": 2.2
          },
          {
            "time": 840,
            "value": 1.7
          },
          {
            "time": 1020,
            "value": 3
          },
          {
            "time": 1200,
            "value": 5.6
          },
          {
            "time": 1410,
            "value": 6.8
          },
          {
            "time": 1620,
            "value": 3.6
          },
          {
            "time": 1860,
            "value": 1
          },
          {
            "time": 2100,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#173850",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#247b86",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#36b58f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 32
          },
          {
            "time": 390,
            "value": "#74c95f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 40
          },
          {
            "time": 540,
            "value": "#d8ca52",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.46,
            "auroraDepth": 48
          },
          {
            "time": 690,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.6,
            "auroraDepth": 56
          },
          {
            "time": 840,
            "value": "#ffc145",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.72,
            "auroraDepth": 64
          },
          {
            "time": 1020,
            "value": "#ff8f54",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.54,
            "auroraDepth": 50
          },
          {
            "time": 1200,
            "value": "#ffd56a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.34,
            "auroraDepth": 52
          },
          {
            "time": 1410,
            "value": "#8a5ac8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 46
          },
          {
            "time": 1620,
            "value": "#6bcf87",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 32
          },
          {
            "time": 1860,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2100,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "overcome-ocd": {
    "title": "OCD-reset (Mentaal)",
    "titleEn": "Overcome OCD Reset (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van rustige mentale flexibiliteit, het loslaten van repetitieve spanning, innerlijke keuzevrijheid en stabiele zelfgerichte helderheid.",
    "goalEn": "Designed to support calm mental flexibility, release repetitive tension, build inner choice, and integrate steady self-directed clarity.",
    "marketplaceListingId": "",
    "carrier": 417,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the mind into a grounded, steady opening with soft sensory rhythm.",
          "purposeEn": "Guides the mind into a grounded, steady opening with soft sensory rhythm."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Builds calm alpha stability and supports a clearer inner observing position.",
          "purposeEn": "Builds calm alpha stability and supports a clearer inner observing position."
        },
        {
          "time": 540,
          "name": "Pattern Release",
          "nameEn": "Pattern Release",
          "purpose": "Promotes letting go of repetitive tension through slower theta pacing and spacious sound design.",
          "purposeEn": "Promotes letting go of repetitive tension through slower theta pacing and spacious sound design."
        },
        {
          "time": 900,
          "name": "Deep Reset Plateau",
          "nameEn": "Deep Reset Plateau",
          "purpose": "Deepens inward absorption with Infinity Ganzfeld™, Aurora Immersion™ movement, and a broad sensory wash.",
          "purposeEn": "Deepens inward absorption with Infinity Ganzfeld™, Aurora Immersion™ movement, and a broad sensory wash."
        },
        {
          "time": 1320,
          "name": "Clarity Activation",
          "nameEn": "Clarity Activation",
          "purpose": "Activates clean mental clarity and flexible response through balanced alpha rhythm.",
          "purposeEn": "Activates clean mental clarity and flexible response through balanced alpha rhythm."
        },
        {
          "time": 1680,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates calm confidence, choice, and emotional steadiness into a coherent close.",
          "purposeEn": "Integrates calm confidence, choice, and emotional steadiness into a coherent close."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Returns the session gently to a settled, present, and grounded state.",
          "purposeEn": "Returns the session gently to a settled, present, and grounded state."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.2
          },
          {
            "time": 240,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.8
          },
          {
            "time": 540,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6
          },
          {
            "time": 900,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 5.2
          },
          {
            "time": 1320,
            "value": 8.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 10.4
          },
          {
            "time": 1680,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.4
          },
          {
            "time": 2100,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.1
          },
          {
            "time": 240,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.6
          },
          {
            "time": 540,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.3
          },
          {
            "time": 900,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1110,
            "value": 5
          },
          {
            "time": 1320,
            "value": 8.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 10.2
          },
          {
            "time": 1680,
            "value": 9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1860,
            "value": 8.2
          },
          {
            "time": 2100,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 36
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 420,
            "value": 56
          },
          {
            "time": 540,
            "value": 64
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1110,
            "value": 88
          },
          {
            "time": 1320,
            "value": 62
          },
          {
            "time": 1500,
            "value": 58
          },
          {
            "time": 1680,
            "value": 54
          },
          {
            "time": 1860,
            "value": 42
          },
          {
            "time": 2100,
            "value": 14
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 540,
            "value": 6
          },
          {
            "time": 720,
            "value": 4
          },
          {
            "time": 900,
            "value": 2
          },
          {
            "time": 1110,
            "value": 3
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1500,
            "value": 26
          },
          {
            "time": 1680,
            "value": 16
          },
          {
            "time": 1860,
            "value": 8
          },
          {
            "time": 2100,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 22
          },
          {
            "time": 240,
            "value": 34
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1110,
            "value": 34
          },
          {
            "time": 1320,
            "value": 46
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1680,
            "value": 40
          },
          {
            "time": 1860,
            "value": 28
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 540,
            "value": 70
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 76
          },
          {
            "time": 1110,
            "value": 74
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1500,
            "value": 70
          },
          {
            "time": 1680,
            "value": 66
          },
          {
            "time": 1860,
            "value": 56
          },
          {
            "time": 2100,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 720,
            "value": 20
          },
          {
            "time": 900,
            "value": 24
          },
          {
            "time": 1110,
            "value": 30
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1500,
            "value": 0
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 1860,
            "value": 5
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 540,
            "value": 38
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 58
          },
          {
            "time": 1110,
            "value": 62
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1680,
            "value": 36
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 240,
            "value": 2.6
          },
          {
            "time": 420,
            "value": 3.2
          },
          {
            "time": 540,
            "value": 4.6
          },
          {
            "time": 720,
            "value": 5.8
          },
          {
            "time": 900,
            "value": 7.2
          },
          {
            "time": 1110,
            "value": 8
          },
          {
            "time": 1320,
            "value": 4
          },
          {
            "time": 1500,
            "value": 3
          },
          {
            "time": 1680,
            "value": 4.4
          },
          {
            "time": 1860,
            "value": 2.2
          },
          {
            "time": 2100,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f7dff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 240,
            "value": "#20d6c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#22b874",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 42
          },
          {
            "time": 540,
            "value": "#3046c9",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 52
          },
          {
            "time": 720,
            "value": "#6a36d9",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 60
          },
          {
            "time": 900,
            "value": "#24145f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 72
          },
          {
            "time": 1110,
            "value": "#4f1d8f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1320,
            "value": "#38e0b2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 44
          },
          {
            "time": 1500,
            "value": "#ffe066",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.55,
            "auroraDepth": 28
          },
          {
            "time": 1680,
            "value": "#ffb347",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 1860,
            "value": "#ffd1a1",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2100,
            "value": "#f6c8a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "performance-hypnosis-primer": {
    "title": "Prestatiehypnose primer (Mentaal)",
    "titleEn": "Performance Hypnosis Primer (Mental)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van gerichte hypnotische gereedheid, zelfverzekerde prestatierepetitie en heldere activatie na de sessie.",
    "goalEn": "Designed to support focused hypnotic readiness, confident performance rehearsal, and clear post-session activation.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1560,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the mind from everyday alertness into focused, comfortable readiness.",
          "purposeEn": "Guides the mind from everyday alertness into focused, comfortable readiness."
        },
        {
          "time": 180,
          "name": "Stabilized Focus",
          "nameEn": "Stabilized Focus",
          "purpose": "Builds relaxed alpha focus and prepares attention for hypnotic absorption.",
          "purposeEn": "Builds relaxed alpha focus and prepares attention for hypnotic absorption."
        },
        {
          "time": 420,
          "name": "Hypnotic Descent",
          "nameEn": "Hypnotic Descent",
          "purpose": "Deepens into theta and opens a receptive performance-oriented inner state.",
          "purposeEn": "Deepens into theta and opens a receptive performance-oriented inner state."
        },
        {
          "time": 780,
          "name": "Suggestion Window",
          "nameEn": "Suggestion Window",
          "purpose": "Creates a spacious, stable plateau for performance suggestions and mental rehearsal.",
          "purposeEn": "Creates a spacious, stable plateau for performance suggestions and mental rehearsal."
        },
        {
          "time": 1080,
          "name": "Performance Activation",
          "nameEn": "Performance Activation",
          "purpose": "Activates confidence, clarity, timing, and embodied execution.",
          "purposeEn": "Activates confidence, clarity, timing, and embodied execution."
        },
        {
          "time": 1320,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates hypnotic rehearsal into calm alertness and practical readiness.",
          "purposeEn": "Integrates hypnotic rehearsal into calm alertness and practical readiness."
        },
        {
          "time": 1560,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session with clear, grounded energy.",
          "purposeEn": "Lands the session with clear, grounded energy."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 11.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 7.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 10.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 9.5,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 10,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 12.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 10.8,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 26
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 52
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 68
          },
          {
            "time": 780,
            "value": 74
          },
          {
            "time": 960,
            "value": 78
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1200,
            "value": 82
          },
          {
            "time": 1320,
            "value": 76
          },
          {
            "time": 1440,
            "value": 44
          },
          {
            "time": 1560,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 600,
            "value": 2
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1080,
            "value": 8
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1440,
            "value": 10
          },
          {
            "time": 1560,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 34
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 600,
            "value": 32
          },
          {
            "time": 780,
            "value": 24
          },
          {
            "time": 960,
            "value": 22
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1200,
            "value": 46
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1440,
            "value": 24
          },
          {
            "time": 1560,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 35
          },
          {
            "time": 90,
            "value": 55
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 300,
            "value": 68
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 68
          },
          {
            "time": 960,
            "value": 66
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1200,
            "value": 76
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1440,
            "value": 56
          },
          {
            "time": 1560,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 300,
            "value": 15
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 24
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 960,
            "value": 22
          },
          {
            "time": 1080,
            "value": 14
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1440,
            "value": 0
          },
          {
            "time": 1560,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 600,
            "value": 46
          },
          {
            "time": 780,
            "value": 54
          },
          {
            "time": 960,
            "value": 50
          },
          {
            "time": 1080,
            "value": 36
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1320,
            "value": 18
          },
          {
            "time": 1440,
            "value": 10
          },
          {
            "time": 1560,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 90,
            "value": 1.4
          },
          {
            "time": 180,
            "value": 2.4
          },
          {
            "time": 300,
            "value": 3
          },
          {
            "time": 420,
            "value": 5.2
          },
          {
            "time": 600,
            "value": 6.8
          },
          {
            "time": 780,
            "value": 8.5
          },
          {
            "time": 960,
            "value": 7.5
          },
          {
            "time": 1080,
            "value": 4.2
          },
          {
            "time": 1200,
            "value": 2.4
          },
          {
            "time": 1320,
            "value": 1.8
          },
          {
            "time": 1440,
            "value": 1
          },
          {
            "time": 1560,
            "value": 0.2
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#10284f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#1f77b4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 28
          },
          {
            "time": 180,
            "value": "#2fd0c8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.25,
            "auroraDepth": 38
          },
          {
            "time": 300,
            "value": "#3fd98b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 42
          },
          {
            "time": 420,
            "value": "#3741b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 52
          },
          {
            "time": 600,
            "value": "#5d35c9",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#2b1d75",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 70
          },
          {
            "time": 960,
            "value": "#4b197e",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 66
          },
          {
            "time": 1080,
            "value": "#b05cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 48
          },
          {
            "time": 1200,
            "value": "#ffb12a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.55,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.35,
            "auroraDepth": 30
          },
          {
            "time": 1440,
            "value": "#7be7d2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 1560,
            "value": "#ffc28a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1560
  },
  "positive-mindset": {
    "title": "Positieve mindset (Mentaal)",
    "titleEn": "Positive Mindset (Mental)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van een positieve mindset, emotionele opwaartse beweging, hartcoherentie, optimistische focus, innerlijk vertrouwen en warm geintegreerd welzijn.",
    "goalEn": "Designed to support a positive mindset, emotional uplift, heart coherence, optimistic focus, inner confidence, and warm integrated wellbeing.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Emotional Clearing",
          "nameEn": "Arrival / Emotional Clearing",
          "purpose": "Guides the mind into calm openness and clears excess emotional noise.",
          "purposeEn": "Guides the mind into calm openness and clears excess emotional noise."
        },
        {
          "time": 240,
          "name": "Heart Coherence",
          "nameEn": "Heart Coherence",
          "purpose": "Builds warmth, self-connection, and a steady positive inner rhythm.",
          "purposeEn": "Builds warmth, self-connection, and a steady positive inner rhythm."
        },
        {
          "time": 540,
          "name": "Positive Reframe",
          "nameEn": "Positive Reframe",
          "purpose": "Promotes constructive thought flow, emotional brightness, and optimistic attention.",
          "purposeEn": "Promotes constructive thought flow, emotional brightness, and optimistic attention."
        },
        {
          "time": 900,
          "name": "Uplift Activation",
          "nameEn": "Uplift Activation",
          "purpose": "Activates confidence, energy, and forward-moving positive focus.",
          "purposeEn": "Activates confidence, energy, and forward-moving positive focus."
        },
        {
          "time": 1260,
          "name": "Inner Radiance Plateau",
          "nameEn": "Inner Radiance Plateau",
          "purpose": "Deepens positive feeling through imagery, Aurora Immersion™ movement, spacious reverb, and warm color immersion.",
          "purposeEn": "Deepens positive feeling through imagery, Aurora Immersion™ movement, spacious reverb, and warm color immersion."
        },
        {
          "time": 1680,
          "name": "Integrated Optimism",
          "nameEn": "Integrated Optimism",
          "purpose": "Integrates uplift into calm presence, grounded clarity, and stable inner confidence.",
          "purposeEn": "Integrates uplift into calm presence, grounded clarity, and stable inner confidence."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in warm balance and positive mental clarity.",
          "purposeEn": "Completes the session in warm balance and positive mental clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 12.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 14.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 13.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1470,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 11.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 14,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 13.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 9.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1470,
            "value": 8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 44
          },
          {
            "time": 390,
            "value": 56
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 720,
            "value": 78
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1260,
            "value": 78
          },
          {
            "time": 1470,
            "value": 82
          },
          {
            "time": 1680,
            "value": 68
          },
          {
            "time": 1920,
            "value": 36
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 14
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 720,
            "value": 28
          },
          {
            "time": 900,
            "value": 38
          },
          {
            "time": 1080,
            "value": 30
          },
          {
            "time": 1260,
            "value": 10
          },
          {
            "time": 1470,
            "value": 2
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 13
          },
          {
            "time": 120,
            "value": 19
          },
          {
            "time": 240,
            "value": 26
          },
          {
            "time": 390,
            "value": 32
          },
          {
            "time": 540,
            "value": 38
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 54
          },
          {
            "time": 1080,
            "value": 48
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1470,
            "value": 26
          },
          {
            "time": 1680,
            "value": 34
          },
          {
            "time": 1920,
            "value": 17
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 540,
            "value": 76
          },
          {
            "time": 720,
            "value": 82
          },
          {
            "time": 900,
            "value": 86
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1260,
            "value": 78
          },
          {
            "time": 1470,
            "value": 72
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1920,
            "value": 42
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 390,
            "value": 12
          },
          {
            "time": 540,
            "value": 6
          },
          {
            "time": 720,
            "value": 2
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 6
          },
          {
            "time": 1260,
            "value": 18
          },
          {
            "time": 1470,
            "value": 28
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1920,
            "value": 4
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 390,
            "value": 28
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 900,
            "value": 20
          },
          {
            "time": 1080,
            "value": 30
          },
          {
            "time": 1260,
            "value": 48
          },
          {
            "time": 1470,
            "value": 60
          },
          {
            "time": 1680,
            "value": 36
          },
          {
            "time": 1920,
            "value": 12
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.3
          },
          {
            "time": 240,
            "value": 2.2
          },
          {
            "time": 390,
            "value": 3
          },
          {
            "time": 540,
            "value": 3.8
          },
          {
            "time": 720,
            "value": 2.2
          },
          {
            "time": 900,
            "value": 1.7
          },
          {
            "time": 1080,
            "value": 3.2
          },
          {
            "time": 1260,
            "value": 5.8
          },
          {
            "time": 1470,
            "value": 7.6
          },
          {
            "time": 1680,
            "value": 3.8
          },
          {
            "time": 1920,
            "value": 1
          },
          {
            "time": 2160,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#183850",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#1f7c86",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#35b58f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 32
          },
          {
            "time": 390,
            "value": "#62c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 38
          },
          {
            "time": 540,
            "value": "#d8c84f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.42,
            "auroraDepth": 46
          },
          {
            "time": 720,
            "value": "#f0a85a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.56,
            "auroraDepth": 54
          },
          {
            "time": 900,
            "value": "#ffbf42",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.68,
            "auroraDepth": 62
          },
          {
            "time": 1080,
            "value": "#ff8c5a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.5,
            "auroraDepth": 48
          },
          {
            "time": 1260,
            "value": "#c35ac8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 56
          },
          {
            "time": 1470,
            "value": "#4930a0",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 66
          },
          {
            "time": 1680,
            "value": "#76c76c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 1920,
            "value": "#d99b68",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2160,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "post-hypnotic-integration": {
    "title": "Posthypnotische integratie (Mentaal)",
    "titleEn": "Post-Hypnotic Integration (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van posthypnotische integratie, emotioneel landen, verankering van suggesties, rustige helderheid en een gegronde terugkeer naar alledaags bewustzijn.",
    "goalEn": "Designed to support post-hypnotic integration, emotional settling, suggestion anchoring, calm clarity and a grounded return to everyday awareness.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1500,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles the client after hypnotic work and opens a calm integration field.",
          "purposeEn": "Settles the client after hypnotic work and opens a calm integration field."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Stabilizes relaxed alpha-theta awareness and supports inner receptivity.",
          "purposeEn": "Stabilizes relaxed alpha-theta awareness and supports inner receptivity."
        },
        {
          "time": 420,
          "name": "Inner Integration",
          "nameEn": "Inner Integration",
          "purpose": "Guides post-hypnotic material into a coherent emotional and cognitive pattern.",
          "purposeEn": "Guides post-hypnotic material into a coherent emotional and cognitive pattern."
        },
        {
          "time": 780,
          "name": "Embodied Anchor",
          "nameEn": "Embodied Anchor",
          "purpose": "Deepens body-based anchoring and strengthens calm confidence.",
          "purposeEn": "Deepens body-based anchoring and strengthens calm confidence."
        },
        {
          "time": 1080,
          "name": "Activation Bridge",
          "nameEn": "Activation Bridge",
          "purpose": "Gently raises clarity and readiness while preserving the integrated state.",
          "purposeEn": "Gently raises clarity and readiness while preserving the integrated state."
        },
        {
          "time": 1320,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Returns the client to balanced alertness with warm closure.",
          "purposeEn": "Returns the client to balanced alertness with warm closure."
        },
        {
          "time": 1500,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in a grounded, clear and usable state.",
          "purposeEn": "Completes the session in a grounded, clear and usable state."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 930,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 9.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 7.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 930,
            "value": 6.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 9.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 52
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 600,
            "value": 70
          },
          {
            "time": 780,
            "value": 76
          },
          {
            "time": 930,
            "value": 72
          },
          {
            "time": 1080,
            "value": 58
          },
          {
            "time": 1200,
            "value": 54
          },
          {
            "time": 1320,
            "value": 42
          },
          {
            "time": 1440,
            "value": 28
          },
          {
            "time": 1500,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 600,
            "value": 4
          },
          {
            "time": 780,
            "value": 2
          },
          {
            "time": 930,
            "value": 4
          },
          {
            "time": 1080,
            "value": 12
          },
          {
            "time": 1200,
            "value": 22
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1440,
            "value": 8
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 30
          },
          {
            "time": 930,
            "value": 26
          },
          {
            "time": 1080,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1440,
            "value": 12
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 120,
            "value": 60
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 600,
            "value": 70
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 930,
            "value": 64
          },
          {
            "time": 1080,
            "value": 62
          },
          {
            "time": 1200,
            "value": 60
          },
          {
            "time": 1320,
            "value": 56
          },
          {
            "time": 1440,
            "value": 42
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 22
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 930,
            "value": 24
          },
          {
            "time": 1080,
            "value": 16
          },
          {
            "time": 1200,
            "value": 10
          },
          {
            "time": 1320,
            "value": 4
          },
          {
            "time": 1440,
            "value": 0
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 22
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 420,
            "value": 48
          },
          {
            "time": 600,
            "value": 56
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 930,
            "value": 54
          },
          {
            "time": 1080,
            "value": 40
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1440,
            "value": 8
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.8
          },
          {
            "time": 420,
            "value": 5.8
          },
          {
            "time": 600,
            "value": 7.2
          },
          {
            "time": 780,
            "value": 8.5
          },
          {
            "time": 930,
            "value": 6.8
          },
          {
            "time": 1080,
            "value": 4.2
          },
          {
            "time": 1200,
            "value": 2.8
          },
          {
            "time": 1320,
            "value": 1.8
          },
          {
            "time": 1440,
            "value": 1
          },
          {
            "time": 1500,
            "value": 0.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f6bff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 120,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 180,
            "value": "#37d7b2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 36
          },
          {
            "time": 300,
            "value": "#31c983",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 42
          },
          {
            "time": 420,
            "value": "#5f5cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 52
          },
          {
            "time": 600,
            "value": "#7b42ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.36,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#6633cc",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.25,
            "auroraDepth": 72
          },
          {
            "time": 930,
            "value": "#8b4dff",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 64
          },
          {
            "time": 1080,
            "value": "#f2b84b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 1200,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.55,
            "auroraDepth": 30
          },
          {
            "time": 1320,
            "value": "#ff9f6e",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 18
          },
          {
            "time": 1440,
            "value": "#f6c7a1",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.12,
            "auroraDepth": 0
          },
          {
            "time": 1500,
            "value": "#1a1a1a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1500
  },
  "quiet-mind-chatter": {
    "title": "Innerlijke dialoog verstillen (Mentaal)",
    "titleEn": "Quiet Mind Chatter (Mental)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van een stillere innerlijke dialoog, rustige aandacht, ruim bewustzijn, emotioneel landen en een stabiele meditatieve staat.",
    "goalEn": "Designed to support a quieter inner dialogue, calm attention, spacious awareness, emotional settling, and a stable meditative state.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention away from mental noise and into a calmer body rhythm.",
          "purposeEn": "Guides attention away from mental noise and into a calmer body rhythm."
        },
        {
          "time": 240,
          "name": "Alpha Settling",
          "nameEn": "Alpha Settling",
          "purpose": "Stabilizes relaxed alertness and begins softening repetitive thought loops.",
          "purposeEn": "Stabilizes relaxed alertness and begins softening repetitive thought loops."
        },
        {
          "time": 600,
          "name": "Thought Stream Release",
          "nameEn": "Thought Stream Release",
          "purpose": "Promotes letting go through spacious sound, gentle theta descent, and fluid color movement.",
          "purposeEn": "Promotes letting go through spacious sound, gentle theta descent, and fluid color movement."
        },
        {
          "time": 1020,
          "name": "Quiet Plateau",
          "nameEn": "Quiet Plateau",
          "purpose": "Deepens inward absorption with a smooth Infinity Ganzfeld™ field and low theta stability.",
          "purposeEn": "Deepens inward absorption with a smooth Infinity Ganzfeld™ field and low theta stability."
        },
        {
          "time": 1500,
          "name": "Clear Awareness Integration",
          "nameEn": "Clear Awareness Integration",
          "purpose": "Builds clear, spacious awareness while preserving calm mental quiet.",
          "purposeEn": "Builds clear, spacious awareness while preserving calm mental quiet."
        },
        {
          "time": 1920,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Integrates the quiet state and returns attention gently to calm presence.",
          "purposeEn": "Integrates the quiet state and returns attention gently to calm presence."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with a soft, settled finish.",
          "purposeEn": "Completes the session with a soft, settled finish."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 810,
            "value": 6.3,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1710,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 810,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1710,
            "value": 8.7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2070,
            "value": 8.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 240,
            "value": 44
          },
          {
            "time": 420,
            "value": 52
          },
          {
            "time": 600,
            "value": 60
          },
          {
            "time": 810,
            "value": 68
          },
          {
            "time": 1020,
            "value": 76
          },
          {
            "time": 1260,
            "value": 82
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1710,
            "value": 58
          },
          {
            "time": 1920,
            "value": 42
          },
          {
            "time": 2070,
            "value": 26
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 420,
            "value": 7
          },
          {
            "time": 600,
            "value": 4
          },
          {
            "time": 810,
            "value": 2
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1500,
            "value": 6
          },
          {
            "time": 1710,
            "value": 10
          },
          {
            "time": 1920,
            "value": 7
          },
          {
            "time": 2070,
            "value": 3
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 420,
            "value": 28
          },
          {
            "time": 600,
            "value": 31
          },
          {
            "time": 810,
            "value": 34
          },
          {
            "time": 1020,
            "value": 27
          },
          {
            "time": 1260,
            "value": 24
          },
          {
            "time": 1500,
            "value": 29
          },
          {
            "time": 1710,
            "value": 26
          },
          {
            "time": 1920,
            "value": 19
          },
          {
            "time": 2070,
            "value": 12
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 120,
            "value": 52
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 600,
            "value": 66
          },
          {
            "time": 810,
            "value": 68
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1500,
            "value": 64
          },
          {
            "time": 1710,
            "value": 60
          },
          {
            "time": 1920,
            "value": 52
          },
          {
            "time": 2070,
            "value": 38
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 15
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 22
          },
          {
            "time": 810,
            "value": 26
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1710,
            "value": 14
          },
          {
            "time": 1920,
            "value": 8
          },
          {
            "time": 2070,
            "value": 2
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 600,
            "value": 42
          },
          {
            "time": 810,
            "value": 50
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1500,
            "value": 44
          },
          {
            "time": 1710,
            "value": 32
          },
          {
            "time": 1920,
            "value": 20
          },
          {
            "time": 2070,
            "value": 10
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 120,
            "value": 2.1
          },
          {
            "time": 240,
            "value": 3
          },
          {
            "time": 420,
            "value": 3.8
          },
          {
            "time": 600,
            "value": 5.6
          },
          {
            "time": 810,
            "value": 6.8
          },
          {
            "time": 1020,
            "value": 8.8
          },
          {
            "time": 1260,
            "value": 9.6
          },
          {
            "time": 1500,
            "value": 5.4
          },
          {
            "time": 1710,
            "value": 3.8
          },
          {
            "time": 1920,
            "value": 2.4
          },
          {
            "time": 2070,
            "value": 1.2
          },
          {
            "time": 2160,
            "value": 0.2
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#203a5f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#2f7faf",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 240,
            "value": "#35b7c9",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 35
          },
          {
            "time": 420,
            "value": "#2fae92",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 44
          },
          {
            "time": 600,
            "value": "#4153c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 52
          },
          {
            "time": 810,
            "value": "#5231a7",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 60
          },
          {
            "time": 1020,
            "value": "#33216f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 72
          },
          {
            "time": 1260,
            "value": "#24184d",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 78
          },
          {
            "time": 1500,
            "value": "#1f8fbe",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 52
          },
          {
            "time": 1710,
            "value": "#4ac6a7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 38
          },
          {
            "time": 1920,
            "value": "#85c7b9",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 2070,
            "value": "#c6b28b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 2160,
            "value": "#151515",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "quiet-mind": {
    "title": "Stille geest (Mentaal)",
    "titleEn": "Quiet Mind (Mental)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van mentale stilte, minder innerlijke ruis, ruim bewustzijn, kalmering van het zenuwstelsel en stille gerichte aanwezigheid.",
    "goalEn": "Designed to support mental stillness, reduced inner chatter, spacious awareness, calm nervous system settling, and quiet focused presence.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 48,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Soft Attention",
          "nameEn": "Arrival / Soft Attention",
          "purpose": "Guides attention away from mental noise and into gentle presence.",
          "purposeEn": "Guides attention away from mental noise and into gentle presence."
        },
        {
          "time": 300,
          "name": "Alpha Settling",
          "nameEn": "Alpha Settling",
          "purpose": "Stabilizes relaxed alertness and begins quieting repetitive thought loops.",
          "purposeEn": "Stabilizes relaxed alertness and begins quieting repetitive thought loops."
        },
        {
          "time": 660,
          "name": "Thought Space Opens",
          "nameEn": "Thought Space Opens",
          "purpose": "Promotes spacious awareness and a calmer relationship with passing thoughts.",
          "purposeEn": "Promotes spacious awareness and a calmer relationship with passing thoughts."
        },
        {
          "time": 1080,
          "name": "Deep Quiet Plateau",
          "nameEn": "Deep Quiet Plateau",
          "purpose": "Deepens inner silence through theta pacing, soft sensory wash, Aurora Immersion™, and Infinity Ganzfeld™ immersion.",
          "purposeEn": "Deepens inner silence through theta pacing, soft sensory wash, Aurora Immersion™, and Infinity Ganzfeld™ immersion."
        },
        {
          "time": 1560,
          "name": "Silent Integration",
          "nameEn": "Silent Integration",
          "purpose": "Integrates calm awareness, emotional quiet, and steady inner spaciousness.",
          "purposeEn": "Integrates calm awareness, emotional quiet, and steady inner spaciousness."
        },
        {
          "time": 2040,
          "name": "Clear Landing",
          "nameEn": "Clear Landing",
          "purpose": "Returns gently into grounded clarity while preserving the quiet mind state.",
          "purposeEn": "Returns gently into grounded clarity while preserving the quiet mind state."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in calm presence and mental stillness.",
          "purposeEn": "Completes the session in calm presence and mental stillness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2220,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 150,
            "value": 24
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 480,
            "value": 50
          },
          {
            "time": 660,
            "value": 62
          },
          {
            "time": 870,
            "value": 72
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1320,
            "value": 80
          },
          {
            "time": 1560,
            "value": 70
          },
          {
            "time": 1800,
            "value": 58
          },
          {
            "time": 2040,
            "value": 42
          },
          {
            "time": 2220,
            "value": 24
          },
          {
            "time": 2400,
            "value": 6
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 150,
            "value": 4
          },
          {
            "time": 300,
            "value": 5
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 2
          },
          {
            "time": 870,
            "value": 1
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 4
          },
          {
            "time": 1800,
            "value": 7
          },
          {
            "time": 2040,
            "value": 4
          },
          {
            "time": 2220,
            "value": 2
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 150,
            "value": 18
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 28
          },
          {
            "time": 660,
            "value": 30
          },
          {
            "time": 870,
            "value": 28
          },
          {
            "time": 1080,
            "value": 24
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1560,
            "value": 26
          },
          {
            "time": 1800,
            "value": 26
          },
          {
            "time": 2040,
            "value": 18
          },
          {
            "time": 2220,
            "value": 9
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 150,
            "value": 52
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 480,
            "value": 68
          },
          {
            "time": 660,
            "value": 72
          },
          {
            "time": 870,
            "value": 74
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1800,
            "value": 64
          },
          {
            "time": 2040,
            "value": 50
          },
          {
            "time": 2220,
            "value": 34
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 20
          },
          {
            "time": 660,
            "value": 24
          },
          {
            "time": 870,
            "value": 28
          },
          {
            "time": 1080,
            "value": 36
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 14
          },
          {
            "time": 2040,
            "value": 7
          },
          {
            "time": 2220,
            "value": 2
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 44
          },
          {
            "time": 870,
            "value": 54
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1560,
            "value": 52
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 2040,
            "value": 20
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 5.4
          },
          {
            "time": 870,
            "value": 7
          },
          {
            "time": 1080,
            "value": 9.2
          },
          {
            "time": 1320,
            "value": 8.4
          },
          {
            "time": 1560,
            "value": 6.2
          },
          {
            "time": 1800,
            "value": 3.8
          },
          {
            "time": 2040,
            "value": 1.8
          },
          {
            "time": 2220,
            "value": 0.8
          },
          {
            "time": 2400,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#14334d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 10
          },
          {
            "time": 150,
            "value": "#1d5f78",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 300,
            "value": "#2d9ba8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 480,
            "value": "#3aa89a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 660,
            "value": "#3f66b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 44
          },
          {
            "time": 870,
            "value": "#342a9a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 54
          },
          {
            "time": 1080,
            "value": "#21124d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 70
          },
          {
            "time": 1320,
            "value": "#171033",
            "ganzfeldMode": true,
            "auroraMode": "subtle",
            "auroraSpeed": 0.06,
            "auroraDepth": 62
          },
          {
            "time": 1560,
            "value": "#3d2f86",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 46
          },
          {
            "time": 1800,
            "value": "#357fa0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 28
          },
          {
            "time": 2040,
            "value": "#55b78f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 2220,
            "value": "#c89b72",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.1,
            "auroraDepth": 8
          },
          {
            "time": 2400,
            "value": "#1a1512",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "regression-preparation": {
    "title": "Regressievoorbereiding (Mentaal)",
    "titleEn": "Regression Preparation (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van stabiele hypnotische voorbereiding, emotionele veiligheid, innerlijke orientatie en ontvankelijke toegang tot regressiewerk.",
    "goalEn": "Designed to support stable hypnotic preparation, emotional safety, inner orientation, and receptive access to regression work.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention, softens the body, and establishes a calm inner starting point.",
          "purposeEn": "Settles attention, softens the body, and establishes a calm inner starting point."
        },
        {
          "time": 180,
          "name": "Safety Stabilization",
          "nameEn": "Safety Stabilization",
          "purpose": "Builds a grounded, emotionally steady base before deeper hypnotic work begins.",
          "purposeEn": "Builds a grounded, emotionally steady base before deeper hypnotic work begins."
        },
        {
          "time": 420,
          "name": "Hypnotic Descent",
          "nameEn": "Hypnotic Descent",
          "purpose": "Guides relaxed alpha into receptive theta while preserving calm orientation.",
          "purposeEn": "Guides relaxed alpha into receptive theta while preserving calm orientation."
        },
        {
          "time": 720,
          "name": "Regression Gateway",
          "nameEn": "Regression Gateway",
          "purpose": "Deepens inward imagery and prepares associative memory access without forcing content.",
          "purposeEn": "Deepens inward imagery and prepares associative memory access without forcing content."
        },
        {
          "time": 1080,
          "name": "Inner Access Plateau",
          "nameEn": "Inner Access Plateau",
          "purpose": "Stabilizes deep trance, spacious awareness, and symbolic inner perception.",
          "purposeEn": "Stabilizes deep trance, spacious awareness, and symbolic inner perception."
        },
        {
          "time": 1440,
          "name": "Integration Rise",
          "nameEn": "Integration Rise",
          "purpose": "Lifts the state toward reflective clarity and integrates the preparation phase.",
          "purposeEn": "Lifts the state toward reflective clarity and integrates the preparation phase."
        },
        {
          "time": 1680,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Returns attention gently to present-time awareness with warmth and stability.",
          "purposeEn": "Returns attention gently to present-time awareness with warmth and stability."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in a calm, clear, grounded state.",
          "purposeEn": "Completes the session in a calm, clear, grounded state."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.2
          },
          {
            "time": 180,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.6
          },
          {
            "time": 420,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 6.8
          },
          {
            "time": 720,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.1
          },
          {
            "time": 1080,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.8
          },
          {
            "time": 1440,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 7.6
          },
          {
            "time": 1680,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 9.4
          },
          {
            "time": 1800,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 6.6
          },
          {
            "time": 720,
            "value": 5.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5
          },
          {
            "time": 1080,
            "value": 4.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 4.7
          },
          {
            "time": 1440,
            "value": 6.1,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 7.4
          },
          {
            "time": 1680,
            "value": 8.7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 9.3
          },
          {
            "time": 1800,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 52
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 570,
            "value": 72
          },
          {
            "time": 720,
            "value": 80
          },
          {
            "time": 900,
            "value": 86
          },
          {
            "time": 1080,
            "value": 88
          },
          {
            "time": 1260,
            "value": 82
          },
          {
            "time": 1440,
            "value": 68
          },
          {
            "time": 1560,
            "value": 58
          },
          {
            "time": 1680,
            "value": 44
          },
          {
            "time": 1740,
            "value": 32
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 570,
            "value": 3
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1260,
            "value": 2
          },
          {
            "time": 1440,
            "value": 10
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1680,
            "value": 12
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1800,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 570,
            "value": 42
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1080,
            "value": 38
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1440,
            "value": 28
          },
          {
            "time": 1560,
            "value": 23
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1800,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 54
          },
          {
            "time": 90,
            "value": 60
          },
          {
            "time": 180,
            "value": 66
          },
          {
            "time": 300,
            "value": 70
          },
          {
            "time": 420,
            "value": 74
          },
          {
            "time": 570,
            "value": 76
          },
          {
            "time": 720,
            "value": 78
          },
          {
            "time": 900,
            "value": 80
          },
          {
            "time": 1080,
            "value": 76
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1440,
            "value": 68
          },
          {
            "time": 1560,
            "value": 62
          },
          {
            "time": 1680,
            "value": 54
          },
          {
            "time": 1740,
            "value": 44
          },
          {
            "time": 1800,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 60,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 570,
            "value": 20
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1260,
            "value": 22
          },
          {
            "time": 1440,
            "value": 15
          },
          {
            "time": 1560,
            "value": 10
          },
          {
            "time": 1680,
            "value": 6
          },
          {
            "time": 1740,
            "value": 3
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 570,
            "value": 46
          },
          {
            "time": 720,
            "value": 56
          },
          {
            "time": 900,
            "value": 62
          },
          {
            "time": 1080,
            "value": 66
          },
          {
            "time": 1260,
            "value": 60
          },
          {
            "time": 1440,
            "value": 42
          },
          {
            "time": 1560,
            "value": 30
          },
          {
            "time": 1680,
            "value": 20
          },
          {
            "time": 1740,
            "value": 14
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.8
          },
          {
            "time": 300,
            "value": 3.6
          },
          {
            "time": 420,
            "value": 4.8
          },
          {
            "time": 570,
            "value": 5.8
          },
          {
            "time": 720,
            "value": 7.2
          },
          {
            "time": 900,
            "value": 8.4
          },
          {
            "time": 1080,
            "value": 9.2
          },
          {
            "time": 1260,
            "value": 8
          },
          {
            "time": 1440,
            "value": 5.2
          },
          {
            "time": 1560,
            "value": 3.6
          },
          {
            "time": 1680,
            "value": 2.4
          },
          {
            "time": 1740,
            "value": 1.6
          },
          {
            "time": 1800,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#4fb6ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#3fd8c4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#3abf7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 30
          },
          {
            "time": 300,
            "value": "#2a8fdf",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#3557ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 46
          },
          {
            "time": 570,
            "value": "#5134c8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 52
          },
          {
            "time": 720,
            "value": "#5b1e91",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 64
          },
          {
            "time": 900,
            "value": "#311058",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 70
          },
          {
            "time": 1080,
            "value": "#24133f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 74
          },
          {
            "time": 1260,
            "value": "#43206d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 58
          },
          {
            "time": 1440,
            "value": "#8b5cf6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 44
          },
          {
            "time": 1560,
            "value": "#d9a441",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 30
          },
          {
            "time": 1680,
            "value": "#f2b36d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 20
          },
          {
            "time": 1740,
            "value": "#ffd4a3",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 12
          },
          {
            "time": 1800,
            "value": "#fff0d8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "safe-place-immersion": {
    "title": "Veilige-plek immersie (Mentaal)",
    "titleEn": "Safe Place Immersion (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van een rustige, beschermende innerlijke veilige-plekervaring, waarbij de geest wordt begeleid van zachte aankomst naar stabiele hypnotische immersie, emotionele warmte en gegronde integratie.",
    "goalEn": "Designed to support a calm, protective inner safe place experience, guiding the mind from gentle arrival into stable hypnotic immersion, emotional warmth, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Begins with soft grounding, body settling, and a gentle invitation to turn attention inward.",
          "purposeEn": "Begins with soft grounding, body settling, and a gentle invitation to turn attention inward."
        },
        {
          "time": 180,
          "name": "Safe Orientation",
          "nameEn": "Safe Orientation",
          "purpose": "Stabilizes relaxed alertness and begins forming the sensory outline of a protected inner place.",
          "purposeEn": "Stabilizes relaxed alertness and begins forming the sensory outline of a protected inner place."
        },
        {
          "time": 420,
          "name": "Hypnotic Descent",
          "nameEn": "Hypnotic Descent",
          "purpose": "Guides the session deeper into theta while softening external distraction and strengthening inward absorption.",
          "purposeEn": "Guides the session deeper into theta while softening external distraction and strengthening inward absorption."
        },
        {
          "time": 780,
          "name": "Safe Place Immersion",
          "nameEn": "Safe Place Immersion",
          "purpose": "Creates a spacious, enclosed, soothing sensory field for vivid safe-place imagery and emotional settling.",
          "purposeEn": "Creates a spacious, enclosed, soothing sensory field for vivid safe-place imagery and emotional settling."
        },
        {
          "time": 1140,
          "name": "Inner Resource Anchor",
          "nameEn": "Inner Resource Anchor",
          "purpose": "Builds a stable felt sense of comfort, protection, self-connection, and accessible inner resource.",
          "purposeEn": "Builds a stable felt sense of comfort, protection, self-connection, and accessible inner resource."
        },
        {
          "time": 1500,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Brings the experience back toward calm alpha, preserving the safe-place imprint while restoring orientation.",
          "purposeEn": "Brings the experience back toward calm alpha, preserving the safe-place imprint while restoring orientation."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with grounded calm, warmth, and a quiet return.",
          "purposeEn": "Completes the session with grounded calm, warmth, and a quiet return."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 600,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 5.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1650,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.5,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 600,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 5.7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 6.7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1650,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 24
          },
          {
            "time": 180,
            "value": 38
          },
          {
            "time": 300,
            "value": 48
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 70
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 960,
            "value": 88
          },
          {
            "time": 1140,
            "value": 76
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1650,
            "value": 36
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 600,
            "value": 3
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 4
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1650,
            "value": 8
          },
          {
            "time": 1800,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 32
          },
          {
            "time": 960,
            "value": 28
          },
          {
            "time": 1140,
            "value": 34
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1500,
            "value": 22
          },
          {
            "time": 1650,
            "value": 14
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 32
          },
          {
            "time": 90,
            "value": 48
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 76
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1140,
            "value": 68
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1500,
            "value": 58
          },
          {
            "time": 1650,
            "value": 46
          },
          {
            "time": 1800,
            "value": 26
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 420,
            "value": 22
          },
          {
            "time": 600,
            "value": 26
          },
          {
            "time": 780,
            "value": 30
          },
          {
            "time": 960,
            "value": 34
          },
          {
            "time": 1140,
            "value": 24
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1500,
            "value": 10
          },
          {
            "time": 1650,
            "value": 4
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 600,
            "value": 48
          },
          {
            "time": 780,
            "value": 58
          },
          {
            "time": 960,
            "value": 64
          },
          {
            "time": 1140,
            "value": 54
          },
          {
            "time": 1320,
            "value": 42
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1650,
            "value": 16
          },
          {
            "time": 1800,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.4
          },
          {
            "time": 420,
            "value": 4.8
          },
          {
            "time": 600,
            "value": 6.4
          },
          {
            "time": 780,
            "value": 8.8
          },
          {
            "time": 960,
            "value": 9.6
          },
          {
            "time": 1140,
            "value": 7.2
          },
          {
            "time": 1320,
            "value": 5
          },
          {
            "time": 1500,
            "value": 3
          },
          {
            "time": 1650,
            "value": 1.8
          },
          {
            "time": 1800,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1b3f6f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 16
          },
          {
            "time": 90,
            "value": "#2d7fa8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#2ea6a0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 32
          },
          {
            "time": 300,
            "value": "#43b88a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#3454c7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 44
          },
          {
            "time": 600,
            "value": "#5b3fd1",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 54
          },
          {
            "time": 780,
            "value": "#6241c7",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 62
          },
          {
            "time": 960,
            "value": "#3d6fd1",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.08,
            "auroraDepth": 70
          },
          {
            "time": 1140,
            "value": "#4abf91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 48
          },
          {
            "time": 1320,
            "value": "#8ecf73",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 34
          },
          {
            "time": 1500,
            "value": "#d8a84a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 1650,
            "value": "#e6b47a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 14
          },
          {
            "time": 1800,
            "value": "#7a4f36",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "self-hypnosis-trainer": {
    "title": "Zelfhypnose trainer (Mentaal)",
    "titleEn": "Self-Hypnosis Trainer (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van het opbouwen van zelfhypnosevaardigheid, innerlijke focus, suggestierepetitie, rustig vertrouwen en zuivere integratie.",
    "goalEn": "Designed to support self-hypnosis skill building, inner focus, suggestion rehearsal, calm confidence, and clean integration.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention inward and starts a smooth transition from ordinary awareness into self-hypnosis readiness.",
          "purposeEn": "Guides attention inward and starts a smooth transition from ordinary awareness into self-hypnosis readiness."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Builds steady alpha rhythm, calm breathing, and a relaxed observing state.",
          "purposeEn": "Builds steady alpha rhythm, calm breathing, and a relaxed observing state."
        },
        {
          "time": 420,
          "name": "Induction Training",
          "nameEn": "Induction Training",
          "purpose": "Deepens into theta and supports repeated inner cueing, focus narrowing, and mental rehearsal.",
          "purposeEn": "Deepens into theta and supports repeated inner cueing, focus narrowing, and mental rehearsal."
        },
        {
          "time": 720,
          "name": "Self-Hypnosis Immersion",
          "nameEn": "Self-Hypnosis Immersion",
          "purpose": "Creates a spacious plateau for autosuggestion, visualization, and inner response training.",
          "purposeEn": "Creates a spacious plateau for autosuggestion, visualization, and inner response training."
        },
        {
          "time": 1080,
          "name": "Suggestion Encoding",
          "nameEn": "Suggestion Encoding",
          "purpose": "Stabilizes the hypnotic learning state and promotes confident integration of chosen suggestions.",
          "purposeEn": "Stabilizes the hypnotic learning state and promotes confident integration of chosen suggestions."
        },
        {
          "time": 1440,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Returns toward relaxed alertness while preserving the self-hypnosis anchor and post-session clarity.",
          "purposeEn": "Returns toward relaxed alertness while preserving the self-hypnosis anchor and post-session clarity."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session gently with a clean, awake, balanced finish.",
          "purposeEn": "Lands the session gently with a clean, awake, balanced finish."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 38
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 720,
            "value": 78
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1440,
            "value": 48
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 8
          },
          {
            "time": 720,
            "value": 2
          },
          {
            "time": 1080,
            "value": 4
          },
          {
            "time": 1440,
            "value": 18
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 720,
            "value": 30
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1440,
            "value": 22
          },
          {
            "time": 1800,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 720,
            "value": 62
          },
          {
            "time": 1080,
            "value": 60
          },
          {
            "time": 1440,
            "value": 54
          },
          {
            "time": 1800,
            "value": 38
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 1080,
            "value": 14
          },
          {
            "time": 1440,
            "value": 8
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 1080,
            "value": 42
          },
          {
            "time": 1440,
            "value": 26
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 2.2
          },
          {
            "time": 420,
            "value": 4.2
          },
          {
            "time": 720,
            "value": 7.5
          },
          {
            "time": 1080,
            "value": 6.2
          },
          {
            "time": 1440,
            "value": 3
          },
          {
            "time": 1800,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f8cff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.25,
            "auroraDepth": 26
          },
          {
            "time": 420,
            "value": "#5b63ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#4b2cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 64
          },
          {
            "time": 1080,
            "value": "#7a3cff",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 52
          },
          {
            "time": 1440,
            "value": "#52e0b4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 30
          },
          {
            "time": 1800,
            "value": "#ffd18a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "somnambulism-trainer": {
    "title": "Somnambulisme trainer (Mentaal)",
    "titleEn": "Somnambulism Trainer (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van diepe hypnotische absorptie, somnambulistische stabiliteit, ontvankelijke focus en soepele integratie.",
    "goalEn": "Designed to support deep hypnotic absorption, somnambulistic stability, receptive focus, and smooth integration.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1500,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Begins with calm orientation, soft sensory settling, and gradual attention narrowing.",
          "purposeEn": "Begins with calm orientation, soft sensory settling, and gradual attention narrowing."
        },
        {
          "time": 180,
          "name": "Trance Build-Up",
          "nameEn": "Trance Build-Up",
          "purpose": "Guides the mind from relaxed alertness into a deeper hypnotic rhythm.",
          "purposeEn": "Guides the mind from relaxed alertness into a deeper hypnotic rhythm."
        },
        {
          "time": 420,
          "name": "Deepening Descent",
          "nameEn": "Deepening Descent",
          "purpose": "Deepens inner absorption with slower theta pacing, spacious sound, and reduced outer orientation.",
          "purposeEn": "Deepens inner absorption with slower theta pacing, spacious sound, and reduced outer orientation."
        },
        {
          "time": 720,
          "name": "Somnambulistic Stabilization",
          "nameEn": "Somnambulistic Stabilization",
          "purpose": "Stabilizes a profound receptive state for hypnotic work, imagery, and suggestion responsiveness.",
          "purposeEn": "Stabilizes a profound receptive state for hypnotic work, imagery, and suggestion responsiveness."
        },
        {
          "time": 1080,
          "name": "Responsive Plateau",
          "nameEn": "Responsive Plateau",
          "purpose": "Maintains depth while gently increasing inner clarity and therapeutic responsiveness.",
          "purposeEn": "Maintains depth while gently increasing inner clarity and therapeutic responsiveness."
        },
        {
          "time": 1320,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates the hypnotic experience and begins a smooth transition toward ordinary awareness.",
          "purposeEn": "Integrates the hypnotic experience and begins a smooth transition toward ordinary awareness."
        },
        {
          "time": 1500,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Completes the session with grounded calm, clear orientation, and comfortable closure.",
          "purposeEn": "Completes the session with grounded calm, clear orientation, and comfortable closure."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9
          },
          {
            "time": 180,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 420,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 5.2
          },
          {
            "time": 720,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 4.1
          },
          {
            "time": 1080,
            "value": 4.7,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 5.5
          },
          {
            "time": 1320,
            "value": 7.3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 8.6
          },
          {
            "time": 1500,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.2
          },
          {
            "time": 180,
            "value": 8.3,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 7.2
          },
          {
            "time": 420,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 5.4
          },
          {
            "time": 720,
            "value": 4.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 4.2
          },
          {
            "time": 1080,
            "value": 4.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 5.6
          },
          {
            "time": 1320,
            "value": 7.5,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 8.8
          },
          {
            "time": 1500,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 55
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 570,
            "value": 76
          },
          {
            "time": 720,
            "value": 84
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1080,
            "value": 74
          },
          {
            "time": 1200,
            "value": 62
          },
          {
            "time": 1320,
            "value": 45
          },
          {
            "time": 1410,
            "value": 28
          },
          {
            "time": 1500,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 300,
            "value": 6
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 570,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 5
          },
          {
            "time": 1200,
            "value": 12
          },
          {
            "time": 1320,
            "value": 18
          },
          {
            "time": 1410,
            "value": 12
          },
          {
            "time": 1500,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 570,
            "value": 52
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1080,
            "value": 44
          },
          {
            "time": 1200,
            "value": 38
          },
          {
            "time": 1320,
            "value": 28
          },
          {
            "time": 1410,
            "value": 18
          },
          {
            "time": 1500,
            "value": 6
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 90,
            "value": 55
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 570,
            "value": 72
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 900,
            "value": 64
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1200,
            "value": 64
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1410,
            "value": 48
          },
          {
            "time": 1500,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 300,
            "value": 22
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 570,
            "value": 18
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 900,
            "value": 30
          },
          {
            "time": 1080,
            "value": 20
          },
          {
            "time": 1200,
            "value": 14
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1410,
            "value": 5
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 36
          },
          {
            "time": 420,
            "value": 48
          },
          {
            "time": 570,
            "value": 56
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 900,
            "value": 72
          },
          {
            "time": 1080,
            "value": 58
          },
          {
            "time": 1200,
            "value": 48
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1410,
            "value": 18
          },
          {
            "time": 1500,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 3.2
          },
          {
            "time": 300,
            "value": 4.5
          },
          {
            "time": 420,
            "value": 6.8
          },
          {
            "time": 570,
            "value": 8.5
          },
          {
            "time": 720,
            "value": 10.5
          },
          {
            "time": 900,
            "value": 11
          },
          {
            "time": 1080,
            "value": 8
          },
          {
            "time": 1200,
            "value": 6
          },
          {
            "time": 1320,
            "value": 3.6
          },
          {
            "time": 1410,
            "value": 2
          },
          {
            "time": 1500,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#274dff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#1eb7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#28e0c2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 35
          },
          {
            "time": 300,
            "value": "#3d8cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 42
          },
          {
            "time": 420,
            "value": "#3f2bff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 52
          },
          {
            "time": 570,
            "value": "#6a2dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 720,
            "value": "#1b0f6b",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.09,
            "auroraDepth": 70
          },
          {
            "time": 900,
            "value": "#2b0a5f",
            "ganzfeldMode": true,
            "auroraMode": "subtle",
            "auroraSpeed": 0.07,
            "auroraDepth": 65
          },
          {
            "time": 1080,
            "value": "#4a1fb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#5c4cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 45
          },
          {
            "time": 1320,
            "value": "#21c7b8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 1410,
            "value": "#ffc266",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 1500,
            "value": "#ffd7a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1500
  },
  "stop-alzheimers-dementia": {
    "title": "Cognitieve vitaliteitsondersteuning (Mentaal)",
    "titleEn": "Cognitive Vitality Support (Mental)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van cognitieve vitaliteit, mentale helderheid, geheugenvertrouwen, emotionele stabiliteit en een kalm geactiveerde staat van welzijn.",
    "goalEn": "Designed to support cognitive vitality, mental clarity, memory confidence, emotional steadiness, and a calm energized state of wellbeing.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Calm Orientation",
          "nameEn": "Arrival / Calm Orientation",
          "purpose": "Guides the body and mind into a settled, receptive starting state.",
          "purposeEn": "Guides the body and mind into a settled, receptive starting state."
        },
        {
          "time": 240,
          "name": "Alpha Clarity",
          "nameEn": "Alpha Clarity",
          "purpose": "Builds calm alertness, mental organization, and relaxed attention.",
          "purposeEn": "Builds calm alertness, mental organization, and relaxed attention."
        },
        {
          "time": 540,
          "name": "Cognitive Activation",
          "nameEn": "Cognitive Activation",
          "purpose": "Activates clear thinking, gentle brightness, and focused cognitive engagement.",
          "purposeEn": "Activates clear thinking, gentle brightness, and focused cognitive engagement."
        },
        {
          "time": 900,
          "name": "Memory Confidence Plateau",
          "nameEn": "Memory Confidence Plateau",
          "purpose": "Stabilizes attention and supports confident recall, orientation, and inner coherence.",
          "purposeEn": "Stabilizes attention and supports confident recall, orientation, and inner coherence."
        },
        {
          "time": 1320,
          "name": "Restorative Integration",
          "nameEn": "Restorative Integration",
          "purpose": "Deepens recovery imagery and emotional steadiness through spacious alpha-theta pacing.",
          "purposeEn": "Deepens recovery imagery and emotional steadiness through spacious alpha-theta pacing."
        },
        {
          "time": 1800,
          "name": "Bright Landing",
          "nameEn": "Bright Landing",
          "purpose": "Returns gradually to a grounded, clear, and calmly energized state.",
          "purposeEn": "Returns gradually to a grounded, clear, and calmly energized state."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session with quiet confidence and mental freshness.",
          "purposeEn": "Completes the session with quiet confidence and mental freshness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 14.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 13.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1110,
            "value": 12.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 8.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 9.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 11.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 14,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 13.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1110,
            "value": 12.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 9.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 390,
            "value": 52
          },
          {
            "time": 540,
            "value": 64
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1110,
            "value": 72
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1530,
            "value": 60
          },
          {
            "time": 1800,
            "value": 54
          },
          {
            "time": 1980,
            "value": 34
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 16
          },
          {
            "time": 540,
            "value": 26
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 900,
            "value": 40
          },
          {
            "time": 1110,
            "value": 30
          },
          {
            "time": 1320,
            "value": 12
          },
          {
            "time": 1530,
            "value": 6
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 20
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 390,
            "value": 34
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 900,
            "value": 46
          },
          {
            "time": 1110,
            "value": 40
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1530,
            "value": 26
          },
          {
            "time": 1800,
            "value": 34
          },
          {
            "time": 1980,
            "value": 20
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 54
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 70
          },
          {
            "time": 540,
            "value": 76
          },
          {
            "time": 720,
            "value": 80
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1110,
            "value": 78
          },
          {
            "time": 1320,
            "value": 74
          },
          {
            "time": 1530,
            "value": 70
          },
          {
            "time": 1800,
            "value": 64
          },
          {
            "time": 1980,
            "value": 42
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 390,
            "value": 8
          },
          {
            "time": 540,
            "value": 0
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 8
          },
          {
            "time": 1110,
            "value": 10
          },
          {
            "time": 1320,
            "value": 18
          },
          {
            "time": 1530,
            "value": 20
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 1980,
            "value": 3
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 390,
            "value": 22
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 26
          },
          {
            "time": 1110,
            "value": 30
          },
          {
            "time": 1320,
            "value": 42
          },
          {
            "time": 1530,
            "value": 46
          },
          {
            "time": 1800,
            "value": 28
          },
          {
            "time": 1980,
            "value": 10
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 0.8
          },
          {
            "time": 120,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 1.8
          },
          {
            "time": 390,
            "value": 2.4
          },
          {
            "time": 540,
            "value": 1.2
          },
          {
            "time": 720,
            "value": 1.5
          },
          {
            "time": 900,
            "value": 2.8
          },
          {
            "time": 1110,
            "value": 3.2
          },
          {
            "time": 1320,
            "value": 5.4
          },
          {
            "time": 1530,
            "value": 6.2
          },
          {
            "time": 1800,
            "value": 3
          },
          {
            "time": 1980,
            "value": 1
          },
          {
            "time": 2160,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#143a54",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 12
          },
          {
            "time": 120,
            "value": "#1f7486",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 240,
            "value": "#35b99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 30
          },
          {
            "time": 390,
            "value": "#60c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 38
          },
          {
            "time": 540,
            "value": "#d2c84a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.48,
            "auroraDepth": 46
          },
          {
            "time": 720,
            "value": "#f0b23d",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.58,
            "auroraDepth": 52
          },
          {
            "time": 900,
            "value": "#ffd95a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.52,
            "auroraDepth": 50
          },
          {
            "time": 1110,
            "value": "#8bd76c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.4,
            "auroraDepth": 40
          },
          {
            "time": 1320,
            "value": "#3a8ec4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 46
          },
          {
            "time": 1530,
            "value": "#4550b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 42
          },
          {
            "time": 1800,
            "value": "#4fbf9c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 28
          },
          {
            "time": 1980,
            "value": "#d9a26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2160,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "subconscious-mind-power": {
    "title": "Kracht van het onderbewuste (Mentaal)",
    "titleEn": "Subconscious Mind Power (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van ontvankelijkheid van het onderbewuste, innerlijke beelden, positieve verandering, intuitieve toegang en diepe integratie van persoonlijke richting.",
    "goalEn": "Designed to support subconscious receptivity, inner imagery, positive change, intuitive access, and deep integration of personal direction.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 44,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2520,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Inner Doorway",
          "nameEn": "Arrival / Inner Doorway",
          "purpose": "Guides attention inward and prepares the mind for subconscious openness.",
          "purposeEn": "Guides attention inward and prepares the mind for subconscious openness."
        },
        {
          "time": 300,
          "name": "Alpha Induction",
          "nameEn": "Alpha Induction",
          "purpose": "Stabilizes relaxed alertness and softens conscious effort.",
          "purposeEn": "Stabilizes relaxed alertness and softens conscious effort."
        },
        {
          "time": 720,
          "name": "Theta Descent",
          "nameEn": "Theta Descent",
          "purpose": "Deepens inner imagery, receptivity, and intuitive association.",
          "purposeEn": "Deepens inner imagery, receptivity, and intuitive association."
        },
        {
          "time": 1200,
          "name": "Subconscious Immersion",
          "nameEn": "Subconscious Immersion",
          "purpose": "Promotes spacious absorption with Infinity Ganzfeld™, slow Aurora Immersion™, and deep theta pacing.",
          "purposeEn": "Promotes spacious absorption with Infinity Ganzfeld™, slow Aurora Immersion™, and deep theta pacing."
        },
        {
          "time": 1740,
          "name": "Power Integration",
          "nameEn": "Power Integration",
          "purpose": "Builds positive direction, symbolic clarity, and emotionally grounded change.",
          "purposeEn": "Builds positive direction, symbolic clarity, and emotionally grounded change."
        },
        {
          "time": 2220,
          "name": "Return / Conscious Bridge",
          "nameEn": "Return / Conscious Bridge",
          "purpose": "Integrates the subconscious work into calm awareness and practical clarity.",
          "purposeEn": "Integrates the subconscious work into calm awareness and practical clarity."
        },
        {
          "time": 2520,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in centered presence and inner alignment.",
          "purposeEn": "Completes the session in centered presence and inner alignment."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2370,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 510,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2220,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2370,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2520,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 150,
            "value": 30
          },
          {
            "time": 300,
            "value": 44
          },
          {
            "time": 510,
            "value": 56
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 960,
            "value": 76
          },
          {
            "time": 1200,
            "value": 84
          },
          {
            "time": 1500,
            "value": 82
          },
          {
            "time": 1740,
            "value": 74
          },
          {
            "time": 1980,
            "value": 66
          },
          {
            "time": 2220,
            "value": 48
          },
          {
            "time": 2370,
            "value": 30
          },
          {
            "time": 2520,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 510,
            "value": 6
          },
          {
            "time": 720,
            "value": 4
          },
          {
            "time": 960,
            "value": 2
          },
          {
            "time": 1200,
            "value": 0
          },
          {
            "time": 1500,
            "value": 0
          },
          {
            "time": 1740,
            "value": 8
          },
          {
            "time": 1980,
            "value": 12
          },
          {
            "time": 2220,
            "value": 8
          },
          {
            "time": 2370,
            "value": 3
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 22
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 510,
            "value": 32
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 960,
            "value": 32
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1500,
            "value": 26
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 1980,
            "value": 32
          },
          {
            "time": 2220,
            "value": 24
          },
          {
            "time": 2370,
            "value": 14
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 150,
            "value": 56
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 510,
            "value": 72
          },
          {
            "time": 720,
            "value": 76
          },
          {
            "time": 960,
            "value": 78
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1500,
            "value": 72
          },
          {
            "time": 1740,
            "value": 78
          },
          {
            "time": 1980,
            "value": 74
          },
          {
            "time": 2220,
            "value": 60
          },
          {
            "time": 2370,
            "value": 42
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 510,
            "value": 18
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 960,
            "value": 28
          },
          {
            "time": 1200,
            "value": 34
          },
          {
            "time": 1500,
            "value": 32
          },
          {
            "time": 1740,
            "value": 24
          },
          {
            "time": 1980,
            "value": 18
          },
          {
            "time": 2220,
            "value": 10
          },
          {
            "time": 2370,
            "value": 4
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 510,
            "value": 32
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 960,
            "value": 54
          },
          {
            "time": 1200,
            "value": 66
          },
          {
            "time": 1500,
            "value": 62
          },
          {
            "time": 1740,
            "value": 52
          },
          {
            "time": 1980,
            "value": 40
          },
          {
            "time": 2220,
            "value": 24
          },
          {
            "time": 2370,
            "value": 10
          },
          {
            "time": 2520,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 510,
            "value": 3.8
          },
          {
            "time": 720,
            "value": 5.8
          },
          {
            "time": 960,
            "value": 7.2
          },
          {
            "time": 1200,
            "value": 9.2
          },
          {
            "time": 1500,
            "value": 8.6
          },
          {
            "time": 1740,
            "value": 6.4
          },
          {
            "time": 1980,
            "value": 4.2
          },
          {
            "time": 2220,
            "value": 2.2
          },
          {
            "time": 2370,
            "value": 1
          },
          {
            "time": 2520,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#14385f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 16
          },
          {
            "time": 150,
            "value": "#1f6f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 300,
            "value": "#2746a6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 510,
            "value": "#3b2aa0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 44
          },
          {
            "time": 720,
            "value": "#4f238f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 56
          },
          {
            "time": 960,
            "value": "#6826a8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 66
          },
          {
            "time": 1200,
            "value": "#34165f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 82
          },
          {
            "time": 1500,
            "value": "#231044",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 74
          },
          {
            "time": 1740,
            "value": "#7832b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 60
          },
          {
            "time": 1980,
            "value": "#b04ac2",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 46
          },
          {
            "time": 2220,
            "value": "#3fb8a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 2370,
            "value": "#d7a36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 12
          },
          {
            "time": 2520,
            "value": "#241914",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2520
  },
  "suggestion-amplifier": {
    "title": "Suggestieversterker (Mentaal)",
    "titleEn": "Suggestion Amplifier (Mental)",
    "category": "hypnose",
    "goal": "Ontworpen ter ondersteuning van een ontvankelijke hypnotische staat, diepere gerichte aandacht en versterkte integratie van positieve suggesties.",
    "goalEn": "Designed to support a receptive hypnotic state, deepen focused attention, and amplify the integration of positive suggestions.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1500,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guide attention inward and prepare receptivity.",
          "purposeEn": "Guide attention inward and prepare receptivity."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Build relaxed alertness and steady sensory rhythm.",
          "purposeEn": "Build relaxed alertness and steady sensory rhythm."
        },
        {
          "time": 420,
          "name": "Trance Opening",
          "nameEn": "Trance Opening",
          "purpose": "Deepen into theta and increase access to inner imagery.",
          "purposeEn": "Deepen into theta and increase access to inner imagery."
        },
        {
          "time": 780,
          "name": "Suggestion Window",
          "nameEn": "Suggestion Window",
          "purpose": "Stabilize a receptive plateau designed to support focused suggestions.",
          "purposeEn": "Stabilize a receptive plateau designed to support focused suggestions."
        },
        {
          "time": 1080,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate the suggestion experience with calm clarity.",
          "purposeEn": "Integrate the suggestion experience with calm clarity."
        },
        {
          "time": 1320,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return smoothly with balanced awareness and inner steadiness.",
          "purposeEn": "Return smoothly with balanced awareness and inner steadiness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.4
          },
          {
            "time": 180,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 7.6
          },
          {
            "time": 420,
            "value": 6.9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.2
          },
          {
            "time": 780,
            "value": 5.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 930,
            "value": 5.3
          },
          {
            "time": 1080,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.8
          },
          {
            "time": 1320,
            "value": 8.9,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.2
          },
          {
            "time": 180,
            "value": 8.5,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 7.4
          },
          {
            "time": 420,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 780,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 930,
            "value": 5.2
          },
          {
            "time": 1080,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.6
          },
          {
            "time": 1320,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 35
          },
          {
            "time": 180,
            "value": 50
          },
          {
            "time": 300,
            "value": 60
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 82
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 930,
            "value": 92
          },
          {
            "time": 1080,
            "value": 75
          },
          {
            "time": 1200,
            "value": 58
          },
          {
            "time": 1320,
            "value": 36
          },
          {
            "time": 1500,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 90,
            "value": 5
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 600,
            "value": 3
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 930,
            "value": 0
          },
          {
            "time": 1080,
            "value": 8
          },
          {
            "time": 1200,
            "value": 18
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 22
          },
          {
            "time": 180,
            "value": 32
          },
          {
            "time": 300,
            "value": 40
          },
          {
            "time": 420,
            "value": 48
          },
          {
            "time": 600,
            "value": 54
          },
          {
            "time": 780,
            "value": 50
          },
          {
            "time": 930,
            "value": 46
          },
          {
            "time": 1080,
            "value": 38
          },
          {
            "time": 1200,
            "value": 30
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 90,
            "value": 55
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 68
          },
          {
            "time": 420,
            "value": 72
          },
          {
            "time": 600,
            "value": 76
          },
          {
            "time": 780,
            "value": 78
          },
          {
            "time": 930,
            "value": 76
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1200,
            "value": 64
          },
          {
            "time": 1320,
            "value": 50
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 20
          },
          {
            "time": 780,
            "value": 26
          },
          {
            "time": 930,
            "value": 28
          },
          {
            "time": 1080,
            "value": 18
          },
          {
            "time": 1200,
            "value": 10
          },
          {
            "time": 1320,
            "value": 4
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 600,
            "value": 42
          },
          {
            "time": 780,
            "value": 52
          },
          {
            "time": 930,
            "value": 58
          },
          {
            "time": 1080,
            "value": 38
          },
          {
            "time": 1200,
            "value": 26
          },
          {
            "time": 1320,
            "value": 14
          },
          {
            "time": 1500,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.8
          },
          {
            "time": 300,
            "value": 3.6
          },
          {
            "time": 420,
            "value": 5.2
          },
          {
            "time": 600,
            "value": 6.8
          },
          {
            "time": 780,
            "value": 8.5
          },
          {
            "time": 930,
            "value": 9.2
          },
          {
            "time": 1080,
            "value": 5.6
          },
          {
            "time": 1200,
            "value": 3.4
          },
          {
            "time": 1320,
            "value": 1.8
          },
          {
            "time": 1500,
            "value": 0.6
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f5fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 20
          },
          {
            "time": 90,
            "value": "#35c7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 180,
            "value": "#22d6b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 300,
            "value": "#4a7cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 44
          },
          {
            "time": 420,
            "value": "#5b3cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.24,
            "auroraDepth": 58
          },
          {
            "time": 600,
            "value": "#7a36ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 64
          },
          {
            "time": 780,
            "value": "#341a73",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.14,
            "auroraDepth": 72
          },
          {
            "time": 930,
            "value": "#5d2bd9",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.16,
            "auroraDepth": 78
          },
          {
            "time": 1080,
            "value": "#9b4dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 52
          },
          {
            "time": 1200,
            "value": "#ffb347",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 34
          },
          {
            "time": 1320,
            "value": "#ffd27a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 18
          },
          {
            "time": 1500,
            "value": "#ffcc88",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1500
  },
  "tame-monkey-mind": {
    "title": "Drukke geest temmen (Mentaal)",
    "titleEn": "Tame Monkey Mind (Mental)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van mentale stilte, een stillere innerlijke dialoog, ontspannen bewustzijn, emotionele regulatie en stabiele meditatieve aanwezigheid.",
    "goalEn": "Designed to support mental stillness, quieter inner dialogue, relaxed awareness, emotional regulation, and steady meditative presence.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 44,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2280,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival / Settling",
          "nameEn": "Arrival / Settling",
          "purpose": "Guides attention away from scattered thought and into the body.",
          "purposeEn": "Guides attention away from scattered thought and into the body."
        },
        {
          "time": 300,
          "name": "Alpha Quieting",
          "nameEn": "Alpha Quieting",
          "purpose": "Stabilizes relaxed alertness and begins reducing mental chatter.",
          "purposeEn": "Stabilizes relaxed alertness and begins reducing mental chatter."
        },
        {
          "time": 660,
          "name": "Theta Softening",
          "nameEn": "Theta Softening",
          "purpose": "Deepens the shift from thinking into spacious awareness.",
          "purposeEn": "Deepens the shift from thinking into spacious awareness."
        },
        {
          "time": 1080,
          "name": "Silent Mind Plateau",
          "nameEn": "Silent Mind Plateau",
          "purpose": "Promotes a calm inner field with slow light, soft noise, and immersive depth.",
          "purposeEn": "Promotes a calm inner field with slow light, soft noise, and immersive depth."
        },
        {
          "time": 1560,
          "name": "Open Awareness",
          "nameEn": "Open Awareness",
          "purpose": "Integrates silence, emotional balance, and gentle intuitive clarity.",
          "purposeEn": "Integrates silence, emotional balance, and gentle intuitive clarity."
        },
        {
          "time": 1980,
          "name": "Landing / Steady Presence",
          "nameEn": "Landing / Steady Presence",
          "purpose": "Returns gradually to calm wakefulness without reactivating mental noise.",
          "purposeEn": "Returns gradually to calm wakefulness without reactivating mental noise."
        },
        {
          "time": 2280,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Completes the session in grounded stillness and clear presence.",
          "purposeEn": "Completes the session in grounded stillness and clear presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 11.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 150,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 150,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 870,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2130,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 150,
            "value": 28
          },
          {
            "time": 300,
            "value": 42
          },
          {
            "time": 480,
            "value": 54
          },
          {
            "time": 660,
            "value": 66
          },
          {
            "time": 870,
            "value": 74
          },
          {
            "time": 1080,
            "value": 80
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1560,
            "value": 68
          },
          {
            "time": 1800,
            "value": 58
          },
          {
            "time": 1980,
            "value": 42
          },
          {
            "time": 2130,
            "value": 24
          },
          {
            "time": 2280,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 150,
            "value": 6
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 480,
            "value": 6
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 870,
            "value": 2
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1560,
            "value": 6
          },
          {
            "time": 1800,
            "value": 10
          },
          {
            "time": 1980,
            "value": 6
          },
          {
            "time": 2130,
            "value": 2
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 150,
            "value": 21
          },
          {
            "time": 300,
            "value": 27
          },
          {
            "time": 480,
            "value": 31
          },
          {
            "time": 660,
            "value": 32
          },
          {
            "time": 870,
            "value": 30
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1800,
            "value": 30
          },
          {
            "time": 1980,
            "value": 22
          },
          {
            "time": 2130,
            "value": 12
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 150,
            "value": 54
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 870,
            "value": 76
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 74
          },
          {
            "time": 1800,
            "value": 70
          },
          {
            "time": 1980,
            "value": 56
          },
          {
            "time": 2130,
            "value": 38
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 150,
            "value": 10
          },
          {
            "time": 300,
            "value": 16
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 660,
            "value": 22
          },
          {
            "time": 870,
            "value": 28
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 1980,
            "value": 9
          },
          {
            "time": 2130,
            "value": 3
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 150,
            "value": 16
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 44
          },
          {
            "time": 870,
            "value": 54
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1320,
            "value": 60
          },
          {
            "time": 1560,
            "value": 48
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 1980,
            "value": 22
          },
          {
            "time": 2130,
            "value": 8
          },
          {
            "time": 2280,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 150,
            "value": 1.6
          },
          {
            "time": 300,
            "value": 2.6
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 660,
            "value": 5.6
          },
          {
            "time": 870,
            "value": 7
          },
          {
            "time": 1080,
            "value": 8.8
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1560,
            "value": 5.8
          },
          {
            "time": 1800,
            "value": 3.8
          },
          {
            "time": 1980,
            "value": 2
          },
          {
            "time": 2130,
            "value": 0.9
          },
          {
            "time": 2280,
            "value": 0.3
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#12385a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 14
          },
          {
            "time": 150,
            "value": "#1c6f8a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 300,
            "value": "#249f96",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 32
          },
          {
            "time": 480,
            "value": "#2f8fc7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 40
          },
          {
            "time": 660,
            "value": "#3550b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 52
          },
          {
            "time": 870,
            "value": "#4b2a9a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 62
          },
          {
            "time": 1080,
            "value": "#251653",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1320,
            "value": "#1b123d",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.08,
            "auroraDepth": 70
          },
          {
            "time": 1560,
            "value": "#3d2d9c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 54
          },
          {
            "time": 1800,
            "value": "#36a2a4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 38
          },
          {
            "time": 1980,
            "value": "#62c08d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 2130,
            "value": "#d59a6a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 10
          },
          {
            "time": 2280,
            "value": "#211814",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2280
  },
  "willpower": {
    "title": "Wilskracht opbouwen (Mentaal)",
    "titleEn": "Willpower Builder (Mental)",
    "category": "energie",
    "subcategory": "motivation",
    "goal": "Ontworpen ter ondersteuning van wilskracht, gedisciplineerde focus, zelfsturing en stabiele opvolging.",
    "goalEn": "Designed to support willpower, disciplined focus, self-command, and steady follow-through.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Start / Grounded Arrival",
          "nameEn": "Start / Grounded Arrival",
          "purpose": "Settle the body, collect attention, and create a calm foundation for deliberate self-direction.",
          "purposeEn": "Settle the body, collect attention, and create a calm foundation for deliberate self-direction."
        },
        {
          "time": 180,
          "name": "Stabilization / Clear Intention",
          "nameEn": "Stabilization / Clear Intention",
          "purpose": "Build relaxed alertness and align attention with a chosen inner direction.",
          "purposeEn": "Build relaxed alertness and align attention with a chosen inner direction."
        },
        {
          "time": 420,
          "name": "Build-up / Mental Command",
          "nameEn": "Build-up / Mental Command",
          "purpose": "Activate focused energy, cognitive control, and decisive inner momentum.",
          "purposeEn": "Activate focused energy, cognitive control, and decisive inner momentum."
        },
        {
          "time": 780,
          "name": "Core Phase / Willpower Activation",
          "nameEn": "Core Phase / Willpower Activation",
          "purpose": "Promote disciplined focus, stable determination, and forward movement through resistance.",
          "purposeEn": "Promote disciplined focus, stable determination, and forward movement through resistance."
        },
        {
          "time": 1140,
          "name": "Peak / Determined Action",
          "nameEn": "Peak / Determined Action",
          "purpose": "Strengthen confident follow-through with a clear, energized, goal-directed state.",
          "purposeEn": "Strengthen confident follow-through with a clear, energized, goal-directed state."
        },
        {
          "time": 1500,
          "name": "Integration / Calm Strength",
          "nameEn": "Integration / Calm Strength",
          "purpose": "Integrate focused activation into composed self-control and sustainable resolve.",
          "purposeEn": "Integrate focused activation into composed self-control and sustainable resolve."
        },
        {
          "time": 1800,
          "name": "Landing / Steady Close",
          "nameEn": "Landing / Steady Close",
          "purpose": "Return to a grounded, clear, and balanced state with quiet confidence.",
          "purposeEn": "Return to a grounded, clear, and balanced state with quiet confidence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8
          },
          {
            "time": 180,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 11.6
          },
          {
            "time": 420,
            "value": 13.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 600,
            "value": 15.5
          },
          {
            "time": 780,
            "value": 16.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 18.2
          },
          {
            "time": 1140,
            "value": 19.5,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1260,
            "value": 21
          },
          {
            "time": 1380,
            "value": 18.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 12.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 10.6
          },
          {
            "time": 1800,
            "value": 9.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.6
          },
          {
            "time": 180,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 11.4
          },
          {
            "time": 420,
            "value": 13,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 600,
            "value": 15.2
          },
          {
            "time": 780,
            "value": 16.5,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 18
          },
          {
            "time": 1140,
            "value": 19.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1260,
            "value": 20.5
          },
          {
            "time": 1380,
            "value": 18.5,
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 12.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1650,
            "value": 10.5
          },
          {
            "time": 1800,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 30
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 55
          },
          {
            "time": 420,
            "value": 65
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 960,
            "value": 88
          },
          {
            "time": 1140,
            "value": 92
          },
          {
            "time": 1260,
            "value": 86
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1500,
            "value": 54
          },
          {
            "time": 1650,
            "value": 32
          },
          {
            "time": 1800,
            "value": 14
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 120,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 600,
            "value": 22
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 960,
            "value": 34
          },
          {
            "time": 1140,
            "value": 42
          },
          {
            "time": 1260,
            "value": 38
          },
          {
            "time": 1380,
            "value": 26
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1650,
            "value": 7
          },
          {
            "time": 1800,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 600,
            "value": 55
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 960,
            "value": 68
          },
          {
            "time": 1140,
            "value": 72
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1380,
            "value": 58
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1650,
            "value": 26
          },
          {
            "time": 1800,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 54
          },
          {
            "time": 120,
            "value": 62
          },
          {
            "time": 180,
            "value": 66
          },
          {
            "time": 300,
            "value": 70
          },
          {
            "time": 420,
            "value": 74
          },
          {
            "time": 600,
            "value": 78
          },
          {
            "time": 780,
            "value": 80
          },
          {
            "time": 960,
            "value": 82
          },
          {
            "time": 1140,
            "value": 84
          },
          {
            "time": 1260,
            "value": 80
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1500,
            "value": 68
          },
          {
            "time": 1650,
            "value": 58
          },
          {
            "time": 1800,
            "value": 42
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 180,
            "value": 15
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 420,
            "value": 0
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 7
          },
          {
            "time": 1260,
            "value": 12
          },
          {
            "time": 1380,
            "value": 8
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1650,
            "value": 10
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 600,
            "value": 14
          },
          {
            "time": 780,
            "value": 12
          },
          {
            "time": 960,
            "value": 13
          },
          {
            "time": 1140,
            "value": 24
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1380,
            "value": 26
          },
          {
            "time": 1500,
            "value": 22
          },
          {
            "time": 1650,
            "value": 16
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 1.6
          },
          {
            "time": 600,
            "value": 1.4
          },
          {
            "time": 780,
            "value": 1.3
          },
          {
            "time": 960,
            "value": 1.4
          },
          {
            "time": 1140,
            "value": 3.4
          },
          {
            "time": 1260,
            "value": 4.2
          },
          {
            "time": 1380,
            "value": 3.2
          },
          {
            "time": 1500,
            "value": 2.6
          },
          {
            "time": 1650,
            "value": 1.8
          },
          {
            "time": 1800,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f5fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 120,
            "value": "#20c7c7",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 180,
            "value": "#28d67b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 38
          },
          {
            "time": 300,
            "value": "#74e86d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.38,
            "auroraDepth": 45
          },
          {
            "time": 420,
            "value": "#ffd24a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.5,
            "auroraDepth": 46
          },
          {
            "time": 600,
            "value": "#ff9e2f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.72,
            "auroraDepth": 55
          },
          {
            "time": 780,
            "value": "#ff6b25",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.88,
            "auroraDepth": 62
          },
          {
            "time": 960,
            "value": "#ff3d3d",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.05,
            "auroraDepth": 68
          },
          {
            "time": 1140,
            "value": "#ffdf5c",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.18,
            "auroraDepth": 72
          },
          {
            "time": 1260,
            "value": "#fff0a8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.95,
            "auroraDepth": 58
          },
          {
            "time": 1380,
            "value": "#ffc15a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.66,
            "auroraDepth": 48
          },
          {
            "time": 1500,
            "value": "#46d69a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.36,
            "auroraDepth": 34
          },
          {
            "time": 1650,
            "value": "#56b8ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 26
          },
          {
            "time": 1800,
            "value": "#b9e6ff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "adaptability": {
    "title": "Aanpassingsvermogen (Emotioneel)",
    "titleEn": "Adaptability (Emotional)",
    "category": "energie",
    "subcategory": "motivation",
    "goal": "Ontworpen ter ondersteuning van flexibel denken, emotionele reset, creatieve aanpassing, rustige veerkracht en zelfverzekerd reageren op verandering.",
    "goalEn": "Designed to support flexible thinking, emotional reset, creative adjustment, calm resilience, and confident response to change.",
    "marketplaceListingId": "",
    "carrier": 417,
    "musicCrossfadeSeconds": 26,
    "colorCrossfadeSeconds": 50,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1980,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the system into calm readiness and softens rigid inner pacing.",
          "purposeEn": "Guides the system into calm readiness and softens rigid inner pacing."
        },
        {
          "time": 210,
          "name": "Reset Stabilization",
          "nameEn": "Reset Stabilization",
          "purpose": "Stabilizes attention and opens space for new response patterns.",
          "purposeEn": "Stabilizes attention and opens space for new response patterns."
        },
        {
          "time": 480,
          "name": "Flexibility Descent",
          "nameEn": "Flexibility Descent",
          "purpose": "Promotes cognitive looseness, emotional release, and creative inner movement.",
          "purposeEn": "Promotes cognitive looseness, emotional release, and creative inner movement."
        },
        {
          "time": 840,
          "name": "Adaptive Imagination",
          "nameEn": "Adaptive Imagination",
          "purpose": "Deepens spacious insight with immersive color, slow rhythm, and nonlinear association.",
          "purposeEn": "Deepens spacious insight with immersive color, slow rhythm, and nonlinear association."
        },
        {
          "time": 1200,
          "name": "Reorientation",
          "nameEn": "Reorientation",
          "purpose": "Builds a flexible bridge from inner insight to practical clarity.",
          "purposeEn": "Builds a flexible bridge from inner insight to practical clarity."
        },
        {
          "time": 1560,
          "name": "Responsive Action",
          "nameEn": "Responsive Action",
          "purpose": "Activates confident adjustment, alert calm, and constructive forward movement.",
          "purposeEn": "Activates confident adjustment, alert calm, and constructive forward movement."
        },
        {
          "time": 1980,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Integrates adaptability into grounded presence and steady self-trust.",
          "purposeEn": "Integrates adaptability into grounded presence and steady self-trust."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.9,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 9,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 10.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 12.2,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1980,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.5,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.3,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 8.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 10.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 12,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1980,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 105,
            "value": 32
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 345,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1200,
            "value": 76
          },
          {
            "time": 1380,
            "value": 68
          },
          {
            "time": 1560,
            "value": 72
          },
          {
            "time": 1740,
            "value": 78
          },
          {
            "time": 1980,
            "value": 24
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 6
          },
          {
            "time": 210,
            "value": 9
          },
          {
            "time": 345,
            "value": 8
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 2
          },
          {
            "time": 1200,
            "value": 8
          },
          {
            "time": 1380,
            "value": 16
          },
          {
            "time": 1560,
            "value": 26
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 1980,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 42
          },
          {
            "time": 1380,
            "value": 48
          },
          {
            "time": 1560,
            "value": 54
          },
          {
            "time": 1740,
            "value": 56
          },
          {
            "time": 1980,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 840,
            "value": 72
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1740,
            "value": 74
          },
          {
            "time": 1980,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 38
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 36
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1380,
            "value": 14
          },
          {
            "time": 1560,
            "value": 4
          },
          {
            "time": 1740,
            "value": 0
          },
          {
            "time": 1980,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 46
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1200,
            "value": 44
          },
          {
            "time": 1380,
            "value": 32
          },
          {
            "time": 1560,
            "value": 22
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 1980,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.4
          },
          {
            "time": 660,
            "value": 7
          },
          {
            "time": 840,
            "value": 9
          },
          {
            "time": 1020,
            "value": 7.8
          },
          {
            "time": 1200,
            "value": 5.2
          },
          {
            "time": 1380,
            "value": 3.6
          },
          {
            "time": 1560,
            "value": 2.2
          },
          {
            "time": 1740,
            "value": 1.5
          },
          {
            "time": 1980,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#38d39f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#47c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#3d64d8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#6541c8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#5a2e8c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#294ea3",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#1fbf9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 44
          },
          {
            "time": 1380,
            "value": "#8fd45a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 34
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.44,
            "auroraDepth": 28
          },
          {
            "time": 1740,
            "value": "#ff9f1c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.58,
            "auroraDepth": 34
          },
          {
            "time": 1980,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1980
  },
  "archieve-flow": {
    "title": "Flow bereiken (Emotioneel)",
    "titleEn": "Achieve Flow (Emotional)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Begeleidt de geest naar een ontspannen-alerte flowstaat met progressieve focusactivatie, immersieve momentumopbouw, piekstabiliteit en soepele integratie.",
    "goalEn": "Guides the mind into a relaxed-alert flow state with progressive focus activation, immersive momentum, peak stability, and smooth integration.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention, releases scattered thinking, and opens the pathway toward relaxed alertness.",
          "purposeEn": "Settles attention, releases scattered thinking, and opens the pathway toward relaxed alertness."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Builds steady alpha focus with balanced sensory engagement and clean mental organization.",
          "purposeEn": "Builds steady alpha focus with balanced sensory engagement and clean mental organization."
        },
        {
          "time": 540,
          "name": "Flow Build",
          "nameEn": "Flow Build",
          "purpose": "Raises cognitive momentum into low beta while preserving calm, spacious concentration.",
          "purposeEn": "Raises cognitive momentum into low beta while preserving calm, spacious concentration."
        },
        {
          "time": 900,
          "name": "Peak Flow Plateau",
          "nameEn": "Peak Flow Plateau",
          "purpose": "Activates sustained flow, task absorption, confidence, precision, and effortless momentum.",
          "purposeEn": "Activates sustained flow, task absorption, confidence, precision, and effortless momentum."
        },
        {
          "time": 1380,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Stabilizes the achieved state and blends alert clarity with relaxed control.",
          "purposeEn": "Stabilizes the achieved state and blends alert clarity with relaxed control."
        },
        {
          "time": 1740,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Returns to an open, grounded, ready state while preserving flow after-effects.",
          "purposeEn": "Returns to an open, grounded, ready state while preserving flow after-effects."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 15.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1140,
            "value": 16.4,
            "lightPulseShape": "square"
          },
          {
            "time": 1260,
            "value": 15.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1380,
            "value": 13.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 11.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 12.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 720,
            "value": 13.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 900,
            "value": 15,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 16.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic",
            "audioPulseShape": "square",
            "pulseShape": "square"
          },
          {
            "time": 1260,
            "value": 15.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1380,
            "value": 13,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "none",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 36
          },
          {
            "time": 240,
            "value": 52
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 540,
            "value": 72
          },
          {
            "time": 720,
            "value": 82
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1080,
            "value": 94
          },
          {
            "time": 1260,
            "value": 90
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1560,
            "value": 58
          },
          {
            "time": 1740,
            "value": 38
          },
          {
            "time": 1920,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 420,
            "value": 16
          },
          {
            "time": 540,
            "value": 22
          },
          {
            "time": 720,
            "value": 28
          },
          {
            "time": 900,
            "value": 34
          },
          {
            "time": 1080,
            "value": 42
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1380,
            "value": 26
          },
          {
            "time": 1560,
            "value": 18
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 1920,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 38
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 540,
            "value": 56
          },
          {
            "time": 720,
            "value": 64
          },
          {
            "time": 900,
            "value": 70
          },
          {
            "time": 1080,
            "value": 76
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1380,
            "value": 58
          },
          {
            "time": 1560,
            "value": 44
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 1920,
            "value": 16
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 540,
            "value": 72
          },
          {
            "time": 720,
            "value": 76
          },
          {
            "time": 900,
            "value": 80
          },
          {
            "time": 1080,
            "value": 82
          },
          {
            "time": 1260,
            "value": 78
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1560,
            "value": 64
          },
          {
            "time": 1740,
            "value": 52
          },
          {
            "time": 1920,
            "value": 36
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 18
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 540,
            "value": 4
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 8
          },
          {
            "time": 1080,
            "value": 14
          },
          {
            "time": 1260,
            "value": 10
          },
          {
            "time": 1380,
            "value": 12
          },
          {
            "time": 1560,
            "value": 8
          },
          {
            "time": 1740,
            "value": 2
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 20
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 26
          },
          {
            "time": 1080,
            "value": 32
          },
          {
            "time": 1260,
            "value": 28
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 240,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 2.8
          },
          {
            "time": 540,
            "value": 1.6
          },
          {
            "time": 720,
            "value": 1.4
          },
          {
            "time": 900,
            "value": 3.6
          },
          {
            "time": 1080,
            "value": 4.4
          },
          {
            "time": 1260,
            "value": 3.8
          },
          {
            "time": 1380,
            "value": 2.2
          },
          {
            "time": 1560,
            "value": 1.7
          },
          {
            "time": 1740,
            "value": 1
          },
          {
            "time": 1920,
            "value": 0.4
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f7cff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 120,
            "value": "#25c6ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 240,
            "value": "#35f2c6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 42
          },
          {
            "time": 420,
            "value": "#46ff94",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.44,
            "auroraDepth": 46
          },
          {
            "time": 540,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.62,
            "auroraDepth": 52
          },
          {
            "time": 720,
            "value": "#ff9f1c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.78,
            "auroraDepth": 58
          },
          {
            "time": 900,
            "value": "#ff6b35",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.92,
            "auroraDepth": 66
          },
          {
            "time": 1080,
            "value": "#ffffff",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.08,
            "auroraDepth": 72
          },
          {
            "time": 1260,
            "value": "#f7b733",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.74,
            "auroraDepth": 58
          },
          {
            "time": 1380,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 42
          },
          {
            "time": 1560,
            "value": "#7bdff2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 28
          },
          {
            "time": 1740,
            "value": "#ffd6a5",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 1920,
            "value": "#fff1d6",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "beat-depression": {
    "title": "Stemmingslift activatie (Emotioneel)",
    "titleEn": "Mood Lift Activation (Emotional)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van emotionele opwaartse beweging, hernieuwde energie, innerlijke warmte, motivatie en een stabiele terugkeer naar lichtere voorwaartse beweging.",
    "goalEn": "Designed to support emotional uplift, renewed energy, inner warmth, motivation, and a steady return to brighter forward movement.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the system into a gentle emotional opening with low pressure and soft warmth.",
          "purposeEn": "Guides the system into a gentle emotional opening with low pressure and soft warmth."
        },
        {
          "time": 210,
          "name": "Warm Stabilization",
          "nameEn": "Warm Stabilization",
          "purpose": "Stabilizes attention and begins shifting the mood field toward balanced alpha presence.",
          "purposeEn": "Stabilizes attention and begins shifting the mood field toward balanced alpha presence."
        },
        {
          "time": 480,
          "name": "Emotional Opening",
          "nameEn": "Emotional Opening",
          "purpose": "Deepens inward receptivity and promotes a soft release of heaviness.",
          "purposeEn": "Deepens inward receptivity and promotes a soft release of heaviness."
        },
        {
          "time": 840,
          "name": "Inner Light Plateau",
          "nameEn": "Inner Light Plateau",
          "purpose": "Creates a spacious immersive phase for emotional warmth, imagery, and renewed inner connection.",
          "purposeEn": "Creates a spacious immersive phase for emotional warmth, imagery, and renewed inner connection."
        },
        {
          "time": 1200,
          "name": "Uplift Build",
          "nameEn": "Uplift Build",
          "purpose": "Builds brighter emotional tone, motivation, and forward movement through rising alpha energy.",
          "purposeEn": "Builds brighter emotional tone, motivation, and forward movement through rising alpha energy."
        },
        {
          "time": 1560,
          "name": "Positive Activation",
          "nameEn": "Positive Activation",
          "purpose": "Activates clean confidence, momentum, and purposeful engagement without losing calm balance.",
          "purposeEn": "Activates clean confidence, momentum, and purposeful engagement without losing calm balance."
        },
        {
          "time": 2040,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Integrates warmth, steadiness, and emotional brightness into a grounded close.",
          "purposeEn": "Integrates warmth, steadiness, and emotional brightness into a grounded close."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 360,
            "value": 8.9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 9.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 11.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 12.8,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1890,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 360,
            "value": 8.7,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 11.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 12.5,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1890,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 105,
            "value": 32
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 360,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 90
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1740,
            "value": 84
          },
          {
            "time": 1890,
            "value": 58
          },
          {
            "time": 2040,
            "value": 24
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 105,
            "value": 7
          },
          {
            "time": 210,
            "value": 10
          },
          {
            "time": 360,
            "value": 8
          },
          {
            "time": 480,
            "value": 5
          },
          {
            "time": 660,
            "value": 2
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 3
          },
          {
            "time": 1200,
            "value": 10
          },
          {
            "time": 1380,
            "value": 18
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 36
          },
          {
            "time": 1890,
            "value": 20
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 360,
            "value": 34
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 34
          },
          {
            "time": 1020,
            "value": 36
          },
          {
            "time": 1200,
            "value": 42
          },
          {
            "time": 1380,
            "value": 48
          },
          {
            "time": 1560,
            "value": 54
          },
          {
            "time": 1740,
            "value": 58
          },
          {
            "time": 1890,
            "value": 36
          },
          {
            "time": 2040,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 62
          },
          {
            "time": 360,
            "value": 66
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 840,
            "value": 72
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 76
          },
          {
            "time": 1380,
            "value": 78
          },
          {
            "time": 1560,
            "value": 80
          },
          {
            "time": 1740,
            "value": 78
          },
          {
            "time": 1890,
            "value": 58
          },
          {
            "time": 2040,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 360,
            "value": 24
          },
          {
            "time": 480,
            "value": 30
          },
          {
            "time": 660,
            "value": 34
          },
          {
            "time": 840,
            "value": 40
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1380,
            "value": 16
          },
          {
            "time": 1560,
            "value": 6
          },
          {
            "time": 1740,
            "value": 2
          },
          {
            "time": 1890,
            "value": 0
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 18
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 360,
            "value": 34
          },
          {
            "time": 480,
            "value": 46
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 64
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1200,
            "value": 48
          },
          {
            "time": 1380,
            "value": 38
          },
          {
            "time": 1560,
            "value": 26
          },
          {
            "time": 1740,
            "value": 20
          },
          {
            "time": 1890,
            "value": 14
          },
          {
            "time": 2040,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.1
          },
          {
            "time": 105,
            "value": 1.7
          },
          {
            "time": 210,
            "value": 2.8
          },
          {
            "time": 360,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.6
          },
          {
            "time": 660,
            "value": 7
          },
          {
            "time": 840,
            "value": 8.6
          },
          {
            "time": 1020,
            "value": 7.4
          },
          {
            "time": 1200,
            "value": 5.4
          },
          {
            "time": 1380,
            "value": 3.8
          },
          {
            "time": 1560,
            "value": 2.4
          },
          {
            "time": 1740,
            "value": 1.8
          },
          {
            "time": 1890,
            "value": 1.3
          },
          {
            "time": 2040,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#355cff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#2db7d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 360,
            "value": "#55c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 42
          },
          {
            "time": 480,
            "value": "#4f5bd5",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.17,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#6c3bbf",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#612b8a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#3b5fb8",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.15,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#2fbf92",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 44
          },
          {
            "time": 1380,
            "value": "#a6d85a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 34
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.42,
            "auroraDepth": 28
          },
          {
            "time": 1740,
            "value": "#ff9f1c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.52,
            "auroraDepth": 34
          },
          {
            "time": 1890,
            "value": "#f6b26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 18
          },
          {
            "time": 2040,
            "value": "#f8d9b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "better-relationships": {
    "title": "Betere relaties (Emotioneel)",
    "titleEn": "Better Relationships (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotionele warmte, empathie, compassievolle communicatie, relationeel vertrouwen, evenwichtige openheid en gegronde verbinding.",
    "goalEn": "Designed to support emotional warmth, empathy, compassionate communication, relational trust, balanced openness, and grounded connection.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention into warmth, body awareness, and relational softness.",
          "purposeEn": "Guides attention into warmth, body awareness, and relational softness."
        },
        {
          "time": 210,
          "name": "Heart Grounding",
          "nameEn": "Heart Grounding",
          "purpose": "Stabilizes emotional presence and supports calm openness.",
          "purposeEn": "Stabilizes emotional presence and supports calm openness."
        },
        {
          "time": 480,
          "name": "Empathy Deepening",
          "nameEn": "Empathy Deepening",
          "purpose": "Deepens compassion, perspective, and receptive listening.",
          "purposeEn": "Deepens compassion, perspective, and receptive listening."
        },
        {
          "time": 840,
          "name": "Connection Immersion",
          "nameEn": "Connection Immersion",
          "purpose": "Promotes spacious emotional connection and gentle release of defensiveness.",
          "purposeEn": "Promotes spacious emotional connection and gentle release of defensiveness."
        },
        {
          "time": 1200,
          "name": "Communication Clarity",
          "nameEn": "Communication Clarity",
          "purpose": "Builds clear expression, emotional honesty, and balanced relational choice.",
          "purposeEn": "Builds clear expression, emotional honesty, and balanced relational choice."
        },
        {
          "time": 1620,
          "name": "Relational Confidence",
          "nameEn": "Relational Confidence",
          "purpose": "Activates warm confidence, trust, and constructive connection.",
          "purposeEn": "Activates warm confidence, trust, and constructive connection."
        },
        {
          "time": 2100,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Integrates openness, compassion, and steady connection into a calm landing.",
          "purposeEn": "Integrates openness, compassion, and steady connection into a calm landing."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1950,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.3,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1950,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 30
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 345,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1410,
            "value": 70
          },
          {
            "time": 1620,
            "value": 68
          },
          {
            "time": 1800,
            "value": 54
          },
          {
            "time": 1950,
            "value": 38
          },
          {
            "time": 2100,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 6
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 5
          },
          {
            "time": 1410,
            "value": 10
          },
          {
            "time": 1620,
            "value": 18
          },
          {
            "time": 1800,
            "value": 14
          },
          {
            "time": 1950,
            "value": 8
          },
          {
            "time": 2100,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1410,
            "value": 42
          },
          {
            "time": 1620,
            "value": 46
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 1950,
            "value": 24
          },
          {
            "time": 2100,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1410,
            "value": 72
          },
          {
            "time": 1620,
            "value": 68
          },
          {
            "time": 1800,
            "value": 56
          },
          {
            "time": 1950,
            "value": 42
          },
          {
            "time": 2100,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 38
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1410,
            "value": 20
          },
          {
            "time": 1620,
            "value": 12
          },
          {
            "time": 1800,
            "value": 6
          },
          {
            "time": 1950,
            "value": 2
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 46
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1410,
            "value": 40
          },
          {
            "time": 1620,
            "value": 28
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 1950,
            "value": 12
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.6
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 9
          },
          {
            "time": 1020,
            "value": 8.4
          },
          {
            "time": 1200,
            "value": 6.2
          },
          {
            "time": 1410,
            "value": 4.4
          },
          {
            "time": 1620,
            "value": 2.8
          },
          {
            "time": 1800,
            "value": 1.8
          },
          {
            "time": 1950,
            "value": 1.2
          },
          {
            "time": 2100,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#5ccf86",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#5664d8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.17,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#7b3fc8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#8d3f8f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#3b4fa3",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#2fbf92",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 1410,
            "value": "#f0a6ca",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 1620,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 28
          },
          {
            "time": 1800,
            "value": "#f6a96b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 20
          },
          {
            "time": 1950,
            "value": "#f3c7a0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 12
          },
          {
            "time": 2100,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "calm-brain": {
    "title": "Kalm brein (Emotioneel)",
    "titleEn": "Calm Brain (Emotional)",
    "category": "herstel-welzijn",
    "subcategory": "stress-anxiety",
    "goal": "Ontworpen ter ondersteuning van een rustiger mentaal tempo, lichamelijk landen, emotionele regulatie, ontspannen bewustzijn en een soepele terugkeer naar innerlijke stilte.",
    "goalEn": "Designed to support calm mental pacing, body settling, emotional regulation, relaxed awareness, and a smooth return to inner quiet.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention away from mental noise and into soft body awareness.",
          "purposeEn": "Guides attention away from mental noise and into soft body awareness."
        },
        {
          "time": 180,
          "name": "Alpha Settling",
          "nameEn": "Alpha Settling",
          "purpose": "Stabilizes relaxed alertness and supports slower inner pacing.",
          "purposeEn": "Stabilizes relaxed alertness and supports slower inner pacing."
        },
        {
          "time": 420,
          "name": "Quieting Descent",
          "nameEn": "Quieting Descent",
          "purpose": "Promotes release of excess mental activity and a gradual shift into calm theta.",
          "purposeEn": "Promotes release of excess mental activity and a gradual shift into calm theta."
        },
        {
          "time": 780,
          "name": "Deep Calm Plateau",
          "nameEn": "Deep Calm Plateau",
          "purpose": "Deepens inward quiet with spacious sound, soft color, and steady sensory continuity.",
          "purposeEn": "Deepens inward quiet with spacious sound, soft color, and steady sensory continuity."
        },
        {
          "time": 1140,
          "name": "Balanced Integration",
          "nameEn": "Balanced Integration",
          "purpose": "Integrates calm awareness into clear, grounded alpha balance.",
          "purposeEn": "Integrates calm awareness into clear, grounded alpha balance."
        },
        {
          "time": 1500,
          "name": "Gentle Return",
          "nameEn": "Gentle Return",
          "purpose": "Returns the session toward easy presence and comfortable mental clarity.",
          "purposeEn": "Returns the session toward easy presence and comfortable mental clarity."
        },
        {
          "time": 1920,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Closes with reduced stimulation, warm grounding, and settled quiet.",
          "purposeEn": "Closes with reduced stimulation, warm grounding, and settled quiet."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 600,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 600,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 54
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 78
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 960,
            "value": 92
          },
          {
            "time": 1140,
            "value": 80
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1680,
            "value": 36
          },
          {
            "time": 1920,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 90,
            "value": 5
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 600,
            "value": 1
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 3
          },
          {
            "time": 1320,
            "value": 7
          },
          {
            "time": 1500,
            "value": 10
          },
          {
            "time": 1680,
            "value": 7
          },
          {
            "time": 1920,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 34
          },
          {
            "time": 960,
            "value": 30
          },
          {
            "time": 1140,
            "value": 32
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1680,
            "value": 20
          },
          {
            "time": 1920,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 90,
            "value": 48
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 960,
            "value": 70
          },
          {
            "time": 1140,
            "value": 68
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1500,
            "value": 56
          },
          {
            "time": 1680,
            "value": 44
          },
          {
            "time": 1920,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 44
          },
          {
            "time": 960,
            "value": 40
          },
          {
            "time": 1140,
            "value": 30
          },
          {
            "time": 1320,
            "value": 20
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1680,
            "value": 4
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 44
          },
          {
            "time": 600,
            "value": 56
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 960,
            "value": 62
          },
          {
            "time": 1140,
            "value": 50
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1500,
            "value": 24
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1920,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 90,
            "value": 1.6
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 5.4
          },
          {
            "time": 600,
            "value": 7
          },
          {
            "time": 780,
            "value": 8.8
          },
          {
            "time": 960,
            "value": 8.2
          },
          {
            "time": 1140,
            "value": 6
          },
          {
            "time": 1320,
            "value": 4.2
          },
          {
            "time": 1500,
            "value": 2.6
          },
          {
            "time": 1680,
            "value": 1.6
          },
          {
            "time": 1920,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 16
          },
          {
            "time": 90,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 300,
            "value": "#48c99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#3c6ed8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 46
          },
          {
            "time": 600,
            "value": "#4b4bb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 56
          },
          {
            "time": 780,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 64
          },
          {
            "time": 960,
            "value": "#2f4c9a",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 58
          },
          {
            "time": 1140,
            "value": "#1f9f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 42
          },
          {
            "time": 1320,
            "value": "#70c979",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 1500,
            "value": "#f3c46b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 22
          },
          {
            "time": 1680,
            "value": "#f1b37a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 1920,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "consideration": {
    "title": "Consideratie (Emotioneel)",
    "titleEn": "Consideration (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van bedachtzame reflectie, empathie, emotionele balans, geduldige respons, perspectiefname en gegrond onderscheidingsvermogen.",
    "goalEn": "Designed to support thoughtful reflection, empathy, emotional balance, patient response, perspective taking, and grounded discernment.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the mind into calm presence and softens immediate reaction.",
          "purposeEn": "Guides the mind into calm presence and softens immediate reaction."
        },
        {
          "time": 210,
          "name": "Reflective Stabilization",
          "nameEn": "Reflective Stabilization",
          "purpose": "Stabilizes relaxed alertness and supports a slower, more thoughtful inner pace.",
          "purposeEn": "Stabilizes relaxed alertness and supports a slower, more thoughtful inner pace."
        },
        {
          "time": 480,
          "name": "Perspective Opening",
          "nameEn": "Perspective Opening",
          "purpose": "Deepens empathy, curiosity, and the ability to view a situation from more than one angle.",
          "purposeEn": "Deepens empathy, curiosity, and the ability to view a situation from more than one angle."
        },
        {
          "time": 840,
          "name": "Inner Listening Plateau",
          "nameEn": "Inner Listening Plateau",
          "purpose": "Promotes spacious reflection, patience, and warm emotional understanding.",
          "purposeEn": "Promotes spacious reflection, patience, and warm emotional understanding."
        },
        {
          "time": 1200,
          "name": "Balanced Discernment",
          "nameEn": "Balanced Discernment",
          "purpose": "Integrates feeling, thought, and clarity into a balanced response state.",
          "purposeEn": "Integrates feeling, thought, and clarity into a balanced response state."
        },
        {
          "time": 1560,
          "name": "Considered Action",
          "nameEn": "Considered Action",
          "purpose": "Builds composed expression, grounded choice, and respectful forward movement.",
          "purposeEn": "Builds composed expression, grounded choice, and respectful forward movement."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session in quiet understanding, warmth, and steady self-command.",
          "purposeEn": "Lands the session in quiet understanding, warmth, and steady self-command."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 7.9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 9,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.3,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 7.7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 105,
            "value": 28
          },
          {
            "time": 210,
            "value": 44
          },
          {
            "time": 345,
            "value": 56
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 90
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 68
          },
          {
            "time": 1560,
            "value": 60
          },
          {
            "time": 1740,
            "value": 44
          },
          {
            "time": 2040,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 105,
            "value": 5
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1380,
            "value": 9
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 2040,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 18
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 32
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 44
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 2040,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 105,
            "value": 48
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 64
          },
          {
            "time": 1740,
            "value": 50
          },
          {
            "time": 2040,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1560,
            "value": 12
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 660,
            "value": 58
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 8.8
          },
          {
            "time": 1020,
            "value": 8.2
          },
          {
            "time": 1200,
            "value": 6.2
          },
          {
            "time": 1380,
            "value": 4.4
          },
          {
            "time": 1560,
            "value": 2.8
          },
          {
            "time": 1740,
            "value": 1.6
          },
          {
            "time": 2040,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.15,
            "auroraDepth": 16
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 345,
            "value": "#48c99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 480,
            "value": "#3c6ed8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 46
          },
          {
            "time": 660,
            "value": "#4b4bb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 56
          },
          {
            "time": 840,
            "value": "#5a2e8c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 64
          },
          {
            "time": 1020,
            "value": "#2f4c9a",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#1f9f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 42
          },
          {
            "time": 1380,
            "value": "#70c979",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 24
          },
          {
            "time": 1740,
            "value": "#f1b37a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 2040,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "control-anger": {
    "title": "Boosheid beheersen (Emotioneel)",
    "titleEn": "Control Anger (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotionele afkoeling, impulscontrole, gegronde zelfsturing en rustig herstel na boosheidsactivatie.",
    "goalEn": "Designed to support emotional cooling, impulse control, grounded self-command, and calm recovery after anger activation.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body out of reactive charge and into a cooler, safer rhythm.",
          "purposeEn": "Guides the body out of reactive charge and into a cooler, safer rhythm."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Stabilizes breathing, attention, and emotional containment through steady alpha pacing.",
          "purposeEn": "Stabilizes breathing, attention, and emotional containment through steady alpha pacing."
        },
        {
          "time": 420,
          "name": "Release Channel",
          "nameEn": "Release Channel",
          "purpose": "Promotes letting go of heat, pressure, and repetitive inner arguments.",
          "purposeEn": "Promotes letting go of heat, pressure, and repetitive inner arguments."
        },
        {
          "time": 780,
          "name": "Deep Cooling Plateau",
          "nameEn": "Deep Cooling Plateau",
          "purpose": "Deepens spacious emotional processing with immersive visual softness and grounded theta rhythm.",
          "purposeEn": "Deepens spacious emotional processing with immersive visual softness and grounded theta rhythm."
        },
        {
          "time": 1140,
          "name": "Self-Command Integration",
          "nameEn": "Self-Command Integration",
          "purpose": "Builds calm authority, clear choice, and steady internal boundaries.",
          "purposeEn": "Builds calm authority, clear choice, and steady internal boundaries."
        },
        {
          "time": 1500,
          "name": "Clear Return",
          "nameEn": "Clear Return",
          "purpose": "Activates clean mental clarity and balanced control without emotional force.",
          "purposeEn": "Activates clean mental clarity and balanced control without emotional force."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Integrates the calm state and lands the session in warm, steady composure.",
          "purposeEn": "Integrates the calm state and lands the session in warm, steady composure."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1650,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1650,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 34
          },
          {
            "time": 180,
            "value": 48
          },
          {
            "time": 300,
            "value": 58
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 600,
            "value": 78
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 960,
            "value": 92
          },
          {
            "time": 1140,
            "value": 76
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1500,
            "value": 58
          },
          {
            "time": 1650,
            "value": 42
          },
          {
            "time": 1800,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 6
          },
          {
            "time": 600,
            "value": 2
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 8
          },
          {
            "time": 1320,
            "value": 14
          },
          {
            "time": 1500,
            "value": 24
          },
          {
            "time": 1650,
            "value": 18
          },
          {
            "time": 1800,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 90,
            "value": 22
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 300,
            "value": 36
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 46
          },
          {
            "time": 780,
            "value": 40
          },
          {
            "time": 960,
            "value": 34
          },
          {
            "time": 1140,
            "value": 38
          },
          {
            "time": 1320,
            "value": 44
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1650,
            "value": 34
          },
          {
            "time": 1800,
            "value": 16
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 90,
            "value": 52
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 960,
            "value": 68
          },
          {
            "time": 1140,
            "value": 70
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1500,
            "value": 62
          },
          {
            "time": 1650,
            "value": 52
          },
          {
            "time": 1800,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 960,
            "value": 36
          },
          {
            "time": 1140,
            "value": 26
          },
          {
            "time": 1320,
            "value": 18
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1650,
            "value": 3
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 52
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 960,
            "value": 58
          },
          {
            "time": 1140,
            "value": 44
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1500,
            "value": 24
          },
          {
            "time": 1650,
            "value": 16
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 5.4
          },
          {
            "time": 600,
            "value": 7.2
          },
          {
            "time": 780,
            "value": 8.8
          },
          {
            "time": 960,
            "value": 8
          },
          {
            "time": 1140,
            "value": 5.8
          },
          {
            "time": 1320,
            "value": 4
          },
          {
            "time": 1500,
            "value": 2.4
          },
          {
            "time": 1650,
            "value": 1.6
          },
          {
            "time": 1800,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#26b6d9",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#2ed6a3",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 300,
            "value": "#4fd08a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 40
          },
          {
            "time": 420,
            "value": "#3156c8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 48
          },
          {
            "time": 600,
            "value": "#3b2f91",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 56
          },
          {
            "time": 780,
            "value": "#4b1d7a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 66
          },
          {
            "time": 960,
            "value": "#2952a3",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 58
          },
          {
            "time": 1140,
            "value": "#1aa083",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 44
          },
          {
            "time": 1320,
            "value": "#67c879",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 30
          },
          {
            "time": 1500,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 24
          },
          {
            "time": 1650,
            "value": "#f4a261",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 18
          },
          {
            "time": 1800,
            "value": "#f6d6a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "cure-anxiety": {
    "title": "Angst loslaten (Emotioneel)",
    "titleEn": "Anxiety Release (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotionele ontlading, innerlijke veiligheid, rustige ademhaling, gegronde aanwezigheid en een stabiele terugkeer naar zelfverzekerde balans.",
    "goalEn": "Designed to support emotional release, inner safety, calm breathing, grounded presence, and a steady return to confident balance.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the system into a softer rhythm and opens a calm container for release.",
          "purposeEn": "Guides the system into a softer rhythm and opens a calm container for release."
        },
        {
          "time": 180,
          "name": "Grounding",
          "nameEn": "Grounding",
          "purpose": "Stabilizes body awareness and supports a grounded, settled emotional base.",
          "purposeEn": "Stabilizes body awareness and supports a grounded, settled emotional base."
        },
        {
          "time": 420,
          "name": "Release Descent",
          "nameEn": "Release Descent",
          "purpose": "Promotes letting go of inner tension while attention moves from alert alpha into calm theta.",
          "purposeEn": "Promotes letting go of inner tension while attention moves from alert alpha into calm theta."
        },
        {
          "time": 780,
          "name": "Deep Safety Plateau",
          "nameEn": "Deep Safety Plateau",
          "purpose": "Deepens inward absorption with spacious sound, soft light, and a steady safety-oriented rhythm.",
          "purposeEn": "Deepens inward absorption with spacious sound, soft light, and a steady safety-oriented rhythm."
        },
        {
          "time": 1140,
          "name": "Emotional Repatterning",
          "nameEn": "Emotional Repatterning",
          "purpose": "Builds a warm emotional shift from contraction into balance, trust, and internal spaciousness.",
          "purposeEn": "Builds a warm emotional shift from contraction into balance, trust, and internal spaciousness."
        },
        {
          "time": 1500,
          "name": "Clear Confidence",
          "nameEn": "Clear Confidence",
          "purpose": "Activates relaxed clarity and steady confidence while preserving calm regulation.",
          "purposeEn": "Activates relaxed clarity and steady confidence while preserving calm regulation."
        },
        {
          "time": 1920,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Integrates the calm state and closes with soft warmth, presence, and ease.",
          "purposeEn": "Integrates the calm state and closes with soft warmth, presence, and ease."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 10.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 6.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.9,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 960,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 90,
            "value": 30
          },
          {
            "time": 180,
            "value": 44
          },
          {
            "time": 300,
            "value": 54
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 600,
            "value": 78
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 960,
            "value": 92
          },
          {
            "time": 1140,
            "value": 82
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1500,
            "value": 62
          },
          {
            "time": 1680,
            "value": 44
          },
          {
            "time": 1920,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 90,
            "value": 6
          },
          {
            "time": 180,
            "value": 9
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 600,
            "value": 2
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 0
          },
          {
            "time": 1140,
            "value": 4
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1680,
            "value": 12
          },
          {
            "time": 1920,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 20
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 34
          },
          {
            "time": 420,
            "value": 40
          },
          {
            "time": 600,
            "value": 44
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 960,
            "value": 32
          },
          {
            "time": 1140,
            "value": 34
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1500,
            "value": 42
          },
          {
            "time": 1680,
            "value": 30
          },
          {
            "time": 1920,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 90,
            "value": 50
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 960,
            "value": 70
          },
          {
            "time": 1140,
            "value": 72
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1500,
            "value": 64
          },
          {
            "time": 1680,
            "value": 52
          },
          {
            "time": 1920,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 27
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 40
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 960,
            "value": 40
          },
          {
            "time": 1140,
            "value": 30
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1500,
            "value": 14
          },
          {
            "time": 1680,
            "value": 4
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 300,
            "value": 34
          },
          {
            "time": 420,
            "value": 44
          },
          {
            "time": 600,
            "value": 54
          },
          {
            "time": 780,
            "value": 66
          },
          {
            "time": 960,
            "value": 62
          },
          {
            "time": 1140,
            "value": 54
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1500,
            "value": 28
          },
          {
            "time": 1680,
            "value": 16
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.1
          },
          {
            "time": 90,
            "value": 1.8
          },
          {
            "time": 180,
            "value": 2.8
          },
          {
            "time": 300,
            "value": 3.4
          },
          {
            "time": 420,
            "value": 5.6
          },
          {
            "time": 600,
            "value": 7.4
          },
          {
            "time": 780,
            "value": 9.2
          },
          {
            "time": 960,
            "value": 8.4
          },
          {
            "time": 1140,
            "value": 6.4
          },
          {
            "time": 1320,
            "value": 4.5
          },
          {
            "time": 1500,
            "value": 2.8
          },
          {
            "time": 1680,
            "value": 1.7
          },
          {
            "time": 1920,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2458ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#2ab7d6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#2fd89b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 300,
            "value": "#42c88a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 420,
            "value": "#2b6fd6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 48
          },
          {
            "time": 600,
            "value": "#3a3fa3",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.15,
            "auroraDepth": 58
          },
          {
            "time": 780,
            "value": "#4a267a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 960,
            "value": "#273c88",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 62
          },
          {
            "time": 1140,
            "value": "#1f9f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 48
          },
          {
            "time": 1320,
            "value": "#65c77a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 1500,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 26
          },
          {
            "time": 1680,
            "value": "#f6ad6b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 18
          },
          {
            "time": 1920,
            "value": "#f8d7b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "cure-phobias": {
    "title": "Fobie loslaten (Emotioneel)",
    "titleEn": "Phobia Release (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van gegronde veiligheid, emotionele ontlading, rustige afstand tot oude alarmsignalen, zelfverzekerde zelfsturing en stabiele integratie.",
    "goalEn": "Designed to support grounded safety, emotional release, calm distance from old alarm patterns, confident self-command, and steady integration.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body into grounded safety and steady orientation.",
          "purposeEn": "Guides the body into grounded safety and steady orientation."
        },
        {
          "time": 210,
          "name": "Safety Stabilization",
          "nameEn": "Safety Stabilization",
          "purpose": "Stabilizes calm alpha rhythm and builds a reliable internal base.",
          "purposeEn": "Stabilizes calm alpha rhythm and builds a reliable internal base."
        },
        {
          "time": 480,
          "name": "Release Descent",
          "nameEn": "Release Descent",
          "purpose": "Promotes emotional clearing and softens old reactive associations.",
          "purposeEn": "Promotes emotional clearing and softens old reactive associations."
        },
        {
          "time": 840,
          "name": "Distance and Perspective",
          "nameEn": "Distance and Perspective",
          "purpose": "Deepens spacious awareness and supports calm separation from old alarm patterns.",
          "purposeEn": "Deepens spacious awareness and supports calm separation from old alarm patterns."
        },
        {
          "time": 1200,
          "name": "Repatterning Plateau",
          "nameEn": "Repatterning Plateau",
          "purpose": "Builds inner safety, choice, and composed response through immersive theta stabilization.",
          "purposeEn": "Builds inner safety, choice, and composed response through immersive theta stabilization."
        },
        {
          "time": 1620,
          "name": "Confidence Integration",
          "nameEn": "Confidence Integration",
          "purpose": "Activates steady self-command, clarity, and confident forward movement.",
          "purposeEn": "Activates steady self-command, clarity, and confident forward movement."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Integrates calm control into a grounded and balanced landing.",
          "purposeEn": "Integrates calm control into a grounded and balanced landing."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.3,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.9,
            "lightPulseShape": "sine"
          },
          {
            "time": 1410,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 10.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1410,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 10,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 30
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 345,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1200,
            "value": 86
          },
          {
            "time": 1410,
            "value": 76
          },
          {
            "time": 1620,
            "value": 66
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 1980,
            "value": 50
          },
          {
            "time": 2160,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 6
          },
          {
            "time": 210,
            "value": 9
          },
          {
            "time": 345,
            "value": 8
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 2
          },
          {
            "time": 1410,
            "value": 8
          },
          {
            "time": 1620,
            "value": 16
          },
          {
            "time": 1800,
            "value": 26
          },
          {
            "time": 1980,
            "value": 12
          },
          {
            "time": 2160,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 40
          },
          {
            "time": 660,
            "value": 44
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 34
          },
          {
            "time": 1410,
            "value": 38
          },
          {
            "time": 1620,
            "value": 44
          },
          {
            "time": 1800,
            "value": 52
          },
          {
            "time": 1980,
            "value": 32
          },
          {
            "time": 2160,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1410,
            "value": 72
          },
          {
            "time": 1620,
            "value": 70
          },
          {
            "time": 1800,
            "value": 74
          },
          {
            "time": 1980,
            "value": 54
          },
          {
            "time": 2160,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 840,
            "value": 46
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 34
          },
          {
            "time": 1410,
            "value": 24
          },
          {
            "time": 1620,
            "value": 14
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 1980,
            "value": 2
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 660,
            "value": 58
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 56
          },
          {
            "time": 1410,
            "value": 44
          },
          {
            "time": 1620,
            "value": 32
          },
          {
            "time": 1800,
            "value": 22
          },
          {
            "time": 1980,
            "value": 14
          },
          {
            "time": 2160,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.4
          },
          {
            "time": 840,
            "value": 9.2
          },
          {
            "time": 1020,
            "value": 8.4
          },
          {
            "time": 1200,
            "value": 7
          },
          {
            "time": 1410,
            "value": 5
          },
          {
            "time": 1620,
            "value": 3.4
          },
          {
            "time": 1800,
            "value": 2.2
          },
          {
            "time": 1980,
            "value": 1.4
          },
          {
            "time": 2160,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#2fd89b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#48c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#3156c8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.17,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#4d35b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#293d8f",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#364eb5",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 52
          },
          {
            "time": 1410,
            "value": "#1fbf9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 42
          },
          {
            "time": 1620,
            "value": "#8fd45a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 32
          },
          {
            "time": 1800,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.4,
            "auroraDepth": 28
          },
          {
            "time": 1980,
            "value": "#f6b26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 18
          },
          {
            "time": 2160,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "emotional-intelligence": {
    "title": "Emotionele intelligentie (Emotioneel)",
    "titleEn": "Emotional Intelligence (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotioneel bewustzijn, zelfregulatie, empathie, innerlijke warmte, reflectief inzicht en evenwichtige relationele aanwezigheid.",
    "goalEn": "Designed to support emotional awareness, self-regulation, empathy, inner warmth, reflective insight, and balanced relational presence.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention into body awareness and soft emotional presence.",
          "purposeEn": "Guides attention into body awareness and soft emotional presence."
        },
        {
          "time": 210,
          "name": "Emotional Grounding",
          "nameEn": "Emotional Grounding",
          "purpose": "Stabilizes self-regulation with calm alpha pacing and gentle warmth.",
          "purposeEn": "Stabilizes self-regulation with calm alpha pacing and gentle warmth."
        },
        {
          "time": 480,
          "name": "Inner Listening",
          "nameEn": "Inner Listening",
          "purpose": "Deepens reflective awareness and promotes a spacious relationship with feeling.",
          "purposeEn": "Deepens reflective awareness and promotes a spacious relationship with feeling."
        },
        {
          "time": 840,
          "name": "Empathy Immersion",
          "nameEn": "Empathy Immersion",
          "purpose": "Opens compassionate perspective, emotional nuance, and connected inner imagery.",
          "purposeEn": "Opens compassionate perspective, emotional nuance, and connected inner imagery."
        },
        {
          "time": 1200,
          "name": "Insight Integration",
          "nameEn": "Insight Integration",
          "purpose": "Integrates emotional insight with clarity, choice, and balanced communication.",
          "purposeEn": "Integrates emotional insight with clarity, choice, and balanced communication."
        },
        {
          "time": 1560,
          "name": "Relational Confidence",
          "nameEn": "Relational Confidence",
          "purpose": "Builds warm confidence, composed expression, and steady relational presence.",
          "purposeEn": "Builds warm confidence, composed expression, and steady relational presence."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session in grounded warmth, emotional balance, and calm awareness.",
          "purposeEn": "Lands the session in grounded warmth, emotional balance, and calm awareness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 9.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 7.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 30
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 345,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 64
          },
          {
            "time": 1740,
            "value": 48
          },
          {
            "time": 2040,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 6
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 5
          },
          {
            "time": 1380,
            "value": 10
          },
          {
            "time": 1560,
            "value": 18
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 2040,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1380,
            "value": 42
          },
          {
            "time": 1560,
            "value": 46
          },
          {
            "time": 1740,
            "value": 32
          },
          {
            "time": 2040,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1560,
            "value": 68
          },
          {
            "time": 1740,
            "value": 52
          },
          {
            "time": 2040,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 38
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1560,
            "value": 12
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 46
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.6
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 9
          },
          {
            "time": 1020,
            "value": 8.4
          },
          {
            "time": 1200,
            "value": 6.2
          },
          {
            "time": 1380,
            "value": 4.4
          },
          {
            "time": 1560,
            "value": 2.8
          },
          {
            "time": 1740,
            "value": 1.6
          },
          {
            "time": 2040,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#5ccf86",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#5664d8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.17,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#7b3fc8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#8d3f8f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#3b4fa3",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#2fbf92",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 1380,
            "value": "#f0a6ca",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.34,
            "auroraDepth": 28
          },
          {
            "time": 1740,
            "value": "#f6a96b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 18
          },
          {
            "time": 2040,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "emotional-stability": {
    "title": "Emotionele stabiliteit (Emotioneel)",
    "titleEn": "Emotional Stability (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotionele balans, stabiele zelfregulatie, gegronde veerkracht, warme innerlijke coherentie en rustige integratie.",
    "goalEn": "Designed to support emotional balance, steady self-regulation, grounded resilience, warm inner coherence, and calm integration.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention into grounded safety and steady body awareness.",
          "purposeEn": "Guides attention into grounded safety and steady body awareness."
        },
        {
          "time": 210,
          "name": "Regulation Base",
          "nameEn": "Regulation Base",
          "purpose": "Stabilizes relaxed alertness and supports smooth emotional pacing.",
          "purposeEn": "Stabilizes relaxed alertness and supports smooth emotional pacing."
        },
        {
          "time": 480,
          "name": "Emotional Settling",
          "nameEn": "Emotional Settling",
          "purpose": "Promotes release of excess emotional charge and a gradual shift into calm theta.",
          "purposeEn": "Promotes release of excess emotional charge and a gradual shift into calm theta."
        },
        {
          "time": 840,
          "name": "Coherence Plateau",
          "nameEn": "Coherence Plateau",
          "purpose": "Deepens warm balance, inner spaciousness, and stable emotional presence.",
          "purposeEn": "Deepens warm balance, inner spaciousness, and stable emotional presence."
        },
        {
          "time": 1200,
          "name": "Resilience Integration",
          "nameEn": "Resilience Integration",
          "purpose": "Integrates steadiness, inner warmth, and flexible self-regulation.",
          "purposeEn": "Integrates steadiness, inner warmth, and flexible self-regulation."
        },
        {
          "time": 1560,
          "name": "Balanced Clarity",
          "nameEn": "Balanced Clarity",
          "purpose": "Builds calm confidence, clear presence, and steady emotional choice.",
          "purposeEn": "Builds calm confidence, clear presence, and steady emotional choice."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session in grounded warmth, emotional steadiness, and quiet clarity.",
          "purposeEn": "Lands the session in grounded warmth, emotional steadiness, and quiet clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 8.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 105,
            "value": 28
          },
          {
            "time": 210,
            "value": 44
          },
          {
            "time": 345,
            "value": 56
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 90
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 68
          },
          {
            "time": 1560,
            "value": 60
          },
          {
            "time": 1740,
            "value": 44
          },
          {
            "time": 2040,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 105,
            "value": 5
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1380,
            "value": 9
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 2040,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 18
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 32
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 44
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 2040,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 105,
            "value": 48
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 64
          },
          {
            "time": 1740,
            "value": 50
          },
          {
            "time": 2040,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1560,
            "value": 12
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 660,
            "value": 58
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 8.8
          },
          {
            "time": 1020,
            "value": 8.2
          },
          {
            "time": 1200,
            "value": 6.2
          },
          {
            "time": 1380,
            "value": 4.4
          },
          {
            "time": 1560,
            "value": 2.8
          },
          {
            "time": 1740,
            "value": 1.6
          },
          {
            "time": 2040,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.15,
            "auroraDepth": 16
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 345,
            "value": "#48c99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 480,
            "value": "#3c6ed8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 46
          },
          {
            "time": 660,
            "value": "#4b4bb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 56
          },
          {
            "time": 840,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 64
          },
          {
            "time": 1020,
            "value": "#2f4c9a",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#1f9f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 42
          },
          {
            "time": 1380,
            "value": "#70c979",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 24
          },
          {
            "time": 1740,
            "value": "#f1b37a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 2040,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "fearless-brain": {
    "title": "Onbevreesd brein (Emotioneel)",
    "titleEn": "Fearless Brain (Emotional)",
    "category": "energie",
    "subcategory": "motivation",
    "goal": "Ontworpen ter ondersteuning van gegronde moed, emotionele ontlading, rustig vertrouwen, heldere besluitvorming en veerkrachtige voorwaartse actie.",
    "goalEn": "Designed to support grounded courage, emotional release, calm confidence, clear decision-making, and resilient forward action.",
    "marketplaceListingId": "",
    "carrier": 396,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body into safety, grounded presence, and calm readiness.",
          "purposeEn": "Guides the body into safety, grounded presence, and calm readiness."
        },
        {
          "time": 210,
          "name": "Grounded Reset",
          "nameEn": "Grounded Reset",
          "purpose": "Stabilizes attention and promotes release of unnecessary tension.",
          "purposeEn": "Stabilizes attention and promotes release of unnecessary tension."
        },
        {
          "time": 480,
          "name": "Fear Release Descent",
          "nameEn": "Fear Release Descent",
          "purpose": "Deepens emotional clearing and creates spacious distance from old alarm patterns.",
          "purposeEn": "Deepens emotional clearing and creates spacious distance from old alarm patterns."
        },
        {
          "time": 840,
          "name": "Inner Safety Plateau",
          "nameEn": "Inner Safety Plateau",
          "purpose": "Builds calm inner authority through immersive depth, steady rhythm, and low-pressure presence.",
          "purposeEn": "Builds calm inner authority through immersive depth, steady rhythm, and low-pressure presence."
        },
        {
          "time": 1200,
          "name": "Courage Integration",
          "nameEn": "Courage Integration",
          "purpose": "Integrates grounded courage, emotional steadiness, and clear self-command.",
          "purposeEn": "Integrates grounded courage, emotional steadiness, and clear self-command."
        },
        {
          "time": 1620,
          "name": "Fearless Activation",
          "nameEn": "Fearless Activation",
          "purpose": "Activates confident focus, forward movement, and decisive resilience.",
          "purposeEn": "Activates confident focus, forward movement, and decisive resilience."
        },
        {
          "time": 2100,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session in warm control, centered confidence, and calm clarity.",
          "purposeEn": "Lands the session in warm control, centered confidence, and calm clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.3,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 10.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 12.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1950,
            "value": 10.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.1,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.3,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.3,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 10.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 12.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1950,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 30
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 345,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1410,
            "value": 70
          },
          {
            "time": 1620,
            "value": 76
          },
          {
            "time": 1800,
            "value": 84
          },
          {
            "time": 1950,
            "value": 56
          },
          {
            "time": 2100,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 6
          },
          {
            "time": 210,
            "value": 9
          },
          {
            "time": 345,
            "value": 8
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 6
          },
          {
            "time": 1410,
            "value": 14
          },
          {
            "time": 1620,
            "value": 28
          },
          {
            "time": 1800,
            "value": 36
          },
          {
            "time": 1950,
            "value": 18
          },
          {
            "time": 2100,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 40
          },
          {
            "time": 660,
            "value": 44
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 38
          },
          {
            "time": 1410,
            "value": 46
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1800,
            "value": 60
          },
          {
            "time": 1950,
            "value": 36
          },
          {
            "time": 2100,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1410,
            "value": 76
          },
          {
            "time": 1620,
            "value": 80
          },
          {
            "time": 1800,
            "value": 80
          },
          {
            "time": 1950,
            "value": 58
          },
          {
            "time": 2100,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 840,
            "value": 46
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1410,
            "value": 18
          },
          {
            "time": 1620,
            "value": 6
          },
          {
            "time": 1800,
            "value": 0
          },
          {
            "time": 1950,
            "value": 2
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 660,
            "value": 58
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1410,
            "value": 38
          },
          {
            "time": 1620,
            "value": 24
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 1950,
            "value": 14
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.4
          },
          {
            "time": 840,
            "value": 9.2
          },
          {
            "time": 1020,
            "value": 8.4
          },
          {
            "time": 1200,
            "value": 6.2
          },
          {
            "time": 1410,
            "value": 4.2
          },
          {
            "time": 1620,
            "value": 2.4
          },
          {
            "time": 1800,
            "value": 1.8
          },
          {
            "time": 1950,
            "value": 1.3
          },
          {
            "time": 2100,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#2fd89b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#48c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#3156c8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.17,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#4d35b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#293d8f",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#1fbf9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 44
          },
          {
            "time": 1410,
            "value": "#8fd45a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 32
          },
          {
            "time": 1620,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.4,
            "auroraDepth": 28
          },
          {
            "time": 1800,
            "value": "#ff9f1c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.52,
            "auroraDepth": 34
          },
          {
            "time": 1950,
            "value": "#f6b26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 18
          },
          {
            "time": 2100,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "happiness": {
    "title": "Geluk (Emotioneel)",
    "titleEn": "Happiness (Emotional)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van emotionele warmte, innerlijke helderheid, dankbaarheid, opwaartse stemming, speelse energie en een stabiele positieve staat.",
    "goalEn": "Designed to support emotional warmth, inner brightness, gratitude, uplift, playful energy, and a steady positive state.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1980,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the system into softness, openness, and gentle emotional warmth.",
          "purposeEn": "Guides the system into softness, openness, and gentle emotional warmth."
        },
        {
          "time": 210,
          "name": "Warm Stabilization",
          "nameEn": "Warm Stabilization",
          "purpose": "Stabilizes relaxed alertness and begins a brighter emotional shift.",
          "purposeEn": "Stabilizes relaxed alertness and begins a brighter emotional shift."
        },
        {
          "time": 480,
          "name": "Heart Opening",
          "nameEn": "Heart Opening",
          "purpose": "Deepens receptivity, gratitude, and positive inner connection.",
          "purposeEn": "Deepens receptivity, gratitude, and positive inner connection."
        },
        {
          "time": 840,
          "name": "Joy Immersion",
          "nameEn": "Joy Immersion",
          "purpose": "Promotes spacious emotional uplift, imagery, and inner brightness.",
          "purposeEn": "Promotes spacious emotional uplift, imagery, and inner brightness."
        },
        {
          "time": 1200,
          "name": "Uplift Build",
          "nameEn": "Uplift Build",
          "purpose": "Builds motivation, optimism, and playful forward movement.",
          "purposeEn": "Builds motivation, optimism, and playful forward movement."
        },
        {
          "time": 1560,
          "name": "Radiant Peak",
          "nameEn": "Radiant Peak",
          "purpose": "Activates confident joy, energized presence, and clean emotional momentum.",
          "purposeEn": "Activates confident joy, energized presence, and clean emotional momentum."
        },
        {
          "time": 1980,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Integrates happiness into calm warmth, balance, and grounded ease.",
          "purposeEn": "Integrates happiness into calm warmth, balance, and grounded ease."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 10.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 12.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 11,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 10.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 12,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 10.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 105,
            "value": 32
          },
          {
            "time": 210,
            "value": 48
          },
          {
            "time": 345,
            "value": 60
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 84
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1200,
            "value": 82
          },
          {
            "time": 1380,
            "value": 78
          },
          {
            "time": 1560,
            "value": 88
          },
          {
            "time": 1740,
            "value": 70
          },
          {
            "time": 1980,
            "value": 24
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 105,
            "value": 7
          },
          {
            "time": 210,
            "value": 10
          },
          {
            "time": 345,
            "value": 8
          },
          {
            "time": 480,
            "value": 5
          },
          {
            "time": 660,
            "value": 2
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 3
          },
          {
            "time": 1200,
            "value": 12
          },
          {
            "time": 1380,
            "value": 22
          },
          {
            "time": 1560,
            "value": 36
          },
          {
            "time": 1740,
            "value": 24
          },
          {
            "time": 1980,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 44
          },
          {
            "time": 1380,
            "value": 50
          },
          {
            "time": 1560,
            "value": 58
          },
          {
            "time": 1740,
            "value": 42
          },
          {
            "time": 1980,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 62
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 76
          },
          {
            "time": 1380,
            "value": 78
          },
          {
            "time": 1560,
            "value": 82
          },
          {
            "time": 1740,
            "value": 64
          },
          {
            "time": 1980,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 18
          },
          {
            "time": 345,
            "value": 22
          },
          {
            "time": 480,
            "value": 30
          },
          {
            "time": 660,
            "value": 36
          },
          {
            "time": 840,
            "value": 42
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1200,
            "value": 22
          },
          {
            "time": 1380,
            "value": 12
          },
          {
            "time": 1560,
            "value": 2
          },
          {
            "time": 1740,
            "value": 0
          },
          {
            "time": 1980,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 32
          },
          {
            "time": 480,
            "value": 46
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1200,
            "value": 44
          },
          {
            "time": 1380,
            "value": 32
          },
          {
            "time": 1560,
            "value": 22
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 1980,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.2
          },
          {
            "time": 480,
            "value": 5.4
          },
          {
            "time": 660,
            "value": 7
          },
          {
            "time": 840,
            "value": 9
          },
          {
            "time": 1020,
            "value": 7.6
          },
          {
            "time": 1200,
            "value": 5.2
          },
          {
            "time": 1380,
            "value": 3.4
          },
          {
            "time": 1560,
            "value": 2.1
          },
          {
            "time": 1740,
            "value": 1.5
          },
          {
            "time": 1980,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#36d1dc",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#8fd45a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#6a5bd8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#8d3fc8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#7a2e8c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#3b5fb8",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#2fbf92",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 44
          },
          {
            "time": 1380,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.36,
            "auroraDepth": 34
          },
          {
            "time": 1560,
            "value": "#ff9f1c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.5,
            "auroraDepth": 38
          },
          {
            "time": 1740,
            "value": "#f6b26b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 20
          },
          {
            "time": 1980,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1980
  },
  "mental-clarity": {
    "title": "Mentale helderheid (Emotioneel)",
    "titleEn": "Mental Clarity (Emotional)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van mentale opruiming, rustige alertheid, zuivere focus, geordend denken en zelfverzekerde cognitieve flow.",
    "goalEn": "Designed to support mental clearing, calm alertness, clean focus, organized thinking, and confident cognitive flow.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 42,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1740,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Clears scattered attention and guides the mind into calm readiness.",
          "purposeEn": "Clears scattered attention and guides the mind into calm readiness."
        },
        {
          "time": 180,
          "name": "Alpha Organization",
          "nameEn": "Alpha Organization",
          "purpose": "Stabilizes relaxed alertness and supports ordered mental pacing.",
          "purposeEn": "Stabilizes relaxed alertness and supports ordered mental pacing."
        },
        {
          "time": 420,
          "name": "Clarity Reset",
          "nameEn": "Clarity Reset",
          "purpose": "Promotes mental clearing through spacious theta-alpha release.",
          "purposeEn": "Promotes mental clearing through spacious theta-alpha release."
        },
        {
          "time": 720,
          "name": "Focused Activation",
          "nameEn": "Focused Activation",
          "purpose": "Builds alert focus with clean beta lift and controlled pulse definition.",
          "purposeEn": "Builds alert focus with clean beta lift and controlled pulse definition."
        },
        {
          "time": 1080,
          "name": "Precision Plateau",
          "nameEn": "Precision Plateau",
          "purpose": "Stabilizes sustained concentration, clarity, and confident task engagement.",
          "purposeEn": "Stabilizes sustained concentration, clarity, and confident task engagement."
        },
        {
          "time": 1440,
          "name": "Integrated Clarity",
          "nameEn": "Integrated Clarity",
          "purpose": "Integrates the focused state into balanced calm and mental ease.",
          "purposeEn": "Integrates the focused state into balanced calm and mental ease."
        },
        {
          "time": 1740,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Closes with steady awareness, reduced stimulation, and clean presence.",
          "purposeEn": "Closes with steady awareness, reduced stimulation, and clean presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "sine"
          },
          {
            "time": 570,
            "value": 7.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 720,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 12.5,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 14.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 13.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 10.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1590,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 570,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 720,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 12.3,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1080,
            "value": 14,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1260,
            "value": 13.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1440,
            "value": 10.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1590,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1740,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 90,
            "value": 30
          },
          {
            "time": 180,
            "value": 48
          },
          {
            "time": 300,
            "value": 56
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 570,
            "value": 76
          },
          {
            "time": 720,
            "value": 64
          },
          {
            "time": 900,
            "value": 58
          },
          {
            "time": 1080,
            "value": 66
          },
          {
            "time": 1260,
            "value": 62
          },
          {
            "time": 1440,
            "value": 54
          },
          {
            "time": 1590,
            "value": 38
          },
          {
            "time": 1740,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 300,
            "value": 12
          },
          {
            "time": 420,
            "value": 7
          },
          {
            "time": 570,
            "value": 4
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 900,
            "value": 28
          },
          {
            "time": 1080,
            "value": 38
          },
          {
            "time": 1260,
            "value": 32
          },
          {
            "time": 1440,
            "value": 22
          },
          {
            "time": 1590,
            "value": 12
          },
          {
            "time": 1740,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 20
          },
          {
            "time": 180,
            "value": 30
          },
          {
            "time": 300,
            "value": 34
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 570,
            "value": 32
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 900,
            "value": 50
          },
          {
            "time": 1080,
            "value": 56
          },
          {
            "time": 1260,
            "value": 50
          },
          {
            "time": 1440,
            "value": 38
          },
          {
            "time": 1590,
            "value": 24
          },
          {
            "time": 1740,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 90,
            "value": 50
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 66
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 570,
            "value": 66
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 900,
            "value": 74
          },
          {
            "time": 1080,
            "value": 76
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1440,
            "value": 62
          },
          {
            "time": 1590,
            "value": 46
          },
          {
            "time": 1740,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 300,
            "value": 20
          },
          {
            "time": 420,
            "value": 28
          },
          {
            "time": 570,
            "value": 32
          },
          {
            "time": 720,
            "value": 18
          },
          {
            "time": 900,
            "value": 4
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1440,
            "value": 8
          },
          {
            "time": 1590,
            "value": 4
          },
          {
            "time": 1740,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 28
          },
          {
            "time": 420,
            "value": 40
          },
          {
            "time": 570,
            "value": 46
          },
          {
            "time": 720,
            "value": 32
          },
          {
            "time": 900,
            "value": 18
          },
          {
            "time": 1080,
            "value": 14
          },
          {
            "time": 1260,
            "value": 16
          },
          {
            "time": 1440,
            "value": 24
          },
          {
            "time": 1590,
            "value": 14
          },
          {
            "time": 1740,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 90,
            "value": 1.5
          },
          {
            "time": 180,
            "value": 2.3
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 420,
            "value": 4.8
          },
          {
            "time": 570,
            "value": 5.8
          },
          {
            "time": 720,
            "value": 3.6
          },
          {
            "time": 900,
            "value": 2
          },
          {
            "time": 1080,
            "value": 1.5
          },
          {
            "time": 1260,
            "value": 1.8
          },
          {
            "time": 1440,
            "value": 2.8
          },
          {
            "time": 1590,
            "value": 1.5
          },
          {
            "time": 1740,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 16
          },
          {
            "time": 90,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#35d6a0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 300,
            "value": "#42c878",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#335cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 44
          },
          {
            "time": 570,
            "value": "#4a5bd8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.14,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#1fbf9a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 900,
            "value": "#d4f1ff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          },
          {
            "time": 1080,
            "value": "#f5fbff",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          },
          {
            "time": 1260,
            "value": "#b2f7ef",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 1440,
            "value": "#70d67a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 1590,
            "value": "#f3c46b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 1740,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1740
  },
  "mind-mastery": {
    "title": "Meesterschap over de geest (Emotioneel)",
    "titleEn": "Mind Mastery (Emotional)",
    "category": "energie",
    "subcategory": "mental-energy",
    "goal": "Ontworpen ter ondersteuning van mentale discipline, cognitieve helderheid, emotionele balans, volgehouden focus en veerkrachtige zelfregulatie.",
    "goalEn": "Designed to support mental discipline, cognitive clarity, emotional balance, sustained focus, and resilient self-regulation.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle attention.",
          "purposeEn": "Settle attention."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Build calm focus.",
          "purposeEn": "Build calm focus."
        },
        {
          "time": 420,
          "name": "Deep Focus",
          "nameEn": "Deep Focus",
          "purpose": "Deepen concentration.",
          "purposeEn": "Deepen concentration."
        },
        {
          "time": 780,
          "name": "Mastery Plateau",
          "nameEn": "Mastery Plateau",
          "purpose": "Strengthen sustained awareness.",
          "purposeEn": "Strengthen sustained awareness."
        },
        {
          "time": 1140,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate clarity.",
          "purposeEn": "Integrate clarity."
        },
        {
          "time": 1500,
          "name": "Activation",
          "nameEn": "Activation",
          "purpose": "Promote confident performance.",
          "purposeEn": "Promote confident performance."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Finish centered.",
          "purposeEn": "Finish centered."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 11,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 8.5,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 10.5,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 9,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.5,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 8.5,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 10.5,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 20
          },
          {
            "time": 180,
            "value": 45
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 780,
            "value": 90
          },
          {
            "time": 1140,
            "value": 75
          },
          {
            "time": 1500,
            "value": 60
          },
          {
            "time": 1800,
            "value": 25
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 5
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 1140,
            "value": 8
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1800,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 180,
            "value": 25
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 1140,
            "value": 40
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1140,
            "value": 70
          },
          {
            "time": 1500,
            "value": 74
          },
          {
            "time": 1800,
            "value": 35
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 780,
            "value": 40
          },
          {
            "time": 1140,
            "value": 22
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 780,
            "value": 60
          },
          {
            "time": 1140,
            "value": 40
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2.5
          },
          {
            "time": 420,
            "value": 5.5
          },
          {
            "time": 780,
            "value": 8.5
          },
          {
            "time": 1140,
            "value": 5
          },
          {
            "time": 1500,
            "value": 2.2
          },
          {
            "time": 1800,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 20
          },
          {
            "time": 180,
            "value": "#38d39f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.25,
            "auroraDepth": 35
          },
          {
            "time": 420,
            "value": "#4a5cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 50
          },
          {
            "time": 780,
            "value": "#5a2ea6",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 65
          },
          {
            "time": 1140,
            "value": "#2bbf88",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 1500,
            "value": "#ffbf4d",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.35,
            "auroraDepth": 28
          },
          {
            "time": 1800,
            "value": "#f6d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "overcome-shyness": {
    "title": "Verlegenheid overwinnen (Emotioneel)",
    "titleEn": "Overcome Shyness (Emotional)",
    "category": "energie",
    "subcategory": "emotional-energy",
    "goal": "Ontworpen ter ondersteuning van sociaal vertrouwen, emotionele warmte, expressief gemak, gegrond zelfvertrouwen en rustige openheid bij anderen.",
    "goalEn": "Designed to support social confidence, emotional warmth, expressive ease, grounded self-trust, and calm openness around others.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body into safety, warmth, and relaxed social readiness.",
          "purposeEn": "Guides the body into safety, warmth, and relaxed social readiness."
        },
        {
          "time": 210,
          "name": "Self-Trust Stabilization",
          "nameEn": "Self-Trust Stabilization",
          "purpose": "Stabilizes calm confidence and softens inward self-conscious tension.",
          "purposeEn": "Stabilizes calm confidence and softens inward self-conscious tension."
        },
        {
          "time": 480,
          "name": "Inner Warmth",
          "nameEn": "Inner Warmth",
          "purpose": "Deepens emotional ease, self-acceptance, and friendly inner connection.",
          "purposeEn": "Deepens emotional ease, self-acceptance, and friendly inner connection."
        },
        {
          "time": 840,
          "name": "Open Presence Plateau",
          "nameEn": "Open Presence Plateau",
          "purpose": "Promotes spacious social imagination, comfort, and expressive possibility.",
          "purposeEn": "Promotes spacious social imagination, comfort, and expressive possibility."
        },
        {
          "time": 1200,
          "name": "Expression Build",
          "nameEn": "Expression Build",
          "purpose": "Builds voice, eye contact, and natural outward engagement with steady clarity.",
          "purposeEn": "Builds voice, eye contact, and natural outward engagement with steady clarity."
        },
        {
          "time": 1560,
          "name": "Social Confidence Activation",
          "nameEn": "Social Confidence Activation",
          "purpose": "Activates confident presence, relaxed energy, and warm connection.",
          "purposeEn": "Activates confident presence, relaxed energy, and warm connection."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Integrates openness, composure, and grounded self-trust into a soft landing.",
          "purposeEn": "Integrates openness, composure, and grounded self-trust into a soft landing."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 9.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 11,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 6.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1200,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 9.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 10.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 11.8,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 105,
            "value": 30
          },
          {
            "time": 210,
            "value": 46
          },
          {
            "time": 345,
            "value": 58
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1740,
            "value": 82
          },
          {
            "time": 2040,
            "value": 24
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 105,
            "value": 6
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 2
          },
          {
            "time": 1200,
            "value": 8
          },
          {
            "time": 1380,
            "value": 16
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 2040,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 105,
            "value": 20
          },
          {
            "time": 210,
            "value": 28
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 42
          },
          {
            "time": 1380,
            "value": 48
          },
          {
            "time": 1560,
            "value": 54
          },
          {
            "time": 1740,
            "value": 56
          },
          {
            "time": 2040,
            "value": 14
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 36
          },
          {
            "time": 105,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 76
          },
          {
            "time": 1560,
            "value": 80
          },
          {
            "time": 1740,
            "value": 76
          },
          {
            "time": 2040,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 660,
            "value": 38
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 36
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1380,
            "value": 14
          },
          {
            "time": 1560,
            "value": 4
          },
          {
            "time": 1740,
            "value": 0
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 46
          },
          {
            "time": 660,
            "value": 56
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1200,
            "value": 44
          },
          {
            "time": 1380,
            "value": 32
          },
          {
            "time": 1560,
            "value": 22
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.6
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 9
          },
          {
            "time": 1020,
            "value": 7.8
          },
          {
            "time": 1200,
            "value": 5.2
          },
          {
            "time": 1380,
            "value": 3.6
          },
          {
            "time": 1560,
            "value": 2.2
          },
          {
            "time": 1740,
            "value": 1.5
          },
          {
            "time": 2040,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 345,
            "value": "#5ccf86",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 40
          },
          {
            "time": 480,
            "value": "#5664d8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.17,
            "auroraDepth": 52
          },
          {
            "time": 660,
            "value": "#7b3fc8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 60
          },
          {
            "time": 840,
            "value": "#8d3f8f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#3b4fa3",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.13,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#2fbf92",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 46
          },
          {
            "time": 1380,
            "value": "#f0a6ca",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.38,
            "auroraDepth": 30
          },
          {
            "time": 1740,
            "value": "#ff9f1c",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 34
          },
          {
            "time": 2040,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "relaxation-response": {
    "title": "Ontspanningsrespons (Emotioneel)",
    "titleEn": "Relaxation Response (Emotional)",
    "category": "herstel-welzijn",
    "subcategory": "stress-anxiety",
    "goal": "Ontworpen ter ondersteuning van een betrouwbare ontspanningsrespons, lichamelijk landen, trager innerlijk tempo, zachte ademhaling en rustig herstel van het zenuwstelsel.",
    "goalEn": "Designed to support a reliable relaxation response, body settling, slower inner pacing, soft breathing, and calm nervous system recovery.",
    "marketplaceListingId": "",
    "carrier": 174,
    "musicCrossfadeSeconds": 26,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1680,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention away from outer activity and into a softer body-centered rhythm.",
          "purposeEn": "Guides attention away from outer activity and into a softer body-centered rhythm."
        },
        {
          "time": 180,
          "name": "Alpha Settling",
          "nameEn": "Alpha Settling",
          "purpose": "Stabilizes relaxed alertness with smooth breathing, gentle light, and balanced alpha pacing.",
          "purposeEn": "Stabilizes relaxed alertness with smooth breathing, gentle light, and balanced alpha pacing."
        },
        {
          "time": 420,
          "name": "Body Release",
          "nameEn": "Body Release",
          "purpose": "Promotes muscular softening, emotional ease, and a gradual descent into theta relaxation.",
          "purposeEn": "Promotes muscular softening, emotional ease, and a gradual descent into theta relaxation."
        },
        {
          "time": 780,
          "name": "Deep Relaxation Plateau",
          "nameEn": "Deep Relaxation Plateau",
          "purpose": "Deepens inward absorption with spacious sound, gentle Infinity Ganzfeld™, and slow sensory continuity.",
          "purposeEn": "Deepens inward absorption with spacious sound, gentle Infinity Ganzfeld™, and slow sensory continuity."
        },
        {
          "time": 1080,
          "name": "Restful Integration",
          "nameEn": "Restful Integration",
          "purpose": "Integrates the relaxed state while returning toward steady alpha balance.",
          "purposeEn": "Integrates the relaxed state while returning toward steady alpha balance."
        },
        {
          "time": 1380,
          "name": "Warm Landing",
          "nameEn": "Warm Landing",
          "purpose": "Lands the session in calm presence, body comfort, and easy grounded awareness.",
          "purposeEn": "Lands the session in calm presence, body comfort, and easy grounded awareness."
        },
        {
          "time": 1680,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Closes with reduced stimulation, soft warmth, and settled clarity.",
          "purposeEn": "Closes with reduced stimulation, soft warmth, and settled clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 600,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.9,
            "lightPulseShape": "sine"
          },
          {
            "time": 930,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1230,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 600,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 930,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1230,
            "value": 7.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 90,
            "value": 28
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 300,
            "value": 52
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 600,
            "value": 76
          },
          {
            "time": 780,
            "value": 86
          },
          {
            "time": 930,
            "value": 90
          },
          {
            "time": 1080,
            "value": 78
          },
          {
            "time": 1230,
            "value": 66
          },
          {
            "time": 1380,
            "value": 50
          },
          {
            "time": 1530,
            "value": 34
          },
          {
            "time": 1680,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 90,
            "value": 5
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 300,
            "value": 7
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 600,
            "value": 1
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 930,
            "value": 0
          },
          {
            "time": 1080,
            "value": 3
          },
          {
            "time": 1230,
            "value": 7
          },
          {
            "time": 1380,
            "value": 10
          },
          {
            "time": 1530,
            "value": 7
          },
          {
            "time": 1680,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 600,
            "value": 38
          },
          {
            "time": 780,
            "value": 34
          },
          {
            "time": 930,
            "value": 30
          },
          {
            "time": 1080,
            "value": 32
          },
          {
            "time": 1230,
            "value": 34
          },
          {
            "time": 1380,
            "value": 28
          },
          {
            "time": 1530,
            "value": 20
          },
          {
            "time": 1680,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 90,
            "value": 48
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 300,
            "value": 64
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 930,
            "value": 70
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1230,
            "value": 64
          },
          {
            "time": 1380,
            "value": 56
          },
          {
            "time": 1530,
            "value": 44
          },
          {
            "time": 1680,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 600,
            "value": 36
          },
          {
            "time": 780,
            "value": 42
          },
          {
            "time": 930,
            "value": 38
          },
          {
            "time": 1080,
            "value": 28
          },
          {
            "time": 1230,
            "value": 20
          },
          {
            "time": 1380,
            "value": 12
          },
          {
            "time": 1530,
            "value": 4
          },
          {
            "time": 1680,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 16
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 44
          },
          {
            "time": 600,
            "value": 54
          },
          {
            "time": 780,
            "value": 64
          },
          {
            "time": 930,
            "value": 60
          },
          {
            "time": 1080,
            "value": 48
          },
          {
            "time": 1230,
            "value": 36
          },
          {
            "time": 1380,
            "value": 24
          },
          {
            "time": 1530,
            "value": 14
          },
          {
            "time": 1680,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 90,
            "value": 1.6
          },
          {
            "time": 180,
            "value": 2.6
          },
          {
            "time": 300,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 5.2
          },
          {
            "time": 600,
            "value": 6.8
          },
          {
            "time": 780,
            "value": 8.6
          },
          {
            "time": 930,
            "value": 8
          },
          {
            "time": 1080,
            "value": 5.8
          },
          {
            "time": 1230,
            "value": 4
          },
          {
            "time": 1380,
            "value": 2.6
          },
          {
            "time": 1530,
            "value": 1.6
          },
          {
            "time": 1680,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2e7dff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.15,
            "auroraDepth": 16
          },
          {
            "time": 90,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 300,
            "value": "#48c99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#3c6ed8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.17,
            "auroraDepth": 46
          },
          {
            "time": 600,
            "value": "#4b4bb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 56
          },
          {
            "time": 780,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 64
          },
          {
            "time": 930,
            "value": "#2f4c9a",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 58
          },
          {
            "time": 1080,
            "value": "#1f9f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 42
          },
          {
            "time": 1230,
            "value": "#70c979",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 1380,
            "value": "#f3c46b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 22
          },
          {
            "time": 1530,
            "value": "#f1b37a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 14
          },
          {
            "time": 1680,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1680
  },
  "runners-high": {
    "title": "Runner's high (Emotioneel)",
    "titleEn": "Runner's High (Emotional)",
    "category": "energie",
    "subcategory": "sports-energy",
    "goal": "Ontworpen ter ondersteuning van ritmisch momentum, geactiveerde focus, emotionele opwaartse beweging, lichaamsvertrouwen en een soepele flowstaatpiek.",
    "goalEn": "Designed to support rhythmic momentum, energized focus, emotional uplift, body confidence, and a smooth flow-state peak.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 40,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "triangle",
      "audioMode": "isochronic-monaural",
      "musicMood": "Ambient",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Warm-Up Arrival",
          "nameEn": "Warm-Up Arrival",
          "purpose": "Guides the body into rhythm, confidence, and relaxed readiness.",
          "purposeEn": "Guides the body into rhythm, confidence, and relaxed readiness."
        },
        {
          "time": 180,
          "name": "Rhythmic Build",
          "nameEn": "Rhythmic Build",
          "purpose": "Builds steady alpha-beta momentum with controlled drive.",
          "purposeEn": "Builds steady alpha-beta momentum with controlled drive."
        },
        {
          "time": 420,
          "name": "Flow Ignition",
          "nameEn": "Flow Ignition",
          "purpose": "Activates forward movement, motivation, and energetic body awareness.",
          "purposeEn": "Activates forward movement, motivation, and energetic body awareness."
        },
        {
          "time": 780,
          "name": "Endurance Groove",
          "nameEn": "Endurance Groove",
          "purpose": "Stabilizes a strong but smooth performance rhythm.",
          "purposeEn": "Stabilizes a strong but smooth performance rhythm."
        },
        {
          "time": 1140,
          "name": "Runner's High Peak",
          "nameEn": "Runner's High Peak",
          "purpose": "Promotes uplift, lightness, and immersive peak-state momentum.",
          "purposeEn": "Promotes uplift, lightness, and immersive peak-state momentum."
        },
        {
          "time": 1500,
          "name": "Integration Cruise",
          "nameEn": "Integration Cruise",
          "purpose": "Integrates the energized state into clarity and balanced confidence.",
          "purposeEn": "Integrates the energized state into clarity and balanced confidence."
        },
        {
          "time": 1920,
          "name": "Cool-Down Close",
          "nameEn": "Cool-Down Close",
          "purpose": "Lands the session with warmth, steadiness, and comfortable body awareness.",
          "purposeEn": "Lands the session with warmth, steadiness, and comfortable body awareness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 12,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 13.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 600,
            "value": 15.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 16.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 18,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1140,
            "value": 19.2,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 1320,
            "value": 17.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 14.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 11.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 11.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 13.4,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 600,
            "value": 15,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 780,
            "value": 16.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 960,
            "value": 17.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1140,
            "value": 19,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 1320,
            "value": 17.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 14,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 20
          },
          {
            "time": 90,
            "value": 32
          },
          {
            "time": 180,
            "value": 48
          },
          {
            "time": 300,
            "value": 62
          },
          {
            "time": 420,
            "value": 74
          },
          {
            "time": 600,
            "value": 82
          },
          {
            "time": 780,
            "value": 88
          },
          {
            "time": 960,
            "value": 94
          },
          {
            "time": 1140,
            "value": 96
          },
          {
            "time": 1320,
            "value": 86
          },
          {
            "time": 1500,
            "value": 70
          },
          {
            "time": 1680,
            "value": 46
          },
          {
            "time": 1920,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 90,
            "value": 7
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 420,
            "value": 26
          },
          {
            "time": 600,
            "value": 32
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 960,
            "value": 44
          },
          {
            "time": 1140,
            "value": 48
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1500,
            "value": 22
          },
          {
            "time": 1680,
            "value": 12
          },
          {
            "time": 1920,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 90,
            "value": 22
          },
          {
            "time": 180,
            "value": 32
          },
          {
            "time": 300,
            "value": 40
          },
          {
            "time": 420,
            "value": 50
          },
          {
            "time": 600,
            "value": 56
          },
          {
            "time": 780,
            "value": 60
          },
          {
            "time": 960,
            "value": 64
          },
          {
            "time": 1140,
            "value": 66
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1500,
            "value": 44
          },
          {
            "time": 1680,
            "value": 28
          },
          {
            "time": 1920,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 38
          },
          {
            "time": 90,
            "value": 50
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 70
          },
          {
            "time": 420,
            "value": 76
          },
          {
            "time": 600,
            "value": 80
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 960,
            "value": 84
          },
          {
            "time": 1140,
            "value": 84
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1680,
            "value": 48
          },
          {
            "time": 1920,
            "value": 30
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 0
          },
          {
            "time": 600,
            "value": 0
          },
          {
            "time": 780,
            "value": 0
          },
          {
            "time": 960,
            "value": 8
          },
          {
            "time": 1140,
            "value": 14
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1680,
            "value": 4
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 90,
            "value": 14
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 26
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 16
          },
          {
            "time": 780,
            "value": 20
          },
          {
            "time": 960,
            "value": 34
          },
          {
            "time": 1140,
            "value": 42
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1500,
            "value": 26
          },
          {
            "time": 1680,
            "value": 16
          },
          {
            "time": 1920,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 90,
            "value": 1.4
          },
          {
            "time": 180,
            "value": 2
          },
          {
            "time": 300,
            "value": 2.5
          },
          {
            "time": 420,
            "value": 1.6
          },
          {
            "time": 600,
            "value": 1.4
          },
          {
            "time": 780,
            "value": 1.8
          },
          {
            "time": 960,
            "value": 3.2
          },
          {
            "time": 1140,
            "value": 4.6
          },
          {
            "time": 1320,
            "value": 3.6
          },
          {
            "time": 1500,
            "value": 2.6
          },
          {
            "time": 1680,
            "value": 1.6
          },
          {
            "time": 1920,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 90,
            "value": "#36d1dc",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 24
          },
          {
            "time": 180,
            "value": "#3bd37a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 32
          },
          {
            "time": 300,
            "value": "#9bd84a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.55,
            "auroraDepth": 28
          },
          {
            "time": 600,
            "value": "#ffb347",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.72,
            "auroraDepth": 36
          },
          {
            "time": 780,
            "value": "#ff8c42",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.88,
            "auroraDepth": 42
          },
          {
            "time": 960,
            "value": "#ff5f6d",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 1.05,
            "auroraDepth": 52
          },
          {
            "time": 1140,
            "value": "#ffcc33",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 1.18,
            "auroraDepth": 58
          },
          {
            "time": 1320,
            "value": "#f6d365",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.78,
            "auroraDepth": 42
          },
          {
            "time": 1500,
            "value": "#48c6ef",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.38,
            "auroraDepth": 28
          },
          {
            "time": 1680,
            "value": "#74d99f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 18
          },
          {
            "time": 1920,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "tolerance": {
    "title": "Tolerantie (Emotioneel)",
    "titleEn": "Tolerance (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van emotionele ruimte, geduld, empathie, flexibel perspectief, rustige acceptatie en gegronde innerlijke balans.",
    "goalEn": "Designed to support emotional space, patience, empathy, flexible perspective, calm acceptance, and grounded inner balance.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2040,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides attention into grounded calm and softens immediate reactivity.",
          "purposeEn": "Guides attention into grounded calm and softens immediate reactivity."
        },
        {
          "time": 210,
          "name": "Patient Stabilization",
          "nameEn": "Patient Stabilization",
          "purpose": "Stabilizes relaxed alertness and builds emotional space before response.",
          "purposeEn": "Stabilizes relaxed alertness and builds emotional space before response."
        },
        {
          "time": 480,
          "name": "Perspective Opening",
          "nameEn": "Perspective Opening",
          "purpose": "Deepens reflective distance, curiosity, and flexible interpretation.",
          "purposeEn": "Deepens reflective distance, curiosity, and flexible interpretation."
        },
        {
          "time": 840,
          "name": "Compassion Plateau",
          "nameEn": "Compassion Plateau",
          "purpose": "Promotes spacious empathy, acceptance, and gentle release of inner resistance.",
          "purposeEn": "Promotes spacious empathy, acceptance, and gentle release of inner resistance."
        },
        {
          "time": 1200,
          "name": "Balanced Understanding",
          "nameEn": "Balanced Understanding",
          "purpose": "Integrates emotional warmth with clear boundaries and calm discernment.",
          "purposeEn": "Integrates emotional warmth with clear boundaries and calm discernment."
        },
        {
          "time": 1560,
          "name": "Responsive Presence",
          "nameEn": "Responsive Presence",
          "purpose": "Builds composed communication, flexible choice, and steady relational presence.",
          "purposeEn": "Builds composed communication, flexible choice, and steady relational presence."
        },
        {
          "time": 2040,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session in grounded tolerance, warmth, and quiet self-command.",
          "purposeEn": "Lands the session in grounded tolerance, warmth, and quiet self-command."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 9,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.3,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1380,
            "value": 7.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1560,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2040,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 105,
            "value": 28
          },
          {
            "time": 210,
            "value": 44
          },
          {
            "time": 345,
            "value": 56
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 90
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 68
          },
          {
            "time": 1560,
            "value": 60
          },
          {
            "time": 1740,
            "value": 44
          },
          {
            "time": 2040,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 105,
            "value": 5
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 4
          },
          {
            "time": 1380,
            "value": 9
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 2040,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 18
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 32
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 42
          },
          {
            "time": 840,
            "value": 36
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 44
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 2040,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 105,
            "value": 48
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1560,
            "value": 64
          },
          {
            "time": 1740,
            "value": 50
          },
          {
            "time": 2040,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 840,
            "value": 44
          },
          {
            "time": 1020,
            "value": 38
          },
          {
            "time": 1200,
            "value": 28
          },
          {
            "time": 1380,
            "value": 20
          },
          {
            "time": 1560,
            "value": 12
          },
          {
            "time": 1740,
            "value": 5
          },
          {
            "time": 2040,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 660,
            "value": 58
          },
          {
            "time": 840,
            "value": 66
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 52
          },
          {
            "time": 1380,
            "value": 40
          },
          {
            "time": 1560,
            "value": 28
          },
          {
            "time": 1740,
            "value": 16
          },
          {
            "time": 2040,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.2
          },
          {
            "time": 840,
            "value": 8.8
          },
          {
            "time": 1020,
            "value": 8.2
          },
          {
            "time": 1200,
            "value": 6.2
          },
          {
            "time": 1380,
            "value": 4.4
          },
          {
            "time": 1560,
            "value": 2.8
          },
          {
            "time": 1740,
            "value": 1.6
          },
          {
            "time": 2040,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.15,
            "auroraDepth": 16
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 345,
            "value": "#48c99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 480,
            "value": "#3c6ed8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 46
          },
          {
            "time": 660,
            "value": "#4b4bb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 56
          },
          {
            "time": 840,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 64
          },
          {
            "time": 1020,
            "value": "#2f4c9a",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 58
          },
          {
            "time": 1200,
            "value": "#1f9f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 42
          },
          {
            "time": 1380,
            "value": "#70c979",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 30
          },
          {
            "time": 1560,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 24
          },
          {
            "time": 1740,
            "value": "#f1b37a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 16
          },
          {
            "time": 2040,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2040
  },
  "urge-surfing": {
    "title": "Drangsurfen (Emotioneel)",
    "titleEn": "Urge Surfing (Emotional)",
    "category": "herstel-welzijn",
    "goal": "Ontworpen ter ondersteuning van gegrond bewustzijn, het observeren van drang, emotionele regulatie, afstand tot impulsen, golfachtige ontlading en stabiele zelfsturing.",
    "goalEn": "Designed to support grounded awareness, craving observation, emotional regulation, impulse distance, wave-like release, and steady self-command.",
    "marketplaceListingId": "",
    "carrier": 417,
    "musicCrossfadeSeconds": 30,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the body into grounded safety and steady present-moment awareness.",
          "purposeEn": "Guides the body into grounded safety and steady present-moment awareness."
        },
        {
          "time": 210,
          "name": "Observation Base",
          "nameEn": "Observation Base",
          "purpose": "Stabilizes calm attention and builds space between sensation and response.",
          "purposeEn": "Stabilizes calm attention and builds space between sensation and response."
        },
        {
          "time": 480,
          "name": "Wave Recognition",
          "nameEn": "Wave Recognition",
          "purpose": "Promotes clear noticing of urges as temporary waves of sensation and energy.",
          "purposeEn": "Promotes clear noticing of urges as temporary waves of sensation and energy."
        },
        {
          "time": 840,
          "name": "Surfing Plateau",
          "nameEn": "Surfing Plateau",
          "purpose": "Deepens tolerance, spaciousness, and the capacity to remain steady as intensity rises and falls.",
          "purposeEn": "Deepens tolerance, spaciousness, and the capacity to remain steady as intensity rises and falls."
        },
        {
          "time": 1200,
          "name": "Release and Reset",
          "nameEn": "Release and Reset",
          "purpose": "Guides the nervous system through a soft reset and promotes letting go of compulsive pull.",
          "purposeEn": "Guides the nervous system through a soft reset and promotes letting go of compulsive pull."
        },
        {
          "time": 1620,
          "name": "Self-Command Integration",
          "nameEn": "Self-Command Integration",
          "purpose": "Builds clear choice, calm confidence, and resilient forward direction.",
          "purposeEn": "Builds clear choice, calm confidence, and resilient forward direction."
        },
        {
          "time": 2160,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Lands the session in grounded clarity, reduced reactivity, and steady self-trust.",
          "purposeEn": "Lands the session in grounded clarity, reduced reactivity, and steady self-trust."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 8.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 10.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 105,
            "value": 9.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 345,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 480,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 660,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 840,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1410,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1800,
            "value": 10,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 105,
            "value": 28
          },
          {
            "time": 210,
            "value": 44
          },
          {
            "time": 345,
            "value": 56
          },
          {
            "time": 480,
            "value": 70
          },
          {
            "time": 660,
            "value": 82
          },
          {
            "time": 840,
            "value": 92
          },
          {
            "time": 1020,
            "value": 90
          },
          {
            "time": 1200,
            "value": 84
          },
          {
            "time": 1410,
            "value": 74
          },
          {
            "time": 1620,
            "value": 66
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 1980,
            "value": 48
          },
          {
            "time": 2160,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 105,
            "value": 5
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 345,
            "value": 7
          },
          {
            "time": 480,
            "value": 4
          },
          {
            "time": 660,
            "value": 1
          },
          {
            "time": 840,
            "value": 0
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1200,
            "value": 3
          },
          {
            "time": 1410,
            "value": 8
          },
          {
            "time": 1620,
            "value": 16
          },
          {
            "time": 1800,
            "value": 24
          },
          {
            "time": 1980,
            "value": 10
          },
          {
            "time": 2160,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 105,
            "value": 18
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 32
          },
          {
            "time": 480,
            "value": 38
          },
          {
            "time": 660,
            "value": 44
          },
          {
            "time": 840,
            "value": 38
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 34
          },
          {
            "time": 1410,
            "value": 38
          },
          {
            "time": 1620,
            "value": 44
          },
          {
            "time": 1800,
            "value": 50
          },
          {
            "time": 1980,
            "value": 30
          },
          {
            "time": 2160,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 105,
            "value": 48
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 345,
            "value": 66
          },
          {
            "time": 480,
            "value": 72
          },
          {
            "time": 660,
            "value": 76
          },
          {
            "time": 840,
            "value": 74
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1410,
            "value": 72
          },
          {
            "time": 1620,
            "value": 68
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 1980,
            "value": 52
          },
          {
            "time": 2160,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 105,
            "value": 14
          },
          {
            "time": 210,
            "value": 20
          },
          {
            "time": 345,
            "value": 24
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 660,
            "value": 40
          },
          {
            "time": 840,
            "value": 46
          },
          {
            "time": 1020,
            "value": 42
          },
          {
            "time": 1200,
            "value": 34
          },
          {
            "time": 1410,
            "value": 24
          },
          {
            "time": 1620,
            "value": 14
          },
          {
            "time": 1800,
            "value": 4
          },
          {
            "time": 1980,
            "value": 2
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 105,
            "value": 16
          },
          {
            "time": 210,
            "value": 26
          },
          {
            "time": 345,
            "value": 34
          },
          {
            "time": 480,
            "value": 48
          },
          {
            "time": 660,
            "value": 58
          },
          {
            "time": 840,
            "value": 68
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1200,
            "value": 54
          },
          {
            "time": 1410,
            "value": 42
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1800,
            "value": 22
          },
          {
            "time": 1980,
            "value": 14
          },
          {
            "time": 2160,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 105,
            "value": 1.6
          },
          {
            "time": 210,
            "value": 2.6
          },
          {
            "time": 345,
            "value": 3.4
          },
          {
            "time": 480,
            "value": 5.8
          },
          {
            "time": 660,
            "value": 7.4
          },
          {
            "time": 840,
            "value": 9.2
          },
          {
            "time": 1020,
            "value": 8.6
          },
          {
            "time": 1200,
            "value": 6.8
          },
          {
            "time": 1410,
            "value": 4.8
          },
          {
            "time": 1620,
            "value": 3.2
          },
          {
            "time": 1800,
            "value": 2.2
          },
          {
            "time": 1980,
            "value": 1.4
          },
          {
            "time": 2160,
            "value": 0.9
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f80ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.15,
            "auroraDepth": 16
          },
          {
            "time": 105,
            "value": "#31c7d8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 210,
            "value": "#39d98a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 345,
            "value": "#48c99a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 38
          },
          {
            "time": 480,
            "value": "#3c6ed8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 46
          },
          {
            "time": 660,
            "value": "#4b4bb8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 56
          },
          {
            "time": 840,
            "value": "#4a287a",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#2f4c9a",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.12,
            "auroraDepth": 60
          },
          {
            "time": 1200,
            "value": "#3156c8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 50
          },
          {
            "time": 1410,
            "value": "#1fbf9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 42
          },
          {
            "time": 1620,
            "value": "#70c979",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 30
          },
          {
            "time": 1800,
            "value": "#ffd166",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.38,
            "auroraDepth": 26
          },
          {
            "time": 1980,
            "value": "#f1b37a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 16
          },
          {
            "time": 2160,
            "value": "#f8d8b0",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "access-the-quantum": {
    "title": "Toegang tot het kwantumveld (Spiritueel)",
    "titleEn": "Access The Quantum (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van verruimd meditatief bewustzijn, intuitieve waarneming, innerlijke beelden en een gevoelde toegang tot een ruim kwantumveld van mogelijkheden.",
    "goalEn": "Designed to support expansive meditative awareness, intuitive perception, inner imagery, and a felt sense of access to a spacious quantum field of possibility.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Stabilizes attention, grounds the body, and opens a calm inner field.",
          "purposeEn": "Stabilizes attention, grounds the body, and opens a calm inner field."
        },
        {
          "time": 240,
          "name": "Signal Tuning",
          "nameEn": "Signal Tuning",
          "purpose": "Guides the mind from relaxed alpha into receptive theta clarity.",
          "purposeEn": "Guides the mind from relaxed alpha into receptive theta clarity."
        },
        {
          "time": 600,
          "name": "Quantum Threshold",
          "nameEn": "Quantum Threshold",
          "purpose": "Deepens imagery, spaciousness, and subtle inner perception.",
          "purposeEn": "Deepens imagery, spaciousness, and subtle inner perception."
        },
        {
          "time": 960,
          "name": "Field Immersion",
          "nameEn": "Field Immersion",
          "purpose": "Promotes expansive absorption through Infinity Ganzfeld™ light, drone depth, and slow theta waves.",
          "purposeEn": "Promotes expansive absorption through Infinity Ganzfeld™ light, drone depth, and slow theta waves."
        },
        {
          "time": 1440,
          "name": "Coherence Activation",
          "nameEn": "Coherence Activation",
          "purpose": "Builds luminous coherence, intuitive connection, and focused inner presence.",
          "purposeEn": "Builds luminous coherence, intuitive connection, and focused inner presence."
        },
        {
          "time": 1800,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Stabilizes insights into relaxed alpha awareness and embodied clarity.",
          "purposeEn": "Stabilizes insights into relaxed alpha awareness and embodied clarity."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Closes the field softly with grounded warmth and steady presence.",
          "purposeEn": "Closes the field softly with grounded warmth and steady presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 960,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.3,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 960,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 4.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.1,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 9.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 600,
            "value": 58
          },
          {
            "time": 960,
            "value": 76
          },
          {
            "time": 1200,
            "value": 88
          },
          {
            "time": 1440,
            "value": 82
          },
          {
            "time": 1680,
            "value": 66
          },
          {
            "time": 1800,
            "value": 48
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 240,
            "value": 5
          },
          {
            "time": 600,
            "value": 12
          },
          {
            "time": 960,
            "value": 18
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1440,
            "value": 34
          },
          {
            "time": 1560,
            "value": 42
          },
          {
            "time": 1680,
            "value": 28
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 960,
            "value": 42
          },
          {
            "time": 1200,
            "value": 46
          },
          {
            "time": 1440,
            "value": 50
          },
          {
            "time": 1680,
            "value": 36
          },
          {
            "time": 1800,
            "value": 24
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 34
          },
          {
            "time": 120,
            "value": 48
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 600,
            "value": 66
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1200,
            "value": 74
          },
          {
            "time": 1440,
            "value": 70
          },
          {
            "time": 1680,
            "value": 62
          },
          {
            "time": 1800,
            "value": 50
          },
          {
            "time": 2100,
            "value": 20
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 600,
            "value": 20
          },
          {
            "time": 960,
            "value": 30
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1440,
            "value": 24
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1800,
            "value": 6
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 960,
            "value": 52
          },
          {
            "time": 1200,
            "value": 60
          },
          {
            "time": 1440,
            "value": 54
          },
          {
            "time": 1680,
            "value": 38
          },
          {
            "time": 1800,
            "value": 22
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 2.8
          },
          {
            "time": 600,
            "value": 5.4
          },
          {
            "time": 960,
            "value": 8.8
          },
          {
            "time": 1200,
            "value": 10.2
          },
          {
            "time": 1440,
            "value": 8.2
          },
          {
            "time": 1680,
            "value": 5
          },
          {
            "time": 1800,
            "value": 3
          },
          {
            "time": 2100,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#102040",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#184c7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 26
          },
          {
            "time": 240,
            "value": "#246b8f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 38
          },
          {
            "time": 600,
            "value": "#3b2c8f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.36,
            "auroraDepth": 52
          },
          {
            "time": 960,
            "value": "#1a103d",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 72
          },
          {
            "time": 1200,
            "value": "#4a1f8f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 86
          },
          {
            "time": 1440,
            "value": "#a64dff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.34,
            "auroraDepth": 70
          },
          {
            "time": 1560,
            "value": "#f5d76e",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.46,
            "auroraDepth": 58
          },
          {
            "time": 1680,
            "value": "#7ed6ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.32,
            "auroraDepth": 36
          },
          {
            "time": 1800,
            "value": "#d9b26f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 2100,
            "value": "#2a1f18",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "astral-projection": {
    "title": "Astrale projectie (Spiritueel)",
    "titleEn": "Astral Projection (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van diepe innerlijke absorptie, verruimd ruimtelijk bewustzijn, levendige innerlijke beelden en een stabiele terugkeer uit een astrale meditatieve reis.",
    "goalEn": "Designed to support deep inward absorption, expanded spatial awareness, vivid inner imagery, and a stabilized return from an astral-style meditation journey.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 28,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body, quiet external orientation, and open a calm inner focus.",
          "purposeEn": "Settle the body, quiet external orientation, and open a calm inner focus."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Build relaxed alpha stability and a steady threshold for inner imagery.",
          "purposeEn": "Build relaxed alpha stability and a steady threshold for inner imagery."
        },
        {
          "time": 600,
          "name": "Threshold Descent",
          "nameEn": "Threshold Descent",
          "purpose": "Guide attention from alpha into theta for floating, drifting and spatial imagination.",
          "purposeEn": "Guide attention from alpha into theta for floating, drifting and spatial imagination."
        },
        {
          "time": 1020,
          "name": "Separation Imagery",
          "nameEn": "Separation Imagery",
          "purpose": "Deepen into a spacious trance plateau with Infinity Ganzfeld™ support and soft sensory abstraction.",
          "purposeEn": "Deepen into a spacious trance plateau with Infinity Ganzfeld™ support and soft sensory abstraction."
        },
        {
          "time": 1500,
          "name": "Astral Plateau",
          "nameEn": "Astral Plateau",
          "purpose": "Activate an expansive contemplative peak with transcendent tone, depth, and panoramic inner space.",
          "purposeEn": "Activate an expansive contemplative peak with transcendent tone, depth, and panoramic inner space."
        },
        {
          "time": 1980,
          "name": "Integration Pathway",
          "nameEn": "Integration Pathway",
          "purpose": "Gather impressions, stabilize orientation, and translate the experience into clear remembrance.",
          "purposeEn": "Gather impressions, stabilize orientation, and translate the experience into clear remembrance."
        },
        {
          "time": 2280,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return gently to grounded awareness with warmth, clarity, and calm closure.",
          "purposeEn": "Return gently to grounded awareness with warmth, clarity, and calm closure."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 810,
            "value": 6.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5.1,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 4.3,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 7.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.6,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.1,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 810,
            "value": 6.5,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 4.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1980,
            "value": 6.1,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2160,
            "value": 7.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2280,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 240,
            "value": 42
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 810,
            "value": 86
          },
          {
            "time": 1020,
            "value": 94
          },
          {
            "time": 1260,
            "value": 100
          },
          {
            "time": 1500,
            "value": 100
          },
          {
            "time": 1740,
            "value": 92
          },
          {
            "time": 1980,
            "value": 76
          },
          {
            "time": 2160,
            "value": 58
          },
          {
            "time": 2280,
            "value": 36
          },
          {
            "time": 2400,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 6
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 810,
            "value": 3
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1260,
            "value": 0
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1740,
            "value": 10
          },
          {
            "time": 1980,
            "value": 8
          },
          {
            "time": 2160,
            "value": 12
          },
          {
            "time": 2280,
            "value": 10
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 34
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 48
          },
          {
            "time": 810,
            "value": 54
          },
          {
            "time": 1020,
            "value": 58
          },
          {
            "time": 1260,
            "value": 62
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1740,
            "value": 58
          },
          {
            "time": 1980,
            "value": 46
          },
          {
            "time": 2160,
            "value": 34
          },
          {
            "time": 2280,
            "value": 22
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 120,
            "value": 56
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 810,
            "value": 74
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1260,
            "value": 66
          },
          {
            "time": 1500,
            "value": 72
          },
          {
            "time": 1740,
            "value": 76
          },
          {
            "time": 1980,
            "value": 68
          },
          {
            "time": 2160,
            "value": 60
          },
          {
            "time": 2280,
            "value": 48
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 600,
            "value": 22
          },
          {
            "time": 810,
            "value": 26
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1260,
            "value": 40
          },
          {
            "time": 1500,
            "value": 36
          },
          {
            "time": 1740,
            "value": 30
          },
          {
            "time": 1980,
            "value": 18
          },
          {
            "time": 2160,
            "value": 10
          },
          {
            "time": 2280,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 14
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 600,
            "value": 42
          },
          {
            "time": 810,
            "value": 54
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1500,
            "value": 82
          },
          {
            "time": 1740,
            "value": 72
          },
          {
            "time": 1980,
            "value": 46
          },
          {
            "time": 2160,
            "value": 30
          },
          {
            "time": 2280,
            "value": 16
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 120,
            "value": 2
          },
          {
            "time": 240,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 4.6
          },
          {
            "time": 600,
            "value": 6.4
          },
          {
            "time": 810,
            "value": 8.2
          },
          {
            "time": 1020,
            "value": 10.5
          },
          {
            "time": 1260,
            "value": 11.5
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1740,
            "value": 9.6
          },
          {
            "time": 1980,
            "value": 5.6
          },
          {
            "time": 2160,
            "value": 3.4
          },
          {
            "time": 2280,
            "value": 2
          },
          {
            "time": 2400,
            "value": 0.6
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#142a66",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 120,
            "value": "#1e4f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 240,
            "value": "#2556d6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#3c35b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 46
          },
          {
            "time": 600,
            "value": "#4b1e91",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.26,
            "auroraDepth": 58
          },
          {
            "time": 810,
            "value": "#6527b8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 68
          },
          {
            "time": 1020,
            "value": "#25125f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.16,
            "auroraDepth": 78
          },
          {
            "time": 1260,
            "value": "#130735",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.11,
            "auroraDepth": 90
          },
          {
            "time": 1500,
            "value": "#8b37ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 86
          },
          {
            "time": 1620,
            "value": "#d7b7ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.26,
            "auroraDepth": 74
          },
          {
            "time": 1740,
            "value": "#4a1f8f",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 66
          },
          {
            "time": 1980,
            "value": "#146b91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 52
          },
          {
            "time": 2160,
            "value": "#32a3a6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 2280,
            "value": "#c48a3a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 22
          },
          {
            "time": 2400,
            "value": "#1c1028",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "awaken-intuition": {
    "title": "Intuitie ontwaken (Spiritueel)",
    "titleEn": "Awaken Intuition (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van intuitief bewustzijn, innerlijk zien, subtiele waarneming en rustig inzicht via een progressieve meditatieve reis.",
    "goalEn": "Designed to support intuitive awareness, inner vision, subtle perception, and calm insight through a progressive meditation journey.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settles attention into the body and opens a calm receptive state.",
          "purposeEn": "Settles attention into the body and opens a calm receptive state."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Builds relaxed alpha coherence and quiet mental steadiness.",
          "purposeEn": "Builds relaxed alpha coherence and quiet mental steadiness."
        },
        {
          "time": 540,
          "name": "Inner Vision Descent",
          "nameEn": "Inner Vision Descent",
          "purpose": "Guides awareness from alpha into theta for imagery and intuitive access.",
          "purposeEn": "Guides awareness from alpha into theta for imagery and intuitive access."
        },
        {
          "time": 900,
          "name": "Intuition Plateau",
          "nameEn": "Intuition Plateau",
          "purpose": "Deepens inner perception with spacious sound, violet-blue light, Aurora Immersion™, and Infinity Ganzfeld™ immersion.",
          "purposeEn": "Deepens inner perception with spacious sound, violet-blue light, Aurora Immersion™, and Infinity Ganzfeld™ immersion."
        },
        {
          "time": 1260,
          "name": "Insight Integration",
          "nameEn": "Insight Integration",
          "purpose": "Brings intuitive impressions into clear alpha awareness and emotional coherence.",
          "purposeEn": "Brings intuitive impressions into clear alpha awareness and emotional coherence."
        },
        {
          "time": 1620,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Stabilizes the experience and closes with warm clarity and calm presence.",
          "purposeEn": "Stabilizes the experience and closes with warm clarity and calm presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 7.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1440,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 120,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 390,
            "value": 8.7,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 5.3,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1260,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1440,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 34
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 390,
            "value": 58
          },
          {
            "time": 540,
            "value": 70
          },
          {
            "time": 720,
            "value": 82
          },
          {
            "time": 900,
            "value": 92
          },
          {
            "time": 1080,
            "value": 96
          },
          {
            "time": 1260,
            "value": 84
          },
          {
            "time": 1440,
            "value": 66
          },
          {
            "time": 1620,
            "value": 42
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 390,
            "value": 6
          },
          {
            "time": 540,
            "value": 3
          },
          {
            "time": 720,
            "value": 0
          },
          {
            "time": 900,
            "value": 0
          },
          {
            "time": 1080,
            "value": 6
          },
          {
            "time": 1260,
            "value": 18
          },
          {
            "time": 1440,
            "value": 14
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1800,
            "value": 2
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 26
          },
          {
            "time": 240,
            "value": 34
          },
          {
            "time": 390,
            "value": 38
          },
          {
            "time": 540,
            "value": 44
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 900,
            "value": 42
          },
          {
            "time": 1080,
            "value": 40
          },
          {
            "time": 1260,
            "value": 46
          },
          {
            "time": 1440,
            "value": 34
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 46
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 240,
            "value": 64
          },
          {
            "time": 390,
            "value": 66
          },
          {
            "time": 540,
            "value": 70
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1080,
            "value": 66
          },
          {
            "time": 1260,
            "value": 72
          },
          {
            "time": 1440,
            "value": 64
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1800,
            "value": 20
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 390,
            "value": 16
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 720,
            "value": 24
          },
          {
            "time": 900,
            "value": 28
          },
          {
            "time": 1080,
            "value": 24
          },
          {
            "time": 1260,
            "value": 16
          },
          {
            "time": 1440,
            "value": 10
          },
          {
            "time": 1620,
            "value": 3
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 120,
            "value": 16
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 390,
            "value": 30
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 720,
            "value": 54
          },
          {
            "time": 900,
            "value": 66
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1260,
            "value": 58
          },
          {
            "time": 1440,
            "value": 42
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1800,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 120,
            "value": 1.8
          },
          {
            "time": 240,
            "value": 2.8
          },
          {
            "time": 390,
            "value": 3.4
          },
          {
            "time": 540,
            "value": 5.4
          },
          {
            "time": 720,
            "value": 7.2
          },
          {
            "time": 900,
            "value": 9.4
          },
          {
            "time": 1080,
            "value": 10.2
          },
          {
            "time": 1260,
            "value": 7.6
          },
          {
            "time": 1440,
            "value": 4.4
          },
          {
            "time": 1620,
            "value": 2.2
          },
          {
            "time": 1800,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#102a5c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 22
          },
          {
            "time": 120,
            "value": "#1d5f86",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 240,
            "value": "#2b88a8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 38
          },
          {
            "time": 390,
            "value": "#3154b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 46
          },
          {
            "time": 540,
            "value": "#3b2f91",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 56
          },
          {
            "time": 720,
            "value": "#4b1f8f",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.13,
            "auroraDepth": 66
          },
          {
            "time": 900,
            "value": "#2d115f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1080,
            "value": "#57108c",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.09,
            "auroraDepth": 82
          },
          {
            "time": 1260,
            "value": "#7d35c5",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1440,
            "value": "#d69b35",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 42
          },
          {
            "time": 1620,
            "value": "#e8b56a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 24
          },
          {
            "time": 1800,
            "value": "#f1cfa2",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "cleanse-aura": {
    "title": "Aura reinigen (Spiritueel)",
    "titleEn": "Cleanse Aura (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van energetische zuiveringsbeelden, emotionele reset, lichtende ruimte, hernieuwde helderheid en gegronde integratie.",
    "goalEn": "Designed to support energetic clearing imagery, emotional reset, luminous spaciousness, renewed clarity, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 417,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body and create a calm field for energetic clearing imagery.",
          "purposeEn": "Settle the body and create a calm field for energetic clearing imagery."
        },
        {
          "time": 180,
          "name": "Grounded Reset",
          "nameEn": "Grounded Reset",
          "purpose": "Stabilize relaxed awareness and begin a gentle reset of emotional tone.",
          "purposeEn": "Stabilize relaxed awareness and begin a gentle reset of emotional tone."
        },
        {
          "time": 420,
          "name": "Clearing Current",
          "nameEn": "Clearing Current",
          "purpose": "Promote a flowing sense of release, brightness, and subtle purification.",
          "purposeEn": "Promote a flowing sense of release, brightness, and subtle purification."
        },
        {
          "time": 720,
          "name": "Aura Wash",
          "nameEn": "Aura Wash",
          "purpose": "Deepen into theta with spacious light imagery and a soft sensory wash.",
          "purposeEn": "Deepen into theta with spacious light imagery and a soft sensory wash."
        },
        {
          "time": 1020,
          "name": "Luminous Field",
          "nameEn": "Luminous Field",
          "purpose": "Stabilize a clear, expanded field of light, renewal, and quiet inner spaciousness.",
          "purposeEn": "Stabilize a clear, expanded field of light, renewal, and quiet inner spaciousness."
        },
        {
          "time": 1320,
          "name": "Renewed Clarity",
          "nameEn": "Renewed Clarity",
          "purpose": "Build clean focus, energetic brightness, and emotional lightness.",
          "purposeEn": "Build clean focus, energetic brightness, and emotional lightness."
        },
        {
          "time": 1620,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate the clearing experience into calm, grounded, present awareness.",
          "purposeEn": "Integrate the clearing experience into calm, grounded, present awareness."
        },
        {
          "time": 1920,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with warmth, steadiness, and a refreshed sense of clarity.",
          "purposeEn": "Close with warmth, steadiness, and a refreshed sense of clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1620,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1620,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 720,
            "value": 76
          },
          {
            "time": 1020,
            "value": 86
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1920,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 10
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 720,
            "value": 30
          },
          {
            "time": 1020,
            "value": 40
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1620,
            "value": 16
          },
          {
            "time": 1920,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 720,
            "value": 36
          },
          {
            "time": 1020,
            "value": 28
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1620,
            "value": 24
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1620,
            "value": 56
          },
          {
            "time": 1920,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 720,
            "value": 52
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 720,
            "value": 6.2
          },
          {
            "time": 1020,
            "value": 9.2
          },
          {
            "time": 1320,
            "value": 7
          },
          {
            "time": 1620,
            "value": 3.2
          },
          {
            "time": 1920,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#264f5f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#2fd0c3",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 30
          },
          {
            "time": 420,
            "value": "#78f0ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 46
          },
          {
            "time": 720,
            "value": "#b9f7ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 58
          },
          {
            "time": 1020,
            "value": "#f4fbff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 78
          },
          {
            "time": 1320,
            "value": "#d9b8ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1620,
            "value": "#9ee7c4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 1920,
            "value": "#ffd1a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "compassion": {
    "title": "Compassie (Spiritueel)",
    "titleEn": "Compassion (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van hartgerichte compassie, emotionele warmte, vergeving, zachtheid, relationele openheid en gegronde integratie.",
    "goalEn": "Designed to support heart-centered compassion, emotional warmth, forgiveness, tenderness, relational openness, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Gentle Arrival",
          "nameEn": "Gentle Arrival",
          "purpose": "Settle into a soft body state and prepare the heart for compassionate awareness.",
          "purposeEn": "Settle into a soft body state and prepare the heart for compassionate awareness."
        },
        {
          "time": 180,
          "name": "Heart Safety",
          "nameEn": "Heart Safety",
          "purpose": "Build calm warmth, inner steadiness, and a safe emotional foundation.",
          "purposeEn": "Build calm warmth, inner steadiness, and a safe emotional foundation."
        },
        {
          "time": 420,
          "name": "Self-Compassion",
          "nameEn": "Self-Compassion",
          "purpose": "Promote kindness toward the self and soften inner resistance.",
          "purposeEn": "Promote kindness toward the self and soften inner resistance."
        },
        {
          "time": 720,
          "name": "Compassion Expansion",
          "nameEn": "Compassion Expansion",
          "purpose": "Deepen emotional openness, forgiveness imagery, and connection with others.",
          "purposeEn": "Deepen emotional openness, forgiveness imagery, and connection with others."
        },
        {
          "time": 1020,
          "name": "Tender Immersion",
          "nameEn": "Tender Immersion",
          "purpose": "Guide a spacious theta state for deep tenderness, warmth, and open-hearted presence.",
          "purposeEn": "Guide a spacious theta state for deep tenderness, warmth, and open-hearted presence."
        },
        {
          "time": 1320,
          "name": "Shared Humanity",
          "nameEn": "Shared Humanity",
          "purpose": "Stabilize a broader sense of connection, understanding, and emotional unity.",
          "purposeEn": "Stabilize a broader sense of connection, understanding, and emotional unity."
        },
        {
          "time": 1620,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate compassion into clear, grounded, present-moment awareness.",
          "purposeEn": "Integrate compassion into clear, grounded, present-moment awareness."
        },
        {
          "time": 1920,
          "name": "Warm Landing",
          "nameEn": "Warm Landing",
          "purpose": "Close gently with softness, stability, and embodied kindness.",
          "purposeEn": "Close gently with softness, stability, and embodied kindness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.7,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 180,
            "value": 40
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 1020,
            "value": 82
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1620,
            "value": 52
          },
          {
            "time": 1920,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 1020,
            "value": 22
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1620,
            "value": 14
          },
          {
            "time": 1920,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1020,
            "value": 28
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 50
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1620,
            "value": 56
          },
          {
            "time": 1920,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 1020,
            "value": 66
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2
          },
          {
            "time": 420,
            "value": 3.8
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 1020,
            "value": 8.6
          },
          {
            "time": 1320,
            "value": 7
          },
          {
            "time": 1620,
            "value": 3.4
          },
          {
            "time": 1920,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#3f9f72",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#7fdc96",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#ff9fbd",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 44
          },
          {
            "time": 720,
            "value": "#ff6fae",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 54
          },
          {
            "time": 1020,
            "value": "#ffd1e8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 72
          },
          {
            "time": 1320,
            "value": "#b56cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1620,
            "value": "#bff5ce",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 1920,
            "value": "#ffd1a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "connectedness": {
    "title": "Verbondenheid (Spiritueel)",
    "titleEn": "Connectedness (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van hartgerichte verbinding, emotionele warmte, relationele openheid, eenheidsbewustzijn en gegronde integratie.",
    "goalEn": "Designed to support heart-centered connection, emotional warmth, relational openness, unity awareness, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 639,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1920,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle into the body and establish a calm relational field.",
          "purposeEn": "Settle into the body and establish a calm relational field."
        },
        {
          "time": 180,
          "name": "Heart Grounding",
          "nameEn": "Heart Grounding",
          "purpose": "Stabilize relaxed alpha awareness with soft warmth and safety.",
          "purposeEn": "Stabilize relaxed alpha awareness with soft warmth and safety."
        },
        {
          "time": 420,
          "name": "Opening to Others",
          "nameEn": "Opening to Others",
          "purpose": "Promote emotional openness, compassion, and receptive connection.",
          "purposeEn": "Promote emotional openness, compassion, and receptive connection."
        },
        {
          "time": 720,
          "name": "Shared Field",
          "nameEn": "Shared Field",
          "purpose": "Deepen into theta-based spaciousness and a sense of shared presence.",
          "purposeEn": "Deepen into theta-based spaciousness and a sense of shared presence."
        },
        {
          "time": 1020,
          "name": "Unity Immersion",
          "nameEn": "Unity Immersion",
          "purpose": "Guide a broad, luminous experience of belonging and unity awareness.",
          "purposeEn": "Guide a broad, luminous experience of belonging and unity awareness."
        },
        {
          "time": 1320,
          "name": "Compassion Expansion",
          "nameEn": "Compassion Expansion",
          "purpose": "Build emotional coherence, kindness, forgiveness, and gentle inner expansion.",
          "purposeEn": "Build emotional coherence, kindness, forgiveness, and gentle inner expansion."
        },
        {
          "time": 1620,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate connectedness into grounded calm, clarity, and present awareness.",
          "purposeEn": "Integrate connectedness into grounded calm, clarity, and present awareness."
        },
        {
          "time": 1920,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with warmth, stability, and a clear sense of embodied connection.",
          "purposeEn": "Close with warmth, stability, and a clear sense of embodied connection."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 26
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 60
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 1020,
            "value": 82
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1920,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 720,
            "value": 18
          },
          {
            "time": 1020,
            "value": 26
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1620,
            "value": 14
          },
          {
            "time": 1920,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 720,
            "value": 36
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1620,
            "value": 22
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 50
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1620,
            "value": 58
          },
          {
            "time": 1920,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1920,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 720,
            "value": 46
          },
          {
            "time": 1020,
            "value": 66
          },
          {
            "time": 1320,
            "value": 56
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1920,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2
          },
          {
            "time": 420,
            "value": 3.8
          },
          {
            "time": 720,
            "value": 5.4
          },
          {
            "time": 1020,
            "value": 8.8
          },
          {
            "time": 1320,
            "value": 7
          },
          {
            "time": 1620,
            "value": 3.4
          },
          {
            "time": 1920,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2f8f6f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#54c987",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#ff9fb4",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 42
          },
          {
            "time": 720,
            "value": "#ff6fae",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 52
          },
          {
            "time": 1020,
            "value": "#b56cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.14,
            "auroraDepth": 72
          },
          {
            "time": 1320,
            "value": "#ffd6e8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 64
          },
          {
            "time": 1620,
            "value": "#9ee7c4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 1920,
            "value": "#ffd1a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1920
  },
  "discover-life-purpose": {
    "title": "Levensdoel ontdekken (Spiritueel)",
    "titleEn": "Discover Life Purpose (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van innerlijke helderheid, betekenisvolle richting, intuitieve beelden rond levensdoel, afstemming op waarden, motivatie en gegronde integratie.",
    "goalEn": "Designed to support inner clarity, meaningful direction, intuitive life-purpose imagery, values alignment, motivation, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 741,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body and prepare a calm field for honest inner orientation.",
          "purposeEn": "Settle the body and prepare a calm field for honest inner orientation."
        },
        {
          "time": 210,
          "name": "Values Grounding",
          "nameEn": "Values Grounding",
          "purpose": "Stabilize relaxed awareness around values, meaning, and authentic direction.",
          "purposeEn": "Stabilize relaxed awareness around values, meaning, and authentic direction."
        },
        {
          "time": 480,
          "name": "Inner Question",
          "nameEn": "Inner Question",
          "purpose": "Open reflective space for purpose, calling, contribution, and personal truth.",
          "purposeEn": "Open reflective space for purpose, calling, contribution, and personal truth."
        },
        {
          "time": 780,
          "name": "Purpose Imagery",
          "nameEn": "Purpose Imagery",
          "purpose": "Guide theta imagery toward symbolic answers, future-self insight, and meaningful possibilities.",
          "purposeEn": "Guide theta imagery toward symbolic answers, future-self insight, and meaningful possibilities."
        },
        {
          "time": 1080,
          "name": "Deep Insight Plateau",
          "nameEn": "Deep Insight Plateau",
          "purpose": "Deepen into immersive awareness for intuitive clarity, alignment, and inspired recognition.",
          "purposeEn": "Deepen into immersive awareness for intuitive clarity, alignment, and inspired recognition."
        },
        {
          "time": 1380,
          "name": "Inspired Activation",
          "nameEn": "Inspired Activation",
          "purpose": "Build motivation, confidence, and direction while preserving calm inner clarity.",
          "purposeEn": "Build motivation, confidence, and direction while preserving calm inner clarity."
        },
        {
          "time": 1680,
          "name": "Clear Integration",
          "nameEn": "Clear Integration",
          "purpose": "Integrate insight into practical focus, emotional coherence, and embodied intention.",
          "purposeEn": "Integrate insight into practical focus, emotional coherence, and embodied intention."
        },
        {
          "time": 1920,
          "name": "Grounded Commitment",
          "nameEn": "Grounded Commitment",
          "purpose": "Return to a stable alpha state with purpose, warmth, and steady inner resolve.",
          "purposeEn": "Return to a stable alpha state with purpose, warmth, and steady inner resolve."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with calm clarity, grounded direction, and integrated presence.",
          "purposeEn": "Close with calm clarity, grounded direction, and integrated presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 480,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 7.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 11,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 480,
            "value": 8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 5.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 9,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1920,
            "value": 10.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 10.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 210,
            "value": 42
          },
          {
            "time": 480,
            "value": 60
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1080,
            "value": 84
          },
          {
            "time": 1380,
            "value": 78
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1920,
            "value": 46
          },
          {
            "time": 2100,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 210,
            "value": 8
          },
          {
            "time": 480,
            "value": 16
          },
          {
            "time": 780,
            "value": 18
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1680,
            "value": 32
          },
          {
            "time": 1920,
            "value": 16
          },
          {
            "time": 2100,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 210,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 780,
            "value": 36
          },
          {
            "time": 1080,
            "value": 30
          },
          {
            "time": 1380,
            "value": 38
          },
          {
            "time": 1680,
            "value": 42
          },
          {
            "time": 1920,
            "value": 24
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 480,
            "value": 68
          },
          {
            "time": 780,
            "value": 70
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1920,
            "value": 56
          },
          {
            "time": 2100,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 480,
            "value": 3
          },
          {
            "time": 780,
            "value": 16
          },
          {
            "time": 1080,
            "value": 24
          },
          {
            "time": 1380,
            "value": 16
          },
          {
            "time": 1680,
            "value": 10
          },
          {
            "time": 1920,
            "value": 6
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 210,
            "value": 18
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 1080,
            "value": 68
          },
          {
            "time": 1380,
            "value": 58
          },
          {
            "time": 1680,
            "value": 40
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 210,
            "value": 2
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 780,
            "value": 5.4
          },
          {
            "time": 1080,
            "value": 8.8
          },
          {
            "time": 1380,
            "value": 7
          },
          {
            "time": 1680,
            "value": 4.5
          },
          {
            "time": 1920,
            "value": 2.4
          },
          {
            "time": 2100,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#276a7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 210,
            "value": "#3fc7b2",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 480,
            "value": "#4a8cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 44
          },
          {
            "time": 780,
            "value": "#6532ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 54
          },
          {
            "time": 1080,
            "value": "#8c3dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1380,
            "value": "#ffb347",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 62
          },
          {
            "time": 1680,
            "value": "#ffd24d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 44
          },
          {
            "time": 1920,
            "value": "#9ee7c4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 28
          },
          {
            "time": 2100,
            "value": "#ffd1a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "free-flowing-chi": {
    "title": "Vrij stromende chi (Spiritueel)",
    "titleEn": "Free Flowing Chi (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van soepele energetische stroming, belichaamde rust, evenwichtige vitaliteit en geintegreerde aanwezigheid.",
    "goalEn": "Designed to support smooth energetic flow, embodied calm, balanced vitality, and integrated presence.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 36,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1680,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle into the body, soften attention, and open a calm inner channel for flowing energy.",
          "purposeEn": "Settle into the body, soften attention, and open a calm inner channel for flowing energy."
        },
        {
          "time": 180,
          "name": "Breath Current",
          "nameEn": "Breath Current",
          "purpose": "Build rhythmic regulation with gentle alpha pulses, soft green-blue light, and a steady energetic flow.",
          "purposeEn": "Build rhythmic regulation with gentle alpha pulses, soft green-blue light, and a steady energetic flow."
        },
        {
          "time": 420,
          "name": "Energy Pathways",
          "nameEn": "Energy Pathways",
          "purpose": "Guide attention through the body with warmer colors, clear entrainment, and fluid chi movement.",
          "purposeEn": "Guide attention through the body with warmer colors, clear entrainment, and fluid chi movement."
        },
        {
          "time": 720,
          "name": "Open Flow",
          "nameEn": "Open Flow",
          "purpose": "Deepen into theta with spacious sound, Aurora Immersion™ motion, and a continuous sense of circulating vitality.",
          "purposeEn": "Deepen into theta with spacious sound, Aurora Immersion™ motion, and a continuous sense of circulating vitality."
        },
        {
          "time": 1020,
          "name": "Whole-Body Harmony",
          "nameEn": "Whole-Body Harmony",
          "purpose": "Stabilize a balanced field of energy using immersive light, soft Infinity Ganzfeld™, and coherent rhythmic depth.",
          "purposeEn": "Stabilize a balanced field of energy using immersive light, soft Infinity Ganzfeld™, and coherent rhythmic depth."
        },
        {
          "time": 1320,
          "name": "Radiant Integration",
          "nameEn": "Radiant Integration",
          "purpose": "Lift gently toward alpha for clear integration, warmth, and embodied presence.",
          "purposeEn": "Lift gently toward alpha for clear integration, warmth, and embodied presence."
        },
        {
          "time": 1500,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return to grounded awareness with calm breathing, reduced stimulation, and a smooth closing field.",
          "purposeEn": "Return to grounded awareness with calm breathing, reduced stimulation, and a smooth closing field."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 9.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 9.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1200,
            "value": 5.7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1320,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1500,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 8.7,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 32
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 720,
            "value": 78
          },
          {
            "time": 900,
            "value": 88
          },
          {
            "time": 1020,
            "value": 82
          },
          {
            "time": 1200,
            "value": 76
          },
          {
            "time": 1320,
            "value": 68
          },
          {
            "time": 1500,
            "value": 44
          },
          {
            "time": 1680,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 720,
            "value": 6
          },
          {
            "time": 900,
            "value": 4
          },
          {
            "time": 1020,
            "value": 8
          },
          {
            "time": 1200,
            "value": 14
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1680,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 180,
            "value": 28
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 720,
            "value": 38
          },
          {
            "time": 900,
            "value": 34
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1200,
            "value": 36
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1680,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 46
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 1020,
            "value": 70
          },
          {
            "time": 1200,
            "value": 68
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1500,
            "value": 52
          },
          {
            "time": 1680,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 720,
            "value": 28
          },
          {
            "time": 900,
            "value": 34
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1200,
            "value": 22
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1500,
            "value": 8
          },
          {
            "time": 1680,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 420,
            "value": 36
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 900,
            "value": 58
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1200,
            "value": 50
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1500,
            "value": 22
          },
          {
            "time": 1680,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2.2
          },
          {
            "time": 420,
            "value": 3.8
          },
          {
            "time": 720,
            "value": 5.8
          },
          {
            "time": 900,
            "value": 7.4
          },
          {
            "time": 1020,
            "value": 8.2
          },
          {
            "time": 1200,
            "value": 6
          },
          {
            "time": 1320,
            "value": 4
          },
          {
            "time": 1500,
            "value": 2.4
          },
          {
            "time": 1680,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f6f5b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#23b58f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#40d18a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.35,
            "auroraDepth": 42
          },
          {
            "time": 600,
            "value": "#8ddf5f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 50
          },
          {
            "time": 720,
            "value": "#24c8d8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.5,
            "auroraDepth": 58
          },
          {
            "time": 900,
            "value": "#3f7cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.38,
            "auroraDepth": 66
          },
          {
            "time": 1020,
            "value": "#5a4cff",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 60
          },
          {
            "time": 1200,
            "value": "#8b4dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 52
          },
          {
            "time": 1320,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.25,
            "auroraDepth": 36
          },
          {
            "time": 1500,
            "value": "#f6b36a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 22
          },
          {
            "time": 1680,
            "value": "#7fd7c2",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.08,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1680
  },
  "help-lightworkers": {
    "title": "Ondersteuning voor lichtwerkers (Spiritueel)",
    "titleEn": "Help Lightworkers (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van lichtwerkers met gegronde aanwezigheid, hartcoherentie, intuitieve helderheid, lichtgerichte dienstbaarheid, spirituele afstemming en rustige integratie.",
    "goalEn": "Designed to support lightworkers with grounded presence, heart coherence, intuitive clarity, luminous service orientation, spiritual alignment, and calm integration.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 20,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2160,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Grounded Arrival",
          "nameEn": "Grounded Arrival",
          "purpose": "Settle the body and create a stable base for luminous inner work.",
          "purposeEn": "Settle the body and create a stable base for luminous inner work."
        },
        {
          "time": 210,
          "name": "Heart Coherence",
          "nameEn": "Heart Coherence",
          "purpose": "Build warmth, compassion, emotional steadiness, and heart-centered presence.",
          "purposeEn": "Build warmth, compassion, emotional steadiness, and heart-centered presence."
        },
        {
          "time": 480,
          "name": "Clear Channel",
          "nameEn": "Clear Channel",
          "purpose": "Promote clarity, receptive awareness, and calm intuitive listening.",
          "purposeEn": "Promote clarity, receptive awareness, and calm intuitive listening."
        },
        {
          "time": 780,
          "name": "Luminous Service",
          "nameEn": "Luminous Service",
          "purpose": "Guide attention toward purpose, kindness, and constructive spiritual contribution.",
          "purposeEn": "Guide attention toward purpose, kindness, and constructive spiritual contribution."
        },
        {
          "time": 1080,
          "name": "Transcendent Opening",
          "nameEn": "Transcendent Opening",
          "purpose": "Deepen into spacious theta immersion, unity imagery, and expanded awareness.",
          "purposeEn": "Deepen into spacious theta immersion, unity imagery, and expanded awareness."
        },
        {
          "time": 1380,
          "name": "Light Field Plateau",
          "nameEn": "Light Field Plateau",
          "purpose": "Stabilize a bright inner field of compassion, clarity, and spiritual alignment.",
          "purposeEn": "Stabilize a bright inner field of compassion, clarity, and spiritual alignment."
        },
        {
          "time": 1680,
          "name": "Embodied Integration",
          "nameEn": "Embodied Integration",
          "purpose": "Bring the expansive state back into balanced, embodied awareness.",
          "purposeEn": "Bring the expansive state back into balanced, embodied awareness."
        },
        {
          "time": 1920,
          "name": "Warm Return",
          "nameEn": "Warm Return",
          "purpose": "Return toward relaxed alpha with warmth, steadiness, and calm confidence.",
          "purposeEn": "Return toward relaxed alpha with warmth, steadiness, and calm confidence."
        },
        {
          "time": 2160,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with grounded clarity, gentle brightness, and integrated presence.",
          "purposeEn": "Close with grounded clarity, gentle brightness, and integrated presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 480,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.9,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 8.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2160,
            "value": 10.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 210,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 480,
            "value": 7.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2160,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 210,
            "value": 42
          },
          {
            "time": 480,
            "value": 60
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1080,
            "value": 84
          },
          {
            "time": 1380,
            "value": 90
          },
          {
            "time": 1680,
            "value": 76
          },
          {
            "time": 1920,
            "value": 54
          },
          {
            "time": 2160,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 210,
            "value": 10
          },
          {
            "time": 480,
            "value": 18
          },
          {
            "time": 780,
            "value": 22
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1380,
            "value": 42
          },
          {
            "time": 1680,
            "value": 30
          },
          {
            "time": 1920,
            "value": 18
          },
          {
            "time": 2160,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 210,
            "value": 24
          },
          {
            "time": 480,
            "value": 32
          },
          {
            "time": 780,
            "value": 36
          },
          {
            "time": 1080,
            "value": 30
          },
          {
            "time": 1380,
            "value": 28
          },
          {
            "time": 1680,
            "value": 34
          },
          {
            "time": 1920,
            "value": 30
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 50
          },
          {
            "time": 210,
            "value": 60
          },
          {
            "time": 480,
            "value": 68
          },
          {
            "time": 780,
            "value": 70
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1380,
            "value": 66
          },
          {
            "time": 1680,
            "value": 72
          },
          {
            "time": 1920,
            "value": 58
          },
          {
            "time": 2160,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 210,
            "value": 12
          },
          {
            "time": 480,
            "value": 3
          },
          {
            "time": 780,
            "value": 16
          },
          {
            "time": 1080,
            "value": 25
          },
          {
            "time": 1380,
            "value": 28
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1920,
            "value": 8
          },
          {
            "time": 2160,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 210,
            "value": 18
          },
          {
            "time": 480,
            "value": 34
          },
          {
            "time": 780,
            "value": 46
          },
          {
            "time": 1080,
            "value": 70
          },
          {
            "time": 1380,
            "value": 74
          },
          {
            "time": 1680,
            "value": 58
          },
          {
            "time": 1920,
            "value": 32
          },
          {
            "time": 2160,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 210,
            "value": 2
          },
          {
            "time": 480,
            "value": 3.8
          },
          {
            "time": 780,
            "value": 5.4
          },
          {
            "time": 1080,
            "value": 9
          },
          {
            "time": 1380,
            "value": 10.2
          },
          {
            "time": 1680,
            "value": 7
          },
          {
            "time": 1920,
            "value": 3.4
          },
          {
            "time": 2160,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#2b8f73",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 210,
            "value": "#80d99b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 480,
            "value": "#ffd66b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 44
          },
          {
            "time": 780,
            "value": "#45c9ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 54
          },
          {
            "time": 1080,
            "value": "#7d3dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1380,
            "value": "#f7ecff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.14,
            "auroraDepth": 84
          },
          {
            "time": 1680,
            "value": "#fff0a8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 64
          },
          {
            "time": 1920,
            "value": "#9ee7c4",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 2160,
            "value": "#ffd1a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2160
  },
  "higher-consciousness": {
    "title": "Hoger bewustzijn (Spiritueel)",
    "titleEn": "Higher Consciousness (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van verhoogd bewustzijn, verruimde innerlijke waarneming, spirituele openheid en rustige integratie.",
    "goalEn": "Designed to support elevated awareness, expanded inner perception, spiritual openness, and calm integration.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 60,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2700,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle attention into the body and prepare for upward inner expansion.",
          "purposeEn": "Settle attention into the body and prepare for upward inner expansion."
        },
        {
          "time": 300,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Build relaxed alpha stability and open calm receptive awareness.",
          "purposeEn": "Build relaxed alpha stability and open calm receptive awareness."
        },
        {
          "time": 720,
          "name": "Inner Ascent",
          "nameEn": "Inner Ascent",
          "purpose": "Guide awareness into theta imagery, spacious perception, and elevated stillness.",
          "purposeEn": "Guide awareness into theta imagery, spacious perception, and elevated stillness."
        },
        {
          "time": 1260,
          "name": "Expanded Field",
          "nameEn": "Expanded Field",
          "purpose": "Deepen into immersive Infinity Ganzfeld™ absorption and a sense of vast consciousness.",
          "purposeEn": "Deepen into immersive Infinity Ganzfeld™ absorption and a sense of vast consciousness."
        },
        {
          "time": 1920,
          "name": "Illumination",
          "nameEn": "Illumination",
          "purpose": "Activate clear, luminous insight while preserving meditative depth.",
          "purposeEn": "Activate clear, luminous insight while preserving meditative depth."
        },
        {
          "time": 2340,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Stabilize the expanded state into calm alpha presence and coherent inner clarity.",
          "purposeEn": "Stabilize the expanded state into calm alpha presence and coherent inner clarity."
        },
        {
          "time": 2580,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return gently with grounded openness and quiet embodied awareness.",
          "purposeEn": "Return gently with grounded openness and quiet embodied awareness."
        },
        {
          "time": 2700,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Complete the session in soft stillness.",
          "purposeEn": "Complete the session in soft stillness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 6.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 2340,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2580,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 300,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 4.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1920,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 2340,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2580,
            "value": 9,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2700,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 38
          },
          {
            "time": 300,
            "value": 50
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1260,
            "value": 82
          },
          {
            "time": 1620,
            "value": 88
          },
          {
            "time": 1920,
            "value": 76
          },
          {
            "time": 2340,
            "value": 58
          },
          {
            "time": 2580,
            "value": 34
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 300,
            "value": 8
          },
          {
            "time": 720,
            "value": 10
          },
          {
            "time": 1260,
            "value": 6
          },
          {
            "time": 1620,
            "value": 4
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2100,
            "value": 28
          },
          {
            "time": 2340,
            "value": 14
          },
          {
            "time": 2580,
            "value": 8
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 300,
            "value": 30
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 1260,
            "value": 36
          },
          {
            "time": 1620,
            "value": 32
          },
          {
            "time": 1920,
            "value": 48
          },
          {
            "time": 2100,
            "value": 54
          },
          {
            "time": 2340,
            "value": 34
          },
          {
            "time": 2580,
            "value": 18
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 300,
            "value": 68
          },
          {
            "time": 720,
            "value": 72
          },
          {
            "time": 1260,
            "value": 76
          },
          {
            "time": 1620,
            "value": 78
          },
          {
            "time": 1920,
            "value": 74
          },
          {
            "time": 2340,
            "value": 66
          },
          {
            "time": 2580,
            "value": 48
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 12
          },
          {
            "time": 300,
            "value": 18
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1620,
            "value": 34
          },
          {
            "time": 1920,
            "value": 20
          },
          {
            "time": 2340,
            "value": 14
          },
          {
            "time": 2580,
            "value": 4
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 300,
            "value": 24
          },
          {
            "time": 720,
            "value": 38
          },
          {
            "time": 1260,
            "value": 58
          },
          {
            "time": 1620,
            "value": 66
          },
          {
            "time": 1920,
            "value": 46
          },
          {
            "time": 2340,
            "value": 30
          },
          {
            "time": 2580,
            "value": 16
          },
          {
            "time": 2700,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 300,
            "value": 2.8
          },
          {
            "time": 720,
            "value": 5.2
          },
          {
            "time": 1260,
            "value": 8.8
          },
          {
            "time": 1620,
            "value": 10.5
          },
          {
            "time": 1920,
            "value": 7.2
          },
          {
            "time": 2340,
            "value": 3.8
          },
          {
            "time": 2580,
            "value": 1.8
          },
          {
            "time": 2700,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#182b5c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 300,
            "value": "#2657ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 32
          },
          {
            "time": 720,
            "value": "#5a36ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 48
          },
          {
            "time": 1260,
            "value": "#4b1fa8",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 70
          },
          {
            "time": 1620,
            "value": "#190043",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.11,
            "auroraDepth": 82
          },
          {
            "time": 1920,
            "value": "#b56dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 62
          },
          {
            "time": 2100,
            "value": "#fff2a8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.55,
            "auroraDepth": 52
          },
          {
            "time": 2340,
            "value": "#58d7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.28,
            "auroraDepth": 34
          },
          {
            "time": 2580,
            "value": "#ffd6a3",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 2700,
            "value": "#1b2440",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2700
  },
  "inner-awareness": {
    "title": "Innerlijk bewustzijn (Spiritueel)",
    "titleEn": "Inner Awareness (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van rustige innerlijke observatie, verfijnd zelfbewustzijn, intuitieve helderheid, emotionele ruimte en geintegreerd inzicht in het huidige moment.",
    "goalEn": "Designed to support calm inner observation, refined self-awareness, intuitive clarity, emotional spaciousness, and integrated present-moment insight.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 16,
    "colorCrossfadeSeconds": 50,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guide attention inward through soft settling and comfortable sensory orientation.",
          "purposeEn": "Guide attention inward through soft settling and comfortable sensory orientation."
        },
        {
          "time": 180,
          "name": "Quiet Stabilization",
          "nameEn": "Quiet Stabilization",
          "purpose": "Stabilize relaxed alpha awareness while reducing outer distraction.",
          "purposeEn": "Stabilize relaxed alpha awareness while reducing outer distraction."
        },
        {
          "time": 420,
          "name": "Inner Listening",
          "nameEn": "Inner Listening",
          "purpose": "Deepen receptive awareness and subtle observation of thoughts, sensations, and feeling tones.",
          "purposeEn": "Deepen receptive awareness and subtle observation of thoughts, sensations, and feeling tones."
        },
        {
          "time": 720,
          "name": "Awareness Descent",
          "nameEn": "Awareness Descent",
          "purpose": "Guide the session into theta for spacious introspection and intuitive perception.",
          "purposeEn": "Guide the session into theta for spacious introspection and intuitive perception."
        },
        {
          "time": 1020,
          "name": "Inner Mirror Plateau",
          "nameEn": "Inner Mirror Plateau",
          "purpose": "Promote clear inner witnessing, symbolic imagery, and calm self-recognition.",
          "purposeEn": "Promote clear inner witnessing, symbolic imagery, and calm self-recognition."
        },
        {
          "time": 1320,
          "name": "Insight Integration",
          "nameEn": "Insight Integration",
          "purpose": "Build coherence between inner insight, emotional balance, and present awareness.",
          "purposeEn": "Build coherence between inner insight, emotional balance, and present awareness."
        },
        {
          "time": 1560,
          "name": "Open Presence",
          "nameEn": "Open Presence",
          "purpose": "Return toward relaxed alpha with steady clarity and grounded inner spaciousness.",
          "purposeEn": "Return toward relaxed alpha with steady clarity and grounded inner spaciousness."
        },
        {
          "time": 1800,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close gently with calm embodiment, soft brightness, and integrated self-awareness.",
          "purposeEn": "Close gently with calm embodiment, soft brightness, and integrated self-awareness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 11.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 10,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 7,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 10.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 11,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.8,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1800,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 56
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1020,
            "value": 78
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1560,
            "value": 48
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 720,
            "value": 14
          },
          {
            "time": 1020,
            "value": 18
          },
          {
            "time": 1320,
            "value": 24
          },
          {
            "time": 1560,
            "value": 16
          },
          {
            "time": 1800,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 16
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1020,
            "value": 28
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1560,
            "value": 24
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 50
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1560,
            "value": 56
          },
          {
            "time": 1800,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 720,
            "value": 14
          },
          {
            "time": 1020,
            "value": 22
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1560,
            "value": 8
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 28
          },
          {
            "time": 720,
            "value": 40
          },
          {
            "time": 1020,
            "value": 62
          },
          {
            "time": 1320,
            "value": 54
          },
          {
            "time": 1560,
            "value": 30
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 1.9
          },
          {
            "time": 420,
            "value": 3.2
          },
          {
            "time": 720,
            "value": 4.6
          },
          {
            "time": 1020,
            "value": 8
          },
          {
            "time": 1320,
            "value": 6.8
          },
          {
            "time": 1560,
            "value": 3.2
          },
          {
            "time": 1800,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1d6fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#37c9d9",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 26
          },
          {
            "time": 420,
            "value": "#4ccf9a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#3657ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 48
          },
          {
            "time": 1020,
            "value": "#5a2cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 70
          },
          {
            "time": 1320,
            "value": "#b96cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 62
          },
          {
            "time": 1560,
            "value": "#8edcff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 1800,
            "value": "#ffd6a5",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "inner-silence": {
    "title": "Innerlijke stilte (Spiritueel)",
    "titleEn": "Inner Silence (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van innerlijke stilte, stil bewustzijn, ruime aanwezigheid en een stabiele meditatieve staat met minimale mentale ruis.",
    "goalEn": "Designed to support inner silence, quiet awareness, spacious presence, and a stable meditative state with minimal mental noise.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Enter the session softly and shift attention away from outer activity.",
          "purposeEn": "Enter the session softly and shift attention away from outer activity."
        },
        {
          "time": 180,
          "name": "Breath Settling",
          "nameEn": "Breath Settling",
          "purpose": "Stabilize relaxed alpha awareness and soften mental movement.",
          "purposeEn": "Stabilize relaxed alpha awareness and soften mental movement."
        },
        {
          "time": 420,
          "name": "Quiet Descent",
          "nameEn": "Quiet Descent",
          "purpose": "Guide attention inward through smooth alpha-to-theta pacing.",
          "purposeEn": "Guide attention inward through smooth alpha-to-theta pacing."
        },
        {
          "time": 720,
          "name": "Silent Field",
          "nameEn": "Silent Field",
          "purpose": "Deepen into spacious theta with reduced stimulation and expanded reverb.",
          "purposeEn": "Deepen into spacious theta with reduced stimulation and expanded reverb."
        },
        {
          "time": 1080,
          "name": "Stillness Plateau",
          "nameEn": "Stillness Plateau",
          "purpose": "Hold a calm inner silence with Infinity Ganzfeld™-supported inward absorption.",
          "purposeEn": "Hold a calm inner silence with Infinity Ganzfeld™-supported inward absorption."
        },
        {
          "time": 1440,
          "name": "Clear Presence",
          "nameEn": "Clear Presence",
          "purpose": "Gradually brighten awareness without disturbing the meditative state.",
          "purposeEn": "Gradually brighten awareness without disturbing the meditative state."
        },
        {
          "time": 1800,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate silence into relaxed alertness and embodied presence.",
          "purposeEn": "Integrate silence into relaxed alertness and embodied presence."
        },
        {
          "time": 2100,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Land gently with a quiet, grounded finish.",
          "purposeEn": "Land gently with a quiet, grounded finish."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.1,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1080,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1440,
            "value": 6.4,
            "musicMood": "Drone",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 7.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 720,
            "value": 58
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1440,
            "value": 54
          },
          {
            "time": 1800,
            "value": 34
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 180,
            "value": 4
          },
          {
            "time": 420,
            "value": 8
          },
          {
            "time": 720,
            "value": 3
          },
          {
            "time": 1080,
            "value": 0
          },
          {
            "time": 1440,
            "value": 5
          },
          {
            "time": 1800,
            "value": 12
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 22
          },
          {
            "time": 420,
            "value": 30
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 1080,
            "value": 26
          },
          {
            "time": 1440,
            "value": 22
          },
          {
            "time": 1800,
            "value": 16
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 420,
            "value": 64
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1080,
            "value": 62
          },
          {
            "time": 1440,
            "value": 56
          },
          {
            "time": 1800,
            "value": 46
          },
          {
            "time": 2100,
            "value": 20
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 720,
            "value": 22
          },
          {
            "time": 1080,
            "value": 27
          },
          {
            "time": 1440,
            "value": 18
          },
          {
            "time": 1800,
            "value": 8
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 720,
            "value": 48
          },
          {
            "time": 1080,
            "value": 64
          },
          {
            "time": 1440,
            "value": 52
          },
          {
            "time": 1800,
            "value": 28
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1
          },
          {
            "time": 180,
            "value": 2.2
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 720,
            "value": 6.8
          },
          {
            "time": 1080,
            "value": 9.5
          },
          {
            "time": 1440,
            "value": 7
          },
          {
            "time": 1800,
            "value": 3.4
          },
          {
            "time": 2100,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#102a5c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#1b5f7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 24
          },
          {
            "time": 420,
            "value": "#26337d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.16,
            "auroraDepth": 38
          },
          {
            "time": 720,
            "value": "#3b1f73",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.11,
            "auroraDepth": 55
          },
          {
            "time": 1080,
            "value": "#22164f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.07,
            "auroraDepth": 72
          },
          {
            "time": 1260,
            "value": "#2b185f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.06,
            "auroraDepth": 66
          },
          {
            "time": 1440,
            "value": "#293b86",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.1,
            "auroraDepth": 48
          },
          {
            "time": 1800,
            "value": "#3f8a8a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 30
          },
          {
            "time": 2100,
            "value": "#2f6f66",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "kundalini-rising": {
    "title": "Kundalini opstijging (Spiritueel)",
    "titleEn": "Kundalini Rising (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van een immersieve energetische meditatiereis die aardt, wekt, opstijgt, opent, stabiliseert en beelden van innerlijke levenskracht integreert.",
    "goalEn": "Designed to support an immersive energetic meditation journey that grounds, awakens, rises, opens, stabilizes, and integrates inner life-force imagery.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival - Root Grounding",
          "nameEn": "Arrival - Root Grounding",
          "purpose": "Settles attention into the body and establishes a grounded energetic base.",
          "purposeEn": "Settles attention into the body and establishes a grounded energetic base."
        },
        {
          "time": 240,
          "name": "Stabilization - Inner Current",
          "nameEn": "Stabilization - Inner Current",
          "purpose": "Builds calm alertness and gently introduces upward movement.",
          "purposeEn": "Builds calm alertness and gently introduces upward movement."
        },
        {
          "time": 540,
          "name": "Rising - Creative Fire",
          "nameEn": "Rising - Creative Fire",
          "purpose": "Activates vivid inner imagery and a stronger sense of energetic ascent.",
          "purposeEn": "Activates vivid inner imagery and a stronger sense of energetic ascent."
        },
        {
          "time": 900,
          "name": "Opening - Heart and Vision",
          "nameEn": "Opening - Heart and Vision",
          "purpose": "Deepens into theta, expands emotional warmth, and opens inner vision.",
          "purposeEn": "Deepens into theta, expands emotional warmth, and opens inner vision."
        },
        {
          "time": 1260,
          "name": "Peak - Crown Expansion",
          "nameEn": "Peak - Crown Expansion",
          "purpose": "Guides a spacious Infinity Ganzfeld™ plateau for transcendent unity imagery.",
          "purposeEn": "Guides a spacious Infinity Ganzfeld™ plateau for transcendent unity imagery."
        },
        {
          "time": 1680,
          "name": "Integration - Clear Channel",
          "nameEn": "Integration - Clear Channel",
          "purpose": "Stabilizes the experience with clearer alpha rhythm and coherent brightness.",
          "purposeEn": "Stabilizes the experience with clearer alpha rhythm and coherent brightness."
        },
        {
          "time": 1920,
          "name": "Landing - Embodied Light",
          "nameEn": "Landing - Embodied Light",
          "purpose": "Returns the experience into calm embodied presence and warm closure.",
          "purposeEn": "Returns the experience into calm embodied presence and warm closure."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.4,
            "lightPulseShape": "sawtooth"
          },
          {
            "time": 900,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 8.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1920,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "sawtooth",
            "pulseShape": "sawtooth"
          },
          {
            "time": 900,
            "value": 6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1260,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1920,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 35
          },
          {
            "time": 240,
            "value": 48
          },
          {
            "time": 540,
            "value": 65
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1260,
            "value": 88
          },
          {
            "time": 1500,
            "value": 92
          },
          {
            "time": 1680,
            "value": 72
          },
          {
            "time": 1920,
            "value": 46
          },
          {
            "time": 2100,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 900,
            "value": 22
          },
          {
            "time": 1260,
            "value": 34
          },
          {
            "time": 1440,
            "value": 42
          },
          {
            "time": 1680,
            "value": 28
          },
          {
            "time": 1920,
            "value": 14
          },
          {
            "time": 2100,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 540,
            "value": 34
          },
          {
            "time": 900,
            "value": 42
          },
          {
            "time": 1260,
            "value": 48
          },
          {
            "time": 1500,
            "value": 44
          },
          {
            "time": 1680,
            "value": 36
          },
          {
            "time": 1920,
            "value": 22
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 900,
            "value": 74
          },
          {
            "time": 1260,
            "value": 70
          },
          {
            "time": 1680,
            "value": 66
          },
          {
            "time": 1920,
            "value": 52
          },
          {
            "time": 2100,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 540,
            "value": 18
          },
          {
            "time": 900,
            "value": 22
          },
          {
            "time": 1260,
            "value": 30
          },
          {
            "time": 1500,
            "value": 34
          },
          {
            "time": 1680,
            "value": 18
          },
          {
            "time": 1920,
            "value": 10
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 540,
            "value": 38
          },
          {
            "time": 900,
            "value": 54
          },
          {
            "time": 1260,
            "value": 68
          },
          {
            "time": 1500,
            "value": 72
          },
          {
            "time": 1680,
            "value": 48
          },
          {
            "time": 1920,
            "value": 26
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 240,
            "value": 2.6
          },
          {
            "time": 540,
            "value": 4.2
          },
          {
            "time": 900,
            "value": 6.8
          },
          {
            "time": 1260,
            "value": 9.6
          },
          {
            "time": 1500,
            "value": 10.8
          },
          {
            "time": 1680,
            "value": 6.2
          },
          {
            "time": 1920,
            "value": 3
          },
          {
            "time": 2100,
            "value": 1.2
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#7a1010",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 240,
            "value": "#b84618",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 32
          },
          {
            "time": 540,
            "value": "#ff7a1a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 48
          },
          {
            "time": 720,
            "value": "#f2c94c",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.55,
            "auroraDepth": 58
          },
          {
            "time": 900,
            "value": "#2fd17c",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.36,
            "auroraDepth": 64
          },
          {
            "time": 1080,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.3,
            "auroraDepth": 70
          },
          {
            "time": 1260,
            "value": "#6d4cff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.24,
            "auroraDepth": 82
          },
          {
            "time": 1500,
            "value": "#d9b8ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 88
          },
          {
            "time": 1680,
            "value": "#ffd76a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 52
          },
          {
            "time": 1920,
            "value": "#ffb56b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 28
          },
          {
            "time": 2100,
            "value": "#7a3f1d",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "law-of-attraction": {
    "title": "Wet van aantrekking (Spiritueel)",
    "titleEn": "Law of Attraction (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van intentionele focus, levendige visualisatie, emotionele afstemming, dankbaarheid en geinspireerde innerlijke activatie.",
    "goalEn": "Designed to support intentional focus, vivid visualization, emotional alignment, gratitude, and inspired inner activation.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body, soften attention, and open a calm inner space for intentional focus.",
          "purposeEn": "Settle the body, soften attention, and open a calm inner space for intentional focus."
        },
        {
          "time": 180,
          "name": "Intent Stabilization",
          "nameEn": "Intent Stabilization",
          "purpose": "Build relaxed alpha stability and invite clear, emotionally aligned intention.",
          "purposeEn": "Build relaxed alpha stability and invite clear, emotionally aligned intention."
        },
        {
          "time": 420,
          "name": "Vision Opening",
          "nameEn": "Vision Opening",
          "purpose": "Guide the mind into theta imagery for vivid inner rehearsal and receptive visualization.",
          "purposeEn": "Guide the mind into theta imagery for vivid inner rehearsal and receptive visualization."
        },
        {
          "time": 780,
          "name": "Magnetic Alignment",
          "nameEn": "Magnetic Alignment",
          "purpose": "Deepen immersive trance, expand emotional resonance, and amplify embodied possibility.",
          "purposeEn": "Deepen immersive trance, expand emotional resonance, and amplify embodied possibility."
        },
        {
          "time": 1140,
          "name": "Activation and Belief",
          "nameEn": "Activation and Belief",
          "purpose": "Raise the state into energized confidence, clarity, and inspired forward movement.",
          "purposeEn": "Raise the state into energized confidence, clarity, and inspired forward movement."
        },
        {
          "time": 1500,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Stabilize the desired state into calm focus, gratitude, and coherent presence.",
          "purposeEn": "Stabilize the desired state into calm focus, gratitude, and coherent presence."
        },
        {
          "time": 1800,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with warmth, grounded optimism, and a clear return to everyday awareness.",
          "purposeEn": "Close with warmth, grounded optimism, and a clear return to everyday awareness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 780,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 7.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 10.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 8.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 6.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 780,
            "value": 5.7,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1020,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1140,
            "value": 7.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1320,
            "value": 10.6,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 8.3,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 34
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 600,
            "value": 72
          },
          {
            "time": 780,
            "value": 82
          },
          {
            "time": 1020,
            "value": 88
          },
          {
            "time": 1140,
            "value": 76
          },
          {
            "time": 1320,
            "value": 92
          },
          {
            "time": 1500,
            "value": 68
          },
          {
            "time": 1680,
            "value": 45
          },
          {
            "time": 1800,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 10
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 780,
            "value": 2
          },
          {
            "time": 1020,
            "value": 0
          },
          {
            "time": 1140,
            "value": 14
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 1800,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 120,
            "value": 28
          },
          {
            "time": 180,
            "value": 34
          },
          {
            "time": 420,
            "value": 42
          },
          {
            "time": 600,
            "value": 48
          },
          {
            "time": 780,
            "value": 38
          },
          {
            "time": 1020,
            "value": 34
          },
          {
            "time": 1140,
            "value": 48
          },
          {
            "time": 1320,
            "value": 56
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1680,
            "value": 24
          },
          {
            "time": 1800,
            "value": 12
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 120,
            "value": 58
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 420,
            "value": 70
          },
          {
            "time": 600,
            "value": 74
          },
          {
            "time": 780,
            "value": 72
          },
          {
            "time": 1020,
            "value": 76
          },
          {
            "time": 1140,
            "value": 78
          },
          {
            "time": 1320,
            "value": 82
          },
          {
            "time": 1500,
            "value": 68
          },
          {
            "time": 1680,
            "value": 54
          },
          {
            "time": 1800,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 90,
            "value": 10
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 600,
            "value": 24
          },
          {
            "time": 780,
            "value": 28
          },
          {
            "time": 1020,
            "value": 32
          },
          {
            "time": 1140,
            "value": 20
          },
          {
            "time": 1320,
            "value": 8
          },
          {
            "time": 1500,
            "value": 12
          },
          {
            "time": 1680,
            "value": 6
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 600,
            "value": 48
          },
          {
            "time": 780,
            "value": 62
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1140,
            "value": 54
          },
          {
            "time": 1320,
            "value": 42
          },
          {
            "time": 1500,
            "value": 34
          },
          {
            "time": 1680,
            "value": 20
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 4.2
          },
          {
            "time": 600,
            "value": 6
          },
          {
            "time": 780,
            "value": 8.4
          },
          {
            "time": 1020,
            "value": 9.2
          },
          {
            "time": 1140,
            "value": 7
          },
          {
            "time": 1320,
            "value": 4.8
          },
          {
            "time": 1500,
            "value": 3.2
          },
          {
            "time": 1680,
            "value": 1.8
          },
          {
            "time": 1800,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1f8fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#7a5cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 48
          },
          {
            "time": 600,
            "value": "#b14cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.38,
            "auroraDepth": 62
          },
          {
            "time": 780,
            "value": "#6d3cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 78
          },
          {
            "time": 1020,
            "value": "#d14cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 84
          },
          {
            "time": 1140,
            "value": "#ffb347",
            "ganzfeldMode": false,
            "auroraMode": "intense",
            "auroraSpeed": 0.55,
            "auroraDepth": 72
          },
          {
            "time": 1320,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.7,
            "auroraDepth": 64
          },
          {
            "time": 1500,
            "value": "#ff8f4a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 46
          },
          {
            "time": 1680,
            "value": "#ffcf9a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 1800,
            "value": "#f6d6b8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  },
  "lucid-dreaming": {
    "title": "Lucide dromen (Spiritueel)",
    "titleEn": "Lucid Dreaming (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van levendig droombewustzijn, ontspannen innerlijke observatie en herinnering aan lucide dromen.",
    "goalEn": "Designed to support vivid dream awareness, relaxed inner observation, and lucid dream recall.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Guides the mind from waking activity into a calm, receptive dream-preparation state.",
          "purposeEn": "Guides the mind from waking activity into a calm, receptive dream-preparation state."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Stabilizes relaxed alpha awareness while keeping a gentle thread of observation active.",
          "purposeEn": "Stabilizes relaxed alpha awareness while keeping a gentle thread of observation active."
        },
        {
          "time": 600,
          "name": "Dream Gate",
          "nameEn": "Dream Gate",
          "purpose": "Deepens into theta imagery and promotes vivid internal scenes with soft sensory absorption.",
          "purposeEn": "Deepens into theta imagery and promotes vivid internal scenes with soft sensory absorption."
        },
        {
          "time": 1020,
          "name": "Lucid Descent",
          "nameEn": "Lucid Descent",
          "purpose": "Builds immersive dreamlike spaciousness and supports recognition within the inner dream field.",
          "purposeEn": "Builds immersive dreamlike spaciousness and supports recognition within the inner dream field."
        },
        {
          "time": 1500,
          "name": "Lucidity Spark",
          "nameEn": "Lucidity Spark",
          "purpose": "Introduces a brief, clear alpha lift designed to activate witnessing awareness without breaking the trance.",
          "purposeEn": "Introduces a brief, clear alpha lift designed to activate witnessing awareness without breaking the trance."
        },
        {
          "time": 1860,
          "name": "Dream Stabilization",
          "nameEn": "Dream Stabilization",
          "purpose": "Returns to low-theta immersion and stabilizes calm, vivid, internally focused awareness.",
          "purposeEn": "Returns to low-theta immersion and stabilizes calm, vivid, internally focused awareness."
        },
        {
          "time": 2160,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrates the lucid intention with warmer colors, softer audio, and a smooth descent toward sleep readiness.",
          "purposeEn": "Integrates the lucid intention with warmer colors, softer audio, and a smooth descent toward sleep readiness."
        },
        {
          "time": 2400,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Closes softly, leaving a quiet cue for dream recall and gentle inner awareness.",
          "purposeEn": "Closes softly, leaving a quiet cue for dream recall and gentle inner awareness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 8.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 10.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 4.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 600,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 10,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2160,
            "value": 5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2400,
            "value": 4,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 240,
            "value": 35
          },
          {
            "time": 600,
            "value": 58
          },
          {
            "time": 1020,
            "value": 78
          },
          {
            "time": 1320,
            "value": 88
          },
          {
            "time": 1500,
            "value": 72
          },
          {
            "time": 1680,
            "value": 82
          },
          {
            "time": 1860,
            "value": 68
          },
          {
            "time": 2160,
            "value": 44
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 240,
            "value": 5
          },
          {
            "time": 600,
            "value": 8
          },
          {
            "time": 1020,
            "value": 4
          },
          {
            "time": 1320,
            "value": 0
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1680,
            "value": 28
          },
          {
            "time": 1860,
            "value": 8
          },
          {
            "time": 2160,
            "value": 4
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 600,
            "value": 36
          },
          {
            "time": 1020,
            "value": 42
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1500,
            "value": 48
          },
          {
            "time": 1680,
            "value": 52
          },
          {
            "time": 1860,
            "value": 34
          },
          {
            "time": 2160,
            "value": 20
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 40
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 600,
            "value": 66
          },
          {
            "time": 1020,
            "value": 72
          },
          {
            "time": 1320,
            "value": 74
          },
          {
            "time": 1500,
            "value": 68
          },
          {
            "time": 1680,
            "value": 70
          },
          {
            "time": 1860,
            "value": 62
          },
          {
            "time": 2160,
            "value": 46
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 8
          },
          {
            "time": 240,
            "value": 14
          },
          {
            "time": 600,
            "value": 20
          },
          {
            "time": 1020,
            "value": 28
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1680,
            "value": 14
          },
          {
            "time": 1860,
            "value": 22
          },
          {
            "time": 2160,
            "value": 12
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 240,
            "value": 20
          },
          {
            "time": 600,
            "value": 34
          },
          {
            "time": 1020,
            "value": 55
          },
          {
            "time": 1320,
            "value": 64
          },
          {
            "time": 1500,
            "value": 46
          },
          {
            "time": 1680,
            "value": 38
          },
          {
            "time": 1860,
            "value": 44
          },
          {
            "time": 2160,
            "value": 24
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 2.4
          },
          {
            "time": 600,
            "value": 4.8
          },
          {
            "time": 1020,
            "value": 8.5
          },
          {
            "time": 1320,
            "value": 10.2
          },
          {
            "time": 1500,
            "value": 6.2
          },
          {
            "time": 1680,
            "value": 4
          },
          {
            "time": 1860,
            "value": 5.4
          },
          {
            "time": 2160,
            "value": 2.6
          },
          {
            "time": 2400,
            "value": 0.8
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1b4d7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 240,
            "value": "#286ee8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.25,
            "auroraDepth": 28
          },
          {
            "time": 600,
            "value": "#5030b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 48
          },
          {
            "time": 1020,
            "value": "#38147c",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 72
          },
          {
            "time": 1320,
            "value": "#5b17a8",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.16,
            "auroraDepth": 82
          },
          {
            "time": 1500,
            "value": "#8b4dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.48,
            "auroraDepth": 62
          },
          {
            "time": 1680,
            "value": "#ffd36a",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.62,
            "auroraDepth": 54
          },
          {
            "time": 1860,
            "value": "#3b1f91",
            "ganzfeldMode": true,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 66
          },
          {
            "time": 2160,
            "value": "#7b5cff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 32
          },
          {
            "time": 2400,
            "value": "#1a1430",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "open-chakras": {
    "title": "Chakra's openen (Spiritueel)",
    "titleEn": "Open Chakras (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van een vloeiende chakrameditatie die gegronde aanwezigheid, energetische opening, innerlijke balans, hartverruiming, intuitieve helderheid en geintegreerde spirituele afstemming begeleidt.",
    "goalEn": "Designed to support a flowing chakra meditation journey that guides grounded presence, energetic opening, inner balance, heart expansion, intuitive clarity, and integrated spiritual alignment.",
    "marketplaceListingId": "",
    "carrier": 528,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Root Arrival",
          "nameEn": "Root Arrival",
          "purpose": "Arrive in the body, settle attention, and establish grounded energetic stability.",
          "purposeEn": "Arrive in the body, settle attention, and establish grounded energetic stability."
        },
        {
          "time": 180,
          "name": "Sacral Flow",
          "nameEn": "Sacral Flow",
          "purpose": "Promote fluidity, emotional movement, and receptive inner openness.",
          "purposeEn": "Promote fluidity, emotional movement, and receptive inner openness."
        },
        {
          "time": 420,
          "name": "Solar Activation",
          "nameEn": "Solar Activation",
          "purpose": "Build warm confidence, centered vitality, and directed personal energy.",
          "purposeEn": "Build warm confidence, centered vitality, and directed personal energy."
        },
        {
          "time": 660,
          "name": "Heart Expansion",
          "nameEn": "Heart Expansion",
          "purpose": "Deepen compassion, coherence, connection, and emotional spaciousness.",
          "purposeEn": "Deepen compassion, coherence, connection, and emotional spaciousness."
        },
        {
          "time": 900,
          "name": "Throat Clarity",
          "nameEn": "Throat Clarity",
          "purpose": "Clarify expression, truth, breath, and the sense of open communication.",
          "purposeEn": "Clarify expression, truth, breath, and the sense of open communication."
        },
        {
          "time": 1140,
          "name": "Third Eye Vision",
          "nameEn": "Third Eye Vision",
          "purpose": "Guide intuitive imagery, inner vision, symbolic perception, and meditative insight.",
          "purposeEn": "Guide intuitive imagery, inner vision, symbolic perception, and meditative insight."
        },
        {
          "time": 1380,
          "name": "Crown Opening",
          "nameEn": "Crown Opening",
          "purpose": "Open into spacious awareness, unity imagery, and transcendent stillness.",
          "purposeEn": "Open into spacious awareness, unity imagery, and transcendent stillness."
        },
        {
          "time": 1620,
          "name": "Full Alignment Plateau",
          "nameEn": "Full Alignment Plateau",
          "purpose": "Stabilize the complete chakra arc as one coherent, luminous field.",
          "purposeEn": "Stabilize the complete chakra arc as one coherent, luminous field."
        },
        {
          "time": 1860,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate the energetic journey into calm, grounded, present awareness.",
          "purposeEn": "Integrate the energetic journey into calm, grounded, present awareness."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Return gently with warmth, clarity, and balanced inner steadiness.",
          "purposeEn": "Return gently with warmth, clarity, and balanced inner steadiness."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.5,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 10.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8.2,
            "musicMood": "Uplifting Electronic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 660,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.3,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 5.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 6.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1860,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 30
          },
          {
            "time": 180,
            "value": 48
          },
          {
            "time": 420,
            "value": 62
          },
          {
            "time": 660,
            "value": 74
          },
          {
            "time": 900,
            "value": 78
          },
          {
            "time": 1140,
            "value": 84
          },
          {
            "time": 1380,
            "value": 88
          },
          {
            "time": 1620,
            "value": 92
          },
          {
            "time": 1860,
            "value": 58
          },
          {
            "time": 2100,
            "value": 20
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 7
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 660,
            "value": 18
          },
          {
            "time": 900,
            "value": 22
          },
          {
            "time": 1140,
            "value": 28
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1620,
            "value": 30
          },
          {
            "time": 1860,
            "value": 18
          },
          {
            "time": 2100,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 25
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 660,
            "value": 38
          },
          {
            "time": 900,
            "value": 36
          },
          {
            "time": 1140,
            "value": 33
          },
          {
            "time": 1380,
            "value": 30
          },
          {
            "time": 1620,
            "value": 42
          },
          {
            "time": 1860,
            "value": 26
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 52
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 660,
            "value": 70
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1140,
            "value": 66
          },
          {
            "time": 1380,
            "value": 64
          },
          {
            "time": 1620,
            "value": 72
          },
          {
            "time": 1860,
            "value": 58
          },
          {
            "time": 2100,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 180,
            "value": 14
          },
          {
            "time": 420,
            "value": 4
          },
          {
            "time": 660,
            "value": 12
          },
          {
            "time": 900,
            "value": 16
          },
          {
            "time": 1140,
            "value": 20
          },
          {
            "time": 1380,
            "value": 24
          },
          {
            "time": 1620,
            "value": 18
          },
          {
            "time": 1860,
            "value": 10
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 24
          },
          {
            "time": 660,
            "value": 36
          },
          {
            "time": 900,
            "value": 46
          },
          {
            "time": 1140,
            "value": 58
          },
          {
            "time": 1380,
            "value": 68
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1860,
            "value": 30
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 180,
            "value": 2
          },
          {
            "time": 420,
            "value": 2.8
          },
          {
            "time": 660,
            "value": 4
          },
          {
            "time": 900,
            "value": 5.5
          },
          {
            "time": 1140,
            "value": 7.2
          },
          {
            "time": 1380,
            "value": 8.8
          },
          {
            "time": 1620,
            "value": 6.4
          },
          {
            "time": 1860,
            "value": 3.2
          },
          {
            "time": 2100,
            "value": 1.2
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#b11226",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#ff7a1a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.26,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#ffd23f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.34,
            "auroraDepth": 42
          },
          {
            "time": 660,
            "value": "#38d66b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 48
          },
          {
            "time": 900,
            "value": "#40c9ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 52
          },
          {
            "time": 1140,
            "value": "#3428ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 68
          },
          {
            "time": 1380,
            "value": "#8b3dff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 78
          },
          {
            "time": 1620,
            "value": "#f5e6ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 70
          },
          {
            "time": 1860,
            "value": "#ffd18a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 32
          },
          {
            "time": 2100,
            "value": "#ffb08a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "open-third-eye": {
    "title": "Derde oog openen (Spiritueel)",
    "titleEn": "Open Third Eye (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van intuitieve helderheid, innerlijk zien, symbolische waarneming en rustig meditatief inzicht.",
    "goalEn": "Designed to support intuitive clarity, inner vision, symbolic perception, and calm meditative insight.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body, soften attention, and prepare inner perception.",
          "purposeEn": "Settle the body, soften attention, and prepare inner perception."
        },
        {
          "time": 240,
          "name": "Intuitive Stabilization",
          "nameEn": "Intuitive Stabilization",
          "purpose": "Build relaxed alpha clarity with subtle inner focus.",
          "purposeEn": "Build relaxed alpha clarity with subtle inner focus."
        },
        {
          "time": 540,
          "name": "Third Eye Descent",
          "nameEn": "Third Eye Descent",
          "purpose": "Guide awareness into theta imagery and inner visual space.",
          "purposeEn": "Guide awareness into theta imagery and inner visual space."
        },
        {
          "time": 900,
          "name": "Inner Vision Plateau",
          "nameEn": "Inner Vision Plateau",
          "purpose": "Deepen immersive perception with Infinity Ganzfeld™, Aurora Immersion™, and spacious sound.",
          "purposeEn": "Deepen immersive perception with Infinity Ganzfeld™, Aurora Immersion™, and spacious sound."
        },
        {
          "time": 1320,
          "name": "Insight Activation",
          "nameEn": "Insight Activation",
          "purpose": "Activate clear symbolic perception and luminous intuitive focus.",
          "purposeEn": "Activate clear symbolic perception and luminous intuitive focus."
        },
        {
          "time": 1680,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Stabilize insights into calm, grounded awareness.",
          "purposeEn": "Stabilize insights into calm, grounded awareness."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close softly with quiet clarity and embodied presence.",
          "purposeEn": "Close softly with quiet clarity and embodied presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1680,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1500,
            "value": 8.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1680,
            "value": 9.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 240,
            "value": 42
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1320,
            "value": 92
          },
          {
            "time": 1500,
            "value": 76
          },
          {
            "time": 1680,
            "value": 48
          },
          {
            "time": 2100,
            "value": 12
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 3
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 540,
            "value": 12
          },
          {
            "time": 900,
            "value": 6
          },
          {
            "time": 1260,
            "value": 18
          },
          {
            "time": 1320,
            "value": 26
          },
          {
            "time": 1500,
            "value": 16
          },
          {
            "time": 1680,
            "value": 8
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 240,
            "value": 26
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 900,
            "value": 48
          },
          {
            "time": 1320,
            "value": 54
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1680,
            "value": 24
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 540,
            "value": 70
          },
          {
            "time": 900,
            "value": 76
          },
          {
            "time": 1320,
            "value": 72
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1680,
            "value": 56
          },
          {
            "time": 2100,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 540,
            "value": 22
          },
          {
            "time": 900,
            "value": 34
          },
          {
            "time": 1320,
            "value": 26
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1680,
            "value": 10
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 540,
            "value": 46
          },
          {
            "time": 900,
            "value": 62
          },
          {
            "time": 1320,
            "value": 56
          },
          {
            "time": 1500,
            "value": 42
          },
          {
            "time": 1680,
            "value": 24
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 240,
            "value": 2.8
          },
          {
            "time": 540,
            "value": 5.4
          },
          {
            "time": 900,
            "value": 8.8
          },
          {
            "time": 1320,
            "value": 7.2
          },
          {
            "time": 1500,
            "value": 4.8
          },
          {
            "time": 1680,
            "value": 2.6
          },
          {
            "time": 2100,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#17315f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 240,
            "value": "#2448ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 36
          },
          {
            "time": 540,
            "value": "#3b1cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.22,
            "auroraDepth": 58
          },
          {
            "time": 900,
            "value": "#5a00d6",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.16,
            "auroraDepth": 78
          },
          {
            "time": 1140,
            "value": "#7d2cff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 88
          },
          {
            "time": 1320,
            "value": "#b66cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.34,
            "auroraDepth": 70
          },
          {
            "time": 1500,
            "value": "#d7b7ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.42,
            "auroraDepth": 46
          },
          {
            "time": 1680,
            "value": "#6ee7ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 2100,
            "value": "#1c2f5a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "read-akashic-records": {
    "title": "Akasha-kronieken lezen (Spiritueel)",
    "titleEn": "Read Akashic Records (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van diepe contemplatieve toegang, symbolisch innerlijk zien, intuitieve geheugenbeelden, spiritueel inzicht en gegronde integratie.",
    "goalEn": "Designed to support deep contemplative access, symbolic inner vision, intuitive memory imagery, spiritual insight, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 22,
    "colorCrossfadeSeconds": 65,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2400,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body and prepare a calm threshold for inward perception.",
          "purposeEn": "Settle the body and prepare a calm threshold for inward perception."
        },
        {
          "time": 240,
          "name": "Threshold Stabilization",
          "nameEn": "Threshold Stabilization",
          "purpose": "Stabilize relaxed alpha awareness and create a quiet inner receiving space.",
          "purposeEn": "Stabilize relaxed alpha awareness and create a quiet inner receiving space."
        },
        {
          "time": 540,
          "name": "Inner Archive Opening",
          "nameEn": "Inner Archive Opening",
          "purpose": "Guide attention toward symbolic memory imagery, intuitive impressions, and subtle knowing.",
          "purposeEn": "Guide attention toward symbolic memory imagery, intuitive impressions, and subtle knowing."
        },
        {
          "time": 840,
          "name": "Deep Access Descent",
          "nameEn": "Deep Access Descent",
          "purpose": "Deepen into theta for contemplative imagery, trance absorption, and receptive insight.",
          "purposeEn": "Deepen into theta for contemplative imagery, trance absorption, and receptive insight."
        },
        {
          "time": 1140,
          "name": "Akashic Field Immersion",
          "nameEn": "Akashic Field Immersion",
          "purpose": "Promote spacious symbolic exploration and expanded awareness through a luminous Infinity Ganzfeld™ field.",
          "purposeEn": "Promote spacious symbolic exploration and expanded awareness through a luminous Infinity Ganzfeld™ field."
        },
        {
          "time": 1500,
          "name": "Record Reading Plateau",
          "nameEn": "Record Reading Plateau",
          "purpose": "Stabilize deep inner vision, meaning recognition, intuitive sequencing, and contemplative clarity.",
          "purposeEn": "Stabilize deep inner vision, meaning recognition, intuitive sequencing, and contemplative clarity."
        },
        {
          "time": 1800,
          "name": "Insight Coherence",
          "nameEn": "Insight Coherence",
          "purpose": "Begin integrating symbolic impressions into clear, emotionally balanced awareness.",
          "purposeEn": "Begin integrating symbolic impressions into clear, emotionally balanced awareness."
        },
        {
          "time": 2100,
          "name": "Grounded Return",
          "nameEn": "Grounded Return",
          "purpose": "Return toward relaxed alpha with warmth, stability, and retained inner clarity.",
          "purposeEn": "Return toward relaxed alpha with warmth, stability, and retained inner clarity."
        },
        {
          "time": 2400,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with grounded presence, calm reflection, and integrated spiritual insight.",
          "purposeEn": "Close with grounded presence, calm reflection, and integrated spiritual insight."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9,
            "lightPulseShape": "sine"
          },
          {
            "time": 540,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 6.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 5,
            "lightPulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 8.8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 540,
            "value": 7.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 840,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "white",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1140,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1500,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 5.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2400,
            "value": 9.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 22
          },
          {
            "time": 240,
            "value": 40
          },
          {
            "time": 540,
            "value": 62
          },
          {
            "time": 840,
            "value": 76
          },
          {
            "time": 1140,
            "value": 88
          },
          {
            "time": 1500,
            "value": 92
          },
          {
            "time": 1800,
            "value": 76
          },
          {
            "time": 2100,
            "value": 50
          },
          {
            "time": 2400,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 240,
            "value": 8
          },
          {
            "time": 540,
            "value": 14
          },
          {
            "time": 840,
            "value": 22
          },
          {
            "time": 1140,
            "value": 34
          },
          {
            "time": 1500,
            "value": 42
          },
          {
            "time": 1800,
            "value": 30
          },
          {
            "time": 2100,
            "value": 16
          },
          {
            "time": 2400,
            "value": 5
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 540,
            "value": 32
          },
          {
            "time": 840,
            "value": 34
          },
          {
            "time": 1140,
            "value": 28
          },
          {
            "time": 1500,
            "value": 26
          },
          {
            "time": 1800,
            "value": 32
          },
          {
            "time": 2100,
            "value": 22
          },
          {
            "time": 2400,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 540,
            "value": 68
          },
          {
            "time": 840,
            "value": 70
          },
          {
            "time": 1140,
            "value": 64
          },
          {
            "time": 1500,
            "value": 66
          },
          {
            "time": 1800,
            "value": 72
          },
          {
            "time": 2100,
            "value": 56
          },
          {
            "time": 2400,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 240,
            "value": 12
          },
          {
            "time": 540,
            "value": 16
          },
          {
            "time": 840,
            "value": 22
          },
          {
            "time": 1140,
            "value": 30
          },
          {
            "time": 1500,
            "value": 32
          },
          {
            "time": 1800,
            "value": 18
          },
          {
            "time": 2100,
            "value": 8
          },
          {
            "time": 2400,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 240,
            "value": 18
          },
          {
            "time": 540,
            "value": 38
          },
          {
            "time": 840,
            "value": 54
          },
          {
            "time": 1140,
            "value": 76
          },
          {
            "time": 1500,
            "value": 82
          },
          {
            "time": 1800,
            "value": 62
          },
          {
            "time": 2100,
            "value": 32
          },
          {
            "time": 2400,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 2
          },
          {
            "time": 540,
            "value": 4
          },
          {
            "time": 840,
            "value": 6.4
          },
          {
            "time": 1140,
            "value": 10
          },
          {
            "time": 1500,
            "value": 11.2
          },
          {
            "time": 1800,
            "value": 7.4
          },
          {
            "time": 2100,
            "value": 3.4
          },
          {
            "time": 2400,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1d5f7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.14,
            "auroraDepth": 18
          },
          {
            "time": 240,
            "value": "#2ed3c6",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 28
          },
          {
            "time": 540,
            "value": "#344fff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 48
          },
          {
            "time": 840,
            "value": "#6733ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.18,
            "auroraDepth": 58
          },
          {
            "time": 1140,
            "value": "#a846ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.1,
            "auroraDepth": 78
          },
          {
            "time": 1500,
            "value": "#f2e8ff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.12,
            "auroraDepth": 86
          },
          {
            "time": 1800,
            "value": "#ffd36e",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 64
          },
          {
            "time": 2100,
            "value": "#8ee8d1",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 30
          },
          {
            "time": 2400,
            "value": "#ffd1a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2400
  },
  "remote-viewing": {
    "title": "Remote viewing (Spiritueel)",
    "titleEn": "Remote Viewing (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van rustige intuitieve waarneming, symbolische beelden, signaalhelderheid en gegronde integratie.",
    "goalEn": "Designed to support calm intuitive perception, symbolic imagery, signal clarity, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle attention, soften the body, and prepare inner perception.",
          "purposeEn": "Settle attention, soften the body, and prepare inner perception."
        },
        {
          "time": 240,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Build relaxed alpha stability while keeping perception clear.",
          "purposeEn": "Build relaxed alpha stability while keeping perception clear."
        },
        {
          "time": 540,
          "name": "Target Window",
          "nameEn": "Target Window",
          "purpose": "Guide attention inward and open intuitive imagery in the theta range.",
          "purposeEn": "Guide attention inward and open intuitive imagery in the theta range."
        },
        {
          "time": 900,
          "name": "Deep Perception Plateau",
          "nameEn": "Deep Perception Plateau",
          "purpose": "Deepen spacious awareness with Infinity Ganzfeld™ immersion and reduced mental commentary.",
          "purposeEn": "Deepen spacious awareness with Infinity Ganzfeld™ immersion and reduced mental commentary."
        },
        {
          "time": 1320,
          "name": "Signal Clarity",
          "nameEn": "Signal Clarity",
          "purpose": "Promote clean impressions, symbolic noticing, and calm discernment.",
          "purposeEn": "Promote clean impressions, symbolic noticing, and calm discernment."
        },
        {
          "time": 1740,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Stabilize impressions and return to calm alpha awareness.",
          "purposeEn": "Stabilize impressions and return to calm alpha awareness."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close the session with grounded clarity and quiet presence.",
          "purposeEn": "Close the session with grounded clarity and quiet presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 7.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1950,
            "value": 9.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 10,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 900,
            "value": 6.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.9,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1560,
            "value": 7,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1740,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1950,
            "value": 9.3,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 2100,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 120,
            "value": 24
          },
          {
            "time": 240,
            "value": 38
          },
          {
            "time": 540,
            "value": 56
          },
          {
            "time": 900,
            "value": 72
          },
          {
            "time": 1320,
            "value": 82
          },
          {
            "time": 1560,
            "value": 70
          },
          {
            "time": 1740,
            "value": 55
          },
          {
            "time": 1950,
            "value": 32
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 2
          },
          {
            "time": 240,
            "value": 5
          },
          {
            "time": 540,
            "value": 8
          },
          {
            "time": 900,
            "value": 4
          },
          {
            "time": 1320,
            "value": 10
          },
          {
            "time": 1500,
            "value": 18
          },
          {
            "time": 1740,
            "value": 14
          },
          {
            "time": 1950,
            "value": 7
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 240,
            "value": 24
          },
          {
            "time": 540,
            "value": 36
          },
          {
            "time": 900,
            "value": 44
          },
          {
            "time": 1320,
            "value": 40
          },
          {
            "time": 1560,
            "value": 34
          },
          {
            "time": 1740,
            "value": 28
          },
          {
            "time": 1950,
            "value": 18
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 32
          },
          {
            "time": 180,
            "value": 54
          },
          {
            "time": 240,
            "value": 58
          },
          {
            "time": 540,
            "value": 64
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1560,
            "value": 62
          },
          {
            "time": 1740,
            "value": 56
          },
          {
            "time": 1950,
            "value": 44
          },
          {
            "time": 2100,
            "value": 28
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 120,
            "value": 10
          },
          {
            "time": 240,
            "value": 16
          },
          {
            "time": 540,
            "value": 20
          },
          {
            "time": 900,
            "value": 28
          },
          {
            "time": 1320,
            "value": 30
          },
          {
            "time": 1500,
            "value": 20
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1950,
            "value": 4
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 8
          },
          {
            "time": 240,
            "value": 22
          },
          {
            "time": 540,
            "value": 36
          },
          {
            "time": 900,
            "value": 54
          },
          {
            "time": 1320,
            "value": 60
          },
          {
            "time": 1560,
            "value": 48
          },
          {
            "time": 1740,
            "value": 34
          },
          {
            "time": 1950,
            "value": 18
          },
          {
            "time": 2100,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 240,
            "value": 2.4
          },
          {
            "time": 540,
            "value": 4.2
          },
          {
            "time": 900,
            "value": 7.8
          },
          {
            "time": 1320,
            "value": 8.8
          },
          {
            "time": 1560,
            "value": 6.4
          },
          {
            "time": 1740,
            "value": 4
          },
          {
            "time": 1950,
            "value": 2.2
          },
          {
            "time": 2100,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#123a6f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 18
          },
          {
            "time": 240,
            "value": "#1b6f8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.24,
            "auroraDepth": 28
          },
          {
            "time": 540,
            "value": "#3b2a8f",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 48
          },
          {
            "time": 900,
            "value": "#2d145f",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.2,
            "auroraDepth": 72
          },
          {
            "time": 1320,
            "value": "#4b168f",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.28,
            "auroraDepth": 82
          },
          {
            "time": 1560,
            "value": "#1f7fc0",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.38,
            "auroraDepth": 58
          },
          {
            "time": 1740,
            "value": "#35aeb8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 1950,
            "value": "#d6a24a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 20
          },
          {
            "time": 2100,
            "value": "#ffd8a8",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.1,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "spiritual-awakening": {
    "title": "Spiritueel ontwaken (Spiritueel)",
    "titleEn": "Spiritual Awakening (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van spiritueel ontwaken via gegronde aanwezigheid, innerlijke opening, verruimd bewustzijn, lichtend inzicht en rustige integratie.",
    "goalEn": "Designed to support spiritual awakening through grounded presence, inner opening, expanded awareness, luminous insight, and calm integration.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 2100,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Establishes calm presence and grounded receptivity.",
          "purposeEn": "Establishes calm presence and grounded receptivity."
        },
        {
          "time": 240,
          "name": "Sacred Stabilization",
          "nameEn": "Sacred Stabilization",
          "purpose": "Guides the mind into relaxed alpha awareness with balanced breathing space.",
          "purposeEn": "Guides the mind into relaxed alpha awareness with balanced breathing space."
        },
        {
          "time": 540,
          "name": "Inner Opening",
          "nameEn": "Inner Opening",
          "purpose": "Deepens toward theta and opens inner imagery, intuition, and contemplative absorption.",
          "purposeEn": "Deepens toward theta and opens inner imagery, intuition, and contemplative absorption."
        },
        {
          "time": 960,
          "name": "Luminous Plateau",
          "nameEn": "Luminous Plateau",
          "purpose": "Creates a spacious Infinity Ganzfeld™ field for unity, awe, and expanded awareness.",
          "purposeEn": "Creates a spacious Infinity Ganzfeld™ field for unity, awe, and expanded awareness."
        },
        {
          "time": 1380,
          "name": "Awakening Current",
          "nameEn": "Awakening Current",
          "purpose": "Activates clear presence and stabilizes insight without breaking depth.",
          "purposeEn": "Activates clear presence and stabilizes insight without breaking depth."
        },
        {
          "time": 1740,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Brings the experience into calm alpha coherence and warm embodied meaning.",
          "purposeEn": "Brings the experience into calm alpha coherence and warm embodied meaning."
        },
        {
          "time": 2100,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Closes with soft clarity, grounded calm, and gentle orientation.",
          "purposeEn": "Closes with soft clarity, grounded calm, and gentle orientation."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 760,
            "value": 6.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 960,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1180,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 6.2,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 7.4,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.5,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 240,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 540,
            "value": 7.3,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 760,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 960,
            "value": 5.5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1180,
            "value": 4.8,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 5.1,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 6.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1560,
            "value": 7.8,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1740,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1920,
            "value": 9.8,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 2100,
            "value": 8.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 38
          },
          {
            "time": 240,
            "value": 45
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 540,
            "value": 66
          },
          {
            "time": 760,
            "value": 78
          },
          {
            "time": 960,
            "value": 86
          },
          {
            "time": 1180,
            "value": 92
          },
          {
            "time": 1320,
            "value": 88
          },
          {
            "time": 1380,
            "value": 84
          },
          {
            "time": 1560,
            "value": 78
          },
          {
            "time": 1740,
            "value": 68
          },
          {
            "time": 1920,
            "value": 48
          },
          {
            "time": 2100,
            "value": 22
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 240,
            "value": 10
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 540,
            "value": 8
          },
          {
            "time": 760,
            "value": 6
          },
          {
            "time": 960,
            "value": 18
          },
          {
            "time": 1180,
            "value": 28
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1380,
            "value": 32
          },
          {
            "time": 1500,
            "value": 38
          },
          {
            "time": 1560,
            "value": 30
          },
          {
            "time": 1740,
            "value": 18
          },
          {
            "time": 1920,
            "value": 10
          },
          {
            "time": 2100,
            "value": 4
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 14
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 240,
            "value": 30
          },
          {
            "time": 420,
            "value": 38
          },
          {
            "time": 540,
            "value": 42
          },
          {
            "time": 760,
            "value": 48
          },
          {
            "time": 960,
            "value": 44
          },
          {
            "time": 1180,
            "value": 40
          },
          {
            "time": 1320,
            "value": 38
          },
          {
            "time": 1380,
            "value": 46
          },
          {
            "time": 1560,
            "value": 50
          },
          {
            "time": 1740,
            "value": 36
          },
          {
            "time": 1920,
            "value": 24
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 180,
            "value": 58
          },
          {
            "time": 240,
            "value": 62
          },
          {
            "time": 420,
            "value": 66
          },
          {
            "time": 540,
            "value": 70
          },
          {
            "time": 760,
            "value": 74
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1180,
            "value": 68
          },
          {
            "time": 1320,
            "value": 66
          },
          {
            "time": 1380,
            "value": 72
          },
          {
            "time": 1560,
            "value": 76
          },
          {
            "time": 1740,
            "value": 64
          },
          {
            "time": 1920,
            "value": 52
          },
          {
            "time": 2100,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 180,
            "value": 16
          },
          {
            "time": 240,
            "value": 20
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 540,
            "value": 22
          },
          {
            "time": 760,
            "value": 26
          },
          {
            "time": 960,
            "value": 34
          },
          {
            "time": 1180,
            "value": 38
          },
          {
            "time": 1320,
            "value": 32
          },
          {
            "time": 1380,
            "value": 24
          },
          {
            "time": 1560,
            "value": 18
          },
          {
            "time": 1740,
            "value": 12
          },
          {
            "time": 1920,
            "value": 5
          },
          {
            "time": 2100,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 20
          },
          {
            "time": 240,
            "value": 28
          },
          {
            "time": 420,
            "value": 34
          },
          {
            "time": 540,
            "value": 46
          },
          {
            "time": 760,
            "value": 58
          },
          {
            "time": 960,
            "value": 72
          },
          {
            "time": 1180,
            "value": 78
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1380,
            "value": 62
          },
          {
            "time": 1560,
            "value": 54
          },
          {
            "time": 1740,
            "value": 38
          },
          {
            "time": 1920,
            "value": 24
          },
          {
            "time": 2100,
            "value": 10
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 180,
            "value": 2.2
          },
          {
            "time": 240,
            "value": 3.2
          },
          {
            "time": 420,
            "value": 4.2
          },
          {
            "time": 540,
            "value": 6.2
          },
          {
            "time": 760,
            "value": 8
          },
          {
            "time": 960,
            "value": 10
          },
          {
            "time": 1180,
            "value": 11.2
          },
          {
            "time": 1320,
            "value": 9.6
          },
          {
            "time": 1380,
            "value": 8.2
          },
          {
            "time": 1560,
            "value": 6.8
          },
          {
            "time": 1740,
            "value": 4.6
          },
          {
            "time": 1920,
            "value": 2.8
          },
          {
            "time": 2100,
            "value": 1.2
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#10244f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#1d6c8f",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 26
          },
          {
            "time": 240,
            "value": "#247f93",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.2,
            "auroraDepth": 34
          },
          {
            "time": 420,
            "value": "#3156b7",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 42
          },
          {
            "time": 540,
            "value": "#4b2da8",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.3,
            "auroraDepth": 58
          },
          {
            "time": 760,
            "value": "#712fc4",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.36,
            "auroraDepth": 70
          },
          {
            "time": 960,
            "value": "#6b3cff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.42,
            "auroraDepth": 82
          },
          {
            "time": 1180,
            "value": "#d6c8ff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.34,
            "auroraDepth": 88
          },
          {
            "time": 1320,
            "value": "#b48cff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.28,
            "auroraDepth": 76
          },
          {
            "time": 1380,
            "value": "#f2d46b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 62
          },
          {
            "time": 1560,
            "value": "#ffd27a",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 48
          },
          {
            "time": 1740,
            "value": "#7fd6b0",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 32
          },
          {
            "time": 1920,
            "value": "#ffb16a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.12,
            "auroraDepth": 22
          },
          {
            "time": 2100,
            "value": "#f4c7a1",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 2100
  },
  "synchronicity": {
    "title": "Synchroniciteit (Spiritueel)",
    "titleEn": "Synchronicity (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van intuitieve patroonherkenning, betekenisvolle innerlijke afstemming, ontvankelijk bewustzijn, symbolisch inzicht en gegronde integratie.",
    "goalEn": "Designed to support intuitive pattern recognition, meaningful inner alignment, receptive awareness, symbolic insight, and grounded integration.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 55,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1980,
      "pulseShape": "sine",
      "audioMode": "isochronic-monaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle the body and prepare a receptive field for subtle noticing.",
          "purposeEn": "Settle the body and prepare a receptive field for subtle noticing."
        },
        {
          "time": 180,
          "name": "Attunement",
          "nameEn": "Attunement",
          "purpose": "Stabilize relaxed awareness and open attention to gentle inner signals.",
          "purposeEn": "Stabilize relaxed awareness and open attention to gentle inner signals."
        },
        {
          "time": 420,
          "name": "Pattern Sensitivity",
          "nameEn": "Pattern Sensitivity",
          "purpose": "Promote clear observation, symbolic association, and meaningful pattern recognition.",
          "purposeEn": "Promote clear observation, symbolic association, and meaningful pattern recognition."
        },
        {
          "time": 720,
          "name": "Intuitive Descent",
          "nameEn": "Intuitive Descent",
          "purpose": "Guide awareness into theta for imagery, intuition, and nonlinear perception.",
          "purposeEn": "Guide awareness into theta for imagery, intuition, and nonlinear perception."
        },
        {
          "time": 1020,
          "name": "Synchronicity Field",
          "nameEn": "Synchronicity Field",
          "purpose": "Deepen immersive awareness of timing, symbols, inner guidance, and meaningful connection.",
          "purposeEn": "Deepen immersive awareness of timing, symbols, inner guidance, and meaningful connection."
        },
        {
          "time": 1320,
          "name": "Meaning Integration",
          "nameEn": "Meaning Integration",
          "purpose": "Build coherence between insight, emotion, embodied knowing, and present-moment clarity.",
          "purposeEn": "Build coherence between insight, emotion, embodied knowing, and present-moment clarity."
        },
        {
          "time": 1620,
          "name": "Clear Alignment",
          "nameEn": "Clear Alignment",
          "purpose": "Return toward alpha clarity while preserving intuitive openness and calm confidence.",
          "purposeEn": "Return toward alpha clarity while preserving intuitive openness and calm confidence."
        },
        {
          "time": 1980,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with grounded awareness, warm clarity, and integrated symbolic insight.",
          "purposeEn": "Close with grounded awareness, warm clarity, and integrated symbolic insight."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 420,
            "value": 8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.8,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 10.4,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.4,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 420,
            "value": 7.9,
            "musicMood": "Cinematic Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1020,
            "value": 5.2,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1320,
            "value": 6,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1620,
            "value": 8.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1980,
            "value": 10.2,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 24
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 58
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 1020,
            "value": 84
          },
          {
            "time": 1320,
            "value": 78
          },
          {
            "time": 1620,
            "value": 56
          },
          {
            "time": 1980,
            "value": 18
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 14
          },
          {
            "time": 720,
            "value": 16
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1320,
            "value": 22
          },
          {
            "time": 1620,
            "value": 26
          },
          {
            "time": 1980,
            "value": 6
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 15
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 720,
            "value": 35
          },
          {
            "time": 1020,
            "value": 30
          },
          {
            "time": 1320,
            "value": 34
          },
          {
            "time": 1620,
            "value": 38
          },
          {
            "time": 1980,
            "value": 8
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 50
          },
          {
            "time": 180,
            "value": 60
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 1020,
            "value": 64
          },
          {
            "time": 1320,
            "value": 70
          },
          {
            "time": 1620,
            "value": 66
          },
          {
            "time": 1980,
            "value": 32
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 5
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 3
          },
          {
            "time": 720,
            "value": 15
          },
          {
            "time": 1020,
            "value": 24
          },
          {
            "time": 1320,
            "value": 16
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1980,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 10
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 420,
            "value": 32
          },
          {
            "time": 720,
            "value": 44
          },
          {
            "time": 1020,
            "value": 68
          },
          {
            "time": 1320,
            "value": 58
          },
          {
            "time": 1620,
            "value": 36
          },
          {
            "time": 1980,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.2
          },
          {
            "time": 180,
            "value": 2
          },
          {
            "time": 420,
            "value": 3.6
          },
          {
            "time": 720,
            "value": 5.2
          },
          {
            "time": 1020,
            "value": 9
          },
          {
            "time": 1320,
            "value": 7.2
          },
          {
            "time": 1620,
            "value": 4
          },
          {
            "time": 1980,
            "value": 1.1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#236a8c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.16,
            "auroraDepth": 18
          },
          {
            "time": 180,
            "value": "#36c4b8",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 28
          },
          {
            "time": 420,
            "value": "#4a7dff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.3,
            "auroraDepth": 44
          },
          {
            "time": 720,
            "value": "#6532ff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.22,
            "auroraDepth": 54
          },
          {
            "time": 1020,
            "value": "#a63dff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.12,
            "auroraDepth": 76
          },
          {
            "time": 1320,
            "value": "#ff68d2",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.18,
            "auroraDepth": 66
          },
          {
            "time": 1620,
            "value": "#ffd24d",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.26,
            "auroraDepth": 42
          },
          {
            "time": 1980,
            "value": "#ffbf91",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1980
  },
  "the-power-of-now": {
    "title": "De kracht van het nu (Spiritueel)",
    "titleEn": "The Power of Now (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van bewustzijn in het huidige moment, stille getuige-aanwezigheid, belichaamde stilte en heldere innerlijke aanwezigheid.",
    "goalEn": "Designed to support present-moment awareness, quiet witnessing, embodied stillness and clear inner presence.",
    "marketplaceListingId": "",
    "carrier": 852,
    "musicCrossfadeSeconds": 18,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1680,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle attention into the body and create a calm entry into present-moment awareness.",
          "purposeEn": "Settle attention into the body and create a calm entry into present-moment awareness."
        },
        {
          "time": 180,
          "name": "Stabilization",
          "nameEn": "Stabilization",
          "purpose": "Build relaxed alpha stability and reduce mental scattering.",
          "purposeEn": "Build relaxed alpha stability and reduce mental scattering."
        },
        {
          "time": 420,
          "name": "Open Presence",
          "nameEn": "Open Presence",
          "purpose": "Guide attention from thinking into quiet witnessing and spacious inner awareness.",
          "purposeEn": "Guide attention from thinking into quiet witnessing and spacious inner awareness."
        },
        {
          "time": 720,
          "name": "Stillness Plateau",
          "nameEn": "Stillness Plateau",
          "purpose": "Deepen into theta stillness with a soft Infinity Ganzfeld™ field and slow Aurora Immersion™ movement.",
          "purposeEn": "Deepen into theta stillness with a soft Infinity Ganzfeld™ field and slow Aurora Immersion™ movement."
        },
        {
          "time": 1080,
          "name": "Clear Now",
          "nameEn": "Clear Now",
          "purpose": "Activate lucid clarity while preserving calm, embodied presence.",
          "purposeEn": "Activate lucid clarity while preserving calm, embodied presence."
        },
        {
          "time": 1380,
          "name": "Integration",
          "nameEn": "Integration",
          "purpose": "Integrate spacious awareness into grounded relaxed alertness.",
          "purposeEn": "Integrate spacious awareness into grounded relaxed alertness."
        },
        {
          "time": 1680,
          "name": "Landing",
          "nameEn": "Landing",
          "purpose": "Close with a warm, clear and stable sense of presence.",
          "purposeEn": "Close with a warm, clear and stable sense of presence."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8.2,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 6.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 5.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 7,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 8.6,
            "lightPulseShape": "trapezoid"
          },
          {
            "time": 1380,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 8.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.8,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 90,
            "value": 9.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 8.6,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 300,
            "value": 8,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.2,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 570,
            "value": 6.4,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 5.6,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 900,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 7.2,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1200,
            "value": 8.4,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "trapezoid",
            "pulseShape": "trapezoid"
          },
          {
            "time": 1380,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "none",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1530,
            "value": 8.6,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1680,
            "value": 7.8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 32
          },
          {
            "time": 180,
            "value": 45
          },
          {
            "time": 300,
            "value": 55
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 570,
            "value": 76
          },
          {
            "time": 720,
            "value": 88
          },
          {
            "time": 900,
            "value": 82
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1200,
            "value": 78
          },
          {
            "time": 1380,
            "value": 58
          },
          {
            "time": 1530,
            "value": 38
          },
          {
            "time": 1680,
            "value": 16
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 6
          },
          {
            "time": 90,
            "value": 8
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 300,
            "value": 10
          },
          {
            "time": 420,
            "value": 8
          },
          {
            "time": 570,
            "value": 6
          },
          {
            "time": 720,
            "value": 4
          },
          {
            "time": 900,
            "value": 4
          },
          {
            "time": 1080,
            "value": 18
          },
          {
            "time": 1200,
            "value": 24
          },
          {
            "time": 1380,
            "value": 16
          },
          {
            "time": 1530,
            "value": 8
          },
          {
            "time": 1680,
            "value": 3
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 90,
            "value": 24
          },
          {
            "time": 180,
            "value": 34
          },
          {
            "time": 300,
            "value": 38
          },
          {
            "time": 420,
            "value": 44
          },
          {
            "time": 570,
            "value": 48
          },
          {
            "time": 720,
            "value": 42
          },
          {
            "time": 900,
            "value": 38
          },
          {
            "time": 1080,
            "value": 50
          },
          {
            "time": 1200,
            "value": 46
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1530,
            "value": 22
          },
          {
            "time": 1680,
            "value": 10
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 42
          },
          {
            "time": 90,
            "value": 58
          },
          {
            "time": 180,
            "value": 64
          },
          {
            "time": 300,
            "value": 68
          },
          {
            "time": 420,
            "value": 72
          },
          {
            "time": 570,
            "value": 74
          },
          {
            "time": 720,
            "value": 70
          },
          {
            "time": 900,
            "value": 68
          },
          {
            "time": 1080,
            "value": 72
          },
          {
            "time": 1200,
            "value": 76
          },
          {
            "time": 1380,
            "value": 66
          },
          {
            "time": 1530,
            "value": 52
          },
          {
            "time": 1680,
            "value": 34
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 0
          },
          {
            "time": 60,
            "value": 12
          },
          {
            "time": 180,
            "value": 18
          },
          {
            "time": 300,
            "value": 15
          },
          {
            "time": 420,
            "value": 20
          },
          {
            "time": 570,
            "value": 26
          },
          {
            "time": 720,
            "value": 34
          },
          {
            "time": 900,
            "value": 38
          },
          {
            "time": 1080,
            "value": 24
          },
          {
            "time": 1200,
            "value": 18
          },
          {
            "time": 1380,
            "value": 8
          },
          {
            "time": 1530,
            "value": 3
          },
          {
            "time": 1680,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 90,
            "value": 18
          },
          {
            "time": 180,
            "value": 26
          },
          {
            "time": 300,
            "value": 32
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 570,
            "value": 56
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 900,
            "value": 72
          },
          {
            "time": 1080,
            "value": 58
          },
          {
            "time": 1200,
            "value": 50
          },
          {
            "time": 1380,
            "value": 34
          },
          {
            "time": 1530,
            "value": 20
          },
          {
            "time": 1680,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 90,
            "value": 1.9
          },
          {
            "time": 180,
            "value": 3.2
          },
          {
            "time": 300,
            "value": 3.8
          },
          {
            "time": 420,
            "value": 5.6
          },
          {
            "time": 570,
            "value": 6.8
          },
          {
            "time": 720,
            "value": 8.8
          },
          {
            "time": 900,
            "value": 9.4
          },
          {
            "time": 1080,
            "value": 7.2
          },
          {
            "time": 1200,
            "value": 5.8
          },
          {
            "time": 1380,
            "value": 3.6
          },
          {
            "time": 1530,
            "value": 2
          },
          {
            "time": 1680,
            "value": 1
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#163b7a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 90,
            "value": "#215e9c",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.22,
            "auroraDepth": 30
          },
          {
            "time": 180,
            "value": "#24a6b8",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.28,
            "auroraDepth": 42
          },
          {
            "time": 300,
            "value": "#33c6a6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 48
          },
          {
            "time": 420,
            "value": "#3f5cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.38,
            "auroraDepth": 62
          },
          {
            "time": 570,
            "value": "#6c4cff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.44,
            "auroraDepth": 70
          },
          {
            "time": 720,
            "value": "#2b1a78",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.22,
            "auroraDepth": 82
          },
          {
            "time": 900,
            "value": "#5d2baf",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.18,
            "auroraDepth": 88
          },
          {
            "time": 1080,
            "value": "#d6b6ff",
            "ganzfeldMode": false,
            "auroraMode": "custom",
            "auroraSpeed": 0.52,
            "auroraDepth": 66
          },
          {
            "time": 1200,
            "value": "#fff2a6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.46,
            "auroraDepth": 54
          },
          {
            "time": 1380,
            "value": "#4fc3ff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.3,
            "auroraDepth": 36
          },
          {
            "time": 1530,
            "value": "#ffd89a",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 24
          },
          {
            "time": 1680,
            "value": "#f6c27a",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1680
  },
  "we-are-all-one": {
    "title": "Wij zijn allemaal een (Spiritueel)",
    "titleEn": "We Are All One (Spiritual)",
    "category": "meditatie",
    "goal": "Ontworpen ter ondersteuning van een diepe meditatieve ervaring van eenheid, compassie, gedeelde aanwezigheid en verruimd verbonden bewustzijn.",
    "goalEn": "Designed to support a deep meditative experience of unity, compassion, shared presence, and expansive connected awareness.",
    "marketplaceListingId": "",
    "carrier": 963,
    "musicCrossfadeSeconds": 24,
    "colorCrossfadeSeconds": 45,
    "sessionStructure": "timeline",
    "timeline": {
      "version": 1,
      "durationSeconds": 1800,
      "pulseShape": "sine",
      "audioMode": "binaural",
      "musicMood": "Soft Soundscapes",
      "noiseType": "pink",
      "reverbPreset": "room",
      "ganzfeldMode": false,
      "auroraMode": "subtle",
      "markers": [
        {
          "time": 0,
          "name": "Arrival",
          "nameEn": "Arrival",
          "purpose": "Settle into the body and open a calm field of shared presence.",
          "purposeEn": "Settle into the body and open a calm field of shared presence."
        },
        {
          "time": 180,
          "name": "Heart Stabilization",
          "nameEn": "Heart Stabilization",
          "purpose": "Guide attention into warmth, safety, and relational openness.",
          "purposeEn": "Guide attention into warmth, safety, and relational openness."
        },
        {
          "time": 420,
          "name": "Field Opening",
          "nameEn": "Field Opening",
          "purpose": "Deepen into theta imagery and soften the boundary between self and world.",
          "purposeEn": "Deepen into theta imagery and soften the boundary between self and world."
        },
        {
          "time": 720,
          "name": "Unity Immersion",
          "nameEn": "Unity Immersion",
          "purpose": "Activate spacious Infinity Ganzfeld™ absorption and an expansive sense of oneness.",
          "purposeEn": "Activate spacious Infinity Ganzfeld™ absorption and an expansive sense of oneness."
        },
        {
          "time": 1080,
          "name": "Transcendent Plateau",
          "nameEn": "Transcendent Plateau",
          "purpose": "Stabilize the deepest contemplative phase with slow light, drone, and wide reverb.",
          "purposeEn": "Stabilize the deepest contemplative phase with slow light, drone, and wide reverb."
        },
        {
          "time": 1380,
          "name": "Golden Integration",
          "nameEn": "Golden Integration",
          "purpose": "Bring the unity experience into clear, warm, embodied awareness.",
          "purposeEn": "Bring the unity experience into clear, warm, embodied awareness."
        },
        {
          "time": 1620,
          "name": "Return",
          "nameEn": "Return",
          "purpose": "Gently return to relaxed alpha while preserving calm connected presence.",
          "purposeEn": "Gently return to relaxed alpha while preserving calm connected presence."
        },
        {
          "time": 1800,
          "name": "Close",
          "nameEn": "Close",
          "purpose": "Complete the session in grounded openness and quiet clarity.",
          "purposeEn": "Complete the session in grounded openness and quiet clarity."
        }
      ],
      "curves": {
        "frequency": [
          {
            "time": 0,
            "value": 10.8,
            "lightPulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.6,
            "lightPulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7.4,
            "lightPulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 5.2,
            "lightPulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 4.6,
            "lightPulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 7.8,
            "lightPulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9.4,
            "lightPulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8.2,
            "lightPulseShape": "sine"
          }
        ],
        "audioFrequency": [
          {
            "time": 0,
            "value": 10.4,
            "musicMood": "Soft Soundscapes",
            "noiseType": "pink",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 180,
            "value": 9.2,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 420,
            "value": 7,
            "musicMood": "Theta Soundscape",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 720,
            "value": 5,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1080,
            "value": 4.4,
            "musicMood": "Drone",
            "noiseType": "white",
            "reverbPreset": "ganzfeld",
            "audioMode": "monaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1380,
            "value": 7.6,
            "musicMood": "Cinematic Ambient",
            "noiseType": "pink",
            "reverbPreset": "cathedral",
            "audioMode": "isochronic-monaural",
            "audioPulseShape": "triangle",
            "pulseShape": "triangle"
          },
          {
            "time": 1620,
            "value": 9,
            "musicMood": "Ambient",
            "noiseType": "pink",
            "reverbPreset": "hall",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          },
          {
            "time": 1800,
            "value": 8,
            "musicMood": "Soft Soundscapes",
            "noiseType": "none",
            "reverbPreset": "room",
            "audioMode": "binaural",
            "audioPulseShape": "sine",
            "pulseShape": "sine"
          }
        ],
        "rgb": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 42
          },
          {
            "time": 420,
            "value": 68
          },
          {
            "time": 720,
            "value": 88
          },
          {
            "time": 1080,
            "value": 95
          },
          {
            "time": 1380,
            "value": 78
          },
          {
            "time": 1620,
            "value": 45
          },
          {
            "time": 1800,
            "value": 10
          }
        ],
        "white": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 8
          },
          {
            "time": 420,
            "value": 12
          },
          {
            "time": 720,
            "value": 18
          },
          {
            "time": 960,
            "value": 24
          },
          {
            "time": 1080,
            "value": 20
          },
          {
            "time": 1380,
            "value": 28
          },
          {
            "time": 1620,
            "value": 14
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "pulseVolume": [
          {
            "time": 0,
            "value": 18
          },
          {
            "time": 180,
            "value": 32
          },
          {
            "time": 420,
            "value": 44
          },
          {
            "time": 720,
            "value": 38
          },
          {
            "time": 1080,
            "value": 34
          },
          {
            "time": 1380,
            "value": 42
          },
          {
            "time": 1620,
            "value": 26
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "musicVolume": [
          {
            "time": 0,
            "value": 48
          },
          {
            "time": 180,
            "value": 62
          },
          {
            "time": 420,
            "value": 72
          },
          {
            "time": 720,
            "value": 78
          },
          {
            "time": 1080,
            "value": 76
          },
          {
            "time": 1380,
            "value": 70
          },
          {
            "time": 1620,
            "value": 54
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "noiseVolume": [
          {
            "time": 0,
            "value": 4
          },
          {
            "time": 180,
            "value": 12
          },
          {
            "time": 420,
            "value": 18
          },
          {
            "time": 720,
            "value": 26
          },
          {
            "time": 1080,
            "value": 30
          },
          {
            "time": 1380,
            "value": 16
          },
          {
            "time": 1620,
            "value": 8
          },
          {
            "time": 1800,
            "value": 0
          }
        ],
        "reverbMix": [
          {
            "time": 0,
            "value": 12
          },
          {
            "time": 180,
            "value": 24
          },
          {
            "time": 420,
            "value": 46
          },
          {
            "time": 720,
            "value": 68
          },
          {
            "time": 1080,
            "value": 74
          },
          {
            "time": 1380,
            "value": 54
          },
          {
            "time": 1620,
            "value": 28
          },
          {
            "time": 1800,
            "value": 8
          }
        ],
        "reverbDecay": [
          {
            "time": 0,
            "value": 1.4
          },
          {
            "time": 180,
            "value": 2.4
          },
          {
            "time": 420,
            "value": 5.5
          },
          {
            "time": 720,
            "value": 8.5
          },
          {
            "time": 1080,
            "value": 10
          },
          {
            "time": 1380,
            "value": 6.2
          },
          {
            "time": 1620,
            "value": 3
          },
          {
            "time": 1800,
            "value": 1.2
          }
        ],
        "color": [
          {
            "time": 0,
            "value": "#1e4fff",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.18,
            "auroraDepth": 22
          },
          {
            "time": 180,
            "value": "#31d8c6",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.25,
            "auroraDepth": 38
          },
          {
            "time": 420,
            "value": "#6a4cff",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.32,
            "auroraDepth": 56
          },
          {
            "time": 720,
            "value": "#8f55ff",
            "ganzfeldMode": true,
            "auroraMode": "custom",
            "auroraSpeed": 0.16,
            "auroraDepth": 78
          },
          {
            "time": 1080,
            "value": "#d7b9ff",
            "ganzfeldMode": true,
            "auroraMode": "intense",
            "auroraSpeed": 0.11,
            "auroraDepth": 86
          },
          {
            "time": 1380,
            "value": "#ffd66b",
            "ganzfeldMode": false,
            "auroraMode": "medium",
            "auroraSpeed": 0.24,
            "auroraDepth": 60
          },
          {
            "time": 1620,
            "value": "#ffb36b",
            "ganzfeldMode": false,
            "auroraMode": "subtle",
            "auroraSpeed": 0.2,
            "auroraDepth": 32
          },
          {
            "time": 1800,
            "value": "#f4d6b2",
            "ganzfeldMode": false,
            "auroraMode": "off",
            "auroraSpeed": 0.05,
            "auroraDepth": 0
          }
        ]
      }
    },
    "durationSeconds": 1800
  }
};

const MORNING_ENERGY_SESSION_DEFINITIONS = [
  {
    id: "insect-phobia",
    label: "insect phobia/insectenfobie",
    query: /angst.*insect|insect.*angst|insectenfobie|entomophobia|insect phobia|fear of insects|bugs?/i,
    profile: /insectenfobie|entomophobia|insect phobia|fear of insects|angst voor insecten/i,
    terms: ["insectenfobie", "angst voor insecten", "entomophobia", "insect phobia", "fear of insects"],
    boost: 170
  },
  {
    id: "morning-energy-wake-up-naturally",
    title: "Natuurlijk ontwaken (Fysiek)",
    titleEn: "Wake Up Naturally (Physical)",
    goal: "Een verantwoorde ochtendsessie die rustige waakzaamheid, lichaamsbewustzijn en een natuurlijke overgang naar actieve helderheid ondersteunt.",
    goalEn: "A responsible morning session supporting calm wakefulness, body awareness, and a natural transition into active clarity.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ffd36a",
    peak: 15.2,
    style: 0
  },
  {
    id: "morning-energy-rise-and-shine",
    title: "Opstaan en stralen (Fysiek)",
    titleEn: "Rise & Shine (Physical)",
    goal: "Ondersteunt een heldere, positieve start van de dag met geleidelijke fysieke activering en stabiele mentale aanwezigheid.",
    goalEn: "Supports a clear, positive start to the day with gradual physical activation and steady mental presence.",
    carrier: 528,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffb84d",
    peak: 16.4,
    style: 1
  },
  {
    id: "morning-energy-boost",
    title: "Ochtendenergie boost (Fysiek)",
    titleEn: "Morning Energy Boost (Physical)",
    goal: "Een krachtige maar gebalanceerde sessie voor meer ochtenddrive, soepele alertheid en gegronde vitaliteit.",
    goalEn: "A strong but balanced session for more morning drive, smooth alertness, and grounded vitality.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#ff8f3f",
    peak: 17.6,
    style: 2
  },
  {
    id: "morning-energy-activation",
    title: "Ochtendactivatie (Fysiek)",
    titleEn: "Morning Activation (Physical)",
    goal: "Helpt het lichaam rustig op gang te komen met progressieve ritmische stimulatie, ademruimte en gecontroleerde energieopbouw.",
    goalEn: "Helps the body ease into motion with progressive rhythmic stimulation, breathing space, and controlled energy build-up.",
    carrier: 417,
    mood: "Ambient",
    accent: "#ffc247",
    peak: 15.8,
    style: 3
  },
  {
    id: "morning-energy-good-morning-vitality",
    title: "Goedemorgen vitaliteit (Fysiek)",
    titleEn: "Good Morning Vitality (Physical)",
    goal: "Ondersteunt een warme, vitale ochtendstemming met zachte activering, ontspannen aandacht en lichaamsgerichte helderheid.",
    goalEn: "Supports a warm, vital morning state with gentle activation, relaxed attention, and body-oriented clarity.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ffe27a",
    peak: 14.8,
    style: 4
  },
  {
    id: "morning-energy-energize-your-morning",
    title: "Geef je ochtend energie (Fysiek)",
    titleEn: "Energize Your Morning (Physical)",
    goal: "Richt zich op frisse activering, doelgerichte aandacht en een stabiele fysieke start zonder overprikkeling.",
    goalEn: "Focuses on fresh activation, goal-directed attention, and a stable physical start without overstimulation.",
    carrier: 741,
    mood: "Cinematic Ambient",
    accent: "#ff9f5a",
    peak: 16.8,
    style: 5
  },
  {
    id: "morning-energy-daily-vitality",
    title: "Dagelijkse vitaliteit (Fysiek)",
    titleEn: "Daily Vitality (Physical)",
    goal: "Een evenwichtige dagelijkse sessie voor lichamelijke paraatheid, heldere focus en rustige positieve energie.",
    goalEn: "A balanced daily session for physical readiness, clear focus, and calm positive energy.",
    carrier: 528,
    mood: "Ambient",
    accent: "#ffcc66",
    peak: 15.5,
    style: 6
  },
  {
    id: "morning-energy-daily-recharge",
    title: "Dagelijks opladen (Fysiek)",
    titleEn: "Daily Recharge (Physical)",
    goal: "Ondersteunt een hernieuwd energieniveau door eerst te stabiliseren en daarna rustig naar actieve helderheid te bewegen.",
    goalEn: "Supports renewed energy by first stabilizing and then moving calmly toward active clarity.",
    carrier: 417,
    mood: "Theta Soundscape",
    accent: "#b9e66a",
    peak: 14.6,
    style: 7
  },
  {
    id: "morning-energy-natural-vitality",
    title: "Natuurlijke vitaliteit (Fysiek)",
    titleEn: "Natural Vitality (Physical)",
    goal: "Bevordert een natuurlijke ochtendopbouw met lichte lichamelijke activering, soepele aandacht en comfortabele helderheid.",
    goalEn: "Encourages a natural morning build with light physical activation, smooth attention, and comfortable clarity.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#9fdc6b",
    peak: 15.0,
    style: 8
  },
  {
    id: "morning-energy-morning-stamina",
    title: "Ochtenduithoudingsvermogen (Fysiek)",
    titleEn: "Morning Stamina (Physical)",
    goal: "Ondersteunt een langer aanhoudend gevoel van fysieke paraatheid, ritme en stabiele ochtendenergie.",
    goalEn: "Supports a more sustained sense of physical readiness, rhythm, and steady morning energy.",
    carrier: 741,
    mood: "Drone",
    accent: "#72d47a",
    peak: 16.2,
    style: 9
  },
  {
    id: "morning-energy-dynamic-start",
    title: "Dynamische start (Fysiek)",
    titleEn: "Dynamic Start (Physical)",
    goal: "Een actieve ochtendsessie voor dynamiek, besluitvaardigheid en een helder lichaam-naar-actie gevoel.",
    goalEn: "An active morning session for momentum, decisiveness, and a clear body-to-action feeling.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#40c9ff",
    peak: 17.2,
    style: 10
  },
  {
    id: "morning-energy-healthy-morning",
    title: "Gezonde ochtend (Fysiek)",
    titleEn: "Healthy Morning (Physical)",
    goal: "Ondersteunt een rustige, gezonde ochtendroutine met gebalanceerde activering, ademruimte en lichamelijke aanwezigheid.",
    goalEn: "Supports a calm, healthy morning routine with balanced activation, breathing space, and physical presence.",
    carrier: 528,
    mood: "Ambient",
    accent: "#7fdc92",
    peak: 14.4,
    style: 11
  },
  {
    id: "morning-energy-circadian-reset",
    title: "Circadiaanse reset (Fysiek)",
    titleEn: "Circadian Reset (Physical)",
    goal: "Een voorzichtige ochtendcue met warme lichtopbouw en heldere ritmes ter ondersteuning van dagoriëntatie en wakkerheid.",
    goalEn: "A gentle morning cue with warm light build-up and clear rhythms to support day orientation and wakefulness.",
    carrier: 417,
    mood: "Soft Soundscapes",
    accent: "#ffd06f",
    peak: 14.2,
    style: 12
  },
  {
    id: "morning-energy-early-bird",
    title: "Vroege vogel (Fysiek)",
    titleEn: "Early Bird (Physical)",
    goal: "Helpt vroege activatie vriendelijk op te bouwen met frisse kleurwissels, lichte beta-energie en een rustige afronding.",
    goalEn: "Helps early activation build kindly with fresh color transitions, light beta energy, and a calm finish.",
    carrier: 528,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffbd59",
    peak: 15.9,
    style: 13
  },
  {
    id: "morning-energy-sunrise-activation",
    title: "Zonsopkomstactivatie (Fysiek)",
    titleEn: "Sunrise Activation (Physical)",
    goal: "Bootst een zachte zonsopkomst na met geleidelijke kleur- en intensiteitsopbouw voor heldere, fysieke ochtendactivatie.",
    goalEn: "Mirrors a gentle sunrise with gradual color and intensity build-up for clear physical morning activation.",
    carrier: 528,
    mood: "Cinematic Ambient",
    accent: "#ffcf70",
    peak: 15.6,
    style: 14
  },
  {
    id: "morning-energy-physical-activation",
    title: "Fysieke activatie (Fysiek)",
    titleEn: "Physical Activation (Physical)",
    goal: "Richt zich op lichaamsgerichte wakkerheid, bewegingsbereidheid en een stabiele overgang naar actie.",
    goalEn: "Focuses on body-oriented wakefulness, readiness to move, and a stable transition into action.",
    carrier: 741,
    mood: "Drone",
    accent: "#ff8759",
    peak: 16.7,
    style: 15
  },
  {
    id: "morning-energy-body-awakening",
    title: "Lichaam ontwaken (Fysiek)",
    titleEn: "Body Awakening (Physical)",
    goal: "Ondersteunt zacht lichaamsbewustzijn, warme activering en een veilige opbouw naar vitale ochtendhelderheid.",
    goalEn: "Supports gentle body awareness, warm activation, and a safe build toward vital morning clarity.",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#f4c06a",
    peak: 14.9,
    style: 16
  },
  {
    id: "morning-energy-revitalize-your-body",
    title: "Revitaliseer je lichaam (Fysiek)",
    titleEn: "Revitalize Your Body (Physical)",
    goal: "Een gebalanceerde sessie voor lichamelijke verfrissing, ritmische activering en ontspannen, heldere vitaliteit.",
    goalEn: "A balanced session for physical refreshment, rhythmic activation, and relaxed, clear vitality.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#8ce074",
    peak: 15.7,
    style: 17
  },
  {
    id: "morning-energy-morning-endurance",
    title: "Ochtenduithouding (Fysiek)",
    titleEn: "Morning Endurance (Physical)",
    goal: "Ondersteunt duurzame ochtendenergie met stabiele ritmes, gecontroleerde intensiteit en gegronde focus.",
    goalEn: "Supports sustainable morning energy with stable rhythms, controlled intensity, and grounded focus.",
    carrier: 741,
    mood: "Ambient",
    accent: "#69d982",
    peak: 16.1,
    style: 18
  },
  {
    id: "morning-energy-natural-wakefulness",
    title: "Natuurlijke wakkerheid (Fysiek)",
    titleEn: "Natural Wakefulness (Physical)",
    goal: "Ondersteunt een rustige overgang van slaperigheid naar heldere aanwezigheid, zonder scherpe pieken of overmatige prikkeling.",
    goalEn: "Supports a calm transition from sleepiness into clear presence, without sharp peaks or excessive stimulation.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ffe08a",
    peak: 14.7,
    style: 19
  }
];

const MORNING_ENERGY_MENTAL_SESSION_DEFINITIONS = [
  {
    id: "morning-energy-fresh-start-mental",
    title: "Frisse start (Mentaal)",
    titleEn: "Fresh Start (Mental)",
    goal: "Een verantwoorde mentale ochtendsessie voor frisse aandacht, rustige motivatie en een heldere overgang naar de dag.",
    goalEn: "A responsible mental morning session for fresh attention, calm motivation, and a clear transition into the day.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#7fd8ff",
    peak: 15.8,
    style: 20
  },
  {
    id: "morning-energy-morning-motivation-mental",
    title: "Ochtendmotivatie (Mentaal)",
    titleEn: "Morning Motivation (Mental)",
    goal: "Ondersteunt doelgerichte ochtendenergie, innerlijke bereidheid en een positieve mentale start zonder druk op te bouwen.",
    goalEn: "Supports goal-directed morning energy, inner readiness, and a positive mental start without building pressure.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffb347",
    peak: 17.4,
    style: 21
  },
  {
    id: "morning-energy-morning-momentum-mental",
    title: "Ochtendmomentum (Mentaal)",
    titleEn: "Morning Momentum (Mental)",
    goal: "Helpt mentale traagheid om te zetten in gecontroleerd momentum, overzicht en praktische actiebereidheid.",
    goalEn: "Helps turn mental sluggishness into controlled momentum, overview, and practical readiness for action.",
    carrier: 417,
    mood: "Cinematic Ambient",
    accent: "#64d96b",
    peak: 16.8,
    style: 22
  },
  {
    id: "morning-energy-productive-morning-mental",
    title: "Productieve ochtend (Mentaal)",
    titleEn: "Productive Morning (Mental)",
    goal: "Richt zich op rustige productiviteit, taakhelderheid en stabiele focus voor de eerste werkblokken van de dag.",
    goalEn: "Focuses on calm productivity, task clarity, and stable focus for the first work blocks of the day.",
    carrier: 528,
    mood: "Ambient",
    accent: "#56c7ff",
    peak: 18.2,
    style: 23
  },
  {
    id: "morning-energy-morning-focus-mental",
    title: "Ochtendfocus (Mentaal)",
    titleEn: "Morning Focus (Mental)",
    goal: "Ondersteunt een geconcentreerde ochtendstaat met geleidelijke beta-activatie, minimale ruis en een rustige afronding.",
    goalEn: "Supports a concentrated morning state with gradual beta activation, minimal noise, and a calm close.",
    carrier: 852,
    mood: "Drone",
    accent: "#5bbcff",
    peak: 18.6,
    style: 24
  },
  {
    id: "morning-energy-clear-mind-morning-mental",
    title: "Heldere geest ochtend (Mentaal)",
    titleEn: "Clear Mind Morning (Mental)",
    goal: "Helpt mentale helderheid, overzicht en lichte alertheid op te bouwen met zachte kleuren en gecontroleerde intensiteit.",
    goalEn: "Helps build mental clarity, overview, and light alertness with soft colors and controlled intensity.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#b5f0ff",
    peak: 16.4,
    style: 25
  },
  {
    id: "morning-energy-brain-awakening-mental",
    title: "Brein ontwaken (Mentaal)",
    titleEn: "Brain Awakening (Mental)",
    goal: "Een rustige cognitieve activatie voor wakker denken, soepele aandacht en een alerte maar comfortabele start.",
    goalEn: "A calm cognitive activation for awake thinking, smooth attention, and an alert but comfortable start.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffe066",
    peak: 17.8,
    style: 26
  },
  {
    id: "morning-energy-mental-freshness-mental",
    title: "Mentale frisheid (Mentaal)",
    titleEn: "Mental Freshness (Mental)",
    goal: "Ondersteunt een fris hoofdgevoel met stabiele alpha-beta overgang, lichte aurora en een ruime auditieve omgeving.",
    goalEn: "Supports a fresh headspace with a steady alpha-to-beta transition, light aurora, and a spacious auditory field.",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#80e7d5",
    peak: 15.6,
    style: 27
  },
  {
    id: "morning-energy-wake-your-brain-mental",
    title: "Maak je brein wakker (Mentaal)",
    titleEn: "Wake Your Brain (Mental)",
    goal: "Stimuleert mentale wakkerheid op een beheerste manier, met nadruk op ritme, oriëntatie en heldere aandacht.",
    goalEn: "Encourages mental wakefulness in a controlled way, emphasizing rhythm, orientation, and clear attention.",
    carrier: 963,
    mood: "Cinematic Ambient",
    accent: "#ffcf5c",
    peak: 18.0,
    style: 28
  },
  {
    id: "morning-energy-awaken-your-potential-mental",
    title: "Ontwaak je potentieel (Mentaal)",
    titleEn: "Awaken Your Potential (Mental)",
    goal: "Ondersteunt een inspirerende ochtendstaat waarin motivatie, mentale ruimte en doelbewuste aanwezigheid samenkomen.",
    goalEn: "Supports an inspiring morning state where motivation, mental space, and purposeful presence come together.",
    carrier: 852,
    mood: "Uplifting Electronic Ambient",
    accent: "#c889ff",
    peak: 17.2,
    style: 29
  },
  {
    id: "morning-energy-inner-fire-mental",
    title: "Innerlijk vuur (Mentaal)",
    titleEn: "Inner Fire (Mental)",
    goal: "Een energieke maar verantwoorde sessie voor innerlijke drive, vastberadenheid en gecontroleerde mentale kracht.",
    goalEn: "An energetic but responsible session for inner drive, determination, and controlled mental strength.",
    carrier: 741,
    mood: "Drone",
    accent: "#ff5c45",
    peak: 18.4,
    style: 30
  },
  {
    id: "morning-energy-ignite-your-day-mental",
    title: "Ontsteek je dag (Mentaal)",
    titleEn: "Ignite Your Day (Mental)",
    goal: "Helpt de dag krachtig te starten met heldere intentie, frisse focus en een geleidelijke opbouw van mentale energie.",
    goalEn: "Helps start the day strongly with clear intention, fresh focus, and a gradual build of mental energy.",
    carrier: 528,
    mood: "Uplifting Electronic Ambient",
    accent: "#ff8f3f",
    peak: 17.9,
    style: 31
  },
  {
    id: "morning-energy-winning-morning-mental",
    title: "Winnende ochtend (Mentaal)",
    titleEn: "Winning Morning (Mental)",
    goal: "Ondersteunt een kalme succesgerichte mindset, met nadruk op vertrouwen, overzicht en gerichte actie.",
    goalEn: "Supports a calm success-oriented mindset, emphasizing confidence, overview, and focused action.",
    carrier: 852,
    mood: "Cinematic Ambient",
    accent: "#ffd24a",
    peak: 16.9,
    style: 32
  },
  {
    id: "morning-energy-champion-mindset-mental",
    title: "Kampioensmindset (Mentaal)",
    titleEn: "Champion Mindset (Mental)",
    goal: "Richt zich op mentale veerkracht, stabiele alertheid en het rustig activeren van prestatiegerichte focus.",
    goalEn: "Focuses on mental resilience, steady alertness, and calmly activating performance-oriented focus.",
    carrier: 741,
    mood: "Ambient",
    accent: "#f6d860",
    peak: 18.3,
    style: 33
  },
  {
    id: "morning-energy-success-starts-today-mental",
    title: "Succes begint vandaag (Mentaal)",
    titleEn: "Success Starts Today (Mental)",
    goal: "Ondersteunt een doelgerichte start met optimisme, mentale helderheid en concrete bereidheid om stappen te zetten.",
    goalEn: "Supports a goal-directed start with optimism, mental clarity, and concrete readiness to take steps.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ffde7a",
    peak: 16.7,
    style: 34
  },
  {
    id: "morning-energy-executive-morning-mental",
    title: "Executieve ochtend (Mentaal)",
    titleEn: "Executive Morning (Mental)",
    goal: "Voor een rustige, besluitvaardige start met aandacht voor planning, prioriteiten en nuchtere mentale scherpte.",
    goalEn: "For a calm, decisive start with attention to planning, priorities, and grounded mental sharpness.",
    carrier: 852,
    mood: "Drone",
    accent: "#4fb7ff",
    peak: 18.8,
    style: 35
  },
  {
    id: "morning-energy-entrepreneur-energy-mental",
    title: "Ondernemersenergie (Mentaal)",
    titleEn: "Entrepreneur Energy (Mental)",
    goal: "Ondersteunt creatieve daadkracht, kansgericht denken en flexibele focus voor een ondernemende ochtend.",
    goalEn: "Supports creative drive, opportunity-oriented thinking, and flexible focus for an entrepreneurial morning.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#45d1a4",
    peak: 18.1,
    style: 36
  },
  {
    id: "morning-energy-peak-morning-performance-mental",
    title: "Piekprestatie ochtend (Mentaal)",
    titleEn: "Peak Morning Performance (Mental)",
    goal: "Een gebalanceerde prestatiegerichte sessie voor heldere focus, mentale paraatheid en gecontroleerde activering.",
    goalEn: "A balanced performance-oriented session for clear focus, mental readiness, and controlled activation.",
    carrier: 963,
    mood: "Cinematic Ambient",
    accent: "#a4ff5f",
    peak: 19.0,
    style: 37
  },
  {
    id: "morning-energy-mental-clarity-mental",
    title: "Mentale helderheid (Mentaal)",
    titleEn: "Mental Clarity (Mental)",
    goal: "Ondersteunt overzichtelijk denken, rustige alertheid en een heldere start zonder scherpe licht- of audiopieken.",
    goalEn: "Supports organized thinking, calm alertness, and a clear start without sharp light or audio peaks.",
    carrier: 852,
    mood: "Ambient",
    accent: "#9be7ff",
    peak: 16.2,
    style: 38
  },
  {
    id: "morning-energy-sharp-start-mental",
    title: "Scherpe start (Mentaal)",
    titleEn: "Sharp Start (Mental)",
    goal: "Helpt de aandacht te verscherpen met een gecontroleerde beta-opbouw, korte stabilisatiefase en rustige landing.",
    goalEn: "Helps sharpen attention with a controlled beta build, short stabilization phase, and calm landing.",
    carrier: 741,
    mood: "Drone",
    accent: "#66c7ff",
    peak: 18.9,
    style: 39
  },
  {
    id: "morning-energy-focused-mind-mental",
    title: "Gefocuste geest (Mentaal)",
    titleEn: "Focused Mind (Mental)",
    goal: "Ondersteunt consistente focus, mentale stilte rond taken en een stabiele overgang naar productief handelen.",
    goalEn: "Supports consistent focus, mental quiet around tasks, and a stable transition into productive action.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#6fd2ff",
    peak: 17.5,
    style: 40
  },
  {
    id: "morning-energy-productivity-prime-mental",
    title: "Productiviteit prime (Mentaal)",
    titleEn: "Productivity Prime (Mental)",
    goal: "Een praktische ochtendsessie voor taakstart, helder ritme en mentale energie die bruikbaar blijft na afloop.",
    goalEn: "A practical morning session for task initiation, clear rhythm, and mental energy that remains usable afterward.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#8bd34f",
    peak: 18.5,
    style: 41
  },
  {
    id: "morning-energy-morning-confidence-mental",
    title: "Ochtendvertrouwen (Mentaal)",
    titleEn: "Morning Confidence (Mental)",
    goal: "Ondersteunt een rustige, zelfverzekerde start met warme kleurprogressie, stabiele audio en doelgerichte helderheid.",
    goalEn: "Supports a calm, confident start with warm color progression, stable audio, and goal-directed clarity.",
    carrier: 528,
    mood: "Cinematic Ambient",
    accent: "#ffbd6d",
    peak: 16.6,
    style: 42
  },
  {
    id: "morning-energy-action-mode-mental",
    title: "Actiemodus (Mentaal)",
    titleEn: "Action Mode (Mental)",
    goal: "Helpt de mentale schakel naar doen te maken met duidelijke ritmiek, gecontroleerde intensiteit en korte focuspieken.",
    goalEn: "Helps switch the mind into action with clear rhythm, controlled intensity, and short focus peaks.",
    carrier: 963,
    mood: "Uplifting Electronic Ambient",
    accent: "#ff6f4f",
    peak: 19.2,
    style: 43
  },
  {
    id: "morning-energy-ready-for-the-day-mental",
    title: "Klaar voor de dag (Mentaal)",
    titleEn: "Ready for the Day (Mental)",
    goal: "Rondt de ochtendvoorbereiding af met heldere aandacht, mentale rust en voldoende activering voor de dag.",
    goalEn: "Completes morning preparation with clear attention, mental calm, and enough activation for the day.",
    carrier: 528,
    mood: "Ambient",
    accent: "#fff08a",
    peak: 16.0,
    style: 44
  }
];

const MORNING_ENERGY_SPIRITUAL_SESSION_DEFINITIONS = [
  {
    id: "morning-energy-morning-meditation-spiritual",
    title: "Ochtendmeditatie (Spiritueel)",
    titleEn: "Morning Meditation (Spiritual)",
    goal: "Een verantwoorde spirituele ochtendsessie voor stille aandacht, zachte energie en een bewuste start van de dag.",
    goalEn: "A responsible spiritual morning session for quiet attention, gentle energy, and a conscious start to the day.",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#f7d77a",
    peak: 11.8,
    style: 45
  },
  {
    id: "morning-energy-mindful-morning-spiritual",
    title: "Mindful ochtend (Spiritueel)",
    titleEn: "Mindful Morning (Spiritual)",
    goal: "Ondersteunt een kalme, opmerkzame ochtendstaat waarin adem, lichaam en aandacht rustig samenkomen.",
    goalEn: "Supports a calm, mindful morning state where breath, body, and attention gently come together.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#aee8d2",
    peak: 12.4,
    style: 46
  },
  {
    id: "morning-energy-sunrise-meditation-spiritual",
    title: "Zonsopkomstmeditatie (Spiritueel)",
    titleEn: "Sunrise Meditation (Spiritual)",
    goal: "Bootst een rustige zonsopkomst na met warme kleurverloop, zachte alpha-opbouw en meditatieve helderheid.",
    goalEn: "Mirrors a calm sunrise with warm color progression, gentle alpha build, and meditative clarity.",
    carrier: 417,
    mood: "Cinematic Ambient",
    accent: "#ffbf6b",
    peak: 12.8,
    style: 47
  },
  {
    id: "morning-energy-sunrise-energy-spiritual",
    title: "Zonsopkomstenergie (Spiritueel)",
    titleEn: "Sunrise Energy (Spiritual)",
    goal: "Verbindt zachte spirituele aanwezigheid met lichte ochtendactivatie voor een heldere maar rustige dagstart.",
    goalEn: "Connects gentle spiritual presence with light morning activation for a clear but calm start to the day.",
    carrier: 528,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffd05f",
    peak: 13.6,
    style: 48
  },
  {
    id: "morning-energy-start-with-gratitude-spiritual",
    title: "Begin met dankbaarheid (Spiritueel)",
    titleEn: "Start With Gratitude (Spiritual)",
    goal: "Ondersteunt dankbare aandacht, hartgerichte rust en een positieve innerlijke toon voor de ochtend.",
    goalEn: "Supports grateful attention, heart-centered calm, and a positive inner tone for the morning.",
    carrier: 639,
    mood: "Soft Soundscapes",
    accent: "#ffb7c8",
    peak: 11.6,
    style: 49
  },
  {
    id: "morning-energy-peaceful-awakening-spiritual",
    title: "Vredig ontwaken (Spiritueel)",
    titleEn: "Peaceful Awakening (Spiritual)",
    goal: "Helpt rustig wakker te worden met lage intensiteit, zachte kleuren en een vredige overgang naar aanwezigheid.",
    goalEn: "Helps wake calmly with low intensity, soft colors, and a peaceful transition into presence.",
    carrier: 528,
    mood: "Ambient",
    accent: "#c8e6ff",
    peak: 10.8,
    style: 50
  },
  {
    id: "morning-energy-inner-alignment-spiritual",
    title: "Innerlijke afstemming (Spiritueel)",
    titleEn: "Inner Alignment (Spiritual)",
    goal: "Ondersteunt innerlijke afstemming, lichaamsrust en heldere intentie met een geleidelijke theta-alpha overgang.",
    goalEn: "Supports inner alignment, bodily calm, and clear intention with a gradual theta-to-alpha transition.",
    carrier: 852,
    mood: "Drone",
    accent: "#b99cff",
    peak: 12.2,
    style: 51
  },
  {
    id: "morning-energy-morning-presence-spiritual",
    title: "Ochtendaanwezigheid (Spiritueel)",
    titleEn: "Morning Presence (Spiritual)",
    goal: "Richt zich op stille aanwezigheid, aandacht in het moment en een zachte activering van helder bewustzijn.",
    goalEn: "Focuses on quiet presence, attention in the moment, and gentle activation of clear awareness.",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#9ce6ff",
    peak: 11.4,
    style: 52
  },
  {
    id: "morning-energy-morning-stillness-spiritual",
    title: "Ochtendstilte (Spiritueel)",
    titleEn: "Morning Stillness (Spiritual)",
    goal: "Een zachte sessie voor stilte, vertraging en innerlijke ruimte voordat de activiteit van de dag begint.",
    goalEn: "A gentle session for stillness, slowing down, and inner spaciousness before the activity of the day begins.",
    carrier: 432,
    mood: "Drone",
    accent: "#d7ecff",
    peak: 10.6,
    style: 53
  },
  {
    id: "morning-energy-sacred-sunrise-spiritual",
    title: "Heilige zonsopkomst (Spiritueel)",
    titleEn: "Sacred Sunrise (Spiritual)",
    goal: "Creëert een ceremoniële ochtendopbouw met warme tinten, rustige ritmes en aandacht voor betekenisvolle intentie.",
    goalEn: "Creates a ceremonial morning build with warm tones, calm rhythms, and attention to meaningful intention.",
    carrier: 963,
    mood: "Cinematic Ambient",
    accent: "#ffc46b",
    peak: 12.6,
    style: 54
  },
  {
    id: "morning-energy-heart-opening-morning-spiritual",
    title: "Hartopenende ochtend (Spiritueel)",
    titleEn: "Heart Opening Morning (Spiritual)",
    goal: "Ondersteunt warme emotionele openheid, vriendelijke aanwezigheid en rustige energie rond het hartgebied.",
    goalEn: "Supports warm emotional openness, kind presence, and calm energy around the heart area.",
    carrier: 639,
    mood: "Soft Soundscapes",
    accent: "#ff9eb5",
    peak: 11.9,
    style: 55
  },
  {
    id: "morning-energy-morning-mindfulness-spiritual",
    title: "Ochtendmindfulness (Spiritueel)",
    titleEn: "Morning Mindfulness (Spiritual)",
    goal: "Helpt de ochtend te beginnen met opmerkzaamheid, stabiele aandacht en een vriendelijke, niet-geforceerde alertheid.",
    goalEn: "Helps begin the morning with mindfulness, stable attention, and kind, unforced alertness.",
    carrier: 528,
    mood: "Ambient",
    accent: "#a8e6cf",
    peak: 12.3,
    style: 56
  },
  {
    id: "morning-energy-conscious-awakening-spiritual",
    title: "Bewust ontwaken (Spiritueel)",
    titleEn: "Conscious Awakening (Spiritual)",
    goal: "Ondersteunt bewust wakker worden met zachte sensorische cues, heldere intentie en rustige alpha-activatie.",
    goalEn: "Supports conscious awakening with gentle sensory cues, clear intention, and calm alpha activation.",
    carrier: 741,
    mood: "Theta Soundscape",
    accent: "#e0c3ff",
    peak: 12.9,
    style: 57
  },
  {
    id: "morning-energy-grateful-awakening-spiritual",
    title: "Dankbaar ontwaken (Spiritueel)",
    titleEn: "Grateful Awakening (Spiritual)",
    goal: "Bevordert dankbare aanwezigheid, zachte stemming en een warme overgang naar de eerste acties van de dag.",
    goalEn: "Encourages grateful presence, gentle mood, and a warm transition into the first actions of the day.",
    carrier: 639,
    mood: "Soft Soundscapes",
    accent: "#ffd1a8",
    peak: 11.7,
    style: 58
  },
  {
    id: "morning-energy-connect-with-yourself-spiritual",
    title: "Verbind met jezelf (Spiritueel)",
    titleEn: "Connect With Yourself (Spiritual)",
    goal: "Richt zich op zelfverbinding, innerlijk luisteren en kalme helderheid voordat externe prikkels de dag bepalen.",
    goalEn: "Focuses on self-connection, inner listening, and calm clarity before external input shapes the day.",
    carrier: 852,
    mood: "Drone",
    accent: "#b8a7ff",
    peak: 11.2,
    style: 59
  },
  {
    id: "morning-energy-morning-harmony-spiritual",
    title: "Ochtendharmonie (Spiritueel)",
    titleEn: "Morning Harmony (Spiritual)",
    goal: "Ondersteunt harmonie tussen rust en energie met een evenwichtige lichtopbouw en zachte auditieve ruimte.",
    goalEn: "Supports harmony between calm and energy with balanced light build-up and gentle auditory space.",
    carrier: 528,
    mood: "Cinematic Ambient",
    accent: "#bfeea7",
    peak: 12.5,
    style: 60
  },
  {
    id: "morning-energy-inner-peace-morning-spiritual",
    title: "Innerlijke vrede ochtend (Spiritueel)",
    titleEn: "Inner Peace Morning (Spiritual)",
    goal: "Een rustige ochtendsessie voor innerlijke vrede, zachte focus en een vredige maar wakkere start.",
    goalEn: "A calm morning session for inner peace, gentle focus, and a peaceful but awake start.",
    carrier: 432,
    mood: "Ambient",
    accent: "#d8f6ff",
    peak: 10.9,
    style: 61
  },
  {
    id: "morning-energy-soulful-sunrise-spiritual",
    title: "Bezielde zonsopkomst (Spiritueel)",
    titleEn: "Soulful Sunrise (Spiritual)",
    goal: "Creëert een warme, bezielde ochtendervaring met rustige lichtkleur, zachte puls en heldere aanwezigheid.",
    goalEn: "Creates a warm, soulful morning experience with calm light color, soft pulse, and clear presence.",
    carrier: 963,
    mood: "Cinematic Ambient",
    accent: "#ffb86b",
    peak: 12.7,
    style: 62
  },
  {
    id: "morning-energy-morning-reflection-spiritual",
    title: "Ochtendreflectie (Spiritueel)",
    titleEn: "Morning Reflection (Spiritual)",
    goal: "Ondersteunt reflectie, intentievorming en rustige mentale ruimte met een zachte, niet-dwingende timeline.",
    goalEn: "Supports reflection, intention setting, and calm mental space with a soft, non-forcing timeline.",
    carrier: 741,
    mood: "Theta Soundscape",
    accent: "#cdd7ff",
    peak: 11.5,
    style: 63
  },
  {
    id: "morning-energy-centered-morning-spiritual",
    title: "Gecentreerde ochtend (Spiritueel)",
    titleEn: "Centered Morning (Spiritual)",
    goal: "Helpt gecentreerd te starten met stabiele ademruimte, zachte helderheid en gegronde spirituele aanwezigheid.",
    goalEn: "Helps start centered with stable breathing space, gentle clarity, and grounded spiritual presence.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#f4e5a6",
    peak: 12.1,
    style: 64
  }
];

const MORNING_ENERGY_EMOTIONAL_SESSION_DEFINITIONS = [
  {
    id: "morning-energy-bright-morning-emotional",
    title: "Heldere ochtend (Emotioneel)",
    titleEn: "Bright Morning (Emotional)",
    goal: "Een verantwoorde emotionele ochtendsessie voor een lichtere stemming, zachte helderheid en een positieve start.",
    goalEn: "A responsible emotional morning session for a lighter mood, gentle clarity, and a positive start.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ffd86b",
    peak: 13.8,
    style: 65
  },
  {
    id: "morning-energy-new-day-new-energy-emotional",
    title: "Nieuwe dag, nieuwe energie (Emotioneel)",
    titleEn: "New Day, New Energy (Emotional)",
    goal: "Ondersteunt het gevoel van een frisse emotionele herstart met warme activering en rustige dagoriëntatie.",
    goalEn: "Supports the feeling of a fresh emotional restart with warm activation and calm day orientation.",
    carrier: 417,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffb35c",
    peak: 14.6,
    style: 66
  },
  {
    id: "morning-energy-positive-morning-emotional",
    title: "Positieve ochtend (Emotioneel)",
    titleEn: "Positive Morning (Emotional)",
    goal: "Helpt een positieve ochtendtoon op te bouwen met zachte alpha, warme kleuren en gematigde energie.",
    goalEn: "Helps build a positive morning tone with soft alpha, warm colors, and moderate energy.",
    carrier: 528,
    mood: "Ambient",
    accent: "#ffe066",
    peak: 14.2,
    style: 67
  },
  {
    id: "morning-energy-feel-good-morning-emotional",
    title: "Feel-good ochtend (Emotioneel)",
    titleEn: "Feel Good Morning (Emotional)",
    goal: "Ondersteunt een prettig, open ochtendgevoel met vriendelijke stimulatie en een ontspannen overgang naar activiteit.",
    goalEn: "Supports a pleasant, open morning feeling with kind stimulation and a relaxed transition into activity.",
    carrier: 639,
    mood: "Cinematic Ambient",
    accent: "#ff9eb5",
    peak: 13.6,
    style: 68
  },
  {
    id: "morning-energy-morning-optimism-emotional",
    title: "Ochtendoptimisme (Emotioneel)",
    titleEn: "Morning Optimism (Emotional)",
    goal: "Richt zich op hoopvolle aandacht, lichte motivatie en een stabiele emotionele basis voor de dag.",
    goalEn: "Focuses on hopeful attention, light motivation, and a stable emotional base for the day.",
    carrier: 528,
    mood: "Uplifting Electronic Ambient",
    accent: "#ffcf5f",
    peak: 14.8,
    style: 69
  },
  {
    id: "morning-energy-joyful-morning-emotional",
    title: "Vreugdevolle ochtend (Emotioneel)",
    titleEn: "Joyful Morning (Emotional)",
    goal: "Ondersteunt zachte vreugde, speelse helderheid en warme activering zonder scherpe prikkels.",
    goalEn: "Supports gentle joy, playful clarity, and warm activation without sharp stimulation.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ffca7a",
    peak: 14.4,
    style: 70
  },
  {
    id: "morning-energy-happy-morning-emotional",
    title: "Blije ochtend (Emotioneel)",
    titleEn: "Happy Morning (Emotional)",
    goal: "Helpt een lichte, opgewekte stemming te ondersteunen met geleidelijke kleurverruiming en stabiel ritme.",
    goalEn: "Helps support a light, upbeat mood with gradual color expansion and steady rhythm.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#fff06f",
    peak: 15.0,
    style: 71
  },
  {
    id: "morning-energy-calm-and-energized-emotional",
    title: "Kalm en energiek (Emotioneel)",
    titleEn: "Calm & Energized (Emotional)",
    goal: "Combineert emotionele rust met bruikbare ochtendenergie via een zachte alpha-naar-SMR opbouw.",
    goalEn: "Combines emotional calm with usable morning energy through a gentle alpha-to-SMR build.",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#9ee6c8",
    peak: 13.4,
    style: 72
  },
  {
    id: "morning-energy-positive-energy-emotional",
    title: "Positieve energie (Emotioneel)",
    titleEn: "Positive Energy (Emotional)",
    goal: "Ondersteunt warme positieve energie, emotionele veerkracht en een heldere maar ontspannen dagstart.",
    goalEn: "Supports warm positive energy, emotional resilience, and a clear but relaxed start to the day.",
    carrier: 417,
    mood: "Ambient",
    accent: "#ffb84d",
    peak: 14.7,
    style: 73
  },
  {
    id: "morning-energy-smile-into-the-day-emotional",
    title: "Glimlach de dag in (Emotioneel)",
    titleEn: "Smile Into the Day (Emotional)",
    goal: "Helpt de ochtend vriendelijk en licht te beginnen met warme tinten, zachte puls en positieve oriëntatie.",
    goalEn: "Helps begin the morning kindly and lightly with warm tones, soft pulse, and positive orientation.",
    carrier: 639,
    mood: "Soft Soundscapes",
    accent: "#ffc2a1",
    peak: 13.2,
    style: 74
  },
  {
    id: "morning-energy-morning-happiness-emotional",
    title: "Ochtendgeluk (Emotioneel)",
    titleEn: "Morning Happiness (Emotional)",
    goal: "Ondersteunt een prettig gevoel van ochtendgeluk met rustige opbouw, warme kleuren en zachte ruimtelijkheid.",
    goalEn: "Supports a pleasant sense of morning happiness with calm build-up, warm colors, and gentle spaciousness.",
    carrier: 528,
    mood: "Cinematic Ambient",
    accent: "#ffd36e",
    peak: 13.9,
    style: 75
  },
  {
    id: "morning-energy-emotional-refresh-emotional",
    title: "Emotionele verfrissing (Emotioneel)",
    titleEn: "Emotional Refresh (Emotional)",
    goal: "Richt zich op emotionele vernieuwing, frisse aandacht en het loslaten van ochtendzwaarte.",
    goalEn: "Focuses on emotional renewal, fresh attention, and releasing morning heaviness.",
    carrier: 741,
    mood: "Ambient",
    accent: "#8ee6ff",
    peak: 14.1,
    style: 76
  },
  {
    id: "morning-energy-inner-joy-emotional",
    title: "Innerlijke vreugde (Emotioneel)",
    titleEn: "Inner Joy (Emotional)",
    goal: "Ondersteunt innerlijke vreugde, zachtheid en warme emotionele aanwezigheid met een kalme ritmische basis.",
    goalEn: "Supports inner joy, softness, and warm emotional presence with a calm rhythmic base.",
    carrier: 639,
    mood: "Theta Soundscape",
    accent: "#ff9fcf",
    peak: 12.9,
    style: 77
  },
  {
    id: "morning-energy-lighthearted-morning-emotional",
    title: "Luchtige ochtend (Emotioneel)",
    titleEn: "Lighthearted Morning (Emotional)",
    goal: "Helpt de ochtend lichter en ruimer te ervaren met subtiele aurora, zachte kleuren en milde activering.",
    goalEn: "Helps the morning feel lighter and more spacious with subtle aurora, soft colors, and mild activation.",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#f7df7a",
    peak: 13.7,
    style: 78
  },
  {
    id: "morning-energy-emotional-balance-emotional",
    title: "Emotionele balans (Emotioneel)",
    titleEn: "Emotional Balance (Emotional)",
    goal: "Ondersteunt emotionele stabiliteit, kalme alertheid en evenwicht tussen ontspanning en ochtendenergie.",
    goalEn: "Supports emotional stability, calm alertness, and balance between relaxation and morning energy.",
    carrier: 528,
    mood: "Drone",
    accent: "#b8e6c4",
    peak: 12.8,
    style: 79
  },
  {
    id: "morning-energy-confident-morning-emotional",
    title: "Zelfverzekerde ochtend (Emotioneel)",
    titleEn: "Confident Morning (Emotional)",
    goal: "Ondersteunt rustig zelfvertrouwen, emotionele stevigheid en een positieve houding richting de dag.",
    goalEn: "Supports calm confidence, emotional steadiness, and a positive attitude toward the day.",
    carrier: 741,
    mood: "Cinematic Ambient",
    accent: "#ffb05f",
    peak: 14.9,
    style: 80
  },
  {
    id: "morning-energy-morning-gratification-emotional",
    title: "Ochtendvoldoening (Emotioneel)",
    titleEn: "Morning Gratification (Emotional)",
    goal: "Helpt een gevoel van voldoening, waardering en zachte motivatie te ondersteunen aan het begin van de dag.",
    goalEn: "Helps support a sense of satisfaction, appreciation, and gentle motivation at the start of the day.",
    carrier: 639,
    mood: "Soft Soundscapes",
    accent: "#ffd1a8",
    peak: 13.1,
    style: 81
  },
  {
    id: "morning-energy-feel-alive-emotional",
    title: "Voel je levendig (Emotioneel)",
    titleEn: "Feel Alive (Emotional)",
    goal: "Een levendige maar veilige ochtendopbouw voor emotionele vitaliteit, helderheid en zin om te bewegen.",
    goalEn: "A lively but safe morning build for emotional vitality, clarity, and readiness to move.",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#ff7a59",
    peak: 15.2,
    style: 82
  },
  {
    id: "morning-energy-optimistic-outlook-emotional",
    title: "Optimistische blik (Emotioneel)",
    titleEn: "Optimistic Outlook (Emotional)",
    goal: "Ondersteunt een optimistische blik, mentale ruimte en warme emotionele helderheid voor de komende dag.",
    goalEn: "Supports an optimistic outlook, mental space, and warm emotional clarity for the day ahead.",
    carrier: 528,
    mood: "Ambient",
    accent: "#ffe680",
    peak: 14.0,
    style: 83
  },
  {
    id: "morning-energy-weekend-refresh-emotional",
    title: "Weekendverfrissing (Emotioneel)",
    titleEn: "Weekend Refresh (Emotional)",
    goal: "Een ontspannen emotionele reset voor vrije ochtenden, met zachte energie, ruimtelijkheid en positieve rust.",
    goalEn: "A relaxed emotional reset for free mornings, with gentle energy, spaciousness, and positive calm.",
    carrier: 528,
    mood: "Cinematic Ambient",
    accent: "#aee8ff",
    peak: 13.5,
    style: 84
  }
];

const MENTAL_ENERGY_TITLE_PAIRS = `
Brain Activation|Breinactivatie
Mental Energy Boost|Mentale energieboost
Brain Power|Breinkracht
Cognitive Energy|Cognitieve energie
Mental Recharge|Mentaal opladen
Mental Revitalization|Mentale revitalisatie
Mental Alertness|Mentale alertheid
Mental Clarity|Mentale helderheid
Crystal Clear Mind|Kristalheldere geest
Mind Refresh|Geestelijke verfrissing
Mind Awakening|Geestelijk ontwaken
Mental Sharpness|Mentale scherpte
Sharp Thinking|Scherp denken
Sharp Mind|Scherpe geest
Peak Cognition|Piekcognitie
Peak Mental Performance|Mentale topprestatie
Executive Focus|Executieve focus
Executive Brain|Executief brein
Think Faster|Sneller denken
Fast Thinking|Snel denken
Quick Thinking|Vlot denken
Rapid Cognition|Snelle cognitie
Clear Thinking|Helder denken
Logical Thinking|Logisch denken
Strategic Thinking|Strategisch denken
Deep Thinking|Diep denken
Analytical Mind|Analytische geest
Problem Solving|Probleemoplossing
Mental Precision|Mentale precisie
Decision Power|Besliskracht
Decision Clarity|Beslishelderheid
Cognitive Refresh|Cognitieve verfrissing
Cognitive Recovery|Cognitief herstel
Cognitive Stamina|Cognitief uithoudingsvermogen
Mental Endurance|Mentaal uithoudingsvermogen
Long Focus|Lange focus
Extended Concentration|Verlengde concentratie
Sustained Attention|Aanhoudende aandacht
Attention Booster|Aandachtsbooster
Attention Control|Aandachtscontrole
Attention Reset|Aandachtsreset
Laser Focus|Laserfocus
Tunnel Vision|Tunnelvisie
Mind in Flow|Geest in flow
Flow State|Flowstaat
Deep Flow|Diepe flow
Creative Flow|Creatieve flow
Creative Brain|Creatief brein
Creative Thinking|Creatief denken
Innovation Boost|Innovatieboost
Brainstorm Mode|Brainstormmodus
Idea Generator|Ideegenerator
Mental Flexibility|Mentale flexibiliteit
Flexible Thinking|Flexibel denken
Brain Synchronization|Breinsynchronisatie
Whole Brain Activation|Volledige breinactivatie
Neural Synchrony|Neurale synchronie
Neural Activation|Neurale activatie
Neural Efficiency|Neurale efficiëntie
Neural Performance|Neurale prestatie
Neural Optimization|Neurale optimalisatie
Brain Optimization|Breinoptimalisatie
Brain Vitality|Breinvitaliteit
Mind Expansion|Geestverruiming
Memory Activation|Geheugenactivatie
Memory Booster|Geheugenbooster
Memory Recall|Geheugenoproep
Memory Consolidation|Geheugenconsolidatie
Learning Accelerator|Leerversneller
Study Energy|Studie-energie
Exam Readiness|Examenparaatheid
Reading Focus|Leesfocus
Information Processing|Informatieverwerking
Processing Speed|Verwerkingssnelheid
Mental Momentum|Mentaal momentum
Mind Reset|Geestreset
Brain Reset|Breinreset
Mental Balance|Mentale balans
Calm Alertness|Kalme alertheid
Relaxed Awareness|Ontspannen bewustzijn
Awaken the Mind|Ontwaak de geest
Morning Mind|Ochtendgeest
Morning Brain Boost|Ochtendbreinboost
Afternoon Brain Recharge|Middagbrein opladen
Evening Mental Reset|Mentale avondreset
Mental Recovery|Mentaal herstel
Beat Brain Fog|Breinmist doorbreken
Brain Fog Relief|Verlichting bij breinmist
Clear the Mind|Maak de geest helder
Mental Freshness|Mentale frisheid
Mental Resilience|Mentale veerkracht
Stay Mentally Sharp|Blijf mentaal scherp
High Performance Mind|Hoogpresterende geest
Elite Mental Performance|Elite mentale prestatie
Brain Endurance|Breinuithoudingsvermogen
Focused Productivity|Gefocuste productiviteit
Productive Mind|Productieve geest
Intellectual Energy|Intellectuele energie
Peak Intellectual Performance|Intellectuele topprestatie
Genius Mode|Genialiteitsmodus
Super Learning|Superleren
Mind Acceleration|Geestversnelling
Cognitive Excellence|Cognitieve excellentie
Brain Fitness|Breinfitness
Mental Vitality|Mentale vitaliteit
Intense Mental Focus|Intense mentale focus
High Alert|Hoge alertheid
Hyper Focus|Hyperfocus
Mind Ignition|Mentale vonk
Brain Ignition|Breinvonk
Think Like a Champion|Denk als een kampioen
Master Your Mind|Beheers je geest
Mental Mastery|Mentaal meesterschap
Limitless Mind|Grenzeloze geest
Unlock Your Potential|Ontgrendel je potentieel
Peak Brain State|Piekbreinstaat
Cognitive Flow|Cognitieve flow
Optimal Thinking|Optimaal denken
Mind Performance|Geestelijke prestatie
Brain Performance|Breinprestatie
Mental Energy Reset|Mentale energiereset
Neuro Recharge|Neuro-herlading
Executive Cognition|Executieve cognitie
Focus Without Fatigue|Focus zonder vermoeidheid
Sustained Brain Power|Aanhoudende breinkracht
Mental Drive|Mentale drive
Mind Power|Geestkracht
Brain Fuel|Breinbrandstof
Intellectual Focus|Intellectuele focus
Clarity & Focus|Helderheid & focus
Peak Awareness|Piekbewustzijn
Mindful Alertness|Mindful alertheid
Optimal Attention|Optimale aandacht
Concentration Mastery|Concentratiemeesterschap
Brainwave Synchronization|Hersengolfsynchronisatie
Neural Focus|Neurale focus
Cognitive Activation|Cognitieve activatie
Mental Performance Boost|Mentale prestatieboost
Ultimate Brain Boost|Ultieme breinboost
Mind Recharge Pro|Mind Recharge Pro
Neural Peak Performance|Neurale topprestatie
`.trim().split("\n").map((line) => {
  const [titleEn, title] = line.split("|");
  return { titleEn, title };
});

function slugifyGeneratedSessionTitle(title) {
  return title
    .toLowerCase()
    .replace(/&/g, "and")
    .replace(/[^a-z0-9]+/g, "-")
    .replace(/^-+|-+$/g, "");
}

const MENTAL_ENERGY_SESSION_DEFINITIONS = MENTAL_ENERGY_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 741, 852, 417, 963, 639];
  const moods = ["Ambient", "Soft Soundscapes", "Uplifting Electronic Ambient", "Drone", "Cinematic Ambient", "Theta Soundscape"];
  const accents = ["#63c7ff", "#7ee081", "#ffd166", "#c792ff", "#ff8f5f", "#8de7d7", "#f6d860", "#9cc9ff"];
  return {
    id: `mental-energy-${slugifyGeneratedSessionTitle(item.titleEn)}-mental`,
    title: `${item.title} (Mentaal)`,
    titleEn: `${item.titleEn} (Mental)`,
    subject: item.title,
    subjectEn: item.titleEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 9,
    peak: [15.2, 16.4, 17.6, 18.8, 14.6, 13.8, 19.2, 16.9, 18.1][index % 9],
    style: 100 + index
  };
});

const PHYSICAL_ENERGY_TITLE_PAIRS = `
Morning Energy|Ochtendenergie|Physical|Fysiek
Wake Up Naturally|Natuurlijk ontwaken|Physical|Fysiek
Rise & Shine|Opstaan en stralen|Physical|Fysiek
Early Bird|Vroege vogel|Physical|Fysiek
Morning Vitality|Ochtendvitaliteit|Physical|Fysiek
Daily Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Natural Energy Boost|Natuurlijke energieboost|Physical|Fysiek
Physical Energy Boost|Fysieke energieboost|Physical|Fysiek
Body Activation|Lichaamsactivatie|Physical|Fysiek
Body Awakening|Lichaam ontwaken|Physical|Fysiek
Vital Body|Vitaal lichaam|Physical|Fysiek
Feel Alive|Voel je levendig|Physical|Fysiek
Revitalize Your Body|Revitaliseer je lichaam|Physical|Fysiek
Recharge Your Body|Laad je lichaam op|Physical|Fysiek
Total Body Recharge|Totale lichaamsherlading|Physical|Fysiek
Full Body Activation|Volledige lichaamsactivatie|Physical|Fysiek
Body & Mind Recharge|Lichaam & geest opladen|Physical|Fysiek
Physical Revitalization|Fysieke revitalisatie|Physical|Fysiek
Cellular Energy|Cellulaire energie|Physical|Fysiek
Cellular Recharge|Cellulaire herlading|Physical|Fysiek
Cellular Revitalization|Cellulaire revitalisatie|Physical|Fysiek
ATP Boost|ATP-boost|Physical|Fysiek
Mitochondrial Support|Mitochondriale ondersteuning|Physical|Fysiek
Biological Energy|Biologische energie|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Healthy Vitality|Gezonde vitaliteit|Physical|Fysiek
Endurance Builder|Uithoudingsopbouw|Physical|Fysiek
Physical Endurance|Fysiek uithoudingsvermogen|Physical|Fysiek
Stamina Boost|Staminaboost|Physical|Fysiek
Maximum Stamina|Maximale stamina|Physical|Fysiek
Long Lasting Energy|Langdurige energie|Physical|Fysiek
Peak Vitality|Piekvitaliteit|Physical|Fysiek
Peak Physical Performance|Fysieke topprestatie|Physical|Fysiek
Physical Power|Fysieke kracht|Physical|Fysiek
Power Up|Krachtopbouw|Physical|Fysiek
Maximum Energy|Maximale energie|Physical|Fysiek
Dynamic Energy|Dynamische energie|Physical|Fysiek
Inner Strength|Innerlijke kracht|Physical|Fysiek
Strength Activation|Krachtactivatie|Physical|Fysiek
Strength & Vitality|Kracht & vitaliteit|Physical|Fysiek
Explosive Energy|Explosieve energie|Physical|Fysiek
Explosive Power|Explosieve kracht|Physical|Fysiek
Power Performance|Krachtprestatie|Physical|Fysiek
Fitness Energy|Fitnessenergie|Physical|Fysiek
Fitness Activation|Fitnessactivatie|Physical|Fysiek
Workout Preparation|Workoutvoorbereiding|Physical|Fysiek
Pre Workout Boost|Pre-workout boost|Physical|Fysiek
Workout Energy|Workoutenergie|Physical|Fysiek
Cardio Energy|Cardio-energie|Physical|Fysiek
Running Energy|Hardloopenergie|Physical|Fysiek
Cycling Energy|Fietsenergie|Physical|Fysiek
Swimming Performance|Zwemprestatie|Physical|Fysiek
Sports Activation|Sportactivatie|Physical|Fysiek
Athletic Energy|Atletische energie|Physical|Fysiek
Athletic Performance|Atletische prestatie|Physical|Fysiek
Competition Ready|Wedstrijdklaar|Physical|Fysiek
Game Day Energy|Wedstrijddagenergie|Physical|Fysiek
Sports Recovery|Sportherstel|Physical|Fysiek
Recovery & Recharge|Herstel & opladen|Physical|Fysiek
Post Workout Recovery|Herstel na workout|Physical|Fysiek
Muscle Recovery Support|Spierherstel ondersteuning|Physical|Fysiek
Physical Recovery|Fysiek herstel|Physical|Fysiek
Fast Recovery|Snel herstel|Physical|Fysiek
Energy Restoration|Energieherstel|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Fatigue Recovery|Herstel bij vermoeidheid|Physical|Fysiek
Beat Fatigue|Vermoeidheid doorbreken|Physical|Fysiek
Overcome Tiredness|Moeheid overwinnen|Physical|Fysiek
Afternoon Recharge|Middagoplading|Physical|Fysiek
Midday Energy|Middagenergie|Physical|Fysiek
Second Wind|Tweede adem|Physical|Fysiek
Stay Energized|Blijf energiek|Physical|Fysiek
No Afternoon Slump|Geen middagdip|Physical|Fysiek
Weekend Energy|Weekendenergie|Physical|Fysiek
Travel Energy|Reisenergie|Physical|Fysiek
Jet Lag Recovery|Jetlagherstel|Physical|Fysiek
Circadian Reset|Circadiaanse reset|Physical|Fysiek
Night Shift Energy|Nachtdienstenergie|Physical|Fysiek
Long Drive Alertness|Alertheid voor lange ritten|Physical/Mental|Fysiek/Mentaal
Outdoor Vitality|Buitenvitaliteit|Physical|Fysiek
Nature Energy|Natuurenergie|Physical|Fysiek
Healthy Aging Energy|Energie voor gezond ouder worden|Physical|Fysiek
Senior Vitality|Seniorenvitaliteit|Physical|Fysiek
Active Aging|Actief ouder worden|Physical|Fysiek
Move With Energy|Beweeg met energie|Physical|Fysiek
Mobility Boost|Mobiliteitsboost|Physical|Fysiek
Flexibility Support|Flexibiliteitsondersteuning|Physical|Fysiek
Physical Balance|Fysieke balans|Physical|Fysiek
Healthy Body|Gezond lichaam|Physical|Fysiek
Body Refresh|Lichaamsverfrissing|Physical|Fysiek
Body Reset|Lichaamsreset|Physical|Fysiek
Complete Recharge|Volledig opladen|Physical|Fysiek
Whole Body Energy|Volledige lichaamsenergie|Physical|Fysiek
Unlimited Vitality|Grenzeloze vitaliteit|Physical|Fysiek
Ultimate Physical Energy|Ultieme fysieke energie|Physical|Fysiek
Elite Athlete Mode|Elite atleet modus|Physical/Mental|Fysiek/Mentaal
High Performance Body|Hoogpresterend lichaam|Physical|Fysiek
Peak Human Performance|Menselijke topprestatie|Physical/Mental|Fysiek/Mentaal
Physical Resilience|Fysieke veerkracht|Physical|Fysiek
Resilience Builder|Veerkrachtopbouw|Physical/Mental|Fysiek/Mentaal
Energy Without Caffeine|Energie zonder cafeine|Physical|Fysiek
Natural Wakefulness|Natuurlijke wakkerheid|Physical|Fysiek
Healthy Energy Balance|Gezonde energiebalans|Physical|Fysiek
Vital Lifestyle|Vitale levensstijl|Physical|Fysiek
Biohacker Energy|Biohacker energie|Physical|Fysiek
Human Performance Upgrade|Menselijke prestatie-upgrade|Physical/Mental|Fysiek/Mentaal
Performance Ignition|Prestatievonk|Physical|Fysiek
Power & Endurance|Kracht & uithouding|Physical|Fysiek
Maximum Output|Maximale output|Physical|Fysiek
Strong Body Strong Mind|Sterk lichaam sterke geest|Physical/Mental|Fysiek/Mentaal
Body Fuel|Lichaamsbrandstof|Physical|Fysiek
Fuel Your Day|Brandstof voor je dag|Physical|Fysiek
Endurance Elite|Elite uithouding|Physical|Fysiek
Physical Momentum|Fysiek momentum|Physical|Fysiek
Morning Momentum|Ochtendmomentum|Physical|Fysiek
Revive & Thrive|Herleef en floreer|Physical|Fysiek
Everyday Energy|Dagelijkse energie|Physical|Fysiek
Limitless Vitality|Onbegrensde vitaliteit|Physical|Fysiek
High Energy Lifestyle|High-energy levensstijl|Physical|Fysiek
Body Performance|Lichaamsprestatie|Physical|Fysiek
Body Optimization|Lichaamsoptimalisatie|Physical|Fysiek
Optimal Physical State|Optimale fysieke staat|Physical|Fysiek
Vital Performance|Vitale prestatie|Physical|Fysiek
Natural Performance Boost|Natuurlijke prestatieboost|Physical|Fysiek
Recharge in 20 Minutes|Opladen in 20 minuten|Physical|Fysiek
Instant Physical Energy|Directe fysieke energie|Physical|Fysiek
Fast Energy Reset|Snelle energiereset|Physical|Fysiek
Energy on Demand|Energie op afroep|Physical|Fysiek
Ready for Action|Klaar voor actie|Physical/Mental|Fysiek/Mentaal
Move with Power|Beweeg met kracht|Physical|Fysiek
Physical Peak State|Fysieke piekstaat|Physical|Fysiek
Ultimate Stamina|Ultieme stamina|Physical|Fysiek
Strength & Recovery|Kracht & herstel|Physical|Fysiek
Healthy Performance|Gezonde prestatie|Physical|Fysiek
All-Day Energy|Energie voor de hele dag|Physical|Fysiek
Daily Performance|Dagelijkse prestatie|Physical|Fysiek
Body in Motion|Lichaam in beweging|Physical|Fysiek
Never Stop Moving|Blijf in beweging|Physical|Fysiek
Vital Force|Vitale kracht|Physical|Fysiek
Life Energy|Levensenergie|Physical/Spiritual|Fysiek/Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const PHYSICAL_ENERGY_SESSION_DEFINITIONS = PHYSICAL_ENERGY_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 741, 417, 639, 852, 963];
  const moods = ["Uplifting Electronic Ambient", "Ambient", "Soft Soundscapes", "Cinematic Ambient", "Drone", "Theta Soundscape"];
  const accents = ["#ffb347", "#8bd34f", "#40c9ff", "#ff8759", "#ffd166", "#72d47a", "#a4ff5f", "#f7df7a"];
  return {
    id: `physical-energy-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 10,
    peak: [14.8, 16.2, 17.8, 18.6, 13.6, 12.8, 15.4, 19.2, 16.8, 11.8][index % 10],
    style: 300 + index
  };
});

const EMOTIONAL_ENERGY_TITLE_PAIRS = `
Positive Energy|Positieve energie|Emotional|Emotioneel
Emotional Energy Boost|Emotionele energieboost|Emotional|Emotioneel
Emotional Recharge|Emotioneel opladen|Emotional|Emotioneel
Emotional Reset|Emotionele reset|Emotional|Emotioneel
Emotional Renewal|Emotionele vernieuwing|Emotional|Emotioneel
Emotional Vitality|Emotionele vitaliteit|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Emotional Strength|Emotionele kracht|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Harmony|Emotionele harmonie|Emotional|Emotioneel
Inner Happiness|Innerlijk geluk|Emotional|Emotioneel
Feel Good|Voel je goed|Emotional|Emotioneel
Joy Activation|Vreugdeactivatie|Emotional|Emotioneel
Joyful Living|Vreugdevol leven|Emotional|Emotioneel
Joy & Vitality|Vreugde & vitaliteit|Emotional|Emotioneel
Happiness Booster|Geluksbooster|Emotional|Emotioneel
Positive Mood|Positieve stemming|Emotional|Emotioneel
Smile More|Meer glimlachen|Emotional|Emotioneel
Heart Opening|Hartopening|Emotional/Spiritual|Emotioneel/Spiritueel
Heart Coherence|Hartcoherentie|Emotional|Emotioneel
Heart-Centered Energy|Hartgerichte energie|Emotional/Spiritual|Emotioneel/Spiritueel
Love & Compassion|Liefde & compassie|Emotional/Spiritual|Emotioneel/Spiritueel
Self-Love|Zelfliefde|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Emotional/Spiritual|Emotioneel/Spiritueel
Peace Within|Vrede vanbinnen|Emotional/Spiritual|Emotioneel/Spiritueel
Calm Emotions|Kalme emoties|Emotional|Emotioneel
Emotional Calm|Emotionele rust|Emotional|Emotioneel
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Gentle Serenity|Zachte sereniteit|Emotional|Emotioneel
Comfort & Calm|Comfort & rust|Emotional|Emotioneel
Emotional Relief|Emotionele verlichting|Emotional|Emotioneel
Stress Relief|Stressverlichting|Emotional|Emotioneel
Release Emotional Stress|Emotionele stress loslaten|Emotional|Emotioneel
Emotional Detox|Emotionele detox|Emotional|Emotioneel
Emotional Cleansing|Emotionele reiniging|Emotional/Spiritual|Emotioneel/Spiritueel
Let Go|Loslaten|Emotional|Emotioneel
Release Negativity|Negativiteit loslaten|Emotional|Emotioneel
Release Emotional Baggage|Emotionele ballast loslaten|Emotional|Emotioneel
Forgiveness|Vergeving|Emotional/Spiritual|Emotioneel/Spiritueel
Acceptance|Acceptatie|Emotional|Emotioneel
Healing the Heart|Het hart helen|Emotional|Emotioneel
Emotional Healing|Emotionele heling|Emotional|Emotioneel
Heart Healing|Hartheling|Emotional|Emotioneel
Grief Support|Ondersteuning bij rouw|Emotional|Emotioneel
Loss Recovery|Herstel na verlies|Emotional|Emotioneel
Hope & Healing|Hoop & heling|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Bounce Back|Terugveren|Emotional|Emotioneel
Resilient Heart|Veerkrachtig hart|Emotional|Emotioneel
Optimism Boost|Optimismeboost|Emotional|Emotioneel
Positive Outlook|Positieve blik|Emotional|Emotioneel
See the Bright Side|Zie de zonnige kant|Emotional|Emotioneel
Emotional Confidence|Emotioneel vertrouwen|Emotional|Emotioneel
Self-Worth|Eigenwaarde|Emotional|Emotioneel
Self-Esteem Boost|Zelfwaardering boost|Emotional|Emotioneel
Believe in Yourself|Geloof in jezelf|Emotional|Emotioneel
Inner Confidence|Innerlijk vertrouwen|Emotional/Mental|Emotioneel/Mentaal
Emotional Courage|Emotionele moed|Emotional|Emotioneel
Fearless Heart|Onbevreesd hart|Emotional|Emotioneel
Inner Security|Innerlijke veiligheid|Emotional|Emotioneel
Safe & Secure|Veilig & geborgen|Emotional|Emotioneel
Emotional Stability|Emotionele stabiliteit|Emotional|Emotioneel
Mood Balance|Stemmingsbalans|Emotional|Emotioneel
Mood Lift|Stemmingslift|Emotional|Emotioneel
Bright Mood|Heldere stemming|Emotional|Emotioneel
Sunny Mind|Zonnige geest|Emotional|Emotioneel
Emotional Wellness|Emotioneel welzijn|Emotional|Emotioneel
Emotional Well-Being|Emotioneel welbevinden|Emotional|Emotioneel
Emotional Freedom|Emotionele vrijheid|Emotional|Emotioneel
Freedom from Worry|Vrij van zorgen|Emotional|Emotioneel
Lightness of Being|Lichtheid van zijn|Emotional/Spiritual|Emotioneel/Spiritueel
Inner Smile|Innerlijke glimlach|Emotional|Emotioneel
Compassion|Compassie|Emotional/Spiritual|Emotioneel/Spiritueel
Kindness|Vriendelijkheid|Emotional|Emotioneel
Gratitude|Dankbaarheid|Emotional/Spiritual|Emotioneel/Spiritueel
Gratitude & Joy|Dankbaarheid & vreugde|Emotional/Spiritual|Emotioneel/Spiritueel
Appreciation|Waardering|Emotional|Emotioneel
Abundance Mindset|Overvloed mindset|Emotional/Mental|Emotioneel/Mentaal
Positive Connections|Positieve verbindingen|Emotional|Emotioneel
Relationship Harmony|Relatieharmonie|Emotional|Emotioneel
Connection & Belonging|Verbinding & erbij horen|Emotional|Emotioneel
Social Confidence|Sociaal vertrouwen|Emotional/Mental|Emotioneel/Mentaal
Emotional Warmth|Emotionele warmte|Emotional|Emotioneel
Inner Sunshine|Innerlijke zonneschijn|Emotional|Emotioneel
Radiate Positivity|Straal positiviteit uit|Emotional|Emotioneel
Positive Aura|Positieve aura|Spiritual|Spiritueel
High Vibration|Hoge vibratie|Spiritual|Spiritueel
Raise Your Vibration|Verhoog je vibratie|Spiritual|Spiritueel
Loving Presence|Liefdevolle aanwezigheid|Spiritual|Spiritueel
Open Your Heart|Open je hart|Spiritual/Emotional|Spiritueel/Emotioneel
Emotional Flow|Emotionele flow|Emotional|Emotioneel
Flow with Life|Meebewegen met het leven|Emotional/Spiritual|Emotioneel/Spiritueel
Renew Your Spirit|Vernieuw je spirit|Spiritual|Spiritueel
Soul Refresh|Zielsverfrissing|Spiritual|Spiritueel
Heart & Soul|Hart & ziel|Spiritual|Spiritueel
Peaceful Presence|Vredige aanwezigheid|Spiritual|Spiritueel
Balanced Emotions|Gebalanceerde emoties|Emotional|Emotioneel
Emotional Alignment|Emotionele afstemming|Emotional/Spiritual|Emotioneel/Spiritueel
Authentic Self|Authentieke zelf|Emotional|Emotioneel
Inner Authenticity|Innerlijke authenticiteit|Emotional|Emotioneel
Embrace Yourself|Omarm jezelf|Emotional|Emotioneel
Embrace Life|Omarm het leven|Emotional|Emotioneel
Choose Joy|Kies vreugde|Emotional|Emotioneel
Choose Happiness|Kies geluk|Emotional|Emotioneel
Love Yourself First|Heb eerst jezelf lief|Emotional|Emotioneel
Nurture Your Heart|Voed je hart|Emotional|Emotioneel
Gentle Heart|Zacht hart|Emotional|Emotioneel
Compassionate Mind|Compassievolle geest|Emotional/Mental|Emotioneel/Mentaal
Radiant Heart|Stralend hart|Spiritual/Emotional|Spiritueel/Emotioneel
Kind Heart|Vriendelijk hart|Emotional|Emotioneel
Emotional Energy Reset|Emotionele energiereset|Emotional|Emotioneel
Emotional Renewal Pro|Emotionele vernieuwing pro|Emotional|Emotioneel
Restore Emotional Balance|Herstel emotionele balans|Emotional|Emotioneel
Everyday Joy|Dagelijkse vreugde|Emotional|Emotioneel
Calm & Content|Kalm & tevreden|Emotional|Emotioneel
Hope & Optimism|Hoop & optimisme|Emotional|Emotioneel
Feel Emotionally Strong|Voel je emotioneel sterk|Emotional|Emotioneel
Live with Passion|Leef met passie|Emotional|Emotioneel
Emotional Empowerment|Emotionele bekrachtiging|Emotional|Emotioneel
Inspire Your Heart|Inspireer je hart|Emotional/Spiritual|Emotioneel/Spiritueel
Positive Emotional Flow|Positieve emotionele flow|Emotional|Emotioneel
Emotional Harmony Pro|Emotionele harmonie pro|Emotional|Emotioneel
Happy Heart|Gelukkig hart|Emotional|Emotioneel
Heartful Living|Hartvol leven|Emotional/Spiritual|Emotioneel/Spiritueel
Inner Bliss|Innerlijke zaligheid|Spiritual|Spiritueel
Emotional Peak State|Emotionele piekstaat|Emotional|Emotioneel
Love, Light & Joy|Liefde, licht & vreugde|Spiritual|Spiritueel
Shine from Within|Straal van binnenuit|Spiritual/Emotional|Spiritueel/Emotioneel
Emotional Flourishing|Emotioneel floreren|Emotional|Emotioneel
Live with Gratitude|Leef met dankbaarheid|Spiritual/Emotional|Spiritueel/Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const EMOTIONAL_ENERGY_SESSION_DEFINITIONS = EMOTIONAL_ENERGY_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 417, 741, 852, 963, 432];
  const moods = ["Soft Soundscapes", "Ambient", "Theta Soundscape", "Cinematic Ambient", "Uplifting Electronic Ambient", "Drone"];
  const accents = ["#ffb7c8", "#ffd166", "#a8e6cf", "#8ed8ff", "#c792ff", "#ff9f68", "#f7df7a", "#b8e6c4"];
  return {
    id: `emotional-energy-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 10,
    peak: [12.8, 13.8, 11.4, 10.6, 9.8, 12.2, 14.2, 8.8, 13.2, 11.8][index % 10],
    style: 500 + index
  };
});

const RECOVERY_RECHARGE_TITLE_PAIRS = `
Recovery & Recharge|Herstel & opladen|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Total Recovery|Totaal herstel|Physical|Fysiek
Complete Recharge|Volledig opladen|Physical|Fysiek
Full System Reset|Volledige systeemreset|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Revitalize Body & Mind|Revitaliseer lichaam & geest|Physical/Mental|Fysiek/Mentaal
Recharge Naturally|Natuurlijk opladen|Physical|Fysiek
Energy Restoration|Energieherstel|Physical|Fysiek
Vitality Recovery|Vitaliteitsherstel|Physical|Fysiek
Whole Body Recovery|Herstel voor het hele lichaam|Physical|Fysiek
Whole Body Recharge|Opladen voor het hele lichaam|Physical|Fysiek
Physical Recovery|Fysiek herstel|Physical|Fysiek
Physical Restoration|Fysieke restauratie|Physical|Fysiek
Physical Rejuvenation|Fysieke verjonging|Physical|Fysiek
Body Repair|Lichaamsondersteunend herstel|Physical|Fysiek
Recovery After Exercise|Herstel na inspanning|Physical|Fysiek
Post Workout Recovery|Herstel na training|Physical|Fysiek
Muscle Recovery|Spierherstel|Physical|Fysiek
Muscle Relaxation|Spierontspanning|Physical|Fysiek
Fast Recovery|Snel herstel|Physical|Fysiek
Rapid Recharge|Snel opladen|Physical|Fysiek
Recovery Boost|Herstelboost|Physical|Fysiek
Cellular Recovery|Cellulaire herstelondersteuning|Physical|Fysiek
Cellular Recharge|Cellulair opladen|Physical|Fysiek
Cellular Regeneration Support|Ondersteuning voor cellulaire regeneratie|Physical|Fysiek
Mitochondrial Recharge|Mitochondriaal opladen|Physical|Fysiek
ATP Recovery|ATP-herstelondersteuning|Physical|Fysiek
Immune Support Recovery|Herstel met immuunondersteuning|Physical|Fysiek
Natural Healing Support|Natuurlijke herstelondersteuning|Physical|Fysiek
Healing Recharge|Helend opladen|Physical|Fysiek
Rest & Restore|Rust & herstel|Physical|Fysiek
Recharge Your Batteries|Laad je batterij op|Physical|Fysiek
Body Reset|Lichaamsreset|Physical|Fysiek
Healthy Recovery|Gezond herstel|Physical|Fysiek
Recover From Fatigue|Herstel van vermoeidheid|Physical|Fysiek
Beat Exhaustion|Uitputting verminderen|Physical|Fysiek
Fatigue Recovery|Vermoeidheidsherstel|Physical|Fysiek
Chronic Fatigue Support|Ondersteuning bij chronische vermoeidheid|Physical|Fysiek
Burnout Recovery Support|Ondersteuning bij burn-outherstel|Physical/Emotional|Fysiek/Emotioneel
Stress Recovery|Stressherstel|Emotional|Emotioneel
Recover After Stress|Herstel na stress|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Recharge|Emotioneel opladen|Emotional|Emotioneel
Emotional Reset|Emotionele reset|Emotional|Emotioneel
Restore Emotional Balance|Herstel emotionele balans|Emotional|Emotioneel
Inner Calm Recovery|Herstel van innerlijke rust|Emotional|Emotioneel
Peace & Recovery|Vrede & herstel|Emotional/Spiritual|Emotioneel/Spiritueel
Mental Recovery|Mentaal herstel|Mental|Mentaal
Mental Recharge|Mentaal opladen|Mental|Mentaal
Mental Reset|Mentale reset|Mental|Mentaal
Brain Recovery|Breinherstel|Mental|Mentaal
Brain Recharge|Brein opladen|Mental|Mentaal
Cognitive Recovery|Cognitief herstel|Mental|Mentaal
Recover Mental Clarity|Herstel mentale helderheid|Mental|Mentaal
Clear Your Mind|Maak je geest helder|Mental|Mentaal
Mental Refresh|Mentale verfrissing|Mental|Mentaal
Mental Renewal|Mentale vernieuwing|Mental|Mentaal
Focus Recovery|Focusherstel|Mental|Mentaal
Decision Fatigue Recovery|Herstel van beslissingsmoeheid|Mental|Mentaal
Executive Recovery|Executief herstel|Mental|Mentaal
Creative Recovery|Creatief herstel|Mental|Mentaal
Deep Relaxation Recovery|Herstel door diepe ontspanning|Emotional|Emotioneel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Nap|Hersteldutje|Physical|Fysiek
Power Nap Recovery|Powernap-herstel|Physical|Fysiek
Afternoon Recharge|Middag opladen|Physical/Mental|Fysiek/Mentaal
Midday Recovery|Middagherstel|Physical|Fysiek
Weekend Recovery|Weekendherstel|Physical|Fysiek
Sunday Reset|Zondagreset|Emotional|Emotioneel
Evening Recharge|Avond opladen|Emotional|Emotioneel
End of Day Recovery|Einde-dag herstel|Emotional|Emotioneel
Sleep Preparation|Slaapvoorbereiding|Physical|Fysiek
Deep Sleep Preparation|Diepe slaapvoorbereiding|Physical|Fysiek
Sleep Recovery|Slaapherstel|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Recover While You Sleep|Herstel terwijl je slaapt|Physical|Fysiek
Circadian Reset|Circadiane reset|Physical|Fysiek
Jet Lag Recovery|Jetlagherstel|Physical|Fysiek
Travel Recovery|Reisherstel|Physical|Fysiek
Long Flight Recovery|Herstel na lange vlucht|Physical|Fysiek
Shift Work Recovery|Herstel na ploegendienst|Physical|Fysiek
Nature Recovery|Herstel in natuurbeleving|Emotional|Emotioneel
Forest Recharge|Bosoplading|Emotional|Emotioneel
Ocean Recovery|Oceaanherstel|Emotional|Emotioneel
Mountain Calm|Bergkalmte|Emotional|Emotioneel
Gentle Renewal|Zachte vernieuwing|Emotional|Emotioneel
Inner Restoration|Innerlijke restauratie|Spiritual|Spiritueel
Soul Recharge|Zielsoplading|Spiritual|Spiritueel
Spiritual Renewal|Spirituele vernieuwing|Spiritual|Spiritueel
Reconnect With Yourself|Verbind opnieuw met jezelf|Spiritual|Spiritueel
Return to Balance|Terug naar balans|Spiritual|Spiritueel
Inner Balance|Innerlijke balans|Spiritual|Spiritueel
Mind-Body Balance|Lichaam-geest balans|Physical/Mental|Fysiek/Mentaal
Energy Balance|Energiebalans|Physical|Fysiek
Homeostasis Reset|Homeostase-reset|Physical|Fysiek
Nervous System Recovery|Herstel van het zenuwstelsel|Physical|Fysiek
Parasympathetic Reset|Parasympathische reset|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical/Emotional|Fysiek/Emotioneel
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Deep Restoration|Diepe restauratie|Physical|Fysiek
Ultimate Recovery|Ultiem herstel|Physical|Fysiek
Elite Recovery|Elite herstel|Physical|Fysiek
Performance Recovery|Prestatieherstel|Physical|Fysiek
Athletic Recovery|Atletisch herstel|Physical|Fysiek
Recovery for Champions|Herstel voor kampioenen|Physical|Fysiek
Recovery After Competition|Herstel na competitie|Physical|Fysiek
Restore Peak Performance|Herstel topprestatie|Physical/Mental|Fysiek/Mentaal
Overtraining Recovery|Herstel bij overtraining|Physical|Fysiek
Healthy Aging Recovery|Gezond ouder worden herstel|Physical|Fysiek
Senior Recovery|Seniorenherstel|Physical|Fysiek
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Daily Reset|Dagelijkse reset|Physical/Mental|Fysiek/Mentaal
Morning Recovery|Ochtendherstel|Physical|Fysiek
Fresh Start|Frisse start|Mental|Mentaal
Recharge in 20 Minutes|Opladen in 20 minuten|Physical|Fysiek
Instant Recharge|Direct opladen|Physical|Fysiek
Energy Reset|Energiereset|Physical|Fysiek
Refresh & Renew|Verfris & vernieuw|Emotional|Emotioneel
Renew Body & Mind|Vernieuw lichaam & geest|Physical/Mental|Fysiek/Mentaal
Healing Journey|Herstelreis|Spiritual|Spiritueel
Recovery Flow|Herstelflow|Physical|Fysiek
Gentle Healing|Zacht herstel|Emotional|Emotioneel
Recharge Your Mind|Laad je geest op|Mental|Mentaal
Recharge Your Heart|Laad je hart op|Emotional|Emotioneel
Recharge Your Spirit|Laad je spirit op|Spiritual|Spiritueel
Whole Person Recovery|Herstel van de hele persoon|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Inner Renewal|Innerlijke vernieuwing|Spiritual|Spiritueel
Vital Recovery|Vitaal herstel|Physical|Fysiek
Recovery Essentials|Essentieel herstel|Physical|Fysiek
Optimal Recovery|Optimaal herstel|Physical|Fysiek
Life Balance Reset|Levensbalans reset|Spiritual|Spiritueel
Recovery & Resilience|Herstel & veerkracht|Emotional|Emotioneel
Recover Your Strength|Herstel je kracht|Physical|Fysiek
Rebuild Your Energy|Bouw je energie opnieuw op|Physical|Fysiek
Back to Balance|Terug naar balans|Physical/Mental|Fysiek/Mentaal
Reset & Recharge|Reset & laad op|Physical/Mental|Fysiek/Mentaal
Recover, Recharge & Renew|Herstel, laad op & vernieuw|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_RECHARGE_SESSION_DEFINITIONS = RECOVERY_RECHARGE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 432, 639, 417, 741, 852, 963];
  const moods = ["Soft Soundscapes", "Ambient", "Theta Soundscape", "Drone", "Cinematic Ambient", "Meditation Bowls", "Binaural Deep Meditation"];
  const accents = ["#8fd6c8", "#93c5fd", "#c4b5fd", "#a7f3d0", "#fde68a", "#fbcfe8", "#bae6fd", "#ddd6fe"];
  return {
    id: `recovery-recharge-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [9.2, 8.4, 7.6, 6.8, 10.2, 11.8, 5.8, 4.6, 8.8, 7.2, 9.8, 6.2][index % 12],
    style: 700 + index
  };
});

const SPORTS_ENERGY_TITLE_PAIRS = `
Pre-Workout Boost|Pre-workout boost|Physical|Fysiek
Workout Energy|Trainingsenergie|Physical|Fysiek
Athletic Energy|Atletische energie|Physical|Fysiek
Athletic Performance|Atletische prestatie|Physical|Fysiek
Peak Performance|Piekprestatie|Physical/Mental|Fysiek/Mentaal
Peak Physical Performance|Fysieke piekprestatie|Physical|Fysiek
Elite Athlete Mode|Elite atleet modus|Physical/Mental|Fysiek/Mentaal
Competition Ready|Klaar voor competitie|Mental|Mentaal
Game Day Focus|Wedstrijddag focus|Mental|Mentaal
Game Day Energy|Wedstrijddag energie|Physical|Fysiek
Sports Focus|Sportfocus|Mental|Mentaal
Champion Mindset|Kampioensmindset|Mental|Mentaal
Winning Mindset|Winnende mindset|Mental|Mentaal
Victory Mindset|Overwinningsmindset|Mental|Mentaal
Competitive Edge|Competitief voordeel|Mental|Mentaal
High Performance Athlete|High performance atleet|Physical/Mental|Fysiek/Mentaal
Power Training|Krachttraining|Physical|Fysiek
Strength Activation|Krachtactivatie|Physical|Fysiek
Maximum Strength|Maximale kracht|Physical|Fysiek
Explosive Power|Explosieve kracht|Physical|Fysiek
Explosive Energy|Explosieve energie|Physical|Fysiek
Power & Precision|Kracht & precisie|Physical/Mental|Fysiek/Mentaal
Power Endurance|Krachtuithouding|Physical|Fysiek
Maximum Output|Maximale output|Physical|Fysiek
Speed & Power|Snelheid & kracht|Physical|Fysiek
Sprint Performance|Sprintprestatie|Physical|Fysiek
Acceleration Boost|Acceleratieboost|Physical|Fysiek
Fast Reaction Time|Snelle reactietijd|Mental|Mentaal
Quick Reflexes|Snelle reflexen|Mental|Mentaal
Reaction Speed|Reactiesnelheid|Mental|Mentaal
Agility Enhancement|Verbeterde wendbaarheid|Physical|Fysiek
Coordination Boost|Coordinatieboost|Physical/Mental|Fysiek/Mentaal
Balance & Stability|Balans & stabiliteit|Physical|Fysiek
Motor Control|Motorische controle|Physical/Mental|Fysiek/Mentaal
Precision Movement|Precieze beweging|Physical/Mental|Fysiek/Mentaal
Body Awareness|Lichaamsbewustzijn|Physical|Fysiek
Movement Flow|Bewegingsflow|Physical|Fysiek
Athletic Flow|Atletische flow|Physical/Mental|Fysiek/Mentaal
Flow State|Flowstaat|Mental|Mentaal
Deep Flow Performance|Diepe flowprestatie|Mental|Mentaal
Runner's Flow|Hardlopersflow|Mental|Mentaal
Endurance Builder|Uithoudingsopbouw|Physical|Fysiek
Endurance Performance|Uithoudingsprestatie|Physical|Fysiek
Marathon Mindset|Marathonmindset|Mental|Mentaal
Long Distance Focus|Langeafstandsfocus|Mental|Mentaal
Cycling Endurance|Fiets-uithouding|Physical|Fysiek
Running Energy|Hardloopenergie|Physical|Fysiek
Runner's Focus|Hardloopfocus|Mental|Mentaal
Swim Performance|Zwemprestatie|Physical|Fysiek
Swimming Rhythm|Zwemritme|Physical/Mental|Fysiek/Mentaal
Rowing Focus|Roeifocus|Mental|Mentaal
Trail Running Focus|Trailrunning focus|Mental|Mentaal
Cardio Energy|Cardio-energie|Physical|Fysiek
HIIT Performance|HIIT-prestatie|Physical|Fysiek
CrossFit Focus|CrossFit-focus|Physical/Mental|Fysiek/Mentaal
Weightlifting Focus|Gewichthef-focus|Mental|Mentaal
Strength & Recovery|Kracht & herstel|Physical|Fysiek
Recovery for Athletes|Herstel voor atleten|Physical|Fysiek
Post Workout Recovery|Herstel na training|Physical|Fysiek
Muscle Recovery|Spierherstel|Physical|Fysiek
Rapid Recovery|Snel herstel|Physical|Fysiek
Recovery Between Sets|Herstel tussen sets|Physical|Fysiek
Recover Like a Champion|Herstel als een kampioen|Physical|Fysiek
Sports Recovery Pro|Sportherstel pro|Physical|Fysiek
Muscle Relaxation|Spierontspanning|Physical|Fysiek
Active Recovery|Actief herstel|Physical|Fysiek
Joint Mobility|Gewrichtsmobiliteit|Physical|Fysiek
Flexibility Enhancement|Verbeterde flexibiliteit|Physical|Fysiek
Mobility & Movement|Mobiliteit & beweging|Physical|Fysiek
Warm-Up Activation|Warming-up activatie|Physical|Fysiek
Cool Down Recovery|Cooling-down herstel|Physical|Fysiek
Breathing for Performance|Ademhaling voor prestatie|Physical/Mental|Fysiek/Mentaal
Oxygen Optimization|Zuurstofoptimalisatie|Physical|Fysiek
Stamina Boost|Staminaboost|Physical|Fysiek
Maximum Stamina|Maximaal stamina|Physical|Fysiek
Never Give Up|Geef nooit op|Mental|Mentaal
Mental Toughness|Mentale weerbaarheid|Mental|Mentaal
Resilience Under Pressure|Veerkracht onder druk|Mental|Mentaal
Confidence Before Competition|Vertrouwen voor competitie|Mental|Mentaal
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Laser Focus|Laserfocus|Mental|Mentaal
Competition Calm|Competitiekalmte|Mental|Mentaal
Pre-Race Focus|Pre-race focus|Mental|Mentaal
Pre-Match Focus|Pre-match focus|Mental|Mentaal
Pre-Competition Focus|Pre-competitie focus|Mental|Mentaal
Visualization for Success|Visualisatie voor succes|Mental|Mentaal
Winning Visualization|Winnende visualisatie|Mental|Mentaal
Success Programming|Succesprogrammering|Mental|Mentaal
Goal Achievement|Doelbereiking|Mental|Mentaal
Train Hard Recover Smart|Train hard, herstel slim|Physical|Fysiek
Power & Endurance|Kracht & uithouding|Physical|Fysiek
High Intensity Energy|Hoge intensiteit energie|Physical|Fysiek
Athletic Vitality|Atletische vitaliteit|Physical|Fysiek
Performance Ignition|Prestatie-ontsteking|Physical|Fysiek
Energy on Demand|Energie op commando|Physical|Fysiek
Body Fuel|Lichaamsbrandstof|Physical|Fysiek
Peak Conditioning|Piekconditie|Physical|Fysiek
Sports Motivation|Sportmotivatie|Mental|Mentaal
Motivation to Train|Motivatie om te trainen|Mental|Mentaal
Morning Workout|Ochtendtraining|Physical|Fysiek
Evening Training|Avondtraining|Physical|Fysiek
Fitness Motivation|Fitnessmotivatie|Mental|Mentaal
Gym Focus|Gymfocus|Mental|Mentaal
Strength Mindset|Krachtmindset|Mental|Mentaal
Performance Confidence|Prestatievertrouwen|Mental|Mentaal
Body-Mind Synchronization|Lichaam-geest synchronisatie|Physical/Mental|Fysiek/Mentaal
Mind-Muscle Connection|Mind-muscle connectie|Physical/Mental|Fysiek/Mentaal
Athletic Synchronization|Atletische synchronisatie|Physical/Mental|Fysiek/Mentaal
Performance Rhythm|Prestatieritme|Physical/Mental|Fysiek/Mentaal
Optimal Performance State|Optimale prestatiestaat|Physical/Mental|Fysiek/Mentaal
Elite Recovery|Elite herstel|Physical|Fysiek
Peak Recovery|Piekherstel|Physical|Fysiek
Ready to Perform|Klaar om te presteren|Physical/Mental|Fysiek/Mentaal
Train Like a Champion|Train als een kampioen|Mental|Mentaal
Play Like a Champion|Speel als een kampioen|Mental|Mentaal
Finish Strong|Sterk finishen|Physical/Mental|Fysiek/Mentaal
Second Wind|Tweede adem|Physical|Fysiek
Maximum Endurance|Maximale uithouding|Physical|Fysiek
Endurance Elite|Uithouding elite|Physical|Fysiek
Physical Resilience|Fysieke veerkracht|Physical|Fysiek
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Sports Confidence|Sportvertrouwen|Mental|Mentaal
Game Face|Wedstrijdgezicht|Mental|Mentaal
Peak Match Readiness|Piek wedstrijdgereedheid|Mental|Mentaal
Athletic Awareness|Atletisch bewustzijn|Mental|Mentaal
High Performance Mode|High performance modus|Physical/Mental|Fysiek/Mentaal
Sport-Specific Focus|Sportspecifieke focus|Mental|Mentaal
Explosive Start|Explosieve start|Physical|Fysiek
Final Sprint|Eindsprint|Physical/Mental|Fysiek/Mentaal
Finish Line Focus|Finishlijn focus|Mental|Mentaal
Peak Race Performance|Piek raceprestatie|Physical/Mental|Fysiek/Mentaal
Athlete's Edge|Voordeel voor atleten|Mental|Mentaal
Beyond Your Limits|Voorbij je grenzen|Mental|Mentaal
Unlock Athletic Potential|Ontgrendel atletisch potentieel|Mental|Mentaal
Train Smarter|Train slimmer|Mental|Mentaal
Perform Better|Presteer beter|Physical/Mental|Fysiek/Mentaal
Everyday Athlete|Dagelijkse atleet|Physical|Fysiek
Professional Athlete Mode|Professionele atleet modus|Physical/Mental|Fysiek/Mentaal
Total Sports Performance|Totale sportprestatie|Physical/Mental|Fysiek/Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const SPORTS_ENERGY_SESSION_DEFINITIONS = SPORTS_ENERGY_TITLE_PAIRS.map((item, index) => {
  const carriers = [741, 528, 852, 417, 639, 432, 963];
  const moods = ["Uplifting Electronic Ambient", "Cinematic Ambient", "Ambient", "Soft Soundscapes", "Drone", "Theta Soundscape"];
  const accents = ["#ff2d2d", "#22c55e", "#38bdf8", "#facc15", "#f97316", "#a855f7", "#14b8a6", "#e11d48"];
  return {
    id: `sports-energy-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [14.2, 15.8, 16.8, 13.6, 12.4, 18.0, 10.8, 9.8, 11.6, 8.6, 17.2, 14.8][index % 12],
    style: 900 + index
  };
});

const MOTIVATION_TITLE_PAIRS = `
Take Action|Kom in actie|Mental|Mentaal
Action Mode|Actiemodus|Mental|Mentaal
Get Motivated|Word gemotiveerd|Mental|Mentaal
Motivation Boost|Motivatieboost|Mental|Mentaal
Daily Motivation|Dagelijkse motivatie|Mental|Mentaal
Morning Motivation|Ochtendmotivatie|Mental|Mentaal
Monday Motivation|Maandagmotivatie|Mental|Mentaal
Rise with Purpose|Sta op met doelgerichtheid|Mental|Mentaal
Start Strong|Start sterk|Mental|Mentaal
Success Drive|Succesdrive|Mental|Mentaal
Drive to Succeed|Drive om te slagen|Mental|Mentaal
Achievement Mindset|Prestatiemindset|Mental|Mentaal
Goal Getter|Doelgerichte aanpakker|Mental|Mentaal
Goal Achievement|Doelen bereiken|Mental|Mentaal
Goal Focus|Doelfocus|Mental|Mentaal
Goal Accelerator|Doelversneller|Mental|Mentaal
Mission Accomplished|Missie volbracht|Mental|Mentaal
Finish What You Start|Maak af wat je begint|Mental|Mentaal
Finish Strong|Sterk afronden|Mental|Mentaal
Never Give Up|Geef nooit op|Mental|Mentaal
Keep Going|Blijf doorgaan|Mental|Mentaal
Stay Committed|Blijf toegewijd|Mental|Mentaal
Stay Consistent|Blijf consistent|Mental|Mentaal
Build Discipline|Bouw discipline op|Mental|Mentaal
Self-Discipline|Zelfdiscipline|Mental|Mentaal
Discipline Equals Freedom|Discipline geeft vrijheid|Mental|Mentaal
Daily Discipline|Dagelijkse discipline|Mental|Mentaal
Habit Builder|Gewoontebouwer|Mental|Mentaal
Success Habits|Succesgewoonten|Mental|Mentaal
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Productive Habits|Productieve gewoonten|Mental|Mentaal
Consistency Wins|Consistentie wint|Mental|Mentaal
Momentum Builder|Momentumbouwer|Mental|Mentaal
Build Momentum|Bouw momentum op|Mental|Mentaal
Positive Momentum|Positief momentum|Emotional|Emotioneel
Forward Momentum|Voorwaarts momentum|Mental|Mentaal
Move Forward|Ga vooruit|Mental|Mentaal
Take the First Step|Zet de eerste stap|Mental|Mentaal
One Step at a Time|Een stap tegelijk|Mental|Mentaal
Unlock Your Potential|Ontgrendel je potentieel|Mental|Mentaal
Reach Your Potential|Bereik je potentieel|Mental|Mentaal
Maximum Potential|Maximaal potentieel|Mental|Mentaal
Limitless Potential|Grenzeloos potentieel|Mental|Mentaal
Peak Motivation|Piekomotivatie|Mental|Mentaal
High Performance Mindset|High performance mindset|Mental|Mentaal
Elite Mindset|Elite mindset|Mental|Mentaal
Champion Mindset|Kampioensmindset|Mental|Mentaal
Winning Mindset|Winnende mindset|Mental|Mentaal
Success Mindset|Succesmindset|Mental|Mentaal
Abundance Mindset|Overvloedsmindset|Mental|Mentaal
Growth Mindset|Groeimindset|Mental|Mentaal
Entrepreneur Mindset|Ondernemersmindset|Mental|Mentaal
Leadership Mindset|Leiderschapsmindset|Mental|Mentaal
Executive Mindset|Executieve mindset|Mental|Mentaal
Create Your Future|Creer je toekomst|Mental|Mentaal
Future Success|Toekomstig succes|Mental|Mentaal
Vision & Purpose|Visie & doelgerichtheid|Spiritual/Mental|Spiritueel/Mentaal
Find Your Why|Vind je waarom|Spiritual|Spiritueel
Purpose Driven Life|Doelgericht leven|Spiritual|Spiritueel
Live with Purpose|Leef met doelgerichtheid|Spiritual|Spiritueel
Meaningful Success|Betekenisvol succes|Spiritual|Spiritueel
Personal Excellence|Persoonlijke excellentie|Mental|Mentaal
Excellence Every Day|Elke dag excellentie|Mental|Mentaal
Become Your Best Self|Word je beste zelf|Mental|Mentaal
Best Version of You|Beste versie van jezelf|Mental|Mentaal
Self-Mastery|Zelfmeesterschap|Mental|Mentaal
Mental Toughness|Mentale weerbaarheid|Mental|Mentaal
Inner Strength|Innerlijke kracht|Mental|Mentaal
Inner Drive|Innerlijke drive|Mental|Mentaal
Inner Fire|Innerlijk vuur|Emotional|Emotioneel
Ignite Your Passion|Ontsteek je passie|Emotional|Emotioneel
Passion & Purpose|Passie & doelgerichtheid|Spiritual/Emotional|Spiritueel/Emotioneel
Ambition Activation|Ambitieactivatie|Mental|Mentaal
Determination|Vastberadenheid|Mental|Mentaal
Persistence|Volharding|Mental|Mentaal
Resilience Builder|Veerkrachtbouwer|Mental|Mentaal
Bounce Back Stronger|Kom sterker terug|Mental|Mentaal
Overcome Obstacles|Overwin obstakels|Mental|Mentaal
Break Through Barriers|Doorbreek barrieres|Mental|Mentaal
No More Excuses|Geen excuses meer|Mental|Mentaal
Beat Procrastination|Versla uitstelgedrag|Mental|Mentaal
Beat Laziness|Doorbreek loomheid|Mental|Mentaal
Action Over Perfection|Actie boven perfectie|Mental|Mentaal
Done Is Better Than Perfect|Klaar is beter dan perfect|Mental|Mentaal
Stop Overthinking|Stop met overdenken|Mental|Mentaal
Decisive Action|Besluitvaardige actie|Mental|Mentaal
Confidence to Act|Vertrouwen om te handelen|Mental|Mentaal
Fearless Action|Onbevreesde actie|Mental|Mentaal
Bold Decisions|Moedige beslissingen|Mental|Mentaal
Take Control|Neem controle|Mental|Mentaal
Own Your Life|Neem eigenaarschap over je leven|Mental|Mentaal
Create Positive Change|Creer positieve verandering|Mental|Mentaal
Transform Your Life|Transformeer je leven|Spiritual/Mental|Spiritueel/Mentaal
Personal Transformation|Persoonlijke transformatie|Spiritual|Spiritueel
Rise Above|Stijg erbovenuit|Mental|Mentaal
Rise Again|Sta opnieuw op|Mental|Mentaal
Stay Inspired|Blijf geinspireerd|Emotional|Emotioneel
Daily Inspiration|Dagelijkse inspiratie|Emotional|Emotioneel
Inspired Living|Geinspireerd leven|Spiritual|Spiritueel
Inspired Action|Geinspireerde actie|Mental|Mentaal
Positive Action|Positieve actie|Mental|Mentaal
Success Accelerator|Succesversneller|Mental|Mentaal
Dream Big|Droom groots|Emotional|Emotioneel
Dream to Reality|Van droom naar werkelijkheid|Mental|Mentaal
Law of Attraction Mindset|Wet van de aantrekkingskracht mindset|Mental|Mentaal
Law of Attraction Focus|Wet van de aantrekkingskracht focus|Mental|Mentaal
Attraction Alignment|Aantrekkingskracht afstemming|Mental|Mentaal
Positive Expectation|Positieve verwachting|Mental|Mentaal
Abundance Attraction|Overvloed aantrekken|Mental|Mentaal
Manifestation Mindset|Manifestatie mindset|Mental|Mentaal
Goal Attraction Visualization|Doelaantrekking visualisatie|Mental|Mentaal
Aligned Action|Afgestemde actie|Mental|Mentaal
Manifest Success|Manifesteer succes|Spiritual|Spiritueel
Manifest Your Goals|Manifesteer je doelen|Spiritual|Spiritueel
Believe in Yourself|Geloof in jezelf|Emotional|Emotioneel
Self-Belief|Zelfvertrouwen|Emotional|Emotioneel
Confidence Builder|Vertrouwenbouwer|Emotional|Emotioneel
Courage to Change|Moed om te veranderen|Emotional|Emotioneel
Embrace Challenges|Omarm uitdagingen|Mental|Mentaal
Rise to the Challenge|Ga de uitdaging aan|Mental|Mentaal
Limitless Motivation|Grenzeloze motivatie|Mental|Mentaal
High Energy Motivation|Hoge energie motivatie|Mental|Mentaal
Daily Success Ritual|Dagelijks succesritueel|Mental|Mentaal
Morning Success Routine|Ochtendroutine voor succes|Mental|Mentaal
Productivity Boost|Productiviteitsboost|Mental|Mentaal
Focus on Success|Focus op succes|Mental|Mentaal
Stay on Track|Blijf op koers|Mental|Mentaal
Win the Day|Win de dag|Mental|Mentaal
One More Step|Nog een stap|Mental|Mentaal
Success Starts Now|Succes begint nu|Mental|Mentaal
Go All In|Ga er volledig voor|Mental|Mentaal
Nothing Can Stop You|Niets kan je stoppen|Mental|Mentaal
Become Unstoppable|Word onstuitbaar|Mental|Mentaal
Unstoppable Mindset|Onstuitbare mindset|Mental|Mentaal
Maximum Commitment|Maximale toewijding|Mental|Mentaal
Personal Victory|Persoonlijke overwinning|Emotional|Emotioneel
Victory Begins Within|Overwinning begint vanbinnen|Emotional|Emotioneel
Master Your Goals|Beheers je doelen|Mental|Mentaal
Your Time Is Now|Jouw moment is nu|Emotional|Emotioneel
Believe. Act. Achieve.|Geloof. Handel. Bereik.|Mental|Mentaal
The Power to Change|De kracht om te veranderen|Mental|Mentaal
Live Without Limits|Leef zonder grenzen|Spiritual/Mental|Spiritueel/Mentaal
Choose Growth|Kies groei|Mental|Mentaal
Create Momentum|Creer momentum|Mental|Mentaal
Rise and Achieve|Sta op en bereik|Mental|Mentaal
Fuel Your Ambition|Voed je ambitie|Mental|Mentaal
Achieve More|Bereik meer|Mental|Mentaal
Focus, Act, Succeed|Focus, handel, slaag|Mental|Mentaal
Daily Progress|Dagelijkse vooruitgang|Mental|Mentaal
Progress Over Perfection|Vooruitgang boven perfectie|Mental|Mentaal
Small Steps, Big Results|Kleine stappen, grote resultaten|Mental|Mentaal
Become Extraordinary|Word buitengewoon|Mental|Mentaal
Greatness Within|Grootsheid vanbinnen|Spiritual/Mental|Spiritueel/Mentaal
Success Through Consistency|Succes door consistentie|Mental|Mentaal
The Next Level|Het volgende niveau|Mental|Mentaal
Level Up|Naar een hoger niveau|Mental|Mentaal
Personal Breakthrough|Persoonlijke doorbraak|Mental|Mentaal
Breakthrough Success|Doorbraaksucces|Mental|Mentaal
Beyond Your Limits|Voorbij je grenzen|Mental|Mentaal
Stronger Every Day|Elke dag sterker|Mental|Mentaal
Success Momentum|Succesmomentum|Mental|Mentaal
Achieve Your Dreams|Bereik je dromen|Emotional/Mental|Emotioneel/Mentaal
Build Your Legacy|Bouw je nalatenschap|Spiritual|Spiritueel
Legacy Mindset|Legacy mindset|Spiritual/Mental|Spiritueel/Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const MOTIVATION_SESSION_DEFINITIONS = MOTIVATION_TITLE_PAIRS.map((item, index) => {
  const carriers = [417, 528, 741, 852, 639, 432, 963];
  const moods = ["Uplifting Electronic Ambient", "Cinematic Ambient", "Ambient", "Soft Soundscapes", "Theta Soundscape", "Drone"];
  const accents = ["#f97316", "#facc15", "#22c55e", "#38bdf8", "#a855f7", "#ec4899", "#ef4444", "#14b8a6"];
  return {
    id: `motivation-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [13.4, 14.6, 15.2, 12.8, 11.2, 10.4, 9.6, 16.0, 13.8, 12.2, 14.8, 10.8][index % 12],
    style: 1100 + index
  };
});

const HEALTHY_AGING_TITLE_PAIRS = `
Healthy Aging|Gezond ouder worden|Physical|Fysiek
Healthy Aging Support|Ondersteuning voor gezond ouder worden|Physical|Fysiek
Age Well|Goed ouder worden|Physical|Fysiek
Age Gracefully|Ouder worden met gratie|Physical/Emotional|Fysiek/Emotioneel
Active Aging|Actief ouder worden|Physical|Fysiek
Successful Aging|Succesvol ouder worden|Physical/Mental|Fysiek/Mentaal
Optimal Aging|Optimaal ouder worden|Physical|Fysiek
Longevity Support|Longevity ondersteuning|Physical|Fysiek
Longevity Lifestyle|Longevity leefstijl|Physical|Fysiek
Healthy Longevity|Gezonde longevity|Physical|Fysiek
Vital Aging|Vitaal ouder worden|Physical|Fysiek
Aging with Vitality|Ouder worden met vitaliteit|Physical|Fysiek
Forever Young Mindset|Forever young mindset|Mental|Mentaal
Youthful Energy|Jeugdige energie|Physical|Fysiek
Youthful Vitality|Jeugdige vitaliteit|Physical|Fysiek
Stay Young at Heart|Jong van hart blijven|Emotional|Emotioneel
Senior Vitality|Seniorenvitaliteit|Physical|Fysiek
Senior Wellness|Seniorenwelzijn|Physical|Fysiek
Golden Years Wellness|Welzijn in de gouden jaren|Emotional|Emotioneel
Golden Years Vitality|Vitaliteit in de gouden jaren|Physical|Fysiek
Healthy Retirement|Gezond pensioen|Emotional|Emotioneel
Life After Retirement|Leven na pensioen|Emotional|Emotioneel
Active Retirement|Actief pensioen|Physical|Fysiek
Everyday Vitality 60+|Dagelijkse vitaliteit 60+|Physical|Fysiek
Independent Living|Zelfstandig leven|Physical|Fysiek
Independent & Strong|Zelfstandig & sterk|Physical|Fysiek
Move with Ease|Beweeg met gemak|Physical|Fysiek
Maintain Mobility|Behoud mobiliteit|Physical|Fysiek
Joint Mobility|Gewrichtsmobiliteit|Physical|Fysiek
Flexibility for Life|Flexibiliteit voor het leven|Physical|Fysiek
Balance & Stability|Balans & stabiliteit|Physical|Fysiek
Fall Prevention Support|Ondersteuning voor valpreventie|Physical|Fysiek
Physical Resilience|Fysieke veerkracht|Physical|Fysiek
Stay Strong|Blijf sterk|Physical|Fysiek
Healthy Bones & Muscles|Gezonde botten & spieren|Physical|Fysiek
Muscle Maintenance|Spierbehoud|Physical|Fysiek
Healthy Movement|Gezonde beweging|Physical|Fysiek
Daily Mobility|Dagelijkse mobiliteit|Physical|Fysiek
Energy for Life|Energie voor het leven|Physical|Fysiek
Daily Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Recharge Naturally|Natuurlijk opladen|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Healthy Energy|Gezonde energie|Physical|Fysiek
Beat Fatigue|Vermoeidheid verminderen|Physical|Fysiek
Recovery & Recharge|Herstel & opladen|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Healthy Sleep Support|Ondersteuning voor gezonde slaap|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Deep Sleep Preparation|Voorbereiding op diepe slaap|Physical|Fysiek
Circadian Balance|Circadiane balans|Physical|Fysiek
Calm Nervous System|Kalm zenuwstelsel|Physical|Fysiek
Parasympathetic Reset|Parasympathische reset|Physical|Fysiek
Healthy Heart Rhythm|Gezond hartritme|Physical|Fysiek
Heart Coherence|Hartcoherentie|Emotional|Emotioneel
Relaxed Breathing|Ontspannen ademhaling|Physical|Fysiek
Healthy Brain|Gezond brein|Mental|Mentaal
Brain Vitality|Breinvitaliteit|Mental|Mentaal
Brain Fitness|Breinfitness|Mental|Mentaal
Cognitive Vitality|Cognitieve vitaliteit|Mental|Mentaal
Mental Sharpness|Mentale scherpte|Mental|Mentaal
Stay Mentally Sharp|Blijf mentaal scherp|Mental|Mentaal
Memory Support|Geheugenondersteuning|Mental|Mentaal
Memory Maintenance|Geheugenbehoud|Mental|Mentaal
Memory Recall|Geheugenherinnering|Mental|Mentaal
Cognitive Clarity|Cognitieve helderheid|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Clear Thinking|Helder denken|Mental|Mentaal
Healthy Focus|Gezonde focus|Mental|Mentaal
Brain Activation|Breinactivatie|Mental|Mentaal
Neural Vitality|Neurale vitaliteit|Mental|Mentaal
Neuroplasticity Support|Neuroplasticiteitsondersteuning|Mental|Mentaal
Brainwave Synchronization|Hersengolfsynchronisatie|Mental|Mentaal
Healthy Mind|Gezonde geest|Mental|Mentaal
Mind & Memory|Geest & geheugen|Mental|Mentaal
Cognitive Wellness|Cognitief welzijn|Mental|Mentaal
Learning Never Stops|Leren stopt nooit|Mental|Mentaal
Curious Mind|Nieuwsgierige geest|Mental|Mentaal
Emotional Well-Being|Emotioneel welzijn|Emotional|Emotioneel
Positive Aging|Positief ouder worden|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Peaceful Living|Vredig leven|Spiritual|Spiritueel
Joyful Living|Vreugdevol leven|Emotional|Emotioneel
Gratitude for Life|Dankbaarheid voor het leven|Spiritual|Spiritueel
Life Satisfaction|Levenstevredenheid|Emotional|Emotioneel
Purpose in Life|Purpose in het leven|Spiritual|Spiritueel
Meaningful Living|Betekenisvol leven|Spiritual|Spiritueel
Healthy Relationships|Gezonde relaties|Emotional|Emotioneel
Social Connection|Sociale verbinding|Emotional|Emotioneel
Compassion & Kindness|Compassie & vriendelijkheid|Emotional|Emotioneel
Positive Outlook|Positieve kijk|Emotional|Emotioneel
Optimism Boost|Optimismeboost|Emotional|Emotioneel
Stress-Free Living|Stressvrij leven|Emotional|Emotioneel
Calm & Content|Kalm & tevreden|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Confidence at Any Age|Zelfvertrouwen op elke leeftijd|Emotional|Emotioneel
Resilient Aging|Veerkrachtig ouder worden|Emotional|Emotioneel
Embrace Change|Omarm verandering|Emotional|Emotioneel
Adapt with Ease|Pas je met gemak aan|Emotional|Emotioneel
Healthy Lifestyle|Gezonde leefstijl|Physical|Fysiek
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Wellness Routine|Wellnessroutine|Physical|Fysiek
Daily Wellness|Dagelijks welzijn|Physical|Fysiek
Body & Mind Balance|Lichaam & geest balans|Physical/Mental|Fysiek/Mentaal
Mind-Body Harmony|Lichaam-geest harmonie|Spiritual|Spiritueel
Whole Person Wellness|Welzijn van de hele persoon|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Whole Person Vitality|Vitaliteit van de hele persoon|Physical/Mental|Fysiek/Mentaal
Natural Healing Support|Natuurlijke herstelondersteuning|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Cellular Renewal Support|Ondersteuning voor cellulaire vernieuwing|Physical|Fysiek
Mitochondrial Vitality|Mitochondriale vitaliteit|Physical|Fysiek
Energy for Healthy Aging|Energie voor gezond ouder worden|Physical|Fysiek
Live Life Fully|Leef voluit|Emotional|Emotioneel
Enjoy Every Day|Geniet van elke dag|Emotional|Emotioneel
Thrive at Any Age|Floreer op elke leeftijd|Emotional|Emotioneel
Healthy Future|Gezonde toekomst|Mental|Mentaal
Invest in Your Future|Investeer in je toekomst|Mental|Mentaal
A Lifetime of Wellness|Een leven lang welzijn|Spiritual|Spiritueel
Healthy Years Ahead|Gezonde jaren vooruit|Physical|Fysiek
Healthy Life Journey|Gezonde levensreis|Spiritual|Spiritueel
Living with Purpose|Leven met purpose|Spiritual|Spiritueel
Vital Years|Vitale jaren|Physical|Fysiek
Quality of Life|Kwaliteit van leven|Emotional|Emotioneel
Age with Confidence|Ouder worden met vertrouwen|Emotional|Emotioneel
Live Younger Longer|Langer jong leven|Physical|Fysiek
Aging Successfully|Succesvol ouder worden|Physical/Mental|Fysiek/Mentaal
Lifelong Vitality|Levenslange vitaliteit|Physical|Fysiek
Evergreen Mind|Evergreen geest|Mental|Mentaal
Bright Mind|Heldere geest|Mental|Mentaal
Ageless Spirit|Tijdloze spirit|Spiritual|Spiritueel
Mindful Aging|Mindful ouder worden|Spiritual|Spiritueel
Graceful Living|Leven met gratie|Spiritual|Spiritueel
Vital Body, Clear Mind|Vitaal lichaam, heldere geest|Physical/Mental|Fysiek/Mentaal
Healthy Body, Healthy Brain|Gezond lichaam, gezond brein|Physical/Mental|Fysiek/Mentaal
Lifetime Performance|Levenslange prestatiekracht|Physical/Mental|Fysiek/Mentaal
Living Well Every Day|Elke dag goed leven|Emotional|Emotioneel
Age with Energy|Ouder worden met energie|Physical|Fysiek
Healthy Life Balance|Gezonde levensbalans|Spiritual|Spiritueel
Strong Body, Strong Mind|Sterk lichaam, sterke geest|Physical/Mental|Fysiek/Mentaal
The Longevity Mindset|De longevity mindset|Mental|Mentaal
Well Aging|Goed ouder worden|Physical|Fysiek
Aging Optimally|Optimaal ouder worden|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const HEALTHY_AGING_SESSION_DEFINITIONS = HEALTHY_AGING_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 432, 639, 741, 852, 417, 963];
  const moods = ["Soft Soundscapes", "Ambient", "Theta Soundscape", "Cinematic Ambient", "Meditation Bowls", "Drone", "Binaural Deep Meditation"];
  const accents = ["#8fd6c8", "#a7f3d0", "#93c5fd", "#f7df7a", "#fbcfe8", "#c4b5fd", "#86efac", "#bae6fd"];
  return {
    id: `healthy-aging-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.2, 9.4, 8.6, 11.4, 12.2, 7.8, 6.8, 9.8, 10.8, 8.2, 11.8, 7.2][index % 12],
    style: 1300 + index
  };
});

const TRAVEL_JET_LAG_TITLE_PAIRS = `
Travel Refresh|Reisverfrissing|Physical|Fysiek
Travel Energy|Reisenergie|Physical|Fysiek
Travel Recovery|Reisherstel|Physical|Fysiek
Travel Recharge|Reisoplading|Physical|Fysiek
Travel Relaxation|Reisontspanning|Emotional|Emotioneel
Travel Calm|Reiskalmte|Emotional|Emotioneel
Comfortable Journey|Comfortabele reis|Emotional|Emotioneel
Smooth Journey|Soepele reis|Emotional|Emotioneel
Stress-Free Travel|Stressvrij reizen|Emotional|Emotioneel
Relaxed Traveler|Ontspannen reiziger|Emotional|Emotioneel
Ready to Travel|Klaar om te reizen|Mental|Mentaal
Travel Preparation|Reisvoorbereiding|Mental|Mentaal
Business Travel Focus|Zakelijke reisfocus|Mental|Mentaal
Business Traveler|Zakelijke reiziger|Mental|Mentaal
Travel Well|Goed reizen|Physical|Fysiek
Healthy Travel|Gezond reizen|Physical|Fysiek
Jet Lag Recovery|Jetlagherstel|Physical|Fysiek
Beat Jet Lag|Jetlag verminderen|Physical|Fysiek
Jet Lag Reset|Jetlag reset|Physical|Fysiek
Time Zone Reset|Tijdzone reset|Physical|Fysiek
Circadian Reset|Circadiane reset|Physical|Fysiek
Circadian Rhythm Reset|Circadiane ritmereset|Physical|Fysiek
Body Clock Reset|Biologische klok reset|Physical|Fysiek
Internal Clock Reset|Interne klok reset|Physical|Fysiek
Adapt to a New Time Zone|Aanpassen aan een nieuwe tijdzone|Physical|Fysiek
Fast Time Zone Adaptation|Snelle tijdzone-aanpassing|Physical|Fysiek
Morning Abroad|Ochtend in het buitenland|Physical|Fysiek
Wake Up Abroad|Ontwaken in het buitenland|Physical|Fysiek
Evening Wind Down Abroad|Avondontspanning in het buitenland|Physical|Fysiek
Sleep Anywhere|Overal slapen|Physical|Fysiek
Restful Travel Sleep|Rustgevende reisslaap|Physical|Fysiek
Travel Sleep Support|Ondersteuning voor reisslaap|Physical|Fysiek
Sleep After Flying|Slapen na het vliegen|Physical|Fysiek
Recover After Flying|Herstel na het vliegen|Physical|Fysiek
Long Flight Recovery|Herstel na lange vlucht|Physical|Fysiek
Post Flight Recovery|Herstel na de vlucht|Physical|Fysiek
Frequent Flyer Recovery|Herstel voor frequente vliegers|Physical|Fysiek
Cabin Fatigue Recovery|Herstel van cabinevermoeidheid|Physical|Fysiek
Travel Fatigue Recovery|Herstel van reisvermoeidheid|Physical|Fysiek
Recover from Travel|Herstellen van reizen|Physical|Fysiek
Arrival Recovery|Aankomstherstel|Physical|Fysiek
Destination Ready|Klaar voor bestemming|Physical|Fysiek
Vacation Ready|Vakantieklaar|Emotional|Emotioneel
Holiday Relaxation|Vakantieontspanning|Emotional|Emotioneel
Road Trip Energy|Roadtrip energie|Physical|Fysiek
Road Trip Alertness|Roadtrip alertheid|Mental|Mentaal
Safe Driving Focus|Veilige rij-focus|Mental|Mentaal
Long Drive Alertness|Alertheid voor lange ritten|Mental|Mentaal
Driver Focus|Bestuurdersfocus|Mental|Mentaal
Pilot Focus|Pilotenfocus|Mental|Mentaal
Cabin Crew Recovery|Herstel voor cabinepersoneel|Physical|Fysiek
Shift Worker Reset|Reset voor ploegendienst|Physical|Fysiek
Night Shift Recovery|Herstel na nachtdienst|Physical|Fysiek
Overnight Flight Recovery|Herstel na nachtvlucht|Physical|Fysiek
Red-Eye Flight Recovery|Herstel na red-eye vlucht|Physical|Fysiek
Crossing Time Zones|Tijdzones doorkruisen|Physical|Fysiek
Eastbound Flight Reset|Oostwaartse vlucht reset|Physical|Fysiek
Westbound Flight Reset|Westwaartse vlucht reset|Physical|Fysiek
Healthy Circadian Rhythm|Gezond circadiaan ritme|Physical|Fysiek
Wake Up Refreshed Abroad|Verfrist ontwaken in het buitenland|Physical|Fysiek
Morning Energy After Travel|Ochtendenergie na reizen|Physical|Fysiek
Travel Brain Boost|Reis breinboost|Mental|Mentaal
Mental Clarity After Travel|Mentale helderheid na reizen|Mental|Mentaal
Clear Mind While Traveling|Heldere geest tijdens reizen|Mental|Mentaal
Travel Focus|Reisfocus|Mental|Mentaal
Stay Sharp While Traveling|Blijf scherp tijdens reizen|Mental|Mentaal
Conference Ready|Klaar voor conferentie|Mental|Mentaal
Meeting Ready|Klaar voor vergadering|Mental|Mentaal
Business Performance Abroad|Zakelijke prestaties in het buitenland|Mental|Mentaal
Travel Confidence|Reisvertrouwen|Emotional|Emotioneel
Calm Before Flying|Kalm voor het vliegen|Emotional|Emotioneel
Fear-Free Flying|Vliegen zonder angst|Emotional|Emotioneel
Relax During Your Flight|Ontspan tijdens je vlucht|Emotional|Emotioneel
Peaceful Flight|Vredige vlucht|Emotional|Emotioneel
Comfort in the Air|Comfort in de lucht|Emotional|Emotioneel
Travel Mindfulness|Reismindfulness|Spiritual|Spiritueel
Travel Meditation|Reismeditatie|Spiritual|Spiritueel
Inner Calm While Traveling|Innerlijke rust tijdens reizen|Spiritual|Spiritueel
Ground Yourself Anywhere|Grond jezelf overal|Spiritual|Spiritueel
Stay Centered While Traveling|Blijf gecentreerd tijdens reizen|Spiritual|Spiritueel
Reconnect After Travel|Opnieuw verbinden na reizen|Spiritual|Spiritueel
Recharge Anywhere|Overal opladen|Physical|Fysiek
Recharge Between Flights|Opladen tussen vluchten|Physical|Fysiek
Airport Relaxation|Luchthavenontspanning|Emotional|Emotioneel
Airport Recharge|Luchthavenoplading|Physical|Fysiek
Hotel Relaxation|Hotelontspanning|Emotional|Emotioneel
Hotel Sleep Support|Ondersteuning voor hotelslaap|Physical|Fysiek
Vacation Energy|Vakantie-energie|Physical|Fysiek
Adventure Ready|Klaar voor avontuur|Physical|Fysiek
Explore with Energy|Verkennen met energie|Physical|Fysiek
Travel Vitality|Reisvitaliteit|Physical|Fysiek
Travel Endurance|Reisuithouding|Physical|Fysiek
Weekend Getaway Reset|Weekendtrip reset|Emotional|Emotioneel
Digital Nomad Focus|Digital nomad focus|Mental|Mentaal
Remote Worker Reset|Reset voor remote workers|Mental|Mentaal
Global Traveler|Wereldreiziger|Mental|Mentaal
Around the World Recovery|Wereldreis herstel|Physical|Fysiek
Travel Wellness|Reiswelzijn|Physical|Fysiek
Travel Balance|Reisbalans|Emotional|Emotioneel
Travel Resilience|Reisveerkracht|Mental|Mentaal
Always Ready to Travel|Altijd klaar om te reizen|Mental|Mentaal
Energy Between Destinations|Energie tussen bestemmingen|Physical|Fysiek
World Explorer|Wereldverkenner|Emotional|Emotioneel
Refresh Before Arrival|Verfris voor aankomst|Physical|Fysiek
Ready for Adventure|Klaar voor avontuur|Emotional|Emotioneel
Travel Without Fatigue|Reizen zonder vermoeidheid|Physical|Fysiek
Travel Performance|Reisprestatie|Mental|Mentaal
Global Performance|Wereldwijde prestatie|Mental|Mentaal
Jet Setter Recovery|Jetsetter herstel|Physical|Fysiek
First Class Relaxation|First class ontspanning|Emotional|Emotioneel
Frequent Flyer Wellness|Welzijn voor frequente vliegers|Physical|Fysiek
International Business Focus|Internationale zakelijke focus|Mental|Mentaal
Long Haul Recovery|Long-haul herstel|Physical|Fysiek
Travel Reset Pro|Reisreset pro|Physical|Fysiek
Arrive Refreshed|Verfrist aankomen|Physical|Fysiek
Travel Like a Pro|Reis als een pro|Mental|Mentaal
Rest, Recover & Explore|Rust, herstel & verken|Physical|Fysiek
Vacation Recovery|Vakantieherstel|Physical|Fysiek
Holiday Recharge|Vakantieoplading|Emotional|Emotioneel
Weekend Escape|Weekendontsnapping|Emotional|Emotioneel
Ready for the Journey|Klaar voor de reis|Emotional|Emotioneel
Home Again Reset|Weer-thuis reset|Physical|Fysiek
Back Home Recovery|Herstel na thuiskomst|Physical|Fysiek
Return to Your Rhythm|Terug naar je ritme|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const TRAVEL_JET_LAG_SESSION_DEFINITIONS = TRAVEL_JET_LAG_TITLE_PAIRS.map((item, index) => {
  const carriers = [432, 528, 417, 741, 639, 852, 963];
  const moods = ["Soft Soundscapes", "Ambient", "Theta Soundscape", "Cinematic Ambient", "Drone", "Binaural Deep Meditation", "Meditation Bowls"];
  const accents = ["#60a5fa", "#38bdf8", "#22c55e", "#facc15", "#f9a8d4", "#c4b5fd", "#fb923c", "#14b8a6"];
  return {
    id: `travel-jet-lag-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.4, 11.8, 8.4, 7.2, 12.8, 9.2, 6.4, 13.6, 8.8, 10.8, 7.8, 11.2][index % 12],
    style: 1500 + index
  };
});

const SPIRITUAL_ENERGY_TITLE_PAIRS = `
Inner Light|Innerlijk licht|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Inner Stillness|Innerlijke stilte|Spiritual|Spiritueel
Inner Wisdom|Innerlijke wijsheid|Spiritual|Spiritueel
Inner Knowing|Innerlijk weten|Spiritual|Spiritueel
Inner Presence|Innerlijke aanwezigheid|Spiritual|Spiritueel
Inner Silence|Innerlijke stilte|Spiritual|Spiritueel
Inner Sanctuary|Innerlijk heiligdom|Spiritual|Spiritueel
Inner Harmony|Innerlijke harmonie|Spiritual|Spiritueel
Inner Balance|Innerlijke balans|Spiritual|Spiritueel
Inner Alignment|Innerlijke afstemming|Spiritual|Spiritueel
Inner Expansion|Innerlijke expansie|Spiritual|Spiritueel
Inner Awakening|Innerlijk ontwaken|Spiritual|Spiritueel
Inner Journey|Innerlijke reis|Spiritual|Spiritueel
Higher Consciousness|Hoger bewustzijn|Spiritual|Spiritueel
Expand Consciousness|Verruim bewustzijn|Spiritual|Spiritueel
Expanded Awareness|Verruimd gewaarzijn|Spiritual|Spiritueel
Awaken Consciousness|Ontwaak bewustzijn|Spiritual|Spiritueel
Conscious Living|Bewust leven|Spiritual|Spiritueel
Conscious Presence|Bewuste aanwezigheid|Spiritual|Spiritueel
Present Moment Awareness|Gewaarzijn van het huidige moment|Spiritual|Spiritueel
Pure Awareness|Puur gewaarzijn|Spiritual|Spiritueel
Awaken the Soul|Ontwaak de ziel|Spiritual|Spiritueel
Soul Awakening|Zielsontwaken|Spiritual|Spiritueel
Soul Connection|Zielsverbinding|Spiritual|Spiritueel
Soul Alignment|Zielsafstemming|Spiritual|Spiritueel
Soul Journey|Zielsreis|Spiritual|Spiritueel
Soul Renewal|Zielsvernieuwing|Spiritual|Spiritueel
Soul Healing|Zielsondersteunend herstel|Spiritual|Spiritueel
Soul Energy|Zielsenergie|Spiritual|Spiritueel
Soul Vitality|Zielsvitaliteit|Spiritual|Spiritueel
Soul Purpose|Zielspurpose|Spiritual|Spiritueel
Purpose & Meaning|Purpose & betekenis|Spiritual|Spiritueel
Meaningful Living|Betekenisvol leven|Spiritual|Spiritueel
Live with Purpose|Leef met purpose|Spiritual|Spiritueel
Life Purpose Discovery|Ontdek je levenspurpose|Spiritual|Spiritueel
Spiritual Growth|Spirituele groei|Spiritual|Spiritueel
Personal Transformation|Persoonlijke transformatie|Spiritual|Spiritueel
Awaken Your Potential|Ontwaak je potentieel|Spiritual|Spiritueel
The Authentic Self|Het authentieke zelf|Spiritual|Spiritueel
True Self|Ware zelf|Spiritual|Spiritueel
Reconnect with Yourself|Verbind opnieuw met jezelf|Spiritual|Spiritueel
Return to Yourself|Keer terug naar jezelf|Spiritual|Spiritueel
Come Home to Yourself|Kom thuis bij jezelf|Spiritual|Spiritueel
Heart-Centered Living|Hartgericht leven|Spiritual|Spiritueel
Heart Consciousness|Hartbewustzijn|Spiritual|Spiritueel
Heart Awakening|Hartontwaken|Spiritual|Spiritueel
Heart Wisdom|Hartwijsheid|Spiritual|Spiritueel
Open Your Heart|Open je hart|Spiritual|Spiritueel
Sacred Heart|Heilig hart|Spiritual|Spiritueel
Love & Light|Liefde & licht|Spiritual|Spiritueel
Universal Love|Universele liefde|Spiritual|Spiritueel
Unconditional Love|Onvoorwaardelijke liefde|Spiritual|Spiritueel
Compassion & Kindness|Compassie & vriendelijkheid|Spiritual|Spiritueel
Forgiveness Journey|Vergevingsreis|Spiritual|Spiritueel
Gratitude Practice|Dankbaarheidsbeoefening|Spiritual|Spiritueel
Gratitude & Abundance|Dankbaarheid & overvloed|Spiritual|Spiritueel
Abundance Consciousness|Overvloedsbewustzijn|Spiritual|Spiritueel
Manifest Abundance|Manifesteer overvloed|Spiritual|Spiritueel
Manifest Your Dreams|Manifesteer je dromen|Spiritual|Spiritueel
Manifest Success|Manifesteer succes|Spiritual|Spiritueel
Law of Attraction Focus|Law of Attraction focus|Spiritual|Spiritueel
Raise Your Vibration|Verhoog je vibratie|Spiritual|Spiritueel
High Vibration|Hoge vibratie|Spiritual|Spiritueel
Positive Vibrations|Positieve vibraties|Spiritual|Spiritueel
Vibrational Alignment|Vibrationele afstemming|Spiritual|Spiritueel
Energy Alignment|Energieafstemming|Spiritual|Spiritueel
Universal Energy|Universele energie|Spiritual|Spiritueel
Life Force Energy|Levenskrachtenergie|Spiritual|Spiritueel
Sacred Energy|Heilige energie|Spiritual|Spiritueel
Divine Energy|Goddelijke energie|Spiritual|Spiritueel
Infinite Energy|Oneindige energie|Spiritual|Spiritueel
Chi Activation|Chi-activatie|Spiritual|Spiritueel
Prana Flow|Prana flow|Spiritual|Spiritueel
Qi Balance|Qi-balans|Spiritual|Spiritueel
Life Energy Flow|Levensenergieflow|Spiritual|Spiritueel
Energy Flow|Energieflow|Spiritual|Spiritueel
Energy Cleansing|Energetische reiniging|Spiritual|Spiritueel
Energy Purification|Energetische zuivering|Spiritual|Spiritueel
Aura Cleansing|Aura-reiniging|Spiritual|Spiritueel
Aura Balancing|Aura-balancering|Spiritual|Spiritueel
Aura Strengthening|Aura-versterking|Spiritual|Spiritueel
Aura Protection|Aura-bescherming|Spiritual|Spiritueel
Aura Expansion|Aura-expansie|Spiritual|Spiritueel
Light Body Activation|Lichtlichaam-activatie|Spiritual|Spiritueel
Sacred Space|Heilige ruimte|Spiritual|Spiritueel
Peaceful Presence|Vredige aanwezigheid|Spiritual|Spiritueel
Sacred Silence|Heilige stilte|Spiritual|Spiritueel
Deep Meditation|Diepe meditatie|Spiritual|Spiritueel
Meditative Awareness|Meditatief gewaarzijn|Spiritual|Spiritueel
Silent Mind|Stille geest|Spiritual/Mental|Spiritueel/Mentaal
Zen Mind|Zen-geest|Spiritual|Spiritueel
Zen Presence|Zen-aanwezigheid|Spiritual|Spiritueel
Mindfulness Meditation|Mindfulnessmeditatie|Spiritual|Spiritueel
Mindful Living|Mindful leven|Spiritual|Spiritueel
Living in the Now|Leven in het nu|Spiritual|Spiritueel
Presence & Peace|Aanwezigheid & vrede|Spiritual|Spiritueel
Stillness Within|Stilte vanbinnen|Spiritual|Spiritueel
Calm Presence|Kalme aanwezigheid|Spiritual|Spiritueel
Harmony Within|Harmonie vanbinnen|Spiritual|Spiritueel
Connect with Nature|Verbind met de natuur|Spiritual|Spiritueel
Forest Connection|Bosverbinding|Spiritual|Spiritueel
Ocean Consciousness|Oceaanbewustzijn|Spiritual|Spiritueel
Earth Connection|Aarde-verbinding|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Rooted and Centered|Geworteld en gecentreerd|Spiritual|Spiritueel
Mountain Stillness|Bergstilte|Spiritual|Spiritueel
Moon Meditation|Maanmeditatie|Spiritual|Spiritueel
Sunrise Meditation|Zonsopgangmeditatie|Spiritual|Spiritueel
Cosmic Awareness|Kosmisch gewaarzijn|Spiritual|Spiritueel
Universal Consciousness|Universeel bewustzijn|Spiritual|Spiritueel
Oneness|Eenheid|Spiritual|Spiritueel
Unity Consciousness|Eenheidsbewustzijn|Spiritual|Spiritueel
Connected to All|Verbonden met alles|Spiritual|Spiritueel
Infinite Presence|Oneindige aanwezigheid|Spiritual|Spiritueel
Sacred Breath|Heilige adem|Spiritual|Spiritueel
Breath of Life|Levensadem|Spiritual|Spiritueel
Spiritual Resilience|Spirituele veerkracht|Spiritual|Spiritueel
Wisdom Within|Wijsheid vanbinnen|Spiritual|Spiritueel
Living with Grace|Leven met gratie|Spiritual|Spiritueel
Grace & Gratitude|Gratie & dankbaarheid|Spiritual|Spiritueel
Sacred Relaxation|Heilige ontspanning|Spiritual|Spiritueel
Divine Calm|Goddelijke kalmte|Spiritual|Spiritueel
Higher Self Connection|Verbinding met het hogere zelf|Spiritual|Spiritueel
Meet Your Higher Self|Ontmoet je hogere zelf|Spiritual|Spiritueel
Future Self Meditation|Toekomstige zelf meditatie|Spiritual/Mental|Spiritueel/Mentaal
Future Self Connection|Toekomstige zelf verbinding|Spiritual/Mental|Spiritueel/Mentaal
Ancient Wisdom|Oude wijsheid|Spiritual|Spiritueel
Temple Meditation|Tempelmeditatie|Spiritual|Spiritueel
Mystical Journey|Mystieke reis|Spiritual|Spiritueel
Sacred Journey|Heilige reis|Spiritual|Spiritueel
Journey Within|Reis naar binnen|Spiritual|Spiritueel
Path of Awareness|Pad van gewaarzijn|Spiritual|Spiritueel
The Observer|De observator|Spiritual|Spiritueel
Witness Consciousness|Getuigenbewustzijn|Spiritual|Spiritueel
Living from the Heart|Leven vanuit het hart|Spiritual|Spiritueel
Open to Possibility|Open voor mogelijkheden|Spiritual|Spiritueel
Embrace the Unknown|Omarm het onbekende|Spiritual|Spiritueel
Trust the Process|Vertrouw het proces|Spiritual|Spiritueel
Let Go & Surrender|Laat los & geef je over|Spiritual|Spiritueel
Release & Receive|Laat los & ontvang|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Golden Light Meditation|Gouden licht meditatie|Spiritual|Spiritueel
White Light Visualization|Wit licht visualisatie|Spiritual|Spiritueel
Light Within|Licht vanbinnen|Spiritual|Spiritueel
Radiant Soul|Stralende ziel|Spiritual|Spiritueel
Infinite Peace|Oneindige vrede|Spiritual|Spiritueel
Timeless Awareness|Tijdloos gewaarzijn|Spiritual|Spiritueel
Sacred Balance|Heilige balans|Spiritual|Spiritueel
Spiritual Vitality|Spirituele vitaliteit|Spiritual|Spiritueel
Conscious Evolution|Bewuste evolutie|Spiritual|Spiritueel
Journey to Wholeness|Reis naar heelheid|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const SPIRITUAL_ENERGY_SESSION_DEFINITIONS = SPIRITUAL_ENERGY_TITLE_PAIRS.map((item, index) => {
  const carriers = [963, 852, 528, 432, 639, 741, 417];
  const moods = ["Meditation Bowls", "Theta Soundscape", "Binaural Deep Meditation", "Drone", "Soft Soundscapes", "Ambient", "Cinematic Ambient"];
  const accents = ["#c4b5fd", "#f7df7a", "#bae6fd", "#fbcfe8", "#a7f3d0", "#ddd6fe", "#fef3c7", "#ccfbf1"];
  return {
    id: `spiritual-energy-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [7.2, 6.4, 8.4, 5.8, 9.2, 7.8, 6.8, 8.8, 5.2, 10.2, 7.4, 6.0][index % 12],
    style: 1700 + index
  };
});

const BIOHACKING_TITLE_PAIRS = `
Peak Human|Piekmens|Physical/Mental|Fysiek/Mentaal
Human Optimization|Menselijke optimalisatie|Physical/Mental|Fysiek/Mentaal
Optimize Yourself|Optimaliseer jezelf|Physical/Mental|Fysiek/Mentaal
Optimal Performance|Optimale prestatie|Physical/Mental|Fysiek/Mentaal
Peak State|Piekstaat|Physical/Mental|Fysiek/Mentaal
Elite Performance|Elite prestatie|Physical/Mental|Fysiek/Mentaal
High Performance Mode|High performance modus|Physical/Mental|Fysiek/Mentaal
Maximum Performance|Maximale prestatie|Physical/Mental|Fysiek/Mentaal
Next Level Performance|Next level prestatie|Physical/Mental|Fysiek/Mentaal
Ultimate Performance|Ultieme prestatie|Physical/Mental|Fysiek/Mentaal
Biohacker Mode|Biohacker modus|Physical/Mental|Fysiek/Mentaal
Biohacker Reset|Biohacker reset|Physical/Mental|Fysiek/Mentaal
Daily Biohack|Dagelijkse biohack|Physical/Mental|Fysiek/Mentaal
Morning Biohack|Ochtendbiohack|Physical/Mental|Fysiek/Mentaal
Evening Biohack|Avondbiohack|Physical/Mental|Fysiek/Mentaal
Performance Reset|Prestatiereset|Physical/Mental|Fysiek/Mentaal
Recovery Optimization|Hersteloptimalisatie|Physical|Fysiek
Optimize Recovery|Optimaliseer herstel|Physical|Fysiek
Sleep Optimization|Slaapoptimalisatie|Physical|Fysiek
Deep Recovery Protocol|Diep herstelprotocol|Physical|Fysiek
Cellular Recharge|Cellulair opladen|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Cellular Energy|Cellulaire energie|Physical|Fysiek
Cellular Optimization|Cellulaire optimalisatie|Physical|Fysiek
Cellular Renewal Support|Ondersteuning voor cellulaire vernieuwing|Physical|Fysiek
Mitochondrial Support|Mitochondriale ondersteuning|Physical|Fysiek
Mitochondrial Energy|Mitochondriale energie|Physical|Fysiek
ATP Optimization|ATP-optimalisatie|Physical|Fysiek
Energy Production Support|Ondersteuning voor energieproductie|Physical|Fysiek
Metabolic Optimization|Metabole optimalisatie|Physical|Fysiek
Healthy Metabolism|Gezond metabolisme|Physical|Fysiek
Circadian Optimization|Circadiane optimalisatie|Physical|Fysiek
Circadian Reset|Circadiane reset|Physical|Fysiek
Body Clock Optimization|Optimalisatie van de biologische klok|Physical|Fysiek
Healthy Rhythms|Gezonde ritmes|Physical|Fysiek
Nervous System Reset|Zenuwstelsel reset|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Parasympathetic Activation|Parasympathische activatie|Physical|Fysiek
Stress Recovery|Stressherstel|Physical/Emotional|Fysiek/Emotioneel
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Heart Coherence|Hartcoherentie|Emotional|Emotioneel
HRV Optimization|HRV-optimalisatie|Physical|Fysiek
Respiratory Optimization|Ademhalingsoptimalisatie|Physical|Fysiek
Breathing Efficiency|Ademhalingsefficientie|Physical|Fysiek
Oxygen Optimization|Zuurstofoptimalisatie|Physical|Fysiek
Vital Energy|Vitale energie|Physical|Fysiek
Energy Upgrade|Energie-upgrade|Physical|Fysiek
Brain Upgrade|Brein-upgrade|Mental|Mentaal
Brain Optimization|Breinoptimalisatie|Mental|Mentaal
Brain Performance|Breinprestatie|Mental|Mentaal
Brain Fitness|Breinfitness|Mental|Mentaal
Brain Vitality|Breinvitaliteit|Mental|Mentaal
Brain Activation|Breinactivatie|Mental|Mentaal
Neural Optimization|Neurale optimalisatie|Mental|Mentaal
Neural Performance|Neurale prestatie|Mental|Mentaal
Neural Efficiency|Neurale efficientie|Mental|Mentaal
Neural Synchronization|Neurale synchronisatie|Mental|Mentaal
Brain Synchronization|Breinsynchronisatie|Mental|Mentaal
Whole Brain Integration|Integratie van het hele brein|Mental|Mentaal
Neuroplasticity Support|Neuroplasticiteitsondersteuning|Mental|Mentaal
Cognitive Enhancement|Cognitieve versterking|Mental|Mentaal
Cognitive Performance|Cognitieve prestatie|Mental|Mentaal
Mental Performance|Mentale prestatie|Mental|Mentaal
Executive Performance|Executieve prestatie|Mental|Mentaal
Peak Cognition|Piekcognitie|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Clear Thinking|Helder denken|Mental|Mentaal
Mental Sharpness|Mentale scherpte|Mental|Mentaal
Focus Upgrade|Focus-upgrade|Mental|Mentaal
Deep Focus Protocol|Diepe focus protocol|Mental|Mentaal
Attention Optimization|Aandachtsoptimalisatie|Mental|Mentaal
Flow State|Flowstaat|Mental|Mentaal
Deep Flow|Diepe flow|Mental|Mentaal
Productivity Mode|Productiviteitsmodus|Mental|Mentaal
Executive Focus|Executieve focus|Mental|Mentaal
Memory Optimization|Geheugenoptimalisatie|Mental|Mentaal
Learning Accelerator|Leerversneller|Mental|Mentaal
Decision Optimization|Besluitvormingsoptimalisatie|Mental|Mentaal
Reaction Time Boost|Reactietijdboost|Mental|Mentaal
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Resilience Protocol|Veerkrachtprotocol|Mental|Mentaal
Adaptability Training|Aanpassingstraining|Mental|Mentaal
Cold Exposure Preparation|Voorbereiding op koudeblootstelling|Physical|Fysiek
Heat Adaptation|Warmte-adaptatie|Physical|Fysiek
Breath Control|Ademcontrole|Physical/Mental|Fysiek/Mentaal
Peak Breathing|Piekademhaling|Physical|Fysiek
Recovery Breathing|Herstelademhaling|Physical|Fysiek
Deep Oxygenation|Diepe oxygenatie|Physical|Fysiek
Healthy Aging Optimization|Healthy aging optimalisatie|Physical|Fysiek
Longevity Support|Longevity ondersteuning|Physical|Fysiek
Longevity Protocol|Longevity protocol|Physical|Fysiek
Healthy Longevity|Gezonde longevity|Physical|Fysiek
Vital Aging|Vitaal ouder worden|Physical|Fysiek
Peak Vitality|Piekvitaliteit|Physical|Fysiek
Youthful Energy|Jeugdige energie|Physical|Fysiek
Biological Age Support|Ondersteuning van biologische leeftijd|Physical|Fysiek
Optimize Your Day|Optimaliseer je dag|Mental|Mentaal
Morning Optimization|Ochtendoptimalisatie|Mental|Mentaal
Afternoon Reset|Middagreset|Mental|Mentaal
Evening Wind Down|Avondafbouw|Physical|Fysiek
Digital Recovery|Digitaal herstel|Mental|Mentaal
Screen Fatigue Recovery|Herstel van schermvermoeidheid|Mental|Mentaal
Creative Optimization|Creatieve optimalisatie|Mental|Mentaal
Innovation Mode|Innovatiemodus|Mental|Mentaal
Mental Endurance|Mentale uithouding|Mental|Mentaal
Deep Work Protocol|Deep work protocol|Mental|Mentaal
High Output Mode|High output modus|Mental|Mentaal
Ultra Focus|Ultra focus|Mental|Mentaal
Performance Under Pressure|Presteren onder druk|Mental|Mentaal
Elite Decision Making|Elite besluitvorming|Mental|Mentaal
Executive Presence|Executieve aanwezigheid|Mental|Mentaal
Healthy Hormonal Balance|Gezonde hormonale balans|Physical|Fysiek
Optimize Energy Balance|Optimaliseer energiebalans|Physical|Fysiek
Whole Body Optimization|Optimalisatie van het hele lichaam|Physical/Mental|Fysiek/Mentaal
Whole Person Performance|Prestatie van de hele persoon|Physical/Mental|Fysiek/Mentaal
Mind-Body Optimization|Lichaam-geest optimalisatie|Physical/Mental|Fysiek/Mentaal
Peak Recovery|Piekherstel|Physical|Fysiek
Recovery Accelerator|Herstelversneller|Physical|Fysiek
Power Nap Protocol|Powernap protocol|Physical|Fysiek
Micro Recovery|Microherstel|Physical|Fysiek
Performance Recharge|Prestatieoplading|Physical|Fysiek
Adaptive Performance|Adaptieve prestatie|Mental|Mentaal
Mental Reload|Mentale reload|Mental|Mentaal
Recharge Protocol|Oplaadprotocol|Physical|Fysiek
Optimal State|Optimale staat|Physical/Mental|Fysiek/Mentaal
Human Upgrade|Menselijke upgrade|Physical/Mental|Fysiek/Mentaal
Evolution Mode|Evolutiemodus|Mental|Mentaal
The Biohacker's Edge|Het voordeel van de biohacker|Mental|Mentaal
Elite Recovery System|Elite herstelsysteem|Physical|Fysiek
NeuroSync Performance|NeuroSync prestatie|Mental|Mentaal
Future Human|Toekomstmens|Mental|Mentaal
Cognitive Upgrade|Cognitieve upgrade|Mental|Mentaal
Next Level Focus|Next level focus|Mental|Mentaal
Maximum Output|Maximale output|Physical/Mental|Fysiek/Mentaal
Energy on Demand|Energie op commando|Physical|Fysiek
Everyday Optimization|Dagelijkse optimalisatie|Physical/Mental|Fysiek/Mentaal
Daily Performance Ritual|Dagelijks prestatieritueel|Mental|Mentaal
Prime Performance|Prime prestatie|Physical/Mental|Fysiek/Mentaal
Optimal Readiness|Optimale paraatheid|Mental|Mentaal
Unlock Peak Potential|Ontgrendel piekpotentieel|Mental|Mentaal
Limitless Performance|Grenzeloze prestatie|Mental|Mentaal
The Performance Protocol|Het prestatieprotocol|Physical/Mental|Fysiek/Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const BIOHACKING_SESSION_DEFINITIONS = BIOHACKING_TITLE_PAIRS.map((item, index) => {
  const carriers = [741, 528, 417, 852, 432, 639, 963];
  const moods = ["Cinematic Ambient", "Uplifting Electronic Ambient", "Ambient", "Soft Soundscapes", "Theta Soundscape", "Drone", "Binaural Deep Meditation"];
  const accents = ["#38bdf8", "#22c55e", "#facc15", "#f97316", "#a855f7", "#14b8a6", "#ef4444", "#93c5fd"];
  return {
    id: `biohacking-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [13.2, 14.4, 9.2, 7.6, 11.8, 12.8, 8.4, 15.6, 10.6, 6.8, 13.8, 11.2][index % 12],
    style: 1900 + index
  };
});

const RECOVERY_SLEEP_TITLE_PAIRS = `
Sleep Preparation|Slaapvoorbereiding|Physical|Fysiek
Prepare for Sleep|Bereid je voor op slaap|Physical|Fysiek
Sleep Onset|Inslaapfase|Physical|Fysiek
Fall Asleep Naturally|Natuurlijk in slaap vallen|Physical|Fysiek
Drift Into Sleep|Wegglijden in slaap|Physical|Fysiek
Sleep with Ease|Gemakkelijk slapen|Physical|Fysiek
Effortless Sleep|Moeiteloze slaap|Physical|Fysiek
Natural Sleep|Natuurlijke slaap|Physical|Fysiek
Healthy Sleep|Gezonde slaap|Physical|Fysiek
Peaceful Sleep|Vredige slaap|Physical|Fysiek
Deep Sleep|Diepe slaap|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Deep Night's Sleep|Diepe nachtrust|Physical|Fysiek
Restful Sleep|Rustgevende slaap|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Profound Sleep|Zeer diepe slaap|Physical|Fysiek
Quality Sleep|Kwaliteitsslaap|Physical|Fysiek
Refreshing Sleep|Verfrissende slaap|Physical|Fysiek
Rejuvenating Sleep|Verjongende slaap|Physical|Fysiek
Healing Sleep|Ondersteunende herstelslaap|Physical|Fysiek
Gentle Sleep|Zachte slaap|Physical|Fysiek
Silent Sleep|Stille slaap|Physical|Fysiek
Quiet Mind for Sleep|Stille geest voor slaap|Mental|Mentaal
Quiet the Mind|Breng de geest tot rust|Mental|Mentaal
Calm Before Sleep|Rust voor het slapen|Emotional|Emotioneel
Evening Calm|Avondrust|Emotional|Emotioneel
Nighttime Relaxation|Nachtelijke ontspanning|Emotional|Emotioneel
Sleep Relaxation|Slaapontspanning|Emotional|Emotioneel
Relax Into Sleep|Ontspan naar slaap|Emotional|Emotioneel
Relaxing Bedtime|Ontspannen bedtijd|Emotional|Emotioneel
Bedtime Wind Down|Bedtijd afbouw|Emotional|Emotioneel
Evening Wind Down|Avondafbouw|Emotional|Emotioneel
Bedtime Ritual|Bedtijdritueel|Emotional|Emotioneel
Night Ritual|Nachtritueel|Emotional|Emotioneel
Dream Preparation|Droomvoorbereiding|Spiritual|Spiritueel
Dream Journey|Droomreis|Spiritual|Spiritueel
Lucid Dream Preparation|Voorbereiding op lucide dromen|Spiritual|Spiritueel
Peaceful Dreams|Vredige dromen|Spiritual|Spiritueel
Pleasant Dreams|Aangename dromen|Spiritual|Spiritueel
Sweet Dreams|Zoete dromen|Emotional|Emotioneel
Dream Awareness|Droombewustzijn|Spiritual|Spiritueel
Dream Recall|Droomherinnering|Spiritual|Spiritueel
Dream Explorer|Droomverkenner|Spiritual|Spiritueel
Wake Refreshed|Verfrist wakker worden|Physical|Fysiek
Morning Refresh|Ochtendverfrissing|Physical|Fysiek
Morning Vitality|Ochtendvitaliteit|Physical|Fysiek
Wake Up Energized|Energiek wakker worden|Physical|Fysiek
Sleep Recovery|Slaapherstel|Physical|Fysiek
Night Recovery|Nachtherstel|Physical|Fysiek
Recovery During Sleep|Herstel tijdens slaap|Physical|Fysiek
Recovery Night|Herstelnacht|Physical|Fysiek
Body Recovery Sleep|Lichaamsherstel tijdens slaap|Physical|Fysiek
Mind Recovery Sleep|Mentaal herstel tijdens slaap|Mental|Mentaal
Complete Night Recovery|Volledig nachtherstel|Physical|Fysiek
Recharge While You Sleep|Opladen terwijl je slaapt|Physical|Fysiek
Recharge Overnight|Opladen gedurende de nacht|Physical|Fysiek
Overnight Recovery|Herstel gedurende de nacht|Physical|Fysiek
Circadian Rhythm Support|Ondersteuning van het circadiane ritme|Physical|Fysiek
Circadian Balance|Circadiane balans|Physical|Fysiek
Body Clock Reset|Biologische klok reset|Physical|Fysiek
Healthy Sleep Rhythm|Gezond slaapritme|Physical|Fysiek
Natural Sleep Rhythm|Natuurlijk slaapritme|Physical|Fysiek
Night Rhythm|Nachtritme|Physical|Fysiek
Sleep Cycle Support|Ondersteuning van de slaapcyclus|Physical|Fysiek
Sleep Harmony|Slaapharmonie|Physical|Fysiek
Sleep Balance|Slaapbalans|Physical|Fysiek
Sleep Well Tonight|Slaap vannacht goed|Physical|Fysiek
Sleep Better Naturally|Natuurlijk beter slapen|Physical|Fysiek
Sleep Without Worry|Slapen zonder zorgen|Emotional|Emotioneel
Release the Day|Laat de dag los|Emotional|Emotioneel
Let Go Before Sleep|Loslaten voor het slapen|Emotional|Emotioneel
Emotional Release Before Sleep|Emotionele ontlading voor het slapen|Emotional|Emotioneel
Forgive & Sleep|Vergeven en slapen|Emotional|Emotioneel
Gratitude Before Sleep|Dankbaarheid voor het slapen|Spiritual|Spiritueel
Evening Gratitude|Avonddankbaarheid|Spiritual|Spiritueel
Inner Peace Before Sleep|Innerlijke vrede voor slaap|Spiritual|Spiritueel
Peaceful Night|Vredige nacht|Spiritual|Spiritueel
Sacred Rest|Heilige rust|Spiritual|Spiritueel
Night Meditation|Nachtmeditatie|Spiritual|Spiritueel
Evening Meditation|Avondmeditatie|Spiritual|Spiritueel
Sleep Meditation|Slaapmeditatie|Spiritual|Spiritueel
Sleep Mindfulness|Slaapmindfulness|Spiritual|Spiritueel
Stillness Before Sleep|Stilte voor het slapen|Spiritual|Spiritueel
Silent Evening|Stille avond|Spiritual|Spiritueel
Deep Stillness|Diepe stilte|Spiritual|Spiritueel
Moonlight Relaxation|Maanlichtontspanning|Spiritual|Spiritueel
Moon Meditation|Maanmeditatie|Spiritual|Spiritueel
Starry Night|Sterrennacht|Spiritual|Spiritueel
Night Sky Meditation|Nachtelijke hemelmeditatie|Spiritual|Spiritueel
Ocean Sleep|Oceaanslaap|Emotional|Emotioneel
Forest Sleep|Bosslaap|Emotional|Emotioneel
Rain for Sleep|Regen voor slaap|Emotional|Emotioneel
Mountain Silence|Bergstilte|Spiritual|Spiritueel
Campfire Dreams|Kampvuurdromen|Emotional|Emotioneel
Nature Sleep|Natuurslaap|Emotional|Emotioneel
Ocean Dreams|Oceaandromen|Emotional|Emotioneel
Rainy Night|Regenachtige nacht|Emotional|Emotioneel
Gentle Night Rain|Zachte nachtregen|Emotional|Emotioneel
White Noise Sleep|Witte ruis slaap|Physical|Fysiek
Pink Noise Sleep|Roze ruis slaap|Physical|Fysiek
Brown Noise Sleep|Bruine ruis slaap|Physical|Fysiek
Delta Sleep Journey|Delta slaapreis|Physical|Fysiek
Deep Delta Sleep|Diepe delta slaap|Physical|Fysiek
Theta Sleep Transition|Theta slaapovergang|Physical|Fysiek
Sleep Transition|Slaapovergang|Physical|Fysiek
Sleep Induction|Slaapinductie|Physical|Fysiek
Sleep Gateway|Poort naar slaap|Spiritual|Spiritueel
Gateway to Sleep|Toegang tot slaap|Spiritual|Spiritueel
Sleep Sanctuary|Slaapbeschutting|Spiritual|Spiritueel
Night Sanctuary|Nachtelijke beschutting|Spiritual|Spiritueel
Safe to Sleep|Veilig om te slapen|Emotional|Emotioneel
Comfortable Sleep|Comfortabele slaap|Emotional|Emotioneel
Sleep with Confidence|Slapen met vertrouwen|Emotional|Emotioneel
Release Nighttime Stress|Laat nachtelijke stress los|Emotional|Emotioneel
Nighttime Calm|Nachtelijke kalmte|Emotional|Emotioneel
Serenity Before Sleep|Sereniteit voor slaap|Spiritual|Spiritueel
Relaxed Body, Quiet Mind|Ontspannen lichaam, stille geest|Physical/Mental|Fysiek/Mentaal
Mind & Body Sleep|Lichaam-geest slaap|Physical/Mental|Fysiek/Mentaal
Sleep Reset|Slaapreset|Physical|Fysiek
Sleep Recharge|Slaapoplading|Physical|Fysiek
Ultimate Sleep|Ultieme slaap|Physical|Fysiek
Perfect Night's Sleep|Perfecte nachtrust|Physical|Fysiek
Premium Sleep|Premium slaap|Physical|Fysiek
Sleep Essentials|Essentie van slaap|Physical|Fysiek
Sleep Restore|Slaapherstel|Physical|Fysiek
Sleep Renewal|Slaapvernieuwing|Physical|Fysiek
Healthy Sleep Habits|Gezonde slaapgewoonten|Mental|Mentaal
Prepare for Tomorrow|Voorbereiden op morgen|Mental|Mentaal
Tomorrow Starts Tonight|Morgen begint vanavond|Mental|Mentaal
Night of Restoration|Nacht van herstel|Physical|Fysiek
End the Day Gently|Sluit de dag zacht af|Emotional|Emotioneel
Floating Into Sleep|Zwevend naar slaap|Spiritual|Spiritueel
Sleep Like Never Before|Slapen als nooit tevoren|Physical|Fysiek
Sleep Naturally Every Night|Elke nacht natuurlijk slapen|Physical|Fysiek
Quiet Nights|Stille nachten|Emotional|Emotioneel
Peaceful Nights|Vredige nachten|Emotional|Emotioneel
The Perfect Bedtime|De perfecte bedtijd|Emotional|Emotioneel
The Art of Sleeping|De kunst van slapen|Spiritual|Spiritueel
Deep Sleep Protocol|Diep slaapprotocol|Physical|Fysiek
Night Reset Protocol|Nachtreset protocol|Physical|Fysiek
Evening Recovery Protocol|Avondherstel protocol|Physical|Fysiek
Optimal Sleep|Optimale slaap|Physical|Fysiek
Optimal Night Recovery|Optimaal nachtherstel|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_SLEEP_SESSION_DEFINITIONS = RECOVERY_SLEEP_TITLE_PAIRS.map((item, index) => {
  const carriers = [432, 528, 639, 417, 852, 396, 741];
  const moods = ["Theta Soundscape", "Soft Soundscapes", "Binaural Deep Meditation", "Drone", "Ambient", "Meditation Bowls", "Cinematic Ambient"];
  const accents = ["#1e3a8a", "#312e81", "#0f766e", "#334155", "#581c87", "#155e75", "#365314", "#4c1d95"];
  return {
    id: `recovery-sleep-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    floor: [2.2, 2.8, 3.2, 3.8, 4.4, 5.0, 6.0, 7.0, 4.0, 3.4, 2.5, 5.6][index % 12],
    style: 2100 + index
  };
});

const RECOVERY_STRESS_ANXIETY_TITLE_PAIRS = `
Stress Relief|Stressverlichting|Emotional|Emotioneel
Deep Stress Relief|Diepe stressverlichting|Emotional|Emotioneel
Daily Stress Relief|Dagelijkse stressverlichting|Emotional|Emotioneel
Release Stress|Stress loslaten|Emotional|Emotioneel
Stress Recovery|Stressherstel|Emotional|Emotioneel
Stress Reset|Stressreset|Emotional|Emotioneel
Stress-Free Living|Leven met minder stress|Emotional|Emotioneel
Stress Management|Stressmanagement|Mental|Mentaal
Stress Resilience|Stressveerkracht|Mental|Mentaal
Stress Recovery Protocol|Stressherstel protocol|Emotional|Emotioneel
Calm Mind|Kalme geest|Mental|Mentaal
Calm Body|Kalm lichaam|Physical|Fysiek
Calm Body & Mind|Kalm lichaam & geest|Physical/Mental|Fysiek/Mentaal
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Deep Calm|Diepe kalmte|Emotional|Emotioneel
Profound Calm|Zeer diepe kalmte|Emotional|Emotioneel
Complete Calm|Volledige kalmte|Emotional|Emotioneel
Quiet the Mind|Breng de geest tot rust|Mental|Mentaal
Quiet Your Thoughts|Kalmeer je gedachten|Mental|Mentaal
Silent Mind|Stille geest|Mental|Mentaal
Peace of Mind|Gemoedsrust|Emotional|Emotioneel
Mental Relaxation|Mentale ontspanning|Mental|Mentaal
Physical Relaxation|Fysieke ontspanning|Physical|Fysiek
Total Relaxation|Totale ontspanning|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Instant Relaxation|Directe ontspanning|Physical|Fysiek
Relax and Let Go|Ontspan en laat los|Emotional|Emotioneel
Let Go of Stress|Laat stress los|Emotional|Emotioneel
Release Tension|Spanning loslaten|Physical|Fysiek
Muscle Relaxation|Spierontspanning|Physical|Fysiek
Relaxed Breathing|Ontspannen ademhaling|Physical|Fysiek
Slow Breathing|Langzame ademhaling|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Box Breathing|Box breathing|Physical|Fysiek
Breathing for Calm|Ademen voor kalmte|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Parasympathetic Reset|Parasympathische reset|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Nervous System Reset|Zenuwstelsel reset|Physical|Fysiek
Anxiety Relief|Angstverlichting|Emotional|Emotioneel
Anxiety Support|Angstondersteuning|Emotional|Emotioneel
Ease Anxiety|Angst verzachten|Emotional|Emotioneel
Inner Safety|Innerlijke veiligheid|Emotional|Emotioneel
Feel Safe|Je veilig voelen|Emotional|Emotioneel
Safe and Secure|Veilig en geborgen|Emotional|Emotioneel
Inner Security|Innerlijke geborgenheid|Emotional|Emotioneel
Release Fear|Angst loslaten|Emotional|Emotioneel
Overcome Worry|Zorgen overwinnen|Emotional|Emotioneel
Release Worry|Zorgen loslaten|Emotional|Emotioneel
Quiet Worry|Zorgen tot rust brengen|Emotional|Emotioneel
Freedom from Worry|Vrij van zorgen|Emotional|Emotioneel
Overcome Overthinking|Overdenken doorbreken|Mental|Mentaal
Stop Overthinking|Stop met overdenken|Mental|Mentaal
Mental Stillness|Mentale stilte|Mental|Mentaal
Mental Quiet|Mentale rust|Mental|Mentaal
Calm Thinking|Kalm denken|Mental|Mentaal
Clear Thinking|Helder denken|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Stability|Emotionele stabiliteit|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Reset|Emotionele reset|Emotional|Emotioneel
Emotional Freedom|Emotionele vrijheid|Emotional|Emotioneel
Emotional Release|Emotionele ontlading|Emotional|Emotioneel
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Peace Within|Vrede vanbinnen|Spiritual|Spiritueel
Peaceful Presence|Vredige aanwezigheid|Spiritual|Spiritueel
Serenity|Sereniteit|Spiritual|Spiritueel
Stillness Within|Stilte vanbinnen|Spiritual|Spiritueel
Sacred Calm|Heilige kalmte|Spiritual|Spiritueel
Mindfulness for Stress|Mindfulness bij stress|Spiritual|Spiritueel
Present Moment Awareness|Bewustzijn van het huidige moment|Spiritual|Spiritueel
Acceptance & Calm|Acceptatie & kalmte|Spiritual|Spiritueel
Letting Go|Loslaten|Spiritual|Spiritueel
Release Control|Controle loslaten|Spiritual|Spiritueel
Trust the Process|Vertrouw het proces|Spiritual|Spiritueel
Ground Yourself|Grond jezelf|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Center Yourself|Centreer jezelf|Spiritual|Spiritueel
Heart Coherence|Hartcoherentie|Emotional|Emotioneel
Heart Calm|Hartrust|Emotional|Emotioneel
Heart-Centered Relaxation|Hartgerichte ontspanning|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Gentle Acceptance|Zachte acceptatie|Emotional|Emotioneel
Comfort & Calm|Comfort & kalmte|Emotional|Emotioneel
Feel Protected|Je beschermd voelen|Emotional|Emotioneel
Calm Before Sleep|Rust voor het slapen|Emotional|Emotioneel
Evening Calm|Avondrust|Emotional|Emotioneel
End of Day Relaxation|Ontspanning aan het einde van de dag|Emotional|Emotioneel
Morning Calm|Ochtendrust|Emotional|Emotioneel
Start the Day Calm|Begin de dag rustig|Emotional|Emotioneel
Work Stress Relief|Werkstress verlichting|Emotional|Emotioneel
Office Calm|Kalmte op kantoor|Emotional|Emotioneel
Deadline Calm|Deadline-kalmte|Mental|Mentaal
Meeting Confidence|Vergadervertrouwen|Mental|Mentaal
Performance Calm|Prestatiekalmte|Mental|Mentaal
Public Speaking Calm|Kalm spreken in het openbaar|Mental|Mentaal
Exam Calm|Examenkalmte|Mental|Mentaal
Travel Calm|Reisrust|Emotional|Emotioneel
Flying Calm|Vliegrust|Emotional|Emotioneel
Fear of Flying Support|Ondersteuning bij vliegangst|Emotional|Emotioneel
Driving Calm|Autorijrust|Emotional|Emotioneel
Social Confidence|Sociaal zelfvertrouwen|Mental|Mentaal
Social Calm|Sociale kalmte|Emotional|Emotioneel
Public Speaking Anxiety Support|Ondersteuning bij spreekangst|Mental/Emotional|Mentaal/Emotioneel
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Resilient Mind|Veerkrachtige geest|Mental|Mentaal
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Bounce Back|Terugveren|Mental|Mentaal
Adaptive Calm|Adaptieve kalmte|Mental|Mentaal
Stress Shield|Stressschild|Mental|Mentaal
Calm Confidence|Kalm zelfvertrouwen|Mental|Mentaal
Confidence Under Pressure|Zelfvertrouwen onder druk|Mental|Mentaal
Stay Centered|Blijf gecentreerd|Spiritual|Spiritueel
Stay Balanced|Blijf in balans|Emotional|Emotioneel
Find Your Balance|Vind je balans|Spiritual|Spiritueel
Restore Balance|Herstel balans|Spiritual|Spiritueel
Harmony Within|Harmonie vanbinnen|Spiritual|Spiritueel
Daily Calm|Dagelijkse kalmte|Emotional|Emotioneel
Everyday Serenity|Alledaagse sereniteit|Spiritual|Spiritueel
Peaceful Living|Vredig leven|Spiritual|Spiritueel
Living Without Stress|Leven zonder stress|Emotional|Emotioneel
Choose Calm|Kies kalmte|Emotional|Emotioneel
Choose Peace|Kies vrede|Spiritual|Spiritueel
Breathe and Release|Adem en laat los|Physical|Fysiek
Calm Energy|Kalme energie|Emotional|Emotioneel
Relaxed Awareness|Ontspannen gewaarzijn|Mental|Mentaal
Gentle Mind|Zachte geest|Mental|Mentaal
Quiet Confidence|Stil zelfvertrouwen|Mental|Mentaal
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Embrace Uncertainty|Omarm onzekerheid|Mental|Mentaal
Release Perfectionism|Perfectionisme loslaten|Mental|Mentaal
Release Mental Pressure|Mentale druk loslaten|Mental|Mentaal
Calm Through Change|Kalm door verandering|Emotional|Emotioneel
Acceptance of Change|Acceptatie van verandering|Spiritual|Spiritueel
Mindful Breathing|Mindful ademen|Spiritual|Spiritueel
Peaceful Transitions|Vredige overgangen|Spiritual|Spiritueel
Emotional Harmony|Emotionele harmonie|Emotional|Emotioneel
Stress Detox|Stressdetox|Emotional|Emotioneel
Relaxation Reset|Ontspanningsreset|Physical|Fysiek
Complete Nervous System Recovery|Volledig herstel van het zenuwstelsel|Physical|Fysiek
Inner Sanctuary|Innerlijke beschutting|Spiritual|Spiritueel
Safe Haven|Veilige haven|Emotional|Emotioneel
Calm Oasis|Oase van kalmte|Spiritual|Spiritueel
Return to Stillness|Terug naar stilte|Spiritual|Spiritueel
The Relaxation Response|De ontspanningsrespons|Physical|Fysiek
Gentle Nervous System Reset|Zachte zenuwstelsel reset|Physical|Fysiek
Release the Day|Laat de dag los|Emotional|Emotioneel
Deep Emotional Calm|Diepe emotionele kalmte|Emotional|Emotioneel
Ultimate Stress Relief|Ultieme stressverlichting|Emotional|Emotioneel
Anxiety Reset|Angstreset|Emotional|Emotioneel
Calm & Collected|Kalm & beheerst|Mental|Mentaal
Balanced Emotions|Gebalanceerde emoties|Emotional|Emotioneel
Find Your Peace|Vind je vrede|Spiritual|Spiritueel
The Art of Relaxation|De kunst van ontspanning|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_STRESS_ANXIETY_SESSION_DEFINITIONS = RECOVERY_STRESS_ANXIETY_TITLE_PAIRS.map((item, index) => {
  const carriers = [432, 528, 639, 396, 417, 741, 852];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#0f766e", "#2563eb", "#7c3aed", "#155e75", "#475569", "#16a34a", "#9333ea", "#0e7490"];
  return {
    id: `recovery-stress-anxiety-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    floor: [6.0, 5.6, 5.2, 4.8, 6.4, 7.0, 4.4, 5.8, 6.8, 5.0, 6.2, 4.6][index % 12],
    style: 2300 + index
  };
});

const RECOVERY_HEART_COHERENCE_TITLE_PAIRS = `
Heart Coherence|Hartcoherentie|Physical|Fysiek
Deep Heart Coherence|Diepe hartcoherentie|Physical|Fysiek
Heart Coherence Training|Hartcoherentietraining|Physical|Fysiek
Heart Coherence Pro|Hartcoherentie pro|Physical|Fysiek
Daily Heart Coherence|Dagelijkse hartcoherentie|Physical|Fysiek
Morning Heart Coherence|Ochtendhartcoherentie|Physical|Fysiek
Evening Heart Coherence|Avondhartcoherentie|Physical|Fysiek
Heart Rhythm Balance|Hartritmebalans|Physical|Fysiek
Healthy Heart Rhythm|Gezond hartritme|Physical|Fysiek
Heart Rhythm Harmony|Hartritmeharmonie|Physical|Fysiek
Heart Rhythm Synchronization|Hartritmesynchronisatie|Physical|Fysiek
Heart Rhythm Optimization|Hartritmeoptimalisatie|Physical|Fysiek
Optimal Heart Rhythm|Optimaal hartritme|Physical|Fysiek
Heart-Brain Coherence|Hart-breincoherentie|Physical/Mental|Fysiek/Mentaal
Heart-Brain Synchronization|Hart-breinsynchronisatie|Physical/Mental|Fysiek/Mentaal
Heart-Brain Harmony|Hart-breinharmonie|Physical/Mental|Fysiek/Mentaal
Heart-Mind Balance|Hart-geest balans|Physical/Mental|Fysiek/Mentaal
Mind-Heart Alignment|Geest-hart afstemming|Mental/Emotional|Mentaal/Emotioneel
Heart & Mind Connection|Hart & geest verbinding|Emotional|Emotioneel
Heart-Centered Awareness|Hartgericht gewaarzijn|Spiritual|Spiritueel
Heart-Centered Living|Hartgericht leven|Spiritual|Spiritueel
Heart-Centered Meditation|Hartgerichte meditatie|Spiritual|Spiritueel
Heart-Centered Breathing|Hartgerichte ademhaling|Physical|Fysiek
Heart-Centered Presence|Hartgerichte aanwezigheid|Spiritual|Spiritueel
Heart Wisdom|Hartwijsheid|Spiritual|Spiritueel
Heart Intelligence|Hartintelligentie|Spiritual|Spiritueel
Heart Awareness|Hartbewustzijn|Spiritual|Spiritueel
Heart Consciousness|Hartbewustzijnsveld|Spiritual|Spiritueel
Open Your Heart|Open je hart|Spiritual|Spiritueel
Open Heart|Open hart|Spiritual|Spiritueel
Sacred Heart|Heilig hart|Spiritual|Spiritueel
Radiant Heart|Stralend hart|Spiritual|Spiritueel
Loving Heart|Liefdevol hart|Spiritual|Spiritueel
Compassionate Heart|Compassievol hart|Emotional|Emotioneel
Heart of Gratitude|Hart van dankbaarheid|Spiritual|Spiritueel
Grateful Heart|Dankbaar hart|Spiritual|Spiritueel
Joyful Heart|Vreugdevol hart|Emotional|Emotioneel
Peaceful Heart|Vredig hart|Emotional|Emotioneel
Calm Heart|Kalm hart|Emotional|Emotioneel
Quiet Heart|Stil hart|Emotional|Emotioneel
Strong Heart|Sterk hart|Emotional|Emotioneel
Resilient Heart|Veerkrachtig hart|Emotional|Emotioneel
Balanced Heart|Gebalanceerd hart|Emotional|Emotioneel
Healing Heart|Helend hart|Emotional|Emotioneel
Heart Healing Journey|Harthelingsreis|Emotional|Emotioneel
Emotional Heart Healing|Emotionele hartheling|Emotional|Emotioneel
Heart Energy|Hartenergie|Spiritual|Spiritueel
Heart Vitality|Hartvitaliteit|Physical|Fysiek
Heart Renewal|Hartvernieuwing|Emotional|Emotioneel
Heart Restoration|Hartherstel|Emotional|Emotioneel
Heart Relaxation|Hartontspanning|Physical|Fysiek
Heart Reset|Hartreset|Physical|Fysiek
Heart Recovery|Hartherstel|Physical|Fysiek
Heart Recovery After Stress|Hartherstel na stress|Physical|Fysiek
Healthy HRV|Gezonde HRV|Physical|Fysiek
HRV Optimization|HRV-optimalisatie|Physical|Fysiek
HRV Training|HRV-training|Physical|Fysiek
HRV Recovery|HRV-herstel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Autonomic Regulation|Autonome regulatie|Physical|Fysiek
Parasympathetic Activation|Parasympathische activatie|Physical|Fysiek
Parasympathetic Balance|Parasympathische balans|Physical|Fysiek
Vagal Tone Support|Ondersteuning van vagale tonus|Physical|Fysiek
Vagus Nerve Activation|Activatie van de nervus vagus|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Nervous System Balance|Balans van het zenuwstelsel|Physical|Fysiek
Nervous System Harmony|Harmonie van het zenuwstelsel|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Breathing|Hartademhaling|Physical|Fysiek
Resonance Breathing|Resonantieademhaling|Physical|Fysiek
Six Breaths Per Minute|Zes ademhalingen per minuut|Physical|Fysiek
Breathing for Coherence|Ademen voor coherentie|Physical|Fysiek
Balanced Breathing|Gebalanceerde ademhaling|Physical|Fysiek
Rhythmic Breathing|Ritmische ademhaling|Physical|Fysiek
Gentle Breathing|Zachte ademhaling|Physical|Fysiek
Calm Breathing|Kalme ademhaling|Physical|Fysiek
Mindful Breathing|Mindful ademen|Spiritual|Spiritueel
Heart Meditation|Hartmeditatie|Spiritual|Spiritueel
Compassion Meditation|Compassiemeditatie|Spiritual|Spiritueel
Loving Kindness|Liefdevolle vriendelijkheid|Spiritual|Spiritueel
Loving Kindness Meditation|Liefdevolle vriendelijkheid meditatie|Spiritual|Spiritueel
Metta Meditation|Metta meditatie|Spiritual|Spiritueel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Compassion for Others|Compassie voor anderen|Spiritual|Spiritueel
Empathy & Connection|Empathie & verbinding|Emotional|Emotioneel
Inner Kindness|Innerlijke vriendelijkheid|Emotional|Emotioneel
Forgiveness|Vergeving|Spiritual|Spiritueel
Forgiveness Meditation|Vergevingsmeditatie|Spiritual|Spiritueel
Gratitude Practice|Dankbaarheidsbeoefening|Spiritual|Spiritueel
Gratitude Meditation|Dankbaarheidsmeditatie|Spiritual|Spiritueel
Joy & Gratitude|Vreugde & dankbaarheid|Spiritual|Spiritueel
Appreciation|Waardering|Emotional|Emotioneel
Positive Emotion Training|Training van positieve emotie|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Harmony|Emotionele harmonie|Emotional|Emotioneel
Emotional Regulation|Emotionele regulatie|Emotional|Emotioneel
Positive Emotional State|Positieve emotionele staat|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Peace Within|Vrede vanbinnen|Spiritual|Spiritueel
Serenity|Sereniteit|Spiritual|Spiritueel
Stillness of the Heart|Stilte van het hart|Spiritual|Spiritueel
Deep Inner Peace|Diepe innerlijke vrede|Spiritual|Spiritueel
Stress Recovery|Stressherstel|Emotional|Emotioneel
Release Emotional Stress|Emotionele stress loslaten|Emotional|Emotioneel
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Performance Coherence|Prestatiecoherentie|Mental|Mentaal
Peak Performance Coherence|Piekprestatiecoherentie|Mental|Mentaal
Executive Coherence|Executieve coherentie|Mental|Mentaal
Athletic Coherence|Atletische coherentie|Physical/Mental|Fysiek/Mentaal
Flow & Coherence|Flow & coherentie|Mental|Mentaal
Flow State|Flowstaat|Mental|Mentaal
Centered Performance|Gecentreerde prestatie|Mental|Mentaal
Focus & Coherence|Focus & coherentie|Mental|Mentaal
Mental Clarity Through Coherence|Mentale helderheid door coherentie|Mental|Mentaal
Sleep Coherence|Slaapcoherentie|Physical|Fysiek
Evening Coherence|Avondcoherentie|Physical|Fysiek
Morning Coherence|Ochtendcoherentie|Physical|Fysiek
Daily Coherence|Dagelijkse coherentie|Physical|Fysiek
Energy & Coherence|Energie & coherentie|Physical|Fysiek
Vital Heart|Vitaal hart|Physical|Fysiek
Heart Vitality Boost|Hartvitaliteitsboost|Physical|Fysiek
Whole Body Coherence|Volledige lichaamscoherentie|Physical|Fysiek
Whole Person Coherence|Coherentie van de hele persoon|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Harmony Within|Harmonie vanbinnen|Spiritual|Spiritueel
Inner Alignment|Innerlijke afstemming|Spiritual|Spiritueel
Mind-Body Harmony|Lichaam-geest harmonie|Spiritual|Spiritueel
Connect with Your Heart|Verbind met je hart|Spiritual|Spiritueel
Follow Your Heart|Volg je hart|Spiritual|Spiritueel
Heart of Peace|Hart van vrede|Spiritual|Spiritueel
Heart of Light|Hart van licht|Spiritual|Spiritueel
Heart of Love|Hart van liefde|Spiritual|Spiritueel
Live from the Heart|Leef vanuit het hart|Spiritual|Spiritueel
Infinite Compassion|Oneindige compassie|Spiritual|Spiritueel
Heart Presence|Hartaanwezigheid|Spiritual|Spiritueel
Radiate Kindness|Straal vriendelijkheid uit|Spiritual|Spiritueel
Open to Life|Open voor het leven|Spiritual|Spiritueel
The Coherent Heart|Het coherente hart|Physical|Fysiek
The Power of Coherence|De kracht van coherentie|Physical/Mental|Fysiek/Mentaal
Heart Harmony Protocol|Hartharmonie protocol|Physical|Fysiek
Coherence Reset|Coherentiereset|Physical|Fysiek
Optimal Coherence|Optimale coherentie|Physical|Fysiek
Heart Performance|Hartprestatie|Physical|Fysiek
Heart Wellness|Hartwelzijn|Physical|Fysiek
Heart Wellness Protocol|Hartwelzijn protocol|Physical|Fysiek
The Calm Heart Protocol|Het kalme hart protocol|Physical|Fysiek
The Balanced Heart|Het gebalanceerde hart|Physical|Fysiek
Resonance & Balance|Resonantie & balans|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_HEART_COHERENCE_SESSION_DEFINITIONS = RECOVERY_HEART_COHERENCE_TITLE_PAIRS.map((item, index) => {
  const carriers = [639, 528, 432, 741, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Meditation Bowls", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Drone", "Cinematic Ambient"];
  const accents = ["#f472b6", "#fb7185", "#f9a8d4", "#c084fc", "#38bdf8", "#14b8a6", "#facc15", "#a78bfa"];
  return {
    id: `recovery-heart-coherence-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    coherenceBase: [6.0, 5.8, 6.2, 5.6, 6.4, 5.5, 6.1, 5.9, 6.3, 5.7, 6.0, 6.5][index % 12],
    style: 2500 + index
  };
});

const RECOVERY_NEUROLOGICAL_SUPPORT_TITLE_PAIRS = `
Healthy Brain Support|Ondersteuning voor een gezond brein|Mental|Mentaal
Brain Wellness|Breinwelzijn|Mental|Mentaal
Brain Vitality|Breinvitaliteit|Mental|Mentaal
Brain Recovery Support|Ondersteuning bij breinherstel|Mental|Mentaal
Brain Balance|Breinbalans|Mental|Mentaal
Brain Synchronization|Breinsynchronisatie|Mental|Mentaal
Neural Synchronization|Neurale synchronisatie|Mental|Mentaal
Neuroplasticity Support|Neuroplasticiteitsondersteuning|Mental|Mentaal
Cognitive Wellness|Cognitief welzijn|Mental|Mentaal
Neural Recovery|Neuraal herstel|Mental|Mentaal
Nervous System Support|Ondersteuning van het zenuwstelsel|Physical|Fysiek
Autonomic Nervous System Balance|Balans van het autonome zenuwstelsel|Physical|Fysiek
Parasympathetic Support|Parasympathische ondersteuning|Physical|Fysiek
Central Nervous System Relaxation|Ontspanning van het centrale zenuwstelsel|Physical|Fysiek
Peripheral Nervous System Support|Ondersteuning van het perifere zenuwstelsel|Physical|Fysiek
Healthy Neural Function|Gezonde neurale functie|Mental|Mentaal
Neural Communication|Neurale communicatie|Mental|Mentaal
Brain Network Balance|Balans van hersennetwerken|Mental|Mentaal
Executive Function Support|Ondersteuning van executieve functies|Mental|Mentaal
Sensory Integration Support|Sensorische integratie ondersteuning|Mental|Mentaal
Motor Coordination Support|Motorische coordinatie ondersteuning|Physical|Fysiek
Balance & Coordination|Balans & coordinatie|Physical|Fysiek
Healthy Reflexes|Gezonde reflexen|Physical|Fysiek
Reaction Time Support|Reactietijd ondersteuning|Mental|Mentaal
Mental Processing Support|Ondersteuning van mentale verwerking|Mental|Mentaal
Memory Support|Geheugenondersteuning|Mental|Mentaal
Memory Maintenance|Geheugenbehoud|Mental|Mentaal
Memory Recall|Geheugenoproep|Mental|Mentaal
Learning Support|Leerondersteuning|Mental|Mentaal
Attention Support|Aandachtsondersteuning|Mental|Mentaal
Focus Support|Focusondersteuning|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Brain Fog Support|Ondersteuning bij brain fog|Mental|Mentaal
Cognitive Fatigue Recovery|Herstel bij cognitieve vermoeidheid|Mental|Mentaal
Healthy Aging Brain|Gezond ouder wordend brein|Mental|Mentaal
Neuro Vitality|Neurovitaliteit|Mental|Mentaal
Brain Energy|Breinenergie|Mental|Mentaal
Brain Performance|Breinprestatie|Mental|Mentaal
Neural Optimization|Neurale optimalisatie|Mental|Mentaal
Healthy Cognition|Gezonde cognitie|Mental|Mentaal
Alzheimer Prevention Support|Ondersteuning voor cognitieve preventie bij Alzheimer-risico|Mental|Mentaal
Healthy Cognitive Aging|Gezond cognitief ouder worden|Mental|Mentaal
Memory Preservation Support|Ondersteuning voor geheugenbehoud|Mental|Mentaal
Cognitive Resilience|Cognitieve veerkracht|Mental|Mentaal
Brain Longevity Support|Ondersteuning voor brein-longevity|Mental|Mentaal
Gamma Brain Support|Gamma-breinondersteuning|Mental|Mentaal
Parkinson's Support|Parkinson-ondersteuning|Physical|Fysiek
Movement Support|Bewegingsondersteuning|Physical|Fysiek
Motor Function Support|Ondersteuning van motorische functie|Physical|Fysiek
Movement Coordination|Bewegingscoordinatie|Physical|Fysiek
Motor Control Support|Ondersteuning van motorische controle|Physical|Fysiek
Multiple Sclerosis Support|MS-ondersteuning|Physical|Fysiek
MS Wellness Support|MS-wellnessondersteuning|Physical|Fysiek
Neurological Comfort|Neurologisch comfort|Physical|Fysiek
Essential Tremor Support|Ondersteuning bij essentiele tremor|Physical|Fysiek
Tremor Comfort|Tremorcomfort|Physical|Fysiek
Steady Hands Support|Ondersteuning voor stabiele handen|Physical|Fysiek
Epilepsy Wellness Support|Epilepsie-wellnessondersteuning|Physical|Fysiek
Calm Neural Activity|Kalme neurale activiteit|Physical|Fysiek
Migraine Support|Migraine-ondersteuning|Physical|Fysiek
Headache Relief Support|Ondersteuning bij hoofdpijnverlichting|Physical|Fysiek
Tension Headache Support|Ondersteuning bij spanningshoofdpijn|Physical|Fysiek
Cluster Headache Support|Ondersteuning bij clusterhoofdpijn|Physical|Fysiek
Post-Concussion Recovery Support|Ondersteuning na hersenschudding|Mental|Mentaal
Brain Recovery After Injury|Breinherstel na letsel|Mental|Mentaal
Head Injury Recovery Support|Ondersteuning na hoofdletsel|Mental|Mentaal
Stroke Recovery Support|Ondersteuning na beroerte|Physical|Fysiek
Post-Stroke Wellness|Wellness na beroerte|Physical|Fysiek
Neurological Rehabilitation Support|Neurologische revalidatie ondersteuning|Physical|Fysiek
Neuropathy Support|Neuropathie-ondersteuning|Physical|Fysiek
Peripheral Neuropathy Comfort|Comfort bij perifere neuropathie|Physical|Fysiek
Nerve Comfort|Zenuwcomfort|Physical|Fysiek
Healthy Nerve Function|Gezonde zenuwfunctie|Physical|Fysiek
Trigeminal Neuralgia Support|Ondersteuning bij trigeminusneuralgie|Physical|Fysiek
Facial Nerve Comfort|Comfort voor aangezichtszenuw|Physical|Fysiek
Bell's Palsy Recovery Support|Ondersteuning bij herstel na Bellse parese|Physical|Fysiek
Facial Muscle Recovery|Herstel van gezichtsspieren|Physical|Fysiek
Restless Legs Support|Ondersteuning bij rusteloze benen|Physical|Fysiek
Restless Legs Comfort|Comfort bij rusteloze benen|Physical|Fysiek
Tinnitus Support|Tinnitusondersteuning|Mental|Mentaal
Inner Calm for Tinnitus|Innerlijke rust bij tinnitus|Emotional|Emotioneel
Sound Perception Support|Ondersteuning van geluidsperceptie|Mental|Mentaal
Vertigo Support|Ondersteuning bij duizeligheid|Physical|Fysiek
Balance Support|Balansondersteuning|Physical|Fysiek
Dizziness Recovery Support|Ondersteuning bij herstel van duizeligheid|Physical|Fysiek
Sensory Processing Support|Sensorische verwerkingsondersteuning|Mental|Mentaal
Sensory Calm|Sensorische rust|Mental|Mentaal
Sensory Regulation|Sensorische regulatie|Mental|Mentaal
ADHD Focus Support|ADHD-focusondersteuning|Mental|Mentaal
Attention Regulation|Aandachtsregulatie|Mental|Mentaal
Executive Attention Support|Ondersteuning van executieve aandacht|Mental|Mentaal
Autism Relaxation Support|Autisme ontspanningsondersteuning|Emotional|Emotioneel
Autism Sensory Calm|Sensorische rust bij autisme|Mental|Mentaal
Autism Emotional Balance|Emotionele balans bij autisme|Emotional|Emotioneel
Tourette Syndrome Support|Tourette-syndroom ondersteuning|Mental|Mentaal
Motor & Vocal Calm|Motorische & vocale rust|Mental|Mentaal
Post-Viral Brain Fog Support|Ondersteuning bij postvirale brain fog|Mental|Mentaal
Cognitive Recovery Support|Cognitieve herstelondersteuning|Mental|Mentaal
Mental Fatigue Support|Ondersteuning bij mentale vermoeidheid|Mental|Mentaal
Fibromyalgia Neurological Support|Neurologische ondersteuning bij fibromyalgie|Physical|Fysiek
Central Sensitization Support|Ondersteuning bij centrale sensitisatie|Physical|Fysiek
Chronic Fatigue Brain Support|Breinondersteuning bij chronische vermoeidheid|Mental|Mentaal
ME/CFS Cognitive Support|Cognitieve ondersteuning bij ME/CVS|Mental|Mentaal
Neural Calm|Neurale rust|Physical|Fysiek
Neural Relaxation|Neurale ontspanning|Physical|Fysiek
Neural Harmony|Neurale harmonie|Mental|Mentaal
Neural Resilience|Neurale veerkracht|Mental|Mentaal
Neural Wellness|Neuraal welzijn|Mental|Mentaal
Brain Wellness Journey|Breinwelzijnsreis|Mental|Mentaal
Healthy Brain Rhythms|Gezonde breinritmes|Mental|Mentaal
Optimal Brain Function|Optimale breinfunctie|Mental|Mentaal
Neuro Recovery Protocol|Neuroherstel protocol|Mental|Mentaal
Brain Balance Protocol|Breinbalans protocol|Mental|Mentaal
Neuro Wellness Protocol|Neurowellness protocol|Mental|Mentaal
Whole Brain Integration|Integratie van het hele brein|Mental|Mentaal
Whole Brain Harmony|Harmonie van het hele brein|Mental|Mentaal
Interhemispheric Balance|Interhemisferische balans|Mental|Mentaal
Brainwave Balance|Hersengolfbalans|Mental|Mentaal
Neural Flow|Neurale flow|Mental|Mentaal
Neuro Relax|Neuro-ontspanning|Mental|Mentaal
Brain Reset|Breinreset|Mental|Mentaal
Cognitive Reset|Cognitieve reset|Mental|Mentaal
Healthy Neural Connections|Gezonde neurale verbindingen|Mental|Mentaal
Neural Restoration|Neuraal herstel|Mental|Mentaal
Mind-Body Neurological Balance|Lichaam-geest neurologische balans|Physical/Mental|Fysiek/Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_NEUROLOGICAL_SUPPORT_SESSION_DEFINITIONS = RECOVERY_NEUROLOGICAL_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [741, 852, 528, 432, 639, 417, 396, 963];
  const moods = ["Soft Soundscapes", "Binaural Deep Meditation", "Theta Soundscape", "Ambient", "Drone", "Meditation Bowls", "Cinematic Ambient"];
  const accents = ["#60a5fa", "#38bdf8", "#22c55e", "#a78bfa", "#14b8a6", "#818cf8", "#facc15", "#64748b"];
  return {
    id: `recovery-neurological-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [9.8, 10.4, 8.6, 7.2, 12.0, 6.4, 11.2, 5.8, 13.0, 7.8, 9.2, 6.8][index % 12],
    style: 2700 + index
  };
});

const RECOVERY_MUSCULOSKELETAL_SUPPORT_TITLE_PAIRS = `
Musculoskeletal Wellness|Bewegingsapparaat welzijn|Physical|Fysiek
Musculoskeletal Support|Ondersteuning van het bewegingsapparaat|Physical|Fysiek
Healthy Movement|Gezond bewegen|Physical|Fysiek
Movement Support|Bewegingsondersteuning|Physical|Fysiek
Movement Recovery|Bewegingsherstel|Physical|Fysiek
Move with Ease|Beweeg met gemak|Physical|Fysiek
Freedom of Movement|Bewegingsvrijheid|Physical|Fysiek
Comfortable Movement|Comfortabel bewegen|Physical|Fysiek
Pain Comfort Support|Pijncomfort ondersteuning|Physical|Fysiek
Body Comfort|Lichaamscomfort|Physical|Fysiek
Physical Comfort|Fysiek comfort|Physical|Fysiek
Body Recovery|Lichaamsherstel|Physical|Fysiek
Recovery & Mobility|Herstel & mobiliteit|Physical|Fysiek
Mobility Support|Mobiliteitsondersteuning|Physical|Fysiek
Joint Mobility|Gewrichtsmobiliteit|Physical|Fysiek
Joint Comfort|Gewrichtscomfort|Physical|Fysiek
Joint Wellness|Gewrichtswelzijn|Physical|Fysiek
Joint Flexibility|Gewrichtsflexibiliteit|Physical|Fysiek
Healthy Joints|Gezonde gewrichten|Physical|Fysiek
Joint Recovery|Gewrichtsherstel|Physical|Fysiek
Joint Support|Gewrichtsondersteuning|Physical|Fysiek
Flexibility Support|Flexibiliteitsondersteuning|Physical|Fysiek
Whole Body Flexibility|Flexibiliteit van het hele lichaam|Physical|Fysiek
Muscle Relaxation|Spierontspanning|Physical|Fysiek
Deep Muscle Relaxation|Diepe spierontspanning|Physical|Fysiek
Muscle Recovery|Spierherstel|Physical|Fysiek
Muscle Comfort|Spiercomfort|Physical|Fysiek
Healthy Muscles|Gezonde spieren|Physical|Fysiek
Muscle Wellness|Spierwelzijn|Physical|Fysiek
Muscle Recovery After Exercise|Spierherstel na inspanning|Physical|Fysiek
Muscle Fatigue Recovery|Herstel bij spiervermoeidheid|Physical|Fysiek
Muscle Balance|Spierbalans|Physical|Fysiek
Muscle Tension Release|Spierspanning loslaten|Physical|Fysiek
Release Physical Tension|Fysieke spanning loslaten|Physical|Fysiek
Body Relaxation|Lichaamsontspanning|Physical|Fysiek
Posture Support|Houdingsondersteuning|Physical|Fysiek
Healthy Posture|Gezonde houding|Physical|Fysiek
Postural Balance|Houdingsbalans|Physical|Fysiek
Back Comfort|Rugcomfort|Physical|Fysiek
Healthy Back|Gezonde rug|Physical|Fysiek
Lower Back Comfort|Onderrugcomfort|Physical|Fysiek
Upper Back Comfort|Bovenrugcomfort|Physical|Fysiek
Neck Comfort|Nekcomfort|Physical|Fysiek
Shoulder Comfort|Schoudercomfort|Physical|Fysiek
Hip Comfort|Heupcomfort|Physical|Fysiek
Knee Comfort|Kniecomfort|Physical|Fysiek
Ankle Comfort|Enkelcomfort|Physical|Fysiek
Foot Comfort|Voetcomfort|Physical|Fysiek
Hand & Wrist Comfort|Hand- & polscomfort|Physical|Fysiek
Elbow Comfort|Elleboogcomfort|Physical|Fysiek
Arm Comfort|Armcomfort|Physical|Fysiek
Leg Comfort|Beencomfort|Physical|Fysiek
Pelvic Comfort|Bekkencomfort|Physical|Fysiek
Spinal Wellness|Wervelkolomwelzijn|Physical|Fysiek
Healthy Spine|Gezonde wervelkolom|Physical|Fysiek
Spinal Mobility|Wervelkolommobiliteit|Physical|Fysiek
Spinal Comfort|Wervelkolomcomfort|Physical|Fysiek
Healthy Connective Tissue|Gezond bindweefsel|Physical|Fysiek
Fascia Relaxation|Fascia-ontspanning|Physical|Fysiek
Myofascial Comfort|Myofasciaal comfort|Physical|Fysiek
Tendon Wellness|Peeswelzijn|Physical|Fysiek
Ligament Support|Bandondersteuning|Physical|Fysiek
Healthy Connective Tissue Support|Ondersteuning voor gezond bindweefsel|Physical|Fysiek
Arthritis Comfort Support|Comfortondersteuning bij artritis|Physical|Fysiek
Osteoarthritis Support|Artrose-ondersteuning|Physical|Fysiek
Rheumatoid Arthritis Comfort|Comfort bij reumatoide artritis|Physical|Fysiek
Joint Stiffness Support|Ondersteuning bij gewrichtsstijfheid|Physical|Fysiek
Fibromyalgia Comfort Support|Comfortondersteuning bij fibromyalgie|Physical|Fysiek
Fibromyalgia Relaxation|Fibromyalgie-ontspanning|Physical|Fysiek
Widespread Pain Comfort|Comfort bij wijdverspreide pijn|Physical|Fysiek
Chronic Pain Support|Ondersteuning bij chronische pijn|Physical|Fysiek
Persistent Pain Comfort|Comfort bij aanhoudende pijn|Physical|Fysiek
Pain Management Support|Ondersteuning bij pijnmanagement|Physical|Fysiek
Pain Relief Relaxation|Ontspanning bij pijnverlichting|Physical|Fysiek
Back Pain Support|Ondersteuning bij rugpijn|Physical|Fysiek
Lower Back Wellness|Onderrugwelzijn|Physical|Fysiek
Sciatica Comfort Support|Comfortondersteuning bij ischias|Physical|Fysiek
Neck Pain Support|Ondersteuning bij nekpijn|Physical|Fysiek
Shoulder Pain Support|Ondersteuning bij schouderpijn|Physical|Fysiek
Frozen Shoulder Support|Ondersteuning bij frozen shoulder|Physical|Fysiek
Rotator Cuff Recovery Support|Ondersteuning bij rotator cuff herstel|Physical|Fysiek
Tennis Elbow Support|Tenniselleboog ondersteuning|Physical|Fysiek
Golfer's Elbow Support|Golferselleboog ondersteuning|Physical|Fysiek
Carpal Tunnel Comfort|Carpaletunnelcomfort|Physical|Fysiek
Trigger Finger Support|Triggerfinger ondersteuning|Physical|Fysiek
Hip Mobility Support|Heupmobiliteitsondersteuning|Physical|Fysiek
Hip Replacement Recovery Support|Ondersteuning na heupprothese|Physical|Fysiek
Knee Recovery Support|Knieherstel ondersteuning|Physical|Fysiek
Knee Replacement Recovery Support|Ondersteuning na knieprothese|Physical|Fysiek
Runner's Knee Support|Runner's knee ondersteuning|Physical|Fysiek
IT Band Comfort|IT-band comfort|Physical|Fysiek
Achilles Tendon Support|Achillespees ondersteuning|Physical|Fysiek
Plantar Fasciitis Comfort|Comfort bij plantaire fasciitis|Physical|Fysiek
Heel Comfort|Hielcomfort|Physical|Fysiek
Osteoporosis Wellness Support|Osteoporose-wellnessondersteuning|Physical|Fysiek
Bone Health Support|Botgezondheid ondersteuning|Physical|Fysiek
Healthy Bones|Gezonde botten|Physical|Fysiek
Bone Strength Support|Botsterkte ondersteuning|Physical|Fysiek
Muscle Spasm Relief Support|Ondersteuning bij spierspasmeverlichting|Physical|Fysiek
Muscle Cramp Comfort|Comfort bij spierkramp|Physical|Fysiek
Stiff Muscles Recovery|Herstel bij stijve spieren|Physical|Fysiek
Sports Injury Recovery|Herstel na sportblessure|Physical|Fysiek
Rehabilitation Support|Revalidatieondersteuning|Physical|Fysiek
Physical Rehabilitation|Fysieke revalidatie|Physical|Fysiek
Orthopedic Recovery|Orthopedisch herstel|Physical|Fysiek
Recovery After Surgery|Herstel na operatie|Physical|Fysiek
Joint Surgery Recovery|Herstel na gewrichtsoperatie|Physical|Fysiek
Muscle Healing Support|Ondersteuning bij spierherstel|Physical|Fysiek
Soft Tissue Recovery|Herstel van zacht weefsel|Physical|Fysiek
Physical Healing Journey|Fysieke herstelreis|Physical|Fysiek
Healthy Balance|Gezonde balans|Physical|Fysiek
Fall Prevention Support|Valpreventie ondersteuning|Physical|Fysiek
Walking with Confidence|Zelfverzekerd lopen|Physical|Fysiek
Improved Coordination|Verbeterde coordinatie|Physical|Fysiek
Healthy Gait|Gezond looppatroon|Physical|Fysiek
Functional Movement|Functioneel bewegen|Physical|Fysiek
Daily Mobility|Dagelijkse mobiliteit|Physical|Fysiek
Active Lifestyle|Actieve leefstijl|Physical|Fysiek
Stay Active|Blijf actief|Physical|Fysiek
Move Every Day|Beweeg elke dag|Physical|Fysiek
Morning Stretch Preparation|Voorbereiding op ochtendstretch|Physical|Fysiek
Evening Muscle Relaxation|Avondspierontspanning|Physical|Fysiek
Recovery After Physical Work|Herstel na fysiek werk|Physical|Fysiek
Desk Worker Recovery|Herstel voor bureauwerkers|Physical|Fysiek
Standing Comfort|Sta-comfort|Physical|Fysiek
Lifting Recovery|Herstel na tillen|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Body Alignment|Lichaamsuitlijning|Physical|Fysiek
Structural Balance|Structurele balans|Physical|Fysiek
Comfortable Aging|Comfortabel ouder worden|Physical|Fysiek
Healthy Aging Mobility|Mobiliteit bij gezond ouder worden|Physical|Fysiek
Maintain Independence|Zelfstandigheid behouden|Physical|Fysiek
Physical Resilience|Fysieke veerkracht|Physical|Fysiek
Strength & Stability|Kracht & stabiliteit|Physical|Fysiek
Core Stability Support|Rompstabiliteit ondersteuning|Physical|Fysiek
Balance & Stability|Balans & stabiliteit|Physical|Fysiek
Everyday Mobility|Alledaagse mobiliteit|Physical|Fysiek
Optimal Movement|Optimale beweging|Physical|Fysiek
Body Mechanics|Lichaamsmechanica|Physical|Fysiek
Move Without Fear|Bewegen zonder angst|Emotional|Emotioneel
Confidence in Movement|Vertrouwen in beweging|Emotional|Emotioneel
Relax into Movement|Ontspan in beweging|Emotional|Emotioneel
Mindful Movement|Mindful bewegen|Spiritual|Spiritueel
Body Awareness|Lichaamsbewustzijn|Mental|Mentaal
Mind-Body Movement|Lichaam-geest beweging|Spiritual|Spiritueel
Restore Physical Balance|Herstel fysieke balans|Physical|Fysiek
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Movement Freedom|Bewegingsvrijheid|Physical|Fysiek
Comfort in Motion|Comfort in beweging|Physical|Fysiek
Healthy Motion|Gezonde beweging|Physical|Fysiek
Body Vitality|Lichaamsvitaliteit|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_MUSCULOSKELETAL_SUPPORT_SESSION_DEFINITIONS = RECOVERY_MUSCULOSKELETAL_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 432, 639, 417, 741, 396, 852];
  const moods = ["Soft Soundscapes", "Ambient", "Theta Soundscape", "Binaural Deep Meditation", "Drone", "Cinematic Ambient", "Meditation Bowls"];
  const accents = ["#22c55e", "#14b8a6", "#84cc16", "#facc15", "#38bdf8", "#fb923c", "#a3e635", "#2dd4bf"];
  return {
    id: `recovery-musculoskeletal-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [7.2, 8.4, 6.2, 9.0, 5.8, 10.2, 7.8, 6.8, 8.8, 5.4, 9.6, 7.0][index % 12],
    style: 2900 + index
  };
});

const RECOVERY_CARDIOVASCULAR_SUPPORT_TITLE_PAIRS = `
Cardiovascular Wellness|Cardiovasculair welzijn|Physical|Fysiek
Cardiovascular Support|Cardiovasculaire ondersteuning|Physical|Fysiek
Healthy Heart|Gezond hart|Physical|Fysiek
Heart Wellness|Hartwelzijn|Physical|Fysiek
Heart Vitality|Hartvitaliteit|Physical|Fysiek
Heart Health Support|Ondersteuning van hartgezondheid|Physical|Fysiek
Heart Balance|Hartbalans|Physical|Fysiek
Heart Rhythm Support|Hartritme ondersteuning|Physical|Fysiek
Healthy Heart Rhythm|Gezond hartritme|Physical|Fysiek
Heart Rhythm Harmony|Hartritmeharmonie|Physical|Fysiek
Heart Rhythm Balance|Hartritmebalans|Physical|Fysiek
Heart Rhythm Recovery|Hartritmeherstel|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Deep Heart Coherence|Diepe hartcoherentie|Physical|Fysiek
Heart-Brain Coherence|Hart-breincoherentie|Physical/Mental|Fysiek/Mentaal
Heart-Brain Synchronization|Hart-breinsynchronisatie|Physical/Mental|Fysiek/Mentaal
Heart Harmony|Hartharmonie|Emotional|Emotioneel
Calm Heart|Kalm hart|Emotional|Emotioneel
Peaceful Heart|Vredig hart|Emotional|Emotioneel
Strong Heart|Sterk hart|Emotional|Emotioneel
Heart Recovery|Hartherstel|Physical|Fysiek
Daily Heart Wellness|Dagelijks hartwelzijn|Physical|Fysiek
Morning Heart Health|Ochtendhartgezondheid|Physical|Fysiek
Evening Heart Relaxation|Avondhartontspanning|Physical|Fysiek
Heart Recovery After Stress|Hartherstel na stress|Physical|Fysiek
Cardiac Recovery Support|Cardiale herstelondersteuning|Physical|Fysiek
Heart Energy|Hartenergie|Physical|Fysiek
Healthy Circulation|Gezonde circulatie|Physical|Fysiek
Circulation Support|Circulatieondersteuning|Physical|Fysiek
Healthy Blood Flow|Gezonde bloedstroom|Physical|Fysiek
Circulatory Wellness|Circulatiewelzijn|Physical|Fysiek
Peripheral Circulation Support|Perifere circulatie ondersteuning|Physical|Fysiek
Microcirculation Support|Microcirculatie ondersteuning|Physical|Fysiek
Healthy Vascular Function|Gezonde vaatfunctie|Physical|Fysiek
Vascular Wellness|Vaatwelzijn|Physical|Fysiek
Healthy Blood Vessels|Gezonde bloedvaten|Physical|Fysiek
Arterial Wellness|Arterieel welzijn|Physical|Fysiek
Venous Wellness|Veneus welzijn|Physical|Fysiek
Healthy Veins|Gezonde aderen|Physical|Fysiek
Capillary Support|Capillaire ondersteuning|Physical|Fysiek
Cardiovascular Recovery|Cardiovasculair herstel|Physical|Fysiek
Heart & Circulation|Hart & circulatie|Physical|Fysiek
Cardiovascular Balance|Cardiovasculaire balans|Physical|Fysiek
Heart Performance|Hartprestatie|Physical|Fysiek
Healthy Endurance|Gezond uithoudingsvermogen|Physical|Fysiek
Cardiovascular Fitness|Cardiovasculaire fitheid|Physical|Fysiek
Heart Endurance|Hartuithoudingsvermogen|Physical|Fysiek
Healthy Oxygen Delivery|Gezonde zuurstofaanvoer|Physical|Fysiek
Cardiorespiratory Wellness|Cardiorespiratoir welzijn|Physical|Fysiek
Heart & Lung Harmony|Hart-long harmonie|Physical|Fysiek
HRV Optimization|HRV-optimalisatie|Physical|Fysiek
HRV Balance|HRV-balans|Physical|Fysiek
HRV Recovery|HRV-herstel|Physical|Fysiek
Heart Rate Variability Support|Ondersteuning van hartritmevariabiliteit|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Parasympathetic Activation|Parasympathische activatie|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Vagus Nerve Activation|Activatie van de nervus vagus|Physical|Fysiek
Vagal Tone Support|Ondersteuning van vagale tonus|Physical|Fysiek
Resonance Breathing|Resonantieademhaling|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Breathing|Hartademhaling|Physical|Fysiek
Rhythmic Breathing|Ritmische ademhaling|Physical|Fysiek
Calm Breathing|Kalme ademhaling|Physical|Fysiek
Breathing for Heart Health|Ademen voor hartgezondheid|Physical|Fysiek
Relaxed Heart|Ontspannen hart|Emotional|Emotioneel
Heart Meditation|Hartmeditatie|Spiritual|Spiritueel
Heart-Centered Relaxation|Hartgerichte ontspanning|Spiritual|Spiritueel
Heart-Centered Awareness|Hartgericht gewaarzijn|Spiritual|Spiritueel
Compassionate Heart|Compassievol hart|Spiritual|Spiritueel
Heart of Gratitude|Hart van dankbaarheid|Spiritual|Spiritueel
Grateful Heart|Dankbaar hart|Spiritual|Spiritueel
Heart of Peace|Hart van vrede|Spiritual|Spiritueel
Loving Heart|Liefdevol hart|Spiritual|Spiritueel
Emotional Heart Balance|Emotionele hartbalans|Emotional|Emotioneel
Heart Emotional Recovery|Emotioneel hartherstel|Emotional|Emotioneel
Stress-Free Heart|Stressvrij hart|Emotional|Emotioneel
Release Emotional Pressure|Emotionele druk loslaten|Emotional|Emotioneel
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Relaxation for Heart Wellness|Ontspanning voor hartwelzijn|Emotional|Emotioneel
Healthy Blood Pressure Support|Ondersteuning van gezonde bloeddruk|Physical|Fysiek
Blood Pressure Relaxation|Bloeddrukontspanning|Physical|Fysiek
Healthy Blood Pressure Balance|Gezonde bloeddrukbalans|Physical|Fysiek
Circulatory Relaxation|Circulatoire ontspanning|Physical|Fysiek
Relaxed Circulation|Ontspannen circulatie|Physical|Fysiek
Healthy Pulse|Gezonde polsslag|Physical|Fysiek
Heart Rhythm Relaxation|Hartritmeontspanning|Physical|Fysiek
Heartbeat Harmony|Hartslagharmonie|Physical|Fysiek
Cardiac Calm|Cardiale kalmte|Emotional|Emotioneel
Cardiac Wellness Journey|Cardiale welzijnsreis|Physical|Fysiek
Heart Healing Meditation|Harthelingsmeditatie|Spiritual|Spiritueel
Heart Renewal|Hartvernieuwing|Emotional|Emotioneel
Heart Restoration|Hartherstel|Emotional|Emotioneel
Heart Strength|Hartkracht|Emotional|Emotioneel
Healthy Aging Heart|Gezond ouder wordend hart|Physical|Fysiek
Senior Heart Wellness|Hartwelzijn voor senioren|Physical|Fysiek
Longevity Heart Support|Longevity ondersteuning voor het hart|Physical|Fysiek
Heart Vitality 60+|Hartvitaliteit 60+|Physical|Fysiek
Heart-Friendly Lifestyle|Hartvriendelijke leefstijl|Physical|Fysiek
Wellness for the Heart|Wellness voor het hart|Physical|Fysiek
Everyday Heart Care|Dagelijkse hartzorg|Physical|Fysiek
Heart Health Journey|Hartgezondheidsreis|Physical|Fysiek
Healthy Lifestyle for the Heart|Gezonde leefstijl voor het hart|Physical|Fysiek
Heart Wellness Protocol|Hartwelzijn protocol|Physical|Fysiek
Cardiovascular Relaxation|Cardiovasculaire ontspanning|Physical|Fysiek
Recovery After Cardiac Stress|Herstel na cardiale stress|Physical|Fysiek
Gentle Heart Recovery|Zacht hartherstel|Physical|Fysiek
Whole Body Circulation|Circulatie door het hele lichaam|Physical|Fysiek
Vital Circulation|Vitale circulatie|Physical|Fysiek
Daily Circulation Boost|Dagelijkse circulatieboost|Physical|Fysiek
Rest & Recover for the Heart|Rust & herstel voor het hart|Physical|Fysiek
Optimal Heart Wellness|Optimaal hartwelzijn|Physical|Fysiek
Optimal Circulation|Optimale circulatie|Physical|Fysiek
Strong Circulation|Sterke circulatie|Physical|Fysiek
Heart Flow|Hartflow|Physical|Fysiek
Healthy Blood Flow Protocol|Gezonde bloedstroom protocol|Physical|Fysiek
Relaxed Cardiovascular System|Ontspannen cardiovasculair systeem|Physical|Fysiek
The Coherent Heart|Het coherente hart|Physical|Fysiek
Heart Balance Protocol|Hartbalans protocol|Physical|Fysiek
Heart Wellness Essentials|Essentie van hartwelzijn|Physical|Fysiek
Cardiovascular Harmony|Cardiovasculaire harmonie|Physical|Fysiek
Heart Health Reset|Hartgezondheidsreset|Physical|Fysiek
Cardiovascular Vitality|Cardiovasculaire vitaliteit|Physical|Fysiek
Every Beat Matters|Elke hartslag telt|Emotional|Emotioneel
Heart of Life|Hart van het leven|Spiritual|Spiritueel
Healthy Heart, Healthy Life|Gezond hart, gezond leven|Physical|Fysiek
Calm Heart, Calm Mind|Kalm hart, kalme geest|Physical/Mental|Fysiek/Mentaal
Balanced Heart, Balanced Life|Gebalanceerd hart, gebalanceerd leven|Physical/Emotional|Fysiek/Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_CARDIOVASCULAR_SUPPORT_SESSION_DEFINITIONS = RECOVERY_CARDIOVASCULAR_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [639, 528, 432, 741, 417, 852, 396];
  const moods = ["Soft Soundscapes", "Binaural Deep Meditation", "Theta Soundscape", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#ef4444", "#f472b6", "#fb7185", "#14b8a6", "#38bdf8", "#facc15", "#c084fc", "#22c55e"];
  return {
    id: `recovery-cardiovascular-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[index % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    coherenceBase: [6.0, 5.8, 6.2, 5.6, 6.4, 5.5, 6.1, 5.9, 6.3, 5.7, 6.0, 6.5][index % 12],
    style: 3100 + index
  };
});

const RECOVERY_RESPIRATORY_SUPPORT_TITLE_PAIRS = `
Respiratory Wellness|Ademhalingswelzijn|Physical|Fysiek
Respiratory Support|Ademhalingsondersteuning|Physical|Fysiek
Healthy Breathing|Gezonde ademhaling|Physical|Fysiek
Natural Breathing|Natuurlijke ademhaling|Physical|Fysiek
Easy Breathing|Gemakkelijk ademen|Physical|Fysiek
Comfortable Breathing|Comfortabel ademen|Physical|Fysiek
Free Breathing|Vrij ademen|Physical|Fysiek
Breathing with Ease|Ademen met gemak|Physical|Fysiek
Breathing Freedom|Ademvrijheid|Physical|Fysiek
Breathing Comfort|Ademcomfort|Physical|Fysiek
Breath Awareness|Adembewustzijn|Physical|Fysiek
Mindful Breathing|Mindful ademen|Spiritual|Spiritueel
Conscious Breathing|Bewust ademen|Spiritual|Spiritueel
Relaxed Breathing|Ontspannen ademhaling|Physical|Fysiek
Gentle Breathing|Zachte ademhaling|Physical|Fysiek
Calm Breathing|Kalme ademhaling|Physical|Fysiek
Deep Breathing|Diepe ademhaling|Physical|Fysiek
Slow Breathing|Langzame ademhaling|Physical|Fysiek
Rhythmic Breathing|Ritmische ademhaling|Physical|Fysiek
Balanced Breathing|Gebalanceerde ademhaling|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Resonance Breathing|Resonantieademhaling|Physical|Fysiek
Heart Breathing|Hartademhaling|Physical|Fysiek
Diaphragmatic Breathing|Diafragmatische ademhaling|Physical|Fysiek
Abdominal Breathing|Buikademhaling|Physical|Fysiek
Breath Control|Ademcontrole|Physical|Fysiek
Breath Regulation|Ademregulatie|Physical|Fysiek
Breath Recovery|Ademherstel|Physical|Fysiek
Breathing Reset|Ademhalingsreset|Physical|Fysiek
Healthy Oxygenation|Gezonde oxygenatie|Physical|Fysiek
Oxygen Optimization|Zuurstofoptimalisatie|Physical|Fysiek
Oxygen Flow|Zuurstofflow|Physical|Fysiek
Healthy Airflow|Gezonde luchtstroom|Physical|Fysiek
Respiratory Recovery|Ademhalingsherstel|Physical|Fysiek
Lung Wellness|Longwelzijn|Physical|Fysiek
Healthy Lungs|Gezonde longen|Physical|Fysiek
Lung Vitality|Longvitaliteit|Physical|Fysiek
Lung Relaxation|Longontspanning|Physical|Fysiek
Lung Recovery Support|Ondersteuning van longherstel|Physical|Fysiek
Healthy Respiratory Rhythm|Gezond ademhalingsritme|Physical|Fysiek
Breathing Rhythm|Ademritme|Physical|Fysiek
Respiratory Balance|Ademhalingsbalans|Physical|Fysiek
Respiratory Relaxation|Ademhalingsontspanning|Physical|Fysiek
Daily Breathing Practice|Dagelijkse ademhalingsoefening|Physical|Fysiek
Morning Breathing|Ochtendademhaling|Physical|Fysiek
Evening Breathing|Avondademhaling|Physical|Fysiek
Breathing for Relaxation|Ademen voor ontspanning|Physical|Fysiek
Breathing for Sleep|Ademen voor slaap|Physical|Fysiek
Breathing for Recovery|Ademen voor herstel|Physical|Fysiek
Breathing for Energy|Ademen voor energie|Physical|Fysiek
Breathing for Focus|Ademen voor focus|Mental|Mentaal
Breathing for Calm|Ademen voor kalmte|Emotional|Emotioneel
Breathing for Resilience|Ademen voor veerkracht|Mental|Mentaal
Breathing & Balance|Ademhaling & balans|Physical|Fysiek
Breathing & Vitality|Ademhaling & vitaliteit|Physical|Fysiek
Healthy Respiratory Function|Gezonde ademhalingsfunctie|Physical|Fysiek
Lung Capacity Support|Ondersteuning van longcapaciteit|Physical|Fysiek
Breathing Efficiency|Ademefficientie|Physical|Fysiek
Optimal Breathing|Optimale ademhaling|Physical|Fysiek
Optimal Respiratory Function|Optimale ademhalingsfunctie|Physical|Fysiek
Open Breathing|Open ademhaling|Physical|Fysiek
Open Chest Relaxation|Open borst ontspanning|Physical|Fysiek
Chest Relaxation|Borstontspanning|Physical|Fysiek
Chest Comfort|Borstcomfort|Physical|Fysiek
Respiratory Comfort|Ademhalingscomfort|Physical|Fysiek
Easy Airflow|Gemakkelijke luchtstroom|Physical|Fysiek
Gentle Respiratory Recovery|Zacht ademhalingsherstel|Physical|Fysiek
Healthy Airways|Gezonde luchtwegen|Physical|Fysiek
Airway Comfort|Luchtwegcomfort|Physical|Fysiek
Healthy Nasal Breathing|Gezonde neusademhaling|Physical|Fysiek
Nasal Breathing Practice|Neusademhalingsoefening|Physical|Fysiek
Breathe Through the Nose|Adem door de neus|Physical|Fysiek
Functional Breathing|Functionele ademhaling|Physical|Fysiek
Efficient Breathing|Efficient ademen|Physical|Fysiek
Everyday Breathing|Dagelijkse ademhaling|Physical|Fysiek
The Power of Breath|De kracht van adem|Spiritual|Spiritueel
Breath of Life|Adem van het leven|Spiritual|Spiritueel
Sacred Breath|Heilige adem|Spiritual|Spiritueel
Life Through Breath|Leven door adem|Spiritual|Spiritueel
Breathing Meditation|Ademhalingsmeditatie|Spiritual|Spiritueel
Breath Awareness Meditation|Adembewustzijn meditatie|Spiritual|Spiritueel
Inner Breath|Innerlijke adem|Spiritual|Spiritueel
Peaceful Breathing|Vredig ademen|Spiritual|Spiritueel
Quiet Breath|Stille adem|Spiritual|Spiritueel
Stillness Through Breath|Stilte door adem|Spiritual|Spiritueel
Breathing Into Peace|Ademen naar vrede|Spiritual|Spiritueel
Relax Into Your Breath|Ontspan in je adem|Spiritual|Spiritueel
Calm the Breath|Kalmeer de adem|Emotional|Emotioneel
Release Through Breathing|Loslaten door ademhaling|Emotional|Emotioneel
Breathing Away Stress|Stress wegademen|Emotional|Emotioneel
Stress-Free Breathing|Stressvrij ademen|Emotional|Emotioneel
Anxiety Breathing Support|Ademhalingsondersteuning bij angst|Emotional|Emotioneel
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Breathing Confidence|Ademvertrouwen|Emotional|Emotioneel
Breathing Without Fear|Ademen zonder angst|Emotional|Emotioneel
Confident Breathing|Vertrouwd ademen|Emotional|Emotioneel
Healthy Breath, Healthy Life|Gezonde adem, gezond leven|Physical|Fysiek
Lung Wellness Journey|Longwelzijnsreis|Physical|Fysiek
Respiratory Wellness Protocol|Ademhalingswelzijn protocol|Physical|Fysiek
Lung Recovery Protocol|Longherstel protocol|Physical|Fysiek
Optimal Lung Function|Optimale longfunctie|Physical|Fysiek
Healthy Respiratory Lifestyle|Gezonde ademhalingsleefstijl|Physical|Fysiek
Every Breath Counts|Elke ademhaling telt|Emotional|Emotioneel
Fresh Air, Fresh Mind|Frisse lucht, frisse geest|Mental|Mentaal
Breathe & Recharge|Adem & laad op|Physical|Fysiek
Breathing Reset Protocol|Ademhalingsreset protocol|Physical|Fysiek
Restore Your Breath|Herstel je adem|Physical|Fysiek
Revitalize Your Breath|Revitaliseer je adem|Physical|Fysiek
Breathe with Confidence|Adem met vertrouwen|Emotional|Emotioneel
Gentle Lung Care|Zachte longzorg|Physical|Fysiek
Breath & Relax|Adem & ontspan|Emotional|Emotioneel
Lung Harmony|Longharmonie|Physical|Fysiek
Respiratory Harmony|Ademhalingsharmonie|Physical|Fysiek
Breathing Flow|Ademflow|Physical|Fysiek
Vital Breath|Vitale adem|Physical|Fysiek
Healthy Breathing Habits|Gezonde ademhalingsgewoonten|Mental|Mentaal
Full Breath Awareness|Volledig adembewustzijn|Spiritual|Spiritueel
Balanced Respiratory System|Gebalanceerd ademhalingssysteem|Physical|Fysiek
Deep Respiratory Relaxation|Diepe ademhalingsontspanning|Physical|Fysiek
Whole Body Oxygenation|Oxygenatie van het hele lichaam|Physical|Fysiek
Breath for Healing Support|Adem ter ondersteuning van herstel|Physical|Fysiek
Recovery Through Breath|Herstel door adem|Physical|Fysiek
Respiratory Resilience|Ademhalingsveerkracht|Physical|Fysiek
Healthy Breathing Rhythm|Gezond ademritme|Physical|Fysiek
Lung Vitality Boost|Longvitaliteitsboost|Physical|Fysiek
Airway Relaxation|Luchtwegontspanning|Physical|Fysiek
Gentle Breath Flow|Zachte ademflow|Physical|Fysiek
Asthma Support|Astma ondersteuning|Physical|Fysiek
Asthma Relaxation Support|Ontspanningsondersteuning bij astma|Physical|Fysiek
COPD Wellness Support|COPD welzijnsondersteuning|Physical|Fysiek
Healthy Lung Recovery|Gezond longherstel|Physical|Fysiek
Post-Viral Respiratory Recovery|Postviraal ademhalingsherstel|Physical|Fysiek
Long COVID Respiratory Support|Long COVID ademhalingsondersteuning|Physical|Fysiek
Pneumonia Recovery Support|Herstelondersteuning na longontsteking|Physical|Fysiek
Bronchitis Recovery Support|Herstelondersteuning bij bronchitis|Physical|Fysiek
Respiratory Infection Recovery|Herstel na luchtweginfectie|Physical|Fysiek
Allergy Breathing Support|Ademhalingsondersteuning bij allergie|Physical|Fysiek
Sinus Comfort|Sinuscomfort|Physical|Fysiek
Hay Fever Breathing Support|Ademhalingsondersteuning bij hooikoorts|Physical|Fysiek
Post-COVID Breathing Recovery|Post-COVID ademherstel|Physical|Fysiek
Sleep Apnea Relaxation Support|Ontspanningsondersteuning bij slaapapneu|Physical|Fysiek
Smoker's Recovery Support|Herstelondersteuning voor rokers|Physical|Fysiek
Respiratory Rehabilitation Support|Ademhalingsrevalidatie ondersteuning|Physical|Fysiek
Pulmonary Wellness|Pulmonaal welzijn|Physical|Fysiek
Pulmonary Recovery|Pulmonaal herstel|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_RESPIRATORY_SUPPORT_SESSION_DEFINITIONS = RECOVERY_RESPIRATORY_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [741, 639, 528, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Binaural Deep Meditation", "Theta Soundscape", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#14b8a6", "#22c55e", "#60a5fa", "#a7f3d0", "#facc15", "#c084fc", "#f472b6"];
  return {
    id: `recovery-respiratory-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 2) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    breathBase: [5.5, 6.0, 6.5, 5.8, 6.2, 4.8, 7.2, 6.8, 5.2, 7.6, 4.5, 8.0][index % 12],
    style: 3200 + index
  };
});

const RECOVERY_DIGESTIVE_SUPPORT_TITLE_PAIRS = `
Digestive Wellness|Spijsverteringswelzijn|Physical|Fysiek
Digestive Support|Spijsverteringsondersteuning|Physical|Fysiek
Healthy Digestion|Gezonde spijsvertering|Physical|Fysiek
Digestive Comfort|Spijsverteringscomfort|Physical|Fysiek
Digestive Relaxation|Spijsverteringsontspanning|Physical|Fysiek
Digestive Balance|Spijsverteringsbalans|Physical|Fysiek
Digestive Harmony|Spijsverteringsharmonie|Physical|Fysiek
Optimal Digestion|Optimale spijsvertering|Physical|Fysiek
Comfortable Digestion|Comfortabele spijsvertering|Physical|Fysiek
Digestive Recovery|Spijsverteringsherstel|Physical|Fysiek
Digestive Vitality|Spijsverteringsvitaliteit|Physical|Fysiek
Healthy Gut|Gezonde darm|Physical|Fysiek
Gut Wellness|Darmwelzijn|Physical|Fysiek
Gut Balance|Darmbalans|Physical|Fysiek
Gut Harmony|Darmharmonie|Physical|Fysiek
Gut Recovery|Darmherstel|Physical|Fysiek
Healthy Gut Function|Gezonde darmfunctie|Physical|Fysiek
Gut-Brain Balance|Darm-breinbalans|Physical/Mental|Fysiek/Mentaal
Gut-Brain Harmony|Darm-breinharmonie|Physical/Mental|Fysiek/Mentaal
Gut-Brain Connection|Darm-breinverbinding|Mental|Mentaal
Healthy Microbiome Support|Ondersteuning van gezond microbioom|Physical|Fysiek
Microbiome Wellness|Microbioomwelzijn|Physical|Fysiek
Healthy Intestinal Function|Gezonde darmfunctie|Physical|Fysiek
Intestinal Comfort|Intestinaal comfort|Physical|Fysiek
Healthy Bowel Function|Gezonde stoelgangfunctie|Physical|Fysiek
Gentle Digestion|Zachte spijsvertering|Physical|Fysiek
Digestive Ease|Gemakkelijke spijsvertering|Physical|Fysiek
Digestive Calm|Kalme spijsvertering|Physical|Fysiek
Calm Digestive System|Kalm spijsverteringssysteem|Physical|Fysiek
Relaxed Abdomen|Ontspannen buik|Physical|Fysiek
Abdominal Relaxation|Buikontspanning|Physical|Fysiek
Digestive Stress Relief|Spijsverteringsstress verlichting|Emotional|Emotioneel
Comfort After Meals|Comfort na maaltijden|Physical|Fysiek
Relax After Eating|Ontspannen na het eten|Physical|Fysiek
Mindful Eating|Mindful eten|Mental|Mentaal
Healthy Eating Mindset|Gezonde eetmindset|Mental|Mentaal
Digestive Resilience|Spijsverteringsveerkracht|Physical|Fysiek
Digestive Health Journey|Spijsverteringsgezondheidsreis|Physical|Fysiek
Digestive Wellness Protocol|Spijsverteringswelzijn protocol|Physical|Fysiek
Healthy Gut Lifestyle|Gezonde darmleefstijl|Physical|Fysiek
Digestive Reset|Spijsverteringsreset|Physical|Fysiek
Gut Reset|Darmreset|Physical|Fysiek
Whole Digestive Wellness|Volledig spijsverteringswelzijn|Physical|Fysiek
Daily Digestive Wellness|Dagelijks spijsverteringswelzijn|Physical|Fysiek
Morning Digestive Support|Ochtendondersteuning voor spijsvertering|Physical|Fysiek
Evening Digestive Calm|Avondrust voor spijsvertering|Physical|Fysiek
Healthy Digestive Rhythm|Gezond spijsverteringsritme|Physical|Fysiek
Digestive Rhythm|Spijsverteringsritme|Physical|Fysiek
Natural Digestion|Natuurlijke spijsvertering|Physical|Fysiek
Comfortable Gut|Comfortabele darm|Physical|Fysiek
Gut Relaxation|Darmontspanning|Physical|Fysiek
Digestive Flow|Spijsverteringsflow|Physical|Fysiek
Healthy Elimination Support|Ondersteuning van gezonde uitscheiding|Physical|Fysiek
Digestive Recovery After Stress|Spijsverteringsherstel na stress|Physical|Fysiek
Calm Gut, Calm Mind|Kalme darm, kalme geest|Physical/Mental|Fysiek/Mentaal
Digestive Recovery Protocol|Spijsverteringsherstel protocol|Physical|Fysiek
Digestive Harmony Meditation|Spijsverteringsharmonie meditatie|Spiritual|Spiritueel
Digestive Mindfulness|Spijsverteringsmindfulness|Spiritual|Spiritueel
Gut Healing Meditation|Darmherstel meditatie|Spiritual|Spiritueel
Abdominal Breathing|Buikademhaling|Physical|Fysiek
Diaphragmatic Relaxation|Diafragmatische ontspanning|Physical|Fysiek
Breathing for Digestion|Ademen voor spijsvertering|Physical|Fysiek
Parasympathetic Digestive Support|Parasympathische spijsverteringsondersteuning|Physical|Fysiek
Vagus Nerve for Digestion|Nervus vagus voor spijsvertering|Physical|Fysiek
Autonomic Balance for Digestion|Autonome balans voor spijsvertering|Physical|Fysiek
Irritable Bowel Support|Ondersteuning bij prikkelbare darm|Physical|Fysiek
IBS Comfort Support|IBS comfortondersteuning|Physical|Fysiek
Sensitive Gut Support|Ondersteuning voor gevoelige darm|Physical|Fysiek
Functional Bowel Support|Functionele darmondersteuning|Physical|Fysiek
Digestive Sensitivity Support|Ondersteuning bij spijsverteringsgevoeligheid|Physical|Fysiek
Abdominal Comfort|Buikcomfort|Physical|Fysiek
Bloating Comfort|Comfort bij opgeblazen gevoel|Physical|Fysiek
Gas & Bloating Support|Ondersteuning bij gas & opgeblazen gevoel|Physical|Fysiek
Digestive Discomfort Relief|Verlichting van spijsverteringsongemak|Physical|Fysiek
Post-Meal Comfort|Comfort na de maaltijd|Physical|Fysiek
Constipation Wellness Support|Welzijnsondersteuning bij obstipatie|Physical|Fysiek
Healthy Bowel Movement Support|Ondersteuning van gezonde stoelgang|Physical|Fysiek
Diarrhea Recovery Support|Herstelondersteuning bij diarree|Physical|Fysiek
Gut Recovery After Infection|Darmherstel na infectie|Physical|Fysiek
Post-Antibiotic Gut Support|Darmondersteuning na antibiotica|Physical|Fysiek
Leaky Gut Wellness Support|Leaky gut welzijnsondersteuning|Physical|Fysiek
Healthy Gut Barrier Support|Ondersteuning van gezonde darmbarriere|Physical|Fysiek
Inflammatory Bowel Wellness Support|Welzijnsondersteuning bij inflammatoire darmproblemen|Physical|Fysiek
Crohn's Wellness Support|Crohn welzijnsondersteuning|Physical|Fysiek
Ulcerative Colitis Wellness Support|Colitis ulcerosa welzijnsondersteuning|Physical|Fysiek
Diverticular Wellness Support|Diverticulair welzijnsondersteuning|Physical|Fysiek
Digestive Recovery After Surgery|Spijsverteringsherstel na operatie|Physical|Fysiek
Colorectal Wellness Support|Colorectale welzijnsondersteuning|Physical|Fysiek
Colon Wellness|Dikke darm welzijn|Physical|Fysiek
Healthy Colon Function|Gezonde dikke darm functie|Physical|Fysiek
Healthy Small Intestine Support|Ondersteuning van gezonde dunne darm|Physical|Fysiek
Stomach Comfort|Maagcomfort|Physical|Fysiek
Healthy Stomach Function|Gezonde maagfunctie|Physical|Fysiek
Stomach Calm|Kalme maag|Physical|Fysiek
Gastritis Wellness Support|Gastritis welzijnsondersteuning|Physical|Fysiek
Acid Reflux Comfort Support|Comfortondersteuning bij reflux|Physical|Fysiek
Heartburn Comfort|Comfort bij brandend maagzuur|Physical|Fysiek
GERD Wellness Support|GERD welzijnsondersteuning|Physical|Fysiek
Healthy Esophagus Support|Ondersteuning van gezonde slokdarm|Physical|Fysiek
Nausea Comfort Support|Comfortondersteuning bij misselijkheid|Physical|Fysiek
Motion Sickness Comfort|Comfort bij bewegingsmisselijkheid|Physical|Fysiek
Morning Sickness Relaxation Support|Ontspanningsondersteuning bij ochtendmisselijkheid|Physical|Fysiek
Healthy Appetite Balance|Gezonde eetlustbalans|Physical|Fysiek
Appetite Awareness|Eetlustbewustzijn|Mental|Mentaal
Mindful Eating Support|Ondersteuning voor mindful eten|Mental|Mentaal
Digestive Recovery After Stress|Spijsverteringsherstel na stress|Emotional|Emotioneel
Stress & Digestion Balance|Stress & spijsverteringsbalans|Emotional|Emotioneel
Emotional Gut Balance|Emotionele darmbalans|Emotional|Emotioneel
Gut Comfort During Stress|Darmcomfort tijdens stress|Emotional|Emotioneel
Liver Wellness Support|Leverwelzijnsondersteuning|Physical|Fysiek
Healthy Liver Function|Gezonde leverfunctie|Physical|Fysiek
Liver Recovery Support|Leverherstel ondersteuning|Physical|Fysiek
Gallbladder Wellness Support|Galblaaswelzijnsondersteuning|Physical|Fysiek
Healthy Gallbladder Function|Gezonde galblaasfunctie|Physical|Fysiek
Pancreatic Wellness Support|Pancreaswelzijnsondersteuning|Physical|Fysiek
Healthy Pancreatic Function|Gezonde pancreasfunctie|Physical|Fysiek
Food Sensitivity Support|Ondersteuning bij voedselgevoeligheid|Physical|Fysiek
Lactose Intolerance Comfort|Comfort bij lactose-intolerantie|Physical|Fysiek
Gluten Sensitivity Support|Ondersteuning bij glutengevoeligheid|Physical|Fysiek
Celiac Wellness Support|Coeliakie welzijnsondersteuning|Physical|Fysiek
Food Intolerance Wellness|Voedselintolerantie welzijn|Physical|Fysiek
Digestive Adaptation|Spijsverteringsadaptatie|Physical|Fysiek
Healthy Gut Microbiome|Gezond darmmicrobioom|Physical|Fysiek
Gut Flora Wellness|Darmflora welzijn|Physical|Fysiek
Microbiome Balance|Microbioombalans|Physical|Fysiek
Healthy Digestive Ecosystem|Gezond spijsverteringsecosysteem|Physical|Fysiek
Comfortable Travel Digestion|Comfortabele reisspijsvertering|Physical|Fysiek
Travel Digestive Support|Reisspijsverteringsondersteuning|Physical|Fysiek
Digestive Recovery While Traveling|Spijsverteringsherstel tijdens reizen|Physical|Fysiek
Digestive Peace|Spijsverteringsvrede|Spiritual|Spiritueel
Inner Gut Harmony|Innerlijke darmharmonie|Spiritual|Spiritueel
Healthy Gut, Healthy Mind|Gezonde darm, gezonde geest|Physical/Mental|Fysiek/Mentaal
The Relaxed Gut|De ontspannen darm|Physical|Fysiek
Whole Gut Wellness|Volledig darmwelzijn|Physical|Fysiek
Balanced Digestion|Gebalanceerde spijsvertering|Physical|Fysiek
Optimal Gut Function|Optimale darmfunctie|Physical|Fysiek
Digestive Vitality Boost|Spijsverteringsvitaliteitsboost|Physical|Fysiek
Healthy Digestive Habits|Gezonde spijsverteringsgewoonten|Mental|Mentaal
The Calm Digestive System|Het kalme spijsverteringssysteem|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_DIGESTIVE_SUPPORT_SESSION_DEFINITIONS = RECOVERY_DIGESTIVE_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 417, 432, 741, 396, 852];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#22c55e", "#84cc16", "#14b8a6", "#facc15", "#fb923c", "#38bdf8", "#c084fc", "#f472b6"];
  return {
    id: `recovery-digestive-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    gutBase: [6.0, 5.6, 6.4, 5.2, 7.0, 6.8, 4.8, 7.4, 5.8, 6.2, 7.6, 5.4][index % 12],
    style: 3300 + index
  };
});

const RECOVERY_IMMUNE_SUPPORT_TITLE_PAIRS = `
Immune Support|Immuunondersteuning|Physical|Fysiek
Immune Wellness|Immuunwelzijn|Physical|Fysiek
Healthy Immune System|Gezond immuunsysteem|Physical|Fysiek
Immune Balance|Immuunbalans|Physical|Fysiek
Immune Harmony|Immuunharmonie|Physical|Fysiek
Immune Vitality|Immuunvitaliteit|Physical|Fysiek
Immune Recovery|Immuunherstel|Physical|Fysiek
Immune Resilience|Immuunveerkracht|Physical|Fysiek
Daily Immune Support|Dagelijkse immuunondersteuning|Physical|Fysiek
Morning Immune Boost|Ochtend immuunboost|Physical|Fysiek
Evening Immune Recovery|Avond immuunherstel|Physical|Fysiek
Immune System Balance|Balans van het immuunsysteem|Physical|Fysiek
Healthy Immune Function|Gezonde immuunfunctie|Physical|Fysiek
Natural Immune Support|Natuurlijke immuunondersteuning|Physical|Fysiek
Whole Body Immunity|Immuniteit van het hele lichaam|Physical|Fysiek
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Healthy Defenses|Gezonde weerstand|Physical|Fysiek
Body Defense Support|Ondersteuning van lichaamsweerstand|Physical|Fysiek
Healthy Resistance|Gezonde resistentie|Physical|Fysiek
Seasonal Wellness|Seizoenswelzijn|Physical|Fysiek
Winter Wellness|Winterwelzijn|Physical|Fysiek
Cold Season Support|Ondersteuning in het verkoudheidsseizoen|Physical|Fysiek
Seasonal Immune Balance|Seizoensgebonden immuunbalans|Physical|Fysiek
Year-Round Wellness|Welzijn het hele jaar door|Physical|Fysiek
Healthy Recovery|Gezond herstel|Physical|Fysiek
Recovery After Illness|Herstel na ziekte|Physical|Fysiek
Post-Illness Recovery|Herstel na ziekteperiode|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Healing Support|Herstelondersteuning|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Daily Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Energy & Immunity|Energie & immuniteit|Physical|Fysiek
Healthy Energy Balance|Gezonde energiebalans|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Cellular Renewal Support|Ondersteuning van cellulaire vernieuwing|Physical|Fysiek
Cellular Resilience|Cellulaire veerkracht|Physical|Fysiek
Mitochondrial Vitality|Mitochondriale vitaliteit|Physical|Fysiek
Mitochondrial Wellness|Mitochondriaal welzijn|Physical|Fysiek
Healthy Cellular Energy|Gezonde cellulaire energie|Physical|Fysiek
ATP Vitality|ATP-vitaliteit|Physical|Fysiek
Healthy Inflammatory Balance|Gezonde inflammatoire balans|Physical|Fysiek
Inflammation Wellness Support|Welzijnsondersteuning bij inflammatie|Physical|Fysiek
Balanced Immune Response|Gebalanceerde immuunrespons|Physical|Fysiek
Healthy Immune Regulation|Gezonde immuunregulatie|Physical|Fysiek
Healthy Adaptation|Gezonde adaptatie|Physical|Fysiek
Stress & Immunity Balance|Stress & immuunbalans|Physical/Emotional|Fysiek/Emotioneel
Calm the Immune System|Kalmeer het immuunsysteem|Physical|Fysiek
Immune Relaxation|Immuunontspanning|Physical|Fysiek
Relaxation for Wellness|Ontspanning voor welzijn|Emotional|Emotioneel
Relaxation & Recovery|Ontspanning & herstel|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Rest & Recover|Rust & herstel|Physical|Fysiek
Recovery While Sleeping|Herstel tijdens slaap|Physical|Fysiek
Sleep for Wellness|Slaap voor welzijn|Physical|Fysiek
Restorative Recovery|Herstellend herstel|Physical|Fysiek
Healthy Sleep & Immunity|Gezonde slaap & immuniteit|Physical|Fysiek
Breathing for Wellness|Ademen voor welzijn|Physical|Fysiek
Coherent Breathing for Recovery|Coherente ademhaling voor herstel|Physical|Fysiek
Respiratory Wellness|Ademhalingswelzijn|Physical|Fysiek
Heart Coherence for Wellness|Hartcoherentie voor welzijn|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Wellness|Nervus vagus welzijn|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Mind-Body Wellness|Lichaam-geest welzijn|Physical/Mental|Fysiek/Mentaal
Mind-Body Balance|Lichaam-geest balans|Physical/Mental|Fysiek/Mentaal
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Aging Immunity|Gezond ouder worden immuniteit|Physical|Fysiek
Longevity Wellness|Longevity welzijn|Physical|Fysiek
Healthy Lifestyle Support|Ondersteuning van gezonde leefstijl|Physical|Fysiek
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Wellness Routine|Welzijnsroutine|Mental|Mentaal
Resilient Lifestyle|Veerkrachtige leefstijl|Mental|Mentaal
Lifestyle Reset|Leefstijlreset|Mental|Mentaal
Everyday Wellness|Dagelijks welzijn|Physical|Fysiek
Wellness Reset|Welzijnsreset|Physical|Fysiek
Optimal Wellness|Optimaal welzijn|Physical|Fysiek
Optimal Recovery|Optimaal herstel|Physical|Fysiek
Wellness Journey|Welzijnsreis|Physical|Fysiek
Body Restoration|Lichaamsherstel|Physical|Fysiek
Restore Balance|Balans herstellen|Physical|Fysiek
Physical Resilience|Fysieke veerkracht|Physical|Fysiek
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Resilient Body|Veerkrachtig lichaam|Physical|Fysiek
Vital Body|Vitaal lichaam|Physical|Fysiek
Body Renewal|Lichaamsvernieuwing|Physical|Fysiek
Healthy Body|Gezond lichaam|Physical|Fysiek
Body Harmony|Lichaamsharmonie|Physical|Fysiek
Immune Meditation|Immuunmeditatie|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Inner Healing|Innerlijk herstel|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Inner Peace for Recovery|Innerlijke vrede voor herstel|Spiritual|Spiritueel
Compassionate Healing|Compassievol herstel|Spiritual|Spiritueel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Positive Recovery|Positief herstel|Emotional|Emotioneel
Healing Mindset|Herstelmindset|Mental|Mentaal
Recovery Mindset|Herstelgerichte mindset|Mental|Mentaal
Healthy Outlook|Gezonde kijk|Mental|Mentaal
Positive Health|Positieve gezondheid|Emotional|Emotioneel
Emotional Wellness|Emotioneel welzijn|Emotional|Emotioneel
Gratitude for Health|Dankbaarheid voor gezondheid|Spiritual|Spiritueel
Live Well|Leef goed|Emotional|Emotioneel
Feel Better Naturally|Voel je natuurlijk beter|Emotional|Emotioneel
Nurture Your Body|Verzorg je lichaam|Emotional|Emotioneel
Healthy Balance|Gezonde balans|Physical|Fysiek
Body-Mind Synchrony|Lichaam-geest synchronie|Physical/Mental|Fysiek/Mentaal
Immune Wellness Protocol|Immuunwelzijn protocol|Physical|Fysiek
Recovery Protocol|Herstelprotocol|Physical|Fysiek
Resilience Protocol|Veerkrachtprotocol|Physical|Fysiek
The Wellness Protocol|Het welzijnsprotocol|Physical|Fysiek
Healthy Recovery Protocol|Gezond herstelprotocol|Physical|Fysiek
Complete Wellness|Compleet welzijn|Physical|Fysiek
Whole Body Vitality|Vitaliteit van het hele lichaam|Physical|Fysiek
Optimal Body Function|Optimale lichaamsfunctie|Physical|Fysiek
Body Recharge|Lichaam opladen|Physical|Fysiek
Recovery & Vitality|Herstel & vitaliteit|Physical|Fysiek
Everyday Resilience|Dagelijkse veerkracht|Physical|Fysiek
Stronger Every Day|Elke dag sterker|Physical|Fysiek
Health & Vitality|Gezondheid & vitaliteit|Physical|Fysiek
Body Defense Wellness|Welzijn van lichaamsweerstand|Physical|Fysiek
Support Your Natural Defenses|Ondersteun je natuurlijke weerstand|Physical|Fysiek
Natural Recovery Journey|Natuurlijke herstelreis|Physical|Fysiek
Balanced Body|Gebalanceerd lichaam|Physical|Fysiek
Healthy Tomorrow|Gezonde toekomst|Mental|Mentaal
Future Wellness|Toekomstig welzijn|Mental|Mentaal
Wellness for Life|Welzijn voor het leven|Spiritual|Spiritueel
The Healthy Body|Het gezonde lichaam|Physical|Fysiek
Vital Living|Vitaal leven|Physical|Fysiek
Wellness Essentials|Essentie van welzijn|Physical|Fysiek
Post-Viral Recovery Support|Postviraal herstel ondersteuning|Physical|Fysiek
Long COVID Recovery Support|Long COVID herstelondersteuning|Physical|Fysiek
Immune Recovery After Infection|Immuunherstel na infectie|Physical|Fysiek
Cold Recovery Support|Herstelondersteuning bij verkoudheid|Physical|Fysiek
Flu Recovery Support|Herstelondersteuning bij griep|Physical|Fysiek
Seasonal Allergy Support|Seizoensallergie ondersteuning|Physical|Fysiek
Immune Balance for Allergies|Immuunbalans bij allergieën|Physical|Fysiek
Autoimmune Wellness Support|Auto-immuun welzijnsondersteuning|Physical|Fysiek
Healthy Immune Regulation|Gezonde immuunregulatie|Physical|Fysiek
Chronic Fatigue Recovery Support|Herstelondersteuning bij chronische vermoeidheid|Physical|Fysiek
ME/CFS Wellness Support|ME/CFS welzijnsondersteuning|Physical|Fysiek
Cancer Treatment Recovery Support|Herstelondersteuning bij kankerbehandeling|Physical|Fysiek
Chemotherapy Recovery Support|Herstelondersteuning bij chemotherapie|Physical|Fysiek
Radiotherapy Recovery Support|Herstelondersteuning bij radiotherapie|Physical|Fysiek
Post-Surgery Immune Recovery|Immuunherstel na operatie|Physical|Fysiek
Wound Healing Support|Wondherstel ondersteuning|Physical|Fysiek
Tissue Recovery Support|Weefselherstel ondersteuning|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_IMMUNE_SUPPORT_SESSION_DEFINITIONS = RECOVERY_IMMUNE_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Binaural Deep Meditation", "Theta Soundscape", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#22c55e", "#14b8a6", "#84cc16", "#38bdf8", "#facc15", "#f472b6", "#c084fc", "#fb923c"];
  return {
    id: `recovery-immune-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 2) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    immuneBase: [6.0, 6.4, 5.6, 7.0, 5.2, 7.4, 4.8, 6.8, 5.8, 7.6, 6.2, 5.4][index % 12],
    style: 3400 + index
  };
});

const RECOVERY_HORMONAL_ENDOCRINE_SUPPORT_TITLE_PAIRS = `
Hormonal Balance|Hormonale balans|Physical|Fysiek
Hormonal Wellness|Hormonaal welzijn|Physical|Fysiek
Hormonal Harmony|Hormonale harmonie|Physical|Fysiek
Healthy Hormones|Gezonde hormonen|Physical|Fysiek
Endocrine Wellness|Endocrien welzijn|Physical|Fysiek
Endocrine Support|Endocriene ondersteuning|Physical|Fysiek
Endocrine Balance|Endocriene balans|Physical|Fysiek
Healthy Endocrine Function|Gezonde endocriene functie|Physical|Fysiek
Optimal Hormonal Balance|Optimale hormonale balans|Physical|Fysiek
Whole Body Hormonal Balance|Hormonale balans van het hele lichaam|Physical|Fysiek
Hormonal Vitality|Hormonale vitaliteit|Physical|Fysiek
Hormonal Recovery|Hormonaal herstel|Physical|Fysiek
Daily Hormonal Balance|Dagelijkse hormonale balans|Physical|Fysiek
Morning Hormonal Balance|Ochtend hormonale balans|Physical|Fysiek
Evening Hormonal Recovery|Avond hormonaal herstel|Physical|Fysiek
Healthy Circadian Rhythm|Gezond circadiaan ritme|Physical|Fysiek
Circadian Balance|Circadiane balans|Physical|Fysiek
Body Clock Balance|Balans van de lichaamsklok|Physical|Fysiek
Sleep & Hormonal Balance|Slaap & hormonale balans|Physical|Fysiek
Stress & Hormonal Balance|Stress & hormonale balans|Physical|Fysiek
Hormonal Relaxation|Hormonale ontspanning|Physical|Fysiek
Parasympathetic Balance|Parasympathische balans|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Vagus Nerve Support|Ondersteuning van de nervus vagus|Physical|Fysiek
Heart Coherence & Hormones|Hartcoherentie & hormonen|Physical|Fysiek
Hormonal Resilience|Hormonale veerkracht|Physical|Fysiek
Body Balance|Lichaamsbalans|Physical|Fysiek
Healthy Internal Balance|Gezonde innerlijke balans|Physical|Fysiek
Mind-Body Hormonal Balance|Lichaam-geest hormonale balans|Physical/Mental|Fysiek/Mentaal
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Metabolic Wellness|Metabool welzijn|Physical|Fysiek
Healthy Metabolism|Gezond metabolisme|Physical|Fysiek
Energy Balance|Energiebalans|Physical|Fysiek
Healthy Energy Regulation|Gezonde energieregulatie|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Daily Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Adrenal Wellness|Bijnierwelzijn|Physical|Fysiek
Healthy Adrenal Function|Gezonde bijnierfunctie|Physical|Fysiek
Adrenal Recovery Support|Bijnierherstel ondersteuning|Physical|Fysiek
Adrenal Balance|Bijnierbalans|Physical|Fysiek
Healthy Cortisol Rhythm|Gezond cortisolritme|Physical|Fysiek
Cortisol Balance|Cortisolbalans|Physical|Fysiek
Stress Hormone Balance|Stresshormoonbalans|Physical|Fysiek
Thyroid Wellness|Schildklierwelzijn|Physical|Fysiek
Healthy Thyroid Function|Gezonde schildklierfunctie|Physical|Fysiek
Thyroid Balance|Schildklierbalans|Physical|Fysiek
Thyroid Recovery Support|Schildklierherstel ondersteuning|Physical|Fysiek
Blood Sugar Balance|Bloedsuikerbalans|Physical|Fysiek
Healthy Blood Sugar|Gezonde bloedsuiker|Physical|Fysiek
Glucose Balance Support|Ondersteuning van glucosebalans|Physical|Fysiek
Metabolic Balance|Metabole balans|Physical|Fysiek
Insulin Wellness|Insulinewelzijn|Physical|Fysiek
Pancreatic Wellness|Pancreaswelzijn|Physical|Fysiek
Healthy Pancreatic Function|Gezonde pancreasfunctie|Physical|Fysiek
Pituitary Wellness|Hypofysewelzijn|Physical|Fysiek
Healthy Pituitary Function|Gezonde hypofysefunctie|Physical|Fysiek
Hypothalamic Balance|Hypothalamische balans|Physical|Fysiek
Healthy Neuroendocrine Balance|Gezonde neuro-endocriene balans|Physical|Fysiek
Pineal Gland Wellness|Pijnappelklierwelzijn|Spiritual|Spiritueel
Healthy Pineal Rhythm|Gezond pijnappelklier ritme|Spiritual|Spiritueel
Melatonin Balance|Melatoninebalans|Physical|Fysiek
Natural Sleep Hormone Support|Natuurlijke ondersteuning van slaaphormonen|Physical|Fysiek
Women's Hormonal Balance|Hormonale balans voor vrouwen|Physical|Fysiek
Men's Hormonal Balance|Hormonale balans voor mannen|Physical|Fysiek
Hormonal Harmony for Women|Hormonale harmonie voor vrouwen|Physical|Fysiek
Hormonal Vitality for Men|Hormonale vitaliteit voor mannen|Physical|Fysiek
Menstrual Wellness|Menstrueel welzijn|Physical|Fysiek
Healthy Menstrual Cycle|Gezonde menstruatiecyclus|Physical|Fysiek
Cycle Balance|Cyclusbalans|Physical|Fysiek
Cycle Harmony|Cyclusharmonie|Physical|Fysiek
PMS Wellness Support|PMS welzijnsondersteuning|Physical|Fysiek
Menstrual Comfort|Menstrueel comfort|Physical|Fysiek
Hormonal Mood Balance|Hormonale stemmingsbalans|Emotional|Emotioneel
Menopause Wellness|Menopauzewelzijn|Physical|Fysiek
Perimenopause Support|Perimenopauze ondersteuning|Physical|Fysiek
Menopause Balance|Menopauzebalans|Physical|Fysiek
Healthy Menopause Journey|Gezonde menopauzereis|Physical|Fysiek
Hot Flash Relaxation Support|Ontspanningsondersteuning bij opvliegers|Physical|Fysiek
Midlife Vitality|Midlife vitaliteit|Physical|Fysiek
Andropause Wellness|Andropauzewelzijn|Physical|Fysiek
Healthy Aging Hormones|Gezond ouder worden hormonen|Physical|Fysiek
Fertility Wellness Support|Vruchtbaarheidswelzijn ondersteuning|Physical|Fysiek
Reproductive Wellness|Reproductief welzijn|Physical|Fysiek
Healthy Reproductive Balance|Gezonde reproductieve balans|Physical|Fysiek
Healthy Libido Balance|Gezonde libidobalans|Physical|Fysiek
Intimate Wellness|Intiem welzijn|Physical|Fysiek
Sexual Wellness Support|Seksueel welzijn ondersteuning|Physical|Fysiek
PCOS Wellness Support|PCOS welzijnsondersteuning|Physical|Fysiek
Endometriosis Wellness Support|Endometriose welzijnsondersteuning|Physical|Fysiek
Hormonal Comfort Support|Hormonaal comfort ondersteuning|Physical|Fysiek
Weight Balance Support|Gewichtsbalans ondersteuning|Physical|Fysiek
Healthy Weight Journey|Gezonde gewichtsreis|Physical|Fysiek
Metabolic Recovery|Metabool herstel|Physical|Fysiek
Mood & Hormones|Stemming & hormonen|Emotional|Emotioneel
Emotional Hormonal Balance|Emotionele hormonale balans|Emotional|Emotioneel
Hormonal Calm|Hormonale kalmte|Emotional|Emotioneel
Inner Balance|Innerlijke balans|Spiritual|Spiritueel
Emotional Stability|Emotionele stabiliteit|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Stress Recovery|Stressherstel|Emotional|Emotioneel
Relaxed Body, Balanced Hormones|Ontspannen lichaam, gebalanceerde hormonen|Physical|Fysiek
Balanced Mind, Balanced Body|Gebalanceerde geest, gebalanceerd lichaam|Mental|Mentaal
Healthy Aging Hormonal Wellness|Hormonaal welzijn bij gezond ouder worden|Physical|Fysiek
Longevity & Hormones|Longevity & hormonen|Physical|Fysiek
Vital Hormonal Health|Vitale hormonale gezondheid|Physical|Fysiek
Healthy Life Balance|Gezonde levensbalans|Spiritual|Spiritueel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Optimal Endocrine Wellness|Optimaal endocrien welzijn|Physical|Fysiek
Hormonal Wellness Protocol|Hormonaal welzijn protocol|Physical|Fysiek
Endocrine Wellness Protocol|Endocrien welzijn protocol|Physical|Fysiek
Hormonal Recovery Protocol|Hormonaal herstelprotocol|Physical|Fysiek
Balanced Body Protocol|Gebalanceerd lichaam protocol|Physical|Fysiek
Natural Hormonal Rhythm|Natuurlijk hormonaal ritme|Physical|Fysiek
Restore Hormonal Balance|Hormonale balans herstellen|Physical|Fysiek
Healthy Hormonal Lifestyle|Gezonde hormonale leefstijl|Physical|Fysiek
Hormonal Self-Care|Hormonale zelfzorg|Emotional|Emotioneel
The Balanced Body|Het gebalanceerde lichaam|Physical|Fysiek
The Hormonal Reset|De hormonale reset|Physical|Fysiek
Hormonal Health Journey|Hormonale gezondheidsreis|Physical|Fysiek
Body in Balance|Lichaam in balans|Physical|Fysiek
Healthy Hormonal Future|Gezonde hormonale toekomst|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Vital Hormones, Vital Life|Vitale hormonen, vitaal leven|Physical|Fysiek
Harmony from Within|Harmonie van binnenuit|Spiritual|Spiritueel
Restore Inner Balance|Innerlijke balans herstellen|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_HORMONAL_ENDOCRINE_SUPPORT_SESSION_DEFINITIONS = RECOVERY_HORMONAL_ENDOCRINE_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 432, 639, 741, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#f472b6", "#c084fc", "#38bdf8", "#14b8a6", "#facc15", "#22c55e", "#fb923c", "#84cc16"];
  return {
    id: `recovery-hormonal-endocrine-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    endocrineBase: [6.0, 6.4, 5.6, 7.0, 5.2, 7.4, 4.8, 6.8, 5.8, 7.6, 6.2, 5.4][index % 12],
    style: 3500 + index
  };
});

const RECOVERY_WOMENS_HEALTH_TITLE_PAIRS = `
Women's Wellness|Vrouwenwelzijn|Physical|Fysiek
Women's Health Support|Ondersteuning van vrouwengezondheid|Physical|Fysiek
Women's Vitality|Vrouwelijke vitaliteit|Physical|Fysiek
Women's Well-Being|Vrouwelijk welzijn|Physical|Fysiek
Healthy Woman|Gezonde vrouw|Physical|Fysiek
Healthy Feminine Balance|Gezonde vrouwelijke balans|Physical|Fysiek
Feminine Wellness|Vrouwelijk welzijn|Physical|Fysiek
Feminine Vitality|Vrouwelijke vitaliteit|Physical|Fysiek
Inner Feminine Balance|Innerlijke vrouwelijke balans|Spiritual|Spiritueel
Women's Energy|Vrouwenenergie|Physical|Fysiek
Women's Recovery|Vrouwenherstel|Physical|Fysiek
Women's Self-Care|Zelfzorg voor vrouwen|Emotional|Emotioneel
Women's Inner Strength|Innerlijke kracht voor vrouwen|Emotional|Emotioneel
Women's Relaxation|Ontspanning voor vrouwen|Emotional|Emotioneel
Women's Resilience|Veerkracht voor vrouwen|Emotional|Emotioneel
Women's Emotional Balance|Emotionele balans voor vrouwen|Emotional|Emotioneel
Women's Mind-Body Balance|Lichaam-geest balans voor vrouwen|Physical/Mental|Fysiek/Mentaal
Women's Harmony|Harmonie voor vrouwen|Spiritual|Spiritueel
Women's Inner Peace|Innerlijke vrede voor vrouwen|Spiritual|Spiritueel
Women's Daily Wellness|Dagelijks vrouwenwelzijn|Physical|Fysiek
Hormonal Balance for Women|Hormonale balans voor vrouwen|Physical|Fysiek
Female Hormonal Wellness|Vrouwelijk hormonaal welzijn|Physical|Fysiek
Hormonal Harmony|Hormonale harmonie|Physical|Fysiek
Healthy Hormonal Rhythm|Gezond hormonaal ritme|Physical|Fysiek
Cycle Balance|Cyclusbalans|Physical|Fysiek
Healthy Menstrual Cycle|Gezonde menstruatiecyclus|Physical|Fysiek
Cycle Harmony|Cyclusharmonie|Physical|Fysiek
Monthly Wellness|Maandelijks welzijn|Physical|Fysiek
Monthly Balance|Maandelijkse balans|Physical|Fysiek
Monthly Comfort|Maandelijks comfort|Physical|Fysiek
PMS Wellness Support|PMS welzijnsondersteuning|Physical|Fysiek
Premenstrual Balance|Premenstruele balans|Physical|Fysiek
Premenstrual Comfort|Premenstrueel comfort|Physical|Fysiek
Cycle Recovery|Cyclusherstel|Physical|Fysiek
Cycle Relaxation|Cyclusontspanning|Physical|Fysiek
Healthy Cycle Recovery|Gezond cyclusherstel|Physical|Fysiek
Menstrual Comfort|Menstrueel comfort|Physical|Fysiek
Comfort During Your Cycle|Comfort tijdens je cyclus|Physical|Fysiek
Healthy Monthly Rhythm|Gezond maandelijks ritme|Physical|Fysiek
Women's Rhythm|Vrouwenritme|Physical|Fysiek
Menopause Wellness|Menopauzewelzijn|Physical|Fysiek
Perimenopause Support|Perimenopauze ondersteuning|Physical|Fysiek
Menopause Balance|Menopauzebalans|Physical|Fysiek
Healthy Menopause Journey|Gezonde menopauzereis|Physical|Fysiek
Menopause Recovery|Menopauzeherstel|Physical|Fysiek
Midlife Wellness|Midlife welzijn|Physical|Fysiek
Midlife Vitality|Midlife vitaliteit|Physical|Fysiek
Healthy Midlife Transition|Gezonde midlife overgang|Physical|Fysiek
Hot Flash Relaxation Support|Ontspanningsondersteuning bij opvliegers|Physical|Fysiek
Emotional Balance During Menopause|Emotionele balans tijdens de menopauze|Emotional|Emotioneel
Thriving Through Menopause|Floreren tijdens de menopauze|Emotional|Emotioneel
PCOS Wellness Support|PCOS welzijnsondersteuning|Physical|Fysiek
Endometriosis Wellness Support|Endometriose welzijnsondersteuning|Physical|Fysiek
Fibroid Wellness Support|Myoom welzijnsondersteuning|Physical|Fysiek
Ovarian Wellness|Eierstokwelzijn|Physical|Fysiek
Healthy Ovarian Function|Gezonde eierstokfunctie|Physical|Fysiek
Reproductive Wellness|Reproductief welzijn|Physical|Fysiek
Female Reproductive Balance|Vrouwelijke reproductieve balans|Physical|Fysiek
Healthy Reproductive System|Gezond voortplantingssysteem|Physical|Fysiek
Uterine Wellness|Baarmoederwelzijn|Physical|Fysiek
Pelvic Wellness|Bekkenwelzijn|Physical|Fysiek
Pelvic Floor Relaxation|Bekkenbodemontspanning|Physical|Fysiek
Pelvic Balance|Bekkenbalans|Physical|Fysiek
Pelvic Comfort|Bekkencomfort|Physical|Fysiek
Fertility Wellness Support|Vruchtbaarheidswelzijn ondersteuning|Physical|Fysiek
Healthy Fertility Journey|Gezonde vruchtbaarheidsreis|Physical|Fysiek
Preparing for Pregnancy|Voorbereiding op zwangerschap|Physical|Fysiek
Preconception Wellness|Preconceptie welzijn|Physical|Fysiek
Reproductive Vitality|Reproductieve vitaliteit|Physical|Fysiek
Pregnancy Relaxation|Zwangerschapsontspanning|Physical|Fysiek
Healthy Pregnancy Support|Ondersteuning van gezonde zwangerschap|Physical|Fysiek
Calm Pregnancy|Kalme zwangerschap|Emotional|Emotioneel
Pregnancy Wellness|Zwangerschapswelzijn|Physical|Fysiek
Expectant Mother's Relaxation|Ontspanning voor aanstaande moeders|Emotional|Emotioneel
Bonding with Your Baby|Verbinden met je baby|Emotional|Emotioneel
Prenatal Calm|Prenatale kalmte|Emotional|Emotioneel
Prenatal Relaxation|Prenatale ontspanning|Emotional|Emotioneel
Postpartum Recovery Support|Postpartum herstelondersteuning|Physical|Fysiek
Postpartum Wellness|Postpartum welzijn|Physical|Fysiek
Postpartum Emotional Balance|Postpartum emotionele balans|Emotional|Emotioneel
New Mother Recovery|Herstel voor nieuwe moeders|Physical|Fysiek
Motherhood Balance|Balans in moederschap|Emotional|Emotioneel
Mother's Self-Care|Zelfzorg voor moeders|Emotional|Emotioneel
Breast Wellness|Borstwelzijn|Physical|Fysiek
Healthy Breast Awareness|Gezond borstbewustzijn|Physical|Fysiek
Women's Preventive Wellness|Preventief welzijn voor vrouwen|Physical|Fysiek
Healthy Bone Support|Ondersteuning van gezonde botten|Physical|Fysiek
Women's Bone Health|Botgezondheid voor vrouwen|Physical|Fysiek
Healthy Aging for Women|Gezond ouder worden voor vrouwen|Physical|Fysiek
Longevity for Women|Longevity voor vrouwen|Physical|Fysiek
Women's Heart Wellness|Hartwelzijn voor vrouwen|Physical|Fysiek
Women's Cardiovascular Health|Cardiovasculaire gezondheid voor vrouwen|Physical|Fysiek
Healthy Circulation for Women|Gezonde circulatie voor vrouwen|Physical|Fysiek
Women's Sleep Support|Slaapondersteuning voor vrouwen|Physical|Fysiek
Restful Sleep for Women|Herstellende slaap voor vrouwen|Physical|Fysiek
Sleep & Hormonal Balance|Slaap & hormonale balans|Physical|Fysiek
Stress Recovery for Women|Stressherstel voor vrouwen|Emotional|Emotioneel
Women's Stress Relief|Stressverlichting voor vrouwen|Emotional|Emotioneel
Calm Under Pressure|Kalm onder druk|Emotional|Emotioneel
Women's Burnout Recovery|Burnoutherstel voor vrouwen|Emotional|Emotioneel
Emotional Wellness for Women|Emotioneel welzijn voor vrouwen|Emotional|Emotioneel
Inner Calm for Women|Innerlijke kalmte voor vrouwen|Emotional|Emotioneel
Women's Mental Clarity|Mentale helderheid voor vrouwen|Mental|Mentaal
Women's Focus|Focus voor vrouwen|Mental|Mentaal
Women's Confidence|Zelfvertrouwen voor vrouwen|Emotional|Emotioneel
Women's Self-Esteem|Eigenwaarde voor vrouwen|Emotional|Emotioneel
Self-Love for Women|Zelfliefde voor vrouwen|Emotional|Emotioneel
Women's Empowerment|Empowerment voor vrouwen|Emotional|Emotioneel
Strong Women|Sterke vrouwen|Emotional|Emotioneel
Radiant Woman|Stralende vrouw|Emotional|Emotioneel
Confident Woman|Zelfverzekerde vrouw|Emotional|Emotioneel
Authentic Woman|Authentieke vrouw|Spiritual|Spiritueel
Feminine Confidence|Vrouwelijk zelfvertrouwen|Emotional|Emotioneel
Inner Feminine Power|Innerlijke vrouwelijke kracht|Spiritual|Spiritueel
Mindful Woman|Mindful vrouw|Spiritual|Spiritueel
Sacred Feminine|Heilig vrouwelijke|Spiritual|Spiritueel
Divine Feminine|Goddelijk vrouwelijke|Spiritual|Spiritueel
Feminine Energy|Vrouwelijke energie|Spiritual|Spiritueel
Embrace Your Feminine Nature|Omarm je vrouwelijke natuur|Spiritual|Spiritueel
Women's Meditation|Meditatie voor vrouwen|Spiritual|Spiritueel
Women's Mindfulness|Mindfulness voor vrouwen|Spiritual|Spiritueel
Inner Goddess|Innerlijke godin|Spiritual|Spiritueel
Radiant Feminine Energy|Stralende vrouwelijke energie|Spiritual|Spiritueel
Women's Spiritual Journey|Spirituele reis voor vrouwen|Spiritual|Spiritueel
Inner Wisdom for Women|Innerlijke wijsheid voor vrouwen|Spiritual|Spiritueel
Women's Gratitude Practice|Dankbaarheidsoefening voor vrouwen|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Healing the Feminine|Het vrouwelijke helen|Spiritual|Spiritueel
Women's Healing Journey|Helende reis voor vrouwen|Spiritual|Spiritueel
Healthy Lifestyle for Women|Gezonde leefstijl voor vrouwen|Physical|Fysiek
Women's Wellness Protocol|Vrouwenwelzijn protocol|Physical|Fysiek
Women's Recovery Protocol|Vrouwenherstel protocol|Physical|Fysiek
Optimal Women's Health|Optimale vrouwengezondheid|Physical|Fysiek
Everyday Women's Wellness|Dagelijks vrouwenwelzijn|Physical|Fysiek
Women's Energy Balance|Energiebalans voor vrouwen|Physical|Fysiek
Balanced Woman|Gebalanceerde vrouw|Physical|Fysiek
Vital Woman|Vitale vrouw|Physical|Fysiek
Whole Woman Wellness|Welzijn van de hele vrouw|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Women's Body Balance|Lichaamsbalans voor vrouwen|Physical|Fysiek
Healthy Woman, Healthy Life|Gezonde vrouw, gezond leven|Physical|Fysiek
The Balanced Woman|De gebalanceerde vrouw|Physical|Fysiek
Women's Renewal|Vrouwelijke vernieuwing|Emotional|Emotioneel
Women's Vital Life|Vitaal leven voor vrouwen|Physical|Fysiek
Graceful Woman|Gracieuze vrouw|Spiritual|Spiritueel
Flourishing Woman|Bloeiende vrouw|Emotional|Emotioneel
Women's Life Balance|Levensbalans voor vrouwen|Spiritual|Spiritueel
Healthy Women's Journey|Gezonde vrouwenreis|Physical|Fysiek
Empowered Living for Women|Bekrachtigd leven voor vrouwen|Emotional|Emotioneel
Wellness Through Every Stage|Welzijn in elke levensfase|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_WOMENS_HEALTH_SESSION_DEFINITIONS = RECOVERY_WOMENS_HEALTH_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 432, 741, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#f472b6", "#fb7185", "#c084fc", "#38bdf8", "#14b8a6", "#facc15", "#22c55e", "#fb923c"];
  return {
    id: `recovery-womens-health-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    womensBase: [6.0, 6.4, 5.6, 7.0, 5.2, 7.4, 4.8, 6.8, 5.8, 7.6, 6.2, 5.4][index % 12],
    style: 3600 + index
  };
});

const RECOVERY_MENS_HEALTH_TITLE_PAIRS = `
Men's Wellness|Mannenwelzijn|Physical|Fysiek
Men's Health Support|Ondersteuning van mannengezondheid|Physical|Fysiek
Men's Vitality|Mannelijke vitaliteit|Physical|Fysiek
Men's Well-Being|Mannelijk welzijn|Physical|Fysiek
Healthy Man|Gezonde man|Physical|Fysiek
Strong & Healthy|Sterk & gezond|Physical|Fysiek
Healthy Masculine Balance|Gezonde mannelijke balans|Physical|Fysiek
Men's Energy|Mannenenergie|Physical|Fysiek
Men's Recovery|Mannenherstel|Physical|Fysiek
Daily Men's Wellness|Dagelijks mannenwelzijn|Physical|Fysiek
Morning Vitality for Men|Ochtendvitaliteit voor mannen|Physical|Fysiek
Evening Recovery for Men|Avondherstel voor mannen|Physical|Fysiek
Whole Body Wellness for Men|Welzijn van het hele lichaam voor mannen|Physical|Fysiek
Body & Mind Balance for Men|Lichaam & geest balans voor mannen|Physical/Mental|Fysiek/Mentaal
Healthy Lifestyle for Men|Gezonde leefstijl voor mannen|Physical|Fysiek
Everyday Men's Health|Dagelijkse mannengezondheid|Physical|Fysiek
Optimal Men's Wellness|Optimaal mannenwelzijn|Physical|Fysiek
Vital Living for Men|Vitaal leven voor mannen|Physical|Fysiek
Male Hormonal Balance|Mannelijke hormonale balans|Physical|Fysiek
Men's Hormonal Wellness|Hormonaal welzijn voor mannen|Physical|Fysiek
Healthy Testosterone Balance|Gezonde testosteronbalans|Physical|Fysiek
Hormonal Vitality for Men|Hormonale vitaliteit voor mannen|Physical|Fysiek
Healthy Endocrine Balance|Gezonde endocriene balans|Physical|Fysiek
Adrenal Wellness for Men|Bijnierwelzijn voor mannen|Physical|Fysiek
Stress Hormone Balance|Stresshormoonbalans|Physical|Fysiek
Healthy Cortisol Rhythm|Gezond cortisolritme|Physical|Fysiek
Men's Energy Balance|Energiebalans voor mannen|Physical|Fysiek
Peak Vitality|Piekvitaliteit|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Daily Energy|Dagelijkse energie|Physical|Fysiek
Physical Vitality|Fysieke vitaliteit|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Mitochondrial Wellness|Mitochondriaal welzijn|Physical|Fysiek
Healthy Metabolism|Gezond metabolisme|Physical|Fysiek
Body Recovery|Lichaamsherstel|Physical|Fysiek
Strength & Recovery|Kracht & herstel|Physical|Fysiek
Physical Recovery|Fysiek herstel|Physical|Fysiek
Muscle Recovery|Spierherstel|Physical|Fysiek
Joint Wellness|Gewrichtswelzijn|Physical|Fysiek
Mobility for Men|Mobiliteit voor mannen|Physical|Fysiek
Healthy Aging for Men|Gezond ouder worden voor mannen|Physical|Fysiek
Longevity for Men|Longevity voor mannen|Physical|Fysiek
Active Aging for Men|Actief ouder worden voor mannen|Physical|Fysiek
Healthy Bones & Muscles|Gezonde botten & spieren|Physical|Fysiek
Men's Heart Wellness|Hartwelzijn voor mannen|Physical|Fysiek
Healthy Blood Pressure Balance|Gezonde bloeddrukbalans|Physical|Fysiek
Healthy Circulation|Gezonde circulatie|Physical|Fysiek
Cardiovascular Wellness for Men|Cardiovasculair welzijn voor mannen|Physical|Fysiek
Heart Coherence for Men|Hartcoherentie voor mannen|Physical|Fysiek
Healthy Heart Rhythm|Gezond hartritme|Physical|Fysiek
Men's Sleep Support|Slaapondersteuning voor mannen|Physical|Fysiek
Restful Sleep for Men|Herstellende slaap voor mannen|Physical|Fysiek
Deep Recovery Sleep|Diepe herstelslaap|Physical|Fysiek
Sleep & Recovery|Slaap & herstel|Physical|Fysiek
Stress Relief for Men|Stressverlichting voor mannen|Emotional|Emotioneel
Men's Stress Recovery|Stressherstel voor mannen|Emotional|Emotioneel
Resilient Man|Veerkrachtige man|Mental|Mentaal
Mental Toughness|Mentale weerbaarheid|Mental|Mentaal
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Emotional Balance for Men|Emotionele balans voor mannen|Emotional|Emotioneel
Men's Emotional Wellness|Emotioneel welzijn voor mannen|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Confidence Under Pressure|Zelfvertrouwen onder druk|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Focus & Determination|Focus & vastberadenheid|Mental|Mentaal
Peak Mental Performance|Mentale topprestatie|Mental|Mentaal
Executive Performance|Executieve prestatie|Mental|Mentaal
Decision Clarity|Besluithelderheid|Mental|Mentaal
Strategic Thinking|Strategisch denken|Mental|Mentaal
Healthy Prostate Support|Ondersteuning van gezonde prostaat|Physical|Fysiek
Prostate Wellness|Prostaatwelzijn|Physical|Fysiek
Healthy Urinary Function|Gezonde urinewegfunctie|Physical|Fysiek
Bladder Wellness for Men|Blaaswelzijn voor mannen|Physical|Fysiek
Pelvic Health for Men|Bekkengezondheid voor mannen|Physical|Fysiek
Pelvic Floor Wellness|Bekkenbodemwelzijn|Physical|Fysiek
Reproductive Wellness for Men|Reproductief welzijn voor mannen|Physical|Fysiek
Male Reproductive Health|Mannelijke reproductieve gezondheid|Physical|Fysiek
Healthy Fertility for Men|Gezonde vruchtbaarheid voor mannen|Physical|Fysiek
Male Fertility Wellness|Mannelijk vruchtbaarheidswelzijn|Physical|Fysiek
Intimate Wellness|Intiem welzijn|Physical|Fysiek
Healthy Libido Balance|Gezonde libidobalans|Physical|Fysiek
Sexual Wellness Support|Seksueel welzijn ondersteuning|Physical|Fysiek
Healthy Masculine Vitality|Gezonde mannelijke vitaliteit|Physical|Fysiek
Healthy Weight Management|Gezond gewichtsmanagement|Physical|Fysiek
Body Composition Support|Ondersteuning van lichaamssamenstelling|Physical|Fysiek
Fitness Motivation|Fitnessmotivatie|Mental|Mentaal
Athletic Recovery|Atletisch herstel|Physical|Fysiek
Peak Performance|Piekprestatie|Physical/Mental|Fysiek/Mentaal
Strength Mindset|Krachtmindset|Mental|Mentaal
High Performance Lifestyle|High performance leefstijl|Mental|Mentaal
Recovery After Training|Herstel na training|Physical|Fysiek
Men's Burnout Recovery|Burnoutherstel voor mannen|Emotional|Emotioneel
Work-Life Balance for Men|Werk-privebalans voor mannen|Emotional|Emotioneel
Business Performance Balance|Zakelijke prestatiebalans|Mental|Mentaal
Leadership Balance|Leiderschapsbalans|Mental|Mentaal
Success Without Stress|Succes zonder stress|Mental|Mentaal
Healthy Ambition|Gezonde ambitie|Mental|Mentaal
Healthy Digestion for Men|Gezonde spijsvertering voor mannen|Physical|Fysiek
Immune Wellness for Men|Immuunwelzijn voor mannen|Physical|Fysiek
Respiratory Wellness for Men|Ademhalingswelzijn voor mannen|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Healthy Nervous System|Gezond zenuwstelsel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Vagus Nerve Wellness|Nervus vagus welzijn|Physical|Fysiek
Men's Meditation|Meditatie voor mannen|Spiritual|Spiritueel
Mindfulness for Men|Mindfulness voor mannen|Spiritual|Spiritueel
Inner Peace for Men|Innerlijke vrede voor mannen|Spiritual|Spiritueel
Purpose & Direction|Doel & richting|Spiritual|Spiritueel
Authentic Masculinity|Authentieke mannelijkheid|Spiritual|Spiritueel
Conscious Man|Bewuste man|Spiritual|Spiritueel
Grounded Strength|Gegronde kracht|Spiritual|Spiritueel
Warrior's Calm|Krijgersrust|Spiritual|Spiritueel
Balanced Masculine Energy|Gebalanceerde mannelijke energie|Spiritual|Spiritueel
Inner Warrior|Innerlijke krijger|Spiritual|Spiritueel
Modern Masculinity|Moderne mannelijkheid|Spiritual|Spiritueel
Lead with Integrity|Leiden met integriteit|Spiritual|Spiritueel
Wisdom & Strength|Wijsheid & kracht|Spiritual|Spiritueel
Purpose-Driven Life|Doelgericht leven|Spiritual|Spiritueel
Gratitude for Men|Dankbaarheid voor mannen|Spiritual|Spiritueel
Compassionate Strength|Compassievolle kracht|Spiritual|Spiritueel
Calm Leadership|Kalm leiderschap|Spiritual|Spiritueel
Mindful Leadership|Mindful leiderschap|Spiritual|Spiritueel
The Balanced Man|De gebalanceerde man|Spiritual|Spiritueel
The Authentic Man|De authentieke man|Spiritual|Spiritueel
Healthy Fatherhood|Gezond vaderschap|Emotional|Emotioneel
Fatherhood Balance|Balans in vaderschap|Emotional|Emotioneel
Present Father|Aanwezige vader|Emotional|Emotioneel
Strong Family Connection|Sterke familieverbinding|Emotional|Emotioneel
Relationship Balance|Relatiebalans|Emotional|Emotioneel
Healthy Communication|Gezonde communicatie|Emotional|Emotioneel
Emotional Presence|Emotionele aanwezigheid|Emotional|Emotioneel
Men's Wellness Protocol|Mannenwelzijn protocol|Physical|Fysiek
Men's Recovery Protocol|Mannenherstel protocol|Physical|Fysiek
Vital Man Protocol|Vitale man protocol|Physical|Fysiek
Optimal Men's Health|Optimale mannengezondheid|Physical|Fysiek
Complete Men's Wellness|Compleet mannenwelzijn|Physical|Fysiek
Everyday Vitality|Dagelijkse vitaliteit|Physical|Fysiek
The Healthy Man|De gezonde man|Physical|Fysiek
The Vital Man|De vitale man|Physical|Fysiek
Stronger Every Day|Elke dag sterker|Physical|Fysiek
Men's Life Balance|Levensbalans voor mannen|Spiritual|Spiritueel
Healthy Future for Men|Gezonde toekomst voor mannen|Physical|Fysiek
Lifetime Vitality|Levenslange vitaliteit|Physical|Fysiek
Whole Man Wellness|Welzijn van de hele man|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Live Strong, Live Well|Leef sterk, leef goed|Physical|Fysiek
Healthy Man, Healthy Life|Gezonde man, gezond leven|Physical|Fysiek
Men's Wellness Journey|Mannenwelzijnsreis|Physical|Fysiek
Empowered Man|Bekrachtigde man|Emotional|Emotioneel
Resilient Leader|Veerkrachtige leider|Mental|Mentaal
Balanced Success|Gebalanceerd succes|Mental|Mentaal
Live with Purpose|Leef met doel|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_MENS_HEALTH_SESSION_DEFINITIONS = RECOVERY_MENS_HEALTH_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#14b8a6", "#facc15", "#22c55e", "#fb923c", "#60a5fa", "#c084fc", "#84cc16"];
  return {
    id: `recovery-mens-health-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    mensBase: [6.2, 6.6, 5.8, 7.2, 5.4, 7.6, 4.8, 6.8, 5.6, 7.8, 6.0, 5.2][index % 12],
    style: 3700 + index
  };
});

const RECOVERY_PREGNANCY_PARENTING_TITLE_PAIRS = `
Preparing for Pregnancy|Voorbereiden op zwangerschap|Physical|Fysiek
Preconception Wellness|Preconceptie welzijn|Physical|Fysiek
Fertility Wellness Support|Vruchtbaarheidswelzijn ondersteuning|Physical|Fysiek
Healthy Conception Journey|Gezonde conceptiereis|Physical|Fysiek
Reproductive Wellness|Reproductief welzijn|Physical|Fysiek
Healthy Pregnancy Support|Ondersteuning van gezonde zwangerschap|Physical|Fysiek
Pregnancy Wellness|Zwangerschapswelzijn|Physical|Fysiek
Pregnancy Relaxation|Zwangerschapsontspanning|Physical|Fysiek
Calm Pregnancy|Kalme zwangerschap|Emotional|Emotioneel
Peaceful Pregnancy|Vredige zwangerschap|Emotional|Emotioneel
Confident Pregnancy|Zelfverzekerde zwangerschap|Emotional|Emotioneel
Comfortable Pregnancy|Comfortabele zwangerschap|Physical|Fysiek
Healthy Pregnancy Journey|Gezonde zwangerschapsreis|Physical|Fysiek
Positive Pregnancy|Positieve zwangerschap|Emotional|Emotioneel
Thriving Pregnancy|Floreren tijdens zwangerschap|Physical|Fysiek
Balanced Pregnancy|Gebalanceerde zwangerschap|Physical|Fysiek
Pregnancy Energy|Zwangerschapsenergie|Physical|Fysiek
Pregnancy Vitality|Zwangerschapsvitaliteit|Physical|Fysiek
Pregnancy Recovery|Zwangerschapsherstel|Physical|Fysiek
Pregnancy Self-Care|Zelfzorg tijdens zwangerschap|Emotional|Emotioneel
Mindful Pregnancy|Mindful zwangerschap|Spiritual|Spiritueel
Pregnancy Meditation|Zwangerschapsmeditatie|Spiritual|Spiritueel
Inner Calm During Pregnancy|Innerlijke kalmte tijdens zwangerschap|Emotional|Emotioneel
Emotional Balance During Pregnancy|Emotionele balans tijdens zwangerschap|Emotional|Emotioneel
Joyful Pregnancy|Vreugdevolle zwangerschap|Emotional|Emotioneel
Healthy Bonding Before Birth|Gezonde binding voor de geboorte|Emotional|Emotioneel
Bonding with Your Baby|Verbinden met je baby|Emotional|Emotioneel
Connecting with Your Baby|Contact maken met je baby|Emotional|Emotioneel
Loving Connection|Liefdevolle verbinding|Emotional|Emotioneel
Mother-Baby Connection|Moeder-baby verbinding|Emotional|Emotioneel
Baby Connection Meditation|Babyverbinding meditatie|Spiritual|Spiritueel
Welcome Your Baby|Verwelkom je baby|Spiritual|Spiritueel
Nurturing New Life|Nieuw leven koesteren|Spiritual|Spiritueel
Growing Together|Samen groeien|Emotional|Emotioneel
Sacred Pregnancy|Heilige zwangerschap|Spiritual|Spiritueel
Sacred Motherhood|Heilig moederschap|Spiritual|Spiritueel
Morning Comfort|Ochtendcomfort|Physical|Fysiek
Healthy Daily Comfort|Gezond dagelijks comfort|Physical|Fysiek
Restful Pregnancy Sleep|Herstellende zwangerschapsslaap|Physical|Fysiek
Sleep During Pregnancy|Slaap tijdens zwangerschap|Physical|Fysiek
Evening Relaxation for Pregnancy|Avondontspanning voor zwangerschap|Emotional|Emotioneel
Deep Relaxation for Pregnancy|Diepe ontspanning voor zwangerschap|Physical|Fysiek
Stress-Free Pregnancy|Stressvrije zwangerschap|Emotional|Emotioneel
Pregnancy Stress Relief|Stressverlichting tijdens zwangerschap|Emotional|Emotioneel
Breathing for Pregnancy|Ademen voor zwangerschap|Physical|Fysiek
Coherent Breathing for Pregnancy|Coherente ademhaling voor zwangerschap|Physical|Fysiek
Birth Preparation|Geboortevoorbereiding|Physical|Fysiek
Preparing for Birth|Voorbereiden op geboorte|Physical|Fysiek
Calm Birth Preparation|Kalme geboortevoorbereiding|Emotional|Emotioneel
Positive Birth Mindset|Positieve geboortemindset|Mental|Mentaal
Confident Birth|Zelfverzekerde geboorte|Emotional|Emotioneel
Birth Confidence|Geboortevertrouwen|Emotional|Emotioneel
Birth Relaxation|Geboorteontspanning|Emotional|Emotioneel
Birth Visualization|Geboortevisualisatie|Mental|Mentaal
Birth Meditation|Geboortemeditatie|Spiritual|Spiritueel
Inner Strength for Birth|Innerlijke kracht voor geboorte|Emotional|Emotioneel
Labor Relaxation|Ontspanning tijdens bevalling|Emotional|Emotioneel
Calm During Labor|Kalmte tijdens bevalling|Emotional|Emotioneel
Relaxed Birth Journey|Ontspannen geboortereis|Emotional|Emotioneel
Postpartum Recovery|Postpartum herstel|Physical|Fysiek
Postpartum Wellness|Postpartum welzijn|Physical|Fysiek
Postpartum Recovery Support|Postpartum herstelondersteuning|Physical|Fysiek
Postpartum Emotional Balance|Postpartum emotionele balans|Emotional|Emotioneel
Postpartum Self-Care|Postpartum zelfzorg|Emotional|Emotioneel
New Mother Recovery|Herstel voor nieuwe moeders|Physical|Fysiek
Motherhood Recovery|Moederschapsherstel|Physical|Fysiek
Gentle Recovery After Birth|Zacht herstel na geboorte|Physical|Fysiek
Rest & Recover After Birth|Rust & herstel na geboorte|Physical|Fysiek
Healing After Birth|Herstel na geboorte|Physical|Fysiek
Balanced Motherhood|Gebalanceerd moederschap|Emotional|Emotioneel
Calm New Mom|Kalme nieuwe moeder|Emotional|Emotioneel
Confident New Mom|Zelfverzekerde nieuwe moeder|Emotional|Emotioneel
Happy Motherhood|Gelukkig moederschap|Emotional|Emotioneel
Joy in Motherhood|Vreugde in moederschap|Emotional|Emotioneel
Mindful Motherhood|Mindful moederschap|Spiritual|Spiritueel
Thriving Motherhood|Floreren in moederschap|Emotional|Emotioneel
Loving Motherhood|Liefdevol moederschap|Emotional|Emotioneel
Present Mother|Aanwezige moeder|Emotional|Emotioneel
Strong Mother|Sterke moeder|Emotional|Emotioneel
Mother's Inner Strength|Innerlijke kracht van moeder|Emotional|Emotioneel
Mother's Emotional Wellness|Emotioneel welzijn van moeder|Emotional|Emotioneel
Mother's Well-Being|Welzijn van moeder|Emotional|Emotioneel
Mother's Relaxation|Ontspanning voor moeder|Emotional|Emotioneel
Mother's Daily Calm|Dagelijkse kalmte voor moeder|Emotional|Emotioneel
Mother's Sleep Recovery|Slaapherstel voor moeder|Physical|Fysiek
Recharge for Moms|Opladen voor moeders|Physical|Fysiek
Busy Mom Reset|Reset voor drukke moeders|Emotional|Emotioneel
Self-Care for Moms|Zelfzorg voor moeders|Emotional|Emotioneel
Healthy Mother, Healthy Family|Gezonde moeder, gezond gezin|Emotional|Emotioneel
Fatherhood Preparation|Voorbereiding op vaderschap|Emotional|Emotioneel
Preparing for Fatherhood|Voorbereiden op vaderschap|Emotional|Emotioneel
New Dad Confidence|Zelfvertrouwen voor nieuwe vaders|Emotional|Emotioneel
Mindful Fatherhood|Mindful vaderschap|Spiritual|Spiritueel
Present Father|Aanwezige vader|Emotional|Emotioneel
Calm Father|Kalme vader|Emotional|Emotioneel
Confident Father|Zelfverzekerde vader|Emotional|Emotioneel
Father's Emotional Balance|Emotionele balans van vader|Emotional|Emotioneel
Strong Father|Sterke vader|Emotional|Emotioneel
Father's Well-Being|Welzijn van vader|Emotional|Emotioneel
Father's Relaxation|Ontspanning voor vader|Emotional|Emotioneel
Bonding with Your Child|Verbinden met je kind|Emotional|Emotioneel
Father-Child Connection|Vader-kind verbinding|Emotional|Emotioneel
Parent-Child Bond|Ouder-kind band|Emotional|Emotioneel
Growing Together as a Family|Samen groeien als gezin|Emotional|Emotioneel
Peaceful Parenting|Vredig ouderschap|Emotional|Emotioneel
Mindful Parenting|Mindful ouderschap|Spiritual|Spiritueel
Positive Parenting|Positief ouderschap|Emotional|Emotioneel
Confident Parenting|Zelfverzekerd ouderschap|Emotional|Emotioneel
Balanced Parenting|Gebalanceerd ouderschap|Emotional|Emotioneel
Calm Parenting|Kalm ouderschap|Emotional|Emotioneel
Connected Parenting|Verbonden ouderschap|Emotional|Emotioneel
Compassionate Parenting|Compassievol ouderschap|Emotional|Emotioneel
Joyful Parenting|Vreugdevol ouderschap|Emotional|Emotioneel
Parenting with Patience|Ouderschap met geduld|Emotional|Emotioneel
Patient Parenting|Geduldig ouderschap|Emotional|Emotioneel
Loving Parenting|Liefdevol ouderschap|Emotional|Emotioneel
Parenting Harmony|Ouderschapsharmonie|Emotional|Emotioneel
Family Harmony|Gezinsharmonie|Emotional|Emotioneel
Family Connection|Gezinsverbinding|Emotional|Emotioneel
Happy Family|Gelukkig gezin|Emotional|Emotioneel
Family Wellness|Gezinswelzijn|Emotional|Emotioneel
Healthy Family Life|Gezond gezinsleven|Emotional|Emotioneel
Family Balance|Gezinsbalans|Emotional|Emotioneel
Growing Together|Samen groeien|Emotional|Emotioneel
Creating Lasting Memories|Blijvende herinneringen maken|Emotional|Emotioneel
Present for Your Family|Aanwezig voor je gezin|Emotional|Emotioneel
Home in Harmony|Thuis in harmonie|Emotional|Emotioneel
Parental Resilience|Ouderlijke veerkracht|Emotional|Emotioneel
Resilient Parenthood|Veerkrachtig ouderschap|Emotional|Emotioneel
Calm Family Evenings|Kalme gezinsavonden|Emotional|Emotioneel
Stress-Free Parenting|Stressvrij ouderschap|Emotional|Emotioneel
Parents' Self-Care|Zelfzorg voor ouders|Emotional|Emotioneel
Parents' Recharge|Opladen voor ouders|Physical|Fysiek
Rest for Parents|Rust voor ouders|Physical|Fysiek
Sleep Recovery for Parents|Slaapherstel voor ouders|Physical|Fysiek
Healthy Parenting Routine|Gezonde ouderschapsroutine|Mental|Mentaal
Everyday Family Wellness|Dagelijks gezinswelzijn|Emotional|Emotioneel
The Parenting Journey|De ouderschapsreis|Emotional|Emotioneel
The Family Journey|De gezinsreis|Emotional|Emotioneel
Growing with Your Child|Groeien met je kind|Emotional|Emotioneel
Cherish Every Moment|Koester elk moment|Emotional|Emotioneel
Love Grows Here|Liefde groeit hier|Spiritual|Spiritueel
The Gift of Parenthood|Het geschenk van ouderschap|Spiritual|Spiritueel
Nurturing Your Family|Je gezin koesteren|Emotional|Emotioneel
Strong Family Bonds|Sterke gezinsbanden|Emotional|Emotioneel
Home of Love|Thuis van liefde|Spiritual|Spiritueel
Parenthood with Purpose|Ouderschap met betekenis|Spiritual|Spiritueel
Family Gratitude|Gezinsdankbaarheid|Spiritual|Spiritueel
Raising Happy Children|Gelukkige kinderen opvoeden|Emotional|Emotioneel
Confident Family Life|Zelfverzekerd gezinsleven|Emotional|Emotioneel
The Calm Family|Het kalme gezin|Emotional|Emotioneel
Healthy Parenthood|Gezond ouderschap|Emotional|Emotioneel
Parenting Through Every Stage|Ouderschap door elke fase|Emotional|Emotioneel
Whole Family Wellness|Welzijn van het hele gezin|Emotional|Emotioneel
Balanced Family Life|Gebalanceerd gezinsleven|Emotional|Emotioneel
Love, Growth & Family|Liefde, groei & gezin|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_PREGNANCY_PARENTING_SESSION_DEFINITIONS = RECOVERY_PREGNANCY_PARENTING_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 432, 741, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#f472b6", "#fb7185", "#c084fc", "#38bdf8", "#14b8a6", "#facc15", "#22c55e", "#a78bfa"];
  return {
    id: `recovery-pregnancy-parenthood-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    parenthoodBase: [5.6, 6.0, 5.2, 6.4, 4.8, 6.8, 5.4, 7.0, 5.8, 6.2, 4.6, 6.6][index % 12],
    style: 3800 + index
  };
});

const RECOVERY_REHABILITATION_TITLE_PAIRS = `
Recovery & Rehabilitation|Herstel & revalidatie|Physical|Fysiek
Recovery Support|Herstelondersteuning|Physical|Fysiek
Healing Support|Helingsondersteuning|Physical|Fysiek
Recovery Journey|Herstelreis|Physical|Fysiek
Healing Journey|Helingsreis|Emotional|Emotioneel
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Complete Recovery|Compleet herstel|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Progressive Recovery|Geleidelijk herstel|Physical|Fysiek
Optimal Recovery|Optimaal herstel|Physical|Fysiek
Recovery Essentials|Essentie van herstel|Physical|Fysiek
Recovery Protocol|Herstelprotocol|Physical|Fysiek
Recovery Reset|Herstelreset|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Restore Vitality|Vitaliteit herstellen|Physical|Fysiek
Restore Balance|Balans herstellen|Physical|Fysiek
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Recovery & Wellness|Herstel & welzijn|Physical|Fysiek
Physical Rehabilitation|Fysieke revalidatie|Physical|Fysiek
Rehabilitation Support|Revalidatie ondersteuning|Physical|Fysiek
Functional Recovery|Functioneel herstel|Physical|Fysiek
Mobility Recovery|Mobiliteitsherstel|Physical|Fysiek
Movement Recovery|Bewegingsherstel|Physical|Fysiek
Strength Recovery|Krachtherstel|Physical|Fysiek
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Recovery After Injury|Herstel na blessure|Physical|Fysiek
Recovery After Surgery|Herstel na operatie|Physical|Fysiek
Post-Surgery Recovery|Postoperatief herstel|Physical|Fysiek
Orthopedic Recovery|Orthopedisch herstel|Physical|Fysiek
Post-Hospital Recovery|Herstel na ziekenhuisopname|Physical|Fysiek
Physical Healing|Fysieke heling|Physical|Fysiek
Body Healing|Lichaamsheling|Physical|Fysiek
Healthy Healing|Gezonde heling|Physical|Fysiek
Healing Naturally|Natuurlijk herstellen|Physical|Fysiek
Body Restoration|Lichaamsherstel|Physical|Fysiek
Restore Physical Function|Fysieke functie herstellen|Physical|Fysiek
Physical Resilience|Fysieke veerkracht|Physical|Fysiek
Healthy Rehabilitation|Gezonde revalidatie|Physical|Fysiek
Post-Exercise Recovery|Herstel na inspanning|Physical|Fysiek
Sports Injury Recovery|Herstel na sportblessure|Physical|Fysiek
Athletic Recovery|Atletisch herstel|Physical|Fysiek
Recovery After Training|Herstel na training|Physical|Fysiek
Muscle Recovery|Spierherstel|Physical|Fysiek
Joint Recovery|Gewrichtsherstel|Physical|Fysiek
Soft Tissue Recovery|Weke delen herstel|Physical|Fysiek
Connective Tissue Recovery|Bindweefselherstel|Physical|Fysiek
Bone Recovery Support|Ondersteuning van botherstel|Physical|Fysiek
Healthy Tissue Recovery|Gezond weefselherstel|Physical|Fysiek
Scar Recovery Support|Littekenherstel ondersteuning|Physical|Fysiek
Wound Healing Support|Wondhelingsondersteuning|Physical|Fysiek
Neurological Recovery|Neurologisch herstel|Physical|Fysiek
Brain Recovery Support|Breinherstel ondersteuning|Mental|Mentaal
Stroke Recovery Support|Herstelondersteuning na beroerte|Physical|Fysiek
Post-Concussion Recovery|Herstel na hersenschudding|Mental|Mentaal
Neural Recovery|Neuraal herstel|Mental|Mentaal
Cognitive Recovery|Cognitief herstel|Mental|Mentaal
Motor Recovery Support|Motorisch herstel ondersteuning|Physical|Fysiek
Balance Recovery|Balansherstel|Physical|Fysiek
Coordination Recovery|Coordinatieherstel|Physical|Fysiek
Cardiac Recovery Support|Cardiaal herstel ondersteuning|Physical|Fysiek
Heart Recovery|Hartherstel|Physical|Fysiek
Cardiovascular Recovery|Cardiovasculair herstel|Physical|Fysiek
Pulmonary Recovery|Pulmonaal herstel|Physical|Fysiek
Respiratory Recovery|Ademhalingsherstel|Physical|Fysiek
Breathing Recovery|Ademherstel|Physical|Fysiek
Immune Recovery|Immuunherstel|Physical|Fysiek
Recovery After Illness|Herstel na ziekte|Physical|Fysiek
Post-Viral Recovery|Postviraal herstel|Physical|Fysiek
Long COVID Recovery Support|Long COVID herstelondersteuning|Physical|Fysiek
Cold & Flu Recovery|Herstel bij verkoudheid & griep|Physical|Fysiek
Fatigue Recovery|Vermoeidheidsherstel|Physical|Fysiek
Chronic Fatigue Recovery Support|Herstelondersteuning bij chronische vermoeidheid|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Vitality Recovery|Vitaliteitsherstel|Physical|Fysiek
Digestive Recovery|Spijsverteringsherstel|Physical|Fysiek
Gut Recovery Support|Darmherstel ondersteuning|Physical|Fysiek
Liver Recovery Support|Leverherstel ondersteuning|Physical|Fysiek
Metabolic Recovery|Metabool herstel|Physical|Fysiek
Hormonal Recovery|Hormonaal herstel|Physical|Fysiek
Recovery After Cancer Treatment|Herstel na kankerbehandeling|Physical|Fysiek
Chemotherapy Recovery Support|Herstelondersteuning bij chemotherapie|Physical|Fysiek
Radiotherapy Recovery Support|Herstelondersteuning bij radiotherapie|Physical|Fysiek
Oncology Recovery Support|Oncologische herstelondersteuning|Physical|Fysiek
Pain Recovery Support|Pijnherstel ondersteuning|Physical|Fysiek
Comfort During Recovery|Comfort tijdens herstel|Physical|Fysiek
Relax During Recovery|Ontspannen tijdens herstel|Emotional|Emotioneel
Healing Through Relaxation|Heling door ontspanning|Emotional|Emotioneel
Pain Resilience|Pijnveerkracht|Emotional|Emotioneel
Mental Recovery|Mentaal herstel|Mental|Mentaal
Mental Recharge|Mentaal opladen|Mental|Mentaal
Mental Restoration|Mentale herstelling|Mental|Mentaal
Mental Refresh|Mentale verfrissing|Mental|Mentaal
Mental Recovery After Stress|Mentaal herstel na stress|Mental|Mentaal
Cognitive Renewal|Cognitieve vernieuwing|Mental|Mentaal
Mental Clarity Recovery|Herstel van mentale helderheid|Mental|Mentaal
Brain Recharge|Brein opladen|Mental|Mentaal
Executive Recovery|Executief herstel|Mental|Mentaal
Recovery from Mental Fatigue|Herstel van mentale vermoeidheid|Mental|Mentaal
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Healing|Emotionele heling|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Recover from Burnout|Herstellen van burnout|Emotional|Emotioneel
Burnout Recovery Support|Burnoutherstel ondersteuning|Emotional|Emotioneel
Recover After Stress|Herstellen na stress|Emotional|Emotioneel
Recover Your Inner Balance|Herstel je innerlijke balans|Emotional|Emotioneel
Healing the Heart|Het hart helen|Emotional|Emotioneel
Inner Healing|Innerlijke heling|Spiritual|Spiritueel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Hope & Healing|Hoop & heling|Emotional|Emotioneel
Emotional Renewal|Emotionele vernieuwing|Emotional|Emotioneel
Resilience After Adversity|Veerkracht na tegenslag|Emotional|Emotioneel
Recovery from Grief|Herstel na rouw|Emotional|Emotioneel
Gentle Emotional Recovery|Zacht emotioneel herstel|Emotional|Emotioneel
Sleep Recovery|Slaapherstel|Physical|Fysiek
Restorative Recovery|Herstellend herstel|Physical|Fysiek
Recovery Sleep|Herstelslaap|Physical|Fysiek
Recovery Through Sleep|Herstel door slaap|Physical|Fysiek
Night Recovery|Nachtherstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recharge & Recover|Opladen & herstellen|Physical|Fysiek
Recovery Nap|Hersteldutje|Physical|Fysiek
Power Nap Recovery|Powernap herstel|Physical|Fysiek
Breathing for Recovery|Ademen voor herstel|Physical|Fysiek
Coherent Recovery|Coherent herstel|Physical|Fysiek
Heart Coherence Recovery|Hartcoherentie herstel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Autonomic Recovery|Autonoom herstel|Physical|Fysiek
Nervous System Recovery|Zenuwstelselherstel|Physical|Fysiek
Vagus Nerve Recovery|Nervus vagus herstel|Physical|Fysiek
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Meditation|Helingsmeditatie|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Inner Peace for Recovery|Innerlijke vrede voor herstel|Spiritual|Spiritueel
Stillness & Healing|Stilte & heling|Spiritual|Spiritueel
Sacred Healing|Heilige heling|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Recovery Through Gratitude|Herstel door dankbaarheid|Spiritual|Spiritueel
Recovery with Compassion|Herstel met compassie|Spiritual|Spiritueel
Healthy Aging Recovery|Herstel bij gezond ouder worden|Physical|Fysiek
Recovery for Seniors|Herstel voor senioren|Physical|Fysiek
Independent Living Recovery|Herstel voor zelfstandig leven|Physical|Fysiek
Everyday Recovery|Dagelijks herstel|Physical|Fysiek
Healthy Lifestyle Recovery|Gezonde leefstijl herstel|Physical|Fysiek
Recovery & Longevity|Herstel & longevity|Physical|Fysiek
Rebuild Strength|Kracht opnieuw opbouwen|Physical|Fysiek
Rebuild Confidence|Vertrouwen opnieuw opbouwen|Emotional|Emotioneel
Step by Step Recovery|Stap voor stap herstel|Emotional|Emotioneel
Back on Your Feet|Weer op de been|Physical|Fysiek
Forward with Confidence|Vooruit met vertrouwen|Emotional|Emotioneel
New Beginnings|Nieuw begin|Emotional|Emotioneel
Stronger Every Day|Elke dag sterker|Physical|Fysiek
Recover with Confidence|Herstellen met vertrouwen|Emotional|Emotioneel
Healthy Comeback|Gezonde comeback|Physical|Fysiek
The Road to Recovery|De weg naar herstel|Emotional|Emotioneel
Recovery Mindset|Herstelmindset|Mental|Mentaal
Healing Mindset|Helingsmindset|Mental|Mentaal
Recovery Without Rush|Herstel zonder haast|Emotional|Emotioneel
Patience in Recovery|Geduld in herstel|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
Recovery Milestones|Herstelmijlpalen|Emotional|Emotioneel
A Better Tomorrow|Een betere morgen|Emotional|Emotioneel
Thrive Again|Opnieuw floreren|Emotional|Emotioneel
Life After Recovery|Leven na herstel|Emotional|Emotioneel
Recovery Success|Succesvol herstel|Emotional|Emotioneel
Live Fully Again|Weer voluit leven|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_REHABILITATION_SESSION_DEFINITIONS = RECOVERY_REHABILITATION_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#14b8a6", "#22c55e", "#38bdf8", "#84cc16", "#facc15", "#fb923c", "#c084fc", "#f472b6"];
  return {
    id: `recovery-rehabilitation-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    recoveryBase: [5.8, 6.2, 5.4, 6.8, 4.8, 7.2, 5.6, 7.4, 6.0, 6.6, 5.2, 7.0][index % 12],
    style: 3900 + index
  };
});

const RECOVERY_FUNCTIONAL_DISORDERS_TITLE_PAIRS = `
Functional Wellness|Functioneel welzijn|Physical|Fysiek
Functional Health Support|Functionele gezondheidsondersteuning|Physical|Fysiek
Mind-Body Balance|Lichaam-geest balans|Physical/Mental|Fysiek/Mentaal
Mind-Body Regulation|Lichaam-geest regulatie|Physical/Mental|Fysiek/Mentaal
Mind-Body Recovery|Lichaam-geest herstel|Physical/Mental|Fysiek/Mentaal
Functional Recovery|Functioneel herstel|Physical|Fysiek
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Body Regulation|Gezonde lichaamsregulatie|Physical|Fysiek
Healthy Nervous System Regulation|Gezonde zenuwstelselregulatie|Physical|Fysiek
Body Balance|Lichaamsbalans|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Support|Ondersteuning van de nervus vagus|Physical|Fysiek
Central Sensitization Support|Ondersteuning bij centrale sensitisatie|Physical|Fysiek
Nervous System Reset|Zenuwstelselreset|Physical|Fysiek
Stress Recovery|Stressherstel|Emotional|Emotioneel
Stress Regulation|Stressregulatie|Emotional|Emotioneel
Emotional Regulation|Emotionele regulatie|Emotional|Emotioneel
Recovery from Chronic Stress|Herstel van chronische stress|Emotional|Emotioneel
Resilience Training|Veerkrachttraining|Mental|Mentaal
Persistent Fatigue Support|Ondersteuning bij aanhoudende vermoeidheid|Physical|Fysiek
Chronic Fatigue Wellness|Welzijn bij chronische vermoeidheid|Physical|Fysiek
ME/CFS Wellness Support|ME/CFS welzijnsondersteuning|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Post-Exertional Recovery Support|Herstelondersteuning na inspanning|Physical|Fysiek
Energy Conservation|Energiebehoud|Physical|Fysiek
Daily Energy Balance|Dagelijkse energiebalans|Physical|Fysiek
Fibromyalgia Wellness Support|Fibromyalgie welzijnsondersteuning|Physical|Fysiek
Fibromyalgia Comfort|Fibromyalgiecomfort|Physical|Fysiek
Widespread Pain Comfort|Comfort bij wijdverspreide pijn|Physical|Fysiek
Chronic Pain Support|Ondersteuning bij chronische pijn|Physical|Fysiek
Pain Comfort Support|Ondersteuning bij pijncomfort|Physical|Fysiek
Pain Resilience|Pijnveerkracht|Emotional|Emotioneel
Body Comfort|Lichaamscomfort|Physical|Fysiek
Irritable Bowel Support|Ondersteuning bij prikkelbare darm|Physical|Fysiek
IBS Wellness Support|IBS welzijnsondersteuning|Physical|Fysiek
Sensitive Gut Support|Ondersteuning voor gevoelige darm|Physical|Fysiek
Gut-Brain Balance|Darm-breinbalans|Physical/Mental|Fysiek/Mentaal
Digestive Comfort|Spijsverteringscomfort|Physical|Fysiek
Abdominal Comfort|Buikcomfort|Physical|Fysiek
Functional Digestive Wellness|Functioneel spijsverteringswelzijn|Physical|Fysiek
Functional Neurological Support|Functionele neurologische ondersteuning|Physical|Fysiek
Functional Movement Support|Functionele bewegingsondersteuning|Physical|Fysiek
Movement Confidence|Bewegingsvertrouwen|Emotional|Emotioneel
Motor Recovery Support|Motorisch herstel ondersteuning|Physical|Fysiek
Motor Calm|Motorische rust|Physical|Fysiek
Body Awareness|Lichaamsbewustzijn|Mental|Mentaal
Movement Without Fear|Bewegen zonder angst|Emotional|Emotioneel
Persistent Dizziness Support|Ondersteuning bij aanhoudende duizeligheid|Physical|Fysiek
Functional Balance Support|Functionele balansondersteuning|Physical|Fysiek
Vertigo Wellness Support|Duizeligheidswelzijn ondersteuning|Physical|Fysiek
Healthy Balance|Gezonde balans|Physical|Fysiek
Brain Fog Support|Brain fog ondersteuning|Mental|Mentaal
Mental Clarity Recovery|Herstel van mentale helderheid|Mental|Mentaal
Cognitive Recovery|Cognitief herstel|Mental|Mentaal
Mental Fatigue Recovery|Herstel van mentale vermoeidheid|Mental|Mentaal
Executive Function Support|Executieve functie ondersteuning|Mental|Mentaal
Focus Recovery|Focusherstel|Mental|Mentaal
Sensory Processing Support|Sensorische verwerkingsondersteuning|Mental|Mentaal
Sensory Calm|Sensorische rust|Mental|Mentaal
Sensory Balance|Sensorische balans|Mental|Mentaal
Sensory Regulation|Sensorische regulatie|Mental|Mentaal
Environmental Sensitivity Support|Ondersteuning bij omgevingsgevoeligheid|Physical|Fysiek
Noise Sensitivity Support|Ondersteuning bij geluidsgevoeligheid|Physical|Fysiek
Light Sensitivity Support|Ondersteuning bij lichtgevoeligheid|Physical|Fysiek
Functional Breathing Support|Functionele ademhalingsondersteuning|Physical|Fysiek
Breathing Confidence|Ademvertrouwen|Emotional|Emotioneel
Breathing Recovery|Ademherstel|Physical|Fysiek
Breathing Without Fear|Ademen zonder angst|Emotional|Emotioneel
Calm Breathing|Kalme ademhaling|Physical|Fysiek
Tension Headache Support|Ondersteuning bij spanningshoofdpijn|Physical|Fysiek
Migraine Wellness Support|Migraine welzijnsondersteuning|Physical|Fysiek
Head Comfort|Hoofdcomfort|Physical|Fysiek
Neck & Head Relaxation|Nek- & hoofdontspanning|Physical|Fysiek
Pelvic Pain Wellness Support|Bekkenpijn welzijnsondersteuning|Physical|Fysiek
Pelvic Floor Relaxation|Bekkenbodemontspanning|Physical|Fysiek
Pelvic Comfort|Bekkencomfort|Physical|Fysiek
Bladder Comfort Support|Blaascomfort ondersteuning|Physical|Fysiek
Healthy Sleep Recovery|Gezond slaapherstel|Physical|Fysiek
Sleep Recovery Support|Slaapherstel ondersteuning|Physical|Fysiek
Restorative Recovery|Herstellend herstel|Physical|Fysiek
Recovery Through Sleep|Herstel door slaap|Physical|Fysiek
Post-Viral Wellness Support|Postviraal welzijn ondersteuning|Physical|Fysiek
Long COVID Wellness Support|Long COVID welzijnsondersteuning|Physical|Fysiek
Recovery After Viral Illness|Herstel na virale ziekte|Physical|Fysiek
Health Anxiety Support|Ondersteuning bij gezondheidsangst|Emotional|Emotioneel
Body Awareness Balance|Balans in lichaamsbewustzijn|Mental|Mentaal
Health Confidence|Gezondheidsvertrouwen|Emotional|Emotioneel
Inner Safety|Innerlijke veiligheid|Emotional|Emotioneel
Feel Safe in Your Body|Voel je veilig in je lichaam|Emotional|Emotioneel
Trust Your Body|Vertrouw je lichaam|Emotional|Emotioneel
Reconnect with Your Body|Opnieuw verbinden met je lichaam|Emotional|Emotioneel
Body Trust|Lichaamsvertrouwen|Emotional|Emotioneel
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Relaxed Nervous System|Ontspannen zenuwstelsel|Physical|Fysiek
Nervous System Wellness|Zenuwstelselwelzijn|Physical|Fysiek
Neural Calm|Neurale rust|Physical|Fysiek
Neural Balance|Neurale balans|Physical|Fysiek
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Inner Calm|Innerlijke kalmte|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Acceptance & Recovery|Acceptatie & herstel|Emotional|Emotioneel
Hope & Healing|Hoop & heling|Emotional|Emotioneel
Recovery Mindset|Herstelmindset|Mental|Mentaal
Healing Mindset|Helingsmindset|Mental|Mentaal
Positive Recovery|Positief herstel|Emotional|Emotioneel
Small Steps Forward|Kleine stappen vooruit|Emotional|Emotioneel
Living Well with Symptoms|Goed leven met symptomen|Emotional|Emotioneel
Thriving Despite Challenges|Floreren ondanks uitdagingen|Emotional|Emotioneel
Daily Wellness|Dagelijks welzijn|Physical|Fysiek
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Lifestyle Recovery|Gezonde leefstijl herstel|Physical|Fysiek
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Healing Meditation|Helingsmeditatie|Spiritual|Spiritueel
Body Scan Relaxation|Bodyscan ontspanning|Spiritual|Spiritueel
Safe Body Meditation|Veilig lichaam meditatie|Spiritual|Spiritueel
Grounded in Your Body|Gegrond in je lichaam|Spiritual|Spiritueel
Gentle Recovery|Zacht herstel|Emotional|Emotioneel
Body-Mind Harmony|Lichaam-geest harmonie|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Compassionate Recovery|Compassievol herstel|Spiritual|Spiritueel
Balance & Resilience|Balans & veerkracht|Mental|Mentaal
Adaptive Recovery|Adaptief herstel|Mental|Mentaal
Healthy Adaptation|Gezonde adaptatie|Mental|Mentaal
Regain Confidence|Vertrouwen herwinnen|Emotional|Emotioneel
Confidence in Movement|Vertrouwen in beweging|Emotional|Emotioneel
Confidence in Recovery|Vertrouwen in herstel|Emotional|Emotioneel
The Calm Body|Het kalme lichaam|Emotional|Emotioneel
The Balanced Nervous System|Het gebalanceerde zenuwstelsel|Physical|Fysiek
The Recovery Journey|De herstelreis|Emotional|Emotioneel
Living in Balance|Leven in balans|Spiritual|Spiritueel
Everyday Wellness|Dagelijks welzijn|Physical|Fysiek
Restore Inner Balance|Innerlijke balans herstellen|Spiritual|Spiritueel
Whole Body Calm|Rust in het hele lichaam|Physical|Fysiek
Gentle Nervous System Recovery|Zacht zenuwstelselherstel|Physical|Fysiek
Mind-Body Harmony|Lichaam-geest harmonie|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_FUNCTIONAL_DISORDERS_SESSION_DEFINITIONS = RECOVERY_FUNCTIONAL_DISORDERS_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#14b8a6", "#22c55e", "#84cc16", "#c084fc", "#f472b6", "#facc15", "#fb923c"];
  return {
    id: `recovery-functional-disorders-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    regulationBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 4000 + index
  };
});

const RECOVERY_ONCOLOGY_SUPPORT_TITLE_PAIRS = `
Oncology Support|Oncologische ondersteuning|Physical|Fysiek
Cancer Care Support|Ondersteuning bij kankerzorg|Physical|Fysiek
Supportive Cancer Care|Ondersteunende kankerzorg|Physical|Fysiek
Healing Support|Helingsondersteuning|Emotional|Emotioneel
Comfort & Recovery|Comfort & herstel|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Wellness During Treatment|Welzijn tijdens behandeling|Physical|Fysiek
Wellness After Treatment|Welzijn na behandeling|Physical|Fysiek
Gentle Healing Journey|Zachte helingsreis|Emotional|Emotioneel
Daily Wellness|Dagelijks welzijn|Physical|Fysiek
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Healthy Recovery|Gezond herstel|Physical|Fysiek
Recovery After Treatment|Herstel na behandeling|Physical|Fysiek
Post-Treatment Recovery|Herstel na behandelingstraject|Physical|Fysiek
Treatment Recovery Support|Herstelondersteuning rond behandeling|Physical|Fysiek
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Strength Through Recovery|Kracht door herstel|Emotional|Emotioneel
Regaining Strength|Kracht herwinnen|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Recovery with Confidence|Herstellen met vertrouwen|Emotional|Emotioneel
Chemotherapy Recovery Support|Herstelondersteuning bij chemotherapie|Physical|Fysiek
Radiotherapy Recovery Support|Herstelondersteuning bij radiotherapie|Physical|Fysiek
Immunotherapy Recovery Support|Herstelondersteuning bij immunotherapie|Physical|Fysiek
Targeted Therapy Recovery Support|Herstelondersteuning bij doelgerichte therapie|Physical|Fysiek
Hormonal Therapy Wellness Support|Welzijnsondersteuning bij hormonale therapie|Physical|Fysiek
Post-Surgery Recovery|Postoperatief herstel|Physical|Fysiek
Post-Oncology Surgery Recovery|Herstel na oncologische operatie|Physical|Fysiek
Recovery After Hospitalization|Herstel na ziekenhuisopname|Physical|Fysiek
Healthy Tissue Recovery|Gezond weefselherstel|Physical|Fysiek
Physical Rehabilitation Support|Fysieke revalidatie ondersteuning|Physical|Fysiek
Cancer Fatigue Support|Ondersteuning bij kankergerelateerde vermoeidheid|Physical|Fysiek
Fatigue Recovery|Vermoeidheidsherstel|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Vitality Recovery|Vitaliteitsherstel|Physical|Fysiek
Recharge Your Energy|Laad je energie op|Physical|Fysiek
Gentle Energy Boost|Zachte energieboost|Physical|Fysiek
Daily Energy Balance|Dagelijkse energiebalans|Physical|Fysiek
Recovery from Fatigue|Herstel van vermoeidheid|Physical|Fysiek
Immune Wellness Support|Immuunwelzijn ondersteuning|Physical|Fysiek
Healthy Immune Function|Gezonde immuunfunctie|Physical|Fysiek
Immune Recovery|Immuunherstel|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Sleep for Recovery|Slaap voor herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Night Recovery|Nachtherstel|Physical|Fysiek
Recovery Through Sleep|Herstel door slaap|Physical|Fysiek
Peaceful Sleep|Vredige slaap|Physical|Fysiek
Sleep & Healing|Slaap & heling|Physical|Fysiek
Healthy Sleep Support|Gezonde slaapondersteuning|Physical|Fysiek
Stress Relief During Treatment|Stressverlichting tijdens behandeling|Emotional|Emotioneel
Calm During Treatment|Kalmte tijdens behandeling|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Hope & Healing|Hoop & heling|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Inner Calm|Innerlijke kalmte|Emotional|Emotioneel
Peace of Mind|Gemoedsrust|Emotional|Emotioneel
Calm the Mind|Kalmeer de geest|Mental|Mentaal
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Comfort During Recovery|Comfort tijdens herstel|Emotional|Emotioneel
Finding Calm|Kalmte vinden|Emotional|Emotioneel
Peaceful Recovery|Vredig herstel|Emotional|Emotioneel
Resilience Through Change|Veerkracht door verandering|Emotional|Emotioneel
Breathing for Recovery|Ademen voor herstel|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Relaxation|Nervus vagus ontspanning|Physical|Fysiek
Relaxed Breathing|Ontspannen ademhaling|Physical|Fysiek
Body Relaxation|Lichaamsontspanning|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Mindful Healing|Mindful heling|Spiritual|Spiritueel
Healing Meditation|Helingsmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Inner Peace Meditation|Innerlijke vrede meditatie|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Guided Relaxation|Geleide ontspanning|Spiritual|Spiritueel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Sacred Stillness|Heilige stilte|Spiritual|Spiritueel
Gentle Acceptance|Zachte acceptatie|Spiritual|Spiritueel
Acceptance & Peace|Acceptatie & vrede|Spiritual|Spiritueel
Trust the Journey|Vertrouw de reis|Spiritual|Spiritueel
Hope & Courage|Hoop & moed|Spiritual|Spiritueel
Strength Within|Kracht van binnen|Spiritual|Spiritueel
Inner Wisdom|Innerlijke wijsheid|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Loving Kindness|Liefdevolle vriendelijkheid|Spiritual|Spiritueel
Gratitude During Recovery|Dankbaarheid tijdens herstel|Spiritual|Spiritueel
The Present Moment|Het huidige moment|Spiritual|Spiritueel
Living Well Today|Vandaag goed leven|Emotional|Emotioneel
One Day at a Time|Een dag tegelijk|Emotional|Emotioneel
Finding Hope|Hoop vinden|Emotional|Emotioneel
Embrace Today|Omarm vandaag|Emotional|Emotioneel
Positive Recovery Mindset|Positieve herstelmindset|Mental|Mentaal
Healing Mindset|Helingsmindset|Mental|Mentaal
Recovery Mindset|Herstelmindset|Mental|Mentaal
Optimism & Strength|Optimisme & kracht|Emotional|Emotioneel
Courage to Continue|Moed om door te gaan|Emotional|Emotioneel
Finding Your Balance|Je balans vinden|Spiritual|Spiritueel
Life Beyond Treatment|Leven na behandeling|Emotional|Emotioneel
Moving Forward|Vooruit bewegen|Emotional|Emotioneel
New Beginnings|Nieuw begin|Emotional|Emotioneel
Rediscover Yourself|Jezelf opnieuw ontdekken|Emotional|Emotioneel
Rebuild Your Life|Je leven opnieuw opbouwen|Emotional|Emotioneel
Returning to Daily Life|Terug naar het dagelijks leven|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
Small Steps Forward|Kleine stappen vooruit|Emotional|Emotioneel
Thriving After Treatment|Floreren na behandeling|Emotional|Emotioneel
A New Chapter|Een nieuw hoofdstuk|Emotional|Emotioneel
Support for Caregivers|Ondersteuning voor mantelzorgers|Emotional|Emotioneel
Caregiver Recovery|Herstel voor mantelzorgers|Emotional|Emotioneel
Caregiver Resilience|Veerkracht voor mantelzorgers|Emotional|Emotioneel
Family Strength|Gezinskracht|Emotional|Emotioneel
Family Support|Gezinsondersteuning|Emotional|Emotioneel
Shared Hope|Gedeelde hoop|Emotional|Emotioneel
Together Through Recovery|Samen door herstel|Emotional|Emotioneel
Healthy Lifestyle During Recovery|Gezonde leefstijl tijdens herstel|Physical|Fysiek
Wellness Every Day|Welzijn elke dag|Physical|Fysiek
Daily Recovery Routine|Dagelijkse herstelroutine|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Recovery & Well-Being|Herstel & welzijn|Physical|Fysiek
The Recovery Journey|De herstelreis|Emotional|Emotioneel
Gentle Wellness|Zacht welzijn|Physical|Fysiek
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
Life with Confidence|Leven met vertrouwen|Emotional|Emotioneel
Body, Mind & Spirit|Lichaam, geest & ziel|Spiritual|Spiritueel
Harmony Through Recovery|Harmonie door herstel|Spiritual|Spiritueel
Resilient Living|Veerkrachtig leven|Emotional|Emotioneel
Finding Joy Again|Opnieuw vreugde vinden|Emotional|Emotioneel
Living with Purpose|Leven met betekenis|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_ONCOLOGY_SUPPORT_SESSION_DEFINITIONS = RECOVERY_ONCOLOGY_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 432, 741, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#f472b6", "#14b8a6", "#38bdf8", "#22c55e", "#c084fc", "#facc15", "#fb923c", "#84cc16"];
  return {
    id: `recovery-oncology-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    oncologyBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 4100 + index
  };
});

const RECOVERY_VISION_EYE_HEALTH_TITLE_PAIRS = `
Vision Wellness|Zichtwelzijn|Physical|Fysiek
Vision Support|Zichtondersteuning|Physical|Fysiek
Healthy Vision|Gezond zicht|Physical|Fysiek
Healthy Eyes|Gezonde ogen|Physical|Fysiek
Eye Wellness|Oogwelzijn|Physical|Fysiek
Eye Health Support|Ondersteuning van ooggezondheid|Physical|Fysiek
Eye Comfort|Oogcomfort|Physical|Fysiek
Eye Relaxation|Oogontspanning|Physical|Fysiek
Eye Recovery|Oogherstel|Physical|Fysiek
Visual Wellness|Visueel welzijn|Physical|Fysiek
Visual Comfort|Visueel comfort|Physical|Fysiek
Visual Recovery|Visueel herstel|Physical|Fysiek
Visual Vitality|Visuele vitaliteit|Physical|Fysiek
Healthy Visual Function|Gezonde visuele functie|Physical|Fysiek
Healthy Visual Balance|Gezonde visuele balans|Physical|Fysiek
Vision Harmony|Zichtharmonie|Physical|Fysiek
Eye Balance|Oogbalans|Physical|Fysiek
Visual Balance|Visuele balans|Physical|Fysiek
Whole Eye Wellness|Welzijn van het hele oog|Physical|Fysiek
Everyday Eye Care|Dagelijkse oogzorg|Physical|Fysiek
Eye Fatigue Recovery|Herstel van oogvermoeidheid|Physical|Fysiek
Digital Eye Strain Relief|Verlichting van digitale oogbelasting|Physical|Fysiek
Computer Vision Recovery|Computerzicht herstel|Physical|Fysiek
Screen Fatigue Recovery|Schermvermoeidheid herstel|Physical|Fysiek
Visual Fatigue Support|Ondersteuning bij visuele vermoeidheid|Physical|Fysiek
Office Eye Recovery|Oogherstel op kantoor|Physical|Fysiek
Eyes After Screen Time|Ogen na schermtijd|Physical|Fysiek
Healthy Screen Break|Gezonde schermpauze|Physical|Fysiek
Visual Refresh|Visuele verfrissing|Physical|Fysiek
Refresh Your Eyes|Verfris je ogen|Physical|Fysiek
Eye Recharge|Ogen opladen|Physical|Fysiek
Rest Your Eyes|Laat je ogen rusten|Physical|Fysiek
Gentle Eye Relaxation|Zachte oogontspanning|Physical|Fysiek
Deep Eye Relaxation|Diepe oogontspanning|Physical|Fysiek
Eye Muscle Relaxation|Oogspierontspanning|Physical|Fysiek
Relaxed Vision|Ontspannen zicht|Physical|Fysiek
Comfortable Vision|Comfortabel zicht|Physical|Fysiek
Visual Rest|Visuele rust|Physical|Fysiek
Healthy Visual Recovery|Gezond visueel herstel|Physical|Fysiek
Focus Recovery|Focusherstel|Mental|Mentaal
Healthy Focus|Gezonde focus|Mental|Mentaal
Visual Focus|Visuele focus|Mental|Mentaal
Sharp Visual Focus|Scherpe visuele focus|Mental|Mentaal
Concentration & Vision|Concentratie & zicht|Mental|Mentaal
Eye-Brain Coordination|Oog-breincoordinatie|Mental|Mentaal
Visual Attention|Visuele aandacht|Mental|Mentaal
Visual Awareness|Visueel gewaarzijn|Mental|Mentaal
Visual Clarity|Visuele helderheid|Mental|Mentaal
Clear Visual Thinking|Helder visueel denken|Mental|Mentaal
Visual Processing Support|Ondersteuning van visuele verwerking|Mental|Mentaal
Visual Perception Support|Ondersteuning van visuele perceptie|Mental|Mentaal
Healthy Eye-Brain Connection|Gezonde oog-breinverbinding|Mental|Mentaal
Vision Performance|Zichtprestatie|Mental|Mentaal
Reading Comfort|Leescomfort|Mental|Mentaal
Reading Endurance|Leesuithoudingsvermogen|Mental|Mentaal
Dry Eye Comfort|Comfort bij droge ogen|Physical|Fysiek
Eye Moisture Comfort|Oogvochtcomfort|Physical|Fysiek
Tired Eyes Support|Ondersteuning bij vermoeide ogen|Physical|Fysiek
Sensitive Eyes Support|Ondersteuning bij gevoelige ogen|Physical|Fysiek
Eye Irritation Comfort|Comfort bij oogirritatie|Physical|Fysiek
Red Eye Recovery Support|Herstelondersteuning bij rode ogen|Physical|Fysiek
Eye Strain Recovery|Herstel van oogbelasting|Physical|Fysiek
Heavy Eyes Relief|Verlichting bij zware ogen|Physical|Fysiek
Relaxed Eyelids|Ontspannen oogleden|Physical|Fysiek
Eye Tension Release|Oogspanning loslaten|Physical|Fysiek
Healthy Vision After Work|Gezond zicht na werk|Physical|Fysiek
Evening Eye Relaxation|Avondontspanning voor de ogen|Physical|Fysiek
Morning Vision Refresh|Ochtendverfrissing voor zicht|Physical|Fysiek
Daily Vision Wellness|Dagelijks zichtwelzijn|Physical|Fysiek
Visual Recovery After Reading|Visueel herstel na lezen|Physical|Fysiek
Healthy Eyes for Study|Gezonde ogen voor studie|Mental|Mentaal
Study Vision Support|Zichtondersteuning bij studie|Mental|Mentaal
Driver's Visual Focus|Visuele focus voor bestuurders|Mental|Mentaal
Night Driving Focus|Focus bij nachtelijk rijden|Mental|Mentaal
Visual Alertness|Visuele alertheid|Mental|Mentaal
Healthy Vision for Professionals|Gezond zicht voor professionals|Mental|Mentaal
Creative Visual Focus|Creatieve visuele focus|Mental|Mentaal
Healthy Aging Vision|Gezond ouder wordend zicht|Physical|Fysiek
Senior Vision Wellness|Zichtwelzijn voor senioren|Physical|Fysiek
Visual Vitality 60+|Visuele vitaliteit 60+|Physical|Fysiek
Age-Related Vision Wellness|Leeftijdsgerelateerd zichtwelzijn|Physical|Fysiek
Eye Wellness for Seniors|Oogwelzijn voor senioren|Physical|Fysiek
Healthy Retinal Wellness|Gezond retinawelzijn|Physical|Fysiek
Retinal Wellness Support|Retinawelzijn ondersteuning|Physical|Fysiek
Macular Wellness Support|Maculawelzijn ondersteuning|Physical|Fysiek
Macular Health Support|Ondersteuning van maculagezondheid|Physical|Fysiek
Glaucoma Wellness Support|Glaucoom welzijnsondersteuning|Physical|Fysiek
Healthy Eye Pressure Support|Ondersteuning van gezonde oogdruk|Physical|Fysiek
Cataract Wellness Support|Cataract welzijnsondersteuning|Physical|Fysiek
Healthy Lens Wellness|Gezond lenswelzijn|Physical|Fysiek
Optic Nerve Wellness|Oogzenuwwelzijn|Physical|Fysiek
Healthy Visual Field Awareness|Gezond visueel veld gewaarzijn|Mental|Mentaal
Color Vision Awareness|Kleurzicht gewaarzijn|Mental|Mentaal
Depth Perception Support|Ondersteuning van dieptewaarneming|Mental|Mentaal
Visual Orientation|Visuele orientatie|Mental|Mentaal
Spatial Awareness|Ruimtelijk gewaarzijn|Mental|Mentaal
Hand-Eye Coordination|Hand-oogcoordinatie|Physical/Mental|Fysiek/Mentaal
Eye-Hand Coordination|Oog-handcoordinatie|Physical/Mental|Fysiek/Mentaal
Visual Reaction Time|Visuele reactietijd|Mental|Mentaal
Sports Vision Support|Sportzicht ondersteuning|Mental|Mentaal
Athletic Vision|Atletisch zicht|Mental|Mentaal
Peak Visual Performance|Visuele topprestatie|Mental|Mentaal
Migraine Visual Comfort|Visueel comfort bij migraine|Physical|Fysiek
Light Sensitivity Support|Ondersteuning bij lichtgevoeligheid|Physical|Fysiek
Photophobia Comfort|Comfort bij fotofobie|Physical|Fysiek
Visual Sensitivity Support|Ondersteuning bij visuele gevoeligheid|Physical|Fysiek
Eye Surgery Recovery Support|Herstelondersteuning na oogoperatie|Physical|Fysiek
Post-Cataract Recovery Support|Herstelondersteuning na cataractoperatie|Physical|Fysiek
LASIK Recovery Support|LASIK herstelondersteuning|Physical|Fysiek
Post-Surgical Eye Comfort|Oogcomfort na operatie|Physical|Fysiek
Vision Recovery Support|Zichtherstel ondersteuning|Physical|Fysiek
Healthy Visual Habits|Gezonde visuele gewoonten|Mental|Mentaal
Mindful Seeing|Mindful zien|Spiritual|Spiritueel
Seeing with Awareness|Zien met gewaarzijn|Spiritual|Spiritueel
Visual Mindfulness|Visuele mindfulness|Spiritual|Spiritueel
Relax Through Vision|Ontspannen via zicht|Spiritual|Spiritueel
Soft Gaze Meditation|Zachte blik meditatie|Spiritual|Spiritueel
Open Awareness|Open gewaarzijn|Spiritual|Spiritueel
Visual Presence|Visuele aanwezigheid|Spiritual|Spiritueel
The Quiet Gaze|De stille blik|Spiritual|Spiritueel
Inner Vision|Innerlijk zicht|Spiritual|Spiritueel
Vision & Mindfulness|Zicht & mindfulness|Spiritual|Spiritueel
The Art of Seeing|De kunst van zien|Spiritual|Spiritueel
Seeing Clearly Within|Helder van binnen zien|Spiritual|Spiritueel
Visual Calm|Visuele kalmte|Spiritual|Spiritueel
Eyes of Gratitude|Ogen van dankbaarheid|Spiritual|Spiritueel
Vision Recovery Protocol|Zichtherstel protocol|Physical|Fysiek
Eye Wellness Protocol|Oogwelzijn protocol|Physical|Fysiek
Healthy Eyes Every Day|Elke dag gezonde ogen|Physical|Fysiek
Optimal Vision Wellness|Optimaal zichtwelzijn|Physical|Fysiek
Visual Health Journey|Visuele gezondheidsreis|Physical|Fysiek
Protect Your Vision|Bescherm je zicht|Physical|Fysiek
Everyday Vision Care|Dagelijkse zichtzorg|Physical|Fysiek
Whole Eye Recovery|Herstel van het hele oog|Physical|Fysiek
Visual Balance Protocol|Visuele balans protocol|Physical|Fysiek
Comfortable Eyes, Clear Mind|Comfortabele ogen, heldere geest|Physical/Mental|Fysiek/Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_VISION_EYE_HEALTH_SESSION_DEFINITIONS = RECOVERY_VISION_EYE_HEALTH_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#14b8a6", "#22c55e", "#60a5fa", "#c084fc", "#facc15", "#84cc16", "#f472b6"];
  return {
    id: `recovery-vision-eye-health-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    visionBase: [5.8, 6.2, 5.4, 6.8, 4.8, 7.2, 5.6, 7.4, 6.0, 6.6, 5.2, 7.0][index % 12],
    style: 4200 + index
  };
});

const RECOVERY_HEARING_TINNITUS_TITLE_PAIRS = `
Hearing Wellness|Gehoorwelzijn|Physical|Fysiek
Hearing Support|Gehoorondersteuning|Physical|Fysiek
Healthy Hearing|Gezond gehoor|Physical|Fysiek
Healthy Auditory Function|Gezonde auditieve functie|Physical|Fysiek
Auditory Wellness|Auditief welzijn|Physical|Fysiek
Auditory Support|Auditieve ondersteuning|Physical|Fysiek
Auditory Balance|Auditieve balans|Physical|Fysiek
Auditory Recovery|Auditief herstel|Physical|Fysiek
Healthy Listening|Gezond luisteren|Physical|Fysiek
Comfortable Hearing|Comfortabel horen|Physical|Fysiek
Listening Wellness|Luisterwelzijn|Physical|Fysiek
Healthy Auditory Processing|Gezonde auditieve verwerking|Mental|Mentaal
Auditory Awareness|Auditief gewaarzijn|Mental|Mentaal
Balanced Hearing|Gebalanceerd gehoor|Physical|Fysiek
Whole Ear Wellness|Welzijn van het hele oor|Physical|Fysiek
Daily Hearing Wellness|Dagelijks gehoorwelzijn|Physical|Fysiek
Healthy Ear Care|Gezonde oorzorg|Physical|Fysiek
Inner Ear Wellness|Binnenoorwelzijn|Physical|Fysiek
Ear Wellness Journey|Oorwelzijnsreis|Physical|Fysiek
Healthy Sound Awareness|Gezond geluidsgewaarzijn|Mental|Mentaal
Tinnitus Support|Tinnitus ondersteuning|Mental|Mentaal
Tinnitus Wellness|Tinnitus welzijn|Mental|Mentaal
Living Well with Tinnitus|Goed leven met tinnitus|Emotional|Emotioneel
Tinnitus Relaxation|Tinnitus ontspanning|Emotional|Emotioneel
Inner Calm for Tinnitus|Innerlijke rust bij tinnitus|Emotional|Emotioneel
Peace with Tinnitus|Vrede met tinnitus|Emotional|Emotioneel
Comfort with Tinnitus|Comfort bij tinnitus|Emotional|Emotioneel
Tinnitus Coping Support|Ondersteuning bij omgaan met tinnitus|Emotional|Emotioneel
Calm Despite Tinnitus|Kalm ondanks tinnitus|Emotional|Emotioneel
Quiet Mind for Tinnitus|Stille geest bij tinnitus|Mental|Mentaal
Tinnitus Sleep Support|Slaapondersteuning bij tinnitus|Physical|Fysiek
Night Calm for Tinnitus|Nachtrust bij tinnitus|Emotional|Emotioneel
Daily Tinnitus Wellness|Dagelijks tinnitus welzijn|Mental|Mentaal
Tinnitus Recovery Mindset|Tinnitus herstelmindset|Mental|Mentaal
Relax Through Sound|Ontspannen via geluid|Emotional|Emotioneel
Sound Acceptance|Geluidsacceptatie|Emotional|Emotioneel
Auditory Calm|Auditieve kalmte|Emotional|Emotioneel
Healthy Sound Perception|Gezonde geluidswaarneming|Mental|Mentaal
Sound Awareness Training|Training in geluidsgewaarzijn|Mental|Mentaal
Listening Without Stress|Luisteren zonder stress|Emotional|Emotioneel
Hyperacusis Support|Hyperacusis ondersteuning|Physical|Fysiek
Sound Sensitivity Support|Ondersteuning bij geluidsgevoeligheid|Physical|Fysiek
Noise Sensitivity Support|Ondersteuning bij lawaaigevoeligheid|Physical|Fysiek
Misophonia Support|Misofonie ondersteuning|Mental|Mentaal
Gentle Sound Adaptation|Zachte geluidsadaptatie|Physical|Fysiek
Healthy Auditory Comfort|Gezond auditief comfort|Physical|Fysiek
Everyday Sound Comfort|Dagelijks geluidscomfort|Physical|Fysiek
Auditory Resilience|Auditieve veerkracht|Mental|Mentaal
Calm Around Noise|Kalm rond lawaai|Emotional|Emotioneel
Comfort in Busy Environments|Comfort in drukke omgevingen|Emotional|Emotioneel
Healthy Sensory Balance|Gezonde sensorische balans|Mental|Mentaal
Auditory Processing Support|Ondersteuning van auditieve verwerking|Mental|Mentaal
Listening Focus|Luisterfocus|Mental|Mentaal
Focused Listening|Gefocust luisteren|Mental|Mentaal
Selective Listening|Selectief luisteren|Mental|Mentaal
Auditory Attention|Auditieve aandacht|Mental|Mentaal
Listening Clarity|Luisterhelderheid|Mental|Mentaal
Clear Listening|Helder luisteren|Mental|Mentaal
Speech Listening Support|Ondersteuning bij spraakluisteren|Mental|Mentaal
Conversation Focus|Gespreksfocus|Mental|Mentaal
Listening with Confidence|Luisteren met vertrouwen|Emotional|Emotioneel
Auditory Memory|Auditief geheugen|Mental|Mentaal
Auditory Processing Recovery|Herstel van auditieve verwerking|Mental|Mentaal
Healthy Hearing Focus|Gezonde gehoorfocus|Mental|Mentaal
Auditory Concentration|Auditieve concentratie|Mental|Mentaal
Listening Performance|Luisterprestatie|Mental|Mentaal
Music Appreciation|Muziekwaardering|Emotional|Emotioneel
Mindful Listening|Mindful luisteren|Spiritual|Spiritueel
Deep Listening|Diep luisteren|Spiritual|Spiritueel
Listening Meditation|Luistermeditatie|Spiritual|Spiritueel
The Art of Listening|De kunst van luisteren|Spiritual|Spiritueel
Listening in Silence|Luisteren in stilte|Spiritual|Spiritueel
Silent Awareness|Stil gewaarzijn|Spiritual|Spiritueel
Inner Silence|Innerlijke stilte|Spiritual|Spiritueel
Peaceful Listening|Vredig luisteren|Spiritual|Spiritueel
Harmony Through Sound|Harmonie via geluid|Spiritual|Spiritueel
Sound Mindfulness|Geluidsmindfulness|Spiritual|Spiritueel
Sacred Listening|Heilig luisteren|Spiritual|Spiritueel
Healing Soundscape|Helend klanklandschap|Spiritual|Spiritueel
Nature Sound Relaxation|Ontspanning met natuurgeluid|Spiritual|Spiritueel
Ocean Sound Relaxation|Ontspanning met oceaangeluid|Spiritual|Spiritueel
Rain Sound Relaxation|Ontspanning met regengeluid|Spiritual|Spiritueel
Forest Soundscape|Bosklanklandschap|Spiritual|Spiritueel
Ambient Sound Relaxation|Ontspanning met ambient geluid|Spiritual|Spiritueel
Ear Relaxation|Oorontspanning|Physical|Fysiek
Head & Ear Relaxation|Hoofd- en oorontspanning|Physical|Fysiek
Neck & Jaw Relaxation|Nek- en kaakontspanning|Physical|Fysiek
TMJ Relaxation Support|Kaakgewricht ontspanningsondersteuning|Physical|Fysiek
Jaw Relaxation|Kaakontspanning|Physical|Fysiek
Facial Relaxation|Gezichtsontspanning|Physical|Fysiek
Head Relaxation|Hoofdontspanning|Physical|Fysiek
Cranial Relaxation|Craniale ontspanning|Physical|Fysiek
Neck Comfort|Nekcomfort|Physical|Fysiek
Shoulder & Neck Relaxation|Schouder- en nekontspanning|Physical|Fysiek
Stress Relief for Tinnitus|Stressverlichting bij tinnitus|Emotional|Emotioneel
Stress & Hearing Balance|Stress- en gehoorbalans|Emotional|Emotioneel
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Heart Coherence for Calm|Hartcoherentie voor kalmte|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Breathing for Inner Calm|Ademhaling voor innerlijke rust|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Body Relaxation|Lichaamsontspanning|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Sleep for Hearing Wellness|Slaap voor gehoorwelzijn|Physical|Fysiek
Restful Sleep with Tinnitus|Rustgevende slaap met tinnitus|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Hearing Recovery Support|Gehoorherstel ondersteuning|Physical|Fysiek
Auditory Rehabilitation Support|Auditieve revalidatie ondersteuning|Physical|Fysiek
Recovery After Hearing Loss|Herstel na gehoorverlies|Physical|Fysiek
Healthy Hearing Adaptation|Gezonde gehooradaptatie|Physical|Fysiek
Cochlear Implant Wellness Support|Welzijnsondersteuning bij cochleair implantaat|Physical|Fysiek
Hearing Aid Adaptation|Adaptatie aan hoortoestel|Physical|Fysiek
Auditory Rehabilitation Wellness|Auditief revalidatiewelzijn|Physical|Fysiek
Balance & Hearing|Balans & gehoor|Physical|Fysiek
Vestibular Wellness|Vestibulair welzijn|Physical|Fysiek
Inner Ear Balance|Binnenoorbalans|Physical|Fysiek
Balance Recovery|Balansherstel|Physical|Fysiek
Vertigo Wellness Support|Vertigo welzijnsondersteuning|Physical|Fysiek
Dizziness Recovery Support|Herstelondersteuning bij duizeligheid|Physical|Fysiek
Healthy Aging Hearing|Gezond ouder wordend gehoor|Physical|Fysiek
Senior Hearing Wellness|Gehoorwelzijn voor senioren|Physical|Fysiek
Age-Related Hearing Wellness|Leeftijdsgerelateerd gehoorwelzijn|Physical|Fysiek
Healthy Listening for Life|Levenslang gezond luisteren|Physical|Fysiek
Protect Your Hearing|Bescherm je gehoor|Physical|Fysiek
Healthy Hearing Habits|Gezonde gehoorgewoonten|Mental|Mentaal
Safe Listening|Veilig luisteren|Mental|Mentaal
Healthy Sound Environment|Gezonde geluidsomgeving|Mental|Mentaal
Inner Peace Through Sound|Innerlijke vrede via geluid|Spiritual|Spiritueel
Sound & Serenity|Geluid & sereniteit|Spiritual|Spiritueel
Sound Balance|Geluidsbalans|Spiritual|Spiritueel
Harmony Within|Harmonie van binnen|Spiritual|Spiritueel
Acceptance & Peace|Acceptatie & vrede|Spiritual|Spiritueel
Living Beyond Tinnitus|Leven voorbij tinnitus|Emotional|Emotioneel
Rediscover Silence|Herontdek stilte|Spiritual|Spiritueel
Rediscover Calm|Herontdek kalmte|Emotional|Emotioneel
Focus Beyond the Sound|Focus voorbij het geluid|Mental|Mentaal
Attention Redirection|Aandacht her-richten|Mental|Mentaal
Healthy Auditory Lifestyle|Gezonde auditieve leefstijl|Physical|Fysiek
Auditory Wellness Protocol|Auditief welzijnsprotocol|Physical|Fysiek
The Calm Ear|Het kalme oor|Emotional|Emotioneel
Comfortable Listening|Comfortabel luisteren|Emotional|Emotioneel
Whole Hearing Wellness|Volledig gehoorwelzijn|Physical|Fysiek
Everyday Auditory Wellness|Dagelijks auditief welzijn|Physical|Fysiek
Healthy Hearing Journey|Gezonde gehoorreis|Physical|Fysiek
Optimal Hearing Wellness|Optimaal gehoorwelzijn|Physical|Fysiek
Listen with Ease|Luisteren met gemak|Emotional|Emotioneel
Quiet Confidence|Stil vertrouwen|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_HEARING_TINNITUS_SESSION_DEFINITIONS = RECOVERY_HEARING_TINNITUS_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Drone", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#14b8a6", "#a78bfa", "#22c55e", "#60a5fa", "#f472b6", "#facc15", "#64748b"];
  return {
    id: `recovery-hearing-tinnitus-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 2) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    auditoryBase: [5.6, 6.0, 6.4, 5.2, 4.8, 6.8, 7.2, 5.8, 6.2, 4.6, 7.0, 5.4][index % 12],
    style: 4300 + index
  };
});

const RECOVERY_ORAL_DENTAL_TITLE_PAIRS = `
Oral Wellness|Mondwelzijn|Physical|Fysiek
Dental Wellness|Tandheelkundig welzijn|Physical|Fysiek
Oral Health Support|Ondersteuning van mondgezondheid|Physical|Fysiek
Dental Health Support|Ondersteuning van tandgezondheid|Physical|Fysiek
Healthy Mouth|Gezonde mond|Physical|Fysiek
Healthy Teeth|Gezonde tanden|Physical|Fysiek
Healthy Gums|Gezond tandvlees|Physical|Fysiek
Healthy Smile|Gezonde glimlach|Physical|Fysiek
Oral Comfort|Mondcomfort|Physical|Fysiek
Dental Comfort|Tandcomfort|Physical|Fysiek
Mouth Wellness|Mondwelzijn|Physical|Fysiek
Healthy Oral Function|Gezonde mondfunctie|Physical|Fysiek
Daily Oral Wellness|Dagelijks mondwelzijn|Physical|Fysiek
Whole Mouth Wellness|Welzijn van de hele mond|Physical|Fysiek
Healthy Oral Balance|Gezonde mondbalans|Physical|Fysiek
Oral Recovery|Mondherstel|Physical|Fysiek
Dental Recovery|Tandheelkundig herstel|Physical|Fysiek
Oral Healing Support|Ondersteuning van mondherstel|Physical|Fysiek
Healthy Oral Tissues|Gezonde mondweefsels|Physical|Fysiek
Healthy Jaw Function|Gezonde kaakfunctie|Physical|Fysiek
Healthy Gums Support|Ondersteuning van gezond tandvlees|Physical|Fysiek
Gum Wellness|Tandvleeswelzijn|Physical|Fysiek
Gum Comfort|Tandvleescomfort|Physical|Fysiek
Healthy Gum Recovery|Gezond tandvleesherstel|Physical|Fysiek
Sensitive Gums Support|Ondersteuning bij gevoelig tandvlees|Physical|Fysiek
Oral Tissue Wellness|Mondweefselwelzijn|Physical|Fysiek
Tooth Comfort|Tandcomfort|Physical|Fysiek
Sensitive Teeth Support|Ondersteuning bij gevoelige tanden|Physical|Fysiek
Healthy Tooth Support|Ondersteuning van gezonde tanden|Physical|Fysiek
Dental Sensitivity Comfort|Comfort bij tandgevoeligheid|Physical|Fysiek
Jaw Relaxation|Kaakontspanning|Physical|Fysiek
Jaw Comfort|Kaakcomfort|Physical|Fysiek
Jaw Mobility|Kaakmobiliteit|Physical|Fysiek
Healthy Jaw Balance|Gezonde kaakbalans|Physical|Fysiek
Jaw Recovery|Kaakherstel|Physical|Fysiek
TMJ Wellness Support|Kaakgewricht welzijnsondersteuning|Physical|Fysiek
TMJ Relaxation|Kaakgewricht ontspanning|Physical|Fysiek
TMJ Comfort|Kaakgewricht comfort|Physical|Fysiek
Jaw Tension Release|Kaakspanning loslaten|Physical|Fysiek
Facial Muscle Relaxation|Gezichtsspierontspanning|Physical|Fysiek
Face & Jaw Relaxation|Gezichts- en kaakontspanning|Physical|Fysiek
Neck & Jaw Relaxation|Nek- en kaakontspanning|Physical|Fysiek
Craniofacial Relaxation|Craniofaciale ontspanning|Physical|Fysiek
Teeth Grinding Support|Ondersteuning bij tandenknarsen|Physical|Fysiek
Bruxism Relaxation Support|Ontspanningsondersteuning bij bruxisme|Physical|Fysiek
Nighttime Jaw Relaxation|Nachtelijke kaakontspanning|Physical|Fysiek
Relax Before Sleep|Ontspan voor het slapen|Physical|Fysiek
Jaw Recovery During Sleep|Kaakherstel tijdens slaap|Physical|Fysiek
Dental Procedure Relaxation|Ontspanning bij tandheelkundige procedure|Emotional|Emotioneel
Before the Dentist|Voor de tandarts|Emotional|Emotioneel
Calm Before Dental Treatment|Kalm voor tandheelkundige behandeling|Emotional|Emotioneel
Dental Visit Confidence|Vertrouwen bij tandartsbezoek|Emotional|Emotioneel
Relax at the Dentist|Ontspannen bij de tandarts|Emotional|Emotioneel
Dental Anxiety Support|Ondersteuning bij tandartsangst|Emotional|Emotioneel
Fear-Free Dental Visits|Tandartsbezoek zonder angst|Emotional|Emotioneel
Calm in the Dental Chair|Kalm in de tandartsstoel|Emotional|Emotioneel
Comfort During Dental Treatment|Comfort tijdens tandheelkundige behandeling|Emotional|Emotioneel
Confident Dental Care|Tandzorg met vertrouwen|Emotional|Emotioneel
Stress-Free Dental Appointment|Stressvrije tandartsafspraak|Emotional|Emotioneel
Dental Surgery Recovery Support|Herstelondersteuning na tandheelkundige chirurgie|Physical|Fysiek
Recovery After Dental Surgery|Herstel na tandheelkundige chirurgie|Physical|Fysiek
Oral Surgery Recovery|Herstel na mondchirurgie|Physical|Fysiek
Wisdom Tooth Recovery Support|Herstelondersteuning na verstandskiesbehandeling|Physical|Fysiek
Implant Recovery Support|Herstelondersteuning na implantaat|Physical|Fysiek
Recovery After Tooth Extraction|Herstel na tandextractie|Physical|Fysiek
Orthodontic Comfort|Orthodontisch comfort|Physical|Fysiek
Braces Comfort Support|Comfortondersteuning bij beugels|Physical|Fysiek
Aligner Comfort|Aligner comfort|Physical|Fysiek
Orthodontic Recovery|Orthodontisch herstel|Physical|Fysiek
Healthy Bite|Gezonde beet|Physical|Fysiek
Healthy Chewing|Gezond kauwen|Physical|Fysiek
Comfortable Chewing|Comfortabel kauwen|Physical|Fysiek
Healthy Oral Movement|Gezonde mondbeweging|Physical|Fysiek
Swallowing Comfort|Slikcomfort|Physical|Fysiek
Mouth Relaxation|Mondontspanning|Physical|Fysiek
Tongue Relaxation|Tongontspanning|Physical|Fysiek
Healthy Tongue Awareness|Gezond tongbewustzijn|Physical|Fysiek
Dry Mouth Support|Ondersteuning bij droge mond|Physical|Fysiek
Oral Moisture Comfort|Mondvochtcomfort|Physical|Fysiek
Fresh Breath Wellness|Frisse adem welzijn|Physical|Fysiek
Healthy Oral Environment|Gezonde mondomgeving|Physical|Fysiek
Healthy Saliva Function|Gezonde speekselfunctie|Physical|Fysiek
Healthy Smile Confidence|Vertrouwen in een gezonde glimlach|Emotional|Emotioneel
Smile with Confidence|Glimlach met vertrouwen|Emotional|Emotioneel
Positive Self-Image|Positief zelfbeeld|Emotional|Emotioneel
Confident Smile|Zelfverzekerde glimlach|Emotional|Emotioneel
Radiant Smile|Stralende glimlach|Emotional|Emotioneel
Feel Good About Your Smile|Goed voelen over je glimlach|Emotional|Emotioneel
Mindful Oral Care|Mindful mondzorg|Mental|Mentaal
Healthy Oral Habits|Gezonde mondgewoonten|Mental|Mentaal
Daily Dental Care|Dagelijkse tandzorg|Mental|Mentaal
Oral Self-Care|Mondzelfzorg|Mental|Mentaal
Healthy Routine|Gezonde routine|Mental|Mentaal
Motivation for Oral Care|Motivatie voor mondzorg|Mental|Mentaal
Breathing & Jaw Relaxation|Ademhaling & kaakontspanning|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Parasympathetic Relaxation|Parasympathische ontspanning|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Stress Relief for Jaw Tension|Stressverlichting bij kaakspanning|Emotional|Emotioneel
Release Facial Tension|Gezichtsspanning loslaten|Physical|Fysiek
Release Physical Tension|Fysieke spanning loslaten|Physical|Fysiek
Progressive Facial Relaxation|Progressieve gezichtsontspanning|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Sleep for Recovery|Slaap voor herstel|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Oral Mindfulness|Mondmindfulness|Spiritual|Spiritueel
Mindful Relaxation|Mindful ontspanning|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Gentle Healing Journey|Zachte herstelreis|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Acceptance & Relaxation|Acceptatie & ontspanning|Spiritual|Spiritueel
Calm Presence|Kalme aanwezigheid|Spiritual|Spiritueel
Peaceful Recovery|Vredig herstel|Spiritual|Spiritueel
Healthy Aging Oral Wellness|Mondwelzijn bij gezond ouder worden|Physical|Fysiek
Senior Oral Wellness|Mondwelzijn voor senioren|Physical|Fysiek
Healthy Teeth for Life|Levenslang gezonde tanden|Physical|Fysiek
Healthy Gums for Life|Levenslang gezond tandvlees|Physical|Fysiek
Lifelong Oral Health|Levenslange mondgezondheid|Physical|Fysiek
Healthy Smile for Life|Levenslang gezonde glimlach|Physical|Fysiek
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Oral Wellness Protocol|Mondwelzijn protocol|Physical|Fysiek
Dental Wellness Protocol|Tandheelkundig welzijnsprotocol|Physical|Fysiek
Jaw Relaxation Protocol|Kaakontspanningsprotocol|Physical|Fysiek
Healthy Mouth Every Day|Elke dag een gezonde mond|Physical|Fysiek
Comfortable Oral Care|Comfortabele mondzorg|Physical|Fysiek
Oral Recovery Journey|Mondherstelreis|Physical|Fysiek
Healthy Mouth, Healthy Life|Gezonde mond, gezond leven|Physical|Fysiek
The Relaxed Jaw|De ontspannen kaak|Physical|Fysiek
The Healthy Smile|De gezonde glimlach|Emotional|Emotioneel
Whole Mouth Recovery|Herstel van de hele mond|Physical|Fysiek
Oral Balance|Mondbalans|Physical|Fysiek
Smile Without Fear|Glimlach zonder angst|Emotional|Emotioneel
Comfortable Dental Care|Comfortabele tandzorg|Emotional|Emotioneel
Restore Oral Comfort|Herstel mondcomfort|Physical|Fysiek
Healthy Oral Future|Gezonde mondtoekomst|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_ORAL_DENTAL_SESSION_DEFINITIONS = RECOVERY_ORAL_DENTAL_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#14b8a6", "#38bdf8", "#22c55e", "#facc15", "#60a5fa", "#f472b6", "#a78bfa", "#fb923c"];
  return {
    id: `recovery-oral-dental-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    oralBase: [5.8, 6.2, 5.4, 6.6, 4.8, 7.0, 5.6, 6.8, 6.0, 5.2, 7.2, 4.6][index % 12],
    style: 4400 + index
  };
});

const RECOVERY_GENETIC_RARE_TITLE_PAIRS = `
Rare Condition Support|Ondersteuning bij zeldzame aandoening|Physical|Fysiek
Genetic Condition Support|Ondersteuning bij genetische aandoening|Physical|Fysiek
Rare Disease Wellness|Welzijn bij zeldzame ziekte|Physical|Fysiek
Genetic Wellness Support|Genetische welzijnsondersteuning|Physical|Fysiek
Rare Disease Recovery Support|Herstelondersteuning bij zeldzame ziekte|Physical|Fysiek
Living Well with a Rare Condition|Goed leven met een zeldzame aandoening|Emotional|Emotioneel
Living Well with a Genetic Condition|Goed leven met een genetische aandoening|Emotional|Emotioneel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Daily Wellness Support|Dagelijkse welzijnsondersteuning|Physical|Fysiek
Everyday Resilience|Dagelijkse veerkracht|Emotional|Emotioneel
Gentle Recovery|Zacht herstel|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Recovery & Well-Being|Herstel & welzijn|Physical|Fysiek
Healthy Living Support|Ondersteuning voor gezond leven|Physical|Fysiek
Mind-Body Balance|Lichaam-geest balans|Physical/Mental|Fysiek/Mentaal
Body-Mind Harmony|Lichaam-geest harmonie|Spiritual|Spiritueel
Healthy Lifestyle Support|Ondersteuning voor gezonde leefstijl|Physical|Fysiek
Resilient Living|Veerkrachtig leven|Emotional|Emotioneel
Healthy Adaptation|Gezonde aanpassing|Mental|Mentaal
Living with Confidence|Leven met vertrouwen|Emotional|Emotioneel
Chromosomal Condition Support|Ondersteuning bij chromosomale aandoening|Physical|Fysiek
Down Syndrome Wellness Support|Welzijnsondersteuning bij Downsyndroom|Physical|Fysiek
Turner Syndrome Wellness Support|Welzijnsondersteuning bij Turner-syndroom|Physical|Fysiek
Klinefelter Syndrome Wellness Support|Welzijnsondersteuning bij Klinefelter-syndroom|Physical|Fysiek
Williams Syndrome Wellness Support|Welzijnsondersteuning bij Williams-syndroom|Physical|Fysiek
Fragile X Wellness Support|Welzijnsondersteuning bij Fragiele-X-syndroom|Physical|Fysiek
Angelman Syndrome Wellness Support|Welzijnsondersteuning bij Angelman-syndroom|Physical|Fysiek
Prader-Willi Wellness Support|Welzijnsondersteuning bij Prader-Willi-syndroom|Physical|Fysiek
Rett Syndrome Wellness Support|Welzijnsondersteuning bij Rett-syndroom|Physical|Fysiek
Rare Neurological Wellness Support|Zeldzame neurologische welzijnsondersteuning|Physical|Fysiek
Rare Neuromuscular Wellness|Zeldzaam neuromusculair welzijn|Physical|Fysiek
Rare Metabolic Wellness|Zeldzaam metabool welzijn|Physical|Fysiek
Rare Mitochondrial Wellness|Zeldzaam mitochondriaal welzijn|Physical|Fysiek
Rare Connective Tissue Wellness|Zeldzaam bindweefselwelzijn|Physical|Fysiek
Rare Autoimmune Wellness|Zeldzaam auto-immuun welzijn|Physical|Fysiek
Rare Endocrine Wellness|Zeldzaam endocrien welzijn|Physical|Fysiek
Rare Skeletal Wellness|Zeldzaam skeletwelzijn|Physical|Fysiek
Rare Developmental Wellness|Zeldzaam ontwikkelingswelzijn|Physical|Fysiek
Ehlers-Danlos Wellness Support|Welzijnsondersteuning bij Ehlers-Danlos|Physical|Fysiek
Marfan Syndrome Wellness Support|Welzijnsondersteuning bij Marfan-syndroom|Physical|Fysiek
Osteogenesis Imperfecta Wellness|Welzijn bij osteogenesis imperfecta|Physical|Fysiek
Muscular Dystrophy Wellness Support|Welzijnsondersteuning bij spierdystrofie|Physical|Fysiek
Spinal Muscular Atrophy Wellness|Welzijn bij spinale musculaire atrofie|Physical|Fysiek
Friedreich Ataxia Wellness Support|Welzijnsondersteuning bij Friedreich-ataxie|Physical|Fysiek
Huntington's Wellness Support|Welzijnsondersteuning bij Huntington|Physical|Fysiek
Neurofibromatosis Wellness Support|Welzijnsondersteuning bij neurofibromatose|Physical|Fysiek
Tuberous Sclerosis Wellness Support|Welzijnsondersteuning bij tubereuze sclerose|Physical|Fysiek
Fabry Disease Wellness Support|Welzijnsondersteuning bij ziekte van Fabry|Physical|Fysiek
Gaucher Disease Wellness Support|Welzijnsondersteuning bij ziekte van Gaucher|Physical|Fysiek
Pompe Disease Wellness Support|Welzijnsondersteuning bij ziekte van Pompe|Physical|Fysiek
Wilson Disease Wellness Support|Welzijnsondersteuning bij ziekte van Wilson|Physical|Fysiek
Phenylketonuria Wellness Support|Welzijnsondersteuning bij fenylketonurie|Physical|Fysiek
Cystic Fibrosis Wellness Support|Welzijnsondersteuning bij cystische fibrose|Physical|Fysiek
Sickle Cell Wellness Support|Welzijnsondersteuning bij sikkelcelziekte|Physical|Fysiek
Thalassemia Wellness Support|Welzijnsondersteuning bij thalassemie|Physical|Fysiek
Hemophilia Wellness Support|Welzijnsondersteuning bij hemofilie|Physical|Fysiek
Chronic Symptom Support|Ondersteuning bij chronische symptomen|Physical|Fysiek
Persistent Fatigue Support|Ondersteuning bij aanhoudende vermoeidheid|Physical|Fysiek
Pain Comfort Support|Ondersteuning bij pijncomfort|Physical|Fysiek
Muscle Comfort|Spiercomfort|Physical|Fysiek
Joint Comfort|Gewrichtscomfort|Physical|Fysiek
Mobility Support|Mobiliteitsondersteuning|Physical|Fysiek
Physical Recovery|Fysiek herstel|Physical|Fysiek
Movement Confidence|Vertrouwen in beweging|Emotional|Emotioneel
Daily Energy Balance|Dagelijkse energiebalans|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Sleep Recovery|Slaapherstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Breathing for Recovery|Ademhaling voor herstel|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Living Beyond Limitations|Leven voorbij beperkingen|Emotional|Emotioneel
Positive Adaptation|Positieve aanpassing|Emotional|Emotioneel
Acceptance & Growth|Acceptatie & groei|Emotional|Emotioneel
Living with Hope|Leven met hoop|Emotional|Emotioneel
Finding Strength|Kracht vinden|Emotional|Emotioneel
Finding Joy|Vreugde vinden|Emotional|Emotioneel
Resilience Through Adversity|Veerkracht bij tegenslag|Emotional|Emotioneel
Everyday Courage|Dagelijkse moed|Emotional|Emotioneel
Confidence for Every Day|Vertrouwen voor elke dag|Emotional|Emotioneel
Life with Purpose|Leven met betekenis|Spiritual|Spiritueel
Meaningful Living|Betekenisvol leven|Spiritual|Spiritueel
Purpose Beyond Diagnosis|Betekenis voorbij diagnose|Spiritual|Spiritueel
Caregiver Support|Mantelzorgondersteuning|Emotional|Emotioneel
Family Resilience|Gezinsveerkracht|Emotional|Emotioneel
Family Strength|Gezinskracht|Emotional|Emotioneel
Support for Parents|Ondersteuning voor ouders|Emotional|Emotioneel
Support for Siblings|Ondersteuning voor broers en zussen|Emotional|Emotioneel
Caregiver Recovery|Herstel voor mantelzorgers|Emotional|Emotioneel
Caregiver Self-Care|Zelfzorg voor mantelzorgers|Emotional|Emotioneel
Caregiver Resilience|Veerkracht voor mantelzorgers|Emotional|Emotioneel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Calm Acceptance|Kalme acceptatie|Spiritual|Spiritueel
Gratitude Practice|Dankbaarheidsoefening|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
One Day at a Time|Een dag tegelijk|Spiritual|Spiritueel
Trust the Journey|Vertrouw de reis|Spiritual|Spiritueel
Gentle Mindfulness|Zachte mindfulness|Spiritual|Spiritueel
Sacred Stillness|Heilige stilte|Spiritual|Spiritueel
Hope for Tomorrow|Hoop voor morgen|Spiritual|Spiritueel
Body Awareness Meditation|Lichaamsbewustzijn meditatie|Spiritual|Spiritueel
Relaxation & Acceptance|Ontspanning & acceptatie|Spiritual|Spiritueel
Healthy Aging with a Rare Condition|Gezond ouder worden met een zeldzame aandoening|Physical|Fysiek
Daily Independence|Dagelijkse zelfstandigheid|Physical|Fysiek
Functional Independence|Functionele zelfstandigheid|Physical|Fysiek
Adaptive Living|Adaptief leven|Mental|Mentaal
Daily Confidence|Dagelijks vertrouwen|Emotional|Emotioneel
Living Your Best Life|Je beste leven leven|Emotional|Emotioneel
Thrive Every Day|Elke dag floreren|Emotional|Emotioneel
Celebrate Small Victories|Kleine overwinningen vieren|Emotional|Emotioneel
Recovery Mindset|Herstelmindset|Mental|Mentaal
Positive Health Mindset|Positieve gezondheidsmindset|Mental|Mentaal
Whole Life Wellness|Welzijn voor het hele leven|Physical|Fysiek
Quality of Life Support|Ondersteuning van levenskwaliteit|Emotional|Emotioneel
The Recovery Journey|De herstelreis|Emotional|Emotioneel
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
Gentle Wellness|Zacht welzijn|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Live with Confidence|Leef met vertrouwen|Emotional|Emotioneel
Whole Person Support|Ondersteuning van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Future Mindset|Gezonde toekomstmindset|Mental|Mentaal
Strength for Today|Kracht voor vandaag|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_GENETIC_RARE_SESSION_DEFINITIONS = RECOVERY_GENETIC_RARE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#60a5fa", "#14b8a6", "#22c55e", "#a78bfa", "#f472b6", "#facc15", "#38bdf8", "#84cc16"];
  return {
    id: `recovery-genetic-rare-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    rareBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 4500 + index
  };
});

const RECOVERY_CHILD_PEDIATRIC_TITLE_PAIRS = `
Healthy Child Development|Gezonde kinderontwikkeling|Physical|Fysiek
Child Development Support|Ondersteuning bij kinderontwikkeling|Physical|Fysiek
Pediatric Wellness|Pediatrisch welzijn|Physical|Fysiek
Healthy Growth|Gezonde groei|Physical|Fysiek
Growing Strong|Sterk opgroeien|Physical|Fysiek
Growing with Confidence|Opgroeien met vertrouwen|Emotional|Emotioneel
Healthy Childhood|Gezonde kindertijd|Physical|Fysiek
Happy & Healthy Child|Gelukkig & gezond kind|Physical|Fysiek
Everyday Child Wellness|Dagelijks kinderwelzijn|Physical|Fysiek
Whole Child Wellness|Welzijn van het hele kind|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Body & Mind|Gezond lichaam & geest|Physical/Mental|Fysiek/Mentaal
Balanced Child|Gebalanceerd kind|Physical/Mental|Fysiek/Mentaal
Healthy Young Mind|Gezonde jonge geest|Mental|Mentaal
Bright Young Mind|Heldere jonge geest|Mental|Mentaal
Curious Mind|Nieuwsgierige geest|Mental|Mentaal
Learning with Joy|Leren met plezier|Mental|Mentaal
Playful Learning|Spelenderwijs leren|Mental|Mentaal
Growing Every Day|Elke dag groeien|Emotional|Emotioneel
Healthy Development Journey|Gezonde ontwikkelingsreis|Physical|Fysiek
Positive Childhood|Positieve kindertijd|Emotional|Emotioneel
Child Relaxation|Kinderontspanning|Emotional|Emotioneel
Calm Child|Kalm kind|Emotional|Emotioneel
Gentle Relaxation|Zachte ontspanning|Emotional|Emotioneel
Peaceful Child|Vredig kind|Emotional|Emotioneel
Relax & Grow|Ontspan & groei|Emotional|Emotioneel
Calm After School|Rust na school|Emotional|Emotioneel
Quiet Time|Rusttijd|Emotional|Emotioneel
Peaceful Evenings|Vredige avonden|Emotional|Emotioneel
Daily Calm|Dagelijkse rust|Emotional|Emotioneel
Relaxed Body|Ontspannen lichaam|Physical|Fysiek
Quiet Mind|Stille geest|Mental|Mentaal
Deep Relaxation for Children|Diepe ontspanning voor kinderen|Emotional|Emotioneel
Healthy Sleep for Children|Gezonde slaap voor kinderen|Physical|Fysiek
Bedtime Relaxation|Bedtijdontspanning|Emotional|Emotioneel
Sleep Preparation for Kids|Slaapvoorbereiding voor kinderen|Physical|Fysiek
Peaceful Bedtime|Vredige bedtijd|Emotional|Emotioneel
Sweet Dreams|Zoete dromen|Emotional|Emotioneel
Gentle Sleep|Zachte slaap|Physical|Fysiek
Deep Sleep for Children|Diepe slaap voor kinderen|Physical|Fysiek
Nighttime Calm|Nachtrust|Emotional|Emotioneel
Calm Before Bed|Kalm voor bedtijd|Emotional|Emotioneel
Sleep with Confidence|Slapen met vertrouwen|Emotional|Emotioneel
Focus for Learning|Focus om te leren|Mental|Mentaal
Homework Focus|Huiswerkfocus|Mental|Mentaal
Classroom Focus|Klasfocus|Mental|Mentaal
School Success|Schoolsucces|Mental|Mentaal
Learning Confidence|Leervertrouwen|Mental|Mentaal
Study Calm|Studierust|Mental|Mentaal
Reading Focus|Leesfocus|Mental|Mentaal
Memory Support for Learning|Geheugenondersteuning bij leren|Mental|Mentaal
Creative Thinking|Creatief denken|Mental|Mentaal
Curiosity & Discovery|Nieuwsgierigheid & ontdekking|Mental|Mentaal
Concentration Builder|Concentratie opbouwen|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Brain Balance|Breinbalans|Mental|Mentaal
Healthy Brain Development|Gezonde breinontwikkeling|Mental|Mentaal
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Big Feelings, Calm Mind|Grote gevoelens, kalme geest|Emotional|Emotioneel
Managing Big Emotions|Omgaan met grote emoties|Emotional|Emotioneel
Calm Through Change|Kalm door verandering|Emotional|Emotioneel
Confidence Builder|Vertrouwen opbouwen|Emotional|Emotioneel
Self-Esteem Support|Ondersteuning van zelfvertrouwen|Emotional|Emotioneel
Believe in Yourself|Geloof in jezelf|Emotional|Emotioneel
Inner Courage|Innerlijke moed|Emotional|Emotioneel
Brave Every Day|Elke dag moedig|Emotional|Emotioneel
Growing Confidence|Groeiend vertrouwen|Emotional|Emotioneel
Happy Heart|Blij hart|Emotional|Emotioneel
Joyful Child|Vrolijk kind|Emotional|Emotioneel
Feel Safe|Je veilig voelen|Emotional|Emotioneel
Inner Safety|Innerlijke veiligheid|Emotional|Emotioneel
Comfort & Calm|Comfort & rust|Emotional|Emotioneel
Self-Compassion for Kids|Zelfcompassie voor kinderen|Emotional|Emotioneel
Kindness Begins with Me|Vriendelijkheid begint bij mij|Emotional|Emotioneel
Positive Self-Talk|Positieve zelfspraak|Mental|Mentaal
Healthy Friendships|Gezonde vriendschappen|Emotional|Emotioneel
Social Confidence|Sociaal vertrouwen|Emotional|Emotioneel
Sharing & Caring|Delen & zorgen|Emotional|Emotioneel
Friendship Skills|Vriendschapsvaardigheden|Emotional|Emotioneel
Respect & Kindness|Respect & vriendelijkheid|Emotional|Emotioneel
Calm During Medical Visits|Kalm bij medische bezoeken|Emotional|Emotioneel
Hospital Visit Support|Ondersteuning bij ziekenhuisbezoek|Emotional|Emotioneel
Doctor Visit Confidence|Vertrouwen bij doktersbezoek|Emotional|Emotioneel
Medical Procedure Relaxation|Ontspanning bij medische procedure|Emotional|Emotioneel
Needle Confidence|Vertrouwen bij prikken|Emotional|Emotioneel
Dental Visit Confidence|Vertrouwen bij tandartsbezoek|Emotional|Emotioneel
Recovery After Illness|Herstel na ziekte|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Healing Rest|Herstellende rust|Physical|Fysiek
Healthy Eating Habits|Gezonde eetgewoonten|Mental|Mentaal
Mindful Eating for Kids|Mindful eten voor kinderen|Mental|Mentaal
Healthy Choices|Gezonde keuzes|Mental|Mentaal
Daily Healthy Habits|Dagelijkse gezonde gewoonten|Mental|Mentaal
Healthy Routine|Gezonde routine|Mental|Mentaal
Morning Routine|Ochtendroutine|Mental|Mentaal
Evening Routine|Avondroutine|Mental|Mentaal
Move with Joy|Beweeg met plezier|Physical|Fysiek
Healthy Movement|Gezonde beweging|Physical|Fysiek
Active Body|Actief lichaam|Physical|Fysiek
Strong Body|Sterk lichaam|Physical|Fysiek
Healthy Coordination|Gezonde coordinatie|Physical|Fysiek
Balance & Movement|Balans & beweging|Physical|Fysiek
Body Awareness|Lichaamsbewustzijn|Physical|Fysiek
Relaxed Muscles|Ontspannen spieren|Physical|Fysiek
Breathing for Calm|Ademhaling voor rust|Physical|Fysiek
Balloon Breathing|Ballonademhaling|Physical|Fysiek
Rainbow Breathing|Regenboogademhaling|Physical|Fysiek
Slow Breathing|Langzame ademhaling|Physical|Fysiek
Magic Breathing|Magische ademhaling|Physical|Fysiek
Dragon Breathing|Drakenademhaling|Physical|Fysiek
Calm Belly Breathing|Kalme buikademhaling|Physical|Fysiek
Heart Breathing|Hartademhaling|Physical|Fysiek
Coherent Breathing for Kids|Coherente ademhaling voor kinderen|Physical|Fysiek
Mindfulness for Children|Mindfulness voor kinderen|Spiritual|Spiritueel
Children's Meditation|Kindermeditatie|Spiritual|Spiritueel
Mindful Moments|Mindful momenten|Spiritual|Spiritueel
Quiet Forest|Stil bos|Spiritual|Spiritueel
Magical Garden Relaxation|Magische tuinontspanning|Spiritual|Spiritueel
Ocean Adventure Relaxation|Oceaanavontuur ontspanning|Spiritual|Spiritueel
Cloud Journey|Wolkenreis|Spiritual|Spiritueel
Starry Sky Meditation|Sterrenhemel meditatie|Spiritual|Spiritueel
Moonlight Dreams|Maanlichtdromen|Spiritual|Spiritueel
Safe Place Meditation|Veilige plek meditatie|Spiritual|Spiritueel
Inner Light|Innerlijk licht|Spiritual|Spiritueel
Gratitude for Kids|Dankbaarheid voor kinderen|Spiritual|Spiritueel
Kind Heart|Vriendelijk hart|Spiritual|Spiritueel
Loving Kindness for Children|Liefdevolle vriendelijkheid voor kinderen|Spiritual|Spiritueel
Growing with Gratitude|Groeien met dankbaarheid|Spiritual|Spiritueel
The Brave Explorer|De moedige ontdekker|Spiritual|Spiritueel
Adventure Within|Avontuur van binnen|Spiritual|Spiritueel
Sibling Harmony|Harmonie tussen broers en zussen|Emotional|Emotioneel
Family Calm|Gezinsrust|Emotional|Emotioneel
Happy Family Time|Fijne gezinstijd|Emotional|Emotioneel
Connected Family|Verbonden gezin|Emotional|Emotioneel
Parent & Child Connection|Ouder-kind verbinding|Emotional|Emotioneel
Bonding Together|Samen verbinden|Emotional|Emotioneel
Feeling Loved|Je geliefd voelen|Emotional|Emotioneel
Safe Home|Veilig thuis|Emotional|Emotioneel
Family Balance|Gezinsbalans|Emotional|Emotioneel
Resilient Child|Veerkrachtig kind|Emotional|Emotioneel
Growing Stronger|Sterker groeien|Emotional|Emotioneel
Small Steps Forward|Kleine stappen vooruit|Emotional|Emotioneel
Celebrate Every Success|Vier elk succes|Emotional|Emotioneel
Positive Growth|Positieve groei|Emotional|Emotioneel
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
Reach Your Potential|Bereik je potentieel|Mental|Mentaal
Discover Your Talents|Ontdek je talenten|Mental|Mentaal
Shine Bright|Straal helder|Emotional|Emotioneel
Dream Big|Droom groots|Emotional|Emotioneel
Believe You Can|Geloof dat je het kunt|Emotional|Emotioneel
You Are Amazing|Jij bent geweldig|Emotional|Emotioneel
Growing Happily|Gelukkig opgroeien|Emotional|Emotioneel
Confident Every Day|Elke dag zelfverzekerd|Emotional|Emotioneel
Healthy Childhood Journey|Gezonde kindertijdreis|Physical|Fysiek
The Calm Child|Het kalme kind|Emotional|Emotioneel
The Happy Child|Het blije kind|Emotional|Emotioneel
The Curious Child|Het nieuwsgierige kind|Mental|Mentaal
The Brave Child|Het moedige kind|Emotional|Emotioneel
The Mindful Child|Het mindful kind|Spiritual|Spiritueel
Growing with Love|Groeien met liefde|Spiritual|Spiritueel
Strong Mind, Happy Heart|Sterke geest, blij hart|Mental/Emotional|Mentaal/Emotioneel
Healthy Child, Happy Life|Gezond kind, gelukkig leven|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_CHILD_PEDIATRIC_SESSION_DEFINITIONS = RECOVERY_CHILD_PEDIATRIC_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#60a5fa", "#22c55e", "#facc15", "#f472b6", "#a78bfa", "#38bdf8", "#14b8a6", "#fb923c"];
  return {
    id: `recovery-child-pediatric-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    childBase: [5.8, 6.2, 5.4, 6.6, 4.8, 7.0, 5.6, 6.8, 6.0, 5.2, 7.2, 4.6][index % 12],
    style: 4600 + index
  };
});

const RECOVERY_NEURODEVELOPMENTAL_TITLE_PAIRS = `
Neurodevelopmental Support|Neuro-ontwikkelingsondersteuning|Mental|Mentaal
Neurodevelopmental Wellness|Neuro-ontwikkelingswelzijn|Mental|Mentaal
Healthy Brain Development|Gezonde breinontwikkeling|Mental|Mentaal
Brain Development Support|Ondersteuning van breinontwikkeling|Mental|Mentaal
Neurodevelopmental Balance|Neuro-ontwikkelingsbalans|Mental|Mentaal
Whole Brain Balance|Balans van het hele brein|Mental|Mentaal
Whole Child Development|Ontwikkeling van het hele kind|Mental|Mentaal
Brain Growth Support|Ondersteuning van breingroei|Mental|Mentaal
Neuro Wellness|Neurowelzijn|Mental|Mentaal
Neural Balance|Neurale balans|Mental|Mentaal
ADHD Focus Support|ADHD focusondersteuning|Mental|Mentaal
Attention Support|Aandachtsondersteuning|Mental|Mentaal
Attention Regulation|Aandachtsregulatie|Mental|Mentaal
Attention Balance|Aandachtsbalans|Mental|Mentaal
Focused Attention|Gerichte aandacht|Mental|Mentaal
Sustained Attention|Volgehouden aandacht|Mental|Mentaal
Concentration Builder|Concentratie opbouwen|Mental|Mentaal
Focus Without Frustration|Focus zonder frustratie|Mental|Mentaal
Executive Function Support|Ondersteuning van executieve functies|Mental|Mentaal
Mental Organization|Mentale organisatie|Mental|Mentaal
Task Completion|Taken afronden|Mental|Mentaal
Study Focus|Studiefocus|Mental|Mentaal
Homework Focus|Huiswerkfocus|Mental|Mentaal
Learning Focus|Leerfocus|Mental|Mentaal
Organized Thinking|Georganiseerd denken|Mental|Mentaal
Impulse Control Support|Ondersteuning bij impulscontrole|Mental|Mentaal
Self-Regulation|Zelfregulatie|Mental|Mentaal
Calm Focus|Kalme focus|Mental|Mentaal
Balanced Attention|Gebalanceerde aandacht|Mental|Mentaal
Quiet the Busy Mind|Breng de drukke geest tot rust|Mental|Mentaal
Autism Wellness Support|Autisme welzijnsondersteuning|Emotional|Emotioneel
Autism Relaxation Support|Autisme ontspanningsondersteuning|Emotional|Emotioneel
Autism Sensory Calm|Sensorische rust bij autisme|Mental|Mentaal
Autism Emotional Balance|Emotionele balans bij autisme|Emotional|Emotioneel
Autism Daily Wellness|Dagelijks welzijn bij autisme|Emotional|Emotioneel
Autism Mindfulness|Autisme mindfulness|Spiritual|Spiritueel
Comfortable Routines|Comfortabele routines|Mental|Mentaal
Predictable Calm|Voorspelbare rust|Emotional|Emotioneel
Daily Structure|Dagelijkse structuur|Mental|Mentaal
Safe Place Relaxation|Ontspanning op een veilige plek|Emotional|Emotioneel
Sensory Processing Support|Ondersteuning van sensorische verwerking|Mental|Mentaal
Sensory Regulation|Sensorische regulatie|Mental|Mentaal
Sensory Balance|Sensorische balans|Mental|Mentaal
Sensory Calm|Sensorische rust|Mental|Mentaal
Sensory Comfort|Sensorisch comfort|Mental|Mentaal
Sensory Integration Support|Ondersteuning van sensorische integratie|Mental|Mentaal
Gentle Sensory Reset|Zachte sensorische reset|Mental|Mentaal
Environmental Calm|Rust in de omgeving|Emotional|Emotioneel
Calm Around Noise|Kalm rond geluid|Emotional|Emotioneel
Light Sensitivity Support|Ondersteuning bij lichtgevoeligheid|Physical|Fysiek
Sound Sensitivity Support|Ondersteuning bij geluidsgevoeligheid|Physical|Fysiek
Touch Sensitivity Support|Ondersteuning bij aanraakgevoeligheid|Physical|Fysiek
Overstimulation Recovery|Herstel na overprikkeling|Emotional|Emotioneel
Sensory Recovery|Sensorisch herstel|Mental|Mentaal
Dyslexia Learning Support|Leerondersteuning bij dyslexie|Mental|Mentaal
Reading Confidence|Leesvertrouwen|Mental|Mentaal
Reading Focus|Leesfocus|Mental|Mentaal
Reading Flow|Leesflow|Mental|Mentaal
Learning Confidence|Leervertrouwen|Mental|Mentaal
Learning Success|Leersucces|Mental|Mentaal
Language Processing Support|Ondersteuning van taalverwerking|Mental|Mentaal
Literacy Support|Geletterdheidsondersteuning|Mental|Mentaal
Dyscalculia Learning Support|Leerondersteuning bij dyscalculie|Mental|Mentaal
Math Confidence|Rekenvertrouwen|Mental|Mentaal
Numeracy Support|Rekenvaardigheidsondersteuning|Mental|Mentaal
Learning Numbers with Ease|Gemakkelijk leren met cijfers|Mental|Mentaal
Dysgraphia Learning Support|Leerondersteuning bij dysgrafie|Mental|Mentaal
Writing Confidence|Schrijfvertrouwen|Mental|Mentaal
Writing Flow|Schrijfflow|Mental|Mentaal
Fine Motor Focus|Fijne motoriek focus|Physical|Fysiek
Developmental Coordination Support|Ondersteuning van ontwikkelingscoordinatie|Physical|Fysiek
Motor Coordination Support|Ondersteuning van motorische coordinatie|Physical|Fysiek
Movement Confidence|Vertrouwen in beweging|Emotional|Emotioneel
Body Coordination|Lichaamscoordinatie|Physical|Fysiek
Balance & Coordination|Balans & coordinatie|Physical|Fysiek
Body Awareness|Lichaamsbewustzijn|Physical|Fysiek
Motor Planning Support|Ondersteuning van motorische planning|Physical|Fysiek
Developmental Language Support|Ondersteuning van taalontwikkeling|Mental|Mentaal
Speech Confidence|Spraakvertrouwen|Emotional|Emotioneel
Communication Confidence|Communicatievertrouwen|Emotional|Emotioneel
Language Development Support|Ondersteuning van taalontwikkeling|Mental|Mentaal
Express Yourself|Jezelf uiten|Emotional|Emotioneel
Listening Skills|Luistervaardigheden|Mental|Mentaal
Conversation Confidence|Gespreksvertrouwen|Emotional|Emotioneel
Tourette Syndrome Support|Tourette-syndroom ondersteuning|Mental|Mentaal
Motor & Vocal Calm|Motorische & vocale rust|Mental|Mentaal
Calm Through Movement|Rust via beweging|Emotional|Emotioneel
Movement Awareness|Bewegingsbewustzijn|Physical|Fysiek
Social Confidence|Sociaal vertrouwen|Emotional|Emotioneel
Making Friends|Vrienden maken|Emotional|Emotioneel
Healthy Friendships|Gezonde vriendschappen|Emotional|Emotioneel
Social Skills|Sociale vaardigheden|Emotional|Emotioneel
Social Interaction|Sociale interactie|Emotional|Emotioneel
Social Comfort|Sociaal comfort|Emotional|Emotioneel
Understanding Emotions|Emoties begrijpen|Emotional|Emotioneel
Recognizing Emotions|Emoties herkennen|Emotional|Emotioneel
Empathy Development|Empathieontwikkeling|Emotional|Emotioneel
Emotional Awareness|Emotioneel gewaarzijn|Emotional|Emotioneel
Emotional Self-Regulation|Emotionele zelfregulatie|Emotional|Emotioneel
Big Feelings, Calm Mind|Grote gevoelens, kalme geest|Emotional|Emotioneel
Managing Big Emotions|Omgaan met grote emoties|Emotional|Emotioneel
Frustration Tolerance|Frustratietolerantie|Emotional|Emotioneel
Calm During Change|Kalm bij verandering|Emotional|Emotioneel
Flexible Thinking|Flexibel denken|Mental|Mentaal
Transition Support|Ondersteuning bij overgangen|Emotional|Emotioneel
Adaptability|Aanpassingsvermogen|Mental|Mentaal
Daily Emotional Balance|Dagelijkse emotionele balans|Emotional|Emotioneel
Building Resilience|Veerkracht opbouwen|Emotional|Emotioneel
Healthy Sleep Support|Gezonde slaapondersteuning|Physical|Fysiek
Sleep for Busy Minds|Slaap voor drukke geesten|Physical|Fysiek
Evening Calm|Avondrust|Emotional|Emotioneel
Nighttime Relaxation|Nachtelijke ontspanning|Emotional|Emotioneel
Quiet Bedtime|Rustige bedtijd|Emotional|Emotioneel
Restful Sleep|Rustgevende slaap|Physical|Fysiek
Sleep Recovery|Slaapherstel|Physical|Fysiek
Calm Breathing|Kalme ademhaling|Physical|Fysiek
Balloon Breathing|Ballonademhaling|Physical|Fysiek
Coherent Breathing for Kids|Coherente ademhaling voor kinderen|Physical|Fysiek
Magic Breathing|Magische ademhaling|Physical|Fysiek
Breathing for Focus|Ademhaling voor focus|Physical|Fysiek
Breathing for Calm|Ademhaling voor rust|Physical|Fysiek
Heart Coherence for Children|Hartcoherentie voor kinderen|Physical|Fysiek
Parasympathetic Calm|Parasympathische rust|Physical|Fysiek
Confidence Builder|Vertrouwen opbouwen|Emotional|Emotioneel
Believe in Yourself|Geloof in jezelf|Emotional|Emotioneel
Positive Self-Talk|Positieve zelfspraak|Mental|Mentaal
Healthy Self-Esteem|Gezond zelfvertrouwen|Emotional|Emotioneel
Growing Confidence|Groeiend vertrouwen|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Resilient Child|Veerkrachtig kind|Emotional|Emotioneel
Celebrate Small Successes|Kleine successen vieren|Emotional|Emotioneel
I Can Do This|Ik kan dit|Emotional|Emotioneel
One Step at a Time|Een stap tegelijk|Emotional|Emotioneel
Mindfulness for Neurodivergent Minds|Mindfulness voor neurodivergente geesten|Spiritual|Spiritueel
Gentle Mindfulness|Zachte mindfulness|Spiritual|Spiritueel
Safe Space Meditation|Veilige ruimte meditatie|Spiritual|Spiritueel
Inner Calm|Innerlijke rust|Spiritual|Spiritueel
Present Moment Awareness|Gewaarzijn van het huidige moment|Spiritual|Spiritueel
Guided Relaxation|Begeleide ontspanning|Spiritual|Spiritueel
Peaceful Mind|Vredige geest|Spiritual|Spiritueel
The Calm Mind|De kalme geest|Spiritual|Spiritueel
Mindful Transitions|Mindful overgangen|Spiritual|Spiritueel
The Quiet Forest|Het stille bos|Spiritual|Spiritueel
Ocean Calm|Oceaankalmte|Spiritual|Spiritueel
Magical Safe Place|Magische veilige plek|Spiritual|Spiritueel
Growing with Confidence|Groeien met vertrouwen|Emotional|Emotioneel
Healthy Daily Routine|Gezonde dagelijkse routine|Mental|Mentaal
Everyday Success|Dagelijks succes|Emotional|Emotioneel
Discover Your Strengths|Ontdek je sterke kanten|Emotional|Emotioneel
Unlock Your Talents|Ontsluit je talenten|Mental|Mentaal
Celebrate Your Uniqueness|Vier je eigenheid|Emotional|Emotioneel
Different, Not Less|Anders, niet minder|Emotional|Emotioneel
Shine Your Own Way|Straal op jouw manier|Emotional|Emotioneel
Growing Together|Samen groeien|Emotional|Emotioneel
Learning with Joy|Leren met plezier|Mental|Mentaal
Calm, Focused & Confident|Kalm, gefocust & zelfverzekerd|Mental/Emotional|Mentaal/Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_NEURODEVELOPMENTAL_SESSION_DEFINITIONS = RECOVERY_NEURODEVELOPMENTAL_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#60a5fa", "#a78bfa", "#22c55e", "#14b8a6", "#f472b6", "#facc15", "#fb923c"];
  return {
    id: `recovery-neurodevelopmental-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    neurodevBase: [5.6, 6.0, 6.4, 5.2, 4.8, 6.8, 7.0, 5.8, 6.2, 4.6, 7.2, 5.4][index % 12],
    style: 4700 + index
  };
});

const RECOVERY_WOUND_TISSUE_TITLE_PAIRS = `
Wound Healing Support|Ondersteuning bij wondgenezing|Physical|Fysiek
Wound Recovery Support|Ondersteuning bij wondherstel|Physical|Fysiek
Healthy Wound Recovery|Gezond wondherstel|Physical|Fysiek
Gentle Wound Recovery|Zacht wondherstel|Physical|Fysiek
Healthy Healing Journey|Gezonde herstelreis|Physical|Fysiek
Healing Support|Herstelondersteuning|Physical|Fysiek
Healing & Recovery|Genezing & herstel|Physical|Fysiek
Natural Recovery Support|Natuurlijke herstelondersteuning|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Physical Recovery|Fysiek herstel|Physical|Fysiek
Recovery Essentials|Essentieel herstel|Physical|Fysiek
Optimal Recovery|Optimaal herstel|Physical|Fysiek
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Body Restoration|Lichaamsherstel|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Restore Balance|Herstel balans|Physical|Fysiek
Healthy Tissue Recovery|Gezond weefselherstel|Physical|Fysiek
Soft Tissue Recovery|Zacht weefselherstel|Physical|Fysiek
Connective Tissue Recovery|Bindweefselherstel|Physical|Fysiek
Healthy Connective Tissue|Gezond bindweefsel|Physical|Fysiek
Skin Recovery Support|Ondersteuning bij huidherstel|Physical|Fysiek
Healthy Skin Recovery|Gezond huidherstel|Physical|Fysiek
Skin Wellness|Huidwelzijn|Physical|Fysiek
Healthy Skin Renewal|Gezonde huidvernieuwing|Physical|Fysiek
Healthy Tissue Wellness|Gezond weefselwelzijn|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Cellular Renewal Support|Ondersteuning van cellulaire vernieuwing|Physical|Fysiek
Cellular Regeneration Support|Ondersteuning van cellulaire regeneratie|Physical|Fysiek
Mitochondrial Wellness|Mitochondriaal welzijn|Physical|Fysiek
Body Repair Support|Lichaamsreparatie ondersteuning|Physical|Fysiek
Recovery at the Cellular Level|Herstel op cellulair niveau|Physical|Fysiek
Healthy Cellular Function|Gezonde cellulaire functie|Physical|Fysiek
Scar Recovery Support|Ondersteuning bij littekenherstel|Physical|Fysiek
Scar Comfort|Littekencomfort|Physical|Fysiek
Healthy Scar Recovery|Gezond littekenherstel|Physical|Fysiek
Scar Tissue Wellness|Littekenweefselwelzijn|Physical|Fysiek
Healthy Skin Comfort|Gezond huidcomfort|Physical|Fysiek
Post-Surgery Recovery|Herstel na operatie|Physical|Fysiek
Surgical Recovery Support|Chirurgische herstelondersteuning|Physical|Fysiek
Recovery After Surgery|Herstel na chirurgie|Physical|Fysiek
Orthopedic Recovery|Orthopedisch herstel|Physical|Fysiek
Plastic Surgery Recovery Support|Herstelondersteuning na plastische chirurgie|Physical|Fysiek
Dental Surgery Recovery|Herstel na tandheelkundige chirurgie|Physical|Fysiek
Recovery After Dental Surgery|Herstel na tandheelkundige chirurgie|Physical|Fysiek
Recovery After Injury|Herstel na letsel|Physical|Fysiek
Post-Injury Recovery|Herstel na blessure|Physical|Fysiek
Trauma Recovery Support|Herstelondersteuning na trauma|Physical|Fysiek
Recovery After Fracture|Herstel na fractuur|Physical|Fysiek
Bone Recovery Support|Ondersteuning bij botherstel|Physical|Fysiek
Ligament Recovery Support|Ondersteuning bij bandherstel|Physical|Fysiek
Tendon Recovery Support|Ondersteuning bij peesherstel|Physical|Fysiek
Muscle Recovery|Spierherstel|Physical|Fysiek
Joint Recovery|Gewrichtsherstel|Physical|Fysiek
Mobility Recovery|Mobiliteitsherstel|Physical|Fysiek
Burn Recovery Support|Herstelondersteuning na brandwond|Physical|Fysiek
Skin Comfort After Burns|Huidcomfort na brandwonden|Physical|Fysiek
Radiation Skin Recovery Support|Huidherstelondersteuning na bestraling|Physical|Fysiek
Gentle Skin Recovery|Zacht huidherstel|Physical|Fysiek
Pressure Ulcer Wellness Support|Welzijnsondersteuning bij decubitus|Physical|Fysiek
Diabetic Foot Recovery Support|Herstelondersteuning bij diabetische voet|Physical|Fysiek
Foot Tissue Recovery|Voetweefselherstel|Physical|Fysiek
Healthy Foot Recovery|Gezond voetherstel|Physical|Fysiek
Recovery After Infection|Herstel na infectie|Physical|Fysiek
Recovery After Hospitalization|Herstel na ziekenhuisopname|Physical|Fysiek
Recovery After Illness|Herstel na ziekte|Physical|Fysiek
Immune Recovery Support|Immuunherstel ondersteuning|Physical|Fysiek
Healthy Immune Wellness|Gezond immuunwelzijn|Physical|Fysiek
Recovery & Immunity|Herstel & immuniteit|Physical|Fysiek
Healthy Blood Flow Support|Ondersteuning van gezonde doorbloeding|Physical|Fysiek
Circulation Wellness|Circulatiewelzijn|Physical|Fysiek
Healthy Microcirculation|Gezonde microcirculatie|Physical|Fysiek
Healthy Oxygenation|Gezonde oxygenatie|Physical|Fysiek
Oxygen for Recovery|Zuurstof voor herstel|Physical|Fysiek
Breathing for Recovery|Ademhaling voor herstel|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Recovery Sleep|Herstelslaap|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Sleep for Healing Support|Slaap voor herstelondersteuning|Physical|Fysiek
Comfort During Recovery|Comfort tijdens herstel|Emotional|Emotioneel
Recovery Without Stress|Herstel zonder stress|Emotional|Emotioneel
Stress Relief During Recovery|Stressverlichting tijdens herstel|Emotional|Emotioneel
Healing Calm|Herstelrust|Emotional|Emotioneel
Peaceful Recovery|Vredig herstel|Emotional|Emotioneel
Gentle Healing|Zachte genezing|Emotional|Emotioneel
Recovery with Confidence|Herstel met vertrouwen|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Recovery Mindset|Herstelmindset|Mental|Mentaal
Healing Mindset|Genezingsmindset|Mental|Mentaal
Patience During Recovery|Geduld tijdens herstel|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
One Step at a Time|Een stap tegelijk|Emotional|Emotioneel
Regain Confidence|Vertrouwen terugwinnen|Emotional|Emotioneel
Return to Strength|Terug naar kracht|Emotional|Emotioneel
Stronger Every Day|Elke dag sterker|Emotional|Emotioneel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Inner Healing|Innerlijke genezing|Spiritual|Spiritueel
Body Healing Meditation|Lichaamsherstelmeditatie|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Sacred Healing|Heilige genezing|Spiritual|Spiritueel
Acceptance & Recovery|Acceptatie & herstel|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Gratitude During Recovery|Dankbaarheid tijdens herstel|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
Healing with Patience|Genezen met geduld|Spiritual|Spiritueel
Body Awareness Meditation|Lichaamsbewustzijn meditatie|Spiritual|Spiritueel
Healthy Rehabilitation|Gezonde revalidatie|Physical|Fysiek
Rehabilitation Support|Revalidatieondersteuning|Physical|Fysiek
Functional Recovery|Functioneel herstel|Physical|Fysiek
Movement Recovery|Bewegingsherstel|Physical|Fysiek
Physical Rehabilitation|Fysieke revalidatie|Physical|Fysiek
Return to Daily Life|Terug naar het dagelijks leven|Emotional|Emotioneel
Back on Your Feet|Weer op de been|Physical|Fysiek
Everyday Recovery|Dagelijks herstel|Physical|Fysiek
Recovery & Well-Being|Herstel & welzijn|Physical|Fysiek
Whole Body Healing|Herstel van het hele lichaam|Physical|Fysiek
Healthy Recovery Journey|Gezonde herstelreis|Physical|Fysiek
Recovery Protocol|Herstelprotocol|Physical|Fysiek
Healing Protocol|Genezingsprotocol|Physical|Fysiek
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Optimal Healing Support|Optimale herstelondersteuning|Physical|Fysiek
Healthy Healing Habits|Gezonde herstelgewoonten|Mental|Mentaal
The Recovery Journey|De herstelreis|Emotional|Emotioneel
The Healing Journey|De genezingsreis|Spiritual|Spiritueel
Restore Your Strength|Herstel je kracht|Physical|Fysiek
Balanced Recovery|Gebalanceerd herstel|Physical|Fysiek
Body Renewal|Lichaamsvernieuwing|Physical|Fysiek
New Beginnings|Nieuw begin|Emotional|Emotioneel
Live Well During Recovery|Goed leven tijdens herstel|Emotional|Emotioneel
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_WOUND_TISSUE_SESSION_DEFINITIONS = RECOVERY_WOUND_TISSUE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#14b8a6", "#22c55e", "#60a5fa", "#facc15", "#f472b6", "#a78bfa", "#38bdf8", "#84cc16"];
  return {
    id: `recovery-wound-tissue-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    woundBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 4800 + index
  };
});

const RECOVERY_PELVIC_HEALTH_TITLE_PAIRS = `
Pelvic Health|Bekkengezondheid|Physical|Fysiek
Pelvic Wellness|Bekkenwelzijn|Physical|Fysiek
Pelvic Health Support|Ondersteuning van bekkengezondheid|Physical|Fysiek
Pelvic Wellness Support|Bekkenwelzijn ondersteuning|Physical|Fysiek
Healthy Pelvis|Gezond bekken|Physical|Fysiek
Healthy Pelvic Function|Gezonde bekkenfunctie|Physical|Fysiek
Pelvic Balance|Bekkenbalans|Physical|Fysiek
Pelvic Harmony|Bekkenharmonie|Physical|Fysiek
Pelvic Comfort|Bekkencomfort|Physical|Fysiek
Pelvic Recovery|Bekkenherstel|Physical|Fysiek
Pelvic Vitality|Bekkenvitaliteit|Physical|Fysiek
Whole Pelvic Wellness|Welzijn van het hele bekken|Physical|Fysiek
Healthy Core & Pelvis|Gezonde core & bekken|Physical|Fysiek
Pelvic Stability|Bekkenstabiliteit|Physical|Fysiek
Pelvic Alignment|Bekkenuitlijning|Physical|Fysiek
Healthy Pelvic Movement|Gezonde bekkenbeweging|Physical|Fysiek
Pelvic Relaxation|Bekkenontspanning|Physical|Fysiek
Deep Pelvic Relaxation|Diepe bekkenontspanning|Physical|Fysiek
Gentle Pelvic Relaxation|Zachte bekkenontspanning|Physical|Fysiek
Pelvic Recovery Journey|Bekkenherstelreis|Physical|Fysiek
Pelvic Floor Wellness|Bekkenbodemwelzijn|Physical|Fysiek
Pelvic Floor Support|Bekkenbodemondersteuning|Physical|Fysiek
Healthy Pelvic Floor|Gezonde bekkenbodem|Physical|Fysiek
Pelvic Floor Recovery|Bekkenbodemherstel|Physical|Fysiek
Pelvic Floor Balance|Bekkenbodembalans|Physical|Fysiek
Pelvic Floor Relaxation|Bekkenbodemontspanning|Physical|Fysiek
Pelvic Floor Awareness|Bekkenbodembewustzijn|Physical|Fysiek
Pelvic Floor Coordination|Bekkenbodemcoordinatie|Physical|Fysiek
Pelvic Floor Comfort|Bekkenbodemcomfort|Physical|Fysiek
Pelvic Floor Strength Awareness|Bewustzijn van bekkenbodemkracht|Physical|Fysiek
Pelvic Floor Reset|Bekkenbodemreset|Physical|Fysiek
Women's Pelvic Wellness|Bekkenwelzijn voor vrouwen|Physical|Fysiek
Men's Pelvic Wellness|Bekkenwelzijn voor mannen|Physical|Fysiek
Healthy Pelvic Health for Women|Gezonde bekkengezondheid voor vrouwen|Physical|Fysiek
Healthy Pelvic Health for Men|Gezonde bekkengezondheid voor mannen|Physical|Fysiek
Pelvic Pain Wellness Support|Welzijnsondersteuning bij bekkenpijn|Physical|Fysiek
Pelvic Comfort Support|Bekkencomfort ondersteuning|Physical|Fysiek
Chronic Pelvic Pain Support|Ondersteuning bij chronische bekkenpijn|Physical|Fysiek
Persistent Pelvic Comfort|Aanhoudend bekkencomfort|Physical|Fysiek
Pelvic Muscle Relaxation|Bekken spierontspanning|Physical|Fysiek
Pelvic Tension Release|Bekkenspanning loslaten|Physical|Fysiek
Lower Pelvic Comfort|Laag bekkencomfort|Physical|Fysiek
Lower Abdominal Comfort|Onderbuikcomfort|Physical|Fysiek
Lower Body Relaxation|Onderlichaam ontspanning|Physical|Fysiek
Healthy Bladder Support|Ondersteuning van gezonde blaas|Physical|Fysiek
Bladder Wellness|Blaaswelzijn|Physical|Fysiek
Healthy Bladder Function|Gezonde blaasfunctie|Physical|Fysiek
Bladder Comfort|Blaascomfort|Physical|Fysiek
Bladder Relaxation|Blaasontspanning|Physical|Fysiek
Urinary Wellness|Urinewegwelzijn|Physical|Fysiek
Healthy Urinary Function|Gezonde urinefunctie|Physical|Fysiek
Urinary Comfort|Urinewegcomfort|Physical|Fysiek
Healthy Continence Support|Ondersteuning van gezonde continentie|Physical|Fysiek
Confidence in Continence|Vertrouwen in continentie|Emotional|Emotioneel
Postpartum Pelvic Recovery|Postpartum bekkenherstel|Physical|Fysiek
Recovery After Childbirth|Herstel na bevalling|Physical|Fysiek
Motherhood Recovery|Moederschapsherstel|Physical|Fysiek
Pelvic Recovery After Birth|Bekkenherstel na geboorte|Physical|Fysiek
Gentle Postpartum Recovery|Zacht postpartum herstel|Physical|Fysiek
Healthy Postpartum Healing|Gezond postpartum herstel|Physical|Fysiek
Pregnancy Pelvic Comfort|Bekkencomfort tijdens zwangerschap|Physical|Fysiek
Pregnancy Pelvic Balance|Bekkenbalans tijdens zwangerschap|Physical|Fysiek
Pelvic Relaxation During Pregnancy|Bekkenontspanning tijdens zwangerschap|Physical|Fysiek
Preparing the Pelvis for Birth|Het bekken voorbereiden op geboorte|Physical|Fysiek
Prostate Wellness|Prostaatwelzijn|Physical|Fysiek
Healthy Prostate Support|Ondersteuning van gezonde prostaat|Physical|Fysiek
Male Pelvic Comfort|Mannelijk bekkencomfort|Physical|Fysiek
Pelvic Vitality for Men|Bekkenvitaliteit voor mannen|Physical|Fysiek
Intimate Wellness|Intiem welzijn|Physical|Fysiek
Healthy Intimate Function|Gezonde intieme functie|Physical|Fysiek
Sexual Wellness Support|Seksuele welzijnsondersteuning|Physical|Fysiek
Healthy Intimacy|Gezonde intimiteit|Emotional|Emotioneel
Relaxed Intimacy|Ontspannen intimiteit|Emotional|Emotioneel
Body Confidence|Lichaamsvertrouwen|Emotional|Emotioneel
Comfort in Intimacy|Comfort in intimiteit|Emotional|Emotioneel
Endometriosis Wellness Support|Welzijnsondersteuning bij endometriose|Physical|Fysiek
PCOS Wellness Support|Welzijnsondersteuning bij PCOS|Physical|Fysiek
Interstitial Cystitis Wellness Support|Welzijnsondersteuning bij interstitiele cystitis|Physical|Fysiek
Painful Bladder Wellness Support|Welzijnsondersteuning bij pijnlijke blaas|Physical|Fysiek
Pudendal Nerve Comfort Support|Comfortondersteuning voor nervus pudendus|Physical|Fysiek
Pelvic Congestion Wellness Support|Welzijnsondersteuning bij bekkencongestie|Physical|Fysiek
Vulvodynia Wellness Support|Welzijnsondersteuning bij vulvodynie|Physical|Fysiek
Dyspareunia Wellness Support|Welzijnsondersteuning bij dyspareunie|Physical|Fysiek
Core & Pelvic Balance|Core- & bekkenbalans|Physical|Fysiek
Core Stability Awareness|Bewustzijn van corestabiliteit|Physical|Fysiek
Healthy Core Function|Gezonde corefunctie|Physical|Fysiek
Movement with Confidence|Bewegen met vertrouwen|Emotional|Emotioneel
Move Without Fear|Bewegen zonder angst|Emotional|Emotioneel
Daily Pelvic Wellness|Dagelijks bekkenwelzijn|Physical|Fysiek
Healthy Pelvic Lifestyle|Gezonde bekkenleefstijl|Physical|Fysiek
Pelvic Breathing|Bekkenademhaling|Physical|Fysiek
Breathing into the Pelvis|Ademen naar het bekken|Physical|Fysiek
Diaphragm & Pelvis Balance|Diafragma- & bekkenbalans|Physical|Fysiek
Breath & Pelvic Relaxation|Adem & bekkenontspanning|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Parasympathetic Pelvic Recovery|Parasympathisch bekkenherstel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Calm the Pelvic Floor|Kalmeer de bekkenbodem|Physical|Fysiek
Relax the Lower Body|Ontspan het onderlichaam|Physical|Fysiek
Emotional Balance & Pelvic Health|Emotionele balans & bekkengezondheid|Emotional|Emotioneel
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Inner Safety|Innerlijke veiligheid|Emotional|Emotioneel
Feel Safe in Your Body|Voel je veilig in je lichaam|Emotional|Emotioneel
Reconnect with Your Body|Opnieuw verbinden met je lichaam|Emotional|Emotioneel
Body Trust|Lichaamsvertrouwen|Emotional|Emotioneel
Healing Through Relaxation|Herstel door ontspanning|Emotional|Emotioneel
Calm Body, Calm Pelvis|Kalm lichaam, kalm bekken|Emotional|Emotioneel
Confidence in Your Body|Vertrouwen in je lichaam|Emotional|Emotioneel
Gentle Self-Compassion|Zachte zelfcompassie|Emotional|Emotioneel
Pelvic Meditation|Bekkenmeditatie|Spiritual|Spiritueel
Sacred Pelvic Balance|Heilige bekkenbalans|Spiritual|Spiritueel
Mindful Pelvic Awareness|Mindful bekkenbewustzijn|Spiritual|Spiritueel
Body Awareness Meditation|Lichaamsbewustzijn meditatie|Spiritual|Spiritueel
Inner Balance|Innerlijke balans|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Root Chakra Balance|Wortelchakra balans|Spiritual|Spiritueel
Rooted & Safe|Geworteld & veilig|Spiritual|Spiritueel
Grounded in Your Body|Gegrond in je lichaam|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Sacred Feminine Balance|Heilige vrouwelijke balans|Spiritual|Spiritueel
Sacred Masculine Balance|Heilige mannelijke balans|Spiritual|Spiritueel
Pelvic Surgery Recovery Support|Herstelondersteuning na bekkenoperatie|Physical|Fysiek
Recovery After Pelvic Surgery|Herstel na bekkenoperatie|Physical|Fysiek
Gynecological Recovery Support|Gynaecologische herstelondersteuning|Physical|Fysiek
Urological Recovery Support|Urologische herstelondersteuning|Physical|Fysiek
Recovery After Hysterectomy|Herstel na hysterectomie|Physical|Fysiek
Recovery After Prostate Surgery|Herstel na prostaatoperatie|Physical|Fysiek
Recovery After C-Section|Herstel na keizersnede|Physical|Fysiek
Healthy Aging Pelvic Wellness|Bekkenwelzijn bij gezond ouder worden|Physical|Fysiek
Senior Pelvic Wellness|Bekkenwelzijn voor senioren|Physical|Fysiek
Pelvic Vitality for Life|Levenslange bekkenvitaliteit|Physical|Fysiek
Strong & Relaxed Pelvis|Sterk & ontspannen bekken|Physical|Fysiek
Whole Pelvic Recovery|Herstel van het hele bekken|Physical|Fysiek
Pelvic Wellness Protocol|Bekkenwelzijn protocol|Physical|Fysiek
Healthy Pelvic Habits|Gezonde bekkengewoonten|Mental|Mentaal
Optimal Pelvic Wellness|Optimaal bekkenwelzijn|Physical|Fysiek
Comfort Every Day|Elke dag comfort|Emotional|Emotioneel
Healthy Pelvis, Healthy Life|Gezond bekken, gezond leven|Physical|Fysiek
The Relaxed Pelvis|Het ontspannen bekken|Physical|Fysiek
The Balanced Pelvis|Het gebalanceerde bekken|Physical|Fysiek
Move Freely Again|Weer vrij bewegen|Emotional|Emotioneel
Rediscover Comfort|Herontdek comfort|Emotional|Emotioneel
Restore Pelvic Confidence|Herstel bekkenvertrouwen|Emotional|Emotioneel
Living with Comfort|Leven met comfort|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_PELVIC_HEALTH_SESSION_DEFINITIONS = RECOVERY_PELVIC_HEALTH_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#14b8a6", "#60a5fa", "#22c55e", "#a78bfa", "#f472b6", "#facc15", "#38bdf8", "#fb923c"];
  return {
    id: `recovery-pelvic-health-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    pelvicBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 4900 + index
  };
});

const RECOVERY_INFECTIOUS_DISEASE_TITLE_PAIRS = `
Recovery After Infection|Herstel na infectie|Physical|Fysiek
Post-Infection Recovery|Post-infectie herstel|Physical|Fysiek
Infection Recovery Support|Ondersteuning bij infectieherstel|Physical|Fysiek
Recovery & Immune Wellness|Herstel & immuunwelzijn|Physical|Fysiek
Healthy Recovery|Gezond herstel|Physical|Fysiek
Recovery Journey|Herstelreis|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Recovery Essentials|Essentieel herstel|Physical|Fysiek
Recovery Reset|Herstelreset|Physical|Fysiek
Recovery Protocol|Herstelprotocol|Physical|Fysiek
Body Recovery|Lichaamsherstel|Physical|Fysiek
Body Restoration|Lichaamsherstel|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Regain Your Strength|Herwin je kracht|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Back to Vitality|Terug naar vitaliteit|Physical|Fysiek
Post-Viral Recovery|Postviraal herstel|Physical|Fysiek
Viral Recovery Support|Ondersteuning bij viraal herstel|Physical|Fysiek
Recovery After a Virus|Herstel na een virus|Physical|Fysiek
Recovery After Flu|Herstel na griep|Physical|Fysiek
Cold Recovery Support|Ondersteuning bij herstel na verkoudheid|Physical|Fysiek
Respiratory Recovery|Ademhalingsherstel|Physical|Fysiek
Recovery After Pneumonia|Herstel na longontsteking|Physical|Fysiek
Recovery After Bronchitis|Herstel na bronchitis|Physical|Fysiek
Post-COVID Recovery|Post-COVID herstel|Physical|Fysiek
Long COVID Wellness Support|Long COVID welzijnsondersteuning|Physical|Fysiek
Respiratory Wellness|Ademhalingswelzijn|Physical|Fysiek
Healthy Breathing Recovery|Gezond ademhalingsherstel|Physical|Fysiek
Breathing Comfort|Ademcomfort|Physical|Fysiek
Breathing Recovery|Ademherstel|Physical|Fysiek
Lung Wellness|Longwelzijn|Physical|Fysiek
Healthy Lung Recovery|Gezond longherstel|Physical|Fysiek
Immune Recovery|Immuunherstel|Physical|Fysiek
Immune Wellness|Immuunwelzijn|Physical|Fysiek
Immune Balance|Immuunbalans|Physical|Fysiek
Healthy Immune Function|Gezonde immuunfunctie|Physical|Fysiek
Natural Immune Support|Natuurlijke immuunondersteuning|Physical|Fysiek
Immune Resilience|Immuunveerkracht|Physical|Fysiek
Balanced Immunity|Gebalanceerde immuniteit|Physical|Fysiek
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Healthy Body Defenses|Gezonde lichaamsafweer|Physical|Fysiek
Seasonal Wellness|Seizoenswelzijn|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Renewal Support|Ondersteuning van cellulaire vernieuwing|Physical|Fysiek
Healthy Cellular Energy|Gezonde cellulaire energie|Physical|Fysiek
Mitochondrial Wellness|Mitochondriaal welzijn|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Fatigue Recovery|Herstel van vermoeidheid|Physical|Fysiek
Post-Illness Fatigue Support|Ondersteuning bij vermoeidheid na ziekte|Physical|Fysiek
Persistent Fatigue Recovery|Herstel van aanhoudende vermoeidheid|Physical|Fysiek
Gentle Energy Recovery|Zacht energieherstel|Physical|Fysiek
Daily Energy Balance|Dagelijkse energiebalans|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Sleep for Recovery|Slaap voor herstel|Physical|Fysiek
Healing Sleep Support|Ondersteuning van herstellende slaap|Physical|Fysiek
Breathing for Recovery|Ademhaling voor herstel|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence Recovery|Hartcoherentie herstel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Stress Recovery|Stressherstel|Emotional|Emotioneel
Recovery from Physical Stress|Herstel van fysieke stress|Physical|Fysiek
Digestive Recovery|Spijsverteringsherstel|Physical|Fysiek
Gut Recovery Support|Ondersteuning van darmherstel|Physical|Fysiek
Gut Balance After Illness|Darmbalans na ziekte|Physical|Fysiek
Microbiome Recovery|Microbioomherstel|Physical|Fysiek
Healthy Digestion Recovery|Gezond spijsverteringsherstel|Physical|Fysiek
Brain Fog Recovery|Brain fog herstel|Mental|Mentaal
Mental Clarity Recovery|Herstel van mentale helderheid|Mental|Mentaal
Cognitive Recovery|Cognitief herstel|Mental|Mentaal
Mental Energy Recovery|Mentale energieherstel|Mental|Mentaal
Focus Recovery|Focusherstel|Mental|Mentaal
Memory Recovery Support|Ondersteuning van geheugenherstel|Mental|Mentaal
Mental Performance Recovery|Herstel van mentale prestaties|Mental|Mentaal
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Positive Recovery Mindset|Positieve herstelmindset|Mental|Mentaal
Healing Mindset|Genezingsmindset|Mental|Mentaal
Recovery Mindset|Herstelmindset|Mental|Mentaal
Confidence During Recovery|Vertrouwen tijdens herstel|Emotional|Emotioneel
Patience During Recovery|Geduld tijdens herstel|Emotional|Emotioneel
One Step at a Time|Een stap tegelijk|Emotional|Emotioneel
Small Steps Forward|Kleine stappen vooruit|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
Living Well Again|Weer goed leven|Emotional|Emotioneel
Feel Like Yourself Again|Je weer jezelf voelen|Emotional|Emotioneel
Rediscover Your Energy|Herontdek je energie|Emotional|Emotioneel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Body Healing Meditation|Lichaamsherstelmeditatie|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Acceptance & Recovery|Acceptatie & herstel|Spiritual|Spiritueel
Trust Your Recovery|Vertrouw je herstel|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
Gratitude During Recovery|Dankbaarheid tijdens herstel|Spiritual|Spiritueel
Sacred Stillness|Heilige stilte|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Post-Hospital Recovery|Herstel na ziekenhuisopname|Physical|Fysiek
Recovery After Intensive Care|Herstel na intensive care|Physical|Fysiek
Recovery After Isolation|Herstel na isolatie|Emotional|Emotioneel
Recovery at Home|Herstel thuis|Physical|Fysiek
Healthy Rehabilitation|Gezonde revalidatie|Physical|Fysiek
Physical Rehabilitation|Fysieke revalidatie|Physical|Fysiek
Functional Recovery|Functioneel herstel|Physical|Fysiek
Movement Recovery|Bewegingsherstel|Physical|Fysiek
Gentle Rehabilitation|Zachte revalidatie|Physical|Fysiek
Healthy Aging Recovery|Herstel bij gezond ouder worden|Physical|Fysiek
Recovery for Seniors|Herstel voor senioren|Physical|Fysiek
Recovery with Confidence|Herstel met vertrouwen|Emotional|Emotioneel
Everyday Recovery|Dagelijks herstel|Physical|Fysiek
Healthy Lifestyle Recovery|Gezonde leefstijlherstel|Physical|Fysiek
Balanced Recovery|Gebalanceerd herstel|Physical|Fysiek
The Recovery Journey|De herstelreis|Emotional|Emotioneel
The Healing Journey|De genezingsreis|Spiritual|Spiritueel
Recover & Thrive|Herstel & floreer|Emotional|Emotioneel
Recovery & Well-Being|Herstel & welzijn|Physical|Fysiek
Healthy Comeback|Gezonde comeback|Emotional|Emotioneel
A New Beginning|Een nieuw begin|Emotional|Emotioneel
Live Fully Again|Weer voluit leven|Emotional|Emotioneel
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Resilient Recovery|Veerkrachtig herstel|Emotional|Emotioneel
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
Vital Living Again|Weer vitaal leven|Physical|Fysiek
Stronger Every Day|Elke dag sterker|Physical|Fysiek
Post-COVID Recovery Support|Post-COVID herstelondersteuning|Physical|Fysiek
Long COVID Fatigue Support|Ondersteuning bij Long COVID vermoeidheid|Physical|Fysiek
Influenza Recovery Support|Herstelondersteuning na influenza|Physical|Fysiek
Pneumonia Recovery Support|Herstelondersteuning na longontsteking|Physical|Fysiek
Bronchitis Recovery Support|Herstelondersteuning na bronchitis|Physical|Fysiek
Mononucleosis Recovery Support|Herstelondersteuning na mononucleose|Physical|Fysiek
Lyme Disease Recovery Support|Herstelondersteuning bij ziekte van Lyme|Physical|Fysiek
Shingles Recovery Support|Herstelondersteuning na gordelroos|Physical|Fysiek
Hepatitis Recovery Support|Herstelondersteuning na hepatitis|Physical|Fysiek
Post-Sepsis Recovery Support|Herstelondersteuning na sepsis|Physical|Fysiek
Recovery After Gastroenteritis|Herstel na gastro-enteritis|Physical|Fysiek
Post-Infectious IBS Support|Ondersteuning bij post-infectieuze PDS|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_INFECTIOUS_DISEASE_SESSION_DEFINITIONS = RECOVERY_INFECTIOUS_DISEASE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#22c55e", "#14b8a6", "#60a5fa", "#38bdf8", "#84cc16", "#facc15", "#a78bfa", "#f472b6"];
  return {
    id: `recovery-infectious-disease-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    infectionBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5000 + index
  };
});

const RECOVERY_PRE_POST_SURGERY_TITLE_PAIRS = `
Pre-Surgery Relaxation|Ontspanning voor operatie|Emotional|Emotioneel
Pre-Surgery Calm|Rust voor operatie|Emotional|Emotioneel
Preparing for Surgery|Voorbereiden op operatie|Emotional|Emotioneel
Ready for Surgery|Klaar voor operatie|Emotional|Emotioneel
Calm Before Surgery|Kalm voor operatie|Emotional|Emotioneel
Confidence Before Surgery|Vertrouwen voor operatie|Emotional|Emotioneel
Surgery Preparation|Operatievoorbereiding|Emotional|Emotioneel
Operation Preparation|Voorbereiding op ingreep|Emotional|Emotioneel
Surgical Readiness|Operatieve gereedheid|Emotional|Emotioneel
Peace Before Surgery|Vrede voor operatie|Spiritual|Spiritueel
Inner Calm Before Surgery|Innerlijke rust voor operatie|Emotional|Emotioneel
Relax Before Surgery|Ontspan voor operatie|Emotional|Emotioneel
Surgical Confidence|Operatievertrouwen|Emotional|Emotioneel
Positive Surgery Mindset|Positieve operatiemindset|Mental|Mentaal
Healing Begins Here|Herstel begint hier|Spiritual|Spiritueel
Comfort Before Surgery|Comfort voor operatie|Emotional|Emotioneel
Fear-Free Surgery|Operatie zonder angst|Emotional|Emotioneel
Release Surgical Anxiety|Operatieangst loslaten|Emotional|Emotioneel
Trust the Process|Vertrouw het proces|Spiritual|Spiritueel
Safe & Calm|Veilig & kalm|Emotional|Emotioneel
Hospital Relaxation|Ziekenhuisontspanning|Emotional|Emotioneel
Hospital Stay Support|Ondersteuning tijdens ziekenhuisverblijf|Emotional|Emotioneel
Hospital Recovery Mindset|Herstelmindset in het ziekenhuis|Mental|Mentaal
Medical Procedure Relaxation|Ontspanning bij medische procedure|Emotional|Emotioneel
Medical Calm|Medische rust|Emotional|Emotioneel
Pre-Procedure Relaxation|Ontspanning voor procedure|Emotional|Emotioneel
Comfort During Hospitalization|Comfort tijdens ziekenhuisopname|Emotional|Emotioneel
Post-Surgery Recovery|Herstel na operatie|Physical|Fysiek
Recovery After Surgery|Herstel na chirurgie|Physical|Fysiek
Surgical Recovery Support|Chirurgische herstelondersteuning|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Recovery Journey|Herstelreis|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Physical Recovery|Fysiek herstel|Physical|Fysiek
Healing Recovery|Genezend herstel|Physical|Fysiek
Recovery Essentials|Essentieel herstel|Physical|Fysiek
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Recovery with Confidence|Herstel met vertrouwen|Emotional|Emotioneel
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Recovery Reset|Herstelreset|Physical|Fysiek
Restore Your Strength|Herstel je kracht|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Body Restoration|Lichaamsherstel|Physical|Fysiek
Body Recovery|Lichaamsherstel|Physical|Fysiek
Healing Support|Herstelondersteuning|Physical|Fysiek
Recovery & Well-Being|Herstel & welzijn|Physical|Fysiek
Orthopedic Surgery Recovery|Herstel na orthopedische operatie|Physical|Fysiek
Joint Surgery Recovery|Herstel na gewrichtsoperatie|Physical|Fysiek
Hip Replacement Recovery Support|Herstelondersteuning na heupprothese|Physical|Fysiek
Knee Replacement Recovery Support|Herstelondersteuning na knieprothese|Physical|Fysiek
Shoulder Surgery Recovery|Herstel na schouderoperatie|Physical|Fysiek
Spinal Surgery Recovery Support|Herstelondersteuning na wervelkolomoperatie|Physical|Fysiek
Back Surgery Recovery|Herstel na rugoperatie|Physical|Fysiek
Hand Surgery Recovery|Herstel na handoperatie|Physical|Fysiek
Foot Surgery Recovery|Herstel na voetoperatie|Physical|Fysiek
Sports Surgery Recovery|Herstel na sportoperatie|Physical|Fysiek
Cardiac Surgery Recovery|Herstel na hartoperatie|Physical|Fysiek
Thoracic Surgery Recovery|Herstel na thoraxoperatie|Physical|Fysiek
Abdominal Surgery Recovery|Herstel na buikoperatie|Physical|Fysiek
Colorectal Surgery Recovery|Herstel na colorectale operatie|Physical|Fysiek
Urological Surgery Recovery|Herstel na urologische operatie|Physical|Fysiek
Gynecological Surgery Recovery|Herstel na gynaecologische operatie|Physical|Fysiek
Pelvic Surgery Recovery|Herstel na bekkenoperatie|Physical|Fysiek
Breast Surgery Recovery|Herstel na borstoperatie|Physical|Fysiek
Plastic Surgery Recovery|Herstel na plastische chirurgie|Physical|Fysiek
Eye Surgery Recovery|Herstel na oogoperatie|Physical|Fysiek
Dental Surgery Recovery|Herstel na tandheelkundige chirurgie|Physical|Fysiek
Oral Surgery Recovery|Herstel na mondchirurgie|Physical|Fysiek
ENT Surgery Recovery|Herstel na KNO-operatie|Physical|Fysiek
Neurosurgery Recovery Support|Herstelondersteuning na neurochirurgie|Physical|Fysiek
Post-Anesthesia Recovery|Herstel na anesthesie|Physical|Fysiek
Recovery After Anesthesia|Herstel na verdoving|Physical|Fysiek
Gentle Awakening|Zacht ontwaken|Physical|Fysiek
Comfort After Surgery|Comfort na operatie|Physical|Fysiek
Recovery After Hospitalization|Herstel na ziekenhuisopname|Physical|Fysiek
Healthy Rehabilitation|Gezonde revalidatie|Physical|Fysiek
Rehabilitation Support|Revalidatieondersteuning|Physical|Fysiek
Functional Recovery|Functioneel herstel|Physical|Fysiek
Movement Recovery|Bewegingsherstel|Physical|Fysiek
Physical Rehabilitation|Fysieke revalidatie|Physical|Fysiek
Healthy Tissue Recovery|Gezond weefselherstel|Physical|Fysiek
Healthy Scar Recovery|Gezond littekenherstel|Physical|Fysiek
Soft Tissue Recovery|Zacht weefselherstel|Physical|Fysiek
Connective Tissue Recovery|Bindweefselherstel|Physical|Fysiek
Healthy Wound Recovery|Gezond wondherstel|Physical|Fysiek
Healthy Skin Recovery|Gezond huidherstel|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Pain Comfort Support|Ondersteuning bij pijncomfort|Physical|Fysiek
Comfort During Recovery|Comfort tijdens herstel|Emotional|Emotioneel
Relax Through Recovery|Ontspannen door herstel|Emotional|Emotioneel
Recovery Without Stress|Herstel zonder stress|Emotional|Emotioneel
Calm During Recovery|Kalm tijdens herstel|Emotional|Emotioneel
Healing Through Relaxation|Herstel door ontspanning|Emotional|Emotioneel
Relaxed Healing Journey|Ontspannen herstelreis|Emotional|Emotioneel
Breathing for Recovery|Ademhaling voor herstel|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence Recovery|Hartcoherentie herstel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Relaxed Body|Ontspannen lichaam|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Sleep for Recovery|Slaap voor herstel|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Sleep & Healing Support|Slaap- & herstelondersteuning|Physical|Fysiek
Mental Recovery|Mentaal herstel|Mental|Mentaal
Recovery Mindset|Herstelmindset|Mental|Mentaal
Healing Mindset|Genezingsmindset|Mental|Mentaal
Positive Recovery|Positief herstel|Emotional|Emotioneel
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Confidence During Recovery|Vertrouwen tijdens herstel|Emotional|Emotioneel
Patience During Recovery|Geduld tijdens herstel|Emotional|Emotioneel
One Step at a Time|Een stap tegelijk|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
Small Victories|Kleine overwinningen|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Resilient Recovery|Veerkrachtig herstel|Emotional|Emotioneel
Regain Confidence|Vertrouwen terugwinnen|Emotional|Emotioneel
Back on Your Feet|Weer op de been|Emotional|Emotioneel
Returning to Daily Life|Terugkeren naar het dagelijks leven|Emotional|Emotioneel
Every Day Stronger|Elke dag sterker|Emotional|Emotioneel
Live Fully Again|Weer voluit leven|Emotional|Emotioneel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Helend licht|Spiritual|Spiritueel
Healing Presence|Helende aanwezigheid|Spiritual|Spiritueel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Acceptance & Recovery|Acceptatie & herstel|Spiritual|Spiritueel
Trust Your Recovery|Vertrouw je herstel|Spiritual|Spiritueel
Body Awareness Meditation|Lichaamsbewustzijn meditatie|Spiritual|Spiritueel
Gratitude During Recovery|Dankbaarheid tijdens herstel|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Peaceful Healing|Vredig herstel|Spiritual|Spiritueel
Sacred Stillness|Heilige stilte|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
The Healing Journey|De genezingsreis|Spiritual|Spiritueel
Family Support During Recovery|Gezinssteun tijdens herstel|Emotional|Emotioneel
Caregiver Support|Mantelzorgondersteuning|Emotional|Emotioneel
Recovery Together|Samen herstellen|Emotional|Emotioneel
Healthy Comeback|Gezonde comeback|Emotional|Emotioneel
Recovery & Balance|Herstel & balans|Physical|Fysiek
Balanced Healing|Gebalanceerde genezing|Physical|Fysiek
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Recovery for Healthy Aging|Herstel voor gezond ouder worden|Physical|Fysiek
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
The Recovery Protocol|Het herstelprotocol|Physical|Fysiek
The Surgical Recovery Journey|De chirurgische herstelreis|Emotional|Emotioneel
Healthy Life After Surgery|Gezond leven na operatie|Physical|Fysiek
Recovery with Purpose|Herstel met betekenis|Spiritual|Spiritueel
Moving Forward|Vooruit bewegen|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_PRE_POST_SURGERY_SESSION_DEFINITIONS = RECOVERY_PRE_POST_SURGERY_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#60a5fa", "#14b8a6", "#22c55e", "#a78bfa", "#f472b6", "#facc15", "#38bdf8", "#84cc16"];
  return {
    id: `recovery-pre-post-surgery-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    surgeryBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5100 + index
  };
});

const RECOVERY_DETOX_LIFESTYLE_TITLE_PAIRS = `
Lifestyle Support|Leefstijlondersteuning|Physical|Fysiek
Healthy Lifestyle|Gezonde leefstijl|Physical|Fysiek
Healthy Lifestyle Reset|Gezonde leefstijlreset|Physical|Fysiek
Lifestyle Balance|Leefstijlbalans|Physical|Fysiek
Lifestyle Optimization|Leefstijloptimalisatie|Physical|Fysiek
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Healthy Routine|Gezonde routine|Mental|Mentaal
Daily Wellness|Dagelijks welzijn|Physical|Fysiek
Everyday Wellness|Alledaags welzijn|Physical|Fysiek
Wellness Reset|Welzijnsreset|Physical|Fysiek
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Healthy Living|Gezond leven|Physical|Fysiek
Optimal Living|Optimaal leven|Physical|Fysiek
Vital Living|Vitaal leven|Physical|Fysiek
Healthy Choices|Gezonde keuzes|Mental|Mentaal
Choose Wellness|Kies welzijn|Mental|Mentaal
Wellness Journey|Welzijnsreis|Physical|Fysiek
Healthy Future|Gezonde toekomst|Mental|Mentaal
Lifestyle Detox|Leefstijl detox|Physical|Fysiek
Mind Detox|Geestelijke detox|Mental|Mentaal
Mental Detox|Mentale detox|Mental|Mentaal
Digital Detox|Digitale detox|Mental|Mentaal
Screen Detox|Schermdetox|Mental|Mentaal
Social Media Detox|Social media detox|Mental|Mentaal
News Detox|Nieuwsd detox|Mental|Mentaal
Information Detox|Informatiedetox|Mental|Mentaal
Technology Balance|Technologiebalans|Mental|Mentaal
Mental Reset|Mentale reset|Mental|Mentaal
Life Reset|Levensreset|Mental|Mentaal
Fresh Start|Frisse start|Mental|Mentaal
Reset Your Life|Reset je leven|Mental|Mentaal
Start Again|Begin opnieuw|Emotional|Emotioneel
Body Reset|Lichaamsreset|Physical|Fysiek
Healthy Reset|Gezonde reset|Physical|Fysiek
Natural Reset|Natuurlijke reset|Physical|Fysiek
Recharge Your Body|Laad je lichaam op|Physical|Fysiek
Recharge Your Mind|Laad je geest op|Mental|Mentaal
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Restore Balance|Herstel balans|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Restore Energy|Herstel energie|Physical|Fysiek
Daily Energy|Dagelijkse energie|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Healthy Energy|Gezonde energie|Physical|Fysiek
Healthy Sleep Habits|Gezonde slaapgewoonten|Physical|Fysiek
Morning Routine|Ochtendroutine|Mental|Mentaal
Evening Routine|Avondroutine|Mental|Mentaal
Morning Reset|Ochtendreset|Mental|Mentaal
Evening Reset|Avondreset|Mental|Mentaal
Healthy Daily Rhythm|Gezond dagritme|Physical|Fysiek
Circadian Balance|Circadiane balans|Physical|Fysiek
Healthy Body Clock|Gezonde lichaamsklok|Physical|Fysiek
Sleep & Recovery|Slaap & herstel|Physical|Fysiek
Healthy Nutrition Mindset|Gezonde voedingsmindset|Mental|Mentaal
Mindful Eating|Mindful eten|Mental|Mentaal
Healthy Eating Habits|Gezonde eetgewoonten|Mental|Mentaal
Food Awareness|Voedingsbewustzijn|Mental|Mentaal
Healthy Relationship with Food|Gezonde relatie met eten|Emotional|Emotioneel
Eat with Awareness|Eet met aandacht|Mental|Mentaal
Balanced Nutrition|Gebalanceerde voeding|Physical|Fysiek
Healthy Appetite Balance|Gezonde eetlustbalans|Physical|Fysiek
Healthy Weight Journey|Gezonde gewichtsreis|Physical|Fysiek
Weight Wellness|Gewichtswelzijn|Physical|Fysiek
Weight Reduction Support|Ondersteuning bij gewichtsreductie|Physical/Mental|Fysiek/Mentaal
Stop Smoking Support|Ondersteuning bij stoppen met roken|Mental/Emotional|Mentaal/Emotioneel
Stop Drug Use Support|Ondersteuning bij stoppen met drugs|Mental/Emotional|Mentaal/Emotioneel
Gambling Addiction Support|Ondersteuning bij gokverslaving|Mental/Emotional|Mentaal/Emotioneel
Phone Addiction Support|Ondersteuning bij telefoonverslaving|Mental/Emotional|Mentaal/Emotioneel
Social Media Addiction Support|Ondersteuning bij social media verslaving|Mental/Emotional|Mentaal/Emotioneel
Alcohol Moderation Support|Ondersteuning bij overmatig alcoholgebruik|Mental/Emotional|Mentaal/Emotioneel
Move Every Day|Beweeg elke dag|Physical|Fysiek
Healthy Movement|Gezonde beweging|Physical|Fysiek
Daily Activity|Dagelijkse activiteit|Physical|Fysiek
Active Lifestyle|Actieve leefstijl|Physical|Fysiek
Exercise Motivation|Beweegmotivatie|Mental|Mentaal
Movement Motivation|Motivatie om te bewegen|Mental|Mentaal
Body in Motion|Lichaam in beweging|Physical|Fysiek
Vital Movement|Vitale beweging|Physical|Fysiek
Stretch & Relax|Rek & ontspan|Physical|Fysiek
Stress Detox|Stressdetox|Emotional|Emotioneel
Emotional Detox|Emotionele detox|Emotional|Emotioneel
Release Emotional Baggage|Emotionele ballast loslaten|Emotional|Emotioneel
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Let Go of Negativity|Negativiteit loslaten|Emotional|Emotioneel
Release Mental Clutter|Mentale rommel loslaten|Mental|Mentaal
Clear Your Mind|Maak je hoofd helder|Mental|Mentaal
Inner Clarity|Innerlijke helderheid|Spiritual|Spiritueel
Mental Freedom|Mentale vrijheid|Mental|Mentaal
Emotional Freedom|Emotionele vrijheid|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Mindful Living|Mindful leven|Spiritual|Spiritueel
Healthy Breathing|Gezonde ademhaling|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Breathing for Wellness|Ademhaling voor welzijn|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Parasympathetic Reset|Parasympathische reset|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Vagus Nerve Wellness|Nervus vagus welzijn|Physical|Fysiek
Reduce Sugar Cravings|Verminder suikercravings|Mental|Mentaal
Healthy Sugar Balance|Gezonde suikerbalans|Physical|Fysiek
Reduce Food Cravings|Verminder eetcravings|Mental|Mentaal
Healthy Snacking|Gezond snacken|Mental|Mentaal
Mindful Nutrition|Mindful voeding|Mental|Mentaal
Healthy Portions|Gezonde porties|Mental|Mentaal
Balanced Eating|Gebalanceerd eten|Mental|Mentaal
Eat with Intention|Eet met intentie|Mental|Mentaal
Break Bad Habits|Doorbreek ongezonde gewoonten|Mental|Mentaal
Build Healthy Habits|Bouw gezonde gewoonten op|Mental|Mentaal
Habit Transformation|Gewoonteverandering|Mental|Mentaal
Lifestyle Transformation|Leefstijltransformatie|Mental|Mentaal
Positive Change|Positieve verandering|Mental|Mentaal
Healthy Decisions|Gezonde beslissingen|Mental|Mentaal
Healthy Discipline|Gezonde discipline|Mental|Mentaal
Consistency Builder|Consistentie opbouwen|Mental|Mentaal
Daily Success Habits|Dagelijkse succesgewoonten|Mental|Mentaal
Self-Care Routine|Zelfzorgroutine|Emotional|Emotioneel
Digital Balance|Digitale balans|Mental|Mentaal
Healthy Work-Life Balance|Gezonde werk-privebalans|Emotional|Emotioneel
Life Balance|Levensbalans|Spiritual|Spiritueel
Simplify Your Life|Vereenvoudig je leven|Spiritual|Spiritueel
Minimalist Mindset|Minimalistische mindset|Mental|Mentaal
Declutter Your Mind|Ruim je hoofd op|Mental|Mentaal
Declutter Your Life|Ruim je leven op|Mental|Mentaal
Organized Living|Georganiseerd leven|Mental|Mentaal
Healthy Aging Lifestyle|Leefstijl voor gezond ouder worden|Physical|Fysiek
Longevity Lifestyle|Longevity leefstijl|Physical|Fysiek
Healthy Longevity|Gezonde levensduur|Physical|Fysiek
Wellness for Life|Welzijn voor het leven|Spiritual|Spiritueel
Healthy Body, Healthy Life|Gezond lichaam, gezond leven|Physical|Fysiek
Live Well Every Day|Elke dag goed leven|Emotional|Emotioneel
Vital Years|Vitale jaren|Physical|Fysiek
Healthy Future Habits|Gezonde toekomstgewoonten|Mental|Mentaal
Recovery Lifestyle|Herstelleefstijl|Physical|Fysiek
Recovery Habits|Herstelgewoonten|Mental|Mentaal
Recovery Routine|Herstelroutine|Mental|Mentaal
Body & Mind Recovery|Lichaam & geest herstel|Physical/Mental|Fysiek/Mentaal
Mindfulness Practice|Mindfulnessbeoefening|Spiritual|Spiritueel
Daily Meditation|Dagelijkse meditatie|Spiritual|Spiritueel
Gratitude Practice|Dankbaarheidsoefening|Spiritual|Spiritueel
Compassion Practice|Compassiebeoefening|Spiritual|Spiritueel
Positive Mindset|Positieve mindset|Mental|Mentaal
Growth Mindset|Groeimindset|Mental|Mentaal
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Purposeful Living|Doelgericht leven|Spiritual|Spiritueel
Authentic Living|Authentiek leven|Spiritual|Spiritueel
Conscious Living|Bewust leven|Spiritual|Spiritueel
Intentional Living|Intentioneel leven|Spiritual|Spiritueel
Live with Purpose|Leef met betekenis|Spiritual|Spiritueel
Inner Balance|Innerlijke balans|Spiritual|Spiritueel
Harmony Within|Harmonie van binnen|Spiritual|Spiritueel
Fresh Mind|Frisse geest|Mental|Mentaal
Fresh Perspective|Fris perspectief|Mental|Mentaal
New Beginnings|Nieuw begin|Emotional|Emotioneel
Reset & Thrive|Reset & floreer|Emotional|Emotioneel
Everyday Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Healthy Tomorrow|Gezonde morgen|Mental|Mentaal
The Wellness Protocol|Het welzijnsprotocol|Physical|Fysiek
The Lifestyle Reset|De leefstijlreset|Physical|Fysiek
The Healthy Habit Protocol|Het gezonde-gewoontenprotocol|Mental|Mentaal
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
Choose Health|Kies gezondheid|Mental|Mentaal
The Balanced Life|Het gebalanceerde leven|Spiritual|Spiritueel
Create Healthy Change|Creëer gezonde verandering|Mental|Mentaal
Small Steps, Big Results|Kleine stappen, grote resultaten|Mental|Mentaal
Stronger Every Day|Elke dag sterker|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_DETOX_LIFESTYLE_SESSION_DEFINITIONS = RECOVERY_DETOX_LIFESTYLE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#22c55e", "#14b8a6", "#38bdf8", "#60a5fa", "#facc15", "#a78bfa", "#f472b6", "#84cc16"];
  return {
    id: `recovery-detox-lifestyle-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    lifestyleBase: [5.6, 6.0, 6.4, 5.2, 4.8, 6.8, 7.0, 5.8, 6.2, 4.6, 7.2, 5.4][index % 12],
    style: 5200 + index
  };
});

const RECOVERY_ENVIRONMENTAL_SENSITIVITY_TITLE_PAIRS = `
Environmental Wellness|Omgevingswelzijn|Physical|Fysiek
Environmental Support|Omgevingsondersteuning|Physical|Fysiek
Environmental Sensitivity Support|Ondersteuning bij omgevingsgevoeligheid|Physical|Fysiek
Environmental Balance|Omgevingsbalans|Physical|Fysiek
Healthy Environmental Adaptation|Gezonde omgevingsadaptatie|Physical|Fysiek
Environmental Comfort|Omgevingscomfort|Physical|Fysiek
Environmental Recovery|Omgevingsherstel|Physical|Fysiek
Environmental Resilience|Omgevingsveerkracht|Physical|Fysiek
Healthy Adaptation|Gezonde aanpassing|Physical|Fysiek
Everyday Environmental Wellness|Dagelijks omgevingswelzijn|Physical|Fysiek
Sensory Balance|Sensorische balans|Mental|Mentaal
Sensory Calm|Sensorische rust|Mental|Mentaal
Sensory Wellness|Sensorisch welzijn|Mental|Mentaal
Sensory Recovery|Sensorisch herstel|Mental|Mentaal
Sensory Reset|Sensorische reset|Mental|Mentaal
Sensory Regulation|Sensorische regulatie|Mental|Mentaal
Sensory Adaptation|Sensorische adaptatie|Mental|Mentaal
Sensory Comfort|Sensorisch comfort|Mental|Mentaal
Healthy Sensory Processing|Gezonde sensorische verwerking|Mental|Mentaal
Balanced Sensory Awareness|Gebalanceerd sensorisch gewaarzijn|Mental|Mentaal
Noise Sensitivity Support|Ondersteuning bij lawaaigevoeligheid|Physical|Fysiek
Sound Sensitivity Support|Ondersteuning bij geluidsgevoeligheid|Physical|Fysiek
Auditory Sensitivity Support|Ondersteuning bij auditieve gevoeligheid|Physical|Fysiek
Quiet Mind, Quiet World|Stille geest, stille wereld|Emotional|Emotioneel
Calm Around Noise|Kalm rond geluid|Emotional|Emotioneel
Peace in Busy Places|Vrede in drukke plekken|Emotional|Emotioneel
Comfort in Loud Environments|Comfort in luide omgevingen|Emotional|Emotioneel
Sound Tolerance Support|Ondersteuning van geluidstolerantie|Mental|Mentaal
Everyday Sound Comfort|Dagelijks geluidscomfort|Emotional|Emotioneel
Healthy Listening Environment|Gezonde luisteromgeving|Mental|Mentaal
Light Sensitivity Support|Ondersteuning bij lichtgevoeligheid|Physical|Fysiek
Visual Comfort|Visueel comfort|Physical|Fysiek
Bright Light Comfort|Comfort bij fel licht|Physical|Fysiek
Visual Relaxation|Visuele ontspanning|Physical|Fysiek
Comfort Around Bright Light|Comfort rond fel licht|Emotional|Emotioneel
Eye & Mind Relaxation|Oog- & geestontspanning|Physical/Mental|Fysiek/Mentaal
Healthy Visual Adaptation|Gezonde visuele adaptatie|Physical|Fysiek
Touch Sensitivity Support|Ondersteuning bij aanraakgevoeligheid|Physical|Fysiek
Texture Comfort|Textuurcomfort|Physical|Fysiek
Comfort in Daily Sensations|Comfort in dagelijkse sensaties|Emotional|Emotioneel
Gentle Body Awareness|Zacht lichaamsbewustzijn|Physical|Fysiek
Body Comfort|Lichaamscomfort|Physical|Fysiek
Comfortable Clothing Awareness|Comfortabel kledingbewustzijn|Emotional|Emotioneel
Temperature Sensitivity Support|Ondersteuning bij temperatuurgevoeligheid|Physical|Fysiek
Heat Sensitivity Support|Ondersteuning bij warmtegevoeligheid|Physical|Fysiek
Cold Sensitivity Support|Ondersteuning bij koudegevoeligheid|Physical|Fysiek
Climate Comfort|Klimaatcomfort|Physical|Fysiek
Environmental Temperature Balance|Omgevingstemperatuurbalans|Physical|Fysiek
Chemical Sensitivity Wellness|Welzijn bij chemische gevoeligheid|Physical|Fysiek
Fragrance Sensitivity Support|Ondersteuning bij geurstofgevoeligheid|Physical|Fysiek
Perfume Sensitivity Support|Ondersteuning bij parfumgevoeligheid|Physical|Fysiek
Air Quality Wellness|Luchtkwaliteitswelzijn|Physical|Fysiek
Healthy Indoor Environment|Gezonde binnenomgeving|Physical|Fysiek
Fresh Air Relaxation|Frisse-lucht ontspanning|Physical|Fysiek
Clean Air Awareness|Schone-lucht bewustzijn|Physical|Fysiek
Electromagnetic Wellness|Elektromagnetisch welzijn|Emotional|Emotioneel
Digital Environment Balance|Digitale omgevingsbalans|Mental|Mentaal
Technology Wellness|Technologiewelzijn|Mental|Mentaal
Digital Calm|Digitale rust|Mental|Mentaal
Digital Recovery|Digitaal herstel|Mental|Mentaal
Screen Recovery|Schermherstel|Mental|Mentaal
Technology Break|Technologiepauze|Mental|Mentaal
Digital Detox|Digitale detox|Mental|Mentaal
Crowded Environment Calm|Rust in drukke omgevingen|Emotional|Emotioneel
Busy Environment Recovery|Herstel na drukke omgeving|Emotional|Emotioneel
Urban Calm|Stedelijke rust|Emotional|Emotioneel
Travel Calm|Reisrust|Emotional|Emotioneel
Public Space Comfort|Comfort in openbare ruimte|Emotional|Emotioneel
Shopping Calm|Winkelrust|Emotional|Emotioneel
Social Environment Balance|Sociale omgevingsbalans|Emotional|Emotioneel
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Relaxed Breathing|Ontspannen ademhaling|Physical|Fysiek
Grounded Breathing|Gegronde ademhaling|Physical|Fysiek
Stress Recovery|Stressherstel|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Inner Safety|Innerlijke veiligheid|Emotional|Emotioneel
Feel Safe Anywhere|Voel je overal veilig|Emotional|Emotioneel
Comfort in New Environments|Comfort in nieuwe omgevingen|Emotional|Emotioneel
Safe Space Within|Veilige ruimte van binnen|Emotional|Emotioneel
Release Environmental Stress|Omgevingsstress loslaten|Emotional|Emotioneel
Resilience in Daily Life|Veerkracht in het dagelijks leven|Emotional|Emotioneel
Everyday Confidence|Dagelijks vertrouwen|Emotional|Emotioneel
Adaptive Mindset|Adaptieve mindset|Mental|Mentaal
Healthy Adaptability|Gezond aanpassingsvermogen|Mental|Mentaal
Flexible Thinking|Flexibel denken|Mental|Mentaal
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Attention Recovery|Aandachtsherstel|Mental|Mentaal
Mental Reset|Mentale reset|Mental|Mentaal
Clear Mind|Heldere geest|Mental|Mentaal
Focused Calm|Gefocuste rust|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Balanced Awareness|Gebalanceerd gewaarzijn|Mental|Mentaal
Nature Recovery|Natuurherstel|Spiritual|Spiritueel
Forest Calm|Bosrust|Spiritual|Spiritueel
Ocean Relaxation|Oceaanontspanning|Spiritual|Spiritueel
Mountain Peace|Bergvrede|Spiritual|Spiritueel
Nature Connection|Natuurverbinding|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Rooted & Calm|Geworteld & kalm|Spiritual|Spiritueel
Mindful Presence|Mindful aanwezigheid|Spiritual|Spiritueel
Inner Stillness|Innerlijke stilte|Spiritual|Spiritueel
Sacred Silence|Heilige stilte|Spiritual|Spiritueel
Inner Sanctuary|Innerlijk toevluchtsoord|Spiritual|Spiritueel
Peaceful Awareness|Vredig gewaarzijn|Spiritual|Spiritueel
Harmony with Nature|Harmonie met de natuur|Spiritual|Spiritueel
Reconnect with Nature|Opnieuw verbinden met de natuur|Spiritual|Spiritueel
The Quiet Forest|Het stille bos|Spiritual|Spiritueel
Ocean Mindfulness|Oceaanmindfulness|Spiritual|Spiritueel
Healthy Home Environment|Gezonde thuisomgeving|Physical|Fysiek
Healthy Workspace|Gezonde werkplek|Physical|Fysiek
Workplace Recovery|Werkplekherstel|Emotional|Emotioneel
Home Calm|Rust thuis|Emotional|Emotioneel
Safe Home|Veilig thuis|Emotional|Emotioneel
Healthy Living Space|Gezonde leefruimte|Physical|Fysiek
Healthy Sleep Environment|Gezonde slaapomgeving|Physical|Fysiek
Evening Calm|Avondrust|Emotional|Emotioneel
Sleep Preparation|Slaapvoorbereiding|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Environmental Fatigue Recovery|Herstel van omgevingsvermoeidheid|Physical|Fysiek
Sensory Fatigue Recovery|Herstel van sensorische vermoeidheid|Mental|Mentaal
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Recovery & Recharge|Herstel & opladen|Physical|Fysiek
Restore Balance|Herstel balans|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Lifestyle Balance|Gezonde leefstijlbalans|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Simple Living|Eenvoudig leven|Spiritual|Spiritueel
Minimalist Mindset|Minimalistische mindset|Mental|Mentaal
Reduce Overload|Overbelasting verminderen|Mental|Mentaal
Less Noise, More Peace|Minder ruis, meer vrede|Spiritual|Spiritueel
Calm Living|Kalm leven|Spiritual|Spiritueel
Live with Ease|Leef met gemak|Spiritual|Spiritueel
Environmental Wellness Protocol|Omgevingswelzijn protocol|Physical|Fysiek
Sensory Wellness Protocol|Sensorisch welzijnsprotocol|Mental|Mentaal
The Calm Environment|De kalme omgeving|Emotional|Emotioneel
The Balanced Nervous System|Het gebalanceerde zenuwstelsel|Physical|Fysiek
Comfort Every Day|Elke dag comfort|Emotional|Emotioneel
Peace in Every Environment|Vrede in elke omgeving|Spiritual|Spiritueel
Resilient Every Day|Elke dag veerkrachtig|Emotional|Emotioneel
Highly Sensitive Person Support|Ondersteuning voor hoogsensitieve personen|Emotional|Emotioneel
High Sensitivity Wellness|Welzijn bij hoogsensitiviteit|Emotional|Emotioneel
Sensory Overload Recovery|Herstel na sensorische overbelasting|Mental|Mentaal
Overstimulation Recovery|Herstel na overprikkeling|Emotional|Emotioneel
Indoor Air Sensitivity Support|Ondersteuning bij binnenluchtgevoeligheid|Physical|Fysiek
Seasonal Environmental Wellness|Seizoensgebonden omgevingswelzijn|Physical|Fysiek
Weather Sensitivity Support|Ondersteuning bij weersgevoeligheid|Physical|Fysiek
Barometric Pressure Wellness|Welzijn bij luchtdrukgevoeligheid|Physical|Fysiek
Mold Sensitivity Wellness Support|Welzijnsondersteuning bij schimmelgevoeligheid|Physical|Fysiek
Allergy Season Wellness|Welzijn in allergieseizoen|Physical|Fysiek
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_ENVIRONMENTAL_SENSITIVITY_SESSION_DEFINITIONS = RECOVERY_ENVIRONMENTAL_SENSITIVITY_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#14b8a6", "#38bdf8", "#22c55e", "#60a5fa", "#a78bfa", "#f472b6", "#facc15", "#84cc16"];
  return {
    id: `recovery-environmental-sensitivity-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    environmentBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5300 + index
  };
});

const RECOVERY_MEDICATION_TREATMENT_TITLE_PAIRS = `
Treatment Support|Behandelondersteuning|Physical|Fysiek
Medical Treatment Support|Medische behandelondersteuning|Physical|Fysiek
Treatment Wellness|Welzijn tijdens behandeling|Physical|Fysiek
Treatment Journey|Behandeltraject|Emotional|Emotioneel
Medical Wellness|Medisch welzijn|Physical|Fysiek
Healthy Recovery|Gezond herstel|Physical|Fysiek
Recovery Support|Herstelondersteuning|Physical|Fysiek
Recovery Journey|Herstelreis|Emotional|Emotioneel
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Treatment Preparation|Behandelvoorbereiding|Emotional|Emotioneel
Preparing for Treatment|Voorbereiden op behandeling|Emotional|Emotioneel
Ready for Treatment|Klaar voor behandeling|Emotional|Emotioneel
Calm Before Treatment|Rust voor behandeling|Emotional|Emotioneel
Confidence Before Treatment|Vertrouwen voor behandeling|Emotional|Emotioneel
Relax Before Treatment|Ontspan voor behandeling|Emotional|Emotioneel
Positive Treatment Mindset|Positieve behandelmindset|Mental|Mentaal
Comfort Before Treatment|Comfort voor behandeling|Emotional|Emotioneel
Treatment Day Calm|Rust op behandeldag|Emotional|Emotioneel
Peace Before Treatment|Vrede voor behandeling|Spiritual|Spiritueel
Medication Routine|Medicatie routine|Mental|Mentaal
Healthy Medication Routine|Gezonde medicatieroutine|Mental|Mentaal
Medication Adherence Support|Ondersteuning bij medicatietrouw|Mental|Mentaal
Medication Confidence|Vertrouwen in medicatiegebruik|Emotional|Emotioneel
Daily Treatment Routine|Dagelijkse behandelroutine|Mental|Mentaal
Treatment Consistency|Behandelconsistentie|Mental|Mentaal
Healthy Daily Habits|Gezonde dagelijkse gewoonten|Mental|Mentaal
Supporting Your Treatment Journey|Ondersteuning van je behandeltraject|Emotional|Emotioneel
Treatment Recovery|Herstel na behandeling|Physical|Fysiek
Recovery After Treatment|Herstel na behandeling|Physical|Fysiek
Post-Treatment Recovery|Herstel na de behandeling|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Recovery & Well-Being|Herstel & welzijn|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Back to Strength|Terug naar kracht|Physical|Fysiek
Healing Support|Herstelondersteuning|Physical|Fysiek
Physical Recovery|Fysiek herstel|Physical|Fysiek
Healthy Rehabilitation|Gezonde revalidatie|Physical|Fysiek
Recovery Essentials|Essentieel herstel|Physical|Fysiek
Recovery Protocol|Herstelprotocol|Physical|Fysiek
Chemotherapy Support|Ondersteuning bij chemotherapie|Physical|Fysiek
Radiotherapy Support|Ondersteuning bij radiotherapie|Physical|Fysiek
Immunotherapy Support|Ondersteuning bij immunotherapie|Physical|Fysiek
Hormonal Therapy Support|Ondersteuning bij hormoontherapie|Physical|Fysiek
Targeted Therapy Support|Ondersteuning bij doelgerichte therapie|Physical|Fysiek
Infusion Day Relaxation|Ontspanning op infusiedag|Emotional|Emotioneel
Hospital Treatment Calm|Rust bij ziekenhuisbehandeling|Emotional|Emotioneel
Outpatient Treatment Support|Ondersteuning bij poliklinische behandeling|Emotional|Emotioneel
Pain Management Support|Ondersteuning bij pijnmanagement|Physical|Fysiek
Pain Comfort|Pijncomfort|Physical|Fysiek
Comfort During Treatment|Comfort tijdens behandeling|Emotional|Emotioneel
Treatment Comfort|Behandelcomfort|Emotional|Emotioneel
Gentle Comfort|Zacht comfort|Emotional|Emotioneel
Body Comfort|Lichaamscomfort|Physical|Fysiek
Recovery Without Stress|Herstel zonder stress|Emotional|Emotioneel
Healing Through Relaxation|Herstellen door ontspanning|Emotional|Emotioneel
Fatigue Recovery|Herstel van vermoeidheid|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Treatment Fatigue Support|Ondersteuning bij behandelvermoeidheid|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Vitality Recovery|Vitaliteitsherstel|Physical|Fysiek
Daily Energy Balance|Dagelijkse energiebalans|Physical|Fysiek
Recovery from Fatigue|Herstel van vermoeidheid|Physical|Fysiek
Healthy Sleep During Treatment|Gezonde slaap tijdens behandeling|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Sleep for Recovery|Slaap voor herstel|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Relaxed Breathing|Ontspannen ademhaling|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Body Relaxation|Lichaamsontspanning|Physical|Fysiek
Stress Relief During Treatment|Stressverlichting tijdens behandeling|Emotional|Emotioneel
Treatment Anxiety Support|Ondersteuning bij behandelspanning|Emotional|Emotioneel
Medical Anxiety Support|Ondersteuning bij medische spanning|Emotional|Emotioneel
Calm During Treatment|Rust tijdens behandeling|Emotional|Emotioneel
Peace During Treatment|Vrede tijdens behandeling|Emotional|Emotioneel
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Resilience During Treatment|Veerkracht tijdens behandeling|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Positive Outlook|Positieve blik|Emotional|Emotioneel
Finding Hope|Hoop vinden|Emotional|Emotioneel
One Day at a Time|Een dag tegelijk|Emotional|Emotioneel
Small Steps Forward|Kleine stappen vooruit|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
Recovery Mindset|Herstelmindset|Mental|Mentaal
Healing Mindset|Herstelgerichte mindset|Mental|Mentaal
Positive Recovery|Positief herstel|Mental|Mentaal
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Focused Recovery|Gefocust herstel|Mental|Mentaal
Confidence in Recovery|Vertrouwen in herstel|Emotional|Emotioneel
Patience During Recovery|Geduld tijdens herstel|Emotional|Emotioneel
Healthy Expectations|Gezonde verwachtingen|Mental|Mentaal
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Herstellend licht|Spiritual|Spiritueel
Healing Presence|Herstellende aanwezigheid|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Acceptance & Recovery|Acceptatie & herstel|Spiritual|Spiritueel
Trust the Process|Vertrouw het proces|Spiritual|Spiritueel
Trust Your Recovery|Vertrouw je herstel|Spiritual|Spiritueel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Gratitude During Recovery|Dankbaarheid tijdens herstel|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
Peaceful Healing|Vredig herstel|Spiritual|Spiritueel
Living Well During Treatment|Goed leven tijdens behandeling|Emotional|Emotioneel
Life Beyond Treatment|Leven voorbij behandeling|Emotional|Emotioneel
Healthy Lifestyle During Recovery|Gezonde leefstijl tijdens herstel|Physical|Fysiek
Everyday Wellness|Dagelijks welzijn|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Whole Body Wellness|Welzijn van het hele lichaam|Physical|Fysiek
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
The Recovery Journey|De herstelreis|Emotional|Emotioneel
Moving Forward|Vooruit bewegen|Emotional|Emotioneel
New Beginnings|Nieuw begin|Emotional|Emotioneel
Live Fully Again|Weer voluit leven|Emotional|Emotioneel
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
Healthy Life Balance|Gezonde levensbalans|Spiritual|Spiritueel
Support for Caregivers|Ondersteuning voor mantelzorgers|Emotional|Emotioneel
Caregiver Recovery|Herstel voor mantelzorgers|Emotional|Emotioneel
Caregiver Resilience|Veerkracht voor mantelzorgers|Emotional|Emotioneel
Family Support During Treatment|Gezinsondersteuning tijdens behandeling|Emotional|Emotioneel
Family Strength|Gezinskracht|Emotional|Emotioneel
Together Through Recovery|Samen door herstel|Emotional|Emotioneel
Dialysis Support|Ondersteuning bij dialyse|Physical|Fysiek
Dialysis Relaxation|Dialyse-ontspanning|Emotional|Emotioneel
Infusion Therapy Relaxation|Ontspanning bij infusietherapie|Emotional|Emotioneel
IV Treatment Calm|Rust bij infuusbehandeling|Emotional|Emotioneel
Chronic Treatment Support|Ondersteuning bij langdurige behandeling|Emotional|Emotioneel
Long-Term Treatment Wellness|Welzijn bij langdurige behandeling|Emotional|Emotioneel
Medical Appointment Relaxation|Ontspanning bij medische afspraak|Emotional|Emotioneel
Waiting Room Calm|Rust in de wachtkamer|Emotional|Emotioneel
Follow-Up Visit Confidence|Vertrouwen bij controleafspraak|Emotional|Emotioneel
Healthy Recovery Habits|Gezonde herstelgewoonten|Mental|Mentaal
Lifestyle During Recovery|Leefstijl tijdens herstel|Physical|Fysiek
The Wellness Protocol|Het welzijnsprotocol|Physical|Fysiek
The Recovery Protocol|Het herstelprotocol|Physical|Fysiek
The Healing Journey|De herstelreis|Spiritual|Spiritueel
Stronger Every Day|Elke dag sterker|Emotional|Emotioneel
Recovery with Confidence|Herstel met vertrouwen|Emotional|Emotioneel
Hope for Tomorrow|Hoop voor morgen|Emotional|Emotioneel
Healing One Day at a Time|Herstellen, een dag tegelijk|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_MEDICATION_TREATMENT_SESSION_DEFINITIONS = RECOVERY_MEDICATION_TREATMENT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#60a5fa", "#14b8a6", "#a78bfa", "#22c55e", "#f472b6", "#38bdf8", "#facc15", "#84cc16"];
  return {
    id: `recovery-medication-treatment-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    treatmentBase: [5.2, 5.6, 6.0, 4.8, 6.4, 5.0, 6.8, 5.4, 5.8, 4.6, 6.2, 5.0][index % 12],
    style: 5400 + index
  };
});

const RECOVERY_DIAGNOSTIC_MEDICAL_PROCEDURE_TITLE_PAIRS = `
Medical Procedure Support|Ondersteuning bij medische procedure|Emotional|Emotioneel
Diagnostic Procedure Support|Ondersteuning bij diagnostische procedure|Emotional|Emotioneel
Medical Examination Support|Ondersteuning bij medisch onderzoek|Emotional|Emotioneel
Preparing for Medical Care|Voorbereiden op medische zorg|Emotional|Emotioneel
Medical Visit Support|Ondersteuning bij medisch bezoek|Emotional|Emotioneel
Calm Before Your Appointment|Rust voor je afspraak|Emotional|Emotioneel
Preparing for Your Appointment|Voorbereiden op je afspraak|Emotional|Emotioneel
Medical Appointment Relaxation|Ontspanning bij medische afspraak|Emotional|Emotioneel
Healthcare Visit Support|Ondersteuning bij zorgbezoek|Emotional|Emotioneel
Confident Medical Visits|Medische bezoeken met vertrouwen|Emotional|Emotioneel
Comfort Before Examination|Comfort voor onderzoek|Emotional|Emotioneel
Relax Before Your Examination|Ontspan voor je onderzoek|Emotional|Emotioneel
Ready for Your Examination|Klaar voor je onderzoek|Emotional|Emotioneel
Peace Before Your Appointment|Vrede voor je afspraak|Spiritual|Spiritueel
Positive Medical Mindset|Positieve medische mindset|Mental|Mentaal
Inner Calm Before Treatment|Innerlijke rust voor behandeling|Emotional|Emotioneel
Confidence During Medical Care|Vertrouwen tijdens medische zorg|Emotional|Emotioneel
Healthy Medical Journey|Gezond medisch traject|Emotional|Emotioneel
Medical Confidence|Medisch vertrouwen|Emotional|Emotioneel
Comfort During Healthcare|Comfort tijdens zorg|Emotional|Emotioneel
Blood Test Relaxation|Ontspanning bij bloedonderzoek|Emotional|Emotioneel
Blood Draw Confidence|Vertrouwen bij bloedafname|Emotional|Emotioneel
Needle Confidence|Vertrouwen bij naalden|Emotional|Emotioneel
Needle Relaxation|Ontspanning bij naalden|Emotional|Emotioneel
Injection Calm|Rust bij injectie|Emotional|Emotioneel
Vaccination Relaxation|Ontspanning bij vaccinatie|Emotional|Emotioneel
IV Therapy Relaxation|Ontspanning bij infuustherapie|Emotional|Emotioneel
Infusion Relaxation|Infusie-ontspanning|Emotional|Emotioneel
Venipuncture Comfort|Comfort bij venapunctie|Emotional|Emotioneel
Fear-Free Blood Tests|Bloedonderzoek zonder angst|Emotional|Emotioneel
MRI Relaxation|MRI-ontspanning|Emotional|Emotioneel
MRI Confidence|MRI met vertrouwen|Emotional|Emotioneel
CT Scan Relaxation|CT-scan ontspanning|Emotional|Emotioneel
CT Scan Confidence|CT-scan met vertrouwen|Emotional|Emotioneel
PET Scan Relaxation|PET-scan ontspanning|Emotional|Emotioneel
PET Scan Confidence|PET-scan met vertrouwen|Emotional|Emotioneel
Ultrasound Relaxation|Echo-ontspanning|Emotional|Emotioneel
X-Ray Relaxation|Röntgenontspanning|Emotional|Emotioneel
Imaging Procedure Calm|Rust bij beeldvormend onderzoek|Emotional|Emotioneel
Medical Imaging Confidence|Vertrouwen bij medische beeldvorming|Emotional|Emotioneel
EEG Relaxation|EEG-ontspanning|Emotional|Emotioneel
ECG Relaxation|ECG-ontspanning|Emotional|Emotioneel
EMG Relaxation|EMG-ontspanning|Emotional|Emotioneel
Nerve Conduction Study Relaxation|Ontspanning bij zenuwgeleidingsonderzoek|Emotional|Emotioneel
Heart Test Relaxation|Ontspanning bij hartonderzoek|Emotional|Emotioneel
Stress Test Calm|Rust bij inspanningstest|Emotional|Emotioneel
Pulmonary Function Test Relaxation|Ontspanning bij longfunctietest|Emotional|Emotioneel
Lung Function Test Calm|Rust bij longfunctietest|Emotional|Emotioneel
Sleep Study Relaxation|Ontspanning bij slaaponderzoek|Emotional|Emotioneel
Endoscopy Relaxation|Endoscopie-ontspanning|Emotional|Emotioneel
Gastroscopy Relaxation|Gastroscopie-ontspanning|Emotional|Emotioneel
Colonoscopy Relaxation|Coloscopie-ontspanning|Emotional|Emotioneel
Bronchoscopy Relaxation|Bronchoscopie-ontspanning|Emotional|Emotioneel
Cystoscopy Relaxation|Cystoscopie-ontspanning|Emotional|Emotioneel
Biopsy Preparation|Biopsievoorbereiding|Emotional|Emotioneel
Biopsy Relaxation|Biopsie-ontspanning|Emotional|Emotioneel
Lumbar Puncture Relaxation|Lumbaalpunctie-ontspanning|Emotional|Emotioneel
Bone Marrow Test Relaxation|Ontspanning bij beenmergonderzoek|Emotional|Emotioneel
Dental Procedure Relaxation|Ontspanning bij tandheelkundige procedure|Emotional|Emotioneel
Dental Visit Confidence|Tandartsbezoek met vertrouwen|Emotional|Emotioneel
Orthodontic Procedure Relaxation|Ontspanning bij orthodontische procedure|Emotional|Emotioneel
Eye Examination Relaxation|Ontspanning bij oogonderzoek|Emotional|Emotioneel
Vision Test Relaxation|Ontspanning bij zichttest|Emotional|Emotioneel
Hearing Test Relaxation|Ontspanning bij gehoortest|Emotional|Emotioneel
Balance Test Relaxation|Ontspanning bij evenwichtstest|Emotional|Emotioneel
Pre-Surgery Relaxation|Ontspanning voor operatie|Emotional|Emotioneel
Pre-Procedure Relaxation|Ontspanning voor procedure|Emotional|Emotioneel
Preparing for Surgery|Voorbereiden op operatie|Emotional|Emotioneel
Calm Before Surgery|Rust voor operatie|Emotional|Emotioneel
Recovery Mindset Before Surgery|Herstelmindset voor operatie|Mental|Mentaal
Hospital Admission Calm|Rust bij ziekenhuisopname|Emotional|Emotioneel
Hospital Stay Relaxation|Ontspanning tijdens ziekenhuisverblijf|Emotional|Emotioneel
Day Clinic Relaxation|Ontspanning bij dagbehandeling|Emotional|Emotioneel
Waiting Room Calm|Rust in de wachtkamer|Emotional|Emotioneel
Waiting with Confidence|Wachten met vertrouwen|Emotional|Emotioneel
Medical Environment Comfort|Comfort in medische omgeving|Emotional|Emotioneel
White Coat Anxiety Support|Ondersteuning bij wittejassenspanning|Emotional|Emotioneel
Medical Anxiety Support|Ondersteuning bij medische spanning|Emotional|Emotioneel
Hospital Anxiety Support|Ondersteuning bij ziekenhuisspanning|Emotional|Emotioneel
Doctor Visit Confidence|Doktersbezoek met vertrouwen|Emotional|Emotioneel
Fear-Free Medical Visits|Medische bezoeken zonder angst|Emotional|Emotioneel
Medical Procedure Confidence|Vertrouwen bij medische procedure|Emotional|Emotioneel
Calm Under Medical Care|Rust onder medische zorg|Emotional|Emotioneel
Inner Safety During Care|Innerlijke veiligheid tijdens zorg|Emotional|Emotioneel
Release Medical Stress|Medische stress loslaten|Emotional|Emotioneel
Peace During Medical Care|Vrede tijdens medische zorg|Emotional|Emotioneel
Breathing for Medical Procedures|Ademhaling voor medische procedures|Physical|Fysiek
Calm Breathing|Kalme ademhaling|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Breathing Through the Procedure|Door de procedure heen ademen|Physical|Fysiek
Parasympathetic Relaxation|Parasympathische ontspanning|Physical|Fysiek
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Body Relaxation|Lichaamsontspanning|Physical|Fysiek
Gentle Relaxation|Zachte ontspanning|Physical|Fysiek
Safe Body Relaxation|Veilige lichaamsontspanning|Physical|Fysiek
Comfortable Stillness|Comfortabele stilte|Physical|Fysiek
Recovery After the Procedure|Herstel na de procedure|Physical|Fysiek
Post-Procedure Recovery|Herstel na procedure|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Gentle Recovery|Zacht herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Recovery After Sedation|Herstel na sedatie|Physical|Fysiek
Recovery After Anesthesia|Herstel na anesthesie|Physical|Fysiek
Positive Recovery Mindset|Positieve herstelmindset|Mental|Mentaal
Healing Mindset|Herstelgerichte mindset|Mental|Mentaal
Recovery Mindset|Herstelmindset|Mental|Mentaal
Mental Preparation|Mentale voorbereiding|Mental|Mentaal
Calm Focus|Kalme focus|Mental|Mentaal
Clear Mind|Heldere geest|Mental|Mentaal
Healthy Expectations|Gezonde verwachtingen|Mental|Mentaal
One Step at a Time|Een stap tegelijk|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Comfort During Recovery|Comfort tijdens herstel|Emotional|Emotioneel
Recovery with Confidence|Herstel met vertrouwen|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Finding Peace|Vrede vinden|Spiritual|Spiritueel
Trust the Process|Vertrouw het proces|Spiritual|Spiritueel
Acceptance & Calm|Acceptatie & rust|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Herstellend licht|Spiritual|Spiritueel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Mindful Recovery|Mindful herstel|Spiritual|Spiritueel
Body Awareness Meditation|Lichaamsbewustzijnsmeditatie|Spiritual|Spiritueel
Healing Presence|Herstellende aanwezigheid|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
Gratitude During Recovery|Dankbaarheid tijdens herstel|Spiritual|Spiritueel
Support for Family Members|Ondersteuning voor familieleden|Emotional|Emotioneel
Support for Caregivers|Ondersteuning voor mantelzorgers|Emotional|Emotioneel
Family Calm During Treatment|Gezinsrust tijdens behandeling|Emotional|Emotioneel
Together Through Care|Samen door zorg|Emotional|Emotioneel
Medical Wellness Protocol|Medisch welzijnsprotocol|Physical|Fysiek
Procedure Recovery Protocol|Procedureherstelprotocol|Physical|Fysiek
Recovery Journey|Herstelreis|Emotional|Emotioneel
The Medical Journey|Het medische traject|Emotional|Emotioneel
Comfort Every Step|Comfort bij elke stap|Emotional|Emotioneel
A Calm Medical Experience|Een kalme medische ervaring|Emotional|Emotioneel
Confident Through Care|Met vertrouwen door zorg|Emotional|Emotioneel
Healing Every Day|Elke dag herstellen|Emotional|Emotioneel
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Recovery Journey|Gezonde herstelreis|Physical|Fysiek
Moving Forward|Vooruit bewegen|Emotional|Emotioneel
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_DIAGNOSTIC_MEDICAL_PROCEDURE_SESSION_DEFINITIONS = RECOVERY_DIAGNOSTIC_MEDICAL_PROCEDURE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#38bdf8", "#60a5fa", "#14b8a6", "#a78bfa", "#64748b", "#22c55e", "#f472b6", "#facc15"];
  return {
    id: `recovery-diagnostic-medical-procedure-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 2) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    procedureBase: [5.0, 5.4, 5.8, 4.8, 6.2, 5.2, 6.6, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5500 + index
  };
});

const RECOVERY_MIND_BODY_MEDICINE_TITLE_PAIRS = `
Mind-Body Balance|Mind-body balans|Physical/Mental|Fysiek/Mentaal
Mind-Body Harmony|Mind-body harmonie|Spiritual|Spiritueel
Mind-Body Connection|Mind-body verbinding|Physical/Mental|Fysiek/Mentaal
Mind-Body Wellness|Mind-body welzijn|Physical|Fysiek
Mind-Body Healing|Mind-body herstel|Spiritual|Spiritueel
Mind-Body Recovery|Mind-body herstel|Physical|Fysiek
Mind-Body Integration|Mind-body integratie|Spiritual|Spiritueel
Whole Body Awareness|Bewustzijn van het hele lichaam|Spiritual|Spiritueel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Whole Person Healing|Herstel van de hele mens|Spiritual|Spiritueel
Body Awareness|Lichaamsbewustzijn|Mental|Mentaal
Embodied Awareness|Belichaamd gewaarzijn|Spiritual|Spiritueel
Mindful Body Awareness|Mindful lichaamsbewustzijn|Spiritual|Spiritueel
Reconnect with Your Body|Opnieuw verbinden met je lichaam|Emotional|Emotioneel
Listening to Your Body|Luisteren naar je lichaam|Spiritual|Spiritueel
Body Intelligence|Lichaamsintelligentie|Spiritual|Spiritueel
Body Wisdom|Lichaamswijsheid|Spiritual|Spiritueel
Inner Awareness|Innerlijk gewaarzijn|Spiritual|Spiritueel
Interoceptive Awareness|Interoceptief gewaarzijn|Mental|Mentaal
Body Scan Meditation|Bodyscanmeditatie|Spiritual|Spiritueel
The Relaxation Response|De ontspanningsrespons|Physical|Fysiek
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Profound Relaxation|Grondige ontspanning|Physical|Fysiek
Whole Body Relaxation|Ontspanning van het hele lichaam|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Deep Physical Relaxation|Diepe fysieke ontspanning|Physical|Fysiek
Complete Relaxation|Volledige ontspanning|Physical|Fysiek
Healing Relaxation|Herstellende ontspanning|Emotional|Emotioneel
Recovery Relaxation|Herstelontspanning|Physical|Fysiek
Relax into Healing|Ontspan in herstel|Spiritual|Spiritueel
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Autonomic Recovery|Autonoom herstel|Physical|Fysiek
Parasympathetic Activation|Parasympathische activatie|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Vagal Balance|Vagale balans|Physical|Fysiek
Neural Calm|Neurale rust|Physical|Fysiek
Healthy Nervous System|Gezond zenuwstelsel|Physical|Fysiek
Nervous System Reset|Zenuwstelselreset|Physical|Fysiek
Heart-Brain Harmony|Hart-brein harmonie|Physical/Mental|Fysiek/Mentaal
Heart-Brain Synchronization|Hart-brein synchronisatie|Physical/Mental|Fysiek/Mentaal
Heart Coherence|Hartcoherentie|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Heart Rhythm Balance|Hartritmebalans|Physical|Fysiek
Breath & Body Balance|Adem- & lichaamsbalans|Physical|Fysiek
Breathing into Balance|Ademen naar balans|Physical|Fysiek
Breath of Life|Levensadem|Spiritual|Spiritueel
Mindful Breathing|Mindful ademhaling|Spiritual|Spiritueel
Balanced Breathing|Gebalanceerde ademhaling|Physical|Fysiek
Stress Recovery|Stressherstel|Emotional|Emotioneel
Stress Resilience|Stressveerkracht|Mental|Mentaal
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Regulation|Emotionele regulatie|Emotional|Emotioneel
Emotional Harmony|Emotionele harmonie|Emotional|Emotioneel
Calm Emotions|Kalme emoties|Emotional|Emotioneel
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Emotional Freedom|Emotionele vrijheid|Emotional|Emotioneel
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Body-Mind Recovery|Lichaam-geest herstel|Physical/Mental|Fysiek/Mentaal
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Healing from Within|Herstel van binnenuit|Spiritual|Spiritueel
Inner Healing|Innerlijk herstel|Spiritual|Spiritueel
Healing Presence|Herstellende aanwezigheid|Spiritual|Spiritueel
Healing Journey|Herstelreis|Spiritual|Spiritueel
Recovery Journey|Herstelreis|Emotional|Emotioneel
Restore Balance|Herstel balans|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Healthy Immune Balance|Gezonde immuunbalans|Physical|Fysiek
Mind-Body Immunity|Mind-body immuniteit|Physical|Fysiek
Healthy Inflammatory Balance|Gezonde ontstekingsbalans|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Recovery|Cellulair herstel|Physical|Fysiek
Healthy Energy Balance|Gezonde energiebalans|Physical|Fysiek
Mind-Body Vitality|Mind-body vitaliteit|Physical|Fysiek
Healthy Aging from Within|Gezond ouder worden van binnenuit|Physical|Fysiek
Gut-Brain Harmony|Darm-brein harmonie|Physical/Mental|Fysiek/Mentaal
Digestive Calm|Spijsverteringsrust|Physical|Fysiek
Healthy Gut-Brain Connection|Gezonde darm-brein verbinding|Physical/Mental|Fysiek/Mentaal
Brain-Body Communication|Brein-lichaam communicatie|Mental|Mentaal
Mind-Gut Balance|Geest-darm balans|Mental|Mentaal
Pain Resilience|Pijnveerkracht|Emotional|Emotioneel
Comfort Through Relaxation|Comfort door ontspanning|Emotional|Emotioneel
Living Comfortably|Comfortabel leven|Emotional|Emotioneel
Mindful Comfort|Mindful comfort|Spiritual|Spiritueel
Comfort in Your Body|Comfort in je lichaam|Emotional|Emotioneel
Gentle Recovery|Zacht herstel|Physical|Fysiek
Living Beyond Pain|Leven voorbij pijn|Emotional|Emotioneel
Sleep & Recovery|Slaap & herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Sleep for Wellness|Slaap voor welzijn|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Restore Through Sleep|Herstel via slaap|Physical|Fysiek
Mental Clarity|Mentale helderheid|Mental|Mentaal
Clear Mind|Heldere geest|Mental|Mentaal
Calm Mind|Kalme geest|Mental|Mentaal
Focused Mind|Gefocuste geest|Mental|Mentaal
Mind Renewal|Mentale vernieuwing|Mental|Mentaal
Mental Recovery|Mentaal herstel|Mental|Mentaal
Mental Flexibility|Mentale flexibiliteit|Mental|Mentaal
Adaptive Thinking|Adaptief denken|Mental|Mentaal
Balanced Thinking|Gebalanceerd denken|Mental|Mentaal
Resilient Mind|Veerkrachtige geest|Mental|Mentaal
Mindfulness Practice|Mindfulnessbeoefening|Spiritual|Spiritueel
Mindfulness Meditation|Mindfulnessmeditatie|Spiritual|Spiritueel
Present Moment Awareness|Gewaarzijn van het huidige moment|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
Acceptance & Awareness|Acceptatie & gewaarzijn|Spiritual|Spiritueel
Inner Stillness|Innerlijke stilte|Spiritual|Spiritueel
Sacred Silence|Heilige stilte|Spiritual|Spiritueel
The Quiet Mind|De stille geest|Spiritual|Spiritueel
Inner Sanctuary|Innerlijk toevluchtsoord|Spiritual|Spiritueel
Deep Presence|Diepe aanwezigheid|Spiritual|Spiritueel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Forgiveness|Vergeving|Spiritual|Spiritueel
Gratitude Practice|Dankbaarheidsoefening|Spiritual|Spiritueel
Loving Kindness|Liefdevolle vriendelijkheid|Spiritual|Spiritueel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Resilience Through Compassion|Veerkracht door compassie|Emotional|Emotioneel
Trust Your Body|Vertrouw je lichaam|Emotional|Emotioneel
Confidence in Recovery|Vertrouwen in herstel|Emotional|Emotioneel
Body Acceptance|Lichaamsacceptatie|Emotional|Emotioneel
Nature Healing|Natuurherstel|Spiritual|Spiritueel
Forest Healing|Bosherstel|Spiritual|Spiritueel
Ocean Calm|Oceaanrust|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Rooted in Nature|Geworteld in de natuur|Spiritual|Spiritueel
Nature Connection|Natuurverbinding|Spiritual|Spiritueel
Harmony with Nature|Harmonie met de natuur|Spiritual|Spiritueel
The Mind-Body Connection|De mind-body verbinding|Spiritual|Spiritueel
The Healing Mind|De herstellende geest|Spiritual|Spiritueel
The Healing Body|Het herstellende lichaam|Spiritual|Spiritueel
Healing from Within|Herstel van binnenuit|Spiritual|Spiritueel
Body & Mind Synchrony|Lichaam & geest synchronie|Spiritual|Spiritueel
Integrated Wellness|Geïntegreerd welzijn|Spiritual|Spiritueel
Optimal Self-Regulation|Optimale zelfregulatie|Physical/Mental|Fysiek/Mentaal
Self-Regulation Practice|Zelfregulatieoefening|Mental|Mentaal
Whole System Balance|Balans van het hele systeem|Physical/Mental|Fysiek/Mentaal
Optimal Balance|Optimale balans|Physical/Mental|Fysiek/Mentaal
Healthy Daily Rhythm|Gezond dagritme|Physical|Fysiek
Circadian Balance|Circadiane balans|Physical|Fysiek
Balanced Lifestyle|Gebalanceerde leefstijl|Spiritual|Spiritueel
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
Healthy Routine|Gezonde routine|Mental|Mentaal
Everyday Vitality|Dagelijkse vitaliteit|Physical|Fysiek
The Wellness Journey|De welzijnsreis|Spiritual|Spiritueel
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Live in Harmony|Leef in harmonie|Spiritual|Spiritueel
Positive Recovery Mindset|Positieve herstelmindset|Mental|Mentaal
Healing Mindset|Herstelgerichte mindset|Mental|Mentaal
Growth Mindset|Groeimindset|Mental|Mentaal
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Positive Change|Positieve verandering|Mental|Mentaal
Transform from Within|Transformeer van binnenuit|Spiritual|Spiritueel
Personal Transformation|Persoonlijke transformatie|Spiritual|Spiritueel
Conscious Living|Bewust leven|Spiritual|Spiritueel
Intentional Living|Intentioneel leven|Spiritual|Spiritueel
Live with Purpose|Leef met betekenis|Spiritual|Spiritueel
Mind-Body Performance|Mind-body prestatie|Physical/Mental|Fysiek/Mentaal
Optimal Human Function|Optimaal menselijk functioneren|Physical/Mental|Fysiek/Mentaal
Peak Wellness|Piekwelzijn|Physical/Mental|Fysiek/Mentaal
Body-Mind Optimization|Lichaam-geest optimalisatie|Physical/Mental|Fysiek/Mentaal
Healthy Human Performance|Gezonde menselijke prestatie|Physical/Mental|Fysiek/Mentaal
The Balanced Human|De gebalanceerde mens|Spiritual|Spiritueel
Living Well|Goed leven|Emotional|Emotioneel
Whole Life Wellness|Welzijn voor het hele leven|Spiritual|Spiritueel
Harmony Within|Harmonie van binnen|Spiritual|Spiritueel
The Integrated Self|Het geïntegreerde zelf|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_MIND_BODY_MEDICINE_SESSION_DEFINITIONS = RECOVERY_MIND_BODY_MEDICINE_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#14b8a6", "#a78bfa", "#22c55e", "#60a5fa", "#f472b6", "#38bdf8", "#84cc16", "#facc15"];
  return {
    id: `recovery-mind-body-medicine-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    mindBodyBase: [5.2, 5.8, 6.2, 4.8, 6.6, 5.4, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5600 + index
  };
});

const RECOVERY_INTEGRATIVE_HEALTH_TITLE_PAIRS = `
Integrative Health|Integratieve gezondheid|Physical|Fysiek
Integrative Wellness|Integratief welzijn|Physical|Fysiek
Whole Health|Volledige gezondheid|Physical|Fysiek
Whole Person Health|Gezondheid van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Integrated Wellness|Geïntegreerd welzijn|Physical|Fysiek
Integrated Health|Geïntegreerde gezondheid|Physical|Fysiek
Integrated Recovery|Geïntegreerd herstel|Physical|Fysiek
Complete Well-Being|Compleet welzijn|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Balanced Health|Gebalanceerde gezondheid|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Optimal Health|Optimale gezondheid|Physical|Fysiek
Optimal Wellness|Optimaal welzijn|Physical|Fysiek
Healthy Living|Gezond leven|Physical|Fysiek
Healthy Lifestyle|Gezonde leefstijl|Physical|Fysiek
Everyday Wellness|Dagelijks welzijn|Physical|Fysiek
Daily Well-Being|Dagelijks welbevinden|Physical|Fysiek
Healthy Life Balance|Gezonde levensbalans|Spiritual|Spiritueel
Vital Living|Vitaal leven|Physical|Fysiek
Live Well Every Day|Elke dag goed leven|Physical|Fysiek
Mind-Body Wellness|Mind-body welzijn|Physical/Mental|Fysiek/Mentaal
Mind-Body Balance|Mind-body balans|Physical/Mental|Fysiek/Mentaal
Mind-Body Harmony|Mind-body harmonie|Spiritual|Spiritueel
Mind-Body Integration|Mind-body integratie|Spiritual|Spiritueel
Whole Body Balance|Balans van het hele lichaam|Physical|Fysiek
Whole Body Harmony|Harmonie van het hele lichaam|Spiritual|Spiritueel
Whole Body Vitality|Vitaliteit van het hele lichaam|Physical|Fysiek
Whole System Balance|Balans van het hele systeem|Physical/Mental|Fysiek/Mentaal
Integrated Mind & Body|Geïntegreerde geest & lichaam|Spiritual|Spiritueel
Body-Mind Awareness|Lichaam-geest bewustzijn|Spiritual|Spiritueel
Healthy Nervous System|Gezond zenuwstelsel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Wellness|Nervus vagus welzijn|Physical|Fysiek
Heart-Brain Balance|Hart-brein balans|Physical/Mental|Fysiek/Mentaal
Heart Coherence|Hartcoherentie|Physical|Fysiek
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Healthy Breathing|Gezonde ademhaling|Physical|Fysiek
Breathing for Wellness|Ademhaling voor welzijn|Physical|Fysiek
The Relaxation Response|De ontspanningsrespons|Physical|Fysiek
Stress Resilience|Stressveerkracht|Mental|Mentaal
Stress Recovery|Stressherstel|Emotional|Emotioneel
Emotional Wellness|Emotioneel welzijn|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Harmony|Emotionele harmonie|Emotional|Emotioneel
Mental Clarity|Mentale helderheid|Mental|Mentaal
Mental Wellness|Mentaal welzijn|Mental|Mentaal
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Resilient Living|Veerkrachtig leven|Emotional|Emotioneel
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Recovery & Well-Being|Herstel & welbevinden|Physical|Fysiek
Restore Balance|Herstel balans|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Body Restoration|Lichaamsherstel|Physical|Fysiek
Cellular Wellness|Cellulair welzijn|Physical|Fysiek
Cellular Vitality|Cellulaire vitaliteit|Physical|Fysiek
Healthy Energy|Gezonde energie|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Healthy Aging|Gezond ouder worden|Physical|Fysiek
Sleep & Recovery|Slaap & herstel|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Healthy Circadian Rhythm|Gezond circadiaan ritme|Physical|Fysiek
Evening Renewal|Avondvernieuwing|Physical|Fysiek
Morning Vitality|Ochtendvitaliteit|Physical|Fysiek
Wake Refreshed|Verfrist ontwaken|Physical|Fysiek
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Healthy Nutrition Mindset|Gezonde voedingsmindset|Mental|Mentaal
Mindful Eating|Mindful eten|Mental|Mentaal
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Lifestyle Balance|Leefstijlbalans|Physical|Fysiek
Lifestyle Reset|Leefstijlreset|Physical|Fysiek
Healthy Choices|Gezonde keuzes|Mental|Mentaal
Healthy Routine|Gezonde routine|Mental|Mentaal
Self-Care Practice|Zelfzorgbeoefening|Emotional|Emotioneel
Wellness Routine|Welzijnsroutine|Physical|Fysiek
Healthy Daily Rituals|Gezonde dagelijkse rituelen|Mental|Mentaal
Move with Joy|Beweeg met plezier|Physical|Fysiek
Healthy Movement|Gezonde beweging|Physical|Fysiek
Body Awareness|Lichaamsbewustzijn|Physical|Fysiek
Movement & Wellness|Beweging & welzijn|Physical|Fysiek
Physical Vitality|Fysieke vitaliteit|Physical|Fysiek
Functional Wellness|Functioneel welzijn|Physical|Fysiek
Move Every Day|Beweeg elke dag|Physical|Fysiek
Healthy Mobility|Gezonde mobiliteit|Physical|Fysiek
Mindfulness Practice|Mindfulnessbeoefening|Spiritual|Spiritueel
Mindfulness Meditation|Mindfulnessmeditatie|Spiritual|Spiritueel
Present Moment Awareness|Gewaarzijn van het huidige moment|Spiritual|Spiritueel
Living in the Present|Leven in het nu|Spiritual|Spiritueel
Acceptance & Awareness|Acceptatie & gewaarzijn|Spiritual|Spiritueel
Deep Presence|Diepe aanwezigheid|Spiritual|Spiritueel
Inner Stillness|Innerlijke stilte|Spiritual|Spiritueel
Sacred Silence|Heilige stilte|Spiritual|Spiritueel
Living with Intention|Leven met intentie|Spiritual|Spiritueel
Conscious Living|Bewust leven|Spiritual|Spiritueel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Gratitude Practice|Dankbaarheidsoefening|Spiritual|Spiritueel
Loving Kindness|Liefdevolle vriendelijkheid|Spiritual|Spiritueel
Forgiveness|Vergeving|Spiritual|Spiritueel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Joy & Gratitude|Vreugde & dankbaarheid|Spiritual|Spiritueel
Positive Outlook|Positieve blik|Emotional|Emotioneel
Meaningful Living|Betekenisvol leven|Spiritual|Spiritueel
Purpose & Well-Being|Betekenis & welbevinden|Spiritual|Spiritueel
Nature Healing|Natuurherstel|Spiritual|Spiritueel
Forest Wellness|Boswelzijn|Spiritual|Spiritueel
Ocean Calm|Oceaanrust|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Harmony with Nature|Harmonie met de natuur|Spiritual|Spiritueel
Nature Connection|Natuurverbinding|Spiritual|Spiritueel
Earth Connection|Aardeverbinding|Spiritual|Spiritueel
Healing Through Nature|Herstel door natuur|Spiritual|Spiritueel
Natural Balance|Natuurlijke balans|Spiritual|Spiritueel
Return to Nature|Terug naar de natuur|Spiritual|Spiritueel
Brain Wellness|Breinwelzijn|Mental|Mentaal
Brain Vitality|Breinvitaliteit|Mental|Mentaal
Cognitive Wellness|Cognitief welzijn|Mental|Mentaal
Neuroplasticity Support|Ondersteuning van neuroplasticiteit|Mental|Mentaal
Healthy Brain Aging|Gezond ouder wordend brein|Mental|Mentaal
Brain Recovery|Breinherstel|Mental|Mentaal
Brain Balance|Breinbalans|Mental|Mentaal
Healthy Focus|Gezonde focus|Mental|Mentaal
Mental Performance|Mentale prestatie|Mental|Mentaal
Cognitive Resilience|Cognitieve veerkracht|Mental|Mentaal
Immune Wellness|Immuunwelzijn|Physical|Fysiek
Digestive Wellness|Spijsverteringswelzijn|Physical|Fysiek
Heart Wellness|Hartwelzijn|Physical|Fysiek
Respiratory Wellness|Ademhalingswelzijn|Physical|Fysiek
Hormonal Wellness|Hormonaal welzijn|Physical|Fysiek
Healthy Metabolism|Gezonde stofwisseling|Physical|Fysiek
Healthy Circulation|Gezonde circulatie|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Healthy Body Systems|Gezonde lichaamssystemen|Physical|Fysiek
Optimal Body Function|Optimale lichaamsfunctie|Physical|Fysiek
Healthy Relationships|Gezonde relaties|Emotional|Emotioneel
Social Wellness|Sociaal welzijn|Emotional|Emotioneel
Connection & Belonging|Verbinding & erbij horen|Emotional|Emotioneel
Family Wellness|Gezinswelzijn|Emotional|Emotioneel
Community & Connection|Gemeenschap & verbinding|Emotional|Emotioneel
Healthy Boundaries|Gezonde grenzen|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Compassionate Living|Compassievol leven|Spiritual|Spiritueel
Personal Growth|Persoonlijke groei|Spiritual|Spiritueel
Personal Transformation|Persoonlijke transformatie|Spiritual|Spiritueel
Unlock Your Potential|Ontgrendel je potentieel|Mental|Mentaal
Inner Wisdom|Innerlijke wijsheid|Spiritual|Spiritueel
The Authentic Self|Het authentieke zelf|Spiritual|Spiritueel
Growth Mindset|Groeimindset|Mental|Mentaal
Life Balance|Levensbalans|Spiritual|Spiritueel
Thrive Every Day|Elke dag floreren|Emotional|Emotioneel
Live with Purpose|Leef met betekenis|Spiritual|Spiritueel
Flourish|Floreer|Spiritual|Spiritueel
Healthy Recovery Protocol|Gezond herstelprotocol|Physical|Fysiek
The Wellness Protocol|Het welzijnsprotocol|Physical|Fysiek
The Integrative Wellness Journey|De integratieve welzijnsreis|Spiritual|Spiritueel
The Balanced Life|Het gebalanceerde leven|Spiritual|Spiritueel
The Healthy Mind & Body|De gezonde geest & het gezonde lichaam|Spiritual|Spiritueel
Optimal Human Wellness|Optimaal menselijk welzijn|Physical/Mental|Fysiek/Mentaal
Harmony Within|Harmonie van binnen|Spiritual|Spiritueel
Living Well Naturally|Natuurlijk goed leven|Physical|Fysiek
Everyday Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Your Wellness Journey|Jouw welzijnsreis|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_INTEGRATIVE_HEALTH_SESSION_DEFINITIONS = RECOVERY_INTEGRATIVE_HEALTH_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#22c55e", "#14b8a6", "#60a5fa", "#a78bfa", "#f472b6", "#38bdf8", "#84cc16", "#facc15"];
  return {
    id: `recovery-integrative-health-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    integrativeBase: [5.4, 5.8, 6.2, 4.8, 6.6, 5.2, 7.0, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5700 + index
  };
});

const RECOVERY_CAREGIVER_SUPPORT_TITLE_PAIRS = `
Caregiver Support|Mantelzorgondersteuning|Emotional|Emotioneel
Caregiver Wellness|Mantelzorgwelzijn|Emotional|Emotioneel
Caregiver Recovery|Herstel voor mantelzorgers|Emotional|Emotioneel
Caregiver Well-Being|Welbevinden voor mantelzorgers|Emotional|Emotioneel
Healthy Caregiving|Gezond zorgen|Emotional|Emotioneel
Balanced Caregiving|Gebalanceerd zorgen|Emotional|Emotioneel
Thriving as a Caregiver|Floreren als mantelzorger|Emotional|Emotioneel
The Resilient Caregiver|De veerkrachtige mantelzorger|Emotional|Emotioneel
The Compassionate Caregiver|De compassievolle mantelzorger|Emotional|Emotioneel
Everyday Caregiver Support|Dagelijkse mantelzorgondersteuning|Emotional|Emotioneel
Daily Recovery|Dagelijks herstel|Physical|Fysiek
Recovery & Recharge|Herstel & opladen|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Recovery After a Long Day|Herstel na een lange dag|Physical|Fysiek
Recharge Between Caregiving|Opladen tussen zorgmomenten|Physical|Fysiek
Healthy Energy Balance|Gezonde energiebalans|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Emotional Renewal|Emotionele vernieuwing|Emotional|Emotioneel
Emotional Strength|Emotionele kracht|Emotional|Emotioneel
Compassion Fatigue Recovery|Herstel bij compassiemoeheid|Emotional|Emotioneel
Prevent Caregiver Burnout|Mantelzorgburn-out helpen voorkomen|Emotional|Emotioneel
Burnout Recovery Support|Ondersteuning bij burn-outherstel|Emotional|Emotioneel
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Gentle Emotional Healing|Zacht emotioneel herstel|Emotional|Emotioneel
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Calm Under Pressure|Kalm onder druk|Mental|Mentaal
Peace in Challenging Times|Vrede in uitdagende tijden|Spiritual|Spiritueel
Comfort During Difficult Moments|Comfort tijdens moeilijke momenten|Emotional|Emotioneel
Finding Balance|Balans vinden|Spiritual|Spiritueel
Staying Centered|Gecentreerd blijven|Spiritual|Spiritueel
Calm Through Uncertainty|Rust door onzekerheid heen|Emotional|Emotioneel
One Day at a Time|Een dag tegelijk|Emotional|Emotioneel
Small Moments of Peace|Kleine momenten van rust|Emotional|Emotioneel
Stress Recovery|Stressherstel|Emotional|Emotioneel
Stress Relief|Stressverlichting|Emotional|Emotioneel
Deep Relaxation|Diepe ontspanning|Physical|Fysiek
Whole Body Relaxation|Ontspanning van het hele lichaam|Physical|Fysiek
Progressive Relaxation|Progressieve ontspanning|Physical|Fysiek
Relax & Recharge|Ontspan & laad op|Physical|Fysiek
The Relaxation Response|De ontspanningsrespons|Physical|Fysiek
Recovery Through Relaxation|Herstel door ontspanning|Physical|Fysiek
Release Daily Stress|Dagelijkse stress loslaten|Emotional|Emotioneel
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Heart-Brain Harmony|Hart-brein harmonie|Physical/Mental|Fysiek/Mentaal
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Breathing for Calm|Ademhaling voor rust|Physical|Fysiek
Breathing for Recovery|Ademhaling voor herstel|Physical|Fysiek
Grounded Breathing|Gegronde ademhaling|Physical|Fysiek
Heart-Centered Calm|Hartgerichte rust|Spiritual|Spiritueel
Sleep Recovery|Slaapherstel|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Evening Recovery|Avondherstel|Physical|Fysiek
Nighttime Calm|Nachtelijke rust|Emotional|Emotioneel
Quiet Mind Before Sleep|Stille geest voor het slapen|Mental|Mentaal
Rest Well Tonight|Rust goed vannacht|Physical|Fysiek
Recharge Overnight|Opladen tijdens de nacht|Physical|Fysiek
Healthy Sleep Habits|Gezonde slaapgewoonten|Physical|Fysiek
Mental Recovery|Mentaal herstel|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Quiet the Mind|Maak de geest stil|Mental|Mentaal
Mental Reset|Mentale reset|Mental|Mentaal
Focused & Calm|Gefocust & kalm|Mental|Mentaal
Healthy Boundaries|Gezonde grenzen|Emotional|Emotioneel
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Positive Recovery Mindset|Positieve herstelmindset|Mental|Mentaal
Healthy Perspective|Gezond perspectief|Mental|Mentaal
Release Mental Overload|Mentale overbelasting loslaten|Mental|Mentaal
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Finding Hope|Hoop vinden|Emotional|Emotioneel
Finding Strength|Kracht vinden|Emotional|Emotioneel
Strength for Today|Kracht voor vandaag|Emotional|Emotioneel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Quiet Courage|Stille moed|Emotional|Emotioneel
Everyday Courage|Dagelijkse moed|Emotional|Emotioneel
Resilient Heart|Veerkrachtig hart|Emotional|Emotioneel
Gentle Strength|Zachte kracht|Emotional|Emotioneel
Strong Through Compassion|Sterk door compassie|Emotional|Emotioneel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Self-Care Matters|Zelfzorg doet ertoe|Emotional|Emotioneel
Time for Yourself|Tijd voor jezelf|Emotional|Emotioneel
Permission to Rest|Toestemming om te rusten|Emotional|Emotioneel
Nurture Yourself|Voed jezelf|Emotional|Emotioneel
Restore Yourself|Herstel jezelf|Emotional|Emotioneel
Caring for the Caregiver|Zorg voor de mantelzorger|Emotional|Emotioneel
You Matter Too|Jij doet er ook toe|Emotional|Emotioneel
Take Care of Yourself|Zorg voor jezelf|Emotional|Emotioneel
Healthy Boundaries|Gezonde grenzen|Emotional|Emotioneel
Let Go of Guilt|Schuldgevoel loslaten|Emotional|Emotioneel
Release Perfectionism|Perfectionisme loslaten|Mental|Mentaal
Accepting Help|Hulp accepteren|Emotional|Emotioneel
Healthy Expectations|Gezonde verwachtingen|Mental|Mentaal
Balance Giving & Receiving|Balans tussen geven & ontvangen|Emotional|Emotioneel
Giving Without Losing Yourself|Geven zonder jezelf te verliezen|Emotional|Emotioneel
Finding Your Balance|Je balans vinden|Spiritual|Spiritueel
Healthy Priorities|Gezonde prioriteiten|Mental|Mentaal
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Mindfulness for Caregivers|Mindfulness voor mantelzorgers|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Gratitude Practice|Dankbaarheidsoefening|Spiritual|Spiritueel
Loving Kindness Meditation|Liefdevolle-vriendelijkheidsmeditatie|Spiritual|Spiritueel
Compassion Meditation|Compassiemeditatie|Spiritual|Spiritueel
Inner Sanctuary|Innerlijk toevluchtsoord|Spiritual|Spiritueel
Safe Place Meditation|Veilige-plek meditatie|Spiritual|Spiritueel
Healing Presence|Herstellende aanwezigheid|Spiritual|Spiritueel
Peaceful Presence|Vredige aanwezigheid|Spiritual|Spiritueel
Caring with Love|Zorgen met liefde|Emotional|Emotioneel
Loving Presence|Liefdevolle aanwezigheid|Spiritual|Spiritueel
Being Present|Aanwezig zijn|Spiritual|Spiritueel
Family Strength|Gezinskracht|Emotional|Emotioneel
Supporting a Loved One|Een dierbare ondersteunen|Emotional|Emotioneel
Walking Together|Samen lopen|Emotional|Emotioneel
Journey Together|Samen op reis|Emotional|Emotioneel
Hope Together|Samen hopen|Emotional|Emotioneel
Family Resilience|Gezinsveerkracht|Emotional|Emotioneel
Connected Through Care|Verbonden door zorg|Emotional|Emotioneel
Dementia Caregiver Support|Mantelzorgondersteuning bij dementie|Emotional|Emotioneel
Alzheimer Caregiver Support|Mantelzorgondersteuning bij Alzheimer|Emotional|Emotioneel
Parkinson Caregiver Support|Mantelzorgondersteuning bij Parkinson|Emotional|Emotioneel
Cancer Caregiver Support|Mantelzorgondersteuning bij kanker|Emotional|Emotioneel
Palliative Caregiver Support|Mantelzorgondersteuning bij palliatieve zorg|Emotional|Emotioneel
Autism Caregiver Support|Mantelzorgondersteuning bij autisme|Emotional|Emotioneel
Special Needs Parenting Support|Ondersteuning voor ouders bij speciale behoeften|Emotional|Emotioneel
Chronic Illness Caregiver Support|Mantelzorgondersteuning bij chronische ziekte|Emotional|Emotioneel
Young Caregiver Support|Ondersteuning voor jonge mantelzorgers|Emotional|Emotioneel
Sandwich Generation Support|Ondersteuning voor de sandwichgeneratie|Emotional|Emotioneel
Professional Caregiver Recovery|Herstel voor professionele zorgverleners|Emotional|Emotioneel
Healthcare Worker Recovery|Herstel voor zorgmedewerkers|Emotional|Emotioneel
Nurse Recovery|Herstel voor verpleegkundigen|Emotional|Emotioneel
Physician Recovery|Herstel voor artsen|Emotional|Emotioneel
Therapist Self-Care|Zelfzorg voor therapeuten|Emotional|Emotioneel
Social Worker Recovery|Herstel voor sociaal werkers|Emotional|Emotioneel
Compassionate Professional|Compassievolle professional|Emotional|Emotioneel
Prevent Professional Burnout|Professionele burn-out helpen voorkomen|Emotional|Emotioneel
Healthcare Resilience|Veerkracht in de zorg|Emotional|Emotioneel
Care Team Wellness|Welzijn van het zorgteam|Emotional|Emotioneel
The Caregiver's Journey|De reis van de mantelzorger|Emotional|Emotioneel
The Gift of Caring|Het geschenk van zorgen|Spiritual|Spiritueel
Love in Action|Liefde in actie|Spiritual|Spiritueel
Compassion Without Exhaustion|Compassie zonder uitputting|Emotional|Emotioneel
The Calm Caregiver|De kalme mantelzorger|Emotional|Emotioneel
The Balanced Caregiver|De gebalanceerde mantelzorger|Emotional|Emotioneel
Everyday Resilience|Dagelijkse veerkracht|Emotional|Emotioneel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
Keep Your Light Shining|Laat je licht blijven schijnen|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, titleEnRaw: titleEn, title, labelEn, label };
});

const RECOVERY_CAREGIVER_SUPPORT_SESSION_DEFINITIONS = RECOVERY_CAREGIVER_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#f472b6", "#a78bfa", "#14b8a6", "#60a5fa", "#22c55e", "#38bdf8", "#84cc16", "#facc15"];
  return {
    id: `recovery-caregiver-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    caregiverBase: [5.0, 5.4, 5.8, 4.8, 6.2, 5.2, 6.6, 5.6, 6.0, 4.6, 6.4, 5.0][index % 12],
    style: 5800 + index
  };
});

const RECOVERY_CHRONIC_ILLNESS_TITLE_PAIRS = `
Chronic Illness Support|Ondersteuning bij chronische ziekte|Physical|Fysiek
Living Well with Chronic Illness|Goed leven met chronische ziekte|Emotional|Emotioneel
Living Beyond Your Diagnosis|Leven voorbij je diagnose|Emotional|Emotioneel
Living with Confidence|Leven met vertrouwen|Emotional|Emotioneel
Living with Strength|Leven met kracht|Emotional|Emotioneel
Living with Resilience|Leven met veerkracht|Emotional|Emotioneel
Whole Person Wellness|Welzijn van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Whole Person Recovery|Herstel van de hele mens|Physical/Mental/Emotional|Fysiek/Mentaal/Emotioneel
Everyday Wellness|Dagelijks welzijn|Physical|Fysiek
Healthy Daily Living|Gezond dagelijks leven|Physical|Fysiek
Balanced Living|Gebalanceerd leven|Spiritual|Spiritueel
Healthy Life Balance|Gezonde levensbalans|Spiritual|Spiritueel
Daily Well-Being|Dagelijks welbevinden|Physical|Fysiek
Optimal Well-Being|Optimaal welbevinden|Physical|Fysiek
Vital Living|Vitaal leven|Physical|Fysiek
Healthy Future|Gezonde toekomst|Emotional|Emotioneel
Wellness Every Day|Elke dag welzijn|Physical|Fysiek
Hope Every Day|Elke dag hoop|Emotional|Emotioneel
A Better Tomorrow|Een betere morgen|Emotional|Emotioneel
Thrive Despite Challenges|Floreren ondanks uitdagingen|Emotional|Emotioneel
Daily Energy Balance|Dagelijkse energiebalans|Physical|Fysiek
Energy Recovery|Energieherstel|Physical|Fysiek
Gentle Energy|Zachte energie|Physical|Fysiek
Natural Vitality|Natuurlijke vitaliteit|Physical|Fysiek
Fatigue Recovery|Herstel van vermoeidheid|Physical|Fysiek
Persistent Fatigue Support|Ondersteuning bij aanhoudende vermoeidheid|Physical|Fysiek
Daily Vitality|Dagelijkse vitaliteit|Physical|Fysiek
Recharge Your Body|Laad je lichaam op|Physical|Fysiek
Restore Your Energy|Herstel je energie|Physical|Fysiek
Recovery & Renewal|Herstel & vernieuwing|Physical|Fysiek
Deep Recovery|Diep herstel|Physical|Fysiek
Whole Body Recovery|Herstel van het hele lichaam|Physical|Fysiek
Restore Vitality|Herstel vitaliteit|Physical|Fysiek
Recovery & Resilience|Herstel & veerkracht|Physical/Mental|Fysiek/Mentaal
Healthy Sleep Support|Ondersteuning voor gezonde slaap|Physical|Fysiek
Recovery Through Sleep|Herstel via slaap|Physical|Fysiek
Deep Rest|Diepe rust|Physical|Fysiek
Restorative Sleep|Herstellende slaap|Physical|Fysiek
Night Recovery|Nachtelijk herstel|Physical|Fysiek
Evening Recovery|Avondherstel|Physical|Fysiek
Quiet Nights|Rustige nachten|Emotional|Emotioneel
Peaceful Sleep|Vredige slaap|Physical|Fysiek
Sleep for Wellness|Slaap voor welzijn|Physical|Fysiek
Sleep & Recovery|Slaap & herstel|Physical|Fysiek
Pain Comfort Support|Ondersteuning voor pijncomfort|Physical|Fysiek
Comfort Through Relaxation|Comfort door ontspanning|Emotional|Emotioneel
Body Comfort|Lichaamscomfort|Physical|Fysiek
Gentle Comfort|Zacht comfort|Physical|Fysiek
Living Comfortably|Comfortabel leven|Emotional|Emotioneel
Physical Comfort|Fysiek comfort|Physical|Fysiek
Whole Body Comfort|Comfort voor het hele lichaam|Physical|Fysiek
Comfort Every Day|Elke dag comfort|Emotional|Emotioneel
Recovery from Physical Stress|Herstel van fysieke stress|Physical|Fysiek
Gentle Body Relaxation|Zachte lichaamsontspanning|Physical|Fysiek
Stress Recovery|Stressherstel|Emotional|Emotioneel
Stress Relief|Stressverlichting|Emotional|Emotioneel
Emotional Balance|Emotionele balans|Emotional|Emotioneel
Emotional Recovery|Emotioneel herstel|Emotional|Emotioneel
Emotional Resilience|Emotionele veerkracht|Emotional|Emotioneel
Inner Calm|Innerlijke rust|Emotional|Emotioneel
Inner Peace|Innerlijke vrede|Spiritual|Spiritueel
Peace of Mind|Gemoedsrust|Emotional|Emotioneel
Release Emotional Tension|Emotionele spanning loslaten|Emotional|Emotioneel
Emotional Harmony|Emotionele harmonie|Emotional|Emotioneel
Resilience Under Pressure|Veerkracht onder druk|Emotional|Emotioneel
Hope & Healing|Hoop & herstel|Emotional|Emotioneel
Finding Hope|Hoop vinden|Emotional|Emotioneel
Finding Strength|Kracht vinden|Emotional|Emotioneel
Quiet Courage|Stille moed|Emotional|Emotioneel
One Day at a Time|Een dag tegelijk|Emotional|Emotioneel
Small Steps Forward|Kleine stappen vooruit|Emotional|Emotioneel
Celebrate Progress|Vooruitgang vieren|Emotional|Emotioneel
Living with Hope|Leven met hoop|Emotional|Emotioneel
Growing Through Challenges|Groeien door uitdagingen|Emotional|Emotioneel
Mental Clarity|Mentale helderheid|Mental|Mentaal
Clear Mind|Heldere geest|Mental|Mentaal
Brain Fog Recovery|Herstel bij brain fog|Mental|Mentaal
Mental Recovery|Mentaal herstel|Mental|Mentaal
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Focused Mind|Gefocuste geest|Mental|Mentaal
Healthy Perspective|Gezond perspectief|Mental|Mentaal
Positive Recovery Mindset|Positieve herstelmindset|Mental|Mentaal
Healing Mindset|Herstelgerichte mindset|Mental|Mentaal
Acceptance Mindset|Acceptatiemindset|Mental|Mentaal
Adaptability|Aanpassingsvermogen|Mental|Mentaal
Mental Flexibility|Mentale flexibiliteit|Mental|Mentaal
Healthy Expectations|Gezonde verwachtingen|Mental|Mentaal
Confidence in Recovery|Vertrouwen in herstel|Emotional|Emotioneel
Building Resilience|Veerkracht opbouwen|Mental|Mentaal
Calm the Nervous System|Kalmeer het zenuwstelsel|Physical|Fysiek
Parasympathetic Recovery|Parasympathisch herstel|Physical|Fysiek
Autonomic Balance|Autonome balans|Physical|Fysiek
Vagus Nerve Relaxation|Ontspanning van de nervus vagus|Physical|Fysiek
Heart Coherence|Hartcoherentie|Physical|Fysiek
Heart-Brain Harmony|Hart-brein harmonie|Physical/Mental|Fysiek/Mentaal
Coherent Breathing|Coherente ademhaling|Physical|Fysiek
Breathing for Recovery|Ademhaling voor herstel|Physical|Fysiek
Breathing for Calm|Ademhaling voor rust|Physical|Fysiek
Grounded Breathing|Gegronde ademhaling|Physical|Fysiek
Healthy Routine|Gezonde routine|Mental|Mentaal
Healthy Habits|Gezonde gewoonten|Mental|Mentaal
Lifestyle Balance|Leefstijlbalans|Physical|Fysiek
Healthy Lifestyle|Gezonde leefstijl|Physical|Fysiek
Move with Confidence|Beweeg met vertrouwen|Emotional|Emotioneel
Gentle Movement|Zachte beweging|Physical|Fysiek
Daily Mobility|Dagelijkse mobiliteit|Physical|Fysiek
Movement & Wellness|Beweging & welzijn|Physical|Fysiek
Healthy Body Awareness|Gezond lichaamsbewustzijn|Physical|Fysiek
Reconnect with Your Body|Opnieuw verbinden met je lichaam|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Compassion for Yourself|Compassie voor jezelf|Emotional|Emotioneel
Body Acceptance|Lichaamsacceptatie|Emotional|Emotioneel
Accepting Change|Verandering accepteren|Emotional|Emotioneel
Living in Balance|Leven in balans|Spiritual|Spiritueel
Inner Acceptance|Innerlijke acceptatie|Spiritual|Spiritueel
Trust Your Body|Vertrouw je lichaam|Emotional|Emotioneel
Rediscover Yourself|Jezelf opnieuw ontdekken|Emotional|Emotioneel
Embrace the Journey|Omarm de reis|Spiritual|Spiritueel
The Present Moment|Het huidige moment|Spiritual|Spiritueel
Mindfulness Practice|Mindfulnessbeoefening|Spiritual|Spiritueel
Mindfulness Meditation|Mindfulnessmeditatie|Spiritual|Spiritueel
Healing Meditation|Herstelmeditatie|Spiritual|Spiritueel
Recovery Meditation|Herstelmeditatie|Spiritual|Spiritueel
Healing Light|Herstellend licht|Spiritual|Spiritueel
Healing Presence|Herstellende aanwezigheid|Spiritual|Spiritueel
Inner Sanctuary|Innerlijk toevluchtsoord|Spiritual|Spiritueel
Deep Stillness|Diepe stilte|Spiritual|Spiritueel
Sacred Silence|Heilige stilte|Spiritual|Spiritueel
Nature Healing|Natuurherstel|Spiritual|Spiritueel
Forest Wellness|Boswelzijn|Spiritual|Spiritueel
Ocean Calm|Oceaanrust|Spiritual|Spiritueel
Grounding Meditation|Grondingsmeditatie|Spiritual|Spiritueel
Harmony with Nature|Harmonie met de natuur|Spiritual|Spiritueel
Living with Purpose|Leven met betekenis|Spiritual|Spiritueel
Healthy Relationships|Gezonde relaties|Emotional|Emotioneel
Family Support|Gezinsondersteuning|Emotional|Emotioneel
Support from Within|Steun van binnenuit|Emotional|Emotioneel
Connected Through Care|Verbonden door zorg|Emotional|Emotioneel
You Are Not Alone|Je bent niet alleen|Emotional|Emotioneel
Building Your Support Network|Je steunnetwerk opbouwen|Emotional|Emotioneel
Communication with Confidence|Communiceren met vertrouwen|Emotional|Emotioneel
Healthy Boundaries|Gezonde grenzen|Emotional|Emotioneel
Asking for Help|Hulp vragen|Emotional|Emotioneel
Accepting Support|Steun accepteren|Emotional|Emotioneel
Work-Life Balance|Werk-privebalans|Emotional|Emotioneel
Working with Confidence|Werken met vertrouwen|Emotional|Emotioneel
Returning to Work|Terugkeren naar werk|Emotional|Emotioneel
Daily Independence|Dagelijkse zelfstandigheid|Emotional|Emotioneel
Maintaining Independence|Zelfstandigheid behouden|Emotional|Emotioneel
Confidence Every Day|Elke dag vertrouwen|Emotional|Emotioneel
Living Your Best Life|Je beste leven leven|Emotional|Emotioneel
Rediscover Joy|Vreugde herontdekken|Emotional|Emotioneel
Purpose Beyond Illness|Betekenis voorbij ziekte|Spiritual|Spiritueel
The Healing Journey|De herstelreis|Spiritual|Spiritueel
The Wellness Journey|De welzijnsreis|Spiritual|Spiritueel
The Recovery Journey|De herstelreis|Emotional|Emotioneel
Keep Moving Forward|Blijf vooruit bewegen|Emotional|Emotioneel
Live Fully Today|Leef vandaag voluit|Emotional|Emotioneel
Strength for Today|Kracht voor vandaag|Emotional|Emotioneel
Stronger Every Day|Elke dag sterker|Emotional|Emotioneel
Resilient Living|Veerkrachtig leven|Emotional|Emotioneel
Choose Hope|Kies hoop|Emotional|Emotioneel
The Balanced Life|Het gebalanceerde leven|Spiritual|Spiritueel
Flourishing with Chronic Illness|Floreren met chronische ziekte|Emotional|Emotioneel
Living Well with Diabetes|Goed leven met diabetes|Physical|Fysiek
Living Well with MS|Goed leven met MS|Emotional|Emotioneel
Living Well with Parkinson's|Goed leven met Parkinson|Emotional|Emotioneel
Living Well with Rheumatoid Arthritis|Goed leven met reumatoïde artritis|Emotional|Emotioneel
Living Well with Fibromyalgia|Goed leven met fibromyalgie|Emotional|Emotioneel
Living Well with COPD|Goed leven met COPD|Emotional|Emotioneel
Living Well with Heart Disease|Goed leven met hartziekte|Emotional|Emotioneel
Living Well with Kidney Disease|Goed leven met nierziekte|Emotional|Emotioneel
Living Well with Chronic Pain|Goed leven met chronische pijn|Emotional|Emotioneel
Living Well with Autoimmune Conditions|Goed leven met auto-immuunaandoeningen|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const RECOVERY_CHRONIC_ILLNESS_SESSION_DEFINITIONS = RECOVERY_CHRONIC_ILLNESS_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 432, 852, 417, 396];
  const moods = ["Soft Soundscapes", "Theta Soundscape", "Binaural Deep Meditation", "Ambient", "Meditation Bowls", "Drone", "Cinematic Ambient"];
  const accents = ["#60a5fa", "#14b8a6", "#a78bfa", "#22c55e", "#f472b6", "#38bdf8", "#84cc16", "#facc15"];
  return {
    id: `recovery-chronic-illness-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 4) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    chronicBase: [5.0, 5.4, 5.8, 4.6, 6.2, 5.2, 6.6, 5.6, 6.0, 4.8, 6.4, 5.0][index % 12],
    style: 5900 + index
  };
});

const CREATIVE_THINKING_TITLE_PAIRS = `
Creative Thinking|Creatief denken|Mental|Mentaal
Creative Mind|Creatieve geest|Mental|Mentaal
Creative Mindset|Creatieve mindset|Mental|Mentaal
Creative Intelligence|Creatieve intelligentie|Mental|Mentaal
Creative Potential|Creatief potentieel|Mental|Mentaal
Unlock Creativity|Creativiteit ontsluiten|Mental|Mentaal
Unlock Your Creative Mind|Ontsluit je creatieve geest|Mental|Mentaal
Expand Your Creativity|Vergroot je creativiteit|Mental|Mentaal
Creative Expansion|Creatieve expansie|Mental|Mentaal
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Creative Flow|Creatieve flow|Mental|Mentaal
Flow for Creativity|Flow voor creativiteit|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Creative Freedom|Creatieve vrijheid|Mental|Mentaal
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Creative Courage|Creatieve moed|Emotional|Emotioneel
Creative Vision|Creatieve visie|Mental|Mentaal
Creative Insight|Creatief inzicht|Mental|Mentaal
Creative Awareness|Creatief bewustzijn|Spiritual|Spiritueel
Creative Inspiration|Creatieve inspiratie|Emotional|Emotioneel
Inspired Thinking|Geinspireerd denken|Mental|Mentaal
Inspired Ideas|Geinspireerde ideeen|Mental|Mentaal
Inspiration on Demand|Inspiratie op afroep|Mental|Mentaal
Fresh Ideas|Frisse ideeen|Mental|Mentaal
Idea Generation|Ideeengeneratie|Mental|Mentaal
Idea Factory|Ideeenfabriek|Mental|Mentaal
Idea Flow|Ideeenflow|Mental|Mentaal
Idea Accelerator|Ideeenversneller|Mental|Mentaal
Idea Catalyst|Ideeencatalysator|Mental|Mentaal
Infinite Ideas|Oneindige ideeen|Mental|Mentaal
Innovative Thinking|Innovatief denken|Mental|Mentaal
Innovation Mindset|Innovatiemindset|Mental|Mentaal
Think Outside the Box|Buiten de kaders denken|Mental|Mentaal
Break Mental Patterns|Mentale patronen doorbreken|Mental|Mentaal
Mental Flexibility|Mentale flexibiliteit|Mental|Mentaal
Flexible Thinking|Flexibel denken|Mental|Mentaal
Adaptive Thinking|Adaptief denken|Mental|Mentaal
Lateral Thinking|Lateraal denken|Mental|Mentaal
Divergent Thinking|Divergent denken|Mental|Mentaal
Convergent Thinking|Convergent denken|Mental|Mentaal
Whole Brain Thinking|Denken met het hele brein|Mental|Mentaal
Brainstorm Mode|Brainstormmodus|Mental|Mentaal
Brainstorm Booster|Brainstormbooster|Mental|Mentaal
Concept Development|Conceptontwikkeling|Mental|Mentaal
Concept Creation|Conceptcreatie|Mental|Mentaal
Visionary Thinking|Visionair denken|Mental|Mentaal
Big Picture Thinking|Grote-lijn denken|Mental|Mentaal
Strategic Creativity|Strategische creativiteit|Mental|Mentaal
Creative Problem Solving|Creatief probleemoplossen|Mental|Mentaal
Creative Solutions|Creatieve oplossingen|Mental|Mentaal
Solution Finder|Oplossingsvinder|Mental|Mentaal
Innovative Solutions|Innovatieve oplossingen|Mental|Mentaal
Breakthrough Solutions|Doorbraakoplossingen|Mental|Mentaal
Inventive Thinking|Vindingrijk denken|Mental|Mentaal
Original Thinking|Origineel denken|Mental|Mentaal
Novel Thinking|Vernieuwend denken|Mental|Mentaal
Curious Mind|Nieuwsgierige geest|Mental|Mentaal
Curiosity Boost|Nieuwsgierigheidsboost|Mental|Mentaal
Curiosity & Discovery|Nieuwsgierigheid & ontdekking|Mental|Mentaal
Explore New Possibilities|Nieuwe mogelijkheden verkennen|Mental|Mentaal
Discover New Perspectives|Nieuwe perspectieven ontdekken|Mental|Mentaal
Fresh Perspective|Fris perspectief|Mental|Mentaal
Perspective Shift|Perspectiefverschuiving|Mental|Mentaal
Perspective Expansion|Perspectiefverruiming|Mental|Mentaal
Reframe Your Thinking|Herkader je denken|Mental|Mentaal
Mental Agility|Mentale wendbaarheid|Mental|Mentaal
Mental Exploration|Mentale verkenning|Mental|Mentaal
Imagination Booster|Verbeeldingsbooster|Mental|Mentaal
Expand Your Imagination|Vergroot je verbeelding|Mental|Mentaal
Visual Imagination|Visuele verbeelding|Mental|Mentaal
Creative Visualization|Creatieve visualisatie|Mental|Mentaal
Future Visioning|Toekomstvisie|Spiritual|Spiritueel
Dream Big|Droom groots|Emotional|Emotioneel
Vision Builder|Visiebouwer|Mental|Mentaal
Possibility Thinking|Mogelijkheidsdenken|Mental|Mentaal
Limitless Thinking|Grenzeloos denken|Mental|Mentaal
Future Thinking|Toekomstgericht denken|Mental|Mentaal
Future Innovation|Toekomstinnovatie|Mental|Mentaal
Creative Discovery|Creatieve ontdekking|Mental|Mentaal
Inventor's Mindset|Mindset van de uitvinder|Mental|Mentaal
Explorer's Mindset|Mindset van de verkenner|Mental|Mentaal
Designer Mindset|Designermindset|Mental|Mentaal
Creator Mindset|Creatorsmindset|Mental|Mentaal
Entrepreneurial Creativity|Ondernemende creativiteit|Mental|Mentaal
Creative Leadership|Creatief leiderschap|Mental|Mentaal
Creative Decision Making|Creatieve besluitvorming|Mental|Mentaal
Creative Focus|Creatieve focus|Mental|Mentaal
Deep Creative Focus|Diepe creatieve focus|Mental|Mentaal
Creative Clarity|Creatieve helderheid|Mental|Mentaal
Creative Energy|Creatieve energie|Mental|Mentaal
Creative Productivity|Creatieve productiviteit|Mental|Mentaal
Creative Performance|Creatieve prestatie|Mental|Mentaal
Creative Excellence|Creatieve excellentie|Mental|Mentaal
Master Creative Thinking|Meesterlijk creatief denken|Mental|Mentaal
Peak Creativity|Piekcreativiteit|Mental|Mentaal
Creative Mastery|Creatief meesterschap|Mental|Mentaal
Creative Intelligence Boost|Boost voor creatieve intelligentie|Mental|Mentaal
Creative Resilience|Creatieve veerkracht|Emotional|Emotioneel
Overcome Creative Blocks|Creatieve blokkades overwinnen|Mental|Mentaal
Break Through Creative Blocks|Door creatieve blokkades breken|Mental|Mentaal
Silence Your Inner Critic|Breng je innerlijke criticus tot rust|Emotional|Emotioneel
Creative Confidence Builder|Bouwer van creatief zelfvertrouwen|Emotional|Emotioneel
Fearless Creativity|Onbevreesde creativiteit|Emotional|Emotioneel
Express Your Ideas|Druk je ideeen uit|Emotional|Emotioneel
Authentic Creativity|Authentieke creativiteit|Spiritual|Spiritueel
Inspired Action|Geinspireerde actie|Mental|Mentaal
Creative Momentum Builder|Bouwer van creatief momentum|Mental|Mentaal
Spark Your Creativity|Wakker je creativiteit aan|Mental|Mentaal
Creative Ignition|Creatieve ontsteking|Mental|Mentaal
The Creative Edge|De creatieve voorsprong|Mental|Mentaal
Creative Genius|Creatief genie|Mental|Mentaal
The Inventive Mind|De vindingrijke geest|Mental|Mentaal
Innovation Lab|Innovatielab|Mental|Mentaal
Creative Breakthrough Protocol|Protocol voor creatieve doorbraak|Mental|Mentaal
Creative Thinking Reset|Reset voor creatief denken|Mental|Mentaal
Creative Thinking Accelerator|Versneller voor creatief denken|Mental|Mentaal
Creative Thinking Masterclass|Masterclass creatief denken|Mental|Mentaal
Creative Brain Activation|Creatieve breinactivatie|Mental|Mentaal
Creative Brain Synchronization|Creatieve breinsynchronisatie|Mental|Mentaal
Neural Creativity|Neurale creativiteit|Mental|Mentaal
Creative Neuroplasticity|Creatieve neuroplasticiteit|Mental|Mentaal
Mind Expansion|Geestverruiming|Spiritual|Spiritueel
Open Mind|Open geest|Spiritual|Spiritueel
Infinite Possibilities|Oneindige mogelijkheden|Spiritual|Spiritueel
Inspired Consciousness|Geinspireerd bewustzijn|Spiritual|Spiritueel
Create Without Limits|Creeren zonder grenzen|Mental|Mentaal
Creative Evolution|Creatieve evolutie|Spiritual|Spiritueel
Innovation Flow|Innovatieflow|Mental|Mentaal
The Creative Journey|De creatieve reis|Spiritual|Spiritueel
Creative Success|Creatief succes|Mental|Mentaal
Think Like a Creator|Denk als een creator|Mental|Mentaal
Unlock Your Inner Creator|Ontsluit je innerlijke creator|Spiritual|Spiritueel
Create Your Masterpiece|Creëer je meesterwerk|Emotional|Emotioneel
From Idea to Reality|Van idee naar werkelijkheid|Mental|Mentaal
The Creative Flow State|De creatieve flowstaat|Mental|Mentaal
Creative Vision Quest|Creatieve vision quest|Spiritual|Spiritueel
Beyond Imagination|Voorbij de verbeelding|Spiritual|Spiritueel
Unlimited Creativity|Onbegrensde creativiteit|Mental|Mentaal
Creative Brilliance|Creatieve schittering|Mental|Mentaal
Inspired Innovation|Geinspireerde innovatie|Mental|Mentaal
Creative Transformation|Creatieve transformatie|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const CREATIVE_THINKING_SESSION_DEFINITIONS = CREATIVE_THINKING_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 741, 639, 852, 417, 963, 432, 396];
  const moods = ["Cinematic Ambient", "Uplifting Electronic Ambient", "Ambient", "Soft Soundscapes", "Binaural Deep Meditation", "Meditation Bowls", "Drone", "Theta Soundscape"];
  const accents = ["#facc15", "#38bdf8", "#a78bfa", "#fb7185", "#22c55e", "#f472b6", "#14b8a6", "#60a5fa", "#f97316", "#84cc16"];
  return {
    id: `creative-thinking-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [11.2, 12.4, 13.6, 10.8, 14.2, 9.8, 12.8, 15.0, 11.6, 13.2, 10.4, 14.6][index % 12],
    style: 6300 + index
  };
});

const ARTS_DESIGN_TITLE_PAIRS = `
Artistic Inspiration|Artistieke inspiratie|Mental|Mentaal
Artistic Creativity|Artistieke creativiteit|Mental|Mentaal
Creative Expression|Creatieve expressie|Emotional|Emotioneel
Creative Vision|Creatieve visie|Mental|Mentaal
Creative Flow for Artists|Creatieve flow voor kunstenaars|Mental|Mentaal
Creative Freedom|Creatieve vrijheid|Emotional|Emotioneel
Artistic Flow|Artistieke flow|Mental|Mentaal
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Creative Courage|Creatieve moed|Emotional|Emotioneel
Inspired Creation|Geinspireerde creatie|Spiritual|Spiritueel
Visual Creativity|Visuele creativiteit|Mental|Mentaal
Visual Imagination|Visuele verbeelding|Mental|Mentaal
Visual Storytelling|Visuele storytelling|Mental|Mentaal
Visual Innovation|Visuele innovatie|Mental|Mentaal
Visual Design Thinking|Visueel designdenken|Mental|Mentaal
Creative Visualization|Creatieve visualisatie|Mental|Mentaal
Design Inspiration|Designinspiratie|Mental|Mentaal
Design Thinking|Designdenken|Mental|Mentaal
Design Flow|Designflow|Mental|Mentaal
Innovative Design|Innovatief design|Mental|Mentaal
Design Excellence|Designexcellentie|Mental|Mentaal
Creative Concepts|Creatieve concepten|Mental|Mentaal
Concept Development|Conceptontwikkeling|Mental|Mentaal
Concept Visualization|Conceptvisualisatie|Mental|Mentaal
Idea Sketching|Ideeschetsen|Mental|Mentaal
Creative Sketching|Creatief schetsen|Mental|Mentaal
Drawing Inspiration|Tekeninspiratie|Mental|Mentaal
Drawing Flow|Tekenflow|Mental|Mentaal
Confident Drawing|Tekenen met vertrouwen|Emotional|Emotioneel
Illustration Flow|Illustratieflow|Mental|Mentaal
Painting Inspiration|Schilderinspiratie|Mental|Mentaal
Painting Flow|Schilderflow|Mental|Mentaal
Expressive Painting|Expressief schilderen|Emotional|Emotioneel
Color Inspiration|Kleurinspiratie|Mental|Mentaal
Color Harmony|Kleurharmonie|Mental|Mentaal
Creative Color Exploration|Creatieve kleurverkenning|Mental|Mentaal
Watercolor Inspiration|Aquarelinspiratie|Mental|Mentaal
Digital Art Flow|Digitale kunstflow|Mental|Mentaal
Digital Creativity|Digitale creativiteit|Mental|Mentaal
Graphic Design Focus|Grafisch designfocus|Mental|Mentaal
Graphic Design Inspiration|Grafisch designinspiratie|Mental|Mentaal
Logo Design Creativity|Logo-design creativiteit|Mental|Mentaal
Brand Identity Inspiration|Merkidentiteit inspiratie|Mental|Mentaal
Typography Creativity|Typografische creativiteit|Mental|Mentaal
Creative Layout Design|Creatief layoutdesign|Mental|Mentaal
Creative Composition|Creatieve compositie|Mental|Mentaal
Visual Composition|Visuele compositie|Mental|Mentaal
Creative Balance|Creatieve balans|Mental|Mentaal
Artistic Composition|Artistieke compositie|Mental|Mentaal
Perspective & Depth|Perspectief & diepte|Mental|Mentaal
Creative Photography|Creatieve fotografie|Mental|Mentaal
Photography Inspiration|Fotografie-inspiratie|Mental|Mentaal
Photographer's Eye|Het oog van de fotograaf|Mental|Mentaal
Visual Observation|Visuele observatie|Mental|Mentaal
Creative Editing|Creatieve nabewerking|Mental|Mentaal
Photo Editing Focus|Fotobewerking focus|Mental|Mentaal
Cinematic Creativity|Cinematische creativiteit|Mental|Mentaal
Film Production Flow|Filmproductieflow|Mental|Mentaal
Video Editing Focus|Videobewerking focus|Mental|Mentaal
Animation Creativity|Animatiecreativiteit|Mental|Mentaal
Motion Design Inspiration|Motion-design inspiratie|Mental|Mentaal
3D Design Flow|3D-designflow|Mental|Mentaal
Architectural Creativity|Architectonische creativiteit|Mental|Mentaal
Interior Design Inspiration|Interieurdesign inspiratie|Mental|Mentaal
Landscape Design Creativity|Landschapsdesign creativiteit|Mental|Mentaal
Industrial Design Thinking|Industrieel designdenken|Mental|Mentaal
Product Design Inspiration|Productdesign inspiratie|Mental|Mentaal
Fashion Design Creativity|Modeontwerp creativiteit|Mental|Mentaal
Jewelry Design Inspiration|Sieradenontwerp inspiratie|Mental|Mentaal
Creative Craftsmanship|Creatief vakmanschap|Mental|Mentaal
Handmade Inspiration|Handgemaakte inspiratie|Emotional|Emotioneel
Sculpture Inspiration|Beeldhouwinspiratie|Mental|Mentaal
Ceramic Creativity|Keramische creativiteit|Mental|Mentaal
Woodworking Focus|Houtbewerkingsfocus|Mental|Mentaal
Creative Maker Mindset|Creatieve makermindset|Mental|Mentaal
Maker Flow|Makerflow|Mental|Mentaal
Craftsmanship Excellence|Excellent vakmanschap|Mental|Mentaal
Creative Innovation|Creatieve innovatie|Mental|Mentaal
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Break Creative Blocks|Creatieve blokkades doorbreken|Mental|Mentaal
Silence Your Inner Critic|Breng je innerlijke criticus tot rust|Emotional|Emotioneel
Fearless Creativity|Onbevreesde creativiteit|Emotional|Emotioneel
Authentic Expression|Authentieke expressie|Spiritual|Spiritueel
Express Your Vision|Druk je visie uit|Emotional|Emotioneel
Create with Confidence|Creeren met vertrouwen|Emotional|Emotioneel
Creative Self-Expression|Creatieve zelfexpressie|Emotional|Emotioneel
Art from the Heart|Kunst vanuit het hart|Emotional|Emotioneel
Emotional Expression Through Art|Emotionele expressie via kunst|Emotional|Emotioneel
Creative Healing|Creatieve heling|Spiritual|Spiritueel
Art for Well-Being|Kunst voor welzijn|Spiritual|Spiritueel
Mindful Creativity|Mindful creativiteit|Spiritual|Spiritueel
Mindful Drawing|Mindful tekenen|Spiritual|Spiritueel
Mindful Painting|Mindful schilderen|Spiritual|Spiritueel
Art Meditation|Kunstmeditatie|Spiritual|Spiritueel
Flow Through Art|Flow via kunst|Spiritual|Spiritueel
Inspired by Nature|Geinspireerd door de natuur|Spiritual|Spiritueel
Nature Sketching|Natuurschetsen|Spiritual|Spiritueel
Creative Observation|Creatieve observatie|Mental|Mentaal
Creative Exploration|Creatieve verkenning|Mental|Mentaal
Curiosity for Artists|Nieuwsgierigheid voor kunstenaars|Mental|Mentaal
Creative Discovery|Creatieve ontdekking|Mental|Mentaal
The Artist's Mind|De kunstenaarsgeest|Mental|Mentaal
The Designer's Mind|De designersgeest|Mental|Mentaal
The Creative Studio|De creatieve studio|Mental|Mentaal
Studio Flow|Studioflow|Mental|Mentaal
Master Your Craft|Beheers je vak|Mental|Mentaal
Artistic Mastery|Artistiek meesterschap|Mental|Mentaal
Creative Excellence|Creatieve excellentie|Mental|Mentaal
Master Creative Expression|Meesterlijke creatieve expressie|Emotional|Emotioneel
Vision to Reality|Van visie naar werkelijkheid|Mental|Mentaal
Idea to Artwork|Van idee naar kunstwerk|Mental|Mentaal
From Inspiration to Creation|Van inspiratie naar creatie|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Creative Discipline|Creatieve discipline|Mental|Mentaal
Daily Artistic Practice|Dagelijkse artistieke oefening|Mental|Mentaal
Creative Ritual|Creatief ritueel|Spiritual|Spiritueel
The Creative Process|Het creatieve proces|Mental|Mentaal
Infinite Inspiration|Oneindige inspiratie|Spiritual|Spiritueel
Inspired Imagination|Geinspireerde verbeelding|Spiritual|Spiritueel
Creative Abundance|Creatieve overvloed|Spiritual|Spiritueel
Creative Presence|Creatieve aanwezigheid|Spiritual|Spiritueel
Open Creative Mind|Open creatieve geest|Spiritual|Spiritueel
The Flowing Artist|De stromende kunstenaar|Spiritual|Spiritueel
Creative Soul|Creatieve ziel|Spiritual|Spiritueel
Inspired Living|Geinspireerd leven|Spiritual|Spiritueel
Beauty in Everything|Schoonheid in alles|Spiritual|Spiritueel
The Joy of Creating|De vreugde van creeren|Emotional|Emotioneel
Celebrate Creativity|Vier creativiteit|Emotional|Emotioneel
Creative Fulfillment|Creatieve vervulling|Emotional|Emotioneel
Create Your Masterpiece|Creëer je meesterwerk|Emotional|Emotioneel
Art Without Limits|Kunst zonder grenzen|Mental|Mentaal
Design Without Limits|Design zonder grenzen|Mental|Mentaal
Limitless Imagination|Grenzeloze verbeelding|Spiritual|Spiritueel
Beyond the Canvas|Voorbij het canvas|Spiritual|Spiritueel
The Visionary Artist|De visionaire kunstenaar|Mental|Mentaal
The Inspired Designer|De geinspireerde designer|Mental|Mentaal
Create Something Extraordinary|Creëer iets buitengewoons|Mental|Mentaal
Creative Peak Performance|Creatieve piekprestatie|Mental|Mentaal
Creative Brilliance|Creatieve schittering|Mental|Mentaal
Artistic Genius|Artistiek genie|Mental|Mentaal
Inspired Excellence|Geinspireerde excellentie|Mental|Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const ARTS_DESIGN_SESSION_DEFINITIONS = ARTS_DESIGN_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 741, 639, 852, 417, 963, 432, 396];
  const moods = ["Cinematic Ambient", "Ambient", "Uplifting Electronic Ambient", "Soft Soundscapes", "Meditation Bowls", "Binaural Deep Meditation", "Drone", "Theta Soundscape"];
  const accents = ["#f97316", "#facc15", "#ec4899", "#38bdf8", "#8b5cf6", "#22c55e", "#14b8a6", "#fb7185", "#60a5fa", "#a3e635"];
  return {
    id: `arts-design-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 3) % carriers.length],
    mood: moods[(index * 7) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.8, 12.0, 13.2, 11.4, 14.0, 9.6, 12.6, 14.8, 11.0, 13.6, 10.2, 14.4][index % 12],
    style: 6500 + index
  };
});

const MUSIC_AUDIO_TITLE_PAIRS = `
Music Creativity|Muziekcreativiteit|Mental|Mentaal
Musical Inspiration|Muzikale inspiratie|Mental|Mentaal
Musical Flow|Muzikale flow|Mental|Mentaal
Musical Expression|Muzikale expressie|Emotional|Emotioneel
Music Performance|Muzikale prestatie|Mental|Mentaal
Peak Musical Performance|Muzikale piekprestatie|Mental|Mentaal
Creative Music Making|Creatief muziek maken|Mental|Mentaal
Music Composition|Muziekcompositie|Mental|Mentaal
Composing in Flow|Componeren in flow|Mental|Mentaal
Inspired Composer|Geinspireerde componist|Mental|Mentaal
Songwriting Inspiration|Songwriting-inspiratie|Mental|Mentaal
Songwriting Flow|Songwriting-flow|Mental|Mentaal
Creative Songwriting|Creatieve songwriting|Mental|Mentaal
Lyric Writing Flow|Songtekst-flow|Mental|Mentaal
Melody Creation|Melodiecreatie|Mental|Mentaal
Harmony Creation|Harmoniecreatie|Mental|Mentaal
Chord Progression Flow|Akkoordprogressie-flow|Mental|Mentaal
Musical Arrangement|Muzikaal arrangement|Mental|Mentaal
Orchestration Inspiration|Orkestratie-inspiratie|Mental|Mentaal
Musical Storytelling|Muzikale storytelling|Mental|Mentaal
Piano Performance|Pianoprestatie|Mental|Mentaal
Guitar Performance|Gitaarprestatie|Mental|Mentaal
Drumming Focus|Drumfocus|Mental|Mentaal
Bass Groove|Basgroove|Mental|Mentaal
String Performance|Strijkersprestatie|Mental|Mentaal
Wind Instrument Focus|Blaasinstrumentfocus|Mental|Mentaal
Brass Performance|Koperblazersprestatie|Mental|Mentaal
Percussion Flow|Percussieflow|Mental|Mentaal
Keyboard Creativity|Keyboardcreativiteit|Mental|Mentaal
Instrumental Mastery|Instrumentaal meesterschap|Mental|Mentaal
Vocal Performance|Vocale prestatie|Mental|Mentaal
Confident Singing|Zingen met vertrouwen|Emotional|Emotioneel
Vocal Confidence|Vocaal zelfvertrouwen|Emotional|Emotioneel
Vocal Relaxation|Vocale ontspanning|Physical|Fysiek
Voice Control|Stemcontrole|Mental|Mentaal
Healthy Voice|Gezonde stem|Physical|Fysiek
Choir Performance|Koorprestatie|Mental|Mentaal
Stage Singing Confidence|Zangvertrouwen op het podium|Emotional|Emotioneel
Expressive Singing|Expressief zingen|Emotional|Emotioneel
Heartfelt Performance|Prestatie vanuit het hart|Emotional|Emotioneel
Music Production|Muziekproductie|Mental|Mentaal
Studio Focus|Studiofocus|Mental|Mentaal
Studio Creativity|Studiocreativiteit|Mental|Mentaal
Recording Session Flow|Opnamesessie-flow|Mental|Mentaal
Mixing Focus|Mixfocus|Mental|Mentaal
Mastering Focus|Mastering-focus|Mental|Mentaal
Audio Engineering Focus|Audio-engineering focus|Mental|Mentaal
Sound Design Creativity|Sounddesign-creativiteit|Mental|Mentaal
Creative Sound Design|Creatief sounddesign|Mental|Mentaal
Electronic Music Production|Elektronische muziekproductie|Mental|Mentaal
Beat Making Flow|Beatmaking-flow|Mental|Mentaal
Beat Creation|Beatcreatie|Mental|Mentaal
Rhythm Creation|Ritmecreatie|Mental|Mentaal
Groove Creation|Groovecreatie|Mental|Mentaal
DJ Focus|DJ-focus|Mental|Mentaal
Live Performance Focus|Live performance focus|Mental|Mentaal
Studio Inspiration|Studio-inspiratie|Mental|Mentaal
Creative Audio Production|Creatieve audioproductie|Mental|Mentaal
Podcast Production Focus|Podcastproductie focus|Mental|Mentaal
Voice Recording Focus|Stemopname focus|Mental|Mentaal
Music Learning|Muziek leren|Mental|Mentaal
Learn Music Faster|Sneller muziek leren|Mental|Mentaal
Music Memory|Muziekgeheugen|Mental|Mentaal
Ear Training|Gehoortraining|Mental|Mentaal
Perfect Pitch Practice|Absolute gehoortraining|Mental|Mentaal
Relative Pitch Training|Relatieve gehoortraining|Mental|Mentaal
Rhythm Training|Ritmetraining|Mental|Mentaal
Timing & Precision|Timing & precisie|Mental|Mentaal
Sight Reading Focus|Bladmuziekleesfocus|Mental|Mentaal
Music Theory Focus|Muziektheorie focus|Mental|Mentaal
Performance Confidence|Prestatievertrouwen|Emotional|Emotioneel
Stage Confidence|Podiumvertrouwen|Emotional|Emotioneel
Stage Presence|Podiumaanwezigheid|Emotional|Emotioneel
Overcome Stage Fright|Podiumangst overwinnen|Emotional|Emotioneel
Calm Before Performance|Rust voor het optreden|Emotional|Emotioneel
Performance Readiness|Klaar voor optreden|Mental|Mentaal
Pre-Concert Focus|Pre-concert focus|Mental|Mentaal
Concert Preparation|Concertvoorbereiding|Mental|Mentaal
Audition Confidence|Auditievertrouwen|Emotional|Emotioneel
Competition Performance|Competitieprestatie|Mental|Mentaal
Flow State for Musicians|Flowstaat voor musici|Mental|Mentaal
Deep Musical Focus|Diepe muzikale focus|Mental|Mentaal
Creative Focus|Creatieve focus|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Musical Breakthrough|Muzikale doorbraak|Mental|Mentaal
Break Creative Blocks|Creatieve blokkades doorbreken|Mental|Mentaal
Inspired Performance|Geinspireerd optreden|Emotional|Emotioneel
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Fearless Performance|Onbevreesd optreden|Emotional|Emotioneel
Musical Emotion|Muzikale emotie|Emotional|Emotioneel
Express Through Music|Expressie via muziek|Emotional|Emotioneel
Music from the Heart|Muziek vanuit het hart|Emotional|Emotioneel
Emotional Expression Through Music|Emotionele expressie via muziek|Emotional|Emotioneel
Authentic Performance|Authentiek optreden|Emotional|Emotioneel
Play with Passion|Spelen met passie|Emotional|Emotioneel
Sing with Passion|Zingen met passie|Emotional|Emotioneel
Emotional Connection|Emotionele verbinding|Emotional|Emotioneel
Musical Storytelling|Muzikale storytelling|Emotional|Emotioneel
Expressive Interpretation|Expressieve interpretatie|Emotional|Emotioneel
Improvisation Flow|Improvisatieflow|Mental|Mentaal
Jazz Improvisation|Jazzimprovisatie|Mental|Mentaal
Creative Improvisation|Creatieve improvisatie|Mental|Mentaal
Freestyle Flow|Freestyle-flow|Mental|Mentaal
Musical Exploration|Muzikale verkenning|Mental|Mentaal
Creative Experimentation|Creatief experimenteren|Mental|Mentaal
Original Composition|Originele compositie|Mental|Mentaal
Innovative Sound|Innovatief geluid|Mental|Mentaal
Musical Discovery|Muzikale ontdekking|Mental|Mentaal
Creative Sound Exploration|Creatieve geluidsverkenning|Mental|Mentaal
Relax Through Music|Ontspannen via muziek|Emotional|Emotioneel
Healing Through Music|Heling via muziek|Spiritual|Spiritueel
Music Meditation|Muziekmeditatie|Spiritual|Spiritueel
Mindful Listening|Mindful luisteren|Spiritual|Spiritueel
Deep Listening|Diep luisteren|Spiritual|Spiritueel
Sacred Sound Journey|Heilige klankreis|Spiritual|Spiritueel
Sound Awareness|Klankbewustzijn|Spiritual|Spiritueel
Resonance Meditation|Resonantiemeditatie|Spiritual|Spiritueel
Harmony Within|Innerlijke harmonie|Spiritual|Spiritueel
Music & Mindfulness|Muziek & mindfulness|Spiritual|Spiritueel
Audio Creativity|Audiocreativiteit|Mental|Mentaal
Audio Storytelling|Audio-storytelling|Mental|Mentaal
Soundscape Creation|Soundscape-creatie|Mental|Mentaal
Ambient Music Creation|Ambientmuziek-creatie|Mental|Mentaal
Cinematic Sound Design|Cinematisch sounddesign|Mental|Mentaal
Film Score Inspiration|Filmmuziek-inspiratie|Mental|Mentaal
Game Audio Creativity|Game-audio creativiteit|Mental|Mentaal
Podcast Creativity|Podcastcreativiteit|Mental|Mentaal
Voice Acting Performance|Stemacteerprestatie|Mental|Mentaal
Narration Confidence|Vertelstemvertrouwen|Emotional|Emotioneel
Daily Music Practice|Dagelijkse muziekoefening|Mental|Mentaal
Consistent Practice|Consistente oefening|Mental|Mentaal
Master Your Instrument|Beheers je instrument|Mental|Mentaal
Musical Discipline|Muzikale discipline|Mental|Mentaal
Practice with Purpose|Oefenen met intentie|Mental|Mentaal
Musical Excellence|Muzikale excellentie|Mental|Mentaal
Artistic Mastery|Artistiek meesterschap|Mental|Mentaal
Professional Musician Mindset|Professionele muzikantenmindset|Mental|Mentaal
Creative Excellence|Creatieve excellentie|Mental|Mentaal
The Musician's Mind|De muzikantengeest|Mental|Mentaal
Inspiration on Demand|Inspiratie op afroep|Mental|Mentaal
Infinite Musical Inspiration|Oneindige muzikale inspiratie|Spiritual|Spiritueel
Creative Soul|Creatieve ziel|Spiritual|Spiritueel
Inspired Creativity|Geinspireerde creativiteit|Spiritual|Spiritueel
Musical Presence|Muzikale aanwezigheid|Spiritual|Spiritueel
Create Beautiful Music|Maak prachtige muziek|Emotional|Emotioneel
The Joy of Music|De vreugde van muziek|Emotional|Emotioneel
Celebrate Your Creativity|Vier je creativiteit|Emotional|Emotioneel
Music Without Limits|Muziek zonder grenzen|Mental|Mentaal
Sound Without Limits|Geluid zonder grenzen|Mental|Mentaal
The Inspired Musician|De geinspireerde muzikant|Mental|Mentaal
The Inspired Producer|De geinspireerde producer|Mental|Mentaal
The Creative Performer|De creatieve performer|Mental|Mentaal
The Creative Composer|De creatieve componist|Mental|Mentaal
The Creative Producer|De creatieve producer|Mental|Mentaal
The Master Musician|De meestermuzikant|Mental|Mentaal
The Confident Performer|De zelfverzekerde performer|Emotional|Emotioneel
Music for the Soul|Muziek voor de ziel|Spiritual|Spiritueel
Create from Within|Creeren van binnenuit|Spiritual|Spiritueel
Harmony & Inspiration|Harmonie & inspiratie|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const MUSIC_AUDIO_SESSION_DEFINITIONS = MUSIC_AUDIO_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 741, 852, 417, 963, 432, 396];
  const moods = ["Uplifting Electronic Ambient", "Cinematic Ambient", "Ambient", "Drone", "Binaural Deep Meditation", "Soft Soundscapes", "Meditation Bowls", "Theta Soundscape"];
  const accents = ["#38bdf8", "#facc15", "#a78bfa", "#22c55e", "#fb7185", "#14b8a6", "#f97316", "#60a5fa", "#ec4899", "#84cc16"];
  return {
    id: `music-audio-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 5) % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.8, 12.2, 13.6, 11.4, 14.6, 9.8, 12.8, 15.2, 11.8, 13.2, 10.4, 14.2][index % 12],
    style: 6700 + index
  };
});

const WRITING_STORYTELLING_TITLE_PAIRS = `
Creative Writing|Creatief schrijven|Mental|Mentaal
Writing Inspiration|Schrijfinspiratie|Mental|Mentaal
Writing Flow|Schrijfflow|Mental|Mentaal
Writer's Flow State|Flowstaat voor schrijvers|Mental|Mentaal
Inspired Writing|Geinspireerd schrijven|Mental|Mentaal
Writing Without Limits|Schrijven zonder grenzen|Mental|Mentaal
Writing Confidence|Schrijfvertrouwen|Emotional|Emotioneel
Fearless Writing|Onbevreesd schrijven|Emotional|Emotioneel
Authentic Writing|Authentiek schrijven|Emotional|Emotioneel
Express Yourself Through Writing|Druk jezelf uit via schrijven|Emotional|Emotioneel
Writing Clarity|Schrijfhelderheid|Mental|Mentaal
Clear Writing|Helder schrijven|Mental|Mentaal
Focused Writing|Gefocust schrijven|Mental|Mentaal
Deep Writing Focus|Diepe schrijffocus|Mental|Mentaal
Writing Momentum|Schrijfmomentum|Mental|Mentaal
Daily Writing Practice|Dagelijkse schrijfoefening|Mental|Mentaal
Writing Discipline|Schrijfdiscipline|Mental|Mentaal
Consistent Writing|Consistent schrijven|Mental|Mentaal
Finish Your Manuscript|Rond je manuscript af|Mental|Mentaal
Complete Your Book|Voltooi je boek|Mental|Mentaal
Writer's Mindset|Schrijversmindset|Mental|Mentaal
Author Mindset|Auteursmindset|Mental|Mentaal
Bestselling Author Mindset|Bestsellerauteursmindset|Mental|Mentaal
Professional Writer|Professionele schrijver|Mental|Mentaal
The Productive Writer|De productieve schrijver|Mental|Mentaal
Writing Excellence|Schrijfexcellentie|Mental|Mentaal
Master Your Writing|Beheers je schrijven|Mental|Mentaal
Creative Expression|Creatieve expressie|Emotional|Emotioneel
Creative Storytelling|Creatieve storytelling|Mental|Mentaal
Storytelling Flow|Storytelling-flow|Mental|Mentaal
Storytelling Mastery|Storytelling-meesterschap|Mental|Mentaal
Compelling Stories|Meeslepende verhalen|Mental|Mentaal
Powerful Storytelling|Krachtige storytelling|Mental|Mentaal
Narrative Flow|Narratieve flow|Mental|Mentaal
Narrative Creativity|Narratieve creativiteit|Mental|Mentaal
Story Development|Verhaalontwikkeling|Mental|Mentaal
Story Creation|Verhaalcreatie|Mental|Mentaal
Story Structure|Verhaalstructuur|Mental|Mentaal
Build Better Stories|Bouw betere verhalen|Mental|Mentaal
Plot Development|Plotontwikkeling|Mental|Mentaal
Plot Without Blocks|Plotten zonder blokkades|Mental|Mentaal
Character Creation|Personagecreatie|Mental|Mentaal
Character Development|Personageontwikkeling|Mental|Mentaal
Character Psychology|Personagepsychologie|Mental|Mentaal
Dialogue Flow|Dialoogflow|Mental|Mentaal
Creative Dialogue|Creatieve dialoog|Mental|Mentaal
Scene Building|Scèneopbouw|Mental|Mentaal
World Building|Wereldbouw|Mental|Mentaal
Fantasy Writing|Fantasy schrijven|Mental|Mentaal
Science Fiction Writing|Sciencefiction schrijven|Mental|Mentaal
Mystery Writing|Mystery schrijven|Mental|Mentaal
Romance Writing|Romantisch schrijven|Mental|Mentaal
Thriller Writing|Thriller schrijven|Mental|Mentaal
Children's Story Writing|Kinderverhalen schrijven|Mental|Mentaal
Screenwriting Inspiration|Scenario-inspiratie|Mental|Mentaal
Script Writing Flow|Scriptwriting-flow|Mental|Mentaal
Playwriting Creativity|Toneelschrijfcreativiteit|Mental|Mentaal
Novel Writing|Roman schrijven|Mental|Mentaal
Book Writing|Boek schrijven|Mental|Mentaal
Memoir Writing|Memoires schrijven|Emotional|Emotioneel
Autobiographical Writing|Autobiografisch schrijven|Emotional|Emotioneel
Journal Writing|Dagboekschrijven|Emotional|Emotioneel
Reflective Writing|Reflectief schrijven|Spiritual|Spiritueel
Healing Through Writing|Heling via schrijven|Spiritual|Spiritueel
Therapeutic Journaling|Therapeutisch journaling|Spiritual|Spiritueel
Gratitude Journaling|Dankbaarheidsjournaling|Spiritual|Spiritueel
Morning Pages|Morning pages|Spiritual|Spiritueel
Expressive Journaling|Expressief journaling|Emotional|Emotioneel
Copywriting Inspiration|Copywriting-inspiratie|Mental|Mentaal
Persuasive Writing|Overtuigend schrijven|Mental|Mentaal
Marketing Copy Flow|Marketingcopy-flow|Mental|Mentaal
Content Creation|Contentcreatie|Mental|Mentaal
Content Writing Flow|Contentwriting-flow|Mental|Mentaal
Blog Writing|Blogschrijven|Mental|Mentaal
Article Writing|Artikel schrijven|Mental|Mentaal
Newsletter Writing|Nieuwsbrief schrijven|Mental|Mentaal
Technical Writing|Technisch schrijven|Mental|Mentaal
Business Writing|Zakelijk schrijven|Mental|Mentaal
Professional Writing|Professioneel schrijven|Mental|Mentaal
Academic Writing|Academisch schrijven|Mental|Mentaal
Research Writing|Onderzoeksschrijven|Mental|Mentaal
Essay Writing|Essay schrijven|Mental|Mentaal
Presentation Writing|Presentatietekst schrijven|Mental|Mentaal
Speech Writing|Speech schrijven|Mental|Mentaal
Poetry Inspiration|Poëzie-inspiratie|Emotional|Emotioneel
Poetry Flow|Poëzieflow|Emotional|Emotioneel
Creative Poetry|Creatieve poëzie|Emotional|Emotioneel
Song Lyric Writing|Songteksten schrijven|Mental|Mentaal
Lyric Inspiration|Tekstinspiratie|Mental|Mentaal
Meaningful Words|Betekenisvolle woorden|Emotional|Emotioneel
Find Your Voice|Vind je stem|Emotional|Emotioneel
Authentic Voice|Authentieke stem|Emotional|Emotioneel
Confident Communication|Zelfverzekerde communicatie|Emotional|Emotioneel
Words That Inspire|Woorden die inspireren|Emotional|Emotioneel
Write with Passion|Schrijf met passie|Emotional|Emotioneel
Write from the Heart|Schrijf vanuit het hart|Emotional|Emotioneel
Write with Purpose|Schrijf met bedoeling|Spiritual|Spiritueel
Inspired Ideas|Geinspireerde ideeen|Mental|Mentaal
Idea Generation for Writers|Ideeengeneratie voor schrijvers|Mental|Mentaal
Creative Brainstorming|Creatieve brainstorm|Mental|Mentaal
Fresh Story Ideas|Frisse verhaalideeen|Mental|Mentaal
Infinite Inspiration|Oneindige inspiratie|Spiritual|Spiritueel
Silence Your Inner Critic|Breng je innerlijke criticus tot rust|Emotional|Emotioneel
Break Writer's Block|Writer's block doorbreken|Mental|Mentaal
Overcome Creative Blocks|Creatieve blokkades overwinnen|Mental|Mentaal
Finish What You Start|Maak af wat je begint|Mental|Mentaal
Edit with Clarity|Redigeren met helderheid|Mental|Mentaal
Creative Revision|Creatieve revisie|Mental|Mentaal
Refine Your Story|Verfijn je verhaal|Mental|Mentaal
Write Faster|Sneller schrijven|Mental|Mentaal
Deep Work for Writers|Deep work voor schrijvers|Mental|Mentaal
Focus for Authors|Focus voor auteurs|Mental|Mentaal
Peak Writing Performance|Piekprestatie in schrijven|Mental|Mentaal
Writing Productivity|Schrijfproductiviteit|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Writing Breakthrough|Schrijfdoorbraak|Mental|Mentaal
Storytelling Confidence|Storytellingvertrouwen|Emotional|Emotioneel
Emotional Storytelling|Emotionele storytelling|Emotional|Emotioneel
The Writer's Journey|De schrijversreis|Spiritual|Spiritueel
The Story Within|Het verhaal van binnen|Spiritual|Spiritueel
The Creative Author|De creatieve auteur|Mental|Mentaal
The Inspired Storyteller|De geinspireerde storyteller|Mental|Mentaal
The Confident Writer|De zelfverzekerde schrijver|Emotional|Emotioneel
The Master Storyteller|De meester-storyteller|Mental|Mentaal
Write Your Legacy|Schrijf je nalatenschap|Spiritual|Spiritueel
Create Stories That Matter|Creëer verhalen die ertoe doen|Spiritual|Spiritueel
Words with Impact|Woorden met impact|Mental|Mentaal
Influential Writing|Invloedrijk schrijven|Mental|Mentaal
Visionary Storytelling|Visionaire storytelling|Spiritual|Spiritueel
Transform Through Writing|Transformeer via schrijven|Spiritual|Spiritueel
Write Your Future|Schrijf je toekomst|Spiritual|Spiritueel
Stories That Heal|Verhalen die helen|Spiritual|Spiritueel
The Power of Words|De kracht van woorden|Spiritual|Spiritueel
Write Without Fear|Schrijf zonder angst|Emotional|Emotioneel
Write Every Day|Schrijf elke dag|Mental|Mentaal
Inspired Every Page|Elke pagina geinspireerd|Spiritual|Spiritueel
The Joy of Writing|De vreugde van schrijven|Emotional|Emotioneel
Writing for Success|Schrijven voor succes|Mental|Mentaal
Creative Mastery|Creatief meesterschap|Mental|Mentaal
Write in Flow|Schrijf in flow|Mental|Mentaal
Storytelling Without Limits|Storytelling zonder grenzen|Mental|Mentaal
Bring Ideas to Life|Breng ideeen tot leven|Mental|Mentaal
Create Your Masterpiece|Creëer je meesterwerk|Emotional|Emotioneel
From Blank Page to Brilliant Story|Van lege pagina naar briljant verhaal|Mental|Mentaal
Limitless Imagination|Grenzeloze verbeelding|Spiritual|Spiritueel
The Inspired Pen|De geinspireerde pen|Spiritual|Spiritueel
The Writer's Flow State|De flowstaat van de schrijver|Mental|Mentaal
Write with Confidence|Schrijf met vertrouwen|Emotional|Emotioneel
Master the Art of Storytelling|Beheers de kunst van storytelling|Mental|Mentaal
Creative Writing Accelerator|Versneller voor creatief schrijven|Mental|Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const WRITING_STORYTELLING_SESSION_DEFINITIONS = WRITING_STORYTELLING_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 741, 639, 852, 417, 963, 432, 396];
  const moods = ["Cinematic Ambient", "Ambient", "Theta Soundscape", "Soft Soundscapes", "Binaural Deep Meditation", "Uplifting Electronic Ambient", "Meditation Bowls", "Drone"];
  const accents = ["#facc15", "#38bdf8", "#a78bfa", "#f472b6", "#22c55e", "#fb7185", "#14b8a6", "#60a5fa", "#f97316", "#84cc16"];
  return {
    id: `writing-storytelling-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 7) % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.6, 12.0, 13.2, 11.2, 14.0, 9.6, 12.8, 14.6, 11.6, 13.6, 10.2, 14.2][index % 12],
    style: 6900 + index
  };
});

const BUSINESS_INNOVATION_TITLE_PAIRS = `
Business Innovation|Bedrijfsinnovatie|Mental|Mentaal
Innovation Mindset|Innovatiemindset|Mental|Mentaal
Innovative Thinking|Innovatief denken|Mental|Mentaal
Innovation Flow|Innovatieflow|Mental|Mentaal
Innovation Leadership|Innovatief leiderschap|Mental|Mentaal
Innovation Excellence|Innovatie-excellentie|Mental|Mentaal
Innovation Strategy|Innovatiestrategie|Mental|Mentaal
Innovation Accelerator|Innovatieversneller|Mental|Mentaal
Innovation Catalyst|Innovatiekatalysator|Mental|Mentaal
Future Innovation|Toekomstinnovatie|Mental|Mentaal
Creative Business Thinking|Creatief zakelijk denken|Mental|Mentaal
Creative Entrepreneurship|Creatief ondernemerschap|Mental|Mentaal
Entrepreneurial Mindset|Ondernemersmindset|Mental|Mentaal
Entrepreneurial Creativity|Ondernemende creativiteit|Mental|Mentaal
Business Creativity|Zakelijke creativiteit|Mental|Mentaal
Business Breakthrough|Zakelijke doorbraak|Mental|Mentaal
Business Growth Mindset|Zakelijke groeimindset|Mental|Mentaal
Business Expansion|Bedrijfsexpansie|Mental|Mentaal
Business Evolution|Bedrijfsevolutie|Mental|Mentaal
Next Level Business|Business naar het volgende niveau|Mental|Mentaal
Design Thinking|Designdenken|Mental|Mentaal
Strategic Thinking|Strategisch denken|Mental|Mentaal
Visionary Thinking|Visionair denken|Mental|Mentaal
Big Picture Thinking|Grote-lijn denken|Mental|Mentaal
Future Thinking|Toekomstgericht denken|Mental|Mentaal
Opportunity Thinking|Kansgericht denken|Mental|Mentaal
Opportunity Recognition|Kansen herkennen|Mental|Mentaal
Creative Strategy|Creatieve strategie|Mental|Mentaal
Strategic Innovation|Strategische innovatie|Mental|Mentaal
Business Vision|Zakelijke visie|Mental|Mentaal
Idea Generation|Ideeengeneratie|Mental|Mentaal
Idea Factory|Ideeenfabriek|Mental|Mentaal
Idea Accelerator|Ideeenversneller|Mental|Mentaal
Fresh Business Ideas|Frisse zakelijke ideeen|Mental|Mentaal
Innovative Ideas|Innovatieve ideeen|Mental|Mentaal
Creative Concepts|Creatieve concepten|Mental|Mentaal
Concept Development|Conceptontwikkeling|Mental|Mentaal
Concept Validation|Conceptvalidatie|Mental|Mentaal
Breakthrough Concepts|Doorbraakconcepten|Mental|Mentaal
Vision to Reality|Van visie naar werkelijkheid|Mental|Mentaal
Problem Solving|Probleemoplossing|Mental|Mentaal
Creative Problem Solving|Creatieve probleemoplossing|Mental|Mentaal
Complex Problem Solving|Complexe probleemoplossing|Mental|Mentaal
Innovative Solutions|Innovatieve oplossingen|Mental|Mentaal
Solution Thinking|Oplossingsgericht denken|Mental|Mentaal
Solution Design|Oplossingsdesign|Mental|Mentaal
Breakthrough Solutions|Doorbraakoplossingen|Mental|Mentaal
Decision Innovation|Innovatieve besluitvorming|Mental|Mentaal
Decision Clarity|Besluithelderheid|Mental|Mentaal
Business Decisions|Zakelijke beslissingen|Mental|Mentaal
Business Focus|Zakelijke focus|Mental|Mentaal
Executive Focus|Executive focus|Mental|Mentaal
CEO Mindset|CEO-mindset|Mental|Mentaal
Founder Mindset|Foundermindset|Mental|Mentaal
Leadership Focus|Leiderschapsfocus|Mental|Mentaal
Executive Presence|Executive presence|Mental|Mentaal
Executive Performance|Executive prestatie|Mental|Mentaal
Peak Business Performance|Zakelijke piekprestatie|Mental|Mentaal
High Performance Leadership|High-performance leiderschap|Mental|Mentaal
Professional Excellence|Professionele excellentie|Mental|Mentaal
Growth Strategy|Groeistrategie|Mental|Mentaal
Business Scaling|Business schalen|Mental|Mentaal
Scale Your Business|Schaal je bedrijf|Mental|Mentaal
Business Transformation|Bedrijfstransformatie|Mental|Mentaal
Business Reinvention|Bedrijfsheruitvinding|Mental|Mentaal
Business Optimization|Bedrijfsoptimalisatie|Mental|Mentaal
Continuous Improvement|Continue verbetering|Mental|Mentaal
Operational Excellence|Operationele excellentie|Mental|Mentaal
Lean Thinking|Lean denken|Mental|Mentaal
Agile Thinking|Agile denken|Mental|Mentaal
Startup Success|Start-up succes|Mental|Mentaal
Startup Innovation|Start-up innovatie|Mental|Mentaal
Startup Focus|Start-up focus|Mental|Mentaal
Build Your Startup|Bouw je start-up|Mental|Mentaal
Startup Vision|Start-up visie|Mental|Mentaal
Launch with Confidence|Lanceren met vertrouwen|Emotional|Emotioneel
Business Launch|Businesslancering|Mental|Mentaal
Go-to-Market Focus|Go-to-market focus|Mental|Mentaal
Product Launch Success|Succesvolle productlancering|Mental|Mentaal
Innovation Sprint|Innovatiesprint|Mental|Mentaal
Product Development|Productontwikkeling|Mental|Mentaal
Product Innovation|Productinnovatie|Mental|Mentaal
Customer-Centered Innovation|Klantgerichte innovatie|Mental|Mentaal
User Experience Thinking|User experience denken|Mental|Mentaal
Customer Insight|Klantinzicht|Mental|Mentaal
Market Insight|Marktinzicht|Mental|Mentaal
Consumer Understanding|Consumentenbegrip|Mental|Mentaal
Business Intelligence|Business intelligence|Mental|Mentaal
Market Awareness|Marktbewustzijn|Mental|Mentaal
Competitive Advantage|Concurrentievoordeel|Mental|Mentaal
Strategic Planning|Strategische planning|Mental|Mentaal
Business Planning|Businessplanning|Mental|Mentaal
Long-Term Vision|Langetermijnvisie|Mental|Mentaal
Visionary Leadership|Visionair leiderschap|Mental|Mentaal
Mission & Purpose|Missie & doel|Spiritual|Spiritueel
Purpose-Driven Business|Doelgedreven business|Spiritual|Spiritueel
Values-Based Leadership|Waardengedreven leiderschap|Spiritual|Spiritueel
Conscious Leadership|Bewust leiderschap|Spiritual|Spiritueel
Authentic Leadership|Authentiek leiderschap|Spiritual|Spiritueel
Ethical Innovation|Ethische innovatie|Spiritual|Spiritueel
Creative Leadership|Creatief leiderschap|Mental|Mentaal
Inspirational Leadership|Inspirerend leiderschap|Emotional|Emotioneel
Empowered Leadership|Bekrachtigd leiderschap|Emotional|Emotioneel
Confident Leadership|Zelfverzekerd leiderschap|Emotional|Emotioneel
Decision Confidence|Besluitvertrouwen|Emotional|Emotioneel
Influential Leadership|Invloedrijk leiderschap|Mental|Mentaal
Lead with Vision|Leid met visie|Spiritual|Spiritueel
Lead with Purpose|Leid met bedoeling|Spiritual|Spiritueel
Lead Through Change|Leid door verandering|Mental|Mentaal
Adaptive Leadership|Adaptief leiderschap|Mental|Mentaal
Collaboration & Innovation|Samenwerking & innovatie|Mental|Mentaal
Team Creativity|Teamcreativiteit|Mental|Mentaal
Innovation Culture|Innovatiecultuur|Mental|Mentaal
Creative Collaboration|Creatieve samenwerking|Mental|Mentaal
Brainstorming Mastery|Brainstormmeesterschap|Mental|Mentaal
Think Tank Mode|Thinktank-modus|Mental|Mentaal
Collective Intelligence|Collectieve intelligentie|Mental|Mentaal
Collaborative Problem Solving|Samenwerkend probleemoplossen|Mental|Mentaal
Innovation Workshop|Innovatieworkshop|Mental|Mentaal
Creative Meetings|Creatieve meetings|Mental|Mentaal
AI Innovation|AI-innovatie|Mental|Mentaal
Digital Innovation|Digitale innovatie|Mental|Mentaal
Technology Leadership|Technologisch leiderschap|Mental|Mentaal
Future Business|Toekomstbestendige business|Mental|Mentaal
Business in the AI Era|Business in het AI-tijdperk|Mental|Mentaal
Digital Transformation|Digitale transformatie|Mental|Mentaal
Innovation Through Technology|Innovatie via technologie|Mental|Mentaal
Smart Business|Slimme business|Mental|Mentaal
Data-Driven Thinking|Datagedreven denken|Mental|Mentaal
Systems Thinking|Systeemdenken|Mental|Mentaal
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Fearless Innovation|Onbevreesde innovatie|Emotional|Emotioneel
Overcome Creative Blocks|Creatieve blokkades overwinnen|Mental|Mentaal
Break Mental Barriers|Mentale barrieres doorbreken|Mental|Mentaal
Challenge the Status Quo|Daag de status quo uit|Mental|Mentaal
Think Beyond Limits|Denk voorbij grenzen|Mental|Mentaal
Limitless Innovation|Grenzeloze innovatie|Mental|Mentaal
Innovate Without Fear|Innoveer zonder angst|Emotional|Emotioneel
Resilient Entrepreneurship|Veerkrachtig ondernemerschap|Emotional|Emotioneel
Entrepreneurial Resilience|Ondernemersveerkracht|Emotional|Emotioneel
Flow for Business|Flow voor business|Mental|Mentaal
Deep Work for Entrepreneurs|Deep work voor ondernemers|Mental|Mentaal
Peak Productivity|Piekproductiviteit|Mental|Mentaal
Business Flow State|Business flowstaat|Mental|Mentaal
Innovation in Flow|Innovatie in flow|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Execution Excellence|Executie-excellentie|Mental|Mentaal
From Vision to Action|Van visie naar actie|Mental|Mentaal
Make It Happen|Maak het waar|Mental|Mentaal
Focused Execution|Gefocuste uitvoering|Mental|Mentaal
Business Communication|Zakelijke communicatie|Mental|Mentaal
Persuasive Communication|Overtuigende communicatie|Mental|Mentaal
Negotiation Confidence|Onderhandelingsvertrouwen|Emotional|Emotioneel
Sales Innovation|Salesinnovatie|Mental|Mentaal
Marketing Innovation|Marketinginnovatie|Mental|Mentaal
Brand Innovation|Merkinnovatie|Mental|Mentaal
Storytelling for Business|Storytelling voor business|Mental|Mentaal
Business Influence|Zakelijke invloed|Mental|Mentaal
Presentation Excellence|Presentatie-excellentie|Mental|Mentaal
Pitch with Confidence|Pitchen met vertrouwen|Emotional|Emotioneel
Sustainable Innovation|Duurzame innovatie|Spiritual|Spiritueel
Purposeful Innovation|Doelgerichte innovatie|Spiritual|Spiritueel
Regenerative Business|Regeneratieve business|Spiritual|Spiritueel
Conscious Entrepreneurship|Bewust ondernemerschap|Spiritual|Spiritueel
Business with Impact|Business met impact|Spiritual|Spiritueel
Legacy Building|Nalatenschap bouwen|Spiritual|Spiritueel
Create Lasting Value|Blijvende waarde creeren|Spiritual|Spiritueel
Visionary Entrepreneurship|Visionair ondernemerschap|Spiritual|Spiritueel
The Future Creator|De toekomstcreator|Spiritual|Spiritueel
Innovate for Tomorrow|Innoveer voor morgen|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const BUSINESS_INNOVATION_SESSION_DEFINITIONS = BUSINESS_INNOVATION_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 741, 852, 639, 417, 963, 432, 396];
  const moods = ["Uplifting Electronic Ambient", "Cinematic Ambient", "Ambient", "Drone", "Soft Soundscapes", "Binaural Deep Meditation", "Theta Soundscape", "Meditation Bowls"];
  const accents = ["#facc15", "#38bdf8", "#22c55e", "#f97316", "#a78bfa", "#14b8a6", "#fb7185", "#60a5fa", "#84cc16", "#ec4899"];
  return {
    id: `business-innovation-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 5) % carriers.length],
    mood: moods[(index * 7) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [11.0, 12.4, 13.8, 11.6, 14.8, 10.2, 13.2, 15.2, 12.0, 14.0, 10.8, 14.4][index % 12],
    style: 7100 + index
  };
});

const PROBLEM_SOLVING_TITLE_PAIRS = `
Problem Solving|Probleemoplossing|Mental|Mentaal
Creative Problem Solving|Creatieve probleemoplossing|Mental|Mentaal
Strategic Problem Solving|Strategische probleemoplossing|Mental|Mentaal
Complex Problem Solving|Complexe probleemoplossing|Mental|Mentaal
Analytical Problem Solving|Analytische probleemoplossing|Mental|Mentaal
Systematic Problem Solving|Systematische probleemoplossing|Mental|Mentaal
Solution-Oriented Thinking|Oplossingsgericht denken|Mental|Mentaal
Solution Finder|Oplossingsvinder|Mental|Mentaal
Solution Focus|Oplossingsfocus|Mental|Mentaal
Solution Mindset|Oplossingsmindset|Mental|Mentaal
Solution Design|Oplossingsontwerp|Mental|Mentaal
Innovative Solutions|Innovatieve oplossingen|Mental|Mentaal
Breakthrough Solutions|Doorbraakoplossingen|Mental|Mentaal
Practical Solutions|Praktische oplossingen|Mental|Mentaal
Smart Solutions|Slimme oplossingen|Mental|Mentaal
Find the Right Solution|Vind de juiste oplossing|Mental|Mentaal
Decision Clarity|Besluithelderheid|Mental|Mentaal
Confident Decision Making|Zelfverzekerde besluitvorming|Mental|Mentaal
Strategic Decision Making|Strategische besluitvorming|Mental|Mentaal
Effective Decision Making|Effectieve besluitvorming|Mental|Mentaal
Better Decisions|Betere beslissingen|Mental|Mentaal
Clear Decisions|Heldere beslissingen|Mental|Mentaal
Wise Decisions|Wijze beslissingen|Mental|Mentaal
Fast Decision Making|Snelle besluitvorming|Mental|Mentaal
Critical Thinking|Kritisch denken|Mental|Mentaal
Logical Thinking|Logisch denken|Mental|Mentaal
Analytical Thinking|Analytisch denken|Mental|Mentaal
Strategic Thinking|Strategisch denken|Mental|Mentaal
Systems Thinking|Systeemdenken|Mental|Mentaal
Big Picture Thinking|Grote-lijn denken|Mental|Mentaal
Holistic Thinking|Holistisch denken|Mental|Mentaal
Lateral Thinking|Lateraal denken|Mental|Mentaal
Divergent Thinking|Divergent denken|Mental|Mentaal
Convergent Thinking|Convergent denken|Mental|Mentaal
Flexible Thinking|Flexibel denken|Mental|Mentaal
Adaptive Thinking|Adaptief denken|Mental|Mentaal
Creative Thinking|Creatief denken|Mental|Mentaal
Innovative Thinking|Innovatief denken|Mental|Mentaal
Out-of-the-Box Thinking|Buiten-de-kaders denken|Mental|Mentaal
Think Differently|Denk anders|Mental|Mentaal
Think Beyond Limits|Denk voorbij grenzen|Mental|Mentaal
Mental Flexibility|Mentale flexibiliteit|Mental|Mentaal
Mental Agility|Mentale wendbaarheid|Mental|Mentaal
Strategic Insight|Strategisch inzicht|Mental|Mentaal
Business Insight|Zakelijk inzicht|Mental|Mentaal
Insight & Clarity|Inzicht & helderheid|Mental|Mentaal
Gain New Perspectives|Nieuwe perspectieven krijgen|Mental|Mentaal
Perspective Shift|Perspectiefverschuiving|Mental|Mentaal
Fresh Perspective|Fris perspectief|Mental|Mentaal
Perspective Expansion|Perspectiefverruiming|Mental|Mentaal
Challenge Assumptions|Aannames uitdagen|Mental|Mentaal
Question Everything|Bevraag alles|Mental|Mentaal
See the Bigger Picture|Zie het grotere geheel|Mental|Mentaal
Connect the Dots|Verbind de punten|Mental|Mentaal
Pattern Recognition|Patroonherkenning|Mental|Mentaal
Opportunity Recognition|Kansen herkennen|Mental|Mentaal
Opportunity Thinking|Kansgericht denken|Mental|Mentaal
Root Cause Analysis|Oorzaakanalyse|Mental|Mentaal
Identify the Core Issue|Identificeer de kernkwestie|Mental|Mentaal
Problem Analysis|Probleemanalyse|Mental|Mentaal
Think Like a Detective|Denk als een detective|Mental|Mentaal
Cause & Effect Thinking|Oorzaak-en-gevolg denken|Mental|Mentaal
Strategic Analysis|Strategische analyse|Mental|Mentaal
Mental Clarity|Mentale helderheid|Mental|Mentaal
Clear Thinking|Helder denken|Mental|Mentaal
Focused Thinking|Gefocust denken|Mental|Mentaal
Deep Thinking|Diep denken|Mental|Mentaal
Deep Work|Deep work|Mental|Mentaal
Concentrated Thinking|Geconcentreerd denken|Mental|Mentaal
Quiet the Mind|Breng de geest tot rust|Mental|Mentaal
Calm Thinking|Kalm denken|Mental|Mentaal
Mental Reset|Mentale reset|Mental|Mentaal
Mental Organization|Mentale organisatie|Mental|Mentaal
Organized Thinking|Georganiseerd denken|Mental|Mentaal
Structured Thinking|Gestructureerd denken|Mental|Mentaal
Clear Priorities|Heldere prioriteiten|Mental|Mentaal
Prioritization Mastery|Prioriteiten stellen beheersen|Mental|Mentaal
Strategic Planning|Strategische planning|Mental|Mentaal
Action Planning|Actieplanning|Mental|Mentaal
Execution Planning|Uitvoeringsplanning|Mental|Mentaal
Implementation Strategy|Implementatiestrategie|Mental|Mentaal
From Problem to Solution|Van probleem naar oplossing|Mental|Mentaal
From Challenge to Opportunity|Van uitdaging naar kans|Mental|Mentaal
Overcome Obstacles|Obstakels overwinnen|Mental|Mentaal
Navigate Complexity|Complexiteit navigeren|Mental|Mentaal
Master Complex Challenges|Complexe uitdagingen beheersen|Mental|Mentaal
Challenge Accepted|Uitdaging aanvaard|Emotional|Emotioneel
Resilient Thinking|Veerkrachtig denken|Mental|Mentaal
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Stay Calm Under Pressure|Kalm blijven onder druk|Emotional|Emotioneel
Calm Under Pressure|Kalm onder druk|Emotional|Emotioneel
Composed Decision Making|Beheerste besluitvorming|Emotional|Emotioneel
Confidence Under Pressure|Zelfvertrouwen onder druk|Emotional|Emotioneel
Think with Confidence|Denk met vertrouwen|Emotional|Emotioneel
Trust Your Judgment|Vertrouw op je oordeel|Emotional|Emotioneel
Trust Your Intuition|Vertrouw op je intuitie|Spiritual|Spiritueel
Intuitive Decision Making|Intuitieve besluitvorming|Spiritual|Spiritueel
Intuition & Logic|Intuitie & logica|Spiritual/Mental|Spiritueel/Mentaal
Wise Problem Solving|Wijze probleemoplossing|Spiritual|Spiritueel
Inner Wisdom|Innerlijke wijsheid|Spiritual|Spiritueel
Creative Insight|Creatief inzicht|Spiritual|Spiritueel
Inspired Solutions|Geinspireerde oplossingen|Spiritual|Spiritueel
Inspired Decisions|Geinspireerde beslissingen|Spiritual|Spiritueel
Innovation Flow|Innovatieflow|Mental|Mentaal
Brainstorm Mode|Brainstormmodus|Mental|Mentaal
Brainstorming Flow|Brainstormflow|Mental|Mentaal
Idea Generation|Ideeengeneratie|Mental|Mentaal
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Break Mental Blocks|Mentale blokkades doorbreken|Mental|Mentaal
Break Through Challenges|Door uitdagingen heen breken|Mental|Mentaal
Unlock New Possibilities|Nieuwe mogelijkheden ontsluiten|Mental|Mentaal
Limitless Thinking|Grenzeloos denken|Mental|Mentaal
Future Thinking|Toekomstgericht denken|Mental|Mentaal
Visionary Thinking|Visionair denken|Mental|Mentaal
Future Solutions|Toekomstoplossingen|Mental|Mentaal
The Strategic Mind|De strategische geest|Mental|Mentaal
The Innovative Mind|De innovatieve geest|Mental|Mentaal
The Problem Solver|De probleemoplosser|Mental|Mentaal
Master Problem Solver|Meester-probleemoplosser|Mental|Mentaal
Peak Problem Solving|Piekprobleemoplossing|Mental|Mentaal
Peak Mental Performance|Mentale piekprestatie|Mental|Mentaal
Executive Thinking|Executive denken|Mental|Mentaal
Executive Decision Making|Executive besluitvorming|Mental|Mentaal
Leadership Decisions|Leiderschapsbeslissingen|Mental|Mentaal
Business Problem Solving|Zakelijke probleemoplossing|Mental|Mentaal
Engineering Mindset|Engineering mindset|Mental|Mentaal
Scientific Thinking|Wetenschappelijk denken|Mental|Mentaal
Research Mindset|Onderzoeksmindset|Mental|Mentaal
Data-Informed Thinking|Datageinformeerd denken|Mental|Mentaal
Evidence-Based Decisions|Evidence-based beslissingen|Mental|Mentaal
Smart Decision Framework|Slim besluitvormingskader|Mental|Mentaal
Clarity Before Action|Helderheid voor actie|Mental|Mentaal
Think. Decide. Act.|Denk. Beslis. Handel.|Mental|Mentaal
Solve with Confidence|Oplossen met vertrouwen|Emotional|Emotioneel
From Chaos to Clarity|Van chaos naar helderheid|Mental|Mentaal
Simplify Complexity|Complexiteit vereenvoudigen|Mental|Mentaal
The Solution Path|Het oplossingspad|Mental|Mentaal
Master Every Challenge|Beheers elke uitdaging|Mental|Mentaal
Create Better Outcomes|Creëer betere uitkomsten|Mental|Mentaal
Winning Solutions|Winnende oplossingen|Mental|Mentaal
Strategic Success|Strategisch succes|Mental|Mentaal
Decision Excellence|Besluitvormingsexcellentie|Mental|Mentaal
The Clarity Protocol|Het helderheidsprotocol|Mental|Mentaal
The Breakthrough Protocol|Het doorbraakprotocol|Mental|Mentaal
The Solution Accelerator|De oplossingsversneller|Mental|Mentaal
Think Smarter|Denk slimmer|Mental|Mentaal
Solve Smarter|Los slimmer op|Mental|Mentaal
Brilliant Solutions|Briljante oplossingen|Mental|Mentaal
Innovation Without Limits|Innovatie zonder grenzen|Mental|Mentaal
Master the Impossible|Beheers het onmogelijke|Emotional|Emotioneel
Unlock Your Genius|Ontsluit je genialiteit|Mental|Mentaal
The Next Best Step|De volgende beste stap|Mental|Mentaal
Every Problem Has a Solution|Elk probleem heeft een oplossing|Emotional|Emotioneel
Clarity Creates Success|Helderheid creëert succes|Mental|Mentaal
The Power of Clear Thinking|De kracht van helder denken|Mental|Mentaal
Beyond the Obstacle|Voorbij het obstakel|Emotional|Emotioneel
Transform Challenges into Opportunities|Transformeer uitdagingen in kansen|Mental|Mentaal
Create Solutions That Matter|Creëer oplossingen die ertoe doen|Spiritual|Spiritueel
Purpose-Driven Solutions|Doelgedreven oplossingen|Spiritual|Spiritueel
Lead Through Complexity|Leid door complexiteit|Mental|Mentaal
Think Like a Visionary|Denk als een visionair|Mental|Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const PROBLEM_SOLVING_SESSION_DEFINITIONS = PROBLEM_SOLVING_TITLE_PAIRS.map((item, index) => {
  const carriers = [741, 852, 528, 639, 417, 963, 432, 396];
  const moods = ["Cinematic Ambient", "Uplifting Electronic Ambient", "Ambient", "Drone", "Theta Soundscape", "Binaural Deep Meditation", "Soft Soundscapes", "Meditation Bowls"];
  const accents = ["#38bdf8", "#facc15", "#22c55e", "#a78bfa", "#f97316", "#14b8a6", "#fb7185", "#60a5fa", "#84cc16", "#ec4899"];
  return {
    id: `problem-solving-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 3) % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.8, 12.2, 13.6, 11.4, 14.8, 10.0, 13.0, 15.0, 11.8, 14.2, 10.6, 14.6][index % 12],
    style: 7300 + index
  };
});

const FLOW_INSPIRATION_TITLE_PAIRS = `
Enter the Flow State|Kom in de flowstaat|Mental|Mentaal
Flow State Activation|Flowstaat-activatie|Mental|Mentaal
Deep Flow|Diepe flow|Mental|Mentaal
Peak Flow|Piekflow|Mental|Mentaal
Effortless Flow|Moeiteloze flow|Mental|Mentaal
Creative Flow|Creatieve flow|Mental|Mentaal
Productive Flow|Productieve flow|Mental|Mentaal
Performance Flow|Prestatieflow|Mental|Mentaal
Natural Flow|Natuurlijke flow|Spiritual|Spiritueel
Flow Without Effort|Flow zonder moeite|Mental|Mentaal
Stay in Flow|Blijf in flow|Mental|Mentaal
Sustained Flow|Aanhoudende flow|Mental|Mentaal
Flow All Day|Flow de hele dag|Mental|Mentaal
Flow on Demand|Flow op afroep|Mental|Mentaal
Flow Under Pressure|Flow onder druk|Mental|Mentaal
Peak Performance Flow|Piekprestatieflow|Mental|Mentaal
Elite Flow State|Elite flowstaat|Mental|Mentaal
Master Your Flow|Beheers je flow|Mental|Mentaal
The Flow Mindset|De flowmindset|Mental|Mentaal
Flow Mastery|Flowmeesterschap|Mental|Mentaal
Inspired Thinking|Geinspireerd denken|Mental|Mentaal
Inspired Action|Geinspireerde actie|Mental|Mentaal
Inspired Living|Geinspireerd leven|Spiritual|Spiritueel
Inspired Creativity|Geinspireerde creativiteit|Spiritual|Spiritueel
Inspired Performance|Geinspireerde prestatie|Emotional|Emotioneel
Inspired Decisions|Geinspireerde beslissingen|Spiritual|Spiritueel
Inspired Vision|Geinspireerde visie|Spiritual|Spiritueel
Inspired Leadership|Geinspireerd leiderschap|Spiritual|Spiritueel
Inspired Innovation|Geinspireerde innovatie|Mental|Mentaal
Inspired Success|Geinspireerd succes|Emotional|Emotioneel
Creative Inspiration|Creatieve inspiratie|Mental|Mentaal
Endless Inspiration|Eindeloze inspiratie|Spiritual|Spiritueel
Infinite Inspiration|Oneindige inspiratie|Spiritual|Spiritueel
Daily Inspiration|Dagelijkse inspiratie|Spiritual|Spiritueel
Fresh Inspiration|Frisse inspiratie|Mental|Mentaal
Spark of Inspiration|Inspiratievonk|Mental|Mentaal
Creative Spark|Creatieve vonk|Mental|Mentaal
Ignite Your Creativity|Ontsteek je creativiteit|Mental|Mentaal
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Break Creative Blocks|Creatieve blokkades doorbreken|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Momentum Builder|Momentumbouwer|Mental|Mentaal
Build Momentum|Bouw momentum op|Mental|Mentaal
Forward Momentum|Voorwaarts momentum|Mental|Mentaal
Positive Momentum|Positief momentum|Emotional|Emotioneel
Creative Energy|Creatieve energie|Mental|Mentaal
Inspired Momentum|Geinspireerd momentum|Spiritual|Spiritueel
Momentum for Success|Momentum voor succes|Mental|Mentaal
The Momentum Effect|Het momentumeffect|Mental|Mentaal
Keep Moving Forward|Blijf vooruitgaan|Emotional|Emotioneel
Deep Focus Flow|Diepe focusflow|Mental|Mentaal
Focused Inspiration|Gefocuste inspiratie|Mental|Mentaal
Concentrated Creativity|Geconcentreerde creativiteit|Mental|Mentaal
Deep Creative Work|Diep creatief werk|Mental|Mentaal
Creative Productivity|Creatieve productiviteit|Mental|Mentaal
Productivity in Flow|Productiviteit in flow|Mental|Mentaal
The Productive Mind|De productieve geest|Mental|Mentaal
Deep Work Mode|Deep-workmodus|Mental|Mentaal
Laser Focus|Laserfocus|Mental|Mentaal
Effortless Concentration|Moeiteloze concentratie|Mental|Mentaal
Intuitive Flow|Intuitieve flow|Spiritual|Spiritueel
Inner Guidance|Innerlijke leiding|Spiritual|Spiritueel
Trust Your Intuition|Vertrouw op je intuitie|Spiritual|Spiritueel
Creative Intuition|Creatieve intuitie|Spiritual|Spiritueel
Inspired Intuition|Geinspireerde intuitie|Spiritual|Spiritueel
Wisdom in Flow|Wijsheid in flow|Spiritual|Spiritueel
Follow Your Inspiration|Volg je inspiratie|Spiritual|Spiritueel
Inner Knowing|Innerlijk weten|Spiritual|Spiritueel
Divine Inspiration|Goddelijke inspiratie|Spiritual|Spiritueel
Inspired Awareness|Geinspireerd bewustzijn|Spiritual|Spiritueel
Flow for Artists|Flow voor kunstenaars|Mental|Mentaal
Flow for Writers|Flow voor schrijvers|Mental|Mentaal
Flow for Musicians|Flow voor muzikanten|Mental|Mentaal
Flow for Designers|Flow voor ontwerpers|Mental|Mentaal
Flow for Entrepreneurs|Flow voor ondernemers|Mental|Mentaal
Flow for Leaders|Flow voor leiders|Mental|Mentaal
Flow for Students|Flow voor studenten|Mental|Mentaal
Flow for Athletes|Flow voor atleten|Mental|Mentaal
Flow for Speakers|Flow voor sprekers|Mental|Mentaal
Flow for Creators|Flow voor creators|Mental|Mentaal
Creative Freedom|Creatieve vrijheid|Emotional|Emotioneel
Freedom to Create|Vrijheid om te creeren|Emotional|Emotioneel
Express Yourself Freely|Druk jezelf vrij uit|Emotional|Emotioneel
Authentic Expression|Authentieke expressie|Spiritual|Spiritueel
Fearless Creativity|Onbevreesde creativiteit|Emotional|Emotioneel
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Confident Creation|Zelfverzekerd creeren|Emotional|Emotioneel
Unleash Your Potential|Ontketen je potentieel|Emotional|Emotioneel
Limitless Creativity|Grenzeloze creativiteit|Mental|Mentaal
Create Without Limits|Creeren zonder grenzen|Mental|Mentaal
Visionary Thinking|Visionair denken|Mental|Mentaal
Visionary Creativity|Visionaire creativiteit|Spiritual|Spiritueel
Expand Your Vision|Vergroot je visie|Spiritual|Spiritueel
Expand Your Mind|Vergroot je geest|Mental|Mentaal
Open Creative Awareness|Open creatief bewustzijn|Spiritual|Spiritueel
New Possibilities|Nieuwe mogelijkheden|Mental|Mentaal
Possibility Thinking|Mogelijkheidsdenken|Mental|Mentaal
Explore New Ideas|Verken nieuwe ideeen|Mental|Mentaal
Think Beyond Boundaries|Denk voorbij grenzen|Mental|Mentaal
Open to Inspiration|Open voor inspiratie|Spiritual|Spiritueel
Creative Presence|Creatieve aanwezigheid|Spiritual|Spiritueel
Present Moment Flow|Flow in het huidige moment|Spiritual|Spiritueel
Mindful Creativity|Mindful creativiteit|Spiritual|Spiritueel
Mindful Performance|Mindful prestatie|Spiritual|Spiritueel
Calm Creative Mind|Kalme creatieve geest|Spiritual|Spiritueel
Relaxed Focus|Ontspannen focus|Mental|Mentaal
Centered Performance|Gecentreerde prestatie|Spiritual|Spiritueel
Stillness Before Action|Stilte voor actie|Spiritual|Spiritueel
Quiet the Inner Critic|Breng de innerlijke criticus tot rust|Emotional|Emotioneel
Calm the Creative Mind|Kalmeer de creatieve geest|Spiritual|Spiritueel
High Energy Flow|High-energy flow|Physical|Fysiek
Vital Creative Energy|Vitale creatieve energie|Physical|Fysiek
Dynamic Performance|Dynamische prestatie|Physical|Fysiek
Energized Creativity|Energized creativiteit|Physical|Fysiek
Physical Readiness|Fysieke paraatheid|Physical|Fysiek
Mind-Body Flow|Mind-body flow|Spiritual|Spiritueel
Whole Brain Flow|Hele-brein flow|Mental|Mentaal
Integrated Thinking|Geintegreerd denken|Mental|Mentaal
Balanced Performance|Gebalanceerde prestatie|Mental|Mentaal
Optimal Performance State|Optimale prestatiestaat|Mental|Mentaal
Unlock Inspiration|Ontsluit inspiratie|Spiritual|Spiritueel
Unlock Your Genius|Ontsluit je genialiteit|Mental|Mentaal
Unlock Hidden Potential|Ontsluit verborgen potentieel|Spiritual|Spiritueel
Awaken Creativity|Wek creativiteit|Spiritual|Spiritueel
Awaken Your Vision|Wek je visie|Spiritual|Spiritueel
Creative Awakening|Creatief ontwaken|Spiritual|Spiritueel
Flow of Abundance|Flow van overvloed|Spiritual|Spiritueel
Abundant Creativity|Overvloedige creativiteit|Spiritual|Spiritueel
Inspired Manifestation|Geinspireerde manifestatie|Spiritual|Spiritueel
Purpose-Driven Creativity|Doelgedreven creativiteit|Spiritual|Spiritueel
The Creative Zone|De creatieve zone|Mental|Mentaal
The Inspiration Zone|De inspiratiezone|Spiritual|Spiritueel
The Genius Zone|De geniuszone|Mental|Mentaal
The Creator Within|De creator van binnen|Spiritual|Spiritueel
The Inspired Mind|De geinspireerde geest|Mental|Mentaal
The Visionary Mind|De visionaire geest|Mental|Mentaal
The Flow Experience|De flowervaring|Mental|Mentaal
The State of Inspiration|De staat van inspiratie|Spiritual|Spiritueel
The Power of Flow|De kracht van flow|Mental|Mentaal
The Joy of Creating|De vreugde van creeren|Emotional|Emotioneel
Rise Above Limitations|Stijg boven beperkingen uit|Emotional|Emotioneel
Elevate Your Creativity|Verhoog je creativiteit|Spiritual|Spiritueel
Elevate Your Performance|Verhoog je prestatie|Mental|Mentaal
Elevate Your Thinking|Verhoog je denken|Mental|Mentaal
Create Extraordinary Results|Creëer buitengewone resultaten|Mental|Mentaal
Inspired Excellence|Geinspireerde excellentie|Mental|Mentaal
Creative Mastery|Creatief meesterschap|Mental|Mentaal
Master the Flow State|Beheers de flowstaat|Mental|Mentaal
Flow to Success|Flow naar succes|Mental|Mentaal
From Inspiration to Action|Van inspiratie naar actie|Mental|Mentaal
From Vision to Reality|Van visie naar werkelijkheid|Mental|Mentaal
Live Inspired|Leef geinspireerd|Spiritual|Spiritueel
Inspired Every Day|Elke dag geinspireerd|Spiritual|Spiritueel
The Infinite Creative Mind|De oneindige creatieve geest|Spiritual|Spiritueel
Become Unstoppable|Word niet te stoppen|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const FLOW_INSPIRATION_SESSION_DEFINITIONS = FLOW_INSPIRATION_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 852, 741, 639, 963, 417, 432, 396];
  const moods = ["Uplifting Electronic Ambient", "Cinematic Ambient", "Ambient", "Theta Soundscape", "Binaural Deep Meditation", "Soft Soundscapes", "Drone", "Meditation Bowls"];
  const accents = ["#22c55e", "#38bdf8", "#facc15", "#a78bfa", "#f472b6", "#14b8a6", "#f97316", "#60a5fa", "#84cc16", "#ec4899"];
  return {
    id: `flow-inspiration-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 5) % carriers.length],
    mood: moods[(index * 7) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.8, 12.0, 13.4, 11.6, 14.4, 9.8, 12.8, 15.0, 11.2, 13.8, 10.4, 14.8][index % 12],
    style: 7500 + index
  };
});

const IMAGINATION_INTUITION_TITLE_PAIRS = `
Limitless Imagination|Grenzeloze verbeelding|Mental|Mentaal
Infinite Imagination|Oneindige verbeelding|Spiritual|Spiritueel
Creative Imagination|Creatieve verbeelding|Mental|Mentaal
Vivid Imagination|Levendige verbeelding|Mental|Mentaal
Expand Your Imagination|Vergroot je verbeelding|Mental|Mentaal
Imagination Unleashed|Ontketende verbeelding|Mental|Mentaal
Imaginative Thinking|Verbeeldend denken|Mental|Mentaal
Visionary Imagination|Visionaire verbeelding|Spiritual|Spiritueel
Visual Imagination|Visuele verbeelding|Mental|Mentaal
Mental Imagery|Mentale beelden|Mental|Mentaal
Creative Visualization|Creatieve visualisatie|Mental|Mentaal
Visualization Mastery|Visualisatiemeesterschap|Mental|Mentaal
Future Visualization|Toekomstvisualisatie|Spiritual|Spiritueel
Goal Visualization|Doelvisualisatie|Mental|Mentaal
Success Visualization|Succesvisualisatie|Emotional|Emotioneel
Manifestation Visualization|Manifestatievisualisatie|Spiritual|Spiritueel
Mental Rehearsal|Mentale repetitie|Mental|Mentaal
Future Self Visualization|Toekomstige-zelf visualisatie|Spiritual|Spiritueel
Dream Visualization|Droomvisualisatie|Spiritual|Spiritueel
Vision Creation|Visiecreatie|Spiritual|Spiritueel
Intuition Development|Intuitieontwikkeling|Spiritual|Spiritueel
Strengthen Your Intuition|Versterk je intuitie|Spiritual|Spiritueel
Trust Your Intuition|Vertrouw op je intuitie|Spiritual|Spiritueel
Intuitive Awareness|Intuitief bewustzijn|Spiritual|Spiritueel
Intuitive Insight|Intuitief inzicht|Spiritual|Spiritueel
Intuitive Clarity|Intuitieve helderheid|Spiritual|Spiritueel
Intuitive Decision Making|Intuitieve besluitvorming|Spiritual|Spiritueel
Inner Knowing|Innerlijk weten|Spiritual|Spiritueel
Inner Guidance|Innerlijke leiding|Spiritual|Spiritueel
Inner Compass|Innerlijk kompas|Spiritual|Spiritueel
Follow Your Inner Voice|Volg je innerlijke stem|Spiritual|Spiritueel
Listen to Your Inner Wisdom|Luister naar je innerlijke wijsheid|Spiritual|Spiritueel
Awaken Your Intuition|Wek je intuitie|Spiritual|Spiritueel
Everyday Intuition|Dagelijkse intuitie|Spiritual|Spiritueel
Practical Intuition|Praktische intuitie|Spiritual|Spiritueel
Balanced Intuition|Gebalanceerde intuitie|Spiritual|Spiritueel
Intuition & Logic|Intuitie & logica|Spiritual|Spiritueel
Confident Intuition|Zelfverzekerde intuitie|Emotional|Emotioneel
Flowing Intuition|Stromende intuitie|Spiritual|Spiritueel
Higher Intuition|Hogere intuitie|Spiritual|Spiritueel
Creative Insight|Creatief inzicht|Spiritual|Spiritueel
Inspired Insight|Geinspireerd inzicht|Spiritual|Spiritueel
Sudden Insight|Plotseling inzicht|Mental|Mentaal
Breakthrough Insight|Doorbraakinzicht|Mental|Mentaal
Deep Insight|Diep inzicht|Spiritual|Spiritueel
Expand Your Awareness|Vergroot je bewustzijn|Spiritual|Spiritueel
Higher Awareness|Hoger bewustzijn|Spiritual|Spiritueel
Open Awareness|Open bewustzijn|Spiritual|Spiritueel
Conscious Awareness|Bewust bewustzijn|Spiritual|Spiritueel
Mind Expansion|Geestverruiming|Spiritual|Spiritueel
Visionary Thinking|Visionair denken|Mental|Mentaal
Future Thinking|Toekomstgericht denken|Mental|Mentaal
Possibility Thinking|Mogelijkheidsdenken|Mental|Mentaal
Dream Big|Droom groots|Emotional|Emotioneel
Unlimited Possibilities|Onbegrensde mogelijkheden|Spiritual|Spiritueel
Explore New Possibilities|Nieuwe mogelijkheden verkennen|Mental|Mentaal
Inventive Thinking|Vindingrijk denken|Mental|Mentaal
Creative Discovery|Creatieve ontdekking|Mental|Mentaal
Curiosity Unleashed|Ontketende nieuwsgierigheid|Mental|Mentaal
Wonder & Curiosity|Verwondering & nieuwsgierigheid|Spiritual|Spiritueel
Inspired Creativity|Geinspireerde creativiteit|Spiritual|Spiritueel
Creative Inspiration|Creatieve inspiratie|Mental|Mentaal
Inspired Imagination|Geinspireerde verbeelding|Spiritual|Spiritueel
Creative Vision|Creatieve visie|Mental|Mentaal
Visionary Creativity|Visionaire creativiteit|Spiritual|Spiritueel
Create from Within|Creëer van binnenuit|Spiritual|Spiritueel
Authentic Creation|Authentieke creatie|Spiritual|Spiritueel
The Creative Mind|De creatieve geest|Mental|Mentaal
The Visionary Mind|De visionaire geest|Mental|Mentaal
The Inventor's Mind|De geest van de uitvinder|Mental|Mentaal
Dream Exploration|Droomverkenning|Spiritual|Spiritueel
Lucid Dream Preparation|Voorbereiding op lucide dromen|Spiritual|Spiritueel
Dream Recall|Droomherinnering|Spiritual|Spiritueel
Symbolic Thinking|Symbolisch denken|Spiritual|Spiritueel
Explore Your Inner World|Verken je innerlijke wereld|Spiritual|Spiritueel
Inner Landscape Journey|Reis door je innerlijke landschap|Spiritual|Spiritueel
Journey Through Imagination|Reis door verbeelding|Spiritual|Spiritueel
Guided Fantasy|Geleide fantasie|Spiritual|Spiritueel
Creative Daydreaming|Creatief dagdromen|Mental|Mentaal
Mind's Eye Activation|Activatie van het geestesoog|Mental|Mentaal
Mental Flexibility|Mentale flexibiliteit|Mental|Mentaal
Expand Mental Horizons|Vergroot mentale horizonten|Mental|Mentaal
Think Beyond Boundaries|Denk voorbij grenzen|Mental|Mentaal
Break Mental Limits|Doorbreek mentale grenzen|Mental|Mentaal
Open Creative Thinking|Open creatief denken|Mental|Mentaal
Original Thinking|Origineel denken|Mental|Mentaal
Out-of-the-Box Thinking|Buiten-de-kaders denken|Mental|Mentaal
Inventive Solutions|Vindingrijke oplossingen|Mental|Mentaal
Innovative Vision|Innovatieve visie|Mental|Mentaal
The Idea Generator|De ideeengenerator|Mental|Mentaal
Trust Yourself|Vertrouw jezelf|Emotional|Emotioneel
Inner Confidence|Innerlijk vertrouwen|Emotional|Emotioneel
Self-Trust|Zelfvertrouwen|Emotional|Emotioneel
Quiet the Inner Critic|Breng de innerlijke criticus tot rust|Emotional|Emotioneel
Fearless Imagination|Onbevreesde verbeelding|Emotional|Emotioneel
Express Your Vision|Druk je visie uit|Emotional|Emotioneel
Creative Courage|Creatieve moed|Emotional|Emotioneel
Confidence in Creation|Vertrouwen in creatie|Emotional|Emotioneel
Inspired Confidence|Geinspireerd vertrouwen|Emotional|Emotioneel
Believe in Your Ideas|Geloof in je ideeen|Emotional|Emotioneel
Mindful Imagination|Mindful verbeelding|Spiritual|Spiritueel
Meditative Visualization|Meditatieve visualisatie|Spiritual|Spiritueel
Stillness & Insight|Stilte & inzicht|Spiritual|Spiritueel
Silent Mind, Clear Vision|Stille geest, heldere visie|Spiritual|Spiritueel
Deep Reflection|Diepe reflectie|Spiritual|Spiritueel
Wisdom Within|Wijsheid van binnen|Spiritual|Spiritueel
Connect with Your Higher Self|Verbind met je hogere zelf|Spiritual|Spiritueel
Intuitive Meditation|Intuitieve meditatie|Spiritual|Spiritueel
Inner Vision|Innerlijke visie|Spiritual|Spiritueel
Open the Third Eye|Open het derde oog|Spiritual|Spiritueel
Synchronicity Awareness|Synchroniciteitsbewustzijn|Spiritual|Spiritueel
Recognize Meaningful Coincidences|Herken betekenisvolle toevalligheden|Spiritual|Spiritueel
Pattern Recognition|Patroonherkenning|Mental|Mentaal
See Hidden Connections|Zie verborgen verbanden|Mental|Mentaal
Connect the Dots|Verbind de punten|Mental|Mentaal
Big Picture Awareness|Grote-lijn bewustzijn|Mental|Mentaal
Holistic Thinking|Holistisch denken|Mental|Mentaal
Systems Awareness|Systeembewustzijn|Mental|Mentaal
Expand Your Perspective|Vergroot je perspectief|Mental|Mentaal
Multiple Perspectives|Meerdere perspectieven|Mental|Mentaal
Flowing Imagination|Stromende verbeelding|Mental|Mentaal
Imagination in Flow|Verbeelding in flow|Mental|Mentaal
Creative Flow State|Creatieve flowstaat|Mental|Mentaal
Inspired Flow|Geinspireerde flow|Spiritual|Spiritueel
Flow of Ideas|Ideeenflow|Mental|Mentaal
Endless Ideas|Eindeloze ideeen|Mental|Mentaal
Idea Flow|Ideeenflow|Mental|Mentaal
Creative Momentum|Creatief momentum|Mental|Mentaal
Spark Your Imagination|Wakker je verbeelding aan|Mental|Mentaal
Ignite Your Creativity|Ontsteek je creativiteit|Mental|Mentaal
Unlock Hidden Potential|Ontsluit verborgen potentieel|Spiritual|Spiritueel
Unlock Your Genius|Ontsluit je genialiteit|Mental|Mentaal
Awaken Inner Potential|Wek innerlijk potentieel|Spiritual|Spiritueel
Expand Your Consciousness|Verruim je bewustzijn|Spiritual|Spiritueel
Elevate Your Mind|Verhef je geest|Spiritual|Spiritueel
Elevate Your Vision|Verhef je visie|Spiritual|Spiritueel
Awaken Your Visionary Self|Wek je visionaire zelf|Spiritual|Spiritueel
The Power of Imagination|De kracht van verbeelding|Spiritual|Spiritueel
The Intuitive Mind|De intuitieve geest|Spiritual|Spiritueel
The Inspired Soul|De geinspireerde ziel|Spiritual|Spiritueel
The Infinite Mind|De oneindige geest|Spiritual|Spiritueel
The Creative Explorer|De creatieve verkenner|Mental|Mentaal
Live with Wonder|Leef met verwondering|Spiritual|Spiritueel
Imagine Without Limits|Verbeeld zonder grenzen|Mental|Mentaal
Create Your Future|Creëer je toekomst|Spiritual|Spiritueel
Dream It Into Reality|Droom het tot werkelijkheid|Spiritual|Spiritueel
Inspired Possibilities|Geinspireerde mogelijkheden|Spiritual|Spiritueel
Discover Your Inner Genius|Ontdek je innerlijke genialiteit|Spiritual|Spiritueel
Follow Your Inspiration|Volg je inspiratie|Spiritual|Spiritueel
Create the Impossible|Creëer het onmogelijke|Mental|Mentaal
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const IMAGINATION_INTUITION_SESSION_DEFINITIONS = IMAGINATION_INTUITION_TITLE_PAIRS.map((item, index) => {
  const carriers = [852, 963, 528, 741, 639, 417, 432, 396];
  const moods = ["Binaural Deep Meditation", "Meditation Bowls", "Theta Soundscape", "Ambient", "Soft Soundscapes", "Cinematic Ambient", "Drone", "Uplifting Electronic Ambient"];
  const accents = ["#8b5cf6", "#a78bfa", "#38bdf8", "#f472b6", "#14b8a6", "#facc15", "#60a5fa", "#22c55e", "#ec4899", "#f97316"];
  return {
    id: `imagination-intuition-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 5) % carriers.length],
    mood: moods[(index * 7) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [9.8, 10.8, 12.2, 11.4, 13.2, 9.2, 12.8, 14.0, 10.4, 13.6, 9.6, 14.4][index % 12],
    style: 7700 + index
  };
});

const SELF_EXPRESSION_TITLE_PAIRS = `
Authentic Self-Expression|Authentieke zelfexpressie|Emotional|Emotioneel
Express Your True Self|Druk je ware zelf uit|Emotional|Emotioneel
Creative Self-Expression|Creatieve zelfexpressie|Emotional|Emotioneel
Confident Self-Expression|Zelfverzekerde zelfexpressie|Emotional|Emotioneel
Fearless Self-Expression|Onbevreesde zelfexpressie|Emotional|Emotioneel
Free Self-Expression|Vrije zelfexpressie|Emotional|Emotioneel
Bold Self-Expression|Gedurfde zelfexpressie|Emotional|Emotioneel
Natural Self-Expression|Natuurlijke zelfexpressie|Emotional|Emotioneel
Empowered Self-Expression|Bekrachtigde zelfexpressie|Emotional|Emotioneel
Joyful Self-Expression|Vreugdevolle zelfexpressie|Emotional|Emotioneel
Find Your Voice|Vind je stem|Emotional|Emotioneel
Discover Your Voice|Ontdek je stem|Emotional|Emotioneel
Speak Your Truth|Spreek je waarheid|Spiritual|Spiritueel
Authentic Voice|Authentieke stem|Emotional|Emotioneel
Voice of Confidence|Stem van vertrouwen|Emotional|Emotioneel
Inner Voice|Innerlijke stem|Spiritual|Spiritueel
Express Your Ideas|Druk je ideeen uit|Mental|Mentaal
Express Your Feelings|Druk je gevoelens uit|Emotional|Emotioneel
Speak with Confidence|Spreek met vertrouwen|Emotional|Emotioneel
Speak from the Heart|Spreek vanuit het hart|Emotional|Emotioneel
Confident Communication|Zelfverzekerde communicatie|Emotional|Emotioneel
Authentic Communication|Authentieke communicatie|Emotional|Emotioneel
Meaningful Communication|Betekenisvolle communicatie|Emotional|Emotioneel
Heart-Centered Communication|Hartgerichte communicatie|Spiritual|Spiritueel
Honest Communication|Eerlijke communicatie|Emotional|Emotioneel
Compassionate Communication|Compassievolle communicatie|Spiritual|Spiritueel
Assertive Communication|Assertieve communicatie|Emotional|Emotioneel
Courageous Conversations|Moedige gesprekken|Emotional|Emotioneel
Express Yourself Clearly|Druk jezelf helder uit|Mental|Mentaal
Powerful Communication|Krachtige communicatie|Mental|Mentaal
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Creative Courage|Creatieve moed|Emotional|Emotioneel
Creative Freedom|Creatieve vrijheid|Emotional|Emotioneel
Freedom to Create|Vrijheid om te creeren|Emotional|Emotioneel
Express Without Fear|Uitdrukken zonder angst|Emotional|Emotioneel
Create Without Judgment|Creeren zonder oordeel|Emotional|Emotioneel
Silence Your Inner Critic|Breng je innerlijke criticus tot rust|Emotional|Emotioneel
Release Self-Doubt|Laat zelftwijfel los|Emotional|Emotioneel
Overcome Fear of Judgment|Overwin angst voor oordeel|Emotional|Emotioneel
Confidence to Be Yourself|Vertrouwen om jezelf te zijn|Emotional|Emotioneel
Be Yourself|Wees jezelf|Emotional|Emotioneel
Authenticity|Authenticiteit|Spiritual|Spiritueel
Live Authentically|Leef authentiek|Spiritual|Spiritueel
Authentic Living|Authentiek leven|Spiritual|Spiritueel
Own Your Story|Eigenaarschap over je verhaal|Emotional|Emotioneel
Embrace Your Identity|Omarm je identiteit|Emotional|Emotioneel
Celebrate Your Uniqueness|Vier je uniekheid|Emotional|Emotioneel
Be Unapologetically You|Wees ongegeneerd jezelf|Emotional|Emotioneel
Honor Your True Self|Eer je ware zelf|Spiritual|Spiritueel
Live Your Truth|Leef je waarheid|Spiritual|Spiritueel
Personal Expression|Persoonlijke expressie|Emotional|Emotioneel
Personal Freedom|Persoonlijke vrijheid|Emotional|Emotioneel
Personal Authenticity|Persoonlijke authenticiteit|Spiritual|Spiritueel
Inner Authenticity|Innerlijke authenticiteit|Spiritual|Spiritueel
Express Your Personality|Druk je persoonlijkheid uit|Emotional|Emotioneel
Share Your Gifts|Deel je gaven|Spiritual|Spiritueel
Reveal Your Potential|Onthul je potentieel|Spiritual|Spiritueel
Become Fully You|Word volledig jezelf|Spiritual|Spiritueel
Radiate Confidence|Straal vertrouwen uit|Emotional|Emotioneel
Shine Brightly|Schitter helder|Emotional|Emotioneel
Artistic Expression|Artistieke expressie|Emotional|Emotioneel
Express Through Art|Expressie via kunst|Emotional|Emotioneel
Express Through Music|Expressie via muziek|Emotional|Emotioneel
Express Through Writing|Expressie via schrijven|Emotional|Emotioneel
Creative Performance|Creatieve prestatie|Mental|Mentaal
Stage Presence|Podiumaanwezigheid|Emotional|Emotioneel
Confident Performer|Zelfverzekerde performer|Emotional|Emotioneel
Expressive Performance|Expressieve prestatie|Emotional|Emotioneel
Perform with Passion|Presteren met passie|Emotional|Emotioneel
Inspired Performance|Geinspireerde prestatie|Emotional|Emotioneel
Emotional Expression|Emotionele expressie|Emotional|Emotioneel
Healthy Emotional Expression|Gezonde emotionele expressie|Emotional|Emotioneel
Emotional Freedom|Emotionele vrijheid|Emotional|Emotioneel
Release Suppressed Emotions|Laat onderdrukte emoties los|Emotional|Emotioneel
Open Your Heart|Open je hart|Spiritual|Spiritueel
Heartfelt Expression|Hartelijke expressie|Emotional|Emotioneel
Speak from the Soul|Spreek vanuit de ziel|Spiritual|Spiritueel
Share Your Emotions|Deel je emoties|Emotional|Emotioneel
Express Love Freely|Druk liefde vrij uit|Spiritual|Spiritueel
Express Gratitude|Druk dankbaarheid uit|Spiritual|Spiritueel
Storytelling Confidence|Storytellingvertrouwen|Emotional|Emotioneel
Authentic Storytelling|Authentieke storytelling|Emotional|Emotioneel
Share Your Story|Deel je verhaal|Emotional|Emotioneel
Own Your Narrative|Eigenaarschap over je narratief|Emotional|Emotioneel
Inspire Through Stories|Inspireer via verhalen|Spiritual|Spiritueel
Communicate with Impact|Communiceer met impact|Mental|Mentaal
Meaningful Storytelling|Betekenisvolle storytelling|Emotional|Emotioneel
Speak to Inspire|Spreek om te inspireren|Spiritual|Spiritueel
Words That Matter|Woorden die ertoe doen|Mental|Mentaal
Powerful Storytelling|Krachtige storytelling|Mental|Mentaal
Presence & Charisma|Aanwezigheid & charisma|Emotional|Emotioneel
Authentic Presence|Authentieke aanwezigheid|Spiritual|Spiritueel
Magnetic Presence|Magnetische aanwezigheid|Emotional|Emotioneel
Confident Presence|Zelfverzekerde aanwezigheid|Emotional|Emotioneel
Natural Charisma|Natuurlijk charisma|Emotional|Emotioneel
Radiant Presence|Stralende aanwezigheid|Spiritual|Spiritueel
Inner Strength|Innerlijke kracht|Emotional|Emotioneel
Expressive Confidence|Expressief vertrouwen|Emotional|Emotioneel
Lead with Authenticity|Leid met authenticiteit|Spiritual|Spiritueel
Inspire Others Naturally|Inspireer anderen natuurlijk|Spiritual|Spiritueel
Self-Acceptance|Zelfacceptatie|Emotional|Emotioneel
Self-Worth|Eigenwaarde|Emotional|Emotioneel
Self-Respect|Zelfrespect|Emotional|Emotioneel
Self-Love|Zelfliefde|Emotional|Emotioneel
Self-Compassion|Zelfcompassie|Emotional|Emotioneel
Self-Belief|Geloof in jezelf|Emotional|Emotioneel
Inner Confidence|Innerlijk vertrouwen|Emotional|Emotioneel
Inner Freedom|Innerlijke vrijheid|Spiritual|Spiritueel
Release Limiting Beliefs|Laat beperkende overtuigingen los|Emotional|Emotioneel
Authentic Confidence|Authentiek vertrouwen|Emotional|Emotioneel
Mindful Expression|Mindful expressie|Spiritual|Spiritueel
Conscious Communication|Bewuste communicatie|Spiritual|Spiritueel
Express with Awareness|Uitdrukken met bewustzijn|Spiritual|Spiritueel
Speak with Presence|Spreek met aanwezigheid|Spiritual|Spiritueel
Creative Presence|Creatieve aanwezigheid|Spiritual|Spiritueel
Present Moment Expression|Expressie in het huidige moment|Spiritual|Spiritueel
Inner Harmony|Innerlijke harmonie|Spiritual|Spiritueel
Harmony in Communication|Harmonie in communicatie|Spiritual|Spiritueel
Balanced Expression|Gebalanceerde expressie|Spiritual|Spiritueel
Centered Communication|Gecentreerde communicatie|Spiritual|Spiritueel
The Authentic Self|Het authentieke zelf|Spiritual|Spiritueel
The Confident Self|Het zelfverzekerde zelf|Emotional|Emotioneel
The Creative Self|Het creatieve zelf|Mental|Mentaal
The Expressive Mind|De expressieve geest|Mental|Mentaal
The Courage to Be Seen|De moed om gezien te worden|Emotional|Emotioneel
Live Without Masks|Leef zonder maskers|Spiritual|Spiritueel
Reveal Your Authentic Self|Onthul je authentieke zelf|Spiritual|Spiritueel
The Freedom to Express|De vrijheid om je te uiten|Emotional|Emotioneel
Express Your Potential|Druk je potentieel uit|Spiritual|Spiritueel
Become Your Best Self|Word je beste zelf|Spiritual|Spiritueel
Create Your Legacy|Creëer je nalatenschap|Spiritual|Spiritueel
Leave Your Mark|Laat je sporen na|Spiritual|Spiritueel
Inspire the World|Inspireer de wereld|Spiritual|Spiritueel
Share Your Vision|Deel je visie|Spiritual|Spiritueel
Express Your Purpose|Druk je doel uit|Spiritual|Spiritueel
Purposeful Living|Doelgericht leven|Spiritual|Spiritueel
Purposeful Communication|Doelgerichte communicatie|Spiritual|Spiritueel
Speak with Purpose|Spreek met doel|Spiritual|Spiritueel
Create with Purpose|Creëer met doel|Spiritual|Spiritueel
Live with Purpose|Leef met doel|Spiritual|Spiritueel
Confidence in Every Word|Vertrouwen in elk woord|Emotional|Emotioneel
Express with Clarity|Uitdrukken met helderheid|Mental|Mentaal
Speak with Authentic Power|Spreek met authentieke kracht|Emotional|Emotioneel
The Power of Authenticity|De kracht van authenticiteit|Spiritual|Spiritueel
Your Voice Matters|Jouw stem doet ertoe|Emotional|Emotioneel
Unleash Your Voice|Ontketen je stem|Emotional|Emotioneel
Express Without Limits|Uitdrukken zonder grenzen|Emotional|Emotioneel
Limitless Self-Expression|Grenzeloze zelfexpressie|Spiritual|Spiritueel
Shine from Within|Schitter van binnenuit|Spiritual|Spiritueel
The Joy of Being Yourself|De vreugde van jezelf zijn|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const SELF_EXPRESSION_SESSION_DEFINITIONS = SELF_EXPRESSION_TITLE_PAIRS.map((item, index) => {
  const carriers = [639, 528, 741, 852, 417, 963, 432, 396];
  const moods = ["Soft Soundscapes", "Cinematic Ambient", "Ambient", "Binaural Deep Meditation", "Meditation Bowls", "Uplifting Electronic Ambient", "Theta Soundscape", "Drone"];
  const accents = ["#f472b6", "#fb7185", "#facc15", "#a78bfa", "#38bdf8", "#22c55e", "#14b8a6", "#60a5fa", "#ec4899", "#f97316"];
  return {
    id: `self-expression-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 5) % carriers.length],
    mood: moods[(index * 7) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [9.8, 10.8, 12.0, 11.2, 13.4, 9.4, 12.8, 14.0, 10.4, 13.2, 9.6, 14.4][index % 12],
    style: 7900 + index
  };
});

const LEARNING_CREATIVE_PERFORMANCE_TITLE_PAIRS = `
Accelerated Learning|Versneld leren|Mental|Mentaal
Fast Learning|Snel leren|Mental|Mentaal
Rapid Skill Acquisition|Snelle vaardigheidsverwerving|Mental|Mentaal
Learn Faster|Sneller leren|Mental|Mentaal
Learn with Ease|Leren met gemak|Mental|Mentaal
Effortless Learning|Moeiteloos leren|Mental|Mentaal
Efficient Learning|Efficiënt leren|Mental|Mentaal
Smart Learning|Slim leren|Mental|Mentaal
Optimal Learning|Optimaal leren|Mental|Mentaal
Lifelong Learning|Levenslang leren|Mental|Mentaal
Deep Learning|Diep leren|Mental|Mentaal
Deep Understanding|Diep begrip|Mental|Mentaal
Concept Mastery|Conceptbeheersing|Mental|Mentaal
Master New Skills|Nieuwe vaardigheden beheersen|Mental|Mentaal
Knowledge Integration|Kennisintegratie|Mental|Mentaal
Meaningful Learning|Betekenisvol leren|Mental|Mentaal
Accelerated Comprehension|Versneld begrip|Mental|Mentaal
Learn More in Less Time|Meer leren in minder tijd|Mental|Mentaal
Academic Excellence|Academische excellentie|Mental|Mentaal
Scholarly Focus|Wetenschappelijke focus|Mental|Mentaal
Study Focus|Studiefocus|Mental|Mentaal
Study in Flow|Studeren in flow|Mental|Mentaal
Focused Study Sessions|Gefocuste studiesessies|Mental|Mentaal
Concentrated Learning|Geconcentreerd leren|Mental|Mentaal
Laser Focus|Laserfocus|Mental|Mentaal
Deep Work for Learning|Deep work voor leren|Mental|Mentaal
Sustained Attention|Aanhoudende aandacht|Mental|Mentaal
Attention Mastery|Aandachtsbeheersing|Mental|Mentaal
Mental Clarity for Learning|Mentale helderheid voor leren|Mental|Mentaal
Quiet Study Mind|Rustige studiegeest|Mental|Mentaal
Memory Enhancement|Geheugenversterking|Mental|Mentaal
Memory Consolidation|Geheugenconsolidatie|Mental|Mentaal
Long-Term Memory|Langetermijngeheugen|Mental|Mentaal
Working Memory Boost|Werkgeheugenboost|Mental|Mentaal
Memory Recall|Geheugenoproep|Mental|Mentaal
Improve Recall Speed|Verbeter oproepsnelheid|Mental|Mentaal
Information Retention|Informatieretentie|Mental|Mentaal
Knowledge Retention|Kennisbehoud|Mental|Mentaal
Remember with Ease|Onthouden met gemak|Mental|Mentaal
Memory for Exams|Geheugen voor examens|Mental|Mentaal
Creative Learning|Creatief leren|Mental|Mentaal
Creative Intelligence|Creatieve intelligentie|Mental|Mentaal
Creative Performance|Creatieve prestatie|Mental|Mentaal
Creative Flow|Creatieve flow|Mental|Mentaal
Creative Thinking|Creatief denken|Mental|Mentaal
Creative Confidence|Creatief zelfvertrouwen|Emotional|Emotioneel
Creative Breakthrough|Creatieve doorbraak|Mental|Mentaal
Creative Problem Solving|Creatieve probleemoplossing|Mental|Mentaal
Innovation Through Learning|Innovatie door leren|Mental|Mentaal
Learn Creatively|Creatief leren|Mental|Mentaal
Peak Learning Performance|Piekprestatie in leren|Mental|Mentaal
Peak Cognitive Performance|Cognitieve piekprestatie|Mental|Mentaal
Peak Brain Performance|Breinprestatie op topniveau|Mental|Mentaal
Peak Mental Performance|Mentale piekprestatie|Mental|Mentaal
Whole Brain Learning|Leren met het hele brein|Mental|Mentaal
Integrated Learning|Geintegreerd leren|Mental|Mentaal
Brain Optimization|Breinoptimalisatie|Mental|Mentaal
High Performance Mind|High-performance geest|Mental|Mentaal
Elite Learning|Elite leren|Mental|Mentaal
Mental Excellence|Mentale excellentie|Mental|Mentaal
Skill Development|Vaardigheidsontwikkeling|Mental|Mentaal
Professional Skill Building|Professionele vaardigheidsopbouw|Mental|Mentaal
Master New Abilities|Nieuwe vermogens beheersen|Mental|Mentaal
Continuous Improvement|Continue verbetering|Mental|Mentaal
Deliberate Practice|Doelbewuste oefening|Mental|Mentaal
Practice with Purpose|Oefenen met doel|Mental|Mentaal
Master Through Repetition|Beheersing door herhaling|Mental|Mentaal
Learning Discipline|Leerdiscipline|Mental|Mentaal
Daily Skill Growth|Dagelijkse vaardigheidsgroei|Mental|Mentaal
Competence Builder|Competentiebouwer|Mental|Mentaal
Exam Preparation|Examenvoorbereiding|Mental|Mentaal
Exam Confidence|Examenvertrouwen|Emotional|Emotioneel
Calm Before Exams|Kalm voor examens|Emotional|Emotioneel
Test Performance|Toetsprestatie|Mental|Mentaal
Academic Confidence|Academisch vertrouwen|Emotional|Emotioneel
Presentation Preparation|Presentatievoorbereiding|Mental|Mentaal
Presentation Confidence|Presentatievertrouwen|Emotional|Emotioneel
Interview Preparation|Interviewvoorbereiding|Mental|Mentaal
Interview Confidence|Interviewvertrouwen|Emotional|Emotioneel
Performance Readiness|Prestatieparaatheid|Mental|Mentaal
Learning Motivation|Leermotivatie|Emotional|Emotioneel
Motivated to Learn|Gemotiveerd om te leren|Emotional|Emotioneel
Curiosity Activation|Nieuwsgierigheidsactivatie|Mental|Mentaal
Love of Learning|Liefde voor leren|Emotional|Emotioneel
Inspired Learning|Geinspireerd leren|Spiritual|Spiritueel
Growth Mindset|Groeimindset|Mental|Mentaal
Growth Through Learning|Groei door leren|Spiritual|Spiritueel
Learning Momentum|Leermomentum|Mental|Mentaal
Stay Curious|Blijf nieuwsgierig|Mental|Mentaal
Unlock Your Potential|Ontsluit je potentieel|Spiritual|Spiritueel
Mental Agility|Mentale wendbaarheid|Mental|Mentaal
Mental Flexibility|Mentale flexibiliteit|Mental|Mentaal
Cognitive Flexibility|Cognitieve flexibiliteit|Mental|Mentaal
Adaptive Thinking|Adaptief denken|Mental|Mentaal
Analytical Thinking|Analytisch denken|Mental|Mentaal
Critical Thinking|Kritisch denken|Mental|Mentaal
Strategic Thinking|Strategisch denken|Mental|Mentaal
Systems Thinking|Systeemdenken|Mental|Mentaal
Logical Thinking|Logisch denken|Mental|Mentaal
Flexible Problem Solving|Flexibele probleemoplossing|Mental|Mentaal
Language Learning|Taal leren|Mental|Mentaal
Fast Language Acquisition|Snelle taalverwerving|Mental|Mentaal
Vocabulary Expansion|Woordenschatvergroting|Mental|Mentaal
Reading Comprehension|Begrijpend lezen|Mental|Mentaal
Speed Reading|Snellezen|Mental|Mentaal
Writing Performance|Schrijfprestatie|Mental|Mentaal
Speaking Skills|Spreekvaardigheden|Mental|Mentaal
Communication Mastery|Communicatiemeesterschap|Mental|Mentaal
Listening Skills|Luistervaardigheden|Mental|Mentaal
Presentation Skills|Presentatievaardigheden|Mental|Mentaal
Flow State for Learning|Flowstaat voor leren|Mental|Mentaal
Flow State for Creativity|Flowstaat voor creativiteit|Mental|Mentaal
Deep Creative Work|Diep creatief werk|Mental|Mentaal
Productive Flow|Productieve flow|Mental|Mentaal
Creative Productivity|Creatieve productiviteit|Mental|Mentaal
The Learning Zone|De leerzone|Mental|Mentaal
The Creative Zone|De creatieve zone|Mental|Mentaal
The Genius Zone|De geniuszone|Mental|Mentaal
Inspired Performance|Geinspireerde prestatie|Emotional|Emotioneel
Creative Mastery|Creatief meesterschap|Mental|Mentaal
Think Like a Scientist|Denk als een wetenschapper|Mental|Mentaal
Think Like an Inventor|Denk als een uitvinder|Mental|Mentaal
Think Like an Artist|Denk als een kunstenaar|Mental|Mentaal
Think Like an Entrepreneur|Denk als een ondernemer|Mental|Mentaal
Visionary Thinking|Visionair denken|Mental|Mentaal
Inventive Thinking|Vindingrijk denken|Mental|Mentaal
Original Thinking|Origineel denken|Mental|Mentaal
Out-of-the-Box Thinking|Buiten-de-kaders denken|Mental|Mentaal
Future Thinking|Toekomstgericht denken|Mental|Mentaal
Idea Generation|Ideeengeneratie|Mental|Mentaal
Confident Learning|Zelfverzekerd leren|Emotional|Emotioneel
Overcome Learning Anxiety|Leerangst overwinnen|Emotional|Emotioneel
Study Without Stress|Studeren zonder stress|Emotional|Emotioneel
Believe in Your Abilities|Geloof in je vaardigheden|Emotional|Emotioneel
Self-Confidence for Success|Zelfvertrouwen voor succes|Emotional|Emotioneel
Resilient Learning|Veerkrachtig leren|Emotional|Emotioneel
Fearless Learning|Onbevreesd leren|Emotional|Emotioneel
Progress Over Perfection|Vooruitgang boven perfectie|Emotional|Emotioneel
Embrace Challenges|Omarm uitdagingen|Emotional|Emotioneel
Success Mindset|Succesmindset|Mental|Mentaal
Mindful Learning|Mindful leren|Spiritual|Spiritueel
Conscious Learning|Bewust leren|Spiritual|Spiritueel
Present Moment Focus|Focus in het huidige moment|Spiritual|Spiritueel
Learning with Awareness|Leren met bewustzijn|Spiritual|Spiritueel
Balanced Mind|Gebalanceerde geest|Spiritual|Spiritueel
Calm Creative Mind|Kalme creatieve geest|Spiritual|Spiritueel
Inner Clarity|Innerlijke helderheid|Spiritual|Spiritueel
Inspired Discovery|Geinspireerde ontdekking|Spiritual|Spiritueel
Wisdom Through Learning|Wijsheid door leren|Spiritual|Spiritueel
The Curious Mind|De nieuwsgierige geest|Spiritual|Spiritueel
Learn Without Limits|Leren zonder grenzen|Mental|Mentaal
Think Without Limits|Denken zonder grenzen|Mental|Mentaal
Unlock Your Genius|Ontsluit je genialiteit|Mental|Mentaal
Awaken Your Potential|Wek je potentieel|Spiritual|Spiritueel
Expand Your Mind|Vergroot je geest|Spiritual|Spiritueel
Expand Your Intelligence|Vergroot je intelligentie|Mental|Mentaal
Elevate Your Thinking|Verhoog je denken|Mental|Mentaal
Transform Knowledge into Action|Transformeer kennis in actie|Mental|Mentaal
From Learning to Mastery|Van leren naar meesterschap|Mental|Mentaal
Become an Exceptional Learner|Word een uitzonderlijke leerling|Mental|Mentaal
Master Creative Performance|Beheers creatieve prestatie|Mental|Mentaal
Learning Excellence|Leerexcellentie|Mental|Mentaal
The High Performance Learner|De high-performance leerling|Mental|Mentaal
The Creative Achiever|De creatieve presteerder|Mental|Mentaal
Knowledge into Wisdom|Kennis naar wijsheid|Spiritual|Spiritueel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const LEARNING_CREATIVE_PERFORMANCE_SESSION_DEFINITIONS = LEARNING_CREATIVE_PERFORMANCE_TITLE_PAIRS.map((item, index) => {
  const carriers = [741, 528, 852, 639, 417, 963, 432, 396];
  const moods = ["Cinematic Ambient", "Uplifting Electronic Ambient", "Ambient", "Theta Soundscape", "Binaural Deep Meditation", "Soft Soundscapes", "Drone", "Meditation Bowls"];
  const accents = ["#38bdf8", "#22c55e", "#facc15", "#a78bfa", "#14b8a6", "#60a5fa", "#f472b6", "#f97316", "#84cc16", "#ec4899"];
  return {
    id: `learning-creative-performance-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[(index * 3) % carriers.length],
    mood: moods[(index * 5) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    peak: [10.8, 12.2, 13.6, 11.4, 14.4, 10.0, 13.0, 15.0, 11.8, 14.0, 10.6, 14.8][index % 12],
    style: 8100 + index
  };
});

const HYPNOSIS_SUPPORT_TITLE_PAIRS = `
Chronic Stress|Chronische stress|Emotional|Emotioneel
Burnout|Burn-out|Emotional|Emotioneel
Overstrain|Overspannenheid|Emotional|Emotioneel
Anxiety Symptoms|Angstklachten|Emotional|Emotioneel
Panic Attacks|Paniekaanvallen|Emotional|Emotioneel
Panic Disorder|Paniekstoornis|Emotional|Emotioneel
Generalized Anxiety|Gegeneraliseerde angst|Emotional|Emotioneel
Social Anxiety|Sociale angst|Emotional|Emotioneel
Fear of Failure|Faalangst|Emotional|Emotioneel
Exam Anxiety|Examenangst|Emotional|Emotioneel
Presentation Anxiety|Presentatieangst|Emotional|Emotioneel
Public Speaking Anxiety|Spreekangst|Emotional|Emotioneel
Fear of Flying|Vliegangst|Emotional|Emotioneel
Driving Anxiety|Rijangst|Emotional|Emotioneel
Dental Anxiety|Tandartsangst|Emotional|Emotioneel
Medical Anxiety|Medische angst|Emotional|Emotioneel
Claustrophobia|Claustrofobie|Emotional|Emotioneel
Fear of Heights|Hoogtevrees|Emotional|Emotioneel
Spider Phobia|Spinnenfobie|Emotional|Emotioneel
Emetophobia|Emetofobie|Emotional|Emotioneel
Agoraphobia|Agorafobie|Emotional|Emotioneel
Worrying|Piekeren|Mental|Mentaal
Negative Thinking|Negatief denken|Mental|Mentaal
Low Mood|Somberheid|Emotional|Emotioneel
Depressive Feelings|Depressieve gevoelens|Emotional|Emotioneel
Emotional Exhaustion|Emotionele uitputting|Emotional|Emotioneel
Low Self-Esteem|Laag zelfbeeld|Emotional|Emotioneel
Lack of Self-Confidence|Gebrek aan zelfvertrouwen|Emotional|Emotioneel
Insecurity|Onzekerheid|Emotional|Emotioneel
Perfectionism|Perfectionisme|Mental|Mentaal
Need for Control|Controlebehoefte|Mental|Mentaal
Procrastination|Uitstelgedrag|Mental|Mentaal
Lack of Motivation|Gebrek aan motivatie|Mental|Mentaal
Lack of Discipline|Gebrek aan discipline|Mental|Mentaal
Indecisiveness|Besluiteloosheid|Mental|Mentaal
Concentration Difficulties|Concentratieproblemen|Mental|Mentaal
Lack of Focus|Gebrek aan focus|Mental|Mentaal
Inner Restlessness|Innerlijke onrust|Emotional|Emotioneel
Emotional Imbalance|Emotionele disbalans|Emotional|Emotioneel
Irritability|Prikkelbaarheid|Emotional|Emotioneel
Anger|Boosheid|Emotional|Emotioneel
Anger Issues|Woedeproblemen|Emotional|Emotioneel
Jealousy|Jaloezie|Emotional|Emotioneel
Guilt|Schuldgevoel|Emotional|Emotioneel
Shame|Schaamte|Emotional|Emotioneel
Fear of Abandonment|Verlatingsangst|Emotional|Emotioneel
Fear of Commitment|Bindingsangst|Emotional|Emotioneel
Codependency|Codependentie|Emotional|Emotioneel
Relationship Difficulties|Relatieproblemen|Emotional|Emotioneel
Heartbreak|Liefdesverdriet|Emotional|Emotioneel
Grief Processing|Rouwverwerking|Emotional|Emotioneel
Loss Processing|Verliesverwerking|Emotional|Emotioneel
Trauma Processing|Traumaverwerking|Emotional|Emotioneel
Childhood Trauma|Jeugdtrauma|Emotional|Emotioneel
PTSD-Related Symptoms|PTSS-gerelateerde klachten|Emotional|Emotioneel
Emotional Blocks|Emotionele blokkades|Emotional|Emotioneel
Inner Child Issues|Innerlijk kind-problematiek|Emotional|Emotioneel
Forgiveness Issues|Vergevingsproblematiek|Emotional|Emotioneel
Sleep Problems|Slaapproblemen|Physical|Fysiek
Difficulty Falling Asleep|Moeite met inslapen|Physical|Fysiek
Frequent Waking|Vaak wakker worden|Physical|Fysiek
Early Morning Waking|Vroeg wakker worden|Physical|Fysiek
Nightmares|Nachtmerries|Emotional|Emotioneel
Chronic Fatigue|Chronische vermoeidheid|Physical|Fysiek
Lack of Energy|Gebrek aan energie|Physical|Fysiek
Burnout Recovery|Burn-out herstel|Physical|Fysiek
Weight Loss|Gewichtsverlies|Physical|Fysiek
Emotional Eating|Emotioneel eten|Emotional|Emotioneel
Sugar Addiction|Suikerverslaving|Physical|Fysiek
Binge Eating|Eetbuien|Emotional|Emotioneel
Snacking Behavior|Snackgedrag|Emotional|Emotioneel
Stop Smoking|Stoppen met roken|Physical|Fysiek
Reduce Alcohol Use|Alcoholgebruik verminderen|Physical|Fysiek
Reduce Cannabis Use|Cannabisgebruik verminderen|Physical|Fysiek
Gambling Behavior|Gokgedrag|Mental|Mentaal
Gaming Addiction|Gameverslaving|Mental|Mentaal
Social Media Addiction|Sociale media verslaving|Mental|Mentaal
Phone Addiction|Telefoonverslaving|Mental|Mentaal
Chronic Pain|Chronische pijn|Physical|Fysiek
Fibromyalgia|Fibromyalgie|Physical|Fysiek
Migraine|Migraine|Physical|Fysiek
Tension Headache|Spanningshoofdpijn|Physical|Fysiek
Irritable Bowel Syndrome|Prikkelbare Darm Syndroom|Physical|Fysiek
Stress-Related Stomach Complaints|Maagklachten door stress|Physical|Fysiek
Tinnitus Experience|Tinnitusbeleving|Emotional|Emotioneel
Bruxism / Teeth Grinding|Bruxisme / tandenknarsen|Physical|Fysiek
Nail Biting|Nagelbijten|Physical|Fysiek
Hair Pulling Behavior|Haaruittrekgedrag|Physical|Fysiek
Blushing|Blozen|Physical|Fysiek
Excessive Sweating|Overmatig zweten|Physical|Fysiek
Sexual Insecurity|Seksuele onzekerheid|Emotional|Emotioneel
Libido Difficulties|Libidoproblemen|Physical|Fysiek
Fertility Stress|Vruchtbaarheidsstress|Emotional|Emotioneel
Menopause-Related Stress|Menopauzegerelateerde stress|Emotional|Emotioneel
Chronic Health Stress|Chronische gezondheidsstress|Emotional|Emotioneel
Lifestyle Change|Leefstijlverandering|Mental|Mentaal
Develop Healthy Habits|Gezonde gewoonten ontwikkelen|Mental|Mentaal
Sports Motivation|Sportmotivatie|Mental|Mentaal
Work-Life Balance|Werk-privebalans|Emotional|Emotioneel
Finding Life Goals|Levensdoelen vinden|Spiritual|Spiritueel
Questions of Meaning|Zingevingsvragen|Spiritual|Spiritueel
Personal Growth|Persoonlijke groei|Spiritual|Spiritueel
Self-Acceptance|Zelfacceptatie|Emotional|Emotioneel
Assertiveness|Assertiviteit|Emotional|Emotioneel
Setting Boundaries|Grenzen stellen|Emotional|Emotioneel
Inner Peace|Innerlijke rust|Spiritual|Spiritueel
Self-Love|Zelfliefde|Emotional|Emotioneel
Performance Pressure|Prestatiedruk|Emotional|Emotioneel
Mental Resilience|Mentale veerkracht|Mental|Mentaal
Recovery After Illness|Herstel na ziekte|Physical|Fysiek
Preparation for a Medical Procedure|Voorbereiding op een medische ingreep|Emotional|Emotioneel
`.trim().split("\n").map((line) => {
  const [titleEn, title, labelEn, label] = line.split("|");
  return { titleEn, title, labelEn, label };
});

const HYPNOSIS_SUPPORT_SESSION_DEFINITIONS = HYPNOSIS_SUPPORT_TITLE_PAIRS.map((item, index) => {
  const carriers = [528, 639, 417, 432, 741, 396, 852, 963];
  const moods = ["Theta Soundscape", "Binaural Deep Meditation", "Soft Soundscapes", "Meditation Bowls", "Ambient", "Drone", "Cinematic Ambient"];
  const accents = ["#8b5cf6", "#14b8a6", "#60a5fa", "#f472b6", "#22c55e", "#facc15", "#fb7185", "#38bdf8"];
  return {
    id: `hypnosis-support-${slugifyGeneratedSessionTitle(item.titleEn)}-${item.labelEn.toLowerCase().replace(/\//g, "-")}-${index}`,
    title: `${item.title} (${item.label})`,
    titleEn: `${item.titleEn} (${item.labelEn})`,
    subject: item.title,
    subjectEn: item.titleEn,
    label: item.label,
    labelEn: item.labelEn,
    carrier: carriers[index % carriers.length],
    mood: moods[(index * 3) % moods.length],
    accent: accents[index % accents.length],
    profile: index % 12,
    style: 6100 + index
  };
});

function createMorningEnergyTimelineSession(definition) {
  const durationSeconds = 1080;
  const peak = definition.peak;
  const baseShift = (definition.style % 4) * 0.25;
  const colorA = definition.accent;
  const colorB = ["#40c9ff", "#8bc34a", "#ffb347", "#f9e27d"][definition.style % 4];
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    "Ambient",
    "Uplifting Electronic Ambient"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const audioMode = definition.style % 3 === 0 ? "isochronic-monaural" : definition.style % 3 === 1 ? "monaural" : "binaural";
  const pulseShape = definition.style % 2 === 0 ? "sine" : "triangle";
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "morning-energy",
    goal: definition.goal,
    goalEn: definition.goalEn,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 16,
    colorCrossfadeSeconds: 36,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType: definition.style % 5 === 0 ? "none" : "pink",
      reverbPreset: definition.style % 4 === 0 ? "room" : "hall",
      ganzfeldMode: false,
      auroraMode: "subtle",
      auroraSpeed: 0.18,
      auroraDepth: 24,
      markers: [
        {
          time: 0,
          name: "Zacht ontwaken",
          nameEn: "Gentle wake-up",
          purpose: "Rustige start met lage intensiteit, warme kleur en ontspannen aandacht.",
          purposeEn: "Calm start with low intensity, warm color, and relaxed attention."
        },
        {
          time: 180,
          name: "Ochtendoriëntatie",
          nameEn: "Morning orientation",
          purpose: "Bouwt dagoriëntatie op met stabiele alpha en lichte sensorische helderheid.",
          purposeEn: "Builds day orientation with steady alpha and light sensory clarity."
        },
        {
          time: 420,
          name: "Lichaamsactivatie",
          nameEn: "Body activation",
          purpose: "Verhoogt ritme en energie geleidelijk richting heldere fysieke paraatheid.",
          purposeEn: "Gradually raises rhythm and energy toward clear physical readiness."
        },
        {
          time: 720,
          name: "Heldere vitaliteit",
          nameEn: "Clear vitality",
          purpose: "Stabiliseert gecontroleerde beta-activatie zonder onnodige scherpte.",
          purposeEn: "Stabilizes controlled beta activation without unnecessary harshness."
        },
        {
          time: 960,
          name: "Gegronde start",
          nameEn: "Grounded start",
          purpose: "Brengt de intensiteit terug naar bruikbare helderheid voor de ochtend.",
          purposeEn: "Returns intensity toward usable clarity for the morning."
        },
        {
          time: durationSeconds,
          name: "Afronding",
          nameEn: "Close",
          purpose: "Rondt af met stabiele aanwezigheid, rustige ademruimte en heldere energie.",
          purposeEn: "Closes with steady presence, calm breathing space, and clear energy."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: 8.2 + baseShift, musicMood: definition.mood, noiseType: "pink", reverbPreset: "room", lightPulseShape: "sine" },
          { time: 180, value: 9.8 + baseShift, musicMood: definition.mood, noiseType: "pink", reverbPreset: "room", lightPulseShape: "sine" },
          { time: 420, value: 12.4 + baseShift, musicMood: musicMoods[1] || definition.mood, noiseType: "pink", reverbPreset: "hall", lightPulseShape: "triangle" },
          { time: 720, value: peak, musicMood: definition.mood, noiseType: "none", reverbPreset: "hall", lightPulseShape: pulseShape },
          { time: 960, value: 13.6 + baseShift, musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: 10.2 + baseShift, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: 8.2 + baseShift, musicMood: definition.mood, noiseType: "pink", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 180, value: 9.8 + baseShift, musicMood: definition.mood, noiseType: "pink", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 420, value: 12.2 + baseShift, musicMood: musicMoods[1] || definition.mood, noiseType: "pink", reverbPreset: "hall", audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: 720, value: Math.max(13.8, peak - 0.4), musicMood: definition.mood, noiseType: "none", reverbPreset: "hall", audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: 960, value: 13.2 + baseShift, musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: 10 + baseShift, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 10 },
          { time: 180, value: 24 },
          { time: 420, value: 48 },
          { time: 720, value: 66 },
          { time: 960, value: 42 },
          { time: durationSeconds, value: 12 }
        ],
        white: [
          { time: 0, value: 2 },
          { time: 180, value: 6 },
          { time: 420, value: 12 },
          { time: 720, value: 18 },
          { time: 960, value: 10 },
          { time: durationSeconds, value: 2 }
        ],
        pulseVolume: [
          { time: 0, value: 14 },
          { time: 180, value: 22 },
          { time: 420, value: 34 },
          { time: 720, value: 42 },
          { time: 960, value: 28 },
          { time: durationSeconds, value: 10 }
        ],
        musicVolume: [
          { time: 0, value: 28 },
          { time: 180, value: 40 },
          { time: 420, value: 54 },
          { time: 720, value: 58 },
          { time: 960, value: 46 },
          { time: durationSeconds, value: 24 }
        ],
        noiseVolume: [
          { time: 0, value: definition.style % 5 === 0 ? 0 : 6 },
          { time: 180, value: definition.style % 5 === 0 ? 0 : 8 },
          { time: 420, value: definition.style % 5 === 0 ? 0 : 6 },
          { time: 720, value: 2 },
          { time: 960, value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 8 },
          { time: 180, value: 14 },
          { time: 420, value: 18 },
          { time: 720, value: 16 },
          { time: 960, value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: 180, value: 1.8 },
          { time: 420, value: 2.4 },
          { time: 720, value: 2.2 },
          { time: 960, value: 1.6 },
          { time: durationSeconds, value: 1 }
        ],
        color: [
          { time: 0, value: "#1b2440", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 },
          { time: 180, value: "#365c8d", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 14 },
          { time: 420, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.18, auroraDepth: 24 },
          { time: 720, value: colorA, ganzfeldMode: false, auroraMode: "medium", auroraSpeed: 0.24, auroraDepth: 34 },
          { time: 960, value: "#fff0b8", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.18, auroraDepth: 16 },
          { time: durationSeconds, value: "#fff8df", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 12,
    allowedMusicMoods: musicMoods
  };
}

function createMentalMorningEnergyTimelineSession(definition) {
  const durationSeconds = 1200;
  const peak = definition.peak;
  const offset = (definition.style % 5) * 0.18;
  const colorA = definition.accent;
  const colorB = ["#57c7ff", "#ffca57", "#78e08f", "#c792ff", "#ff7a59"][definition.style % 5];
  const colorC = ["#e9fbff", "#fff2bd", "#dfffd7", "#f3e6ff", "#ffe1d6"][definition.style % 5];
  const musicMoods = [
    definition.mood,
    "Ambient",
    "Drone",
    "Cinematic Ambient",
    "Uplifting Electronic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const audioModes = ["monaural", "binaural", "isochronic-monaural"];
  const audioMode = audioModes[definition.style % audioModes.length];
  const pulseShapes = ["sine", "triangle", "sawtooth"];
  const pulseShape = pulseShapes[definition.style % pulseShapes.length];
  const hasNoise = definition.style % 4 !== 1;
  const reverbPreset = definition.style % 3 === 0 ? "room" : definition.style % 3 === 1 ? "hall" : "plate";
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "morning-energy",
    goal: definition.goal,
    goalEn: definition.goalEn,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 14,
    colorCrossfadeSeconds: 28,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType: hasNoise ? (definition.style % 2 === 0 ? "pink" : "brown") : "none",
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: definition.style % 3 === 0 ? "medium" : "subtle",
      auroraSpeed: 0.2 + (definition.style % 4) * 0.03,
      auroraDepth: 18 + (definition.style % 5) * 4,
      markers: [
        {
          time: 0,
          name: "Mentale landing",
          nameEn: "Mental landing",
          purpose: "Start met zachte alpha, lage intensiteit en een duidelijke overgang van slaap naar aandacht.",
          purposeEn: "Starts with soft alpha, low intensity, and a clear transition from sleep into attention."
        },
        {
          time: 180,
          name: "Helder worden",
          nameEn: "Clearing",
          purpose: "Verhoogt de mentale helderheid met rustige ritmes en subtiele kleurbeweging.",
          purposeEn: "Raises mental clarity with calm rhythms and subtle color movement."
        },
        {
          time: 420,
          name: "Focusopbouw",
          nameEn: "Focus build",
          purpose: "Beweegt richting SMR en lage beta voor taakgerichtheid en stabiele alertheid.",
          purposeEn: "Moves toward SMR and low beta for task orientation and steady alertness."
        },
        {
          time: 720,
          name: "Mentale drive",
          nameEn: "Mental drive",
          purpose: "Bouwt gecontroleerde motivatie en cognitieve energie op zonder agressieve prikkels.",
          purposeEn: "Builds controlled motivation and cognitive energy without aggressive stimulation."
        },
        {
          time: 960,
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de prikkelsterkte terug naar bruikbare helderheid en overzicht.",
          purposeEn: "Returns stimulation toward usable clarity and overview."
        },
        {
          time: durationSeconds,
          name: "Klaar voor actie",
          nameEn: "Ready for action",
          purpose: "Sluit af met focus, kalmte en een stabiele mentale startpositie.",
          purposeEn: "Closes with focus, calm, and a stable mental starting point."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: 8.6 + offset, musicMood: "Soft Soundscapes", noiseType: hasNoise ? "pink" : "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: 180, value: 10.4 + offset, musicMood: definition.mood, noiseType: hasNoise ? "pink" : "none", reverbPreset, lightPulseShape: "sine" },
          { time: 420, value: 13.2 + offset, musicMood: musicMoods[1] || definition.mood, noiseType: hasNoise ? "brown" : "none", reverbPreset, lightPulseShape: "triangle" },
          { time: 720, value: peak, musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", lightPulseShape: pulseShape },
          { time: 960, value: Math.max(13.8, peak - 2.4), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "triangle" },
          { time: durationSeconds, value: 11.4 + offset, musicMood: "Ambient", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: 8.4 + offset, musicMood: "Soft Soundscapes", noiseType: hasNoise ? "pink" : "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 180, value: 10.2 + offset, musicMood: definition.mood, noiseType: hasNoise ? "pink" : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 420, value: 12.8 + offset, musicMood: musicMoods[1] || definition.mood, noiseType: hasNoise ? "brown" : "none", reverbPreset, audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: 720, value: Math.max(14.4, peak - 0.3), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: 960, value: Math.max(13.4, peak - 2.8), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: durationSeconds, value: 11 + offset, musicMood: "Ambient", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 8 + (definition.style % 4) },
          { time: 180, value: 24 + (definition.style % 5) * 2 },
          { time: 420, value: 46 + (definition.style % 4) * 3 },
          { time: 720, value: 62 + (definition.style % 5) * 3 },
          { time: 960, value: 44 + (definition.style % 3) * 3 },
          { time: durationSeconds, value: 14 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: 180, value: 4 + (definition.style % 3) },
          { time: 420, value: 8 + (definition.style % 4) },
          { time: 720, value: 12 + (definition.style % 5) },
          { time: 960, value: 7 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 10 },
          { time: 180, value: 20 + (definition.style % 4) * 2 },
          { time: 420, value: 32 + (definition.style % 5) * 2 },
          { time: 720, value: 44 + (definition.style % 4) * 2 },
          { time: 960, value: 30 },
          { time: durationSeconds, value: 9 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: 180, value: 38 + (definition.style % 3) * 3 },
          { time: 420, value: 50 + (definition.style % 4) * 2 },
          { time: 720, value: 56 + (definition.style % 3) * 2 },
          { time: 960, value: 44 },
          { time: durationSeconds, value: 22 }
        ],
        noiseVolume: [
          { time: 0, value: hasNoise ? 4 : 0 },
          { time: 180, value: hasNoise ? 7 : 0 },
          { time: 420, value: hasNoise ? 5 : 0 },
          { time: 720, value: 1 },
          { time: 960, value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 6 },
          { time: 180, value: 10 + (definition.style % 4) * 2 },
          { time: 420, value: 14 + (definition.style % 5) },
          { time: 720, value: 12 + (definition.style % 3) * 2 },
          { time: 960, value: 8 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1 },
          { time: 180, value: 1.4 + (definition.style % 3) * 0.2 },
          { time: 420, value: 2 + (definition.style % 4) * 0.2 },
          { time: 720, value: 1.8 + (definition.style % 3) * 0.2 },
          { time: 960, value: 1.3 },
          { time: durationSeconds, value: 0.9 }
        ],
        color: [
          { time: 0, value: "#18213a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 },
          { time: 180, value: "#314b78", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 12 },
          { time: 420, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.2, auroraDepth: 20 },
          { time: 720, value: colorA, ganzfeldMode: false, auroraMode: definition.style % 3 === 0 ? "medium" : "subtle", auroraSpeed: 0.26, auroraDepth: 26 + (definition.style % 5) * 3 },
          { time: 960, value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.18, auroraDepth: 14 },
          { time: durationSeconds, value: "#f8fbff", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 10,
    allowedMusicMoods: musicMoods
  };
}

function createSpiritualMorningEnergyTimelineSession(definition) {
  const durationSeconds = 1320;
  const peak = definition.peak;
  const offset = (definition.style % 4) * 0.14;
  const colorA = definition.accent;
  const colorB = ["#ffd36a", "#aee8d2", "#d2c2ff", "#f7b7c9"][definition.style % 4];
  const colorC = ["#fff4d2", "#e7fff5", "#f2ecff", "#ffe8ef"][definition.style % 4];
  const musicMoods = [
    definition.mood,
    "Theta Soundscape",
    "Soft Soundscapes",
    "Ambient",
    "Cinematic Ambient",
    "Drone"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const audioModes = ["binaural", "monaural", "isochronic-monaural"];
  const audioMode = audioModes[definition.style % audioModes.length];
  const pulseShape = definition.style % 3 === 0 ? "sine" : definition.style % 3 === 1 ? "triangle" : "sine";
  const noiseType = definition.style % 5 === 0 ? "none" : definition.style % 2 === 0 ? "pink" : "brown";
  const reverbPreset = definition.style % 4 === 0 ? "hall" : definition.style % 4 === 1 ? "plate" : "room";
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "morning-energy",
    goal: definition.goal,
    goalEn: definition.goalEn,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 20,
    colorCrossfadeSeconds: 44,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: definition.style % 4 === 0 ? "medium" : "subtle",
      auroraSpeed: 0.12 + (definition.style % 5) * 0.025,
      auroraDepth: 14 + (definition.style % 6) * 4,
      markers: [
        {
          time: 0,
          name: "Stille start",
          nameEn: "Quiet start",
          purpose: "Begint met lage intensiteit, zachte theta-alpha overgang en ruimte voor rustige ademhaling.",
          purposeEn: "Begins with low intensity, a gentle theta-alpha transition, and space for calm breathing."
        },
        {
          time: 240,
          name: "Aanwezigheid",
          nameEn: "Presence",
          purpose: "Verdiept opmerkzaamheid en lichaamsgevoel met warme kleurbeweging en subtiele pulsen.",
          purposeEn: "Deepens mindfulness and body awareness with warm color movement and subtle pulses."
        },
        {
          time: 540,
          name: "Innerlijke afstemming",
          nameEn: "Inner alignment",
          purpose: "Stabiliseert alpha en lichte SMR voor rustige helderheid, intentie en innerlijke balans.",
          purposeEn: "Stabilizes alpha and light SMR for calm clarity, intention, and inner balance."
        },
        {
          time: 840,
          name: "Zachte ochtendenergie",
          nameEn: "Gentle morning energy",
          purpose: "Voegt milde activering toe zonder scherpe beta-pieken of overmatige sensorische druk.",
          purposeEn: "Adds mild activation without sharp beta peaks or excessive sensory pressure."
        },
        {
          time: 1080,
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt licht, geluid en aandacht terug naar een rustige, bruikbare dagstart.",
          purposeEn: "Returns light, sound, and attention toward a calm, usable start to the day."
        },
        {
          time: durationSeconds,
          name: "Gegrond ontwaken",
          nameEn: "Grounded awakening",
          purpose: "Rondt af met stille helderheid, zachte energie en gegronde aanwezigheid.",
          purposeEn: "Closes with quiet clarity, gentle energy, and grounded presence."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: 6.6 + offset, musicMood: "Theta Soundscape", noiseType, reverbPreset: "hall", lightPulseShape: "sine" },
          { time: 240, value: 7.8 + offset, musicMood: definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: 540, value: 9.6 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: 840, value: peak, musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: pulseShape },
          { time: 1080, value: Math.max(9.4, peak - 1.2), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "triangle" },
          { time: durationSeconds, value: 8.4 + offset, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: 6.4 + offset, musicMood: "Theta Soundscape", noiseType, reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 240, value: 7.6 + offset, musicMood: definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 540, value: 9.4 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 840, value: Math.max(10.4, peak - 0.2), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: 1080, value: Math.max(9.2, peak - 1.5), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: durationSeconds, value: 8.2 + offset, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 6 },
          { time: 240, value: 18 + (definition.style % 4) * 2 },
          { time: 540, value: 34 + (definition.style % 5) * 2 },
          { time: 840, value: 48 + (definition.style % 4) * 3 },
          { time: 1080, value: 32 + (definition.style % 3) * 2 },
          { time: durationSeconds, value: 10 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: 240, value: 3 },
          { time: 540, value: 6 + (definition.style % 3) },
          { time: 840, value: 9 + (definition.style % 4) },
          { time: 1080, value: 5 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 8 },
          { time: 240, value: 16 + (definition.style % 4) },
          { time: 540, value: 24 + (definition.style % 5) },
          { time: 840, value: 32 + (definition.style % 4) * 2 },
          { time: 1080, value: 22 },
          { time: durationSeconds, value: 8 }
        ],
        musicVolume: [
          { time: 0, value: 26 },
          { time: 240, value: 38 },
          { time: 540, value: 48 + (definition.style % 4) },
          { time: 840, value: 52 + (definition.style % 3) * 2 },
          { time: 1080, value: 42 },
          { time: durationSeconds, value: 24 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 5 },
          { time: 240, value: noiseType === "none" ? 0 : 7 },
          { time: 540, value: noiseType === "none" ? 0 : 6 },
          { time: 840, value: 2 },
          { time: 1080, value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 14 },
          { time: 240, value: 20 + (definition.style % 4) },
          { time: 540, value: 24 + (definition.style % 5) },
          { time: 840, value: 20 },
          { time: 1080, value: 14 },
          { time: durationSeconds, value: 6 }
        ],
        reverbDecay: [
          { time: 0, value: 2 },
          { time: 240, value: 2.6 + (definition.style % 3) * 0.2 },
          { time: 540, value: 3.2 + (definition.style % 4) * 0.2 },
          { time: 840, value: 2.6 },
          { time: 1080, value: 1.8 },
          { time: durationSeconds, value: 1 }
        ],
        color: [
          { time: 0, value: "#151b2e", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
          { time: 240, value: "#2b4168", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
          { time: 540, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.16, auroraDepth: 18 },
          { time: 840, value: colorA, ganzfeldMode: false, auroraMode: definition.style % 4 === 0 ? "medium" : "subtle", auroraSpeed: 0.2, auroraDepth: 24 + (definition.style % 5) * 2 },
          { time: 1080, value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 12 },
          { time: durationSeconds, value: "#fff9ea", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 14,
    allowedMusicMoods: musicMoods
  };
}

function createEmotionalMorningEnergyTimelineSession(definition) {
  const durationSeconds = 1260;
  const peak = definition.peak;
  const offset = (definition.style % 5) * 0.16;
  const colorA = definition.accent;
  const colorB = ["#ffd166", "#ff9eb5", "#a8e6cf", "#8ed8ff", "#f4d35e"][definition.style % 5];
  const colorC = ["#fff2c7", "#ffe4ec", "#e6fff4", "#e8f7ff", "#fff7d6"][definition.style % 5];
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    "Ambient",
    "Cinematic Ambient",
    "Uplifting Electronic Ambient",
    "Theta Soundscape"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const audioModes = ["monaural", "binaural", "isochronic-monaural"];
  const audioMode = audioModes[definition.style % audioModes.length];
  const pulseShape = definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = definition.style % 6 === 0 ? "none" : definition.style % 2 === 0 ? "pink" : "brown";
  const reverbPreset = definition.style % 3 === 0 ? "hall" : definition.style % 3 === 1 ? "room" : "plate";
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "morning-energy",
    goal: definition.goal,
    goalEn: definition.goalEn,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 18,
    colorCrossfadeSeconds: 38,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: definition.style % 3 === 0 ? "medium" : "subtle",
      auroraSpeed: 0.15 + (definition.style % 4) * 0.025,
      auroraDepth: 16 + (definition.style % 5) * 4,
      markers: [
        {
          time: 0,
          name: "Zachte stemming",
          nameEn: "Soft mood",
          purpose: "Start met lage intensiteit, warme rust en een vriendelijke overgang naar wakkerheid.",
          purposeEn: "Starts with low intensity, warm calm, and a kind transition into wakefulness."
        },
        {
          time: 210,
          name: "Emotionele helderheid",
          nameEn: "Emotional clarity",
          purpose: "Bouwt lichte alpha-helderheid op met zachte kleurbeweging en stabiele ademruimte.",
          purposeEn: "Builds light alpha clarity with gentle color movement and steady breathing space."
        },
        {
          time: 480,
          name: "Positieve activering",
          nameEn: "Positive activation",
          purpose: "Voegt warme energie toe zonder scherpe pieken, met nadruk op optimisme en openheid.",
          purposeEn: "Adds warm energy without sharp peaks, emphasizing optimism and openness."
        },
        {
          time: 780,
          name: "Veerkrachtige energie",
          nameEn: "Resilient energy",
          purpose: "Stabiliseert milde SMR en lage beta voor emotionele stevigheid en bruikbare alertheid.",
          purposeEn: "Stabilizes mild SMR and low beta for emotional steadiness and usable alertness."
        },
        {
          time: 1020,
          name: "Warme integratie",
          nameEn: "Warm integration",
          purpose: "Brengt prikkelsterkte terug naar rustige positieve aanwezigheid.",
          purposeEn: "Returns stimulation toward calm positive presence."
        },
        {
          time: durationSeconds,
          name: "Positieve dagstart",
          nameEn: "Positive day start",
          purpose: "Rondt af met zachte vitaliteit, emotionele balans en heldere ochtendenergie.",
          purposeEn: "Closes with gentle vitality, emotional balance, and clear morning energy."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: 7.6 + offset, musicMood: "Soft Soundscapes", noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: 210, value: 9.2 + offset, musicMood: definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: 480, value: 11.4 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "triangle" },
          { time: 780, value: peak, musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", lightPulseShape: pulseShape },
          { time: 1020, value: Math.max(11.2, peak - 1.8), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: 9.2 + offset, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: 7.4 + offset, musicMood: "Soft Soundscapes", noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 210, value: 9 + offset, musicMood: definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: 480, value: 11.2 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: 780, value: Math.max(12.4, peak - 0.2), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: 1020, value: Math.max(11, peak - 2), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: 9 + offset, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 7 },
          { time: 210, value: 22 + (definition.style % 4) * 2 },
          { time: 480, value: 42 + (definition.style % 5) * 2 },
          { time: 780, value: 58 + (definition.style % 4) * 3 },
          { time: 1020, value: 38 + (definition.style % 3) * 2 },
          { time: durationSeconds, value: 12 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: 210, value: 4 + (definition.style % 2) },
          { time: 480, value: 8 + (definition.style % 3) },
          { time: 780, value: 12 + (definition.style % 4) },
          { time: 1020, value: 6 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 9 },
          { time: 210, value: 18 + (definition.style % 4) },
          { time: 480, value: 28 + (definition.style % 5) * 2 },
          { time: 780, value: 38 + (definition.style % 4) * 2 },
          { time: 1020, value: 25 },
          { time: durationSeconds, value: 8 }
        ],
        musicVolume: [
          { time: 0, value: 26 },
          { time: 210, value: 40 },
          { time: 480, value: 52 + (definition.style % 4) },
          { time: 780, value: 56 + (definition.style % 3) * 2 },
          { time: 1020, value: 44 },
          { time: durationSeconds, value: 24 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: 210, value: noiseType === "none" ? 0 : 6 },
          { time: 480, value: noiseType === "none" ? 0 : 5 },
          { time: 780, value: 2 },
          { time: 1020, value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: 210, value: 16 + (definition.style % 4) },
          { time: 480, value: 20 + (definition.style % 5) },
          { time: 780, value: 18 },
          { time: 1020, value: 12 },
          { time: durationSeconds, value: 5 }
        ],
        reverbDecay: [
          { time: 0, value: 1.5 },
          { time: 210, value: 2 + (definition.style % 3) * 0.2 },
          { time: 480, value: 2.6 + (definition.style % 4) * 0.2 },
          { time: 780, value: 2.2 },
          { time: 1020, value: 1.5 },
          { time: durationSeconds, value: 0.9 }
        ],
        color: [
          { time: 0, value: "#1a2234", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.07, auroraDepth: 0 },
          { time: 210, value: "#3a5678", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.13, auroraDepth: 12 },
          { time: 480, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.18, auroraDepth: 18 },
          { time: 780, value: colorA, ganzfeldMode: false, auroraMode: definition.style % 3 === 0 ? "medium" : "subtle", auroraSpeed: 0.23, auroraDepth: 24 + (definition.style % 5) * 2 },
          { time: 1020, value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.16, auroraDepth: 12 },
          { time: durationSeconds, value: "#fff8eb", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.07, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 12,
    allowedMusicMoods: musicMoods
  };
}

function createMentalEnergyTimelineSession(definition) {
  const durationProfiles = [1080, 1200, 1260, 1320, 1140, 1500, 1380, 1440, 1170];
  const durationSeconds = durationProfiles[definition.profile];
  const peak = definition.peak;
  const offset = (definition.style % 7) * 0.11;
  const colorA = definition.accent;
  const colorB = ["#4fc3f7", "#81c784", "#ffd54f", "#b39ddb", "#ffab91", "#80cbc4"][definition.style % 6];
  const colorC = ["#e8f7ff", "#eaffef", "#fff7d2", "#f1e8ff", "#ffe8df", "#e5fffb"][definition.style % 6];
  const musicMoods = [
    definition.mood,
    "Ambient",
    "Drone",
    "Uplifting Electronic Ambient",
    "Cinematic Ambient",
    "Soft Soundscapes",
    "Theta Soundscape"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const profileText = [
    {
      nl: "gerichte cognitieve activatie, heldere aandacht en bruikbare mentale energie",
      en: "targeted cognitive activation, clear attention, and usable mental energy",
      marker: ["Cognitieve start", "Cognitive start"]
    },
    {
      nl: "stabiele focus, taakgericht denken en gecontroleerde alertheid",
      en: "stable focus, task-oriented thinking, and controlled alertness",
      marker: ["Focusopbouw", "Focus build"]
    },
    {
      nl: "sneller schakelen, frisse informatieverwerking en mentale precisie",
      en: "faster switching, fresh information processing, and mental precision",
      marker: ["Verwerkingssnelheid", "Processing speed"]
    },
    {
      nl: "executieve helderheid, besliskracht en strategisch overzicht",
      en: "executive clarity, decision strength, and strategic overview",
      marker: ["Executieve helderheid", "Executive clarity"]
    },
    {
      nl: "creatieve flexibiliteit, ideevorming en soepele mentale associatie",
      en: "creative flexibility, idea formation, and smooth mental association",
      marker: ["Creatieve ruimte", "Creative space"]
    },
    {
      nl: "mentaal herstel, frisse helderheid en kalme alertheid na belasting",
      en: "mental recovery, fresh clarity, and calm alertness after strain",
      marker: ["Cognitief herstel", "Cognitive recovery"]
    },
    {
      nl: "langere concentratie, mentale uithouding en focus zonder overbelasting",
      en: "longer concentration, mental endurance, and focus without overload",
      marker: ["Duurfocus", "Endurance focus"]
    },
    {
      nl: "leerenergie, geheugenondersteuning en rustige opname van informatie",
      en: "learning energy, memory support, and calm intake of information",
      marker: ["Leren en geheugen", "Learning and memory"]
    },
    {
      nl: "brede hersengolfsynchronisatie, evenwichtige helderheid en mentale samenhang",
      en: "broad brainwave synchronization, balanced clarity, and mental coherence",
      marker: ["Synchronisatie", "Synchronization"]
    }
  ][definition.profile];
  const audioModes = ["monaural", "binaural", "isochronic-monaural"];
  const audioMode = audioModes[definition.style % audioModes.length];
  const pulseShapes = ["sine", "triangle", "sine", "sawtooth"];
  const pulseShape = pulseShapes[definition.style % pulseShapes.length];
  const noiseType = definition.style % 5 === 0 ? "none" : definition.style % 2 === 0 ? "pink" : "brown";
  const reverbPreset = definition.style % 4 === 0 ? "room" : definition.style % 4 === 1 ? "hall" : definition.style % 4 === 2 ? "plate" : "none";
  const startFrequency = definition.profile === 5 ? 7.8 : definition.profile === 7 ? 8.4 : 9.2;
  const midFrequency = definition.profile === 4 ? 11.2 : definition.profile === 8 ? 10.8 : 12.6;
  const recoveryFrequency = definition.profile === 5 ? 10.2 : definition.profile === 6 ? 13.4 : 11.8;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "mental-energy",
    goal: `Een verantwoorde mentale energiesessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}.`,
    goalEn: `A responsible mental energy session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 14 + (definition.style % 4) * 2,
    colorCrossfadeSeconds: 30 + (definition.style % 5) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: definition.style % 4 === 0 ? "medium" : "subtle",
      auroraSpeed: 0.16 + (definition.style % 5) * 0.03,
      auroraDepth: 16 + (definition.style % 7) * 3,
      markers: [
        {
          time: 0,
          name: "Mentale basis",
          nameEn: "Mental baseline",
          purpose: "Start met beheerste intensiteit en rustige orientatie voordat de cognitieve activatie stijgt.",
          purposeEn: "Starts with controlled intensity and calm orientation before cognitive activation rises."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: profileText.marker[0],
          nameEn: profileText.marker[1],
          purpose: `Bouwt ${profileText.nl} geleidelijk op zonder abrupte licht- of audiopieken.`,
          purposeEn: `Gradually builds ${profileText.en} without abrupt light or audio peaks.`
        },
        {
          time: Math.round(durationSeconds * 0.42),
          name: "Actieve helderheid",
          nameEn: "Active clarity",
          purpose: "Verhoogt SMR en lage beta voor bruikbare focus, mentale frisheid en heldere taakstart.",
          purposeEn: "Raises SMR and low beta for usable focus, mental freshness, and clear task initiation."
        },
        {
          time: Math.round(durationSeconds * 0.66),
          name: "Prestatievenster",
          nameEn: "Performance window",
          purpose: "Stabiliseert de hoogste frequentiezone met gecontroleerde RGB-intensiteit en voldoende muzikale bedding.",
          purposeEn: "Stabilizes the highest frequency zone with controlled RGB intensity and enough musical support."
        },
        {
          time: Math.round(durationSeconds * 0.84),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt prikkelsterkte terug zodat alertheid bruikbaar blijft na de sessie.",
          purposeEn: "Brings stimulation down so alertness remains usable after the session."
        },
        {
          time: durationSeconds,
          name: "Heldere afronding",
          nameEn: "Clear close",
          purpose: "Rondt af met kalme focus, stabiele ademruimte en mentale paraatheid.",
          purposeEn: "Closes with calm focus, stable breathing space, and mental readiness."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency + offset, musicMood: "Soft Soundscapes", noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: 10.4 + offset, musicMood: definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.42), value: midFrequency + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "triangle" },
          { time: Math.round(durationSeconds * 0.66), value: peak, musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(recoveryFrequency, peak - 2.2), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "triangle" },
          { time: durationSeconds, value: 10.2 + offset, musicMood: "Ambient", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2 + offset, musicMood: "Soft Soundscapes", noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: 10.2 + offset, musicMood: definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.42), value: midFrequency - 0.3 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: Math.round(durationSeconds * 0.66), value: Math.max(13.8, peak - 0.4), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(recoveryFrequency - 0.2, peak - 2.6), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: durationSeconds, value: 10 + offset, musicMood: "Ambient", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 8 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.18), value: 24 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 44 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.66), value: 60 + (definition.style % 5) * 3 },
          { time: Math.round(durationSeconds * 0.84), value: 38 + (definition.style % 4) * 2 },
          { time: durationSeconds, value: 12 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: 4 + (definition.style % 3) },
          { time: Math.round(durationSeconds * 0.42), value: 8 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.66), value: 12 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.18), value: 20 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 32 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.66), value: 42 + (definition.style % 4) * 3 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 9 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: Math.round(durationSeconds * 0.18), value: 38 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 50 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.66), value: 56 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 42 },
          { time: durationSeconds, value: 22 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.42), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.66), value: 1 },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: 10 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 14 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.66), value: 12 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.84), value: 8 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: 1.4 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.42), value: 2 + (definition.style % 4) * 0.2 },
          { time: Math.round(durationSeconds * 0.66), value: 1.8 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.2 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#18213a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#314b78", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.13, auroraDepth: 12 },
          { time: Math.round(durationSeconds * 0.42), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.18, auroraDepth: 18 },
          { time: Math.round(durationSeconds * 0.66), value: colorA, ganzfeldMode: false, auroraMode: definition.style % 4 === 0 ? "medium" : "subtle", auroraSpeed: 0.24, auroraDepth: 24 + (definition.style % 7) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.16, auroraDepth: 12 },
          { time: durationSeconds, value: "#f8fbff", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 10,
    allowedMusicMoods: musicMoods
  };
}

function createPhysicalEnergyTimelineSession(definition) {
  const durationProfiles = [1080, 1200, 1260, 1320, 1140, 1500, 1380, 1440, 1170, 1560];
  const durationSeconds = durationProfiles[definition.profile];
  const peak = definition.peak;
  const offset = (definition.style % 6) * 0.14;
  const colorA = definition.accent;
  const colorB = ["#ffb347", "#8bd34f", "#40c9ff", "#ff8759", "#ffd166", "#72d47a"][definition.style % 6];
  const colorC = ["#fff0c2", "#ecffd8", "#e2f8ff", "#ffe0d6", "#fff7d2", "#e5ffea"][definition.style % 6];
  const musicMoods = [
    definition.mood,
    "Uplifting Electronic Ambient",
    "Ambient",
    "Soft Soundscapes",
    "Cinematic Ambient",
    "Drone",
    "Theta Soundscape"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const profileText = [
    {
      nl: "natuurlijke ochtendactivatie, fysieke paraatheid en rustige vitale energie",
      en: "natural morning activation, physical readiness, and calm vital energy",
      marker: ["Ochtendactivatie", "Morning activation"]
    },
    {
      nl: "lichaamsgerichte vitaliteit, beweging en bruikbare dagelijkse energie",
      en: "body-oriented vitality, movement, and usable daily energy",
      marker: ["Lichaamsvitaliteit", "Body vitality"]
    },
    {
      nl: "uithoudingsvermogen, stamina en langdurig energieritme",
      en: "endurance, stamina, and sustained energy rhythm",
      marker: ["Uithoudingsopbouw", "Endurance build"]
    },
    {
      nl: "kracht, power en prestatiegerichte fysieke activering",
      en: "strength, power, and performance-oriented physical activation",
      marker: ["Krachtvenster", "Power window"]
    },
    {
      nl: "sportvoorbereiding, atletische alertheid en gecontroleerde activering",
      en: "sports preparation, athletic alertness, and controlled activation",
      marker: ["Sportactivatie", "Sports activation"]
    },
    {
      nl: "herstel, energieherstel en zachte revitalisatie na belasting",
      en: "recovery, energy restoration, and gentle revitalization after exertion",
      marker: ["Herstelfase", "Recovery phase"]
    },
    {
      nl: "middagenergie, tweede adem en stabiele energie zonder overprikkeling",
      en: "midday energy, second wind, and stable energy without overstimulation",
      marker: ["Tweede adem", "Second wind"]
    },
    {
      nl: "reizen, ritmeherstel en heldere fysieke wakkerheid",
      en: "travel, rhythm recovery, and clear physical wakefulness",
      marker: ["Ritmeherstel", "Rhythm reset"]
    },
    {
      nl: "gezond ouder worden, mobiliteit en evenwichtige lichaamsenergie",
      en: "healthy aging, mobility, and balanced body energy",
      marker: ["Mobiliteit", "Mobility"]
    },
    {
      nl: "high-performance energie, fysieke veerkracht en gegronde topprestatie",
      en: "high-performance energy, physical resilience, and grounded peak output",
      marker: ["Prestatieopbouw", "Performance build"]
    }
  ][definition.profile];
  const audioModes = ["isochronic-monaural", "monaural", "binaural"];
  const audioMode = audioModes[definition.style % audioModes.length];
  const pulseShapes = ["sine", "triangle", "sine", "sawtooth"];
  const pulseShape = pulseShapes[definition.style % pulseShapes.length];
  const noiseType = definition.style % 7 === 0 ? "none" : definition.style % 2 === 0 ? "pink" : "brown";
  const reverbPreset = definition.style % 4 === 0 ? "room" : definition.style % 4 === 1 ? "hall" : definition.style % 4 === 2 ? "plate" : "none";
  const startsLower = definition.profile === 5 || definition.profile === 8 || definition.profile === 9;
  const startFrequency = startsLower ? 7.4 : definition.profile === 7 ? 8.2 : 8.8;
  const midFrequency = definition.profile === 5 ? 10.2 : definition.profile === 8 ? 11.4 : definition.profile === 3 || definition.profile === 4 ? 13.4 : 12.2;
  const recoveryFrequency = definition.profile === 5 ? 9.4 : definition.profile === 2 ? 13.2 : definition.profile === 9 ? 12.8 : 11.2;
  const mixedMental = definition.labelEn.includes("Mental");
  const spiritual = definition.labelEn.includes("Spiritual");
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "physical-energy",
    goal: `Een verantwoorde fysieke energiesessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}.`,
    goalEn: `A responsible physical energy session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 14 + (definition.style % 4) * 2,
    colorCrossfadeSeconds: 32 + (definition.style % 5) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritual ? "subtle" : definition.style % 4 === 0 ? "medium" : "subtle",
      auroraSpeed: 0.16 + (definition.style % 5) * 0.035,
      auroraDepth: 16 + (definition.style % 7) * 3,
      markers: [
        {
          time: 0,
          name: "Lichaamsbasis",
          nameEn: "Body baseline",
          purpose: "Start met beheerste intensiteit, ademruimte en een rustige overgang naar fysieke activering.",
          purposeEn: "Starts with controlled intensity, breathing space, and a calm transition into physical activation."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: profileText.marker[0],
          nameEn: profileText.marker[1],
          purpose: `Bouwt ${profileText.nl} geleidelijk op met veilige licht- en audiocurves.`,
          purposeEn: `Gradually builds ${profileText.en} with safe light and audio curves.`
        },
        {
          time: Math.round(durationSeconds * 0.42),
          name: "Vitale opbouw",
          nameEn: "Vital build",
          purpose: "Verhoogt ritme, kleur en pulssterkte richting bruikbare lichaamsenergie.",
          purposeEn: "Raises rhythm, color, and pulse strength toward usable body energy."
        },
        {
          time: Math.round(durationSeconds * 0.66),
          name: mixedMental ? "Lichaam-geest prestatie" : "Fysiek prestatievenster",
          nameEn: mixedMental ? "Body-mind performance" : "Physical performance window",
          purpose: "Stabiliseert de hoogste frequentiezone zonder harde pieken of onnodige sensorische druk.",
          purposeEn: "Stabilizes the highest frequency zone without harsh peaks or unnecessary sensory pressure."
        },
        {
          time: Math.round(durationSeconds * 0.84),
          name: "Energie-integratie",
          nameEn: "Energy integration",
          purpose: "Brengt de intensiteit terug naar een praktisch energieniveau voor bewegen, herstel of dagactiviteit.",
          purposeEn: "Returns intensity toward a practical energy level for movement, recovery, or daily activity."
        },
        {
          time: durationSeconds,
          name: "Gegronde afronding",
          nameEn: "Grounded close",
          purpose: "Rondt af met vitale helderheid, lichamelijke stabiliteit en rustige paraatheid.",
          purposeEn: "Closes with vital clarity, physical stability, and calm readiness."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency + offset, musicMood: spiritual ? "Theta Soundscape" : "Soft Soundscapes", noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: 9.8 + offset, musicMood: definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.42), value: midFrequency + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "triangle" },
          { time: Math.round(durationSeconds * 0.66), value: peak + (mixedMental ? 0.3 : 0), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(recoveryFrequency, peak - 2.4), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "triangle" },
          { time: durationSeconds, value: 9.8 + offset, musicMood: "Ambient", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2 + offset, musicMood: spiritual ? "Theta Soundscape" : "Soft Soundscapes", noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: 9.6 + offset, musicMood: definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.42), value: midFrequency - 0.2 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: Math.round(durationSeconds * 0.66), value: Math.max(12.4, peak - 0.3 + (mixedMental ? 0.3 : 0)), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset: "hall", audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(recoveryFrequency - 0.2, peak - 2.7), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "triangle", pulseShape: "triangle" },
          { time: durationSeconds, value: 9.6 + offset, musicMood: "Ambient", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 9 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.18), value: 26 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 50 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.66), value: 66 + (definition.style % 5) * 3 },
          { time: Math.round(durationSeconds * 0.84), value: 42 + (definition.style % 4) * 2 },
          { time: durationSeconds, value: 13 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: 5 + (definition.style % 3) },
          { time: Math.round(durationSeconds * 0.42), value: 10 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.66), value: 15 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.84), value: 8 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.18), value: 22 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 36 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.66), value: 46 + (definition.style % 4) * 3 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 10 }
        ],
        musicVolume: [
          { time: 0, value: 26 },
          { time: Math.round(durationSeconds * 0.18), value: 40 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 54 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.66), value: 60 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 46 },
          { time: durationSeconds, value: 24 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.42), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.66), value: 1 },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 7 },
          { time: Math.round(durationSeconds * 0.18), value: 12 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.42), value: 16 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.66), value: 14 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1.1 },
          { time: Math.round(durationSeconds * 0.18), value: 1.5 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.42), value: 2.1 + (definition.style % 4) * 0.2 },
          { time: Math.round(durationSeconds * 0.66), value: 1.9 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.3 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#1b2440", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#365c8d", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 12 },
          { time: Math.round(durationSeconds * 0.42), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.2, auroraDepth: 20 },
          { time: Math.round(durationSeconds * 0.66), value: colorA, ganzfeldMode: false, auroraMode: definition.style % 4 === 0 ? "medium" : "subtle", auroraSpeed: 0.27, auroraDepth: 26 + (definition.style % 7) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.17, auroraDepth: 12 },
          { time: durationSeconds, value: "#fff9ec", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 12,
    allowedMusicMoods: musicMoods
  };
}

function createEmotionalEnergyTimelineSession(definition) {
  const durationProfiles = [1200, 1260, 1320, 1380, 1500, 1140, 1080, 1560, 1290, 1440];
  const durationSeconds = durationProfiles[definition.profile];
  const peak = definition.peak;
  const offset = (definition.style % 5) * 0.12;
  const colorA = definition.accent;
  const colorB = ["#ffb7c8", "#ffd166", "#a8e6cf", "#8ed8ff", "#d7b8ff"][definition.style % 5];
  const colorC = ["#ffe8ef", "#fff4ca", "#e8fff4", "#e8f7ff", "#f3e9ff"][definition.style % 5];
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    "Ambient",
    "Theta Soundscape",
    "Cinematic Ambient",
    "Uplifting Electronic Ambient",
    "Drone"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const profileText = [
    {
      nl: "positieve stemming, lichte emotionele energie en zachte vitaliteit",
      en: "positive mood, light emotional energy, and gentle vitality",
      marker: ["Positieve stemming", "Positive mood"]
    },
    {
      nl: "emotioneel opladen, innerlijke warmte en stabiele veerkracht",
      en: "emotional recharge, inner warmth, and steady resilience",
      marker: ["Emotioneel opladen", "Emotional recharge"]
    },
    {
      nl: "hartgerichte rust, compassie en vriendelijke zelfverbinding",
      en: "heart-centered calm, compassion, and kind self-connection",
      marker: ["Hartverbinding", "Heart connection"]
    },
    {
      nl: "kalmering, stressontlading en veilige emotionele regulatie",
      en: "calming, stress release, and safe emotional regulation",
      marker: ["Kalmering", "Calming"]
    },
    {
      nl: "loslaten, acceptatie en zachte emotionele verwerking",
      en: "letting go, acceptance, and gentle emotional processing",
      marker: ["Loslaten", "Letting go"]
    },
    {
      nl: "herstel, hoop en voorzichtige wederopbouw van emotionele kracht",
      en: "recovery, hope, and careful rebuilding of emotional strength",
      marker: ["Herstelruimte", "Recovery space"]
    },
    {
      nl: "zelfvertrouwen, moed en warme emotionele stevigheid",
      en: "confidence, courage, and warm emotional steadiness",
      marker: ["Innerlijk vertrouwen", "Inner confidence"]
    },
    {
      nl: "innerlijke vrede, lichte spirituele aanwezigheid en zachte coherentie",
      en: "inner peace, light spiritual presence, and gentle coherence",
      marker: ["Vredige aanwezigheid", "Peaceful presence"]
    },
    {
      nl: "verbinding, sociale warmte en een open hartgerichte houding",
      en: "connection, social warmth, and an open heart-centered attitude",
      marker: ["Verbinding", "Connection"]
    },
    {
      nl: "emotionele flow, dankbaarheid en een ruimere positieve beleving",
      en: "emotional flow, gratitude, and a more spacious positive experience",
      marker: ["Emotionele flow", "Emotional flow"]
    }
  ][definition.profile];
  const spiritual = definition.labelEn.includes("Spiritual");
  const mental = definition.labelEn.includes("Mental");
  const audioModes = spiritual ? ["binaural", "monaural", "isochronic-monaural"] : ["monaural", "binaural", "isochronic-monaural"];
  const audioMode = audioModes[definition.style % audioModes.length];
  const pulseShape = definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = definition.style % 6 === 0 ? "none" : definition.style % 2 === 0 ? "pink" : "brown";
  const reverbPreset = spiritual ? (definition.style % 2 === 0 ? "hall" : "plate") : definition.style % 3 === 0 ? "hall" : definition.style % 3 === 1 ? "room" : "plate";
  const startFrequency = spiritual ? 6.4 : definition.profile === 3 || definition.profile === 4 || definition.profile === 5 ? 7.2 : 8.2;
  const midFrequency = spiritual ? 8.8 : definition.profile === 6 || mental ? 11.8 : definition.profile === 0 || definition.profile === 1 ? 10.8 : 9.6;
  const endFrequency = spiritual ? 7.8 : definition.profile === 6 || mental ? 10.2 : 8.8;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "emotional-energy",
    goal: `Een verantwoorde emotionele energiesessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}.`,
    goalEn: `A responsible emotional energy session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 18 + (definition.style % 4) * 2,
    colorCrossfadeSeconds: 40 + (definition.style % 5) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritual || definition.style % 4 === 0 ? "medium" : "subtle",
      auroraSpeed: 0.12 + (definition.style % 5) * 0.025,
      auroraDepth: 18 + (definition.style % 7) * 3,
      markers: [
        {
          time: 0,
          name: "Emotionele landing",
          nameEn: "Emotional landing",
          purpose: "Begint met lage intensiteit, zachte ademruimte en een veilige overgang naar emotionele aanwezigheid.",
          purposeEn: "Begins with low intensity, gentle breathing space, and a safe transition into emotional presence."
        },
        {
          time: Math.round(durationSeconds * 0.2),
          name: profileText.marker[0],
          nameEn: profileText.marker[1],
          purpose: `Bouwt ${profileText.nl} rustig op met vloeiende licht- en audiocurves.`,
          purposeEn: `Gently builds ${profileText.en} with smooth light and audio curves.`
        },
        {
          time: Math.round(durationSeconds * 0.45),
          name: "Hart en stemming",
          nameEn: "Heart and mood",
          purpose: "Versterkt warme kleurprogressie, zachte coherentie en stabiele alpha/SMR-ondersteuning.",
          purposeEn: "Strengthens warm color progression, gentle coherence, and steady alpha/SMR support."
        },
        {
          time: Math.round(durationSeconds * 0.68),
          name: spiritual ? "Ruime aanwezigheid" : "Zachte vitaliteit",
          nameEn: spiritual ? "Spacious presence" : "Gentle vitality",
          purpose: "Bereikt de hoogste activeringszone zonder scherpe pieken of dwingende intensiteit.",
          purposeEn: "Reaches the highest activation zone without sharp peaks or forceful intensity."
        },
        {
          time: Math.round(durationSeconds * 0.86),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de sessie terug naar rustige positieve aanwezigheid en emotionele balans.",
          purposeEn: "Returns the session toward calm positive presence and emotional balance."
        },
        {
          time: durationSeconds,
          name: "Zachte afronding",
          nameEn: "Gentle close",
          purpose: "Rondt af met kalmte, warmte en een stabiele emotionele basis.",
          purposeEn: "Closes with calm, warmth, and a stable emotional foundation."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency + offset, musicMood: spiritual ? "Theta Soundscape" : "Soft Soundscapes", noiseType, reverbPreset: "hall", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.2), value: startFrequency + 1.2 + offset, musicMood: definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.45), value: midFrequency + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.68), value: peak + (mental ? 0.3 : 0), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.86), value: Math.max(endFrequency, peak - 1.8), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency + offset, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2 + offset, musicMood: spiritual ? "Theta Soundscape" : "Soft Soundscapes", noiseType, reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.2), value: startFrequency + 1 + offset, musicMood: definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.45), value: midFrequency - 0.2 + offset, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.68), value: Math.max(9.8, peak - 0.2 + (mental ? 0.3 : 0)), musicMood: musicMoods[2] || definition.mood, noiseType: "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.86), value: Math.max(endFrequency - 0.2, peak - 2), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: endFrequency - 0.2 + offset, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.2), value: 20 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.45), value: 38 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.68), value: 52 + (definition.style % 5) * 3 },
          { time: Math.round(durationSeconds * 0.86), value: 34 + (definition.style % 4) * 2 },
          { time: durationSeconds, value: 10 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.2), value: 3 + (definition.style % 3) },
          { time: Math.round(durationSeconds * 0.45), value: 7 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.68), value: 10 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.86), value: 5 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 8 },
          { time: Math.round(durationSeconds * 0.2), value: 16 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.45), value: 26 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.68), value: 34 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.86), value: 22 },
          { time: durationSeconds, value: 7 }
        ],
        musicVolume: [
          { time: 0, value: 28 },
          { time: Math.round(durationSeconds * 0.2), value: 40 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.45), value: 50 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.68), value: 54 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.86), value: 44 },
          { time: durationSeconds, value: 24 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.2), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.45), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.68), value: 1 },
          { time: Math.round(durationSeconds * 0.86), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.2), value: 18 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.45), value: 22 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.68), value: 20 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.86), value: 14 },
          { time: durationSeconds, value: 5 }
        ],
        reverbDecay: [
          { time: 0, value: 1.8 },
          { time: Math.round(durationSeconds * 0.2), value: 2.3 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.45), value: 2.8 + (definition.style % 4) * 0.2 },
          { time: Math.round(durationSeconds * 0.68), value: 2.4 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.86), value: 1.6 },
          { time: durationSeconds, value: 0.9 }
        ],
        color: [
          { time: 0, value: "#171b2e", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.07, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.2), value: "#3b466d", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
          { time: Math.round(durationSeconds * 0.45), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.17, auroraDepth: 18 },
          { time: Math.round(durationSeconds * 0.68), value: colorA, ganzfeldMode: false, auroraMode: spiritual || definition.style % 4 === 0 ? "medium" : "subtle", auroraSpeed: 0.22, auroraDepth: 24 + (definition.style % 7) * 2 },
          { time: Math.round(durationSeconds * 0.86), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.15, auroraDepth: 12 },
          { time: durationSeconds, value: "#fff8ee", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.07, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 14,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryRechargeTimelineSession(definition) {
  const durationProfiles = [1500, 1620, 1740, 1800, 1320, 1260, 1200, 1680, 1440, 1560, 1380, 1860];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const emotional = definition.labelEn.includes("Emotional");
  const mental = definition.labelEn.includes("Mental");
  const spiritual = definition.labelEn.includes("Spiritual");
  const sleepLike = /Sleep|Nap|Restorative|Circadian|Jet Lag|Shift Work|Flight/i.test(definition.subjectEn);
  const athletic = /Workout|Exercise|Muscle|Athletic|Competition|Performance|Overtraining|Champions/i.test(definition.subjectEn);
  const nervous = /Nervous|Parasympathetic|Vagus|Homeostasis|Stress|Burnout/i.test(definition.subjectEn);
  const colorA = definition.accent;
  const colorB = sleepLike ? "#7dd3fc" : emotional ? "#f9a8d4" : mental ? "#bfdbfe" : spiritual ? "#ddd6fe" : "#99f6e4";
  const colorC = sleepLike ? "#dbeafe" : emotional ? "#ffe4e6" : mental ? "#e0f2fe" : spiritual ? "#ede9fe" : "#ecfdf5";
  const profileText = [
    { nl: "algemeen herstel, rustige vitaliteit en geleidelijke energieopbouw", en: "general recovery, calm vitality, and gradual energy rebuilding", marker: ["Herstelbasis", "Recovery base"] },
    { nl: "diepe fysieke ontspanning, lichaamsherstel en ontlading van spanning", en: "deep physical relaxation, body recovery, and release of tension", marker: ["Lichaamsherstel", "Body recovery"] },
    { nl: "zachte recharge, vermoeidheidsherstel en stabiele alpha-ondersteuning", en: "gentle recharge, fatigue recovery, and steady alpha support", marker: ["Zachte recharge", "Gentle recharge"] },
    { nl: "parasympathische rust, zenuwstelselregulatie en veilige vertraging", en: "parasympathetic calm, nervous-system regulation, and safe slowing down", marker: ["Zenuwstelsel rust", "Nervous-system calm"] },
    { nl: "mentale helderheid na belasting, kalme aandacht en cognitieve vernieuwing", en: "mental clarity after load, calm attention, and cognitive renewal", marker: ["Mentale reset", "Mental reset"] },
    { nl: "emotioneel herstel, hartgerichte zachtheid en veerkrachtige stabilisatie", en: "emotional recovery, heart-centered softness, and resilient stabilization", marker: ["Emotioneel herstel", "Emotional recovery"] },
    { nl: "slaapvoorbereiding, diepe ontspanning en afbouw naar theta/delta", en: "sleep preparation, deep relaxation, and a descent toward theta/delta", marker: ["Slaapvoorbereiding", "Sleep preparation"] },
    { nl: "circadiane herijking, reis- of ploegendienstherstel en rustige heroriëntatie", en: "circadian recalibration, travel or shift-work recovery, and calm reorientation", marker: ["Ritme reset", "Rhythm reset"] },
    { nl: "natuurgerichte kalmte, sensorische ruimte en emotionele ontlasting", en: "nature-oriented calm, sensory spaciousness, and emotional unloading", marker: ["Natuurlijke rust", "Natural calm"] },
    { nl: "spirituele vernieuwing, innerlijke balans en stille aanwezigheid", en: "spiritual renewal, inner balance, and quiet presence", marker: ["Innerlijke vernieuwing", "Inner renewal"] },
    { nl: "sportief herstel, spierontspanning en terugkeer naar prestatiebalans", en: "athletic recovery, muscle relaxation, and return to performance balance", marker: ["Prestatieherstel", "Performance recovery"] },
    { nl: "integrale reset van lichaam, geest en emotionele draagkracht", en: "whole-person reset of body, mind, and emotional capacity", marker: ["Integrale reset", "Whole-person reset"] }
  ][definition.profile];
  const selectedProfileText = sleepLike ? profileText : athletic ? {
    nl: "sportief herstel, spierontspanning en terugkeer naar prestatiebalans",
    en: "athletic recovery, muscle relaxation, and return to performance balance",
    marker: ["Prestatieherstel", "Performance recovery"]
  } : nervous ? {
    nl: "parasympathische rust, zenuwstelselregulatie en veilige vertraging",
    en: "parasympathetic calm, nervous-system regulation, and safe slowing down",
    marker: ["Zenuwstelsel rust", "Nervous-system calm"]
  } : profileText;
  const startFrequency = sleepLike ? 8.2 : nervous ? 7.4 : mental ? 10.2 : spiritual ? 6.8 : 9.4;
  const lowFrequency = sleepLike ? 4.2 : spiritual ? 5.8 : nervous ? 6.2 : emotional ? 7.2 : 7.8;
  const integrationFrequency = mental ? 9.6 : athletic ? 8.8 : spiritual ? 6.4 : sleepLike ? 4.8 : 8.2;
  const peak = Math.min(definition.peak + (athletic ? 0.8 : mental ? 0.4 : 0), sleepLike ? 8.2 : 12.2);
  const audioMode = spiritual || sleepLike ? "binaural" : definition.style % 3 === 0 ? "isochronic-monaural" : definition.style % 3 === 1 ? "monaural" : "binaural";
  const pulseShape = sleepLike || nervous || spiritual ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = sleepLike ? "brown" : nervous || emotional ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritual || sleepLike ? "hall" : emotional ? "plate" : definition.style % 3 === 0 ? "room" : "hall";
  const musicMoods = [
    definition.mood,
    sleepLike ? "Binaural Deep Meditation" : "Soft Soundscapes",
    spiritual ? "Meditation Bowls" : "Theta Soundscape",
    "Ambient",
    "Drone",
    "Cinematic Ambient"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleepLike ? 28 : nervous ? 34 : spiritual ? 38 : emotional ? 42 : athletic ? 48 : 40;
  const whitePeak = sleepLike ? 4 : nervous ? 6 : athletic ? 10 : 7;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "recovery-recharge",
    goal: `Een verantwoorde herstel- en oplaadsessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible recovery and recharge session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 54 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: sleepLike ? "subtle" : spiritual || definition.style % 5 === 0 ? "medium" : "subtle",
      auroraSpeed: sleepLike ? 0.08 : 0.1 + (definition.style % 5) * 0.018,
      auroraDepth: sleepLike ? 10 : 16 + (definition.style % 8) * 2,
      markers: [
        {
          time: 0,
          name: "Aankomen",
          nameEn: "Arrival",
          purpose: "Start met lage intensiteit, rustige kleur en een zachte overgang naar herstelmodus.",
          purposeEn: "Starts with low intensity, calm color, and a gentle transition into recovery mode."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de sessie op ${selectedProfileText.nl}, zonder medische of dwingende claims.`,
          purposeEn: `Focuses the session on ${selectedProfileText.en}, without medical or forceful claims.`
        },
        {
          time: Math.round(durationSeconds * 0.4),
          name: sleepLike ? "Theta verdieping" : "Herstelvenster",
          nameEn: sleepLike ? "Theta deepening" : "Recovery window",
          purpose: "Laat licht, audio en noise langzaam zakken naar een kalmere herstelzone.",
          purposeEn: "Lets light, audio, and noise slowly move into a calmer recovery zone."
        },
        {
          time: Math.round(durationSeconds * 0.62),
          name: athletic ? "Ontspannen prestatiebalans" : mental ? "Heldere rust" : "Diepe regulatie",
          nameEn: athletic ? "Relaxed performance balance" : mental ? "Clear calm" : "Deep regulation",
          purpose: "Houdt de kernfase stabiel met vloeiende frequentiecurves, zachte reverb en beperkt wit licht.",
          purposeEn: "Keeps the core phase stable with smooth frequency curves, gentle reverb, and limited white light."
        },
        {
          time: Math.round(durationSeconds * 0.84),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de sessie terug naar balans, comfort en een rustige afronding.",
          purposeEn: "Returns the session toward balance, comfort, and a calm close."
        },
        {
          time: durationSeconds,
          name: "Afronding",
          nameEn: "Close",
          purpose: "Eindigt met lage intensiteit en een zachte overgang terug naar normale waakervaring.",
          purposeEn: "Ends with low intensity and a soft transition back toward ordinary waking experience."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: peak, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: (peak + lowFrequency) / 2, musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset: "hall", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: lowFrequency, musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: "hall", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: integrationFrequency, musicMood: musicMoods[4] || "Ambient", noiseType: sleepLike ? "brown" : "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: sleepLike ? 4.2 : Math.max(7.2, integrationFrequency - 0.4), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(4, peak - 0.2), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(4, (peak + lowFrequency) / 2 - 0.2), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(3.8, lowFrequency - 0.1), musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, integrationFrequency - 0.2), musicMood: musicMoods[4] || "Ambient", noiseType: sleepLike ? "brown" : "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: sleepLike ? 4 : Math.max(7, integrationFrequency - 0.5), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.55) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.82) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.45) },
          { time: durationSeconds, value: 5 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(1, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.4), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.6)) },
          { time: Math.round(durationSeconds * 0.84), value: 2 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: sleepLike ? 12 : 18 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: sleepLike ? 16 : 26 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: sleepLike ? 13 : 22 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 5 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: Math.round(durationSeconds * 0.18), value: 38 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 48 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: sleepLike ? 38 : 44 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 32 },
          { time: durationSeconds, value: 20 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 8 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.62), value: sleepLike ? 8 : 4 },
          { time: Math.round(durationSeconds * 0.84), value: sleepLike ? 5 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.18), value: 20 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 26 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 28 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.84), value: 18 },
          { time: durationSeconds, value: 6 }
        ],
        reverbDecay: [
          { time: 0, value: 1.8 },
          { time: Math.round(durationSeconds * 0.18), value: 2.3 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.4), value: 3.1 + (definition.style % 4) * 0.2 },
          { time: Math.round(durationSeconds * 0.62), value: spiritual || sleepLike ? 3.4 : 2.8 },
          { time: Math.round(durationSeconds * 0.84), value: 1.8 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#334155", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.09, auroraDepth: 10 },
          { time: Math.round(durationSeconds * 0.4), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.13, auroraDepth: 16 },
          { time: Math.round(durationSeconds * 0.62), value: colorA, ganzfeldMode: false, auroraMode: spiritual || definition.style % 5 === 0 ? "medium" : "subtle", auroraSpeed: sleepLike ? 0.08 : 0.17, auroraDepth: sleepLike ? 12 : 22 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 18,
    allowedMusicMoods: musicMoods
  };
}

function createSportsEnergyTimelineSession(definition) {
  const durationProfiles = [900, 1080, 1200, 960, 1320, 840, 1500, 1260, 1020, 1140, 780, 1380];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const recovery = /Recovery|Recover|Relaxation|Cool Down|Mobility|Flexibility|Joint/i.test(definition.subjectEn);
  const endurance = /Endurance|Marathon|Long Distance|Cycling|Running|Runner|Cardio|Stamina|Second Wind/i.test(definition.subjectEn);
  const power = /Power|Strength|Explosive|Output|Sprint|Acceleration|HIIT|Weightlifting|Start/i.test(definition.subjectEn);
  const focus = /Focus|Mindset|Visualization|Confidence|Calm|Pressure|Competition|Race|Match|Reflex|Reaction|Game Face|Awareness/i.test(definition.subjectEn);
  const flow = /Flow|Rhythm|Synchronization|Connection|Coordination|Motor Control|Precision|Balance/i.test(definition.subjectEn);
  const colorA = definition.accent;
  const colorB = recovery ? "#7dd3fc" : endurance ? "#22c55e" : power ? "#ff3b30" : focus ? "#60a5fa" : flow ? "#14b8a6" : "#facc15";
  const colorC = recovery ? "#dbeafe" : endurance ? "#dcfce7" : power ? "#fed7aa" : focus ? "#dbeafe" : flow ? "#ccfbf1" : "#fef3c7";
  const profileText = [
    { nl: "warming-up, energieke activatie en soepele voorbereiding op beweging", en: "warm-up, energetic activation, and smooth preparation for movement", marker: ["Warming-up", "Warm-up"] },
    { nl: "trainingenergie, ritme en stabiele fysieke drive", en: "workout energy, rhythm, and steady physical drive", marker: ["Trainingsdrive", "Training drive"] },
    { nl: "kracht, explosiviteit en korte prestatiepieken zonder overmatige intensiteit", en: "strength, explosiveness, and short performance peaks without excessive intensity", marker: ["Krachtpiek", "Power peak"] },
    { nl: "snelheid, reactievermogen en alerte bewegingsrespons", en: "speed, reaction readiness, and alert movement response", marker: ["Reactiesnelheid", "Reaction speed"] },
    { nl: "wedstrijdvoorbereiding, kalme focus en vertrouwen onder druk", en: "competition readiness, calm focus, and confidence under pressure", marker: ["Wedstrijdfocus", "Game focus"] },
    { nl: "mentale taaiheid, motivatie en doelgerichte prestatiehouding", en: "mental toughness, motivation, and goal-directed performance attitude", marker: ["Mentale drive", "Mental drive"] },
    { nl: "uithoudingsvermogen, gelijkmatig tempo en langdurige aandacht", en: "endurance, steady pacing, and sustained attention", marker: ["Uithoudingsritme", "Endurance rhythm"] },
    { nl: "flow, coordinatie en lichaam-geest synchronisatie", en: "flow, coordination, and body-mind synchronization", marker: ["Atletische flow", "Athletic flow"] },
    { nl: "sportspecifieke concentratie, precisie en bewegingscontrole", en: "sport-specific concentration, precision, and movement control", marker: ["Precisie", "Precision"] },
    { nl: "actief herstel, mobiliteit en ontspannen terugkeer naar balans", en: "active recovery, mobility, and a relaxed return to balance", marker: ["Actief herstel", "Active recovery"] },
    { nl: "high intensity energie, korte activeringsgolven en krachtige afronding", en: "high-intensity energy, short activation waves, and a strong finish", marker: ["Intensiteitsgolf", "Intensity wave"] },
    { nl: "integrale prestatie, fysieke energie en mentale stabiliteit", en: "whole-performance support, physical energy, and mental stability", marker: ["Prestatiestaat", "Performance state"] }
  ][definition.profile];
  const selectedProfileText = recovery ? {
    nl: "actief herstel, mobiliteit en ontspannen terugkeer naar balans",
    en: "active recovery, mobility, and a relaxed return to balance",
    marker: ["Actief herstel", "Active recovery"]
  } : endurance ? {
    nl: "uithoudingsvermogen, gelijkmatig tempo en langdurige aandacht",
    en: "endurance, steady pacing, and sustained attention",
    marker: ["Uithoudingsritme", "Endurance rhythm"]
  } : power ? {
    nl: "kracht, explosiviteit en korte prestatiepieken zonder overmatige intensiteit",
    en: "strength, explosiveness, and short performance peaks without excessive intensity",
    marker: ["Krachtpiek", "Power peak"]
  } : focus ? {
    nl: "wedstrijdvoorbereiding, kalme focus en vertrouwen onder druk",
    en: "competition readiness, calm focus, and confidence under pressure",
    marker: ["Wedstrijdfocus", "Game focus"]
  } : flow ? {
    nl: "flow, coordinatie en lichaam-geest synchronisatie",
    en: "flow, coordination, and body-mind synchronization",
    marker: ["Atletische flow", "Athletic flow"]
  } : profileText;
  const startFrequency = recovery ? 9.2 : focus ? 11.2 : endurance ? 10.6 : power ? 12.4 : flow ? 10.2 : 11.6;
  const buildFrequency = recovery ? 8.4 : focus ? 13.2 : endurance ? 12.2 : power ? 15.2 : flow ? 11.8 : 13.6;
  const peak = recovery ? Math.min(definition.peak, 10.2) : Math.min(definition.peak + (power ? 0.8 : focus ? 0.3 : 0), 18.6);
  const settleFrequency = recovery ? 7.6 : focus ? 12.0 : endurance ? 10.8 : flow ? 10.2 : 11.4;
  const endFrequency = recovery ? 8.0 : mental && !physical ? 10.4 : 9.6;
  const audioMode = recovery ? "binaural" : definition.style % 3 === 0 ? "isochronic-monaural" : definition.style % 3 === 1 ? "monaural" : "binaural";
  const pulseShape = recovery || flow ? "sine" : power || definition.style % 3 === 0 ? "triangle" : "sine";
  const noiseType = recovery ? "pink" : definition.style % 5 === 0 ? "none" : focus ? "pink" : "white";
  const reverbPreset = recovery ? "hall" : focus || flow ? "room" : definition.style % 2 === 0 ? "plate" : "room";
  const musicMoods = [
    definition.mood,
    power ? "Uplifting Electronic Ambient" : focus ? "Cinematic Ambient" : recovery ? "Soft Soundscapes" : "Ambient",
    endurance ? "Drone" : "Theta Soundscape",
    "Cinematic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = recovery ? 38 : power ? 78 : focus ? 58 : endurance ? 62 : flow ? 54 : 66;
  const whitePeak = recovery ? 7 : power ? 20 : focus ? 12 : endurance ? 14 : 16;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "sports-energy",
    goal: `Een verantwoorde Sports Energy-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Sports Energy session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 12 + (definition.style % 5) * 2,
    colorCrossfadeSeconds: 24 + (definition.style % 6) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: recovery ? "subtle" : flow || definition.style % 4 === 0 ? "medium" : "subtle",
      auroraSpeed: recovery ? 0.11 : 0.18 + (definition.style % 6) * 0.025,
      auroraDepth: recovery ? 14 : 24 + (definition.style % 8) * 3,
      markers: [
        {
          time: 0,
          name: "Startpositie",
          nameEn: "Start position",
          purpose: "Begint gecontroleerd met lage intensiteit en een duidelijke overgang naar sportieve activatie.",
          purposeEn: "Begins in a controlled way with low intensity and a clear transition toward athletic activation."
        },
        {
          time: Math.round(durationSeconds * 0.16),
          name: "Activering",
          nameEn: "Activation",
          purpose: "Bouwt licht, audio en ritme op zonder abrupte pieken.",
          purposeEn: "Builds light, audio, and rhythm without abrupt peaks."
        },
        {
          time: Math.round(durationSeconds * 0.36),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de kern van de sessie op ${selectedProfileText.nl}.`,
          purposeEn: `Focuses the core of the session on ${selectedProfileText.en}.`
        },
        {
          time: Math.round(durationSeconds * 0.58),
          name: recovery ? "Herstelritme" : "Prestatiepiek",
          nameEn: recovery ? "Recovery rhythm" : "Performance peak",
          purpose: recovery ? "Houdt de intensiteit gematigd voor herstel, mobiliteit en ontspanning." : "Geeft een korte, duidelijke prestatiezone met hogere maar begrensde stimulatie.",
          purposeEn: recovery ? "Keeps intensity moderate for recovery, mobility, and relaxation." : "Provides a short, clear performance zone with higher but limited stimulation."
        },
        {
          time: Math.round(durationSeconds * 0.78),
          name: "Stabilisatie",
          nameEn: "Stabilization",
          purpose: "Laat frequenties en kleuren terugkeren naar een stabiele, bruikbare prestatiestand.",
          purposeEn: "Lets frequencies and colors return toward a stable, usable performance state."
        },
        {
          time: durationSeconds,
          name: "Afronding",
          nameEn: "Close",
          purpose: "Rondt af met lagere intensiteit zodat de gebruiker helder en gecontroleerd verder kan.",
          purposeEn: "Closes with lower intensity so the user can continue clearly and in control."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: buildFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.36), value: Math.min(peak - 0.5, buildFrequency + 1.2), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.58), value: peak, musicMood: musicMoods[3] || definition.mood, noiseType: recovery ? "pink" : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.78), value: settleFrequency, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: recovery ? "pink" : "none", reverbPreset: recovery ? "hall" : "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: buildFrequency - 0.2, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.36), value: Math.min(peak - 0.7, buildFrequency + 1), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.58), value: Math.max(8, peak - 0.3), musicMood: musicMoods[3] || definition.mood, noiseType: recovery ? "pink" : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.78), value: settleFrequency - 0.2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: recovery ? "pink" : "none", reverbPreset: recovery ? "hall" : "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: endFrequency - 0.2, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 8 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.5) },
          { time: Math.round(durationSeconds * 0.36), value: Math.round(rgbPeak * 0.82) },
          { time: Math.round(durationSeconds * 0.58), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.78), value: Math.round(rgbPeak * 0.55) },
          { time: durationSeconds, value: 10 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(2, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.36), value: Math.round(whitePeak * 0.75) },
          { time: Math.round(durationSeconds * 0.58), value: whitePeak },
          { time: Math.round(durationSeconds * 0.78), value: Math.max(2, Math.round(whitePeak * 0.45)) },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: recovery ? 18 : 28 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.36), value: recovery ? 24 : 42 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 20 : 50 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.78), value: recovery ? 16 : 32 },
          { time: durationSeconds, value: 8 }
        ],
        musicVolume: [
          { time: 0, value: 26 },
          { time: Math.round(durationSeconds * 0.16), value: 44 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.36), value: 56 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 46 : 64 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.78), value: 42 },
          { time: durationSeconds, value: 22 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.36), value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 5 : 1 },
          { time: Math.round(durationSeconds * 0.78), value: recovery ? 3 : 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 8 },
          { time: Math.round(durationSeconds * 0.16), value: recovery ? 16 : 10 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.36), value: recovery ? 20 : 12 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 22 : 9 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.78), value: 12 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.1 },
          { time: Math.round(durationSeconds * 0.16), value: recovery ? 2.1 : 1.2 + (definition.style % 3) * 0.1 },
          { time: Math.round(durationSeconds * 0.36), value: recovery ? 2.6 : 1.5 + (definition.style % 4) * 0.12 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 2.4 : 1.3 + (definition.style % 3) * 0.12 },
          { time: Math.round(durationSeconds * 0.78), value: 1.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#101827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: "#1f3a5f", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 14 },
          { time: Math.round(durationSeconds * 0.36), value: colorB, ganzfeldMode: false, auroraMode: flow ? "medium" : "subtle", auroraSpeed: 0.2, auroraDepth: 22 },
          { time: Math.round(durationSeconds * 0.58), value: colorA, ganzfeldMode: false, auroraMode: recovery ? "subtle" : "medium", auroraSpeed: recovery ? 0.13 : 0.28, auroraDepth: recovery ? 18 : 32 + (definition.style % 6) * 3 },
          { time: Math.round(durationSeconds * 0.78), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.16, auroraDepth: 16 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 10,
    allowedMusicMoods: musicMoods
  };
}

function createMotivationTimelineSession(definition) {
  const durationProfiles = [900, 1020, 1080, 1200, 960, 1140, 1260, 840, 1320, 1050, 990, 1170];
  const durationSeconds = durationProfiles[definition.profile];
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const mental = definition.labelEn.includes("Mental");
  const action = /Action|Start|First Step|Act|Now|All In|Take Control|Move Forward|Go All In/i.test(definition.subjectEn);
  const discipline = /Discipline|Habit|Consistent|Consistency|Committed|Ritual|Routine|Track|Progress/i.test(definition.subjectEn);
  const goals = /Goal|Achievement|Achieve|Mission|Success|Dream|Future|Legacy|Level|Breakthrough/i.test(definition.subjectEn);
  const mindset = /Mindset|Toughness|Mastery|Potential|Limits|Unstoppable|Extraordinary|Excellence|Best Self/i.test(definition.subjectEn);
  const purpose = /Purpose|Why|Meaningful|Vision|Passion|Manifest|Transform|Inspired|Growth|Change/i.test(definition.subjectEn) || spiritual;
  const confidence = /Believe|Confidence|Courage|Victory|Fearless|Bold|Strength|Drive|Fire|Inspired/i.test(definition.subjectEn) || emotional;
  const procrastination = /Procrastination|Laziness|Excuses|Overthinking|Perfection/i.test(definition.subjectEn);
  const colorA = definition.accent;
  const colorB = purpose ? "#c084fc" : confidence ? "#fb7185" : discipline ? "#22c55e" : goals ? "#facc15" : action ? "#f97316" : "#38bdf8";
  const colorC = purpose ? "#ede9fe" : confidence ? "#ffe4e6" : discipline ? "#dcfce7" : goals ? "#fef3c7" : action ? "#ffedd5" : "#dbeafe";
  const profileText = [
    { nl: "actiegerichtheid, snelle start en praktische besluitvorming", en: "action orientation, a quick start, and practical decision-making", marker: ["Actiestart", "Action start"] },
    { nl: "dagelijkse motivatie, heldere richting en bruikbare energie", en: "daily motivation, clear direction, and usable energy", marker: ["Motivatie-opbouw", "Motivation build"] },
    { nl: "doelfocus, prestatiehouding en consistente vooruitgang", en: "goal focus, achievement attitude, and consistent progress", marker: ["Doelfocus", "Goal focus"] },
    { nl: "discipline, gewoontevorming en betrouwbaar momentum", en: "discipline, habit-building, and reliable momentum", marker: ["Discipline", "Discipline"] },
    { nl: "vertrouwen, moed en emotionele bereidheid om te handelen", en: "confidence, courage, and emotional readiness to act", marker: ["Vertrouwen", "Confidence"] },
    { nl: "purpose, inspiratie en betekenisvolle richting", en: "purpose, inspiration, and meaningful direction", marker: ["Purpose", "Purpose"] },
    { nl: "mentale weerbaarheid, volharding en rustig doorzetten", en: "mental resilience, persistence, and calm continuation", marker: ["Volharding", "Persistence"] },
    { nl: "doorbreken van uitstelgedrag, minder overdenken en eerste stappen zetten", en: "breaking procrastination, reducing overthinking, and taking first steps", marker: ["Doorbraak", "Breakthrough"] },
    { nl: "high performance mindset, ambitie en prestatiegerichte helderheid", en: "high-performance mindset, ambition, and performance-oriented clarity", marker: ["Prestatiemindset", "Performance mindset"] },
    { nl: "positief momentum, optimisme en emotionele activering", en: "positive momentum, optimism, and emotional activation", marker: ["Positief momentum", "Positive momentum"] },
    { nl: "persoonlijke transformatie, groei en bewuste koerswijziging", en: "personal transformation, growth, and conscious course correction", marker: ["Transformatie", "Transformation"] },
    { nl: "afrondingskracht, commitment en focus tot het einde", en: "finishing power, commitment, and focus through completion", marker: ["Sterk afronden", "Finish strong"] }
  ][definition.profile];
  const selectedProfileText = procrastination ? {
    nl: "doorbreken van uitstelgedrag, minder overdenken en eerste stappen zetten",
    en: "breaking procrastination, reducing overthinking, and taking first steps",
    marker: ["Doorbraak", "Breakthrough"]
  } : discipline ? {
    nl: "discipline, gewoontevorming en betrouwbaar momentum",
    en: "discipline, habit-building, and reliable momentum",
    marker: ["Discipline", "Discipline"]
  } : goals ? {
    nl: "doelfocus, prestatiehouding en consistente vooruitgang",
    en: "goal focus, achievement attitude, and consistent progress",
    marker: ["Doelfocus", "Goal focus"]
  } : purpose ? {
    nl: "purpose, inspiratie en betekenisvolle richting",
    en: "purpose, inspiration, and meaningful direction",
    marker: ["Purpose", "Purpose"]
  } : confidence ? {
    nl: "vertrouwen, moed en emotionele bereidheid om te handelen",
    en: "confidence, courage, and emotional readiness to act",
    marker: ["Vertrouwen", "Confidence"]
  } : action ? {
    nl: "actiegerichtheid, snelle start en praktische besluitvorming",
    en: "action orientation, a quick start, and practical decision-making",
    marker: ["Actiestart", "Action start"]
  } : mindset ? {
    nl: "high performance mindset, ambitie en prestatiegerichte helderheid",
    en: "high-performance mindset, ambition, and performance-oriented clarity",
    marker: ["Prestatiemindset", "Performance mindset"]
  } : profileText;
  const startFrequency = purpose ? 8.6 : emotional ? 9.4 : procrastination ? 10.2 : 11.0;
  const buildFrequency = purpose ? 10.2 : discipline ? 12.4 : goals ? 13.2 : action ? 14.2 : 12.0;
  const peak = Math.min(definition.peak + (action ? 0.8 : procrastination ? 0.6 : goals ? 0.4 : 0), 16.6);
  const settleFrequency = purpose ? 9.2 : confidence ? 10.8 : discipline ? 11.4 : 12.2;
  const endFrequency = purpose ? 8.8 : emotional ? 9.8 : mental ? 10.4 : 9.6;
  const audioMode = purpose || spiritual ? "binaural" : definition.style % 3 === 0 ? "isochronic-monaural" : definition.style % 3 === 1 ? "monaural" : "binaural";
  const pulseShape = purpose || emotional ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = purpose ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = purpose || spiritual ? "hall" : emotional ? "plate" : definition.style % 3 === 0 ? "room" : "plate";
  const musicMoods = [
    definition.mood,
    action ? "Uplifting Electronic Ambient" : purpose ? "Theta Soundscape" : "Cinematic Ambient",
    emotional ? "Soft Soundscapes" : "Ambient",
    "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = purpose ? 46 : emotional ? 54 : action ? 70 : discipline ? 58 : goals ? 64 : 60;
  const whitePeak = purpose ? 8 : emotional ? 10 : action ? 18 : goals ? 15 : 13;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "motivation",
    goal: `Een verantwoorde motivatiesessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible motivation session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 14 + (definition.style % 5) * 2,
    colorCrossfadeSeconds: 30 + (definition.style % 6) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: purpose || definition.style % 5 === 0 ? "medium" : "subtle",
      auroraSpeed: purpose ? 0.14 : 0.18 + (definition.style % 5) * 0.02,
      auroraDepth: purpose ? 22 : 24 + (definition.style % 7) * 3,
      markers: [
        {
          time: 0,
          name: "Richting kiezen",
          nameEn: "Choose direction",
          purpose: "Start met een heldere maar rustige overgang naar doelgerichte aandacht.",
          purposeEn: "Starts with a clear but calm transition into goal-directed attention."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: "Energie opbouwen",
          nameEn: "Build energy",
          purpose: "Verhoogt ritme, licht en audio geleidelijk voor bruikbare motivatie.",
          purposeEn: "Gradually raises rhythm, light, and audio for usable motivation."
        },
        {
          time: Math.round(durationSeconds * 0.38),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de kernfase op ${selectedProfileText.nl}.`,
          purposeEn: `Focuses the core phase on ${selectedProfileText.en}.`
        },
        {
          time: Math.round(durationSeconds * 0.6),
          name: "Actievenster",
          nameEn: "Action window",
          purpose: "Geeft een begrensde piek in beta/alpha-ondersteuning zonder onnodige scherpte.",
          purposeEn: "Provides a limited beta/alpha support peak without unnecessary harshness."
        },
        {
          time: Math.round(durationSeconds * 0.8),
          name: "Momentum vasthouden",
          nameEn: "Hold momentum",
          purpose: "Brengt de stimulatie terug naar stabiele focus en uitvoerbare intentie.",
          purposeEn: "Returns stimulation toward steady focus and executable intention."
        },
        {
          time: durationSeconds,
          name: "Klaar voor actie",
          nameEn: "Ready for action",
          purpose: "Rondt af met heldere energie, lage ruis en rustige vastberadenheid.",
          purposeEn: "Closes with clear energy, low noise, and calm determination."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.min(peak - 0.3, buildFrequency + 1), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.6), value: peak, musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.8), value: settleFrequency, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: purpose ? "pink" : "none", reverbPreset: purpose ? "hall" : "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency - 0.2, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.min(peak - 0.5, buildFrequency + 0.8), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.6), value: Math.max(8, peak - 0.2), musicMood: musicMoods[3] || definition.mood, noiseType: "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.8), value: settleFrequency - 0.2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: purpose ? "pink" : "none", reverbPreset: purpose ? "hall" : "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: endFrequency - 0.2, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 7 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.38), value: Math.round(rgbPeak * 0.78) },
          { time: Math.round(durationSeconds * 0.6), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.8), value: Math.round(rgbPeak * 0.52) },
          { time: durationSeconds, value: 9 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(2, Math.round(whitePeak * 0.42)) },
          { time: Math.round(durationSeconds * 0.38), value: Math.round(whitePeak * 0.72) },
          { time: Math.round(durationSeconds * 0.6), value: whitePeak },
          { time: Math.round(durationSeconds * 0.8), value: Math.max(2, Math.round(whitePeak * 0.38)) },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 8 },
          { time: Math.round(durationSeconds * 0.18), value: 22 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 34 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.6), value: action ? 48 : 40 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.8), value: 28 },
          { time: durationSeconds, value: 8 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: Math.round(durationSeconds * 0.18), value: 42 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 54 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.6), value: purpose ? 52 : 62 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.8), value: 40 },
          { time: durationSeconds, value: 22 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.6), value: purpose ? 3 : 1 },
          { time: Math.round(durationSeconds * 0.8), value: purpose ? 2 : 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 8 },
          { time: Math.round(durationSeconds * 0.18), value: purpose ? 18 : 10 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.38), value: purpose ? 22 : 12 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.6), value: purpose ? 20 : 9 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.8), value: 12 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.1 },
          { time: Math.round(durationSeconds * 0.18), value: purpose ? 2.4 : 1.2 + (definition.style % 3) * 0.12 },
          { time: Math.round(durationSeconds * 0.38), value: purpose ? 3.0 : 1.6 + (definition.style % 4) * 0.12 },
          { time: Math.round(durationSeconds * 0.6), value: purpose ? 2.8 : 1.4 + (definition.style % 3) * 0.12 },
          { time: Math.round(durationSeconds * 0.8), value: 1.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#26324f", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 14 },
          { time: Math.round(durationSeconds * 0.38), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.19, auroraDepth: 22 },
          { time: Math.round(durationSeconds * 0.6), value: colorA, ganzfeldMode: false, auroraMode: purpose || definition.style % 5 === 0 ? "medium" : "subtle", auroraSpeed: purpose ? 0.17 : 0.25, auroraDepth: purpose ? 26 : 30 + (definition.style % 6) * 3 },
          { time: Math.round(durationSeconds * 0.8), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.15, auroraDepth: 14 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.08, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 10,
    allowedMusicMoods: musicMoods
  };
}

function createHealthyAgingTimelineSession(definition) {
  const durationProfiles = [1500, 1620, 1740, 1380, 1260, 1800, 1680, 1440, 1560, 1320, 1200, 1860];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const mobility = /Mobility|Movement|Move|Flexibility|Balance|Stability|Fall|Bones|Muscles|Strong|Independent/i.test(definition.subjectEn);
  const sleepRecovery = /Sleep|Recovery|Recharge|Fatigue|Circadian|Nervous|Parasympathetic|Breathing|Heart Rhythm/i.test(definition.subjectEn);
  const cognitive = /Brain|Cognitive|Mental|Memory|Focus|Neural|Neuroplasticity|Mind|Learning|Thinking/i.test(definition.subjectEn) || (mental && !physical);
  const emotionalWellness = /Emotional|Joyful|Relationships|Connection|Compassion|Optimism|Confidence|Retirement|Quality|Content|Change/i.test(definition.subjectEn) || emotional;
  const purpose = /Purpose|Meaningful|Spirit|Mindful|Gratitude|Peace|Harmony|Journey|Lifetime|Balance/i.test(definition.subjectEn) || spiritual;
  const vitality = /Vitality|Energy|Active|Longevity|Lifestyle|Young|Performance|Wellness|Thrive|Future/i.test(definition.subjectEn);
  const colorA = definition.accent;
  const colorB = purpose ? "#c4b5fd" : emotionalWellness ? "#f9a8d4" : cognitive ? "#93c5fd" : mobility ? "#86efac" : sleepRecovery ? "#7dd3fc" : "#a7f3d0";
  const colorC = purpose ? "#ede9fe" : emotionalWellness ? "#ffe4e6" : cognitive ? "#e0f2fe" : mobility ? "#dcfce7" : sleepRecovery ? "#dbeafe" : "#ecfdf5";
  const profileText = [
    { nl: "algemeen gezond ouder worden, rustige vitaliteit en duurzame balans", en: "general healthy aging, calm vitality, and sustainable balance", marker: ["Gezonde basis", "Healthy base"] },
    { nl: "mobiliteit, balans en soepel dagelijks bewegen", en: "mobility, balance, and easy everyday movement", marker: ["Mobiliteit", "Mobility"] },
    { nl: "fysieke veerkracht, spierbehoud en gegronde energie", en: "physical resilience, muscle maintenance, and grounded energy", marker: ["Fysieke veerkracht", "Physical resilience"] },
    { nl: "herstel, slaapvoorbereiding en kalmering van het zenuwstelsel", en: "recovery, sleep preparation, and calming of the nervous system", marker: ["Herstel", "Recovery"] },
    { nl: "cognitieve vitaliteit, geheugenondersteuning en heldere aandacht", en: "cognitive vitality, memory support, and clear attention", marker: ["Cognitieve vitaliteit", "Cognitive vitality"] },
    { nl: "emotioneel welzijn, optimisme en vriendelijke zelfverbinding", en: "emotional well-being, optimism, and kind self-connection", marker: ["Emotioneel welzijn", "Emotional well-being"] },
    { nl: "purpose, innerlijke vrede en betekenisvolle levensrichting", en: "purpose, inner peace, and meaningful life direction", marker: ["Purpose", "Purpose"] },
    { nl: "longevity leefstijl, gezonde gewoonten en dagelijkse wellness", en: "longevity lifestyle, healthy habits, and daily wellness", marker: ["Leefstijl", "Lifestyle"] },
    { nl: "lichaam-geest balans, integrale vitaliteit en zachte synchronisatie", en: "body-mind balance, whole-person vitality, and gentle synchronization", marker: ["Integrale balans", "Whole balance"] },
    { nl: "sociale verbinding, dankbaarheid en positieve levenshouding", en: "social connection, gratitude, and a positive life outlook", marker: ["Positieve verbinding", "Positive connection"] },
    { nl: "lichte cognitieve activatie, mentale scherpte en duurzame focus", en: "light cognitive activation, mental sharpness, and sustainable focus", marker: ["Heldere geest", "Bright mind"] },
    { nl: "diepe rust, acceptatie en ontspannen ouder worden", en: "deep calm, acceptance, and relaxed aging", marker: ["Rustige acceptatie", "Calm acceptance"] }
  ][definition.profile];
  const selectedProfileText = mobility ? {
    nl: "mobiliteit, balans en soepel dagelijks bewegen",
    en: "mobility, balance, and easy everyday movement",
    marker: ["Mobiliteit", "Mobility"]
  } : sleepRecovery ? {
    nl: "herstel, slaapvoorbereiding en kalmering van het zenuwstelsel",
    en: "recovery, sleep preparation, and calming of the nervous system",
    marker: ["Herstel", "Recovery"]
  } : cognitive ? {
    nl: "cognitieve vitaliteit, geheugenondersteuning en heldere aandacht",
    en: "cognitive vitality, memory support, and clear attention",
    marker: ["Cognitieve vitaliteit", "Cognitive vitality"]
  } : purpose ? {
    nl: "purpose, innerlijke vrede en betekenisvolle levensrichting",
    en: "purpose, inner peace, and meaningful life direction",
    marker: ["Purpose", "Purpose"]
  } : emotionalWellness ? {
    nl: "emotioneel welzijn, optimisme en vriendelijke zelfverbinding",
    en: "emotional well-being, optimism, and kind self-connection",
    marker: ["Emotioneel welzijn", "Emotional well-being"]
  } : vitality ? {
    nl: "longevity leefstijl, gezonde gewoonten en dagelijkse wellness",
    en: "longevity lifestyle, healthy habits, and daily wellness",
    marker: ["Leefstijl", "Lifestyle"]
  } : profileText;
  const startFrequency = sleepRecovery ? 7.8 : purpose ? 7.2 : cognitive ? 9.8 : mobility ? 8.8 : 8.4;
  const buildFrequency = sleepRecovery ? 8.6 : purpose ? 8.4 : cognitive ? 11.6 : mobility ? 10.2 : vitality ? 10.8 : 9.6;
  const peak = Math.min(definition.peak + (cognitive ? 0.4 : mobility ? 0.2 : 0), sleepRecovery ? 10.2 : cognitive ? 12.8 : 11.8);
  const lowFrequency = sleepRecovery ? 6.2 : purpose ? 6.8 : emotionalWellness ? 7.8 : 8.2;
  const endFrequency = sleepRecovery ? 7.2 : cognitive ? 9.6 : purpose ? 7.6 : 8.4;
  const audioMode = purpose || sleepRecovery ? "binaural" : definition.style % 3 === 0 ? "monaural" : definition.style % 3 === 1 ? "binaural" : "isochronic-monaural";
  const pulseShape = sleepRecovery || purpose || emotionalWellness ? "sine" : definition.style % 5 === 0 ? "triangle" : "sine";
  const noiseType = sleepRecovery ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = purpose || sleepRecovery ? "hall" : emotionalWellness ? "plate" : definition.style % 3 === 0 ? "room" : "hall";
  const musicMoods = [
    definition.mood,
    sleepRecovery ? "Binaural Deep Meditation" : cognitive ? "Ambient" : "Soft Soundscapes",
    purpose ? "Meditation Bowls" : "Theta Soundscape",
    "Drone",
    "Cinematic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleepRecovery ? 32 : purpose ? 38 : emotionalWellness ? 42 : cognitive ? 46 : mobility ? 44 : 40;
  const whitePeak = sleepRecovery ? 5 : purpose ? 6 : cognitive ? 9 : mobility ? 8 : 7;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "healthy-aging",
    goal: `Een verantwoorde Healthy Aging-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Healthy Aging session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 56 + (definition.style % 6) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: purpose || definition.style % 6 === 0 ? "medium" : "subtle",
      auroraSpeed: sleepRecovery ? 0.08 : 0.1 + (definition.style % 5) * 0.018,
      auroraDepth: sleepRecovery ? 10 : 16 + (definition.style % 8) * 2,
      markers: [
        {
          time: 0,
          name: "Rustige landing",
          nameEn: "Calm landing",
          purpose: "Start met lage intensiteit, zachte kleur en een veilige overgang naar ontspannen aandacht.",
          purposeEn: "Starts with low intensity, soft color, and a safe transition into relaxed attention."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: "Vitaliteit opbouwen",
          nameEn: "Build vitality",
          purpose: "Bouwt geleidelijk alpha/SMR-ondersteuning op zonder harde prikkels.",
          purposeEn: "Gradually builds alpha/SMR support without harsh stimulation."
        },
        {
          time: Math.round(durationSeconds * 0.4),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de kernfase op ${selectedProfileText.nl}, als welzijnsondersteuning.`,
          purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as wellness support.`
        },
        {
          time: Math.round(durationSeconds * 0.62),
          name: cognitive ? "Heldere aandacht" : sleepRecovery ? "Diepe regulatie" : "Stabiele balans",
          nameEn: cognitive ? "Clear attention" : sleepRecovery ? "Deep regulation" : "Stable balance",
          purpose: "Houdt frequenties vloeiend, licht gematigd en audio comfortabel.",
          purposeEn: "Keeps frequencies smooth, light moderate, and audio comfortable."
        },
        {
          time: Math.round(durationSeconds * 0.84),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de sessie terug naar rustige vitaliteit en dagelijkse toepasbaarheid.",
          purposeEn: "Returns the session toward calm vitality and everyday usability."
        },
        {
          time: durationSeconds,
          name: "Zachte afronding",
          nameEn: "Gentle close",
          purpose: "Rondt af met lage intensiteit, stabiliteit en een rustige overgang.",
          purposeEn: "Closes with low intensity, stability, and a calm transition."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: peak, musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: lowFrequency, musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: "hall", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (lowFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Ambient", noiseType: sleepRecovery ? "brown" : "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency - 0.2, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(4, peak - 0.2), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, lowFrequency - 0.1), musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (lowFrequency + endFrequency) / 2 - 0.2), musicMood: musicMoods[4] || "Ambient", noiseType: sleepRecovery ? "brown" : "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.2), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.45) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.38) },
          { time: durationSeconds, value: 6 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.4), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.84), value: 2 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: 14 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: sleepRecovery ? 18 : 24 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: sleepRecovery ? 14 : 20 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 11 },
          { time: durationSeconds, value: 5 }
        ],
        musicVolume: [
          { time: 0, value: 26 },
          { time: Math.round(durationSeconds * 0.18), value: 38 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 48 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: sleepRecovery ? 38 : 44 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 34 },
          { time: durationSeconds, value: 22 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.62), value: sleepRecovery ? 7 : 3 },
          { time: Math.round(durationSeconds * 0.84), value: sleepRecovery ? 4 : 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.18), value: 18 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 23 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: purpose || sleepRecovery ? 26 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 5 }
        ],
        reverbDecay: [
          { time: 0, value: 1.7 },
          { time: Math.round(durationSeconds * 0.18), value: 2.2 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.4), value: 2.8 + (definition.style % 4) * 0.2 },
          { time: Math.round(durationSeconds * 0.62), value: purpose || sleepRecovery ? 3.2 : 2.4 },
          { time: Math.round(durationSeconds * 0.84), value: 1.6 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#334155", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
          { time: Math.round(durationSeconds * 0.4), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 16 },
          { time: Math.round(durationSeconds * 0.62), value: colorA, ganzfeldMode: false, auroraMode: purpose || definition.style % 6 === 0 ? "medium" : "subtle", auroraSpeed: sleepRecovery ? 0.08 : 0.18, auroraDepth: sleepRecovery ? 12 : 22 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.11, auroraDepth: 10 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 16,
    allowedMusicMoods: musicMoods
  };
}

function createTravelJetLagTimelineSession(definition) {
  const durationProfiles = [1200, 1320, 1500, 1680, 960, 1080, 1800, 900, 1440, 1260, 1560, 1140];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const circadian = /Jet Lag|Time Zone|Circadian|Body Clock|Internal Clock|Eastbound|Westbound|Rhythm|Shift|Night Shift|Red-Eye|Overnight/i.test(definition.subjectEn);
  const sleep = /Sleep|Wind Down|Restful|Hotel Sleep|Sleep Anywhere/i.test(definition.subjectEn);
  const focus = /Focus|Alertness|Driver|Driving|Pilot|Business|Conference|Meeting|Performance|Sharp|Remote Worker|Digital Nomad/i.test(definition.subjectEn) || (mental && !spiritual);
  const flightCalm = /Flying|Flight|Air|Airport|Calm|Fear-Free|Relax|Peaceful|Comfort/i.test(definition.subjectEn) || emotional;
  const recovery = /Recovery|Recover|Recharge|Fatigue|Long Haul|Arrival|Post Flight|Cabin|Home Again|Back Home/i.test(definition.subjectEn);
  const adventure = /Vacation|Holiday|Adventure|Explore|World|Journey|Destination|Ready|Travel Energy|Travel Vitality|Road Trip/i.test(definition.subjectEn);
  const mindfulness = /Mindfulness|Meditation|Inner Calm|Ground|Centered|Reconnect/i.test(definition.subjectEn) || spiritual;
  const colorA = definition.accent;
  const colorB = circadian ? "#38bdf8" : sleep ? "#818cf8" : focus ? "#60a5fa" : flightCalm ? "#f9a8d4" : adventure ? "#facc15" : recovery ? "#22c55e" : "#14b8a6";
  const colorC = circadian ? "#dbeafe" : sleep ? "#e0e7ff" : focus ? "#e0f2fe" : flightCalm ? "#ffe4e6" : adventure ? "#fef3c7" : recovery ? "#dcfce7" : "#ccfbf1";
  const profileText = [
    { nl: "algemene reisverfrissing, rustige energie en herstelbare alertheid", en: "general travel refresh, calm energy, and recoverable alertness", marker: ["Reisverfrissing", "Travel refresh"] },
    { nl: "reisherstel, vermoeidheidsreductie en gegronde vitaliteit", en: "travel recovery, fatigue reduction, and grounded vitality", marker: ["Reisherstel", "Travel recovery"] },
    { nl: "circadiane herijking, tijdzone-aanpassing en lichaamsklok reset", en: "circadian recalibration, time-zone adaptation, and body-clock reset", marker: ["Tijdzone reset", "Time-zone reset"] },
    { nl: "slaapvoorbereiding onderweg, diepe ontspanning en avondafbouw", en: "travel sleep preparation, deep relaxation, and evening wind-down", marker: ["Reisslaap", "Travel sleep"] },
    { nl: "zakelijke reisfocus, mentale helderheid en prestatiegereedheid", en: "business travel focus, mental clarity, and performance readiness", marker: ["Reisfocus", "Travel focus"] },
    { nl: "rij-alertheid, veilige aandacht en stabiele concentratie", en: "driving alertness, safe attention, and steady concentration", marker: ["Rij-focus", "Driving focus"] },
    { nl: "vliegkalmte, comfort en emotionele regulatie tijdens reizen", en: "flight calm, comfort, and emotional regulation while traveling", marker: ["Vliegkalmte", "Flight calm"] },
    { nl: "aankomstenergie, frisse orientatie en klaar zijn voor bestemming", en: "arrival energy, fresh orientation, and destination readiness", marker: ["Aankomstklaar", "Arrival ready"] },
    { nl: "mindfulness onderweg, aarding en innerlijke stabiliteit", en: "mindfulness while traveling, grounding, and inner stability", marker: ["Innerlijke rust", "Inner calm"] },
    { nl: "vakantie-energie, verkenningslust en ontspannen avontuur", en: "vacation energy, exploration readiness, and relaxed adventure", marker: ["Avontuurlijk fris", "Adventure fresh"] },
    { nl: "herstel tussen bestemmingen, opladen en gelijkmatig ritme", en: "recovery between destinations, recharging, and steady rhythm", marker: ["Tussenstop herstel", "Transit recovery"] },
    { nl: "thuiskomst reset, terugkeer naar ritme en zachte integratie", en: "homecoming reset, return to rhythm, and gentle integration", marker: ["Terug naar ritme", "Return to rhythm"] }
  ][definition.profile];
  const selectedProfileText = circadian ? {
    nl: "circadiane herijking, tijdzone-aanpassing en lichaamsklok reset",
    en: "circadian recalibration, time-zone adaptation, and body-clock reset",
    marker: ["Tijdzone reset", "Time-zone reset"]
  } : sleep ? {
    nl: "slaapvoorbereiding onderweg, diepe ontspanning en avondafbouw",
    en: "travel sleep preparation, deep relaxation, and evening wind-down",
    marker: ["Reisslaap", "Travel sleep"]
  } : focus ? {
    nl: "zakelijke reisfocus, mentale helderheid en prestatiegereedheid",
    en: "business travel focus, mental clarity, and performance readiness",
    marker: ["Reisfocus", "Travel focus"]
  } : flightCalm ? {
    nl: "vliegkalmte, comfort en emotionele regulatie tijdens reizen",
    en: "flight calm, comfort, and emotional regulation while traveling",
    marker: ["Vliegkalmte", "Flight calm"]
  } : mindfulness ? {
    nl: "mindfulness onderweg, aarding en innerlijke stabiliteit",
    en: "mindfulness while traveling, grounding, and inner stability",
    marker: ["Innerlijke rust", "Inner calm"]
  } : adventure ? {
    nl: "vakantie-energie, verkenningslust en ontspannen avontuur",
    en: "vacation energy, exploration readiness, and relaxed adventure",
    marker: ["Avontuurlijk fris", "Adventure fresh"]
  } : recovery ? {
    nl: "reisherstel, vermoeidheidsreductie en gegronde vitaliteit",
    en: "travel recovery, fatigue reduction, and grounded vitality",
    marker: ["Reisherstel", "Travel recovery"]
  } : profileText;
  const startFrequency = sleep ? 7.4 : circadian ? 8.2 : focus ? 10.8 : flightCalm ? 8.4 : mindfulness ? 7.2 : 9.0;
  const buildFrequency = sleep ? 8.0 : circadian ? 9.8 : focus ? 12.4 : adventure ? 11.6 : recovery ? 9.6 : 9.2;
  const peak = Math.min(definition.peak + (focus ? 0.5 : adventure ? 0.3 : 0), sleep ? 8.8 : flightCalm ? 10.4 : focus ? 14.2 : 12.8);
  const lowFrequency = sleep ? 5.2 : mindfulness ? 6.4 : flightCalm ? 7.2 : circadian ? 7.6 : recovery ? 7.8 : 8.4;
  const endFrequency = sleep ? 4.8 : focus ? 10.2 : adventure ? 9.8 : circadian ? 8.0 : mindfulness ? 7.0 : 8.6;
  const audioMode = sleep || mindfulness || flightCalm ? "binaural" : definition.style % 3 === 0 ? "monaural" : definition.style % 3 === 1 ? "isochronic-monaural" : "binaural";
  const pulseShape = sleep || flightCalm || mindfulness ? "sine" : focus && definition.style % 3 === 0 ? "triangle" : "sine";
  const noiseType = sleep ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = sleep || mindfulness ? "hall" : flightCalm ? "plate" : definition.style % 3 === 0 ? "room" : "hall";
  const musicMoods = [
    definition.mood,
    sleep ? "Binaural Deep Meditation" : focus ? "Cinematic Ambient" : "Soft Soundscapes",
    mindfulness ? "Meditation Bowls" : circadian ? "Theta Soundscape" : "Ambient",
    "Drone",
    "Cinematic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 28 : flightCalm ? 36 : focus ? 54 : adventure ? 52 : recovery ? 42 : 40;
  const whitePeak = sleep ? 4 : flightCalm ? 6 : focus ? 12 : adventure ? 10 : 7;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "travel-jet-lag",
    goal: `Een verantwoorde Travel & Jet Lag-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Travel & Jet Lag session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 20 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 46 + (definition.style % 6) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: sleep ? "subtle" : mindfulness || definition.style % 5 === 0 ? "medium" : "subtle",
      auroraSpeed: sleep ? 0.07 : focus ? 0.18 : 0.11 + (definition.style % 5) * 0.018,
      auroraDepth: sleep ? 10 : focus ? 24 : 16 + (definition.style % 7) * 2,
      markers: [
        {
          time: 0,
          name: "Reislanding",
          nameEn: "Travel landing",
          purpose: "Start met lage intensiteit en een rustige overgang naar reisgerichte regulatie.",
          purposeEn: "Starts with low intensity and a calm transition into travel-oriented regulation."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: "Orientatie",
          nameEn: "Orientation",
          purpose: "Bouwt zachte helderheid, ritme en comfort op voor onderweg of na aankomst.",
          purposeEn: "Builds gentle clarity, rhythm, and comfort for travel or arrival."
        },
        {
          time: Math.round(durationSeconds * 0.4),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de kernfase op ${selectedProfileText.nl}.`,
          purposeEn: `Focuses the core phase on ${selectedProfileText.en}.`
        },
        {
          time: Math.round(durationSeconds * 0.62),
          name: sleep ? "Diepe afbouw" : focus ? "Heldere paraatheid" : circadian ? "Ritmeherijking" : "Reisbalans",
          nameEn: sleep ? "Deep wind-down" : focus ? "Clear readiness" : circadian ? "Rhythm recalibration" : "Travel balance",
          purpose: "Houdt licht en audio vloeiend en beperkt pieken tot een comfortabele zone.",
          purposeEn: "Keeps light and audio smooth and limits peaks to a comfortable zone."
        },
        {
          time: Math.round(durationSeconds * 0.84),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de sessie terug naar stabiele reisenergie, rust of slaapvoorbereiding.",
          purposeEn: "Returns the session toward steady travel energy, calm, or sleep preparation."
        },
        {
          time: durationSeconds,
          name: "Afronding",
          nameEn: "Close",
          purpose: "Rondt af met lage intensiteit en een zachte overgang naar de volgende reisfase.",
          purposeEn: "Closes with low intensity and a gentle transition into the next travel phase."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: peak, musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: lowFrequency, musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: sleep || mindfulness ? "hall" : reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (lowFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Ambient", noiseType: sleep ? "brown" : "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency - 0.2, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(4, peak - 0.2), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, lowFrequency - 0.1), musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: sleep || mindfulness ? "hall" : reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (lowFrequency + endFrequency) / 2 - 0.2), musicMood: musicMoods[4] || "Ambient", noiseType: sleep ? "brown" : "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.2), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.45) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.7) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.38) },
          { time: durationSeconds, value: 6 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.4), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.84), value: 2 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: focus ? 22 : 14 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: sleep ? 16 : focus ? 32 : 24 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: sleep ? 12 : focus ? 26 : 19 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 5 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: Math.round(durationSeconds * 0.18), value: 38 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: focus ? 54 : 46 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: sleep ? 36 : 42 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 32 },
          { time: durationSeconds, value: 20 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.62), value: sleep ? 7 : 3 },
          { time: Math.round(durationSeconds * 0.84), value: sleep ? 4 : 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.18), value: sleep || mindfulness ? 18 : 12 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.4), value: sleep || mindfulness ? 24 : 16 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: sleep || mindfulness ? 26 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.18), value: sleep || mindfulness ? 2.4 : 1.8 + (definition.style % 3) * 0.15 },
          { time: Math.round(durationSeconds * 0.4), value: sleep || mindfulness ? 3.0 : 2.2 + (definition.style % 4) * 0.15 },
          { time: Math.round(durationSeconds * 0.62), value: sleep || mindfulness ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#26324f", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
          { time: Math.round(durationSeconds * 0.4), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: focus ? 0.18 : 0.14, auroraDepth: focus ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.62), value: colorA, ganzfeldMode: false, auroraMode: mindfulness || definition.style % 5 === 0 ? "medium" : "subtle", auroraSpeed: sleep ? 0.08 : 0.18, auroraDepth: sleep ? 12 : 22 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.11, auroraDepth: 10 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 14,
    allowedMusicMoods: musicMoods
  };
}

function createSpiritualEnergyTimelineSession(definition) {
  const durationProfiles = [1800, 1920, 2100, 1680, 1560, 2040, 1740, 1860, 2220, 1500, 1980, 1620];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const heart = /Heart|Love|Compassion|Kindness|Forgiveness|Gratitude|Grace|Abundance/i.test(definition.subjectEn);
  const awareness = /Conscious|Awareness|Presence|Observer|Witness|Now|Knowing|Wisdom|Mindful|Mindfulness|Zen/i.test(definition.subjectEn) || mental;
  const soul = /Soul|Self|Authentic|Purpose|Meaning|Transformation|Potential|Wholeness|Journey/i.test(definition.subjectEn);
  const energy = /Energy|Vibration|Alignment|Chi|Prana|Qi|Aura|Light Body|Life Force|Flow|Cleansing|Purification/i.test(definition.subjectEn);
  const nature = /Nature|Forest|Ocean|Earth|Ground|Rooted|Mountain|Moon|Sunrise|Cosmic|Universal|Oneness|Unity|Connected/i.test(definition.subjectEn);
  const surrender = /Let Go|Surrender|Release|Receive|Trust|Unknown|Possibility|Relaxation|Calm|Peace/i.test(definition.subjectEn);
  const light = /Light|Golden|White|Radiant|Divine|Sacred/i.test(definition.subjectEn);
  const colorA = definition.accent;
  const colorB = heart ? "#f9a8d4" : light ? "#fef3c7" : energy ? "#a7f3d0" : nature ? "#86efac" : awareness ? "#bae6fd" : soul ? "#c4b5fd" : "#ddd6fe";
  const colorC = heart ? "#ffe4e6" : light ? "#fff7d6" : energy ? "#ecfdf5" : nature ? "#dcfce7" : awareness ? "#e0f2fe" : soul ? "#ede9fe" : "#f5f3ff";
  const profileText = [
    { nl: "innerlijke vrede, stilte en zachte aanwezigheid", en: "inner peace, stillness, and gentle presence", marker: ["Innerlijke stilte", "Inner stillness"] },
    { nl: "bewustzijnsverruiming, getuigenbewustzijn en heldere aanwezigheid", en: "expanded consciousness, witness awareness, and clear presence", marker: ["Verruimd gewaarzijn", "Expanded awareness"] },
    { nl: "zielsverbinding, authenticiteit en innerlijke richting", en: "soul connection, authenticity, and inner direction", marker: ["Zielsverbinding", "Soul connection"] },
    { nl: "hartopening, compassie en dankbare zachtheid", en: "heart opening, compassion, and grateful softness", marker: ["Hartopening", "Heart opening"] },
    { nl: "energetische afstemming, flow en subtiele reiniging", en: "energy alignment, flow, and subtle cleansing", marker: ["Energieflow", "Energy flow"] },
    { nl: "meditatieverdieping, stille geest en ontspannen aandacht", en: "meditative deepening, quiet mind, and relaxed attention", marker: ["Diepe meditatie", "Deep meditation"] },
    { nl: "natuurverbinding, grounding en stabiele centrering", en: "nature connection, grounding, and stable centering", marker: ["Grounding", "Grounding"] },
    { nl: "universele verbinding, eenheid en ruimere aanwezigheid", en: "universal connection, oneness, and spacious presence", marker: ["Eenheid", "Oneness"] },
    { nl: "loslaten, overgave en ontvankelijke rust", en: "letting go, surrender, and receptive calm", marker: ["Overgave", "Surrender"] },
    { nl: "lichtvisualisatie, innerlijk licht en stralende helderheid", en: "light visualization, inner light, and radiant clarity", marker: ["Innerlijk licht", "Inner light"] },
    { nl: "hogere zelfverbinding, toekomstige zelf en innerlijke wijsheid", en: "higher-self connection, future self, and inner wisdom", marker: ["Hoger zelf", "Higher self"] },
    { nl: "spirituele vitaliteit, balans en integratie naar heelheid", en: "spiritual vitality, balance, and integration toward wholeness", marker: ["Heelheid", "Wholeness"] }
  ][definition.profile];
  const selectedProfileText = heart ? {
    nl: "hartopening, compassie en dankbare zachtheid",
    en: "heart opening, compassion, and grateful softness",
    marker: ["Hartopening", "Heart opening"]
  } : energy ? {
    nl: "energetische afstemming, flow en subtiele reiniging",
    en: "energy alignment, flow, and subtle cleansing",
    marker: ["Energieflow", "Energy flow"]
  } : nature ? {
    nl: "natuurverbinding, grounding en stabiele centrering",
    en: "nature connection, grounding, and stable centering",
    marker: ["Grounding", "Grounding"]
  } : light ? {
    nl: "lichtvisualisatie, innerlijk licht en stralende helderheid",
    en: "light visualization, inner light, and radiant clarity",
    marker: ["Innerlijk licht", "Inner light"]
  } : surrender ? {
    nl: "loslaten, overgave en ontvankelijke rust",
    en: "letting go, surrender, and receptive calm",
    marker: ["Overgave", "Surrender"]
  } : awareness ? {
    nl: "bewustzijnsverruiming, getuigenbewustzijn en heldere aanwezigheid",
    en: "expanded consciousness, witness awareness, and clear presence",
    marker: ["Verruimd gewaarzijn", "Expanded awareness"]
  } : soul ? {
    nl: "zielsverbinding, authenticiteit en innerlijke richting",
    en: "soul connection, authenticity, and inner direction",
    marker: ["Zielsverbinding", "Soul connection"]
  } : profileText;
  const startFrequency = surrender ? 6.4 : nature ? 7.2 : awareness ? 8.2 : energy ? 7.8 : 6.8;
  const buildFrequency = heart ? 8.8 : awareness ? 9.2 : energy ? 8.6 : light ? 8.4 : 7.6;
  const peak = Math.min(definition.peak + (awareness ? 0.4 : energy ? 0.3 : 0), 10.6);
  const lowFrequency = surrender ? 5.2 : soul ? 6.0 : nature ? 6.8 : 6.2;
  const endFrequency = surrender ? 5.8 : awareness ? 7.8 : heart ? 7.2 : 6.6;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = definition.style % 5 === 0 ? "none" : definition.style % 2 === 0 ? "pink" : "brown";
  const reverbPreset = light || nature ? "hall" : heart ? "plate" : "hall";
  const musicMoods = [
    definition.mood,
    "Meditation Bowls",
    "Theta Soundscape",
    "Binaural Deep Meditation",
    "Drone",
    "Soft Soundscapes",
    "Ambient"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = surrender ? 30 : light ? 44 : energy ? 42 : heart ? 38 : awareness ? 36 : 34;
  const whitePeak = surrender ? 3 : light ? 10 : awareness ? 6 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "spiritual-energy",
    goal: `Een verantwoorde Spiritual Energy-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Spiritual Energy session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 28 + (definition.style % 5) * 4,
    colorCrossfadeSeconds: 66 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: light || energy || definition.style % 4 === 0 ? "medium" : "subtle",
      auroraSpeed: surrender ? 0.06 : 0.08 + (definition.style % 5) * 0.014,
      auroraDepth: surrender ? 10 : 18 + (definition.style % 8) * 2,
      markers: [
        {
          time: 0,
          name: "Aankomen in stilte",
          nameEn: "Arrive in stillness",
          purpose: "Start met zeer lage intensiteit, zachte ademruimte en een rustige overgang naar meditatie.",
          purposeEn: "Starts with very low intensity, gentle breathing space, and a calm transition into meditation."
        },
        {
          time: Math.round(durationSeconds * 0.18),
          name: "Verzachten",
          nameEn: "Soften",
          purpose: "Laat audio, licht en kleur langzaam openen zonder scherpe stimulatie.",
          purposeEn: "Lets audio, light, and color slowly open without sharp stimulation."
        },
        {
          time: Math.round(durationSeconds * 0.4),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de kernfase op ${selectedProfileText.nl}, als contemplatieve ondersteuning.`,
          purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as contemplative support.`
        },
        {
          time: Math.round(durationSeconds * 0.62),
          name: light ? "Lichtintegratie" : awareness ? "Getuigenbewustzijn" : "Ruime aanwezigheid",
          nameEn: light ? "Light integration" : awareness ? "Witness awareness" : "Spacious presence",
          purpose: "Houdt de sessie ruim, langzaam en vloeiend met theta/alpha-gebaseerde ondersteuning.",
          purposeEn: "Keeps the session spacious, slow, and fluid with theta/alpha-based support."
        },
        {
          time: Math.round(durationSeconds * 0.84),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de ervaring terug naar gegronde rust en dagelijkse aanwezigheid.",
          purposeEn: "Returns the experience toward grounded calm and everyday presence."
        },
        {
          time: durationSeconds,
          name: "Zachte afronding",
          nameEn: "Gentle close",
          purpose: "Rondt af met lage intensiteit, stilte en een stabiele overgang.",
          purposeEn: "Closes with low intensity, quiet, and a stable transition."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Meditation Bowls", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: buildFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.4), value: peak, musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: lowFrequency, musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: "hall", lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (lowFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Drone", noiseType: noiseType === "none" ? "none" : "brown", reverbPreset: "hall", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.2), musicMood: musicMoods[0] || "Meditation Bowls", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(4, buildFrequency - 0.2), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(4, peak - 0.2), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, lowFrequency - 0.1), musicMood: musicMoods[3] || definition.mood, noiseType, reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (lowFrequency + endFrequency) / 2 - 0.2), musicMood: musicMoods[4] || "Drone", noiseType: noiseType === "none" ? "none" : "brown", reverbPreset: "hall", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.2), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.78) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.36) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(1, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.4), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: 2 },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.18), value: 12 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 20 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: 16 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: Math.round(durationSeconds * 0.18), value: 36 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 46 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.62), value: 42 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: 32 },
          { time: durationSeconds, value: 18 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 16 },
          { time: Math.round(durationSeconds * 0.18), value: 24 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 30 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 32 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.84), value: 22 },
          { time: durationSeconds, value: 8 }
        ],
        reverbDecay: [
          { time: 0, value: 2.2 },
          { time: Math.round(durationSeconds * 0.18), value: 3.0 + (definition.style % 3) * 0.2 },
          { time: Math.round(durationSeconds * 0.4), value: 3.6 + (definition.style % 4) * 0.2 },
          { time: Math.round(durationSeconds * 0.62), value: 3.8 },
          { time: Math.round(durationSeconds * 0.84), value: 2.4 },
          { time: durationSeconds, value: 1.0 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: "#312e81", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.08, auroraDepth: 12 },
          { time: Math.round(durationSeconds * 0.4), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 18 },
          { time: Math.round(durationSeconds * 0.62), value: colorA, ganzfeldMode: false, auroraMode: light || energy || definition.style % 4 === 0 ? "medium" : "subtle", auroraSpeed: surrender ? 0.07 : 0.16, auroraDepth: surrender ? 14 : 24 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.09, auroraDepth: 12 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 20,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryStressAnxietyTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 2100, 1320, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const breathing = /Breath|Breathing|Vagus|Parasympathetic|Autonomic|Nervous System|Relaxation Response/i.test(definition.subjectEn);
  const anxiety = /Anxiety|Fear|Worry|Safe|Security|Protected|Safe Haven|Uncertainty/i.test(definition.subjectEn);
  const mentalPressure = /Mind|Thought|Thinking|Overthinking|Mental|Clarity|Pressure|Perfectionism|Deadline|Meeting|Performance|Public Speaking|Exam|Social|Pressure/i.test(definition.subjectEn) || (mental && !physical);
  const heart = /Heart|Coherence|Compassion|Self-Compassion|Comfort/i.test(definition.subjectEn);
  const grounding = /Ground|Center|Balance|Harmony|Stillness|Peace|Serenity|Presence|Mindfulness|Acceptance|Trust|Letting|Control|Sanctuary|Oasis|Art/i.test(definition.subjectEn) || spiritual;
  const evening = /Sleep|Evening|End of Day|Release the Day/i.test(definition.subjectEn);
  const body = /Body|Physical|Muscle|Tension|Progressive|Total Relaxation|Instant Relaxation|Relaxation Reset/i.test(definition.subjectEn) || physical;
  const work = /Work|Office|Deadline|Meeting|Performance|Public Speaking|Exam|Travel|Flying|Driving|Social|Pressure/i.test(definition.subjectEn);
  const selectedProfileText = breathing ? {
    nl: "ademregulatie, parasympathische rust en zachte autonome balans",
    en: "breath regulation, parasympathetic calm, and gentle autonomic balance",
    marker: ["Ademrust", "Breath calm"]
  } : anxiety ? {
    nl: "veiligheidsgevoel, emotionele geruststelling en afname van dreigende alertheid",
    en: "felt safety, emotional reassurance, and reduced threat alertness",
    marker: ["Veiligheidsanker", "Safety anchor"]
  } : heart ? {
    nl: "hartgerichte kalmte, zelfcompassie en coherente emotionele regulatie",
    en: "heart-centered calm, self-compassion, and coherent emotional regulation",
    marker: ["Hartcoherentie", "Heart coherence"]
  } : work ? {
    nl: "kalm blijven onder druk, taakgerichte helderheid en stabiele zelfregulatie",
    en: "staying calm under pressure, task-oriented clarity, and stable self-regulation",
    marker: ["Kalm onder druk", "Calm under pressure"]
  } : grounding ? {
    nl: "gronding, acceptatie, innerlijke stilte en herstel van balans",
    en: "grounding, acceptance, inner stillness, and restoring balance",
    marker: ["Grounding", "Grounding"]
  } : mentalPressure ? {
    nl: "mentale vertraging, stillere gedachten en heldere rustige aandacht",
    en: "mental downshifting, quieter thoughts, and clear calm attention",
    marker: ["Mentale stilte", "Mental quiet"]
  } : body ? {
    nl: "lichamelijke ontspanning, spanningsafbouw en rustige lichaamsaanwezigheid",
    en: "physical relaxation, tension release, and calm body presence",
    marker: ["Lichaamsrust", "Body calm"]
  } : {
    nl: "stressafbouw, emotionele balans en zachte terugkeer naar kalmte",
    en: "stress downshifting, emotional balance, and a gentle return to calm",
    marker: ["Stressafbouw", "Stress relief"]
  };
  const startFrequency = breathing ? 7.2 : anxiety ? 8.0 : mentalPressure ? 9.2 : heart ? 7.8 : grounding ? 7.4 : body ? 8.4 : 8.6;
  const settleFrequency = breathing ? 6.4 : anxiety ? 6.8 : mentalPressure ? 8.0 : heart ? 6.6 : grounding ? 6.2 : body ? 7.0 : 7.2;
  const coreFrequency = breathing ? 6.0 : anxiety ? 5.8 : mentalPressure ? 7.2 : heart ? 6.0 : grounding ? 5.6 : body ? 6.4 : 6.2;
  const floorFrequency = Math.max(4.0, definition.floor);
  const endFrequency = evening ? 4.8 : work || mentalPressure ? 7.4 : grounding || anxiety ? 5.2 : 6.0;
  const pulseShape = breathing || heart || anxiety || evening ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const audioMode = definition.style % 5 === 0 && work ? "monaural" : "binaural";
  const noiseType = anxiety || evening ? "brown" : breathing || grounding ? "pink" : definition.style % 6 === 0 ? "none" : "pink";
  const reverbPreset = grounding || spiritual ? "hall" : heart ? "plate" : breathing ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = anxiety ? "#334155" : breathing ? "#0f766e" : heart ? "#f9a8d4" : grounding ? "#4c1d95" : work ? "#2563eb" : body ? "#155e75" : "#0e7490";
  const colorC = anxiety ? "#e2e8f0" : breathing ? "#ccfbf1" : heart ? "#ffe4e6" : grounding ? "#ede9fe" : work ? "#dbeafe" : "#e0f2fe";
  const musicMoods = [
    definition.mood,
    breathing ? "Soft Soundscapes" : "Theta Soundscape",
    grounding || spiritual ? "Meditation Bowls" : "Binaural Deep Meditation",
    evening || anxiety ? "Drone" : "Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = anxiety || evening ? 24 : breathing ? 28 : heart ? 30 : work || mentalPressure ? 36 : body ? 32 : 30;
  const whitePeak = anxiety || evening ? 2 : breathing || grounding ? 4 : work ? 7 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "stress-anxiety",
    goal: `Een verantwoorde Stress & Anxiety-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Stress & Anxiety session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 22 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 42 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: grounding || spiritual || heart ? "subtle" : "off",
      auroraSpeed: grounding || spiritual ? 0.06 : 0.04,
      auroraDepth: grounding || spiritual ? 12 : heart ? 8 : 0,
      markers: [
        { time: 0, name: "Oriëntatie", nameEn: "Orientation", purpose: "Start met lage intensiteit en een voorspelbare overgang naar rust.", purposeEn: "Starts with low intensity and a predictable transition into calm." },
        { time: Math.round(durationSeconds * 0.16), name: "Afbouw", nameEn: "Downshift", purpose: "Laat de frequentie zakken vanuit rustige alfa naar een ontspannender ritme.", purposeEn: "Lets the frequency descend from calm alpha toward a more relaxing rhythm." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, zonder medische claim of overprikkeling.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, without medical claims or overstimulation.` },
        { time: Math.round(durationSeconds * 0.62), name: "Stabilisatie", nameEn: "Stabilization", purpose: "Houdt audio, kleur en licht rustig zodat het systeem kan stabiliseren.", purposeEn: "Keeps audio, color, and light calm so the system can stabilize." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt de prikkels af en houdt een zachte, bruikbare landing aan.", purposeEn: "Reduces stimulation and maintains a soft, usable landing." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een heldere overgang uit de sessie.", purposeEn: "Ends with low intensity and a clear transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: floorFrequency, musicMood: musicMoods[3] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.min(floorFrequency + 0.4, 7.2), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.15), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.1), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: floorFrequency, musicMood: musicMoods[3] || "Ambient", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.min(floorFrequency + 0.3, 7.0), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.58) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.36) },
          { time: durationSeconds, value: 3 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.16), value: 16 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.38), value: anxiety ? 18 : work ? 26 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: anxiety ? 14 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.16), value: 38 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 48 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 42 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 16 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : anxiety ? 10 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : anxiety || evening ? 12 : 8 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: grounding || spiritual ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: grounding || spiritual ? 32 : heart ? 26 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: grounding || spiritual ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 14 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: grounding || spiritual ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: grounding || spiritual ? 4.2 : heart ? 3.0 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: grounding || spiritual ? 3.5 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: grounding || spiritual || heart ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: grounding || spiritual ? 9 : heart ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: grounding || spiritual || heart ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: grounding || spiritual ? 14 : heart ? 9 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.05, auroraDepth: grounding || spiritual ? 8 : 4 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 20,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryHeartCoherenceTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const breathing = /Breath|Breathing|Six Breaths|Resonance/i.test(definition.subjectEn);
  const hrv = /HRV|Autonomic|Parasympathetic|Vagal|Vagus|Nervous System|Rhythm|Recovery After Stress/i.test(definition.subjectEn);
  const brain = /Brain|Mind|Mental|Focus|Clarity|Executive|Performance|Flow|Athletic/i.test(definition.subjectEn) || (mental && !emotional);
  const compassion = /Compassion|Kindness|Metta|Gratitude|Appreciation|Forgiveness|Empathy|Love|Loving|Joy/i.test(definition.subjectEn);
  const spiritualHeart = /Awareness|Consciousness|Presence|Wisdom|Intelligence|Open|Sacred|Radiant|Light|Peace|Serenity|Stillness|Alignment|Harmony|Connect|Follow|Live from|Infinite/i.test(definition.subjectEn) || spiritual;
  const restoration = /Healing|Renewal|Restoration|Relaxation|Reset|Recovery|Wellness|Protocol|Balanced|Calm/i.test(definition.subjectEn);
  const evening = /Evening|Sleep/i.test(definition.subjectEn);
  const energy = /Morning|Energy|Vital|Vitality|Performance|Boost/i.test(definition.subjectEn);
  const selectedProfileText = breathing ? {
    nl: "coherente ademhaling, rustige resonantie en hartritmebalans",
    en: "coherent breathing, calm resonance, and heart-rhythm balance",
    marker: ["Resonantieademhaling", "Resonance breathing"]
  } : hrv ? {
    nl: "HRV-ondersteuning, vagale rust en autonome regulatie",
    en: "HRV support, vagal calm, and autonomic regulation",
    marker: ["HRV-venster", "HRV window"]
  } : brain ? {
    nl: "hart-brein afstemming, mentale helderheid en kalm presteren",
    en: "heart-brain alignment, mental clarity, and calm performance",
    marker: ["Hart-brein coherentie", "Heart-brain coherence"]
  } : compassion ? {
    nl: "compassie, dankbaarheid en positieve emotionele coherentie",
    en: "compassion, gratitude, and positive emotional coherence",
    marker: ["Compassieveld", "Compassion field"]
  } : spiritualHeart ? {
    nl: "hartgerichte aanwezigheid, innerlijke afstemming en zachte openheid",
    en: "heart-centered presence, inner alignment, and gentle openness",
    marker: ["Hartaanwezigheid", "Heart presence"]
  } : restoration ? {
    nl: "hartrust, emotioneel herstel en stabiele lichaamscoherentie",
    en: "heart calm, emotional recovery, and stable body coherence",
    marker: ["Hartherstel", "Heart restoration"]
  } : {
    nl: "hartcoherentie, ritmische balans en rustige zelfregulatie",
    en: "heart coherence, rhythmic balance, and calm self-regulation",
    marker: ["Hartcoherentie", "Heart coherence"]
  };
  const base = definition.coherenceBase;
  const startFrequency = evening ? 7.0 : energy ? 8.2 : brain ? 8.6 : hrv ? 7.4 : 7.8;
  const settleFrequency = breathing || hrv ? 6.4 : compassion ? 6.8 : spiritualHeart ? 6.6 : 7.0;
  const coreFrequency = base;
  const expansionFrequency = compassion || spiritualHeart ? Math.min(base + 1.1, 7.4) : brain || energy ? Math.min(base + 1.8, 8.2) : Math.min(base + 0.8, 7.0);
  const endFrequency = evening ? 5.4 : brain || energy ? 7.2 : 6.0;
  const pulseShape = "sine";
  const audioMode = brain && definition.style % 4 === 0 ? "monaural" : "binaural";
  const noiseType = evening ? "brown" : definition.style % 6 === 0 ? "none" : hrv || breathing ? "pink" : "brown";
  const reverbPreset = spiritualHeart || compassion ? "hall" : hrv || breathing ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = compassion ? "#f9a8d4" : spiritualHeart ? "#c4b5fd" : hrv ? "#14b8a6" : brain ? "#60a5fa" : restoration ? "#fb7185" : "#f472b6";
  const colorC = compassion ? "#ffe4e6" : spiritualHeart ? "#f3e8ff" : hrv ? "#ccfbf1" : brain ? "#dbeafe" : "#fff1f2";
  const musicMoods = [
    definition.mood,
    compassion || spiritualHeart ? "Meditation Bowls" : "Soft Soundscapes",
    "Theta Soundscape",
    hrv || breathing ? "Binaural Deep Meditation" : "Ambient",
    evening ? "Drone" : "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = evening ? 24 : hrv || breathing ? 30 : compassion || spiritualHeart ? 36 : brain || energy ? 40 : 34;
  const whitePeak = evening ? 2 : hrv || breathing ? 4 : compassion || spiritualHeart ? 6 : brain || energy ? 8 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "heart-coherence",
    goal: `Een verantwoorde Heart Coherence-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Heart Coherence session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 48 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: compassion || spiritualHeart ? "subtle" : "off",
      auroraSpeed: compassion || spiritualHeart ? 0.07 : 0.04,
      auroraDepth: compassion || spiritualHeart ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en een rustige overgang naar hartgerichte aandacht.", purposeEn: "Starts with low intensity and a calm transition into heart-centered attention." },
        { time: Math.round(durationSeconds * 0.18), name: "Ademritme", nameEn: "Breath rhythm", purpose: "Brengt audio en licht naar een langzaam, voorspelbaar coherentieritme.", purposeEn: "Brings audio and light toward a slow, predictable coherence rhythm." },
        { time: Math.round(durationSeconds * 0.4), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als wellness- en zelfregulatieondersteuning.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as wellness and self-regulation support.` },
        { time: Math.round(durationSeconds * 0.62), name: "Coherentieveld", nameEn: "Coherence field", purpose: "Stabiliseert een warme, gelijkmatige stimulatie zonder scherpe pieken.", purposeEn: "Stabilizes warm, even stimulation without sharp peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt de sessie terug naar bruikbare rust en rustige aanwezigheid.", purposeEn: "Returns the session toward usable calm and steady presence." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de coherentiestaat.", purposeEn: "Ends with low intensity and a gentle transition out of the coherence state." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.4), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: expansionFrequency, musicMood: musicMoods[3] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.1), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.4), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, expansionFrequency - 0.15), musicMood: musicMoods[3] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.55) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.82) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.42) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(1, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.4), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: 14 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.4), value: brain || energy ? 26 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: brain || energy ? 22 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 22 },
          { time: Math.round(durationSeconds * 0.18), value: 38 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 48 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 44 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 16 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.18), value: 20 + (definition.style % 3) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: compassion || spiritualHeart ? 32 : 24 },
          { time: Math.round(durationSeconds * 0.62), value: compassion || spiritualHeart ? 34 : 26 },
          { time: Math.round(durationSeconds * 0.84), value: 16 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.5 },
          { time: Math.round(durationSeconds * 0.18), value: compassion || spiritualHeart ? 3.2 : 2.2 },
          { time: Math.round(durationSeconds * 0.4), value: compassion || spiritualHeart ? 4.2 : 2.8 },
          { time: Math.round(durationSeconds * 0.62), value: compassion || spiritualHeart ? 4.0 : 2.6 },
          { time: Math.round(durationSeconds * 0.84), value: 1.6 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: colorB, ganzfeldMode: false, auroraMode: compassion || spiritualHeart ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: compassion || spiritualHeart ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.4), value: colorA, ganzfeldMode: false, auroraMode: compassion || spiritualHeart ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: compassion || spiritualHeart ? 14 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.06, auroraDepth: compassion || spiritualHeart ? 10 : 5 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 22,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryNeurologicalSupportTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const neurodegenerative = /Alzheimer|Parkinson|Multiple Sclerosis|MS|Stroke|Post-Stroke|Aging|Longevity|Memory Preservation|Cognitive Aging/i.test(definition.subjectEn);
  const sensory = /Sensory|Tinnitus|Sound|Vertigo|Dizziness|Migraine|Headache|Cluster|Autism|ADHD|Tourette/i.test(definition.subjectEn);
  const motor = /Motor|Movement|Coordination|Balance|Reflex|Tremor|Hands|Restless|Facial|Bell|Palsy/i.test(definition.subjectEn);
  const nerveComfort = /Neuropathy|Nerve|Neuralgia|Fibromyalgia|Sensitization|Comfort|Pain|Relaxation|Calm/i.test(definition.subjectEn) || (physical && !mental);
  const recovery = /Recovery|Injury|Concussion|Fatigue|Brain Fog|Post-Viral|ME\/CFS|Reset|Restoration|Rehabilitation|Support/i.test(definition.subjectEn);
  const cognitive = /Brain|Cognitive|Memory|Learning|Attention|Focus|Clarity|Processing|Executive|Reaction|Performance|Gamma|Optimization|Function|Connections|Integration|Interhemispheric|Brainwave|Flow/i.test(definition.subjectEn) || (mental && !physical);
  const network = /Synchronization|Network|Whole Brain|Interhemispheric|Brainwave|Neural Communication|Balance|Harmony/i.test(definition.subjectEn);
  const selectedProfileText = sensory ? {
    nl: "sensorische regulatie, prikkelrust en heldere maar zachte waarneming",
    en: "sensory regulation, reduced input load, and clear but gentle perception",
    marker: ["Sensorische rust", "Sensory calm"]
  } : motor ? {
    nl: "motorische coordinatie, lichaamsoriëntatie en rustige ritmische stabiliteit",
    en: "motor coordination, body orientation, and calm rhythmic stability",
    marker: ["Motorische stabiliteit", "Motor stability"]
  } : nerveComfort ? {
    nl: "zenuwcomfort, lichaamsrust en lage prikkelbelasting",
    en: "nerve comfort, body calm, and low stimulation load",
    marker: ["Zenuwcomfort", "Nerve comfort"]
  } : neurodegenerative ? {
    nl: "cognitieve vitaliteit, geheugenondersteuning en gezonde breinritmes",
    en: "cognitive vitality, memory support, and healthy brain rhythms",
    marker: ["Cognitieve vitaliteit", "Cognitive vitality"]
  } : recovery ? {
    nl: "neuraal herstel, mentale vermoeidheidsreductie en zachte heropbouw",
    en: "neural recovery, reduced mental fatigue, and gentle rebuilding",
    marker: ["Neuraal herstel", "Neural recovery"]
  } : network ? {
    nl: "breinsynchronisatie, netwerkbalans en geintegreerde hersengolfstabiliteit",
    en: "brain synchronization, network balance, and integrated brainwave stability",
    marker: ["Netwerkbalans", "Network balance"]
  } : cognitive ? {
    nl: "mentale helderheid, aandacht en rustige cognitieve prestatie",
    en: "mental clarity, attention, and calm cognitive performance",
    marker: ["Cognitieve helderheid", "Cognitive clarity"]
  } : {
    nl: "neurologisch welzijn, zenuwstelselbalans en rustige zelfregulatie",
    en: "neurological wellness, nervous-system balance, and calm self-regulation",
    marker: ["Neurologische balans", "Neurological balance"]
  };
  const startFrequency = nerveComfort ? 7.2 : sensory ? 7.8 : motor ? 8.4 : cognitive ? 9.4 : network ? 8.8 : 8.2;
  const settleFrequency = nerveComfort ? 6.2 : sensory ? 6.8 : motor ? 7.4 : cognitive ? 8.6 : network ? 7.8 : 7.0;
  const coreFrequency = nerveComfort ? 5.8 : sensory ? 6.4 : motor ? 8.0 : recovery ? 6.8 : neurodegenerative ? 8.6 : network ? 9.2 : cognitive ? 10.2 : 7.2;
  const peakFrequency = Math.min(definition.peak, sensory ? 8.4 : nerveComfort ? 7.2 : motor ? 10.2 : neurodegenerative ? 10.6 : cognitive ? 13.0 : 11.0);
  const endFrequency = nerveComfort || sensory ? 6.0 : recovery ? 6.6 : cognitive || network ? 8.2 : 7.0;
  const audioMode = sensory || nerveComfort ? "binaural" : definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = sensory || nerveComfort ? "sine" : definition.style % 3 === 0 ? "triangle" : "sine";
  const noiseType = sensory || nerveComfort ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = nerveComfort || sensory ? "room" : network || cognitive ? "plate" : "hall";
  const colorA = definition.accent;
  const colorB = sensory ? "#334155" : motor ? "#14b8a6" : nerveComfort ? "#0f766e" : neurodegenerative ? "#60a5fa" : recovery ? "#818cf8" : network ? "#a78bfa" : "#38bdf8";
  const colorC = sensory ? "#e2e8f0" : motor ? "#ccfbf1" : nerveComfort ? "#dcfce7" : network ? "#ede9fe" : "#dbeafe";
  const musicMoods = [
    definition.mood,
    sensory || nerveComfort ? "Soft Soundscapes" : "Binaural Deep Meditation",
    recovery ? "Theta Soundscape" : "Ambient",
    network || cognitive ? "Cinematic Ambient" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sensory ? 24 : nerveComfort ? 26 : motor ? 38 : cognitive || network ? 44 : 34;
  const whitePeak = sensory || nerveComfort ? 3 : motor ? 6 : cognitive || network ? 9 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "neurological-support",
    goal: `Een verantwoorde Neurological Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Neurological Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 22 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 44 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: network || cognitive ? "subtle" : "off",
      auroraSpeed: network || cognitive ? 0.08 : 0.04,
      auroraDepth: network || cognitive ? 12 : 0,
      markers: [
        { time: 0, name: "Oriëntatie", nameEn: "Orientation", purpose: "Start met lage intensiteit en voorspelbare sensorische opbouw.", purposeEn: "Starts with low intensity and predictable sensory build-up." },
        { time: Math.round(durationSeconds * 0.16), name: "Regulatie", nameEn: "Regulation", purpose: "Brengt audio en licht naar een rustig ritme voor zenuwstelselbalans.", purposeEn: "Brings audio and light toward a calm rhythm for nervous-system balance." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: network || cognitive ? "Synchronisatie" : "Stabilisatie", nameEn: network || cognitive ? "Synchronization" : "Stabilization", purpose: "Houdt de stimulatie gelijkmatig en vermijdt abrupte prikkelwisselingen.", purposeEn: "Keeps stimulation even and avoids abrupt sensory changes." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rustige helderheid en een stabiele afronding.", purposeEn: "Returns toward calm clarity and a stable close." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een duidelijke overgang uit de sessie.", purposeEn: "Ends with low intensity and a clear transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: sensory ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.15), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.1), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.2), musicMood: musicMoods[3] || "Ambient", noiseType: sensory ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.15), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.52) },
          { time: Math.round(durationSeconds * 0.38), value: Math.round(rgbPeak * 0.82) },
          { time: Math.round(durationSeconds * 0.62), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.42) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.42)) },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(1, Math.round(whitePeak * 0.72)) },
          { time: Math.round(durationSeconds * 0.62), value: whitePeak },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.16), value: sensory || nerveComfort ? 14 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: sensory || nerveComfort ? 18 : cognitive || network ? 30 : 24 },
          { time: Math.round(durationSeconds * 0.62), value: sensory || nerveComfort ? 16 : cognitive || network ? 26 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 22 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: cognitive || network ? 52 : 42 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 16 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : sensory || nerveComfort ? 9 : 6 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : sensory || nerveComfort ? 11 : 5 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : sensory ? 8 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: sensory || nerveComfort ? 18 : 16 },
          { time: Math.round(durationSeconds * 0.38), value: sensory || nerveComfort ? 22 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: network || cognitive ? 24 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 14 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: sensory || nerveComfort ? 2.2 : 1.8 },
          { time: Math.round(durationSeconds * 0.38), value: sensory || nerveComfort ? 2.8 : 2.3 },
          { time: Math.round(durationSeconds * 0.62), value: network || cognitive ? 2.6 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: network || cognitive ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: network || cognitive ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: network || cognitive ? "subtle" : "off", auroraSpeed: 0.09, auroraDepth: network || cognitive ? 14 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 20,
    allowedMusicMoods: musicMoods
  };
}

function createRecoverySleepTimelineSession(definition) {
  const durationProfiles = [1800, 2100, 2400, 2700, 3000, 1500, 1980, 2280, 2580, 2880, 1680, 2520];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const dream = /Dream|Lucid|Recall|Explorer|Gateway|Sanctuary|Moon|Starry|Meditation|Mindfulness|Sacred|Stillness|Floating|Art/i.test(definition.subjectEn);
  const recovery = /Recovery|Restore|Restorative|Recharge|Healing|Rejuvenating|Renewal|Protocol|Reset/i.test(definition.subjectEn);
  const circadian = /Circadian|Rhythm|Body Clock|Cycle|Morning|Wake|Tomorrow/i.test(definition.subjectEn);
  const noise = /White Noise|Pink Noise|Brown Noise|Rain|Ocean|Forest|Nature|Campfire/i.test(definition.subjectEn);
  const quietMind = /Quiet|Calm|Worry|Release|Let Go|Forgive|Stress|Serenity|Peaceful|Gentle|Silent/i.test(definition.subjectEn);
  const deep = /Deep|Profound|Delta|Night's Sleep|Ultimate|Perfect|Optimal/i.test(definition.subjectEn);
  const selectedProfileText = deep ? {
    nl: "diepe slaap, lage delta-ondersteuning en minimale prikkelbelasting",
    en: "deep sleep, low-delta support, and minimal stimulation load",
    marker: ["Deltaverzachting", "Delta softening"]
  } : circadian ? {
    nl: "slaapritme, biologische klok en natuurlijke avondafbouw",
    en: "sleep rhythm, body clock, and natural evening wind-down",
    marker: ["Ritmebalans", "Rhythm balance"]
  } : dream || spiritual ? {
    nl: "droomvoorbereiding, innerlijke stilte en zachte theta-overgang",
    en: "dream preparation, inner stillness, and a soft theta transition",
    marker: ["Droomruimte", "Dream space"]
  } : recovery ? {
    nl: "nachtelijk herstel, lichaamsrust en geleidelijke recharge",
    en: "overnight recovery, body rest, and gradual recharge",
    marker: ["Nachtherstel", "Night recovery"]
  } : emotional || quietMind ? {
    nl: "emotionele ontlading, avondrust en veilig loslaten",
    en: "emotional release, evening calm, and safe letting go",
    marker: ["Loslaatfase", "Release phase"]
  } : mental ? {
    nl: "mentale rust, afname van denkactiviteit en slaapbereidheid",
    en: "mental quiet, reduced cognitive activity, and sleep readiness",
    marker: ["Stille geest", "Quiet mind"]
  } : {
    nl: "slaapvoorbereiding, lichamelijke ontspanning en natuurlijke inslaapfase",
    en: "sleep preparation, physical relaxation, and natural sleep onset",
    marker: ["Slaapvoorbereiding", "Sleep preparation"]
  };
  const startFrequency = circadian ? 8.6 : quietMind ? 8.0 : recovery ? 7.6 : dream ? 7.2 : 8.2;
  const settleFrequency = circadian ? 7.4 : quietMind ? 6.8 : recovery ? 6.4 : dream ? 6.2 : 7.0;
  const thetaFrequency = dream ? 5.4 : quietMind ? 5.8 : recovery ? 5.2 : 6.0;
  const sleepFloor = deep ? Math.min(definition.floor, 3.2) : definition.floor;
  const endFrequency = circadian && /Wake|Morning|Tomorrow/i.test(definition.subjectEn) ? 6.8 : Math.max(2.0, sleepFloor - 0.2);
  const noiseType = /White Noise/i.test(definition.subjectEn) ? "white" : /Pink Noise|Rain|Ocean|Forest|Nature/i.test(definition.subjectEn) ? "pink" : /Brown Noise|Deep|Delta|Profound/i.test(definition.subjectEn) ? "brown" : noise || recovery || deep ? "brown" : quietMind ? "pink" : "none";
  const reverbPreset = dream || spiritual ? "hall" : noise ? "room" : "plate";
  const pulseShape = deep || recovery ? "sine" : definition.style % 5 === 0 ? "triangle" : "sine";
  const colorA = definition.accent;
  const colorB = dream || spiritual ? "#4c1d95" : noise ? "#164e63" : quietMind ? "#1e293b" : recovery ? "#0f766e" : "#1e3a8a";
  const colorC = deep ? "#020617" : "#0f172a";
  const musicMoods = [
    definition.mood,
    dream || spiritual ? "Meditation Bowls" : "Soft Soundscapes",
    deep || recovery ? "Binaural Deep Meditation" : "Theta Soundscape",
    noise ? "Drone" : "Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = deep ? 18 : recovery ? 22 : dream || spiritual ? 24 : quietMind ? 20 : 26;
  const whitePeak = deep ? 2 : recovery ? 3 : quietMind ? 2 : 4;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "sleep",
    goal: `Een verantwoorde Sleep-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Sleep session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 4,
    colorCrossfadeSeconds: 48 + (definition.style % 6) * 6,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode: "binaural",
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: dream || spiritual ? "subtle" : "off",
      auroraSpeed: dream || spiritual ? 0.05 : 0.03,
      auroraDepth: dream || spiritual ? 10 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met zeer lage licht- en pulsintensiteit om de overgang naar rust zacht te maken.", purposeEn: "Starts with very low light and pulse intensity to make the transition into rest gentle." },
        { time: Math.round(durationSeconds * 0.18), name: "Avondafbouw", nameEn: "Evening wind-down", purpose: "Laat alfa-activiteit geleidelijk zakken richting theta zonder activerende pieken.", purposeEn: "Lets alpha activity gradually descend toward theta without activating peaks." },
        { time: Math.round(durationSeconds * 0.4), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als wellness- en ontspanningsondersteuning.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as wellness and relaxation support.` },
        { time: Math.round(durationSeconds * 0.66), name: "Slaapvenster", nameEn: "Sleep window", purpose: "Verlaagt stimulatie verder en houdt licht minimaal voor slaapcomfort.", purposeEn: "Further lowers stimulation and keeps light minimal for sleep comfort." },
        { time: Math.round(durationSeconds * 0.86), name: "Loslaten", nameEn: "Let go", purpose: "Bouwt audio, noise en kleur terug naar een stille afronding.", purposeEn: "Reduces audio, noise, and color toward a quiet close." },
        { time: durationSeconds, name: "Stilte", nameEn: "Silence", purpose: "Eindigt zo donker en zacht mogelijk, zodat de sessie niet opnieuw activeert.", purposeEn: "Ends as dark and soft as possible so the session does not reactivate." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: thetaFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.66), value: sleepFloor, musicMood: musicMoods[3] || "Drone", noiseType, reverbPreset: deep ? "hall" : reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.86), value: Math.max(2.0, sleepFloor - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(2, startFrequency - 0.2), musicMood: musicMoods[0] || "Theta Soundscape", noiseType, reverbPreset, audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(2, settleFrequency - 0.2), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode: "binaural", audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(2, thetaFrequency - 0.15), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode: "binaural", audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.66), value: Math.max(2, sleepFloor), musicMood: musicMoods[3] || "Drone", noiseType, reverbPreset: deep ? "hall" : reverbPreset, audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.86), value: Math.max(2, sleepFloor - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.66), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.86), value: 6 },
          { time: durationSeconds, value: 0 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: whitePeak },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(1, whitePeak - 1) },
          { time: Math.round(durationSeconds * 0.66), value: 1 },
          { time: Math.round(durationSeconds * 0.86), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: 15 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.4), value: deep ? 18 : 20 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.66), value: deep ? 14 : 16 },
          { time: Math.round(durationSeconds * 0.86), value: 8 },
          { time: durationSeconds, value: 0 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.18), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 44 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.66), value: 36 },
          { time: Math.round(durationSeconds * 0.86), value: 18 },
          { time: durationSeconds, value: 0 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : noise ? 12 : 6 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : noise ? 16 : 9 },
          { time: Math.round(durationSeconds * 0.66), value: noiseType === "none" ? 0 : noise ? 12 : 6 },
          { time: Math.round(durationSeconds * 0.86), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.18), value: dream || spiritual ? 30 : 22 },
          { time: Math.round(durationSeconds * 0.4), value: dream || spiritual ? 36 : 26 },
          { time: Math.round(durationSeconds * 0.66), value: deep ? 30 : 24 },
          { time: Math.round(durationSeconds * 0.86), value: 16 },
          { time: durationSeconds, value: 0 }
        ],
        reverbDecay: [
          { time: 0, value: 1.8 },
          { time: Math.round(durationSeconds * 0.18), value: dream || spiritual ? 3.8 : 2.8 },
          { time: Math.round(durationSeconds * 0.4), value: dream || spiritual ? 4.8 : 3.4 },
          { time: Math.round(durationSeconds * 0.66), value: deep ? 4.0 : 2.8 },
          { time: Math.round(durationSeconds * 0.86), value: 1.8 },
          { time: durationSeconds, value: 0.6 }
        ],
        color: [
          { time: 0, value: "#020617", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: colorB, ganzfeldMode: false, auroraMode: dream || spiritual ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: dream || spiritual ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.4), value: colorA, ganzfeldMode: false, auroraMode: dream || spiritual ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: dream || spiritual ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.66), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.86), value: "#020617", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#000000", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode: "binaural",
    audioFadeInSeconds: 28,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryCardiovascularSupportTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const circulation = /Circulation|Circulatory|Blood Flow|Vascular|Vessels|Arterial|Venous|Veins|Capillary|Microcirculation|Oxygen|Flow/i.test(definition.subjectEn);
  const rhythm = /Rhythm|Pulse|Heartbeat|Coherence|HRV|Variability|Resonance|Breathing|Breath/i.test(definition.subjectEn);
  const autonomic = /Autonomic|Parasympathetic|Vagus|Vagal|Nervous System|Blood Pressure|Relaxation/i.test(definition.subjectEn);
  const recovery = /Recovery|Recover|Stress|Reset|Rest|Restore|Restoration|Healing|Evening/i.test(definition.subjectEn);
  const performance = /Performance|Fitness|Endurance|Energy|Vitality|Boost|Strong|Cardiorespiratory|Heart & Lung/i.test(definition.subjectEn);
  const emotionalHeart = /Calm|Peaceful|Harmony|Emotional|Pressure|Every Beat|Loving|Gratitude|Compassionate|Meditation|Heart of/i.test(definition.subjectEn) || emotional || spiritual;
  const lifestyle = /Lifestyle|Everyday|Daily|Morning|Aging|Senior|Longevity|60\\+|Journey|Protocol|Essentials|Life/i.test(definition.subjectEn);
  const selectedProfileText = circulation ? {
    nl: "gezonde circulatiebeelden, vaatcomfort en rustige doorstroming",
    en: "healthy circulation imagery, vascular comfort, and calm flow",
    marker: ["Circulatieflow", "Circulation flow"]
  } : rhythm ? {
    nl: "hartritmebalans, HRV-ondersteuning en coherente ademhaling",
    en: "heart-rhythm balance, HRV support, and coherent breathing",
    marker: ["Ritmebalans", "Rhythm balance"]
  } : autonomic ? {
    nl: "autonome regulatie, parasympathische rust en vagale ondersteuning",
    en: "autonomic regulation, parasympathetic calm, and vagal support",
    marker: ["Autonome rust", "Autonomic calm"]
  } : performance ? {
    nl: "cardiovasculaire vitaliteit, rustige fitheid en duurzaam uithoudingsvermogen",
    en: "cardiovascular vitality, calm fitness, and sustainable endurance",
    marker: ["Hartvitaliteit", "Heart vitality"]
  } : emotionalHeart ? {
    nl: "emotionele hartbalans, ontspanning en warme hartgerichte aanwezigheid",
    en: "emotional heart balance, relaxation, and warm heart-centered presence",
    marker: ["Hartbalans", "Heart balance"]
  } : recovery ? {
    nl: "zacht hartherstel, stressafbouw en cardiovasculaire ontspanning",
    en: "gentle heart recovery, stress downshifting, and cardiovascular relaxation",
    marker: ["Hartherstel", "Heart recovery"]
  } : lifestyle ? {
    nl: "dagelijks hartwelzijn, preventieve leefstijlondersteuning en rustige vitaliteit",
    en: "everyday heart wellness, preventive lifestyle support, and calm vitality",
    marker: ["Dagelijkse hartzorg", "Daily heart care"]
  } : {
    nl: "cardiovasculair welzijn, hartbalans en rustige zelfregulatie",
    en: "cardiovascular wellness, heart balance, and calm self-regulation",
    marker: ["Cardiovasculaire balans", "Cardiovascular balance"]
  };
  const base = definition.coherenceBase;
  const startFrequency = recovery ? 7.2 : performance ? 8.8 : circulation ? 8.2 : rhythm ? 7.8 : autonomic ? 7.4 : 8.0;
  const settleFrequency = recovery ? 6.2 : performance ? 7.6 : circulation ? 7.0 : rhythm ? 6.4 : autonomic ? 6.2 : 6.8;
  const coreFrequency = rhythm || autonomic ? base : recovery ? 5.8 : emotionalHeart ? 6.2 : circulation ? 7.2 : performance ? 8.6 : 6.8;
  const peakFrequency = Math.min(performance ? 9.8 : circulation ? 8.4 : rhythm || autonomic ? base + 0.6 : emotionalHeart ? 7.2 : 8.0, 10.0);
  const endFrequency = recovery || emotionalHeart ? 5.8 : performance || circulation ? 7.2 : 6.4;
  const audioMode = performance && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = recovery || autonomic || emotionalHeart ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = emotionalHeart || spiritual ? "hall" : rhythm || autonomic ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = circulation ? "#ef4444" : rhythm ? "#f472b6" : autonomic ? "#14b8a6" : performance ? "#facc15" : emotionalHeart ? "#fb7185" : "#38bdf8";
  const colorC = circulation ? "#fee2e2" : rhythm ? "#ffe4e6" : autonomic ? "#ccfbf1" : performance ? "#fef3c7" : emotionalHeart ? "#fff1f2" : "#dbeafe";
  const musicMoods = [
    definition.mood,
    rhythm || autonomic ? "Soft Soundscapes" : "Binaural Deep Meditation",
    emotionalHeart || spiritual ? "Meditation Bowls" : "Theta Soundscape",
    performance || circulation ? "Ambient" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = recovery || autonomic ? 28 : rhythm ? 32 : emotionalHeart ? 34 : circulation ? 40 : performance ? 46 : 36;
  const whitePeak = recovery || autonomic ? 3 : rhythm ? 4 : emotionalHeart ? 5 : circulation ? 7 : performance ? 10 : 6;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "cardiovascular-support",
    goal: `Een verantwoorde Cardiovascular Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Cardiovascular Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 48 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: emotionalHeart || circulation ? "subtle" : "off",
      auroraSpeed: emotionalHeart || circulation ? 0.07 : 0.04,
      auroraDepth: emotionalHeart || circulation ? 10 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en rustige hartgerichte aandacht.", purposeEn: "Starts with low intensity and calm heart-centered attention." },
        { time: Math.round(durationSeconds * 0.18), name: "Ademritme", nameEn: "Breath rhythm", purpose: "Brengt audio en licht naar een voorspelbaar ritme voor ontspanning en zelfregulatie.", purposeEn: "Brings audio and light toward a predictable rhythm for relaxation and self-regulation." },
        { time: Math.round(durationSeconds * 0.4), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: circulation ? "Doorstroming" : "Coherentieveld", nameEn: circulation ? "Flow" : "Coherence field", purpose: "Stabiliseert een gelijkmatige, warme stimulatie zonder scherpe pieken.", purposeEn: "Stabilizes even, warm stimulation without sharp peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rustige vitaliteit en lichaamsbewustzijn.", purposeEn: "Returns toward calm vitality and body awareness." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.4), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: recovery ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.1), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.4), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: recovery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.18), value: Math.round(rgbPeak * 0.52) },
          { time: Math.round(durationSeconds * 0.4), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.82) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.42) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.18), value: Math.max(1, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.4), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.18), value: recovery || autonomic ? 14 : 18 },
          { time: Math.round(durationSeconds * 0.4), value: performance || circulation ? 26 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: performance || circulation ? 22 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 22 },
          { time: Math.round(durationSeconds * 0.18), value: 38 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.4), value: 48 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: performance || circulation ? 50 : 42 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 16 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.18), value: noiseType === "none" ? 0 : recovery || autonomic ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.4), value: noiseType === "none" ? 0 : recovery || autonomic ? 9 : 5 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : recovery ? 6 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.18), value: emotionalHeart || spiritual ? 22 : 18 },
          { time: Math.round(durationSeconds * 0.4), value: emotionalHeart || spiritual ? 30 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: emotionalHeart || spiritual ? 30 : 24 },
          { time: Math.round(durationSeconds * 0.84), value: 16 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.18), value: emotionalHeart || spiritual ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.4), value: emotionalHeart || spiritual ? 4.0 : 2.6 },
          { time: Math.round(durationSeconds * 0.62), value: emotionalHeart || spiritual ? 3.6 : 2.4 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#111827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.18), value: colorB, ganzfeldMode: false, auroraMode: emotionalHeart || circulation ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: emotionalHeart || circulation ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.4), value: colorA, ganzfeldMode: false, auroraMode: emotionalHeart || circulation ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: emotionalHeart || circulation ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: emotionalHeart || circulation ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: emotionalHeart || circulation ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 22,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryRespiratorySupportTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const rhythm = /Rhythm|Coherent|Resonance|Balanced|Heart Breathing|Slow|Rhythmic|Regulation|Control|Practice|Breath Awareness|Mindful|Conscious/i.test(definition.subjectEn);
  const oxygen = /Oxygen|Oxygenation|Airflow|Airway|Nasal|Nose|Functional|Efficient|Lung Capacity|Breathing Efficiency|Optimal|Open Breathing/i.test(definition.subjectEn);
  const lung = /Lung|Pulmonary|Respiratory Function|Respiratory System|Respiratory Lifestyle|Chest|Healthy Airways/i.test(definition.subjectEn);
  const recovery = /Recovery|Recover|Post|COVID|Viral|Pneumonia|Bronchitis|Infection|Rehabilitation|Smoker|Apnea|Asthma|COPD|Allergy|Sinus|Hay Fever|Healing/i.test(definition.subjectEn);
  const relaxation = /Relax|Calm|Comfort|Ease|Gentle|Stress|Anxiety|Fear|Confidence|Peace|Sleep|Evening/i.test(definition.subjectEn) || emotional;
  const vitality = /Vitality|Energy|Recharge|Boost|Fresh Air|Life|Morning|Every Breath|Freedom|Free/i.test(definition.subjectEn);
  const meditation = /Meditation|Sacred|Inner|Stillness|Spiritual|Breath of Life|Power of Breath|Peaceful|Quiet Breath/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = recovery ? {
    nl: "ademhalingsherstel, rustige prikkelafbouw en ondersteunend longcomfort",
    en: "respiratory recovery, calm downshifting, and supportive lung comfort",
    marker: ["Ademherstel", "Breath recovery"]
  } : oxygen ? {
    nl: "zuurstofbewustzijn, vrije luchtstroom en efficiente ademhaling",
    en: "oxygen awareness, open airflow, and efficient breathing",
    marker: ["Zuurstofflow", "Oxygen flow"]
  } : rhythm ? {
    nl: "ademritme, resonantieademhaling en autonome balans",
    en: "breath rhythm, resonance breathing, and autonomic balance",
    marker: ["Ademritme", "Breath rhythm"]
  } : lung ? {
    nl: "longwelzijn, borstontspanning en zachte ademruimte",
    en: "lung wellness, chest relaxation, and gentle breathing space",
    marker: ["Longruimte", "Lung space"]
  } : meditation ? {
    nl: "bewust ademen, innerlijke stilte en meditatieve aanwezigheid",
    en: "conscious breathing, inner stillness, and meditative presence",
    marker: ["Adembewustzijn", "Breath awareness"]
  } : relaxation ? {
    nl: "ontspannen ademhaling, emotionele kalmte en lichaamsrust",
    en: "relaxed breathing, emotional calm, and body ease",
    marker: ["Kalme adem", "Calm breath"]
  } : vitality ? {
    nl: "vitale adem, frisse energie en rustige activering",
    en: "vital breath, fresh energy, and calm activation",
    marker: ["Vitale adem", "Vital breath"]
  } : {
    nl: "ademhalingswelzijn, natuurlijke ademflow en stabiele zelfregulatie",
    en: "respiratory wellness, natural breath flow, and stable self-regulation",
    marker: ["Ademflow", "Breath flow"]
  };
  const base = definition.breathBase;
  const startFrequency = recovery ? 6.8 : relaxation || meditation ? 7.0 : oxygen ? 8.4 : vitality ? 8.8 : rhythm ? 7.6 : 8.0;
  const settleFrequency = recovery ? 5.6 : relaxation || meditation ? 5.8 : rhythm ? base : lung ? 6.2 : oxygen ? 7.2 : vitality ? 7.8 : 6.8;
  const coreFrequency = rhythm ? base : recovery ? 5.2 : relaxation || meditation ? 5.5 : oxygen ? 7.8 : vitality ? 8.6 : lung ? 6.4 : 6.2;
  const peakFrequency = Math.min(vitality ? 9.8 : oxygen ? 8.8 : lung ? 7.6 : rhythm ? base + 0.5 : recovery ? 6.6 : relaxation || meditation ? 6.4 : 8.0, 10.0);
  const endFrequency = recovery || relaxation || meditation ? 5.4 : oxygen || vitality ? 7.0 : rhythm ? 6.0 : 6.2;
  const audioMode = vitality && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = rhythm || recovery || relaxation ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = recovery || relaxation || meditation ? "brown" : oxygen || lung ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = meditation || spiritual ? "hall" : recovery || relaxation ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = oxygen ? "#38bdf8" : lung ? "#14b8a6" : rhythm ? "#22c55e" : recovery ? "#0f766e" : relaxation ? "#60a5fa" : meditation ? "#a78bfa" : vitality ? "#facc15" : "#2dd4bf";
  const colorC = oxygen ? "#dbeafe" : lung ? "#ccfbf1" : rhythm ? "#dcfce7" : recovery ? "#d1fae5" : relaxation ? "#e0f2fe" : meditation ? "#ede9fe" : vitality ? "#fef3c7" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    relaxation || recovery ? "Soft Soundscapes" : "Ambient",
    meditation ? "Meditation Bowls" : rhythm ? "Theta Soundscape" : "Binaural Deep Meditation",
    oxygen || vitality ? "Cinematic Ambient" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = recovery ? 28 : relaxation || meditation ? 30 : rhythm ? 34 : lung ? 38 : oxygen ? 42 : vitality ? 48 : 36;
  const whitePeak = recovery || relaxation || meditation ? 3 : rhythm ? 4 : lung ? 5 : oxygen ? 7 : vitality ? 9 : 6;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "respiratory-support",
    goal: `Een verantwoorde Respiratory Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Respiratory Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 46 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: meditation || oxygen || vitality ? "subtle" : "off",
      auroraSpeed: meditation ? 0.06 : oxygen || vitality ? 0.1 : 0.04,
      auroraDepth: meditation ? 10 : oxygen || vitality ? 14 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en eenvoudige aandacht voor de natuurlijke adem.", purposeEn: "Starts with low intensity and simple attention to natural breathing." },
        { time: Math.round(durationSeconds * 0.16), name: "Ademruimte", nameEn: "Breathing space", purpose: "Bouwt een rustiger ritme op met zachte kleur en voorspelbare pulsen.", purposeEn: "Builds a calmer rhythm with soft color and predictable pulses." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: oxygen || vitality ? "Vrije flow" : "Stabiele adem", nameEn: oxygen || vitality ? "Open flow" : "Stable breath", purpose: "Houdt de stimulatie gelijkmatig zodat ademtempo, audio en licht rustig samenlopen.", purposeEn: "Keeps stimulation even so breath pacing, audio, and light move together calmly." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Brengt de sessie terug naar ontspannen helderheid en lichaamsbewustzijn.", purposeEn: "Returns the session toward relaxed clarity and body awareness." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de ademfocus.", purposeEn: "Ends with low intensity and a gentle transition out of breath focus." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: recovery ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: recovery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.5) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.76) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.36) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.55)) },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.16), value: recovery || relaxation ? 14 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: oxygen || vitality ? 26 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: oxygen || vitality ? 22 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 22 },
          { time: Math.round(durationSeconds * 0.16), value: 38 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 48 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: oxygen || vitality ? 50 : 42 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 16 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : recovery || relaxation ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : recovery || relaxation ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : recovery ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: meditation ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: meditation ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: meditation ? 30 : 24 },
          { time: Math.round(durationSeconds * 0.84), value: 16 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: meditation ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: meditation ? 4.2 : 2.6 },
          { time: Math.round(durationSeconds * 0.62), value: meditation ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#082f49", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: meditation || oxygen || vitality ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: meditation || oxygen || vitality ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: meditation || oxygen || vitality ? "subtle" : "off", auroraSpeed: 0.1, auroraDepth: meditation || oxygen || vitality ? 14 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: meditation || oxygen || vitality ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: meditation || oxygen || vitality ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 22,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryDigestiveSupportTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const gutBrain = /Gut-Brain|Mind|Mental|Mindful|Eating Mindset|Appetite Awareness|Healthy Mind|Habits/i.test(definition.subjectEn) || mental;
  const microbiome = /Microbiome|Flora|Ecosystem|Barrier|Leaky|Post-Antibiotic/i.test(definition.subjectEn);
  const bowel = /Bowel|Intestinal|Colon|Colorectal|Small Intestine|Elimination|Constipation|Diarrhea|IBS|Irritable|Functional|Diverticular|Crohn|Colitis|Inflammatory/i.test(definition.subjectEn);
  const stomach = /Stomach|Gastritis|Reflux|Heartburn|GERD|Esophagus|Nausea|Motion Sickness|Morning Sickness|Appetite/i.test(definition.subjectEn);
  const liver = /Liver|Gallbladder|Pancreatic|Pancreas/i.test(definition.subjectEn);
  const sensitivity = /Sensitivity|Intolerance|Lactose|Gluten|Celiac|Food/i.test(definition.subjectEn);
  const stress = /Stress|Emotional|Calm|Relax|Comfort|Ease|Peace|Harmony|Meditation|Mindfulness/i.test(definition.subjectEn) || emotional || spiritual;
  const autonomic = /Parasympathetic|Vagus|Autonomic|Breathing|Diaphragmatic|Abdominal/i.test(definition.subjectEn);
  const meals = /Meal|Eating|After Eating|Post-Meal|Travel|Traveling/i.test(definition.subjectEn);
  const recovery = /Recovery|Reset|Surgery|Infection|Support|Protocol|Journey|Healing|Adaptation/i.test(definition.subjectEn);
  const selectedProfileText = bowel ? {
    nl: "darmcomfort, rustige buikregulatie en ondersteunende spijsverteringsbalans",
    en: "bowel comfort, calm abdominal regulation, and supportive digestive balance",
    marker: ["Darmcomfort", "Bowel comfort"]
  } : stomach ? {
    nl: "maagcomfort, zachte ontspanning en kalmering na prikkeling",
    en: "stomach comfort, gentle relaxation, and calming after irritation",
    marker: ["Maagrust", "Stomach calm"]
  } : liver ? {
    nl: "lever-, gal- en pancreaswelzijn met rustige lichaamsgerichte ondersteuning",
    en: "liver, gallbladder, and pancreatic wellness with calm body-focused support",
    marker: ["Orgaanwelzijn", "Organ wellness"]
  } : microbiome ? {
    nl: "microbioombalans, darmbarrierebeelden en zachte herstelondersteuning",
    en: "microbiome balance, gut-barrier imagery, and gentle recovery support",
    marker: ["Microbioombalans", "Microbiome balance"]
  } : sensitivity ? {
    nl: "voedselgevoeligheid, adaptatie en spijsverteringscomfort",
    en: "food sensitivity, adaptation, and digestive comfort",
    marker: ["Adaptief comfort", "Adaptive comfort"]
  } : gutBrain ? {
    nl: "darm-breinbalans, mindful eten en mentale rust rond spijsvertering",
    en: "gut-brain balance, mindful eating, and mental calm around digestion",
    marker: ["Darm-breinbalans", "Gut-brain balance"]
  } : autonomic ? {
    nl: "parasympathische activatie, buikademhaling en vagale ondersteuning",
    en: "parasympathetic activation, abdominal breathing, and vagal support",
    marker: ["Vagale rust", "Vagal calm"]
  } : meals ? {
    nl: "comfort na maaltijden, rustige flow en praktische spijsverteringsondersteuning",
    en: "post-meal comfort, calm flow, and practical digestive support",
    marker: ["Maaltijdcomfort", "Meal comfort"]
  } : stress ? {
    nl: "emotionele buikrust, ontspanning en lagere stressbelasting",
    en: "emotional gut calm, relaxation, and lower stress load",
    marker: ["Buikrust", "Gut calm"]
  } : recovery ? {
    nl: "spijsverteringsherstel, reset en zachte dagelijkse opbouw",
    en: "digestive recovery, reset, and gentle everyday rebuilding",
    marker: ["Spijsverteringsherstel", "Digestive recovery"]
  } : {
    nl: "spijsverteringswelzijn, darmbalans en ontspannen lichaamsbewustzijn",
    en: "digestive wellness, gut balance, and relaxed body awareness",
    marker: ["Spijsverteringsbalans", "Digestive balance"]
  };
  const base = definition.gutBase;
  const startFrequency = stress || recovery ? 7.0 : autonomic ? 7.4 : gutBrain ? 8.0 : meals ? 7.8 : 7.6;
  const settleFrequency = stress || autonomic ? 6.0 : recovery ? 5.8 : bowel || stomach ? 6.2 : gutBrain ? 7.0 : base;
  const coreFrequency = autonomic ? base : stress ? 5.4 : bowel ? 5.8 : stomach ? 5.6 : microbiome ? 6.4 : liver ? 6.6 : gutBrain ? 7.2 : meals ? 6.2 : 6.0;
  const peakFrequency = Math.min(gutBrain ? 8.8 : meals ? 7.8 : liver ? 7.6 : microbiome ? 7.4 : bowel || stomach ? 6.8 : autonomic ? base + 0.5 : stress ? 6.4 : 7.2, 9.0);
  const endFrequency = stress || stomach ? 5.4 : recovery || bowel ? 5.8 : gutBrain ? 6.8 : 6.2;
  const audioMode = gutBrain && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = stress || autonomic || stomach ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = stress || recovery || stomach || bowel ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritual ? "hall" : stress || autonomic ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = bowel ? "#22c55e" : stomach ? "#facc15" : liver ? "#fb923c" : microbiome ? "#84cc16" : gutBrain ? "#38bdf8" : autonomic ? "#14b8a6" : stress ? "#60a5fa" : "#2dd4bf";
  const colorC = bowel ? "#dcfce7" : stomach ? "#fef3c7" : liver ? "#ffedd5" : microbiome ? "#ecfccb" : gutBrain ? "#dbeafe" : autonomic ? "#ccfbf1" : "#e0f2fe";
  const musicMoods = [
    definition.mood,
    stress || autonomic ? "Soft Soundscapes" : "Ambient",
    spiritual ? "Meditation Bowls" : gutBrain ? "Theta Soundscape" : "Binaural Deep Meditation",
    bowel || stomach || recovery ? "Drone" : "Cinematic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = stress || stomach ? 26 : bowel || recovery ? 30 : autonomic ? 32 : microbiome ? 34 : liver ? 36 : gutBrain ? 38 : meals ? 34 : 32;
  const whitePeak = stress || stomach ? 3 : bowel || recovery ? 4 : autonomic || microbiome ? 5 : liver || gutBrain ? 6 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "digestive-support",
    goal: `Een verantwoorde Digestive Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Digestive Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 26 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 50 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritual || gutBrain || microbiome ? "subtle" : "off",
      auroraSpeed: spiritual ? 0.06 : gutBrain || microbiome ? 0.08 : 0.04,
      auroraDepth: spiritual ? 10 : gutBrain || microbiome ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en rustige aandacht voor buik en adem.", purposeEn: "Starts with low intensity and calm attention to abdomen and breath." },
        { time: Math.round(durationSeconds * 0.16), name: "Buikontspanning", nameEn: "Abdominal release", purpose: "Laat licht, audio en noise rustig zakken richting parasympathische ontspanning.", purposeEn: "Lets light, audio, and noise settle toward parasympathetic relaxation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: meals || gutBrain ? "Rustige integratie" : "Digestieve flow", nameEn: meals || gutBrain ? "Calm integration" : "Digestive flow", purpose: "Houdt het ritme mild en gelijkmatig voor comfort, lichaamsrust en zelfregulatie.", purposeEn: "Keeps the rhythm mild and even for comfort, body calm, and self-regulation." },
        { time: Math.round(durationSeconds * 0.84), name: "Afronden", nameEn: "Settle", purpose: "Bouwt terug naar zachte helderheid en ontspannen lichaamsbewustzijn.", purposeEn: "Returns toward soft clarity and relaxed body awareness." },
        { time: durationSeconds, name: "Einde", nameEn: "Close", purpose: "Eindigt met minimale lichtintensiteit en een rustige overgang.", purposeEn: "Ends with minimal light intensity and a calm transition." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Drone", noiseType: stress || recovery ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Drone", noiseType: stress || recovery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.34) },
          { time: durationSeconds, value: 3 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: stress || stomach ? 13 : 16 },
          { time: Math.round(durationSeconds * 0.38), value: gutBrain || liver ? 22 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: gutBrain || liver ? 20 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 3 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: gutBrain || liver ? 48 : 40 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 14 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : stress || recovery ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : stress || recovery || bowel || stomach ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : stress || recovery ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritual ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: spiritual ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: spiritual ? 30 : 23 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritual ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritual ? 4.1 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: spiritual ? 3.7 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#14532d", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritual || gutBrain || microbiome ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritual || gutBrain || microbiome ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritual || gutBrain || microbiome ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: spiritual || gutBrain || microbiome ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritual || gutBrain || microbiome ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: spiritual || gutBrain || microbiome ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 24,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryImmuneSupportTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const infectionRecovery = /Post-Viral|Long COVID|Infection|Cold|Flu|Illness|Post-Illness|After Illness|Cancer Treatment|Chemotherapy|Radiotherapy|Post-Surgery|Wound|Tissue/i.test(definition.subjectEn);
  const sleepRecovery = /Sleep|Sleeping|Evening|Rest|Restorative|Deep Recovery/i.test(definition.subjectEn);
  const cellular = /Cellular|Mitochondrial|ATP|Inflammatory|Inflammation|Immune Response|Regulation|Adaptation/i.test(definition.subjectEn);
  const defenses = /Defense|Defenses|Resistance|Seasonal|Winter|Cold Season|Allergy|Allergies|Autoimmune|Immune System|Immune Function/i.test(definition.subjectEn);
  const stress = /Stress|Relaxation|Calm|Parasympathetic|Vagus|Autonomic|Heart Coherence|Breathing|Mind-Body/i.test(definition.subjectEn) || emotional;
  const lifestyle = /Daily|Morning|Lifestyle|Habits|Routine|Everyday|Journey|Protocol|Essentials|Life|Future|Tomorrow|Aging|Longevity/i.test(definition.subjectEn) || mental;
  const spiritualRecovery = /Meditation|Healing|Inner|Light|Presence|Peace|Compassionate|Gratitude|Wellness for Life/i.test(definition.subjectEn) || spiritual;
  const vitality = /Vitality|Energy|Boost|Recharge|Strong|Strength|Body|Whole Body|Optimal|Complete/i.test(definition.subjectEn);
  const selectedProfileText = infectionRecovery ? {
    nl: "herstel na belasting of infectie, rustige opbouw en ondersteunende lichaamsregulatie",
    en: "recovery after load or infection, calm rebuilding, and supportive body regulation",
    marker: ["Herstelopbouw", "Recovery rebuilding"]
  } : sleepRecovery ? {
    nl: "slaap, diepe rust en nachtelijk herstel als basis voor welzijn",
    en: "sleep, deep rest, and overnight recovery as a basis for wellness",
    marker: ["Rustherstel", "Rest recovery"]
  } : cellular ? {
    nl: "cellulaire vitaliteit, gezonde regulatie en gebalanceerde herstelbeelden",
    en: "cellular vitality, healthy regulation, and balanced recovery imagery",
    marker: ["Cellulaire balans", "Cellular balance"]
  } : defenses ? {
    nl: "natuurlijke weerstand, seizoensbalans en ondersteunende immuunharmonie",
    en: "natural defenses, seasonal balance, and supportive immune harmony",
    marker: ["Natuurlijke weerstand", "Natural defenses"]
  } : stress ? {
    nl: "stress-immuunbalans, parasympathische ontspanning en lagere prikkelbelasting",
    en: "stress-immunity balance, parasympathetic relaxation, and lower stimulation load",
    marker: ["Stressbalans", "Stress balance"]
  } : spiritualRecovery ? {
    nl: "innerlijk herstel, hoopvolle aanwezigheid en meditatieve ondersteuning",
    en: "inner recovery, hopeful presence, and meditative support",
    marker: ["Innerlijk herstel", "Inner healing"]
  } : lifestyle ? {
    nl: "dagelijks welzijn, gezonde gewoonten en veerkrachtige leefstijlondersteuning",
    en: "everyday wellness, healthy habits, and resilient lifestyle support",
    marker: ["Dagelijks welzijn", "Everyday wellness"]
  } : vitality ? {
    nl: "vitaliteit, lichaamsbalans en duurzame energie als wellnessondersteuning",
    en: "vitality, body balance, and sustainable energy as wellness support",
    marker: ["Lichaamsvitaliteit", "Body vitality"]
  } : {
    nl: "immuunwelzijn, lichaamsbalans en rustige herstelgerichte zelfregulatie",
    en: "immune wellness, body balance, and calm recovery-oriented self-regulation",
    marker: ["Immuunbalans", "Immune balance"]
  };
  const base = definition.immuneBase;
  const startFrequency = sleepRecovery || stress || infectionRecovery ? 7.0 : cellular ? 8.0 : vitality ? 8.8 : lifestyle ? 8.2 : 7.6;
  const settleFrequency = sleepRecovery ? 5.8 : stress ? 6.0 : infectionRecovery ? 6.2 : cellular ? 6.8 : defenses ? 6.6 : vitality ? 7.4 : base;
  const coreFrequency = sleepRecovery ? 4.8 : stress ? 5.4 : infectionRecovery ? 5.8 : cellular ? base : defenses ? 6.4 : spiritualRecovery ? 5.6 : vitality ? 7.8 : 6.2;
  const peakFrequency = Math.min(vitality ? 9.2 : cellular ? 8.0 : defenses ? 7.6 : lifestyle ? 8.4 : spiritualRecovery ? 6.8 : sleepRecovery ? 6.2 : infectionRecovery ? 7.0 : stress ? 6.6 : 7.4, 9.6);
  const endFrequency = sleepRecovery ? 4.6 : stress || spiritualRecovery ? 5.4 : infectionRecovery ? 5.8 : vitality || lifestyle ? 6.8 : 6.0;
  const audioMode = vitality && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = sleepRecovery || stress || infectionRecovery ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = sleepRecovery || stress || infectionRecovery || spiritualRecovery ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualRecovery ? "hall" : sleepRecovery || stress ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = cellular ? "#84cc16" : defenses ? "#22c55e" : infectionRecovery ? "#14b8a6" : sleepRecovery ? "#334155" : stress ? "#38bdf8" : spiritualRecovery ? "#a78bfa" : vitality ? "#facc15" : "#2dd4bf";
  const colorC = cellular ? "#ecfccb" : defenses ? "#dcfce7" : infectionRecovery ? "#ccfbf1" : sleepRecovery ? "#e2e8f0" : stress ? "#dbeafe" : spiritualRecovery ? "#ede9fe" : vitality ? "#fef3c7" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleepRecovery || stress || infectionRecovery ? "Soft Soundscapes" : "Ambient",
    spiritualRecovery ? "Meditation Bowls" : sleepRecovery ? "Binaural Deep Meditation" : "Theta Soundscape",
    infectionRecovery || sleepRecovery ? "Drone" : vitality ? "Cinematic Ambient" : "Binaural Deep Meditation",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleepRecovery ? 22 : stress || infectionRecovery ? 28 : spiritualRecovery ? 30 : cellular ? 34 : defenses ? 36 : lifestyle ? 38 : vitality ? 44 : 32;
  const whitePeak = sleepRecovery ? 2 : stress || infectionRecovery ? 3 : spiritualRecovery ? 4 : cellular || defenses ? 5 : vitality ? 8 : 6;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "immune-support",
    goal: `Een verantwoorde Immune Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Immune Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 26 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 52 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualRecovery || cellular || vitality ? "subtle" : "off",
      auroraSpeed: spiritualRecovery ? 0.06 : cellular || vitality ? 0.09 : 0.04,
      auroraDepth: spiritualRecovery ? 10 : cellular || vitality ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en rustige lichaamsgerichte aandacht.", purposeEn: "Starts with low intensity and calm body-focused attention." },
        { time: Math.round(durationSeconds * 0.16), name: "Herstelruimte", nameEn: "Recovery space", purpose: "Bouwt een mild ritme op met nadruk op ontspanning en zelfregulatie.", purposeEn: "Builds a mild rhythm with emphasis on relaxation and self-regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: vitality || lifestyle ? "Vitaliteitsvenster" : "Regulatievenster", nameEn: vitality || lifestyle ? "Vitality window" : "Regulation window", purpose: "Houdt licht en audio vloeiend, begrensd en comfortabel voor dagelijks gebruik.", purposeEn: "Keeps light and audio smooth, limited, and comfortable for everyday use." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rustige energie, lichaamscomfort en herstelbewustzijn.", purposeEn: "Returns toward calm energy, body comfort, and recovery awareness." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: sleepRecovery || infectionRecovery ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: sleepRecovery || infectionRecovery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.5) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.34) },
          { time: durationSeconds, value: 3 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: sleepRecovery ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: sleepRecovery || stress || infectionRecovery ? 13 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: vitality || lifestyle ? 24 : 19 },
          { time: Math.round(durationSeconds * 0.62), value: vitality || lifestyle ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 3 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: vitality || lifestyle ? 50 : 40 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 14 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : sleepRecovery || stress || infectionRecovery ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : sleepRecovery || stress || infectionRecovery ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : sleepRecovery || infectionRecovery ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualRecovery ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualRecovery ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualRecovery ? 30 : 23 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualRecovery ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualRecovery ? 4.1 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualRecovery ? 3.7 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#064e3b", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualRecovery || cellular || vitality ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritualRecovery || cellular || vitality ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualRecovery || cellular || vitality ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: spiritualRecovery || cellular || vitality ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualRecovery || cellular || vitality ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: spiritualRecovery || cellular || vitality ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 24,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryHormonalEndocrineSupportTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const circadian = /Circadian|Body Clock|Sleep|Melatonin|Pineal|Evening|Morning|Rhythm/i.test(definition.subjectEn);
  const stressAdrenal = /Stress|Adrenal|Cortisol|Parasympathetic|Autonomic|Vagus|Heart Coherence|Relaxation|Recovery/i.test(definition.subjectEn);
  const thyroidMetabolic = /Thyroid|Metabolic|Metabolism|Energy|Glucose|Blood Sugar|Insulin|Pancreatic|Weight|Cellular|Vitality/i.test(definition.subjectEn);
  const reproductive = /Women|Men|Menstrual|Cycle|PMS|Menopause|Perimenopause|Hot Flash|Andropause|Fertility|Reproductive|Libido|Intimate|Sexual|PCOS|Endometriosis/i.test(definition.subjectEn);
  const neuroendocrine = /Pituitary|Hypothalamic|Neuroendocrine|Mind-Body|Balanced Mind/i.test(definition.subjectEn) || mental;
  const emotionalBalance = /Mood|Emotional|Calm|Inner|Peace|Self-Care|Balanced Living|Harmony from Within|Restore Inner Balance|Healthy Life Balance/i.test(definition.subjectEn) || emotional || spiritual;
  const protocol = /Protocol|Journey|Reset|Restore|Lifestyle|Whole Person|Whole Body|Optimal|Daily|Healthy Aging|Longevity|Future/i.test(definition.subjectEn);
  const selectedProfileText = circadian ? {
    nl: "circadiane balans, slaap-waakritme en natuurlijke hormonale timing",
    en: "circadian balance, sleep-wake rhythm, and natural hormonal timing",
    marker: ["Circadiane balans", "Circadian balance"]
  } : stressAdrenal ? {
    nl: "stresshormoonbalans, bijnierherstel en parasympathische ontspanning",
    en: "stress-hormone balance, adrenal recovery, and parasympathetic relaxation",
    marker: ["Stresshormoonrust", "Stress-hormone calm"]
  } : thyroidMetabolic ? {
    nl: "metabole balans, energiehuishouding en rustige endocriene vitaliteit",
    en: "metabolic balance, energy regulation, and calm endocrine vitality",
    marker: ["Metabole balans", "Metabolic balance"]
  } : reproductive ? {
    nl: "reproductief welzijn, cycluscomfort en zachte hormonale afstemming",
    en: "reproductive wellness, cycle comfort, and gentle hormonal alignment",
    marker: ["Hormooncyclus", "Hormone cycle"]
  } : neuroendocrine ? {
    nl: "neuro-endocriene afstemming, lichaam-geest balans en mentale rust",
    en: "neuroendocrine alignment, mind-body balance, and mental calm",
    marker: ["Neuro-endocriene balans", "Neuroendocrine balance"]
  } : emotionalBalance ? {
    nl: "emotionele hormonale balans, innerlijke rust en zachte stabilisatie",
    en: "emotional hormonal balance, inner calm, and gentle stabilization",
    marker: ["Innerlijke balans", "Inner balance"]
  } : protocol ? {
    nl: "dagelijks hormonaal welzijn, gezonde leefstijl en duurzame lichaamsbalans",
    en: "everyday hormonal wellness, healthy lifestyle, and sustainable body balance",
    marker: ["Leefstijlbalans", "Lifestyle balance"]
  } : {
    nl: "hormonale en endocriene balans, lichaamsrust en ondersteunende zelfregulatie",
    en: "hormonal and endocrine balance, body calm, and supportive self-regulation",
    marker: ["Endocriene balans", "Endocrine balance"]
  };
  const base = definition.endocrineBase;
  const startFrequency = circadian || stressAdrenal ? 7.0 : thyroidMetabolic ? 8.4 : reproductive ? 7.6 : neuroendocrine ? 8.0 : 7.8;
  const settleFrequency = circadian ? 5.8 : stressAdrenal ? 6.0 : reproductive || emotionalBalance ? 6.2 : thyroidMetabolic ? 7.2 : base;
  const coreFrequency = circadian ? 5.0 : stressAdrenal ? 5.6 : emotionalBalance ? 5.8 : reproductive ? 6.2 : neuroendocrine ? 6.8 : thyroidMetabolic ? base : 6.4;
  const peakFrequency = Math.min(thyroidMetabolic ? 8.8 : neuroendocrine ? 8.2 : protocol ? 8.0 : reproductive ? 7.4 : stressAdrenal ? 6.8 : circadian ? 6.2 : emotionalBalance ? 6.8 : 7.6, 9.2);
  const endFrequency = circadian ? 4.8 : stressAdrenal || emotionalBalance ? 5.6 : reproductive ? 6.0 : thyroidMetabolic || protocol ? 6.8 : 6.2;
  const audioMode = thyroidMetabolic && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = circadian || stressAdrenal || emotionalBalance ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = circadian || stressAdrenal || emotionalBalance || reproductive ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritual || emotionalBalance ? "hall" : circadian || stressAdrenal ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = circadian ? "#4c1d95" : stressAdrenal ? "#38bdf8" : thyroidMetabolic ? "#facc15" : reproductive ? "#f472b6" : neuroendocrine ? "#60a5fa" : emotionalBalance ? "#c084fc" : "#14b8a6";
  const colorC = circadian ? "#ede9fe" : stressAdrenal ? "#dbeafe" : thyroidMetabolic ? "#fef3c7" : reproductive ? "#fce7f3" : neuroendocrine ? "#dbeafe" : emotionalBalance ? "#f3e8ff" : "#ccfbf1";
  const musicMoods = [
    definition.mood,
    circadian || stressAdrenal || emotionalBalance ? "Soft Soundscapes" : "Ambient",
    spiritual || emotionalBalance ? "Meditation Bowls" : circadian ? "Binaural Deep Meditation" : "Theta Soundscape",
    circadian || stressAdrenal || reproductive ? "Drone" : thyroidMetabolic ? "Cinematic Ambient" : "Binaural Deep Meditation",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = circadian ? 22 : stressAdrenal || emotionalBalance ? 28 : reproductive ? 32 : neuroendocrine ? 34 : thyroidMetabolic ? 42 : protocol ? 36 : 32;
  const whitePeak = circadian ? 2 : stressAdrenal || emotionalBalance ? 3 : reproductive ? 4 : neuroendocrine ? 5 : thyroidMetabolic ? 8 : 6;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "hormonal-endocrine-support",
    goal: `Een verantwoorde Hormonal & Endocrine Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Hormonal & Endocrine Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 26 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 54 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritual || emotionalBalance || reproductive ? "subtle" : "off",
      auroraSpeed: spiritual || emotionalBalance ? 0.06 : reproductive ? 0.08 : 0.04,
      auroraDepth: spiritual || emotionalBalance ? 10 : reproductive ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en rustige aandacht voor lichaamsbalans.", purposeEn: "Starts with low intensity and calm attention to body balance." },
        { time: Math.round(durationSeconds * 0.16), name: "Ontspannen regulatie", nameEn: "Relaxed regulation", purpose: "Bouwt audio en licht langzaam op richting comfort en autonome rust.", purposeEn: "Slowly builds audio and light toward comfort and autonomic calm." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: thyroidMetabolic || protocol ? "Vitale balans" : "Stabiele afstemming", nameEn: thyroidMetabolic || protocol ? "Vital balance" : "Stable alignment", purpose: "Houdt het ritme vloeiend en begrensd, zonder activerende pieken.", purposeEn: "Keeps the rhythm smooth and limited, without activating spikes." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar zachte helderheid en een kalm lichaamsgevoel.", purposeEn: "Returns toward soft clarity and a calm body sense." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een rustige overgang uit de sessie.", purposeEn: "Ends with low intensity and a calm transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: circadian || stressAdrenal || reproductive ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: circadian || stressAdrenal || reproductive ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.34) },
          { time: durationSeconds, value: 3 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: circadian ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: circadian || stressAdrenal || emotionalBalance ? 13 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: thyroidMetabolic || protocol ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: thyroidMetabolic || protocol ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 3 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: thyroidMetabolic || protocol ? 50 : 40 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 14 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : circadian || stressAdrenal || emotionalBalance ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : circadian || stressAdrenal || reproductive ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : circadian || stressAdrenal ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritual || emotionalBalance ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: spiritual || emotionalBalance ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: spiritual || emotionalBalance ? 30 : 23 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritual || emotionalBalance ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritual || emotionalBalance ? 4.1 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: spiritual || emotionalBalance ? 3.7 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#312e81", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritual || emotionalBalance || reproductive ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritual || emotionalBalance || reproductive ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritual || emotionalBalance || reproductive ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: spiritual || emotionalBalance || reproductive ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritual || emotionalBalance || reproductive ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: spiritual || emotionalBalance || reproductive ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 24,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryWomensHealthTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const cycle = /Cycle|Menstrual|Monthly|PMS|Premenstrual|Hormonal|Rhythm/i.test(definition.subjectEn);
  const menopause = /Menopause|Perimenopause|Midlife|Hot Flash/i.test(definition.subjectEn);
  const reproductive = /PCOS|Endometriosis|Fibroid|Ovarian|Reproductive|Uterine|Pelvic|Fertility|Preconception|Pregnancy|Prenatal|Postpartum|Mother|Baby|Breast/i.test(definition.subjectEn);
  const pregnancy = /Pregnancy|Prenatal|Expectant|Baby|Postpartum|Motherhood|Mother/i.test(definition.subjectEn);
  const preventive = /Bone|Aging|Longevity|Heart|Cardiovascular|Circulation|Preventive|Sleep|Lifestyle|Protocol|Everyday|Stage|Journey/i.test(definition.subjectEn);
  const stress = /Stress|Burnout|Relaxation|Calm|Self-Care|Resilience|Emotional|Confidence|Self-Esteem|Self-Love|Empowerment|Strong|Radiant|Flourishing/i.test(definition.subjectEn) || emotional;
  const clarity = /Mental|Focus|Clarity|Mind-Body/i.test(definition.subjectEn) || mental;
  const feminineSpirit = /Feminine|Inner|Harmony|Peace|Authentic|Mindful|Sacred|Divine|Meditation|Mindfulness|Goddess|Spiritual|Wisdom|Gratitude|Healing|Graceful|Life Balance/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = pregnancy ? {
    nl: "zwangerschap, postpartum of moederschapsrust met zachte emotionele ondersteuning",
    en: "pregnancy, postpartum, or motherhood calm with gentle emotional support",
    marker: ["Moederschapsrust", "Motherhood calm"]
  } : reproductive ? {
    nl: "reproductief en bekkenwelzijn, lichaamscomfort en zachte hormonale afstemming",
    en: "reproductive and pelvic wellness, body comfort, and gentle hormonal alignment",
    marker: ["Reproductieve balans", "Reproductive balance"]
  } : menopause ? {
    nl: "midlife-balans, menopauzecomfort en rustige vitaliteit",
    en: "midlife balance, menopause comfort, and calm vitality",
    marker: ["Midlife balans", "Midlife balance"]
  } : cycle ? {
    nl: "cyclusbalans, maandelijks comfort en voorspelbare lichaamsrust",
    en: "cycle balance, monthly comfort, and predictable body calm",
    marker: ["Cyclusbalans", "Cycle balance"]
  } : preventive ? {
    nl: "preventief vrouwenwelzijn, slaap, hart, botten en gezonde levensfase-ondersteuning",
    en: "preventive women's wellness, sleep, heart, bones, and healthy life-stage support",
    marker: ["Levensfasewelzijn", "Life-stage wellness"]
  } : stress ? {
    nl: "zelfzorg, emotionele balans en veerkrachtige innerlijke kracht",
    en: "self-care, emotional balance, and resilient inner strength",
    marker: ["Zelfzorgbalans", "Self-care balance"]
  } : feminineSpirit ? {
    nl: "vrouwelijke energie, innerlijke wijsheid en meditatieve aanwezigheid",
    en: "feminine energy, inner wisdom, and meditative presence",
    marker: ["Vrouwelijke energie", "Feminine energy"]
  } : clarity ? {
    nl: "mentale helderheid, lichaam-geest balans en rustige focus",
    en: "mental clarity, mind-body balance, and calm focus",
    marker: ["Heldere balans", "Clear balance"]
  } : {
    nl: "vrouwengezondheid, vitaliteit en evenwichtige lichaamsgerichte ondersteuning",
    en: "women's health, vitality, and balanced body-focused support",
    marker: ["Vrouwenwelzijn", "Women's wellness"]
  };
  const base = definition.womensBase;
  const startFrequency = pregnancy || stress || feminineSpirit ? 7.0 : cycle || menopause ? 7.4 : preventive ? 8.0 : clarity ? 8.4 : 7.8;
  const settleFrequency = pregnancy || stress || feminineSpirit ? 5.8 : cycle ? 6.2 : menopause ? 6.0 : reproductive ? 6.4 : preventive ? 6.8 : base;
  const coreFrequency = pregnancy ? 5.2 : stress || feminineSpirit ? 5.6 : cycle ? base : menopause ? 5.8 : reproductive ? 6.0 : clarity ? 7.0 : preventive ? 6.6 : 6.2;
  const peakFrequency = Math.min(clarity ? 8.8 : preventive ? 8.2 : reproductive ? 7.4 : cycle ? 7.2 : menopause ? 6.8 : pregnancy || stress || feminineSpirit ? 6.6 : 7.8, 9.2);
  const endFrequency = pregnancy || stress || feminineSpirit ? 5.4 : menopause || reproductive ? 5.8 : cycle ? 6.0 : clarity || preventive ? 6.8 : 6.2;
  const audioMode = clarity && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = pregnancy || stress || feminineSpirit || menopause ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = pregnancy || stress || feminineSpirit || cycle || menopause ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = feminineSpirit || spiritual ? "hall" : pregnancy || stress || menopause ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = pregnancy ? "#fb7185" : reproductive ? "#f472b6" : cycle ? "#c084fc" : menopause ? "#fb923c" : preventive ? "#14b8a6" : stress ? "#60a5fa" : feminineSpirit ? "#a78bfa" : "#38bdf8";
  const colorC = pregnancy ? "#ffe4e6" : reproductive ? "#fce7f3" : cycle ? "#f3e8ff" : menopause ? "#ffedd5" : preventive ? "#ccfbf1" : stress ? "#dbeafe" : feminineSpirit ? "#ede9fe" : "#e0f2fe";
  const musicMoods = [
    definition.mood,
    pregnancy || stress || feminineSpirit ? "Soft Soundscapes" : "Ambient",
    feminineSpirit ? "Meditation Bowls" : pregnancy || menopause ? "Binaural Deep Meditation" : "Theta Soundscape",
    pregnancy || cycle || menopause ? "Drone" : clarity || preventive ? "Cinematic Ambient" : "Binaural Deep Meditation",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = pregnancy ? 24 : stress || feminineSpirit ? 28 : cycle || menopause ? 30 : reproductive ? 32 : preventive ? 36 : clarity ? 38 : 34;
  const whitePeak = pregnancy ? 2 : stress || feminineSpirit || menopause ? 3 : cycle || reproductive ? 4 : preventive ? 6 : clarity ? 7 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "womens-health",
    goal: `Een verantwoorde Women's Health-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Women's Health session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 26 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 54 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: feminineSpirit || stress || cycle ? "subtle" : "off",
      auroraSpeed: feminineSpirit ? 0.06 : stress || cycle ? 0.08 : 0.04,
      auroraDepth: feminineSpirit ? 10 : stress || cycle ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en rustige aandacht voor lichaam en adem.", purposeEn: "Starts with low intensity and calm attention to body and breath." },
        { time: Math.round(durationSeconds * 0.16), name: "Verzachten", nameEn: "Soften", purpose: "Bouwt een zachte, voorspelbare stimulatie op voor comfort en zelfregulatie.", purposeEn: "Builds gentle, predictable stimulation for comfort and self-regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: clarity || preventive ? "Vitale helderheid" : "Zachte balans", nameEn: clarity || preventive ? "Vital clarity" : "Gentle balance", purpose: "Houdt licht en audio vloeiend, begrensd en afgestemd op ontspanning.", purposeEn: "Keeps light and audio smooth, limited, and oriented toward relaxation." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rustige energie en lichaamsvertrouwen.", purposeEn: "Returns toward calm energy and body confidence." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: pregnancy || stress || cycle || menopause ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: pregnancy || stress || cycle || menopause ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.34) },
          { time: durationSeconds, value: 3 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: pregnancy || feminineSpirit ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: pregnancy || stress || feminineSpirit ? 12 : 16 },
          { time: Math.round(durationSeconds * 0.38), value: clarity || preventive ? 22 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: clarity || preventive ? 20 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 3 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: clarity || preventive ? 48 : 40 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 14 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : pregnancy || stress || feminineSpirit ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : pregnancy || stress || cycle || menopause ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : pregnancy || stress ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: feminineSpirit ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: feminineSpirit ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: feminineSpirit ? 30 : 23 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: feminineSpirit ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: feminineSpirit ? 4.1 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: feminineSpirit ? 3.7 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#831843", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: feminineSpirit || stress || cycle ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: feminineSpirit || stress || cycle ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: feminineSpirit || stress || cycle ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: feminineSpirit || stress || cycle ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: feminineSpirit || stress || cycle ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: feminineSpirit || stress || cycle ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#fdf2f8", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 24,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryMensHealthTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const hormonal = /Hormonal|Testosterone|Endocrine|Adrenal|Cortisol/i.test(definition.subjectEn);
  const vitality = /Vitality|Energy|Peak|Physical|Strength|Muscle|Fitness|Athletic|Performance|Training|Strong|Body Composition|Weight/i.test(definition.subjectEn);
  const cardiovascular = /Heart|Blood Pressure|Circulation|Cardiovascular|Coherence|Rhythm/i.test(definition.subjectEn);
  const sleepRecovery = /Sleep|Evening|Recovery|Recover|Restful|Deep Recovery|Whole Body Recovery|Burnout/i.test(definition.subjectEn);
  const mentalPerformance = /Mental|Focus|Determination|Executive|Decision|Strategic|Leadership|Business|Success|Ambition|Toughness|Pressure|Resilient Leader|Balanced Success/i.test(definition.subjectEn) || mental;
  const pelvicReproductive = /Prostate|Urinary|Bladder|Pelvic|Reproductive|Fertility|Intimate|Libido|Sexual/i.test(definition.subjectEn);
  const nervousWellness = /Nervous|Parasympathetic|Autonomic|Vagus|Stress Relief|Stress Recovery|Calm Under Pressure/i.test(definition.subjectEn);
  const familyEmotional = /Father|Family|Relationship|Communication|Emotional|Inner Strength|Empowered|Work-Life|Presence/i.test(definition.subjectEn) || emotional;
  const masculineSpirit = /Meditation|Mindfulness|Inner Peace|Purpose|Masculinity|Conscious|Grounded|Warrior|Integrity|Wisdom|Gratitude|Compassionate|Authentic|Life Balance|Live with Purpose/i.test(definition.subjectEn) || spiritual;
  const lifestyle = /Daily|Morning|Lifestyle|Everyday|Optimal|Protocol|Journey|Future|Lifetime|Complete|Whole Man|Live Strong/i.test(definition.subjectEn);
  const selectedProfileText = pelvicReproductive ? {
    nl: "prostaat-, bekken- en reproductief welzijn met rustige lichaamsgerichte ondersteuning",
    en: "prostate, pelvic, and reproductive wellness with calm body-focused support",
    marker: ["Bekkenbalans", "Pelvic balance"]
  } : hormonal ? {
    nl: "mannelijke hormonale balans, stresshormoonrust en endocriene vitaliteit",
    en: "male hormonal balance, stress-hormone calm, and endocrine vitality",
    marker: ["Hormonale balans", "Hormonal balance"]
  } : cardiovascular ? {
    nl: "hartwelzijn, circulatiebalans en rustige coherente ademhaling",
    en: "heart wellness, circulation balance, and calm coherent breathing",
    marker: ["Hartbalans", "Heart balance"]
  } : sleepRecovery ? {
    nl: "slaap, herstel en duurzame fysieke opbouw na belasting",
    en: "sleep, recovery, and sustainable physical rebuilding after load",
    marker: ["Herstelopbouw", "Recovery rebuilding"]
  } : pelvicReproductive ? {
    nl: "intiem welzijn, bekkencomfort en gezonde mannelijke vitaliteit",
    en: "intimate wellness, pelvic comfort, and healthy masculine vitality",
    marker: ["Intiem welzijn", "Intimate wellness"]
  } : mentalPerformance ? {
    nl: "mentale helderheid, besluitkracht en kalm presteren onder druk",
    en: "mental clarity, decisive action, and calm performance under pressure",
    marker: ["Prestatiebalans", "Performance balance"]
  } : familyEmotional ? {
    nl: "emotionele aanwezigheid, relationele balans en veerkrachtige zelfzorg",
    en: "emotional presence, relational balance, and resilient self-care",
    marker: ["Emotionele aanwezigheid", "Emotional presence"]
  } : masculineSpirit ? {
    nl: "gegronde kracht, doelgerichtheid en bewuste mannelijke energie",
    en: "grounded strength, purpose, and conscious masculine energy",
    marker: ["Gegronde kracht", "Grounded strength"]
  } : vitality ? {
    nl: "mannelijke vitaliteit, kracht, mobiliteit en lichaamsherstel",
    en: "male vitality, strength, mobility, and body recovery",
    marker: ["Vitale kracht", "Vital strength"]
  } : nervousWellness ? {
    nl: "zenuwstelselrust, parasympathisch herstel en lagere stressbelasting",
    en: "nervous-system calm, parasympathetic recovery, and lower stress load",
    marker: ["Zenuwstelselrust", "Nervous-system calm"]
  } : lifestyle ? {
    nl: "dagelijks mannenwelzijn, gezonde leefstijl en levensfase-vitaliteit",
    en: "everyday men's wellness, healthy lifestyle, and life-stage vitality",
    marker: ["Dagelijks welzijn", "Everyday wellness"]
  } : {
    nl: "mannengezondheid, vitaliteit en evenwichtige lichaam-geest ondersteuning",
    en: "men's health, vitality, and balanced body-mind support",
    marker: ["Mannenwelzijn", "Men's wellness"]
  };
  const base = definition.mensBase;
  const startFrequency = sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? 7.0 : mentalPerformance ? 8.8 : vitality ? 8.6 : hormonal ? 7.6 : cardiovascular ? 7.4 : 8.0;
  const settleFrequency = sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? 5.8 : hormonal || cardiovascular ? 6.4 : pelvicReproductive ? 6.2 : mentalPerformance ? 7.6 : vitality ? 7.4 : base;
  const coreFrequency = sleepRecovery ? 5.2 : nervousWellness || familyEmotional || masculineSpirit ? 5.6 : hormonal ? base : pelvicReproductive ? 6.0 : cardiovascular ? 6.2 : mentalPerformance ? 8.2 : vitality ? 8.0 : 6.4;
  const peakFrequency = Math.min(mentalPerformance ? 10.2 : vitality ? 9.8 : lifestyle ? 8.8 : hormonal ? 7.8 : cardiovascular ? 7.4 : pelvicReproductive ? 7.0 : sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? 6.6 : 8.0, 10.4);
  const endFrequency = sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? 5.4 : pelvicReproductive || cardiovascular ? 5.8 : hormonal ? 6.2 : mentalPerformance || vitality || lifestyle ? 7.0 : 6.2;
  const audioMode = (mentalPerformance || vitality) && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = sleepRecovery || nervousWellness || familyEmotional || masculineSpirit || pelvicReproductive ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = masculineSpirit || spiritual ? "hall" : sleepRecovery || nervousWellness || familyEmotional ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = vitality ? "#facc15" : mentalPerformance ? "#38bdf8" : hormonal ? "#14b8a6" : cardiovascular ? "#ef4444" : pelvicReproductive ? "#22c55e" : sleepRecovery ? "#334155" : familyEmotional ? "#60a5fa" : masculineSpirit ? "#a78bfa" : "#2dd4bf";
  const colorC = vitality ? "#fef3c7" : mentalPerformance ? "#dbeafe" : hormonal ? "#ccfbf1" : cardiovascular ? "#fee2e2" : pelvicReproductive ? "#dcfce7" : sleepRecovery ? "#e2e8f0" : familyEmotional ? "#e0f2fe" : masculineSpirit ? "#ede9fe" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? "Soft Soundscapes" : "Ambient",
    masculineSpirit ? "Meditation Bowls" : sleepRecovery ? "Binaural Deep Meditation" : "Theta Soundscape",
    sleepRecovery || pelvicReproductive || familyEmotional ? "Drone" : mentalPerformance || vitality ? "Cinematic Ambient" : "Binaural Deep Meditation",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleepRecovery ? 24 : nervousWellness || familyEmotional || masculineSpirit ? 28 : pelvicReproductive || cardiovascular ? 32 : hormonal ? 34 : lifestyle ? 38 : mentalPerformance ? 44 : vitality ? 48 : 36;
  const whitePeak = sleepRecovery ? 2 : nervousWellness || familyEmotional || masculineSpirit ? 3 : pelvicReproductive || cardiovascular ? 4 : hormonal ? 5 : lifestyle ? 6 : mentalPerformance ? 8 : vitality ? 9 : 6;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "mens-health",
    goal: `Een verantwoorde Men's Health-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Men's Health session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 24 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 50 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: masculineSpirit || mentalPerformance || vitality ? "subtle" : "off",
      auroraSpeed: masculineSpirit ? 0.06 : mentalPerformance || vitality ? 0.1 : 0.04,
      auroraDepth: masculineSpirit ? 10 : mentalPerformance || vitality ? 14 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en rustige aandacht voor lichaam, adem en houding.", purposeEn: "Starts with low intensity and calm attention to body, breath, and posture." },
        { time: Math.round(durationSeconds * 0.16), name: "Stabiliseren", nameEn: "Stabilize", purpose: "Bouwt een voorspelbaar ritme op voor comfort, helderheid en zelfregulatie.", purposeEn: "Builds a predictable rhythm for comfort, clarity, and self-regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: mentalPerformance || vitality ? "Krachtige balans" : "Gegronde balans", nameEn: mentalPerformance || vitality ? "Strong balance" : "Grounded balance", purpose: "Houdt de stimulatie vloeiend en begrensd, afgestemd op bruikbare energie.", purposeEn: "Keeps stimulation smooth and limited, oriented toward usable energy." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar gegronde helderheid, ontspanning en lichaamsvertrouwen.", purposeEn: "Returns toward grounded clarity, relaxation, and body confidence." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een rustige overgang uit de sessie.", purposeEn: "Ends with low intensity and a calm transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: sleepRecovery || nervousWellness || pelvicReproductive || familyEmotional ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: sleepRecovery || nervousWellness || pelvicReproductive || familyEmotional ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.74) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.35) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: sleepRecovery || masculineSpirit ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.16), value: sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? 13 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: mentalPerformance || vitality ? 26 : 19 },
          { time: Math.round(durationSeconds * 0.62), value: mentalPerformance || vitality ? 24 : 17 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 22 },
          { time: Math.round(durationSeconds * 0.16), value: 38 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 48 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: mentalPerformance || vitality ? 52 : 42 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 15 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : sleepRecovery || nervousWellness || familyEmotional || masculineSpirit ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : sleepRecovery || nervousWellness || pelvicReproductive || familyEmotional ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : sleepRecovery || nervousWellness ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: masculineSpirit ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: masculineSpirit ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: masculineSpirit ? 30 : 23 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: masculineSpirit ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: masculineSpirit ? 4.1 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: masculineSpirit ? 3.7 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: masculineSpirit || mentalPerformance || vitality ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: masculineSpirit || mentalPerformance || vitality ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: masculineSpirit || mentalPerformance || vitality ? "subtle" : "off", auroraSpeed: 0.09, auroraDepth: masculineSpirit || mentalPerformance || vitality ? 14 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: masculineSpirit || mentalPerformance || vitality ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: masculineSpirit || mentalPerformance || vitality ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 22,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryPregnancyParenthoodTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const conception = /Preparing for Pregnancy|Preconception|Fertility|Conception|Reproductive Wellness/i.test(definition.subjectEn);
  const pregnancy = /Pregnancy|Prenatal|Expectant|Baby|Birth|Labor/i.test(definition.subjectEn);
  const birth = /Birth|Labor|Visualization/i.test(definition.subjectEn);
  const postpartum = /Postpartum|New Mother|Motherhood Recovery|After Birth|Healing After Birth|Mom|Mother's Sleep|Recharge for Moms|Busy Mom/i.test(definition.subjectEn);
  const fatherhood = /Father|Dad/i.test(definition.subjectEn);
  const parenting = /Parent|Child|Family|Home|Raising|Memories|Routine/i.test(definition.subjectEn);
  const bonding = /Bonding|Connection|Connecting|Loving|Growing Together|Welcome|Nurturing|Love/i.test(definition.subjectEn);
  const sleepComfort = /Sleep|Rest|Evening|Relaxation|Comfort|Calm|Stress|Peaceful|Recover/i.test(definition.subjectEn);
  const spiritualBond = /Mindful|Meditation|Sacred|Gift|Purpose|Gratitude|Spiritual|Home of Love/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = birth ? {
    nl: "geboortevoorbereiding, vertrouwen, ademruimte en zachte visualisatie",
    en: "birth preparation, confidence, breathing space, and gentle visualization",
    marker: ["Geboortevertrouwen", "Birth confidence"]
  } : postpartum ? {
    nl: "postpartum herstel, rust, zelfzorg en emotionele stabilisatie",
    en: "postpartum recovery, rest, self-care, and emotional stabilization",
    marker: ["Postpartum herstel", "Postpartum recovery"]
  } : fatherhood ? {
    nl: "voorbereiding op vaderschap, emotionele aanwezigheid en rustige verbinding",
    en: "fatherhood preparation, emotional presence, and calm connection",
    marker: ["Vaderschapsbalans", "Fatherhood balance"]
  } : parenting ? {
    nl: "ouderschapsrust, gezinsverbinding en veerkrachtige dagelijkse balans",
    en: "parenting calm, family connection, and resilient everyday balance",
    marker: ["Gezinsbalans", "Family balance"]
  } : bonding ? {
    nl: "liefdevolle ouder-kind verbinding, hechting en zachte aanwezigheid",
    en: "loving parent-child connection, bonding, and gentle presence",
    marker: ["Liefdevolle verbinding", "Loving connection"]
  } : conception ? {
    nl: "preconceptie, vruchtbaarheidswelzijn en rustige reproductieve balans",
    en: "preconception, fertility wellness, and calm reproductive balance",
    marker: ["Preconceptiebalans", "Preconception balance"]
  } : pregnancy ? {
    nl: "zwangerschapscomfort, emotionele kalmte en veilige lichaamsgerichte ontspanning",
    en: "pregnancy comfort, emotional calm, and safe body-focused relaxation",
    marker: ["Zwangerschapsrust", "Pregnancy calm"]
  } : spiritualBond ? {
    nl: "bewuste ouderschapsreis, dankbaarheid en meditatieve gezinsverbinding",
    en: "conscious parenthood journey, gratitude, and meditative family connection",
    marker: ["Bewuste verbinding", "Conscious connection"]
  } : sleepComfort ? {
    nl: "rust, slaapherstel en zachte ontspanning voor ouder en gezin",
    en: "rest, sleep recovery, and gentle relaxation for parent and family",
    marker: ["Rustherstel", "Rest recovery"]
  } : {
    nl: "zwangerschap en ouderschap, verbinding, herstel en emotionele balans",
    en: "pregnancy and parenthood, connection, recovery, and emotional balance",
    marker: ["Ouderschapsbalans", "Parenthood balance"]
  };
  const base = definition.parenthoodBase;
  const startFrequency = birth || mental ? 7.6 : conception ? 7.2 : pregnancy || postpartum || sleepComfort ? 6.8 : parenting || fatherhood ? 7.0 : 6.8;
  const settleFrequency = birth || conception ? 6.2 : pregnancy || postpartum || sleepComfort ? 5.6 : parenting || fatherhood || bonding ? 5.8 : base;
  const coreFrequency = birth ? 6.4 : conception ? base : pregnancy ? 5.2 : postpartum || sleepComfort ? 4.8 : bonding || spiritualBond ? 5.4 : parenting || fatherhood ? 5.8 : 5.6;
  const peakFrequency = Math.min(birth || mental ? 7.4 : conception ? 7.0 : parenting || fatherhood ? 6.8 : bonding || spiritualBond ? 6.4 : pregnancy || postpartum || sleepComfort ? 6.0 : 6.6, 7.6);
  const endFrequency = postpartum || pregnancy || sleepComfort || spiritualBond ? 4.8 : bonding || parenting || fatherhood ? 5.4 : 5.6;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = "brown";
  const reverbPreset = spiritualBond || spiritual ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = birth ? "#fb7185" : pregnancy ? "#f472b6" : postpartum ? "#14b8a6" : fatherhood ? "#38bdf8" : parenting ? "#22c55e" : bonding ? "#c084fc" : conception ? "#facc15" : "#60a5fa";
  const colorC = birth || pregnancy ? "#ffe4e6" : postpartum ? "#ccfbf1" : fatherhood ? "#dbeafe" : parenting ? "#dcfce7" : bonding || spiritualBond ? "#ede9fe" : conception ? "#fef3c7" : "#e0f2fe";
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    spiritualBond ? "Meditation Bowls" : "Binaural Deep Meditation",
    birth || parenting ? "Theta Soundscape" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = pregnancy || postpartum ? 22 : birth || bonding || spiritualBond ? 24 : parenting || fatherhood ? 28 : conception ? 26 : 24;
  const whitePeak = pregnancy || postpartum || sleepComfort ? 2 : birth || bonding || spiritualBond ? 3 : parenting || fatherhood || conception ? 4 : 3;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "pregnancy-parenthood",
    goal: `Een verantwoorde Pregnancy & Parenthood-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Pregnancy & Parenthood session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 28 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 58 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualBond || bonding ? "subtle" : "off",
      auroraSpeed: spiritualBond || bonding ? 0.05 : 0.03,
      auroraDepth: spiritualBond || bonding ? 8 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met zeer lage intensiteit en rustige ademruimte.", purposeEn: "Starts with very low intensity and calm breathing space." },
        { time: Math.round(durationSeconds * 0.16), name: "Verzachten", nameEn: "Soften", purpose: "Bouwt zachte audio en kleur op zonder scherpe pieken.", purposeEn: "Builds gentle audio and color without sharp peaks." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: bonding || parenting || fatherhood ? "Verbinden" : "Rustige bedding", nameEn: bonding || parenting || fatherhood ? "Connect" : "Calm holding", purpose: "Houdt de stimulatie mild, warm en voorspelbaar voor ontspanning en verbinding.", purposeEn: "Keeps stimulation mild, warm, and predictable for relaxation and connection." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar stille aanwezigheid en lichaamscomfort.", purposeEn: "Returns toward quiet presence and body comfort." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en een zachte overgang.", purposeEn: "Ends with minimal intensity and a gentle transition." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.45) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.68) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.3) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.16), value: birth || mental ? 14 : 10 },
          { time: Math.round(durationSeconds * 0.38), value: birth || mental ? 18 : 14 },
          { time: Math.round(durationSeconds * 0.62), value: birth || mental ? 16 : 12 },
          { time: Math.round(durationSeconds * 0.84), value: 7 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 34 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 44 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 40 },
          { time: Math.round(durationSeconds * 0.84), value: 26 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: 8 },
          { time: Math.round(durationSeconds * 0.38), value: 10 },
          { time: Math.round(durationSeconds * 0.62), value: 8 },
          { time: Math.round(durationSeconds * 0.84), value: 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualBond ? 26 : 20 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualBond ? 34 : 24 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualBond ? 32 : 24 },
          { time: Math.round(durationSeconds * 0.84), value: 16 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.6 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualBond ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualBond ? 4.3 : 2.8 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualBond ? 4.0 : 2.6 },
          { time: Math.round(durationSeconds * 0.84), value: 1.6 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#831843", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualBond || bonding ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualBond || bonding ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualBond || bonding ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritualBond || bonding ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualBond || bonding ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualBond || bonding ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#fdf2f8", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 30,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryRehabilitationTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const physicalRehab = /Rehabilitation|Functional|Mobility|Movement|Strength|Physical Function|Post-Hospital|Back on Your Feet/i.test(definition.subjectEn);
  const surgeryInjury = /Surgery|Post-Surgery|Injury|Orthopedic|Wound|Scar|Tissue|Bone|Soft Tissue|Connective|Sports Injury|Training|Exercise|Muscle|Joint/i.test(definition.subjectEn);
  const neuro = /Neurological|Brain|Stroke|Concussion|Neural|Cognitive|Motor|Balance|Coordination/i.test(definition.subjectEn) || mental;
  const cardioResp = /Cardiac|Heart|Cardiovascular|Pulmonary|Respiratory|Breathing|Heart Coherence|Coherent|Vagus|Autonomic|Parasympathetic|Nervous System/i.test(definition.subjectEn);
  const illness = /Illness|Post-Viral|Long COVID|Cold|Flu|Fatigue|Chronic Fatigue|Immune|Digestive|Gut|Liver|Metabolic|Hormonal|Cancer|Chemotherapy|Radiotherapy|Oncology/i.test(definition.subjectEn);
  const painComfort = /Pain|Comfort|Relax|Healing Through Relaxation/i.test(definition.subjectEn);
  const sleep = /Sleep|Night|Rest|Nap|Recharge/i.test(definition.subjectEn);
  const emotionalRecovery = /Emotional|Burnout|Stress|Heart|Self-Compassion|Hope|Adversity|Grief|Confidence|Patience|Progress|Milestones|Tomorrow|Thrive|Life After|Success|Journey|New Beginnings/i.test(definition.subjectEn) || emotional;
  const spiritualRecovery = /Meditation|Inner Healing|Healing Light|Inner Peace|Stillness|Sacred|Presence|Gratitude|Compassion/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = surgeryInjury ? {
    nl: "herstel na blessure of operatie, weefselcomfort en geleidelijke fysieke opbouw",
    en: "recovery after injury or surgery, tissue comfort, and gradual physical rebuilding",
    marker: ["Weefselherstel", "Tissue recovery"]
  } : neuro ? {
    nl: "neurologisch en cognitief herstel, rustige coordinatie en mentale helderheid",
    en: "neurological and cognitive recovery, calm coordination, and mental clarity",
    marker: ["Neuraal herstel", "Neural recovery"]
  } : cardioResp ? {
    nl: "hart-, ademhalings- en zenuwstelselherstel met coherente regulatie",
    en: "heart, breathing, and nervous-system recovery with coherent regulation",
    marker: ["Coherent herstel", "Coherent recovery"]
  } : illness ? {
    nl: "herstel na ziekte of behandeling, lage prikkelbelasting en rustige vitaliteit",
    en: "recovery after illness or treatment, low stimulation load, and calm vitality",
    marker: ["Ziekteherstel", "Illness recovery"]
  } : painComfort ? {
    nl: "comfort tijdens herstel, pijnveerkracht en ontspanningsgerichte regulatie",
    en: "comfort during recovery, pain resilience, and relaxation-oriented regulation",
    marker: ["Comfortvenster", "Comfort window"]
  } : sleep ? {
    nl: "slaapherstel, diepe rust en nachtelijke herstelondersteuning",
    en: "sleep recovery, deep rest, and overnight recovery support",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : spiritualRecovery ? {
    nl: "innerlijke heling, stilte, compassie en meditatieve aanwezigheid",
    en: "inner healing, stillness, compassion, and meditative presence",
    marker: ["Innerlijke heling", "Inner healing"]
  } : emotionalRecovery ? {
    nl: "emotioneel herstel, veerkracht, vertrouwen en geduldige vooruitgang",
    en: "emotional recovery, resilience, confidence, and patient progress",
    marker: ["Emotioneel herstel", "Emotional recovery"]
  } : physicalRehab ? {
    nl: "fysieke revalidatie, mobiliteit en veilige stap-voor-stap opbouw",
    en: "physical rehabilitation, mobility, and safe step-by-step rebuilding",
    marker: ["Revalidatie-opbouw", "Rehabilitation build"]
  } : {
    nl: "algemeen herstel, lichaamsbalans en rustige wellnessgerichte revalidatie",
    en: "general recovery, body balance, and calm wellness-oriented rehabilitation",
    marker: ["Herstelbalans", "Recovery balance"]
  };
  const base = definition.recoveryBase;
  const startFrequency = sleep || painComfort || emotionalRecovery || spiritualRecovery ? 6.8 : neuro ? 7.8 : physicalRehab || surgeryInjury ? 7.6 : cardioResp ? 7.2 : illness ? 7.0 : 7.4;
  const settleFrequency = sleep ? 5.2 : painComfort || emotionalRecovery || spiritualRecovery ? 5.8 : illness ? 6.0 : cardioResp ? 6.2 : neuro ? 6.8 : physicalRehab || surgeryInjury ? 6.6 : base;
  const coreFrequency = sleep ? 4.6 : painComfort ? 5.2 : emotionalRecovery || spiritualRecovery ? 5.4 : illness ? 5.8 : cardioResp ? base : surgeryInjury ? 6.0 : neuro ? 7.0 : physicalRehab ? 6.6 : 6.0;
  const peakFrequency = Math.min(physicalRehab ? 8.6 : surgeryInjury ? 8.0 : neuro ? 8.4 : cardioResp ? 7.6 : illness ? 7.2 : painComfort || emotionalRecovery || spiritualRecovery ? 6.6 : sleep ? 5.8 : 7.4, 9.0);
  const endFrequency = sleep ? 4.4 : painComfort || emotionalRecovery || spiritualRecovery ? 5.2 : illness ? 5.6 : cardioResp ? 5.8 : neuro ? 6.4 : physicalRehab || surgeryInjury ? 6.6 : 6.0;
  const audioMode = (physicalRehab || neuro) && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = sleep || painComfort || emotionalRecovery || spiritualRecovery || illness ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = sleep || painComfort || emotionalRecovery || spiritualRecovery || illness ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualRecovery ? "hall" : sleep || painComfort || emotionalRecovery || illness ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = surgeryInjury ? "#22c55e" : neuro ? "#38bdf8" : cardioResp ? "#14b8a6" : illness ? "#84cc16" : painComfort ? "#334155" : sleep ? "#1e293b" : emotionalRecovery ? "#60a5fa" : spiritualRecovery ? "#a78bfa" : physicalRehab ? "#facc15" : "#2dd4bf";
  const colorC = surgeryInjury ? "#dcfce7" : neuro ? "#dbeafe" : cardioResp ? "#ccfbf1" : illness ? "#ecfccb" : painComfort || sleep ? "#e2e8f0" : emotionalRecovery ? "#e0f2fe" : spiritualRecovery ? "#ede9fe" : physicalRehab ? "#fef3c7" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleep || painComfort || emotionalRecovery || spiritualRecovery || illness ? "Soft Soundscapes" : "Ambient",
    spiritualRecovery ? "Meditation Bowls" : sleep ? "Binaural Deep Meditation" : "Theta Soundscape",
    sleep || painComfort || illness ? "Drone" : physicalRehab || neuro ? "Cinematic Ambient" : "Binaural Deep Meditation",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 20 : painComfort || emotionalRecovery || spiritualRecovery || illness ? 26 : cardioResp ? 30 : surgeryInjury ? 34 : neuro ? 36 : physicalRehab ? 40 : 32;
  const whitePeak = sleep ? 2 : painComfort || emotionalRecovery || spiritualRecovery || illness ? 3 : cardioResp ? 4 : surgeryInjury || neuro ? 5 : physicalRehab ? 7 : 5;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "recovery-rehabilitation",
    goal: `Een verantwoorde Recovery & Rehabilitation-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Recovery & Rehabilitation session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 26 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 52 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? "subtle" : "off",
      auroraSpeed: spiritualRecovery ? 0.06 : neuro || physicalRehab ? 0.1 : 0.04,
      auroraDepth: spiritualRecovery ? 10 : neuro || physicalRehab ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en een rustige overgang naar herstelgerichte aandacht.", purposeEn: "Starts with low intensity and a calm transition into recovery-focused attention." },
        { time: Math.round(durationSeconds * 0.16), name: "Herstelruimte", nameEn: "Recovery space", purpose: "Bouwt een voorspelbaar ritme op voor comfort, adem en lichaamsbewustzijn.", purposeEn: "Builds a predictable rhythm for comfort, breath, and body awareness." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: physicalRehab || neuro ? "Stapsgewijze opbouw" : "Stabiele regulatie", nameEn: physicalRehab || neuro ? "Stepwise rebuilding" : "Stable regulation", purpose: "Houdt licht en audio vloeiend, begrensd en afgestemd op herstelcomfort.", purposeEn: "Keeps light and audio smooth, limited, and aligned with recovery comfort." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rustige energie, lichaamsvertrouwen en geduldige voortgang.", purposeEn: "Returns toward calm energy, body confidence, and patient progress." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: sleep || painComfort || illness ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.15), musicMood: musicMoods[3] || "Ambient", noiseType: sleep || painComfort || illness ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 4 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.48) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.72) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.34) },
          { time: durationSeconds, value: 3 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(1, Math.round(whitePeak * 0.5)) },
          { time: Math.round(durationSeconds * 0.84), value: sleep || spiritualRecovery ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: sleep || painComfort || emotionalRecovery || spiritualRecovery || illness ? 12 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: physicalRehab || neuro ? 23 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: physicalRehab || neuro ? 21 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 9 },
          { time: durationSeconds, value: 3 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: physicalRehab || neuro ? 50 : 40 },
          { time: Math.round(durationSeconds * 0.84), value: 28 },
          { time: durationSeconds, value: 14 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : sleep || painComfort || emotionalRecovery || spiritualRecovery || illness ? 8 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : sleep || painComfort || illness ? 10 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : sleep || painComfort || illness ? 7 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualRecovery ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualRecovery ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualRecovery ? 30 : 23 },
          { time: Math.round(durationSeconds * 0.84), value: 15 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualRecovery ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualRecovery ? 4.1 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualRecovery ? 3.7 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.5 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#064e3b", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: spiritualRecovery || emotionalRecovery || neuro || physicalRehab ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 24,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryFunctionalDisordersTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const nervous = /Nervous|Autonomic|Parasympathetic|Vagus|Central Sensitization|Neural|Regulation|Reset|Sensitization/i.test(definition.subjectEn);
  const fatigue = /Fatigue|ME\/CFS|Energy|Post-Exertional|Conservation|Long COVID|Post-Viral|Viral/i.test(definition.subjectEn);
  const pain = /Pain|Fibromyalgia|Comfort|Headache|Migraine|Neck|Head|Pelvic|Bladder|Body Comfort/i.test(definition.subjectEn);
  const gut = /Bowel|IBS|Gut|Digestive|Abdominal/i.test(definition.subjectEn);
  const movement = /Movement|Motor|Balance|Vertigo|Dizziness|Coordination|Without Fear|Confidence in Movement/i.test(definition.subjectEn);
  const cognition = /Brain Fog|Mental|Cognitive|Executive|Focus|Sensory Processing|Sensory Calm|Sensory Balance|Sensory Regulation|Body Awareness/i.test(definition.subjectEn) || mental;
  const sensitivity = /Environmental|Noise|Light Sensitivity|Sensory/i.test(definition.subjectEn);
  const breathing = /Breathing|Breath/i.test(definition.subjectEn);
  const bodyTrust = /Health Anxiety|Health Confidence|Inner Safety|Safe|Trust|Reconnect|Body Trust|Feel Safe|Acceptance|Living Well|Symptoms/i.test(definition.subjectEn) || emotional;
  const sleep = /Sleep|Restorative|Recovery Through Sleep/i.test(definition.subjectEn);
  const spiritualRecovery = /Inner Peace|Mindful|Meditation|Body Scan|Grounded|Body-Mind Harmony|Healing Presence|Compassionate|Living in Balance|Restore Inner Balance/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = sensitivity ? {
    nl: "prikkelgevoeligheid, sensorische rust en lage stimulusbelasting",
    en: "sensitivity support, sensory calm, and low stimulation load",
    marker: ["Sensorische rust", "Sensory calm"]
  } : fatigue ? {
    nl: "energiebehoud, vermoeidheidsherstel en rustige pacing",
    en: "energy conservation, fatigue recovery, and calm pacing",
    marker: ["Energiepacing", "Energy pacing"]
  } : pain ? {
    nl: "pijncomfort, lichaamsrust en veerkracht bij aanhoudende prikkels",
    en: "pain comfort, body calm, and resilience with persistent signals",
    marker: ["Comfortvenster", "Comfort window"]
  } : gut ? {
    nl: "darm-breinbalans, buikcomfort en parasympathische regulatie",
    en: "gut-brain balance, abdominal comfort, and parasympathetic regulation",
    marker: ["Darm-breinbalans", "Gut-brain balance"]
  } : movement ? {
    nl: "bewegingsvertrouwen, balans en veilige lichaamsorientatie",
    en: "movement confidence, balance, and safe body orientation",
    marker: ["Bewegingsvertrouwen", "Movement confidence"]
  } : breathing ? {
    nl: "ademvertrouwen, rustige ademregulatie en veiligheid in het lichaam",
    en: "breathing confidence, calm breath regulation, and safety in the body",
    marker: ["Ademvertrouwen", "Breathing confidence"]
  } : cognition ? {
    nl: "mentale helderheid, focusherstel en cognitieve prikkelregulatie",
    en: "mental clarity, focus recovery, and cognitive stimulation regulation",
    marker: ["Cognitieve rust", "Cognitive calm"]
  } : bodyTrust ? {
    nl: "lichaamsvertrouwen, innerlijke veiligheid en acceptatiegerichte herstelvaardigheden",
    en: "body trust, inner safety, and acceptance-oriented recovery skills",
    marker: ["Lichaamsvertrouwen", "Body trust"]
  } : sleep ? {
    nl: "slaapherstel, diepe rust en zachte nachtelijke regulatie",
    en: "sleep recovery, deep rest, and gentle overnight regulation",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : spiritualRecovery ? {
    nl: "mindful herstel, gegrond lichaamsbewustzijn en compassievolle aanwezigheid",
    en: "mindful recovery, grounded body awareness, and compassionate presence",
    marker: ["Mindful herstel", "Mindful recovery"]
  } : nervous ? {
    nl: "zenuwstelselregulatie, autonome balans en zachte lichaamsgerichte kalmte",
    en: "nervous-system regulation, autonomic balance, and gentle body-focused calm",
    marker: ["Regulatie", "Regulation"]
  } : {
    nl: "functioneel welzijn, lichaam-geest balans en rustige zelfregulatie",
    en: "functional wellness, mind-body balance, and calm self-regulation",
    marker: ["Functionele balans", "Functional balance"]
  };
  const base = definition.regulationBase;
  const startFrequency = sensitivity || fatigue || pain || bodyTrust || sleep || spiritualRecovery ? 6.6 : cognition ? 7.6 : movement ? 7.2 : breathing || nervous || gut ? 7.0 : 6.8;
  const settleFrequency = sleep ? 5.0 : sensitivity || fatigue || pain || bodyTrust || spiritualRecovery ? 5.4 : breathing || nervous || gut ? 5.8 : cognition || movement ? 6.4 : base;
  const coreFrequency = sleep ? 4.4 : sensitivity || fatigue || pain || bodyTrust || spiritualRecovery ? base : breathing || nervous || gut ? 5.6 : movement ? 6.2 : cognition ? 6.8 : 5.6;
  const peakFrequency = Math.min(cognition ? 7.8 : movement ? 7.4 : breathing || nervous || gut ? 6.8 : sensitivity || fatigue || pain || bodyTrust || spiritualRecovery ? 6.2 : sleep ? 5.6 : 6.6, 8.0);
  const endFrequency = sleep ? 4.2 : sensitivity || fatigue || pain || bodyTrust || spiritualRecovery ? 5.0 : breathing || nervous || gut ? 5.4 : cognition || movement ? 6.0 : 5.4;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = "brown";
  const reverbPreset = spiritualRecovery ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sensitivity ? "#334155" : fatigue ? "#14b8a6" : pain ? "#475569" : gut ? "#22c55e" : movement ? "#facc15" : breathing ? "#38bdf8" : cognition ? "#60a5fa" : bodyTrust ? "#c084fc" : spiritualRecovery ? "#a78bfa" : "#2dd4bf";
  const colorC = sensitivity || pain ? "#e2e8f0" : fatigue ? "#ccfbf1" : gut ? "#dcfce7" : movement ? "#fef3c7" : breathing || cognition ? "#dbeafe" : bodyTrust || spiritualRecovery ? "#ede9fe" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    spiritualRecovery ? "Meditation Bowls" : "Binaural Deep Meditation",
    sensitivity || fatigue || pain || sleep ? "Drone" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sensitivity || sleep ? 18 : fatigue || pain || bodyTrust || spiritualRecovery ? 22 : gut || breathing || nervous ? 26 : cognition || movement ? 30 : 24;
  const whitePeak = sensitivity || sleep || pain ? 1 : fatigue || bodyTrust || spiritualRecovery ? 2 : gut || breathing || nervous ? 3 : cognition || movement ? 4 : 3;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "functional-disorders",
    goal: `Een verantwoorde SOLK / ALK / Functional Disorders-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible SOLK / ALK / Functional Disorders session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 30 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 60 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualRecovery || bodyTrust ? "subtle" : "off",
      auroraSpeed: spiritualRecovery || bodyTrust ? 0.05 : 0.03,
      auroraDepth: spiritualRecovery || bodyTrust ? 8 : 0,
      markers: [
        { time: 0, name: "Veilige start", nameEn: "Safe start", purpose: "Start met minimale intensiteit en een voorspelbare, prikkelarme overgang.", purposeEn: "Starts with minimal intensity and a predictable low-stimulation transition." },
        { time: Math.round(durationSeconds * 0.16), name: "Regulatie", nameEn: "Regulation", purpose: "Bouwt rustig op richting adem, lichaamsbewustzijn en autonome balans.", purposeEn: "Builds calmly toward breath, body awareness, and autonomic balance." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: "Stabilisatie", nameEn: "Stabilization", purpose: "Houdt frequenties en licht mild, vloeiend en zonder scherpe activerende pieken.", purposeEn: "Keeps frequencies and light mild, smooth, and without sharp activating peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar lichaamsvertrouwen, rustige helderheid en kleine haalbare stappen.", purposeEn: "Returns toward body trust, calm clarity, and small achievable steps." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een rustige overgang uit de sessie.", purposeEn: "Ends with low intensity and a calm transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.62) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.25) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: sensitivity || fatigue || pain || sleep ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: sensitivity || fatigue || pain || sleep ? 12 : 16 },
          { time: Math.round(durationSeconds * 0.62), value: sensitivity || fatigue || pain || sleep ? 10 : 14 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: 8 },
          { time: Math.round(durationSeconds * 0.38), value: 10 },
          { time: Math.round(durationSeconds * 0.62), value: 8 },
          { time: Math.round(durationSeconds * 0.84), value: 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualRecovery ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualRecovery ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualRecovery ? 30 : 22 },
          { time: Math.round(durationSeconds * 0.84), value: 14 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.6 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualRecovery ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualRecovery ? 4.0 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualRecovery ? 3.6 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualRecovery || bodyTrust ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualRecovery || bodyTrust ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualRecovery || bodyTrust ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritualRecovery || bodyTrust ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualRecovery || bodyTrust ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualRecovery || bodyTrust ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 30,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryOncologySupportTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const treatment = /Treatment|Chemotherapy|Radiotherapy|Immunotherapy|Targeted Therapy|Hormonal Therapy|Surgery|Hospitalization|Tissue|Rehabilitation/i.test(definition.subjectEn);
  const fatigue = /Fatigue|Energy|Vitality|Recharge|Strength|Immune|Cellular/i.test(definition.subjectEn);
  const sleep = /Sleep|Rest|Night|Deep Rest/i.test(definition.subjectEn);
  const emotionalCare = /Healing Support|Gentle Healing|Confidence|Emotional|Hope|Strength|Calm|Peace|Tension|Comfort|Resilience|Courage|Today|Forward|Beginnings|Rediscover|Rebuild|Progress|Joy|Life Beyond|Living Well|One Day/i.test(definition.subjectEn) || emotional;
  const breathing = /Breathing|Coherent|Heart Coherence|Parasympathetic|Vagus|Relaxation|Body Relaxation|Progressive/i.test(definition.subjectEn);
  const spiritualCare = /Mindful|Meditation|Presence|Light|Guided|Sacred|Acceptance|Trust|Inner Wisdom|Loving Kindness|Gratitude|Present Moment|Balance|Spirit|Purpose|Harmony/i.test(definition.subjectEn) || spiritual;
  const caregiver = /Caregiver|Family|Shared|Together/i.test(definition.subjectEn);
  const lifestyle = /Daily|Lifestyle|Routine|Every Day|Future|Wellness|Whole Person|Whole Body|Recovery & Well-Being|Gentle Wellness/i.test(definition.subjectEn);
  const selectedProfileText = treatment ? {
    nl: "comfort en herstel rond behandeling, met lage prikkelbelasting en lichaamsrust",
    en: "comfort and recovery around treatment, with low stimulation load and body calm",
    marker: ["Behandelingsherstel", "Treatment recovery"]
  } : fatigue ? {
    nl: "vermoeidheidsherstel, zachte energieopbouw en vitaliteitsbalans",
    en: "fatigue recovery, gentle energy rebuilding, and vitality balance",
    marker: ["Energieherstel", "Energy recovery"]
  } : sleep ? {
    nl: "slaap, diepe rust en nachtelijke herstelondersteuning",
    en: "sleep, deep rest, and overnight recovery support",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : caregiver ? {
    nl: "mantelzorg- en gezinsondersteuning, gedeelde hoop en emotionele veerkracht",
    en: "caregiver and family support, shared hope, and emotional resilience",
    marker: ["Gedeelde steun", "Shared support"]
  } : spiritualCare ? {
    nl: "mindful herstel, acceptatie, innerlijke vrede en spirituele steun",
    en: "mindful recovery, acceptance, inner peace, and spiritual support",
    marker: ["Innerlijke steun", "Inner support"]
  } : breathing ? {
    nl: "ademregulatie, hartcoherentie en parasympathische ontspanning",
    en: "breath regulation, heart coherence, and parasympathetic relaxation",
    marker: ["Coherente rust", "Coherent calm"]
  } : emotionalCare ? {
    nl: "emotionele steun, hoop, moed en rustige dag-tot-dag veerkracht",
    en: "emotional support, hope, courage, and calm day-to-day resilience",
    marker: ["Hoop & veerkracht", "Hope & resilience"]
  } : lifestyle ? {
    nl: "dagelijks welzijn, herstelroutine en leven met vertrouwen",
    en: "everyday wellness, recovery routine, and living with confidence",
    marker: ["Dagelijks welzijn", "Everyday wellness"]
  } : {
    nl: "oncologische supportive care, comfort, herstel en welzijn van de hele mens",
    en: "oncology supportive care, comfort, recovery, and whole-person wellness",
    marker: ["Supportive care", "Supportive care"]
  };
  const base = definition.oncologyBase;
  const startFrequency = sleep || treatment || emotionalCare || spiritualCare || caregiver ? 6.6 : fatigue || lifestyle ? 7.2 : breathing ? 7.0 : 6.8;
  const settleFrequency = sleep ? 5.0 : treatment || emotionalCare || spiritualCare || caregiver ? 5.6 : breathing ? 5.8 : fatigue || lifestyle ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : treatment ? 5.2 : emotionalCare || spiritualCare || caregiver ? base : breathing ? 5.6 : fatigue || lifestyle ? 6.4 : 5.6;
  const peakFrequency = Math.min(fatigue || lifestyle ? 7.4 : breathing ? 6.8 : treatment ? 6.4 : emotionalCare || spiritualCare || caregiver ? 6.2 : sleep ? 5.6 : 6.6, 7.6);
  const endFrequency = sleep ? 4.2 : treatment || emotionalCare || spiritualCare || caregiver ? 5.0 : breathing ? 5.4 : fatigue || lifestyle ? 6.0 : 5.4;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = "brown";
  const reverbPreset = spiritualCare ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = treatment ? "#14b8a6" : fatigue ? "#facc15" : sleep ? "#1e293b" : caregiver ? "#60a5fa" : spiritualCare ? "#a78bfa" : breathing ? "#38bdf8" : emotionalCare ? "#f472b6" : "#22c55e";
  const colorC = treatment ? "#ccfbf1" : fatigue ? "#fef3c7" : sleep ? "#e2e8f0" : caregiver ? "#dbeafe" : spiritualCare ? "#ede9fe" : breathing ? "#dbeafe" : emotionalCare ? "#fce7f3" : "#dcfce7";
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    spiritualCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || treatment ? "Drone" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 18 : treatment || emotionalCare || spiritualCare || caregiver ? 22 : breathing ? 24 : fatigue || lifestyle ? 28 : 24;
  const whitePeak = sleep ? 1 : treatment || emotionalCare || spiritualCare || caregiver ? 2 : breathing ? 3 : fatigue || lifestyle ? 4 : 3;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "oncology-support",
    goal: `Een verantwoorde Oncology Support (Supportive Care)-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Oncology Support (Supportive Care) session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 30 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 60 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualCare || emotionalCare || caregiver ? "subtle" : "off",
      auroraSpeed: spiritualCare || emotionalCare || caregiver ? 0.05 : 0.03,
      auroraDepth: spiritualCare || emotionalCare || caregiver ? 8 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met minimale intensiteit en een rustige, veilige overgang.", purposeEn: "Starts with minimal intensity and a calm, safe transition." },
        { time: Math.round(durationSeconds * 0.16), name: "Comfort", nameEn: "Comfort", purpose: "Bouwt langzaam op richting ademruimte, lichaamscomfort en emotionele steun.", purposeEn: "Builds slowly toward breathing space, body comfort, and emotional support." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als supportive-care wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive-care wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: "Stabiele steun", nameEn: "Stable support", purpose: "Houdt licht, audio en noise mild, voorspelbaar en comfortabel.", purposeEn: "Keeps light, audio, and noise mild, predictable, and comfortable." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rust, vertrouwen en haalbare kleine stappen.", purposeEn: "Returns toward calm, confidence, and small achievable steps." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang.", purposeEn: "Ends with very low intensity and a gentle transition." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.62) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.25) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: sleep || treatment || emotionalCare || spiritualCare || caregiver ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: sleep || treatment || emotionalCare || spiritualCare || caregiver ? 12 : 16 },
          { time: Math.round(durationSeconds * 0.62), value: sleep || treatment || emotionalCare || spiritualCare || caregiver ? 10 : 14 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: 8 },
          { time: Math.round(durationSeconds * 0.38), value: 10 },
          { time: Math.round(durationSeconds * 0.62), value: 8 },
          { time: Math.round(durationSeconds * 0.84), value: 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare ? 24 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare ? 32 : 22 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare ? 30 : 22 },
          { time: Math.round(durationSeconds * 0.84), value: 14 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.6 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare ? 3.2 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare ? 4.0 : 2.5 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare ? 3.6 : 2.3 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#3b0764", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare || caregiver ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || emotionalCare || caregiver ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare || caregiver ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: spiritualCare || emotionalCare || caregiver ? 8 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare || caregiver ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || emotionalCare || caregiver ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#fdf2f8", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 30,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryVisionEyeHealthTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const spiritual = definition.labelEn.includes("Spiritual");
  const screen = /Digital|Computer|Screen|Office|Screen Time|Break|Work|Study|Reading/i.test(definition.subjectEn);
  const focus = /Focus|Attention|Clarity|Processing|Perception|Eye-Brain|Performance|Alertness|Driving|Professional|Creative|Reaction|Sports|Athletic|Coordination|Spatial|Orientation|Visual Field|Color|Depth/i.test(definition.subjectEn) || mental;
  const comfort = /Comfort|Relax|Rest|Fatigue|Tired|Strain|Dry|Moisture|Sensitive|Irritation|Red Eye|Heavy|Tension|Eyelids/i.test(definition.subjectEn);
  const aging = /Aging|Senior|60\+|Retinal|Macular|Glaucoma|Pressure|Cataract|Lens|Optic/i.test(definition.subjectEn);
  const sensitivity = /Migraine|Light Sensitivity|Photophobia|Visual Sensitivity/i.test(definition.subjectEn);
  const surgery = /Surgery|Post-Cataract|LASIK|Post-Surgical|Recovery Support|Vision Recovery/i.test(definition.subjectEn);
  const mindfulness = /Mindful|Awareness|Meditation|Presence|Gaze|Inner Vision|Seeing|Gratitude|Art of Seeing|Open Awareness|Mindfulness/i.test(definition.subjectEn) || spiritual;
  const daily = /Everyday|Daily|Protocol|Journey|Protect|Whole Eye|Optimal|Healthy Eyes Every Day/i.test(definition.subjectEn);
  const selectedProfileText = sensitivity ? {
    nl: "lichtgevoeligheid, visuele rust en lage prikkelbelasting",
    en: "light sensitivity, visual calm, and low stimulation load",
    marker: ["Lichtcomfort", "Light comfort"]
  } : surgery ? {
    nl: "oogcomfort na ingreep, rustig herstel en zachte visuele ondersteuning",
    en: "eye comfort after a procedure, calm recovery, and gentle visual support",
    marker: ["Oogherstel", "Eye recovery"]
  } : screen ? {
    nl: "schermvermoeidheid, oogontspanning en een gezonde visuele pauze",
    en: "screen fatigue, eye relaxation, and a healthy visual break",
    marker: ["Schermpauze", "Screen break"]
  } : aging ? {
    nl: "ouder wordend zicht, oogwelzijn en preventieve visuele zorg",
    en: "aging vision, eye wellness, and preventive visual care",
    marker: ["Oogwelzijn", "Eye wellness"]
  } : focus ? {
    nl: "visuele focus, oog-breincoordinatie en heldere waarneming",
    en: "visual focus, eye-brain coordination, and clear perception",
    marker: ["Visuele focus", "Visual focus"]
  } : mindfulness ? {
    nl: "zachte blik, mindful zien en visuele aanwezigheid",
    en: "soft gaze, mindful seeing, and visual presence",
    marker: ["Zachte blik", "Soft gaze"]
  } : comfort ? {
    nl: "oogcomfort, ontspanning en herstel van visuele belasting",
    en: "eye comfort, relaxation, and recovery from visual strain",
    marker: ["Oogcomfort", "Eye comfort"]
  } : daily ? {
    nl: "dagelijkse oogzorg, visuele balans en gezonde kijkgewoonten",
    en: "everyday eye care, visual balance, and healthy seeing habits",
    marker: ["Dagelijkse oogzorg", "Daily eye care"]
  } : {
    nl: "zichtwelzijn, oogbalans en rustige visuele zelfregulatie",
    en: "vision wellness, eye balance, and calm visual self-regulation",
    marker: ["Visuele balans", "Visual balance"]
  };
  const base = definition.visionBase;
  const startFrequency = sensitivity || comfort || surgery || mindfulness ? 6.6 : screen ? 7.0 : aging ? 7.2 : focus ? 8.2 : 7.4;
  const settleFrequency = sensitivity || comfort || surgery || mindfulness ? 5.6 : screen ? 6.0 : aging ? 6.2 : focus ? 7.0 : base;
  const coreFrequency = sensitivity ? 4.8 : comfort || surgery || mindfulness ? base : screen ? 5.8 : aging ? 6.0 : focus ? 7.4 : 6.0;
  const peakFrequency = Math.min(focus ? 8.8 : aging || daily ? 7.4 : screen ? 7.0 : comfort || surgery || mindfulness ? 6.4 : sensitivity ? 5.8 : 7.2, 9.0);
  const endFrequency = sensitivity || comfort || surgery || mindfulness ? 5.0 : screen || aging ? 5.8 : focus ? 6.8 : 5.8;
  const audioMode = focus && definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = sensitivity || comfort || surgery || mindfulness ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sensitivity ? "#334155" : screen ? "#14b8a6" : focus ? "#38bdf8" : aging ? "#22c55e" : surgery ? "#60a5fa" : mindfulness ? "#a78bfa" : comfort ? "#0f766e" : "#2dd4bf";
  const colorC = sensitivity ? "#e2e8f0" : screen ? "#ccfbf1" : focus ? "#dbeafe" : aging ? "#dcfce7" : surgery ? "#e0f2fe" : mindfulness ? "#ede9fe" : comfort ? "#d1fae5" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sensitivity || comfort || surgery || mindfulness ? "Soft Soundscapes" : "Ambient",
    mindfulness ? "Meditation Bowls" : "Binaural Deep Meditation",
    sensitivity || comfort || surgery ? "Drone" : focus ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sensitivity ? 16 : comfort || surgery || mindfulness ? 20 : screen ? 24 : aging || daily ? 26 : focus ? 30 : 24;
  const whitePeak = sensitivity ? 0 : comfort || surgery || mindfulness ? 1 : screen || aging || daily ? 2 : focus ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "vision-eye-health",
    goal: `Een verantwoorde Vision & Eye Health-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Vision & Eye Health session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 28 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 60 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindfulness ? "subtle" : "off",
      auroraSpeed: mindfulness ? 0.04 : 0.03,
      auroraDepth: mindfulness ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met minimale lichtintensiteit en rustige visuele orientatie.", purposeEn: "Starts with minimal light intensity and calm visual orientation." },
        { time: Math.round(durationSeconds * 0.16), name: "Oogontspanning", nameEn: "Eye release", purpose: "Bouwt zeer zacht op voor oogcomfort, schermpauze en visuele rust.", purposeEn: "Builds very gently for eye comfort, screen break, and visual rest." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: focus ? "Heldere waarneming" : "Visuele kalmte", nameEn: focus ? "Clear perception" : "Visual calm", purpose: "Houdt licht, kleur en frequenties mild, zonder felle witte pieken.", purposeEn: "Keeps light, color, and frequencies mild, without bright white peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar ontspannen ogen, zachte blik en heldere aandacht.", purposeEn: "Returns toward relaxed eyes, soft gaze, and clear attention." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een rustige overgang uit de sessie.", purposeEn: "Ends with very low intensity and a calm transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sensitivity || comfort || surgery ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sensitivity || comfort || surgery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.4) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.62) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.25) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: sensitivity || comfort || surgery || mindfulness ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: focus ? 16 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: focus ? 14 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindfulness ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindfulness ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: mindfulness ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindfulness ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 28,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryHearingTinnitusTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const tinnitus = /Tinnitus|Inner Calm for Tinnitus|Living Well|Beyond Tinnitus/i.test(definition.subjectEn);
  const sensitivity = /Hyperacusis|Sensitivity|Noise|Busy Environments|Sound Comfort|Sound Adaptation/i.test(definition.subjectEn);
  const processing = /Processing|Awareness|Focus|Attention|Clarity|Speech|Conversation|Memory|Concentration|Performance|Redirection|Environment|Habits|Safe Listening/i.test(definition.subjectEn) || mental;
  const relaxation = /Relaxation|Calm|Comfort|Stress|Breathing|Nervous System|Parasympathetic|Autonomic|Coherent|Body Relaxation|Progressive|Jaw|Neck|Shoulder|Head|Ear Relaxation|TMJ|Facial|Cranial/i.test(definition.subjectEn);
  const sleep = /Sleep|Night|Deep Rest|Recovery Through Sleep|Restful Sleep/i.test(definition.subjectEn);
  const rehab = /Recovery|Rehabilitation|Hearing Loss|Adaptation|Cochlear|Hearing Aid|Rehabilitation Wellness/i.test(definition.subjectEn);
  const vestibular = /Vestibular|Balance|Vertigo|Dizziness|Inner Ear Balance/i.test(definition.subjectEn);
  const aging = /Aging|Senior|Age-Related|for Life|Protect Your Hearing/i.test(definition.subjectEn);
  const mindfulness = /Mindful|Meditation|Silence|Inner Silence|Sacred|Soundscape|Nature|Ocean|Rain|Forest|Ambient|Serenity|Harmony|Acceptance|Peace/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = tinnitus ? {
    nl: "tinnitusacceptatie, aandacht her-richten en innerlijke kalmte",
    en: "tinnitus acceptance, attention redirection, and inner calm",
    marker: ["Tinnitus kalmte", "Tinnitus calm"]
  } : sensitivity ? {
    nl: "geluidsgevoeligheid, auditief comfort en geleidelijke gewenning",
    en: "sound sensitivity, auditory comfort, and gradual adaptation",
    marker: ["Geluidscomfort", "Sound comfort"]
  } : sleep ? {
    nl: "slaap, nachtelijke rust en gehoorvriendelijke ontspanning",
    en: "sleep, nighttime calm, and hearing-friendly relaxation",
    marker: ["Nachtrust", "Night calm"]
  } : vestibular ? {
    nl: "binnenoorbalans, vestibulaire rust en ruimtelijke stabiliteit",
    en: "inner-ear balance, vestibular calm, and spatial stability",
    marker: ["Binnenoorbalans", "Inner-ear balance"]
  } : rehab ? {
    nl: "auditieve revalidatie, adaptatie en rustig herstelvertrouwen",
    en: "auditory rehabilitation, adaptation, and calm recovery confidence",
    marker: ["Auditieve adaptatie", "Auditory adaptation"]
  } : processing ? {
    nl: "auditieve verwerking, luisterfocus en heldere geluidswaarneming",
    en: "auditory processing, listening focus, and clear sound perception",
    marker: ["Luisterfocus", "Listening focus"]
  } : mindfulness ? {
    nl: "mindful luisteren, stiltebeleving en klankbewustzijn",
    en: "mindful listening, silence awareness, and sound consciousness",
    marker: ["Mindful luisteren", "Mindful listening"]
  } : aging ? {
    nl: "gehoorwelzijn bij ouder worden, veilige luistergewoonten en preventieve zorg",
    en: "hearing wellness with aging, safe listening habits, and preventive care",
    marker: ["Levenslang luisteren", "Lifelong listening"]
  } : relaxation || emotional ? {
    nl: "auditieve ontspanning, stressregulatie en lichaamsrust",
    en: "auditory relaxation, stress regulation, and body calm",
    marker: ["Auditieve rust", "Auditory calm"]
  } : {
    nl: "gehoorwelzijn, auditieve balans en gezonde geluidswaarneming",
    en: "hearing wellness, auditory balance, and healthy sound perception",
    marker: ["Gehoorbalans", "Hearing balance"]
  };
  const base = definition.auditoryBase;
  const startFrequency = tinnitus || sensitivity || sleep || relaxation || mindfulness ? 6.4 : vestibular ? 7.0 : processing ? 8.0 : aging ? 7.2 : 7.0;
  const settleFrequency = tinnitus || sensitivity || sleep || relaxation || mindfulness ? 5.4 : vestibular ? 5.8 : processing ? 6.8 : aging ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : tinnitus || sensitivity ? 4.8 : relaxation || mindfulness ? base : vestibular ? 5.6 : processing ? 7.4 : aging ? 6.0 : 5.8;
  const peakFrequency = Math.min(processing ? 8.6 : vestibular ? 6.8 : aging ? 7.0 : rehab ? 6.6 : relaxation || mindfulness ? 6.2 : tinnitus || sensitivity || sleep ? 5.8 : 7.0, 8.8);
  const endFrequency = sleep ? 4.2 : tinnitus || sensitivity || relaxation || mindfulness ? 5.0 : processing ? 6.6 : vestibular || aging || rehab ? 5.8 : 5.6;
  const audioMode = tinnitus || sensitivity || sleep ? "binaural" : processing && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = tinnitus || sensitivity || sleep || relaxation || mindfulness ? "brown" : definition.style % 4 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = tinnitus ? "#64748b" : sensitivity ? "#334155" : sleep ? "#1e293b" : vestibular ? "#14b8a6" : processing ? "#38bdf8" : rehab ? "#60a5fa" : mindfulness ? "#a78bfa" : relaxation ? "#0f766e" : "#22c55e";
  const colorC = tinnitus || sensitivity || sleep ? "#e2e8f0" : vestibular ? "#ccfbf1" : processing ? "#dbeafe" : rehab ? "#e0f2fe" : mindfulness ? "#ede9fe" : relaxation ? "#d1fae5" : "#dcfce7";
  const musicMoods = [
    definition.mood,
    tinnitus || sensitivity || sleep || relaxation || mindfulness ? "Soft Soundscapes" : "Ambient",
    mindfulness ? "Meditation Bowls" : "Binaural Deep Meditation",
    tinnitus || sensitivity || sleep ? "Drone" : processing ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = tinnitus || sensitivity || sleep ? 16 : relaxation || mindfulness ? 20 : vestibular || rehab || aging ? 24 : processing ? 28 : 22;
  const whitePeak = tinnitus || sensitivity || sleep ? 0 : relaxation || mindfulness ? 1 : vestibular || rehab || aging ? 2 : processing ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "hearing-tinnitus-support",
    goal: `Een verantwoorde Hearing & Tinnitus Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Hearing & Tinnitus Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 30 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 64 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindfulness ? "subtle" : "off",
      auroraSpeed: mindfulness ? 0.04 : 0.03,
      auroraDepth: mindfulness ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit en een rustige overgang naar luisteren zonder druk.", purposeEn: "Starts with low intensity and a calm transition into listening without pressure." },
        { time: Math.round(durationSeconds * 0.16), name: "Auditieve ontspanning", nameEn: "Auditory release", purpose: "Bouwt langzaam op voor gehoorcomfort, zenuwstelselrust en voorspelbare stimulatie.", purposeEn: "Builds slowly for hearing comfort, nervous system calm, and predictable stimulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: processing ? "Heldere luisterfocus" : "Rustige geluidsruimte", nameEn: processing ? "Clear listening focus" : "Calm sound space", purpose: "Houdt audio, noise en licht mild en vermijdt abrupte of scherpe prikkels.", purposeEn: "Keeps audio, noise, and light mild while avoiding abrupt or sharp stimuli." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar auditieve rust, veilige aandacht en kalme lichaamsbeleving.", purposeEn: "Returns toward auditory calm, safe attention, and settled body awareness." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with very low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: tinnitus || sensitivity || sleep ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: tinnitus || sensitivity || sleep ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.4) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.6) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.24) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.25)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: tinnitus || sensitivity || sleep || relaxation || mindfulness ? 7 : 10 },
          { time: Math.round(durationSeconds * 0.38), value: processing ? 15 : 11 },
          { time: Math.round(durationSeconds * 0.62), value: processing ? 13 : 9 },
          { time: Math.round(durationSeconds * 0.84), value: 5 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 16 },
          { time: Math.round(durationSeconds * 0.16), value: 30 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 40 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: tinnitus || sensitivity ? 34 : 38 },
          { time: Math.round(durationSeconds * 0.84), value: 22 },
          { time: durationSeconds, value: 10 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 2 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 8 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness ? 28 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 12 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness ? 3.0 : 1.9 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness ? 3.8 : 2.3 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness ? 3.4 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.3 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindfulness ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindfulness ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: mindfulness ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindfulness ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 30,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryOralDentalTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1800, 1320, 1680, 2100, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const jaw = /Jaw|TMJ|Bruxism|Grinding|Facial|Face|Neck|Craniofacial|Tension/i.test(definition.subjectEn);
  const dentalAnxiety = /Dentist|Dental Visit|Dental Anxiety|Fear-Free|Dental Chair|Confident Dental|Stress-Free Dental|Smile Without Fear|Comfortable Dental Care/i.test(definition.subjectEn) || emotional;
  const surgery = /Surgery|Extraction|Implant|Wisdom Tooth|Procedure|Treatment|Recovery After Dental|Oral Surgery|Orthodontic|Braces|Aligner/i.test(definition.subjectEn);
  const tissue = /Gum|Gums|Tissue|Tooth|Teeth|Sensitivity|Sensitive|Saliva|Dry Mouth|Moisture|Breath|Oral Environment/i.test(definition.subjectEn);
  const movement = /Bite|Chewing|Swallowing|Movement|Tongue|Oral Function|Jaw Mobility/i.test(definition.subjectEn);
  const habit = /Habits|Routine|Daily Dental Care|Self-Care|Motivation|Every Day|Protocol|Future/i.test(definition.subjectEn) || mental;
  const sleep = /Sleep|Night|Deep Rest|Relax Before Sleep|Nighttime|Recovery Through Sleep/i.test(definition.subjectEn);
  const mindfulness = /Mindful|Mindfulness|Meditation|Healing Light|Inner Peace|Acceptance|Calm Presence|Peaceful Recovery|Compassion|Journey/i.test(definition.subjectEn) || spiritual;
  const aging = /Aging|Senior|for Life|Lifelong/i.test(definition.subjectEn);
  const selectedProfileText = dentalAnxiety ? {
    nl: "tandartsrust, behandelvertrouwen en emotionele veiligheid",
    en: "dental calm, treatment confidence, and emotional safety",
    marker: ["Tandartsrust", "Dental calm"]
  } : surgery ? {
    nl: "mondherstel na ingreep, zachte ontspanning en herstelvertrouwen",
    en: "oral recovery after a procedure, gentle relaxation, and recovery confidence",
    marker: ["Mondherstel", "Oral recovery"]
  } : jaw ? {
    nl: "kaakontspanning, gezichtsspanning loslaten en TMJ-comfort",
    en: "jaw relaxation, facial tension release, and TMJ comfort",
    marker: ["Kaakontspanning", "Jaw release"]
  } : sleep ? {
    nl: "nachtelijke kaakrust, slaapherstel en diepe lichamelijke ontspanning",
    en: "nighttime jaw calm, sleep recovery, and deep body relaxation",
    marker: ["Nachtelijke rust", "Night recovery"]
  } : tissue ? {
    nl: "mondweefselcomfort, tandvleesbalans en zachte orale verzorging",
    en: "oral tissue comfort, gum balance, and gentle oral care",
    marker: ["Mondweefselcomfort", "Oral tissue comfort"]
  } : movement ? {
    nl: "kauwcomfort, gezonde mondbeweging en kaakbalans",
    en: "chewing comfort, healthy oral movement, and jaw balance",
    marker: ["Mondbeweging", "Oral movement"]
  } : mindfulness ? {
    nl: "mindful mondzorg, acceptatie en rustige herstelvisualisatie",
    en: "mindful oral care, acceptance, and calm recovery imagery",
    marker: ["Mindful mondzorg", "Mindful oral care"]
  } : aging ? {
    nl: "levenslange mondgezondheid, seniorenwelzijn en preventieve zorg",
    en: "lifelong oral health, senior wellness, and preventive care",
    marker: ["Levenslange mondzorg", "Lifelong oral care"]
  } : habit ? {
    nl: "gezonde mondgewoonten, dagelijkse routine en zelfzorgmotivatie",
    en: "healthy oral habits, daily routine, and self-care motivation",
    marker: ["Gezonde routine", "Healthy routine"]
  } : {
    nl: "mondwelzijn, tandcomfort en gezonde orale balans",
    en: "oral wellness, dental comfort, and healthy oral balance",
    marker: ["Mondbalans", "Oral balance"]
  };
  const base = definition.oralBase;
  const startFrequency = dentalAnxiety || jaw || sleep || mindfulness ? 6.6 : surgery || tissue ? 7.0 : habit || movement ? 7.6 : aging ? 7.2 : 7.0;
  const settleFrequency = dentalAnxiety || jaw || sleep || mindfulness ? 5.6 : surgery || tissue ? 5.8 : habit || movement ? 6.4 : aging ? 6.2 : base;
  const coreFrequency = sleep ? 4.6 : dentalAnxiety || jaw || mindfulness ? base : surgery || tissue ? 5.4 : habit || movement ? 6.8 : aging ? 6.0 : 5.8;
  const peakFrequency = Math.min(habit || movement ? 7.8 : aging ? 7.0 : surgery || tissue ? 6.8 : dentalAnxiety || jaw || mindfulness ? 6.4 : sleep ? 5.8 : 7.0, 8.0);
  const endFrequency = sleep ? 4.4 : dentalAnxiety || jaw || mindfulness ? 5.0 : surgery || tissue || aging ? 5.6 : habit || movement ? 6.2 : 5.4;
  const audioMode = dentalAnxiety || sleep || mindfulness ? "binaural" : habit && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = jaw || movement ? "sine" : "sine";
  const noiseType = dentalAnxiety || jaw || sleep || mindfulness || surgery ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = dentalAnxiety ? "#60a5fa" : surgery ? "#14b8a6" : jaw ? "#0f766e" : tissue ? "#22c55e" : movement ? "#38bdf8" : sleep ? "#1e293b" : mindfulness ? "#a78bfa" : aging ? "#84cc16" : "#2dd4bf";
  const colorC = dentalAnxiety ? "#dbeafe" : surgery ? "#ccfbf1" : jaw ? "#d1fae5" : tissue ? "#dcfce7" : movement ? "#e0f2fe" : sleep ? "#e2e8f0" : mindfulness ? "#ede9fe" : aging ? "#ecfccb" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    dentalAnxiety || jaw || sleep || mindfulness || surgery ? "Soft Soundscapes" : "Ambient",
    mindfulness ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || surgery || jaw ? "Drone" : habit || movement ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = dentalAnxiety || sleep ? 18 : jaw || mindfulness || surgery ? 22 : tissue || aging ? 24 : habit || movement ? 28 : 24;
  const whitePeak = sleep ? 0 : dentalAnxiety || jaw || mindfulness || surgery ? 1 : tissue || aging ? 2 : habit || movement ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "oral-dental-health",
    goal: `Een verantwoorde Oral & Dental Health-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Oral & Dental Health session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 28 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 58 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindfulness || dentalAnxiety ? "subtle" : "off",
      auroraSpeed: mindfulness || dentalAnxiety ? 0.04 : 0.03,
      auroraDepth: mindfulness || dentalAnxiety ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en ontspanning rond mond en kaak.", purposeEn: "Starts with low intensity, calm breathing space, and relaxation around mouth and jaw." },
        { time: Math.round(durationSeconds * 0.16), name: "Mondontspanning", nameEn: "Oral release", purpose: "Bouwt geleidelijk op richting mondcomfort, kaakrust en voorspelbare stimulatie.", purposeEn: "Builds gradually toward oral comfort, jaw calm, and predictable stimulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: jaw || movement ? "Kaakbalans" : "Stabiel comfort", nameEn: jaw || movement ? "Jaw balance" : "Stable comfort", purpose: "Houdt frequenties, licht en audio mild en laat de overgang vloeiend verlopen.", purposeEn: "Keeps frequencies, light, and audio mild while transitions remain smooth." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar zachte mondzorg, rustige aandacht en haalbare zelfzorg.", purposeEn: "Returns toward gentle oral care, calm attention, and achievable self-care." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with very low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: dentalAnxiety || jaw || sleep || surgery ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: dentalAnxiety || jaw || sleep || surgery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.62) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.25) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: dentalAnxiety || jaw || sleep || mindfulness || surgery ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: habit || movement ? 15 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: habit || movement ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: dentalAnxiety || jaw || surgery ? 36 : 39 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness || dentalAnxiety ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness || dentalAnxiety ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness || dentalAnxiety ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness || dentalAnxiety ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness || dentalAnxiety ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness || dentalAnxiety ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || dentalAnxiety ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness || dentalAnxiety ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindfulness || dentalAnxiety ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: mindfulness || dentalAnxiety ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || dentalAnxiety ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness || dentalAnxiety ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 28,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryGeneticRareTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const condition = /Rare|Genetic|Chromosomal|Syndrome|Disease|Condition|Down|Turner|Klinefelter|Williams|Fragile|Angelman|Prader|Rett|Ehlers|Marfan|Osteogenesis|Dystrophy|Atrophy|Ataxia|Huntington|Neurofibromatosis|Sclerosis|Fabry|Gaucher|Pompe|Wilson|Phenylketonuria|Cystic|Sickle|Thalassemia|Hemophilia/i.test(definition.subjectEn);
  const symptom = /Symptom|Fatigue|Pain|Muscle|Joint|Mobility|Movement|Energy|Physical Recovery|Recovery|Comfort/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Restorative|Recovery Through Sleep/i.test(definition.subjectEn);
  const regulation = /Breathing|Heart Coherence|Coherent|Parasympathetic|Nervous System|Autonomic|Vagus|Mind-Body|Body-Mind/i.test(definition.subjectEn);
  const family = /Caregiver|Family|Parents|Siblings/i.test(definition.subjectEn);
  const resilience = /Resilience|Confidence|Hope|Strength|Courage|Joy|Limitations|Adaptation|Acceptance|Growth|Quality|Best Life|Victories|Mindset/i.test(definition.subjectEn) || emotional || mental;
  const spiritualCare = /Purpose|Meaningful|Mindful|Meditation|Healing|Presence|Light|Inner Peace|Gratitude|Present|Journey|Stillness|Acceptance|Balanced Living/i.test(definition.subjectEn) || spiritual;
  const independence = /Independence|Adaptive|Functional|Healthy Aging|Daily Independence/i.test(definition.subjectEn);
  const selectedProfileText = family ? {
    nl: "mantelzorg- en gezinsveerkracht, gedeelde rust en haalbare zelfzorg",
    en: "caregiver and family resilience, shared calm, and achievable self-care",
    marker: ["Gezinssteun", "Family support"]
  } : sleep ? {
    nl: "slaapherstel, diepe rust en zachte lichaamsregulatie",
    en: "sleep recovery, deep rest, and gentle body regulation",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : regulation ? {
    nl: "ademregulatie, hartcoherentie en parasympathische ontspanning",
    en: "breath regulation, heart coherence, and parasympathetic relaxation",
    marker: ["Regulatie", "Regulation"]
  } : symptom ? {
    nl: "symptoomcomfort, energiebalans en rustige fysieke herstelondersteuning",
    en: "symptom comfort, energy balance, and calm physical recovery support",
    marker: ["Symptoomcomfort", "Symptom comfort"]
  } : spiritualCare ? {
    nl: "acceptatie, betekenisgeving, innerlijke vrede en zachte mindfulness",
    en: "acceptance, meaning-making, inner peace, and gentle mindfulness",
    marker: ["Innerlijke steun", "Inner support"]
  } : resilience ? {
    nl: "emotionele veerkracht, hoop, vertrouwen en dagelijkse moed",
    en: "emotional resilience, hope, confidence, and everyday courage",
    marker: ["Veerkracht", "Resilience"]
  } : independence ? {
    nl: "functionele zelfstandigheid, adaptief leven en vertrouwen in dagelijkse stappen",
    en: "functional independence, adaptive living, and confidence in daily steps",
    marker: ["Zelfstandigheid", "Independence"]
  } : condition ? {
    nl: "leven met een zeldzame of genetische aandoening, met nadruk op welzijn zonder medische claim",
    en: "living with a rare or genetic condition, focused on wellness without medical claims",
    marker: ["Zeldzaam welzijn", "Rare wellness"]
  } : {
    nl: "welzijn van de hele mens, zachte aanpassing en stabiele dagelijkse ondersteuning",
    en: "whole-person wellness, gentle adaptation, and stable daily support",
    marker: ["Hele mens", "Whole person"]
  };
  const base = definition.rareBase;
  const startFrequency = sleep || spiritualCare || family || resilience ? 6.6 : regulation ? 7.0 : symptom ? 7.2 : independence ? 7.6 : condition ? 7.0 : 7.2;
  const settleFrequency = sleep || spiritualCare || family || resilience ? 5.6 : regulation ? 5.8 : symptom ? 6.0 : independence ? 6.4 : condition ? base : 6.0;
  const coreFrequency = sleep ? 4.4 : spiritualCare || family || resilience ? base : regulation ? 5.6 : symptom ? 5.8 : independence ? 6.8 : condition ? 5.6 : 5.8;
  const peakFrequency = Math.min(independence ? 7.6 : symptom || condition ? 6.8 : regulation ? 6.6 : spiritualCare || family || resilience ? 6.2 : sleep ? 5.6 : 7.0, 7.8);
  const endFrequency = sleep ? 4.2 : spiritualCare || family || resilience ? 5.0 : regulation ? 5.4 : symptom || condition ? 5.6 : independence ? 6.2 : 5.4;
  const audioMode = sleep || spiritualCare || family || resilience ? "binaural" : independence && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = sleep || spiritualCare || family || resilience || symptom ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualCare ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sleep ? "#1e293b" : regulation ? "#38bdf8" : symptom ? "#14b8a6" : family ? "#60a5fa" : spiritualCare ? "#a78bfa" : resilience ? "#f472b6" : independence ? "#22c55e" : condition ? "#64748b" : "#2dd4bf";
  const colorC = sleep ? "#e2e8f0" : regulation ? "#dbeafe" : symptom ? "#ccfbf1" : family ? "#dbeafe" : spiritualCare ? "#ede9fe" : resilience ? "#fce7f3" : independence ? "#dcfce7" : condition ? "#f1f5f9" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleep || spiritualCare || family || resilience || symptom ? "Soft Soundscapes" : "Ambient",
    spiritualCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || symptom ? "Drone" : independence ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 18 : spiritualCare || family || resilience ? 22 : regulation || symptom || condition ? 24 : independence ? 28 : 24;
  const whitePeak = sleep ? 0 : spiritualCare || family || resilience || symptom ? 1 : regulation || condition ? 2 : independence ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "genetic-rare-disorders",
    goal: `Een verantwoorde Genetic & Rare Disorders-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Genetic & Rare Disorders session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 30 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 64 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualCare || family || resilience ? "subtle" : "off",
      auroraSpeed: spiritualCare || family || resilience ? 0.04 : 0.03,
      auroraDepth: spiritualCare || family || resilience ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en een veilige overgang.", purposeEn: "Starts with low intensity, calm breathing space, and a safe transition." },
        { time: Math.round(durationSeconds * 0.16), name: "Stabilisatie", nameEn: "Stabilization", purpose: "Bouwt langzaam op richting lichaamsrust, voorspelbaarheid en zelfregulatie.", purposeEn: "Builds slowly toward body calm, predictability, and self-regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: "Zacht steunvenster", nameEn: "Gentle support window", purpose: "Houdt frequenties, licht en audio mild, voorspelbaar en comfortabel.", purposeEn: "Keeps frequencies, light, and audio mild, predictable, and comfortable." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar haalbare dagelijkse kracht, rust en vertrouwen.", purposeEn: "Returns toward achievable daily strength, calm, and confidence." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with very low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || symptom || family || resilience ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || symptom || family || resilience ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.6) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.25) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: sleep || spiritualCare || family || resilience || symptom ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: independence ? 15 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: independence ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || family || resilience ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || family || resilience ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || family || resilience ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || family || resilience ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || family || resilience ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || family || resilience ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || family || resilience ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || family || resilience ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualCare || family || resilience ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || family || resilience ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || family || resilience ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || family || resilience ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 30,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryChildPediatricTimelineSession(definition) {
  const durationProfiles = [900, 1080, 1200, 1320, 960, 1500, 840, 1260, 1020, 1140, 1380, 1560];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const sleep = /Sleep|Bedtime|Dream|Night|Before Bed|Deep Sleep|Sweet Dreams/i.test(definition.subjectEn);
  const learning = /Learning|Homework|Classroom|School|Study|Reading|Memory|Creative|Curiosity|Concentration|Mental Clarity|Brain|Potential|Talents|Curious/i.test(definition.subjectEn) || mental;
  const emotion = /Confidence|Calm|Relaxation|Peaceful|Feel|Safety|Courage|Brave|Happy|Joy|Self|Friend|Kindness|Change|Big Emotion|Heart|Dream Big|Amazing|Shine|Success|Growth/i.test(definition.subjectEn) || emotional;
  const medical = /Medical|Hospital|Doctor|Procedure|Needle|Dental|Illness|Healing Rest|Recovery After Illness/i.test(definition.subjectEn);
  const movement = /Move|Movement|Body|Strong|Coordination|Balance|Muscles|Active|Growing Strong|Growth/i.test(definition.subjectEn);
  const breathing = /Breathing|Balloon|Rainbow|Slow|Magic|Dragon|Belly|Heart Breathing|Coherent/i.test(definition.subjectEn);
  const mindfulness = /Mindful|Meditation|Forest|Garden|Ocean|Cloud|Starry|Moonlight|Safe Place|Inner Light|Gratitude|Adventure|Loving Kindness/i.test(definition.subjectEn) || spiritual;
  const family = /Sibling|Family|Parent|Bonding|Loved|Home/i.test(definition.subjectEn);
  const routine = /Habits|Routine|Choices|Eating|Morning|Evening|Daily Healthy/i.test(definition.subjectEn);
  const selectedProfileText = sleep ? {
    nl: "slaapvoorbereiding, avondrust en een veilig bedtijdgevoel",
    en: "sleep preparation, evening calm, and a safe bedtime feeling",
    marker: ["Bedtijdrust", "Bedtime calm"]
  } : medical ? {
    nl: "rust bij medische of tandheelkundige bezoeken, vertrouwen en lichaamsveiligheid",
    en: "calm around medical or dental visits, confidence, and body safety",
    marker: ["Bezoekvertrouwen", "Visit confidence"]
  } : breathing ? {
    nl: "speelse ademregulatie, buikrust en kalme aandacht",
    en: "playful breath regulation, belly calm, and calm attention",
    marker: ["Ademspel", "Breathing play"]
  } : family ? {
    nl: "gezinsrust, verbinding en een veilig thuisgevoel",
    en: "family calm, connection, and a safe home feeling",
    marker: ["Gezinsverbinding", "Family connection"]
  } : mindfulness ? {
    nl: "kindvriendelijke mindfulness, verbeelding en zachte innerlijke rust",
    en: "child-friendly mindfulness, imagination, and gentle inner calm",
    marker: ["Mindful moment", "Mindful moment"]
  } : learning ? {
    nl: "leerfocus, nieuwsgierigheid en rustige mentale helderheid",
    en: "learning focus, curiosity, and calm mental clarity",
    marker: ["Leerfocus", "Learning focus"]
  } : movement ? {
    nl: "lichaamsbewustzijn, beweging met plezier en ontspannen spieren",
    en: "body awareness, joyful movement, and relaxed muscles",
    marker: ["Lichaamsrust", "Body calm"]
  } : routine ? {
    nl: "gezonde routine, dagelijkse gewoonten en zachte motivatie",
    en: "healthy routine, daily habits, and gentle motivation",
    marker: ["Gezonde routine", "Healthy routine"]
  } : emotion ? {
    nl: "emotionele veiligheid, vertrouwen en omgaan met grote gevoelens",
    en: "emotional safety, confidence, and managing big feelings",
    marker: ["Veilig gevoel", "Safe feeling"]
  } : {
    nl: "gezonde ontwikkeling, balans en welzijn van het hele kind",
    en: "healthy development, balance, and whole-child wellness",
    marker: ["Gezond groeien", "Healthy growth"]
  };
  const base = definition.childBase;
  const startFrequency = sleep || mindfulness || emotion || family || medical ? 6.4 : breathing ? 6.8 : learning ? 7.6 : movement ? 7.2 : 7.0;
  const settleFrequency = sleep || mindfulness || emotion || family || medical ? 5.4 : breathing ? 5.8 : learning ? 6.6 : movement ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : mindfulness || emotion || family || medical ? base : breathing ? 5.6 : learning ? 7.0 : movement ? 6.4 : 5.8;
  const peakFrequency = Math.min(learning ? 7.8 : movement ? 7.2 : breathing ? 6.6 : sleep ? 5.6 : mindfulness || emotion || family || medical ? 6.2 : 7.0, 8.0);
  const endFrequency = sleep ? 4.2 : mindfulness || emotion || family || medical ? 5.0 : breathing ? 5.4 : learning ? 6.4 : movement ? 5.8 : 5.4;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = sleep || mindfulness || emotion || family || medical ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sleep ? "#1e293b" : learning ? "#38bdf8" : emotion ? "#f472b6" : medical ? "#60a5fa" : movement ? "#22c55e" : breathing ? "#14b8a6" : mindfulness ? "#a78bfa" : family ? "#facc15" : "#2dd4bf";
  const colorC = sleep ? "#e2e8f0" : learning ? "#dbeafe" : emotion ? "#fce7f3" : medical ? "#dbeafe" : movement ? "#dcfce7" : breathing ? "#ccfbf1" : mindfulness ? "#ede9fe" : family ? "#fef3c7" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleep || mindfulness || emotion || family || medical ? "Soft Soundscapes" : "Ambient",
    mindfulness ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep ? "Drone" : learning ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 14 : mindfulness || emotion || family || medical ? 18 : breathing ? 20 : movement ? 24 : learning ? 26 : 22;
  const whitePeak = sleep ? 0 : mindfulness || emotion || family || medical ? 1 : breathing || movement ? 2 : learning ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "child-development-pediatric-support",
    goal: `Een verantwoorde Child Development & Pediatric Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Child Development & Pediatric Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 34 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 70 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindfulness || family || emotion ? "subtle" : "off",
      auroraSpeed: mindfulness || family || emotion ? 0.035 : 0.03,
      auroraDepth: mindfulness || family || emotion ? 5 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met zeer lage intensiteit, rustige ademruimte en een veilig gevoel.", purposeEn: "Starts with very low intensity, calm breathing space, and a safe feeling." },
        { time: Math.round(durationSeconds * 0.16), name: "Rustige landing", nameEn: "Calm landing", purpose: "Bouwt langzaam op met zachte audio, weinig wit licht en voorspelbare overgangen.", purposeEn: "Builds slowly with soft audio, little white light, and predictable transitions." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als kindvriendelijke wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a child-friendly wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: learning ? "Heldere aandacht" : "Zachte balans", nameEn: learning ? "Clear attention" : "Gentle balance", purpose: "Houdt frequenties mild en vermijdt felle of abrupte prikkels.", purposeEn: "Keeps frequencies mild and avoids bright or abrupt stimulation." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rust, vertrouwen en een eenvoudige overgang naar de dag of avond.", purposeEn: "Returns toward calm, confidence, and a simple transition into day or evening." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en zachte stilte.", purposeEn: "Ends with minimal intensity and gentle quiet." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || mindfulness || emotion || family || medical ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || mindfulness || emotion || family || medical ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.4) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.58) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.22) },
          { time: durationSeconds, value: 1 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.25)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: sleep || mindfulness || emotion || family || medical ? 6 : 8 },
          { time: Math.round(durationSeconds * 0.38), value: learning ? 12 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: learning ? 10 : 8 },
          { time: Math.round(durationSeconds * 0.84), value: 4 },
          { time: durationSeconds, value: 1 }
        ],
        musicVolume: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.16), value: 26 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 36 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 32 },
          { time: Math.round(durationSeconds * 0.84), value: 20 },
          { time: durationSeconds, value: 8 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 2 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness ? 20 : 15 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness ? 28 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness ? 24 : 17 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness ? 2.8 : 1.8 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.2 },
          { time: durationSeconds, value: 0.6 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || emotion || family ? "subtle" : "off", auroraSpeed: 0.035, auroraDepth: mindfulness || emotion || family ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindfulness || emotion || family ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness || emotion || family ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || emotion || family ? "subtle" : "off", auroraSpeed: 0.035, auroraDepth: mindfulness || emotion || family ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 34,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryNeurodevelopmentalTimelineSession(definition) {
  const durationProfiles = [900, 1080, 1200, 1320, 960, 1500, 840, 1260, 1020, 1140, 1380, 1560];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const attention = /ADHD|Attention|Focus|Concentration|Executive|Organization|Task|Study|Homework|Organized|Impulse|Self-Regulation|Busy Mind/i.test(definition.subjectEn);
  const autism = /Autism|Routine|Predictable|Structure|Safe Place/i.test(definition.subjectEn);
  const sensory = /Sensory|Sensitivity|Overstimulation|Noise|Light|Sound|Touch|Environmental/i.test(definition.subjectEn);
  const learning = /Dyslexia|Reading|Learning|Language|Literacy|Dyscalculia|Math|Numeracy|Numbers|Dysgraphia|Writing|Listening Skills|Talents|Joy/i.test(definition.subjectEn);
  const motor = /Motor|Movement|Coordination|Body|Balance|Fine Motor|Planning|Tourette|Vocal/i.test(definition.subjectEn);
  const communication = /Speech|Communication|Express|Conversation|Social|Friends|Friendships|Interaction|Empathy/i.test(definition.subjectEn);
  const emotion = /Emotional|Feelings|Frustration|Change|Transition|Resilience|Confidence|Believe|Self|Strength|Success|Uniqueness|Different|Shine/i.test(definition.subjectEn) || emotional;
  const sleep = /Sleep|Evening|Night|Bedtime|Restful/i.test(definition.subjectEn);
  const breathing = /Breathing|Balloon|Coherent|Magic|Heart Coherence|Parasympathetic/i.test(definition.subjectEn);
  const mindfulness = /Mindfulness|Meditation|Inner Calm|Present|Guided|Peaceful|Quiet Forest|Ocean|Safe Space|Magical/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = sensory ? {
    nl: "sensorische regulatie, prikkelherstel en voorspelbare rust",
    en: "sensory regulation, overstimulation recovery, and predictable calm",
    marker: ["Sensorische rust", "Sensory calm"]
  } : sleep ? {
    nl: "slaapondersteuning, avondrust en kalmeren van een druk hoofd",
    en: "sleep support, evening calm, and settling a busy mind",
    marker: ["Slaaprust", "Sleep calm"]
  } : autism ? {
    nl: "voorspelbare structuur, veilige routines en emotionele balans",
    en: "predictable structure, safe routines, and emotional balance",
    marker: ["Voorspelbare rust", "Predictable calm"]
  } : attention ? {
    nl: "aandachtsregulatie, executieve functies en kalme focus",
    en: "attention regulation, executive function, and calm focus",
    marker: ["Kalme focus", "Calm focus"]
  } : learning ? {
    nl: "leerproces, lees- of taalvertrouwen en mentale helderheid",
    en: "learning process, reading or language confidence, and mental clarity",
    marker: ["Leerflow", "Learning flow"]
  } : motor ? {
    nl: "motorische coordinatie, lichaamsbewustzijn en bewegingsvertrouwen",
    en: "motor coordination, body awareness, and movement confidence",
    marker: ["Motorische balans", "Motor balance"]
  } : communication ? {
    nl: "communicatievertrouwen, sociale veiligheid en gespreksrust",
    en: "communication confidence, social safety, and conversation calm",
    marker: ["Sociale rust", "Social calm"]
  } : breathing ? {
    nl: "kindvriendelijke ademregulatie, hartcoherentie en parasympathische rust",
    en: "child-friendly breath regulation, heart coherence, and parasympathetic calm",
    marker: ["Ademrust", "Breath calm"]
  } : mindfulness ? {
    nl: "zachte mindfulness, veilige innerlijke ruimte en rustige overgangen",
    en: "gentle mindfulness, safe inner space, and calm transitions",
    marker: ["Mindful rust", "Mindful calm"]
  } : emotion ? {
    nl: "emotionele zelfregulatie, vertrouwen en omgaan met grote gevoelens",
    en: "emotional self-regulation, confidence, and managing big feelings",
    marker: ["Emotionele balans", "Emotional balance"]
  } : {
    nl: "neuro-ontwikkelingswelzijn, breinbalans en sterke kanten zonder medische claim",
    en: "neurodevelopmental wellness, brain balance, and strengths without medical claims",
    marker: ["Neurobalans", "Neuro balance"]
  };
  const base = definition.neurodevBase;
  const startFrequency = sensory || sleep || autism || mindfulness || emotion ? 6.4 : breathing ? 6.8 : attention || learning ? 7.6 : motor || communication ? 7.2 : 7.0;
  const settleFrequency = sensory || sleep || autism || mindfulness || emotion ? 5.4 : breathing ? 5.8 : attention || learning ? 6.6 : motor || communication ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : sensory || autism || mindfulness || emotion ? base : breathing ? 5.6 : attention || learning ? 7.0 : motor || communication ? 6.4 : 5.8;
  const peakFrequency = Math.min(attention || learning ? 7.8 : motor || communication ? 7.0 : breathing ? 6.6 : sensory || autism || mindfulness || emotion ? 6.2 : sleep ? 5.6 : 7.0, 8.0);
  const endFrequency = sleep ? 4.2 : sensory || autism || mindfulness || emotion ? 5.0 : breathing ? 5.4 : attention || learning ? 6.4 : motor || communication ? 5.8 : 5.4;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = sensory || sleep || autism || mindfulness || emotion ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sensory ? "#334155" : sleep ? "#1e293b" : autism ? "#60a5fa" : attention ? "#38bdf8" : learning ? "#22c55e" : motor ? "#14b8a6" : communication ? "#facc15" : emotion ? "#f472b6" : mindfulness ? "#a78bfa" : "#2dd4bf";
  const colorC = sensory || sleep ? "#e2e8f0" : autism ? "#dbeafe" : attention ? "#e0f2fe" : learning ? "#dcfce7" : motor ? "#ccfbf1" : communication ? "#fef3c7" : emotion ? "#fce7f3" : mindfulness ? "#ede9fe" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sensory || sleep || autism || mindfulness || emotion ? "Soft Soundscapes" : "Ambient",
    mindfulness ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || sensory ? "Drone" : attention || learning ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sensory || sleep ? 14 : autism || mindfulness || emotion ? 18 : breathing ? 20 : motor || communication ? 22 : attention || learning ? 26 : 22;
  const whitePeak = sensory || sleep ? 0 : autism || mindfulness || emotion ? 1 : breathing || motor || communication ? 2 : attention || learning ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "neurodevelopmental-disorders",
    goal: `Een verantwoorde Neurodevelopmental Disorders-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Neurodevelopmental Disorders session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 34 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 72 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindfulness || autism || emotion ? "subtle" : "off",
      auroraSpeed: mindfulness || autism || emotion ? 0.035 : 0.03,
      auroraDepth: mindfulness || autism || emotion ? 5 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met zeer lage intensiteit, voorspelbare audio en een veilig gevoel.", purposeEn: "Starts with very low intensity, predictable audio, and a safe feeling." },
        { time: Math.round(durationSeconds * 0.16), name: "Regulatie", nameEn: "Regulation", purpose: "Bouwt langzaam op richting rust, aandacht en sensorische voorspelbaarheid.", purposeEn: "Builds slowly toward calm, attention, and sensory predictability." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als neurodiversiteitsvriendelijke wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a neurodiversity-friendly wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: attention || learning ? "Stabiele aandacht" : "Zachte prikkelbalans", nameEn: attention || learning ? "Stable attention" : "Gentle sensory balance", purpose: "Houdt frequenties mild, licht laag en overgangen vloeiend.", purposeEn: "Keeps frequencies mild, light low, and transitions smooth." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar vertrouwen, kalme aandacht en haalbare kleine stappen.", purposeEn: "Returns toward confidence, calm attention, and small achievable steps." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en zachte stilte.", purposeEn: "Ends with minimal intensity and gentle quiet." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sensory || sleep || autism || mindfulness || emotion ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sensory || sleep || autism || mindfulness || emotion ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.4) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.58) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.22) },
          { time: durationSeconds, value: 1 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.25)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: sensory || sleep || autism || mindfulness || emotion ? 6 : 8 },
          { time: Math.round(durationSeconds * 0.38), value: attention || learning ? 12 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: attention || learning ? 10 : 8 },
          { time: Math.round(durationSeconds * 0.84), value: 4 },
          { time: durationSeconds, value: 1 }
        ],
        musicVolume: [
          { time: 0, value: 14 },
          { time: Math.round(durationSeconds * 0.16), value: 26 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 36 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 32 },
          { time: Math.round(durationSeconds * 0.84), value: 20 },
          { time: durationSeconds, value: 8 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 2 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness || autism ? 20 : 15 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness || autism ? 28 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness || autism ? 24 : 17 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness || autism ? 2.8 : 1.8 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness || autism ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness || autism ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.2 },
          { time: durationSeconds, value: 0.6 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || autism || emotion ? "subtle" : "off", auroraSpeed: 0.035, auroraDepth: mindfulness || autism || emotion ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindfulness || autism || emotion ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness || autism || emotion ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || autism || emotion ? "subtle" : "off", auroraSpeed: 0.035, auroraDepth: mindfulness || autism || emotion ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 34,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryWoundTissueTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const wound = /Wound|Healing Support|Healing & Recovery|Healthy Healing|Healing Journey/i.test(definition.subjectEn);
  const tissue = /Tissue|Skin|Cellular|Mitochondrial|Body Repair|Scar|Regeneration|Renewal/i.test(definition.subjectEn);
  const surgery = /Surgery|Surgical|Post-Surgery|Orthopedic|Plastic|Dental Surgery|Hospitalization/i.test(definition.subjectEn);
  const injury = /Injury|Fracture|Bone|Ligament|Tendon|Muscle|Joint|Mobility|Burn|Ulcer|Foot/i.test(definition.subjectEn);
  const immune = /Infection|Illness|Immune|Immunity/i.test(definition.subjectEn);
  const circulation = /Blood Flow|Circulation|Microcirculation|Oxygen|Breathing|Coherent|Heart Coherence|Parasympathetic|Nervous|Vagus|Autonomic/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Night|Restorative/i.test(definition.subjectEn);
  const rehab = /Rehabilitation|Functional|Movement|Back on Your Feet|Daily Life/i.test(definition.subjectEn);
  const emotionalCare = /Comfort|Stress|Calm|Peaceful|Confidence|Hope|Mindset|Patience|Progress|Strength|Beginnings|Future|Resilience/i.test(definition.subjectEn) || emotional || mental;
  const spiritualCare = /Meditation|Healing Light|Presence|Inner|Mindful|Sacred|Acceptance|Gratitude|Present|Journey/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = surgery ? {
    nl: "postoperatief comfort, zachte herstelrust en voorspelbare regulatie",
    en: "post-surgery comfort, gentle recovery calm, and predictable regulation",
    marker: ["Postoperatief herstel", "Post-surgery recovery"]
  } : injury ? {
    nl: "herstel na letsel, mobiliteitsopbouw en fysieke veerkracht",
    en: "recovery after injury, mobility rebuilding, and physical resilience",
    marker: ["Letselherstel", "Injury recovery"]
  } : tissue ? {
    nl: "weefselcomfort, huidrust en cellulaire vitaliteitsondersteuning",
    en: "tissue comfort, skin calm, and cellular vitality support",
    marker: ["Weefselherstel", "Tissue recovery"]
  } : circulation ? {
    nl: "ademregulatie, doorbloeding, oxygenatie en parasympathische rust",
    en: "breath regulation, circulation, oxygenation, and parasympathetic calm",
    marker: ["Circulatie & adem", "Circulation & breath"]
  } : sleep ? {
    nl: "slaap, diepe rust en nachtelijk herstel",
    en: "sleep, deep rest, and overnight recovery",
    marker: ["Herstelslaap", "Recovery sleep"]
  } : immune ? {
    nl: "herstel na ziekte of infectie, immuunwelzijn en zachte energieopbouw",
    en: "recovery after illness or infection, immune wellness, and gentle energy rebuilding",
    marker: ["Immuunherstel", "Immune recovery"]
  } : rehab ? {
    nl: "revalidatie, functioneel herstel en terugkeer naar dagelijkse beweging",
    en: "rehabilitation, functional recovery, and return to everyday movement",
    marker: ["Revalidatie", "Rehabilitation"]
  } : spiritualCare ? {
    nl: "mindful herstel, acceptatie, lichaamsbewustzijn en innerlijke rust",
    en: "mindful recovery, acceptance, body awareness, and inner calm",
    marker: ["Mindful herstel", "Mindful recovery"]
  } : emotionalCare ? {
    nl: "emotionele rust, geduld, vertrouwen en hoop tijdens herstel",
    en: "emotional calm, patience, confidence, and hope during recovery",
    marker: ["Herstelvertrouwen", "Recovery confidence"]
  } : wound ? {
    nl: "wondherstel, lichaamsrust en ondersteunend herstelwelzijn",
    en: "wound recovery, body calm, and supportive recovery wellness",
    marker: ["Wondherstel", "Wound recovery"]
  } : {
    nl: "heelpersoonsherstel, balans en zachte fysieke vernieuwing",
    en: "whole-person recovery, balance, and gentle physical renewal",
    marker: ["Gebalanceerd herstel", "Balanced recovery"]
  };
  const base = definition.woundBase;
  const startFrequency = sleep || spiritualCare || emotionalCare ? 6.6 : circulation ? 7.0 : surgery || wound || tissue || injury || immune || rehab ? 7.2 : 7.0;
  const settleFrequency = sleep || spiritualCare || emotionalCare ? 5.6 : circulation ? 5.8 : surgery || wound || tissue || injury || immune ? 6.0 : rehab ? 6.4 : base;
  const coreFrequency = sleep ? 4.4 : spiritualCare || emotionalCare ? base : circulation ? 5.6 : surgery || wound || tissue || immune ? 5.8 : injury ? 6.0 : rehab ? 6.6 : 5.8;
  const peakFrequency = Math.min(rehab ? 7.4 : injury ? 7.0 : circulation ? 6.8 : surgery || wound || tissue || immune ? 6.6 : spiritualCare || emotionalCare ? 6.2 : sleep ? 5.6 : 6.8, 7.6);
  const endFrequency = sleep ? 4.2 : spiritualCare || emotionalCare ? 5.0 : circulation ? 5.4 : surgery || wound || tissue || immune ? 5.6 : injury || rehab ? 5.8 : 5.4;
  const audioMode = sleep || spiritualCare || emotionalCare ? "binaural" : rehab && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = sleep || spiritualCare || emotionalCare || surgery || wound || tissue ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualCare ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sleep ? "#1e293b" : circulation ? "#38bdf8" : tissue ? "#22c55e" : surgery ? "#60a5fa" : injury ? "#14b8a6" : immune ? "#84cc16" : rehab ? "#facc15" : spiritualCare ? "#a78bfa" : emotionalCare ? "#f472b6" : "#2dd4bf";
  const colorC = sleep ? "#e2e8f0" : circulation ? "#dbeafe" : tissue ? "#dcfce7" : surgery ? "#dbeafe" : injury ? "#ccfbf1" : immune ? "#ecfccb" : rehab ? "#fef3c7" : spiritualCare ? "#ede9fe" : emotionalCare ? "#fce7f3" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleep || spiritualCare || emotionalCare || surgery || wound || tissue ? "Soft Soundscapes" : "Ambient",
    spiritualCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || surgery || wound || tissue ? "Drone" : rehab ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 18 : spiritualCare || emotionalCare || surgery || wound || tissue ? 22 : circulation || immune || injury ? 24 : rehab ? 28 : 24;
  const whitePeak = sleep ? 0 : spiritualCare || emotionalCare || surgery || wound || tissue ? 1 : circulation || immune || injury ? 2 : rehab ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "wound-healing-tissue-recovery",
    goal: `Een verantwoorde Wound Healing & Tissue Recovery-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Wound Healing & Tissue Recovery session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 32 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 66 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualCare || emotionalCare ? "subtle" : "off",
      auroraSpeed: spiritualCare || emotionalCare ? 0.04 : 0.03,
      auroraDepth: spiritualCare || emotionalCare ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en comfortabel lichaamsbewustzijn.", purposeEn: "Starts with low intensity, calm breathing space, and comfortable body awareness." },
        { time: Math.round(durationSeconds * 0.16), name: "Herstelrust", nameEn: "Recovery calm", purpose: "Bouwt langzaam op richting ontspanning, voorspelbaarheid en parasympathische rust.", purposeEn: "Builds slowly toward relaxation, predictability, and parasympathetic calm." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: rehab || injury ? "Functionele opbouw" : "Zacht herstelvenster", nameEn: rehab || injury ? "Functional rebuilding" : "Gentle recovery window", purpose: "Houdt frequenties en licht mild, met vloeiende overgangen en begrensde pieken.", purposeEn: "Keeps frequencies and light mild, with smooth transitions and limited peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar geduld, vertrouwen en herstelgerichte zelfzorg.", purposeEn: "Returns toward patience, confidence, and recovery-oriented self-care." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with very low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || spiritualCare || emotionalCare || surgery || wound || tissue ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || spiritualCare || emotionalCare || surgery || wound || tissue ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.6) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.24) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: sleep || spiritualCare || emotionalCare || surgery || wound || tissue ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: rehab || injury ? 15 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: rehab || injury ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || emotionalCare ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || emotionalCare ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || emotionalCare ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || emotionalCare ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || emotionalCare ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || emotionalCare ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || emotionalCare ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || emotionalCare ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || emotionalCare ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 32,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryPelvicHealthTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const floor = /Pelvic Floor|Floor|Pelvic Relaxation|Deep Pelvic|Gentle Pelvic|Pelvic Muscle|Tension|Lower Body|Lower Pelvic|Lower Abdominal/i.test(definition.subjectEn);
  const pain = /Pain|Comfort|Endometriosis|PCOS|Cystitis|Painful Bladder|Pudendal|Congestion|Vulvodynia|Dyspareunia/i.test(definition.subjectEn);
  const bladder = /Bladder|Urinary|Continence/i.test(definition.subjectEn);
  const postpartum = /Postpartum|Childbirth|Motherhood|Birth|Pregnancy|C-Section/i.test(definition.subjectEn);
  const male = /Prostate|Male|Men|Masculine/i.test(definition.subjectEn);
  const intimacy = /Intimate|Sexual|Intimacy|Body Confidence|Body Trust|Comfort in Intimacy|Relaxed Intimacy/i.test(definition.subjectEn);
  const core = /Core|Stability|Alignment|Movement|Move|Pelvic Movement|Healthy Pelvic Function|Habits|Lifestyle/i.test(definition.subjectEn) || mental;
  const breathing = /Breathing|Breath|Diaphragm|Coherent|Parasympathetic|Vagus|Calm the Pelvic Floor|Relax the Lower Body/i.test(definition.subjectEn);
  const emotionalSafety = /Emotional|Safety|Safe|Reconnect|Trust|Confidence|Self-Compassion|Move Without Fear|Comfort Every Day|Rediscover|Living with Comfort/i.test(definition.subjectEn) || emotional;
  const meditation = /Meditation|Sacred|Mindful|Awareness|Grounding|Root|Chakra|Presence|Feminine|Masculine|Grounded/i.test(definition.subjectEn) || spiritual;
  const surgery = /Surgery|Gynecological|Urological|Hysterectomy|Prostate Surgery/i.test(definition.subjectEn);
  const aging = /Aging|Senior|for Life|Vitality for Life/i.test(definition.subjectEn);
  const selectedProfileText = surgery ? {
    nl: "herstel na bekkenoperatie, lichaamsrust en zachte zelfregulatie",
    en: "recovery after pelvic surgery, body calm, and gentle self-regulation",
    marker: ["Operatieherstel", "Surgery recovery"]
  } : postpartum ? {
    nl: "postpartum of zwangerschapsgerelateerd bekkencomfort en rustige heropbouw",
    en: "postpartum or pregnancy-related pelvic comfort and calm rebuilding",
    marker: ["Postpartum balans", "Postpartum balance"]
  } : pain ? {
    nl: "bekkenpijncomfort, onderlichaamontspanning en veilige prikkelverlaging",
    en: "pelvic pain comfort, lower-body relaxation, and safe stimulation reduction",
    marker: ["Bekkencomfort", "Pelvic comfort"]
  } : bladder ? {
    nl: "blaas- en urinewegcomfort, continentievertrouwen en lichaamsrust",
    en: "bladder and urinary comfort, continence confidence, and body calm",
    marker: ["Blaascomfort", "Bladder comfort"]
  } : floor ? {
    nl: "bekkenbodembewustzijn, ontspanning en coordinatie zonder forceren",
    en: "pelvic floor awareness, relaxation, and coordination without forcing",
    marker: ["Bekkenbodemrust", "Pelvic floor calm"]
  } : intimacy ? {
    nl: "lichaamsvertrouwen, intimiteitscomfort en emotionele veiligheid",
    en: "body confidence, intimacy comfort, and emotional safety",
    marker: ["Lichaamsvertrouwen", "Body trust"]
  } : male ? {
    nl: "mannelijk bekken- en prostaatwelzijn, comfort en vitaliteitsbalans",
    en: "male pelvic and prostate wellness, comfort, and vitality balance",
    marker: ["Mannelijk bekkenwelzijn", "Male pelvic wellness"]
  } : breathing ? {
    nl: "bekkenademhaling, diafragma-bekkenbalans en parasympathische rust",
    en: "pelvic breathing, diaphragm-pelvis balance, and parasympathetic calm",
    marker: ["Bekkenademhaling", "Pelvic breathing"]
  } : meditation ? {
    nl: "gronding, mindful bekkenbewustzijn en innerlijke veiligheid",
    en: "grounding, mindful pelvic awareness, and inner safety",
    marker: ["Gegrond bekken", "Grounded pelvis"]
  } : emotionalSafety ? {
    nl: "emotionele veiligheid, opnieuw verbinden met het lichaam en zachte zelfcompassie",
    en: "emotional safety, reconnecting with the body, and gentle self-compassion",
    marker: ["Veilig lichaam", "Safe body"]
  } : core ? {
    nl: "core-bekkenbalans, stabiliteit en vertrouwen in beweging",
    en: "core-pelvis balance, stability, and confidence in movement",
    marker: ["Core-bekkenbalans", "Core-pelvis balance"]
  } : aging ? {
    nl: "bekkenwelzijn bij ouder worden, levenslange vitaliteit en dagelijks comfort",
    en: "pelvic wellness with aging, lifelong vitality, and everyday comfort",
    marker: ["Levenslang bekkenwelzijn", "Lifelong pelvic wellness"]
  } : {
    nl: "bekkenwelzijn, balans, comfort en gezonde lichaamsregulatie",
    en: "pelvic wellness, balance, comfort, and healthy body regulation",
    marker: ["Bekkenbalans", "Pelvic balance"]
  };
  const base = definition.pelvicBase;
  const startFrequency = pain || floor || emotionalSafety || meditation || surgery || postpartum ? 6.6 : breathing ? 7.0 : bladder || male || intimacy ? 7.2 : core ? 7.6 : 7.0;
  const settleFrequency = pain || floor || emotionalSafety || meditation || surgery || postpartum ? 5.6 : breathing ? 5.8 : bladder || male || intimacy ? 6.0 : core ? 6.4 : base;
  const coreFrequency = pain || floor || emotionalSafety || meditation || surgery || postpartum ? base : breathing ? 5.6 : bladder || male || intimacy ? 5.8 : core ? 6.6 : 5.8;
  const peakFrequency = Math.min(core ? 7.4 : breathing ? 6.8 : bladder || male || intimacy ? 6.6 : pain || floor || emotionalSafety || meditation || surgery || postpartum ? 6.2 : 6.8, 7.6);
  const endFrequency = pain || floor || emotionalSafety || meditation || surgery || postpartum ? 5.0 : breathing ? 5.4 : bladder || male || intimacy ? 5.6 : core ? 5.8 : 5.4;
  const audioMode = pain || floor || emotionalSafety || meditation || surgery || postpartum ? "binaural" : core && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = pain || floor || emotionalSafety || meditation || surgery || postpartum ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = meditation ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = pain ? "#0f766e" : floor ? "#14b8a6" : postpartum ? "#f472b6" : bladder ? "#38bdf8" : male ? "#60a5fa" : intimacy ? "#a78bfa" : breathing ? "#22c55e" : surgery ? "#64748b" : meditation ? "#a78bfa" : emotionalSafety ? "#f472b6" : core ? "#facc15" : "#2dd4bf";
  const colorC = pain || floor ? "#d1fae5" : postpartum ? "#fce7f3" : bladder ? "#dbeafe" : male ? "#dbeafe" : intimacy ? "#ede9fe" : breathing ? "#dcfce7" : surgery ? "#f1f5f9" : meditation ? "#ede9fe" : emotionalSafety ? "#fce7f3" : core ? "#fef3c7" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    pain || floor || emotionalSafety || meditation || surgery || postpartum ? "Soft Soundscapes" : "Ambient",
    meditation ? "Meditation Bowls" : "Binaural Deep Meditation",
    pain || floor || surgery || postpartum ? "Drone" : core ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = pain || floor || emotionalSafety || meditation || surgery || postpartum ? 20 : breathing || bladder || male || intimacy ? 22 : core ? 26 : 24;
  const whitePeak = pain || floor || emotionalSafety || meditation || surgery || postpartum ? 1 : breathing || bladder || male || intimacy ? 2 : core ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "pelvic-health",
    goal: `Een verantwoorde Pelvic Health-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Pelvic Health session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 32 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 68 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: meditation || emotionalSafety || intimacy ? "subtle" : "off",
      auroraSpeed: meditation || emotionalSafety || intimacy ? 0.04 : 0.03,
      auroraDepth: meditation || emotionalSafety || intimacy ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en een veilige lichaamsgerichte overgang.", purposeEn: "Starts with low intensity, calm breathing space, and a safe body-oriented transition." },
        { time: Math.round(durationSeconds * 0.16), name: "Bekkenrust", nameEn: "Pelvic calm", purpose: "Bouwt langzaam op richting onderlichaamontspanning, bekkenbewustzijn en voorspelbare regulatie.", purposeEn: "Builds slowly toward lower-body relaxation, pelvic awareness, and predictable regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: core ? "Stabiele beweging" : "Veilig comfort", nameEn: core ? "Stable movement" : "Safe comfort", purpose: "Houdt licht, audio en frequenties mild, met rustige overgangen zonder druk.", purposeEn: "Keeps light, audio, and frequencies mild, with calm transitions and no pressure." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar lichaamsvertrouwen, ontspanning en haalbare zelfzorg.", purposeEn: "Returns toward body confidence, relaxation, and achievable self-care." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en zachte aandacht voor het hele lichaam.", purposeEn: "Ends with very low intensity and gentle awareness of the whole body." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: pain || floor || emotionalSafety || meditation || surgery || postpartum ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: pain || floor || emotionalSafety || meditation || surgery || postpartum ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.58) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.24) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: pain || floor || emotionalSafety || meditation || surgery || postpartum ? 8 : 10 },
          { time: Math.round(durationSeconds * 0.38), value: core ? 14 : 11 },
          { time: Math.round(durationSeconds * 0.62), value: core ? 12 : 9 },
          { time: Math.round(durationSeconds * 0.84), value: 5 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 36 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: meditation || emotionalSafety || intimacy ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: meditation || emotionalSafety || intimacy ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: meditation || emotionalSafety || intimacy ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: meditation || emotionalSafety || intimacy ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: meditation || emotionalSafety || intimacy ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: meditation || emotionalSafety || intimacy ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: meditation || emotionalSafety || intimacy ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: meditation || emotionalSafety || intimacy ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: meditation || emotionalSafety || intimacy ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: meditation || emotionalSafety || intimacy ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: meditation || emotionalSafety || intimacy ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: meditation || emotionalSafety || intimacy ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 32,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryInfectiousDiseaseTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const respiratory = /Respiratory|Breathing|Lung|Pneumonia|Bronchitis|COVID|Flu|Influenza|Cold/i.test(definition.subjectEn);
  const immune = /Immune|Immunity|Defenses|Seasonal|Infection|Virus|Viral|Hepatitis|Sepsis|Lyme|Shingles|Mononucleosis/i.test(definition.subjectEn);
  const fatigue = /Fatigue|Energy|Vitality|Strength|Stronger|Back to Vitality|Rediscover Your Energy|Vital Living/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Night|Restorative|Healing Sleep/i.test(definition.subjectEn);
  const regulation = /Coherent|Heart Coherence|Parasympathetic|Vagus|Autonomic|Nervous|Physical Stress|Breathing for Recovery/i.test(definition.subjectEn);
  const digestive = /Digestive|Gut|Microbiome|Gastroenteritis|IBS|Digestion/i.test(definition.subjectEn);
  const cognitive = /Brain Fog|Mental|Cognitive|Focus|Memory|Performance|Clarity/i.test(definition.subjectEn) || mental;
  const hospital = /Hospital|Intensive Care|Isolation|Home|Rehabilitation|Functional|Movement|Senior|Aging/i.test(definition.subjectEn);
  const emotionalCare = /Stress|Emotional|Hope|Strength|Mindset|Confidence|Patience|Progress|Living Well|Yourself|Comeback|Beginning|Future|Thrive|Resilient/i.test(definition.subjectEn) || emotional;
  const spiritualCare = /Meditation|Healing Light|Presence|Mindful|Inner Peace|Acceptance|Trust|Present|Gratitude|Sacred|Journey/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = respiratory ? {
    nl: "ademhalingsherstel, longcomfort en zachte oxygenatieondersteuning",
    en: "respiratory recovery, lung comfort, and gentle oxygenation support",
    marker: ["Ademherstel", "Breathing recovery"]
  } : fatigue ? {
    nl: "vermoeidheidsherstel, energiebalans en rustige vitaliteitsopbouw",
    en: "fatigue recovery, energy balance, and calm vitality rebuilding",
    marker: ["Energieherstel", "Energy recovery"]
  } : sleep ? {
    nl: "slaap, diepe rust en nachtelijk herstel",
    en: "sleep, deep rest, and overnight recovery",
    marker: ["Herstelslaap", "Recovery sleep"]
  } : digestive ? {
    nl: "darm- en spijsverteringsherstel, microbioombalans en lichaamsrust",
    en: "gut and digestive recovery, microbiome balance, and body calm",
    marker: ["Darmherstel", "Gut recovery"]
  } : cognitive ? {
    nl: "brain fog herstel, mentale helderheid en zachte focusopbouw",
    en: "brain fog recovery, mental clarity, and gentle focus rebuilding",
    marker: ["Mentale helderheid", "Mental clarity"]
  } : hospital ? {
    nl: "herstel na ziekenhuis, isolatie of revalidatie, met rustige functionele opbouw",
    en: "recovery after hospital, isolation, or rehabilitation, with calm functional rebuilding",
    marker: ["Functioneel herstel", "Functional recovery"]
  } : regulation ? {
    nl: "ademregulatie, hartcoherentie en parasympathisch herstel",
    en: "breath regulation, heart coherence, and parasympathetic recovery",
    marker: ["Regulatie", "Regulation"]
  } : spiritualCare ? {
    nl: "mindful herstel, acceptatie, dankbaarheid en innerlijke rust",
    en: "mindful recovery, acceptance, gratitude, and inner peace",
    marker: ["Mindful herstel", "Mindful recovery"]
  } : emotionalCare ? {
    nl: "emotionele veerkracht, geduld, hoop en vertrouwen tijdens herstel",
    en: "emotional resilience, patience, hope, and confidence during recovery",
    marker: ["Herstelvertrouwen", "Recovery confidence"]
  } : immune ? {
    nl: "immuunwelzijn, natuurlijke herstelbalans en hele-lichaamsondersteuning",
    en: "immune wellness, natural recovery balance, and whole-body support",
    marker: ["Immuunbalans", "Immune balance"]
  } : {
    nl: "herstel na infectie, lichaamsrust en gebalanceerde dagelijkse opbouw",
    en: "recovery after infection, body calm, and balanced everyday rebuilding",
    marker: ["Infectieherstel", "Infection recovery"]
  };
  const base = definition.infectionBase;
  const startFrequency = sleep || spiritualCare || emotionalCare ? 6.6 : regulation || respiratory ? 7.0 : fatigue || cognitive || hospital ? 7.4 : immune || digestive ? 7.2 : 7.0;
  const settleFrequency = sleep || spiritualCare || emotionalCare ? 5.6 : regulation || respiratory ? 5.8 : fatigue || cognitive || hospital ? 6.2 : immune || digestive ? 6.0 : base;
  const coreFrequency = sleep ? 4.4 : spiritualCare || emotionalCare ? base : regulation || respiratory ? 5.6 : immune || digestive ? 5.8 : fatigue || hospital ? 6.2 : cognitive ? 6.8 : 5.8;
  const peakFrequency = Math.min(cognitive ? 7.6 : fatigue || hospital ? 7.2 : regulation || respiratory ? 6.8 : immune || digestive ? 6.6 : spiritualCare || emotionalCare ? 6.2 : sleep ? 5.6 : 6.8, 7.8);
  const endFrequency = sleep ? 4.2 : spiritualCare || emotionalCare ? 5.0 : regulation || respiratory ? 5.4 : immune || digestive ? 5.6 : fatigue || hospital || cognitive ? 5.8 : 5.4;
  const audioMode = sleep || spiritualCare || emotionalCare ? "binaural" : cognitive && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = sleep || spiritualCare || emotionalCare || respiratory || immune || fatigue ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualCare ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = sleep ? "#1e293b" : respiratory ? "#38bdf8" : immune ? "#22c55e" : fatigue ? "#facc15" : digestive ? "#14b8a6" : cognitive ? "#60a5fa" : hospital ? "#84cc16" : spiritualCare ? "#a78bfa" : emotionalCare ? "#f472b6" : "#2dd4bf";
  const colorC = sleep ? "#e2e8f0" : respiratory ? "#dbeafe" : immune ? "#dcfce7" : fatigue ? "#fef3c7" : digestive ? "#ccfbf1" : cognitive ? "#dbeafe" : hospital ? "#ecfccb" : spiritualCare ? "#ede9fe" : emotionalCare ? "#fce7f3" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    sleep || spiritualCare || emotionalCare || respiratory || immune || fatigue ? "Soft Soundscapes" : "Ambient",
    spiritualCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || respiratory || immune ? "Drone" : cognitive || hospital ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 18 : spiritualCare || emotionalCare || respiratory || immune || fatigue ? 22 : regulation || digestive || hospital ? 24 : cognitive ? 26 : 24;
  const whitePeak = sleep ? 0 : spiritualCare || emotionalCare || respiratory || immune || fatigue ? 1 : regulation || digestive || hospital ? 2 : cognitive ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "infectious-disease-recovery",
    goal: `Een verantwoorde Infectious Disease Recovery-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Infectious Disease Recovery session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 32 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 66 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualCare || emotionalCare ? "subtle" : "off",
      auroraSpeed: spiritualCare || emotionalCare ? 0.04 : 0.03,
      auroraDepth: spiritualCare || emotionalCare ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en comfortabel lichaamsbewustzijn.", purposeEn: "Starts with low intensity, calm breathing space, and comfortable body awareness." },
        { time: Math.round(durationSeconds * 0.16), name: "Herstelrust", nameEn: "Recovery calm", purpose: "Bouwt langzaam op richting ontspanning, voorspelbaarheid en parasympathische rust.", purposeEn: "Builds slowly toward relaxation, predictability, and parasympathetic calm." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: cognitive || hospital ? "Zachte opbouw" : "Herstelvenster", nameEn: cognitive || hospital ? "Gentle rebuilding" : "Recovery window", purpose: "Houdt licht, audio en frequenties mild, met vloeiende overgangen en begrensde pieken.", purposeEn: "Keeps light, audio, and frequencies mild, with smooth transitions and limited peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar geduld, vertrouwen en herstelgerichte zelfzorg.", purposeEn: "Returns toward patience, confidence, and recovery-oriented self-care." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with very low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || spiritualCare || emotionalCare || respiratory || immune || fatigue ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: sleep || spiritualCare || emotionalCare || respiratory || immune || fatigue ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.6) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.24) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: sleep || spiritualCare || emotionalCare || respiratory || immune || fatigue ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: cognitive || hospital ? 15 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: cognitive || hospital ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || emotionalCare ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || emotionalCare ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || emotionalCare ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || emotionalCare ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || emotionalCare ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || emotionalCare ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || emotionalCare ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || emotionalCare ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalCare ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || emotionalCare ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 32,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryPrePostSurgeryTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const pre = /Pre-|Before|Preparing|Ready|Readiness|Preparation|Fear-Free|Release Surgical Anxiety|Trust the Process|Safe & Calm|Procedure Relaxation/i.test(definition.subjectEn);
  const hospital = /Hospital|Hospitalization|Medical Procedure|Medical Calm|Anesthesia|Awakening/i.test(definition.subjectEn);
  const surgeryType = /Orthopedic|Joint|Hip|Knee|Shoulder|Spinal|Back|Hand|Foot|Sports|Cardiac|Thoracic|Abdominal|Colorectal|Urological|Gynecological|Pelvic|Breast|Plastic|Eye|Dental|Oral|ENT|Neurosurgery/i.test(definition.subjectEn);
  const tissue = /Tissue|Scar|Wound|Skin|Cellular/i.test(definition.subjectEn);
  const rehab = /Rehabilitation|Functional|Movement|Back on Your Feet|Daily Life|Healthy Life After Surgery/i.test(definition.subjectEn);
  const painComfort = /Pain|Comfort|Relaxed Body|Deep Relaxation|Progressive|Relax Through Recovery|Recovery Without Stress|Calm During Recovery/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Night|Restorative/i.test(definition.subjectEn);
  const regulation = /Breathing|Coherent|Heart Coherence|Parasympathetic|Autonomic|Nervous|Vagus/i.test(definition.subjectEn);
  const mindset = /Mindset|Mental|Resilience|Confidence|Patience|Progress|Victories|Hope|Strength|Purpose|Moving Forward/i.test(definition.subjectEn) || mental || emotional;
  const spiritualCare = /Meditation|Healing Light|Presence|Mindful|Acceptance|Trust Your Recovery|Gratitude|Inner Peace|Sacred|Journey/i.test(definition.subjectEn) || spiritual;
  const selectedProfileText = pre ? {
    nl: "pre-operatieve rust, vertrouwen en emotionele voorbereiding",
    en: "pre-surgery calm, confidence, and emotional preparation",
    marker: ["Voorbereiding", "Preparation"]
  } : hospital ? {
    nl: "ziekenhuiscomfort, procedurele rust en zacht ontwaken na anesthesie",
    en: "hospital comfort, procedural calm, and gentle awakening after anesthesia",
    marker: ["Ziekenhuisrust", "Hospital calm"]
  } : surgeryType ? {
    nl: "postoperatief herstel na specifieke ingreep, met lichaamsrust en revalidatievertrouwen",
    en: "post-surgery recovery after a specific procedure, with body calm and rehabilitation confidence",
    marker: ["Operatieherstel", "Surgical recovery"]
  } : tissue ? {
    nl: "weefsel-, litteken- en wondcomfort als zachte herstelondersteuning",
    en: "tissue, scar, and wound comfort as gentle recovery support",
    marker: ["Weefselherstel", "Tissue recovery"]
  } : rehab ? {
    nl: "functioneel herstel, bewegingsterugkeer en rustige fysieke opbouw",
    en: "functional recovery, return to movement, and calm physical rebuilding",
    marker: ["Revalidatie", "Rehabilitation"]
  } : painComfort ? {
    nl: "comfort tijdens herstel, ontspanning en stressverlaging",
    en: "comfort during recovery, relaxation, and stress reduction",
    marker: ["Herstelcomfort", "Recovery comfort"]
  } : sleep ? {
    nl: "slaap, diepe rust en nachtelijke herstelondersteuning",
    en: "sleep, deep rest, and overnight recovery support",
    marker: ["Herstelslaap", "Recovery sleep"]
  } : regulation ? {
    nl: "ademregulatie, hartcoherentie en parasympathische ontspanning",
    en: "breath regulation, heart coherence, and parasympathetic relaxation",
    marker: ["Regulatie", "Regulation"]
  } : spiritualCare ? {
    nl: "mindful herstel, acceptatie, innerlijke vrede en betekenisvolle integratie",
    en: "mindful recovery, acceptance, inner peace, and meaningful integration",
    marker: ["Mindful herstel", "Mindful recovery"]
  } : mindset ? {
    nl: "herstelmindset, geduld, vertrouwen en emotionele veerkracht",
    en: "recovery mindset, patience, confidence, and emotional resilience",
    marker: ["Herstelvertrouwen", "Recovery confidence"]
  } : {
    nl: "postoperatief herstel, lichaamsbalans en welzijn van de hele mens",
    en: "post-surgery recovery, body balance, and whole-person wellness",
    marker: ["Gebalanceerd herstel", "Balanced recovery"]
  };
  const base = definition.surgeryBase;
  const startFrequency = pre || hospital || painComfort || sleep || spiritualCare || mindset ? 6.6 : regulation ? 7.0 : tissue || surgeryType ? 7.2 : rehab ? 7.4 : 7.0;
  const settleFrequency = pre || hospital || painComfort || sleep || spiritualCare || mindset ? 5.6 : regulation ? 5.8 : tissue || surgeryType ? 6.0 : rehab ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : pre || hospital || painComfort || spiritualCare || mindset ? base : regulation ? 5.6 : tissue || surgeryType ? 5.8 : rehab ? 6.4 : 5.8;
  const peakFrequency = Math.min(rehab ? 7.2 : tissue || surgeryType ? 6.8 : regulation ? 6.6 : pre || hospital || painComfort || spiritualCare || mindset ? 6.2 : sleep ? 5.6 : 6.8, 7.6);
  const endFrequency = sleep ? 4.2 : pre || hospital || painComfort || spiritualCare || mindset ? 5.0 : regulation ? 5.4 : tissue || surgeryType ? 5.6 : rehab ? 5.8 : 5.4;
  const audioMode = pre || hospital || painComfort || sleep || spiritualCare || mindset ? "binaural" : rehab && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = pre || hospital || painComfort || sleep || spiritualCare || mindset || tissue || surgeryType ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualCare ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = pre ? "#60a5fa" : hospital ? "#64748b" : sleep ? "#1e293b" : regulation ? "#38bdf8" : tissue ? "#22c55e" : surgeryType ? "#14b8a6" : rehab ? "#facc15" : spiritualCare ? "#a78bfa" : mindset || painComfort ? "#f472b6" : "#2dd4bf";
  const colorC = pre ? "#dbeafe" : hospital ? "#f1f5f9" : sleep ? "#e2e8f0" : regulation ? "#dbeafe" : tissue ? "#dcfce7" : surgeryType ? "#ccfbf1" : rehab ? "#fef3c7" : spiritualCare ? "#ede9fe" : mindset || painComfort ? "#fce7f3" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    pre || hospital || painComfort || sleep || spiritualCare || mindset || tissue || surgeryType ? "Soft Soundscapes" : "Ambient",
    spiritualCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || hospital || tissue || surgeryType ? "Drone" : rehab ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 18 : pre || hospital || painComfort || spiritualCare || mindset || tissue || surgeryType ? 22 : regulation ? 24 : rehab ? 28 : 24;
  const whitePeak = sleep ? 0 : pre || hospital || painComfort || spiritualCare || mindset || tissue || surgeryType ? 1 : regulation ? 2 : rehab ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "pre-post-surgery-support",
    goal: `Een verantwoorde Pre- & Post-Surgery Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Pre- & Post-Surgery Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 32 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 66 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualCare || mindset || pre ? "subtle" : "off",
      auroraSpeed: spiritualCare || mindset || pre ? 0.04 : 0.03,
      auroraDepth: spiritualCare || mindset || pre ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en een veilig herstelgevoel.", purposeEn: "Starts with low intensity, calm breathing space, and a safe recovery feeling." },
        { time: Math.round(durationSeconds * 0.16), name: pre ? "Voorbereidingsrust" : "Herstelrust", nameEn: pre ? "Preparation calm" : "Recovery calm", purpose: "Bouwt langzaam op richting ontspanning, voorspelbaarheid en lichaamsvertrouwen.", purposeEn: "Builds slowly toward relaxation, predictability, and body confidence." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: rehab ? "Functionele opbouw" : "Zacht steunvenster", nameEn: rehab ? "Functional rebuilding" : "Gentle support window", purpose: "Houdt licht, audio en frequenties mild, met vloeiende overgangen en begrensde pieken.", purposeEn: "Keeps light, audio, and frequencies mild, with smooth transitions and limited peaks." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar geduld, vertrouwen en herstelgerichte zelfzorg.", purposeEn: "Returns toward patience, confidence, and recovery-oriented self-care." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met zeer lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with very low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: pre || hospital || painComfort || sleep || spiritualCare || mindset || tissue || surgeryType ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: pre || hospital || painComfort || sleep || spiritualCare || mindset || tissue || surgeryType ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.6) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.24) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: pre || hospital || painComfort || sleep || spiritualCare || mindset || tissue || surgeryType ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: rehab ? 15 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: rehab ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || mindset || pre ? 22 : 17 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || mindset || pre ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || mindset || pre ? 28 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || mindset || pre ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || mindset || pre ? 3.8 : 2.4 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || mindset || pre ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || mindset || pre ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || mindset || pre ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualCare || mindset || pre ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || mindset || pre ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || mindset || pre ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || mindset || pre ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 32,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryDetoxLifestyleTimelineSession(definition) {
  const durationProfiles = [1080, 1200, 1500, 1680, 1320, 960, 1800, 900, 1440, 1560, 1020, 1260];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const digital = /Digital|Screen|Social Media|Phone|News|Information|Technology/i.test(definition.subjectEn);
  const reset = /Reset|Detox|Fresh Start|Start Again|Recharge|Restore|Renewal|New Beginnings|Fresh|Stop|Moderation/i.test(definition.subjectEn);
  const rhythm = /Sleep|Morning|Evening|Daily Rhythm|Circadian|Body Clock|Recovery/i.test(definition.subjectEn);
  const nutrition = /Nutrition|Eating|Food|Appetite|Weight|Sugar|Cravings|Snacking|Portions/i.test(definition.subjectEn);
  const addictionSupport = /Smoking|Drug|Gambling|Addiction|Alcohol|Moderation|Substance|Urge|Craving/i.test(definition.subjectEn);
  const movement = /Move|Movement|Activity|Active|Exercise|Body in Motion|Stretch|Stronger/i.test(definition.subjectEn);
  const emotionalRelease = /Stress|Emotional|Baggage|Tension|Negativity|Freedom|Self-Care|Work-Life|Live Well|Reset & Thrive/i.test(definition.subjectEn) || emotional;
  const regulation = /Breathing|Coherent|Heart Coherence|Parasympathetic|Nervous|Autonomic|Vagus/i.test(definition.subjectEn);
  const habits = /Habits|Routine|Choices|Discipline|Consistency|Decisions|Transformation|Protocol|Small Steps|Healthy Change|Stop|Moderation|Addiction/i.test(definition.subjectEn) || addictionSupport || mental;
  const simplicity = /Simplify|Minimalist|Declutter|Organized|Balance|Life Balance/i.test(definition.subjectEn);
  const mindful = /Mindful|Meditation|Gratitude|Compassion|Purpose|Authentic|Conscious|Intentional|Inner|Harmony|Spiritual|Balanced Living|Wellness for Life/i.test(definition.subjectEn) || spiritual;
  const longevity = /Aging|Longevity|Vital Years|Future|Tomorrow/i.test(definition.subjectEn);
  const selectedProfileText = addictionSupport ? {
    nl: "cravingregulatie, impulsruimte en het ondersteunen van gezonde gedragskeuzes",
    en: "craving regulation, impulse space, and supporting healthy behavioral choices",
    marker: ["Keuzeruimte", "Choice space"]
  } : digital ? {
    nl: "digitale balans, mentale ruis verminderen en schermherstel",
    en: "digital balance, reducing mental noise, and screen recovery",
    marker: ["Digitale balans", "Digital balance"]
  } : nutrition ? {
    nl: "voedingsbewustzijn, cravings reguleren en gezonde keuzes ondersteunen",
    en: "nutrition awareness, craving regulation, and supporting healthy choices",
    marker: ["Voedingsbalans", "Nutrition balance"]
  } : movement ? {
    nl: "dagelijkse beweging, lichaamsvitaliteit en zachte motivatie",
    en: "daily movement, body vitality, and gentle motivation",
    marker: ["Beweegvitaliteit", "Movement vitality"]
  } : rhythm ? {
    nl: "dagritme, slaapgewoonten en circadiane balans",
    en: "daily rhythm, sleep habits, and circadian balance",
    marker: ["Dagritme", "Daily rhythm"]
  } : regulation ? {
    nl: "ademregulatie, hartcoherentie en parasympathische reset",
    en: "breath regulation, heart coherence, and parasympathetic reset",
    marker: ["Regulatie", "Regulation"]
  } : emotionalRelease ? {
    nl: "emotionele ontlading, stressdetox en zachte innerlijke ruimte",
    en: "emotional release, stress detox, and gentle inner space",
    marker: ["Emotionele ruimte", "Emotional space"]
  } : mindful ? {
    nl: "bewust leven, innerlijke balans en betekenisvolle leefstijl",
    en: "conscious living, inner balance, and meaningful lifestyle",
    marker: ["Bewust leven", "Conscious living"]
  } : simplicity ? {
    nl: "vereenvoudigen, mentale opruiming en georganiseerd leven",
    en: "simplifying, mental decluttering, and organized living",
    marker: ["Opruimen", "Decluttering"]
  } : habits ? {
    nl: "gezonde gewoonten, consistente routines en kleine haalbare stappen",
    en: "healthy habits, consistent routines, and small achievable steps",
    marker: ["Gezonde gewoonten", "Healthy habits"]
  } : longevity ? {
    nl: "gezonde toekomstgewoonten, vitaliteit en langdurig welzijn",
    en: "healthy future habits, vitality, and long-term wellness",
    marker: ["Toekomstwelzijn", "Future wellness"]
  } : reset ? {
    nl: "leefstijlreset, nieuwe start en herstel van balans",
    en: "lifestyle reset, fresh start, and restoring balance",
    marker: ["Leefstijlreset", "Lifestyle reset"]
  } : {
    nl: "gezonde leefstijl, hele-lichaamswelzijn en dagelijkse balans",
    en: "healthy lifestyle, whole-body wellness, and everyday balance",
    marker: ["Leefstijlbalans", "Lifestyle balance"]
  };
  const base = definition.lifestyleBase;
  const startFrequency = mindful || emotionalRelease || rhythm ? 6.6 : regulation ? 7.0 : addictionSupport ? 8.2 : digital || habits || nutrition ? 7.6 : movement || reset || longevity ? 8.0 : 7.2;
  const settleFrequency = mindful || emotionalRelease || rhythm ? 5.6 : regulation ? 5.8 : addictionSupport ? 6.8 : digital || habits || nutrition ? 6.6 : movement || reset || longevity ? 7.0 : base;
  const coreFrequency = rhythm ? 4.8 : mindful || emotionalRelease ? base : regulation ? 5.6 : addictionSupport ? 6.4 : digital || habits || nutrition ? 7.0 : movement || reset || longevity ? 7.4 : 6.2;
  const peakFrequency = Math.min(movement || reset || longevity ? 8.8 : addictionSupport ? 7.8 : digital || habits || nutrition ? 8.0 : regulation ? 6.8 : mindful || emotionalRelease ? 6.4 : rhythm ? 6.0 : 7.4, 9.0);
  const endFrequency = rhythm ? 4.8 : mindful || emotionalRelease ? 5.0 : regulation ? 5.4 : addictionSupport ? 6.0 : digital || habits || nutrition ? 6.2 : movement || reset || longevity ? 6.8 : 5.8;
  const audioMode = mindful || emotionalRelease || rhythm ? "binaural" : (habits || digital) && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = mindful || emotionalRelease || rhythm || regulation ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindful ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = addictionSupport ? "#818cf8" : digital ? "#38bdf8" : nutrition ? "#22c55e" : movement ? "#facc15" : rhythm ? "#1e293b" : regulation ? "#14b8a6" : emotionalRelease ? "#f472b6" : mindful ? "#a78bfa" : simplicity ? "#64748b" : habits ? "#60a5fa" : "#2dd4bf";
  const colorC = addictionSupport ? "#e0e7ff" : digital ? "#dbeafe" : nutrition ? "#dcfce7" : movement ? "#fef3c7" : rhythm ? "#e2e8f0" : regulation ? "#ccfbf1" : emotionalRelease ? "#fce7f3" : mindful ? "#ede9fe" : simplicity ? "#f1f5f9" : habits ? "#dbeafe" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    mindful || emotionalRelease || rhythm || regulation ? "Soft Soundscapes" : "Ambient",
    mindful ? "Meditation Bowls" : "Binaural Deep Meditation",
    rhythm || emotionalRelease ? "Drone" : movement || reset ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = rhythm ? 18 : mindful || emotionalRelease || regulation ? 22 : addictionSupport ? 24 : digital || habits || nutrition ? 26 : movement || reset || longevity ? 30 : 24;
  const whitePeak = rhythm ? 0 : mindful || emotionalRelease || regulation ? 1 : addictionSupport ? 2 : digital || habits || nutrition ? 2 : movement || reset || longevity ? 4 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "detox-lifestyle-support",
    goal: `Een verantwoorde Detox & Lifestyle Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Detox & Lifestyle Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 26 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 54 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindful || emotionalRelease ? "subtle" : "off",
      auroraSpeed: mindful || emotionalRelease ? 0.04 : 0.03,
      auroraDepth: mindful || emotionalRelease ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige ademruimte en een duidelijke reset-intentie.", purposeEn: "Starts with low intensity, calm breathing space, and a clear reset intention." },
        { time: Math.round(durationSeconds * 0.16), name: "Ontspanning", nameEn: "Release", purpose: "Bouwt geleidelijk op richting mentale ruimte, lichaamsrust en leefstijlbewustzijn.", purposeEn: "Builds gradually toward mental space, body calm, and lifestyle awareness." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder detox- of medische claims.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without detox or medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: movement || reset ? "Vitaliteitsopbouw" : "Stabiele balans", nameEn: movement || reset ? "Vitality build" : "Stable balance", purpose: "Houdt licht, audio en frequenties mild en bruikbaar voor dagelijkse gewoonten.", purposeEn: "Keeps light, audio, and frequencies mild and usable for everyday habits." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar haalbare keuzes, rust en consistente zelfzorg.", purposeEn: "Returns toward achievable choices, calm, and consistent self-care." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een rustige overgang naar de dag of avond.", purposeEn: "Ends with low intensity and a calm transition into the day or evening." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: mindful || emotionalRelease || rhythm || regulation ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.1), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.1), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: mindful || emotionalRelease || rhythm || regulation ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.42) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.62) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.25) },
          { time: durationSeconds, value: 2 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.16), value: mindful || emotionalRelease || rhythm || regulation ? 8 : 11 },
          { time: Math.round(durationSeconds * 0.38), value: movement || reset || habits || digital ? 15 : 12 },
          { time: Math.round(durationSeconds * 0.62), value: movement || reset || habits || digital ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.84), value: 6 },
          { time: durationSeconds, value: 2 }
        ],
        musicVolume: [
          { time: 0, value: 18 },
          { time: Math.round(durationSeconds * 0.16), value: 32 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 38 },
          { time: Math.round(durationSeconds * 0.84), value: 24 },
          { time: durationSeconds, value: 12 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 8 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 2 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.16), value: mindful || emotionalRelease ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.38), value: mindful || emotionalRelease ? 30 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: mindful || emotionalRelease ? 28 : 18 },
          { time: Math.round(durationSeconds * 0.84), value: 13 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.3 },
          { time: Math.round(durationSeconds * 0.16), value: mindful || emotionalRelease ? 3.0 : 1.9 },
          { time: Math.round(durationSeconds * 0.38), value: mindful || emotionalRelease ? 3.8 : 2.3 },
          { time: Math.round(durationSeconds * 0.62), value: mindful || emotionalRelease ? 3.4 : 2.1 },
          { time: Math.round(durationSeconds * 0.84), value: 1.3 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindful || emotionalRelease ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindful || emotionalRelease ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindful || emotionalRelease ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: mindful || emotionalRelease ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindful || emotionalRelease ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindful || emotionalRelease ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 26,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryEnvironmentalSensitivityTimelineSession(definition) {
  const durationProfiles = [1200, 1320, 1500, 1680, 1080, 1800, 1260, 1560, 1440, 1020, 1740, 1920];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const sensory = /Sensory|Processing|Awareness|Overload|Overstimulation|Highly Sensitive|High Sensitivity/i.test(definition.subjectEn) || mental;
  const noise = /Noise|Sound|Auditory|Listening|Loud|Quiet World/i.test(definition.subjectEn);
  const light = /Light|Visual|Bright|Eye/i.test(definition.subjectEn);
  const touchTemp = /Touch|Texture|Clothing|Temperature|Heat|Cold|Climate/i.test(definition.subjectEn);
  const airChemical = /Chemical|Fragrance|Perfume|Air|Indoor|Fresh Air|Clean Air|Mold|Allergy|Seasonal|Weather|Barometric/i.test(definition.subjectEn);
  const digital = /Digital|Technology|Screen|Electromagnetic/i.test(definition.subjectEn);
  const crowded = /Crowded|Busy|Urban|Travel|Public|Shopping|Social Environment|New Environments/i.test(definition.subjectEn);
  const regulation = /Nervous|Parasympathetic|Autonomic|Vagus|Breathing|Coherent|Heart Coherence|Grounded Breathing/i.test(definition.subjectEn);
  const emotionalSafety = /Stress|Emotional|Inner|Safety|Safe|Comfort|Confidence|Resilience|Calm Around|Peace in|Home Calm|Safe Home|Workplace Recovery/i.test(definition.subjectEn) || emotional;
  const nature = /Nature|Forest|Ocean|Mountain|Grounding|Rooted|Presence|Stillness|Sacred|Sanctuary|Harmony with Nature|Reconnect|Quiet Forest|Ocean Mindfulness/i.test(definition.subjectEn) || spiritual;
  const homeSleep = /Home|Workspace|Living Space|Sleep|Evening|Night|Deep Rest/i.test(definition.subjectEn);
  const simplicity = /Simple|Minimalist|Reduce Overload|Less Noise|Calm Living|Live with Ease|Balanced Living/i.test(definition.subjectEn);
  const selectedProfileText = noise ? {
    nl: "geluidsgevoeligheid, luistercomfort en rust in drukke akoestische omgevingen",
    en: "sound sensitivity, listening comfort, and calm in busy acoustic environments",
    marker: ["Geluidscomfort", "Sound comfort"]
  } : light ? {
    nl: "lichtgevoeligheid, visueel comfort en rustige oog-geest ontspanning",
    en: "light sensitivity, visual comfort, and calm eye-mind relaxation",
    marker: ["Lichtcomfort", "Light comfort"]
  } : touchTemp ? {
    nl: "aanraak- en temperatuurgevoeligheid, lichaamscomfort en zachte adaptatie",
    en: "touch and temperature sensitivity, body comfort, and gentle adaptation",
    marker: ["Lichaamscomfort", "Body comfort"]
  } : airChemical ? {
    nl: "luchtkwaliteit, geur- en omgevingsgevoeligheid met ondersteunende lichaamsrust",
    en: "air quality, fragrance, and environmental sensitivity with supportive body calm",
    marker: ["Lucht & omgeving", "Air & environment"]
  } : digital ? {
    nl: "digitale omgevingsbalans, schermherstel en mentale ruisvermindering",
    en: "digital environment balance, screen recovery, and reducing mental noise",
    marker: ["Digitale rust", "Digital calm"]
  } : crowded ? {
    nl: "rust in drukke, sociale of stedelijke omgevingen en veilige aanwezigheid",
    en: "calm in busy, social, or urban environments and safe presence",
    marker: ["Omgevingsrust", "Environmental calm"]
  } : regulation ? {
    nl: "zenuwstelselregulatie, ademrust en parasympathisch herstel",
    en: "nervous system regulation, breath calm, and parasympathetic recovery",
    marker: ["Regulatie", "Regulation"]
  } : nature ? {
    nl: "natuurverbinding, gronding en innerlijke stilte",
    en: "nature connection, grounding, and inner stillness",
    marker: ["Natuurgronding", "Nature grounding"]
  } : homeSleep ? {
    nl: "thuis-, werk- of slaapomgevingscomfort en herstel na prikkels",
    en: "home, workspace, or sleep environment comfort and recovery after stimuli",
    marker: ["Veilige ruimte", "Safe space"]
  } : simplicity ? {
    nl: "minder overbelasting, eenvoudiger leven en meer innerlijke ruimte",
    en: "less overload, simpler living, and more inner space",
    marker: ["Minder overbelasting", "Less overload"]
  } : emotionalSafety ? {
    nl: "emotionele veiligheid, omgevingsstress loslaten en dagelijks vertrouwen",
    en: "emotional safety, releasing environmental stress, and everyday confidence",
    marker: ["Innerlijke veiligheid", "Inner safety"]
  } : sensory ? {
    nl: "sensorische regulatie, prikkelherstel en gebalanceerd gewaarzijn",
    en: "sensory regulation, stimulus recovery, and balanced awareness",
    marker: ["Sensorische balans", "Sensory balance"]
  } : {
    nl: "omgevingswelzijn, gezonde adaptatie en rustige dagelijkse veerkracht",
    en: "environmental wellness, healthy adaptation, and calm everyday resilience",
    marker: ["Omgevingsbalans", "Environmental balance"]
  };
  const base = definition.environmentBase;
  const softProfile = sensory || noise || light || touchTemp || airChemical || crowded || emotionalSafety || nature || homeSleep || simplicity;
  const startFrequency = softProfile ? 6.4 : regulation ? 6.8 : digital ? 7.0 : 7.2;
  const settleFrequency = softProfile ? 5.4 : regulation ? 5.8 : digital ? 6.0 : base;
  const coreFrequency = homeSleep ? 4.6 : softProfile ? base : regulation ? 5.6 : digital ? 6.2 : 5.8;
  const peakFrequency = Math.min(digital ? 7.0 : regulation ? 6.6 : softProfile ? 6.0 : 6.8, 7.2);
  const endFrequency = homeSleep ? 4.6 : softProfile ? 5.0 : regulation ? 5.4 : digital ? 5.8 : 5.4;
  const audioMode = "binaural";
  const pulseShape = "sine";
  const noiseType = softProfile ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = nature ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = noise ? "#64748b" : light ? "#60a5fa" : touchTemp ? "#14b8a6" : airChemical ? "#22c55e" : digital ? "#38bdf8" : crowded ? "#f472b6" : regulation ? "#14b8a6" : nature ? "#22c55e" : homeSleep ? "#1e293b" : simplicity ? "#84cc16" : emotionalSafety ? "#a78bfa" : "#2dd4bf";
  const colorC = noise || homeSleep ? "#e2e8f0" : light ? "#dbeafe" : touchTemp ? "#ccfbf1" : airChemical ? "#dcfce7" : digital ? "#e0f2fe" : crowded ? "#fce7f3" : regulation ? "#ccfbf1" : nature ? "#dcfce7" : simplicity ? "#ecfccb" : emotionalSafety ? "#ede9fe" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    softProfile ? "Soft Soundscapes" : "Ambient",
    nature ? "Meditation Bowls" : "Binaural Deep Meditation",
    homeSleep || noise || light || airChemical ? "Drone" : digital ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = homeSleep || noise || light || airChemical ? 16 : softProfile ? 20 : regulation ? 22 : digital ? 24 : 22;
  const whitePeak = homeSleep || noise || light || airChemical ? 0 : softProfile ? 1 : regulation || digital ? 2 : 1;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "environmental-sensitivity-support",
    goal: `Een verantwoorde Environmental Sensitivity Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Environmental Sensitivity Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 34 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 72 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: nature || emotionalSafety ? "subtle" : "off",
      auroraSpeed: nature || emotionalSafety ? 0.035 : 0.03,
      auroraDepth: nature || emotionalSafety ? 5 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met zeer lage intensiteit, voorspelbare audio en een veilig omgevingsgevoel.", purposeEn: "Starts with very low intensity, predictable audio, and a safe environmental feeling." },
        { time: Math.round(durationSeconds * 0.16), name: "Prikkelrust", nameEn: "Stimulus calm", purpose: "Bouwt langzaam op richting sensorische rust, lichaamscomfort en voorspelbare regulatie.", purposeEn: "Builds slowly toward sensory calm, body comfort, and predictable regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: "Stabiele adaptatie", nameEn: "Stable adaptation", purpose: "Houdt licht, audio en frequenties mild en vermijdt abrupte prikkels.", purposeEn: "Keeps light, audio, and frequencies mild while avoiding abrupt stimulation." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar innerlijke veiligheid, heldere aandacht en dagelijkse veerkracht.", purposeEn: "Returns toward inner safety, clear attention, and everyday resilience." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en zachte stilte.", purposeEn: "Ends with minimal intensity and gentle quiet." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: softProfile || regulation ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.12), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.08), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.08), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: softProfile || regulation ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.08), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.08), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.34) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.52) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.18) },
          { time: durationSeconds, value: 1 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.25)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: softProfile || regulation ? 6 : 8 },
          { time: Math.round(durationSeconds * 0.38), value: digital ? 12 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: digital ? 10 : 7 },
          { time: Math.round(durationSeconds * 0.84), value: 4 },
          { time: durationSeconds, value: 1 }
        ],
        musicVolume: [
          { time: 0, value: 16 },
          { time: Math.round(durationSeconds * 0.16), value: 28 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 38 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 32 },
          { time: Math.round(durationSeconds * 0.84), value: 20 },
          { time: durationSeconds, value: 10 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 8 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 10 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: nature || emotionalSafety ? 18 : 14 },
          { time: Math.round(durationSeconds * 0.38), value: nature || emotionalSafety ? 26 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: nature || emotionalSafety ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 11 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: nature || emotionalSafety ? 2.6 : 1.8 },
          { time: Math.round(durationSeconds * 0.38), value: nature || emotionalSafety ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.62), value: nature || emotionalSafety ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: nature || emotionalSafety ? "subtle" : "off", auroraSpeed: 0.035, auroraDepth: nature || emotionalSafety ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: nature || emotionalSafety ? "subtle" : "off", auroraSpeed: 0.045, auroraDepth: nature || emotionalSafety ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: nature || emotionalSafety ? "subtle" : "off", auroraSpeed: 0.035, auroraDepth: nature || emotionalSafety ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 34,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryMedicationTreatmentTimelineSession(definition) {
  const durationProfiles = [1200, 1500, 1320, 1680, 1080, 1800, 1440, 1260, 1560, 1020, 1740, 1920];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const preparation = /Preparation|Preparing|Ready|Before Treatment|Treatment Day|Before/i.test(definition.subjectEn);
  const routine = /Medication|Routine|Adherence|Consistency|Daily Habits|Recovery Habits|Expectations/i.test(definition.subjectEn) || mental;
  const recovery = /Recovery|Restore|Strength|Rehabilitation|Healing Support|Renewal|Well-Being|Wellness Every Day|Healthy Recovery|Back to/i.test(definition.subjectEn);
  const oncologyTherapy = /Chemotherapy|Radiotherapy|Immunotherapy|Hormonal Therapy|Targeted Therapy/i.test(definition.subjectEn);
  const procedure = /Infusion|Hospital|Outpatient|Dialysis|IV Treatment|Appointment|Waiting Room|Follow-Up|Medical Treatment|Treatment Support|Medical Wellness/i.test(definition.subjectEn);
  const painComfort = /Pain|Comfort|Body Comfort|Gentle Comfort|Relaxation/i.test(definition.subjectEn);
  const fatigueEnergy = /Fatigue|Energy|Vitality|Daily Energy/i.test(definition.subjectEn);
  const sleep = /Sleep|Night|Deep Rest|Recovery Through Sleep/i.test(definition.subjectEn);
  const regulation = /Nervous|Breathing|Coherent|Heart Coherence|Parasympathetic|Vagus|Progressive Relaxation|Deep Relaxation|Body Relaxation/i.test(definition.subjectEn);
  const emotionalSupport = /Anxiety|Stress|Calm|Peace|Hope|Inner|Resilience|Emotional|Outlook|One Day|Small Steps|Celebrate|Confidence|Patience|Living Well|Moving Forward|New Beginnings|Live Fully|Stronger|Hope for Tomorrow/i.test(definition.subjectEn) || emotional;
  const spiritualCare = /Meditation|Light|Presence|Inner Peace|Mindful|Acceptance|Trust|Gratitude|Present|Peaceful Healing|Balanced Living|Life Balance|Healing Journey|Spiritual/i.test(definition.subjectEn) || spiritual;
  const caregiver = /Caregiver|Family|Together/i.test(definition.subjectEn);
  const lifestyle = /Lifestyle|Everyday Wellness|Whole Body Wellness|Whole Person|Future|Wellness Protocol|Recovery Protocol/i.test(definition.subjectEn);
  const selectedProfileText = oncologyTherapy ? {
    nl: "rustige ondersteuning rondom behandeltrajecten zoals chemo-, radio-, immuno-, hormoon- of doelgerichte therapie",
    en: "calm support around care pathways such as chemo, radio, immune, hormonal, or targeted therapy",
    marker: ["Behandelondersteuning", "Treatment support"]
  } : procedure ? {
    nl: "comfort rond ziekenhuis-, infusie-, dialyse- of controleafspraken",
    en: "comfort around hospital, infusion, dialysis, or follow-up appointments",
    marker: ["Medische rust", "Medical calm"]
  } : preparation ? {
    nl: "voorbereiding, vertrouwen en rust voorafgaand aan een behandeling",
    en: "preparation, confidence, and calm before treatment",
    marker: ["Voorbereiding", "Preparation"]
  } : routine ? {
    nl: "medicatieroutine, behandelconsistentie en gezonde dagelijkse structuur",
    en: "medication routine, treatment consistency, and healthy daily structure",
    marker: ["Routine", "Routine"]
  } : painComfort ? {
    nl: "comfort, lichaamsontspanning en vriendelijke aandacht tijdens herstel",
    en: "comfort, body relaxation, and gentle attention during recovery",
    marker: ["Comfort", "Comfort"]
  } : fatigueEnergy ? {
    nl: "vermoeidheidsherstel, zachte energieopbouw en behoud van vitaliteit",
    en: "fatigue recovery, gentle energy rebuilding, and maintaining vitality",
    marker: ["Energieherstel", "Energy recovery"]
  } : sleep ? {
    nl: "slaap, diepe rust en herstelvriendelijke nachtelijke ontspanning",
    en: "sleep, deep rest, and recovery-friendly nighttime relaxation",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : regulation ? {
    nl: "ademregulatie, hartcoherentie en parasympathische ontspanning",
    en: "breath regulation, heart coherence, and parasympathetic relaxation",
    marker: ["Regulatie", "Regulation"]
  } : caregiver ? {
    nl: "mantelzorg-, familie- en gezamenlijke veerkracht tijdens een behandelperiode",
    en: "caregiver, family, and shared resilience during a treatment period",
    marker: ["Samen dragen", "Shared support"]
  } : spiritualCare ? {
    nl: "acceptatie, innerlijke vrede en spirituele aanwezigheid tijdens herstel",
    en: "acceptance, inner peace, and spiritual presence during recovery",
    marker: ["Innerlijke vrede", "Inner peace"]
  } : emotionalSupport ? {
    nl: "emotionele rust, hoop, veerkracht en stap-voor-stap herstelvertrouwen",
    en: "emotional calm, hope, resilience, and step-by-step recovery confidence",
    marker: ["Emotionele steun", "Emotional support"]
  } : lifestyle ? {
    nl: "dagelijks welzijn, leefstijl tijdens herstel en hele-mens ondersteuning",
    en: "everyday wellness, lifestyle during recovery, and whole-person support",
    marker: ["Dagelijks welzijn", "Everyday wellness"]
  } : recovery ? {
    nl: "zacht fysiek herstel, vernieuwing en terugkeer naar kracht",
    en: "gentle physical recovery, renewal, and return toward strength",
    marker: ["Herstel", "Recovery"]
  } : {
    nl: "medicatie- en behandelondersteuning als rustige wellness-begeleiding",
    en: "medication and treatment support as calm wellness companionship",
    marker: ["Ondersteuning", "Support"]
  };
  const base = definition.treatmentBase;
  const restorative = recovery || oncologyTherapy || procedure || painComfort || fatigueEnergy || sleep || regulation || emotionalSupport || spiritualCare || caregiver;
  const startFrequency = preparation || routine ? 7.2 : sleep || spiritualCare ? 5.8 : restorative ? 6.4 : 6.8;
  const settleFrequency = sleep ? 4.8 : spiritualCare || emotionalSupport ? 5.2 : regulation ? 5.6 : fatigueEnergy ? 6.2 : routine ? 6.6 : base;
  const coreFrequency = sleep ? 4.4 : spiritualCare || emotionalSupport ? base : regulation ? 5.4 : fatigueEnergy ? 6.6 : routine ? 7.0 : recovery || procedure || oncologyTherapy || painComfort ? 5.8 : 6.0;
  const peakFrequency = Math.min(routine ? 7.8 : fatigueEnergy ? 7.2 : regulation ? 6.4 : sleep ? 5.6 : preparation ? 7.0 : restorative ? 6.2 : 6.8, 8.0);
  const endFrequency = sleep ? 4.2 : spiritualCare || emotionalSupport || painComfort ? 4.8 : regulation ? 5.2 : fatigueEnergy || routine ? 5.8 : 5.0;
  const audioMode = routine && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = restorative || preparation ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualCare ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = preparation ? "#60a5fa" : routine ? "#38bdf8" : fatigueEnergy ? "#facc15" : sleep ? "#1e293b" : regulation ? "#14b8a6" : spiritualCare ? "#a78bfa" : emotionalSupport ? "#f472b6" : caregiver ? "#22c55e" : oncologyTherapy || procedure ? "#64748b" : "#2dd4bf";
  const colorC = preparation || routine ? "#dbeafe" : fatigueEnergy ? "#fef3c7" : sleep || oncologyTherapy || procedure ? "#e2e8f0" : regulation ? "#ccfbf1" : spiritualCare ? "#ede9fe" : emotionalSupport ? "#fce7f3" : caregiver ? "#dcfce7" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    restorative || preparation ? "Soft Soundscapes" : "Ambient",
    spiritualCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || painComfort || oncologyTherapy || procedure ? "Drone" : routine || fatigueEnergy ? "Theta Soundscape" : "Cinematic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep || oncologyTherapy || procedure ? 16 : painComfort || emotionalSupport || spiritualCare || caregiver ? 20 : regulation || recovery ? 22 : routine || fatigueEnergy ? 26 : 24;
  const whitePeak = sleep || oncologyTherapy || procedure ? 0 : painComfort || emotionalSupport || spiritualCare || caregiver ? 1 : regulation || recovery ? 2 : routine || fatigueEnergy ? 3 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "medication-treatment-support",
    goal: `Een verantwoorde Medication & Treatment Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Medication & Treatment Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 32 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 68 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: spiritualCare || emotionalSupport ? "subtle" : "off",
      auroraSpeed: spiritualCare || emotionalSupport ? 0.04 : 0.03,
      auroraDepth: spiritualCare || emotionalSupport ? 6 : 0,
      markers: [
        { time: 0, name: "Zachte start", nameEn: "Gentle start", purpose: "Start met lage intensiteit, rustige audio en een ondersteunende behandelcontext.", purposeEn: "Starts with low intensity, calm audio, and a supportive treatment context." },
        { time: Math.round(durationSeconds * 0.16), name: "Stabiliseren", nameEn: "Stabilize", purpose: "Bouwt geleidelijk op richting ademrust, comfort en voorspelbare regulatie.", purposeEn: "Builds gradually toward breath calm, comfort, and predictable regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als wellness-ondersteuning naast professionele zorg.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as wellness support alongside professional care.` },
        { time: Math.round(durationSeconds * 0.62), name: "Rustige verwerking", nameEn: "Calm processing", purpose: "Houdt audio en licht mild, zonder medische effectclaim of abrupte stimulatie.", purposeEn: "Keeps audio and light mild, without medical effect claims or abrupt stimulation." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar herstelvertrouwen, dagelijkse structuur en innerlijke kalmte.", purposeEn: "Returns toward recovery confidence, daily structure, and inner calm." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en een zachte overgang.", purposeEn: "Ends with minimal intensity and a gentle transition." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: restorative || preparation || regulation ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.12), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.08), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.08), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: restorative || preparation || regulation ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.08), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.08), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.35) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.55) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.2) },
          { time: durationSeconds, value: 1 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: restorative || preparation ? 7 : 9 },
          { time: Math.round(durationSeconds * 0.38), value: routine || fatigueEnergy ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.62), value: routine || fatigueEnergy ? 11 : 8 },
          { time: Math.round(durationSeconds * 0.84), value: 5 },
          { time: durationSeconds, value: 1 }
        ],
        musicVolume: [
          { time: 0, value: 16 },
          { time: Math.round(durationSeconds * 0.16), value: 30 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 40 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 34 },
          { time: Math.round(durationSeconds * 0.84), value: 22 },
          { time: durationSeconds, value: 10 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 8 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || emotionalSupport ? 18 : 14 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || emotionalSupport ? 26 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || emotionalSupport ? 22 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 11 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: spiritualCare || emotionalSupport ? 2.6 : 1.8 },
          { time: Math.round(durationSeconds * 0.38), value: spiritualCare || emotionalSupport ? 3.4 : 2.2 },
          { time: Math.round(durationSeconds * 0.62), value: spiritualCare || emotionalSupport ? 3.0 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalSupport ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || emotionalSupport ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: spiritualCare || emotionalSupport ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: spiritualCare || emotionalSupport ? 6 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: spiritualCare || emotionalSupport ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: spiritualCare || emotionalSupport ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 32,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryDiagnosticMedicalProcedureTimelineSession(definition) {
  const diagnosticSession = createRecoveryMedicationTreatmentTimelineSession({
    ...definition,
    treatmentBase: definition.procedureBase
  });
  const imaging = /MRI|CT|PET|Ultrasound|X-Ray|Imaging/i.test(definition.subjectEn);
  const needle = /Blood|Needle|Injection|Vaccination|IV|Infusion|Venipuncture/i.test(definition.subjectEn);
  const scope = /Endoscopy|Gastroscopy|Colonoscopy|Bronchoscopy|Cystoscopy|Biopsy|Lumbar|Bone Marrow/i.test(definition.subjectEn);
  const test = /EEG|ECG|EMG|Nerve|Heart Test|Stress Test|Pulmonary|Lung Function|Sleep Study|Eye|Vision|Hearing|Balance Test/i.test(definition.subjectEn);
  const surgery = /Surgery|Pre-Procedure|Procedure|Hospital Admission|Hospital Stay|Day Clinic|Sedation|Anesthesia/i.test(definition.subjectEn);
  const appointment = /Appointment|Visit|Examination|Medical Care|Healthcare|Doctor|Waiting Room|White Coat|Medical Anxiety|Hospital Anxiety/i.test(definition.subjectEn);
  const regulation = /Breathing|Coherent|Heart Coherence|Parasympathetic|Nervous|Vagus|Autonomic|Relaxation|Stillness/i.test(definition.subjectEn);
  const recovery = /Recovery|Deep Rest|Restore|Healing|Moving Forward|Healthy Future/i.test(definition.subjectEn);
  const spiritualCare = /Peace|Trust|Acceptance|Meditation|Light|Presence|Gratitude|Present/i.test(definition.subjectEn) || definition.labelEn.includes("Spiritual");
  const family = /Family|Caregiver|Together/i.test(definition.subjectEn);
  const focus = /Mindset|Preparation|Focus|Clear Mind|Expectations/i.test(definition.subjectEn) || definition.labelEn.includes("Mental");
  const selectedProfileText = imaging ? {
    nl: "beeldvormend onderzoek met voorspelbare rust, zachte ademhaling en comfortabele stilstand",
    en: "imaging procedures with predictable calm, soft breathing, and comfortable stillness",
    marker: ["Beeldvorming", "Imaging"]
  } : needle ? {
    nl: "bloedafname, injecties of infusies met focus op veiligheid en ontspanning",
    en: "blood draws, injections, or infusions with focus on safety and relaxation",
    marker: ["Naaldcomfort", "Needle comfort"]
  } : scope ? {
    nl: "inwendig of specialistisch onderzoek met kalme voorbereiding en herstelgerichte ontspanning",
    en: "internal or specialist procedures with calm preparation and recovery-oriented relaxation",
    marker: ["Procedurecomfort", "Procedure comfort"]
  } : test ? {
    nl: "diagnostische testen met kalme aandacht, ademritme en mentale helderheid",
    en: "diagnostic tests with calm attention, breathing rhythm, and mental clarity",
    marker: ["Diagnostische rust", "Diagnostic calm"]
  } : surgery ? {
    nl: "operatie- of procedurevoorbereiding en zachte ondersteuning rondom herstel",
    en: "surgery or procedure preparation and gentle support around recovery",
    marker: ["Voor procedure", "Pre-procedure"]
  } : family ? {
    nl: "familie- en mantelzorgsteun tijdens medische zorgmomenten",
    en: "family and caregiver support during medical care moments",
    marker: ["Samen door zorg", "Together through care"]
  } : spiritualCare ? {
    nl: "vertrouwen, acceptatie en innerlijke vrede rondom medische zorg",
    en: "trust, acceptance, and inner peace around medical care",
    marker: ["Innerlijke vrede", "Inner peace"]
  } : recovery ? {
    nl: "herstel na onderzoek of procedure met rustige opbouw en energiebehoud",
    en: "recovery after an examination or procedure with calm rebuilding and energy conservation",
    marker: ["Procedureherstel", "Procedure recovery"]
  } : regulation ? {
    nl: "ademregulatie, zenuwstelselrust en comfortabele stilstand tijdens procedures",
    en: "breath regulation, nervous system calm, and comfortable stillness during procedures",
    marker: ["Regulatie", "Regulation"]
  } : focus ? {
    nl: "mentale voorbereiding, heldere verwachtingen en kalm vertrouwen",
    en: "mental preparation, clear expectations, and calm confidence",
    marker: ["Mentale voorbereiding", "Mental preparation"]
  } : appointment ? {
    nl: "rust voor afspraken, onderzoeken en medische omgevingen",
    en: "calm before appointments, examinations, and medical environments",
    marker: ["Afspraakrust", "Appointment calm"]
  } : {
    nl: "diagnostische en medische procedure-ondersteuning met rust en comfort",
    en: "diagnostic and medical procedure support with calm and comfort",
    marker: ["Medische rust", "Medical calm"]
  };
  diagnosticSession.subcategory = "diagnostic-medical-procedure-support";
  diagnosticSession.goal = `Een verantwoorde Diagnostic & Medical Procedure Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`;
  diagnosticSession.goalEn = `A responsible Diagnostic & Medical Procedure Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`;
  diagnosticSession.musicCrossfadeSeconds = 36 + (definition.style % 5) * 3;
  diagnosticSession.colorCrossfadeSeconds = 76 + (definition.style % 6) * 5;
  diagnosticSession.timeline.markers = [
    { time: 0, name: "Oriëntatie", nameEn: "Orientation", purpose: "Start met zeer lage intensiteit en een rustige oriëntatie op de afspraak of procedure.", purposeEn: "Starts with very low intensity and calm orientation toward the appointment or procedure." },
    { time: Math.round(diagnosticSession.durationSeconds * 0.16), name: "Veilige ademruimte", nameEn: "Safe breathing space", purpose: "Bouwt voorspelbaar op met zachte ademfocus, comfort en minder medische spanning.", purposeEn: "Builds predictably with soft breathing focus, comfort, and less medical tension." },
    { time: Math.round(diagnosticSession.durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie naast professionele zorg.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session alongside professional care.` },
    { time: Math.round(diagnosticSession.durationSeconds * 0.62), name: "Comfortabel blijven", nameEn: "Stay comfortable", purpose: "Houdt licht en audio mild, stabiel en bruikbaar voor wachten, stil liggen of rustige voorbereiding.", purposeEn: "Keeps light and audio mild, stable, and usable for waiting, lying still, or calm preparation." },
    { time: Math.round(diagnosticSession.durationSeconds * 0.84), name: "Herstelvertrouwen", nameEn: "Recovery confidence", purpose: "Bouwt terug naar vertrouwen, emotionele stabiliteit en een rustige overgang na het zorgmoment.", purposeEn: "Returns toward confidence, emotional stability, and a calm transition after the care moment." },
    { time: diagnosticSession.durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en zachte stilte.", purposeEn: "Ends with minimal intensity and gentle quiet." }
  ];
  return diagnosticSession;
}

function createRecoveryMindBodyMedicineTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1680, 1200, 1800, 1440, 1560, 1260, 1740, 1080, 1920, 1380];
  const durationSeconds = durationProfiles[definition.profile];
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const awareness = /Awareness|Body Scan|Interoceptive|Embodied|Listening|Body Wisdom|Body Intelligence|Reconnect|Connection|Integration/i.test(definition.subjectEn);
  const relaxation = /Relaxation|Relax|Relaxation Response|Deep|Profound|Complete|Progressive|Calm the Nervous|Neural Calm|Nervous System/i.test(definition.subjectEn);
  const regulation = /Autonomic|Parasympathetic|Vagus|Vagal|Coherent|Breathing|Heart|Breath|Self-Regulation|Balance/i.test(definition.subjectEn);
  const stressEmotion = /Stress|Emotional|Calm Emotions|Inner Calm|Freedom|Tension|Compassion|Hope|Trust|Confidence|Acceptance|Inner Strength/i.test(definition.subjectEn) || emotional;
  const recovery = /Recovery|Healing|Restore|Vitality|Immune|Inflammatory|Cellular|Energy|Aging|Wellness Journey|Whole Body Recovery/i.test(definition.subjectEn);
  const gutPain = /Gut|Digestive|Pain|Comfort|Living Beyond Pain/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Night|Restore Through Sleep/i.test(definition.subjectEn);
  const cognitive = /Mental|Clear Mind|Calm Mind|Focused|Renewal|Flexibility|Thinking|Resilient Mind|Mindset|Positive Change|Habits|Routine/i.test(definition.subjectEn) || mental;
  const mindfulness = /Mindfulness|Present|Stillness|Silence|Quiet Mind|Sanctuary|Presence|Forgiveness|Gratitude|Loving Kindness|Spiritual|Inner Peace/i.test(definition.subjectEn) || spiritual;
  const nature = /Nature|Forest|Ocean|Grounding|Rooted|Harmony with Nature/i.test(definition.subjectEn);
  const performance = /Performance|Optimal Human|Peak|Optimization|Function|Balanced Human|Integrated Self/i.test(definition.subjectEn);
  const lifestyle = /Daily Rhythm|Circadian|Lifestyle|Every Day|Balanced Living|Live in Harmony|Conscious|Intentional|Purpose|Living Well|Whole Life/i.test(definition.subjectEn);
  const selectedProfileText = awareness ? {
    nl: "lichaamsbewustzijn, interoceptie en een rustige mind-body verbinding",
    en: "body awareness, interoception, and a calm mind-body connection",
    marker: ["Lichaamsbewustzijn", "Body awareness"]
  } : regulation ? {
    nl: "zelfregulatie, ademcoherentie en autonome balans",
    en: "self-regulation, coherent breathing, and autonomic balance",
    marker: ["Zelfregulatie", "Self-regulation"]
  } : relaxation ? {
    nl: "diepe ontspanning, zenuwstelselrust en herstelvriendelijke lichaamsontspanning",
    en: "deep relaxation, nervous system calm, and recovery-friendly body relaxation",
    marker: ["Ontspanningsrespons", "Relaxation response"]
  } : gutPain ? {
    nl: "comfort, darm-brein balans en veerkracht bij lichamelijke sensaties",
    en: "comfort, gut-brain balance, and resilience with body sensations",
    marker: ["Comfort", "Comfort"]
  } : sleep ? {
    nl: "slaap, diepe rust en nachtelijk herstel",
    en: "sleep, deep rest, and nighttime recovery",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : mindfulness ? {
    nl: "mindfulness, aanwezigheid en innerlijke stilte",
    en: "mindfulness, presence, and inner stillness",
    marker: ["Mindfulness", "Mindfulness"]
  } : nature ? {
    nl: "natuurverbinding, gronding en kalme aanwezigheid",
    en: "nature connection, grounding, and calm presence",
    marker: ["Natuurgronding", "Nature grounding"]
  } : performance ? {
    nl: "mind-body prestatie, optimale functie en geïntegreerde balans",
    en: "mind-body performance, optimal function, and integrated balance",
    marker: ["Integratie", "Integration"]
  } : cognitive ? {
    nl: "mentale helderheid, adaptief denken en herstelgerichte mindset",
    en: "mental clarity, adaptive thinking, and a recovery-oriented mindset",
    marker: ["Mentale helderheid", "Mental clarity"]
  } : lifestyle ? {
    nl: "dagritme, leefstijlbalans en dagelijkse welzijnsstructuur",
    en: "daily rhythm, lifestyle balance, and everyday wellness structure",
    marker: ["Dagelijkse balans", "Daily balance"]
  } : stressEmotion ? {
    nl: "emotionele regulatie, innerlijke rust en compassievolle veerkracht",
    en: "emotional regulation, inner calm, and compassionate resilience",
    marker: ["Emotionele balans", "Emotional balance"]
  } : recovery ? {
    nl: "herstel, vitaliteit en hele-lichaamswelzijn vanuit een mind-body benadering",
    en: "recovery, vitality, and whole-body wellness through a mind-body approach",
    marker: ["Herstel", "Recovery"]
  } : {
    nl: "mind-body balans, ontspanning en geïntegreerd welzijn",
    en: "mind-body balance, relaxation, and integrated wellness",
    marker: ["Mind-body balans", "Mind-body balance"]
  };
  const base = definition.mindBodyBase;
  const soft = awareness || relaxation || regulation || stressEmotion || mindfulness || nature || gutPain || sleep;
  const startFrequency = performance ? 8.2 : cognitive || lifestyle ? 7.4 : soft ? 6.4 : 6.8;
  const settleFrequency = sleep ? 4.8 : mindfulness || nature || stressEmotion ? 5.2 : regulation || relaxation || gutPain ? 5.6 : cognitive || lifestyle ? 6.4 : base;
  const coreFrequency = sleep ? 4.4 : awareness || mindfulness || nature || stressEmotion ? base : regulation || relaxation || gutPain ? 5.4 : recovery ? 5.8 : cognitive || lifestyle ? 6.8 : performance ? 7.2 : 6.0;
  const peakFrequency = Math.min(performance ? 8.8 : cognitive || lifestyle ? 7.8 : regulation ? 6.8 : sleep ? 5.6 : soft || recovery ? 6.4 : 7.0, 9.0);
  const endFrequency = sleep ? 4.2 : mindfulness || nature || stressEmotion || gutPain ? 4.8 : regulation || relaxation ? 5.2 : cognitive || lifestyle ? 5.8 : performance ? 6.4 : 5.0;
  const audioMode = performance && definition.style % 3 === 0 ? "monaural" : "binaural";
  const pulseShape = "sine";
  const noiseType = soft || sleep ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness || nature || spiritual ? "hall" : "room";
  const colorA = definition.accent;
  const colorB = awareness ? "#14b8a6" : regulation ? "#22c55e" : relaxation ? "#60a5fa" : gutPain ? "#84cc16" : sleep ? "#1e293b" : mindfulness ? "#a78bfa" : nature ? "#22c55e" : performance ? "#facc15" : cognitive ? "#38bdf8" : stressEmotion ? "#f472b6" : "#2dd4bf";
  const colorC = awareness || regulation ? "#ccfbf1" : relaxation || cognitive ? "#dbeafe" : gutPain || nature ? "#dcfce7" : sleep ? "#e2e8f0" : mindfulness ? "#ede9fe" : performance ? "#fef3c7" : stressEmotion ? "#fce7f3" : "#ecfeff";
  const musicMoods = [
    definition.mood,
    soft || recovery ? "Soft Soundscapes" : "Ambient",
    mindfulness || nature ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || relaxation || gutPain ? "Drone" : performance ? "Cinematic Ambient" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 16 : awareness || relaxation || regulation || stressEmotion || mindfulness || nature || gutPain ? 22 : recovery ? 24 : cognitive || lifestyle ? 28 : performance ? 32 : 24;
  const whitePeak = sleep ? 0 : awareness || relaxation || regulation || stressEmotion || mindfulness || nature || gutPain ? 1 : recovery ? 2 : cognitive || lifestyle ? 3 : performance ? 4 : 2;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "mind-body-medicine",
    goal: `Een verantwoorde Mind-Body Medicine-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Mind-Body Medicine session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 34 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 70 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: mindfulness || nature || stressEmotion ? "subtle" : "off",
      auroraSpeed: mindfulness || nature || stressEmotion ? 0.04 : 0.03,
      auroraDepth: mindfulness || nature || stressEmotion ? 6 : 0,
      markers: [
        { time: 0, name: "Landen", nameEn: "Arrive", purpose: "Start met lage intensiteit en nodigt uit tot rustige aandacht voor lichaam en adem.", purposeEn: "Starts with low intensity and invites calm attention to body and breath." },
        { time: Math.round(durationSeconds * 0.16), name: "Lichaamsrust", nameEn: "Body calm", purpose: "Bouwt geleidelijk op richting lichaamsbewustzijn, ontspanning en voorspelbare regulatie.", purposeEn: "Builds gradually toward body awareness, relaxation, and predictable regulation." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende welzijnssessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: "Integratievenster", nameEn: "Integration window", purpose: "Verbindt adem, aandacht, lichaamssensaties en mentale rust in een stabiel middenstuk.", purposeEn: "Connects breath, attention, body sensations, and mental calm in a stable middle section." },
        { time: Math.round(durationSeconds * 0.84), name: "Belichamen", nameEn: "Embody", purpose: "Bouwt terug naar zachte aanwezigheid, vertrouwen in het lichaam en dagelijkse toepasbaarheid.", purposeEn: "Returns toward gentle presence, body trust, and everyday usability." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en een rustige overgang.", purposeEn: "Ends with minimal intensity and a calm transition." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: soft || recovery ? noiseType : "none", reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.12), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.08), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.05), musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.08), musicMood: musicMoods[3] || "Theta Soundscape", noiseType: soft || recovery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.08), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.08), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.35) },
          { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.56) },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.2) },
          { time: durationSeconds, value: 1 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
          { time: Math.round(durationSeconds * 0.38), value: whitePeak },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
          { time: Math.round(durationSeconds * 0.84), value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 2 },
          { time: Math.round(durationSeconds * 0.16), value: soft ? 7 : 9 },
          { time: Math.round(durationSeconds * 0.38), value: performance || cognitive ? 13 : 10 },
          { time: Math.round(durationSeconds * 0.62), value: performance || cognitive ? 11 : 8 },
          { time: Math.round(durationSeconds * 0.84), value: 5 },
          { time: durationSeconds, value: 1 }
        ],
        musicVolume: [
          { time: 0, value: 16 },
          { time: Math.round(durationSeconds * 0.16), value: 30 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 42 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: 36 },
          { time: Math.round(durationSeconds * 0.84), value: 22 },
          { time: durationSeconds, value: 10 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 8 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : 9 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness || nature || stressEmotion ? 18 : 14 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness || nature || stressEmotion ? 27 : 18 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness || nature || stressEmotion ? 23 : 16 },
          { time: Math.round(durationSeconds * 0.84), value: 11 },
          { time: durationSeconds, value: 3 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: mindfulness || nature || stressEmotion ? 2.6 : 1.8 },
          { time: Math.round(durationSeconds * 0.38), value: mindfulness || nature || stressEmotion ? 3.6 : 2.2 },
          { time: Math.round(durationSeconds * 0.62), value: mindfulness || nature || stressEmotion ? 3.1 : 2.0 },
          { time: Math.round(durationSeconds * 0.84), value: 1.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || nature || stressEmotion ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness || nature || stressEmotion ? 4 : 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: mindfulness || nature || stressEmotion ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: mindfulness || nature || stressEmotion ? 7 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: mindfulness || nature || stressEmotion ? "subtle" : "off", auroraSpeed: 0.04, auroraDepth: mindfulness || nature || stressEmotion ? 5 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 34,
    allowedMusicMoods: musicMoods
  };
}

function createRecoveryIntegrativeHealthTimelineSession(definition) {
  const integrativeSession = createRecoveryMindBodyMedicineTimelineSession({
    ...definition,
    mindBodyBase: definition.integrativeBase
  });
  const wholePerson = /Whole|Integrative|Integrated|Complete|Balanced Health|Optimal|Well-Being|Whole Person/i.test(definition.subjectEn);
  const lifestyle = /Lifestyle|Living|Everyday|Daily|Habits|Routine|Choices|Rituals|Self-Care|Wellness Routine|Life Balance/i.test(definition.subjectEn);
  const regulation = /Nervous|Autonomic|Parasympathetic|Vagus|Heart|Coherent|Breathing|Relaxation Response|Stress/i.test(definition.subjectEn);
  const recovery = /Recovery|Renewal|Restore|Restoration|Cellular|Energy|Vitality|Aging|Sleep|Deep Rest|Circadian|Wake Refreshed/i.test(definition.subjectEn);
  const movement = /Move|Movement|Mobility|Physical Vitality|Functional|Body Awareness/i.test(definition.subjectEn);
  const mindfulness = /Mindfulness|Present|Acceptance|Presence|Stillness|Silence|Intention|Conscious|Compassion|Gratitude|Forgiveness|Meaningful|Purpose/i.test(definition.subjectEn) || definition.labelEn.includes("Spiritual");
  const nature = /Nature|Forest|Ocean|Grounding|Earth|Natural Balance|Return to Nature/i.test(definition.subjectEn);
  const cognitive = /Brain|Cognitive|Neuroplasticity|Focus|Mental|Performance|Growth Mindset|Potential/i.test(definition.subjectEn) || definition.labelEn.includes("Mental");
  const systems = /Immune|Digestive|Heart Wellness|Respiratory|Hormonal|Metabolism|Circulation|Body Systems|Body Function/i.test(definition.subjectEn);
  const social = /Relationships|Social|Connection|Belonging|Family|Community|Boundaries/i.test(definition.subjectEn);
  const growth = /Personal|Transformation|Authentic|Wisdom|Thrive|Flourish|Wellness Journey|Balanced Life|Healthy Mind|Harmony Within/i.test(definition.subjectEn);
  const emotional = /Emotional|Inner Calm|Resilient|Hope|Joy|Positive Outlook/i.test(definition.subjectEn) || definition.labelEn.includes("Emotional");
  const selectedProfileText = systems ? {
    nl: "samenhang tussen lichaamssystemen, herstel en dagelijks welzijn",
    en: "connection between body systems, recovery, and everyday wellness",
    marker: ["Lichaamssystemen", "Body systems"]
  } : social ? {
    nl: "relaties, verbinding, grenzen en emotionele veerkracht",
    en: "relationships, connection, boundaries, and emotional resilience",
    marker: ["Verbinding", "Connection"]
  } : nature ? {
    nl: "natuurverbinding, gronding en natuurlijke balans",
    en: "nature connection, grounding, and natural balance",
    marker: ["Natuurlijke balans", "Natural balance"]
  } : lifestyle ? {
    nl: "gezonde leefstijl, dagelijkse routines en integratieve zelfzorg",
    en: "healthy lifestyle, daily routines, and integrative self-care",
    marker: ["Leefstijl", "Lifestyle"]
  } : movement ? {
    nl: "gezonde beweging, lichaamsbewustzijn en functionele vitaliteit",
    en: "healthy movement, body awareness, and functional vitality",
    marker: ["Beweging", "Movement"]
  } : regulation ? {
    nl: "zenuwstelselregulatie, ademcoherentie en stressherstel",
    en: "nervous system regulation, coherent breathing, and stress recovery",
    marker: ["Regulatie", "Regulation"]
  } : recovery ? {
    nl: "herstel, vitaliteit, slaapritme en gebalanceerde energie",
    en: "recovery, vitality, sleep rhythm, and balanced energy",
    marker: ["Herstel & vitaliteit", "Recovery & vitality"]
  } : cognitive ? {
    nl: "breinwelzijn, mentale helderheid en cognitieve veerkracht",
    en: "brain wellness, mental clarity, and cognitive resilience",
    marker: ["Breinwelzijn", "Brain wellness"]
  } : growth ? {
    nl: "persoonlijke groei, betekenis en geïntegreerde levensbalans",
    en: "personal growth, meaning, and integrated life balance",
    marker: ["Groei", "Growth"]
  } : mindfulness ? {
    nl: "mindfulness, aanwezigheid, compassie en innerlijke harmonie",
    en: "mindfulness, presence, compassion, and inner harmony",
    marker: ["Mindfulness", "Mindfulness"]
  } : emotional ? {
    nl: "emotioneel welzijn, veerkracht en rustige levensenergie",
    en: "emotional wellness, resilience, and calm life energy",
    marker: ["Emotioneel welzijn", "Emotional wellness"]
  } : wholePerson ? {
    nl: "hele-mens welzijn, geïntegreerde gezondheid en gebalanceerd herstel",
    en: "whole-person wellness, integrated health, and balanced recovery",
    marker: ["Integratieve balans", "Integrative balance"]
  } : {
    nl: "integratieve gezondheid, dagelijkse balans en brede welzijnsondersteuning",
    en: "integrative health, daily balance, and broad wellness support",
    marker: ["Integratieve gezondheid", "Integrative health"]
  };
  const durationSeconds = integrativeSession.durationSeconds;
  const base = definition.integrativeBase;
  const startFrequency = systems || recovery ? 6.8 : lifestyle || movement || cognitive ? 7.4 : regulation || mindfulness || nature || emotional ? 6.2 : wholePerson ? 6.6 : 7.0;
  const settleFrequency = mindfulness || nature || emotional ? 5.2 : regulation ? 5.6 : systems || recovery ? 5.8 : lifestyle || movement || cognitive ? 6.4 : base;
  const coreFrequency = mindfulness || nature || emotional ? base : regulation ? 5.6 : systems || recovery ? 6.0 : lifestyle || movement || cognitive ? 6.8 : wholePerson ? 6.2 : 6.0;
  const peakFrequency = Math.min(lifestyle || movement || cognitive ? 8.0 : systems || recovery ? 7.0 : regulation ? 6.6 : mindfulness || nature || emotional ? 6.2 : wholePerson ? 7.2 : 7.0, 8.4);
  const endFrequency = mindfulness || nature || emotional ? 4.8 : regulation ? 5.2 : systems || recovery ? 5.4 : lifestyle || movement || cognitive ? 5.8 : 5.0;
  const colorB = systems ? "#22c55e" : social || emotional ? "#f472b6" : nature ? "#84cc16" : lifestyle ? "#38bdf8" : movement ? "#facc15" : regulation ? "#14b8a6" : cognitive ? "#60a5fa" : growth || mindfulness ? "#a78bfa" : "#2dd4bf";
  const colorC = systems || nature ? "#dcfce7" : social || emotional ? "#fce7f3" : lifestyle || cognitive ? "#dbeafe" : movement ? "#fef3c7" : regulation ? "#ccfbf1" : growth || mindfulness ? "#ede9fe" : "#ecfeff";
  const noiseType = regulation || mindfulness || nature || emotional || recovery ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = mindfulness || nature || growth ? "hall" : "room";
  const musicMoods = [
    definition.mood,
    regulation || mindfulness || nature || emotional || recovery ? "Soft Soundscapes" : "Ambient",
    mindfulness || nature || growth ? "Meditation Bowls" : "Binaural Deep Meditation",
    lifestyle || movement || cognitive ? "Theta Soundscape" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = regulation || mindfulness || nature || emotional ? 22 : systems || recovery || wholePerson ? 24 : lifestyle || movement || cognitive ? 30 : 26;
  const whitePeak = regulation || mindfulness || nature || emotional ? 1 : systems || recovery || wholePerson ? 2 : lifestyle || movement || cognitive ? 4 : 2;
  integrativeSession.subcategory = "integrative-health";
  integrativeSession.goal = `Een verantwoorde Integrative Health-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`;
  integrativeSession.goalEn = `A responsible Integrative Health session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`;
  integrativeSession.musicCrossfadeSeconds = 30 + (definition.style % 5) * 3;
  integrativeSession.colorCrossfadeSeconds = 64 + (definition.style % 6) * 5;
  integrativeSession.timeline.musicMood = definition.mood;
  integrativeSession.timeline.noiseType = noiseType;
  integrativeSession.timeline.reverbPreset = reverbPreset;
  integrativeSession.timeline.auroraMode = mindfulness || nature || growth || emotional ? "subtle" : "off";
  integrativeSession.timeline.auroraSpeed = mindfulness || nature || growth || emotional ? 0.045 : 0.03;
  integrativeSession.timeline.auroraDepth = mindfulness || nature || growth || emotional ? 7 : 0;
  integrativeSession.timeline.markers = [
    { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en een brede, integratieve welzijnsintentie.", purposeEn: "Starts with low intensity and a broad integrative wellness intention." },
    { time: Math.round(durationSeconds * 0.16), name: "Reguleren", nameEn: "Regulate", purpose: "Bouwt rustig op via adem, lichaamsbewustzijn en voorspelbare prikkels.", purposeEn: "Builds calmly through breath, body awareness, and predictable stimulation." },
    { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende welzijnssessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
    { time: Math.round(durationSeconds * 0.62), name: "Samenhang", nameEn: "Integration", purpose: "Verbindt lichaam, adem, aandacht, leefstijl en emotionele balans in een stabiele fase.", purposeEn: "Connects body, breath, attention, lifestyle, and emotional balance in a stable phase." },
    { time: Math.round(durationSeconds * 0.84), name: "Toepassen", nameEn: "Apply", purpose: "Bouwt terug naar dagelijkse toepasbaarheid, herstelvertrouwen en rustige vitaliteit.", purposeEn: "Returns toward everyday usability, recovery confidence, and calm vitality." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en een zachte overgang.", purposeEn: "Ends with minimal intensity and a gentle transition." }
  ];
  integrativeSession.timeline.curves.frequency = [
    { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  integrativeSession.timeline.curves.audioFrequency = integrativeSession.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 2 ? 0.05 : 0.1)),
    audioMode: "binaural",
    audioPulseShape: "sine",
    pulseShape: "sine"
  }));
  integrativeSession.timeline.curves.rgb = [
    { time: 0, value: 1 },
    { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.35) },
    { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
    { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.58) },
    { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.22) },
    { time: durationSeconds, value: 1 }
  ];
  integrativeSession.timeline.curves.white = [
    { time: 0, value: 0 },
    { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
    { time: Math.round(durationSeconds * 0.38), value: whitePeak },
    { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
    { time: Math.round(durationSeconds * 0.84), value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  integrativeSession.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
    { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: integrativeSession.timeline.auroraMode, auroraSpeed: 0.04, auroraDepth: integrativeSession.timeline.auroraDepth ? 4 : 0 },
    { time: Math.round(durationSeconds * 0.38), value: definition.accent, ganzfeldMode: false, auroraMode: integrativeSession.timeline.auroraMode, auroraSpeed: 0.05, auroraDepth: integrativeSession.timeline.auroraDepth },
    { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: integrativeSession.timeline.auroraMode, auroraSpeed: 0.04, auroraDepth: integrativeSession.timeline.auroraDepth ? 5 : 0 },
    { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
  ];
  integrativeSession.allowedMusicMoods = musicMoods;
  return integrativeSession;
}

function createRecoveryCaregiverSupportTimelineSession(definition) {
  const caregiverSession = createRecoveryIntegrativeHealthTimelineSession({
    ...definition,
    integrativeBase: definition.caregiverBase
  });
  const energy = /Daily Recovery|Recovery & Recharge|Energy|Vitality|Long Day|Recharge|Deep Recovery|Whole Body|Natural Vitality/i.test(definition.subjectEn);
  const emotionalLoad = /Emotional|Compassion Fatigue|Burnout|Tension|Healing|Difficult|Uncertainty|One Day|Peace|Stress|Hope|Strength|Courage|Resilient Heart|Compassion Without/i.test(definition.subjectEn) || definition.labelEn.includes("Emotional");
  const regulation = /Relaxation|Nervous|Parasympathetic|Vagus|Autonomic|Heart|Coherent|Breathing|Grounded/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Evening|Nighttime|Quiet Mind|Rest Well|Overnight|Sleep Habits/i.test(definition.subjectEn);
  const mental = /Mental|Clarity|Quiet the Mind|Reset|Focused|Boundaries|Perspective|Overload|Perfectionism|Expectations|Priorities|Calm Under Pressure/i.test(definition.subjectEn) || definition.labelEn.includes("Mental");
  const selfCare = /Self|Time for Yourself|Permission|Nurture|Restore Yourself|You Matter|Take Care|Guilt|Accepting Help|Giving|Receiving/i.test(definition.subjectEn);
  const spiritualCare = /Inner Peace|Finding Balance|Centered|Heart-Centered|Mindfulness|Meditation|Gratitude|Loving|Compassion Meditation|Sanctuary|Safe Place|Presence|Gift|Love in Action|Light Shining/i.test(definition.subjectEn) || definition.labelEn.includes("Spiritual");
  const family = /Family|Loved One|Together|Connected/i.test(definition.subjectEn);
  const conditionCare = /Dementia|Alzheimer|Parkinson|Cancer|Palliative|Autism|Special Needs|Chronic Illness|Young Caregiver|Sandwich/i.test(definition.subjectEn);
  const professional = /Professional|Healthcare|Nurse|Physician|Therapist|Social Worker|Care Team/i.test(definition.subjectEn);
  const selectedProfileText = professional ? {
    nl: "herstel, veerkracht en zelfzorg voor professionele zorgverleners",
    en: "recovery, resilience, and self-care for professional caregivers",
    marker: ["Zorgprofessional", "Care professional"]
  } : conditionCare ? {
    nl: "emotionele steun bij langdurige of intensieve mantelzorgsituaties",
    en: "emotional support for long-term or intensive caregiving situations",
    marker: ["Intensieve zorg", "Intensive care"]
  } : family ? {
    nl: "familiekracht, verbinding en samen door zorgmomenten bewegen",
    en: "family strength, connection, and moving through care moments together",
    marker: ["Samen zorgen", "Care together"]
  } : selfCare ? {
    nl: "zelfzorg, gezonde grenzen, rust nemen en hulp leren ontvangen",
    en: "self-care, healthy boundaries, resting, and learning to receive help",
    marker: ["Zelfzorg", "Self-care"]
  } : sleep ? {
    nl: "slaapherstel, avondrust en opladen na zorgbelasting",
    en: "sleep recovery, evening calm, and recharging after care load",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : regulation ? {
    nl: "zenuwstelselregulatie, ademrust en hartcoherentie",
    en: "nervous system regulation, breath calm, and heart coherence",
    marker: ["Regulatie", "Regulation"]
  } : mental ? {
    nl: "mentale helderheid, gezonde prioriteiten en minder overbelasting",
    en: "mental clarity, healthy priorities, and less overload",
    marker: ["Mentale ruimte", "Mental space"]
  } : energy ? {
    nl: "energieherstel, lichamelijke rust en zachte vitaliteit tussen zorgmomenten",
    en: "energy recovery, body calm, and gentle vitality between caregiving moments",
    marker: ["Energieherstel", "Energy recovery"]
  } : spiritualCare ? {
    nl: "mindfulness, compassie, aanwezigheid en innerlijke bedding",
    en: "mindfulness, compassion, presence, and inner support",
    marker: ["Compassie", "Compassion"]
  } : emotionalLoad ? {
    nl: "emotionele veerkracht, compassiemoeheid verzachten en innerlijke rust",
    en: "emotional resilience, easing compassion fatigue, and inner calm",
    marker: ["Emotionele veerkracht", "Emotional resilience"]
  } : {
    nl: "mantelzorgwelzijn, balans en herstelvriendelijke zelfzorg",
    en: "caregiver wellness, balance, and recovery-friendly self-care",
    marker: ["Mantelzorgbalans", "Caregiver balance"]
  };
  const durationSeconds = caregiverSession.durationSeconds;
  const base = definition.caregiverBase;
  const startFrequency = energy ? 6.8 : mental ? 7.0 : regulation ? 6.4 : sleep || spiritualCare || emotionalLoad || selfCare || conditionCare || professional ? 6.0 : 6.4;
  const settleFrequency = sleep ? 4.8 : spiritualCare || emotionalLoad || selfCare || conditionCare || professional ? 5.0 : regulation ? 5.4 : energy ? 5.8 : mental ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : spiritualCare || emotionalLoad || selfCare || conditionCare || professional ? base : regulation ? 5.4 : energy ? 6.0 : mental ? 6.6 : 5.6;
  const peakFrequency = Math.min(energy ? 7.0 : mental ? 7.2 : regulation ? 6.4 : sleep ? 5.4 : emotionalLoad || selfCare || conditionCare || professional || spiritualCare ? 6.0 : 6.6, 7.4);
  const endFrequency = sleep ? 4.2 : emotionalLoad || selfCare || conditionCare || professional || spiritualCare ? 4.8 : regulation ? 5.0 : energy || mental ? 5.6 : 5.0;
  const colorB = professional ? "#60a5fa" : conditionCare ? "#a78bfa" : family ? "#22c55e" : selfCare ? "#f472b6" : sleep ? "#1e293b" : regulation ? "#14b8a6" : mental ? "#38bdf8" : energy ? "#84cc16" : spiritualCare ? "#a78bfa" : "#f472b6";
  const colorC = professional || mental ? "#dbeafe" : conditionCare || spiritualCare ? "#ede9fe" : family || energy ? "#dcfce7" : selfCare || emotionalLoad ? "#fce7f3" : sleep ? "#e2e8f0" : regulation ? "#ccfbf1" : "#fdf2f8";
  const noiseType = sleep || emotionalLoad || selfCare || spiritualCare || conditionCare || professional || regulation ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritualCare || selfCare || emotionalLoad ? "hall" : "room";
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    spiritualCare || selfCare ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || emotionalLoad || professional || conditionCare ? "Drone" : mental || energy ? "Theta Soundscape" : "Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 16 : emotionalLoad || selfCare || spiritualCare || conditionCare || professional ? 20 : regulation ? 22 : mental || energy ? 26 : 22;
  const whitePeak = sleep ? 0 : emotionalLoad || selfCare || spiritualCare || conditionCare || professional ? 1 : regulation ? 2 : mental || energy ? 3 : 1;
  caregiverSession.subcategory = "caregiver-support";
  caregiverSession.goal = `Een verantwoorde Caregiver Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`;
  caregiverSession.goalEn = `A responsible Caregiver Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`;
  caregiverSession.musicCrossfadeSeconds = 34 + (definition.style % 5) * 3;
  caregiverSession.colorCrossfadeSeconds = 72 + (definition.style % 6) * 5;
  caregiverSession.timeline.noiseType = noiseType;
  caregiverSession.timeline.reverbPreset = reverbPreset;
  caregiverSession.timeline.auroraMode = spiritualCare || selfCare || emotionalLoad ? "subtle" : "off";
  caregiverSession.timeline.auroraSpeed = spiritualCare || selfCare || emotionalLoad ? 0.04 : 0.03;
  caregiverSession.timeline.auroraDepth = spiritualCare || selfCare || emotionalLoad ? 6 : 0;
  caregiverSession.timeline.markers = [
    { time: 0, name: "Ademruimte", nameEn: "Breathing room", purpose: "Start met lage intensiteit en nodigt de zorggever uit om even terug te keren naar zichzelf.", purposeEn: "Starts with low intensity and invites the caregiver to return to themselves for a moment." },
    { time: Math.round(durationSeconds * 0.16), name: "Ontladen", nameEn: "Release", purpose: "Bouwt rustig op naar ontspanning, emotionele ruimte en minder zorgspanning.", purposeEn: "Builds calmly toward relaxation, emotional space, and less caregiving tension." },
    { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende welzijnssessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
    { time: Math.round(durationSeconds * 0.62), name: "Herstelruimte", nameEn: "Recovery space", purpose: "Houdt audio, licht en frequenties mild en bruikbaar voor korte of langere herstelmomenten.", purposeEn: "Keeps audio, light, and frequencies mild and usable for short or longer recovery moments." },
    { time: Math.round(durationSeconds * 0.84), name: "Zelfzorg integreren", nameEn: "Integrate self-care", purpose: "Bouwt terug naar grenzen, compassie en rustige veerkracht voor het dagelijkse zorgen.", purposeEn: "Returns toward boundaries, compassion, and calm resilience for everyday caregiving." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en een zachte overgang.", purposeEn: "Ends with minimal intensity and a gentle transition." }
  ];
  caregiverSession.timeline.curves.frequency = [
    { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  caregiverSession.timeline.curves.audioFrequency = caregiverSession.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 2 ? 0.05 : 0.1)),
    audioMode: "binaural",
    audioPulseShape: "sine",
    pulseShape: "sine"
  }));
  caregiverSession.timeline.curves.rgb = [
    { time: 0, value: 1 },
    { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.34) },
    { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
    { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.54) },
    { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.2) },
    { time: durationSeconds, value: 1 }
  ];
  caregiverSession.timeline.curves.white = [
    { time: 0, value: 0 },
    { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
    { time: Math.round(durationSeconds * 0.38), value: whitePeak },
    { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
    { time: Math.round(durationSeconds * 0.84), value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  caregiverSession.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
    { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: caregiverSession.timeline.auroraMode, auroraSpeed: 0.04, auroraDepth: caregiverSession.timeline.auroraDepth ? 4 : 0 },
    { time: Math.round(durationSeconds * 0.38), value: definition.accent, ganzfeldMode: false, auroraMode: caregiverSession.timeline.auroraMode, auroraSpeed: 0.05, auroraDepth: caregiverSession.timeline.auroraDepth },
    { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: caregiverSession.timeline.auroraMode, auroraSpeed: 0.04, auroraDepth: caregiverSession.timeline.auroraDepth ? 5 : 0 },
    { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
  ];
  caregiverSession.allowedMusicMoods = musicMoods;
  return caregiverSession;
}

function createRecoveryChronicIllnessTimelineSession(definition) {
  const chronicSession = createRecoveryIntegrativeHealthTimelineSession({
    ...definition,
    integrativeBase: definition.chronicBase
  });
  const livingWell = /Living|Diagnosis|Confidence|Strength|Resilience|Thrive|Best Life|Fully|Flourishing|Diabetes|MS|Parkinson|Rheumatoid|Fibromyalgia|COPD|Heart Disease|Kidney Disease|Chronic Pain|Autoimmune/i.test(definition.subjectEn);
  const energy = /Energy|Vitality|Fatigue|Recharge|Restore Your Energy|Daily Vitality|Persistent/i.test(definition.subjectEn);
  const recovery = /Recovery|Renewal|Whole Body|Deep Recovery|Physical Stress|Wellness Every Day|Everyday Wellness|Daily Well/i.test(definition.subjectEn);
  const sleep = /Sleep|Deep Rest|Night|Evening|Quiet Nights|Peaceful Sleep/i.test(definition.subjectEn);
  const painComfort = /Pain|Comfort|Body Comfort|Relaxation|Living Comfortably/i.test(definition.subjectEn);
  const emotional = /Stress|Emotional|Inner Calm|Peace|Hope|Strength|Courage|One Day|Small Steps|Celebrate|Challenges|Confidence|Joy|Choose Hope/i.test(definition.subjectEn) || definition.labelEn.includes("Emotional");
  const cognitive = /Mental|Clear Mind|Brain Fog|Focused|Perspective|Mindset|Adaptability|Flexibility|Expectations|Building Resilience/i.test(definition.subjectEn) || definition.labelEn.includes("Mental");
  const regulation = /Nervous|Parasympathetic|Autonomic|Vagus|Heart|Coherent|Breathing|Grounded/i.test(definition.subjectEn);
  const movement = /Routine|Habits|Lifestyle|Move|Movement|Mobility|Body Awareness|Reconnect with Your Body/i.test(definition.subjectEn);
  const acceptance = /Self-Compassion|Compassion|Body Acceptance|Accepting|Trust Your Body|Rediscover|Embrace|Present Moment|Mindfulness|Meditation|Healing Light|Presence|Sanctuary|Stillness|Sacred|Purpose|Journey|Balanced Life/i.test(definition.subjectEn) || definition.labelEn.includes("Spiritual");
  const support = /Relationships|Family|Support|Care|Not Alone|Network|Communication|Boundaries|Help|Work|Independence/i.test(definition.subjectEn);
  const selectedProfileText = energy ? {
    nl: "energiebeheer, vermoeidheidsherstel en zachte dagelijkse vitaliteit",
    en: "energy management, fatigue recovery, and gentle everyday vitality",
    marker: ["Energiebalans", "Energy balance"]
  } : sleep ? {
    nl: "slaapondersteuning, diepe rust en nachtelijk herstel",
    en: "sleep support, deep rest, and nighttime recovery",
    marker: ["Slaapherstel", "Sleep recovery"]
  } : painComfort ? {
    nl: "lichamelijk comfort, ontspanning en vriendelijk omgaan met sensaties",
    en: "body comfort, relaxation, and a gentle relationship with sensations",
    marker: ["Comfort", "Comfort"]
  } : regulation ? {
    nl: "zenuwstelselregulatie, ademrust en hart-brein harmonie",
    en: "nervous system regulation, breath calm, and heart-brain harmony",
    marker: ["Regulatie", "Regulation"]
  } : cognitive ? {
    nl: "mentale helderheid, brain-fog herstel en adaptieve veerkracht",
    en: "mental clarity, brain fog recovery, and adaptive resilience",
    marker: ["Mentale helderheid", "Mental clarity"]
  } : movement ? {
    nl: "gezonde routines, zachte beweging en vertrouwen in het lichaam",
    en: "healthy routines, gentle movement, and confidence in the body",
    marker: ["Dagelijkse basis", "Daily foundation"]
  } : support ? {
    nl: "steunnetwerk, grenzen, communicatie en zelfstandigheid",
    en: "support network, boundaries, communication, and independence",
    marker: ["Steunnetwerk", "Support network"]
  } : acceptance ? {
    nl: "acceptatie, zelfcompassie, mindfulness en betekenis voorbij ziekte",
    en: "acceptance, self-compassion, mindfulness, and purpose beyond illness",
    marker: ["Acceptatie", "Acceptance"]
  } : livingWell ? {
    nl: "goed leven met chronische ziekte, vertrouwen en hoopvolle veerkracht",
    en: "living well with chronic illness, confidence, and hopeful resilience",
    marker: ["Goed leven", "Living well"]
  } : emotional ? {
    nl: "emotionele balans, hoop, innerlijke kracht en herstelvertrouwen",
    en: "emotional balance, hope, inner strength, and recovery confidence",
    marker: ["Emotionele veerkracht", "Emotional resilience"]
  } : recovery ? {
    nl: "herstel, dagelijkse wellness en hele-lichaamsbalans",
    en: "recovery, everyday wellness, and whole-body balance",
    marker: ["Herstel", "Recovery"]
  } : {
    nl: "ondersteuning bij chronische ziekte als verantwoorde welzijnssessie",
    en: "chronic illness support as a responsible wellness session",
    marker: ["Chronische steun", "Chronic support"]
  };
  const durationSeconds = chronicSession.durationSeconds;
  const base = definition.chronicBase;
  const startFrequency = energy || cognitive || movement ? 7.0 : regulation ? 6.4 : sleep || painComfort || emotional || acceptance || support || livingWell ? 6.0 : 6.4;
  const settleFrequency = sleep ? 4.8 : painComfort || emotional || acceptance || support || livingWell ? 5.0 : regulation ? 5.4 : energy || recovery ? 5.8 : cognitive || movement ? 6.2 : base;
  const coreFrequency = sleep ? 4.4 : painComfort || emotional || acceptance || support || livingWell ? base : regulation ? 5.4 : energy || recovery ? 6.0 : cognitive || movement ? 6.6 : 5.6;
  const peakFrequency = Math.min(energy || cognitive || movement ? 7.2 : regulation ? 6.4 : sleep ? 5.4 : painComfort || emotional || acceptance || support || livingWell ? 6.0 : 6.6, 7.6);
  const endFrequency = sleep ? 4.2 : painComfort || emotional || acceptance || support || livingWell ? 4.8 : regulation ? 5.0 : energy || recovery || cognitive || movement ? 5.6 : 5.0;
  const colorB = energy ? "#84cc16" : sleep ? "#1e293b" : painComfort ? "#14b8a6" : regulation ? "#22c55e" : cognitive ? "#38bdf8" : movement ? "#facc15" : support ? "#60a5fa" : acceptance ? "#a78bfa" : emotional || livingWell ? "#f472b6" : "#2dd4bf";
  const colorC = energy || regulation ? "#dcfce7" : sleep ? "#e2e8f0" : painComfort ? "#ccfbf1" : cognitive || support ? "#dbeafe" : movement ? "#fef3c7" : acceptance ? "#ede9fe" : emotional || livingWell ? "#fce7f3" : "#ecfeff";
  const noiseType = sleep || painComfort || emotional || acceptance || support || livingWell || regulation ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = acceptance || emotional || livingWell ? "hall" : "room";
  const musicMoods = [
    definition.mood,
    "Soft Soundscapes",
    acceptance ? "Meditation Bowls" : "Binaural Deep Meditation",
    sleep || painComfort || emotional || livingWell ? "Drone" : energy || cognitive || movement ? "Theta Soundscape" : "Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 16 : painComfort || emotional || acceptance || support || livingWell ? 20 : regulation || recovery ? 22 : energy || cognitive || movement ? 26 : 22;
  const whitePeak = sleep ? 0 : painComfort || emotional || acceptance || support || livingWell ? 1 : regulation || recovery ? 2 : energy || cognitive || movement ? 3 : 1;
  chronicSession.subcategory = "chronic-illness-support";
  chronicSession.goal = `Een verantwoorde Chronic Illness Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`;
  chronicSession.goalEn = `A responsible Chronic Illness Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`;
  chronicSession.musicCrossfadeSeconds = 34 + (definition.style % 5) * 3;
  chronicSession.colorCrossfadeSeconds = 72 + (definition.style % 6) * 5;
  chronicSession.timeline.noiseType = noiseType;
  chronicSession.timeline.reverbPreset = reverbPreset;
  chronicSession.timeline.auroraMode = acceptance || emotional || livingWell ? "subtle" : "off";
  chronicSession.timeline.auroraSpeed = acceptance || emotional || livingWell ? 0.04 : 0.03;
  chronicSession.timeline.auroraDepth = acceptance || emotional || livingWell ? 6 : 0;
  chronicSession.timeline.markers = [
    { time: 0, name: "Landen", nameEn: "Arrive", purpose: "Start met lage intensiteit en ruimte om even los te komen van dagelijkse belasting.", purposeEn: "Starts with low intensity and space to step away from daily load." },
    { time: Math.round(durationSeconds * 0.16), name: "Stabiliseren", nameEn: "Stabilize", purpose: "Bouwt rustig op richting ademrust, lichaamscomfort en voorspelbare regulatie.", purposeEn: "Builds calmly toward breath calm, body comfort, and predictable regulation." },
    { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende welzijnssessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
    { time: Math.round(durationSeconds * 0.62), name: "Draagkracht", nameEn: "Capacity", purpose: "Houdt licht, audio en frequenties mild en ondersteunt herstelvriendelijke draagkracht.", purposeEn: "Keeps light, audio, and frequencies mild while supporting recovery-friendly capacity." },
    { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar hoop, grenzen, dagelijkse balans en rustige veerkracht.", purposeEn: "Returns toward hope, boundaries, daily balance, and calm resilience." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met minimale intensiteit en een zachte overgang.", purposeEn: "Ends with minimal intensity and a gentle transition." }
  ];
  chronicSession.timeline.curves.frequency = [
    { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Theta Soundscape", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  chronicSession.timeline.curves.audioFrequency = chronicSession.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 2 ? 0.05 : 0.1)),
    audioMode: "binaural",
    audioPulseShape: "sine",
    pulseShape: "sine"
  }));
  chronicSession.timeline.curves.rgb = [
    { time: 0, value: 1 },
    { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.34) },
    { time: Math.round(durationSeconds * 0.38), value: rgbPeak },
    { time: Math.round(durationSeconds * 0.62), value: Math.round(rgbPeak * 0.54) },
    { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.2) },
    { time: durationSeconds, value: 1 }
  ];
  chronicSession.timeline.curves.white = [
    { time: 0, value: 0 },
    { time: Math.round(durationSeconds * 0.16), value: Math.max(0, Math.round(whitePeak * 0.3)) },
    { time: Math.round(durationSeconds * 0.38), value: whitePeak },
    { time: Math.round(durationSeconds * 0.62), value: Math.max(0, Math.round(whitePeak * 0.4)) },
    { time: Math.round(durationSeconds * 0.84), value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  chronicSession.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
    { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: chronicSession.timeline.auroraMode, auroraSpeed: 0.04, auroraDepth: chronicSession.timeline.auroraDepth ? 4 : 0 },
    { time: Math.round(durationSeconds * 0.38), value: definition.accent, ganzfeldMode: false, auroraMode: chronicSession.timeline.auroraMode, auroraSpeed: 0.05, auroraDepth: chronicSession.timeline.auroraDepth },
    { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: chronicSession.timeline.auroraMode, auroraSpeed: 0.04, auroraDepth: chronicSession.timeline.auroraDepth ? 5 : 0 },
    { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.03, auroraDepth: 0 }
  ];
  chronicSession.allowedMusicMoods = musicMoods;
  return chronicSession;
}

const generatedSessionFactories = new Map();

const SESSION_COLOR_MIN_CHANNEL = 184;
const SESSION_COLOR_BLACK_FALLBACK = "#b8d7ff";

function normalizeSessionColorBrightness(value) {
  const hex = String(value || "").trim();
  const match = /^#?([0-9a-f]{6})$/i.exec(hex);
  if (!match) return value;
  const clean = match[1];
  const channels = [0, 2, 4].map((offset) => parseInt(clean.slice(offset, offset + 2), 16));
  const maxChannel = Math.max(...channels);
  if (maxChannel >= SESSION_COLOR_MIN_CHANNEL) return `#${clean.toLowerCase()}`;
  if (maxChannel <= 0) return SESSION_COLOR_BLACK_FALLBACK;
  const scale = SESSION_COLOR_MIN_CHANNEL / maxChannel;
  const lifted = channels.map((channel) => Math.min(255, Math.round(channel * scale)));
  return `#${lifted.map((channel) => channel.toString(16).padStart(2, "0")).join("")}`;
}

function normalizeSessionColorCurveBrightness(program) {
  if (program?.category === BASELINE_SESSION_CATEGORY_ID || program?.requiresMuseSensorContact === true || program?.baselineKind) return program;
  const colorCurve = program?.timeline?.curves?.color;
  if (!Array.isArray(colorCurve) || colorCurve.length === 0) return program;
  colorCurve.forEach((point) => {
    if (!point || typeof point !== "object") return;
    point.value = normalizeSessionColorBrightness(point.value);
  });
  return program;
}

function scaleSessionRgbCurveToFullRange(program) {
  if (program?.category === BASELINE_SESSION_CATEGORY_ID || program?.requiresMuseSensorContact === true || program?.baselineKind) return program;
  const rgbCurve = program?.timeline?.curves?.rgb;
  if (!Array.isArray(rgbCurve) || rgbCurve.length === 0) return program;
  const maxRgb = rgbCurve.reduce((max, point) => {
    const value = Number(point?.value);
    return Number.isFinite(value) ? Math.max(max, value) : max;
  }, 0);
  if (maxRgb <= 0) return program;
  const scale = 100 / maxRgb;
  rgbCurve.forEach((point) => {
    if (!point || typeof point !== "object") return;
    const value = Number(point.value);
    if (!Number.isFinite(value)) return;
    point.value = Math.min(100, Math.max(0, Math.round(value * scale * 10) / 10));
  });
  return program;
}

function normalizeSessionLightCurves(program) {
  scaleSessionRgbCurveToFullRange(program);
  normalizeSessionColorCurveBrightness(program);
  return program;
}

function normalizeAllSessionLightCurves() {
  Object.values(sessionPrograms).forEach((program) => {
    if (!program?.lazyGeneratedSession) normalizeSessionLightCurves(program);
  });
}

function registerGeneratedTimelineSessions(definitions, category, subcategory, factory) {
  definitions.forEach((definition) => {
    if (!definition?.id || sessionPrograms[definition.id]) return;
    const placeholderGoal = definition.goal || definition.goalEn || (
      currentLanguage === "nl"
        ? "Gegenereerde NeuroSync Pro tijdlijnsessie."
        : "Generated NeuroSync Pro timeline session."
    );
    sessionPrograms[definition.id] = {
      id: definition.id,
      title: definition.title || definition.titleEn || definition.subject || definition.subjectEn || definition.id,
      titleEn: definition.titleEn || definition.title || definition.subjectEn || definition.subject || definition.id,
      goal: definition.goal || placeholderGoal,
      goalEn: definition.goalEn || definition.goal || placeholderGoal,
      category,
      subcategory,
      carrier: definition.carrier || 528,
      durationSeconds: definition.durationSeconds || 1800,
      sessionStructure: "timeline",
      searchTags: Array.isArray(definition.searchTags) ? definition.searchTags : [],
      lazyGeneratedSession: true
    };
    generatedSessionFactories.set(definition.id, () => ({
      ...factory(definition),
      id: definition.id
    }));
  });
}

function hydrateSessionProgram(programId) {
  const program = sessionPrograms[programId];
  if (!program?.lazyGeneratedSession) return program;
  const factory = generatedSessionFactories.get(programId);
  if (!factory) return program;
  const hydrated = normalizeSessionLightCurves(factory());
  sessionPrograms[programId] = hydrated;
  invalidateSessionProgramCache();
  return hydrated;
}

const DEDUPE_DOMAIN_KEYWORDS = {
  "morning-energy": ["morning", "wake", "sunrise", "ochtend", "wakker", "zonsopgang"],
  "mental-energy": ["mental", "brain", "focus", "cognitive", "mind", "mentaal", "brein", "focus", "cognitief", "geest"],
  "physical-energy": ["physical", "body", "stamina", "vitality", "fysiek", "lichaam", "uithoudingsvermogen", "vitaliteit"],
  "emotional-energy": ["emotional", "joy", "mood", "heart", "emotioneel", "vreugde", "stemming", "hart"],
  "recovery-recharge": ["recovery", "recharge", "restore", "fatigue", "herstel", "opladen", "vermoeidheid"],
  "sports-energy": ["sports", "athletic", "workout", "performance", "sport", "atletisch", "training", "prestatie"],
  motivation: ["motivation", "discipline", "goal", "success", "motivatie", "discipline", "doel", "succes"],
  "healthy-aging": ["aging", "senior", "longevity", "memory", "ouder", "senior", "levensduur", "geheugen"],
  "travel-jet-lag": ["travel", "jet", "flight", "time zone", "reis", "vlucht", "tijdzone"],
  "spiritual-energy": ["spiritual", "soul", "meditation", "consciousness", "spiritueel", "ziel", "meditatie", "bewustzijn"],
  biohacking: ["biohack", "optimization", "performance", "protocol", "biohack", "optimalisatie", "prestatie", "protocol"],
  sleep: ["sleep", "night", "dream", "delta", "slaap", "nacht", "droom"],
  "stress-anxiety": ["stress", "anxiety", "calm", "worry", "fear", "angst", "kalm", "piekeren", "zorg"],
  "heart-coherence": ["heart", "coherence", "hrv", "breathing", "hart", "coherentie", "adem"],
  "neurological-support": ["brain", "neural", "neurological", "nerve", "brain fog", "brein", "neuraal", "neurologisch", "zenuw"],
  "musculoskeletal-support": ["muscle", "joint", "mobility", "pain", "back", "spine", "spier", "gewricht", "mobiliteit", "pijn", "rug"],
  "cardiovascular-support": ["heart", "circulation", "blood", "cardio", "hart", "circulatie", "bloed"],
  "respiratory-support": ["breath", "lung", "respiratory", "oxygen", "adem", "long", "zuurstof"],
  "digestive-support": ["digest", "gut", "stomach", "bowel", "digestion", "spijs", "darm", "maag"],
  "immune-support": ["immune", "immunity", "infection", "defense", "immuun", "infectie", "afweer"],
  "hormonal-endocrine-support": ["hormone", "endocrine", "thyroid", "cortisol", "hormoon", "endocrien", "schildklier"],
  "womens-health": ["women", "female", "menstrual", "menopause", "woman", "vrouw", "menstruatie", "menopauze"],
  "mens-health": ["men", "male", "prostate", "testosterone", "man", "prostaat", "testosteron"],
  "pregnancy-parenthood": ["pregnancy", "parent", "birth", "postpartum", "zwanger", "ouder", "geboorte"],
  "recovery-rehabilitation": ["rehabilitation", "recovery", "healing", "movement", "revalidatie", "herstel", "beweging"],
  "functional-disorders": ["functional", "solk", "alk", "sensitization", "symptom", "functioneel", "symptoom"],
  "oncology-support": ["cancer", "oncology", "treatment", "chemo", "kanker", "oncologie", "behandeling"],
  "vision-eye-health": ["vision", "eye", "visual", "retina", "zicht", "oog", "visueel"],
  "hearing-tinnitus-support": ["hearing", "tinnitus", "auditory", "sound", "ear", "gehoor", "tinnitus", "auditief", "geluid", "oor"],
  "oral-dental-health": ["oral", "dental", "teeth", "jaw", "mouth", "mond", "tand", "kaak"],
  "genetic-rare-disorders": ["rare", "genetic", "syndrome", "condition", "zeldzaam", "genetisch", "syndroom"],
  "child-development-pediatric-support": ["child", "pediatric", "kids", "learning", "kind", "pediatrisch", "leren"],
  "neurodevelopmental-disorders": ["adhd", "autism", "sensory", "development", "neurodevelopmental", "autisme", "sensorisch", "ontwikkeling"],
  "wound-healing-tissue-recovery": ["wound", "tissue", "skin", "scar", "surgery", "wond", "weefsel", "huid", "litteken"],
  "pelvic-health": ["pelvic", "bladder", "prostate", "intimate", "bekken", "blaas", "prostaat"],
  "infectious-disease-recovery": ["infection", "viral", "covid", "flu", "infectie", "viraal", "griep"],
  "pre-post-surgery-support": ["surgery", "operation", "procedure", "pre", "post", "operatie", "ingreep"],
  "detox-lifestyle-support": ["lifestyle", "habit", "detox", "digital", "nutrition", "leefstijl", "gewoonte", "voeding"],
  "environmental-sensitivity-support": ["environment", "sensory", "noise", "light", "sensitivity", "omgeving", "sensorisch", "geluid", "licht", "gevoelig"],
  "medication-treatment-support": ["medication", "treatment", "therapy", "side effect", "medicatie", "behandeling", "therapie"],
  "diagnostic-medical-procedure-support": ["diagnostic", "procedure", "scan", "medical", "diagnostisch", "procedure", "onderzoek", "medisch"],
  "mind-body-medicine": ["mind", "body", "breathing", "meditation", "awareness", "geest", "lichaam", "adem", "meditatie"],
  "integrative-health": ["integrative", "whole", "wellness", "balance", "integratief", "heel", "welzijn", "balans"],
  "caregiver-support": ["caregiver", "care", "family", "support", "mantelzorg", "zorg", "familie"],
  "chronic-illness-support": ["chronic", "illness", "condition", "symptom", "chronisch", "ziekte", "aandoening", "symptoom"],
  "creative-thinking": ["creative", "idea", "thinking", "innovation", "creatief", "idee", "denken"],
  "arts-design": ["art", "design", "visual", "artist", "kunst", "ontwerp", "visueel"],
  "music-audio": ["music", "audio", "sound", "song", "muziek", "audio", "geluid"],
  "writing-storytelling": ["writing", "story", "book", "words", "schrijven", "verhaal", "woorden"],
  "business-innovation": ["business", "innovation", "startup", "market", "zakelijk", "innovatie", "markt"],
  "problem-solving": ["problem", "solution", "decision", "analysis", "probleem", "oplossing", "besluit", "analyse"],
  "flow-inspiration": ["flow", "inspiration", "momentum", "inspiratie"],
  "imagination-intuition": ["imagination", "intuition", "visualization", "vision", "verbeelding", "intuitie", "visualisatie", "visie"],
  "self-expression": ["expression", "voice", "authentic", "communication", "expressie", "stem", "authentiek", "communicatie"],
  "learning-creative-performance": ["learning", "study", "memory", "skill", "performance", "leren", "studie", "geheugen", "vaardigheid", "prestatie"],
  hypnose: ["hypnosis", "hypnose", "angst", "verslaving", "gedrag", "zelfbeeld"]
};

function dedupeNormalizeText(value) {
  return String(value || "")
    .toLowerCase()
    .normalize("NFD")
    .replace(/[\u0300-\u036f]/g, "")
    .replace(/[^a-z0-9]+/g, " ")
    .trim();
}

function dedupeTokenize(value) {
  const stopWords = new Set(["the", "and", "for", "with", "your", "you", "een", "het", "de", "van", "voor", "met", "en", "je", "jouw", "session", "sessie", "mental", "mentaal", "physical", "fysiek", "emotional", "emotioneel", "spiritual", "spiritueel"]);
  return dedupeNormalizeText(value)
    .split(/\s+/)
    .filter((token) => token.length > 2 && !stopWords.has(token));
}

function getSessionTitleForDedupe(program) {
  return currentLanguage === "en" && program.titleEn ? program.titleEn : program.title;
}

function scoreSessionTitleFit(program) {
  const title = getSessionTitleForDedupe(program);
  const titleEn = program.titleEn || "";
  const titleTokens = new Set([...dedupeTokenize(title), ...dedupeTokenize(titleEn)]);
  const categoryLabel = SESSION_CATEGORIES.find((category) => category.id === program.category);
  const subcategoryLabel = (SESSION_SUBCATEGORIES[program.category] || []).find((subcategory) => subcategory.id === program.subcategory);
  const categoryText = `${program.category} ${categoryLabel?.nl || ""} ${categoryLabel?.en || ""}`;
  const subcategoryText = `${program.subcategory || ""} ${subcategoryLabel?.nl || ""} ${subcategoryLabel?.en || ""}`;
  const goalText = `${program.goal || ""} ${program.goalEn || ""}`;
  const idText = program.id || "";
  let score = 0;
  const normalizedCategory = dedupeNormalizeText(categoryText);
  const normalizedSubcategory = dedupeNormalizeText(subcategoryText);
  const normalizedGoal = dedupeNormalizeText(goalText);
  const normalizedId = dedupeNormalizeText(idText);
  titleTokens.forEach((token) => {
    if (normalizedSubcategory.includes(token)) score += 24;
    if (normalizedCategory.includes(token)) score += 10;
    if (normalizedGoal.includes(token)) score += 4;
    if (normalizedId.includes(token)) score += 1;
  });
  const domainKeywords = DEDUPE_DOMAIN_KEYWORDS[program.subcategory] || DEDUPE_DOMAIN_KEYWORDS[program.category] || [];
  const titleText = dedupeNormalizeText(`${title} ${titleEn}`);
  domainKeywords.forEach((keyword) => {
    const normalizedKeyword = dedupeNormalizeText(keyword);
    if (normalizedKeyword && titleText.includes(normalizedKeyword)) score += 18;
  });
  if (program.category === "herstel-welzijn" && /^recovery-/.test(program.id || "")) score += 2;
  if (program.category === "creativiteit" && /creative|creatief|expression|expressie|flow|learning|leren|imagination|verbeelding/.test(titleText)) score += 6;
  if (program.category === "energie" && /energy|energie|vitality|vitaliteit|performance|prestatie/.test(titleText)) score += 6;
  return score;
}

function removeDuplicateSessionTitles() {
  const removeDuplicateKey = (keyName) => {
    const byTitle = new Map();
    Object.entries(sessionPrograms).forEach(([programId, program]) => {
      const title = program[keyName];
      if (!title) return;
      if (!byTitle.has(title)) byTitle.set(title, []);
      byTitle.get(title).push({ programId, program });
    });
    byTitle.forEach((entries) => {
      const existingPrograms = entries.filter(({ programId }) => sessionPrograms[programId]);
      if (existingPrograms.length < 2) return;
      const ranked = [...existingPrograms].sort((a, b) => {
        const scoreDelta = scoreSessionTitleFit(b.program) - scoreSessionTitleFit(a.program);
        if (scoreDelta) return scoreDelta;
        const specificityDelta = (String(b.program.subcategory || "").length + String(b.program.goal || "").length) - (String(a.program.subcategory || "").length + String(a.program.goal || "").length);
        if (specificityDelta) return specificityDelta;
        return String(a.programId).localeCompare(String(b.programId));
      });
      ranked.slice(1).forEach(({ programId }) => {
        delete sessionPrograms[programId];
        generatedSessionFactories.delete(programId);
      });
    });
  };
  removeDuplicateKey("title");
  removeDuplicateKey("titleEn");
}

function createRecoveryMusculoskeletalSupportTimelineSession(definition) {
  const durationProfiles = [1320, 1500, 1800, 2100, 1200, 1680, 1440, 1920, 1560, 1260, 1740, 1980];
  const durationSeconds = durationProfiles[definition.profile];
  const emotional = definition.labelEn.includes("Emotional");
  const mental = definition.labelEn.includes("Mental");
  const spiritual = definition.labelEn.includes("Spiritual");
  const joint = /Joint|Arthritis|Osteoarthritis|Rheumatoid|Knee|Hip|Ankle|Elbow|Shoulder|Wrist|Trigger Finger|Frozen Shoulder|Rotator|Replacement/i.test(definition.subjectEn);
  const muscle = /Muscle|Myofascial|Fascia|Cramp|Spasm|Tension|Relaxation|Stretch|Fatigue/i.test(definition.subjectEn);
  const posture = /Posture|Postural|Back|Spine|Spinal|Neck|Shoulder|Pelvic|Alignment|Structural|Desk/i.test(definition.subjectEn);
  const painComfort = /Pain|Comfort|Sciatica|Fibromyalgia|Stiff|Ache|Relief/i.test(definition.subjectEn);
  const tissue = /Tendon|Ligament|Connective|Soft Tissue|Bone|Bones|Osteoporosis|Heel|Achilles|Plantar/i.test(definition.subjectEn);
  const recovery = /Recovery|Rehabilitation|Surgery|Healing|Injury|Orthopedic|After|Work|Lifting/i.test(definition.subjectEn);
  const mobility = /Movement|Mobility|Move|Flexibility|Gait|Walking|Coordination|Balance|Stability|Functional|Active|Motion/i.test(definition.subjectEn);
  const confidence = /Fear|Confidence|Mindful|Awareness|Mind-Body/i.test(definition.subjectEn) || emotional || mental || spiritual;
  const selectedProfileText = painComfort ? {
    nl: "pijncomfort, lichaamsrust en een lagere prikkelbelasting",
    en: "pain comfort, body calm, and a lower stimulation load",
    marker: ["Comfortvenster", "Comfort window"]
  } : muscle ? {
    nl: "spierontspanning, spanningsafbouw en herstel na belasting",
    en: "muscle relaxation, tension release, and recovery after load",
    marker: ["Spierontspanning", "Muscle relaxation"]
  } : joint ? {
    nl: "gewrichtscomfort, mobiliteit en zachte bewegingsruimte",
    en: "joint comfort, mobility, and gentle movement space",
    marker: ["Gewrichtsruimte", "Joint space"]
  } : posture ? {
    nl: "houding, rug- en wervelkolomcomfort en structurele balans",
    en: "posture, back and spine comfort, and structural balance",
    marker: ["Houdingsbalans", "Postural balance"]
  } : tissue ? {
    nl: "bindweefselcomfort, pees- en botondersteuning en zachte herstelbeelden",
    en: "connective-tissue comfort, tendon and bone support, and gentle recovery imagery",
    marker: ["Weefselcomfort", "Tissue comfort"]
  } : recovery ? {
    nl: "fysieke heropbouw, revalidatieondersteuning en rustige herstelmobiliteit",
    en: "physical rebuilding, rehabilitation support, and calm recovery mobility",
    marker: ["Herstelmobiliteit", "Recovery mobility"]
  } : confidence ? {
    nl: "vertrouwen in beweging, lichaamsbewustzijn en ontspannen bewegingsbereidheid",
    en: "confidence in movement, body awareness, and relaxed readiness to move",
    marker: ["Bewegingsvertrouwen", "Movement confidence"]
  } : mobility ? {
    nl: "mobiliteit, functionele beweging en dagelijkse bewegingsvrijheid",
    en: "mobility, functional movement, and everyday freedom of movement",
    marker: ["Mobiliteitsflow", "Mobility flow"]
  } : {
    nl: "bewegingsapparaat welzijn, lichaamscomfort en stabiele fysieke balans",
    en: "musculoskeletal wellness, body comfort, and stable physical balance",
    marker: ["Lichaamsbalans", "Body balance"]
  };
  const startFrequency = painComfort ? 7.0 : muscle ? 7.4 : joint ? 8.0 : posture ? 8.4 : recovery ? 7.6 : mobility ? 8.6 : 7.8;
  const settleFrequency = painComfort ? 5.8 : muscle ? 6.2 : joint ? 6.8 : posture ? 7.2 : recovery ? 6.4 : mobility ? 7.4 : 6.6;
  const coreFrequency = painComfort ? 5.2 : muscle ? 5.8 : joint ? 6.4 : tissue ? 6.0 : posture ? 7.0 : recovery ? 6.2 : mobility ? 8.0 : 6.6;
  const peakFrequency = Math.min(definition.peak, painComfort ? 6.8 : muscle ? 7.4 : joint ? 8.2 : tissue ? 7.6 : recovery ? 8.0 : mobility ? 10.0 : 8.8);
  const endFrequency = painComfort || muscle ? 5.8 : recovery ? 6.2 : mobility || posture ? 7.2 : 6.6;
  const audioMode = painComfort || muscle || recovery ? "binaural" : definition.style % 4 === 0 ? "monaural" : "binaural";
  const pulseShape = painComfort || muscle ? "sine" : definition.style % 3 === 0 ? "triangle" : "sine";
  const noiseType = painComfort || muscle || recovery ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = painComfort || muscle ? "room" : posture || spiritual ? "hall" : "plate";
  const colorA = definition.accent;
  const colorB = painComfort ? "#334155" : muscle ? "#0f766e" : joint ? "#22c55e" : posture ? "#38bdf8" : tissue ? "#84cc16" : recovery ? "#14b8a6" : mobility ? "#facc15" : "#2dd4bf";
  const colorC = painComfort ? "#e2e8f0" : muscle ? "#dcfce7" : joint ? "#dcfce7" : posture ? "#dbeafe" : tissue ? "#ecfccb" : recovery ? "#ccfbf1" : "#fef3c7";
  const musicMoods = [
    definition.mood,
    painComfort || muscle ? "Soft Soundscapes" : "Ambient",
    recovery ? "Theta Soundscape" : "Binaural Deep Meditation",
    mobility || posture ? "Cinematic Ambient" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = painComfort ? 24 : muscle ? 28 : joint ? 34 : posture ? 38 : recovery ? 32 : mobility ? 46 : 36;
  const whitePeak = painComfort || muscle ? 3 : joint || recovery ? 5 : posture ? 7 : mobility ? 10 : 6;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "herstel-welzijn",
    subcategory: "musculoskeletal-support",
    goal: `Een verantwoorde Musculoskeletal Support-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Musculoskeletal Support session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 22 + (definition.style % 5) * 3,
    colorCrossfadeSeconds: 44 + (definition.style % 6) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: confidence || mobility ? "subtle" : "off",
      auroraSpeed: confidence || mobility ? 0.08 : 0.04,
      auroraDepth: confidence || mobility ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en een rustige overgang naar lichaamsbewustzijn.", purposeEn: "Starts with low intensity and a calm transition into body awareness." },
        { time: Math.round(durationSeconds * 0.16), name: "Ontspannen", nameEn: "Release", purpose: "Laat spanning en prikkelbelasting geleidelijk zakken.", purposeEn: "Gradually lowers tension and stimulation load." },
        { time: Math.round(durationSeconds * 0.38), name: selectedProfileText.marker[0], nameEn: selectedProfileText.marker[1], purpose: `Richt de kernfase op ${selectedProfileText.nl}, als ondersteunende wellness-sessie zonder medische claim.`, purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as a supportive wellness session without medical claims.` },
        { time: Math.round(durationSeconds * 0.62), name: mobility || posture ? "Bewegingsintegratie" : "Comfortstabilisatie", nameEn: mobility || posture ? "Movement integration" : "Comfort stabilization", purpose: "Houdt de stimulatie gelijkmatig voor comfort, mobiliteit en lichaamsrust.", purposeEn: "Keeps stimulation even for comfort, mobility, and body calm." },
        { time: Math.round(durationSeconds * 0.84), name: "Integratie", nameEn: "Integration", purpose: "Bouwt terug naar rustige aanwezigheid en praktisch lichaamscomfort.", purposeEn: "Returns toward calm presence and practical body comfort." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: settleFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: peakFrequency, musicMood: musicMoods[3] || "Ambient", noiseType: painComfort ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: (coreFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.15), musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(4, settleFrequency - 0.15), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(4, coreFrequency - 0.1), musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.62), value: Math.max(4, peakFrequency - 0.2), musicMood: musicMoods[3] || "Ambient", noiseType: painComfort ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.84), value: Math.max(4, (coreFrequency + endFrequency) / 2 - 0.15), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.52) },
          { time: Math.round(durationSeconds * 0.38), value: Math.round(rgbPeak * 0.78) },
          { time: Math.round(durationSeconds * 0.62), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.84), value: Math.round(rgbPeak * 0.42) },
          { time: durationSeconds, value: 4 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.42)) },
          { time: Math.round(durationSeconds * 0.38), value: Math.max(1, Math.round(whitePeak * 0.68)) },
          { time: Math.round(durationSeconds * 0.62), value: whitePeak },
          { time: Math.round(durationSeconds * 0.84), value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.16), value: painComfort || muscle ? 14 : 18 },
          { time: Math.round(durationSeconds * 0.38), value: painComfort || muscle ? 18 : mobility ? 30 : 24 },
          { time: Math.round(durationSeconds * 0.62), value: painComfort || muscle ? 16 : mobility ? 28 : 22 },
          { time: Math.round(durationSeconds * 0.84), value: 10 },
          { time: durationSeconds, value: 4 }
        ],
        musicVolume: [
          { time: 0, value: 22 },
          { time: Math.round(durationSeconds * 0.16), value: 36 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.38), value: 46 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.62), value: mobility ? 52 : 42 },
          { time: Math.round(durationSeconds * 0.84), value: 30 },
          { time: durationSeconds, value: 16 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : painComfort || muscle ? 9 : 5 },
          { time: Math.round(durationSeconds * 0.38), value: noiseType === "none" ? 0 : painComfort || muscle ? 11 : 5 },
          { time: Math.round(durationSeconds * 0.62), value: noiseType === "none" ? 0 : painComfort ? 8 : 2 },
          { time: Math.round(durationSeconds * 0.84), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: painComfort || muscle ? 18 : 15 },
          { time: Math.round(durationSeconds * 0.38), value: painComfort || muscle ? 22 : 20 },
          { time: Math.round(durationSeconds * 0.62), value: mobility || posture ? 24 : 20 },
          { time: Math.round(durationSeconds * 0.84), value: 14 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: painComfort || muscle ? 2.2 : 1.7 },
          { time: Math.round(durationSeconds * 0.38), value: painComfort || muscle ? 2.8 : 2.2 },
          { time: Math.round(durationSeconds * 0.62), value: mobility || posture ? 2.6 : 2.2 },
          { time: Math.round(durationSeconds * 0.84), value: 1.4 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: colorB, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.38), value: colorA, ganzfeldMode: false, auroraMode: confidence || mobility ? "subtle" : "off", auroraSpeed: 0.08, auroraDepth: confidence || mobility ? 10 : 0 },
          { time: Math.round(durationSeconds * 0.62), value: colorB, ganzfeldMode: false, auroraMode: confidence || mobility ? "subtle" : "off", auroraSpeed: 0.09, auroraDepth: confidence || mobility ? 14 : 0 },
          { time: Math.round(durationSeconds * 0.84), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 20,
    allowedMusicMoods: musicMoods
  };
}

function createBiohackingTimelineSession(definition) {
  const durationProfiles = [1080, 1200, 1500, 1680, 1320, 960, 1800, 900, 1440, 1560, 1020, 1260];
  const durationSeconds = durationProfiles[definition.profile];
  const physical = definition.labelEn.includes("Physical");
  const mental = definition.labelEn.includes("Mental");
  const emotional = definition.labelEn.includes("Emotional");
  const recovery = /Recovery|Recharge|Sleep|Nap|Evening|Wind Down|Vagus|Parasympathetic|Autonomic|Stress|Nervous|HRV|Heart/i.test(definition.subjectEn);
  const circadian = /Circadian|Body Clock|Rhythm|Morning|Afternoon|Evening/i.test(definition.subjectEn);
  const cellular = /Cellular|Mitochondrial|ATP|Metabolic|Metabolism|Energy Production|Hormonal|Biological Age|Longevity|Aging/i.test(definition.subjectEn);
  const breathing = /Breath|Breathing|Oxygen|Respiratory|Cold Exposure|Heat Adaptation/i.test(definition.subjectEn);
  const cognitive = /Brain|Neural|Cognitive|Mental|Focus|Attention|Memory|Learning|Decision|Reaction|Executive|Flow|Productivity|Creative|Innovation|Deep Work|Output/i.test(definition.subjectEn) || (mental && !physical);
  const performance = /Performance|Peak|Elite|Optimal|Maximum|Human|Biohacker|Upgrade|Readiness|Potential|Protocol|Mode|Future/i.test(definition.subjectEn);
  const resilience = /Resilience|Adaptability|Pressure|Adaptive/i.test(definition.subjectEn);
  const colorA = definition.accent;
  const colorB = recovery ? "#7dd3fc" : cellular ? "#22c55e" : breathing ? "#14b8a6" : cognitive ? "#60a5fa" : performance ? "#facc15" : resilience ? "#a855f7" : "#38bdf8";
  const colorC = recovery ? "#dbeafe" : cellular ? "#dcfce7" : breathing ? "#ccfbf1" : cognitive ? "#e0f2fe" : performance ? "#fef3c7" : resilience ? "#ede9fe" : "#e0f2fe";
  const profileText = [
    { nl: "integrale prestatie-optimalisatie, heldere energie en stabiele paraatheid", en: "whole-performance optimization, clear energy, and stable readiness", marker: ["Prestatie-optimalisatie", "Performance optimization"] },
    { nl: "biohacker reset, lichaam-geest afstemming en bruikbare focus", en: "biohacker reset, body-mind alignment, and usable focus", marker: ["Biohacker reset", "Biohacker reset"] },
    { nl: "hersteloptimalisatie, parasympathische rust en diepe recharge", en: "recovery optimization, parasympathetic calm, and deep recharge", marker: ["Herstelprotocol", "Recovery protocol"] },
    { nl: "slaapoptimalisatie, circadiane afbouw en rustige lichaamsklok", en: "sleep optimization, circadian wind-down, and a calm body clock", marker: ["Slaapoptimalisatie", "Sleep optimization"] },
    { nl: "cellulaire vitaliteit, energieproductie-ondersteuning en duurzame vitaliteit", en: "cellular vitality, energy-production support, and sustainable vitality", marker: ["Cellulaire energie", "Cellular energy"] },
    { nl: "ademhalingsefficientie, oxygenatie en autonome balans", en: "breathing efficiency, oxygenation, and autonomic balance", marker: ["Ademoptimalisatie", "Breathing optimization"] },
    { nl: "cognitieve prestatie, mentale helderheid en neurale synchronisatie", en: "cognitive performance, mental clarity, and neural synchronization", marker: ["Cognitieve upgrade", "Cognitive upgrade"] },
    { nl: "diepe focus, productiviteit en executieve output", en: "deep focus, productivity, and executive output", marker: ["Deep work", "Deep work"] },
    { nl: "flow, adaptieve prestatie en mentale veerkracht", en: "flow, adaptive performance, and mental resilience", marker: ["Adaptieve flow", "Adaptive flow"] },
    { nl: "longevity ondersteuning, gezond ritme en rustige vitaliteit", en: "longevity support, healthy rhythm, and calm vitality", marker: ["Longevity ondersteuning", "Longevity support"] },
    { nl: "presteren onder druk, besluitvorming en stabiele alertheid", en: "performance under pressure, decision-making, and stable alertness", marker: ["Onder druk presteren", "Pressure performance"] },
    { nl: "dagelijkse optimalisatie, ritueelvorming en geintegreerde readiness", en: "everyday optimization, ritual-building, and integrated readiness", marker: ["Dagelijkse optimalisatie", "Daily optimization"] }
  ][definition.profile];
  const selectedProfileText = recovery ? {
    nl: "hersteloptimalisatie, parasympathische rust en diepe recharge",
    en: "recovery optimization, parasympathetic calm, and deep recharge",
    marker: ["Herstelprotocol", "Recovery protocol"]
  } : cellular ? {
    nl: "cellulaire vitaliteit, energieproductie-ondersteuning en duurzame vitaliteit",
    en: "cellular vitality, energy-production support, and sustainable vitality",
    marker: ["Cellulaire energie", "Cellular energy"]
  } : breathing ? {
    nl: "ademhalingsefficientie, oxygenatie en autonome balans",
    en: "breathing efficiency, oxygenation, and autonomic balance",
    marker: ["Ademoptimalisatie", "Breathing optimization"]
  } : cognitive ? {
    nl: "cognitieve prestatie, mentale helderheid en neurale synchronisatie",
    en: "cognitive performance, mental clarity, and neural synchronization",
    marker: ["Cognitieve upgrade", "Cognitive upgrade"]
  } : resilience ? {
    nl: "flow, adaptieve prestatie en mentale veerkracht",
    en: "flow, adaptive performance, and mental resilience",
    marker: ["Adaptieve flow", "Adaptive flow"]
  } : performance ? {
    nl: "integrale prestatie-optimalisatie, heldere energie en stabiele paraatheid",
    en: "whole-performance optimization, clear energy, and stable readiness",
    marker: ["Prestatie-optimalisatie", "Performance optimization"]
  } : profileText;
  const startFrequency = recovery ? 8.0 : circadian ? 8.6 : cognitive ? 10.4 : breathing ? 8.8 : performance ? 11.2 : 9.4;
  const buildFrequency = recovery ? 9.0 : cellular ? 10.2 : cognitive ? 12.8 : performance ? 13.4 : breathing ? 10.0 : 11.0;
  const peak = Math.min(definition.peak + (cognitive || performance ? 0.5 : 0), recovery ? 10.0 : breathing ? 11.2 : cognitive ? 15.2 : 15.8);
  const lowFrequency = recovery ? 6.4 : circadian ? 7.4 : cellular ? 8.2 : breathing ? 7.8 : 8.8;
  const endFrequency = recovery ? 7.2 : cognitive ? 10.2 : performance ? 10.8 : breathing ? 8.4 : 8.8;
  const audioMode = recovery ? "binaural" : definition.style % 3 === 0 ? "isochronic-monaural" : definition.style % 3 === 1 ? "monaural" : "binaural";
  const pulseShape = recovery || breathing ? "sine" : definition.style % 4 === 0 ? "triangle" : "sine";
  const noiseType = recovery ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = recovery ? "hall" : breathing ? "room" : definition.style % 3 === 0 ? "plate" : "room";
  const musicMoods = [
    definition.mood,
    recovery ? "Binaural Deep Meditation" : performance ? "Uplifting Electronic Ambient" : "Cinematic Ambient",
    recovery ? "Theta Soundscape" : "Ambient",
    "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = recovery ? 34 : breathing ? 42 : cellular ? 46 : cognitive ? 58 : performance ? 66 : 52;
  const whitePeak = recovery ? 5 : breathing ? 8 : cellular ? 9 : cognitive ? 12 : performance ? 16 : 10;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "energie",
    subcategory: "biohacking",
    goal: `Een verantwoorde Biohacking-sessie rond ${definition.subject.toLowerCase()}, gericht op ${selectedProfileText.nl}.`,
    goalEn: `A responsible Biohacking session for ${definition.subjectEn.toLowerCase()}, focused on ${selectedProfileText.en}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 16 + (definition.style % 5) * 2,
    colorCrossfadeSeconds: 34 + (definition.style % 6) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: recovery ? "subtle" : definition.style % 5 === 0 ? "medium" : "subtle",
      auroraSpeed: recovery ? 0.09 : 0.16 + (definition.style % 5) * 0.02,
      auroraDepth: recovery ? 12 : 20 + (definition.style % 8) * 3,
      markers: [
        {
          time: 0,
          name: "Baseline",
          nameEn: "Baseline",
          purpose: "Start gecontroleerd met lage intensiteit, zodat de sessie bruikbaar blijft voor dagelijkse optimalisatie.",
          purposeEn: "Starts in a controlled way with low intensity, keeping the session usable for everyday optimization."
        },
        {
          time: Math.round(durationSeconds * 0.16),
          name: "Opbouw",
          nameEn: "Build",
          purpose: "Bouwt ritme, licht en audio stapsgewijs op zonder abrupte belasting.",
          purposeEn: "Builds rhythm, light, and audio step by step without abrupt load."
        },
        {
          time: Math.round(durationSeconds * 0.36),
          name: selectedProfileText.marker[0],
          nameEn: selectedProfileText.marker[1],
          purpose: `Richt de kernfase op ${selectedProfileText.nl}, als prestatie- en welzijnsondersteuning.`,
          purposeEn: `Focuses the core phase on ${selectedProfileText.en}, as performance and wellness support.`
        },
        {
          time: Math.round(durationSeconds * 0.58),
          name: recovery ? "Herstelvenster" : "Optimalisatievenster",
          nameEn: recovery ? "Recovery window" : "Optimization window",
          purpose: "Houdt de piek begrensd en laat frequenties vloeiend doorlopen.",
          purposeEn: "Keeps the peak limited and lets frequencies move smoothly."
        },
        {
          time: Math.round(durationSeconds * 0.8),
          name: "Integratie",
          nameEn: "Integration",
          purpose: "Brengt de stimulatie terug naar een stabiele en praktisch bruikbare staat.",
          purposeEn: "Returns stimulation toward a stable and practically usable state."
        },
        {
          time: durationSeconds,
          name: "Afronding",
          nameEn: "Close",
          purpose: "Rondt af met lagere intensiteit en een duidelijke overgang uit de sessie.",
          purposeEn: "Closes with lower intensity and a clear transition out of the session."
        }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: buildFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.36), value: Math.min(peak - 0.3, buildFrequency + 1), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.58), value: peak, musicMood: musicMoods[3] || definition.mood, noiseType: recovery ? noiseType : "none", reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.8), value: lowFrequency, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: recovery ? "brown" : "none", reverbPreset: recovery ? "hall" : "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: startFrequency - 0.2, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.16), value: buildFrequency - 0.2, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.36), value: Math.min(peak - 0.5, buildFrequency + 0.8), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.58), value: Math.max(4, peak - 0.2), musicMood: musicMoods[3] || definition.mood, noiseType: recovery ? noiseType : "none", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.8), value: Math.max(4, lowFrequency - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: recovery ? "brown" : "none", reverbPreset: recovery ? "hall" : "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.2), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "monaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 6 },
          { time: Math.round(durationSeconds * 0.16), value: Math.round(rgbPeak * 0.45) },
          { time: Math.round(durationSeconds * 0.36), value: Math.round(rgbPeak * 0.78) },
          { time: Math.round(durationSeconds * 0.58), value: rgbPeak },
          { time: Math.round(durationSeconds * 0.8), value: Math.round(rgbPeak * 0.46) },
          { time: durationSeconds, value: 7 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: Math.round(durationSeconds * 0.16), value: Math.max(1, Math.round(whitePeak * 0.42)) },
          { time: Math.round(durationSeconds * 0.36), value: Math.round(whitePeak * 0.72) },
          { time: Math.round(durationSeconds * 0.58), value: whitePeak },
          { time: Math.round(durationSeconds * 0.8), value: Math.max(1, Math.round(whitePeak * 0.35)) },
          { time: durationSeconds, value: 1 }
        ],
        pulseVolume: [
          { time: 0, value: 8 },
          { time: Math.round(durationSeconds * 0.16), value: recovery ? 16 : 24 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.36), value: recovery ? 22 : 36 + (definition.style % 6) * 2 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 18 : 44 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.8), value: recovery ? 12 : 26 },
          { time: durationSeconds, value: 7 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: Math.round(durationSeconds * 0.16), value: 40 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.36), value: 52 + (definition.style % 5) * 2 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 44 : 60 + (definition.style % 4) * 2 },
          { time: Math.round(durationSeconds * 0.8), value: 38 },
          { time: durationSeconds, value: 20 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: Math.round(durationSeconds * 0.16), value: noiseType === "none" ? 0 : 6 },
          { time: Math.round(durationSeconds * 0.36), value: noiseType === "none" ? 0 : 5 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 6 : 1 },
          { time: Math.round(durationSeconds * 0.8), value: recovery ? 3 : 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: Math.round(durationSeconds * 0.16), value: recovery ? 18 : 11 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.36), value: recovery ? 22 : 14 + (definition.style % 5) },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 24 : 12 + (definition.style % 4) },
          { time: Math.round(durationSeconds * 0.8), value: 12 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: Math.round(durationSeconds * 0.16), value: recovery ? 2.2 : 1.4 + (definition.style % 3) * 0.12 },
          { time: Math.round(durationSeconds * 0.36), value: recovery ? 2.8 : 1.8 + (definition.style % 4) * 0.12 },
          { time: Math.round(durationSeconds * 0.58), value: recovery ? 2.6 : 1.6 + (definition.style % 3) * 0.12 },
          { time: Math.round(durationSeconds * 0.8), value: 1.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#101827", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.07, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.16), value: "#1e293b", ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
          { time: Math.round(durationSeconds * 0.36), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.18, auroraDepth: 20 },
          { time: Math.round(durationSeconds * 0.58), value: colorA, ganzfeldMode: false, auroraMode: recovery ? "subtle" : definition.style % 5 === 0 ? "medium" : "subtle", auroraSpeed: recovery ? 0.11 : 0.24, auroraDepth: recovery ? 14 : 28 + (definition.style % 6) * 3 },
          { time: Math.round(durationSeconds * 0.8), value: colorC, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.14, auroraDepth: 12 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.07, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 12,
    allowedMusicMoods: musicMoods
  };
}

function createCreativeThinkingTimelineSession(definition) {
  const durationProfiles = [1080, 1200, 1320, 1500, 1680, 960, 1440, 1800, 1260, 1560, 1140, 1380];
  const durationSeconds = durationProfiles[definition.profile];
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const emotional = definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual");
  const flow = /Flow|Momentum|Performance|Productivity|Peak|Mastery|Brilliance|Success|Accelerator|Edge/i.test(subjectText);
  const ideas = /Idea|Brainstorm|Catalyst|Factory|Infinite|Inspiration|Inspired|Fresh|Spark/i.test(subjectText);
  const flexibility = /Outside|Patterns|Flexib|Adaptive|Lateral|Divergent|Convergent|Agility|Reframe|Perspective/i.test(subjectText);
  const visual = /Vision|Visualization|Imagination|Future|Dream|Possibilit|Quest|Masterpiece/i.test(subjectText);
  const blocks = /Block|Critic|Confidence|Courage|Fearless|Resilience|Freedom|Express/i.test(subjectText) || emotional;
  const innovation = /Innovation|Innovative|Invent|Entrepreneur|Leadership|Decision|Problem|Solution|Concept|Strategic|Designer|Creator/i.test(subjectText);
  const awareness = /Awareness|Authentic|Consciousness|Journey|Evolution|Transformation|Open Mind|Mind Expansion|Inner Creator|Beyond/i.test(subjectText) || spiritual;
  const profileText = blocks ? {
    nl: "creatief zelfvertrouwen, minder innerlijke remming en veilige expressie",
    en: "creative confidence, reduced inner inhibition, and safe expression",
    marker: ["Expressieruimte", "Expression space"]
  } : ideas ? {
    nl: "ideevorming, associatief denken en vrije brainstormenergie",
    en: "idea generation, associative thinking, and free brainstorming energy",
    marker: ["Ideeflow", "Idea flow"]
  } : flexibility ? {
    nl: "mentale flexibiliteit, herkaderen en het losmaken van vaste denkpatronen",
    en: "mental flexibility, reframing, and loosening fixed thinking patterns",
    marker: ["Denkruimte", "Thinking space"]
  } : visual ? {
    nl: "visuele verbeelding, toekomstbeelden en creatieve richting",
    en: "visual imagination, future imagery, and creative direction",
    marker: ["Visievorming", "Visioning"]
  } : innovation ? {
    nl: "innovatie, conceptontwikkeling en praktische doorbraakoplossingen",
    en: "innovation, concept development, and practical breakthrough solutions",
    marker: ["Innovatievenster", "Innovation window"]
  } : awareness ? {
    nl: "open bewustzijn, intuitie en authentieke creatieve aanwezigheid",
    en: "open awareness, intuition, and authentic creative presence",
    marker: ["Open bewustzijn", "Open awareness"]
  } : flow ? {
    nl: "creatieve flow, doelgerichte aandacht en soepel mentaal momentum",
    en: "creative flow, directed attention, and smooth mental momentum",
    marker: ["Flowkanaal", "Flow channel"]
  } : {
    nl: "helder creatief denken, nieuwsgierigheid en brede ideeverkenning",
    en: "clear creative thinking, curiosity, and broad idea exploration",
    marker: ["Creatieve kern", "Creative core"]
  };
  const startFrequency = awareness ? 8.0 : blocks ? 8.4 : visual ? 8.8 : ideas ? 9.4 : flexibility ? 9.8 : innovation ? 10.2 : 9.0;
  const openFrequency = awareness ? 7.2 : blocks ? 7.6 : visual ? 8.2 : ideas ? 10.4 : flexibility ? 10.8 : innovation ? 11.2 : 9.8;
  const buildFrequency = awareness ? 8.6 : blocks ? 9.0 : visual ? 10.2 : ideas ? 12.2 : flexibility ? 12.8 : innovation ? 13.2 : flow ? 12.6 : 11.6;
  const peakFrequency = Math.min(definition.peak, awareness ? 10.4 : blocks ? 10.8 : visual ? 12.2 : ideas ? 14.2 : flexibility ? 14.6 : innovation ? 15.0 : flow ? 14.4 : 13.6);
  const integrationFrequency = awareness ? 7.8 : blocks ? 8.2 : visual ? 9.0 : ideas ? 10.2 : flexibility ? 10.6 : innovation ? 11.0 : 9.8;
  const endFrequency = awareness ? 7.4 : blocks ? 7.8 : visual ? 8.2 : ideas || flexibility || innovation || flow ? 9.2 : 8.6;
  const audioMode = definition.style % 3 === 0 ? "isochronic-monaural" : definition.style % 3 === 1 ? "monaural" : "binaural";
  const pulseShape = flexibility || ideas || innovation ? "triangle" : "sine";
  const noiseType = blocks || awareness ? "pink" : definition.style % 6 === 0 ? "none" : "pink";
  const reverbPreset = awareness || visual ? "hall" : blocks ? "room" : definition.style % 4 === 0 ? "plate" : "room";
  const colorA = definition.accent;
  const colorB = ideas ? "#facc15" : flexibility ? "#38bdf8" : visual ? "#a78bfa" : innovation ? "#fb923c" : blocks ? "#f472b6" : awareness ? "#8b5cf6" : "#22c55e";
  const colorC = ideas ? "#fff7ed" : flexibility ? "#e0f2fe" : visual ? "#ede9fe" : innovation ? "#ffedd5" : blocks ? "#fce7f3" : awareness ? "#faf5ff" : "#dcfce7";
  const musicMoods = [
    definition.mood,
    ideas || innovation || flow ? "Uplifting Electronic Ambient" : "Cinematic Ambient",
    awareness || visual ? "Binaural Deep Meditation" : "Ambient",
    blocks ? "Soft Soundscapes" : awareness ? "Meditation Bowls" : "Drone",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = awareness ? 42 : blocks ? 46 : visual ? 52 : ideas ? 60 : flexibility ? 58 : innovation ? 64 : flow ? 62 : 54;
  const whitePeak = awareness ? 5 : blocks ? 6 : visual ? 8 : ideas ? 10 : flexibility ? 9 : innovation ? 12 : flow ? 11 : 8;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "creativiteit",
    subcategory: "creative-thinking",
    goal: `Een verantwoorde Creative Thinking-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt creatief proces, focus en verbeelding zonder medische claim.`,
    goalEn: `A responsible Creative Thinking session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports creative process, focus, and imagination without making medical claims.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 16 + (definition.style % 6) * 3,
    colorCrossfadeSeconds: 28 + (definition.style % 7) * 4,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: awareness || visual || flow ? "subtle" : definition.style % 4 === 0 ? "medium" : "off",
      auroraSpeed: awareness || visual ? 0.08 : 0.15 + (definition.style % 5) * 0.02,
      auroraDepth: awareness || visual ? 16 : flow ? 20 : definition.style % 4 === 0 ? 24 : 0,
      markers: [
        { time: 0, name: "Oriëntatie", nameEn: "Orientation", purpose: "Start met lage intensiteit en een helder, rustig aandachtsveld.", purposeEn: "Starts with low intensity and a clear, calm attentional field." },
        { time: t1, name: "Open aandacht", nameEn: "Open attention", purpose: "Verbreedt de aandacht en maakt ruimte voor associaties.", purposeEn: "Broadens attention and creates room for associations." },
        { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kern op ${profileText.nl}.`, purposeEn: `Focuses the core on ${profileText.en}.` },
        { time: t3, name: ideas || innovation ? "Ideepiek" : "Creatieve piek", nameEn: ideas || innovation ? "Idea peak" : "Creative peak", purpose: "Brengt ritme, kleur en audio naar een begrensde activatiefase voor creatief werk.", purposeEn: "Brings rhythm, color, and audio into a bounded activation phase for creative work." },
        { time: t4, name: "Selectie", nameEn: "Selection", purpose: "Helpt losse ideeen ordenen naar bruikbare inzichten en richting.", purposeEn: "Helps organize loose ideas into usable insights and direction." },
        { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar kalme helderheid en praktische creatieve vervolgstappen.", purposeEn: "Downshifts toward calm clarity and practical creative next steps." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: t1, value: openFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: t2, value: buildFrequency, musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: t3, value: peakFrequency, musicMood: musicMoods[3] || definition.mood, noiseType: noiseType === "none" ? "none" : "pink", reverbPreset, lightPulseShape: pulseShape },
          { time: t4, value: integrationFrequency, musicMood: musicMoods[2] || "Ambient", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: t5, value: (integrationFrequency + endFrequency) / 2, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.2), musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: t1, value: Math.max(4, openFrequency - 0.15), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: t2, value: Math.max(4, buildFrequency - 0.25), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: t3, value: Math.max(4, peakFrequency - 0.3), musicMood: musicMoods[3] || definition.mood, noiseType: noiseType === "none" ? "none" : "pink", reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: t4, value: Math.max(4, integrationFrequency - 0.15), musicMood: musicMoods[2] || "Ambient", noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: t5, value: Math.max(4, (integrationFrequency + endFrequency) / 2 - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: "none", reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 5 },
          { time: t1, value: Math.round(rgbPeak * 0.42) },
          { time: t2, value: Math.round(rgbPeak * 0.72) },
          { time: t3, value: rgbPeak },
          { time: t4, value: Math.round(rgbPeak * 0.55) },
          { time: t5, value: Math.round(rgbPeak * 0.3) },
          { time: durationSeconds, value: 5 }
        ],
        white: [
          { time: 0, value: 1 },
          { time: t1, value: Math.max(1, Math.round(whitePeak * 0.35)) },
          { time: t2, value: Math.round(whitePeak * 0.65) },
          { time: t3, value: whitePeak },
          { time: t4, value: Math.max(1, Math.round(whitePeak * 0.45)) },
          { time: t5, value: 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 7 },
          { time: t1, value: 18 + (definition.style % 4) * 2 },
          { time: t2, value: 28 + (definition.style % 5) * 2 },
          { time: t3, value: blocks || awareness ? 28 : 38 + (definition.style % 5) * 2 },
          { time: t4, value: 24 },
          { time: t5, value: 13 },
          { time: durationSeconds, value: 5 }
        ],
        musicVolume: [
          { time: 0, value: 24 },
          { time: t1, value: 42 },
          { time: t2, value: 52 + (definition.style % 4) * 2 },
          { time: t3, value: 60 + (definition.style % 5) * 2 },
          { time: t4, value: 48 },
          { time: t5, value: 34 },
          { time: durationSeconds, value: 18 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 2 },
          { time: t1, value: noiseType === "none" ? 0 : 5 },
          { time: t2, value: noiseType === "none" ? 0 : blocks || awareness ? 8 : 4 },
          { time: t3, value: noiseType === "none" ? 0 : blocks || awareness ? 7 : 2 },
          { time: t4, value: 0 },
          { time: t5, value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 8 },
          { time: t1, value: 14 + (definition.style % 4) * 2 },
          { time: t2, value: awareness || visual ? 30 : 18 + (definition.style % 5) },
          { time: t3, value: awareness || visual ? 38 : 20 + (definition.style % 4) },
          { time: t4, value: 18 },
          { time: t5, value: 12 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.0 },
          { time: t1, value: 1.6 + (definition.style % 3) * 0.2 },
          { time: t2, value: awareness || visual ? 3.8 : 2.0 + (definition.style % 4) * 0.15 },
          { time: t3, value: awareness || visual ? 4.8 : 2.2 + (definition.style % 4) * 0.15 },
          { time: t4, value: 1.8 },
          { time: t5, value: 1.2 },
          { time: durationSeconds, value: 0.6 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
          { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
          { time: t2, value: colorA, ganzfeldMode: false, auroraMode: awareness || visual || flow ? "subtle" : "off", auroraSpeed: 0.14, auroraDepth: awareness || visual || flow ? 16 : 0 },
          { time: t3, value: colorA, ganzfeldMode: awareness && definition.style % 3 === 0, auroraMode: awareness || visual || flow ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: awareness || visual ? 0.12 : 0.2, auroraDepth: awareness || visual || flow ? 28 : definition.style % 4 === 0 ? 18 : 0 },
          { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
          { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
          { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 14,
    allowedMusicMoods: musicMoods
  };
}

function createArtsDesignTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const drawing = /Sketch|Drawing|Illustration|Tekenen|schets|Illustratie/i.test(subjectText);
  const painting = /Painting|Watercolor|Color|Schilder|Aquarel|Kleur/i.test(subjectText);
  const design = /Design|Logo|Brand|Typography|Layout|Composition|Architecture|Interior|Landscape|Industrial|Product|Fashion|Jewelry|Designer/i.test(subjectText);
  const photoFilm = /Photography|Photo|Cinematic|Film|Video|Animation|Motion|3D|Fotografie|Foto|Film|Video|Animatie/i.test(subjectText);
  const maker = /Craft|Handmade|Sculpture|Ceramic|Woodworking|Maker|Vakmanschap|Handgemaakt|Beeldhouw|Keram/i.test(subjectText);
  const expressive = /Expression|Freedom|Confidence|Courage|Heart|Joy|Fulfillment|Healing|Critic|Fearless|Express|Zelfexpressie|vertrouwen|moed|hart|vreugde/i.test(subjectText);
  const spiritual = definition.labelEn.includes("Spiritual") || /Mindful|Meditation|Nature|Soul|Presence|Abundance|Canvas|Beauty|Ritual|Spiritueel|Meditatie|Natuur|Ziel/i.test(subjectText);
  const profileText = drawing ? {
    nl: "schetsvaardigheid, lijngevoel en ontspannen visuele ideevorming",
    en: "sketching skill, line awareness, and relaxed visual ideation",
    marker: ["Schetsruimte", "Sketch space"]
  } : painting ? {
    nl: "kleurgevoel, schilderflow en expressieve compositie",
    en: "color sense, painting flow, and expressive composition",
    marker: ["Kleurflow", "Color flow"]
  } : design ? {
    nl: "designfocus, concepthelderheid en visuele besluitvorming",
    en: "design focus, concept clarity, and visual decision-making",
    marker: ["Designkern", "Design core"]
  } : photoFilm ? {
    nl: "visuele observatie, montagefocus en cinematografisch denken",
    en: "visual observation, editing focus, and cinematic thinking",
    marker: ["Visueel kader", "Visual frame"]
  } : maker ? {
    nl: "makerflow, tactiele aandacht en vakmanschap met rustige precisie",
    en: "maker flow, tactile attention, and craftsmanship with calm precision",
    marker: ["Makerflow", "Maker flow"]
  } : expressive ? {
    nl: "authentieke expressie, creatief vertrouwen en emotionele ruimte",
    en: "authentic expression, creative confidence, and emotional space",
    marker: ["Expressieve kern", "Expressive core"]
  } : spiritual ? {
    nl: "mindful creatie, inspiratie en open artistieke aanwezigheid",
    en: "mindful creation, inspiration, and open artistic presence",
    marker: ["Artistieke aanwezigheid", "Artistic presence"]
  } : {
    nl: "artistieke inspiratie, visuele verkenning en creatieve uitvoering",
    en: "artistic inspiration, visual exploration, and creative execution",
    marker: ["Atelierfocus", "Studio focus"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = drawing ? "#38bdf8" : painting ? "#f97316" : design ? "#facc15" : photoFilm ? "#60a5fa" : maker ? "#84cc16" : expressive ? "#ec4899" : spiritual ? "#8b5cf6" : "#14b8a6";
  const colorC = drawing ? "#e0f2fe" : painting ? "#ffedd5" : design ? "#fef3c7" : photoFilm ? "#dbeafe" : maker ? "#ecfccb" : expressive ? "#fce7f3" : spiritual ? "#ede9fe" : "#ccfbf1";
  const rgbPeak = design ? 66 : painting ? 64 : photoFilm ? 60 : drawing ? 54 : maker ? 50 : expressive ? 48 : spiritual ? 42 : 56;
  const whitePeak = design || photoFilm ? 12 : painting ? 10 : drawing ? 8 : maker ? 7 : expressive ? 5 : spiritual ? 4 : 8;
  const frequencyProfile = drawing ? [8.8, 9.8, 11.2, 12.4, 10.2, 9.0, 8.2] :
    painting ? [8.4, 9.6, 11.8, 13.2, 9.8, 8.8, 7.8] :
    design ? [9.2, 10.8, 12.6, Math.min(definition.peak, 14.8), 11.2, 9.8, 8.8] :
    photoFilm ? [9.0, 10.2, 12.2, 13.8, 11.0, 9.4, 8.6] :
    maker ? [8.2, 9.0, 10.4, 11.6, 9.6, 8.6, 7.8] :
    expressive ? [8.0, 8.8, 10.2, 11.0, 8.8, 7.8, 7.2] :
    spiritual ? [7.4, 8.2, 9.4, 10.2, 8.4, 7.4, 6.8] :
    [8.6, 9.8, 11.4, 12.8, 10.2, 9.0, 8.2];
  const musicMoods = [
    definition.mood,
    design || photoFilm ? "Cinematic Ambient" : painting || drawing ? "Ambient" : "Soft Soundscapes",
    expressive || spiritual ? "Binaural Deep Meditation" : "Uplifting Electronic Ambient",
    spiritual ? "Meditation Bowls" : maker ? "Drone" : "Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = expressive || spiritual ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritual || painting ? "hall" : photoFilm ? "plate" : "room";
  const pulseShape = design || photoFilm ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "arts-design";
  session.goal = `Een verantwoorde Arts & Design-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt creatief proces, visuele focus en expressie zonder medische claim.`;
  session.goalEn = `A responsible Arts & Design session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports creative process, visual focus, and expression without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 18 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 30 + (definition.style % 7) * 4;
  session.audioMode = design || photoFilm ? "isochronic-monaural" : session.audioMode;
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = spiritual || expressive || painting ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = spiritual ? 0.08 : painting || expressive ? 0.12 : 0.17;
  session.timeline.auroraDepth = spiritual ? 18 : painting || expressive ? 20 : definition.style % 4 === 0 ? 24 : 0;
  session.timeline.markers = [
    { time: 0, name: "Atelierstart", nameEn: "Studio start", purpose: "Start met lage intensiteit en een rustige overgang naar visuele aandacht.", purposeEn: "Starts with low intensity and a calm transition into visual attention." },
    { time: t1, name: "Waarnemen", nameEn: "Observe", purpose: "Verbreedt observatie, materiaalgevoel en open creatieve aandacht.", purposeEn: "Broadens observation, material sense, and open creative attention." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: design ? "Ontwerpbeslissing" : painting ? "Kleurpiek" : photoFilm ? "Kadrering" : "Creatieve piek", nameEn: design ? "Design decision" : painting ? "Color peak" : photoFilm ? "Framing" : "Creative peak", purpose: "Brengt ritme, kleur en audio naar een begrensde productieve fase.", purposeEn: "Brings rhythm, color, and audio into a bounded productive phase." },
    { time: t4, name: "Vormgeven", nameEn: "Shape", purpose: "Helpt losse indrukken omzetten naar compositie, vorm en uitvoerbare keuzes.", purposeEn: "Helps turn loose impressions into composition, form, and executable choices." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid voor nabewerking, selectie of afronding.", purposeEn: "Downshifts toward calm clarity for editing, selection, or completion." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = [
    { time: 0, value: frequencyProfile[0], musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: t1, value: frequencyProfile[1], musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t2, value: frequencyProfile[2], musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t3, value: frequencyProfile[3], musicMood: musicMoods[3] || definition.mood, noiseType: noiseType === "none" ? "none" : "pink", reverbPreset, lightPulseShape: pulseShape },
    { time: t4, value: frequencyProfile[4], musicMood: musicMoods[2] || "Ambient", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: t5, value: frequencyProfile[5], musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: frequencyProfile[6], musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.25 : 0.12)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.4) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.56) },
    { time: t5, value: Math.round(rgbPeak * 0.28) },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.35)) },
    { time: t2, value: Math.round(whitePeak * 0.62) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.42)) },
    { time: t5, value: 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: maker || expressive || spiritual ? 16 : 22 },
    { time: t2, value: design || photoFilm ? 34 : painting ? 30 : 26 },
    { time: t3, value: design || photoFilm ? 44 : painting ? 38 : expressive || spiritual ? 28 : 34 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 40 },
    { time: t2, value: 52 },
    { time: t3, value: design || photoFilm ? 64 : 58 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : expressive || spiritual ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : expressive || spiritual ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: spiritual || painting ? 30 : photoFilm ? 24 : 18 },
    { time: t3, value: spiritual || painting ? 40 : photoFilm ? 28 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.6 },
    { time: t2, value: spiritual || painting ? 3.8 : photoFilm ? 2.8 : 2 },
    { time: t3, value: spiritual || painting ? 4.8 : photoFilm ? 3.2 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: spiritual || expressive || painting ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: spiritual || expressive || painting ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: spiritual && definition.style % 4 === 0, auroraMode: spiritual || expressive || painting ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: spiritual ? 0.1 : 0.18, auroraDepth: spiritual || expressive || painting ? 28 : definition.style % 4 === 0 ? 20 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createMusicAudioTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const composition = /Composition|Composing|Composer|Songwriting|Lyric|Melody|Harmony|Chord|Arrangement|Orchestration|Score|Compositie|Compon|Songwriting|Songtekst|Melodie|Harmonie|Akkoord|Arrangement|Filmmuziek/i.test(subjectText);
  const performance = /Performance|Stage|Concert|Audition|Competition|Piano|Guitar|Drum|Bass|String|Wind|Brass|Percussion|Keyboard|Instrument|Choir|Singing|Singer|Vocal|Voice|Prestatie|Podium|Concert|Auditie|Piano|Gitaar|Drum|Bas|Koor|Zang|Stem/i.test(subjectText);
  const vocal = /Vocal|Voice|Singing|Choir|Narration|Voice Acting|Stem|Zang|Koor|Vertelstem/i.test(subjectText);
  const production = /Production|Studio|Recording|Mixing|Mastering|Engineering|Sound Design|Electronic|Beat|DJ|Podcast|Audio|Soundscape|Game Audio|Producer|Opname|Mix|Mastering|Sounddesign|Beat|Podcast|Producer/i.test(subjectText);
  const learning = /Learning|Learn|Memory|Ear Training|Pitch|Rhythm Training|Timing|Sight Reading|Theory|Practice|Discipline|Instrument|Leren|Geheugen|Gehoor|Ritme|Timing|Bladmuziek|Theorie|Oefen|Discipline/i.test(subjectText);
  const confidence = /Confidence|Stage Fright|Calm|Fearless|Heartfelt|Emotion|Passion|Connection|Authentic|Express|Joy|Zelfvertrouwen|Podiumangst|Rust|Passie|Verbinding|Authentiek|Vreugde/i.test(subjectText) || definition.labelEn.includes("Emotional");
  const improv = /Improvisation|Jazz|Freestyle|Exploration|Experimentation|Original|Innovative|Discovery|Improvisatie|Freestyle|Verkenning|Experiment|Origineel|Innovatief|Ontdekking/i.test(subjectText);
  const listening = /Meditation|Listening|Resonance|Harmony Within|Soul|Mindfulness|Sacred|Healing|Presence|Within|Meditatie|Luisteren|Resonantie|Ziel|Mindfulness|Klankreis|Heling|Aanwezigheid/i.test(subjectText) || definition.labelEn.includes("Spiritual");
  const bodyVoice = definition.labelEn.includes("Physical") || /Healthy Voice|Vocal Relaxation|Gezonde stem|Vocale ontspanning/i.test(subjectText);
  const profileText = vocal ? {
    nl: "stemfocus, ademruimte, vocale controle en expressieve zangzekerheid",
    en: "voice focus, breathing space, vocal control, and expressive singing confidence",
    marker: ["Stemkanaal", "Voice channel"]
  } : production ? {
    nl: "studiofocus, sounddesign, auditieve precisie en productieve audiobeslissingen",
    en: "studio focus, sound design, auditory precision, and productive audio decisions",
    marker: ["Studiokern", "Studio core"]
  } : composition ? {
    nl: "compositie, melodische ideevorming, harmonie en muzikale verhaallijn",
    en: "composition, melodic ideation, harmony, and musical storytelling",
    marker: ["Compositieflow", "Composition flow"]
  } : learning ? {
    nl: "muzikaal leren, timing, geheugen en nauwkeurige oefenaandacht",
    en: "music learning, timing, memory, and precise practice attention",
    marker: ["Oefenfocus", "Practice focus"]
  } : improv ? {
    nl: "improvisatie, muzikale verkenning en vrije ritmische respons",
    en: "improvisation, musical exploration, and free rhythmic response",
    marker: ["Improvisatievenster", "Improvisation window"]
  } : listening ? {
    nl: "diep luisteren, resonantie, mindful klankbewustzijn en innerlijke harmonie",
    en: "deep listening, resonance, mindful sound awareness, and inner harmony",
    marker: ["Luisterruimte", "Listening space"]
  } : confidence ? {
    nl: "podiumvertrouwen, emotionele expressie en ontspannen muzikale aanwezigheid",
    en: "stage confidence, emotional expression, and relaxed musical presence",
    marker: ["Podiumanker", "Stage anchor"]
  } : performance ? {
    nl: "muzikale performance, ritmische precisie en gefocuste uitvoering",
    en: "musical performance, rhythmic precision, and focused execution",
    marker: ["Performancekern", "Performance core"]
  } : {
    nl: "muzikale inspiratie, creatief luisteren en vloeiende audiogerichte aandacht",
    en: "musical inspiration, creative listening, and fluid audio-oriented attention",
    marker: ["Muzikale kern", "Musical core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = vocal ? "#fb7185" : production ? "#38bdf8" : composition ? "#facc15" : learning ? "#22c55e" : improv ? "#f97316" : listening ? "#8b5cf6" : confidence ? "#ec4899" : performance ? "#60a5fa" : "#14b8a6";
  const colorC = vocal ? "#ffe4e6" : production ? "#e0f2fe" : composition ? "#fef3c7" : learning ? "#dcfce7" : improv ? "#ffedd5" : listening ? "#ede9fe" : confidence ? "#fce7f3" : performance ? "#dbeafe" : "#ccfbf1";
  const rgbPeak = bodyVoice ? 30 : listening ? 40 : confidence ? 44 : learning ? 48 : vocal ? 50 : composition ? 56 : performance ? 62 : production ? 64 : improv ? 60 : 52;
  const whitePeak = bodyVoice ? 3 : listening ? 4 : confidence ? 5 : learning ? 7 : vocal ? 6 : composition ? 8 : performance ? 11 : production ? 12 : improv ? 9 : 7;
  const frequencyProfile = bodyVoice ? [7.4, 7.8, 8.2, 8.8, 7.6, 6.8, 6.2] :
    listening ? [7.0, 7.8, 8.6, 9.6, 7.8, 7.0, 6.4] :
    confidence ? [8.0, 8.8, 10.0, 11.0, 8.8, 7.8, 7.2] :
    learning ? [8.8, 10.0, 11.6, 12.8, 10.4, 9.2, 8.4] :
    vocal ? [8.2, 9.0, 10.4, 11.4, 9.2, 8.0, 7.4] :
    composition ? [8.6, 9.8, 11.8, 13.4, 10.2, 9.0, 8.2] :
    production ? [9.2, 10.8, 12.8, Math.min(definition.peak, 15.2), 11.0, 9.6, 8.8] :
    improv ? [8.8, 10.4, 12.4, 14.2, 10.6, 9.0, 8.2] :
    performance ? [9.0, 10.2, 12.2, 14.0, 10.8, 9.4, 8.6] :
    [8.4, 9.6, 11.2, 12.6, 10.0, 8.8, 8.0];
  const musicMoods = [
    definition.mood,
    production || performance ? "Uplifting Electronic Ambient" : composition || improv ? "Cinematic Ambient" : "Ambient",
    listening || confidence || bodyVoice ? "Binaural Deep Meditation" : "Ambient",
    listening ? "Meditation Bowls" : production ? "Drone" : "Soft Soundscapes",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = listening || confidence || bodyVoice ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = listening || composition || vocal ? "hall" : production ? "plate" : "room";
  const pulseShape = production || performance || improv ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "music-audio";
  session.goal = `Een verantwoorde Music & Audio-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt muzikaal proces, luisterfocus en expressie zonder medische claim.`;
  session.goalEn = `A responsible Music & Audio session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports musical process, listening focus, and expression without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 18 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 28 + (definition.style % 7) * 4;
  session.audioMode = production || performance || improv ? "isochronic-monaural" : listening || confidence || bodyVoice ? "binaural" : session.audioMode;
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = listening || confidence || composition ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = listening ? 0.08 : composition || confidence ? 0.12 : 0.18;
  session.timeline.auroraDepth = listening ? 18 : composition || confidence ? 20 : definition.style % 4 === 0 ? 24 : 0;
  session.timeline.markers = [
    { time: 0, name: "Stemmen", nameEn: "Tune in", purpose: "Start met lage intensiteit en een rustige overgang naar auditieve aandacht.", purposeEn: "Starts with low intensity and a calm transition into auditory attention." },
    { time: t1, name: "Luisteren", nameEn: "Listen", purpose: "Verbreedt gehoor, timing en open muzikale aandacht.", purposeEn: "Broadens hearing, timing, and open musical attention." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: production ? "Productiepiek" : performance ? "Performancepiek" : improv ? "Improvisatiepiek" : "Muzikale piek", nameEn: production ? "Production peak" : performance ? "Performance peak" : improv ? "Improvisation peak" : "Musical peak", purpose: "Brengt ritme, kleur en audio naar een begrensde creatieve werkfase.", purposeEn: "Brings rhythm, color, and audio into a bounded creative work phase." },
    { time: t4, name: "Fraseren", nameEn: "Phrase", purpose: "Helpt ideeen, timing en expressie ordenen naar bruikbare muzikale keuzes.", purposeEn: "Helps organize ideas, timing, and expression into usable musical choices." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid voor oefenen, luisteren of afronden.", purposeEn: "Downshifts toward calm clarity for practice, listening, or completion." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = [
    { time: 0, value: frequencyProfile[0], musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: t1, value: frequencyProfile[1], musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t2, value: frequencyProfile[2], musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t3, value: frequencyProfile[3], musicMood: musicMoods[3] || definition.mood, noiseType: noiseType === "none" ? "none" : "pink", reverbPreset, lightPulseShape: pulseShape },
    { time: t4, value: frequencyProfile[4], musicMood: musicMoods[2] || "Ambient", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: t5, value: frequencyProfile[5], musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: frequencyProfile[6], musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.2 : 0.1)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.4) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.56) },
    { time: t5, value: Math.round(rgbPeak * 0.28) },
    { time: durationSeconds, value: bodyVoice || listening ? 2 : 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.32)) },
    { time: t2, value: Math.round(whitePeak * 0.62) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.42)) },
    { time: t5, value: bodyVoice || listening ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: listening || confidence || bodyVoice ? 16 : 22 },
    { time: t2, value: production || performance || improv ? 34 : composition ? 30 : 24 },
    { time: t3, value: production || performance || improv ? 44 : composition ? 38 : listening || confidence || bodyVoice ? 26 : 32 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 42 },
    { time: t2, value: 54 },
    { time: t3, value: production || performance || improv ? 66 : listening || bodyVoice ? 48 : 60 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : listening || confidence || bodyVoice ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : listening || confidence || bodyVoice ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: listening || composition || vocal ? 30 : production ? 22 : 18 },
    { time: t3, value: listening || composition || vocal ? 42 : production ? 28 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.6 },
    { time: t2, value: listening || composition || vocal ? 3.8 : production ? 2.6 : 2 },
    { time: t3, value: listening || composition || vocal ? 4.8 : production ? 3.0 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: listening || confidence || composition ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: listening || confidence || composition ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: listening && definition.style % 4 === 0, auroraMode: listening || confidence || composition ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: listening ? 0.1 : 0.18, auroraDepth: listening || confidence || composition ? 28 : definition.style % 4 === 0 ? 20 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createWritingStorytellingTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const longForm = /Manuscript|Book|Novel|Author|Professional Writer|Productive Writer|Finish|Complete|Legacy|Roman|Boek|Manuscript|Auteur|Maak af|Voltooi/i.test(subjectText);
  const story = /Story|Narrative|Plot|Character|Dialogue|Scene|World|Fantasy|Science Fiction|Mystery|Romance|Thriller|Children|Screenwriting|Script|Playwriting|Verhaal|Plot|Personage|Dialoog|Scène|Wereld|Scenario|Script|Toneel/i.test(subjectText);
  const journal = /Memoir|Autobiographical|Journal|Reflective|Healing|Therapeutic|Gratitude|Morning Pages|Journaling|Memoires|Autobiografisch|Dagboek|Reflectief|Heling|Dankbaar/i.test(subjectText);
  const business = /Copywriting|Persuasive|Marketing|Content|Blog|Article|Newsletter|Technical|Business|Academic|Research|Essay|Presentation|Speech|Professioneel|Zakelijk|Academisch|Onderzoek|Essay|Speech|Content/i.test(subjectText);
  const poetry = /Poetry|Lyric|Words|Voice|Passion|Heart|Poëzie|Songtekst|Woorden|Stem|Passie|Hart/i.test(subjectText);
  const blocks = /Block|Critic|Fear|Confidence|Fearless|Authentic|Express|Write Without|Writer's Block|Blokkade|Criticus|Angst|Vertrouwen|Authentiek|Expressie/i.test(subjectText) || definition.labelEn.includes("Emotional");
  const edit = /Edit|Revision|Refine|Clarity|Clear|Structure|Redig|Revisie|Verfijn|Helder|Structuur/i.test(subjectText);
  const spiritual = definition.labelEn.includes("Spiritual") || /Purpose|Journey|Within|Matter|Transform|Future|Power of Words|Inspired Pen|Limitless|Spiritueel|reis|toekomst|kracht/i.test(subjectText);
  const profileText = story ? {
    nl: "verhaalstructuur, personages, plotontwikkeling en narratieve spanning",
    en: "story structure, characters, plot development, and narrative tension",
    marker: ["Verhaalkern", "Story core"]
  } : journal ? {
    nl: "reflectief schrijven, emotionele betekenisgeving en veilige innerlijke verkenning",
    en: "reflective writing, emotional meaning-making, and safe inner exploration",
    marker: ["Reflectieruimte", "Reflection space"]
  } : business ? {
    nl: "heldere communicatie, overtuigingskracht en doelgerichte tekstproductie",
    en: "clear communication, persuasive strength, and purposeful text production",
    marker: ["Tekstfocus", "Writing focus"]
  } : poetry ? {
    nl: "beeldende taal, ritme, stem en emotionele zeggingskracht",
    en: "evocative language, rhythm, voice, and emotional impact",
    marker: ["Woordenstroom", "Word stream"]
  } : blocks ? {
    nl: "schrijfvertrouwen, minder innerlijke censuur en vrije expressie",
    en: "writing confidence, reduced inner censorship, and free expression",
    marker: ["Vrij schrijven", "Free writing"]
  } : longForm ? {
    nl: "schrijfmomentum, discipline en het afronden van grotere schrijfprojecten",
    en: "writing momentum, discipline, and completing larger writing projects",
    marker: ["Manuscriptflow", "Manuscript flow"]
  } : edit ? {
    nl: "redactiehelderheid, selectie en het aanscherpen van tekststructuur",
    en: "editing clarity, selection, and sharpening text structure",
    marker: ["Redactiefocus", "Editing focus"]
  } : spiritual ? {
    nl: "betekenisvol schrijven, innerlijke stem en woorden met richting",
    en: "meaningful writing, inner voice, and words with direction",
    marker: ["Innerlijke stem", "Inner voice"]
  } : {
    nl: "schrijfflow, inspiratie en heldere verwoording van ideeen",
    en: "writing flow, inspiration, and clear expression of ideas",
    marker: ["Schrijfkern", "Writing core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = story ? "#38bdf8" : journal ? "#a78bfa" : business ? "#facc15" : poetry ? "#f472b6" : blocks ? "#fb7185" : longForm ? "#22c55e" : edit ? "#14b8a6" : spiritual ? "#8b5cf6" : "#60a5fa";
  const colorC = story ? "#e0f2fe" : journal ? "#ede9fe" : business ? "#fef3c7" : poetry ? "#fce7f3" : blocks ? "#ffe4e6" : longForm ? "#dcfce7" : edit ? "#ccfbf1" : spiritual ? "#faf5ff" : "#dbeafe";
  const rgbPeak = journal || spiritual ? 42 : blocks || poetry ? 46 : edit ? 48 : longForm ? 54 : story ? 58 : business ? 60 : 52;
  const whitePeak = journal || spiritual ? 4 : blocks || poetry ? 5 : edit ? 7 : longForm ? 8 : story ? 9 : business ? 11 : 7;
  const frequencyProfile = journal || spiritual ? [7.4, 8.0, 8.8, 9.8, 8.0, 7.2, 6.6] :
    blocks || poetry ? [8.0, 8.8, 10.0, 11.0, 8.8, 7.8, 7.2] :
    edit ? [8.8, 10.0, 11.4, 12.6, 10.4, 9.2, 8.4] :
    longForm ? [8.6, 9.8, 11.8, 13.2, 10.8, 9.4, 8.4] :
    story ? [8.8, 10.2, 12.2, 13.8, 10.6, 9.2, 8.2] :
    business ? [9.2, 10.8, 12.6, Math.min(definition.peak, 14.6), 11.2, 9.8, 8.8] :
    [8.4, 9.6, 11.2, 12.8, 10.0, 8.8, 8.0];
  const musicMoods = [
    definition.mood,
    story || longForm ? "Cinematic Ambient" : business ? "Uplifting Electronic Ambient" : "Ambient",
    journal || spiritual || blocks || poetry ? "Binaural Deep Meditation" : "Ambient",
    spiritual ? "Meditation Bowls" : edit || business ? "Drone" : "Soft Soundscapes",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = journal || spiritual || blocks || poetry ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = journal || spiritual || poetry ? "hall" : business || edit ? "plate" : "room";
  const pulseShape = business || edit || story || longForm ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "writing-storytelling";
  session.goal = `Een verantwoorde Writing & Storytelling-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt schrijfproces, focus en expressie zonder medische claim.`;
  session.goalEn = `A responsible Writing & Storytelling session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports writing process, focus, and expression without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 18 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 30 + (definition.style % 7) * 4;
  session.audioMode = business || edit || story || longForm ? "isochronic-monaural" : journal || spiritual || blocks || poetry ? "binaural" : session.audioMode;
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = journal || spiritual || poetry ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = journal || spiritual || poetry ? 0.09 : 0.17;
  session.timeline.auroraDepth = journal || spiritual || poetry ? 18 : definition.style % 4 === 0 ? 22 : 0;
  session.timeline.markers = [
    { time: 0, name: "Lege pagina", nameEn: "Blank page", purpose: "Start met lage intensiteit en een rustige overgang naar schrijftijd.", purposeEn: "Starts with low intensity and a calm transition into writing time." },
    { time: t1, name: "Open woorden", nameEn: "Open words", purpose: "Verbreedt aandacht, taalgevoel en associatieve woordvinding.", purposeEn: "Broadens attention, language sense, and associative word-finding." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: business ? "Productiepiek" : story ? "Narratieve piek" : longForm ? "Manuscriptpiek" : "Schrijfpiek", nameEn: business ? "Production peak" : story ? "Narrative peak" : longForm ? "Manuscript peak" : "Writing peak", purpose: "Brengt ritme, kleur en audio naar een begrensde schrijf- en ideefase.", purposeEn: "Brings rhythm, color, and audio into a bounded writing and ideation phase." },
    { time: t4, name: "Ordenen", nameEn: "Organize", purpose: "Helpt woorden, scènes of argumenten ordenen tot bruikbare structuur.", purposeEn: "Helps organize words, scenes, or arguments into usable structure." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid voor redactie, selectie of afronding.", purposeEn: "Downshifts toward calm clarity for editing, selection, or completion." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = [
    { time: 0, value: frequencyProfile[0], musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: t1, value: frequencyProfile[1], musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t2, value: frequencyProfile[2], musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t3, value: frequencyProfile[3], musicMood: musicMoods[3] || definition.mood, noiseType: noiseType === "none" ? "none" : "pink", reverbPreset, lightPulseShape: pulseShape },
    { time: t4, value: frequencyProfile[4], musicMood: musicMoods[2] || "Ambient", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: t5, value: frequencyProfile[5], musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: frequencyProfile[6], musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.25 : 0.12)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.4) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.54) },
    { time: t5, value: Math.round(rgbPeak * 0.28) },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.32)) },
    { time: t2, value: Math.round(whitePeak * 0.62) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.42)) },
    { time: t5, value: journal || spiritual ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: journal || spiritual || blocks || poetry ? 16 : 22 },
    { time: t2, value: business || story || longForm ? 34 : edit ? 30 : 24 },
    { time: t3, value: business || story || longForm ? 44 : edit ? 38 : journal || spiritual || blocks || poetry ? 26 : 32 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 40 },
    { time: t2, value: 52 },
    { time: t3, value: business || story || longForm ? 64 : journal || spiritual ? 48 : 58 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : journal || spiritual || blocks || poetry ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : journal || spiritual || blocks || poetry ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: journal || spiritual || poetry ? 30 : business || edit ? 22 : 18 },
    { time: t3, value: journal || spiritual || poetry ? 42 : business || edit ? 28 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.6 },
    { time: t2, value: journal || spiritual || poetry ? 3.8 : business || edit ? 2.6 : 2 },
    { time: t3, value: journal || spiritual || poetry ? 4.8 : business || edit ? 3.0 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: journal || spiritual || poetry ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: journal || spiritual || poetry ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: spiritual && definition.style % 4 === 0, auroraMode: journal || spiritual || poetry ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: spiritual ? 0.1 : 0.18, auroraDepth: journal || spiritual || poetry ? 28 : definition.style % 4 === 0 ? 20 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createBusinessInnovationTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const strategy = /Strategy|Strategic|Vision|Planning|Big Picture|Future|Long-Term|Opportunity|Missie|Visie|Strategie|Planning|Toekomst|Kans/i.test(subjectText);
  const ideation = /Idea|Concept|Innovation|Creative|Breakthrough|Catalyst|Accelerator|Design Thinking|Idee|Concept|Innovatie|Creatief|Doorbraak|Designdenken/i.test(subjectText);
  const leadership = /Leadership|CEO|Founder|Executive|Lead|Presence|Empowered|Influential|Leiderschap|CEO|Founder|Executive|Leid|Invloed/i.test(subjectText);
  const scaling = /Growth|Scaling|Scale|Expansion|Transformation|Reinvention|Optimization|Improvement|Operational|Lean|Agile|Groe|Schaal|Expansie|Transformatie|Optimalisatie|Verbetering|Operationeel/i.test(subjectText);
  const startup = /Startup|Start-up|Launch|Go-to-Market|Product Launch|Sprint|Product Development|Build Your Startup|Lancering|Productontwikkeling/i.test(subjectText);
  const market = /Customer|Market|Consumer|Competitive|Business Intelligence|User Experience|Klant|Markt|Consument|Concurrent|Business intelligence|User experience/i.test(subjectText);
  const collaboration = /Team|Collaboration|Culture|Brainstorm|Think Tank|Collective|Workshop|Meetings|Samenwerking|Team|Cultuur|Brainstorm|Thinktank|Collectief|Workshop|Meeting/i.test(subjectText);
  const digital = /AI|Digital|Technology|Data|Systems|Smart Business|Digitale|Technolog|Data|Systeem|Slimme/i.test(subjectText);
  const confidence = /Confidence|Fearless|Resilient|Without Fear|Negotiation|Pitch|Blocks|Barriers|vertrouwen|Onbevrees|Veerkracht|Onderhandel|Pitchen|Blokkade|Barriere/i.test(subjectText) || definition.labelEn.includes("Emotional");
  const communication = /Communication|Sales|Marketing|Brand|Storytelling|Influence|Presentation|Persuasive|Communicatie|Sales|Marketing|Merk|Storytelling|Invloed|Presentatie|Overtuig/i.test(subjectText);
  const purpose = definition.labelEn.includes("Spiritual") || /Purpose|Values|Conscious|Authentic|Ethical|Sustainable|Regenerative|Impact|Legacy|Lasting Value|Tomorrow|Doel|Waarden|Bewust|Authentiek|Ethisch|Duurzaam|Impact|Nalatenschap|Waarde|Morgen/i.test(subjectText);
  const profileText = purpose ? {
    nl: "purpose, duurzame waarde, ethische innovatie en betekenisvolle zakelijke richting",
    en: "purpose, sustainable value, ethical innovation, and meaningful business direction",
    marker: ["Impactkompas", "Impact compass"]
  } : leadership ? {
    nl: "helder leiderschap, besluitkracht en strategische aanwezigheid",
    en: "clear leadership, decisiveness, and strategic presence",
    marker: ["Leiderschapskern", "Leadership core"]
  } : digital ? {
    nl: "digitale transformatie, AI-denken, systeeminzicht en datagedreven creativiteit",
    en: "digital transformation, AI thinking, systems insight, and data-driven creativity",
    marker: ["Digitale innovatie", "Digital innovation"]
  } : market ? {
    nl: "marktinzicht, klantgericht denken en het herkennen van concurrentievoordeel",
    en: "market insight, customer-centered thinking, and recognizing competitive advantage",
    marker: ["Marktvenster", "Market window"]
  } : startup ? {
    nl: "start-up focus, productontwikkeling, lancering en snelle validatie",
    en: "startup focus, product development, launch, and rapid validation",
    marker: ["Launchvenster", "Launch window"]
  } : scaling ? {
    nl: "groei, scaling, operationele helderheid en continue verbetering",
    en: "growth, scaling, operational clarity, and continuous improvement",
    marker: ["Schaalfocus", "Scaling focus"]
  } : collaboration ? {
    nl: "teamcreativiteit, gezamenlijke intelligentie en productieve innovatiemeetings",
    en: "team creativity, collective intelligence, and productive innovation meetings",
    marker: ["Teamflow", "Team flow"]
  } : communication ? {
    nl: "zakelijke communicatie, overtuiging, merkverhaal en presentatiekracht",
    en: "business communication, persuasion, brand story, and presentation strength",
    marker: ["Invloedskern", "Influence core"]
  } : confidence ? {
    nl: "ondernemersvertrouwen, mentale flexibiliteit en innovatie zonder angst",
    en: "entrepreneurial confidence, mental flexibility, and innovation without fear",
    marker: ["Innovatiemoed", "Innovation courage"]
  } : strategy ? {
    nl: "strategisch denken, langetermijnvisie en kansgerichte besluitvorming",
    en: "strategic thinking, long-term vision, and opportunity-oriented decision-making",
    marker: ["Strategievenster", "Strategy window"]
  } : ideation ? {
    nl: "ideevorming, conceptontwikkeling en creatieve zakelijke doorbraken",
    en: "idea generation, concept development, and creative business breakthroughs",
    marker: ["Conceptlab", "Concept lab"]
  } : {
    nl: "zakelijke creativiteit, heldere focus en uitvoerbare innovatie",
    en: "business creativity, clear focus, and executable innovation",
    marker: ["Businesskern", "Business core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = purpose ? "#8b5cf6" : leadership ? "#facc15" : digital ? "#38bdf8" : market ? "#14b8a6" : startup ? "#f97316" : scaling ? "#22c55e" : collaboration ? "#60a5fa" : communication ? "#fb7185" : confidence ? "#ec4899" : strategy ? "#a78bfa" : "#84cc16";
  const colorC = purpose ? "#ede9fe" : leadership ? "#fef3c7" : digital ? "#e0f2fe" : market ? "#ccfbf1" : startup ? "#ffedd5" : scaling ? "#dcfce7" : collaboration ? "#dbeafe" : communication ? "#ffe4e6" : confidence ? "#fce7f3" : strategy ? "#f3e8ff" : "#ecfccb";
  const rgbPeak = purpose ? 42 : confidence ? 46 : communication || collaboration ? 54 : strategy || market ? 58 : scaling || startup ? 62 : leadership || digital || ideation ? 66 : 56;
  const whitePeak = purpose ? 4 : confidence ? 5 : communication || collaboration ? 8 : strategy || market ? 10 : scaling || startup ? 12 : leadership || digital || ideation ? 14 : 9;
  const frequencyProfile = purpose ? [7.4, 8.2, 9.4, 10.4, 8.4, 7.4, 6.8] :
    confidence ? [8.0, 8.8, 10.2, 11.2, 8.8, 7.8, 7.2] :
    communication || collaboration ? [8.8, 10.0, 11.8, 13.0, 10.4, 9.0, 8.2] :
    strategy || market ? [9.0, 10.4, 12.2, 13.8, 10.8, 9.4, 8.6] :
    scaling || startup ? [9.2, 10.8, 12.8, 14.6, 11.2, 9.8, 8.8] :
    leadership || digital || ideation ? [9.4, 11.0, 13.0, Math.min(definition.peak, 15.2), 11.4, 9.8, 8.8] :
    [8.8, 10.0, 12.0, 13.4, 10.4, 9.0, 8.2];
  const musicMoods = [
    definition.mood,
    purpose || confidence ? "Binaural Deep Meditation" : "Uplifting Electronic Ambient",
    strategy || leadership || startup || digital ? "Cinematic Ambient" : "Ambient",
    purpose ? "Meditation Bowls" : scaling || digital ? "Drone" : "Soft Soundscapes",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = purpose || confidence ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = purpose ? "hall" : leadership || communication ? "plate" : "room";
  const pulseShape = purpose || confidence ? "sine" : "triangle";
  session.category = "creativiteit";
  session.subcategory = "business-innovation";
  session.goal = `Een verantwoorde Business Innovation-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt zakelijk creatief denken, focus en uitvoering zonder medische claim.`;
  session.goalEn = `A responsible Business Innovation session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports creative business thinking, focus, and execution without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 16 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 26 + (definition.style % 7) * 4;
  session.audioMode = purpose || confidence ? "binaural" : "isochronic-monaural";
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = purpose || confidence ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = purpose ? 0.08 : confidence ? 0.11 : 0.2;
  session.timeline.auroraDepth = purpose ? 18 : confidence ? 16 : definition.style % 4 === 0 ? 24 : 0;
  session.timeline.markers = [
    { time: 0, name: "Business baseline", nameEn: "Business baseline", purpose: "Start met lage intensiteit en een heldere overgang naar zakelijke focus.", purposeEn: "Starts with low intensity and a clear transition into business focus." },
    { time: t1, name: "Kansen openen", nameEn: "Open opportunities", purpose: "Verbreedt aandacht voor kansen, marktinformatie en nieuwe invalshoeken.", purposeEn: "Broadens attention for opportunities, market information, and new angles." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: startup ? "Launchpiek" : scaling ? "Schaalpiek" : leadership ? "Leiderschapspiek" : digital ? "Innovatiepiek" : "Businesspiek", nameEn: startup ? "Launch peak" : scaling ? "Scaling peak" : leadership ? "Leadership peak" : digital ? "Innovation peak" : "Business peak", purpose: "Brengt ritme, kleur en audio naar een begrensde activatiefase voor besluitvorming en creatie.", purposeEn: "Brings rhythm, color, and audio into a bounded activation phase for decision-making and creation." },
    { time: t4, name: "Uitvoering", nameEn: "Execution", purpose: "Helpt ideeen omzetten naar prioriteiten, acties en praktische vervolgstappen.", purposeEn: "Helps turn ideas into priorities, actions, and practical next steps." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid voor planning, communicatie of afronding.", purposeEn: "Downshifts toward calm clarity for planning, communication, or completion." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = [
    { time: 0, value: frequencyProfile[0], musicMood: musicMoods[0] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
    { time: t1, value: frequencyProfile[1], musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t2, value: frequencyProfile[2], musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
    { time: t3, value: frequencyProfile[3], musicMood: musicMoods[3] || definition.mood, noiseType: noiseType === "none" ? "none" : "pink", reverbPreset, lightPulseShape: pulseShape },
    { time: t4, value: frequencyProfile[4], musicMood: musicMoods[2] || "Ambient", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: t5, value: frequencyProfile[5], musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
    { time: durationSeconds, value: frequencyProfile[6], musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
  ];
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.25 : 0.1)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.42) },
    { time: t2, value: Math.round(rgbPeak * 0.7) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.56) },
    { time: t5, value: Math.round(rgbPeak * 0.3) },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.35)) },
    { time: t2, value: Math.round(whitePeak * 0.65) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.45)) },
    { time: t5, value: purpose ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: purpose || confidence ? 16 : 24 },
    { time: t2, value: purpose || confidence ? 24 : 36 },
    { time: t3, value: purpose || confidence ? 28 : 46 },
    { time: t4, value: purpose || confidence ? 20 : 30 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 42 },
    { time: t2, value: 54 },
    { time: t3, value: purpose || confidence ? 52 : 66 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : purpose || confidence ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : purpose || confidence ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: purpose ? 32 : confidence ? 24 : 18 },
    { time: t3, value: purpose ? 42 : confidence ? 30 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.5 },
    { time: t2, value: purpose ? 3.8 : confidence ? 2.6 : 2 },
    { time: t3, value: purpose ? 4.8 : confidence ? 3.2 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: purpose || confidence ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: purpose || confidence ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: purpose && definition.style % 4 === 0, auroraMode: purpose || confidence ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: purpose ? 0.1 : 0.2, auroraDepth: purpose || confidence ? 28 : definition.style % 4 === 0 ? 22 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createProblemSolvingTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const analytical = /Analytical|Analysis|Critical|Logical|Scientific|Research|Data|Evidence|Root Cause|Core Issue|Pattern|Cause|Effect|Detective|Analytisch|Analyse|Kritisch|Logisch|Wetenschappelijk|Onderzoek|Data|Oorzaak|Kern|Patroon|Detective/i.test(subjectText);
  const decision = /Decision|Decide|Judgment|Priorit|Clarity Before Action|Next Best Step|Besluit|Beslis|Oordeel|Prioriteit|Volgende beste stap/i.test(subjectText);
  const strategy = /Strategic|Systems|Big Picture|Holistic|Planning|Implementation|Execution|Leadership|Business|Executive|Engineering|Visionary|Strategisch|Systeem|Grote-lijn|Holistisch|Planning|Uitvoering|Leiderschap|Zakelijk|Visionair/i.test(subjectText);
  const perspective = /Perspective|Assumptions|Question|Bigger Picture|Connect the Dots|Opportunity|Differently|Beyond Limits|Flexible|Adaptive|Lateral|Divergent|Convergent|Perspectief|Aannames|Bevraag|Geheel|Verbind|Kans|Anders|Flexibel|Adaptief|Lateraal|Divergent|Convergent/i.test(subjectText);
  const planning = /Action Planning|Execution Planning|From Problem|Challenge to Opportunity|Obstacles|Complexity|Implementation|Path|Outcomes|Actieplanning|Uitvoeringsplanning|Van probleem|Uitdaging|Obstakel|Complexiteit|Implementatie|Pad|Uitkomsten/i.test(subjectText);
  const pressure = /Pressure|Confidence|Challenge Accepted|Calm|Composed|Trust|Impossible|Every Problem|Beyond the Obstacle|Druk|Vertrouwen|Uitdaging aanvaard|Kalm|Beheerst|Onmogelijk|Elk probleem|Obstakel/i.test(subjectText) || definition.labelEn.includes("Emotional");
  const spiritual = definition.labelEn.includes("Spiritual") || /Intuition|Wisdom|Inspired|Purpose|Matter|Intuitie|Wijsheid|Geinspireerd|Doel|Ert toe/i.test(subjectText);
  const ideation = /Creative|Innovation|Brainstorm|Idea|Breakthrough|Possibilities|Solution|Brilliant|Genius|Creatief|Innovatie|Brainstorm|Idee|Doorbraak|Mogelijkheden|Oplossing|Briljant|Genialiteit/i.test(subjectText);
  const profileText = spiritual ? {
    nl: "intuïtieve helderheid, innerlijke wijsheid en betekenisvolle oplossingsrichting",
    en: "intuitive clarity, inner wisdom, and meaningful solution direction",
    marker: ["Wijsheidsvenster", "Wisdom window"]
  } : pressure ? {
    nl: "rust onder druk, oordeelvertrouwen en emotionele stabiliteit tijdens keuzes",
    en: "calm under pressure, trust in judgment, and emotional steadiness during choices",
    marker: ["Drukregulatie", "Pressure regulation"]
  } : decision ? {
    nl: "besluithelderheid, prioritering en het kiezen van de volgende beste stap",
    en: "decision clarity, prioritization, and choosing the next best step",
    marker: ["Besluitkern", "Decision core"]
  } : analytical ? {
    nl: "analyse, patroonherkenning, oorzaak-gevolg denken en scherpe logica",
    en: "analysis, pattern recognition, cause-and-effect thinking, and sharp logic",
    marker: ["Analysekern", "Analysis core"]
  } : strategy ? {
    nl: "strategisch overzicht, systeemdenken en beslissingen vanuit het grotere geheel",
    en: "strategic overview, systems thinking, and decisions from the bigger picture",
    marker: ["Strategisch overzicht", "Strategic overview"]
  } : perspective ? {
    nl: "perspectiefwisseling, het uitdagen van aannames en mentale flexibiliteit",
    en: "perspective shifting, challenging assumptions, and mental flexibility",
    marker: ["Perspectiefshift", "Perspective shift"]
  } : planning ? {
    nl: "complexiteit vereenvoudigen, actieplanning en haalbare implementatiestappen",
    en: "simplifying complexity, action planning, and feasible implementation steps",
    marker: ["Actiepad", "Action path"]
  } : ideation ? {
    nl: "creatieve oplossingsvorming, brainstormflow en doorbraakdenken",
    en: "creative solution design, brainstorming flow, and breakthrough thinking",
    marker: ["Oplossingslab", "Solution lab"]
  } : {
    nl: "helder probleemoplossen, rustige focus en praktische oplossingsrichting",
    en: "clear problem solving, calm focus, and practical solution direction",
    marker: ["Oplossingskern", "Solution core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = spiritual ? "#8b5cf6" : pressure ? "#f472b6" : decision ? "#facc15" : analytical ? "#38bdf8" : strategy ? "#a78bfa" : perspective ? "#14b8a6" : planning ? "#f97316" : ideation ? "#22c55e" : "#60a5fa";
  const colorC = spiritual ? "#ede9fe" : pressure ? "#fce7f3" : decision ? "#fef3c7" : analytical ? "#e0f2fe" : strategy ? "#f3e8ff" : perspective ? "#ccfbf1" : planning ? "#ffedd5" : ideation ? "#dcfce7" : "#dbeafe";
  const rgbPeak = spiritual ? 42 : pressure ? 46 : decision ? 56 : analytical ? 60 : strategy ? 62 : perspective ? 58 : planning ? 64 : ideation ? 66 : 54;
  const whitePeak = spiritual ? 4 : pressure ? 5 : decision ? 9 : analytical ? 11 : strategy ? 12 : perspective ? 9 : planning ? 13 : ideation ? 14 : 8;
  const frequencyProfile = spiritual ? [7.2, 8.0, 9.2, 10.2, 8.2, 7.4, 6.8] :
    pressure ? [7.8, 8.6, 9.8, 10.8, 8.6, 7.8, 7.2] :
    decision ? [8.6, 9.8, 11.6, 13.0, 10.2, 8.8, 8.0] :
    analytical ? [9.0, 10.4, 12.4, 14.0, 10.8, 9.2, 8.4] :
    strategy ? [8.8, 10.2, 12.2, 13.8, 10.8, 9.4, 8.6] :
    perspective ? [8.4, 10.0, 11.8, 13.4, 10.4, 9.0, 8.2] :
    planning ? [9.2, 10.8, 12.8, Math.min(definition.peak, 14.8), 11.2, 9.6, 8.6] :
    ideation ? [9.4, 11.0, 13.0, Math.min(definition.peak, 15.0), 11.4, 9.8, 8.8] :
    [8.6, 10.0, 12.0, 13.2, 10.4, 9.0, 8.2];
  const musicMoods = [
    definition.mood,
    spiritual || pressure ? "Binaural Deep Meditation" : "Uplifting Electronic Ambient",
    analytical || strategy || decision ? "Cinematic Ambient" : "Ambient",
    spiritual ? "Meditation Bowls" : analytical || planning ? "Drone" : "Soft Soundscapes",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = spiritual || pressure ? "pink" : definition.style % 6 === 0 ? "none" : "pink";
  const reverbPreset = spiritual ? "hall" : analytical || decision || planning ? "plate" : "room";
  const pulseShape = spiritual || pressure ? "sine" : analytical || decision || planning || ideation ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "problem-solving";
  session.goal = `Een verantwoorde Problem Solving-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt helder denken, oplossingsvorming en keuzeproces zonder medische claim.`;
  session.goalEn = `A responsible Problem Solving session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports clear thinking, solution design, and decision process without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 16 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 26 + (definition.style % 7) * 4;
  session.audioMode = spiritual || pressure ? "binaural" : analytical || decision || planning ? "isochronic-monaural" : "monaural";
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = spiritual || pressure ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = spiritual ? 0.08 : pressure ? 0.11 : 0.18;
  session.timeline.auroraDepth = spiritual ? 18 : pressure ? 16 : definition.style % 4 === 0 ? 24 : 0;
  session.timeline.markers = [
    { time: 0, name: "Probleemveld", nameEn: "Problem field", purpose: "Start met lage intensiteit en een rustige overgang naar helder denken.", purposeEn: "Starts with low intensity and a calm transition into clear thinking." },
    { time: t1, name: "Overzicht openen", nameEn: "Open overview", purpose: "Verbreedt aandacht voor context, randvoorwaarden en beschikbare informatie.", purposeEn: "Broadens attention for context, constraints, and available information." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: ideation ? "Doorbraakpiek" : decision ? "Besluitpiek" : analytical ? "Analysepiek" : "Oplossingspiek", nameEn: ideation ? "Breakthrough peak" : decision ? "Decision peak" : analytical ? "Analysis peak" : "Solution peak", purpose: "Brengt ritme, kleur en audio naar een begrensde activatiefase voor oplossingswerk.", purposeEn: "Brings rhythm, color, and audio into a bounded activation phase for solution work." },
    { time: t4, name: "Keuze & structuur", nameEn: "Choice & structure", purpose: "Helpt inzichten ordenen naar prioriteiten, keuzes en uitvoerbare stappen.", purposeEn: "Helps organize insights into priorities, choices, and executable steps." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid voor de volgende praktische stap.", purposeEn: "Downshifts toward calm clarity for the next practical step." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = frequencyProfile.map((value, index) => ({
    time: [0, t1, t2, t3, t4, t5, durationSeconds][index],
    value,
    musicMood: musicMoods[Math.min(index, musicMoods.length - 1)] || definition.mood,
    noiseType: index >= 4 ? "none" : noiseType,
    reverbPreset: index >= 4 ? "room" : reverbPreset,
    lightPulseShape: index === 0 || index >= 4 ? "sine" : pulseShape
  }));
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.25 : 0.12)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.4) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.52) },
    { time: t5, value: Math.round(rgbPeak * 0.28) },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.32)) },
    { time: t2, value: Math.round(whitePeak * 0.62) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.42)) },
    { time: t5, value: spiritual || pressure ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: spiritual || pressure ? 16 : 22 },
    { time: t2, value: analytical || decision || planning ? 34 : 28 },
    { time: t3, value: analytical || decision || planning || ideation ? 44 : spiritual || pressure ? 26 : 36 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 40 },
    { time: t2, value: 52 },
    { time: t3, value: spiritual || pressure ? 48 : 64 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : spiritual || pressure ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : spiritual || pressure ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: spiritual ? 30 : pressure ? 22 : analytical || decision || planning ? 20 : 18 },
    { time: t3, value: spiritual ? 42 : pressure ? 30 : analytical || decision || planning ? 28 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.5 },
    { time: t2, value: spiritual ? 3.8 : pressure ? 2.6 : analytical || decision || planning ? 2.5 : 2 },
    { time: t3, value: spiritual ? 4.8 : pressure ? 3.2 : analytical || decision || planning ? 3.0 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: spiritual || pressure ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: spiritual || pressure ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: spiritual && definition.style % 4 === 0, auroraMode: spiritual || pressure ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: spiritual ? 0.1 : 0.2, auroraDepth: spiritual || pressure ? 28 : definition.style % 4 === 0 ? 22 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createFlowInspirationTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const spiritual = definition.labelEn.includes("Spiritual") || /Natural|Inspired Living|Inspired Creativity|Inspired Decisions|Vision|Leadership|Endless|Infinite|Daily Inspiration|Intuitive|Guidance|Intuition|Wisdom|Divine|Awareness|Authentic|Presence|Mindful|Stillness|Abundance|Manifestation|Purpose|Creator Within|State of Inspiration|Live Inspired|Spiritueel|Natuurlijk|Visie|Leiding|Intuitie|Wijsheid|Bewustzijn|Authentiek|Aanwezigheid|Mindful|Stilte|Overvloed|Manifestatie|Doel/i.test(subjectText);
  const emotional = definition.labelEn.includes("Emotional") || /Performance|Success|Positive Momentum|Keep Moving|Freedom|Fearless|Confidence|Potential|Inner Critic|Joy|Limitations|Unstoppable|Prestatie|Succes|Vrijheid|Onbevrees|Vertrouwen|Potentieel|Criticus|Vreugde|Beperkingen/i.test(subjectText);
  const physical = definition.labelEn.includes("Physical") || /High Energy|Vital|Dynamic|Energized|Physical Readiness|Fysiek|Vitale|Dynamische/i.test(subjectText);
  const focus = /Deep Focus|Concentrated|Deep Creative Work|Productivity|Productive|Deep Work|Laser|Concentration|Students|Focus|Geconcentreerd|Productiviteit|Laser/i.test(subjectText);
  const momentum = /Momentum|Build|Forward|Moving Forward|Action|Success|Effect|From Inspiration to Action|Voorwaarts|Actie|Succes/i.test(subjectText);
  const creator = /Artists|Writers|Musicians|Designers|Entrepreneurs|Leaders|Students|Athletes|Speakers|Creators|Kunstenaars|Schrijvers|Muzikanten|Ontwerpers|Ondernemers|Leiders|Studenten|Atleten|Sprekers|Creators/i.test(subjectText);
  const breakthrough = /Spark|Ignite|Breakthrough|Blocks|Unlock|Awaken|Genius|Hidden Potential|Limitless|Without Limits|Possibilities|Beyond|Extraordinary|Mastery|Vonk|Ontsteek|Doorbraak|Blokkades|Ontsluit|Ontwaken|Genialiteit|Grenzeloos|Mogelijkheden|Buitengewoon|Meesterschap/i.test(subjectText);
  const performance = /Peak|Performance|Elite|Master|Optimal|Results|Excellence|Success|Piek|Prestatie|Elite|Optimaal|Resultaten|Excellentie|Succes/i.test(subjectText);
  const profileText = spiritual ? {
    nl: "open bewustzijn, intuïtieve inspiratie en een natuurlijke overgang naar creatieve aanwezigheid",
    en: "open awareness, intuitive inspiration, and a natural transition into creative presence",
    marker: ["Inspiratieveld", "Inspiration field"]
  } : emotional ? {
    nl: "creatief vertrouwen, innerlijke toestemming en emotionele ruimte om vrij te creëren",
    en: "creative confidence, inner permission, and emotional room to create freely",
    marker: ["Vrije expressie", "Free expression"]
  } : physical ? {
    nl: "vitale paraatheid, dynamische energie en lichaamsgedragen creatieve activatie",
    en: "vital readiness, dynamic energy, and body-supported creative activation",
    marker: ["Lichaamsflow", "Body flow"]
  } : focus ? {
    nl: "diepe focus, moeiteloze concentratie en productieve creatieve werkblokken",
    en: "deep focus, effortless concentration, and productive creative work blocks",
    marker: ["Focuskanaal", "Focus channel"]
  } : momentum ? {
    nl: "momentum, actiegerichtheid en de overgang van inspiratie naar concrete beweging",
    en: "momentum, action orientation, and the move from inspiration into concrete movement",
    marker: ["Momentumpiek", "Momentum peak"]
  } : creator ? {
    nl: "toegepaste flow voor creatieve makers, performers en professionals",
    en: "applied flow for creative makers, performers, and professionals",
    marker: ["Makerflow", "Maker flow"]
  } : breakthrough ? {
    nl: "creatieve doorbraak, nieuwe mogelijkheden en het losmaken van blokkades",
    en: "creative breakthrough, new possibilities, and loosening blocks",
    marker: ["Doorbraakvenster", "Breakthrough window"]
  } : performance ? {
    nl: "piekflow, optimale prestatie en stabiel creatief meesterschap",
    en: "peak flow, optimal performance, and steady creative mastery",
    marker: ["Piekflow", "Peak flow"]
  } : {
    nl: "soepele flow, frisse inspiratie en kalm creatief momentum",
    en: "smooth flow, fresh inspiration, and calm creative momentum",
    marker: ["Flowkern", "Flow core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.12);
  const t2 = Math.round(durationSeconds * 0.3);
  const t3 = Math.round(durationSeconds * 0.5);
  const t4 = Math.round(durationSeconds * 0.7);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = spiritual ? "#8b5cf6" : emotional ? "#f472b6" : physical ? "#f97316" : focus ? "#38bdf8" : momentum ? "#facc15" : creator ? "#14b8a6" : breakthrough ? "#22c55e" : performance ? "#60a5fa" : "#84cc16";
  const colorC = spiritual ? "#ede9fe" : emotional ? "#fce7f3" : physical ? "#ffedd5" : focus ? "#e0f2fe" : momentum ? "#fef3c7" : creator ? "#ccfbf1" : breakthrough ? "#dcfce7" : performance ? "#dbeafe" : "#ecfccb";
  const rgbPeak = spiritual ? 44 : emotional ? 48 : physical ? 68 : focus ? 58 : momentum ? 64 : creator ? 60 : breakthrough ? 66 : performance ? 70 : 56;
  const whitePeak = spiritual ? 4 : emotional ? 5 : physical ? 14 : focus ? 9 : momentum ? 12 : creator ? 10 : breakthrough ? 13 : performance ? 15 : 8;
  const frequencyProfile = spiritual ? [7.2, 8.0, 8.8, 10.0, 8.4, 7.6, 7.0] :
    emotional ? [7.8, 8.6, 9.6, 10.8, 8.8, 7.8, 7.2] :
    physical ? [9.2, 10.8, 12.8, Math.min(definition.peak, 14.8), 11.4, 9.8, 8.8] :
    focus ? [8.8, 10.0, 11.8, 13.4, 10.6, 9.0, 8.2] :
    momentum ? [9.0, 10.6, 12.6, Math.min(definition.peak, 14.6), 11.0, 9.4, 8.4] :
    creator ? [8.6, 10.2, 12.0, 13.8, 10.8, 9.2, 8.4] :
    breakthrough ? [9.2, 11.0, 13.0, Math.min(definition.peak, 15.0), 11.2, 9.6, 8.6] :
    performance ? [9.4, 11.0, 13.2, Math.min(definition.peak, 15.0), 11.4, 9.8, 8.8] :
    [8.6, 10.0, 11.8, 13.2, 10.4, 9.0, 8.2];
  const musicMoods = [
    definition.mood,
    spiritual || emotional ? "Binaural Deep Meditation" : "Uplifting Electronic Ambient",
    focus || performance || momentum ? "Cinematic Ambient" : "Ambient",
    spiritual ? "Meditation Bowls" : physical || performance ? "Drone" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = spiritual || emotional ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = spiritual ? "hall" : emotional ? "room" : focus || performance || physical ? "plate" : "room";
  const pulseShape = spiritual || emotional ? "sine" : focus || momentum || breakthrough || performance ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "flow-inspiration";
  session.goal = `Een verantwoorde Flow & Inspiration-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt creatieve flow, inspiratie en gerichte aandacht zonder medische claim.`;
  session.goalEn = `A responsible Flow & Inspiration session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports creative flow, inspiration, and directed attention without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 18 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 30 + (definition.style % 7) * 4;
  session.audioMode = spiritual || emotional ? "binaural" : focus || performance || physical ? "isochronic-monaural" : "monaural";
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = spiritual || emotional || creator ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = spiritual ? 0.08 : emotional ? 0.11 : 0.18;
  session.timeline.auroraDepth = spiritual ? 20 : emotional ? 16 : creator ? 18 : definition.style % 4 === 0 ? 26 : 0;
  session.timeline.markers = [
    { time: 0, name: "Instromen", nameEn: "Enter flow", purpose: "Start met lage intensiteit en een soepele overgang naar creatieve aandacht.", purposeEn: "Starts with low intensity and a smooth transition into creative attention." },
    { time: t1, name: "Open inspiratie", nameEn: "Open inspiration", purpose: "Verbreedt aandacht voor associaties, gevoel, mogelijkheden en richting.", purposeEn: "Broadens attention for associations, feeling, possibilities, and direction." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: performance ? "Flowpiek" : breakthrough ? "Inspiratiepiek" : focus ? "Diepe werkpiek" : "Creatieve stroom", nameEn: performance ? "Flow peak" : breakthrough ? "Inspiration peak" : focus ? "Deep work peak" : "Creative stream", purpose: "Brengt ritme, kleur en audio naar een begrensde activatiefase voor flow en inspiratie.", purposeEn: "Brings rhythm, color, and audio into a bounded activation phase for flow and inspiration." },
    { time: t4, name: "Momentum", nameEn: "Momentum", purpose: "Helpt inspiratie vasthouden en omzetten naar richting, vorm of actie.", purposeEn: "Helps maintain inspiration and turn it into direction, form, or action." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid en behoud van creatieve energie.", purposeEn: "Downshifts toward calm clarity and retained creative energy." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = frequencyProfile.map((value, index) => ({
    time: [0, t1, t2, t3, t4, t5, durationSeconds][index],
    value,
    musicMood: musicMoods[Math.min(index, musicMoods.length - 1)] || definition.mood,
    noiseType: index >= 4 ? "none" : noiseType,
    reverbPreset: index >= 4 ? "room" : reverbPreset,
    lightPulseShape: index === 0 || index >= 4 ? "sine" : pulseShape
  }));
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.25 : 0.12)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.38) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.58) },
    { time: t5, value: Math.round(rgbPeak * 0.3) },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.3)) },
    { time: t2, value: Math.round(whitePeak * 0.6) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.42)) },
    { time: t5, value: spiritual || emotional ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: spiritual || emotional ? 16 : 22 },
    { time: t2, value: focus || momentum || breakthrough || performance ? 34 : 26 },
    { time: t3, value: physical || performance ? 46 : focus || momentum || breakthrough ? 42 : spiritual || emotional ? 26 : 34 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 42 },
    { time: t2, value: 54 },
    { time: t3, value: spiritual || emotional ? 50 : 66 },
    { time: t4, value: 50 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : spiritual || emotional ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : spiritual || emotional ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: spiritual ? 32 : emotional ? 24 : focus || performance || physical ? 20 : 18 },
    { time: t3, value: spiritual ? 44 : emotional ? 32 : focus || performance || physical ? 28 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.6 },
    { time: t2, value: spiritual ? 4.0 : emotional ? 2.8 : focus || performance || physical ? 2.5 : 2 },
    { time: t3, value: spiritual ? 5.0 : emotional ? 3.4 : focus || performance || physical ? 3.0 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: spiritual || emotional || creator ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: spiritual || emotional || creator ? 18 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: spiritual && definition.style % 4 === 0, auroraMode: spiritual || emotional || creator ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: spiritual ? 0.1 : 0.2, auroraDepth: spiritual || emotional || creator ? 30 : definition.style % 4 === 0 ? 24 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createImaginationIntuitionTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const spiritual = definition.labelEn.includes("Spiritual");
  const emotional = definition.labelEn.includes("Emotional");
  const visualization = /Visualization|Visual|Imagery|Mental Rehearsal|Vision Creation|Mind's Eye|Future Self|Goal|Success|Manifestation|Visualisatie|Visuele|Beelden|Repetitie|Visiecreatie|Geestesoog|Doel|Succes|Manifestatie/i.test(subjectText);
  const intuition = /Intuition|Intuitive|Inner Knowing|Guidance|Compass|Inner Voice|Inner Wisdom|Higher Self|Third Eye|Synchronicity|Meaningful Coincidences|Intuitie|Innerlijk weten|Leiding|Kompas|Innerlijke stem|Wijsheid|Hogere zelf|Derde oog|Synchroniciteit|Toevalligheden/i.test(subjectText);
  const dreams = /Dream|Lucid|Symbolic|Inner World|Inner Landscape|Journey|Guided Fantasy|Daydream|Droom|Lucide|Symbolisch|Innerlijke wereld|Landschap|Reis|Fantasie|Dagdromen/i.test(subjectText);
  const insight = /Insight|Awareness|Reflection|Wisdom|Pattern|Hidden Connections|Connect the Dots|Big Picture|Holistic|Systems|Perspective|Inzicht|Bewustzijn|Reflectie|Wijsheid|Patroon|Verbanden|Geheel|Holistisch|Systeem|Perspectief/i.test(subjectText);
  const possibility = /Possibilit|Future|Visionary|Inventive|Discovery|Curiosity|Wonder|Original|Out-of-the-Box|Inventive Solutions|Innovative Vision|Idea Generator|Genius|Impossible|Mogelijk|Toekomst|Visionair|Vindingrijk|Ontdekking|Nieuwsgierigheid|Verwondering|Origineel|Idee|Genialiteit|Onmogelijk/i.test(subjectText);
  const confidence = /Trust Yourself|Confidence|Self-Trust|Critic|Fearless|Express|Courage|Believe|Vertrouw jezelf|Vertrouwen|Criticus|Onbevrees|Druk|Moed|Geloof/i.test(subjectText) || emotional;
  const flow = /Flow|Ideas|Momentum|Spark|Ignite|Unlock|Awaken|Elevate|Power|Imagine Without Limits|Create Your Future|Dream It|Follow Your Inspiration|Flow|Ideeen|Momentum|Vonk|Ontsteek|Ontsluit|Wek|Verhef|Kracht|Verbeeld|Creëer je toekomst|Droom het|Volg je inspiratie/i.test(subjectText);
  const profileText = intuition ? {
    nl: "intuïtieve helderheid, innerlijke leiding en het verfijnen van subtiele waarneming",
    en: "intuitive clarity, inner guidance, and refinement of subtle perception",
    marker: ["Intuitievenster", "Intuition window"]
  } : dreams ? {
    nl: "droombeelden, symbolisch denken en veilige verkenning van de innerlijke wereld",
    en: "dream imagery, symbolic thinking, and safe exploration of the inner world",
    marker: ["Droompoort", "Dream gateway"]
  } : visualization ? {
    nl: "levendige visualisatie, mentale beelden en toekomstgerichte verbeelding",
    en: "vivid visualization, mental imagery, and future-oriented imagination",
    marker: ["Beeldvorming", "Imagery"]
  } : insight ? {
    nl: "diep inzicht, patroonherkenning en een breder bewust perspectief",
    en: "deep insight, pattern recognition, and a wider conscious perspective",
    marker: ["Inzichtkern", "Insight core"]
  } : confidence ? {
    nl: "zelfvertrouwen, creatieve moed en het verzachten van innerlijke remming",
    en: "self-trust, creative courage, and softening inner inhibition",
    marker: ["Vertrouwensruimte", "Trust space"]
  } : possibility ? {
    nl: "mogelijkheidendenken, nieuwsgierigheid en originele verkenning voorbij vaste grenzen",
    en: "possibility thinking, curiosity, and original exploration beyond fixed boundaries",
    marker: ["Mogelijkhedenveld", "Possibility field"]
  } : flow ? {
    nl: "stromende ideevorming, creatieve momentumopbouw en vrije verbeeldingskracht",
    en: "flowing ideation, creative momentum building, and free imaginative power",
    marker: ["Ideeenstroom", "Idea stream"]
  } : spiritual ? {
    nl: "open bewustzijn, inspiratie en rustige verbinding met innerlijke verbeelding",
    en: "open awareness, inspiration, and calm connection with inner imagination",
    marker: ["Open verbeelding", "Open imagination"]
  } : {
    nl: "creatieve verbeelding, mentale flexibiliteit en frisse innerlijke beelden",
    en: "creative imagination, mental flexibility, and fresh inner imagery",
    marker: ["Verbeeldingskern", "Imagination core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.34);
  const t3 = Math.round(durationSeconds * 0.56);
  const t4 = Math.round(durationSeconds * 0.74);
  const t5 = Math.round(durationSeconds * 0.9);
  const colorB = intuition ? "#8b5cf6" : dreams ? "#6366f1" : visualization ? "#38bdf8" : insight ? "#a78bfa" : confidence ? "#f472b6" : possibility ? "#facc15" : flow ? "#22c55e" : spiritual ? "#14b8a6" : "#60a5fa";
  const colorC = intuition ? "#ede9fe" : dreams ? "#e0e7ff" : visualization ? "#e0f2fe" : insight ? "#f3e8ff" : confidence ? "#fce7f3" : possibility ? "#fef3c7" : flow ? "#dcfce7" : spiritual ? "#ccfbf1" : "#dbeafe";
  const rgbPeak = intuition ? 44 : dreams ? 42 : visualization ? 54 : insight ? 48 : confidence ? 46 : possibility ? 58 : flow ? 62 : spiritual ? 44 : 56;
  const whitePeak = intuition ? 4 : dreams ? 3 : visualization ? 8 : insight ? 5 : confidence ? 5 : possibility ? 9 : flow ? 11 : spiritual ? 4 : 8;
  const frequencyProfile = intuition ? [7.0, 7.8, 8.6, 9.6, 8.0, 7.2, 6.8] :
    dreams ? [6.8, 7.4, 8.0, 8.8, 7.6, 7.0, 6.4] :
    visualization ? [8.0, 8.8, 10.2, 11.8, 9.4, 8.2, 7.6] :
    insight ? [7.6, 8.4, 9.6, 10.8, 8.6, 7.6, 7.0] :
    confidence ? [7.8, 8.6, 9.8, 10.8, 8.8, 7.8, 7.2] :
    possibility ? [8.8, 10.2, 12.0, Math.min(definition.peak, 13.8), 10.2, 8.8, 8.0] :
    flow ? [9.0, 10.6, 12.6, Math.min(definition.peak, 14.4), 10.8, 9.2, 8.2] :
    spiritual ? [7.2, 8.0, 9.0, 10.0, 8.2, 7.4, 6.8] :
    [8.4, 9.8, 11.6, 13.0, 10.0, 8.8, 8.0];
  const musicMoods = [
    definition.mood,
    intuition || dreams || spiritual ? "Binaural Deep Meditation" : "Cinematic Ambient",
    intuition || dreams || insight || spiritual ? "Theta Soundscape" : "Uplifting Electronic Ambient",
    intuition || dreams || spiritual ? "Meditation Bowls" : flow || possibility ? "Drone" : "Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = intuition || dreams || insight || spiritual || confidence ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = intuition || dreams || spiritual ? "hall" : visualization || insight ? "room" : "plate";
  const pulseShape = possibility || flow ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "imagination-intuition";
  session.goal = `Een verantwoorde Imagination & Intuition-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt verbeelding, visualisatie, inzicht en creatieve zelfreflectie zonder medische claim.`;
  session.goalEn = `A responsible Imagination & Intuition session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports imagination, visualization, insight, and creative self-reflection without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 20 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 34 + (definition.style % 7) * 4;
  session.audioMode = intuition || dreams || spiritual || confidence ? "binaural" : possibility || flow ? "monaural" : "isochronic-monaural";
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = "subtle";
  session.timeline.auroraSpeed = intuition || dreams || spiritual ? 0.08 : visualization || insight ? 0.11 : 0.16;
  session.timeline.auroraDepth = intuition || dreams || spiritual ? 24 : visualization || insight ? 20 : 16 + (definition.style % 4) * 3;
  session.timeline.markers = [
    { time: 0, name: "Vertragen", nameEn: "Slow down", purpose: "Start met lage intensiteit en een rustige overgang naar innerlijke verbeelding.", purposeEn: "Starts with low intensity and a calm transition into inner imagination." },
    { time: t1, name: "Innerlijk beeldveld", nameEn: "Inner image field", purpose: "Opent aandacht voor beelden, associaties, gevoel en subtiele signalen.", purposeEn: "Opens attention for images, associations, feeling, and subtle signals." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: intuition ? "Intuitiepiek" : dreams ? "Droomdiepte" : visualization ? "Visualisatiepiek" : "Verbeeldingspiek", nameEn: intuition ? "Intuition peak" : dreams ? "Dream depth" : visualization ? "Visualization peak" : "Imagination peak", purpose: "Brengt ritme, kleur en audio naar een begrensde fase voor beeldvorming en inzicht.", purposeEn: "Brings rhythm, color, and audio into a bounded phase for imagery and insight." },
    { time: t4, name: "Betekenis", nameEn: "Meaning", purpose: "Helpt beelden en ingevingen vertalen naar bruikbare inzichten of creatieve richting.", purposeEn: "Helps translate images and impressions into usable insights or creative direction." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid en behoud van innerlijke richting.", purposeEn: "Downshifts toward calm clarity and retained inner direction." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = frequencyProfile.map((value, index) => ({
    time: [0, t1, t2, t3, t4, t5, durationSeconds][index],
    value,
    musicMood: musicMoods[Math.min(index, musicMoods.length - 1)] || definition.mood,
    noiseType: index >= 4 ? "none" : noiseType,
    reverbPreset: index >= 4 ? "room" : reverbPreset,
    lightPulseShape: index === 0 || index >= 4 ? "sine" : pulseShape
  }));
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.2 : 0.1)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 4 },
    { time: t1, value: Math.round(rgbPeak * 0.34) },
    { time: t2, value: Math.round(rgbPeak * 0.62) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.52) },
    { time: t5, value: Math.round(rgbPeak * 0.25) },
    { time: durationSeconds, value: 3 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.25)) },
    { time: t2, value: Math.round(whitePeak * 0.55) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.35)) },
    { time: t5, value: intuition || dreams || spiritual ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 6 },
    { time: t1, value: intuition || dreams || spiritual ? 14 : 20 },
    { time: t2, value: possibility || flow || visualization ? 30 : 22 },
    { time: t3, value: possibility || flow ? 40 : visualization ? 34 : intuition || dreams || spiritual ? 24 : 30 },
    { time: t4, value: 22 },
    { time: t5, value: 11 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 40 },
    { time: t2, value: 50 },
    { time: t3, value: intuition || dreams || spiritual ? 48 : 60 },
    { time: t4, value: 46 },
    { time: t5, value: 32 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 5 },
    { time: t2, value: noiseType === "none" ? 0 : intuition || dreams || spiritual ? 9 : 4 },
    { time: t3, value: noiseType === "none" ? 0 : intuition || dreams || spiritual ? 8 : 3 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 10 },
    { time: t1, value: 16 },
    { time: t2, value: intuition || dreams || spiritual ? 34 : visualization || insight ? 26 : 20 },
    { time: t3, value: intuition || dreams || spiritual ? 46 : visualization || insight ? 34 : 24 },
    { time: t4, value: 20 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1.2 },
    { time: t1, value: 1.8 },
    { time: t2, value: intuition || dreams || spiritual ? 4.2 : visualization || insight ? 3.2 : 2.2 },
    { time: t3, value: intuition || dreams || spiritual ? 5.2 : visualization || insight ? 4.0 : 2.6 },
    { time: t4, value: 2.0 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.08, auroraDepth: 14 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: session.timeline.auroraSpeed, auroraDepth: session.timeline.auroraDepth },
    { time: t3, value: definition.accent, ganzfeldMode: (intuition || dreams || spiritual) && definition.style % 3 === 0, auroraMode: intuition || dreams || spiritual ? "medium" : "subtle", auroraSpeed: session.timeline.auroraSpeed + 0.03, auroraDepth: session.timeline.auroraDepth + 8 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 14 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createSelfExpressionTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const spiritual = definition.labelEn.includes("Spiritual");
  const mental = definition.labelEn.includes("Mental");
  const voice = /Voice|Speak|Communication|Conversations|Words|Clarity|Stem|Spreek|Communicatie|Gesprekken|Woorden|Helderheid/i.test(subjectText);
  const courage = /Fearless|Bold|Courage|Without Fear|Judgment|Self-Doubt|Fear of Judgment|Be Seen|Unleash|Onbevrees|Gedurf|Moed|Angst|Oordeel|Twijfel|Gezien|Ontketen/i.test(subjectText);
  const authenticity = /Authentic|True Self|Be Yourself|Identity|Uniqueness|Unapologetically|Truth|Masks|Authentiek|Ware zelf|Jezelf|Identiteit|Uniek|Waarheid|Maskers/i.test(subjectText);
  const performance = /Art|Music|Writing|Performance|Stage|Performer|Perform|Passion|Kunst|Muziek|Schrijven|Prestatie|Podium|Passie/i.test(subjectText);
  const emotion = /Feelings|Emotional|Suppressed|Heart|Soul|Love|Gratitude|Self-Acceptance|Self-Worth|Self-Respect|Self-Love|Compassion|Gevoel|Emotie|Hart|Ziel|Liefde|Dankbaarheid|Zelfacceptatie|Eigenwaarde|Zelfrespect|Zelfliefde|Compassie/i.test(subjectText);
  const storytelling = /Story|Narrative|Inspire Through Stories|Storytelling|Verhaal|Narratief|Stories/i.test(subjectText);
  const presence = /Presence|Charisma|Radiate|Shine|Magnetic|Inner Strength|Aanwezigheid|Charisma|Straal|Schitter|Magnetisch|Innerlijke kracht/i.test(subjectText);
  const purpose = /Purpose|Legacy|Mark|Vision|World|Best Self|Potential|Gifts|Doel|Nalatenschap|Sporen|Visie|Wereld|Beste zelf|Potentieel|Gaven/i.test(subjectText) || spiritual;
  const profileText = purpose ? {
    nl: "doelgerichte expressie, betekenisvolle communicatie en het delen van persoonlijke visie",
    en: "purposeful expression, meaningful communication, and sharing personal vision",
    marker: ["Doelstem", "Purpose voice"]
  } : authenticity ? {
    nl: "authenticiteit, identiteit en vrijer zichtbaar durven zijn als jezelf",
    en: "authenticity, identity, and becoming more freely visible as yourself",
    marker: ["Authentieke kern", "Authentic core"]
  } : courage ? {
    nl: "creatieve moed, minder angst voor oordeel en expressie zonder innerlijke remming",
    en: "creative courage, reduced fear of judgment, and expression without inner inhibition",
    marker: ["Moedruimte", "Courage space"]
  } : voice ? {
    nl: "stemgebruik, heldere communicatie en zelfverzekerd spreken vanuit eigenheid",
    en: "voice, clear communication, and confident speaking from authenticity",
    marker: ["Stemkanaal", "Voice channel"]
  } : performance ? {
    nl: "expressieve performance, podiumaanwezigheid en creatieve vertaling naar vorm",
    en: "expressive performance, stage presence, and creative translation into form",
    marker: ["Podiumflow", "Stage flow"]
  } : storytelling ? {
    nl: "persoonlijke verhalen, narratieve helderheid en communicatie met impact",
    en: "personal stories, narrative clarity, and communication with impact",
    marker: ["Verhaalkern", "Story core"]
  } : presence ? {
    nl: "aanwezigheid, charisma en natuurlijke uitstraling vanuit innerlijke kracht",
    en: "presence, charisma, and natural radiance from inner strength",
    marker: ["Aanwezigheid", "Presence"]
  } : emotion ? {
    nl: "gezonde emotionele expressie, hartgerichte openheid en zachte zelfacceptatie",
    en: "healthy emotional expression, heart-centered openness, and gentle self-acceptance",
    marker: ["Hartsexpressie", "Heart expression"]
  } : mental ? {
    nl: "heldere ideeenexpressie, mentale ordening en krachtige creatieve communicatie",
    en: "clear expression of ideas, mental organization, and powerful creative communication",
    marker: ["Ideehelderheid", "Idea clarity"]
  } : {
    nl: "vrije zelfexpressie, creatief vertrouwen en authentieke zichtbaarheid",
    en: "free self-expression, creative confidence, and authentic visibility",
    marker: ["Expressiekern", "Expression core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.14);
  const t2 = Math.round(durationSeconds * 0.32);
  const t3 = Math.round(durationSeconds * 0.52);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = purpose ? "#8b5cf6" : authenticity ? "#14b8a6" : courage ? "#f97316" : voice ? "#38bdf8" : performance ? "#facc15" : storytelling ? "#a78bfa" : presence ? "#fb7185" : emotion ? "#f472b6" : mental ? "#60a5fa" : "#22c55e";
  const colorC = purpose ? "#ede9fe" : authenticity ? "#ccfbf1" : courage ? "#ffedd5" : voice ? "#e0f2fe" : performance ? "#fef3c7" : storytelling ? "#f3e8ff" : presence ? "#ffe4e6" : emotion ? "#fce7f3" : mental ? "#dbeafe" : "#dcfce7";
  const rgbPeak = purpose ? 44 : authenticity ? 50 : courage ? 62 : voice ? 54 : performance ? 66 : storytelling ? 58 : presence ? 60 : emotion ? 48 : mental ? 56 : 52;
  const whitePeak = purpose ? 4 : authenticity ? 6 : courage ? 10 : voice ? 8 : performance ? 13 : storytelling ? 9 : presence ? 10 : emotion ? 5 : mental ? 8 : 7;
  const frequencyProfile = purpose ? [7.4, 8.2, 9.2, 10.4, 8.4, 7.4, 6.8] :
    authenticity ? [7.8, 8.8, 10.0, 11.0, 8.8, 7.8, 7.2] :
    courage ? [8.2, 9.4, 11.2, 12.8, 9.8, 8.4, 7.6] :
    voice ? [8.6, 10.0, 11.8, 13.2, 10.2, 8.8, 8.0] :
    performance ? [9.0, 10.8, 12.8, Math.min(definition.peak, 14.4), 11.0, 9.4, 8.4] :
    storytelling ? [8.4, 9.8, 11.6, 13.0, 10.2, 8.8, 8.0] :
    presence ? [8.2, 9.4, 11.0, 12.4, 9.6, 8.4, 7.8] :
    emotion ? [7.6, 8.4, 9.6, 10.6, 8.6, 7.6, 7.0] :
    mental ? [8.8, 10.2, 12.0, 13.4, 10.4, 9.0, 8.2] :
    [8.0, 9.2, 10.8, 12.0, 9.4, 8.2, 7.6];
  const musicMoods = [
    definition.mood,
    purpose || emotion || authenticity ? "Binaural Deep Meditation" : "Cinematic Ambient",
    performance || courage || voice ? "Uplifting Electronic Ambient" : "Ambient",
    purpose ? "Meditation Bowls" : performance || voice ? "Drone" : "Soft Soundscapes",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = purpose || emotion || authenticity || courage ? "pink" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = purpose ? "hall" : voice || performance || storytelling ? "plate" : "room";
  const pulseShape = voice || performance || courage || mental ? "triangle" : "sine";
  session.category = "creativiteit";
  session.subcategory = "self-expression";
  session.goal = `Een verantwoorde Self-Expression-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt expressie, communicatie en creatieve zichtbaarheid zonder medische claim.`;
  session.goalEn = `A responsible Self-Expression session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports expression, communication, and creative visibility without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 18 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 30 + (definition.style % 7) * 4;
  session.audioMode = purpose || emotion || authenticity ? "binaural" : voice || performance || mental ? "isochronic-monaural" : "monaural";
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = purpose || emotion || authenticity ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = purpose ? 0.08 : emotion || authenticity ? 0.11 : 0.18;
  session.timeline.auroraDepth = purpose ? 20 : emotion || authenticity ? 16 : definition.style % 4 === 0 ? 24 : 0;
  session.timeline.markers = [
    { time: 0, name: "Veilige ruimte", nameEn: "Safe space", purpose: "Start met lage intensiteit en een veilige overgang naar expressie.", purposeEn: "Starts with low intensity and a safe transition into expression." },
    { time: t1, name: "Stem openen", nameEn: "Open voice", purpose: "Verbreedt aandacht voor stem, gevoel, lichaamstaal en persoonlijke waarheid.", purposeEn: "Broadens attention for voice, feeling, body language, and personal truth." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: performance ? "Expressiepiek" : voice ? "Communicatiepiek" : courage ? "Moedpiek" : "Zelfexpressiepiek", nameEn: performance ? "Expression peak" : voice ? "Communication peak" : courage ? "Courage peak" : "Self-expression peak", purpose: "Brengt ritme, kleur en audio naar een begrensde activatiefase voor zichtbaar worden en uitdrukken.", purposeEn: "Brings rhythm, color, and audio into a bounded activation phase for being seen and expressing." },
    { time: t4, name: "Vormgeven", nameEn: "Give form", purpose: "Helpt innerlijke inhoud vertalen naar woorden, verhaal, houding of creatieve vorm.", purposeEn: "Helps translate inner content into words, story, posture, or creative form." },
    { time: t5, name: "Integratie", nameEn: "Integration", purpose: "Bouwt af naar rustige helderheid en behoud van expressief vertrouwen.", purposeEn: "Downshifts toward calm clarity and retained expressive confidence." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = frequencyProfile.map((value, index) => ({
    time: [0, t1, t2, t3, t4, t5, durationSeconds][index],
    value,
    musicMood: musicMoods[Math.min(index, musicMoods.length - 1)] || definition.mood,
    noiseType: index >= 4 ? "none" : noiseType,
    reverbPreset: index >= 4 ? "room" : reverbPreset,
    lightPulseShape: index === 0 || index >= 4 ? "sine" : pulseShape
  }));
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.22 : 0.1)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.38) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.54) },
    { time: t5, value: Math.round(rgbPeak * 0.28) },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.3)) },
    { time: t2, value: Math.round(whitePeak * 0.6) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.4)) },
    { time: t5, value: purpose || emotion || authenticity ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 6 },
    { time: t1, value: purpose || emotion || authenticity ? 16 : 22 },
    { time: t2, value: voice || performance || courage || mental ? 32 : 24 },
    { time: t3, value: performance ? 44 : voice || courage || mental ? 38 : purpose || emotion || authenticity ? 26 : 32 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 40 },
    { time: t2, value: 52 },
    { time: t3, value: purpose || emotion || authenticity ? 50 : 64 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 5 },
    { time: t2, value: noiseType === "none" ? 0 : purpose || emotion || authenticity || courage ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : purpose || emotion || authenticity || courage ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: purpose ? 32 : emotion || authenticity ? 24 : voice || performance || storytelling ? 22 : 18 },
    { time: t3, value: purpose ? 44 : emotion || authenticity ? 32 : voice || performance || storytelling ? 30 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.6 },
    { time: t2, value: purpose ? 4.0 : emotion || authenticity ? 2.8 : voice || performance || storytelling ? 2.6 : 2 },
    { time: t3, value: purpose ? 5.0 : emotion || authenticity ? 3.4 : voice || performance || storytelling ? 3.2 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: purpose || emotion || authenticity ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: purpose || emotion || authenticity ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: purpose && definition.style % 4 === 0, auroraMode: purpose || emotion || authenticity ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: purpose ? 0.1 : 0.2, auroraDepth: purpose || emotion || authenticity ? 28 : definition.style % 4 === 0 ? 22 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createLearningCreativePerformanceTimelineSession(definition) {
  const session = createCreativeThinkingTimelineSession(definition);
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const spiritual = definition.labelEn.includes("Spiritual");
  const emotional = definition.labelEn.includes("Emotional");
  const memory = /Memory|Recall|Retention|Remember|Geheugen|Oproep|Retentie|Onthouden/i.test(subjectText);
  const focus = /Focus|Study|Attention|Deep Work|Concentrated|Laser|Quiet Study|Studie|Aandacht|Geconcentreerd|Rustige studie/i.test(subjectText);
  const exam = /Exam|Test|Academic|Presentation|Interview|Performance Readiness|Confidence|Anxiety|Stress|Abilities|Perfection|Challenges|Examen|Toets|Academisch|Presentatie|Interview|Vertrouwen|Angst|Stress|Vaardigheden|Perfectie|Uitdagingen/i.test(subjectText) || emotional;
  const skill = /Skill|Abilities|Practice|Repetition|Discipline|Competence|Professional|Continuous Improvement|Vaardigheid|Vermogens|Oefening|Herhaling|Discipline|Competentie|Professionele|Verbetering/i.test(subjectText);
  const language = /Language|Vocabulary|Reading|Writing|Speaking|Communication|Listening|Taal|Woordenschat|Lezen|Schrijf|Spreek|Communicatie|Luister/i.test(subjectText);
  const creative = /Creative|Creativity|Innovation|Flow|Genius|Artist|Inventor|Entrepreneur|Idea|Visionary|Original|Out-of-the-Box|Creatief|Innovatie|Kunstenaar|Uitvinder|Ondernemer|Idee|Visionair|Origineel/i.test(subjectText);
  const peak = /Peak|High Performance|Elite|Excellence|Optimal|Mastery|Exceptional|Topniveau|Piek|Excellentie|Optimaal|Meesterschap|Uitzonderlijke/i.test(subjectText);
  const mindset = /Motivation|Curiosity|Growth|Potential|Agility|Flexibility|Adaptive|Analytical|Critical|Strategic|Systems|Logical|Success Mindset|Motivatie|Nieuwsgier|Groei|Potentieel|Wendbaarheid|Flexibiliteit|Adaptief|Analytisch|Kritisch|Strategisch|Systeem|Logisch|Succesmindset/i.test(subjectText);
  const mindful = spiritual || /Mindful|Conscious|Present Moment|Awareness|Balanced Mind|Calm Creative Mind|Inner Clarity|Wisdom|Curious Mind|Bewust|Huidige moment|Bewustzijn|Gebalanceerde|Kalme|Innerlijke helderheid|Wijsheid/i.test(subjectText);
  const profileText = mindful ? {
    nl: "bewust leren, innerlijke helderheid en het verbinden van kennis met wijsheid",
    en: "conscious learning, inner clarity, and connecting knowledge with wisdom",
    marker: ["Bewust leren", "Conscious learning"]
  } : exam ? {
    nl: "prestatievertrouwen, kalmte bij toetsmomenten en stabiele mentale paraatheid",
    en: "performance confidence, calm around assessment moments, and steady mental readiness",
    marker: ["Prestatieanker", "Performance anchor"]
  } : memory ? {
    nl: "geheugenconsolidatie, oproepsnelheid en duurzaam kennisbehoud",
    en: "memory consolidation, recall speed, and durable knowledge retention",
    marker: ["Geheugenkern", "Memory core"]
  } : language ? {
    nl: "taalverwerving, begrip, luisteren, spreken en heldere communicatie",
    en: "language acquisition, comprehension, listening, speaking, and clear communication",
    marker: ["Taalvenster", "Language window"]
  } : skill ? {
    nl: "vaardigheidsopbouw, doelbewuste oefening en groei door herhaling",
    en: "skill building, deliberate practice, and growth through repetition",
    marker: ["Vaardigheidslus", "Skill loop"]
  } : focus ? {
    nl: "studiefocus, aandachtsspreiding verminderen en geconcentreerd deep work",
    en: "study focus, reducing attentional scatter, and concentrated deep work",
    marker: ["Studiekanaal", "Study channel"]
  } : peak ? {
    nl: "piekprestatie, cognitieve helderheid en stabiel creatief meesterschap",
    en: "peak performance, cognitive clarity, and steady creative mastery",
    marker: ["Piekleren", "Peak learning"]
  } : creative ? {
    nl: "creatief leren, innovatie, ideevorming en prestatie in flow",
    en: "creative learning, innovation, ideation, and performance in flow",
    marker: ["Creatieve leerflow", "Creative learning flow"]
  } : mindset ? {
    nl: "groeimindset, nieuwsgierigheid, mentale flexibiliteit en lerende veerkracht",
    en: "growth mindset, curiosity, mental flexibility, and learning resilience",
    marker: ["Groeimodus", "Growth mode"]
  } : {
    nl: "efficiënt leren, begrip, kennisintegratie en praktische toepassing",
    en: "efficient learning, comprehension, knowledge integration, and practical application",
    marker: ["Leerkern", "Learning core"]
  };
  const durationSeconds = session.durationSeconds;
  const t1 = Math.round(durationSeconds * 0.12);
  const t2 = Math.round(durationSeconds * 0.3);
  const t3 = Math.round(durationSeconds * 0.5);
  const t4 = Math.round(durationSeconds * 0.72);
  const t5 = Math.round(durationSeconds * 0.88);
  const colorB = mindful ? "#8b5cf6" : exam ? "#f472b6" : memory ? "#38bdf8" : language ? "#14b8a6" : skill ? "#f97316" : focus ? "#60a5fa" : peak ? "#facc15" : creative ? "#22c55e" : mindset ? "#a78bfa" : "#38bdf8";
  const colorC = mindful ? "#ede9fe" : exam ? "#fce7f3" : memory ? "#e0f2fe" : language ? "#ccfbf1" : skill ? "#ffedd5" : focus ? "#dbeafe" : peak ? "#fef3c7" : creative ? "#dcfce7" : mindset ? "#f3e8ff" : "#e0f2fe";
  const rgbPeak = mindful ? 42 : exam ? 46 : memory ? 56 : language ? 54 : skill ? 62 : focus ? 58 : peak ? 68 : creative ? 64 : mindset ? 56 : 58;
  const whitePeak = mindful ? 4 : exam ? 5 : memory ? 9 : language ? 8 : skill ? 12 : focus ? 10 : peak ? 14 : creative ? 12 : mindset ? 8 : 9;
  const frequencyProfile = mindful ? [7.2, 8.0, 9.0, 10.0, 8.2, 7.4, 6.8] :
    exam ? [7.8, 8.8, 10.0, 11.2, 8.8, 7.8, 7.2] :
    memory ? [8.2, 9.4, 10.8, 12.0, 9.6, 8.4, 7.8] :
    language ? [8.6, 10.0, 11.6, 12.8, 10.2, 8.8, 8.0] :
    skill ? [9.0, 10.6, 12.6, 14.0, 10.8, 9.2, 8.4] :
    focus ? [8.8, 10.2, 12.0, 13.4, 10.4, 9.0, 8.2] :
    peak ? [9.4, 11.0, 13.0, Math.min(definition.peak, 15.0), 11.4, 9.8, 8.8] :
    creative ? [9.0, 10.8, 12.8, Math.min(definition.peak, 14.6), 11.0, 9.4, 8.4] :
    mindset ? [8.4, 9.8, 11.4, 12.8, 10.0, 8.8, 8.0] :
    [8.6, 10.0, 11.8, 13.2, 10.2, 8.8, 8.0];
  const musicMoods = [
    definition.mood,
    mindful || exam ? "Binaural Deep Meditation" : "Uplifting Electronic Ambient",
    focus || memory || peak || skill ? "Cinematic Ambient" : "Ambient",
    mindful ? "Meditation Bowls" : focus || skill || peak ? "Drone" : "Theta Soundscape",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const noiseType = mindful || exam ? "pink" : definition.style % 6 === 0 ? "none" : "pink";
  const reverbPreset = mindful ? "hall" : exam ? "room" : focus || memory || skill || peak ? "plate" : "room";
  const pulseShape = mindful || exam ? "sine" : "triangle";
  session.category = "creativiteit";
  session.subcategory = "learning-creative-performance";
  session.goal = `Een verantwoorde Learning & Creative Performance-sessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt leren, focus, geheugen, vaardigheidsopbouw en creatieve prestatie zonder medische claim.`;
  session.goalEn = `A responsible Learning & Creative Performance session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports learning, focus, memory, skill building, and creative performance without making medical claims.`;
  session.carrier = definition.carrier;
  session.musicCrossfadeSeconds = 16 + (definition.style % 6) * 3;
  session.colorCrossfadeSeconds = 28 + (definition.style % 7) * 4;
  session.audioMode = mindful || exam ? "binaural" : focus || memory || skill || peak ? "isochronic-monaural" : "monaural";
  session.allowedMusicMoods = musicMoods;
  session.timeline.pulseShape = pulseShape;
  session.timeline.audioMode = session.audioMode;
  session.timeline.musicMood = definition.mood;
  session.timeline.noiseType = noiseType;
  session.timeline.reverbPreset = reverbPreset;
  session.timeline.auroraMode = mindful || exam ? "subtle" : definition.style % 4 === 0 ? "medium" : "off";
  session.timeline.auroraSpeed = mindful ? 0.08 : exam ? 0.11 : 0.18;
  session.timeline.auroraDepth = mindful ? 18 : exam ? 14 : definition.style % 4 === 0 ? 22 : 0;
  session.timeline.markers = [
    { time: 0, name: "Leerstart", nameEn: "Learning start", purpose: "Start met lage intensiteit en een heldere overgang naar leermodus.", purposeEn: "Starts with low intensity and a clear transition into learning mode." },
    { time: t1, name: "Aandacht openen", nameEn: "Open attention", purpose: "Verbreedt aandacht voor begrip, context en relevante informatie.", purposeEn: "Broadens attention for understanding, context, and relevant information." },
    { time: t2, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
    { time: t3, name: peak ? "Prestatiepiek" : memory ? "Geheugenpiek" : focus ? "Studiepiek" : creative ? "Creatieve prestatie" : "Leeractivatie", nameEn: peak ? "Performance peak" : memory ? "Memory peak" : focus ? "Study peak" : creative ? "Creative performance" : "Learning activation", purpose: "Brengt ritme, kleur en audio naar een begrensde activatiefase voor leren en prestatie.", purposeEn: "Brings rhythm, color, and audio into a bounded activation phase for learning and performance." },
    { time: t4, name: "Integreren", nameEn: "Integrate", purpose: "Helpt nieuwe informatie ordenen, verbinden en vertalen naar toepassing.", purposeEn: "Helps organize, connect, and translate new information into application." },
    { time: t5, name: "Consolidatie", nameEn: "Consolidation", purpose: "Bouwt af naar rustige helderheid en behoud van de belangrijkste leerpunten.", purposeEn: "Downshifts toward calm clarity and retention of the main learning points." },
    { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: "Eindigt met lage intensiteit en een zachte overgang uit de sessie.", purposeEn: "Ends with low intensity and a gentle transition out of the session." }
  ];
  session.timeline.curves.frequency = frequencyProfile.map((value, index) => ({
    time: [0, t1, t2, t3, t4, t5, durationSeconds][index],
    value,
    musicMood: musicMoods[Math.min(index, musicMoods.length - 1)] || definition.mood,
    noiseType: index >= 4 ? "none" : noiseType,
    reverbPreset: index >= 4 ? "room" : reverbPreset,
    lightPulseShape: index === 0 || index >= 4 ? "sine" : pulseShape
  }));
  session.timeline.curves.audioFrequency = session.timeline.curves.frequency.map((point, index) => ({
    ...point,
    value: Math.max(4, point.value - (index === 3 ? 0.25 : 0.12)),
    audioMode: session.audioMode,
    audioPulseShape: point.lightPulseShape,
    pulseShape: point.lightPulseShape
  }));
  session.timeline.curves.rgb = [
    { time: 0, value: 5 },
    { time: t1, value: Math.round(rgbPeak * 0.4) },
    { time: t2, value: Math.round(rgbPeak * 0.68) },
    { time: t3, value: rgbPeak },
    { time: t4, value: Math.round(rgbPeak * 0.54) },
    { time: t5, value: Math.round(rgbPeak * 0.28) },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.white = [
    { time: 0, value: 1 },
    { time: t1, value: Math.max(1, Math.round(whitePeak * 0.32)) },
    { time: t2, value: Math.round(whitePeak * 0.62) },
    { time: t3, value: whitePeak },
    { time: t4, value: Math.max(1, Math.round(whitePeak * 0.42)) },
    { time: t5, value: mindful || exam ? 0 : 1 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.pulseVolume = [
    { time: 0, value: 7 },
    { time: t1, value: mindful || exam ? 16 : 22 },
    { time: t2, value: focus || memory || skill || peak ? 34 : 28 },
    { time: t3, value: focus || memory || skill || peak || creative ? 44 : mindful || exam ? 26 : 36 },
    { time: t4, value: 24 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 5 }
  ];
  session.timeline.curves.musicVolume = [
    { time: 0, value: 24 },
    { time: t1, value: 42 },
    { time: t2, value: 54 },
    { time: t3, value: mindful || exam ? 50 : 66 },
    { time: t4, value: 48 },
    { time: t5, value: 34 },
    { time: durationSeconds, value: 18 }
  ];
  session.timeline.curves.noiseVolume = [
    { time: 0, value: noiseType === "none" ? 0 : 2 },
    { time: t1, value: noiseType === "none" ? 0 : 4 },
    { time: t2, value: noiseType === "none" ? 0 : mindful || exam ? 8 : 3 },
    { time: t3, value: noiseType === "none" ? 0 : mindful || exam ? 7 : 2 },
    { time: t4, value: 0 },
    { time: t5, value: 0 },
    { time: durationSeconds, value: 0 }
  ];
  session.timeline.curves.reverbMix = [
    { time: 0, value: 8 },
    { time: t1, value: 14 },
    { time: t2, value: mindful ? 30 : exam ? 22 : focus || memory || skill || peak ? 20 : 18 },
    { time: t3, value: mindful ? 42 : exam ? 30 : focus || memory || skill || peak ? 28 : 22 },
    { time: t4, value: 18 },
    { time: t5, value: 12 },
    { time: durationSeconds, value: 4 }
  ];
  session.timeline.curves.reverbDecay = [
    { time: 0, value: 1 },
    { time: t1, value: 1.5 },
    { time: t2, value: mindful ? 3.8 : exam ? 2.6 : focus || memory || skill || peak ? 2.5 : 2 },
    { time: t3, value: mindful ? 4.8 : exam ? 3.2 : focus || memory || skill || peak ? 3.0 : 2.2 },
    { time: t4, value: 1.8 },
    { time: t5, value: 1.2 },
    { time: durationSeconds, value: 0.6 }
  ];
  session.timeline.curves.color = [
    { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 },
    { time: t1, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.1, auroraDepth: 10 },
    { time: t2, value: definition.accent, ganzfeldMode: false, auroraMode: mindful || exam ? "subtle" : "off", auroraSpeed: 0.13, auroraDepth: mindful || exam ? 16 : 0 },
    { time: t3, value: definition.accent, ganzfeldMode: mindful && definition.style % 4 === 0, auroraMode: mindful || exam ? "medium" : definition.style % 4 === 0 ? "subtle" : "off", auroraSpeed: mindful ? 0.1 : 0.2, auroraDepth: mindful || exam ? 28 : definition.style % 4 === 0 ? 22 : 0 },
    { time: t4, value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.12, auroraDepth: 12 },
    { time: t5, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.06, auroraDepth: 0 },
    { time: durationSeconds, value: "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.05, auroraDepth: 0 }
  ];
  return session;
}

function createHypnosisSupportTimelineSession(definition) {
  const durationProfiles = [1500, 1800, 2100, 2400, 1680, 1980, 1320, 1560, 1860, 2160, 1440, 1740];
  const durationSeconds = durationProfiles[definition.profile];
  const subjectText = `${definition.subjectEn} ${definition.subject}`;
  const mental = definition.labelEn.includes("Mental");
  const physical = definition.labelEn.includes("Physical");
  const spiritual = definition.labelEn.includes("Spiritual");
  const sleep = /Sleep|Asleep|Waking|Nightmare|Slaap|inslapen|wakker|Nachtmerries/i.test(subjectText);
  const fear = /Anxiety|Panic|Fear|Phobia|Claustro|Heights|Spider|Agora|Dental|Medical|Flying|Driving|angst|fobie|paniek|Hoogtevrees|Vliegangst|Rijangst|Tandartsangst/i.test(subjectText);
  const stress = /Stress|Burnout|Overstrain|Exhaustion|Restlessness|Irritability|Overspannen|Burn-out|uitputting|onrust|Prikkelbaarheid/i.test(subjectText);
  const emotion = /Mood|Depressive|Self-Esteem|Confidence|Insecurity|Anger|Jealousy|Guilt|Shame|Abandonment|Commitment|Relationship|Heartbreak|Grief|Loss|Trauma|PTSD|Blocks|Inner Child|Forgiveness|Acceptance|Self-Love|Boundaries|Pressure|Somber|Depressieve|zelfbeeld|zelfvertrouwen|Onzekerheid|Boosheid|Woede|Jaloezie|Schuld|Schaamte|Verlatingsangst|Bindingsangst|Relatie|Liefdesverdriet|Rouw|Verlies|Trauma|PTSS|blokkades|Zelfacceptatie|Zelfliefde|Grenzen|Prestatiedruk/i.test(subjectText);
  const habits = /Weight|Eating|Sugar|Smoking|Alcohol|Cannabis|Gambling|Gaming|Social Media|Phone|Lifestyle|Habits|Motivation|Discipline|Procrastination|Control|Perfectionism|Gewicht|eten|Suiker|roken|Alcohol|Cannabis|Gok|Game|sociale media|Telefoon|Leefstijl|gewoonten|motivatie|discipline|Uitstel|Controle|Perfectionisme/i.test(subjectText);
  const body = /Fatigue|Energy|Pain|Fibromyalgia|Migraine|Headache|Bowel|Stomach|Tinnitus|Bruxism|Nail|Hair|Blushing|Sweating|Libido|Fertility|Menopause|Illness|Medical Procedure|vermoeidheid|energie|pijn|Fibromyalgie|Migraine|hoofdpijn|Darm|Maag|Tinnitus|Bruxisme|Nagel|Haar|Blozen|zweten|Libido|Vruchtbaarheid|Menopauze|ziekte|medische ingreep/i.test(subjectText) || physical;
  const performance = /Exam|Presentation|Public Speaking|Failure|Concentration|Focus|Decision|Resilience|Sports|Assertiveness|Examen|Presentatie|Spreek|Faal|Concentratie|focus|Besluit|veerkracht|Sport|Assertiviteit/i.test(subjectText) || mental;
  const meaning = /Life Goals|Meaning|Personal Growth|Inner Peace|goals|Spiritual|Levensdoelen|Zingevingsvragen|Persoonlijke groei|Innerlijke rust/i.test(subjectText) || spiritual;
  const profileText = sleep ? {
    nl: "slaaphypnose, veilige ontspanning en een geleidelijke overgang naar diepe rust",
    en: "sleep hypnosis, safe relaxation, and a gradual transition into deep rest",
    marker: ["Slaapinductie", "Sleep induction"]
  } : fear ? {
    nl: "angstreductie, veilige exposure in verbeelding en kalme zelfcontrole",
    en: "anxiety reduction, safe imagery-based exposure, and calm self-control",
    marker: ["Veiligheidsanker", "Safety anchor"]
  } : habits ? {
    nl: "gewoonteverandering, cravingruimte en versterking van gezonde keuzes",
    en: "habit change, craving space, and reinforcement of healthy choices",
    marker: ["Keuzeruimte", "Choice space"]
  } : emotion ? {
    nl: "emotionele verwerking, zelfcompassie en herstel van innerlijke veiligheid",
    en: "emotional processing, self-compassion, and restoration of inner safety",
    marker: ["Emotionele verwerking", "Emotional processing"]
  } : body ? {
    nl: "lichaamsgerichte hypnose, comfort, herstelbeelden en rustige zelfregulatie",
    en: "body-oriented hypnosis, comfort, recovery imagery, and calm self-regulation",
    marker: ["Lichaamscomfort", "Body comfort"]
  } : performance ? {
    nl: "mentale rehearsal, focus, zelfvertrouwen en prestatiegerichte kalmte",
    en: "mental rehearsal, focus, confidence, and performance calm",
    marker: ["Rehearsal", "Rehearsal"]
  } : meaning ? {
    nl: "waarden, zingeving, innerlijke rust en persoonlijke groei",
    en: "values, meaning, inner peace, and personal growth",
    marker: ["Betekenislaag", "Meaning layer"]
  } : stress ? {
    nl: "stressontlading, parasympathische rust en herstel van draagkracht",
    en: "stress release, parasympathetic calm, and restoration of capacity",
    marker: ["Stressontlading", "Stress release"]
  } : {
    nl: "hypnotische ontspanning, suggestibiliteit en kalme integratie",
    en: "hypnotic relaxation, suggestibility, and calm integration",
    marker: ["Hypnotische verdieping", "Hypnotic deepening"]
  };
  const startFrequency = sleep ? 8.0 : fear || stress ? 8.4 : habits || performance ? 9.2 : body ? 7.8 : meaning ? 7.2 : 8.2;
  const inductionFrequency = sleep ? 6.4 : fear || stress || emotion ? 6.8 : habits ? 7.4 : body ? 6.6 : performance ? 8.0 : meaning ? 6.2 : 7.0;
  const deepeningFrequency = sleep ? 5.2 : fear || stress || emotion ? 5.8 : habits ? 6.2 : body ? 5.6 : performance ? 6.8 : meaning ? 5.4 : 5.8;
  const coreFrequency = sleep ? 3.8 : fear ? 5.2 : stress || emotion ? 5.0 : habits ? 5.8 : body ? 4.8 : performance ? 6.4 : meaning ? 4.6 : 5.2;
  const integrationFrequency = sleep ? 3.4 : fear || emotion || stress ? 5.8 : habits || performance ? 7.2 : body ? 5.4 : meaning ? 5.2 : 6.0;
  const endFrequency = sleep ? 3.0 : habits || performance ? 8.0 : fear || stress || emotion ? 6.8 : body ? 6.0 : meaning ? 5.8 : 7.0;
  const audioMode = performance || habits ? (definition.style % 3 === 0 ? "monaural" : "binaural") : "binaural";
  const pulseShape = sleep || fear || emotion || body ? "sine" : definition.style % 3 === 0 ? "triangle" : "sine";
  const noiseType = sleep || fear || stress || emotion || body ? "brown" : definition.style % 5 === 0 ? "none" : "pink";
  const reverbPreset = sleep || emotion || meaning ? "hall" : fear || body || stress ? "room" : "plate";
  const colorA = definition.accent;
  const colorB = sleep ? "#1e293b" : fear ? "#14b8a6" : habits ? "#60a5fa" : emotion ? "#f472b6" : body ? "#22c55e" : performance ? "#facc15" : meaning ? "#8b5cf6" : "#38bdf8";
  const colorC = sleep ? "#020617" : fear ? "#ccfbf1" : habits ? "#dbeafe" : emotion ? "#fce7f3" : body ? "#dcfce7" : performance ? "#fef3c7" : meaning ? "#ede9fe" : "#e0f2fe";
  const musicMoods = [
    definition.mood,
    sleep || emotion || meaning ? "Binaural Deep Meditation" : "Theta Soundscape",
    fear || stress || body ? "Soft Soundscapes" : "Ambient",
    meaning ? "Meditation Bowls" : sleep ? "Drone" : "Cinematic Ambient",
    "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sleep ? 18 : fear || stress || emotion ? 26 : body ? 24 : habits ? 32 : performance ? 38 : meaning ? 28 : 30;
  const whitePeak = sleep ? 1 : fear || stress || emotion || body ? 3 : habits ? 5 : performance ? 7 : meaning ? 2 : 4;
  const coreTime = Math.round(durationSeconds * 0.44);
  const suggestionTime = Math.round(durationSeconds * 0.64);
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: "hypnose",
    goal: `Een verantwoorde hypnosesessie rond ${definition.subject.toLowerCase()}, gericht op ${profileText.nl}. De sessie ondersteunt ontspanning en mentale voorbereiding en doet geen medische behandelclaim.`,
    goalEn: `A responsible hypnosis session for ${definition.subjectEn.toLowerCase()}, focused on ${profileText.en}. The session supports relaxation and mental preparation and makes no medical treatment claim.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: 30 + (definition.style % 6) * 3,
    colorCrossfadeSeconds: 58 + (definition.style % 7) * 5,
    sessionStructure: "timeline",
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: definition.mood,
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: meaning || emotion || sleep ? "subtle" : definition.style % 4 === 0 ? "medium" : "off",
      auroraSpeed: meaning || emotion || sleep ? 0.05 : 0.1,
      auroraDepth: meaning || emotion || sleep ? 10 : definition.style % 4 === 0 ? 18 : 0,
      markers: [
        { time: 0, name: "Voorbereiding", nameEn: "Preparation", purpose: "Start met lage intensiteit, orientatie en een veilige overgang naar de sessie.", purposeEn: "Starts with low intensity, orientation, and a safe transition into the session." },
        { time: Math.round(durationSeconds * 0.14), name: "Inductie", nameEn: "Induction", purpose: "Bouwt rustige focus op met alpha-afbouw, ademruimte en voorspelbare pulsen.", purposeEn: "Builds calm focus with alpha downshifting, breathing space, and predictable pulses." },
        { time: Math.round(durationSeconds * 0.28), name: "Verdieping", nameEn: "Deepening", purpose: "Beweegt naar theta en verlaagt de prikkelbelasting voor verhoogde ontvankelijkheid.", purposeEn: "Moves toward theta and lowers stimulation load for increased receptivity." },
        { time: coreTime, name: profileText.marker[0], nameEn: profileText.marker[1], purpose: `Richt de kernfase op ${profileText.nl}.`, purposeEn: `Focuses the core phase on ${profileText.en}.` },
        { time: suggestionTime, name: "Suggestie-integratie", nameEn: "Suggestion integration", purpose: "Houdt een stabiele trancezone voor therapeutische suggesties, verbeelding en nieuwe keuzeopties.", purposeEn: "Maintains a stable trance zone for therapeutic suggestions, imagery, and new choice options." },
        { time: Math.round(durationSeconds * 0.82), name: sleep ? "Slaapovergang" : "Egoversterking", nameEn: sleep ? "Sleep transition" : "Ego strengthening", purpose: sleep ? "Bouwt verder af richting stille slaapvriendelijke afronding." : "Versterkt rust, autonomie en praktische integratie voor na de sessie.", purposeEn: sleep ? "Continues downshifting toward a quiet sleep-friendly close." : "Strengthens calm, autonomy, and practical integration after the session." },
        { time: durationSeconds, name: "Afronding", nameEn: "Close", purpose: sleep ? "Eindigt donker en zacht, zonder heractivering." : "Keert terug naar heldere, rustige aanwezigheid.", purposeEn: sleep ? "Ends dark and soft, without reactivation." : "Returns to clear, calm presence." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.14), value: inductionFrequency, musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: Math.round(durationSeconds * 0.28), value: deepeningFrequency, musicMood: musicMoods[2] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: coreTime, value: coreFrequency, musicMood: musicMoods[3] || "Binaural Deep Meditation", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: suggestionTime, value: sleep ? Math.min(coreFrequency, 3.6) : coreFrequency + 0.4, musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.82), value: integrationFrequency, musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(2, startFrequency - 0.15), musicMood: musicMoods[0] || "Theta Soundscape", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.14), value: Math.max(2, inductionFrequency - 0.15), musicMood: musicMoods[1] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: Math.round(durationSeconds * 0.28), value: Math.max(2, deepeningFrequency - 0.1), musicMood: musicMoods[2] || "Soft Soundscapes", noiseType, reverbPreset, audioMode, audioPulseShape: pulseShape, pulseShape },
          { time: coreTime, value: Math.max(2, coreFrequency - 0.08), musicMood: musicMoods[3] || "Binaural Deep Meditation", noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: suggestionTime, value: Math.max(2, (sleep ? Math.min(coreFrequency, 3.6) : coreFrequency + 0.25)), musicMood: musicMoods[2] || definition.mood, noiseType, reverbPreset, audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: Math.round(durationSeconds * 0.82), value: Math.max(2, integrationFrequency - 0.1), musicMood: musicMoods[4] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : noiseType, reverbPreset: "room", audioMode, audioPulseShape: "sine", pulseShape: "sine" },
          { time: durationSeconds, value: Math.max(2, endFrequency - 0.1), musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine" }
        ],
        rgb: [
          { time: 0, value: 3 },
          { time: Math.round(durationSeconds * 0.14), value: Math.round(rgbPeak * 0.35) },
          { time: Math.round(durationSeconds * 0.28), value: Math.round(rgbPeak * 0.65) },
          { time: coreTime, value: rgbPeak },
          { time: suggestionTime, value: Math.round(rgbPeak * 0.78) },
          { time: Math.round(durationSeconds * 0.82), value: sleep ? 8 : Math.round(rgbPeak * 0.38) },
          { time: durationSeconds, value: sleep ? 0 : 3 }
        ],
        white: [
          { time: 0, value: 0 },
          { time: Math.round(durationSeconds * 0.14), value: Math.max(0, Math.round(whitePeak * 0.25)) },
          { time: Math.round(durationSeconds * 0.28), value: Math.max(0, Math.round(whitePeak * 0.55)) },
          { time: coreTime, value: whitePeak },
          { time: suggestionTime, value: Math.max(0, Math.round(whitePeak * 0.45)) },
          { time: Math.round(durationSeconds * 0.82), value: sleep ? 0 : 1 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 5 },
          { time: Math.round(durationSeconds * 0.14), value: 14 },
          { time: Math.round(durationSeconds * 0.28), value: 22 },
          { time: coreTime, value: sleep || emotion || fear ? 24 : 30 },
          { time: suggestionTime, value: sleep ? 18 : 24 },
          { time: Math.round(durationSeconds * 0.82), value: sleep ? 8 : 14 },
          { time: durationSeconds, value: sleep ? 0 : 4 }
        ],
        musicVolume: [
          { time: 0, value: 20 },
          { time: Math.round(durationSeconds * 0.14), value: 38 },
          { time: Math.round(durationSeconds * 0.28), value: 48 + (definition.style % 5) },
          { time: coreTime, value: 54 + (definition.style % 4) },
          { time: suggestionTime, value: 46 },
          { time: Math.round(durationSeconds * 0.82), value: sleep ? 22 : 34 },
          { time: durationSeconds, value: sleep ? 0 : 14 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 3 },
          { time: Math.round(durationSeconds * 0.14), value: noiseType === "none" ? 0 : 7 },
          { time: Math.round(durationSeconds * 0.28), value: noiseType === "none" ? 0 : 9 },
          { time: coreTime, value: noiseType === "none" ? 0 : sleep || fear || body ? 12 : 7 },
          { time: suggestionTime, value: noiseType === "none" ? 0 : sleep ? 10 : 5 },
          { time: Math.round(durationSeconds * 0.82), value: noiseType === "none" ? 0 : 3 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 12 },
          { time: Math.round(durationSeconds * 0.14), value: 22 },
          { time: Math.round(durationSeconds * 0.28), value: 34 },
          { time: coreTime, value: meaning || emotion || sleep ? 46 : 36 },
          { time: suggestionTime, value: meaning || emotion || sleep ? 42 : 30 },
          { time: Math.round(durationSeconds * 0.82), value: 18 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.4 },
          { time: Math.round(durationSeconds * 0.14), value: 2.4 },
          { time: Math.round(durationSeconds * 0.28), value: 3.8 },
          { time: coreTime, value: meaning || emotion || sleep ? 5.2 : 3.4 },
          { time: suggestionTime, value: meaning || emotion || sleep ? 4.6 : 3.0 },
          { time: Math.round(durationSeconds * 0.82), value: 1.8 },
          { time: durationSeconds, value: 0.8 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: Math.round(durationSeconds * 0.14), value: colorB, ganzfeldMode: false, auroraMode: "subtle", auroraSpeed: 0.06, auroraDepth: 8 },
          { time: Math.round(durationSeconds * 0.28), value: colorA, ganzfeldMode: false, auroraMode: meaning || emotion || sleep ? "subtle" : "off", auroraSpeed: 0.07, auroraDepth: meaning || emotion || sleep ? 14 : 0 },
          { time: coreTime, value: colorA, ganzfeldMode: meaning || sleep, auroraMode: meaning || emotion || sleep ? "medium" : "off", auroraSpeed: 0.06, auroraDepth: meaning || emotion || sleep ? 22 : 0 },
          { time: suggestionTime, value: colorB, ganzfeldMode: sleep, auroraMode: meaning || emotion || sleep ? "subtle" : "off", auroraSpeed: 0.05, auroraDepth: meaning || emotion || sleep ? 12 : 0 },
          { time: Math.round(durationSeconds * 0.82), value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: sleep ? "#000000" : "#f8fafc", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 24,
    allowedMusicMoods: musicMoods
  };
}

const TARGETED_RESPONSIBLE_SESSION_DEFINITIONS = [
  {
    id: "hypnosis-fear-of-pets-support",
    title: "Angst voor huisdieren ondersteuning (Mentaal)",
    titleEn: "Fear of Pets Support (Mental)",
    category: "hypnose",
    subcategory: "",
    focus: "fear",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#f59e0b",
    peak: 8.4,
    searchTags: ["angst voor huisdieren", "huisdierenangst", "dierenangst", "pet fear", "fear of pets", "animal anxiety", "specific phobia"]
  },
  {
    id: "hypnosis-fear-of-dogs-support",
    title: "Angst voor honden ondersteuning (Mentaal)",
    titleEn: "Fear of Dogs Support (Mental)",
    category: "hypnose",
    subcategory: "",
    focus: "fear",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#f97316",
    peak: 8.8,
    searchTags: ["angst voor honden", "hondenangst", "cynofobie", "cynophobia", "dog phobia", "fear of dogs", "specific phobia"]
  },
  {
    id: "hypnosis-fear-of-insects-support",
    title: "Angst voor insecten ondersteuning (Mentaal)",
    titleEn: "Fear of Insects Support (Mental)",
    category: "hypnose",
    subcategory: "",
    focus: "fear",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#84cc16",
    peak: 8.6,
    searchTags: ["angst voor insecten", "insectenfobie", "entomofobie", "entomophobia", "insect phobia", "fear of insects", "bugs", "specific phobia"]
  },
  {
    id: "hypnosis-fear-of-wasps-bees-support",
    title: "Angst voor wespen of bijen ondersteuning (Mentaal)",
    titleEn: "Fear of Wasps or Bees Support (Mental)",
    category: "hypnose",
    subcategory: "",
    focus: "fear",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#facc15",
    peak: 8.2,
    searchTags: ["angst voor wespen", "angst voor bijen", "wespenfobie", "bijenfobie", "apiphobia", "spheksophobia", "fear of wasps", "fear of bees", "bee phobia", "wasp phobia"]
  },
  {
    id: "hypnosis-stop-cannabis-support",
    title: "Stoppen met blowen ondersteuning (Mentaal)",
    titleEn: "Stop Cannabis Use Support (Mental)",
    category: "hypnose",
    subcategory: "",
    focus: "addiction",
    carrier: 417,
    mood: "Cinematic Ambient",
    accent: "#22c55e",
    peak: 10.8,
    searchTags: ["stoppen met blowen", "blowen stoppen", "cannabis", "wiet", "hasj", "marihuana", "marijuana", "cannabisgebruik", "cannabisverslaving", "middelengebruik"]
  },
  {
    id: "functional-neurological-disorder-support",
    title: "Hulp bij Functionele neurologische stoornis / FNS (Fysiek)",
    titleEn: "Functional Neurological Disorder / FND Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "functional-disorders",
    focus: "functional",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#38bdf8",
    peak: 7.2,
    searchTags: ["functionele neurologische stoornis", "FNS", "FND", "functional neurological disorder", "functionele klachten", "neurologische regulatie"]
  },
  {
    id: "hypnosis-nail-biting-support",
    title: "Ondersteuning bij nagelbijten (Fysiek)",
    titleEn: "Nail Biting Support (Physical)",
    category: "hypnose",
    subcategory: "",
    focus: "habit",
    carrier: 417,
    mood: "Ambient",
    accent: "#fb7185",
    peak: 10.2,
    searchTags: ["nagelbijten", "onychophagia", "nail biting", "gewoonte doorbreken", "habit control", "impulse control"]
  },
  {
    id: "fibromyalgia-comfort-support",
    title: "Fibromyalgie klachten ondersteuning (Fysiek)",
    titleEn: "Fibromyalgia Comfort Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "musculoskeletal-support",
    focus: "comfort",
    carrier: 528,
    mood: "Drone",
    accent: "#14b8a6",
    peak: 6.8,
    searchTags: ["fibromyalgie", "fibromyalgia", "wijdverspreide pijn", "widespread pain", "lichaamscomfort", "central sensitization"]
  },
  {
    id: "wound-healing-recovery-support",
    title: "Wondgenezing ondersteuning (Fysiek)",
    titleEn: "Wound Healing Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "wound-healing-tissue-recovery",
    focus: "recovery",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#22c55e",
    peak: 7.8,
    searchTags: ["wonden sneller genezen", "wondgenezing", "wondherstel", "wound healing", "tissue recovery", "weefselherstel", "skin recovery"]
  },
  {
    id: "stuttering-fluency-support",
    title: "Stotteren verminderen ondersteuning (Fysiek)",
    titleEn: "Stuttering Fluency Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "neurological-support",
    focus: "speech",
    carrier: 741,
    mood: "Ambient",
    accent: "#60a5fa",
    peak: 9.6,
    searchTags: ["stotteren", "stotteren verminderen", "spraakvloeiendheid", "stuttering", "stammering", "speech fluency", "speech confidence"]
  },
  {
    id: "gastroparesis-support",
    title: "Ondersteuning bij gastroparese (Fysiek/Mentaal)",
    titleEn: "Gastroparesis Support (Physical/Mental)",
    category: "herstel-welzijn",
    subcategory: "digestive-support",
    focus: "digestive",
    carrier: 528,
    mood: "Drone",
    accent: "#f59e0b",
    peak: 6.4,
    searchTags: ["gastroparese", "gastroparesis", "maaglediging", "stomach emptying", "maagklachten", "digestive support", "gut-brain"]
  },
  {
    id: "eating-disorder-wellness-support",
    title: "Ondersteuning bij eetstoornissen (Fysiek)",
    titleEn: "Eating Disorder Wellness Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "detox-lifestyle-support",
    focus: "regulation",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#f472b6",
    peak: 6.8,
    searchTags: ["eetstoornissen", "eetstoornis", "eetgedrag", "eating disorder", "disordered eating", "body trust", "mindful eating"]
  },
  {
    id: "needle-fear-support",
    title: "Prikangst ondersteuning (Mentaal)",
    titleEn: "Needle Fear Support (Mental)",
    category: "herstel-welzijn",
    subcategory: "diagnostic-medical-procedure-support",
    focus: "fear",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#38bdf8",
    peak: 7.6,
    searchTags: ["prikangst", "angst voor prikken", "naaldenangst", "needle fear", "needle phobia", "trypanophobia", "medical procedure anxiety"]
  },
  {
    id: "hyperventilation-breathing-support",
    title: "Hyperventilatie ondersteuning (Fysiek)",
    titleEn: "Hyperventilation Breathing Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "respiratory-support",
    focus: "breathing",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#2dd4bf",
    peak: 5.8,
    searchTags: ["hyperventilatie", "hyperventilation", "ademhaling", "breathing regulation", "slow breathing", "coherent breathing", "paniekademhaling"]
  },
  {
    id: "functional-bowel-complaints-support",
    title: "Functionele darmklachten ondersteuning (Fysiek/Mentaal)",
    titleEn: "Functional Bowel Complaints Support (Physical/Mental)",
    category: "herstel-welzijn",
    subcategory: "digestive-support",
    focus: "digestive",
    carrier: 528,
    mood: "Drone",
    accent: "#f97316",
    peak: 6.6,
    searchTags: ["functionele darmklachten", "prikkelbare darm", "PDS", "IBS", "irritable bowel", "functional bowel", "gut-brain", "darmklachten"]
  },
  {
    id: "short-term-memory-support",
    title: "Korte termijn geheugen ondersteuning (Mentaal)",
    titleEn: "Short-Term Memory Support (Mental)",
    category: "herstel-welzijn",
    subcategory: "neurological-support",
    focus: "cognitive",
    carrier: 741,
    mood: "Theta Soundscape",
    accent: "#3b82f6",
    peak: 12.8,
    searchTags: ["korte termijn geheugen", "werkgeheugen", "short-term memory", "working memory", "memory support", "geheugen"]
  },
  {
    id: "hypertension-relaxation-support",
    title: "Hypertensie ontspanningsondersteuning (Fysiek)",
    titleEn: "Hypertension Relaxation Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "cardiovascular-support",
    focus: "cardio",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#ef4444",
    peak: 5.6,
    searchTags: ["hypertensie", "hoge bloeddruk", "blood pressure", "high blood pressure", "hypertension", "cardiovascular relaxation", "heart coherence"]
  },
  {
    id: "bedwetting-confidence-support",
    title: "Ondersteuning bij bedplassen (Mentaal/Fysiek)",
    titleEn: "Bedwetting Confidence Support (Mental/Physical)",
    category: "herstel-welzijn",
    subcategory: "child-development-pediatric-support",
    focus: "child",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#60a5fa",
    peak: 6.2,
    searchTags: ["bedplassen", "nachtelijk plassen", "enuresis", "bedwetting", "nighttime bladder", "children", "kinderen"]
  },
  {
    id: "bullying-resilience-support",
    title: "Sterker staan bij pesten (Mentaal)",
    titleEn: "Bullying Resilience Support (Mental)",
    category: "herstel-welzijn",
    subcategory: "child-development-pediatric-support",
    focus: "confidence",
    carrier: 528,
    mood: "Cinematic Ambient",
    accent: "#a78bfa",
    peak: 9.4,
    searchTags: ["pesten", "gepest worden", "weerbaarheid", "bullying", "bullying resilience", "self-confidence", "assertiviteit"]
  },
  {
    id: "secure-attachment-support",
    title: "Goede hechting bevorderen (Emotioneel)",
    titleEn: "Secure Attachment Support (Emotional)",
    category: "herstel-welzijn",
    subcategory: "pregnancy-parenthood",
    focus: "emotional",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#fb7185",
    peak: 6.4,
    searchTags: ["goede hechting", "hechting", "veilige hechting", "secure attachment", "attachment", "parent child bonding", "ouder kind verbinding"]
  },
  {
    id: "hsp-sensitivity-balance-support",
    title: "Beter omgaan met hooggevoeligheid / HSP (Mentaal/Emotioneel)",
    titleEn: "HSP Sensitivity Balance Support (Mental/Emotional)",
    category: "herstel-welzijn",
    subcategory: "environmental-sensitivity-support",
    focus: "sensitivity",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#8b5cf6",
    peak: 7.0,
    searchTags: ["hooggevoeligheid", "HSP", "highly sensitive person", "high sensitivity", "overprikkeling", "sensory overload", "omgevingsgevoeligheid"]
  },
  {
    id: "grief-processing-support",
    title: "Omgaan met rouwverwerking (Emotioneel)",
    titleEn: "Grief Processing Support (Emotional)",
    category: "herstel-welzijn",
    subcategory: "stress-anxiety",
    focus: "grief",
    carrier: 639,
    mood: "Drone",
    accent: "#64748b",
    peak: 5.8,
    searchTags: ["rouwverwerking", "rouw", "verliesverwerking", "grief", "grieving", "loss processing", "bereavement"]
  },
  {
    id: "early-dementia-support",
    title: "Beginnende dementie ondersteuning (Mentaal/Emotioneel)",
    titleEn: "Early Dementia Support (Mental/Emotional)",
    category: "herstel-welzijn",
    subcategory: "neurological-support",
    focus: "cognitive",
    carrier: 741,
    mood: "Soft Soundscapes",
    accent: "#facc15",
    peak: 40,
    searchTags: ["beginnende dementie", "dementie", "early dementia", "mild cognitive impairment", "MCI", "cognitive aging", "gamma support", "geheugen"]
  },
  {
    id: "sports-performance-support",
    title: "Sportprestaties verbeteren ondersteuning (Fysiek/Mentaal)",
    titleEn: "Sports Performance Support (Physical/Mental)",
    category: "energie",
    subcategory: "sports-energy",
    focus: "sports",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#f97316",
    peak: 16.8,
    searchTags: ["sportprestaties", "sport performance", "athletic performance", "sports energy", "peak performance", "wedstrijdvoorbereiding"]
  },
  {
    id: "penalty-kick-success-support",
    title: "Succesvol doelschoppen nemen (Mentaal)",
    titleEn: "Successful Penalty Kicks Support (Mental)",
    category: "energie",
    subcategory: "sports-energy",
    focus: "sports-focus",
    carrier: 741,
    mood: "Cinematic Ambient",
    accent: "#22c55e",
    peak: 14.2,
    searchTags: ["doelschoppen", "penalty", "penalty kicks", "vrije trap", "voetbal", "soccer", "wedstrijdspanning", "prestatiefocus"]
  },
  {
    id: "dartitis-block-support",
    title: "Darteritus blokkade ondersteuning (Mentaal/Fysiek)",
    titleEn: "Dartitis Block Support (Mental/Physical)",
    category: "energie",
    subcategory: "sports-energy",
    focus: "sports-block",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#38bdf8",
    peak: 10.6,
    searchTags: ["darteritus", "dartitis", "darts blokkade", "dart release block", "dart throwing", "motor block", "yips"]
  },
  {
    id: "yips-block-support",
    title: "Jips blokkade ondersteuning (Mentaal/Fysiek)",
    titleEn: "Yips Block Support (Mental/Physical)",
    category: "energie",
    subcategory: "sports-energy",
    focus: "sports-block",
    carrier: 528,
    mood: "Theta Soundscape",
    accent: "#60a5fa",
    peak: 10.4,
    searchTags: ["jips", "yips", "yips blokkade", "motorische blokkade", "sportblokkade", "performance block", "motor block"]
  },
  {
    id: "reaction-time-support",
    title: "Reactievermogen ondersteuning (Mentaal)",
    titleEn: "Reaction Time Support (Mental)",
    category: "energie",
    subcategory: "sports-energy",
    focus: "sports-focus",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#06b6d4",
    peak: 17.2,
    searchTags: ["reactievermogen", "reactiesnelheid", "sneller reageren", "reaction time", "reaction speed", "quick reflexes", "sports focus", "alertheid"]
  },
  {
    id: "dyscalculia-learning-support",
    title: "Dyscalculie ondersteuning (Mentaal)",
    titleEn: "Dyscalculia Learning Support (Mental)",
    category: "herstel-welzijn",
    subcategory: "neurodevelopmental-disorders",
    focus: "cognitive",
    carrier: 741,
    mood: "Theta Soundscape",
    accent: "#8b5cf6",
    peak: 10.8,
    searchTags: ["dyscalculie", "dyscalculia", "rekenen", "cijferbegrip", "math confidence", "numeracy support", "learning support", "neurodevelopmental"]
  },
  {
    id: "faster-language-speaking-support",
    title: "Sneller talen leren spreken ondersteuning (Mentaal)",
    titleEn: "Faster Language Speaking Support (Mental)",
    category: "creativiteit",
    subcategory: "learning-creative-performance",
    focus: "cognitive",
    carrier: 741,
    mood: "Cinematic Ambient",
    accent: "#3b82f6",
    peak: 12.4,
    searchTags: ["sneller talen leren", "talen leren spreken", "taal leren", "language learning", "speak languages faster", "foreign language", "spraakvaardigheid", "learning performance"]
  },
  {
    id: "dna-repair-visualization-support",
    title: "DNA-herstel visualisatie ondersteuning (Fysiek)",
    titleEn: "DNA Repair Visualization Support (Physical)",
    category: "energie",
    subcategory: "biohacking",
    focus: "recovery",
    carrier: 528,
    mood: "Drone",
    accent: "#22c55e",
    peak: 7.4,
    searchTags: ["DNA herstel", "dna repair", "cellular repair", "cellular renewal", "cellular recovery", "biohacking", "herstelvisualisatie"]
  },
  {
    id: "dopamine-balance-support",
    title: "Dopamine balans ondersteuning (Fysiek/Mentaal)",
    titleEn: "Dopamine Balance Support (Physical/Mental)",
    category: "energie",
    subcategory: "motivation",
    focus: "habit",
    carrier: 741,
    mood: "Uplifting Electronic Ambient",
    accent: "#facc15",
    peak: 14.8,
    searchTags: ["dopamine verhogen", "dopamine", "motivatie", "reward system", "beloningssysteem", "dopamine balance", "drive", "mental energy"]
  },
  {
    id: "healthy-lifestyle-support",
    title: "Gezonde leefstijl ondersteuning (Fysiek/Mentaal)",
    titleEn: "Healthy Lifestyle Support (Physical/Mental)",
    category: "herstel-welzijn",
    subcategory: "detox-lifestyle-support",
    focus: "habit",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#84cc16",
    peak: 9.8,
    searchTags: ["gezonde leefstijl", "leefstijl verbeteren", "healthy lifestyle", "lifestyle support", "healthy habits", "gezonde gewoonten", "wellness routine"]
  },
  {
    id: "anorexia-wellness-support",
    title: "Anorexia ondersteuning (Mentaal)",
    titleEn: "Anorexia Wellness Support (Mental)",
    category: "herstel-welzijn",
    subcategory: "detox-lifestyle-support",
    focus: "regulation",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#f9a8d4",
    peak: 6.4,
    searchTags: ["anorexia", "anorexia nervosa", "eetstoornis", "eetstoornissen", "eetgedrag", "body trust", "lichaamsvertrouwen", "zelfcompassie", "eating disorder support"]
  },
  {
    id: "bulimia-wellness-support",
    title: "Boulimia ondersteuning (Mentaal)",
    titleEn: "Bulimia Wellness Support (Mental)",
    category: "herstel-welzijn",
    subcategory: "detox-lifestyle-support",
    focus: "regulation",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#fb7185",
    peak: 6.8,
    searchTags: ["boulimia", "bulimia", "bulimia nervosa", "eetstoornis", "eetbuien", "compensatiegedrag", "urge surfing", "eating disorder support", "emotional eating"]
  },
  {
    id: "obesity-wellness-support",
    title: "Obesitas ondersteuning (Mentaal/Fysiek)",
    titleEn: "Obesity Wellness Support (Mental/Physical)",
    category: "herstel-welzijn",
    subcategory: "detox-lifestyle-support",
    focus: "habit",
    carrier: 528,
    mood: "Ambient",
    accent: "#84cc16",
    peak: 8.8,
    searchTags: ["obesitas", "obesity", "gewicht", "gewichtsbeheersing", "weight management", "healthy lifestyle", "gezonde leefstijl", "eetgedrag", "beweging"]
  },
  {
    id: "healthy-hair-growth-support",
    title: "Gezonde haargroei ondersteuning (Fysiek)",
    titleEn: "Healthy Hair Growth Support (Physical)",
    category: "herstel-welzijn",
    subcategory: "general-wellness-prevention",
    focus: "recovery",
    carrier: 528,
    mood: "Soft Soundscapes",
    accent: "#a3e635",
    peak: 7.2,
    searchTags: ["gezonde haargroei", "haargroei", "haargezondheid", "healthy hair growth", "hair wellness", "scalp wellness", "hoofdhuid", "general wellness"]
  }
];

function createTargetedResponsibleTimelineSession(definition) {
  const focus = definition.focus || "regulation";
  const physical = /Fysiek|Physical/i.test(`${definition.title} ${definition.titleEn}`);
  const mental = /Mentaal|Mental/i.test(`${definition.title} ${definition.titleEn}`);
  const emotional = /Emotioneel|Emotional/i.test(`${definition.title} ${definition.titleEn}`);
  const sports = focus.startsWith("sports");
  const fear = focus === "fear";
  const deepCalm = ["comfort", "digestive", "cardio", "breathing", "grief", "emotional", "sensitivity", "functional", "child"].includes(focus);
  const cognitive = ["cognitive", "speech"].includes(focus);
  const habit = ["habit", "addiction", "regulation"].includes(focus);
  const recovery = focus === "recovery";
  const durationSeconds = fear ? 1680 : sports ? 1500 : cognitive ? 1800 : recovery ? 2100 : deepCalm ? 1920 : 1740;
  const settleTime = Math.round(durationSeconds * 0.16);
  const deepenTime = Math.round(durationSeconds * 0.34);
  const coreTime = Math.round(durationSeconds * 0.54);
  const integrateTime = Math.round(durationSeconds * 0.76);
  const closeTime = Math.round(durationSeconds * 0.9);
  const profileText = {
    fear: ["veiligheid, geleidelijke imaginaire blootstelling en keuzevrijheid", "safety, gradual imaginal exposure, and choice"],
    addiction: ["urge-surfing, keuzekracht en het doorbreken van automatische patronen", "urge surfing, choice strength, and interrupting automatic patterns"],
    habit: ["impulsregulatie, lichaamsbewustzijn en het versterken van alternatief gedrag", "impulse regulation, body awareness, and strengthening alternative behavior"],
    functional: ["zenuwstelselregulatie, veilige lichaamswaarneming en voorspelbare rust", "nervous-system regulation, safe body awareness, and predictable calm"],
    comfort: ["lichaamscomfort, zachte prikkelverlaging en herstelvriendelijke ontspanning", "body comfort, gentle down-regulation, and recovery-friendly relaxation"],
    recovery: ["herstelbeelden, diepe rust en ondersteunende weefselherstelvisualisatie", "recovery imagery, deep rest, and supportive tissue-recovery visualization"],
    speech: ["spraakritme, rustige timing en zelfverzekerde expressie", "speech rhythm, calm timing, and confident expression"],
    digestive: ["buikrust, parasympathische regulatie en kalme darm-brein afstemming", "abdominal calm, parasympathetic regulation, and gut-brain settling"],
    breathing: ["langzame ademregulatie, CO2-tolerantie en kalme lichaamsankers", "slow breath regulation, CO2 tolerance, and calm body anchors"],
    cognitive: ["heldere aandacht, geheugenankers en rustige cognitieve activatie", "clear attention, memory anchors, and calm cognitive activation"],
    cardio: ["resonantieademhaling, hartcoherentie en ontspanning onder lage prikkelbelasting", "resonance breathing, heart coherence, and low-load relaxation"],
    child: ["vertrouwen, zachte zelfregulatie en haalbare dagelijkse routines", "confidence, gentle self-regulation, and achievable daily routines"],
    confidence: ["innerlijke stevigheid, grenzen en kalme assertiviteit", "inner steadiness, boundaries, and calm assertiveness"],
    emotional: ["verbinding, emotionele veiligheid en warme co-regulatie", "connection, emotional safety, and warm co-regulation"],
    sensitivity: ["prikkelfiltering, herstelruimte en evenwichtige grenzen", "sensory filtering, recovery space, and balanced boundaries"],
    grief: ["rouwruimte, compassie en rustige integratie van verlies", "grief space, compassion, and calm integration of loss"],
    sports: ["fysieke activering, taakfocus en stabiele prestatierust", "physical activation, task focus, and steady performance calm"],
    "sports-focus": ["wedstrijdvisualisatie, precisie, timing en vertrouwen onder druk", "competition visualization, precision, timing, and confidence under pressure"],
    "sports-block": ["motorische ontspanning, ritmeherstel en het loslaten van prestatieblokkade", "motor relaxation, rhythm recovery, and releasing performance block"]
  }[focus] || ["zelfregulatie, rustige aandacht en evenwichtige integratie", "self-regulation, calm attention, and balanced integration"];
  const startFrequency = fear || deepCalm ? 8.2 : sports ? 10.8 : cognitive ? 10.2 : recovery ? 7.2 : habit ? 9.4 : 8.6;
  const settleFrequency = fear || deepCalm ? 7.0 : sports ? 12.4 : cognitive ? 9.2 : recovery ? 6.2 : habit ? 8.0 : 7.4;
  const coreFrequency = focus === "cardio" || focus === "breathing" ? 5.5 : fear || deepCalm ? 5.8 : sports ? definition.peak : cognitive ? Math.min(definition.peak, 12.8) : recovery ? 5.6 : habit ? 6.6 : 6.2;
  const integrationFrequency = sports ? 10.4 : cognitive ? 8.8 : recovery || deepCalm ? 6.4 : habit ? 7.2 : 7.0;
  const endFrequency = focus === "cardio" || focus === "breathing" ? 5.2 : sports ? 8.8 : cognitive ? 7.4 : recovery || deepCalm ? 5.8 : 6.4;
  const audioMode = sports ? "isochronic-monaural" : cognitive || habit ? "monaural" : "binaural";
  const pulseShape = sports ? "trapezoid" : habit || cognitive ? "triangle" : "sine";
  const noiseType = deepCalm || fear || recovery ? "brown" : sports ? "none" : "pink";
  const reverbPreset = emotional || focus === "grief" || focus === "sensitivity" ? "hall" : sports || cognitive ? "plate" : "room";
  const colorB = focus === "cardio" ? "#ef4444" : focus === "digestive" ? "#f97316" : focus === "breathing" ? "#2dd4bf" : sports ? "#f59e0b" : focus === "recovery" ? "#22c55e" : focus === "grief" ? "#64748b" : definition.accent;
  const colorC = focus === "cardio" ? "#fecaca" : focus === "digestive" ? "#fed7aa" : focus === "breathing" ? "#ccfbf1" : sports ? "#fef3c7" : focus === "recovery" ? "#dcfce7" : "#e0f2fe";
  const musicMoods = [
    definition.mood,
    deepCalm || fear || recovery ? "Soft Soundscapes" : "Ambient",
    sports ? "Uplifting Electronic Ambient" : cognitive ? "Theta Soundscape" : "Drone",
    emotional || focus === "grief" ? "Cinematic Ambient" : "Soft Soundscapes"
  ].filter((mood, index, moods) => MUSIC_LIBRARY_CATEGORIES.includes(mood) && moods.indexOf(mood) === index);
  const rgbPeak = sports ? 58 : cognitive ? 42 : habit ? 36 : recovery ? 28 : deepCalm || fear ? 22 : 32;
  const whitePeak = sports ? 16 : cognitive ? 8 : habit ? 6 : recovery ? 3 : deepCalm || fear ? 1 : 4;
  return {
    title: definition.title,
    titleEn: definition.titleEn,
    category: definition.category,
    subcategory: definition.subcategory || "",
    goal: `Een verantwoorde NeuroSync Pro-sessie rond ${definition.title.replace(/\s*\\([^)]*\\)\\s*$/, "").toLowerCase()}, gericht op ${profileText[0]}.`,
    goalEn: `A responsible NeuroSync Pro session for ${definition.titleEn.replace(/\s*\\([^)]*\\)\\s*$/, "").toLowerCase()}, focused on ${profileText[1]}.`,
    marketplaceListingId: "",
    carrier: definition.carrier,
    musicCrossfadeSeconds: sports ? 16 : deepCalm ? 36 : 26,
    colorCrossfadeSeconds: sports ? 28 : deepCalm ? 72 : 48,
    sessionStructure: "timeline",
    searchTags: definition.searchTags || [],
    timeline: {
      version: 1,
      durationSeconds,
      pulseShape,
      audioMode,
      musicMood: musicMoods[0] || "Soft Soundscapes",
      noiseType,
      reverbPreset,
      ganzfeldMode: false,
      auroraMode: emotional || focus === "grief" || focus === "sensitivity" ? "subtle" : sports ? "medium" : "off",
      auroraSpeed: sports ? 0.18 : 0.06,
      auroraDepth: sports ? 26 : emotional || focus === "grief" || focus === "sensitivity" ? 12 : 0,
      markers: [
        { time: 0, name: "Aankomen", nameEn: "Arrive", purpose: "Start met lage intensiteit en een duidelijke overgang naar rust en aandacht.", purposeEn: "Starts with low intensity and a clear transition toward calm and attention." },
        { time: settleTime, name: "Stabiliseren", nameEn: "Stabilize", purpose: "Brengt adem, aandacht en lichaamssignalen in een voorspelbaar ritme.", purposeEn: "Brings breath, attention, and body signals into a predictable rhythm." },
        { time: deepenTime, name: fear ? "Veilige voorstelling" : sports ? "Taakfocus" : "Verdieping", nameEn: fear ? "Safe imagery" : sports ? "Task focus" : "Deepening", purpose: `Richt de sessie op ${profileText[0]}, zonder medische claim.`, purposeEn: `Focuses the session on ${profileText[1]}, without medical claims.` },
        { time: coreTime, name: sports ? "Prestatieritme" : cognitive ? "Heldere integratie" : "Kernfase", nameEn: sports ? "Performance rhythm" : cognitive ? "Clear integration" : "Core phase", purpose: "Gebruikt een andere frequentie- en muzieklaag om variatie en diepte in de tijdlijn te brengen.", purposeEn: "Uses a different frequency and music layer to bring variation and depth into the timeline." },
        { time: integrateTime, name: "Integratie", nameEn: "Integration", purpose: "Bouwt de stimulatie terug en koppelt de ervaring aan praktisch dagelijks gedrag.", purposeEn: "Reduces stimulation and links the experience to practical everyday behavior." },
        { time: closeTime, name: "Afronden", nameEn: "Close", purpose: "Laat volume, licht en reverb geleidelijk zakken.", purposeEn: "Gradually lowers volume, light, and reverb." },
        { time: durationSeconds, name: "Einde", nameEn: "End", purpose: "Eindigt met minimale prikkelbelasting.", purposeEn: "Ends with minimal stimulation load." }
      ],
      curves: {
        frequency: [
          { time: 0, value: startFrequency, musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: settleTime, value: settleFrequency, musicMood: musicMoods[1] || "Ambient", noiseType, reverbPreset, lightPulseShape: "sine" },
          { time: deepenTime, value: coreFrequency, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: coreTime, value: sports ? Math.min(definition.peak + 1.4, 18.8) : Math.max(4.2, coreFrequency - 0.4), musicMood: musicMoods[2] || "Theta Soundscape", noiseType: sports ? "none" : noiseType, reverbPreset, lightPulseShape: pulseShape },
          { time: integrateTime, value: integrationFrequency, musicMood: musicMoods[3] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : "pink", reverbPreset: "room", lightPulseShape: "sine" },
          { time: closeTime, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "room", lightPulseShape: "sine" },
          { time: durationSeconds, value: endFrequency, musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none", lightPulseShape: "sine" }
        ],
        audioFrequency: [
          { time: 0, value: Math.max(4, startFrequency - 0.1), audioMode, audioPulseShape: "sine", pulseShape: "sine", musicMood: musicMoods[0] || "Soft Soundscapes", noiseType, reverbPreset },
          { time: settleTime, value: Math.max(4, settleFrequency - 0.15), audioMode, audioPulseShape: "sine", pulseShape: "sine", musicMood: musicMoods[1] || "Ambient", noiseType, reverbPreset },
          { time: deepenTime, value: Math.max(4, coreFrequency - 0.1), audioMode, audioPulseShape: pulseShape, pulseShape, musicMood: musicMoods[2] || "Theta Soundscape", noiseType, reverbPreset },
          { time: coreTime, value: sports ? Math.min(definition.peak + 0.8, 18.2) : Math.max(4, coreFrequency - 0.25), audioMode, audioPulseShape: pulseShape, pulseShape, musicMood: musicMoods[2] || "Theta Soundscape", noiseType: sports ? "none" : noiseType, reverbPreset },
          { time: integrateTime, value: Math.max(4, integrationFrequency - 0.12), audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine", musicMood: musicMoods[3] || "Soft Soundscapes", noiseType: noiseType === "none" ? "none" : "pink", reverbPreset: "room" },
          { time: durationSeconds, value: Math.max(4, endFrequency - 0.1), audioMode: "binaural", audioPulseShape: "sine", pulseShape: "sine", musicMood: "Soft Soundscapes", noiseType: "none", reverbPreset: "none" }
        ],
        rgb: [
          { time: 0, value: sports ? 14 : 3 },
          { time: settleTime, value: Math.round(rgbPeak * 0.44) },
          { time: deepenTime, value: Math.round(rgbPeak * 0.72) },
          { time: coreTime, value: rgbPeak },
          { time: integrateTime, value: Math.round(rgbPeak * 0.52) },
          { time: closeTime, value: Math.round(rgbPeak * 0.2) },
          { time: durationSeconds, value: 0 }
        ],
        white: [
          { time: 0, value: sports ? 2 : 0 },
          { time: settleTime, value: Math.max(0, Math.round(whitePeak * 0.28)) },
          { time: deepenTime, value: Math.max(0, Math.round(whitePeak * 0.62)) },
          { time: coreTime, value: whitePeak },
          { time: integrateTime, value: Math.max(0, Math.round(whitePeak * 0.35)) },
          { time: closeTime, value: 0 },
          { time: durationSeconds, value: 0 }
        ],
        pulseVolume: [
          { time: 0, value: 8 },
          { time: settleTime, value: deepCalm || fear ? 16 : 24 },
          { time: deepenTime, value: sports ? 42 : cognitive ? 34 : 22 },
          { time: coreTime, value: sports ? 48 : cognitive ? 36 : deepCalm ? 20 : 28 },
          { time: integrateTime, value: deepCalm ? 14 : 24 },
          { time: closeTime, value: 8 },
          { time: durationSeconds, value: 0 }
        ],
        musicVolume: [
          { time: 0, value: 38 },
          { time: settleTime, value: 54 },
          { time: deepenTime, value: sports ? 68 : 58 },
          { time: coreTime, value: sports ? 72 : 62 },
          { time: integrateTime, value: 52 },
          { time: closeTime, value: 34 },
          { time: durationSeconds, value: 0 }
        ],
        noiseVolume: [
          { time: 0, value: noiseType === "none" ? 0 : 4 },
          { time: settleTime, value: noiseType === "none" ? 0 : 10 },
          { time: deepenTime, value: noiseType === "none" ? 0 : 16 },
          { time: coreTime, value: noiseType === "none" ? 0 : deepCalm ? 20 : 12 },
          { time: integrateTime, value: noiseType === "none" ? 0 : 8 },
          { time: durationSeconds, value: 0 }
        ],
        reverbMix: [
          { time: 0, value: 10 },
          { time: settleTime, value: deepCalm ? 28 : 22 },
          { time: deepenTime, value: emotional || focus === "grief" ? 50 : deepCalm ? 38 : 30 },
          { time: coreTime, value: emotional || focus === "grief" ? 56 : deepCalm ? 42 : 34 },
          { time: integrateTime, value: 26 },
          { time: durationSeconds, value: 4 }
        ],
        reverbDecay: [
          { time: 0, value: 1.2 },
          { time: settleTime, value: deepCalm ? 2.8 : 2.0 },
          { time: deepenTime, value: emotional || focus === "grief" ? 5.2 : deepCalm ? 4.0 : 3.0 },
          { time: coreTime, value: emotional || focus === "grief" ? 5.8 : deepCalm ? 4.4 : 3.2 },
          { time: integrateTime, value: 2.2 },
          { time: durationSeconds, value: 0.7 }
        ],
        color: [
          { time: 0, value: "#0f172a", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: settleTime, value: colorB, ganzfeldMode: false, auroraMode: emotional || focus === "sensitivity" ? "subtle" : "off", auroraSpeed: 0.06, auroraDepth: emotional || focus === "sensitivity" ? 10 : 0 },
          { time: deepenTime, value: definition.accent, ganzfeldMode: false, auroraMode: sports ? "medium" : emotional || focus === "grief" ? "subtle" : "off", auroraSpeed: sports ? 0.14 : 0.06, auroraDepth: sports ? 24 : emotional || focus === "grief" ? 12 : 0 },
          { time: coreTime, value: colorB, ganzfeldMode: false, auroraMode: sports ? "medium" : "off", auroraSpeed: sports ? 0.18 : 0.05, auroraDepth: sports ? 28 : 0 },
          { time: integrateTime, value: colorC, ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 },
          { time: durationSeconds, value: physical && !mental && !emotional ? "#f8fafc" : "#e0f2fe", ganzfeldMode: false, auroraMode: "off", auroraSpeed: 0.04, auroraDepth: 0 }
        ]
      }
    },
    durationSeconds,
    audioMode,
    audioFadeInSeconds: 18,
    allowedMusicMoods: musicMoods
  };
}

TARGETED_RESPONSIBLE_SESSION_DEFINITIONS.forEach((definition) => {
  registerGeneratedTimelineSessions([definition], definition.category, definition.subcategory || "", createTargetedResponsibleTimelineSession);
});

registerGeneratedTimelineSessions(MORNING_ENERGY_SESSION_DEFINITIONS, "energie", "morning-energy", createMorningEnergyTimelineSession);
registerGeneratedTimelineSessions(MORNING_ENERGY_MENTAL_SESSION_DEFINITIONS, "energie", "morning-energy", createMentalMorningEnergyTimelineSession);
registerGeneratedTimelineSessions(MORNING_ENERGY_SPIRITUAL_SESSION_DEFINITIONS, "energie", "morning-energy", createSpiritualMorningEnergyTimelineSession);
registerGeneratedTimelineSessions(MORNING_ENERGY_EMOTIONAL_SESSION_DEFINITIONS, "energie", "morning-energy", createEmotionalMorningEnergyTimelineSession);
registerGeneratedTimelineSessions(MENTAL_ENERGY_SESSION_DEFINITIONS, "energie", "mental-energy", createMentalEnergyTimelineSession);
registerGeneratedTimelineSessions(PHYSICAL_ENERGY_SESSION_DEFINITIONS, "energie", "physical-energy", createPhysicalEnergyTimelineSession);
registerGeneratedTimelineSessions(EMOTIONAL_ENERGY_SESSION_DEFINITIONS, "energie", "emotional-energy", createEmotionalEnergyTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_RECHARGE_SESSION_DEFINITIONS, "energie", "recovery-recharge", createRecoveryRechargeTimelineSession);
registerGeneratedTimelineSessions(SPORTS_ENERGY_SESSION_DEFINITIONS, "energie", "sports-energy", createSportsEnergyTimelineSession);
registerGeneratedTimelineSessions(MOTIVATION_SESSION_DEFINITIONS, "energie", "motivation", createMotivationTimelineSession);
registerGeneratedTimelineSessions(HEALTHY_AGING_SESSION_DEFINITIONS, "energie", "healthy-aging", createHealthyAgingTimelineSession);
registerGeneratedTimelineSessions(TRAVEL_JET_LAG_SESSION_DEFINITIONS, "energie", "travel-jet-lag", createTravelJetLagTimelineSession);
registerGeneratedTimelineSessions(SPIRITUAL_ENERGY_SESSION_DEFINITIONS, "energie", "spiritual-energy", createSpiritualEnergyTimelineSession);
registerGeneratedTimelineSessions(BIOHACKING_SESSION_DEFINITIONS, "energie", "biohacking", createBiohackingTimelineSession);
registerGeneratedTimelineSessions(CREATIVE_THINKING_SESSION_DEFINITIONS, "creativiteit", "creative-thinking", createCreativeThinkingTimelineSession);
registerGeneratedTimelineSessions(ARTS_DESIGN_SESSION_DEFINITIONS, "creativiteit", "arts-design", createArtsDesignTimelineSession);
registerGeneratedTimelineSessions(MUSIC_AUDIO_SESSION_DEFINITIONS, "creativiteit", "music-audio", createMusicAudioTimelineSession);
registerGeneratedTimelineSessions(WRITING_STORYTELLING_SESSION_DEFINITIONS, "creativiteit", "writing-storytelling", createWritingStorytellingTimelineSession);
registerGeneratedTimelineSessions(BUSINESS_INNOVATION_SESSION_DEFINITIONS, "creativiteit", "business-innovation", createBusinessInnovationTimelineSession);
registerGeneratedTimelineSessions(PROBLEM_SOLVING_SESSION_DEFINITIONS, "creativiteit", "problem-solving", createProblemSolvingTimelineSession);
registerGeneratedTimelineSessions(FLOW_INSPIRATION_SESSION_DEFINITIONS, "creativiteit", "flow-inspiration", createFlowInspirationTimelineSession);
registerGeneratedTimelineSessions(IMAGINATION_INTUITION_SESSION_DEFINITIONS, "creativiteit", "imagination-intuition", createImaginationIntuitionTimelineSession);
registerGeneratedTimelineSessions(SELF_EXPRESSION_SESSION_DEFINITIONS, "creativiteit", "self-expression", createSelfExpressionTimelineSession);
registerGeneratedTimelineSessions(LEARNING_CREATIVE_PERFORMANCE_SESSION_DEFINITIONS, "creativiteit", "learning-creative-performance", createLearningCreativePerformanceTimelineSession);
registerGeneratedTimelineSessions(HYPNOSIS_SUPPORT_SESSION_DEFINITIONS, "hypnose", "", createHypnosisSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_SLEEP_SESSION_DEFINITIONS, "herstel-welzijn", "sleep", createRecoverySleepTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_STRESS_ANXIETY_SESSION_DEFINITIONS, "herstel-welzijn", "stress-anxiety", createRecoveryStressAnxietyTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_HEART_COHERENCE_SESSION_DEFINITIONS, "herstel-welzijn", "heart-coherence", createRecoveryHeartCoherenceTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_NEUROLOGICAL_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "neurological-support", createRecoveryNeurologicalSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_MUSCULOSKELETAL_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "musculoskeletal-support", createRecoveryMusculoskeletalSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_CARDIOVASCULAR_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "cardiovascular-support", createRecoveryCardiovascularSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_RESPIRATORY_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "respiratory-support", createRecoveryRespiratorySupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_DIGESTIVE_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "digestive-support", createRecoveryDigestiveSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_IMMUNE_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "immune-support", createRecoveryImmuneSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_HORMONAL_ENDOCRINE_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "hormonal-endocrine-support", createRecoveryHormonalEndocrineSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_WOMENS_HEALTH_SESSION_DEFINITIONS, "herstel-welzijn", "womens-health", createRecoveryWomensHealthTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_MENS_HEALTH_SESSION_DEFINITIONS, "herstel-welzijn", "mens-health", createRecoveryMensHealthTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_PREGNANCY_PARENTING_SESSION_DEFINITIONS, "herstel-welzijn", "pregnancy-parenthood", createRecoveryPregnancyParenthoodTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_REHABILITATION_SESSION_DEFINITIONS, "herstel-welzijn", "recovery-rehabilitation", createRecoveryRehabilitationTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_FUNCTIONAL_DISORDERS_SESSION_DEFINITIONS, "herstel-welzijn", "functional-disorders", createRecoveryFunctionalDisordersTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_ONCOLOGY_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "oncology-support", createRecoveryOncologySupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_VISION_EYE_HEALTH_SESSION_DEFINITIONS, "herstel-welzijn", "vision-eye-health", createRecoveryVisionEyeHealthTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_HEARING_TINNITUS_SESSION_DEFINITIONS, "herstel-welzijn", "hearing-tinnitus-support", createRecoveryHearingTinnitusTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_ORAL_DENTAL_SESSION_DEFINITIONS, "herstel-welzijn", "oral-dental-health", createRecoveryOralDentalTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_GENETIC_RARE_SESSION_DEFINITIONS, "herstel-welzijn", "genetic-rare-disorders", createRecoveryGeneticRareTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_CHILD_PEDIATRIC_SESSION_DEFINITIONS, "herstel-welzijn", "child-development-pediatric-support", createRecoveryChildPediatricTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_NEURODEVELOPMENTAL_SESSION_DEFINITIONS, "herstel-welzijn", "neurodevelopmental-disorders", createRecoveryNeurodevelopmentalTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_WOUND_TISSUE_SESSION_DEFINITIONS, "herstel-welzijn", "wound-healing-tissue-recovery", createRecoveryWoundTissueTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_PELVIC_HEALTH_SESSION_DEFINITIONS, "herstel-welzijn", "pelvic-health", createRecoveryPelvicHealthTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_INFECTIOUS_DISEASE_SESSION_DEFINITIONS, "herstel-welzijn", "infectious-disease-recovery", createRecoveryInfectiousDiseaseTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_PRE_POST_SURGERY_SESSION_DEFINITIONS, "herstel-welzijn", "pre-post-surgery-support", createRecoveryPrePostSurgeryTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_DETOX_LIFESTYLE_SESSION_DEFINITIONS, "herstel-welzijn", "detox-lifestyle-support", createRecoveryDetoxLifestyleTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_ENVIRONMENTAL_SENSITIVITY_SESSION_DEFINITIONS, "herstel-welzijn", "environmental-sensitivity-support", createRecoveryEnvironmentalSensitivityTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_MEDICATION_TREATMENT_SESSION_DEFINITIONS, "herstel-welzijn", "medication-treatment-support", createRecoveryMedicationTreatmentTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_DIAGNOSTIC_MEDICAL_PROCEDURE_SESSION_DEFINITIONS, "herstel-welzijn", "diagnostic-medical-procedure-support", createRecoveryDiagnosticMedicalProcedureTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_MIND_BODY_MEDICINE_SESSION_DEFINITIONS, "herstel-welzijn", "mind-body-medicine", createRecoveryMindBodyMedicineTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_INTEGRATIVE_HEALTH_SESSION_DEFINITIONS, "herstel-welzijn", "integrative-health", createRecoveryIntegrativeHealthTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_CAREGIVER_SUPPORT_SESSION_DEFINITIONS, "herstel-welzijn", "caregiver-support", createRecoveryCaregiverSupportTimelineSession);
registerGeneratedTimelineSessions(RECOVERY_CHRONIC_ILLNESS_SESSION_DEFINITIONS, "herstel-welzijn", "chronic-illness-support", createRecoveryChronicIllnessTimelineSession);
removeDuplicateSessionTitles();
normalizeAllSessionLightCurves();

const dmx = new Uint8Array(DMX_SIZE);
const fixtureProfiles = {
  "eurolite-abl-13ch": {
    name: "Eurolite LED Super Strobe ABL",
    values: {
      startAddress: 1,
      whiteDimmerChannel: 1,
      whiteStrobeChannel: 2,
      whiteDurationChannel: 3,
      rgbDimmerChannel: 4,
      rgbStrobeChannel: 5,
      redChannel: 6,
      greenChannel: 7,
      blueChannel: 8,
      rgbHueCorrection: 0,
      rgbSaturationCorrection: 100,
      frequency: 2,
      strobeIntensity: 25,
      rgbIntensity: 0,
      rgbPulseEnabled: false,
      rgbColor: "#ff0000"
    },
    frequencyPresetColors: ["#000066", "#008C46", "#AD0DA0", "#1E5A5F"]
  },
  "beamz-bs336-30ch": {
    name: "BeamZ BS336 30CH",
    values: {
      startAddress: 1,
      whiteDimmerChannel: 27,
      whiteStrobeChannel: 2,
      whiteDurationChannel: 0,
      rgbDimmerChannel: 1,
      rgbStrobeChannel: 2,
      redChannel: 3,
      greenChannel: 4,
      blueChannel: 5,
      rgbHueCorrection: 0,
      rgbSaturationCorrection: 100,
      frequency: 2,
      strobeIntensity: 25,
      rgbIntensity: 0,
      rgbPulseEnabled: false,
      rgbColor: "#ff0000"
    },
    frequencyPresetColors: ["#000066", "#008C46", "#AD0DA0", "#1E5A5F"]
  },
  "atomic-led-strobe-6ch": {
    name: "Atomic Led Strobe",
    values: {
      startAddress: 1,
      whiteDimmerChannel: 6,
      whiteStrobeChannel: 2,
      whiteDurationChannel: 0,
      rgbDimmerChannel: 1,
      rgbStrobeChannel: 2,
      redChannel: 3,
      greenChannel: 4,
      blueChannel: 5,
      rgbHueCorrection: 0,
      rgbSaturationCorrection: 100,
      frequency: 2,
      strobeIntensity: 25,
      rgbIntensity: 0,
      rgbPulseEnabled: false,
      rgbColor: "#ff0000"
    },
    frequencyPresetColors: ["#000066", "#008C46", "#AD0DA0", "#1E5A5F"]
  }
};

const brainwaveBands = [
  {
    id: "delta",
    name: "Delta",
    range: "1-3.9 Hz",
    min: 1,
    max: 3.999,
    color: "#40c9ff",
    purpose: "Langzame puls voor rust, ontprikkeling, diepe ontspanning en slaapvoorbereiding.",
    purposeEn: "Slow pulse for calm, reduced stimulation, deep relaxation and sleep preparation."
  },
  {
    id: "theta",
    name: "Theta",
    range: "4-7.9 Hz",
    min: 4,
    max: 7.999,
    color: "#a56dff",
    purpose: "Geschikt voor hypnose toepassingen en wordt vaak gebruikt voor meditatieve sessies, verbeelding, creatieve associatie en innerlijke aandacht.",
    purposeEn: "Suitable for hypnosis and often used for meditation, imagination, creative association and inward attention."
  },
  {
    id: "alpha",
    name: "Alpha",
    range: "8-12.9 Hz",
    min: 8,
    max: 12.999,
    color: "#69f0ae",
    purpose: "Past bij kalme wakkerheid: ontspannen focus, ademwerk, rustige concentratie en herstelmomenten.",
    purposeEn: "Supports calm wakefulness: relaxed focus, breathwork, steady concentration and recovery."
  },
  {
    id: "beta",
    name: "Beta",
    range: "13-25 Hz",
    min: 13,
    max: 25,
    color: "#ffc94d",
    purpose: "Snellere puls voor actieve aandacht, energie, alertheid en taakgerichte sessies; gebruik bij voorkeur met lagere intensiteit.",
    purposeEn: "Faster pulse for active attention, energy, alertness and task-focused sessions; preferably use a lower intensity."
  }
];

if (!HAS_MUSE) {
  Object.entries(sessionPrograms).forEach(([programId, program]) => {
    if (programIsBaselineSession(program)) {
      delete sessionPrograms[programId];
    }
  });
  localStorage.setItem(SESSION_PRE_BASELINE_STORAGE_KEY, "none");
}

const state = {
  enabled: true,
  refreshTimer: null,
  dmxOwnerTimer: null,
  dmxSerialPortRefreshTimer: null,
  flashTimer: null,
  museMonitorTimer: null,
  controlStatusTimer: null,
  remoteStatusTimer: null,
  remoteCommandTimer: null,
  remoteClientStatusTimer: null,
  screenLightStatusTimer: null,
  screenLightPreparationTimer: null,
  screenLightPreparationResolve: null,
  remoteToken: "",
  remoteUrl: "",
  remoteClientConnected: false,
  remoteLastCommandId: 0,
  affiliateProfile: null,
  screenLightToken: "",
  screenLightUrl: "",
  screenLightEnabled: HAS_SCREEN_LIGHT
    && (!HAS_LIGHT || localStorage.getItem(SCREEN_LIGHT_SESSION_SOURCE_STORAGE_KEY) === "true"),
  screenLightConnected: false,
  screenLightClientConnected: false,
  screenLightPhysicalDmxOverride: false,
  screenLightDmxBlackoutSent: false,
  screenLightPublishedFrequencyHz: null,
  dmxPublishedPulseFrequencyHz: null,
  lastDmxPayloadSignature: "",
  lastDmxPayloadSentAt: 0,
  dmxTraceRetryAt: 0,
  sessionScreenLightPreparing: false,
  sessionScreenLightPreparationStartedAt: 0,
  sessionScreenLightPreparationEndsAt: 0,
  sessionScreenLightPreparationProgramId: "",
  sessionGraphFrame: null,
  sessionSearchTimer: null,
  sendInFlight: false,
  sendPending: false,
  hasDmxControl: false,
  connectionSuccesses: 0,
  connectionFailures: 0,
  lastConnectionSuccessAt: Date.now(),
  connectionStatusText: "",
  connectionStatusConnected: false,
  museMonitorVisible: false,
  eegSpectrumVisible: false,
  analysisVisible: false,
  museMonitorBattery: 86,
  museMonitorStartedAt: Date.now(),
  museCurrentState: null,
  eegSpectrumHistory: [],
  eegSpectrumTargetHistory: [],
  eegSpectrumAnimationFrame: null,
  eegSpectrumLastFrameAt: 0,
  eegSpectrumSourceLabel: "",
  eegSpectrumZoomRange: null,
  eegSpectrumHistorySource: null,
  eegSpectrumDominantBand: "",
  eegSpectrumDominantBandCandidate: "",
  eegSpectrumDominantBandCandidateAt: 0,
  eegSpectrumDominantBandPower: 0,
  museSearchTimeout: null,
  museBridge: {
    available: false,
    connected: false,
    status: "",
    device: "",
    latestAt: 0,
    detectedAt: 0,
    positiveAt: 0,
    latestDataAt: 0,
    latestNativeDataAt: 0,
    lastTimestamp: 0,
    configuration: null,
    battery: null,
    channels: null,
    signal: null,
    signalTarget: null,
    contactSignal: null,
    eegStability: null,
    artifacts: 0,
    motion: 0,
    calm: null,
    focus: null,
    contactSensors: {},
    optical: {
      active: false,
      latestAt: 0,
      source: "",
      value: null
    },
    monitorValues: {
      signal: null,
      calm: null,
      focus: null,
      artifacts: null,
      latency: null,
      heartRate: null,
      breathingRate: null,
      leftActivity: null,
      rightActivity: null
    },
    bandPowers: {},
    artifact: { headbandOn: null, blink: false, jawClench: false },
    eegBuffer: [],
    packetCounts: {
      rawEeg: 0,
      bandPower: 0,
      quality: 0,
      battery: 0,
      motion: 0,
      optical: 0,
      other: 0
    },
    nativeSampleCounters: {},
    nativeSampleTotal: 0,
    lastNativeMessage: "",
    lastPacketType: "",
    qualityType: ""
  },
  sessionEegSamples: [],
  sessionAnalysisPrompt: "",
  sessionAnalysisStatusOverride: "",
  sessionAnalysisId: "",
  sessionAnalysisCreditId: "",
  sessionAnalysisPollTimer: null,
  sessionAnalysisPollStartedAt: 0,
  sessionAnalysisReportTitle: "",
  sessionAnalysisReportHtml: "",
  analysisCredits: null,
  analysisCreditsLoading: false,
  analysisCreditsStatusOverride: "",
  lastEegSampleAt: 0,
  audioEnabled: false,
  blackoutActive: false,
  blackoutSnapshot: null,
  ganzfeldActive: false,
  ganzfeldSnapshot: null,
  sessionEditorLightPreview: null,
  activeFixtureId: "atomic-led-strobe-6ch",
  sessionTimer: null,
  sessionProgramId: "hypnotic-gateway-30",
  sessionRequestedProgramId: "",
  sessionPreBaselineId: localStorage.getItem(SESSION_PRE_BASELINE_STORAGE_KEY) || "none",
  sessionPreBaselineInteracting: false,
  sessionPreBaselinePendingId: "",
  sessionAdaptiveEnabled: CAN_ADAPTIVE_SESSION
    && localStorage.getItem(SESSION_ADAPTIVE_ENABLED_STORAGE_KEY) === "true",
  sessionAdaptiveGoal: localStorage.getItem(SESSION_ADAPTIVE_GOAL_STORAGE_KEY) || "auto",
  sessionAdaptiveGoalInteracting: false,
  sessionAdaptiveEffectiveGoal: "calm-regulation",
  sessionAdaptiveActive: false,
  sessionAdaptiveBaseline: null,
  sessionAdaptiveLightScale: 1,
  sessionAdaptiveAudioScale: 1,
  sessionAdaptiveFrequencyOffset: 0,
  sessionAdaptiveLastDecisionAt: 0,
  sessionAdaptiveDecision: null,
  sessionAdaptiveDecisionLog: [],
  sessionAdaptiveRecoveryUntil: 0,
  sessionAdaptiveStartedAt: 0,
  sessionRunPlan: null,
  sessionRunSegmentIndex: 0,
  sessionRunElapsedSeconds: 0,
  sessionPendingStartProgramId: "",
  sessionPendingStartBaselineId: "",
  sessionElapsedSeconds: 0,
  sessionPreBaselineDisabledByUser: localStorage.getItem(SESSION_PRE_BASELINE_DISABLED_STORAGE_KEY) === "true",
  sessionRunning: false,
  sessionPaused: false,
  sessionEnded: false,
  sessionLastTick: 0,
  sessionPulseVolumeBase: 0,
  sessionPulseVolumeScale: 1,
  sessionPulseVolumeInteracting: false,
  sessionPulseMode: null,
  sessionPulseShape: "square",
  sessionLightHz: 0,
  sessionLightIntensity: 1,
  sessionGanzfeldMode: false,
  sessionGanzfeldOverride: null,
  sessionAuroraOverride: null,
  sessionSnapshot: null,
  sessionVoiceCueKeys: new Set(),
  sessionVoicePausedBySession: false,
  sessionVoicePlayer: null,
  pulseEpochMs: performance.now(),
  pulseFrequency: 1,
  audioBeatOverride: null,
  musicTracks: [],
  musicLibraryInstalled: false,
  musicLibraryVersion: null,
  musicTrackIndex: -1,
  musicShuffleEnabled: true,
  transportMenu: "sessions",
  musicLightCodeSafeModeSnapshot: null,
  manualMusicQueue: [],
  musicHistory: [],
  sessionMusicDucking: false,
  sessionMusicQueue: [],
  sessionMusicQueues: {},
  sessionMusicPhaseIndex: -1,
  sessionMusicCrossfade: null,
  sessionCrossfadePlayer: null,
  sessionPauseMusicWasPlaying: false,
  pulseAudioBackend: null,
  pulseAudioContext: null,
  pulseAudioNodes: null,
  noiseAudioContext: null,
  noiseAudioNodes: null,
  musicAudioContext: null,
  musicPanners: new WeakMap(),
  musicPannerNodes: new Set(),
  musicEqualizers: new WeakMap(),
  musicEqualizerNodes: new Set(),
  musicMasterGains: new WeakMap(),
  musicMasterGainNodes: new Set(),
  musicLightCodeAnalysers: new WeakMap(),
  musicLightCodeDecoder: null,
  musicReverbs: new WeakMap(),
  musicReverbNodes: new Set(),
  breathingTimer: null,
  breathingCueKey: null,
  breathingPatternKey: null,
  breathingCycleStartSeconds: null,
  breathingManualStartedAt: null,
  breathingFadeOutFactor: 1,
  breathingInPlayer: null,
  breathingOutPlayer: null,
  boundMusicPlayers: new WeakSet(),
  musicCategoryFilter: "all"
};

const els = {
  controls: document.querySelector(".controls"),
  controlTabButtons: [...document.querySelectorAll("[data-control-tab]")],
  controlTabPanels: [...document.querySelectorAll("[data-control-panel]")],
  transportPanel: document.querySelector("#transportPanel"),
  transportGroups: [...document.querySelectorAll("[data-transport-menu]")],
  transportSessionPlay: document.querySelector("#transportSessionPlay"),
  transportSessionPause: document.querySelector("#transportSessionPause"),
  transportSessionStop: document.querySelector("#transportSessionStop"),
  transportMusicPlay: document.querySelector("#transportMusicPlay"),
  transportMusicPause: document.querySelector("#transportMusicPause"),
  transportMusicStop: document.querySelector("#transportMusicStop"),
  transportMusicPrevious: document.querySelector("#transportMusicPrevious"),
  transportMusicNext: document.querySelector("#transportMusicNext"),
  transportMusicShuffle: document.querySelector("#transportMusicShuffle"),
  controlStatusIcons: document.querySelector("#controlStatusIcons"),
  statusIconVr: document.querySelector("#statusIconVr"),
  statusIconBinaural: document.querySelector("#statusIconBinaural"),
  statusIconRemote: document.querySelector("#statusIconRemote"),
  statusIconMuse: document.querySelector("#statusIconMuse"),
  statusIconDmx: document.querySelector("#statusIconDmx"),
  testButton: document.querySelector("#testButton"),
  blackoutButton: document.querySelector("#blackoutButton"),
  outputEnabled: document.querySelector("#outputEnabled"),
  sessionCategory: document.querySelector("#sessionCategory"),
  sessionSubcategoryField: document.querySelector("#sessionSubcategoryField"),
  sessionSubcategory: document.querySelector("#sessionSubcategory"),
  sessionCategoryPurpose: document.querySelector("#sessionCategoryPurpose"),
  sessionSearch: document.querySelector("#sessionSearch"),
  sessionSearchStatus: document.querySelector("#sessionSearchStatus"),
  sessionProgramLabel: document.querySelector("#sessionProgramLabel"),
  sessionSelect: document.querySelector("#sessionSelect"),
  sessionInlineDeleteButton: document.querySelector("#sessionInlineDeleteButton"),
  sessionLibraryActions: document.querySelector("#sessionLibraryActions"),
  sessionNewButton: document.querySelector("#sessionNewButton"),
  sessionDuplicateButton: document.querySelector("#sessionDuplicateButton"),
  sessionEditButton: document.querySelector("#sessionEditButton"),
  sessionShareButton: document.querySelector("#sessionShareButton"),
  sessionImportButton: document.querySelector("#sessionImportButton"),
  sessionMarketplaceButton: document.querySelector("#sessionMarketplaceButton"),
  sessionAskAiButton: document.querySelector("#sessionAskAiButton"),
  sessionDescriptionButton: document.querySelector("#sessionDescriptionButton"),
  sessionDeleteButton: document.querySelector("#sessionDeleteButton"),
  sessionDeleteDialog: document.querySelector("#sessionDeleteDialog"),
  sessionDeleteEyebrow: document.querySelector("#sessionDeleteEyebrow"),
  sessionDeleteTitle: document.querySelector("#sessionDeleteTitle"),
  sessionDeleteMessage: document.querySelector("#sessionDeleteMessage"),
  sessionDeleteCloseButton: document.querySelector("#sessionDeleteCloseButton"),
  sessionDeleteCancelButton: document.querySelector("#sessionDeleteCancelButton"),
  sessionDeleteConfirmButton: document.querySelector("#sessionDeleteConfirmButton"),
  askAiDialog: document.querySelector("#askAiDialog"),
  askAiCloseButton: document.querySelector("#askAiCloseButton"),
  askAiCancelButton: document.querySelector("#askAiCancelButton"),
  askAiSubmitButton: document.querySelector("#askAiSubmitButton"),
  askAiQuestionInput: document.querySelector("#askAiQuestionInput"),
  askAiProgress: document.querySelector("#askAiProgress"),
  askAiStatus: document.querySelector("#askAiStatus"),
  askAiSource: document.querySelector("#askAiSource"),
  askAiResults: document.querySelector("#askAiResults"),
  sessionDescriptionDialog: document.querySelector("#sessionDescriptionDialog"),
  sessionDescriptionCloseButton: document.querySelector("#sessionDescriptionCloseButton"),
  sessionDescriptionCancelButton: document.querySelector("#sessionDescriptionCancelButton"),
  sessionDescriptionTitle: document.querySelector("#sessionDescriptionTitle"),
  sessionDescriptionProgress: document.querySelector("#sessionDescriptionProgress"),
  sessionDescriptionStatus: document.querySelector("#sessionDescriptionStatus"),
  sessionDescriptionOutput: document.querySelector("#sessionDescriptionOutput"),
  openAiApiKeyInput: document.querySelector("#openAiApiKeyInput"),
  openAiApiKeySaveButton: document.querySelector("#openAiApiKeySaveButton"),
  openAiApiKeyClearButton: document.querySelector("#openAiApiKeyClearButton"),
  openAiApiKeyStatus: document.querySelector("#openAiApiKeyStatus"),
  affiliateToggleButton: document.querySelector("#affiliateToggleButton"),
  affiliateSettingsBody: document.querySelector("#affiliateSettingsBody"),
  affiliateStatus: document.querySelector("#affiliateStatus"),
  affiliateEmailInput: document.querySelector("#affiliateEmailInput"),
  affiliateLinkInput: document.querySelector("#affiliateLinkInput"),
  affiliateCopyButton: document.querySelector("#affiliateCopyButton"),
  affiliateLoadButton: document.querySelector("#affiliateLoadButton"),
  affiliateCodeValue: document.querySelector("#affiliateCodeValue"),
  affiliateApprovedValue: document.querySelector("#affiliateApprovedValue"),
  affiliatePaidValue: document.querySelector("#affiliatePaidValue"),
  affiliateMinimumValue: document.querySelector("#affiliateMinimumValue"),
  sessionImportInput: document.querySelector("#sessionImportInput"),
  sessionLibraryStatus: document.querySelector("#sessionLibraryStatus"),
  sessionEditorDialog: document.querySelector("#sessionEditorDialog"),
  sessionEditorForm: document.querySelector("#sessionEditorForm"),
  sessionEditorTitle: document.querySelector("#sessionEditorTitle"),
  sessionEditorEyebrow: document.querySelector("#sessionEditorEyebrow"),
  sessionEditorCloseButton: document.querySelector("#sessionEditorCloseButton"),
  sessionEditorCancelButton: document.querySelector("#sessionEditorCancelButton"),
  sessionEditorName: document.querySelector("#sessionEditorName"),
  sessionEditorCategory: document.querySelector("#sessionEditorCategory"),
  sessionEditorSubcategoryField: document.querySelector("#sessionEditorSubcategoryField"),
  sessionEditorSubcategory: document.querySelector("#sessionEditorSubcategory"),
  sessionEditorGoal: document.querySelector("#sessionEditorGoal"),
  sessionEditorCarrier: document.querySelector("#sessionEditorCarrier"),
  sessionEditorCrossfade: document.querySelector("#sessionEditorCrossfade"),
  sessionEditorColorCrossfade: document.querySelector("#sessionEditorColorCrossfade"),
  sessionEditorTimelineDuration: document.querySelector("#sessionEditorTimelineDuration"),
  sessionEditorPhases: document.querySelector("#sessionEditorPhases"),
  sessionEditorTimeline: document.querySelector("#sessionEditorTimeline"),
  sessionEditorCopyLightToAudioButton: document.querySelector("#sessionEditorCopyLightToAudioButton"),
  sessionEditorTimelineTitle: document.querySelector("#sessionEditorTimelineTitle"),
  sessionEditorTimelineHint: document.querySelector("#sessionEditorTimelineHint"),
  sessionEditorMarkerChart: document.querySelector("#sessionEditorMarkerChart"),
  sessionEditorFrequencyChart: document.querySelector("#sessionEditorFrequencyChart"),
  sessionEditorAudioFrequencyChart: document.querySelector("#sessionEditorAudioFrequencyChart"),
  sessionEditorColorChart: document.querySelector("#sessionEditorColorChart"),
  sessionEditorIntensityChart: document.querySelector("#sessionEditorIntensityChart"),
  sessionEditorError: document.querySelector("#sessionEditorError"),
  sessionEditorPhaseHeading: document.querySelector("#sessionEditorPhaseHeading"),
  sessionEditorPhaseHint: document.querySelector("#sessionEditorPhaseHint"),
  sessionAddPhaseButton: document.querySelector("#sessionAddPhaseButton"),
  marketplaceDialog: document.querySelector("#marketplaceDialog"),
  marketplaceCloseButton: document.querySelector("#marketplaceCloseButton"),
  marketplaceSearch: document.querySelector("#marketplaceSearch"),
  marketplaceCategory: document.querySelector("#marketplaceCategory"),
  marketplaceStatus: document.querySelector("#marketplaceStatus"),
  marketplaceGrid: document.querySelector("#marketplaceGrid"),
  marketplacePublishButton: document.querySelector("#marketplacePublishButton"),
  marketplaceUploadDialog: document.querySelector("#marketplaceUploadDialog"),
  marketplaceUploadForm: document.querySelector("#marketplaceUploadForm"),
  marketplaceUploadCloseButton: document.querySelector("#marketplaceUploadCloseButton"),
  marketplaceUploadCancelButton: document.querySelector("#marketplaceUploadCancelButton"),
  marketplaceUploadSession: document.querySelector("#marketplaceUploadSession"),
  marketplaceCreatorName: document.querySelector("#marketplaceCreatorName"),
  marketplaceCreatorEmail: document.querySelector("#marketplaceCreatorEmail"),
  marketplaceListingSummary: document.querySelector("#marketplaceListingSummary"),
  marketplaceListingPrice: document.querySelector("#marketplaceListingPrice"),
  marketplaceCreatorShare: document.querySelector("#marketplaceCreatorShare"),
  marketplacePublisherCode: document.querySelector("#marketplacePublisherCode"),
  marketplacePasteCodeButton: document.querySelector("#marketplacePasteCodeButton"),
  marketplaceUploadConsent: document.querySelector("#marketplaceUploadConsent"),
  marketplaceTermsConsent: document.querySelector("#marketplaceTermsConsent"),
  marketplaceUploadStatus: document.querySelector("#marketplaceUploadStatus"),
  marketplaceUploadSubmitButton: document.querySelector("#marketplaceUploadSubmitButton"),
  sessionStatus: document.querySelector("#sessionStatus"),
  sessionTitle: document.querySelector("#sessionTitle"),
  sessionGoal: document.querySelector("#sessionGoal"),
  sessionTimer: document.querySelector("#sessionTimer"),
  sessionProgressBar: document.querySelector("#sessionProgressBar"),
  sessionBeforeField: null,
  sessionPreBaselineSelect: document.querySelector("#sessionPreBaselineSelect"),
  sessionAdaptiveField: document.querySelector("#sessionAdaptiveField"),
  sessionAdaptiveGoal: document.querySelector("#sessionAdaptiveGoal"),
  sessionAdaptiveStatus: document.querySelector("#sessionAdaptiveStatus"),
  sessionStartButton: document.querySelector("#sessionStartButton"),
  sessionPauseButton: document.querySelector("#sessionPauseButton"),
  sessionStopButton: document.querySelector("#sessionStopButton"),
  sessionAnalysisActions: document.querySelector("#sessionAnalysisActions"),
  sessionAnalysisButton: document.querySelector("#sessionAnalysisButton"),
  analysisBuyCreditsButton: document.querySelector("#analysisBuyCreditsButton"),
  analysisCreditsStatus: document.querySelector("#analysisCreditsStatus"),
  sessionAnalysisStatus: document.querySelector("#sessionAnalysisStatus"),
  analysisDialog: document.querySelector("#analysisDialog"),
  analysisCloseButton: document.querySelector("#analysisCloseButton"),
  analysisPrintButton: document.querySelector("#analysisPrintButton"),
  analysisReportOutput: document.querySelector("#analysisReportOutput"),
  breathingGuideEnabled: document.querySelector("#breathingGuideEnabled"),
  breathingGuidePattern: document.querySelector("#breathingGuidePattern"),
  breathingGuideStatus: document.querySelector("#breathingGuideStatus"),
  sessionWhiteLightDisabled: document.querySelector("#sessionWhiteLightDisabled"),
  languageSelect: document.querySelector("#languageSelect"),
  presenterPreset: document.querySelector("#presenterPreset"),
  sessionPhaseName: document.querySelector("#sessionPhaseName"),
  sessionPhasePurpose: document.querySelector("#sessionPhasePurpose"),
  sessionPhases: document.querySelector("#sessionPhases"),
  sessionGraph: document.querySelector("#sessionGraph"),
  sessionIntensityGraph: document.querySelector("#sessionIntensityGraph"),
  sessionMusicCategory: document.querySelector("#sessionMusicCategory"),
  statusDot: document.querySelector("#statusDot"),
  statusText: document.querySelector("#statusText"),
  dmxOutputModeField: document.querySelector("#dmxOutputModeField"),
  dmxOutputMode: document.querySelector("#dmxOutputMode"),
  dmxSerialPortField: document.querySelector("#dmxSerialPortField"),
  dmxSerialPort: document.querySelector("#dmxSerialPort"),
  dmxOutputTypeLabel: document.querySelector("#dmxOutputTypeLabel"),
  artnetController: document.querySelector("#artnetController"),
  artnetNetworkSettings: document.querySelector("#artnetNetworkSettings"),
  artnetIp: document.querySelector("#artnetIp"),
  artnetUniverse: document.querySelector("#artnetUniverse"),
  networkHelp: document.querySelector("#networkHelp"),
  visualizer: document.querySelector("#visualizer"),
  eegSpectrumPlot: document.querySelector("#eegSpectrumPlot"),
  eegSpectrumCanvas: document.querySelector("#eegSpectrumCanvas"),
  eegSpectrumStatus: document.querySelector("#eegSpectrumStatus"),
  eegSpectrumAxisLegend: document.querySelector("#eegSpectrumAxisLegend"),
  museMonitorRing: document.querySelector("#museMonitorRing"),
  museMonitorReadout: document.querySelector("#museMonitorReadout"),
  museMonitorStatus: document.querySelector("#museMonitorStatus"),
  museConnectionStatus: document.querySelector("#museConnectionStatus"),
  museConnectionStatusTitle: document.querySelector("#museConnectionStatusTitle"),
  museConnectionStatusText: document.querySelector("#museConnectionStatusText"),
  museManualSearchButton: document.querySelector("#museManualSearchButton"),
  museSearchRadar: document.querySelector("#museSearchRadar"),
  museContactFit: document.querySelector("#museContactFit"),
  museContactStatus: document.querySelector("#museContactStatus"),
  museStatePanel: document.querySelector("#museStatePanel"),
  museStateName: document.querySelector("#museStateName"),
  museStateConfidence: document.querySelector("#museStateConfidence"),
  museStateBreakdown: document.querySelector("#museStateBreakdown"),
  museHemisphereBalance: document.querySelector("#museHemisphereBalance"),
  museHemisphereBalanceLabel: document.querySelector("#museHemisphereBalanceLabel"),
  museLeftActivityValue: document.querySelector("#museLeftActivityValue"),
  museRightActivityValue: document.querySelector("#museRightActivityValue"),
  museHeartRateValue: document.querySelector("#museHeartRateValue"),
  museBreathingRateValue: document.querySelector("#museBreathingRateValue"),
  museDominantFrequencyValue: document.querySelector("#museDominantFrequencyValue"),
  museEntrainmentMatchValue: document.querySelector("#museEntrainmentMatchValue"),
  museSpectrumToggle: document.querySelector("#museSpectrumToggle"),
  museSignalValue: document.querySelector("#museSignalValue"),
  museCalmValue: document.querySelector("#museCalmValue"),
  museFocusValue: document.querySelector("#museFocusValue"),
  museArtifactsValue: document.querySelector("#museArtifactsValue"),
  museBatteryValue: document.querySelector("#museBatteryValue"),
  museLatencyValue: document.querySelector("#museLatencyValue"),
  flash: document.querySelector("#flash"),
  frequency: document.querySelector("#frequency"),
  frequencyValue: document.querySelector("#frequencyValue"),
  orbFrequency: document.querySelector("#orbFrequency"),
  orbBand: document.querySelector("#orbBand"),
  orbAudioFrequency: document.querySelector("#orbAudioFrequency"),
  orbAudioBand: document.querySelector("#orbAudioBand"),
  orbLightCodeReadout: document.querySelector("#orbLightCodeReadout"),
  orbLightCodeMode: document.querySelector("#orbLightCodeMode"),
  orbLightCodeFrequency: document.querySelector("#orbLightCodeFrequency"),
  orbLightCodeAnimation: document.querySelector("#orbLightCodeAnimation"),
  bandPanel: document.querySelector("#bandPanel"),
  bandName: document.querySelector("#bandName"),
  bandRange: document.querySelector("#bandRange"),
  bandPurpose: document.querySelector("#bandPurpose"),
  lightSafetyNote: document.querySelector("#lightSafetyNote"),
  strobeIntensity: document.querySelector("#strobeIntensity"),
  strobeIntensityValue: document.querySelector("#strobeIntensityValue"),
  rgbColor: document.querySelector("#rgbColor"),
  rgbIntensity: document.querySelector("#rgbIntensity"),
  rgbIntensityValue: document.querySelector("#rgbIntensityValue"),
  screenLightBoost: document.querySelector("#screenLightBoost"),
  screenLightBoostValue: document.querySelector("#screenLightBoostValue"),
  rgbPulseEnabled: document.querySelector("#rgbPulseEnabled"),
  auroraEnabled: document.querySelector("#auroraEnabled"),
  auroraPreset: document.querySelector("#auroraPreset"),
  auroraSpeed: document.querySelector("#auroraSpeed"),
  auroraSpeedValue: document.querySelector("#auroraSpeedValue"),
  auroraDepth: document.querySelector("#auroraDepth"),
  auroraDepthValue: document.querySelector("#auroraDepthValue"),
  ganzfeldEnabled: document.querySelector("#ganzfeldEnabled"),
  audioToggle: document.querySelector("#audioToggle"),
  audioStatus: document.querySelector("#audioStatus"),
  audioMode: document.querySelector("#audioMode"),
  audioPulseShape: document.querySelector("#audioPulseShape"),
  carrierFrequency: document.querySelector("#carrierFrequency"),
  audioVolume: document.querySelector("#audioVolume"),
  audioVolumeValue: document.querySelector("#audioVolumeValue"),
  noiseType: document.querySelector("#noiseType"),
  noiseVolume: document.querySelector("#noiseVolume"),
  noiseVolumeValue: document.querySelector("#noiseVolumeValue"),
  masterVolume: document.querySelector("#masterVolume"),
  masterVolumeValue: document.querySelector("#masterVolumeValue"),
  audioBalance: document.querySelector("#audioBalance"),
  audioBalanceValue: document.querySelector("#audioBalanceValue"),
  reverbPreset: document.querySelector("#reverbPreset"),
  reverbMix: document.querySelector("#reverbMix"),
  reverbMixValue: document.querySelector("#reverbMixValue"),
  reverbDecay: document.querySelector("#reverbDecay"),
  reverbDecayValue: document.querySelector("#reverbDecayValue"),
  reverbPreDelay: document.querySelector("#reverbPreDelay"),
  reverbPreDelayValue: document.querySelector("#reverbPreDelayValue"),
  equalizerBass: document.querySelector("#equalizerBass"),
  equalizerBassValue: document.querySelector("#equalizerBassValue"),
  equalizerMid: document.querySelector("#equalizerMid"),
  equalizerMidValue: document.querySelector("#equalizerMidValue"),
  equalizerTreble: document.querySelector("#equalizerTreble"),
  equalizerTrebleValue: document.querySelector("#equalizerTrebleValue"),
  equalizerReset: document.querySelector("#equalizerReset"),
  audioSettingsGraph: document.querySelector("#audioSettingsGraph"),
  audioSafetyNote: document.querySelector("#audioSafetyNote"),
  musicPlayer: document.querySelector("#musicPlayer"),
  musicLibraryStatus: document.querySelector("#musicLibraryStatus"),
  musicLibraryStatusText: document.querySelector("#musicLibraryStatusText"),
  musicLibraryInstallButton: document.querySelector("#musicLibraryInstallButton"),
  musicStatus: document.querySelector("#musicStatus"),
  musicTrackName: document.querySelector("#musicTrackName"),
  musicLightCodeIndicator: document.querySelector("#musicLightCodeIndicator"),
  musicTime: document.querySelector("#musicTime"),
  musicProgress: document.querySelector("#musicProgress"),
  musicPrevious: document.querySelector("#musicPrevious"),
  musicToggle: document.querySelector("#musicToggle"),
  musicNext: document.querySelector("#musicNext"),
  musicShuffle: document.querySelector("#musicShuffle"),
  musicVolume: document.querySelector("#musicVolume"),
  musicVolumeValue: document.querySelector("#musicVolumeValue"),
  musicCategoryFilter: document.querySelector("#musicCategoryFilter"),
  userMusicCategory: document.querySelector("#userMusicCategory"),
  userMusicAddButton: document.querySelector("#userMusicAddButton"),
  userMusicFiles: document.querySelector("#userMusicFiles"),
  userMusicImportStatus: document.querySelector("#userMusicImportStatus"),
  musicPlaylist: document.querySelector("#musicPlaylist"),
  settingsSubtitle: document.querySelector("#settingsSubtitle"),
  museMonitorVisible: document.querySelector("#museMonitorVisible"),
  analysisVisible: document.querySelector("#analysisVisible"),
  museConnectButton: document.querySelector("#museConnectButton"),
  remoteQrCode: document.querySelector("#remoteQrCode"),
  remoteUrl: document.querySelector("#remoteUrl"),
  remoteCopyButton: document.querySelector("#remoteCopyButton"),
  remoteStatus: document.querySelector("#remoteStatus"),
  screenLightSessionSource: document.querySelector("#screenLightSessionSource"),
  screenLightQrCode: document.querySelector("#screenLightQrCode"),
  screenLightUrl: document.querySelector("#screenLightUrl"),
  screenLightCopyButton: document.querySelector("#screenLightCopyButton"),
  screenLightStatus: document.querySelector("#screenLightStatus"),
  fixturePreset: document.querySelector("#fixturePreset"),
  startAddress: document.querySelector("#startAddress"),
  whiteDimmerChannel: document.querySelector("#whiteDimmerChannel"),
  whiteStrobeChannel: document.querySelector("#whiteStrobeChannel"),
  whiteDurationChannel: document.querySelector("#whiteDurationChannel"),
  rgbDimmerChannel: document.querySelector("#rgbDimmerChannel"),
  rgbStrobeChannel: document.querySelector("#rgbStrobeChannel"),
  redChannel: document.querySelector("#redChannel"),
  greenChannel: document.querySelector("#greenChannel"),
  blueChannel: document.querySelector("#blueChannel"),
  rgbHueCorrection: document.querySelector("#rgbHueCorrection"),
  rgbSaturationCorrection: document.querySelector("#rgbSaturationCorrection"),
  sentHexLabel: document.querySelector("#sentHexLabel"),
  sentHexColor: document.querySelector("#sentHexColor"),
  beamWhite: document.querySelector(".beam-white"),
  beamColor: document.querySelector(".beam-color"),
  frequencyPresets: document.querySelectorAll(".frequency-preset")
};

let editingUserSessionId = null;
let pendingDeleteSessionId = null;
let sessionEditorChartDrag = null;
const SESSION_EDITOR_DRAG_THRESHOLD_PX = 6;
let sessionEditorMode = "timeline";
let sessionEditorTimelineModel = null;
let selectedSessionEditorKeyframe = null;
let activeSessionEditorCurve = "frequency:frequency";
const hiddenSessionEditorCurves = new Set();
let marketplaceCatalog = [];
let marketplaceCatalogLoaded = false;
let marketplaceCatalogLoading = false;
let marketplaceCatalogLoadPromise = null;
let marketplaceUploadSubmitting = false;

function availableControlTabs() {
  return els.controlTabButtons
    .filter((button) => !button.hidden && !button.disabled)
    .map((button) => button.dataset.controlTab)
    .filter(Boolean);
}

function setActiveControlTab(tabId, persist = true) {
  const tabs = availableControlTabs();
  const nextTab = tabs.includes(tabId) ? tabId : "sessions";
  const nextTransportMenu = activeTransportMenuForTab(nextTab);
  if (nextTransportMenu) state.transportMenu = nextTransportMenu;
  els.controlTabButtons.forEach((button) => {
    const active = button.dataset.controlTab === nextTab;
    const transportLinked = button.dataset.controlTab === state.transportMenu && ["sessions", "music"].includes(button.dataset.controlTab);
    button.classList.toggle("active", active);
    button.classList.toggle("transport-linked", transportLinked);
    button.setAttribute("aria-selected", active ? "true" : "false");
  });
  els.controlTabPanels.forEach((panel) => {
    panel.classList.toggle("active", panel.dataset.controlPanel === nextTab);
  });
  updateTransportPanel(nextTab);
  if (persist) localStorage.setItem(CONTROL_PANEL_ACTIVE_TAB_STORAGE_KEY, nextTab);
}

function updateControlTabAvailability() {
  const musicTab = els.controlTabButtons.find((button) => button.dataset.controlTab === "music");
  if (!musicTab) return;
  const blocked = Boolean(state.sessionRunning);
  musicTab.disabled = blocked;
  musicTab.setAttribute("aria-disabled", blocked ? "true" : "false");
  musicTab.title = blocked
    ? (currentLanguage === "nl" ? "Muziek is geblokkeerd tijdens een sessie" : "Music is blocked during a session")
    : "";
  if (blocked && musicTab.classList.contains("active")) {
    setActiveControlTab("sessions", false);
  } else {
    updateTransportPanel();
  }
}

function activeTransportMenuForTab(tabId) {
  if (tabId === "music") return "music";
  if (tabId === "sessions") return "sessions";
  return state.transportMenu || "sessions";
}

function triggerButton(button) {
  if (!button || button.disabled || button.hidden) return;
  button.click();
}

function syncTransportButton(target, source, options = {}) {
  if (!target) return;
  target.disabled = options.disabled ?? Boolean(source?.disabled);
  target.classList.toggle("active", Boolean(options.active));
  if (options.label) {
    target.setAttribute("aria-label", options.label);
    target.title = options.label;
  }
}

function updateTransportPanel(tabId = null) {
  if (!els.transportPanel) return;
  const activeTab = tabId
    || els.controlTabButtons.find((button) => button.classList.contains("active"))?.dataset.controlTab
    || "sessions";
  const activeMenu = activeTransportMenuForTab(activeTab);
  state.transportMenu = activeMenu;
  els.transportPanel.hidden = !activeMenu;
  els.controlTabButtons.forEach((button) => {
    const linked = button.dataset.controlTab === activeMenu && ["sessions", "music"].includes(button.dataset.controlTab);
    button.classList.toggle("transport-linked", linked);
  });
  els.transportGroups.forEach((group) => {
    group.classList.toggle("active", group.dataset.transportMenu === activeMenu);
  });

  const sessionPaused = Boolean(state.sessionRunning && state.sessionPaused);
  syncTransportButton(els.transportSessionPlay, els.sessionStartButton, {
    disabled: state.sessionRunning ? true : Boolean(els.sessionStartButton?.disabled),
    active: state.sessionRunning && !state.sessionPaused,
    label: currentLanguage === "nl" ? "Sessie starten" : "Start session"
  });
  syncTransportButton(els.transportSessionPause, els.sessionPauseButton, {
    active: sessionPaused,
    label: sessionPaused
      ? (currentLanguage === "nl" ? "Sessie hervatten" : "Resume session")
      : (currentLanguage === "nl" ? "Sessie pauzeren" : "Pause session")
  });
  syncTransportButton(els.transportSessionStop, els.sessionStopButton, {
    label: currentLanguage === "nl" ? "Sessie stoppen" : "Stop session"
  });

  const hasTracks = Boolean(state.musicTracks?.length);
  const musicPlaying = Boolean(els.musicPlayer && !els.musicPlayer.paused && !els.musicPlayer.ended);
  syncTransportButton(els.transportMusicPlay, els.musicToggle, {
    disabled: state.sessionRunning || !hasTracks || musicPlaying,
    active: musicPlaying,
    label: currentLanguage === "nl" ? "Muziek afspelen" : "Play music"
  });
  syncTransportButton(els.transportMusicPause, els.musicToggle, {
    disabled: state.sessionRunning || !hasTracks || !musicPlaying,
    active: !musicPlaying && hasTracks,
    label: currentLanguage === "nl" ? "Muziek pauzeren" : "Pause music"
  });
  syncTransportButton(els.transportMusicStop, els.musicToggle, {
    disabled: state.sessionRunning || !hasTracks,
    label: currentLanguage === "nl" ? "Muziek stoppen" : "Stop music"
  });
  syncTransportButton(els.transportMusicPrevious, els.musicPrevious, {
    disabled: state.sessionRunning || Boolean(els.musicPrevious?.disabled),
    label: currentLanguage === "nl" ? "Vorige track" : "Previous track"
  });
  syncTransportButton(els.transportMusicNext, els.musicNext, {
    disabled: state.sessionRunning || Boolean(els.musicNext?.disabled),
    label: currentLanguage === "nl" ? "Volgende track" : "Next track"
  });
  syncTransportButton(els.transportMusicShuffle, els.musicShuffle, {
    disabled: state.sessionRunning || Boolean(els.musicShuffle?.disabled),
    active: Boolean(state.musicShuffleEnabled),
    label: state.musicShuffleEnabled ? "Shuffle" : "Loop"
  });
  els.transportMusicShuffle?.classList.toggle("loop-mode", !state.musicShuffleEnabled);
}

function bindTransportPanel() {
  if (!els.transportPanel) return;
  els.transportSessionPlay?.addEventListener("click", () => triggerButton(els.sessionStartButton));
  els.transportSessionPause?.addEventListener("click", () => triggerButton(els.sessionPauseButton));
  els.transportSessionStop?.addEventListener("click", () => triggerButton(els.sessionStopButton));
  els.transportMusicPlay?.addEventListener("click", () => {
    if (state.sessionRunning) return;
    if (els.musicPlayer?.paused) triggerButton(els.musicToggle);
  });
  els.transportMusicPause?.addEventListener("click", () => {
    if (state.sessionRunning) return;
    if (!els.musicPlayer?.paused) triggerButton(els.musicToggle);
  });
  els.transportMusicStop?.addEventListener("click", () => {
    if (state.sessionRunning) return;
    if (!els.musicPlayer) return;
    els.musicPlayer.pause();
    els.musicPlayer.currentTime = 0;
    if (state.sessionMusicCrossfade) {
      state.sessionMusicCrossfade.player.pause();
      state.sessionMusicCrossfade.player.currentTime = 0;
    }
    updateMusicUi();
  });
  els.transportMusicPrevious?.addEventListener("click", () => {
    if (!state.sessionRunning) triggerButton(els.musicPrevious);
  });
  els.transportMusicNext?.addEventListener("click", () => {
    if (!state.sessionRunning) triggerButton(els.musicNext);
  });
  els.transportMusicShuffle?.addEventListener("click", () => {
    if (!state.sessionRunning) triggerButton(els.musicShuffle);
  });

  const observer = new MutationObserver(() => updateTransportPanel());
  [
    els.sessionStartButton,
    els.sessionPauseButton,
    els.sessionStopButton,
    els.musicToggle,
    els.musicPrevious,
    els.musicNext,
    els.musicShuffle
  ].filter(Boolean).forEach((button) => {
    observer.observe(button, { attributes: true, attributeFilter: ["disabled", "hidden", "class"] });
  });
  updateTransportPanel();
}

function setupControlPanelTabs() {
  if (!els.controls || els.controlTabButtons.length === 0 || els.controlTabPanels.length === 0) return;
  if (PRODUCT.edition === "personal") {
    els.controlTabButtons
      .filter((button) => button.dataset.controlTab === "pulse")
      .forEach((button) => { button.hidden = true; });
    els.controlTabPanels
      .filter((panel) => panel.dataset.controlPanel === "pulse")
      .forEach((panel) => { panel.hidden = true; });
  }
  if (!HAS_MUSE) {
    els.controlTabButtons
      .filter((button) => button.dataset.controlTab === "muse")
      .forEach((button) => { button.hidden = true; });
    els.controlTabPanels
      .filter((panel) => panel.dataset.controlPanel === "muse")
      .forEach((panel) => { panel.hidden = true; });
  }
  const storedTab = localStorage.getItem(CONTROL_PANEL_ACTIVE_TAB_STORAGE_KEY);
  setActiveControlTab(storedTab || "sessions", false);
  els.controls.dataset.controlUi = "tabs";
  els.controlTabButtons.forEach((button) => {
    button.addEventListener("click", () => {
      if (button.disabled) return;
      setActiveControlTab(button.dataset.controlTab || "sessions");
    });
  });
  bindTransportPanel();
  updateControlTabAvailability();
}

function museStatusIconActive() {
  return HAS_MUSE && isLiveMuseDataActive();
}

function dmxStatusIconActive() {
  return HAS_LIGHT
    && state.enabled
    && state.hasDmxControl
    && state.connectionStatusConnected
    && !state.blackoutActive
    && !screenLightSuppressesDmx();
}

function updateControlStatusIcons() {
  if (!els.controlStatusIcons) return;
  const statuses = [
    [els.statusIconVr, HAS_SCREEN_LIGHT && screenLightClientSourceActive()],
    [els.statusIconBinaural, state.audioEnabled && els.audioMode?.value === "binaural"],
    [els.statusIconRemote, HAS_REMOTE && state.remoteClientConnected],
    [els.statusIconMuse, museStatusIconActive()],
    [els.statusIconDmx, dmxStatusIconActive()]
  ];
  let anyActive = false;
  statuses.forEach(([icon, active]) => {
    if (!icon) return;
    icon.hidden = !active;
    anyActive = anyActive || Boolean(active);
  });
  els.controlStatusIcons.hidden = !anyActive;
}

function userSessionText(en, nl) {
  return currentLanguage === "nl" ? nl : en;
}

function createUserSessionId() {
  if (globalThis.crypto?.randomUUID) return `user-${globalThis.crypto.randomUUID()}`;
  return `user-${Date.now()}-${Math.random().toString(36).slice(2, 10)}`;
}

function replacementWithCase(match, replacement) {
  return /^[A-Z]/.test(match) ? replacement.charAt(0).toUpperCase() + replacement.slice(1) : replacement;
}

function repairMisophoniaTerminology(value) {
  return String(value ?? "")
    .replace(/\bmysogynie\b/gi, (match) => replacementWithCase(match, "misofonie"))
    .replace(/\bmisogynie\b/gi, (match) => replacementWithCase(match, "misofonie"))
    .replace(/\bmysogyny\b/gi, (match) => replacementWithCase(match, "misophonia"))
    .replace(/\bmisogyny\b/gi, (match) => replacementWithCase(match, "misophonia"));
}

function cleanSessionText(value, maxLength, fallback = "") {
  return repairMisophoniaTerminology(value ?? fallback).trim().slice(0, maxLength);
}

function boundedSessionNumber(value, min, max, fallback) {
  const number = Number(value);
  return Number.isFinite(number) ? clamp(number, min, max) : fallback;
}

const SESSION_TIMELINE_VERSION = 1;

const SESSION_TIMELINE_CURVES = {
  frequency: { min: 0.5, max: 40, fallback: 10, unit: " Hz" },
  audioFrequency: { min: 0.5, max: 40, fallback: 10, unit: " Hz" },
  rgb: { min: 0, max: 100, fallback: 50, unit: "%" },
  white: { min: 0, max: 100, fallback: 20, unit: "%" },
  pulseVolume: { min: 0, max: 100, fallback: 35, unit: "%" },
  musicVolume: { min: 0, max: 100, fallback: 50, unit: "%" },
  noiseVolume: { min: 0, max: 100, fallback: 0, unit: "%" },
  reverbMix: { min: 0, max: 100, fallback: 0, unit: "%" },
  reverbDecay: { min: 0.2, max: 12, fallback: 2.5, unit: "s" }
};

function validSessionHexColor(value, fallback = "#40c9ff") {
  return /^#[0-9a-f]{6}$/i.test(String(value || "")) ? String(value) : fallback;
}

function validSessionAuroraMode(value, fallback = "off") {
  return ["off", "subtle", "medium", "intense", "custom"].includes(value) ? value : fallback;
}

function validSessionNoiseType(value, fallback = "none") {
  return ["none", "white", "pink"].includes(value) ? value : fallback;
}

function validSessionReverbPreset(value, fallback = "none") {
  return ["none", "room", "hall", "cathedral", "ganzfeld"].includes(value) ? value : fallback;
}

function validSessionAudioMode(value, fallback = "isochronic") {
  return ["isochronic", "binaural", "monaural", "isochronic-monaural"].includes(value) ? value : fallback;
}

const SESSION_PULSE_SHAPES = ["sine", "triangle", "square", "trapezoid", "sawtooth"];

function validSessionPulseShape(value, fallback = "sine") {
  return SESSION_PULSE_SHAPES.includes(value) ? value : fallback;
}

function normalizeTimelineKeyframes(points, curveId, durationSeconds) {
  const spec = SESSION_TIMELINE_CURVES[curveId];
  if (!spec) return [];
  const normalizePoint = (point, fallback = {}) => {
    const normalized = {
      time: boundedSessionNumber(point?.time ?? point?.seconds, 0, durationSeconds, fallback.time ?? 0),
      value: boundedSessionNumber(point?.value, spec.min, spec.max, fallback.value ?? spec.fallback)
    };
    if (curveId === "frequency" || curveId === "audioFrequency") {
      normalized.musicMood = MUSIC_LIBRARY_CATEGORIES.includes(point?.musicMood)
        ? point.musicMood
        : MUSIC_LIBRARY_CATEGORIES.includes(fallback.musicMood)
          ? fallback.musicMood
          : undefined;
      normalized.noiseType = validSessionNoiseType(point?.noiseType, validSessionNoiseType(fallback.noiseType, undefined));
      normalized.reverbPreset = validSessionReverbPreset(point?.reverbPreset, validSessionReverbPreset(fallback.reverbPreset, undefined));
    }
    if (curveId === "frequency") {
      const fallbackPulseShape = validSessionPulseShape(fallback.pulseShape, undefined);
      normalized.lightPulseShape = validSessionPulseShape(
        point?.lightPulseShape ?? point?.pulseShape,
        validSessionPulseShape(fallback.lightPulseShape, fallbackPulseShape)
      );
    }
    if (curveId === "audioFrequency") {
      normalized.audioMode = validSessionAudioMode(point?.audioMode, validSessionAudioMode(fallback.audioMode, undefined));
      const fallbackPulseShape = validSessionPulseShape(fallback.pulseShape, undefined);
      normalized.audioPulseShape = validSessionPulseShape(
        point?.audioPulseShape ?? point?.pulseShape,
        validSessionPulseShape(fallback.audioPulseShape, fallbackPulseShape)
      );
      normalized.pulseShape = validSessionPulseShape(point?.pulseShape, normalized.audioPulseShape);
    }
    return normalized;
  };
  const normalized = (Array.isArray(points) ? points : [])
    .map((point) => normalizePoint(point))
    .sort((a, b) => a.time - b.time);
  if (!normalized.some((point) => point.time === 0)) {
    normalized.unshift(normalizePoint({ time: 0 }, normalized[0] || { value: spec.fallback }));
  }
  if (!normalized.some((point) => point.time === durationSeconds)) {
    normalized.push(normalizePoint({ time: durationSeconds }, normalized.at(-1) || { value: spec.fallback }));
  }
  const byTime = new Map();
  normalized.forEach((point) => {
    const normalizedPoint = {
      time: Number(point.time.toFixed(2)),
      value: normalizeSessionEditorCurveValue(point.value, curveId)
    };
    if ((curveId === "frequency" || curveId === "audioFrequency") && point.musicMood) normalizedPoint.musicMood = point.musicMood;
    if ((curveId === "frequency" || curveId === "audioFrequency") && point.noiseType) normalizedPoint.noiseType = point.noiseType;
    if ((curveId === "frequency" || curveId === "audioFrequency") && point.reverbPreset) normalizedPoint.reverbPreset = point.reverbPreset;
    if (curveId === "frequency" && point.lightPulseShape) normalizedPoint.lightPulseShape = point.lightPulseShape;
    if (curveId === "audioFrequency" && point.audioMode) normalizedPoint.audioMode = point.audioMode;
    if (curveId === "audioFrequency" && point.audioPulseShape) normalizedPoint.audioPulseShape = point.audioPulseShape;
    if (curveId === "audioFrequency" && point.pulseShape) normalizedPoint.pulseShape = point.pulseShape;
    byTime.set(Number(point.time.toFixed(2)), normalizedPoint);
  });
  return [...byTime.values()].sort((a, b) => a.time - b.time);
}

function normalizeTimelineColorKeyframes(points, durationSeconds) {
  const normalizeColorPoint = (point, fallback = {}) => ({
    time: boundedSessionNumber(point?.time ?? point?.seconds, 0, durationSeconds, fallback.time ?? 0),
    value: validSessionHexColor(point?.value ?? point?.color, fallback.value || "#40c9ff"),
    ganzfeldMode: point?.ganzfeldMode === true,
    auroraMode: validSessionAuroraMode(point?.auroraMode, "off"),
    auroraSpeed: boundedSessionNumber(point?.auroraSpeed, 0.05, 2, fallback.auroraSpeed ?? 0.25),
    auroraDepth: boundedSessionNumber(point?.auroraDepth, 0, 100, fallback.auroraDepth ?? 45)
  });
  const normalized = (Array.isArray(points) ? points : [])
    .map((point) => normalizeColorPoint(point))
    .sort((a, b) => a.time - b.time);
  if (!normalized.some((point) => point.time === 0)) {
    normalized.unshift({
      ...normalizeColorPoint(normalized[0] || {}, normalized[0]),
      time: 0
    });
  }
  if (!normalized.some((point) => point.time === durationSeconds)) {
    normalized.push({
      ...normalizeColorPoint(normalized.at(-1) || {}, normalized.at(-1)),
      time: durationSeconds
    });
  }
  const byTime = new Map();
  normalized.forEach((point) => byTime.set(Number(point.time.toFixed(2)), {
    time: Number(point.time.toFixed(2)),
    value: point.value,
    ganzfeldMode: point.ganzfeldMode === true,
    auroraMode: validSessionAuroraMode(point.auroraMode, "off"),
    auroraSpeed: Number(point.auroraSpeed.toFixed(2)),
    auroraDepth: Math.round(point.auroraDepth)
  }));
  return [...byTime.values()].sort((a, b) => a.time - b.time);
}

function resizeTimelineKeyframePoints(points, previousDurationSeconds, nextDurationSeconds) {
  const previousEnd = Number(previousDurationSeconds) || 0;
  const nextEnd = Number(nextDurationSeconds) || previousEnd;
  return (Array.isArray(points) ? points : []).map((point) => {
    const time = Number(point?.time ?? point?.seconds ?? 0);
    const nextPoint = { ...point };
    if (previousEnd > 0 && Math.abs(time - previousEnd) < 0.75) {
      nextPoint.time = nextEnd;
    } else if (time > nextEnd) {
      nextPoint.time = nextEnd;
    }
    return nextPoint;
  });
}

function resizeSessionEditorTimelineDuration(nextDurationSeconds) {
  if (!sessionEditorTimelineModel) return;
  const previousDurationSeconds = Number(sessionEditorTimelineModel.durationSeconds) || nextDurationSeconds;
  const curves = { ...(sessionEditorTimelineModel.curves || {}) };
  Object.keys(SESSION_TIMELINE_CURVES).forEach((curveId) => {
    curves[curveId] = resizeTimelineKeyframePoints(
      curves[curveId],
      previousDurationSeconds,
      nextDurationSeconds
    );
  });
  curves.color = resizeTimelineKeyframePoints(
    curves.color,
    previousDurationSeconds,
    nextDurationSeconds
  );
  sessionEditorTimelineModel = normalizeSessionTimeline({
    timeline: {
      ...sessionEditorTimelineModel,
      durationSeconds: nextDurationSeconds,
      curves,
      markers: resizeTimelineKeyframePoints(
        sessionEditorTimelineModel.markers,
        previousDurationSeconds,
        nextDurationSeconds
      )
    }
  });
}

function normalizeTimelineMarkers(markers, durationSeconds) {
  const normalized = (Array.isArray(markers) ? markers : [])
    .map((marker, index) => ({
      time: boundedSessionNumber(marker?.time ?? marker?.seconds, 0, durationSeconds, 0),
      name: cleanSessionText(marker?.name ?? marker?.label, 50, index === 0 ? "Start" : `Marker ${index + 1}`),
      nameEn: cleanSessionText(marker?.nameEn, 50),
      purpose: cleanSessionText(marker?.purpose, 300),
      purposeEn: cleanSessionText(marker?.purposeEn, 300)
    }))
    .filter((marker) => marker.name.length > 0)
    .sort((a, b) => a.time - b.time);
  if (!normalized.some((marker) => marker.time === 0)) {
    normalized.unshift({ time: 0, name: "Start" });
  }
  const byTime = new Map();
  normalized.forEach((marker) => {
    byTime.set(Number(marker.time.toFixed(2)), {
      time: Number(marker.time.toFixed(2)),
      name: marker.name,
      nameEn: marker.nameEn,
      purpose: marker.purpose,
      purposeEn: marker.purposeEn
    });
  });
  return [...byTime.values()].sort((a, b) => a.time - b.time);
}

function normalizeSessionTimeline(source, fallbackPhases = []) {
  const rawTimeline = source?.timeline && typeof source.timeline === "object" ? source.timeline : null;
  const fallbackDuration = fallbackPhases.length
    ? fallbackPhases.reduce((total, phase) => total + Number(phase.durationSeconds || 0), 0)
    : 30 * 60;
  const durationSeconds = boundedSessionNumber(
    rawTimeline?.durationSeconds ?? source?.durationSeconds ?? fallbackDuration,
    60,
    180 * 60,
    fallbackDuration
  );
  const curveSource = rawTimeline?.curves || {};
  const curves = {};
  Object.keys(SESSION_TIMELINE_CURVES).forEach((curveId) => {
    curves[curveId] = normalizeTimelineKeyframes(curveSource[curveId], curveId, durationSeconds);
  });
  curves.color = normalizeTimelineColorKeyframes(curveSource.color, durationSeconds);
  const pulseShape = validSessionPulseShape(rawTimeline?.pulseShape, "sine");
  const audioMode = validSessionAudioMode(rawTimeline?.audioMode, "isochronic");
  const noiseType = validSessionNoiseType(rawTimeline?.noiseType, "none");
  const hasTimelineReverbMix = curves.reverbMix.some((point) => Number(point.value) > 0);
  const rawReverbPreset = validSessionReverbPreset(rawTimeline?.reverbPreset, "none");
  const reverbPreset = rawReverbPreset === "none" && hasTimelineReverbMix ? "room" : rawReverbPreset;
  const musicMood = MUSIC_LIBRARY_CATEGORIES.includes(rawTimeline?.musicMood)
    ? rawTimeline.musicMood
    : "Ambient";
  curves.frequency = curves.frequency.map((point) => ({
    ...point,
    musicMood: MUSIC_LIBRARY_CATEGORIES.includes(point.musicMood) ? point.musicMood : musicMood,
    lightPulseShape: validSessionPulseShape(
      point.lightPulseShape ?? point.pulseShape,
      lightPulseShapeAtTimelineFrequencyKeyframes(curves.audioFrequency, point.time, pulseShape)
    )
  }));
  curves.audioFrequency = curves.audioFrequency.map((point) => ({
    ...point,
    musicMood: MUSIC_LIBRARY_CATEGORIES.includes(point.musicMood)
      ? point.musicMood
      : musicMoodAtTimelineFrequencyKeyframes(curves.frequency, point.time, musicMood),
    noiseType: validSessionNoiseType(
      point.noiseType,
      noiseTypeAtTimelineFrequencyKeyframes(curves.frequency, point.time, noiseType)
    ),
    reverbPreset: validSessionReverbPreset(
      point.reverbPreset,
      reverbPresetAtTimelineFrequencyKeyframes(curves.frequency, point.time, reverbPreset)
    ),
    audioMode: validSessionAudioMode(
      point.audioMode,
      audioModeAtTimelineFrequencyKeyframes(curves.frequency, point.time, audioMode)
    ),
    audioPulseShape: validSessionPulseShape(
      point.audioPulseShape ?? point.pulseShape,
      audioPulseShapeAtTimelineFrequencyKeyframes(curves.frequency, point.time, pulseShape)
    ),
    pulseShape: validSessionPulseShape(
      point.pulseShape,
      pulseShapeAtTimelineFrequencyKeyframes(curves.frequency, point.time, pulseShape)
    )
  }));
  return {
    version: SESSION_TIMELINE_VERSION,
    durationSeconds,
    pulseShape,
    audioMode,
    musicMood,
    noiseType,
    reverbPreset,
    ganzfeldMode: false,
    auroraMode: "off",
    auroraSpeed: 0.25,
    auroraDepth: 45,
    markers: normalizeTimelineMarkers(rawTimeline?.markers, durationSeconds),
    curves
  };
}

function timelineMusicMoods(timeline) {
  const moods = (timeline?.curves?.audioFrequency || timeline?.curves?.frequency || [])
    .map((point) => point.musicMood)
    .filter((mood) => MUSIC_LIBRARY_CATEGORIES.includes(mood));
  const fallbackMood = MUSIC_LIBRARY_CATEGORIES.includes(timeline?.musicMood)
    ? timeline.musicMood
    : "Ambient";
  return [...new Set([fallbackMood, ...moods])];
}

function isTimelineProgram(program) {
  return program?.sessionStructure === "timeline" && program.timeline?.curves;
}

const BUILT_IN_SESSION_IDS = new Set(Object.keys(sessionPrograms));
const sessionProgramCache = {
  availableEntries: null,
  visibleQuery: null,
  visibleEntries: null,
  indexQuery: null,
  index: null,
  haystackLanguage: "",
  haystacks: new WeakMap()
};

function invalidateSessionProgramCache() {
  sessionProgramCache.availableEntries = null;
  sessionProgramCache.visibleQuery = null;
  sessionProgramCache.visibleEntries = null;
  sessionProgramCache.indexQuery = null;
  sessionProgramCache.index = null;
  sessionProgramCache.haystackLanguage = "";
  sessionProgramCache.haystacks = new WeakMap();
}

function normalizeSharedSession(input, preferredId = null, options = {}) {
  const source = input?.format === USER_SESSION_FILE_FORMAT ? input.session : input;
  if (!source || typeof source !== "object") throw new Error("invalid");
  const guided = sourceIsGuidedSession(source);
  if (guided && !options.allowGuided) throw new Error("guided");

  const title = cleanSessionText(source.title, 80);
  const goal = cleanSessionText(source.goal, 300);
  const category = guided
    ? GUIDED_SESSION_CATEGORY_ID
    : editableSessionCategories().some((item) => item.id === source.category)
    ? source.category
    : "herstel-welzijn";
  const subcategory = validSessionSubcategory(category, source.subcategory);
  if (!title || !goal || !source.timeline?.curves) {
    throw new Error("invalid");
  }
  const timeline = normalizeSessionTimeline(source);
  if (!guided) normalizeSessionLightCurves({ category, subcategory, timeline });
  const guidedVoice = guided ? normalizeGuidedVoice(source) : null;
  if (guided && !guidedVoice.segments.length) throw new Error("guided_voice");
  const marketplaceListingId = cleanSessionText(
    source.marketplaceListingId
    || source["Neural Exchange™ListingId"]
    || source.marketplaceId
    || source.listingId,
    80
  );

  return {
    id: preferredId || createUserSessionId(),
    title,
    titleEn: cleanSessionText(source.titleEn, 80),
    category,
    subcategory,
    goal,
    goalEn: cleanSessionText(source.goalEn, 300),
    durationSeconds: timeline.durationSeconds,
    audioMode: "isochronic",
    carrier: boundedSessionNumber(source.carrier, 100, 1200, 528),
    musicCrossfadeSeconds: boundedSessionNumber(source.musicCrossfadeSeconds, 0, 60, 10),
    colorCrossfadeSeconds: boundedSessionNumber(source.colorCrossfadeSeconds, 0, 120, 45),
    audioFadeInSeconds: 10,
    sessionStructure: "timeline",
    timeline,
    allowedMusicMoods: timelineMusicMoods(timeline),
    userSession: true,
    marketplaceListingId,
    ...(guided ? {
      sessionType: "guided",
      guidedSession: true,
      locked: true,
      publisher: "NeuroSync",
      guidedVoice,
      voiceScript: guidedVoice.segments,
      license: {
        ...(source.license && typeof source.license === "object" ? source.license : {}),
        source: "neural-exchange",
        purchaserOnly: true,
        allowExport: false,
        allowDuplicate: false,
        allowEdit: false,
        allowResale: false,
        guided: true
      },
      rights: {
        allowExport: false,
        allowDuplicate: false,
        allowEdit: false,
        allowPublish: false,
        neuroSyncOnly: true
      }
    } : {})
  };
}

function shareableSessionFromProgram(program) {
  if (program?.lazyGeneratedSession) program = hydrateSessionProgram(program.id);
  if (!isTimelineProgram(program)) throw new Error("invalid");
  const session = {
    title: program.title,
    titleEn: program.titleEn || "",
    category: program.category,
    subcategory: validSessionSubcategory(program.category, program.subcategory),
    goal: program.goal,
    goalEn: program.goalEn || "",
    marketplaceListingId: programMarketplaceListingId(program),
    carrier: program.carrier,
    musicCrossfadeSeconds: program.musicCrossfadeSeconds ?? 10,
    colorCrossfadeSeconds: program.colorCrossfadeSeconds ?? 45,
    sessionStructure: "timeline",
    timeline: program.timeline
  };
  if (programIsGuidedSession(program)) {
    session.sessionType = "guided";
    session.guidedSession = true;
    session.guidedVoice = program.guidedVoice || normalizeGuidedVoice(program);
    session.voiceScript = session.guidedVoice.segments;
    session.license = {
      ...(program.license && typeof program.license === "object" ? program.license : {}),
      source: "neural-exchange",
      purchaserOnly: true,
      allowExport: false,
      allowDuplicate: false,
      allowEdit: false,
      allowResale: false,
      guided: true
    };
    session.rights = {
      allowExport: false,
      allowDuplicate: false,
      allowEdit: false,
      allowPublish: false,
      neuroSyncOnly: true
    };
  }
  return session;
}

function saveUserSessions() {
  const records = Object.entries(sessionPrograms)
    .filter(([, program]) => program.userSession)
    .map(([id, program]) => ({ id, session: shareableSessionFromProgram(program) }));
  localStorage.setItem(USER_SESSIONS_STORAGE_KEY, JSON.stringify(records));
  invalidateSessionProgramCache();
}

function loadUserSessions() {
  invalidateSessionProgramCache();
  let records = [];
  try {
    records = JSON.parse(localStorage.getItem(USER_SESSIONS_STORAGE_KEY) || "[]");
  } catch {
    records = [];
  }
  if (!Array.isArray(records)) return;
  let repairedLegacyTerminology = false;
  records.slice(0, MAX_USER_SESSIONS).forEach((record) => {
    try {
      const id = String(record?.id || "");
      if (!id.startsWith("user-") || BUILT_IN_SESSION_IDS.has(id)) return;
      repairedLegacyTerminology ||= /\b(mysogynie|misogynie|mysogyny|misogyny)\b/i.test(JSON.stringify(record.session || {}));
      sessionPrograms[id] = normalizeSharedSession(record.session, id, {
        allowGuided: sourceIsGuidedSession(record.session)
          && Boolean(programMarketplaceListingId(record.session))
          && record.session?.license?.source === "neural-exchange"
      });
    } catch {
      // Invalid legacy or manually edited records are ignored.
    }
  });
  if (repairedLegacyTerminology) saveUserSessions();
}

function syncInstalledGuidedSessionsFromCatalog(items = []) {
  if (!Array.isArray(items) || !items.length) return false;
  let changed = false;
  Object.entries(sessionPrograms).forEach(([id, program]) => {
    if (!program?.userSession || !programIsGuidedSession(program)) return;
    const listingId = programMarketplaceListingId(program);
    if (!listingId) return;
    const item = items.find((entry) => entry.id === listingId);
    if (!item?.session || !marketplaceItemIsNeuroSyncGuidedSession(item)) return;
    try {
      const previous = JSON.stringify(program.guidedVoice || program.voiceScript || null);
      const nextProgram = normalizeSharedSession({ ...item.session, marketplaceListingId: item.id }, id, {
        allowGuided: true
      });
      const next = JSON.stringify(nextProgram.guidedVoice || nextProgram.voiceScript || null);
      if (previous !== next) {
        sessionPrograms[id] = nextProgram;
        changed = true;
      }
    } catch {
      // Keep the installed session unchanged if a catalog entry is malformed.
    }
  });
  if (changed) {
    saveUserSessions();
    if (sessionPrograms[state.sessionProgramId]) renderSessionProgram();
  }
  return changed;
}

async function refreshGuidedSessionFromMarketplaceBeforeStart(programId) {
  const program = sessionPrograms[programId];
  if (!HAS_MARKETPLACE || !program?.userSession || !programIsGuidedSession(program)) return;
  if (!programMarketplaceListingId(program)) return;
  await loadMarketplaceCatalog(false, { silent: true });
}

function updateSessionLibraryControls() {
  const program = sessionPrograms[els.sessionSelect.value];
  const editable = programAllowsEdit(program) && !state.sessionRunning;
  const duplicable = programAllowsDuplicate(program) && !state.sessionRunning;
  const exportable = programAllowsExport(program) && !state.sessionRunning;
  els.sessionLibraryActions.hidden = !HAS_SESSION_MANAGEMENT && !HAS_MARKETPLACE;
  els.sessionNewButton.hidden = !HAS_SESSION_MANAGEMENT || !HAS_SESSION_COMPOSER;
  els.sessionDuplicateButton.hidden = !HAS_SESSION_MANAGEMENT || !HAS_SESSION_COMPOSER;
  els.sessionEditButton.hidden = !HAS_SESSION_MANAGEMENT || !HAS_SESSION_COMPOSER;
  els.sessionShareButton.hidden = !CAN_EXPORT_SESSIONS;
  els.sessionImportButton.hidden = !CAN_IMPORT_SESSIONS;
  els.sessionMarketplaceButton.hidden = !HAS_MARKETPLACE;
  if (els.sessionAskAiButton) els.sessionAskAiButton.hidden = false;
  updateSessionDescriptionButtonVisibility();
  if (els.sessionDeleteButton) els.sessionDeleteButton.hidden = true;
  if (els.sessionInlineDeleteButton) {
    const showInlineDelete = HAS_SESSION_MANAGEMENT && Boolean(program?.userSession);
    els.sessionInlineDeleteButton.hidden = !showInlineDelete;
    els.sessionInlineDeleteButton.disabled = !showInlineDelete || state.sessionRunning;
    els.sessionInlineDeleteButton.title = state.sessionRunning
      ? userSessionText("Stop the active session first", "Stop eerst de actieve sessie")
      : programIsMarketplaceSession(program)
        ? userSessionText("Remove Neural Exchange™ session", "Neural Exchange™ sessie verwijderen")
        : userSessionText("Remove custom session", "Eigen sessie verwijderen");
    const sessionTitle = program ? localizedProgramTitle(program) : userSessionText("session", "Sessie");
    els.sessionInlineDeleteButton.setAttribute(
      "aria-label",
      userSessionText(`Remove ${sessionTitle}`, `${sessionTitle} verwijderen`)
    );
  }
  els.sessionNewButton.disabled = !HAS_SESSION_MANAGEMENT || !HAS_SESSION_COMPOSER || state.sessionRunning;
  els.sessionDuplicateButton.disabled = !HAS_SESSION_MANAGEMENT || !HAS_SESSION_COMPOSER || !program || !duplicable;
  els.sessionEditButton.disabled = !HAS_SESSION_MANAGEMENT || !HAS_SESSION_COMPOSER || !editable;
  els.sessionShareButton.disabled = !CAN_EXPORT_SESSIONS || !exportable;
  els.sessionImportButton.disabled = !CAN_IMPORT_SESSIONS || state.sessionRunning;
  els.sessionMarketplaceButton.disabled = !HAS_MARKETPLACE || state.sessionRunning;
  if (els.sessionAskAiButton) els.sessionAskAiButton.disabled = state.sessionRunning;
  if (els.sessionDescriptionButton && state.sessionRunning) els.sessionDescriptionButton.disabled = true;
  els.marketplacePublishButton.hidden = !CAN_PUBLISH_MARKETPLACE;
  if (els.sessionDeleteButton) els.sessionDeleteButton.disabled = true;
  if (HAS_SESSION_MANAGEMENT) {
    const count = Object.values(sessionPrograms).filter((item) => item.userSession).length;
    els.sessionLibraryStatus.value = userSessionText(
      `${count} custom session${count === 1 ? "" : "s"}`,
      `${count} eigen sessie${count === 1 ? "" : "s"}`
    );
  } else {
    els.sessionLibraryStatus.value = "";
  }
}

function hasAnalysisData() {
  if (!HAS_MUSE) return false;
  return state.sessionEegSamples.length >= MIN_ANALYSIS_SAMPLES;
}

function setAnalysisVisible(visible, persist = true) {
  state.analysisVisible = HAS_MUSE && Boolean(visible);
  if (els.analysisVisible) els.analysisVisible.checked = state.analysisVisible;
  if (els.sessionAnalysisActions) els.sessionAnalysisActions.hidden = !state.analysisVisible;
  if (persist && els.analysisVisible) {
    localStorage.setItem(ANALYSIS_VISIBLE_STORAGE_KEY, state.analysisVisible ? "1" : "0");
  }
}

function restoreAnalysisVisibility() {
  if (!HAS_MUSE) {
    setAnalysisVisible(false, false);
    return;
  }
  setAnalysisVisible(false, false);
}

function analysisInstallationId() {
  let id = window.neuroSyncLicenseContext?.deviceId || localStorage.getItem(ANALYSIS_INSTALLATION_STORAGE_KEY) || "";
  if (!id) {
    id = globalThis.crypto?.randomUUID ? globalThis.crypto.randomUUID() : `install-${Date.now()}-${Math.random().toString(36).slice(2)}`;
    localStorage.setItem(ANALYSIS_INSTALLATION_STORAGE_KEY, id);
  }
  return id;
}

function analysisLicenseKey() {
  return String(window.neuroSyncLicenseContext?.licenseKey || "").trim().toUpperCase();
}

function formatAffiliateCurrency(value) {
  const amount = Number(value);
  if (!Number.isFinite(amount)) return "-";
  return new Intl.NumberFormat(currentLanguage === "nl" ? "nl-NL" : "en-US", {
    style: "currency",
    currency: "EUR"
  }).format(amount);
}

function updateAffiliateDisplay(profile = state.affiliateProfile) {
  const hasProfile = Boolean(profile?.affiliate_link);
  if (els.affiliateLinkInput) {
    els.affiliateLinkInput.value = hasProfile ? profile.affiliate_link : "";
  }
  if (els.affiliateCopyButton) {
    els.affiliateCopyButton.disabled = !hasProfile;
  }
  if (els.affiliateCodeValue) {
    els.affiliateCodeValue.textContent = profile?.affiliate_code || "-";
  }
  if (els.affiliateApprovedValue) {
    const approvedText = formatAffiliateCurrency(profile?.approved_commission);
    els.affiliateApprovedValue.textContent = profile?.payable ? `${approvedText} · ${t("affiliatePayable")}` : approvedText;
  }
  if (els.affiliatePaidValue) {
    els.affiliatePaidValue.textContent = formatAffiliateCurrency(profile?.paid_commission);
  }
  if (els.affiliateMinimumValue) {
    els.affiliateMinimumValue.textContent = formatAffiliateCurrency(profile?.minimum_payout);
  }
}

function restoreAffiliateEmail() {
  if (els.affiliateEmailInput) {
    els.affiliateEmailInput.value = localStorage.getItem(AFFILIATE_EMAIL_STORAGE_KEY) || "";
  }
}

function setAffiliatePanelOpen(isOpen, persist = true) {
  if (els.affiliateSettingsBody) {
    els.affiliateSettingsBody.hidden = !isOpen;
  }
  if (els.affiliateToggleButton) {
    els.affiliateToggleButton.setAttribute("aria-expanded", isOpen ? "true" : "false");
    const icon = els.affiliateToggleButton.querySelector(".affiliate-toggle-icon");
    if (icon) icon.textContent = isOpen ? "-" : "+";
  }
  if (persist) {
    localStorage.setItem(AFFILIATE_PANEL_OPEN_STORAGE_KEY, isOpen ? "1" : "0");
  }
}

function restoreAffiliatePanelState() {
  setAffiliatePanelOpen(localStorage.getItem(AFFILIATE_PANEL_OPEN_STORAGE_KEY) === "1", false);
}

async function loadAffiliateProfile() {
  if (!AFFILIATE_PROFILE_API_URL || !els.affiliateStatus) return;
  const affiliateEmail = String(
    els.affiliateEmailInput?.value || localStorage.getItem(AFFILIATE_EMAIL_STORAGE_KEY) || ""
  ).trim();

  if (!affiliateEmail || !affiliateEmail.includes("@")) {
    els.affiliateStatus.textContent = currentLanguage === "en"
      ? "Enter your affiliate email address."
      : "Vul je affiliate e-mailadres in.";
    return;
  }

  els.affiliateStatus.textContent = t("affiliateLoading");
  if (els.affiliateLoadButton) els.affiliateLoadButton.disabled = true;

  try {
    const url = new URL(AFFILIATE_PROFILE_API_URL, window.location.href);
    url.searchParams.set("email", affiliateEmail);
    localStorage.setItem(AFFILIATE_EMAIL_STORAGE_KEY, affiliateEmail);
    const response = await fetch(url.toString(), { cache: "no-store" });
    const data = await response.json().catch(() => ({}));

    if (!response.ok || !data.affiliate_link) {
      throw new Error(data.message || "affiliate profile unavailable");
    }

    state.affiliateProfile = data;
    updateAffiliateDisplay(data);
    els.affiliateStatus.textContent = t("affiliateReady");
  } catch (error) {
    const detail = error?.message ? ` (${error.message})` : "";
    els.affiliateStatus.textContent = `${t("affiliateLoadFailed")}${detail}`;
  } finally {
    if (els.affiliateLoadButton) els.affiliateLoadButton.disabled = false;
  }
}

async function copyAffiliateLink() {
  const link = state.affiliateProfile?.affiliate_link || els.affiliateLinkInput?.value || "";
  if (!link) return;

  try {
    await navigator.clipboard.writeText(link);
    if (els.affiliateStatus) els.affiliateStatus.textContent = t("affiliateLinkCopied");
  } catch {
    window.prompt(t("affiliateCopyFallback"), link);
  }
}

let affiliateEmailLoadTimer = 0;
function scheduleAffiliateEmailLoad() {
  const affiliateEmail = String(els.affiliateEmailInput?.value || "").trim();
  if (els.affiliateEmailInput) {
    localStorage.setItem(AFFILIATE_EMAIL_STORAGE_KEY, affiliateEmail);
  }
  if (!affiliateEmail || !affiliateEmail.includes("@")) {
    return;
  }
  window.clearTimeout(affiliateEmailLoadTimer);
  affiliateEmailLoadTimer = window.setTimeout(() => void loadAffiliateProfile(), 600);
}

els.affiliateEmailInput?.addEventListener("input", scheduleAffiliateEmailLoad);
els.affiliateEmailInput?.addEventListener("change", scheduleAffiliateEmailLoad);
els.affiliateEmailInput?.addEventListener("keydown", (event) => {
  if (event.key === "Enter") {
    event.preventDefault();
    void loadAffiliateProfile();
  }
});
els.affiliateLoadButton?.addEventListener("click", () => void loadAffiliateProfile());
els.affiliateCopyButton?.addEventListener("click", () => void copyAffiliateLink());
els.affiliateToggleButton?.addEventListener("click", () => {
  const isOpen = els.affiliateToggleButton?.getAttribute("aria-expanded") === "true";
  setAffiliatePanelOpen(!isOpen);
});

function analysisCreditsEnabled() {
  return Boolean(ANALYSIS_CREDITS_API_URL);
}

function updateAnalysisCreditControls() {
  if (els.analysisBuyCreditsButton) {
    els.analysisBuyCreditsButton.hidden = !HAS_MUSE || !ANALYSIS_CREDITS_PURCHASE_URL;
  }
  if (!els.analysisCreditsStatus) return;
  if (!HAS_MUSE || !analysisCreditsEnabled()) {
    els.analysisCreditsStatus.hidden = true;
    return;
  }
  els.analysisCreditsStatus.hidden = false;
  if (state.analysisCreditsStatusOverride) {
    els.analysisCreditsStatus.value = state.analysisCreditsStatusOverride;
  } else if (state.analysisCreditsLoading) {
    els.analysisCreditsStatus.value = t("analysisCreditsLoading");
  } else if (Number.isFinite(state.analysisCredits)) {
    els.analysisCreditsStatus.value = tf("analysisCreditsStatus", { credits: state.analysisCredits });
  } else {
    els.analysisCreditsStatus.value = t("analysisCreditsUnavailable");
  }
}

function updateAnalysisControls() {
  if (!els.sessionAnalysisButton || !els.sessionAnalysisStatus) return;
  if (!HAS_MUSE) {
    if (els.sessionAnalysisActions) els.sessionAnalysisActions.hidden = true;
    updateAnalysisCreditControls();
    return;
  }
  if (els.sessionAnalysisActions) els.sessionAnalysisActions.hidden = !state.analysisVisible;
  const hasReport = Boolean(state.sessionAnalysisReportHtml);
  const hasData = hasAnalysisData();
  const canRequestAnalysis = hasData && state.sessionEnded && !state.sessionRunning;
  const hasCredits = !analysisCreditsEnabled() || (Number.isFinite(state.analysisCredits) && state.analysisCredits > 0);
  els.sessionAnalysisButton.textContent = hasReport ? t("showAnalysisReport") : t("makeAnalysis");
  els.sessionAnalysisButton.disabled = (!hasReport && (!canRequestAnalysis || !hasCredits)) || Boolean(state.sessionAnalysisPollTimer);
  els.sessionAnalysisStatus.value = state.sessionAnalysisStatusOverride
    ? state.sessionAnalysisStatusOverride
    : hasReport
    ? t("analysisReady")
    : canRequestAnalysis && !hasCredits
    ? t("analysisCreditsRequired")
    : hasData && !state.sessionEnded
    ? t("analysisWaitForEnd")
    : canRequestAnalysis
    ? t("analysisReady")
    : state.sessionRunning
      ? t("analysisCollecting")
      : t("analysisUnavailable");
  updateAnalysisCreditControls();
}

async function postAnalysisCredits(path, payload = {}) {
  if (!ANALYSIS_CREDITS_API_URL) throw new Error("credits_not_configured");
  const response = await fetch(`${ANALYSIS_CREDITS_API_URL}/${path}`, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      licenseKey: analysisLicenseKey(),
      installationId: analysisInstallationId(),
      product: PRODUCT.edition || "audio-light",
      ...payload
    })
  });
  const result = await response.json().catch(() => ({}));
  if (!response.ok || result.ok !== true) {
    const error = new Error(result.message || "credits_request_failed");
    error.code = result.code || "";
    error.result = result;
    throw error;
  }
  return result;
}

async function refreshAnalysisCredits() {
  if (!analysisCreditsEnabled()) {
    updateAnalysisControls();
    return;
  }
  if (!analysisLicenseKey()) {
    state.analysisCredits = null;
    state.analysisCreditsStatusOverride = t("analysisCreditsNoLicense");
    updateAnalysisControls();
    return;
  }
  try {
    state.analysisCreditsLoading = true;
    state.analysisCreditsStatusOverride = "";
    updateAnalysisCreditControls();
    const result = await postAnalysisCredits("balance");
    state.analysisCredits = Number(result.credits);
    state.analysisCreditsStatusOverride = "";
  } catch {
    state.analysisCredits = null;
    state.analysisCreditsStatusOverride = t("analysisCreditsRefreshFailed");
  } finally {
    state.analysisCreditsLoading = false;
    updateAnalysisControls();
  }
}

async function consumeAnalysisCredit(analysisId) {
  if (!analysisCreditsEnabled()) return true;
  if (!analysisLicenseKey()) {
    state.sessionAnalysisStatusOverride = t("analysisCreditsNoLicense");
    updateAnalysisControls();
    return false;
  }
  try {
    const result = await postAnalysisCredits("use", {
      analysisId,
      amount: 1,
      reason: "analysis"
    });
    state.analysisCredits = Number(result.credits);
    state.analysisCreditsStatusOverride = "";
    updateAnalysisControls();
    return true;
  } catch (error) {
    state.sessionAnalysisStatusOverride = error?.code === "insufficient_credits"
      ? t("analysisCreditsRequired")
      : t("analysisCreditsRefreshFailed");
    await refreshAnalysisCredits();
    updateAnalysisControls();
    return false;
  }
}

async function refundAnalysisCredit(analysisId) {
  if (!analysisCreditsEnabled() || !analysisLicenseKey() || !analysisId) return;
  try {
    const result = await postAnalysisCredits("refund", {
      analysisId,
      amount: 1,
      reason: "analysis_failed"
    });
    state.analysisCredits = Number(result.credits);
    state.analysisCreditsStatusOverride = "";
  } catch {
    // Failed refunds can be reconciled from the transaction log in the backend.
  }
  updateAnalysisControls();
}

function openAnalysisCreditsPurchase() {
  if (!ANALYSIS_CREDITS_PURCHASE_URL) return;
  const url = new URL(ANALYSIS_CREDITS_PURCHASE_URL, window.location.href);
  const licenseKey = analysisLicenseKey();
  if (licenseKey) url.searchParams.set("license_key", licenseKey);
  url.searchParams.set("installation_id", analysisInstallationId());
  window.open(url.toString(), "_blank", "noopener,noreferrer");
}

function averageValue(items, key) {
  const values = items.map((item) => Number(item[key])).filter(Number.isFinite);
  if (!values.length) return null;
  return Number((values.reduce((sum, value) => sum + value, 0) / values.length).toFixed(2));
}

function minMaxValue(items, key) {
  const values = items.map((item) => Number(item[key])).filter(Number.isFinite);
  if (!values.length) return null;
  return {
    min: Number(Math.min(...values).toFixed(2)),
    max: Number(Math.max(...values).toFixed(2))
  };
}

function countBy(items, key) {
  return items.reduce((result, item) => {
    const value = item[key] || "unknown";
    result[value] = (result[value] || 0) + 1;
    return result;
  }, {});
}

function summarizeSamples(samples) {
  const thirds = [
    { id: "begin", items: [] },
    { id: "middle", items: [] },
    { id: "end", items: [] }
  ];
  samples.forEach((sample, index) => {
    const bucket = Math.min(2, Math.floor((index / Math.max(samples.length, 1)) * 3));
    thirds[bucket].items.push(sample);
  });

  return {
    samples: samples.length,
    averages: {
      signal: averageValue(samples, "signal"),
      calm: averageValue(samples, "calm"),
      focus: averageValue(samples, "focus"),
      artifacts: averageValue(samples, "artifacts"),
      latencyMs: averageValue(samples, "latency"),
      heartRate: averageValue(samples, "heartRate"),
      breathingRate: averageValue(samples, "breathingRate"),
      lightHz: averageValue(samples, "lightHz"),
      audioHz: averageValue(samples, "audioHz"),
      rgbIntensity: averageValue(samples, "rgbIntensity"),
      whiteIntensity: averageValue(samples, "whiteIntensity")
    },
    ranges: {
      signal: minMaxValue(samples, "signal"),
      calm: minMaxValue(samples, "calm"),
      focus: minMaxValue(samples, "focus"),
      artifacts: minMaxValue(samples, "artifacts"),
      heartRate: minMaxValue(samples, "heartRate"),
      breathingRate: minMaxValue(samples, "breathingRate"),
      rgbIntensity: minMaxValue(samples, "rgbIntensity"),
      whiteIntensity: minMaxValue(samples, "whiteIntensity")
    },
    dominantStates: countBy(samples, "stateId"),
    thirds: thirds.map((bucket) => ({
      id: bucket.id,
      samples: bucket.items.length,
      signalAvg: averageValue(bucket.items, "signal"),
      calmAvg: averageValue(bucket.items, "calm"),
      focusAvg: averageValue(bucket.items, "focus"),
      artifactsAvg: averageValue(bucket.items, "artifacts"),
      rgbIntensityAvg: averageValue(bucket.items, "rgbIntensity"),
      whiteIntensityAvg: averageValue(bucket.items, "whiteIntensity"),
      heartRateAvg: averageValue(bucket.items, "heartRate"),
      breathingRateAvg: averageValue(bucket.items, "breathingRate"),
      dominantStates: countBy(bucket.items, "stateId")
    }))
  };
}

function plannedSessionPhases(program) {
  if (!program) return [];
  if (!isTimelineProgram(program)) return [];
  const markers = normalizeTimelineMarkers(program.timeline.markers, program.durationSeconds);
  return markers.map((marker, index) => ({
    index,
    id: `phase-${index + 1}`,
    name: localizedTimelineMarkerName(marker, index),
    label: `T${index + 1}`,
    startSecond: marker.time,
    endSecond: markers[index + 1]?.time ?? program.durationSeconds,
    purpose: localizedTimelineMarkerPurpose(program, marker),
    structure: "timeline-marker"
  }));
}

function plannedSessionRunPhases(plan = state.sessionRunPlan) {
  if (!plan?.segments?.length) {
    const program = sessionPrograms[state.sessionProgramId] || sessionPrograms[els.sessionSelect.value];
    return plannedSessionPhases(program);
  }
  let offset = 0;
  return plan.segments.flatMap((segment, segmentIndex) => {
    const program = sessionPrograms[segment.programId];
    const phases = plannedSessionPhases(program).map((phase) => ({
      ...phase,
      id: `segment-${segmentIndex + 1}-${phase.id}`,
      segmentIndex,
      segmentType: segment.type,
      segmentProgramId: segment.programId,
      segmentTitle: localizedProgramTitle(program),
      name: `${sessionRunSegmentLabel(segment, segmentIndex)} - ${phase.name}`,
      startSecond: offset + phase.startSecond,
      endSecond: offset + phase.endSecond,
      segmentStartSecond: phase.startSecond,
      segmentEndSecond: phase.endSecond
    }));
    offset += program?.durationSeconds || 0;
    return phases;
  });
}

function samplesInPhaseWindow(samples, phase, isLast = false) {
  return samples.filter((sample) => {
    const elapsed = Number(sample.elapsedSeconds);
    if (!Number.isFinite(elapsed)) return false;
    return elapsed >= phase.startSecond && (elapsed < phase.endSecond || (isLast && elapsed <= phase.endSecond));
  });
}

function summarizeSamplesByPhase(samples, program = null, phases = null) {
  const plannedPhases = phases || plannedSessionPhases(program);
  if (plannedPhases.length) {
    return plannedPhases.map((phase, index) => {
      const items = samplesInPhaseWindow(samples, phase, index === plannedPhases.length - 1);
      return {
        phase: phase.name,
        phaseIndex: phase.index,
        phaseLabel: phase.label,
        phasePurpose: phase.purpose,
        segmentIndex: phase.segmentIndex ?? null,
        segmentType: phase.segmentType || null,
        segmentProgramId: phase.segmentProgramId || null,
        segmentTitle: phase.segmentTitle || null,
        plannedStartSecond: phase.startSecond,
        plannedEndSecond: phase.endSecond,
        plannedSegmentStartSecond: phase.segmentStartSecond ?? phase.startSecond,
        plannedSegmentEndSecond: phase.segmentEndSecond ?? phase.endSecond,
        samples: items.length,
        startSecond: items[0]?.elapsedSeconds ?? phase.startSecond,
        endSecond: items[items.length - 1]?.elapsedSeconds ?? phase.endSecond,
        signalAvg: averageValue(items, "signal"),
        calmAvg: averageValue(items, "calm"),
        focusAvg: averageValue(items, "focus"),
        artifactsAvg: averageValue(items, "artifacts"),
        rgbIntensityAvg: averageValue(items, "rgbIntensity"),
        whiteIntensityAvg: averageValue(items, "whiteIntensity"),
        latencyAvg: averageValue(items, "latency"),
        heartRateAvg: averageValue(items, "heartRate"),
        breathingRateAvg: averageValue(items, "breathingRate"),
        dominantStates: countBy(items, "stateId")
      };
    });
  }

  const phaseMap = new Map();
  samples.forEach((sample) => {
    const key = sample.phase || "Unknown";
    if (!phaseMap.has(key)) phaseMap.set(key, []);
    phaseMap.get(key).push(sample);
  });
  return [...phaseMap.entries()].map(([phase, items]) => ({
    phase,
    samples: items.length,
    startSecond: items[0]?.elapsedSeconds ?? 0,
    endSecond: items[items.length - 1]?.elapsedSeconds ?? 0,
    signalAvg: averageValue(items, "signal"),
    calmAvg: averageValue(items, "calm"),
    focusAvg: averageValue(items, "focus"),
    artifactsAvg: averageValue(items, "artifacts"),
    rgbIntensityAvg: averageValue(items, "rgbIntensity"),
    whiteIntensityAvg: averageValue(items, "whiteIntensity"),
    latencyAvg: averageValue(items, "latency"),
    heartRateAvg: averageValue(items, "heartRate"),
    breathingRateAvg: averageValue(items, "breathingRate"),
    dominantStates: countBy(items, "stateId")
  }));
}

function frequencyFollowingSamples(samples) {
  return samples.filter((sample) => (
    Number.isFinite(Number(sample.targetFrequencyHz))
      && Number.isFinite(Number(sample.dominantEegFrequencyHz))
      && Number.isFinite(Number(sample.frequencyDeviationHz))
  ));
}

function summarizeFrequencyFollowing(samples) {
  const items = frequencyFollowingSamples(samples);
  const followed = items.filter((sample) => sample.followsTargetFrequency === true).length;
  return {
    samples: items.length,
    available: items.length > 0,
    targetFrequencyAvgHz: averageValue(items, "targetFrequencyHz"),
    dominantEegFrequencyAvgHz: averageValue(items, "dominantEegFrequencyHz"),
    frequencyDeviationAvgHz: averageValue(items, "frequencyDeviationHz"),
    targetPowerAvg: averageValue(items, "targetFrequencyPower"),
    dominantPowerAvg: averageValue(items, "dominantEegPower"),
    followingPercentage: items.length ? Math.round((followed / items.length) * 100) : null,
    toleranceAvgHz: averageValue(items, "targetToleranceHz")
  };
}

function summarizeFrequencyFollowingByPhase(samples, program = null, phases = null) {
  const followingSamples = frequencyFollowingSamples(samples);
  const plannedPhases = phases || plannedSessionPhases(program);
  if (plannedPhases.length) {
    return plannedPhases.map((phase, index) => {
      const items = samplesInPhaseWindow(followingSamples, phase, index === plannedPhases.length - 1);
      const followed = items.filter((sample) => sample.followsTargetFrequency === true).length;
      return {
        phase: phase.name,
        phaseIndex: phase.index,
        phaseLabel: phase.label,
        segmentIndex: phase.segmentIndex ?? null,
        segmentType: phase.segmentType || null,
        segmentProgramId: phase.segmentProgramId || null,
        segmentTitle: phase.segmentTitle || null,
        samples: items.length,
        startSecond: items[0]?.elapsedSeconds ?? phase.startSecond,
        endSecond: items[items.length - 1]?.elapsedSeconds ?? phase.endSecond,
        targetFrequencyAvgHz: averageValue(items, "targetFrequencyHz"),
        dominantEegFrequencyAvgHz: averageValue(items, "dominantEegFrequencyHz"),
        frequencyDeviationAvgHz: averageValue(items, "frequencyDeviationHz"),
        followingPercentage: items.length ? Math.round((followed / items.length) * 100) : null
      };
    });
  }

  const phaseMap = new Map();
  followingSamples.forEach((sample) => {
    const key = sample.phase || "Unknown";
    if (!phaseMap.has(key)) phaseMap.set(key, []);
    phaseMap.get(key).push(sample);
  });
  return [...phaseMap.entries()].map(([phase, items]) => {
    const followed = items.filter((sample) => sample.followsTargetFrequency === true).length;
    return {
      phase,
      samples: items.length,
      startSecond: items[0]?.elapsedSeconds ?? 0,
      endSecond: items[items.length - 1]?.elapsedSeconds ?? 0,
      targetFrequencyAvgHz: averageValue(items, "targetFrequencyHz"),
      dominantEegFrequencyAvgHz: averageValue(items, "dominantEegFrequencyHz"),
      frequencyDeviationAvgHz: averageValue(items, "frequencyDeviationHz"),
      followingPercentage: items.length ? Math.round((followed / items.length) * 100) : null
    };
  });
}

function downsampleItems(items, maxItems = 160) {
  if (items.length <= maxItems) return items;
  const step = items.length / maxItems;
  return Array.from({ length: maxItems }, (_, index) => items[Math.floor(index * step)]);
}

function frequencyFollowingChartData(samples) {
  return downsampleItems(frequencyFollowingSamples(samples)).map((sample) => ({
    elapsedSeconds: Number(sample.elapsedSeconds || 0),
    targetFrequencyHz: Number(sample.targetFrequencyHz),
    dominantEegFrequencyHz: Number(sample.dominantEegFrequencyHz),
    frequencyDeviationHz: Number(sample.frequencyDeviationHz),
    followsTargetFrequency: sample.followsTargetFrequency === true
  }));
}

function frequencyFollowingChartSvg(samples, program = null, phasesOverride = null) {
  const items = frequencyFollowingChartData(samples);
  if (items.length < 2) return "";
  const width = 720;
  const height = 260;
  const plot = { left: 54, right: 24, top: 22, bottom: 46 };
  const minTime = Math.min(...items.map((item) => item.elapsedSeconds));
  const maxTime = Math.max(...items.map((item) => item.elapsedSeconds), minTime + 1);
  const xForTime = (seconds) => plot.left + ((seconds - minTime) / (maxTime - minTime)) * (width - plot.left - plot.right);
  const yForFrequency = (frequency) => plot.top + ((40 - clamp(frequency, 1, 40)) / 39) * (height - plot.top - plot.bottom);
  const points = (key) => items
    .map((item) => `${xForTime(item.elapsedSeconds).toFixed(1)},${yForFrequency(item[key]).toFixed(1)}`)
    .join(" ");
  const label = currentLanguage === "nl"
    ? {
      title: "Frequentievolging tijdens de sessie",
      target: "Ingestelde frequentie",
      dominant: "Dominante EEG-frequentie",
      seconds: "tijd",
      hz: "Hz"
    }
    : {
      title: "Frequency following during the session",
      target: "Target frequency",
      dominant: "Dominant EEG frequency",
      seconds: "time",
      hz: "Hz"
    };
  const grid = [1, 4, 8, 13, 25, 40].map((frequency) => {
    const y = yForFrequency(frequency);
    return `<line x1="${plot.left}" y1="${y.toFixed(1)}" x2="${width - plot.right}" y2="${y.toFixed(1)}" stroke="#d7dde6" stroke-opacity="0.28" stroke-width="1"/><text x="8" y="${(y + 4).toFixed(1)}" fill="#364152" font-size="11">${frequency} ${label.hz}</text>`;
  }).join("");
  const phases = (phasesOverride || plannedSessionPhases(program))
    .filter((phase) => phase.endSecond > minTime && phase.startSecond < maxTime);
  const phaseBlocks = phases.map((phase, index) => {
    const startX = xForTime(clamp(phase.startSecond, minTime, maxTime));
    const endX = xForTime(clamp(phase.endSecond, minTime, maxTime));
    const blockWidth = Math.max(0, endX - startX);
    if (blockWidth <= 0) return "";
    const fill = index % 2 === 0 ? "#eef6ff" : "#f8fafc";
    const labelText = escapeHtml(phase.label || `F${index + 1}`);
    return `
      <rect x="${startX.toFixed(1)}" y="${plot.top}" width="${blockWidth.toFixed(1)}" height="${(height - plot.top - plot.bottom).toFixed(1)}" fill="${fill}" opacity="0.72"/>
      <line x1="${startX.toFixed(1)}" y1="${plot.top}" x2="${startX.toFixed(1)}" y2="${height - plot.bottom}" stroke="#94a3b8" stroke-opacity="0.36" stroke-width="1"/>
      <text x="${(startX + Math.min(8, Math.max(3, blockWidth / 2 - 7))).toFixed(1)}" y="${height - 28}" fill="#475569" font-size="10" font-weight="700">${labelText}</text>
    `;
  }).join("");
  return `
<figure class="frequency-following-chart">
  <figcaption><strong>${escapeHtml(label.title)}</strong></figcaption>
  <svg viewBox="0 0 ${width} ${height}" role="img" aria-label="${escapeHtml(label.title)}" xmlns="http://www.w3.org/2000/svg">
    <rect x="0" y="0" width="${width}" height="${height}" fill="#ffffff"/>
    ${phaseBlocks}
    ${grid}
    <line x1="${plot.left}" y1="${plot.top}" x2="${plot.left}" y2="${height - plot.bottom}" stroke="#6b7280" stroke-width="1"/>
    <line x1="${plot.left}" y1="${height - plot.bottom}" x2="${width - plot.right}" y2="${height - plot.bottom}" stroke="#6b7280" stroke-width="1"/>
    <polyline points="${points("targetFrequencyHz")}" fill="none" stroke="#2563eb" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
    <polyline points="${points("dominantEegFrequencyHz")}" fill="none" stroke="#16a34a" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
    <text x="${plot.left}" y="${height - 14}" fill="#364152" font-size="11">${escapeHtml(label.seconds)}</text>
    <circle cx="${width - 252}" cy="22" r="5" fill="#2563eb"/><text x="${width - 240}" y="26" fill="#1f2937" font-size="12">${escapeHtml(label.target)}</text>
    <circle cx="${width - 252}" cy="42" r="5" fill="#16a34a"/><text x="${width - 240}" y="46" fill="#1f2937" font-size="12">${escapeHtml(label.dominant)}</text>
  </svg>
</figure>`.trim();
}

function sessionAnalysisData() {
  const runPlan = state.sessionRunPlan || createSessionRunPlan(state.sessionRequestedProgramId || state.sessionProgramId || els.sessionSelect.value);
  const requestedProgramId = runPlan.requestedProgramId || state.sessionProgramId || els.sessionSelect.value;
  const program = sessionPrograms[requestedProgramId] || sessionPrograms[state.sessionProgramId] || sessionPrograms[els.sessionSelect.value];
  const baselineProgram = runPlan.baselineProgramId !== "none" ? sessionPrograms[runPlan.baselineProgramId] : null;
  const samples = state.sessionEegSamples.slice();
  const plannedPhases = plannedSessionRunPhases(runPlan);
  const followingSummary = summarizeFrequencyFollowing(samples);
  const rgbIntensityAvg = averageValue(samples, "rgbIntensity");
  const whiteIntensityAvg = averageValue(samples, "whiteIntensity");
  return {
    format: "neurosync-session-analysis-request",
    version: 1,
    language: currentLanguage,
    createdAt: new Date().toISOString(),
    product: PRODUCT.name,
    session: {
      id: requestedProgramId,
      title: program?.title || els.sessionTitle.textContent,
      category: program?.category || els.sessionCategory.value,
      subcategory: validSessionSubcategory(program?.category, program?.subcategory) || null,
      goal: program?.goal || els.sessionGoal.textContent,
      durationSeconds: program?.durationSeconds || null,
      elapsedSecondsMeasured: samples[samples.length - 1]?.elapsedSeconds ?? 0,
      musicCategory: els.sessionMusicCategory.textContent || null
    },
    runPlan: {
      requestedProgramId,
      requestedTitle: localizedProgramTitle(program),
      baselineProgramId: runPlan.baselineProgramId || "none",
      baselineTitle: baselineProgram ? localizedProgramTitle(baselineProgram) : null,
      totalDurationSeconds: runPlan.totalDurationSeconds || program?.durationSeconds || null,
      measuredDurationSeconds: samples[samples.length - 1]?.elapsedSeconds ?? 0,
      segments: (runPlan.segments || []).map((segment, index) => {
        const segmentProgram = sessionPrograms[segment.programId];
        const startSecond = (runPlan.segments || [])
          .slice(0, index)
          .reduce((total, item) => total + (sessionPrograms[item.programId]?.durationSeconds || 0), 0);
        return {
          index,
          type: segment.type,
          programId: segment.programId,
          title: localizedProgramTitle(segmentProgram),
          durationSeconds: segmentProgram?.durationSeconds || null,
          startSecond,
          endSecond: startSecond + (segmentProgram?.durationSeconds || 0)
        };
      })
    },
    settings: {
      outputEnabled: state.enabled,
      blackoutActive: state.blackoutActive,
      audioMode: els.audioMode.value,
      audioPulseShape: els.audioPulseShape.value,
      lightPulseShape: validSessionPulseShape(state.sessionRunning ? state.sessionPulseShape : els.audioPulseShape.value, "sine"),
      carrierFrequency: Number(els.carrierFrequency.value),
      masterVolume: Number(els.masterVolume.value),
      rgbIntensity: rgbIntensityAvg ?? Number(els.rgbIntensity.value),
      whiteIntensity: whiteIntensityAvg ?? Number(els.strobeIntensity.value),
      rgbIntensityRange: minMaxValue(samples, "rgbIntensity"),
      whiteIntensityRange: minMaxValue(samples, "whiteIntensity"),
      intensitySource: samples.length ? "measured-session-samples" : "current-controls-fallback",
      breathingCoachingEnabled: els.breathingGuideEnabled.checked,
      ganzfeldActive: state.ganzfeldActive
    },
    sessionPlan: {
      structure: runPlan.segments?.length > 1 ? "baseline-plus-session" : "timeline",
      phases: plannedPhases
    },
    summary: summarizeSamples(samples),
    phases: summarizeSamplesByPhase(samples, program, plannedPhases),
    frequencyFollowing: {
      summary: followingSummary,
      phases: summarizeFrequencyFollowingByPhase(samples, program, plannedPhases),
      chartData: frequencyFollowingChartData(samples),
      chartSvg: followingSummary.available ? frequencyFollowingChartSvg(samples, program, plannedPhases) : ""
    },
    adaptive: {
      enabled: samples.some((sample) => sample.adaptiveEnabled),
      goal: samples.find((sample) => sample.adaptiveGoal)?.adaptiveGoal || null,
      decisions: state.sessionAdaptiveDecisionLog.slice(),
      sampleCount: samples.filter((sample) => sample.adaptiveEnabled).length
    },
    samples: samples.map((sample) => ({
      elapsedSeconds: sample.elapsedSeconds,
      segmentElapsedSeconds: sample.segmentElapsedSeconds,
      segmentIndex: sample.segmentIndex,
      segmentType: sample.segmentType,
      segmentProgramId: sample.segmentProgramId,
      segmentTitle: sample.segmentTitle,
      phase: sample.phase,
      signal: sample.signal,
      sensorContact: sample.sensorContact,
      sensorContacts: sample.sensorContacts,
      opticalStatus: sample.opticalStatus,
      eegStability: sample.eegStability,
      calm: sample.calm,
      focus: sample.focus,
      stress: sample.stress,
      artifacts: sample.artifacts,
      latency: sample.latency,
      stateId: sample.stateId,
      stateLabel: sample.stateLabel,
      confidence: sample.confidence,
      heartRate: sample.heartRate,
      breathingRate: sample.breathingRate,
      lightHz: sample.lightHz,
      audioHz: sample.audioHz,
      lightPulseShape: sample.lightPulseShape,
      audioPulseShape: sample.audioPulseShape,
      rgbIntensity: sample.rgbIntensity,
      whiteIntensity: sample.whiteIntensity,
      brainwaveBand: sample.brainwaveBand,
      targetFrequencyHz: sample.targetFrequencyHz,
      dominantEegFrequencyHz: sample.dominantEegFrequencyHz,
      dominantEegPower: sample.dominantEegPower,
      targetFrequencyPower: sample.targetFrequencyPower,
      frequencyDeviationHz: sample.frequencyDeviationHz,
      targetToleranceHz: sample.targetToleranceHz,
      followsTargetFrequency: sample.followsTargetFrequency,
      entrainmentMatch: sample.entrainmentMatch,
      hemisphereBalance: sample.hemisphereBalance,
      leftActivity: sample.leftActivity,
      rightActivity: sample.rightActivity,
      hemisphereDifference: sample.hemisphereDifference,
      frequencyFollowingSource: sample.frequencyFollowingSource,
      adaptiveEnabled: sample.adaptiveEnabled,
      adaptiveGoal: sample.adaptiveGoal,
      adaptiveGoalSelection: sample.adaptiveGoalSelection,
      adaptiveAction: sample.adaptiveAction,
      adaptiveReason: sample.adaptiveReason,
      adaptiveLightScale: sample.adaptiveLightScale,
      adaptiveAudioScale: sample.adaptiveAudioScale,
      adaptiveFrequencyOffsetHz: sample.adaptiveFrequencyOffsetHz
    }))
  };
}

function professionalAnalysisPrompt(data) {
  const languageInstruction = data.language === "nl"
    ? "Schrijf het volledige rapport in het Nederlands."
    : "Write the full report in English.";
  return `Je bent een senior sessie-analist voor neurofeedback-achtige ontspannings-, hypnose-, coaching- en brainwave-entrainment sessies.

Maak een professionele en genuanceerde HTML-analyse van de onderstaande NeuroSync Pro sessiedata. Interpreteer de gemeten waarden in relatie tot het gevolgde sessieprogramma, de sessiefasen, audio/licht-instellingen, ademcoaching en het verloop van focus, relaxatie, recovery, cognitieve belasting, stress en mental fatigue.

Let op data.runPlan. Als er een baseline-segment voorafging aan de hoofdsessie, behandel die baseline als referentiemeting en de daaropvolgende sessie als interventie-/sessiegedeelte. Meng baselinewaarden niet kritiekloos met sessiewaarden: vergelijk waar zinvol baseline versus hoofdsessie, benoem verschillen voorzichtig en rapporteer de baseline als context voor interpretatie van de sessierespons.

Neem daarnaast expliciet de frequentievolging mee: vergelijk de ingestelde licht/audiofrequentie met de berekende dominante EEG-frequentie gedurende het sessieverloop. Gebruik hiervoor het JSON-blok frequencyFollowing. Als frequencyFollowing.chartSvg gevuld is, neem deze SVG-grafiek letterlijk op in het rapport binnen het onderdeel over respons op audio/licht en brainwave-entrainment. Interpreteer de grafiek voorzichtig: beschrijf of de dominante EEG-frequentie dichter naar de ingestelde frequentie beweegt, stabiel in dezelfde band blijft, juist afwijkt of onvoldoende betrouwbaar te interpreteren is.

Gebruik settings.audioPulseShape, settings.lightPulseShape en de audioPulseShape/lightPulseShape velden in samples om te beschrijven welke pulsvormen voor audio en licht actief waren. Als audio en licht verschillende pulsvormen gebruikten, benoem dat als ontwerpkeuze zonder daar harde neurofysiologische claims aan te verbinden.

Let op het veld frequencyFollowingSource in de samples. Als de bron "demo-simulated" is, benoem dan kort dat de frequentievolgingsgrafiek demo/simulatiegegevens bevat en niet als echte EEG-respons geïnterpreteerd mag worden. Als de bron "muse-bridge-fft" is, mag je spreken over indicatieve live Muse-FFT/PSD-metingen, met de genoemde beperkingen. Als de bron "muse-bridge-bandpower" is, komt de frequentievolging uit live Muse-bandpowerdata en is de frequentieresolutie grover dan bij raw FFT. Als de bron "muse-bridge-pending" is, was Muse live maar waren er nog onvoldoende EEG-samples voor betrouwbare frequentievolging.

Als data.adaptive.enabled true is, voeg dan een aparte sectie toe over adaptieve optimalisatie. Beschrijf het gekozen doel, welke beslissingen het systeem nam, wanneer licht/audio/frequentie subtiel werden aangepast, en waarom. Gebruik data.adaptive.decisions en de adaptive*-velden in samples. Maak duidelijk dat adaptieve bijsturing een ondersteunende optimalisatie is bovenop de gekozen sessie, geen autonome diagnose of medische behandeling.

Interpreteer signal primair als sensorcontact/signaalkwaliteit. Gebruik sensorContact voor het rustige contactbeeld en eegStability/artifacts voor de momentane EEG-stabiliteit, ruis, beweging en spier-/knipperartefacten. Maak deze twee niet aan elkaar gelijk: goed sensorcontact kan samengaan met onrustige EEG-stabiliteit.

Gebruik hemisphereBalance, leftActivity, rightActivity en hemisphereDifference uitsluitend als indicatieve links-rechts EEG-activiteit op de gemeten Muse-sensorlocaties. Noem dit geen vaste linksbrein/rechtsbrein-persoonlijkheidsconclusie. Beschrijf het als actuele hemisferische balans/asymmetrie en benoem onzekerheid bij lage signaalkwaliteit, artefacten of weinig samples.

Gebruik voor RGB- en witintensiteit altijd de gemeten sessiewaarden uit summary.averages, summary.ranges, phases en samples. Als settings.intensitySource "measured-session-samples" is, behandel settings.rgbIntensity en settings.whiteIntensity als gemiddelden over de sessie, niet als eindstand van de sliders. Concludeer nooit dat RGB of wit 0% was wanneer summary.ranges of samples hogere waarden tonen.

Gebruik voor de fase-indeling altijd sessionPlan.phases en data.phases. Sla geen geplande fase over, ook niet wanneer er weinig of geen samples in die fase zitten. Als een fase weinig data bevat, benoem dan dat de interpretatie beperkt is in plaats van de fase weg te laten. Bij timeline-sessies zijn de markers in sessionPlan.phases de rapportfases. Als sessionPlan.structure "baseline-plus-session" is, splits de bespreking expliciet in baseline-segment en hoofdsessie-segment.

BELANGRIJKE RANDVOORWAARDEN:
- Geef geen medische diagnose.
- Doe geen harde causale claims.
- Beschrijf observaties als patronen, indicaties of waarschijnlijkheden.
- Benoem onzekerheid expliciet wanneer signaal, artifacts of sample-aantal de interpretatie beperken.
- Behandel EEG/consumer wearable-data als indicatief en contextafhankelijk.
- Verwijs niet naar ruwe medische EEG-diagnostiek.
- Gebruik een professionele, rustige en bruikbare schrijfstijl.
- ${languageInstruction}

OUTPUTFORMAAT:
- Geef uitsluitend nette, printvriendelijke HTML terug.
- Gebruik geen JSON.
- Gebruik geen markdown.
- Gebruik geen markdown-codeblokken of backticks.
- Gebruik geen externe CSS, scripts, externe afbeeldingen of externe fonts.
- Begin direct met het rapport; geen uitleg vooraf over de opdracht.
- Gebruik semantische HTML zoals <article>, <header>, <section>, <h1>, <h2>, <h3>, <p>, <ul>, <ol>, <table>, <thead>, <tbody>, <tr>, <th>, <td>, <strong> en <em>.
- Inline <figure>, <figcaption> en <svg> zijn toegestaan voor de frequentievolgingsgrafiek, zolang er geen externe bron nodig is.
- Gebruik een duidelijke titel bovenaan.
- Voeg direct na de titel een compacte samenvattingsbox toe met de belangrijkste bevindingen.
- Gebruik tabellen voor kernwaarden, fasegemiddelden en opvallende meetpunten.
- Houd tabellen smal en printvriendelijk: maximaal 4 kolommen per tabel.
- Splits brede tabellen op in meerdere kleinere tabellen of gebruik korte label/waarde-tabellen.
- Zet lange toelichtingen niet in tabelcellen maar in gewone paragrafen onder de tabel.
- Gebruik normale paragrafen voor interpretatie en advies.
- Houd paragrafen kort.
- Houd koppen kort en helder.
- Vermijd overdreven decoratie; het rapport moet professioneel afdrukbaar zijn.
- Maak de HTML geschikt voor NeuroSync om direct te tonen en via "Rapport printen" als PDF op te slaan.

Gebruik exact deze rapportstructuur:
1. Titel en sessiegegevens
2. Managementsamenvatting
3. Datakwaliteit en betrouwbaarheid
4. Algemeen sessieverloop
5. Analyse per sessiefase
6. Hartslag en ademhaling
7. Respons op audio/licht en brainwave-entrainment
8. Opvallende momenten en pieken
9. Interpretatie voor therapeut/coach/begeleider
10. Advies voor een volgende sessie
11. Cliëntvriendelijke samenvatting
12. Disclaimer

Sluit het volledige rapport helemaal onderaan exact af met:
<p data-report-complete="true">RAPPORT_VOLLEDIG</p>

Sessiedata JSON:
${JSON.stringify(data, null, 2)}
`;
}

function setSessionLibraryMessage(en, nl) {
  els.sessionLibraryStatus.value = userSessionText(en, nl);
}

function marketplaceItemText(item, field) {
  if (currentLanguage === "nl") return cleanSessionText(item[`${field}Nl`] || item[field], field === "summary" ? 300 : 100);
  return cleanSessionText(item[field], field === "summary" ? 300 : 100);
}

function marketplaceCategoryName(categoryId) {
  const category = SESSION_CATEGORIES.find((item) => item.id === categoryId);
  return category ? categoryText(category, 0) : categoryId;
}

function normalizedMarketplaceText(value) {
  return cleanSessionText(value, 160)
    .toLocaleLowerCase("en")
    .normalize("NFKD")
    .replace(/[\u0300-\u036f]/g, "")
    .replace(/[^a-z0-9]+/g, "-")
    .replace(/^-+|-+$/g, "");
}

function marketplaceItemDedupeKey(item) {
  const isCreatorListing = item?.source === "creator" || !String(item?.id || "").startsWith("nsp-");
  if (!isCreatorListing) return "";
  return [
    normalizedMarketplaceText(item.author),
    normalizedMarketplaceText(item.titleNl || item.title || item.session?.title),
    normalizedMarketplaceText(item.session?.category)
  ].join("|");
}

function dedupeMarketplaceItems(items) {
  const seenIds = new Set();
  const seenKeys = new Set();
  return items.filter((item) => {
    const id = String(item?.id || "");
    const key = marketplaceItemDedupeKey(item);
    if (id && seenIds.has(id)) return false;
    if (key && seenKeys.has(key)) return false;
    if (id) seenIds.add(id);
    if (key) seenKeys.add(key);
    return true;
  });
}

function isMarketplaceItemInstalled(itemId) {
  return Object.values(sessionPrograms).some((program) => program.marketplaceListingId === itemId);
}

function formatMarketplacePrice(item) {
  const price = Number(item.price);
  if (!Number.isFinite(price) || price <= 0) return t("free");
  try {
    return new Intl.NumberFormat(currentLanguage === "nl" ? "nl-NL" : "en-GB", {
      style: "currency",
      currency: /^[A-Z]{3}$/.test(item.currency) ? item.currency : "EUR"
    }).format(price);
  } catch {
    return `${price.toFixed(2)} ${item.currency || "EUR"}`;
  }
}

function marketplaceItemRequiresPurchase(item) {
  const price = Number(item?.price);
  return item?.requiresPurchase === true || (Number.isFinite(price) && price > 0);
}

function marketplaceItemIsNeuroSyncGuidedSession(item) {
  return sourceIsGuidedSession(item?.session)
    && isNeuroSyncPublisher(item?.author || item?.publisher || item?.creator?.name || item?.vendor);
}

function marketplacePurchaseUrl(item) {
  const explicitUrl = String(item?.purchaseUrl || "").trim();
  if (explicitUrl) return explicitUrl;
  if (!MARKETPLACE_CHECKOUT_URL || !item?.id) return "";
  try {
    const url = new URL(MARKETPLACE_CHECKOUT_URL, window.location.href);
    url.searchParams.set("item", item.id);
    return url.toString();
  } catch {
    return "";
  }
}

function normalizeMarketplacePrice(value) {
  const price = Number(value);
  if (!Number.isFinite(price) || price < 0 || price > 999) return null;
  return Math.round(price * 100) / 100;
}

function renderMarketplaceCategories() {
  if (!els.marketplaceCategory) return;
  const selected = els.marketplaceCategory.value || "all";
  const categoryIds = [...new Set(marketplaceCatalog.map((item) => item.session?.category).filter(Boolean))];
  els.marketplaceCategory.replaceChildren();
  const allOption = document.createElement("option");
  allOption.value = "all";
  allOption.textContent = t("allCategories");
  els.marketplaceCategory.append(allOption);
  categoryIds.forEach((categoryId) => {
    const option = document.createElement("option");
    option.value = categoryId;
    option.textContent = marketplaceCategoryName(categoryId);
    els.marketplaceCategory.append(option);
  });
  els.marketplaceCategory.value = categoryIds.includes(selected) ? selected : "all";
}

function renderMarketplace() {
  if (!els.marketplaceGrid) return;
  renderMarketplaceCategories();
  els.marketplaceSearch.placeholder = t("searchPrograms");
  const query = els.marketplaceSearch.value.trim().toLocaleLowerCase(currentLanguage);
  const categoryId = els.marketplaceCategory.value;
  const items = marketplaceCatalog.filter((item) => {
    if (categoryId !== "all" && item.session?.category !== categoryId) return false;
    const searchable = [
      marketplaceItemText(item, "title"),
      marketplaceItemText(item, "summary"),
      cleanSessionText(item.author, 100),
      marketplaceCategoryName(item.session?.category)
    ].join(" ").toLocaleLowerCase(currentLanguage);
    return !query || searchable.includes(query);
  });

  els.marketplaceGrid.replaceChildren();
  if (!items.length) {
    els.marketplaceStatus.value = marketplaceCatalogLoaded ? t("marketplaceEmpty") : "";
    return;
  }
  els.marketplaceStatus.value = "";
  items.forEach((item) => {
    const card = document.createElement("article");
    card.className = "marketplace-card";

    const meta = document.createElement("div");
    meta.className = "marketplace-card__meta";
    const category = document.createElement("span");
    category.textContent = marketplaceCategoryName(item.session.category);
    const price = document.createElement("span");
    price.textContent = formatMarketplacePrice(item);
    meta.append(category, price);

    const title = document.createElement("h3");
    title.textContent = marketplaceItemText(item, "title");
    const summary = document.createElement("p");
    summary.textContent = marketplaceItemText(item, "summary");

    const footer = document.createElement("div");
    footer.className = "marketplace-card__footer";
    const author = document.createElement("span");
    author.textContent = `${t("by")} ${cleanSessionText(item.author, 100, "NeuroSync Pro")}`;
    const button = document.createElement("button");
    const installed = isMarketplaceItemInstalled(item.id);
    const requiresPurchase = marketplaceItemRequiresPurchase(item);
    const purchaseUrl = marketplacePurchaseUrl(item);
    button.type = "button";
    button.className = installed ? "" : "primary";
    button.disabled = installed || state.sessionRunning || (requiresPurchase && !purchaseUrl);
    button.textContent = installed ? t("installed") : (requiresPurchase ? t("buy") : t("install"));
    button.addEventListener("click", () => {
      if (requiresPurchase) {
        if (!purchaseUrl) {
          els.marketplaceStatus.value = t("purchaseUnavailable");
          return;
        }
        window.open(purchaseUrl, "_blank", "noopener");
        return;
      }
      installMarketplaceItem(item.id);
    });
    footer.append(author, button);
    card.append(meta, title, summary, footer);
    els.marketplaceGrid.append(card);
  });
}

async function loadMarketplaceCatalog(force = false, options = {}) {
  if (!force && marketplaceCatalogLoaded) return;
  if (marketplaceCatalogLoading && marketplaceCatalogLoadPromise) {
    await marketplaceCatalogLoadPromise;
    return;
  }
  if (force) marketplaceCatalogLoaded = false;
  marketplaceCatalogLoading = true;
  marketplaceCatalogLoadPromise = (async () => {
    if (!options.silent) {
      els.marketplaceStatus.value = userSessionText("Loading Neural Exchange™…", "Neural Exchange™ laden…");
    }
    try {
    let catalog;
    try {
      const response = await fetch(MARKETPLACE_CATALOG_URL, { cache: "no-store" });
      if (!response.ok) throw new Error("catalog");
      catalog = await response.json();
    } catch {
      const fallback = await fetch(MARKETPLACE_FALLBACK_CATALOG_URL, { cache: "no-store" });
      if (!fallback.ok) throw new Error("catalog");
      catalog = await fallback.json();
    }
    if (catalog?.format !== "neurosync-marketplace-catalog" || Number(catalog.version) !== 1 || !Array.isArray(catalog.items)) {
      throw new Error("format");
    }
    marketplaceCatalog = dedupeMarketplaceItems(catalog.items.filter((item) =>
      /^[a-z0-9-]{3,80}$/.test(String(item?.id || ""))
      && item.session && typeof item.session === "object"
      && (!sourceIsGuidedSession(item.session) || marketplaceItemIsNeuroSyncGuidedSession(item))
    )).slice(0, 100);
    syncInstalledGuidedSessionsFromCatalog(marketplaceCatalog);
    marketplaceCatalogLoaded = true;
    if (!options.silent) renderMarketplace();
  } catch {
    marketplaceCatalog = [];
    if (!options.silent) {
      els.marketplaceGrid.replaceChildren();
      els.marketplaceStatus.value = t("marketplaceLoadError");
    }
  } finally {
    marketplaceCatalogLoading = false;
    marketplaceCatalogLoadPromise = null;
  }
  })();
  await marketplaceCatalogLoadPromise;
}

async function openMarketplace() {
  if (!HAS_MARKETPLACE || state.sessionRunning) return;
  els.marketplaceDialog.showModal();
  els.marketplaceSearch.focus();
  await loadMarketplaceCatalog(true);
  if (marketplaceCatalogLoaded) renderMarketplace();
}

function installMarketplaceItem(itemId) {
  const item = marketplaceCatalog.find((entry) => entry.id === itemId);
  if (!item || isMarketplaceItemInstalled(itemId) || state.sessionRunning) return;
  const guided = sourceIsGuidedSession(item.session);
  if (guided && !marketplaceItemIsNeuroSyncGuidedSession(item)) {
    els.marketplaceStatus.value = t("guidedSessionsLocked");
    return;
  }
  if (marketplaceItemRequiresPurchase(item)) {
    const purchaseUrl = marketplacePurchaseUrl(item);
    if (purchaseUrl) {
      window.open(purchaseUrl, "_blank", "noopener");
    } else {
      els.marketplaceStatus.value = t("purchaseUnavailable");
    }
    return;
  }
  if (Object.values(sessionPrograms).filter((program) => program.userSession).length >= MAX_USER_SESSIONS) {
    els.marketplaceStatus.value = userSessionText(
      "The limit of 100 custom sessions has been reached.",
      "De limiet van 100 eigen sessies is bereikt."
    );
    return;
  }
  try {
    const id = createUserSessionId();
    sessionPrograms[id] = normalizeSharedSession({ ...item.session, marketplaceListingId: item.id }, id, {
      allowGuided: marketplaceItemIsNeuroSyncGuidedSession(item)
    });
    saveUserSessions();
    selectSessionProgram(id);
    renderMarketplace();
    els.marketplaceStatus.value = t("marketplaceInstalled");
  } catch {
    els.marketplaceStatus.value = t("marketplaceLoadError");
  }
}

function marketplaceUploadPrograms() {
  return Object.values(sessionPrograms).filter((program) => program.userSession && !programIsLockedPurchase(program));
}

function marketplaceProgramIsValid(program) {
  if (
    !program
    || !cleanSessionText(program.title, 80)
    || !cleanSessionText(program.goal, 300)
    || !editableSessionCategories().some((category) => category.id === program.category)
  ) {
    return false;
  }
  return Boolean(
    isTimelineProgram(program)
    && (() => {
      const timeline = normalizeSessionTimeline({ timeline: program.timeline });
      return timeline.durationSeconds >= 60
        && timeline.durationSeconds <= 180 * 60
        && Array.isArray(timeline.markers)
        && Array.isArray(timeline.curves.frequency)
        && timeline.curves.frequency.length >= 2
        && Array.isArray(timeline.curves.color)
        && timeline.curves.color.length >= 2;
    })()
  );
}

function restoreMarketplaceCreator() {
  try {
    const creator = JSON.parse(localStorage.getItem(MARKETPLACE_CREATOR_STORAGE_KEY) || "{}");
    els.marketplaceCreatorName.value = cleanSessionText(creator.name, 80);
    els.marketplaceCreatorEmail.value = cleanSessionText(creator.email, 160);
  } catch {
    localStorage.removeItem(MARKETPLACE_CREATOR_STORAGE_KEY);
  }
}

function restoreMarketplacePublisherCode() {
  const configuredCode = normalizePublisherCode(PRODUCT.publisherCode);
  const storedCode = normalizePublisherCode(localStorage.getItem(MARKETPLACE_PUBLISHER_CODE_STORAGE_KEY));
  const code = configuredCode || storedCode;
  if (code) {
    els.marketplacePublisherCode.value = code;
    if (configuredCode) {
      localStorage.setItem(MARKETPLACE_PUBLISHER_CODE_STORAGE_KEY, configuredCode);
    }
  } else {
    localStorage.removeItem(MARKETPLACE_PUBLISHER_CODE_STORAGE_KEY);
    els.marketplacePublisherCode.value = "";
  }
}

function syncMarketplaceUploadSummary() {
  const program = sessionPrograms[els.marketplaceUploadSession.value];
  const summary = cleanSessionText(localizedProgramGoal(program), 300);
  els.marketplaceListingSummary.value = summary;
  if (summary) {
    els.marketplaceListingSummary.removeAttribute("aria-invalid");
  }
}

function openMarketplaceUpload() {
  if (!CAN_PUBLISH_MARKETPLACE) return;
  const programs = marketplaceUploadPrograms();
  if (!programs.length) {
    els.marketplaceStatus.value = t("noCustomSessions");
    return;
  }
  if (!MARKETPLACE_API_URL) {
    els.marketplaceStatus.value = t("submissionUnavailable");
    return;
  }
  els.marketplaceUploadSession.replaceChildren();
  programs.forEach((program) => {
    const option = document.createElement("option");
    const title = localizedProgramTitle(program);
    option.value = program.id;
    option.textContent = compactDropdownLabel(title, 38);
    option.title = title;
    els.marketplaceUploadSession.append(option);
  });
  if (sessionPrograms[els.sessionSelect.value]?.userSession) {
    els.marketplaceUploadSession.value = els.sessionSelect.value;
  }
  restoreMarketplaceCreator();
  restoreMarketplacePublisherCode();
  syncMarketplaceUploadSummary();
  els.marketplaceUploadConsent.checked = false;
  els.marketplaceTermsConsent.checked = false;
  els.marketplaceListingPrice.value = "0";
  els.marketplaceCreatorShare.value = String(MARKETPLACE_CREATOR_SHARE_PERCENT);
  els.marketplaceUploadStatus.value = "";
  els.marketplaceUploadDialog.showModal();
}

async function submitMarketplaceSession(event) {
  event.preventDefault();
  if (!CAN_PUBLISH_MARKETPLACE) return;
  if (marketplaceUploadSubmitting) return;
  const program = sessionPrograms[els.marketplaceUploadSession.value];
  if (!program?.userSession || !MARKETPLACE_API_URL) return;
  const creatorName = cleanSessionText(els.marketplaceCreatorName.value, 80);
  const creatorEmail = cleanSessionText(els.marketplaceCreatorEmail.value, 160).toLowerCase();
  const summary = cleanSessionText(els.marketplaceListingSummary.value, 300);
  const publisherCode = normalizePublisherCode(els.marketplacePublisherCode.value);
  const price = normalizeMarketplacePrice(els.marketplaceListingPrice.value);
  const creatorSharePercent = MARKETPLACE_CREATOR_SHARE_PERCENT;
  const neurosyncSharePercent = Math.round((100 - creatorSharePercent) * 100) / 100;
  els.marketplacePublisherCode.value = publisherCode;
  els.marketplaceCreatorName.value = creatorName;
  els.marketplaceCreatorEmail.value = creatorEmail;
  els.marketplaceListingSummary.value = summary;
  if (price !== null) {
    els.marketplaceListingPrice.value = price.toFixed(2);
  }
  [
    els.marketplaceCreatorName,
    els.marketplaceCreatorEmail,
    els.marketplaceListingSummary,
    els.marketplaceListingPrice
  ].forEach((field) => field.removeAttribute("aria-invalid"));
  if (!creatorName) {
    els.marketplaceCreatorName.setAttribute("aria-invalid", "true");
    els.marketplaceCreatorName.focus();
    els.marketplaceUploadStatus.value = t("submissionMissingCreatorName");
    return;
  }
  if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(creatorEmail)) {
    els.marketplaceCreatorEmail.setAttribute("aria-invalid", "true");
    els.marketplaceCreatorEmail.focus();
    els.marketplaceUploadStatus.value = t("submissionInvalidEmail");
    return;
  }
  if (!summary) {
    els.marketplaceListingSummary.setAttribute("aria-invalid", "true");
    els.marketplaceListingSummary.focus();
    els.marketplaceUploadStatus.value = t("submissionMissingSummary");
    return;
  }
  if (price === null) {
    els.marketplaceListingPrice.setAttribute("aria-invalid", "true");
    els.marketplaceListingPrice.focus();
    els.marketplaceUploadStatus.value = t("submissionInvalidPrice");
    return;
  }
  if (!marketplaceProgramIsValid(program)) {
    els.marketplaceUploadStatus.value = t("submissionInvalidSession");
    return;
  }
  if (!publisherCode) {
    els.marketplaceUploadStatus.value = t("submissionMissingCode");
    return;
  }
  if (!els.marketplaceUploadConsent.checked) {
    els.marketplaceUploadConsent.focus();
    els.marketplaceUploadStatus.value = t("submissionMissingConsent");
    return;
  }
  if (!els.marketplaceTermsConsent.checked) {
    els.marketplaceTermsConsent.focus();
    els.marketplaceUploadStatus.value = t("submissionMissingTerms");
    return;
  }

  marketplaceUploadSubmitting = true;
  els.marketplaceUploadSubmitButton.disabled = true;
  els.marketplaceUploadStatus.value = userSessionText("Submitting…", "Insturen…");
  try {
    const response = await fetch(`${MARKETPLACE_API_URL}/v2/submissions`, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        "X-NeuroSync-Publisher-Code": publisherCode
      },
      body: JSON.stringify({
        format: "neurosync-marketplace-submission",
        version: 1,
        creator: { name: creatorName, email: creatorEmail },
        summary,
        pricing: {
          price,
          currency: "EUR",
          creatorSharePercent,
          neurosyncSharePercent,
          mollieFeePaidBy: "neurosync",
          vatResponsibility: "split_by_party_share"
        },
        payout: {
          interval: String(PRODUCT.payoutInterval || "manual"),
          minimumAmount: Number(PRODUCT.payoutMinimumAmount || 25),
          currency: "EUR"
        },
        terms: {
          accepted: true,
          version: MARKETPLACE_CREATOR_TERMS_VERSION
        },
        productEdition: PRODUCT.edition,
        appVersion: document.documentElement.dataset.appVersion || "",
        session: shareableSessionFromProgram(program)
      })
    });
    const result = await response.json().catch(() => ({}));
    if (!response.ok || result.ok !== true) {
      const error = new Error(result.error || "upload");
      error.status = response.status;
      throw error;
    }
    localStorage.setItem(MARKETPLACE_CREATOR_STORAGE_KEY, JSON.stringify({
      name: creatorName,
      email: creatorEmail
    }));
    localStorage.setItem(MARKETPLACE_PUBLISHER_CODE_STORAGE_KEY, publisherCode);
    if (result.listingId) {
      program.marketplaceListingId = cleanSessionText(result.listingId, 80);
      saveUserSessions();
    }
    els.marketplaceUploadStatus.value = t("submissionSent");
    marketplaceCatalogLoaded = false;
    marketplaceCatalog = [];
    await loadMarketplaceCatalog();
  } catch (error) {
    if (error?.message === "invalid_publisher_code" || error?.status === 401) {
      if (!normalizePublisherCode(PRODUCT.publisherCode)) {
        localStorage.removeItem(MARKETPLACE_PUBLISHER_CODE_STORAGE_KEY);
        els.marketplacePublisherCode.value = "";
      }
      els.marketplaceUploadStatus.value = t("submissionInvalidCode");
    } else if (error?.message === "invalid_creator") {
      els.marketplaceUploadStatus.value = t("submissionInvalidEmail");
    } else if (error?.message === "invalid_session") {
      els.marketplaceUploadStatus.value = t("submissionInvalidSession");
    } else if (error?.message === "invalid_price") {
      els.marketplaceUploadStatus.value = t("submissionInvalidPrice");
    } else if (error?.message === "terms_required") {
      els.marketplaceUploadStatus.value = t("submissionMissingTerms");
    } else if (error?.message === "invalid_format") {
      els.marketplaceUploadStatus.value = t("submissionInvalidFormat");
    } else if (error?.message === "invalid_local_payload") {
      els.marketplaceUploadStatus.value = t("submissionInvalidLocalPayload");
    } else if (error?.message === "invalid_submission" || error?.status === 400) {
      els.marketplaceUploadStatus.value = t("submissionInvalidData");
    } else if (error?.message === "storage_upload_failed" || error?.status === 502 || error?.status === 503) {
      els.marketplaceUploadStatus.value = t("submissionServiceError");
    } else if (error instanceof TypeError) {
      els.marketplaceUploadStatus.value = t("submissionNetworkError");
    } else {
      els.marketplaceUploadStatus.value = t("submissionFailed");
    }
  } finally {
    marketplaceUploadSubmitting = false;
    els.marketplaceUploadSubmitButton.disabled = false;
  }
}

function normalizePublisherCode(value) {
  let code = String(value || "")
    .replace(/[\u200B-\u200D\u2060\uFEFF]/g, "")
    .trim();
  const assignment = code.match(/(?:^|\n)\s*(?:NEUROSYNC_)?PUBLISHER_CODE\s*=\s*([^\r\n]+)/i);
  if (assignment) code = assignment[1].trim();
  if (
    code.length >= 2
    && (
      (code.startsWith("\"") && code.endsWith("\""))
      || (code.startsWith("'") && code.endsWith("'"))
      || (code.startsWith("`") && code.endsWith("`"))
    )
  ) {
    code = code.slice(1, -1);
  }
  return code.replace(/\s+/g, "").slice(0, 160);
}

function applyPastedPublisherCode(value) {
  const code = normalizePublisherCode(value);
  if (!code) {
    els.marketplaceUploadStatus.value = t("codePasteFailed");
    return;
  }
  els.marketplacePublisherCode.value = code;
  els.marketplaceUploadStatus.value = t("codePasted");
}

async function pasteMarketplacePublisherCode() {
  try {
    if (window.neuroSyncClipboard?.readText) {
      applyPastedPublisherCode(await window.neuroSyncClipboard.readText());
      return;
    }
    const handler = window.webkit?.messageHandlers?.clipboard;
    if (handler) {
      handler.postMessage("readText");
      return;
    }
    applyPastedPublisherCode(await navigator.clipboard.readText());
  } catch {
    els.marketplaceUploadStatus.value = t("codePasteFailed");
  }
}

window.neuroSyncClipboardText = (value) => applyPastedPublisherCode(value);

function editorNumberField(label, className, value, min, max, step = "1") {
  return `<label><span>${label}</span><input class="${className}" type="number" min="${min}" max="${max}" step="${step}" value="${value}"></label>`;
}

function escapeSessionHtml(value) {
  return String(value ?? "")
    .replaceAll("&", "&amp;")
    .replaceAll("<", "&lt;")
    .replaceAll(">", "&gt;")
    .replaceAll('"', "&quot;");
}

function defaultSessionEditorTimelineModel() {
  return normalizeSessionTimeline({
    timeline: {
      durationSeconds: 30 * 60,
      pulseShape: "sine",
      audioMode: "isochronic",
      musicMood: "Ambient",
      noiseType: "none",
      reverbPreset: "none",
      auroraMode: "off",
      curves: {
        frequency: [{ time: 0, value: 10 }, { time: 30 * 60, value: 10 }],
        audioFrequency: [{ time: 0, value: 10 }, { time: 30 * 60, value: 10 }],
        rgb: [{ time: 0, value: 50 }, { time: 30 * 60, value: 70 }],
        white: [{ time: 0, value: 15 }, { time: 30 * 60, value: 25 }],
        pulseVolume: [{ time: 0, value: 35 }, { time: 30 * 60, value: 35 }],
        musicVolume: [{ time: 0, value: 50 }, { time: 30 * 60, value: 50 }],
        noiseVolume: [{ time: 0, value: 0 }, { time: 30 * 60, value: 0 }],
        reverbMix: [{ time: 0, value: 0 }, { time: 30 * 60, value: 0 }],
        reverbDecay: [{ time: 0, value: 2.5 }, { time: 30 * 60, value: 2.5 }],
        color: [{ time: 0, value: "#40c9ff" }, { time: 30 * 60, value: "#40c9ff" }]
      }
    }
  });
}

function sessionEditorTimelineCurveDefinitions() {
  return {
    frequency: [
      {
        id: "frequency",
        label: userSessionText("Light pulse", "Lichtpuls"),
        color: "#38f3ff",
        min: 0.5,
        max: 40,
        unit: " Hz"
      }
    ],
    audioFrequency: [
      {
        id: "audioFrequency",
        label: userSessionText("Audio pulse", "Audiopuls"),
        color: "#ff9f43",
        min: 0.5,
        max: 40,
        unit: " Hz"
      }
    ],
    intensity: [
      ...(HAS_LIGHT ? [
        { id: "rgb", label: "RGB", color: "#38f3ff", min: 0, max: 100, unit: "%" },
        { id: "white", label: userSessionText("White", "Wit"), color: "#f8fbff", min: 0, max: 100, unit: "%" }
      ] : []),
      { id: "musicVolume", label: userSessionText("Music", "Muziek"), color: "#ff9f43", min: 0, max: 100, unit: "%" },
      { id: "noiseVolume", label: userSessionText("Noise", "Ruis"), color: "#b89cff", min: 0, max: 100, unit: "%" },
      ...(HAS_SESSION_REVERB ? [
        { id: "reverbMix", label: userSessionText("Reverb", "Galm"), color: "#69f0ae", min: 0, max: 100, unit: "%" }
      ] : []),
      { id: "pulseVolume", label: userSessionText("Pulse tone", "Pulstoon"), color: "#ff5ca8", min: 0, max: 100, unit: "%" }
    ]
  };
}

function formatSessionEditorDragTime(seconds) {
  const totalSeconds = Math.max(0, Math.round(Number(seconds) || 0));
  const minutes = Math.floor(totalSeconds / 60);
  const wholeSeconds = totalSeconds % 60;
  return `${String(minutes).padStart(2, "0")}:${String(wholeSeconds).padStart(2, "0")}`;
}

function renderSessionEditorTimeTooltip(x, y, seconds, valueLabel = "") {
  const timeLabel = formatSessionEditorDragTime(seconds);
  const hasValue = Boolean(valueLabel);
  const safeX = clamp(Number(x) || 0, 88, 772);
  const pointY = Number(y) || 0;
  const placeBelow = pointY < 56;
  const safeY = clamp(pointY + (placeBelow ? 38 : -38), 24, 168);
  const rectHeight = hasValue ? 34 : 20;
  const rectY = hasValue ? -20 : -12;
  return `
    <g class="editor-time-tooltip" transform="translate(${safeX.toFixed(2)} ${safeY.toFixed(2)})">
      <rect class="editor-time-tooltip-bg" x="-58" y="${rectY}" width="116" height="${rectHeight}" rx="7"></rect>
      <g class="editor-time-step" data-editor-time-step="-1" transform="translate(-43 ${hasValue ? 7 : 0})">
        <rect x="-9" y="-9" width="18" height="16" rx="5"></rect>
        <text x="0" y="1">-</text>
      </g>
      ${hasValue ? `<text class="editor-tooltip-value" x="0" y="-5">${valueLabel}</text>` : ""}
      <text class="editor-tooltip-time" x="0" y="${hasValue ? 11 : 1}">${timeLabel}</text>
      <g class="editor-time-step" data-editor-time-step="1" transform="translate(43 ${hasValue ? 7 : 0})">
        <rect x="-9" y="-9" width="18" height="16" rx="5"></rect>
        <text x="0" y="1">+</text>
      </g>
    </g>
  `;
}

function sessionEditorSelectablePointsForChart(chartId) {
  const model = sessionEditorTimelineModel;
  if (!model) return { points: [], curve: null };
  if (chartId === "markers") {
    return { points: normalizeTimelineMarkers(model.markers, model.durationSeconds), curve: null };
  }
  if (chartId === "color") {
    return { points: normalizeTimelineColorKeyframes(model.curves.color, model.durationSeconds), curve: null };
  }

  const definitions = sessionEditorTimelineCurveDefinitions()[chartId] || [];
  const selectedCurve = selectedSessionEditorKeyframe?.chart === chartId
    ? selectedSessionEditorKeyframe.curve
    : null;
  const [activeChart, activeCurve] = activeSessionEditorCurve.split(":");
  const curve = selectedCurve
    || (activeChart === chartId && !hiddenSessionEditorCurves.has(`${chartId}:${activeCurve}`) ? activeCurve : null)
    || definitions.find((item) => !hiddenSessionEditorCurves.has(`${chartId}:${item.id}`))?.id
    || definitions[0]?.id
    || null;
  return { points: curve ? model.curves[curve] || [] : [], curve };
}

function renderSessionEditorPointNavigation(chartId) {
  const { points, curve } = sessionEditorSelectablePointsForChart(chartId);
  const hasPoints = points.length > 0;
  const selected = selectedSessionEditorKeyframe;
  const selectedIndex = selected?.chart === chartId && (chartId === "markers" || chartId === "color" || selected.curve === curve)
    ? selected.index
    : -1;
  const canPrevious = hasPoints && (selectedIndex < 0 || selectedIndex > 0);
  const canNext = hasPoints && (selectedIndex < 0 || selectedIndex < points.length - 1);
  return `
    <div class="session-editor-point-nav" aria-label="${userSessionText("Point navigation", "Puntnavigatie")}">
      <button type="button" data-editor-point-chart="${chartId}" data-editor-point-step="-1" ${canPrevious ? "" : "disabled"} aria-label="${userSessionText("Previous point", "Vorig punt")}">-</button>
      <button type="button" data-editor-point-chart="${chartId}" data-editor-point-step="1" ${canNext ? "" : "disabled"} aria-label="${userSessionText("Next point", "Volgend punt")}">+</button>
    </div>
  `;
}

function renderSessionEditorPulseShapeOptions(selectedShape) {
  const labels = {
    sine: userSessionText("Sine", "Sinus"),
    triangle: userSessionText("Triangle", "Driehoek"),
    square: userSessionText("Square", "Vierkant"),
    trapezoid: userSessionText("Trapezoid", "Trapezium"),
    sawtooth: userSessionText("Sawtooth", "Zaagtand")
  };
  const selected = validSessionPulseShape(selectedShape, "sine");
  return SESSION_PULSE_SHAPES
    .map((shape) => `<option value="${shape}"${selected === shape ? " selected" : ""}>${labels[shape]}</option>`)
    .join("");
}

function renderSessionEditorKeyframeChart(container, chartId, title, curves, maxValue, unit) {
  const model = sessionEditorTimelineModel;
  if (!container || !model) {
    if (container) container.replaceChildren();
    return;
  }

  const durationSeconds = Math.max(60, Number(model.durationSeconds) || 30 * 60);
  const width = 860;
  const height = 210;
  const padding = { top: 18, right: 24, bottom: 36, left: 48 };
  const graphWidth = width - padding.left - padding.right;
  const graphHeight = height - padding.top - padding.bottom;
  const x = (seconds) => padding.left + (seconds / durationSeconds) * graphWidth;
  const y = (value) => padding.top + graphHeight - (clamp(value, 0, maxValue) / maxValue) * graphHeight;
  const curveY = (curve, value) => padding.top + graphHeight - (
    (clamp(value, curve.min ?? 0, curve.max ?? maxValue) - (curve.min ?? 0))
    / Math.max(0.001, (curve.max ?? maxValue) - (curve.min ?? 0))
  ) * graphHeight;
  const selectedPoint = selectedSessionEditorKeyframe?.chart === chartId
    ? model.curves[selectedSessionEditorKeyframe.curve]?.[selectedSessionEditorKeyframe.index]
    : null;
  const timeTooltip = sessionEditorChartDrag?.type === "keyframe" && sessionEditorChartDrag.chart === chartId
    ? renderSessionEditorTimeTooltip(
        x(sessionEditorChartDrag.time ?? 0),
        curveY(
          curves.find((curve) => curve.id === sessionEditorChartDrag.curve) || { min: 0, max: maxValue },
          sessionEditorChartDrag.value ?? 0
        ),
        sessionEditorChartDrag.time ?? 0,
        formatSessionEditorCurveValue(
          sessionEditorChartDrag.value ?? 0,
          curves.find((curve) => curve.id === sessionEditorChartDrag.curve) || {}
        )
      )
    : selectedPoint
      ? renderSessionEditorTimeTooltip(
          x(selectedPoint.time),
          curveY(
            curves.find((curve) => curve.id === selectedSessionEditorKeyframe.curve) || { min: 0, max: maxValue },
            selectedPoint.value
          ),
          selectedPoint.time,
          formatSessionEditorCurveValue(
            selectedPoint.value,
            curves.find((curve) => curve.id === selectedSessionEditorKeyframe.curve) || {}
          )
        )
      : "";
  const grid = [0, 0.25, 0.5, 0.75, 1].map((ratio) => {
    const value = maxValue * ratio;
    const lineY = y(value);
    const label = maxValue === 40
      ? `${Number(value.toFixed(1))}${unit}`
      : `${Math.round(value)}${unit}`;
    return `
      <line class="editor-chart-grid" x1="${padding.left}" y1="${lineY.toFixed(2)}" x2="${width - padding.right}" y2="${lineY.toFixed(2)}"></line>
      <text x="7" y="${(lineY + 3).toFixed(2)}">${label}</text>
    `;
  }).join("");
  const timeGrid = [0, 0.25, 0.5, 0.75, 1].map((ratio) => {
    const seconds = durationSeconds * ratio;
    const lineX = x(seconds);
    return `
      <line class="editor-chart-grid" x1="${lineX.toFixed(2)}" y1="${padding.top}" x2="${lineX.toFixed(2)}" y2="${padding.top + graphHeight}"></line>
      <text x="${(lineX + 4).toFixed(2)}" y="${height - 12}">${formatSessionTime(seconds)}</text>
    `;
  }).join("");
  const curveMarkup = curves.map((curve) => {
    if (hiddenSessionEditorCurves.has(`${chartId}:${curve.id}`)) return "";
    const points = model.curves[curve.id] || [];
    const polyline = points
      .map((point) => `${x(point.time).toFixed(2)},${curveY(curve, point.value).toFixed(2)}`)
      .join(" ");
    const handles = points.map((point, index) => {
      const selected = selectedSessionEditorKeyframe?.chart === chartId
        && selectedSessionEditorKeyframe?.curve === curve.id
        && selectedSessionEditorKeyframe?.index === index;
      const pointX = x(point.time);
      const pointY = curveY(curve, point.value);
      const nearbyPointCount = points
        .slice(0, index)
        .filter((previousPoint) => Math.abs(x(previousPoint.time) - pointX) < 54).length;
      const hasNearbyPoint = points.some((candidate, candidateIndex) => (
        candidateIndex !== index && Math.abs(x(candidate.time) - pointX) < 54
      ));
      const labelLane = hasNearbyPoint ? nearbyPointCount % 3 : 0;
      const labelOffsetY = hasNearbyPoint ? [-14, -31, 17][labelLane] : -10;
      const labelX = clamp(
        pointX + (hasNearbyPoint ? [-10, 10, 0][labelLane] : 0),
        padding.left + 22,
        width - padding.right - 22
      );
      const labelY = clamp(pointY + labelOffsetY, padding.top + 10, padding.top + graphHeight - 8);
      return `
        <circle
          class="editor-chart-point editor-keyframe-point${selected ? " selected" : ""}"
          style="--curve-color:${curve.color}"
          cx="${pointX.toFixed(2)}"
          cy="${pointY.toFixed(2)}"
          r="5.8"
          data-chart="${chartId}"
          data-curve="${curve.id}"
          data-index="${index}"
          data-min="${curve.min}"
          data-max="${curve.max}"
        ></circle>
        <text class="editor-chart-value${selected ? " selected" : ""}${hasNearbyPoint ? " crowded" : ""}" x="${labelX.toFixed(2)}" y="${labelY.toFixed(2)}">${formatSessionEditorCurveValue(point.value, curve)}</text>
      `;
    }).join("");
    return `
      <polyline class="editor-chart-line" style="--curve-color:${curve.color}" points="${polyline}"></polyline>
      ${handles}
    `;
  }).join("");
  const legend = curves.map((curve) => {
    const key = `${chartId}:${curve.id}`;
    const hidden = hiddenSessionEditorCurves.has(key);
    return `<button type="button" class="${activeSessionEditorCurve === key ? "active" : ""}${hidden ? " inactive" : ""}" style="--curve-color:${curve.color}" data-editor-curve="${key}" aria-pressed="${!hidden}">${curve.label}</button>`;
  }).join("");
  const selectedAudioFrequencyPoint = chartId === "audioFrequency"
    && selectedSessionEditorKeyframe?.chart === "audioFrequency"
    && selectedSessionEditorKeyframe.curve === "audioFrequency"
    ? model.curves.audioFrequency?.[selectedSessionEditorKeyframe.index]
    : null;
  const selectedLightFrequencyPoint = chartId === "frequency"
    && selectedSessionEditorKeyframe?.chart === "frequency"
    && selectedSessionEditorKeyframe.curve === "frequency"
    ? model.curves.frequency?.[selectedSessionEditorKeyframe.index]
    : null;
  const lightPulseShapeControl = chartId === "frequency"
    ? `
      <label class="session-editor-pulse-shape">
        <span>${selectedLightFrequencyPoint ? `${userSessionText("Light shape at", "Lichtvorm bij")} ${formatSessionTime(selectedLightFrequencyPoint.time)}` : userSessionText("Select light pulse point", "Selecteer lichtpuls-punt")}</span>
        <select data-editor-light-pulse-shape${selectedLightFrequencyPoint ? "" : " disabled"}>
          ${renderSessionEditorPulseShapeOptions(selectedLightFrequencyPoint?.lightPulseShape ?? selectedLightFrequencyPoint?.pulseShape ?? model.pulseShape)}
        </select>
      </label>
    `
    : "";
  const musicCategoryControl = chartId === "audioFrequency"
    ? `
      <label class="session-editor-music-category">
        <span>${selectedAudioFrequencyPoint ? `${userSessionText("Music at", "Muziek bij")} ${formatSessionTime(selectedAudioFrequencyPoint.time)}` : userSessionText("Select audio pulse point", "Selecteer audiopuls-punt")}</span>
        <select data-editor-frequency-music-mood${selectedAudioFrequencyPoint ? "" : " disabled"}>
          ${MUSIC_LIBRARY_CATEGORIES.map((mood) => `<option value="${escapeSessionHtml(mood)}"${mood === (selectedAudioFrequencyPoint?.musicMood || model.musicMood || "Ambient") ? " selected" : ""}>${escapeSessionHtml(mood)}</option>`).join("")}
        </select>
      </label>
    `
    : "";
  const audioModeControl = chartId === "audioFrequency"
    ? `
      <label class="session-editor-audio-mode">
        <span>${selectedAudioFrequencyPoint ? `${userSessionText("Audio at", "Audio bij")} ${formatSessionTime(selectedAudioFrequencyPoint.time)}` : userSessionText("Select audio pulse point", "Selecteer audiopuls-punt")}</span>
        <select data-editor-audio-mode${selectedAudioFrequencyPoint ? "" : " disabled"}>
          <option value="isochronic"${validSessionAudioMode(selectedAudioFrequencyPoint?.audioMode, model.audioMode || "isochronic") === "isochronic" ? " selected" : ""}>${userSessionText("Isochronic", "Isochroon")}</option>
          <option value="binaural"${validSessionAudioMode(selectedAudioFrequencyPoint?.audioMode, model.audioMode || "isochronic") === "binaural" ? " selected" : ""}>Binaural</option>
          <option value="monaural"${validSessionAudioMode(selectedAudioFrequencyPoint?.audioMode, model.audioMode || "isochronic") === "monaural" ? " selected" : ""}>Monaural</option>
          <option value="isochronic-monaural"${validSessionAudioMode(selectedAudioFrequencyPoint?.audioMode, model.audioMode || "isochronic") === "isochronic-monaural" ? " selected" : ""}>${userSessionText("Isochronic + monaural", "Isochroon + monaural")}</option>
        </select>
      </label>
    `
    : "";
  const audioPulseShapeControl = chartId === "audioFrequency"
    ? `
      <label class="session-editor-pulse-shape">
        <span>${selectedAudioFrequencyPoint ? `${userSessionText("Audio shape at", "Audiovorm bij")} ${formatSessionTime(selectedAudioFrequencyPoint.time)}` : userSessionText("Select audio frequency point", "Selecteer audiofrequentie-punt")}</span>
        <select data-editor-audio-pulse-shape${selectedAudioFrequencyPoint ? "" : " disabled"}>
          ${renderSessionEditorPulseShapeOptions(selectedAudioFrequencyPoint?.audioPulseShape ?? selectedAudioFrequencyPoint?.pulseShape ?? model.pulseShape)}
        </select>
      </label>
    `
    : "";
  const noiseTypeControl = chartId === "audioFrequency"
    ? `
      <label class="session-editor-noise-type">
        <span>${selectedAudioFrequencyPoint ? `${userSessionText("Noise at", "Ruis bij")} ${formatSessionTime(selectedAudioFrequencyPoint.time)}` : userSessionText("Select audio pulse point", "Selecteer audiopuls-punt")}</span>
        <select data-editor-noise-type${selectedAudioFrequencyPoint ? "" : " disabled"}>
          <option value="none"${validSessionNoiseType(selectedAudioFrequencyPoint?.noiseType, model.noiseType || "none") === "none" ? " selected" : ""}>${userSessionText("No noise", "Geen ruis")}</option>
          <option value="white"${validSessionNoiseType(selectedAudioFrequencyPoint?.noiseType, model.noiseType || "none") === "white" ? " selected" : ""}>${userSessionText("White noise", "Witte ruis")}</option>
          <option value="pink"${validSessionNoiseType(selectedAudioFrequencyPoint?.noiseType, model.noiseType || "none") === "pink" ? " selected" : ""}>${userSessionText("Pink noise", "Roze ruis")}</option>
        </select>
      </label>
    `
    : "";
  const reverbPresetControl = chartId === "audioFrequency" && HAS_SESSION_REVERB
    ? `
      <label class="session-editor-reverb-preset">
        <span>${selectedAudioFrequencyPoint ? `${userSessionText("Reverb at", "Galm bij")} ${formatSessionTime(selectedAudioFrequencyPoint.time)}` : userSessionText("Select audio pulse point", "Selecteer audiopuls-punt")}</span>
        <select data-editor-reverb-preset${selectedAudioFrequencyPoint ? "" : " disabled"}>
          <option value="none"${validSessionReverbPreset(selectedAudioFrequencyPoint?.reverbPreset, model.reverbPreset || "none") === "none" ? " selected" : ""}>${userSessionText("No reverb", "Geen galm")}</option>
          <option value="room"${validSessionReverbPreset(selectedAudioFrequencyPoint?.reverbPreset, model.reverbPreset || "none") === "room" ? " selected" : ""}>${userSessionText("Room", "Kamer")}</option>
          <option value="hall"${validSessionReverbPreset(selectedAudioFrequencyPoint?.reverbPreset, model.reverbPreset || "none") === "hall" ? " selected" : ""}>${userSessionText("Hall", "Zaal")}</option>
          <option value="cathedral"${validSessionReverbPreset(selectedAudioFrequencyPoint?.reverbPreset, model.reverbPreset || "none") === "cathedral" ? " selected" : ""}>${userSessionText("Cathedral", "Kathedraal")}</option>
          <option value="ganzfeld"${validSessionReverbPreset(selectedAudioFrequencyPoint?.reverbPreset, model.reverbPreset || "none") === "ganzfeld" ? " selected" : ""}>${userSessionText("Infinity Ganzfeld™ Space", "Infinity Ganzfeld™-ruimte")}</option>
        </select>
      </label>
    `
    : "";

  container.innerHTML = `
    <div class="session-editor-chart-heading">
      <strong>${title}</strong>
      <div class="session-editor-chart-heading-actions">
        ${renderSessionEditorPointNavigation(chartId)}
        ${lightPulseShapeControl}
        ${musicCategoryControl}
        ${audioModeControl}
        ${audioPulseShapeControl}
        ${noiseTypeControl}
        ${reverbPresetControl}
        <div class="session-editor-chart-legend">${legend}</div>
      </div>
    </div>
    <div class="session-editor-chart-scroll">
      <svg viewBox="0 0 ${width} ${height}" data-editor-chart="${chartId}" aria-label="${title}">
        <rect class="editor-chart-hitarea" x="0" y="0" width="${width}" height="${height}" data-editor-chart-hitarea="${chartId}"></rect>
        ${grid}
        ${timeGrid}
        <line class="editor-chart-axis" x1="${padding.left}" y1="${padding.top + graphHeight}" x2="${width - padding.right}" y2="${padding.top + graphHeight}"></line>
        <line class="editor-chart-axis" x1="${padding.left}" y1="${padding.top}" x2="${padding.left}" y2="${padding.top + graphHeight}"></line>
        ${curveMarkup}
        ${timeTooltip}
      </svg>
    </div>
  `;
}

function renderSessionEditorMarkerChart() {
  const container = els.sessionEditorMarkerChart;
  const model = sessionEditorTimelineModel;
  if (!container || !model) {
    if (container) container.replaceChildren();
    return;
  }

  const durationSeconds = Math.max(60, Number(model.durationSeconds) || 30 * 60);
  const markers = normalizeTimelineMarkers(model.markers, durationSeconds);
  model.markers = markers;
  const width = 860;
  const height = 104;
  const padding = { top: 18, right: 24, bottom: 28, left: 48 };
  const graphWidth = width - padding.left - padding.right;
  const trackY = 54;
  const x = (seconds) => padding.left + (seconds / durationSeconds) * graphWidth;
  const timeGrid = [0, 0.25, 0.5, 0.75, 1].map((ratio) => {
    const seconds = durationSeconds * ratio;
    const lineX = x(seconds);
    return `
      <line class="editor-chart-grid" x1="${lineX.toFixed(2)}" y1="${padding.top}" x2="${lineX.toFixed(2)}" y2="${height - padding.bottom}"></line>
      <text x="${(lineX + 4).toFixed(2)}" y="${height - 10}">${formatSessionTime(seconds)}</text>
    `;
  }).join("");
  const markerMarkup = markers.map((marker, index) => {
    const markerX = x(marker.time);
    const selected = selectedSessionEditorKeyframe?.chart === "markers"
      && selectedSessionEditorKeyframe?.index === index;
    return `
      <line class="editor-marker-stem" x1="${markerX.toFixed(2)}" y1="${padding.top}" x2="${markerX.toFixed(2)}" y2="${height - padding.bottom}" data-editor-marker="${index}"></line>
      <circle
        class="editor-chart-point editor-marker-point${selected ? " selected" : ""}"
        style="--curve-color:#ffd166"
        cx="${markerX.toFixed(2)}"
        cy="${trackY}"
        r="6"
        data-editor-marker="${index}"
      ></circle>
    `;
  }).join("");
  const selectedMarker = selectedSessionEditorKeyframe?.chart === "markers"
    ? markers[selectedSessionEditorKeyframe.index]
    : null;
  const timeTooltip = sessionEditorChartDrag?.type === "marker"
    ? renderSessionEditorTimeTooltip(x(sessionEditorChartDrag.time ?? 0), trackY, sessionEditorChartDrag.time ?? 0)
    : selectedMarker
      ? renderSessionEditorTimeTooltip(x(selectedMarker.time), trackY, selectedMarker.time)
      : "";
  const markerControls = selectedMarker ? `
    <label class="session-editor-marker-name">
      <span>${userSessionText("Selected point", "Geselecteerd punt")}</span>
      <input
        type="text"
        maxlength="50"
        value="${escapeSessionHtml(selectedMarker.name)}"
        data-editor-marker-name="${selectedSessionEditorKeyframe.index}"
        aria-label="${userSessionText("Selected point name", "Naam geselecteerd punt")}"
      >
    </label>
  ` : `<span class="session-editor-chart-help">${userSessionText("Click a point to rename it here.", "Klik een punt om het hier te hernoemen.")}</span>`;

  container.innerHTML = `
    <div class="session-editor-chart-heading">
      <strong>${userSessionText("Named timeline points", "Benoemde tijdlijnpunten")}</strong>
      <div class="session-editor-chart-heading-actions">
        ${renderSessionEditorPointNavigation("markers")}
        ${markerControls}
      </div>
    </div>
    <div class="session-editor-chart-scroll">
      <svg viewBox="0 0 ${width} ${height}" data-editor-chart="markers" aria-label="${userSessionText("Named timeline points", "Benoemde tijdlijnpunten")}">
        <rect class="editor-chart-hitarea" x="0" y="0" width="${width}" height="${height}" data-editor-chart-hitarea="markers"></rect>
        ${timeGrid}
        <line class="editor-marker-track" x1="${padding.left}" y1="${trackY}" x2="${width - padding.right}" y2="${trackY}"></line>
        ${markerMarkup}
        ${timeTooltip}
      </svg>
    </div>
  `;
}

function renderSessionEditorColorChart() {
  const container = els.sessionEditorColorChart;
  const model = sessionEditorTimelineModel;
  if (!container || !model) {
    if (container) container.replaceChildren();
    return;
  }

  const durationSeconds = Math.max(60, Number(model.durationSeconds) || 30 * 60);
  const points = normalizeTimelineColorKeyframes(model.curves.color, durationSeconds);
  model.curves.color = points;
  const width = 860;
  const height = 146;
  const padding = { top: 18, right: 24, bottom: 30, left: 48 };
  const graphWidth = width - padding.left - padding.right;
  const trackY = 62;
  const x = (seconds) => padding.left + (seconds / durationSeconds) * graphWidth;
  const gradientId = "session-editor-color-gradient";
  const timeGrid = [0, 0.25, 0.5, 0.75, 1].map((ratio) => {
    const seconds = durationSeconds * ratio;
    const lineX = x(seconds);
    return `
      <line class="editor-chart-grid" x1="${lineX.toFixed(2)}" y1="${padding.top}" x2="${lineX.toFixed(2)}" y2="${height - padding.bottom}"></line>
      <text x="${(lineX + 4).toFixed(2)}" y="${height - 10}">${formatSessionTime(seconds)}</text>
    `;
  }).join("");
  const colorCrossfadeSeconds = boundedSessionNumber(
    els.sessionEditorColorCrossfade?.value ?? 0,
    0,
    120,
    45
  );
  const stops = points.map((point, index) => {
    const offset = clamp((point.time / durationSeconds) * 100, 0, 100);
    if (index === 0) {
      return `<stop offset="${offset.toFixed(2)}%" stop-color="${escapeSessionHtml(point.value)}"></stop>`;
    }
    const previous = points[index - 1];
    const fadeSeconds = Math.min(colorCrossfadeSeconds, Math.max(0, point.time - previous.time));
    const fadeStartOffset = clamp(((point.time - fadeSeconds) / durationSeconds) * 100, 0, 100);
    return [
      `<stop offset="${fadeStartOffset.toFixed(2)}%" stop-color="${escapeSessionHtml(previous.value)}"></stop>`,
      `<stop offset="${offset.toFixed(2)}%" stop-color="${escapeSessionHtml(point.value)}"></stop>`
    ].join("");
  }).join("");
  const pointMarkup = points.map((point, index) => {
    const pointX = x(point.time);
    const selected = selectedSessionEditorKeyframe?.chart === "color"
      && selectedSessionEditorKeyframe?.index === index;
    return `
      <line class="editor-color-stem" x1="${pointX.toFixed(2)}" y1="${padding.top}" x2="${pointX.toFixed(2)}" y2="${height - padding.bottom}" data-editor-color-index="${index}"></line>
      ${point.ganzfeldMode ? `<text class="editor-color-effect-badge" x="${(pointX - 9).toFixed(2)}" y="${(trackY - 17).toFixed(2)}">G</text>` : ""}
      ${point.auroraMode && point.auroraMode !== "off" ? `<text class="editor-color-effect-badge aurora" x="${(pointX + 9).toFixed(2)}" y="${(trackY - 17).toFixed(2)}">A</text>` : ""}
      <circle
        class="editor-chart-point editor-color-point${selected ? " selected" : ""}"
        style="--curve-color:${escapeSessionHtml(point.value)}"
        cx="${pointX.toFixed(2)}"
        cy="${trackY}"
        r="7"
        data-editor-color-index="${index}"
      ></circle>
    `;
  }).join("");
  const selectedColor = selectedSessionEditorKeyframe?.chart === "color"
    ? points[selectedSessionEditorKeyframe.index]
    : null;
  const timeTooltip = sessionEditorChartDrag?.type === "color"
    ? renderSessionEditorTimeTooltip(x(sessionEditorChartDrag.time ?? 0), trackY, sessionEditorChartDrag.time ?? 0)
    : selectedColor
      ? renderSessionEditorTimeTooltip(x(selectedColor.time), trackY, selectedColor.time)
      : "";
  const colorControls = selectedColor ? `
    <div class="session-editor-color-controls">
      <label class="session-editor-color-picker">
        <span>${userSessionText("Color", "Kleur")}</span>
        <input
          type="color"
          value="${escapeSessionHtml(selectedColor.value)}"
          data-editor-color-input="${selectedSessionEditorKeyframe.index}"
          aria-label="${userSessionText("Selected color", "Geselecteerde kleur")}"
        >
      </label>
      <label class="session-editor-effect-toggle">
        <input
          type="checkbox"
          data-editor-color-ganzfeld="${selectedSessionEditorKeyframe.index}"
          ${selectedColor.ganzfeldMode ? "checked" : ""}
        >
        <span>Infinity Ganzfeld™</span>
      </label>
      <label class="session-editor-effect-select">
        <span>Aurora Immersion™</span>
        <select data-editor-color-aurora-mode="${selectedSessionEditorKeyframe.index}">
          <option value="off"${selectedColor.auroraMode === "off" || !selectedColor.auroraMode ? " selected" : ""}>${userSessionText("Off", "Uit")}</option>
          <option value="subtle"${selectedColor.auroraMode === "subtle" ? " selected" : ""}>${userSessionText("Subtle", "Subtiel")}</option>
          <option value="medium"${selectedColor.auroraMode === "medium" ? " selected" : ""}>Medium</option>
          <option value="intense"${selectedColor.auroraMode === "intense" ? " selected" : ""}>${userSessionText("Intense", "Intens")}</option>
          <option value="custom"${selectedColor.auroraMode === "custom" ? " selected" : ""}>Custom</option>
        </select>
      </label>
      <label class="session-editor-effect-number">
        <span>${userSessionText("Speed", "Snelheid")}</span>
        <input
          type="number"
          min="0.05"
          max="2"
          step="0.05"
          value="${Number(selectedColor.auroraSpeed ?? 0.25)}"
          data-editor-color-aurora-speed="${selectedSessionEditorKeyframe.index}"
          ${selectedColor.auroraMode === "custom" ? "" : "disabled"}
        >
      </label>
      <label class="session-editor-effect-number">
        <span>${userSessionText("Depth", "Diepte")}</span>
        <input
          type="number"
          min="0"
          max="100"
          step="1"
          value="${Math.round(selectedColor.auroraDepth ?? 45)}"
          data-editor-color-aurora-depth="${selectedSessionEditorKeyframe.index}"
          ${selectedColor.auroraMode === "custom" ? "" : "disabled"}
        >
      </label>
    </div>
  ` : `<span class="session-editor-chart-help">${userSessionText("Click a color point to edit it here.", "Klik een kleurpunt om het hier te wijzigen.")}</span>`;

  container.innerHTML = `
    <div class="session-editor-chart-heading">
      <strong>${userSessionText("Color progression", "Kleurverloop")}</strong>
      <div class="session-editor-chart-heading-actions">
        ${renderSessionEditorPointNavigation("color")}
        ${colorControls}
      </div>
    </div>
    <div class="session-editor-chart-scroll">
      <svg viewBox="0 0 ${width} ${height}" data-editor-chart="color" aria-label="${userSessionText("Color progression", "Kleurverloop")}">
        <rect class="editor-chart-hitarea" x="0" y="0" width="${width}" height="${height}" data-editor-chart-hitarea="color"></rect>
        <defs>
          <linearGradient id="${gradientId}" x1="0%" y1="0%" x2="100%" y2="0%">
            ${stops}
          </linearGradient>
        </defs>
        ${timeGrid}
        <rect class="editor-color-gradient" x="${padding.left}" y="${trackY - 10}" width="${graphWidth}" height="20" rx="10" fill="url(#${gradientId})"></rect>
        ${pointMarkup}
        ${timeTooltip}
      </svg>
    </div>
  `;
}

function renderSessionEditorTimeline() {
  if (!HAS_SESSION_COMPOSER) return;
  const durationMinutes = boundedSessionNumber(els.sessionEditorTimelineDuration.value, 1, 180, 30);
  if (sessionEditorTimelineModel) {
    resizeSessionEditorTimelineDuration(durationMinutes * 60);
  }
  els.sessionEditorTimelineTitle.textContent = userSessionText("Keyframe timeline", "Keyframe-tijdlijn");
  els.sessionEditorTimelineHint.textContent = userSessionText(
    "Use the top timeline for named points. Select a curve below, double-click to add keyframes, and press Delete to remove the selected point.",
    "Gebruik de bovenste tijdlijn voor benoemde punten. Selecteer daaronder een curve, dubbelklik om keyframes toe te voegen, en druk Delete om het geselecteerde punt te verwijderen."
  );
  const curves = sessionEditorTimelineCurveDefinitions();
  renderSessionEditorMarkerChart();
  renderSessionEditorKeyframeChart(
    els.sessionEditorFrequencyChart,
    "frequency",
    userSessionText("Light pulse keyframes", "Lichtpuls-keyframes"),
    curves.frequency,
    40,
    " Hz"
  );
  renderSessionEditorKeyframeChart(
    els.sessionEditorAudioFrequencyChart,
    "audioFrequency",
    userSessionText("Audio frequency keyframes", "Audiofrequentie-keyframes"),
    curves.audioFrequency,
    40,
    " Hz"
  );
  renderSessionEditorColorChart();
  renderSessionEditorKeyframeChart(
    els.sessionEditorIntensityChart,
    "intensity",
    userSessionText("Intensity and volume keyframes", "Intensiteit- en volumekeyframes"),
    curves.intensity,
    100,
    "%"
  );
}
function sessionEditorSvgFromPointer(event, chartId = "") {
  const target = event?.target;
  const element = target instanceof Element ? target : null;
  const directSvg = element?.closest?.("svg[data-editor-chart]");
  if (directSvg && (!chartId || directSvg.dataset.editorChart === chartId)) return directSvg;
  const scrollSvg = element?.closest?.(".session-editor-chart-scroll")?.querySelector?.("svg[data-editor-chart]");
  if (scrollSvg && (!chartId || scrollSvg.dataset.editorChart === chartId)) return scrollSvg;
  const pointerX = Number(event?.clientX);
  const pointerY = Number(event?.clientY);
  if (Number.isFinite(pointerX) && Number.isFinite(pointerY)) {
    const svgs = [...els.sessionEditorTimeline.querySelectorAll("svg[data-editor-chart]")];
    const hoveredSvg = svgs.find((svg) => {
      if (chartId && svg.dataset.editorChart !== chartId) return false;
      const rect = svg.getBoundingClientRect();
      return pointerX >= rect.left && pointerX <= rect.right && pointerY >= rect.top && pointerY <= rect.bottom;
    });
    if (hoveredSvg) return hoveredSvg;
  }
  return chartId ? els.sessionEditorTimeline.querySelector(`svg[data-editor-chart="${chartId}"]`) : null;
}

function sessionEditorChartValueFromPointer(event, drag) {
  const svg = sessionEditorSvgFromPointer(event, drag.chart);
  if (!svg) return null;
  const rect = svg.getBoundingClientRect();
  const viewHeight = 210;
  const top = 18;
  const graphHeight = viewHeight - top - 36;
  const pointerY = ((event.clientY - rect.top) / rect.height) * viewHeight;
  const ratio = clamp((pointerY - top) / graphHeight, 0, 1);
  return drag.max - ratio * (drag.max - drag.min);
}

function sessionEditorChartSecondsFromPointer(event, chartId) {
  const svg = sessionEditorSvgFromPointer(event, chartId);
  if (!svg || !sessionEditorTimelineModel) return null;
  const rect = svg.getBoundingClientRect();
  const viewWidth = svg.viewBox.baseVal.width || 860;
  const left = 48;
  const right = 24;
  const pointerX = ((event.clientX - rect.left) / rect.width) * viewWidth;
  const ratio = clamp((pointerX - left) / (viewWidth - left - right), 0, 1);
  return ratio * sessionEditorTimelineModel.durationSeconds;
}

function formatSessionEditorCurveValue(value, curve = {}) {
  const numeric = Number(value);
  if (!Number.isFinite(numeric)) return `--${curve.unit || ""}`;
  if (curve.unit === "%") return `${Math.round(numeric)}%`;
  if (curve.id === "reverbDecay") return `${numeric.toFixed(1)}${curve.unit || ""}`;
  return `${Number(numeric.toFixed(1))}${curve.unit || ""}`;
}

function normalizeSessionEditorCurveValue(value, curveId) {
  const spec = SESSION_TIMELINE_CURVES[curveId] || {};
  const numeric = clamp(Number(value), spec.min ?? 0, spec.max ?? 100);
  if (!Number.isFinite(numeric)) return spec.fallback ?? 0;
  if (spec.unit === "%") return Math.round(numeric);
  if (curveId === "reverbDecay") return Number(numeric.toFixed(1));
  return Number(numeric.toFixed(2));
}

function isNeuroSyncPublisher(value) {
  return /(^|\b)(neurosync|neurosync pro|hypnoworld|hypnowave)(\b|$)/i.test(String(value || ""));
}

function sourceIsGuidedSession(source = {}) {
  return source?.sessionType === "guided"
    || source?.type === "guided"
    || source?.category === GUIDED_SESSION_CATEGORY_ID
    || Boolean(source?.guidedVoice)
    || Boolean(source?.guidedSession)
    || Boolean(source?.license?.guided);
}

function normalizeGuidedVoice(source = {}) {
  const guidedVoice = source.guidedVoice && typeof source.guidedVoice === "object"
    ? source.guidedVoice
    : {};
  const sourceSegments = Array.isArray(guidedVoice.segments)
    ? guidedVoice.segments
    : Array.isArray(source.voiceScript)
      ? source.voiceScript
      : [];
  const segments = sourceSegments
    .map((segment) => ({
      time: boundedSessionNumber(segment?.time ?? segment?.seconds, 0, 24 * 60 * 60, 0),
      text: cleanSessionText(segment?.text, 600),
      textEn: cleanSessionText(segment?.textEn, 600),
      audioSrc: cleanSessionText(segment?.audioSrc || segment?.audioFile || segment?.src, 300),
      audioSrcEn: cleanSessionText(segment?.audioSrcEn || segment?.audioFileEn || segment?.srcEn, 300),
      duckMusic: segment?.duckMusic !== false,
      musicVolume: Number.isFinite(Number(segment?.musicVolume))
        ? clamp(Number(segment.musicVolume), 0, 100)
        : undefined
    }))
    .filter((segment) => segment.audioSrc || segment.audioSrcEn || segment.text || segment.textEn)
    .sort((a, b) => a.time - b.time);
  return {
    language: cleanSessionText(guidedVoice.language || source.language || "", 12),
    voiceId: cleanSessionText(guidedVoice.voiceId || source.voiceId || "neurosync-guided", 80),
    scriptVersion: cleanSessionText(guidedVoice.scriptVersion || source.scriptVersion || "1.0", 30),
    musicCategory: MUSIC_LIBRARY_CATEGORIES.includes(guidedVoice.musicCategory)
      ? guidedVoice.musicCategory
      : MUSIC_LIBRARY_CATEGORIES.includes(source.musicCategory)
        ? source.musicCategory
        : "",
    segments
  };
}

function programIsGuidedSession(program) {
  return sourceIsGuidedSession(program);
}

function programIsLockedPurchase(program) {
  return programIsGuidedSession(program)
    || program?.locked === true
    || program?.rights?.locked === true
    || program?.license?.allowExport === false
    || program?.license?.allowEdit === false
    || program?.license?.allowDuplicate === false;
}

function programAllowsExport(program) {
  return Boolean(program?.userSession) && !programIsLockedPurchase(program) && program?.rights?.allowExport !== false;
}

function programAllowsEdit(program) {
  return Boolean(program?.userSession) && !programIsLockedPurchase(program) && program?.rights?.allowEdit !== false;
}

function programAllowsDuplicate(program) {
  return Boolean(program) && !programIsLockedPurchase(program) && program?.rights?.allowDuplicate !== false;
}

function promptSessionEditorMarkerName(fallback = "") {
  const value = window.prompt(
    userSessionText("Name this point", "Geef dit punt een naam"),
    fallback
  );
  if (value === null) return null;
  return cleanSessionText(value, 50, fallback || "Marker");
}

function addSessionEditorMarker(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const seconds = sessionEditorChartSecondsFromPointer(event, "markers");
  if (seconds === null) return;
  const markers = normalizeTimelineMarkers(sessionEditorTimelineModel.markers, sessionEditorTimelineModel.durationSeconds);
  const markerNumber = Math.max(1, markers.length);
  const markerName = userSessionText(`Point ${markerNumber}`, `Punt ${markerNumber}`);
  markers.push({
    time: clamp(seconds, 0, sessionEditorTimelineModel.durationSeconds),
    name: markerName
  });
  sessionEditorTimelineModel.markers = normalizeTimelineMarkers(markers, sessionEditorTimelineModel.durationSeconds);
  const index = sessionEditorTimelineModel.markers.findIndex((marker) => Math.abs(marker.time - seconds) < 1.5);
  selectedSessionEditorKeyframe = { chart: "markers", index: Math.max(0, index) };
  renderSessionEditorTimeline();
  const markerInput = els.sessionEditorTimeline.querySelector(`[data-editor-marker-name="${selectedSessionEditorKeyframe.index}"]`);
  if (markerInput) {
    markerInput.focus();
    markerInput.select();
  }
}

function renameSessionEditorMarker(index) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const markers = normalizeTimelineMarkers(sessionEditorTimelineModel.markers, sessionEditorTimelineModel.durationSeconds);
  const marker = markers[index];
  if (!marker) return;
  const name = promptSessionEditorMarkerName(marker.name);
  if (!name) return;
  marker.name = name;
  sessionEditorTimelineModel.markers = normalizeTimelineMarkers(markers, sessionEditorTimelineModel.durationSeconds);
  selectedSessionEditorKeyframe = { chart: "markers", index };
  renderSessionEditorTimeline();
}

function updateSessionEditorMarkerDrag(event) {
  const drag = sessionEditorChartDrag;
  if (!drag || drag.type !== "marker" || !sessionEditorTimelineModel) return;
  const markers = normalizeTimelineMarkers(sessionEditorTimelineModel.markers, sessionEditorTimelineModel.durationSeconds);
  const marker = markers[drag.index];
  if (!marker) return;
  const seconds = sessionEditorChartSecondsFromPointer(event, "markers");
  if (seconds === null) return;
  const previousTime = markers[drag.index - 1]?.time ?? 0;
  const nextTime = markers[drag.index + 1]?.time ?? sessionEditorTimelineModel.durationSeconds;
  marker.time = drag.index === 0
    ? 0
    : clamp(seconds, previousTime + 1, nextTime - 1);
  sessionEditorChartDrag.time = marker.time;
  sessionEditorTimelineModel.markers = normalizeTimelineMarkers(markers, sessionEditorTimelineModel.durationSeconds);
  const nextIndex = sessionEditorTimelineModel.markers.findIndex((candidate) => Math.abs(candidate.time - marker.time) < 0.01);
  sessionEditorChartDrag.index = Math.max(0, nextIndex);
  selectedSessionEditorKeyframe = { chart: "markers", index: sessionEditorChartDrag.index };
  renderSessionEditorTimeline();
}

function updateSessionEditorKeyframeDrag(event) {
  const drag = sessionEditorChartDrag;
  if (!drag || drag.type !== "keyframe" || !sessionEditorTimelineModel) return;
  const points = sessionEditorTimelineModel.curves[drag.curve];
  const point = points?.[drag.index];
  if (!point) return;
  const seconds = sessionEditorChartSecondsFromPointer(event, drag.chart);
  const value = sessionEditorChartValueFromPointer(event, drag);
  if (seconds === null || value === null) return;
  const isEndpoint = drag.index === 0 || drag.index === points.length - 1;
  const previousTime = points[drag.index - 1]?.time ?? 0;
  const nextTime = points[drag.index + 1]?.time ?? sessionEditorTimelineModel.durationSeconds;
  point.time = isEndpoint
    ? (drag.index === 0 ? 0 : sessionEditorTimelineModel.durationSeconds)
    : clamp(seconds, previousTime + 1, nextTime - 1);
  point.value = normalizeSessionEditorCurveValue(value, drag.curve);
  sessionEditorChartDrag.time = point.time;
  sessionEditorChartDrag.value = point.value;
  sessionEditorTimelineModel.curves[drag.curve] = normalizeTimelineKeyframes(
    points,
    drag.curve,
    sessionEditorTimelineModel.durationSeconds
  );
  const nextIndex = sessionEditorTimelineModel.curves[drag.curve].findIndex((candidate) =>
    Math.abs(candidate.time - point.time) < 0.01
  );
  sessionEditorChartDrag.index = Math.max(0, nextIndex);
  selectedSessionEditorKeyframe = {
    chart: drag.chart,
    curve: drag.curve,
    index: sessionEditorChartDrag.index
  };
  renderSessionEditorTimeline();
  if (drag.curve === "noiseVolume") applySessionEditorTimelineNoisePreview();
  if (drag.curve === "reverbMix" || drag.curve === "reverbDecay") applySessionEditorTimelineReverbPreview();
}

function addSessionEditorColorPoint(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const seconds = sessionEditorChartSecondsFromPointer(event, "color");
  if (seconds === null) return;
  const durationSeconds = sessionEditorTimelineModel.durationSeconds;
  const points = normalizeTimelineColorKeyframes(sessionEditorTimelineModel.curves.color, durationSeconds);
  const time = clamp(seconds, 1, durationSeconds - 1);
  const activeEffects = colorEffectAtTimelineKeyframes(points, time, sessionEditorTimelineModel);
  points.push({
    time,
    value: colorAtTimelineKeyframes(points, time, els.rgbColor?.value || "#40c9ff"),
    ganzfeldMode: activeEffects.ganzfeldMode,
    auroraMode: activeEffects.auroraMode,
    auroraSpeed: activeEffects.auroraSpeed,
    auroraDepth: activeEffects.auroraDepth
  });
  sessionEditorTimelineModel.curves.color = normalizeTimelineColorKeyframes(points, durationSeconds);
  const index = sessionEditorTimelineModel.curves.color.findIndex((point) => Math.abs(point.time - time) < 1.5);
  selectedSessionEditorKeyframe = { chart: "color", index: Math.max(1, index) };
  renderSessionEditorTimeline();
}

function updateSessionEditorColorDrag(event) {
  const drag = sessionEditorChartDrag;
  if (!drag || drag.type !== "color" || !sessionEditorTimelineModel) return;
  const points = normalizeTimelineColorKeyframes(sessionEditorTimelineModel.curves.color, sessionEditorTimelineModel.durationSeconds);
  const point = points[drag.index];
  if (!point) return;
  const seconds = sessionEditorChartSecondsFromPointer(event, "color");
  if (seconds === null) return;
  const isEndpoint = drag.index === 0 || drag.index === points.length - 1;
  const previousTime = points[drag.index - 1]?.time ?? 0;
  const nextTime = points[drag.index + 1]?.time ?? sessionEditorTimelineModel.durationSeconds;
  point.time = isEndpoint
    ? (drag.index === 0 ? 0 : sessionEditorTimelineModel.durationSeconds)
    : clamp(seconds, previousTime + 1, nextTime - 1);
  sessionEditorChartDrag.time = point.time;
  sessionEditorTimelineModel.curves.color = normalizeTimelineColorKeyframes(points, sessionEditorTimelineModel.durationSeconds);
  const nextIndex = sessionEditorTimelineModel.curves.color.findIndex((candidate) =>
    Math.abs(candidate.time - point.time) < 0.01
  );
  sessionEditorChartDrag.index = Math.max(0, nextIndex);
  selectedSessionEditorKeyframe = { chart: "color", index: sessionEditorChartDrag.index };
  renderSessionEditorTimeline();
}

function addSessionEditorKeyframe(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const svg = sessionEditorSvgFromPointer(event);
  if (!svg) return;
  const chart = svg.dataset.editorChart;
  if (chart === "markers" || chart === "color") return;
  let [activeChart, curve] = activeSessionEditorCurve.split(":");
  const definitions = sessionEditorTimelineCurveDefinitions();
  const activeHidden = hiddenSessionEditorCurves.has(`${chart}:${curve}`);
  if (activeChart !== chart || activeHidden || !definitions[chart]?.some((item) => item.id === curve)) {
    const nextVisibleCurve = definitions[chart]?.find((item) => !hiddenSessionEditorCurves.has(`${chart}:${item.id}`))?.id;
    if (!nextVisibleCurve) return;
    curve = nextVisibleCurve;
    activeSessionEditorCurve = `${chart}:${curve}`;
  }
  const spec = SESSION_TIMELINE_CURVES[curve];
  if (!curve || !spec) return;
  const seconds = sessionEditorChartSecondsFromPointer(event, chart);
  const value = sessionEditorChartValueFromPointer(event, { chart, min: spec.min, max: spec.max });
  if (seconds === null || value === null) return;
  const points = sessionEditorTimelineModel.curves[curve] || [];
  const time = clamp(seconds, 1, sessionEditorTimelineModel.durationSeconds - 1);
  const point = { time, value: normalizeSessionEditorCurveValue(value, curve) };
  if (curve === "frequency") {
    point.musicMood = musicMoodAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.musicMood || "Ambient"
    );
    point.lightPulseShape = lightPulseShapeAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.pulseShape || "sine"
    );
  }
  if (curve === "audioFrequency") {
    point.musicMood = musicMoodAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.musicMood || "Ambient"
    );
    point.noiseType = noiseTypeAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.noiseType || "none"
    );
    point.reverbPreset = reverbPresetAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.reverbPreset || "none"
    );
    point.audioMode = audioModeAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.audioMode || "isochronic"
    );
    point.audioPulseShape = audioPulseShapeAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.pulseShape || "sine"
    );
    point.lightPulseShape = lightPulseShapeAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.pulseShape || "sine"
    );
    point.pulseShape = pulseShapeAtTimelineFrequencyKeyframes(
      points,
      time,
      sessionEditorTimelineModel.pulseShape || "sine"
    );
  }
  points.push(point);
  sessionEditorTimelineModel.curves[curve] = normalizeTimelineKeyframes(points, curve, sessionEditorTimelineModel.durationSeconds);
  const index = sessionEditorTimelineModel.curves[curve].findIndex((point) => Math.abs(point.time - seconds) < 1.5);
  selectedSessionEditorKeyframe = { chart, curve, index: Math.max(1, index) };
  renderSessionEditorTimeline();
  if (curve === "noiseVolume") applySessionEditorTimelineNoisePreview();
  if (curve === "reverbMix" || curve === "reverbDecay") applySessionEditorTimelineReverbPreview();
}

function deleteSelectedSessionEditorKeyframe() {
  const selected = selectedSessionEditorKeyframe;
  if (sessionEditorMode !== "timeline" || !selected || !sessionEditorTimelineModel) return false;
  if (selected.chart === "markers") {
    const markers = normalizeTimelineMarkers(sessionEditorTimelineModel.markers, sessionEditorTimelineModel.durationSeconds);
    if (selected.index <= 0 || selected.index >= markers.length) return false;
    markers.splice(selected.index, 1);
    sessionEditorTimelineModel.markers = normalizeTimelineMarkers(markers, sessionEditorTimelineModel.durationSeconds);
    selectedSessionEditorKeyframe = null;
    renderSessionEditorTimeline();
    return true;
  }
  if (selected.chart === "color") {
    const points = normalizeTimelineColorKeyframes(sessionEditorTimelineModel.curves.color, sessionEditorTimelineModel.durationSeconds);
    if (points.length <= 2 || selected.index <= 0 || selected.index >= points.length - 1) return false;
    points.splice(selected.index, 1);
    sessionEditorTimelineModel.curves.color = normalizeTimelineColorKeyframes(points, sessionEditorTimelineModel.durationSeconds);
    selectedSessionEditorKeyframe = null;
    renderSessionEditorTimeline();
    return true;
  }
  const points = sessionEditorTimelineModel.curves[selected.curve];
  if (!Array.isArray(points) || points.length <= 2) return false;
  if (selected.index <= 0 || selected.index >= points.length - 1) return false;
  points.splice(selected.index, 1);
  sessionEditorTimelineModel.curves[selected.curve] = normalizeTimelineKeyframes(
    points,
    selected.curve,
    sessionEditorTimelineModel.durationSeconds
  );
  selectedSessionEditorKeyframe = null;
  renderSessionEditorTimeline();
  if (selected.curve === "noiseVolume") applySessionEditorTimelineNoisePreview();
  if (selected.curve === "reverbMix" || selected.curve === "reverbDecay") applySessionEditorTimelineReverbPreview();
  if (selected.curve === "audioFrequency") {
    applySessionEditorTimelineNoisePreview();
    applySessionEditorTimelineReverbPreview();
    applySessionEditorTimelineAudioPreview();
  }
  return true;
}

function selectAdjacentSessionEditorPoint(chartId, delta) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const step = Number(delta) >= 0 ? 1 : -1;
  const { points, curve } = sessionEditorSelectablePointsForChart(chartId);
  if (!points.length) return;

  const selected = selectedSessionEditorKeyframe;
  const selectedMatches = selected?.chart === chartId
    && (chartId === "markers" || chartId === "color" || selected.curve === curve);
  const currentIndex = selectedMatches ? selected.index : null;
  const nextIndex = currentIndex === null
    ? (step > 0 ? 0 : points.length - 1)
    : clamp(currentIndex + step, 0, points.length - 1);

  if (chartId === "markers") {
    selectedSessionEditorKeyframe = { chart: "markers", index: nextIndex };
  } else if (chartId === "color") {
    selectedSessionEditorKeyframe = { chart: "color", index: nextIndex };
  } else if (curve) {
    activeSessionEditorCurve = `${chartId}:${curve}`;
    selectedSessionEditorKeyframe = { chart: chartId, curve, index: nextIndex };
  }
  renderSessionEditorTimeline();
  if (chartId === "frequency" && curve === "frequency") {
    applySessionEditorTimelineNoisePreview();
    applySessionEditorTimelineReverbPreview();
  }
  if (chartId === "audioFrequency" && curve === "audioFrequency") {
    applySessionEditorTimelineNoisePreview();
    applySessionEditorTimelineReverbPreview();
    applySessionEditorTimelineAudioPreview();
  }
}

function isEditableEventTarget(target) {
  return target instanceof HTMLTextAreaElement
    || target instanceof HTMLSelectElement
    || (
      target instanceof HTMLInputElement
      && !["button", "checkbox", "color", "file", "radio", "range", "reset", "submit"].includes(target.type)
    )
    || Boolean(target?.isContentEditable);
}

function syncSessionEditorMarkerInputs() {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const markers = normalizeTimelineMarkers(
    sessionEditorTimelineModel.markers,
    sessionEditorTimelineModel.durationSeconds
  );
  els.sessionEditorTimeline
    .querySelectorAll("[data-editor-marker-name]")
    .forEach((input) => {
      const index = Number(input.dataset.editorMarkerName);
      if (!markers[index]) return;
      markers[index].name = cleanSessionText(
        input.value,
        50,
        index === 0 ? "Start" : userSessionText(`Point ${index}`, `Punt ${index}`)
      );
    });
  sessionEditorTimelineModel.markers = normalizeTimelineMarkers(
    markers,
    sessionEditorTimelineModel.durationSeconds
  );
}

function adjustSelectedSessionEditorTime(deltaSeconds) {
  const selected = selectedSessionEditorKeyframe;
  if (sessionEditorMode !== "timeline" || !selected || !sessionEditorTimelineModel) return;
  const delta = Number(deltaSeconds) || 0;

  if (selected.chart === "markers") {
    const markers = normalizeTimelineMarkers(sessionEditorTimelineModel.markers, sessionEditorTimelineModel.durationSeconds);
    const marker = markers[selected.index];
    if (!marker || selected.index === 0) return;
    const previousTime = markers[selected.index - 1]?.time ?? 0;
    const nextTime = markers[selected.index + 1]?.time ?? sessionEditorTimelineModel.durationSeconds;
    marker.time = clamp(marker.time + delta, previousTime + 1, nextTime - 1);
    sessionEditorTimelineModel.markers = normalizeTimelineMarkers(markers, sessionEditorTimelineModel.durationSeconds);
    selectedSessionEditorKeyframe = {
      chart: "markers",
      index: sessionEditorTimelineModel.markers.findIndex((candidate) => Math.abs(candidate.time - marker.time) < 0.01)
    };
    renderSessionEditorTimeline();
    return;
  }

  if (selected.chart === "color") {
    const points = normalizeTimelineColorKeyframes(sessionEditorTimelineModel.curves.color, sessionEditorTimelineModel.durationSeconds);
    const point = points[selected.index];
    if (!point || selected.index <= 0 || selected.index >= points.length - 1) return;
    const previousTime = points[selected.index - 1]?.time ?? 0;
    const nextTime = points[selected.index + 1]?.time ?? sessionEditorTimelineModel.durationSeconds;
    point.time = clamp(point.time + delta, previousTime + 1, nextTime - 1);
    sessionEditorTimelineModel.curves.color = normalizeTimelineColorKeyframes(points, sessionEditorTimelineModel.durationSeconds);
    selectedSessionEditorKeyframe = {
      chart: "color",
      index: sessionEditorTimelineModel.curves.color.findIndex((candidate) => Math.abs(candidate.time - point.time) < 0.01)
    };
    renderSessionEditorTimeline();
    return;
  }

  const points = sessionEditorTimelineModel.curves[selected.curve];
  const point = points?.[selected.index];
  if (!point || selected.index <= 0 || selected.index >= points.length - 1) return;
  const previousTime = points[selected.index - 1]?.time ?? 0;
  const nextTime = points[selected.index + 1]?.time ?? sessionEditorTimelineModel.durationSeconds;
  point.time = clamp(point.time + delta, previousTime + 1, nextTime - 1);
  sessionEditorTimelineModel.curves[selected.curve] = normalizeTimelineKeyframes(
    points,
    selected.curve,
    sessionEditorTimelineModel.durationSeconds
  );
  selectedSessionEditorKeyframe = {
    chart: selected.chart,
    curve: selected.curve,
    index: sessionEditorTimelineModel.curves[selected.curve].findIndex((candidate) => Math.abs(candidate.time - point.time) < 0.01)
  };
  renderSessionEditorTimeline();
}

function updateSessionEditorChartDrag(event) {
  if (!sessionEditorChartDrag) return;
  if (!sessionEditorChartDrag.armed) {
    const deltaX = Number(event.clientX) - Number(sessionEditorChartDrag.startX);
    const deltaY = Number(event.clientY) - Number(sessionEditorChartDrag.startY);
    if (Math.hypot(deltaX || 0, deltaY || 0) < SESSION_EDITOR_DRAG_THRESHOLD_PX) return;
    sessionEditorChartDrag.armed = true;
  }
  if (sessionEditorChartDrag.type === "marker") {
    updateSessionEditorMarkerDrag(event);
    return;
  }
  if (sessionEditorChartDrag.type === "keyframe") {
    updateSessionEditorKeyframeDrag(event);
    return;
  }
  if (sessionEditorChartDrag.type === "color") {
    updateSessionEditorColorDrag(event);
    return;
  }
}

function applySessionEditorTimelineNoisePreview() {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel || !els.sessionEditorDialog.open) return;
  const selectedAudioFrequencyPoint = selectedSessionEditorKeyframe?.chart === "audioFrequency" && selectedSessionEditorKeyframe.curve === "audioFrequency"
    ? sessionEditorTimelineModel.curves?.audioFrequency?.[selectedSessionEditorKeyframe.index]
    : null;
  const noiseType = validSessionNoiseType(selectedAudioFrequencyPoint?.noiseType, sessionEditorTimelineModel.noiseType || "none");
  els.noiseType.value = noiseType;
  if (noiseType !== "none") {
    const noisePoints = sessionEditorTimelineModel.curves?.noiseVolume || [];
    const selectedNoisePoint = selectedSessionEditorKeyframe?.curve === "noiseVolume"
      ? noisePoints[selectedSessionEditorKeyframe.index]
      : null;
    const previewNoisePoint = selectedNoisePoint || noisePoints.find((point) => Number(point.value) > 0);
    if (previewNoisePoint) {
      els.noiseVolume.value = String(Math.round(clamp(Number(previewNoisePoint.value) || 0, 0, 100)));
    }
  }
  updateLabels();
  if (state.audioEnabled) void updateNoiseLayer();
}

function applySessionEditorTimelineReverbPreview() {
  if (!HAS_SPATIAL_REVERB || sessionEditorMode !== "timeline" || !sessionEditorTimelineModel || !els.sessionEditorDialog.open) return;
  const selectedAudioFrequencyPoint = selectedSessionEditorKeyframe?.chart === "audioFrequency" && selectedSessionEditorKeyframe.curve === "audioFrequency"
    ? sessionEditorTimelineModel.curves?.audioFrequency?.[selectedSessionEditorKeyframe.index]
    : null;
  const reverbPreset = validSessionReverbPreset(selectedAudioFrequencyPoint?.reverbPreset, sessionEditorTimelineModel.reverbPreset || "none");
  els.reverbPreset.value = reverbPreset;
  if (reverbPreset !== "none") {
    const selectedReverbPoint = selectedSessionEditorKeyframe?.curve === "reverbMix"
      ? sessionEditorTimelineModel.curves?.reverbMix?.[selectedSessionEditorKeyframe.index]
      : null;
    const reverbPoints = sessionEditorTimelineModel.curves?.reverbMix || [];
    const previewReverbPoint = selectedReverbPoint || reverbPoints.find((point) => Number(point.value) > 0);
    if (previewReverbPoint) {
      els.reverbMix.value = String(Math.round(clamp(Number(previewReverbPoint.value) || 0, 0, 100)));
    }
  }
  updateLabels();
  updateMusicReverb();
}

function applySessionEditorTimelineAudioPreview() {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel || !els.sessionEditorDialog.open) return;
  const selectedAudioFrequencyPoint = selectedSessionEditorKeyframe?.chart === "audioFrequency" && selectedSessionEditorKeyframe.curve === "audioFrequency"
    ? sessionEditorTimelineModel.curves?.audioFrequency?.[selectedSessionEditorKeyframe.index]
    : null;
  els.audioMode.value = validSessionAudioMode(selectedAudioFrequencyPoint?.audioMode, sessionEditorTimelineModel.audioMode || "isochronic");
  els.audioPulseShape.value = validSessionPulseShape(
    selectedAudioFrequencyPoint?.audioPulseShape ?? selectedAudioFrequencyPoint?.pulseShape,
    sessionEditorTimelineModel.pulseShape || "sine"
  );
  updateLabels();
  void updateAudioParameters();
}

function stopSessionEditorLightPreview() {
  if (!state.sessionEditorLightPreview) return;
  state.sessionEditorLightPreview = null;
  renderDmx();
  sendFrame();
}

function renderSessionEditorSubcategoryOptions(categoryId, selectedSubcategoryId = "") {
  if (!els.sessionEditorSubcategory || !els.sessionEditorSubcategoryField) return;
  const subcategories = sessionSubcategoriesForCategory(categoryId);
  els.sessionEditorSubcategory.innerHTML = "";
  if (!subcategories.length) {
    els.sessionEditorSubcategory.value = "";
    els.sessionEditorSubcategoryField.hidden = true;
    return;
  }
  const emptyOption = document.createElement("option");
  emptyOption.value = "";
  emptyOption.textContent = t("noSubcategory");
  els.sessionEditorSubcategory.append(emptyOption);
  subcategories.forEach((subcategory) => {
    const option = document.createElement("option");
    option.value = subcategory.id;
    option.textContent = sessionSubcategoryText(subcategory);
    els.sessionEditorSubcategory.append(option);
  });
  els.sessionEditorSubcategory.value = validSessionSubcategory(categoryId, selectedSubcategoryId);
  els.sessionEditorSubcategoryField.hidden = false;
}


function openSessionEditor(programId = null, duplicate = false) {
  if (!HAS_SESSION_COMPOSER || state.sessionRunning) return;
  const source = programId ? sessionPrograms[programId] : null;
  if (source && (duplicate ? !programAllowsDuplicate(source) : !programAllowsEdit(source))) {
    setSessionLibraryMessage(t("guidedSessionsLocked"), t("guidedSessionsLocked"));
    return;
  }
  editingUserSessionId = source?.userSession && !duplicate ? programId : null;
  els.sessionEditorTitle.textContent = editingUserSessionId
    ? userSessionText("Edit session", "Sessie bewerken")
    : userSessionText("New session", "Nieuwe sessie");
  els.sessionEditorEyebrow.textContent = duplicate
    ? userSessionText("Copy of existing session", "Kopie van bestaande sessie")
    : userSessionText("Custom session", "Eigen sessie");
  els.sessionEditorName.value = source ? `${source.title}${duplicate ? userSessionText(" copy", " kopie") : ""}` : "";
  els.sessionEditorGoal.value = source?.goal || "";
  els.sessionEditorCarrier.value = String(source?.carrier || 528);
  els.sessionEditorCrossfade.value = String(source?.musicCrossfadeSeconds ?? 10);
  els.sessionEditorColorCrossfade.value = String(source?.colorCrossfadeSeconds ?? 45);
  els.sessionEditorCategory.innerHTML = editableSessionCategories().map((category) =>
    `<option value="${category.id}">${escapeSessionHtml(categoryText(category, 0))}</option>`
  ).join("");
  els.sessionEditorCategory.value = source?.category && !isSpecialSessionCategory(source.category) && !isHiddenSessionCategory(source.category)
    ? source.category
    : (!isSpecialSessionCategory(els.sessionCategory.value) && !isHiddenSessionCategory(els.sessionCategory.value) ? els.sessionCategory.value : "herstel-welzijn");
  renderSessionEditorSubcategoryOptions(els.sessionEditorCategory.value, source?.subcategory || "");
  els.sessionEditorPhases.innerHTML = "";
  sessionEditorMode = "timeline";
  selectedSessionEditorKeyframe = null;
  activeSessionEditorCurve = "frequency:frequency";
  sessionEditorTimelineModel = source
    ? normalizeSessionTimeline({ timeline: structuredClone(source.timeline) })
    : defaultSessionEditorTimelineModel();
  els.sessionEditorTimelineDuration.value = String(Number((sessionEditorTimelineModel.durationSeconds / 60).toFixed(1)));
  els.sessionEditorPhaseHeading.hidden = true;
  els.sessionEditorPhases.hidden = true;
  els.sessionAddPhaseButton.disabled = true;
  els.sessionAddPhaseButton.hidden = true;
  els.sessionEditorError.value = "";
  renderSessionEditorTimeline();
  els.sessionEditorDialog.showModal();
  applySessionEditorTimelineNoisePreview();
  applySessionEditorTimelineReverbPreview();
  applySessionEditorTimelineAudioPreview();
  els.sessionEditorName.focus();
}

function collectSessionEditorData() {
  if (!sessionEditorTimelineModel) throw new Error(userSessionText("Create a timeline first.", "Maak eerst een tijdlijn."));
  syncSessionEditorTimelineControls();
  syncSessionEditorMarkerInputs();
  const durationMinutes = boundedSessionNumber(els.sessionEditorTimelineDuration.value, 1, 180, 30);
  resizeSessionEditorTimelineDuration(durationMinutes * 60);
  return {
    title: els.sessionEditorName.value,
    category: els.sessionEditorCategory.value,
    subcategory: validSessionSubcategory(els.sessionEditorCategory.value, els.sessionEditorSubcategory?.value),
    goal: els.sessionEditorGoal.value,
    carrier: Number(els.sessionEditorCarrier.value),
    musicCrossfadeSeconds: Number(els.sessionEditorCrossfade.value),
    colorCrossfadeSeconds: Number(els.sessionEditorColorCrossfade.value),
    sessionStructure: "timeline",
    timeline: sessionEditorTimelineModel
  };
}

function selectSessionProgram(programId) {
  const program = hydrateSessionProgram(programId);
  if (!program) return;
  renderSessionCategories();
  updateSessionCategory(
    normalizedSessionSearchQuery() ? SEARCH_RESULTS_SESSION_CATEGORY_ID : displaySessionCategoryIdForProgram(program),
    programId
  );
  updateSessionLibraryControls();
}

function saveSessionEditor() {
  const existingId = editingUserSessionId;
  const id = existingId || createUserSessionId();
  const program = normalizeSharedSession(collectSessionEditorData(), id);
  if (!existingId && Object.values(sessionPrograms).filter((item) => item.userSession).length >= MAX_USER_SESSIONS) {
    throw new Error(userSessionText("The limit of 100 custom sessions has been reached.", "De limiet van 100 eigen sessies is bereikt."));
  }
  sessionPrograms[id] = program;
  saveUserSessions();
  els.sessionEditorDialog.close();
  selectSessionProgram(id);
  setSessionLibraryMessage("Session saved.", "Sessie opgeslagen.");
}

function deleteUserSessionById(id) {
  const program = sessionPrograms[id];
  if (!program?.userSession || state.sessionRunning) return;
  const title = localizedProgramTitle(program);
  delete sessionPrograms[id];
  saveUserSessions();
  if (state.sessionProgramId === id) state.sessionProgramId = "";
  if (state.sessionRequestedProgramId === id) state.sessionRequestedProgramId = "";
  renderSessionCategories();
  restoreSessionProgram();
  updateSessionLibraryControls();
  setSessionLibraryMessage(
    `"${title}" was removed.`,
    `"${title}" is verwijderd.`
  );
}

function deleteSelectedUserSession() {
  deleteUserSessionById(els.sessionSelect.value);
}

function closeSessionDeleteDialog() {
  pendingDeleteSessionId = null;
  els.sessionDeleteDialog.close();
}

function confirmDeleteSelectedUserSession() {
  const id = pendingDeleteSessionId;
  const program = sessionPrograms[id];
  if (!id || !program?.userSession || state.sessionRunning) {
    closeSessionDeleteDialog();
    return;
  }
  pendingDeleteSessionId = null;
  els.sessionDeleteDialog.close();
  deleteUserSessionById(id);
}

function sessionExportFilename(title) {
  const slug = title.toLowerCase()
    .normalize("NFD").replace(/[\u0300-\u036f]/g, "")
    .replace(/[^a-z0-9]+/g, "-")
    .replace(/^-|-$/g, "")
    .slice(0, 34)
    .replace(/-$/g, "") || "neurosync-session";
  return `${slug}.nspsession`;
}

async function exportSelectedUserSession() {
  const program = sessionPrograms[els.sessionSelect.value];
  if (!programAllowsExport(program)) {
    if (programIsLockedPurchase(program)) setSessionLibraryMessage(t("guidedSessionsLocked"), t("guidedSessionsLocked"));
    return;
  }
  const payload = JSON.stringify({
    format: USER_SESSION_FILE_FORMAT,
    version: USER_SESSION_FILE_VERSION,
    exportedAt: new Date().toISOString(),
    product: "NeuroSync Pro",
    session: shareableSessionFromProgram(program)
  }, null, 2);
  const filename = sessionExportFilename(program.title);
  if (window.neuroSyncSessionFiles?.exportSession) {
    const result = await window.neuroSyncSessionFiles.exportSession(filename, payload);
    if (result?.ok) setSessionLibraryMessage("Session file saved.", "Sessiebestand opgeslagen.");
    return;
  }
  const handler = window.webkit?.messageHandlers?.sessionFiles;
  if (handler) {
    handler.postMessage({ action: "export", filename, content: payload });
    return;
  }
  const url = URL.createObjectURL(new Blob([payload], { type: "application/json" }));
  const link = document.createElement("a");
  link.href = url;
  link.download = filename;
  link.click();
  URL.revokeObjectURL(url);
  setSessionLibraryMessage("Session file downloaded.", "Sessiebestand gedownload.");
}

function importUserSessionContent(content) {
  const parsed = JSON.parse(String(content));
  if (parsed?.format !== USER_SESSION_FILE_FORMAT || Number(parsed.version) !== USER_SESSION_FILE_VERSION) {
    throw new Error("format");
  }
  if (sourceIsGuidedSession(parsed.session)) {
    throw new Error("guided");
  }
  if (Object.values(sessionPrograms).filter((item) => item.userSession).length >= MAX_USER_SESSIONS) {
    throw new Error("limit");
  }
  const id = createUserSessionId();
  sessionPrograms[id] = normalizeSharedSession(parsed, id);
  saveUserSessions();
  selectSessionProgram(id);
  setSessionLibraryMessage("Shared session imported.", "Gedeelde sessie geïmporteerd.");
}

async function requestUserSessionImport() {
  if (state.sessionRunning) return;
  if (window.neuroSyncSessionFiles?.importSession) {
    const result = await window.neuroSyncSessionFiles.importSession();
    if (result?.ok) {
      try {
        importUserSessionContent(result.content);
      } catch {
        setSessionLibraryMessage("Invalid session file.", "Ongeldig sessiebestand.");
      }
    }
    return;
  }
  const handler = window.webkit?.messageHandlers?.sessionFiles;
  if (handler) {
    handler.postMessage({ action: "import" });
    return;
  }
  els.sessionImportInput.click();
}

window.neuroSyncSessionFileImported = (ok, content) => {
  if (!ok) {
    if (content !== "cancelled") setSessionLibraryMessage("Session could not be imported.", "Sessie kon niet worden geïmporteerd.");
    return;
  }
  try {
    importUserSessionContent(content);
  } catch {
    setSessionLibraryMessage("Invalid session file.", "Ongeldig sessiebestand.");
  }
};

window.neuroSyncSessionFileExported = (ok, reason) => {
  if (ok) setSessionLibraryMessage("Session file saved.", "Sessiebestand opgeslagen.");
  else if (reason !== "cancelled") setSessionLibraryMessage("Session file could not be saved.", "Sessiebestand kon niet worden opgeslagen.");
};

document.title = PRODUCT.name;
document.querySelector(".hero-logo")?.setAttribute("alt", `${PRODUCT.name} Brainwave Entrainment`);
document.querySelector("#editionName").textContent = PRODUCT.edition === "personal"
  ? "Personal"
  : PRODUCT.edition === "audio"
    ? "Audio"
    : "Audio+Light";

function clamp(value, min, max) {
  return Math.min(max, Math.max(min, value));
}

function useManualFrequencyRange() {
  els.frequency.min = "2";
  els.frequency.max = "40";
  els.frequency.value = String(clamp(Number(els.frequency.value) || 2, 2, 40));
}

function useSessionFrequencyRange() {
  els.frequency.min = "0.1";
  els.frequency.max = "40";
}

function setButtonLabel(button, label) {
  const labelElement = button.querySelector(".button-label");
  if (labelElement) {
    labelElement.textContent = label;
  } else {
    button.textContent = label;
  }
}

const PHASE_NAME_EN = {
  "Aankomen": "Arrival",
  "Activeren": "Activation",
  "Actieve focus": "Active focus",
  "Alpha ontspanning": "Alpha relaxation",
  "Alpha-Theta brug": "Alpha-theta bridge",
  "Diepe rust": "Deep rest",
  "Diepe verdieping": "Deepening",
  "Energie": "Energy",
  "Energizer": "Energizer",
  "Focus": "Focus",
  "Gedachten kalmeren": "Calming thoughts",
  "Herstel": "Recovery",
  "Herstellen": "Recovery",
  "Inductie": "Induction",
  "Integratie": "Integration",
  "Innerlijke stilte": "Inner stillness",
  "Loskomen": "Release",
  "Loslaten": "Letting go",
  "Maximale alertheid": "Maximum alertness",
  "Ontladen": "Release",
  "Ontspannen": "Relaxation",
  "Ontspanning": "Relaxation",
  "Ontwaken": "Awakening",
  "Oogsluiting en synchronisatie": "Eye closure and synchronization",
  "Power Zone": "Power zone",
  "Power Burst": "Power burst",
  "Rustige overgang": "Gentle transition",
  "Schumann Kern": "Schumann core",
  "Slaapoverdracht": "Transition to sleep",
  "Slaapvoorbereiding": "Sleep preparation",
  "Slaperigheid": "Drowsiness",
  "Stabiliseren": "Stabilization",
  "Stress Release": "Stress release",
  "Terugkeer": "Return",
  "Therapeutische overdracht": "Therapeutic transition",
  "Therapeutische werkfase": "Therapeutic work phase",
  "Tranceverdieping": "Trance deepening",
  "Verankeren": "Anchoring",
  "Verfrissen": "Refresh",
  "Verdieping": "Deepening",
  "Vertragen": "Slowing down",
  "Visuele focus en fixatie": "Visual focus and fixation",
  "Wegdrijven": "Drifting"
};

const PROGRAM_TITLE_EN = {
  "Schumann Resonance Meditatie": "Schumann Resonance Meditation"
};

const RUNTIME_TEXT = {
  "Art-Net actief": { en: "Art-Net active", nl: "Art-Net actief" },
  "Art-Net fout": { en: "Art-Net error", nl: "Art-Net fout" },
  "Art-Net verbinden...": { en: "Connecting Art-Net...", nl: "Art-Net verbinden..." },
  "Art-Net stand-by": { en: "Art-Net standby", nl: "Art-Net stand-by" },
  "USB-DMX actief": { en: "USB-DMX active", nl: "USB-DMX actief" },
  "USB-DMX fout": { en: "USB-DMX error", nl: "USB-DMX fout" },
  "USB-DMX verbinden...": { en: "Connecting USB-DMX...", nl: "USB-DMX verbinden..." },
  "USB-DMX stand-by": { en: "USB-DMX stand-by", nl: "USB-DMX stand-by" },
  "Server niet bereikbaar": { en: "Server unavailable", nl: "Server niet bereikbaar" },
  "Gereed": { en: "Ready", nl: "Gereed" },
  "Uit": { en: "Off", nl: "Uit" },
  "Actief": { en: "Active", nl: "Actief" },
  "Gepauzeerd": { en: "Paused", nl: "Gepauzeerd" },
  "Voltooid": { en: "Completed", nl: "Voltooid" },
  "Adem in": { en: "Breathe in", nl: "Adem in" },
  "Adem uit": { en: "Breathe out", nl: "Adem uit" },
  "Blackout": { en: "Blackout", nl: "Blackout" },
  "Audio actief": { en: "Audio active", nl: "Audio actief" },
  "Audio server fout": { en: "Audio server error", nl: "Audio server fout" }
};

function localizedProgramTitle(program) {
  if (!program) return "";
  if (program.userSession && currentLanguage === "en" && program.titleEn) return program.titleEn;
  if (currentLanguage === "en" && program.titleEn) return program.titleEn;
  return currentLanguage === "en" ? PROGRAM_TITLE_EN[program.title] || program.title : program.title;
}

function compactDropdownLabel(text, maxLength = 34) {
  const normalized = String(text || "").trim().replace(/\s+/g, " ");
  if (normalized.length <= maxLength) return normalized;
  return `${normalized.slice(0, Math.max(1, maxLength - 1)).trimEnd()}…`;
}

function localizedProgramGoal(program) {
  if (!program) return "";
  if (program.userSession) {
    return currentLanguage === "en" && program.goalEn ? program.goalEn : program.goal;
  }
  if (currentLanguage === "en" && program.goalEn) return program.goalEn;
  if (currentLanguage === "nl") return program.goal;
  const category = sessionCategoryById(program.category);
  return `A guided session designed to ${categoryText(category, 1).toLowerCase()}.`;
}

function localizedPhaseName(phase, index) {
  if (currentLanguage === "en" && phase.nameEn) return phase.nameEn;
  if (currentLanguage === "nl") return phase.name;
  return PHASE_NAME_EN[phase.name] || `Phase ${index + 1}`;
}

function localizedPhasePurpose(program, phase) {
  if (program?.userSession) {
    return currentLanguage === "en" && phase.purposeEn ? phase.purposeEn : phase.purpose;
  }
  if (currentLanguage === "nl") return phase.purpose;
  const category = sessionCategoryById(program.category);
  return categoryText(category, 1);
}

function localizedTimelineMarkerName(marker, index) {
  if (currentLanguage === "en" && marker?.nameEn) return marker.nameEn;
  return marker?.name || `T${index + 1}`;
}

function localizedTimelineMarkerPurpose(program, marker) {
  if (currentLanguage === "en" && marker?.purposeEn) return marker.purposeEn;
  return marker?.purpose || localizedProgramGoal(program);
}

function localizedRuntimeText(text) {
  return RUNTIME_TEXT[text]?.[currentLanguage] || text;
}

function translateOption(select, value, en, nl) {
  const option = [...select.options].find((item) => item.value === value);
  if (option) option.textContent = currentLanguage === "nl" ? nl : en;
}

function artNetControllerStorageKey(baseKey, controllerId) {
  return `${baseKey}.${controllerId}`;
}

function activeArtNetController() {
  return ARTNET_CONTROLLERS[els.artnetController.value] || ARTNET_CONTROLLERS["artnet-dmx2"];
}

function selectedDmxOutputMode() {
  const value = els.dmxOutputMode?.value;
  if (HAS_ENTTEC_USB_PRO && value === "enttec-usb-pro") return "enttec-usb-pro";
  if (HAS_OPEN_DMX_FTDI && value?.startsWith("open-dmx-ftdi")) return value;
  return "artnet";
}

function dmxOutputModeIsAvailable(value) {
  if (!value) return false;
  return [...(els.dmxOutputMode?.options || [])].some((option) => option.value === value);
}

function restoreDmxOutputMode() {
  if (!els.dmxOutputMode) return;
  const storedValue = localStorage.getItem(DMX_OUTPUT_MODE_STORAGE_KEY);
  if (dmxOutputModeIsAvailable(storedValue)) {
    els.dmxOutputMode.value = storedValue;
    return;
  }
  els.dmxOutputMode.value = dmxOutputModeIsAvailable("artnet")
    ? "artnet"
    : [...els.dmxOutputMode.options][0]?.value || "";
}

function selectedDmxSerialPort() {
  return selectedDmxOutputMode() !== "artnet" ? String(els.dmxSerialPort?.value || "") : "";
}

function usbDmxHelpText(mode = selectedDmxOutputMode()) {
  if (mode.startsWith("open-dmx-ftdi")) {
    return currentLanguage === "nl"
      ? "Sluit de FTDI FT232RL/Open DMX interface aan via USB. NeuroSync Pro gebruikt automatisch de stabiele Open DMX-modus."
      : "Connect the FTDI FT232RL/Open DMX interface via USB. NeuroSync Pro automatically uses the stable Open DMX mode.";
  }
  return currentLanguage === "nl"
    ? "Sluit de Enttec DMX USB Pro aan via USB. NeuroSync Pro zoekt automatisch naar de seriële poort."
    : "Connect the Enttec DMX USB Pro via USB. NeuroSync Pro automatically looks for its serial port.";
}

function updateDmxOutputModeControls() {
  const mode = selectedDmxOutputMode();
  const isUsb = mode === "enttec-usb-pro" || mode.startsWith("open-dmx-ftdi");
  if (els.dmxOutputModeField) els.dmxOutputModeField.hidden = !HAS_USB_DMX;
  if (els.dmxSerialPortField) els.dmxSerialPortField.hidden = !isUsb;
  if (els.dmxOutputTypeLabel) els.dmxOutputTypeLabel.textContent = isUsb ? "USB-DMX" : "Art-Net";
  els.artnetController?.closest("label")?.toggleAttribute("hidden", isUsb);
  els.artnetNetworkSettings?.toggleAttribute("hidden", isUsb);
  if (els.networkHelp) {
    els.networkHelp.textContent = isUsb ? usbDmxHelpText(mode) : activeArtNetController().help[currentLanguage];
  }
}

async function refreshDmxSerialPorts() {
  if (!els.dmxSerialPort || !HAS_USB_DMX) return;
  const previous = localStorage.getItem(DMX_SERIAL_PORT_STORAGE_KEY) || els.dmxSerialPort.value || "";
  try {
    const response = await fetch("/dmx/serial-ports", { cache: "no-store" });
    const payload = await response.json();
    const ports = Array.isArray(payload.ports) ? payload.ports.filter(Boolean) : [];
    els.dmxSerialPort.innerHTML = "";
    const autoOption = document.createElement("option");
    autoOption.value = "";
    autoOption.textContent = currentLanguage === "nl" ? "Automatisch" : "Automatic";
    els.dmxSerialPort.appendChild(autoOption);
    ports.forEach((port) => {
      const option = document.createElement("option");
      option.value = port;
      option.textContent = port.replace(/^\/dev\/cu\./, "");
      els.dmxSerialPort.appendChild(option);
    });
    els.dmxSerialPort.value = ports.includes(previous) ? previous : "";
    if (els.networkHelp && selectedDmxOutputMode() !== "artnet" && ports.length === 0) {
      els.networkHelp.textContent = currentLanguage === "nl"
        ? "Geen USB-DMX seriële poort gevonden. Controleer de kabel, USB-poort en FTDI/Enttec-driver; kies daarna opnieuw Enttec DMX USB Pro."
        : "No USB-DMX serial port found. Check the cable, USB port, and FTDI/Enttec driver, then select Enttec DMX USB Pro again.";
    }
  } catch {}
}

function startDmxSerialPortAutoRefresh() {
  if (!HAS_USB_DMX || state.dmxSerialPortRefreshTimer) return;
  state.dmxSerialPortRefreshTimer = setInterval(() => {
    if (selectedDmxOutputMode() !== "artnet") {
      refreshDmxSerialPorts();
    }
  }, DMX_SERIAL_PORT_REFRESH_MS);
}

function updateArtNetControllerHelp() {
  if (!els.networkHelp || !els.artnetController) return;
  if (selectedDmxOutputMode() !== "artnet") {
    updateDmxOutputModeControls();
    return;
  }
  els.networkHelp.textContent = activeArtNetController().help[currentLanguage];
}

function loadArtNetControllerSettings(controllerId) {
  const profile = ARTNET_CONTROLLERS[controllerId] || ARTNET_CONTROLLERS["artnet-dmx2"];
  let storedIp = localStorage.getItem(artNetControllerStorageKey(ARTNET_IP_STORAGE_KEY, controllerId))
    || (controllerId === "artnet-dmx2" ? localStorage.getItem(ARTNET_IP_STORAGE_KEY) : null);
  if (controllerId === "artnet-dmx2" && storedIp === "2.0.0.1") {
    storedIp = profile.defaultIp;
  }
  const storedUniverse = localStorage.getItem(artNetControllerStorageKey(ARTNET_UNIVERSE_STORAGE_KEY, controllerId))
    ?? (controllerId === "artnet-dmx2" ? localStorage.getItem(ARTNET_UNIVERSE_STORAGE_KEY) : null);
  els.artnetIp.value = storedIp || profile.defaultIp;
  els.artnetUniverse.value = String(clamp(
    storedUniverse === null ? profile.defaultUniverse : Number(storedUniverse),
    0,
    255
  ));
  updateArtNetControllerHelp();
}

function restoreArtNetController() {
  const storedControllerId = localStorage.getItem(ARTNET_CONTROLLER_STORAGE_KEY);
  const controllerId = ARTNET_CONTROLLERS[storedControllerId] ? storedControllerId : "artnet-dmx2";
  els.artnetController.value = controllerId;
  localStorage.setItem(ARTNET_CONTROLLER_STORAGE_KEY, controllerId);
  loadArtNetControllerSettings(controllerId);
}

function persistArtNetNetworkSettings() {
  const controllerId = ARTNET_CONTROLLERS[els.artnetController.value]
    ? els.artnetController.value
    : "artnet-dmx2";
  const profile = ARTNET_CONTROLLERS[controllerId] || ARTNET_CONTROLLERS["artnet-dmx2"];
  const targetIp = (els.artnetIp.value.trim() || profile.defaultIp).trim();
  const universe = clamp(Number(els.artnetUniverse.value || profile.defaultUniverse), 0, 255);

  els.artnetIp.value = targetIp;
  els.artnetUniverse.value = String(universe);
  localStorage.setItem(artNetControllerStorageKey(ARTNET_IP_STORAGE_KEY, controllerId), targetIp);
  localStorage.setItem(artNetControllerStorageKey(ARTNET_UNIVERSE_STORAGE_KEY, controllerId), String(universe));
  if (controllerId === "artnet-dmx2") {
    localStorage.setItem(ARTNET_IP_STORAGE_KEY, targetIp);
    localStorage.setItem(ARTNET_UNIVERSE_STORAGE_KEY, String(universe));
  }

  return { targetIp, universe };
}

function carrierFrequencyOptionText(value) {
  const labels = {
    "174": ["relaxation and grounding", "ontspanning en gronding"],
    "285": ["recovery and body awareness", "herstel en lichaamsbewustzijn"],
    "396": ["releasing tension", "loslaten van spanning"],
    "417": ["change and reset", "verandering en reset"],
    "432": ["calm natural tuning", "rustige natuurlijke afstemming"],
    "528": ["balance and transformation", "balans en transformatie"],
    "639": ["connection and harmony", "verbinding en harmonie"],
    "741": ["clarity and expression", "helderheid en expressie"],
    "852": ["intuition and inward attention", "intuïtie en innerlijke aandacht"],
    "963": ["stillness and expanded awareness", "stilte en verruimd bewustzijn"]
  };
  const carrierValue = String(Math.round(Number(value)));
  const label = labels[carrierValue]?.[currentLanguage === "nl" ? 1 : 0]
    || (currentLanguage === "nl" ? "aangepaste draaggolf" : "custom carrier");
  return `${carrierValue} Hz - ${label}`;
}

function setCarrierFrequencyValue(value) {
  const carrier = Math.round(boundedSessionNumber(value, 100, 1200, 528));
  const carrierValue = String(carrier);
  let option = Array.from(els.carrierFrequency.options).find((item) => item.value === carrierValue);
  if (!option) {
    option = document.createElement("option");
    option.value = carrierValue;
    els.carrierFrequency.append(option);
  }
  option.textContent = carrierFrequencyOptionText(carrierValue);
  els.carrierFrequency.value = carrierValue;
}

function applyLanguage(language, persist = true) {
  currentLanguage = language === "nl" ? "nl" : "en";
  invalidateSessionProgramCache();
  document.documentElement.lang = currentLanguage;
  els.languageSelect.value = currentLanguage;
  if (persist) localStorage.setItem(LANGUAGE_STORAGE_KEY, currentLanguage);

  document.querySelectorAll("[data-i18n]").forEach((element) => {
    element.textContent = t(element.dataset.i18n);
  });
  document.querySelectorAll("[data-i18n-aria]").forEach((element) => {
    element.setAttribute("aria-label", t(element.dataset.i18nAria));
  });
  document.querySelectorAll("[data-i18n-href]").forEach((element) => {
    element.setAttribute("href", t(element.dataset.i18nHref));
  });
  document.querySelectorAll("[data-i18n-title]").forEach((element) => {
    element.setAttribute("title", t(element.dataset.i18nTitle));
  });
  document.querySelectorAll("[data-i18n-alt]").forEach((element) => {
    element.setAttribute("alt", t(element.dataset.i18nAlt));
  });
  document.querySelectorAll("[data-i18n-placeholder]").forEach((element) => {
    element.setAttribute("placeholder", t(element.dataset.i18nPlaceholder));
  });
  updateControlStatusIcons();
  updateMusicLibraryStatus();
  updateAffiliateDisplay();
  if (!HAS_LIGHT) {
    els.settingsSubtitle.textContent = currentLanguage === "nl" ? "Taal & presenter" : "Language & presenter";
    els.blackoutButton.textContent = currentLanguage === "nl" ? "Alles dempen" : "Mute all";
  }
  updateDmxOutputModeControls();

  translateOption(els.audioMode, "isochronic", "Isochronic", "Isochroon");
  translateOption(els.audioMode, "binaural", "Binaural", "Binaural");
  translateOption(els.audioMode, "monaural", "Monaural", "Monaural");
  translateOption(els.audioMode, "isochronic-monaural", "Isochronic + monaural", "Isochroon + monaural");
  translateOption(els.audioPulseShape, "sine", "Sine (most relaxing)", "Sinus (meest ontspannend)");
  translateOption(els.audioPulseShape, "triangle", "Triangle (smooth stimulation)", "Driehoek (vloeiende stimulatie)");
  translateOption(els.audioPulseShape, "square", "Square (strongest entrainment)", "Vierkant (krachtigste entrainment)");
  translateOption(els.audioPulseShape, "trapezoid", "Trapezoid (steady plateau)", "Trapezium (stabiel plateau)");
  translateOption(els.audioPulseShape, "sawtooth", "Sawtooth (rising ramp)", "Zaagtand (oplopende ramp)");
  translateOption(els.noiseType, "none", "No noise", "Geen ruis");
  translateOption(els.noiseType, "white", "White noise", "Witte ruis");
  translateOption(els.noiseType, "pink", "Pink noise", "Roze ruis");
  if (HAS_AURORA_MODE) {
    translateOption(els.auroraPreset, "subtle", "Subtle", "Subtiel");
    translateOption(els.auroraPreset, "medium", "Medium", "Medium");
    translateOption(els.auroraPreset, "intense", "Intense", "Intens");
    translateOption(els.auroraPreset, "custom", "Custom", "Custom");
  }
  if (HAS_SPATIAL_REVERB) {
    translateOption(els.reverbPreset, "none", "No reverb", "Geen galm");
    translateOption(els.reverbPreset, "room", "Room", "Kamer");
    translateOption(els.reverbPreset, "hall", "Hall", "Zaal");
    translateOption(els.reverbPreset, "cathedral", "Cathedral", "Kathedraal");
    translateOption(els.reverbPreset, "ganzfeld", "Infinity Ganzfeld™ Space", "Infinity Ganzfeld™-ruimte");
  }
  [
    ["174", "relaxation and grounding", "ontspanning en gronding"],
    ["285", "recovery and body awareness", "herstel en lichaamsbewustzijn"],
    ["396", "releasing tension", "loslaten van spanning"],
    ["417", "change and reset", "verandering en reset"],
    ["432", "calm natural tuning", "rustige natuurlijke afstemming"],
    ["528", "balance and transformation", "balans en transformatie"],
    ["639", "connection and harmony", "verbinding en harmonie"],
    ["741", "clarity and expression", "helderheid en expressie"],
    ["852", "intuition and inward attention", "intuïtie en innerlijke aandacht"],
    ["963", "stillness and expanded awareness", "stilte en verruimd bewustzijn"]
  ].forEach(([value, en, nl]) => translateOption(els.carrierFrequency, value, `${value} Hz - ${en}`, `${value} Hz - ${nl}`));
  Array.from(els.carrierFrequency.options).forEach((option) => {
    if (!["174", "285", "396", "417", "432", "528", "639", "741", "852", "963"].includes(option.value)) {
      option.textContent = carrierFrequencyOptionText(option.value);
    }
  });
  translateOption(
    els.fixturePreset,
    "eurolite-abl-13ch",
    "Eurolite LED Super Strobe ABL / current 13CH setup",
    "Eurolite LED Super Strobe ABL / huidige 13CH setup"
  );

  els.lightSafetyNote.innerHTML = currentLanguage === "nl"
    ? '<strong class="warning-label">Waarschuwing:</strong> snel knipperend licht kan klachten of aanvallen veroorzaken bij lichtgevoelige epilepsie. Niet gebruiken bij epilepsie, zwangerschap, ernstige hartklachten of zonder medisch advies bij twijfel. Als alternatief kan de Infinity Ganzfeld™-modus worden gebruikt voor continu, egaal RGB-licht zonder pulsen of witte flitsen.'
    : '<strong class="warning-label">Warning:</strong> rapidly flashing light may cause symptoms or seizures in people with photosensitive epilepsy. Do not use with epilepsy, pregnancy, serious heart conditions, or without medical advice when in doubt. As an alternative, Infinity Ganzfeld™ mode can provide continuous, uniform RGB light without pulses or white flashes.';
  els.audioSafetyNote.textContent = currentLanguage === "nl"
    ? "Binaural beats zijn bedoeld voor gebruik met een hoofdtelefoon. Houd het volume comfortabel laag. Witte of roze ruis kan Infinity Ganzfeld™-sessies intensiever maken; stop bij ongemak, angst of desoriëntatie."
    : "Binaural beats are intended for headphone use. Keep the volume comfortably low. White or pink noise can intensify Infinity Ganzfeld™ sessions; stop if you feel discomfort, anxiety or disorientation.";
  updateArtNetControllerHelp();

  const elapsed = state.sessionElapsedSeconds;
  const selectedProgramId = els.sessionSelect.value || state.sessionProgramId;
  const currentCategoryId = els.sessionCategory.value;
  const selectedProgram = sessionPrograms[selectedProgramId];
  const selectedCategoryId = selectedProgram && programMatchesSessionCategory(selectedProgram, currentCategoryId)
    ? currentCategoryId
    : (normalizedSessionSearchQuery() ? SEARCH_RESULTS_SESSION_CATEGORY_ID : (selectedProgram?.category || currentCategoryId));
  renderSessionCategories();
  updateSessionCategory(selectedCategoryId, selectedProgramId);
  if (els.sessionEditorDialog?.open) {
    renderSessionEditorSubcategoryOptions(els.sessionEditorCategory.value, els.sessionEditorSubcategory?.value || "");
  }
  state.sessionElapsedSeconds = elapsed;
  if (sessionPrograms[selectedProgramId]) {
    state.sessionProgramId = selectedProgramId;
    renderSessionProgram();
    if (state.sessionRunning) applySessionFrame();
  }
  updateControlTabAvailability();
  if (!state.sessionRunning) {
    const completed = state.sessionElapsedSeconds >= (sessionPrograms[selectedProgramId]?.durationSeconds || Infinity);
    els.sessionStatus.value = localizedRuntimeText(completed ? "Voltooid" : "Gereed");
    els.sessionStartButton.textContent = currentLanguage === "nl" ? "Start sessie" : "Start session";
    setButtonLabel(els.sessionPauseButton, currentLanguage === "nl" ? "Pauze" : "Pause");
    els.sessionPhaseName.textContent = completed
      ? (currentLanguage === "nl" ? "Sessie voltooid" : "Session completed")
      : (currentLanguage === "nl" ? "Niet gestart" : "Not started");
    els.sessionPhasePurpose.textContent = completed
      ? (currentLanguage === "nl" ? "Neem rustig de tijd voordat je verdergaat." : "Take a quiet moment before continuing.")
      : (currentLanguage === "nl" ? "Kies Start sessie om het programma te beginnen." : "Choose Start session to begin the program.");
  }
  updateSessionLibraryControls();
  if (marketplaceCatalogLoaded) renderMarketplace();

  renderMusicCategories();
  renderMusicPlaylist();
  updateLabels();
  updateBreathingGuide();
  els.statusText.textContent = localizedRuntimeText(state.connectionStatusText || "Art-Net verbinden...");
  els.sentHexLabel.textContent = currentLanguage === "nl"
    ? `Verzonden HEX-code naar ${fixtureProfiles[state.activeFixtureId]?.name || ""}`
    : `HEX code sent to ${fixtureProfiles[state.activeFixtureId]?.name || ""}`;
}

function percentToDmx(value) {
  return Math.round(clamp(Number(value), 0, 100) * 2.55);
}

function pulsePosition(hz) {
  const frequency = clamp(Number(hz), 0.1, 40);
  if (Math.abs(state.pulseFrequency - frequency) > 0.0001) {
    state.pulseFrequency = frequency;
    state.pulseEpochMs = performance.now();
  }

  return ((performance.now() - state.pulseEpochMs) / 1000 * frequency) % 1;
}

function whitePulseIsOn() {
  const hz = state.sessionRunning && state.sessionPulseMode === "sync"
    ? state.sessionLightHz
    : Number(els.frequency.value);
  return pulsePosition(hz) < 0.5;
}

function manualHardwareStrobeActive() {
  return false;
}

function frequencyToStrobeDmx(frequency) {
  const hz = clamp(Number(frequency), 0.1, 40);
  return clamp(Math.round(32 + hz * 19.2), 1, 255);
}

function pulseShapeMultiplier(position, shape = "sine") {
  const phase = ((Number(position) || 0) % 1 + 1) % 1;
  switch (shape) {
    case "triangle":
      return 1 - Math.abs(phase * 2 - 1);
    case "square":
      return phase < 0.5 ? 1 : 0;
    case "trapezoid":
      if (phase < 0.2) return phase / 0.2;
      if (phase < 0.6) return 1;
      if (phase < 0.8) return (0.8 - phase) / 0.2;
      return 0;
    case "sawtooth":
      return phase;
    default:
      return 0.5 - 0.5 * Math.cos(phase * Math.PI * 2);
  }
}

function shouldUseServerDmxPulse() {
  if (!HAS_LIGHT || !state.enabled || state.blackoutActive || state.ganzfeldActive || state.sessionEditorLightPreview) {
    return false;
  }
  if (screenLightClientSourceActive()) return false;
  if (state.musicLightCodeSafeModeSnapshot) return false;
  if (manualHardwareStrobeActive()) return false;

  const whiteActive = state.sessionRunning
    ? state.sessionPulseMode === "sync" && !els.sessionWhiteLightDisabled.checked && Number(els.strobeIntensity.value) > 0
    : Number(els.strobeIntensity.value) > 0;
  const rgbActive = Number(els.rgbIntensity.value) > 0
    && (state.sessionRunning ? (els.rgbPulseEnabled.checked || whiteActive) : true);

  return whiteActive || rgbActive;
}

function outputFrequencyWithThreshold(rawFrequency, stateKey) {
  const numericFrequency = Number(rawFrequency);
  const frequency = Number.isFinite(numericFrequency) ? clamp(numericFrequency, 0.1, 40) : 10;
  const previous = Number(state[stateKey]);
  if (
    !Number.isFinite(previous)
    || Math.abs(frequency - previous) >= OUTPUT_FREQUENCY_UPDATE_THRESHOLD_HZ
  ) {
    state[stateKey] = frequency;
  }
  return state[stateKey];
}

function serverDmxPulseHz() {
  if (!shouldUseServerDmxPulse()) return null;
  let frequency = state.sessionRunning && state.sessionPulseMode === "sync"
    ? state.sessionLightHz
    : Number(els.frequency.value);
  if (state.sessionRunning && selectedDmxOutputMode().startsWith("open-dmx-ftdi")) {
    frequency = Math.min(frequency, OPEN_DMX_SOFTWARE_PULSE_MAX_HZ);
  }
  return outputFrequencyWithThreshold(frequency, "dmxPublishedPulseFrequencyHz");
}

function serverDmxPulseChannels() {
  if (!shouldUseServerDmxPulse()) return [];

  const channels = [];
  const whiteActive = state.sessionRunning
    ? !els.sessionWhiteLightDisabled.checked && Number(els.strobeIntensity.value) > 0
    : Number(els.strobeIntensity.value) > 0;
  const continuousRgbActive = state.ganzfeldActive;
  const rgbActive = !continuousRgbActive
    && Number(els.rgbIntensity.value) > 0
    && (state.sessionRunning ? (els.rgbPulseEnabled.checked || whiteActive) : true);

  if (whiteActive) channels.push(channel("whiteDimmerChannel"));
  if (rgbActive) {
    if (state.activeFixtureId === "beamz-bs336-30ch") {
      for (let zone = 0; zone < 8; zone += 1) {
        const firstChannel = clamp(Number(els.startAddress.value || 1), 1, DMX_SIZE) + 2 + zone * 3;
        channels.push(firstChannel, firstChannel + 1, firstChannel + 2);
      }
    } else if (state.activeFixtureId === "atomic-led-strobe-6ch") {
      channels.push(
        channel("redChannel"),
        channel("greenChannel"),
        channel("blueChannel")
      );
    } else {
      channels.push(channel("rgbDimmerChannel"));
    }
  }
  return [...new Set(channels)];
}

function serverDmxPulseShape() {
  if (!shouldUseServerDmxPulse()) return "square";
  return "square";
}

function sessionLightMultiplier() {
  if (!state.sessionRunning || state.sessionLightHz <= 0) {
    return 1;
  }

  if (state.sessionPulseMode === "sync") {
    const position = pulsePosition(state.sessionLightHz);
    return pulseShapeMultiplier(position, state.sessionPulseShape);
  }

  if (state.sessionPulseMode !== "breathe") {
    return 1;
  }

  const phase = (performance.now() / 1000) * state.sessionLightHz * Math.PI * 2;
  return 0.05 + ((Math.sin(phase - Math.PI / 2) + 1) / 2) * 0.95;
}

function hexToRgb(hex) {
  const clean = hex.replace("#", "");
  return {
    r: parseInt(clean.slice(0, 2), 16),
    g: parseInt(clean.slice(2, 4), 16),
    b: parseInt(clean.slice(4, 6), 16)
  };
}

function correctRgbColor(color) {
  const r = color.r / 255;
  const g = color.g / 255;
  const b = color.b / 255;
  const max = Math.max(r, g, b);
  const min = Math.min(r, g, b);
  const lightness = (max + min) / 2;
  const delta = max - min;
  let hue = 0;
  let saturation = 0;

  if (delta > 0) {
    saturation = delta / (1 - Math.abs(2 * lightness - 1));
    if (max === r) hue = 60 * (((g - b) / delta) % 6);
    if (max === g) hue = 60 * ((b - r) / delta + 2);
    if (max === b) hue = 60 * ((r - g) / delta + 4);
  }

  hue = (hue + Number(els.rgbHueCorrection.value || 0) + 360) % 360;
  saturation = clamp(saturation * (Number(els.rgbSaturationCorrection.value || 100) / 100), 0, 1);

  const chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;
  const x = chroma * (1 - Math.abs(((hue / 60) % 2) - 1));
  const offset = lightness - chroma / 2;
  let corrected;

  if (hue < 60) corrected = [chroma, x, 0];
  else if (hue < 120) corrected = [x, chroma, 0];
  else if (hue < 180) corrected = [0, chroma, x];
  else if (hue < 240) corrected = [0, x, chroma];
  else if (hue < 300) corrected = [x, 0, chroma];
  else corrected = [chroma, 0, x];

  return {
    r: Math.round((corrected[0] + offset) * 255),
    g: Math.round((corrected[1] + offset) * 255),
    b: Math.round((corrected[2] + offset) * 255)
  };
}

function outputRgbColor() {
  const selectedColor = hexToRgb(els.rgbColor.value);
  if (state.activeFixtureId === "atomic-led-strobe-6ch") {
    // macOS WebKit can return #ff2600 after selecting pure red in its native color panel.
    return selectedColor.r === 255 && selectedColor.g === 38 && selectedColor.b === 0
      ? { r: 255, g: 0, b: 0 }
      : selectedColor;
  }
  return correctRgbColor(selectedColor);
}

function rgbToHex(color) {
  const channelHex = (value) => clamp(Math.round(value), 0, 255).toString(16).padStart(2, "0");
  return `#${channelHex(color.r)}${channelHex(color.g)}${channelHex(color.b)}`.toUpperCase();
}

function mixRgb(left, right, amount) {
  const ratio = clamp(Number(amount), 0, 1);
  return {
    r: Math.round(interpolate(left.r, right.r, ratio)),
    g: Math.round(interpolate(left.g, right.g, ratio)),
    b: Math.round(interpolate(left.b, right.b, ratio))
  };
}

function auroraPresetDefaults(preset) {
  return {
    subtle: { speed: 0.18, depth: 35 },
    medium: { speed: 0.28, depth: 55 },
    intense: { speed: 0.45, depth: 78 },
    custom: {
      speed: clamp(Number(els.auroraSpeed?.value), 0.05, 2),
      depth: clamp(Number(els.auroraDepth?.value), 0, 100)
    }
  }[preset] || { speed: 0.18, depth: 35 };
}

function auroraColorAt(seconds, speed = 0.25, depth = 50, baseColor = { r: 64, g: 201, b: 255 }) {
  const palette = [
    { r: 20, g: 72, b: 255 },
    { r: 0, g: 229, b: 255 },
    { r: 0, g: 255, b: 157 },
    { r: 112, g: 91, b: 255 },
    { r: 255, g: 78, b: 219 }
  ];
  const cycle = Math.max(0.01, Number(speed)) * Number(seconds);
  const position = ((cycle % 1) + 1) % 1;
  const scaled = position * palette.length;
  const index = Math.floor(scaled) % palette.length;
  const nextIndex = (index + 1) % palette.length;
  const localProgress = scaled - index;
  const shimmer = 0.5 + Math.sin(seconds * Math.max(0.05, Number(speed)) * Math.PI * 2.7) * 0.5;
  const paletteColor = mixRgb(palette[index], palette[nextIndex], localProgress);
  const depthRatio = clamp(Number(depth), 0, 100) / 100;
  return mixRgb(baseColor, paletteColor, depthRatio * (0.65 + shimmer * 0.25));
}

function auroraRuntimeSettings() {
  if (!HAS_AURORA_MODE || !els.auroraEnabled?.checked) {
    return { active: false, preset: "subtle", speed: 0.18, depth: 0 };
  }
  const preset = els.auroraPreset.value || "subtle";
  const defaults = auroraPresetDefaults(preset);
  return {
    active: true,
    preset,
    speed: preset === "custom" ? clamp(Number(els.auroraSpeed.value), 0.05, 2) : defaults.speed,
    depth: preset === "custom" ? clamp(Number(els.auroraDepth.value), 0, 100) : defaults.depth
  };
}

function auroraOutputColor(baseColor) {
  const settings = auroraRuntimeSettings();
  if (!settings.active) return baseColor;
  const seconds = state.sessionRunning
    ? state.sessionElapsedSeconds
    : performance.now() / 1000;
  return auroraColorAt(seconds, settings.speed, settings.depth, baseColor);
}

function getBrainwaveBand(value) {
  const hz = clamp(Number(value), 0.1, 40);
  return brainwaveBands.find((band) => hz >= band.min && hz <= band.max) || brainwaveBands[0];
}

function channel(id) {
  const start = clamp(Number(els.startAddress.value || 1), 1, DMX_SIZE);
  const relative = clamp(Number(els[id].value || 1), 1, DMX_SIZE);
  return clamp(start + relative - 1, 1, DMX_SIZE);
}

function optionalChannel(id) {
  const relative = Number(els[id].value || 0);
  if (relative < 1) return null;

  const start = clamp(Number(els.startAddress.value || 1), 1, DMX_SIZE);
  return clamp(start + relative - 1, 1, DMX_SIZE);
}

function setChannel(dmxChannel, value) {
  dmx[dmxChannel - 1] = clamp(Math.round(value), 0, 255);
}

function setRelativeChannel(relativeChannel, value) {
  const start = clamp(Number(els.startAddress.value || 1), 1, DMX_SIZE);
  setChannel(clamp(start + relativeChannel - 1, 1, DMX_SIZE), value);
}

async function sendFrame(options = {}) {
  if (!HAS_LIGHT) return;
  if (screenLightSuppressesDmx()) {
    if (!state.screenLightDmxBlackoutSent) {
      state.screenLightDmxBlackoutSent = true;
      await sendDmxFrame(Array(DMX_SIZE).fill(0), {
        sourceKind: "screen-light",
        pulseHz: 0,
        pulseChannels: []
      });
    }
    updateConnection(false, "Smartphone Light actief");
    return;
  }
  if (!state.hasDmxControl || document.hidden) return;
  state.screenLightDmxBlackoutSent = false;
  if (state.sendInFlight) {
    state.sendPending = true;
    return;
  }

  state.sendInFlight = true;
  try {
    const response = await sendDmxFrame(Array.from(dmx), options);

    const outputIsUsb = selectedDmxOutputMode() !== "artnet";
    recordConnectionResult(response.ok, response.ok
      ? (outputIsUsb ? "USB-DMX actief" : "Art-Net actief")
      : (outputIsUsb ? "USB-DMX fout" : "Art-Net fout"));
  } catch (error) {
    recordConnectionResult(false, "Server niet bereikbaar");
  } finally {
    state.sendInFlight = false;
    if (state.sendPending) {
      state.sendPending = false;
      setTimeout(sendFrame, 0);
    }
  }
}

function screenLightSuppressesDmx() {
  return HAS_LIGHT && screenLightClientSourceActive();
}

function dmxSourceKind(options = {}) {
  if (options.sourceKind) return options.sourceKind;
  if (state.musicLightCodeSafeModeSnapshot) return "music-light";
  if (state.sessionRunning) return "session";
  return "manual";
}

function dmxPayloadForFrame(dmxFrame, options = {}) {
  const artNetTarget = persistArtNetNetworkSettings();
  return {
    clientId: DMX_OWNER_ID,
    sourceKind: dmxSourceKind(options),
    outputMode: selectedDmxOutputMode(),
    serialPort: selectedDmxSerialPort(),
    targetIp: artNetTarget.targetIp,
    universe: artNetTarget.universe,
    dmx: dmxFrame,
    pulseHz: options.pulseHz ?? serverDmxPulseHz(),
    pulseChannels: options.pulseChannels ?? serverDmxPulseChannels(),
    pulseShape: serverDmxPulseShape()
  };
}

function dmxPayloadSignature(payload) {
  return JSON.stringify({
    sourceKind: payload.sourceKind,
    outputMode: payload.outputMode,
    serialPort: payload.serialPort,
    targetIp: payload.targetIp,
    universe: payload.universe,
    dmx: payload.dmx,
    pulseHz: payload.pulseHz,
    pulseChannels: payload.pulseChannels,
    pulseShape: payload.pulseShape
  });
}

function dmxPayloadUsesServerPulse(payload) {
  return Number(payload.pulseHz) > 0
    && Array.isArray(payload.pulseChannels)
    && payload.pulseChannels.length > 0;
}

function traceDmxPayload(payload, signature, skipped = false) {
  if (localStorage.getItem("neurosync.dmxTrace") !== "true") return;
  if (Date.now() < state.dmxTraceRetryAt) return;
  const dmx = Array.isArray(payload.dmx) ? payload.dmx : [];
  const tracePayload = {
    at: performance.now(),
    skipped,
    signature,
    sessionRunning: state.sessionRunning,
    sessionElapsedSeconds: Number(state.sessionElapsedSeconds || 0),
    sourceKind: payload.sourceKind,
    outputMode: payload.outputMode,
    serialPort: payload.serialPort,
    pulseHz: payload.pulseHz,
    pulseShape: payload.pulseShape,
    pulseChannels: payload.pulseChannels,
    whiteValue: dmx[channel("whiteDimmerChannel") - 1] || 0,
    rgbDimmerValue: dmx[channel("rgbDimmerChannel") - 1] || 0,
    redValue: dmx[channel("redChannel") - 1] || 0,
    greenValue: dmx[channel("greenChannel") - 1] || 0,
    blueValue: dmx[channel("blueChannel") - 1] || 0
  };
  fetch("http://127.0.0.1:9876/dmx-trace", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify(tracePayload),
    keepalive: true
  }).catch(() => {
    state.dmxTraceRetryAt = Date.now() + 5000;
  });
}

function serverPulseCanRunWithoutUiRefresh() {
  if (!shouldUseServerDmxPulse()) return false;
  if (state.sessionRunning || state.sessionEditorLightPreview || state.musicLightCodeSafeModeSnapshot) return false;
  if (HAS_AURORA_MODE && auroraRuntimeSettings().active) return false;
  return true;
}

async function sendDmxFrame(dmxFrame, options = {}) {
  const payload = dmxPayloadForFrame(dmxFrame, options);
  const signature = dmxPayloadSignature(payload);
  const skipDuplicatePulseFrame = !options.force
    && dmxPayloadUsesServerPulse(payload)
    && signature === state.lastDmxPayloadSignature;
  if ((options.onlyIfChanged || skipDuplicatePulseFrame) && signature === state.lastDmxPayloadSignature) {
    traceDmxPayload(payload, signature, true);
    return Promise.resolve({ ok: true, skipped: true });
  }
  traceDmxPayload(payload, signature, false);
  const response = await fetch("/dmx", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify(payload)
  });
  state.lastDmxPayloadSignature = response.ok ? signature : "";
  state.lastDmxPayloadSentAt = response.ok ? Date.now() : 0;
  return response;
}

function renderDmx(updatePreview = true) {
  if (!HAS_LIGHT) return;
  dmx.fill(0);

  if (!state.enabled || state.blackoutActive) {
    if (updatePreview) updateVisualizer(0, 0);
    return;
  }

  const editorPreview = state.sessionEditorLightPreview;
  const lightCodeSafeMode = Boolean(state.musicLightCodeSafeModeSnapshot);
  const lightCodeType = state.musicLightCodeDecoder?.lightCode || "";
  let strobeIntensity = Number(els.strobeIntensity.value);
  let rgbIntensity = editorPreview?.intensity ?? Number(els.rgbIntensity.value);
  let color = editorPreview
    ? correctRgbColor(hexToRgb(editorPreview.color))
    : outputRgbColor();
  if (lightCodeSafeMode && musicLightCodeUsesWhiteFlashOnly(lightCodeType)) {
    strobeIntensity = Math.max(strobeIntensity, rgbIntensity);
    rgbIntensity = 0;
    color = { r: 255, g: 255, b: 255 };
  }
  if (!editorPreview) {
    color = auroraOutputColor(color);
  }
  const ganzfeldActive = state.ganzfeldActive;
  const continuousRgbActive = ganzfeldActive || Boolean(editorPreview);

  const serverPulseActive = shouldUseServerDmxPulse();
  const hardwareStrobeActive = manualHardwareStrobeActive();
  const pulseOn = whitePulseIsOn();
  const lightMultiplier = sessionLightMultiplier();
  const whiteOutput = lightCodeSafeMode
    ? strobeIntensity
    : continuousRgbActive
    ? 0
    : hardwareStrobeActive
      ? strobeIntensity
    : state.sessionRunning
      ? (els.sessionWhiteLightDisabled.checked ? 0 : strobeIntensity * (serverPulseActive ? 1 : lightMultiplier))
      : strobeIntensity > 0 && (serverPulseActive || pulseOn) ? strobeIntensity : 0;
  const sessionRgbOutput = rgbIntensity * lightMultiplier;
  const manualRgbPulseRequested = !state.sessionRunning
    && !continuousRgbActive
    && rgbIntensity > 0;
  const rgbFollowsWhitePulse = !continuousRgbActive && (whiteOutput > 0 || serverPulseActive || manualRgbPulseRequested);
  const sessionRgbPulseActive = state.sessionRunning
    && !continuousRgbActive
    && (els.rgbPulseEnabled.checked || rgbFollowsWhitePulse);
  const manualRgbPulseActive = !state.sessionRunning
    && !continuousRgbActive
    && (els.rgbPulseEnabled.checked || rgbFollowsWhitePulse);
  const rgbPulseActive = sessionRgbPulseActive || manualRgbPulseActive;
  const rgbOutput = lightCodeSafeMode
    ? rgbIntensity
    : continuousRgbActive
    ? rgbIntensity
    : hardwareStrobeActive
      ? rgbIntensity
    : state.sessionRunning
      ? (rgbPulseActive ? (serverPulseActive ? rgbIntensity : sessionRgbOutput) : rgbIntensity)
      : (rgbPulseActive && !serverPulseActive && !pulseOn ? 0 : rgbIntensity);
  if (state.activeFixtureId === "beamz-bs336-30ch") {
    setRelativeChannel(1, whiteOutput > 0 || rgbOutput > 0 ? 255 : 0);
    setRelativeChannel(2, hardwareStrobeActive ? frequencyToStrobeDmx(els.frequency.value) : 0);
    const beamzRed = Math.round(color.r * (rgbOutput / 100));
    const beamzGreen = Math.round(color.g * (rgbOutput / 100));
    const beamzBlue = Math.round(color.b * (rgbOutput / 100));

    for (let zone = 0; zone < 8; zone += 1) {
      const firstChannel = 3 + zone * 3;
      setRelativeChannel(firstChannel, beamzRed);
      setRelativeChannel(firstChannel + 1, beamzGreen);
      setRelativeChannel(firstChannel + 2, beamzBlue);
    }

    for (let channelNumber = 27; channelNumber <= 30; channelNumber += 1) {
      setRelativeChannel(channelNumber, percentToDmx(whiteOutput));
    }
  } else if (state.activeFixtureId === "atomic-led-strobe-6ch") {
    setRelativeChannel(1, whiteOutput > 0 || rgbOutput > 0 ? 255 : 0);
    setRelativeChannel(2, hardwareStrobeActive ? frequencyToStrobeDmx(els.frequency.value) : 0);
    setRelativeChannel(3, Math.round(color.r * (rgbOutput / 100)));
    setRelativeChannel(4, Math.round(color.g * (rgbOutput / 100)));
    setRelativeChannel(5, Math.round(color.b * (rgbOutput / 100)));
    setRelativeChannel(6, percentToDmx(whiteOutput));
  } else if (state.activeFixtureId === "eurolite-abl-13ch") {
    setChannel(channel("whiteDimmerChannel"), percentToDmx(whiteOutput));
    setChannel(channel("whiteStrobeChannel"), hardwareStrobeActive ? frequencyToStrobeDmx(els.frequency.value) : 0);
    const whiteDurationChannel = optionalChannel("whiteDurationChannel");
    if (whiteDurationChannel) setChannel(whiteDurationChannel, 0);
    setChannel(channel("rgbDimmerChannel"), percentToDmx(rgbOutput));
    setChannel(channel("rgbStrobeChannel"), hardwareStrobeActive && rgbOutput > 0 ? frequencyToStrobeDmx(els.frequency.value) : 0);
    setChannel(channel("redChannel"), color.r);
    setChannel(channel("greenChannel"), color.g);
    setChannel(channel("blueChannel"), color.b);
    for (let channelNumber = 9; channelNumber <= 13; channelNumber += 1) {
      setRelativeChannel(channelNumber, 0);
    }
  } else {
    setChannel(channel("whiteDimmerChannel"), percentToDmx(whiteOutput));
    setChannel(channel("whiteStrobeChannel"), hardwareStrobeActive ? frequencyToStrobeDmx(els.frequency.value) : 0);
    const whiteDurationChannel = optionalChannel("whiteDurationChannel");
    if (whiteDurationChannel) {
      setChannel(whiteDurationChannel, 0);
    }
    setChannel(channel("rgbDimmerChannel"), percentToDmx(rgbOutput));
    setChannel(channel("rgbStrobeChannel"), hardwareStrobeActive && rgbOutput > 0 ? frequencyToStrobeDmx(els.frequency.value) : 0);
    setChannel(channel("redChannel"), color.r);
    setChannel(channel("greenChannel"), color.g);
    setChannel(channel("blueChannel"), color.b);
  }

  if (updatePreview) updateVisualizer(continuousRgbActive ? 0 : strobeIntensity, rgbIntensity);
}

function renderAudioSettingsGraph() {
  const width = 640;
  const height = 230;
  const plot = { left: 44, right: 18, top: 14, bottom: 126 };
  const plotWidth = width - plot.left - plot.right;
  const plotHeight = plot.bottom - plot.top;
  const bass = clamp(Number(els.equalizerBass.value), -12, 12);
  const mid = clamp(Number(els.equalizerMid.value), -12, 12);
  const treble = clamp(Number(els.equalizerTreble.value), -12, 12);
  const master = clamp(Number(els.masterVolume.value), 0, 100);
  const balance = clamp(Number(els.audioBalance.value), -100, 100);
  const sampleCount = 96;
  const xForFrequency = (frequency) => plot.left + (Math.log10(frequency / 20) / 3) * plotWidth;
  const yForGain = (gain) => plot.top + ((12 - clamp(gain, -12, 12)) / 24) * plotHeight;
  const responseAt = (frequency) => {
    const logFrequency = Math.log10(frequency);
    const bassWeight = 1 / (1 + Math.exp((logFrequency - Math.log10(180)) * 7));
    const midDistance = (logFrequency - 3) / 0.48;
    const midWeight = Math.exp(-0.5 * midDistance * midDistance);
    const trebleWeight = 1 / (1 + Math.exp(-(logFrequency - Math.log10(4200)) * 7));
    return bass * bassWeight + mid * midWeight + treble * trebleWeight;
  };
  const points = Array.from({ length: sampleCount + 1 }, (_, index) => {
    const frequency = 20 * (1000 ** (index / sampleCount));
    return `${xForFrequency(frequency).toFixed(1)},${yForGain(responseAt(frequency)).toFixed(1)}`;
  }).join(" ");
  const fillPoints = `${plot.left},${yForGain(0)} ${points} ${width - plot.right},${yForGain(0)}`;
  const masterWidth = (master / 100) * plotWidth;
  const balanceX = plot.left + ((balance + 100) / 200) * plotWidth;
  const labels = currentLanguage === "nl"
    ? { response: "EQ-respons", master: "Mastervolume", balance: "Balans", left: "L", right: "R" }
    : { response: "EQ response", master: "Master volume", balance: "Balance", left: "L", right: "R" };

  els.audioSettingsGraph.innerHTML = `
    <svg viewBox="0 0 ${width} ${height}" role="img" aria-label="${t("audioVisualization")}">
      <text class="audio-label" x="${plot.left}" y="10">${labels.response}</text>
      ${[-12, -6, 0, 6, 12].map((gain) => `
        <line class="${gain === 0 ? "audio-zero" : "audio-grid"}" x1="${plot.left}" y1="${yForGain(gain)}" x2="${width - plot.right}" y2="${yForGain(gain)}"></line>
        <text class="audio-label" x="4" y="${yForGain(gain) + 3}">${gain > 0 ? "+" : ""}${gain}</text>
      `).join("")}
      ${[
        [20, "20"],
        [100, "100"],
        [1000, "1k"],
        [10000, "10k"],
        [20000, "20k"]
      ].map(([frequency, label]) => `
        <line class="audio-grid" x1="${xForFrequency(frequency)}" y1="${plot.top}" x2="${xForFrequency(frequency)}" y2="${plot.bottom}"></line>
        <text class="audio-label" x="${xForFrequency(frequency)}" y="${plot.bottom + 15}" text-anchor="middle">${label}</text>
      `).join("")}
      <polygon class="audio-curve-fill" points="${fillPoints}"></polygon>
      <polyline class="audio-curve" points="${points}"></polyline>

      <text class="audio-label" x="${plot.left}" y="166">${labels.master}</text>
      <rect class="master-track" x="${plot.left}" y="174" width="${plotWidth}" height="10" rx="5"></rect>
      <rect class="master-level" x="${plot.left}" y="174" width="${masterWidth}" height="10" rx="5"></rect>
      <text class="audio-label" x="${width - plot.right}" y="166" text-anchor="end">${master}%</text>

      <text class="audio-label" x="${plot.left}" y="207">${labels.balance}</text>
      <text class="audio-label" x="${plot.left}" y="226">${labels.left}</text>
      <rect class="balance-track" x="${plot.left + 18}" y="214" width="${plotWidth - 36}" height="6" rx="3"></rect>
      <circle class="balance-marker" cx="${clamp(balanceX, plot.left + 18, width - plot.right - 18)}" cy="217" r="7"></circle>
      <text class="audio-label" x="${width - plot.right}" y="226" text-anchor="end">${labels.right}</text>
    </svg>
  `;
}

function formatMonitorPercent(value) {
  return `${Math.round(clamp(value, 0, 100))}%`;
}

function setMuseMonitorVisible(visible, persist = true) {
  state.museMonitorVisible = HAS_MUSE && Boolean(visible);
  if (els.museMonitorVisible) els.museMonitorVisible.checked = state.museMonitorVisible;
  els.visualizer.classList.toggle("show-muse-monitor", state.museMonitorVisible);
  if (persist && els.museMonitorVisible) {
    localStorage.setItem(MUSE_MONITOR_VISIBLE_STORAGE_KEY, state.museMonitorVisible ? "1" : "0");
  }
}

function enableMuseLinkedFeatures() {
  if (!HAS_MUSE) return;
  setMuseMonitorVisible(true, false);
  setAnalysisVisible(true, false);
  updateAnalysisControls();
}

function disableMuseLinkedFeatures() {
  setEegSpectrumVisible(false);
  setMuseMonitorVisible(false, false);
  setAnalysisVisible(false, false);
  state.sessionAdaptiveActive = false;
  if (!state.sessionRunning) clearPendingSessionStart();
  updateAnalysisControls();
  updateSessionPreBaselineControls();
  updateSessionAdaptiveControls();
}

function setEegSpectrumVisible(visible) {
  state.eegSpectrumVisible = HAS_MUSE && Boolean(visible);
  els.visualizer.classList.toggle("show-eeg-spectrum", state.eegSpectrumVisible);
  if (els.museSpectrumToggle) {
    els.museSpectrumToggle.classList.toggle("active", state.eegSpectrumVisible);
    els.museSpectrumToggle.textContent = state.eegSpectrumVisible ? t("showRingView") : t("showEegSpectrum");
  }
  if (state.eegSpectrumVisible) {
    renderEegSpectrumPlot();
    startEegSpectrumAnimation();
  } else {
    stopEegSpectrumAnimation();
  }
}

function eegChannelAverage(sample) {
  if (!sample?.channels || typeof sample.channels !== "object") return null;
  const values = Object.values(sample.channels)
    .flatMap((value) => {
      if (Array.isArray(value)) return value;
      if (value && typeof value === "object") return Object.values(value);
      return [value];
    })
    .map(Number)
    .filter(Number.isFinite);
  return values.length ? averageNumbers(values) : null;
}

function museSampleRate(samples) {
  const timestamps = samples
    .map((sample) => Number(sample.timestamp))
    .filter(Number.isFinite);
  if (timestamps.length < 3) return 256;
  const deltas = [];
  for (let index = 1; index < timestamps.length; index += 1) {
    const delta = timestamps[index] - timestamps[index - 1];
    if (delta > 0) deltas.push(delta);
  }
  if (!deltas.length) return 256;
  const averageDelta = averageNumbers(deltas);
  const sampleRate = averageDelta > 1000 ? 1000000 / averageDelta : 1000 / averageDelta;
  return clamp(sampleRate, 64, 512);
}

function powerAtFrequency(values, sampleRate, frequency) {
  if (!values.length) return 0;
  let real = 0;
  let imaginary = 0;
  const length = values.length;
  for (let index = 0; index < length; index += 1) {
    const windowValue = 0.5 - 0.5 * Math.cos((2 * Math.PI * index) / Math.max(1, length - 1));
    const angle = (2 * Math.PI * frequency * index) / sampleRate;
    const value = values[index] * windowValue;
    real += value * Math.cos(angle);
    imaginary -= value * Math.sin(angle);
  }
  return Math.sqrt(real * real + imaginary * imaginary) / length;
}

function isLiveMuseDataActive() {
  const bridge = state.museBridge;
  const now = Date.now();
  const recentBridge = now - bridge.latestAt < 6000;
  const recentAppData = now - bridge.latestDataAt < 6000;
  const recentNativeData = now - bridge.latestNativeDataAt < 6000;
  return Boolean(
    bridge.available
      && recentBridge
      && (
        recentAppData
        || recentNativeData
        || (bridge.connected && !/disconnected|no-device-found|none/i.test(bridge.status || ""))
      )
  );
}

function musePacketStatusText() {
  const counts = state.museBridge.packetCounts || {};
  const nativeCounts = state.museBridge.nativeSampleCounters || {};
  const raw = counts.rawEeg || 0;
  const band = counts.bandPower || 0;
  const quality = counts.quality || 0;
  const motion = counts.motion || 0;
  const optical = counts.optical || 0;
  const other = counts.other || 0;
  const nativeEeg = Object.entries(nativeCounts).reduce((total, [key, value]) => (
    /eeg/i.test(key) ? total + (Number(value) || 0) : total
  ), 0);
  const nativeTotal = Object.values(nativeCounts).reduce((total, value) => total + (Number(value) || 0), 0);
  const last = state.museBridge.lastPacketType || "-";
  const target = Number.isFinite(state.museBridge.signalTarget)
    ? Math.round(state.museBridge.signalTarget)
    : "--";
  return `raw ${raw} · band ${band} · quality ${quality} · motion ${motion} · optical ${optical} · other ${other} · target ${target} · native eeg ${nativeEeg}/${nativeTotal} · last ${last}`;
}

function musePacketShortStatus() {
  const counts = state.museBridge.packetCounts || {};
  if ((counts.rawEeg || 0) > 0) return "Live EEG";
  if ((counts.bandPower || 0) > 0) return "Live band";
  if ((counts.quality || 0) > 0 || (counts.motion || 0) > 0) return "Live sensor";
  return "Live";
}

function liveMuseBandPowerSpectrum() {
  const bridge = state.museBridge;
  const groups = [bridge.bandPowers.relative, bridge.bandPowers.absolute, bridge.bandPowers.score].filter(Boolean);
  const bandValues = {};
  ["delta", "theta", "alpha", "beta", "gamma"].forEach((band) => {
    for (const group of groups) {
      const values = Object.values(group?.[band] || {}).map(Number).filter(Number.isFinite);
      if (values.length) {
        bandValues[band] = Math.max(0, averageNumbers(values));
        break;
      }
    }
  });
  if (Object.keys(bandValues).length < 2) return null;

  const bandProfiles = [
    { id: "delta", center: 2.5, width: 1.2 },
    { id: "theta", center: 6, width: 1.7 },
    { id: "alpha", center: 10, width: 2.2 },
    { id: "beta", center: 19, width: 5 },
    { id: "gamma", center: 34, width: 4.8 }
  ];
  const raw = Array.from({ length: 40 }, (_, index) => {
    const frequency = index + 1;
    const power = bandProfiles.reduce((sum, band) => {
      const value = bandValues[band.id] ?? 0;
      return sum + value * Math.exp(-0.5 * ((frequency - band.center) / band.width) ** 2);
    }, 0);
    return { frequency, power };
  });
  const maxPower = Math.max(...raw.map((item) => item.power), 0.0001);
  return {
    source: "muse-bandpower",
    values: raw.map((item) => ({
      frequency: item.frequency,
      power: clamp((item.power / maxPower) * 100, 0, 100)
    }))
  };
}

function liveEegSpectrum() {
  return normalizedEegSpectrumFromSamples(state.museBridge.eegBuffer.slice(-192)) || liveMuseBandPowerSpectrum();
}

function normalizedEegSpectrumFromSamples(samples) {
  const values = samples.map(eegChannelAverage).filter(Number.isFinite);
  if (values.length < 48) return null;
  const baseline = averageNumbers(values);
  const centered = values.map((value) => value - baseline);
  const sampleRate = museSampleRate(samples.slice(-values.length));
  const raw = [];
  for (let frequency = 1; frequency <= 40; frequency += 1) {
    raw.push({ frequency, power: powerAtFrequency(centered, sampleRate, frequency) });
  }
  const maxPower = Math.max(...raw.map((item) => item.power), 0.0001);
  return {
    source: "muse",
    values: raw.map((item) => ({
      frequency: item.frequency,
      power: clamp((item.power / maxPower) * 100, 0, 100)
    }))
  };
}

function eegFrequencyFollowingMetrics(targetFrequency) {
  const target = clamp(Number(targetFrequency) || 0, 1, 40);
  const spectrum = liveEegSpectrum();
  if (!spectrum?.values?.length) return null;
  const dominant = spectrum.values.reduce((best, item) => item.power > best.power ? item : best, spectrum.values[0]);
  const nearestTarget = spectrum.values.reduce((best, item) => (
    Math.abs(item.frequency - target) < Math.abs(best.frequency - target) ? item : best
  ), spectrum.values[0]);
  const deviation = Math.abs(dominant.frequency - target);
  const tolerance = Math.max(1, target * 0.12);
  return {
    targetFrequencyHz: Number(target.toFixed(2)),
    dominantEegFrequencyHz: Number(dominant.frequency.toFixed(2)),
    dominantPower: Math.round(dominant.power),
    targetPower: Math.round(nearestTarget.power),
    frequencyDeviationHz: Number(deviation.toFixed(2)),
    targetToleranceHz: Number(tolerance.toFixed(2)),
    followsTarget: deviation <= tolerance,
    spectrumSource: spectrum.source === "muse-bandpower" ? "muse-bridge-bandpower" : "muse-bridge-fft"
  };
}

function demoFrequencyFollowingMetrics(targetFrequency, elapsedSeconds) {
  const target = clamp(Number(targetFrequency) || 0, 1, 40);
  const seconds = Number(elapsedSeconds) || 0;
  const settling = clamp(seconds / 180, 0, 1);
  const bandAnchor = target < 4 ? 4 : target <= 12 ? 8.5 : target <= 20 ? 14 : 18;
  const drift = Math.sin(seconds * 0.075) * 1.15 + Math.cos(seconds * 0.041) * 0.72;
  const dominant = clamp(bandAnchor * (1 - settling) + target * settling + drift, 1, 40);
  const deviation = Math.abs(dominant - target);
  const tolerance = Math.max(1, target * 0.12);
  const targetPower = clamp(74 - deviation * 8 + settling * 14 + Math.sin(seconds * 0.05) * 5, 8, 96);
  const dominantPower = clamp(targetPower + 12 + Math.cos(seconds * 0.067) * 7, 12, 100);
  return {
    targetFrequencyHz: Number(target.toFixed(2)),
    dominantEegFrequencyHz: Number(dominant.toFixed(2)),
    dominantPower: Math.round(dominantPower),
    targetPower: Math.round(targetPower),
    frequencyDeviationHz: Number(deviation.toFixed(2)),
    targetToleranceHz: Number(tolerance.toFixed(2)),
    followsTarget: deviation <= tolerance,
    spectrumSource: "demo-simulated"
  };
}

function entrainmentMatchPercent(frequencyFollowing) {
  if (!frequencyFollowing) return null;
  const deviation = Number(frequencyFollowing.frequencyDeviationHz);
  const tolerance = Number(frequencyFollowing.targetToleranceHz);
  const targetPower = Number(frequencyFollowing.targetPower);
  const dominantPower = Number(frequencyFollowing.dominantPower);
  if (!Number.isFinite(deviation) || !Number.isFinite(tolerance) || tolerance <= 0) return null;
  const closeness = clamp(100 - (deviation / Math.max(tolerance * 2.5, 0.1)) * 100, 0, 100);
  const powerSupport = Number.isFinite(targetPower) && Number.isFinite(dominantPower) && dominantPower > 0
    ? clamp((targetPower / dominantPower) * 100, 0, 100)
    : closeness;
  return Math.round(closeness * 0.72 + powerSupport * 0.28);
}

function demoEegSpectrum() {
  const nowSeconds = (Date.now() - state.museMonitorStartedAt) / 1000;
  const lightHz = Number(els.frequency.value) || 8;
  const audioHz = Number(state.audioBeatOverride ?? els.frequency.value) || lightHz;
  const primary = clamp((lightHz + audioHz) / 2, 1, 40);
  const gaussian = (frequency, center, width, gain) => gain * Math.exp(-0.5 * ((frequency - center) / width) ** 2);
  return {
    source: "demo",
    values: Array.from({ length: 40 }, (_, index) => {
      const frequency = index + 1;
      const thetaAlpha = gaussian(frequency, primary, 1.7, 54);
      const alpha = gaussian(frequency, 10, 2.6, 32);
      const beta = gaussian(frequency, 18, 4.2, state.audioEnabled ? 24 : 14);
      const drift = Math.sin(nowSeconds * 0.8 + frequency * 0.47) * 5 + Math.cos(nowSeconds * 0.31 + frequency) * 3;
      return { frequency, power: clamp(12 + thetaAlpha + alpha + beta + drift, 0, 100) };
    })
  };
}

function spectrumColor(power) {
  const value = clamp(power, 0, 100);
  if (value < 34) return `rgb(${Math.round(30 + value * 1.4)}, ${Math.round(115 + value * 2.2)}, 255)`;
  if (value < 68) return `rgb(${Math.round(40 + (value - 34) * 4.3)}, ${Math.round(210 + (value - 34) * 0.7)}, ${Math.round(190 - (value - 34) * 4.4)})`;
  return `rgb(255, ${Math.round(225 - (value - 68) * 4.2)}, ${Math.round(70 - (value - 68) * 1.5)})`;
}

function eegSpectrumZoomRange() {
  const lightHz = Number(els.frequency.value) || 8;
  const audioHz = Number(state.audioBeatOverride ?? els.frequency.value) || lightHz;
  const target = clamp((lightHz + audioHz) / 2, 1, 40);
  return { minHz: 1, maxHz: 40, targetHz: Number(target.toFixed(2)) };
}

function eegSpectrumTickMarks(minHz, maxHz) {
  const preferred = [1, 2, 4, 6, 8, 10, 13, 15, 18, 20, 25, 30, 35, 40];
  const ticks = preferred.filter((frequency) => frequency >= minHz && frequency <= maxHz);
  if (!ticks.includes(minHz)) ticks.unshift(minHz);
  if (!ticks.includes(maxHz)) ticks.push(maxHz);
  return [...new Set(ticks)].sort((a, b) => a - b);
}

function brainwaveBandForFrequency(frequency) {
  if (frequency < 4) return "delta";
  if (frequency < 8) return "theta";
  if (frequency < 13) return "alpha";
  if (frequency < 30) return "beta";
  return "gamma";
}

function eegSpectrumDominantBandQualityOk(sourceLabel) {
  if (!isLiveMuseDataActive() || /demo/i.test(String(sourceLabel || ""))) return true;
  const bridge = state.museBridge;
  const contact = Number(bridge.contactSignal ?? bridge.signalTarget ?? bridge.signal);
  const stability = Number(bridge.eegStability);
  const artifacts = Number(bridge.artifacts);
  const contactOk = Number.isFinite(contact) && contact >= 72;
  const stabilityOk = !Number.isFinite(stability) || stability >= 58;
  const artifactsOk = !Number.isFinite(artifacts) || artifacts <= 42;
  return contactOk && stabilityOk && artifactsOk;
}

function stableEegSpectrumDominantBand(dominant) {
  if (!dominant) return state.eegSpectrumDominantBand || "";
  const nextBand = brainwaveBandForFrequency(dominant.frequency);
  const nextPower = clamp(dominant.power, 0, 100);
  const now = Date.now();
  if (!state.eegSpectrumDominantBand) {
    state.eegSpectrumDominantBand = nextBand;
    state.eegSpectrumDominantBandPower = nextPower;
    state.eegSpectrumDominantBandCandidate = "";
    state.eegSpectrumDominantBandCandidateAt = 0;
    return nextBand;
  }
  if (nextBand === state.eegSpectrumDominantBand) {
    state.eegSpectrumDominantBandPower = state.eegSpectrumDominantBandPower * 0.84 + nextPower * 0.16;
    state.eegSpectrumDominantBandCandidate = "";
    state.eegSpectrumDominantBandCandidateAt = 0;
    return state.eegSpectrumDominantBand;
  }
  if (state.eegSpectrumDominantBandCandidate !== nextBand) {
    state.eegSpectrumDominantBandCandidate = nextBand;
    state.eegSpectrumDominantBandCandidateAt = now;
  }
  const candidateStableMs = now - state.eegSpectrumDominantBandCandidateAt;
  const clearlyStronger = nextPower > state.eegSpectrumDominantBandPower + 12;
  if (candidateStableMs >= 1100 || clearlyStronger) {
    state.eegSpectrumDominantBand = nextBand;
    state.eegSpectrumDominantBandPower = nextPower;
    state.eegSpectrumDominantBandCandidate = "";
    state.eegSpectrumDominantBandCandidateAt = 0;
  } else {
    state.eegSpectrumDominantBandPower = state.eegSpectrumDominantBandPower * 0.92 + nextPower * 0.08;
  }
  return state.eegSpectrumDominantBand;
}

function drawRoundedRectPath(ctx, x, y, width, height, radius) {
  const r = Math.min(radius, width / 2, height / 2);
  ctx.beginPath();
  ctx.moveTo(x + r, y);
  ctx.lineTo(x + width - r, y);
  ctx.quadraticCurveTo(x + width, y, x + width, y + r);
  ctx.lineTo(x + width, y + height - r);
  ctx.quadraticCurveTo(x + width, y + height, x + width - r, y + height);
  ctx.lineTo(x + r, y + height);
  ctx.quadraticCurveTo(x, y + height, x, y + height - r);
  ctx.lineTo(x, y + r);
  ctx.quadraticCurveTo(x, y, x + r, y);
}

function cloneSpectrumRow(row) {
  return (row || []).map((item) => ({
    frequency: item.frequency,
    power: item.power
  }));
}

function interpolateSpectrumRow(currentRow, targetRow, factor) {
  const currentByFrequency = new Map((currentRow || []).map((item) => [item.frequency, item.power]));
  return (targetRow || []).map((item) => {
    const currentPower = currentByFrequency.has(item.frequency) ? currentByFrequency.get(item.frequency) : item.power;
    return {
      frequency: item.frequency,
      power: currentPower + (item.power - currentPower) * factor
    };
  });
}

function interpolateSpectrumHistory(currentHistory, targetHistory, factor) {
  return (targetHistory || []).map((targetRow, index) => (
    interpolateSpectrumRow(currentHistory?.[index], targetRow, factor)
  ));
}

function drawCurrentEegSpectrumFrame() {
  if (!state.eegSpectrumVisible || !els.eegSpectrumCanvas || !state.eegSpectrumZoomRange) return;
  const bounds = els.eegSpectrumCanvas.getBoundingClientRect();
  const pixelRatio = Math.min(window.devicePixelRatio || 1, 2);
  const targetWidth = Math.max(720, Math.round(bounds.width * pixelRatio));
  const targetHeight = Math.max(520, Math.round(bounds.height * pixelRatio));
  if (els.eegSpectrumCanvas.width !== targetWidth || els.eegSpectrumCanvas.height !== targetHeight) {
    els.eegSpectrumCanvas.width = targetWidth;
    els.eegSpectrumCanvas.height = targetHeight;
  }
  const context = els.eegSpectrumCanvas.getContext("2d");
  if (!context) return;
  drawEegSpectrumPlot(
    context,
    els.eegSpectrumCanvas.width,
    els.eegSpectrumCanvas.height,
    state.eegSpectrumHistory,
    state.eegSpectrumSourceLabel,
    state.eegSpectrumZoomRange
  );
}

function stopEegSpectrumAnimation() {
  if (state.eegSpectrumAnimationFrame) {
    cancelAnimationFrame(state.eegSpectrumAnimationFrame);
    state.eegSpectrumAnimationFrame = null;
  }
  state.eegSpectrumLastFrameAt = 0;
}

function animateEegSpectrumFrame(timestamp) {
  if (!state.eegSpectrumVisible || !state.eegSpectrumTargetHistory.length) {
    stopEegSpectrumAnimation();
    return;
  }
  const elapsed = state.eegSpectrumLastFrameAt ? timestamp - state.eegSpectrumLastFrameAt : 16;
  state.eegSpectrumLastFrameAt = timestamp;
  const factor = clamp(elapsed / 180, 0.08, 0.28);
  state.eegSpectrumHistory = interpolateSpectrumHistory(
    state.eegSpectrumHistory,
    state.eegSpectrumTargetHistory,
    factor
  );
  drawCurrentEegSpectrumFrame();
  state.eegSpectrumAnimationFrame = requestAnimationFrame(animateEegSpectrumFrame);
}

function startEegSpectrumAnimation() {
  if (state.eegSpectrumAnimationFrame || !state.eegSpectrumVisible) return;
  state.eegSpectrumLastFrameAt = 0;
  state.eegSpectrumAnimationFrame = requestAnimationFrame(animateEegSpectrumFrame);
}

function smoothSpectrumPath(ctx, points) {
  if (!points.length) return;
  ctx.beginPath();
  ctx.moveTo(points[0].x, points[0].y);
  for (let index = 1; index < points.length - 1; index += 1) {
    const current = points[index];
    const next = points[index + 1];
    ctx.quadraticCurveTo(current.x, current.y, (current.x + next.x) / 2, (current.y + next.y) / 2);
  }
  const last = points[points.length - 1];
  ctx.lineTo(last.x, last.y);
}

function projectedSpectrumPoint(item, rowDepth, plot, zoomRange) {
  const frequencyRange = Math.max(1, zoomRange.maxHz - zoomRange.minHz);
  const xNorm = (item.frequency - zoomRange.minHz) / frequencyRange;
  const power = clamp(item.power, 0, 100);
  const perspective = 1 - rowDepth * 0.28;
  const floorY = plot.floorY - rowDepth * plot.depthY;
  const centerPull = (xNorm - 0.5) * plot.width * 0.16 * rowDepth;
  const x = plot.left + xNorm * plot.width - rowDepth * plot.depthX - centerPull;
  const y = floorY - (power / 100) * plot.height * perspective;
  return { x, y, floorY, power, frequency: item.frequency };
}

function drawEegSpectrumPlot(ctx, width, height, rows, sourceLabel, zoomRange) {
  ctx.clearRect(0, 0, width, height);
  const gradient = ctx.createLinearGradient(0, 0, 0, height);
  gradient.addColorStop(0, "rgba(3, 6, 12, 1)");
  gradient.addColorStop(0.58, "rgba(7, 10, 17, 0.98)");
  gradient.addColorStop(1, "rgba(2, 3, 7, 1)");
  ctx.fillStyle = gradient;
  ctx.fillRect(0, 0, width, height);

  const usableRows = rows.slice(-44);
  const plot = {
    left: width * 0.14,
    top: height * 0.13,
    right: width * 0.9,
    bottom: height * 0.84
  };
  plot.width = plot.right - plot.left;
  plot.height = height * 0.34;
  plot.floorY = plot.bottom;
  plot.depthX = width * 0.0074;
  plot.depthY = height * 0.0105;
  const backDepth = 1;
  const frontLeft = { x: plot.left, y: plot.floorY };
  const frontRight = { x: plot.right, y: plot.floorY };
  const backLeft = { x: plot.left - plot.depthX * 34, y: plot.floorY - plot.depthY * 34 };
  const backRight = { x: plot.right - plot.depthX * 34, y: plot.floorY - plot.depthY * 34 };

  ctx.save();
  ctx.globalAlpha = 0.9;
  const deckGradient = ctx.createLinearGradient(0, backLeft.y, 0, frontLeft.y);
  deckGradient.addColorStop(0, "rgba(56,243,255,0.035)");
  deckGradient.addColorStop(1, "rgba(255,255,255,0.065)");
  ctx.fillStyle = deckGradient;
  ctx.beginPath();
  ctx.moveTo(backLeft.x, backLeft.y);
  ctx.lineTo(backRight.x, backRight.y);
  ctx.lineTo(frontRight.x, frontRight.y);
  ctx.lineTo(frontLeft.x, frontLeft.y);
  ctx.closePath();
  ctx.fill();
  ctx.strokeStyle = "rgba(255,255,255,0.14)";
  ctx.lineWidth = 1;
  ctx.stroke();
  ctx.restore();

  const xForFrequency = (frequency, rowDepth = 0) => projectedSpectrumPoint(
    { frequency, power: 0 },
    rowDepth,
    plot,
    zoomRange
  ).x;
  const latest = (usableRows[usableRows.length - 1] || [])
    .filter((item) => item.frequency >= zoomRange.minHz && item.frequency <= zoomRange.maxHz);
  const dominant = latest.length
    ? latest.reduce((best, item) => item.power > best.power ? item : best, latest[0])
    : null;
  const dominantBandQualityOk = eegSpectrumDominantBandQualityOk(sourceLabel);
  if (!dominantBandQualityOk) {
    state.eegSpectrumDominantBand = "";
    state.eegSpectrumDominantBandCandidate = "";
    state.eegSpectrumDominantBandCandidateAt = 0;
    state.eegSpectrumDominantBandPower = 0;
  }
  const dominantBandId = dominantBandQualityOk ? stableEegSpectrumDominantBand(dominant) : "";

  const bands = [
    { id: "delta", label: "Delta", from: 1, to: 4, color: "rgba(64, 201, 255, 0.08)", glow: "rgba(64, 201, 255, 0.62)" },
    { id: "theta", label: "Theta", from: 4, to: 8, color: "rgba(165, 109, 255, 0.08)", glow: "rgba(165, 109, 255, 0.62)" },
    { id: "alpha", label: "Alpha", from: 8, to: 13, color: "rgba(105, 240, 174, 0.08)", glow: "rgba(105, 240, 174, 0.62)" },
    { id: "beta", label: "Beta", from: 13, to: 30, color: "rgba(255, 201, 77, 0.06)", glow: "rgba(255, 201, 77, 0.62)" },
    { id: "gamma", label: "Gamma", from: 30, to: 40, color: "rgba(255, 79, 106, 0.06)", glow: "rgba(255, 79, 106, 0.62)" }
  ];
  bands.forEach((band) => {
    const x = xForFrequency(band.from, backDepth);
    const bandWidth = xForFrequency(band.to, backDepth) - x;
    const isDominantBand = band.id === dominantBandId;
    ctx.fillStyle = isDominantBand
      ? band.color.replace(/0\.0[68]\)/, "0.19)")
      : band.color;
    ctx.fillRect(x, plot.top + 8, bandWidth, plot.floorY - plot.top);
    if (bandWidth > 36) {
      if (isDominantBand) {
        ctx.save();
        ctx.shadowColor = band.glow;
        ctx.shadowBlur = 20;
        ctx.fillStyle = "rgba(255,255,255,0.08)";
        drawRoundedRectPath(ctx, x + 5, plot.top + 6, Math.max(42, bandWidth - 10), 28, 6);
        ctx.fill();
        ctx.strokeStyle = band.glow;
        ctx.lineWidth = 1.4;
        ctx.stroke();
        ctx.restore();
      }
      ctx.fillStyle = isDominantBand ? "rgba(255,255,255,0.92)" : "rgba(248,251,255,0.34)";
      ctx.font = `800 ${Math.max(10, width * 0.012)}px Inter, system-ui, sans-serif`;
      ctx.shadowColor = isDominantBand ? band.glow : "transparent";
      ctx.shadowBlur = isDominantBand ? 12 : 0;
      ctx.fillText(band.label, x + 6, plot.top + 20);
      ctx.shadowBlur = 0;
    }
  });

  [0, 25, 50, 75, 100].forEach((power) => {
    const y = plot.floorY - (power / 100) * plot.height;
    ctx.strokeStyle = power === 0 ? "rgba(255,255,255,0.24)" : "rgba(255,255,255,0.08)";
    ctx.lineWidth = 1;
    ctx.beginPath();
    ctx.moveTo(plot.left, y);
    ctx.lineTo(plot.right, y);
    ctx.lineTo(plot.right - plot.depthX * 34, y - plot.depthY * 34);
    ctx.stroke();
    ctx.fillStyle = "rgba(248,251,255,0.62)";
    ctx.font = `800 ${Math.max(10, width * 0.011)}px Inter, system-ui, sans-serif`;
    ctx.textAlign = "right";
    ctx.fillText(`${power}`, plot.left - 10, y + 4);
  });

  eegSpectrumTickMarks(zoomRange.minHz, zoomRange.maxHz).forEach((frequency) => {
    const x = xForFrequency(frequency);
    ctx.strokeStyle = [4, 8, 13, 30].includes(frequency) ? "rgba(255,255,255,0.18)" : "rgba(255,255,255,0.08)";
    ctx.lineWidth = 1;
    ctx.beginPath();
    ctx.moveTo(x, plot.floorY);
    ctx.lineTo(x - plot.depthX * 34, plot.floorY - plot.depthY * 34);
    ctx.stroke();
    ctx.fillStyle = "rgba(248,251,255,0.68)";
    ctx.font = `800 ${Math.max(10, width * 0.011)}px Inter, system-ui, sans-serif`;
    ctx.textAlign = "center";
    ctx.fillText(`${frequency}`, x, plot.floorY + 24);
  });

  usableRows.forEach((spectrum, rowIndex) => {
    const depth = usableRows.length <= 1 ? 0 : (usableRows.length - 1 - rowIndex) / (usableRows.length - 1);
    const alpha = 0.12 + ((rowIndex + 1) / Math.max(1, usableRows.length)) * 0.78;
    const visibleSpectrum = spectrum.filter((item) => item.frequency >= zoomRange.minHz && item.frequency <= zoomRange.maxHz);
    const points = visibleSpectrum.map((item) => projectedSpectrumPoint(item, depth, plot, zoomRange));
    if (points.length < 2) return;

    const averagePower = averageNumbers(points.map((point) => point.power));
    const fill = ctx.createLinearGradient(0, Math.min(...points.map((point) => point.y)), 0, points[0].floorY);
    fill.addColorStop(0, spectrumColor(averagePower));
    fill.addColorStop(1, "rgba(3,7,12,0.05)");
    smoothSpectrumPath(ctx, points);
    ctx.lineTo(points[points.length - 1].x, points[points.length - 1].floorY);
    ctx.lineTo(points[0].x, points[0].floorY);
    ctx.closePath();
    ctx.globalAlpha = alpha * 0.26;
    ctx.fillStyle = fill;
    ctx.fill();
    ctx.globalAlpha = 1;

    smoothSpectrumPath(ctx, points);
    ctx.strokeStyle = rowIndex === usableRows.length - 1
      ? "rgba(56,243,255,0.96)"
      : `rgba(170, 190, 215, ${alpha * 0.68})`;
    ctx.lineWidth = rowIndex === usableRows.length - 1 ? 3 : 1.15;
    ctx.stroke();

    points.forEach((point) => {
      if (point.power < 62) return;
      ctx.fillStyle = spectrumColor(point.power);
      ctx.globalAlpha = alpha * 0.45;
      ctx.beginPath();
      ctx.arc(point.x, point.y, 1.5 + point.power / 48, 0, Math.PI * 2);
      ctx.fill();
      ctx.globalAlpha = 1;
    });
  });

  const targetX = xForFrequency(zoomRange.targetHz);
  ctx.strokeStyle = "rgba(255, 201, 77, 0.86)";
  ctx.lineWidth = 1.6;
  ctx.setLineDash([5, 4]);
  ctx.beginPath();
  ctx.moveTo(targetX, plot.top + 6);
  ctx.lineTo(targetX, plot.floorY);
  ctx.stroke();
  ctx.setLineDash([]);
  ctx.fillStyle = "rgba(255, 201, 77, 0.92)";
  ctx.font = `900 ${Math.max(11, width * 0.012)}px Inter, system-ui, sans-serif`;
  ctx.textAlign = "center";
  ctx.fillText(`${zoomRange.targetHz.toFixed(1)} Hz target`, targetX, plot.top - 10);
  if (dominant) {
    const dominantPoint = projectedSpectrumPoint(dominant, 0, plot, zoomRange);
    ctx.fillStyle = spectrumColor(dominantPoint.power);
    ctx.beginPath();
    ctx.arc(dominantPoint.x, dominantPoint.y, 6, 0, Math.PI * 2);
    ctx.fill();
    ctx.strokeStyle = "rgba(255,255,255,0.86)";
    ctx.lineWidth = 1;
    ctx.stroke();
    ctx.fillStyle = "rgba(248,251,255,0.9)";
    ctx.font = `900 ${Math.max(12, width * 0.013)}px Inter, system-ui, sans-serif`;
    ctx.textAlign = "left";
    const labelX = Math.min(dominantPoint.x + 10, plot.right - 112);
    const labelY = Math.max(dominantPoint.y - 12, plot.top + 34);
    ctx.fillText(`Dominant ${dominant.frequency} Hz`, labelX, labelY);
  }

  ctx.fillStyle = "rgba(248,251,255,0.8)";
  ctx.font = `800 ${Math.max(13, width * 0.013)}px Inter, system-ui, sans-serif`;
  ctx.textAlign = "center";
  ctx.fillText("Frequency (Hz)", plot.left + plot.width / 2, height - 28);
  ctx.save();
  ctx.translate(32, plot.top + plot.height / 2);
  ctx.rotate(-Math.PI / 2);
  ctx.textAlign = "center";
  ctx.fillText("Power (%)", 0, 0);
  ctx.restore();
  ctx.fillStyle = "rgba(170,180,192,0.78)";
  ctx.font = `800 ${Math.max(11, width * 0.011)}px Inter, system-ui, sans-serif`;
  ctx.textAlign = "left";
  const band = dominant && dominantBandQualityOk ? brainwaveBandForFrequency(dominant.frequency) : "-";
  ctx.fillText(sourceLabel, plot.left, 48);
  ctx.fillText(
    dominantBandQualityOk
      ? `1-40 Hz · waterfall ${usableRows.length} · band ${band}`
      : `1-40 Hz · waterfall ${usableRows.length} · dominant band hidden: signal quality`,
    plot.left,
    66
  );
}

function drawEegSpectrumPendingPlot(ctx, width, height, message) {
  ctx.clearRect(0, 0, width, height);
  const gradient = ctx.createLinearGradient(0, 0, 0, height);
  gradient.addColorStop(0, "rgba(7, 11, 19, 0.95)");
  gradient.addColorStop(1, "rgba(3, 5, 9, 0.98)");
  ctx.fillStyle = gradient;
  ctx.fillRect(0, 0, width, height);

  ctx.strokeStyle = "rgba(255,255,255,0.12)";
  ctx.lineWidth = 1;
  const plot = {
    left: 76,
    top: 78,
    right: width - 52,
    bottom: height - 82
  };
  plot.width = plot.right - plot.left;
  plot.height = plot.bottom - plot.top;
  drawRoundedRectPath(ctx, plot.left, plot.top, plot.width, plot.height, 8);
  ctx.fillStyle = "rgba(255,255,255,0.025)";
  ctx.fill();
  ctx.stroke();
  [0, 25, 50, 75, 100].forEach((power) => {
    const y = plot.bottom - power / 100 * plot.height;
    ctx.beginPath();
    ctx.moveTo(plot.left, y);
    ctx.lineTo(plot.right, y);
    ctx.stroke();
  });

  const [title, detail = ""] = String(message).split(" · raw ");
  ctx.fillStyle = "rgba(248,251,255,0.82)";
  ctx.font = "800 15px Inter, system-ui, sans-serif";
  ctx.fillText(title, plot.left, 58);
  ctx.fillStyle = "rgba(170,180,192,0.72)";
  ctx.font = "700 12px Inter, system-ui, sans-serif";
  ctx.fillText(detail ? `raw ${detail}` : (currentLanguage === "nl" ? "Wachten op voldoende live samples" : "Waiting for enough live samples"), plot.left, 78);
}

function renderEegSpectrumPlot() {
  if (!state.eegSpectrumVisible || !els.eegSpectrumCanvas) return;
  const canvas = els.eegSpectrumCanvas;
  const context = canvas.getContext("2d");
  if (!context) return;
  const liveMuseActive = isLiveMuseDataActive();
  const liveSpectrum = liveEegSpectrum();
  const spectrum = liveSpectrum || (liveMuseActive ? null : demoEegSpectrum());
	  if (!spectrum) {
	    const message = currentLanguage === "nl" ? "Live Muse EEG wordt opgebouwd..." : "Live Muse EEG building...";
	    state.eegSpectrumHistory = [];
	    state.eegSpectrumTargetHistory = [];
	    state.eegSpectrumHistorySource = "muse-pending";
	    state.eegSpectrumDominantBand = "";
	    state.eegSpectrumDominantBandCandidate = "";
	    state.eegSpectrumDominantBandCandidateAt = 0;
	    stopEegSpectrumAnimation();
	    const status = `${message} · ${musePacketStatusText()}`;
	    if (els.eegSpectrumStatus) els.eegSpectrumStatus.textContent = status;
	    drawEegSpectrumPendingPlot(context, canvas.width, canvas.height, status);
    return;
  }
	  if (state.eegSpectrumHistorySource !== spectrum.source) {
	    state.eegSpectrumHistory = [];
	    state.eegSpectrumTargetHistory = [];
	    state.eegSpectrumHistorySource = spectrum.source;
	    state.eegSpectrumDominantBand = "";
	    state.eegSpectrumDominantBandCandidate = "";
	    state.eegSpectrumDominantBandCandidateAt = 0;
	  }
	  state.eegSpectrumTargetHistory.push(cloneSpectrumRow(spectrum.values));
	  if (state.eegSpectrumTargetHistory.length > 48) {
	    state.eegSpectrumTargetHistory.splice(0, state.eegSpectrumTargetHistory.length - 48);
	  }
	  if (!state.eegSpectrumHistory.length || state.eegSpectrumHistory.length !== state.eegSpectrumTargetHistory.length) {
	    state.eegSpectrumHistory = state.eegSpectrumTargetHistory.map(cloneSpectrumRow);
	  }
  const sourceLabel = spectrum.source === "muse"
    ? (currentLanguage === "nl" ? "Live Muse EEG" : "Live Muse EEG")
    : spectrum.source === "muse-bandpower"
      ? (currentLanguage === "nl" ? "Live Muse bandpower" : "Live Muse bandpower")
      : (currentLanguage === "nl" ? "Demo spectrum" : "Demo spectrum");
	  const zoomRange = eegSpectrumZoomRange();
	  state.eegSpectrumSourceLabel = sourceLabel;
	  state.eegSpectrumZoomRange = zoomRange;
	  const rangeLabel = `${zoomRange.minHz}-${zoomRange.maxHz} Hz`;
  if (els.eegSpectrumStatus) {
    els.eegSpectrumStatus.textContent = `${sourceLabel} · ${rangeLabel}`;
  }
  if (els.eegSpectrumAxisLegend) {
    els.eegSpectrumAxisLegend.textContent = currentLanguage === "nl"
      ? `x-as: frequentie ${rangeLabel}`
      : `x-axis: frequency ${rangeLabel}`;
  }
	  startEegSpectrumAnimation();
	  drawCurrentEegSpectrumFrame();
	}

function isMuseLikeDeviceName(name) {
  return /muse|athena/i.test(String(name || ""));
}

function isMuseAthenaDeviceName(name) {
  return /\bathena\b/i.test(String(name || ""));
}

function isMuseOpticalCapableDeviceName(name) {
  const value = String(name || "");
  return isMuseLikeDeviceName(value) || isMuseAthenaDeviceName(value) || /\bmuse[\s-]*s\b/i.test(value);
}

const WINDOWS_MUSE_SERVICE = 0xfe8d;
const WINDOWS_MUSE_V3_SERVICE = "c8c0a708-e361-4b5e-a365-98fa6b0a836f";
const WINDOWS_MUSE_V3_COMMAND = "d5913036-2d8a-41ee-85b9-4e361aa5c8a7";
const WINDOWS_MUSE_V3_DATA = "09bf2c52-d1d9-c0b7-4145-475964544307";
const WINDOWS_MUSE_CONTROL = "273e0001-4c4d-454d-96be-f03bac821358";
const WINDOWS_MUSE_TELEMETRY = "273e000b-4c4d-454d-96be-f03bac821358";
const WINDOWS_MUSE_ACCELEROMETER = "273e000a-4c4d-454d-96be-f03bac821358";
const WINDOWS_MUSE_GYROSCOPE = "273e0009-4c4d-454d-96be-f03bac821358";
const WINDOWS_MUSE_EEG_CHARACTERISTICS = [
  ["TP9", "273e0003-4c4d-454d-96be-f03bac821358"],
  ["AF7", "273e0004-4c4d-454d-96be-f03bac821358"],
  ["AF8", "273e0005-4c4d-454d-96be-f03bac821358"],
  ["TP10", "273e0006-4c4d-454d-96be-f03bac821358"]
];
const windowsMuseBridge = {
  device: null,
  server: null,
  channels: {},
  samples: {},
  lastEegEmitAt: 0
};

function emitWindowsMuseEvent(event) {
  window.neuroSyncMuseBridgeEvents?.({
    source: "windows-web-bluetooth",
    bridgeVersion: "0.2.0",
    receivedAt: Date.now() * 1000,
    ...event
  });
}

function windowsMuseCommandBytes(command) {
  const encoded = new TextEncoder().encode(`X${command}\n`);
  encoded[0] = encoded.length - 1;
  return encoded;
}

async function windowsMuseWriteCommand(characteristic, command) {
  try {
    await characteristic.writeValue(windowsMuseCommandBytes(command));
  } catch (error) {
    emitWindowsMuseEvent({ type: "log", message: `Muse command ${command} failed: ${error?.message || error}` });
  }
}

function decodeMuseUnsigned12BitData(bytes) {
  const samples = [];
  for (let index = 0; index < bytes.length; index += 1) {
    if (index % 3 === 0) {
      samples.push((bytes[index] << 4) | (bytes[index + 1] >> 4));
    } else {
      samples.push(((bytes[index] & 0x0f) << 8) | bytes[index + 1]);
      index += 1;
    }
  }
  return samples;
}

function decodeMuseEegSamples(dataView) {
  const bytes = new Uint8Array(dataView.buffer, dataView.byteOffset + 2, dataView.byteLength - 2);
  return decodeMuseUnsigned12BitData(bytes).map((value) => 0.48828125 * (value - 0x800));
}

function maybeEmitWindowsMuseEeg() {
  const now = Date.now();
  if (now - windowsMuseBridge.lastEegEmitAt < 28) return;
  const channels = {};
  WINDOWS_MUSE_EEG_CHARACTERISTICS.forEach(([name]) => {
    const values = windowsMuseBridge.samples[name] || [];
    if (values.length) channels[name] = values[values.length - 1];
  });
  if (Object.keys(channels).length < 2) return;
  windowsMuseBridge.lastEegEmitAt = now;
  emitWindowsMuseEvent({
    type: "data",
    packetType: "eeg",
    unit: "microvolts",
    timestamp: now * 1000,
    channels
  });
}

async function subscribeWindowsMuseCharacteristic(service, uuid, handler) {
  const characteristic = await service.getCharacteristic(uuid);
  characteristic.addEventListener("characteristicvaluechanged", (event) => {
    const value = event.target?.value;
    if (value) handler(value);
  });
  await characteristic.startNotifications();
  return characteristic;
}

function parseWindowsMuseTelemetry(dataView) {
  return {
    chargePercent: dataView.byteLength >= 4 ? dataView.getUint16(2) / 512 : null
  };
}

function parseWindowsMuseImu(dataView, scale) {
  if (dataView.byteLength < 8) return null;
  return {
    x: dataView.getInt16(2) * scale,
    y: dataView.getInt16(4) * scale,
    z: dataView.getInt16(6) * scale
  };
}

async function connectWindowsMuseLegacy(server, device) {
  const service = await server.getPrimaryService(WINDOWS_MUSE_SERVICE);
  const control = await service.getCharacteristic(WINDOWS_MUSE_CONTROL);
  emitWindowsMuseEvent({ type: "status", status: "connected", connectionState: "connected", isConnected: true, device: device.name || "Muse" });
  emitWindowsMuseEvent({
    type: "configuration",
    device: device.name || "Muse",
    eegChannelCount: 4,
    eegSampleFrequency: 256,
    batteryPercentRemaining: state.museMonitorBattery
  });

  await subscribeWindowsMuseCharacteristic(service, WINDOWS_MUSE_TELEMETRY, (value) => {
    emitWindowsMuseEvent({ type: "data", packetType: "battery", timestamp: Date.now() * 1000, battery: parseWindowsMuseTelemetry(value) });
  }).catch(() => {});
  await subscribeWindowsMuseCharacteristic(service, WINDOWS_MUSE_ACCELEROMETER, (value) => {
    const accelerometer = parseWindowsMuseImu(value, 0.0000610352);
    if (accelerometer) emitWindowsMuseEvent({ type: "data", packetType: "accelerometer", timestamp: Date.now() * 1000, accelerometer });
  }).catch(() => {});
  await subscribeWindowsMuseCharacteristic(service, WINDOWS_MUSE_GYROSCOPE, (value) => {
    const gyro = parseWindowsMuseImu(value, 0.0074768);
    if (gyro) emitWindowsMuseEvent({ type: "data", packetType: "gyro", timestamp: Date.now() * 1000, gyro });
  }).catch(() => {});

  await Promise.all(WINDOWS_MUSE_EEG_CHARACTERISTICS.map(async ([name, uuid]) => {
    windowsMuseBridge.samples[name] = [];
    return subscribeWindowsMuseCharacteristic(service, uuid, (value) => {
      const samples = decodeMuseEegSamples(value);
      windowsMuseBridge.samples[name] = samples;
      windowsMuseBridge.channels[name] = samples[samples.length - 1];
      maybeEmitWindowsMuseEeg();
    });
  }));

  await windowsMuseWriteCommand(control, "h");
  await windowsMuseWriteCommand(control, "p21");
  await windowsMuseWriteCommand(control, "s");
  await windowsMuseWriteCommand(control, "d");
}

function windowsMuseV3Message(type, payload = []) {
  const data = new Uint8Array(20);
  data[0] = type;
  data[1] = payload.length;
  payload.slice(0, 18).forEach((value, index) => { data[index + 2] = value & 0xff; });
  return data;
}

async function connectWindowsMuseV3(server, device) {
  const service = await server.getPrimaryService(WINDOWS_MUSE_V3_SERVICE);
  const command = await service.getCharacteristic(WINDOWS_MUSE_V3_COMMAND).catch(() => null);
  await subscribeWindowsMuseCharacteristic(service, WINDOWS_MUSE_V3_DATA, (value) => {
    emitWindowsMuseEvent({
      type: "data",
      packetType: "windowsMuseV3",
      timestamp: Date.now() * 1000,
      values: Array.from(new Uint8Array(value.buffer, value.byteOffset, value.byteLength)).slice(0, 32)
    });
  }).catch(() => {});
  emitWindowsMuseEvent({ type: "status", status: "connected", connectionState: "connected", isConnected: true, device: device.name || "Muse S Athena" });
  emitWindowsMuseEvent({
    type: "configuration",
    device: device.name || "Muse S Athena",
    eegChannelCount: 4,
    eegSampleFrequency: 0,
    batteryPercentRemaining: state.museMonitorBattery
  });
  if (command) {
    await command.writeValue(windowsMuseV3Message(0x02, [0x06, 0x03, 0x00, 0x00, 0x04])).catch(() => {});
  }
}

async function connectWindowsMuseBridge() {
  if (!HAS_MUSE) return;
  const macMuseBridge = window.webkit?.messageHandlers?.museBridge;
  if (macMuseBridge) {
    setMuseSearchActive(true);
    updateMuseConnectionStatus({
      visible: true,
      title: currentLanguage === "nl" ? "Muse zoeken" : "Finding Muse",
      message: currentLanguage === "nl"
        ? "Er wordt opnieuw gezocht naar Muse S Athena."
        : "Scanning for Muse S Athena again."
    });
    try {
      macMuseBridge.postMessage("restart");
    } catch (error) {
      const message = String(error?.message || error || "");
      updateMuseConnectionStatus({
        visible: true,
        title: currentLanguage === "nl" ? "Muse zoeken mislukt" : "Muse scan failed",
        message
      });
    } finally {
      // The radar stops when the bridge reports connected, no-device-found, failed, or stopped.
    }
    return;
  }
  if (window.neuroSyncNativeMuse?.start) {
    if (els.museConnectButton) {
      els.museConnectButton.disabled = true;
      els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse zoeken..." : "Finding Muse...";
      els.museConnectButton.title = "";
    }
    setMuseSearchActive(true);
    try {
      const result = await window.neuroSyncNativeMuse.start();
      if (result?.ok) {
        if (els.museConnectButton) {
          els.museConnectButton.disabled = false;
          els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse zoekt..." : "Muse scanning...";
          els.museConnectButton.title = "";
        }
        return;
      }
      emitWindowsMuseEvent({
        type: "log",
        message: `Native Muse bridge unavailable: ${result?.reason || "unknown"}`
      });
    } catch (error) {
      emitWindowsMuseEvent({
        type: "log",
        message: `Native Muse bridge failed: ${error?.message || error}`
      });
    } finally {
      setMuseSearchActive(false);
    }
  }
  if (!navigator.bluetooth?.requestDevice) {
    emitWindowsMuseEvent({ type: "status", status: "unavailable", message: "Web Bluetooth is not available in this Windows build." });
    return;
  }
  if (els.museConnectButton) {
    els.museConnectButton.disabled = true;
    els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse zoeken..." : "Finding Muse...";
    els.museConnectButton.title = "";
  }
  setMuseSearchActive(true);
  try {
    const device = await navigator.bluetooth.requestDevice({
      acceptAllDevices: true,
      optionalServices: [WINDOWS_MUSE_SERVICE, WINDOWS_MUSE_V3_SERVICE, "device_information"]
    });
    windowsMuseBridge.device = device;
    emitWindowsMuseEvent({ type: "devices", devices: [{ name: device.name || "Muse", id: device.id || "" }], count: 1 });
    emitWindowsMuseEvent({ type: "connection", currentState: "connecting", isConnected: false, device: device.name || "Muse" });
    device.addEventListener("gattserverdisconnected", () => {
      emitWindowsMuseEvent({ type: "connection", currentState: "disconnected", isConnected: false, device: device.name || "Muse" });
      if (els.museConnectButton) {
        els.museConnectButton.disabled = false;
        els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse verbinden" : "Connect Muse";
        els.museConnectButton.title = "";
      }
    });
    const server = await device.gatt.connect();
    windowsMuseBridge.server = server;
    try {
      await connectWindowsMuseLegacy(server, device);
    } catch (legacyError) {
      emitWindowsMuseEvent({ type: "log", message: `Legacy Muse BLE unavailable: ${legacyError?.message || legacyError}` });
      await connectWindowsMuseV3(server, device);
    }
    if (els.museConnectButton) {
      els.museConnectButton.disabled = false;
      els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse verbonden" : "Muse connected";
      els.museConnectButton.title = "";
    }
    setMuseSearchActive(false);
  } catch (error) {
    const errorName = String(error?.name || "");
    const rawMessage = String(error?.message || error || "");
    const message = /notfound|not found|cancel|no device/i.test(`${errorName} ${rawMessage}`)
      ? museOtherDeviceConnectionMessage()
      : rawMessage;
    emitWindowsMuseEvent({
      type: "error",
      status: "failed",
      message,
      possibleOtherDeviceConnection: message === museOtherDeviceConnectionMessage()
    });
    if (els.museConnectButton) {
      els.museConnectButton.disabled = false;
      els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse verbinden" : "Connect Muse";
      els.museConnectButton.title = message;
    }
    setMuseSearchActive(false);
    if (els.museManualSearchButton) els.museManualSearchButton.title = message;
  }
}

async function detectMuseSAtStartup() {
  if (!HAS_MUSE) return false;
  if (window.neuroSyncMuseDetected === true) return true;
  if (Array.isArray(window.neuroSyncDetectedDevices)) {
    return window.neuroSyncDetectedDevices.some((device) => isMuseLikeDeviceName(device?.name || device));
  }
  try {
    if (navigator.bluetooth?.getDevices) {
      const devices = await navigator.bluetooth.getDevices();
      return devices.some((device) => isMuseLikeDeviceName(device.name));
    }
  } catch {
    return false;
  }
  return false;
}

async function restoreMuseMonitorVisibility() {
  if (!HAS_MUSE) {
    disableMuseLinkedFeatures();
    return;
  }
  const museDetected = await detectMuseSAtStartup();
  if (museDetected) {
    enableMuseLinkedFeatures();
  } else {
    disableMuseLinkedFeatures();
  }
  updateAnalysisControls();
}

function normalizeMusePacketType(value) {
  return String(value || "")
    .replace(/^IXNMuseDataPacketType/i, "")
    .replace(/[^a-z0-9]/gi, "")
    .toLowerCase();
}

function museConnectionStateIsConnected(value) {
  const normalized = String(value || "").toLowerCase();
  return /connected/.test(normalized) && !/disconnected|disconnecting|notconnected|none|unknown|failed/.test(normalized);
}

function museEventReportsConnected(event) {
  if (!event || typeof event !== "object") return false;
  if (event.isConnected === true || event.connected === true) return true;
  if (event.isConnected === false || event.connected === false) return false;
  return museConnectionStateIsConnected(event.connectionState || event.currentState || event.status);
}

function museOtherDeviceConnectionMessage() {
  return currentLanguage === "nl"
    ? "Muse S niet gevonden. Mogelijk is de headset al verbonden met een telefoon, tablet, andere computer of de Muse-app. Sluit die verbinding, zet Bluetooth daar eventueel uit, herstart de Muse S en zoek opnieuw."
    : "Muse S not found. The headset may already be connected to a phone, tablet, another computer, or the Muse app. Close that connection, switch Bluetooth off there if needed, restart the Muse S, and scan again.";
}

function updateMuseConnectionStatus({ visible = false, title = "", message = "" } = {}) {
  if (!els.museConnectionStatus) return;
  els.museConnectionStatus.hidden = !visible;
  if (els.museConnectionStatusTitle) {
    els.museConnectionStatusTitle.textContent = title || (currentLanguage === "nl" ? "Muse-status" : "Muse status");
  }
  if (els.museConnectionStatusText) {
    els.museConnectionStatusText.textContent = message || "";
  }
}

function setMuseSearchActive(active) {
  if (state.museSearchTimeout) {
    clearTimeout(state.museSearchTimeout);
    state.museSearchTimeout = null;
  }
  if (els.museSearchRadar) els.museSearchRadar.hidden = !active;
  if (els.museManualSearchButton) {
    els.museManualSearchButton.disabled = Boolean(active);
    els.museManualSearchButton.textContent = active
      ? (currentLanguage === "nl" ? "Muse zoeken..." : "Finding Muse...")
      : t("findMuse");
  }
  if (active) {
    state.museSearchTimeout = window.setTimeout(() => {
      setMuseSearchActive(false);
      const bridge = state.museBridge;
      const hasRecentMuse = bridge.connected
        || Date.now() - (bridge.positiveAt || 0) < 30000
        || Date.now() - (bridge.latestDataAt || 0) < 15000
        || Date.now() - (bridge.latestNativeDataAt || 0) < 15000;
      if (hasRecentMuse) return;
      const message = museOtherDeviceConnectionMessage();
      bridge.available = true;
      bridge.latestAt = Date.now();
      bridge.status = "no-device-found";
      bridge.lastNativeMessage = message;
      setMuseMonitorVisible(true, false);
      updateMuseConnectionStatus({
        visible: true,
        title: currentLanguage === "nl" ? "Muse niet gevonden" : "Muse not found",
        message
      });
      if (els.museManualSearchButton) els.museManualSearchButton.title = message;
    }, 34000);
  }
}

function averageNumbers(values) {
  const usable = values.map(Number).filter(Number.isFinite);
  return usable.length ? usable.reduce((sum, value) => sum + value, 0) / usable.length : 0;
}

function eegAmplitude(channels) {
  if (!channels || typeof channels !== "object") return 0;
  return averageNumbers(Object.values(channels).map((value) => Math.abs(Number(value))));
}

function channelActivityAverage(channels, names) {
  if (!channels || typeof channels !== "object") return null;
  const values = names
    .map((name) => Number(channelValueBySensorName(channels, name)))
    .filter(Number.isFinite)
    .map(Math.abs);
  return values.length ? averageNumbers(values) : null;
}

function channelValueBySensorName(channels, sensorName) {
  if (!channels || typeof channels !== "object") return null;
  const aliases = {
    TP9: ["TP9", "EEG1", "eeg1", "leftAux", "LEFT_AUX"],
    AF7: ["AF7", "EEG2", "eeg2", "left", "LEFT"],
    AF8: ["AF8", "EEG3", "eeg3", "right", "RIGHT"],
    TP10: ["TP10", "EEG4", "eeg4", "rightAux", "RIGHT_AUX"]
  };
  const keys = aliases[sensorName] || [sensorName];
  for (const key of keys) {
    if (Object.prototype.hasOwnProperty.call(channels, key)) {
      return channels[key];
    }
  }
  const normalizedTarget = normalizeMuseSensorName(sensorName) || sensorName;
  const entry = Object.entries(channels).find(([key]) => normalizeMuseSensorName(key) === normalizedTarget);
  return entry ? entry[1] : null;
}

function bandPowerHemisphereActivity(bandPowers) {
  if (!bandPowers || typeof bandPowers !== "object") return { left: null, right: null };
  const groups = ["relative", "absolute", "score"];
  const leftValues = [];
  const rightValues = [];
  groups.forEach((group) => {
    Object.values(bandPowers[group] || {}).forEach((channels) => {
      const left = channelActivityAverage(channels, ["TP9", "AF7"]);
      const right = channelActivityAverage(channels, ["AF8", "TP10"]);
      if (Number.isFinite(left)) leftValues.push(left);
      if (Number.isFinite(right)) rightValues.push(right);
    });
  });
  return {
    left: leftValues.length ? averageNumbers(leftValues) : null,
    right: rightValues.length ? averageNumbers(rightValues) : null
  };
}

function museHemisphereBalance(bridge, liveMuseActive) {
  if (!liveMuseActive) return null;
  let left = channelActivityAverage(bridge.channels, ["TP9", "AF7"]);
  let right = channelActivityAverage(bridge.channels, ["AF8", "TP10"]);
  if (!Number.isFinite(left) || !Number.isFinite(right)) {
    const bandActivity = bandPowerHemisphereActivity(bridge.bandPowers);
    left = bandActivity.left;
    right = bandActivity.right;
  }
  if (!Number.isFinite(left) || !Number.isFinite(right)) return null;
  const total = Math.max(0, left) + Math.max(0, right);
  if (total <= 0.000001) return null;
  const leftShare = clamp((Math.max(0, left) / total) * 100, 0, 100);
  const rightShare = 100 - leftShare;
  const difference = leftShare - rightShare;
  const labelKey = Math.abs(difference) < 8
    ? "museHemisphereBalanced"
    : difference > 0
      ? "museHemisphereLeft"
      : "museHemisphereRight";
  return {
    left: leftShare,
    right: rightShare,
    difference,
    label: t(labelKey)
  };
}

function smoothMonitorValue(previous, next, factor = 0.18, maxStep = 9) {
  const current = Number(previous);
  const target = Number(next);
  if (!Number.isFinite(target)) return Number.isFinite(current) ? current : null;
  if (!Number.isFinite(current)) return target;
  const blended = current + (target - current) * factor;
  return clamp(blended, current - maxStep, current + maxStep);
}

function museAppSmoothValue(previous, next, responsiveness = 0.06, maxStep = 2.2) {
  return smoothMonitorValue(previous, next, responsiveness, maxStep);
}

function museQualityValues(quality) {
  if (!quality || typeof quality !== "object") return [];
  return Object.values(quality)
    .flatMap((value) => {
      if (Array.isArray(value)) return value;
      if (value && typeof value === "object") return Object.values(value);
      return [value];
    })
    .map(Number)
    .filter(Number.isFinite);
}

function normalizeMuseSensorName(name) {
  const normalized = String(name || "").replace(/[^a-z0-9]/gi, "").toLowerCase();
  const aliases = {
    eeg1: "TP9",
    tp9: "TP9",
    leftaux: "TP9",
    eeg2: "AF7",
    af7: "AF7",
    left: "AF7",
    eeg3: "AF8",
    af8: "AF8",
    right: "AF8",
    eeg4: "TP10",
    tp10: "TP10",
    rightaux: "TP10"
  };
  return aliases[normalized] || null;
}

function sensorContactFromValue(value, qualityType) {
  const label = String(value || "").trim().toLowerCase();
  if (["excellent", "great", "best"].includes(label)) return "excellent";
  if (["good", "ok", "okay", "true"].includes(label)) return "good";
  if (["fair", "poor", "medium"].includes(label)) return "fair";
  if (["bad", "offline", "false"].includes(label)) return "bad";
  const numeric = Number(value);
  if (!Number.isFinite(numeric)) return "offline";
  if (qualityType === "isgood") return numeric >= 0.5 ? "good" : "bad";
  if (numeric <= 1) return "good";
  if (numeric <= 2) return "fair";
  return "bad";
}

function contactPercentFromStatus(status) {
  if (status === "excellent") return 100;
  if (status === "good") return 96;
  if (status === "fair") return 68;
  if (status === "bad") return 28;
  return 0;
}

function updateMuseContactSensors(quality, qualityType) {
  if (!quality || typeof quality !== "object") return;
  const next = {};
  Object.entries(quality).forEach(([name, value]) => {
    const sensor = normalizeMuseSensorName(name);
    if (!sensor) return;
    next[sensor] = sensorContactFromValue(value, qualityType);
  });
  if (Object.keys(next).length) {
    state.museBridge.contactSensors = {
      ...state.museBridge.contactSensors,
      ...next
    };
  }
}

function opticalValueFromEvent(event) {
  const values = event?.ppg && typeof event.ppg === "object"
    ? Object.values(event.ppg)
    : Array.isArray(event?.values)
      ? event.values
      : [];
  const usable = values.map(Number).filter(Number.isFinite);
  return usable.length ? averageNumbers(usable.map(Math.abs)) : null;
}

function updateMuseOpticalSignal(packetType, event) {
  const bridge = state.museBridge;
  const isOpticalPacket = packetType === "ppg" || packetType === "optics";
  if (!isOpticalPacket) return;
  bridge.optical = bridge.optical || {};
  bridge.optical.active = true;
  bridge.optical.latestAt = Date.now();
  bridge.optical.source = packetType === "optics" ? "optics" : "ppg";
  bridge.optical.value = opticalValueFromEvent(event);
}

function markMuseOpticalSignalFromCounters(counters) {
  if (!counters || typeof counters !== "object") return;
  const opticalTotal = Object.entries(counters).reduce((total, [key, value]) => (
    /ppg|optic/i.test(key) ? total + (Number(value) || 0) : total
  ), 0);
  if (opticalTotal <= 0 || opticalTotal <= (state.museBridge.optical.counterTotal || 0)) return;
  const bridge = state.museBridge;
  bridge.optical = bridge.optical || {};
  bridge.optical.active = true;
  bridge.optical.latestAt = Date.now();
  bridge.optical.source = "native-counter";
  bridge.optical.value = 1;
  bridge.optical.counterTotal = opticalTotal;
}

function museOpticalStatus(liveMuseActive) {
  const optical = state.museBridge.optical || {};
  const recentOptical = optical.latestAt && Date.now() - optical.latestAt <= 6000;
  if (liveMuseActive && isMuseOpticalCapableDeviceName(state.museBridge.device) && !recentOptical) return "good";
  if (liveMuseActive && !state.museBridge.device && !recentOptical) return "good";
  if (!liveMuseActive || !recentOptical) return "offline";
  const value = Number(optical.value);
  if (!Number.isFinite(value)) return "fair";
  return value > 0 ? "good" : "fair";
}

function museSensorContactReady(status) {
  return ["good", "excellent"].includes(String(status || "").toLowerCase());
}

function museBaselineSensorReadiness() {
  const liveMuseActive = isLiveMuseDataActive();
  const contact = state.museBridge.contactSensors || {};
  const eegSensors = ["TP9", "AF7", "AF8", "TP10"];
  const missingSensors = eegSensors.filter((sensor) => !liveMuseActive || !museSensorContactReady(contact[sensor]));
  const opticalStatus = museOpticalStatus(liveMuseActive);
  const opticalRequired = state.museBridge.optical?.active
    && Date.now() - (state.museBridge.optical.latestAt || 0) < 6000;
  return {
    ready: liveMuseActive && missingSensors.length === 0 && (!opticalRequired || museSensorContactReady(opticalStatus)),
    liveMuseActive,
    missingSensors,
    opticalRequired,
    opticalStatus
  };
}

function museBaselineReadinessMessage(readiness) {
  if (!readiness.liveMuseActive) {
    return currentLanguage === "nl"
      ? "Wacht op live Muse S data voordat de baseline kan starten."
      : "Waiting for live Muse S data before the baseline can start.";
  }
  if (readiness.missingSensors.length) {
    return currentLanguage === "nl"
      ? `Baseline start zodra deze sensoren goed of uitstekend zijn: ${readiness.missingSensors.join(", ")}.`
      : `Baseline starts when these sensors are good or excellent: ${readiness.missingSensors.join(", ")}.`;
  }
  if (readiness.opticalRequired && !museSensorContactReady(readiness.opticalStatus)) {
    return currentLanguage === "nl"
      ? "Baseline start zodra de Athena optische sensor goed of uitstekend is."
      : "Baseline starts when the Athena optical sensor is good or excellent.";
  }
  return currentLanguage === "nl" ? "Sensoren gereed voor baseline." : "Sensors ready for baseline.";
}

function updatePendingBaselineStart() {
  if (!state.sessionPendingStartProgramId || state.sessionRunning) return;
  if (!museBaselineChoiceAvailable()) {
    const pendingProgramId = state.sessionPendingStartProgramId;
    state.sessionPendingStartProgramId = "";
    state.sessionPendingStartBaselineId = "";
    state.sessionPreBaselineId = "none";
    state.sessionPreBaselineDisabledByUser = true;
    localStorage.setItem(SESSION_PRE_BASELINE_STORAGE_KEY, "none");
    localStorage.setItem(SESSION_PRE_BASELINE_DISABLED_STORAGE_KEY, "true");
    void startSession(pendingProgramId);
    return;
  }
  const runPlan = createSessionRunPlan(state.sessionPendingStartProgramId, state.sessionPendingStartBaselineId || null);
  const firstProgram = sessionPrograms[runPlan.segments[0]?.programId];
  if (!firstProgram?.requiresMuseSensorContact) {
    const pendingProgramId = state.sessionPendingStartProgramId;
    state.sessionPendingStartProgramId = "";
    void startSession(pendingProgramId);
    return;
  }
  const readiness = museBaselineSensorReadiness();
  const message = museBaselineReadinessMessage(readiness);
  els.sessionStatus.value = message;
  els.sessionPhaseName.textContent = currentLanguage === "nl" ? "Sensorcheck" : "Sensor check";
  els.sessionPhasePurpose.textContent = message;
  els.sessionStartButton.textContent = readiness.ready
    ? (currentLanguage === "nl" ? "Baseline starten" : "Starting baseline")
    : (currentLanguage === "nl" ? "Wacht op sensoren" : "Waiting for sensors");
  els.sessionStartButton.disabled = true;
  els.sessionStopButton.disabled = false;
  if (readiness.ready) {
    const pendingProgramId = state.sessionPendingStartProgramId;
    state.sessionPendingStartProgramId = "";
    void startSession(pendingProgramId);
  }
}

function clearPendingSessionStart() {
  if (!state.sessionPendingStartProgramId) return;
  state.sessionPendingStartProgramId = "";
  state.sessionPendingStartBaselineId = "";
  if (!state.sessionRunning) {
    els.sessionStartButton.textContent = currentLanguage === "nl" ? "Start sessie" : "Start session";
    els.sessionStartButton.disabled = false;
    els.sessionCategory.disabled = false;
    els.sessionSelect.disabled = false;
    els.sessionPauseButton.disabled = true;
    els.sessionStopButton.disabled = true;
    els.sessionStatus.value = localizedRuntimeText("Gereed");
    els.sessionPhaseName.textContent = currentLanguage === "nl" ? "Niet gestart" : "Not started";
    els.sessionPhasePurpose.textContent = currentLanguage === "nl"
      ? "Kies Start sessie om het programma te beginnen."
      : "Choose Start session to begin the program.";
    updateSessionPreBaselineControls();
  }
}

function renderMuseContactFit(liveMuseActive) {
  if (!els.museContactFit) return;
  const sensors = ["TP9", "AF7", "AF8", "TP10"];
  const contact = state.museBridge.contactSensors || {};
  const opticalStatus = museOpticalStatus(liveMuseActive);
  const counts = { good: 0, fair: 0, bad: 0, offline: 0 };
  sensors.forEach((sensor) => {
    const status = liveMuseActive ? (contact[sensor] || "offline") : "offline";
    const readyContact = museSensorContactReady(status);
    counts[readyContact ? "good" : status] = (counts[readyContact ? "good" : status] || 0) + 1;
    const node = els.museContactFit.querySelector(`[data-sensor="${sensor}"]`);
    if (node) {
      node.classList.toggle("good", readyContact);
      node.classList.toggle("fair", status === "fair");
      node.classList.toggle("bad", status === "bad");
      node.classList.toggle("offline", status === "offline");
    }
  });
  const opticalNode = els.museContactFit.querySelector('[data-sensor="FNIRS"]');
  if (opticalNode) {
    opticalNode.classList.toggle("good", museSensorContactReady(opticalStatus));
    opticalNode.classList.toggle("fair", opticalStatus === "fair");
    opticalNode.classList.toggle("bad", opticalStatus === "bad");
    opticalNode.classList.toggle("offline", opticalStatus === "offline");
  }
  if (els.museContactStatus) {
    let label = currentLanguage === "nl" ? "Geen contactdata" : "No contact data";
    if (liveMuseActive) {
      if (counts.good === sensors.length) label = currentLanguage === "nl" ? "Contact goed" : "Contact good";
      else if (counts.good + counts.fair >= 3) label = currentLanguage === "nl"
        ? `${counts.good}/4 goed · bijstellen`
        : `${counts.good}/4 good · adjust`;
      else label = currentLanguage === "nl" ? "Sensoren bijstellen" : "Adjust sensors";
    }
    els.museContactStatus.textContent = label;
    const opticalLabel = opticalStatus === "offline"
      ? (currentLanguage === "nl" ? "fNIRS/optisch: niet beschikbaar" : "fNIRS/optical: unavailable")
      : (currentLanguage === "nl" ? "fNIRS/optisch: actief" : "fNIRS/optical: active");
    els.museContactStatus.title = [
      ...sensors.map((sensor) => `${sensor}: ${liveMuseActive ? (contact[sensor] || "offline") : "offline"}`),
      opticalLabel
    ].join(" · ");
  }
}

function estimateMuseSignal(bridge) {
  if (!bridge.latestAt) return null;
  if (bridge.artifact.headbandOn === false) return 18;
  const contactValues = Object.values(bridge.contactSensors || {})
    .map(contactPercentFromStatus)
    .filter((value) => value > 0);
  if (contactValues.length) {
    return clamp(averageNumbers(contactValues), 8, 98);
  }
  const qualityValues = museQualityValues(bridge.quality);
  if (qualityValues.length) {
    const qualityAverage = averageNumbers(qualityValues);
    if (bridge.qualityType === "isgood") {
      return clamp(qualityAverage * 100, 0, 100);
    }
    return clamp(100 - qualityAverage * 18, 18, 98);
  }
  const amplitude = eegAmplitude(bridge.channels);
  if (!amplitude) return null;
  return clamp(86 - Math.max(0, amplitude - 55) * 0.16, 38, 92);
}

function estimateMuseEegStability(bridge) {
  const amplitude = eegAmplitude(bridge.channels);
  const amplitudeNoise = amplitude ? clamp(Math.max(0, amplitude - 42) * 0.55, 0, 42) : 0;
  const motionNoise = clamp(bridge.motion * 0.42, 0, 36);
  const artifactNoise = (bridge.artifact.blink ? 14 : 0)
    + (bridge.artifact.jawClench ? 18 : 0)
    + (bridge.artifact.headbandOn === false ? 28 : 0);
  return clamp(100 - amplitudeNoise - motionNoise - artifactNoise, 0, 100);
}

function estimateMuseCalmFocus(bridge, fallbackCalm, fallbackFocus) {
  const rel = bridge.bandPowers.relative || {};
  const abs = bridge.bandPowers.absolute || {};
  const alpha = Math.max(0, averageNumbers(Object.values(rel.alpha || abs.alpha || {})));
  const theta = Math.max(0, averageNumbers(Object.values(rel.theta || abs.theta || {})));
  const beta = Math.max(0, averageNumbers(Object.values(rel.beta || abs.beta || {})));
  const gamma = Math.max(0, averageNumbers(Object.values(rel.gamma || abs.gamma || {})));
  const total = alpha + theta + beta + gamma;
  if (total > 0.0001) {
    const alphaShare = alpha / total;
    const thetaShare = theta / total;
    const betaShare = beta / total;
    const gammaShare = gamma / total;
    const stability = Number.isFinite(bridge.eegStability) ? bridge.eegStability : 72;
    const stabilityPenalty = Math.max(0, 72 - stability) * 0.18;
    const calm = clamp(
      42 + alphaShare * 34 + thetaShare * 20 - betaShare * 10 - gammaShare * 6 - stabilityPenalty,
      12,
      96
    );
    const focus = clamp(
      40 + betaShare * 34 + gammaShare * 18 + alphaShare * 10 - thetaShare * 7 - stabilityPenalty * 0.7,
      12,
      96
    );
    return { calm, focus };
  }
  const stability = Number.isFinite(bridge.eegStability) ? bridge.eegStability : 70;
  const contact = Number.isFinite(bridge.contactSignal) ? bridge.contactSignal : 74;
  return {
    calm: clamp(fallbackCalm * 0.7 + contact * 0.14 + stability * 0.16, 12, 96),
    focus: clamp(fallbackFocus * 0.72 + contact * 0.1 + stability * 0.18, 12, 96)
  };
}

function updateMuseBridgeDerivedValues() {
  const bridge = state.museBridge;
  bridge.signalTarget = estimateMuseSignal(bridge);
  bridge.contactSignal = museAppSmoothValue(bridge.contactSignal, bridge.signalTarget, 0.055, 2);
  bridge.signal = bridge.contactSignal;
  bridge.eegStability = museAppSmoothValue(bridge.eegStability, estimateMuseEegStability(bridge), 0.09, 3.2);
  const instability = Number.isFinite(bridge.eegStability) ? 100 - bridge.eegStability : 0;
  bridge.artifacts = clamp(
    bridge.artifacts * 0.82
      + (bridge.artifact.blink ? 4 : 0)
      + (bridge.artifact.jawClench ? 5 : 0)
      + bridge.motion * 0.12
      + instability * 0.09,
    0,
    100
  );
}

function markMuseBridgeActive({ connected = false, presence = false } = {}) {
  if (!HAS_MUSE) return;
  if (presence) state.museBridge.detectedAt = Date.now();
  if (connected) {
    state.museBridge.connected = true;
    state.museBridge.positiveAt = Date.now();
    updateMuseConnectionStatus({ visible: false });
  }
  window.neuroSyncMuseDetected = true;
  enableMuseLinkedFeatures();
}

function resetMuseBridgeLiveState({ forgetDevice = false } = {}) {
  const bridge = state.museBridge;
  bridge.available = false;
  bridge.connected = false;
  bridge.detectedAt = 0;
  bridge.positiveAt = 0;
  bridge.latestAt = 0;
  bridge.latestDataAt = 0;
  bridge.latestNativeDataAt = 0;
  bridge.lastTimestamp = 0;
  bridge.configuration = null;
  bridge.battery = null;
  bridge.channels = null;
  bridge.signal = null;
  bridge.signalTarget = null;
  bridge.contactSignal = null;
  bridge.eegStability = null;
  bridge.artifacts = 0;
  bridge.motion = 0;
  bridge.calm = null;
  bridge.focus = null;
  bridge.contactSensors = {};
  bridge.optical = { active: false, latestAt: 0, source: "", value: null };
  bridge.monitorValues = {
    signal: null,
    calm: null,
    focus: null,
    artifacts: null,
    latency: null,
    heartRate: null,
    breathingRate: null,
    leftActivity: null,
    rightActivity: null
  };
  bridge.bandPowers = {};
  bridge.artifact = { headbandOn: null, blink: false, jawClench: false };
  bridge.eegBuffer = [];
  if (state.sessionAdaptiveEnabled && !state.sessionRunning) {
    state.sessionAdaptiveEnabled = false;
    localStorage.setItem(SESSION_ADAPTIVE_ENABLED_STORAGE_KEY, "false");
  }
  if (forgetDevice) bridge.device = "";
  disableMuseLinkedFeatures();
  updateSessionAdaptiveControls();
}

function ingestMuseBridgeEvent(event) {
  if (!event || typeof event !== "object") return;
  const bridge = state.museBridge;
  bridge.available = true;
  bridge.latestAt = Date.now();
  if (event.device) bridge.device = String(event.device);

  if (event.type === "status") {
    const statusText = String(event.status || "");
    const normalizedStatus = statusText.toLowerCase();
    bridge.status = statusText;
    if (event.message) bridge.lastNativeMessage = String(event.message);
    const statusReportsPresence = /connecting|detected|device-found/.test(normalizedStatus)
      || (event.device && isMuseLikeDeviceName(event.device));
    if (/starting|scanning/.test(normalizedStatus)) {
      updateMuseConnectionStatus({
        visible: true,
        title: currentLanguage === "nl" ? "Muse zoeken" : "Finding Muse",
        message: currentLanguage === "nl"
          ? "Er wordt gezocht naar Muse S Athena."
          : "Scanning for Muse S Athena."
      });
      setMuseSearchActive(true);
    }
    let statusReportsConnected = museEventReportsConnected(event)
      || /connected|transmission|streaming|subscribed|configured|configuration|data/.test(normalizedStatus)
      && !/disconnect|no-device|none|failed|error/.test(normalizedStatus);
    if (event.sampleCounters && typeof event.sampleCounters === "object") {
      const nativeTotal = Object.values(event.sampleCounters)
        .reduce((total, value) => total + (Number(value) || 0), 0);
      if (nativeTotal > bridge.nativeSampleTotal) {
        bridge.latestNativeDataAt = Date.now();
        bridge.nativeSampleTotal = nativeTotal;
        statusReportsConnected = true;
        markMuseOpticalSignalFromCounters(event.sampleCounters);
      }
      bridge.nativeSampleCounters = event.sampleCounters;
    }
    if (event.connectionState) {
      const connectionState = String(event.connectionState || "").toLowerCase();
      const connectionStateConnected = museEventReportsConnected(event);
      bridge.connected = connectionStateConnected;
      statusReportsConnected = statusReportsConnected || connectionStateConnected;
      bridge.status = `${bridge.status}:${event.connectionState}`;
      if (!connectionStateConnected && /none|disconnected|disconnecting|unknown|failed/.test(connectionState)) {
        resetMuseBridgeLiveState({ forgetDevice: /none|unknown|failed/.test(connectionState) });
        return;
      }
      if (/connecting|connected/.test(connectionState) && !/disconnect|none|failed|unknown/.test(connectionState)) {
        markMuseBridgeActive({ connected: connectionStateConnected, presence: true });
      }
    }
    if (statusReportsConnected) {
      setMuseSearchActive(false);
      markMuseBridgeActive({ connected: true });
    } else if (statusReportsPresence) {
      markMuseBridgeActive({ presence: true });
    }
    if (/unavailable|failed|stopped/.test(normalizedStatus)) {
      setMuseSearchActive(false);
      resetMuseBridgeLiveState({ forgetDevice: /unavailable|failed|stopped/.test(normalizedStatus) });
      return;
    }
    if (normalizedStatus === "no-device-found") {
      const message = event.possibleOtherDeviceConnection || /other|another|connected|Muse app/i.test(String(event.message || ""))
        ? museOtherDeviceConnectionMessage()
        : String(event.message || museOtherDeviceConnectionMessage());
      resetMuseBridgeLiveState({ forgetDevice: true });
      bridge.available = true;
      bridge.latestAt = Date.now();
      bridge.status = "no-device-found";
      bridge.lastNativeMessage = message;
      setMuseMonitorVisible(true, false);
      updateMuseConnectionStatus({
        visible: true,
        title: currentLanguage === "nl" ? "Muse niet gevonden" : "Muse not found",
        message
      });
      if (els.museConnectButton) {
        els.museConnectButton.disabled = false;
        els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse niet gevonden" : "Muse not found";
        els.museConnectButton.title = message;
      }
      setMuseSearchActive(false);
      if (els.museManualSearchButton) els.museManualSearchButton.title = message;
    }
    return;
  }

  if (event.type === "log" || event.type === "error") {
    bridge.lastNativeMessage = String(event.message || event.status || event.type || "");
    if (event.type === "error") bridge.status = "error";
    if (event.possibleOtherDeviceConnection || /already connected|another|other device|not found|no device/i.test(bridge.lastNativeMessage)) {
      bridge.lastNativeMessage = museOtherDeviceConnectionMessage();
      bridge.status = "no-device-found";
      setMuseMonitorVisible(true, false);
      updateMuseConnectionStatus({
        visible: true,
        title: currentLanguage === "nl" ? "Muse niet gevonden" : "Muse not found",
        message: bridge.lastNativeMessage
      });
      if (els.museConnectButton) {
        els.museConnectButton.disabled = false;
        els.museConnectButton.textContent = currentLanguage === "nl" ? "Muse niet gevonden" : "Muse not found";
        els.museConnectButton.title = bridge.lastNativeMessage;
      }
      setMuseSearchActive(false);
      if (els.museManualSearchButton) els.museManualSearchButton.title = bridge.lastNativeMessage;
    }
    return;
  }

  if (event.type === "devices") {
    if (Array.isArray(event.devices) && event.devices.length) {
      const museDevice = event.devices.find((device) => isMuseLikeDeviceName(device?.name || device)) || event.devices[0];
      bridge.device = String(museDevice?.name || museDevice || bridge.device || "");
      bridge.status = "detected";
      markMuseBridgeActive({ presence: true });
    }
    return;
  }

  if (event.type === "connection") {
    const current = String(event.currentState || "").toLowerCase();
    bridge.connected = museEventReportsConnected(event);
    bridge.status = bridge.connected ? "connected" : current || bridge.status;
    if (!bridge.connected && /disconnected|failed|unknown/.test(current)) {
      resetMuseBridgeLiveState({ forgetDevice: /failed|unknown/.test(current) });
      return;
    }
    if (bridge.connected) {
      markMuseBridgeActive({ connected: true });
    } else if (/connecting/.test(current)) {
      markMuseBridgeActive({ presence: true });
    }
    return;
  }

  if (event.type === "configuration") {
    bridge.configuration = event;
    bridge.connected = true;
    bridge.status = "connected";
    if (Number.isFinite(Number(event.batteryPercentRemaining))) {
      bridge.battery = Number(event.batteryPercentRemaining);
      state.museMonitorBattery = bridge.battery;
    }
    window.neuroSyncMuseDetected = true;
    enableMuseLinkedFeatures();
    return;
  }

  if (event.type === "artifact") {
    bridge.latestDataAt = Date.now();
    markMuseBridgeActive({ connected: true });
    bridge.artifact = {
      headbandOn: event.headbandOn === null || event.headbandOn === undefined ? bridge.artifact.headbandOn : Boolean(event.headbandOn),
      blink: Boolean(event.blink),
      jawClench: Boolean(event.jawClench)
    };
    updateMuseBridgeDerivedValues();
    return;
  }

  if (event.type !== "data") return;
  bridge.latestDataAt = Date.now();
  markMuseBridgeActive({ connected: true });
  const packetType = normalizeMusePacketType(event.packetType);
  bridge.lastPacketType = packetType || bridge.lastPacketType;
  if (Number.isFinite(Number(event.timestamp))) bridge.lastTimestamp = Number(event.timestamp);

  if (packetType === "eeg" && event.channels) {
    bridge.packetCounts.rawEeg += 1;
    bridge.channels = event.channels;
    bridge.eegBuffer.push({
      timestamp: Number(event.timestamp) || Date.now() * 1000,
      channels: event.channels
    });
    if (bridge.eegBuffer.length > 1024) bridge.eegBuffer.splice(0, bridge.eegBuffer.length - 1024);
  } else if (packetType === "battery" && event.battery) {
    bridge.packetCounts.battery += 1;
    bridge.battery = Number(event.battery.chargePercent);
    if (Number.isFinite(bridge.battery)) state.museMonitorBattery = bridge.battery;
  } else if (packetType === "accelerometer" && event.accelerometer) {
    bridge.packetCounts.motion += 1;
    bridge.motion = clamp(averageNumbers(Object.values(event.accelerometer).map((value) => Math.abs(Number(value)))) * 12, 0, 100);
  } else if (packetType === "gyro" && event.gyro) {
    bridge.packetCounts.motion += 1;
    bridge.motion = Math.max(bridge.motion, clamp(averageNumbers(Object.values(event.gyro).map((value) => Math.abs(Number(value)))) * 0.08, 0, 100));
  } else if (packetType === "hsi" || packetType === "isgood") {
    bridge.packetCounts.quality += 1;
    bridge.qualityType = packetType;
    bridge.quality = event.quality || event.channels || event.values;
    updateMuseContactSensors(bridge.quality, packetType);
  } else if (packetType === "ppg" || packetType === "optics") {
    bridge.packetCounts.optical += 1;
    updateMuseOpticalSignal(packetType, event);
  } else if (/^(alpha|beta|theta|delta|gamma)(absolute|relative|score)$/.test(packetType) && event.channels) {
    bridge.packetCounts.bandPower += 1;
    const [, band, kind] = packetType.match(/^(alpha|beta|theta|delta|gamma)(absolute|relative|score)$/);
    const group = kind === "absolute" ? "absolute" : kind === "relative" ? "relative" : "score";
    bridge.bandPowers[group] = bridge.bandPowers[group] || {};
    bridge.bandPowers[group][band] = event.channels;
  } else {
    bridge.packetCounts.other += 1;
  }

  updateMuseBridgeDerivedValues();
}

window.neuroSyncMuseBridgeEvents = function neuroSyncMuseBridgeEvents(events) {
  if (!HAS_MUSE) return;
  (Array.isArray(events) ? events : [events]).forEach(ingestMuseBridgeEvent);
  updateMuseMonitor();
  updateSessionPreBaselineControls();
  updateSessionAdaptiveControls();
};

if (window.neuroSyncNativeMuse?.onEvent) {
  window.neuroSyncNativeMuse.onEvent((event) => {
    window.neuroSyncMuseBridgeEvents?.(event);
  });
}

function museStateBreakdown(selectedState, scores) {
  const selected = scores.find((item) => item.id === selectedState.id) || selectedState;
  const topThree = [
    selected,
    ...scores.filter((item) => item.id !== selected.id).slice(0, 2)
  ];
  const rawTotal = topThree.reduce((total, item) => total + Math.max(0, item.score || 0), 0);
  if (rawTotal <= 0) {
    return topThree.map((item, index) => ({ ...item, percent: index === 0 ? 100 : 0 }));
  }
  const exactShares = topThree.map((item) => ({
    ...item,
    exactPercent: Math.max(0, item.score || 0) / rawTotal * 100
  }));
  const rounded = exactShares.map((item) => ({ ...item, percent: Math.floor(item.exactPercent) }));
  let remainder = 100 - rounded.reduce((total, item) => total + item.percent, 0);
  rounded
    .map((item, index) => ({ index, fraction: item.exactPercent - item.percent }))
    .sort((a, b) => b.fraction - a.fraction)
    .forEach((item) => {
      if (remainder <= 0) return;
      rounded[item.index].percent += 1;
      remainder -= 1;
    });
  return rounded.map(({ exactPercent, ...item }) => item);
}

function renderMuseStateBreakdown(items) {
  if (!els.museStateBreakdown) return;
  els.museStateBreakdown.innerHTML = (items || [])
    .slice(1, 3)
    .map((item) => `
      <div class="state-share" style="--share-color: ${item.color}">
        <span>${escapeHtml(item.label)}</span>
        <b>${Math.round(item.percent)}%</b>
      </div>
    `)
    .join("");
}

function renderMuseHemisphereBalance(balance) {
  if (!els.museHemisphereBalance) return;
  if (!balance) {
    els.museHemisphereBalance.style.setProperty("--muse-left-activity", "50%");
    els.museHemisphereBalanceLabel.textContent = t("museHemispherePending");
    els.museLeftActivityValue.textContent = "L --%";
    els.museRightActivityValue.textContent = "R --%";
    return;
  }
  const left = clamp(balance.left, 0, 100);
  const right = clamp(100 - left, 0, 100);
  els.museHemisphereBalance.style.setProperty("--muse-left-activity", `${left.toFixed(1)}%`);
  els.museHemisphereBalanceLabel.textContent = balance.label;
  els.museLeftActivityValue.textContent = `L ${Math.round(left)}%`;
  els.museRightActivityValue.textContent = `R ${Math.round(right)}%`;
}

function dominantMuseState({ signal, calm, focus, artifacts, latency }) {
  const stressScore = museStressScore({ calm, artifacts, latency });
  const scores = [
    { id: "focus", label: t("museStateFocus"), color: "#ffc94d", score: focus * 0.95 + signal * 0.1 - artifacts * 0.55 },
    { id: "relaxation", label: t("museStateRelaxation"), color: "#40c9ff", score: calm * 1.05 + signal * 0.08 - artifacts * 0.7 },
    { id: "cognitive-load", label: t("museStateCognitiveLoad"), color: "#a56dff", score: focus * 0.85 + artifacts * 0.45 + latency * 0.12 - calm * 0.25 },
    { id: "recovery", label: t("museStateRecovery"), color: "#69f0ae", score: calm * 0.75 + signal * 0.35 - artifacts * 0.85 - Math.max(focus - 55, 0) * 0.2 },
    { id: "stress", label: t("museStateStress"), color: "#ff4f6a", score: stressScore },
    { id: "mental-fatigue", label: t("museStateMentalFatigue"), color: "#ff9f43", score: (100 - focus) * 0.4 + (100 - calm) * 0.28 + artifacts * 0.55 + latency * 0.18 }
  ]
    .map((item) => ({ ...item, score: clamp(item.score, 0, 100) }))
    .sort((a, b) => b.score - a.score);
  const [primary, secondary = primary] = scores;
  const previous = state.museCurrentState?.id
    ? scores.find((item) => item.id === state.museCurrentState.id)
    : null;
  if (previous && previous.id !== primary.id && primary.score - previous.score < 8) {
    const previousRunnerUp = scores.find((item) => item.id !== previous.id) || primary;
    const selected = {
      ...previous,
      confidence: clamp(52 + (previous.score - previousRunnerUp.score) * 0.7 + signal * 0.08 - artifacts * 0.12, 42, 90)
    };
    return {
      ...selected,
      breakdown: museStateBreakdown(selected, scores)
    };
  }
  const selected = {
    ...primary,
    confidence: clamp(54 + (primary.score - secondary.score) * 0.8 + signal * 0.08 - artifacts * 0.15, 42, 94)
  };
  return {
    ...selected,
    breakdown: museStateBreakdown(selected, scores)
  };
}

function museStressScore({ calm, artifacts, latency }) {
  return clamp(artifacts * 1.1 + latency * 0.28 + (100 - calm) * 0.45, 0, 100);
}

function recordSessionEegSample(sample) {
  if (!state.sessionRunning || state.sessionPaused) return;
  const now = Date.now();
  if (now - state.lastEegSampleAt < 1000) return;
  state.lastEegSampleAt = now;
  state.sessionEegSamples.push(sample);
  if (state.sessionEegSamples.length > 10800) {
    state.sessionEegSamples.shift();
  }
  updateAnalysisControls();
}

function updateMuseMonitor() {
  if (!els.museSignalValue) return;
  const nowSeconds = (Date.now() - state.museMonitorStartedAt) / 1000;
  const lightHz = Number(els.frequency.value) || 0;
  const audioHz = Number(state.audioBeatOverride ?? els.frequency.value) || 0;
  const band = getBrainwaveBand(audioHz || lightHz || 1);
  const rgbIntensity = Number(els.rgbIntensity.value) || 0;
  const strobeIntensity = Number(els.strobeIntensity.value) || 0;
  const audioPulseShape = validSessionPulseShape(els.audioPulseShape?.value, "sine");
  const lightPulseShape = validSessionPulseShape(
    state.sessionRunning ? state.sessionPulseShape : els.audioPulseShape?.value,
    audioPulseShape
  );
  const outputActive = state.enabled && (state.connectionStatusConnected || !HAS_LIGHT);
  const sessionFactor = state.sessionRunning && !state.sessionPaused ? 9 : 0;
  const connectionFactor = state.connectionStatusConnected || !HAS_LIGHT ? 0 : -18;
  const movementNoise = Math.sin(nowSeconds * 0.52) * 4 + Math.cos(nowSeconds * 0.19) * 3;
  const intensityLoad = clamp((rgbIntensity + strobeIntensity) / 8, 0, 18);
  let artifacts = clamp(8 + intensityLoad + (state.blackoutActive ? 2 : 0) + Math.max(0, movementNoise), 3, 44);
  let signal = clamp(84 + connectionFactor - artifacts * 0.38 + Math.sin(nowSeconds * 0.31) * 4, 42, 98);
  const calmBandBonus = band.id === "delta" || band.id === "theta" ? 18 : band.id === "alpha" ? 12 : -6;
  const focusBandBonus = band.id === "beta" ? 18 : band.id === "alpha" ? 10 : band.id === "theta" ? -3 : -8;
  let calm = clamp(46 + calmBandBonus + sessionFactor - artifacts * 0.32 + Math.sin(nowSeconds * 0.23) * 5, 12, 96);
  let focus = clamp(48 + focusBandBonus + (state.audioEnabled ? 7 : 0) + sessionFactor * 0.35 - artifacts * 0.24 + Math.cos(nowSeconds * 0.27) * 5, 14, 94);
  let latency = clamp(18 + artifacts * 1.4 + (outputActive ? 6 : 16) + Math.abs(Math.sin(nowSeconds * 0.4)) * 12, 18, 120);
  let heartRate = clamp(
    72 + artifacts * 0.32 + latency * 0.08 + focus * 0.05 - calm * 0.16 + Math.sin(nowSeconds * 0.17) * 2.4,
    52,
    112
  );
  let breathingRate = clamp(
    11.5 + artifacts * 0.05 + latency * 0.015 + focus * 0.012 - calm * 0.055 + Math.cos(nowSeconds * 0.21) * 0.45,
    4.8,
    22
  );
	  const bridge = state.museBridge;
	  const liveMuseActive = isLiveMuseDataActive();
  if (!liveMuseActive && state.eegSpectrumVisible) {
    setEegSpectrumVisible(false);
  }
  if (!liveMuseActive && state.museMonitorVisible) {
    const now = Date.now();
    const recentMuseData = now - bridge.latestDataAt < 6000 || now - bridge.latestNativeDataAt < 6000;
    const recentMusePresence = now - (bridge.detectedAt || 0) < 8000
      || (now - bridge.latestAt < 6000 && /connecting|detected|starting/.test(String(bridge.status || "").toLowerCase()));
    if (!bridge.connected && !recentMuseData && !recentMusePresence) {
      disableMuseLinkedFeatures();
      updateSessionAdaptiveControls();
      return;
    }
  }
	  renderMuseContactFit(liveMuseActive);
  updatePendingBaselineStart();
		  if (liveMuseActive) {
	    updateMuseBridgeDerivedValues();
	    signal = Number.isFinite(bridge.signal) ? bridge.signal : signal;
	    artifacts = clamp(Number(bridge.artifacts) || 0, 0, 100);
    const liveCalmFocus = estimateMuseCalmFocus(bridge, calm, focus);
    calm = liveCalmFocus.calm;
    focus = liveCalmFocus.focus;
    if (Number.isFinite(bridge.lastTimestamp) && bridge.lastTimestamp > 0) {
      latency = clamp(Date.now() - bridge.lastTimestamp / 1000, 0, 1500);
    } else {
      latency = clamp(28 + artifacts * 0.8, 12, 180);
    }
    if (Number.isFinite(bridge.battery)) {
      state.museMonitorBattery = clamp(bridge.battery, 0, 100);
    }
    heartRate = bridge.heartRate || heartRate;
	    breathingRate = bridge.breathingRate || breathingRate;
	  }
	  const monitor = bridge.monitorValues;
  let hemisphereBalance = museHemisphereBalance(bridge, liveMuseActive);
	  if (liveMuseActive) {
	    monitor.signal = museAppSmoothValue(monitor.signal, signal, 0.055, 2);
	    monitor.calm = museAppSmoothValue(monitor.calm, calm, 0.055, 1.8);
	    monitor.focus = museAppSmoothValue(monitor.focus, focus, 0.055, 1.8);
	    monitor.artifacts = museAppSmoothValue(monitor.artifacts, artifacts, 0.075, 2.2);
	    monitor.latency = museAppSmoothValue(monitor.latency, latency, 0.08, 18);
	    monitor.heartRate = museAppSmoothValue(monitor.heartRate, heartRate, 0.045, 1.2);
	    monitor.breathingRate = museAppSmoothValue(monitor.breathingRate, breathingRate, 0.045, 0.18);
      if (hemisphereBalance) {
        const smoothedLeft = museAppSmoothValue(monitor.leftActivity, hemisphereBalance.left, 0.07, 2);
        monitor.leftActivity = clamp(smoothedLeft, 0, 100);
        monitor.rightActivity = 100 - monitor.leftActivity;
        const difference = monitor.leftActivity - monitor.rightActivity;
        hemisphereBalance = {
          left: monitor.leftActivity,
          right: monitor.rightActivity,
          difference,
          label: Math.abs(difference) < 8
            ? t("museHemisphereBalanced")
            : difference > 0
              ? t("museHemisphereLeft")
              : t("museHemisphereRight")
        };
      } else {
        monitor.leftActivity = null;
        monitor.rightActivity = null;
      }
	    signal = Number.isFinite(monitor.signal) ? monitor.signal : signal;
	    calm = Number.isFinite(monitor.calm) ? monitor.calm : calm;
	    focus = Number.isFinite(monitor.focus) ? monitor.focus : focus;
	    artifacts = Number.isFinite(monitor.artifacts) ? monitor.artifacts : artifacts;
	    latency = Number.isFinite(monitor.latency) ? monitor.latency : latency;
	    heartRate = Number.isFinite(monitor.heartRate) ? monitor.heartRate : heartRate;
	    breathingRate = Number.isFinite(monitor.breathingRate) ? monitor.breathingRate : breathingRate;
	  } else {
	    monitor.signal = signal;
	    monitor.calm = calm;
	    monitor.focus = focus;
	    monitor.artifacts = artifacts;
	    monitor.latency = latency;
	    monitor.heartRate = heartRate;
	    monitor.breathingRate = breathingRate;
      monitor.leftActivity = null;
      monitor.rightActivity = null;
	  }
	  const focusArc = clamp(Math.max(focus, 24), 0, 100);
  const artifactsArc = liveMuseActive
    ? clamp(artifacts, 0, 100)
    : clamp(Math.max(artifacts, 18), 0, 100);
  const stressArc = liveMuseActive
    ? museStressScore({ calm, artifacts, latency })
    : clamp(Math.max(museStressScore({ calm, artifacts, latency }), 14), 0, 100);
  const dominantState = dominantMuseState({ signal, calm, focus, artifacts, latency });
  if (!liveMuseActive) state.museMonitorBattery = clamp(state.museMonitorBattery - 0.002, 12, 100);

  document.documentElement.style.setProperty("--muse-signal", formatMonitorPercent(signal));
  document.documentElement.style.setProperty("--muse-calm", formatMonitorPercent(calm));
  document.documentElement.style.setProperty("--muse-focus", formatMonitorPercent(focusArc));
  document.documentElement.style.setProperty("--muse-stress", formatMonitorPercent(stressArc));
  document.documentElement.style.setProperty("--muse-artifacts", formatMonitorPercent(artifactsArc));
  document.documentElement.style.setProperty("--muse-ring-speed", `${clamp(14 - signal / 10, 4, 10)}s`);

  els.museSignalValue.textContent = formatMonitorPercent(signal);
  els.museCalmValue.textContent = formatMonitorPercent(calm);
  els.museFocusValue.textContent = formatMonitorPercent(focus);
  els.museArtifactsValue.textContent = formatMonitorPercent(artifacts);
  els.museBatteryValue.textContent = formatMonitorPercent(state.museMonitorBattery);
  els.museLatencyValue.textContent = `${Math.round(latency)} ms`;
  els.museStateName.textContent = dominantState.label;
  const dominantStateShare = dominantState.breakdown?.[0]?.percent ?? dominantState.confidence;
  els.museStateConfidence.value = formatMonitorPercent(dominantStateShare);
  renderMuseStateBreakdown(dominantState.breakdown);
  renderMuseHemisphereBalance(hemisphereBalance);
  els.museHeartRateValue.textContent = `${Math.round(heartRate)} bpm`;
  els.museBreathingRateValue.textContent = `${breathingRate.toFixed(1)} /min`;
  const liveFrequencyFollowing = liveMuseActive ? eegFrequencyFollowingMetrics(audioHz || lightHz || 1) : null;
  const frequencyFollowing = liveMuseActive
    ? liveFrequencyFollowing
    : demoFrequencyFollowingMetrics(audioHz || lightHz || 1, state.sessionElapsedSeconds);
  const frequencyFollowingSource = liveMuseActive
    ? (frequencyFollowing?.spectrumSource || "muse-bridge-pending")
    : (frequencyFollowing?.spectrumSource || "demo-simulated");
  const entrainmentMatch = entrainmentMatchPercent(frequencyFollowing);
  if (els.museDominantFrequencyValue) {
    els.museDominantFrequencyValue.textContent = Number.isFinite(frequencyFollowing?.dominantEegFrequencyHz)
      ? `${Number(frequencyFollowing.dominantEegFrequencyHz).toFixed(1)} Hz`
      : "-- Hz";
  }
  if (els.museEntrainmentMatchValue) {
    els.museEntrainmentMatchValue.textContent = Number.isFinite(entrainmentMatch)
      ? `${entrainmentMatch}%`
      : "--%";
  }
  state.museCurrentState = {
    id: dominantState.id,
    label: dominantState.label,
    source: liveMuseActive ? "muse-bridge" : "demo",
    confidence: Math.round(dominantState.confidence),
    stateShare: Math.round(dominantStateShare),
    stateBreakdown: (dominantState.breakdown || []).map((item) => ({
      id: item.id,
      label: item.label,
      percent: Math.round(item.percent)
    })),
    heartRate: Math.round(heartRate),
    breathingRate: Number(breathingRate.toFixed(1)),
    dominantFrequencyHz: Number.isFinite(frequencyFollowing?.dominantEegFrequencyHz)
      ? Number(Number(frequencyFollowing.dominantEegFrequencyHz).toFixed(2))
      : null,
    entrainmentMatch: Number.isFinite(entrainmentMatch) ? entrainmentMatch : null,
    hemisphereBalance: hemisphereBalance
      ? {
        label: hemisphereBalance.label,
        leftActivity: Math.round(hemisphereBalance.left),
        rightActivity: Math.round(hemisphereBalance.right),
        difference: Number(hemisphereBalance.difference.toFixed(1))
      }
      : null
  };
  const activeSegment = activeSessionRunSegment();
  const activeSegmentProgram = activeSegment ? sessionPrograms[activeSegment.programId] : null;
  recordSessionEegSample({
    timestamp: new Date().toISOString(),
    elapsedSeconds: Number(currentRunElapsedSeconds().toFixed(2)),
    segmentElapsedSeconds: Number(state.sessionElapsedSeconds.toFixed(2)),
    segmentIndex: state.sessionRunSegmentIndex,
    segmentType: activeSegment?.type || "session",
    segmentProgramId: activeSegment?.programId || state.sessionProgramId,
    segmentTitle: localizedProgramTitle(activeSegmentProgram || sessionPrograms[state.sessionProgramId]),
    phase: els.sessionPhaseName.textContent || "",
    signal: Math.round(signal),
    calm: Math.round(calm),
    focus: Math.round(focus),
    stress: Math.round(stressArc),
    artifacts: Math.round(artifacts),
    latency: Math.round(latency),
    battery: Math.round(state.museMonitorBattery),
    source: liveMuseActive ? "muse-bridge" : "demo",
    museDevice: bridge.device || "",
    rawEegChannels: liveMuseActive && bridge.channels ? { ...bridge.channels } : null,
    sensorContact: liveMuseActive && Number.isFinite(bridge.contactSignal) ? Math.round(bridge.contactSignal) : null,
    sensorContacts: liveMuseActive ? { ...(bridge.contactSensors || {}) } : null,
    opticalStatus: liveMuseActive ? museOpticalStatus(liveMuseActive) : "offline",
    eegStability: liveMuseActive && Number.isFinite(bridge.eegStability) ? Math.round(bridge.eegStability) : null,
    targetFrequencyHz: frequencyFollowing?.targetFrequencyHz ?? null,
    dominantEegFrequencyHz: frequencyFollowing?.dominantEegFrequencyHz ?? null,
    dominantEegPower: frequencyFollowing?.dominantPower ?? null,
    targetFrequencyPower: frequencyFollowing?.targetPower ?? null,
    frequencyDeviationHz: frequencyFollowing?.frequencyDeviationHz ?? null,
    targetToleranceHz: frequencyFollowing?.targetToleranceHz ?? null,
    followsTargetFrequency: frequencyFollowing?.followsTarget ?? null,
    entrainmentMatch,
    hemisphereBalance: hemisphereBalance?.label || null,
    leftActivity: hemisphereBalance ? Math.round(hemisphereBalance.left) : null,
    rightActivity: hemisphereBalance ? Math.round(hemisphereBalance.right) : null,
    hemisphereDifference: hemisphereBalance ? Number(hemisphereBalance.difference.toFixed(1)) : null,
    frequencyFollowingSource,
    stateId: dominantState.id,
    stateLabel: dominantState.label,
    confidence: Math.round(dominantState.confidence),
    stateShare: Math.round(dominantStateShare),
    stateBreakdown: (dominantState.breakdown || []).map((item) => ({
      id: item.id,
      label: item.label,
      percent: Math.round(item.percent)
    })),
    heartRate: Math.round(heartRate),
    breathingRate: Number(breathingRate.toFixed(1)),
    lightHz: Number(lightHz.toFixed(2)),
    audioHz: Number(audioHz.toFixed(2)),
    lightPulseShape,
    audioPulseShape,
    brainwaveBand: band.id,
    rgbIntensity: Math.round(rgbIntensity),
    whiteIntensity: Math.round(strobeIntensity),
    adaptiveEnabled: state.sessionAdaptiveActive,
    adaptiveGoal: state.sessionAdaptiveActive ? state.sessionAdaptiveEffectiveGoal : null,
    adaptiveGoalSelection: state.sessionAdaptiveActive ? state.sessionAdaptiveGoal : null,
    adaptiveAction: state.sessionAdaptiveActive ? state.sessionAdaptiveDecision?.action || null : null,
    adaptiveReason: state.sessionAdaptiveActive ? state.sessionAdaptiveDecision?.reason || null : null,
    adaptiveLightScale: state.sessionAdaptiveActive ? Number(state.sessionAdaptiveLightScale.toFixed(3)) : null,
    adaptiveAudioScale: state.sessionAdaptiveActive ? Number(state.sessionAdaptiveAudioScale.toFixed(3)) : null,
    adaptiveFrequencyOffsetHz: state.sessionAdaptiveActive ? Number(state.sessionAdaptiveFrequencyOffset.toFixed(2)) : null
  });
	  els.museStatePanel.dataset.state = dominantState.id;
	  els.museStatePanel.style.setProperty("--state-color", dominantState.color);
	  const nativeMessage = bridge.lastNativeMessage ? ` · ${bridge.lastNativeMessage}` : "";
	  if (liveMuseActive) {
	    const fullStatus = `${musePacketStatusText()}${nativeMessage}`;
	    els.museMonitorStatus.textContent = musePacketShortStatus();
	    els.museMonitorStatus.title = fullStatus;
	  } else {
	    const waitingForMuse = state.museMonitorVisible && bridge.available;
      els.museMonitorStatus.textContent = waitingForMuse
	      ? bridge.status === "no-device-found"
          ? (currentLanguage === "nl" ? "Niet gevonden" : "Not found")
          : (currentLanguage === "nl" ? "Wacht" : "Waiting")
	      : (currentLanguage === "nl" ? "Monitor" : "Monitor");
	    els.museMonitorStatus.title = waitingForMuse
	      ? bridge.status === "no-device-found" && bridge.lastNativeMessage
          ? bridge.lastNativeMessage
          : (currentLanguage === "nl" ? "Wacht op live Muse-data." : "Waiting for live Muse data.")
	      : "";
	  }
	  updateSessionPreBaselineControls();
	  updateSessionAdaptiveControls();
	  renderEegSpectrumPlot();
	}

function activeMusicLightCodeDisplay() {
  if (!state.musicLightCodeSafeModeSnapshot || !state.musicLightCodeDecoder) return null;
  const type = normalizeMusicLightCode(state.musicLightCodeDecoder.lightCode);
  if (!type) return null;
  const frequency = Number(
    state.musicLightCodeDecoder.pulseFrequencyHz
    || state.musicLightCodeDecoder.pulseFrequencyAnchorHz
    || 10
  );
  return {
    type,
    label: musicLightCodeLabel(type),
    frequency: clamp(frequency || Number(els.frequency.value) || 10, 0.1, 40),
    animation: type === "audiostrobe"
      ? (currentLanguage === "nl" ? "Square puls" : "Square pulse")
      : (currentLanguage === "nl" ? "RGB amplitude" : "RGB amplitude")
  };
}

function updateLabels() {
  const frequencyLabel = `${Number(els.frequency.value).toFixed(1).replace(".0", "")} Hz`;
  const lightCodeDisplay = activeMusicLightCodeDisplay();
  const lightFrequency = lightCodeDisplay?.frequency ?? Number(els.frequency.value);
  const lightFrequencyLabel = `${lightFrequency.toFixed(1).replace(".0", "")} Hz`;
  const audioFrequency = lightCodeDisplay?.frequency ?? Number(state.audioBeatOverride ?? els.frequency.value);
  const audioFrequencyLabel = `${audioFrequency.toFixed(1).replace(".0", "")} Hz`;
  const band = getBrainwaveBand(lightFrequency);
  const audioBand = getBrainwaveBand(audioFrequency);
  const lightCodeColor = lightCodeDisplay
    ? (musicLightCodeUsesWhiteFlashOnly(lightCodeDisplay.type)
      ? "#ffffff"
      : /^#[0-9a-f]{6}$/i.test(els.rgbColor?.value || "") ? els.rgbColor.value : audioBand.color)
    : audioBand.color;

  els.frequencyValue.value = frequencyLabel;
  els.orbFrequency.textContent = lightFrequencyLabel;
  els.orbBand.textContent = band.name;
  els.orbAudioFrequency.textContent = audioFrequencyLabel;
  els.orbAudioBand.textContent = audioBand.name;
  els.orbAudioFrequency.style.color = audioBand.color;
  els.orbAudioBand.style.color = audioBand.color;
  if (els.orbLightCodeReadout) {
    els.orbLightCodeReadout.hidden = !lightCodeDisplay;
    els.visualizer.classList.toggle("light-code-active", Boolean(lightCodeDisplay));
    if (lightCodeDisplay) {
      els.orbLightCodeMode.textContent = lightCodeDisplay.label;
      els.orbLightCodeFrequency.textContent = audioFrequencyLabel;
      els.orbLightCodeAnimation.textContent = lightCodeDisplay.animation;
    }
  }
  els.bandName.textContent = band.name;
  els.bandRange.textContent = band.range;
  els.bandPurpose.textContent = currentLanguage === "nl" ? band.purpose : band.purposeEn;
  document.documentElement.style.setProperty("--band", band.color);
  document.documentElement.style.setProperty("--audio-band", lightCodeColor);
  document.documentElement.style.setProperty("--light-ring-speed", `${clamp(8 / lightFrequency, 1.2, 5)}s`);
  document.documentElement.style.setProperty("--audio-ring-speed", `${clamp(8 / audioFrequency, 1.2, 5)}s`);
  updateMuseMonitor();
  document.querySelectorAll(".band-strip span").forEach((item) => {
    item.classList.toggle("active", item.dataset.band === band.id);
  });
  els.strobeIntensityValue.value = `${els.strobeIntensity.value}%`;
  els.rgbIntensityValue.value = `${els.rgbIntensity.value}%`;
  if (els.screenLightBoostValue) els.screenLightBoostValue.value = `${els.screenLightBoost.value}%`;
  if (HAS_AURORA_MODE) {
    els.auroraSpeedValue.value = `${Number(els.auroraSpeed.value).toFixed(2)}x`;
    els.auroraDepthValue.value = `${els.auroraDepth.value}%`;
  }
  els.audioVolumeValue.value = `${els.audioVolume.value}%`;
  els.noiseVolumeValue.value = `${els.noiseVolume.value}%`;
  els.masterVolumeValue.value = `${els.masterVolume.value}%`;
  if (HAS_SPATIAL_REVERB) {
    els.reverbMixValue.value = `${els.reverbMix.value}%`;
    els.reverbDecayValue.value = `${Number(els.reverbDecay.value).toFixed(1)}s`;
    els.reverbPreDelayValue.value = `${els.reverbPreDelay.value} ms`;
  }
  const balance = Number(els.audioBalance.value);
  els.audioBalanceValue.value = balance === 0
    ? (currentLanguage === "nl" ? "Midden" : "Center")
    : `${Math.abs(balance)}% ${balance < 0
      ? (currentLanguage === "nl" ? "links" : "left")
      : (currentLanguage === "nl" ? "rechts" : "right")}`;
  els.equalizerBassValue.value = `${Number(els.equalizerBass.value) > 0 ? "+" : ""}${els.equalizerBass.value} dB`;
  els.equalizerMidValue.value = `${Number(els.equalizerMid.value) > 0 ? "+" : ""}${els.equalizerMid.value} dB`;
  els.equalizerTrebleValue.value = `${Number(els.equalizerTreble.value) > 0 ? "+" : ""}${els.equalizerTreble.value} dB`;
  renderAudioSettingsGraph();
  els.sentHexColor.value = rgbToHex(outputRgbColor());
  const audioModeLabels = currentLanguage === "nl"
    ? { isochronic: "Isochroon", binaural: "Binaural", monaural: "Monaural", "isochronic-monaural": "Isochroon + monaural" }
    : { isochronic: "Isochronic", binaural: "Binaural", monaural: "Monaural", "isochronic-monaural": "Isochronic + monaural" };
  const audioModeLabel = audioModeLabels[els.audioMode.value] || audioModeLabels.isochronic;
  const audioPulseShapeLabels = currentLanguage === "nl"
    ? { sine: "Sinus", triangle: "Driehoek", square: "Vierkant", trapezoid: "Trapezium", sawtooth: "Zaagtand" }
    : { sine: "Sine", triangle: "Triangle", square: "Square", trapezoid: "Trapezoid", sawtooth: "Sawtooth" };
  const audioPulseShapeLabel = audioPulseShapeLabels[els.audioPulseShape.value] || audioPulseShapeLabels.sine;
  const noiseLabels = currentLanguage === "nl"
    ? { none: "geen ruis", white: "witte ruis", pink: "roze ruis" }
    : { none: "no noise", white: "white noise", pink: "pink noise" };
  const noiseLabel = els.noiseType.value === "none"
    ? ""
    : ` · ${noiseLabels[els.noiseType.value] || noiseLabels.none}`;
  els.audioStatus.value = state.audioEnabled
    ? `${audioModeLabel} · ${audioPulseShapeLabel} · ${els.carrierFrequency.value} Hz / ${audioFrequencyLabel}${noiseLabel}`
    : localizedRuntimeText("Uit");
  els.audioToggle.textContent = state.audioEnabled
    ? (currentLanguage === "nl" ? "Stop geluidsstimulatie" : "Stop audio stimulation")
    : (currentLanguage === "nl" ? "Start geluidsstimulatie" : "Start audio stimulation");
  els.blackoutButton.textContent = state.blackoutActive
    ? (currentLanguage === "nl" ? "Hervat" : "Resume")
    : "Blackout";
  updateAudioParameters();
}

function isMusicPlaying() {
  return !els.musicPlayer.paused && !els.musicPlayer.ended;
}

function masterVolumeNormalized() {
  return clamp(Number(els.masterVolume.value), 0, 100) / 100;
}

function resetSessionPulseVolumeScale() {
  state.sessionPulseVolumeBase = 0;
  state.sessionPulseVolumeScale = 1;
  state.sessionPulseVolumeInteracting = false;
}

function effectiveSessionPulseVolume(baseVolume) {
  const base = clamp(Number(baseVolume) || 0, 0, 100);
  if (!state.sessionRunning) return base;
  const scale = clamp(Number(state.sessionPulseVolumeScale) || 1, 0, 4);
  if (base <= 0 && !state.sessionPulseVolumeInteracting) return 0;
  return clamp(Math.max(base, 1) * scale, 0, 100);
}

function updateSessionPulseVolumeScaleFromControl() {
  if (!state.sessionRunning) return;
  const selectedVolume = clamp(Number(els.audioVolume.value) || 0, 0, 100);
  const baseVolume = Math.max(1, Number(state.sessionPulseVolumeBase) || 1);
  state.sessionPulseVolumeScale = clamp(selectedVolume / baseVolume, 0, 4);
}

function getAudioVolume() {
  const normalized = clamp(Number(els.audioVolume.value), 0, 100) / 100;
  const sessionPulseMultiplier = state.sessionRunning || state.sessionMusicDucking ? 0.62 : 1;
  const manualMusicMultiplier = !state.sessionRunning && isMusicPlaying() ? 0.2 : 1;
  const musicMultiplier = Math.min(sessionPulseMultiplier, manualMusicMultiplier);
  return normalized * masterVolumeNormalized() * 0.9 * musicMultiplier;
}

function getNoiseVolume() {
  if (els.noiseType.value === "none") return 0;
  return clamp(Number(els.noiseVolume.value), 0, 100) / 100 * masterVolumeNormalized() * 0.55;
}

function remoteEndpoint(path) {
  if (!HAS_REMOTE) return new URL(path, window.location.origin);
  const url = new URL(path, window.location.origin);
  if (state.remoteToken) url.searchParams.set("token", state.remoteToken);
  return url;
}

function setLocalQrImage(image, value) {
  if (!image || !value) return false;
  try {
    if (typeof qrcode !== "function") throw new Error("qrcode unavailable");
    const qr = qrcode(0, "M");
    qr.addData(value);
    qr.make();
    image.src = qr.createDataURL(6, 2);
    image.hidden = false;
    return true;
  } catch {
    image.src = `https://api.qrserver.com/v1/create-qr-code/?size=224x224&margin=2&data=${encodeURIComponent(value)}`;
    image.hidden = false;
    return false;
  }
}

function remoteSnapshot() {
  if (!HAS_REMOTE) return {};
  return {
    connected: true,
    product: PRODUCT.name,
    language: currentLanguage,
    session: {
      title: els.sessionTitle.textContent || PRODUCT.name,
      timer: els.sessionTimer.value || els.sessionTimer.textContent || "--:--",
      running: state.sessionRunning,
      paused: state.sessionPaused,
      phase: els.sessionPhaseName.textContent || ""
    },
    output: {
      enabled: state.enabled,
      blackout: state.blackoutActive,
      status: els.statusText.textContent || ""
    },
    controls: {
      masterVolume: Number(els.masterVolume.value) || 0,
      rgbIntensity: Number(els.rgbIntensity.value) || 0,
      whiteIntensity: Number(els.strobeIntensity.value) || 0
    },
    audio: {
      enabled: state.audioEnabled,
      musicPlaying: isMusicPlaying(),
      track: els.musicTrackName.textContent || "",
      breathing: els.breathingGuideEnabled.checked
    },
    muse: state.museCurrentState
      ? {
      state: state.museCurrentState.label,
      confidence: state.museCurrentState.confidence,
      heartRate: state.museCurrentState.heartRate,
      breathingRate: state.museCurrentState.breathingRate,
      hemisphereBalance: state.museCurrentState.hemisphereBalance
    }
    : null
  };
}

async function publishRemoteState() {
  if (!HAS_REMOTE) return;
  if (!state.remoteToken) return;
  try {
    await fetch(remoteEndpoint("/remote/state"), {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify(remoteSnapshot())
    });
  } catch {
    // The remote is optional; the desktop app keeps running without it.
  }
}

function escapeHtml(value) {
  return String(value || "").replace(/[&<>"']/g, (char) => ({
    "&": "&amp;",
    "<": "&lt;",
    ">": "&gt;",
    '"': "&quot;",
    "'": "&#39;"
  }[char]));
}

function decodeHtmlEntities(value) {
  const textarea = document.createElement("textarea");
  textarea.innerHTML = String(value || "");
  return textarea.value;
}

function stripHtmlCodeFence(value) {
  return String(value || "")
    .trim()
    .replace(/^```(?:html)?\s*/i, "")
    .replace(/\s*```$/i, "")
    .trim();
}

function looksLikeHtml(value) {
  return /<\/?[a-z][\s\S]*>/i.test(String(value || ""));
}

function reportHtmlFromValue(value) {
  const decoded = stripHtmlCodeFence(decodeHtmlEntities(value));
  return looksLikeHtml(decoded) ? decoded : `<pre>${escapeHtml(decoded)}</pre>`;
}

function responseIsAcceptedWithoutReport(value) {
  if (value && typeof value === "object") {
    const status = analysisStatusFromPayload(value);
    if (status) return false;
    const candidates = [value.html, value.result, value.analysis, value.output, value.content, value.text, value.summary, value.message]
      .filter((item) => item !== undefined && item !== null);
    return candidates.length === 0 || candidates.some(responseIsAcceptedWithoutReport);
  }
  return /^accepted$/i.test(stripHtmlCodeFence(decodeHtmlEntities(value)).trim());
}

function parseNestedAnalysisJson(value) {
  if (typeof value !== "string") return value;
  const decoded = stripHtmlCodeFence(decodeHtmlEntities(value)).trim();
  if (!decoded || !/^[{\[]/.test(decoded)) return value;
  try {
    return JSON.parse(decoded);
  } catch {
    return value;
  }
}

function normalizeAnalysisReport(payload) {
  const parsedPayload = parseNestedAnalysisJson(payload);
  if (parsedPayload !== payload) return normalizeAnalysisReport(parsedPayload);
  if (payload && typeof payload === "object") {
    const nestedValue = parseNestedAnalysisJson(payload.html || payload.result || payload.analysis || payload.output || payload.content || payload.text || payload.summary || "");
    if (nestedValue && typeof nestedValue === "object") return normalizeAnalysisReport(nestedValue);
    const value = payload.html || payload.result || payload.analysis || payload.output || payload.content || payload.text || payload.summary || "";
    const fallbackMessage = currentLanguage === "nl"
      ? "Het AI-analyserapport is klaar."
      : "The AI analysis report is ready.";
    const messageOnly = !payload.html && !payload.result && !payload.analysis && !payload.output && !payload.content && !payload.text && !payload.summary;
    const html = messageOnly
      ? `<p>${escapeHtml(fallbackMessage)}</p>`
      : reportHtmlFromValue(value);
    const completionMarker = analysisStatusFromPayload(payload) === "ready"
      ? `<p data-report-complete="true">RAPPORT_VOLLEDIG</p>`
      : "";
    return {
      title: payload.title || t("analysisTitle"),
      html: `${html}${completionMarker}`
    };
  }
  return {
    title: t("analysisTitle"),
    html: reportHtmlFromValue(payload)
  };
}

function sanitizeAnalysisReportHtml(html) {
  const template = document.createElement("template");
  template.innerHTML = String(html || "");
  const hasCompletionMarker = Boolean(template.content.querySelector("[data-report-complete]"))
    || /RAPPORT_VOLLEDIG/.test(template.content.textContent || "");
  template.content.querySelectorAll("script, style, iframe, object, embed, .analysis-incomplete-warning").forEach((node) => node.remove());
  template.content.querySelectorAll("[data-report-complete]").forEach((node) => node.remove());
  template.content.querySelectorAll("*").forEach((node) => {
    ["style", "width", "height", "cellpadding", "cellspacing", "border"].forEach((name) => node.removeAttribute(name));
  });
  template.content.querySelectorAll("table").forEach((table) => {
    if (table.parentElement?.classList.contains("analysis-table-wrap")) return;
    const wrapper = document.createElement("div");
    wrapper.className = "analysis-table-wrap";
    table.parentNode?.insertBefore(wrapper, table);
    wrapper.appendChild(table);
  });
  const cleanHtml = template.innerHTML.replace(/RAPPORT_VOLLEDIG/g, "");
  if (hasCompletionMarker) return cleanHtml;
  return cleanHtml;
}

function showAnalysisReport(report) {
  if (!els.analysisDialog || !els.analysisReportOutput) return;
  const normalized = normalizeAnalysisReport(report);
  const html = sanitizeAnalysisReportHtml(normalized.html || `<p>${escapeHtml(t("analysisFailed"))}</p>`);
  state.sessionAnalysisPrompt = "";
  state.sessionAnalysisReportTitle = normalized.title || t("analysisTitle");
  state.sessionAnalysisReportHtml = html;
  els.analysisReportOutput.innerHTML = html;
  els.analysisDialog.dataset.printTitle = normalized.title || t("analysisTitle");
  if (!els.analysisDialog.open) els.analysisDialog.showModal();
}

function generateAnalysisId() {
  if (globalThis.crypto?.randomUUID) return globalThis.crypto.randomUUID();
  return `analysis-${Date.now()}-${Math.random().toString(36).slice(2, 10)}`;
}

async function readAnalysisResponse(response) {
  const text = await response.text();
  try {
    return JSON.parse(text);
  } catch {
    return text;
  }
}

function extractLooseJsonString(source, key) {
  const text = String(source || "");
  const pattern = new RegExp(`"${key}"\\s*:\\s*"`, "i");
  const match = pattern.exec(text);
  if (!match) return "";
  const start = match.index + match[0].length;
  if (key === "html") {
    const errorField = /",\s*\n?\s*"error"\s*:/gi;
    errorField.lastIndex = start;
    const errorMatch = errorField.exec(text);
    const objectEnd = text.lastIndexOf('"\n}');
    const compactObjectEnd = text.lastIndexOf('"}');
    const end = errorMatch
      ? errorMatch.index
      : objectEnd > start
        ? objectEnd
        : compactObjectEnd > start
          ? compactObjectEnd
          : text.length;
    return text.slice(start, end)
      .replace(/\\"/g, '"')
      .replace(/\\n/g, "\n")
      .replace(/\\r/g, "\r")
      .replace(/\\t/g, "\t");
  }
  const nextField = /",\s*\n?\s*"[a-z0-9_]+":/gi;
  nextField.lastIndex = start;
  const endMatch = nextField.exec(text);
  const raw = text.slice(start, endMatch ? endMatch.index : text.lastIndexOf('"'));
  return raw
    .replace(/\\"/g, '"')
    .replace(/\\n/g, "\n")
    .replace(/\\r/g, "\r")
    .replace(/\\t/g, "\t");
}

function analysisStatusFromPayload(payload) {
  if (typeof payload === "string") {
    return extractLooseJsonString(payload, "status").toLowerCase();
  }
  if (!payload || typeof payload !== "object") return "";
  return String(payload.status || payload.state || "").toLowerCase();
}

function looseAnalysisReportFromText(text) {
  return {
    title: extractLooseJsonString(text, "title") || t("analysisTitle"),
    html: extractLooseJsonString(text, "html") || text
  };
}

function clearSessionAnalysisPolling() {
  if (state.sessionAnalysisPollTimer) {
    clearTimeout(state.sessionAnalysisPollTimer);
    state.sessionAnalysisPollTimer = null;
  }
}

async function pollSessionAnalysisReport() {
  if (!state.sessionAnalysisId || !AI_ANALYSIS_STATUS_WEBHOOK_URL) return;
  if (Date.now() - state.sessionAnalysisPollStartedAt > ANALYSIS_POLL_TIMEOUT_MS) {
    clearSessionAnalysisPolling();
    state.sessionAnalysisStatusOverride = t("analysisTimeout");
    updateAnalysisControls();
    return;
  }

  try {
    const response = await fetch(AI_ANALYSIS_STATUS_WEBHOOK_URL, {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify({ analysisId: state.sessionAnalysisId })
    });
    if (!response.ok) throw new Error("analysis_status_failed");
    const payload = await readAnalysisResponse(response);
    const status = analysisStatusFromPayload(payload);

    if (status === "ready" || status === "complete" || status === "completed") {
      clearSessionAnalysisPolling();
      state.sessionAnalysisStatusOverride = t("analysisReady");
      showAnalysisReport(typeof payload === "string" ? looseAnalysisReportFromText(payload) : payload);
      updateAnalysisControls();
      return;
    }

    if (status === "error" || status === "failed") {
      clearSessionAnalysisPolling();
      await refundAnalysisCredit(state.sessionAnalysisCreditId || state.sessionAnalysisId);
      state.sessionAnalysisStatusOverride = payload?.error || t("analysisFailed");
      updateAnalysisControls();
      return;
    }

    if (typeof payload === "string" && looksLikeHtml(payload)) {
      clearSessionAnalysisPolling();
      state.sessionAnalysisStatusOverride = t("analysisReady");
      showAnalysisReport(payload);
      updateAnalysisControls();
      return;
    }

    state.sessionAnalysisStatusOverride = t("analysisPending");
  } catch {
    state.sessionAnalysisStatusOverride = t("analysisPending");
  }
  updateAnalysisControls();
  state.sessionAnalysisPollTimer = setTimeout(() => void pollSessionAnalysisReport(), ANALYSIS_POLL_INTERVAL_MS);
}

function startSessionAnalysisPolling(analysisId) {
  state.sessionAnalysisId = String(analysisId || "").trim();
  if (!state.sessionAnalysisId || !AI_ANALYSIS_STATUS_WEBHOOK_URL) return false;
  clearSessionAnalysisPolling();
  state.sessionAnalysisPollStartedAt = Date.now();
  state.sessionAnalysisStatusOverride = t("analysisStarted");
  updateAnalysisControls();
  state.sessionAnalysisPollTimer = setTimeout(() => void pollSessionAnalysisReport(), ANALYSIS_POLL_INTERVAL_MS);
  return true;
}

async function requestSessionAnalysis() {
  if (state.sessionAnalysisReportHtml) {
    showAnalysisReport({
      title: state.sessionAnalysisReportTitle || t("analysisTitle"),
      html: state.sessionAnalysisReportHtml
    });
    updateAnalysisControls();
    return;
  }
  if (state.sessionRunning || !state.sessionEnded) {
    state.sessionAnalysisStatusOverride = t("analysisWaitForEnd");
    updateAnalysisControls();
    return;
  }
  if (!hasAnalysisData()) {
    updateAnalysisControls();
    return;
  }
  const data = sessionAnalysisData();
  const prompt = professionalAnalysisPrompt(data);
  const analysisId = generateAnalysisId();
  state.sessionAnalysisPrompt = prompt;
  state.sessionAnalysisId = analysisId;
  state.sessionAnalysisCreditId = analysisId;

  if (!(await consumeAnalysisCredit(analysisId))) {
    return;
  }

  if (!AI_ANALYSIS_WEBHOOK_URL) {
    await refundAnalysisCredit(analysisId);
    state.sessionAnalysisStatusOverride = t("analysisNotConfigured");
    updateAnalysisControls();
    return;
  }

  try {
    state.sessionAnalysisStatusOverride = t("analysisRunning");
    updateAnalysisControls();
    const response = await fetch(AI_ANALYSIS_WEBHOOK_URL, {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify({ analysisId, prompt, sessionData: data })
    });
    if (!response.ok) throw new Error("analysis_request_failed");
    const payload = await readAnalysisResponse(response);
    const status = analysisStatusFromPayload(payload);
    if (status === "started" || status === "pending" || status === "queued") {
      if (!startSessionAnalysisPolling(payload?.analysisId || analysisId)) {
        await refundAnalysisCredit(analysisId);
        state.sessionAnalysisStatusOverride = t("analysisFailed");
        updateAnalysisControls();
      }
      return;
    }

    if (status === "ready" || status === "complete" || status === "completed") {
      showAnalysisReport(typeof payload === "string" ? looseAnalysisReportFromText(payload) : payload);
      state.sessionAnalysisStatusOverride = t("analysisReady");
      updateAnalysisControls();
      return;
    }

    if (responseIsAcceptedWithoutReport(payload)) {
      await refundAnalysisCredit(analysisId);
      state.sessionAnalysisStatusOverride = t("analysisAcceptedNoReport");
      updateAnalysisControls();
      return;
    }

    showAnalysisReport(payload);
    state.sessionAnalysisStatusOverride = t("analysisReady");
    updateAnalysisControls();
  } catch {
    await refundAnalysisCredit(analysisId);
    state.sessionAnalysisStatusOverride = t("analysisFailed");
    updateAnalysisControls();
  }
}

function analysisPrintDocument(content, title) {
  return `<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>${escapeHtml(title)}</title>
  <style>
    @page { margin: 16mm; }
    html, body {
      background: #fff;
      color: #111827;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 10.5pt;
      line-height: 1.45;
    }
    body { margin: 0; }
    .pdf-page {
      box-sizing: border-box !important;
      width: 794px !important;
      height: 1123px !important;
      background: #fff !important;
      overflow: hidden !important;
      page-break-after: always;
    }
    .pdf-page:last-child {
      page-break-after: auto;
    }
    .pdf-page-content {
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    article, section, header, footer, div, p, ul, ol, li, table, thead, tbody, tr, th, td {
      box-sizing: border-box !important;
      max-width: 100% !important;
      overflow-wrap: anywhere !important;
      word-break: normal !important;
      white-space: normal !important;
      line-height: 1.45 !important;
      position: static !important;
      float: none !important;
    }
    h1, h2, h3 {
      color: #0f172a;
      line-height: 1.18 !important;
      break-after: avoid;
      page-break-after: avoid;
    }
    h1 { font-size: 18pt; margin: 0 0 10pt; }
    h2 { font-size: 14pt; margin: 16pt 0 7pt; }
    h3 { font-size: 11.5pt; margin: 12pt 0 5pt; }
    p, ul, ol { margin: 0 0 8pt; }
    .analysis-incomplete-warning {
      margin: 0 0 12pt;
      padding: 8pt 9pt;
      border: 1px solid #f59e0b;
      background: #fffbeb;
      color: #92400e;
      font-weight: 700;
    }
    .analysis-table-wrap {
      max-width: 100%;
      overflow: visible;
      margin: 8pt 0 10pt;
    }
    table {
      width: 100% !important;
      table-layout: auto !important;
      border-collapse: collapse !important;
      margin: 0 !important;
      break-inside: auto;
      page-break-inside: auto;
    }
    tr {
      break-inside: avoid;
      page-break-inside: avoid;
    }
    th, td {
      border: 1px solid #cbd5e1 !important;
      padding: 5pt 6pt !important;
      text-align: left !important;
      vertical-align: top !important;
      font-size: 9.5pt;
    }
    th { background: #f1f5f9 !important; }
  </style>
</head>
<body>${content}<script>window.addEventListener("load", () => setTimeout(() => window.print(), 500));</script></body>
</html>`;
}

function printAnalysisReport() {
  const content = state.sessionAnalysisReportHtml || els.analysisReportOutput?.innerHTML || "";
  if (!content) return;
  const title = state.sessionAnalysisReportTitle || els.analysisDialog?.dataset.printTitle || t("analysisTitle");
  const documentHtml = analysisPrintDocument(content, title);
  const nativePrint = window.webkit?.messageHandlers?.analysisPrint;
  if (nativePrint) {
    nativePrint.postMessage({ title, html: documentHtml });
    return;
  }
  const frame = document.createElement("iframe");
  frame.setAttribute("aria-hidden", "true");
  frame.style.position = "fixed";
  frame.style.right = "0";
  frame.style.bottom = "0";
  frame.style.width = "0";
  frame.style.height = "0";
  frame.style.border = "0";
  document.body.appendChild(frame);

  const printWindow = frame.contentWindow;
  const printDocument = frame.contentDocument || printWindow?.document;
  if (!printWindow || !printDocument) {
    frame.remove();
    window.print();
    return;
  }

  printDocument.open();
  printDocument.write(documentHtml);
  printDocument.close();
  window.setTimeout(() => {
    printWindow.focus();
    printWindow.print();
    window.setTimeout(() => frame.remove(), 1000);
  }, 250);
}

function setRangeFromRemote(input, value) {
  if (!input) return;
  const nextValue = clamp(Number(value), Number(input.min || 0), Number(input.max || 100));
  input.value = String(Math.round(nextValue));
  input.dispatchEvent(new Event("input", { bubbles: true }));
  input.dispatchEvent(new Event("change", { bubbles: true }));
}

async function executeRemoteCommand(command) {
  switch (command.type) {
    case "session:start":
      if (!state.sessionRunning) await startSession();
      break;
    case "session:pause":
      if (state.sessionRunning) await pauseSession();
      break;
    case "session:stop":
      if (state.sessionRunning) await stopSession(false);
      break;
    case "blackout":
      await blackout();
      break;
    case "breathing:toggle":
      window.toggleBreathingCoaching();
      break;
    case "audio:toggle":
      if (state.audioEnabled) {
        await stopAudio();
      } else {
        await startAudio();
      }
      break;
    case "music:toggle":
      els.musicToggle.click();
      break;
    case "music:previous":
      els.musicPrevious.click();
      break;
    case "music:next":
      els.musicNext.click();
      break;
    case "output:toggle":
      els.outputEnabled.checked = !els.outputEnabled.checked;
      els.outputEnabled.dispatchEvent(new Event("change", { bubbles: true }));
      break;
    case "set:masterVolume":
      setRangeFromRemote(els.masterVolume, command.value);
      break;
    case "set:rgbIntensity":
      setRangeFromRemote(els.rgbIntensity, command.value);
      break;
    case "set:whiteIntensity":
      setRangeFromRemote(els.strobeIntensity, command.value);
      break;
    default:
      break;
  }
  void publishRemoteState();
}

async function pollRemoteCommands() {
  if (!HAS_REMOTE) return;
  if (!state.remoteToken) return;
  try {
    const url = remoteEndpoint("/remote/commands");
    url.searchParams.set("since", String(state.remoteLastCommandId));
    const response = await fetch(url, { cache: "no-store" });
    if (!response.ok) return;
    const payload = await response.json();
    const commands = Array.isArray(payload.commands) ? payload.commands : [];
    for (const command of commands) {
      state.remoteLastCommandId = Math.max(state.remoteLastCommandId, Number(command.id) || 0);
      await executeRemoteCommand(command);
    }
  } catch {
    // Ignore transient remote polling errors.
  }
}

async function refreshRemoteClientStatus() {
  if (!HAS_REMOTE || !state.remoteToken) {
    state.remoteClientConnected = false;
    updateControlStatusIcons();
    return false;
  }
  try {
    const response = await fetch(remoteEndpoint("/remote/client-status"), { cache: "no-store" });
    if (!response.ok) throw new Error("remote client status unavailable");
    const status = await response.json();
    const lastSeenAt = Number(status.lastSeenAt || 0);
    const serverNow = Number(status.now || Date.now());
    state.remoteClientConnected = Boolean(status.connected)
      && lastSeenAt > 0
      && Number.isFinite(serverNow)
      && serverNow - lastSeenAt <= REMOTE_CLIENT_CONNECTED_MAX_AGE_MS;
  } catch {
    state.remoteClientConnected = false;
  }
  updateControlStatusIcons();
  return state.remoteClientConnected;
}

async function copyRemoteLink() {
  if (!HAS_REMOTE) return;
  if (!state.remoteUrl) return;
  try {
    await navigator.clipboard.writeText(state.remoteUrl);
    if (els.remoteStatus) els.remoteStatus.textContent = t("remoteLinkCopied");
  } catch {
    window.prompt(currentLanguage === "nl" ? "Kopieer de remote-link:" : "Copy the remote link:", state.remoteUrl);
  }
}

async function copyScreenLightLink() {
  if (!HAS_SCREEN_LIGHT) return;
  if (!state.screenLightUrl) return;
  try {
    await navigator.clipboard.writeText(state.screenLightUrl);
    if (els.screenLightStatus) els.screenLightStatus.textContent = t("remoteLinkCopied");
  } catch {
    window.prompt(currentLanguage === "nl" ? "Kopieer de Smartphone Light-link:" : "Copy the Smartphone Light link:", state.screenLightUrl);
  }
}

async function setupRemoteControl() {
  if (!HAS_REMOTE) {
    if (els.remoteStatus) els.remoteStatus.textContent = "";
    return;
  }
  if (!els.remoteUrl) return;
  try {
    const response = await fetch("/remote/info", { cache: "no-store" });
    if (!response.ok) throw new Error("remote info unavailable");
    const info = await response.json();
    state.remoteToken = info.token || "";
    state.remoteUrl = info.url || (Array.isArray(info.urls) ? info.urls[0] : "") || "";
    state.remoteLastCommandId = Number(info.lastCommandId) || 0;
    if (!state.remoteUrl) throw new Error("remote url unavailable");
    els.remoteUrl.href = state.remoteUrl;
    els.remoteUrl.textContent = state.remoteUrl;
    if (els.remoteQrCode) {
      setLocalQrImage(els.remoteQrCode, state.remoteUrl);
    }
    if (els.remoteStatus) els.remoteStatus.textContent = t("remoteReady");
    if (els.remoteCopyButton) els.remoteCopyButton.addEventListener("click", () => void copyRemoteLink());
    state.remoteStatusTimer = setInterval(publishRemoteState, REMOTE_STATUS_MS);
    state.remoteCommandTimer = setInterval(pollRemoteCommands, REMOTE_COMMAND_MS);
    state.remoteClientStatusTimer = setInterval(refreshRemoteClientStatus, REMOTE_STATUS_MS);
    updateControlStatusIcons();
    await publishRemoteState();
    await refreshRemoteClientStatus();
  } catch {
    if (els.remoteStatus) els.remoteStatus.textContent = t("remoteUnavailable");
    if (els.remoteQrCode) els.remoteQrCode.hidden = true;
    state.remoteClientConnected = false;
    updateControlStatusIcons();
  }
}

function screenLightEndpoint(path) {
  const url = new URL(path, window.location.origin);
  if (state.screenLightToken) url.searchParams.set("token", state.screenLightToken);
  return url;
}

function screenLightPreparationRemainingSeconds() {
  if (!state.sessionScreenLightPreparing) return 0;
  return Math.max(0, Math.ceil((state.sessionScreenLightPreparationEndsAt - Date.now()) / 1000));
}

function preferPhysicalDmxOutput() {
  return HAS_LIGHT && state.screenLightPhysicalDmxOverride;
}

function activatePhysicalDmxOutput() {
  if (!HAS_LIGHT) return;
  state.screenLightPhysicalDmxOverride = true;
  state.screenLightConnected = false;
  state.screenLightClientConnected = false;
  state.screenLightDmxBlackoutSent = false;
  if (state.sessionScreenLightPreparing) finishScreenLightPreparation(false);
  void publishScreenLightState();
}

function screenLightSessionSourceChecked() {
  const hasScreenLightClient = state.screenLightConnected || state.screenLightClientConnected;
  if (preferPhysicalDmxOutput() && !hasScreenLightClient) return false;
  return !HAS_LIGHT
    || Boolean(els.screenLightSessionSource?.checked)
    || hasScreenLightClient;
}

function screenLightSessionSourceSelected() {
  return HAS_SCREEN_LIGHT
    && Boolean(state.screenLightToken && state.screenLightUrl)
    && screenLightSessionSourceChecked();
}

function screenLightSessionSourceActive() {
  return screenLightSessionSourceSelected() && state.screenLightConnected;
}

function screenLightClientSourceActive() {
  return screenLightSessionSourceSelected() && (state.screenLightConnected || state.screenLightClientConnected);
}

async function screenLightSessionNeedsPreparation() {
  if (!screenLightSessionSourceSelected()) return false;
  await refreshScreenLightClientStatus();
  return screenLightSessionSourceActive();
}

function updateScreenLightPreparationUi() {
  if (!state.sessionScreenLightPreparing) return;
  const remainingSeconds = screenLightPreparationRemainingSeconds();
  els.sessionStatus.value = `${t("screenLightPreparationStatus")} - ${remainingSeconds}s`;
  els.sessionPhaseName.textContent = t("screenLightPreparationPhase");
  els.sessionPhasePurpose.textContent = t("screenLightPreparationPurpose");
  els.sessionStartButton.textContent = tf("screenLightPreparationButton", { seconds: remainingSeconds });
  els.sessionStartButton.disabled = true;
  els.sessionCategory.disabled = true;
  els.sessionSelect.disabled = true;
  updateSessionPreBaselineControls();
  if (els.sessionPreBaselineSelect) els.sessionPreBaselineSelect.disabled = true;
  els.sessionPauseButton.disabled = true;
  els.sessionStopButton.disabled = false;
}

function finishScreenLightPreparation(shouldStart) {
  if (state.screenLightPreparationTimer) {
    clearInterval(state.screenLightPreparationTimer);
    state.screenLightPreparationTimer = null;
  }
  const resolve = state.screenLightPreparationResolve;
  state.screenLightPreparationResolve = null;
  state.sessionScreenLightPreparing = false;
  state.sessionScreenLightPreparationStartedAt = 0;
  state.sessionScreenLightPreparationEndsAt = 0;
  state.sessionScreenLightPreparationProgramId = "";
  if (!shouldStart) {
    els.sessionStatus.value = t("screenLightPreparationCancelled");
    els.sessionPhaseName.textContent = currentLanguage === "nl" ? "Niet gestart" : "Not started";
    els.sessionPhasePurpose.textContent = currentLanguage === "nl"
      ? "Kies Start sessie om het programma te beginnen."
      : "Choose Start session to begin the program.";
    els.sessionStartButton.textContent = currentLanguage === "nl" ? "Start sessie" : "Start session";
    els.sessionStartButton.disabled = false;
    els.sessionCategory.disabled = false;
    els.sessionSelect.disabled = false;
    updateSessionPreBaselineControls();
    els.sessionPauseButton.disabled = true;
    els.sessionStopButton.disabled = true;
  }
  void publishScreenLightState();
  if (resolve) resolve(Boolean(shouldStart));
}

async function startScreenLightPreparationCountdown(requestedProgramId) {
  const screenLightReady = await screenLightSessionNeedsPreparation();
  if (!screenLightReady) return true;
  if (state.sessionScreenLightPreparing) return false;
  state.sessionScreenLightPreparing = true;
  state.sessionScreenLightPreparationStartedAt = Date.now();
  state.sessionScreenLightPreparationEndsAt = state.sessionScreenLightPreparationStartedAt + SCREEN_LIGHT_SESSION_PREPARATION_SECONDS * 1000;
  state.sessionScreenLightPreparationProgramId = requestedProgramId;
  updateScreenLightPreparationUi();
  await publishScreenLightState();
  return new Promise((resolve) => {
    state.screenLightPreparationResolve = resolve;
    state.screenLightPreparationTimer = setInterval(() => {
      updateScreenLightPreparationUi();
      void publishScreenLightState();
      if (screenLightPreparationRemainingSeconds() <= 0) {
        finishScreenLightPreparation(true);
      }
    }, 250);
  });
}

function screenLightSnapshot() {
  const manualFrequency = Number(state.audioBeatOverride ?? els.frequency?.value);
  const lightCodeSafeMode = Boolean(state.musicLightCodeSafeModeSnapshot);
  const musicLightCodeDecoder = state.musicLightCodeDecoder;
  const lightCodeType = normalizeMusicLightCode(musicLightCodeDecoder?.lightCode);
  const audioStrobeSafeMode = lightCodeSafeMode && musicLightCodeUsesWhiteFlashOnly(lightCodeType);
  const lightCodePulseMode = lightCodeSafeMode && musicLightCodeDecoder?.signalPresent !== false;
  const lightCodePulseFrequency = Number(musicLightCodeDecoder?.pulseFrequencyHz)
    || Number(musicLightCodeDecoder?.pulseFrequencyAnchorHz)
    || 10;
  const frequency = state.sessionRunning
    ? Number(state.audioBeatOverride || state.sessionLightHz || manualFrequency || 10)
    : Number.isFinite(manualFrequency) && manualFrequency > 0
      ? manualFrequency
      : 10;
  const outputFrequencyHz = outputFrequencyWithThreshold(
    lightCodeSafeMode ? lightCodePulseFrequency : frequency,
    "screenLightPublishedFrequencyHz"
  );
  const rgbIntensity = Number(els.rgbIntensity?.value);
  const whiteIntensity = Number(els.strobeIntensity?.value);
  const screenLightBoost = clamp(
    Number(els.screenLightBoost?.value) || SCREEN_LIGHT_BOOST_MIN,
    SCREEN_LIGHT_BOOST_MIN,
    SCREEN_LIGHT_BOOST_MAX
  ) / 100;
  const preparing = state.sessionScreenLightPreparing;
  const preparationRemainingSeconds = screenLightPreparationRemainingSeconds();
  const sessionActive = state.sessionRunning && !state.sessionPaused;
  const program = sessionPrograms[state.sessionProgramId];
  const sliderIntensity = Math.max(
    Number.isFinite(rgbIntensity) ? rgbIntensity : 0,
    Number.isFinite(whiteIntensity) ? whiteIntensity : 0
  );
  let baseIntensity = sliderIntensity;
  if (!HAS_LIGHT && screenLightSessionSourceSelected()) {
    if (state.sessionRunning) {
      if (isTimelineProgram(program)) {
        const timelineSnapshot = timelineSnapshotAt(program, state.sessionElapsedSeconds);
        const timelineIntensity = Math.max(
          Number(timelineSnapshot.rgbIntensity) || 0,
          Number(timelineSnapshot.whiteIntensity) || 0
        );
        baseIntensity = Math.max(baseIntensity, timelineIntensity);
      }
    }
    if (!state.sessionRunning) {
      baseIntensity = Number.isFinite(rgbIntensity) ? rgbIntensity : 0;
    }
  }
  if (
    state.sessionRunning
    && activeSessionRunSegment()?.type !== "baseline"
    && screenLightSessionSourceSelected()
  ) {
    baseIntensity = Math.max(baseIntensity, SCREEN_LIGHT_SESSION_MIN_INTENSITY);
  }
  if (lightCodeSafeMode) {
    baseIntensity = Math.max(baseIntensity, Number(musicLightCodeDecoder?.pulseIntensity) || 85);
  }
  const pulseShape = state.sessionRunning
    ? state.sessionPulseShape || "sine"
    : els.audioPulseShape?.value || "sine";
  const pulseMode = state.sessionRunning
    ? state.sessionPulseMode || "sync"
    : "sync";
  const pulseEpochSource = lightCodePulseMode
    ? Number(musicLightCodeDecoder?.pulseEpochMs) || performance.now()
    : state.pulseEpochMs || performance.now();
  const pulseEpochMs = Date.now() - Math.max(0, performance.now() - pulseEpochSource);
  const outputIntensity = baseIntensity * screenLightBoost;
  const active = HAS_SCREEN_LIGHT
    && screenLightSessionSourceSelected()
    && !state.blackoutActive
    && !preparing
    && (outputIntensity > 0 || lightCodeSafeMode);
  return {
    ok: true,
    updatedAt: Date.now(),
    product: PRODUCT.name,
    language: currentLanguage,
    active,
    blackout: state.blackoutActive,
    running: state.sessionRunning,
    paused: state.sessionPaused,
    preparation: {
      active: preparing,
      remainingSeconds: preparationRemainingSeconds,
      totalSeconds: SCREEN_LIGHT_SESSION_PREPARATION_SECONDS,
      startedAt: state.sessionScreenLightPreparationStartedAt,
      endsAt: state.sessionScreenLightPreparationEndsAt
    },
    sessionTitle: sessionActive ? (els.sessionTitle?.textContent || PRODUCT.name) : PRODUCT.name,
    phase: preparing
      ? t("screenLightPreparationPhase")
      : sessionActive
        ? (els.sessionPhaseName?.textContent || "")
        : (currentLanguage === "nl" ? "Handmatige lichtbron" : "Manual light source"),
    timer: preparing ? `${preparationRemainingSeconds}s` : (els.sessionTimer?.value || els.sessionTimer?.textContent || "--:--"),
    frequencyHz: outputFrequencyHz,
    pulseShape: lightCodeSafeMode ? "square" : pulseShape,
    pulseMode: lightCodeSafeMode ? "sync" : pulseMode,
    pulseEpochMs,
    lightCodeActive: lightCodeSafeMode,
    lightCodeType,
    lightCodeDirect: false,
    lightCodeFloorAlpha: lightCodeSafeMode ? 0.08 : 0,
    color: audioStrobeSafeMode
      ? "#ffffff"
      : /^#[0-9a-f]{6}$/i.test(els.rgbColor?.value || "") ? els.rgbColor.value : "#40c9ff",
    intensity: clamp(outputIntensity, 0, SCREEN_LIGHT_BOOST_MAX),
    masterVolume: Number(els.masterVolume?.value) || 0,
    ganzfeld: Boolean(state.ganzfeldActive),
    aurora: false
  };
}

async function publishScreenLightState() {
  if (!HAS_SCREEN_LIGHT || !state.screenLightToken) return;
  try {
    await fetch(screenLightEndpoint("/screen-light/state"), {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify(screenLightSnapshot())
    });
  } catch {
    // Smartphone Light is optional; the desktop session keeps running without it.
  }
}

async function refreshScreenLightClientStatus() {
  if (!HAS_SCREEN_LIGHT || !state.screenLightToken) {
    state.screenLightConnected = false;
    state.screenLightClientConnected = false;
    return false;
  }
  try {
    const response = await fetch(screenLightEndpoint("/screen-light/client-status"), { cache: "no-store" });
    if (!response.ok) {
      state.screenLightConnected = false;
      state.screenLightClientConnected = false;
      return false;
    }
    const status = await response.json();
    const activeLastSeenAt = Number(status.activeLastSeenAt || 0);
    const clientLastSeenAt = Number(status.lastSeenAt || 0);
    const serverNow = Number(status.now || Date.now());
    const hasFreshHeartbeat = activeLastSeenAt > 0
      && Number.isFinite(serverNow)
      && serverNow - activeLastSeenAt <= SCREEN_LIGHT_CLIENT_CONNECTED_MAX_AGE_MS;
    const hasFreshClient = clientLastSeenAt > 0
      && Number.isFinite(serverNow)
      && serverNow - clientLastSeenAt <= SCREEN_LIGHT_CLIENT_CONNECTED_MAX_AGE_MS;
    const connected = Boolean(status.connected) && hasFreshHeartbeat;
    const clientConnected = connected || hasFreshClient;
    if (state.screenLightClientConnected !== clientConnected) {
      state.screenLightClientConnected = clientConnected;
      state.screenLightDmxBlackoutSent = false;
      if (clientConnected) {
        void publishScreenLightState();
      }
    }
    if (state.screenLightConnected !== connected) {
      state.screenLightConnected = connected;
      state.screenLightDmxBlackoutSent = false;
      if (connected) {
        void publishScreenLightState();
      }
      if (!clientConnected && HAS_LIGHT) {
        claimDmxControl(true);
        renderDmx(false);
        void sendFrame();
      }
    }
    updateControlStatusIcons();
    return connected;
  } catch {
    if (state.screenLightConnected) {
      state.screenLightConnected = false;
      state.screenLightDmxBlackoutSent = false;
    }
    if (state.screenLightClientConnected) {
      state.screenLightClientConnected = false;
      state.screenLightDmxBlackoutSent = false;
    }
    updateControlStatusIcons();
    return false;
  }
}

async function syncScreenLightState() {
  await refreshScreenLightClientStatus();
  await publishScreenLightState();
}

async function setupScreenLight() {
  if (!HAS_SCREEN_LIGHT) {
    if (els.screenLightStatus) els.screenLightStatus.textContent = "";
    return;
  }
  if (els.screenLightSessionSource) {
    els.screenLightSessionSource.checked = Boolean(state.screenLightEnabled);
    els.screenLightSessionSource.addEventListener("change", () => {
      state.screenLightEnabled = els.screenLightSessionSource.checked;
      localStorage.setItem(SCREEN_LIGHT_SESSION_SOURCE_STORAGE_KEY, state.screenLightEnabled ? "true" : "false");
      if (!state.screenLightEnabled) {
        state.screenLightConnected = false;
        state.screenLightClientConnected = false;
        state.screenLightDmxBlackoutSent = false;
        if (state.sessionScreenLightPreparing) finishScreenLightPreparation(false);
        if (HAS_LIGHT) {
          claimDmxControl(true);
          renderDmx(false);
          void sendFrame();
        }
      }
      void publishScreenLightState();
      updateControlStatusIcons();
    });
  }
  try {
    const response = await fetch("/screen-light/info", { cache: "no-store" });
    if (!response.ok) throw new Error("screen light info unavailable");
    const info = await response.json();
    state.screenLightToken = info.token || "";
    const screenLightUrls = Array.isArray(info.urls)
      ? info.urls.map(String).filter(Boolean)
      : [];
    state.screenLightUrl = info.url || screenLightUrls[0] || "";
    if (!state.screenLightUrl) throw new Error("screen light url unavailable");
    if (els.screenLightUrl) {
      els.screenLightUrl.href = state.screenLightUrl;
      els.screenLightUrl.textContent = state.screenLightUrl;
      els.screenLightUrl.title = screenLightUrls.length > 1
        ? screenLightUrls.join("\n")
        : state.screenLightUrl;
    }
    if (els.screenLightQrCode) {
      setLocalQrImage(els.screenLightQrCode, state.screenLightUrl);
    }
    if (els.screenLightCopyButton) els.screenLightCopyButton.addEventListener("click", () => void copyScreenLightLink());
    if (els.screenLightStatus) els.screenLightStatus.textContent = t("screenLightReady");
    state.screenLightStatusTimer = setInterval(syncScreenLightState, SCREEN_LIGHT_STATUS_MS);
    await syncScreenLightState();
    updateControlStatusIcons();
  } catch {
    if (els.screenLightStatus) els.screenLightStatus.textContent = t("screenLightUnavailable");
    if (els.screenLightQrCode) els.screenLightQrCode.hidden = true;
    updateControlStatusIcons();
  }
}

function createNoiseBuffer(context, type) {
  const length = Math.max(1, Math.floor(context.sampleRate * 2));
  const buffer = context.createBuffer(1, length, context.sampleRate);
  const data = buffer.getChannelData(0);

  if (type === "pink") {
    let b0 = 0;
    let b1 = 0;
    let b2 = 0;
    let b3 = 0;
    let b4 = 0;
    let b5 = 0;
    let b6 = 0;
    for (let index = 0; index < length; index += 1) {
      const white = Math.random() * 2 - 1;
      b0 = 0.99886 * b0 + white * 0.0555179;
      b1 = 0.99332 * b1 + white * 0.0750759;
      b2 = 0.96900 * b2 + white * 0.1538520;
      b3 = 0.86650 * b3 + white * 0.3104856;
      b4 = 0.55000 * b4 + white * 0.5329522;
      b5 = -0.7616 * b5 - white * 0.0168980;
      data[index] = (b0 + b1 + b2 + b3 + b4 + b5 + b6 + white * 0.5362) * 0.11;
      b6 = white * 0.115926;
    }
    return buffer;
  }

  for (let index = 0; index < length; index += 1) {
    data[index] = (Math.random() * 2 - 1) * 0.32;
  }
  return buffer;
}

async function startNoiseLayer() {
  const type = els.noiseType.value;
  const targetVolume = getNoiseVolume();
  if (type === "none" || targetVolume <= 0 || state.blackoutActive) {
    stopNoiseLayer();
    return false;
  }

  const AudioContextClass = window.AudioContext || window.webkitAudioContext;
  if (!AudioContextClass) return false;

  state.noiseAudioContext ||= new AudioContextClass();
  const context = state.noiseAudioContext;
  if (context.state === "suspended") await context.resume();
  stopNoiseLayer({ immediate: true });

  const source = context.createBufferSource();
  const filter = context.createBiquadFilter();
  const gain = context.createGain();
  const dryGain = context.createGain();
  const preDelay = context.createDelay(0.3);
  const convolver = context.createConvolver();
  const wetGain = context.createGain();
  source.buffer = createNoiseBuffer(context, type);
  source.loop = true;
  filter.type = "lowpass";
  filter.frequency.value = type === "pink" ? 9000 : 12000;
  filter.Q.value = 0.2;
  gain.gain.value = 0;
  source.connect(filter).connect(gain);
  if (HAS_SPATIAL_REVERB) {
    gain.connect(dryGain).connect(context.destination);
    gain.connect(preDelay).connect(convolver).connect(wetGain).connect(context.destination);
  } else {
    gain.connect(context.destination);
  }
  source.start();
  state.noiseAudioNodes = { source, filter, gain, dryGain, preDelay, convolver, wetGain, type, targetVolume };
  if (HAS_SPATIAL_REVERB) {
    state.musicReverbNodes.add({ context, dryGain, preDelay, convolver, wetGain, preset: null, decay: null, noise: true });
    state.noiseAudioNodes.reverb = [...state.musicReverbNodes].find((nodes) => nodes.noise && nodes.context === context && nodes.convolver === convolver);
    updateMusicReverb();
  }
  rampNoiseLayerGain(state.noiseAudioNodes, targetVolume, NOISE_LAYER_FADE_SECONDS);
  return true;
}

function rampNoiseLayerGain(nodes, targetVolume, seconds = 0.35) {
  const context = state.noiseAudioContext;
  if (!context || !nodes?.gain) return;
  const now = context.currentTime;
  const target = clamp(targetVolume, 0, 1);
  const duration = Math.max(0.01, Number(seconds) || 0.01);
  nodes.targetVolume = target;
  try {
    if (typeof nodes.gain.gain.cancelAndHoldAtTime === "function") {
      nodes.gain.gain.cancelAndHoldAtTime(now);
    } else {
      const current = nodes.gain.gain.value;
      nodes.gain.gain.cancelScheduledValues(now);
      nodes.gain.gain.setValueAtTime(current, now);
    }
    nodes.gain.gain.linearRampToValueAtTime(target, now + duration);
  } catch {
    nodes.gain.gain.value = target;
  }
}

function cleanupNoiseLayer(nodes = state.noiseAudioNodes) {
  if (!nodes) return;
  if (nodes.stopTimer) {
    clearTimeout(nodes.stopTimer);
    nodes.stopTimer = null;
  }
  try {
    nodes.source.stop();
  } catch {
    // The source may already have stopped.
  }
  if (nodes.reverb) state.musicReverbNodes.delete(nodes.reverb);
  [nodes.source, nodes.filter, nodes.gain, nodes.dryGain, nodes.preDelay, nodes.convolver, nodes.wetGain].forEach((node) => {
    try {
      node.disconnect();
    } catch {
      // The node may already be disconnected.
    }
  });
  if (state.noiseAudioNodes === nodes) state.noiseAudioNodes = null;
}

function stopNoiseLayer({ immediate = false } = {}) {
  const nodes = state.noiseAudioNodes;
  if (!nodes) return;
  if (immediate || !state.noiseAudioContext) {
    cleanupNoiseLayer(nodes);
    return;
  }
  if (nodes.stopping) return;
  nodes.stopping = true;
  rampNoiseLayerGain(nodes, 0, NOISE_LAYER_FADE_SECONDS);
  try {
    nodes.source.stop(state.noiseAudioContext.currentTime + NOISE_LAYER_FADE_SECONDS + 0.05);
  } catch {
    // The source may already have stopped.
  }
  nodes.stopTimer = setTimeout(() => cleanupNoiseLayer(nodes), (NOISE_LAYER_FADE_SECONDS + 0.15) * 1000);
}

async function updateNoiseLayer() {
  if (!state.audioEnabled || state.blackoutActive) return;
  const type = els.noiseType.value;
  const targetVolume = getNoiseVolume();
  if (type === "none" || targetVolume <= 0) {
    stopNoiseLayer();
    return;
  }
  if (state.noiseAudioNodes?.stopping) {
    cleanupNoiseLayer(state.noiseAudioNodes);
  }
  if (!state.noiseAudioNodes || state.noiseAudioNodes.type !== type) {
    await startNoiseLayer();
    return;
  }
  if (Math.abs((state.noiseAudioNodes.targetVolume ?? -1) - targetVolume) < 0.003) return;
  rampNoiseLayerGain(state.noiseAudioNodes, targetVolume, 0.35);
}

function audioPayload() {
  return {
    mode: els.audioMode.value,
    pulseShape: els.audioPulseShape.value,
    carrier: Number(els.carrierFrequency.value),
    beat: state.audioBeatOverride ?? clamp(Number(els.frequency.value), 0.1, 40),
    volume: getAudioVolume(),
    balance: clamp(Number(els.audioBalance.value), -100, 100) / 100,
    bass: clamp(Number(els.equalizerBass.value), -12, 12),
    mid: clamp(Number(els.equalizerMid.value), -12, 12),
    treble: clamp(Number(els.equalizerTreble.value), -12, 12)
  };
}

function audioCommandUrl(path) {
  if (path !== "/audio/start" && path !== "/audio/update") return path;

  const payload = audioPayload();
  const params = new URLSearchParams({
    mode: payload.mode,
    pulseShape: payload.pulseShape,
    carrier: String(payload.carrier),
    beat: String(payload.beat),
    volume: String(payload.volume),
    balance: String(payload.balance),
    bass: String(payload.bass),
    mid: String(payload.mid),
    treble: String(payload.treble)
  });

  return `${path}?${params.toString()}`;
}

async function postAudio(path) {
  try {
    const response = await fetch(audioCommandUrl(path), { method: "POST" });
    let payload = {};
    try {
      payload = await response.json();
    } catch {
      payload = {};
    }
    return {
      ok: response.ok && payload.ok !== false,
      nativeAudio: payload.nativeAudio !== false
    };
  } catch (error) {
    console.error(error);
    els.audioStatus.value = localizedRuntimeText("Audio server fout");
    return { ok: false, nativeAudio: false };
  }
}

function stopBrowserPulseAudio() {
  const nodes = state.pulseAudioNodes;
  if (!nodes) return;
  [...nodes.oscillators, nodes.modulator, nodes.offset].filter(Boolean).forEach((node) => {
    try {
      node.stop();
    } catch {
      // The node may already have stopped.
    }
    try {
      node.disconnect();
    } catch {
      // The node may already be disconnected.
    }
  });
  state.pulseAudioNodes = null;
}

function browserPulseType(shape) {
  if (shape === "triangle") return "triangle";
  if (shape === "square") return "square";
  if (shape === "sawtooth") return "sawtooth";
  if (shape === "trapezoid") return "triangle";
  return "sine";
}

async function startBrowserPulseAudio(payload = audioPayload()) {
  const AudioContextClass = window.AudioContext || window.webkitAudioContext;
  if (!AudioContextClass) return false;

  state.pulseAudioContext ||= new AudioContextClass();
  const context = state.pulseAudioContext;
  if (context.state === "suspended") await context.resume();
  stopBrowserPulseAudio();

  const input = context.createGain();
  const pulseGain = context.createGain();
  const bass = context.createBiquadFilter();
  const mid = context.createBiquadFilter();
  const treble = context.createBiquadFilter();
  const panner = context.createStereoPanner();
  const master = context.createGain();
  const oscillators = [];
  const carrier = Math.max(20, payload.carrier);
  const beat = clamp(payload.beat, 0.1, 40);
  const now = context.currentTime;

  bass.type = "lowshelf";
  bass.frequency.value = 120;
  mid.type = "peaking";
  mid.frequency.value = 1000;
  mid.Q.value = 0.8;
  treble.type = "highshelf";
  treble.frequency.value = 6000;
  bass.gain.value = clamp(payload.bass, -12, 12);
  mid.gain.value = clamp(payload.mid, -12, 12);
  treble.gain.value = clamp(payload.treble, -12, 12);
  panner.pan.value = clamp(payload.balance, -1, 1);
  const shapeCompensation = payload.pulseShape === "triangle" ? 1.15 : 1;
  master.gain.setValueAtTime(clamp(payload.volume * shapeCompensation, 0, 1), now);

  input.connect(pulseGain);
  pulseGain.connect(bass);
  bass.connect(mid);
  mid.connect(treble);
  treble.connect(panner);
  panner.connect(master);
  master.connect(context.destination);

  const addOscillator = (frequency, pan = 0, gain = 0.5) => {
    const oscillator = context.createOscillator();
    const oscillatorGain = context.createGain();
    oscillator.type = "sine";
    oscillator.frequency.value = Math.max(20, frequency);
    oscillatorGain.gain.value = gain;
    if (pan === 0) {
      oscillator.connect(oscillatorGain).connect(input);
    } else {
      const channelPan = context.createStereoPanner();
      channelPan.pan.value = pan;
      oscillator.connect(oscillatorGain).connect(channelPan).connect(input);
    }
    oscillator.start();
    oscillators.push(oscillator);
  };

  if (payload.mode === "binaural") {
    addOscillator(carrier - beat / 2, -1, 0.45);
    addOscillator(carrier + beat / 2, 1, 0.45);
    pulseGain.gain.value = 1;
  } else if (payload.mode === "monaural" || payload.mode === "isochronic-monaural") {
    addOscillator(carrier - beat / 2, 0, 0.42);
    addOscillator(carrier + beat / 2, 0, 0.42);
  } else {
    addOscillator(carrier, 0, 0.8);
  }

  let modulator = null;
  let offset = null;
  if (payload.mode === "isochronic" || payload.mode === "isochronic-monaural") {
    pulseGain.gain.value = 0;
    modulator = context.createOscillator();
    const depth = context.createGain();
    offset = context.createConstantSource();
    modulator.type = browserPulseType(payload.pulseShape);
    modulator.frequency.value = beat;
    depth.gain.value = 0.5;
    offset.offset.value = 0.5;
    modulator.connect(depth).connect(pulseGain.gain);
    offset.connect(pulseGain.gain);
    modulator.start();
    offset.start();
  } else {
    pulseGain.gain.value = 1;
  }

  state.pulseAudioNodes = {
    oscillators,
    modulator,
    offset,
    bass,
    mid,
    treble,
    panner,
    master,
    mode: payload.mode
  };
  return true;
}

async function updateBrowserPulseAudio(payload = audioPayload()) {
  const nodes = state.pulseAudioNodes;
  const context = state.pulseAudioContext;
  if (!nodes || !context || nodes.mode !== payload.mode) {
    return startBrowserPulseAudio(payload);
  }

  const now = context.currentTime;
  const carrier = Math.max(20, payload.carrier);
  const beat = clamp(payload.beat, 0.1, 40);
  const shapeCompensation = payload.pulseShape === "triangle" ? 1.15 : 1;
  nodes.master.gain.setTargetAtTime(clamp(payload.volume * shapeCompensation, 0, 1), now, 0.025);
  nodes.panner.pan.setTargetAtTime(clamp(payload.balance, -1, 1), now, 0.025);
  nodes.bass.gain.setTargetAtTime(clamp(payload.bass, -12, 12), now, 0.025);
  nodes.mid.gain.setTargetAtTime(clamp(payload.mid, -12, 12), now, 0.025);
  nodes.treble.gain.setTargetAtTime(clamp(payload.treble, -12, 12), now, 0.025);

  if (nodes.oscillators.length === 1) {
    nodes.oscillators[0].frequency.setTargetAtTime(carrier, now, 0.025);
  } else {
    nodes.oscillators[0].frequency.setTargetAtTime(Math.max(20, carrier - beat / 2), now, 0.025);
    nodes.oscillators[1].frequency.setTargetAtTime(carrier + beat / 2, now, 0.025);
  }
  if (nodes.modulator) {
    nodes.modulator.type = browserPulseType(payload.pulseShape);
    nodes.modulator.frequency.setTargetAtTime(beat, now, 0.025);
  }
  return true;
}

async function startAudio() {
  if (state.audioEnabled || state.blackoutActive) return;
  const result = await postAudio("/audio/start");
  let ok = result.ok;
  state.pulseAudioBackend = result.nativeAudio ? "native" : "browser";
  if (ok && state.pulseAudioBackend === "browser") {
    ok = await startBrowserPulseAudio();
  }
  state.audioEnabled = ok;
  if (ok) await startNoiseLayer();
  els.audioStatus.value = localizedRuntimeText(ok ? "Audio actief" : "Audio server fout");
  updateLabels();
}

async function stopAudio() {
  await postAudio("/audio/stop");
  stopBrowserPulseAudio();
  stopNoiseLayer();
  state.audioEnabled = false;
  state.pulseAudioBackend = null;
  updateLabels();
}

async function updateAudioParameters() {
  if (!state.audioEnabled || state.blackoutActive) return;
  await updateNoiseLayer();
  if (state.pulseAudioBackend === "browser") {
    await updateBrowserPulseAudio();
    return;
  }
  await postAudio("/audio/update");
}

function formatSessionTime(seconds) {
  const safeSeconds = Math.max(0, Math.ceil(seconds));
  const minutes = Math.floor(safeSeconds / 60);
  return `${minutes}:${String(safeSeconds % 60).padStart(2, "0")}`;
}

function formatMusicTime(seconds) {
  if (!Number.isFinite(seconds)) return "0:00";
  const safeSeconds = Math.max(0, Math.floor(seconds));
  const minutes = Math.floor(safeSeconds / 60);
  return `${minutes}:${String(safeSeconds % 60).padStart(2, "0")}`;
}

function openUserMusicDatabase() {
  return new Promise((resolve, reject) => {
    const request = indexedDB.open(USER_MUSIC_DB_NAME, USER_MUSIC_DB_VERSION);
    request.onupgradeneeded = () => {
      const database = request.result;
      if (!database.objectStoreNames.contains(USER_MUSIC_STORE_NAME)) {
        database.createObjectStore(USER_MUSIC_STORE_NAME, { keyPath: "id" });
      }
    };
    request.onsuccess = () => resolve(request.result);
    request.onerror = () => reject(request.error);
  });
}

async function readUserMusicRecords() {
  const database = await openUserMusicDatabase();
  return new Promise((resolve, reject) => {
    const transaction = database.transaction(USER_MUSIC_STORE_NAME, "readonly");
    const request = transaction.objectStore(USER_MUSIC_STORE_NAME).getAll();
    request.onsuccess = () => resolve(request.result || []);
    request.onerror = () => reject(request.error);
    transaction.oncomplete = () => database.close();
  });
}

async function storeUserMusicRecord(record) {
  const database = await openUserMusicDatabase();
  return new Promise((resolve, reject) => {
    const transaction = database.transaction(USER_MUSIC_STORE_NAME, "readwrite");
    transaction.objectStore(USER_MUSIC_STORE_NAME).put(record);
    transaction.oncomplete = () => {
      database.close();
      resolve();
    };
    transaction.onerror = () => {
      database.close();
      reject(transaction.error);
    };
  });
}

async function removeUserMusicRecord(id) {
  const database = await openUserMusicDatabase();
  return new Promise((resolve, reject) => {
    const transaction = database.transaction(USER_MUSIC_STORE_NAME, "readwrite");
    const request = transaction.objectStore(USER_MUSIC_STORE_NAME).delete(id);
    request.onerror = () => {
      reject(request.error);
    };
    transaction.oncomplete = () => {
      database.close();
      resolve();
    };
    transaction.onerror = () => {
      database.close();
      reject(transaction.error);
    };
  });
}

async function removeUserMusicRecordsForTrack(track) {
  const attempts = [];
  if (track.id) attempts.push(removeUserMusicRecord(track.id));
  attempts.push((async () => {
    const records = await readUserMusicRecords();
    const matches = records.filter((record) => (
      record?.id
      && record.id !== track.id
      && (
        (track.fileName && record.fileName === track.fileName)
        || (record.name === track.name && record.mood === track.mood)
      )
    ));
    await Promise.all(matches.map((record) => removeUserMusicRecord(record.id)));
  })());
  const results = await Promise.allSettled(attempts);
  const failures = results.filter((result) => result.status === "rejected");
  if (failures.length === results.length) {
    throw failures[0].reason;
  }
}

function sameUserMusicTrack(left, right) {
  if (!left || !right || left.system || right.system) return false;
  if (left === right) return true;
  if (left.id && right.id && left.id === right.id) return true;
  if (left.fileName && right.fileName && left.fileName === right.fileName) return true;
  return left.name === right.name && left.mood === right.mood;
}

function customMusicTrackFromRecord(record) {
  const audioBlob = record.blob instanceof Blob
    ? record.blob
    : new Blob([record.data], { type: record.mimeType || "audio/mpeg" });
  const lightCode = normalizeMusicLightCode(record.lightCode);
  return {
    id: record.id,
    name: record.name,
    fileName: record.fileName,
    url: URL.createObjectURL(audioBlob),
    cover: "assets/hypnowave-logo.png",
    system: false,
    userTrack: true,
    mood: record.mood,
    sessionEnabled: lightCode ? false : record.sessionEnabled !== false,
    lightCode,
    lightCodeConfidence: Number(record.lightCodeConfidence || 0),
    lightCodeFrequencyHz: Number(record.lightCodeFrequencyHz || 0)
  };
}

function coreMusicTrackFromManifest(track) {
  const file = String(track.file || "").replace(/^\/+/, "");
  const cover = String(track.cover || "").replace(/^\/+/, "");
  const lightCode = normalizeMusicLightCode(track.lightCode);
  return {
    name: String(track.name || file.replace(/\.[^.]+$/, "")),
    url: `/music-library/${file}`,
    cover: cover ? `/music-library/${cover}` : "assets/hypnowave-logo.png",
    system: true,
    mood: String(track.category || "Ambient"),
    sessionEnabled: lightCode ? false : true,
    lightCode,
    lightCodeConfidence: Number(track.lightCodeConfidence || 0),
    lightCodeFrequencyHz: Number(track.lightCodeFrequencyHz || 0)
  };
}

function updateMusicLibraryStatus() {
  if (!els.musicLibraryStatus) return;
  els.musicLibraryStatus.classList.toggle("installed", state.musicLibraryInstalled);
  els.musicLibraryStatusText.textContent = state.musicLibraryInstalled
    ? `${currentLanguage === "nl" ? "Geïnstalleerd" : "Installed"} · ${state.musicLibraryVersion || "1.0.0"} · ${state.musicTracks.filter((track) => track.system).length} tracks`
    : t("musicLibraryNotInstalled");
  els.musicLibraryInstallButton.textContent = state.musicLibraryInstalled
    ? t("replaceMusicLibrary")
    : t("installMusicLibrary");
}

async function loadCoreMusicLibrary() {
  state.musicTracks = state.musicTracks.filter((track) => !track.system);
  state.musicLibraryInstalled = false;
  state.musicLibraryVersion = null;

  try {
    const response = await fetch(`/music-library/manifest.json?ts=${Date.now()}`, { cache: "no-store" });
    if (!response.ok) throw new Error("Library not installed");
    const manifest = await response.json();
    if (manifest.format !== "neurosync-music-library" || !Array.isArray(manifest.tracks)) {
      throw new Error("Invalid music library");
    }
    const tracks = manifest.tracks.map(coreMusicTrackFromManifest);
    state.musicTracks.unshift(...tracks);
    state.musicLibraryInstalled = tracks.length > 0;
    state.musicLibraryVersion = String(manifest.version || "1.0.0");
  } catch {
    // A missing library is a supported state: custom tracks remain available.
  }
  updateMusicLibraryStatus();
}

async function waitForCoreMusicLibrary(maxAttempts = 8) {
  for (let attempt = 0; attempt < maxAttempts; attempt += 1) {
    await loadCoreMusicLibrary();
    if (state.musicLibraryInstalled) return true;
    await new Promise((resolve) => setTimeout(resolve, 350 + attempt * 150));
  }
  return false;
}

async function installCoreMusicLibraryFromBridge({ force = false } = {}) {
  if (!window.neuroSyncMusicLibrary?.installCoreIfNeeded && !window.neuroSyncMusicLibrary?.install) return false;
  const install = force
    ? window.neuroSyncMusicLibrary.install
    : window.neuroSyncMusicLibrary.installCoreIfNeeded;
  const result = await install();
  if (!result?.ok) {
    if (result?.reason && result.reason !== "busy") {
      window.neuroSyncMusicLibraryDownloadStatus?.("failed", result.reason);
    }
    return false;
  }
  const loaded = await waitForCoreMusicLibrary();
  if (!loaded) {
    window.neuroSyncMusicLibraryDownloadStatus?.("failed", "reload");
    return false;
  }
  await window.neuroSyncMusicLibraryInstalled?.(true, result.message || result.reason || String(state.musicTracks.filter((track) => track.system).length));
  return true;
}

function requestMusicLibraryInstallation() {
  const handler = window.webkit?.messageHandlers?.musicLibrary;
  if (!handler) {
    if (window.neuroSyncMusicLibrary?.install) {
      els.musicLibraryInstallButton.disabled = true;
      els.musicLibraryStatusText.textContent = currentLanguage === "nl"
        ? "Muziekbibliotheek downloaden..."
        : "Downloading music library...";
      void installCoreMusicLibraryFromBridge({ force: true })
        .catch(() => {
          window.neuroSyncMusicLibraryInstalled?.(false, "install");
        });
      return;
    }
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? "Installatie van een bibliotheekpakket is beschikbaar in de desktop-app."
      : "Library package installation is available in the desktop app.";
    return;
  }
  els.musicLibraryInstallButton.disabled = true;
  els.musicLibraryStatusText.textContent = currentLanguage === "nl"
    ? "Pakket selecteren..."
    : "Select package...";
  handler.postMessage("install");
}

window.neuroSyncMusicLibraryInstalled = async (ok, reason) => {
  els.musicLibraryInstallButton.disabled = false;
  if (!ok) {
    updateMusicLibraryStatus();
    if (reason !== "cancelled") {
      els.userMusicImportStatus.value = currentLanguage === "nl"
        ? "Het gekozen muziekbibliotheekpakket is niet geldig of kon niet worden geïnstalleerd."
        : "The selected music library package is invalid or could not be installed.";
    }
    return;
  }

  const currentKey = state.musicTracks[state.musicTrackIndex]
    ? musicTrackStorageKey(state.musicTracks[state.musicTrackIndex])
    : null;
  await loadCoreMusicLibrary();
  restoreSessionMusicSelection();
  renderMusicCategories();
  const restoredIndex = currentKey
    ? state.musicTracks.findIndex((track) => musicTrackStorageKey(track) === currentKey)
    : -1;
  if (state.musicTracks.length) loadMusicTrack(restoredIndex >= 0 ? restoredIndex : 0, false);
  els.userMusicImportStatus.value = currentLanguage === "nl"
    ? `Muziekbibliotheek geïnstalleerd met ${reason} tracks.`
    : `Music library installed with ${reason} tracks.`;
};

window.neuroSyncMusicLibraryDownloadStatus = (status, reason = "") => {
  const reasonLabels = {
    checksum: currentLanguage === "nl" ? "controlebestand komt niet overeen" : "checksum mismatch",
    archive: currentLanguage === "nl" ? "uitpakken van het ZIP-bestand lukt niet" : "ZIP extraction failed",
    copy: currentLanguage === "nl" ? "kopiëren naar de gebruikersmap lukt niet" : "copy to user folder failed",
    reload: currentLanguage === "nl" ? "bibliotheek is geïnstalleerd maar nog niet leesbaar" : "library installed but not readable yet",
    download: currentLanguage === "nl" ? "download mislukt" : "download failed",
    invalid: currentLanguage === "nl" ? "ongeldig bibliotheekpakket" : "invalid library package"
  };
  const messages = {
    downloading: currentLanguage === "nl"
      ? "Muziekbibliotheek downloaden..."
      : "Downloading music library...",
    verifying: currentLanguage === "nl"
      ? "Download controleren..."
      : "Verifying download...",
    installing: currentLanguage === "nl"
      ? "Muziekbibliotheek installeren..."
      : "Installing music library...",
    failed: currentLanguage === "nl"
      ? `Automatische installatie is mislukt${reasonLabels[reason] ? `: ${reasonLabels[reason]}` : ""}.`
      : `Automatic installation failed${reasonLabels[reason] ? `: ${reasonLabels[reason]}` : ""}.`
  };
  if (!messages[status]) return;
  const busy = status !== "failed";
  els.musicLibraryInstallButton.disabled = busy;
  els.musicLibraryStatusText.textContent = messages[status];
  if (status === "failed") {
    els.userMusicImportStatus.value = messages[status];
  }
};

function musicTrackStorageKey(track) {
  return track.system ? track.url : `user:${track.id}`;
}

function normalizeMusicLightCode(value) {
  const code = String(value || "").toLowerCase();
  if (code === "audiostrobe" || code === "spectrastrobe") return code;
  return "";
}

function musicLightCodeUsesWhiteFlashOnly(code) {
  return normalizeMusicLightCode(code) === "audiostrobe";
}

function musicLightCodeUsesRgb(code) {
  return normalizeMusicLightCode(code) === "spectrastrobe";
}

function musicLightCodeLabel(code) {
  if (code === "audiostrobe") return "AudioStrobe";
  if (code === "spectrastrobe") return "SpectraStrobe";
  return currentLanguage === "nl" ? "Lichtcode" : "Light code";
}

function trackHasMusicLightCode(track) {
  return Boolean(normalizeMusicLightCode(track?.lightCode));
}

function musicTrackAllowedForSessions(track) {
  return !trackHasMusicLightCode(track) && track?.sessionEnabled !== false;
}

function goertzelMagnitude(samples, sampleRate, frequency, start, length) {
  if (!frequency || frequency >= sampleRate / 2) return 0;
  const omega = (2 * Math.PI * frequency) / sampleRate;
  const coefficient = 2 * Math.cos(omega);
  let q0 = 0;
  let q1 = 0;
  let q2 = 0;
  for (let offset = 0; offset < length; offset += 1) {
    q0 = samples[start + offset] + coefficient * q1 - q2;
    q2 = q1;
    q1 = q0;
  }
  return Math.sqrt(Math.max(0, q1 * q1 + q2 * q2 - q1 * q2 * coefficient)) / length;
}

function monoSampleAt(buffer, index) {
  let total = 0;
  for (let channel = 0; channel < buffer.numberOfChannels; channel += 1) {
    total += buffer.getChannelData(channel)[index] || 0;
  }
  return total / Math.max(1, buffer.numberOfChannels);
}

function estimateAudioStrobeFrequencyHz(mono, sampleRate, maxStart, maxSeconds) {
  const windowSize = Math.min(2048, Math.max(768, Math.floor(sampleRate * 0.025)));
  const hopSize = Math.max(256, Math.floor(sampleRate / 60));
  const analysisStart = Math.min(maxStart, Math.floor(Math.min(20, maxSeconds * 0.2) * sampleRate));
  const analysisEnd = Math.min(maxStart, Math.floor(Math.min(maxSeconds, 180) * sampleRate) - windowSize);
  if (analysisEnd <= analysisStart + hopSize * 40) return 0;

  const envelope = [];
  for (let start = analysisStart; start <= analysisEnd; start += hopSize) {
    envelope.push(goertzelMagnitude(mono, sampleRate, 19200, start, windowSize));
  }
  if (envelope.length < 60) return 0;

  const sorted = envelope.slice().sort((a, b) => a - b);
  const percentile = (fraction) => sorted[Math.max(0, Math.min(sorted.length - 1, Math.floor((sorted.length - 1) * fraction)))] || 0;
  const low = percentile(0.18);
  const high = percentile(0.86);
  if (high <= 0 || high - low < high * 0.12) return 0;

  const threshold = low + (high - low) * 0.35;
  const troughs = [];
  let runStart = -1;
  for (let index = 0; index < envelope.length; index += 1) {
    const isLow = envelope[index] <= threshold;
    if (isLow && runStart < 0) runStart = index;
    if (runStart >= 0 && (!isLow || index === envelope.length - 1)) {
      const runEnd = isLow && index === envelope.length - 1 ? index : index - 1;
      let troughIndex = runStart;
      for (let candidate = runStart + 1; candidate <= runEnd; candidate += 1) {
        if (envelope[candidate] < envelope[troughIndex]) troughIndex = candidate;
      }
      troughs.push(troughIndex * hopSize / sampleRate);
      runStart = -1;
    }
  }

  const intervals = [];
  for (let index = 1; index < troughs.length; index += 1) {
    const interval = troughs[index] - troughs[index - 1];
    if (interval >= 0.04 && interval <= 0.5) intervals.push(interval);
  }
  if (intervals.length < 6) return 0;
  intervals.sort((a, b) => a - b);
  const median = intervals[Math.floor(intervals.length / 2)];
  return Number(clamp(1 / median, 1, 20).toFixed(2));
}

async function detectMusicLightCode(arrayBuffer) {
  const AudioContextClass = window.AudioContext || window.webkitAudioContext;
  if (!AudioContextClass) return { type: "", confidence: 0 };

  let context = null;
  try {
    context = new AudioContextClass();
    const buffer = await context.decodeAudioData(arrayBuffer.slice(0));
    const sampleRate = buffer.sampleRate;
    if (sampleRate < 38000 || buffer.length < sampleRate * 2) return { type: "", confidence: 0 };

    const maxSeconds = Math.min(buffer.duration, 180);
    const windowSize = Math.min(8192, Math.max(2048, Math.floor(sampleRate * 0.12)));
    const hopSize = Math.max(windowSize, Math.floor(sampleRate * 0.5));
    const maxStart = Math.max(0, Math.min(buffer.length - windowSize, Math.floor(maxSeconds * sampleRate) - windowSize));
    const mono = new Float32Array(maxStart + windowSize);
    for (let index = 0; index < mono.length; index += 1) {
      mono[index] = monoSampleAt(buffer, index);
    }

    const targets = [
      { type: "audiostrobe", frequency: 19200 },
      { type: "spectrastrobe", frequency: 18700 },
      { type: "spectrastrobe", frequency: 19700 }
    ].filter((target) => target.frequency < sampleRate / 2 - 1200);
    const scores = { audiostrobe: 0, spectrastrobe: 0 };
    const strengths = { audiostrobe: 0, spectrastrobe: 0 };
    let windows = 0;

    for (let start = 0; start <= maxStart; start += hopSize) {
      windows += 1;
      targets.forEach((target) => {
        const carrier = goertzelMagnitude(mono, sampleRate, target.frequency, start, windowSize);
        const neighbours = [
          goertzelMagnitude(mono, sampleRate, target.frequency - 650, start, windowSize),
          goertzelMagnitude(mono, sampleRate, target.frequency + 650, start, windowSize),
          goertzelMagnitude(mono, sampleRate, target.frequency - 1100, start, windowSize),
          goertzelMagnitude(mono, sampleRate, target.frequency + 1100, start, windowSize)
        ].filter((value) => Number.isFinite(value));
        const reference = neighbours.reduce((total, value) => total + value, 0) / Math.max(1, neighbours.length);
        const ratio = carrier / Math.max(reference, 0.000001);
        if (carrier > 0.000015 && ratio > 5.5) {
          scores[target.type] += 1;
          strengths[target.type] += ratio;
        }
      });
    }

    const scored = Object.entries(scores)
      .map(([type, hits]) => ({
        type,
        hits,
        averageRatio: hits > 0 ? strengths[type] / hits : 0,
        confidence: windows > 0 ? hits / windows : 0
      }))
      .sort((a, b) => (b.hits * b.averageRatio) - (a.hits * a.averageRatio));
    const best = scored[0];
    if (!best || best.hits < 4 || best.confidence < 0.07 || best.averageRatio < 7) {
      return { type: "", confidence: 0 };
    }
    const frequencyHz = best.type === "audiostrobe"
      ? estimateAudioStrobeFrequencyHz(mono, sampleRate, maxStart, maxSeconds)
      : 0;
    return {
      type: best.type,
      confidence: Number(Math.min(1, best.confidence * Math.min(3, best.averageRatio / 8)).toFixed(2)),
      frequencyHz
    };
  } catch (error) {
    console.warn("Light-code detection failed.", error);
    return { type: "", confidence: 0 };
  } finally {
    try {
      await context?.close?.();
    } catch {
      // Some older WebKit contexts do not need explicit cleanup.
    }
  }
}

function userMusicCategories() {
  return [...MUSIC_LIBRARY_CATEGORIES].sort(compareLocalizedText);
}

function renderUserMusicCategories() {
  const selectedCategory = els.userMusicCategory.value;
  els.userMusicCategory.innerHTML = "";
  userMusicCategories().forEach((category) => {
    const option = document.createElement("option");
    option.value = category;
    option.textContent = category;
    els.userMusicCategory.append(option);
  });
  els.userMusicCategory.value = userMusicCategories().includes(selectedCategory)
    ? selectedCategory
    : "Ambient";
}

async function loadUserMusicTracks() {
  try {
    const records = await readUserMusicRecords();
    records
      .sort((a, b) => Number(a.createdAt || 0) - Number(b.createdAt || 0))
      .forEach((record) => state.musicTracks.push(customMusicTrackFromRecord(record)));
  } catch (error) {
    console.error("Eigen muziekbibliotheek kon niet worden geladen.", error);
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? "Eigen muziek kon niet worden geladen."
      : "Custom music could not be loaded.";
  }
}

function customTrackName(fileName) {
  return fileName.replace(/\.[^.]+$/, "").trim() || fileName;
}

async function importUserMusicFiles(files) {
  const category = els.userMusicCategory.value || "Ambient";
  const audioFiles = [...files].filter((file) => file.type.startsWith("audio/") || /\.(mp3|m4a|aac|wav|flac|ogg)$/i.test(file.name));
  if (!audioFiles.length) {
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? "Selecteer één of meer geldige audiobestanden."
      : "Select one or more valid audio files.";
    return;
  }

  els.userMusicAddButton.disabled = true;
  let importedCount = 0;
  let lightCodeCount = 0;
  try {
    for (const file of audioFiles) {
      const data = await file.arrayBuffer();
      const lightCodeDetection = await detectMusicLightCode(data);
      const lightCode = normalizeMusicLightCode(lightCodeDetection.type);
      if (lightCode) lightCodeCount += 1;
      const record = {
        id: globalThis.crypto?.randomUUID?.() || `music-${Date.now()}-${Math.random().toString(36).slice(2)}`,
        name: customTrackName(file.name),
        fileName: file.name,
        mimeType: file.type || "audio/mpeg",
        mood: category,
        data,
        sessionEnabled: !lightCode,
        lightCode,
        lightCodeConfidence: lightCodeDetection.confidence || 0,
        lightCodeFrequencyHz: lightCodeDetection.frequencyHz || 0,
        createdAt: Date.now() + importedCount
      };
      await storeUserMusicRecord(record);
      state.musicTracks.push(customMusicTrackFromRecord(record));
      importedCount += 1;
    }
    state.musicCategoryFilter = category;
    state.manualMusicQueue = [];
    state.sessionMusicQueues = {};
    renderMusicCategories();
    renderMusicPlaylist();
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? `${importedCount} muziekbestand${importedCount === 1 ? "" : "en"} toegevoegd aan ${category}.${lightCodeCount ? ` ${lightCodeCount} track${lightCodeCount === 1 ? "" : "s"} met AudioStrobe/SpectraStrobe-code vergrendeld voor sessies.` : ""}`
      : `${importedCount} music file${importedCount === 1 ? "" : "s"} added to ${category}.${lightCodeCount ? ` ${lightCodeCount} track${lightCodeCount === 1 ? "" : "s"} with AudioStrobe/SpectraStrobe code locked out of sessions.` : ""}`;
  } catch (error) {
    console.error("Muziekbestand kon niet worden opgeslagen.", error);
    const errorName = error?.name ? ` (${error.name})` : "";
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? `De track kon niet lokaal worden opgeslagen${errorName}.`
      : `The track could not be stored locally${errorName}.`;
  } finally {
    els.userMusicAddButton.disabled = false;
    els.userMusicFiles.value = "";
  }
}

async function deleteUserMusicTrack(track) {
  if (track.system || state.sessionRunning) return;
  const trackIndex = state.musicTracks.findIndex((candidate) => sameUserMusicTrack(candidate, track));
  if (trackIndex < 0) {
    renderMusicPlaylist();
    return;
  }
  const matchingTracks = state.musicTracks.filter((candidate) => sameUserMusicTrack(candidate, track));
  const wasCurrentTrack = trackIndex === state.musicTrackIndex;
  const selectedKeys = new Set(matchingTracks.map(musicTrackStorageKey));
  const nextCurrentKey = state.musicTracks[state.musicTrackIndex] && !wasCurrentTrack
    ? musicTrackStorageKey(state.musicTracks[state.musicTrackIndex])
    : null;

  try {
    matchingTracks.forEach((candidate) => {
      try {
        URL.revokeObjectURL(candidate.url);
      } catch {
        // Object URLs are best-effort cleanup.
      }
    });
    state.musicTracks = state.musicTracks.filter((candidate) => !sameUserMusicTrack(candidate, track));
    state.musicHistory = state.musicHistory.filter((key) => !selectedKeys.has(key));
    state.manualMusicQueue = [];
    state.sessionMusicQueues = {};
    saveSessionMusicSelection();
    renderMusicCategories();
    if (wasCurrentTrack) {
      els.musicPlayer.pause();
      els.musicPlayer.removeAttribute("src");
      state.musicTrackIndex = -1;
      if (state.musicTracks.length) loadMusicTrack(0, false);
      else renderMusicPlaylist();
    } else {
      state.musicTrackIndex = nextCurrentKey
        ? state.musicTracks.findIndex((candidate) => musicTrackStorageKey(candidate) === nextCurrentKey)
        : -1;
      renderMusicPlaylist();
    }
    updateMusicUi();
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? `"${track.name}" is verwijderd.`
      : `"${track.name}" was removed.`;
  } catch (error) {
    console.error("Muziekbestand kon niet uit de actieve lijst worden verwijderd.", error);
    els.userMusicImportStatus.value = currentLanguage === "nl"
      ? "Verwijderen is niet gelukt."
      : "Removing the track failed.";
    return;
  }

  try {
    await removeUserMusicRecordsForTrack(track);
  } catch (error) {
    console.warn("Muziekrecord kon niet uit IndexedDB worden verwijderd nadat de track uit de lijst is gehaald.", error);
  }
}

function filteredMusicTrackEntries() {
  return state.musicTracks
    .map((track, index) => ({ track, index }))
    .filter(({ track }) => state.musicCategoryFilter === "all" || track.mood === state.musicCategoryFilter)
    .sort((a, b) => compareLocalizedText(a.track.name, b.track.name));
}

function renderMusicCategories() {
  const categories = [...new Set(state.musicTracks.map((track) => track.mood).filter(Boolean))]
    .sort(compareLocalizedText);
  els.musicCategoryFilter.innerHTML = "";

  const allOption = document.createElement("option");
  allOption.value = "all";
  allOption.textContent = `${currentLanguage === "nl" ? "Alle categorieën" : "All categories"} (${state.musicTracks.length})`;
  els.musicCategoryFilter.append(allOption);

  categories.forEach((category) => {
    const option = document.createElement("option");
    const count = state.musicTracks.filter((track) => track.mood === category).length;
    option.value = category;
    option.textContent = `${category} (${count})`;
    els.musicCategoryFilter.append(option);
  });

  if (!categories.includes(state.musicCategoryFilter)) {
    state.musicCategoryFilter = "all";
  }
  els.musicCategoryFilter.value = state.musicCategoryFilter;
  renderUserMusicCategories();
}

function updateMusicUi() {
  const hasTracks = state.musicTracks.length > 0;
  const currentTrack = state.musicTracks[state.musicTrackIndex];
  const visibleTracks = filteredMusicTrackEntries();
  const visiblePosition = visibleTracks.findIndex(({ index }) => index === state.musicTrackIndex);
  const duration = Number.isFinite(els.musicPlayer.duration) ? els.musicPlayer.duration : 0;
  const currentTime = Number.isFinite(els.musicPlayer.currentTime) ? els.musicPlayer.currentTime : 0;
  const isPlaying = !els.musicPlayer.paused && !els.musicPlayer.ended;

  els.musicStatus.value = currentTrack
    ? visiblePosition >= 0
      ? `${visiblePosition + 1} / ${visibleTracks.length}`
      : currentTrack.mood
    : (currentLanguage === "nl" ? "Geen nummer" : "No track");
  els.musicTrackName.textContent = currentTrack?.name || (currentLanguage === "nl" ? "Geen nummer geselecteerd" : "No track selected");
  if (els.musicLightCodeIndicator) {
    const lightCode = normalizeMusicLightCode(currentTrack?.lightCode);
    els.musicLightCodeIndicator.hidden = !lightCode;
    els.musicLightCodeIndicator.textContent = lightCode
      ? (currentLanguage === "nl"
        ? `${musicLightCodeLabel(lightCode)} gedetecteerd`
        : `${musicLightCodeLabel(lightCode)} detected`)
      : "";
  }
  els.musicTime.value = `${formatMusicTime(currentTime)} / ${formatMusicTime(duration)}`;
  els.musicProgress.value = duration > 0 ? String(Math.round((currentTime / duration) * 1000)) : "0";
  els.musicVolumeValue.value = `${els.musicVolume.value}%`;
  setButtonLabel(els.musicToggle, isPlaying
    ? (currentLanguage === "nl" ? "Pauze" : "Pause")
    : (currentLanguage === "nl" ? "Afspelen" : "Play"));
  els.musicToggle.disabled = !hasTracks;
  els.musicPrevious.disabled = !hasTracks;
  els.musicNext.disabled = !hasTracks;
  els.musicShuffle.disabled = !hasTracks;
  setButtonLabel(els.musicShuffle, state.musicShuffleEnabled ? "Shuffle" : "Loop");
  els.musicShuffle.classList.toggle("active", state.musicShuffleEnabled);

  els.musicPlaylist.querySelectorAll("li").forEach((item) => {
    item.classList.toggle("active", Number(item.dataset.trackIndex) === state.musicTrackIndex);
  });
  updateTransportPanel();
}

function renderMusicPlaylist() {
  els.musicPlaylist.innerHTML = "";

  const stopMusicTrackDeleteEvent = (event) => {
    event.stopPropagation();
  };

  filteredMusicTrackEntries().forEach(({ track, index }) => {
    const item = document.createElement("li");
    const button = document.createElement("button");
    const sessionToggle = document.createElement("input");
    const deleteButton = document.createElement(track.system ? "span" : "button");
    const cover = document.createElement("img");
    const name = document.createElement("strong");
    const type = document.createElement("small");
    item.dataset.trackIndex = String(index);
    button.type = "button";
    button.className = "music-track-select";
    cover.src = track.cover;
    cover.alt = "";
    cover.loading = "lazy";
    name.textContent = track.name;
    const lightCode = normalizeMusicLightCode(track.lightCode);
    type.textContent = lightCode
      ? `${track.mood || (currentLanguage === "nl" ? "Eigen" : "Custom")} · ${musicLightCodeLabel(lightCode)}`
      : track.mood || (track.system
      ? (currentLanguage === "nl" ? "Vast" : "Built-in")
      : (currentLanguage === "nl" ? "Eigen" : "Custom"));
    button.append(cover, name, type);
    button.addEventListener("click", (event) => {
      if (event.target.closest(".music-track-delete, .music-session-toggle")) return;
      const row = event.currentTarget.closest("li");
      if (row) {
        const rect = row.getBoundingClientRect();
        if (Number.isFinite(event.clientX) && event.clientX >= rect.right - 60) return;
      }
      if (!state.sessionRunning) state.manualMusicQueue = [];
      loadMusicTrack(index, true);
    });
    sessionToggle.type = "checkbox";
    sessionToggle.checked = musicTrackAllowedForSessions(track);
    sessionToggle.disabled = trackHasMusicLightCode(track);
    sessionToggle.className = "music-session-toggle";
    sessionToggle.setAttribute(
      "aria-label",
      currentLanguage === "nl" ? `${track.name} gebruiken in sessies` : `Use ${track.name} in sessions`
    );
    sessionToggle.title = trackHasMusicLightCode(track)
      ? (currentLanguage === "nl"
        ? `${musicLightCodeLabel(track.lightCode)} gedetecteerd: alleen handmatig afspelen`
        : `${musicLightCodeLabel(track.lightCode)} detected: manual playback only`)
      : currentLanguage === "nl" ? "Gebruiken in sessies" : "Use in sessions";
    sessionToggle.addEventListener("change", () => {
      if (trackHasMusicLightCode(track)) {
        track.sessionEnabled = false;
        sessionToggle.checked = false;
        return;
      }
      track.sessionEnabled = sessionToggle.checked;
      state.sessionMusicQueues = {};
      saveSessionMusicSelection();
      item.classList.toggle("session-disabled", !sessionToggle.checked);
    });
    if (track.system) {
      deleteButton.className = "music-track-delete-placeholder";
      deleteButton.setAttribute("aria-hidden", "true");
    } else {
      deleteButton.type = "button";
      deleteButton.className = "music-track-delete";
      deleteButton.innerHTML = `
        <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
          <path d="M3 6h18"></path>
          <path d="M8 6V4h8v2"></path>
          <path d="M6 6l1 15h10l1-15"></path>
          <path d="M10 11v6"></path>
          <path d="M14 11v6"></path>
        </svg>
      `;
      deleteButton.disabled = state.sessionRunning;
      deleteButton.title = state.sessionRunning
        ? (currentLanguage === "nl" ? "Stop eerst de actieve sessie" : "Stop the active session first")
        : (currentLanguage === "nl" ? "Eigen muziek verwijderen" : "Remove custom music");
      deleteButton.setAttribute("aria-label", currentLanguage === "nl"
        ? `${track.name} verwijderen`
        : `Remove ${track.name}`);
      deleteButton.addEventListener("pointerdown", stopMusicTrackDeleteEvent);
      deleteButton.addEventListener("mousedown", stopMusicTrackDeleteEvent);
      deleteButton.addEventListener("touchstart", stopMusicTrackDeleteEvent, { passive: false });
      deleteButton.addEventListener("click", (event) => {
        event.preventDefault();
        event.stopPropagation();
        void deleteUserMusicTrack(track);
      });
    }
    item.classList.toggle("session-disabled", !sessionToggle.checked);
    item.classList.toggle("light-code-track", trackHasMusicLightCode(track));
    item.append(button, sessionToggle, deleteButton);
    els.musicPlaylist.append(item);
  });

  updateMusicUi();
}

function saveSessionMusicSelection() {
  const disabledTracks = state.musicTracks
    .filter((track) => track.sessionEnabled === false)
    .map(musicTrackStorageKey);
  localStorage.setItem(SESSION_MUSIC_SELECTION_STORAGE_KEY, JSON.stringify(disabledTracks));
}

function restoreSessionMusicSelection() {
  let disabledTracks = [];
  try {
    disabledTracks = JSON.parse(localStorage.getItem(SESSION_MUSIC_SELECTION_STORAGE_KEY) || "[]");
  } catch {
    disabledTracks = [];
  }
  const disabledKeys = new Set(Array.isArray(disabledTracks) ? disabledTracks : []);
  state.musicTracks.forEach((track) => {
    track.sessionEnabled = trackHasMusicLightCode(track)
      ? false
      : !disabledKeys.has(musicTrackStorageKey(track));
  });
}

function adjacentFilteredMusicTrackIndex(direction) {
  const entries = filteredMusicTrackEntries();
  if (!entries.length) return state.musicTrackIndex;
  const position = entries.findIndex(({ index }) => index === state.musicTrackIndex);
  const nextPosition = position < 0
    ? direction > 0 ? 0 : entries.length - 1
    : (position + direction + entries.length) % entries.length;
  return entries[nextPosition].index;
}

function rememberCurrentMusicTrack() {
  const currentTrack = state.musicTracks[state.musicTrackIndex];
  if (!currentTrack) return;
  const currentKey = musicTrackStorageKey(currentTrack);
  if (state.musicHistory.at(-1) !== currentKey) {
    state.musicHistory.push(currentKey);
    if (state.musicHistory.length > 100) state.musicHistory.shift();
  }
}

function previousMusicTrackIndex() {
  if (!state.sessionRunning && !state.musicShuffleEnabled) {
    return state.musicTrackIndex;
  }
  const allowedMoods = state.sessionRunning ? sessionAllowedMusicMoods() : null;
  while (state.musicHistory.length) {
    const previousKey = state.musicHistory.pop();
    const previousIndex = state.musicTracks.findIndex((track) => (
      musicTrackStorageKey(track) === previousKey
      && (!state.sessionRunning || !trackHasMusicLightCode(track))
      && musicTrackMatchesMoods(track, allowedMoods)
      && (state.sessionRunning || state.musicCategoryFilter === "all" || track.mood === state.musicCategoryFilter)
    ));
    if (previousIndex >= 0 && previousIndex !== state.musicTrackIndex) return previousIndex;
  }
  return state.sessionRunning
    ? state.musicTrackIndex - 1
    : adjacentFilteredMusicTrackIndex(-1);
}

function loadMusicTrack(index, autoplay = false, recordHistory = true) {
  if (!state.musicTracks.length) return;
  if (state.sessionMusicCrossfade) {
    state.sessionMusicCrossfade.player.pause();
    state.sessionMusicCrossfade = null;
  }
  let nextIndex = (index + state.musicTracks.length) % state.musicTracks.length;
  if (state.sessionRunning && trackHasMusicLightCode(state.musicTracks[nextIndex])) {
    const fallbackIndex = nextSessionMusicTrackIndex(sessionAllowedMusicMoods());
    if (!Number.isInteger(fallbackIndex) || trackHasMusicLightCode(state.musicTracks[fallbackIndex])) {
      els.musicPlayer.pause();
      return;
    }
    nextIndex = fallbackIndex;
  }
  if (recordHistory && nextIndex !== state.musicTrackIndex) rememberCurrentMusicTrack();
  state.musicTrackIndex = nextIndex;
  const track = state.musicTracks[state.musicTrackIndex];
  if (!trackHasMusicLightCode(track)) {
    exitMusicLightCodeSafeMode();
  }
  els.musicPlayer.src = track.url;
  els.musicPlayer.load();
  renderMusicPlaylist();
  if (autoplay) {
    void els.musicPlayer.play();
  }
}

function currentMusicTrackHasLightCode() {
  return trackHasMusicLightCode(state.musicTracks[state.musicTrackIndex]);
}

function enterMusicLightCodeSafeMode(track = state.musicTracks[state.musicTrackIndex]) {
  if (!CAN_OUTPUT_MUSIC_LIGHT_CODE || !trackHasMusicLightCode(track) || state.sessionRunning) return;
  if (!state.musicLightCodeSafeModeSnapshot) {
    state.musicLightCodeSafeModeSnapshot = {
      enabled: state.enabled,
      audioEnabled: state.audioEnabled,
      ganzfeldActive: state.ganzfeldActive,
      rgbPulseEnabled: els.rgbPulseEnabled?.checked,
      strobeIntensity: els.strobeIntensity?.value,
      rgbIntensity: els.rgbIntensity?.value,
      auroraEnabled: els.auroraEnabled?.checked,
      auroraPreset: els.auroraPreset?.value,
      auroraSpeed: els.auroraSpeed?.value,
      auroraDepth: els.auroraDepth?.value
    };
  }

  state.enabled = true;
  if (els.outputEnabled) els.outputEnabled.checked = true;
  state.audioEnabled = false;
  state.audioBeatOverride = null;
  state.ganzfeldActive = false;
  state.sessionGanzfeldMode = false;
  stopBrowserPulseAudio();
  stopNoiseLayer({ immediate: true });
  if (els.rgbPulseEnabled) els.rgbPulseEnabled.checked = false;
  if (els.strobeIntensity) els.strobeIntensity.value = "0";
  if (els.rgbIntensity) els.rgbIntensity.value = "0";
  if (HAS_AURORA_MODE && els.auroraEnabled) {
    els.auroraEnabled.checked = false;
    els.auroraPreset.value = "subtle";
    updateAuroraControls();
  }
  updateMusicEqualizer();
  updateMusicReverb();
  updateLabels();
  renderDmx();
  sendFrame();
  startMusicLightCodeDecoder(track);
}

function exitMusicLightCodeSafeMode() {
  const snapshot = state.musicLightCodeSafeModeSnapshot;
  if (!snapshot) return;
  stopMusicLightCodeDecoder();
  state.musicLightCodeSafeModeSnapshot = null;
  state.enabled = snapshot.enabled === true;
  if (els.outputEnabled) els.outputEnabled.checked = state.enabled;
  state.audioEnabled = snapshot.audioEnabled;
  state.ganzfeldActive = snapshot.ganzfeldActive;
  if (els.rgbPulseEnabled) els.rgbPulseEnabled.checked = snapshot.rgbPulseEnabled === true;
  if (els.strobeIntensity && snapshot.strobeIntensity !== undefined) els.strobeIntensity.value = snapshot.strobeIntensity;
  if (els.rgbIntensity && snapshot.rgbIntensity !== undefined) els.rgbIntensity.value = snapshot.rgbIntensity;
  if (HAS_AURORA_MODE && els.auroraEnabled) {
    els.auroraEnabled.checked = snapshot.auroraEnabled === true;
    if (snapshot.auroraPreset !== undefined) els.auroraPreset.value = snapshot.auroraPreset;
    if (snapshot.auroraSpeed !== undefined) els.auroraSpeed.value = snapshot.auroraSpeed;
    if (snapshot.auroraDepth !== undefined) els.auroraDepth.value = snapshot.auroraDepth;
    updateAuroraControls();
  }
  updateMusicEqualizer();
  updateMusicReverb();
  updateLabels();
  renderDmx();
  sendFrame({ onlyIfChanged: shouldUseServerDmxPulse() });
  void publishScreenLightState();
}

function analyserFrequencyMetric(analyser, frequencyData, frequency, bandwidth = 140) {
  const sampleRate = analyser.context?.sampleRate || 44100;
  const binHz = sampleRate / analyser.fftSize;
  const center = frequency / binHz;
  const radius = Math.max(1, Math.round(bandwidth / binHz));
  const start = clamp(Math.round(center - radius), 0, frequencyData.length - 1);
  const end = clamp(Math.round(center + radius), 0, frequencyData.length - 1);
  let peak = -120;
  for (let index = start; index <= end; index += 1) {
    peak = Math.max(peak, frequencyData[index]);
  }

  const referenceOffsets = [-900, -600, 600, 900];
  const references = referenceOffsets.map((offset) => {
    const referenceBin = Math.round((frequency + offset) / binHz);
    if (referenceBin < 0 || referenceBin >= frequencyData.length) return -120;
    return frequencyData[referenceBin];
  });
  const reference = references.reduce((total, value) => total + value, 0) / Math.max(1, references.length);
  return {
    peak,
    reference,
    relativeDb: peak - reference
  };
}

function calibratedAnalyserFrequencyLevel(analyser, frequencyData, frequency, calibration, bandwidth = 140) {
  const metric = analyserFrequencyMetric(analyser, frequencyData, frequency, bandwidth);
  if (metric.peak < -112 || metric.relativeDb < 4) return 0;

  if (!calibration.initialized) {
    calibration.initialized = true;
    calibration.floor = metric.peak;
    calibration.ceiling = metric.peak;
  }

  calibration.floor = metric.peak < calibration.floor
    ? calibration.floor * 0.7 + metric.peak * 0.3
    : calibration.floor * 0.995 + metric.peak * 0.005;
  calibration.ceiling = metric.peak > calibration.ceiling
    ? calibration.ceiling * 0.7 + metric.peak * 0.3
    : calibration.ceiling * 0.985 + metric.peak * 0.015;

  const dynamicRange = Math.max(5, calibration.ceiling - calibration.floor);
  const carrierLevel = clamp(((metric.peak - calibration.floor) / dynamicRange - 0.2) / 0.58, 0, 1);
  const confidence = clamp((metric.relativeDb - 4) / 18, 0, 1);
  return clamp(Math.pow(carrierLevel * confidence, 0.72) * 1.18, 0, 1);
}

function updateAudioStrobePulseEstimate(decoder, level, now) {
  const safeLevel = clamp(level, 0, 1);
  decoder.signalEma = decoder.signalEma === undefined
    ? safeLevel
    : decoder.signalEma * 0.92 + safeLevel * 0.08;
  decoder.signalPresent = decoder.signalEma > 0.08 || safeLevel > 0.18;
  decoder.pulseIntensity = clamp((decoder.signalEma * 0.35 + safeLevel * 0.65) * 100, 35, 100);
  if (!decoder.signalPresent) return;

  if (!Array.isArray(decoder.levelHistory)) decoder.levelHistory = [];
  decoder.levelHistory.push({ time: now, level: safeLevel });
  const historyStart = now - 3200;
  while (decoder.levelHistory.length && decoder.levelHistory[0].time < historyStart) {
    decoder.levelHistory.shift();
  }

  if (now - (decoder.lastPulseEstimateAt || 0) < 180 || decoder.levelHistory.length < 18) return;
  decoder.lastPulseEstimateAt = now;

  const values = decoder.levelHistory.map((sample) => sample.level).sort((a, b) => a - b);
  const percentile = (fraction) => values[Math.max(0, Math.min(values.length - 1, Math.floor((values.length - 1) * fraction)))] || 0;
  const low = percentile(0.2);
  const high = percentile(0.82);
  if (high - low < 0.22) return;
  const threshold = low + (high - low) * 0.35;
  const troughs = [];
  let runStart = -1;
  const samples = decoder.levelHistory;
  for (let index = 0; index < samples.length; index += 1) {
    const isLow = samples[index].level <= threshold;
    if (isLow && runStart < 0) runStart = index;
    if (runStart >= 0 && (!isLow || index === samples.length - 1)) {
      const runEnd = isLow && index === samples.length - 1 ? index : index - 1;
      let troughIndex = runStart;
      for (let candidate = runStart + 1; candidate <= runEnd; candidate += 1) {
        if (samples[candidate].level < samples[troughIndex].level) troughIndex = candidate;
      }
      troughs.push(samples[troughIndex].time);
      runStart = -1;
    }
  }
  const intervals = [];
  for (let index = 1; index < troughs.length; index += 1) {
    const intervalSeconds = (troughs[index] - troughs[index - 1]) / 1000;
    if (intervalSeconds >= 0.035 && intervalSeconds <= 1.25) intervals.push(intervalSeconds);
  }
  if (intervals.length < 3) return;
  intervals.sort((a, b) => a - b);
  const medianInterval = intervals[Math.floor(intervals.length / 2)];
  const measuredFrequency = clamp(1 / medianInterval, 0.8, 24);
  if (Number(decoder.pulseFrequencyAnchorHz) > 0) {
    decoder.pulseFrequencyHz = decoder.pulseFrequencyAnchorHz;
    decoder.pulseEpochMs = troughs[troughs.length - 1];
    return;
  }
  decoder.pulseFrequencyHz = decoder.pulseFrequencyHz
    ? decoder.pulseFrequencyHz * 0.86 + measuredFrequency * 0.14
    : measuredFrequency;
  decoder.pulseEpochMs = troughs[troughs.length - 1];
}

function applyDecodedMusicLightCode(type, levels) {
  if (!CAN_OUTPUT_MUSIC_LIGHT_CODE || !state.musicLightCodeSafeModeSnapshot || state.sessionRunning) return;
  const normalizedType = normalizeMusicLightCode(type);
  if (!normalizedType) return;
  let red = 0;
  let green = 0;
  let blue = 0;
  const whiteFlashOnly = musicLightCodeUsesWhiteFlashOnly(normalizedType);
  if (musicLightCodeUsesRgb(normalizedType)) {
    red = clamp(levels.red || 0, 0, 1);
    green = clamp(levels.green || 0, 0, 1);
    blue = clamp(levels.blue || 0, 0, 1);
  } else {
    const mono = clamp(levels.mono || 0, 0, 1);
    red = mono;
    green = mono;
    blue = mono;
  }

  const intensity = clamp(Math.max(red, green, blue) * 100, 0, 100);
  const previousColor = /^#[0-9a-f]{6}$/i.test(els.rgbColor?.value || "")
    && els.rgbColor.value.toLowerCase() !== "#000000"
    ? els.rgbColor.value
    : "#40c9ff";
  const color = whiteFlashOnly
    ? "#ffffff"
    : intensity > 0.5
      ? rgbToHex({
          r: Math.round((red / Math.max(red, green, blue, 0.001)) * 255),
          g: Math.round((green / Math.max(red, green, blue, 0.001)) * 255),
          b: Math.round((blue / Math.max(red, green, blue, 0.001)) * 255)
        })
      : previousColor;

  els.rgbColor.value = color;
  if (whiteFlashOnly) {
    els.rgbIntensity.value = "0";
    els.strobeIntensity.value = String(Math.round(intensity));
  } else {
    els.rgbIntensity.value = String(Math.round(intensity));
    els.strobeIntensity.value = "0";
  }
  els.rgbPulseEnabled.checked = false;
  state.ganzfeldActive = false;
  updateLabels();
  renderDmx(true);
  sendFrame({
    sourceKind: "music-light",
    pulseHz: 0,
    pulseChannels: []
  });
  void publishScreenLightState();
}

function startMusicLightCodeDecoder(track = state.musicTracks[state.musicTrackIndex]) {
  const lightCode = normalizeMusicLightCode(track?.lightCode);
  if (!CAN_OUTPUT_MUSIC_LIGHT_CODE || !lightCode || state.sessionRunning) return;
  stopMusicLightCodeDecoder({ keepOutput: true });
  const analyser = state.musicLightCodeAnalysers.get(els.musicPlayer);
  if (!analyser) return;
  const frequencyData = new Float32Array(analyser.frequencyBinCount);
  const decoder = {
    lightCode,
    animationFrame: null,
    lastSentAt: 0,
    lastAnalysisAt: 0,
    calibration: {
      mono: {},
      red: {},
      green: {},
      blue: {}
    },
    pulseFrequencyHz: Number(track?.lightCodeFrequencyHz || 0) || 10,
    pulseFrequencyAnchorHz: Number(track?.lightCodeFrequencyHz || 0) || 0,
    pulseIntensity: 85,
    pulseEpochMs: performance.now(),
    signalPresent: true,
    levelHistory: [],
    lastPulseEstimateAt: 0
  };

  const tick = (now = performance.now()) => {
    if (state.musicLightCodeDecoder !== decoder || !state.musicLightCodeSafeModeSnapshot || els.musicPlayer.paused) return;
    analyser.getFloatFrequencyData(frequencyData);
    if (now - decoder.lastSentAt > 33) {
      decoder.lastSentAt = now;
      if (lightCode === "spectrastrobe") {
        const levels = {
          red: calibratedAnalyserFrequencyLevel(analyser, frequencyData, 18700, decoder.calibration.red),
          green: calibratedAnalyserFrequencyLevel(analyser, frequencyData, 19200, decoder.calibration.green),
          blue: calibratedAnalyserFrequencyLevel(analyser, frequencyData, 19700, decoder.calibration.blue)
        };
        updateAudioStrobePulseEstimate(decoder, Math.max(levels.red, levels.green, levels.blue), now);
        applyDecodedMusicLightCode(lightCode, levels);
      } else {
        const mono = calibratedAnalyserFrequencyLevel(analyser, frequencyData, 19200, decoder.calibration.mono, 180);
        updateAudioStrobePulseEstimate(decoder, mono, now);
        applyDecodedMusicLightCode(lightCode, {
          mono
        });
      }
    }
    decoder.animationFrame = requestAnimationFrame(tick);
  };

  state.musicLightCodeDecoder = decoder;
  decoder.animationFrame = requestAnimationFrame(tick);
}

function stopMusicLightCodeDecoder({ keepOutput = false } = {}) {
  const decoder = state.musicLightCodeDecoder;
  if (!decoder) return;
  if (decoder.animationFrame) cancelAnimationFrame(decoder.animationFrame);
  state.musicLightCodeDecoder = null;
  if (!keepOutput && HAS_LIGHT) {
    els.rgbIntensity.value = "0";
    els.strobeIntensity.value = "0";
    renderDmx(false);
    sendFrame();
  }
}

function musicVolumeNormalized() {
  return clamp(Number(els.musicVolume.value), 0, 100) / 100;
}

function reverbPresetDefaults(preset) {
  return {
    none: { mix: 0, decay: 2.5, preDelay: 25 },
    room: { mix: 18, decay: 1.2, preDelay: 18 },
    hall: { mix: 32, decay: 3.8, preDelay: 35 },
    cathedral: { mix: 46, decay: 7.5, preDelay: 65 },
    ganzfeld: { mix: 55, decay: 10, preDelay: 90 }
  }[preset] || { mix: 0, decay: 2.5, preDelay: 25 };
}

function createReverbImpulse(context, decaySeconds) {
  const decay = clamp(Number(decaySeconds), 0.2, 12);
  const length = Math.max(1, Math.floor(context.sampleRate * decay));
  const impulse = context.createBuffer(2, length, context.sampleRate);
  for (let channel = 0; channel < impulse.numberOfChannels; channel += 1) {
    const data = impulse.getChannelData(channel);
    for (let index = 0; index < length; index += 1) {
      const progress = index / length;
      const envelope = (1 - progress) ** 2.4;
      data[index] = (Math.random() * 2 - 1) * envelope;
    }
  }
  return impulse;
}

function currentReverbSettings() {
  if (!HAS_SPATIAL_REVERB || !els.reverbPreset) {
    return { preset: "none", mix: 0, decay: 2.5, preDelay: 0 };
  }
  const preset = els.reverbPreset.value || "none";
  return {
    preset,
    mix: preset === "none" ? 0 : clamp(Number(els.reverbMix.value), 0, 100),
    decay: clamp(Number(els.reverbDecay.value), 0.2, 12),
    preDelay: clamp(Number(els.reverbPreDelay.value), 0, 250) / 1000
  };
}

function updateMusicReverb() {
  if (!HAS_SPATIAL_REVERB) return;
  const settings = currentReverbSettings();
  const lightCodeSafeMode = Boolean(state.musicLightCodeSafeModeSnapshot);
  state.musicReverbNodes.forEach((nodes) => {
    const context = nodes.context;
    const now = context.currentTime;
    const mix = lightCodeSafeMode && !nodes.noise ? 0 : settings.mix / 100;
    const dry = 1 - mix * 0.35;
    const wet = mix * 0.75;
    nodes.dryGain.gain.setTargetAtTime(dry, now, 0.04);
    nodes.wetGain.gain.setTargetAtTime(wet, now, 0.04);
    nodes.preDelay.delayTime.setTargetAtTime(settings.preDelay, now, 0.04);
    const roundedDecay = Number(settings.decay.toFixed(1));
    if (nodes.decay !== roundedDecay || nodes.preset !== settings.preset) {
      nodes.convolver.buffer = createReverbImpulse(context, roundedDecay);
      nodes.decay = roundedDecay;
      nodes.preset = settings.preset;
    }
  });
}

function ensureMusicPanner(player) {
  const AudioContextClass = window.AudioContext || window.webkitAudioContext;
  if (!AudioContextClass || !player) return null;
  if (state.musicPanners.has(player)) return state.musicPanners.get(player);

  try {
    state.musicAudioContext ||= new AudioContextClass();
    const source = state.musicAudioContext.createMediaElementSource(player);
    const bass = state.musicAudioContext.createBiquadFilter();
    const mid = state.musicAudioContext.createBiquadFilter();
    const treble = state.musicAudioContext.createBiquadFilter();
    const panner = state.musicAudioContext.createStereoPanner();
    const dryGain = state.musicAudioContext.createGain();
    const preDelay = state.musicAudioContext.createDelay(0.3);
    const convolver = state.musicAudioContext.createConvolver();
    const wetGain = state.musicAudioContext.createGain();
    const masterGain = state.musicAudioContext.createGain();
    const lightCodeAnalyser = state.musicAudioContext.createAnalyser();
    lightCodeAnalyser.fftSize = 8192;
    lightCodeAnalyser.smoothingTimeConstant = 0.34;
    bass.type = "lowshelf";
    bass.frequency.value = 120;
    mid.type = "peaking";
    mid.frequency.value = 1000;
    mid.Q.value = 0.8;
    treble.type = "highshelf";
    treble.frequency.value = 6000;
    source.connect(bass);
    bass.connect(mid);
    mid.connect(treble);
    treble.connect(lightCodeAnalyser);
    treble.connect(panner);
    panner.connect(dryGain).connect(masterGain);
    if (HAS_SPATIAL_REVERB) {
      panner.connect(preDelay).connect(convolver).connect(wetGain).connect(masterGain);
    }
    masterGain.connect(state.musicAudioContext.destination);
    state.musicPanners.set(player, panner);
    state.musicPannerNodes.add(panner);
    state.musicMasterGains.set(player, masterGain);
    state.musicMasterGainNodes.add(masterGain);
    state.musicLightCodeAnalysers.set(player, lightCodeAnalyser);
    const equalizer = { bass, mid, treble };
    state.musicEqualizers.set(player, equalizer);
    state.musicEqualizerNodes.add(equalizer);
    if (HAS_SPATIAL_REVERB) {
      const reverb = { context: state.musicAudioContext, dryGain, preDelay, convolver, wetGain, preset: null, decay: null };
      state.musicReverbs.set(player, reverb);
      state.musicReverbNodes.add(reverb);
      updateMusicReverb();
    }
    updateMusicEqualizer();
    updateMusicMasterVolume();
    return panner;
  } catch (error) {
    console.warn("Music balance is unavailable for this player.", error);
    return null;
  }
}

function updateAudioBalance() {
  const pan = state.musicLightCodeSafeModeSnapshot
    ? 0
    : clamp(Number(els.audioBalance.value), -100, 100) / 100;
  state.musicPannerNodes.forEach((panner) => {
    panner.pan.value = pan;
  });
}

function updateMusicMasterVolume() {
  updateSessionMusicVolumes();
}

function updateMusicEqualizer() {
  const neutral = Boolean(state.musicLightCodeSafeModeSnapshot);
  const bassGain = neutral ? 0 : clamp(Number(els.equalizerBass.value), -12, 12);
  const midGain = neutral ? 0 : clamp(Number(els.equalizerMid.value), -12, 12);
  const trebleGain = neutral ? 0 : clamp(Number(els.equalizerTreble.value), -12, 12);
  state.musicEqualizerNodes.forEach((equalizer) => {
    equalizer.bass.gain.value = bassGain;
    equalizer.mid.gain.value = midGain;
    equalizer.treble.gain.value = trebleGain;
  });
}

async function prepareMusicAudio(player) {
  const panner = ensureMusicPanner(player);
  if (player === els.musicPlayer && currentMusicTrackHasLightCode()) {
    enterMusicLightCodeSafeMode();
  }
  if (panner) {
    panner.pan.value = state.musicLightCodeSafeModeSnapshot ? 0 : clamp(Number(els.audioBalance.value), -100, 100) / 100;
  }
  updateMusicEqualizer();
  updateMusicReverb();
  if (state.musicAudioContext?.state === "suspended") {
    try {
      await state.musicAudioContext.resume();
    } catch (error) {
      console.warn("Music audio context could not resume.", error);
    }
  }
}

function updateSessionMusicVolumes() {
  const crossfade = state.sessionMusicCrossfade;
  const targetVolume = musicVolumeNormalized();

  const setPlayerVolume = (player, volume) => {
    if (!player) return;
    const normalized = clamp(volume, 0, 1);
    const gainNode = state.musicMasterGains.get(player);
    if (gainNode) {
      player.volume = 1;
      gainNode.gain.value = normalized * masterVolumeNormalized();
    } else {
      player.volume = normalized * masterVolumeNormalized();
    }
  };

  if (!crossfade) {
    setPlayerVolume(els.musicPlayer, targetVolume);
    return;
  }

  const progress = clamp((performance.now() - crossfade.startedAt) / crossfade.durationMs, 0, 1);
  setPlayerVolume(els.musicPlayer, targetVolume * (1 - progress));
  setPlayerVolume(crossfade.player, targetVolume * progress);

  if (progress < 1) return;

  const previousPlayer = els.musicPlayer;
  rememberCurrentMusicTrack();
  previousPlayer.pause();
  setPlayerVolume(previousPlayer, 0);
  els.musicPlayer = crossfade.player;
  setPlayerVolume(els.musicPlayer, targetVolume);
  state.sessionCrossfadePlayer = previousPlayer;
  state.musicTrackIndex = crossfade.toIndex;
  state.sessionMusicCrossfade = null;
  bindMusicPlayerEvents(els.musicPlayer);
  renderMusicPlaylist();
}

function musicTrackMatchesMoods(track, allowedMoods) {
  return !Array.isArray(allowedMoods) || allowedMoods.length === 0 || allowedMoods.includes(track.mood);
}

function randomArrayIndex(length) {
  if (length <= 1) return 0;
  if (globalThis.crypto?.getRandomValues) {
    const values = new Uint32Array(1);
    const limit = Math.floor(0x100000000 / length) * length;
    do {
      globalThis.crypto.getRandomValues(values);
    } while (values[0] >= limit);
    return values[0] % length;
  }
  return Math.floor(Math.random() * length);
}

function nextManualShuffleTrackIndex() {
  const candidates = filteredMusicTrackEntries().map(({ index }) => index);
  if (!candidates.length) return null;
  if (candidates.length === 1) return candidates[0];

  const candidateSet = new Set(candidates);
  state.manualMusicQueue = state.manualMusicQueue.filter(
    (index) => candidateSet.has(index) && index !== state.musicTrackIndex
  );

  if (!state.manualMusicQueue.length) {
    state.manualMusicQueue = shuffleIndexes(
      candidates.filter((index) => index !== state.musicTrackIndex)
    );
  }

  return state.manualMusicQueue.shift() ?? null;
}

function randomSessionStartTrackIndex(allowedMoods = null) {
  const candidates = state.musicTracks
    .map((track, index) => ({ track, index }))
    .filter(({ track }) => musicTrackAllowedForSessions(track) && musicTrackMatchesMoods(track, allowedMoods));
  if (!candidates.length) return null;

  const previousStartKey = localStorage.getItem(LAST_SESSION_START_TRACK_STORAGE_KEY);
  const pool = candidates.length > 1
    ? candidates.filter(({ track }) => musicTrackStorageKey(track) !== previousStartKey)
    : candidates;
  const selected = pool[randomArrayIndex(pool.length)] ?? candidates[0];
  localStorage.setItem(LAST_SESSION_START_TRACK_STORAGE_KEY, musicTrackStorageKey(selected.track));
  return selected.index;
}

function shuffleIndexes(indexes) {
  const shuffled = [...indexes];
  for (let index = shuffled.length - 1; index > 0; index -= 1) {
    const swapIndex = randomArrayIndex(index + 1);
    [shuffled[index], shuffled[swapIndex]] = [shuffled[swapIndex], shuffled[index]];
  }
  return shuffled;
}

function nextSessionMusicTrackIndex(allowedMoods = null, queueKey = null) {
  const candidates = state.musicTracks
    .map((track, index) => ({ track, index }))
    .filter(({ track }) => musicTrackAllowedForSessions(track) && musicTrackMatchesMoods(track, allowedMoods))
    .map(({ index }) => index);

  const pool = candidates;
  if (!pool.length) return null;

  const key = queueKey || (Array.isArray(allowedMoods) ? allowedMoods.join("|") : "all");
  if (!state.sessionMusicQueues[key]?.length) {
    state.sessionMusicQueues[key] = shuffleIndexes(pool.filter((index) => index !== state.musicTrackIndex));
    if (!state.sessionMusicQueues[key].length) {
      state.sessionMusicQueues[key] = shuffleIndexes(pool);
    }
  }

  return state.sessionMusicQueues[key].shift() ?? pool[0];
}

function musicMoodSelectionKey(allowedMoods) {
  const moods = Array.isArray(allowedMoods)
    ? allowedMoods
    : allowedMoods
      ? [allowedMoods]
      : [];
  return [...new Set(moods.map((mood) => String(mood).trim().toLowerCase()).filter(Boolean))]
    .sort()
    .join("|");
}

function sessionAllowedMusicMoods() {
  if (!state.sessionRunning) return null;
  const program = sessionPrograms[state.sessionProgramId];
  if (!program) return null;
  return program.allowedMusicMoods ?? null;
}

async function crossfadeToSessionMusic(program, allowedMoods) {
  if (!state.musicTracks.length) return;

  const queueKey = Array.isArray(allowedMoods) ? allowedMoods.join("|") : "all";
  const nextIndex = nextSessionMusicTrackIndex(allowedMoods, queueKey);
  if (!Number.isInteger(nextIndex)) {
    els.musicPlayer.pause();
    return;
  }
  if (nextIndex === state.musicTrackIndex) return;

  if (state.sessionMusicCrossfade) {
    state.sessionMusicCrossfade.player.pause();
    state.sessionMusicCrossfade = null;
  }

  const player = state.sessionCrossfadePlayer || new Audio();
  const track = state.musicTracks[nextIndex];
  player.pause();
  player.src = track.url;
  player.loop = false;
  player.volume = 0;
  player.load();
  bindMusicPlayerEvents(player);

  state.sessionMusicCrossfade = {
    player,
    toIndex: nextIndex,
    startedAt: performance.now(),
    durationMs: Math.max(1, Number(program.musicCrossfadeSeconds || 10)) * 1000
  };

  try {
    await player.play();
  } catch (error) {
    console.error(error);
    state.sessionMusicCrossfade = null;
  }

  updateSessionMusicVolumes();
}

function ensureSessionMusicForTimelineMood(program, musicMood) {
  if (!isTimelineProgram(program) || !state.sessionRunning || !state.musicTracks.length) return;
  const mood = MUSIC_LIBRARY_CATEGORIES.includes(musicMood) ? musicMood : program.timeline?.musicMood || "Ambient";
  const allowedMoods = [mood];
  const moodKey = musicMoodSelectionKey(allowedMoods);
  if (state.sessionMusicMoodKey === moodKey) {
    updateSessionMusicVolumes();
    return;
  }

  const previousMoodKey = state.sessionMusicMoodKey;
  state.sessionMusicMoodKey = moodKey;
  if (!previousMoodKey || !els.musicPlayer.src) {
    const nextIndex = randomSessionStartTrackIndex(allowedMoods);
    if (!Number.isInteger(nextIndex)) {
      els.musicPlayer.pause();
      return;
    }
    loadMusicTrack(nextIndex, true);
    updateSessionMusicVolumes();
    return;
  }

  void crossfadeToSessionMusic(program, allowedMoods);
}

function interpolate(from, to, progress) {
  return from + (to - from) * progress;
}

function smoothStep(progress) {
  const value = clamp(progress, 0, 1);
  return value * value * (3 - 2 * value);
}

function interpolateHexColor(from, to, progress) {
  const start = hexToRgb(from);
  const end = hexToRgb(to);
  return rgbToHex({
    r: interpolate(start.r, end.r, progress),
    g: interpolate(start.g, end.g, progress),
    b: interpolate(start.b, end.b, progress)
  });
}

function valueAtTimelineKeyframes(points, elapsedSeconds, fallback = 0) {
  if (!Array.isArray(points) || !points.length) return fallback;
  if (elapsedSeconds <= points[0].time) return points[0].value;
  for (let index = 0; index < points.length - 1; index += 1) {
    const current = points[index];
    const next = points[index + 1];
    if (elapsedSeconds <= next.time) {
      const duration = Math.max(0.001, next.time - current.time);
      return interpolate(current.value, next.value, clamp((elapsedSeconds - current.time) / duration, 0, 1));
    }
  }
  return points.at(-1).value;
}

function musicMoodAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "Ambient") {
  if (!Array.isArray(points) || !points.length) return fallback;
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return MUSIC_LIBRARY_CATEGORIES.includes(activePoint.musicMood)
    ? activePoint.musicMood
    : fallback;
}

function noiseTypeAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "none") {
  if (!Array.isArray(points) || !points.length) return validSessionNoiseType(fallback, "none");
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return validSessionNoiseType(activePoint.noiseType, fallback);
}

function reverbPresetAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "none") {
  if (!Array.isArray(points) || !points.length) return validSessionReverbPreset(fallback, "none");
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return validSessionReverbPreset(activePoint.reverbPreset, fallback);
}

function reverbMixAtTimelineKeyframes(points, elapsedSeconds, preset = "none") {
  const normalizedPreset = validSessionReverbPreset(preset, "none");
  const presetMix = reverbPresetDefaults(normalizedPreset).mix;
  if (!Array.isArray(points) || !points.length) return presetMix;
  const hasExplicitMix = points.some((point) => Number(point?.value) > 0);
  if (!hasExplicitMix) return presetMix;
  return valueAtTimelineKeyframes(points, elapsedSeconds, 0);
}

function sessionReverbPresetLabel(preset) {
  const labels = {
    none: userSessionText("Reverb off", "Galm uit"),
    room: userSessionText("Room", "Kamer"),
    hall: userSessionText("Hall", "Zaal"),
    cathedral: userSessionText("Cathedral", "Kathedraal"),
    ganzfeld: userSessionText("Ganzfeld", "Ganzfeld")
  };
  return labels[validSessionReverbPreset(preset, "none")] || labels.none;
}

function audioModeAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "isochronic") {
  if (!Array.isArray(points) || !points.length) return validSessionAudioMode(fallback, "isochronic");
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return validSessionAudioMode(activePoint.audioMode, fallback);
}

function pulseShapeAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "sine") {
  if (!Array.isArray(points) || !points.length) return validSessionPulseShape(fallback, "sine");
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return validSessionPulseShape(activePoint.pulseShape, fallback);
}

function audioPulseShapeAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "sine") {
  if (!Array.isArray(points) || !points.length) return validSessionPulseShape(fallback, "sine");
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return validSessionPulseShape(activePoint.audioPulseShape ?? activePoint.pulseShape, fallback);
}

function lightPulseShapeAtTimelineFrequencyKeyframes(points, elapsedSeconds, fallback = "sine") {
  if (!Array.isArray(points) || !points.length) return validSessionPulseShape(fallback, "sine");
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  return validSessionPulseShape(activePoint.lightPulseShape ?? activePoint.pulseShape, fallback);
}

function colorAtTimelineKeyframes(points, elapsedSeconds, fallback = "#40c9ff", crossfadeSeconds = 0) {
  if (!Array.isArray(points) || !points.length) return fallback;
  if (elapsedSeconds <= points[0].time) return points[0].value;
  const transitionSeconds = Math.max(0, Number(crossfadeSeconds) || 0);
  for (let index = 0; index < points.length - 1; index += 1) {
    const current = points[index];
    const next = points[index + 1];
    if (elapsedSeconds < next.time) {
      const availableSeconds = Math.max(0.001, next.time - current.time);
      const fadeSeconds = Math.min(transitionSeconds, availableSeconds);
      const fadeStart = next.time - fadeSeconds;
      if (fadeSeconds > 0 && elapsedSeconds >= fadeStart) {
        return interpolateHexColor(current.value, next.value, clamp((elapsedSeconds - fadeStart) / fadeSeconds, 0, 1));
      }
      return current.value || fallback;
    }
  }
  return points.at(-1).value || fallback;
}

function colorEffectAtTimelineKeyframes(points, elapsedSeconds, timeline = {}) {
  const fallback = {
    ganzfeldMode: false,
    auroraMode: "off",
    auroraSpeed: 0.25,
    auroraDepth: 45
  };
  if (!Array.isArray(points) || !points.length) return fallback;
  let activePoint = points[0];
  for (let index = 0; index < points.length; index += 1) {
    if (elapsedSeconds >= points[index].time) {
      activePoint = points[index];
    } else {
      break;
    }
  }
  const auroraMode = validSessionAuroraMode(activePoint.auroraMode, "off");
  return {
    ganzfeldMode: activePoint.ganzfeldMode === true,
    auroraMode,
    auroraSpeed: boundedSessionNumber(activePoint.auroraSpeed, 0.05, 2, fallback.auroraSpeed),
    auroraDepth: boundedSessionNumber(activePoint.auroraDepth, 0, 100, fallback.auroraDepth)
  };
}

function sessionFadeOutFactor(program, elapsedSeconds) {
  const sessionFadeOutStart = Math.max(0, program.durationSeconds - 60);
  return 1 - clamp(
    (elapsedSeconds - sessionFadeOutStart) / Math.max(1, program.durationSeconds - sessionFadeOutStart),
    0,
    1
  );
}

function timelineSnapshotAt(program, elapsedSeconds) {
  const timeline = program.timeline;
  const curves = timeline?.curves || {};
  const fadeOutFactor = sessionFadeOutFactor(program, elapsedSeconds);
  const audioFadeInSeconds = program.audioFadeInSeconds ?? 10;
  const fadeInFactor = audioFadeInSeconds > 0
    ? clamp(elapsedSeconds / audioFadeInSeconds, 0, 1)
    : 1;
  const lightHz = valueAtTimelineKeyframes(curves.frequency, elapsedSeconds, 10);
  const audioHz = valueAtTimelineKeyframes(curves.audioFrequency, elapsedSeconds, lightHz);
  const reverbPreset = reverbPresetAtTimelineFrequencyKeyframes(curves.audioFrequency, elapsedSeconds, timeline.reverbPreset || "none");
  const rawReverbMix = reverbMixAtTimelineKeyframes(curves.reverbMix, elapsedSeconds, reverbPreset);
  const effectiveReverbPreset = reverbPreset === "none" && rawReverbMix > 0 ? "room" : reverbPreset;
  const noiseType = noiseTypeAtTimelineFrequencyKeyframes(curves.audioFrequency, elapsedSeconds, timeline.noiseType || "none");
  const audioPulseShape = audioPulseShapeAtTimelineFrequencyKeyframes(curves.audioFrequency, elapsedSeconds, timeline.pulseShape || "sine");
  const lightPulseShape = lightPulseShapeAtTimelineFrequencyKeyframes(curves.frequency, elapsedSeconds, timeline.pulseShape || "sine");
  const audioMode = audioModeAtTimelineFrequencyKeyframes(curves.audioFrequency, elapsedSeconds, timeline.audioMode || "isochronic");
  const colorEffects = colorEffectAtTimelineKeyframes(curves.color, elapsedSeconds, timeline);
  return {
    lightHz,
    audioHz,
    color: colorAtTimelineKeyframes(curves.color, elapsedSeconds, "#40c9ff", program.colorCrossfadeSeconds ?? 0),
    rgbIntensity: clamp(valueAtTimelineKeyframes(curves.rgb, elapsedSeconds, 50) * fadeOutFactor, 0, 100),
    whiteIntensity: HAS_LIGHT && els.sessionWhiteLightDisabled.checked
      ? 0
      : clamp(valueAtTimelineKeyframes(curves.white, elapsedSeconds, 20) * fadeOutFactor, 0, 100),
    pulseVolume: clamp(valueAtTimelineKeyframes(curves.pulseVolume, elapsedSeconds, 35) * fadeOutFactor * fadeInFactor, 0, 100),
    musicVolume: clamp(valueAtTimelineKeyframes(curves.musicVolume, elapsedSeconds, 50) * fadeOutFactor, 0, 100),
    noiseVolume: noiseType === "none"
      ? 0
      : clamp(valueAtTimelineKeyframes(curves.noiseVolume, elapsedSeconds, 0) * fadeOutFactor, 0, 100),
    reverbMix: effectiveReverbPreset === "none"
      ? 0
      : clamp(rawReverbMix * fadeOutFactor, 0, 100),
    reverbDecay: effectiveReverbPreset === "none"
      ? 2.5
      : clamp(valueAtTimelineKeyframes(curves.reverbDecay, elapsedSeconds, 2.5), 0.2, 12),
    pulseShape: audioPulseShape,
    audioPulseShape,
    lightPulseShape,
    audioMode,
    noiseType,
    reverbPreset: effectiveReverbPreset,
    musicMood: musicMoodAtTimelineFrequencyKeyframes(curves.audioFrequency, elapsedSeconds, timeline.musicMood || "Ambient"),
    ganzfeldMode: colorEffects.ganzfeldMode,
    auroraMode: colorEffects.auroraMode,
    auroraSpeed: colorEffects.auroraSpeed,
    auroraDepth: colorEffects.auroraDepth
  };
}

function activeTimelineMarker(program, elapsedSeconds) {
  const markers = normalizeTimelineMarkers(program?.timeline?.markers, program?.durationSeconds || 0);
  let activeIndex = 0;
  markers.forEach((marker, index) => {
    if (elapsedSeconds >= marker.time) activeIndex = index;
  });
  return {
    marker: markers[activeIndex] || { time: 0, name: currentLanguage === "nl" ? "Vrije keyframe-tijdlijn" : "Free keyframe timeline" },
    index: activeIndex
  };
}

function getSessionPhase(program, elapsedSeconds) {
  if (!isTimelineProgram(program)) return null;
  const markers = normalizeTimelineMarkers(program.timeline.markers, program.durationSeconds);
  const active = activeTimelineMarker(program, elapsedSeconds);
  const startSeconds = active.marker.time;
  const endSeconds = markers[active.index + 1]?.time ?? program.durationSeconds;
  const duration = Math.max(1, endSeconds - startSeconds);
  return {
    phase: null,
    marker: active.marker,
    index: active.index,
    duration,
    startSeconds,
    progress: clamp((elapsedSeconds - startSeconds) / duration, 0, 1)
  };
}

function sessionFrequencyAt(program, elapsedSeconds) {
  if (!isTimelineProgram(program)) return { lightHz: 0, audioHz: 0 };
  const snapshot = timelineSnapshotAt(program, elapsedSeconds);
  return { lightHz: snapshot.lightHz, audioHz: snapshot.audioHz };
}

function transitionProgress(elapsedInPhase, duration, holdSeconds = 0, transitionSeconds = null) {
  if (elapsedInPhase <= holdSeconds) return 0;
  const availableDuration = Math.max(1, duration - holdSeconds);
  const transitionDuration = Math.max(1, transitionSeconds ?? availableDuration);
  return clamp((elapsedInPhase - holdSeconds) / transitionDuration, 0, 1);
}

function sessionIntensityAt(program, elapsedSeconds) {
  if (!isTimelineProgram(program)) return { rgbIntensity: 0, whiteIntensity: 0 };
  const snapshot = timelineSnapshotAt(program, elapsedSeconds);
  return {
    rgbIntensity: snapshot.rgbIntensity,
    whiteIntensity: snapshot.whiteIntensity
  };
}

function sessionVolumesAt(program, elapsedSeconds) {
  if (!isTimelineProgram(program)) return { pulseVolume: 0, musicVolume: 0, noiseVolume: 0, reverbMix: 0, reverbDecay: 2.5 };
  const snapshot = timelineSnapshotAt(program, elapsedSeconds);
  return {
    pulseVolume: snapshot.pulseVolume,
    musicVolume: snapshot.musicVolume,
    noiseVolume: snapshot.noiseVolume,
    reverbMix: snapshot.reverbMix,
    reverbDecay: snapshot.reverbDecay
  };
}

function renderSessionGraph(program) {
  const width = 640;
  const height = 178;
  const padding = { top: 16, right: 52, bottom: 30, left: 38 };
  const graphWidth = width - padding.left - padding.right;
  const graphHeight = height - padding.top - padding.bottom;
  const samples = [];
  const sampleCount = 160;
  const showBreathing = els.breathingGuideEnabled.checked;

  for (let index = 0; index <= sampleCount; index += 1) {
    const elapsed = (index / sampleCount) * program.durationSeconds;
    const { lightHz, audioHz } = sessionFrequencyAt(program, elapsed);
    samples.push({
      elapsed,
      lightHz,
      audioHz,
      breathingRate: breathingPatternForFrequency(audioHz).rate
    });
  }

  const maxHz = Math.max(1, ...samples.flatMap((sample) => HAS_LIGHT_FREQUENCY_GRAPH
    ? [sample.lightHz, sample.audioHz]
    : [sample.audioHz]));
  const yMax = Math.ceil(maxHz / 5) * 5;
  const x = (seconds) => padding.left + (seconds / program.durationSeconds) * graphWidth;
  const y = (hz) => padding.top + graphHeight - (hz / yMax) * graphHeight;
  const breathingY = (rate) => padding.top + graphHeight - (rate / 8) * graphHeight;
  const points = (key) => samples.map((sample) => `${x(sample.elapsed).toFixed(1)},${y(sample[key]).toFixed(1)}`).join(" ");
  const breathingPoints = samples
    .map((sample) => `${x(sample.elapsed).toFixed(1)},${breathingY(sample.breathingRate).toFixed(1)}`)
    .join(" ");
  const audioFrequencyPoints = Array.isArray(program.timeline?.curves?.audioFrequency)
    ? program.timeline.curves.audioFrequency
    : [];
  const reverbPresetMarkers = HAS_SESSION_REVERB
    ? audioFrequencyPoints.reduce((markers, point, index) => {
        const pointTime = clamp(Number(point.time) || 0, 0, program.durationSeconds);
        const pointMix = reverbMixAtTimelineKeyframes(program.timeline?.curves?.reverbMix, pointTime, point?.reverbPreset);
        const rawPreset = validSessionReverbPreset(point?.reverbPreset, program.timeline?.reverbPreset || "none");
        const preset = rawPreset === "none" && pointMix > 0 ? "room" : rawPreset;
        let previousPreset = null;
        if (index > 0) {
          const previousPoint = audioFrequencyPoints[index - 1];
          const previousTime = clamp(Number(previousPoint?.time) || 0, 0, program.durationSeconds);
          const previousMix = reverbMixAtTimelineKeyframes(program.timeline?.curves?.reverbMix, previousTime, previousPoint?.reverbPreset);
          const rawPreviousPreset = validSessionReverbPreset(previousPoint?.reverbPreset, program.timeline?.reverbPreset || "none");
          previousPreset = rawPreviousPreset === "none" && previousMix > 0 ? "room" : rawPreviousPreset;
        }
        if (preset === "none" && previousPreset === null) return markers;
        if (preset === previousPreset) return markers;
        const markerX = x(pointTime);
        const markerY = y(clamp(Number(point.value) || 0, 0, yMax));
        const nearbyMarkerCount = markers.filter((marker) => Math.abs(marker.x - markerX) < 64).length;
        const lane = nearbyMarkerCount % 3;
        const label = sessionReverbPresetLabel(preset);
        const labelWidth = clamp(label.length * 5.8 + 18, 42, 90);
        const labelX = clamp(markerX, padding.left + labelWidth / 2 + 2, width - padding.right - labelWidth / 2 - 2);
        const labelY = clamp(markerY - 18 - lane * 17, padding.top + 11, padding.top + graphHeight - 7);
        markers.push({ x: markerX, y: markerY, labelX, labelY, labelWidth, label, preset });
        return markers;
      }, [])
    : [];
  const reverbPresetMarkup = reverbPresetMarkers.map((marker) => `
    <g class="graph-reverb-preset-marker${marker.preset === "none" ? " off" : ""}">
      <line x1="${marker.x.toFixed(1)}" y1="${marker.y.toFixed(1)}" x2="${marker.labelX.toFixed(1)}" y2="${(marker.labelY + 3).toFixed(1)}"></line>
      <rect x="${(marker.labelX - marker.labelWidth / 2).toFixed(1)}" y="${(marker.labelY - 10).toFixed(1)}" width="${marker.labelWidth.toFixed(1)}" height="15" rx="7.5"></rect>
      <text x="${marker.labelX.toFixed(1)}" y="${(marker.labelY + 1).toFixed(1)}">${escapeSessionHtml(marker.label)}</text>
    </g>
  `).join("");

  const markerBlocks = normalizeTimelineMarkers(program.timeline.markers, program.durationSeconds);
  const phaseBlocks = markerBlocks.map((marker, index, markers) => {
    const endSeconds = markers[index + 1]?.time ?? program.durationSeconds;
    const blockWidth = Math.max(0, x(endSeconds) - x(marker.time));
    return `
      <rect class="graph-phase" x="${x(marker.time).toFixed(1)}" y="${padding.top}" width="${blockWidth.toFixed(1)}" height="${graphHeight}"></rect>
      <text x="${(x(marker.time) + 5).toFixed(1)}" y="${height - 11}">T${index + 1}</text>
    `;
  }).join("");

  els.sessionGraph.innerHTML = `
    <div class="graph-pulse-indicator" aria-label="${currentLanguage === "nl" ? "Pulsevorm" : "Pulse shape"}">
      <span data-pulse-shape="sine"><i></i>${currentLanguage === "nl" ? "Sinus" : "Sine"}</span>
      <span data-pulse-shape="triangle"><i></i>${currentLanguage === "nl" ? "Driehoek" : "Triangle"}</span>
      <span data-pulse-shape="square"><i></i>${currentLanguage === "nl" ? "Vierkant" : "Square"}</span>
      <span data-pulse-shape="trapezoid"><i></i>${currentLanguage === "nl" ? "Trapezium" : "Trapezoid"}</span>
      <span data-pulse-shape="sawtooth"><i></i>${currentLanguage === "nl" ? "Zaagtand" : "Sawtooth"}</span>
      <span class="smr-indicator" data-smr-indicator><i></i>SMR 12-15 Hz</span>
    </div>
    <svg viewBox="0 0 ${width} ${height}" role="img" aria-label="${currentLanguage === "nl" ? "Licht- en audiofrequentieverloop" : "Light and audio frequency progression"}">
      ${phaseBlocks}
      <line class="graph-axis" x1="${padding.left}" y1="${padding.top + graphHeight}" x2="${width - padding.right}" y2="${padding.top + graphHeight}"></line>
      <line class="graph-axis" x1="${padding.left}" y1="${padding.top}" x2="${padding.left}" y2="${padding.top + graphHeight}"></line>
      <text x="8" y="${y(yMax).toFixed(1)}">${yMax} Hz</text>
      <text x="12" y="${y(Math.round(yMax / 2)).toFixed(1)}">${Math.round(yMax / 2)} Hz</text>
      <text x="17" y="${padding.top + graphHeight - 2}">0 Hz</text>
      ${showBreathing ? `
        <line class="graph-axis" x1="${width - padding.right}" y1="${padding.top}" x2="${width - padding.right}" y2="${padding.top + graphHeight}"></line>
        <text class="graph-breathing-label" x="${width - padding.right + 6}" y="${breathingY(8).toFixed(1)}">8</text>
        <text class="graph-breathing-label" x="${width - padding.right + 6}" y="${breathingY(4).toFixed(1)}">4</text>
        <text class="graph-breathing-label" x="${width - padding.right + 6}" y="${padding.top + graphHeight - 2}">0</text>
        <text class="graph-breathing-label" x="${width - padding.right + 6}" y="${padding.top + 11}">${currentLanguage === "nl" ? "adem/min" : "breaths/min"}</text>
      ` : ""}
      ${HAS_LIGHT_FREQUENCY_GRAPH ? `<polyline class="graph-light" points="${points("lightHz")}"></polyline>` : ""}
      <polyline class="graph-audio" points="${points("audioHz")}"></polyline>
      ${showBreathing ? `<polyline class="graph-breathing" points="${breathingPoints}"></polyline>` : ""}
      ${reverbPresetMarkup}
      <line class="graph-cursor" id="sessionGraphCursor" x1="${padding.left}" y1="${padding.top}" x2="${padding.left}" y2="${padding.top + graphHeight}"></line>
    </svg>
    <div class="graph-legend">
      ${HAS_LIGHT_FREQUENCY_GRAPH ? `<span><i class="light-key"></i>${currentLanguage === "nl" ? "Licht" : "Light"}</span>` : ""}
      <span><i class="audio-key"></i>${currentLanguage === "nl" ? "Geluid" : "Audio"}</span>
      ${showBreathing ? `<span><i class="breathing-key"></i>${currentLanguage === "nl" ? "Ademhaling" : "Breathing"}</span>` : ""}
    </div>
  `;
}

function renderSessionIntensityGraph(program) {
  const width = 640;
  const height = 178;
  const padding = { top: 16, right: 24, bottom: 30, left: 42 };
  const graphWidth = width - padding.left - padding.right;
  const graphHeight = height - padding.top - padding.bottom;
  const sampleCount = 160;
  const samples = [];

  for (let index = 0; index <= sampleCount; index += 1) {
    const elapsed = (index / sampleCount) * program.durationSeconds;
    samples.push({
      elapsed,
      ...sessionIntensityAt(program, elapsed),
      ...sessionVolumesAt(program, elapsed)
    });
  }

  const x = (seconds) => padding.left + (seconds / program.durationSeconds) * graphWidth;
  const y = (intensity) => padding.top + graphHeight - (intensity / 100) * graphHeight;
  const points = (key) => samples
    .map((sample) => `${x(sample.elapsed).toFixed(1)},${y(sample[key]).toFixed(1)}`)
    .join(" ");

  const graphBlocks = normalizeTimelineMarkers(program.timeline.markers, program.durationSeconds).map((marker, index, markers) => ({
    startSeconds: marker.time,
    endSeconds: markers[index + 1]?.time ?? program.durationSeconds,
    label: `T${index + 1}`
  }));
  const phaseBlocks = graphBlocks.map((block) => {
    const startSeconds = block.startSeconds;
    const endSeconds = block.endSeconds;
    const markup = `
      <rect class="graph-phase" x="${x(startSeconds).toFixed(1)}" y="${padding.top}" width="${Math.max(0, x(endSeconds) - x(startSeconds)).toFixed(1)}" height="${graphHeight}"></rect>
      <text x="${(x(startSeconds) + 5).toFixed(1)}" y="${height - 11}">${block.label}</text>
    `;
    return markup;
  }).join("");

  els.sessionIntensityGraph.innerHTML = `
    <div class="intensity-graph-title">${currentLanguage === "nl" ? "Intensiteit en volume" : "Intensity and volume"}</div>
    <svg viewBox="0 0 ${width} ${height}" role="img" aria-label="${t("intensityProgression")}">
      ${phaseBlocks}
      <line class="graph-axis" x1="${padding.left}" y1="${padding.top + graphHeight}" x2="${width - padding.right}" y2="${padding.top + graphHeight}"></line>
      <line class="graph-axis" x1="${padding.left}" y1="${padding.top}" x2="${padding.left}" y2="${padding.top + graphHeight}"></line>
      <text x="6" y="${y(100).toFixed(1)}">100%</text>
      <text x="12" y="${y(50).toFixed(1)}">50%</text>
      <text x="18" y="${padding.top + graphHeight - 2}">0%</text>
      ${HAS_RGB_INTENSITY_GRAPH ? `<polyline class="graph-rgb-intensity" points="${points("rgbIntensity")}"></polyline>` : ""}
      ${HAS_LIGHT ? `<polyline class="graph-white-intensity" points="${points("whiteIntensity")}"></polyline>` : ""}
      <polyline class="graph-music-volume" points="${points("musicVolume")}"></polyline>
      <polyline class="graph-noise-volume" points="${points("noiseVolume")}"></polyline>
      ${HAS_SESSION_REVERB_GRAPH ? `<polyline class="graph-reverb-mix" points="${points("reverbMix")}"></polyline>` : ""}
      <polyline class="graph-pulse-volume" points="${points("pulseVolume")}"></polyline>
      <line class="graph-cursor" id="sessionIntensityGraphCursor" x1="${padding.left}" y1="${padding.top}" x2="${padding.left}" y2="${padding.top + graphHeight}"></line>
    </svg>
    <div class="graph-legend">
      ${HAS_RGB_INTENSITY_GRAPH ? `<span><i class="rgb-intensity-key"></i>${HAS_SCREEN_LIGHT && !HAS_LIGHT ? "Smartphone Light" : (currentLanguage === "nl" ? "RGB-leds" : "RGB LEDs")}</span>` : ""}
      ${HAS_LIGHT ? `<span><i class="white-intensity-key"></i>${currentLanguage === "nl" ? "Witte leds" : "White LEDs"}</span>` : ""}
      <span><i class="music-volume-key"></i>${currentLanguage === "nl" ? "Muziek" : "Music"}</span>
      <span><i class="noise-volume-key"></i>${currentLanguage === "nl" ? "Ruis" : "Noise"}</span>
      ${HAS_SESSION_REVERB_GRAPH ? `<span><i class="reverb-mix-key"></i>${currentLanguage === "nl" ? "Galm" : "Reverb"}</span>` : ""}
      <span><i class="pulse-volume-key"></i>${currentLanguage === "nl" ? "Pulstoon" : "Pulse tone"}</span>
    </div>
  `;
}

function updateSessionGraphState(program) {
  const cursor = document.querySelector("#sessionGraphCursor");
  const intensityCursor = document.querySelector("#sessionIntensityGraphCursor");
  if (!program) return;
  const progress = clamp(state.sessionElapsedSeconds / program.durationSeconds, 0, 1);
  if (cursor) {
    const x = 38 + progress * (640 - 38 - 52);
    cursor.setAttribute("x1", x.toFixed(1));
    cursor.setAttribute("x2", x.toFixed(1));
  }
  if (intensityCursor) {
    const x = 42 + progress * (640 - 42 - 24);
    intensityCursor.setAttribute("x1", x.toFixed(1));
    intensityCursor.setAttribute("x2", x.toFixed(1));
  }

  const active = getSessionPhase(program, state.sessionElapsedSeconds);
  const activeShape = lightPulseShapeAtTimelineFrequencyKeyframes(
    program.timeline.curves.audioFrequency,
    state.sessionElapsedSeconds,
    program.timeline.pulseShape || "sine"
  );
  els.sessionGraph.querySelectorAll("[data-pulse-shape]").forEach((indicator) => {
    indicator.classList.toggle("active", indicator.dataset.pulseShape === activeShape);
  });
  const currentFrequencies = state.sessionRunning
    ? {
        lightHz: Number(state.sessionLightHz),
        audioHz: Number(state.audioBeatOverride)
      }
    : sessionFrequencyAt(program, state.sessionElapsedSeconds);
  const isSmrFrequency = (frequency) => frequency >= 12 && frequency <= 15;
  const smrIndicator = els.sessionGraph.querySelector("[data-smr-indicator]");
  if (smrIndicator) {
    smrIndicator.classList.toggle(
      "smr-active",
      isSmrFrequency(currentFrequencies.lightHz) || isSmrFrequency(currentFrequencies.audioHz)
    );
  }

  const activeMoods = [timelineSnapshotAt(program, state.sessionElapsedSeconds).musicMood];
  els.sessionMusicCategory.textContent = Array.isArray(activeMoods) && activeMoods.length
    ? activeMoods.join(" / ")
    : (currentLanguage === "nl" ? "Geen categorie" : "No category");
}

function renderSessionProgramGraphs(program, immediate = state.sessionRunning) {
  if (state.sessionGraphFrame) {
    cancelAnimationFrame(state.sessionGraphFrame);
    state.sessionGraphFrame = null;
  }
  const programId = state.sessionRunning ? state.sessionProgramId : els.sessionSelect.value;
  const render = () => {
    state.sessionGraphFrame = null;
    if (sessionPrograms[programId] !== program) return;
    renderSessionGraph(program);
    renderSessionIntensityGraph(program);
    updateSessionGraphState(program);
  };
  if (immediate) {
    render();
  } else {
    state.sessionGraphFrame = requestAnimationFrame(render);
  }
}

function renderSessionProgram() {
  const programId = state.sessionRunning ? state.sessionProgramId : els.sessionSelect.value;
  const program = hydrateSessionProgram(programId);
  if (!program) return;

  els.sessionTitle.textContent = localizedProgramTitle(program);
  els.sessionGoal.textContent = localizedProgramGoal(program);
  els.sessionTimer.value = formatSessionTime(plannedSessionDisplaySeconds(programId));
  els.sessionPhases.innerHTML = "";

  const markers = normalizeTimelineMarkers(program.timeline.markers, program.durationSeconds);
  markers.forEach((marker, index) => {
    const item = document.createElement("li");
    const time = document.createElement("span");
    const name = document.createElement("strong");
    const color = document.createElement("i");
    const endSeconds = markers[index + 1]?.time ?? program.durationSeconds;
    time.textContent = `${formatSessionTime(marker.time)}-${formatSessionTime(endSeconds)}`;
    name.textContent = localizedTimelineMarkerName(marker, index);
    color.style.background = colorAtTimelineKeyframes(
      program.timeline.curves.color,
      marker.time,
      "#40c9ff",
      program.colorCrossfadeSeconds ?? 0
    );
    item.dataset.markerIndex = String(index);
    item.append(color, name, time);
    els.sessionPhases.append(item);
  });
  renderSessionProgramGraphs(program);
  updateSessionPreBaselineControls();
}

function sessionCategoryById(categoryId) {
  return SESSION_CATEGORY_LOOKUP.get(categoryId);
}

function programMarketplaceListingId(program) {
  return String(
    program?.marketplaceListingId
    || program?.["Neural Exchange™ListingId"]
    || program?.marketplaceId
    || program?.listingId
    || ""
  ).trim();
}

function programIsMarketplaceSession(program) {
  return Boolean(program?.userSession && programMarketplaceListingId(program));
}

function displaySessionCategoryIdForProgram(program) {
  if (programIsGuidedSession(program)) return GUIDED_SESSION_CATEGORY_ID;
  if (programIsMarketplaceSession(program)) return MARKETPLACE_SESSION_CATEGORY_ID;
  if (program?.userSession) return USER_SESSION_CATEGORY_ID;
  return program?.category || "";
}

function programIsBaselineSession(program) {
  return program?.category === BASELINE_SESSION_CATEGORY_ID || program?.requiresMuseSensorContact === true || Boolean(program?.baselineKind);
}

function programSessionCategoryIds(program) {
  const categoryIds = new Set();
  if (program?.category) categoryIds.add(program.category);
  if (programIsGuidedSession(program)) categoryIds.add(GUIDED_SESSION_CATEGORY_ID);
  if (program?.userSession) {
    categoryIds.add(programIsMarketplaceSession(program) ? MARKETPLACE_SESSION_CATEGORY_ID : USER_SESSION_CATEGORY_ID);
  }
  return categoryIds;
}

function programMatchesSessionCategory(program, categoryId) {
  if (program?.requiresMuseSensorContact && !HAS_MUSE) return false;
  if (categoryId === SEARCH_RESULTS_SESSION_CATEGORY_ID) return programMatchesSessionSearch(program);
  return programSessionCategoryIds(program).has(categoryId);
}

function directSpecialSessionCategoryCounts(entries = availableSessionProgramEntries()) {
  const counts = {};
  entries.forEach(([, program]) => {
    if (!program?.userSession) return;
    const categoryId = displaySessionCategoryIdForProgram(program);
    if (!isSpecialSessionCategory(categoryId)) return;
    counts[categoryId] = (counts[categoryId] || 0) + 1;
  });
  return counts;
}

function selectedSessionSubcategoryId(categoryId) {
  return validSessionSubcategory(categoryId, els.sessionSubcategory?.value);
}

function programMatchesSessionSubcategory(program, categoryId) {
  const subcategoryId = selectedSessionSubcategoryId(categoryId);
  if (!subcategoryId) return true;
  return program?.category === categoryId && program?.subcategory === subcategoryId;
}

function visibleSessionSubcategoryCounts(categoryId) {
  return sessionProgramIndex().subcategoryCounts[categoryId] || {};
}

function renderSessionSubcategoryOptions(categoryId, preferredSubcategoryId = "", options = {}) {
  if (!els.sessionSubcategory || !els.sessionSubcategoryField) return "";
  const subcategoryCounts = visibleSessionSubcategoryCounts(categoryId);
  const subcategories = sessionSubcategoriesForCategory(categoryId)
    .filter((subcategory) => subcategoryCounts[subcategory.id] > 0);
  els.sessionSubcategory.innerHTML = "";
  if (!subcategories.length || categoryId === SEARCH_RESULTS_SESSION_CATEGORY_ID) {
    els.sessionSubcategory.value = "";
    els.sessionSubcategoryField.hidden = true;
    return "";
  }
  const emptyOption = document.createElement("option");
  emptyOption.value = "";
  emptyOption.textContent = t("allSubcategories");
  const fragment = document.createDocumentFragment();
  fragment.append(emptyOption);
  subcategories.forEach((subcategory) => {
    const option = document.createElement("option");
    option.value = subcategory.id;
    option.textContent = `${sessionSubcategoryText(subcategory)} (${subcategoryCounts[subcategory.id]})`;
    fragment.append(option);
  });
  els.sessionSubcategory.replaceChildren(fragment);
  const preferredId = validSessionSubcategory(categoryId, preferredSubcategoryId);
  const selectedId = subcategories.some((subcategory) => subcategory.id === preferredId)
    ? preferredId
    : (options.defaultToFirst ? subcategories[0].id : "");
  els.sessionSubcategory.value = selectedId;
  els.sessionSubcategoryField.hidden = false;
  return selectedId;
}

function repairSessionSearchInputValue() {
  repairTextControlMisophoniaTerminology(els.sessionSearch);
}

function repairTextControlMisophoniaTerminology(control) {
  if (!control) return;
  const currentValue = String(control.value || "");
  const repairedValue = repairMisophoniaTerminology(currentValue);
  if (repairedValue === currentValue) return;
  const selectionStart = control.selectionStart;
  const selectionEnd = control.selectionEnd;
  control.value = repairedValue;
  if (document.activeElement === control && selectionStart !== null && selectionEnd !== null) {
    const delta = repairedValue.length - currentValue.length;
    control.setSelectionRange(
      Math.max(0, selectionStart + delta),
      Math.max(0, selectionEnd + delta)
    );
  }
}

function normalizedSessionSearchQuery() {
  return repairMisophoniaTerminology(els.sessionSearch?.value || "").trim().toLowerCase();
}

function sessionSearchHaystack(program) {
  if (sessionProgramCache.haystackLanguage !== currentLanguage) {
    sessionProgramCache.haystackLanguage = currentLanguage;
    sessionProgramCache.haystacks = new WeakMap();
  }
  const cached = sessionProgramCache.haystacks.get(program);
  if (cached) return cached;
  const category = sessionCategoryById(program?.category);
  const subcategory = sessionSubcategoryById(program?.category, program?.subcategory);
  const markers = normalizeTimelineMarkers(program?.timeline?.markers || [], program?.durationSeconds || 0);
  const curves = program?.timeline?.curves || {};
  const curveText = Object.values(curves)
    .flat()
    .map((point) => [
      point?.musicMood,
      point?.audioMode,
      point?.pulseShape,
      point?.audioPulseShape,
      point?.lightPulseShape,
      point?.noiseType,
      point?.reverbPreset,
      point?.value,
    ].filter((value) => value !== undefined && value !== null).join(" "))
    .join(" ");
  const haystack = [
    localizedProgramTitle(program),
    program?.title,
    program?.titleEn,
    localizedProgramGoal(program),
    program?.goal,
    program?.goalEn,
    category ? categoryText(category, 0) : "",
    category ? categoryText(category, 1) : "",
    subcategory ? sessionSubcategoryText(subcategory) : "",
    subcategory?.en,
    subcategory?.nl,
    program?.subcategory,
    program?.durationSeconds ? `${Math.round(program.durationSeconds / 60)} min` : "",
    program?.timeline?.musicMood,
    program?.timeline?.audioMode,
    program?.timeline?.pulseShape,
    programIsGuidedSession(program) ? categoryText(sessionCategoryById(GUIDED_SESSION_CATEGORY_ID), 0) : "",
    program?.guidedVoice?.voiceId,
    program?.guidedVoice?.scriptVersion,
    program?.guidedVoice?.musicCategory,
    ...(program?.guidedVoice?.segments || []).flatMap((segment) => [
      segment?.text,
      segment?.textEn,
      segment?.audioSrc,
      segment?.audioSrcEn
    ]),
    ...(program?.allowedMusicMoods || []),
    ...markers.flatMap((marker, index) => [
      localizedTimelineMarkerName(marker, index),
      marker?.name,
      marker?.nameEn,
      marker?.purpose,
      marker?.purposeEn,
    ]),
    curveText,
  ].filter(Boolean).join(" ").toLowerCase();
  sessionProgramCache.haystacks.set(program, haystack);
  return haystack;
}

function programMatchesSessionSearch(program) {
  const query = normalizedSessionSearchQuery();
  if (!query) return true;
  const terms = query.split(/\s+/).filter(Boolean);
  const haystack = sessionSearchHaystack(program);
  return terms.every((term) => haystack.includes(term));
}

function sessionProgramVisible(program) {
  return !(program?.requiresMuseSensorContact && !HAS_MUSE) && programMatchesSessionSearch(program);
}

function sessionProgramAvailable(program) {
  return !(program?.requiresMuseSensorContact && !HAS_MUSE);
}

function visibleSessionProgramEntries() {
  const query = normalizedSessionSearchQuery();
  if (sessionProgramCache.visibleEntries && sessionProgramCache.visibleQuery === query) {
    return sessionProgramCache.visibleEntries;
  }
  sessionProgramCache.visibleQuery = query;
  sessionProgramCache.visibleEntries = availableSessionProgramEntries()
    .filter(([, program]) => query ? programMatchesSessionSearch(program) : true);
  return sessionProgramCache.visibleEntries;
}

function availableSessionProgramEntries() {
  if (!sessionProgramCache.availableEntries) {
    sessionProgramCache.availableEntries = Object.entries(sessionPrograms)
      .filter(([, program]) => sessionProgramAvailable(program));
  }
  return sessionProgramCache.availableEntries;
}

function sessionProgramIndex() {
  const query = normalizedSessionSearchQuery();
  if (sessionProgramCache.index && sessionProgramCache.indexQuery === query) {
    return sessionProgramCache.index;
  }
  const searchActive = Boolean(query);
  const searchEntries = visibleSessionProgramEntries();
  const availableEntries = availableSessionProgramEntries();
  const entries = searchActive && searchEntries.length ? searchEntries : availableEntries;
  const categoryCounts = {};
  const subcategoryCounts = {};
  const categoryProgramEntries = {};
  entries.forEach(([programId, program]) => {
    programSessionCategoryIds(program).forEach((categoryId) => {
      categoryCounts[categoryId] = (categoryCounts[categoryId] || 0) + 1;
      if (!categoryProgramEntries[categoryId]) categoryProgramEntries[categoryId] = [];
      categoryProgramEntries[categoryId].push([programId, program]);
    });
    const primaryCategoryId = program?.category || "";
    const subcategoryId = validSessionSubcategory(primaryCategoryId, program?.subcategory);
    if (subcategoryId) {
      if (!subcategoryCounts[primaryCategoryId]) subcategoryCounts[primaryCategoryId] = {};
      subcategoryCounts[primaryCategoryId][subcategoryId] = (subcategoryCounts[primaryCategoryId][subcategoryId] || 0) + 1;
    }
  });
  sessionProgramCache.indexQuery = query;
  sessionProgramCache.index = {
    query,
    searchActive,
    searchEntries,
    availableEntries,
    entries,
    categoryCounts,
    subcategoryCounts,
    categoryProgramEntries,
    totalProgramCount: availableEntries.length,
    visibleProgramCount: searchActive ? searchEntries.length : availableEntries.length,
    visibleCategoryIds: new Set(
      Object.keys(categoryCounts).filter((id) => !isHiddenSessionCategory(id))
    )
  };
  return sessionProgramCache.index;
}

function updateSessionSearchStatus(visibleCount = null) {
  if (!els.sessionSearchStatus) return;
  const query = normalizedSessionSearchQuery();
  const total = availableSessionProgramEntries().length;
  const count = visibleCount ?? visibleSessionProgramEntries().length;
  if (!query) {
    els.sessionSearchStatus.value = "";
    return;
  }
  els.sessionSearchStatus.value = count
    ? t("sessionSearchResults").replace("{count}", String(count)).replace("{total}", String(total))
    : t("sessionSearchNoResults");
}

const ASK_AI_SYNONYM_GROUPS = [
  ["sleep", "slapen", "slaap", "insomnia", "nacht", "bedtime", "rust", "rest", "delta"],
  ["sleep onset", "fall asleep", "falling asleep", "asleep", "inslapen", "in slaap vallen", "slaapstart", "inslaapfase", "moeite met inslapen"],
  ["stress", "anxiety", "angst", "spanning", "worry", "zorgen", "calm", "kalm", "ontspanning", "relaxation"],
  ["energy", "energie", "vitality", "vitaliteit", "morning", "ochtend", "wake", "wakker", "boost"],
  ["focus", "concentration", "concentratie", "attention", "aandacht", "study", "studie", "werk", "clarity", "helderheid"],
  ["mood", "stemming", "emotion", "emotie", "happy", "geluk", "joy", "optimism", "positief"],
  ["recovery", "herstel", "recharge", "opladen", "fatigue", "vermoeidheid", "burnout", "rehabilitation"],
  ["pain", "pijn", "comfort", "muscle", "spier", "joint", "gewricht", "mobility", "beweging"],
  ["heart", "hart", "coherence", "coherentie", "hrv", "breathing", "ademhaling", "vagus"],
  ["tinnitus", "oorsuizen", "oorpiep", "pieptoon", "piepen", "hearing", "gehoor", "sound", "geluid", "noise", "ringing", "buzzing", "misophonia", "misofonie"],
  ["vision", "zicht", "eyes", "ogen", "visual", "screen", "scherm"],
  ["pregnancy", "zwangerschap", "parenthood", "ouderschap", "fertility", "vruchtbaarheid"],
  ["motivation", "motivatie", "success", "succes", "discipline", "confidence", "zelfvertrouwen"],
  ["attraction", "aantrekkingskracht", "manifestation", "manifestatie", "manifesteren", "abundance", "overvloed", "alignment", "afstemming"],
  ["sports", "sport", "athletic", "workout", "training", "performance", "prestatie"],
  ["spiritual", "spiritueel", "meditation", "meditatie", "mindfulness", "presence", "aanwezigheid"],
  ["chakra", "chakras", "chakra's", "chakra’s", "wortelchakra", "root chakra", "energy center", "energy centre", "energiecentrum", "energiecentra"],
  ["hypnosis", "hypnose", "trance", "induction", "inductie", "therapeut", "suggestion"],
  ["weight", "gewicht", "gewichtsreductie", "afvallen", "vermageren", "reduction", "reductie", "slimming"],
  ["smoking", "roken", "stoppen", "nicotine", "cigarette", "sigaret"],
  ["drugs", "drug", "middelen", "substance", "middelengebruik", "cannabis", "wiet", "marihuana", "marijuana", "hasj", "hash"],
  ["gambling", "gokken", "gokverslaving", "casino", "betting", "weddenschappen"],
  ["phone", "telefoon", "smartphone", "mobiel", "mobile"],
  ["social", "media", "sociale", "instagram", "tiktok", "facebook"],
  ["alcohol", "drank", "drinken", "overmatig", "moderation", "matigen"],
  ["flying", "vliegen", "vliegangst", "vlieganst", "vlieg-angst", "flight", "airplane", "vliegtuig"],
  ["public", "speaking", "spreken", "spreekangst", "presenteren", "presentation"]
];

const ASK_AI_CONCEPT_GROUPS = [
  { id: "sleep-onset", labelNl: "inslapen", labelEn: "sleep onset", terms: ["inslapen", "in slaap vallen", "sleep onset", "fall asleep", "falling asleep", "moeite met inslapen", "inslaapfase", "slaapstart"] },
  { id: "deep-sleep", labelNl: "diepe slaap", labelEn: "deep sleep", terms: ["diepe slaap", "deep sleep", "delta sleep", "doorslapen", "restorative sleep", "herstellende slaap"] },
  { id: "fear-phobia", labelNl: "angst/fobie", labelEn: "fear/phobia", terms: ["angst", "fear", "fobie", "phobia", "paniek", "panic", "anxiety"] },
  { id: "specific-fear", labelNl: "specifieke angst", labelEn: "specific fear", terms: ["vliegangst", "spinnenfobie", "hoogtevrees", "engtevrees", "claustrofobie", "emetofobie", "agorafobie", "fear of flying", "spider phobia", "fear of heights", "claustrophobia"] },
  { id: "habit-addiction", labelNl: "gewoonte/verslaving", labelEn: "habit/addiction", terms: ["verslaving", "addiction", "stoppen", "quit", "roken", "smoking", "cannabis", "gokken", "gambling", "alcohol", "telefoonverslaving", "social media"] },
  { id: "weight-eating", labelNl: "gewicht/eetgedrag", labelEn: "weight/eating", terms: ["afvallen", "gewichtsreductie", "gewicht", "weight loss", "emotioneel eten", "eetbuien", "cravings", "suiker"] },
  { id: "focus-cognition", labelNl: "focus/cognitie", labelEn: "focus/cognition", terms: ["focus", "concentratie", "attention", "aandacht", "cognitie", "cognitive", "brain", "brein", "mental clarity"] },
  { id: "stress-calm", labelNl: "stress/rust", labelEn: "stress/calm", terms: ["stress", "spanning", "ontspanning", "relaxation", "calm", "kalm", "innerlijke rust", "nervous system"] },
  { id: "energy-vitality", labelNl: "energie/vitaliteit", labelEn: "energy/vitality", terms: ["energie", "energy", "vitaliteit", "vitality", "morning", "ochtend", "stamina", "boost"] },
  { id: "recovery", labelNl: "herstel", labelEn: "recovery", terms: ["herstel", "recovery", "rehabilitation", "recharge", "opladen", "fatigue", "vermoeidheid"] },
  { id: "pain-body", labelNl: "pijn/lichaam", labelEn: "pain/body", terms: ["pijn", "pain", "comfort", "spier", "muscle", "gewricht", "joint", "mobility", "movement"] },
  { id: "heart-breath", labelNl: "hart/ademhaling", labelEn: "heart/breath", terms: ["hart", "heart", "coherence", "coherentie", "hrv", "ademhaling", "breathing", "vagus"] },
  { id: "tinnitus", labelNl: "tinnitus/oorsuizen", labelEn: "tinnitus/ear ringing", terms: ["tinnitus", "oorsuizen", "oorpiep", "piep in het oor", "piep in oor", "pieptoon", "suizen", "ringing in the ear", "ear ringing", "ringing ears", "buzzing in the ear"] },
  { id: "sensory", labelNl: "sensorische gevoeligheid", labelEn: "sensory sensitivity", terms: ["misofonie", "misophonia", "tinnitus", "oorsuizen", "geluid", "sound", "noise", "lichtgevoelig", "light sensitivity", "sensory"] },
  { id: "spiritual", labelNl: "spiritueel", labelEn: "spiritual", terms: ["spiritueel", "spiritual", "meditation", "meditatie", "mindfulness", "purpose", "zingeving"] },
  { id: "chakra", labelNl: "chakra's", labelEn: "chakras", terms: ["chakra", "chakras", "chakra's", "chakra’s", "wortelchakra", "root chakra", "energy center", "energy centre", "energiecentrum", "energiecentra"] },
  { id: "creativity", labelNl: "creativiteit", labelEn: "creativity", terms: ["creativiteit", "creativity", "creative", "writing", "music", "design", "flow", "inspiration"] }
];

const ASK_AI_SPECIFIC_FEAR_TARGETS = [
  { id: "flying", terms: ["vliegangst", "angst voor vliegen", "vliegen", "vliegtuig", "fear of flying", "flying anxiety", "flight anxiety", "aviophobia", "airplane"] },
  { id: "spiders", terms: ["spinnenfobie", "angst voor spinnen", "spinnen", "spin", "spider phobia", "spider fear", "arachnophobia", "spider", "spiders"] },
  { id: "insects", terms: ["insecten", "insect", "angst voor insecten", "insectenfobie", "insect phobia", "fear of insects", "entomophobia", "bugs", "bug"] },
  { id: "heights", terms: ["hoogtevrees", "angst voor hoogtes", "hoogte", "hoogtes", "fear of heights", "height phobia", "acrophobia"] },
  { id: "claustrophobia", terms: ["engtevrees", "claustrofobie", "angst voor kleine ruimtes", "angst voor nauwe ruimtes", "angst voor afgesloten ruimtes", "claustrophobia", "enclosed spaces", "small spaces"] },
  { id: "emetophobia", terms: ["emetofobie", "angst voor overgeven", "angst voor braken", "emetophobia", "vomit phobia"] },
  { id: "agoraphobia", terms: ["agorafobie", "angst voor open ruimtes", "angst voor publieke plekken", "agoraphobia", "open spaces", "public places"] },
  { id: "dental", terms: ["tandartsangst", "angst voor tandarts", "tandarts", "dental anxiety", "dentist fear", "dentist"] },
  { id: "medical", terms: ["medische angst", "angst voor medische ingreep", "dokter", "arts", "ziekenhuis", "medical anxiety", "medical fear", "hospital anxiety", "hospital"] },
  { id: "driving", terms: ["rijangst", "angst voor autorijden", "driving anxiety", "fear of driving"] }
];

const ASK_AI_TOPIC_RULES = [
  {
    id: "tinnitus",
    label: "tinnitus/oorsuizen",
    query: /tinnitus|oorsuizen|oor\s*suizen|oorpiep|piep(?:toon)?|piepen.*oor|piep.*oor|suizen.*oor|ringing.*ear|ear.*ringing|buzzing.*ear/i,
    profile: /tinnitus|oorsuizen|oorpiep|piep in (het )?oor|pieptoon|ringing in (the )?ear|ear ringing|sound perception support|tinnitus support/i,
    terms: ["tinnitus", "oorsuizen", "piep in het oor", "piep in oor", "oorpiep", "pieptoon", "ringing in the ear", "ear ringing", "buzzing in the ear"],
    boost: 190
  },
  {
    id: "sleep-onset",
    label: "sleep onset/inslapen",
    query: /beter.*inslapen|inslapen|in slaap vallen|moeite.*inslapen|slaapstart|inslaapfase|sleep onset|fall asleep|falling asleep|difficulty falling asleep|drift into sleep/i,
    profile: /sleep onset|inslaapfase|fall asleep|in slaap vallen|difficulty falling asleep|moeite met inslapen|drift into sleep|sleep induction|slaapinductie|sleep transition|slaapovergang/i,
    terms: ["inslapen", "beter inslapen", "in slaap vallen", "moeite met inslapen", "sleep onset", "fall asleep", "difficulty falling asleep", "drift into sleep"],
    boost: 175
  },
  {
    id: "claustrophobia",
    label: "claustrophobia/engtevrees",
    query: /engtevrees|claustrofobie|claustrophobia|angst.*(nauwe|kleine|afgesloten).*ruimte|enclosed spaces|small spaces/i,
    profile: /claustrofobie|claustrophobia|engtevrees|enclosed spaces|small spaces|angst voor (nauwe|kleine|afgesloten) ruimtes/i,
    terms: ["claustrofobie", "engtevrees", "claustrophobia", "angst voor kleine ruimtes", "enclosed spaces"],
    boost: 170
  },
  {
    id: "spider-phobia",
    label: "spider phobia/spinnenfobie",
    query: /angst.*spinnen|spinnen.*angst|spinnenfobie|arachnophobia|spider phobia|fear of spiders/i,
    profile: /spinnenfobie|arachnophobia|spider phobia|spider fear|angst voor spinnen/i,
    terms: ["spinnenfobie", "angst voor spinnen", "arachnophobia", "spider phobia"],
    boost: 170
  },
  {
    id: "insect-phobia",
    label: "insect phobia/insectenfobie",
    query: /angst.*insect|insect.*angst|insectenfobie|entomophobia|insect phobia|fear of insects|bugs?/i,
    profile: /insectenfobie|entomophobia|insect phobia|fear of insects|angst voor insecten/i,
    terms: ["insectenfobie", "angst voor insecten", "entomophobia", "insect phobia", "fear of insects"],
    boost: 170
  },
  {
    id: "flying",
    label: "fear of flying/vliegangst",
    query: /vliegangst|vlieganst|vlieg[\s-]*angst|fear of flying|flying anxiety|flight anxiety|angst.*vliegen|vliegen.*angst/i,
    profile: /vliegangst|fear of flying|flight anxiety|flying anxiety|aviophobia|fear-free flying|vliegen zonder angst/i,
    terms: ["vliegangst", "fear of flying", "flight anxiety", "aviophobia"],
    boost: 165
  },
  {
    id: "misophonia",
    label: "misophonia/misofonie",
    query: /misofonie|misophonia|geluidsgevoeligheid|lawaai.*gevoelig|sound sensitivity|noise sensitivity|hyperacusis/i,
    profile: /misofonie|misophonia|geluidsgevoeligheid|lawaai gevoeligheid|sound sensitivity|noise sensitivity|hyperacusis/i,
    terms: ["misofonie", "misophonia", "geluidsgevoeligheid", "sound sensitivity", "noise sensitivity", "hyperacusis"],
    boost: 155
  },
  {
    id: "weight-reduction",
    label: "weight reduction/afvallen",
    query: /gewichts?reductie|afvallen|vermageren|weight\s*(loss|reduction)|slimming/i,
    profile: /weight reduction|gewichtsreductie|gewichtsverlies|weight loss|afvallen|weight wellness/i,
    terms: ["afvallen", "gewichtsreductie", "weight loss", "weight reduction"],
    boost: 140
  }
];

function repairAskAiIntentTerminology(text) {
  return repairMisophoniaTerminology(String(text || ""))
    .replace(/\b(piep(?:toon)?|piepen|suizen|oorsuizen|oorpiep)\s+(in\s+)?(het\s+)?oor\b/gi, (match) => replacementWithCase(match, "tinnitus"))
    .replace(/\b(ringing|buzzing)\s+(in\s+)?(the\s+)?ears?\b/gi, (match) => replacementWithCase(match, "tinnitus"))
    .replace(/\bear\s+(ringing|buzzing)\b/gi, (match) => replacementWithCase(match, "tinnitus"))
    .replace(/\bengte[\s-]*vrees\b/gi, (match) => replacementWithCase(match, "claustrofobie"))
    .replace(/\bangst\s+voor\s+(nauwe|kleine|afgesloten)\s+ruimtes?\b/gi, (match) => replacementWithCase(match, "claustrofobie"))
    .replace(/\bvlieg[\s-]*anst\b/gi, (match) => replacementWithCase(match, "vliegangst"))
    .replace(/\bvlieg[\s-]*angst\b/gi, (match) => replacementWithCase(match, "vliegangst"))
    .replace(/\bflying[\s-]*fear\b/gi, (match) => replacementWithCase(match, "fear of flying"))
    .replace(/\bflight[\s-]*fear\b/gi, (match) => replacementWithCase(match, "fear of flying"));
}

function normalizeAskAiText(text) {
  return repairAskAiIntentTerminology(text)
    .normalize("NFD")
    .replace(/[\u0300-\u036f]/g, "")
    .toLowerCase();
}

function askAiTokens(text) {
  const tokens = normalizeAskAiText(text)
    .split(/[^a-z0-9]+/i)
    .map((token) => token.trim())
    .filter((token) => token.length >= 2);
  const expanded = new Set(tokens);
  ASK_AI_SYNONYM_GROUPS.forEach((group) => {
    const normalizedGroup = group.map(normalizeAskAiText);
    if (normalizedGroup.some((token) => expanded.has(token))) {
      normalizedGroup.forEach((token) => expanded.add(token));
    }
  });
  return [...expanded];
}

function askAiRawTokens(text) {
  return normalizeAskAiText(text)
    .split(/[^a-z0-9]+/i)
    .map((token) => token.trim())
    .filter((token) => token.length >= 2);
}

const ASK_AI_STOP_WORDS = new Set([
  "de", "het", "een", "en", "of", "voor", "bij", "met", "zonder", "naar", "van", "op", "in", "ik", "wil", "kan", "kun",
  "me", "mij", "mijn", "zoek", "zoeken", "sessie", "ondersteuning", "support", "welke", "gebruiken", "gebruik", "te", "om",
  "overwinnen", "overwin", "helpen", "helpt", "beste", "geschikt", "the", "a", "an", "and", "or", "for",
  "with", "without", "to", "from", "session", "help", "want", "need", "please", "kan", "kunnen", "zou", "moet", "graag",
  "beter", "better", "over", "gaan", "gaat", "gaanover", "welkesessie", "welke", "betrekking", "verband", "gerelateerd"
]);

function askAiImportantTokens(text) {
  return askAiTokens(text)
    .filter((token) => token.length >= 3 && !ASK_AI_STOP_WORDS.has(token));
}

function askAiRawImportantTokens(text) {
  return askAiRawTokens(text)
    .filter((token) => token.length >= 3 && !ASK_AI_STOP_WORDS.has(token));
}

function askAiQueryPhrases(tokens = []) {
  const phrases = [];
  const cleanTokens = tokens
    .map((token) => askAiNormalizedPhrase(token))
    .filter((token) => token.length >= 3);
  for (let size = Math.min(4, cleanTokens.length); size >= 2; size -= 1) {
    for (let index = 0; index <= cleanTokens.length - size; index += 1) {
      phrases.push(cleanTokens.slice(index, index + size).join(" "));
    }
  }
  return [...new Set(phrases)];
}

function normalizedAskAiTitleCore(text) {
  return normalizeAskAiText(text)
    .replace(/\([^)]*\)/g, " ")
    .replace(/\b(ondersteuning bij|support|session|sessie)\b/g, " ")
    .replace(/[^a-z0-9]+/g, " ")
    .trim();
}

function askAiNormalizedPhrase(text) {
  return normalizeAskAiText(text)
    .replace(/[^a-z0-9]+/g, " ")
    .trim();
}

function askAiTextIncludesPhrase(text, phrase) {
  const haystack = ` ${askAiNormalizedPhrase(text)} `;
  const needle = ` ${askAiNormalizedPhrase(phrase)} `;
  return needle.trim().length >= 3 && haystack.includes(needle);
}

function askAiConceptsForText(text) {
  const normalizedText = askAiNormalizedPhrase(text);
  return ASK_AI_CONCEPT_GROUPS
    .filter((concept) => concept.terms.some((term) => askAiTextIncludesPhrase(normalizedText, term)))
    .map((concept) => concept.id);
}

function askAiConceptLabel(conceptId) {
  const concept = ASK_AI_CONCEPT_GROUPS.find((item) => item.id === conceptId);
  if (!concept) return conceptId;
  return currentLanguage === "nl" ? concept.labelNl : concept.labelEn;
}

function askAiTopicLabel(topicId) {
  const topic = askAiTopicRule(topicId);
  return topic?.label || topicId;
}

function askAiSpecificFearTargetsForText(text) {
  const normalizedText = askAiNormalizedPhrase(text);
  const hasFearContext = /(^| )(angst|fear|fobie|phobia|paniek|panic|anxiety|vrees)( |$)/.test(` ${normalizedText} `);
  return ASK_AI_SPECIFIC_FEAR_TARGETS
    .filter((target) => (
      target.terms.some((term) => askAiTextIncludesPhrase(normalizedText, term))
        && (hasFearContext || target.terms.some((term) => /fobie|phobia|vrees|anxiety/i.test(term)))
    ))
    .map((target) => target.id);
}

function askAiSpecificFearTargetMismatch(queryTargets = [], profileTargets = []) {
  if (!queryTargets.length || !profileTargets.length) return false;
  return !queryTargets.some((target) => profileTargets.includes(target));
}

function askAiTopicsForQuestion(text) {
  const source = repairAskAiIntentTerminology(String(text || ""));
  return ASK_AI_TOPIC_RULES
    .filter((topic) => topic.query.test(source))
    .map((topic) => topic.id);
}

function askAiTopicsForProfileText(text) {
  const source = repairAskAiIntentTerminology(String(text || ""));
  return ASK_AI_TOPIC_RULES
    .filter((topic) => topic.profile.test(source))
    .map((topic) => topic.id);
}

function askAiTopicRule(topicId) {
  return ASK_AI_TOPIC_RULES.find((topic) => topic.id === topicId) || null;
}

function askAiTopicMismatch(queryTopics = [], profileTopics = []) {
  if (!queryTopics.length) return false;
  return !queryTopics.some((topicId) => profileTopics.includes(topicId));
}

function askAiSessionHiddenTags(program, profile) {
  const subjectText = askAiNormalizedPhrase([
    profile?.title,
    profile?.titleNl,
    profile?.titleEn,
    profile?.goal,
    profile?.goalEn,
    program?.title,
    program?.titleEn,
    program?.goal,
    program?.goalEn,
    ...(Array.isArray(program?.searchTags) ? program.searchTags : [])
  ].filter(Boolean).join(" "));
  const text = askAiNormalizedPhrase([
    profile?.title,
    profile?.titleNl,
    profile?.titleEn,
    profile?.goal,
    profile?.goalEn,
    profile?.category,
    profile?.subcategory,
    profile?.subcategoryId,
    program?.title,
    program?.titleEn,
    program?.goal,
    program?.goalEn,
    ...(Array.isArray(program?.searchTags) ? program.searchTags : [])
  ].filter(Boolean).join(" "));
  const tags = new Set();
  const add = (...items) => items.flatMap((item) => String(item || "").split(/[,\n]+/)).forEach((item) => {
    const value = askAiNormalizedPhrase(item);
    if (value) tags.add(value);
  });
  if (Array.isArray(program?.searchTags)) add(...program.searchTags);
  if (/vliegangst|fear of flying|flight anxiety|flying anxiety|fear free flying|calm before flying|vliegen/.test(text)) {
    add("vliegangst", "angst voor vliegen", "vliegen", "vliegtuig", "aviophobia", "fear of flying", "flight anxiety", "flying anxiety", "travel anxiety");
  }
  if (/spinnenfobie|spider phobia|spinnen|spider|arachnophobia/.test(text)) {
    add("spinnenfobie", "angst voor spinnen", "spinnen", "spin", "spider phobia", "spider fear", "spiders", "arachnophobia", "specific phobia");
  }
  if (/hoogtevrees|fear of heights|heights|height phobia|acrophobia/.test(text)) {
    add("hoogtevrees", "angst voor hoogtes", "hoogte", "hoogtes", "fear of heights", "height phobia", "acrophobia", "specific phobia");
  }
  if (/claustrofobie|claustrophobia|small spaces|enclosed spaces/.test(text)) {
    add("claustrofobie", "engtevrees", "angst voor kleine ruimtes", "angst voor nauwe ruimtes", "angst voor afgesloten ruimtes", "claustrophobia", "enclosed spaces", "small spaces", "specific phobia");
  }
  if (/emetofobie|emetophobia|vomit|overgeven|braken/.test(text)) {
    add("emetofobie", "angst voor overgeven", "angst voor braken", "emetophobia", "vomit phobia", "specific phobia");
  }
  if (/agorafobie|agoraphobia|open spaces|public places/.test(text)) {
    add("agorafobie", "angst voor open ruimtes", "angst voor publieke plekken", "agoraphobia", "open spaces", "public places", "specific phobia");
  }
  if (/tandartsangst|dental anxiety|dentist|tandarts/.test(text)) {
    add("tandartsangst", "angst voor tandarts", "tandarts", "dental anxiety", "dentist fear", "medical anxiety");
  }
  if (/medische angst|medical anxiety|medical fear|dokter|arts|ziekenhuis|hospital/.test(text)) {
    add("medische angst", "angst voor medische ingreep", "dokter", "arts", "ziekenhuis", "medical anxiety", "medical fear", "hospital anxiety");
  }
  if (/rijangst|driving anxiety|fear of driving/.test(text)) {
    add("rijangst", "angst voor autorijden", "driving anxiety", "fear of driving");
  }
  if (/misofonie|misophonia|sound sensitivity|noise sensitivity|hyperacusis|geluidsgevoelig|lawaai/.test(text)) {
    add("misofonie", "misophonia", "geluidsgevoeligheid", "lawaai gevoeligheid", "sound sensitivity", "noise sensitivity", "hyperacusis", "hearing");
  }
  if (/tinnitus|oorsuizen|ear ringing|ringing in the ear|buzzing in the ear|sound perception/.test(subjectText)) {
    add("tinnitus", "oorsuizen", "oorpiep", "piep in het oor", "piep in oor", "pieptoon", "suizen in het oor", "ringing in the ear", "ear ringing", "buzzing in the ear", "sound perception", "hearing", "gehoor");
  }
  if (/cannabis|wiet|marihuana|marijuana|hasj|hash|drug|substance|middelengebruik/.test(text)) {
    add("cannabis", "cannabisverslaving", "wiet", "marihuana", "marijuana", "hasj", "hash", "drugs", "middelengebruik", "middelenverslaving", "substance use", "drug use", "verslaving", "addiction");
  }
  if (/smoking|roken|nicotine|sigaret|cigarette/.test(text)) {
    add("stoppen met roken", "roken", "nicotine", "sigaret", "cigarette", "quit smoking", "stop smoking", "verslaving", "addiction");
  }
  if (/alcohol|drank|drinken/.test(text)) {
    add("alcohol", "alcoholgebruik", "minder alcohol", "drank matigen", "alcohol moderation", "overmatig alcoholgebruik", "verslaving");
  }
  if (/gok|gambling|casino|betting/.test(text)) {
    add("gokken", "gokverslaving", "gambling", "gambling addiction", "casino", "betting", "verslaving");
  }
  if (/phone|telefoon|smartphone|mobiel/.test(text)) {
    add("telefoonverslaving", "smartphone verslaving", "phone addiction", "mobile addiction", "digitaal gedrag", "verslaving");
  }
  if (/social media|sociale media|instagram|tiktok|facebook/.test(text)) {
    add("social media verslaving", "sociale media verslaving", "social media addiction", "instagram", "tiktok", "facebook", "digitaal gedrag", "verslaving");
  }
  if (/weight|gewicht|afvallen|gewichtsreductie|slimming|suiker|eetbui|emotioneel eten/.test(text)) {
    add("afvallen", "gewichtsreductie", "gewicht", "weight loss", "weight reduction", "slimming", "eetgedrag", "emotioneel eten", "cravings");
  }
  if (/public speaking|spreekangst|presentatieangst|presentation anxiety|spreken|presenteren/.test(text)) {
    add("spreekangst", "presentatieangst", "public speaking anxiety", "presentation anxiety", "spreken", "presenteren", "sociale angst", "performance anxiety");
  }
  if (/law of attraction|aantrekkingskracht|manifestation|manifestatie|manifesteren|abundance|overvloed|aligned action/.test(text)) {
    add("wet van de aantrekkingskracht", "law of attraction", "aantrekkingskracht", "manifestatie", "manifesteren", "manifestation", "overvloed", "abundance", "alignment", "afstemming", "doelvisualisatie", "goal visualization");
  }
  if (/sleep onset|fall asleep|falling asleep|drift into sleep|prepare for sleep|sleep induction|sleep transition|inslaap|inslapen|in slaap vallen|slaapvoorbereiding|slaapinductie|slaapovergang|moeite met inslapen/.test(text)) {
    add("inslapen", "beter inslapen", "in slaap vallen", "moeite met inslapen", "inslaapfase", "slaapstart", "slaapvoorbereiding", "slaapinductie", "slaapovergang", "sleep onset", "fall asleep", "falling asleep", "difficulty falling asleep", "drift into sleep", "prepare for sleep", "sleep induction", "sleep transition");
  }
  return [...tags];
}

function askAiSessionProfile(programId, program) {
  const category = sessionCategoryById(program?.category);
  const subcategory = sessionSubcategoryById(program?.category, program?.subcategory);
  const markers = normalizeTimelineMarkers(program?.timeline?.markers || [], program?.durationSeconds || 0);
  const curves = program?.timeline?.curves || {};
  const frequencies = [
    ...(curves.frequency || []).map((point) => Number(point.value)),
    ...(curves.audioFrequency || []).map((point) => Number(point.value))
  ].filter(Number.isFinite);
  const minHz = frequencies.length ? Math.min(...frequencies) : null;
  const maxHz = frequencies.length ? Math.max(...frequencies) : null;
  const phaseText = markers.flatMap((marker, index) => [
    localizedTimelineMarkerName(marker, index),
    marker?.name,
    marker?.nameEn,
    marker?.purpose,
    marker?.purposeEn
  ]).filter(Boolean).join(" ");
  const technicalText = [
    program?.timeline?.musicMood,
    program?.timeline?.audioMode,
    program?.timeline?.pulseShape,
    program?.timeline?.noiseType,
    program?.timeline?.reverbPreset,
    program?.timeline?.auroraMode,
    ...(program?.allowedMusicMoods || [])
  ].filter(Boolean).join(" ");
  const profile = {
    id: programId,
    title: localizedProgramTitle(program),
    titleNl: program?.title || "",
    titleEn: program?.titleEn || program?.title || "",
    goal: localizedProgramGoal(program),
    goalEn: program?.goalEn || program?.goal || "",
    categoryId: program?.category || "",
    category: category ? categoryText(category, 0) : "",
    subcategoryId: program?.subcategory || "",
    subcategory: subcategory ? sessionSubcategoryText(subcategory) : "",
    durationMinutes: Math.round((program?.durationSeconds || 0) / 60),
    minHz,
    maxHz,
    metadataText: [
      localizedProgramTitle(program),
      program?.title,
      program?.titleEn,
      localizedProgramGoal(program),
      program?.goal,
      program?.goalEn,
      category ? categoryText(category, 0) : "",
      category ? categoryText(category, 1) : "",
      subcategory ? sessionSubcategoryText(subcategory) : "",
      subcategory?.en,
      subcategory?.nl,
      program?.subcategory,
      phaseText,
      technicalText
    ].filter(Boolean).join(" ")
  };
  const hiddenTags = askAiSessionHiddenTags(program, profile);
  profile.hiddenTags = hiddenTags;
  profile.searchText = [profile.metadataText, hiddenTags.join(" ")].filter(Boolean).join(" ");
  profile.concepts = askAiConceptsForText(profile.searchText);
  profile.specificFearTargets = askAiSpecificFearTargetsForText(profile.searchText);
  profile.topics = askAiTopicsForProfileText([
    profile.title,
    profile.titleNl,
    profile.titleEn,
    profile.goal,
    profile.goalEn,
    hiddenTags.join(" ")
  ].filter(Boolean).join(" "));
  return profile;
}

const ASK_AI_INTENT_RULES = [
  {
    id: "weight-reduction",
    patterns: [/gewichts?reductie|afvallen|vermageren|weight\s*(loss|reduction)|slimming/i],
    title: /weight reduction support|ondersteuning bij gewichtsreductie|gewichtsverlies|weight loss|afvallen|weight wellness/i,
    category: /hypnose|herstel|energie|recovery|well-being|motivation/i,
    tags: ["afvallen", "gewichtsreductie", "weight loss", "weight reduction", "slimming"],
    marker: "intent-weight-reduction",
    boost: 95
  },
  {
    id: "smoking",
    patterns: [/stoppen.*roken|roken.*stoppen|stop smoking|quit smoking|nicotine/i],
    title: /stop smoking support|ondersteuning bij stoppen met roken|stoppen met roken|quit smoking|nicotine/i,
    tags: ["stoppen met roken", "quit smoking", "nicotine", "roken"],
    marker: "intent-smoking",
    boost: 105
  },
  {
    id: "cannabis",
    patterns: [/cannabis|wiet|mari[hj]uana|hasj|hash|cannabisverslaving|cannabisgebruik/i],
    title: /cannabis|wiet|mari[hj]uana|hasj|hash|stop drug use support|ondersteuning bij stoppen met drugs|middelengebruik|substance/i,
    tags: ["cannabis", "cannabisverslaving", "cannabisgebruik", "wiet", "marihuana", "marijuana", "hasj", "hash", "middelengebruik"],
    marker: "intent-cannabis",
    boost: 125
  },
  {
    id: "drug-use",
    patterns: [/stoppen.*drugs?|drugs?.*stoppen|stop drug|quit drug|substance|middelenverslaving|middelengebruik/i],
    title: /stop drug use support|ondersteuning bij stoppen met drugs|drug|substance|middelengebruik|middelenverslaving/i,
    tags: ["drugs", "drug use", "substance use", "middelengebruik", "middelenverslaving", "verslaving"],
    marker: "intent-drugs",
    boost: 110
  },
  {
    id: "addiction",
    patterns: [/(verslaving|addiction)/i],
    title: /verslaving|addiction|stop|verminderen|moderation|matigen|middelengebruik|social media|telefoon|gok|gambling|smoking|roken/i,
    tags: ["verslaving", "addiction"],
    marker: "intent-addiction",
    boost: 55
  },
  {
    id: "gambling",
    patterns: [/gokverslaving|gokken|gambling|betting/i],
    title: /gambling addiction support|ondersteuning bij gokverslaving|gokken|gokgedrag|gambling/i,
    tags: ["gokken", "gokverslaving", "gambling", "casino", "betting"],
    marker: "intent-gambling",
    boost: 110
  },
  {
    id: "phone",
    patterns: [/telefoonverslaving|phone addiction|smartphone addiction|mobiel.*verslaving/i],
    title: /phone addiction support|ondersteuning bij telefoonverslaving|telefoonverslaving|smartphone|phone/i,
    tags: ["telefoonverslaving", "smartphone verslaving", "phone addiction", "mobile addiction"],
    marker: "intent-phone",
    boost: 110
  },
  {
    id: "social-media",
    patterns: [/social media verslaving|sociale media verslaving|social media addiction/i],
    title: /social media addiction support|ondersteuning bij social media verslaving|sociale media verslaving|social media/i,
    tags: ["social media verslaving", "sociale media verslaving", "social media addiction"],
    marker: "intent-social-media",
    boost: 110
  },
  {
    id: "alcohol",
    patterns: [/overmatig alcohol|alcoholgebruik|alcohol moderation|minder alcohol|drank matigen/i],
    title: /alcohol moderation support|ondersteuning bij overmatig alcoholgebruik|alcoholgebruik|minder alcohol|alcohol/i,
    tags: ["alcohol", "alcoholgebruik", "overmatig alcoholgebruik", "minder alcohol", "alcohol moderation"],
    marker: "intent-alcohol",
    boost: 110
  },
  {
    id: "flying",
    patterns: [/vliegangst|vlieganst|vlieg[\s-]*angst|fear of flying|flying anxiety|flight anxiety|angst.*vliegen|vliegen.*angst/i],
    title: /fear of flying support|fear of flying|fear-free flying|flying calm|calm before flying|ondersteuning bij vliegangst|vliegangst|vliegen zonder angst|vliegrust|kalm voor het vliegen/i,
    category: /hypnose|stress|anxiety|travel|reizen|angst/i,
    tags: ["vliegangst", "fear of flying", "flight anxiety", "flying anxiety", "aviophobia", "vliegen", "vliegtuig"],
    marker: "intent-flying",
    boost: 130
  },
  {
    id: "spider-phobia",
    patterns: [/angst.*spinnen|spinnen.*angst|spinnenfobie|spider phobia|spider fear|arachnophobia|fear of spiders/i],
    title: /spider phobia|spinnenfobie|arachnophobia|spider fear|angst voor spinnen/i,
    category: /hypnose|stress|anxiety|angst|phobia|fobie/i,
    tags: ["spinnenfobie", "angst voor spinnen", "spinnen", "spin", "spider phobia", "spider fear", "arachnophobia"],
    marker: "intent-spider-phobia",
    boost: 140
  },
  {
    id: "heights-phobia",
    patterns: [/hoogtevrees|angst.*hoogte|hoogte.*angst|fear of heights|height phobia|acrophobia/i],
    title: /fear of heights|hoogtevrees|height phobia|acrophobia|angst voor hoogtes/i,
    category: /hypnose|stress|anxiety|angst|phobia|fobie/i,
    tags: ["hoogtevrees", "angst voor hoogtes", "hoogtes", "fear of heights", "height phobia", "acrophobia"],
    marker: "intent-heights-phobia",
    boost: 135
  },
  {
    id: "claustrophobia",
    patterns: [/engtevrees|claustrofobie|claustrophobia|angst.*(nauwe|kleine|afgesloten).*ruimte|enclosed spaces|small spaces/i],
    title: /claustrophobia|claustrofobie|enclosed spaces|small spaces/i,
    category: /hypnose|stress|anxiety|angst|phobia|fobie/i,
    tags: ["claustrofobie", "engtevrees", "angst voor kleine ruimtes", "angst voor nauwe ruimtes", "angst voor afgesloten ruimtes", "claustrophobia", "enclosed spaces", "small spaces"],
    marker: "intent-claustrophobia",
    boost: 135
  },
  {
    id: "emetophobia",
    patterns: [/emetofobie|emetophobia|angst.*overgeven|angst.*braken|vomit phobia/i],
    title: /emetophobia|emetofobie|vomit phobia|overgeven|braken/i,
    category: /hypnose|stress|anxiety|angst|phobia|fobie/i,
    tags: ["emetofobie", "angst voor overgeven", "angst voor braken", "emetophobia", "vomit phobia"],
    marker: "intent-emetophobia",
    boost: 135
  },
  {
    id: "agoraphobia",
    patterns: [/agorafobie|agoraphobia|angst.*open.*ruimte|angst.*publieke|open spaces|public places/i],
    title: /agoraphobia|agorafobie|open spaces|public places/i,
    category: /hypnose|stress|anxiety|angst|phobia|fobie/i,
    tags: ["agorafobie", "angst voor open ruimtes", "angst voor publieke plekken", "agoraphobia", "open spaces", "public places"],
    marker: "intent-agoraphobia",
    boost: 135
  },
  {
    id: "public-speaking",
    patterns: [/spreekangst|public speaking anxiety|presentatieangst|angst.*spreken/i],
    title: /public speaking anxiety support|ondersteuning bij spreekangst|spreekangst|presentatieangst|public speaking|presentation anxiety/i,
    tags: ["spreekangst", "presentatieangst", "public speaking anxiety", "presentation anxiety"],
    marker: "intent-public-speaking",
    boost: 115
  },
  {
    id: "misophonia",
    patterns: [/misofonie|misophonia|geluidsgevoeligheid|lawaai.*gevoelig|sound sensitivity|noise sensitivity|hyperacusis/i],
    title: /sound sensitivity support|noise sensitivity support|hyperacusis support|ondersteuning bij geluidsgevoeligheid|ondersteuning bij lawaaigevoeligheid/i,
    tags: ["misofonie", "misophonia", "sound sensitivity", "noise sensitivity", "geluidsgevoeligheid", "lawaai gevoeligheid", "hyperacusis"],
    marker: "intent-misophonia",
    boost: 120
  },
  {
    id: "law-of-attraction",
    patterns: [/wet van (de )?aantrekkingskracht|law of attraction|aantrekkingskracht|manifestatie|manifesteren|manifestation|overvloed aantrekken/i],
    title: /law of attraction|wet van de aantrekkingskracht|attraction alignment|aantrekkingskracht|manifestation mindset|manifestatie mindset|abundance attraction|overvloed aantrekken|goal attraction visualization|doelaantrekking/i,
    category: /motivation|motivatie|spiritual energy|spirituele energie|energie/i,
    tags: ["wet van de aantrekkingskracht", "law of attraction", "aantrekkingskracht", "manifestatie", "manifesteren", "manifestation", "overvloed", "abundance", "alignment", "afstemming"],
    marker: "intent-law-of-attraction",
    boost: 115
  },
  {
    id: "sleep-onset",
    patterns: [/beter.*inslapen|inslapen|in slaap vallen|moeite.*slaap|moeite.*inslapen|slaapstart|inslaapfase|sleep onset|fall asleep|falling asleep|difficulty falling asleep|drift into sleep|asleep naturally/i],
    title: /sleep onset|inslaapfase|fall asleep naturally|natuurlijk in slaap vallen|difficulty falling asleep|moeite met inslapen|drift into sleep|wegglijden in slaap|prepare for sleep|slaapvoorbereiding|sleep induction|slaapinductie|sleep transition|slaapovergang|sleep preparation|bereid je voor op slaap/i,
    category: /sleep|slaap|herstel|welzijn|recovery|well-being|hypnose/i,
    tags: ["inslapen", "beter inslapen", "in slaap vallen", "moeite met inslapen", "inslaapfase", "slaapstart", "sleep onset", "fall asleep", "difficulty falling asleep", "drift into sleep", "sleep induction"],
    marker: "intent-sleep-onset",
    boost: 150
  }
];

const ASK_AI_SPECIFIC_INTENTS = ASK_AI_INTENT_RULES;

function askAiQuestionIntents(question) {
  const raw = String(question || "");
  return ASK_AI_INTENT_RULES.filter((intent) => intent.patterns.some((pattern) => pattern.test(raw)));
}

function askAiProfileIntentScore(intent, profile) {
  if (!intent) return 0;
  const profileText = `${profile.title} ${profile.titleNl} ${profile.titleEn} ${profile.goal} ${profile.goalEn} ${profile.category} ${profile.subcategory} ${profile.subcategoryId} ${(profile.hiddenTags || []).join(" ")}`;
  const normalizedProfileText = askAiNormalizedPhrase(profileText);
  let score = 0;
  if (intent.title?.test(normalizedProfileText)) score += intent.boost || 90;
  if (intent.category?.test(normalizedProfileText)) score += 25;
  const tagMatches = (intent.tags || []).filter((tag) => askAiTextIncludesPhrase(normalizedProfileText, tag));
  if (tagMatches.length) score += Math.min(70, tagMatches.length * 14);
  if (score) score += 25;
  return score;
}

function askAiSpecificIntentRequired(intents = []) {
  return intents.some((intent) => /phobia|flying|public-speaking|misophonia|tinnitus|cannabis|smoking|gambling|phone|social-media|alcohol|weight-reduction|law-of-attraction|sleep-onset/.test(intent.id));
}

function askAiRecommendationMinimumScore(intents = []) {
  return askAiSpecificIntentRequired(intents) ? 90 : 18;
}

function askAiSpecificIntentMatch(rawQuestion, profile) {
  const profileTitle = normalizeAskAiText(`${profile.title} ${profile.titleNl} ${profile.titleEn}`);
  return ASK_AI_SPECIFIC_INTENTS.find((intent) => (
    intent.patterns.some((pattern) => pattern.test(rawQuestion))
      && intent.title.test(profileTitle)
  )) || null;
}

function askAiSpecificIntentBoost(intent, profile) {
  if (!intent) return 0;
  const profileTitle = normalizeAskAiText(`${profile.title} ${profile.titleNl} ${profile.titleEn}`);
  if (intent.marker === "intent-flying") {
    if (/fear of flying support|ondersteuning bij vliegangst/.test(profileTitle)) return 90;
    if (/\bvliegangst\b|\bfear of flying\b/.test(profileTitle)) return 75;
    if (/fear free flying|vliegen zonder angst/.test(profileTitle)) return 55;
    if (/flying calm|calm before flying|vliegrust|kalm voor het vliegen/.test(profileTitle)) return 35;
    return 10;
  }
  if (intent.marker === "intent-sleep-onset") {
    if (/sleep onset|inslaapfase|difficulty falling asleep|moeite met inslapen/.test(profileTitle)) return 100;
    if (/fall asleep naturally|natuurlijk in slaap vallen|drift into sleep|wegglijden in slaap/.test(profileTitle)) return 85;
    if (/sleep induction|slaapinductie|sleep transition|slaapovergang|prepare for sleep|slaapvoorbereiding/.test(profileTitle)) return 60;
    if (/sleep|slaap/.test(profileTitle)) return 20;
    return 0;
  }
  return 0;
}

function askAiLocalRecommendations(question, limit = 6) {
  const rawQuestionTokens = askAiRawTokens(question);
  if (!rawQuestionTokens.length) return [];
  const queryTokens = askAiTokens(question);
  const rawQuestion = normalizeAskAiText(question);
  const importantQuestionTokens = askAiImportantTokens(question);
  const rawImportantQuestionTokens = askAiRawImportantTokens(question);
  const queryPhrases = askAiQueryPhrases(rawImportantQuestionTokens);
  const queryConcepts = askAiConceptsForText(question);
  const queryTopics = askAiTopicsForQuestion(question);
  const querySpecificFearTargets = askAiSpecificFearTargetsForText(question);
  const questionIntents = askAiQuestionIntents(question);
  const rawPhrase = askAiNormalizedPhrase(question);
  const topicRequired = queryTopics.length > 0;
  const minimumScore = topicRequired ? 95 : askAiRecommendationMinimumScore(questionIntents);
  return availableSessionProgramEntries()
    .filter(([, program]) => !programIsBaselineSession(program))
    .map(([programId, program]) => {
      const profile = askAiSessionProfile(programId, program);
      const titleText = normalizeAskAiText(`${profile.title} ${profile.titleNl} ${profile.titleEn}`);
      const profileText = normalizeAskAiText(`${profile.title} ${profile.titleNl} ${profile.titleEn} ${profile.goal} ${profile.goalEn} ${profile.category} ${profile.subcategory} ${(profile.hiddenTags || []).join(" ")}`);
      const titleCore = normalizedAskAiTitleCore(`${profile.title} ${profile.titleNl} ${profile.titleEn}`);
      const titleImportantTokens = askAiImportantTokens(`${profile.title} ${profile.titleNl} ${profile.titleEn}`);
      const categoryTextValue = normalizeAskAiText(`${profile.category} ${profile.subcategory} ${profile.subcategoryId}`);
      const goalText = normalizeAskAiText(`${profile.goal} ${profile.goalEn}`);
      const fullText = normalizeAskAiText(profile.searchText);
      const hiddenTagText = normalizeAskAiText((profile.hiddenTags || []).join(" "));
      const conceptMatches = (profile.concepts || []).filter((conceptId) => queryConcepts.includes(conceptId));
      const profileTopics = profile.topics || [];
      const topicMatches = queryTopics.filter((topicId) => profileTopics.includes(topicId));
      const topicMismatch = askAiTopicMismatch(queryTopics, profileTopics);
      const profileSpecificFearTargets = profile.specificFearTargets || [];
      const specificFearMismatch = askAiSpecificFearTargetMismatch(querySpecificFearTargets, profileSpecificFearTargets);
      let score = 0;
      let evidenceScore = 0;
      const matched = [];
      let anchorMatch = false;
      if (rawQuestion.length >= 4 && titleText.includes(rawQuestion)) {
        score += 120;
        evidenceScore += 120;
        anchorMatch = true;
        matched.push("exact-title");
      }
      if (titleCore.length >= 4 && rawQuestion.includes(titleCore)) {
        score += 120;
        evidenceScore += 120;
        anchorMatch = true;
        matched.push("exact-title");
      }
      if (rawPhrase.length >= 6) {
        if (askAiTextIncludesPhrase(titleText, rawPhrase)) {
          score += 160;
          evidenceScore += 160;
          anchorMatch = true;
          matched.push("exacte vraag");
        } else if (askAiTextIncludesPhrase(profileText, rawPhrase)) {
          score += 85;
          evidenceScore += 85;
          anchorMatch = true;
          matched.push("zinsdeel");
        }
      }
      queryPhrases.forEach((phrase) => {
        if (askAiTextIncludesPhrase(titleText, phrase)) {
          score += 90;
          evidenceScore += 90;
          anchorMatch = true;
          matched.push(phrase);
        } else if (askAiTextIncludesPhrase(hiddenTagText, phrase)) {
          score += 76;
          evidenceScore += 76;
          anchorMatch = true;
          matched.push(phrase);
        } else if (askAiTextIncludesPhrase(goalText, phrase)) {
          score += 28;
          evidenceScore += 28;
          matched.push(phrase);
        } else if (askAiTextIncludesPhrase(fullText, phrase)) {
          score += 8;
          evidenceScore += 8;
          matched.push(phrase);
        }
      });
      rawImportantQuestionTokens.forEach((token) => {
        if (askAiTextIncludesPhrase(titleText, token)) {
          score += 30;
          evidenceScore += 30;
          matched.push(token);
        } else if (askAiTextIncludesPhrase(hiddenTagText, token)) {
          score += 26;
          evidenceScore += 26;
          matched.push(token);
        } else if (askAiTextIncludesPhrase(goalText, token)) {
          score += 12;
          evidenceScore += 12;
          matched.push(token);
        }
      });
      const importantTitleMatches = importantQuestionTokens.filter((token) => askAiTextIncludesPhrase(titleText, token));
      if (importantQuestionTokens.length && importantTitleMatches.length === importantQuestionTokens.length) {
        score += 70;
        evidenceScore += 70;
        anchorMatch = true;
        matched.push("title-terms");
      } else if (importantTitleMatches.length) {
        score += importantTitleMatches.length * 18;
        evidenceScore += importantTitleMatches.length * 18;
      }
      const titleTokenOverlap = titleImportantTokens.filter((token) => importantQuestionTokens.includes(token)).length;
      if (titleTokenOverlap >= 2) {
        score += titleTokenOverlap * 12;
        evidenceScore += titleTokenOverlap * 12;
      }
      queryTokens.filter((token) => !ASK_AI_STOP_WORDS.has(token)).forEach((token) => {
        const isRawToken = rawImportantQuestionTokens.includes(token) || rawQuestionTokens.includes(token);
        if (askAiTextIncludesPhrase(titleText, token)) {
          score += isRawToken ? 10 : 2;
          if (isRawToken) {
            evidenceScore += 10;
            matched.push(token);
          }
        } else if (askAiTextIncludesPhrase(hiddenTagText, token)) {
          score += isRawToken ? 9 : 2;
          if (isRawToken) {
            evidenceScore += 9;
            matched.push(token);
          }
        } else if (askAiTextIncludesPhrase(categoryTextValue, token)) {
          score += isRawToken ? 3 : 1;
        } else if (askAiTextIncludesPhrase(goalText, token)) {
          score += isRawToken ? 5 : 1;
          if (isRawToken) {
            evidenceScore += 5;
            matched.push(token);
          }
        } else if (askAiTextIncludesPhrase(fullText, token)) {
          score += isRawToken ? 2 : 0.35;
          if (isRawToken) {
            evidenceScore += 2;
            matched.push(token);
          }
        }
      });
      questionIntents.forEach((intent) => {
        const intentScore = askAiProfileIntentScore(intent, profile);
        if (!intentScore) return;
        score += intentScore;
        evidenceScore += intentScore;
        anchorMatch = true;
        matched.push(intent.marker || `intent-${intent.id}`);
      });
      topicMatches.forEach((topicId) => {
        const topic = askAiTopicRule(topicId);
        const topicScore = topic?.boost || 130;
        score += topicScore;
        evidenceScore += topicScore;
        anchorMatch = true;
        matched.push(`topic-${topicId}`);
        (topic?.terms || []).forEach((term) => {
          if (askAiTextIncludesPhrase(rawPhrase, term) || askAiTextIncludesPhrase(profileText, term)) matched.push(term);
        });
      });
      const specificFearTargetMatches = querySpecificFearTargets.filter((target) => profileSpecificFearTargets.includes(target));
      if (specificFearTargetMatches.length) {
        score += 120;
        evidenceScore += 120;
        anchorMatch = true;
        matched.push("specific-fear-target");
      }
      if (conceptMatches.length) {
        const conceptScore = Math.min(42, conceptMatches.length * 14);
        score += conceptScore;
        if (evidenceScore >= 10 || anchorMatch) evidenceScore += Math.min(16, conceptMatches.length * 4);
        conceptMatches.forEach((conceptId) => matched.push(`concept-${conceptId}`));
      }
      if (rawPhrase.length >= 6) {
        (profile.hiddenTags || []).forEach((tag) => {
          if (askAiTextIncludesPhrase(rawPhrase, tag)) {
            score += 35;
            evidenceScore += 35;
            anchorMatch = true;
            matched.push(tag);
          }
        });
      }
      const specificIntent = askAiSpecificIntentMatch(rawQuestion, profile);
      if (specificIntent) {
        score += 140 + askAiSpecificIntentBoost(specificIntent, profile);
        evidenceScore += 140 + askAiSpecificIntentBoost(specificIntent, profile);
        anchorMatch = true;
        matched.push(specificIntent.marker || "specific-intent");
      }
      if (specificFearMismatch) {
        score = Math.min(score * 0.05, 12);
        evidenceScore = Math.min(evidenceScore * 0.05, 6);
        anchorMatch = false;
        matched.push("specific-fear-mismatch");
      }
      if (topicMismatch) {
        score = Math.min(score * 0.08, 14);
        evidenceScore = Math.min(evidenceScore * 0.08, 8);
        anchorMatch = false;
        matched.push("topic-mismatch");
      }
      if (!anchorMatch && evidenceScore < 18) score *= 0.25;
      if (questionIntents.length && !anchorMatch && score < 45) score *= 0.45;
      if ((topicRequired || askAiSpecificIntentRequired(questionIntents)) && !anchorMatch) score *= 0.2;
      if (rawQuestion.includes("kort") || rawQuestion.includes("short")) score += profile.durationMinutes <= 20 ? 4 : -2;
      if (rawQuestion.includes("lang") || rawQuestion.includes("long")) score += profile.durationMinutes >= 35 ? 4 : -1;
      if (rawQuestion.includes("avond") || rawQuestion.includes("evening")) score += /sleep|stress|recovery|ontspanning|herstel/i.test(`${profile.subcategoryId} ${profile.category}`) ? 3 : 0;
      return {
        ...profile,
        score,
        evidenceScore,
        relevanceScore: Math.min(anchorMatch ? 99 : 72, Math.max(1, Math.round((score * 0.72) + (evidenceScore * 0.28)))),
        anchorMatch,
        specificFearMismatch,
        topicMismatch,
        topicMatches,
        matchedTerms: [...new Set(matched)].slice(0, 8),
        reason: ""
      };
    })
    .filter((item) => (
      item.score >= minimumScore
        && item.evidenceScore >= (rawImportantQuestionTokens.length ? 10 : 0)
        && !item.specificFearMismatch
        && !item.topicMismatch
        && (!topicRequired || item.topicMatches.length)
        && (!askAiSpecificIntentRequired(questionIntents) || item.anchorMatch)
    ))
    .sort((a, b) => b.score - a.score || compareLocalizedText(a.title, b.title))
    .slice(0, limit);
}

function askAiRecommendationPayload(question, localRecommendations) {
  return {
    language: currentLanguage,
    question,
    expandedQuestion: String(localRecommendations?.expandedQuestion || "").slice(0, 1200),
    instruction: "Rank only the provided NeuroSync Pro sessions. Prefer sessions with exact title, phrase, hidden tag, matchedTerms, topic, concept and intent evidence. Topic matches are strong subject evidence; do not replace them with broad category-only matches. If the user describes a symptom or lay term, prefer the matching library topic, for example ear ringing/piep in het oor/oorsuizen should rank tinnitus sessions. For specific fears/phobias, the feared object must match: never rank fear of flying, dental anxiety, claustrophobia, spider phobia, fear of heights or another specific phobia for a different object such as insects. Use internalScore, evidenceScore, relevanceScore and anchorMatch as ranking evidence. If a candidate is not relevant to the user's exact request, omit it. Do not create medical advice or new sessions. Return JSON with recommendations: [{id, reason}].",
    sessions: localRecommendations.map((item) => ({
      id: item.id,
      title: item.title,
      goal: item.goal,
      category: item.category,
      subcategory: item.subcategory,
      durationMinutes: item.durationMinutes,
      internalScore: Math.round(Number(item.score) || 0),
      evidenceScore: Math.round(Number(item.evidenceScore) || 0),
      relevanceScore: Math.round(Number(item.relevanceScore) || 0),
      anchorMatch: item.anchorMatch === true,
      matchedTerms: askAiDisplayMatchedTerms(item.matchedTerms || []),
      topics: (item.topicMatches || []).map(askAiTopicLabel).slice(0, 5),
      concepts: (item.concepts || []).map(askAiConceptLabel).slice(0, 5),
      frequencyRangeHz: [item.minHz, item.maxHz].filter((value) => value !== null)
    }))
  };
}

function parseAskAiResponse(data, localRecommendations) {
  const source = Array.isArray(data?.recommendations)
    ? data.recommendations
    : (Array.isArray(data?.sessions) ? data.sessions : []);
  if (!source.length) return null;
  const byId = new Map(localRecommendations.map((item) => [item.id, item]));
  const ranked = source
    .map((item) => {
      const id = String(item?.id || item?.sessionId || "");
      const local = byId.get(id);
      if (!local) return null;
      return {
        ...local,
        reason: cleanSessionText(item?.reason || item?.explanation || local.reason || "", 220)
      };
    })
    .filter(Boolean);
  return ranked.length ? ranked : null;
}

function mergeAskAiAnchors(primaryRecommendations, localRecommendations, limit = 5) {
  const primary = Array.isArray(primaryRecommendations) ? primaryRecommendations : [];
  const anchors = localRecommendations
    .filter((item) => item.anchorMatch)
    .sort((a, b) => b.score - a.score || compareLocalizedText(a.title, b.title));
  const merged = [];
  [...anchors, ...primary, ...localRecommendations].forEach((item) => {
    if (!item || merged.some((candidate) => candidate.id === item.id)) return;
    merged.push(item);
  });
  return merged.slice(0, limit);
}

function askAiMatchedTermLabel(term) {
  const value = String(term || "");
  if (!value) return "";
  if (value.startsWith("topic-")) return askAiTopicLabel(value.replace(/^topic-/, ""));
  if (value.startsWith("intent-")) return currentLanguage === "nl" ? "doelherkenning" : "intent match";
  if (value.startsWith("concept-")) return askAiConceptLabel(value.replace(/^concept-/, ""));
  if (value === "specific-fear-target") return currentLanguage === "nl" ? "specifieke angst" : "specific fear";
  if (value === "exact-title") return currentLanguage === "nl" ? "exacte titel" : "exact title";
  if (value === "title-terms") return currentLanguage === "nl" ? "titelwoorden" : "title terms";
  return value;
}

function askAiDisplayMatchedTerms(terms = []) {
  return [...new Set(terms.map(askAiMatchedTermLabel).filter(Boolean))].slice(0, 8);
}

function storedOpenAiApiKey() {
  return String(localStorage.getItem(OPENAI_API_KEY_STORAGE_KEY) || "").trim();
}

function updateOpenAiApiKeyStatus(messageKey = "") {
  if (els.openAiApiKeyInput) {
    els.openAiApiKeyInput.value = storedOpenAiApiKey();
  }
  updateSessionDescriptionButtonVisibility();
  if (!els.openAiApiKeyStatus) return;
  els.openAiApiKeyStatus.value = messageKey
    ? t(messageKey)
    : (storedOpenAiApiKey() ? t("apiKeyConfigured") : t("apiKeyNotConfigured"));
}

function updateSessionDescriptionButtonVisibility() {
  if (!els.sessionDescriptionButton) return;
  const hasApiKey = Boolean(storedOpenAiApiKey());
  const hasProgram = Boolean(sessionPrograms[els.sessionSelect?.value]);
  els.sessionDescriptionButton.hidden = !HAS_SESSION_DESCRIPTION_AI || !hasApiKey;
  els.sessionDescriptionButton.disabled = !hasApiKey || !hasProgram;
}

function saveOpenAiApiKeyFromSettings() {
  const key = String(els.openAiApiKeyInput?.value || "").trim();
  if (key) {
    localStorage.setItem(OPENAI_API_KEY_STORAGE_KEY, key);
    updateOpenAiApiKeyStatus("apiKeySaved");
  } else {
    localStorage.removeItem(OPENAI_API_KEY_STORAGE_KEY);
    updateOpenAiApiKeyStatus("apiKeyCleared");
  }
}

function clearOpenAiApiKeyFromSettings() {
  localStorage.removeItem(OPENAI_API_KEY_STORAGE_KEY);
  updateOpenAiApiKeyStatus("apiKeyCleared");
}

function sessionDescriptionPhasePayload(program) {
  const markers = normalizeTimelineMarkers(program?.timeline?.markers || [], program?.durationSeconds || 0);
  return markers.slice(0, 16).map((marker, index) => {
    const startSeconds = marker.time || 0;
    const endSeconds = index < markers.length - 1
      ? markers[index + 1].time
      : (program?.durationSeconds || program?.timeline?.durationSeconds || startSeconds);
    const snapshot = timelineSnapshotAt(program, startSeconds + Math.max(1, (endSeconds - startSeconds) / 2));
    const rgb = hexToRgb(snapshot.color || "#40c9ff");
    return {
      name: localizedTimelineMarkerName(marker, index),
      purpose: localizedTimelineMarkerPurpose(program, marker),
      start: formatSessionTime(startSeconds),
      end: formatSessionTime(endSeconds),
      audioFrequencyHz: Number(snapshot.audioHz || 0).toFixed(2),
      lightFrequencyHz: Number(snapshot.lightHz || 0).toFixed(2),
      carrierFrequencyHz: Number(snapshot.carrierFrequency || program?.carrierFrequency || program?.carrier || 0).toFixed(2),
      colorHex: snapshot.color || "#40c9ff",
      rgb: {
        red: Math.round(Number(rgb.r || 0)),
        green: Math.round(Number(rgb.g || 0)),
        blue: Math.round(Number(rgb.b || 0))
      },
      rgbIntensity: Math.round(Number(snapshot.rgbIntensity || 0)),
      whiteIntensity: Math.round(Number(snapshot.whiteIntensity || 0)),
      pulseVolume: Math.round(Number(snapshot.pulseVolume || 0)),
      musicVolume: Math.round(Number(snapshot.musicVolume || 0)),
      noiseVolume: Math.round(Number(snapshot.noiseVolume || 0)),
      reverbMix: Math.round(Number(snapshot.reverbMix || 0)),
      musicMood: snapshot.musicMood || marker.musicMood || program?.timeline?.musicMood || "",
      pulseShape: snapshot.lightPulseShape || snapshot.pulseShape || marker.lightPulseShape || marker.pulseShape || "",
      audioPulseShape: snapshot.audioPulseShape || marker.audioPulseShape || "",
      noiseType: snapshot.noiseType || marker.noiseType || "",
      reverbPreset: snapshot.reverbPreset || marker.reverbPreset || "",
      auroraMode: Boolean(snapshot.auroraMode || marker.auroraMode),
      ganzfeldMode: Boolean(snapshot.ganzfeldMode || marker.ganzfeldMode)
    };
  });
}

function selectedSessionDescriptionPayload() {
  const program = sessionPrograms[els.sessionSelect?.value];
  if (!program) return null;
  const category = sessionCategoryById(program.category);
  const subcategory = sessionSubcategoryById(program.category, program.subcategory);
  return {
    language: currentLanguage,
    edition: PRODUCT.name,
    session: {
      id: String(els.sessionSelect?.value || ""),
      title: localizedProgramTitle(program),
      titleEn: program.titleEn || "",
      goal: localizedProgramGoal(program),
      goalEn: program.goalEn || "",
      category: category ? categoryText(category, 0) : "",
      categoryPurpose: category ? categoryText(category, 1) : "",
      subcategory: subcategory ? sessionSubcategoryText(subcategory) : "",
      durationMinutes: Math.round(Number(program.durationSeconds || 0) / 60),
      structure: program.sessionStructure || "timeline",
      musicMood: program.timeline?.musicMood || "",
      audioMode: program.timeline?.audioMode || "",
      carrierFrequencyHz: Number(program.carrierFrequency || program.carrier || 0),
      phases: sessionDescriptionPhasePayload(program)
    }
  };
}

function renderSessionDescriptionText(text) {
  if (!els.sessionDescriptionOutput) return;
  els.sessionDescriptionOutput.innerHTML = "";
  const cleanGeneratedLine = (value) => String(value || "")
    .replace(/^#{1,6}\s*/, "")
    .replace(/^[-*]\s+/, "")
    .replace(/\*\*/g, "")
    .replace(/`/g, "")
    .replace(/\s#{1,6}\s*$/g, "")
    .trim();
  const lines = String(text || "").replace(/\r/g, "").split("\n");
  let list = null;
  lines.forEach((line) => {
    const trimmed = line.trim();
    if (!trimmed) {
      list = null;
      return;
    }
    if (/^#{1,3}\s+/.test(trimmed)) {
      list = null;
      const heading = document.createElement("h3");
      heading.textContent = cleanGeneratedLine(trimmed);
      els.sessionDescriptionOutput.append(heading);
      return;
    }
    const bullet = trimmed.match(/^[-*]\s+(.+)$/);
    if (bullet) {
      if (!list) {
        list = document.createElement("ul");
        els.sessionDescriptionOutput.append(list);
      }
      const item = document.createElement("li");
      item.textContent = cleanGeneratedLine(bullet[1]);
      list.append(item);
      return;
    }
    list = null;
    const paragraph = document.createElement("p");
    paragraph.textContent = cleanGeneratedLine(trimmed);
    els.sessionDescriptionOutput.append(paragraph);
  });
}

function sessionDescriptionInstructionText() {
  return [
    "You are NeuroSync Pro's professional session explainer.",
    "Write a very extensive, premium-quality explanation of exactly the selected NeuroSync Pro Audio+Light session supplied by the app.",
    "Use the requested language. If language is nl, write natural Dutch. If language is en, write natural English.",
    "Explain the session purpose, expected experience, phase-by-phase flow, audio entrainment, carrier frequency, light frequencies, RGB colour dynamics, pulse shapes, noise, reverb, Aurora Immersion™, Infinity Ganzfeld™, and Neural State Studio™ elements when present in the data.",
    "When phase data contains non-zero rgbIntensity, whiteIntensity, colorHex, colourHex, or RGB values, describe those light dynamics accurately. Never state that RGB colours remain black or that light intensity is zero unless all supplied light values are actually zero.",
    "Base the explanation only on the supplied session data and careful, conservative brainwave-entrainment logic.",
    "Do not diagnose, treat, cure, prevent disease, promise medical results, or claim guaranteed effects.",
    "Use clear headings and practical, confident wording for professional users.",
    "Mention that the session is supportive and that users should choose comfortable intensity and stop if discomfort occurs.",
    "Return plain text only.",
    "Do not use markdown, hashtags, asterisks, bullets made with symbols, code blocks, tables, or decorative formatting.",
    "Use simple section titles on their own line without punctuation symbols."
  ].join(" ");
}

function openAiOutputTextFromPayload(data) {
  if (typeof data?.output_text === "string") return data.output_text;
  return (data?.output || [])
    .flatMap((item) => item?.content || [])
    .map((content) => content?.text || "")
    .filter(Boolean)
    .join("\n");
}

async function generateSessionDescriptionDirect(apiKey, payload) {
  const response = await fetch("https://api.openai.com/v1/responses", {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${apiKey}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      model: "gpt-4.1-mini",
      instructions: sessionDescriptionInstructionText(),
      input: JSON.stringify(payload),
      max_output_tokens: 2200
    })
  });
  if (!response.ok) throw new Error(`OpenAI direct session description ${response.status}`);
  const data = await response.json();
  return openAiOutputTextFromPayload(data).trim();
}

async function generateSessionDescription() {
  const apiKey = storedOpenAiApiKey();
  const payload = selectedSessionDescriptionPayload();
  if (!apiKey || !payload) return null;
  try {
    const response = await fetch("/openai/session-description", {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        "X-OpenAI-API-Key": apiKey
      },
      body: JSON.stringify(payload)
    });
    if (!response.ok) throw new Error(`OpenAI session description ${response.status}`);
    const data = await response.json();
    return String(data?.description || "").trim();
  } catch (error) {
    console.warn("Local session description endpoint unavailable, trying direct OpenAI", error);
    return generateSessionDescriptionDirect(apiKey, payload);
  }
}

async function openSessionDescriptionDialog() {
  if (!els.sessionDescriptionDialog) return;
  const program = sessionPrograms[els.sessionSelect?.value];
  if (!program) return;
  if (!storedOpenAiApiKey()) {
    updateOpenAiApiKeyStatus("sessionDescriptionUnavailable");
    return;
  }
  if (els.sessionDescriptionTitle) els.sessionDescriptionTitle.textContent = localizedProgramTitle(program);
  if (els.sessionDescriptionOutput) els.sessionDescriptionOutput.innerHTML = "";
  if (els.sessionDescriptionStatus) els.sessionDescriptionStatus.value = t("sessionDescriptionThinking");
  if (els.sessionDescriptionProgress) {
    els.sessionDescriptionProgress.hidden = false;
    els.sessionDescriptionProgress.classList.add("is-searching");
    els.sessionDescriptionProgress.setAttribute("aria-busy", "true");
  }
  els.sessionDescriptionDialog.showModal();
  try {
    const description = await generateSessionDescription();
    renderSessionDescriptionText(description);
    if (els.sessionDescriptionStatus) els.sessionDescriptionStatus.value = "";
  } catch (error) {
    console.warn("Session description unavailable", error);
    if (els.sessionDescriptionStatus) els.sessionDescriptionStatus.value = t("sessionDescriptionError");
  } finally {
    if (els.sessionDescriptionProgress) {
      els.sessionDescriptionProgress.classList.remove("is-searching");
      els.sessionDescriptionProgress.setAttribute("aria-busy", "false");
      els.sessionDescriptionProgress.hidden = !String(els.sessionDescriptionStatus?.value || "").trim();
    }
  }
}

function closeSessionDescriptionDialog() {
  els.sessionDescriptionDialog?.close();
}

async function askAiOpenAiRecommendations(question, localRecommendations, expandedQuestion = "") {
  const apiKey = storedOpenAiApiKey();
  if (!apiKey) return null;
  localRecommendations.expandedQuestion = expandedQuestion;
  const response = await fetch("/openai/ask-ai", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "X-OpenAI-API-Key": apiKey
    },
    body: JSON.stringify(askAiRecommendationPayload(question, localRecommendations))
  });
  if (!response.ok) throw new Error(`OpenAI ${response.status}`);
  const data = await response.json();
  return parseAskAiResponse(data, localRecommendations);
}

function askAiExpansionText(question, expansion) {
  const parts = [
    question,
    expansion?.normalizedQuestion,
    ...(Array.isArray(expansion?.searchPhrases) ? expansion.searchPhrases : []),
    ...(Array.isArray(expansion?.concepts) ? expansion.concepts : [])
  ];
  return [...new Set(parts.map((part) => String(part || "").trim()).filter(Boolean))].join(" ");
}

async function askAiOpenAiQueryExpansion(question) {
  const apiKey = storedOpenAiApiKey();
  if (!apiKey) return null;
  const response = await fetch("/openai/ask-ai-query", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "X-OpenAI-API-Key": apiKey
    },
    body: JSON.stringify({
      language: currentLanguage,
      question
    })
  });
  if (!response.ok) throw new Error(`OpenAI query ${response.status}`);
  const data = await response.json();
  if (!data?.ok) return null;
  const expansion = data.expansion || {};
  const expandedText = askAiExpansionText(question, expansion);
  return expandedText ? { ...expansion, expandedText } : null;
}

async function askAiHybridRecommendations(question) {
  let searchQuestion = question;
  let expansion = null;
  if (storedOpenAiApiKey()) {
    try {
      expansion = await askAiOpenAiQueryExpansion(question);
      if (expansion?.expandedText) searchQuestion = expansion.expandedText;
    } catch (error) {
      console.warn("Ask AI query expansion unavailable", error);
    }
  }
  const localRecommendations = askAiLocalRecommendations(searchQuestion, 60);
  if (!localRecommendations.length) return { mode: "none", recommendations: [] };
  try {
    const openAiRecommendations = await askAiOpenAiRecommendations(question, localRecommendations.slice(0, 40), expansion?.expandedText || "");
    if (openAiRecommendations?.length) {
      return { mode: "openai", recommendations: mergeAskAiAnchors(openAiRecommendations, localRecommendations, 5) };
    }
  } catch (error) {
    console.warn("Ask AI OpenAI ranking unavailable", error);
  }
  return { mode: storedOpenAiApiKey() ? "fallback" : "local", recommendations: mergeAskAiAnchors(localRecommendations, localRecommendations, 5) };
}

function askAiRecommendationReason(item, index) {
  if (item.reason) return item.reason;
  const category = [item.category, item.subcategory].filter(Boolean).join(" / ");
  const duration = item.durationMinutes ? `${item.durationMinutes} min` : "";
  const displayTerms = askAiDisplayMatchedTerms(item.matchedTerms || []);
  const relevance = Number.isFinite(Number(item.relevanceScore)) ? ` ${Math.min(99, Math.max(1, Math.round(Number(item.relevanceScore))))}%` : "";
  const matchText = displayTerms.length
    ? (currentLanguage === "nl" ? `Relevantie${relevance}. Match op: ${displayTerms.join(", ")}.` : `Relevance${relevance}. Matched: ${displayTerms.join(", ")}.`)
    : "";
  if (index === 0) {
    return currentLanguage === "nl"
      ? `${t("askAiBestMatch")} binnen ${category}. ${duration} ${matchText}`.trim()
      : `${t("askAiBestMatch")} in ${category}. ${duration} ${matchText}`.trim();
  }
  return [category, duration, matchText].filter(Boolean).join(" · ");
}

function renderAskAiRecommendations(recommendations) {
  if (!els.askAiResults) return;
  els.askAiResults.innerHTML = "";
  recommendations.forEach((item, index) => {
    const card = document.createElement("article");
    card.className = "ask-ai-card";
    const meta = document.createElement("span");
    meta.className = "ask-ai-card__meta";
    meta.textContent = [item.category, item.subcategory, item.durationMinutes ? `${item.durationMinutes} min` : ""]
      .filter(Boolean)
      .join(" · ");
    const title = document.createElement("h3");
    title.textContent = item.title;
    const goal = document.createElement("p");
    goal.textContent = item.goal;
    const reason = document.createElement("small");
    reason.textContent = askAiRecommendationReason(item, index);
    const button = document.createElement("button");
    button.type = "button";
    button.dataset.programId = item.id;
    button.textContent = t("askAiSelect");
    button.addEventListener("click", () => selectAskAiRecommendation(item.id));
    card.append(meta, title, goal, reason, button);
    els.askAiResults.append(card);
  });
}

function setAskAiSource(mode = "") {
  if (!els.askAiSource) return;
  const sourceKey = {
    openai: "askAiSourceOpenAi",
    hybrid: "askAiSourceHybrid",
    fallback: "askAiSourceFallback",
    local: "askAiSourceInternal"
  }[mode] || "";
  if (!sourceKey) {
    els.askAiSource.hidden = true;
    els.askAiSource.value = "";
    return;
  }
  els.askAiSource.hidden = false;
  els.askAiSource.value = t(sourceKey);
}

function setAskAiBusy(isBusy) {
  if (!els.askAiProgress) return;
  els.askAiProgress.hidden = !isBusy && !String(els.askAiStatus?.value || "").trim();
  els.askAiProgress.classList.toggle("is-searching", Boolean(isBusy));
  els.askAiProgress.setAttribute("aria-busy", isBusy ? "true" : "false");
}

function openAskAiDialog() {
  if (!els.askAiDialog) return;
  els.askAiStatus.value = "";
  setAskAiBusy(false);
  setAskAiSource("");
  els.askAiResults.innerHTML = "";
  if (els.askAiQuestionInput && !els.askAiQuestionInput.value.trim()) {
    els.askAiQuestionInput.value = els.sessionSearch?.value || "";
  }
  els.askAiDialog.showModal();
  window.setTimeout(() => els.askAiQuestionInput?.focus(), 50);
}

function closeAskAiDialog() {
  setAskAiBusy(false);
  els.askAiDialog?.close();
}

function selectAskAiRecommendation(programId) {
  const program = sessionPrograms[programId];
  if (!program || state.sessionRunning) return;
  if (els.sessionSearch) els.sessionSearch.value = "";
  renderSessionCategories();
  const categoryId = displaySessionCategoryIdForProgram(program);
  updateSessionCategory(categoryId, programId);
  if (els.sessionSubcategory && categoryId === program.category && program.subcategory) {
    els.sessionSubcategory.value = validSessionSubcategory(program.category, program.subcategory);
    updateSessionCategory(categoryId, programId);
  }
  els.sessionSelect.value = programId;
  state.sessionProgramId = programId;
  state.sessionRequestedProgramId = programId;
  state.sessionElapsedSeconds = 0;
  saveSessionProgram(programId);
  renderSessionProgram();
  updateSessionLibraryControls();
  closeAskAiDialog();
}

async function submitAskAiQuestion() {
  repairTextControlMisophoniaTerminology(els.askAiQuestionInput);
  const question = String(els.askAiQuestionInput?.value || "").trim();
  if (!question) {
    els.askAiStatus.value = t("askAiEmpty");
    setAskAiBusy(false);
    setAskAiSource("");
    els.askAiResults.innerHTML = "";
    return;
  }
  els.askAiSubmitButton.disabled = true;
  els.askAiStatus.value = t("askAiThinking");
  setAskAiBusy(true);
  setAskAiSource("");
  els.askAiResults.innerHTML = "";
  try {
    const result = await askAiHybridRecommendations(question);
    setAskAiBusy(false);
    if (!result.recommendations.length) {
      els.askAiStatus.value = t("askAiNoResults");
      setAskAiBusy(false);
      setAskAiSource("");
      return;
    }
    const statusKey = {
      hybrid: "askAiHybridMode",
      openai: "askAiOpenAiMode",
      fallback: "askAiFallbackMode"
    }[result.mode] || "askAiLocalMode";
    els.askAiStatus.value = t(statusKey);
    setAskAiBusy(false);
    setAskAiSource(result.mode);
    renderAskAiRecommendations(result.recommendations);
  } finally {
    setAskAiBusy(false);
    els.askAiSubmitButton.disabled = false;
  }
}

function validPreBaselineId(value) {
  const id = String(value || "none");
  return PRE_BASELINE_SESSION_IDS.has(id) && sessionPrograms[id] ? id : "none";
}

function musePresenceLikelyActive() {
  if (!HAS_MUSE) return false;
  const bridge = state.museBridge;
  const now = Date.now();
  const connectedStatus = bridge.connected
    && !/disconnected|no-device-found|no-device|none|failed|error/i.test(bridge.status || "");
  const positiveStatus = /connected|transmission|streaming|subscribed|configured|configuration|data/i.test(bridge.status || "")
    && !/disconnect|no-device|none|failed|error/i.test(bridge.status || "");
  const recentPositiveBridgeEvent = bridge.available
    && now - (bridge.latestAt || 0) < 15000
    && positiveStatus;
  const recentPositiveConnection = now - (bridge.positiveAt || 0) < 30000;
  const recentAppData = now - (bridge.latestDataAt || 0) < 15000;
  const recentNativeData = now - (bridge.latestNativeDataAt || 0) < 15000;
  const recentLiveMonitor = state.museCurrentState?.source === "muse-bridge"
    && recentAppData;
  return Boolean(
    isLiveMuseDataActive()
      || connectedStatus
      || recentPositiveBridgeEvent
      || recentPositiveConnection
      || recentAppData
      || recentNativeData
      || recentLiveMonitor
  );
}

function museSessionOptionsVisible() {
  return HAS_MUSE && musePresenceLikelyActive();
}

function sessionAdaptiveControlVisible(programId = els.sessionSelect?.value) {
  if (!CAN_ADAPTIVE_SESSION || !museSessionOptionsVisible()) return false;
  const program = sessionPrograms[programId];
  return Boolean(program && !programIsBaselineSession(program));
}

const ADAPTIVE_GOALS = new Set([
  "auto",
  "calm-regulation",
  "sleep-recovery",
  "focus-cognition",
  "energy-activation",
  "emotional-balance",
  "heart-coherence",
  "physical-recovery",
  "creative-flow",
  "hypnotic-trance",
  "meditative-spiritual",
  "performance-sports",
  "gentle-support"
]);

const LEGACY_ADAPTIVE_GOALS = {
  relaxation: "calm-regulation",
  focus: "focus-cognition",
  recovery: "physical-recovery",
  sleep: "sleep-recovery",
  energy: "energy-activation",
  mood: "emotional-balance",
  meditation: "meditative-spiritual",
  hypnosis: "hypnotic-trance",
  creativity: "creative-flow",
  performance: "performance-sports"
};

const ADAPTIVE_CATEGORY_GOALS = {
  meditatie: "meditative-spiritual",
  hypnose: "hypnotic-trance",
  energie: "energy-activation",
  creativiteit: "creative-flow",
  "herstel-welzijn": "gentle-support"
};

const ADAPTIVE_SUBCATEGORY_GOALS = {
  "morning-energy": "energy-activation",
  "mental-energy": "focus-cognition",
  "physical-energy": "energy-activation",
  "emotional-energy": "emotional-balance",
  "recovery-recharge": "physical-recovery",
  "sports-energy": "performance-sports",
  motivation: "energy-activation",
  "healthy-aging": "physical-recovery",
  "travel-jet-lag": "sleep-recovery",
  "spiritual-energy": "meditative-spiritual",
  biohacking: "energy-activation",
  "creative-thinking": "creative-flow",
  "arts-design": "creative-flow",
  "music-audio": "creative-flow",
  "writing-storytelling": "creative-flow",
  "business-innovation": "focus-cognition",
  "problem-solving": "focus-cognition",
  "flow-inspiration": "creative-flow",
  "imagination-intuition": "meditative-spiritual",
  "self-expression": "emotional-balance",
  "learning-creative-performance": "focus-cognition",
  sleep: "sleep-recovery",
  "stress-anxiety": "calm-regulation",
  "heart-coherence": "heart-coherence",
  "neurological-support": "focus-cognition",
  "musculoskeletal-support": "physical-recovery",
  "cardiovascular-support": "heart-coherence",
  "respiratory-support": "calm-regulation",
  "digestive-support": "physical-recovery",
  "immune-support": "gentle-support",
  "hormonal-endocrine-support": "gentle-support",
  "womens-health": "gentle-support",
  "mens-health": "gentle-support",
  "pregnancy-parenthood": "gentle-support",
  "recovery-rehabilitation": "physical-recovery",
  "functional-disorders": "calm-regulation",
  "oncology-support": "gentle-support",
  "vision-eye-health": "focus-cognition",
  "hearing-tinnitus-support": "calm-regulation",
  "oral-dental-health": "physical-recovery",
  "genetic-rare-disorders": "gentle-support",
  "child-development-pediatric-support": "gentle-support",
  "neurodevelopmental-disorders": "focus-cognition",
  "wound-healing-tissue-recovery": "physical-recovery",
  "pelvic-health": "physical-recovery",
  "infectious-disease-recovery": "physical-recovery",
  "pre-post-surgery-support": "gentle-support",
  "detox-lifestyle-support": "gentle-support",
  "environmental-sensitivity-support": "calm-regulation",
  "medication-treatment-support": "gentle-support",
  "diagnostic-medical-procedure-support": "calm-regulation",
  "mind-body-medicine": "calm-regulation",
  "integrative-health": "gentle-support",
  "caregiver-support": "emotional-balance",
  "chronic-illness-support": "gentle-support",
  "general-wellness-prevention": "gentle-support"
};

function normalizedAdaptiveGoal(value) {
  const goal = String(value || "auto");
  if (LEGACY_ADAPTIVE_GOALS[goal]) return LEGACY_ADAPTIVE_GOALS[goal];
  return ADAPTIVE_GOALS.has(goal) ? goal : "auto";
}

function adaptiveProgramSearchText(program) {
  if (!program) return "";
  return [
    program.id,
    program.title,
    program.titleNl,
    program.titleEn,
    program.name,
    program.goal,
    program.goalNl,
    program.goalEn,
    program.description,
    program.descriptionNl,
    program.descriptionEn,
    program.category,
    program.subcategory
  ].filter(Boolean).join(" ").toLowerCase();
}

function adaptiveCriticalGoalFromText(text) {
  if (!text) return null;
  if (/sleep|slapen|slaap|inslap|bedtime|night|nacht|delta|dream|droom/.test(text)) return "sleep-recovery";
  if (/heart|hart|coherence|coherentie|hrv|vagus|cardio|blood pressure|bloeddruk|hypertensie/.test(text)) return "heart-coherence";
  if (/anxiety|angst|fear|fobie|phobia|panic|paniek|stress|trauma|ptss|tinnitus|piep|misofonie|overprikkel|overstimulation|spanning|onrust|rouw|verdriet/.test(text)) return "calm-regulation";
  if (/hypno|hypnose|trance/.test(text)) return "hypnotic-trance";
  return null;
}

function adaptiveBroadGoalFromText(text) {
  if (!text) return null;
  if (/meditat|spirit|chakra|soul|ziel|gratitude|dankbaarheid|mindful|awareness|bewustzijn/.test(text)) return "meditative-spiritual";
  if (/creativ|kunst|art|design|music|muziek|writing|schrijven|story|imagination|verbeeld|intuition|intuïtie|flow/.test(text)) return "creative-flow";
  if (/sport|athlet|competition|wedstrijd|prestatie|performance|darteritus|jips|reaction|reactie|reflex/.test(text)) return "performance-sports";
  if (/focus|cognit|memory|geheugen|learning|leren|study|studie|adhd|brain|brein|neuro|concentration|concentratie|decision|besluit|problem|probleem/.test(text)) return "focus-cognition";
  if (/energy|energie|vitality|vitaliteit|morning|ochtend|activation|activatie|motivation|motivatie|dopamine/.test(text)) return "energy-activation";
  if (/emotion|emotie|mood|stemming|confidence|zelfvertrouwen|self-esteem|joy|happiness|blij/.test(text)) return "emotional-balance";
  if (/recovery|herstel|pain|pijn|wound|wond|spier|muscle|joint|gewricht|immune|immuun|digest|darm|hormonal|hormonaal|rehab|revalidatie/.test(text)) return "physical-recovery";
  return null;
}

function adaptiveGoalForProgram(program) {
  if (!program) return ADAPTIVE_CATEGORY_GOALS[String(els.sessionCategory?.value || "")] || "calm-regulation";
  const text = adaptiveProgramSearchText(program);
  const criticalGoal = adaptiveCriticalGoalFromText(text);
  if (criticalGoal) return criticalGoal;
  const subcategoryGoal = ADAPTIVE_SUBCATEGORY_GOALS[String(program.subcategory || "")];
  if (subcategoryGoal) return subcategoryGoal;
  const categoryGoal = ADAPTIVE_CATEGORY_GOALS[String(program.category || "")];
  if (categoryGoal) return categoryGoal;
  return adaptiveBroadGoalFromText(text) || "calm-regulation";
}

function effectiveAdaptiveGoalForProgram(programId = els.sessionSelect?.value) {
  const requestedGoal = normalizedAdaptiveGoal(state.sessionAdaptiveGoal);
  if (requestedGoal !== "auto") return requestedGoal;
  const program = sessionPrograms[programId];
  return adaptiveGoalForProgram(program);
}

function adaptiveGoalLabel(goal) {
  const key = {
    "calm-regulation": "adaptiveGoalCalmRegulation",
    "sleep-recovery": "adaptiveGoalSleepRecovery",
    "focus-cognition": "adaptiveGoalFocusCognition",
    "energy-activation": "adaptiveGoalEnergyActivation",
    "emotional-balance": "adaptiveGoalEmotionalBalance",
    "heart-coherence": "adaptiveGoalHeartCoherence",
    "physical-recovery": "adaptiveGoalPhysicalRecovery",
    "creative-flow": "adaptiveGoalCreativeFlow",
    "hypnotic-trance": "adaptiveGoalHypnoticTrance",
    "meditative-spiritual": "adaptiveGoalMeditativeSpiritual",
    "performance-sports": "adaptiveGoalPerformanceSports",
    "gentle-support": "adaptiveGoalGentleSupport"
  }[normalizedAdaptiveGoal(goal)] || "adaptiveGoalCalmRegulation";
  return t(key);
}

function sessionAdaptiveChoiceAvailable(programId = els.sessionSelect?.value) {
  return Boolean(sessionAdaptiveControlVisible(programId) && musePresenceLikelyActive());
}

function adaptiveSessionEnabledForProgram(programId = els.sessionSelect?.value) {
  return Boolean(state.sessionAdaptiveEnabled && sessionAdaptiveChoiceAvailable(programId));
}

function sessionAdaptiveUnavailableMessage(programId = els.sessionSelect?.value) {
  if (!sessionAdaptiveControlVisible(programId)) return t("adaptiveMuseRequired");
  const bridge = state.museBridge;
  const now = Date.now();
  const details = [
    bridge.connected ? "connected" : "",
    bridge.available ? "bridge" : "",
    now - (bridge.latestAt || 0) < 15000 ? "event" : "",
    now - (bridge.latestDataAt || 0) < 15000 ? "app-data" : "",
    now - (bridge.latestNativeDataAt || 0) < 15000 ? "native-data" : "",
    bridge.status ? `status: ${bridge.status}` : ""
  ].filter(Boolean).join(" · ");
  const prefix = t("adaptiveMuseRequired");
  return details ? `${prefix} (${details})` : prefix;
}

function selectedPreBaselineIdForProgram(programId) {
  const program = sessionPrograms[programId];
  if (!HAS_MUSE || !program || programIsBaselineSession(program)) return "none";
  return validPreBaselineId(state.sessionPreBaselineId);
}

function sessionRunSegmentLabel(segment, index) {
  const program = sessionPrograms[segment?.programId];
  const prefix = segment?.type === "baseline"
    ? (currentLanguage === "nl" ? "Baseline" : "Baseline")
    : (currentLanguage === "nl" ? "Sessie" : "Session");
  return `${prefix}: ${localizedProgramTitle(program) || `Segment ${index + 1}`}`;
}

function activeSessionRunStatusText() {
  const activeSegment = activeSessionRunSegment();
  if (!activeSegment) return localizedRuntimeText(state.sessionPaused ? "Gepauzeerd" : "Actief");
  const title = localizedProgramTitle(sessionPrograms[activeSegment.programId]);
  if (activeSegment.type === "baseline") {
    return state.sessionPaused
      ? `${currentLanguage === "nl" ? "Baseline gepauzeerd" : "Baseline paused"}: ${title}`
      : `${currentLanguage === "nl" ? "Baseline actief" : "Baseline active"}: ${title}`;
  }
  return state.sessionPaused
    ? `${currentLanguage === "nl" ? "Sessie gepauzeerd" : "Session paused"}: ${title}`
    : `${currentLanguage === "nl" ? "Sessie actief" : "Session active"}: ${title}`;
}

function createSessionRunPlan(requestedProgramId, baselineProgramIdOverride = null) {
  hydrateSessionProgram(requestedProgramId);
  const segments = [];
  const baselineProgramId = baselineProgramIdOverride === null
    ? selectedPreBaselineIdForProgram(requestedProgramId)
    : validPreBaselineId(baselineProgramIdOverride);
  if (baselineProgramId !== "none") hydrateSessionProgram(baselineProgramId);
  if (baselineProgramId !== "none") {
    segments.push({ type: "baseline", programId: baselineProgramId });
  }
  segments.push({ type: "session", programId: requestedProgramId });
  return {
    requestedProgramId,
    baselineProgramId,
    segments,
    totalDurationSeconds: segments.reduce((total, segment) => (
      total + (sessionPrograms[segment.programId]?.durationSeconds || 0)
    ), 0)
  };
}

function plannedSessionDurationSeconds(programId = els.sessionSelect?.value) {
  const program = sessionPrograms[programId];
  if (!program) return 0;
  const baselineProgramId = selectedPreBaselineIdForProgram(programId);
  const baselineDuration = baselineProgramId !== "none"
    ? sessionPrograms[baselineProgramId]?.durationSeconds || 0
    : 0;
  return baselineDuration + program.durationSeconds;
}

function plannedSessionDisplaySeconds(programId = els.sessionSelect?.value) {
  if (state.sessionRunning) {
    const program = sessionPrograms[programId];
    return Math.max(0, (program?.durationSeconds || 0) - state.sessionElapsedSeconds);
  }
  if (state.sessionRunElapsedSeconds > 0 && state.sessionElapsedSeconds > 0) return 0;
  return plannedSessionDurationSeconds(programId);
}

function updatePlannedSessionTimer(programId = els.sessionSelect?.value) {
  if (!els.sessionTimer || state.sessionRunning) return;
  els.sessionTimer.value = formatSessionTime(plannedSessionDisplaySeconds(programId));
}

function activeSessionRunSegment() {
  return state.sessionRunPlan?.segments?.[state.sessionRunSegmentIndex] || null;
}

function currentRunElapsedSeconds() {
  return state.sessionRunElapsedSeconds + state.sessionElapsedSeconds;
}

function museBaselineChoiceAvailable() {
  return museSessionOptionsVisible();
}

function defaultPreBaselineIdForProgram(programId = els.sessionSelect?.value) {
  const program = sessionPrograms[programId];
  if (!HAS_MUSE || !program || programIsBaselineSession(program)) return "none";
  return "none";
}

function updateSessionAdaptiveControls() {
  if (!els.sessionAdaptiveField || !els.sessionAdaptiveGoal) return;
  const visible = sessionAdaptiveControlVisible();
  const museAvailable = musePresenceLikelyActive();
  const selectedGoal = normalizedAdaptiveGoal(state.sessionAdaptiveGoal);
  const selectedValue = state.sessionAdaptiveEnabled ? selectedGoal : "off";
  const effectiveGoal = state.sessionAdaptiveActive
    ? state.sessionAdaptiveEffectiveGoal
    : effectiveAdaptiveGoalForProgram();
  const effectiveGoalLabel = adaptiveGoalLabel(effectiveGoal);
  els.sessionAdaptiveField.hidden = !visible;
  if (!visible && state.sessionAdaptiveEnabled && !state.sessionRunning) {
    state.sessionAdaptiveEnabled = false;
    localStorage.setItem(SESSION_ADAPTIVE_ENABLED_STORAGE_KEY, "false");
  }
  if (!state.sessionAdaptiveGoalInteracting) {
    els.sessionAdaptiveGoal.value = selectedValue;
  }
  els.sessionAdaptiveGoal.disabled = state.sessionRunning || !visible;
  if (els.sessionAdaptiveStatus) {
    if (!visible || !museAvailable) {
      els.sessionAdaptiveStatus.value = sessionAdaptiveUnavailableMessage();
    } else if (!state.sessionAdaptiveEnabled) {
      els.sessionAdaptiveStatus.value = t("adaptiveSessionDisabled");
    } else if (state.sessionAdaptiveActive) {
      els.sessionAdaptiveStatus.value = t(state.sessionAdaptiveDecision?.statusKey || "adaptiveSessionActive")
        .replace("{goal}", effectiveGoalLabel);
    } else {
      els.sessionAdaptiveStatus.value = t("adaptiveSessionReady").replace("{goal}", effectiveGoalLabel);
    }
  }
}

function updateSessionPreBaselineControls() {
  if (!els.sessionPreBaselineSelect) return;
  const choiceAvailable = museBaselineChoiceAvailable();
  if (els.sessionBeforeField) els.sessionBeforeField.hidden = !choiceAvailable;
  if (!choiceAvailable) {
    if (!state.sessionPreBaselineInteracting) {
      els.sessionPreBaselineSelect.value = "none";
    }
    els.sessionPreBaselineSelect.disabled = true;
    updatePlannedSessionTimer();
    updateSessionAdaptiveControls();
    return;
  }
  if (state.sessionPreBaselineId !== "none" && !PRE_BASELINE_SESSION_IDS.has(state.sessionPreBaselineId)) {
    state.sessionPreBaselineId = "none";
  }
  const selectedProgram = sessionPrograms[els.sessionSelect.value];
  if (
    !state.sessionRunning
    && !state.sessionPreBaselineDisabledByUser
    && state.sessionPreBaselineId === "none"
    && selectedProgram
    && !programIsBaselineSession(selectedProgram)
  ) {
    state.sessionPreBaselineId = defaultPreBaselineIdForProgram(els.sessionSelect.value);
    localStorage.setItem(SESSION_PRE_BASELINE_STORAGE_KEY, state.sessionPreBaselineId);
    updatePlannedSessionTimer();
  }
  if (!state.sessionPreBaselineInteracting) {
    els.sessionPreBaselineSelect.value = state.sessionPreBaselineId;
  }
  const disabled = state.sessionRunning || Boolean(selectedProgram && programIsBaselineSession(selectedProgram));
  els.sessionPreBaselineSelect.disabled = disabled;
  els.sessionPreBaselineSelect.title = disabled && selectedProgram && programIsBaselineSession(selectedProgram)
    ? (currentLanguage === "nl" ? "Een baseline kan niet nog een baseline vooraf krijgen." : "A baseline cannot have another baseline before it.")
    : "";
  updateSessionAdaptiveControls();
}

function renderSessionCategories() {
  const index = sessionProgramIndex();
  const {
    searchActive,
    categoryCounts,
    totalProgramCount,
    visibleProgramCount,
    visibleCategoryIds
  } = index;
  const specialCategoryCounts = directSpecialSessionCategoryCounts(index.entries);
  Object.entries(specialCategoryCounts).forEach(([categoryId, count]) => {
    if (count > 0 && !isHiddenSessionCategory(categoryId)) {
      categoryCounts[categoryId] = Math.max(categoryCounts[categoryId] || 0, count);
      visibleCategoryIds.add(categoryId);
    }
  });
  const visibleCategories = SESSION_CATEGORIES
    .filter((category) => visibleCategoryIds.has(category.id) && !isHiddenSessionCategory(category.id))
    .sort((a, b) => compareLocalizedLabels(categoryText(a, 0), categoryText(b, 0)));

  if (searchActive && visibleProgramCount) {
    const option = document.createElement("option");
    option.value = SEARCH_RESULTS_SESSION_CATEGORY_ID;
    option.textContent = currentLanguage === "nl"
      ? `Zoekresultaten (${visibleProgramCount})`
      : `Search results (${visibleProgramCount})`;
    els.sessionCategory.replaceChildren(option);
    els.sessionCategory.disabled = false;
    els.sessionProgramLabel.textContent = currentLanguage === "nl"
      ? `Programma (${visibleProgramCount} van ${totalProgramCount})`
      : `Program (${visibleProgramCount} of ${totalProgramCount})`;
    updateSessionSearchStatus(visibleProgramCount);
    return;
  }

  if (!visibleCategories.length) {
    const option = document.createElement("option");
    option.value = "";
    option.textContent = normalizedSessionSearchQuery()
      ? (currentLanguage === "nl" ? "Geen zoekresultaten" : "No search results")
      : (currentLanguage === "nl" ? "Geen categorieën" : "No categories");
    els.sessionCategory.replaceChildren(option);
    els.sessionCategory.disabled = true;
    els.sessionProgramLabel.textContent = currentLanguage === "nl"
      ? `Programma (0 van ${totalProgramCount})`
      : `Program (0 of ${totalProgramCount})`;
    updateSessionSearchStatus(0);
    return;
  }

  els.sessionCategory.disabled = false;
  const fragment = document.createDocumentFragment();
  visibleCategories.forEach((category) => {
    const option = document.createElement("option");
    option.value = category.id;
    option.textContent = `${categoryText(category, 0)} (${categoryCounts[category.id]})`;
    fragment.append(option);
  });
  els.sessionCategory.replaceChildren(fragment);
  els.sessionProgramLabel.textContent = currentLanguage === "nl"
    ? `Programma (${visibleProgramCount} van ${totalProgramCount})`
    : `Program (${visibleProgramCount} of ${totalProgramCount})`;
  updateSessionSearchStatus(visibleProgramCount);
}

function renderSessionOptions(categoryId, preferredProgramId = null) {
  const index = sessionProgramIndex();
  const sourceEntries = isSpecialSessionCategory(categoryId)
    ? index.entries.filter(([, program]) => displaySessionCategoryIdForProgram(program) === categoryId)
    : (index.categoryProgramEntries[categoryId] || index.entries);
  const matchingPrograms = sourceEntries
    .filter(([, program]) => programMatchesSessionCategory(program, categoryId))
    .filter(([, program]) => programMatchesSessionSubcategory(program, categoryId))
    .sort(([, a], [, b]) => compareLocalizedText(localizedProgramTitle(a), localizedProgramTitle(b)));

  if (!matchingPrograms.length) {
    const option = document.createElement("option");
    option.value = "";
    option.textContent = normalizedSessionSearchQuery()
      ? (currentLanguage === "nl" ? "Geen zoekresultaten" : "No search results")
      : (currentLanguage === "nl" ? "Nog geen sessies" : "No sessions yet");
    els.sessionSelect.append(option);
    els.sessionSelect.disabled = true;
    els.sessionStartButton.disabled = true;
    els.sessionTitle.textContent = option.textContent;
    els.sessionGoal.textContent = normalizedSessionSearchQuery()
      ? (currentLanguage === "nl"
        ? "Pas je zoekterm aan of wis het zoekveld om alle sessies te tonen."
        : "Change your search term or clear the search field to show all sessions.")
      : (currentLanguage === "nl"
        ? "Deze categorie is voorbereid voor toekomstige programma's."
        : "This category is ready for future programs.");
    els.sessionTimer.value = "0:00";
    els.sessionPhases.innerHTML = "";
    els.sessionGraph.innerHTML = "";
    els.sessionIntensityGraph.innerHTML = "";
    els.sessionMusicCategory.textContent = currentLanguage === "nl" ? "Geen categorie" : "No category";
    els.sessionSelect.replaceChildren(option);
    return false;
  }

  els.sessionSelect.disabled = false;
  const fragment = document.createDocumentFragment();
  matchingPrograms.forEach(([programId, program]) => {
    const option = document.createElement("option");
    const title = localizedProgramTitle(program);
    const suffix = programIsGuidedSession(program)
      ? userSessionText(" • Guided", " • Begeleid")
      : programIsMarketplaceSession(program)
      ? " • Neural Exchange™"
      : (program.userSession ? userSessionText(" • Custom", " • Eigen") : "");
    const label = `${title}${suffix}`;
    option.value = programId;
    option.textContent = `${compactDropdownLabel(title, 34)}${suffix}`;
    option.title = label;
    fragment.append(option);
  });
  els.sessionSelect.replaceChildren(fragment);

  const nextProgramId = matchingPrograms.some(([programId]) => programId === preferredProgramId)
    ? preferredProgramId
    : matchingPrograms[0][0];
  els.sessionSelect.value = nextProgramId;
  state.sessionProgramId = nextProgramId;
  els.sessionStartButton.disabled = state.sessionRunning;
  updateSessionPreBaselineControls();
  updateSessionLibraryControls();
  return true;
}

function updateSessionCategory(categoryId, preferredProgramId = null, options = {}) {
  const index = sessionProgramIndex();
  const searchActive = index.searchActive;
  if (searchActive && categoryId === SEARCH_RESULTS_SESSION_CATEGORY_ID) {
    els.sessionCategory.value = SEARCH_RESULTS_SESSION_CATEGORY_ID;
    renderSessionSubcategoryOptions(SEARCH_RESULTS_SESSION_CATEGORY_ID, "");
    els.sessionCategoryPurpose.textContent = currentLanguage === "nl"
      ? "Alle sessies die overeenkomen met je zoekterm."
      : "All sessions matching your search term.";
    const hasPrograms = renderSessionOptions(SEARCH_RESULTS_SESSION_CATEGORY_ID, preferredProgramId);
    state.sessionElapsedSeconds = 0;
    if (hasPrograms) {
      saveSessionProgram(state.sessionProgramId);
      renderSessionProgram();
    }
    updateSessionPreBaselineControls();
    return;
  }

  const fallbackCategory = editableSessionCategories()[0] || SESSION_CATEGORIES[0];
  const requestedCategory = sessionCategoryById(categoryId);
  const visibleCategoryIds = index.visibleCategoryIds;
  const category = requestedCategory
    && !isHiddenSessionCategory(requestedCategory.id)
    && visibleCategoryIds.has(requestedCategory.id)
    ? requestedCategory
    : (searchActive ? null : (SESSION_CATEGORIES.find((item) => visibleCategoryIds.has(item.id)) || fallbackCategory));

  if (searchActive && !category && index.searchEntries.length) {
    updateSessionCategory(SEARCH_RESULTS_SESSION_CATEGORY_ID, preferredProgramId);
    return;
  }

  if (!category || !visibleCategoryIds.size) {
    els.sessionCategory.value = "";
    renderSessionSubcategoryOptions("", "");
    els.sessionCategoryPurpose.textContent = "";
    renderSessionOptions("", preferredProgramId);
    state.sessionElapsedSeconds = 0;
    updateSessionPreBaselineControls();
    return;
  }

  els.sessionCategory.value = category?.id || "";
  const preferredProgram = sessionPrograms[preferredProgramId];
  const currentSubcategoryId = validSessionSubcategory(category.id, els.sessionSubcategory?.value);
  const preferredSubcategoryId = preferredProgram?.category === category?.id
    ? preferredProgram.subcategory
    : currentSubcategoryId;
  renderSessionSubcategoryOptions(category.id, preferredSubcategoryId, {
    defaultToFirst: !options.preserveAllSubcategory && !preferredSubcategoryId
  });
  els.sessionCategoryPurpose.textContent = category ? categoryText(category, 1) : "";
  const hasPrograms = renderSessionOptions(category.id, preferredProgramId);
  state.sessionElapsedSeconds = 0;
  if (hasPrograms) {
    saveSessionProgram(state.sessionProgramId);
    renderSessionProgram();
  }
  updateSessionPreBaselineControls();
}

function saveSessionProgram(programId) {
  if (sessionPrograms[programId]) {
    localStorage.setItem(SESSION_PROGRAM_STORAGE_KEY, programId);
  }
}

function restoreSessionProgram() {
  const storedProgramId = localStorage.getItem(SESSION_PROGRAM_STORAGE_KEY);
  const storedProgram = sessionPrograms[storedProgramId];
  const restoredProgramId = storedProgram && !programIsBaselineSession(storedProgram) ? storedProgramId : state.sessionProgramId;
  const restoredProgram = sessionPrograms[restoredProgramId];
  const restoredCategoryId = displaySessionCategoryIdForProgram(restoredProgram);
  const categoryId = restoredProgram && !isHiddenSessionCategory(restoredCategoryId)
    ? restoredCategoryId
    : SESSION_CATEGORIES[0]?.id;
  updateSessionCategory(categoryId, restoredProgramId);
}

function stopBreathingGuide(status = "Uit") {
  [state.breathingInPlayer, state.breathingOutPlayer].forEach((player) => {
    if (!player) return;
    player.pause();
    player.currentTime = 0;
  });
  state.breathingCueKey = null;
  state.breathingPatternKey = null;
  state.breathingCycleStartSeconds = null;
  state.breathingManualStartedAt = null;
  state.breathingFadeOutFactor = 1;
  els.breathingGuideStatus.value = localizedRuntimeText(status);
}

function updateBreathingGuideVolume() {
  const volume = BREATHING_GUIDE_VOLUME * masterVolumeNormalized() * state.breathingFadeOutFactor;
  [state.breathingInPlayer, state.breathingOutPlayer].forEach((player) => {
    if (player && !player.paused) player.volume = volume;
  });
}

function breathingPatternForFrequency(frequency) {
  const hz = Math.max(0, Number(frequency) || 0);
  if (hz < 4) return { key: "delta", rate: 4, cycle: 15, inhale: 6, exhale: 9 };
  if (hz < 8) return { key: "theta", rate: 5, cycle: 12, inhale: 4.8, exhale: 7.2 };
  if (hz < 13) return { key: "alpha", rate: 6, cycle: 10, inhale: 4, exhale: 6 };
  return { key: "beta", rate: 7.5, cycle: 8, inhale: 3.2, exhale: 4.8 };
}

function formatBreathingSeconds(seconds) {
  const formatted = Number.isInteger(seconds) ? String(seconds) : seconds.toFixed(1);
  return currentLanguage === "nl" ? formatted.replace(".", ",") : formatted;
}

function updateBreathingGuide() {
  const manualFrequency = Number(els.frequency.value) || 2;
  const brainFrequency = state.sessionRunning
    ? Number(state.audioBeatOverride ?? state.sessionLightHz ?? manualFrequency)
    : manualFrequency;
  const pattern = breathingPatternForFrequency(brainFrequency);
  const rate = currentLanguage === "nl" ? String(pattern.rate).replace(".", ",") : String(pattern.rate);
  els.breathingGuidePattern.textContent = currentLanguage === "nl"
    ? `${rate} per minuut · ${formatBreathingSeconds(pattern.inhale)} sec. in · ${formatBreathingSeconds(pattern.exhale)} sec. uit`
    : `${rate} per minute · ${formatBreathingSeconds(pattern.inhale)} sec in · ${formatBreathingSeconds(pattern.exhale)} sec out`;

  if (!els.breathingGuideEnabled.checked) {
    if (state.breathingCueKey !== null) stopBreathingGuide("Uit");
    return;
  }
  const manualMusicPlaying = !state.sessionRunning && isMusicPlaying();
  if (!state.sessionRunning && !manualMusicPlaying) {
    stopBreathingGuide("Gereed");
    return;
  }
  if (state.sessionPaused || state.blackoutActive) {
    stopBreathingGuide(state.sessionPaused ? "Gepauzeerd" : "Blackout");
    return;
  }

  if (manualMusicPlaying && state.breathingManualStartedAt === null) {
    state.breathingManualStartedAt = performance.now() / 1000;
  }
  const elapsedSeconds = state.sessionRunning
    ? state.sessionElapsedSeconds
    : Math.max(0, performance.now() / 1000 - state.breathingManualStartedAt);

  if (state.breathingPatternKey !== pattern.key || state.breathingCycleStartSeconds === null) {
    state.breathingPatternKey = pattern.key;
    state.breathingCycleStartSeconds = elapsedSeconds;
    state.breathingCueKey = null;
  }

  const breathingElapsed = Math.max(0, elapsedSeconds - state.breathingCycleStartSeconds);
  const cycleIndex = Math.floor(breathingElapsed / pattern.cycle);
  const cyclePosition = breathingElapsed % pattern.cycle;
  const cue = cyclePosition < pattern.inhale ? "in" : "out";
  const cueKey = `${cycleIndex}:${cue}`;
  els.breathingGuideStatus.value = localizedRuntimeText(cue === "in" ? "Adem in" : "Adem uit");
  if (state.breathingCueKey === cueKey) return;

  const program = state.sessionRunning ? sessionPrograms[state.sessionProgramId] : null;
  const remainingSeconds = program
    ? Math.max(0, program.durationSeconds - state.sessionElapsedSeconds)
    : Infinity;
  const fadeOutFactor = remainingSeconds < 60 ? remainingSeconds / 60 : 1;
  const player = cue === "in" ? state.breathingInPlayer : state.breathingOutPlayer;
  const otherPlayer = cue === "in" ? state.breathingOutPlayer : state.breathingInPlayer;
  otherPlayer.pause();
  otherPlayer.currentTime = 0;
  player.pause();
  player.currentTime = 0;
  state.breathingFadeOutFactor = fadeOutFactor;
  player.volume = BREATHING_GUIDE_VOLUME * masterVolumeNormalized() * fadeOutFactor;
  state.breathingCueKey = cueKey;
  void player.play().catch((error) => console.error(error));
}

function stopSessionVoiceCue() {
  if (state.sessionVoicePlayer) {
    state.sessionVoicePlayer.pause();
    state.sessionVoicePlayer.removeAttribute("src");
    state.sessionVoicePlayer.load();
  }
  if (window.speechSynthesis) {
    window.speechSynthesis.cancel();
  }
  state.sessionVoicePausedBySession = false;
}

function sessionVoiceCueSrc(cue) {
  if (currentLanguage === "en") return cue?.audioSrcEn || cue?.audioSrc || "";
  return cue?.audioSrc || cue?.audioSrcEn || "";
}

function sessionVoiceCueText(cue) {
  if (currentLanguage === "en" && cue?.textEn) return cue.textEn;
  if (currentLanguage === "nl" && cue?.text) return cue.text;
  return cue?.textEn || cue?.text || "";
}

function speakSessionVoiceCue(cue) {
  const text = sessionVoiceCueText(cue);
  if (!text || !window.speechSynthesis || typeof SpeechSynthesisUtterance === "undefined") return false;
  window.speechSynthesis.cancel();
  const utterance = new SpeechSynthesisUtterance(text);
  utterance.lang = currentLanguage === "nl" ? "nl-NL" : "en-US";
  utterance.volume = masterVolumeNormalized();
  utterance.rate = 0.94;
  utterance.pitch = 1;
  window.speechSynthesis.speak(utterance);
  return true;
}

function playSessionVoiceCue(cue, cueKey) {
  const cueSrc = sessionVoiceCueSrc(cue);
  const cueText = sessionVoiceCueText(cue);
  if (!cueSrc && !cueText) return false;
  state.sessionVoiceCueKeys.add(cueKey);
  if (cueSrc && state.sessionVoicePlayer) {
    state.sessionVoicePlayer.pause();
    state.sessionVoicePlayer.onerror = cueText ? () => {
      state.sessionVoicePlayer.onerror = null;
      speakSessionVoiceCue(cue);
    } : null;
    state.sessionVoicePlayer.src = cueSrc;
    state.sessionVoicePlayer.currentTime = 0;
    state.sessionVoicePlayer.volume = masterVolumeNormalized();
    void state.sessionVoicePlayer.play().catch((error) => {
      console.error(error);
      if (cueText) speakSessionVoiceCue(cue);
    });
    return true;
  }
  if (speakSessionVoiceCue(cue)) return true;
  state.sessionVoiceCueKeys.delete(cueKey);
  return false;
}

function updateSessionVoiceCues(program) {
  const voiceScript = Array.isArray(program?.voiceScript)
    ? program.voiceScript
    : Array.isArray(program?.guidedVoice?.segments)
      ? program.guidedVoice.segments
      : [];
  if (!voiceScript.length || state.sessionPaused) return;
  const cueWindowSeconds = 8;
  for (const [index, cue] of voiceScript.entries()) {
    const cueTime = Number(cue.time);
    if (!Number.isFinite(cueTime)) continue;
    const cueKey = `${state.sessionRunSegmentIndex}:${state.sessionProgramId}:${currentLanguage}:${index}:${cueTime}`;
    if (state.sessionVoiceCueKeys.has(cueKey)) continue;
    const age = state.sessionElapsedSeconds - cueTime;
    if (age < 0 || age > cueWindowSeconds) continue;
    if (playSessionVoiceCue(cue, cueKey)) {
      return;
    }
  }
}

function adaptiveAverageSamples(samples) {
  const usable = samples.filter((sample) => sample && Number.isFinite(Number(sample.signal)));
  if (!usable.length) return null;
  const average = (key) => averageNumbers(usable.map((sample) => Number(sample[key])).filter(Number.isFinite));
  const signal = average("signal");
  const calm = average("calm");
  const focus = average("focus");
  const artifacts = average("artifacts");
  const latency = average("latency");
  const stress = averageNumbers(usable.map((sample) => (
    Number.isFinite(Number(sample.stress))
      ? Number(sample.stress)
      : museStressScore({
        calm: Number(sample.calm) || 0,
        artifacts: Number(sample.artifacts) || 0,
        latency: Number(sample.latency) || 0
      })
  )));
  return {
    count: usable.length,
    signal,
    calm,
    focus,
    artifacts,
    latency,
    stress,
    entrainmentMatch: average("entrainmentMatch"),
    breathingRate: average("breathingRate"),
    heartRate: average("heartRate")
  };
}

function adaptiveBaselineMetrics() {
  if (state.sessionAdaptiveBaseline) return state.sessionAdaptiveBaseline;
  const baselineSamples = state.sessionEegSamples.filter((sample) => sample.segmentType === "baseline" && sample.source === "muse-bridge");
  const fallbackSamples = state.sessionEegSamples.filter((sample) => sample.source === "muse-bridge").slice(0, 30);
  const baseline = adaptiveAverageSamples(baselineSamples.length >= 8 ? baselineSamples : fallbackSamples);
  if (baseline?.count >= 8) state.sessionAdaptiveBaseline = baseline;
  return state.sessionAdaptiveBaseline;
}

function recentAdaptiveMetrics(windowSeconds = 30) {
  const elapsed = currentRunElapsedSeconds();
  const recent = state.sessionEegSamples.filter((sample) => (
    sample.source === "muse-bridge"
      && sample.segmentType === "session"
      && elapsed - Number(sample.elapsedSeconds) <= windowSeconds
  ));
  return adaptiveAverageSamples(recent);
}

function resetAdaptiveSessionState() {
  state.sessionAdaptiveActive = false;
  state.sessionAdaptiveBaseline = null;
  state.sessionAdaptiveEffectiveGoal = "calm-regulation";
  state.sessionAdaptiveLightScale = 1;
  state.sessionAdaptiveAudioScale = 1;
  state.sessionAdaptiveFrequencyOffset = 0;
  state.sessionAdaptiveLastDecisionAt = 0;
  state.sessionAdaptiveDecision = null;
  state.sessionAdaptiveDecisionLog = [];
  state.sessionAdaptiveRecoveryUntil = 0;
  state.sessionAdaptiveStartedAt = 0;
  updateSessionAdaptiveControls();
}

function beginAdaptiveSession(enabled, requestedProgramId) {
  resetAdaptiveSessionState();
  state.sessionAdaptiveActive = Boolean(enabled && adaptiveSessionEnabledForProgram(requestedProgramId));
  if (!state.sessionAdaptiveActive) return;
  state.sessionAdaptiveGoal = normalizedAdaptiveGoal(state.sessionAdaptiveGoal);
  state.sessionAdaptiveEffectiveGoal = effectiveAdaptiveGoalForProgram(requestedProgramId);
  state.sessionAdaptiveStartedAt = performance.now();
  state.sessionAdaptiveDecision = {
    action: "start",
    reason: `adaptive_${state.sessionAdaptiveEffectiveGoal}_enabled`,
    statusKey: "adaptiveSessionActive"
  };
  updateSessionAdaptiveControls();
}

function adaptiveDecisionStatusKey(action) {
  if (action === "hold") return "adaptiveSessionHold";
  if (action === "soften") return "adaptiveSessionSoftening";
  if (action === "deepen") return "adaptiveSessionDeepening";
  return "adaptiveSessionStable";
}

function adaptiveGoalProfile(goal) {
  const profiles = {
    "calm-regulation": { positiveMetric: "calm", positiveDelta: 7, highStress: 58, highArtifacts: 30, softenLight: 0.07, softenAudio: 0.03, deepenOffset: -0.25, softenOffset: -0.35 },
    "sleep-recovery": { positiveMetric: "calm", positiveDelta: 5, highStress: 54, highArtifacts: 28, softenLight: 0.08, softenAudio: 0.04, deepenOffset: -0.5, softenOffset: -0.55 },
    "focus-cognition": { positiveMetric: "focus", positiveDelta: 6, highStress: 64, highArtifacts: 34, softenLight: 0.05, softenAudio: 0.02, deepenOffset: 0.35, softenOffset: -0.15 },
    "energy-activation": { positiveMetric: "focus", positiveDelta: 5, highStress: 68, highArtifacts: 36, softenLight: 0.04, softenAudio: 0.015, deepenOffset: 0.45, softenOffset: -0.1 },
    "emotional-balance": { positiveMetric: "calm", positiveDelta: 5, highStress: 60, highArtifacts: 32, softenLight: 0.06, softenAudio: 0.025, deepenOffset: 0.12, softenOffset: -0.22 },
    "heart-coherence": { positiveMetric: "calm", positiveDelta: 5, highStress: 59, highArtifacts: 31, softenLight: 0.055, softenAudio: 0.025, deepenOffset: -0.08, softenOffset: -0.28 },
    "physical-recovery": { positiveMetric: "calm", positiveDelta: 6, highStress: 56, highArtifacts: 30, softenLight: 0.075, softenAudio: 0.035, deepenOffset: -0.35, softenOffset: -0.45 },
    "creative-flow": { positiveMetric: "focus", positiveDelta: 4, highStress: 62, highArtifacts: 34, softenLight: 0.055, softenAudio: 0.025, deepenOffset: -0.18, softenOffset: -0.28 },
    "hypnotic-trance": { positiveMetric: "calm", positiveDelta: 6, highStress: 58, highArtifacts: 30, softenLight: 0.07, softenAudio: 0.03, deepenOffset: -0.32, softenOffset: -0.42 },
    "meditative-spiritual": { positiveMetric: "calm", positiveDelta: 6, highStress: 58, highArtifacts: 30, softenLight: 0.065, softenAudio: 0.03, deepenOffset: -0.28, softenOffset: -0.38 },
    "performance-sports": { positiveMetric: "focus", positiveDelta: 6, highStress: 64, highArtifacts: 34, softenLight: 0.05, softenAudio: 0.02, deepenOffset: 0.32, softenOffset: -0.12 },
    "gentle-support": { positiveMetric: "calm", positiveDelta: 6, highStress: 55, highArtifacts: 29, softenLight: 0.08, softenAudio: 0.04, deepenOffset: -0.22, softenOffset: -0.45 }
  };
  return profiles[normalizedAdaptiveGoal(goal)] || profiles["calm-regulation"];
}

function updateAdaptiveDecision(snapshot) {
  if (!state.sessionAdaptiveActive) return;
  const now = performance.now();
  if (now - state.sessionAdaptiveLastDecisionAt < 20000) return;
  if (activeSessionRunSegment()?.type !== "session") return;
  const effectiveGoal = state.sessionAdaptiveEffectiveGoal || "calm-regulation";
  const profile = adaptiveGoalProfile(effectiveGoal);
  const recent = recentAdaptiveMetrics(32);
  const baseline = adaptiveBaselineMetrics();
  if (!recent || recent.count < 8 || !baseline || baseline.count < 8) {
    state.sessionAdaptiveDecision = {
      action: "hold",
      reason: "insufficient_adaptive_window",
      statusKey: "adaptiveSessionHold"
    };
    return;
  }

  const calmDelta = recent.calm - baseline.calm;
  const focusDelta = recent.focus - baseline.focus;
  const stressDelta = recent.stress - baseline.stress;
  const artifactsDelta = recent.artifacts - baseline.artifacts;
  const positiveDelta = profile.positiveMetric === "focus" ? focusDelta : calmDelta;
  let action = "maintain";
  let reason = "stable";
  if (recent.signal < 65 || recent.artifacts > 42) {
    action = "hold";
    reason = "signal_or_artifacts";
    state.sessionAdaptiveLightScale = Math.max(0.72, state.sessionAdaptiveLightScale - 0.04);
    state.sessionAdaptiveAudioScale = Math.max(0.86, state.sessionAdaptiveAudioScale - 0.02);
  } else if (stressDelta > 10 || (recent.stress > profile.highStress && artifactsDelta < 12) || recent.artifacts > profile.highArtifacts) {
    action = "soften";
    reason = "stress_rising";
    state.sessionAdaptiveRecoveryUntil = currentRunElapsedSeconds() + 45;
    state.sessionAdaptiveFrequencyOffset = clamp(
      state.sessionAdaptiveFrequencyOffset + (profile.softenOffset - state.sessionAdaptiveFrequencyOffset) * 0.35,
      -1,
      1
    );
    state.sessionAdaptiveLightScale = Math.max(0.62, state.sessionAdaptiveLightScale - profile.softenLight);
    state.sessionAdaptiveAudioScale = Math.max(0.82, state.sessionAdaptiveAudioScale - profile.softenAudio);
  } else if (positiveDelta > profile.positiveDelta && stressDelta < 8 && recent.artifacts < profile.highArtifacts) {
    action = "deepen";
    reason = `${profile.positiveMetric}_improving`;
    state.sessionAdaptiveLightScale = Math.min(1, state.sessionAdaptiveLightScale + 0.025);
    state.sessionAdaptiveAudioScale = Math.min(1, state.sessionAdaptiveAudioScale + 0.015);
    state.sessionAdaptiveFrequencyOffset = clamp(
      state.sessionAdaptiveFrequencyOffset + (profile.deepenOffset - state.sessionAdaptiveFrequencyOffset) * 0.25,
      -1,
      1
    );
  } else {
    state.sessionAdaptiveLightScale += (1 - state.sessionAdaptiveLightScale) * 0.08;
    state.sessionAdaptiveAudioScale += (1 - state.sessionAdaptiveAudioScale) * 0.05;
    state.sessionAdaptiveFrequencyOffset += (0 - state.sessionAdaptiveFrequencyOffset) * 0.08;
  }

  state.sessionAdaptiveLastDecisionAt = now;
  state.sessionAdaptiveDecision = {
    action,
    reason,
    goal: effectiveGoal,
    statusKey: adaptiveDecisionStatusKey(action),
    calmDelta: Number(calmDelta.toFixed(1)),
    focusDelta: Number(focusDelta.toFixed(1)),
    stressDelta: Number(stressDelta.toFixed(1)),
    artifactsDelta: Number(artifactsDelta.toFixed(1)),
    signal: Math.round(recent.signal),
    calm: Math.round(recent.calm),
    focus: Math.round(recent.focus),
    stress: Math.round(recent.stress),
    artifacts: Math.round(recent.artifacts),
    lightScale: Number(state.sessionAdaptiveLightScale.toFixed(3)),
    audioScale: Number(state.sessionAdaptiveAudioScale.toFixed(3)),
    frequencyOffsetHz: Number(state.sessionAdaptiveFrequencyOffset.toFixed(2))
  };
  state.sessionAdaptiveDecisionLog.push({
    elapsedSeconds: Number(currentRunElapsedSeconds().toFixed(2)),
    ...state.sessionAdaptiveDecision
  });
  if (state.sessionAdaptiveDecisionLog.length > 240) state.sessionAdaptiveDecisionLog.shift();
  updateSessionAdaptiveControls();
}

function applyAdaptiveSessionSnapshot(snapshot) {
  if (!state.sessionAdaptiveActive || activeSessionRunSegment()?.type !== "session") return snapshot;
  updateAdaptiveDecision(snapshot);
  const adjusted = { ...snapshot };
  const lightScale = clamp(state.sessionAdaptiveLightScale, 0.6, 1);
  const audioScale = clamp(state.sessionAdaptiveAudioScale, 0.8, 1);
  const frequencyOffset = clamp(state.sessionAdaptiveFrequencyOffset, -1, 1);
  adjusted.lightHz = clamp(Number(adjusted.lightHz) + frequencyOffset, 0.5, 40);
  adjusted.audioHz = clamp(Number(adjusted.audioHz) + frequencyOffset, 0.5, 40);
  adjusted.rgbIntensity = clamp(Number(adjusted.rgbIntensity) * lightScale, 0, 100);
  adjusted.whiteIntensity = clamp(Number(adjusted.whiteIntensity) * Math.min(lightScale, 0.94), 0, 100);
  adjusted.pulseVolume = clamp(Number(adjusted.pulseVolume) * audioScale, 0, 100);
  adjusted.noiseVolume = clamp(Number(adjusted.noiseVolume) * audioScale, 0, 100);
  adjusted.musicVolume = clamp(Number(adjusted.musicVolume) * (0.92 + audioScale * 0.08), 0, 100);
  return adjusted;
}

function applySessionFrame() {
  const program = sessionPrograms[state.sessionProgramId];
  if (!isTimelineProgram(program)) return;
  const snapshot = applyAdaptiveSessionSnapshot(timelineSnapshotAt(program, state.sessionElapsedSeconds));
  updateSessionVoiceCues(program);
  ensureSessionMusicForTimelineMood(program, snapshot.musicMood);
  const phaseGanzfeldMode = state.sessionGanzfeldOverride !== null
    ? state.sessionGanzfeldOverride === true
    : snapshot.ganzfeldMode === true;

  if (state.sessionGanzfeldMode !== phaseGanzfeldMode || state.ganzfeldActive !== phaseGanzfeldMode) {
    state.sessionGanzfeldMode = phaseGanzfeldMode;
    state.ganzfeldActive = phaseGanzfeldMode;
    updateGanzfeldControls();
  }

  els.rgbColor.value = snapshot.color;
  if (state.ganzfeldActive) {
    els.rgbIntensity.value = String(Math.round(snapshot.rgbIntensity));
    els.strobeIntensity.value = "0";
    els.rgbPulseEnabled.checked = false;
  } else {
    els.rgbIntensity.value = String(Math.round(snapshot.rgbIntensity));
    els.strobeIntensity.value = String(Math.round(snapshot.whiteIntensity));
    els.rgbPulseEnabled.checked = true;
  }
  if (HAS_AURORA_MODE) {
    const auroraOverride = state.sessionAuroraOverride;
    const auroraMode = auroraOverride ? auroraOverride.mode : snapshot.auroraMode || "off";
    els.auroraEnabled.checked = auroraMode !== "off";
    els.auroraPreset.value = auroraMode === "off" ? "subtle" : auroraMode;
    if (auroraOverride) {
      els.auroraSpeed.value = String(clamp(Number(auroraOverride.speed ?? 0.25), 0.05, 2));
      els.auroraDepth.value = String(clamp(Number(auroraOverride.depth ?? 45), 0, 100));
    } else if (auroraMode === "custom") {
      els.auroraSpeed.value = String(clamp(Number(snapshot.auroraSpeed ?? 0.25), 0.05, 2));
      els.auroraDepth.value = String(clamp(Number(snapshot.auroraDepth ?? 45), 0, 100));
    } else if (auroraMode !== "off") {
      const auroraDefaults = auroraPresetDefaults(auroraMode);
      els.auroraSpeed.value = String(auroraDefaults.speed);
      els.auroraDepth.value = String(auroraDefaults.depth);
    }
    updateAuroraControls();
  }
  useSessionFrequencyRange();
  els.frequency.value = String(Math.max(snapshot.lightHz, 0.1));
  els.audioMode.value = snapshot.audioMode;
  els.audioPulseShape.value = snapshot.audioPulseShape || snapshot.pulseShape;
  els.noiseType.value = snapshot.noiseType;
  state.sessionPulseVolumeBase = clamp(Number(snapshot.pulseVolume) || 0, 0, 100);
  if (!state.sessionPulseVolumeInteracting) {
    els.audioVolume.value = String(Math.round(effectiveSessionPulseVolume(state.sessionPulseVolumeBase)));
  }
  els.noiseVolume.value = String(Math.round(snapshot.noiseVolume));
  if (HAS_SESSION_REVERB) {
    els.reverbPreset.value = snapshot.reverbPreset;
    els.reverbMix.value = String(Math.round(snapshot.reverbMix));
    els.reverbDecay.value = String(Number(snapshot.reverbDecay.toFixed(1)));
    const defaults = reverbPresetDefaults(snapshot.reverbPreset);
    els.reverbPreDelay.value = String(defaults.preDelay);
    updateMusicReverb();
  }
  els.musicVolume.value = String(Math.round(clamp(snapshot.musicVolume, 0, 100)));
  updateSessionMusicVolumes();
  updateMusicUi();
  void updateNoiseLayer();
  state.sessionPulseMode = "sync";
  state.sessionPulseShape = snapshot.lightPulseShape || snapshot.pulseShape;
  state.sessionLightHz = snapshot.lightHz;
  state.audioBeatOverride = snapshot.audioHz;

  els.sessionStatus.value = activeSessionRunStatusText();
  const runDuration = state.sessionRunPlan?.totalDurationSeconds || program.durationSeconds;
  const runElapsed = currentRunElapsedSeconds();
  els.sessionTimer.value = formatSessionTime(Math.max(0, runDuration - runElapsed));
  els.sessionProgressBar.style.width = `${(runElapsed / Math.max(1, runDuration)) * 100}%`;
  const activeMarker = activeTimelineMarker(program, state.sessionElapsedSeconds);
  const timelineMarkers = normalizeTimelineMarkers(program.timeline.markers, program.durationSeconds);
  const activeSegment = activeSessionRunSegment();
  const markerName = localizedTimelineMarkerName(activeMarker.marker, activeMarker.index);
  els.sessionPhaseName.textContent = activeSegment?.type === "baseline"
    ? `${currentLanguage === "nl" ? "Baseline" : "Baseline"} - ${markerName}`
    : markerName;
  els.sessionPhasePurpose.textContent = localizedTimelineMarkerPurpose(program, activeMarker.marker);
  els.sessionPhases.querySelectorAll("li").forEach((item) => {
    const markerIndex = Number(item.dataset.markerIndex);
    const isActive = markerIndex === activeMarker.index;
    item.classList.toggle("active", isActive);
    const colorDot = item.querySelector("i");
    if (colorDot) {
      colorDot.style.background = isActive
        ? snapshot.color
        : colorAtTimelineKeyframes(
            program.timeline.curves.color,
            timelineMarkers[markerIndex]?.time ?? 0,
            "#40c9ff",
            program.colorCrossfadeSeconds ?? 0
          );
    }
  });
  updateSessionGraphState(program);
  updateBreathingGuide();

  updateLabels();
  renderDmx();
  sendFrame();
  void publishScreenLightState();
}

async function startSession(requestedProgramIdOverride = null) {
  if (state.sessionRunning && state.sessionPaused) {
    state.sessionPaused = false;
    state.sessionLastTick = performance.now();
    setButtonLabel(els.sessionPauseButton, currentLanguage === "nl" ? "Pauze" : "Pause");
    await startAudio();
    if (state.sessionVoicePausedBySession) {
      state.sessionVoicePausedBySession = false;
      void state.sessionVoicePlayer?.play().catch((error) => console.error(error));
    }
    applySessionFrame();
    return;
  }

  if (state.sessionRunning) return;
  const requestedProgramId = typeof requestedProgramIdOverride === "string"
    ? requestedProgramIdOverride
    : els.sessionSelect.value;
  await refreshGuidedSessionFromMarketplaceBeforeStart(requestedProgramId);
  const baselineChoiceAvailable = museBaselineChoiceAvailable();
  if (!baselineChoiceAvailable) {
    state.sessionPendingStartBaselineId = "";
    state.sessionPreBaselineId = "none";
    state.sessionPreBaselineDisabledByUser = true;
    localStorage.setItem(SESSION_PRE_BASELINE_STORAGE_KEY, "none");
    localStorage.setItem(SESSION_PRE_BASELINE_DISABLED_STORAGE_KEY, "true");
  }
  if (els.sessionPreBaselineSelect && baselineChoiceAvailable) {
    const controlBaselineId = validPreBaselineId(els.sessionPreBaselineSelect.value);
    state.sessionPreBaselineId = controlBaselineId;
    state.sessionPreBaselineDisabledByUser = controlBaselineId === "none";
    localStorage.setItem(SESSION_PRE_BASELINE_STORAGE_KEY, state.sessionPreBaselineId);
    localStorage.setItem(SESSION_PRE_BASELINE_DISABLED_STORAGE_KEY, state.sessionPreBaselineDisabledByUser ? "true" : "false");
  }
  const pendingBaselineId = baselineChoiceAvailable && state.sessionPendingStartBaselineId
    ? validPreBaselineId(state.sessionPendingStartBaselineId)
    : null;
  const selectedBaselineId = selectedPreBaselineIdForProgram(requestedProgramId);
  const automaticBaselineId = !state.sessionPreBaselineDisabledByUser && baselineChoiceAvailable
    ? defaultPreBaselineIdForProgram(requestedProgramId)
    : "none";
  const lockedBaselineId = pendingBaselineId
    || (selectedBaselineId !== "none" ? selectedBaselineId : automaticBaselineId);
  const adaptiveRequested = adaptiveSessionEnabledForProgram(requestedProgramId);
  const runPlan = createSessionRunPlan(requestedProgramId, lockedBaselineId);
  window.__NSP_BASELINE_DEBUG__ = {
    requestedProgramId,
    controlBaselineId: els.sessionPreBaselineSelect ? validPreBaselineId(els.sessionPreBaselineSelect.value) : "none",
    stateBaselineId: validPreBaselineId(state.sessionPreBaselineId),
    selectedBaselineId,
    automaticBaselineId,
    lockedBaselineId,
    runSegments: runPlan.segments.map((segment) => `${segment.type}:${segment.programId}`)
  };
  console.info("NeuroSync baseline start plan", window.__NSP_BASELINE_DEBUG__);
  const firstSegment = runPlan.segments[0];
  const program = sessionPrograms[firstSegment?.programId];
  if (!program) return;
  if (program.requiresMuseSensorContact) {
    const readiness = museBaselineSensorReadiness();
    if (!readiness.ready) {
      state.sessionPendingStartProgramId = requestedProgramId;
      state.sessionPendingStartBaselineId = lockedBaselineId;
      setMuseMonitorVisible(true, false);
      els.sessionStatus.value = museBaselineReadinessMessage(readiness);
      els.sessionPhaseName.textContent = currentLanguage === "nl" ? "Sensorcheck" : "Sensor check";
      els.sessionPhasePurpose.textContent = museBaselineReadinessMessage(readiness);
      els.sessionStartButton.textContent = currentLanguage === "nl" ? "Wacht op sensoren" : "Waiting for sensors";
      els.sessionStartButton.disabled = true;
      els.sessionStopButton.disabled = false;
      return;
    }
  }

  if (await screenLightSessionNeedsPreparation()) {
    const preparationCompleted = await startScreenLightPreparationCountdown(requestedProgramId);
    if (!preparationCompleted) return;
  }

  state.sessionPendingStartProgramId = "";
  state.sessionPendingStartBaselineId = "";
  exitMusicLightCodeSafeMode();
  saveSessionProgram(requestedProgramId);
  if (state.audioEnabled) {
    await stopAudio();
  }
  state.sessionSnapshot = {
    frequency: els.frequency.value,
    strobeIntensity: els.strobeIntensity.value,
    rgbColor: els.rgbColor.value,
    rgbIntensity: els.rgbIntensity.value,
    rgbPulseEnabled: els.rgbPulseEnabled.checked,
    ganzfeldActive: state.ganzfeldActive,
    sessionWhiteLightDisabled: els.sessionWhiteLightDisabled.checked,
    auroraEnabled: HAS_AURORA_MODE ? els.auroraEnabled.checked : false,
    auroraPreset: HAS_AURORA_MODE ? els.auroraPreset.value : "subtle",
    auroraSpeed: HAS_AURORA_MODE ? els.auroraSpeed.value : "0.25",
    auroraDepth: HAS_AURORA_MODE ? els.auroraDepth.value : "45",
    audioMode: els.audioMode.value,
    audioPulseShape: els.audioPulseShape.value,
    carrierFrequency: els.carrierFrequency.value,
    audioVolume: els.audioVolume.value,
    noiseType: els.noiseType.value,
    noiseVolume: els.noiseVolume.value,
    reverbPreset: HAS_SPATIAL_REVERB ? els.reverbPreset.value : "none",
    reverbMix: HAS_SPATIAL_REVERB ? els.reverbMix.value : "0",
    reverbDecay: HAS_SPATIAL_REVERB ? els.reverbDecay.value : "2.5",
    reverbPreDelay: HAS_SPATIAL_REVERB ? els.reverbPreDelay.value : "25",
    audioEnabled: false,
    musicVolume: els.musicVolume.value,
    musicShuffleEnabled: state.musicShuffleEnabled,
    musicTrackIndex: state.musicTrackIndex
  };
  els.musicPlayer.pause();
  if (state.sessionMusicCrossfade) {
    state.sessionMusicCrossfade.player.pause();
    state.sessionMusicCrossfade = null;
  }
  state.sessionRequestedProgramId = requestedProgramId;
  state.sessionRunPlan = runPlan;
  state.sessionRunSegmentIndex = 0;
  state.sessionRunElapsedSeconds = 0;
  state.sessionProgramId = firstSegment.programId;
  state.sessionVoiceCueKeys = new Set();
  state.sessionVoicePausedBySession = false;
  stopSessionVoiceCue();
  els.sessionSelect.value = requestedProgramId;
  state.sessionElapsedSeconds = 0;
  state.sessionEegSamples = [];
  resetSessionPulseVolumeScale();
  beginAdaptiveSession(adaptiveRequested, requestedProgramId);
  state.sessionAnalysisPrompt = "";
  state.sessionAnalysisStatusOverride = "";
  clearSessionAnalysisPolling();
  state.sessionAnalysisId = "";
  state.sessionAnalysisCreditId = "";
  state.sessionAnalysisPollStartedAt = 0;
  state.sessionAnalysisReportTitle = "";
  state.sessionAnalysisReportHtml = "";
  state.lastEegSampleAt = 0;
  state.sessionRunning = true;
  state.sessionPaused = false;
  state.sessionEnded = false;
  state.sessionLastTick = performance.now();
  setActiveControlTab("sessions", false);
  updateControlTabAvailability();
  state.sessionMusicQueue = [];
  state.sessionMusicQueues = {};
  state.sessionMusicPhaseIndex = -1;
  state.sessionMusicMoodKey = null;
  if (state.sessionMusicCrossfade) {
    state.sessionMusicCrossfade.player.pause();
  }
  state.sessionMusicCrossfade = null;
  state.sessionGanzfeldOverride = null;
  state.sessionAuroraOverride = null;
  els.audioMode.value = program.audioMode;
  setCarrierFrequencyValue(program.carrier);
  els.sessionStartButton.textContent = currentLanguage === "nl" ? "Sessie actief" : "Session active";
  els.sessionStartButton.disabled = true;
  els.sessionCategory.disabled = true;
  els.sessionSelect.disabled = true;
  updateSessionPreBaselineControls();
  els.sessionPauseButton.disabled = false;
  els.sessionStopButton.disabled = false;
  updateAnalysisControls();
  if (program.allowedMusicMoods && state.musicTracks.length) {
    state.musicShuffleEnabled = true;
    els.musicPlayer.loop = false;
    state.sessionMusicDucking = true;
  }
  renderSessionProgram();
  applySessionFrame();
  await startAudio();
  updateTransportPanel();
}

async function pauseSession() {
  if (!state.sessionRunning) return;

  if (state.sessionPaused) {
    state.sessionPaused = false;
    state.sessionLastTick = performance.now();
    setButtonLabel(els.sessionPauseButton, currentLanguage === "nl" ? "Pauze" : "Pause");
    if (state.sessionPauseMusicWasPlaying) {
      try {
        if (state.sessionMusicCrossfade?.pausedAt) {
          state.sessionMusicCrossfade.startedAt += performance.now() - state.sessionMusicCrossfade.pausedAt;
          delete state.sessionMusicCrossfade.pausedAt;
        }
        await els.musicPlayer.play();
        if (state.sessionMusicCrossfade) {
          await state.sessionMusicCrossfade.player.play();
        }
      } catch (error) {
        console.error(error);
      }
    }
    state.sessionPauseMusicWasPlaying = false;
    if (state.sessionVoicePausedBySession) {
      state.sessionVoicePausedBySession = false;
      void state.sessionVoicePlayer?.play().catch((error) => console.error(error));
    }
    await startAudio();
    updateBreathingGuide();
  } else {
    state.sessionPaused = true;
    setButtonLabel(els.sessionPauseButton, currentLanguage === "nl" ? "Hervat" : "Resume");
    state.sessionPauseMusicWasPlaying = isMusicPlaying()
      || Boolean(state.sessionMusicCrossfade && !state.sessionMusicCrossfade.player.paused);
    els.musicPlayer.pause();
    if (state.sessionMusicCrossfade) {
      state.sessionMusicCrossfade.pausedAt = performance.now();
      state.sessionMusicCrossfade.player.pause();
    }
    if (state.sessionVoicePlayer && !state.sessionVoicePlayer.paused) {
      state.sessionVoicePlayer.pause();
      state.sessionVoicePausedBySession = true;
    } else {
      state.sessionVoicePausedBySession = false;
    }
    await stopAudio();
    stopBreathingGuide("Gepauzeerd");
  }
  applySessionFrame();
  updateTransportPanel();
}

async function stopSession(completed = false) {
  if (state.sessionScreenLightPreparing) {
    finishScreenLightPreparation(false);
    return;
  }
  if (state.sessionPendingStartProgramId && !state.sessionRunning) {
    clearPendingSessionStart();
    return;
  }
  if (!state.sessionRunning) return;
  const snapshot = state.sessionSnapshot;
  const requestedProgramId = state.sessionRunPlan?.requestedProgramId || state.sessionRequestedProgramId || state.sessionProgramId;

  state.sessionRunning = false;
  state.sessionPaused = false;
  state.sessionEnded = hasAnalysisData();
  state.sessionPulseMode = null;
  state.sessionPulseShape = "square";
  resetSessionPulseVolumeScale();
  state.sessionLightHz = 0;
  state.sessionGanzfeldMode = false;
  state.sessionGanzfeldOverride = null;
  state.sessionAuroraOverride = null;
  state.sessionAdaptiveActive = false;
  state.sessionAdaptiveLightScale = 1;
  state.sessionAdaptiveAudioScale = 1;
  state.sessionAdaptiveFrequencyOffset = 0;
  state.sessionAdaptiveRecoveryUntil = 0;
  state.audioBeatOverride = null;
  state.sessionMusicDucking = false;
  state.sessionMusicQueue = [];
  state.sessionMusicQueues = {};
  state.sessionMusicPhaseIndex = -1;
  state.sessionPauseMusicWasPlaying = false;
  stopSessionVoiceCue();
  stopBreathingGuide(completed ? "Voltooid" : els.breathingGuideEnabled.checked ? "Gereed" : "Uit");
  if (state.sessionMusicCrossfade) {
    state.sessionMusicCrossfade.player.pause();
    state.sessionMusicCrossfade = null;
  }
  state.sessionElapsedSeconds = completed ? (sessionPrograms[state.sessionProgramId]?.durationSeconds || 0) : 0;
  state.sessionRunElapsedSeconds = completed
    ? (state.sessionRunPlan?.totalDurationSeconds || currentRunElapsedSeconds())
    : 0;
  state.sessionProgramId = requestedProgramId;
  state.sessionRequestedProgramId = requestedProgramId;
  if (sessionPrograms[requestedProgramId]) els.sessionSelect.value = requestedProgramId;
  els.sessionStatus.value = localizedRuntimeText(completed ? "Voltooid" : "Gereed");
  els.sessionStartButton.textContent = currentLanguage === "nl" ? "Start sessie" : "Start session";
  els.sessionStartButton.disabled = false;
  els.sessionCategory.disabled = false;
  els.sessionSelect.disabled = false;
  updateSessionPreBaselineControls();
  setButtonLabel(els.sessionPauseButton, currentLanguage === "nl" ? "Pauze" : "Pause");
  els.sessionPauseButton.disabled = true;
  els.sessionStopButton.disabled = true;
  updateAnalysisControls();
  els.sessionPhaseName.textContent = completed
    ? (currentLanguage === "nl" ? "Sessie voltooid" : "Session completed")
    : (currentLanguage === "nl" ? "Niet gestart" : "Not started");
  els.sessionPhasePurpose.textContent = completed
    ? (currentLanguage === "nl" ? "Neem rustig de tijd voordat je verdergaat." : "Take a quiet moment before continuing.")
    : (currentLanguage === "nl" ? "Kies Start sessie om het programma te beginnen." : "Choose Start session to begin the program.");
  els.sessionProgressBar.style.width = completed ? "100%" : "0%";
  els.sessionPhases.querySelectorAll("li").forEach((item) => item.classList.remove("active"));

  await stopAudio();
  if (completed) {
    useManualFrequencyRange();
    state.ganzfeldActive = false;
    updateGanzfeldControls();
    els.strobeIntensity.value = "0";
    els.rgbIntensity.value = "0";
    els.rgbPulseEnabled.checked = false;
    els.audioVolume.value = "0";
    els.noiseType.value = "none";
    els.noiseVolume.value = "0";
    if (HAS_SPATIAL_REVERB) {
      els.reverbPreset.value = "none";
      els.reverbMix.value = "0";
      updateMusicReverb();
    }
    els.musicVolume.value = "0";
    els.musicPlayer.volume = 0;
    els.musicPlayer.pause();
    updateMusicUi();
    state.sessionSnapshot = null;
    renderSessionProgram();
    onControlChange();
    updateControlTabAvailability();
    return;
  }

  if (snapshot) {
    els.frequency.value = snapshot.frequency;
    useManualFrequencyRange();
    els.strobeIntensity.value = snapshot.strobeIntensity;
    els.rgbColor.value = snapshot.rgbColor;
    els.rgbIntensity.value = snapshot.rgbIntensity;
    els.rgbPulseEnabled.checked = snapshot.rgbPulseEnabled;
    state.ganzfeldActive = Boolean(snapshot.ganzfeldActive);
    els.sessionWhiteLightDisabled.checked = Boolean(snapshot.sessionWhiteLightDisabled);
    updateGanzfeldControls();
    if (HAS_AURORA_MODE) {
      els.auroraEnabled.checked = Boolean(snapshot.auroraEnabled);
      els.auroraPreset.value = snapshot.auroraPreset || "subtle";
      els.auroraSpeed.value = snapshot.auroraSpeed || "0.25";
      els.auroraDepth.value = snapshot.auroraDepth || "45";
      updateAuroraControls();
    }
    els.audioMode.value = snapshot.audioMode;
    els.audioPulseShape.value = snapshot.audioPulseShape;
    els.carrierFrequency.value = snapshot.carrierFrequency;
    els.audioVolume.value = snapshot.audioVolume;
    els.noiseType.value = snapshot.noiseType || "none";
    els.noiseVolume.value = snapshot.noiseVolume || "0";
    if (HAS_SPATIAL_REVERB) {
      els.reverbPreset.value = snapshot.reverbPreset || "none";
      els.reverbMix.value = snapshot.reverbMix || "0";
      els.reverbDecay.value = snapshot.reverbDecay || "2.5";
      els.reverbPreDelay.value = snapshot.reverbPreDelay || "25";
      updateMusicReverb();
    }
    els.musicVolume.value = snapshot.musicVolume;
    els.musicPlayer.volume = clamp(Number(snapshot.musicVolume), 0, 100) / 100;
    state.musicShuffleEnabled = snapshot.musicShuffleEnabled;
    els.musicPlayer.loop = !state.musicShuffleEnabled;
    if (Number.isInteger(snapshot.musicTrackIndex)) {
      loadMusicTrack(snapshot.musicTrackIndex, false);
    }
    els.musicPlayer.pause();
    if (snapshot.audioEnabled) await startAudio();
  } else {
    useManualFrequencyRange();
  }
  state.sessionSnapshot = null;
  renderSessionProgram();
  onControlChange();
  updateControlTabAvailability();
}

async function advanceSessionRunSegment() {
  const currentProgram = sessionPrograms[state.sessionProgramId];
  state.sessionRunElapsedSeconds += currentProgram?.durationSeconds || state.sessionElapsedSeconds;
  state.sessionRunSegmentIndex += 1;
  stopSessionVoiceCue();
  const nextSegment = activeSessionRunSegment();
  const nextProgram = sessionPrograms[nextSegment?.programId];
  if (!nextSegment || !nextProgram) return false;
  if (state.sessionAdaptiveActive && nextSegment.type === "session") {
    state.sessionAdaptiveStartedAt = performance.now();
    state.sessionAdaptiveLastDecisionAt = 0;
    state.sessionAdaptiveDecision = {
      action: "session-start",
      reason: "baseline_complete",
      statusKey: "adaptiveSessionActive"
    };
    updateSessionAdaptiveControls();
  }

  state.sessionProgramId = nextSegment.programId;
  state.sessionElapsedSeconds = 0;
  state.sessionLastTick = performance.now();
  state.sessionMusicQueue = [];
  state.sessionMusicQueues = {};
  state.sessionMusicPhaseIndex = -1;
  state.sessionMusicMoodKey = null;
  state.sessionMusicCrossfade = null;
  state.sessionGanzfeldOverride = null;
  state.sessionAuroraOverride = null;
  els.sessionSelect.value = state.sessionRunPlan?.requestedProgramId || nextSegment.programId;
  els.audioMode.value = nextProgram.audioMode;
  setCarrierFrequencyValue(nextProgram.carrier);
  renderSessionProgram();
  if (nextProgram.allowedMusicMoods && state.musicTracks.length) {
    state.musicShuffleEnabled = true;
    els.musicPlayer.loop = false;
    state.sessionMusicDucking = true;
  }
  applySessionFrame();
  if (state.audioEnabled) await updateAudioParameters();
  else await startAudio();
  return true;
}

function tickSession() {
  if (!state.sessionRunning || state.sessionPaused || state.blackoutActive) return;
  const now = performance.now();
  state.sessionElapsedSeconds += (now - state.sessionLastTick) / 1000;
  state.sessionLastTick = now;
  const program = sessionPrograms[state.sessionProgramId];

  if (state.sessionElapsedSeconds >= program.durationSeconds) {
    state.sessionElapsedSeconds = program.durationSeconds;
    if (state.sessionRunPlan?.segments?.[state.sessionRunSegmentIndex + 1]) {
      void advanceSessionRunSegment();
      return;
    }
    void stopSession(true);
    return;
  }

  applySessionFrame();
}

function updateVisualizer(strobeIntensity, rgbIntensity) {
  const color = els.rgbColor.value;
  const lightCodeDisplay = activeMusicLightCodeDisplay();
  const lightCodeLevel = clamp(Math.max(strobeIntensity, rgbIntensity) / 100, 0, 1);
  if (els.visualizer) {
    if (lightCodeDisplay) {
      const lightCodeColor = musicLightCodeUsesWhiteFlashOnly(lightCodeDisplay.type)
        ? "#ffffff"
        : /^#[0-9a-f]{6}$/i.test(color || "") ? color : "var(--audio-band)";
      els.visualizer.style.setProperty("--light-code-color", lightCodeColor);
      els.visualizer.style.setProperty("--light-code-level", lightCodeLevel.toFixed(3));
      els.visualizer.style.setProperty("--light-code-opacity", (0.28 + lightCodeLevel * 0.68).toFixed(3));
      els.visualizer.style.setProperty("--light-code-glow", `${Math.round(10 + lightCodeLevel * 30)}px`);
      els.visualizer.style.setProperty("--light-code-audio-glow", `${Math.round(18 + lightCodeLevel * 34)}px`);
      els.visualizer.style.setProperty("--light-code-inner-glow", `${Math.round(8 + lightCodeLevel * 22)}px`);
      els.visualizer.classList.toggle("light-code-white", musicLightCodeUsesWhiteFlashOnly(lightCodeDisplay.type));
      els.visualizer.classList.toggle("light-code-rgb", musicLightCodeUsesRgb(lightCodeDisplay.type));
    } else {
      els.visualizer.style.removeProperty("--light-code-color");
      els.visualizer.style.removeProperty("--light-code-level");
      els.visualizer.style.removeProperty("--light-code-opacity");
      els.visualizer.style.removeProperty("--light-code-glow");
      els.visualizer.style.removeProperty("--light-code-audio-glow");
      els.visualizer.style.removeProperty("--light-code-inner-glow");
      els.visualizer.classList.remove("light-code-white", "light-code-rgb");
    }
  }
  els.beamWhite.style.opacity = String(strobeIntensity / 120);
  els.beamWhite.style.transform = `scale(${0.75 + strobeIntensity / 180})`;
  els.beamColor.style.background = color;
  els.beamColor.style.opacity = String(rgbIntensity / 100);
  els.beamColor.style.transform = `scale(${0.75 + rgbIntensity / 160})`;

  clearInterval(state.flashTimer);
  state.flashTimer = null;

  if (strobeIntensity <= 0 || !state.enabled) return;

  const visualizerFrequency = lightCodeDisplay?.frequency ?? Number(els.frequency.value);
  const interval = 1000 / clamp(visualizerFrequency, 1, 40);
  state.flashTimer = setInterval(() => {
    els.visualizer.classList.remove("flash-on");
    void els.visualizer.offsetWidth;
    els.visualizer.classList.add("flash-on");
  }, interval);
}

function updateConnection(connected, text) {
  if (state.connectionStatusConnected === connected && state.connectionStatusText === text) return;
  state.connectionStatusConnected = connected;
  state.connectionStatusText = text;
  els.statusDot.classList.toggle("connected", connected);
  els.statusText.textContent = localizedRuntimeText(text);
}

function recordConnectionResult(connected, errorText) {
  if (connected) {
    state.connectionSuccesses += 1;
    state.connectionFailures = 0;
    state.lastConnectionSuccessAt = Date.now();
    if (state.connectionSuccesses >= 2) {
      updateConnection(true, selectedDmxOutputMode() !== "artnet" ? "USB-DMX actief" : "Art-Net actief");
    }
    return;
  }

  state.connectionFailures += 1;
  state.connectionSuccesses = 0;
  const noRecentSuccess = Date.now() - state.lastConnectionSuccessAt >= 2000;
  if (state.connectionFailures >= 5 && noRecentSuccess) {
    updateConnection(false, errorText);
  }
}

function readDmxOwner() {
  try {
    return JSON.parse(localStorage.getItem(DMX_OWNER_STORAGE_KEY) || "null");
  } catch {
    return null;
  }
}

function claimDmxControl(force = false) {
  if (!HAS_LIGHT) {
    state.hasDmxControl = false;
    return;
  }
  if (document.hidden) {
    state.hasDmxControl = false;
    return;
  }

  const now = Date.now();
  const owner = readDmxOwner();
  const ownerExpired = !owner || now - Number(owner.updatedAt || 0) > DMX_OWNER_LEASE_MS;
  if (force || ownerExpired || owner.id === DMX_OWNER_ID) {
    try {
      localStorage.setItem(DMX_OWNER_STORAGE_KEY, JSON.stringify({ id: DMX_OWNER_ID, updatedAt: now }));
    } catch {
      // Local storage can be unavailable in strict browser modes; this tab then remains responsible.
    }
    state.hasDmxControl = true;
    if (!state.connectionSuccesses) {
      updateConnection(false, selectedDmxOutputMode() !== "artnet" ? "USB-DMX verbinden..." : "Art-Net verbinden...");
    }
    return;
  }

  state.hasDmxControl = false;
  updateConnection(false, selectedDmxOutputMode() !== "artnet" ? "USB-DMX stand-by" : "Art-Net stand-by");
}

function releaseDmxControl() {
  if (!HAS_LIGHT) return;
  const owner = readDmxOwner();
  if (owner?.id === DMX_OWNER_ID) {
    try {
      localStorage.removeItem(DMX_OWNER_STORAGE_KEY);
    } catch {
      // Nothing else is required when storage is unavailable.
    }
  }
  state.hasDmxControl = false;
}

async function blackout() {
  if (!state.blackoutActive) {
    state.blackoutSnapshot = {
      strobeIntensity: els.strobeIntensity.value,
      rgbIntensity: els.rgbIntensity.value,
      audioEnabled: state.audioEnabled,
      musicPlaying: isMusicPlaying(),
      crossfadePlaying: Boolean(state.sessionMusicCrossfade && !state.sessionMusicCrossfade.player.paused),
      sessionRunning: state.sessionRunning,
      sessionPaused: state.sessionPaused
    };
    state.blackoutActive = true;
    if (state.sessionRunning) {
      els.sessionStatus.value = localizedRuntimeText("Blackout");
    }
    els.strobeIntensity.value = "0";
    els.rgbIntensity.value = "0";
    els.musicPlayer.pause();
    if (state.sessionMusicCrossfade) {
      state.sessionMusicCrossfade.pausedAt = performance.now();
      state.sessionMusicCrossfade.player.pause();
    }
    stopBreathingGuide("Blackout");
    await stopAudio();
  } else {
    const snapshot = state.blackoutSnapshot || {};
    state.blackoutActive = false;
    if (state.ganzfeldActive) {
      els.strobeIntensity.value = snapshot.strobeIntensity || "0";
      els.rgbIntensity.value = snapshot.rgbIntensity || "0";
    }
    if (snapshot.sessionRunning && state.sessionRunning) {
      state.sessionLastTick = performance.now();
      applySessionFrame();
    } else if (!state.ganzfeldActive) {
      els.strobeIntensity.value = snapshot.strobeIntensity || "25";
      els.rgbIntensity.value = snapshot.rgbIntensity || "0";
    }
    if (state.sessionMusicCrossfade?.pausedAt) {
      state.sessionMusicCrossfade.startedAt += performance.now() - state.sessionMusicCrossfade.pausedAt;
      delete state.sessionMusicCrossfade.pausedAt;
    }
    if (snapshot.musicPlaying) {
      try {
        await els.musicPlayer.play();
        if (snapshot.crossfadePlaying && state.sessionMusicCrossfade) {
          await state.sessionMusicCrossfade.player.play();
        }
      } catch (error) {
        console.error(error);
      }
    }
    if (snapshot.audioEnabled) {
      await startAudio();
    }
    updateBreathingGuide();
    if (snapshot.sessionRunning && state.sessionRunning) {
      els.sessionStatus.value = localizedRuntimeText(snapshot.sessionPaused ? "Gepauzeerd" : "Actief");
    }
    state.blackoutSnapshot = null;
  }

  updateLabels();
  renderDmx();
  sendFrame();
  void publishScreenLightState();
}

function updateGanzfeldControls() {
  const active = state.ganzfeldActive;
  els.ganzfeldEnabled.checked = active;
  els.ganzfeldEnabled.closest(".ganzfeld-control")?.classList.toggle("active", active);
  els.ganzfeldEnabled.disabled = false;
  els.strobeIntensity.disabled = active;
  els.sessionWhiteLightDisabled.disabled = active;
}

function setSessionGanzfeldOverrideFromControls() {
  if (!state.sessionRunning) return;
  state.sessionGanzfeldOverride = els.ganzfeldEnabled.checked === true;
}

function setSessionAuroraOverrideFromControls() {
  if (!state.sessionRunning || !HAS_AURORA_MODE) return;
  const mode = els.auroraEnabled.checked ? els.auroraPreset.value || "subtle" : "off";
  state.sessionAuroraOverride = {
    mode,
    speed: clamp(Number(els.auroraSpeed.value), 0.05, 2),
    depth: clamp(Number(els.auroraDepth.value), 0, 100)
  };
}

function updateAuroraControls() {
  if (!HAS_AURORA_MODE) return;
  const active = els.auroraEnabled.checked;
  els.auroraEnabled.closest(".aurora-control")?.classList.toggle("active", active);
  const custom = els.auroraPreset.value === "custom";
  els.auroraSpeed.disabled = !custom;
  els.auroraDepth.disabled = !custom;
}

function applyAuroraPresetDefaults() {
  if (!HAS_AURORA_MODE) return;
  const preset = els.auroraPreset.value || "subtle";
  if (preset !== "custom") {
    const defaults = auroraPresetDefaults(preset);
    els.auroraSpeed.value = String(defaults.speed);
    els.auroraDepth.value = String(defaults.depth);
  }
  updateAuroraControls();
}

function setGanzfeldMode(active) {
  const nextActive = Boolean(active);
  if (nextActive === state.ganzfeldActive) {
    updateGanzfeldControls();
    return;
  }

  if (nextActive) {
    state.ganzfeldSnapshot = {
      strobeIntensity: els.strobeIntensity.value,
      rgbColor: els.rgbColor.value,
      rgbIntensity: els.rgbIntensity.value,
      rgbPulseEnabled: els.rgbPulseEnabled.checked,
      sessionWhiteLightDisabled: els.sessionWhiteLightDisabled.checked
    };
    state.ganzfeldActive = true;
  } else {
    const snapshot = state.ganzfeldSnapshot;
    state.ganzfeldActive = false;
    state.ganzfeldSnapshot = null;
    if (snapshot) {
      els.strobeIntensity.value = snapshot.strobeIntensity;
      els.rgbColor.value = snapshot.rgbColor;
      els.rgbIntensity.value = snapshot.rgbIntensity;
      els.rgbPulseEnabled.checked = snapshot.rgbPulseEnabled;
      els.sessionWhiteLightDisabled.checked = snapshot.sessionWhiteLightDisabled;
    }
    if (state.sessionRunning) applySessionFrame();
  }

  updateGanzfeldControls();
  updateLabels();
  renderDmx();
  sendFrame();
  void publishScreenLightState();
}

function onControlChange(event = null) {
  if (event?.target === els.audioVolume) {
    updateSessionPulseVolumeScaleFromControl();
  }

  if (state.blackoutActive && (Number(els.strobeIntensity.value) > 0 || Number(els.rgbIntensity.value) > 0)) {
    state.blackoutActive = false;
    state.blackoutSnapshot = null;
  }

  updateLabels();
  renderDmx();
  sendFrame();
  void publishScreenLightState();
}

function saveFixtureValues(profileId) {
  const profile = fixtureProfiles[profileId];
  if (!profile) return;

  Object.keys(profile.values).forEach((id) => {
    if (els[id]) {
      profile.values[id] = els[id].type === "checkbox" ? els[id].checked : els[id].value;
    }
  });
}

function applyFixtureProfile(profileId) {
  const profile = fixtureProfiles[profileId];
  if (!profile) return;

  Object.entries(profile.values).forEach(([id, value]) => {
    if (els[id]) {
      if (els[id].type === "checkbox") {
        els[id].checked = Boolean(value);
      } else {
        els[id].value = String(value);
      }
    }
  });
  useManualFrequencyRange();

  els.frequencyPresets.forEach((button, index) => {
    button.dataset.color = profile.frequencyPresetColors[index];
  });
  updateGanzfeldControls();
  els.sentHexLabel.textContent = currentLanguage === "nl"
    ? `Verzonden HEX-code naar ${profile.name}`
    : `HEX code sent to ${profile.name}`;
  state.activeFixtureId = profileId;
  localStorage.setItem(ACTIVE_FIXTURE_STORAGE_KEY, profileId);
  onControlChange();
}

function restoreActiveFixture() {
  let storedFixtureId = localStorage.getItem(ACTIVE_FIXTURE_STORAGE_KEY);
  if (!localStorage.getItem(FIXTURE_DEFAULT_MIGRATION_KEY)) {
    if (!storedFixtureId || storedFixtureId === "eurolite-abl-13ch") {
      storedFixtureId = "atomic-led-strobe-6ch";
    }
    localStorage.setItem(FIXTURE_DEFAULT_MIGRATION_KEY, "1");
  }
  const fixtureMigrations = {
    "beamz-bs336-12ch": "beamz-bs336-30ch",
    "atomic-led-strobe-12ch": "atomic-led-strobe-6ch"
  };
  const migratedFixtureId = fixtureMigrations[storedFixtureId] || storedFixtureId;
  const fixtureId = fixtureProfiles[migratedFixtureId] ? migratedFixtureId : state.activeFixtureId;
  els.fixturePreset.value = fixtureId;
  applyFixtureProfile(fixtureId);
}

document.querySelectorAll("input, select").forEach((input) => {
  if (input === els.ganzfeldEnabled) return;
  if (input === els.openAiApiKeyInput) return;
  if (input === els.sessionPreBaselineSelect) return;
  input.addEventListener("input", onControlChange);
  input.addEventListener("change", onControlChange);
});

els.testButton.addEventListener("click", () => {
  claimDmxControl(true);
  renderDmx();
  sendFrame();
});
els.blackoutButton.addEventListener("click", blackout);
els.outputEnabled.addEventListener("change", () => {
  state.enabled = els.outputEnabled.checked;
  onControlChange();
});

els.sessionCategory.addEventListener("change", () => {
  if (state.sessionRunning) return;
  clearPendingSessionStart();
  updateSessionCategory(els.sessionCategory.value);
});
if (els.sessionSubcategory) {
  els.sessionSubcategory.addEventListener("change", () => {
    if (state.sessionRunning) return;
    clearPendingSessionStart();
    updateSessionCategory(els.sessionCategory.value, null, { preserveAllSubcategory: true });
  });
}
if (els.sessionSearch) {
  const updateSessionSearchResults = () => {
    if (state.sessionRunning) return;
    repairSessionSearchInputValue();
    clearPendingSessionStart();
    const selectedProgram = sessionPrograms[els.sessionSelect.value];
    const preferredProgramId = selectedProgram && programMatchesSessionSearch(selectedProgram)
      ? els.sessionSelect.value
      : null;
    const preferredCategoryId = normalizedSessionSearchQuery()
      ? SEARCH_RESULTS_SESSION_CATEGORY_ID
      : (preferredProgramId ? displaySessionCategoryIdForProgram(sessionPrograms[preferredProgramId]) : els.sessionCategory.value);
    renderSessionCategories();
    updateSessionCategory(preferredCategoryId, preferredProgramId);
  };
  const handleSessionSearchInput = () => {
    if (state.sessionRunning) return;
    repairSessionSearchInputValue();
    clearTimeout(state.sessionSearchTimer);
    state.sessionSearchTimer = setTimeout(updateSessionSearchResults, 180);
  };
  els.sessionSearch.addEventListener("input", handleSessionSearchInput);
  els.sessionSearch.addEventListener("change", () => {
    clearTimeout(state.sessionSearchTimer);
    updateSessionSearchResults();
  });
}
els.sessionSelect.addEventListener("change", () => {
  if (!els.sessionSelect.value) return;
  clearPendingSessionStart();
  hydrateSessionProgram(els.sessionSelect.value);
  state.sessionProgramId = els.sessionSelect.value;
  state.sessionRequestedProgramId = els.sessionSelect.value;
  state.sessionElapsedSeconds = 0;
  saveSessionProgram(state.sessionProgramId);
  renderSessionProgram();
  updateSessionLibraryControls();
});
if (els.sessionEditorCategory) {
  els.sessionEditorCategory.addEventListener("change", () => {
    renderSessionEditorSubcategoryOptions(els.sessionEditorCategory.value, "");
  });
}
if (els.sessionPreBaselineSelect) {
  const beginPreBaselineInteraction = () => {
    state.sessionPreBaselineInteracting = true;
  };
  const endPreBaselineInteraction = () => {
    window.setTimeout(() => {
      state.sessionPreBaselineInteracting = false;
      updateSessionPreBaselineControls();
    }, 150);
  };
  const commitPreBaselineSelection = () => {
    const selectedBaselineId = state.sessionPreBaselinePendingId || els.sessionPreBaselineSelect.value;
    state.sessionPreBaselinePendingId = "";
    clearPendingSessionStart();
    state.sessionPreBaselineId = validPreBaselineId(selectedBaselineId);
    state.sessionPreBaselineDisabledByUser = state.sessionPreBaselineId === "none";
    els.sessionPreBaselineSelect.value = state.sessionPreBaselineId;
    localStorage.setItem(SESSION_PRE_BASELINE_STORAGE_KEY, state.sessionPreBaselineId);
    localStorage.setItem(SESSION_PRE_BASELINE_DISABLED_STORAGE_KEY, state.sessionPreBaselineDisabledByUser ? "true" : "false");
    state.sessionPreBaselineInteracting = false;
    updatePlannedSessionTimer();
    updateSessionPreBaselineControls();
  };
  const rememberPreBaselineSelection = (event) => {
    state.sessionPreBaselinePendingId = validPreBaselineId(event?.target?.value || els.sessionPreBaselineSelect.value);
  };
  els.sessionPreBaselineSelect.addEventListener("pointerdown", beginPreBaselineInteraction);
  els.sessionPreBaselineSelect.addEventListener("focus", beginPreBaselineInteraction);
  els.sessionPreBaselineSelect.addEventListener("blur", endPreBaselineInteraction);
  els.sessionPreBaselineSelect.addEventListener("input", rememberPreBaselineSelection, { capture: true });
  els.sessionPreBaselineSelect.addEventListener("input", commitPreBaselineSelection);
  els.sessionPreBaselineSelect.addEventListener("change", rememberPreBaselineSelection, { capture: true });
  els.sessionPreBaselineSelect.addEventListener("change", commitPreBaselineSelection);
}
if (els.sessionAdaptiveGoal) {
  const beginAdaptiveGoalInteraction = () => {
    state.sessionAdaptiveGoalInteracting = true;
  };
  const endAdaptiveGoalInteraction = () => {
    window.setTimeout(() => {
      state.sessionAdaptiveGoalInteracting = false;
      updateSessionAdaptiveControls();
    }, 150);
  };
  const commitAdaptiveGoal = () => {
    const selectedValue = els.sessionAdaptiveGoal.value;
    if (selectedValue === "off") {
      state.sessionAdaptiveEnabled = false;
      localStorage.setItem(SESSION_ADAPTIVE_ENABLED_STORAGE_KEY, "false");
      els.sessionAdaptiveGoal.value = "off";
    } else {
      state.sessionAdaptiveGoal = normalizedAdaptiveGoal(selectedValue);
      state.sessionAdaptiveEnabled = sessionAdaptiveChoiceAvailable();
      els.sessionAdaptiveGoal.value = state.sessionAdaptiveEnabled ? state.sessionAdaptiveGoal : "off";
      localStorage.setItem(SESSION_ADAPTIVE_ENABLED_STORAGE_KEY, state.sessionAdaptiveEnabled ? "true" : "false");
      localStorage.setItem(SESSION_ADAPTIVE_GOAL_STORAGE_KEY, state.sessionAdaptiveGoal);
    }
    state.sessionAdaptiveGoalInteracting = false;
    updateSessionAdaptiveControls();
  };
  els.sessionAdaptiveGoal.addEventListener("pointerdown", beginAdaptiveGoalInteraction);
  els.sessionAdaptiveGoal.addEventListener("focus", beginAdaptiveGoalInteraction);
  els.sessionAdaptiveGoal.addEventListener("input", commitAdaptiveGoal);
  els.sessionAdaptiveGoal.addEventListener("change", commitAdaptiveGoal);
  els.sessionAdaptiveGoal.addEventListener("blur", endAdaptiveGoalInteraction);
}
els.sessionNewButton.addEventListener("click", () => openSessionEditor());
els.sessionDuplicateButton.addEventListener("click", () => openSessionEditor(els.sessionSelect.value, true));
els.sessionEditButton.addEventListener("click", () => openSessionEditor(els.sessionSelect.value));
els.sessionAskAiButton?.addEventListener("click", openAskAiDialog);
els.sessionDescriptionButton?.addEventListener("click", () => void openSessionDescriptionDialog());
els.sessionDescriptionCloseButton?.addEventListener("click", closeSessionDescriptionDialog);
els.sessionDescriptionCancelButton?.addEventListener("click", closeSessionDescriptionDialog);
els.askAiCloseButton?.addEventListener("click", closeAskAiDialog);
els.askAiCancelButton?.addEventListener("click", closeAskAiDialog);
els.askAiSubmitButton?.addEventListener("click", () => void submitAskAiQuestion());
els.askAiQuestionInput?.addEventListener("keydown", (event) => {
  if ((event.metaKey || event.ctrlKey) && event.key === "Enter") {
    event.preventDefault();
    void submitAskAiQuestion();
  }
});
["input", "change"].forEach((eventName) => {
  els.askAiQuestionInput?.addEventListener(eventName, () => repairTextControlMisophoniaTerminology(els.askAiQuestionInput));
});
els.openAiApiKeySaveButton?.addEventListener("click", saveOpenAiApiKeyFromSettings);
els.openAiApiKeyClearButton?.addEventListener("click", clearOpenAiApiKeyFromSettings);
els.openAiApiKeyInput?.addEventListener("keydown", (event) => {
  if (event.key === "Enter") {
    event.preventDefault();
    saveOpenAiApiKeyFromSettings();
  }
});
els.openAiApiKeyInput?.addEventListener("input", updateSessionDescriptionButtonVisibility);
els.sessionShareButton.addEventListener("click", () => void exportSelectedUserSession());
els.sessionImportButton.addEventListener("click", () => void requestUserSessionImport());
els.sessionMarketplaceButton.addEventListener("click", () => void openMarketplace());
els.sessionInlineDeleteButton?.addEventListener("pointerdown", (event) => {
  event.stopPropagation();
});
els.sessionInlineDeleteButton?.addEventListener("click", (event) => {
  event.preventDefault();
  event.stopPropagation();
  deleteSelectedUserSession();
});
els.sessionDeleteButton?.addEventListener("click", deleteSelectedUserSession);
els.sessionDeleteCloseButton.addEventListener("click", closeSessionDeleteDialog);
els.sessionDeleteCancelButton.addEventListener("click", closeSessionDeleteDialog);
els.sessionDeleteConfirmButton.addEventListener("click", confirmDeleteSelectedUserSession);
els.marketplaceCloseButton.addEventListener("click", () => els.marketplaceDialog.close());
els.marketplaceSearch.addEventListener("input", renderMarketplace);
els.marketplaceCategory.addEventListener("change", renderMarketplace);
els.marketplacePublishButton.addEventListener("click", openMarketplaceUpload);
els.marketplaceUploadCloseButton.addEventListener("click", () => els.marketplaceUploadDialog.close());
els.marketplaceUploadCancelButton.addEventListener("click", () => els.marketplaceUploadDialog.close());
els.marketplacePasteCodeButton?.addEventListener("click", () => void pasteMarketplacePublisherCode());
els.marketplaceUploadSession.addEventListener("change", syncMarketplaceUploadSummary);
els.marketplaceUploadForm.addEventListener("submit", (event) => void submitMarketplaceSession(event));
[
  els.marketplaceCreatorName,
  els.marketplaceCreatorEmail,
  els.marketplaceListingSummary,
  els.marketplaceListingPrice
].forEach((field) => {
  field.addEventListener("input", () => field.removeAttribute("aria-invalid"));
});
els.sessionImportInput.addEventListener("change", async () => {
  const [file] = els.sessionImportInput.files;
  els.sessionImportInput.value = "";
  if (!file) return;
  try {
    importUserSessionContent(await file.text());
  } catch {
    setSessionLibraryMessage("Invalid session file.", "Ongeldig sessiebestand.");
  }
});
els.sessionEditorCloseButton.addEventListener("click", () => els.sessionEditorDialog.close());
els.sessionEditorCancelButton.addEventListener("click", () => els.sessionEditorDialog.close());
els.sessionEditorDialog.addEventListener("close", stopSessionEditorLightPreview);
els.sessionEditorTimelineDuration.addEventListener("input", renderSessionEditorTimeline);

function updateSessionEditorColorPointFromControl(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return false;
  const control = event.target.closest([
    "[data-editor-color-input]",
    "[data-editor-color-ganzfeld]",
    "[data-editor-color-aurora-mode]",
    "[data-editor-color-aurora-speed]",
    "[data-editor-color-aurora-depth]"
  ].join(","));
  if (!control) return false;

  const index = Number(
    control.dataset.editorColorInput
      ?? control.dataset.editorColorGanzfeld
      ?? control.dataset.editorColorAuroraMode
      ?? control.dataset.editorColorAuroraSpeed
      ?? control.dataset.editorColorAuroraDepth
  );
  const points = normalizeTimelineColorKeyframes(sessionEditorTimelineModel.curves.color, sessionEditorTimelineModel.durationSeconds);
  const point = points[index];
  if (!point) return true;

  if (control.matches("[data-editor-color-input]")) {
    point.value = validSessionHexColor(control.value, point.value);
  } else if (control.matches("[data-editor-color-ganzfeld]")) {
    point.ganzfeldMode = control.checked === true;
  } else if (control.matches("[data-editor-color-aurora-mode]")) {
    point.auroraMode = validSessionAuroraMode(control.value, "off");
  } else if (control.matches("[data-editor-color-aurora-speed]")) {
    point.auroraSpeed = boundedSessionNumber(control.value, 0.05, 2, point.auroraSpeed ?? 0.25);
  } else if (control.matches("[data-editor-color-aurora-depth]")) {
    point.auroraDepth = boundedSessionNumber(control.value, 0, 100, point.auroraDepth ?? 45);
  }

  sessionEditorTimelineModel.curves.color = normalizeTimelineColorKeyframes(points, sessionEditorTimelineModel.durationSeconds);
  selectedSessionEditorKeyframe = { chart: "color", index };
  renderSessionEditorTimeline();
  const nextControl = els.sessionEditorTimeline.querySelector(`[${control.dataset.editorColorInput !== undefined ? "data-editor-color-input" : control.dataset.editorColorGanzfeld !== undefined ? "data-editor-color-ganzfeld" : control.dataset.editorColorAuroraMode !== undefined ? "data-editor-color-aurora-mode" : control.dataset.editorColorAuroraSpeed !== undefined ? "data-editor-color-aurora-speed" : "data-editor-color-aurora-depth"}="${index}"]`);
  if (nextControl && nextControl.type !== "color") nextControl.focus();
  return true;
}

function updateSessionEditorFrequencyMusicMoodFromControl(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return false;
  const control = event.target.closest("[data-editor-frequency-music-mood]");
  if (!control) return false;
  const selected = selectedSessionEditorKeyframe;
  if (selected?.chart !== "audioFrequency" || selected.curve !== "audioFrequency") return true;
  const points = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves.audioFrequency,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  const point = points[selected.index];
  if (!point) return true;

  point.musicMood = MUSIC_LIBRARY_CATEGORIES.includes(control.value)
    ? control.value
    : "Ambient";
  sessionEditorTimelineModel.curves.audioFrequency = normalizeTimelineKeyframes(
    points,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  renderSessionEditorTimeline();
  const nextControl = els.sessionEditorTimeline.querySelector("[data-editor-frequency-music-mood]");
  if (nextControl) nextControl.focus();
  return true;
}

function updateSessionEditorNoiseTypeFromControl(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return false;
  const control = event.target.closest("[data-editor-noise-type]");
  if (!control) return false;
  const selected = selectedSessionEditorKeyframe;
  if (selected?.chart !== "audioFrequency" || selected.curve !== "audioFrequency") return true;
  const points = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves.audioFrequency,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  const point = points[selected.index];
  if (!point) return true;

  point.noiseType = validSessionNoiseType(control.value, "none");
  sessionEditorTimelineModel.curves.audioFrequency = normalizeTimelineKeyframes(
    points,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  renderSessionEditorTimeline();
  const nextControl = els.sessionEditorTimeline.querySelector("[data-editor-noise-type]");
  if (nextControl) nextControl.focus();
  applySessionEditorTimelineNoisePreview();
  return true;
}

function updateSessionEditorReverbPresetFromControl(event) {
  if (!HAS_SESSION_REVERB || sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return false;
  const control = event.target.closest("[data-editor-reverb-preset]");
  if (!control) return false;
  const selected = selectedSessionEditorKeyframe;
  if (selected?.chart !== "audioFrequency" || selected.curve !== "audioFrequency") return true;
  const points = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves.audioFrequency,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  const point = points[selected.index];
  if (!point) return true;

  point.reverbPreset = validSessionReverbPreset(control.value, "none");
  sessionEditorTimelineModel.curves.audioFrequency = normalizeTimelineKeyframes(
    points,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  renderSessionEditorTimeline();
  const nextControl = els.sessionEditorTimeline.querySelector("[data-editor-reverb-preset]");
  if (nextControl) nextControl.focus();
  applySessionEditorTimelineReverbPreview();
  return true;
}

function updateSessionEditorAudioModeFromControl(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return false;
  const control = event.target.closest("[data-editor-audio-mode]");
  if (!control) return false;
  const selected = selectedSessionEditorKeyframe;
  if (selected?.chart !== "audioFrequency" || selected.curve !== "audioFrequency") return true;
  const points = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves.audioFrequency,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  const point = points[selected.index];
  if (!point) return true;

  point.audioMode = validSessionAudioMode(control.value, "isochronic");
  sessionEditorTimelineModel.curves.audioFrequency = normalizeTimelineKeyframes(
    points,
    "audioFrequency",
    sessionEditorTimelineModel.durationSeconds
  );
  renderSessionEditorTimeline();
  const nextControl = els.sessionEditorTimeline.querySelector("[data-editor-audio-mode]");
  if (nextControl) nextControl.focus();
  applySessionEditorTimelineAudioPreview();
  return true;
}

function updateSessionEditorPulseShapeFromControl(event) {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return false;
  const control = event.target.closest("[data-editor-audio-pulse-shape], [data-editor-light-pulse-shape]");
  if (!control) return false;
  const selected = selectedSessionEditorKeyframe;
  const isLightControl = control.matches("[data-editor-light-pulse-shape]");
  const expectedChart = isLightControl ? "frequency" : "audioFrequency";
  const expectedCurve = isLightControl ? "frequency" : "audioFrequency";
  if (selected?.chart !== expectedChart || selected.curve !== expectedCurve) return true;
  const points = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves[expectedCurve],
    expectedCurve,
    sessionEditorTimelineModel.durationSeconds
  );
  const point = points[selected.index];
  if (!point) return true;

  const nextShape = validSessionPulseShape(control.value, "sine");
  if (isLightControl) {
    point.lightPulseShape = nextShape;
    point.pulseShape = validSessionPulseShape(point.lightPulseShape, "sine");
  } else {
    point.audioPulseShape = nextShape;
    point.pulseShape = validSessionPulseShape(point.audioPulseShape, "sine");
  }
  sessionEditorTimelineModel.curves[expectedCurve] = normalizeTimelineKeyframes(
    points,
    expectedCurve,
    sessionEditorTimelineModel.durationSeconds
  );
  renderSessionEditorTimeline();
  const nextControl = els.sessionEditorTimeline.querySelector(
    isLightControl ? "[data-editor-light-pulse-shape]" : "[data-editor-audio-pulse-shape]"
  );
  if (nextControl) nextControl.focus();
  if (isLightControl) renderDmx();
  else applySessionEditorTimelineAudioPreview();
  return true;
}

function syncSessionEditorTimelineControls() {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  Object.keys(SESSION_TIMELINE_CURVES).forEach((curveId) => {
    sessionEditorTimelineModel.curves[curveId] = normalizeTimelineKeyframes(
      sessionEditorTimelineModel.curves[curveId],
      curveId,
      sessionEditorTimelineModel.durationSeconds
    );
  });
  sessionEditorTimelineModel.curves.color = normalizeTimelineColorKeyframes(
    sessionEditorTimelineModel.curves.color,
    sessionEditorTimelineModel.durationSeconds
  );
}

function nearestSessionEditorAudioPoint(time, audioPoints) {
  return audioPoints.reduce((nearest, point) => (
    Math.abs(point.time - time) < Math.abs(nearest.time - time) ? point : nearest
  ), audioPoints[0] || {});
}

function copySessionEditorLightFrequenciesToAudio() {
  if (sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const durationSeconds = Number(sessionEditorTimelineModel.durationSeconds) || 30 * 60;
  const lightPoints = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves.frequency,
    "frequency",
    durationSeconds
  );
  const audioPoints = normalizeTimelineKeyframes(
    sessionEditorTimelineModel.curves.audioFrequency,
    "audioFrequency",
    durationSeconds
  );
  sessionEditorTimelineModel.curves.frequency = lightPoints;
  sessionEditorTimelineModel.curves.audioFrequency = normalizeTimelineKeyframes(
    lightPoints.map((lightPoint) => {
      const audioPoint = nearestSessionEditorAudioPoint(lightPoint.time, audioPoints);
      return {
        ...audioPoint,
        time: lightPoint.time,
        value: lightPoint.value
      };
    }),
    "audioFrequency",
    durationSeconds
  );
  selectedSessionEditorKeyframe = { chart: "audioFrequency", curve: "audioFrequency", index: 0 };
  activeSessionEditorCurve = "audioFrequency:audioFrequency";
  renderSessionEditorTimeline();
  applySessionEditorTimelineAudioPreview();
  els.sessionEditorError.value = userSessionText(
    "Audio frequencies copied from light frequencies.",
    "Audiofrequenties overgenomen van de lichtfrequenties."
  );
}

els.sessionEditorCopyLightToAudioButton?.addEventListener("click", copySessionEditorLightFrequenciesToAudio);

els.sessionEditorTimeline.addEventListener("click", (event) => {
  const pointStepButton = event.target.closest("[data-editor-point-step]");
  if (pointStepButton) {
    event.preventDefault();
    event.stopPropagation();
    selectAdjacentSessionEditorPoint(
      pointStepButton.dataset.editorPointChart,
      Number(pointStepButton.dataset.editorPointStep)
    );
    return;
  }

  const timeStepButton = event.target.closest("[data-editor-time-step]");
  if (timeStepButton) {
    event.preventDefault();
    event.stopPropagation();
    adjustSelectedSessionEditorTime(Number(timeStepButton.dataset.editorTimeStep));
    return;
  }

  const button = event.target.closest("[data-editor-curve]");
  if (!button) return;
  const key = button.dataset.editorCurve;
  if (sessionEditorMode === "timeline") {
    const wasHidden = hiddenSessionEditorCurves.has(key);
    if (wasHidden) {
      hiddenSessionEditorCurves.delete(key);
      activeSessionEditorCurve = key;
    } else {
      hiddenSessionEditorCurves.add(key);
      if (activeSessionEditorCurve === key) {
        const [chart] = key.split(":");
        const definitions = sessionEditorTimelineCurveDefinitions();
        const nextCurve = definitions[chart]?.find((curve) => !hiddenSessionEditorCurves.has(`${chart}:${curve.id}`));
        if (nextCurve) activeSessionEditorCurve = `${chart}:${nextCurve.id}`;
      }
    }
    renderSessionEditorTimeline();
    return;
  }
  if (hiddenSessionEditorCurves.has(key)) {
    hiddenSessionEditorCurves.delete(key);
  } else {
    hiddenSessionEditorCurves.add(key);
  }
  renderSessionEditorTimeline();
});
els.sessionEditorTimeline.addEventListener("input", (event) => {
  if (updateSessionEditorFrequencyMusicMoodFromControl(event)) return;
  if (updateSessionEditorAudioModeFromControl(event)) return;
  if (updateSessionEditorPulseShapeFromControl(event)) return;
  if (updateSessionEditorNoiseTypeFromControl(event)) return;
  if (updateSessionEditorReverbPresetFromControl(event)) return;
  if (updateSessionEditorColorPointFromControl(event)) return;

  const markerInput = event.target.closest("[data-editor-marker-name]");
  if (!markerInput || sessionEditorMode !== "timeline" || !sessionEditorTimelineModel) return;
  const index = Number(markerInput.dataset.editorMarkerName);
  const markers = normalizeTimelineMarkers(sessionEditorTimelineModel.markers, sessionEditorTimelineModel.durationSeconds);
  if (!markers[index]) return;
  markers[index].name = cleanSessionText(markerInput.value, 50, markers[index].name);
  sessionEditorTimelineModel.markers = normalizeTimelineMarkers(markers, sessionEditorTimelineModel.durationSeconds);
  selectedSessionEditorKeyframe = { chart: "markers", index };
});
els.sessionEditorTimeline.addEventListener("change", (event) => {
  if (updateSessionEditorFrequencyMusicMoodFromControl(event)) return;
  if (updateSessionEditorAudioModeFromControl(event)) return;
  if (updateSessionEditorPulseShapeFromControl(event)) return;
  if (updateSessionEditorNoiseTypeFromControl(event)) return;
  if (updateSessionEditorReverbPresetFromControl(event)) return;
  if (event.target.closest("[data-editor-marker-name]")) {
    syncSessionEditorMarkerInputs();
    return;
  }
  updateSessionEditorColorPointFromControl(event);
});
els.sessionEditorTimeline.addEventListener("dblclick", (event) => {
  event.preventDefault();
  const marker = event.target.closest("[data-editor-marker]");
  if (marker) {
    renameSessionEditorMarker(Number(marker.dataset.editorMarker));
    return;
  }
  const svg = sessionEditorSvgFromPointer(event);
  const chart = svg?.dataset?.editorChart || "";
  if (chart === "markers") {
    addSessionEditorMarker(event);
    return;
  }
  if (chart === "color") {
    addSessionEditorColorPoint(event);
    return;
  }
  if (chart) addSessionEditorKeyframe(event);
});
els.sessionEditorTimeline.addEventListener("pointerdown", (event) => {
  const markerPoint = event.target.closest(".editor-marker-point");
  if (markerPoint) {
    event.preventDefault();
    sessionEditorChartDrag = {
      type: "marker",
      chart: "markers",
      index: Number(markerPoint.dataset.editorMarker),
      time: sessionEditorTimelineModel?.markers?.[Number(markerPoint.dataset.editorMarker)]?.time ?? 0,
      startX: event.clientX,
      startY: event.clientY,
      armed: false
    };
    selectedSessionEditorKeyframe = {
      chart: "markers",
      index: Number(markerPoint.dataset.editorMarker)
    };
    markerPoint.classList.add("dragging");
    renderSessionEditorTimeline();
    return;
  }

  const colorPoint = event.target.closest(".editor-color-point");
  if (colorPoint) {
    event.preventDefault();
    const index = Number(colorPoint.dataset.editorColorIndex);
    sessionEditorChartDrag = {
      type: "color",
      chart: "color",
      index,
      time: sessionEditorTimelineModel?.curves?.color?.[index]?.time ?? 0,
      startX: event.clientX,
      startY: event.clientY,
      armed: false
    };
    selectedSessionEditorKeyframe = { chart: "color", index };
    colorPoint.classList.add("dragging");
    renderSessionEditorTimeline();
    return;
  }

  const keyframePoint = event.target.closest(".editor-keyframe-point");
  if (keyframePoint) {
    event.preventDefault();
    sessionEditorChartDrag = {
      type: "keyframe",
      chart: keyframePoint.dataset.chart,
      curve: keyframePoint.dataset.curve,
      index: Number(keyframePoint.dataset.index),
      min: Number(keyframePoint.dataset.min),
      max: Number(keyframePoint.dataset.max),
      time: sessionEditorTimelineModel?.curves?.[keyframePoint.dataset.curve]?.[Number(keyframePoint.dataset.index)]?.time ?? 0,
      value: sessionEditorTimelineModel?.curves?.[keyframePoint.dataset.curve]?.[Number(keyframePoint.dataset.index)]?.value ?? 0,
      startX: event.clientX,
      startY: event.clientY,
      armed: false
    };
    selectedSessionEditorKeyframe = {
      chart: keyframePoint.dataset.chart,
      curve: keyframePoint.dataset.curve,
      index: Number(keyframePoint.dataset.index)
    };
    activeSessionEditorCurve = `${keyframePoint.dataset.chart}:${keyframePoint.dataset.curve}`;
    keyframePoint.classList.add("dragging");
    renderSessionEditorTimeline();
    if (keyframePoint.dataset.chart === "frequency" && keyframePoint.dataset.curve === "frequency") {
      applySessionEditorTimelineNoisePreview();
      applySessionEditorTimelineReverbPreview();
    }
    if (keyframePoint.dataset.chart === "audioFrequency" && keyframePoint.dataset.curve === "audioFrequency") {
      applySessionEditorTimelineNoisePreview();
      applySessionEditorTimelineReverbPreview();
      applySessionEditorTimelineAudioPreview();
    }
    return;
  }

});
window.addEventListener("pointermove", (event) => {
  if (!sessionEditorChartDrag) return;
  event.preventDefault();
  updateSessionEditorChartDrag(event);
});
window.addEventListener("pointerup", () => {
  sessionEditorChartDrag = null;
});
window.addEventListener("keydown", (event) => {
  if (!els.sessionEditorDialog.open) return;
  if (event.key !== "Delete" && event.key !== "Backspace") return;
  if (isEditableEventTarget(event.target)) return;
  event.preventDefault();
  event.stopPropagation();
  if (!selectedSessionEditorKeyframe) return;
  deleteSelectedSessionEditorKeyframe();
}, true);
els.sessionEditorForm.addEventListener("submit", (event) => {
  event.preventDefault();
  try {
    saveSessionEditor();
  } catch (error) {
    els.sessionEditorError.value = error.message || userSessionText("Check the session fields.", "Controleer de sessievelden.");
  }
});
els.sessionStartButton.addEventListener("click", startSession);
els.sessionPauseButton.addEventListener("click", pauseSession);
els.sessionStopButton.addEventListener("click", () => stopSession(false));
els.sessionAnalysisButton.addEventListener("click", () => void requestSessionAnalysis());
els.analysisBuyCreditsButton.addEventListener("click", openAnalysisCreditsPurchase);
els.analysisCloseButton.addEventListener("click", () => els.analysisDialog.close());
els.analysisPrintButton.addEventListener("click", printAnalysisReport);
els.breathingGuideEnabled.addEventListener("change", () => {
  const program = sessionPrograms[els.sessionSelect.value];
  if (program) {
    renderSessionGraph(program);
    renderSessionIntensityGraph(program);
    updateSessionGraphState(program);
  }
  if (els.breathingGuideEnabled.checked) {
    updateBreathingGuide();
  } else {
    stopBreathingGuide("Uit");
  }
});
els.sessionWhiteLightDisabled.addEventListener("change", () => {
  const program = sessionPrograms[els.sessionSelect.value];
  if (program) {
    renderSessionIntensityGraph(program);
    updateSessionGraphState(program);
  }
  if (!state.sessionRunning) return;
  renderDmx();
  sendFrame();
  void publishScreenLightState();
});
els.ganzfeldEnabled.addEventListener("change", () => {
  setSessionGanzfeldOverrideFromControls();
  setGanzfeldMode(els.ganzfeldEnabled.checked);
});
if (HAS_AURORA_MODE) {
  els.auroraEnabled.addEventListener("change", () => {
    updateAuroraControls();
    setSessionAuroraOverrideFromControls();
    onControlChange();
  });
  els.auroraPreset.addEventListener("change", () => {
    applyAuroraPresetDefaults();
    setSessionAuroraOverrideFromControls();
    onControlChange();
  });
  [els.auroraSpeed, els.auroraDepth].forEach((slider) => {
    slider.addEventListener("input", () => {
      els.auroraPreset.value = "custom";
      updateAuroraControls();
      setSessionAuroraOverrideFromControls();
      onControlChange();
    });
  });
}

els.fixturePreset.addEventListener("change", () => {
  const restoreGanzfeld = state.ganzfeldActive;
  if (restoreGanzfeld) setGanzfeldMode(false);
  saveFixtureValues(state.activeFixtureId);
  applyFixtureProfile(els.fixturePreset.value);
  if (restoreGanzfeld) setGanzfeldMode(true);
});
els.languageSelect.addEventListener("change", () => {
  applyLanguage(els.languageSelect.value);
  updateOpenAiApiKeyStatus();
  setEegSpectrumVisible(state.eegSpectrumVisible);
  updateMuseMonitor();
  updateAnalysisControls();
});
els.museSpectrumToggle.addEventListener("click", () => {
  setEegSpectrumVisible(!state.eegSpectrumVisible);
});
if (els.museConnectButton) {
  const canManuallyConnectMuse = HAS_MUSE
    && (Boolean(window.neuroSyncNativeMuse?.start)
      || Boolean(navigator.bluetooth?.requestDevice));
  els.museConnectButton.hidden = !canManuallyConnectMuse;
  els.museConnectButton.addEventListener("click", () => {
    void connectWindowsMuseBridge();
  });
}
if (els.museManualSearchButton) {
  els.museManualSearchButton.hidden = !HAS_MUSE;
  els.museManualSearchButton.addEventListener("click", () => {
    void connectWindowsMuseBridge();
  });
}
els.presenterPreset.addEventListener("change", () => {
  localStorage.setItem(PRESENTER_STORAGE_KEY, els.presenterPreset.value);
});

els.audioToggle.addEventListener("click", async () => {
  if (state.audioEnabled) {
    await stopAudio();
  } else {
    await startAudio();
  }
  updateControlStatusIcons();
});

els.audioMode.addEventListener("change", async () => {
  updateControlStatusIcons();
  if (!state.audioEnabled) return;
  await stopAudio();
  await startAudio();
  updateControlStatusIcons();
});
els.audioPulseShape.addEventListener("change", async () => {
  updateLabels();
  if (state.audioEnabled) await updateAudioParameters();
});
els.audioVolume.addEventListener("pointerdown", () => {
  if (state.sessionRunning) state.sessionPulseVolumeInteracting = true;
});
els.audioVolume.addEventListener("input", () => {
  if (state.audioEnabled) void updateAudioParameters();
});
["pointerup", "pointercancel", "blur"].forEach((eventName) => {
  els.audioVolume.addEventListener(eventName, () => {
    if (!state.sessionRunning) return;
    updateSessionPulseVolumeScaleFromControl();
    state.sessionPulseVolumeInteracting = false;
    updateLabels();
    if (state.audioEnabled) void updateAudioParameters();
  });
});
els.noiseType.addEventListener("change", async () => {
  updateLabels();
  if (state.audioEnabled) await updateNoiseLayer();
});
els.noiseVolume.addEventListener("input", async () => {
  updateLabels();
  if (state.audioEnabled) await updateNoiseLayer();
});
els.masterVolume.addEventListener("input", () => {
  updateLabels();
  updateMusicMasterVolume();
  updateBreathingGuideVolume();
  void updateAudioParameters();
});
els.audioBalance.addEventListener("input", () => {
  updateLabels();
  updateAudioBalance();
});
if (HAS_SPATIAL_REVERB) {
  els.reverbPreset.addEventListener("change", () => {
    const defaults = reverbPresetDefaults(els.reverbPreset.value);
    els.reverbMix.value = String(defaults.mix);
    els.reverbDecay.value = String(defaults.decay);
    els.reverbPreDelay.value = String(defaults.preDelay);
    updateLabels();
    updateMusicReverb();
  });
  [els.reverbMix, els.reverbDecay, els.reverbPreDelay].forEach((slider) => {
    slider.addEventListener("input", () => {
      if (Number(els.reverbMix.value) > 0 && els.reverbPreset.value === "none") {
        els.reverbPreset.value = "room";
      }
      updateLabels();
      updateMusicReverb();
    });
  });
}
[els.equalizerBass, els.equalizerMid, els.equalizerTreble].forEach((slider) => {
  slider.addEventListener("input", () => {
    updateLabels();
    updateMusicEqualizer();
  });
});
els.equalizerReset.addEventListener("click", () => {
  els.equalizerBass.value = "0";
  els.equalizerMid.value = "0";
  els.equalizerTreble.value = "0";
  updateLabels();
  updateMusicEqualizer();
});

function musicPlaylistDeleteZoneTrack(event) {
  const item = event.target.closest("#musicPlaylist li");
  if (!item || !els.musicPlaylist.contains(item)) return null;
  const trackIndex = Number(item.dataset.trackIndex);
  const track = state.musicTracks[trackIndex];
  if (!track || track.system || state.sessionRunning) return null;
  if (event.target.closest(".music-session-toggle")) return null;
  const deleteButton = item.querySelector(".music-track-delete");
  if (deleteButton && event.target.closest(".music-track-delete")) return track;
  const rect = item.getBoundingClientRect();
  if (Number.isFinite(event.clientX) && event.clientX >= rect.right - 60) return track;
  return null;
}

els.musicPlaylist.addEventListener("pointerdown", (event) => {
  if (!musicPlaylistDeleteZoneTrack(event)) return;
  event.stopPropagation();
  event.stopImmediatePropagation();
}, true);

els.musicPlaylist.addEventListener("pointerup", (event) => {
  const track = musicPlaylistDeleteZoneTrack(event);
  if (!track) return;
  event.preventDefault();
  event.stopPropagation();
  event.stopImmediatePropagation();
  void deleteUserMusicTrack(track);
}, true);

els.musicPlaylist.addEventListener("click", (event) => {
  const track = musicPlaylistDeleteZoneTrack(event);
  if (!track) return;
  event.preventDefault();
  event.stopPropagation();
  event.stopImmediatePropagation();
  void deleteUserMusicTrack(track);
}, true);

els.musicToggle.addEventListener("click", () => {
  if (state.sessionRunning) return;
  if (!state.musicTracks.length) return;
  if (els.musicPlayer.paused) {
    void els.musicPlayer.play();
    if (state.sessionMusicCrossfade) void state.sessionMusicCrossfade.player.play();
  } else {
    els.musicPlayer.pause();
    if (state.sessionMusicCrossfade) state.sessionMusicCrossfade.player.pause();
  }
});
els.musicPrevious.addEventListener("click", () => {
  if (state.sessionRunning) return;
  const previousIndex = previousMusicTrackIndex();
  if (Number.isInteger(previousIndex)) loadMusicTrack(previousIndex, true, false);
});
els.musicNext.addEventListener("click", () => {
  if (state.sessionRunning) return;
  const nextIndex = state.musicShuffleEnabled && state.sessionRunning
    ? nextSessionMusicTrackIndex(sessionAllowedMusicMoods())
    : state.musicShuffleEnabled
      ? nextManualShuffleTrackIndex()
      : state.sessionRunning
        ? state.musicTrackIndex + 1
        : state.musicTrackIndex;
  if (Number.isInteger(nextIndex)) loadMusicTrack(nextIndex, true);
});
els.musicShuffle.addEventListener("click", () => {
  if (state.sessionRunning) return;
  state.musicShuffleEnabled = !state.musicShuffleEnabled;
  state.manualMusicQueue = [];
  els.musicPlayer.loop = !state.musicShuffleEnabled;
  updateMusicUi();
});
els.musicVolume.addEventListener("input", () => {
  updateSessionMusicVolumes();
  updateMusicUi();
});
els.musicCategoryFilter.addEventListener("change", () => {
  state.musicCategoryFilter = els.musicCategoryFilter.value;
  state.manualMusicQueue = [];
  renderMusicPlaylist();
});
els.musicLibraryInstallButton.addEventListener("click", requestMusicLibraryInstallation);
els.userMusicAddButton.addEventListener("click", () => {
  els.userMusicFiles.click();
});
els.userMusicFiles.addEventListener("change", () => {
  void importUserMusicFiles(els.userMusicFiles.files);
});
els.musicProgress.addEventListener("input", () => {
  if (!Number.isFinite(els.musicPlayer.duration)) return;
  els.musicPlayer.currentTime = (Number(els.musicProgress.value) / 1000) * els.musicPlayer.duration;
});
function bindMusicPlayerEvents(player) {
  if (!player || state.boundMusicPlayers.has(player)) return;
  state.boundMusicPlayers.add(player);

  player.addEventListener("play", () => {
    void prepareMusicAudio(player);
    if (player !== els.musicPlayer) return;
    updateMusicUi();
    void updateAudioParameters();
    updateBreathingGuide();
  });
  player.addEventListener("pause", () => {
    if (player !== els.musicPlayer) return;
    if (currentMusicTrackHasLightCode() && !state.sessionRunning) {
      exitMusicLightCodeSafeMode();
    }
    updateMusicUi();
    void updateAudioParameters();
    if (!state.sessionRunning) stopBreathingGuide(els.breathingGuideEnabled.checked ? "Gereed" : "Uit");
  });
  player.addEventListener("loadedmetadata", () => {
    if (player === els.musicPlayer) updateMusicUi();
  });
  player.addEventListener("timeupdate", () => {
    if (player === els.musicPlayer) updateMusicUi();
  });
  player.addEventListener("ended", () => {
    if (player !== els.musicPlayer) return;
    if (currentMusicTrackHasLightCode() && !state.sessionRunning) {
      exitMusicLightCodeSafeMode();
    }
    if (state.musicShuffleEnabled) {
      const nextIndex = state.sessionRunning
        ? nextSessionMusicTrackIndex(sessionAllowedMusicMoods())
        : nextManualShuffleTrackIndex();
      if (Number.isInteger(nextIndex)) {
        loadMusicTrack(nextIndex, true);
      } else {
        els.musicPlayer.pause();
      }
    } else {
      els.musicPlayer.currentTime = 0;
      void els.musicPlayer.play();
    }
  });
}

bindMusicPlayerEvents(els.musicPlayer);

window.toggleBreathingCoaching = () => {
  els.breathingGuideEnabled.checked = !els.breathingGuideEnabled.checked;
  els.breathingGuideEnabled.dispatchEvent(new Event("change", { bubbles: true }));
};

window.toggleBlackout = () => blackout();

document.addEventListener("keydown", (event) => {
  if (event.repeat || event.metaKey || event.ctrlKey || event.altKey) return;
  if (isEditableEventTarget(event.target)) return;

  const key = event.key.toLowerCase();
  const code = event.code.toLowerCase();
  const isBreathingShortcut = key === "a"
    || key === "mediaplaypause"
    || key === "play"
    || (key === "arrowright" && els.presenterPreset.value === "satechi-r1")
    || code === "mediaplaypause"
    || event.keyCode === 179;
  if (isBreathingShortcut) {
    event.preventDefault();
    window.toggleBreathingCoaching();
  } else if (key === "b") {
    event.preventDefault();
    void blackout();
  }
});

els.frequencyPresets.forEach((button) => {
  button.addEventListener("click", () => {
    els.frequency.value = button.dataset.frequency;
    els.strobeIntensity.value = String(Math.max(Number(els.strobeIntensity.value), 10));
    els.rgbIntensity.value = String(Math.max(Number(els.rgbIntensity.value), 10));
    if (button.dataset.color) {
      els.rgbColor.value = button.dataset.color;
    }
    onControlChange();
  });
});

restoreActiveFixture();
const storedPresenterId = localStorage.getItem(PRESENTER_STORAGE_KEY);
els.presenterPreset.value = [...els.presenterPreset.options].some((option) => option.value === storedPresenterId)
  ? storedPresenterId
  : "satechi-r1";
localStorage.setItem(PRESENTER_STORAGE_KEY, els.presenterPreset.value);
restoreArtNetController();
if (els.dmxOutputMode && HAS_USB_DMX) {
  restoreDmxOutputMode();
  localStorage.setItem(DMX_OUTPUT_MODE_STORAGE_KEY, selectedDmxOutputMode());
  updateDmxOutputModeControls();
  refreshDmxSerialPorts();
  startDmxSerialPortAutoRefresh();
  els.dmxOutputMode.addEventListener("change", () => {
    activatePhysicalDmxOutput();
    localStorage.setItem(DMX_OUTPUT_MODE_STORAGE_KEY, selectedDmxOutputMode());
    updateDmxOutputModeControls();
    refreshDmxSerialPorts();
    sendFrame();
  });
  els.dmxSerialPort?.addEventListener("change", () => {
    localStorage.setItem(DMX_SERIAL_PORT_STORAGE_KEY, selectedDmxSerialPort());
    activatePhysicalDmxOutput();
    sendFrame();
  });
} else {
  updateDmxOutputModeControls();
}
els.artnetController.addEventListener("change", () => {
  activatePhysicalDmxOutput();
  const controllerId = ARTNET_CONTROLLERS[els.artnetController.value]
    ? els.artnetController.value
    : "artnet-dmx2";
  localStorage.setItem(ARTNET_CONTROLLER_STORAGE_KEY, controllerId);
  loadArtNetControllerSettings(controllerId);
  sendFrame();
});
["input", "change"].forEach((eventName) => {
  const shouldSendFrame = eventName === "change";
  els.artnetIp.addEventListener(eventName, () => {
    activatePhysicalDmxOutput();
    persistArtNetNetworkSettings();
    if (shouldSendFrame) sendFrame();
  });
  els.artnetUniverse.addEventListener(eventName, () => {
    activatePhysicalDmxOutput();
    persistArtNetNetworkSettings();
    if (shouldSendFrame) sendFrame();
  });
});
loadUserSessions();
if (HAS_MARKETPLACE) void loadMarketplaceCatalog(true, { silent: true });
renderSessionCategories();
restoreSessionProgram();
updateSessionLibraryControls();
restoreAffiliatePanelState();
restoreAffiliateEmail();
els.musicPlayer.volume = Number(els.musicVolume.value) / 100;
els.musicPlayer.loop = false;
state.sessionCrossfadePlayer = new Audio();
state.sessionCrossfadePlayer.preload = "auto";
bindMusicPlayerEvents(state.sessionCrossfadePlayer);
state.sessionVoicePlayer = new Audio();
state.sessionVoicePlayer.preload = "auto";
state.breathingInPlayer = new Audio("assets/breath-in.mp3");
state.breathingOutPlayer = new Audio("assets/breath-out.mp3");
state.breathingInPlayer.preload = "auto";
state.breathingOutPlayer.preload = "auto";
void (async () => {
  await loadCoreMusicLibrary();
  if (!state.musicLibraryInstalled && window.neuroSyncMusicLibrary?.installCoreIfNeeded) {
    await installCoreMusicLibraryFromBridge();
  }
  await loadUserMusicTracks();
  restoreSessionMusicSelection();
  renderMusicCategories();
  if (state.musicTracks.length) loadMusicTrack(0, false);
})();
if (["audio", "personal"].includes(PRODUCT.edition) && HAS_SCREEN_LIGHT && !HAS_LIGHT && Number(els.rgbIntensity?.value || 0) <= 0) {
  els.rgbIntensity.value = "90";
}
if (els.screenLightBoost) {
  els.screenLightBoost.min = String(SCREEN_LIGHT_BOOST_MIN);
  els.screenLightBoost.max = String(SCREEN_LIGHT_BOOST_MAX);
  if (
    Number(els.screenLightBoost.value) < SCREEN_LIGHT_BOOST_MIN
    || Number(els.screenLightBoost.value) > SCREEN_LIGHT_BOOST_MAX
  ) {
    els.screenLightBoost.value = String(SCREEN_LIGHT_BOOST_MIN);
  }
}
setupControlPanelTabs();
applyLanguage(currentLanguage, false);
updateControlStatusIcons();
state.controlStatusTimer = setInterval(updateControlStatusIcons, 1000);
updateOpenAiApiKeyStatus();
updateAnalysisControls();
window.neuroSyncLicenseContextReady = () => void refreshAnalysisCredits();
void refreshAnalysisCredits();
window.addEventListener("focus", () => {
  if (analysisCreditsEnabled()) void refreshAnalysisCredits();
});
if (HAS_REMOTE) void setupRemoteControl();
if (HAS_SCREEN_LIGHT) void setupScreenLight();
void restoreMuseMonitorVisibility();
updateMuseMonitor();
if (HAS_AURORA_MODE) updateAuroraControls();
if (HAS_LIGHT) {
  claimDmxControl(true);
  window.addEventListener("focus", () => claimDmxControl(true));
  document.addEventListener("visibilitychange", () => {
    if (document.hidden) {
      releaseDmxControl();
    } else {
      claimDmxControl(true);
      renderDmx(false);
      sendFrame();
    }
  });
}
window.addEventListener("pagehide", () => {
  if (state.remoteStatusTimer) clearInterval(state.remoteStatusTimer);
  if (state.remoteCommandTimer) clearInterval(state.remoteCommandTimer);
  if (state.remoteClientStatusTimer) clearInterval(state.remoteClientStatusTimer);
  if (state.screenLightStatusTimer) clearInterval(state.screenLightStatusTimer);
  if (state.controlStatusTimer) clearInterval(state.controlStatusTimer);
  if (HAS_LIGHT) releaseDmxControl();
  state.musicTracks
    .filter((track) => track.userTrack)
    .forEach((track) => URL.revokeObjectURL(track.url));
});
if (HAS_LIGHT) state.dmxOwnerTimer = setInterval(() => claimDmxControl(false), DMX_OWNER_REFRESH_MS);
state.sessionTimer = setInterval(tickSession, 250);
state.breathingTimer = setInterval(updateBreathingGuide, 250);
state.museMonitorTimer = setInterval(updateMuseMonitor, 1000);
if (HAS_LIGHT) {
  state.refreshTimer = setInterval(() => {
    if (serverPulseCanRunWithoutUiRefresh()) return;
    renderDmx(false);
    sendFrame({ onlyIfChanged: shouldUseServerDmxPulse() });
  }, REFRESH_MS);
  sendFrame();
}
