@aglyn/aglyn 1.22.4 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aglyn/aglyn",
3
- "version": "1.22.4",
3
+ "version": "1.23.0",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://aglyn.com",
6
6
  "repository": {
@@ -37,16 +37,16 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "dependencies": {
40
- "@aglyn/shared-data-enums": "1.22.4",
41
- "@aglyn/shared-data-mdi": "1.22.4",
42
- "@aglyn/shared-data-types": "1.22.4",
43
- "@aglyn/shared-util-email": "1.22.4",
44
- "@aglyn/shared-util-first-touch": "1.22.4",
45
- "@aglyn/shared-util-http": "1.22.4",
46
- "@aglyn/shared-util-logger": "1.22.4",
47
- "@aglyn/shared-util-timestamp": "1.22.4",
48
- "@aglyn/shared-util-tools": "1.22.4",
49
- "@aglyn/shared-util-vendor": "1.22.4",
40
+ "@aglyn/shared-data-enums": "1.23.0",
41
+ "@aglyn/shared-data-mdi": "1.23.0",
42
+ "@aglyn/shared-data-types": "1.23.0",
43
+ "@aglyn/shared-util-email": "1.23.0",
44
+ "@aglyn/shared-util-first-touch": "1.23.0",
45
+ "@aglyn/shared-util-http": "1.23.0",
46
+ "@aglyn/shared-util-logger": "1.23.0",
47
+ "@aglyn/shared-util-timestamp": "1.23.0",
48
+ "@aglyn/shared-util-tools": "1.23.0",
49
+ "@aglyn/shared-util-vendor": "1.23.0",
50
50
  "@data-driven-forms/react-form-renderer": "^4.2.3",
51
51
  "@msgpack/msgpack": "^3.1.3",
52
52
  "@types/unist": "^3.0.3",
@@ -618,8 +618,8 @@ export declare const PLUGIN_DOCS_ANCHORS: {
618
618
  readonly commerceEndToEnd: readonly ["#1-connect-payments", "#2-create-products", "#3-design-the-storefront", "#catalog-search-filters-and-sort", "#category-pages", "#the-product-page-template", "#4-what-checkout-does", "#paying-without-leaving-your-site", "#5-run-orders-from-the-console", "#6-subscriptions--the-stripe-portal", "#member-updates", "#related"];
619
619
  readonly companies: readonly ["#the-companies-list", "#create-a-company", "#the-lists-behind-the-choices", "#a-companys-page", "#contact-roles", "#contacts-at-a-company", "#linked-on-capture", "#import", "#export", "#deleting-a-company", "#who-can-see-a-company", "#files", "#related"];
620
620
  readonly connectOtherAccounting: readonly ["#before-you-start", "#connect", "#choose-your-books", "#choose-your-accounts", "#what-is-posted", "#sales-before-you-connected", "#when-something-does-not-post", "#disconnect", "#related"];
621
- readonly connectQuickbooksOnline: readonly ["#before-you-start", "#connect", "#choose-your-accounts", "#what-is-posted", "#sales-tax-collected-by-aglyn", "#one-summary-a-day-instead", "#currency", "#sales-before-you-connected", "#when-something-does-not-post", "#disconnect"];
622
- readonly connectXero: readonly ["#before-you-start", "#connect", "#choose-an-organization", "#choose-your-accounts", "#what-is-posted", "#sales-tax-collected-by-aglyn", "#one-summary-a-day-instead", "#currency", "#sales-before-you-connected", "#when-something-does-not-post", "#disconnect"];
621
+ readonly connectQuickbooksOnline: readonly ["#before-you-start", "#connect", "#choose-your-accounts", "#what-is-posted", "#how-each-payment-is-posted", "#sales-tax-collected-by-aglyn", "#one-summary-a-day-instead", "#currency", "#sales-before-you-connected", "#when-something-does-not-post", "#disconnect"];
622
+ readonly connectXero: readonly ["#before-you-start", "#connect", "#choose-an-organization", "#choose-your-accounts", "#what-is-posted", "#how-each-payment-is-posted", "#sales-tax-collected-by-aglyn", "#one-summary-a-day-instead", "#currency", "#sales-before-you-connected", "#when-something-does-not-post", "#disconnect"];
623
623
  readonly consoleTour: readonly ["#the-app-bar", "#choose-a-workspace", "#in-context-help", "#filter-and-search", "#primary-navigation", "#editing-vs-managing", "#the-sites-list", "#a-site-card", "#the-status-pill", "#how-the-pill-is-decided", "#your-site-allowance", "#a-sites-dashboard", "#recent-activity", "#next", "#workspace-settings--notifications", "#organization-settings", "#organization-general", "#the-notifications-feed", "#all-notifications", "#notification-levels", "#notification-settings", "#one-kind-at-a-time", "#workspace-and-site-overrides", "#daily-digests", "#notification-sound", "#alerts-on-this-device"];
624
624
  readonly contactActivities: readonly ["#four-kinds-of-history", "#reading-the-timeline", "#campaign-email", "#logging-an-activity", "#who-what-and-which-company", "#meeting-from-a-booking", "#click-to-call", "#sending-an-email", "#delivery-states", "#captured-email", "#where-an-activity-is-visible", "#the-recent-activity-feed", "#related"];
625
625
  readonly contactFields: readonly ["#define-a-field", "#fields-per-record", "#where-values-show", "#currency-fields", "#save-a-form-field", "#picklist-values", "#task-picklists", "#over-the-api", "#retire-restore-delete", "#export-fields", "#recompute-next-activity", "#related"];
@@ -1155,6 +1155,7 @@ export const PLUGIN_DOCS_ANCHORS = {
1155
1155
  '#connect',
1156
1156
  '#choose-your-accounts',
1157
1157
  '#what-is-posted',
1158
+ '#how-each-payment-is-posted',
1158
1159
  '#sales-tax-collected-by-aglyn',
1159
1160
  '#one-summary-a-day-instead',
1160
1161
  '#currency',
@@ -1168,6 +1169,7 @@ export const PLUGIN_DOCS_ANCHORS = {
1168
1169
  '#choose-an-organization',
1169
1170
  '#choose-your-accounts',
1170
1171
  '#what-is-posted',
1172
+ '#how-each-payment-is-posted',
1171
1173
  '#sales-tax-collected-by-aglyn',
1172
1174
  '#one-summary-a-day-instead',
1173
1175
  '#currency',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/docs-help.generated.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// GENERATED FILE — do not edit. Regenerate with:\n// node tools/scripts/generate-docs-help.mjs\n// Source of truth: apps/docs/docs frontmatter + headings (AGL-602).\n\n// The first-party plugin consoles live in `libs/plugins/*` and cannot import\n// the console's constants, so they carry their own generated subset of the\n// docs help registry — the topics their cards actually link to, and no others.\n\nexport interface PluginDocsTopic {\n /** Docs-site path, e.g. `/commerce-and-bookings/commerce/overview`. */\n path: string\n /** Docs page title. */\n title: string\n /** Verbatim docs frontmatter description — the tooltip excerpt. */\n excerpt: string\n}\n\nexport const PLUGIN_DOCS = {\n abuseReports: {\n path: '/staff-console/abuse-reports',\n title: 'Abuse reports',\n excerpt: 'The public abuse-report queue — where outside reports land, how to triage by severity, which lever answers which report, and the CSAM and DMCA paths that are not takedown buttons.',\n },\n actionsBuilder: {\n path: '/marketing-and-automation/workflows-and-actions/actions-builder',\n title: 'Actions builder',\n excerpt: 'Map a single event to a single action without building a full workflow.',\n },\n adConversions: {\n path: '/marketing-and-automation/analytics/connect-conversions-api',\n title: 'Server-side ad conversions',\n excerpt: 'Send purchases and leads to your own Meta, TikTok and Pinterest ad accounts from the server, paired with your browser tags — only for visitors who allow advertising.',\n },\n aglynAssist: {\n path: '/getting-started/aglyn-assist',\n title: 'Aglyn Assist',\n excerpt: 'Ask the built-in AI helper how to do anything in Aglyn — it answers from these docs and links you straight to the right page.',\n },\n aiAllotments: {\n path: '/ai/ai-allotments',\n title: 'AI allotments, usage and model choice',\n excerpt: 'Give a member, a site collaborator or a whole site a monthly share of the workspace\\'s AI credits, see your own usage while you work, and choose which model answers.',\n },\n aiAssistBuilds: {\n path: '/ai/assist-builds',\n title: 'Build from Assist chat',\n excerpt: 'Ask Aglyn Assist for what you need in one message — pages, a form, an email, products, a booking service, an automation — and it shows one plan card. Confirm it and one job builds every part as a draft.',\n },\n aiAutomations: {\n path: '/ai/automations-with-ai',\n title: 'Automations with AI',\n excerpt: 'Aglyn AI drafts an automation from a description, changes or fixes one you already have as a copy switched off, explains what one does and tells you why one of its runs failed.',\n },\n aiBusinessProfile: {\n path: '/ai/business-profile',\n title: 'Business profile',\n excerpt: 'Tell Aglyn AI what your business does, who it is for and how it sounds. Every AI job for the site reads it, uses your real contact details only, and remembers the edits you keep.',\n },\n aiComponent: {\n path: '/building-sites/components/generate-a-component-with-aglyn-ai',\n title: 'Generate a reusable component with Aglyn AI',\n excerpt: 'Describe a block your site repeats, or point at one already on a page, and Aglyn AI makes it a reusable component with typed properties bound to the elements that show them.',\n },\n aiCreate: {\n path: '/ai/create-with-ai',\n title: 'Create with AI on every list',\n excerpt: 'The Create with AI button sits beside the create button on every list Aglyn AI can fill: pages, templates, layouts, forms, components, emails, campaigns, automations, products, overlays and media.',\n },\n aiCredits: {\n path: '/ai/ai-credits',\n title: 'AI credits',\n excerpt: 'Everything Aglyn AI does draws AI credits from one monthly pool: what each plan includes (300 on Free), what blocks of AI credits add on top, what jobs cost, the check before a job starts, and when credits come back.',\n },\n aiCrm: {\n path: '/ai/crm-by-ai',\n title: 'The AI CRM built into Aglyn',\n excerpt: 'An AI CRM for small business: a short summary and a suggested next step on a contact, company, deal or lead, a one-to-one email drafted into the composer, and an import\\'s columns matched to fields.',\n },\n aiEmail: {\n path: '/marketing-and-automation/email-campaigns/generate-with-ai',\n title: 'Generate an email campaign with AI',\n excerpt: 'An AI email campaign generator that drafts rather than sends: turn a brief into a draft email design, or a draft campaign and the email it would send. Nothing is sent, and nothing is aimed at anybody, until you choose.',\n },\n aiExperiments: {\n path: '/ai/ab-tests-with-ai',\n title: 'A/B tests by AI: write variants, read the result',\n excerpt: 'Have Aglyn AI write two to four variants for a page, section or email experiment, and put a finished test into plain language — with the verdict decided from the counts before the model is asked anything.',\n },\n aiForm: {\n path: '/ai/generate-a-form',\n title: 'Generate a form from a description',\n excerpt: 'An AI form generator inside Aglyn: describe the form you need and a build job makes it as a draft on the Forms page, with its fields, required answers, marketing consent and routing already agreed.',\n },\n aiImages: {\n path: '/ai/create-images',\n title: 'Create images with AI',\n excerpt: 'An AI image generator in the Aglyn media library: describe a picture and get an SVG icon or logo mark, a realistic photo, a watercolor, a 3D render or a banner, with alt text. Metered in AI credits.',\n },\n aiImport: {\n path: '/ai/bring-my-site',\n title: 'Bring my site',\n excerpt: 'Bring the website you have now into Aglyn, kept as it is with a light polish or improved around your brand, in waves you review and start yourself, once you have proved the site is yours.',\n },\n aiInsights: {\n path: '/marketing-and-automation/analytics/insights',\n title: 'Insights',\n excerpt: 'Ask Aglyn AI a question about your site\\'s figures in plain words, and get answers where every number is traced to the figure it comes from — plus weekly insights by email.',\n },\n aiJobs: {\n path: '/ai/ai-jobs-and-activity',\n title: 'AI jobs and activity',\n excerpt: 'Review what Aglyn AI did: a site\\'s AI jobs page lists every job with its kind, brief, status and credits, each job has its own page, and the AI filter in your activity logs records who started, applied or canceled what.',\n },\n aiLayout: {\n path: '/building-sites/screens-and-layouts/layouts',\n title: 'Layouts',\n excerpt: 'A layout is the shared frame your pages render inside — header, nav and footer in one place, nested up to five deep.',\n },\n aiLogic: {\n path: '/ai/logic-with-ai',\n title: 'Functions and variables with AI',\n excerpt: 'Aglyn AI writes a site function or variable from a description, changes or fixes a function you have, explains what one works out, and offers a fix for a broken automation reference. Nothing is saved until you save it.',\n },\n aiMarketing: {\n path: '/ai/marketing-with-ai',\n title: 'Marketing with AI: overlays, campaigns and your numbers',\n excerpt: 'Use Aglyn AI on your site\\'s Marketing page: write announcement bar and popup copy, create a switched-off overlay or a draft campaign from a brief, and ask what your conversions and campaign figures mean.',\n },\n aiMonitoring: {\n path: '/staff-console/ai-monitoring',\n title: 'AI monitoring',\n excerpt: 'How staff watch one organization\\'s AI usage — add-on, credits, overage, refusals, jobs, tokens, cache hits and margin — read its AI conversations, and find those figures across the staff console.',\n },\n aiPage: {\n path: '/building-sites/screens-and-layouts/generate-a-page',\n title: 'Generate a page from a prompt',\n excerpt: 'An AI landing page generator built into the canvas: describe a page and Aglyn AI plans it, then builds it section by section as an unpublished draft from your own theme, layout, components and forms.',\n },\n aiProducts: {\n path: '/ai/products-with-ai',\n title: 'Product copy and catalogs with AI',\n excerpt: 'An AI product description generator for your catalog: write copy for one product or a whole import, propose a first catalog, and propose categories and discounts — all as proposals you review.',\n },\n aiSeo: {\n path: '/building-sites/seo/seo-by-ai',\n title: 'AI SEO for your website',\n excerpt: 'AI SEO for websites, on the pages you already have: have AI write a page or product\\'s search listing, propose a fix for each finding of the SEO check, and draft your structured data and /llms.txt.',\n },\n aiSite: {\n path: '/ai/generate-a-site',\n title: 'Generate a website from a prompt',\n excerpt: 'Generate a website from a prompt: describe a business and an Aglyn AI build job plans a small site — pages, navigation, layout, contact form and palette — then builds it. A guided start publishes it.',\n },\n aiSiteLooks: {\n path: '/ai/site-looks',\n title: 'Looks and themes for AI sites',\n excerpt: 'How a site started with AI gets its look: the style you choose sets the range of themes, colors, fonts and buttons, and every site gets its own readable variation, saved as a theme you can edit.',\n },\n aiStart: {\n path: '/ai/start-with-ai',\n title: 'Start a new site with AI',\n excerpt: 'Answer a few questions when you create a site and Aglyn AI plans, writes and publishes it: its look, header and footer, contact form and pages, plus a store or a blog when that is what the site is.',\n },\n aiTemplate: {\n path: '/building-sites/site-templates/templates-library',\n title: 'Your templates library',\n excerpt: 'Save pages, components and layouts as reusable templates — and the safe landing place for anything you install from the marketplace.',\n },\n aiThemes: {\n path: '/ai/theme-assist',\n title: 'Change your site\\'s theme with AI',\n excerpt: 'Describe a change to your site\\'s theme and get a proposal for the theme editor\\'s own controls, previewed before and after, that you save in the editor.',\n },\n assistSignals: {\n path: '/staff-console/assist-signals',\n title: 'Assist Signal',\n excerpt: 'The docs-gap and cost board behind Assist — how the ranking is ordered, why ungrounded questions are counted separately, and what the cache-read rate says about margin.',\n },\n billing: {\n path: '/workspace-and-billing/billing-and-plans/overview',\n title: 'Billing & Plans',\n excerpt: 'How Aglyn\\'s tiers, entitlements, quotas, usage meters, and seat add-ons work.',\n },\n bindings: {\n path: '/building-sites/bindings/overview',\n title: 'Bindings, Variables & Functions',\n excerpt: 'Live values in your content — typed variables, no-code functions, and rename-safe id tokens.',\n },\n bookings: {\n path: '/commerce-and-bookings/bookings/overview',\n title: 'Bookings & Scheduling',\n excerpt: 'Offer services with availability, let visitors book, take payment, and send reminders.',\n },\n buildAWorkflow: {\n path: '/marketing-and-automation/workflows-and-actions/build-a-workflow',\n title: 'Build a workflow',\n excerpt: 'Create a multi-step workflow that runs when a site event fires.',\n },\n buyADomain: {\n path: '/building-sites/custom-domains/buy-a-domain',\n title: 'Buy a domain',\n excerpt: 'Search for a domain on your site\\'s Custom Domain page or your workspace\\'s Domains page, buy it, and your site goes live at it automatically — no DNS records, renewals handled for you.',\n },\n catalog: {\n path: '/commerce-and-bookings/commerce/catalog',\n title: 'Product catalog',\n excerpt: 'Products with options and variants, categories, tags, and manual or smart collections.',\n },\n commerce: {\n path: '/commerce-and-bookings/commerce/overview',\n title: 'Commerce',\n excerpt: 'Sell physical, digital, and service products with a full catalog, orders pipeline, shipping, taxes, and your own Stripe account.',\n },\n commerceEndToEnd: {\n path: '/guides/commerce-end-to-end',\n title: 'Commerce end to end',\n excerpt: 'Create products with billing modes, design the storefront with Commerce blocks, take Stripe checkout for one-time and subscription sales, and run orders from the console.',\n },\n companies: {\n path: '/content-and-data/crm/companies',\n title: 'Companies',\n excerpt: 'Group your contacts under the businesses they belong to — one record per company, with its domain, owner, type, industry, addresses, parent company and the people who work there.',\n },\n connectOtherAccounting: {\n path: '/commerce-and-bookings/commerce/connect-other-accounting-software',\n title: 'Connect other accounting software',\n excerpt: 'Post every sale, refund, Aglyn fee and Stripe payout from your store to accounting software other than QuickBooks Online or Xero, such as QuickBooks Desktop, NetSuite, Sage, FreshBooks, Zoho Books or Wave. Rolling out.',\n },\n connectQuickbooksOnline: {\n path: '/commerce-and-bookings/commerce/connect-quickbooks-online',\n title: 'Connect QuickBooks Online',\n excerpt: 'Post every sale, refund, Aglyn fee and Stripe payout from your store to QuickBooks Online, mapped to the accounts you choose. Rolling out.',\n },\n connectXero: {\n path: '/commerce-and-bookings/commerce/connect-xero',\n title: 'Connect Xero',\n excerpt: 'Post every sale, refund, Aglyn fee and Stripe payout from your store to Xero, mapped to the accounts you choose. Rolling out.',\n },\n consoleTour: {\n path: '/getting-started/console-tour',\n title: 'The console tour',\n excerpt: 'Where things live in the Aglyn console app bar and navigation.',\n },\n contactActivities: {\n path: '/content-and-data/crm/activities',\n title: 'Activities & the timeline',\n excerpt: 'Log calls, emails, meetings and notes against a contact, a company, a deal or a lead, email one person from their record, and read it all in one timeline beside everything captured and every campaign sent.',\n },\n contactFields: {\n path: '/content-and-data/crm/custom-fields',\n title: 'Custom fields',\n excerpt: 'Define your own properties on contacts, companies, deals and leads — text, number, date, choice, checkbox, link or currency — show them on every record and its list, and save form answers straight into a contact\\'s.',\n },\n contactRecord: {\n path: '/content-and-data/crm/contact-record',\n title: 'The contact record',\n excerpt: 'Add a contact by hand, keep a profile on them — Salesforce\\'s standard contact fields, from salutation and phones to assistant and reports-to — open their own page in the CRM, and merge two records that are one person.',\n },\n contacts: {\n path: '/content-and-data/crm/overview',\n title: 'CRM',\n excerpt: 'One place for the people who interact with your sites — contacts captured from forms, members, orders and bookings, with leads, companies, a deals pipeline, tasks, a timeline, reports and custom fields.',\n },\n couriers: {\n path: '/commerce-and-bookings/commerce/couriers',\n title: 'Couriers for local delivery (DoorDash Drive)',\n excerpt: 'Send a DoorDash courier for your own local deliveries from your own DoorDash Drive account, with the courier\\'s tracking link and arrival time on the order.',\n },\n crmEmailTemplates: {\n path: '/content-and-data/crm/email-templates',\n title: 'Email templates',\n excerpt: 'Keep the letters your team sends from a record — templates that fill in the subject and the message, snippets that drop in a paragraph, and merge fields that fill in the person\\'s name, their company, the deal and you.',\n },\n crmLeads: {\n path: '/content-and-data/crm/leads',\n title: 'Leads',\n excerpt: 'Work the people your site has captured — a status, an owner and notes on every lead — and convert one into a contact, a company and a deal.',\n },\n crmReports: {\n path: '/content-and-data/crm/reports',\n title: 'Reports',\n excerpt: 'New contacts, their sources and which convert, the lead funnel and lead sources, the open pipeline and its forecast, won and lost, who logged what, and the task load — counted on the server, all exportable as CSV.',\n },\n crmSettings: {\n path: '/content-and-data/crm/settings',\n title: 'CRM settings',\n excerpt: 'What the CRM does on its own for every site — whether a company is created from a contact\\'s work email domain, who a new contact is assigned to, the address that files replies on a record, and each site\\'s recipes.',\n },\n crmSharing: {\n path: '/content-and-data/crm/sharing',\n title: 'Share records across sites',\n excerpt: 'Let another of your sites see a lead, a contact, a company or a deal — one record by hand, a selection from a list, or every record a sharing rule matches, now and later — without sharing the person\\'s consent.',\n },\n crmTasks: {\n path: '/content-and-data/crm/tasks',\n title: 'Tasks & follow-ups',\n excerpt: 'Calls, emails, meetings and to-dos with a status, a due date, an assignee and a link to the record they are for — overdue and today read off the clock, a snooze, a reminder at its own time, and a morning digest.',\n },\n crmViews: {\n path: '/content-and-data/crm/views',\n title: 'Saved views',\n excerpt: 'Keep a CRM list\\'s filters, columns and sort under a name, open it from the views menu or a link, share it with the team, and use a contacts view as an email audience.',\n },\n datasets: {\n path: '/content-and-data/datasets/overview',\n title: 'Datasets & Dynamic Content',\n excerpt: 'Model structured content with typed fields and relations, then bind it into repeatable components.',\n },\n deals: {\n path: '/content-and-data/crm/deals',\n title: 'Deals pipeline',\n excerpt: 'Every open deal by stage — with an amount, an owner and an expected close — as a board you drag across or a table you page through, and the won and lost history behind it.',\n },\n deliveryApps: {\n path: '/commerce-and-bookings/commerce/delivery-apps',\n title: 'Delivery apps (DoorDash, Uber Eats, Grubhub)',\n excerpt: 'Take your DoorDash, Uber Eats and Grubhub orders at your POS register — accept, make and hand them over — with their items off the same shelf as every other sale. Rolling out.',\n },\n designedEmails: {\n path: '/marketing-and-automation/email-campaigns/designed-emails',\n title: 'Designed emails',\n excerpt: 'Build campaign emails in the besigner with email-safe blocks and merge tokens — no separate editor.',\n },\n discountsAndCoupons: {\n path: '/commerce-and-bookings/commerce/discounts-and-coupons',\n title: 'Discounts and coupons',\n excerpt: 'Create discount codes and automatic promotions with a minimum spend, a use limit and start and end dates, add percent-off coupons, and show the code field on your cart and product pages.',\n },\n dropshipSuppliers: {\n path: '/commerce-and-bookings/commerce/dropship-suppliers',\n title: 'Dropship suppliers',\n excerpt: 'Send each paid order to the supplier that ships it, by email or a signed webhook, and let the supplier record the tracking number without an Aglyn account.',\n },\n emailCampaigns: {\n path: '/marketing-and-automation/email-campaigns/overview',\n title: 'Email Campaigns',\n excerpt: 'Campaigns to audiences built from your contacts. Campaign email starts at Pro and needs a sending domain of the site\\'s own; receipts and account email send on every plan.',\n },\n emailPlatforms: {\n path: '/marketing-and-automation/email-campaigns/email-platforms',\n title: 'Email platforms (Mailchimp, Klaviyo, Omnisend)',\n excerpt: 'Keep your contacts and their unsubscribes in step with your own Mailchimp, Klaviyo or Omnisend account, both ways, and send your orders to Klaviyo and Omnisend for their abandoned-cart and post-purchase flows.',\n },\n events: {\n path: '/content-and-data/events/overview',\n title: 'Events Calendar',\n excerpt: 'Keep a schedule of events in the console and publish the ones you choose to any page, with search-engine event markup.',\n },\n forms: {\n path: '/content-and-data/forms/overview',\n title: 'Forms & Lead Capture',\n excerpt: 'Add forms to your site, collect submissions in an inbox, and write them into datasets.',\n },\n fulfillmentNetworks: {\n path: '/commerce-and-bookings/commerce/fulfillment-networks',\n title: 'Fulfillment networks (ShipBob, ShipMonk, Flexport and Amazon MCF)',\n excerpt: 'Send paid orders to ShipBob, ShipMonk, Flexport or Amazon Multi-Channel Fulfillment, get their shipments and tracking back on the order, and keep stock counts in step.',\n },\n funnels: {\n path: '/marketing-and-automation/analytics/funnels',\n title: 'Funnels',\n excerpt: 'See how visitors move through the steps you care about, where they drop off and how long each step takes; build or explain a funnel with Aglyn AI, and follow up with people who dropped off.',\n },\n helpDesks: {\n path: '/commerce-and-bookings/commerce/help-desks',\n title: 'Help desks (Gorgias, Re:amaze, Kustomer, Gladly and Richpanel)',\n excerpt: 'Show your support team each buyer\\'s recent orders beside their tickets in your own Gorgias, Re:amaze, Kustomer, Gladly or Richpanel account, and send contact form messages there as new tickets.',\n },\n installYourFirstPlugin: {\n path: '/guides/install-your-first-plugin',\n title: 'Install your first marketplace item',\n excerpt: 'A click-by-click walkthrough of the Marketplace — find something, choose which sites get it, install it, and turn it off again.',\n },\n inventorySync: {\n path: '/commerce-and-bookings/commerce/inventory-and-erp-sync',\n title: 'Inventory and ERP sync (Cin7 Core, inFlow, Brightpearl, Ordoro)',\n excerpt: 'Keep stock counts, products and paid orders in step with your own Cin7 Core, inFlow Inventory, Brightpearl or Ordoro account.',\n },\n inviteTeammates: {\n path: '/workspace-and-billing/teams-and-roles/invite-teammates',\n title: 'Invite teammates',\n excerpt: 'Add people to your site and understand how team members act within your organization.',\n },\n liveChat: {\n path: '/building-sites/live-chat',\n title: 'Live chat',\n excerpt: 'Chat with your site\\'s visitors through your own Tidio or LiveChat account. The chat loads only when a visitor asks for it, so it never slows your pages.',\n },\n loyalty: {\n path: '/commerce-and-bookings/commerce/rewards-and-referrals',\n title: 'Rewards, referrals and store credit',\n excerpt: 'Give customers points on every order, online and at the register, let them spend points and store credit at checkout or the till, and reward members whose friends buy.',\n },\n loyaltyConnectors: {\n path: '/commerce-and-bookings/commerce/connect-smile-io-or-yotpo',\n title: 'Connect Smile.io or Yotpo Loyalty',\n excerpt: 'Keep your members\\' points in your own Smile.io or Yotpo Loyalty account, earned and spent on every Aglyn order, online and at the register.',\n },\n manageDomains: {\n path: '/building-sites/custom-domains/manage-domains',\n title: 'Manage your domains',\n excerpt: 'See every domain your workspace holds on its Domains page, connect any of them to any site, move a domain here from another registrar, and edit its contact and DNS records.',\n },\n manifestAndEnvs: {\n path: '/developers/plugins/reference/manifest-and-envs',\n title: 'Manifests, trust lifecycle & environment',\n excerpt: 'The plugin manifest schema, the marketplace listing/version documents, the trust state machine, and every PLUGIN_* environment variable.',\n },\n marketingOverlays: {\n path: '/marketing-and-automation/marketing-overlays/overview',\n title: 'Marketing Overlays',\n excerpt: 'Site-wide announcement bars and promotional popups with triggers, scheduling, and email capture.',\n },\n marketplaces: {\n path: '/commerce-and-bookings/commerce/marketplaces',\n title: 'Marketplaces (Amazon, eBay, Etsy, TikTok Shop, Walmart, Faire)',\n excerpt: 'Keep your Amazon, eBay, Etsy, TikTok Shop, Walmart and Faire listings in step with your store\\'s stock, bring their orders in as your orders, and send tracking back. Rolling out.',\n },\n membersOnly: {\n path: '/workspace-and-billing/teams-and-roles/members-only',\n title: 'Members-only areas',\n excerpt: 'Let visitors sign up as members and gate pages so only members can view them.',\n },\n orderNotifications: {\n path: '/commerce-and-bookings/commerce/order-notifications',\n title: 'Order emails & status page',\n excerpt: 'The emails your customers get about their orders, the private order status page they link to, and how to resend a receipt.',\n },\n ordersAndReturns: {\n path: '/commerce-and-bookings/commerce/orders-and-returns',\n title: 'Fulfillment, returns and webhooks',\n excerpt: 'Ship an order in parts with tracking links, run returns from request to refund, print and send invoices, and send order events to your own systems.',\n },\n orgAutomations: {\n path: '/marketing-and-automation/workflows-and-actions/org-automations',\n title: 'Org automations',\n excerpt: 'Write an automation once for the whole organization and run it on the sites you choose, with a pause on each site.',\n },\n ownShippingAccounts: {\n path: '/commerce-and-bookings/commerce/ship-with-your-own-easyship-sendcloud-or-shipperhq',\n title: 'Ship with your own Easyship, Sendcloud or ShipperHQ',\n excerpt: 'Connect your own Easyship or Sendcloud account to get rates and buy labels there, billed to you by that service, or ShipperHQ to price checkout shipping with your own rules. Rolling out.',\n },\n pickupAndDelivery: {\n path: '/commerce-and-bookings/commerce/pickup-and-local-delivery',\n title: 'Pickup & local delivery',\n excerpt: 'Let buyers pick up orders at your locations or have your own driver deliver them, with pickup hours, delivery zones, fees, minimums and delivery times.',\n },\n plugins: {\n path: '/developers/plugins/overview',\n title: 'Plugins & Marketplace',\n excerpt: 'Extend Aglyn with sandboxed plugins — install from the marketplace, configure them, and publish your own.',\n },\n pos: {\n path: '/commerce-and-bookings/commerce/pos-and-reservations',\n title: 'POS & reservations',\n excerpt: 'Sell in person from the console register and take date-range reservations with deposits.',\n },\n posHardware: {\n path: '/commerce-and-bookings/commerce/pos-hardware',\n title: 'POS hardware',\n excerpt: 'Card readers (and buying them, rolling out), a customer display tablet, driverless receipt and kitchen printers, a cash drawer that opens on cash sales, barcode scanning, and product and shipping labels.',\n },\n posOperations: {\n path: '/commerce-and-bookings/commerce/pos-operations',\n title: 'Running the register',\n excerpt: 'Shifts and X/Z reports, day and event totals, check-in with wristbands, staff PINs, customers at the register, returns and exchanges, printed receipts, and selling cash while offline.',\n },\n postPurchase: {\n path: '/commerce-and-bookings/commerce/tracking-and-protection',\n title: 'Tracking and protection (AfterShip, Route and Narvar)',\n excerpt: 'Connect your own AfterShip, Route or Narvar account so parcels are followed, buyers land on your branded tracking page, and shipped orders can carry Route package protection. Rolling out.',\n },\n printOnDemand: {\n path: '/commerce-and-bookings/commerce/print-on-demand',\n title: 'Print on demand (Printful and Printify)',\n excerpt: 'Connect your own Printful or Printify account, import its products into your store, and paid orders are sent to it to make and ship, with tracking written back to each order.',\n },\n publishAPlugin: {\n path: '/developers/plugins/publish-a-plugin',\n title: 'Publish a plugin',\n excerpt: 'Ship your own plugin to the marketplace with version pinning.',\n },\n publisherHandbook: {\n path: '/developers/plugins/publishing/publisher-handbook',\n title: 'Publisher handbook',\n excerpt: 'Publishing to the Aglyn marketplace — from profile setup through listing authoring, review, updates, and getting paid.',\n },\n quotes: {\n path: '/commerce-and-bookings/commerce/quotes-and-proofs',\n title: 'Quotes',\n excerpt: 'Price a customer\\'s order before they buy, from your products and items typed for the job, with tax worked out as you go. Email it with its proof and PDF, have proofs approved, and keep every revision.',\n },\n redirects: {\n path: '/building-sites/redirects/overview',\n title: 'Redirects',\n excerpt: 'Manage URL redirects with validation, loop detection, and hit metrics.',\n },\n reviewPlatforms: {\n path: '/commerce-and-bookings/commerce/review-platforms',\n title: 'Review platforms (Trustpilot and Yotpo)',\n excerpt: 'Invite customers to review your store on Trustpilot after their order ships or arrives, by copying an order email to your Trustpilot invitation address, or with your own Trustpilot or Yotpo Reviews keys.',\n },\n salesChannels: {\n path: '/commerce-and-bookings/commerce/sales-channels',\n title: 'Sales channels',\n excerpt: 'List your products on Google, YouTube, Facebook, Instagram, TikTok, Pinterest, Snapchat and Microsoft Shopping with a product feed for each.',\n },\n sandboxSecurity: {\n path: '/developers/plugins/reference/sandbox-security',\n title: 'Sandbox security model',\n excerpt: 'How sandboxed marketplace plugins are isolated — separate origin, per-manifest CSP, pinned artifacts — and what that means when you write one.',\n },\n sequences: {\n path: '/content-and-data/crm/sequences',\n title: 'Sequences',\n excerpt: 'One-to-one email sequences a rep sends to a person from their own connected mailbox, kept with the CRM. Rolling out.',\n },\n shipping: {\n path: '/commerce-and-bookings/commerce/shipping',\n title: 'Shipping',\n excerpt: 'Shipping zones and rates, local pickup, and the postal address each inventory location ships from.',\n },\n shippingEasy: {\n path: '/commerce-and-bookings/commerce/use-shippingeasy',\n title: 'Use ShippingEasy with Aglyn',\n excerpt: 'Connect your ShippingEasy account so paid orders go there as they are paid, and each label you buy marks the order shipped and emails your customer the tracking link.',\n },\n shippingLabels: {\n path: '/commerce-and-bookings/commerce/shipping-labels-and-live-rates',\n title: 'Shipping labels and live carrier rates',\n excerpt: 'Buy carrier labels from your orders, one at a time or in a batch, quote live carrier rates at checkout, connect your own carrier accounts, and let carrier tracking move orders along and email customers. Rolling out.',\n },\n shipStation: {\n path: '/commerce-and-bookings/commerce/use-shipstation',\n title: 'Use ShipStation with Aglyn',\n excerpt: 'Connect ShipStation to your Aglyn store as a Custom Store, so it imports the orders you still have to ship and each label you buy there marks the order shipped and emails your customer the tracking link.',\n },\n siteStarters: {\n path: '/building-sites/site-templates/site-starters',\n title: 'Site starters',\n excerpt: 'Create a new site from a ready-made website, one of Aglyn\\'s styles or a starter from the marketplace, chosen in Create site before the site exists. Rolling out.',\n },\n staffConsole: {\n path: '/staff-console/overview',\n title: 'Staff Console (internal)',\n excerpt: 'Aglyn-staff tools for managing organizations, entitlements, users, and audits.',\n },\n taxServices: {\n path: '/commerce-and-bookings/commerce/tax-services',\n title: 'Tax services (Avalara AvaTax and TaxJar)',\n excerpt: 'Connect your own Avalara AvaTax or TaxJar account so checkout and the register charge the sales tax it calculates, and your paid orders and refunds are recorded there.',\n },\n waivers: {\n path: '/commerce-and-bookings/commerce/waivers',\n title: 'Waivers',\n excerpt: 'Write your waiver once. Riders sign it on their phones before they arrive, on a tablet at the window or on paper, parents sign for minors, and every signer gets a signed PDF.',\n },\n webhooks: {\n path: '/marketing-and-automation/workflows-and-actions/webhooks',\n title: 'Webhooks',\n excerpt: 'Connect Aglyn to other systems with outbound and inbound webhooks.',\n },\n zapier: {\n path: '/marketing-and-automation/workflows-and-actions/zapier',\n title: 'Zapier',\n excerpt: 'Send your site\\'s orders, bookings, contacts and form submissions to thousands of apps with Zapier, and add contacts or mark orders shipped from them. Rolling out.',\n },\n} as const satisfies Record<string, PluginDocsTopic>\n\nexport type PluginDocsKey = keyof typeof PLUGIN_DOCS\n\nexport const PLUGIN_DOCS_ANCHORS = {\n abuseReports: ['#abuse-queue-page', '#fraud-and-risk-alerts-by-email', '#where-reports-come-from', '#held-outbound-email', '#what-is-screened', '#tiers', '#web-risk', '#deciding-a-held-row', '#security-hold', '#names-and-domains', '#stripe-fraud-signals', '#efw-refund', '#payment-fraud-hold', '#seller-fraud-pattern', '#card-testing-velocity', '#marketplace', '#reported-listings', '#risk-notices', '#triage-by-severity', '#reading-a-report', '#csam', '#which-lever', '#statuses', '#disclosure', '#dmca', '#counter-notices', '#counter-notice-clock', '#counter-notice-steps', '#repeat-infringers', '#repeat-infringer-threshold', '#known-gaps', '#related'],\n actionsBuilder: ['#create-an-action', '#recipes', '#describe-it', '#triggers', '#pick-element', '#crm-events', '#funnel-events', '#only-run-when-a-field-matches', '#chain-multiple-conditions-andor', '#steps', '#crm-steps', '#step-conditions', '#sequences', '#transactional-replies', '#merge-tags', '#run-history', '#what-is-and-isnt-recorded', '#interactions-from-the-besigner', '#when-to-use-which', '#related'],\n adConversions: ['#conversions-api', '#meta-conversions-api', '#tiktok-events-api', '#pinterest-conversions-api', '#how-it-works', '#test-events', '#related'],\n aglynAssist: ['#what-it-can-do', '#aglyn-ai', '#answers-for-beginners-and-developers', '#offers-to-open-a-page', '#edits-in-the-besigner', '#where-an-answer-came-from', '#answers-straight-from-the-documentation', '#message-limits', '#feedback', '#privacy'],\n aiAllotments: ['#allotments', '#hard-or-soft', '#the-pool-comes-first', '#limiting-models', '#who-can-set-them', '#a-members-allotment', '#a-sites-allotment', '#usage-strip', '#choosing-a-model', '#related'],\n aiAssistBuilds: ['#ask-or-build', '#change-a-page', '#what-it-can-build', '#the-plan-card', '#confirm-the-plan', '#one-job-many-parts', '#what-it-cannot-do', '#a-store', '#what-it-costs', '#who-can-use-it', '#related'],\n aiAutomations: ['#draft', '#org-automations', '#change', '#explain', '#why-a-run-failed', '#what-is-sent', '#who-can-use-it', '#related'],\n aiBusinessProfile: ['#where-to-edit-it', '#the-business-profile-card', '#where-the-values-come-from', '#workspace-defaults', '#contact-details-are-never-invented', '#what-aglyn-ai-learned', '#which-jobs-read-it', '#related'],\n aiComponent: ['#from-a-brief', '#what-the-job-builds', '#optional-parts', '#defaults', '#where-it-lands', '#from-a-section-on-your-page', '#related'],\n aiCreate: ['#the-button', '#where-it-appears', '#what-you-get', '#without-the-add-on', '#when-it-is-not-there', '#related'],\n aiCredits: ['#monthly-credits', '#free-plan', '#the-aglyn-ai-add-on', '#what-things-cost', '#before-a-job-starts', '#when-credits-run-out', '#past-the-band', '#credits-given-back', '#see-your-credits', '#related'],\n aiCrm: ['#summarize-a-record', '#summaries-are-reused-until-the-record-changes', '#draft-an-email', '#match-columns', '#what-is-sent', '#set-up-the-crm', '#who-can-use-it', '#related'],\n aiEmail: ['#where-to-start-it', '#what-you-get', '#write-the-brief', '#products', '#who-receives-it', '#merge-tokens', '#what-it-will-not-do', '#where-it-runs', '#related'],\n aiExperiments: ['#it-proposes-you-write', '#write-variants', '#putting-them-in', '#draft-versions', '#what-it-will-not-write', '#read-a-result', '#the-verdict', '#the-words', '#undecided', '#what-is-sent', '#who-can-use-it', '#related'],\n aiForm: ['#describe-the-form', '#what-the-form-gets', '#what-a-form-cannot-collect', '#nothing-is-live-until-you-place-it', '#who-can-use-it', '#related'],\n aiImages: ['#make-a-picture', '#shapes-and-how-many', '#what-each-picture-gets', '#credits', '#safety', '#declined-pictures', '#what-is-sent', '#who-can-use-it', '#related'],\n aiImport: ['#start', '#your-current-website', '#prove-it-is-yours', '#read-my-site', '#not-brought-in', '#keep-or-improve', '#improve-planned', '#waves', '#your-sites-preview', '#review-a-wave', '#photos', '#never-brought-in', '#when-an-import-waits', '#turned-away'],\n aiInsights: ['#asking-a-question', '#how-an-answer-is-made', '#asking-about-datasets', '#weekly-insights', '#privacy'],\n aiJobs: ['#the-ai-jobs-page', '#statuses', '#one-jobs-page', '#ai-jobs-in-assist', '#cancel-a-job', '#cancel-a-new-site', '#ai-activity', '#how-long-jobs-are-kept', '#related'],\n aiLayout: ['#what-a-layout-is', '#find-a-layout', '#nested-layouts', '#layout-properties', '#restyle-the-layout-on-one-page', '#duplicate', '#generate-a-layout-with-aglyn-ai', '#used-by', '#layouts-vs-reusable-components', '#related'],\n aiLogic: ['#function', '#variable', '#change', '#broken-references', '#what-is-sent', '#who-can-use-it', '#related'],\n aiMarketing: ['#write-overlay-copy', '#create-an-overlay', '#create-a-campaign', '#ask-about-these-numbers', '#what-is-sent', '#who-can-use-it', '#related'],\n aiMonitoring: ['#the-ai-card', '#compensating-credits', '#ai-conversations', '#where-else', '#one-account', '#the-spend-leaderboard', '#alerts', '#related'],\n aiPage: ['#describe-the-page', '#review-the-plan', '#how-the-page-is-built', '#the-draft', '#what-a-page-job-uses', '#who-can-use-it', '#related'],\n aiProducts: ['#write-a-products-copy', '#write-copy-for-many-products', '#when-you-import-products', '#propose-a-first-catalog', '#propose-categories-and-discounts', '#what-the-copy-never-says', '#what-is-sent-to-the-ai-provider', '#who-can-use-it', '#related'],\n aiSeo: ['#write-a-pages-listing', '#write-a-products-listing', '#fix-what-the-seo-check-finds', '#apply-all-as-drafts', '#structured-data-and-llmstxt', '#related'],\n aiSite: ['#starting-a-new-site-from-a-few-questions', '#on-the-free-plan', '#if-the-plan-does-not-work-out', '#what-a-scaffold-builds', '#what-is-published', '#what-it-costs-before-it-starts', '#watching-it-build', '#generate-for-several-sites-at-once'],\n aiSiteLooks: ['#choose-a-style', '#each-styles-layout', '#an-ai-starters-look', '#how-the-look-is-made', '#your-theme-afterwards', '#change-the-look-later', '#related'],\n aiStart: ['#how-do-you-want-to-start', '#start-from-an-ai-starter', '#the-questions', '#your-business', '#audience', '#style', '#sites-you-like', '#details', '#review', '#what-it-will-cost', '#what-gets-built', '#building-your-site', '#paused-or-out-of-credits', '#try-again', '#published-and-indexable', '#the-sites-search-listing', '#business-details', '#a-store-from-the-start', '#a-blog-from-the-start', '#events-from-the-start', '#on-the-free-plan', '#who-can-use-it', '#related'],\n aiTemplate: ['#the-three-kinds', '#templates-list', '#installing-from-the-marketplace', '#saving-something-as-a-template', '#using-a-template', '#generate-a-page-template-with-aglyn-ai', '#where-a-template-came-from', '#first-party-starters', '#templates-are-per-site', '#duplicating', '#deleting', '#related'],\n aiThemes: ['#describe-a-change', '#match-your-brand', '#review-the-proposal', '#save-it-or-dont', '#who-can-use-it', '#related'],\n assistSignals: ['#the-workflow-this-board-exists-for', '#fleet', '#the-cache-read-rate-and-what-a-bad-number-looks-like', '#where-the-money-goes', '#tokens-by-kind', '#docs-gaps', '#questions-the-docs-could-not-answer', '#what-people-actually-asked', '#what-assist-costs-by-workspace', '#reading-the-sample-honestly', '#related'],\n billing: ['#billing-page', '#current-plan', '#locked-features', '#billing-link', '#tiers--entitlements', '#made-with-badge', '#leaving-notice', '#plan-without-subscription', '#upgrade-proposal', '#enterprise', '#single-sign-on-and-enforcement', '#usage-meters', '#usage-card', '#metered-usage-estimate', '#usage-history', '#campaign-sending-pace', '#who-is-generating-what', '#ai-allotments', '#storage-overage', '#if-you-would-rather-uploads-stopped', '#files-on-quotes-and-forms', '#assist-overage', '#stop-ai-assist-at-the-included-band', '#ai-overage-ceiling', '#free-ai-credits', '#ai-credit-alerts', '#usage-budget', '#seats', '#crm-records', '#the-crm-suite', '#one-to-one-email', '#organization-data', '#api-access', '#payments', '#outstanding', '#plan-total', '#what-you-will-pay', '#switch-with-a-code', '#billing-history', '#billing-email', '#payment-methods', '#billing-address', '#billing-address-on-profile', '#tax-ids', '#sales-tax', '#platform-fees', '#related'],\n bindings: ['#binding-tokens', '#rename-safe-id-tokens', '#insert-a-variable', '#token-pills', '#in-the-canvas-text-editor', '#site-details', '#typed-variables', '#no-code-functions', '#functions-card', '#parameters-a-visitor-can-answer', '#a-calculator-you-lay-out', '#where-used--safety', '#workflows', '#related'],\n bookings: ['#set-up-bookings', '#draft-services', '#price-labels', '#phone-and-address', '#taking-bookings', '#reminders', '#payments-and-fees', '#service-tax', '#manage', '#booking-from-the-crm', '#canceling-and-refunding', '#export-bookings', '#related'],\n buildAWorkflow: ['#1-open-the-workflows-page', '#2-choose-a-trigger', '#3-add-steps', '#waiting', '#4-save-and-test', '#duplicate-a-workflow', '#tips', '#related'],\n buyADomain: ['#steps', '#site-has-a-domain', '#confirm-email', '#renewals', '#problems', '#transfer', '#after'],\n catalog: ['#products-options-and-variants', '#more-than-100-combinations', '#add-ons', '#price-by-size', '#add-ons-on-the-product-page', '#picture-cards', '#free-mockup', '#sell-in-person-only', '#offer-on-the-kiosk', '#billing-modes-and-subscriptions', '#subscriptions-list', '#ai', '#categories-and-tags', '#collections', '#product-reviews', '#show-reviews', '#review-settings', '#review-moderation', '#slugs', '#merchant-center-feed', '#related'],\n commerce: ['#who-charges-what', '#products-hub', '#inventory', '#inventory-locations', '#reserved-stock', '#stock-movements', '#gift-cards', '#recovery-and-alerts', '#orders', '#orders-screen', '#order-statuses', '#order-money-tiles', '#a-lost-dispute', '#payment-methods', '#shipping--taxes', '#tax-settings', '#lodging-tax-on-reservations', '#storefront-sales-tax', '#destination-coverage', '#pickup-and-local-delivery', '#dropshipping', '#store-settings', '#discounts-and-coupons', '#discounts', '#coupons', '#commerce-glance', '#commerce-analytics', '#related'],\n commerceEndToEnd: ['#1-connect-payments', '#2-create-products', '#3-design-the-storefront', '#catalog-search-filters-and-sort', '#category-pages', '#the-product-page-template', '#4-what-checkout-does', '#paying-without-leaving-your-site', '#5-run-orders-from-the-console', '#6-subscriptions--the-stripe-portal', '#member-updates', '#related'],\n companies: ['#the-companies-list', '#create-a-company', '#the-lists-behind-the-choices', '#a-companys-page', '#contact-roles', '#contacts-at-a-company', '#linked-on-capture', '#import', '#export', '#deleting-a-company', '#who-can-see-a-company', '#files', '#related'],\n connectOtherAccounting: ['#before-you-start', '#connect', '#choose-your-books', '#choose-your-accounts', '#what-is-posted', '#sales-before-you-connected', '#when-something-does-not-post', '#disconnect', '#related'],\n connectQuickbooksOnline: ['#before-you-start', '#connect', '#choose-your-accounts', '#what-is-posted', '#sales-tax-collected-by-aglyn', '#one-summary-a-day-instead', '#currency', '#sales-before-you-connected', '#when-something-does-not-post', '#disconnect'],\n connectXero: ['#before-you-start', '#connect', '#choose-an-organization', '#choose-your-accounts', '#what-is-posted', '#sales-tax-collected-by-aglyn', '#one-summary-a-day-instead', '#currency', '#sales-before-you-connected', '#when-something-does-not-post', '#disconnect'],\n consoleTour: ['#the-app-bar', '#choose-a-workspace', '#in-context-help', '#filter-and-search', '#primary-navigation', '#editing-vs-managing', '#the-sites-list', '#a-site-card', '#the-status-pill', '#how-the-pill-is-decided', '#your-site-allowance', '#a-sites-dashboard', '#recent-activity', '#next', '#workspace-settings--notifications', '#organization-settings', '#organization-general', '#the-notifications-feed', '#all-notifications', '#notification-levels', '#notification-settings', '#one-kind-at-a-time', '#workspace-and-site-overrides', '#daily-digests', '#notification-sound', '#alerts-on-this-device'],\n contactActivities: ['#four-kinds-of-history', '#reading-the-timeline', '#campaign-email', '#logging-an-activity', '#who-what-and-which-company', '#meeting-from-a-booking', '#click-to-call', '#sending-an-email', '#delivery-states', '#captured-email', '#where-an-activity-is-visible', '#the-recent-activity-feed', '#related'],\n contactFields: ['#define-a-field', '#fields-per-record', '#where-values-show', '#currency-fields', '#save-a-form-field', '#picklist-values', '#task-picklists', '#over-the-api', '#retire-restore-delete', '#export-fields', '#recompute-next-activity', '#related'],\n contactRecord: ['#adding-a-contact-by-hand', '#the-record-page', '#contact-properties', '#the-standard-fields', '#do-not-call', '#deleting-and-erasing', '#what-each-site-keeps-to-itself', '#when-sites-join-or-leave-a-group', '#merging-two-records', '#likely-duplicates', '#owner', '#last-engaged', '#lifecycle-stages', '#where-the-persons-lead-is', '#finding-a-contact', '#files', '#related'],\n contacts: ['#whats-in-the-crm-area', '#unified-ingestion', '#what-each-plan-includes', '#the-contacts-page', '#import-and-export', '#segments', '#everywhere-the-crm-shows-up', '#capture-replies', '#at-the-organization-level', '#known-by', '#who-can-open-the-crm', '#one-sender-one-crm', '#related'],\n couriers: ['#who-pays', '#connect-doordash-drive', '#webhook', '#send-a-courier', '#cancel', '#what-your-buyer-sees'],\n crmEmailTemplates: ['#templates-and-snippets', '#merge-fields', '#saving', '#managing-templates', '#duplicate-a-template', '#shared-or-personal', '#over-the-rest-api', '#related'],\n crmLeads: ['#what-makes-a-lead', '#what-a-lead-holds', '#lead-source-filled-in', '#adding-a-lead-by-hand', '#the-leads-list', '#lead-statuses', '#filter-the-leads', '#working-a-lead-from-the-row', '#several-leads-at-once', '#import-from-csv', '#who-owns-a-lead', '#a-leads-page', '#lead-details', '#lead-campaigns', '#captured-history', '#email-state', '#converting-a-lead', '#unqualifying-a-lead', '#erasing-the-person', '#who-can-do-this', '#related'],\n crmReports: ['#choosing-a-period', '#contacts', '#sources-and-lifecycle', '#conversion-by-source', '#lead-funnel', '#lead-sources', '#pipeline', '#forecast-by-close-month', '#by-forecast-category', '#won-and-lost', '#won-and-lost-by-owner', '#activity-by-teammate', '#tasks', '#exporting-a-table', '#crm-at-a-glance', '#how-the-numbers-are-counted', '#related'],\n crmSettings: ['#companies', '#create-companies-from-work-email-domains', '#default-owner', '#assignment-rules', '#round-robin', '#email-templates', '#email-capture', '#your-sending-addresses', '#recipes', '#related'],\n crmSharing: ['#default-sharing-for-new-records', '#apply-to-existing-records', '#share-a-record-with-more-sites', '#all-sites-except-some', '#what-a-shared-record-looks-like', '#sharing-card', '#share-a-record-by-hand', '#several-records-at-once', '#sharing-rules', '#access-read-only-or-read-and-edit', '#sharing-is-not-consent', '#who-can-do-this', '#related'],\n crmTasks: ['#task-picklists', '#the-tasks-page', '#the-calendar-view', '#snoozing-a-task', '#selecting-exporting-and-acting-on-many', '#import-from-csv', '#creating-a-task', '#assigning-a-task-to-someone-else', '#completing-and-reopening', '#organization-tasks', '#tasks-on-a-contact-company-or-deal', '#reminders', '#turning-reminders-off', '#next-activity', '#the-daily-digest', '#turning-it-off', '#the-dashboard-card', '#who-can-do-what', '#related'],\n crmViews: ['#the-views-control', '#a-view-is-a-link', '#filters', '#filters-on-the-contacts-list', '#filters-on-the-other-lists', '#columns-and-sort', '#segments-and-views', '#who-sees-what', '#related'],\n datasets: ['#organization-data-page', '#model-builder', '#typed-documents', '#sample-rows', '#filter-records', '#relations', '#query-layer', '#repeatable-components', '#record-pages', '#who-a-dataset-is-shared-with', '#default-dataset-sharing', '#import--export', '#related'],\n deals: ['#pipelines', '#stages', '#the-board-and-the-table', '#import-from-csv', '#creating-a-deal', '#type-and-lead-source', '#contact-roles', '#line-items', '#moving-winning-and-losing', '#a-won-deal-makes-its-contact-a-customer', '#a-deals-page', '#deal-properties', '#deals-on-a-record', '#files', '#related'],\n deliveryApps: ['#connect-a-store', '#the-menu', '#match-items', '#taking-orders'],\n designedEmails: ['#create-a-template', '#find-a-template', '#duplicate-a-template', '#template-page', '#template-report', '#template-preview', '#styling-email-blocks', '#merge-tokens', '#send-it', '#the-plain-text-version', '#start-from-a-brief-instead'],\n discountsAndCoupons: ['#add-a-discount', '#discount-types', '#product-discounts', '#automatic-promotions', '#discount-codes', '#use-limits', '#where-discounts-apply', '#coupons', '#import-and-export', '#show-the-code-field', '#what-shoppers-see', '#troubleshooting', '#related'],\n dropshipSuppliers: ['#add-a-supplier', '#assign-products', '#when-an-order-is-paid', '#supplier-email', '#record-the-shipment', '#webhook-orders', '#signed-webhooks', '#webhook-retries', '#troubleshooting', '#related'],\n emailCampaigns: ['#send-a-campaign', '#campaigns-belong-to-the-organization', '#organization-emails-page', '#campaigns-group-emails', '#campaign-page', '#filter-the-lists', '#what-belongs-to-a-campaign', '#who-the-email-comes-from', '#sending-domains', '#account-email-always-sends', '#marketing-needs-a-domain', '#two-ways-to-get-a-domain', '#a-domain-we-set-up-is-a-request', '#domain-states', '#org-sending-domain', '#senders', '#add-a-sender', '#send-a-test', '#preview-the-email', '#monthly-send-cap', '#personalize-with-merge-tags', '#recipient-count', '#who-a-campaign-is-allowed-to-reach', '#schedule-a-send', '#held-for-review', '#duplicate-an-email', '#email-lists', '#manual-lists', '#list-members', '#add-to-a-list', '#import-a-list', '#export-a-list', '#remove-from-a-list', '#lists-built-from-a-rule', '#experiments', '#experiments-across-sites', '#opens--clicks', '#last-campaign-card', '#messages-list', '#email-page', '#email-preview', '#email-recipients', '#the-campaign-report', '#per-contact-engagement', '#which-links-were-clicked', '#revenue-from-a-campaign', '#how-a-visit-is-credited', '#utm-labels', '#who-it-reached', '#conversions', '#compliance', '#list-unsubscribe', '#topics', '#preference-page', '#consent-groups', '#consent-group-create', '#consent-group-join', '#consent-group-leave', '#consent-group-rename', '#consent-group-progress', '#frequency-opt-down', '#double-opt-in', '#consent-group-confirmation', '#marketing-mail', '#frequency-cap', '#suppressions', '#org-suppressions', '#add-a-suppression', '#import-export-suppressions', '#platform-suppressions', '#related'],\n emailPlatforms: ['#connect', '#who-is-sent', '#unsubscribes-from-the-platform', '#settings', '#sync-log', '#disconnect', '#one-off-imports'],\n events: ['#manage-events', '#import-and-export-events', '#columns', '#how-a-row-finds-an-existing-event', '#conflicts-the-dry-run-and-undo', '#files-from-other-calendars', '#show-events-on-a-screen', '#ask-aglyn-ai', '#search-engines', '#related'],\n forms: ['#reading-submissions-from-code', '#build-a-form', '#place-a-saved-form', '#saved-forms-per-site', '#monthly-allowance-per-plan', '#spam-and-abuse-protection', '#the-per-site-monthly-ceiling', '#field-types', '#file-upload', '#labels-and-placeholders', '#example-a-quick-survey', '#style-a-field', '#after-submit', '#example-grow-an-email-list-from-a-signup-form', '#consent-group-disclosure', '#where-submissions-go', '#the-inbox', '#filter-the-inbox', '#who-a-submission-is-from', '#what-it-links-to', '#files-and-quote-requests', '#where-this-one-went', '#replying-to-a-submission', '#inbox-card', '#every-sites-inbox-at-once', '#one-forms-own-page', '#form-details', '#form-crm-routing', '#after-someone-sends-it', '#form-versions', '#form-collected', '#form-submissions', '#form-saves-to-contact-fields', '#export-submissions', '#find-a-form', '#duplicate-a-form', '#switch-forms-off-for-one-site', '#related'],\n fulfillmentNetworks: ['#connect-a-network', '#shipmonk-connect-with-your-api-key', '#flexport-connect-with-your-api-token', '#settings', '#how-orders-are-sent', '#stock-counts', '#shipments-and-tracking', '#canceling-and-refunds', '#activity'],\n funnels: ['#step-types', '#how-it-counts', '#what-is-a-visit', '#identified-visitors', '#create', '#create-with-ai', '#drafts', '#act-on-drop-off', '#ask-ai'],\n helpDesks: ['#before-you-start', '#connect', '#credentials', '#what-agents-see', '#contact-form-tickets', '#settings', '#sync-log', '#disconnect', '#related'],\n installYourFirstPlugin: ['#before-you-start', '#step-1-open', '#step-2-browse', '#step-3-reviews', '#step-4-targeting', '#step-5-install', '#step-6-use', '#step-7-off', '#manage-plugins', '#find-plugins', '#built-in-plugins', '#a-plugins-page', '#where-a-plugin-runs', '#permissions-and-data', '#site-plugins', '#plugin-on-one-site', '#plugin-connections', '#what-to-do-next', '#related'],\n inventorySync: ['#connect-a-system', '#stock-counts', '#products', '#orders', '#canceling-and-refunds', '#activity'],\n inviteTeammates: ['#invite-someone', '#pending-invites', '#who-gets-told', '#joining-from-an-invite', '#when-joining-doesnt-go-through', '#an-ordinary-invitation-never-changes-who-owns-the-workspace', '#owner-handoff', '#aglyn-staff', '#how-team-members-act', '#you-are-a-site-collaborators-support-channel', '#member-page', '#member-access', '#member-activity', '#member-changes', '#help-a-teammate-who-is-locked-out', '#why-you-cant-always-set-a-password', '#activity-log', '#site-activity-log', '#ai-actions', '#ai-usage', '#ai-allotment', '#tips', '#related'],\n liveChat: ['#set-up-live-chat', '#which-pages-show-the-chat', '#how-the-chat-loads', '#privacy-and-cookies'],\n loyalty: ['#set-up-your-program', '#how-customers-earn', '#spending-rewards-online', '#at-the-register', '#referrals', '#members-and-store-credit', '#on-an-order', '#refunds-and-cancellations', '#emails', '#switching-it-off-for-a-site'],\n loyaltyConnectors: ['#connect-your-account', '#who-earns', '#when-something-is-not-sent', '#disconnect'],\n manageDomains: ['#the-list', '#a-domain', '#connect', '#transfer-in', '#contact', '#dns', '#transfer-out'],\n manifestAndEnvs: ['#plugin-manifest-published-with-every-version', '#contributes--where-the-plugin-loads', '#config--settings-without-writing-a-settings-screen', '#connections', '#connection-sync', '#connection-record', '#connection-repeat', '#connection-variables', '#image-hosts', '#listing--version-documents', '#review--trust-lifecycle', '#review-queue', '#verification-requests', '#listed-plugins', '#submission-status', '#review-overview', '#review-checklist', '#review-verdict', '#review-versions', '#take-down', '#environment-variables', '#pluginsconfigjson-first-party-contributors'],\n marketingOverlays: ['#announcement-bar', '#promotional-popups', '#frequency', '#popup-v2', '#multiple-overlays-scheduling--page-targeting', '#with-ai', '#variables-in-copy', '#engagement-stats', '#across-your-sites', '#org-marketing-overview', '#org-overlays', '#related'],\n marketplaces: ['#connect-a-marketplace', '#listings', '#orders', '#activity'],\n membersOnly: ['#let-visitors-sign-up', '#sign-in-sign-up-and-recovery-pages', '#forgotten-passwords', '#gate-a-screen', '#manage-your-members', '#suspend-or-reactivate-a-member', '#tips', '#related'],\n orderNotifications: ['#customer-emails', '#tracking-links', '#turning-emails-off', '#changing-the-wording-and-colors', '#who-is-told', '#switch-off-team-notices', '#order-status-page', '#resend-receipt', '#text-messages', '#related'],\n ordersAndReturns: ['#fulfillment', '#invoices', '#send-invoice', '#invoice-pay-link', '#invoice-which-orders', '#returns', '#buyer-requests', '#run-a-return', '#order-webhooks', '#when-an-endpoint-is-down', '#related'],\n orgAutomations: ['#what-an-org-automation-is', '#create-one', '#triggers', '#steps', '#pause-it-on-one-site', '#waiting-switching-off-and-deleting', '#every-sites-own-automations', '#related'],\n ownShippingAccounts: ['#before-you-start', '#connect-an-account', '#easyship', '#sendcloud', '#shipperhq', '#tracking-webhooks', '#what-changes', '#disconnect', '#troubleshooting', '#related'],\n pickupAndDelivery: ['#set-up-pickup', '#set-up-local-delivery', '#queue', '#ask-aglyn-ai', '#related'],\n plugins: ['#install--upgrade', '#browse-card', '#whats-included', '#what-the-badges-on-a-listing-mean', '#how-plugins-run', '#when-one-plugin-depends-on-another', '#a-dependency-that-is-off-for-one-site', '#configure', '#configure-site', '#publish-your-own', '#related'],\n pos: ['#registers', '#who-can-do-what-at-the-register', '#the-register', '#modifiers', '#selling-past-the-count', '#taking-payment', '#platform-fees-at-the-register', '#when-something-disconnects', '#tips', '#receipts', '#card-readers', '#customer-display', '#self-service-kiosk', '#reservations', '#several-identical-units', '#related'],\n posHardware: ['#recommended-kit', '#card-readers', '#reader-4g', '#reader-start-up-screen', '#buy-a-reader-from-aglyn', '#who-can-buy-hardware', '#bought-from-our-online-store', '#bought-from-us-in-person', '#card-readers-to-set-up', '#hardware-orders-at-closure', '#hardware-purchase-records', '#receipt-printers', '#add-a-printer', '#what-prints', '#your-logo-on-the-receipt', '#status', '#cash-drawer', '#barcode-scanning', '#label-printers', '#product-labels', '#shipping-labels', '#customer-display-tablet', '#related'],\n posOperations: ['#shifts-and-the-cash-drawer', '#what-the-reports-show', '#shift-history', '#day-and-event-totals', '#requiring-a-shift', '#who-rang-it', '#check-in-at-the-window', '#staff-pins', '#customers-at-the-register', '#returns-and-exchanges', '#refund-limits-and-manager-approval', '#printed-receipts', '#selling-while-offline', '#what-the-sync-checks', '#cards-taken-offline-in-the-aglyn-pos-app', '#before-you-go-offline', '#related'],\n postPurchase: ['#connect-a-service', '#afterships-webhook', '#package-protection-at-checkout', '#branded-tracking-pages', '#on-the-order', '#switching-it-off-for-a-site'],\n printOnDemand: ['#before-you-start', '#connect', '#import-products', '#costs-and-margins', '#orders', '#test-orders', '#canceling-and-refunding', '#shipments-and-tracking', '#disconnect', '#what-is-sent-to-the-service'],\n publishAPlugin: ['#the-publish-pipeline', '#private-plugins', '#paid-listings', '#your-publisher-profile', '#profile-card', '#listing-publisher-card', '#tips', '#related'],\n publisherHandbook: ['#before-your-first-publish', '#public-profile', '#the-publisher-agreement', '#where-to-publish-from', '#what-installing-each-type-does', '#rules-an-email-starter-has-to-meet', '#publishing-a-version', '#bundle-and-manifest', '#connection-credentials', '#before-you-publish', '#review-what-happens-after-you-publish', '#the-two-badges-and-what-each-one-promises', '#asking-to-be-verified', '#testing-a-version-before-it-is-approved', '#watching-your-own-submission', '#disabled-versions', '#private-plugins', '#authoring-your-listing', '#edit-listing', '#your-listings', '#listing-links', '#what-your-listing-can-say-about-aglyn', '#versioning--updates', '#listing-changelog', '#version-history', '#shipping-a-new-version', '#how-installs-work-the-buyer-side', '#your-own-listings', '#install-card', '#installed-from-the-marketplace', '#licenses', '#workspace-licenses', '#licenses-you-bought', '#getting-paid', '#set-up-payouts', '#purchases-and-fees', '#refund-reversals', '#low-prices-and-processing'],\n quotes: ['#what-a-quote-holds', '#quote-defaults', '#make-a-quote', '#a-request-a-quote-form', '#start-a-quote-from-a-request', '#start-a-quote-from-a-contact', '#totals-and-tax', '#send', '#quote-email', '#conversation', '#send-again', '#pay-link', '#customer-page', '#proofs', '#proof-only', '#customer-proofs', '#proof-sign-in', '#messages', '#approval-and-paying', '#revisions', '#pdf', '#paying', '#paid', '#invoice', '#quotes-are-not-orders', '#permissions'],\n redirects: ['#manage-redirects', '#query-strings-pass-through', '#sending-visitors-to-another-site', '#import-and-export', '#columns', '#how-a-row-finds-an-existing-rule', '#conflicts-the-dry-run-and-undo', '#ask-aglyn-ai', '#metrics', '#match-modes-v2', '#related'],\n reviewPlatforms: ['#who-is-invited', '#trustpilot', '#trustpilot-invitation-address', '#trustpilot-api', '#yotpo-reviews', '#on-the-order', '#switching-it-off-for-a-site', '#related'],\n salesChannels: ['#set-up-sales-channels', '#turn-on-a-channel', '#keep-the-address-private', '#what-each-product-sends', '#brand-barcode-and-category', '#shipping', '#check-your-products', '#how-fresh-the-feed-is', '#earlier-merchant-center-address', '#turn-off', '#related'],\n sandboxSecurity: ['#a-separate-origin', '#per-manifest-network-policy', '#when-you-cant-declare-the-origin', '#pinned-immutable-artifacts', '#what-this-means-when-you-build', '#what-a-reviewer-checks', '#related'],\n sequences: ['#what-it-is-for', '#sent-from-your-own-mailbox', '#where-it-lives', '#self-hosted', '#connect-a-mailbox', '#send-as', '#daily-cap', '#mailbox-status', '#auto-pause', '#mailbox-actions', '#link-domains', '#compliance-settings', '#allowed-countries', '#do-not-contact-domains', '#import-export-do-not-contact', '#sequences', '#build-a-sequence', '#sequence-sending-settings', '#count-opens', '#send-a-test', '#sequence-status', '#enroll', '#start-at-step', '#mail-gateways', '#cold-contacts', '#enrollments', '#person-history', '#person-activity', '#person-details', '#curate', '#sending', '#what-stops-a-sequence', '#answer-a-reply', '#unsubscribe', '#related'],\n shipping: ['#zones-and-rates', '#ask-aglyn-ai', '#where-parcels-ship-from', '#labels-and-live-carrier-rates'],\n shippingEasy: ['#before-you-start', '#connect', '#what-is-sent', '#ship', '#manage', '#troubleshooting', '#related'],\n shippingLabels: ['#before-you-start', '#shipping-labels-settings', '#ship-from', '#boxes', '#label-options', '#checkout-services', '#paying-for-labels', '#carrier-accounts', '#product-shipping-fields', '#carrier-rates-at-checkout', '#address-checks', '#buy-a-label', '#void-a-label', '#batch-labels', '#return-labels', '#tracking', '#label-spend', '#troubleshooting', '#related'],\n shipStation: ['#connect', '#what-imports', '#ship', '#manage', '#troubleshooting', '#related'],\n siteStarters: ['#choose-your-starter', '#what-a-card-shows', '#where-starters-come-from', '#starters-and-ai-starters', '#a-starter-with-a-price', '#what-your-site-gets', '#make-it-your-own', '#who-can-use-them', '#publishing-your-own', '#in-the-aglyn-app', '#related'],\n staffConsole: ['#runbooks', '#whats-there', '#staff-overview', '#staff-overview-organizations', '#staff-overview-signups', '#staff-overview-sites', '#staff-overview-users', '#staff-overview-mrr', '#staff-overview-newest-orgs', '#support-queue', '#plugin-reviews', '#plugin-reviews-site-starters', '#plugin-review-starter-status', '#plugin-review-starter-overview', '#plugin-review-starter-pages', '#plugin-review-starter-theme', '#plugin-review-starter-checklist', '#plugin-review-starter-verdict', '#plugin-review-starter-versions', '#plugin-review-starter-danger-zone', '#organizations-admin', '#filter-the-directory', '#organization-detail', '#staff-org-email', '#free-workspace-limit', '#first-party-hosts', '#entitlement-editor', '#plan-comps', '#build-for-a-client', '#client-build-screen', '#bundle-link', '#sites-admin', '#filter-the-site-list', '#site-detail', '#site-ownership', '#site-transfer', '#site-content', '#staff-automations', '#staff-org-automations', '#emails-sent', '#staff-media-library', '#users-admin', '#users-accounts', '#user-detail', '#user-identity', '#user-organizations', '#user-audit-trail', '#user-data-access', '#user-activity', '#legal-acceptances', '#acquisition', '#password-help', '#sign-one-device-out', '#email-delivery', '#import-delivery-history', '#organization-page-cards', '#org-staff-actions', '#org-edit', '#org-sites', '#org-members', '#org-effective-entitlements', '#org-metered-usage', '#enterprise-custom-billing', '#org-recent-admin-actions', '#org-activity', '#success-manager', '#site-page-cards', '#site-usage', '#site-settings-snapshot', '#staff-notes', '#broadcast-announcements', '#billing-insight', '#margin-utilization', '#margin-scan', '#margin-fleet-utilization', '#margin-fleet-margin', '#margin-by-organization', '#refunds', '#impersonation', '#system-emails', '#edit-a-system-email', '#platform-send-rate', '#platform-suppressions', '#platform-settings', '#feature-flags', '#multi-tenant-architecture', '#audit-archival', '#organization-suspension', '#operator-alerts', '#ai-monitoring', '#sales-tax-return', '#audit-log', '#audit-admin-actions', '#coupons', '#create-a-coupon', '#discount-floors', '#existing-coupons', '#contact-suppressions', '#record-a-dnc-request', '#suppressed-numbers', '#access', '#which-identity-holds-staff', '#staff-inside-a-customers-tenant--a-property-worth-knowing', '#offboarding', '#break-glass-access', '#requiring-sso-for-a-company-domain', '#why-am-i-getting-a-404', '#related'],\n taxServices: ['#before-you-start', '#connect', '#when-the-service-is-not-used', '#how-sales-are-taxed', '#product-tax-codes', '#exempt-customers', '#recording-orders-and-refunds', '#disconnect', '#what-is-sent-to-the-vendor'],\n waivers: ['#your-waivers', '#write-a-waiver', '#versions', '#how-long-a-signature-lasts', '#share-it-before-riders-arrive', '#signing-electronically', '#on-your-site', '#sign-at-the-window', '#at-check-in', '#how-a-rider-is-matched', '#on-the-customer-display', '#minors', '#paper-waivers', '#find-a-signature', '#a-signatures-record', '#contacts', '#privacy', '#keeping-signed-waivers', '#related'],\n webhooks: ['#outbound-webhooks', '#slack', '#inbound-webhooks', '#tips', '#related'],\n zapier: ['#connect-aglyn-to-zapier', '#triggers', '#actions-and-searches', '#what-each-needs', '#see-and-disconnect-your-zaps'],\n} as const satisfies Partial<Record<PluginDocsKey, readonly `#${string}`[]>>\n\n/**\n * The heading each linked anchor opens on — the tooltip's title when a call\n * names an anchor and no title of its own (AGL-3707). Synchronous because it\n * is the help button's accessible name; the section's prose is in\n * `docs-help-sections.generated.ts`, fetched when a tooltip opens.\n */\nexport const PLUGIN_DOCS_SECTION_TITLES: {\n readonly [K in PluginDocsKey]?: { readonly [anchor: `#${string}`]: string }\n} = {\n abuseReports: {\n '#abuse-queue-page': 'The queue page',\n '#counter-notice-steps': 'The steps',\n '#counter-notices': 'Counter-notices — the put-back',\n '#reading-a-report': 'Reading a report',\n '#reported-listings': 'Reported listings and reviews',\n '#statuses': 'Statuses',\n '#triage-by-severity': 'Triage by severity',\n },\n actionsBuilder: {\n '#create-an-action': 'Create an action',\n },\n adConversions: {\n '#conversions-api': 'Connect an account',\n },\n aglynAssist: {\n '#what-it-can-do': 'What it can do',\n },\n aiAllotments: {\n '#a-members-allotment': 'A member\\'s allotment',\n '#a-sites-allotment': 'A site\\'s allotment',\n '#allotments': 'Allotments',\n '#choosing-a-model': 'Choosing a model',\n '#usage-strip': 'Your usage while you work',\n },\n aiAssistBuilds: {\n '#change-a-page': 'Change a page',\n '#the-plan-card': 'The plan card',\n },\n aiAutomations: {\n '#change': 'Change or fix an automation',\n '#draft': 'Draft an automation from a description',\n '#explain': 'Explain an automation',\n '#org-automations': 'Draft an org automation',\n },\n aiBusinessProfile: {\n '#what-aglyn-ai-learned': 'What Aglyn AI learned',\n },\n aiComponent: {\n '#from-a-brief': 'From a brief',\n },\n aiCreate: {\n '#without-the-add-on': 'On every plan',\n },\n aiCredits: {\n '#before-a-job-starts': 'Before a job starts',\n '#past-the-band': 'Past the band',\n '#see-your-credits': 'See your credits',\n },\n aiCrm: {\n '#draft-an-email': 'Draft a one-to-one email',\n '#match-columns': 'Match an import\\'s columns',\n '#summarize-a-record': 'Summarize a record',\n },\n aiEmail: {\n '#where-to-start-it': 'Where to start it',\n '#write-the-brief': 'Write the brief',\n },\n aiExperiments: {\n '#the-verdict': 'The verdict is decided before the model is asked',\n '#write-variants': 'Write variants',\n },\n aiForm: {\n '#describe-the-form': 'Describe the form',\n },\n aiImages: {\n '#credits': 'Credits',\n '#declined-pictures': 'Declined pictures',\n '#make-a-picture': 'Make a picture',\n '#shapes-and-how-many': 'Shapes and how many',\n '#who-can-use-it': 'Who can use it',\n },\n aiImport: {\n '#keep-or-improve': 'Keep my site or improve it',\n '#prove-it-is-yours': 'Prove it is yours',\n '#turned-away': 'When your site turns AglynBot away',\n '#waves': 'Waves',\n '#your-current-website': 'Your current website',\n },\n aiInsights: {\n '#asking-a-question': 'Asking a question',\n },\n aiJobs: {\n '#ai-jobs-in-assist': 'AI jobs in Assist',\n },\n aiLayout: {\n '#generate-a-layout-with-aglyn-ai': 'Generate a layout with Aglyn AI',\n },\n aiLogic: {\n '#change': 'Change, fix or explain a function',\n '#function': 'Write a function from a description',\n '#variable': 'Write a variable',\n },\n aiMarketing: {\n '#create-a-campaign': 'Create a campaign',\n },\n aiMonitoring: {\n '#ai-conversations': 'AI conversations',\n '#one-account': 'One account, across organizations',\n '#the-ai-card': 'The AI card',\n '#the-spend-leaderboard': 'The spend leaderboard',\n },\n aiPage: {\n '#describe-the-page': 'Describe the page',\n },\n aiProducts: {\n '#propose-a-first-catalog': 'Propose a first catalog',\n '#write-a-products-copy': 'Write a product\\'s copy',\n },\n aiSeo: {\n '#fix-what-the-seo-check-finds': 'Fix what the SEO check finds',\n '#write-a-pages-listing': 'Write a page\\'s listing',\n '#write-a-products-listing': 'Write a product\\'s listing',\n },\n aiSite: {\n '#generate-for-several-sites-at-once': 'Generate for several sites at once',\n },\n aiSiteLooks: {\n '#choose-a-style': 'Choose a style',\n },\n aiStart: {\n '#audience': 'Audience',\n '#details': 'Details',\n '#how-do-you-want-to-start': 'How do you want to start?',\n '#review': 'Review',\n '#the-sites-search-listing': 'The site\\'s search listing',\n '#your-business': 'Your site',\n },\n aiTemplate: {\n '#generate-a-page-template-with-aglyn-ai': 'Generate a page template with Aglyn AI',\n },\n aiThemes: {\n '#describe-a-change': 'Change what you describe, or design a new theme',\n },\n assistSignals: {\n '#docs-gaps': 'Docs gaps',\n '#fleet': 'Fleet',\n '#questions-the-docs-could-not-answer': 'Questions the docs could not answer',\n '#tokens-by-kind': 'Tokens by kind',\n '#what-assist-costs-by-workspace': 'What Assist costs, by workspace',\n '#what-people-actually-asked': 'What people actually asked',\n '#where-the-money-goes': 'Where the money goes',\n },\n billing: {\n '#api-access': 'API access',\n '#billing-address': 'Billing address',\n '#billing-address-on-profile': 'On your workspace profile',\n '#billing-email': 'Billing email',\n '#billing-history': 'Billing history',\n '#billing-link': 'Billing links in emails',\n '#billing-page': 'The Billing page',\n '#campaign-sending-pace': 'Campaign sending pace',\n '#crm-records': 'CRM records',\n '#current-plan': 'Current plan',\n '#if-you-would-rather-uploads-stopped': 'If you would rather uploads stopped',\n '#locked-features': 'Locked features',\n '#made-with-badge': 'The \"Made with Aglyn\" badge',\n '#metered-usage-estimate': 'Metered usage estimate',\n '#one-to-one-email': 'One-to-one email',\n '#outstanding': 'Paying an outstanding invoice',\n '#payment-methods': 'Payment methods',\n '#seats': 'Seats',\n '#storage-overage': 'Storage overage',\n '#tax-ids': 'Tax IDs',\n '#upgrade-proposal': 'When the Aglyn team proposes a plan',\n '#usage-budget': 'Usage budget',\n '#usage-card': 'The Usage card',\n '#usage-history': 'Usage history',\n '#what-you-will-pay': 'What you will pay',\n '#who-is-generating-what': 'Who is generating what',\n },\n bindings: {\n '#functions-card': 'The Functions card',\n '#insert-a-variable': 'Insert a variable',\n '#no-code-functions': 'No-code functions',\n '#typed-variables': 'Typed variables',\n '#where-used--safety': 'Where-used & safety',\n },\n bookings: {\n '#manage': 'Manage',\n '#reminders': '24-hour reminders',\n '#set-up-bookings': 'Set up bookings',\n },\n buildAWorkflow: {\n '#1-open-the-workflows-page': '1. Open the workflows page',\n '#4-save-and-test': '4. Save and test',\n },\n catalog: {\n '#categories-and-tags': 'Categories and tags',\n '#review-moderation': 'Review moderation',\n '#review-settings': 'Review settings',\n '#subscriptions-list': 'Your subscribers',\n },\n commerce: {\n '#commerce-analytics': 'Commerce analytics',\n '#commerce-glance': 'Commerce at a glance',\n '#gift-cards': 'Gift cards & store credit',\n '#inventory-locations': 'Inventory locations',\n '#orders-screen': 'The Orders page',\n '#payment-methods': 'Payment methods',\n '#pickup-and-local-delivery': 'Pickup and local delivery',\n '#products-hub': 'Products hub',\n '#recovery-and-alerts': 'Recovery & alerts',\n '#stock-movements': 'Stock movements',\n '#store-settings': 'Store settings',\n '#storefront-sales-tax': 'Storefront sales tax',\n '#tax-settings': 'Tax settings',\n },\n commerceEndToEnd: {\n '#1-connect-payments': '1. Connect payments',\n '#member-updates': 'Member updates',\n },\n companies: {\n '#a-companys-page': 'A company\\'s page',\n '#contact-roles': 'Contact roles',\n '#contacts-at-a-company': 'Contacts at a company',\n '#create-a-company': 'Create a company',\n '#the-companies-list': 'The companies list',\n },\n connectOtherAccounting: {\n '#choose-your-books': 'Choose your books',\n },\n connectXero: {\n '#choose-an-organization': 'Choose an organization',\n },\n consoleTour: {\n '#a-site-card': 'A site card',\n '#a-sites-dashboard': 'A site\\'s dashboard',\n '#alerts-on-this-device': 'Alerts on this device',\n '#all-notifications': 'All notifications',\n '#choose-a-workspace': 'Choose a workspace',\n '#daily-digests': 'Daily digests',\n '#notification-settings': 'Notification settings',\n '#notification-sound': 'Notification sound',\n '#organization-general': 'General',\n '#organization-settings': 'Organization settings',\n '#recent-activity': 'Recent activity',\n '#the-sites-list': 'The Sites list',\n '#workspace-and-site-overrides': 'Workspace and site overrides',\n },\n contactActivities: {\n '#four-kinds-of-history': 'Four kinds of history',\n '#logging-an-activity': 'Logging an activity',\n '#the-recent-activity-feed': 'The recent activity feed',\n },\n contactFields: {\n '#define-a-field': 'Define a field',\n '#save-a-form-field': 'Save a form field into a custom field',\n },\n contactRecord: {\n '#contact-properties': 'The Properties card',\n '#likely-duplicates': 'Likely duplicates',\n '#the-record-page': 'The record page',\n '#what-each-site-keeps-to-itself': 'What each site keeps to itself',\n },\n contacts: {\n '#known-by': 'Known by',\n '#the-contacts-page': 'The contacts page',\n },\n couriers: {\n '#connect-doordash-drive': 'Connect DoorDash Drive',\n },\n crmEmailTemplates: {\n '#managing-templates': 'Managing templates',\n },\n crmLeads: {\n '#a-leads-page': 'A lead\\'s page',\n '#captured-history': 'Captured history',\n '#filter-the-leads': 'Filter and search the leads',\n '#lead-campaigns': 'Campaigns',\n '#lead-details': 'Details',\n },\n crmReports: {\n '#activity-by-teammate': 'Activity by teammate',\n '#contacts': 'Contacts',\n '#conversion-by-source': 'Conversion by source',\n '#crm-at-a-glance': 'CRM at a glance',\n '#forecast-by-close-month': 'Forecast by close month',\n '#lead-funnel': 'Lead funnel',\n '#lead-sources': 'Lead sources',\n '#pipeline': 'Pipeline',\n '#sources-and-lifecycle': 'Sources and lifecycle',\n '#tasks': 'Tasks',\n '#won-and-lost': 'Won and lost',\n '#won-and-lost-by-owner': 'Won and lost by owner',\n },\n crmSettings: {\n '#assignment-rules': 'Assignment rules',\n '#default-owner': 'Default owner',\n '#email-capture': 'Email capture',\n '#recipes': 'Recipes',\n '#round-robin': 'Round robin',\n '#your-sending-addresses': 'Your sending addresses',\n },\n crmSharing: {\n '#default-sharing-for-new-records': 'Default sharing for new records',\n '#sharing-card': 'The Sharing card',\n '#sharing-rules': 'Sharing rules',\n },\n crmTasks: {\n '#tasks-on-a-contact-company-or-deal': 'Tasks on a contact, company or deal',\n '#the-dashboard-card': 'The dashboard card',\n '#the-tasks-page': 'The tasks page',\n },\n crmViews: {\n '#the-views-control': 'The views control',\n },\n datasets: {\n '#default-dataset-sharing': 'Default sharing for new datasets',\n '#filter-records': 'Filter and search the records',\n '#organization-data-page': 'Where you manage datasets',\n },\n deals: {\n '#a-deals-page': 'A deal\\'s page',\n '#contact-roles': 'Contact roles',\n '#deal-properties': 'Deal properties',\n '#deals-on-a-record': 'Deals on a contact or a company',\n '#line-items': 'Line items',\n '#moving-winning-and-losing': 'Moving, winning and losing',\n '#the-board-and-the-table': 'The board and the table',\n },\n deliveryApps: {\n '#taking-orders': 'Taking orders',\n },\n designedEmails: {\n '#find-a-template': 'Find a template',\n '#template-page': 'A template\\'s page',\n '#template-preview': 'Preview',\n '#template-report': 'Sent from this template',\n },\n discountsAndCoupons: {\n '#add-a-discount': 'Add a discount',\n '#coupons': 'Coupons',\n },\n dropshipSuppliers: {\n '#add-a-supplier': 'Add a supplier',\n },\n emailCampaigns: {\n '#a-domain-we-set-up-is-a-request': 'A domain we set up is asked for, not included',\n '#add-a-sender': 'Add or edit a sender',\n '#add-to-a-list': 'Add someone by hand',\n '#campaign-page': 'A campaign\\'s page',\n '#campaigns-group-emails': 'A campaign holds many emails',\n '#consent-group-confirmation': 'When the site asking is part of a consent group',\n '#consent-group-join': 'Add or move a site',\n '#consent-groups': 'Sites that send as one',\n '#conversions': 'Everything the campaigns caused',\n '#domain-states': 'The states a domain can be in',\n '#email-lists': 'Email lists',\n '#email-page': 'One email\\'s page',\n '#email-preview': 'Preview',\n '#email-recipients': 'Who an email reached',\n '#experiments': 'Experiments',\n '#experiments-across-sites': 'Across your organization\\'s sites',\n '#last-campaign-card': 'The Last campaign card',\n '#list-members': 'See and manage who is on a list',\n '#lists-built-from-a-rule': 'Lists built from a rule',\n '#manual-lists': 'Manual lists',\n '#messages-list': 'The Messages list',\n '#monthly-send-cap': 'Your monthly send cap',\n '#org-sending-domain': 'A domain on your organization\\'s Emails page',\n '#org-suppressions': 'Every site\\'s suppressions',\n '#organization-emails-page': 'Your organization\\'s Emails page',\n '#preference-page': 'The preference page',\n '#send-a-campaign': 'Send a campaign',\n '#senders': 'The addresses this site may send as',\n '#sending-domains': 'Which domain your mail leaves on',\n '#suppressions': 'Suppressions',\n '#the-campaign-report': 'The campaign report',\n '#topics': 'Topics',\n '#two-ways-to-get-a-domain': 'The two ways to get a domain of this site\\'s own',\n '#what-belongs-to-a-campaign': 'What belongs to a campaign',\n },\n events: {\n '#manage-events': 'Manage events',\n },\n forms: {\n '#after-someone-sends-it': 'After someone sends it',\n '#every-sites-inbox-at-once': 'Every site\\'s Inbox at once',\n '#field-types': 'Field types',\n '#filter-the-inbox': 'Filter the Inbox tables',\n '#find-a-form': 'Find a form in the list',\n '#form-collected': 'What this form has collected',\n '#form-crm-routing': 'CRM routing',\n '#form-details': 'Details',\n '#form-submissions': 'Submissions to this form',\n '#form-versions': 'Versions',\n '#inbox-card': 'The Inbox card on a site\\'s dashboard',\n '#one-forms-own-page': 'One form\\'s own page',\n '#replying-to-a-submission': 'Replying to a submission',\n '#the-inbox': 'The inbox',\n },\n funnels: {\n '#create': 'Create a funnel',\n },\n installYourFirstPlugin: {\n '#a-plugins-page': 'A plugin\\'s page',\n '#built-in-plugins': 'Built-in plugins',\n '#find-plugins': 'Find the Plugins section',\n '#manage-plugins': 'Manage your plugins',\n '#permissions-and-data': 'Permissions & data',\n '#plugin-connections': 'Connect a plugin to another service',\n '#plugin-on-one-site': 'A plugin on one site',\n '#site-plugins': 'Plugins on one site',\n '#step-3-reviews': 'Step 3 — Read the reviews, and know who can leave one',\n '#where-a-plugin-runs': 'Where a plugin runs',\n },\n inventorySync: {\n '#connect-a-system': 'Connect a system',\n },\n inviteTeammates: {\n '#activity-log': 'Activity log',\n '#ai-usage': 'AI usage per member',\n '#help-a-teammate-who-is-locked-out': 'Help a teammate who is locked out',\n '#invite-someone': 'Invite someone',\n '#joining-from-an-invite': 'Joining from an invite',\n '#member-access': 'Role and site access',\n '#member-activity': 'One member\\'s activity',\n '#member-changes': 'Changes to this member',\n '#member-page': 'A member\\'s page',\n '#site-activity-log': 'A site\\'s activity log',\n },\n liveChat: {\n '#set-up-live-chat': 'Set up live chat',\n },\n loyalty: {\n '#members-and-store-credit': 'Members and store credit',\n '#on-an-order': 'On an order',\n '#set-up-your-program': 'Set up your program',\n },\n loyaltyConnectors: {\n '#connect-your-account': 'Connect your account',\n },\n manifestAndEnvs: {\n '#listed-plugins': 'Listed plugins',\n '#review-checklist': 'The review checklist',\n '#review-overview': 'The listing under review',\n '#review-queue': 'The review queue',\n '#review-verdict': 'Review verdict',\n '#review-versions': 'Versions under review',\n '#submission-status': 'A submission\\'s status',\n '#take-down': 'Taking a listing down',\n '#verification-requests': 'Verification requests',\n },\n marketingOverlays: {\n '#announcement-bar': 'Announcement bar',\n '#engagement-stats': 'Engagement stats',\n '#frequency': 'Frequency: how often a popup comes back',\n '#org-marketing-overview': 'Every site at a glance',\n '#org-overlays': 'Every site\\'s overlays',\n '#promotional-popups': 'Promotional popups',\n },\n membersOnly: {\n '#manage-your-members': 'Manage your members',\n },\n orderNotifications: {\n '#customer-emails': 'What your customers get',\n },\n ordersAndReturns: {\n '#buyer-requests': 'How a buyer asks',\n '#order-webhooks': 'Order webhooks',\n '#run-a-return': 'Run a return',\n },\n orgAutomations: {\n '#every-sites-own-automations': 'Every site\\'s own automations',\n '#pause-it-on-one-site': 'Pause it on one site',\n '#what-an-org-automation-is': 'What an org automation is',\n },\n ownShippingAccounts: {\n '#connect-an-account': 'Connect an account',\n },\n pickupAndDelivery: {\n '#set-up-local-delivery': 'Set up local delivery',\n },\n plugins: {\n '#a-dependency-that-is-off-for-one-site': 'A dependency that is off for one site',\n '#browse-card': 'What a browse card shows',\n '#configure': 'Configure',\n '#configure-site': 'Settings for one site',\n '#install--upgrade': 'Install & upgrade',\n '#what-the-badges-on-a-listing-mean': 'What the badges on a listing mean',\n '#when-one-plugin-depends-on-another': 'When one plugin depends on another',\n },\n pos: {\n '#card-readers': 'Card readers',\n '#registers': 'Registers',\n '#reservations': 'Reservations',\n },\n posHardware: {\n '#bought-from-us-in-person': 'Bought from us in person',\n '#buy-a-reader-from-aglyn': 'Buy a reader from Aglyn',\n '#card-readers-to-set-up': 'Card readers to set up',\n '#hardware-purchase-records': 'Records of your purchases',\n '#reader-start-up-screen': 'Reader start-up screen',\n '#receipt-printers': 'Receipt printers',\n },\n posOperations: {\n '#check-in-at-the-window': 'Check-in at the window',\n '#day-and-event-totals': 'Day and event totals',\n '#shifts-and-the-cash-drawer': 'Shifts and the cash drawer',\n '#staff-pins': 'Staff PINs',\n },\n postPurchase: {\n '#connect-a-service': 'Connect a service',\n '#on-the-order': 'On the order',\n },\n publishAPlugin: {\n '#listing-publisher-card': 'The Publisher card on a listing',\n '#paid-listings': 'Paid listings',\n '#profile-card': 'The profile card',\n '#your-publisher-profile': 'Your publisher profile',\n },\n publisherHandbook: {\n '#asking-to-be-verified': 'Asking to be verified',\n '#authoring-your-listing': 'Authoring your listing',\n '#before-you-publish': 'Before you publish',\n '#bundle-and-manifest': 'Bundle and manifest',\n '#connection-credentials': 'Connection credentials',\n '#edit-listing': 'Edit a listing',\n '#install-card': 'The Install card',\n '#installed-from-the-marketplace': 'Installed from the marketplace',\n '#licenses-you-bought': 'Bought by you',\n '#listing-changelog': 'The Changelog card',\n '#listing-links': 'The Links card',\n '#private-plugins': 'Private plugins',\n '#public-profile': 'Set up your public profile',\n '#publishing-a-version': 'Publishing a version',\n '#purchases-and-fees': 'Purchases and the platform fee',\n '#refund-reversals': 'When a refund cannot be pulled back',\n '#review-what-happens-after-you-publish': 'Review: what happens after you publish',\n '#set-up-payouts': 'Set up payouts',\n '#the-publisher-agreement': 'The publisher agreement',\n '#the-two-badges-and-what-each-one-promises': 'The two badges, and what each one promises',\n '#version-history': 'Version history',\n '#watching-your-own-submission': 'Watching your own submission',\n '#where-to-publish-from': 'Where to publish from',\n '#workspace-licenses': 'This workspace',\n '#your-listings': 'Your listings',\n },\n quotes: {\n '#make-a-quote': 'Make a quote',\n '#quote-defaults': 'New-quote defaults',\n },\n redirects: {\n '#manage-redirects': 'Manage redirects',\n },\n reviewPlatforms: {\n '#on-the-order': 'On the order',\n '#trustpilot': 'Trustpilot',\n '#yotpo-reviews': 'Yotpo Reviews',\n },\n salesChannels: {\n '#brand-barcode-and-category': 'Brand, barcode and category',\n '#how-fresh-the-feed-is': 'How fresh the feed is',\n '#set-up-sales-channels': 'Set up sales channels',\n '#turn-on-a-channel': 'Turn on a channel',\n },\n sandboxSecurity: {\n '#what-a-reviewer-checks': 'What a reviewer checks',\n },\n sequences: {\n '#allowed-countries': 'Allowed countries',\n '#build-a-sequence': 'Build a sequence',\n '#compliance-settings': 'Compliance settings',\n '#connect-a-mailbox': 'Connect a mailbox',\n '#do-not-contact-domains': 'Do not contact domains',\n '#enroll': 'Enroll people',\n '#link-domains': 'Link domains',\n '#mailbox-actions': 'Test, pause and disconnect',\n '#person-activity': 'Their activity',\n '#person-details': 'Their enrollment\\'s details',\n '#person-history': 'See one person\\'s history',\n '#send-a-test': 'Send yourself a test of a step',\n '#sequence-sending-settings': 'Who it sends to, and when',\n '#sequences': 'Sequences',\n },\n shipping: {\n '#zones-and-rates': 'Zones and rates',\n },\n shippingEasy: {\n '#connect': 'Connect ShippingEasy',\n },\n shippingLabels: {\n '#carrier-accounts': 'Carrier accounts',\n '#label-spend': 'Label spend',\n '#shipping-labels-settings': 'Set up labels',\n },\n shipStation: {\n '#connect': 'Connect ShipStation',\n },\n staffConsole: {\n '#access': 'Access',\n '#acquisition': 'Acquisition',\n '#audit-admin-actions': 'Admin actions',\n '#audit-archival': 'Audit archival',\n '#audit-log': 'Audit log viewer',\n '#billing-insight': 'Billing insight',\n '#broadcast-announcements': 'Broadcast announcements',\n '#bundle-link': 'Bundle checkout link',\n '#contact-suppressions': 'Do not contact',\n '#coupons': 'Coupons',\n '#create-a-coupon': 'Create a coupon',\n '#discount-floors': 'Applying a coupon and quoting a custom price',\n '#edit-a-system-email': 'Edit a system email',\n '#email-delivery': 'Email delivery',\n '#emails-sent': 'Emails sent',\n '#enterprise-custom-billing': 'Enterprise custom billing',\n '#existing-coupons': 'Existing coupons',\n '#filter-the-directory': 'Filter the directory',\n '#filter-the-site-list': 'Filter the site list',\n '#first-party-hosts': 'First-party hosts',\n '#free-workspace-limit': 'Free workspace limit',\n '#import-delivery-history': 'Import delivery history',\n '#legal-acceptances': 'Legal acceptances',\n '#margin-by-organization': 'By organization, worst margin first',\n '#margin-fleet-margin': 'Margin',\n '#margin-fleet-utilization': 'Utilization across the fleet',\n '#margin-scan': 'Scan',\n '#margin-utilization': 'Margin & utilization',\n '#org-activity': 'Organization activity',\n '#org-edit': 'Edit organization',\n '#org-effective-entitlements': 'Effective entitlements',\n '#org-members': 'Members',\n '#org-metered-usage': 'Metered usage',\n '#org-recent-admin-actions': 'Recent admin actions on this organization',\n '#org-sites': 'Sites',\n '#org-staff-actions': 'Staff actions',\n '#organization-detail': 'Organization detail',\n '#organization-page-cards': 'Organization page cards',\n '#organizations-admin': 'Organization management',\n '#password-help': 'Password help',\n '#platform-send-rate': 'Platform send rate',\n '#platform-settings': 'Platform settings',\n '#platform-suppressions': 'Platform suppressions',\n '#plugin-review-starter-checklist': 'Starter review checklist',\n '#plugin-review-starter-danger-zone': 'Starter danger zone',\n '#plugin-review-starter-overview': 'Starter overview',\n '#plugin-review-starter-pages': 'Starter pages',\n '#plugin-review-starter-status': 'Starter status',\n '#plugin-review-starter-theme': 'Starter theme',\n '#plugin-review-starter-verdict': 'Starter review verdict',\n '#plugin-review-starter-versions': 'Starter versions',\n '#plugin-reviews': 'Plugin reviews & realm trust',\n '#plugin-reviews-site-starters': 'Site starters',\n '#record-a-dnc-request': 'Record a request',\n '#sign-one-device-out': 'Sign one device out',\n '#site-content': 'Site content',\n '#site-detail': 'Site detail',\n '#site-ownership': 'Site ownership',\n '#site-settings-snapshot': 'Settings snapshot',\n '#site-usage': 'Usage',\n '#sites-admin': 'Site management',\n '#staff-automations': 'Automations',\n '#staff-media-library': 'Media library',\n '#staff-notes': 'Staff notes',\n '#staff-org-automations': 'Organization automations',\n '#staff-org-email': 'Organization email campaigns',\n '#staff-overview': 'Staff overview',\n '#staff-overview-newest-orgs': 'Newest organizations',\n '#staff-overview-organizations': 'Organizations',\n '#staff-overview-signups': 'Signups (30d)',\n '#staff-overview-sites': 'Sites',\n '#staff-overview-users': 'Users',\n '#success-manager': 'Success manager',\n '#suppressed-numbers': 'Suppressed numbers',\n '#system-emails': 'System emails',\n '#user-activity': 'Activity by this account',\n '#user-audit-trail': 'Recent audit trail',\n '#user-data-access': 'Data access by staff',\n '#user-detail': 'The account page',\n '#user-identity': 'Identity',\n '#user-organizations': 'Organizations',\n '#users-accounts': 'Accounts',\n '#users-admin': 'Users admin',\n },\n taxServices: {\n '#connect': 'Connect',\n '#how-sales-are-taxed': 'How sales are taxed',\n },\n waivers: {\n '#find-a-signature': 'Find a signature',\n '#keeping-signed-waivers': 'How long signed waivers are kept',\n '#versions': 'Versions',\n '#write-a-waiver': 'Write a waiver',\n '#your-waivers': 'Your waivers',\n },\n webhooks: {\n '#outbound-webhooks': 'Outbound webhooks',\n },\n zapier: {\n '#see-and-disconnect-your-zaps': 'See and disconnect your Zaps',\n },\n}\n\ntype PluginAnchorMap = typeof PLUGIN_DOCS_ANCHORS\n\n/** Valid heading anchors for a plugin docs page (`never` when none). */\nexport type PluginDocsAnchor<K extends PluginDocsKey> =\n K extends keyof PluginAnchorMap ? PluginAnchorMap[K][number] : never\n"],"names":["PLUGIN_DOCS","abuseReports","path","title","excerpt","actionsBuilder","adConversions","aglynAssist","aiAllotments","aiAssistBuilds","aiAutomations","aiBusinessProfile","aiComponent","aiCreate","aiCredits","aiCrm","aiEmail","aiExperiments","aiForm","aiImages","aiImport","aiInsights","aiJobs","aiLayout","aiLogic","aiMarketing","aiMonitoring","aiPage","aiProducts","aiSeo","aiSite","aiSiteLooks","aiStart","aiTemplate","aiThemes","assistSignals","billing","bindings","bookings","buildAWorkflow","buyADomain","catalog","commerce","commerceEndToEnd","companies","connectOtherAccounting","connectQuickbooksOnline","connectXero","consoleTour","contactActivities","contactFields","contactRecord","contacts","couriers","crmEmailTemplates","crmLeads","crmReports","crmSettings","crmSharing","crmTasks","crmViews","datasets","deals","deliveryApps","designedEmails","discountsAndCoupons","dropshipSuppliers","emailCampaigns","emailPlatforms","events","forms","fulfillmentNetworks","funnels","helpDesks","installYourFirstPlugin","inventorySync","inviteTeammates","liveChat","loyalty","loyaltyConnectors","manageDomains","manifestAndEnvs","marketingOverlays","marketplaces","membersOnly","orderNotifications","ordersAndReturns","orgAutomations","ownShippingAccounts","pickupAndDelivery","plugins","pos","posHardware","posOperations","postPurchase","printOnDemand","publishAPlugin","publisherHandbook","quotes","redirects","reviewPlatforms","salesChannels","sandboxSecurity","sequences","shipping","shippingEasy","shippingLabels","shipStation","siteStarters","staffConsole","taxServices","waivers","webhooks","zapier","PLUGIN_DOCS_ANCHORS","PLUGIN_DOCS_SECTION_TITLES"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GACD,iDAAiD;AACjD,8CAA8C;AAC9C,oEAAoE;AAEpE,6EAA6E;AAC7E,2EAA2E;AAC3E,+EAA+E;AAW/E,OAAO,MAAMA,cAAc;IACzBC,cAAc;QACZC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAC,gBAAgB;QACdH,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAE,eAAe;QACbJ,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAG,aAAa;QACXL,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAI,cAAc;QACZN,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAK,gBAAgB;QACdP,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAM,eAAe;QACbR,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAO,mBAAmB;QACjBT,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAQ,aAAa;QACXV,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAS,UAAU;QACRX,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAU,WAAW;QACTZ,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAW,OAAO;QACLb,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAY,SAAS;QACPd,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAa,eAAe;QACbf,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAc,QAAQ;QACNhB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAe,UAAU;QACRjB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgB,UAAU;QACRlB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiB,YAAY;QACVnB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkB,QAAQ;QACNpB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmB,UAAU;QACRrB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoB,SAAS;QACPtB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqB,aAAa;QACXvB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsB,cAAc;QACZxB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuB,QAAQ;QACNzB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwB,YAAY;QACV1B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyB,OAAO;QACL3B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0B,QAAQ;QACN5B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2B,aAAa;QACX7B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4B,SAAS;QACP9B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6B,YAAY;QACV/B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8B,UAAU;QACRhC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+B,eAAe;QACbjC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgC,SAAS;QACPlC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiC,UAAU;QACRnC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkC,UAAU;QACRpC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmC,gBAAgB;QACdrC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoC,YAAY;QACVtC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqC,SAAS;QACPvC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsC,UAAU;QACRxC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuC,kBAAkB;QAChBzC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwC,WAAW;QACT1C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyC,wBAAwB;QACtB3C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0C,yBAAyB;QACvB5C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2C,aAAa;QACX7C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4C,aAAa;QACX9C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6C,mBAAmB;QACjB/C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8C,eAAe;QACbhD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+C,eAAe;QACbjD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgD,UAAU;QACRlD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiD,UAAU;QACRnD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkD,mBAAmB;QACjBpD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmD,UAAU;QACRrD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoD,YAAY;QACVtD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqD,aAAa;QACXvD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsD,YAAY;QACVxD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuD,UAAU;QACRzD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwD,UAAU;QACR1D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyD,UAAU;QACR3D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0D,OAAO;QACL5D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2D,cAAc;QACZ7D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4D,gBAAgB;QACd9D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6D,qBAAqB;QACnB/D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8D,mBAAmB;QACjBhE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+D,gBAAgB;QACdjE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgE,gBAAgB;QACdlE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiE,QAAQ;QACNnE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkE,OAAO;QACLpE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmE,qBAAqB;QACnBrE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoE,SAAS;QACPtE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqE,WAAW;QACTvE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsE,wBAAwB;QACtBxE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuE,eAAe;QACbzE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwE,iBAAiB;QACf1E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyE,UAAU;QACR3E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0E,SAAS;QACP5E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2E,mBAAmB;QACjB7E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4E,eAAe;QACb9E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6E,iBAAiB;QACf/E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8E,mBAAmB;QACjBhF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+E,cAAc;QACZjF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgF,aAAa;QACXlF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiF,oBAAoB;QAClBnF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkF,kBAAkB;QAChBpF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmF,gBAAgB;QACdrF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoF,qBAAqB;QACnBtF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqF,mBAAmB;QACjBvF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsF,SAAS;QACPxF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuF,KAAK;QACHzF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwF,aAAa;QACX1F,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyF,eAAe;QACb3F,MAAM;QACNC,OAAO;QACPC,SAAS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QAChB,mBAAmB;QACnB,2BAA2B;QAC3B,eAAe;QACf,gBAAgB;QAChB,sBAAsB;QACtB,wBAAwB;QACxB,gBAAgB;QAChB,0BAA0B;QAC1B,oBAAoB;QACpB,mBAAmB;QACnB,+BAA+B;QAC/B,iCAAiC;QACjC,2BAA2B;QAC3B,yBAAyB;QACzB,yBAAyB;QACzB,oBAAoB;QACpB,uBAAuB;QACvB,kBAAkB;QAClB,kBAAkB;QAClB,qBAAqB;QACrB,qBAAqB;QACrB,gBAAgB;QAChB,kBAAkB;QAClB,uBAAuB;QACvB,mBAAmB;QACnB,gBAAgB;IAClB;IACAC,aAAa;QACX,YAAY;QACZ,wBAAwB;IAC1B;IACAC,SAAS;QACP,qBAAqB;QACrB,2BAA2B;QAC3B,aAAa;QACb,mBAAmB;QACnB,iBAAiB;IACnB;IACAC,UAAU;QACR,sBAAsB;IACxB;IACAC,QAAQ;QACN,iCAAiC;IACnC;AACF,EAAC"}
1
+ {"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/docs-help.generated.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// GENERATED FILE — do not edit. Regenerate with:\n// node tools/scripts/generate-docs-help.mjs\n// Source of truth: apps/docs/docs frontmatter + headings (AGL-602).\n\n// The first-party plugin consoles live in `libs/plugins/*` and cannot import\n// the console's constants, so they carry their own generated subset of the\n// docs help registry — the topics their cards actually link to, and no others.\n\nexport interface PluginDocsTopic {\n /** Docs-site path, e.g. `/commerce-and-bookings/commerce/overview`. */\n path: string\n /** Docs page title. */\n title: string\n /** Verbatim docs frontmatter description — the tooltip excerpt. */\n excerpt: string\n}\n\nexport const PLUGIN_DOCS = {\n abuseReports: {\n path: '/staff-console/abuse-reports',\n title: 'Abuse reports',\n excerpt: 'The public abuse-report queue — where outside reports land, how to triage by severity, which lever answers which report, and the CSAM and DMCA paths that are not takedown buttons.',\n },\n actionsBuilder: {\n path: '/marketing-and-automation/workflows-and-actions/actions-builder',\n title: 'Actions builder',\n excerpt: 'Map a single event to a single action without building a full workflow.',\n },\n adConversions: {\n path: '/marketing-and-automation/analytics/connect-conversions-api',\n title: 'Server-side ad conversions',\n excerpt: 'Send purchases and leads to your own Meta, TikTok and Pinterest ad accounts from the server, paired with your browser tags — only for visitors who allow advertising.',\n },\n aglynAssist: {\n path: '/getting-started/aglyn-assist',\n title: 'Aglyn Assist',\n excerpt: 'Ask the built-in AI helper how to do anything in Aglyn — it answers from these docs and links you straight to the right page.',\n },\n aiAllotments: {\n path: '/ai/ai-allotments',\n title: 'AI allotments, usage and model choice',\n excerpt: 'Give a member, a site collaborator or a whole site a monthly share of the workspace\\'s AI credits, see your own usage while you work, and choose which model answers.',\n },\n aiAssistBuilds: {\n path: '/ai/assist-builds',\n title: 'Build from Assist chat',\n excerpt: 'Ask Aglyn Assist for what you need in one message — pages, a form, an email, products, a booking service, an automation — and it shows one plan card. Confirm it and one job builds every part as a draft.',\n },\n aiAutomations: {\n path: '/ai/automations-with-ai',\n title: 'Automations with AI',\n excerpt: 'Aglyn AI drafts an automation from a description, changes or fixes one you already have as a copy switched off, explains what one does and tells you why one of its runs failed.',\n },\n aiBusinessProfile: {\n path: '/ai/business-profile',\n title: 'Business profile',\n excerpt: 'Tell Aglyn AI what your business does, who it is for and how it sounds. Every AI job for the site reads it, uses your real contact details only, and remembers the edits you keep.',\n },\n aiComponent: {\n path: '/building-sites/components/generate-a-component-with-aglyn-ai',\n title: 'Generate a reusable component with Aglyn AI',\n excerpt: 'Describe a block your site repeats, or point at one already on a page, and Aglyn AI makes it a reusable component with typed properties bound to the elements that show them.',\n },\n aiCreate: {\n path: '/ai/create-with-ai',\n title: 'Create with AI on every list',\n excerpt: 'The Create with AI button sits beside the create button on every list Aglyn AI can fill: pages, templates, layouts, forms, components, emails, campaigns, automations, products, overlays and media.',\n },\n aiCredits: {\n path: '/ai/ai-credits',\n title: 'AI credits',\n excerpt: 'Everything Aglyn AI does draws AI credits from one monthly pool: what each plan includes (300 on Free), what blocks of AI credits add on top, what jobs cost, the check before a job starts, and when credits come back.',\n },\n aiCrm: {\n path: '/ai/crm-by-ai',\n title: 'The AI CRM built into Aglyn',\n excerpt: 'An AI CRM for small business: a short summary and a suggested next step on a contact, company, deal or lead, a one-to-one email drafted into the composer, and an import\\'s columns matched to fields.',\n },\n aiEmail: {\n path: '/marketing-and-automation/email-campaigns/generate-with-ai',\n title: 'Generate an email campaign with AI',\n excerpt: 'An AI email campaign generator that drafts rather than sends: turn a brief into a draft email design, or a draft campaign and the email it would send. Nothing is sent, and nothing is aimed at anybody, until you choose.',\n },\n aiExperiments: {\n path: '/ai/ab-tests-with-ai',\n title: 'A/B tests by AI: write variants, read the result',\n excerpt: 'Have Aglyn AI write two to four variants for a page, section or email experiment, and put a finished test into plain language — with the verdict decided from the counts before the model is asked anything.',\n },\n aiForm: {\n path: '/ai/generate-a-form',\n title: 'Generate a form from a description',\n excerpt: 'An AI form generator inside Aglyn: describe the form you need and a build job makes it as a draft on the Forms page, with its fields, required answers, marketing consent and routing already agreed.',\n },\n aiImages: {\n path: '/ai/create-images',\n title: 'Create images with AI',\n excerpt: 'An AI image generator in the Aglyn media library: describe a picture and get an SVG icon or logo mark, a realistic photo, a watercolor, a 3D render or a banner, with alt text. Metered in AI credits.',\n },\n aiImport: {\n path: '/ai/bring-my-site',\n title: 'Bring my site',\n excerpt: 'Bring the website you have now into Aglyn, kept as it is with a light polish or improved around your brand, in waves you review and start yourself, once you have proved the site is yours.',\n },\n aiInsights: {\n path: '/marketing-and-automation/analytics/insights',\n title: 'Insights',\n excerpt: 'Ask Aglyn AI a question about your site\\'s figures in plain words, and get answers where every number is traced to the figure it comes from — plus weekly insights by email.',\n },\n aiJobs: {\n path: '/ai/ai-jobs-and-activity',\n title: 'AI jobs and activity',\n excerpt: 'Review what Aglyn AI did: a site\\'s AI jobs page lists every job with its kind, brief, status and credits, each job has its own page, and the AI filter in your activity logs records who started, applied or canceled what.',\n },\n aiLayout: {\n path: '/building-sites/screens-and-layouts/layouts',\n title: 'Layouts',\n excerpt: 'A layout is the shared frame your pages render inside — header, nav and footer in one place, nested up to five deep.',\n },\n aiLogic: {\n path: '/ai/logic-with-ai',\n title: 'Functions and variables with AI',\n excerpt: 'Aglyn AI writes a site function or variable from a description, changes or fixes a function you have, explains what one works out, and offers a fix for a broken automation reference. Nothing is saved until you save it.',\n },\n aiMarketing: {\n path: '/ai/marketing-with-ai',\n title: 'Marketing with AI: overlays, campaigns and your numbers',\n excerpt: 'Use Aglyn AI on your site\\'s Marketing page: write announcement bar and popup copy, create a switched-off overlay or a draft campaign from a brief, and ask what your conversions and campaign figures mean.',\n },\n aiMonitoring: {\n path: '/staff-console/ai-monitoring',\n title: 'AI monitoring',\n excerpt: 'How staff watch one organization\\'s AI usage — add-on, credits, overage, refusals, jobs, tokens, cache hits and margin — read its AI conversations, and find those figures across the staff console.',\n },\n aiPage: {\n path: '/building-sites/screens-and-layouts/generate-a-page',\n title: 'Generate a page from a prompt',\n excerpt: 'An AI landing page generator built into the canvas: describe a page and Aglyn AI plans it, then builds it section by section as an unpublished draft from your own theme, layout, components and forms.',\n },\n aiProducts: {\n path: '/ai/products-with-ai',\n title: 'Product copy and catalogs with AI',\n excerpt: 'An AI product description generator for your catalog: write copy for one product or a whole import, propose a first catalog, and propose categories and discounts — all as proposals you review.',\n },\n aiSeo: {\n path: '/building-sites/seo/seo-by-ai',\n title: 'AI SEO for your website',\n excerpt: 'AI SEO for websites, on the pages you already have: have AI write a page or product\\'s search listing, propose a fix for each finding of the SEO check, and draft your structured data and /llms.txt.',\n },\n aiSite: {\n path: '/ai/generate-a-site',\n title: 'Generate a website from a prompt',\n excerpt: 'Generate a website from a prompt: describe a business and an Aglyn AI build job plans a small site — pages, navigation, layout, contact form and palette — then builds it. A guided start publishes it.',\n },\n aiSiteLooks: {\n path: '/ai/site-looks',\n title: 'Looks and themes for AI sites',\n excerpt: 'How a site started with AI gets its look: the style you choose sets the range of themes, colors, fonts and buttons, and every site gets its own readable variation, saved as a theme you can edit.',\n },\n aiStart: {\n path: '/ai/start-with-ai',\n title: 'Start a new site with AI',\n excerpt: 'Answer a few questions when you create a site and Aglyn AI plans, writes and publishes it: its look, header and footer, contact form and pages, plus a store or a blog when that is what the site is.',\n },\n aiTemplate: {\n path: '/building-sites/site-templates/templates-library',\n title: 'Your templates library',\n excerpt: 'Save pages, components and layouts as reusable templates — and the safe landing place for anything you install from the marketplace.',\n },\n aiThemes: {\n path: '/ai/theme-assist',\n title: 'Change your site\\'s theme with AI',\n excerpt: 'Describe a change to your site\\'s theme and get a proposal for the theme editor\\'s own controls, previewed before and after, that you save in the editor.',\n },\n assistSignals: {\n path: '/staff-console/assist-signals',\n title: 'Assist Signal',\n excerpt: 'The docs-gap and cost board behind Assist — how the ranking is ordered, why ungrounded questions are counted separately, and what the cache-read rate says about margin.',\n },\n billing: {\n path: '/workspace-and-billing/billing-and-plans/overview',\n title: 'Billing & Plans',\n excerpt: 'How Aglyn\\'s tiers, entitlements, quotas, usage meters, and seat add-ons work.',\n },\n bindings: {\n path: '/building-sites/bindings/overview',\n title: 'Bindings, Variables & Functions',\n excerpt: 'Live values in your content — typed variables, no-code functions, and rename-safe id tokens.',\n },\n bookings: {\n path: '/commerce-and-bookings/bookings/overview',\n title: 'Bookings & Scheduling',\n excerpt: 'Offer services with availability, let visitors book, take payment, and send reminders.',\n },\n buildAWorkflow: {\n path: '/marketing-and-automation/workflows-and-actions/build-a-workflow',\n title: 'Build a workflow',\n excerpt: 'Create a multi-step workflow that runs when a site event fires.',\n },\n buyADomain: {\n path: '/building-sites/custom-domains/buy-a-domain',\n title: 'Buy a domain',\n excerpt: 'Search for a domain on your site\\'s Custom Domain page or your workspace\\'s Domains page, buy it, and your site goes live at it automatically — no DNS records, renewals handled for you.',\n },\n catalog: {\n path: '/commerce-and-bookings/commerce/catalog',\n title: 'Product catalog',\n excerpt: 'Products with options and variants, categories, tags, and manual or smart collections.',\n },\n commerce: {\n path: '/commerce-and-bookings/commerce/overview',\n title: 'Commerce',\n excerpt: 'Sell physical, digital, and service products with a full catalog, orders pipeline, shipping, taxes, and your own Stripe account.',\n },\n commerceEndToEnd: {\n path: '/guides/commerce-end-to-end',\n title: 'Commerce end to end',\n excerpt: 'Create products with billing modes, design the storefront with Commerce blocks, take Stripe checkout for one-time and subscription sales, and run orders from the console.',\n },\n companies: {\n path: '/content-and-data/crm/companies',\n title: 'Companies',\n excerpt: 'Group your contacts under the businesses they belong to — one record per company, with its domain, owner, type, industry, addresses, parent company and the people who work there.',\n },\n connectOtherAccounting: {\n path: '/commerce-and-bookings/commerce/connect-other-accounting-software',\n title: 'Connect other accounting software',\n excerpt: 'Post every sale, refund, Aglyn fee and Stripe payout from your store to accounting software other than QuickBooks Online or Xero, such as QuickBooks Desktop, NetSuite, Sage, FreshBooks, Zoho Books or Wave. Rolling out.',\n },\n connectQuickbooksOnline: {\n path: '/commerce-and-bookings/commerce/connect-quickbooks-online',\n title: 'Connect QuickBooks Online',\n excerpt: 'Post every sale, refund, Aglyn fee and Stripe payout from your store to QuickBooks Online, mapped to the accounts you choose. Rolling out.',\n },\n connectXero: {\n path: '/commerce-and-bookings/commerce/connect-xero',\n title: 'Connect Xero',\n excerpt: 'Post every sale, refund, Aglyn fee and Stripe payout from your store to Xero, mapped to the accounts you choose. Rolling out.',\n },\n consoleTour: {\n path: '/getting-started/console-tour',\n title: 'The console tour',\n excerpt: 'Where things live in the Aglyn console app bar and navigation.',\n },\n contactActivities: {\n path: '/content-and-data/crm/activities',\n title: 'Activities & the timeline',\n excerpt: 'Log calls, emails, meetings and notes against a contact, a company, a deal or a lead, email one person from their record, and read it all in one timeline beside everything captured and every campaign sent.',\n },\n contactFields: {\n path: '/content-and-data/crm/custom-fields',\n title: 'Custom fields',\n excerpt: 'Define your own properties on contacts, companies, deals and leads — text, number, date, choice, checkbox, link or currency — show them on every record and its list, and save form answers straight into a contact\\'s.',\n },\n contactRecord: {\n path: '/content-and-data/crm/contact-record',\n title: 'The contact record',\n excerpt: 'Add a contact by hand, keep a profile on them — Salesforce\\'s standard contact fields, from salutation and phones to assistant and reports-to — open their own page in the CRM, and merge two records that are one person.',\n },\n contacts: {\n path: '/content-and-data/crm/overview',\n title: 'CRM',\n excerpt: 'One place for the people who interact with your sites — contacts captured from forms, members, orders and bookings, with leads, companies, a deals pipeline, tasks, a timeline, reports and custom fields.',\n },\n couriers: {\n path: '/commerce-and-bookings/commerce/couriers',\n title: 'Couriers for local delivery (DoorDash Drive)',\n excerpt: 'Send a DoorDash courier for your own local deliveries from your own DoorDash Drive account, with the courier\\'s tracking link and arrival time on the order.',\n },\n crmEmailTemplates: {\n path: '/content-and-data/crm/email-templates',\n title: 'Email templates',\n excerpt: 'Keep the letters your team sends from a record — templates that fill in the subject and the message, snippets that drop in a paragraph, and merge fields that fill in the person\\'s name, their company, the deal and you.',\n },\n crmLeads: {\n path: '/content-and-data/crm/leads',\n title: 'Leads',\n excerpt: 'Work the people your site has captured — a status, an owner and notes on every lead — and convert one into a contact, a company and a deal.',\n },\n crmReports: {\n path: '/content-and-data/crm/reports',\n title: 'Reports',\n excerpt: 'New contacts, their sources and which convert, the lead funnel and lead sources, the open pipeline and its forecast, won and lost, who logged what, and the task load — counted on the server, all exportable as CSV.',\n },\n crmSettings: {\n path: '/content-and-data/crm/settings',\n title: 'CRM settings',\n excerpt: 'What the CRM does on its own for every site — whether a company is created from a contact\\'s work email domain, who a new contact is assigned to, the address that files replies on a record, and each site\\'s recipes.',\n },\n crmSharing: {\n path: '/content-and-data/crm/sharing',\n title: 'Share records across sites',\n excerpt: 'Let another of your sites see a lead, a contact, a company or a deal — one record by hand, a selection from a list, or every record a sharing rule matches, now and later — without sharing the person\\'s consent.',\n },\n crmTasks: {\n path: '/content-and-data/crm/tasks',\n title: 'Tasks & follow-ups',\n excerpt: 'Calls, emails, meetings and to-dos with a status, a due date, an assignee and a link to the record they are for — overdue and today read off the clock, a snooze, a reminder at its own time, and a morning digest.',\n },\n crmViews: {\n path: '/content-and-data/crm/views',\n title: 'Saved views',\n excerpt: 'Keep a CRM list\\'s filters, columns and sort under a name, open it from the views menu or a link, share it with the team, and use a contacts view as an email audience.',\n },\n datasets: {\n path: '/content-and-data/datasets/overview',\n title: 'Datasets & Dynamic Content',\n excerpt: 'Model structured content with typed fields and relations, then bind it into repeatable components.',\n },\n deals: {\n path: '/content-and-data/crm/deals',\n title: 'Deals pipeline',\n excerpt: 'Every open deal by stage — with an amount, an owner and an expected close — as a board you drag across or a table you page through, and the won and lost history behind it.',\n },\n deliveryApps: {\n path: '/commerce-and-bookings/commerce/delivery-apps',\n title: 'Delivery apps (DoorDash, Uber Eats, Grubhub)',\n excerpt: 'Take your DoorDash, Uber Eats and Grubhub orders at your POS register — accept, make and hand them over — with their items off the same shelf as every other sale. Rolling out.',\n },\n designedEmails: {\n path: '/marketing-and-automation/email-campaigns/designed-emails',\n title: 'Designed emails',\n excerpt: 'Build campaign emails in the besigner with email-safe blocks and merge tokens — no separate editor.',\n },\n discountsAndCoupons: {\n path: '/commerce-and-bookings/commerce/discounts-and-coupons',\n title: 'Discounts and coupons',\n excerpt: 'Create discount codes and automatic promotions with a minimum spend, a use limit and start and end dates, add percent-off coupons, and show the code field on your cart and product pages.',\n },\n dropshipSuppliers: {\n path: '/commerce-and-bookings/commerce/dropship-suppliers',\n title: 'Dropship suppliers',\n excerpt: 'Send each paid order to the supplier that ships it, by email or a signed webhook, and let the supplier record the tracking number without an Aglyn account.',\n },\n emailCampaigns: {\n path: '/marketing-and-automation/email-campaigns/overview',\n title: 'Email Campaigns',\n excerpt: 'Campaigns to audiences built from your contacts. Campaign email starts at Pro and needs a sending domain of the site\\'s own; receipts and account email send on every plan.',\n },\n emailPlatforms: {\n path: '/marketing-and-automation/email-campaigns/email-platforms',\n title: 'Email platforms (Mailchimp, Klaviyo, Omnisend)',\n excerpt: 'Keep your contacts and their unsubscribes in step with your own Mailchimp, Klaviyo or Omnisend account, both ways, and send your orders to Klaviyo and Omnisend for their abandoned-cart and post-purchase flows.',\n },\n events: {\n path: '/content-and-data/events/overview',\n title: 'Events Calendar',\n excerpt: 'Keep a schedule of events in the console and publish the ones you choose to any page, with search-engine event markup.',\n },\n forms: {\n path: '/content-and-data/forms/overview',\n title: 'Forms & Lead Capture',\n excerpt: 'Add forms to your site, collect submissions in an inbox, and write them into datasets.',\n },\n fulfillmentNetworks: {\n path: '/commerce-and-bookings/commerce/fulfillment-networks',\n title: 'Fulfillment networks (ShipBob, ShipMonk, Flexport and Amazon MCF)',\n excerpt: 'Send paid orders to ShipBob, ShipMonk, Flexport or Amazon Multi-Channel Fulfillment, get their shipments and tracking back on the order, and keep stock counts in step.',\n },\n funnels: {\n path: '/marketing-and-automation/analytics/funnels',\n title: 'Funnels',\n excerpt: 'See how visitors move through the steps you care about, where they drop off and how long each step takes; build or explain a funnel with Aglyn AI, and follow up with people who dropped off.',\n },\n helpDesks: {\n path: '/commerce-and-bookings/commerce/help-desks',\n title: 'Help desks (Gorgias, Re:amaze, Kustomer, Gladly and Richpanel)',\n excerpt: 'Show your support team each buyer\\'s recent orders beside their tickets in your own Gorgias, Re:amaze, Kustomer, Gladly or Richpanel account, and send contact form messages there as new tickets.',\n },\n installYourFirstPlugin: {\n path: '/guides/install-your-first-plugin',\n title: 'Install your first marketplace item',\n excerpt: 'A click-by-click walkthrough of the Marketplace — find something, choose which sites get it, install it, and turn it off again.',\n },\n inventorySync: {\n path: '/commerce-and-bookings/commerce/inventory-and-erp-sync',\n title: 'Inventory and ERP sync (Cin7 Core, inFlow, Brightpearl, Ordoro)',\n excerpt: 'Keep stock counts, products and paid orders in step with your own Cin7 Core, inFlow Inventory, Brightpearl or Ordoro account.',\n },\n inviteTeammates: {\n path: '/workspace-and-billing/teams-and-roles/invite-teammates',\n title: 'Invite teammates',\n excerpt: 'Add people to your site and understand how team members act within your organization.',\n },\n liveChat: {\n path: '/building-sites/live-chat',\n title: 'Live chat',\n excerpt: 'Chat with your site\\'s visitors through your own Tidio or LiveChat account. The chat loads only when a visitor asks for it, so it never slows your pages.',\n },\n loyalty: {\n path: '/commerce-and-bookings/commerce/rewards-and-referrals',\n title: 'Rewards, referrals and store credit',\n excerpt: 'Give customers points on every order, online and at the register, let them spend points and store credit at checkout or the till, and reward members whose friends buy.',\n },\n loyaltyConnectors: {\n path: '/commerce-and-bookings/commerce/connect-smile-io-or-yotpo',\n title: 'Connect Smile.io or Yotpo Loyalty',\n excerpt: 'Keep your members\\' points in your own Smile.io or Yotpo Loyalty account, earned and spent on every Aglyn order, online and at the register.',\n },\n manageDomains: {\n path: '/building-sites/custom-domains/manage-domains',\n title: 'Manage your domains',\n excerpt: 'See every domain your workspace holds on its Domains page, connect any of them to any site, move a domain here from another registrar, and edit its contact and DNS records.',\n },\n manifestAndEnvs: {\n path: '/developers/plugins/reference/manifest-and-envs',\n title: 'Manifests, trust lifecycle & environment',\n excerpt: 'The plugin manifest schema, the marketplace listing/version documents, the trust state machine, and every PLUGIN_* environment variable.',\n },\n marketingOverlays: {\n path: '/marketing-and-automation/marketing-overlays/overview',\n title: 'Marketing Overlays',\n excerpt: 'Site-wide announcement bars and promotional popups with triggers, scheduling, and email capture.',\n },\n marketplaces: {\n path: '/commerce-and-bookings/commerce/marketplaces',\n title: 'Marketplaces (Amazon, eBay, Etsy, TikTok Shop, Walmart, Faire)',\n excerpt: 'Keep your Amazon, eBay, Etsy, TikTok Shop, Walmart and Faire listings in step with your store\\'s stock, bring their orders in as your orders, and send tracking back. Rolling out.',\n },\n membersOnly: {\n path: '/workspace-and-billing/teams-and-roles/members-only',\n title: 'Members-only areas',\n excerpt: 'Let visitors sign up as members and gate pages so only members can view them.',\n },\n orderNotifications: {\n path: '/commerce-and-bookings/commerce/order-notifications',\n title: 'Order emails & status page',\n excerpt: 'The emails your customers get about their orders, the private order status page they link to, and how to resend a receipt.',\n },\n ordersAndReturns: {\n path: '/commerce-and-bookings/commerce/orders-and-returns',\n title: 'Fulfillment, returns and webhooks',\n excerpt: 'Ship an order in parts with tracking links, run returns from request to refund, print and send invoices, and send order events to your own systems.',\n },\n orgAutomations: {\n path: '/marketing-and-automation/workflows-and-actions/org-automations',\n title: 'Org automations',\n excerpt: 'Write an automation once for the whole organization and run it on the sites you choose, with a pause on each site.',\n },\n ownShippingAccounts: {\n path: '/commerce-and-bookings/commerce/ship-with-your-own-easyship-sendcloud-or-shipperhq',\n title: 'Ship with your own Easyship, Sendcloud or ShipperHQ',\n excerpt: 'Connect your own Easyship or Sendcloud account to get rates and buy labels there, billed to you by that service, or ShipperHQ to price checkout shipping with your own rules. Rolling out.',\n },\n pickupAndDelivery: {\n path: '/commerce-and-bookings/commerce/pickup-and-local-delivery',\n title: 'Pickup & local delivery',\n excerpt: 'Let buyers pick up orders at your locations or have your own driver deliver them, with pickup hours, delivery zones, fees, minimums and delivery times.',\n },\n plugins: {\n path: '/developers/plugins/overview',\n title: 'Plugins & Marketplace',\n excerpt: 'Extend Aglyn with sandboxed plugins — install from the marketplace, configure them, and publish your own.',\n },\n pos: {\n path: '/commerce-and-bookings/commerce/pos-and-reservations',\n title: 'POS & reservations',\n excerpt: 'Sell in person from the console register and take date-range reservations with deposits.',\n },\n posHardware: {\n path: '/commerce-and-bookings/commerce/pos-hardware',\n title: 'POS hardware',\n excerpt: 'Card readers (and buying them, rolling out), a customer display tablet, driverless receipt and kitchen printers, a cash drawer that opens on cash sales, barcode scanning, and product and shipping labels.',\n },\n posOperations: {\n path: '/commerce-and-bookings/commerce/pos-operations',\n title: 'Running the register',\n excerpt: 'Shifts and X/Z reports, day and event totals, check-in with wristbands, staff PINs, customers at the register, returns and exchanges, printed receipts, and selling cash while offline.',\n },\n postPurchase: {\n path: '/commerce-and-bookings/commerce/tracking-and-protection',\n title: 'Tracking and protection (AfterShip, Route and Narvar)',\n excerpt: 'Connect your own AfterShip, Route or Narvar account so parcels are followed, buyers land on your branded tracking page, and shipped orders can carry Route package protection. Rolling out.',\n },\n printOnDemand: {\n path: '/commerce-and-bookings/commerce/print-on-demand',\n title: 'Print on demand (Printful and Printify)',\n excerpt: 'Connect your own Printful or Printify account, import its products into your store, and paid orders are sent to it to make and ship, with tracking written back to each order.',\n },\n publishAPlugin: {\n path: '/developers/plugins/publish-a-plugin',\n title: 'Publish a plugin',\n excerpt: 'Ship your own plugin to the marketplace with version pinning.',\n },\n publisherHandbook: {\n path: '/developers/plugins/publishing/publisher-handbook',\n title: 'Publisher handbook',\n excerpt: 'Publishing to the Aglyn marketplace — from profile setup through listing authoring, review, updates, and getting paid.',\n },\n quotes: {\n path: '/commerce-and-bookings/commerce/quotes-and-proofs',\n title: 'Quotes',\n excerpt: 'Price a customer\\'s order before they buy, from your products and items typed for the job, with tax worked out as you go. Email it with its proof and PDF, have proofs approved, and keep every revision.',\n },\n redirects: {\n path: '/building-sites/redirects/overview',\n title: 'Redirects',\n excerpt: 'Manage URL redirects with validation, loop detection, and hit metrics.',\n },\n reviewPlatforms: {\n path: '/commerce-and-bookings/commerce/review-platforms',\n title: 'Review platforms (Trustpilot and Yotpo)',\n excerpt: 'Invite customers to review your store on Trustpilot after their order ships or arrives, by copying an order email to your Trustpilot invitation address, or with your own Trustpilot or Yotpo Reviews keys.',\n },\n salesChannels: {\n path: '/commerce-and-bookings/commerce/sales-channels',\n title: 'Sales channels',\n excerpt: 'List your products on Google, YouTube, Facebook, Instagram, TikTok, Pinterest, Snapchat and Microsoft Shopping with a product feed for each.',\n },\n sandboxSecurity: {\n path: '/developers/plugins/reference/sandbox-security',\n title: 'Sandbox security model',\n excerpt: 'How sandboxed marketplace plugins are isolated — separate origin, per-manifest CSP, pinned artifacts — and what that means when you write one.',\n },\n sequences: {\n path: '/content-and-data/crm/sequences',\n title: 'Sequences',\n excerpt: 'One-to-one email sequences a rep sends to a person from their own connected mailbox, kept with the CRM. Rolling out.',\n },\n shipping: {\n path: '/commerce-and-bookings/commerce/shipping',\n title: 'Shipping',\n excerpt: 'Shipping zones and rates, local pickup, and the postal address each inventory location ships from.',\n },\n shippingEasy: {\n path: '/commerce-and-bookings/commerce/use-shippingeasy',\n title: 'Use ShippingEasy with Aglyn',\n excerpt: 'Connect your ShippingEasy account so paid orders go there as they are paid, and each label you buy marks the order shipped and emails your customer the tracking link.',\n },\n shippingLabels: {\n path: '/commerce-and-bookings/commerce/shipping-labels-and-live-rates',\n title: 'Shipping labels and live carrier rates',\n excerpt: 'Buy carrier labels from your orders, one at a time or in a batch, quote live carrier rates at checkout, connect your own carrier accounts, and let carrier tracking move orders along and email customers. Rolling out.',\n },\n shipStation: {\n path: '/commerce-and-bookings/commerce/use-shipstation',\n title: 'Use ShipStation with Aglyn',\n excerpt: 'Connect ShipStation to your Aglyn store as a Custom Store, so it imports the orders you still have to ship and each label you buy there marks the order shipped and emails your customer the tracking link.',\n },\n siteStarters: {\n path: '/building-sites/site-templates/site-starters',\n title: 'Site starters',\n excerpt: 'Create a new site from a ready-made website, one of Aglyn\\'s styles or a starter from the marketplace, chosen in Create site before the site exists. Rolling out.',\n },\n staffConsole: {\n path: '/staff-console/overview',\n title: 'Staff Console (internal)',\n excerpt: 'Aglyn-staff tools for managing organizations, entitlements, users, and audits.',\n },\n taxServices: {\n path: '/commerce-and-bookings/commerce/tax-services',\n title: 'Tax services (Avalara AvaTax and TaxJar)',\n excerpt: 'Connect your own Avalara AvaTax or TaxJar account so checkout and the register charge the sales tax it calculates, and your paid orders and refunds are recorded there.',\n },\n waivers: {\n path: '/commerce-and-bookings/commerce/waivers',\n title: 'Waivers',\n excerpt: 'Write your waiver once. Riders sign it on their phones before they arrive, on a tablet at the window or on paper, parents sign for minors, and every signer gets a signed PDF.',\n },\n webhooks: {\n path: '/marketing-and-automation/workflows-and-actions/webhooks',\n title: 'Webhooks',\n excerpt: 'Connect Aglyn to other systems with outbound and inbound webhooks.',\n },\n zapier: {\n path: '/marketing-and-automation/workflows-and-actions/zapier',\n title: 'Zapier',\n excerpt: 'Send your site\\'s orders, bookings, contacts and form submissions to thousands of apps with Zapier, and add contacts or mark orders shipped from them. Rolling out.',\n },\n} as const satisfies Record<string, PluginDocsTopic>\n\nexport type PluginDocsKey = keyof typeof PLUGIN_DOCS\n\nexport const PLUGIN_DOCS_ANCHORS = {\n abuseReports: ['#abuse-queue-page', '#fraud-and-risk-alerts-by-email', '#where-reports-come-from', '#held-outbound-email', '#what-is-screened', '#tiers', '#web-risk', '#deciding-a-held-row', '#security-hold', '#names-and-domains', '#stripe-fraud-signals', '#efw-refund', '#payment-fraud-hold', '#seller-fraud-pattern', '#card-testing-velocity', '#marketplace', '#reported-listings', '#risk-notices', '#triage-by-severity', '#reading-a-report', '#csam', '#which-lever', '#statuses', '#disclosure', '#dmca', '#counter-notices', '#counter-notice-clock', '#counter-notice-steps', '#repeat-infringers', '#repeat-infringer-threshold', '#known-gaps', '#related'],\n actionsBuilder: ['#create-an-action', '#recipes', '#describe-it', '#triggers', '#pick-element', '#crm-events', '#funnel-events', '#only-run-when-a-field-matches', '#chain-multiple-conditions-andor', '#steps', '#crm-steps', '#step-conditions', '#sequences', '#transactional-replies', '#merge-tags', '#run-history', '#what-is-and-isnt-recorded', '#interactions-from-the-besigner', '#when-to-use-which', '#related'],\n adConversions: ['#conversions-api', '#meta-conversions-api', '#tiktok-events-api', '#pinterest-conversions-api', '#how-it-works', '#test-events', '#related'],\n aglynAssist: ['#what-it-can-do', '#aglyn-ai', '#answers-for-beginners-and-developers', '#offers-to-open-a-page', '#edits-in-the-besigner', '#where-an-answer-came-from', '#answers-straight-from-the-documentation', '#message-limits', '#feedback', '#privacy'],\n aiAllotments: ['#allotments', '#hard-or-soft', '#the-pool-comes-first', '#limiting-models', '#who-can-set-them', '#a-members-allotment', '#a-sites-allotment', '#usage-strip', '#choosing-a-model', '#related'],\n aiAssistBuilds: ['#ask-or-build', '#change-a-page', '#what-it-can-build', '#the-plan-card', '#confirm-the-plan', '#one-job-many-parts', '#what-it-cannot-do', '#a-store', '#what-it-costs', '#who-can-use-it', '#related'],\n aiAutomations: ['#draft', '#org-automations', '#change', '#explain', '#why-a-run-failed', '#what-is-sent', '#who-can-use-it', '#related'],\n aiBusinessProfile: ['#where-to-edit-it', '#the-business-profile-card', '#where-the-values-come-from', '#workspace-defaults', '#contact-details-are-never-invented', '#what-aglyn-ai-learned', '#which-jobs-read-it', '#related'],\n aiComponent: ['#from-a-brief', '#what-the-job-builds', '#optional-parts', '#defaults', '#where-it-lands', '#from-a-section-on-your-page', '#related'],\n aiCreate: ['#the-button', '#where-it-appears', '#what-you-get', '#without-the-add-on', '#when-it-is-not-there', '#related'],\n aiCredits: ['#monthly-credits', '#free-plan', '#the-aglyn-ai-add-on', '#what-things-cost', '#before-a-job-starts', '#when-credits-run-out', '#past-the-band', '#credits-given-back', '#see-your-credits', '#related'],\n aiCrm: ['#summarize-a-record', '#summaries-are-reused-until-the-record-changes', '#draft-an-email', '#match-columns', '#what-is-sent', '#set-up-the-crm', '#who-can-use-it', '#related'],\n aiEmail: ['#where-to-start-it', '#what-you-get', '#write-the-brief', '#products', '#who-receives-it', '#merge-tokens', '#what-it-will-not-do', '#where-it-runs', '#related'],\n aiExperiments: ['#it-proposes-you-write', '#write-variants', '#putting-them-in', '#draft-versions', '#what-it-will-not-write', '#read-a-result', '#the-verdict', '#the-words', '#undecided', '#what-is-sent', '#who-can-use-it', '#related'],\n aiForm: ['#describe-the-form', '#what-the-form-gets', '#what-a-form-cannot-collect', '#nothing-is-live-until-you-place-it', '#who-can-use-it', '#related'],\n aiImages: ['#make-a-picture', '#shapes-and-how-many', '#what-each-picture-gets', '#credits', '#safety', '#declined-pictures', '#what-is-sent', '#who-can-use-it', '#related'],\n aiImport: ['#start', '#your-current-website', '#prove-it-is-yours', '#read-my-site', '#not-brought-in', '#keep-or-improve', '#improve-planned', '#waves', '#your-sites-preview', '#review-a-wave', '#photos', '#never-brought-in', '#when-an-import-waits', '#turned-away'],\n aiInsights: ['#asking-a-question', '#how-an-answer-is-made', '#asking-about-datasets', '#weekly-insights', '#privacy'],\n aiJobs: ['#the-ai-jobs-page', '#statuses', '#one-jobs-page', '#ai-jobs-in-assist', '#cancel-a-job', '#cancel-a-new-site', '#ai-activity', '#how-long-jobs-are-kept', '#related'],\n aiLayout: ['#what-a-layout-is', '#find-a-layout', '#nested-layouts', '#layout-properties', '#restyle-the-layout-on-one-page', '#duplicate', '#generate-a-layout-with-aglyn-ai', '#used-by', '#layouts-vs-reusable-components', '#related'],\n aiLogic: ['#function', '#variable', '#change', '#broken-references', '#what-is-sent', '#who-can-use-it', '#related'],\n aiMarketing: ['#write-overlay-copy', '#create-an-overlay', '#create-a-campaign', '#ask-about-these-numbers', '#what-is-sent', '#who-can-use-it', '#related'],\n aiMonitoring: ['#the-ai-card', '#compensating-credits', '#ai-conversations', '#where-else', '#one-account', '#the-spend-leaderboard', '#alerts', '#related'],\n aiPage: ['#describe-the-page', '#review-the-plan', '#how-the-page-is-built', '#the-draft', '#what-a-page-job-uses', '#who-can-use-it', '#related'],\n aiProducts: ['#write-a-products-copy', '#write-copy-for-many-products', '#when-you-import-products', '#propose-a-first-catalog', '#propose-categories-and-discounts', '#what-the-copy-never-says', '#what-is-sent-to-the-ai-provider', '#who-can-use-it', '#related'],\n aiSeo: ['#write-a-pages-listing', '#write-a-products-listing', '#fix-what-the-seo-check-finds', '#apply-all-as-drafts', '#structured-data-and-llmstxt', '#related'],\n aiSite: ['#starting-a-new-site-from-a-few-questions', '#on-the-free-plan', '#if-the-plan-does-not-work-out', '#what-a-scaffold-builds', '#what-is-published', '#what-it-costs-before-it-starts', '#watching-it-build', '#generate-for-several-sites-at-once'],\n aiSiteLooks: ['#choose-a-style', '#each-styles-layout', '#an-ai-starters-look', '#how-the-look-is-made', '#your-theme-afterwards', '#change-the-look-later', '#related'],\n aiStart: ['#how-do-you-want-to-start', '#start-from-an-ai-starter', '#the-questions', '#your-business', '#audience', '#style', '#sites-you-like', '#details', '#review', '#what-it-will-cost', '#what-gets-built', '#building-your-site', '#paused-or-out-of-credits', '#try-again', '#published-and-indexable', '#the-sites-search-listing', '#business-details', '#a-store-from-the-start', '#a-blog-from-the-start', '#events-from-the-start', '#on-the-free-plan', '#who-can-use-it', '#related'],\n aiTemplate: ['#the-three-kinds', '#templates-list', '#installing-from-the-marketplace', '#saving-something-as-a-template', '#using-a-template', '#generate-a-page-template-with-aglyn-ai', '#where-a-template-came-from', '#first-party-starters', '#templates-are-per-site', '#duplicating', '#deleting', '#related'],\n aiThemes: ['#describe-a-change', '#match-your-brand', '#review-the-proposal', '#save-it-or-dont', '#who-can-use-it', '#related'],\n assistSignals: ['#the-workflow-this-board-exists-for', '#fleet', '#the-cache-read-rate-and-what-a-bad-number-looks-like', '#where-the-money-goes', '#tokens-by-kind', '#docs-gaps', '#questions-the-docs-could-not-answer', '#what-people-actually-asked', '#what-assist-costs-by-workspace', '#reading-the-sample-honestly', '#related'],\n billing: ['#billing-page', '#current-plan', '#locked-features', '#billing-link', '#tiers--entitlements', '#made-with-badge', '#leaving-notice', '#plan-without-subscription', '#upgrade-proposal', '#enterprise', '#single-sign-on-and-enforcement', '#usage-meters', '#usage-card', '#metered-usage-estimate', '#usage-history', '#campaign-sending-pace', '#who-is-generating-what', '#ai-allotments', '#storage-overage', '#if-you-would-rather-uploads-stopped', '#files-on-quotes-and-forms', '#assist-overage', '#stop-ai-assist-at-the-included-band', '#ai-overage-ceiling', '#free-ai-credits', '#ai-credit-alerts', '#usage-budget', '#seats', '#crm-records', '#the-crm-suite', '#one-to-one-email', '#organization-data', '#api-access', '#payments', '#outstanding', '#plan-total', '#what-you-will-pay', '#switch-with-a-code', '#billing-history', '#billing-email', '#payment-methods', '#billing-address', '#billing-address-on-profile', '#tax-ids', '#sales-tax', '#platform-fees', '#related'],\n bindings: ['#binding-tokens', '#rename-safe-id-tokens', '#insert-a-variable', '#token-pills', '#in-the-canvas-text-editor', '#site-details', '#typed-variables', '#no-code-functions', '#functions-card', '#parameters-a-visitor-can-answer', '#a-calculator-you-lay-out', '#where-used--safety', '#workflows', '#related'],\n bookings: ['#set-up-bookings', '#draft-services', '#price-labels', '#phone-and-address', '#taking-bookings', '#reminders', '#payments-and-fees', '#service-tax', '#manage', '#booking-from-the-crm', '#canceling-and-refunding', '#export-bookings', '#related'],\n buildAWorkflow: ['#1-open-the-workflows-page', '#2-choose-a-trigger', '#3-add-steps', '#waiting', '#4-save-and-test', '#duplicate-a-workflow', '#tips', '#related'],\n buyADomain: ['#steps', '#site-has-a-domain', '#confirm-email', '#renewals', '#problems', '#transfer', '#after'],\n catalog: ['#products-options-and-variants', '#more-than-100-combinations', '#add-ons', '#price-by-size', '#add-ons-on-the-product-page', '#picture-cards', '#free-mockup', '#sell-in-person-only', '#offer-on-the-kiosk', '#billing-modes-and-subscriptions', '#subscriptions-list', '#ai', '#categories-and-tags', '#collections', '#product-reviews', '#show-reviews', '#review-settings', '#review-moderation', '#slugs', '#merchant-center-feed', '#related'],\n commerce: ['#who-charges-what', '#products-hub', '#inventory', '#inventory-locations', '#reserved-stock', '#stock-movements', '#gift-cards', '#recovery-and-alerts', '#orders', '#orders-screen', '#order-statuses', '#order-money-tiles', '#a-lost-dispute', '#payment-methods', '#shipping--taxes', '#tax-settings', '#lodging-tax-on-reservations', '#storefront-sales-tax', '#destination-coverage', '#pickup-and-local-delivery', '#dropshipping', '#store-settings', '#discounts-and-coupons', '#discounts', '#coupons', '#commerce-glance', '#commerce-analytics', '#related'],\n commerceEndToEnd: ['#1-connect-payments', '#2-create-products', '#3-design-the-storefront', '#catalog-search-filters-and-sort', '#category-pages', '#the-product-page-template', '#4-what-checkout-does', '#paying-without-leaving-your-site', '#5-run-orders-from-the-console', '#6-subscriptions--the-stripe-portal', '#member-updates', '#related'],\n companies: ['#the-companies-list', '#create-a-company', '#the-lists-behind-the-choices', '#a-companys-page', '#contact-roles', '#contacts-at-a-company', '#linked-on-capture', '#import', '#export', '#deleting-a-company', '#who-can-see-a-company', '#files', '#related'],\n connectOtherAccounting: ['#before-you-start', '#connect', '#choose-your-books', '#choose-your-accounts', '#what-is-posted', '#sales-before-you-connected', '#when-something-does-not-post', '#disconnect', '#related'],\n connectQuickbooksOnline: ['#before-you-start', '#connect', '#choose-your-accounts', '#what-is-posted', '#how-each-payment-is-posted', '#sales-tax-collected-by-aglyn', '#one-summary-a-day-instead', '#currency', '#sales-before-you-connected', '#when-something-does-not-post', '#disconnect'],\n connectXero: ['#before-you-start', '#connect', '#choose-an-organization', '#choose-your-accounts', '#what-is-posted', '#how-each-payment-is-posted', '#sales-tax-collected-by-aglyn', '#one-summary-a-day-instead', '#currency', '#sales-before-you-connected', '#when-something-does-not-post', '#disconnect'],\n consoleTour: ['#the-app-bar', '#choose-a-workspace', '#in-context-help', '#filter-and-search', '#primary-navigation', '#editing-vs-managing', '#the-sites-list', '#a-site-card', '#the-status-pill', '#how-the-pill-is-decided', '#your-site-allowance', '#a-sites-dashboard', '#recent-activity', '#next', '#workspace-settings--notifications', '#organization-settings', '#organization-general', '#the-notifications-feed', '#all-notifications', '#notification-levels', '#notification-settings', '#one-kind-at-a-time', '#workspace-and-site-overrides', '#daily-digests', '#notification-sound', '#alerts-on-this-device'],\n contactActivities: ['#four-kinds-of-history', '#reading-the-timeline', '#campaign-email', '#logging-an-activity', '#who-what-and-which-company', '#meeting-from-a-booking', '#click-to-call', '#sending-an-email', '#delivery-states', '#captured-email', '#where-an-activity-is-visible', '#the-recent-activity-feed', '#related'],\n contactFields: ['#define-a-field', '#fields-per-record', '#where-values-show', '#currency-fields', '#save-a-form-field', '#picklist-values', '#task-picklists', '#over-the-api', '#retire-restore-delete', '#export-fields', '#recompute-next-activity', '#related'],\n contactRecord: ['#adding-a-contact-by-hand', '#the-record-page', '#contact-properties', '#the-standard-fields', '#do-not-call', '#deleting-and-erasing', '#what-each-site-keeps-to-itself', '#when-sites-join-or-leave-a-group', '#merging-two-records', '#likely-duplicates', '#owner', '#last-engaged', '#lifecycle-stages', '#where-the-persons-lead-is', '#finding-a-contact', '#files', '#related'],\n contacts: ['#whats-in-the-crm-area', '#unified-ingestion', '#what-each-plan-includes', '#the-contacts-page', '#import-and-export', '#segments', '#everywhere-the-crm-shows-up', '#capture-replies', '#at-the-organization-level', '#known-by', '#who-can-open-the-crm', '#one-sender-one-crm', '#related'],\n couriers: ['#who-pays', '#connect-doordash-drive', '#webhook', '#send-a-courier', '#cancel', '#what-your-buyer-sees'],\n crmEmailTemplates: ['#templates-and-snippets', '#merge-fields', '#saving', '#managing-templates', '#duplicate-a-template', '#shared-or-personal', '#over-the-rest-api', '#related'],\n crmLeads: ['#what-makes-a-lead', '#what-a-lead-holds', '#lead-source-filled-in', '#adding-a-lead-by-hand', '#the-leads-list', '#lead-statuses', '#filter-the-leads', '#working-a-lead-from-the-row', '#several-leads-at-once', '#import-from-csv', '#who-owns-a-lead', '#a-leads-page', '#lead-details', '#lead-campaigns', '#captured-history', '#email-state', '#converting-a-lead', '#unqualifying-a-lead', '#erasing-the-person', '#who-can-do-this', '#related'],\n crmReports: ['#choosing-a-period', '#contacts', '#sources-and-lifecycle', '#conversion-by-source', '#lead-funnel', '#lead-sources', '#pipeline', '#forecast-by-close-month', '#by-forecast-category', '#won-and-lost', '#won-and-lost-by-owner', '#activity-by-teammate', '#tasks', '#exporting-a-table', '#crm-at-a-glance', '#how-the-numbers-are-counted', '#related'],\n crmSettings: ['#companies', '#create-companies-from-work-email-domains', '#default-owner', '#assignment-rules', '#round-robin', '#email-templates', '#email-capture', '#your-sending-addresses', '#recipes', '#related'],\n crmSharing: ['#default-sharing-for-new-records', '#apply-to-existing-records', '#share-a-record-with-more-sites', '#all-sites-except-some', '#what-a-shared-record-looks-like', '#sharing-card', '#share-a-record-by-hand', '#several-records-at-once', '#sharing-rules', '#access-read-only-or-read-and-edit', '#sharing-is-not-consent', '#who-can-do-this', '#related'],\n crmTasks: ['#task-picklists', '#the-tasks-page', '#the-calendar-view', '#snoozing-a-task', '#selecting-exporting-and-acting-on-many', '#import-from-csv', '#creating-a-task', '#assigning-a-task-to-someone-else', '#completing-and-reopening', '#organization-tasks', '#tasks-on-a-contact-company-or-deal', '#reminders', '#turning-reminders-off', '#next-activity', '#the-daily-digest', '#turning-it-off', '#the-dashboard-card', '#who-can-do-what', '#related'],\n crmViews: ['#the-views-control', '#a-view-is-a-link', '#filters', '#filters-on-the-contacts-list', '#filters-on-the-other-lists', '#columns-and-sort', '#segments-and-views', '#who-sees-what', '#related'],\n datasets: ['#organization-data-page', '#model-builder', '#typed-documents', '#sample-rows', '#filter-records', '#relations', '#query-layer', '#repeatable-components', '#record-pages', '#who-a-dataset-is-shared-with', '#default-dataset-sharing', '#import--export', '#related'],\n deals: ['#pipelines', '#stages', '#the-board-and-the-table', '#import-from-csv', '#creating-a-deal', '#type-and-lead-source', '#contact-roles', '#line-items', '#moving-winning-and-losing', '#a-won-deal-makes-its-contact-a-customer', '#a-deals-page', '#deal-properties', '#deals-on-a-record', '#files', '#related'],\n deliveryApps: ['#connect-a-store', '#the-menu', '#match-items', '#taking-orders'],\n designedEmails: ['#create-a-template', '#find-a-template', '#duplicate-a-template', '#template-page', '#template-report', '#template-preview', '#styling-email-blocks', '#merge-tokens', '#send-it', '#the-plain-text-version', '#start-from-a-brief-instead'],\n discountsAndCoupons: ['#add-a-discount', '#discount-types', '#product-discounts', '#automatic-promotions', '#discount-codes', '#use-limits', '#where-discounts-apply', '#coupons', '#import-and-export', '#show-the-code-field', '#what-shoppers-see', '#troubleshooting', '#related'],\n dropshipSuppliers: ['#add-a-supplier', '#assign-products', '#when-an-order-is-paid', '#supplier-email', '#record-the-shipment', '#webhook-orders', '#signed-webhooks', '#webhook-retries', '#troubleshooting', '#related'],\n emailCampaigns: ['#send-a-campaign', '#campaigns-belong-to-the-organization', '#organization-emails-page', '#campaigns-group-emails', '#campaign-page', '#filter-the-lists', '#what-belongs-to-a-campaign', '#who-the-email-comes-from', '#sending-domains', '#account-email-always-sends', '#marketing-needs-a-domain', '#two-ways-to-get-a-domain', '#a-domain-we-set-up-is-a-request', '#domain-states', '#org-sending-domain', '#senders', '#add-a-sender', '#send-a-test', '#preview-the-email', '#monthly-send-cap', '#personalize-with-merge-tags', '#recipient-count', '#who-a-campaign-is-allowed-to-reach', '#schedule-a-send', '#held-for-review', '#duplicate-an-email', '#email-lists', '#manual-lists', '#list-members', '#add-to-a-list', '#import-a-list', '#export-a-list', '#remove-from-a-list', '#lists-built-from-a-rule', '#experiments', '#experiments-across-sites', '#opens--clicks', '#last-campaign-card', '#messages-list', '#email-page', '#email-preview', '#email-recipients', '#the-campaign-report', '#per-contact-engagement', '#which-links-were-clicked', '#revenue-from-a-campaign', '#how-a-visit-is-credited', '#utm-labels', '#who-it-reached', '#conversions', '#compliance', '#list-unsubscribe', '#topics', '#preference-page', '#consent-groups', '#consent-group-create', '#consent-group-join', '#consent-group-leave', '#consent-group-rename', '#consent-group-progress', '#frequency-opt-down', '#double-opt-in', '#consent-group-confirmation', '#marketing-mail', '#frequency-cap', '#suppressions', '#org-suppressions', '#add-a-suppression', '#import-export-suppressions', '#platform-suppressions', '#related'],\n emailPlatforms: ['#connect', '#who-is-sent', '#unsubscribes-from-the-platform', '#settings', '#sync-log', '#disconnect', '#one-off-imports'],\n events: ['#manage-events', '#import-and-export-events', '#columns', '#how-a-row-finds-an-existing-event', '#conflicts-the-dry-run-and-undo', '#files-from-other-calendars', '#show-events-on-a-screen', '#ask-aglyn-ai', '#search-engines', '#related'],\n forms: ['#reading-submissions-from-code', '#build-a-form', '#place-a-saved-form', '#saved-forms-per-site', '#monthly-allowance-per-plan', '#spam-and-abuse-protection', '#the-per-site-monthly-ceiling', '#field-types', '#file-upload', '#labels-and-placeholders', '#example-a-quick-survey', '#style-a-field', '#after-submit', '#example-grow-an-email-list-from-a-signup-form', '#consent-group-disclosure', '#where-submissions-go', '#the-inbox', '#filter-the-inbox', '#who-a-submission-is-from', '#what-it-links-to', '#files-and-quote-requests', '#where-this-one-went', '#replying-to-a-submission', '#inbox-card', '#every-sites-inbox-at-once', '#one-forms-own-page', '#form-details', '#form-crm-routing', '#after-someone-sends-it', '#form-versions', '#form-collected', '#form-submissions', '#form-saves-to-contact-fields', '#export-submissions', '#find-a-form', '#duplicate-a-form', '#switch-forms-off-for-one-site', '#related'],\n fulfillmentNetworks: ['#connect-a-network', '#shipmonk-connect-with-your-api-key', '#flexport-connect-with-your-api-token', '#settings', '#how-orders-are-sent', '#stock-counts', '#shipments-and-tracking', '#canceling-and-refunds', '#activity'],\n funnels: ['#step-types', '#how-it-counts', '#what-is-a-visit', '#identified-visitors', '#create', '#create-with-ai', '#drafts', '#act-on-drop-off', '#ask-ai'],\n helpDesks: ['#before-you-start', '#connect', '#credentials', '#what-agents-see', '#contact-form-tickets', '#settings', '#sync-log', '#disconnect', '#related'],\n installYourFirstPlugin: ['#before-you-start', '#step-1-open', '#step-2-browse', '#step-3-reviews', '#step-4-targeting', '#step-5-install', '#step-6-use', '#step-7-off', '#manage-plugins', '#find-plugins', '#built-in-plugins', '#a-plugins-page', '#where-a-plugin-runs', '#permissions-and-data', '#site-plugins', '#plugin-on-one-site', '#plugin-connections', '#what-to-do-next', '#related'],\n inventorySync: ['#connect-a-system', '#stock-counts', '#products', '#orders', '#canceling-and-refunds', '#activity'],\n inviteTeammates: ['#invite-someone', '#pending-invites', '#who-gets-told', '#joining-from-an-invite', '#when-joining-doesnt-go-through', '#an-ordinary-invitation-never-changes-who-owns-the-workspace', '#owner-handoff', '#aglyn-staff', '#how-team-members-act', '#you-are-a-site-collaborators-support-channel', '#member-page', '#member-access', '#member-activity', '#member-changes', '#help-a-teammate-who-is-locked-out', '#why-you-cant-always-set-a-password', '#activity-log', '#site-activity-log', '#ai-actions', '#ai-usage', '#ai-allotment', '#tips', '#related'],\n liveChat: ['#set-up-live-chat', '#which-pages-show-the-chat', '#how-the-chat-loads', '#privacy-and-cookies'],\n loyalty: ['#set-up-your-program', '#how-customers-earn', '#spending-rewards-online', '#at-the-register', '#referrals', '#members-and-store-credit', '#on-an-order', '#refunds-and-cancellations', '#emails', '#switching-it-off-for-a-site'],\n loyaltyConnectors: ['#connect-your-account', '#who-earns', '#when-something-is-not-sent', '#disconnect'],\n manageDomains: ['#the-list', '#a-domain', '#connect', '#transfer-in', '#contact', '#dns', '#transfer-out'],\n manifestAndEnvs: ['#plugin-manifest-published-with-every-version', '#contributes--where-the-plugin-loads', '#config--settings-without-writing-a-settings-screen', '#connections', '#connection-sync', '#connection-record', '#connection-repeat', '#connection-variables', '#image-hosts', '#listing--version-documents', '#review--trust-lifecycle', '#review-queue', '#verification-requests', '#listed-plugins', '#submission-status', '#review-overview', '#review-checklist', '#review-verdict', '#review-versions', '#take-down', '#environment-variables', '#pluginsconfigjson-first-party-contributors'],\n marketingOverlays: ['#announcement-bar', '#promotional-popups', '#frequency', '#popup-v2', '#multiple-overlays-scheduling--page-targeting', '#with-ai', '#variables-in-copy', '#engagement-stats', '#across-your-sites', '#org-marketing-overview', '#org-overlays', '#related'],\n marketplaces: ['#connect-a-marketplace', '#listings', '#orders', '#activity'],\n membersOnly: ['#let-visitors-sign-up', '#sign-in-sign-up-and-recovery-pages', '#forgotten-passwords', '#gate-a-screen', '#manage-your-members', '#suspend-or-reactivate-a-member', '#tips', '#related'],\n orderNotifications: ['#customer-emails', '#tracking-links', '#turning-emails-off', '#changing-the-wording-and-colors', '#who-is-told', '#switch-off-team-notices', '#order-status-page', '#resend-receipt', '#text-messages', '#related'],\n ordersAndReturns: ['#fulfillment', '#invoices', '#send-invoice', '#invoice-pay-link', '#invoice-which-orders', '#returns', '#buyer-requests', '#run-a-return', '#order-webhooks', '#when-an-endpoint-is-down', '#related'],\n orgAutomations: ['#what-an-org-automation-is', '#create-one', '#triggers', '#steps', '#pause-it-on-one-site', '#waiting-switching-off-and-deleting', '#every-sites-own-automations', '#related'],\n ownShippingAccounts: ['#before-you-start', '#connect-an-account', '#easyship', '#sendcloud', '#shipperhq', '#tracking-webhooks', '#what-changes', '#disconnect', '#troubleshooting', '#related'],\n pickupAndDelivery: ['#set-up-pickup', '#set-up-local-delivery', '#queue', '#ask-aglyn-ai', '#related'],\n plugins: ['#install--upgrade', '#browse-card', '#whats-included', '#what-the-badges-on-a-listing-mean', '#how-plugins-run', '#when-one-plugin-depends-on-another', '#a-dependency-that-is-off-for-one-site', '#configure', '#configure-site', '#publish-your-own', '#related'],\n pos: ['#registers', '#who-can-do-what-at-the-register', '#the-register', '#modifiers', '#selling-past-the-count', '#taking-payment', '#platform-fees-at-the-register', '#when-something-disconnects', '#tips', '#receipts', '#card-readers', '#customer-display', '#self-service-kiosk', '#reservations', '#several-identical-units', '#related'],\n posHardware: ['#recommended-kit', '#card-readers', '#reader-4g', '#reader-start-up-screen', '#buy-a-reader-from-aglyn', '#who-can-buy-hardware', '#bought-from-our-online-store', '#bought-from-us-in-person', '#card-readers-to-set-up', '#hardware-orders-at-closure', '#hardware-purchase-records', '#receipt-printers', '#add-a-printer', '#what-prints', '#your-logo-on-the-receipt', '#status', '#cash-drawer', '#barcode-scanning', '#label-printers', '#product-labels', '#shipping-labels', '#customer-display-tablet', '#related'],\n posOperations: ['#shifts-and-the-cash-drawer', '#what-the-reports-show', '#shift-history', '#day-and-event-totals', '#requiring-a-shift', '#who-rang-it', '#check-in-at-the-window', '#staff-pins', '#customers-at-the-register', '#returns-and-exchanges', '#refund-limits-and-manager-approval', '#printed-receipts', '#selling-while-offline', '#what-the-sync-checks', '#cards-taken-offline-in-the-aglyn-pos-app', '#before-you-go-offline', '#related'],\n postPurchase: ['#connect-a-service', '#afterships-webhook', '#package-protection-at-checkout', '#branded-tracking-pages', '#on-the-order', '#switching-it-off-for-a-site'],\n printOnDemand: ['#before-you-start', '#connect', '#import-products', '#costs-and-margins', '#orders', '#test-orders', '#canceling-and-refunding', '#shipments-and-tracking', '#disconnect', '#what-is-sent-to-the-service'],\n publishAPlugin: ['#the-publish-pipeline', '#private-plugins', '#paid-listings', '#your-publisher-profile', '#profile-card', '#listing-publisher-card', '#tips', '#related'],\n publisherHandbook: ['#before-your-first-publish', '#public-profile', '#the-publisher-agreement', '#where-to-publish-from', '#what-installing-each-type-does', '#rules-an-email-starter-has-to-meet', '#publishing-a-version', '#bundle-and-manifest', '#connection-credentials', '#before-you-publish', '#review-what-happens-after-you-publish', '#the-two-badges-and-what-each-one-promises', '#asking-to-be-verified', '#testing-a-version-before-it-is-approved', '#watching-your-own-submission', '#disabled-versions', '#private-plugins', '#authoring-your-listing', '#edit-listing', '#your-listings', '#listing-links', '#what-your-listing-can-say-about-aglyn', '#versioning--updates', '#listing-changelog', '#version-history', '#shipping-a-new-version', '#how-installs-work-the-buyer-side', '#your-own-listings', '#install-card', '#installed-from-the-marketplace', '#licenses', '#workspace-licenses', '#licenses-you-bought', '#getting-paid', '#set-up-payouts', '#purchases-and-fees', '#refund-reversals', '#low-prices-and-processing'],\n quotes: ['#what-a-quote-holds', '#quote-defaults', '#make-a-quote', '#a-request-a-quote-form', '#start-a-quote-from-a-request', '#start-a-quote-from-a-contact', '#totals-and-tax', '#send', '#quote-email', '#conversation', '#send-again', '#pay-link', '#customer-page', '#proofs', '#proof-only', '#customer-proofs', '#proof-sign-in', '#messages', '#approval-and-paying', '#revisions', '#pdf', '#paying', '#paid', '#invoice', '#quotes-are-not-orders', '#permissions'],\n redirects: ['#manage-redirects', '#query-strings-pass-through', '#sending-visitors-to-another-site', '#import-and-export', '#columns', '#how-a-row-finds-an-existing-rule', '#conflicts-the-dry-run-and-undo', '#ask-aglyn-ai', '#metrics', '#match-modes-v2', '#related'],\n reviewPlatforms: ['#who-is-invited', '#trustpilot', '#trustpilot-invitation-address', '#trustpilot-api', '#yotpo-reviews', '#on-the-order', '#switching-it-off-for-a-site', '#related'],\n salesChannels: ['#set-up-sales-channels', '#turn-on-a-channel', '#keep-the-address-private', '#what-each-product-sends', '#brand-barcode-and-category', '#shipping', '#check-your-products', '#how-fresh-the-feed-is', '#earlier-merchant-center-address', '#turn-off', '#related'],\n sandboxSecurity: ['#a-separate-origin', '#per-manifest-network-policy', '#when-you-cant-declare-the-origin', '#pinned-immutable-artifacts', '#what-this-means-when-you-build', '#what-a-reviewer-checks', '#related'],\n sequences: ['#what-it-is-for', '#sent-from-your-own-mailbox', '#where-it-lives', '#self-hosted', '#connect-a-mailbox', '#send-as', '#daily-cap', '#mailbox-status', '#auto-pause', '#mailbox-actions', '#link-domains', '#compliance-settings', '#allowed-countries', '#do-not-contact-domains', '#import-export-do-not-contact', '#sequences', '#build-a-sequence', '#sequence-sending-settings', '#count-opens', '#send-a-test', '#sequence-status', '#enroll', '#start-at-step', '#mail-gateways', '#cold-contacts', '#enrollments', '#person-history', '#person-activity', '#person-details', '#curate', '#sending', '#what-stops-a-sequence', '#answer-a-reply', '#unsubscribe', '#related'],\n shipping: ['#zones-and-rates', '#ask-aglyn-ai', '#where-parcels-ship-from', '#labels-and-live-carrier-rates'],\n shippingEasy: ['#before-you-start', '#connect', '#what-is-sent', '#ship', '#manage', '#troubleshooting', '#related'],\n shippingLabels: ['#before-you-start', '#shipping-labels-settings', '#ship-from', '#boxes', '#label-options', '#checkout-services', '#paying-for-labels', '#carrier-accounts', '#product-shipping-fields', '#carrier-rates-at-checkout', '#address-checks', '#buy-a-label', '#void-a-label', '#batch-labels', '#return-labels', '#tracking', '#label-spend', '#troubleshooting', '#related'],\n shipStation: ['#connect', '#what-imports', '#ship', '#manage', '#troubleshooting', '#related'],\n siteStarters: ['#choose-your-starter', '#what-a-card-shows', '#where-starters-come-from', '#starters-and-ai-starters', '#a-starter-with-a-price', '#what-your-site-gets', '#make-it-your-own', '#who-can-use-them', '#publishing-your-own', '#in-the-aglyn-app', '#related'],\n staffConsole: ['#runbooks', '#whats-there', '#staff-overview', '#staff-overview-organizations', '#staff-overview-signups', '#staff-overview-sites', '#staff-overview-users', '#staff-overview-mrr', '#staff-overview-newest-orgs', '#support-queue', '#plugin-reviews', '#plugin-reviews-site-starters', '#plugin-review-starter-status', '#plugin-review-starter-overview', '#plugin-review-starter-pages', '#plugin-review-starter-theme', '#plugin-review-starter-checklist', '#plugin-review-starter-verdict', '#plugin-review-starter-versions', '#plugin-review-starter-danger-zone', '#organizations-admin', '#filter-the-directory', '#organization-detail', '#staff-org-email', '#free-workspace-limit', '#first-party-hosts', '#entitlement-editor', '#plan-comps', '#build-for-a-client', '#client-build-screen', '#bundle-link', '#sites-admin', '#filter-the-site-list', '#site-detail', '#site-ownership', '#site-transfer', '#site-content', '#staff-automations', '#staff-org-automations', '#emails-sent', '#staff-media-library', '#users-admin', '#users-accounts', '#user-detail', '#user-identity', '#user-organizations', '#user-audit-trail', '#user-data-access', '#user-activity', '#legal-acceptances', '#acquisition', '#password-help', '#sign-one-device-out', '#email-delivery', '#import-delivery-history', '#organization-page-cards', '#org-staff-actions', '#org-edit', '#org-sites', '#org-members', '#org-effective-entitlements', '#org-metered-usage', '#enterprise-custom-billing', '#org-recent-admin-actions', '#org-activity', '#success-manager', '#site-page-cards', '#site-usage', '#site-settings-snapshot', '#staff-notes', '#broadcast-announcements', '#billing-insight', '#margin-utilization', '#margin-scan', '#margin-fleet-utilization', '#margin-fleet-margin', '#margin-by-organization', '#refunds', '#impersonation', '#system-emails', '#edit-a-system-email', '#platform-send-rate', '#platform-suppressions', '#platform-settings', '#feature-flags', '#multi-tenant-architecture', '#audit-archival', '#organization-suspension', '#operator-alerts', '#ai-monitoring', '#sales-tax-return', '#audit-log', '#audit-admin-actions', '#coupons', '#create-a-coupon', '#discount-floors', '#existing-coupons', '#contact-suppressions', '#record-a-dnc-request', '#suppressed-numbers', '#access', '#which-identity-holds-staff', '#staff-inside-a-customers-tenant--a-property-worth-knowing', '#offboarding', '#break-glass-access', '#requiring-sso-for-a-company-domain', '#why-am-i-getting-a-404', '#related'],\n taxServices: ['#before-you-start', '#connect', '#when-the-service-is-not-used', '#how-sales-are-taxed', '#product-tax-codes', '#exempt-customers', '#recording-orders-and-refunds', '#disconnect', '#what-is-sent-to-the-vendor'],\n waivers: ['#your-waivers', '#write-a-waiver', '#versions', '#how-long-a-signature-lasts', '#share-it-before-riders-arrive', '#signing-electronically', '#on-your-site', '#sign-at-the-window', '#at-check-in', '#how-a-rider-is-matched', '#on-the-customer-display', '#minors', '#paper-waivers', '#find-a-signature', '#a-signatures-record', '#contacts', '#privacy', '#keeping-signed-waivers', '#related'],\n webhooks: ['#outbound-webhooks', '#slack', '#inbound-webhooks', '#tips', '#related'],\n zapier: ['#connect-aglyn-to-zapier', '#triggers', '#actions-and-searches', '#what-each-needs', '#see-and-disconnect-your-zaps'],\n} as const satisfies Partial<Record<PluginDocsKey, readonly `#${string}`[]>>\n\n/**\n * The heading each linked anchor opens on — the tooltip's title when a call\n * names an anchor and no title of its own (AGL-3707). Synchronous because it\n * is the help button's accessible name; the section's prose is in\n * `docs-help-sections.generated.ts`, fetched when a tooltip opens.\n */\nexport const PLUGIN_DOCS_SECTION_TITLES: {\n readonly [K in PluginDocsKey]?: { readonly [anchor: `#${string}`]: string }\n} = {\n abuseReports: {\n '#abuse-queue-page': 'The queue page',\n '#counter-notice-steps': 'The steps',\n '#counter-notices': 'Counter-notices — the put-back',\n '#reading-a-report': 'Reading a report',\n '#reported-listings': 'Reported listings and reviews',\n '#statuses': 'Statuses',\n '#triage-by-severity': 'Triage by severity',\n },\n actionsBuilder: {\n '#create-an-action': 'Create an action',\n },\n adConversions: {\n '#conversions-api': 'Connect an account',\n },\n aglynAssist: {\n '#what-it-can-do': 'What it can do',\n },\n aiAllotments: {\n '#a-members-allotment': 'A member\\'s allotment',\n '#a-sites-allotment': 'A site\\'s allotment',\n '#allotments': 'Allotments',\n '#choosing-a-model': 'Choosing a model',\n '#usage-strip': 'Your usage while you work',\n },\n aiAssistBuilds: {\n '#change-a-page': 'Change a page',\n '#the-plan-card': 'The plan card',\n },\n aiAutomations: {\n '#change': 'Change or fix an automation',\n '#draft': 'Draft an automation from a description',\n '#explain': 'Explain an automation',\n '#org-automations': 'Draft an org automation',\n },\n aiBusinessProfile: {\n '#what-aglyn-ai-learned': 'What Aglyn AI learned',\n },\n aiComponent: {\n '#from-a-brief': 'From a brief',\n },\n aiCreate: {\n '#without-the-add-on': 'On every plan',\n },\n aiCredits: {\n '#before-a-job-starts': 'Before a job starts',\n '#past-the-band': 'Past the band',\n '#see-your-credits': 'See your credits',\n },\n aiCrm: {\n '#draft-an-email': 'Draft a one-to-one email',\n '#match-columns': 'Match an import\\'s columns',\n '#summarize-a-record': 'Summarize a record',\n },\n aiEmail: {\n '#where-to-start-it': 'Where to start it',\n '#write-the-brief': 'Write the brief',\n },\n aiExperiments: {\n '#the-verdict': 'The verdict is decided before the model is asked',\n '#write-variants': 'Write variants',\n },\n aiForm: {\n '#describe-the-form': 'Describe the form',\n },\n aiImages: {\n '#credits': 'Credits',\n '#declined-pictures': 'Declined pictures',\n '#make-a-picture': 'Make a picture',\n '#shapes-and-how-many': 'Shapes and how many',\n '#who-can-use-it': 'Who can use it',\n },\n aiImport: {\n '#keep-or-improve': 'Keep my site or improve it',\n '#prove-it-is-yours': 'Prove it is yours',\n '#turned-away': 'When your site turns AglynBot away',\n '#waves': 'Waves',\n '#your-current-website': 'Your current website',\n },\n aiInsights: {\n '#asking-a-question': 'Asking a question',\n },\n aiJobs: {\n '#ai-jobs-in-assist': 'AI jobs in Assist',\n },\n aiLayout: {\n '#generate-a-layout-with-aglyn-ai': 'Generate a layout with Aglyn AI',\n },\n aiLogic: {\n '#change': 'Change, fix or explain a function',\n '#function': 'Write a function from a description',\n '#variable': 'Write a variable',\n },\n aiMarketing: {\n '#create-a-campaign': 'Create a campaign',\n },\n aiMonitoring: {\n '#ai-conversations': 'AI conversations',\n '#one-account': 'One account, across organizations',\n '#the-ai-card': 'The AI card',\n '#the-spend-leaderboard': 'The spend leaderboard',\n },\n aiPage: {\n '#describe-the-page': 'Describe the page',\n },\n aiProducts: {\n '#propose-a-first-catalog': 'Propose a first catalog',\n '#write-a-products-copy': 'Write a product\\'s copy',\n },\n aiSeo: {\n '#fix-what-the-seo-check-finds': 'Fix what the SEO check finds',\n '#write-a-pages-listing': 'Write a page\\'s listing',\n '#write-a-products-listing': 'Write a product\\'s listing',\n },\n aiSite: {\n '#generate-for-several-sites-at-once': 'Generate for several sites at once',\n },\n aiSiteLooks: {\n '#choose-a-style': 'Choose a style',\n },\n aiStart: {\n '#audience': 'Audience',\n '#details': 'Details',\n '#how-do-you-want-to-start': 'How do you want to start?',\n '#review': 'Review',\n '#the-sites-search-listing': 'The site\\'s search listing',\n '#your-business': 'Your site',\n },\n aiTemplate: {\n '#generate-a-page-template-with-aglyn-ai': 'Generate a page template with Aglyn AI',\n },\n aiThemes: {\n '#describe-a-change': 'Change what you describe, or design a new theme',\n },\n assistSignals: {\n '#docs-gaps': 'Docs gaps',\n '#fleet': 'Fleet',\n '#questions-the-docs-could-not-answer': 'Questions the docs could not answer',\n '#tokens-by-kind': 'Tokens by kind',\n '#what-assist-costs-by-workspace': 'What Assist costs, by workspace',\n '#what-people-actually-asked': 'What people actually asked',\n '#where-the-money-goes': 'Where the money goes',\n },\n billing: {\n '#api-access': 'API access',\n '#billing-address': 'Billing address',\n '#billing-address-on-profile': 'On your workspace profile',\n '#billing-email': 'Billing email',\n '#billing-history': 'Billing history',\n '#billing-link': 'Billing links in emails',\n '#billing-page': 'The Billing page',\n '#campaign-sending-pace': 'Campaign sending pace',\n '#crm-records': 'CRM records',\n '#current-plan': 'Current plan',\n '#if-you-would-rather-uploads-stopped': 'If you would rather uploads stopped',\n '#locked-features': 'Locked features',\n '#made-with-badge': 'The \"Made with Aglyn\" badge',\n '#metered-usage-estimate': 'Metered usage estimate',\n '#one-to-one-email': 'One-to-one email',\n '#outstanding': 'Paying an outstanding invoice',\n '#payment-methods': 'Payment methods',\n '#seats': 'Seats',\n '#storage-overage': 'Storage overage',\n '#tax-ids': 'Tax IDs',\n '#upgrade-proposal': 'When the Aglyn team proposes a plan',\n '#usage-budget': 'Usage budget',\n '#usage-card': 'The Usage card',\n '#usage-history': 'Usage history',\n '#what-you-will-pay': 'What you will pay',\n '#who-is-generating-what': 'Who is generating what',\n },\n bindings: {\n '#functions-card': 'The Functions card',\n '#insert-a-variable': 'Insert a variable',\n '#no-code-functions': 'No-code functions',\n '#typed-variables': 'Typed variables',\n '#where-used--safety': 'Where-used & safety',\n },\n bookings: {\n '#manage': 'Manage',\n '#reminders': '24-hour reminders',\n '#set-up-bookings': 'Set up bookings',\n },\n buildAWorkflow: {\n '#1-open-the-workflows-page': '1. Open the workflows page',\n '#4-save-and-test': '4. Save and test',\n },\n catalog: {\n '#categories-and-tags': 'Categories and tags',\n '#review-moderation': 'Review moderation',\n '#review-settings': 'Review settings',\n '#subscriptions-list': 'Your subscribers',\n },\n commerce: {\n '#commerce-analytics': 'Commerce analytics',\n '#commerce-glance': 'Commerce at a glance',\n '#gift-cards': 'Gift cards & store credit',\n '#inventory-locations': 'Inventory locations',\n '#orders-screen': 'The Orders page',\n '#payment-methods': 'Payment methods',\n '#pickup-and-local-delivery': 'Pickup and local delivery',\n '#products-hub': 'Products hub',\n '#recovery-and-alerts': 'Recovery & alerts',\n '#stock-movements': 'Stock movements',\n '#store-settings': 'Store settings',\n '#storefront-sales-tax': 'Storefront sales tax',\n '#tax-settings': 'Tax settings',\n },\n commerceEndToEnd: {\n '#1-connect-payments': '1. Connect payments',\n '#member-updates': 'Member updates',\n },\n companies: {\n '#a-companys-page': 'A company\\'s page',\n '#contact-roles': 'Contact roles',\n '#contacts-at-a-company': 'Contacts at a company',\n '#create-a-company': 'Create a company',\n '#the-companies-list': 'The companies list',\n },\n connectOtherAccounting: {\n '#choose-your-books': 'Choose your books',\n },\n connectXero: {\n '#choose-an-organization': 'Choose an organization',\n },\n consoleTour: {\n '#a-site-card': 'A site card',\n '#a-sites-dashboard': 'A site\\'s dashboard',\n '#alerts-on-this-device': 'Alerts on this device',\n '#all-notifications': 'All notifications',\n '#choose-a-workspace': 'Choose a workspace',\n '#daily-digests': 'Daily digests',\n '#notification-settings': 'Notification settings',\n '#notification-sound': 'Notification sound',\n '#organization-general': 'General',\n '#organization-settings': 'Organization settings',\n '#recent-activity': 'Recent activity',\n '#the-sites-list': 'The Sites list',\n '#workspace-and-site-overrides': 'Workspace and site overrides',\n },\n contactActivities: {\n '#four-kinds-of-history': 'Four kinds of history',\n '#logging-an-activity': 'Logging an activity',\n '#the-recent-activity-feed': 'The recent activity feed',\n },\n contactFields: {\n '#define-a-field': 'Define a field',\n '#save-a-form-field': 'Save a form field into a custom field',\n },\n contactRecord: {\n '#contact-properties': 'The Properties card',\n '#likely-duplicates': 'Likely duplicates',\n '#the-record-page': 'The record page',\n '#what-each-site-keeps-to-itself': 'What each site keeps to itself',\n },\n contacts: {\n '#known-by': 'Known by',\n '#the-contacts-page': 'The contacts page',\n },\n couriers: {\n '#connect-doordash-drive': 'Connect DoorDash Drive',\n },\n crmEmailTemplates: {\n '#managing-templates': 'Managing templates',\n },\n crmLeads: {\n '#a-leads-page': 'A lead\\'s page',\n '#captured-history': 'Captured history',\n '#filter-the-leads': 'Filter and search the leads',\n '#lead-campaigns': 'Campaigns',\n '#lead-details': 'Details',\n },\n crmReports: {\n '#activity-by-teammate': 'Activity by teammate',\n '#contacts': 'Contacts',\n '#conversion-by-source': 'Conversion by source',\n '#crm-at-a-glance': 'CRM at a glance',\n '#forecast-by-close-month': 'Forecast by close month',\n '#lead-funnel': 'Lead funnel',\n '#lead-sources': 'Lead sources',\n '#pipeline': 'Pipeline',\n '#sources-and-lifecycle': 'Sources and lifecycle',\n '#tasks': 'Tasks',\n '#won-and-lost': 'Won and lost',\n '#won-and-lost-by-owner': 'Won and lost by owner',\n },\n crmSettings: {\n '#assignment-rules': 'Assignment rules',\n '#default-owner': 'Default owner',\n '#email-capture': 'Email capture',\n '#recipes': 'Recipes',\n '#round-robin': 'Round robin',\n '#your-sending-addresses': 'Your sending addresses',\n },\n crmSharing: {\n '#default-sharing-for-new-records': 'Default sharing for new records',\n '#sharing-card': 'The Sharing card',\n '#sharing-rules': 'Sharing rules',\n },\n crmTasks: {\n '#tasks-on-a-contact-company-or-deal': 'Tasks on a contact, company or deal',\n '#the-dashboard-card': 'The dashboard card',\n '#the-tasks-page': 'The tasks page',\n },\n crmViews: {\n '#the-views-control': 'The views control',\n },\n datasets: {\n '#default-dataset-sharing': 'Default sharing for new datasets',\n '#filter-records': 'Filter and search the records',\n '#organization-data-page': 'Where you manage datasets',\n },\n deals: {\n '#a-deals-page': 'A deal\\'s page',\n '#contact-roles': 'Contact roles',\n '#deal-properties': 'Deal properties',\n '#deals-on-a-record': 'Deals on a contact or a company',\n '#line-items': 'Line items',\n '#moving-winning-and-losing': 'Moving, winning and losing',\n '#the-board-and-the-table': 'The board and the table',\n },\n deliveryApps: {\n '#taking-orders': 'Taking orders',\n },\n designedEmails: {\n '#find-a-template': 'Find a template',\n '#template-page': 'A template\\'s page',\n '#template-preview': 'Preview',\n '#template-report': 'Sent from this template',\n },\n discountsAndCoupons: {\n '#add-a-discount': 'Add a discount',\n '#coupons': 'Coupons',\n },\n dropshipSuppliers: {\n '#add-a-supplier': 'Add a supplier',\n },\n emailCampaigns: {\n '#a-domain-we-set-up-is-a-request': 'A domain we set up is asked for, not included',\n '#add-a-sender': 'Add or edit a sender',\n '#add-to-a-list': 'Add someone by hand',\n '#campaign-page': 'A campaign\\'s page',\n '#campaigns-group-emails': 'A campaign holds many emails',\n '#consent-group-confirmation': 'When the site asking is part of a consent group',\n '#consent-group-join': 'Add or move a site',\n '#consent-groups': 'Sites that send as one',\n '#conversions': 'Everything the campaigns caused',\n '#domain-states': 'The states a domain can be in',\n '#email-lists': 'Email lists',\n '#email-page': 'One email\\'s page',\n '#email-preview': 'Preview',\n '#email-recipients': 'Who an email reached',\n '#experiments': 'Experiments',\n '#experiments-across-sites': 'Across your organization\\'s sites',\n '#last-campaign-card': 'The Last campaign card',\n '#list-members': 'See and manage who is on a list',\n '#lists-built-from-a-rule': 'Lists built from a rule',\n '#manual-lists': 'Manual lists',\n '#messages-list': 'The Messages list',\n '#monthly-send-cap': 'Your monthly send cap',\n '#org-sending-domain': 'A domain on your organization\\'s Emails page',\n '#org-suppressions': 'Every site\\'s suppressions',\n '#organization-emails-page': 'Your organization\\'s Emails page',\n '#preference-page': 'The preference page',\n '#send-a-campaign': 'Send a campaign',\n '#senders': 'The addresses this site may send as',\n '#sending-domains': 'Which domain your mail leaves on',\n '#suppressions': 'Suppressions',\n '#the-campaign-report': 'The campaign report',\n '#topics': 'Topics',\n '#two-ways-to-get-a-domain': 'The two ways to get a domain of this site\\'s own',\n '#what-belongs-to-a-campaign': 'What belongs to a campaign',\n },\n events: {\n '#manage-events': 'Manage events',\n },\n forms: {\n '#after-someone-sends-it': 'After someone sends it',\n '#every-sites-inbox-at-once': 'Every site\\'s Inbox at once',\n '#field-types': 'Field types',\n '#filter-the-inbox': 'Filter the Inbox tables',\n '#find-a-form': 'Find a form in the list',\n '#form-collected': 'What this form has collected',\n '#form-crm-routing': 'CRM routing',\n '#form-details': 'Details',\n '#form-submissions': 'Submissions to this form',\n '#form-versions': 'Versions',\n '#inbox-card': 'The Inbox card on a site\\'s dashboard',\n '#one-forms-own-page': 'One form\\'s own page',\n '#replying-to-a-submission': 'Replying to a submission',\n '#the-inbox': 'The inbox',\n },\n funnels: {\n '#create': 'Create a funnel',\n },\n installYourFirstPlugin: {\n '#a-plugins-page': 'A plugin\\'s page',\n '#built-in-plugins': 'Built-in plugins',\n '#find-plugins': 'Find the Plugins section',\n '#manage-plugins': 'Manage your plugins',\n '#permissions-and-data': 'Permissions & data',\n '#plugin-connections': 'Connect a plugin to another service',\n '#plugin-on-one-site': 'A plugin on one site',\n '#site-plugins': 'Plugins on one site',\n '#step-3-reviews': 'Step 3 — Read the reviews, and know who can leave one',\n '#where-a-plugin-runs': 'Where a plugin runs',\n },\n inventorySync: {\n '#connect-a-system': 'Connect a system',\n },\n inviteTeammates: {\n '#activity-log': 'Activity log',\n '#ai-usage': 'AI usage per member',\n '#help-a-teammate-who-is-locked-out': 'Help a teammate who is locked out',\n '#invite-someone': 'Invite someone',\n '#joining-from-an-invite': 'Joining from an invite',\n '#member-access': 'Role and site access',\n '#member-activity': 'One member\\'s activity',\n '#member-changes': 'Changes to this member',\n '#member-page': 'A member\\'s page',\n '#site-activity-log': 'A site\\'s activity log',\n },\n liveChat: {\n '#set-up-live-chat': 'Set up live chat',\n },\n loyalty: {\n '#members-and-store-credit': 'Members and store credit',\n '#on-an-order': 'On an order',\n '#set-up-your-program': 'Set up your program',\n },\n loyaltyConnectors: {\n '#connect-your-account': 'Connect your account',\n },\n manifestAndEnvs: {\n '#listed-plugins': 'Listed plugins',\n '#review-checklist': 'The review checklist',\n '#review-overview': 'The listing under review',\n '#review-queue': 'The review queue',\n '#review-verdict': 'Review verdict',\n '#review-versions': 'Versions under review',\n '#submission-status': 'A submission\\'s status',\n '#take-down': 'Taking a listing down',\n '#verification-requests': 'Verification requests',\n },\n marketingOverlays: {\n '#announcement-bar': 'Announcement bar',\n '#engagement-stats': 'Engagement stats',\n '#frequency': 'Frequency: how often a popup comes back',\n '#org-marketing-overview': 'Every site at a glance',\n '#org-overlays': 'Every site\\'s overlays',\n '#promotional-popups': 'Promotional popups',\n },\n membersOnly: {\n '#manage-your-members': 'Manage your members',\n },\n orderNotifications: {\n '#customer-emails': 'What your customers get',\n },\n ordersAndReturns: {\n '#buyer-requests': 'How a buyer asks',\n '#order-webhooks': 'Order webhooks',\n '#run-a-return': 'Run a return',\n },\n orgAutomations: {\n '#every-sites-own-automations': 'Every site\\'s own automations',\n '#pause-it-on-one-site': 'Pause it on one site',\n '#what-an-org-automation-is': 'What an org automation is',\n },\n ownShippingAccounts: {\n '#connect-an-account': 'Connect an account',\n },\n pickupAndDelivery: {\n '#set-up-local-delivery': 'Set up local delivery',\n },\n plugins: {\n '#a-dependency-that-is-off-for-one-site': 'A dependency that is off for one site',\n '#browse-card': 'What a browse card shows',\n '#configure': 'Configure',\n '#configure-site': 'Settings for one site',\n '#install--upgrade': 'Install & upgrade',\n '#what-the-badges-on-a-listing-mean': 'What the badges on a listing mean',\n '#when-one-plugin-depends-on-another': 'When one plugin depends on another',\n },\n pos: {\n '#card-readers': 'Card readers',\n '#registers': 'Registers',\n '#reservations': 'Reservations',\n },\n posHardware: {\n '#bought-from-us-in-person': 'Bought from us in person',\n '#buy-a-reader-from-aglyn': 'Buy a reader from Aglyn',\n '#card-readers-to-set-up': 'Card readers to set up',\n '#hardware-purchase-records': 'Records of your purchases',\n '#reader-start-up-screen': 'Reader start-up screen',\n '#receipt-printers': 'Receipt printers',\n },\n posOperations: {\n '#check-in-at-the-window': 'Check-in at the window',\n '#day-and-event-totals': 'Day and event totals',\n '#shifts-and-the-cash-drawer': 'Shifts and the cash drawer',\n '#staff-pins': 'Staff PINs',\n },\n postPurchase: {\n '#connect-a-service': 'Connect a service',\n '#on-the-order': 'On the order',\n },\n publishAPlugin: {\n '#listing-publisher-card': 'The Publisher card on a listing',\n '#paid-listings': 'Paid listings',\n '#profile-card': 'The profile card',\n '#your-publisher-profile': 'Your publisher profile',\n },\n publisherHandbook: {\n '#asking-to-be-verified': 'Asking to be verified',\n '#authoring-your-listing': 'Authoring your listing',\n '#before-you-publish': 'Before you publish',\n '#bundle-and-manifest': 'Bundle and manifest',\n '#connection-credentials': 'Connection credentials',\n '#edit-listing': 'Edit a listing',\n '#install-card': 'The Install card',\n '#installed-from-the-marketplace': 'Installed from the marketplace',\n '#licenses-you-bought': 'Bought by you',\n '#listing-changelog': 'The Changelog card',\n '#listing-links': 'The Links card',\n '#private-plugins': 'Private plugins',\n '#public-profile': 'Set up your public profile',\n '#publishing-a-version': 'Publishing a version',\n '#purchases-and-fees': 'Purchases and the platform fee',\n '#refund-reversals': 'When a refund cannot be pulled back',\n '#review-what-happens-after-you-publish': 'Review: what happens after you publish',\n '#set-up-payouts': 'Set up payouts',\n '#the-publisher-agreement': 'The publisher agreement',\n '#the-two-badges-and-what-each-one-promises': 'The two badges, and what each one promises',\n '#version-history': 'Version history',\n '#watching-your-own-submission': 'Watching your own submission',\n '#where-to-publish-from': 'Where to publish from',\n '#workspace-licenses': 'This workspace',\n '#your-listings': 'Your listings',\n },\n quotes: {\n '#make-a-quote': 'Make a quote',\n '#quote-defaults': 'New-quote defaults',\n },\n redirects: {\n '#manage-redirects': 'Manage redirects',\n },\n reviewPlatforms: {\n '#on-the-order': 'On the order',\n '#trustpilot': 'Trustpilot',\n '#yotpo-reviews': 'Yotpo Reviews',\n },\n salesChannels: {\n '#brand-barcode-and-category': 'Brand, barcode and category',\n '#how-fresh-the-feed-is': 'How fresh the feed is',\n '#set-up-sales-channels': 'Set up sales channels',\n '#turn-on-a-channel': 'Turn on a channel',\n },\n sandboxSecurity: {\n '#what-a-reviewer-checks': 'What a reviewer checks',\n },\n sequences: {\n '#allowed-countries': 'Allowed countries',\n '#build-a-sequence': 'Build a sequence',\n '#compliance-settings': 'Compliance settings',\n '#connect-a-mailbox': 'Connect a mailbox',\n '#do-not-contact-domains': 'Do not contact domains',\n '#enroll': 'Enroll people',\n '#link-domains': 'Link domains',\n '#mailbox-actions': 'Test, pause and disconnect',\n '#person-activity': 'Their activity',\n '#person-details': 'Their enrollment\\'s details',\n '#person-history': 'See one person\\'s history',\n '#send-a-test': 'Send yourself a test of a step',\n '#sequence-sending-settings': 'Who it sends to, and when',\n '#sequences': 'Sequences',\n },\n shipping: {\n '#zones-and-rates': 'Zones and rates',\n },\n shippingEasy: {\n '#connect': 'Connect ShippingEasy',\n },\n shippingLabels: {\n '#carrier-accounts': 'Carrier accounts',\n '#label-spend': 'Label spend',\n '#shipping-labels-settings': 'Set up labels',\n },\n shipStation: {\n '#connect': 'Connect ShipStation',\n },\n staffConsole: {\n '#access': 'Access',\n '#acquisition': 'Acquisition',\n '#audit-admin-actions': 'Admin actions',\n '#audit-archival': 'Audit archival',\n '#audit-log': 'Audit log viewer',\n '#billing-insight': 'Billing insight',\n '#broadcast-announcements': 'Broadcast announcements',\n '#bundle-link': 'Bundle checkout link',\n '#contact-suppressions': 'Do not contact',\n '#coupons': 'Coupons',\n '#create-a-coupon': 'Create a coupon',\n '#discount-floors': 'Applying a coupon and quoting a custom price',\n '#edit-a-system-email': 'Edit a system email',\n '#email-delivery': 'Email delivery',\n '#emails-sent': 'Emails sent',\n '#enterprise-custom-billing': 'Enterprise custom billing',\n '#existing-coupons': 'Existing coupons',\n '#filter-the-directory': 'Filter the directory',\n '#filter-the-site-list': 'Filter the site list',\n '#first-party-hosts': 'First-party hosts',\n '#free-workspace-limit': 'Free workspace limit',\n '#import-delivery-history': 'Import delivery history',\n '#legal-acceptances': 'Legal acceptances',\n '#margin-by-organization': 'By organization, worst margin first',\n '#margin-fleet-margin': 'Margin',\n '#margin-fleet-utilization': 'Utilization across the fleet',\n '#margin-scan': 'Scan',\n '#margin-utilization': 'Margin & utilization',\n '#org-activity': 'Organization activity',\n '#org-edit': 'Edit organization',\n '#org-effective-entitlements': 'Effective entitlements',\n '#org-members': 'Members',\n '#org-metered-usage': 'Metered usage',\n '#org-recent-admin-actions': 'Recent admin actions on this organization',\n '#org-sites': 'Sites',\n '#org-staff-actions': 'Staff actions',\n '#organization-detail': 'Organization detail',\n '#organization-page-cards': 'Organization page cards',\n '#organizations-admin': 'Organization management',\n '#password-help': 'Password help',\n '#platform-send-rate': 'Platform send rate',\n '#platform-settings': 'Platform settings',\n '#platform-suppressions': 'Platform suppressions',\n '#plugin-review-starter-checklist': 'Starter review checklist',\n '#plugin-review-starter-danger-zone': 'Starter danger zone',\n '#plugin-review-starter-overview': 'Starter overview',\n '#plugin-review-starter-pages': 'Starter pages',\n '#plugin-review-starter-status': 'Starter status',\n '#plugin-review-starter-theme': 'Starter theme',\n '#plugin-review-starter-verdict': 'Starter review verdict',\n '#plugin-review-starter-versions': 'Starter versions',\n '#plugin-reviews': 'Plugin reviews & realm trust',\n '#plugin-reviews-site-starters': 'Site starters',\n '#record-a-dnc-request': 'Record a request',\n '#sign-one-device-out': 'Sign one device out',\n '#site-content': 'Site content',\n '#site-detail': 'Site detail',\n '#site-ownership': 'Site ownership',\n '#site-settings-snapshot': 'Settings snapshot',\n '#site-usage': 'Usage',\n '#sites-admin': 'Site management',\n '#staff-automations': 'Automations',\n '#staff-media-library': 'Media library',\n '#staff-notes': 'Staff notes',\n '#staff-org-automations': 'Organization automations',\n '#staff-org-email': 'Organization email campaigns',\n '#staff-overview': 'Staff overview',\n '#staff-overview-newest-orgs': 'Newest organizations',\n '#staff-overview-organizations': 'Organizations',\n '#staff-overview-signups': 'Signups (30d)',\n '#staff-overview-sites': 'Sites',\n '#staff-overview-users': 'Users',\n '#success-manager': 'Success manager',\n '#suppressed-numbers': 'Suppressed numbers',\n '#system-emails': 'System emails',\n '#user-activity': 'Activity by this account',\n '#user-audit-trail': 'Recent audit trail',\n '#user-data-access': 'Data access by staff',\n '#user-detail': 'The account page',\n '#user-identity': 'Identity',\n '#user-organizations': 'Organizations',\n '#users-accounts': 'Accounts',\n '#users-admin': 'Users admin',\n },\n taxServices: {\n '#connect': 'Connect',\n '#how-sales-are-taxed': 'How sales are taxed',\n },\n waivers: {\n '#find-a-signature': 'Find a signature',\n '#keeping-signed-waivers': 'How long signed waivers are kept',\n '#versions': 'Versions',\n '#write-a-waiver': 'Write a waiver',\n '#your-waivers': 'Your waivers',\n },\n webhooks: {\n '#outbound-webhooks': 'Outbound webhooks',\n },\n zapier: {\n '#see-and-disconnect-your-zaps': 'See and disconnect your Zaps',\n },\n}\n\ntype PluginAnchorMap = typeof PLUGIN_DOCS_ANCHORS\n\n/** Valid heading anchors for a plugin docs page (`never` when none). */\nexport type PluginDocsAnchor<K extends PluginDocsKey> =\n K extends keyof PluginAnchorMap ? PluginAnchorMap[K][number] : never\n"],"names":["PLUGIN_DOCS","abuseReports","path","title","excerpt","actionsBuilder","adConversions","aglynAssist","aiAllotments","aiAssistBuilds","aiAutomations","aiBusinessProfile","aiComponent","aiCreate","aiCredits","aiCrm","aiEmail","aiExperiments","aiForm","aiImages","aiImport","aiInsights","aiJobs","aiLayout","aiLogic","aiMarketing","aiMonitoring","aiPage","aiProducts","aiSeo","aiSite","aiSiteLooks","aiStart","aiTemplate","aiThemes","assistSignals","billing","bindings","bookings","buildAWorkflow","buyADomain","catalog","commerce","commerceEndToEnd","companies","connectOtherAccounting","connectQuickbooksOnline","connectXero","consoleTour","contactActivities","contactFields","contactRecord","contacts","couriers","crmEmailTemplates","crmLeads","crmReports","crmSettings","crmSharing","crmTasks","crmViews","datasets","deals","deliveryApps","designedEmails","discountsAndCoupons","dropshipSuppliers","emailCampaigns","emailPlatforms","events","forms","fulfillmentNetworks","funnels","helpDesks","installYourFirstPlugin","inventorySync","inviteTeammates","liveChat","loyalty","loyaltyConnectors","manageDomains","manifestAndEnvs","marketingOverlays","marketplaces","membersOnly","orderNotifications","ordersAndReturns","orgAutomations","ownShippingAccounts","pickupAndDelivery","plugins","pos","posHardware","posOperations","postPurchase","printOnDemand","publishAPlugin","publisherHandbook","quotes","redirects","reviewPlatforms","salesChannels","sandboxSecurity","sequences","shipping","shippingEasy","shippingLabels","shipStation","siteStarters","staffConsole","taxServices","waivers","webhooks","zapier","PLUGIN_DOCS_ANCHORS","PLUGIN_DOCS_SECTION_TITLES"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GACD,iDAAiD;AACjD,8CAA8C;AAC9C,oEAAoE;AAEpE,6EAA6E;AAC7E,2EAA2E;AAC3E,+EAA+E;AAW/E,OAAO,MAAMA,cAAc;IACzBC,cAAc;QACZC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAC,gBAAgB;QACdH,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAE,eAAe;QACbJ,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAG,aAAa;QACXL,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAI,cAAc;QACZN,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAK,gBAAgB;QACdP,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAM,eAAe;QACbR,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAO,mBAAmB;QACjBT,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAQ,aAAa;QACXV,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAS,UAAU;QACRX,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAU,WAAW;QACTZ,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAW,OAAO;QACLb,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAY,SAAS;QACPd,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAa,eAAe;QACbf,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAc,QAAQ;QACNhB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAe,UAAU;QACRjB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgB,UAAU;QACRlB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiB,YAAY;QACVnB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkB,QAAQ;QACNpB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmB,UAAU;QACRrB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoB,SAAS;QACPtB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqB,aAAa;QACXvB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsB,cAAc;QACZxB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuB,QAAQ;QACNzB,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwB,YAAY;QACV1B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyB,OAAO;QACL3B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0B,QAAQ;QACN5B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2B,aAAa;QACX7B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4B,SAAS;QACP9B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6B,YAAY;QACV/B,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8B,UAAU;QACRhC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+B,eAAe;QACbjC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgC,SAAS;QACPlC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiC,UAAU;QACRnC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkC,UAAU;QACRpC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmC,gBAAgB;QACdrC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoC,YAAY;QACVtC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqC,SAAS;QACPvC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsC,UAAU;QACRxC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuC,kBAAkB;QAChBzC,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwC,WAAW;QACT1C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyC,wBAAwB;QACtB3C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0C,yBAAyB;QACvB5C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2C,aAAa;QACX7C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4C,aAAa;QACX9C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6C,mBAAmB;QACjB/C,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8C,eAAe;QACbhD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+C,eAAe;QACbjD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgD,UAAU;QACRlD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiD,UAAU;QACRnD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkD,mBAAmB;QACjBpD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmD,UAAU;QACRrD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoD,YAAY;QACVtD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqD,aAAa;QACXvD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsD,YAAY;QACVxD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuD,UAAU;QACRzD,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwD,UAAU;QACR1D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyD,UAAU;QACR3D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0D,OAAO;QACL5D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2D,cAAc;QACZ7D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4D,gBAAgB;QACd9D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6D,qBAAqB;QACnB/D,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8D,mBAAmB;QACjBhE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+D,gBAAgB;QACdjE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgE,gBAAgB;QACdlE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiE,QAAQ;QACNnE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkE,OAAO;QACLpE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmE,qBAAqB;QACnBrE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoE,SAAS;QACPtE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqE,WAAW;QACTvE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsE,wBAAwB;QACtBxE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuE,eAAe;QACbzE,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwE,iBAAiB;QACf1E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyE,UAAU;QACR3E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0E,SAAS;QACP5E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2E,mBAAmB;QACjB7E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4E,eAAe;QACb9E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6E,iBAAiB;QACf/E,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA8E,mBAAmB;QACjBhF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA+E,cAAc;QACZjF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAgF,aAAa;QACXlF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAiF,oBAAoB;QAClBnF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAkF,kBAAkB;QAChBpF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAmF,gBAAgB;QACdrF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAoF,qBAAqB;QACnBtF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAqF,mBAAmB;QACjBvF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAsF,SAAS;QACPxF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAuF,KAAK;QACHzF,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAwF,aAAa;QACX1F,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACAyF,eAAe;QACb3F,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA0F,cAAc;QACZ5F,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA2F,eAAe;QACb7F,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA4F,gBAAgB;QACd9F,MAAM;QACNC,OAAO;QACPC,SAAS;IACX;IACA6F,mBAAmB;QACjB/F,MAAM;QACNC,OAAO;QACPC,SA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BAAyB;QACzB,oBAAoB;QACpB,uBAAuB;QACvB,kBAAkB;QAClB,kBAAkB;QAClB,qBAAqB;QACrB,qBAAqB;QACrB,gBAAgB;QAChB,kBAAkB;QAClB,uBAAuB;QACvB,mBAAmB;QACnB,gBAAgB;IAClB;IACAC,aAAa;QACX,YAAY;QACZ,wBAAwB;IAC1B;IACAC,SAAS;QACP,qBAAqB;QACrB,2BAA2B;QAC3B,aAAa;QACb,mBAAmB;QACnB,iBAAiB;IACnB;IACAC,UAAU;QACR,sBAAsB;IACxB;IACAC,QAAQ;QACN,iCAAiC;IACnC;AACF,EAAC"}
@@ -254,7 +254,11 @@ export declare function isRecaptchaTimeout(error: unknown): boolean;
254
254
  * (`watchFirestoreQueueFailure`, AGL-4156).
255
255
  */
256
256
  export declare const FIRESTORE_QUEUE_KIND = "firestore-queue";
257
- /** The assertion, or the IndexedDB rejection that arrives beside it. */
257
+ /**
258
+ * The assertion, or the IndexedDB rejection that arrives beside it: the
259
+ * browser ended the transaction under the SDK, whichever call it was in (a
260
+ * record read, a cursor, or opening the database in a webview).
261
+ */
258
262
  export declare function isFirestoreQueueFailureReport(error: unknown): boolean;
259
263
  /**
260
264
  * The label for a fault we RECOVER from and still want to see, or undefined.
@@ -301,8 +301,12 @@ const RECAPTCHA_TIMEOUT_MESSAGE = /^(?:Error: )?reCAPTCHA Timeout\b/;
301
301
  * died, and the first b815 moves the tab onto the memory cache and reloads it
302
302
  * (`watchFirestoreQueueFailure`, AGL-4156).
303
303
  */ export const FIRESTORE_QUEUE_KIND = 'firestore-queue';
304
- const FIRESTORE_QUEUE_MESSAGE = /INTERNAL ASSERTION FAILED: Unexpected state \(ID: b815\)|Attempt to get a record from database without an in-progress transaction/;
305
- /** The assertion, or the IndexedDB rejection that arrives beside it. */ export function isFirestoreQueueFailureReport(error) {
304
+ const FIRESTORE_QUEUE_MESSAGE = /INTERNAL ASSERTION FAILED: Unexpected state \(ID: b815\)|Attempt to (?:get a record from|open a cursor in) database without an in-progress transaction|IndexedDB transaction '[^']*' failed: AbortError/;
305
+ /**
306
+ * The assertion, or the IndexedDB rejection that arrives beside it: the
307
+ * browser ended the transaction under the SDK, whichever call it was in (a
308
+ * record read, a cursor, or opening the database in a webview).
309
+ */ export function isFirestoreQueueFailureReport(error) {
306
310
  const message = error == null ? void 0 : error.message;
307
311
  return typeof message === 'string' && FIRESTORE_QUEUE_MESSAGE.test(message);
308
312
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/error-beacon.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * First-party browser error beacon (AGL-1538).\n *\n * Crashlytics does not exist for web, and adding a third-party error vendor\n * is a subprocessor-list decision that was explicitly deferred. This is the\n * first-party alternative: `window.onerror` / `unhandledrejection` handlers\n * that batch uncaught failures to the app's own `/api/errors` route, which\n * forwards them to Google Cloud Error Reporting — a processor already on the\n * list, alerting through the GCP stack that already pages (AGL-1502).\n *\n * Design constraints, in order:\n *\n * - **It must never become the outage.** Everything is wrapped; a failure to\n * report is silence, not a thrown error. Batches are capped per page so an\n * error thrown in a loop cannot DDoS our own API — after `maxPerPage`\n * events the beacon disarms for the rest of the pageview.\n * - **No PII.** URLs are scrubbed to origin + pathname (query strings and\n * fragments carry tokens and search terms), no user id, no cookies —\n * the payload is the error text and where in the CODE it happened.\n * Cross-origin scripts surface as the browser's opaque \"Script error.\"\n * with no stack; those are dropped since they cannot be acted on.\n * - **Dedupe.** One page throwing the same error on every frame reports it\n * once.\n *\n * Framework-free on purpose: the console mounts it from its root layout, the\n * tenant runtime from its own, and neither needs React here. Deliberately NO\n * 'use client' directive — inside this shared lib the directive forks the\n * module graph (AGL-52); every importer is already a client module.\n */\n\nimport { browserFamily, type BrowserFamily } from './browser-family'\nimport { isCrossPoolDesync } from './cross-pool-desync'\nimport { isForeignScriptUrl, stackFrameUrls } from './foreign-script'\nimport { isStaleBuildError, recoverStaleBuildRejection } from './stale-build-error'\n\nexport interface ErrorBeaconEvent {\n /**\n * Which handler caught it — 'error' | 'unhandledrejection' — or the\n * family it was labeled with: 'hydration', {@link AUTH_DESYNC_KIND},\n * {@link CHUNK_LOAD_KIND}, or a caller's own kind for a handled error.\n * Lands at `jsonPayload.kind`, where the alert policies filter on it.\n */\n kind: string\n /** Error message, clamped. */\n message: string\n /** Stack trace when the thrown value carried one, clamped. */\n stack?: string\n /** Script URL for stackless `window.onerror` events, scrubbed. */\n source?: string\n line?: number\n col?: number\n /** Page URL, scrubbed to origin + pathname. */\n url: string\n /**\n * On a `hydration` event from builds before AGL-3738 only: the page\n * translator whose rewrite was visible in the document when React gave up\n * — see {@link pageTranslationSignal}. Today's beacon drops a mismatch on a\n * translated page instead of sending it, so the field stays only for what\n * older tabs still report.\n */\n translated?: string\n /** On a `hydration` event only: `navigator.language`, clamped. */\n language?: string\n /**\n * On every event: the coarse browser family — one of seven, see\n * {@link browserFamily} (AGL-3732). Never the user agent, never a version.\n * Stamped by the queue, so a caller never sets it.\n */\n browser?: BrowserFamily\n}\n\nexport interface ErrorBeaconOptions {\n /** POST target; same-origin. Default `/api/errors`. */\n endpoint?: string\n /** 0..1 — fraction of pageviews that report at all. Default 1. */\n sampleRate?: number\n /** Max events reported per pageview before the beacon disarms. */\n maxPerPage?: number\n}\n\nconst MAX_MESSAGE = 1_024\nconst MAX_STACK = 8_192\nconst FLUSH_DELAY_MS = 2_000\n\n/** Origin + pathname only — query strings and fragments never leave. */\nfunction scrubUrl(raw: string | null | undefined): string {\n if (!raw) return ''\n try {\n const url = new URL(String(raw), window.location.href)\n return `${url.origin}${url.pathname}`\n } catch {\n return ''\n }\n}\n\nfunction clamp(value: unknown, max: number): string {\n return String(value ?? '').slice(0, max)\n}\n\n/**\n * Was this thrown by a script somebody ELSE evaluated into our page?\n *\n * Three tells, all read off the frames' positions and none off a function\n * name — a name would be a denylist needing a new entry per vendor.\n *\n * **Every frame is the DOCUMENT.** Measured 2026-09-02 (AGL-2523) on\n * aglyn.com/pricing, reported as an error of ours:\n *\n * sendDataToNative@https://aglyn.com/pricing:1:1325\n * sendPageHideMessage@https://aglyn.com/pricing:1:4139\n * @https://aglyn.com/pricing:1:6257\n *\n * `sendDataToNative` is the Meta in-app browser's native bridge, injected by\n * the Facebook/Instagram webview. In WebKit's format the code was evaluated\n * inline, so every frame is the document rather than a script we served.\n *\n * The document is every URL it has BEEN at, not only where it is now.\n * Measured 2026-10-31 on app.aglyn.com/signin, the same bridge:\n *\n * sendDataToNative@https://app.aglyn.com/:1:1325\n * sendPageHideMessage@https://app.aglyn.com/:1:4139\n * @https://app.aglyn.com/:1:6257\n *\n * The webview evaluated its script into the document at `/`, and the page\n * then moved to `/signin` on the client. A frame keeps the URL its script was\n * evaluated under; `location` does not. So the beacon passes both the URL the\n * document was served at ({@link documentLoadUrl}) and the one it is at now.\n * Any other page of ours is not this document, and a frame there keeps the\n * report.\n *\n * **Every frame is under a FOREIGN scheme.** Measured 2026-09-10 (AGL-2786) on\n * aglyn.com, the same bridge in the Android webview:\n *\n * at sendDataToNative (iabjs://navigation_performance_logger_android:1:10632)\n *\n * That webview names its scripts under its own `iabjs://` scheme, and\n * extensions do the same under theirs — see `FOREIGN_SCRIPT_SCHEMES`.\n *\n * **Every frame is a script with NO URL** (AGL-3423). Measured on the\n * sign-up page and on aglyn.com/solutions/agencies:\n *\n * at eval (<anonymous>)\n * at predicate (eval at evaluate (:234:30), <anonymous>:11:37)\n *\n * at <anonymous>:1:54\n * at <anonymous>:1:64\n *\n * An automation driver's `evaluate` and a snippet pasted into devtools. Every\n * script we serve has a URL — a chunk, a CDN asset, or the document for an\n * inline one — so a frame whose position is `<anonymous>:line:col`, or code\n * `eval`'d by such a frame, was not served by us. See\n * {@link anonymousScriptFrameCount} for exactly which frames count.\n *\n * ⚑ Deliberately `every`, and deliberately compared against the document\n * rather than against our asset path. A rule like \"no frame under\n * `/_next/static/`\" would delete EVERY error from a self-hosted deployment\n * that serves its assets from a CDN, because none of its frames would match.\n * Comparing to the document cannot fail that way: a CDN frame is not the\n * document either, so it keeps the report.\n *\n * A stack may mix the tells frame by frame. Nothing we ship can be fixed in\n * response to any of them, which is the same test the opaque `Script error.`\n * cut already applies.\n *\n * The cost is honest and small: a throw from one of our own inline\n * bootstrap scripts looks the same and is dropped with it. That trade buys a\n * rule that needs no maintenance as new webviews and extensions appear.\n */\nexport function isInjectedThirdPartyFrame(\n stack: string,\n documentUrls: string | readonly string[],\n): boolean {\n const urls = stackFrameUrls(stack)\n // No frames parsed is not evidence of anything — keep the report. A stack\n // with neither a URL nor an anonymous-script frame is exactly that: an\n // empty frame list must never read as \"every frame is injected\".\n if (!urls.length && !anonymousScriptFrameCount(stack)) return false\n // An empty URL is not a document. `scrubUrl` answers '' for a frame it\n // cannot parse, and that must not match a lookup that found nothing.\n const documentAt = (\n typeof documentUrls === 'string' ? [documentUrls] : documentUrls\n ).filter(Boolean)\n // Anonymous frames need no test of their own — they are injected by\n // definition — so `every` over the URLs is `every` over the whole stack.\n // One URL of ours, even as the origin of an `eval`, keeps the report.\n return urls.every(\n (url) => isForeignScriptUrl(url) || documentAt.includes(scrubUrl(url)),\n )\n}\n\n/**\n * The URL this document was served at, before any move on the client.\n *\n * The navigation timing entry keeps it: `history.pushState` changes\n * `location` and leaves the entry alone. Where an engine has no entry, the\n * page's URL now is the fallback, which is why the beacon reads this once,\n * at install: it is installed as its module loads, before the app's own\n * router has moved the page anywhere.\n */\nexport function documentLoadUrl(): string {\n try {\n const [entry] = performance.getEntriesByType('navigation')\n const served = scrubUrl(entry?.name)\n if (served) return served\n } catch {\n // An engine without navigation timing.\n }\n return scrubUrl(window.location.href)\n}\n\n/** A frame line, in V8's `at …` format or WebKit/Firefox's `fn@location`. */\nconst STACK_FRAME_LINE = /^\\s*at\\s|@/\n\n/**\n * A position in a script that has no URL.\n *\n * - `<anonymous>:line:col` — V8's name for such a script, both for a top-level\n * snippet and as the position of code run through `eval`/`new Function`.\n * - `eval at …` — V8's origin of `eval`'d code. When OUR script ran the eval\n * its URL is inside this origin, `stackFrameUrls` reads it, and the report\n * is kept; that is how the marketing plugin's `runJs` step stays reported.\n * - `debugger eval code:line:col` — Firefox's devtools console, in the\n * `fn@location` format WebKit also uses.\n *\n * ⚑ A BARE `(<anonymous>)` with no line and column is NOT one of these. It is\n * how V8 prints a builtin — `at Array.forEach (<anonymous>)`,\n * `at JSON.parse (<anonymous>)` — and a builtin is called by whoever called\n * it, including us.\n */\nconst ANONYMOUS_SCRIPT_POSITION =\n /<anonymous>:\\d+:\\d+|\\beval at\\s|\\bdebugger eval code:\\d+:\\d+/\n\n/** How many frames of this stack are in a script with no URL at all. */\nexport function anonymousScriptFrameCount(stack: string): number {\n let count = 0\n for (const line of stack.split('\\n')) {\n if (STACK_FRAME_LINE.test(line) && ANONYMOUS_SCRIPT_POSITION.test(line)) {\n count += 1\n }\n }\n return count\n}\n\n/**\n * Browser notices that are not failures, and that no fix of ours could act on.\n *\n * `ResizeObserver loop completed with undelivered notifications` (and its older\n * wording, `ResizeObserver loop limit exceeded`) is the browser saying it\n * deferred some resize callbacks to the next frame. Nothing threw: the event\n * carries no error object and no stack, and every observer is still\n * delivered. It arrived from the Besigner on 2026-09-26 and paged. Dropped, on\n * the browser's exact wording.\n */\nconst BENIGN_BROWSER_NOTICE =\n /^(?:Uncaught )?(?:Error: )?ResizeObserver loop (?:completed with undelivered notifications|limit exceeded)/\n\nexport function isBenignBrowserNotice(message: string): boolean {\n return BENIGN_BROWSER_NOTICE.test(message)\n}\n\n/**\n * Whether the document is a page a visitor navigated to over the web\n * (AGL-3759).\n *\n * Only `http:` and `https:` qualify. A document at `about:blank` or\n * `about:srcdoc` is a COPY of our page: a translator extension or a site that\n * frames our markup renders it into a fresh document with no URL of its own,\n * and our scripts run there too. Next.js's app router then throws\n * `Failed to construct 'URL': Invalid URL` resolving its canonical URL against\n * `window.location.href`, which no code of ours can prevent and no visitor on\n * the real page ever sees. `file:` (a saved page) and an extension's own\n * scheme are copies in the same sense.\n *\n * A missing or unreadable location is not a web document either: nothing\n * from it can be traced to a page we serve.\n */\nexport function isWebDocument(\n location: { protocol?: string } | null | undefined,\n): boolean {\n try {\n const protocol = location?.protocol\n return protocol === 'http:' || protocol === 'https:'\n } catch {\n return false\n }\n}\n\n/**\n * A rejection that says only \"this was cancelled\" (AGL-3734).\n *\n * `AbortError` is what a request rejects with when its `AbortSignal` fires —\n * a deadline we set, a component that unmounted, a search the author typed\n * past — and what the browser rejects every in-flight fetch with when the\n * document goes away under it. On 2026-10-10 one arrived from\n * `/edit-access`, the page a published site opens in a popup or a hidden\n * iframe and then CLOSES itself the moment it has its answer. The report had\n * no stack and no message past the name, so there was no call site to fix:\n * the page's own mint was already caught, and whatever else the console shell\n * had in flight was cut off by the site ending the page, which is the flow\n * working.\n *\n * Why the classifier rather than each call site: every request on every\n * console page can be the one in flight when a page is torn down, and the\n * abort is the intended outcome in every case. There is nothing a fix of ours\n * could change, and nothing in the report to locate it by.\n *\n * Narrow on purpose. Only `name === 'AbortError'`, and only for an UNHANDLED\n * REJECTION — not `TimeoutError`, which is `AbortSignal.timeout` saying a\n * deadline was MISSED (a real slowness), and not an uncaught `error` event or\n * a `reportHandledError` call, where somebody chose to report it.\n */\nexport function isAbortRejection(reason: unknown): boolean {\n try {\n return (\n typeof reason === 'object' &&\n reason !== null &&\n (reason as { name?: unknown }).name === 'AbortError'\n )\n } catch {\n // A getter that throws leaves the rejection reported, never dropped.\n return false\n }\n}\n\n/**\n * `kind` for Firebase's `auth/tenant-id-mismatch` — a sibling tab signed in to\n * another account pool (AGL-3280). The console recovers the tab by reloading\n * it once it is hidden and deliberately leaves the rejection unhandled so it\n * is still seen; this label is what lets it be seen by RATE instead of paging\n * on each of the several rejections one storage event raises.\n */\nexport const AUTH_DESYNC_KIND = 'auth-desync'\n\n/**\n * `kind` for a chunk the document names and the origin no longer serves\n * (AGL-3279). Every boundary reloads once for it; what still arrives is the\n * failure the reload did not cure. One of those is a visitor on a bad\n * connection; a burst of them is a broken deploy, which only a rate can tell.\n */\nexport const CHUNK_LOAD_KIND = 'chunk-load'\n\n/**\n * `kind` for reCAPTCHA's own `reCAPTCHA Timeout` rejection (AGL-4068).\n *\n * App Check's reCAPTCHA provider loads Google's script, and that script\n * rejects a promise of its own when its iframe does not answer in time: a\n * tab throttled in the background, a slow or blocked `gstatic.com`. No call\n * site of ours awaits it, so it lands as an unhandled rejection whose whole\n * stack is Google's script. App Check retries with backoff on the next token\n * request, so the visitor's page keeps working. One of these is a slow\n * network; a burst is App Check failing for everyone, which only a rate can\n * tell. Two arrived on 2026-10-25 and each paged.\n */\nexport const RECAPTCHA_TIMEOUT_KIND = 'recaptcha-timeout'\n\nconst RECAPTCHA_TIMEOUT_MESSAGE = /^(?:Error: )?reCAPTCHA Timeout\\b/\n\n/** Google's reCAPTCHA scripts, wherever the provider loads them from. */\nconst RECAPTCHA_SCRIPT_URL =\n /^https:\\/\\/(?:www\\.)?(?:gstatic\\.com|google\\.com|recaptcha\\.net)\\/recaptcha\\//\n\n/**\n * reCAPTCHA's timeout, by its wording AND by a stack that is only Google's\n * script. A message alone is not enough: one of our frames in the stack means\n * our code chose to throw that text, and that stays reported as itself.\n */\nexport function isRecaptchaTimeout(error: unknown): boolean {\n const message = (error as { message?: unknown } | null)?.message\n if (typeof message !== 'string' || !RECAPTCHA_TIMEOUT_MESSAGE.test(message)) {\n return false\n }\n const stack = (error as { stack?: unknown }).stack\n if (typeof stack !== 'string') return true\n return stackFrameUrls(stack).every((url) => RECAPTCHA_SCRIPT_URL.test(url))\n}\n\n/**\n * `kind` for the Firestore SDK's failed write queue: its IndexedDB transaction\n * died, and the first b815 moves the tab onto the memory cache and reloads it\n * (`watchFirestoreQueueFailure`, AGL-4156).\n */\nexport const FIRESTORE_QUEUE_KIND = 'firestore-queue'\n\nconst FIRESTORE_QUEUE_MESSAGE =\n /INTERNAL ASSERTION FAILED: Unexpected state \\(ID: b815\\)|Attempt to get a record from database without an in-progress transaction/\n\n/** The assertion, or the IndexedDB rejection that arrives beside it. */\nexport function isFirestoreQueueFailureReport(error: unknown): boolean {\n const message = (error as { message?: unknown } | null)?.message\n return typeof message === 'string' && FIRESTORE_QUEUE_MESSAGE.test(message)\n}\n\n/**\n * The label for a fault we RECOVER from and still want to see, or undefined.\n *\n * These could be ours, so unlike an injected stack they are never dropped:\n * they are written at full severity under their own `kind`, the per-entry\n * policy excludes that kind, and a rate policy watches it — the same split\n * `hydration` already has.\n */\nexport function recoveredErrorKind(error: unknown): string | undefined {\n try {\n if (isCrossPoolDesync(error)) return AUTH_DESYNC_KIND\n if (isStaleBuildError(error)) return CHUNK_LOAD_KIND\n if (isRecaptchaTimeout(error)) return RECAPTCHA_TIMEOUT_KIND\n if (isFirestoreQueueFailureReport(error)) return FIRESTORE_QUEUE_KIND\n } catch {\n // A getter that throws leaves the event unlabeled, never unreported.\n }\n return undefined\n}\n\n/**\n * React's hydration-mismatch family, which a page TRANSLATOR causes and a\n * real render divergence also causes.\n *\n * These are `onRecoverableError` reports, not crashes: React has already\n * re-rendered on the client and the visitor has a working page. They arrive\n * here as uncaught errors only because React re-throws them to `reportError`.\n *\n * They are marked rather than dropped, and the distinction is the whole\n * design. Dropping would hide a real hydration regression, which is a genuine\n * and expensive bug; the entries stay in `client-errors` at full severity and\n * still group in Error Reporting. What the mark buys is that the log-match\n * policy can stop paging on a single report, while a rate-based policy on the\n * same mark still catches a systemic one.\n *\n * ⚠️ THE MARK IS NOT A VERDICT, and the one cluster this repo has measured is\n * why. Eight #418 reports arrived inside a nine-minute window on 2026-09-01,\n * on one build, and the three pages they came from were exactly the three\n * carrying a form — `/`, `/pricing` and the solutions pages reported nothing\n * in the same window, which no browser-side rewrite would respect. A placed\n * form was expanding inside its own grafted subtree, so every page carrying\n * one shipped six nested `<form>` elements; nested forms are invalid HTML, the\n * parser dropped the inner ones, and the client tree disagreed with the server\n * tree. The visible cost was a submission the route never received, because\n * the native submit came from an unhandled ancestor and the browser fell back\n * to a GET with the visitor's name, email and message in the address bar. The\n * reports stopped because the nesting was fixed, roughly a quarter of an hour\n * after the last one.\n *\n * So a rate low enough not to page is a reason to READ the entry — the page\n * it names, and whether the set of pages has a shape — never a reason to\n * assume somebody's extension.\n */\nconst HYDRATION_MINIFIED = /Minified React error #(?:418|423|425)\\b/\nconst HYDRATION_TEXT =\n /Hydration failed because|Text content does not match server-rendered HTML|There was an error while hydrating/\n\nexport function isHydrationMismatch(message: string): boolean {\n return HYDRATION_MINIFIED.test(message) || HYDRATION_TEXT.test(message)\n}\n\n/**\n * WHICH TRANSLATOR rewrote this page's text, read off the document, or\n * undefined when none visibly did.\n *\n * A hydration report on its own cannot say whether React disagreed with our\n * server render or with a translator that rewrote the server's text before\n * React reached it, and the two look identical in `client-errors`: the\n * minified #418, a stack inside the react-dom chunk, the page URL, nothing\n * else. aglyn.com/ carried eight of them between 2026-09-22 and 2026-10-10.\n * The visitor at 2026-10-09 22:28Z went on to sign up two minutes later with\n * Chrome Translate rewriting the console (the `<font>` crash #1342 fixed); the\n * two on 2026-09-22/23 were desktop Chrome OS in Hyderabad, while every other\n * Indian, Pakistani and Turkish home-page visit in GA that fortnight hydrated\n * without a report — so neither the build nor the time zone was the variable,\n * and the beacon had nothing to say which visitor it was.\n *\n * The signatures are the ones each translator leaves on the DOM it rewrote:\n *\n * - Chrome (and every Chromium that ships Google Translate) sets\n * `translated-ltr` / `translated-rtl` on `<html>` and wraps each rewritten\n * run in `<font style=\"vertical-align: inherit;\">`.\n * - Microsoft Translator (Edge) stamps `_msttexthash` / `_msthash` on every\n * element whose text it replaced.\n * - Any translator that does the job properly rewrites `<html lang>`, which is\n * compared against the `servedLang` the beacon read at install, before\n * hydration began.\n *\n * Never throws: it runs inside the error handler.\n */\nexport function pageTranslationSignal(\n doc: Document,\n servedLang: string | null | undefined,\n): string | undefined {\n try {\n const root = doc.documentElement\n if (!root) return undefined\n if (\n root.classList.contains('translated-ltr') ||\n root.classList.contains('translated-rtl') ||\n doc.querySelector('font[style*=\"vertical-align: inherit\"]')\n ) {\n return 'chrome'\n }\n if (doc.querySelector('[_msttexthash], [_msthash]')) return 'microsoft'\n const lang = root.getAttribute('lang')\n if (servedLang && lang && lang.toLowerCase() !== servedLang.toLowerCase()) {\n return `lang:${clamp(lang, 16)}`\n }\n } catch {\n // An unreadable document leaves the event unlabeled, never unreported.\n }\n return undefined\n}\n\n/**\n * A TRANSLATOR'S MARK, REMEMBERED FROM THE MOMENT IT APPEARS (AGL-3738).\n *\n * {@link pageTranslationSignal} read at the moment React reports a mismatch\n * is reading a document the translator no longer owns. React reports a\n * hydration mismatch only after it has client-rendered the root to recover,\n * and that render resets `<html>`'s attributes to the ones it rendered —\n * Chrome's `translated-ltr` class goes, `lang` returns to the served value —\n * and replaces every `<font>` wrapper and hash-stamped element with fresh\n * nodes. Measured 2026-10-12 by hydrating aglyn.com/ with a Chrome-style\n * rewrite of one heading: the report fired with `<html lang=\"en\">`, no class\n * and no `<font>` left anywhere. Six es-US #418s arrived that day on\n * aglyn.com/ and orbita-digital.aglyn.app/ (a Spanish site served as `en`);\n * one carried `lang:en` — the beacon had been installed after the translator\n * set `lang=\"es\"`, so React's reset was the only rewrite left to see, and the\n * same simulation reproduces exactly that label — and the other five carried\n * nothing. The same two pages hydrated cleanly under es-US, en-GB and ru\n * locales and time zones: nothing on them formats by the visitor's locale.\n *\n * So the mark is read when the translator LEAVES it: once at install, for a\n * translator that ran first, and then from a `MutationObserver` until one is\n * seen. A translator rewrites the page before React reaches it — that is what\n * makes it a mismatch — so its mutations are delivered before the report.\n *\n * Cheap on purpose: one observer on `<html>`'s own `class`/`lang`, and one on\n * the tree that looks only at added `<font>` elements and Microsoft's hash\n * attributes, both disconnected as soon as a mark is found. Never throws, and\n * a browser without `MutationObserver` gets the read-at-report behavior.\n */\nexport function watchPageTranslation(\n doc: Document,\n servedLang: string | null | undefined,\n): () => string | undefined {\n let seen = pageTranslationSignal(doc, servedLang)\n const observers: MutationObserver[] = []\n\n const stop = () => {\n for (const observer of observers.splice(0)) observer.disconnect()\n }\n\n const inspect = (records: MutationRecord[]) => {\n if (seen) return\n let relevant = false\n for (const record of records) {\n if (record.type === 'attributes') {\n relevant = true\n break\n }\n for (const node of Array.from(record.addedNodes)) {\n if (node.nodeName === 'FONT') {\n relevant = true\n break\n }\n }\n if (relevant) break\n }\n if (!relevant) return\n seen = pageTranslationSignal(doc, servedLang)\n if (seen) stop()\n }\n\n try {\n const root = doc.documentElement\n if (!seen && root && typeof MutationObserver === 'function') {\n const onRoot = new MutationObserver(inspect)\n onRoot.observe(root, { attributes: true, attributeFilter: ['class', 'lang'] })\n const onTree = new MutationObserver(inspect)\n onTree.observe(root, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: ['_msttexthash', '_msthash'],\n })\n observers.push(onRoot, onTree)\n }\n } catch {\n // No observer: the report falls back to reading the document as it is.\n }\n\n return () => {\n try {\n // A rewrite in the same task as the report has not been delivered yet.\n for (const observer of observers) inspect(observer.takeRecords())\n return seen ?? pageTranslationSignal(doc, servedLang)\n } catch {\n return undefined\n }\n }\n}\n\n/**\n * WHAT A REJECTED PROMISE ACTUALLY CARRIED (AGL-3279).\n *\n * `unhandledrejection` hands over whatever was passed to `reject`, and only\n * an `Error` brings a message and a stack. A rejection with anything else —\n * an API's `{ code, message }` object, a `DOMException` from an aborted\n * fetch, a bare string, a `Response` — used to be reported as the literal\n * words \"Unhandled promise rejection\" with no stack and no other field,\n * which names the handler rather than the failure. One such report arrived\n * on 2026-09-21 from the Besigner editor and there is nothing in it to act\n * on: no message, no stack, no code, nothing but the page.\n *\n * So the value is DESCRIBED rather than defaulted. In order of how much a\n * reader can do with it: the error's own message; a string as itself; a\n * `name`/`code`/`message` shape assembled from whatever of those it has —\n * the shape every Firebase, DOM and fetch rejection takes; the value's own\n * `toString` when it says more than `[object Object]`; and last its own\n * keys, which at least name what kind of thing rejected.\n *\n * Nothing here may throw: a getter on the reason can, `toString` can, and\n * a describer that throws inside the rejection handler loses the report it\n * was called to improve.\n */\nexport function describeRejectionReason(reason: unknown): string {\n try {\n if (reason instanceof Error && reason.message) return reason.message\n if (typeof reason === 'string') return reason\n if (reason === null || reason === undefined) {\n return `Unhandled promise rejection (${String(reason)})`\n }\n if (typeof reason !== 'object') {\n return `Unhandled promise rejection (${typeof reason}: ${String(reason)})`\n }\n const shape = reason as Record<string, unknown>\n const named = [\n shape['name'] ?? shape['code'] ?? '',\n shape['message'] ?? shape['statusText'] ?? '',\n ]\n .map((part) => String(part ?? '').trim())\n .filter(Boolean)\n if (named.length) return named.join(': ')\n const printed = String(reason)\n if (printed && printed !== '[object Object]') return printed\n const keys = Object.keys(shape).slice(0, 12).join(', ')\n return keys\n ? `Unhandled promise rejection (object with ${keys})`\n : 'Unhandled promise rejection (empty object)'\n } catch {\n return 'Unhandled promise rejection (undescribable)'\n }\n}\n\n/**\n * How many frames a thrown error keeps, on a pageview that reports (AGL-3423).\n *\n * V8 keeps ten by default, and ten is not enough to find where a render loop\n * STARTED. The Besigner's one React #185 report (2026-09-24) was a\n * react-final-form field's `setState` inside final-form's `notify` loop, and\n * every one of its ten frames was inside those two libraries: the component\n * whose update fed the loop was cut off below them. Fifty reaches past a\n * form library's own frames to ours, and still fits the {@link MAX_STACK}\n * clamp at the length a minified frame line has.\n */\nexport const BEACON_STACK_TRACE_LIMIT = 50\n\n/**\n * Raises the engine's frame limit to `limit`, never lowers it. V8 and\n * JavaScriptCore read `Error.stackTraceLimit`; an engine that does not has no\n * such number, and is left without one rather than handed a property it\n * ignores. It applies to errors created after the call, which is why the\n * beacon sets it at install, at module scope of the app's first client chunk.\n */\nexport function raiseStackTraceLimit(limit: number): void {\n try {\n const engine = Error as ErrorConstructor & { stackTraceLimit?: number }\n const current = engine.stackTraceLimit\n if (typeof current !== 'number' || current >= limit) return\n engine.stackTraceLimit = limit\n } catch {\n // A frozen or exotic `Error` keeps its own limit.\n }\n}\n\nlet installed = false\n\n/**\n * The live beacon's `enqueue`, published for {@link reportHandledError}.\n *\n * Null until `installErrorBeacon` runs, and null forever on a surface that\n * never installs one — so a caught error reported from a page with no beacon\n * is silently dropped rather than throwing inside somebody's error handler.\n */\nlet publishEvent: ((event: ErrorBeaconEvent) => void) | null = null\n\n/**\n * Re-export so `error-beacon` stays the one name a caller has to know for\n * browser error reporting. The definition lives in its own module because a\n * boundary that imports it must not pull the installer below into a chunk\n * every visitor downloads.\n */\nexport { redispatchCaughtError } from './redispatch-caught-error'\n\n/**\n * Report an error the code ALREADY CAUGHT.\n *\n * The two window handlers below see only what nothing caught. A `catch` that\n * swallows its error is invisible to them by construction, which is the whole\n * failure mode this exists for: a background write that can only fail\n * silently is one that stays broken for as long as nobody thinks to look.\n *\n * It rides the same queue as an uncaught error, which is the point — the\n * dedupe collapses a failure that repeats on every edit into one report, and\n * `maxPerPage` bounds it, so a call site in a loop cannot turn a broken\n * feature into a flood. Reporting is never worth an exception of its own, so\n * every path here returns rather than throws.\n */\nexport function reportHandledError(\n error: unknown,\n options?: { kind?: string },\n): void {\n try {\n if (!publishEvent) return\n const thrown = error as Error | undefined\n const message = clamp(\n thrown?.message ?? (typeof error === 'string' ? error : ''),\n MAX_MESSAGE,\n )\n if (!message) return\n publishEvent({\n kind: clamp(options?.kind ?? 'handled', 32),\n message,\n stack: thrown?.stack ? clamp(thrown.stack, MAX_STACK) : undefined,\n url: scrubUrl(window.location.href),\n })\n } catch {\n // An observer that throws is worse than one that misses an event.\n }\n}\n\n/**\n * Installs the handlers once per page. Safe to call from module scope of a\n * client bundle: it no-ops during SSR and on repeat calls.\n */\nexport function installErrorBeacon(options?: ErrorBeaconOptions): void {\n if (typeof window === 'undefined' || installed) return\n installed = true\n\n const endpoint = options?.endpoint ?? '/api/errors'\n const sampleRate = options?.sampleRate ?? 1\n const maxPerPage = options?.maxPerPage ?? 10\n // Only a sampled pageview REPORTS. Every pageview recovers a stale build\n // (the rejection handler below), because a tab left on a dead deploy is a\n // visitor's problem whether or not its errors are counted.\n const sampled = Math.random() < sampleRate\n // A copy of the page in a document that is not on the web reports nothing\n // by either door, whatever it throws: see `isWebDocument`.\n const reporting = sampled && isWebDocument(window.location)\n // The document's language as SERVED, read before hydration and before any\n // translator has had a chance to rewrite it (`pageTranslationSignal`).\n const servedLang = document.documentElement?.getAttribute('lang') ?? null\n // Watched from now, because React's recovery erases the translator's marks\n // before a mismatch is reported (`watchPageTranslation`, AGL-3738).\n const translation = watchPageTranslation(document, servedLang)\n // Where the document was served, read now for the same reason: a script a\n // webview evaluated at load keeps this URL after the page moves on\n // (`isInjectedThirdPartyFrame`).\n const servedUrl = documentLoadUrl()\n if (reporting) raiseStackTraceLimit(BEACON_STACK_TRACE_LIMIT)\n // Classified once, here, and only the family is kept: the user-agent\n // string itself never reaches the queue (AGL-3732).\n let browser: BrowserFamily = 'other'\n try {\n browser = browserFamily(navigator.userAgent)\n } catch {\n // An unreadable navigator is just `other`.\n }\n\n const seen = new Set<string>()\n let queued: ErrorBeaconEvent[] = []\n let sent = 0\n let timer: ReturnType<typeof setTimeout> | null = null\n\n const flush = () => {\n timer = null\n if (!queued.length) return\n const batch = queued\n queued = []\n try {\n const body = JSON.stringify({ events: batch })\n // sendBeacon survives unloads and never blocks; keepalive fetch is the\n // fallback for browsers that refuse the payload.\n if (!navigator.sendBeacon?.(endpoint, body)) {\n void fetch(endpoint, {\n method: 'POST',\n body,\n keepalive: true,\n headers: { 'Content-Type': 'application/json' },\n }).catch((): undefined => undefined)\n }\n } catch {\n // Reporting never breaks the page.\n }\n }\n\n const enqueue = (event: ErrorBeaconEvent) => {\n if (!reporting || sent >= maxPerPage) return\n // Message + first stack line: enough identity to collapse a render loop\n // without collapsing distinct errors that share a message.\n const key = `${event.message}\\x00${(event.stack ?? '').split('\\n', 2).join('\\n')}`\n if (seen.has(key)) return\n seen.add(key)\n sent += 1\n queued.push({ ...event, browser })\n if (!timer) timer = setTimeout(flush, FLUSH_DELAY_MS)\n }\n // Null on a pageview that does not report, so it reports nothing by either\n // door rather than one by one and none by the other.\n publishEvent = reporting ? enqueue : null\n\n window.addEventListener('error', (event) => {\n try {\n const error = event.error as Error | undefined\n const message = clamp(error?.message ?? event.message, MAX_MESSAGE)\n // Cross-origin scripts yield an opaque \"Script error.\" with nothing\n // actionable attached; reporting it would only create a noisy group.\n if (!message || message === 'Script error.') return\n if (isBenignBrowserNotice(message)) return\n const pageUrl = scrubUrl(window.location.href)\n const fullStack = error?.stack ? String(error.stack) : undefined\n // A webview or extension that evaluated its own code into our page —\n // see `isInjectedThirdPartyFrame`. Nothing we ship can be changed in\n // response, so it is dropped on the same test as `Script error.`.\n // Judged on the WHOLE stack, before the clamp: a frame of ours past the\n // clamp still makes the error ours.\n if (fullStack && isInjectedThirdPartyFrame(fullStack, [pageUrl, servedUrl])) {\n return\n }\n const stack = fullStack ? clamp(fullStack, MAX_STACK) : undefined\n // MARKED, not dropped: a translator causes a hydration mismatch and so\n // does a real render divergence, and a recovered fault is still a\n // fault. Only a rate tells either apart from noise — and the\n // translator's own mark on the DOM, when it left one.\n const kind =\n recoveredErrorKind(error ?? { message }) ??\n (isHydrationMismatch(message) ? 'hydration' : 'error')\n const translated = kind === 'hydration' ? translation() : undefined\n // A mismatch on a page a translator rewrote is the translator's, not\n // ours (AGL-3738): React compared our render with text we did not\n // write, recovered, and the visitor has a working page. Nothing we ship\n // can change in response, so it goes the way of an injected stack. The\n // mark is evidence on the document, not a guess about the visitor — an\n // unmarked mismatch is still reported, and still the one to read.\n if (translated) return\n enqueue({\n kind,\n message,\n stack,\n source: scrubUrl(event.filename) || undefined,\n line: typeof event.lineno === 'number' ? event.lineno : undefined,\n col: typeof event.colno === 'number' ? event.colno : undefined,\n url: pageUrl,\n ...(kind === 'hydration' && navigator.language\n ? { language: clamp(navigator.language, 16) }\n : {}),\n })\n } catch {\n // Never rethrow from an error handler.\n }\n })\n\n window.addEventListener('unhandledrejection', (event) => {\n try {\n // An `import()` of a chunk this document names and the origin dropped,\n // which no boundary saw. Recovered by a reload once the tab is hidden,\n // and, like a boundary's reload, not reported: see\n // `recoverStaleBuildRejection`. A tab whose recovery is spent still\n // reports it, as `chunk-load`.\n if (recoverStaleBuildRejection(event.reason)) return\n // A cancelled request, ours or the browser's on teardown: see\n // `isAbortRejection` for why this is dropped and how narrowly.\n if (isAbortRejection(event.reason)) return\n const reason = event.reason as Error | undefined\n const message = clamp(describeRejectionReason(event.reason), MAX_MESSAGE)\n if (!message) return\n const pageUrl = scrubUrl(window.location.href)\n const fullStack = reason?.stack ? String(reason.stack) : undefined\n // The same injected-code drop as an uncaught error: a rejection raised\n // by a devtools snippet or an automation driver's `evaluate` is no more\n // ours for having been a promise.\n if (fullStack && isInjectedThirdPartyFrame(fullStack, [pageUrl, servedUrl])) {\n return\n }\n enqueue({\n kind: recoveredErrorKind(event.reason) ?? 'unhandledrejection',\n message,\n stack: fullStack ? clamp(fullStack, MAX_STACK) : undefined,\n url: pageUrl,\n })\n } catch {\n // Never rethrow from an error handler.\n }\n })\n\n // A batch waiting out its debounce when the page hides would be lost;\n // `pagehide`/`visibilitychange` are the last reliable moments to send.\n window.addEventListener('pagehide', flush)\n document.addEventListener('visibilitychange', () => {\n if (document.visibilityState === 'hidden') flush()\n })\n}\n"],"names":["browserFamily","isCrossPoolDesync","isForeignScriptUrl","stackFrameUrls","isStaleBuildError","recoverStaleBuildRejection","MAX_MESSAGE","MAX_STACK","FLUSH_DELAY_MS","scrubUrl","raw","url","URL","String","window","location","href","origin","pathname","clamp","value","max","slice","isInjectedThirdPartyFrame","stack","documentUrls","urls","length","anonymousScriptFrameCount","documentAt","filter","Boolean","every","includes","documentLoadUrl","entry","performance","getEntriesByType","served","name","STACK_FRAME_LINE","ANONYMOUS_SCRIPT_POSITION","count","line","split","test","BENIGN_BROWSER_NOTICE","isBenignBrowserNotice","message","isWebDocument","protocol","isAbortRejection","reason","AUTH_DESYNC_KIND","CHUNK_LOAD_KIND","RECAPTCHA_TIMEOUT_KIND","RECAPTCHA_TIMEOUT_MESSAGE","RECAPTCHA_SCRIPT_URL","isRecaptchaTimeout","error","FIRESTORE_QUEUE_KIND","FIRESTORE_QUEUE_MESSAGE","isFirestoreQueueFailureReport","recoveredErrorKind","undefined","HYDRATION_MINIFIED","HYDRATION_TEXT","isHydrationMismatch","pageTranslationSignal","doc","servedLang","root","documentElement","classList","contains","querySelector","lang","getAttribute","toLowerCase","watchPageTranslation","seen","observers","stop","observer","splice","disconnect","inspect","records","relevant","record","type","node","Array","from","addedNodes","nodeName","MutationObserver","onRoot","observe","attributes","attributeFilter","onTree","childList","subtree","push","takeRecords","describeRejectionReason","shape","Error","named","map","part","trim","join","printed","keys","Object","BEACON_STACK_TRACE_LIMIT","raiseStackTraceLimit","limit","engine","current","stackTraceLimit","installed","publishEvent","redispatchCaughtError","reportHandledError","options","thrown","kind","installErrorBeacon","document","endpoint","sampleRate","maxPerPage","sampled","Math","random","reporting","translation","servedUrl","browser","navigator","userAgent","Set","queued","sent","timer","flush","batch","body","JSON","stringify","events","sendBeacon","fetch","method","keepalive","headers","catch","enqueue","event","key","has","add","setTimeout","addEventListener","pageUrl","fullStack","translated","source","filename","lineno","col","colno","language","visibilityState"],"mappings":";AAAA;;;;;;;;;;;;;;;CAeC,GAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BC,GAED,SAASA,aAAa,QAA4B,sBAAkB;AACpE,SAASC,iBAAiB,QAAQ,yBAAqB;AACvD,SAASC,kBAAkB,EAAEC,cAAc,QAAQ,sBAAkB;AACrE,SAASC,iBAAiB,EAAEC,0BAA0B,QAAQ,yBAAqB;AA+CnF,MAAMC,cAAc;AACpB,MAAMC,YAAY;AAClB,MAAMC,iBAAiB;A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kCAAkC;YAClC,IAAIwG,aAAajJ,0BAA0BiJ,WAAW;gBAACD;gBAAS3B;aAAU,GAAG;gBAC3E;YACF;YACAoB,QAAQ;gBACN/B,IAAI,GAAElE,sBAAAA,mBAAmBkG,MAAM7G,MAAM,aAA/BW,sBAAoC;gBAC1Cf;gBACAxB,OAAOgJ,YAAYrJ,MAAMqJ,WAAWjK,aAAayD;gBACjDrD,KAAK4J;YACP;QACF,EAAE,eAAM;QACN,uCAAuC;QACzC;IACF;IAEA,sEAAsE;IACtE,uEAAuE;IACvEzJ,OAAOwJ,gBAAgB,CAAC,YAAYlB;IACpCjB,SAASmC,gBAAgB,CAAC,oBAAoB;QAC5C,IAAInC,SAAS6C,eAAe,KAAK,UAAU5B;IAC7C;AACF"}
1
+ {"version":3,"sources":["../../../../../../libs/aglyn/src/lib/app-utils/error-beacon.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2026 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * First-party browser error beacon (AGL-1538).\n *\n * Crashlytics does not exist for web, and adding a third-party error vendor\n * is a subprocessor-list decision that was explicitly deferred. This is the\n * first-party alternative: `window.onerror` / `unhandledrejection` handlers\n * that batch uncaught failures to the app's own `/api/errors` route, which\n * forwards them to Google Cloud Error Reporting — a processor already on the\n * list, alerting through the GCP stack that already pages (AGL-1502).\n *\n * Design constraints, in order:\n *\n * - **It must never become the outage.** Everything is wrapped; a failure to\n * report is silence, not a thrown error. Batches are capped per page so an\n * error thrown in a loop cannot DDoS our own API — after `maxPerPage`\n * events the beacon disarms for the rest of the pageview.\n * - **No PII.** URLs are scrubbed to origin + pathname (query strings and\n * fragments carry tokens and search terms), no user id, no cookies —\n * the payload is the error text and where in the CODE it happened.\n * Cross-origin scripts surface as the browser's opaque \"Script error.\"\n * with no stack; those are dropped since they cannot be acted on.\n * - **Dedupe.** One page throwing the same error on every frame reports it\n * once.\n *\n * Framework-free on purpose: the console mounts it from its root layout, the\n * tenant runtime from its own, and neither needs React here. Deliberately NO\n * 'use client' directive — inside this shared lib the directive forks the\n * module graph (AGL-52); every importer is already a client module.\n */\n\nimport { browserFamily, type BrowserFamily } from './browser-family'\nimport { isCrossPoolDesync } from './cross-pool-desync'\nimport { isForeignScriptUrl, stackFrameUrls } from './foreign-script'\nimport { isStaleBuildError, recoverStaleBuildRejection } from './stale-build-error'\n\nexport interface ErrorBeaconEvent {\n /**\n * Which handler caught it — 'error' | 'unhandledrejection' — or the\n * family it was labeled with: 'hydration', {@link AUTH_DESYNC_KIND},\n * {@link CHUNK_LOAD_KIND}, or a caller's own kind for a handled error.\n * Lands at `jsonPayload.kind`, where the alert policies filter on it.\n */\n kind: string\n /** Error message, clamped. */\n message: string\n /** Stack trace when the thrown value carried one, clamped. */\n stack?: string\n /** Script URL for stackless `window.onerror` events, scrubbed. */\n source?: string\n line?: number\n col?: number\n /** Page URL, scrubbed to origin + pathname. */\n url: string\n /**\n * On a `hydration` event from builds before AGL-3738 only: the page\n * translator whose rewrite was visible in the document when React gave up\n * — see {@link pageTranslationSignal}. Today's beacon drops a mismatch on a\n * translated page instead of sending it, so the field stays only for what\n * older tabs still report.\n */\n translated?: string\n /** On a `hydration` event only: `navigator.language`, clamped. */\n language?: string\n /**\n * On every event: the coarse browser family — one of seven, see\n * {@link browserFamily} (AGL-3732). Never the user agent, never a version.\n * Stamped by the queue, so a caller never sets it.\n */\n browser?: BrowserFamily\n}\n\nexport interface ErrorBeaconOptions {\n /** POST target; same-origin. Default `/api/errors`. */\n endpoint?: string\n /** 0..1 — fraction of pageviews that report at all. Default 1. */\n sampleRate?: number\n /** Max events reported per pageview before the beacon disarms. */\n maxPerPage?: number\n}\n\nconst MAX_MESSAGE = 1_024\nconst MAX_STACK = 8_192\nconst FLUSH_DELAY_MS = 2_000\n\n/** Origin + pathname only — query strings and fragments never leave. */\nfunction scrubUrl(raw: string | null | undefined): string {\n if (!raw) return ''\n try {\n const url = new URL(String(raw), window.location.href)\n return `${url.origin}${url.pathname}`\n } catch {\n return ''\n }\n}\n\nfunction clamp(value: unknown, max: number): string {\n return String(value ?? '').slice(0, max)\n}\n\n/**\n * Was this thrown by a script somebody ELSE evaluated into our page?\n *\n * Three tells, all read off the frames' positions and none off a function\n * name — a name would be a denylist needing a new entry per vendor.\n *\n * **Every frame is the DOCUMENT.** Measured 2026-09-02 (AGL-2523) on\n * aglyn.com/pricing, reported as an error of ours:\n *\n * sendDataToNative@https://aglyn.com/pricing:1:1325\n * sendPageHideMessage@https://aglyn.com/pricing:1:4139\n * @https://aglyn.com/pricing:1:6257\n *\n * `sendDataToNative` is the Meta in-app browser's native bridge, injected by\n * the Facebook/Instagram webview. In WebKit's format the code was evaluated\n * inline, so every frame is the document rather than a script we served.\n *\n * The document is every URL it has BEEN at, not only where it is now.\n * Measured 2026-10-31 on app.aglyn.com/signin, the same bridge:\n *\n * sendDataToNative@https://app.aglyn.com/:1:1325\n * sendPageHideMessage@https://app.aglyn.com/:1:4139\n * @https://app.aglyn.com/:1:6257\n *\n * The webview evaluated its script into the document at `/`, and the page\n * then moved to `/signin` on the client. A frame keeps the URL its script was\n * evaluated under; `location` does not. So the beacon passes both the URL the\n * document was served at ({@link documentLoadUrl}) and the one it is at now.\n * Any other page of ours is not this document, and a frame there keeps the\n * report.\n *\n * **Every frame is under a FOREIGN scheme.** Measured 2026-09-10 (AGL-2786) on\n * aglyn.com, the same bridge in the Android webview:\n *\n * at sendDataToNative (iabjs://navigation_performance_logger_android:1:10632)\n *\n * That webview names its scripts under its own `iabjs://` scheme, and\n * extensions do the same under theirs — see `FOREIGN_SCRIPT_SCHEMES`.\n *\n * **Every frame is a script with NO URL** (AGL-3423). Measured on the\n * sign-up page and on aglyn.com/solutions/agencies:\n *\n * at eval (<anonymous>)\n * at predicate (eval at evaluate (:234:30), <anonymous>:11:37)\n *\n * at <anonymous>:1:54\n * at <anonymous>:1:64\n *\n * An automation driver's `evaluate` and a snippet pasted into devtools. Every\n * script we serve has a URL — a chunk, a CDN asset, or the document for an\n * inline one — so a frame whose position is `<anonymous>:line:col`, or code\n * `eval`'d by such a frame, was not served by us. See\n * {@link anonymousScriptFrameCount} for exactly which frames count.\n *\n * ⚑ Deliberately `every`, and deliberately compared against the document\n * rather than against our asset path. A rule like \"no frame under\n * `/_next/static/`\" would delete EVERY error from a self-hosted deployment\n * that serves its assets from a CDN, because none of its frames would match.\n * Comparing to the document cannot fail that way: a CDN frame is not the\n * document either, so it keeps the report.\n *\n * A stack may mix the tells frame by frame. Nothing we ship can be fixed in\n * response to any of them, which is the same test the opaque `Script error.`\n * cut already applies.\n *\n * The cost is honest and small: a throw from one of our own inline\n * bootstrap scripts looks the same and is dropped with it. That trade buys a\n * rule that needs no maintenance as new webviews and extensions appear.\n */\nexport function isInjectedThirdPartyFrame(\n stack: string,\n documentUrls: string | readonly string[],\n): boolean {\n const urls = stackFrameUrls(stack)\n // No frames parsed is not evidence of anything — keep the report. A stack\n // with neither a URL nor an anonymous-script frame is exactly that: an\n // empty frame list must never read as \"every frame is injected\".\n if (!urls.length && !anonymousScriptFrameCount(stack)) return false\n // An empty URL is not a document. `scrubUrl` answers '' for a frame it\n // cannot parse, and that must not match a lookup that found nothing.\n const documentAt = (\n typeof documentUrls === 'string' ? [documentUrls] : documentUrls\n ).filter(Boolean)\n // Anonymous frames need no test of their own — they are injected by\n // definition — so `every` over the URLs is `every` over the whole stack.\n // One URL of ours, even as the origin of an `eval`, keeps the report.\n return urls.every(\n (url) => isForeignScriptUrl(url) || documentAt.includes(scrubUrl(url)),\n )\n}\n\n/**\n * The URL this document was served at, before any move on the client.\n *\n * The navigation timing entry keeps it: `history.pushState` changes\n * `location` and leaves the entry alone. Where an engine has no entry, the\n * page's URL now is the fallback, which is why the beacon reads this once,\n * at install: it is installed as its module loads, before the app's own\n * router has moved the page anywhere.\n */\nexport function documentLoadUrl(): string {\n try {\n const [entry] = performance.getEntriesByType('navigation')\n const served = scrubUrl(entry?.name)\n if (served) return served\n } catch {\n // An engine without navigation timing.\n }\n return scrubUrl(window.location.href)\n}\n\n/** A frame line, in V8's `at …` format or WebKit/Firefox's `fn@location`. */\nconst STACK_FRAME_LINE = /^\\s*at\\s|@/\n\n/**\n * A position in a script that has no URL.\n *\n * - `<anonymous>:line:col` — V8's name for such a script, both for a top-level\n * snippet and as the position of code run through `eval`/`new Function`.\n * - `eval at …` — V8's origin of `eval`'d code. When OUR script ran the eval\n * its URL is inside this origin, `stackFrameUrls` reads it, and the report\n * is kept; that is how the marketing plugin's `runJs` step stays reported.\n * - `debugger eval code:line:col` — Firefox's devtools console, in the\n * `fn@location` format WebKit also uses.\n *\n * ⚑ A BARE `(<anonymous>)` with no line and column is NOT one of these. It is\n * how V8 prints a builtin — `at Array.forEach (<anonymous>)`,\n * `at JSON.parse (<anonymous>)` — and a builtin is called by whoever called\n * it, including us.\n */\nconst ANONYMOUS_SCRIPT_POSITION =\n /<anonymous>:\\d+:\\d+|\\beval at\\s|\\bdebugger eval code:\\d+:\\d+/\n\n/** How many frames of this stack are in a script with no URL at all. */\nexport function anonymousScriptFrameCount(stack: string): number {\n let count = 0\n for (const line of stack.split('\\n')) {\n if (STACK_FRAME_LINE.test(line) && ANONYMOUS_SCRIPT_POSITION.test(line)) {\n count += 1\n }\n }\n return count\n}\n\n/**\n * Browser notices that are not failures, and that no fix of ours could act on.\n *\n * `ResizeObserver loop completed with undelivered notifications` (and its older\n * wording, `ResizeObserver loop limit exceeded`) is the browser saying it\n * deferred some resize callbacks to the next frame. Nothing threw: the event\n * carries no error object and no stack, and every observer is still\n * delivered. It arrived from the Besigner on 2026-09-26 and paged. Dropped, on\n * the browser's exact wording.\n */\nconst BENIGN_BROWSER_NOTICE =\n /^(?:Uncaught )?(?:Error: )?ResizeObserver loop (?:completed with undelivered notifications|limit exceeded)/\n\nexport function isBenignBrowserNotice(message: string): boolean {\n return BENIGN_BROWSER_NOTICE.test(message)\n}\n\n/**\n * Whether the document is a page a visitor navigated to over the web\n * (AGL-3759).\n *\n * Only `http:` and `https:` qualify. A document at `about:blank` or\n * `about:srcdoc` is a COPY of our page: a translator extension or a site that\n * frames our markup renders it into a fresh document with no URL of its own,\n * and our scripts run there too. Next.js's app router then throws\n * `Failed to construct 'URL': Invalid URL` resolving its canonical URL against\n * `window.location.href`, which no code of ours can prevent and no visitor on\n * the real page ever sees. `file:` (a saved page) and an extension's own\n * scheme are copies in the same sense.\n *\n * A missing or unreadable location is not a web document either: nothing\n * from it can be traced to a page we serve.\n */\nexport function isWebDocument(\n location: { protocol?: string } | null | undefined,\n): boolean {\n try {\n const protocol = location?.protocol\n return protocol === 'http:' || protocol === 'https:'\n } catch {\n return false\n }\n}\n\n/**\n * A rejection that says only \"this was cancelled\" (AGL-3734).\n *\n * `AbortError` is what a request rejects with when its `AbortSignal` fires —\n * a deadline we set, a component that unmounted, a search the author typed\n * past — and what the browser rejects every in-flight fetch with when the\n * document goes away under it. On 2026-10-10 one arrived from\n * `/edit-access`, the page a published site opens in a popup or a hidden\n * iframe and then CLOSES itself the moment it has its answer. The report had\n * no stack and no message past the name, so there was no call site to fix:\n * the page's own mint was already caught, and whatever else the console shell\n * had in flight was cut off by the site ending the page, which is the flow\n * working.\n *\n * Why the classifier rather than each call site: every request on every\n * console page can be the one in flight when a page is torn down, and the\n * abort is the intended outcome in every case. There is nothing a fix of ours\n * could change, and nothing in the report to locate it by.\n *\n * Narrow on purpose. Only `name === 'AbortError'`, and only for an UNHANDLED\n * REJECTION — not `TimeoutError`, which is `AbortSignal.timeout` saying a\n * deadline was MISSED (a real slowness), and not an uncaught `error` event or\n * a `reportHandledError` call, where somebody chose to report it.\n */\nexport function isAbortRejection(reason: unknown): boolean {\n try {\n return (\n typeof reason === 'object' &&\n reason !== null &&\n (reason as { name?: unknown }).name === 'AbortError'\n )\n } catch {\n // A getter that throws leaves the rejection reported, never dropped.\n return false\n }\n}\n\n/**\n * `kind` for Firebase's `auth/tenant-id-mismatch` — a sibling tab signed in to\n * another account pool (AGL-3280). The console recovers the tab by reloading\n * it once it is hidden and deliberately leaves the rejection unhandled so it\n * is still seen; this label is what lets it be seen by RATE instead of paging\n * on each of the several rejections one storage event raises.\n */\nexport const AUTH_DESYNC_KIND = 'auth-desync'\n\n/**\n * `kind` for a chunk the document names and the origin no longer serves\n * (AGL-3279). Every boundary reloads once for it; what still arrives is the\n * failure the reload did not cure. One of those is a visitor on a bad\n * connection; a burst of them is a broken deploy, which only a rate can tell.\n */\nexport const CHUNK_LOAD_KIND = 'chunk-load'\n\n/**\n * `kind` for reCAPTCHA's own `reCAPTCHA Timeout` rejection (AGL-4068).\n *\n * App Check's reCAPTCHA provider loads Google's script, and that script\n * rejects a promise of its own when its iframe does not answer in time: a\n * tab throttled in the background, a slow or blocked `gstatic.com`. No call\n * site of ours awaits it, so it lands as an unhandled rejection whose whole\n * stack is Google's script. App Check retries with backoff on the next token\n * request, so the visitor's page keeps working. One of these is a slow\n * network; a burst is App Check failing for everyone, which only a rate can\n * tell. Two arrived on 2026-10-25 and each paged.\n */\nexport const RECAPTCHA_TIMEOUT_KIND = 'recaptcha-timeout'\n\nconst RECAPTCHA_TIMEOUT_MESSAGE = /^(?:Error: )?reCAPTCHA Timeout\\b/\n\n/** Google's reCAPTCHA scripts, wherever the provider loads them from. */\nconst RECAPTCHA_SCRIPT_URL =\n /^https:\\/\\/(?:www\\.)?(?:gstatic\\.com|google\\.com|recaptcha\\.net)\\/recaptcha\\//\n\n/**\n * reCAPTCHA's timeout, by its wording AND by a stack that is only Google's\n * script. A message alone is not enough: one of our frames in the stack means\n * our code chose to throw that text, and that stays reported as itself.\n */\nexport function isRecaptchaTimeout(error: unknown): boolean {\n const message = (error as { message?: unknown } | null)?.message\n if (typeof message !== 'string' || !RECAPTCHA_TIMEOUT_MESSAGE.test(message)) {\n return false\n }\n const stack = (error as { stack?: unknown }).stack\n if (typeof stack !== 'string') return true\n return stackFrameUrls(stack).every((url) => RECAPTCHA_SCRIPT_URL.test(url))\n}\n\n/**\n * `kind` for the Firestore SDK's failed write queue: its IndexedDB transaction\n * died, and the first b815 moves the tab onto the memory cache and reloads it\n * (`watchFirestoreQueueFailure`, AGL-4156).\n */\nexport const FIRESTORE_QUEUE_KIND = 'firestore-queue'\n\nconst FIRESTORE_QUEUE_MESSAGE =\n /INTERNAL ASSERTION FAILED: Unexpected state \\(ID: b815\\)|Attempt to (?:get a record from|open a cursor in) database without an in-progress transaction|IndexedDB transaction '[^']*' failed: AbortError/\n\n/**\n * The assertion, or the IndexedDB rejection that arrives beside it: the\n * browser ended the transaction under the SDK, whichever call it was in (a\n * record read, a cursor, or opening the database in a webview).\n */\nexport function isFirestoreQueueFailureReport(error: unknown): boolean {\n const message = (error as { message?: unknown } | null)?.message\n return typeof message === 'string' && FIRESTORE_QUEUE_MESSAGE.test(message)\n}\n\n/**\n * The label for a fault we RECOVER from and still want to see, or undefined.\n *\n * These could be ours, so unlike an injected stack they are never dropped:\n * they are written at full severity under their own `kind`, the per-entry\n * policy excludes that kind, and a rate policy watches it — the same split\n * `hydration` already has.\n */\nexport function recoveredErrorKind(error: unknown): string | undefined {\n try {\n if (isCrossPoolDesync(error)) return AUTH_DESYNC_KIND\n if (isStaleBuildError(error)) return CHUNK_LOAD_KIND\n if (isRecaptchaTimeout(error)) return RECAPTCHA_TIMEOUT_KIND\n if (isFirestoreQueueFailureReport(error)) return FIRESTORE_QUEUE_KIND\n } catch {\n // A getter that throws leaves the event unlabeled, never unreported.\n }\n return undefined\n}\n\n/**\n * React's hydration-mismatch family, which a page TRANSLATOR causes and a\n * real render divergence also causes.\n *\n * These are `onRecoverableError` reports, not crashes: React has already\n * re-rendered on the client and the visitor has a working page. They arrive\n * here as uncaught errors only because React re-throws them to `reportError`.\n *\n * They are marked rather than dropped, and the distinction is the whole\n * design. Dropping would hide a real hydration regression, which is a genuine\n * and expensive bug; the entries stay in `client-errors` at full severity and\n * still group in Error Reporting. What the mark buys is that the log-match\n * policy can stop paging on a single report, while a rate-based policy on the\n * same mark still catches a systemic one.\n *\n * ⚠️ THE MARK IS NOT A VERDICT, and the one cluster this repo has measured is\n * why. Eight #418 reports arrived inside a nine-minute window on 2026-09-01,\n * on one build, and the three pages they came from were exactly the three\n * carrying a form — `/`, `/pricing` and the solutions pages reported nothing\n * in the same window, which no browser-side rewrite would respect. A placed\n * form was expanding inside its own grafted subtree, so every page carrying\n * one shipped six nested `<form>` elements; nested forms are invalid HTML, the\n * parser dropped the inner ones, and the client tree disagreed with the server\n * tree. The visible cost was a submission the route never received, because\n * the native submit came from an unhandled ancestor and the browser fell back\n * to a GET with the visitor's name, email and message in the address bar. The\n * reports stopped because the nesting was fixed, roughly a quarter of an hour\n * after the last one.\n *\n * So a rate low enough not to page is a reason to READ the entry — the page\n * it names, and whether the set of pages has a shape — never a reason to\n * assume somebody's extension.\n */\nconst HYDRATION_MINIFIED = /Minified React error #(?:418|423|425)\\b/\nconst HYDRATION_TEXT =\n /Hydration failed because|Text content does not match server-rendered HTML|There was an error while hydrating/\n\nexport function isHydrationMismatch(message: string): boolean {\n return HYDRATION_MINIFIED.test(message) || HYDRATION_TEXT.test(message)\n}\n\n/**\n * WHICH TRANSLATOR rewrote this page's text, read off the document, or\n * undefined when none visibly did.\n *\n * A hydration report on its own cannot say whether React disagreed with our\n * server render or with a translator that rewrote the server's text before\n * React reached it, and the two look identical in `client-errors`: the\n * minified #418, a stack inside the react-dom chunk, the page URL, nothing\n * else. aglyn.com/ carried eight of them between 2026-09-22 and 2026-10-10.\n * The visitor at 2026-10-09 22:28Z went on to sign up two minutes later with\n * Chrome Translate rewriting the console (the `<font>` crash #1342 fixed); the\n * two on 2026-09-22/23 were desktop Chrome OS in Hyderabad, while every other\n * Indian, Pakistani and Turkish home-page visit in GA that fortnight hydrated\n * without a report — so neither the build nor the time zone was the variable,\n * and the beacon had nothing to say which visitor it was.\n *\n * The signatures are the ones each translator leaves on the DOM it rewrote:\n *\n * - Chrome (and every Chromium that ships Google Translate) sets\n * `translated-ltr` / `translated-rtl` on `<html>` and wraps each rewritten\n * run in `<font style=\"vertical-align: inherit;\">`.\n * - Microsoft Translator (Edge) stamps `_msttexthash` / `_msthash` on every\n * element whose text it replaced.\n * - Any translator that does the job properly rewrites `<html lang>`, which is\n * compared against the `servedLang` the beacon read at install, before\n * hydration began.\n *\n * Never throws: it runs inside the error handler.\n */\nexport function pageTranslationSignal(\n doc: Document,\n servedLang: string | null | undefined,\n): string | undefined {\n try {\n const root = doc.documentElement\n if (!root) return undefined\n if (\n root.classList.contains('translated-ltr') ||\n root.classList.contains('translated-rtl') ||\n doc.querySelector('font[style*=\"vertical-align: inherit\"]')\n ) {\n return 'chrome'\n }\n if (doc.querySelector('[_msttexthash], [_msthash]')) return 'microsoft'\n const lang = root.getAttribute('lang')\n if (servedLang && lang && lang.toLowerCase() !== servedLang.toLowerCase()) {\n return `lang:${clamp(lang, 16)}`\n }\n } catch {\n // An unreadable document leaves the event unlabeled, never unreported.\n }\n return undefined\n}\n\n/**\n * A TRANSLATOR'S MARK, REMEMBERED FROM THE MOMENT IT APPEARS (AGL-3738).\n *\n * {@link pageTranslationSignal} read at the moment React reports a mismatch\n * is reading a document the translator no longer owns. React reports a\n * hydration mismatch only after it has client-rendered the root to recover,\n * and that render resets `<html>`'s attributes to the ones it rendered —\n * Chrome's `translated-ltr` class goes, `lang` returns to the served value —\n * and replaces every `<font>` wrapper and hash-stamped element with fresh\n * nodes. Measured 2026-10-12 by hydrating aglyn.com/ with a Chrome-style\n * rewrite of one heading: the report fired with `<html lang=\"en\">`, no class\n * and no `<font>` left anywhere. Six es-US #418s arrived that day on\n * aglyn.com/ and orbita-digital.aglyn.app/ (a Spanish site served as `en`);\n * one carried `lang:en` — the beacon had been installed after the translator\n * set `lang=\"es\"`, so React's reset was the only rewrite left to see, and the\n * same simulation reproduces exactly that label — and the other five carried\n * nothing. The same two pages hydrated cleanly under es-US, en-GB and ru\n * locales and time zones: nothing on them formats by the visitor's locale.\n *\n * So the mark is read when the translator LEAVES it: once at install, for a\n * translator that ran first, and then from a `MutationObserver` until one is\n * seen. A translator rewrites the page before React reaches it — that is what\n * makes it a mismatch — so its mutations are delivered before the report.\n *\n * Cheap on purpose: one observer on `<html>`'s own `class`/`lang`, and one on\n * the tree that looks only at added `<font>` elements and Microsoft's hash\n * attributes, both disconnected as soon as a mark is found. Never throws, and\n * a browser without `MutationObserver` gets the read-at-report behavior.\n */\nexport function watchPageTranslation(\n doc: Document,\n servedLang: string | null | undefined,\n): () => string | undefined {\n let seen = pageTranslationSignal(doc, servedLang)\n const observers: MutationObserver[] = []\n\n const stop = () => {\n for (const observer of observers.splice(0)) observer.disconnect()\n }\n\n const inspect = (records: MutationRecord[]) => {\n if (seen) return\n let relevant = false\n for (const record of records) {\n if (record.type === 'attributes') {\n relevant = true\n break\n }\n for (const node of Array.from(record.addedNodes)) {\n if (node.nodeName === 'FONT') {\n relevant = true\n break\n }\n }\n if (relevant) break\n }\n if (!relevant) return\n seen = pageTranslationSignal(doc, servedLang)\n if (seen) stop()\n }\n\n try {\n const root = doc.documentElement\n if (!seen && root && typeof MutationObserver === 'function') {\n const onRoot = new MutationObserver(inspect)\n onRoot.observe(root, { attributes: true, attributeFilter: ['class', 'lang'] })\n const onTree = new MutationObserver(inspect)\n onTree.observe(root, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: ['_msttexthash', '_msthash'],\n })\n observers.push(onRoot, onTree)\n }\n } catch {\n // No observer: the report falls back to reading the document as it is.\n }\n\n return () => {\n try {\n // A rewrite in the same task as the report has not been delivered yet.\n for (const observer of observers) inspect(observer.takeRecords())\n return seen ?? pageTranslationSignal(doc, servedLang)\n } catch {\n return undefined\n }\n }\n}\n\n/**\n * WHAT A REJECTED PROMISE ACTUALLY CARRIED (AGL-3279).\n *\n * `unhandledrejection` hands over whatever was passed to `reject`, and only\n * an `Error` brings a message and a stack. A rejection with anything else —\n * an API's `{ code, message }` object, a `DOMException` from an aborted\n * fetch, a bare string, a `Response` — used to be reported as the literal\n * words \"Unhandled promise rejection\" with no stack and no other field,\n * which names the handler rather than the failure. One such report arrived\n * on 2026-09-21 from the Besigner editor and there is nothing in it to act\n * on: no message, no stack, no code, nothing but the page.\n *\n * So the value is DESCRIBED rather than defaulted. In order of how much a\n * reader can do with it: the error's own message; a string as itself; a\n * `name`/`code`/`message` shape assembled from whatever of those it has —\n * the shape every Firebase, DOM and fetch rejection takes; the value's own\n * `toString` when it says more than `[object Object]`; and last its own\n * keys, which at least name what kind of thing rejected.\n *\n * Nothing here may throw: a getter on the reason can, `toString` can, and\n * a describer that throws inside the rejection handler loses the report it\n * was called to improve.\n */\nexport function describeRejectionReason(reason: unknown): string {\n try {\n if (reason instanceof Error && reason.message) return reason.message\n if (typeof reason === 'string') return reason\n if (reason === null || reason === undefined) {\n return `Unhandled promise rejection (${String(reason)})`\n }\n if (typeof reason !== 'object') {\n return `Unhandled promise rejection (${typeof reason}: ${String(reason)})`\n }\n const shape = reason as Record<string, unknown>\n const named = [\n shape['name'] ?? shape['code'] ?? '',\n shape['message'] ?? shape['statusText'] ?? '',\n ]\n .map((part) => String(part ?? '').trim())\n .filter(Boolean)\n if (named.length) return named.join(': ')\n const printed = String(reason)\n if (printed && printed !== '[object Object]') return printed\n const keys = Object.keys(shape).slice(0, 12).join(', ')\n return keys\n ? `Unhandled promise rejection (object with ${keys})`\n : 'Unhandled promise rejection (empty object)'\n } catch {\n return 'Unhandled promise rejection (undescribable)'\n }\n}\n\n/**\n * How many frames a thrown error keeps, on a pageview that reports (AGL-3423).\n *\n * V8 keeps ten by default, and ten is not enough to find where a render loop\n * STARTED. The Besigner's one React #185 report (2026-09-24) was a\n * react-final-form field's `setState` inside final-form's `notify` loop, and\n * every one of its ten frames was inside those two libraries: the component\n * whose update fed the loop was cut off below them. Fifty reaches past a\n * form library's own frames to ours, and still fits the {@link MAX_STACK}\n * clamp at the length a minified frame line has.\n */\nexport const BEACON_STACK_TRACE_LIMIT = 50\n\n/**\n * Raises the engine's frame limit to `limit`, never lowers it. V8 and\n * JavaScriptCore read `Error.stackTraceLimit`; an engine that does not has no\n * such number, and is left without one rather than handed a property it\n * ignores. It applies to errors created after the call, which is why the\n * beacon sets it at install, at module scope of the app's first client chunk.\n */\nexport function raiseStackTraceLimit(limit: number): void {\n try {\n const engine = Error as ErrorConstructor & { stackTraceLimit?: number }\n const current = engine.stackTraceLimit\n if (typeof current !== 'number' || current >= limit) return\n engine.stackTraceLimit = limit\n } catch {\n // A frozen or exotic `Error` keeps its own limit.\n }\n}\n\nlet installed = false\n\n/**\n * The live beacon's `enqueue`, published for {@link reportHandledError}.\n *\n * Null until `installErrorBeacon` runs, and null forever on a surface that\n * never installs one — so a caught error reported from a page with no beacon\n * is silently dropped rather than throwing inside somebody's error handler.\n */\nlet publishEvent: ((event: ErrorBeaconEvent) => void) | null = null\n\n/**\n * Re-export so `error-beacon` stays the one name a caller has to know for\n * browser error reporting. The definition lives in its own module because a\n * boundary that imports it must not pull the installer below into a chunk\n * every visitor downloads.\n */\nexport { redispatchCaughtError } from './redispatch-caught-error'\n\n/**\n * Report an error the code ALREADY CAUGHT.\n *\n * The two window handlers below see only what nothing caught. A `catch` that\n * swallows its error is invisible to them by construction, which is the whole\n * failure mode this exists for: a background write that can only fail\n * silently is one that stays broken for as long as nobody thinks to look.\n *\n * It rides the same queue as an uncaught error, which is the point — the\n * dedupe collapses a failure that repeats on every edit into one report, and\n * `maxPerPage` bounds it, so a call site in a loop cannot turn a broken\n * feature into a flood. Reporting is never worth an exception of its own, so\n * every path here returns rather than throws.\n */\nexport function reportHandledError(\n error: unknown,\n options?: { kind?: string },\n): void {\n try {\n if (!publishEvent) return\n const thrown = error as Error | undefined\n const message = clamp(\n thrown?.message ?? (typeof error === 'string' ? error : ''),\n MAX_MESSAGE,\n )\n if (!message) return\n publishEvent({\n kind: clamp(options?.kind ?? 'handled', 32),\n message,\n stack: thrown?.stack ? clamp(thrown.stack, MAX_STACK) : undefined,\n url: scrubUrl(window.location.href),\n })\n } catch {\n // An observer that throws is worse than one that misses an event.\n }\n}\n\n/**\n * Installs the handlers once per page. Safe to call from module scope of a\n * client bundle: it no-ops during SSR and on repeat calls.\n */\nexport function installErrorBeacon(options?: ErrorBeaconOptions): void {\n if (typeof window === 'undefined' || installed) return\n installed = true\n\n const endpoint = options?.endpoint ?? '/api/errors'\n const sampleRate = options?.sampleRate ?? 1\n const maxPerPage = options?.maxPerPage ?? 10\n // Only a sampled pageview REPORTS. Every pageview recovers a stale build\n // (the rejection handler below), because a tab left on a dead deploy is a\n // visitor's problem whether or not its errors are counted.\n const sampled = Math.random() < sampleRate\n // A copy of the page in a document that is not on the web reports nothing\n // by either door, whatever it throws: see `isWebDocument`.\n const reporting = sampled && isWebDocument(window.location)\n // The document's language as SERVED, read before hydration and before any\n // translator has had a chance to rewrite it (`pageTranslationSignal`).\n const servedLang = document.documentElement?.getAttribute('lang') ?? null\n // Watched from now, because React's recovery erases the translator's marks\n // before a mismatch is reported (`watchPageTranslation`, AGL-3738).\n const translation = watchPageTranslation(document, servedLang)\n // Where the document was served, read now for the same reason: a script a\n // webview evaluated at load keeps this URL after the page moves on\n // (`isInjectedThirdPartyFrame`).\n const servedUrl = documentLoadUrl()\n if (reporting) raiseStackTraceLimit(BEACON_STACK_TRACE_LIMIT)\n // Classified once, here, and only the family is kept: the user-agent\n // string itself never reaches the queue (AGL-3732).\n let browser: BrowserFamily = 'other'\n try {\n browser = browserFamily(navigator.userAgent)\n } catch {\n // An unreadable navigator is just `other`.\n }\n\n const seen = new Set<string>()\n let queued: ErrorBeaconEvent[] = []\n let sent = 0\n let timer: ReturnType<typeof setTimeout> | null = null\n\n const flush = () => {\n timer = null\n if (!queued.length) return\n const batch = queued\n queued = []\n try {\n const body = JSON.stringify({ events: batch })\n // sendBeacon survives unloads and never blocks; keepalive fetch is the\n // fallback for browsers that refuse the payload.\n if (!navigator.sendBeacon?.(endpoint, body)) {\n void fetch(endpoint, {\n method: 'POST',\n body,\n keepalive: true,\n headers: { 'Content-Type': 'application/json' },\n }).catch((): undefined => undefined)\n }\n } catch {\n // Reporting never breaks the page.\n }\n }\n\n const enqueue = (event: ErrorBeaconEvent) => {\n if (!reporting || sent >= maxPerPage) return\n // Message + first stack line: enough identity to collapse a render loop\n // without collapsing distinct errors that share a message.\n const key = `${event.message}\\x00${(event.stack ?? '').split('\\n', 2).join('\\n')}`\n if (seen.has(key)) return\n seen.add(key)\n sent += 1\n queued.push({ ...event, browser })\n if (!timer) timer = setTimeout(flush, FLUSH_DELAY_MS)\n }\n // Null on a pageview that does not report, so it reports nothing by either\n // door rather than one by one and none by the other.\n publishEvent = reporting ? enqueue : null\n\n window.addEventListener('error', (event) => {\n try {\n const error = event.error as Error | undefined\n const message = clamp(error?.message ?? event.message, MAX_MESSAGE)\n // Cross-origin scripts yield an opaque \"Script error.\" with nothing\n // actionable attached; reporting it would only create a noisy group.\n if (!message || message === 'Script error.') return\n if (isBenignBrowserNotice(message)) return\n const pageUrl = scrubUrl(window.location.href)\n const fullStack = error?.stack ? String(error.stack) : undefined\n // A webview or extension that evaluated its own code into our page —\n // see `isInjectedThirdPartyFrame`. Nothing we ship can be changed in\n // response, so it is dropped on the same test as `Script error.`.\n // Judged on the WHOLE stack, before the clamp: a frame of ours past the\n // clamp still makes the error ours.\n if (fullStack && isInjectedThirdPartyFrame(fullStack, [pageUrl, servedUrl])) {\n return\n }\n const stack = fullStack ? clamp(fullStack, MAX_STACK) : undefined\n // MARKED, not dropped: a translator causes a hydration mismatch and so\n // does a real render divergence, and a recovered fault is still a\n // fault. Only a rate tells either apart from noise — and the\n // translator's own mark on the DOM, when it left one.\n const kind =\n recoveredErrorKind(error ?? { message }) ??\n (isHydrationMismatch(message) ? 'hydration' : 'error')\n const translated = kind === 'hydration' ? translation() : undefined\n // A mismatch on a page a translator rewrote is the translator's, not\n // ours (AGL-3738): React compared our render with text we did not\n // write, recovered, and the visitor has a working page. Nothing we ship\n // can change in response, so it goes the way of an injected stack. The\n // mark is evidence on the document, not a guess about the visitor — an\n // unmarked mismatch is still reported, and still the one to read.\n if (translated) return\n enqueue({\n kind,\n message,\n stack,\n source: scrubUrl(event.filename) || undefined,\n line: typeof event.lineno === 'number' ? event.lineno : undefined,\n col: typeof event.colno === 'number' ? event.colno : undefined,\n url: pageUrl,\n ...(kind === 'hydration' && navigator.language\n ? { language: clamp(navigator.language, 16) }\n : {}),\n })\n } catch {\n // Never rethrow from an error handler.\n }\n })\n\n window.addEventListener('unhandledrejection', (event) => {\n try {\n // An `import()` of a chunk this document names and the origin dropped,\n // which no boundary saw. Recovered by a reload once the tab is hidden,\n // and, like a boundary's reload, not reported: see\n // `recoverStaleBuildRejection`. A tab whose recovery is spent still\n // reports it, as `chunk-load`.\n if (recoverStaleBuildRejection(event.reason)) return\n // A cancelled request, ours or the browser's on teardown: see\n // `isAbortRejection` for why this is dropped and how narrowly.\n if (isAbortRejection(event.reason)) return\n const reason = event.reason as Error | undefined\n const message = clamp(describeRejectionReason(event.reason), MAX_MESSAGE)\n if (!message) return\n const pageUrl = scrubUrl(window.location.href)\n const fullStack = reason?.stack ? String(reason.stack) : undefined\n // The same injected-code drop as an uncaught error: a rejection raised\n // by a devtools snippet or an automation driver's `evaluate` is no more\n // ours for having been a promise.\n if (fullStack && isInjectedThirdPartyFrame(fullStack, [pageUrl, servedUrl])) {\n return\n }\n enqueue({\n kind: recoveredErrorKind(event.reason) ?? 'unhandledrejection',\n message,\n stack: fullStack ? clamp(fullStack, MAX_STACK) : undefined,\n url: pageUrl,\n })\n } catch {\n // Never rethrow from an error handler.\n }\n })\n\n // A batch waiting out its debounce when the page hides would be lost;\n // `pagehide`/`visibilitychange` are the last reliable moments to send.\n window.addEventListener('pagehide', flush)\n document.addEventListener('visibilitychange', () => {\n if (document.visibilityState === 'hidden') flush()\n })\n}\n"],"names":["browserFamily","isCrossPoolDesync","isForeignScriptUrl","stackFrameUrls","isStaleBuildError","recoverStaleBuildRejection","MAX_MESSAGE","MAX_STACK","FLUSH_DELAY_MS","scrubUrl","raw","url","URL","String","window","location","href","origin","pathname","clamp","value","max","slice","isInjectedThirdPartyFrame","stack","documentUrls","urls","length","anonymousScriptFrameCount","documentAt","filter","Boolean","every","includes","documentLoadUrl","entry","performance","getEntriesByType","served","name","STACK_FRAME_LINE","ANONYMOUS_SCRIPT_POSITION","count","line","split","test","BENIGN_BROWSER_NOTICE","isBenignBrowserNotice","message","isWebDocument","protocol","isAbortRejection","reason","AUTH_DESYNC_KIND","CHUNK_LOAD_KIND","RECAPTCHA_TIMEOUT_KIND","RECAPTCHA_TIMEOUT_MESSAGE","RECAPTCHA_SCRIPT_URL","isRecaptchaTimeout","error","FIRESTORE_QUEUE_KIND","FIRESTORE_QUEUE_MESSAGE","isFirestoreQueueFailureReport","recoveredErrorKind","undefined","HYDRATION_MINIFIED","HYDRATION_TEXT","isHydrationMismatch","pageTranslationSignal","doc","servedLang","root","documentElement","classList","contains","querySelector","lang","getAttribute","toLowerCase","watchPageTranslation","seen","observers","stop","observer","splice","disconnect","inspect","records","relevant","record","type","node","Array","from","addedNodes","nodeName","MutationObserver","onRoot","observe","attributes","attributeFilter","onTree","childList","subtree","push","takeRecords","describeRejectionReason","shape","Error","named","map","part","trim","join","printed","keys","Object","BEACON_STACK_TRACE_LIMIT","raiseStackTraceLimit","limit","engine","current","stackTraceLimit","installed","publishEvent","redispatchCaughtError","reportHandledError","options","thrown","kind","installErrorBeacon","document","endpoint","sampleRate","maxPerPage","sampled","Math","random","reporting","translation","servedUrl","browser","navigator","userAgent","Set","queued","sent","timer","flush","batch","body","JSON","stringify","events","sendBeacon","fetch","method","keepalive","headers","catch","enqueue","event","key","has","add","setTimeout","addEventListener","pageUrl","fullStack","translated","source","filename","lineno","col","colno","language","visibilityState"],"mappings":";AAAA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