/*
 * planet-crm.js — CRM selector flag for the AO Globe Life "Planet" division.
 * ─────────────────────────────────────────────────────────────────────────
 * CRM: AO Globe Life "Planet" (m.planetaltig.com) — a newer build of the same
 *      ASP.NET-MVC app family as AIL/Impact. Same /Lead/InboxDetail →
 *      /Lead/WhatHappend call→dispose→advance cycle.
 *
 * WHY THIS FILE IS TINY (unlike liberty-crm.js):
 *   Liberty (Geopointe) is a structurally DIFFERENT list-model CRM, so it ships
 *   a full external adapter (window.LibertyCRM). Planet is Impact's *twin*, so its
 *   adapter — `PlanetCRM` — lives INLINE in content.js as a sibling of ImpactCRM
 *   (it spreads ImpactCRM and only the DOM-specific bits differ, as additive
 *   `CRM_KIND === "planet"` branches inside the shared *__impl functions). That
 *   gives Planet full access to the shared core (send / state / log) with zero
 *   send-injection plumbing.
 *
 *   So this file's ONLY job is to tell content.js which inline adapter to select,
 *   and it must run BEFORE content.js — the aoplanet manifest lists it first in
 *   the content_scripts "js" array (["planet-crm.js", "content.js"]).
 *
 * Verified Planet DOM (2026-08-17, see memory project_ao_planet_crm_flow):
 *   • advance: location.href='/Lead/MoveNext' (▶) / '/Lead/MovePrevious' (◀)
 *   • dial (2-step): #btnCall → OpenPhoneDiv() → a.btnPhoneCall[href^="tel:"]
 *   • lead data: hidden inputs #LeadId #FirstName #LastName #State #StateCode …
 *   • dispositions (WhatHappend): <a name="search"><h4>No Answer</h4></a> etc.
 */
(function (global) {
  "use strict";
  // Select the inline PlanetCRM adapter in content.js. Idempotent — safe to run
  // more than once (e.g. a background.js hot-reload re-injection).
  global.__PD_CRM_KIND = "planet";
})(typeof window !== "undefined" ? window : globalThis);
