@forgeroute/ui 0.5.32 → 0.5.34
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/fesm2022/forgeroute-ui-conversations.mjs +1 -0
- package/fesm2022/forgeroute-ui-conversations.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-core.mjs +20 -2
- package/fesm2022/forgeroute-ui-core.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-editor.mjs +97 -18
- package/fesm2022/forgeroute-ui-editor.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-messaging.mjs +1 -0
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-notification-bell.mjs +1 -0
- package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-offline.mjs +1 -0
- package/fesm2022/forgeroute-ui-offline.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-payments.mjs +3 -0
- package/fesm2022/forgeroute-ui-payments.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-phone-number-picker.mjs +1 -0
- package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stripe.mjs +1 -0
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-core.d.ts +10 -3
- package/types/forgeroute-ui-editor.d.ts +43 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgeroute-ui-core.mjs","names":[],"sources":["../../../projects/forgeroute-ui/core/src/lib/config/forgeroute.config.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/ui-format.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/ui-labels.ts","../../../projects/forgeroute-ui/core/src/lib/error-handler.ts","../../../projects/forgeroute-ui/core/src/lib/toast/toast.service.ts","../../../projects/forgeroute-ui/core/src/lib/utils/overlay-stack.ts","../../../projects/forgeroute-ui/core/src/lib/utils/overlay-focus.ts","../../../projects/forgeroute-ui/core/src/lib/utils/return-focus.ts","../../../projects/forgeroute-ui/core/src/lib/utils/visual-viewport.ts","../../../projects/forgeroute-ui/core/src/lib/utils/field-validation.ts","../../../projects/forgeroute-ui/core/src/lib/modal/modal.component.ts","../../../projects/forgeroute-ui/core/src/lib/button/button.component.ts","../../../projects/forgeroute-ui/core/src/lib/confirm/confirm-outlet.component.ts","../../../projects/forgeroute-ui/core/src/lib/confirm/confirm.service.ts","../../../projects/forgeroute-ui/core/src/lib/side-panel/side-panel.component.ts","../../../projects/forgeroute-ui/core/src/lib/notes/notes-queue.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/ui-language.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/module-labels.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface ForgerouteConfig {\n baseUrl: string;\n}\n\nexport const FORGEROUTE_CONFIG = new InjectionToken<ForgerouteConfig>('FORGEROUTE_CONFIG');\n","import { formatDate } from '@angular/common';\n\n/**\n * Locale-aware date, time and number formatting for the library. English (`en-US`, the default) goes through Angular's own formatter and\n * `toLocaleString('en-US')`, so every text an English app shows is exactly what it always was. Any other locale goes through `Intl`, which\n * ships with the browser - no `registerLocaleData` and no extra bundle for the app. Browsers differ only in the last details of a pattern\n * (Safari and Chrome agree on all the shapes used here).\n */\nexport const DEFAULT_LOCALE = 'en-US';\n\n/** The locale when the browser accepts it, else `en-US` (a malformed tag must never throw inside a template). */\nexport function safeLocale(locale: string | null | undefined): string {\n const l = (locale ?? '').trim();\n if (!l) return DEFAULT_LOCALE;\n try { return Intl.DateTimeFormat.supportedLocalesOf([l]).length ? l : DEFAULT_LOCALE; } catch { return DEFAULT_LOCALE; }\n}\n\nconst isEnglishUs = (locale: string): boolean => locale === 'en-US' || locale === 'en';\n\n// Angular's own ISO 8601 reader (`DatePipe`/`formatDate` use it): date and optional time, optional 'Z' or offset; no zone means LOCAL time.\nconst ISO8601_DATE_REGEX = /^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n\nfunction isoStringToDate(match: RegExpMatchArray): Date {\n const date = new Date(0);\n let tzHour = 0, tzMin = 0;\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n if (match[9]) { tzHour = Number(match[9] + match[10]); tzMin = Number(match[9] + match[11]); }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n timeSetter.call(date, Number(match[4] || 0) - tzHour, Number(match[5] || 0) - tzMin, Number(match[6] || 0), Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000));\n return date;\n}\n\n/**\n * A `Date` from a Date, a timestamp or a string, read exactly as Angular's `DatePipe` reads its input (so English output is what `| date` always printed):\n * the string is trimmed; 'YYYY', 'YYYY-M' and 'YYYY-M-D' are LOCAL dates (month and day default to 1, so they never shift a day with the time zone);\n * a numeric string ('1700000000000') is a timestamp; an ISO 8601 string is read like Angular does; anything else goes through `new Date(...)`.\n * Null for an empty or unreadable value (where `DatePipe` would throw).\n */\nexport function toDate(value: Date | string | number | null | undefined): Date | null {\n if (value == null || value === '') return null;\n let d: Date;\n if (value instanceof Date) d = value;\n else if (typeof value === 'number' && !isNaN(value)) d = new Date(value);\n else if (typeof value === 'string') {\n const v = value.trim();\n let match: RegExpMatchArray | null;\n if (/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(v)) {\n const [y, m = 1, day = 1] = v.split('-').map(x => +x);\n d = new Date(0); d.setFullYear(y, m - 1, day); d.setHours(0, 0, 0);\n } else if (!isNaN((v as unknown as number) - parseFloat(v))) d = new Date(parseFloat(v));\n else if ((match = v.match(ISO8601_DATE_REGEX))) d = isoStringToDate(match);\n else d = new Date(v);\n } else d = new Date(value as unknown as number);\n return Number.isNaN(d.getTime()) ? null : d;\n}\n\nconst NAMED: Record<string, Intl.DateTimeFormatOptions> = {\n short: { dateStyle: 'short', timeStyle: 'short' },\n medium: { dateStyle: 'medium', timeStyle: 'medium' },\n long: { dateStyle: 'long', timeStyle: 'long' },\n full: { dateStyle: 'full', timeStyle: 'full' },\n shortDate: { dateStyle: 'short' }, mediumDate: { dateStyle: 'medium' }, longDate: { dateStyle: 'long' }, fullDate: { dateStyle: 'full' },\n shortTime: { timeStyle: 'short' }, mediumTime: { timeStyle: 'medium' }, longTime: { timeStyle: 'long' }, fullTime: { timeStyle: 'full' },\n};\n\n/** An Angular date pattern ('MMM d, y', 'MMM d, yyyy h:mm a', 'EEE', ...) as `Intl` options; the locale then decides order and punctuation. */\nexport function patternToOptions(pattern: string): Intl.DateTimeFormatOptions {\n if (NAMED[pattern]) return { ...NAMED[pattern] };\n const o: Intl.DateTimeFormatOptions = {};\n for (const m of pattern.replace(/'(?:[^']|'')*'/g, ' ').matchAll(/y+|M+|L+|d+|E+|h+|H+|m+|s+|a+|z+|G+/g)) {\n const t = m[0], c = t[0], n = t.length;\n if (c === 'y') o.year = n === 2 ? '2-digit' : 'numeric';\n else if (c === 'M' || c === 'L') o.month = n === 1 ? 'numeric' : n === 2 ? '2-digit' : n === 3 ? 'short' : n === 4 ? 'long' : 'narrow';\n else if (c === 'd') o.day = n === 1 ? 'numeric' : '2-digit';\n else if (c === 'E') o.weekday = n <= 3 ? 'short' : n === 4 ? 'long' : 'narrow';\n else if (c === 'h') { o.hour = n === 1 ? 'numeric' : '2-digit'; o.hour12 = true; }\n else if (c === 'H') { o.hour = n === 1 ? 'numeric' : '2-digit'; o.hour12 = false; }\n else if (c === 'm') o.minute = '2-digit';\n else if (c === 's') o.second = '2-digit';\n else if (c === 'a') o.hour12 = true;\n else if (c === 'z') o.timeZoneName = n === 4 ? 'long' : 'short';\n else if (c === 'G') o.era = n === 4 ? 'long' : n === 5 ? 'narrow' : 'short';\n }\n return o;\n}\n\n/** One piece of an Angular date pattern: a run of literal text (quotes already removed) or a field token ('MMM', 'yyyy', 'a' ...). */\ninterface PatternPart { literal: boolean; text: string }\n\n// The same grammar Angular's formatDate reads: quoted text, a run of non-token characters, or one token run.\nconst PATTERN_PART = /'(?:[^']|'')*'|[^BEGHLMOPZSWYZabcdhmswyz']+|G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}/g;\n\nfunction splitPattern(pattern: string): PatternPart[] {\n // `''` on its own (outside a quoted run, \"''yy\") is one apostrophe, as in Angular's formatDate; inside a run `''` is an apostrophe too ('o''clock').\n return (pattern.match(PATTERN_PART) ?? []).map(text => text.startsWith(\"'\")\n ? { literal: true, text: text === \"''\" ? \"'\" : text.slice(1, -1).replace(/''/g, \"'\") }\n : { literal: !/^[A-Za-z]/.test(text), text });\n}\n\n/** True for a pattern whose month NAME (MMM+, LLL+) or named format ('short', 'mediumDate' ...) the locale must order and punctuate itself: it goes through `Intl`. */\nfunction hasMonthName(pattern: string): boolean {\n if (NAMED[pattern]) return true;\n return splitPattern(pattern).some(p => !p.literal && /^[ML]{3,}$/.test(p.text));\n}\n\n/**\n * The instant and zone to hand to `Intl` for the time zone argument of a pattern. It is read EXACTLY as Angular's `DatePipe` reads it, so the English route, the\n * numeric route and the month-name route all show the same clock time for the same instant: only what Angular's reader understands counts ('+0200', '+02:00', 'GMT+2',\n * 'EST', 'UTC': the offset is computed with the JS date parser and the instant is shifted, then read in UTC). Anything else - including an IANA name such as\n * 'America/New_York', which `DatePipe` ignores - means the local zone (a string with a '/' is never read, whatever the engine's parser would make of it).\n */\nfunction intlZone(d: Date, timeZone?: string): { date: Date; timeZone?: string } {\n if (!timeZone || timeZone.includes('/')) return { date: d };\n const east = -Date.parse('Jan 01, 1970 00:00:00 ' + timeZone.replace(/:/g, '')) / 60000; // minutes ahead of UTC\n return Number.isNaN(east) ? { date: d } : { date: new Date(d.getTime() + east * 60000), timeZone: 'UTC' };\n}\n\n/** One field of a date as the locale writes it: the weekday name ('vie') or the era ('d. C.'). */\nfunction localeField(d: Date, loc: string, type: 'weekday' | 'era', style: 'long' | 'short' | 'narrow', timeZone?: string): string {\n const z = intlZone(d, timeZone);\n const options: Intl.DateTimeFormatOptions = type === 'weekday' ? { weekday: style } : { era: style, year: 'numeric' };\n return new Intl.DateTimeFormat(loc, { ...options, ...(z.timeZone ? { timeZone: z.timeZone } : {}) }).formatToParts(z.date).find(x => x.type === type)?.value ?? '';\n}\n\n/** The locale's AM/PM marker ('a. m.') for a date. Angular decides AM or PM in the requested time zone, so offsets such as '+0200' work. */\nfunction localeDayPeriod(d: Date, loc: string, timeZone?: string): string {\n const pm = formatDate(d, 'a', 'en-US', timeZone) === 'PM';\n const ref = new Date(Date.UTC(2021, 0, 3, pm ? 15 : 3));\n return new Intl.DateTimeFormat(loc, { hour: 'numeric', hour12: true, timeZone: 'UTC' }).formatToParts(ref).find(x => x.type === 'dayPeriod')?.value ?? '';\n}\n\n/**\n * Formats a date with an Angular pattern in the given locale; '' for an empty or unreadable value (never throws).\n *\n * - English (`en-US`): Angular's `formatDate`, exactly what `DatePipe` printed.\n * - Another locale, pattern with only numbers and punctuation ('dd/MM/yyyy', 'MM/dd/yyyy', 'yyyy-MM-dd HH:mm', \"d 'de' y\"): Angular's `formatDate`\n * too, so the host's field ORDER and literal text are kept (a host that asked for month-first never gets day-first). The AM/PM marker 'a' is replaced by the locale's\n * own word first.\n * - Another locale, pattern with a month NAME (MMM, MMMM, named formats like 'mediumDate'): `Intl`, so the month and weekday names, their order and punctuation\n * are the locale's own ('MMM d, y' -> '6 nov 2026'). Quoted literals (and an escaped apostrophe), week-of-year and quarter tokens are not part of that route.\n * A time zone `Intl` rejects but `DatePipe` reads ('GMT+2', '+02:00', 'EST') is applied by shifting the instant, as Angular does; an unreadable one means the local zone.\n * - Another locale, weekday (E, c) or era (G) names mixed with numbers and no month name ('EEE, MM/dd/yyyy', 'yyyy-MM-dd EEE'): Angular's `formatDate` again, with each of\n * those tokens (and AM/PM) replaced by the locale's own word as a quoted literal, so the host's field order and punctuation are kept.\n * `Q` (quarter) is not an Angular `formatDate` token either (it prints as the letter), so it is not supported in any locale, as before.\n */\nexport function uiFormatDate(value: Date | string | number | null | undefined, format = 'mediumDate', locale: string = DEFAULT_LOCALE, timeZone?: string): string {\n const d = toDate(value);\n if (!d) return '';\n const loc = safeLocale(locale);\n try {\n if (isEnglishUs(loc)) return formatDate(d, format, 'en-US', timeZone);\n if (hasMonthName(format)) {\n const z = intlZone(d, timeZone);\n return new Intl.DateTimeFormat(loc, { ...patternToOptions(format), ...(z.timeZone ? { timeZone: z.timeZone } : {}) }).format(z.date);\n }\n // Literal text and the locale's own words (AM/PM, weekday, era) become ONE quoted literal per run (two quoted pieces side by side would read as an escaped apostrophe).\n const parts: PatternPart[] = [];\n for (const p of splitPattern(format)) {\n let part: PatternPart = p;\n if (!p.literal) {\n const n = p.text.length;\n if (/^[abB]+$/.test(p.text)) part = { literal: true, text: localeDayPeriod(d, loc, timeZone) };\n else if (/^[Ec]+$/.test(p.text)) part = { literal: true, text: localeField(d, loc, 'weekday', n === 4 ? 'long' : n === 5 ? 'narrow' : 'short', timeZone) };\n else if (/^G+$/.test(p.text)) part = { literal: true, text: localeField(d, loc, 'era', n === 4 ? 'long' : n === 5 ? 'narrow' : 'short', timeZone) };\n }\n const last = parts[parts.length - 1];\n if (part.literal && last?.literal) last.text += part.text; else parts.push({ ...part });\n }\n const rewritten = parts.map(p => (p.literal ? (p.text ? `'${p.text.replace(/'/g, \"''\")}'` : '') : p.text)).join('');\n return formatDate(d, rewritten, 'en-US', timeZone);\n } catch {\n return '';\n }\n}\n\n/** Formats a number for the locale ('1,234.5' in English). */\nexport function uiFormatNumber(value: number | null | undefined, locale: string = DEFAULT_LOCALE, options?: Intl.NumberFormatOptions): string {\n if (value == null || Number.isNaN(Number(value))) return '';\n try { return new Intl.NumberFormat(safeLocale(locale), options).format(Number(value)); } catch { return String(value); }\n}\n\ntype UsdPlan = 'default' | 'narrow' | 'us';\nconst usdPlans = new Map<string, UsdPlan>();\n\n/** Currencies whose symbol is a plain \"$\" in their own country's locale (peso, dollar, ...): where one of them prints a bare \"$\", the dollar sign is taken by the local money. */\nconst DOLLAR_SIGN_CURRENCIES = [\n 'MXN', 'ARS', 'CLP', 'COP', 'UYU', 'DOP', 'CUP', 'AUD', 'CAD', 'NZD', 'HKD', 'SGD', 'TWD', 'BSD', 'BBD', 'BZD', 'BMD', 'BND', 'FJD', 'GYD', 'JMD', 'KYD', 'LRD', 'NAD', 'SBD', 'SRD', 'TTD', 'XCD',\n];\n\nconst currencyPartOf = (loc: string, currency: string): string | undefined => {\n try { return new Intl.NumberFormat(loc, { style: 'currency', currency }).formatToParts(1).find(p => p.type === 'currency')?.value; } catch { return undefined; }\n};\n\n/**\n * How US dollars are written in a locale (decided once per locale from what the platform's ICU data prints):\n * - `'default'`: the locale's own writing is already unambiguous (\"$\" in en-US / es-US, \"US$\" in en-CA, \"$\" after the amount in de-DE) and is kept;\n * - `'us'`: the locale would print the bare ISO code (\"USD 12.50\") and also uses \"$\" for its own currency (which locales do depends on the ICU data of the browser; es-MX and en-AU are typical): written \"US$12.50\";\n * - `'narrow'`: the locale would print the bare ISO code but has no \"$\" money of its own: the narrow symbol \"$12.50\".\n */\nfunction usdPlan(locale: string): UsdPlan {\n const loc = safeLocale(locale);\n let plan = usdPlans.get(loc);\n if (plan === undefined) {\n if (currencyPartOf(loc, 'USD') !== 'USD') plan = 'default';\n else plan = DOLLAR_SIGN_CURRENCIES.some(c => currencyPartOf(loc, c) === '$') ? 'us' : 'narrow';\n usdPlans.set(loc, plan);\n }\n return plan;\n}\n\n/**\n * `{ currencyDisplay: 'narrowSymbol' }` for US dollars in a locale that would print the bare ISO code (\"USD 12.50\") and has no \"$\" money of its own, else `{}`.\n * A locale where \"$\" also names the local currency (it depends on the ICU data which ones do; es-MX and en-AU are typical, some ICU versions already print \"US$\" for es-AR) gets `{}` here because a bare \"$\" would be ambiguous: use `uiCurrencyFormatter` (or\n * `uiFormatCurrency`), which writes \"US$12.50\" there when the data would otherwise print a bare \"$\". Other currencies always get `{}`.\n */\nexport function usdCurrencyDisplay(currency: string, locale: string = DEFAULT_LOCALE): { currencyDisplay?: 'narrowSymbol' } {\n return currency === 'USD' && usdPlan(locale) === 'narrow' ? { currencyDisplay: 'narrowSymbol' } : {};\n}\n\n/**\n * A number formatter for money. The rule for US dollars (see `usdPlan`): \"$12.50\" in en-US / es-US, the locale's own unambiguous writing where it has one\n * (en-CA \"US$12.50\", de-DE \"12,50 $\", ja-JP \"$12.50\"), \"US$12.50\" where the locale would print the bare \"USD\" and its own money also uses \"$\" (depends on the ICU data: es-MX and en-AU are typical; where ICU already prints \"US$\" nothing is added).\n * An explicit `currencyDisplay` in `options` and every other currency are left to Intl. Works on `formatToParts`, so it does not depend on one ICU version's patterns.\n */\nexport function uiCurrencyFormatter(currency: string, locale: string = DEFAULT_LOCALE, options?: Intl.NumberFormatOptions): Pick<Intl.NumberFormat, 'format'> {\n const loc = safeLocale(locale);\n const plan: UsdPlan = currency === 'USD' && !options?.currencyDisplay ? usdPlan(loc) : 'default';\n const nf = new Intl.NumberFormat(loc, { style: 'currency', currency, ...(plan === 'narrow' ? { currencyDisplay: 'narrowSymbol' as const } : {}), ...options });\n if (plan !== 'us') return nf;\n return {\n format: (value: number | bigint): string => {\n const parts = nf.formatToParts(value as number);\n const firstDigit = parts.findIndex(p => p.type === 'integer');\n let out = '';\n parts.forEach((p, i) => {\n if (p.type === 'currency' && p.value === 'USD') { out += 'US$'; return; }\n // \"US$\" hugs the amount (\"US$12.50\") where the locale put a space between the code and the digits\n if (p.type === 'literal' && /^\\s+$/.test(p.value) && i > 0 && parts[i - 1].type === 'currency' && i < firstDigit) return;\n out += p.value;\n });\n return out;\n },\n };\n}\n\n/** Formats an amount of money for the locale ('$1,234.50'). US dollars follow the rule on `uiCurrencyFormatter`. */\nexport function uiFormatCurrency(value: number | null | undefined, currency = 'USD', locale: string = DEFAULT_LOCALE, options?: Intl.NumberFormatOptions): string {\n if (value == null || Number.isNaN(Number(value))) return '';\n try { return uiCurrencyFormatter(currency, locale, options).format(Number(value)); } catch { return String(value); }\n}\n\n/** The month's name (0 = January) in the locale: 'Jan' / 'January' / 'ene' / 'enero'. */\nexport function uiMonthName(month: number, style: 'long' | 'short' | 'narrow' = 'short', locale: string = DEFAULT_LOCALE): string {\n return new Intl.DateTimeFormat(safeLocale(locale), { month: style, timeZone: 'UTC' }).format(new Date(Date.UTC(2021, month, 15)));\n}\n\n/** The weekday's name (0 = Sunday) in the locale: 'Sun' / 'Sunday' / 'dom' / 'domingo'. */\nexport function uiWeekdayName(day: number, style: 'long' | 'short' | 'narrow' = 'short', locale: string = DEFAULT_LOCALE): string {\n return new Intl.DateTimeFormat(safeLocale(locale), { weekday: style, timeZone: 'UTC' }).format(new Date(Date.UTC(2021, 0, 3 + day)));\n}\n\n/** \"9:00 AM\" (English) / \"9:00 a. m.\" (Spanish) for an hour (0-23) and minute. */\nexport function uiFormatClock(hour: number, minute = 0, locale: string = DEFAULT_LOCALE): string {\n const loc = safeLocale(locale);\n if (isEnglishUs(loc)) return `${hour % 12 || 12}:${String(minute).padStart(2, '0')} ${hour >= 12 ? 'PM' : 'AM'}`;\n return new Intl.DateTimeFormat(loc, { hour: 'numeric', minute: '2-digit', timeZone: 'UTC' }).format(new Date(Date.UTC(2021, 0, 3, hour, minute)));\n}\n\n/** \"9 AM\" (English) / \"9 a. m.\" (Spanish): an hour with no minutes, for calendar gutters. */\nexport function uiFormatHour(hour: number, locale: string = DEFAULT_LOCALE): string {\n const loc = safeLocale(locale);\n if (isEnglishUs(loc)) return `${hour % 12 || 12} ${hour >= 12 ? 'PM' : 'AM'}`;\n return new Intl.DateTimeFormat(loc, { hour: 'numeric', timeZone: 'UTC' }).format(new Date(Date.UTC(2021, 0, 3, hour)));\n}\n","import { DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE } from '@angular/common';\nimport { Injectable, OnDestroy, Signal, computed, inject, signal } from '@angular/core';\nimport {\n DEFAULT_LOCALE, safeLocale, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiMonthName, uiWeekdayName,\n} from './ui-format';\n\n/**\n * Every fixed text the library shows itself (button captions, aria-labels, empty messages ...), in English. These are the defaults:\n * an app that does nothing sees exactly the texts it always has. To translate, the app hands `UiLabelsService.setLabels()` a\n * dictionary with the same keys (any subset - a missing key keeps its English default). Texts a host passes in through an input\n * (`title`, `placeholder`, `emptyMessage` ...) always win over both.\n *\n * Placeholders are written `{{ name }}` (the same syntax Transloco uses, so one dictionary file can serve both). Two texts hold LITERAL merge tags\n * (`emailTemplateEditor.subjectPlaceholder`, `messagingSendMessagePanel.bulkMergeTagHint`): a dictionary handed to another interpolating system must escape them.\n *\n * Language and locale: the dictionary carries the locale of its dates, times and numbers in the `i18n.locale` marker ('en-US' / 'es-US'), so\n * handing `setLabels()` the Spanish dictionary alone gives Spanish texts AND Spanish dates (`provideUiLanguage()` does this for you; the dictionary is a lazy chunk, see ui-language.ts). An app that calls `setLocale()` keeps full control (e.g. 'es-MX'); a\n * dictionary of another language without the marker gets 'en-US' dates until the app sets a locale.\n *\n * Known limitation (ambient `uiText()` / `uiLocale()`): they read ONE process-wide service, the last `UiLabelsService` that was constructed.\n * That is right for a browser app (one root injector). It is NOT safe for server-side rendering with concurrent requests or for several Angular\n * roots on one page with different languages: there the helper functions can answer in another root's language. Components always use their own\n * injected service and are not affected; only the plain helper functions (error messages, validators, formatters without an injector) are.\n * Destroying a service hands the ambient role back to the previous one that is still alive (not to English).\n */\nexport const UI_DEFAULT_LABELS = {\n // pagination\n 'pagination.label': 'Pagination',\n 'pagination.previous': 'Previous page',\n 'pagination.next': 'Next page',\n 'pagination.page': 'Page {{ page }}',\n 'pagination.range': '{{ start }}–{{ end }} of {{ total }}',\n // offline banner\n 'offline.title': 'You are currently offline',\n 'offline.message': 'Some features may not work properly. Please check your internet connection.',\n 'offline.dismiss': 'Dismiss offline notification',\n // search input\n 'search.placeholder': 'Search...',\n 'search.searching': 'Searching',\n 'search.open': 'Open search',\n 'search.close': 'Close search',\n // table toolbar\n 'toolbar.moreActions': 'More actions',\n 'toolbar.moreActionsButton': 'More Actions',\n 'toolbar.saveCurrentView': 'Save Current View',\n 'toolbar.columns': 'Columns',\n 'toolbar.columnsDescription': 'Toggle columns on or off, then click Apply to update your table.',\n 'toolbar.cancel': 'Cancel',\n 'toolbar.apply': 'Apply',\n 'toolbar.savedViews': 'Saved Views',\n 'toolbar.noSavedViews': 'No saved views yet.',\n 'toolbar.deleteView': 'Delete {{ name }}',\n 'toolbar.done': 'Done',\n 'toolbar.saveView': 'Save View',\n 'toolbar.viewName': 'View Name',\n 'toolbar.viewNamePlaceholder': 'My Custom View',\n 'toolbar.save': 'Save',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.logOut': 'Log out',\n 'appShell.mainNavigation': 'Main navigation',\n 'appShell.readOnly': 'Read only',\n 'appShell.siteNavigation': 'Site navigation',\n 'appShell.skipToMainContent': 'Skip to main content',\n 'appShell.thisPageIsReadOnly': 'This page is read-only',\n 'appShell.toggleNavigation': 'Toggle navigation',\n 'audioPlayer.audioCouldNotBePlayed': 'Audio could not be played.',\n 'audioPlayer.yourBrowserDoesNotSupport': 'Your browser does not support the audio element.',\n 'bankAccountForm.9DigitRoutingNumber': '9-digit routing number',\n 'bankAccountForm.accountHolderName': 'Account holder name',\n 'bankAccountForm.accountNumber': 'Account number',\n 'bankAccountForm.accountType': 'Account type',\n 'bankAccountForm.confirmAccountNumber': 'Confirm account number',\n 'bankAccountForm.holderType': 'Holder type',\n 'bankAccountForm.reEnterAccountNumber': 'Re-enter account number',\n 'bankAccountForm.routingNumber': 'Routing number',\n 'board.dragACardToAnother': 'Drag a card to another column to move it, or focus a card and press Shift with the Left or Right Arrow key.',\n 'bulkMessagePanel.sendBulkMessage': 'Send Bulk Message',\n 'bulkMessagePanel.sendVia': 'Send via',\n 'bulkMessagePanel.sendingTo': 'Sending to',\n 'bulkMessagePanel.subjectLine': 'Subject line',\n 'bulkMessagePanel.writeYourMessage': 'Write your message...',\n 'businessHours.addShift': 'Add shift',\n 'businessHours.closed': 'Closed',\n 'businessHours.copyMondayToWeekdays': 'Copy Monday to weekdays',\n 'businessHours.removeShift': 'Remove shift',\n 'businessHours.to': 'to',\n 'calendar.all': 'All',\n 'calendar.allDay': 'All day',\n 'calendar.calendarView': 'Calendar view',\n 'calendar.loadingCalendar': 'Loading calendar',\n 'chartsPieChart.noData': 'No data',\n 'confirm.whatWillHappen': 'What will happen',\n 'contactPicker.clearSelection': 'Clear selection',\n 'contactPicker.noContactsFound': 'No contacts found',\n 'contactPicker.recipientDetails': 'RECIPIENT DETAILS',\n 'contactPicker.searching': 'Searching...',\n 'conversations.unread': 'unread',\n 'dateRangePicker.customDateRange': 'Custom date range',\n 'dateRangePicker.from': 'From',\n 'dateRangePicker.to': 'To',\n 'discountSelector.discounts': 'Discounts',\n 'emailTemplateEditor.activeFrom': 'Active From',\n 'emailTemplateEditor.activeTo': 'Active To',\n 'emailTemplateEditor.addBlock': 'Add Block',\n 'emailTemplateEditor.alignCenter': 'Align center',\n 'emailTemplateEditor.alignLeft': 'Align left',\n 'emailTemplateEditor.alignRight': 'Align right',\n 'emailTemplateEditor.altTextOptional': 'Alt text (optional)',\n 'emailTemplateEditor.assignments': 'Assignments',\n 'emailTemplateEditor.blockSpacing': 'Block spacing',\n 'emailTemplateEditor.blocks': 'Blocks',\n 'emailTemplateEditor.bold': 'Bold',\n 'emailTemplateEditor.bulletedList': 'Bulleted list',\n 'emailTemplateEditor.buttonLabel': 'Button label',\n 'emailTemplateEditor.callToAction': 'Call-to-Action',\n 'emailTemplateEditor.callToActionAddress': 'Call-to-action address',\n 'emailTemplateEditor.callToActionButtonLabel': 'Call-to-action button label',\n 'emailTemplateEditor.caption': 'Caption',\n 'emailTemplateEditor.category': 'Category',\n 'emailTemplateEditor.clickAVariableToInsert': 'Click a variable to insert it at the cursor position.',\n 'emailTemplateEditor.clickAVideoToAdd': 'Click a video to add it as a new block in your email.',\n 'emailTemplateEditor.clickToInsertOrDrag': 'Click to insert or drag into the editor.',\n 'emailTemplateEditor.contentBlocks': 'Content Blocks',\n 'emailTemplateEditor.deleteBlock': 'Delete block',\n 'emailTemplateEditor.dragToReorder': 'Drag to reorder',\n 'emailTemplateEditor.dropHere': 'Drop here',\n 'emailTemplateEditor.duplicateBlock': 'Duplicate block',\n 'emailTemplateEditor.eGClickToWatch': 'e.g. Click to watch my video for you',\n 'emailTemplateEditor.editorView': 'Editor view',\n 'emailTemplateEditor.emailDesign': 'Email design',\n 'emailTemplateEditor.emailPreview': 'Email preview',\n 'emailTemplateEditor.fontSize': 'Font size',\n 'emailTemplateEditor.headingLevel': 'Heading level',\n 'emailTemplateEditor.hideReactions': 'Hide Reactions',\n 'emailTemplateEditor.imageAddress': 'Image address',\n 'emailTemplateEditor.imageAltText': 'Image alt text',\n 'emailTemplateEditor.insertImage': 'Insert image',\n 'emailTemplateEditor.insertImage2': 'Insert Image',\n 'emailTemplateEditor.insertLink': 'Insert link',\n 'emailTemplateEditor.insertLink2': 'Insert Link',\n 'emailTemplateEditor.italic': 'Italic',\n 'emailTemplateEditor.linkAddress': 'Link address',\n 'emailTemplateEditor.linkText': 'Link text',\n 'emailTemplateEditor.linkTextOptional': 'Link text (optional)',\n 'emailTemplateEditor.loadingVideos': 'Loading videos',\n 'emailTemplateEditor.mobileEmailPreview': 'Mobile email preview',\n 'emailTemplateEditor.moveBlockDown': 'Move block down',\n 'emailTemplateEditor.moveBlockUp': 'Move block up',\n 'emailTemplateEditor.noAssignmentsFound': 'No assignments found',\n 'emailTemplateEditor.noAssignmentsMatchYourSearch': 'No assignments match your search.',\n 'emailTemplateEditor.noBlocksFound': 'No blocks found',\n 'emailTemplateEditor.noBlocksMatchYourSearch': 'No blocks match your search.',\n 'emailTemplateEditor.noVideosCreated': 'No videos created',\n 'emailTemplateEditor.numberedList': 'Numbered list',\n 'emailTemplateEditor.playback': 'Playback',\n 'emailTemplateEditor.readOnly': 'Read only',\n 'emailTemplateEditor.recipientEmail': 'Recipient Email',\n 'emailTemplateEditor.redo': 'Redo',\n 'emailTemplateEditor.rightPanelSections': 'Right panel sections',\n 'emailTemplateEditor.saveTemplate': 'Save Template',\n 'emailTemplateEditor.saveTheTemplateFirstBefore': 'Save the template first before sending a test.',\n 'emailTemplateEditor.searchAssignments': 'Search assignments',\n 'emailTemplateEditor.searchBlocks': 'Search blocks...',\n 'emailTemplateEditor.searchBlocks2': 'Search blocks',\n 'emailTemplateEditor.sendTestEmail': 'Send Test Email',\n 'emailTemplateEditor.sendThisTemplateToAn': 'Send this template to an email address to preview how it will look in an inbox.',\n 'emailTemplateEditor.size': 'Size',\n 'emailTemplateEditor.templateDetails': 'Template details',\n 'emailTemplateEditor.templateVariables': 'Template Variables',\n 'emailTemplateEditor.testSend': 'Test Send',\n 'emailTemplateEditor.textColor': 'Text color',\n 'emailTemplateEditor.textFormatting': 'Text formatting',\n 'emailTemplateEditor.underline': 'Underline',\n 'emailTemplateEditor.undo': 'Undo',\n 'emailTemplateEditor.useAsMyTemplate': 'Use as My Template',\n 'emailTemplateEditor.useThisTemplateAllYear': 'Use this template all year',\n 'emailTemplateEditor.variables': 'Variables',\n 'emailTemplateEditor.videoLibrary': 'Video Library',\n 'emailTemplateEditor.youHaveUnsavedChangesThe': 'You have unsaved changes. The test email sends the last saved version of this template.',\n 'imageGallery.nextImage': 'Next image',\n 'imageGallery.previousImage': 'Previous image',\n 'imageReposition.dragThePhotoOrUse': 'Drag the photo, or use the arrow keys, to center it in the frame.',\n 'importExport.allRequiredColumnsMatchedAutomatically': 'All required columns matched automatically. Review below or click',\n 'importExport.clickToChooseACsv': 'Click to choose a CSV file',\n 'importExport.errors': 'Errors:',\n 'importExport.exportAllRecordsToCsv': 'Export all records to CSV',\n 'importExport.importDataPreview': 'Import data preview',\n 'importExport.importProgress': 'Import progress',\n 'importExport.importRecordsFromCsv': 'Import records from CSV',\n 'importExport.importResult': 'Import result',\n 'importExport.importedWithChanges': 'Imported with changes:',\n 'importExport.keepThisWindowOpenUntil': 'Keep this window open until it finishes.',\n 'importExport.previewImport': 'Preview Import',\n 'importExport.recordSImported_one': 'record(s) imported',\n 'importExport.recordSImported_other': 'record(s) imported',\n 'importExport.rowSHadErrors_one': 'row(s) had errors',\n 'importExport.rowSHadErrors_other': 'row(s) had errors',\n 'importExport.sampleValue': 'Sample Value',\n 'importExport.selectWhereYouReImporting': 'Select where you\\'re importing from. We\\'ll automatically match the columns from your export file.',\n 'importExport.startWithOurCsvTemplate': 'Start with our CSV template to ensure correct column names.',\n 'importExport.supportedCsvFiles': 'Supported: .csv files',\n 'importExport.toContinue': 'to continue.',\n 'importExport.valueSChangedDuringImport_one': 'value(s) changed during import',\n 'importExport.valueSChangedDuringImport_other': 'value(s) changed during import',\n 'importExport.yourCsvColumn': 'Your CSV Column',\n 'keypad.deleteLastDigit': 'Delete last digit',\n 'mapsUsStateMap.smallStates': 'Small states',\n 'mapsUsStateMap.valuesByState': 'Values by state',\n 'messagingDocumentSendOptions.chosenDocuments': 'Chosen documents',\n 'messagingDocumentSendOptions.documentsCanOnlyBeTexted': 'Documents can only be texted as an e-signature link, which isn\\'t available here.',\n 'messagingDocumentSendOptions.docusignEmailsTheDocumentTo': 'DocuSign emails the document to the recipient. The Subject and Message above are used for the DocuSign email.',\n 'messagingDocumentSendOptions.expiryDays': 'Expiry (days)',\n 'messagingDocumentSendOptions.includedDocuments': 'Included documents',\n 'messagingDocumentSendOptions.maxReminders': 'Max Reminders',\n 'messagingDocumentSendOptions.reminderIntervalDays': 'Reminder Interval (days)',\n 'messagingDocumentSendOptions.requireMyCountersignatureAfterClient': 'Require my countersignature after client signs',\n 'messagingDocumentSendOptions.searchForAContact': 'Search for a contact…',\n 'messagingDocumentSendOptions.searchYourDocumentsByName': 'Search your documents by name…',\n 'messagingDocumentSendOptions.signatureProvider': 'Signature provider',\n 'messagingDocumentSendOptions.signers': 'Signers',\n 'messagingDocumentSendOptions.signersAreEmailedOneAfter': 'Signers are emailed one after another, in this order; each receives the link after the previous one signs.',\n 'messagingDocumentSendOptions.whatShouldTheRecipientDo': 'What should the recipient do?',\n 'messagingSendMessagePanel.addEmailAddress': 'Add Email Address',\n 'messagingSendMessagePanel.addImageMediaMms': 'Add Image / Media (MMS)',\n 'messagingSendMessagePanel.addPhoneNumber': 'Add Phone Number',\n 'messagingSendMessagePanel.applyValue': 'Apply value',\n 'messagingSendMessagePanel.attachFiles': 'Attach Files',\n 'messagingSendMessagePanel.attachImage': 'Attach Image',\n 'messagingSendMessagePanel.attachments': 'Attachments',\n 'messagingSendMessagePanel.backToTemplates': 'Back to templates',\n 'messagingSendMessagePanel.body': 'Body',\n 'messagingSendMessagePanel.channelLockedWhileSending': 'Channel locked while sending.',\n 'messagingSendMessagePanel.closePreview': 'Close preview',\n 'messagingSendMessagePanel.emailPreview': 'Email Preview',\n 'messagingSendMessagePanel.emailSubject': 'Email subject...',\n 'messagingSendMessagePanel.headsUp': 'Heads up',\n 'messagingSendMessagePanel.noEmailAddressOnFile': 'No email address on file for this contact.',\n 'messagingSendMessagePanel.noJobsFound': 'No jobs found',\n 'messagingSendMessagePanel.noPhoneNumberOnFile': 'No phone number on file for this contact.',\n 'messagingSendMessagePanel.raw': 'Raw',\n 'messagingSendMessagePanel.recipients': 'Recipients',\n 'messagingSendMessagePanel.removeAttachment': 'Remove attachment',\n 'messagingSendMessagePanel.saveContinue': 'Save & Continue',\n 'messagingSendMessagePanel.scheduleForLater': 'Schedule for later',\n 'messagingSendMessagePanel.searchByContactName': 'Search by contact name...',\n 'messagingSendMessagePanel.searchByJobName': 'Search by job name…',\n 'messagingSendMessagePanel.sendAt': 'Send at',\n 'messagingSendMessagePanel.sendVia': 'Send via',\n 'messagingSendMessagePanel.sentAsSmsKeepMessages': 'Sent as SMS. Keep messages concise for best delivery.',\n 'messagingSendMessagePanel.separateAddressesWithCommasEveryone': 'Separate addresses with commas. Everyone listed receives a copy.',\n 'messagingSendMessagePanel.subject': 'SUBJECT',\n 'messagingSendMessagePanel.subject2': 'Subject...',\n 'messagingSendMessagePanel.textMessagingIsNotEnabled': 'Text messaging is not enabled. Connect Twilio in Comm Settings to send texts.',\n 'messagingSendMessagePanel.textPreview': 'Text Preview',\n 'messagingSendMessagePanel.theDocumentsAreTextedAs': 'The documents are texted as a link after your message. Images and scheduling aren\\'t available when sending documents.',\n 'messagingSendMessagePanel.thisTemplateHasFieldsThat': 'This template has fields that need values before sending.',\n 'messagingSendMessagePanel.to': 'To',\n 'messagingSendMessagePanel.viewSendPreview': 'View Send Preview',\n 'messagingSendMessagePanel.whoWouldYouLikeTo': 'Who would you like to message?',\n 'messagingSendMessagePanel.writeYourMessage': 'Write your message...',\n 'messagingSendMessagePanel.yourMessageGoesOutWith': 'Your message goes out with the documents. Attachments and scheduling aren\\'t available when sending documents.',\n 'messagingTemplatePicker.noTemplatesFound': 'No templates found',\n 'messagingTemplatePicker.searchTemplates': 'Search templates...',\n 'messagingTemplatePicker.searching': 'Searching...',\n 'messagingVideoLinkSettings.buttonLabelEGBook': 'Button label (e.g. Book a Call)',\n 'messagingVideoLinkSettings.callToAction': 'Call-to-Action',\n 'messagingVideoLinkSettings.callToActionLabel': 'Call-to-action label',\n 'messagingVideoLinkSettings.callToActionUrl': 'Call-to-action URL',\n 'messagingVideoLinkSettings.hideReactions': 'Hide reactions',\n 'messagingVideoLinkSettings.playback': 'Playback',\n 'messagingVideoLinkSettings.removeVideo': 'Remove Video',\n 'messagingVideoLinkSettings.videoSettings': 'Video settings',\n 'messagingVideoLinkSettings.watchPreviewOpensInA': 'Watch Preview (opens in a new tab)',\n 'messagingVideoPicker.noVideosFound': 'No videos found',\n 'messagingVideoPicker.removeVideo': 'Remove video',\n 'messagingVideoPicker.searchVideos': 'Search videos...',\n 'messagingVideoPicker.searching': 'Searching...',\n 'multiSelect.noOptionsFound': 'No options found',\n 'notes.addANote': 'Add a note',\n 'notes.addANote2': 'Add a note...',\n 'notes.addNote': 'Add Note',\n 'notes.deleteNote': 'Delete note',\n 'notes.deleteNote2': 'Delete Note',\n 'notes.deleteThisNoteItIs': 'Delete this note? It is permanently removed from this record and cannot be undone.',\n 'notes.editNote': 'Edit note',\n 'notes.edited': 'edited',\n 'notes.loadingNotes': 'Loading notes...',\n 'notes.noNotesYet': 'No notes yet',\n 'notes.notes': 'Notes',\n 'optionCard.selected': 'Selected',\n 'panelInfoList.noInformationAvailable': 'No information available.',\n 'paymentSidePanel.addAsSplitPayment': 'Add as split payment',\n 'paymentSidePanel.applyPaymentTo': 'Apply payment to',\n 'paymentSidePanel.check': 'Check #',\n 'paymentSidePanel.chooseAReader': 'Choose a reader...',\n 'paymentSidePanel.clearPaymentMethod': 'Clear payment method',\n 'paymentSidePanel.enterAmount': 'Enter amount',\n 'paymentSidePanel.last4DigitsOfAccount': 'Last 4 digits of account',\n 'paymentSidePanel.last4DigitsOfCard': 'Last 4 digits of card',\n 'paymentSidePanel.optionalNote': 'Optional note',\n 'paymentSidePanel.outstandingBalance': 'Outstanding Balance',\n 'paymentSidePanel.paymentMethod': 'Payment Method',\n 'paymentSidePanel.previouslyUsed': 'Previously Used',\n 'paymentSidePanel.receivedDate': 'Received Date',\n 'paymentSidePanel.recordedSoFar': 'Recorded so far',\n 'paymentSidePanel.recordingPayment': 'Recording payment...',\n 'paymentSidePanel.refreshReaderStatus': 'Refresh reader status',\n 'paymentSidePanel.retryRecording': 'Retry recording',\n 'paymentSidePanel.selectPaymentMethod': 'Select payment method',\n 'paymentSidePanel.selectReader': 'Select Reader',\n 'paymentSidePanel.splitPayment': 'Split Payment',\n 'paymentSidePanel.waitingForCustomerToTap': 'Waiting for customer to tap or insert card...',\n 'pdfDocumentSignModal.yourSavedSignature': 'Your saved signature',\n 'pdfDocumentViewerModal.downloadDocument': 'Download document',\n 'pdfDocumentViewerModal.printDocument': 'Print document',\n 'phoneNumberPicker.areaCode': 'Area code',\n 'phoneNumberPicker.availablePhoneNumbers': 'Available phone numbers',\n 'phoneNumberPicker.backToResults': 'Back to results',\n 'phoneNumberPicker.couldnTSearchForNumbers': 'Couldn\\'t search for numbers. Try again.',\n 'phoneNumberPicker.searchBy': 'Search by',\n 'phoneNumberPicker.tryADifferentZipCode': 'Try a different ZIP code or area code.',\n 'phoneNumberPicker.weLlLookForNumbers': 'We\\'ll look for numbers near this ZIP code. Edit it if you want a different area.',\n 'phoneNumberPicker.weLlLookForNumbers2': 'We\\'ll look for numbers in this area code.',\n 'phoneNumberPicker.zipCode': 'ZIP code',\n 'qrCode.downloadQrCode': 'Download QR Code',\n 'qrCode.longPressTheImageAbove': 'Long-press the image above to save it.',\n 'qrCode.qrCodeUnavailableCopyThe': 'QR code unavailable. Copy the link below instead.',\n 'richTextEditor.aa': 'Aa',\n 'richTextEditor.alignCenter': 'Align center',\n 'richTextEditor.alignCenter2': 'Align Center',\n 'richTextEditor.alignLeft': 'Align left',\n 'richTextEditor.alignLeft2': 'Align Left',\n 'richTextEditor.alignRight': 'Align right',\n 'richTextEditor.alignRight2': 'Align Right',\n 'richTextEditor.bold': 'Bold',\n 'richTextEditor.boldCtrlB': 'Bold (Ctrl+B)',\n 'richTextEditor.bulletList': 'Bullet list',\n 'richTextEditor.bulletList2': 'Bullet List',\n 'richTextEditor.clearFormatting': 'Clear formatting',\n 'richTextEditor.clearFormatting2': 'Clear Formatting',\n 'richTextEditor.fontFamily': 'Font family',\n 'richTextEditor.fontFamily2': 'Font Family',\n 'richTextEditor.fontSize': 'Font size',\n 'richTextEditor.fontSize2': 'Font Size',\n 'richTextEditor.headingStyle': 'Heading style',\n 'richTextEditor.headingStyle2': 'Heading Style',\n 'richTextEditor.highlightColor': 'Highlight Color',\n 'richTextEditor.highlightColor2': 'Highlight color',\n 'richTextEditor.indent': 'Indent',\n 'richTextEditor.italic': 'Italic',\n 'richTextEditor.italicCtrlI': 'Italic (Ctrl+I)',\n 'richTextEditor.numberedList': 'Numbered list',\n 'richTextEditor.numberedList2': 'Numbered List',\n 'richTextEditor.outdent': 'Outdent',\n 'richTextEditor.removeLink': 'Remove link',\n 'richTextEditor.strikethrough': 'Strikethrough',\n 'richTextEditor.textColor': 'Text Color',\n 'richTextEditor.textColor2': 'Text color',\n 'richTextEditor.textFormatting': 'Text formatting',\n 'richTextEditor.underline': 'Underline',\n 'richTextEditor.underlineCtrlU': 'Underline (Ctrl+U)',\n 'richTextEditor.webAddress': 'Web address',\n 'setupWizard.setupProgress': 'Setup progress',\n 'shareMenu.shareOptions': 'Share options',\n 'sidePanel.dismissPanel': 'Dismiss panel',\n 'snackbar.dismissNotification': 'Dismiss notification',\n 'snackbar.notifications': 'Notifications',\n 'stripeMicrodepositVerify.6LettersOrNumbersFrom': '6 letters or numbers (SM plus 4) from the deposit description',\n 'stripeMicrodepositVerify.firstDepositCents': 'First deposit (cents)',\n 'stripeMicrodepositVerify.keepWaiting': 'Keep waiting',\n 'stripeMicrodepositVerify.openStripeSVerificationPage': 'Open the bank verification page',\n 'stripeMicrodepositVerify.pending': 'Pending',\n 'stripeMicrodepositVerify.secondDepositCents': 'Second deposit (cents)',\n 'stripeMicrodepositVerify.verificationCode': 'Verification code',\n 'stripePaymentStripeMethod.paymentDetails': 'Payment details',\n 'stripePaymentStripeMethod.paymentTotal': 'Payment total',\n 'stripePaymentStripeMethod.totalCharged': 'Total charged',\n 'stripeStripeConnect.accountSetupComplete': 'Account setup complete',\n 'stripeStripeConnect.accountSetupIncomplete': 'Account setup incomplete',\n 'stripeStripeConnect.checkStatusBusy': 'Check Status, busy',\n 'stripeStripeConnect.checking': 'Checking...',\n 'stripeStripeConnect.completeSetupOpensInA': 'Complete Setup, opens in a new tab, busy',\n 'stripeStripeConnect.completeYourStripeAccountSetup': 'Complete your Stripe account setup to start collecting payments from customers.',\n 'stripeStripeConnect.stripeIsVerifyingYourAccount': 'Stripe is verifying your account',\n 'stripeStripeConnect.viewStripeDashboard': 'View Stripe Dashboard',\n 'stripeStripeConnect.yourSetupHasBeenSubmitted': 'Your setup has been submitted. Stripe is reviewing your information — this usually takes a few minutes. Payment collection will be enabled automatically once approved.',\n 'textInput.showPassword': 'Show password',\n 'toast.dismissNotification': 'Dismiss notification',\n 'common.actions': 'Actions',\n 'common.back': 'Back',\n 'common.details': 'Details',\n 'common.done': 'Done',\n 'common.download': 'Download',\n 'common.edit': 'Edit',\n 'common.email': 'Email',\n 'common.export': 'Export',\n 'common.import': 'Import',\n 'common.insert': 'Insert',\n 'common.link': 'Link',\n 'common.loadingellipsis': 'Loading...',\n 'common.message': 'Message',\n 'common.mobile': 'Mobile',\n 'common.name': 'Name',\n 'common.next': 'Next',\n 'common.note': 'Note',\n 'common.phone': 'Phone',\n 'common.preview': 'Preview',\n 'common.previous': 'Previous',\n 'common.print': 'Print',\n 'common.retry': 'Retry',\n 'common.save': 'Save',\n 'common.searchellipsis': 'Search...',\n 'common.select': 'Select',\n 'common.share': 'Share',\n 'common.subject': 'Subject',\n 'common.text': 'Text',\n 'common.today': 'Today',\n 'common.video': 'Video',\n 'common.view': 'View',\n // component texts (generated by the template pass, grouped by component)\n 'addressInput.cityLabel': 'City',\n 'addressInput.label': 'Address',\n 'addressInput.stateLabel': 'State',\n 'addressInput.streetLabel': 'Street Address',\n 'addressInput.unitLabel': 'Apt / Suite',\n 'addressInput.zipError': 'Enter a valid ZIP code.',\n 'avatar.editLabel': 'Change photo',\n 'board.ariaLabel': 'Board',\n 'board.emptyColumnText': 'Nothing here yet',\n 'board.emptyMessage': 'Nothing to show.',\n 'board.retryLabel': 'Retry',\n 'calendar.emptyMessage': 'No events in this period.',\n 'cardListItem.deleteLabel': 'Delete',\n 'combobox.noResultsText': 'No results found',\n 'contactPicker.placeholder': 'Search by name...',\n 'conversations.attachLabel': 'Attach image or video',\n 'conversations.attachmentPreviewLabel': 'Attachment preview',\n 'conversations.backLabel': 'Back to conversations',\n 'conversations.closeContextLabel': 'Close contact info',\n 'conversations.composeLabel': 'Type a message',\n 'conversations.composePlaceholder': 'Type a message...',\n 'conversations.contextTitle': 'Contact Info',\n 'conversations.deleteRowLabel': 'Delete conversation with',\n 'conversations.deleteThreadLabel': 'Delete conversation',\n 'conversations.emptyMessage': 'Click the + button to start messaging',\n 'conversations.emptyReadOnlyMessage': 'Conversations will appear here once texting starts.',\n 'conversations.emptyTitle': 'No conversations yet',\n 'conversations.fileFallbackName': 'Attachment',\n 'conversations.filterAriaLabel': 'Filter conversations',\n 'conversations.filteredEmptyMessage': 'No conversation matches your search or filter.',\n 'conversations.filteredEmptyTitle': 'No conversations found',\n 'conversations.hideContextLabel': 'Hide contact info',\n 'conversations.linkEmptyText': 'No records found.',\n 'conversations.linkLabel': 'Link a record',\n 'conversations.linkLoadingText': 'Loading...',\n 'conversations.linkPickerTitle': 'Link a Record',\n 'conversations.linkSearchLabel': 'Search records',\n 'conversations.linkSearchPlaceholder': 'Search...',\n 'conversations.listAriaLabel': 'Conversations',\n 'conversations.loadEarlierLabel': 'Load earlier messages',\n 'conversations.loadingLabel': 'Loading conversations',\n 'conversations.messagesAriaLabel': 'Messages with',\n 'conversations.newLabel': 'Start new message',\n 'conversations.newTooltip': 'New message',\n 'conversations.noMessagesReadText': 'No messages in this conversation yet.',\n 'conversations.noMessagesText': 'No messages',\n 'conversations.noMessagesWriteText': 'No messages in this conversation yet. Send the first message below.',\n 'conversations.openMediaLabel': 'Open',\n 'conversations.paginationAriaLabel': 'Conversation pages',\n 'conversations.removeAttachmentLabel': 'Remove attachment',\n 'conversations.removeLinkLabel': 'Remove link',\n 'conversations.searchAriaLabel': 'Search conversations',\n 'conversations.searchPlaceholder': 'Search by name or phone...',\n 'conversations.sendLabel': 'Send message',\n 'conversations.showContextLabel': 'Show contact info',\n 'conversations.sizeMessage': 'That file is too large.',\n 'conversations.templateLabel': 'Use a template',\n 'conversations.threadAriaLabel': 'Message thread',\n 'conversations.threadEmptyMessage': 'Choose a conversation from the list or start a new one',\n 'conversations.threadEmptyTitle': 'Select a conversation',\n 'conversations.title': 'Messages',\n 'conversations.typeMessage': 'Only image and video files are supported.',\n 'conversations.youLabel': 'You',\n 'copyField.copiedLabel': 'Copied',\n 'copyField.copiedMessage': 'Copied to clipboard',\n 'copyField.copyLabel': 'Copy',\n 'copyField.failedMessage': 'Could not copy automatically. The text is selected: press Ctrl+C (Cmd+C on a Mac) to copy it.',\n 'dateRangePicker.ariaLabel': 'Date range',\n 'detailCard.editLabel': 'Edit',\n 'discountSelector.emptyMessage': 'No discounts available. Create discounts in Settings.',\n 'emailTemplateEditor.assignmentsDescription': 'Assign this template to at least one automated email trigger. When triggered, the system will send this template.',\n 'emailTemplateEditor.categoryPlaceholder': 'Select category...',\n 'emailTemplateEditor.namePlaceholder': 'e.g. Follow-Up — Friendly',\n 'emailTemplateEditor.noVideosHint': 'Upload videos on the Video Messages page.',\n 'emailTemplateEditor.readOnlyNote': 'You have read-only access to email templates, so this template can be viewed but not saved.',\n // NOTE: the next text holds a literal merge tag ({{property_address}}) that must reach the screen as written. UiLabelsService leaves a placeholder it was given no value for\n // visible, so it is safe here; a dictionary fed to ANOTHER interpolating system (Transloco, ICU ...) must escape it there, or it is replaced/emptied.\n 'emailTemplateEditor.subjectPlaceholder': 'e.g. Following up on {{property_address}}',\n 'emailTemplateEditor.systemNote': 'This is a built-in system template, so it can be viewed but not changed.',\n 'fileInput.buttonLabel': 'Browse',\n 'fileInput.placeholder': 'No file chosen',\n 'fileInput.removeLabel': 'Remove',\n 'fixedFooter.ariaLabel': 'Page actions',\n 'skipLink.ariaLabel': 'Skip links',\n 'imageField.label': 'Photo',\n 'imageField.upload': 'Upload Photo',\n 'imageField.change': 'Change Photo',\n 'imageField.remove': 'Remove Photo',\n 'imageField.typeMessage': 'Only PNG, JPEG, and WEBP images are allowed.',\n 'imageField.sizeMessage': 'The image must be 10 MB or smaller.',\n 'imageField.emptyMessage': 'The image file is empty.',\n 'imageGallery.ariaLabel': 'Image gallery',\n 'imageGalleryDialog.closeLabel': 'Close',\n 'imageGalleryDialog.galleryLabel': 'Image gallery',\n 'imageReposition.label': 'Photo position',\n 'importExport.actionLabel': 'Select',\n 'kpiCard.loadingLabel': 'Loading',\n 'list.helpText': 'Hold Shift and press the arrow keys to move this item. Shift plus Home or End moves it to the start or end.',\n 'mapsUsStateMap.ariaLabel': 'US state map',\n 'messagingDocumentSendOptions.label': 'Documents',\n 'messagingSendMessagePanel.jobLabel': 'Job',\n 'messagingSendMessagePanel.receiptLabel': 'Include payment receipt',\n 'messagingSendMessagePanel.title': 'Send Message',\n 'messagingTemplatePicker.label': 'Template',\n 'multiSelect.placeholder': 'Select...',\n 'multiSelect.searchPlaceholder': 'Search...',\n 'passwordRequirements.title': 'Password Requirements:',\n 'passwordRequirements.tooLong': 'Password must be {{ max }} characters or fewer.',\n 'paymentSidePanel.noReadersText': 'No readers registered. Add a card reader in your payment settings.',\n 'paymentSidePanel.splitSubmitLabel': 'Record Split Payment',\n 'paymentSidePanel.submitLabel': 'Add Payment',\n 'paymentSidePanel.title': 'Record Payment',\n 'pdfDocumentViewerModal.loadingText': 'Loading document…',\n 'pdfHotspot.imageAlt': 'Applied signature',\n 'pdfHotspot.label': 'Sign Here',\n 'pdfPdfViewer.errorText': 'Failed to load document.',\n 'pdfPdfViewer.loadingText': 'Loading document…',\n 'pdfPdfViewer.openText': 'Open the document',\n 'phoneNumberPicker.confirmLabel': 'Get this number',\n 'phoneNumberPicker.title': 'Get a Phone Number',\n 'qrCode.alt': 'QR code — scan to open the link',\n 'reminderAlerts.ariaLabel': 'Alerts',\n 'shareMenu.label': 'this page',\n 'sidePanel.cancelLabel': 'Cancel',\n 'signaturePad.clearLabel': 'Clear',\n 'stepper.ariaLabel': 'Progress',\n 'stripeStripeConnect.startLabel': 'Set Up Payment Account',\n 'stripeStripeConnect.startText': 'Collect your customers\\' payments online. You finish setting up your account on Stripe, then come back here.',\n 'stripeStripeConnect.startTitle': 'Connect your Stripe account',\n 'stripeStripeConnect.title': 'Stripe Connect Account',\n 'stripeStripePayment.label': 'Payment details',\n 'stripeStripePayment.loadErrorMessage': 'Failed to load the payment form. Please try again.',\n 'textTemplatePicker.label': 'Insert variable',\n 'textTemplatePicker.searchPlaceholder': 'Search variables...',\n 'toast.queueLabel': '+{n} more',\n // component texts (generated by the template pass, grouped by component)\n 'combobox.resultsAvailable_one': '{{ count }} result available',\n 'combobox.resultsAvailable_other': '{{ count }} results available',\n 'combobox.typeAtLeast_one': 'Type at least {{ count }} character',\n 'combobox.typeAtLeast_other': 'Type at least {{ count }} characters',\n 'errors.checkConnection': 'Please check your connection and try again.',\n 'errors.dataWord': 'data',\n 'errors.failed': 'There was an error {{ verb }} {{ ctx }}.',\n 'errors.invalidData': 'The data you submitted is invalid. Please check your input and try again.',\n 'errors.noPermission': 'You don\\'t have permission to {{ verb }} {{ ctx }}.',\n 'errors.notFound': 'The {{ ctx }} you\\'re looking for could not be found.',\n 'errors.permissionVerb.create': 'create',\n 'errors.permissionVerb.delete': 'delete',\n 'errors.permissionVerb.download': 'download',\n 'errors.permissionVerb.export': 'export',\n 'errors.permissionVerb.import': 'import',\n 'errors.permissionVerb.load': 'access',\n 'errors.permissionVerb.save': 'save',\n 'errors.permissionVerb.send': 'send',\n 'errors.permissionVerb.update': 'update',\n 'errors.permissionVerb.upload': 'upload',\n 'errors.sessionExpired': 'Your session has expired. Please log in again.',\n 'errors.timedOut': 'The request timed out — please try again.',\n 'errors.tooManyRequests': 'Too many requests — please wait a moment and try again.',\n 'errors.tryAgain': 'Please try again.',\n 'errors.tryInAFewMinutes': 'Please try again in a few minutes.',\n 'errors.verb.create': 'creating',\n 'errors.verb.delete': 'deleting',\n 'errors.verb.download': 'downloading',\n 'errors.verb.export': 'exporting',\n 'errors.verb.import': 'importing',\n 'errors.verb.load': 'loading',\n 'errors.verb.save': 'saving',\n 'errors.verb.send': 'sending',\n 'errors.verb.update': 'updating',\n 'errors.verb.upload': 'uploading',\n 'validation.atOrAfter': 'Must be at or after {{ value }}',\n 'validation.atOrBefore': 'Must be at or before {{ value }}',\n 'validation.date': 'Please enter a valid date.',\n 'validation.dateTime': 'Please enter a valid date-time.',\n 'validation.decimals_one': 'Use at most {{ count }} decimal place',\n 'validation.decimals_other': 'Use at most {{ count }} decimal places',\n 'validation.email': 'Please enter a valid email address.',\n 'validation.max': 'Must be at most {{ max }}',\n 'validation.min': 'Must be at least {{ min }}',\n 'validation.number': 'Please enter a valid number.',\n 'validation.onOrAfter': 'Must be on or after {{ value }}',\n 'validation.onOrBefore': 'Must be on or before {{ value }}',\n 'validation.phone': 'Please enter a valid phone number.',\n 'validation.required': '{{ label }} is required.',\n 'validation.time': 'Please enter a valid time.',\n 'validation.tooLong': 'Too long (max {{ max }} characters).',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.collapseSidebar': 'Collapse sidebar',\n 'appShell.expandSidebar': 'Expand sidebar',\n 'businessHours.addSecondShiftOn': 'Add a second shift on {{ day }}',\n 'businessHours.closeAfterOpen': '{{ day }}: closing time must be after opening time.',\n 'businessHours.closes': '{{ day }} closes',\n 'businessHours.label': 'Business hours',\n 'businessHours.needsOpenDay': '{{ label }} needs at least one open day.',\n 'businessHours.opens': '{{ day }} opens',\n 'businessHours.removeSecondShiftOn': 'Remove the second shift on {{ day }}',\n 'businessHours.secondShiftCloses': '{{ day }} second shift closes',\n 'businessHours.secondShiftOpens': '{{ day }} second shift opens',\n 'businessHours.secondShiftRange': '{{ day }}: second shift closing time must be after its opening time.',\n 'businessHours.shiftOrder': '{{ day }}: the second shift must start after the first ends.',\n 'contactPicker.noResults': 'No results',\n 'contactPicker.searchContacts': 'Search contacts',\n 'dateRangePicker.preset.q1': 'Q1',\n 'dateRangePicker.preset.q2': 'Q2',\n 'dateRangePicker.preset.q3': 'Q3',\n 'dateRangePicker.preset.q4': 'Q4',\n 'dateRangePicker.preset.lastYear': 'Prior Year',\n 'dateRangePicker.preset.last12months': 'Last 12 Months',\n 'dateRangePicker.preset.30days': 'Last 30 Days',\n 'dateRangePicker.preset.7days': 'Last 7 Days',\n 'dateRangePicker.preset.all': 'All Time',\n 'dateRangePicker.preset.custom': 'Custom Range',\n 'dateRangePicker.preset.month': 'This Month',\n 'dateRangePicker.preset.quarter': 'This Quarter',\n 'dateRangePicker.preset.today': 'Today',\n 'dateRangePicker.preset.ytd': 'Year to Date',\n 'fileInput.empty': 'The file is empty.',\n 'fileInput.filesSelected': '{{ count }} files selected',\n 'fileInput.notAdded': '\"{{ name }}\" was not added. {{ message }}',\n 'fileInput.onlyTypesAllowed': 'Only {{ types }} files are allowed.',\n 'fileInput.tooBig': 'The file must be {{ size }} or smaller.',\n 'fileInput.tooSmall': 'The file must be at least {{ size }}.',\n 'list.moveDown': 'Move {{ label }} down',\n 'list.moveEarlier': 'Move earlier {{ label }}',\n 'list.moveLater': 'Move later {{ label }}',\n 'list.moveUp': 'Move {{ label }} up',\n 'list.moved': '{{ label }} moved to position {{ position }} of {{ total }}',\n 'passwordRequirements.rule.digit': 'One digit',\n 'passwordRequirements.rule.digitRange': 'One digit (0-9)',\n 'passwordRequirements.rule.length': 'At least 8 characters',\n 'passwordRequirements.rule.lowercase': 'One lowercase letter',\n 'passwordRequirements.rule.special': 'One special character (!@#$%^&*...)',\n 'passwordRequirements.rule.specialAscii': 'One special character (e.g. ! @ # $ %)',\n 'passwordRequirements.rule.specialListed': 'One special character (@ $ ! % * ? & #)',\n 'passwordRequirements.rule.uppercase': 'One uppercase letter',\n 'radioMatrix.chooseEveryRow': 'Choose an option in every row.',\n 'radioMatrix.chooseEveryRowLabelled': '{{ label }}: choose an option in every row.',\n 'shareMenu.copyLink': 'Copy link',\n 'shareMenu.copyThisLink': 'Copy this link:',\n 'shareMenu.linkCopied': 'Link copied',\n 'signaturePad.captured': 'Signature captured',\n 'signaturePad.cleared': 'Signature cleared',\n 'signaturePad.keyboardHelp': 'Use the arrow keys to move the cursor, hold Space to draw, press Escape to hide the cursor.',\n 'signaturePad.name': 'Signature pad',\n 'starRating.noRating': 'No rating',\n 'starRating.starsOutOf_one': '{{ count }} star out of {{ max }}',\n 'starRating.starsOutOf_other': '{{ count }} stars out of {{ max }}',\n // component texts (generated by the template pass, grouped by component)\n 'bankAccountForm.accountMin4': 'Account number must be at least 4 digits.',\n 'bankAccountForm.accountRequired': 'Account number is required.',\n 'bankAccountForm.accountType.checking': 'Checking',\n 'bankAccountForm.accountType.savings': 'Savings',\n 'bankAccountForm.accountsDoNotMatch': 'Account numbers do not match.',\n 'bankAccountForm.confirmRequired': 'Confirm account number is required.',\n 'bankAccountForm.holderRequired': 'Account holder name is required.',\n 'bankAccountForm.holderType.company': 'Business',\n 'bankAccountForm.holderType.individual': 'Individual',\n 'bankAccountForm.mandateRequired': 'You must authorize ACH debits to continue.',\n 'bankAccountForm.routingMustBe9': 'Routing number must be 9 digits.',\n 'bankAccountForm.routingRequired': 'Routing number is required.',\n 'bankAccountForm.selectValidAccountType': 'Select a valid account type.',\n 'bankAccountForm.selectValidHolderType': 'Select a valid holder type.',\n 'importExport.csvEmpty': 'The CSV file appears to be empty.',\n 'importExport.csvParseFailed': 'Failed to parse the CSV file. Please check the format and try again.',\n 'importExport.exportFailed': 'Failed to export {{ entity }}. Please try again.',\n 'importExport.exportLimitReached': '{{ count }} of {{ total }} {{ entity }} exported — export limit reached.',\n 'importExport.importEntity': 'Import {{ entity }}',\n 'importExport.importFailed': 'Import failed. Please check your data and try again.',\n 'importExport.importFrom': 'Import from {{ source }}',\n 'importExport.importedSuccessfully': '{{ count }} {{ entity }} imported successfully',\n 'importExport.importingRecords_one': 'Importing {{ count }} record(s)…',\n 'importExport.importingRecords_other': 'Importing {{ count }} record(s)…',\n 'importExport.recordsImported_one': '{{ count }} record(s) imported.',\n 'importExport.recordsImported_other': '{{ count }} record(s) imported.',\n 'importExport.requiredNotMapped': 'Required field(s) not mapped: {{ fields }}',\n 'importExport.rowsHadErrors_one': '{{ count }} row(s) had errors.',\n 'importExport.rowsHadErrors_other': '{{ count }} row(s) had errors.',\n 'importExport.step.mapping': 'Map Columns',\n 'importExport.step.source': 'Source',\n 'importExport.step.upload': 'Upload',\n 'importExport.valuesChanged_one': '{{ count }} value(s) changed during import.',\n 'importExport.valuesChanged_other': '{{ count }} value(s) changed during import.',\n 'paymentSidePanel.addedToSplit': 'Added {{ method }} {{ amount }} to the split. {{ total }} recorded.',\n 'paymentSidePanel.additionalAmountLabel': 'Additional Amount ({{ symbol }})',\n 'paymentSidePanel.allocatedExceeds': 'Allocated {{ allocated }} exceeds the payment of {{ payment }}.',\n 'paymentSidePanel.allocation.custom': 'Choose charges',\n 'paymentSidePanel.allocation.newest': 'Newest charges first',\n 'paymentSidePanel.allocation.oldest': 'Oldest charges first',\n 'paymentSidePanel.amountLabel': 'Amount ({{ symbol }})',\n 'paymentSidePanel.announceRecorded': 'Payment recorded.',\n 'paymentSidePanel.verificationRecorded': 'Bank verification required: your payment has not started.',\n 'paymentSidePanel.announceRecording': 'Recording payment.',\n 'paymentSidePanel.announceWaiting': 'Waiting for customer to tap or insert card.',\n 'paymentSidePanel.atMost2Decimals': 'Use at most 2 decimal places.',\n 'paymentSidePanel.balanceAmount': 'Balance {{ amount }}',\n 'paymentSidePanel.cannotExceedBalance': 'Cannot exceed the balance of {{ amount }}.',\n 'paymentSidePanel.cardDeclined': 'Card was declined or removed. Please try again.',\n 'paymentSidePanel.couldNotLoadReaders': 'Could not load the card readers.',\n 'paymentSidePanel.dueOn': 'Due {{ date }}',\n 'paymentSidePanel.enterAmountToRecord': 'Enter an amount to record.',\n 'paymentSidePanel.enterAnAmount': 'Enter an amount.',\n 'paymentSidePanel.exactly4Digits': 'Enter exactly 4 digits.',\n 'paymentSidePanel.failedSendToReader': 'Failed to send payment to reader. Make sure the reader is online.',\n 'paymentSidePanel.method.ACH': 'ACH / Bank Transfer',\n 'paymentSidePanel.method.CARD': 'Card',\n 'paymentSidePanel.method.CARD_PRESENT': 'Card Present (Terminal)',\n 'paymentSidePanel.method.CASH': 'Cash',\n 'paymentSidePanel.method.CHECK': 'Check',\n 'paymentSidePanel.method.MONEY_ORDER': 'Money Order',\n 'paymentSidePanel.notConfigured': 'Payment recording is not configured.',\n 'paymentSidePanel.paymentCancelled': 'Payment was cancelled.',\n 'paymentSidePanel.readerDidNotAccept': 'The reader did not accept the payment. Please try again.',\n 'paymentSidePanel.readerPaymentCancelled': 'Reader payment cancelled.',\n 'paymentSidePanel.readerTimeout': 'The reader did not respond within {{ span }}. Check that the reader is powered on and connected to WiFi.',\n 'paymentSidePanel.recordFailed': 'Failed to record payment',\n 'paymentSidePanel.removeEntry': 'Remove {{ method }} {{ amount }}',\n 'paymentBlocked.default': 'Payments are not available right now.',\n 'paymentHeld.default': 'A payment started from this panel may still be open. Wait for it to finish, or check it, before starting another.',\n 'paymentHeld.check': 'Check again',\n 'paymentHeld.retryCancel': 'Try canceling again',\n 'paymentHeld.stillOpen': 'The payment is still open. Wait for it to finish or cancel it, then check again.',\n 'paymentHeld.inconclusive': 'The payment could not be confirmed either way. Check it in your payment processor, then confirm below.',\n 'paymentHeld.checkFailed': 'The check could not be completed. Try again.',\n 'paymentHeld.release': 'I checked: nothing is open. Continue',\n 'paymentHeld.released': 'Checked: no payment is open any more.',\n 'paymentHeld.succeeded': 'The payment went through.',\n 'paymentHeld.closedBeforeDone': 'The payment was taken but the panel was closed before it was finished. Check the payment before starting another.',\n 'paymentHeld.releasedByUser': 'The payment could not be confirmed; the user confirmed that nothing is open.',\n 'paymentSidePanel.cancelUnconfirmed': 'The reader payment could not be confirmed as canceled. It may still be open. Check the reader before starting another payment.',\n 'paymentSidePanel.removedFromSplit': 'Removed {{ method }} {{ amount }} from the split.',\n 'paymentSidePanel.selectAtLeastOneCharge': 'Select at least one charge to apply this payment to.',\n 'paymentSidePanel.span.minute_one': '{{ count }} minute',\n 'paymentSidePanel.span.minute_other': '{{ count }} minutes',\n 'paymentSidePanel.succeededNotRecorded': 'Payment succeeded on reader but failed to record. Please check manually.',\n 'paymentSidePanel.terminalNotRecorded': 'Payment taken on the reader but not recorded: {{ amount }} ({{ id }}). Please record it manually.',\n 'phoneNumberPicker.areaCodeMode': 'Area code',\n 'phoneNumberPicker.changeAreaCode': 'Change area code',\n 'phoneNumberPicker.changeZip': 'Change ZIP code',\n 'phoneNumberPicker.confirmAreaAndSearch': 'Confirm area code and search',\n 'phoneNumberPicker.confirmZipAndSearch': 'Confirm ZIP code and search',\n 'phoneNumberPicker.inAreaCode': 'in area code {{ value }}',\n 'phoneNumberPicker.mustBeDigits': '{{ field }} must be {{ count }} digits.',\n 'phoneNumberPicker.nearZip': 'near ZIP code {{ value }}',\n 'phoneNumberPicker.noNumbersForArea': 'No numbers found for area code {{ value }}',\n 'phoneNumberPicker.noNumbersNearZip': 'No numbers found near ZIP code {{ value }}',\n 'phoneNumberPicker.searchingNumbers': 'Searching for available numbers.',\n 'phoneNumberPicker.step1': 'Step 1 of 3. Confirm where to search.',\n 'phoneNumberPicker.step2_one': 'Step 2 of 3. {{ count }} available number found.',\n 'phoneNumberPicker.step2_other': 'Step 2 of 3. {{ count }} available numbers found.',\n 'phoneNumberPicker.step3': 'Step 3 of 3. Confirm {{ number }}.',\n 'phoneNumberPicker.yourNumber': 'your number',\n 'phoneNumberPicker.zip': 'ZIP code',\n // component texts (generated by the template pass, grouped by component)\n 'chargeForm.amount': 'Amount ($)',\n 'chargeForm.amount2': 'Amount',\n 'chargeForm.cancelLabel': 'Cancel',\n 'chargeForm.chargeType': 'Charge Type',\n 'chargeForm.closeLabel': 'Close',\n 'chargeForm.description': 'Description',\n 'chargeForm.dueDate': 'Due Date',\n 'chargeForm.emptyMessage': 'Set up your charge types in Billing Settings before adding charges.',\n 'chargeForm.emptyTitle': 'No charge types configured',\n 'chargeForm.optionalDescription': 'Optional description',\n 'chargeForm.selectType': 'Select type',\n 'chargeForm.submitLabel': 'Add Charge',\n 'chargeForm.title': 'Add Charge',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.assignmentRequired': 'Assign this template to at least one automation.',\n 'emailTemplateEditor.block.btn-link': 'Link Button',\n 'emailTemplateEditor.block.btn-outline': 'Outline Button',\n 'emailTemplateEditor.block.btn-primary': 'Primary Button',\n 'emailTemplateEditor.block.btn-secondary': 'Secondary Button',\n 'emailTemplateEditor.block.divider': 'Divider Line',\n 'emailTemplateEditor.block.image-block': 'Image Block',\n 'emailTemplateEditor.block.layout-2col': 'Two Columns',\n 'emailTemplateEditor.block.layout-3col': 'Three Columns',\n 'emailTemplateEditor.block.spacer-lg': 'Large Spacer',\n 'emailTemplateEditor.block.spacer-md': 'Medium Spacer',\n 'emailTemplateEditor.block.spacer-sm': 'Small Spacer',\n 'emailTemplateEditor.block.table-2col': 'Two-Column Table',\n 'emailTemplateEditor.block.table-3col': 'Three-Column Table',\n 'emailTemplateEditor.block.text-block': 'Text Block',\n 'emailTemplateEditor.blockFallback': 'Block',\n 'emailTemplateEditor.bodyRequired': 'Add a message: the email needs some text or an image.',\n 'emailTemplateEditor.bodyTooLong': 'Message is too long (max {{ max }} characters; it is {{ actual }}).',\n 'emailTemplateEditor.clickToEdit': 'Click to edit...',\n 'emailTemplateEditor.clickToWatchVideo': 'Click to watch video',\n 'emailTemplateEditor.cta.contact': 'Contact Me',\n 'emailTemplateEditor.cta.custom': 'Custom',\n 'emailTemplateEditor.cta.none': 'None (use video default)',\n 'emailTemplateEditor.cta.schedule': 'Schedule a Call',\n 'emailTemplateEditor.datesOrder': 'Active To must be on or after Active From.',\n 'emailTemplateEditor.group.buttons': 'Buttons',\n 'emailTemplateEditor.group.content': 'Content',\n 'emailTemplateEditor.group.layout': 'Layout',\n 'emailTemplateEditor.group.spacing': 'Spacing',\n 'emailTemplateEditor.group.tables': 'Tables',\n 'emailTemplateEditor.heading.h1': 'Heading 1',\n 'emailTemplateEditor.heading.h2': 'Heading 2',\n 'emailTemplateEditor.heading.h3': 'Heading 3',\n 'emailTemplateEditor.heading.normal': 'Normal',\n 'emailTemplateEditor.missing.assignment': 'at least one assignment',\n 'emailTemplateEditor.missing.message': 'a message',\n 'emailTemplateEditor.missing.name': 'a name',\n 'emailTemplateEditor.missing.shorterMessage': 'a shorter message',\n 'emailTemplateEditor.missing.shorterName': 'a shorter name',\n 'emailTemplateEditor.missing.shorterSubject': 'a shorter subject',\n 'emailTemplateEditor.missing.subject': 'a subject',\n 'emailTemplateEditor.nameRequired': 'Template name is required.',\n 'emailTemplateEditor.nameTooLong': 'Name is too long (max {{ max }} characters).',\n 'emailTemplateEditor.playback.autoplay': 'Autoplay',\n 'emailTemplateEditor.playback.click': 'Click to Play',\n 'emailTemplateEditor.readOnlyTools': 'Blocks and variables can only be added to a template you can edit.',\n 'emailTemplateEditor.readOnlyToolsWithVideo': 'Blocks, variables and videos can only be added to a template you can edit.',\n 'emailTemplateEditor.rightPanel': 'Blocks and variables',\n 'emailTemplateEditor.rightPanelWithVideo': 'Blocks, variables and video',\n 'emailTemplateEditor.sample.buttonText': 'Button Text',\n 'emailTemplateEditor.sample.column': 'Col {{ n }}',\n 'emailTemplateEditor.sample.data': 'Data',\n 'emailTemplateEditor.sample.enterText': 'Enter your text here...',\n 'emailTemplateEditor.sample.header': 'Header {{ n }}',\n 'emailTemplateEditor.sample.image': 'Image',\n 'emailTemplateEditor.sample.leftColumn': 'Left column',\n 'emailTemplateEditor.sample.linkText': 'Link Text',\n 'emailTemplateEditor.sample.rightColumn': 'Right column',\n 'emailTemplateEditor.saveHint': 'Add {{ items }} to save this template.',\n 'emailTemplateEditor.spacing.large': 'Large',\n 'emailTemplateEditor.spacing.medium': 'Medium',\n 'emailTemplateEditor.spacing.none': 'None',\n 'emailTemplateEditor.spacing.small': 'Small',\n 'emailTemplateEditor.startWriting': 'Start writing your email...',\n 'emailTemplateEditor.subjectRequired': 'Subject line is required.',\n 'emailTemplateEditor.subjectTooLong': 'Subject is too long (max {{ max }} characters).',\n 'emailTemplateEditor.validEmail': 'Enter a valid email address.',\n 'emailTemplateEditor.validImageAddress': 'Enter a valid image address, like https://example.com/image.jpg.',\n 'emailTemplateEditor.validWebAddress': 'Enter a valid web address, like https://example.com.',\n 'emailTemplateEditor.variable.firstName': 'First Name',\n 'emailTemplateEditor.variable.fullName': 'Full Name',\n 'emailTemplateEditor.variable.lastName': 'Last Name',\n 'emailTemplateEditor.variableGroup.contact': 'Contact',\n 'emailTemplateEditor.videoWillAutoplay': 'Video will autoplay',\n // component texts (generated by the template pass, grouped by component)\n 'board.moveTo': 'Move to {{ column }}',\n 'calendar.group.later': 'Later',\n 'calendar.group.overdue': 'Overdue',\n 'calendar.group.thisWeek': 'This Week',\n 'calendar.group.today': 'Today',\n 'calendar.group.tomorrow': 'Tomorrow',\n 'detailGroups.activity': 'Activity',\n 'detailGroups.notes': 'Notes',\n 'richTextEditor.editorName': 'Rich text editor',\n 'richTextEditor.fontDefault': 'Default',\n 'richTextEditor.fontGroup.Default': 'Default',\n 'richTextEditor.fontGroup.Display': 'Display',\n 'richTextEditor.fontGroup.Monospace': 'Monospace',\n 'richTextEditor.fontGroup.Sans-Serif': 'Sans-Serif',\n 'richTextEditor.fontGroup.Serif': 'Serif',\n 'richTextEditor.heading.h1': 'H1 — Heading 1',\n 'richTextEditor.heading.h2': 'H2 — Heading 2',\n 'richTextEditor.heading.h3': 'H3 — Heading 3',\n 'richTextEditor.heading.p': 'Normal',\n 'richTextEditor.linkNeedsAddress': 'Enter a web address like example.com.',\n 'richTextEditor.size.1': 'Small',\n 'richTextEditor.size.3': 'Normal',\n 'richTextEditor.size.4': 'Medium',\n 'richTextEditor.size.5': 'Large',\n 'richTextEditor.size.6': 'X-Large',\n 'richTextEditor.size.7': 'Huge',\n 'setupWizard.areaCode': 'Area code',\n 'setupWizard.areaCodeHint': 'Enter a 3-digit US area code',\n 'setupWizard.brand': 'Setup Wizard',\n 'setupWizard.connect': 'Connect',\n 'setupWizard.connectFailed': 'Failed to connect {{ title }}. Please try again from the Integrations page after setup.',\n 'setupWizard.connectRequired': 'Connect at least one to continue, or skip this step.',\n 'setupWizard.connected': 'Connected',\n 'setupWizard.connectedChannel': 'Connected — {{ team }} #{{ channel }}',\n 'setupWizard.connectedDetail': 'Connected — {{ detail }}',\n 'setupWizard.connectedMerchant': 'Connected — merchant {{ id }}',\n 'setupWizard.continue': 'Continue',\n 'setupWizard.doneDescription': 'Your account is configured and ready to go. Here\\'s a quick summary:',\n 'setupWizard.doneHint': 'You can always update these settings later from the Settings menu.',\n 'setupWizard.doneTitle': 'You\\'re All Set!',\n 'setupWizard.exit': 'Exit Setup',\n 'setupWizard.finish': 'Go to Dashboard',\n 'setupWizard.importAgain': 'Import again',\n 'setupWizard.importErrorsText_one': 'Nothing was imported yet. Fix the row listed in the import window in your file, then import the whole file again to continue.',\n 'setupWizard.importErrorsText_other': 'Nothing was imported yet. Fix the rows listed in the import window in your file, then import the whole file again to continue.',\n 'setupWizard.importErrorsTitle_one': '{{ count }} row could not be imported',\n 'setupWizard.importErrorsTitle_other': '{{ count }} rows could not be imported',\n 'setupWizard.importMore': 'Import more',\n 'setupWizard.importRequired': 'Import your data to continue, or skip this step.',\n 'setupWizard.importedSuccessfully': '{{ count }} {{ entity }} imported successfully.',\n 'setupWizard.integration.gmail': 'Connect your Google account for two-way email sync.',\n 'setupWizard.integration.google-calendar': 'Two-way sync with your Google Calendar.',\n 'setupWizard.integration.outlook': 'Connect your Microsoft account for two-way email sync.',\n 'setupWizard.integration.outlook-calendar': 'Two-way sync with your Outlook / Microsoft 365 calendar.',\n 'setupWizard.integration.quickbooks': 'Sync commissions and expenses to your QuickBooks books.',\n 'setupWizard.integration.slack': 'Get new-lead and deal alerts in a Slack channel.',\n 'setupWizard.integration.square': 'Accept card and bank payments from your customers. Payouts go straight to your Square account.',\n 'setupWizard.integration.stripe': 'Accept card and bank payments from your customers. Payouts go straight to your Stripe account.',\n 'setupWizard.integration.twilio': 'Get a business phone number for texting and calling clients.',\n 'setupWizard.progress': '{{ done }} of {{ total }} complete',\n 'setupWizard.reconnect': 'Reconnect',\n 'setupWizard.recordsWord': 'records',\n 'setupWizard.saveAndContinue': 'Save & Continue',\n 'setupWizard.saveFailed': 'Failed to save. Please try again.',\n 'setupWizard.skip': 'Skip for now',\n 'setupWizard.stepPicker': 'Go to step',\n 'setupWizard.stepPickerGo': 'Go',\n 'setupWizard.stepPickerHint': 'Choose a step in the list first.',\n 'setupWizard.stepPickerPlaceholder': 'Choose a step',\n 'setupWizard.steps': 'Setup steps',\n 'setupWizard.summaryPending': 'Pending',\n 'setupWizard.summarySkipped': 'Skipped',\n 'setupWizard.summaryTitle': 'Your setup',\n 'setupWizard.whatGetsImported': 'WHAT GETS IMPORTED:',\n // component texts (generated by the template pass, grouped by component)\n 'messagingDocumentSendOptions.changeSigningOptions': 'Change signing options',\n 'messagingDocumentSendOptions.countersignedBy': 'Countersigned by {{ name }} after all signers.',\n 'messagingDocumentSendOptions.day_one': '{{ n }} day',\n 'messagingDocumentSendOptions.day_other': '{{ n }} days',\n 'messagingDocumentSendOptions.envelopeInactive': '\"{{ title }}\" is {{ status }}, so this envelope can\\'t be sent. Restore it or remove it from the envelope first.',\n 'messagingDocumentSendOptions.envelopeNoDocs': 'This envelope has no documents. Add a document first.',\n 'messagingDocumentSendOptions.fieldsForSigners': 'Fields placed for {{ count }} signers',\n 'messagingDocumentSendOptions.hideSigningOptions': 'Hide signing options',\n 'messagingDocumentSendOptions.mergeEmpty': 'These fields will be left empty: {{ list }}.',\n 'messagingDocumentSendOptions.mergeReason.NO_CONTEXT': 'not available for this send',\n 'messagingDocumentSendOptions.mergeReason.NO_DATA': 'no value on record',\n 'messagingDocumentSendOptions.mergeReason.UNKNOWN_PATH': 'unknown field',\n 'messagingDocumentSendOptions.multiSignerSendByEmail': 'This document has {{ count }} signers. Send it by email.',\n 'messagingDocumentSendOptions.mustBeWhole': '{{ label }} must be a whole number from {{ min }} to {{ max }}.',\n 'messagingDocumentSendOptions.noFieldsPlaced': 'No signature fields placed. Sent for viewing only.',\n 'messagingDocumentSendOptions.noFileToAttach': '\"{{ title }}\" has no file to attach — choose e-signature or remove it.',\n 'messagingDocumentSendOptions.noFileUploaded': 'No file uploaded',\n 'messagingDocumentSendOptions.noMatchingDocuments': 'No matching documents',\n 'messagingDocumentSendOptions.noReminders': 'no reminders',\n 'messagingDocumentSendOptions.placeCountersign': 'Place your countersignature box',\n 'messagingDocumentSendOptions.placeCountersignOn': 'Place your countersignature box on {{ title }}',\n 'messagingDocumentSendOptions.previewDocument': 'Preview Document',\n 'messagingDocumentSendOptions.provider.docusign': 'Send via DocuSign',\n 'messagingDocumentSendOptions.provider.native': 'Native E-Sign',\n 'messagingDocumentSendOptions.purpose.ATTACH': 'Send as attachment',\n 'messagingDocumentSendOptions.purpose.BOTH': 'E-signature and attachment',\n 'messagingDocumentSendOptions.purpose.ESIGN': 'Require e-signature',\n 'messagingDocumentSendOptions.purposeInfo.BOTH': 'View link and attachment',\n 'messagingDocumentSendOptions.purposeInfo.ESIGN': 'Send a view link',\n 'messagingDocumentSendOptions.remindersEvery': 'reminders every {{ interval }}, up to {{ max }}',\n 'messagingDocumentSendOptions.searchFailed': 'The search failed',\n 'messagingDocumentSendOptions.selectAtLeastOne': 'Select at least one document.',\n 'messagingDocumentSendOptions.signerAlreadyRole': '{{ name }} is already {{ role }}.',\n 'messagingDocumentSendOptions.signerNoEmail': '{{ name }} has no email address.',\n 'messagingDocumentSendOptions.signerRole': 'Signer {{ n }}',\n 'messagingDocumentSendOptions.signingSummary': 'Signing options: expires in {{ expiry }}, {{ reminders }}',\n 'messagingDocumentSendOptions.textedAsLink': 'Documents are texted as a link to the signing page.',\n 'messagingDocumentSendOptions.untitled': 'Untitled document',\n 'messagingDocumentSendOptions.you': 'you',\n 'messagingDocumentSendOptions.youCountersign': 'You countersign after the client signs.',\n // component texts (generated by the template pass, grouped by component)\n 'messagingSendMessagePanel.activeAllYear': 'Active all year',\n 'messagingSendMessagePanel.activeFrom': 'From {{ date }}',\n 'messagingSendMessagePanel.activeUntil': 'Until {{ date }}',\n 'messagingSendMessagePanel.announceSkipped_one': '{{ count }} will be skipped.',\n 'messagingSendMessagePanel.announceSkipped_other': '{{ count }} will be skipped.',\n 'messagingSendMessagePanel.bodyTooLong': 'Message is too long ({{ actual }} of {{ max }} characters).',\n 'messagingSendMessagePanel.bulkNoSend': 'Sending to several recipients is not set up for this page, so nothing was sent.',\n 'messagingSendMessagePanel.ccInvalid': '\"{{ address }}\" isn\\'t a valid CC email address.',\n 'messagingSendMessagePanel.ccTooLong': 'The CC list is too long.',\n 'messagingSendMessagePanel.ccTooMany': 'You can copy at most {{ max }} people.',\n 'messagingSendMessagePanel.cta.contact': 'Contact Me',\n 'messagingSendMessagePanel.cta.custom': 'Custom',\n 'messagingSendMessagePanel.cta.none': 'None (use video default)',\n 'messagingSendMessagePanel.cta.schedule': 'Schedule a Call',\n 'messagingSendMessagePanel.ctxEmail': 'email',\n 'messagingSendMessagePanel.ctxText': 'text message',\n 'messagingSendMessagePanel.emailScheduled': 'Email scheduled',\n 'messagingSendMessagePanel.emailSent': 'Email sent',\n 'messagingSendMessagePanel.envelopeSent': 'Envelope \"{{ name }}\" sent',\n 'messagingSendMessagePanel.failedSendEmail': 'Failed to send email',\n 'messagingSendMessagePanel.failedSendMessage': 'Failed to send message',\n 'messagingSendMessagePanel.failedSendText': 'Failed to send text message',\n 'messagingSendMessagePanel.failedUpload': 'Failed to upload attachment',\n 'messagingSendMessagePanel.listAnd': 'and',\n 'messagingSendMessagePanel.messageScheduled': 'Message scheduled',\n 'messagingSendMessagePanel.messageSent': 'Message sent',\n 'messagingSendMessagePanel.multiSignerOneAtATime': 'Documents with several signers are sent one at a time.',\n 'messagingSendMessagePanel.noneEligible_one': 'None of the {{ count }} selected can receive this {{ what }} ({{ reason }}), so there is nothing to send.',\n 'messagingSendMessagePanel.noneEligible_other': 'None of the {{ count }} selected can receive this {{ what }} ({{ reason }}), so there is nothing to send.',\n 'messagingSendMessagePanel.noticeAddEmailBelow': 'Add an email address below to send.',\n 'messagingSendMessagePanel.noticeNoContact': '{{ name }} has no email address or phone number on file. Add an email address below to send.',\n 'messagingSendMessagePanel.noticeNoOptIn': '{{ name }} has not opted in to receive text messages, so this can only be sent by email.',\n 'messagingSendMessagePanel.noticeNoPhone': '{{ name }} has no phone number on file, so a text needs one added first.',\n 'messagingSendMessagePanel.noticeTextDisabled': 'Text messaging is not enabled. Connect Twilio in Comm Settings to send texts.',\n 'messagingSendMessagePanel.playback.autoplay': 'Autoplay',\n 'messagingSendMessagePanel.playback.click': 'Click to Play',\n 'messagingSendMessagePanel.reasonNoEmail_one': 'no email address',\n 'messagingSendMessagePanel.reasonNoEmail_other': 'no email address',\n 'messagingSendMessagePanel.reasonNoPhone_one': 'no phone number or no opt-in to texts',\n 'messagingSendMessagePanel.reasonNoPhone_other': 'no phone number or no opt-in to texts',\n 'messagingSendMessagePanel.removedAttachments': 'your attachments',\n 'messagingSendMessagePanel.removedBecauseRequest': 'We removed {{ items }} because documents are sent as a request.',\n 'messagingSendMessagePanel.removedImage': 'your image',\n 'messagingSendMessagePanel.removedSchedule': 'the schedule',\n 'messagingSendMessagePanel.resultsCount_one': '1 result',\n 'messagingSendMessagePanel.resultsCount_other': '{{ count }} results',\n 'messagingSendMessagePanel.resultsCount_zero': 'No results',\n 'messagingSendMessagePanel.searchTemplatesAria': 'Search templates',\n 'messagingSendMessagePanel.searchVideosAria': 'Search videos',\n 'messagingSendMessagePanel.selectedVideo': 'Selected video',\n 'messagingSendMessagePanel.sendEmail': 'Send Email',\n 'messagingSendMessagePanel.sendMessage': 'Send Message',\n 'messagingSendMessagePanel.sendText': 'Send Text',\n 'messagingSendMessagePanel.sentViaDocusign': '\"{{ title }}\" sent via DocuSign',\n 'messagingSendMessagePanel.skippedNameMore': '{{ shown }} and {{ count }} more',\n 'messagingSendMessagePanel.skippedText_one': '{{ count }} has {{ reason }} and will be skipped ({{ names }}). Only the others get this {{ what }}.',\n 'messagingSendMessagePanel.skippedText_other': '{{ count }} have {{ reason }} and will be skipped ({{ names }}). Only the others get this {{ what }}.',\n 'messagingSendMessagePanel.subjectTooLong': 'Subject is too long ({{ actual }} of {{ max }} characters).',\n 'messagingSendMessagePanel.tabCompose': 'Create Message',\n 'messagingSendMessagePanel.tabTemplate': 'Use Existing Template',\n 'messagingSendMessagePanel.textSent': 'Text message sent',\n 'messagingSendMessagePanel.textTooLongWithVideo': 'The video link makes this text longer than {{ max }} characters. Shorten the message or remove the video.',\n 'messagingSendMessagePanel.unnamed': 'Unnamed',\n 'messagingSendMessagePanel.whatEmail': 'email',\n 'messagingSendMessagePanel.whatText': 'text',\n 'messagingSendMessagePanel.whatTextMessage': 'text message',\n // component texts (generated by the template pass, grouped by component)\n 'stripeErrors.card_declined': 'Your card was declined. Please contact your bank or use a different card.',\n 'stripeErrors.card_not_supported': 'This card does not support this type of purchase. Please use a different card.',\n 'stripeErrors.currency_not_supported': 'This card does not support the requested currency. Please use a different card.',\n 'stripeErrors.do_not_honor': 'Your bank has declined this transaction. Please contact your bank or use a different card.',\n 'stripeErrors.generic_decline': 'Your card was declined. Please contact your bank or try a different card.',\n 'stripeErrors.insufficient_funds': 'Your card has insufficient funds. Please use a different card or add funds to your account.',\n 'stripeErrors.lost_card': 'This card has been reported as lost. Please use a different payment method.',\n 'stripeErrors.stolen_card': 'This card has been reported as stolen. Please use a different payment method.',\n // component texts (generated by the template pass, grouped by component)\n 'stripeErrors.alreadyProcessed': 'This payment has already been processed. Please refresh the page and try again.',\n 'stripeErrors.amount_too_large': 'The payment amount exceeds the maximum allowed. Please contact the business.',\n 'stripeErrors.amount_too_small': 'The payment amount is too small to process. Please contact the business.',\n 'stripeErrors.approve_with_id': 'The payment cannot be authorized. Please contact your bank.',\n 'stripeErrors.authentication_required': 'This card requires authentication. Please try again and complete the verification step.',\n 'stripeErrors.balance_insufficient': 'Insufficient balance to complete this payment. Please use a different payment method.',\n 'stripeErrors.bank_account_declined': 'Your bank account could not be used. Please try a different account.',\n 'stripeErrors.call_issuer': 'Your bank has declined this transaction. Please call your bank for more information.',\n 'stripeErrors.card_velocity_exceeded': 'You have exceeded the balance or credit limit on your card. Please contact your bank.',\n 'stripeErrors.debit_not_authorized': 'The debit was not authorized. Please contact your bank.',\n 'stripeErrors.defaultMessage': 'Payment failed. Please try again.',\n 'stripeErrors.do_not_try_again': 'Your bank has permanently declined this card. Please use a different payment method.',\n 'stripeErrors.duplicate_transaction': 'A duplicate transaction was detected. Please wait a few minutes before trying again.',\n 'stripeErrors.expired_card': 'Your card has expired. Please use a different card.',\n 'stripeErrors.fraudulent': 'This transaction has been flagged by your bank. Please contact your bank or use a different card.',\n 'stripeErrors.incorrect_cvc': 'The security code (CVC) is incorrect. Please check and try again.',\n 'stripeErrors.incorrect_number': 'The card number is incorrect. Please check and try again.',\n 'stripeErrors.incorrect_zip': 'The ZIP/postal code is incorrect. Please check and try again.',\n 'stripeErrors.invalid_cvc': 'The security code (CVC) is invalid. Please check and try again.',\n 'stripeErrors.invalid_expiry_month': 'The expiration month is invalid. Please check and try again.',\n 'stripeErrors.invalid_expiry_year': 'The expiration year is invalid. Please check and try again.',\n 'stripeErrors.invalid_number': 'The card number is invalid. Please check and try again.',\n 'stripeErrors.issuer_not_available': 'Your card issuer could not be reached. Please try again later.',\n 'stripeErrors.merchant_blacklist': 'This card cannot be used for this transaction. Please use a different card.',\n 'stripeErrors.new_account_information_available': 'Your card details have changed. Please update your card information and try again.',\n 'stripeErrors.no_action_taken': 'Your bank could not process this transaction. Please contact your bank.',\n 'stripeErrors.not_permitted': 'This transaction is not permitted on this card. Please contact your bank or use a different card.',\n 'stripeErrors.payment_intent_authentication_failure': 'Payment authentication failed. Please try again.',\n 'stripeErrors.payment_intent_incompatible_payment_method': 'This payment method is not compatible. Please use a different payment method.',\n 'stripeErrors.payment_intent_payment_attempt_failed': 'The payment attempt failed. Please try again or use a different payment method.',\n 'stripeErrors.payment_intent_unexpected_state': 'This payment has already been processed. Please refresh the page and try again.',\n 'stripeErrors.payment_method_unactivated': 'This payment method is not activated. Please use a different payment method.',\n 'stripeErrors.payment_method_unexpected_state': 'There was an issue with your payment method. Please try again.',\n 'stripeErrors.pickup_card': 'This card cannot be used. Please contact your bank or use a different card.',\n 'stripeErrors.processing_error': 'An error occurred while processing your card. Please try again.',\n 'stripeErrors.reenter_transaction': 'The transaction could not be processed. Please try again.',\n 'stripeErrors.resource_missing': 'The payment session has expired. Please refresh the page and try again.',\n 'stripeErrors.restricted_card': 'This card has restrictions that prevent this transaction. Please contact your bank or use a different card.',\n 'stripeErrors.revocation_of_all_authorizations': 'All authorizations have been revoked for this card. Please contact your bank.',\n 'stripeErrors.revocation_of_authorization': 'The authorization for this card has been revoked. Please contact your bank.',\n 'stripeErrors.security_violation': 'This card has been flagged for a security violation. Please contact your bank.',\n 'stripeErrors.sessionExpired': 'Your payment session has expired. Please refresh the page and try again.',\n 'stripeErrors.setup_intent_unexpected_state': 'This payment setup has already been completed. Please refresh the page.',\n 'stripeErrors.stop_payment_order': 'Your bank has stopped this payment. Please contact your bank.',\n 'stripeErrors.technical.api_connection_error': 'We could not reach the payment service. Please check your connection and try again.',\n 'stripeErrors.technical.api_error': 'Something went wrong while processing the payment. Please try again.',\n 'stripeErrors.technical.authentication_error': 'Something went wrong while processing the payment. Please try again.',\n 'stripeErrors.technical.invalid_request_error': 'Something went wrong while processing the payment. Please try again.',\n 'stripeErrors.technical.rate_limit_error': 'Too many requests. Please wait a moment and try again.',\n 'stripeErrors.testmode_decline': 'This is a test decline. No real charge was attempted.',\n 'stripeErrors.try_again_later': 'Your card issuer is temporarily unable to process this transaction. Please try again later.',\n 'stripeErrors.withdrawal_count_limit_exceeded': 'You have exceeded the allowed number of transactions. Please try again later or use a different card.',\n 'stripePayment.a11y.actionRequired': 'Further action is required to complete the payment',\n 'stripePayment.a11y.loading': 'Loading payment form',\n 'stripePayment.a11y.methodSaved': 'Payment method saved',\n 'stripePayment.a11y.paymentAuthorized': 'Payment authorized',\n 'stripePayment.a11y.paymentProcessing': 'Payment is processing',\n 'stripePayment.a11y.paymentReceived': 'Payment received',\n 'stripePayment.a11y.processingPayment': 'Processing payment',\n 'stripePayment.a11y.savingMethod': 'Saving payment method',\n 'stripePayment.a11y.verificationNeeded': 'Bank verification required. Verify the small deposits from your bank first: until you do, no payment starts and nothing is charged.',\n 'stripePayment.a11y.verificationNeededSetup': 'Bank verification required. Verify the small deposits from your bank first: until you do, the bank account is not saved.',\n 'stripePayment.achNotice': 'Signing in to your bank account lets you pay right away. Entering your routing and account numbers instead requires verification with two small deposits, which typically take a couple of days to arrive in your account.',\n 'stripePayment.achNoticeInstant': 'Sign in to your bank account to link it and pay right away. Bank accounts that cannot sign in online are not supported here: please use a card or a bank that supports bank login.',\n 'stripePayment.msg.authFailed': 'Payment authentication failed',\n 'stripePayment.msg.authFailedTryOther': 'Payment authentication failed. Please try a different payment method.',\n 'stripePayment.msg.authNotCompleted': 'Payment authentication was not completed',\n 'stripePayment.msg.cardsUnavailable': 'Card payments are not available right now.',\n 'stripePayment.msg.feesFailed': 'Could not calculate the fees. Please try again.',\n 'stripePayment.msg.initFailed': 'Failed to initialize payment. Please try again.',\n 'stripePayment.msg.instantOnlyUnavailable': 'This bank account cannot be linked by signing in online. Please use a card or a bank that supports bank login.',\n 'stripePayment.msg.intentFailed': 'Failed to create payment intent',\n 'stripePayment.msg.keyMissing': 'The payment form is not set up yet',\n 'stripePayment.msg.loadFailed': 'Failed to load the payment service',\n 'stripePayment.msg.noPaymentMethod': 'No payment method was returned',\n 'stripePayment.msg.notCompleted': 'Payment was not completed',\n 'stripePayment.msg.notInitialized': 'Payment system not initialized',\n 'stripePayment.msg.requiresPaymentMethod': 'Payment failed. Please try a different payment method.',\n 'stripePayment.msg.returnFailed': 'We could not check the status of this payment. Please contact support before trying again.',\n 'stripePayment.msg.setupIncomplete': 'Payment method setup was incomplete. Please try again.',\n 'stripePayment.msg.verifyFailed': 'Verification failed',\n 'stripePayment.msg.verifyThrown': 'Verification failed. Please check the code and try again.',\n 'stripePayment.pay': 'Pay',\n 'stripePayment.saveMethod': 'Save payment method',\n 'stripePaymentMethod.achMessage': 'Your bank payment of {{ amount }} has been submitted for processing. ACH payments typically take 3–5 business days to complete.',\n 'stripePaymentMethod.achTitle': 'ACH Payment Submitted',\n 'stripePaymentMethod.amountNeeded': 'Enter an amount to continue.',\n 'stripePaymentMethod.amountPlusFees': 'Payment amount plus fees',\n 'stripePaymentMethod.announceProcessing': 'Processing payment',\n 'stripePaymentMethod.announceReady': 'Payment form ready',\n 'stripePaymentMethod.methodAch': 'ACH / Bank Transfer',\n 'stripePaymentMethod.methodCard': 'Card',\n 'stripePaymentMethod.notCompleted': 'Payment was not completed. Please try again or choose another method.',\n 'stripePaymentMethod.paymentAmount': 'Payment amount',\n 'stripePaymentMethod.platformFee': 'Platform fee',\n 'stripePaymentMethod.processingFee': 'Processing fee',\n 'stripePaymentMethod.receiptNote': 'A receipt is sent once the payment has been fully processed and settled.',\n 'stripePaymentMethod.verificationMessage': 'Bank verification required: your payment of {{ amount }} has NOT started. Your bank will receive two small deposits (1-2 business days), or a descriptor code. Until you verify them, your payment will not start processing and nothing will be charged.',\n // component texts (generated by the template pass, grouped by component)\n 'mapsUsStateMap.legend': 'Colour scale from 0 to {{ max }}',\n 'pdfDocumentSignModal.addSignatureFirst': 'Add signature above',\n 'pdfDocumentSignModal.allSigned': 'All signatures completed',\n 'pdfDocumentSignModal.appliedSignature': 'Applied signature',\n 'pdfDocumentSignModal.change': 'Change',\n 'pdfDocumentSignModal.complete': 'Complete Signing',\n 'pdfDocumentSignModal.loading': 'Loading document…',\n 'pdfDocumentSignModal.namePlaceholder': 'Type your full name',\n 'pdfDocumentSignModal.noFields': 'This document has no place to sign.',\n 'pdfDocumentSignModal.progress': '{{ count }} of {{ total }} signed',\n 'pdfDocumentSignModal.previewEmpty': 'Preview appears here',\n 'pdfDocumentSignModal.saveSignature': 'Save Signature',\n 'pdfDocumentSignModal.signField': 'Sign field {{ n }} of {{ total }}',\n 'pdfDocumentSignModal.signFieldDisabled': '{{ label }} - add your signature above first to enable signing',\n 'pdfDocumentSignModal.signHere': 'Sign Here',\n 'pdfDocumentSignModal.step1': 'Step 1: Create Your Signature',\n 'pdfDocumentSignModal.step2': 'Step 2: Click the buttons below to apply your signature',\n 'pdfDocumentSignModal.submitting': 'Submitting...',\n 'pdfDocumentSignModal.title': 'Sign Document',\n 'stripeMicrodepositVerify.attemptsRemaining_one': '{{ message }} ({{ count }} attempt remaining)',\n 'stripeMicrodepositVerify.attemptsRemaining_other': '{{ message }} ({{ count }} attempts remaining)',\n 'stripeMicrodepositVerify.attemptsLeft_one': '{{ count }} attempt remaining',\n 'stripeMicrodepositVerify.attemptsLeft_other': '{{ count }} attempts remaining',\n 'stripeMicrodepositVerify.amountsHint': 'Each deposit is between 1 and 99 cents, for example 32 and 45.',\n 'stripeMicrodepositVerify.bankFallback': 'Bank account',\n 'stripeMicrodepositVerify.byDate': ' (by {{ date }})',\n 'stripeMicrodepositVerify.cancelBase': 'Cancel the verification of this bank account? It will not be saved as a payment method and you can add it again later.',\n 'stripeMicrodepositVerify.cancelKeepsActive': ' Your current payment method stays active.',\n 'stripeMicrodepositVerify.cancelKeepsActivePartner': '{{ partner }}\\'s current payment method stays active.',\n 'stripeMicrodepositVerify.cancelNoOther': ' You have no other payment method saved.',\n 'stripeMicrodepositVerify.cancelNoOtherPartner': '{{ partner }} has no other payment method saved.',\n 'stripeMicrodepositVerify.cancelTitle': 'Cancel verification',\n 'stripeMicrodepositVerify.cannotPay': 'Until then this account can\\'t be used to pay invoices.',\n 'stripeMicrodepositVerify.paymentNotStarted': 'Your payment has NOT started. Nothing is charged until you verify this bank account.',\n 'stripeMicrodepositVerify.centsRange': 'Enter a number of cents from 1 to 99.',\n 'stripeMicrodepositVerify.code6': 'The code has 6 letters or numbers.',\n 'stripeMicrodepositVerify.codeRequired': 'Enter the 6-character code.',\n 'stripeMicrodepositVerify.codeSm': 'Descriptor code must start with \"SM\" followed by 4 characters (e.g., SMXXXX)',\n 'stripeMicrodepositVerify.depositsAmounts': 'Two small deposits were sent to {{ holder }}; they appear in 1-2 business days{{ clause }}, with the description SMXXXX. ',\n 'stripeMicrodepositVerify.depositsDescriptor': 'One small deposit was sent to {{ holder }}{{ clause }}, with a description that is a 6-character code that starts with SM (SM plus 4 more). ',\n 'stripeMicrodepositVerify.enterAmountsOwn': 'When they arrive, enter the two amounts below to finish. ',\n 'stripeMicrodepositVerify.enterAmountsPartner': 'Ask {{ partner }} for the two deposit amounts and enter them below to finish. ',\n 'stripeMicrodepositVerify.enterCodeOwn': 'When it arrives, enter that code below to finish. ',\n 'stripeMicrodepositVerify.enterCodePartner': 'Ask {{ partner }} for the code and enter it below to finish. ',\n 'stripeMicrodepositVerify.holderPartner': '{{ partner }}\\'s account',\n 'stripeMicrodepositVerify.holderYours': 'your account',\n 'stripeMicrodepositVerify.keepsActive': 'Your current payment method stays active until the new bank account is verified.',\n 'stripeMicrodepositVerify.keepsActivePartner': '{{ partner }}\\'s current payment method stays active until the new bank account is verified.',\n 'stripeMicrodepositVerify.partnerOrSetup': '{{ partner }} or the crematory that set it up can finish the verification.',\n 'stripeMicrodepositVerify.processing': 'Your bank is confirming this account; this usually takes up to a few business days. We will email you when it is ready.',\n 'stripeMicrodepositVerify.processingPartner': '{{ partner }}\\'s bank is confirming this account; this usually takes up to a few business days. We will email you when it is ready.',\n 'stripeMicrodepositVerify.processingTitle': 'Bank account being confirmed',\n 'stripeMicrodepositVerify.readOnly': 'An administrator of your organization can finish the verification.',\n 'stripeMicrodepositVerify.startedByOther': 'This bank account was started by another crematory; it can be finished by them.',\n 'stripeMicrodepositVerify.startedByPartner': 'This bank account was started by {{ partner }}; it can be finished by them.',\n 'stripeMicrodepositVerify.title': 'Bank account waiting for verification',\n 'stripeMicrodepositVerify.tooManyAttempts': 'Too many failed attempts. Please try again later or contact support.',\n 'stripeMicrodepositVerify.verifyLabel': 'Verify bank account',\n 'stripeMicrodepositVerify.wholeCents': 'Enter whole cents, for example 32.',\n 'stripeStripeConnect.failedCheck': 'Failed to check payment account status',\n 'stripeStripeConnect.failedLink': 'Failed to retrieve onboarding link',\n 'stripeStripeConnect.failedStart': 'Failed to start payment account setup',\n 'stripeStripeConnect.liveComplete': 'Account setup complete.',\n 'stripeStripeConnect.liveIncomplete': 'Account setup incomplete.',\n 'stripeStripeConnect.liveLoading': '{{ text }} Loading.',\n 'stripeStripeConnect.liveNone': 'Stripe account not connected.',\n 'stripeStripeConnect.liveVerifying': 'Stripe is verifying your account.',\n 'stripeStripeConnect.noticeComplete': 'Payment account setup complete!',\n 'stripeStripeConnect.noticeCompleteResume': 'Payment account setup is already complete!',\n 'stripeStripeConnect.noticeIncomplete': 'Payment account setup is not yet complete. Please continue setup.',\n 'stripeStripeConnect.noticeLinkUnavailable': 'Unable to retrieve onboarding link. Please try again.',\n 'stripeStripeConnect.noticeVerifying': 'Setup submitted! Stripe is verifying your account. This usually takes a few minutes. Click \"Check Status\" to refresh.',\n // component texts (generated by the template pass, grouped by component)\n 'errorState.defaultMessage': 'Something went wrong. Please try again.',\n 'importExport.checkingYourRows': 'Checking your rows…',\n 'importExport.nothingIsSavedUntilEvery': 'Nothing is saved until every row is valid. Fix the file and upload it again.',\n 'importExport.rowsWithErrors': 'Rows with errors',\n 'refundPanel.enterReasonForRefund': 'Enter reason for refund...',\n 'refundPanel.feeHandling': 'Fee Handling',\n 'refundPanel.notes': 'Notes',\n 'refundPanel.nothingLeftMessage': 'This payment has already been refunded in full.',\n 'refundPanel.reason': 'Reason',\n 'refundPanel.refundAmount': 'Refund Amount ($)',\n 'refundPanel.refundAmount2': 'Refund amount',\n 'refundPanel.refundType': 'Refund Type',\n 'refundPanel.title': 'Refund Payment',\n 'refundPanel.warning': 'This action cannot be undone. The refund is processed immediately and the customer is notified.',\n 'tour.finishLabel': 'Finish',\n 'tour.nextLabel': 'Next',\n 'tour.previousLabel': 'Previous',\n 'tour.progressLabel': 'Step {n} of {total}',\n 'tour.skipLabel': 'Skip Tour',\n // component texts (generated by the template pass, grouped by component)\n 'board.actionsFor': 'Actions for {{ name }}',\n 'colorInput.colour': 'Colour',\n 'colorInput.picker': '{{ label }} picker',\n 'colorInput.presets': '{{ label }} presets',\n 'importExport.selectSource': 'Select your {{ entity }} source',\n 'messagingDocumentSendOptions.searchFailedMessage': 'Couldn\\'t search your documents. Check your connection and try again.',\n 'messagingSendMessagePanel.previewNamed': 'Preview {{ name }}',\n 'notes.addFirstNote': 'Add your first note above.',\n 'notes.noNotesAdded': 'No notes have been added.',\n 'paymentSidePanel.sendToReader': 'Send to Reader',\n 'paymentSidePanel.sending': 'Sending...',\n 'starRating.rating': 'Rating',\n 'timeline.ariaLabel': 'Timeline',\n /** Second line of a timeline item built by `timelineItemsFromEvents`: \"Amount: $10.00\". */\n 'timeline.eventAmount': 'Amount',\n /** Title of a locked record built by `timelineItemsFromEvents`. */\n 'timeline.eventLocked': '{{ title }} (locked record)',\n 'common.change': 'Change',\n 'common.delete': 'Delete',\n 'common.hide': 'Hide',\n 'common.removeNamed': 'Remove {{ name }}',\n 'common.videos': 'Videos',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.unreadCount': '{{ count }} unread',\n 'board.loadingNamed': 'Loading {{ name }}',\n 'board.showMore': 'Show {{ next }} more ({{ hidden }} not shown)',\n 'calendar.actionsFor': 'Actions for {{ name }}',\n 'calendar.addAllDayEventOn': 'Add all-day event on {{ day }}',\n 'calendar.addEventOn': 'Add event on {{ day }}',\n 'calendar.filter': 'Filter',\n 'combobox.clearNamed': 'Clear {{ name }}',\n 'combobox.selection': 'selection',\n 'dataTable.dragHandle': 'drag handle',\n 'detailCard.toggleSection': 'Toggle section',\n 'discountSelector.offApplies': '{{ value }} off {{ applies }}',\n 'emailTemplateEditor.emailBlockN': 'Email block {{ n }}',\n 'emailTemplateEditor.emailOff': 'Email off',\n 'emailTemplateEditor.emailOn': 'Email on',\n 'emailTemplateEditor.insertNamed': 'Insert {{ name }}',\n 'fileInput.processing': 'Processing…',\n 'imageGallery.showImage': 'Show image {{ n }} of {{ total }}',\n 'importExport.columnFor': '{{ field }} column',\n 'importExport.columnForRequired': '{{ field }} column, required',\n 'importExport.columnMapping': '{{ entity }} column mapping',\n 'importExport.requiredError': 'Required',\n 'keypad.dotsLabel': '{{ label }}: {{ count }} of {{ max }} digits entered',\n 'kpiCard.progress': '{{ label }} progress',\n 'list.sortableItem': 'sortable item',\n 'messagingSendMessagePanel.enterValue': 'Enter {{ name }}...',\n 'messagingTemplatePicker.custom': 'Custom',\n 'messagingTemplatePicker.system': 'System',\n 'notes.queued.waiting': 'Waiting to send',\n 'notes.queued.sending': 'Sending…',\n 'notes.queued.deleteWaiting': 'Waiting to delete',\n 'notes.queued.deleteSending': 'Deleting…',\n 'notes.queued.failed': 'Not sent. This change needs your attention.',\n 'notes.queued.conflict': 'Not sent. Someone else changed this note.',\n 'notes.queued.addedAnnounce': 'Note saved on this device. Waiting to send.',\n 'notes.queued.editedAnnounce': 'Note change saved on this device. Waiting to send.',\n 'notes.queued.deletedAnnounce': 'Note deletion saved on this device. Waiting to send.',\n 'notes.queued.problemAnnounce': 'A note change could not be sent.',\n 'notes.queued.offlineSome': 'You\\'re offline, so only the notes saved on this device are shown here.',\n 'notes.queued.offlineNone': 'You\\'re offline, so the notes can\\'t be loaded right now. A note you add is saved on this device and sent when you\\'re back online.',\n 'notes.you': 'You',\n 'passwordRequirements.met': 'met',\n 'passwordRequirements.notMet': 'not met',\n 'paymentSidePanel.amountFor': 'Amount for {{ name }}',\n 'paymentSidePanel.splitPayments_one': '{{ count }} payment in this split',\n 'paymentSidePanel.splitPayments_other': '{{ count }} payments in this split',\n 'pdfDocumentSignModal.changeSignature': 'Change signature',\n // Used when the host replaced the visible Change text (`texts.change`): the button's accessible name is that text plus the noun.\n 'pdfDocumentSignModal.changeNamed': '{{ change }} signature',\n 'pdfViewer.pageOf': 'Page {{ n }} of {{ total }}',\n 'phoneNumberPicker.selectNamed': 'Select {{ name }}',\n 'reminderAlerts.hideAlert': 'Hide alert',\n 'shareMenu.shareNamed': 'Share {{ name }}',\n 'starRating.nStars': '{{ n }} stars',\n 'starRating.oneStar': '1 star',\n 'stripeConnect.accountId': 'Account ID: {{ id }}',\n 'toggleBadge.actions': '{{ label }} actions',\n // component texts (generated by the template pass, grouped by component)\n 'bulkMessagePanel.contactWord_one': 'contact',\n 'bulkMessagePanel.contactWord_other': 'contacts',\n 'bulkMessagePanel.noEmailWord': 'email',\n 'bulkMessagePanel.noPhoneWord': 'phone',\n 'calendar.addButton': '+ Add',\n 'calendar.moreCount': '+{{ count }} more',\n 'conversations.openSr': 'open',\n 'emailTemplateEditor.example': 'Example: {{ example }}',\n 'importExport.entityField': '{{ entity }} Field',\n 'importExport.mapManually': 'Use the dropdowns below to map them manually.',\n 'importExport.previewRows_one': 'Preview of the first {{ shown }} row(s) of {{ total }} total. Review before importing.',\n 'importExport.previewRows_other': 'Preview of the first {{ shown }} row(s) of {{ total }} total. Review before importing.',\n 'importExport.rowNumber': 'Row {{ row }}',\n 'importExport.rowsWithErrors_one': '{{ count }} row with errors found',\n 'importExport.rowsWithErrors_other': '{{ count }} rows with errors found',\n 'importExport.stepCurrent': 'current step',\n 'importExport.stepDone': 'completed',\n 'importExport.unmappedRequired_one': 'We couldn\\'t match {{ count }} required field(s):',\n 'importExport.unmappedRequired_other': 'We couldn\\'t match {{ count }} required field(s):',\n 'importExport.unmatchedCsv_one': '{{ count }} column(s) in your CSV weren\\'t matched and will be ignored:',\n 'importExport.unmatchedCsv_other': '{{ count }} column(s) in your CSV weren\\'t matched and will be ignored:',\n 'messagingSendMessagePanel.recipientsWord': 'recipients',\n 'messagingSendMessagePanel.toLabel': 'To:',\n 'messagingSendText.uploading': 'Uploading...',\n 'messagingTemplatePicker.inactive': 'Inactive',\n 'messagingVideoLinkSettings.watchPreview': 'Watch Preview →',\n 'paymentSidePanel.deviceConnected': '{{ provider }} device connected',\n 'paymentSidePanel.deviceNotConnected': '{{ provider }} device not connected',\n 'paymentSidePanel.paymentSuccessful': 'Payment of {{ amount }} successful!',\n 'phoneNumberPicker.youChose': 'You chose {{ name }}',\n 'stepper.optional': '(optional)',\n 'stripeStripeConnect.completeSetup': 'Complete Setup',\n 'stripeStripeConnect.checkStatus': 'Check Status',\n 'stripeStripeConnect.opensInNewTabBusy': '{{ label }}, opens in a new tab, busy',\n 'stripeStripeConnect.opensInNewTabSr': ', opens in a new tab',\n 'textTemplatePicker.noVariablesMatch': 'No variables match \"{{ query }}\"',\n // component texts (generated by the template pass, grouped by component)\n 'messagingSendMessagePanel.recipientCount_one': '{{ count }} recipient',\n 'messagingSendMessagePanel.recipientCount_other': '{{ count }} recipients',\n // component texts (generated by the template pass, grouped by component)\n 'addressInput.cityPlaceholder': 'Springfield',\n 'addressInput.streetPlaceholder': '123 Main Street',\n 'addressInput.unitPlaceholder': 'Apt 4',\n 'addressInput.zipLabel': 'ZIP',\n 'bankAccountForm.mandate': 'By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.',\n 'board.itemNoun': 'item',\n 'board.itemNounPlural': 'items',\n 'board.movedTo': '{{ item }} moved to {{ column }}',\n 'board.showingOf': 'Showing {{ limit }} of {{ total }} {{ noun }} in {{ column }}',\n 'bulkMessagePanel.sendToN_one': 'Send to {{ count }} Contact',\n 'bulkMessagePanel.sendToN_other': 'Send to {{ count }} Contacts',\n 'cardListItem.priorityHigh': 'High priority',\n 'cardListItem.priorityLow': 'Low priority',\n 'cardListItem.priorityMedium': 'Medium priority',\n 'charts.seriesN': 'Series {{ n }}',\n 'format.daysAgo': '{{ n }}d ago',\n 'format.hoursAgo': '{{ n }}h ago',\n 'format.justNow': 'just now',\n 'format.minutesAgo': '{{ n }}m ago',\n 'imageGallery.imageN': 'Image {{ n }} of {{ total }}',\n 'imageGallery.imageNAlt': 'Image {{ n }} of {{ total }}: {{ alt }}',\n 'importExport.csvNeedsRows': 'CSV must have a header row and at least one data row.',\n 'importExport.importRecords_one': 'Import {{ count }} Record(s)',\n 'importExport.importRecords_other': 'Import {{ count }} Record(s)',\n 'importExport.importValidRows': 'Import Valid Rows',\n 'importExport.leaveBlank': '— Leave blank —',\n 'list.itemN': 'Item {{ n }}',\n 'messagingDocumentSendOptions.envelopeReadFailed': 'The documents of this envelope couldn\\'t be read, so it can\\'t be sent yet.',\n 'messagingDocumentSendOptions.envelopeReading': 'Reading the envelope\\'s documents…',\n 'messagingDocumentSendOptions.signersReadFailed': 'The signers of this document couldn\\'t be read, so it can\\'t be sent yet.',\n 'messagingDocumentSendOptions.signersReading': 'Reading the document\\'s signers…',\n // NOTE: the next text holds a literal merge tag ({{first_name}}) that must reach the screen as written. UiLabelsService leaves a placeholder it was given no value for\n // visible, so it is safe here; a dictionary fed to ANOTHER interpolating system (Transloco, ICU ...) must escape it there, or it is replaced/emptied.\n 'messagingSendMessagePanel.bulkMergeTagHint': 'Personal details such as {{first_name}} are filled in for each recipient when sent.',\n 'messagingSendMessagePanel.emailDisabled': 'Email sending is disabled, so this can\\'t be sent. Enable it in Communication Settings.',\n 'messagingSendMessagePanel.leftoverTags': 'Replace every {{…}} field with text before sending.',\n 'messagingSendMessagePanel.subjectAttached_one': 'Document attached: {{ title }}',\n 'messagingSendMessagePanel.subjectAttached_other': '{{ count }} documents attached: {{ title }}…',\n 'messagingSendMessagePanel.subjectShared_one': 'Document shared: {{ title }}',\n 'messagingSendMessagePanel.subjectShared_other': '{{ count }} documents shared: {{ title }}…',\n 'messagingSendMessagePanel.subjectSign_one': 'Signature required: {{ title }}',\n 'messagingSendMessagePanel.subjectSign_other': '{{ count }} documents to sign: {{ title }}…',\n 'pdfViewer.unsupported': 'This browser can\\'t show the document preview.',\n 'pdfViewer.workerMissing': 'PDF worker is not configured.',\n 'shareMenu.unavailable': 'Sharing from this page isn\\'t available here. Use one of the other options.',\n 'stepper.srDisabled': ', disabled',\n 'stepper.srError': ', error',\n 'stepper.srErrorMessage': ', error: {{ message }}',\n 'stepper.srOptional': ', optional',\n 'stepper.srStep': ', step {{ n }} of {{ total }}, {{ status }}',\n 'stepper.statusComplete': 'completed',\n 'stepper.statusCurrent': 'current step',\n 'stepper.statusNotStarted': 'not started',\n 'stepper.stepOf': 'Step {{ n }} of {{ total }}: {{ label }}',\n 'textTemplatePicker.nVariables': '{{ count }} variables',\n 'textTemplatePicker.noVariables': 'No variables found',\n 'textTemplatePicker.oneVariable': '1 variable',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.appName': 'App',\n 'messagingTemplatePicker.sampleAddress': '1842 Maple Grove Lane',\n 'messagingTemplatePicker.sampleClosingDate': 'Sept 15, 2026',\n 'messagingTemplatePicker.sampleCompany': 'Real Estate',\n 'messagingVideoLink.watchVideo': 'Watch video',\n 'paymentSidePanel.terminalProvider': 'Card',\n 'pdfDocumentViewerModal.fileName': 'Document',\n 'usState.AK': 'Alaska',\n 'usState.AL': 'Alabama',\n 'usState.AR': 'Arkansas',\n 'usState.AZ': 'Arizona',\n 'usState.CA': 'California',\n 'usState.CO': 'Colorado',\n 'usState.CT': 'Connecticut',\n 'usState.DC': 'District of Columbia',\n 'usState.DE': 'Delaware',\n 'usState.FL': 'Florida',\n 'usState.GA': 'Georgia',\n 'usState.HI': 'Hawaii',\n 'usState.IA': 'Iowa',\n 'usState.ID': 'Idaho',\n 'usState.IL': 'Illinois',\n 'usState.IN': 'Indiana',\n 'usState.KS': 'Kansas',\n 'usState.KY': 'Kentucky',\n 'usState.LA': 'Louisiana',\n 'usState.MA': 'Massachusetts',\n 'usState.MD': 'Maryland',\n 'usState.ME': 'Maine',\n 'usState.MI': 'Michigan',\n 'usState.MN': 'Minnesota',\n 'usState.MO': 'Missouri',\n 'usState.MS': 'Mississippi',\n 'usState.MT': 'Montana',\n 'usState.NC': 'North Carolina',\n 'usState.ND': 'North Dakota',\n 'usState.NE': 'Nebraska',\n 'usState.NH': 'New Hampshire',\n 'usState.NJ': 'New Jersey',\n 'usState.NM': 'New Mexico',\n 'usState.NV': 'Nevada',\n 'usState.NY': 'New York',\n 'usState.OH': 'Ohio',\n 'usState.OK': 'Oklahoma',\n 'usState.OR': 'Oregon',\n 'usState.PA': 'Pennsylvania',\n 'usState.RI': 'Rhode Island',\n 'usState.SC': 'South Carolina',\n 'usState.SD': 'South Dakota',\n 'usState.TN': 'Tennessee',\n 'usState.TX': 'Texas',\n 'usState.UT': 'Utah',\n 'usState.VA': 'Virginia',\n 'usState.VT': 'Vermont',\n 'usState.WA': 'Washington',\n 'usState.WI': 'Wisconsin',\n 'usState.WV': 'West Virginia',\n 'usState.WY': 'Wyoming',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.sendTest': 'Send Test',\n 'emailTemplateEditor.tipAlignCenter': 'Align Center',\n 'emailTemplateEditor.tipAlignLeft': 'Align Left',\n 'emailTemplateEditor.tipAlignRight': 'Align Right',\n 'emailTemplateEditor.tipBulletedList': 'Bulleted List',\n 'emailTemplateEditor.tipDeleteBlock': 'Delete block',\n 'emailTemplateEditor.tipInsertImage': 'Insert Image',\n 'emailTemplateEditor.tipInsertLink': 'Insert Link',\n 'emailTemplateEditor.tipMoveDown': 'Move down',\n 'emailTemplateEditor.tipMoveUp': 'Move up',\n 'emailTemplateEditor.tipNumberedList': 'Numbered List',\n 'emailTemplateEditor.tipTextColor': 'Text Color',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.tipBold': 'Bold',\n 'emailTemplateEditor.tipDuplicate': 'Duplicate',\n 'emailTemplateEditor.tipItalic': 'Italic',\n 'emailTemplateEditor.tipRedo': 'Redo',\n 'emailTemplateEditor.tipUnderline': 'Underline',\n 'emailTemplateEditor.tipUndo': 'Undo',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.imageAltDefault': 'Image',\n 'common.file': 'File',\n // component texts (generated by the template pass, grouped by component)\n 'calendar.eventCount_one': '{{ count }} event',\n 'calendar.eventCount_other': '{{ count }} events',\n 'calendar.level.critical': 'critical activity',\n 'calendar.level.high': 'high activity',\n 'calendar.level.low': 'low activity',\n 'calendar.level.medium': 'medium activity',\n // dates and times shown by helper functions\n 'time.now': 'now',\n 'time.minutesShort': '{{ n }}m',\n 'time.hoursShort': '{{ n }}h',\n 'time.daysShort': '{{ n }}d',\n 'time.today': 'Today',\n 'time.yesterday': 'Yesterday',\n // shared by several components\n 'common.filterBy': 'Filter by {{ label }}',\n 'common.filterOptions': '{{ label }} filter options',\n 'common.close': 'Close',\n 'common.closeFilter': 'Close filter',\n 'common.clear': 'Clear',\n 'common.cancel': 'Cancel',\n 'common.apply': 'Apply',\n 'common.confirm': 'Confirm',\n 'common.dismiss': 'Dismiss',\n 'common.more': 'More',\n 'common.tryAgain': 'Try again',\n 'common.filterTabs': 'Filter tabs',\n 'common.rowActions': 'Row actions',\n 'common.dismissingIn': 'Dismissing in {{ n }}s',\n 'common.selectValidOption': 'Select a valid option.',\n 'common.required': '(required)',\n // data table\n 'dataTable.apply': 'Apply',\n 'dataTable.cancel': 'Cancel',\n 'dataTable.clear': 'Clear',\n 'dataTable.clearFilters': 'Clear filters',\n 'dataTable.noResults': 'No results match your search or filters.',\n 'dataTable.emptyMessage': 'No records yet.',\n 'dataTable.searchPlaceholder': 'Search...',\n 'dataTable.searchBy': 'Search by {{ fields }}...',\n 'dataTable.tableLabel': 'Data table',\n 'dataTable.totalsLabel': 'Total',\n 'dataTable.selectAll': 'Select all rows',\n 'dataTable.selectRow': 'Select row',\n 'dataTable.selectRowNamed': 'Select {{ name }}',\n 'dataTable.rowActions': 'Row actions',\n 'dataTable.rowActionsNamed': 'Row actions for {{ name }}',\n 'dataTable.reorder': 'Reorder',\n 'dataTable.reorderRow': 'Reorder row',\n 'dataTable.reorderRowNamed': 'Reorder {{ name }}',\n 'dataTable.opensInNewTab': '(opens in a new tab)',\n 'dataTable.sortAndFilter': 'Sort and filter',\n 'dataTable.sort': 'Sort',\n 'dataTable.sortBy': 'Sort by',\n 'dataTable.export': 'Export',\n 'dataTable.import': 'Import',\n 'dataTable.delete': 'Delete',\n 'dataTable.deleteConfirm': 'Delete this record? This cannot be undone.',\n 'dataTable.deleteFailed': 'Failed to delete. Please try again.',\n 'dataTable.genericError': 'Something went wrong. Please try again.',\n 'dataTable.loadError.offline': 'You\\'re offline, so your {{ items }} can\\'t be shown. Reconnect to the internet and try again.',\n 'dataTable.loadError.noCopy': 'You\\'re offline, so your {{ items }} can\\'t be shown. There is no saved copy of this view on this device. Reconnect to the internet and try again.',\n 'dataTable.loadError.unreachable': 'Your {{ items }} can\\'t load because the app can\\'t reach the server. Your internet may be down or the server may be having a problem. Check your connection and try again.',\n 'dataTable.loadError.timeout': 'Your {{ items }} are taking too long to load. Your connection may be slow. Wait a moment and try again.',\n 'dataTable.loadError.session': 'Your session has ended, so your {{ items }} can\\'t load. Sign in again to continue.',\n 'dataTable.loadError.forbidden': 'You don\\'t have permission to view {{ items }}. Ask an administrator for access.',\n 'dataTable.loadError.server': 'The server had a problem loading your {{ items }}. This is usually temporary. Try again in a few minutes.',\n 'dataTable.loadError.other': 'Your {{ items }} couldn\\'t be loaded. Try again, and contact support if it keeps happening.',\n 'dataTable.actionError.offline': 'You\\'re offline, so this change wasn\\'t made. Reconnect to the internet and try again.',\n 'dataTable.actionError.unreachable': 'This change wasn\\'t made because the app can\\'t reach the server. Check your connection and try again.',\n 'dataTable.actionError.timeout': 'This is taking too long, and the change may not have been saved. Check the list before you try again.',\n 'dataTable.noneDeletable': 'None of the selected rows can be deleted.',\n 'dataTable.whatWillHappen': 'What will happen',\n 'dataTable.never': 'Never',\n 'dataTable.daysAgo': '{{ days }}d ago',\n 'dataTable.itemWord': 'item',\n 'dataTable.itemsWord': 'items',\n 'dataTable.selectedCount_one': '{{ count }} {{ item }} selected',\n 'dataTable.selectedCount_other': '{{ count }} {{ item }} selected',\n 'dataTable.sortByColumn': 'Sort by {{ column }}',\n 'dataTable.tryAgain': 'Try again',\n 'dataTable.all': 'All',\n 'dataTable.default': 'Default',\n 'dataTable.linkOpensNewTab': '{{ label }} (opens in a new tab)',\n // reordering\n 'dataTable.moveUp': 'Move {{ name }} up',\n 'dataTable.moveDown': 'Move {{ name }} down',\n 'dataTable.rowWord': 'row',\n 'dataTable.rowWordCapital': 'Row',\n 'dataTable.dragHint': 'Drag to reorder, or use the up and down arrow keys',\n 'dataTable.reorderHelp': 'Drag to reorder with a mouse, or use the up and down arrow keys; Home moves to the top and End to the bottom.',\n 'dataTable.reorderBlockedFiltered': 'Clear the sort, search and filters to change the order',\n 'dataTable.reorderBlockedNothing': 'There is nothing to reorder',\n 'dataTable.reorderBlockedOther': 'Reordering is not available right now',\n 'dataTable.reorderAtPosition': '{{ name }} is at position {{ position }} of {{ total }}. Use the up and down arrow keys to move it, Home for the top, End for the bottom.',\n 'dataTable.reorderMoved': '{{ name }} moved to position {{ position }} of {{ total }}',\n // bulk actions, confirmations and results\n 'dataTable.changeColumn': 'Change {{ column }}',\n 'dataTable.deleteTitle': 'Delete {{ items }}',\n 'dataTable.deleteRecordConfirm': 'Delete this {{ item }}? This cannot be undone.',\n 'dataTable.deleteBulkConfirm': 'Delete {{ count }} {{ item }}? This cannot be undone.',\n 'dataTable.actionConfirm': '{{ action }} for {{ count }} {{ item }}?',\n 'dataTable.bulkChangeConfirm': 'Change {{ column }} to {{ option }} for {{ count }} {{ item }}?',\n 'dataTable.bulkCustomConfirm': '{{ label }}: {{ option }} for {{ count }} {{ item }}?',\n 'dataTable.noneQualify': 'None of the selected rows qualify for {{ action }}.',\n 'dataTable.skipNotQualify_one': '1 selected row doesn\\'t qualify for {{ action }} and will be skipped.',\n 'dataTable.skipNotQualify_other': '{{ count }} selected rows don\\'t qualify for {{ action }} and will be skipped.',\n 'dataTable.skipCantDelete_one': '1 selected row can\\'t be deleted and will be skipped.',\n 'dataTable.skipCantDelete_other': '{{ count }} selected rows can\\'t be deleted and will be skipped.',\n 'dataTable.skipCantChange_one': '1 selected row can\\'t be changed to {{ option }} and will be skipped.',\n 'dataTable.skipCantChange_other': '{{ count }} selected rows can\\'t be changed to {{ option }} and will be skipped.',\n 'dataTable.skipAlreadyHas_one': '1 selected row already has this value and will be skipped.',\n 'dataTable.skipAlreadyHas_other': '{{ count }} selected rows already have this value and will be skipped.',\n 'dataTable.noChangesBlocked': 'No changes — the selected rows can\\'t be changed to {{ option }}.',\n 'dataTable.noChangesAlready': 'No changes — all selected {{ item }} already have {{ option }}.',\n 'dataTable.bulkCannotApply': 'The selected rows can\\'t all be changed to {{ option }} together.',\n 'dataTable.bulkOptionBlocked': '{{ option }}: {{ reason }}',\n 'dataTable.doneUpdated': 'updated',\n 'dataTable.doneDeleted': 'deleted',\n 'dataTable.doneDownloaded': 'downloaded',\n 'dataTable.summaryDone': '{{ count }} {{ done }}',\n 'dataTable.summarySkipped': '{{ count }} skipped',\n 'dataTable.summaryNotAllowed': '{{ count }} not allowed',\n // Rows another save held at that moment (the backend's `busy`, not part of `skipped`): the last part of \"2 updated, 1 skipped, 3 busy (try again).\" and, when NOTHING else happened, the whole sentence (the item word agrees with the count).\n 'dataTable.summaryBusy': '{{ count }} busy (try again)',\n 'dataTable.summaryBusyOnly_one': '{{ count }} {{ item }} is busy: another save was in progress, try again.',\n 'dataTable.summaryBusyOnly_other': '{{ count }} {{ item }} are busy: another save was in progress, try again.',\n // FLAG, not UI text: 'yes' / 'no' (never shown). It chooses the {{ item }} word of the two summaryAll texts. 'no' (English): the singular word next to \"(s)\"\n // (\"3 contact(s) updated.\"). 'yes' (a language whose nouns agree with the number, Spanish): the word that agrees with the count (\"1 contacto\", \"5 contactos\").\n 'dataTable.summaryUsesCountAgreement': 'no',\n 'dataTable.summaryAll_one': '{{ count }} {{ item }}(s) {{ done }}.',\n 'dataTable.summaryAll_other': '{{ count }} {{ item }}(s) {{ done }}.',\n 'dataTable.summaryDownloadSkipped': '{{ count }} {{ done }}, {{ skipped }} skipped.',\n 'dataTable.rowDeleted': '{{ item }} deleted',\n 'dataTable.rowNotDeleted': 'This {{ item }} wasn\\'t deleted — it may have changed or already been removed.',\n 'dataTable.viewSaved': 'View saved',\n 'dataTable.viewSaveFailed': 'Failed to save view',\n 'dataTable.viewDeleted': 'View deleted',\n 'dataTable.viewDeleteFailed': 'Failed to delete view',\n // connection / offline support (@forgeroute/ui/offline)\n 'connection.offline.title': \"You're offline\",\n 'connection.offline.message': \"Your changes are saved on this device and will send when you're back online.\",\n 'connection.pending.one': '{{ count }} change waiting to send',\n 'connection.pending.other': '{{ count }} changes waiting to send',\n 'connection.slow.title': 'Slow connection',\n 'connection.slow.message': \"Things may take longer. Your work is safe — please wait and don't tap Save twice.\",\n 'connection.unreachable.title': \"Can't reach the server\",\n 'connection.unreachable.message': \"We'll keep trying. Your changes are saved on this device.\",\n 'connection.syncing.one': 'Back online. Sending {{ count }} change…',\n 'connection.syncing.other': 'Back online. Sending {{ count }} changes…',\n 'connection.synced': 'All changes synced',\n 'connection.needAttention.one': '{{ count }} change needs your attention',\n 'connection.needAttention.other': '{{ count }} changes need your attention',\n 'connection.syncNow': 'Sync now',\n 'connection.viewChanges': 'View changes',\n 'connection.whatCanIDo': 'What can I do?',\n 'connection.hide': 'Hide',\n 'connection.savedOnDevice': \"Saved on this device — will send when you're back online.\",\n 'connection.offline.noQueue.message': \"This page needs a connection to continue. What you have entered stays on this page.\",\n 'connection.unreachable.noQueue.message': \"We'll keep trying. What you have entered stays on this page.\",\n 'connection.slow.noQueue.message': \"Things may take longer. Please wait and don't tap twice.\",\n 'connection.backOnline': \"You're back online\",\n 'connection.stillWorking': \"Still working… please don't tap again.\",\n 'connection.timeout.read': 'This is taking too long. Check your connection and try again.',\n 'connection.thisAction': 'This action',\n 'connection.timeout.write': 'This is taking too long. It may have been saved — please check before trying again.',\n 'connection.blocked': '{{ action }} needs an internet connection. Reconnect and try again.',\n 'connection.uploadBlocked': 'File uploads need an internet connection.',\n 'connection.storageUnavailable': \"Can't save while offline on this device.\",\n 'connection.noCopy': 'No connection and no saved copy.',\n 'connection.storageNotAvailable': 'Offline storage is not available.',\n 'connection.storageTimeout': 'Opening the offline database timed out (blocked by another tab?).',\n 'connection.queueFull': 'The offline queue is full ({{ limit }}).',\n 'connection.transactionAborted': 'The transaction was aborted.',\n 'connection.stale': 'Showing saved data from {{ time }}',\n 'connection.refresh': 'Refresh',\n 'connection.refreshAria': 'Refresh to load the latest data',\n 'connection.logoutPending.one': 'You have {{ count }} change that has not been sent yet. If you sign out now it stays on this device and is sent when you sign in again.',\n 'connection.logoutPending.other': 'You have {{ count }} changes that have not been sent yet. If you sign out now they stay on this device and are sent when you sign in again.',\n 'connection.authBlocked': 'Please sign in again to send your saved changes. They are safe on this device.',\n 'connection.error.conflict': 'The server already has a different version.',\n 'connection.error.rejected': 'The server did not accept this change.',\n 'connection.error.server': 'The server had a problem. We will try again.',\n 'connection.error.network': 'No connection. We will try again.',\n 'connection.error.timeout': 'The server took too long. We will try again.',\n 'connection.error.auth': 'Please sign in again to send this change. It is safe on this device.',\n 'connection.error.unknown': 'This change could not be sent yet. Press Retry to try again.',\n 'connection.error.dependency': 'This change depends on another change that could not be saved first.',\n 'connection.retry': 'Retry',\n 'connection.discard': 'Discard',\n 'connection.discardAll': 'Discard all',\n 'connection.syncAll': 'Sync all',\n 'connection.region': 'Connection status',\n 'connection.info.panelLabel': 'What you can do right now',\n 'connection.info.canDoTitle': 'You can still:',\n 'connection.info.canDo1': 'Look at pages you have already opened',\n 'connection.info.canDo2': 'Fill in and save forms — your changes stay on this device and send when you are back online',\n 'connection.info.needsTitle': 'These need an internet connection:',\n 'connection.info.needs1': 'Payments, sending email or text messages, and uploading files',\n 'connection.drawer.title': 'Saved changes',\n 'connection.drawer.list': 'Saved changes',\n 'connection.drawer.empty': 'Nothing is waiting to send. All your changes are synced.',\n 'connection.drawer.close': 'Close',\n 'connection.status.pending': 'Waiting to send',\n 'connection.status.syncing': 'Sending…',\n 'connection.status.failed': 'Could not send',\n 'connection.status.conflict': 'Needs your decision',\n 'connection.savedAt': 'Saved {{ time }}',\n 'connection.time.justNow': 'just now',\n 'connection.retryNamed': 'Retry {{ label }}',\n 'connection.discardNamed': 'Discard {{ label }}',\n 'connection.discard.title': 'Discard this change?',\n 'connection.discard.message': 'Discard \"{{ label }}\"? It will not be sent to the server and this cannot be undone.',\n 'connection.discard.dependents.one': 'Discard \"{{ label }}\"? 1 other saved change depends on it and will not be sent either. This cannot be undone.',\n 'connection.discard.dependents.other': 'Discard \"{{ label }}\"? {{ count }} other saved changes depend on it and will not be sent either. This cannot be undone.',\n 'connection.discardAll.title': 'Discard all saved changes?',\n 'connection.discardAll.message.one': 'Discard {{ count }} saved change? It will not be sent to the server and this cannot be undone.',\n 'connection.discardAll.message.other': 'Discard all {{ count }} saved changes? They will not be sent to the server and this cannot be undone.',\n 'connection.result.retrying': 'Retrying \"{{ label }}\"…',\n 'connection.result.syncStarted': 'Sending your saved changes…',\n 'connection.result.discarded': 'Discarded \"{{ label }}\".',\n 'connection.result.discardedAll': 'Discarded all saved changes.',\n 'connection.conflict.rowText': 'This was changed by someone else after you saved it offline, so your change was not applied.',\n 'connection.conflict.keepMine': 'Keep my version',\n 'connection.conflict.keepMineNamed': 'Keep my version of {{ label }}',\n 'connection.conflict.discard': 'Discard my change',\n 'connection.conflict.discardNamed': 'Discard my change: {{ label }}',\n 'connection.conflict.confirmTitle': 'Keep my version?',\n 'connection.conflict.confirmMessage': 'Replace the newer version? Your change will overwrite what someone else saved. The other version is lost.',\n 'connection.conflict.result.keeping': 'Sending your version of \"{{ label }}\"…',\n 'connection.conflict.error.disabled': 'Keep my version is not turned on for this app.',\n 'connection.conflict.error.notFound': 'This saved change no longer exists.',\n 'connection.conflict.error.notConflict': 'This change is not waiting for your decision.',\n 'connection.conflict.error.noStamp': 'There is nothing to overwrite for this change.',\n 'connection.conflict.result.sent': 'Your version of \"{{ label }}\" was sent.',\n 'connection.conflict.result.shortly': 'Your version of \"{{ label }}\" will be sent shortly.',\n 'connection.conflict.error.unknown': 'Your version could not be sent yet. Your change is still saved on this device.',\n 'common.example': 'e.g. {{ value }}',\n 'format.durationMinSec': '{{ m }}m {{ s }}s',\n 'format.durationSec': '{{ s }}s',\n 'format.aptPrefix': 'Apt {{ apt }}',\n 'common.listAnd': '{{ list }} and {{ last }}',\n // The joiner before a last item that starts with the sound \"i\" (Spanish \"e\": \"video e imagen\"); English has one \"and\".\n 'common.listAndBeforeI': '{{ list }} and {{ last }}',\n 'discountSelector.applies.labor': 'labor',\n 'discountSelector.applies.materials': 'materials',\n 'discountSelector.applies.total': 'total',\n 'importExport.downloadTemplate': 'Download template',\n 'importExport.exportedCount': '{{ count }} {{ noun }} exported',\n 'contactPicker.resultCount_one': '{{ count }} result',\n 'contactPicker.resultCount_other': '{{ count }} results',\n 'conversations.status.delivered': 'Delivered',\n 'conversations.status.sent': 'Sent',\n 'conversations.status.failed': 'Failed',\n 'conversations.status.scheduled': 'Scheduled',\n 'conversations.imageFallbackName': 'image',\n 'calendar.view.week': 'Week',\n 'calendar.view.month': 'Month',\n 'calendar.view.agenda': 'Agenda',\n 'colorInput.invalidHex': 'Enter a hex colour like #3b82f6.',\n 'messagingVideoLink.watchNamed': 'Watch \"{{ title }}\": {{ link }}',\n 'connection.defaultLabel.add': 'Add {{ entity }}',\n 'connection.defaultLabel.update': 'Update {{ entity }}',\n 'connection.defaultLabel.delete': 'Delete {{ entity }}',\n 'connection.entityFallback': 'item',\n 'dataTable.rowPosition': '({{ k }} of {{ total }})',\n 'multiSelect.nSelected_one': '{{ count }} selected',\n 'multiSelect.nSelected_other': '{{ count }} selected',\n 'bulkMessagePanel.skippedNo_one': '{{ count }} skipped (no {{ what }})',\n 'bulkMessagePanel.skippedNo_other': '{{ count }} skipped (no {{ what }})',\n 'messagingSendMessagePanel.canReceiveEmail_one': '{{ count }} can receive email',\n 'messagingSendMessagePanel.canReceiveEmail_other': '{{ count }} can receive email',\n 'messagingSendMessagePanel.canReceiveText_one': '{{ count }} can receive text',\n 'messagingSendMessagePanel.canReceiveText_other': '{{ count }} can receive text',\n 'messagingSendMessagePanel.announceNone_one': '{{ count }} {{ word }} selected. None can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceNone_other': '{{ count }} {{ word }} selected. None can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceSome_one': '{{ count }} {{ word }} selected. {{ ok }} can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceSome_okOne': '{{ count }} {{ word }} selected. {{ ok }} can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceSome_other': '{{ count }} {{ word }} selected. {{ ok }} can receive the {{ channel }}.',\n 'paymentSidePanel.span.second_one': '{{ count }} second',\n 'paymentSidePanel.span.second_other': '{{ count }} seconds',\n 'fileInput.word.image': 'image',\n 'fileInput.word.video': 'video',\n 'fileInput.word.audio': 'audio',\n // Language marker, not a caption: the integrations catalog (integrations.catalog.ts) shows its Spanish copy only while this is 'es'. A dictionary of another\n // language leaves it as is (or sets its own code), so the English catalog is shown instead of a Spanish one next to that language's texts.\n 'integrations.language': 'en',\n // Locale marker, not a caption: the locale of dates, times and numbers that goes with this dictionary. UiLabelsService.locale() answers it unless\n // the app called setLocale(). A dictionary of another language that does not set it falls back to en-US.\n 'i18n.locale': 'en-US',\n 'language.label': 'Language',\n 'language.automatic': 'Automatic ({{ name }})',\n 'setupWizard.integrationTitle.twilio': 'Twilio (calls & texts)',\n 'validation.requiredNoLabel': 'This field is required.',\n 'common.nSelected': '{{ count }} selected',\n 'kanban.ariaLabel': 'Board',\n 'kanban.loading': 'Loading {{ name }}',\n 'kanban.emptyColumnText': 'Nothing here yet',\n 'kanban.columnLabel_one': '{{ column }}, {{ count }} card',\n 'kanban.columnLabel_other': '{{ column }}, {{ count }} cards',\n 'kanban.probability': '{{ percent }} probability',\n 'kanban.moveTo': 'Move to {{ column }}',\n 'kanban.moveMenu': 'Move {{ name }}',\n 'kanban.hint': 'Press Space to pick up a card, the arrow keys to move it, Space or Enter to drop it and Escape to cancel. Press Enter to open a card.',\n 'kanban.pickedUp': 'Picked up {{ item }}. {{ column }}, position {{ position }} of {{ total }}. Use the arrow keys to move it, Space or Enter to drop it, Escape to cancel.',\n 'kanban.movingOver': '{{ item }}: {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.movingOverBlocked': '{{ item }} cannot be dropped in {{ column }}.',\n 'kanban.moved': 'Moved {{ item }} to {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.unchanged': '{{ item }} stays in {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.dropBlocked': 'Cannot move {{ item }} to {{ column }}.',\n 'kanban.cancelled': 'Move cancelled. {{ item }} is back in {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.reverted': '{{ item }} could not be moved. It is back in {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.blocked': 'Not allowed',\n 'kanban.showMore': 'Show {{ next }} more ({{ hidden }} not shown)',\n 'kanban.showingOf': 'Showing {{ limit }} of {{ total }} cards in {{ column }}',\n 'map.ariaLabel': 'Map',\n 'map.keyboardHelp': 'Use the arrow keys to pan and the plus and minus keys to zoom. Every place on the map is also in the list of places.',\n 'map.zoomIn': 'Zoom in',\n 'map.zoomOut': 'Zoom out',\n 'map.fitMarkers': 'Show all places',\n 'map.loading': 'Loading map',\n 'map.unavailableNoTiles': 'Map unavailable: no tile source configured',\n 'map.unavailableNoAttribution': 'Map unavailable: the tile source has no attribution text',\n 'map.unavailableInvalidTiles': 'Map unavailable: the tile source address is not valid',\n 'map.unavailableLoadFailed': 'Map unavailable: the map could not be loaded',\n 'map.tilesFailed': 'Some map tiles could not be loaded.',\n 'map.listLabel': 'Places on the map',\n 'map.listCount_one': '{{ count }} place',\n 'map.listCount_other': '{{ count }} places',\n 'map.listShowing': 'Showing {{ shown }} of {{ total }} places',\n 'map.listEmpty': 'No places to show.',\n 'map.clusterTitle': '{{ count }} places. Select to zoom in.',\n 'map.infoLabel': 'Details for {{ name }}',\n 'map.closeInfo': 'Close details',\n 'map.drawToolbar': 'Search area tools',\n 'map.drawCircle': 'Draw circle',\n 'map.drawRectangle': 'Draw rectangle',\n 'map.drawPolygon': 'Draw area',\n 'map.clearArea': 'Clear area',\n 'map.drawFinish': 'Finish',\n 'map.drawCancel': 'Cancel',\n 'map.drawUndo': 'Undo last point',\n 'map.addPointAtCenter': 'Add point at crosshair',\n 'map.draw.circle': 'Drawing a circle. Click the center, then click a point on its edge. Space adds a point at the crosshair, Escape cancels.',\n 'map.draw.rectangle': 'Drawing a rectangle. Click one corner, then the opposite corner. Space adds a point at the crosshair, Escape cancels.',\n 'map.draw.polygon': 'Drawing an area. Click each corner, then press Enter or Finish. Space adds a point at the crosshair, Backspace removes the last point, Escape cancels.',\n 'map.draw.pointAdded': 'Point {{ count }} added.',\n 'map.draw.pointRemoved': 'Last point removed. {{ count }} left.',\n 'map.draw.needMore_one': 'Add {{ count }} more point to finish.',\n 'map.draw.needMore_other': 'Add {{ count }} more points to finish.',\n 'map.draw.rejected': 'That point cannot be used. Pick a different spot.',\n 'map.draw.cancelled': 'Drawing cancelled.',\n 'map.draw.cleared': 'Search area cleared.',\n 'map.draw.finished': 'Search area set. {{ area }}',\n 'map.areaSummary': 'Search area: {{ area }}',\n 'map.area.circle': 'Circle, center {{ lat }}, {{ lng }}, radius {{ radius }}',\n 'map.area.bbox': 'Rectangle, north {{ north }}, south {{ south }}, east {{ east }}, west {{ west }}',\n 'map.area.polygon': 'Area with {{ count }} points',\n 'map.unitMeters': '{{ value }} m',\n 'map.unitKilometers': '{{ value }} km',\n 'map.form.title': 'Search area',\n 'map.form.shape': 'Shape',\n 'map.form.circle': 'Circle',\n 'map.form.rectangle': 'Rectangle',\n 'map.form.polygon': 'Polygon',\n 'map.form.centerLat': 'Center latitude',\n 'map.form.centerLng': 'Center longitude',\n 'map.form.radius': 'Radius',\n 'map.form.radiusUnit': 'Radius unit',\n 'map.form.unitM': 'Meters',\n 'map.form.unitKm': 'Kilometers',\n 'map.form.unitMi': 'Miles',\n 'map.form.north': 'North latitude',\n 'map.form.south': 'South latitude',\n 'map.form.east': 'East longitude',\n 'map.form.west': 'West longitude',\n 'map.form.pointLat': 'Point latitude',\n 'map.form.pointLng': 'Point longitude',\n 'map.form.addPoint': 'Add point',\n 'map.form.pointsLabel': 'Points',\n 'map.form.pointItem': 'Point {{ n }}: {{ lat }}, {{ lng }}',\n 'map.form.removePoint': 'Remove point {{ n }}',\n 'map.form.noPoints': 'No points yet.',\n 'map.form.apply': 'Apply area',\n 'map.form.clear': 'Clear area',\n 'map.form.applied': 'Search area applied.',\n 'map.form.errorNumber': 'Enter a number.',\n 'map.form.errorLat': 'Enter a latitude between -90 and 90.',\n 'map.form.errorLng': 'Enter a longitude between -180 and 180.',\n 'map.form.errorRadius': 'Enter a radius greater than 0.',\n 'map.form.errorNorthSouth': 'North must be greater than south.',\n 'map.form.errorEastWest': 'East must be greater than west.',\n 'map.form.errorPolygon': 'Add at least 3 points.',\n 'map.draw.selfIntersecting': 'That point would make the area cross itself. Pick a different spot.',\n 'map.draw.finishSelfIntersecting': 'The area crosses itself. Remove the last point or undo until it does not.',\n 'map.form.errorSelfIntersecting': 'The area cannot cross itself. Remove or move a point.',\n 'map.placeSelected': '{{ name }} selected',\n 'notificationBell.label': 'Notifications',\n 'notificationBell.empty': 'You have no notifications.',\n 'notificationBell.close': 'Close',\n 'notificationBell.loading': 'Loading notifications',\n 'notificationBell.retry': 'Retry',\n 'notificationBell.markAllRead': 'Mark all as read',\n 'notificationBell.markRead': 'Mark read',\n 'notificationBell.markReadNamed': 'Mark {{ title }} as read',\n 'notificationBell.loadMore': 'Load more',\n 'notificationBell.new': 'New',\n 'notificationBell.labelUnread': '{{ label }}, {{ count }} unread',\n 'notificationBell.unread': '{{ count }} unread',\n 'notificationBell.allCaughtUp': 'All caught up',\n 'notificationBell.announce.none': 'You have no unread notifications.',\n 'notificationBell.announce.one': 'You have 1 unread notification.',\n 'notificationBell.announce.other': 'You have {{ count }} unread notifications.',\n 'stackingPlan.legend': 'Legend',\n 'stackingPlan.showTable': 'Show as table',\n 'stackingPlan.showPlan': 'Show as plan',\n 'stackingPlan.floor': 'Floor',\n 'stackingPlan.unit': 'Unit',\n 'stackingPlan.size': 'Size',\n 'stackingPlan.details': 'Details',\n 'rangeFilter.min': 'Min',\n 'rangeFilter.max': 'Max',\n 'rangeFilter.minFor': '{{ label }} minimum',\n 'rangeFilter.maxFor': '{{ label }} maximum',\n 'rangeFilter.group': '{{ label }} range',\n 'rangeFilter.minAboveMax': 'Min must not be above Max.',\n 'rangeFilter.between': '{{ min }} - {{ max }}',\n 'rangeFilter.atLeast': 'At least {{ min }}',\n 'rangeFilter.atMost': 'At most {{ max }}',\n 'rangeFilter.filterByActive': 'Filter by {{ label }}: {{ range }}',\n 'rangeFilter.percent': '{{ value }}%',\n 'rangeFilter.withUnit': '{{ value }} {{ unit }}',\n 'rangeFilter.badNumber': 'Please enter a valid number',\n // square / quickbooks payments entry points (@forgeroute/ui/square, @forgeroute/ui/quickbooks) and the Stripe confirmation token\n 'squarePayment.label': 'Payment details',\n 'squarePayment.loadErrorMessage': 'Failed to load the payment form. Please try again.',\n 'squarePayment.a11y.loading': 'Loading payment form',\n 'squarePayment.a11y.processing': 'Processing payment',\n 'squarePayment.a11y.tokenized': 'Payment details accepted',\n 'squarePayment.method.group': 'Payment method',\n 'squarePayment.method.card': 'Card',\n 'squarePayment.method.ach': 'Bank account',\n 'squarePayment.submit.pay': 'Pay',\n 'squarePayment.submit.payBank': 'Pay with bank account',\n 'squarePayment.submit.saveCard': 'Save card',\n 'squarePayment.submit.saveBank': 'Save bank account',\n 'squarePayment.holderLabel': 'Account holder name',\n 'squarePayment.holderPlaceholder': 'Full name on the bank account',\n 'squarePayment.holderRequired': 'Enter the account holder name.',\n 'squarePayment.achInfo': 'Choose your bank in the secure window that opens next. Your bank login is never shared with us.',\n 'squarePayment.achConsent': 'By checking this box, I authorize the above business to initiate a one-time ACH debit entry to my bank account for the total shown (the payment amount plus any fees). I understand I may revoke this authorization at any time by contacting the business.',\n 'squarePayment.achConsentSetup': 'By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.',\n 'squarePayment.consentRequired': 'Accept the bank authorization to continue.',\n 'squarePayment.msg.loadFailed': 'Failed to load the payment service',\n 'squarePayment.msg.configMissing': 'Payments are not set up for this business yet.',\n 'squarePayment.msg.notReady': 'The payment form is not ready yet.',\n 'squarePayment.msg.cardFormFailed': 'Could not show the card form. Please refresh the page.',\n 'squarePayment.msg.achInitFailed': 'Could not start the bank account form. Please try again.',\n 'squarePayment.msg.cancelled': 'The bank authorization was cancelled.',\n 'squarePayment.msg.tokenizeFailed': 'We could not read your card details. Please check them and try again.',\n 'squarePayment.msg.achFailed': 'The bank account could not be authorized. Please try again.',\n 'squarePayment.msg.verifyFailed': 'We could not verify your identity with your bank. Please try again or use another card.',\n 'squareErrors.defaultMessage': 'Payment failed. Please try again.',\n 'squareErrors.field.cardNumber': 'The card number is not valid. Please check it and try again.',\n 'squareErrors.field.expirationDate': 'The expiration date is not valid. Please check it and try again.',\n 'squareErrors.field.cvv': 'The security code is not valid. Please check it and try again.',\n 'squareErrors.field.postalCode': 'The postal code is not valid. Please check it and try again.',\n 'squareErrors.type.UNSUPPORTED_CARD_BRAND': 'This card type is not accepted. Please use a different card.',\n 'squareErrors.type.CONFIGURATION': 'Card payments are not set up correctly. Please contact the business.',\n 'squareErrors.type.PAYMENT_METHOD_NOT_SUPPORTED': 'This payment method is not available in your browser. Please use a different one.',\n 'squareErrors.code.GENERIC_DECLINE': 'Your card was declined. Please contact your bank or try a different card.',\n 'squareErrors.code.CARD_DECLINED': 'Your card was declined. Please use a different card.',\n 'squareErrors.code.CARD_DECLINED_CALL_ISSUER': 'Your bank declined this payment. Please call your bank for more information.',\n 'squareErrors.code.CARD_DECLINED_VERIFICATION_REQUIRED': 'This card needs to be verified. Please try again and complete the verification step.',\n 'squareErrors.code.INSUFFICIENT_FUNDS': 'Your card has insufficient funds. Please use a different card.',\n 'squareErrors.code.CVV_FAILURE': 'The security code is incorrect. Please check it and try again.',\n 'squareErrors.code.ADDRESS_VERIFICATION_FAILURE': 'The postal code does not match the card. Please check it and try again.',\n 'squareErrors.code.INVALID_EXPIRATION': 'The expiration date is incorrect. Please check it and try again.',\n 'squareErrors.code.CARD_EXPIRED': 'Your card has expired. Please use a different card.',\n 'squareErrors.code.INVALID_CARD': 'The card number is incorrect. Please check it and try again.',\n 'squareErrors.code.CARD_NOT_SUPPORTED': 'This card does not support this type of payment. Please use a different card.',\n 'squareErrors.code.INVALID_ACCOUNT': 'This bank account could not be used. Please try a different account.',\n 'squareErrors.code.PAYMENT_LIMIT_EXCEEDED': 'This payment is over the allowed limit. Please contact the business.',\n 'squareErrors.code.BUYER_REFUSED_PAYMENT': 'The payment was not authorized. Please try again.',\n 'squareErrors.code.CARDHOLDER_INSUFFICIENT_PERMISSIONS': 'This card cannot be used for this payment. Please use a different card.',\n 'squareErrors.code.IDEMPOTENCY_KEY_REUSED': 'This payment was already submitted with different details. Please reload the page and try again.',\n 'squareErrors.code.RATE_LIMITED': 'Too many requests. Please wait a moment and try again.',\n 'squareErrors.code.UNAUTHORIZED': 'Card payments are not available right now. Please contact the business.',\n 'squareConnect.title': 'Square account',\n 'squareConnect.startTitle': 'Connect your Square account',\n 'squareConnect.startText': 'Collect your customers\\' payments online. You authorize access on Square, then come back here.',\n 'squareConnect.startLabel': 'Connect Square',\n 'squareConnect.connected': 'Square connected',\n 'squareConnect.needsReconnect': 'Reconnect needed',\n 'squareConnect.reconnectText': 'Square no longer accepts the saved authorization. Connect again to keep taking payments.',\n 'squareConnect.reconnect': 'Reconnect',\n 'squareConnect.disconnect': 'Disconnect',\n 'squareConnect.disconnectTitle': 'Disconnect Square',\n 'squareConnect.disconnectMessage': 'Customers can no longer pay with Square until you connect again.',\n 'squareConnect.checkStatus': 'Check Status',\n 'squareConnect.checking': 'Checking...',\n 'squareConnect.connectedOn': 'Connected {{ date }}',\n 'squareConnect.opensInNewTabBusy': '{{ label }}, opens in a new tab, busy',\n 'squareConnect.opensInNewTabSr': ', opens in a new tab',\n 'squareConnect.live.none': 'Square not connected.',\n 'squareConnect.live.connected': 'Square connected.',\n 'squareConnect.live.reconnect': 'Square needs to be reconnected.',\n 'squareConnect.live.loading': '{{ text }} Loading.',\n 'squareConnect.noticeConnected': 'Square is connected.',\n 'squareConnect.noticeReconnect': 'Square needs to be reconnected. Please connect again.',\n 'squareConnect.noticeNotConnected': 'Square is not connected yet. Finish the authorization, then check again.',\n 'squareConnect.noticeDisconnected': 'Square disconnected.',\n 'squareConnect.noticeLinkUnavailable': 'Unable to open the Square authorization page. Please try again.',\n 'squareConnect.failedStart': 'Failed to start the Square connection',\n 'squareConnect.failedCheck': 'Failed to check the Square connection',\n 'squareConnect.failedDisconnect': 'Failed to disconnect Square',\n 'squareConnect.merchantLine': 'Merchant: {{ merchant }}',\n 'squareConnect.locationLine': 'Location: {{ location }}',\n 'qboConnect.title': 'QuickBooks Payments',\n 'qboConnect.startTitle': 'Connect your QuickBooks account',\n 'qboConnect.startText': 'Collect your customers\\' card and bank payments through QuickBooks Payments. You authorize access on Intuit, then come back here.',\n 'qboConnect.startLabel': 'Connect QuickBooks',\n 'qboConnect.connected': 'QuickBooks connected',\n 'qboConnect.needsReconnect': 'Reconnect needed',\n 'qboConnect.reconnectText': 'QuickBooks no longer accepts the saved authorization. Connect again to keep taking payments.',\n 'qboConnect.reconnect': 'Reconnect',\n 'qboConnect.disconnect': 'Disconnect',\n 'qboConnect.disconnectTitle': 'Disconnect QuickBooks',\n 'qboConnect.disconnectMessage': 'Customers can no longer pay with QuickBooks until you connect again.',\n 'qboConnect.checkStatus': 'Check Status',\n 'qboConnect.checking': 'Checking...',\n 'qboConnect.connectedOn': 'Connected {{ date }}',\n 'qboConnect.opensInNewTabBusy': '{{ label }}, opens in a new tab, busy',\n 'qboConnect.opensInNewTabSr': ', opens in a new tab',\n 'qboConnect.live.none': 'QuickBooks not connected.',\n 'qboConnect.live.connected': 'QuickBooks connected.',\n 'qboConnect.live.reconnect': 'QuickBooks needs to be reconnected.',\n 'qboConnect.live.loading': '{{ text }} Loading.',\n 'qboConnect.noticeConnected': 'QuickBooks is connected.',\n 'qboConnect.noticeReconnect': 'QuickBooks needs to be reconnected. Please connect again.',\n 'qboConnect.noticeNotConnected': 'QuickBooks is not connected yet. Finish the authorization, then check again.',\n 'qboConnect.noticeDisconnected': 'QuickBooks disconnected.',\n 'qboConnect.noticeLinkUnavailable': 'Unable to open the QuickBooks authorization page. Please try again.',\n 'qboConnect.failedStart': 'Failed to start the QuickBooks connection',\n 'qboConnect.failedCheck': 'Failed to check the QuickBooks connection',\n 'qboConnect.failedDisconnect': 'Failed to disconnect QuickBooks',\n 'qboConnect.companyLine': 'Company: {{ company }}',\n 'squarePaymentMethod.methodCard': 'Card',\n 'squarePaymentMethod.methodAch': 'ACH / Bank Transfer',\n 'squarePaymentMethod.amountNeeded': 'Enter an amount to continue.',\n 'squarePaymentMethod.notCompleted': 'Payment was not completed. Please try again or choose another method.',\n 'squarePaymentMethod.achTitle': 'Bank Payment Submitted',\n 'squarePaymentMethod.achMessage': 'Your bank payment of {{ amount }} has been submitted for processing. ACH payments typically take 3–5 business days to complete.',\n 'squarePaymentMethod.pendingTitle': 'Payment Submitted',\n 'squarePaymentMethod.pendingMessage': 'Your payment of {{ amount }} has been submitted and is being processed.',\n 'squarePaymentMethod.receiptNote': 'A receipt is sent once the payment has been fully processed and settled.',\n 'squarePaymentMethod.paymentDetails': 'Payment details',\n 'squarePaymentMethod.totalCharged': 'Total charged',\n 'squarePaymentMethod.amountPlusFees': 'Payment amount plus fees',\n 'squarePaymentMethod.paymentTotal': 'Payment total',\n 'squarePaymentMethod.paymentAmount': 'Payment amount',\n 'squarePaymentMethod.processingFee': 'Processing fee',\n 'squarePaymentMethod.platformFee': 'Platform fee',\n 'squarePaymentMethod.feesFailed': 'Could not calculate the fees. Please try again.',\n 'squarePaymentMethod.announceProcessing': 'Processing payment',\n 'squarePaymentMethod.pay': 'Pay',\n 'squarePaymentMethod.paymentFailed': 'Payment failed. Please try again.',\n 'squarePaymentMethod.unavailable': 'Payments are not available right now.',\n 'squarePaymentMethod.announceReady': 'Payment form ready',\n 'qboPaymentMethod.methodCard': 'Card',\n 'qboPaymentMethod.methodAch': 'ACH / Bank Transfer',\n 'qboPaymentMethod.amountNeeded': 'Enter an amount to continue.',\n 'qboPaymentMethod.notCompleted': 'Payment was not completed. Please try again or choose another method.',\n 'qboPaymentMethod.achTitle': 'Bank Payment Submitted',\n 'qboPaymentMethod.achMessage': 'Your bank payment of {{ amount }} has been submitted for processing. ACH payments typically take 3–5 business days to complete.',\n 'qboPaymentMethod.pendingTitle': 'Payment Submitted',\n 'qboPaymentMethod.pendingMessage': 'Your payment of {{ amount }} has been submitted and is being processed.',\n 'qboPaymentMethod.receiptNote': 'A receipt is sent once the payment has been fully processed and settled.',\n 'qboPaymentMethod.paymentDetails': 'Payment details',\n 'qboPaymentMethod.totalCharged': 'Total charged',\n 'qboPaymentMethod.amountPlusFees': 'Payment amount plus fees',\n 'qboPaymentMethod.paymentTotal': 'Payment total',\n 'qboPaymentMethod.paymentAmount': 'Payment amount',\n 'qboPaymentMethod.processingFee': 'Processing fee',\n 'qboPaymentMethod.platformFee': 'Platform fee',\n 'qboPaymentMethod.feesFailed': 'Could not calculate the fees. Please try again.',\n 'qboPaymentMethod.announceProcessing': 'Processing payment',\n 'qboPaymentMethod.pay': 'Pay',\n 'qboPaymentMethod.paymentFailed': 'Payment failed. Please try again.',\n 'qboPaymentMethod.unavailable': 'Payments are not available right now.',\n 'qboPayment.label': 'Payment details',\n 'qboPayment.a11y.processing': 'Processing payment',\n 'qboPayment.a11y.tokenized': 'Payment details accepted',\n 'qboPayment.method.group': 'Payment method',\n 'qboPayment.method.card': 'Card',\n 'qboPayment.method.ach': 'Bank account',\n 'qboPayment.submit.pay': 'Pay',\n 'qboPayment.submit.payBank': 'Pay with bank account',\n 'qboPayment.submit.saveCard': 'Save card',\n 'qboPayment.submit.saveBank': 'Save bank account',\n 'qboPayment.secureNote': 'Your details are sent securely to the payment processor and are not stored on this page.',\n 'qboPayment.card.number': 'Card number',\n 'qboPayment.card.name': 'Name on card',\n 'qboPayment.card.nameOptional': 'Name on card (optional)',\n 'qboPayment.card.expiry': 'Expiration (MM/YY)',\n 'qboPayment.card.expiryPlaceholder': 'MM/YY',\n 'qboPayment.card.cvc': 'Security code',\n 'qboPayment.card.postal': 'Postal code',\n 'qboPayment.card.postalOptional': 'Postal code (optional)',\n 'qboPayment.bank.info': 'Enter the bank account details. The payment is sent as an ACH bank transfer.',\n 'qboPayment.bank.holder': 'Account holder name',\n 'qboPayment.bank.routing': 'Routing number',\n 'qboPayment.bank.routingPlaceholder': '9 digits',\n 'qboPayment.bank.account': 'Account number',\n 'qboPayment.bank.confirm': 'Confirm account number',\n 'qboPayment.bank.type': 'Account type',\n 'qboPayment.bank.type.PERSONAL_CHECKING': 'Personal checking',\n 'qboPayment.bank.type.PERSONAL_SAVINGS': 'Personal savings',\n 'qboPayment.bank.type.BUSINESS_CHECKING': 'Business checking',\n 'qboPayment.bank.type.BUSINESS_SAVINGS': 'Business savings',\n 'qboPayment.brand.visa': 'Visa',\n 'qboPayment.brand.mastercard': 'Mastercard',\n 'qboPayment.brand.amex': 'American Express',\n 'qboPayment.brand.discover': 'Discover',\n 'qboPayment.brand.diners': 'Diners Club',\n 'qboPayment.brand.jcb': 'JCB',\n 'qboPayment.achConsent': 'By checking this box, I authorize the above business to initiate a one-time ACH debit entry to my bank account for the total shown (the payment amount plus any fees). I understand I may revoke this authorization at any time by contacting the business.',\n 'qboPayment.achConsentSetup': 'By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.',\n 'qboPayment.consentRequired': 'Accept the bank authorization to continue.',\n 'qboPayment.err.required': '{{ field }} is required.',\n 'qboPayment.err.numberLength': 'Enter the full card number.',\n 'qboPayment.err.numberLuhn': 'This card number is not valid. Please check it.',\n 'qboPayment.err.expiryFormat': 'Use the format MM/YY.',\n 'qboPayment.err.expiryMonth': 'The month must be 01 to 12.',\n 'qboPayment.err.expiryPast': 'This card has expired.',\n 'qboPayment.err.cvcLength': 'The security code has {{ length }} digits.',\n 'qboPayment.err.or': 'or',\n 'qboPayment.err.postalFormat': 'Enter a ZIP code such as 94086 or 94086-1234.',\n 'qboPayment.err.postalFormatCa': 'Enter a valid postal code, such as A1A 1A1.',\n 'qboPayment.err.routingLength': 'The routing number has 9 digits.',\n 'qboPayment.err.accountLength': 'The account number has 4 to 17 digits.',\n 'qboPayment.err.confirmMismatch': 'The account numbers do not match.',\n 'qboErrors.defaultMessage': 'Payment failed. Please try again.',\n 'qboErrors.field.cardNumber': 'The card number was not accepted. Please check it and try again.',\n 'qboErrors.field.expiry': 'The expiration date was not accepted. Please check it and try again.',\n 'qboErrors.field.cvc': 'The security code was not accepted. Please check it and try again.',\n 'qboErrors.field.postalCode': 'The postal code was not accepted. Please check it and try again.',\n 'qboErrors.field.routing': 'The routing number was not accepted. Please check it and try again.',\n 'qboErrors.field.account': 'The account number was not accepted. Please check it and try again.',\n 'qboErrors.field.accountType': 'The account type was not accepted. Please check it and try again.',\n 'qboErrors.field.holder': 'The account holder name was not accepted. Please check it and try again.',\n 'qboErrors.status.network': 'We could not reach the payment service. Please check your connection and try again.',\n 'qboErrors.status.invalid': 'The payment details were not accepted. Please check them and try again.',\n 'qboErrors.status.notAllowed': 'This payment form cannot take payments right now. Please contact the business.',\n 'qboErrors.status.rateLimited': 'Too many requests. Please wait a moment and try again.',\n 'qboErrors.status.unavailable': 'The payment service is unavailable right now. Please try again in a few minutes.',\n 'paymentAttempt.checking': 'Checking your payment...',\n 'paymentAttempt.checkingHelp': 'Please wait and do not pay again. We are making sure your payment went through.',\n 'paymentAttempt.stillChecking': 'We could not confirm your payment yet. Please check again in a moment and do not pay again.',\n 'paymentAttempt.checkAgain': 'Check again',\n 'paymentAttempt.waiting': 'Waiting for your payment to be confirmed...',\n 'paymentAttempt.startOver': 'Start over',\n 'paymentAttempt.paid': 'A payment for this was just received. If you need to make another payment, please wait a moment or contact support.',\n 'paymentAttempt.queuedOffline': 'You appear to be offline. Your payment was not confirmed. Please check your connection and try again.',\n 'paymentAttempt.offline': 'You are offline. Reconnect to the internet to pay: nothing was sent.',\n 'paymentAttempt.timeout': 'Your payment is taking longer than expected. We are checking whether it went through: do not pay again.',\n 'paymentAttempt.offlineInFlight': 'You went offline while your payment was being sent. We are checking whether it went through: do not pay again.',\n 'paymentAttempt.failedAfterCheck': 'The earlier payment attempt did not go through. You can try again.',\n 'paymentAttempt.authRequired': 'Your bank needs to verify this payment. Complete the verification window and do not close it.',\n 'paymentAttempt.authAbandoned': 'The verification was not completed. We are checking whether the payment went through before you can try again.',\n 'paymentAttempt.verifyRetry': 'The card could not be verified. You can try again: the total stays {{ amount }}.',\n 'paymentAttempt.referenceChanged': 'This payment can no longer be taken: the balance changed. Please ask for a new payment link.',\n 'paymentAttempt.linkInUse': 'A payment for this link is already in progress. Please wait a moment and check again before paying.',\n 'paymentAttempt.linkAlreadyPaid': 'This link has already been paid.',\n 'paymentAttempt.linkExpired': 'This payment link has expired. Please ask for a new link.',\n 'paymentAttempt.linkCancelled': 'This payment link was cancelled. Please ask for a new link.',\n 'paymentAttempt.notSupported': 'This business cannot take this kind of payment. Please contact the business.',\n 'paymentAttempt.awaitingVerification': 'Bank verification required: your payment has NOT started. Until you verify the small deposits (or descriptor code) from your bank, it will not start processing and nothing will be charged.',\n 'paymentAttempt.duplicate': 'We detected a possible duplicate payment. Please contact support before paying again.',\n 'paymentReadiness.offline': 'You are offline. Reconnect to the internet to pay: nothing was sent.',\n 'paymentReadiness.slow_connection': 'Your connection is too slow to pay safely. Please try again on a better connection.',\n 'paymentReadiness.sdk_blocked': 'The secure payment form could not be loaded. It may be blocked by an extension, a network filter or a weak connection. Retry loading it, or try another browser.',\n 'paymentReadiness.service_unavailable': 'Payments are temporarily unavailable. Please try again in a few minutes.',\n 'paymentReadiness.merchant_not_ready': 'This business cannot accept this kind of payment right now. Please contact the business.',\n 'paymentReadiness.events_backlog': 'Payments are paused for a moment while we catch up. Please try again shortly.',\n 'paymentReadiness.payable_changed': 'The amount due changed. Reload the page to see the current balance before you pay.',\n 'paymentReadiness.already_paid': 'This has already been paid.',\n 'paymentReadiness.reconnect_required': 'Payments are not available right now: this business must reconnect its payment account. Please contact the business.',\n 'paymentReadiness.outcome_unknown': 'We are still confirming the result of an earlier payment. Please wait and do not pay again.',\n 'paymentReadiness.payment_in_flight': 'A payment for this is already being processed. Please wait and check again shortly.',\n 'paymentReadiness.unsupported_browser': 'This browser cannot make payments safely. Please use a current version of Chrome, Edge, Firefox or Safari over a secure (https) connection.',\n 'paymentReadiness.unknown_payment': 'We are still checking an earlier payment. Please wait and do not pay again.',\n 'paymentReadiness.checking': 'Checking that payments are available...',\n 'paymentReadiness.generic': 'Payments are not available right now. Please try again shortly.',\n 'paymentReadiness.retryLoad': 'Retry loading the payment form',\n 'paymentReadiness.storageWarning': 'Your browser limits storage, so a page reload or a second tab during a payment cannot be recovered automatically. Please do not reload or open this page twice while paying.',\n 'paymentSetup.checking': 'Checking that your payment method was saved...',\n 'paymentSetup.checkingHelp': 'Please wait and do not save it again. We are making sure your payment method was saved.',\n 'paymentSetup.stillChecking': 'We could not confirm yet that your payment method was saved. Please check again in a moment and do not save it again.',\n 'paymentSetup.waiting': 'Waiting for your payment method to be confirmed...',\n 'paymentSetup.paid': 'A payment method was just saved for this. If you need to save another one, please wait a moment or contact support.',\n 'paymentSetup.queuedOffline': 'You appear to be offline. Your payment method was not saved. Please check your connection and try again.',\n 'paymentSetup.offline': 'You are offline. Reconnect to the internet to save your payment method: nothing was sent.',\n 'paymentSetup.awaitingVerification': 'Bank verification required: your bank account has NOT been saved yet. Until you verify the small deposits (or descriptor code) from your bank, it cannot be used and nothing will be charged.',\n 'paymentSetup.slowConnection': 'Your connection is too slow to save your payment method safely. Please try again on a better connection.',\n 'paymentSetup.serviceUnavailable': 'Saving payment methods is temporarily unavailable. Please try again in a few minutes.',\n 'paymentSetup.outcomeChecking': 'We are still confirming the result of an earlier attempt to save a payment method. Please wait and do not save it again.',\n 'paymentSetup.inFlight': 'A payment method for this is already being saved. Please wait and check again shortly.',\n 'paymentSetup.readinessChecking': 'Checking that saving a payment method is available...',\n 'paymentSetup.readinessGeneric': 'Saving a payment method is not available right now. Please try again shortly.',\n 'paymentSetup.alreadySaved': 'A payment method has already been saved for this.',\n 'paymentSetup.storageWarning': 'Your browser limits storage, so a page reload or a second tab while your payment method is being saved cannot be recovered automatically. Please do not reload or open this page twice while saving.',\n 'paymentSetup.unsupportedBrowser': 'This browser cannot save payment methods safely. Please use a current version of Chrome, Edge, Firefox or Safari over a secure (https) connection.',\n 'paymentSetup.merchantNotReady': 'This business cannot save this kind of payment method right now. Please contact the business.',\n 'paymentSetup.eventsBacklog': 'Saving payment methods is paused for a moment while we catch up. Please try again shortly.',\n 'paymentSetup.payableChanged': 'The details on this page changed after it loaded. Reload the page to see the current details before you save a payment method.',\n 'paymentSetup.reconnectRequired': 'Saving payment methods is not available right now: this business must reconnect its payment account. Please contact the business.',\n 'paymentSetup.requiresPaymentMethod': 'Your payment method was not saved. Please try a different payment method.',\n 'paymentSetup.processing': 'Your bank is still confirming your payment method and it has NOT been saved yet. Please wait and do not save it again.',\n 'qboHostedPay.title': 'Pay {{ amount }}',\n 'qboHostedPay.titleNoAmount': 'Secure payment',\n 'qboHostedPay.pay': 'Pay {{ amount }}',\n 'qboHostedPay.loading': 'Loading payment details',\n 'qboHostedPay.expiredTitle': 'Link expired',\n 'qboHostedPay.expired': 'This payment link has expired. Please contact the business for a new one.',\n 'qboHostedPay.usedTitle': 'Already paid',\n 'qboHostedPay.used': 'This payment link has already been used.',\n 'qboHostedPay.successTitle': 'Payment received',\n 'qboHostedPay.success': 'Thank you. Your payment of {{ amount }} was received.',\n 'qboHostedPay.submittedTitle': 'Payment submitted',\n 'qboHostedPay.submitted': 'Thank you. Your bank payment of {{ amount }} was submitted. Bank transfers (ACH) usually take 3–5 business days to complete.',\n 'qboHostedPay.errorTitle': 'Something went wrong',\n 'qboHostedPay.unavailable': 'This payment link cannot be paid right now. Please contact the business.',\n 'qboHostedPay.footer': 'Payments are processed securely.',\n 'stripePayment.msg.tokenFailed': 'The card details could not be checked. Please try again.',\n // stripe card readers\n 'stripeReader.theReader': 'the card reader',\n 'stripeReader.status.loading': 'Checking the card reader...',\n 'stripeReader.status.no_reader.title': 'No card reader set up',\n 'stripeReader.status.no_reader.text': 'Your company can take in-person card payments with a card reader. Get one to start taking them.',\n 'stripeReader.status.unsupported_only.title': 'No supported card reader',\n 'stripeReader.status.unsupported_only.text': 'The readers on this account cannot take payments here. Supported readers are the Stripe Reader S700, the Stripe Reader S710 and the BBPOS WisePOS E. Get a supported reader.',\n 'stripeReader.status.reader_offline.title': 'Card reader not connected',\n 'stripeReader.status.reader_offline.text': 'The card reader is turned off or has no connection. Check its power and network, then check again.',\n 'stripeReader.status.reader_busy.title': 'A card reader payment is waiting',\n 'stripeReader.status.reader_busy.text': 'A payment is waiting on {{ reader }}. Finish or cancel it before starting another.',\n 'stripeReader.status.merchant_not_ready.title': 'Payments are not set up',\n 'stripeReader.status.merchant_not_ready.text': 'Finish setting up payments before card payments can be taken, including with a card reader.',\n 'stripeReader.status.checking.title': 'Checking the card reader',\n 'stripeReader.status.checking.text': 'The card reader has not been confirmed yet. Nothing was changed. Check again in a moment.',\n 'stripeReader.status.reconnect_required.title': 'Payment account needs reconnecting',\n 'stripeReader.status.reconnect_required.text': 'Your payment account needs to be reconnected before card payments can be taken, including with a card reader.',\n 'stripeReader.status.stale_attention.title': 'The payment account needs attention',\n 'stripeReader.status.stale_attention.text': 'The card reader could not be checked because the payment account needs attention. Nothing was changed. Reconnect payments, then check again.',\n 'stripeReader.status.reader_ready.live': 'Card reader ready: {{ reader }}',\n 'stripeReader.status.connect': 'Connect a reader',\n 'stripeReader.status.get': 'Get a card reader',\n 'stripeReader.status.recheck': 'Check again',\n 'stripeReader.status.setup': 'Set up payments',\n 'stripeReader.status.reconnect': 'Reconnect payments',\n 'stripeReader.status.cancelBusy': 'Cancel that payment',\n 'stripeReader.status.manual': 'Take a manual payment instead',\n 'stripeReader.status.getInfo': 'How to get a card reader',\n 'stripeReaderBanner.getReader': 'Get a card reader to take in-person card payments.',\n 'stripeReader.banner.notConnected': 'Your card reader is not connected.',\n 'stripeReader.status.connectYours': 'Connect Your Reader',\n 'stripeReaderBanner.setupFirst': 'Set up payments to take card payments, including in person with a card reader.',\n 'stripeReaderBanner.sandbox': 'Card readers are not available in a sandbox account.',\n 'stripeReaderBanner.serviceDisabled': 'Card readers are turned off for this account.',\n 'stripeReaderBanner.processorUnsupported': 'Card readers are not available with this payment processor.',\n 'stripeReader.mode.label': 'How is the card paid?',\n 'stripeReader.mode.reader': 'Card reader',\n 'stripeReader.mode.manual': 'Enter card manually',\n 'stripeReader.selectReader': 'Card reader',\n 'stripeReader.readerLine': 'Card reader: {{ reader }}',\n 'stripeReader.start': 'Send {{ amount }} to the reader',\n 'stripeReader.startNoAmount': 'Send to the reader',\n 'stripeReader.starting': 'Sending to the reader',\n 'stripeReader.startingText': 'Sending the payment to the reader. Do not start another payment.',\n 'stripeReader.manualInstead': 'Enter the card manually instead',\n 'stripeReader.takeManual': 'Take a manual payment instead',\n 'stripeReader.startAgain': 'Start again',\n 'stripeReader.cancel': 'Cancel payment',\n 'stripeReader.wait.waiting.title': 'Waiting for the customer',\n 'stripeReader.wait.waiting.text': 'Waiting for the customer to tap, insert or swipe their card on {{ reader }}.',\n 'stripeReader.wait.declined.title': 'Card declined',\n 'stripeReader.wait.declined.text': 'The card was declined. Try again with the same card or another card, or cancel the payment.',\n 'stripeReader.wait.stopped.title': 'The reader stopped waiting',\n 'stripeReader.wait.stopped.text': '{{ reader }} stopped waiting for a card. The payment is still open: try again or cancel it.',\n 'stripeReader.wait.retrying.title': 'Sending the payment again',\n 'stripeReader.wait.retrying.text': 'Sending the same payment to {{ reader }} again. Nothing new is charged.',\n 'stripeReader.wait.cancelling.title': 'Canceling the payment',\n 'stripeReader.wait.cancelling.text': 'Canceling the payment on {{ reader }}. Do not tap a card.',\n 'stripeReader.wait.recovering.title': 'Checking the payment',\n 'stripeReader.wait.recovering.text': 'Checking whether the payment reached the reader. Do not start another payment.',\n 'stripeReader.connectionLost': 'Connection lost. The reader may still take the payment. Do not start another payment; reconnecting...',\n 'stripeReader.readerDisconnected': 'Reader disconnected - waiting for it to reconnect or cancel.',\n 'stripeReader.stillChecking': 'Still checking the reader. This is not an error: do not start another payment.',\n 'stripeReader.cancelUnreachable': 'The payment could not be canceled because the reader or Stripe could not be reached. The payment is still open. Try canceling again.',\n 'stripeReader.elapsed': 'Elapsed: {{ time }}',\n 'stripeReader.fees.loading': 'Calculating the card reader fees...',\n 'stripeReader.fees.failed': 'The card reader fees could not be calculated. Nothing can be sent to the reader until they are.',\n 'stripeReader.done.title': 'Payment received',\n 'stripeReader.done.text': 'The card payment of {{ amount }} was taken on {{ reader }}.',\n 'stripeReader.done.card': '{{ brand }} ending in {{ last4 }}',\n 'stripeReader.done.cardWord': 'Card',\n 'stripeReader.receipt': 'View receipt',\n 'stripeReader.cardSaved': 'Card saved for future payments.',\n 'stripeReader.cardNotSaved': 'The card is not saved yet, or we could not confirm it. The payment itself went through. Check the customer\\'s saved payment methods later.',\n 'stripeReader.canceled.title': 'Payment canceled',\n 'stripeReader.canceled.text': 'The payment was canceled on the reader. Nothing was charged.',\n 'stripeReader.failed.title': 'The payment did not go through',\n 'stripeReader.failed.text': 'The payment failed on the reader. Nothing was charged. You can start it again.',\n 'stripeReader.saveCard.label': 'Save this card for future payments',\n 'stripeReader.saveCard.consent': 'The customer agreed to keep this payment method on file for later payments.',\n 'stripeReader.closeBlocked': 'A card reader payment is waiting. Cancel the payment before closing.',\n 'stripeReader.offline.withManual': 'You\\'re offline. Card reader payments can\\'t be started until you\\'re back online. You can still record a manual payment.',\n 'stripeReader.offline.noManual': 'You\\'re offline. Card reader payments can\\'t be started until you\\'re back online.',\n 'stripeReader.refusal.generic': 'The card reader payment could not be started. Nothing was charged.',\n 'stripeReader.refusal.reader_busy': 'The card reader is busy with another payment. Nothing was charged.',\n 'stripeReader.refusal.reader_offline': 'The card reader is offline. Nothing was charged. Check its power and network, then try again.',\n 'stripeReader.refusal.reader_not_supported': 'This card reader is not supported for payments. Nothing was charged.',\n 'stripeReader.refusal.reader_unreachable': 'The card reader or Stripe could not be reached. The payment was not changed: check it again in a moment.',\n 'stripeReader.refusal.terminal_not_retryable': 'This payment can no longer be retried on the reader. Its current state is shown.',\n 'stripeReader.refusal.payment_in_flight': 'Another payment for this is already open, possibly on a card reader. Finish or cancel it first. Nothing new was charged.',\n 'stripeReader.refusal.merchant_not_ready': 'Payments are not set up for this business, so no card payment can be taken. Nothing was charged.',\n 'stripeReader.refusal.reconnect_required': 'The payment account must be reconnected before payments can be taken. Nothing was charged.',\n 'stripeReader.refusal.consent_required': 'Record the customer\\'s agreement before the card can be kept. Nothing was charged.',\n 'stripeReader.refusal.terminal_save_needs_direct': 'This business cannot keep a card taken on a reader. Take the payment without saving the card. Nothing was charged.',\n 'stripeReader.refusal.not_supported_by_processor': 'This business cannot take card reader payments. Nothing was charged.',\n 'stripeReader.refusal.exceeds_amount_due': 'This payment is more than the amount due. Nothing was charged.',\n 'stripeReader.refusal.duplicate_suspected': 'An identical payment was made moments ago. Check the payments before taking another.',\n 'stripeReader.refusal.paid': 'A payment for this was already received. Check the payments before taking another one.',\n 'stripeReader.refusal.offline': 'You are offline. Nothing was sent.',\n 'stripeReader.refusal.outcome_checking': 'We are still confirming the result of an earlier payment. Do not start another one.',\n 'stripeReader.refusal.queued_offline': 'You appear to be offline. The payment was not sent. Check your connection and try again.',\n 'stripeReader.refusal.start_not_received': 'We have no record of this payment, so it was not started. You can start again.',\n 'stripeReader.refusal.retry_unreachable': 'The payment could not be sent to the reader again. It was not changed: check it in a moment.',\n 'stripeReaders.list.title': 'Card readers',\n 'stripeReaders.list.empty': 'No card readers are connected yet.',\n 'stripeReaders.status.online': 'Online',\n 'stripeReaders.status.offline': 'Offline',\n 'stripeReaders.status.registering': 'Registering',\n 'stripeReaders.badge.busy': 'Busy',\n 'stripeReaders.badge.unsupported': 'Not supported',\n 'stripeReaders.rename.action': 'Rename',\n 'stripeReaders.rename.for': 'Rename {{ name }}',\n 'stripeReaders.rename.label': 'Reader name',\n 'stripeReaders.rename.done': 'Reader renamed to {{ name }}.',\n 'stripeReaders.remove.action': 'Remove',\n 'stripeReaders.remove.for': 'Remove {{ name }}',\n 'stripeReaders.remove.title': 'Remove card reader',\n 'stripeReaders.remove.text': 'Remove {{ name }}? It will stop taking payments on this account. You can connect it again later with a new registration code.',\n 'stripeReaders.remove.confirm': 'Remove reader',\n 'stripeReaders.remove.done': 'Reader {{ name }} removed.',\n 'stripeReaders.remove.busy': 'A payment is waiting on this reader. Cancel it first.',\n 'stripeReaders.add.title': 'Connect a card reader',\n 'stripeReaders.add.howS700': 'Stripe Reader S700 or S710: on the reader, open Settings and generate a pairing code.',\n 'stripeReaders.add.howWisepos': 'BBPOS WisePOS E: on the home screen, press 0-7-1-3-9 to show the registration code.',\n 'stripeReaders.add.supported': 'Supported readers: {{ models }}.',\n 'stripeReaders.add.connect': 'Connect reader',\n 'stripeReaders.add.connecting': 'Connecting...',\n 'stripeReaders.add.done': 'Reader {{ name }} connected.',\n 'stripeReaders.code.label': 'Registration code',\n 'stripeReaders.code.hint': 'Type the code the reader shows. It is used once and is not kept.',\n 'stripeReaders.code.invalid': 'Enter the code exactly as the reader shows it: letters, numbers and hyphens, at least 3 characters.',\n 'stripeReaders.name.label': 'Reader name',\n 'stripeReaders.name.hint': 'For example \"Front desk\".',\n 'stripeReaders.location.label': 'Location',\n 'stripeReaders.location.placeholder': 'Select a location',\n 'stripeReaders.location.new': 'New location',\n 'stripeReaders.location.name': 'Location name',\n 'stripeReaders.location.line1': 'Address',\n 'stripeReaders.location.city': 'City',\n 'stripeReaders.location.state': 'State',\n 'stripeReaders.location.postal': 'ZIP code',\n 'stripeReaders.location.create': 'Create location',\n 'stripeReaders.location.created': 'Location {{ name }} created.',\n 'stripeReaders.failed.load': 'The card readers could not be loaded. Try again in a moment.',\n 'stripeReaders.failed.register': 'The reader could not be connected. Check the registration code and try again.',\n 'stripeReaders.failed.rename': 'The reader could not be renamed. Try again.',\n 'stripeReaders.failed.remove': 'The reader could not be removed. Try again.',\n 'stripeReaders.failed.location': 'The location could not be saved. Check the address and try again.',\n 'stripeReaders.failed.notSupported': 'This reader is not supported. Supported readers are the Stripe Reader S700, the Stripe Reader S710 and the BBPOS WisePOS E.',\n 'stripeReader.refusal.quote_changed': 'The total changed to {{ amount }} since it was shown. Review the new total and confirm it before sending to the reader. Nothing was charged.',\n 'stripeReader.refusal.quote_changedNoAmount': 'The total changed since it was shown. Review the new total and confirm it before sending to the reader. Nothing was charged.',\n 'stripeReader.refusal.attempt_failed_use_new_key': 'This payment can no longer be completed. Start again to send a new payment to the reader.',\n 'stripeReader.refusal.payment_being_sent': 'The payment is still being sent to the reader. Wait a moment, then cancel again.',\n 'stripeReader.refusal.rate_limited': 'Too many attempts. Wait a moment, then try again.',\n 'stripeReader.refusal.viewExisting': 'View the existing payment',\n 'stripeReader.confirmTotal': 'Confirm the new total {{ amount }}',\n 'stripeReader.leaveHint': 'You can close this panel. When you open it again the payment is checked and nothing new is started.',\n 'stripeReader.wait.amount': 'Total: {{ amount }}',\n 'stripeReader.wait.amountBase': 'Amount: {{ amount }} (processing fees may be added)',\n 'stripeReader.degraded.since': 'We cannot reach the card reader\\'s payment processor since {{ time }}. The payment was not changed: do not start another payment.',\n 'stripeReader.degraded.attention': 'The payment account needs attention. The payment was not changed. Cancel may not work until it is reconnected.',\n 'stripeReader.done.textNoAmount': 'The card payment was taken on {{ reader }}.',\n 'stripeReader.mode.blocked': 'A card reader payment is still open. Cancel it, or wait for its result, before entering a card manually.',\n 'stripeReader.mode.blockedManual': 'A card payment is still being confirmed. Wait for it to finish before using the card reader.',\n 'stripeReader.saveCard.consentFees': 'Later charges will include processing fees.',\n 'stripeReaderShop.title': 'Get a card reader',\n 'stripeReaderShop.orders.title': 'Card reader orders',\n 'stripeReaderShop.loading': 'Loading the card reader shop...',\n 'stripeReaderShop.orders.loading': 'Loading your card reader orders...',\n 'stripeReaderShop.live.ready': 'The card reader shop is ready.',\n 'stripeReaderShop.error.title': 'The card reader shop could not be loaded',\n 'stripeReaderShop.error.text': 'Check your connection and try again. Nothing was changed.',\n 'stripeReaderShop.offline.title': 'You are offline',\n 'stripeReaderShop.offline.text': 'The card reader shop needs an internet connection. It loads again when you are back online.',\n 'stripeReaderShop.unavailable.title': 'Ordering a reader here is not available',\n 'stripeReaderShop.unavailable.platform_not_enabled': 'Ordering card readers in the app is not turned on yet.',\n 'stripeReaderShop.unavailable.account_not_eligible': 'This payment account cannot order card readers in the app right now. It may still be being set up or verified.',\n 'stripeReaderShop.unavailable.processor_refused': 'Stripe did not allow the card reader shop for this account.',\n 'stripeReaderShop.unavailable.not_enabled_for_app': 'Ordering card readers in the app is not turned on for this account.',\n 'stripeReaderShop.unavailable.other': 'The card reader shop is not available right now.',\n 'stripeReaderShop.unavailable.models': 'These readers work with card payments in the app:',\n 'stripeReaderShop.model.s700': 'Smart countertop reader with a touchscreen. Takes tap, chip and swipe payments.',\n 'stripeReaderShop.model.s710': 'Smart countertop reader with a touchscreen, from the same family as the S700. Takes tap, chip and swipe payments.',\n 'stripeReaderShop.model.wisepos': 'Smart reader with a touchscreen that connects over Wi-Fi. Takes tap, chip and swipe payments.',\n 'stripeReaderShop.unavailable.how': 'To get a reader, order a supported model from the Terminal hardware settings of your payment account, or contact support. When it arrives, choose Connect a reader and enter the code the device shows.',\n 'stripeReaderShop.help.link': 'How to order a card reader',\n 'stripeReaderShop.placed.title': 'Your order was placed',\n 'stripeReaderShop.placed.text': 'Your order was placed. When the reader arrives, choose Connect a reader and enter the code the device shows.',\n 'stripeReader.wait.unconfirmed.title': 'We could not confirm this payment',\n 'stripeReader.wait.unconfirmed.text': 'We could not confirm whether this payment reached the reader. Check again before taking another payment. If the customer was charged, the payment shows here once it is found.',\n 'stripeReader.cancelBusy.timeout': 'The payment could not be canceled in time. It may still be open: check the card reader again before taking another payment.',\n 'stripeReader.fees.unavailable': 'The card reader fees are not available, so nothing can be sent to the reader. Try again in a moment.',\n 'stripeReaders.failed.timeout': 'The card reader service did not answer in time. The list was checked again: look at it before trying once more.',\n // Square Terminal (library source 2026-11-22): the processor-aware wording of the card reader screens when the reader is a Square Terminal.\n 'squareTerminal.banner.getReader': 'Get a Square Terminal to take in-person card payments.',\n 'squareTerminal.banner.setupFirst': 'Set up payments to take card payments, including in person with a Square Terminal.',\n 'squareTerminal.banner.notConnected': 'Your Square Terminal is not connected.',\n 'squareTerminal.status.connect': 'Connect a Terminal',\n 'squareTerminal.status.connectYours': 'Connect Your Terminal',\n 'squareTerminal.status.getInfo': 'How to get one',\n 'squareTerminal.status.no_reader.title': 'No Square Terminal set up',\n 'squareTerminal.status.no_reader.text': 'Your company can take in-person card payments with a Square Terminal. Get one to start taking them.',\n 'squareTerminal.status.unsupported_only.title': 'No supported Square Terminal',\n 'squareTerminal.status.unsupported_only.text': 'The devices on this account cannot take payments here. Only the Square Terminal is supported. Get a Square Terminal.',\n 'squareTerminal.status.reader_offline.title': 'Square Terminal not connected',\n 'squareTerminal.status.reader_offline.text': 'The Terminal is turned off or has no connection. Check its power and network, then check again.',\n 'squareTerminal.theReader': 'the Terminal',\n 'squareTerminal.readerLine': 'Square Terminal: {{ reader }}',\n 'squareTerminal.start': 'Send {{ amount }} to the Terminal',\n 'squareTerminal.startNoAmount': 'Send to the Terminal',\n 'squareTerminal.starting': 'Sending to the Terminal',\n 'squareTerminal.startingText': 'Sending the payment to the Terminal. Do not start another payment.',\n 'squareTerminal.wait.waiting.text': 'Ask the customer to tap, insert or swipe their card on {{ reader }}.',\n 'squareTerminal.cancel': 'Cancel on the Terminal',\n 'squareTerminal.readerDisconnected': 'The Terminal is offline - waiting for it to reconnect or cancel.',\n 'squareTerminal.canceled.text': 'The payment was canceled on the Terminal. Nothing was charged.',\n 'squareTerminal.pairing.title': 'Connect a Square Terminal',\n 'squareTerminal.pairing.intro': 'Name the Terminal, get a pairing code and enter it on the Terminal. A Square Terminal can only be renamed or removed in your Square dashboard.',\n 'squareTerminal.pairing.name.label': 'Terminal name',\n 'squareTerminal.pairing.name.hint': 'For example, Front counter',\n 'squareTerminal.pairing.start': 'Get a pairing code',\n 'squareTerminal.pairing.starting': 'Getting a code...',\n 'squareTerminal.pairing.code.label': 'Pairing code',\n 'squareTerminal.pairing.steps': 'On the Terminal choose Sign in > Use a device code and enter {{ code }}.',\n 'squareTerminal.pairing.waiting': 'Waiting for the Terminal to connect. Time left: {{ time }}.',\n 'squareTerminal.pairing.paired': 'Terminal {{ name }} connected.',\n 'squareTerminal.pairing.timeout.title': 'The code was not used in time',\n 'squareTerminal.pairing.timeout.text': 'The pairing code expired before the Terminal connected. Nothing was changed. Get a new code and enter it on the Terminal.',\n 'squareTerminal.pairing.newCode': 'Get a new code',\n 'squareTerminal.pairing.failed': 'The pairing code could not be created. Nothing was changed. Try again.',\n 'squareTerminal.pairing.live': 'Pairing code {{ code }}. On the Terminal choose Sign in, then Use a device code, and enter the code.',\n 'squareTerminal.cancelUnreachable': 'The payment could not be canceled because the Terminal or Square could not be reached. The payment is still open. Try canceling again.',\n 'squareTerminal.refusal.reader_unreachable': 'The Terminal or Square could not be reached. The payment was not changed: check it again in a moment.',\n 'squareTerminal.status.reader_pairing.title': 'Square Terminal waiting for its code',\n 'squareTerminal.status.reader_pairing.text': 'The Terminal has not been paired yet. Enter its pairing code on the Terminal, then check again, or connect the Terminal again to get a new code.',\n 'squareTerminal.cancelPending': 'The Terminal is being stopped. The customer may still pay until it confirms, so the payment is still open. Check again in a moment, or press cancel again. Do not start another payment.',\n 'squareTerminal.refusal.reader_not_paired': 'This Terminal is not paired yet. On the Terminal choose Sign in > Use a device code and enter {{ code }}, or connect the Terminal again to get a new code. Nothing was charged.',\n 'squareTerminal.refusal.reader_not_paired_nocode': 'This Terminal is not paired yet. Connect the Terminal again to get a pairing code and enter it on the Terminal. Nothing was charged.',\n // DEPRECATED ALIASES (kept from 0.5.18 so an app that overrides one still compiles and works): same text as the replacement key; `setLabels` / `t()` forward them to it (see DEPRECATED_LABEL_ALIASES).\n 'paymentAttempt.stillUnknown': 'We could not confirm your payment yet. Please check again in a moment and do not pay again.',\n 'paymentSetup.stillUnknown': 'We could not confirm yet that your payment method was saved. Please check again in a moment and do not save it again.',\n 'paymentSetup.outcomeUnknown': 'We are still confirming the result of an earlier attempt to save a payment method. Please wait and do not save it again.',\n 'stripeReader.status.unknown.title': 'Checking the card reader',\n 'stripeReader.status.unknown.text': 'The card reader has not been confirmed yet. Nothing was changed. Check again in a moment.',\n 'stripeReader.status.unknown_attention.title': 'The payment account needs attention',\n 'stripeReader.status.unknown_attention.text': 'The card reader could not be checked because the payment account needs attention. Nothing was changed. Reconnect payments, then check again.',\n 'stripeReader.refusal.outcome_unknown': 'We are still confirming the result of an earlier payment. Do not start another one.',\n} as const;\n\nexport type UiLabelKey = keyof typeof UI_DEFAULT_LABELS;\n\n/**\n * DEPRECATED label keys that existed in 0.5.18 and were renamed on 2026-11-21 (the \"unknown\" payment / reader state became \"checking\"). Each old key maps to its replacement.\n * The old keys stay in `UiLabelKey` and in both dictionaries (same text as the replacement), so an app that overrides one still compiles; `UiLabelsService.setLabels` copies such an\n * override onto the replacement (unless the dictionary also sets the replacement) and `t(oldKey)` returns the replacement's text. New code uses the replacement keys.\n */\nexport const DEPRECATED_LABEL_ALIASES: Readonly<Record<string, UiLabelKey>> = {\n 'paymentAttempt.stillUnknown': 'paymentAttempt.stillChecking',\n 'paymentSetup.stillUnknown': 'paymentSetup.stillChecking',\n 'paymentSetup.outcomeUnknown': 'paymentSetup.outcomeChecking',\n 'stripeReader.status.unknown.title': 'stripeReader.status.checking.title',\n 'stripeReader.status.unknown.text': 'stripeReader.status.checking.text',\n 'stripeReader.status.unknown_attention.title': 'stripeReader.status.stale_attention.title',\n 'stripeReader.status.unknown_attention.text': 'stripeReader.status.stale_attention.text',\n 'stripeReader.refusal.outcome_unknown': 'stripeReader.refusal.outcome_checking',\n};\nexport type UiLabelDictionary = Partial<Record<UiLabelKey, string>>;\n\n/** Fills `{{ name }}` placeholders; a placeholder with no value is left visible. */\nfunction interpolate(text: string, params?: Readonly<Record<string, string | number>>): string {\n if (!params) return text;\n return text.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g, (whole, name: string) => (name in params ? String(params[name]) : whole));\n}\n\n/** The English default text of a key. For plain helper functions that run without the service (their `ui` argument is optional). */\nexport function defaultLabel(key: UiLabelKey, params?: Readonly<Record<string, string | number>>): string {\n return interpolate(UI_DEFAULT_LABELS[key] ?? key, params);\n}\n\nlet activeLabels: UiLabelsService | null = null;\n\n/**\n * The text of a key in the app's active language, for plain helper functions that have no injector (error messages, validators).\n * Without a `UiLabelsService` in use it is the English default, so such a function behaves exactly as before.\n */\nexport function uiText(key: UiLabelKey, params?: Readonly<Record<string, string | number>>): string {\n return activeLabels ? activeLabels.t(key, params) : defaultLabel(key, params);\n}\n\n/** The app's active locale for plain helper functions (`en-US` without a service). */\nexport function uiLocale(): string {\n return activeLabels ? activeLabels.locale() : DEFAULT_LOCALE;\n}\n\n/**\n * Looks up the library's fixed texts. `t()` reads a signal, so a template or computed that calls it re-renders when the app calls\n * `setLabels()` (a language switch) - no re-creation of components needed.\n */\n@Injectable({ providedIn: 'root' })\nexport class UiLabelsService implements OnDestroy {\n // The service this one replaced as the ambient one: destroying a newer service gives the ambient role back to the older one that is still alive.\n private readonly previousActive: UiLabelsService | null = activeLabels;\n private destroyed = false;\n constructor() { activeLabels = this; }\n ngOnDestroy(): void {\n this.destroyed = true;\n if (activeLabels === this) {\n let back = this.previousActive;\n while (back && back.destroyed) back = back.previousActive;\n activeLabels = back;\n }\n }\n\n // Like Angular's DatePipe, dates honour the app's DATE_PIPE_DEFAULT_OPTIONS ({ dateFormat, timezone }) and the deprecated DATE_PIPE_DEFAULT_TIMEZONE.\n private readonly dateDefaults = inject(DATE_PIPE_DEFAULT_OPTIONS, { optional: true });\n private readonly dateDefaultTimezone = inject(DATE_PIPE_DEFAULT_TIMEZONE, { optional: true });\n\n private readonly overrides = signal<Readonly<Record<string, string>>>({});\n\n /** Replaces the active dictionary (not merged with the previous one: switching language must not keep the old language's texts). */\n setLabels(dictionary: Readonly<Record<string, unknown>> | null | undefined): void {\n const clean: Record<string, string> = {};\n for (const [k, v] of Object.entries(dictionary ?? {})) {\n if (k in UI_DEFAULT_LABELS && typeof v === 'string' && v.trim() !== '') clean[k] = v;\n }\n // an override of a DEPRECATED key reaches the replacement the screens read (an explicit replacement in the same dictionary wins); the deprecated entry in a full dictionary (UI_LABELS_ES) carries the same text, so nothing changes\n for (const [old, now] of Object.entries(DEPRECATED_LABEL_ALIASES)) {\n if (old in clean && !(dictionary && typeof (dictionary as Record<string, unknown>)[now] === 'string' && ((dictionary as Record<string, string>)[now]).trim() !== '')) clean[now] = clean[old];\n }\n this.overrides.set(clean);\n }\n\n private readonly _explicitLocale = signal<string | null>(null);\n /**\n * BCP 47 locale used for dates, times and numbers. Resolution: the value the app set with `setLocale()` (full control), else the active dictionary's\n * `i18n.locale` marker (so `setLabels()` with the Spanish dictionary alone gives Spanish dates and times: 'es-US'), else `en-US` (a dictionary of another language\n * without the marker, or no dictionary).\n */\n readonly locale: Signal<string> = computed(() => this._explicitLocale() ?? safeLocale(this.overrides()['i18n.locale']));\n\n /**\n * Sets the locale of dates and numbers ('es-US', 'es-MX' ...) and keeps it whatever dictionary is active. A tag the browser does not know falls back to\n * `en-US`; `null` / `undefined` removes the explicit choice, so the dictionary's `i18n.locale` marker decides again.\n */\n setLocale(locale: string | null | undefined): void { this._explicitLocale.set(locale == null ? null : safeLocale(locale)); }\n\n /** A date with an Angular pattern ('MMM d, y') in the active locale; '' when the value is empty or unreadable. Reads a signal, so templates follow a language switch. */\n formatDate(value: Date | string | number | null | undefined, format?: string, timeZone?: string): string {\n return uiFormatDate(value, format ?? this.dateDefaults?.dateFormat ?? 'mediumDate', this.locale(), timeZone ?? this.dateDefaults?.timezone ?? this.dateDefaultTimezone ?? undefined);\n }\n formatNumber(value: number | null | undefined, options?: Intl.NumberFormatOptions): string { return uiFormatNumber(value, this.locale(), options); }\n formatCurrency(value: number | null | undefined, currency = 'USD', options?: Intl.NumberFormatOptions): string { return uiFormatCurrency(value, currency, this.locale(), options); }\n monthName(month: number, style: 'long' | 'short' | 'narrow' = 'short'): string { return uiMonthName(month, style, this.locale()); }\n weekdayName(day: number, style: 'long' | 'short' | 'narrow' = 'short'): string { return uiWeekdayName(day, style, this.locale()); }\n formatClock(hour: number, minute = 0): string { return uiFormatClock(hour, minute, this.locale()); }\n formatHour(hour: number): string { return uiFormatHour(hour, this.locale()); }\n\n /** The text for `key` with `{{ name }}` placeholders filled in from `params`. */\n t(key: UiLabelKey, params?: Readonly<Record<string, string | number>>): string {\n const target = DEPRECATED_LABEL_ALIASES[key] ?? key;\n return interpolate(this.overrides()[target] ?? UI_DEFAULT_LABELS[target] ?? key, params);\n }\n}\n","import { HttpErrorResponse, HttpInterceptorFn } from '@angular/common/http';\nimport { catchError, throwError } from 'rxjs';\nimport { UiLabelKey, uiText } from './i18n/ui-labels';\n\n/** What the user was doing when the request failed — drives the fallback wording. */\nexport type ErrorAction =\n | 'load' | 'save' | 'create' | 'update' | 'delete'\n | 'send' | 'export' | 'import' | 'upload' | 'download';\n\n// The verbs (\"loading\", \"access\" ...) live in the label dictionary: errors.verb.<action> and errors.permissionVerb.<action>.\n\n/** Non-enumerable property `errorContextInterceptor` attaches to failed responses. */\nconst REQUEST_METHOD = '__forgerouteRequestMethod';\n\n/**\n * Records the HTTP method on every failed response so `getErrorMessage` can word its fallback\n * for what the user was doing (GET → loading, POST/PUT/PATCH → saving, DELETE → deleting).\n * Register it FIRST in `withInterceptors([...])` so it sees the final error. The error object is\n * re-thrown unchanged (same instance), so `instanceof HttpErrorResponse` checks keep working.\n */\nexport const errorContextInterceptor: HttpInterceptorFn = (req, next) =>\n next(req).pipe(\n catchError((err: unknown) => {\n if (err instanceof HttpErrorResponse && !(REQUEST_METHOD in err)) {\n Object.defineProperty(err, REQUEST_METHOD, { value: req.method.toUpperCase(), enumerable: false });\n }\n return throwError(() => err);\n }),\n );\n\n/** The action implied by a failed request's method, or 'load' when unknown. */\nfunction actionFromMethod(error: HttpErrorResponse): ErrorAction {\n const method = (error as unknown as Record<string, unknown>)[REQUEST_METHOD];\n switch (method) {\n case 'POST': case 'PUT': case 'PATCH': return 'save';\n case 'DELETE': return 'delete';\n default: return 'load';\n }\n}\n\n/**\n * Drops one leading article (\"the \", \"a \", \"an \", any case) so wording that adds its own \"The\" never reads\n * \"The the contact\". A context that is only an article (\"the\") is kept as given.\n */\nfunction withoutLeadingArticle(ctx: string): string {\n const rest = ctx.replace(/^(?:the|an?)\\s+/i, '');\n return rest || ctx;\n}\n\n/**\n * Whole fallback sentences an app supplies instead of a bare noun phrase, so a translated app never gets an English noun inside a sentence of another\n * language. Pass it as the 2nd argument of {@link getErrorMessage} in place of the `fallbackContext` string. Texts are used exactly as given (no\n * placeholders, no article handling) except that they are trimmed and `failed` gets a full stop when it does not already end with sentence punctuation; a missing or blank entry falls back to the library's own sentence built from `context` (default \"data\").\n */\nexport interface ErrorFallback {\n /** The sentence for \"it failed\" (no server message; status 0, 408, 429, 5xx, other statuses, an unknown error), e.g. \"No se pudo guardar el contacto.\". The library's follow-up (\"Please try again.\") is appended after it as before. */\n failed?: string;\n /** The whole 403 sentence, e.g. \"No tienes permiso para guardar el contacto.\". */\n noPermission?: string;\n /** The whole 404 sentence, e.g. \"No se encontró el contacto.\". */\n notFound?: string;\n /** Noun phrase used by any library sentence this object does not replace (same rules as the string form). */\n context?: string;\n}\n\nconst usableText = (value: unknown): value is string => typeof value === 'string' && value.trim() !== '';\n/** The supplied sentence, trimmed. */\nconst sentenceOf = (value: unknown): string | null => (usableText(value) ? value.trim() : null);\n/** `failed` gets a full stop unless it already ends with sentence punctuation (. ! ? … and their full-width forms), optionally followed by closing quotes / brackets (\" ' ) ] } ” ’ » › ) ] } 」 』 】 〉 》); an opening ¡ ¿ is not an ending, so \"<failed> <follow-up>\" always reads as two sentences. */\nconst withFullStop = (text: string): string => (/[.!?…。!?‼⁇⁈⁉][)\\]}\"'”’»›)]}」』】〉》]*$/.test(text) ? text : `${text}.`);\n\n/**\n * Extracts a user-friendly error message from any error response.\n * Prioritizes: backend message > status text > typed fallback.\n *\n * The fallback names what the user was doing: pass `action` explicitly ('send', 'export', …), or\n * let it come from the request method recorded by `errorContextInterceptor`. With neither it says \"loading\".\n *\n * `fallbackContext` is a bare noun phrase (\"contact\", \"your invoices\"); an empty or whitespace-only one becomes \"data\".\n * The 404 text starts with \"The <context>\", so one leading article (\"the\", \"a\", \"an\") on the context is dropped\n * there: \"the contact\" and \"a contact\" both read \"The contact you're looking for could not be found.\".\n *\n * `fallbackContext` may instead be an {@link ErrorFallback} carrying the whole sentences (`failed`, `noPermission`, `notFound`), for apps whose language the\n * library's \"There was an error <verb> <noun>.\" template does not fit. The string form is unchanged.\n */\nexport function getErrorMessage(error: unknown, fallbackContext?: string | ErrorFallback, action?: ErrorAction): string {\n const sentences: ErrorFallback | null = fallbackContext !== null && typeof fallbackContext === 'object' ? fallbackContext : null;\n const noun = sentences ? sentences.context : (fallbackContext as string | undefined);\n const ctx = (typeof noun === 'string' ? noun.trim() : '') || uiText('errors.dataWord');\n const act: ErrorAction = action ?? (error instanceof HttpErrorResponse ? actionFromMethod(error) : 'load');\n const failed = sentenceOf(sentences?.failed) !== null ? withFullStop(sentenceOf(sentences?.failed)!) : uiText('errors.failed', { verb: uiText(`errors.verb.${act}` as UiLabelKey), ctx });\n if (error instanceof HttpErrorResponse) {\n if (error.error?.message) {\n return error.error.message;\n }\n if (typeof error.error === 'string' && error.error.length < 200) {\n return error.error;\n }\n switch (error.status) {\n case 0:\n return `${failed} ${uiText('errors.checkConnection')}`;\n case 401:\n return uiText('errors.sessionExpired');\n case 403:\n return sentenceOf(sentences?.noPermission) ?? uiText('errors.noPermission', { verb: uiText(`errors.permissionVerb.${act}` as UiLabelKey), ctx });\n case 404:\n return sentenceOf(sentences?.notFound) ?? uiText('errors.notFound', { ctx: withoutLeadingArticle(ctx) });\n case 408:\n return `${failed} ${uiText('errors.timedOut')}`;\n case 422:\n return uiText('errors.invalidData');\n case 429:\n return `${failed} ${uiText('errors.tooManyRequests')}`;\n case 502:\n case 503:\n case 504:\n return `${failed} ${uiText('errors.tryInAFewMinutes')}`;\n default:\n return `${failed} ${uiText('errors.tryAgain')}`;\n }\n }\n if (error instanceof Error) return error.message;\n if (typeof error === 'string') return error;\n return `${failed} ${uiText('errors.tryAgain')}`;\n}\n","import { Injectable, OnDestroy, signal } from '@angular/core';\nimport { Subject } from 'rxjs';\n\nexport type ToastType = 'success' | 'error' | 'info' | 'warning';\n\n/** A button on a toast (e.g. \"View Contact\", \"Call Back\"). */\nexport interface ToastAction {\n /** Identifies the button in `onAction` and in the `(action)` output; also the test id suffix (`toast-action-<id>`). */\n id: string;\n label: string;\n /** Look of the button. Default `secondary`. */\n variant?: 'primary' | 'secondary' | 'danger';\n disabled?: boolean;\n /** Keep the toast open after this button is used. Default `false`: using a button closes the toast. */\n keepOpen?: boolean;\n}\n\n/** What `(action)` / `ToastService.action$` emit when a toast button is used. */\nexport interface ToastActionEvent {\n /** The `id` of the button. */\n id: string;\n /** The `key` of the toast it belongs to, when the toast had one. */\n key?: string;\n}\n\n/**\n * Per-message options for `show()` / `success()` / `info()` / `warning()` / `error()` / `notify()`. Every field is optional; a call without any of them is a plain\n * toast exactly as before.\n */\nexport interface ToastOptions {\n /** Only `notify()` reads this (`show` / `success` / `info` / `warning` / `error` fix their own type). Default `success`. */\n type?: ToastType;\n /** How long it stays, in ms. Default: 3000 (4000 for errors). */\n duration?: number;\n /** A bold first line above the message. */\n title?: string;\n /** Buttons under the message. */\n actions?: readonly ToastAction[];\n /** Show \"Dismissing in Ns\" and a shrinking bar for this toast. Default: the outlet's / app's `countdown` setting (off). */\n countdown?: boolean;\n /** When another toast is showing, wait for it to finish instead of replacing it. Default: the outlet's / app's `queue` setting (off). */\n queue?: boolean;\n /** Identifies the toast: while one with the same key is showing or waiting, another one with that key is not added again (e.g. one per call id). */\n key?: string;\n /** Called with the `id` of a button when it is used (before the toast closes). */\n onAction?: (actionId: string) => void;\n /**\n * (library source 2026-11-04, not yet published) Default `false` (unchanged). `true` = if a toast with the SAME message and the SAME type is on screen right\n * now, show this one as a fresh toast of its own: the toast element is re-created (so a screen reader announces the text again and the\n * entry animation replays), the dismiss timer restarts with this call's duration, and the title / buttons / countdown of this call replace\n * the old ones. Nothing is queued. If the message on screen is different (or nothing is showing) `repeat` changes nothing. Without\n * `repeat`, an identical message arriving while it is on screen only restarts the timer silently: it is not announced again.\n */\n repeat?: boolean;\n}\n\n/** What is known about the toast on screen beyond its message and type; `null` for a plain toast. */\nexport interface ToastDetails {\n title?: string;\n actions: readonly ToastAction[];\n countdown: boolean;\n key?: string;\n onAction?: (actionId: string) => void;\n}\n\ninterface PendingToast { type: ToastType; message: string; duration: number; details: ToastDetails | null }\n\n/** Least time a paused toast stays after the pointer / focus leaves it. */\nconst MIN_RESUME_MS = 1000;\n/** Pause between one queued toast closing and the next one appearing, so the entry animation replays. */\nconst QUEUE_GAP_MS = 80;\n/** How often the countdown redraws. */\nconst COUNTDOWN_TICK_MS = 200;\n/** Default cap of waiting toasts. */\nconst DEFAULT_MAX_QUEUED = 20;\n\n@Injectable({ providedIn: 'root' })\nexport class ToastService implements OnDestroy {\n readonly message = signal<string | null>(null);\n readonly type = signal<ToastType>('success');\n /**\n * Opt-in: every `<ui-toast>` shows a close button (\"Dismiss notification\"). Default `false`: toasts look exactly as before.\n * Set once per app with `provideForgerouteToast({ dismissible: true })`, or per outlet with `<ui-toast [dismissible]=\"true\" />`\n * (the input wins). Escape, pause on hover / focus and `dismiss()` work either way.\n */\n readonly dismissible = signal(false);\n /**\n * Opt-in: every `<ui-toast>` keeps always-present live regions and renders the message inside them (reliable screen-reader\n * announcements, VoiceOver / Safari included). Default `false`: toasts keep their own `role` exactly as before.\n * Set once per app with `provideForgerouteToast({ persistentLiveRegion: true })`, or per outlet with `<ui-toast [persistentLiveRegion]=\"true\" />`.\n */\n readonly persistentLiveRegion = signal(false);\n\n /** The title, buttons, countdown flag, key and callback of the toast on screen; `null` for a plain toast or none. */\n readonly details = signal<ToastDetails | null>(null);\n /**\n * (library source 2026-11-04, not yet published) Counts the `repeat: true` re-presentations of an identical message. The outlet re-creates the toast\n * element whenever it changes, which is what makes a screen reader announce the same text again. Starts at 0 and only grows.\n */\n readonly repeatTick = signal(0);\n /** How many toasts are waiting behind the one on screen (queue mode). */\n readonly queuedCount = signal(0);\n /** Default for `ToastOptions.queue`: new toasts wait for the one on screen instead of replacing it. Set with `provideForgerouteToast({ queue: true })` or `<ui-toast [queue]=\"true\" />`. */\n readonly queueDefault = signal(false);\n /** Default for `ToastOptions.countdown`. Set with `provideForgerouteToast({ countdown: true })` or `<ui-toast [countdown]=\"true\" />`. */\n readonly countdownDefault = signal(false);\n /** Most toasts that may wait; further ones are dropped. Default 20. Set with `provideForgerouteToast({ maxQueued })` or `<ui-toast [maxQueued]=\"n\" />`. */\n readonly maxQueued = signal(DEFAULT_MAX_QUEUED);\n /** Time left of the toast on screen, in ms; only kept up to date for a toast with a countdown. */\n readonly remainingMs = signal(0);\n /** The full time the toast on screen was given, in ms (the denominator of the countdown bar). */\n readonly totalMs = signal(0);\n /** Emits when a toast button is used. */\n readonly action$ = new Subject<ToastActionEvent>();\n\n private _timer: ReturnType<typeof setTimeout> | null = null;\n private _ticker: ReturnType<typeof setInterval> | null = null;\n private _advanceTimer: ReturnType<typeof setTimeout> | null = null;\n private _deadline = 0;\n private _remaining = 0;\n private _paused = false;\n private _queue: PendingToast[] = [];\n\n /** Green success toast. `durationOrOptions` is the time in ms (default 3000) or a {@link ToastOptions} object. */\n show(msg: string, durationOrOptions: number | ToastOptions = 3000) {\n this._enter('success', msg, 3000, durationOrOptions);\n }\n\n /** Green success toast, the explicit name for `show()` (same type, same 3000ms default, same behaviour). */\n success(msg: string, durationOrOptions: number | ToastOptions = 3000) {\n this._enter('success', msg, 3000, durationOrOptions);\n }\n\n /** Neutral (blue) toast for a result that is neither a success nor a failure, e.g. \"No changes to save.\". */\n info(msg: string, durationOrOptions: number | ToastOptions = 3000) {\n this._enter('info', msg, 3000, durationOrOptions);\n }\n\n /**\n * Amber toast for a result that worked but needs attention, e.g. \"Saved, but 2 screenshots could not be attached.\" Announced politely (not as an\n * alert: nothing failed). Default 4000ms, a little longer than info because the user has something to read and maybe act on.\n * (library source 2026-11-04, not yet published)\n */\n warning(msg: string, durationOrOptions: number | ToastOptions = 4000) {\n this._enter('warning', msg, 4000, durationOrOptions);\n }\n\n error(msg: string, durationOrOptions: number | ToastOptions = 4000) {\n this._enter('error', msg, 4000, durationOrOptions);\n }\n\n /** A toast whose type comes from `options.type` (default `success`); the same as the named methods otherwise. */\n notify(msg: string, options: ToastOptions = {}) {\n const type = options.type ?? 'success';\n this._enter(type, msg, type === 'error' || type === 'warning' ? 4000 : 3000, options);\n }\n\n /** Removes the current toast now (close button / Escape); the next waiting one, if any, follows. Safe when nothing is showing. */\n dismiss() {\n this._finish();\n }\n\n /** Uses the button `id` of the toast on screen: calls its `onAction`, emits `action$`, and closes the toast unless the button has `keepOpen`. No-op for an unknown or disabled button. */\n runAction(id: string) {\n const d = this.details();\n const a = d?.actions.find(x => x.id === id);\n if (!d || !a || a.disabled) return;\n d.onAction?.(id);\n this.action$.next({ id, key: d.key });\n if (!a.keepOpen) this._finish();\n }\n\n /** Holds the countdown while the pointer or keyboard focus is on the toast (WCAG 2.2.1). No-op when nothing is counting down. */\n pause() {\n if (this._paused || !this._timer || this.message() === null) return;\n this._remaining = Math.max(0, this._deadline - Date.now());\n this.remainingMs.set(this._remaining);\n this._clearTimer();\n this._paused = true;\n }\n\n /** Continues after `pause()`; the toast gets at least 1000ms more so it can be read. No-op when not paused. */\n resume() {\n if (!this._paused) return;\n this._paused = false;\n this._start(Math.max(this._remaining, MIN_RESUME_MS), false);\n }\n\n /** The root injector is destroyed (app teardown, TestBed reset): no timer may outlive it. */\n ngOnDestroy() {\n this._clearTimer();\n this._clearTicker();\n this._clearAdvance();\n this._queue = [];\n this._paused = false;\n this.action$.complete();\n }\n\n private _clearTimer() {\n if (this._timer) clearTimeout(this._timer);\n this._timer = null;\n }\n\n private _clearTicker() {\n if (this._ticker) clearInterval(this._ticker);\n this._ticker = null;\n }\n\n private _clearAdvance() {\n if (this._advanceTimer) clearTimeout(this._advanceTimer);\n this._advanceTimer = null;\n }\n\n /** Starts the expiry timer (and the countdown ticker for a toast with a countdown). `fresh` = a new toast, not a resume after a pause. */\n private _start(duration: number, fresh: boolean) {\n this._deadline = Date.now() + duration;\n this._timer = setTimeout(() => this._finish(), duration);\n if (fresh) this.totalMs.set(duration);\n this.remainingMs.set(duration);\n if (this.details()?.countdown && !this._ticker) {\n this._ticker = setInterval(() => {\n if (!this._paused && this._timer) this.remainingMs.set(Math.max(0, this._deadline - Date.now()));\n }, COUNTDOWN_TICK_MS);\n }\n }\n\n /** The toast on screen is over (expired, dismissed or its button used): clear it and bring in the next waiting one after a short gap. */\n private _finish() {\n this._clearTimer();\n this._clearTicker();\n this._paused = false;\n this.message.set(null);\n this.details.set(null);\n this.remainingMs.set(0);\n if (this._queue.length > 0 && !this._advanceTimer) {\n this._advanceTimer = setTimeout(() => {\n this._advanceTimer = null;\n const next = this._queue.shift();\n this.queuedCount.set(this._queue.length);\n if (next) this._present(next);\n }, QUEUE_GAP_MS);\n }\n }\n\n private _enter(type: ToastType, msg: string, defaultDuration: number, arg: number | ToastOptions) {\n const options: ToastOptions = typeof arg === 'number' ? { duration: arg } : (arg ?? {});\n const hasRich = !!(options.title || options.actions?.length);\n const countdown = options.countdown ?? this.countdownDefault();\n // A key or a callback alone is enough to keep details (de-duplication and onAction need them); the component only switches to the rich layout for a title, buttons or a countdown.\n const details: ToastDetails | null = hasRich || countdown || options.key !== undefined || !!options.onAction\n ? { title: options.title, actions: options.actions ?? [], countdown, key: options.key, onAction: options.onAction }\n : null;\n const pending: PendingToast = { type, message: msg, duration: options.duration ?? defaultDuration, details };\n\n // repeat: the identical message (same text and type) is on screen -> present it again in place, announced anew (never queued)\n if (options.repeat && this.message() === msg && this.type() === type) {\n this._clearAdvance();\n this.repeatTick.update(n => n + 1);\n this._present(pending);\n return;\n }\n\n const queue = options.queue ?? this.queueDefault();\n const busy = this.message() !== null || this._advanceTimer !== null;\n if (queue && busy) {\n const key = options.key;\n if (key !== undefined && (this.details()?.key === key || this._queue.some(q => q.details?.key === key))) return;\n if (this._queue.length >= this.maxQueued()) return;\n this._queue.push(pending);\n this.queuedCount.set(this._queue.length);\n return;\n }\n // Replace: cancel the previous toast's timers so they can't clear a newer toast early.\n this._clearAdvance();\n this._present(pending);\n }\n\n private _present(p: PendingToast) {\n this._clearTimer();\n this._clearTicker();\n this._paused = false;\n this.type.set(p.type);\n this.details.set(p.details);\n this.message.set(p.message);\n this._start(p.duration, true);\n }\n}\n","import { Injectable } from '@angular/core';\n\n/**\n * Open overlays (ui-modal, ui-side-panel) in the order they opened. Both listen for keydown on the whole\n * document, so only the TOPMOST one may react to Escape / trap Tab — otherwise Escape on a confirm modal\n * stacked over a side panel closes both. Body scroll is unlocked only when the last overlay closes.\n */\n@Injectable({ providedIn: 'root' })\nexport class OverlayStack {\n private readonly stack: object[] = [];\n\n push(overlay: object): void {\n this.remove(overlay);\n this.stack.push(overlay);\n }\n\n remove(overlay: object): void {\n const i = this.stack.indexOf(overlay);\n if (i >= 0) this.stack.splice(i, 1);\n }\n\n /** Position of `overlay` in the stack (0 = bottom), -1 when it is not open. */\n indexOf(overlay: object): number {\n return this.stack.indexOf(overlay);\n }\n\n /**\n * Closes the open overlays that left the page without closing (a `ui-side-panel` projected into a `ui-modal` whose content was removed when the modal closed): an overlay that\n * implements `isDetached()` (true) gets `onOrphaned()`, which releases its place in the stack and the page scroll lock and emits its own `closed` so the host can reset its state.\n */\n pruneDetached(): void {\n for (const overlay of [...this.stack]) {\n const o = overlay as { isDetached?: () => boolean; onOrphaned?: () => void };\n if (o.isDetached?.()) o.onOrphaned?.();\n }\n }\n\n isTop(overlay: object): boolean {\n return this.stack.length > 0 && this.stack[this.stack.length - 1] === overlay;\n }\n\n get isEmpty(): boolean {\n return this.stack.length === 0;\n }\n}\n","/**\n * Initial-focus helpers shared by ui-side-panel and ui-modal (internal — not exported from the public API).\n *\n * Order: an explicit `[autofocus]` / `[data-autofocus]` target in the body → the dialog container itself. A form field is NEVER\n * focused on its own (user decision 2026-11-24): the panel / modal opens with the container focused, so keyboard and screen-reader\n * users are inside the dialog and nothing is edited, highlighted or validated until the user interacts. The header's close button is\n * never chosen. On phones / coarse pointers the container is always focused (no on-screen keyboard or iOS zoom).\n */\n\nconst NON_TEXT_INPUT_TYPES = new Set(['checkbox', 'radio', 'file', 'button', 'submit', 'reset', 'image', 'hidden']);\n\n/** `(max-width: 480px)` or `(pointer: coarse)` — SSR / old-browser safe. */\nexport function isTouchViewport(doc: Document): boolean {\n const w = doc.defaultView;\n return !!w?.matchMedia && (w.matchMedia('(max-width: 480px)').matches || w.matchMedia('(pointer: coarse)').matches);\n}\n\n/** The native control behind an autofocus marker: the element itself or its first descendant control. */\nexport function nativeControl(el: HTMLElement): HTMLElement | null {\n if (/^(INPUT|SELECT|TEXTAREA|BUTTON)$/.test(el.tagName)) return el;\n return el.querySelector('input, select, textarea, button') as HTMLElement | null;\n}\n\n/** Enabled, visible, editable, not hidden from assistive tech, and a real text-like control. */\nexport function isUsableField(el: HTMLElement): boolean {\n const c = el as HTMLInputElement;\n if (c.disabled || c.readOnly) return false;\n if (el.tagName === 'INPUT' && NON_TEXT_INPUT_TYPES.has((c.type || '').toLowerCase())) return false;\n if (el.closest('[hidden], [aria-hidden=\"true\"], [inert]')) return false;\n if (!el.getClientRects().length) return false;\n const view = el.ownerDocument.defaultView;\n return !view || view.getComputedStyle(el).visibility !== 'hidden';\n}\n\n/** Attribute that marks the invisible focus-guard sentinels rendered at the start and end of a dialog. */\nexport const FOCUS_GUARD_ATTR = 'data-ui-focus-guard';\n\nconst TABBABLE_SELECTOR =\n 'button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), iframe, [tabindex]:not([tabindex=\"-1\"])';\n\n/**\n * Elements that take part in the Tab trap: focusable and not `tabindex=\"-1\"`. An `<iframe>` is a stop of its own (unless it\n * is `tabindex=\"-1\"` or not rendered); the focus-guard sentinels are never part of the list.\n */\nexport function tabbables(root: HTMLElement): HTMLElement[] {\n return (Array.from(root.querySelectorAll(TABBABLE_SELECTOR)) as HTMLElement[]).filter(el => {\n if (el.getAttribute('tabindex') === '-1') return false;\n if (el.hasAttribute(FOCUS_GUARD_ATTR)) return false;\n return el.tagName !== 'IFRAME' || isRenderedFrame(el);\n });\n}\n\n/** An iframe that can really take focus: laid out, not `visibility:hidden`, not inside an `[inert]` subtree. */\nfunction isRenderedFrame(el: HTMLElement): boolean {\n if (!el.getClientRects().length || el.closest('[inert]')) return false;\n const view = el.ownerDocument.defaultView;\n return !view || view.getComputedStyle(el).visibility !== 'hidden';\n}\n\n/**\n * Focus-guard handler. Each dialog renders an invisible `tabindex=\"0\"` sentinel as its first and last child. Focus can reach one\n * only through the browser's own Tab order, which is exactly what a keydown handler cannot see (Tab pressed inside a cross-origin\n * iframe). Landing on the START guard means the user went backwards past the first stop, so focus goes to the last tabbable;\n * landing on the END guard goes to the first. With nothing tabbable the dialog container takes focus.\n * Exception: Tab pressed while the dialog CONTAINER holds focus (confirm modals without a field, touch viewports) moves the\n * browser to the START guard, the next element in DOM order; `relatedTarget` is then the container and focus goes to the FIRST\n * tabbable (as it did before the guards existed), or stays on the container when there is none.\n */\nexport function redirectFromGuard(which: 'start' | 'end', host: HTMLElement, dialog: HTMLElement | null, relatedTarget: EventTarget | null = null): void {\n const list = tabbables(host);\n if (!list.length) { dialog?.focus(); return; }\n if (which === 'start' && dialog && relatedTarget === dialog) { list[0].focus(); return; }\n (which === 'start' ? list[list.length - 1] : list[0]).focus();\n}\n\n/** Next (`1`) or previous (`-1`) tabbable relative to `ref` in document order, wrapping around; null for an empty list. */\nfunction neighbourTabbable(list: HTMLElement[], ref: Node, dir: 1 | -1): HTMLElement | null {\n if (!list.length) return null;\n if (dir === 1) {\n return list.find(el => el !== ref && !ref.contains(el) && (ref.compareDocumentPosition(el) & 4) !== 0) ?? list[0];\n }\n const rev = [...list].reverse();\n return rev.find(el => el !== ref && !el.contains(ref) && (ref.compareDocumentPosition(el) & 2) !== 0) ?? list[list.length - 1];\n}\n\n/** The iframe's document when it is same-origin and loaded; null for a cross-origin frame (or one that throws). */\nfunction accessibleDocument(frame: HTMLIFrameElement): Document | null {\n try { return frame.contentDocument ?? null; } catch { return null; }\n}\n\nexport interface IframeKeyBridgeOptions {\n /** Called with the original event when Escape is pressed inside a same-origin iframe. */\n onEscape: (event: KeyboardEvent) => void;\n /** Tab / Shift+Tab are only handled while this returns true (the dialog is open and topmost). */\n isActive: () => boolean;\n}\n\n/**\n * Keys typed inside a same-origin `<iframe>` never reach the parent document, so the dialog's own keydown handler cannot see\n * Escape or Tab there. This bridge listens inside every same-origin iframe under `root` and:\n * - Escape: calls `onEscape` (the dialog closes as if the key was pressed outside the frame);\n * - Tab on the frame's last tabbable (or a frame with none): moves focus to the next tabbable of the dialog, wrapping to the\n * first; Shift+Tab on the frame's first tabbable: the previous one, wrapping to the last. Tab elsewhere in the frame is left\n * to the browser.\n * Cross-origin frames (no accessible document) are skipped silently: their Tab-out is caught by the focus-guard sentinels.\n * Listeners are re-bound when a frame loads a new document, dropped when a frame leaves `root`, and all removed by the\n * returned function (idempotent). A server (no `defaultView`) gets a no-op.\n */\nexport function bridgeIframeKeys(root: HTMLElement, doc: Document, options: IframeKeyBridgeOptions): () => void {\n if (!doc.defaultView) return () => {};\n\n interface Bound { doc: Document | null; onKey: (e: KeyboardEvent) => void; onLoad: () => void; }\n const bound = new Map<HTMLIFrameElement, Bound>();\n\n const makeHandler = (frame: HTMLIFrameElement) => (event: KeyboardEvent) => {\n if (event.key === 'Escape') { options.onEscape(event); return; }\n if (event.key !== 'Tab' || !options.isActive()) return;\n const inner = accessibleDocument(frame);\n if (!inner) return;\n const own = tabbables(inner.body);\n const active = inner.activeElement;\n const atEdge = event.shiftKey\n ? !own.length || active === own[0] || active === inner.body || active === inner.documentElement\n : !own.length || active === own[own.length - 1];\n if (!atEdge) return;\n const target = neighbourTabbable(tabbables(root), frame, event.shiftKey ? -1 : 1);\n if (!target) return;\n event.preventDefault();\n target.focus();\n };\n\n const unbindDoc = (b: Bound) => {\n if (!b.doc) return;\n try { b.doc.removeEventListener('keydown', b.onKey, true); } catch { /* the frame navigated away */ }\n b.doc = null;\n };\n const bindDoc = (frame: HTMLIFrameElement, b: Bound) => {\n unbindDoc(b);\n const inner = accessibleDocument(frame);\n if (!inner) return;\n inner.addEventListener('keydown', b.onKey, true);\n b.doc = inner;\n };\n\n const attach = (frame: HTMLIFrameElement) => {\n const b: Bound = { doc: null, onKey: makeHandler(frame), onLoad: () => bindDoc(frame, b) };\n frame.addEventListener('load', b.onLoad);\n bound.set(frame, b);\n bindDoc(frame, b);\n };\n const detach = (frame: HTMLIFrameElement) => {\n const b = bound.get(frame);\n if (!b) return;\n frame.removeEventListener('load', b.onLoad);\n unbindDoc(b);\n bound.delete(frame);\n };\n const sync = () => {\n const current = new Set(Array.from(root.querySelectorAll('iframe')) as HTMLIFrameElement[]);\n for (const frame of Array.from(bound.keys())) if (!current.has(frame)) detach(frame);\n for (const frame of current) if (!bound.has(frame)) attach(frame);\n };\n\n sync();\n // Only a mutation that adds or removes an iframe (directly or inside a subtree) needs a re-scan.\n const touchesFrame = (n: Node) => n.nodeType === 1 && ((n as Element).tagName === 'IFRAME' || !!(n as Element).querySelector('iframe'));\n const observer = typeof MutationObserver === 'undefined' ? null : new MutationObserver(records => {\n if (records.some(r => Array.from(r.addedNodes).some(touchesFrame) || Array.from(r.removedNodes).some(touchesFrame))) sync();\n });\n observer?.observe(root, { childList: true, subtree: true });\n\n let destroyed = false;\n return () => {\n if (destroyed) return;\n destroyed = true;\n observer?.disconnect();\n for (const frame of Array.from(bound.keys())) detach(frame);\n };\n}\n\n/** Moves focus per the order above; returns the element that ended up focused. */\nexport function focusInitial(dialog: HTMLElement | null, body: HTMLElement | null, doc: Document): void {\n if (!dialog) return;\n if (isTouchViewport(doc) || !body) { dialog.focus(); return; }\n\n const tryFocus = (el: HTMLElement | null): boolean => {\n if (!el) return false;\n el.focus();\n return doc.activeElement === el;\n };\n\n for (const marker of Array.from(body.querySelectorAll('[autofocus], [data-autofocus]')) as HTMLElement[]) {\n const control = nativeControl(marker);\n if (!control) continue;\n const usable = control.tagName === 'BUTTON'\n ? !(control as HTMLButtonElement).disabled && control.getClientRects().length > 0\n : isUsableField(control);\n if (usable && tryFocus(control)) return;\n }\n\n // No field is focused on its own: an explicit autofocus marker (above) is the only way to focus a control on open.\n dialog.focus();\n}\n","/**\n * Return-focus helpers shared by ui-modal and ui-side-panel (internal — not exported from the public API).\n *\n * A dialog gives focus back to whatever opened it. Safari (macOS and iOS) does not focus a button on click, so at open time\n * `document.activeElement` is `<body>` and the plain \"remember the active element\" approach loses the trigger. The\n * `LastInteraction` service therefore remembers the target of the last pointerdown / click / keyboard activation (document-level\n * capturing listeners, registered once while at least one dialog component exists), and `resolveTrigger` falls back to the\n * closest focusable ancestor of that target.\n */\nimport { Injectable } from '@angular/core';\n\n/** Ancestors that count as \"the trigger\": the control the user actually activated. */\nconst FOCUSABLE_ANCESTOR =\n 'button, a[href], [tabindex], [role=\"button\"], input:not([type=\"hidden\"]), select, textarea, summary';\n\n/** An interaction older than this (ms) is not the opener of a dialog: dialogs opened by a timer / socket / route change ignore it. */\nexport const INTERACTION_WINDOW_MS = 1000;\n\n@Injectable({ providedIn: 'root' })\nexport class LastInteraction {\n private _target: Element | null = null;\n private _at = 0;\n private _users = 0;\n private _off: (() => void) | null = null;\n\n /** The target of the last pointerdown / click / Enter or Space keydown, or null. */\n get target(): Element | null { return this._target; }\n\n /**\n * The remembered target if it is at most `INTERACTION_WINDOW_MS` old; it is cleared either way, so one interaction opens at\n * most one dialog.\n */\n consume(): Element | null {\n const fresh = this._target && Date.now() - this._at <= INTERACTION_WINDOW_MS ? this._target : null;\n this._target = null;\n return fresh;\n }\n\n /**\n * Starts listening (first caller only). Safe on the server: without a `defaultView` nothing is registered.\n * Known limitation: a dialog inside an `@defer` block is created after the click that opens it, so the listeners do not exist\n * yet for that very first open and its return focus falls back to the old behaviour (`document.activeElement`).\n */\n acquire(doc: Document): void {\n this._users++;\n if (this._off || !doc.defaultView) return;\n const remember = (e: Event) => { if (e.target instanceof Element) { this._target = e.target; this._at = Date.now(); } };\n const onKey = (e: KeyboardEvent) => { if (e.key === 'Enter' || e.key === ' ') remember(e); };\n doc.addEventListener('pointerdown', remember, true);\n doc.addEventListener('click', remember, true);\n doc.addEventListener('keydown', onKey, true);\n this._off = () => {\n doc.removeEventListener('pointerdown', remember, true);\n doc.removeEventListener('click', remember, true);\n doc.removeEventListener('keydown', onKey, true);\n };\n }\n\n /** Stops listening and forgets the target once the last user is gone. */\n release(): void {\n this._users = Math.max(0, this._users - 1);\n if (this._users > 0) return;\n this._off?.();\n this._off = null;\n this._target = null;\n }\n}\n\n/** The closest focusable ancestor-or-self of `target` (a button / link / tabindex / role=button / form control), or null. */\nexport function closestFocusable(target: Element | null): HTMLElement | null {\n return (target?.closest(FOCUSABLE_ANCESTOR) as HTMLElement | null) ?? null;\n}\n\n/**\n * The element to give focus back to, captured when the dialog opens.\n * 1. A real `document.activeElement` (not body / html, not another dialog's container) — what every browser that focuses on click gives.\n * 2. Otherwise the closest focusable ancestor of the last interaction target (the Safari case).\n * 3. Otherwise whatever `activeElement` was (as before).\n */\nexport function resolveTrigger(doc: Document, tracker: LastInteraction): HTMLElement | null {\n const consumed = tracker.consume(); // always consumed: one interaction opens at most one dialog\n const active = doc.activeElement as HTMLElement | null;\n const isBody = !active || active === doc.body || active === doc.documentElement;\n const isDialog = !isBody && active.matches('[role=\"dialog\"]');\n if (!isBody && !isDialog) return active;\n const tracked = closestFocusable(consumed);\n if (!tracked) return active;\n // A dialog container that holds focus (Safari, a confirm opened from a button inside a panel): only a control inside it counts.\n return isDialog && !active.contains(tracked) ? active : tracked;\n}\n\nfunction isUsable(el: HTMLElement | null | undefined): el is HTMLElement {\n if (!el || !el.isConnected || !el.getClientRects().length) return false;\n const view = el.ownerDocument.defaultView;\n return !view || view.getComputedStyle(el).visibility !== 'hidden';\n}\n\n/** Gives focus back: the explicit `returnFocusTo` first, then the captured trigger; each only if still in the DOM and visible. */\nexport function restoreFocus(explicit: HTMLElement | null | undefined, captured: HTMLElement | null): void {\n for (const candidate of [explicit, captured]) {\n if (isUsable(candidate)) { candidate.focus(); return; }\n }\n captured?.focus(); // as before: a no-op for a detached / hidden element\n}\n","/**\n * Tracks the visual viewport (the part of the page not covered by the on-screen keyboard) and publishes it as CSS\n * custom properties on `host`:\n * --ui-vvh : visible height in px\n * --ui-kb : px covered at the bottom of the layout viewport (keyboard height), 0 when no keyboard\n * Overlays use them so their footer stays above the keyboard. SSR-safe (no-op without a window / visualViewport).\n * Returns a cleanup function that removes the listeners and the properties.\n */\nexport function trackVisualViewport(win: Window | null | undefined, host: HTMLElement): () => void {\n const vv = win?.visualViewport;\n if (!win || !vv) return () => {};\n const update = () => {\n const covered = Math.max(0, Math.round(win.innerHeight - (vv.offsetTop + vv.height)));\n host.style.setProperty('--ui-vvh', `${Math.round(vv.height)}px`);\n host.style.setProperty('--ui-kb', `${covered}px`);\n };\n update();\n vv.addEventListener('resize', update);\n vv.addEventListener('scroll', update);\n return () => {\n vv.removeEventListener('resize', update);\n vv.removeEventListener('scroll', update);\n host.style.removeProperty('--ui-vvh');\n host.style.removeProperty('--ui-kb');\n };\n}\n","import { DestroyRef, ElementRef, InjectionToken, Signal, WritableSignal, computed, effect, inject, signal } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\n/**\n * Shared validity contract of the form inputs (`ui-text-input`, `ui-textarea-input`, `ui-select`,\n * `ui-date-input`, `ui-datetime-input`).\n *\n * Every input provides this token, so a host can read the validity of all the fields in its template\n * without reimplementing any rule:\n *\n * ```ts\n * readonly fields = viewChildren(UiFieldValidity);\n * readonly hasInvalid = computed(() => this.fields().some(f => f.invalid()));\n * ```\n */\nexport abstract class UiFieldValidity {\n /** True while the field's current value breaks a built-in rule (or the host passed a non-empty `[error]`). Not gated on touched. */\n abstract readonly invalid: Signal<boolean>;\n /** The message of the first broken built-in rule ('' when valid), whether or not it is currently shown. */\n abstract readonly errorMessage: Signal<string>;\n}\n\n/** One broken rule: `key` is the Angular validation-error key reported on the form control. */\nexport interface FieldIssue {\n key: string;\n message: string;\n value?: unknown;\n}\n\n/** Maps an issue to the `ValidationErrors` a `Validator` returns. */\nexport function issueToErrors(issue: FieldIssue | null): ValidationErrors | null {\n return issue ? { [issue.key]: issue.value ?? true } : null;\n}\n\n/** \"Name is required.\" / \"This field is required.\" */\nexport function requiredIssue(label: string): FieldIssue {\n const name = label.trim();\n return { key: 'required', message: name ? uiText('validation.required', { label: name }) : uiText('validation.requiredNoLabel') };\n}\n\n/** \"Too long (max N characters).\" when the trimmed text is longer than `max`. */\nexport function maxLengthIssue(text: string, max: number | undefined | null): FieldIssue | null {\n if (max == null || max < 0 || text.length <= max) return null;\n return { key: 'maxlength', message: uiText('validation.tooLong', { max }), value: { requiredLength: max, actualLength: text.length } };\n}\n\n/**\n * An overlay that keeps the fields projected into it ALIVE while it is closed (`ui-side-panel`, `ui-modal`: Angular creates projected content with the host's template,\n * whether or not the overlay renders it). It provides this token, and every field (through [createFieldReveal]) forgets that it was blurred each time the overlay opens or\n * closes, so a field the user left before pressing Cancel / the close button is clean again when the overlay is opened the next time.\n */\nexport interface UiFieldRevealHost {\n readonly open: Signal<boolean>;\n}\nexport const UI_FIELD_REVEAL_HOST = new InjectionToken<UiFieldRevealHost>('UI_FIELD_REVEAL_HOST');\n\n/**\n * Touched / reveal bookkeeping shared by the inputs (every library input uses it, so the rule below is the same for all of them). A message AND the red border (both follow\n * `revealed`) show only when:\n * - the USER clicked / touched / typed in THIS field and then left it (blur): the field must have been interacted with (a pointer press, a click, typing, a key press other than\n * Escape, a change) inside it. Focus that arrives by itself (a panel focusing its first field when it opens) and is then lost (the user closes the panel) is NOT an interaction,\n * so closing an untouched form never shows an error; OR\n * - the host sets `showErrors` (a failed Save / Create / Submit click), which reveals an invalid untouched field at once.\n * A host-provided `[error]` follows the same rule. Switching `showErrors` from true back to false (the host closing / re-initialising its form) clears the touched and interacted\n * state again, so no red field is left. A field inside a `ui-side-panel` / `ui-modal` ([UI_FIELD_REVEAL_HOST]) also clears both whenever that overlay opens or closes.\n * Must be called from an injection context. Outside a component (no host element, e.g. a direct spec) every blur counts as an interaction.\n */\nexport function createFieldReveal(showErrors: Signal<boolean>): { touched: WritableSignal<boolean>; revealed: Signal<boolean>; interacted: WritableSignal<boolean> } {\n const touched = signal(false);\n const element = inject(ElementRef, { optional: true })?.nativeElement as HTMLElement | undefined;\n const hasHost = !!element && typeof element.addEventListener === 'function';\n const interacted = signal(!hasHost);\n if (hasHost) {\n const mark = () => interacted.set(true);\n const key = (e: Event) => { if ((e as KeyboardEvent).key !== 'Escape') interacted.set(true); };\n element!.addEventListener('pointerdown', mark, true);\n element!.addEventListener('mousedown', mark, true);\n element!.addEventListener('touchstart', mark, true);\n element!.addEventListener('click', mark, true);\n element!.addEventListener('input', mark, true);\n element!.addEventListener('change', mark, true);\n element!.addEventListener('keydown', key, true);\n inject(DestroyRef).onDestroy(() => {\n element!.removeEventListener('pointerdown', mark, true);\n element!.removeEventListener('mousedown', mark, true);\n element!.removeEventListener('touchstart', mark, true);\n element!.removeEventListener('click', mark, true);\n element!.removeEventListener('input', mark, true);\n element!.removeEventListener('change', mark, true);\n element!.removeEventListener('keydown', key, true);\n });\n }\n const forget = () => { touched.set(false); if (hasHost) interacted.set(false); };\n const host = inject(UI_FIELD_REVEAL_HOST, { optional: true });\n let previous = false;\n effect(() => {\n const show = showErrors();\n if (previous && !show) forget();\n previous = show;\n });\n let hostOpen: boolean | null = null;\n effect(() => {\n if (!host) return;\n const open = host.open();\n if (hostOpen !== null && open !== hostOpen) forget();\n hostOpen = open;\n });\n return { touched, interacted, revealed: computed(() => (touched() && interacted()) || showErrors()) };\n}\n\nimport { DEFAULT_LOCALE, safeLocale, uiFormatClock, uiFormatDate } from '../i18n/ui-format';\nimport { uiText } from '../i18n/ui-labels';\n\nconst isEnglishLocale = (locale: string): boolean => { const l = safeLocale(locale); return l === 'en-US' || l === 'en'; };\nconst MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n\n/** Splits `YYYY-MM-DD` (optionally followed by `Thh:mm[:ss]`) and rejects impossible dates (2026-02-31) and times (25:00). */\nexport function parseIso(value: string | null | undefined, withTime: boolean): { y: number; mo: number; d: number; h: number; mi: number } | null {\n if (typeof value !== 'string') return null;\n const m = /^(\\d{4})-(\\d{2})-(\\d{2})(?:[T ](\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.\\d+)?)?)?$/.exec(value.trim());\n if (!m) return null;\n if (m[6] !== undefined && Number(m[6]) > 59) return null;\n if (withTime && m[4] === undefined) return null;\n if (!withTime && m[4] !== undefined) return null;\n const y = Number(m[1]), mo = Number(m[2]), d = Number(m[3]);\n const h = m[4] === undefined ? 0 : Number(m[4]);\n const mi = m[5] === undefined ? 0 : Number(m[5]);\n if (mo < 1 || mo > 12 || d < 1 || d > new Date(Date.UTC(y, mo, 0)).getUTCDate()) return null;\n if (h > 23 || mi > 59) return null;\n return { y, mo, d, h, mi };\n}\n\n/** \"Oct 20, 2026\" from an ISO date (never shifted by the time zone). */\nexport function formatIsoDate(value: string | null | undefined, locale: string = DEFAULT_LOCALE): string {\n const p = parseIso(value, false);\n if (!p) return typeof value === 'string' ? value : '';\n if (isEnglishLocale(locale)) return `${MONTHS[p.mo - 1]} ${p.d}, ${p.y}`;\n return uiFormatDate(new Date(p.y, p.mo - 1, p.d), 'MMM d, y', locale);\n}\n\n/** \"Oct 20, 2026, 3:30 PM\" from an ISO local date-time. */\nexport function formatIsoDateTime(value: string | null | undefined, locale: string = DEFAULT_LOCALE): string {\n const p = parseIso(value, true);\n if (!p) return typeof value === 'string' ? value : '';\n if (!isEnglishLocale(locale)) return uiFormatDate(new Date(p.y, p.mo - 1, p.d, p.h, p.mi), 'MMM d, y, h:mm a', locale);\n const hour = p.h % 12 === 0 ? 12 : p.h % 12;\n return `${MONTHS[p.mo - 1]} ${p.d}, ${p.y}, ${hour}:${String(p.mi).padStart(2, '0')} ${p.h < 12 ? 'AM' : 'PM'}`;\n}\n\n/** Sortable key `YYYYMMDDHHmm` of a parsed ISO value. */\nexport function isoKey(p: { y: number; mo: number; d: number; h: number; mi: number }): number {\n return ((((p.y * 100 + p.mo) * 100 + p.d) * 100 + p.h) * 100) + p.mi;\n}\n\n/** Parses `HH:mm` (optionally `HH:mm:ss`) into minutes since midnight; null for anything else (25:00, 9:5, 09:30:99, text, null/undefined). */\nexport function parseTime(value: string | null | undefined): number | null {\n if (typeof value !== 'string') return null;\n const m = /^(\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.\\d+)?)?$/.exec(value.trim());\n if (!m) return null;\n if (m[3] !== undefined && Number(m[3]) > 59) return null;\n const h = Number(m[1]), mi = Number(m[2]);\n return h > 23 || mi > 59 ? null : h * 60 + mi;\n}\n\n/** \"9:00 AM\" / \"12:30 PM\" from an `HH:mm` value (returned unchanged when it cannot be parsed; '' for null/undefined/non-strings). */\nexport function formatTime(value: string | null | undefined, locale: string = DEFAULT_LOCALE): string {\n const t = parseTime(value);\n if (t == null) return typeof value === 'string' ? value : '';\n return uiFormatClock(Math.floor(t / 60), t % 60, locale);\n}\n\n/**\n * Joins a control's own `aria-describedby` ids with the ids a host passes through `[ariaDescribedBy]` (space separated, own ids first,\n * duplicates dropped). Returns null when there is nothing to point at, so the attribute is absent.\n */\nexport function mergeDescribedBy(own: string | null | undefined, external: string | null | undefined): string | null {\n const ids = `${own ?? ''} ${external ?? ''}`.split(/\\s+/).filter(Boolean);\n const unique = ids.filter((id, i) => ids.indexOf(id) === i);\n return unique.length ? unique.join(' ') : null;\n}\n","import { forwardRef, Component, ChangeDetectionStrategy, input, output, inject, ElementRef, Renderer2, OnInit, OnDestroy, effect, untracked, computed, signal, Injector, afterNextRender } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { OverlayStack } from '../utils/overlay-stack';\nimport { focusInitial, tabbables, redirectFromGuard, bridgeIframeKeys } from '../utils/overlay-focus';\nimport { LastInteraction, resolveTrigger, restoreFocus } from '../utils/return-focus';\nimport { trackVisualViewport } from '../utils/visual-viewport';\nimport { UiLabelsService } from '../i18n/ui-labels';\nimport { UI_FIELD_REVEAL_HOST } from '../utils/field-validation';\n\n@Component({\n selector: 'ui-modal',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '(document:keydown)': 'onKeydown($event)' },\n // the fields projected into this overlay forget that they were blurred whenever it opens or closes (see UI_FIELD_REVEAL_HOST)\n providers: [{ provide: UI_FIELD_REVEAL_HOST, useExisting: forwardRef(() => ModalComponent) }],\n template: `\n @if (open()) {\n <div class=\"m-backdrop\" [class.m-kiosk-backdrop]=\"kiosk()\" [style.z-index]=\"backdropZ()\" (click)=\"dismiss('backdrop')\"></div>\n <div class=\"m-modal\" [class.m-kiosk]=\"kiosk()\" role=\"dialog\" aria-modal=\"true\" tabindex=\"-1\" [attr.aria-labelledby]=\"titleId\" [attr.aria-describedby]=\"describedById()\" [attr.aria-busy]=\"busy() ? 'true' : null\" [attr.data-testid]=\"dialogTestId() || null\" [style.max-width]=\"maxWidth()\" [style.z-index]=\"dialogZ()\">\n <span class=\"m-focus-guard\" data-ui-focus-guard=\"start\" tabindex=\"0\" (focus)=\"onGuardFocus('start', $event)\"></span>\n <div class=\"m-header\">\n <div class=\"m-header-text\">\n <h3 class=\"m-title\" [id]=\"titleId\">{{ title() }}</h3>\n @if (description()) {\n <p class=\"m-description\" [id]=\"descId\">{{ description() }}</p>\n }\n </div>\n <ng-content select=\"[modal-header-end]\" />\n @if (!hideClose() && closable()) {\n <button class=\"m-close\" type=\"button\" [attr.aria-label]=\"labels.t('common.close')\" [disabled]=\"busy()\" (click)=\"dismiss('close')\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/>\n </svg>\n </button>\n }\n </div>\n <div class=\"m-body\" [style.overflow-y]=\"bodyOverflow()\">\n <ng-content />\n </div>\n <div class=\"m-footer\">\n <div class=\"m-footer-left\"><ng-content select=\"[modal-footer-left]\" /></div>\n <div class=\"m-footer-center\"><ng-content select=\"[modal-footer-center]\" /></div>\n <div class=\"m-footer-right\"><ng-content select=\"[modal-footer-right]\" /></div>\n </div>\n <span class=\"m-focus-guard\" data-ui-focus-guard=\"end\" tabindex=\"0\" (focus)=\"onGuardFocus('end', $event)\"></span>\n </div>\n }\n `,\n styles: [`\n .m-backdrop {\n position: fixed; inset: 0;\n background: rgba(2, 8, 23, 0.45);\n backdrop-filter: blur(4px);\n -webkit-backdrop-filter: blur(4px);\n z-index: 200;\n animation: m-fade 180ms ease;\n }\n .m-modal:focus { outline: none; }\n .m-close:disabled { opacity: 0.4; cursor: not-allowed; }\n /* Invisible Tab-order sentinels at the start / end of the dialog; they only redirect focus back inside. */\n .m-focus-guard { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; outline: none; }\n /* Centred WITHOUT a transform (inset 0 + margin auto + height fit-content, like the kiosk layout): a transform would make the dialog the containing block of every position: fixed descendant,\n so a ui-side-panel (or any fixed overlay) inside the modal body would be positioned against the dialog and clipped by its scrolling body instead of the viewport. Nothing here (transform, filter,\n will-change, contain, perspective) creates a containing block for fixed descendants at rest; the entrance animation below uses a transform only while it runs. */\n .m-modal {\n position: fixed; top: 0; right: 0; bottom: 0; left: 0; margin: auto; height: fit-content;\n background: #fff;\n border-radius: 16px;\n border: 1px solid rgba(0,0,0,0.07);\n z-index: 201;\n width: calc(100% - 32px);\n box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.12), 0 48px 96px rgba(0,0,0,0.10);\n max-height: calc(100vh - 48px);\n /* dvh follows the visible viewport (iOS Safari's collapsing address bar, landscape tablets); browsers without it keep the vh line above */\n max-height: calc(100dvh - 48px);\n display: flex; flex-direction: column;\n animation: m-scale 220ms cubic-bezier(0.16, 1, 0.3, 1);\n }\n .m-header {\n display: flex; align-items: flex-start; justify-content: space-between;\n padding: 20px 24px 16px;\n background: #f8fafc;\n border-bottom: 1px solid #e2e8f0;\n border-radius: 16px 16px 0 0;\n flex-shrink: 0;\n }\n .m-header-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }\n .m-title {\n font-size: 1.125rem; font-weight: 700; color: #0f172a; margin: 0;\n letter-spacing: -0.02em; line-height: 1.3;\n }\n .m-description {\n font-size: 0.8125rem; color: #64748b; margin: 0; line-height: 1.4;\n }\n .m-close {\n display: flex; align-items: center; justify-content: center;\n width: 30px; height: 30px; border-radius: 8px; border: none;\n background: none; cursor: pointer; color: #94a3b8; flex-shrink: 0; margin-left: 12px;\n transition: background 130ms, color 130ms;\n &:hover { background: #f1f5f9; color: #1e293b; }\n &:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n }\n .m-body {\n padding: 20px 24px; overflow-y: auto; flex: 1; min-height: 0;\n font-size: 0.9rem; color: #475569; line-height: 1.65;\n }\n .m-footer {\n padding: 14px 24px 18px;\n background: #f8fafc;\n border-top: 1px solid #e2e8f0;\n border-radius: 0 0 16px 16px;\n flex-shrink: 0;\n display: flex; align-items: center; justify-content: space-between; gap: 8px;\n &:not(:has(*)) { display: none; }\n }\n .m-footer-left { display: flex; align-items: center; gap: 8px; }\n .m-footer-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }\n /* Optional middle slot ([modal-footer-center]): hidden while nothing is projected, so a two-slot footer looks exactly as before. */\n .m-footer-center { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 auto; margin: 0 8px; }\n .m-footer-center:empty { display: none; }\n\n @media (max-width: 480px) {\n .m-modal:not(.m-kiosk) {\n top: auto; bottom: var(--ui-kb, 0px); left: 0; right: 0; transform: none; margin: 0; height: auto;\n width: 100vw; max-width: none !important; max-height: min(85dvh, var(--ui-vvh, 100dvh));\n border-radius: 20px 20px 0 0; animation: m-up 240ms cubic-bezier(0.16, 1, 0.3, 1);\n }\n /* Same footer as ui-side-panel on a phone: the buttons side by side (Cancel left, the primary action right), wrapping only when they do not fit. */\n .m-footer {\n border-radius: 0; flex-wrap: wrap;\n padding-bottom: max(18px, env(safe-area-inset-bottom));\n }\n }\n\n /* Touch targets: the close button's own box is 44 x 44 (a real box, so any measurement sees it). The 30px look is kept with 7px padding + background-clip: content-box, and the negative\n margins (-7px, left 12 - 7 = 5px) keep the header layout of the 30px button (desktop unchanged). */\n @media (pointer: coarse), (max-width: 480px) {\n .m-close { box-sizing: border-box; width: 44px; height: 44px; padding: 7px; margin: -7px -7px -7px 5px; background-clip: content-box; }\n }\n\n /* layout=\"kiosk\": a centred card that always fits the visible viewport (100vh with a 100dvh upgrade): header and footer stay put, the body scrolls\n inside the card, also on a phone (no bottom sheet). Inset 0 + margin auto + height fit-content centres it without a transform. */\n .m-backdrop.m-kiosk-backdrop { background: rgba(15, 23, 42, 0.72); backdrop-filter: none; -webkit-backdrop-filter: none; }\n .m-modal.m-kiosk {\n top: 0; right: 0; bottom: 0; left: 0; transform: none; margin: auto;\n width: calc(100% - 32px); height: fit-content;\n max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);\n overflow: hidden; animation: m-fade 180ms ease;\n box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);\n }\n .m-modal.m-kiosk .m-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }\n .m-modal.m-kiosk .m-footer { border-radius: 0 0 16px 16px; }\n @media (max-width: 480px) {\n .m-modal.m-kiosk { bottom: var(--ui-kb, 0px); max-height: min(calc(100dvh - 32px), var(--ui-vvh, 100dvh)); border-radius: 16px; }\n .m-modal.m-kiosk .m-footer { flex-wrap: wrap; padding-bottom: max(18px, env(safe-area-inset-bottom)); }\n }\n\n @keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }\n @keyframes m-scale {\n from { opacity: 0; transform: translateY(2%) scale(0.96); }\n to { opacity: 1; transform: none; }\n }\n @keyframes m-up { from { transform: translateY(100%); } to { transform: translateY(0); } }\n\n /* Reduced motion: no entrance / shimmer animation (a loading spinner stays, slower). */\n @media (prefers-reduced-motion: reduce) {\n .m-backdrop, .m-modal { animation: none; } /* appears at once: no fade / scale / slide */\n }\n `],\n})\nexport class ModalComponent implements OnInit, OnDestroy {\n protected readonly labels = inject(UiLabelsService);\n readonly open = input(false);\n readonly title = input('');\n readonly description = input('');\n /**\n * Id(s) of the element(s) inside the dialog that describe it (space-separated, as `aria-describedby` takes them), e.g. the confirm message\n * paragraph. Screen readers read them after the title when the dialog opens. When it is not set and `description` is, the dialog is described\n * by that description line; with neither, no `aria-describedby` is rendered (the body of a form dialog is not a description).\n */\n readonly describedBy = input<string | null>(null);\n readonly maxWidth = input('460px');\n readonly bodyOverflow = input<'auto' | 'visible' | 'hidden'>('auto');\n /** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */\n readonly dialogTestId = input('');\n /** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */\n readonly hideClose = input(false);\n /**\n * `false` = the user cannot dismiss the dialog: the X button is hidden and Escape / a backdrop click do not emit `close`\n * (e.g. while a save is running; the host closes it itself). Default `true` = today's behaviour.\n */\n readonly closable = input(true);\n /**\n * Look of the dialog. `'default'` (today's dialog; a bottom sheet on a phone) or `'kiosk'`: a darker backdrop and a centred card on every screen\n * size that never grows past the visible viewport (header and footer stay, the body scrolls, 100dvh with a 100vh fallback). Meant for full-attention\n * dialogs such as a payment or bank-account entry; combine with `[closeOnBackdrop]=\"false\"` and `[busy]`. See docs/modal-kiosk-and-bank-account-form.md.\n */\n readonly layout = input<'default' | 'kiosk'>('default');\n /** `false` = a click on the backdrop does not close (a mis-click must not lose a half-filled payment form). Default `true`. */\n readonly closeOnBackdrop = input(true);\n /** `false` = Escape does not close. Default `true`. */\n readonly closeOnEscape = input(true);\n /**\n * `true` while a request is running (e.g. a payment is processing): sets `aria-busy` on the dialog, disables the X button and blocks Escape and\n * backdrop dismissal, whatever `closable` / `closeOnEscape` / `closeOnBackdrop` say. Default `false`.\n */\n readonly busy = input(false);\n readonly close = output<void>();\n /**\n * Element that gets focus back when the dialog closes. Takes precedence over the element that was focused (or last\n * clicked / activated) when it opened; used only if it is still in the page and visible. Default null = the opener.\n */\n readonly returnFocusTo = input<HTMLElement | null>(null);\n\n protected readonly kiosk = computed(() => this.layout() === 'kiosk');\n protected readonly titleId = `m-title-${Math.random().toString(36).slice(2, 8)}`;\n protected readonly descId = `m-desc-${Math.random().toString(36).slice(2, 8)}`;\n protected readonly describedById = computed(() => this.describedBy()?.trim() || (this.description() ? this.descId : null));\n\n private readonly el = inject(ElementRef);\n private readonly ren = inject(Renderer2);\n private readonly doc = inject(DOCUMENT);\n private readonly injector = inject(Injector);\n\n /**\n * Stacking layer: the position of this dialog in the OverlayStack when it opened (0 = nothing else open). Each layer is 2 z-index steps (backdrop 200 + 2n, dialog 201 + 2n), so a dialog opened\n * later - a confirm or another ui-modal opened from inside this one or from a ui-side-panel inside it - always paints ABOVE the one it was opened from, whatever the order of their host elements in <body>.\n */\n private readonly _layer = signal(0);\n protected readonly backdropZ = computed(() => 200 + 2 * this._layer());\n protected readonly dialogZ = computed(() => 201 + 2 * this._layer());\n\n private readonly _overlays = inject(OverlayStack);\n private _prevFocus: HTMLElement | null = null;\n private _scrollLocked = false;\n private _stopViewport: (() => void) | null = null;\n private _stopIframeKeys: (() => void) | null = null;\n private readonly _interaction = inject(LastInteraction);\n\n constructor() {\n this._interaction.acquire(this.doc);\n effect(() => {\n if (this.open()) {\n this._overlays.push(this);\n this._layer.set(this._overlays.indexOf(this));\n this._prevFocus = resolveTrigger(this.doc, this._interaction);\n this._stopIframeKeys?.();\n this._stopIframeKeys = bridgeIframeKeys(this.el.nativeElement, this.doc, {\n onEscape: e => this.onKeydown(e),\n isActive: () => this.open() && this._overlays.isTop(this),\n });\n this.doc.body.style.overflow = 'hidden';\n this._scrollLocked = true;\n this._stopViewport?.();\n this._stopViewport = trackVisualViewport(this.doc.defaultView, this.el.nativeElement);\n setTimeout(() => this._focusFirst(), 50);\n } else if (this._scrollLocked) {\n this._overlays.remove(this);\n // Another overlay (e.g. the side panel under a confirm modal) is still open — keep the page locked.\n if (this._overlays.isEmpty) this.doc.body.style.overflow = '';\n this._scrollLocked = false;\n this._stopViewport?.();\n this._stopViewport = null;\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n restoreFocus(untracked(() => this.returnFocusTo()), this._prevFocus);\n this._prevFocus = null;\n // a ui-side-panel projected into this dialog is no longer in the page once the dialog content is gone: after the render, close the ones the host left open (see OverlayStack.pruneDetached)\n afterNextRender(() => this._overlays.pruneDetached(), { injector: this.injector });\n }\n });\n }\n\n onKeydown(event: KeyboardEvent) {\n // Only the topmost open overlay handles Escape / Tab (see OverlayStack).\n if (!this.open() || !this._overlays.isTop(this)) return;\n if (event.key === 'Escape') {\n event.preventDefault();\n this.dismiss('escape');\n return;\n }\n if (event.key === 'Tab') {\n const focusable = this._focusable();\n if (!focusable.length) { event.preventDefault(); return; }\n const first = focusable[0];\n const last = focusable[focusable.length - 1];\n if (event.shiftKey) {\n const active = this.doc.activeElement;\n // Focus on the dialog container itself: Shift+Tab must wrap, not leave the modal.\n if (active === first || active === this.el.nativeElement.querySelector('.m-modal')) { event.preventDefault(); last.focus(); }\n } else {\n if (this.doc.activeElement === last) { event.preventDefault(); first.focus(); }\n }\n }\n }\n\n /** Emits `close` when the dialog may be dismissed this way (not closable / busy / backdrop or Escape switched off = nothing). */\n protected dismiss(via: 'backdrop' | 'escape' | 'close') {\n if (!this.closable() || this.busy()) return;\n if (via === 'backdrop' && !this.closeOnBackdrop()) return;\n if (via === 'escape' && !this.closeOnEscape()) return;\n this.close.emit();\n }\n\n /** A focus-guard sentinel received focus (Tab left the dialog's tab order, e.g. out of an iframe): send it back inside. */\n protected onGuardFocus(which: 'start' | 'end', event?: FocusEvent) {\n if (!this._overlays.isTop(this)) return;\n redirectFromGuard(which, this.el.nativeElement, this.el.nativeElement.querySelector('.m-modal'), event?.relatedTarget ?? null);\n }\n\n /** Initial focus — see `focusInitial` (autofocus target → first usable field → dialog container). */\n private _focusFirst() {\n if (!this._overlays.isTop(this)) return; // an overlay opened inside this one in the same pass (a panel) owns the focus\n focusInitial(\n this.el.nativeElement.querySelector('.m-modal'),\n this.el.nativeElement.querySelector('.m-body'),\n this.doc,\n );\n }\n\n private _focusable(): HTMLElement[] {\n return tabbables(this.el.nativeElement);\n }\n\n ngOnInit(): void {\n this.ren.appendChild(this.doc.body, this.el.nativeElement);\n }\n\n ngOnDestroy(): void {\n this._interaction.release();\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n this._stopViewport?.();\n this._stopViewport = null;\n this._overlays.remove(this);\n // Kiosk: destroyed while open (e.g. `<ui-modal [open]=\"true\">` inside an @if) - the opener still gets the focus back.\n if (this._scrollLocked && this.layout() === 'kiosk') {\n restoreFocus(this.returnFocusTo(), this._prevFocus);\n this._prevFocus = null;\n }\n if (this._scrollLocked && this._overlays.isEmpty) this.doc.body.style.overflow = '';\n const el = this.el.nativeElement as HTMLElement;\n if (el.parentNode === this.doc.body) {\n this.ren.removeChild(this.doc.body, el);\n }\n }\n}\n","import { Component, ChangeDetectionStrategy, ElementRef, Input, computed, effect, inject, input, signal } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink } from '@angular/router';\n\n@Component({\n selector: 'ui-button',\n standalone: true,\n imports: [NgTemplateOutlet, RouterLink],\n host: { '[class.ui-btn-block]': \"variant() === 'ghost-start'\" },\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <ng-template #content>\n @if (loading()) {\n <span class=\"spinner\"></span>\n }\n @if (shortLabel()) {\n <!-- shortLabel: the projected (long) text stays in the DOM, visually hidden while the short one shows, so the accessible name is always the long text; the short text is aria-hidden (never read twice). -->\n <span [class]=\"'btn-sl-long ' + _slClass()\"><ng-container [ngTemplateOutlet]=\"projected\" /></span>\n <span [class]=\"'btn-sl-short ' + _slClass()\" aria-hidden=\"true\">{{ shortLabel() }}</span>\n } @else {\n <ng-container [ngTemplateOutlet]=\"projected\" />\n }\n </ng-template>\n <ng-template #projected><ng-content /></ng-template>\n @if (routerLink() !== null) {\n <!-- A real link (middle-click, open in new tab, screen readers say \"link\"): same look as the button of this variant, underlined. -->\n @if (disabled() || loading()) {\n <!-- Like a disabled href: no href, so it cannot be clicked, middle-clicked or opened in a new tab. -->\n <span\n role=\"link\" aria-disabled=\"true\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></span>\n } @else {\n <a\n [routerLink]=\"routerLink()\"\n [queryParams]=\"queryParams()\"\n [fragment]=\"fragment() ?? undefined\"\n [state]=\"state() ?? undefined\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></a>\n }\n } @else if (_safeHref() !== null) {\n <!-- A plain link (mailto:, tel:, https://…): the browser handles it, so middle-click, copy-link and \"open in new tab\" work. -->\n @if (disabled() || loading()) {\n <span\n role=\"link\" aria-disabled=\"true\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></span>\n } @else {\n <a\n [attr.href]=\"_safeHref()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"_rel()\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></a>\n }\n } @else {\n <button\n [type]=\"type()\"\n [class]=\"'btn btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [class.active]=\"active()\"\n [disabled]=\"disabled() || loading()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-expanded]=\"ariaExpanded()\"\n [attr.aria-pressed]=\"ariaPressed()\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [style.background]=\"color() || null\"\n [style.border-color]=\"color() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></button>\n }\n `,\n styles: [`\n :host { display: inline-flex; }\n :host(.ui-btn-block) { display: flex; width: 100%; } /* ghost-start: the host itself is a full-width row */\n .btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n border: none; border-radius: 8px; font-weight: 600; cursor: pointer;\n font-family: inherit; transition: all 150ms ease; white-space: nowrap;\n &:disabled { opacity: 0.5; cursor: not-allowed; }\n &:focus-visible { outline: 2px solid var(--ui-focus, #3b82f6); outline-offset: 2px; }\n }\n .btn-full { width: 100%; }\n\n .btn-primary {\n background: var(--ui-accent, #2563EB); color: var(--ui-on-accent, #fff); border: 1px solid var(--ui-accent, #2563EB); /* #2563EB + white = 5.17:1 (WCAG AA text); apps that set --ui-accent keep their colour */\n &:hover:not(:disabled) { background: var(--ui-accent-hover, #1D4ED8); border-color: var(--ui-accent-hover, #1D4ED8); } /* #1D4ED8 + white = 6.70:1 */\n }\n .btn-secondary {\n background: #fff; color: #334155; border: 1px solid #e2e8f0;\n &:hover:not(:disabled) { background: #f8fafc; border-color: #cbd5e1; }\n }\n .btn-ghost {\n background: transparent; color: #64748b; border: 1px solid transparent;\n &:hover:not(:disabled) { background: #f8fafc; color: #334155; }\n }\n /* ghost-start: full-width row toggle, content aligned to the start (works with a heading inside the label) */\n .btn-ghost-start {\n display: flex; width: 100%; justify-content: flex-start; text-align: start; white-space: normal;\n background: transparent; color: #334155; border: 1px solid transparent;\n &:hover:not(:disabled) { background: #f1f5f9; color: #1e293b; }\n }\n .btn-danger {\n background: #dc2626; color: #fff; border: 1px solid #dc2626;\n &:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }\n }\n .btn-link {\n background: none; color: var(--ui-link, var(--ui-accent, #2563eb)); border: none; padding: 0; font-weight: 500; /* #2563eb = 5.17:1 on white, >= 4.75:1 on the light tints (WCAG AA text) */\n &:hover:not(:disabled) { color: var(--ui-link-hover, var(--ui-accent-hover, #1d4ed8)); }\n &.btn-xs, &.btn-sm, &.btn-md, &.btn-lg { padding: 0; }\n }\n .btn-anchor { text-decoration: none; }\n /* A link-button that is disabled or busy is not a link any more (no href): it only looks disabled */\n .btn[aria-disabled=\"true\"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }\n .btn-anchor.btn-link { text-decoration: underline; text-underline-offset: 2px; }\n .btn-warning {\n background: #f97316; color: #fff; border: 1px solid #f97316;\n &:hover:not(:disabled) { background: #ea6c0a; border-color: #ea6c0a; }\n }\n .btn-tab {\n background: none; color: #64748b; border: none; border-bottom: 2px solid transparent;\n border-radius: 0; font-weight: 600; font-size: 0.875rem; transition: all 0.15s;\n &:hover:not(:disabled) { background: none; color: #1e293b; }\n &.active { color: var(--ui-accent, #2563eb); border-bottom-color: var(--ui-accent, #2563eb); } /* text on white: #2563eb 5.17:1 (was #3b82f6 3.68:1) */\n &.btn-xs, &.btn-sm, &.btn-md, &.btn-lg { padding: 10px 20px; border-radius: 0; }\n }\n /* .btn.btn-icon outranks .btn-xs / -sm / -md / -lg, which come later and would give the 28px icon button text padding (an icon of width 0). */\n .btn.btn-icon {\n width: 28px; height: 28px; padding: 0; border-radius: 6px;\n background: transparent; border: none; color: #64748b;\n &:hover:not(:disabled) { background: #f1f5f9; color: #334155; }\n }\n .btn.btn-icon-danger {\n width: 28px; height: 28px; padding: 0; border-radius: 6px;\n background: transparent; border: none; color: #64748b;\n &:hover:not(:disabled) { background: #fee2e2; color: #dc2626; }\n }\n\n .btn-xs { padding: 3px 8px; font-size: 0.75rem; border-radius: 5px; gap: 4px; }\n .btn-sm { padding: 6px 12px; font-size: 0.8125rem; border-radius: 6px; }\n .btn-md { padding: 10px 16px; font-size: 0.875rem; }\n .btn-lg { padding: 14px 20px; font-size: 1rem; }\n\n /* Touch targets: >= 44px hit height on touch devices and phones (desktop unchanged). Link buttons are inline text and\n keep their line height; icon buttons keep their 28px look but get a 44px hit area through ::after. */\n @media (pointer: coarse), (max-width: 480px) {\n .btn-xs, .btn-sm, .btn-md, .btn-lg, .btn-tab { min-height: 44px; }\n .btn-link.btn-xs, .btn-link.btn-sm, .btn-link.btn-md, .btn-link.btn-lg { min-height: 0; }\n .btn-icon, .btn-icon-danger { position: relative; }\n .btn-icon::after, .btn-icon-danger::after { content: ''; position: absolute; inset: -8px; }\n }\n\n /* shortLabel: below the breakpoint the long (projected) text is visually hidden - still in the accessibility tree - and the short text shows */\n .btn-sl-short { display: none; }\n @media (max-width: 479.98px) { .btn-sl-sm.btn-sl-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .btn-sl-sm.btn-sl-short { display: inline; } }\n @media (max-width: 767.98px) { .btn-sl-md.btn-sl-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .btn-sl-md.btn-sl-short { display: inline; } }\n @media (max-width: 1023.98px) { .btn-sl-lg.btn-sl-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .btn-sl-lg.btn-sl-short { display: inline; } }\n /* numeric shortBelow: the component tracks matchMedia and sets .btn-sl-narrow */\n .btn-sl-long.btn-sl-narrow { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }\n .btn-sl-short.btn-sl-narrow { display: inline; }\n\n .spinner {\n width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);\n border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite;\n }\n @keyframes spin { to { transform: rotate(360deg); } }\n\n /* Reduced motion: no entrance / shimmer animation (a loading spinner stays, slower). */\n @media (prefers-reduced-motion: reduce) {\n .spinner { animation-duration: 2s; } /* a loading indicator stays, but turns slowly */\n }\n `],\n})\nexport class ButtonComponent {\n /**\n * `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent\n * background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.\n */\n readonly variant = input<'primary' | 'secondary' | 'ghost' | 'ghost-start' | 'danger' | 'link' | 'warning' | 'tab' | 'icon' | 'icon-danger'>('primary');\n /** Renders an anchor to this route instead of a button (use with `variant=\"link\"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role=\"link\" aria-disabled>` with no href (like `href`). */\n readonly routerLink = input<string | readonly unknown[] | null>(null);\n /** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */\n readonly queryParams = input<Record<string, unknown> | null>(null);\n /** Fragment (hash) of the `routerLink`, without the `#` (e.g. `'billing'` -> `/settings#billing`). */\n readonly fragment = input<string | null>(null);\n /**\n * Router navigation state of the `routerLink` (the `history.state` of the page it opens), e.g. `{ returnTo: '/compliance' }` so the\n * target page can offer a \"Back\" link. Ignored without `routerLink`. Middle-click / open-in-new-tab open the plain href, which carries\n * no state (the target page then falls back to its default back target).\n */\n readonly state = input<Record<string, unknown> | null>(null);\n /**\n * Renders a plain `<a href>` instead of a button: for `mailto:`, `tel:`, `sms:`, `https://…` and relative URLs (use with\n * `variant=\"link\"` for an inline text link). The browser handles the click, so middle-click, copy-link and open-in-new-tab work and\n * the host needs no click handler. Other schemes (`javascript:`, `data:`, …) are never rendered as a link: the component stays a\n * button. `routerLink` wins when both are set. While `disabled` or `loading` the link has no `href` (it only looks disabled).\n */\n readonly href = input<string | null>(null);\n /** Where to open the `href` (`_blank` = a new tab). */\n readonly target = input<'_blank' | '_self' | '_parent' | '_top' | null>(null);\n /** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */\n readonly rel = input<string | null>(null);\n /** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */\n protected readonly _safeHref = computed((): string | null => {\n const raw = this.href();\n if (raw == null) return null;\n const value = raw.trim();\n if (!value) return null;\n // Browsers ignore control characters and spaces inside a scheme (\"java\\nscript:\"), so check the normalised text\n const normalised = value.replace(/[\\u0000-\\u0020]/g, '');\n const scheme = /^([a-z][a-z0-9+.\\-]*):/i.exec(normalised);\n return !scheme || ['http', 'https', 'mailto', 'tel', 'sms'].includes(scheme[1].toLowerCase()) ? value : null;\n });\n protected readonly _rel = computed((): string | null => {\n const rel = (this.rel() ?? '').trim();\n if (this.target() !== '_blank') return rel || null;\n const parts = new Set(rel.split(/\\s+/).filter(Boolean));\n parts.add('noopener'); parts.add('noreferrer');\n return [...parts].join(' ');\n });\n /**\n * A shorter text for narrow screens (e.g. content \"Previous\", `shortLabel=\"Back\"`). Below `shortBelow` the button shows this text instead of\n * its content. Accessibility: the projected (long) content stays in the page, only visually hidden, so the accessible name is always the\n * long text - the short text is `aria-hidden` and never read twice; an explicit `ariaLabel` still wins. Empty (default) = the content is\n * rendered exactly as before. Meant for text content (icons inside the content are hidden together with it).\n */\n readonly shortLabel = input('');\n /**\n * Where `shortLabel` applies: a library token `'sm'` (480px) / `'md'` (768px) / `'lg'` (1024px), or a pixel number (e.g. `640`). The short text\n * shows when the viewport is narrower than this; from the width itself the long text shows (`640`: >= 640px long, < 640px short, like a\n * `min-width: 640px` switch). Tokens are pure CSS; a number is tracked with `matchMedia`. Default `'md'`.\n */\n readonly shortBelow = input<'sm' | 'md' | 'lg' | number>('md');\n /** Classes of the two label spans: the token class, or `btn-sl-narrow` while a pixel breakpoint is active. */\n protected readonly _slClass = computed((): string => {\n const below = this.shortBelow();\n if (typeof below === 'number') return this._narrow() ? 'btn-sl-num btn-sl-narrow' : 'btn-sl-num';\n return 'btn-sl-' + (below === 'sm' || below === 'lg' ? below : 'md');\n });\n private readonly _narrow = signal(false);\n readonly color = input<string | undefined>(undefined);\n readonly active = input(false);\n readonly size = input<'xs' | 'sm' | 'md' | 'lg'>('md');\n readonly type = input<'button' | 'submit' | 'reset'>('button');\n readonly disabled = input(false);\n readonly loading = input(false);\n readonly fullWidth = input(false);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaExpanded = input<boolean | undefined>(undefined);\n readonly ariaPressed = input<boolean | undefined>(undefined);\n /** Id of the element that describes this button (an error or hint rendered next to it), e.g. `<ui-error errorId=\"x\">`. Absent when empty. */\n readonly ariaDescribedBy = input<string | undefined>(undefined);\n private readonly _hostEl = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /**\n * Library source 2026-11-04, not yet published. Puts the keyboard focus on the inner native control (the `<button>`, or the `<a>` of a\n * `routerLink` / `href` button): `buttonRef.focus()` via `viewChild(ButtonComponent)`. Same options as the DOM method (`{ preventScroll: true }`).\n * Safe at any time: before the view exists, or while the button is `disabled` / `loading` (a disabled `<button>` cannot take focus; the\n * disabled-link `<span>` is not focusable), it does nothing and never throws.\n */\n focus(options?: FocusOptions): void {\n this._hostEl.nativeElement.querySelector<HTMLElement>('button.btn, a.btn')?.focus(options);\n }\n\n constructor() {\n // Numeric shortBelow: follow the viewport. Tokens need no script (CSS media queries).\n effect((onCleanup) => {\n const below = this.shortBelow();\n if (!this.shortLabel() || typeof below !== 'number' || !Number.isFinite(below) || typeof window === 'undefined' || typeof window.matchMedia !== 'function') {\n this._narrow.set(false);\n return;\n }\n const mq = window.matchMedia(`(max-width: ${below - 0.02}px)`);\n const update = () => this._narrow.set(mq.matches);\n update();\n mq.addEventListener('change', update);\n onCleanup(() => mq.removeEventListener('change', update));\n });\n }\n\n // Content-projection slot markers used by ui-modal — declared here so Angular's\n // template type-checker doesn't emit unknown-attribute warnings.\n @Input('modal-footer-left') _footerLeft?: string;\n @Input('modal-footer-right') _footerRight?: string;\n}\n","import { Component, ChangeDetectionStrategy, inject, computed, OnInit, OnDestroy } from '@angular/core';\nimport { ConfirmService } from './confirm.service';\nimport { ModalComponent } from '../modal/modal.component';\nimport { ButtonComponent } from '../button/button.component';\nimport { UiLabelsService } from '../i18n/ui-labels';\n\n// Test ids (library source 2026-11-04 for `confirm-dialog`, not yet published): `confirm-modal` is on the <ui-modal> HOST element (zero-size,\n// toBeVisible() is false for it - keep using it for existing selectors / toHaveCount); `confirm-dialog` is on the real dialog element\n// (role=\"dialog\", visible only while the confirm is open) - use it for toBeVisible() / toBeHidden(). Inside: confirm-message,\n// confirm-details, confirm-cancel, confirm-accept.\n\n// Only one outlet renders the modal (preventing double-backdrop stacking when e.g. app-shell and\n// data-table both provide one). The primary outlet is re-evaluated whenever outlets come and go —\n// see ConfirmService.primaryOutlet — rather than fixed at creation time.\n\n@Component({\n selector: 'ui-confirm-outlet',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ModalComponent, ButtonComponent],\n template: `\n @if (_isPrimary() && svc.active()) {\n <ui-modal\n data-testid=\"confirm-modal\"\n dialogTestId=\"confirm-dialog\"\n [open]=\"svc.open()\"\n [title]=\"svc.active()!.title\"\n maxWidth=\"420px\"\n [describedBy]=\"_describedBy()\"\n (close)=\"svc.dismiss(false)\">\n <p class=\"confirm-msg\" data-testid=\"confirm-message\" [id]=\"msgId\">{{ svc.active()!.message }}</p>\n @if (svc.active()!.details.length) {\n <ul class=\"confirm-details\" data-testid=\"confirm-details\" [attr.aria-label]=\"labels.t('confirm.whatWillHappen')\" [id]=\"detailsId\">\n @for (d of svc.active()!.details; track $index) { <li>{{ d }}</li> }\n </ul>\n }\n <ui-button modal-footer-left data-testid=\"confirm-cancel\" variant=\"secondary\" size=\"sm\" (click)=\"svc.dismiss(false)\">\n {{ svc.active()!.cancelLabel }}\n </ui-button>\n <ui-button\n modal-footer-right\n data-testid=\"confirm-accept\"\n [variant]=\"svc.active()!.variant\"\n size=\"sm\"\n (click)=\"svc.dismiss(true)\">\n {{ svc.active()!.confirmLabel }}\n </ui-button>\n </ui-modal>\n }\n `,\n styles: [`\n .confirm-msg { margin: 0; font-size: 0.875rem; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; white-space: pre-line; }\n .confirm-details { margin: 10px 0 0; padding-left: 20px; font-size: 0.875rem; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; }\n .confirm-details li + li { margin-top: 4px; }\n `],\n})\nexport class ConfirmOutletComponent implements OnInit, OnDestroy {\n protected readonly labels = inject(UiLabelsService);\n protected readonly svc = inject(ConfirmService);\n protected readonly _isPrimary = computed(() => this.svc.primaryOutlet() === this);\n /** Unique per outlet: the dialog is described by the message and, when there is one, the \"what will happen\" list (aria-describedby). */\n private readonly _uid = Math.random().toString(36).slice(2, 8);\n protected readonly msgId = `ui-confirm-msg-${this._uid}`;\n protected readonly detailsId = `ui-confirm-details-${this._uid}`;\n protected readonly _describedBy = computed(() => this.svc.active()?.details.length ? `${this.msgId} ${this.detailsId}` : this.msgId);\n\n ngOnInit(): void {\n this.svc.registerOutlet(this);\n }\n\n ngOnDestroy(): void {\n this.svc.unregisterOutlet(this);\n }\n}\n","import { DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport { ApplicationRef, ComponentRef, EnvironmentInjector, Injectable, OnDestroy, PLATFORM_ID, computed, createComponent, inject, signal } from '@angular/core';\nimport { ConfirmOutletComponent } from './confirm-outlet.component';\nimport { UiLabelsService } from '../i18n/ui-labels';\n\nexport interface ActiveConfirm {\n title: string;\n message: string;\n confirmLabel: string;\n cancelLabel: string;\n variant: 'danger' | 'primary' | 'warning';\n /** Optional bullet list rendered under the message (plain text). */\n details: string[];\n}\n\n@Injectable({ providedIn: 'root' })\nexport class ConfirmService implements OnDestroy {\n private readonly _labels = inject(UiLabelsService);\n private readonly _appRef = inject(ApplicationRef);\n private readonly _envInjector = inject(EnvironmentInjector);\n private readonly _doc = inject(DOCUMENT);\n private readonly _browser = isPlatformBrowser(inject(PLATFORM_ID));\n private _open = signal(false);\n private _active = signal<ActiveConfirm | null>(null);\n private _resolve: ((v: boolean) => void) | null = null;\n\n readonly open = this._open.asReadonly();\n readonly active = this._active.asReadonly();\n\n /**\n * Live <ui-confirm-outlet> instances, oldest first. Every ui-data-table renders an outlet, so\n * several can exist at once (e.g. during a route change the next page's table is created before\n * the previous page's is destroyed). Only the oldest live outlet renders the dialog; when it is\n * destroyed the next one takes over, so a confirm always has somewhere to render.\n */\n private readonly _outlets = signal<readonly object[]>([]);\n readonly primaryOutlet = computed(() => this._outlets()[0] ?? null);\n\n /**\n * The outlet this service created itself because `confirm()` was called while no `<ui-confirm-outlet>` existed (a page without a\n * `ui-data-table` and without a hand-placed outlet). Null while a template-placed outlet exists, before the first such confirm, and\n * on the server. Library source 2026-11-04, not yet published.\n */\n private _auto: ComponentRef<ConfirmOutletComponent> | null = null;\n /** True when a template-placed outlet appeared while the auto outlet's dialog was open: the auto outlet is removed once that dialog closes. */\n private _retireAutoOnDismiss = false;\n\n registerOutlet(outlet: object): void {\n this._outlets.update(list => [...list, outlet]);\n // A template-placed outlet always wins: drop the auto outlet (right away, or after the open dialog is answered) so only one outlet remains.\n if (this._auto && outlet !== this._auto.instance) {\n if (this._open()) this._retireAutoOnDismiss = true; else this._destroyAuto();\n }\n }\n\n unregisterOutlet(outlet: object): void {\n this._outlets.update(list => list.filter(o => o !== outlet));\n }\n\n ngOnDestroy(): void {\n this._destroyAuto();\n }\n\n /**\n * Makes sure some outlet exists to render the dialog. Template-placed outlets (data-table, app-shell, a hand-placed\n * `<ui-confirm-outlet />`) are used as they are; only when there is none is one outlet created and attached to `document.body`\n * (reused for later confirms, removed when the service is destroyed or a template-placed outlet appears). Does nothing without a DOM (SSR).\n */\n private _ensureOutlet(): void {\n if (this._outlets().length > 0) return;\n if (!this._browser) return;\n const body = this._doc.body;\n const ref = createComponent(ConfirmOutletComponent, { environmentInjector: this._envInjector });\n this._appRef.attachView(ref.hostView);\n body.appendChild(ref.location.nativeElement);\n this._auto = ref;\n ref.changeDetectorRef.detectChanges(); // runs ngOnInit, which registers the outlet\n }\n\n private _destroyAuto(): void {\n const ref = this._auto;\n if (!ref) return;\n this._auto = null;\n this._retireAutoOnDismiss = false;\n const el = ref.location.nativeElement as HTMLElement;\n ref.destroy();\n el.remove();\n }\n\n confirm(config: {\n title: string;\n message: string;\n confirmLabel?: string;\n cancelLabel?: string;\n variant?: 'danger' | 'primary' | 'warning';\n details?: string[];\n }): Promise<boolean> {\n return new Promise(resolve => {\n this._resolve = resolve;\n this._active.set({\n title: config.title,\n message: config.message,\n confirmLabel: config.confirmLabel ?? this._labels.t('common.confirm'),\n cancelLabel: config.cancelLabel ?? this._labels.t('common.cancel'),\n variant: config.variant ?? 'danger',\n details: config.details ?? [],\n });\n this._open.set(true);\n this._ensureOutlet();\n });\n }\n\n dismiss(confirmed: boolean): void {\n this._open.set(false);\n const res = this._resolve;\n this._resolve = null;\n this._active.set(null);\n res?.(confirmed);\n if (this._retireAutoOnDismiss) this._destroyAuto();\n }\n}\n","import { forwardRef, Component, input, output, ChangeDetectionStrategy, inject, ElementRef, effect, OnDestroy, untracked, signal, viewChild, computed, Injector, afterNextRender } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { OverlayStack } from '../utils/overlay-stack';\nimport { focusInitial, tabbables, redirectFromGuard, bridgeIframeKeys } from '../utils/overlay-focus';\nimport { LastInteraction, resolveTrigger, restoreFocus } from '../utils/return-focus';\nimport { trackVisualViewport } from '../utils/visual-viewport';\nimport { UiLabelsService } from '../i18n/ui-labels';\nimport { UI_FIELD_REVEAL_HOST } from '../utils/field-validation';\n\n@Component({\n selector: 'ui-side-panel',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '(document:keydown)': 'onKeydown($event)' },\n // the fields projected into this overlay forget that they were blurred whenever it opens or closes (see UI_FIELD_REVEAL_HOST)\n providers: [{ provide: UI_FIELD_REVEAL_HOST, useExisting: forwardRef(() => SidePanelComponent) }],\n template: `\n @if (open()) {\n <div class=\"sp-backdrop\" (click)=\"closed.emit()\"></div>\n <div\n class=\"sp-panel\"\n [class.sp-wide]=\"wide()\"\n [class.sp-extra-wide]=\"extraWide()\"\n role=\"dialog\"\n aria-modal=\"true\"\n tabindex=\"-1\"\n [attr.aria-labelledby]=\"titleId\">\n <span class=\"sp-focus-guard\" data-ui-focus-guard=\"start\" tabindex=\"0\" (focus)=\"onGuardFocus('start', $event)\"></span>\n\n <!-- Header -->\n <div class=\"sp-header\">\n <div class=\"sp-header-text\">\n <h2 class=\"sp-title\" data-testid=\"side-panel-title\" [id]=\"titleId\">{{ title() }}</h2>\n @if (subtitle()) { <p class=\"sp-subtitle\" data-testid=\"side-panel-subtitle\">{{ subtitle() }}</p> }\n </div>\n <div class=\"sp-header-end\"><ng-content select=\"[panel-header-end]\" /></div>\n <button class=\"sp-close\" type=\"button\" (click)=\"closed.emit()\" [attr.aria-label]=\"labels.t('sidePanel.dismissPanel')\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/>\n </svg>\n </button>\n </div>\n\n <!-- Body -->\n <div\n class=\"sp-body\"\n #spBody\n [attr.tabindex]=\"bodyScrollable() ? 0 : null\"\n [attr.role]=\"bodyScrollable() ? 'group' : null\"\n [attr.aria-labelledby]=\"bodyScrollable() ? titleId : null\">\n <ng-content />\n </div>\n\n <!-- Footer: cancel always left, primary always right -->\n @if (cancelLabel() || primaryLabel()) {\n <div class=\"sp-footer\">\n @if (cancelLabel()) {\n <button class=\"sp-btn sp-btn-cancel\" type=\"button\" [attr.data-testid]=\"cancelTestId() || null\" (click)=\"closed.emit()\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n {{ cancelLabel() }}\n </button>\n }\n <div class=\"sp-footer-extra\"><ng-content select=\"[panel-footer-extra]\" /></div>\n @if (primaryLabel()) {\n <button\n class=\"sp-btn\"\n [attr.data-testid]=\"primaryTestId() || null\"\n [class.sp-btn-primary]=\"primaryVariant() === 'primary'\"\n [class.sp-btn-danger]=\"primaryVariant() === 'danger'\"\n [class.sp-btn-warning]=\"primaryVariant() === 'warning'\"\n type=\"button\"\n [disabled]=\"primaryDisabled() || primaryLoading()\"\n (click)=\"primaryClick.emit()\">\n @if (primaryLoading()) {\n <span class=\"sp-spinner\" aria-hidden=\"true\"></span>\n } @else if (primaryVariant() === 'danger') {\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"3 6 5 6 21 6\"/><path d=\"M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6\"/><path d=\"M10 11v6M14 11v6\"/><path d=\"M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2\"/></svg>\n } @else if (primaryVariant() === 'warning') {\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"/><polygon points=\"22 2 15 22 11 13 2 9 22 2\"/></svg>\n } @else {\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"20 6 9 17 4 12\"/></svg>\n }\n {{ primaryLabel() }}\n </button>\n }\n </div>\n }\n <span class=\"sp-focus-guard\" data-ui-focus-guard=\"end\" tabindex=\"0\" (focus)=\"onGuardFocus('end', $event)\"></span>\n </div>\n }\n `,\n styles: [`\n .sp-backdrop {\n position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 90;\n animation: sp-fade 200ms ease;\n }\n .sp-panel {\n position: fixed; top: 0; right: 0; bottom: var(--ui-kb, 0px); width: 480px; max-width: 100vw;\n max-height: 100vh;\n max-height: var(--ui-vvh, 100dvh);\n background: #fff; z-index: 100; box-shadow: -4px 0 20px rgba(0,0,0,0.1);\n display: flex; flex-direction: column; animation: sp-slide 250ms ease;\n }\n .sp-panel:focus { outline: none; }\n /* Opened from inside a ui-modal: nothing is moved. ui-modal is centred without a transform, so this fixed panel is positioned against the viewport (not the dialog) and is not clipped by the dialog body;\n it sits inside the dialog's stacking context (201), so it paints over the dialog content, and a dialog opened later gets a higher layer (ui-modal z-index 200 + 2n) and paints over the panel. */\n /* Invisible Tab-order sentinels at the start / end of the panel; they only redirect focus back inside. */\n .sp-focus-guard { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; outline: none; }\n .sp-wide { width: 620px; }\n .sp-extra-wide { width: 760px; }\n\n /* ── Header ─── */\n .sp-header {\n display: flex; justify-content: space-between; align-items: center;\n padding: 24px 24px 20px; gap: 12px; flex-shrink: 0;\n background: linear-gradient(135deg, #1e293b 0%, #334155 100%);\n }\n .sp-header-text { flex: 1; min-width: 0; }\n /* Optional [panel-header-end] slot: actions (a Preview button) in the top right of the header, left of the close button; removed from the layout while nothing is projected. */\n .sp-header-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }\n .sp-header-end:empty { display: none; }\n .sp-title { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0; overflow-wrap: anywhere; } /* a long title wraps onto more lines (never clipped or pushing the close button out); anywhere also breaks one very long word */\n .sp-subtitle { font-size: 0.8125rem; color: #94a3b8; margin: 4px 0 0; }\n .sp-close {\n display: flex; align-items: center; justify-content: center; flex-shrink: 0;\n width: 36px; height: 36px; border-radius: 8px;\n border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1);\n cursor: pointer; color: #cbd5e1; transition: background 0.15s, border-color 0.15s;\n &:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); color: #fff; }\n &:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n }\n\n /* ── Body ─── */\n .sp-body { padding: 20px 24px 24px; flex: 1; overflow-y: auto; overflow-x: hidden; }\n /* Keyboard focus ring of a body that overflows (it is a Tab stop only then, so arrow keys / Space / PageDown can scroll it). */\n .sp-body:focus-visible { outline: 2px solid #3b82f6; outline-offset: -2px; }\n\n /* ── Footer ─── */\n .sp-footer {\n display: flex; align-items: center; justify-content: space-between;\n flex-shrink: 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));\n border-top: 1px solid #e2e8f0; background: #f8fafc;\n }\n /* Optional [panel-footer-extra] slot between Cancel and the primary button; removed from the layout while nothing is projected. */\n .sp-footer-extra { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 auto; margin: 0 8px; min-width: 0; }\n .sp-footer-extra:empty { display: none; }\n /* The footer buttons use exactly the ui-button look (md size): same padding, radius, weight, colors, focus ring and spinner. */\n .sp-btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n padding: 10px 16px; border-radius: 8px; font-size: 0.875rem;\n font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap;\n transition: all 150ms ease;\n &:disabled { opacity: 0.5; cursor: not-allowed; }\n &:focus-visible { outline: 2px solid var(--ui-focus, #3b82f6); outline-offset: 2px; }\n }\n .sp-btn-cancel {\n background: #fff; border: 1px solid #e2e8f0; color: #334155;\n &:hover:not(:disabled) { background: #f8fafc; border-color: #cbd5e1; }\n }\n .sp-btn-primary {\n background: var(--ui-accent, #2563eb); border: 1px solid var(--ui-accent, #2563eb); color: var(--ui-on-accent, #fff);\n &:hover:not(:disabled) { background: var(--ui-accent-hover, #1d4ed8); border-color: var(--ui-accent-hover, #1d4ed8); }\n }\n .sp-btn-danger {\n background: #dc2626; border: 1px solid #dc2626; color: #fff;\n &:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }\n }\n .sp-btn-warning {\n background: #f97316; border: 1px solid #f97316; color: #fff;\n &:hover:not(:disabled) { background: #ea6c0a; border-color: #ea6c0a; }\n }\n .sp-spinner {\n display: inline-block; width: 16px; height: 16px; border-radius: 50%;\n border: 2px solid rgba(255,255,255,0.3); border-top-color: currentColor;\n animation: sp-spin 0.6s linear infinite; flex-shrink: 0;\n }\n\n /* ── Responsive ─── */\n @media (max-width: 768px) {\n .sp-panel, .sp-wide, .sp-extra-wide { width: 100vw; }\n }\n @media (max-width: 480px) {\n .sp-panel, .sp-wide, .sp-extra-wide {\n top: auto; bottom: 0; left: 0; right: 0;\n width: 100vw; max-height: 90vh;\n max-height: min(90dvh, var(--ui-vvh, 100dvh));\n border-radius: 16px 16px 0 0;\n box-shadow: 0 -4px 24px rgba(0,0,0,0.15);\n animation: sp-up 250ms ease;\n }\n .sp-header { padding: 16px 16px 14px; }\n .sp-body { padding: 16px; }\n .sp-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }\n /* The footer buttons stack full width, the primary action on top (column-reverse: the primary button is last in the DOM, the Cancel button first),\n each button may wrap its text and nothing can run past the screen edge. The [panel-footer-extra] slot sits between them and may wrap too. */\n .sp-footer { flex-direction: column-reverse; align-items: stretch; gap: 8px; }\n .sp-footer .sp-btn { width: 100%; white-space: normal; }\n .sp-footer .sp-footer-extra { margin: 0; flex-wrap: wrap; }\n }\n\n /* Touch targets: >= 44px on touch devices and phones (desktop unchanged). The close button's own box is 44 x 44 (a real box, so any measurement sees it); the 36px look (border + tint)\n moves to a ::before inset 4px and the -4px margin keeps the header layout of the 36px button. Footer buttons simply grow. */\n @media (pointer: coarse), (max-width: 480px) {\n .sp-close { position: relative; box-sizing: border-box; width: 44px; height: 44px; margin: -4px; border: 0; background: none; }\n .sp-close:hover { background: none; }\n .sp-close::before { content: ''; position: absolute; inset: 4px; box-sizing: border-box; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(255,255,255,0.1); pointer-events: none; transition: background 0.15s, border-color 0.15s; }\n .sp-close:hover::before { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }\n .sp-close > svg { position: relative; }\n .sp-btn { min-height: 44px; justify-content: center; }\n }\n\n @keyframes sp-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }\n @keyframes sp-up { from { transform: translateY(100%); } to { transform: translateY(0); } }\n @keyframes sp-fade { from { opacity: 0; } to { opacity: 1; } }\n @keyframes sp-spin { to { transform: rotate(360deg); } }\n\n /* Reduced motion: no entrance / shimmer animation (a loading spinner stays, slower). */\n @media (prefers-reduced-motion: reduce) {\n .sp-backdrop, .sp-panel, .sp-wide, .sp-extra-wide { animation: none; } /* appears at once: no fade / slide */\n .sp-spinner { animation-duration: 2s; }\n }\n `],\n})\nexport class SidePanelComponent implements OnDestroy {\n\n protected readonly labels = inject(UiLabelsService);\n readonly open = input(false);\n readonly title = input.required<string>();\n readonly subtitle = input('');\n readonly wide = input(false);\n readonly extraWide = input(false);\n /** Left-aligned cancel button. Default 'Cancel'. Set to '' to hide. */\n readonly cancelLabelInput = input<string | null>(null, { alias: 'cancelLabel' });\n readonly cancelLabel = computed(() => this.cancelLabelInput() ?? this.labels.t('sidePanel.cancelLabel'));\n /** Right-aligned primary action button label. Empty string = hidden. */\n readonly primaryLabel = input('');\n readonly primaryVariant = input<'primary' | 'danger' | 'warning'>('primary');\n readonly primaryLoading = input(false);\n readonly primaryDisabled = input(false);\n /** `data-testid` of the Cancel button; none when empty (default). */\n readonly cancelTestId = input('');\n /** `data-testid` of the primary footer button; none when empty (default). */\n readonly primaryTestId = input('');\n\n /**\n * Element that gets focus back when the panel closes. Takes precedence over the element that was focused (or last\n * clicked / activated) when it opened; used only if it is still in the page and visible. Default null = the opener.\n */\n readonly returnFocusTo = input<HTMLElement | null>(null);\n\n readonly closed = output<void>();\n readonly primaryClick = output<void>();\n\n protected readonly titleId = `sp-title-${Math.random().toString(36).slice(2, 8)}`;\n\n /**\n * (library source 2026-11-04, not yet published) True while the scrollable body (`.sp-body`) is taller than the space it has.\n * Only then the body is a keyboard Tab stop (`tabindex=\"0\"`, `role=\"group\"`, named by the panel title via `aria-labelledby`)\n * so keyboard users can scroll it with the arrow keys / Space / PageUp / PageDown. While the content fits, the body carries\n * none of those attributes (unchanged markup). Kept current by a ResizeObserver + MutationObserver on the body.\n */\n readonly bodyScrollable = signal(false);\n private readonly _bodyRef = viewChild<ElementRef<HTMLElement>>('spBody');\n private _bodyObservers: { ro: ResizeObserver | null; mo: MutationObserver | null } | null = null;\n\n private readonly _el = inject(ElementRef);\n private readonly _doc = inject(DOCUMENT);\n private readonly _overlays = inject(OverlayStack);\n private _prevFocus: HTMLElement | null = null;\n private _scrollLocked = false;\n private _stopViewport: (() => void) | null = null;\n private _stopIframeKeys: (() => void) | null = null;\n private readonly _interaction = inject(LastInteraction);\n private readonly _injector = inject(Injector);\n\n constructor() {\n this._interaction.acquire(this._doc);\n effect(() => {\n const body = this._bodyRef()?.nativeElement ?? null;\n untracked(() => this._watchBody(body));\n });\n effect(() => {\n if (this.open()) {\n this._overlays.push(this);\n // Opened in the same render pass as the ui-modal it sits in: the modal may have been pushed after this panel. After the render, a panel that is inside a modal moves back on top (Escape / Tab / focus belong to it).\n afterNextRender(() => {\n if (this.open() && !this._overlays.isTop(this) && (this._el.nativeElement as HTMLElement).closest('.m-modal')) { this._overlays.push(this); }\n }, { injector: this._injector });\n this._prevFocus = resolveTrigger(this._doc, this._interaction);\n this._stopIframeKeys?.();\n this._stopIframeKeys = bridgeIframeKeys(this._el.nativeElement, this._doc, {\n onEscape: e => this.onKeydown(e),\n isActive: () => this.open() && this._overlays.isTop(this),\n });\n this._doc.body.style.overflow = 'hidden';\n this._scrollLocked = true;\n this._stopViewport?.();\n this._stopViewport = trackVisualViewport(this._doc.defaultView, this._el.nativeElement);\n setTimeout(() => this._focusFirst(), 50);\n } else if (this._scrollLocked) {\n this._overlays.remove(this);\n // Another overlay (e.g. the side panel under a confirm modal) is still open — keep the page locked.\n if (this._overlays.isEmpty) this._doc.body.style.overflow = '';\n this._scrollLocked = false;\n this._stopViewport?.();\n this._stopViewport = null;\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n restoreFocus(untracked(() => this.returnFocusTo()), this._prevFocus);\n this._prevFocus = null;\n }\n });\n }\n\n /** `OverlayStack.pruneDetached`: this open panel's host is no longer in the page (the `ui-modal` it was projected into closed and removed its content). */\n isDetached(): boolean {\n return this.open() && this._scrollLocked && !(this._el.nativeElement as HTMLElement).isConnected;\n }\n\n /** The panel's modal closed under it: release the stack place and the scroll lock (the page must not stay locked) and tell the host, which resets its own open state. */\n onOrphaned(): void {\n if (!this._scrollLocked) return;\n this._overlays.remove(this);\n if (this._overlays.isEmpty) this._doc.body.style.overflow = '';\n this._scrollLocked = false;\n this._stopViewport?.();\n this._stopViewport = null;\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n this._prevFocus = null;\n this.closed.emit();\n }\n\n /**\n * Re-measures the body now (`scrollHeight` vs `clientHeight`, 1px tolerance for sub-pixel rounding) and updates\n * `bodyScrollable`. Called by the observers; also usable by a host that changes the body content in a way no observer sees.\n */\n refreshScrollable(): void {\n const el = this._bodyRef()?.nativeElement;\n this.bodyScrollable.set(!!el && el.scrollHeight - el.clientHeight > 1);\n }\n\n /** Starts observing the (new) body element, or stops observing when the body is gone (panel closed). */\n private _watchBody(body: HTMLElement | null) {\n this._stopWatchingBody();\n if (!body) { this.bodyScrollable.set(false); return; }\n this.refreshScrollable();\n const ro = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(() => this.refreshScrollable());\n const mo = typeof MutationObserver === 'undefined' ? null : new MutationObserver(() => {\n // content added / removed: observe the new direct children too (a child growing does not resize the body box)\n if (ro) for (const child of Array.from(body.children)) ro.observe(child);\n this.refreshScrollable();\n });\n if (ro) { ro.observe(body); for (const child of Array.from(body.children)) ro.observe(child); }\n mo?.observe(body, { childList: true, subtree: true, characterData: true });\n this._bodyObservers = { ro, mo };\n }\n\n private _stopWatchingBody() {\n this._bodyObservers?.ro?.disconnect();\n this._bodyObservers?.mo?.disconnect();\n this._bodyObservers = null;\n }\n\n onKeydown(event: KeyboardEvent) {\n // Only the topmost open overlay handles Escape / Tab (see OverlayStack).\n if (!this.open() || !this._overlays.isTop(this)) return;\n if (event.key === 'Escape') {\n if (event.defaultPrevented) return; // a control inside (an open menu / dropdown) already used this Escape\n event.preventDefault();\n this.closed.emit();\n return;\n }\n if (event.key === 'Tab') {\n const focusable = this._focusable();\n if (!focusable.length) { event.preventDefault(); return; }\n const first = focusable[0];\n const last = focusable[focusable.length - 1];\n if (event.shiftKey) {\n const active = this._doc.activeElement;\n // Focus on the dialog container itself: Shift+Tab must wrap, not leave the panel.\n if (active === first || active === this._el.nativeElement.querySelector('.sp-panel')) { event.preventDefault(); last.focus(); }\n } else {\n if (this._doc.activeElement === last) { event.preventDefault(); first.focus(); }\n }\n }\n }\n\n /** A focus-guard sentinel received focus (Tab left the panel's tab order, e.g. out of an iframe): send it back inside. */\n protected onGuardFocus(which: 'start' | 'end', event?: FocusEvent) {\n if (!this._overlays.isTop(this)) return;\n redirectFromGuard(which, this._el.nativeElement, this._el.nativeElement.querySelector('.sp-panel'), event?.relatedTarget ?? null);\n }\n\n /** Initial focus — see `focusInitial` (autofocus target → first usable field → dialog container). */\n private _focusFirst() {\n if (!this._overlays.isTop(this)) return;\n focusInitial(\n this._el.nativeElement.querySelector('.sp-panel'),\n this._el.nativeElement.querySelector('.sp-body'),\n this._doc,\n );\n }\n\n private _focusable(): HTMLElement[] {\n return tabbables(this._el.nativeElement);\n }\n\n ngOnDestroy() {\n this._stopWatchingBody();\n this._interaction.release();\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n this._stopViewport?.();\n this._stopViewport = null;\n this._overlays.remove(this);\n if (this._scrollLocked && this._overlays.isEmpty) this._doc.body.style.overflow = '';\n }\n}\n","import { InjectionToken } from '@angular/core';\n\n/** Where a note change saved on the device is in the offline layer. */\nexport type QueuedNoteState = 'waiting' | 'sending' | 'failed' | 'conflict';\n\n/** One note change that was saved while offline and has not been delivered yet. */\nexport interface QueuedNote {\n /** The id of the saved change (the offline layer's row), unique per change. */\n rowId: string;\n /** `add` = a new note, `edit` = new text for the note `noteId`, `delete` = the note `noteId` is to be deleted. */\n kind: 'add' | 'edit' | 'delete';\n /** The note an `edit` / `delete` is about; empty for an `add`. */\n noteId: string;\n /** The text of an `add` / `edit` (already trimmed, as it will be sent); empty for a `delete`. */\n text: string;\n /** When the change was saved on the device (ms since the epoch). */\n createdAt: number;\n state: QueuedNoteState;\n}\n\n/**\n * The small contract between `ui-notes` and an offline layer (the `@forgeroute/ui/offline` entry point provides it). It is optional: when nothing\n * provides `UI_NOTES_QUEUE`, `ui-notes` behaves exactly as it always did. It holds no data of its own: `queuedFor` reads the offline layer's own\n * saved-change list (a signal), so calling it inside a `computed` / template stays reactive.\n */\nexport interface UiNotesQueue {\n /**\n * The saved changes that belong to one notes list, oldest first. `listPath` is the list URL (`<base>/notes/contact/5` or `<base><basePath>`;\n * an `add` is a POST to exactly this path) and `itemPrefix` the URL of a single note up to its id (`<base>/notes/` or `<base><basePath>/`; an\n * `edit` is a PUT and a `delete` a DELETE to `<itemPrefix><noteId>`). Origin and query are ignored when comparing.\n */\n queuedFor(listPath: string, itemPrefix: string): readonly QueuedNote[];\n /** True while the browser is offline or the server cannot be reached: a failed load is then expected and shows no error toast. */\n readonly offline: () => boolean;\n /**\n * True when the saved change left the list because the USER discarded it. Any other departure (the change was delivered, or the session ended) makes\n * `ui-notes` reload the list and keep showing that change until the answer arrives, so a delivered note never flashes away or shows stale text.\n */\n wasDiscarded(rowId: string): boolean;\n}\n\n/** Optional provider of queued notes. Provided automatically by `provideOfflineSupport` from `@forgeroute/ui/offline`; absent = `ui-notes` is unchanged. */\nexport const UI_NOTES_QUEUE = new InjectionToken<UiNotesQueue>('UI_NOTES_QUEUE');\n","import { DOCUMENT } from '@angular/common';\nimport {\n EnvironmentProviders, Injectable, InjectionToken, OnDestroy, Signal, computed, inject, makeEnvironmentProviders, provideAppInitializer, signal,\n} from '@angular/core';\nimport { UiLabelDictionary, UiLabelsService } from './ui-labels';\n\n/** The switcher value (and `choice()` answer) meaning \"no manual choice: follow the browser / the embedding page\". */\nexport const UI_LANGUAGE_AUTO = 'auto';\n\n/**\n * Language selection for the whole app, in a few lines. Everything is optional: with no configuration the library offers English and Spanish\n * (English by default), detects the visitor's language automatically, remembers a manual pick, and lets the visitor change it with `<ui-language-switcher />`.\n *\n * provideUiLanguage() // en + es, automatic\n * provideUiLanguage({ onApplied: lang => loadMyOwnDictionary(lang) }) // + the app loads ITS texts before the language is announced\n */\nexport interface UiLanguageConfig {\n /** Supported language codes (default `['en', 'es']`). The first one is NOT assumed to be the default: see `defaultLanguage`. */\n readonly languages?: readonly string[];\n /** The language used when nothing else decides, and the fallback when a dictionary cannot be loaded (default `'en'`). Must be one of `languages`. */\n readonly defaultLanguage?: string;\n /** localStorage key of the visitor's MANUAL choice (default `'ui-language'`). */\n readonly storageKey?: string;\n /** Address parameter that sets the language when nothing was chosen manually: `?lang=es` (default `'lang'`). */\n readonly queryParam?: string;\n /** `type` of the message an embedding page posts to its iframe: `{ type: 'ui-language', lang: 'es' }` (default `'ui-language'`). */\n readonly messageType?: string;\n /** Name of each language in its own language (endonym) for the switcher. Default: a built-in table (en, es, fr, de, pt, it, nl, pl, tr, ar, zh, ja, ko, ru), then `Intl.DisplayNames`, then the code. */\n readonly languageNames?: Readonly<Record<string, string>>;\n /** BCP 47 locale of dates and numbers per language. A language without an entry uses the `i18n.locale` marker of its dictionary (`en-US` / `es-US` for the built-in ones). */\n readonly locales?: Readonly<Record<string, string>>;\n /**\n * Loader of the library texts per language: a dynamic import, an HttpClient call or a static object. Overrides the built-in dictionary of that language\n * (English and Spanish are built in); a language with neither shows the library's built-in English text.\n */\n readonly dictionaries?: Readonly<Record<string, () => Promise<UiLabelDictionary>>>;\n /** `false` = never read or write browser storage (useful in an iframe: the page follows its embedding page / the browser). Default `true`. */\n readonly persist?: boolean;\n /** `false` = ignore messages from an embedding page. Default `true`. */\n readonly trackEmbeddingParent?: boolean;\n /**\n * Awaited while a language is applied, BEFORE `lang()` announces it: the place for the app to load its OWN dictionary (e.g. Transloco's) so no key flashes.\n * A rejection is swallowed (it never blocks the app).\n */\n readonly onApplied?: (lang: string) => void | Promise<void>;\n /** `false` = do not register the app initializer; call `UiLanguageService.init()` yourself. Default `true`. */\n readonly initialize?: boolean;\n /**\n * Longest time, in milliseconds, a dictionary loader or `onApplied` may take (default 15000; 0 = wait forever). A loader that takes longer counts as a failed load\n * (the library stays in the default language and `degraded()` turns true); an `onApplied` that takes longer is given up on. So a hung request can never hold the app initializer forever.\n */\n readonly loadTimeoutMs?: number;\n /** Origin(s) a parent message must come from (`event.origin`, e.g. `'https://www.example.com'`). Default: any origin. */\n readonly parentOrigin?: string | readonly string[];\n}\n\n/** Holds the configuration given to `provideUiLanguage()`. */\nexport const UI_LANGUAGE_CONFIG = new InjectionToken<UiLanguageConfig>('UI_LANGUAGE_CONFIG');\n\n/**\n * Gives the window that embeds this page (iframe parent), or null when the page is not embedded. Specs provide their own to simulate an embedding page.\n * It is a getter, not the Window itself: Angular's injector reads `ngOnDestroy` on every value it creates, and on a cross-origin parent window that read\n * throws a SecurityError (the page then fails to start on a third-party site).\n */\nexport const EMBEDDING_PARENT = new InjectionToken<() => Window | null>('EMBEDDING_PARENT', {\n providedIn: 'root',\n factory: () => {\n const doc = inject(DOCUMENT);\n return () => {\n const view = doc.defaultView;\n return view && view.parent && view.parent !== view ? view.parent : null;\n };\n },\n});\n\n/** Each language written in its own language, for the languages most apps offer. Anything else comes from `Intl.DisplayNames`. */\nconst BUILT_IN_ENDONYMS: Readonly<Record<string, string>> = {\n en: 'English', es: 'Español', fr: 'Français', de: 'Deutsch', pt: 'Português', it: 'Italiano', nl: 'Nederlands', pl: 'Polski',\n tr: 'Türkçe', ar: 'العربية', zh: '中文', ja: '日本語', ko: '한국어', ru: 'Русский',\n};\n\n/** Dictionaries shipped inside the library. Dynamic imports, so a bundler puts each in its own lazy chunk: an app pays for Spanish only when Spanish is used. */\nconst BUILT_IN_LOADERS: ReadonlyMap<string, () => Promise<UiLabelDictionary>> = new Map([\n ['es', () => import('./ui-labels.es').then(m => m.UI_LABELS_ES as UiLabelDictionary)],\n]);\n\nconst normalizeTag = (tag: string): string => tag.trim().toLowerCase().replace(/_/g, '-');\nconst baseOf = (tag: string): string => normalizeTag(tag).split('-')[0];\n\n/** The built-in dictionary loader of a language code: the exact code first, then its base language (es-MX and es_CO use the Spanish one). */\nconst builtInLoader = (lang: string): (() => Promise<UiLabelDictionary>) | undefined => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));\n\n/**\n * The library's own dictionary of a built-in language, loaded on demand (a separate lazy chunk): `{}` for English (the built-in texts), the Spanish\n * dictionary for 'es' (also 'ES', 'es-MX', 'es_CO'), `null` for any other code (no built-in dictionary).\n */\nexport async function loadUiLabels(lang: string): Promise<UiLabelDictionary | null> {\n if (baseOf(lang) === 'en') return {};\n const loader = builtInLoader(lang);\n return loader ? loader() : null;\n}\n\n/** The configured code a BCP 47 tag or bare code ('es-MX', 'ES', 'es_CO') stands for, or null. An exact match wins, then the same base language. */\nfunction matchLanguage(languages: readonly string[], tag: unknown): string | null {\n if (typeof tag !== 'string' || tag.trim() === '') return null;\n const wanted = normalizeTag(tag);\n return languages.find(l => normalizeTag(l) === wanted) ?? languages.find(l => baseOf(l) === baseOf(wanted)) ?? null;\n}\n\ninterface ResolvedUiLanguageConfig {\n languages: readonly string[]; defaultLanguage: string; storageKey: string; queryParam: string; messageType: string;\n languageNames: Readonly<Record<string, string>>; locales: Readonly<Record<string, string>>;\n dictionaries: Readonly<Record<string, () => Promise<UiLabelDictionary>>>;\n persist: boolean; trackEmbeddingParent: boolean; onApplied: ((lang: string) => void | Promise<void>) | undefined;\n loadTimeoutMs: number; parentOrigins: readonly string[] | null;\n}\n\nfunction resolveConfig(config: UiLanguageConfig): ResolvedUiLanguageConfig {\n const languages = config.languages ?? ['en', 'es'];\n if (languages.length === 0) throw new Error('provideUiLanguage: `languages` must list at least one language code.');\n if (languages.some(l => typeof l !== 'string' || l.trim() === '')) throw new Error('provideUiLanguage: `languages` must hold non-empty language codes.');\n const defaultLanguage = config.defaultLanguage ?? 'en';\n if (!languages.includes(defaultLanguage)) {\n throw new Error(`provideUiLanguage: \\`defaultLanguage\\` \"${defaultLanguage}\" is not one of \\`languages\\` (${languages.join(', ')}).`);\n }\n return {\n languages, defaultLanguage,\n storageKey: config.storageKey ?? 'ui-language',\n queryParam: config.queryParam ?? 'lang',\n messageType: config.messageType ?? 'ui-language',\n languageNames: config.languageNames ?? {},\n locales: config.locales ?? {},\n dictionaries: config.dictionaries ?? {},\n persist: config.persist ?? true,\n trackEmbeddingParent: config.trackEmbeddingParent ?? true,\n onApplied: config.onApplied,\n loadTimeoutMs: config.loadTimeoutMs ?? 15000,\n parentOrigins: config.parentOrigin === undefined ? null : typeof config.parentOrigin === 'string' ? [config.parentOrigin] : config.parentOrigin,\n };\n}\n\n/** Registers the language service with its configuration (all optional) and, unless `initialize: false`, an app initializer that waits for the first language to be applied. */\nexport function provideUiLanguage(config: UiLanguageConfig = {}): EnvironmentProviders {\n resolveConfig(config); // a wrong configuration fails here, with a clear message, not on first use\n return makeEnvironmentProviders([\n { provide: UI_LANGUAGE_CONFIG, useValue: config },\n ...(config.initialize === false ? [] : [provideAppInitializer(() => inject(UiLanguageService).init())]),\n ]);\n}\n\n/**\n * The one place that knows the active language.\n *\n * AUTOMATIC by default, and the visitor can always choose:\n * 1. the visitor's MANUAL choice (the switcher; the only thing that is saved in the browser) always wins;\n * 2. otherwise it is detected, first match wins: a message from the embedding page (iframes, live), `?lang=` in the address, the browser's whole\n * language preference list (`navigator.languages`; regional variants map to their language), then `defaultLanguage`.\n * An automatic result is never saved, so it keeps following the browser / the embedding page; `setAutomatic()` clears a manual choice. Applying a language\n * loads its dictionary, hands it to `UiLabelsService` (texts + dates/numbers), runs `onApplied`, then announces it in `lang()` and `<html lang>`.\n *\n * To follow it from the app's own i18n (Transloco): `effect(() => transloco.setActiveLang(language.lang()))`, and load that library's dictionary in `onApplied`.\n */\n@Injectable({ providedIn: 'root' })\nexport class UiLanguageService implements OnDestroy {\n private readonly config = (() => {\n const given = inject(UI_LANGUAGE_CONFIG, { optional: true });\n if (!given) throw new Error('UiLanguageService: language selection is not configured. Add provideUiLanguage() to the application providers.');\n return resolveConfig(given);\n })();\n private readonly doc = inject(DOCUMENT);\n private readonly uiLabels = inject(UiLabelsService);\n private readonly embeddingParent = inject(EMBEDDING_PARENT);\n\n private newest = 0;\n /** The language most recently asked for (may still be loading); `lang()` only changes once it is ready. */\n private target: string | null = null;\n private current: Promise<void> = Promise.resolve();\n private initPromise: Promise<void> | null = null;\n private destroyed = false;\n /** True while the library locale in use was set by this service (so only then may it be cleared again; an app's own `setLocale()` is left alone). */\n private localeSetByService = false;\n /** The latest valid language an embedding parent asked for; used before `?lang=` and the browser list whenever no manual choice exists. */\n private parentLang: string | null = null;\n private readonly _lang = signal<string>(this.config.defaultLanguage);\n /**\n * The language in use, announced after its dictionaries are loaded. If the library's dictionary for it could not be loaded, this is still the REQUESTED\n * language while the library texts stay in the default language: read `degraded()` to tell.\n */\n readonly lang: Signal<string> = this._lang.asReadonly();\n private readonly _degraded = signal(false);\n /** `true` after the library dictionary of the last applied language failed to load (or timed out): the library texts and locale are those of the default language. */\n readonly degraded: Signal<boolean> = this._degraded.asReadonly();\n private readonly _manual = signal<string | null>(null);\n /** What the visitor picked: a language code, or `'auto'` when nothing was chosen manually. */\n readonly choice: Signal<string> = computed(() => this._manual() ?? UI_LANGUAGE_AUTO);\n /** BCP 47 locale of dates and numbers in the library right now (from `locales`, else the dictionary's `i18n.locale` marker). */\n readonly locale: Signal<string> = computed(() => this.uiLabels.locale());\n /** The supported language codes. */\n readonly languages: Signal<readonly string[]> = signal(this.config.languages).asReadonly();\n /** Each supported language written in its own language. */\n readonly names: Signal<Readonly<Record<string, string>>> = signal(this.buildNames()).asReadonly();\n\n private messageListener: ((e: MessageEvent) => void) | null = null;\n\n /** Called once at startup (the app initializer): resolves after the first language is applied, so no text flashes. Calling it again returns the same work. */\n init(): Promise<void> {\n return this.initPromise ??= this.start();\n }\n\n private async start(): Promise<void> {\n const manual = this.savedChoice();\n this._manual.set(manual);\n // listen BEFORE the first load, so a message that arrives while it runs is not lost\n this.listenToEmbeddingPage();\n await this.apply(manual ?? this.detect());\n // a message may have started a newer change meanwhile: the app starts once the newest one is announced\n let waited: Promise<void>;\n do { waited = this.current; await waited; } while (waited !== this.current);\n }\n\n /** A MANUAL choice (the switcher): applied now and saved in this browser (unless `persist` is false). A code that is not supported becomes `defaultLanguage`. */\n async setLanguage(code: string): Promise<void> {\n const next = matchLanguage(this.config.languages, code) ?? this.config.defaultLanguage;\n this._manual.set(next);\n this.store(next);\n await this.apply(next);\n }\n\n /** Back to automatic: forgets a manual choice and follows the embedding page / `?lang=` / the browser again. */\n async setAutomatic(): Promise<void> {\n this._manual.set(null);\n this.store(null);\n await this.apply(this.detect());\n }\n\n ngOnDestroy(): void {\n this.destroyed = true;\n this.newest++; // a change still loading must not touch the library after the service is gone\n const view = this.doc.defaultView;\n if (view && this.messageListener) view.removeEventListener('message', this.messageListener);\n this.messageListener = null;\n }\n\n private apply(next: string): Promise<void> {\n const work = this.run(next);\n this.current = work;\n return work;\n }\n\n private async run(next: string): Promise<void> {\n const mine = ++this.newest;\n this.target = next;\n const { defaultLanguage, locales } = this.config;\n // A dictionary that fails to load (rejects, throws, times out) must never stop the app: the library then shows the default language (texts AND locale).\n let dictionary: UiLabelDictionary = {};\n let locale: string | null;\n let failed = false;\n try {\n dictionary = await this.withTimeout(this.loadDictionary(next));\n locale = locales[next] ?? null;\n } catch {\n failed = true;\n if (next !== defaultLanguage) {\n try { dictionary = await this.withTimeout(this.loadDictionary(defaultLanguage)); } catch { dictionary = {}; }\n }\n locale = locales[defaultLanguage] ?? null;\n }\n if (mine !== this.newest) return; // a newer change started while this one was loading: only the newest applies\n this.uiLabels.setLabels(dictionary);\n this.applyLocale(locale);\n this._degraded.set(failed);\n try { await this.withTimeout((async () => this.config.onApplied?.(next))()); } catch { /* the app's own dictionary failed or hung: never block the app */ }\n if (mine !== this.newest) return;\n this._lang.set(next);\n this.doc.documentElement.lang = next;\n }\n\n /** The configured locale of the language, or (no entry) the dictionary's marker; an explicit locale the APP set itself is never cleared. */\n private applyLocale(locale: string | null): void {\n if (locale !== null) {\n this.uiLabels.setLocale(locale);\n this.localeSetByService = true;\n } else if (this.localeSetByService) {\n this.uiLabels.setLocale(null);\n this.localeSetByService = false;\n }\n }\n\n /** The dictionary of a language: the app's loader, else the built-in one; none = the library's built-in English text (empty dictionary). A throwing loader is a failed load. */\n private async loadDictionary(lang: string): Promise<UiLabelDictionary> {\n const loader = this.config.dictionaries[lang] ?? builtInLoader(lang);\n return loader ? await loader() : {};\n }\n\n private withTimeout<T>(work: Promise<T>): Promise<T> {\n const ms = this.config.loadTimeoutMs;\n if (!(ms > 0)) return work;\n return new Promise<T>((resolve, reject) => {\n const timer = setTimeout(() => reject(new Error('timeout')), ms);\n work.then(value => { clearTimeout(timer); resolve(value); }, error => { clearTimeout(timer); reject(error); });\n });\n }\n\n private store(value: string | null): void {\n if (!this.config.persist) return;\n try {\n if (value === null) localStorage.removeItem(this.config.storageKey);\n else localStorage.setItem(this.config.storageKey, value);\n } catch { /* private mode / blocked storage: the choice just is not remembered */ }\n }\n\n private savedChoice(): string | null {\n if (!this.config.persist) return null;\n try { return matchLanguage(this.config.languages, localStorage.getItem(this.config.storageKey)); } catch { return null; }\n }\n\n /** Automatic detection (no manual choice): the embedding page's language, `?lang=`, the browser's whole preference list, then the default language. */\n private detect(): string {\n if (this.parentLang) return this.parentLang;\n const { languages, defaultLanguage, queryParam } = this.config;\n const view = this.doc.defaultView;\n const fromAddress = matchLanguage(languages, new URLSearchParams(view?.location?.search ?? '').get(queryParam));\n if (fromAddress) return fromAddress;\n const nav = view?.navigator;\n const preferred = nav?.languages?.length ? nav.languages : [nav?.language ?? ''];\n for (const tag of preferred) {\n const match = matchLanguage(languages, tag);\n if (match) return match;\n }\n return defaultLanguage;\n }\n\n /**\n * An embedded page follows its embedding page: `postMessage({ type: 'ui-language', lang }, '*')` from the parent window sets the language (live, no reload),\n * unless the visitor chose manually. Only the parent window is listened to (and, with `parentOrigin`, only that origin), and only a supported language counts.\n * The latest valid parent language is remembered, so `setAutomatic()` keeps following the parent.\n */\n private listenToEmbeddingPage(): void {\n const view = this.doc.defaultView;\n const parent = this.embeddingParent();\n if (!this.config.trackEmbeddingParent || !view || !parent || this.messageListener || this.destroyed) return;\n this.messageListener = (e: MessageEvent) => {\n if (e.source !== parent) return;\n const origins = this.config.parentOrigins;\n if (origins && !origins.includes(e.origin)) return;\n const data = e.data as { type?: unknown; lang?: unknown } | null;\n if (!data || data.type !== this.config.messageType) return;\n const lang = matchLanguage(this.config.languages, data.lang);\n if (!lang) return;\n this.parentLang = lang;\n if (this._manual() === null && lang !== (this.target ?? this._lang())) void this.apply(lang);\n };\n view.addEventListener('message', this.messageListener);\n }\n\n private buildNames(): Record<string, string> {\n const names: Record<string, string> = {};\n for (const code of this.config.languages) {\n names[code] = this.config.languageNames[code] ?? BUILT_IN_ENDONYMS[normalizeTag(code)] ?? BUILT_IN_ENDONYMS[baseOf(code)] ?? intlName(code) ?? code;\n }\n return names;\n }\n}\n\n/** The language's name in its own language from the browser's `Intl.DisplayNames`, or undefined when it does not know the code. */\nfunction intlName(code: string): string | undefined {\n try {\n return new Intl.DisplayNames([code], { type: 'language', fallback: 'none' }).of(code) || undefined;\n } catch { return undefined; }\n}\n","import {\n EnvironmentInjector, EnvironmentProviders, Injectable, InjectionToken, OnDestroy, Provider, Signal, WritableSignal, computed, effect, inject, isDevMode, makeEnvironmentProviders, signal, untracked,\n} from '@angular/core';\nimport { UiLabelsService } from './ui-labels';\nimport { UI_LANGUAGE_CONFIG, UiLanguageService } from './ui-language';\n\n/**\n * Module labels: English + Spanish texts for a module package (@forgeroute/communications, accounting, marketing ...) that follow the app's language with\n * the SAME mechanism the library uses: the language comes from `UiLanguageService` (switcher, `?lang=`, postMessage ...), English is built in, the Spanish\n * dictionary is a lazy chunk downloaded the first time Spanish is active, `{{ name }}` placeholders, `_one` / `_other` plurals, and the library locale\n * for numbers and dates. See docs/module-labels.md.\n */\n\nexport type ModuleLabelParams = Readonly<Record<string, string | number>>;\n\n/** The plural base names of a dictionary: every key written `<base>_one` (its `<base>_other` pair is required by `assertModuleLabelParity`). */\nexport type ModuleLabelPluralBase<K extends string> = K extends `${infer B}_one` ? B : never;\n\nexport interface ModuleLabelsOptions<K extends string> {\n /** Unique name of the module ('communications'); overrides and the test helper address the module by it. */\n namespace: string;\n /** The English texts: the key set of the module, always available, no download. */\n en: Readonly<Record<K, string>>;\n /** Loads the Spanish texts, written as a dynamic import so a bundler puts them in a lazy chunk: `() => import('./labels.es').then(m => m.ES)`. */\n es?: () => Promise<Readonly<Record<K, string>>>;\n}\n\n/** What `createModuleLabels` returns: plain data, safe to create at module level (no injection context needed). Hand it to `injectModuleLabels`. */\nexport interface ModuleLabelsHandle<K extends string> {\n readonly namespace: string;\n readonly en: Readonly<Record<K, string>>;\n readonly es?: () => Promise<Readonly<Record<K, string>>>;\n}\n\nexport function createModuleLabels<K extends string>(options: ModuleLabelsOptions<K>): ModuleLabelsHandle<K> {\n if (typeof options.namespace !== 'string' || options.namespace.trim() === '') throw new Error('createModuleLabels: `namespace` must be a non-empty string.');\n return Object.freeze({ namespace: options.namespace, en: options.en, es: options.es });\n}\n\n/** The labels of one module in the current injection context. Every member reads signals, so a template or `computed` that calls it follows a language change. */\nexport interface ModuleLabels<K extends string> {\n /** The text of `key` in the active language (English for a key the language lacks or while its chunk loads), `{{ name }}` filled from `params`. */\n t(key: K, params?: ModuleLabelParams): string;\n /** A plural text: `<base>_one` when `count === 1`, else `<base>_other`; `count` is available as `{{ count }}` (an own `count` param wins). */\n tn(base: ModuleLabelPluralBase<K>, count: number, params?: ModuleLabelParams): string;\n /** `true` when the active language needs no chunk (English, a language the module has no texts for) or its chunk finished loading (or failed: English is shown). */\n readonly ready: Signal<boolean>;\n /** The active language code of the app (base language: 'es-MX' reads 'es'). */\n readonly language: Signal<string>;\n /** The library locale (dates / numbers) that goes with the language. */\n readonly locale: Signal<string>;\n formatDate(value: Date | string | number | null | undefined, format?: string, timeZone?: string): string;\n formatNumber(value: number | null | undefined, options?: Intl.NumberFormatOptions): string;\n formatCurrency(value: number | null | undefined, currency?: string, options?: Intl.NumberFormatOptions): string;\n}\n\n/** Fills `{{ name }}` placeholders exactly like the library; a placeholder with no value stays visible. */\nfunction interpolate(text: string, params?: ModuleLabelParams): string {\n if (!params) return text;\n return text.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g, (whole, name: string) => (name in params ? String(params[name]) : whole));\n}\n\n/** The sorted, de-duplicated placeholder names of a text. */\nfunction placeholdersOf(text: string): string[] {\n return [...new Set([...text.matchAll(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g)].map(m => m[1]))].sort();\n}\n\nconst baseLanguage = (tag: string): string => tag.trim().toLowerCase().replace(/_/g, '-').split('-')[0];\n\n// ---- host overrides ----\n\nexport interface ModuleLabelOverrides<K extends string = string> {\n en?: Partial<Readonly<Record<K, string>>>;\n es?: Partial<Readonly<Record<K, string>>>;\n}\n/**\n * Where the overrides of one `provideModuleLabelOverrides` call come from: a plain object (read once, as always) or a function - typically a `computed` / signal\n * - that returns the overrides and is called on EVERY text lookup, so the texts follow runtime state (the signed-in company's user type ...) and an OnPush\n * template that reads them re-renders when a signal the function reads changes. A function that returns null / undefined / a non-object contributes nothing.\n */\nexport type ModuleLabelOverridesSource<K extends string = string> = ModuleLabelOverrides<K> | (() => ModuleLabelOverrides<K> | null | undefined);\ninterface CleanOverrides { readonly en: Record<string, string>; readonly es: Record<string, string> }\ninterface OverrideEntry { namespace: string; overrides: ModuleLabelOverridesSource }\nconst MODULE_LABEL_OVERRIDES = new InjectionToken<OverrideEntry[]>('MODULE_LABEL_OVERRIDES');\n\n/**\n * Lets the host app change single texts of a module, with the semantics of `UiLabelsService.setLabels`: a key the module does not have is ignored, a blank text\n * is ignored (the module's own text stays) and the placeholders must be exactly those of the module's English text of that key (otherwise ignored).\n * Several calls for one namespace merge; the later one wins.\n * `overrides` may also be a function / signal returning the overrides (see {@link ModuleLabelOverridesSource}): it is evaluated on every lookup with the same\n * rules, so the texts follow runtime state. A static object behaves exactly as before.\n */\nexport function provideModuleLabelOverrides<K extends string = string>(namespace: string | Pick<ModuleLabelsHandle<K>, 'namespace'>, overrides: ModuleLabelOverridesSource<K>): EnvironmentProviders {\n const ns = typeof namespace === 'string' ? namespace : namespace.namespace;\n return makeEnvironmentProviders([{ provide: MODULE_LABEL_OVERRIDES, multi: true, useValue: { namespace: ns, overrides } satisfies OverrideEntry }]);\n}\n\n// ---- language source and loaders (replaced by the test helper) ----\n\n/** Where the language comes from. Default: `UiLanguageService.lang()` when `provideUiLanguage` is set up, else the base language of the library locale. */\nconst MODULE_LABELS_LANGUAGE = new InjectionToken<Signal<string>>('MODULE_LABELS_LANGUAGE');\n/** Replaces the Spanish loader of a namespace (the test helper). */\nconst MODULE_LABELS_LOADERS = new InjectionToken<Readonly<Record<string, () => Promise<Readonly<Record<string, string>>>>>>('MODULE_LABELS_LOADERS');\n\ntype Status = 'idle' | 'loading' | 'done' | 'failed';\ninterface ModuleState {\n readonly handle: ModuleLabelsHandle<string>;\n readonly status: WritableSignal<Status>;\n readonly spanish: WritableSignal<Readonly<Record<string, string>> | null>;\n /** The merged overrides of the static entries; the whole answer when `sources` is null. */\n readonly overrides: { en: Record<string, string>; es: Record<string, string> };\n /** Only set when at least one entry is a function: every entry of the namespace in registration order, merged afresh on each lookup. */\n readonly sources: readonly (CleanOverrides | (() => ModuleLabelOverrides | null | undefined))[] | null;\n /** Set once a function entry threw and the dev warning was shown. */\n warned?: boolean;\n}\n\n/** Keeps the known keys with a non-blank string; for the placeholder rule `strictPlaceholders` also drops a text whose placeholders differ from the English text. */\nfunction clean(handle: ModuleLabelsHandle<string>, source: unknown, strictPlaceholders: boolean): Record<string, string> {\n const out: Record<string, string> = {};\n if (!source || typeof source !== 'object') return out;\n for (const [key, value] of Object.entries(source)) {\n if (!(key in handle.en) || typeof value !== 'string' || value.trim() === '') continue;\n if (strictPlaceholders && placeholdersOf(value).join('|') !== placeholdersOf(handle.en[key]).join('|')) continue;\n out[key] = value;\n }\n return out;\n}\n\n/** Root-level store of the module labels of one application: language, lazily loaded Spanish dictionaries (once per module), host overrides. */\n@Injectable({ providedIn: 'root' })\nexport class ModuleLabelsRegistry implements OnDestroy {\n private readonly injector = inject(EnvironmentInjector);\n private readonly labels = inject(UiLabelsService);\n private readonly loaders = inject(MODULE_LABELS_LOADERS, { optional: true });\n private readonly entries = inject(MODULE_LABEL_OVERRIDES, { optional: true }) ?? [];\n private readonly states = new Map<ModuleLabelsHandle<string>, ModuleState>();\n private destroyed = false;\n\n /** The app's language (base code). */\n readonly language: Signal<string> = (() => {\n const given = inject(MODULE_LABELS_LANGUAGE, { optional: true });\n if (given) return computed(() => baseLanguage(given()));\n if (inject(UI_LANGUAGE_CONFIG, { optional: true })) {\n const service = inject(UiLanguageService);\n return computed(() => baseLanguage(service.lang()));\n }\n return computed(() => baseLanguage(this.labels.locale()));\n })();\n\n ngOnDestroy(): void { this.destroyed = true; }\n\n stateFor(handle: ModuleLabelsHandle<string>): ModuleState {\n let state = this.states.get(handle);\n if (state) return state;\n const overrides = { en: {} as Record<string, string>, es: {} as Record<string, string> };\n const own = this.entries.filter(entry => entry.namespace === handle.namespace).map(entry => entry.overrides);\n for (const source of own) {\n if (typeof source === 'function') continue;\n Object.assign(overrides.en, clean(handle, source.en, true));\n Object.assign(overrides.es, clean(handle, source.es, true));\n }\n // Static objects are cleaned ONCE here (read-once semantics, also next to a function entry); only function entries run again on each lookup.\n const sources = own.some(source => typeof source === 'function')\n ? own.map(source => (typeof source === 'function' ? source : { en: clean(handle, source.en, true), es: clean(handle, source.es, true) }))\n : null;\n state = { handle, status: signal<Status>('idle'), spanish: signal(null), overrides, sources };\n this.states.set(handle, state);\n const made = state;\n effect(() => { if (this.language() === 'es') untracked(() => this.load(made)); }, { injector: this.injector });\n untracked(() => { if (this.language() === 'es') this.load(made); }); // do not wait for the first effect run\n return state;\n }\n\n /** Downloads the Spanish texts once per module (a failed download is tried again the next time Spanish becomes active). */\n private load(state: ModuleState): void {\n const status = state.status();\n if (status === 'loading' || status === 'done') return;\n const loader = this.loaders?.[state.handle.namespace] ?? state.handle.es;\n if (!loader) { state.status.set('done'); return; }\n state.status.set('loading');\n loader().then(\n dictionary => { if (this.destroyed) return; state.spanish.set(clean(state.handle, dictionary, false)); state.status.set('done'); },\n () => { if (!this.destroyed) state.status.set('failed'); },\n );\n }\n\n /** The overrides in force right now: the precomputed static merge, or (a function / signal entry exists) a fresh merge of every entry in order. A throwing function counts as no overrides. */\n private currentOverrides(state: ModuleState): { en: Record<string, string>; es: Record<string, string> } {\n if (!state.sources) return state.overrides;\n const merged = { en: {} as Record<string, string>, es: {} as Record<string, string> };\n for (const source of state.sources) {\n if (typeof source !== 'function') { Object.assign(merged.en, source.en); Object.assign(merged.es, source.es); continue; }\n let value: ModuleLabelOverrides | null | undefined;\n try { value = source(); } catch (error) {\n value = undefined;\n // Never throws (a label lookup must not break a page), but a silent failure is hard to debug: say so once, in development only.\n if (!state.warned && isDevMode()) {\n state.warned = true;\n console.warn(`[module labels] The override function for \"${state.handle.namespace}\" threw and was ignored. It runs on every text lookup, outside any injection context: build the function (or a computed) where inject() works and capture the service there; do not call inject() inside it.`, error);\n }\n }\n if (!value || typeof value !== 'object') continue;\n Object.assign(merged.en, clean(state.handle, value.en, true));\n Object.assign(merged.es, clean(state.handle, value.es, true));\n }\n return merged;\n }\n\n create<K extends string>(handle: ModuleLabelsHandle<K>): ModuleLabels<K> {\n const state = this.stateFor(handle as ModuleLabelsHandle<string>);\n const language = this.language;\n const text = (key: string): string => {\n const lang = language();\n const overrides = this.currentOverrides(state);\n const spanish = lang === 'es' ? (overrides.es[key] ?? state.spanish()?.[key]) : undefined;\n return spanish ?? overrides.en[key] ?? state.handle.en[key] ?? key;\n };\n const labels = this.labels;\n return {\n t: (key, params) => interpolate(text(key), params),\n tn: (base, count, params) => interpolate(text(`${base}_${count === 1 ? 'one' : 'other'}`), { count, ...params }),\n ready: computed(() => {\n if (language() !== 'es') return true;\n const status = state.status();\n return status === 'done' || status === 'failed';\n }),\n language,\n locale: labels.locale,\n formatDate: (value, format, timeZone) => labels.formatDate(value, format, timeZone),\n formatNumber: (value, options) => labels.formatNumber(value, options),\n formatCurrency: (value, currency, options) => labels.formatCurrency(value, currency, options),\n };\n }\n}\n\n/** The labels of a module for the current injection context (a component, directive or service field). Call it once, as a field initializer. */\nexport function injectModuleLabels<K extends string>(handle: ModuleLabelsHandle<K>): ModuleLabels<K> {\n return inject(ModuleLabelsRegistry).create(handle);\n}\n\n// ---- spec helpers ----\n\n/**\n * For a module package's specs: throws one Error listing every problem when the Spanish dictionary does not match the English one - a key missing or extra,\n * a blank text, different `{{ placeholders }}`, a plural pair (`x_one` / `x_other`) incomplete in either language.\n */\nexport function assertModuleLabelParity(en: Readonly<Record<string, string>>, es: Readonly<Record<string, string>>): void {\n const problems: string[] = [];\n const enKeys = Object.keys(en);\n const esKeys = Object.keys(es);\n for (const key of enKeys) if (!(key in es)) problems.push(`missing in es: ${key}`);\n for (const key of esKeys) if (!(key in en)) problems.push(`extra in es: ${key}`);\n for (const key of enKeys) {\n if (!(key in es)) continue;\n if (typeof es[key] !== 'string' || es[key].trim() === '') { problems.push(`blank in es: ${key}`); continue; }\n const a = placeholdersOf(en[key]).join(', ');\n const b = placeholdersOf(es[key]).join(', ');\n if (a !== b) problems.push(`placeholders differ for ${key}: en {${a}} vs es {${b}}`);\n }\n for (const [name, dictionary] of [['en', en], ['es', es]] as const) {\n for (const key of Object.keys(dictionary)) {\n if (key.endsWith('_one') && !((key.slice(0, -4) + '_other') in dictionary)) problems.push(`plural pair incomplete in ${name}: ${key} has no _other`);\n if (key.endsWith('_other') && !((key.slice(0, -6) + '_one') in dictionary)) problems.push(`plural pair incomplete in ${name}: ${key} has no _one`);\n }\n }\n if (problems.length) throw new Error(`Module label parity check failed:\\n- ${problems.join('\\n- ')}`);\n}\n\nexport interface ModuleLabelsTestingOptions {\n /** Starting language (default 'en'). */\n language?: string;\n /** In-memory Spanish texts by namespace; replaces the module's own lazy loader so no chunk is requested. A function may return a rejected promise to simulate a failed download. */\n es?: Readonly<Record<string, Readonly<Record<string, string>> | (() => Promise<Readonly<Record<string, string>>>)>>;\n}\nexport interface ModuleLabelsTesting {\n /** Add to `TestBed.configureTestingModule({ providers })`. */\n readonly providers: Provider[];\n /** Change it in a spec to switch the language (then `TestBed.tick()` to let the lazy load start). */\n readonly language: WritableSignal<string>;\n /** How many times the Spanish loader of a namespace was called. */\n loadCount(namespace: string): number;\n}\n\n/** Test helper for module specs, like `provideTestI18n` in apps: a writable language and in-memory Spanish loaders (no `provideUiLanguage` needed). */\nexport function moduleLabelsTesting(options: ModuleLabelsTestingOptions = {}): ModuleLabelsTesting {\n const language = signal(options.language ?? 'en');\n const counts: Record<string, number> = {};\n const loaders: Record<string, () => Promise<Readonly<Record<string, string>>>> = {};\n for (const [namespace, source] of Object.entries(options.es ?? {})) {\n loaders[namespace] = () => {\n counts[namespace] = (counts[namespace] ?? 0) + 1;\n return typeof source === 'function' ? source() : Promise.resolve(source);\n };\n }\n return {\n providers: [{ provide: MODULE_LABELS_LANGUAGE, useValue: language.asReadonly() }, { provide: MODULE_LABELS_LOADERS, useValue: loaders }],\n language,\n loadCount: namespace => counts[namespace] ?? 0,\n };\n}\n"],"mappings":";;;;;;AAMA,MAAa,oBAAoB,IAAI,eAAiC,mBAAmB;ACEzF,MAAa,iBAAiB;AAG9B,SAAgB,WAAW,QAAiC;CAC1D,MAAM,KAAK,UAAU,GAAA,CAAI,KAAI;CAC7B,IAAI,CAAC,GAAG,OAAO;CACf,IAAI;EAAE,OAAO,KAAK,eAAe,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI;CAAgB,QAAQ;EAAE,OAAO;CAAgB;AACzH;AAEA,MAAM,eAAe,WAA4B,WAAW,WAAW,WAAW;AAGlF,MAAM,qBAAqB;AAE3B,SAAS,gBAAgB,OAAuB;CAC9C,MAAM,uBAAO,IAAI,KAAK,CAAC;CACvB,IAAI,SAAS,GAAG,QAAQ;CACxB,MAAM,aAAa,MAA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AAW,aAAa,SAAS,KAAK,6BAA6B,KAAI,IAAK,IAAG,aAAc;CACnJ;CAEF,IAAI,SAAS,QAAQ,MAAM,IAAI,MAAM,wCAAwC,SAAS,KAAK,MAAM,GAAG;AACtG;AAkBA,SAAgB,oBAAoB,UAAsC,CAAA,GAAE;CAC1E,MAAM,WAAW,OAAO,QAAQ,YAAY,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CACjD,MAAM,SAAiC,CAAA;CACvC,MAAM,UAA2E,CAAA;CACjF,KAAK,MAAM,CAAC,WAAW,WAAW,OAAO,QAAQ,QAAQ,MAAM,CAAA,CAAE,GAC/D,QAAQ,mBAAkB;EACxB,OAAO,cAAc,OAAO,cAAc,KAAK;EAC/C,OAAO,OAAO,WAAW,aAAa,OAAM,IAAK,QAAQ,QAAQ,MAAM;CACzE;CAEF,OAAO;EACL,WAAW,CAAC;GAAE,SAAS;GAAwB,UAAU,SAAS,WAAU;EAAE,GAAI;GAAE,SAAS;GAAuB,UAAU;EAAO,CAAE;EACvI;EACA,YAAW,cAAa,OAAO,cAAc;CAC9C;AACH"}
|
|
1
|
+
{"version":3,"file":"forgeroute-ui-core.mjs","names":[],"sources":["../../../projects/forgeroute-ui/core/src/lib/config/forgeroute.config.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/ui-format.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/ui-labels.ts","../../../projects/forgeroute-ui/core/src/lib/error-handler.ts","../../../projects/forgeroute-ui/core/src/lib/toast/toast.service.ts","../../../projects/forgeroute-ui/core/src/lib/utils/overlay-stack.ts","../../../projects/forgeroute-ui/core/src/lib/utils/overlay-focus.ts","../../../projects/forgeroute-ui/core/src/lib/utils/return-focus.ts","../../../projects/forgeroute-ui/core/src/lib/utils/visual-viewport.ts","../../../projects/forgeroute-ui/core/src/lib/utils/field-validation.ts","../../../projects/forgeroute-ui/core/src/lib/modal/modal.component.ts","../../../projects/forgeroute-ui/core/src/lib/button/button.component.ts","../../../projects/forgeroute-ui/core/src/lib/confirm/confirm-outlet.component.ts","../../../projects/forgeroute-ui/core/src/lib/confirm/confirm.service.ts","../../../projects/forgeroute-ui/core/src/lib/side-panel/side-panel.component.ts","../../../projects/forgeroute-ui/core/src/lib/notes/notes-queue.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/ui-language.ts","../../../projects/forgeroute-ui/core/src/lib/i18n/module-labels.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface ForgerouteConfig {\n baseUrl: string;\n}\n\nexport const FORGEROUTE_CONFIG = new InjectionToken<ForgerouteConfig>('FORGEROUTE_CONFIG');\n","import { formatDate } from '@angular/common';\n\n/**\n * Locale-aware date, time and number formatting for the library. English (`en-US`, the default) goes through Angular's own formatter and\n * `toLocaleString('en-US')`, so every text an English app shows is exactly what it always was. Any other locale goes through `Intl`, which\n * ships with the browser - no `registerLocaleData` and no extra bundle for the app. Browsers differ only in the last details of a pattern\n * (Safari and Chrome agree on all the shapes used here).\n */\nexport const DEFAULT_LOCALE = 'en-US';\n\n/** The locale when the browser accepts it, else `en-US` (a malformed tag must never throw inside a template). */\nexport function safeLocale(locale: string | null | undefined): string {\n const l = (locale ?? '').trim();\n if (!l) return DEFAULT_LOCALE;\n try { return Intl.DateTimeFormat.supportedLocalesOf([l]).length ? l : DEFAULT_LOCALE; } catch { return DEFAULT_LOCALE; }\n}\n\nconst isEnglishUs = (locale: string): boolean => locale === 'en-US' || locale === 'en';\n\n// Angular's own ISO 8601 reader (`DatePipe`/`formatDate` use it): date and optional time, optional 'Z' or offset; no zone means LOCAL time.\nconst ISO8601_DATE_REGEX = /^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n\nfunction isoStringToDate(match: RegExpMatchArray): Date {\n const date = new Date(0);\n let tzHour = 0, tzMin = 0;\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n if (match[9]) { tzHour = Number(match[9] + match[10]); tzMin = Number(match[9] + match[11]); }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n timeSetter.call(date, Number(match[4] || 0) - tzHour, Number(match[5] || 0) - tzMin, Number(match[6] || 0), Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000));\n return date;\n}\n\n/**\n * A `Date` from a Date, a timestamp or a string, read exactly as Angular's `DatePipe` reads its input (so English output is what `| date` always printed):\n * the string is trimmed; 'YYYY', 'YYYY-M' and 'YYYY-M-D' are LOCAL dates (month and day default to 1, so they never shift a day with the time zone);\n * a numeric string ('1700000000000') is a timestamp; an ISO 8601 string is read like Angular does; anything else goes through `new Date(...)`.\n * Null for an empty or unreadable value (where `DatePipe` would throw).\n */\nexport function toDate(value: Date | string | number | null | undefined): Date | null {\n if (value == null || value === '') return null;\n let d: Date;\n if (value instanceof Date) d = value;\n else if (typeof value === 'number' && !isNaN(value)) d = new Date(value);\n else if (typeof value === 'string') {\n const v = value.trim();\n let match: RegExpMatchArray | null;\n if (/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(v)) {\n const [y, m = 1, day = 1] = v.split('-').map(x => +x);\n d = new Date(0); d.setFullYear(y, m - 1, day); d.setHours(0, 0, 0);\n } else if (!isNaN((v as unknown as number) - parseFloat(v))) d = new Date(parseFloat(v));\n else if ((match = v.match(ISO8601_DATE_REGEX))) d = isoStringToDate(match);\n else d = new Date(v);\n } else d = new Date(value as unknown as number);\n return Number.isNaN(d.getTime()) ? null : d;\n}\n\nconst NAMED: Record<string, Intl.DateTimeFormatOptions> = {\n short: { dateStyle: 'short', timeStyle: 'short' },\n medium: { dateStyle: 'medium', timeStyle: 'medium' },\n long: { dateStyle: 'long', timeStyle: 'long' },\n full: { dateStyle: 'full', timeStyle: 'full' },\n shortDate: { dateStyle: 'short' }, mediumDate: { dateStyle: 'medium' }, longDate: { dateStyle: 'long' }, fullDate: { dateStyle: 'full' },\n shortTime: { timeStyle: 'short' }, mediumTime: { timeStyle: 'medium' }, longTime: { timeStyle: 'long' }, fullTime: { timeStyle: 'full' },\n};\n\n/** An Angular date pattern ('MMM d, y', 'MMM d, yyyy h:mm a', 'EEE', ...) as `Intl` options; the locale then decides order and punctuation. */\nexport function patternToOptions(pattern: string): Intl.DateTimeFormatOptions {\n if (NAMED[pattern]) return { ...NAMED[pattern] };\n const o: Intl.DateTimeFormatOptions = {};\n for (const m of pattern.replace(/'(?:[^']|'')*'/g, ' ').matchAll(/y+|M+|L+|d+|E+|h+|H+|m+|s+|a+|z+|G+/g)) {\n const t = m[0], c = t[0], n = t.length;\n if (c === 'y') o.year = n === 2 ? '2-digit' : 'numeric';\n else if (c === 'M' || c === 'L') o.month = n === 1 ? 'numeric' : n === 2 ? '2-digit' : n === 3 ? 'short' : n === 4 ? 'long' : 'narrow';\n else if (c === 'd') o.day = n === 1 ? 'numeric' : '2-digit';\n else if (c === 'E') o.weekday = n <= 3 ? 'short' : n === 4 ? 'long' : 'narrow';\n else if (c === 'h') { o.hour = n === 1 ? 'numeric' : '2-digit'; o.hour12 = true; }\n else if (c === 'H') { o.hour = n === 1 ? 'numeric' : '2-digit'; o.hour12 = false; }\n else if (c === 'm') o.minute = '2-digit';\n else if (c === 's') o.second = '2-digit';\n else if (c === 'a') o.hour12 = true;\n else if (c === 'z') o.timeZoneName = n === 4 ? 'long' : 'short';\n else if (c === 'G') o.era = n === 4 ? 'long' : n === 5 ? 'narrow' : 'short';\n }\n return o;\n}\n\n/** One piece of an Angular date pattern: a run of literal text (quotes already removed) or a field token ('MMM', 'yyyy', 'a' ...). */\ninterface PatternPart { literal: boolean; text: string }\n\n// The same grammar Angular's formatDate reads: quoted text, a run of non-token characters, or one token run.\nconst PATTERN_PART = /'(?:[^']|'')*'|[^BEGHLMOPZSWYZabcdhmswyz']+|G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}/g;\n\nfunction splitPattern(pattern: string): PatternPart[] {\n // `''` on its own (outside a quoted run, \"''yy\") is one apostrophe, as in Angular's formatDate; inside a run `''` is an apostrophe too ('o''clock').\n return (pattern.match(PATTERN_PART) ?? []).map(text => text.startsWith(\"'\")\n ? { literal: true, text: text === \"''\" ? \"'\" : text.slice(1, -1).replace(/''/g, \"'\") }\n : { literal: !/^[A-Za-z]/.test(text), text });\n}\n\n/** True for a pattern whose month NAME (MMM+, LLL+) or named format ('short', 'mediumDate' ...) the locale must order and punctuate itself: it goes through `Intl`. */\nfunction hasMonthName(pattern: string): boolean {\n if (NAMED[pattern]) return true;\n return splitPattern(pattern).some(p => !p.literal && /^[ML]{3,}$/.test(p.text));\n}\n\n/**\n * The instant and zone to hand to `Intl` for the time zone argument of a pattern. It is read EXACTLY as Angular's `DatePipe` reads it, so the English route, the\n * numeric route and the month-name route all show the same clock time for the same instant: only what Angular's reader understands counts ('+0200', '+02:00', 'GMT+2',\n * 'EST', 'UTC': the offset is computed with the JS date parser and the instant is shifted, then read in UTC). Anything else - including an IANA name such as\n * 'America/New_York', which `DatePipe` ignores - means the local zone (a string with a '/' is never read, whatever the engine's parser would make of it).\n */\nfunction intlZone(d: Date, timeZone?: string): { date: Date; timeZone?: string } {\n if (!timeZone || timeZone.includes('/')) return { date: d };\n const east = -Date.parse('Jan 01, 1970 00:00:00 ' + timeZone.replace(/:/g, '')) / 60000; // minutes ahead of UTC\n return Number.isNaN(east) ? { date: d } : { date: new Date(d.getTime() + east * 60000), timeZone: 'UTC' };\n}\n\n/** One field of a date as the locale writes it: the weekday name ('vie') or the era ('d. C.'). */\nfunction localeField(d: Date, loc: string, type: 'weekday' | 'era', style: 'long' | 'short' | 'narrow', timeZone?: string): string {\n const z = intlZone(d, timeZone);\n const options: Intl.DateTimeFormatOptions = type === 'weekday' ? { weekday: style } : { era: style, year: 'numeric' };\n return new Intl.DateTimeFormat(loc, { ...options, ...(z.timeZone ? { timeZone: z.timeZone } : {}) }).formatToParts(z.date).find(x => x.type === type)?.value ?? '';\n}\n\n/** The locale's AM/PM marker ('a. m.') for a date. Angular decides AM or PM in the requested time zone, so offsets such as '+0200' work. */\nfunction localeDayPeriod(d: Date, loc: string, timeZone?: string): string {\n const pm = formatDate(d, 'a', 'en-US', timeZone) === 'PM';\n const ref = new Date(Date.UTC(2021, 0, 3, pm ? 15 : 3));\n return new Intl.DateTimeFormat(loc, { hour: 'numeric', hour12: true, timeZone: 'UTC' }).formatToParts(ref).find(x => x.type === 'dayPeriod')?.value ?? '';\n}\n\n/**\n * Formats a date with an Angular pattern in the given locale; '' for an empty or unreadable value (never throws).\n *\n * - English (`en-US`): Angular's `formatDate`, exactly what `DatePipe` printed.\n * - Another locale, pattern with only numbers and punctuation ('dd/MM/yyyy', 'MM/dd/yyyy', 'yyyy-MM-dd HH:mm', \"d 'de' y\"): Angular's `formatDate`\n * too, so the host's field ORDER and literal text are kept (a host that asked for month-first never gets day-first). The AM/PM marker 'a' is replaced by the locale's\n * own word first.\n * - Another locale, pattern with a month NAME (MMM, MMMM, named formats like 'mediumDate'): `Intl`, so the month and weekday names, their order and punctuation\n * are the locale's own ('MMM d, y' -> '6 nov 2026'). Quoted literals (and an escaped apostrophe), week-of-year and quarter tokens are not part of that route.\n * A time zone `Intl` rejects but `DatePipe` reads ('GMT+2', '+02:00', 'EST') is applied by shifting the instant, as Angular does; an unreadable one means the local zone.\n * - Another locale, weekday (E, c) or era (G) names mixed with numbers and no month name ('EEE, MM/dd/yyyy', 'yyyy-MM-dd EEE'): Angular's `formatDate` again, with each of\n * those tokens (and AM/PM) replaced by the locale's own word as a quoted literal, so the host's field order and punctuation are kept.\n * `Q` (quarter) is not an Angular `formatDate` token either (it prints as the letter), so it is not supported in any locale, as before.\n */\nexport function uiFormatDate(value: Date | string | number | null | undefined, format = 'mediumDate', locale: string = DEFAULT_LOCALE, timeZone?: string): string {\n const d = toDate(value);\n if (!d) return '';\n const loc = safeLocale(locale);\n try {\n if (isEnglishUs(loc)) return formatDate(d, format, 'en-US', timeZone);\n if (hasMonthName(format)) {\n const z = intlZone(d, timeZone);\n return new Intl.DateTimeFormat(loc, { ...patternToOptions(format), ...(z.timeZone ? { timeZone: z.timeZone } : {}) }).format(z.date);\n }\n // Literal text and the locale's own words (AM/PM, weekday, era) become ONE quoted literal per run (two quoted pieces side by side would read as an escaped apostrophe).\n const parts: PatternPart[] = [];\n for (const p of splitPattern(format)) {\n let part: PatternPart = p;\n if (!p.literal) {\n const n = p.text.length;\n if (/^[abB]+$/.test(p.text)) part = { literal: true, text: localeDayPeriod(d, loc, timeZone) };\n else if (/^[Ec]+$/.test(p.text)) part = { literal: true, text: localeField(d, loc, 'weekday', n === 4 ? 'long' : n === 5 ? 'narrow' : 'short', timeZone) };\n else if (/^G+$/.test(p.text)) part = { literal: true, text: localeField(d, loc, 'era', n === 4 ? 'long' : n === 5 ? 'narrow' : 'short', timeZone) };\n }\n const last = parts[parts.length - 1];\n if (part.literal && last?.literal) last.text += part.text; else parts.push({ ...part });\n }\n const rewritten = parts.map(p => (p.literal ? (p.text ? `'${p.text.replace(/'/g, \"''\")}'` : '') : p.text)).join('');\n return formatDate(d, rewritten, 'en-US', timeZone);\n } catch {\n return '';\n }\n}\n\n/** Formats a number for the locale ('1,234.5' in English). */\nexport function uiFormatNumber(value: number | null | undefined, locale: string = DEFAULT_LOCALE, options?: Intl.NumberFormatOptions): string {\n if (value == null || Number.isNaN(Number(value))) return '';\n try { return new Intl.NumberFormat(safeLocale(locale), options).format(Number(value)); } catch { return String(value); }\n}\n\ntype UsdPlan = 'default' | 'narrow' | 'us';\nconst usdPlans = new Map<string, UsdPlan>();\n\n/** Currencies whose symbol is a plain \"$\" in their own country's locale (peso, dollar, ...): where one of them prints a bare \"$\", the dollar sign is taken by the local money. */\nconst DOLLAR_SIGN_CURRENCIES = [\n 'MXN', 'ARS', 'CLP', 'COP', 'UYU', 'DOP', 'CUP', 'AUD', 'CAD', 'NZD', 'HKD', 'SGD', 'TWD', 'BSD', 'BBD', 'BZD', 'BMD', 'BND', 'FJD', 'GYD', 'JMD', 'KYD', 'LRD', 'NAD', 'SBD', 'SRD', 'TTD', 'XCD',\n];\n\nconst currencyPartOf = (loc: string, currency: string): string | undefined => {\n try { return new Intl.NumberFormat(loc, { style: 'currency', currency }).formatToParts(1).find(p => p.type === 'currency')?.value; } catch { return undefined; }\n};\n\n/**\n * How US dollars are written in a locale (decided once per locale from what the platform's ICU data prints):\n * - `'default'`: the locale's own writing is already unambiguous (\"$\" in en-US / es-US, \"US$\" in en-CA, \"$\" after the amount in de-DE) and is kept;\n * - `'us'`: the locale would print the bare ISO code (\"USD 12.50\") and also uses \"$\" for its own currency (which locales do depends on the ICU data of the browser; es-MX and en-AU are typical): written \"US$12.50\";\n * - `'narrow'`: the locale would print the bare ISO code but has no \"$\" money of its own: the narrow symbol \"$12.50\".\n */\nfunction usdPlan(locale: string): UsdPlan {\n const loc = safeLocale(locale);\n let plan = usdPlans.get(loc);\n if (plan === undefined) {\n if (currencyPartOf(loc, 'USD') !== 'USD') plan = 'default';\n else plan = DOLLAR_SIGN_CURRENCIES.some(c => currencyPartOf(loc, c) === '$') ? 'us' : 'narrow';\n usdPlans.set(loc, plan);\n }\n return plan;\n}\n\n/**\n * `{ currencyDisplay: 'narrowSymbol' }` for US dollars in a locale that would print the bare ISO code (\"USD 12.50\") and has no \"$\" money of its own, else `{}`.\n * A locale where \"$\" also names the local currency (it depends on the ICU data which ones do; es-MX and en-AU are typical, some ICU versions already print \"US$\" for es-AR) gets `{}` here because a bare \"$\" would be ambiguous: use `uiCurrencyFormatter` (or\n * `uiFormatCurrency`), which writes \"US$12.50\" there when the data would otherwise print a bare \"$\". Other currencies always get `{}`.\n */\nexport function usdCurrencyDisplay(currency: string, locale: string = DEFAULT_LOCALE): { currencyDisplay?: 'narrowSymbol' } {\n return currency === 'USD' && usdPlan(locale) === 'narrow' ? { currencyDisplay: 'narrowSymbol' } : {};\n}\n\n/**\n * A number formatter for money. The rule for US dollars (see `usdPlan`): \"$12.50\" in en-US / es-US, the locale's own unambiguous writing where it has one\n * (en-CA \"US$12.50\", de-DE \"12,50 $\", ja-JP \"$12.50\"), \"US$12.50\" where the locale would print the bare \"USD\" and its own money also uses \"$\" (depends on the ICU data: es-MX and en-AU are typical; where ICU already prints \"US$\" nothing is added).\n * An explicit `currencyDisplay` in `options` and every other currency are left to Intl. Works on `formatToParts`, so it does not depend on one ICU version's patterns.\n */\nexport function uiCurrencyFormatter(currency: string, locale: string = DEFAULT_LOCALE, options?: Intl.NumberFormatOptions): Pick<Intl.NumberFormat, 'format'> {\n const loc = safeLocale(locale);\n const plan: UsdPlan = currency === 'USD' && !options?.currencyDisplay ? usdPlan(loc) : 'default';\n const nf = new Intl.NumberFormat(loc, { style: 'currency', currency, ...(plan === 'narrow' ? { currencyDisplay: 'narrowSymbol' as const } : {}), ...options });\n if (plan !== 'us') return nf;\n return {\n format: (value: number | bigint): string => {\n const parts = nf.formatToParts(value as number);\n const firstDigit = parts.findIndex(p => p.type === 'integer');\n let out = '';\n parts.forEach((p, i) => {\n if (p.type === 'currency' && p.value === 'USD') { out += 'US$'; return; }\n // \"US$\" hugs the amount (\"US$12.50\") where the locale put a space between the code and the digits\n if (p.type === 'literal' && /^\\s+$/.test(p.value) && i > 0 && parts[i - 1].type === 'currency' && i < firstDigit) return;\n out += p.value;\n });\n return out;\n },\n };\n}\n\n/** Formats an amount of money for the locale ('$1,234.50'). US dollars follow the rule on `uiCurrencyFormatter`. */\nexport function uiFormatCurrency(value: number | null | undefined, currency = 'USD', locale: string = DEFAULT_LOCALE, options?: Intl.NumberFormatOptions): string {\n if (value == null || Number.isNaN(Number(value))) return '';\n try { return uiCurrencyFormatter(currency, locale, options).format(Number(value)); } catch { return String(value); }\n}\n\n/** The month's name (0 = January) in the locale: 'Jan' / 'January' / 'ene' / 'enero'. */\nexport function uiMonthName(month: number, style: 'long' | 'short' | 'narrow' = 'short', locale: string = DEFAULT_LOCALE): string {\n return new Intl.DateTimeFormat(safeLocale(locale), { month: style, timeZone: 'UTC' }).format(new Date(Date.UTC(2021, month, 15)));\n}\n\n/** The weekday's name (0 = Sunday) in the locale: 'Sun' / 'Sunday' / 'dom' / 'domingo'. */\nexport function uiWeekdayName(day: number, style: 'long' | 'short' | 'narrow' = 'short', locale: string = DEFAULT_LOCALE): string {\n return new Intl.DateTimeFormat(safeLocale(locale), { weekday: style, timeZone: 'UTC' }).format(new Date(Date.UTC(2021, 0, 3 + day)));\n}\n\n/** \"9:00 AM\" (English) / \"9:00 a. m.\" (Spanish) for an hour (0-23) and minute. */\nexport function uiFormatClock(hour: number, minute = 0, locale: string = DEFAULT_LOCALE): string {\n const loc = safeLocale(locale);\n if (isEnglishUs(loc)) return `${hour % 12 || 12}:${String(minute).padStart(2, '0')} ${hour >= 12 ? 'PM' : 'AM'}`;\n return new Intl.DateTimeFormat(loc, { hour: 'numeric', minute: '2-digit', timeZone: 'UTC' }).format(new Date(Date.UTC(2021, 0, 3, hour, minute)));\n}\n\n/** \"9 AM\" (English) / \"9 a. m.\" (Spanish): an hour with no minutes, for calendar gutters. */\nexport function uiFormatHour(hour: number, locale: string = DEFAULT_LOCALE): string {\n const loc = safeLocale(locale);\n if (isEnglishUs(loc)) return `${hour % 12 || 12} ${hour >= 12 ? 'PM' : 'AM'}`;\n return new Intl.DateTimeFormat(loc, { hour: 'numeric', timeZone: 'UTC' }).format(new Date(Date.UTC(2021, 0, 3, hour)));\n}\n","import { DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE } from '@angular/common';\nimport { Injectable, OnDestroy, Signal, computed, inject, signal } from '@angular/core';\nimport {\n DEFAULT_LOCALE, safeLocale, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiMonthName, uiWeekdayName,\n} from './ui-format';\n\n/**\n * Every fixed text the library shows itself (button captions, aria-labels, empty messages ...), in English. These are the defaults:\n * an app that does nothing sees exactly the texts it always has. To translate, the app hands `UiLabelsService.setLabels()` a\n * dictionary with the same keys (any subset - a missing key keeps its English default). Texts a host passes in through an input\n * (`title`, `placeholder`, `emptyMessage` ...) always win over both.\n *\n * Placeholders are written `{{ name }}` (the same syntax Transloco uses, so one dictionary file can serve both). Two texts hold LITERAL merge tags\n * (`emailTemplateEditor.subjectPlaceholder`, `messagingSendMessagePanel.bulkMergeTagHint`): a dictionary handed to another interpolating system must escape them.\n *\n * Language and locale: the dictionary carries the locale of its dates, times and numbers in the `i18n.locale` marker ('en-US' / 'es-US'), so\n * handing `setLabels()` the Spanish dictionary alone gives Spanish texts AND Spanish dates (`provideUiLanguage()` does this for you; the dictionary is a lazy chunk, see ui-language.ts). An app that calls `setLocale()` keeps full control (e.g. 'es-MX'); a\n * dictionary of another language without the marker gets 'en-US' dates until the app sets a locale.\n *\n * Known limitation (ambient `uiText()` / `uiLocale()`): they read ONE process-wide service, the last `UiLabelsService` that was constructed.\n * That is right for a browser app (one root injector). It is NOT safe for server-side rendering with concurrent requests or for several Angular\n * roots on one page with different languages: there the helper functions can answer in another root's language. Components always use their own\n * injected service and are not affected; only the plain helper functions (error messages, validators, formatters without an injector) are.\n * Destroying a service hands the ambient role back to the previous one that is still alive (not to English).\n */\nexport const UI_DEFAULT_LABELS = {\n // pagination\n 'pagination.label': 'Pagination',\n 'pagination.previous': 'Previous page',\n 'pagination.next': 'Next page',\n 'pagination.page': 'Page {{ page }}',\n 'pagination.range': '{{ start }}–{{ end }} of {{ total }}',\n // offline banner\n 'offline.title': 'You are currently offline',\n 'offline.message': 'Some features may not work properly. Please check your internet connection.',\n 'offline.dismiss': 'Dismiss offline notification',\n // search input\n 'search.placeholder': 'Search...',\n 'search.searching': 'Searching',\n 'search.open': 'Open search',\n 'search.close': 'Close search',\n // table toolbar\n 'toolbar.moreActions': 'More actions',\n 'toolbar.moreActionsButton': 'More Actions',\n 'toolbar.saveCurrentView': 'Save Current View',\n 'toolbar.columns': 'Columns',\n 'toolbar.columnsDescription': 'Toggle columns on or off, then click Apply to update your table.',\n 'toolbar.cancel': 'Cancel',\n 'toolbar.apply': 'Apply',\n 'toolbar.savedViews': 'Saved Views',\n 'toolbar.noSavedViews': 'No saved views yet.',\n 'toolbar.deleteView': 'Delete {{ name }}',\n 'toolbar.done': 'Done',\n 'toolbar.saveView': 'Save View',\n 'toolbar.viewName': 'View Name',\n 'toolbar.viewNamePlaceholder': 'My Custom View',\n 'toolbar.save': 'Save',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.logOut': 'Log out',\n 'appShell.mainNavigation': 'Main navigation',\n 'appShell.readOnly': 'Read only',\n 'appShell.siteNavigation': 'Site navigation',\n 'appShell.skipToMainContent': 'Skip to main content',\n 'appShell.thisPageIsReadOnly': 'This page is read-only',\n 'appShell.toggleNavigation': 'Toggle navigation',\n 'audioPlayer.audioCouldNotBePlayed': 'Audio could not be played.',\n 'audioPlayer.yourBrowserDoesNotSupport': 'Your browser does not support the audio element.',\n 'bankAccountForm.9DigitRoutingNumber': '9-digit routing number',\n 'bankAccountForm.accountHolderName': 'Account holder name',\n 'bankAccountForm.accountNumber': 'Account number',\n 'bankAccountForm.accountType': 'Account type',\n 'bankAccountForm.confirmAccountNumber': 'Confirm account number',\n 'bankAccountForm.holderType': 'Holder type',\n 'bankAccountForm.reEnterAccountNumber': 'Re-enter account number',\n 'bankAccountForm.routingNumber': 'Routing number',\n 'board.dragACardToAnother': 'Drag a card to another column to move it, or focus a card and press Shift with the Left or Right Arrow key.',\n 'bulkMessagePanel.sendBulkMessage': 'Send Bulk Message',\n 'bulkMessagePanel.sendVia': 'Send via',\n 'bulkMessagePanel.sendingTo': 'Sending to',\n 'bulkMessagePanel.subjectLine': 'Subject line',\n 'bulkMessagePanel.writeYourMessage': 'Write your message...',\n 'businessHours.addShift': 'Add shift',\n 'businessHours.closed': 'Closed',\n 'businessHours.copyMondayToWeekdays': 'Copy Monday to weekdays',\n 'businessHours.removeShift': 'Remove shift',\n 'businessHours.to': 'to',\n 'calendar.all': 'All',\n 'calendar.allDay': 'All day',\n 'calendar.calendarView': 'Calendar view',\n 'calendar.loadingCalendar': 'Loading calendar',\n 'chartsPieChart.noData': 'No data',\n 'confirm.whatWillHappen': 'What will happen',\n 'contactPicker.clearSelection': 'Clear selection',\n 'contactPicker.noContactsFound': 'No contacts found',\n 'contactPicker.recipientDetails': 'RECIPIENT DETAILS',\n 'contactPicker.searching': 'Searching...',\n 'conversations.unread': 'unread',\n 'dateRangePicker.customDateRange': 'Custom date range',\n 'dateRangePicker.from': 'From',\n 'dateRangePicker.to': 'To',\n 'discountSelector.discounts': 'Discounts',\n 'emailTemplateEditor.activeFrom': 'Active From',\n 'emailTemplateEditor.activeTo': 'Active To',\n 'emailTemplateEditor.addBlock': 'Add Block',\n 'emailTemplateEditor.alignCenter': 'Align center',\n 'emailTemplateEditor.alignLeft': 'Align left',\n 'emailTemplateEditor.alignRight': 'Align right',\n 'emailTemplateEditor.altTextOptional': 'Alt text (optional)',\n 'emailTemplateEditor.assignments': 'Assignments',\n 'emailTemplateEditor.blockSpacing': 'Block spacing',\n 'emailTemplateEditor.blocks': 'Blocks',\n 'emailTemplateEditor.bold': 'Bold',\n 'emailTemplateEditor.bulletedList': 'Bulleted list',\n 'emailTemplateEditor.buttonLabel': 'Button label',\n 'emailTemplateEditor.callToAction': 'Call-to-Action',\n 'emailTemplateEditor.callToActionAddress': 'Call-to-action address',\n 'emailTemplateEditor.callToActionButtonLabel': 'Call-to-action button label',\n 'emailTemplateEditor.caption': 'Caption',\n 'emailTemplateEditor.category': 'Category',\n 'emailTemplateEditor.clickAVariableToInsert': 'Click a variable to insert it at the cursor position.',\n 'emailTemplateEditor.clickAVideoToAdd': 'Click a video to add it as a new block in your email.',\n 'emailTemplateEditor.clickToInsertOrDrag': 'Click to insert or drag into the editor.',\n 'emailTemplateEditor.contentBlocks': 'Content Blocks',\n 'emailTemplateEditor.deleteBlock': 'Delete block',\n 'emailTemplateEditor.dragToReorder': 'Drag to reorder',\n 'emailTemplateEditor.dropHere': 'Drop here',\n 'emailTemplateEditor.duplicateBlock': 'Duplicate block',\n 'emailTemplateEditor.eGClickToWatch': 'e.g. Click to watch my video for you',\n 'emailTemplateEditor.editorView': 'Editor view',\n 'emailTemplateEditor.emailDesign': 'Email design',\n 'emailTemplateEditor.emailPreview': 'Email preview',\n 'emailTemplateEditor.fontSize': 'Font size',\n 'emailTemplateEditor.headingLevel': 'Heading level',\n 'emailTemplateEditor.hideReactions': 'Hide Reactions',\n 'emailTemplateEditor.imageAddress': 'Image address',\n 'emailTemplateEditor.imageAltText': 'Image alt text',\n 'emailTemplateEditor.insertImage': 'Insert image',\n 'emailTemplateEditor.insertImage2': 'Insert Image',\n 'emailTemplateEditor.insertLink': 'Insert link',\n 'emailTemplateEditor.insertLink2': 'Insert Link',\n 'emailTemplateEditor.italic': 'Italic',\n 'emailTemplateEditor.linkAddress': 'Link address',\n 'emailTemplateEditor.linkText': 'Link text',\n 'emailTemplateEditor.linkTextOptional': 'Link text (optional)',\n 'emailTemplateEditor.loadingVideos': 'Loading videos',\n 'emailTemplateEditor.mobileEmailPreview': 'Mobile email preview',\n 'emailTemplateEditor.moveBlockDown': 'Move block down',\n 'emailTemplateEditor.moveBlockUp': 'Move block up',\n 'emailTemplateEditor.noAssignmentsFound': 'No assignments found',\n 'emailTemplateEditor.noAssignmentsMatchYourSearch': 'No assignments match your search.',\n 'emailTemplateEditor.noBlocksFound': 'No blocks found',\n 'emailTemplateEditor.noBlocksMatchYourSearch': 'No blocks match your search.',\n 'emailTemplateEditor.noVideosCreated': 'No videos created',\n 'emailTemplateEditor.numberedList': 'Numbered list',\n 'emailTemplateEditor.playback': 'Playback',\n 'emailTemplateEditor.readOnly': 'Read only',\n 'emailTemplateEditor.recipientEmail': 'Recipient Email',\n 'emailTemplateEditor.redo': 'Redo',\n 'emailTemplateEditor.rightPanelSections': 'Right panel sections',\n 'emailTemplateEditor.saveTemplate': 'Save Template',\n 'emailTemplateEditor.saveTheTemplateFirstBefore': 'Save the template first before sending a test.',\n 'emailTemplateEditor.searchAssignments': 'Search assignments',\n 'emailTemplateEditor.searchBlocks': 'Search blocks...',\n 'emailTemplateEditor.searchBlocks2': 'Search blocks',\n 'emailTemplateEditor.sendTestEmail': 'Send Test Email',\n 'emailTemplateEditor.sendThisTemplateToAn': 'Send this template to an email address to preview how it will look in an inbox.',\n 'emailTemplateEditor.size': 'Size',\n 'emailTemplateEditor.templateDetails': 'Template details',\n 'emailTemplateEditor.templateVariables': 'Template Variables',\n 'emailTemplateEditor.testSend': 'Test Send',\n 'emailTemplateEditor.textColor': 'Text color',\n 'emailTemplateEditor.textFormatting': 'Text formatting',\n 'emailTemplateEditor.underline': 'Underline',\n 'emailTemplateEditor.undo': 'Undo',\n 'emailTemplateEditor.useAsMyTemplate': 'Use as My Template',\n 'emailTemplateEditor.useThisTemplateAllYear': 'Use this template all year',\n 'emailTemplateEditor.variables': 'Variables',\n 'emailTemplateEditor.videoLibrary': 'Video Library',\n 'emailTemplateEditor.youHaveUnsavedChangesThe': 'You have unsaved changes. The test email sends the last saved version of this template.',\n 'imageGallery.nextImage': 'Next image',\n 'imageGallery.previousImage': 'Previous image',\n 'imageReposition.dragThePhotoOrUse': 'Drag the photo, or use the arrow keys, to center it in the frame.',\n 'importExport.allRequiredColumnsMatchedAutomatically': 'All required columns matched automatically. Review below or click',\n 'importExport.clickToChooseACsv': 'Click to choose a CSV file',\n 'importExport.errors': 'Errors:',\n 'importExport.exportAllRecordsToCsv': 'Export all records to CSV',\n 'importExport.importDataPreview': 'Import data preview',\n 'importExport.importProgress': 'Import progress',\n 'importExport.importRecordsFromCsv': 'Import records from CSV',\n 'importExport.importResult': 'Import result',\n 'importExport.importedWithChanges': 'Imported with changes:',\n 'importExport.keepThisWindowOpenUntil': 'Keep this window open until it finishes.',\n 'importExport.previewImport': 'Preview Import',\n 'importExport.recordSImported_one': 'record(s) imported',\n 'importExport.recordSImported_other': 'record(s) imported',\n 'importExport.rowSHadErrors_one': 'row(s) had errors',\n 'importExport.rowSHadErrors_other': 'row(s) had errors',\n 'importExport.sampleValue': 'Sample Value',\n 'importExport.selectWhereYouReImporting': 'Select where you\\'re importing from. We\\'ll automatically match the columns from your export file.',\n 'importExport.startWithOurCsvTemplate': 'Start with our CSV template to ensure correct column names.',\n 'importExport.supportedCsvFiles': 'Supported: .csv files',\n 'importExport.toContinue': 'to continue.',\n 'importExport.valueSChangedDuringImport_one': 'value(s) changed during import',\n 'importExport.valueSChangedDuringImport_other': 'value(s) changed during import',\n 'importExport.yourCsvColumn': 'Your CSV Column',\n 'keypad.deleteLastDigit': 'Delete last digit',\n 'mapsUsStateMap.smallStates': 'Small states',\n 'mapsUsStateMap.valuesByState': 'Values by state',\n 'messagingDocumentSendOptions.chosenDocuments': 'Chosen documents',\n 'messagingDocumentSendOptions.documentsCanOnlyBeTexted': 'Documents can only be texted as an e-signature link, which isn\\'t available here.',\n 'messagingDocumentSendOptions.docusignEmailsTheDocumentTo': 'DocuSign emails the document to the recipient. The Subject and Message above are used for the DocuSign email.',\n 'messagingDocumentSendOptions.expiryDays': 'Expiry (days)',\n 'messagingDocumentSendOptions.includedDocuments': 'Included documents',\n 'messagingDocumentSendOptions.maxReminders': 'Max Reminders',\n 'messagingDocumentSendOptions.reminderIntervalDays': 'Reminder Interval (days)',\n 'messagingDocumentSendOptions.requireMyCountersignatureAfterClient': 'Require my countersignature after client signs',\n 'messagingDocumentSendOptions.searchForAContact': 'Search for a contact…',\n 'messagingDocumentSendOptions.searchYourDocumentsByName': 'Search your documents by name…',\n 'messagingDocumentSendOptions.signatureProvider': 'Signature provider',\n 'messagingDocumentSendOptions.signers': 'Signers',\n 'messagingDocumentSendOptions.signersAreEmailedOneAfter': 'Signers are emailed one after another, in this order; each receives the link after the previous one signs.',\n 'messagingDocumentSendOptions.whatShouldTheRecipientDo': 'What should the recipient do?',\n 'messagingSendMessagePanel.addEmailAddress': 'Add Email Address',\n 'messagingSendMessagePanel.addImageMediaMms': 'Add Image / Media (MMS)',\n 'messagingSendMessagePanel.addPhoneNumber': 'Add Phone Number',\n 'messagingSendMessagePanel.applyValue': 'Apply value',\n 'messagingSendMessagePanel.attachFiles': 'Attach Files',\n 'messagingSendMessagePanel.attachImage': 'Attach Image',\n 'messagingSendMessagePanel.attachments': 'Attachments',\n 'messagingSendMessagePanel.backToTemplates': 'Back to templates',\n 'messagingSendMessagePanel.body': 'Body',\n 'messagingSendMessagePanel.channelLockedWhileSending': 'Channel locked while sending.',\n 'messagingSendMessagePanel.closePreview': 'Close preview',\n 'messagingSendMessagePanel.emailPreview': 'Email Preview',\n 'messagingSendMessagePanel.emailSubject': 'Email subject...',\n 'messagingSendMessagePanel.headsUp': 'Heads up',\n 'messagingSendMessagePanel.noEmailAddressOnFile': 'No email address on file for this contact.',\n 'messagingSendMessagePanel.noJobsFound': 'No jobs found',\n 'messagingSendMessagePanel.noPhoneNumberOnFile': 'No phone number on file for this contact.',\n 'messagingSendMessagePanel.raw': 'Raw',\n 'messagingSendMessagePanel.recipients': 'Recipients',\n 'messagingSendMessagePanel.removeAttachment': 'Remove attachment',\n 'messagingSendMessagePanel.saveContinue': 'Save & Continue',\n 'messagingSendMessagePanel.scheduleForLater': 'Schedule for later',\n 'messagingSendMessagePanel.searchByContactName': 'Search by contact name...',\n 'messagingSendMessagePanel.searchByJobName': 'Search by job name…',\n 'messagingSendMessagePanel.sendAt': 'Send at',\n 'messagingSendMessagePanel.sendVia': 'Send via',\n 'messagingSendMessagePanel.sentAsSmsKeepMessages': 'Sent as SMS. Keep messages concise for best delivery.',\n 'messagingSendMessagePanel.separateAddressesWithCommasEveryone': 'Separate addresses with commas. Everyone listed receives a copy.',\n 'messagingSendMessagePanel.subject': 'SUBJECT',\n 'messagingSendMessagePanel.subject2': 'Subject...',\n 'messagingSendMessagePanel.textMessagingIsNotEnabled': 'Text messaging is not enabled. Connect Twilio in Comm Settings to send texts.',\n 'messagingSendMessagePanel.textPreview': 'Text Preview',\n 'messagingSendMessagePanel.theDocumentsAreTextedAs': 'The documents are texted as a link after your message. Images and scheduling aren\\'t available when sending documents.',\n 'messagingSendMessagePanel.thisTemplateHasFieldsThat': 'This template has fields that need values before sending.',\n 'messagingSendMessagePanel.to': 'To',\n 'messagingSendMessagePanel.viewSendPreview': 'View Send Preview',\n 'messagingSendMessagePanel.whoWouldYouLikeTo': 'Who would you like to message?',\n 'messagingSendMessagePanel.writeYourMessage': 'Write your message...',\n 'messagingSendMessagePanel.yourMessageGoesOutWith': 'Your message goes out with the documents. Attachments and scheduling aren\\'t available when sending documents.',\n 'messagingTemplatePicker.noTemplatesFound': 'No templates found',\n 'messagingTemplatePicker.searchTemplates': 'Search templates...',\n 'messagingTemplatePicker.searching': 'Searching...',\n 'messagingVideoLinkSettings.buttonLabelEGBook': 'Button label (e.g. Book a Call)',\n 'messagingVideoLinkSettings.callToAction': 'Call-to-Action',\n 'messagingVideoLinkSettings.callToActionLabel': 'Call-to-action label',\n 'messagingVideoLinkSettings.callToActionUrl': 'Call-to-action URL',\n 'messagingVideoLinkSettings.hideReactions': 'Hide reactions',\n 'messagingVideoLinkSettings.playback': 'Playback',\n 'messagingVideoLinkSettings.removeVideo': 'Remove Video',\n 'messagingVideoLinkSettings.videoSettings': 'Video settings',\n 'messagingVideoLinkSettings.watchPreviewOpensInA': 'Watch Preview (opens in a new tab)',\n 'messagingVideoPicker.noVideosFound': 'No videos found',\n 'messagingVideoPicker.removeVideo': 'Remove video',\n 'messagingVideoPicker.searchVideos': 'Search videos...',\n 'messagingVideoPicker.searching': 'Searching...',\n 'multiSelect.noOptionsFound': 'No options found',\n 'notes.addANote': 'Add a note',\n 'notes.addANote2': 'Add a note...',\n 'notes.addNote': 'Add Note',\n 'notes.deleteNote': 'Delete note',\n 'notes.deleteNote2': 'Delete Note',\n 'notes.deleteThisNoteItIs': 'Delete this note? It is permanently removed from this record and cannot be undone.',\n 'notes.editNote': 'Edit note',\n 'notes.edited': 'edited',\n 'notes.loadingNotes': 'Loading notes...',\n 'notes.noNotesYet': 'No notes yet',\n 'notes.notes': 'Notes',\n 'optionCard.selected': 'Selected',\n 'panelInfoList.noInformationAvailable': 'No information available.',\n 'paymentSidePanel.addAsSplitPayment': 'Add as split payment',\n 'paymentSidePanel.applyPaymentTo': 'Apply payment to',\n 'paymentSidePanel.check': 'Check #',\n 'paymentSidePanel.chooseAReader': 'Choose a reader...',\n 'paymentSidePanel.clearPaymentMethod': 'Clear payment method',\n 'paymentSidePanel.enterAmount': 'Enter amount',\n 'paymentSidePanel.last4DigitsOfAccount': 'Last 4 digits of account',\n 'paymentSidePanel.last4DigitsOfCard': 'Last 4 digits of card',\n 'paymentSidePanel.optionalNote': 'Optional note',\n 'paymentSidePanel.outstandingBalance': 'Outstanding Balance',\n 'paymentSidePanel.paymentMethod': 'Payment Method',\n 'paymentSidePanel.previouslyUsed': 'Previously Used',\n 'paymentSidePanel.receivedDate': 'Received Date',\n 'paymentSidePanel.recordedSoFar': 'Recorded so far',\n 'paymentSidePanel.recordingPayment': 'Recording payment...',\n 'paymentSidePanel.refreshReaderStatus': 'Refresh reader status',\n 'paymentSidePanel.retryRecording': 'Retry recording',\n 'paymentSidePanel.selectPaymentMethod': 'Select payment method',\n 'paymentSidePanel.selectReader': 'Select Reader',\n 'paymentSidePanel.splitPayment': 'Split Payment',\n 'paymentSidePanel.waitingForCustomerToTap': 'Waiting for customer to tap or insert card...',\n 'pdfDocumentSignModal.yourSavedSignature': 'Your saved signature',\n 'pdfDocumentViewerModal.downloadDocument': 'Download document',\n 'pdfDocumentViewerModal.printDocument': 'Print document',\n 'phoneNumberPicker.areaCode': 'Area code',\n 'phoneNumberPicker.availablePhoneNumbers': 'Available phone numbers',\n 'phoneNumberPicker.backToResults': 'Back to results',\n 'phoneNumberPicker.couldnTSearchForNumbers': 'Couldn\\'t search for numbers. Try again.',\n 'phoneNumberPicker.searchBy': 'Search by',\n 'phoneNumberPicker.tryADifferentZipCode': 'Try a different ZIP code or area code.',\n 'phoneNumberPicker.weLlLookForNumbers': 'We\\'ll look for numbers near this ZIP code. Edit it if you want a different area.',\n 'phoneNumberPicker.weLlLookForNumbers2': 'We\\'ll look for numbers in this area code.',\n 'phoneNumberPicker.zipCode': 'ZIP code',\n 'qrCode.downloadQrCode': 'Download QR Code',\n 'qrCode.longPressTheImageAbove': 'Long-press the image above to save it.',\n 'qrCode.qrCodeUnavailableCopyThe': 'QR code unavailable. Copy the link below instead.',\n 'richTextEditor.aa': 'Aa',\n 'richTextEditor.alignCenter': 'Align center',\n 'richTextEditor.alignCenter2': 'Align Center',\n 'richTextEditor.alignLeft': 'Align left',\n 'richTextEditor.alignLeft2': 'Align Left',\n 'richTextEditor.alignRight': 'Align right',\n 'richTextEditor.alignRight2': 'Align Right',\n 'richTextEditor.bold': 'Bold',\n 'richTextEditor.boldCtrlB': 'Bold (Ctrl+B)',\n 'richTextEditor.bulletList': 'Bullet list',\n 'richTextEditor.bulletList2': 'Bullet List',\n 'richTextEditor.clearFormatting': 'Clear formatting',\n 'richTextEditor.clearFormatting2': 'Clear Formatting',\n 'richTextEditor.fontFamily': 'Font family',\n 'richTextEditor.fontFamily2': 'Font Family',\n 'richTextEditor.fontSize': 'Font size',\n 'richTextEditor.fontSize2': 'Font Size',\n 'richTextEditor.headingStyle': 'Heading style',\n 'richTextEditor.headingStyle2': 'Heading Style',\n 'richTextEditor.highlightColor': 'Highlight Color',\n 'richTextEditor.highlightColor2': 'Highlight color',\n 'richTextEditor.indent': 'Indent',\n 'richTextEditor.italic': 'Italic',\n 'richTextEditor.italicCtrlI': 'Italic (Ctrl+I)',\n 'richTextEditor.numberedList': 'Numbered list',\n 'richTextEditor.numberedList2': 'Numbered List',\n 'richTextEditor.outdent': 'Outdent',\n 'richTextEditor.removeLink': 'Remove link',\n 'richTextEditor.strikethrough': 'Strikethrough',\n 'richTextEditor.textColor': 'Text Color',\n 'richTextEditor.textColor2': 'Text color',\n 'richTextEditor.textFormatting': 'Text formatting',\n 'richTextEditor.underline': 'Underline',\n 'richTextEditor.underlineCtrlU': 'Underline (Ctrl+U)',\n 'richTextEditor.webAddress': 'Web address',\n 'setupWizard.setupProgress': 'Setup progress',\n 'shareMenu.shareOptions': 'Share options',\n 'sidePanel.dismissPanel': 'Dismiss panel',\n 'snackbar.dismissNotification': 'Dismiss notification',\n 'snackbar.notifications': 'Notifications',\n 'stripeMicrodepositVerify.6LettersOrNumbersFrom': '6 letters or numbers (SM plus 4) from the deposit description',\n 'stripeMicrodepositVerify.firstDepositCents': 'First deposit (cents)',\n 'stripeMicrodepositVerify.keepWaiting': 'Keep waiting',\n 'stripeMicrodepositVerify.openStripeSVerificationPage': 'Open the bank verification page',\n 'stripeMicrodepositVerify.pending': 'Pending',\n 'stripeMicrodepositVerify.secondDepositCents': 'Second deposit (cents)',\n 'stripeMicrodepositVerify.verificationCode': 'Verification code',\n 'stripePaymentStripeMethod.paymentDetails': 'Payment details',\n 'stripePaymentStripeMethod.paymentTotal': 'Payment total',\n 'stripePaymentStripeMethod.totalCharged': 'Total charged',\n 'stripeStripeConnect.accountSetupComplete': 'Account setup complete',\n 'stripeStripeConnect.accountSetupIncomplete': 'Account setup incomplete',\n 'stripeStripeConnect.checkStatusBusy': 'Check Status, busy',\n 'stripeStripeConnect.checking': 'Checking...',\n 'stripeStripeConnect.completeSetupOpensInA': 'Complete Setup, opens in a new tab, busy',\n 'stripeStripeConnect.completeYourStripeAccountSetup': 'Complete your Stripe account setup to start collecting payments from customers.',\n 'stripeStripeConnect.stripeIsVerifyingYourAccount': 'Stripe is verifying your account',\n 'stripeStripeConnect.viewStripeDashboard': 'View Stripe Dashboard',\n 'stripeStripeConnect.yourSetupHasBeenSubmitted': 'Your setup has been submitted. Stripe is reviewing your information — this usually takes a few minutes. Payment collection will be enabled automatically once approved.',\n 'textInput.showPassword': 'Show password',\n 'toast.dismissNotification': 'Dismiss notification',\n 'common.actions': 'Actions',\n 'common.back': 'Back',\n 'common.details': 'Details',\n 'common.done': 'Done',\n 'common.download': 'Download',\n 'common.edit': 'Edit',\n 'common.email': 'Email',\n 'common.export': 'Export',\n 'common.import': 'Import',\n 'common.insert': 'Insert',\n 'common.link': 'Link',\n 'common.loadingellipsis': 'Loading...',\n 'common.message': 'Message',\n 'common.mobile': 'Mobile',\n 'common.name': 'Name',\n 'common.next': 'Next',\n 'common.note': 'Note',\n 'common.phone': 'Phone',\n 'common.preview': 'Preview',\n 'common.previous': 'Previous',\n 'common.print': 'Print',\n 'common.retry': 'Retry',\n 'common.save': 'Save',\n 'common.searchellipsis': 'Search...',\n 'common.select': 'Select',\n 'common.share': 'Share',\n 'common.subject': 'Subject',\n 'common.text': 'Text',\n 'common.today': 'Today',\n 'common.video': 'Video',\n 'common.view': 'View',\n // component texts (generated by the template pass, grouped by component)\n 'addressInput.cityLabel': 'City',\n 'addressInput.label': 'Address',\n 'addressInput.stateLabel': 'State',\n 'addressInput.streetLabel': 'Street Address',\n 'addressInput.unitLabel': 'Apt / Suite',\n 'addressInput.zipError': 'Enter a valid ZIP code.',\n 'avatar.editLabel': 'Change photo',\n 'board.ariaLabel': 'Board',\n 'board.emptyColumnText': 'Nothing here yet',\n 'board.emptyMessage': 'Nothing to show.',\n 'board.retryLabel': 'Retry',\n 'calendar.emptyMessage': 'No events in this period.',\n 'cardListItem.deleteLabel': 'Delete',\n 'combobox.noResultsText': 'No results found',\n 'contactPicker.placeholder': 'Search by name...',\n 'conversations.attachLabel': 'Attach image or video',\n 'conversations.attachmentPreviewLabel': 'Attachment preview',\n 'conversations.backLabel': 'Back to conversations',\n 'conversations.closeContextLabel': 'Close contact info',\n 'conversations.composeLabel': 'Type a message',\n 'conversations.composePlaceholder': 'Type a message...',\n 'conversations.contextTitle': 'Contact Info',\n 'conversations.deleteRowLabel': 'Delete conversation with',\n 'conversations.deleteThreadLabel': 'Delete conversation',\n 'conversations.emptyMessage': 'Click the + button to start messaging',\n 'conversations.emptyReadOnlyMessage': 'Conversations will appear here once texting starts.',\n 'conversations.emptyTitle': 'No conversations yet',\n 'conversations.fileFallbackName': 'Attachment',\n 'conversations.filterAriaLabel': 'Filter conversations',\n 'conversations.filteredEmptyMessage': 'No conversation matches your search or filter.',\n 'conversations.filteredEmptyTitle': 'No conversations found',\n 'conversations.hideContextLabel': 'Hide contact info',\n 'conversations.linkEmptyText': 'No records found.',\n 'conversations.linkLabel': 'Link a record',\n 'conversations.linkLoadingText': 'Loading...',\n 'conversations.linkPickerTitle': 'Link a Record',\n 'conversations.linkSearchLabel': 'Search records',\n 'conversations.linkSearchPlaceholder': 'Search...',\n 'conversations.listAriaLabel': 'Conversations',\n 'conversations.loadEarlierLabel': 'Load earlier messages',\n 'conversations.loadingLabel': 'Loading conversations',\n 'conversations.messagesAriaLabel': 'Messages with',\n 'conversations.newLabel': 'Start new message',\n 'conversations.newTooltip': 'New message',\n 'conversations.noMessagesReadText': 'No messages in this conversation yet.',\n 'conversations.noMessagesText': 'No messages',\n 'conversations.noMessagesWriteText': 'No messages in this conversation yet. Send the first message below.',\n 'conversations.openMediaLabel': 'Open',\n 'conversations.paginationAriaLabel': 'Conversation pages',\n 'conversations.removeAttachmentLabel': 'Remove attachment',\n 'conversations.removeLinkLabel': 'Remove link',\n 'conversations.searchAriaLabel': 'Search conversations',\n 'conversations.searchPlaceholder': 'Search by name or phone...',\n 'conversations.sendLabel': 'Send message',\n 'conversations.showContextLabel': 'Show contact info',\n 'conversations.sizeMessage': 'That file is too large.',\n 'conversations.templateLabel': 'Use a template',\n 'conversations.threadAriaLabel': 'Message thread',\n 'conversations.threadEmptyMessage': 'Choose a conversation from the list or start a new one',\n 'conversations.threadEmptyTitle': 'Select a conversation',\n 'conversations.title': 'Messages',\n 'conversations.typeMessage': 'Only image and video files are supported.',\n 'conversations.youLabel': 'You',\n 'copyField.copiedLabel': 'Copied',\n 'copyField.copiedMessage': 'Copied to clipboard',\n 'copyField.copyLabel': 'Copy',\n 'copyField.failedMessage': 'Could not copy automatically. The text is selected: press Ctrl+C (Cmd+C on a Mac) to copy it.',\n 'dateRangePicker.ariaLabel': 'Date range',\n 'detailCard.editLabel': 'Edit',\n 'discountSelector.emptyMessage': 'No discounts available. Create discounts in Settings.',\n 'emailTemplateEditor.assignmentsDescription': 'Assign this template to at least one automated email trigger. When triggered, the system will send this template.',\n 'emailTemplateEditor.categoryPlaceholder': 'Select category...',\n 'emailTemplateEditor.namePlaceholder': 'e.g. Follow-Up — Friendly',\n 'emailTemplateEditor.noVideosHint': 'Upload videos on the Video Messages page.',\n 'emailTemplateEditor.readOnlyNote': 'You have read-only access to email templates, so this template can be viewed but not saved.',\n // NOTE: the next text holds a literal merge tag ({{property_address}}) that must reach the screen as written. UiLabelsService leaves a placeholder it was given no value for\n // visible, so it is safe here; a dictionary fed to ANOTHER interpolating system (Transloco, ICU ...) must escape it there, or it is replaced/emptied.\n 'emailTemplateEditor.subjectPlaceholder': 'e.g. Following up on {{property_address}}',\n 'emailTemplateEditor.systemNote': 'This is a built-in system template, so it can be viewed but not changed.',\n 'fileInput.buttonLabel': 'Browse',\n 'fileInput.placeholder': 'No file chosen',\n 'fileInput.removeLabel': 'Remove',\n 'fixedFooter.ariaLabel': 'Page actions',\n 'skipLink.ariaLabel': 'Skip links',\n 'imageField.label': 'Photo',\n 'imageField.upload': 'Upload Photo',\n 'imageField.change': 'Change Photo',\n 'imageField.remove': 'Remove Photo',\n 'imageField.typeMessage': 'Only PNG, JPEG, and WEBP images are allowed.',\n 'imageField.sizeMessage': 'The image must be 10 MB or smaller.',\n 'imageField.emptyMessage': 'The image file is empty.',\n 'imageGallery.ariaLabel': 'Image gallery',\n 'imageGalleryDialog.closeLabel': 'Close',\n 'imageGalleryDialog.galleryLabel': 'Image gallery',\n 'imageReposition.label': 'Photo position',\n 'importExport.actionLabel': 'Select',\n 'kpiCard.loadingLabel': 'Loading',\n 'list.helpText': 'Hold Shift and press the arrow keys to move this item. Shift plus Home or End moves it to the start or end.',\n 'mapsUsStateMap.ariaLabel': 'US state map',\n 'messagingDocumentSendOptions.label': 'Documents',\n 'messagingSendMessagePanel.jobLabel': 'Job',\n 'messagingSendMessagePanel.receiptLabel': 'Include payment receipt',\n 'messagingSendMessagePanel.title': 'Send Message',\n 'messagingTemplatePicker.label': 'Template',\n 'multiSelect.placeholder': 'Select...',\n 'multiSelect.searchPlaceholder': 'Search...',\n 'passwordRequirements.title': 'Password Requirements:',\n 'passwordRequirements.tooLong': 'Password must be {{ max }} characters or fewer.',\n 'paymentSidePanel.noReadersText': 'No readers registered. Add a card reader in your payment settings.',\n 'paymentSidePanel.splitSubmitLabel': 'Record Split Payment',\n 'paymentSidePanel.submitLabel': 'Add Payment',\n 'paymentSidePanel.title': 'Record Payment',\n 'pdfDocumentViewerModal.loadingText': 'Loading document…',\n 'pdfHotspot.imageAlt': 'Applied signature',\n 'pdfHotspot.label': 'Sign Here',\n 'pdfPdfViewer.errorText': 'Failed to load document.',\n 'pdfPdfViewer.loadingText': 'Loading document…',\n 'pdfPdfViewer.openText': 'Open the document',\n 'phoneNumberPicker.confirmLabel': 'Get this number',\n 'phoneNumberPicker.title': 'Get a Phone Number',\n 'qrCode.alt': 'QR code — scan to open the link',\n 'reminderAlerts.ariaLabel': 'Alerts',\n 'shareMenu.label': 'this page',\n 'sidePanel.cancelLabel': 'Cancel',\n 'signaturePad.clearLabel': 'Clear',\n 'stepper.ariaLabel': 'Progress',\n 'stripeStripeConnect.startLabel': 'Set Up Payment Account',\n 'stripeStripeConnect.startText': 'Collect your customers\\' payments online. You finish setting up your account on Stripe, then come back here.',\n 'stripeStripeConnect.startTitle': 'Connect your Stripe account',\n 'stripeStripeConnect.title': 'Stripe Connect Account',\n 'stripeStripePayment.label': 'Payment details',\n 'stripeStripePayment.loadErrorMessage': 'Failed to load the payment form. Please try again.',\n 'textTemplatePicker.label': 'Insert variable',\n 'textTemplatePicker.searchPlaceholder': 'Search variables...',\n 'toast.queueLabel': '+{n} more',\n // component texts (generated by the template pass, grouped by component)\n 'combobox.resultsAvailable_one': '{{ count }} result available',\n 'combobox.resultsAvailable_other': '{{ count }} results available',\n 'combobox.typeAtLeast_one': 'Type at least {{ count }} character',\n 'combobox.typeAtLeast_other': 'Type at least {{ count }} characters',\n 'errors.checkConnection': 'Please check your connection and try again.',\n 'errors.dataWord': 'data',\n 'errors.failed': 'There was an error {{ verb }} {{ ctx }}.',\n 'errors.invalidData': 'The data you submitted is invalid. Please check your input and try again.',\n 'errors.noPermission': 'You don\\'t have permission to {{ verb }} {{ ctx }}.',\n 'errors.notFound': 'The {{ ctx }} you\\'re looking for could not be found.',\n 'errors.permissionVerb.create': 'create',\n 'errors.permissionVerb.delete': 'delete',\n 'errors.permissionVerb.download': 'download',\n 'errors.permissionVerb.export': 'export',\n 'errors.permissionVerb.import': 'import',\n 'errors.permissionVerb.load': 'access',\n 'errors.permissionVerb.save': 'save',\n 'errors.permissionVerb.send': 'send',\n 'errors.permissionVerb.update': 'update',\n 'errors.permissionVerb.upload': 'upload',\n 'errors.sessionExpired': 'Your session has expired. Please log in again.',\n 'errors.timedOut': 'The request timed out — please try again.',\n 'errors.tooManyRequests': 'Too many requests — please wait a moment and try again.',\n 'errors.tryAgain': 'Please try again.',\n 'errors.tryInAFewMinutes': 'Please try again in a few minutes.',\n 'errors.verb.create': 'creating',\n 'errors.verb.delete': 'deleting',\n 'errors.verb.download': 'downloading',\n 'errors.verb.export': 'exporting',\n 'errors.verb.import': 'importing',\n 'errors.verb.load': 'loading',\n 'errors.verb.save': 'saving',\n 'errors.verb.send': 'sending',\n 'errors.verb.update': 'updating',\n 'errors.verb.upload': 'uploading',\n 'validation.atOrAfter': 'Must be at or after {{ value }}',\n 'validation.atOrBefore': 'Must be at or before {{ value }}',\n 'validation.date': 'Please enter a valid date.',\n 'validation.dateTime': 'Please enter a valid date-time.',\n 'validation.decimals_one': 'Use at most {{ count }} decimal place',\n 'validation.decimals_other': 'Use at most {{ count }} decimal places',\n 'validation.email': 'Please enter a valid email address.',\n 'validation.max': 'Must be at most {{ max }}',\n 'validation.min': 'Must be at least {{ min }}',\n 'validation.number': 'Please enter a valid number.',\n 'validation.onOrAfter': 'Must be on or after {{ value }}',\n 'validation.onOrBefore': 'Must be on or before {{ value }}',\n 'validation.phone': 'Please enter a valid phone number.',\n 'validation.required': '{{ label }} is required.',\n 'validation.time': 'Please enter a valid time.',\n 'validation.tooLong': 'Too long (max {{ max }} characters).',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.collapseSidebar': 'Collapse sidebar',\n 'appShell.expandSidebar': 'Expand sidebar',\n 'businessHours.addSecondShiftOn': 'Add a second shift on {{ day }}',\n 'businessHours.closeAfterOpen': '{{ day }}: closing time must be after opening time.',\n 'businessHours.closes': '{{ day }} closes',\n 'businessHours.label': 'Business hours',\n 'businessHours.needsOpenDay': '{{ label }} needs at least one open day.',\n 'businessHours.opens': '{{ day }} opens',\n 'businessHours.removeSecondShiftOn': 'Remove the second shift on {{ day }}',\n 'businessHours.secondShiftCloses': '{{ day }} second shift closes',\n 'businessHours.secondShiftOpens': '{{ day }} second shift opens',\n 'businessHours.secondShiftRange': '{{ day }}: second shift closing time must be after its opening time.',\n 'businessHours.shiftOrder': '{{ day }}: the second shift must start after the first ends.',\n 'contactPicker.noResults': 'No results',\n 'contactPicker.searchContacts': 'Search contacts',\n 'dateRangePicker.preset.q1': 'Q1',\n 'dateRangePicker.preset.q2': 'Q2',\n 'dateRangePicker.preset.q3': 'Q3',\n 'dateRangePicker.preset.q4': 'Q4',\n 'dateRangePicker.preset.lastYear': 'Prior Year',\n 'dateRangePicker.preset.last12months': 'Last 12 Months',\n 'dateRangePicker.preset.30days': 'Last 30 Days',\n 'dateRangePicker.preset.7days': 'Last 7 Days',\n 'dateRangePicker.preset.all': 'All Time',\n 'dateRangePicker.preset.custom': 'Custom Range',\n 'dateRangePicker.preset.month': 'This Month',\n 'dateRangePicker.preset.quarter': 'This Quarter',\n 'dateRangePicker.preset.today': 'Today',\n 'dateRangePicker.preset.ytd': 'Year to Date',\n 'fileInput.empty': 'The file is empty.',\n 'fileInput.filesSelected': '{{ count }} files selected',\n 'fileInput.notAdded': '\"{{ name }}\" was not added. {{ message }}',\n 'fileInput.onlyTypesAllowed': 'Only {{ types }} files are allowed.',\n 'fileInput.tooBig': 'The file must be {{ size }} or smaller.',\n 'fileInput.tooSmall': 'The file must be at least {{ size }}.',\n 'list.moveDown': 'Move {{ label }} down',\n 'list.moveEarlier': 'Move earlier {{ label }}',\n 'list.moveLater': 'Move later {{ label }}',\n 'list.moveUp': 'Move {{ label }} up',\n 'list.moved': '{{ label }} moved to position {{ position }} of {{ total }}',\n 'passwordRequirements.rule.digit': 'One digit',\n 'passwordRequirements.rule.digitRange': 'One digit (0-9)',\n 'passwordRequirements.rule.length': 'At least 8 characters',\n 'passwordRequirements.rule.lowercase': 'One lowercase letter',\n 'passwordRequirements.rule.special': 'One special character (!@#$%^&*...)',\n 'passwordRequirements.rule.specialAscii': 'One special character (e.g. ! @ # $ %)',\n 'passwordRequirements.rule.specialListed': 'One special character (@ $ ! % * ? & #)',\n 'passwordRequirements.rule.uppercase': 'One uppercase letter',\n 'radioMatrix.chooseEveryRow': 'Choose an option in every row.',\n 'radioMatrix.chooseEveryRowLabelled': '{{ label }}: choose an option in every row.',\n 'shareMenu.copyLink': 'Copy link',\n 'shareMenu.copyThisLink': 'Copy this link:',\n 'shareMenu.linkCopied': 'Link copied',\n 'signaturePad.captured': 'Signature captured',\n 'signaturePad.cleared': 'Signature cleared',\n 'signaturePad.keyboardHelp': 'Use the arrow keys to move the cursor, hold Space to draw, press Escape to hide the cursor.',\n 'signaturePad.name': 'Signature pad',\n 'starRating.noRating': 'No rating',\n 'starRating.starsOutOf_one': '{{ count }} star out of {{ max }}',\n 'starRating.starsOutOf_other': '{{ count }} stars out of {{ max }}',\n // component texts (generated by the template pass, grouped by component)\n 'bankAccountForm.accountMin4': 'Account number must be at least 4 digits.',\n 'bankAccountForm.accountRequired': 'Account number is required.',\n 'bankAccountForm.accountType.checking': 'Checking',\n 'bankAccountForm.accountType.savings': 'Savings',\n 'bankAccountForm.accountsDoNotMatch': 'Account numbers do not match.',\n 'bankAccountForm.confirmRequired': 'Confirm account number is required.',\n 'bankAccountForm.holderRequired': 'Account holder name is required.',\n 'bankAccountForm.holderType.company': 'Business',\n 'bankAccountForm.holderType.individual': 'Individual',\n 'bankAccountForm.mandateRequired': 'You must authorize ACH debits to continue.',\n 'bankAccountForm.routingMustBe9': 'Routing number must be 9 digits.',\n 'bankAccountForm.routingRequired': 'Routing number is required.',\n 'bankAccountForm.selectValidAccountType': 'Select a valid account type.',\n 'bankAccountForm.selectValidHolderType': 'Select a valid holder type.',\n 'importExport.csvEmpty': 'The CSV file appears to be empty.',\n 'importExport.csvParseFailed': 'Failed to parse the CSV file. Please check the format and try again.',\n 'importExport.exportFailed': 'Failed to export {{ entity }}. Please try again.',\n 'importExport.exportLimitReached': '{{ count }} of {{ total }} {{ entity }} exported — export limit reached.',\n 'importExport.importEntity': 'Import {{ entity }}',\n 'importExport.importFailed': 'Import failed. Please check your data and try again.',\n 'importExport.importFrom': 'Import from {{ source }}',\n 'importExport.importedSuccessfully': '{{ count }} {{ entity }} imported successfully',\n 'importExport.importingRecords_one': 'Importing {{ count }} record(s)…',\n 'importExport.importingRecords_other': 'Importing {{ count }} record(s)…',\n 'importExport.recordsImported_one': '{{ count }} record(s) imported.',\n 'importExport.recordsImported_other': '{{ count }} record(s) imported.',\n 'importExport.requiredNotMapped': 'Required field(s) not mapped: {{ fields }}',\n 'importExport.rowsHadErrors_one': '{{ count }} row(s) had errors.',\n 'importExport.rowsHadErrors_other': '{{ count }} row(s) had errors.',\n 'importExport.step.mapping': 'Map Columns',\n 'importExport.step.source': 'Source',\n 'importExport.step.upload': 'Upload',\n 'importExport.valuesChanged_one': '{{ count }} value(s) changed during import.',\n 'importExport.valuesChanged_other': '{{ count }} value(s) changed during import.',\n 'paymentSidePanel.addedToSplit': 'Added {{ method }} {{ amount }} to the split. {{ total }} recorded.',\n 'paymentSidePanel.additionalAmountLabel': 'Additional Amount ({{ symbol }})',\n 'paymentSidePanel.allocatedExceeds': 'Allocated {{ allocated }} exceeds the payment of {{ payment }}.',\n 'paymentSidePanel.allocation.custom': 'Choose charges',\n 'paymentSidePanel.allocation.newest': 'Newest charges first',\n 'paymentSidePanel.allocation.oldest': 'Oldest charges first',\n 'paymentSidePanel.amountLabel': 'Amount ({{ symbol }})',\n 'paymentSidePanel.announceRecorded': 'Payment recorded.',\n 'paymentSidePanel.verificationRecorded': 'Bank verification required: your payment has not started.',\n 'paymentSidePanel.announceRecording': 'Recording payment.',\n 'paymentSidePanel.announceWaiting': 'Waiting for customer to tap or insert card.',\n 'paymentSidePanel.atMost2Decimals': 'Use at most 2 decimal places.',\n 'paymentSidePanel.balanceAmount': 'Balance {{ amount }}',\n 'paymentSidePanel.cannotExceedBalance': 'Cannot exceed the balance of {{ amount }}.',\n 'paymentSidePanel.cardDeclined': 'Card was declined or removed. Please try again.',\n 'paymentSidePanel.couldNotLoadReaders': 'Could not load the card readers.',\n 'paymentSidePanel.dueOn': 'Due {{ date }}',\n 'paymentSidePanel.enterAmountToRecord': 'Enter an amount to record.',\n 'paymentSidePanel.enterAnAmount': 'Enter an amount.',\n 'paymentSidePanel.exactly4Digits': 'Enter exactly 4 digits.',\n 'paymentSidePanel.failedSendToReader': 'Failed to send payment to reader. Make sure the reader is online.',\n 'paymentSidePanel.method.ACH': 'ACH / Bank Transfer',\n 'paymentSidePanel.method.CARD': 'Card',\n 'paymentSidePanel.method.CARD_PRESENT': 'Card Present (Terminal)',\n 'paymentSidePanel.method.CASH': 'Cash',\n 'paymentSidePanel.method.CHECK': 'Check',\n 'paymentSidePanel.method.MONEY_ORDER': 'Money Order',\n 'paymentSidePanel.notConfigured': 'Payment recording is not configured.',\n 'paymentSidePanel.paymentCancelled': 'Payment was cancelled.',\n 'paymentSidePanel.readerDidNotAccept': 'The reader did not accept the payment. Please try again.',\n 'paymentSidePanel.readerPaymentCancelled': 'Reader payment cancelled.',\n 'paymentSidePanel.readerTimeout': 'The reader did not respond within {{ span }}. Check that the reader is powered on and connected to WiFi.',\n 'paymentSidePanel.recordFailed': 'Failed to record payment',\n 'paymentSidePanel.removeEntry': 'Remove {{ method }} {{ amount }}',\n 'paymentBlocked.default': 'Payments are not available right now.',\n 'paymentHeld.default': 'A payment started from this panel may still be open. Wait for it to finish, or check it, before starting another.',\n 'paymentHeld.check': 'Check again',\n 'paymentHeld.retryCancel': 'Try canceling again',\n 'paymentHeld.stillOpen': 'The payment is still open. Wait for it to finish or cancel it, then check again.',\n 'paymentHeld.inconclusive': 'The payment could not be confirmed either way. Check it in your payment processor, then confirm below.',\n 'paymentHeld.checkFailed': 'The check could not be completed. Try again.',\n 'paymentHeld.release': 'I checked: nothing is open. Continue',\n 'paymentHeld.released': 'Checked: no payment is open any more.',\n 'paymentHeld.succeeded': 'The payment went through.',\n 'paymentHeld.closedBeforeDone': 'The payment was taken but the panel was closed before it was finished. Check the payment before starting another.',\n 'paymentHeld.releasedByUser': 'The payment could not be confirmed; the user confirmed that nothing is open.',\n 'paymentSidePanel.cancelUnconfirmed': 'The reader payment could not be confirmed as canceled. It may still be open. Check the reader before starting another payment.',\n 'paymentSidePanel.removedFromSplit': 'Removed {{ method }} {{ amount }} from the split.',\n 'paymentSidePanel.selectAtLeastOneCharge': 'Select at least one charge to apply this payment to.',\n 'paymentSidePanel.span.minute_one': '{{ count }} minute',\n 'paymentSidePanel.span.minute_other': '{{ count }} minutes',\n 'paymentSidePanel.succeededNotRecorded': 'Payment succeeded on reader but failed to record. Please check manually.',\n 'paymentSidePanel.terminalNotRecorded': 'Payment taken on the reader but not recorded: {{ amount }} ({{ id }}). Please record it manually.',\n 'phoneNumberPicker.areaCodeMode': 'Area code',\n 'phoneNumberPicker.changeAreaCode': 'Change area code',\n 'phoneNumberPicker.changeZip': 'Change ZIP code',\n 'phoneNumberPicker.confirmAreaAndSearch': 'Confirm area code and search',\n 'phoneNumberPicker.confirmZipAndSearch': 'Confirm ZIP code and search',\n 'phoneNumberPicker.inAreaCode': 'in area code {{ value }}',\n 'phoneNumberPicker.mustBeDigits': '{{ field }} must be {{ count }} digits.',\n 'phoneNumberPicker.nearZip': 'near ZIP code {{ value }}',\n 'phoneNumberPicker.noNumbersForArea': 'No numbers found for area code {{ value }}',\n 'phoneNumberPicker.noNumbersNearZip': 'No numbers found near ZIP code {{ value }}',\n 'phoneNumberPicker.searchingNumbers': 'Searching for available numbers.',\n 'phoneNumberPicker.step1': 'Step 1 of 3. Confirm where to search.',\n 'phoneNumberPicker.step2_one': 'Step 2 of 3. {{ count }} available number found.',\n 'phoneNumberPicker.step2_other': 'Step 2 of 3. {{ count }} available numbers found.',\n 'phoneNumberPicker.step3': 'Step 3 of 3. Confirm {{ number }}.',\n 'phoneNumberPicker.yourNumber': 'your number',\n 'phoneNumberPicker.zip': 'ZIP code',\n // component texts (generated by the template pass, grouped by component)\n 'chargeForm.amount': 'Amount ($)',\n 'chargeForm.amount2': 'Amount',\n 'chargeForm.cancelLabel': 'Cancel',\n 'chargeForm.chargeType': 'Charge Type',\n 'chargeForm.closeLabel': 'Close',\n 'chargeForm.description': 'Description',\n 'chargeForm.dueDate': 'Due Date',\n 'chargeForm.emptyMessage': 'Set up your charge types in Billing Settings before adding charges.',\n 'chargeForm.emptyTitle': 'No charge types configured',\n 'chargeForm.optionalDescription': 'Optional description',\n 'chargeForm.selectType': 'Select type',\n 'chargeForm.submitLabel': 'Add Charge',\n 'chargeForm.title': 'Add Charge',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.assignmentRequired': 'Assign this template to at least one automation.',\n 'emailTemplateEditor.block.btn-link': 'Link Button',\n 'emailTemplateEditor.block.btn-outline': 'Outline Button',\n 'emailTemplateEditor.block.btn-primary': 'Primary Button',\n 'emailTemplateEditor.block.btn-secondary': 'Secondary Button',\n 'emailTemplateEditor.block.divider': 'Divider Line',\n 'emailTemplateEditor.block.image-block': 'Image Block',\n 'emailTemplateEditor.block.layout-2col': 'Two Columns',\n 'emailTemplateEditor.block.layout-3col': 'Three Columns',\n 'emailTemplateEditor.block.spacer-lg': 'Large Spacer',\n 'emailTemplateEditor.block.spacer-md': 'Medium Spacer',\n 'emailTemplateEditor.block.spacer-sm': 'Small Spacer',\n 'emailTemplateEditor.block.table-2col': 'Two-Column Table',\n 'emailTemplateEditor.block.table-3col': 'Three-Column Table',\n 'emailTemplateEditor.block.text-block': 'Text Block',\n 'emailTemplateEditor.blockFallback': 'Block',\n 'emailTemplateEditor.bodyRequired': 'Add a message: the email needs some text or an image.',\n 'emailTemplateEditor.bodyTooLong': 'Message is too long (max {{ max }} characters; it is {{ actual }}).',\n 'emailTemplateEditor.clickToEdit': 'Click to edit...',\n 'emailTemplateEditor.clickToWatchVideo': 'Click to watch video',\n 'emailTemplateEditor.cta.contact': 'Contact Me',\n 'emailTemplateEditor.cta.custom': 'Custom',\n 'emailTemplateEditor.cta.none': 'None (use video default)',\n 'emailTemplateEditor.cta.schedule': 'Schedule a Call',\n 'emailTemplateEditor.datesOrder': 'Active To must be on or after Active From.',\n 'emailTemplateEditor.group.buttons': 'Buttons',\n 'emailTemplateEditor.group.content': 'Content',\n 'emailTemplateEditor.group.layout': 'Layout',\n 'emailTemplateEditor.group.spacing': 'Spacing',\n 'emailTemplateEditor.group.tables': 'Tables',\n 'emailTemplateEditor.heading.h1': 'Heading 1',\n 'emailTemplateEditor.heading.h2': 'Heading 2',\n 'emailTemplateEditor.heading.h3': 'Heading 3',\n 'emailTemplateEditor.heading.normal': 'Normal',\n 'emailTemplateEditor.missing.assignment': 'at least one assignment',\n 'emailTemplateEditor.missing.message': 'a message',\n 'emailTemplateEditor.missing.name': 'a name',\n 'emailTemplateEditor.missing.shorterMessage': 'a shorter message',\n 'emailTemplateEditor.missing.shorterName': 'a shorter name',\n 'emailTemplateEditor.missing.shorterSubject': 'a shorter subject',\n 'emailTemplateEditor.missing.subject': 'a subject',\n 'emailTemplateEditor.nameRequired': 'Template name is required.',\n 'emailTemplateEditor.nameTooLong': 'Name is too long (max {{ max }} characters).',\n 'emailTemplateEditor.playback.autoplay': 'Autoplay',\n 'emailTemplateEditor.playback.click': 'Click to Play',\n 'emailTemplateEditor.readOnlyTools': 'Blocks and variables can only be added to a template you can edit.',\n 'emailTemplateEditor.readOnlyToolsWithVideo': 'Blocks, variables and videos can only be added to a template you can edit.',\n 'emailTemplateEditor.rightPanel': 'Blocks and variables',\n 'emailTemplateEditor.rightPanelWithVideo': 'Blocks, variables and video',\n 'emailTemplateEditor.sample.buttonText': 'Button Text',\n 'emailTemplateEditor.sample.column': 'Col {{ n }}',\n 'emailTemplateEditor.sample.data': 'Data',\n 'emailTemplateEditor.sample.enterText': 'Enter your text here...',\n 'emailTemplateEditor.sample.header': 'Header {{ n }}',\n 'emailTemplateEditor.sample.image': 'Image',\n 'emailTemplateEditor.sample.leftColumn': 'Left column',\n 'emailTemplateEditor.sample.linkText': 'Link Text',\n 'emailTemplateEditor.sample.rightColumn': 'Right column',\n 'emailTemplateEditor.saveHint': 'Add {{ items }} to save this template.',\n 'emailTemplateEditor.spacing.large': 'Large',\n 'emailTemplateEditor.spacing.medium': 'Medium',\n 'emailTemplateEditor.spacing.none': 'None',\n 'emailTemplateEditor.spacing.small': 'Small',\n 'emailTemplateEditor.startWriting': 'Start writing your email...',\n 'emailTemplateEditor.subjectRequired': 'Subject line is required.',\n 'emailTemplateEditor.subjectTooLong': 'Subject is too long (max {{ max }} characters).',\n 'emailTemplateEditor.validEmail': 'Enter a valid email address.',\n 'emailTemplateEditor.validImageAddress': 'Enter a valid image address, like https://example.com/image.jpg.',\n 'emailTemplateEditor.validWebAddress': 'Enter a valid web address, like https://example.com.',\n 'emailTemplateEditor.variable.firstName': 'First Name',\n 'emailTemplateEditor.variable.fullName': 'Full Name',\n 'emailTemplateEditor.variable.lastName': 'Last Name',\n 'emailTemplateEditor.variableGroup.contact': 'Contact',\n 'emailTemplateEditor.videoWillAutoplay': 'Video will autoplay',\n // component texts (generated by the template pass, grouped by component)\n 'board.moveTo': 'Move to {{ column }}',\n 'calendar.group.later': 'Later',\n 'calendar.group.overdue': 'Overdue',\n 'calendar.group.thisWeek': 'This Week',\n 'calendar.group.today': 'Today',\n 'calendar.group.tomorrow': 'Tomorrow',\n 'detailGroups.activity': 'Activity',\n 'detailGroups.notes': 'Notes',\n 'richTextEditor.editorName': 'Rich text editor',\n 'richTextEditor.fontDefault': 'Default',\n 'richTextEditor.fontGroup.Default': 'Default',\n 'richTextEditor.fontGroup.Display': 'Display',\n 'richTextEditor.fontGroup.Monospace': 'Monospace',\n 'richTextEditor.fontGroup.Sans-Serif': 'Sans-Serif',\n 'richTextEditor.fontGroup.Serif': 'Serif',\n 'richTextEditor.heading.h1': 'H1 — Heading 1',\n 'richTextEditor.heading.h2': 'H2 — Heading 2',\n 'richTextEditor.heading.h3': 'H3 — Heading 3',\n 'richTextEditor.heading.p': 'Normal',\n 'richTextEditor.linkNeedsAddress': 'Enter a web address like example.com.',\n 'richTextEditor.size.1': 'Small',\n 'richTextEditor.size.3': 'Normal',\n 'richTextEditor.size.4': 'Medium',\n 'richTextEditor.size.5': 'Large',\n 'richTextEditor.size.6': 'X-Large',\n 'richTextEditor.size.7': 'Huge',\n 'setupWizard.areaCode': 'Area code',\n 'setupWizard.areaCodeHint': 'Enter a 3-digit US area code',\n 'setupWizard.brand': 'Setup Wizard',\n 'setupWizard.connect': 'Connect',\n 'setupWizard.connectFailed': 'Failed to connect {{ title }}. Please try again from the Integrations page after setup.',\n 'setupWizard.connectRequired': 'Connect at least one to continue, or skip this step.',\n 'setupWizard.connected': 'Connected',\n 'setupWizard.connectedChannel': 'Connected — {{ team }} #{{ channel }}',\n 'setupWizard.connectedDetail': 'Connected — {{ detail }}',\n 'setupWizard.connectedMerchant': 'Connected — merchant {{ id }}',\n 'setupWizard.continue': 'Continue',\n 'setupWizard.doneDescription': 'Your account is configured and ready to go. Here\\'s a quick summary:',\n 'setupWizard.doneHint': 'You can always update these settings later from the Settings menu.',\n 'setupWizard.doneTitle': 'You\\'re All Set!',\n 'setupWizard.exit': 'Exit Setup',\n 'setupWizard.finish': 'Go to Dashboard',\n 'setupWizard.importAgain': 'Import again',\n 'setupWizard.importErrorsText_one': 'Nothing was imported yet. Fix the row listed in the import window in your file, then import the whole file again to continue.',\n 'setupWizard.importErrorsText_other': 'Nothing was imported yet. Fix the rows listed in the import window in your file, then import the whole file again to continue.',\n 'setupWizard.importErrorsTitle_one': '{{ count }} row could not be imported',\n 'setupWizard.importErrorsTitle_other': '{{ count }} rows could not be imported',\n 'setupWizard.importMore': 'Import more',\n 'setupWizard.importRequired': 'Import your data to continue, or skip this step.',\n 'setupWizard.importedSuccessfully': '{{ count }} {{ entity }} imported successfully.',\n 'setupWizard.integration.gmail': 'Connect your Google account for two-way email sync.',\n 'setupWizard.integration.google-calendar': 'Two-way sync with your Google Calendar.',\n 'setupWizard.integration.outlook': 'Connect your Microsoft account for two-way email sync.',\n 'setupWizard.integration.outlook-calendar': 'Two-way sync with your Outlook / Microsoft 365 calendar.',\n 'setupWizard.integration.quickbooks': 'Sync commissions and expenses to your QuickBooks books.',\n 'setupWizard.integration.slack': 'Get new-lead and deal alerts in a Slack channel.',\n 'setupWizard.integration.square': 'Accept card and bank payments from your customers. Payouts go straight to your Square account.',\n 'setupWizard.integration.stripe': 'Accept card and bank payments from your customers. Payouts go straight to your Stripe account.',\n 'setupWizard.integration.twilio': 'Get a business phone number for texting and calling clients.',\n 'setupWizard.progress': '{{ done }} of {{ total }} complete',\n 'setupWizard.reconnect': 'Reconnect',\n 'setupWizard.recordsWord': 'records',\n 'setupWizard.saveAndContinue': 'Save & Continue',\n 'setupWizard.saveFailed': 'Failed to save. Please try again.',\n 'setupWizard.skip': 'Skip for now',\n 'setupWizard.stepPicker': 'Go to step',\n 'setupWizard.stepPickerGo': 'Go',\n 'setupWizard.stepPickerHint': 'Choose a step in the list first.',\n 'setupWizard.stepPickerPlaceholder': 'Choose a step',\n 'setupWizard.steps': 'Setup steps',\n 'setupWizard.summaryPending': 'Pending',\n 'setupWizard.summarySkipped': 'Skipped',\n 'setupWizard.summaryTitle': 'Your setup',\n 'setupWizard.whatGetsImported': 'WHAT GETS IMPORTED:',\n // component texts (generated by the template pass, grouped by component)\n 'messagingDocumentSendOptions.changeSigningOptions': 'Change signing options',\n 'messagingDocumentSendOptions.countersignedBy': 'Countersigned by {{ name }} after all signers.',\n 'messagingDocumentSendOptions.day_one': '{{ n }} day',\n 'messagingDocumentSendOptions.day_other': '{{ n }} days',\n 'messagingDocumentSendOptions.envelopeInactive': '\"{{ title }}\" is {{ status }}, so this envelope can\\'t be sent. Restore it or remove it from the envelope first.',\n 'messagingDocumentSendOptions.envelopeNoDocs': 'This envelope has no documents. Add a document first.',\n 'messagingDocumentSendOptions.fieldsForSigners': 'Fields placed for {{ count }} signers',\n 'messagingDocumentSendOptions.hideSigningOptions': 'Hide signing options',\n 'messagingDocumentSendOptions.mergeEmpty': 'These fields will be left empty: {{ list }}.',\n 'messagingDocumentSendOptions.mergeReason.NO_CONTEXT': 'not available for this send',\n 'messagingDocumentSendOptions.mergeReason.NO_DATA': 'no value on record',\n 'messagingDocumentSendOptions.mergeReason.UNKNOWN_PATH': 'unknown field',\n 'messagingDocumentSendOptions.multiSignerSendByEmail': 'This document has {{ count }} signers. Send it by email.',\n 'messagingDocumentSendOptions.mustBeWhole': '{{ label }} must be a whole number from {{ min }} to {{ max }}.',\n 'messagingDocumentSendOptions.noFieldsPlaced': 'No signature fields placed. Sent for viewing only.',\n 'messagingDocumentSendOptions.noFileToAttach': '\"{{ title }}\" has no file to attach — choose e-signature or remove it.',\n 'messagingDocumentSendOptions.noFileUploaded': 'No file uploaded',\n 'messagingDocumentSendOptions.noMatchingDocuments': 'No matching documents',\n 'messagingDocumentSendOptions.noReminders': 'no reminders',\n 'messagingDocumentSendOptions.placeCountersign': 'Place your countersignature box',\n 'messagingDocumentSendOptions.placeCountersignOn': 'Place your countersignature box on {{ title }}',\n 'messagingDocumentSendOptions.previewDocument': 'Preview Document',\n 'messagingDocumentSendOptions.provider.docusign': 'Send via DocuSign',\n 'messagingDocumentSendOptions.provider.native': 'Native E-Sign',\n 'messagingDocumentSendOptions.purpose.ATTACH': 'Send as attachment',\n 'messagingDocumentSendOptions.purpose.BOTH': 'E-signature and attachment',\n 'messagingDocumentSendOptions.purpose.ESIGN': 'Require e-signature',\n 'messagingDocumentSendOptions.purposeInfo.BOTH': 'View link and attachment',\n 'messagingDocumentSendOptions.purposeInfo.ESIGN': 'Send a view link',\n 'messagingDocumentSendOptions.remindersEvery': 'reminders every {{ interval }}, up to {{ max }}',\n 'messagingDocumentSendOptions.searchFailed': 'The search failed',\n 'messagingDocumentSendOptions.selectAtLeastOne': 'Select at least one document.',\n 'messagingDocumentSendOptions.signerAlreadyRole': '{{ name }} is already {{ role }}.',\n 'messagingDocumentSendOptions.signerNoEmail': '{{ name }} has no email address.',\n 'messagingDocumentSendOptions.signerRole': 'Signer {{ n }}',\n 'messagingDocumentSendOptions.signingSummary': 'Signing options: expires in {{ expiry }}, {{ reminders }}',\n 'messagingDocumentSendOptions.textedAsLink': 'Documents are texted as a link to the signing page.',\n 'messagingDocumentSendOptions.untitled': 'Untitled document',\n 'messagingDocumentSendOptions.you': 'you',\n 'messagingDocumentSendOptions.youCountersign': 'You countersign after the client signs.',\n // component texts (generated by the template pass, grouped by component)\n 'messagingSendMessagePanel.activeAllYear': 'Active all year',\n 'messagingSendMessagePanel.activeFrom': 'From {{ date }}',\n 'messagingSendMessagePanel.activeUntil': 'Until {{ date }}',\n 'messagingSendMessagePanel.announceSkipped_one': '{{ count }} will be skipped.',\n 'messagingSendMessagePanel.announceSkipped_other': '{{ count }} will be skipped.',\n 'messagingSendMessagePanel.bodyTooLong': 'Message is too long ({{ actual }} of {{ max }} characters).',\n 'messagingSendMessagePanel.bulkNoSend': 'Sending to several recipients is not set up for this page, so nothing was sent.',\n 'messagingSendMessagePanel.ccInvalid': '\"{{ address }}\" isn\\'t a valid CC email address.',\n 'messagingSendMessagePanel.ccTooLong': 'The CC list is too long.',\n 'messagingSendMessagePanel.ccTooMany': 'You can copy at most {{ max }} people.',\n 'messagingSendMessagePanel.cta.contact': 'Contact Me',\n 'messagingSendMessagePanel.cta.custom': 'Custom',\n 'messagingSendMessagePanel.cta.none': 'None (use video default)',\n 'messagingSendMessagePanel.cta.schedule': 'Schedule a Call',\n 'messagingSendMessagePanel.ctxEmail': 'email',\n 'messagingSendMessagePanel.ctxText': 'text message',\n 'messagingSendMessagePanel.emailScheduled': 'Email scheduled',\n 'messagingSendMessagePanel.emailSent': 'Email sent',\n 'messagingSendMessagePanel.envelopeSent': 'Envelope \"{{ name }}\" sent',\n 'messagingSendMessagePanel.failedSendEmail': 'Failed to send email',\n 'messagingSendMessagePanel.failedSendMessage': 'Failed to send message',\n 'messagingSendMessagePanel.failedSendText': 'Failed to send text message',\n 'messagingSendMessagePanel.failedUpload': 'Failed to upload attachment',\n 'messagingSendMessagePanel.listAnd': 'and',\n 'messagingSendMessagePanel.messageScheduled': 'Message scheduled',\n 'messagingSendMessagePanel.messageSent': 'Message sent',\n 'messagingSendMessagePanel.multiSignerOneAtATime': 'Documents with several signers are sent one at a time.',\n 'messagingSendMessagePanel.noneEligible_one': 'None of the {{ count }} selected can receive this {{ what }} ({{ reason }}), so there is nothing to send.',\n 'messagingSendMessagePanel.noneEligible_other': 'None of the {{ count }} selected can receive this {{ what }} ({{ reason }}), so there is nothing to send.',\n 'messagingSendMessagePanel.noticeAddEmailBelow': 'Add an email address below to send.',\n 'messagingSendMessagePanel.noticeNoContact': '{{ name }} has no email address or phone number on file. Add an email address below to send.',\n 'messagingSendMessagePanel.noticeNoOptIn': '{{ name }} has not opted in to receive text messages, so this can only be sent by email.',\n 'messagingSendMessagePanel.noticeNoPhone': '{{ name }} has no phone number on file, so a text needs one added first.',\n 'messagingSendMessagePanel.noticeTextDisabled': 'Text messaging is not enabled. Connect Twilio in Comm Settings to send texts.',\n 'messagingSendMessagePanel.playback.autoplay': 'Autoplay',\n 'messagingSendMessagePanel.playback.click': 'Click to Play',\n 'messagingSendMessagePanel.reasonNoEmail_one': 'no email address',\n 'messagingSendMessagePanel.reasonNoEmail_other': 'no email address',\n 'messagingSendMessagePanel.reasonNoPhone_one': 'no phone number or no opt-in to texts',\n 'messagingSendMessagePanel.reasonNoPhone_other': 'no phone number or no opt-in to texts',\n 'messagingSendMessagePanel.removedAttachments': 'your attachments',\n 'messagingSendMessagePanel.removedBecauseRequest': 'We removed {{ items }} because documents are sent as a request.',\n 'messagingSendMessagePanel.removedImage': 'your image',\n 'messagingSendMessagePanel.removedSchedule': 'the schedule',\n 'messagingSendMessagePanel.resultsCount_one': '1 result',\n 'messagingSendMessagePanel.resultsCount_other': '{{ count }} results',\n 'messagingSendMessagePanel.resultsCount_zero': 'No results',\n 'messagingSendMessagePanel.searchTemplatesAria': 'Search templates',\n 'messagingSendMessagePanel.searchVideosAria': 'Search videos',\n 'messagingSendMessagePanel.selectedVideo': 'Selected video',\n 'messagingSendMessagePanel.sendEmail': 'Send Email',\n 'messagingSendMessagePanel.sendMessage': 'Send Message',\n 'messagingSendMessagePanel.sendText': 'Send Text',\n 'messagingSendMessagePanel.sentViaDocusign': '\"{{ title }}\" sent via DocuSign',\n 'messagingSendMessagePanel.skippedNameMore': '{{ shown }} and {{ count }} more',\n 'messagingSendMessagePanel.skippedText_one': '{{ count }} has {{ reason }} and will be skipped ({{ names }}). Only the others get this {{ what }}.',\n 'messagingSendMessagePanel.skippedText_other': '{{ count }} have {{ reason }} and will be skipped ({{ names }}). Only the others get this {{ what }}.',\n 'messagingSendMessagePanel.subjectTooLong': 'Subject is too long ({{ actual }} of {{ max }} characters).',\n 'messagingSendMessagePanel.tabCompose': 'Create Message',\n 'messagingSendMessagePanel.tabTemplate': 'Use Existing Template',\n 'messagingSendMessagePanel.textSent': 'Text message sent',\n 'messagingSendMessagePanel.textTooLongWithVideo': 'The video link makes this text longer than {{ max }} characters. Shorten the message or remove the video.',\n 'messagingSendMessagePanel.unnamed': 'Unnamed',\n 'messagingSendMessagePanel.whatEmail': 'email',\n 'messagingSendMessagePanel.whatText': 'text',\n 'messagingSendMessagePanel.whatTextMessage': 'text message',\n // component texts (generated by the template pass, grouped by component)\n 'stripeErrors.card_declined': 'Your card was declined. Please contact your bank or use a different card.',\n 'stripeErrors.card_not_supported': 'This card does not support this type of purchase. Please use a different card.',\n 'stripeErrors.currency_not_supported': 'This card does not support the requested currency. Please use a different card.',\n 'stripeErrors.do_not_honor': 'Your bank has declined this transaction. Please contact your bank or use a different card.',\n 'stripeErrors.generic_decline': 'Your card was declined. Please contact your bank or try a different card.',\n 'stripeErrors.insufficient_funds': 'Your card has insufficient funds. Please use a different card or add funds to your account.',\n 'stripeErrors.lost_card': 'This card has been reported as lost. Please use a different payment method.',\n 'stripeErrors.stolen_card': 'This card has been reported as stolen. Please use a different payment method.',\n // component texts (generated by the template pass, grouped by component)\n 'stripeErrors.alreadyProcessed': 'This payment has already been processed. Please refresh the page and try again.',\n 'stripeErrors.amount_too_large': 'The payment amount exceeds the maximum allowed. Please contact the business.',\n 'stripeErrors.amount_too_small': 'The payment amount is too small to process. Please contact the business.',\n 'stripeErrors.approve_with_id': 'The payment cannot be authorized. Please contact your bank.',\n 'stripeErrors.authentication_required': 'This card requires authentication. Please try again and complete the verification step.',\n 'stripeErrors.balance_insufficient': 'Insufficient balance to complete this payment. Please use a different payment method.',\n 'stripeErrors.bank_account_declined': 'Your bank account could not be used. Please try a different account.',\n 'stripeErrors.call_issuer': 'Your bank has declined this transaction. Please call your bank for more information.',\n 'stripeErrors.card_velocity_exceeded': 'You have exceeded the balance or credit limit on your card. Please contact your bank.',\n 'stripeErrors.debit_not_authorized': 'The debit was not authorized. Please contact your bank.',\n 'stripeErrors.defaultMessage': 'Payment failed. Please try again.',\n 'stripeErrors.do_not_try_again': 'Your bank has permanently declined this card. Please use a different payment method.',\n 'stripeErrors.duplicate_transaction': 'A duplicate transaction was detected. Please wait a few minutes before trying again.',\n 'stripeErrors.expired_card': 'Your card has expired. Please use a different card.',\n 'stripeErrors.fraudulent': 'This transaction has been flagged by your bank. Please contact your bank or use a different card.',\n 'stripeErrors.incorrect_cvc': 'The security code (CVC) is incorrect. Please check and try again.',\n 'stripeErrors.incorrect_number': 'The card number is incorrect. Please check and try again.',\n 'stripeErrors.incorrect_zip': 'The ZIP/postal code is incorrect. Please check and try again.',\n 'stripeErrors.invalid_cvc': 'The security code (CVC) is invalid. Please check and try again.',\n 'stripeErrors.invalid_expiry_month': 'The expiration month is invalid. Please check and try again.',\n 'stripeErrors.invalid_expiry_year': 'The expiration year is invalid. Please check and try again.',\n 'stripeErrors.invalid_number': 'The card number is invalid. Please check and try again.',\n 'stripeErrors.issuer_not_available': 'Your card issuer could not be reached. Please try again later.',\n 'stripeErrors.merchant_blacklist': 'This card cannot be used for this transaction. Please use a different card.',\n 'stripeErrors.new_account_information_available': 'Your card details have changed. Please update your card information and try again.',\n 'stripeErrors.no_action_taken': 'Your bank could not process this transaction. Please contact your bank.',\n 'stripeErrors.not_permitted': 'This transaction is not permitted on this card. Please contact your bank or use a different card.',\n 'stripeErrors.payment_intent_authentication_failure': 'Payment authentication failed. Please try again.',\n 'stripeErrors.payment_intent_incompatible_payment_method': 'This payment method is not compatible. Please use a different payment method.',\n 'stripeErrors.payment_intent_payment_attempt_failed': 'The payment attempt failed. Please try again or use a different payment method.',\n 'stripeErrors.payment_intent_unexpected_state': 'This payment has already been processed. Please refresh the page and try again.',\n 'stripeErrors.payment_method_unactivated': 'This payment method is not activated. Please use a different payment method.',\n 'stripeErrors.payment_method_unexpected_state': 'There was an issue with your payment method. Please try again.',\n 'stripeErrors.pickup_card': 'This card cannot be used. Please contact your bank or use a different card.',\n 'stripeErrors.processing_error': 'An error occurred while processing your card. Please try again.',\n 'stripeErrors.reenter_transaction': 'The transaction could not be processed. Please try again.',\n 'stripeErrors.resource_missing': 'The payment session has expired. Please refresh the page and try again.',\n 'stripeErrors.restricted_card': 'This card has restrictions that prevent this transaction. Please contact your bank or use a different card.',\n 'stripeErrors.revocation_of_all_authorizations': 'All authorizations have been revoked for this card. Please contact your bank.',\n 'stripeErrors.revocation_of_authorization': 'The authorization for this card has been revoked. Please contact your bank.',\n 'stripeErrors.security_violation': 'This card has been flagged for a security violation. Please contact your bank.',\n 'stripeErrors.sessionExpired': 'Your payment session has expired. Please refresh the page and try again.',\n 'stripeErrors.setup_intent_unexpected_state': 'This payment setup has already been completed. Please refresh the page.',\n 'stripeErrors.stop_payment_order': 'Your bank has stopped this payment. Please contact your bank.',\n 'stripeErrors.technical.api_connection_error': 'We could not reach the payment service. Please check your connection and try again.',\n 'stripeErrors.technical.api_error': 'Something went wrong while processing the payment. Please try again.',\n 'stripeErrors.technical.authentication_error': 'Something went wrong while processing the payment. Please try again.',\n 'stripeErrors.technical.invalid_request_error': 'Something went wrong while processing the payment. Please try again.',\n 'stripeErrors.technical.rate_limit_error': 'Too many requests. Please wait a moment and try again.',\n 'stripeErrors.testmode_decline': 'This is a test decline. No real charge was attempted.',\n 'stripeErrors.try_again_later': 'Your card issuer is temporarily unable to process this transaction. Please try again later.',\n 'stripeErrors.withdrawal_count_limit_exceeded': 'You have exceeded the allowed number of transactions. Please try again later or use a different card.',\n 'stripePayment.a11y.actionRequired': 'Further action is required to complete the payment',\n 'stripePayment.a11y.loading': 'Loading payment form',\n 'stripePayment.a11y.methodSaved': 'Payment method saved',\n 'stripePayment.a11y.paymentAuthorized': 'Payment authorized',\n 'stripePayment.a11y.paymentProcessing': 'Payment is processing',\n 'stripePayment.a11y.paymentReceived': 'Payment received',\n 'stripePayment.a11y.processingPayment': 'Processing payment',\n 'stripePayment.a11y.savingMethod': 'Saving payment method',\n 'stripePayment.a11y.verificationNeeded': 'Bank verification required. Verify the small deposits from your bank first: until you do, no payment starts and nothing is charged.',\n 'stripePayment.a11y.verificationNeededSetup': 'Bank verification required. Verify the small deposits from your bank first: until you do, the bank account is not saved.',\n 'stripePayment.achNotice': 'Signing in to your bank account lets you pay right away. Entering your routing and account numbers instead requires verification with two small deposits, which typically take a couple of days to arrive in your account.',\n 'stripePayment.achNoticeInstant': 'Sign in to your bank account to link it and pay right away. Bank accounts that cannot sign in online are not supported here: please use a card or a bank that supports bank login.',\n 'stripePayment.msg.authFailed': 'Payment authentication failed',\n 'stripePayment.msg.authFailedTryOther': 'Payment authentication failed. Please try a different payment method.',\n 'stripePayment.msg.authNotCompleted': 'Payment authentication was not completed',\n 'stripePayment.msg.cardsUnavailable': 'Card payments are not available right now.',\n 'stripePayment.msg.feesFailed': 'Could not calculate the fees. Please try again.',\n 'stripePayment.msg.initFailed': 'Failed to initialize payment. Please try again.',\n 'stripePayment.msg.instantOnlyUnavailable': 'This bank account cannot be linked by signing in online. Please use a card or a bank that supports bank login.',\n 'stripePayment.msg.intentFailed': 'Failed to create payment intent',\n 'stripePayment.msg.keyMissing': 'The payment form is not set up yet',\n 'stripePayment.msg.loadFailed': 'Failed to load the payment service',\n 'stripePayment.msg.noPaymentMethod': 'No payment method was returned',\n 'stripePayment.msg.notCompleted': 'Payment was not completed',\n 'stripePayment.msg.notInitialized': 'Payment system not initialized',\n 'stripePayment.msg.requiresPaymentMethod': 'Payment failed. Please try a different payment method.',\n 'stripePayment.msg.returnFailed': 'We could not check the status of this payment. Please contact support before trying again.',\n 'stripePayment.msg.setupIncomplete': 'Payment method setup was incomplete. Please try again.',\n 'stripePayment.msg.verifyFailed': 'Verification failed',\n 'stripePayment.msg.verifyThrown': 'Verification failed. Please check the code and try again.',\n 'stripePayment.pay': 'Pay',\n 'stripePayment.saveMethod': 'Save payment method',\n 'stripePaymentMethod.achMessage': 'Your bank payment of {{ amount }} has been submitted for processing. ACH payments typically take 3–5 business days to complete.',\n 'stripePaymentMethod.achTitle': 'ACH Payment Submitted',\n 'stripePaymentMethod.amountNeeded': 'Enter an amount to continue.',\n 'stripePaymentMethod.amountPlusFees': 'Payment amount plus fees',\n 'stripePaymentMethod.announceProcessing': 'Processing payment',\n 'stripePaymentMethod.announceReady': 'Payment form ready',\n 'stripePaymentMethod.methodAch': 'ACH / Bank Transfer',\n 'stripePaymentMethod.methodCard': 'Card',\n 'stripePaymentMethod.notCompleted': 'Payment was not completed. Please try again or choose another method.',\n 'stripePaymentMethod.paymentAmount': 'Payment amount',\n 'stripePaymentMethod.platformFee': 'Platform fee',\n 'stripePaymentMethod.processingFee': 'Processing fee',\n 'stripePaymentMethod.receiptNote': 'A receipt is sent once the payment has been fully processed and settled.',\n 'stripePaymentMethod.verificationMessage': 'Bank verification required: your payment of {{ amount }} has NOT started. Your bank will receive two small deposits (1-2 business days), or a descriptor code. Until you verify them, your payment will not start processing and nothing will be charged.',\n // component texts (generated by the template pass, grouped by component)\n 'mapsUsStateMap.legend': 'Colour scale from 0 to {{ max }}',\n 'pdfDocumentSignModal.addSignatureFirst': 'Add signature above',\n 'pdfDocumentSignModal.allSigned': 'All signatures completed',\n 'pdfDocumentSignModal.appliedSignature': 'Applied signature',\n 'pdfDocumentSignModal.change': 'Change',\n 'pdfDocumentSignModal.complete': 'Complete Signing',\n 'pdfDocumentSignModal.loading': 'Loading document…',\n 'pdfDocumentSignModal.namePlaceholder': 'Type your full name',\n 'pdfDocumentSignModal.noFields': 'This document has no place to sign.',\n 'pdfDocumentSignModal.progress': '{{ count }} of {{ total }} signed',\n 'pdfDocumentSignModal.previewEmpty': 'Preview appears here',\n 'pdfDocumentSignModal.saveSignature': 'Save Signature',\n 'pdfDocumentSignModal.signField': 'Sign field {{ n }} of {{ total }}',\n 'pdfDocumentSignModal.signFieldDisabled': '{{ label }} - add your signature above first to enable signing',\n 'pdfDocumentSignModal.signHere': 'Sign Here',\n 'pdfDocumentSignModal.step1': 'Step 1: Create Your Signature',\n 'pdfDocumentSignModal.step2': 'Step 2: Click the buttons below to apply your signature',\n 'pdfDocumentSignModal.submitting': 'Submitting...',\n 'pdfDocumentSignModal.title': 'Sign Document',\n 'stripeMicrodepositVerify.attemptsRemaining_one': '{{ message }} ({{ count }} attempt remaining)',\n 'stripeMicrodepositVerify.attemptsRemaining_other': '{{ message }} ({{ count }} attempts remaining)',\n 'stripeMicrodepositVerify.attemptsLeft_one': '{{ count }} attempt remaining',\n 'stripeMicrodepositVerify.attemptsLeft_other': '{{ count }} attempts remaining',\n 'stripeMicrodepositVerify.amountsHint': 'Each deposit is between 1 and 99 cents, for example 32 and 45.',\n 'stripeMicrodepositVerify.bankFallback': 'Bank account',\n 'stripeMicrodepositVerify.byDate': ' (by {{ date }})',\n 'stripeMicrodepositVerify.cancelBase': 'Cancel the verification of this bank account? It will not be saved as a payment method and you can add it again later.',\n 'stripeMicrodepositVerify.cancelKeepsActive': ' Your current payment method stays active.',\n 'stripeMicrodepositVerify.cancelKeepsActivePartner': '{{ partner }}\\'s current payment method stays active.',\n 'stripeMicrodepositVerify.cancelNoOther': ' You have no other payment method saved.',\n 'stripeMicrodepositVerify.cancelNoOtherPartner': '{{ partner }} has no other payment method saved.',\n 'stripeMicrodepositVerify.cancelTitle': 'Cancel verification',\n 'stripeMicrodepositVerify.cannotPay': 'Until then this account can\\'t be used to pay invoices.',\n 'stripeMicrodepositVerify.paymentNotStarted': 'Your payment has NOT started. Nothing is charged until you verify this bank account.',\n 'stripeMicrodepositVerify.centsRange': 'Enter a number of cents from 1 to 99.',\n 'stripeMicrodepositVerify.code6': 'The code has 6 letters or numbers.',\n 'stripeMicrodepositVerify.codeRequired': 'Enter the 6-character code.',\n 'stripeMicrodepositVerify.codeSm': 'Descriptor code must start with \"SM\" followed by 4 characters (e.g., SMXXXX)',\n 'stripeMicrodepositVerify.depositsAmounts': 'Two small deposits were sent to {{ holder }}; they appear in 1-2 business days{{ clause }}, with the description SMXXXX. ',\n 'stripeMicrodepositVerify.depositsDescriptor': 'One small deposit was sent to {{ holder }}{{ clause }}, with a description that is a 6-character code that starts with SM (SM plus 4 more). ',\n 'stripeMicrodepositVerify.enterAmountsOwn': 'When they arrive, enter the two amounts below to finish. ',\n 'stripeMicrodepositVerify.enterAmountsPartner': 'Ask {{ partner }} for the two deposit amounts and enter them below to finish. ',\n 'stripeMicrodepositVerify.enterCodeOwn': 'When it arrives, enter that code below to finish. ',\n 'stripeMicrodepositVerify.enterCodePartner': 'Ask {{ partner }} for the code and enter it below to finish. ',\n 'stripeMicrodepositVerify.holderPartner': '{{ partner }}\\'s account',\n 'stripeMicrodepositVerify.holderYours': 'your account',\n 'stripeMicrodepositVerify.keepsActive': 'Your current payment method stays active until the new bank account is verified.',\n 'stripeMicrodepositVerify.keepsActivePartner': '{{ partner }}\\'s current payment method stays active until the new bank account is verified.',\n 'stripeMicrodepositVerify.partnerOrSetup': '{{ partner }} or the crematory that set it up can finish the verification.',\n 'stripeMicrodepositVerify.processing': 'Your bank is confirming this account; this usually takes up to a few business days. We will email you when it is ready.',\n 'stripeMicrodepositVerify.processingPartner': '{{ partner }}\\'s bank is confirming this account; this usually takes up to a few business days. We will email you when it is ready.',\n 'stripeMicrodepositVerify.processingTitle': 'Bank account being confirmed',\n 'stripeMicrodepositVerify.readOnly': 'An administrator of your organization can finish the verification.',\n 'stripeMicrodepositVerify.startedByOther': 'This bank account was started by another crematory; it can be finished by them.',\n 'stripeMicrodepositVerify.startedByPartner': 'This bank account was started by {{ partner }}; it can be finished by them.',\n 'stripeMicrodepositVerify.title': 'Bank account waiting for verification',\n 'stripeMicrodepositVerify.tooManyAttempts': 'Too many failed attempts. Please try again later or contact support.',\n 'stripeMicrodepositVerify.verifyLabel': 'Verify bank account',\n 'stripeMicrodepositVerify.wholeCents': 'Enter whole cents, for example 32.',\n 'stripeStripeConnect.failedCheck': 'Failed to check payment account status',\n 'stripeStripeConnect.failedLink': 'Failed to retrieve onboarding link',\n 'stripeStripeConnect.failedStart': 'Failed to start payment account setup',\n 'stripeStripeConnect.liveComplete': 'Account setup complete.',\n 'stripeStripeConnect.liveIncomplete': 'Account setup incomplete.',\n 'stripeStripeConnect.liveLoading': '{{ text }} Loading.',\n 'stripeStripeConnect.liveNone': 'Stripe account not connected.',\n 'stripeStripeConnect.liveVerifying': 'Stripe is verifying your account.',\n 'stripeStripeConnect.noticeComplete': 'Payment account setup complete!',\n 'stripeStripeConnect.noticeCompleteResume': 'Payment account setup is already complete!',\n 'stripeStripeConnect.noticeIncomplete': 'Payment account setup is not yet complete. Please continue setup.',\n 'stripeStripeConnect.noticeLinkUnavailable': 'Unable to retrieve onboarding link. Please try again.',\n 'stripeStripeConnect.noticeVerifying': 'Setup submitted! Stripe is verifying your account. This usually takes a few minutes. Click \"Check Status\" to refresh.',\n // component texts (generated by the template pass, grouped by component)\n 'errorState.defaultMessage': 'Something went wrong. Please try again.',\n 'importExport.checkingYourRows': 'Checking your rows…',\n 'importExport.nothingIsSavedUntilEvery': 'Nothing is saved until every row is valid. Fix the file and upload it again.',\n 'importExport.rowsWithErrors': 'Rows with errors',\n 'refundPanel.enterReasonForRefund': 'Enter reason for refund...',\n 'refundPanel.feeHandling': 'Fee Handling',\n 'refundPanel.notes': 'Notes',\n 'refundPanel.nothingLeftMessage': 'This payment has already been refunded in full.',\n 'refundPanel.reason': 'Reason',\n 'refundPanel.refundAmount': 'Refund Amount ($)',\n 'refundPanel.refundAmount2': 'Refund amount',\n 'refundPanel.refundType': 'Refund Type',\n 'refundPanel.title': 'Refund Payment',\n 'refundPanel.warning': 'This action cannot be undone. The refund is processed immediately and the customer is notified.',\n 'tour.finishLabel': 'Finish',\n 'tour.nextLabel': 'Next',\n 'tour.previousLabel': 'Previous',\n 'tour.progressLabel': 'Step {n} of {total}',\n 'tour.skipLabel': 'Skip Tour',\n // component texts (generated by the template pass, grouped by component)\n 'board.actionsFor': 'Actions for {{ name }}',\n 'colorInput.colour': 'Colour',\n 'colorInput.picker': '{{ label }} picker',\n 'colorInput.presets': '{{ label }} presets',\n 'importExport.selectSource': 'Select your {{ entity }} source',\n 'messagingDocumentSendOptions.searchFailedMessage': 'Couldn\\'t search your documents. Check your connection and try again.',\n 'messagingSendMessagePanel.previewNamed': 'Preview {{ name }}',\n 'notes.addFirstNote': 'Add your first note above.',\n 'notes.noNotesAdded': 'No notes have been added.',\n 'paymentSidePanel.sendToReader': 'Send to Reader',\n 'paymentSidePanel.sending': 'Sending...',\n 'starRating.rating': 'Rating',\n 'timeline.ariaLabel': 'Timeline',\n /** Second line of a timeline item built by `timelineItemsFromEvents`: \"Amount: $10.00\". */\n 'timeline.eventAmount': 'Amount',\n /** Title of a locked record built by `timelineItemsFromEvents`. */\n 'timeline.eventLocked': '{{ title }} (locked record)',\n 'common.change': 'Change',\n 'common.delete': 'Delete',\n 'common.hide': 'Hide',\n 'common.removeNamed': 'Remove {{ name }}',\n 'common.videos': 'Videos',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.unreadCount': '{{ count }} unread',\n 'board.loadingNamed': 'Loading {{ name }}',\n 'board.showMore': 'Show {{ next }} more ({{ hidden }} not shown)',\n 'calendar.actionsFor': 'Actions for {{ name }}',\n 'calendar.addAllDayEventOn': 'Add all-day event on {{ day }}',\n 'calendar.addEventOn': 'Add event on {{ day }}',\n 'calendar.filter': 'Filter',\n 'combobox.clearNamed': 'Clear {{ name }}',\n 'combobox.selection': 'selection',\n 'dataTable.dragHandle': 'drag handle',\n 'detailCard.toggleSection': 'Toggle section',\n 'discountSelector.offApplies': '{{ value }} off {{ applies }}',\n 'emailTemplateEditor.emailBlockN': 'Email block {{ n }}',\n 'emailTemplateEditor.emailOff': 'Email off',\n 'emailTemplateEditor.emailOn': 'Email on',\n 'emailTemplateEditor.insertNamed': 'Insert {{ name }}',\n 'fileInput.processing': 'Processing…',\n 'imageGallery.showImage': 'Show image {{ n }} of {{ total }}',\n 'importExport.columnFor': '{{ field }} column',\n 'importExport.columnForRequired': '{{ field }} column, required',\n 'importExport.columnMapping': '{{ entity }} column mapping',\n 'importExport.requiredError': 'Required',\n 'keypad.dotsLabel': '{{ label }}: {{ count }} of {{ max }} digits entered',\n 'kpiCard.progress': '{{ label }} progress',\n 'list.sortableItem': 'sortable item',\n 'messagingSendMessagePanel.enterValue': 'Enter {{ name }}...',\n 'messagingTemplatePicker.custom': 'Custom',\n 'messagingTemplatePicker.system': 'System',\n 'notes.queued.waiting': 'Waiting to send',\n 'notes.queued.sending': 'Sending…',\n 'notes.queued.deleteWaiting': 'Waiting to delete',\n 'notes.queued.deleteSending': 'Deleting…',\n 'notes.queued.failed': 'Not sent. This change needs your attention.',\n 'notes.queued.conflict': 'Not sent. Someone else changed this note.',\n 'notes.queued.addedAnnounce': 'Note saved on this device. Waiting to send.',\n 'notes.queued.editedAnnounce': 'Note change saved on this device. Waiting to send.',\n 'notes.queued.deletedAnnounce': 'Note deletion saved on this device. Waiting to send.',\n 'notes.queued.problemAnnounce': 'A note change could not be sent.',\n 'notes.queued.offlineSome': 'You\\'re offline, so only the notes saved on this device are shown here.',\n 'notes.queued.offlineNone': 'You\\'re offline, so the notes can\\'t be loaded right now. A note you add is saved on this device and sent when you\\'re back online.',\n 'notes.you': 'You',\n 'passwordRequirements.met': 'met',\n 'passwordRequirements.notMet': 'not met',\n 'paymentSidePanel.amountFor': 'Amount for {{ name }}',\n 'paymentSidePanel.splitPayments_one': '{{ count }} payment in this split',\n 'paymentSidePanel.splitPayments_other': '{{ count }} payments in this split',\n 'pdfDocumentSignModal.changeSignature': 'Change signature',\n // Used when the host replaced the visible Change text (`texts.change`): the button's accessible name is that text plus the noun.\n 'pdfDocumentSignModal.changeNamed': '{{ change }} signature',\n 'pdfViewer.pageOf': 'Page {{ n }} of {{ total }}',\n 'phoneNumberPicker.selectNamed': 'Select {{ name }}',\n 'reminderAlerts.hideAlert': 'Hide alert',\n 'shareMenu.shareNamed': 'Share {{ name }}',\n 'starRating.nStars': '{{ n }} stars',\n 'starRating.oneStar': '1 star',\n 'stripeConnect.accountId': 'Account ID: {{ id }}',\n 'toggleBadge.actions': '{{ label }} actions',\n // component texts (generated by the template pass, grouped by component)\n 'bulkMessagePanel.contactWord_one': 'contact',\n 'bulkMessagePanel.contactWord_other': 'contacts',\n 'bulkMessagePanel.noEmailWord': 'email',\n 'bulkMessagePanel.noPhoneWord': 'phone',\n 'calendar.addButton': '+ Add',\n 'calendar.moreCount': '+{{ count }} more',\n 'conversations.openSr': 'open',\n 'emailTemplateEditor.example': 'Example: {{ example }}',\n 'importExport.entityField': '{{ entity }} Field',\n 'importExport.mapManually': 'Use the dropdowns below to map them manually.',\n 'importExport.previewRows_one': 'Preview of the first {{ shown }} row(s) of {{ total }} total. Review before importing.',\n 'importExport.previewRows_other': 'Preview of the first {{ shown }} row(s) of {{ total }} total. Review before importing.',\n 'importExport.rowNumber': 'Row {{ row }}',\n 'importExport.rowsWithErrors_one': '{{ count }} row with errors found',\n 'importExport.rowsWithErrors_other': '{{ count }} rows with errors found',\n 'importExport.stepCurrent': 'current step',\n 'importExport.stepDone': 'completed',\n 'importExport.unmappedRequired_one': 'We couldn\\'t match {{ count }} required field(s):',\n 'importExport.unmappedRequired_other': 'We couldn\\'t match {{ count }} required field(s):',\n 'importExport.unmatchedCsv_one': '{{ count }} column(s) in your CSV weren\\'t matched and will be ignored:',\n 'importExport.unmatchedCsv_other': '{{ count }} column(s) in your CSV weren\\'t matched and will be ignored:',\n 'messagingSendMessagePanel.recipientsWord': 'recipients',\n 'messagingSendMessagePanel.toLabel': 'To:',\n 'messagingSendText.uploading': 'Uploading...',\n 'messagingTemplatePicker.inactive': 'Inactive',\n 'messagingVideoLinkSettings.watchPreview': 'Watch Preview →',\n 'paymentSidePanel.deviceConnected': '{{ provider }} device connected',\n 'paymentSidePanel.deviceNotConnected': '{{ provider }} device not connected',\n 'paymentSidePanel.paymentSuccessful': 'Payment of {{ amount }} successful!',\n 'phoneNumberPicker.youChose': 'You chose {{ name }}',\n 'stepper.optional': '(optional)',\n 'stripeStripeConnect.completeSetup': 'Complete Setup',\n 'stripeStripeConnect.checkStatus': 'Check Status',\n 'stripeStripeConnect.opensInNewTabBusy': '{{ label }}, opens in a new tab, busy',\n 'stripeStripeConnect.opensInNewTabSr': ', opens in a new tab',\n 'textTemplatePicker.noVariablesMatch': 'No variables match \"{{ query }}\"',\n // component texts (generated by the template pass, grouped by component)\n 'messagingSendMessagePanel.recipientCount_one': '{{ count }} recipient',\n 'messagingSendMessagePanel.recipientCount_other': '{{ count }} recipients',\n // component texts (generated by the template pass, grouped by component)\n 'addressInput.cityPlaceholder': 'Springfield',\n 'addressInput.streetPlaceholder': '123 Main Street',\n 'addressInput.unitPlaceholder': 'Apt 4',\n 'addressInput.zipLabel': 'ZIP',\n 'bankAccountForm.mandate': 'By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.',\n 'board.itemNoun': 'item',\n 'board.itemNounPlural': 'items',\n 'board.movedTo': '{{ item }} moved to {{ column }}',\n 'board.showingOf': 'Showing {{ limit }} of {{ total }} {{ noun }} in {{ column }}',\n 'bulkMessagePanel.sendToN_one': 'Send to {{ count }} Contact',\n 'bulkMessagePanel.sendToN_other': 'Send to {{ count }} Contacts',\n 'cardListItem.priorityHigh': 'High priority',\n 'cardListItem.priorityLow': 'Low priority',\n 'cardListItem.priorityMedium': 'Medium priority',\n 'charts.seriesN': 'Series {{ n }}',\n 'format.daysAgo': '{{ n }}d ago',\n 'format.hoursAgo': '{{ n }}h ago',\n 'format.justNow': 'just now',\n 'format.minutesAgo': '{{ n }}m ago',\n 'imageGallery.imageN': 'Image {{ n }} of {{ total }}',\n 'imageGallery.imageNAlt': 'Image {{ n }} of {{ total }}: {{ alt }}',\n 'importExport.csvNeedsRows': 'CSV must have a header row and at least one data row.',\n 'importExport.importRecords_one': 'Import {{ count }} Record(s)',\n 'importExport.importRecords_other': 'Import {{ count }} Record(s)',\n 'importExport.importValidRows': 'Import Valid Rows',\n 'importExport.leaveBlank': '— Leave blank —',\n 'list.itemN': 'Item {{ n }}',\n 'messagingDocumentSendOptions.envelopeReadFailed': 'The documents of this envelope couldn\\'t be read, so it can\\'t be sent yet.',\n 'messagingDocumentSendOptions.envelopeReading': 'Reading the envelope\\'s documents…',\n 'messagingDocumentSendOptions.signersReadFailed': 'The signers of this document couldn\\'t be read, so it can\\'t be sent yet.',\n 'messagingDocumentSendOptions.signersReading': 'Reading the document\\'s signers…',\n // NOTE: the next text holds a literal merge tag ({{first_name}}) that must reach the screen as written. UiLabelsService leaves a placeholder it was given no value for\n // visible, so it is safe here; a dictionary fed to ANOTHER interpolating system (Transloco, ICU ...) must escape it there, or it is replaced/emptied.\n 'messagingSendMessagePanel.bulkMergeTagHint': 'Personal details such as {{first_name}} are filled in for each recipient when sent.',\n 'messagingSendMessagePanel.emailDisabled': 'Email sending is disabled, so this can\\'t be sent. Enable it in Communication Settings.',\n 'messagingSendMessagePanel.leftoverTags': 'Replace every {{…}} field with text before sending.',\n 'messagingSendMessagePanel.subjectAttached_one': 'Document attached: {{ title }}',\n 'messagingSendMessagePanel.subjectAttached_other': '{{ count }} documents attached: {{ title }}…',\n 'messagingSendMessagePanel.subjectShared_one': 'Document shared: {{ title }}',\n 'messagingSendMessagePanel.subjectShared_other': '{{ count }} documents shared: {{ title }}…',\n 'messagingSendMessagePanel.subjectSign_one': 'Signature required: {{ title }}',\n 'messagingSendMessagePanel.subjectSign_other': '{{ count }} documents to sign: {{ title }}…',\n 'pdfViewer.unsupported': 'This browser can\\'t show the document preview.',\n 'pdfViewer.workerMissing': 'PDF worker is not configured.',\n 'shareMenu.unavailable': 'Sharing from this page isn\\'t available here. Use one of the other options.',\n 'stepper.srDisabled': ', disabled',\n 'stepper.srError': ', error',\n 'stepper.srErrorMessage': ', error: {{ message }}',\n 'stepper.srOptional': ', optional',\n 'stepper.srStep': ', step {{ n }} of {{ total }}, {{ status }}',\n 'stepper.statusComplete': 'completed',\n 'stepper.statusCurrent': 'current step',\n 'stepper.statusNotStarted': 'not started',\n 'stepper.stepOf': 'Step {{ n }} of {{ total }}: {{ label }}',\n 'textTemplatePicker.nVariables': '{{ count }} variables',\n 'textTemplatePicker.noVariables': 'No variables found',\n 'textTemplatePicker.oneVariable': '1 variable',\n // component texts (generated by the template pass, grouped by component)\n 'appShell.appName': 'App',\n 'messagingTemplatePicker.sampleAddress': '1842 Maple Grove Lane',\n 'messagingTemplatePicker.sampleClosingDate': 'Sept 15, 2026',\n 'messagingTemplatePicker.sampleCompany': 'Real Estate',\n 'messagingVideoLink.watchVideo': 'Watch video',\n 'paymentSidePanel.terminalProvider': 'Card',\n 'pdfDocumentViewerModal.fileName': 'Document',\n 'usState.AK': 'Alaska',\n 'usState.AL': 'Alabama',\n 'usState.AR': 'Arkansas',\n 'usState.AZ': 'Arizona',\n 'usState.CA': 'California',\n 'usState.CO': 'Colorado',\n 'usState.CT': 'Connecticut',\n 'usState.DC': 'District of Columbia',\n 'usState.DE': 'Delaware',\n 'usState.FL': 'Florida',\n 'usState.GA': 'Georgia',\n 'usState.HI': 'Hawaii',\n 'usState.IA': 'Iowa',\n 'usState.ID': 'Idaho',\n 'usState.IL': 'Illinois',\n 'usState.IN': 'Indiana',\n 'usState.KS': 'Kansas',\n 'usState.KY': 'Kentucky',\n 'usState.LA': 'Louisiana',\n 'usState.MA': 'Massachusetts',\n 'usState.MD': 'Maryland',\n 'usState.ME': 'Maine',\n 'usState.MI': 'Michigan',\n 'usState.MN': 'Minnesota',\n 'usState.MO': 'Missouri',\n 'usState.MS': 'Mississippi',\n 'usState.MT': 'Montana',\n 'usState.NC': 'North Carolina',\n 'usState.ND': 'North Dakota',\n 'usState.NE': 'Nebraska',\n 'usState.NH': 'New Hampshire',\n 'usState.NJ': 'New Jersey',\n 'usState.NM': 'New Mexico',\n 'usState.NV': 'Nevada',\n 'usState.NY': 'New York',\n 'usState.OH': 'Ohio',\n 'usState.OK': 'Oklahoma',\n 'usState.OR': 'Oregon',\n 'usState.PA': 'Pennsylvania',\n 'usState.RI': 'Rhode Island',\n 'usState.SC': 'South Carolina',\n 'usState.SD': 'South Dakota',\n 'usState.TN': 'Tennessee',\n 'usState.TX': 'Texas',\n 'usState.UT': 'Utah',\n 'usState.VA': 'Virginia',\n 'usState.VT': 'Vermont',\n 'usState.WA': 'Washington',\n 'usState.WI': 'Wisconsin',\n 'usState.WV': 'West Virginia',\n 'usState.WY': 'Wyoming',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.sendTest': 'Send Test',\n 'emailTemplateEditor.tipAlignCenter': 'Align Center',\n 'emailTemplateEditor.tipAlignLeft': 'Align Left',\n 'emailTemplateEditor.tipAlignRight': 'Align Right',\n 'emailTemplateEditor.tipBulletedList': 'Bulleted List',\n 'emailTemplateEditor.tipDeleteBlock': 'Delete block',\n 'emailTemplateEditor.tipInsertImage': 'Insert Image',\n 'emailTemplateEditor.tipInsertLink': 'Insert Link',\n 'emailTemplateEditor.tipMoveDown': 'Move down',\n 'emailTemplateEditor.tipMoveUp': 'Move up',\n 'emailTemplateEditor.tipNumberedList': 'Numbered List',\n 'emailTemplateEditor.tipTextColor': 'Text Color',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.tipBold': 'Bold',\n 'emailTemplateEditor.tipDuplicate': 'Duplicate',\n 'emailTemplateEditor.tipItalic': 'Italic',\n 'emailTemplateEditor.tipRedo': 'Redo',\n 'emailTemplateEditor.tipUnderline': 'Underline',\n 'emailTemplateEditor.tipUndo': 'Undo',\n // component texts (generated by the template pass, grouped by component)\n 'emailTemplateEditor.imageAltDefault': 'Image',\n 'common.file': 'File',\n // component texts (generated by the template pass, grouped by component)\n 'calendar.eventCount_one': '{{ count }} event',\n 'calendar.eventCount_other': '{{ count }} events',\n 'calendar.level.critical': 'critical activity',\n 'calendar.level.high': 'high activity',\n 'calendar.level.low': 'low activity',\n 'calendar.level.medium': 'medium activity',\n // dates and times shown by helper functions\n 'time.now': 'now',\n 'time.minutesShort': '{{ n }}m',\n 'time.hoursShort': '{{ n }}h',\n 'time.daysShort': '{{ n }}d',\n 'time.today': 'Today',\n 'time.yesterday': 'Yesterday',\n // shared by several components\n 'common.filterBy': 'Filter by {{ label }}',\n 'common.filterOptions': '{{ label }} filter options',\n 'common.close': 'Close',\n 'common.closeFilter': 'Close filter',\n 'common.clear': 'Clear',\n 'common.cancel': 'Cancel',\n 'common.apply': 'Apply',\n 'common.confirm': 'Confirm',\n 'common.dismiss': 'Dismiss',\n 'common.more': 'More',\n 'common.tryAgain': 'Try again',\n 'common.filterTabs': 'Filter tabs',\n 'common.rowActions': 'Row actions',\n 'common.dismissingIn': 'Dismissing in {{ n }}s',\n 'common.selectValidOption': 'Select a valid option.',\n 'common.required': '(required)',\n // data table\n 'dataTable.apply': 'Apply',\n 'dataTable.cancel': 'Cancel',\n 'dataTable.clear': 'Clear',\n 'dataTable.clearFilters': 'Clear filters',\n 'dataTable.noResults': 'No results match your search or filters.',\n 'dataTable.emptyMessage': 'No records yet.',\n 'dataTable.searchPlaceholder': 'Search...',\n 'dataTable.searchBy': 'Search by {{ fields }}...',\n 'dataTable.tableLabel': 'Data table',\n 'dataTable.totalsLabel': 'Total',\n 'dataTable.selectAll': 'Select all rows',\n 'dataTable.selectRow': 'Select row',\n 'dataTable.selectRowNamed': 'Select {{ name }}',\n 'dataTable.rowActions': 'Row actions',\n 'dataTable.rowActionsNamed': 'Row actions for {{ name }}',\n 'dataTable.reorder': 'Reorder',\n 'dataTable.reorderRow': 'Reorder row',\n 'dataTable.reorderRowNamed': 'Reorder {{ name }}',\n 'dataTable.opensInNewTab': '(opens in a new tab)',\n 'dataTable.sortAndFilter': 'Sort and filter',\n 'dataTable.sort': 'Sort',\n 'dataTable.sortBy': 'Sort by',\n 'dataTable.export': 'Export',\n 'dataTable.import': 'Import',\n 'dataTable.delete': 'Delete',\n 'dataTable.deleteConfirm': 'Delete this record? This cannot be undone.',\n 'dataTable.deleteFailed': 'Failed to delete. Please try again.',\n 'dataTable.genericError': 'Something went wrong. Please try again.',\n 'dataTable.loadError.offline': 'You\\'re offline, so your {{ items }} can\\'t be shown. Reconnect to the internet and try again.',\n 'dataTable.loadError.noCopy': 'You\\'re offline, so your {{ items }} can\\'t be shown. There is no saved copy of this view on this device. Reconnect to the internet and try again.',\n 'dataTable.loadError.unreachable': 'Your {{ items }} can\\'t load because the app can\\'t reach the server. Your internet may be down or the server may be having a problem. Check your connection and try again.',\n 'dataTable.loadError.timeout': 'Your {{ items }} are taking too long to load. Your connection may be slow. Wait a moment and try again.',\n 'dataTable.loadError.session': 'Your session has ended, so your {{ items }} can\\'t load. Sign in again to continue.',\n 'dataTable.loadError.forbidden': 'You don\\'t have permission to view {{ items }}. Ask an administrator for access.',\n 'dataTable.loadError.server': 'The server had a problem loading your {{ items }}. This is usually temporary. Try again in a few minutes.',\n 'dataTable.loadError.other': 'Your {{ items }} couldn\\'t be loaded. Try again, and contact support if it keeps happening.',\n 'dataTable.actionError.offline': 'You\\'re offline, so this change wasn\\'t made. Reconnect to the internet and try again.',\n 'dataTable.actionError.unreachable': 'This change wasn\\'t made because the app can\\'t reach the server. Check your connection and try again.',\n 'dataTable.actionError.timeout': 'This is taking too long, and the change may not have been saved. Check the list before you try again.',\n 'dataTable.noneDeletable': 'None of the selected rows can be deleted.',\n 'dataTable.whatWillHappen': 'What will happen',\n 'dataTable.never': 'Never',\n 'dataTable.daysAgo': '{{ days }}d ago',\n 'dataTable.itemWord': 'item',\n 'dataTable.itemsWord': 'items',\n 'dataTable.selectedCount_one': '{{ count }} {{ item }} selected',\n 'dataTable.selectedCount_other': '{{ count }} {{ item }} selected',\n 'dataTable.sortByColumn': 'Sort by {{ column }}',\n 'dataTable.tryAgain': 'Try again',\n 'dataTable.all': 'All',\n 'dataTable.default': 'Default',\n 'dataTable.linkOpensNewTab': '{{ label }} (opens in a new tab)',\n // reordering\n 'dataTable.moveUp': 'Move {{ name }} up',\n 'dataTable.moveDown': 'Move {{ name }} down',\n 'dataTable.rowWord': 'row',\n 'dataTable.rowWordCapital': 'Row',\n 'dataTable.dragHint': 'Drag to reorder, or use the up and down arrow keys',\n 'dataTable.reorderHelp': 'Drag to reorder with a mouse, or use the up and down arrow keys; Home moves to the top and End to the bottom.',\n 'dataTable.reorderBlockedFiltered': 'Clear the sort, search and filters to change the order',\n 'dataTable.reorderBlockedNothing': 'There is nothing to reorder',\n 'dataTable.reorderBlockedOther': 'Reordering is not available right now',\n 'dataTable.reorderAtPosition': '{{ name }} is at position {{ position }} of {{ total }}. Use the up and down arrow keys to move it, Home for the top, End for the bottom.',\n 'dataTable.reorderMoved': '{{ name }} moved to position {{ position }} of {{ total }}',\n // bulk actions, confirmations and results\n 'dataTable.changeColumn': 'Change {{ column }}',\n 'dataTable.deleteTitle': 'Delete {{ items }}',\n 'dataTable.deleteRecordConfirm': 'Delete this {{ item }}? This cannot be undone.',\n 'dataTable.deleteBulkConfirm': 'Delete {{ count }} {{ item }}? This cannot be undone.',\n 'dataTable.actionConfirm': '{{ action }} for {{ count }} {{ item }}?',\n 'dataTable.bulkChangeConfirm': 'Change {{ column }} to {{ option }} for {{ count }} {{ item }}?',\n 'dataTable.bulkCustomConfirm': '{{ label }}: {{ option }} for {{ count }} {{ item }}?',\n 'dataTable.noneQualify': 'None of the selected rows qualify for {{ action }}.',\n 'dataTable.skipNotQualify_one': '1 selected row doesn\\'t qualify for {{ action }} and will be skipped.',\n 'dataTable.skipNotQualify_other': '{{ count }} selected rows don\\'t qualify for {{ action }} and will be skipped.',\n 'dataTable.skipCantDelete_one': '1 selected row can\\'t be deleted and will be skipped.',\n 'dataTable.skipCantDelete_other': '{{ count }} selected rows can\\'t be deleted and will be skipped.',\n 'dataTable.skipCantChange_one': '1 selected row can\\'t be changed to {{ option }} and will be skipped.',\n 'dataTable.skipCantChange_other': '{{ count }} selected rows can\\'t be changed to {{ option }} and will be skipped.',\n 'dataTable.skipAlreadyHas_one': '1 selected row already has this value and will be skipped.',\n 'dataTable.skipAlreadyHas_other': '{{ count }} selected rows already have this value and will be skipped.',\n 'dataTable.noChangesBlocked': 'No changes — the selected rows can\\'t be changed to {{ option }}.',\n 'dataTable.noChangesAlready': 'No changes — all selected {{ item }} already have {{ option }}.',\n 'dataTable.bulkCannotApply': 'The selected rows can\\'t all be changed to {{ option }} together.',\n 'dataTable.bulkOptionBlocked': '{{ option }}: {{ reason }}',\n 'dataTable.doneUpdated': 'updated',\n 'dataTable.doneDeleted': 'deleted',\n 'dataTable.doneDownloaded': 'downloaded',\n 'dataTable.summaryDone': '{{ count }} {{ done }}',\n 'dataTable.summarySkipped': '{{ count }} skipped',\n 'dataTable.summaryNotAllowed': '{{ count }} not allowed',\n // Rows another save held at that moment (the backend's `busy`, not part of `skipped`): the last part of \"2 updated, 1 skipped, 3 busy (try again).\" and, when NOTHING else happened, the whole sentence (the item word agrees with the count).\n 'dataTable.summaryBusy': '{{ count }} busy (try again)',\n 'dataTable.summaryBusyOnly_one': '{{ count }} {{ item }} is busy: another save was in progress, try again.',\n 'dataTable.summaryBusyOnly_other': '{{ count }} {{ item }} are busy: another save was in progress, try again.',\n // FLAG, not UI text: 'yes' / 'no' (never shown). It chooses the {{ item }} word of the two summaryAll texts. 'no' (English): the singular word next to \"(s)\"\n // (\"3 contact(s) updated.\"). 'yes' (a language whose nouns agree with the number, Spanish): the word that agrees with the count (\"1 contacto\", \"5 contactos\").\n 'dataTable.summaryUsesCountAgreement': 'no',\n 'dataTable.summaryAll_one': '{{ count }} {{ item }}(s) {{ done }}.',\n 'dataTable.summaryAll_other': '{{ count }} {{ item }}(s) {{ done }}.',\n 'dataTable.summaryDownloadSkipped': '{{ count }} {{ done }}, {{ skipped }} skipped.',\n 'dataTable.rowDeleted': '{{ item }} deleted',\n 'dataTable.rowNotDeleted': 'This {{ item }} wasn\\'t deleted — it may have changed or already been removed.',\n 'dataTable.viewSaved': 'View saved',\n 'dataTable.viewSaveFailed': 'Failed to save view',\n 'dataTable.viewDeleted': 'View deleted',\n 'dataTable.viewDeleteFailed': 'Failed to delete view',\n // connection / offline support (@forgeroute/ui/offline)\n 'connection.offline.title': \"You're offline\",\n 'connection.offline.message': \"Your changes are saved on this device and will send when you're back online.\",\n 'connection.pending.one': '{{ count }} change waiting to send',\n 'connection.pending.other': '{{ count }} changes waiting to send',\n 'connection.slow.title': 'Slow connection',\n 'connection.slow.message': \"Things may take longer. Your work is safe — please wait and don't tap Save twice.\",\n 'connection.unreachable.title': \"Can't reach the server\",\n 'connection.unreachable.message': \"We'll keep trying. Your changes are saved on this device.\",\n 'connection.syncing.one': 'Back online. Sending {{ count }} change…',\n 'connection.syncing.other': 'Back online. Sending {{ count }} changes…',\n 'connection.synced': 'All changes synced',\n 'connection.needAttention.one': '{{ count }} change needs your attention',\n 'connection.needAttention.other': '{{ count }} changes need your attention',\n 'connection.syncNow': 'Sync now',\n 'connection.viewChanges': 'View changes',\n 'connection.whatCanIDo': 'What can I do?',\n 'connection.hide': 'Hide',\n 'connection.savedOnDevice': \"Saved on this device — will send when you're back online.\",\n 'connection.offline.noQueue.message': \"This page needs a connection to continue. What you have entered stays on this page.\",\n 'connection.unreachable.noQueue.message': \"We'll keep trying. What you have entered stays on this page.\",\n 'connection.slow.noQueue.message': \"Things may take longer. Please wait and don't tap twice.\",\n 'connection.backOnline': \"You're back online\",\n 'connection.stillWorking': \"Still working… please don't tap again.\",\n 'connection.timeout.read': 'This is taking too long. Check your connection and try again.',\n 'connection.thisAction': 'This action',\n 'connection.timeout.write': 'This is taking too long. It may have been saved — please check before trying again.',\n 'connection.blocked': '{{ action }} needs an internet connection. Reconnect and try again.',\n 'connection.uploadBlocked': 'File uploads need an internet connection.',\n 'connection.storageUnavailable': \"Can't save while offline on this device.\",\n 'connection.noCopy': 'No connection and no saved copy.',\n 'connection.storageNotAvailable': 'Offline storage is not available.',\n 'connection.storageTimeout': 'Opening the offline database timed out (blocked by another tab?).',\n 'connection.queueFull': 'The offline queue is full ({{ limit }}).',\n 'connection.transactionAborted': 'The transaction was aborted.',\n 'connection.stale': 'Showing saved data from {{ time }}',\n 'connection.refresh': 'Refresh',\n 'connection.refreshAria': 'Refresh to load the latest data',\n 'connection.logoutPending.one': 'You have {{ count }} change that has not been sent yet. If you sign out now it stays on this device and is sent when you sign in again.',\n 'connection.logoutPending.other': 'You have {{ count }} changes that have not been sent yet. If you sign out now they stay on this device and are sent when you sign in again.',\n 'connection.authBlocked': 'Please sign in again to send your saved changes. They are safe on this device.',\n 'connection.error.conflict': 'The server already has a different version.',\n 'connection.error.rejected': 'The server did not accept this change.',\n 'connection.error.server': 'The server had a problem. We will try again.',\n 'connection.error.network': 'No connection. We will try again.',\n 'connection.error.timeout': 'The server took too long. We will try again.',\n 'connection.error.auth': 'Please sign in again to send this change. It is safe on this device.',\n 'connection.error.unknown': 'This change could not be sent yet. Press Retry to try again.',\n 'connection.error.dependency': 'This change depends on another change that could not be saved first.',\n 'connection.retry': 'Retry',\n 'connection.discard': 'Discard',\n 'connection.discardAll': 'Discard all',\n 'connection.syncAll': 'Sync all',\n 'connection.region': 'Connection status',\n 'connection.info.panelLabel': 'What you can do right now',\n 'connection.info.canDoTitle': 'You can still:',\n 'connection.info.canDo1': 'Look at pages you have already opened',\n 'connection.info.canDo2': 'Fill in and save forms — your changes stay on this device and send when you are back online',\n 'connection.info.needsTitle': 'These need an internet connection:',\n 'connection.info.needs1': 'Payments, sending email or text messages, and uploading files',\n 'connection.drawer.title': 'Saved changes',\n 'connection.drawer.list': 'Saved changes',\n 'connection.drawer.empty': 'Nothing is waiting to send. All your changes are synced.',\n 'connection.drawer.close': 'Close',\n 'connection.status.pending': 'Waiting to send',\n 'connection.status.syncing': 'Sending…',\n 'connection.status.failed': 'Could not send',\n 'connection.status.conflict': 'Needs your decision',\n 'connection.savedAt': 'Saved {{ time }}',\n 'connection.time.justNow': 'just now',\n 'connection.retryNamed': 'Retry {{ label }}',\n 'connection.discardNamed': 'Discard {{ label }}',\n 'connection.discard.title': 'Discard this change?',\n 'connection.discard.message': 'Discard \"{{ label }}\"? It will not be sent to the server and this cannot be undone.',\n 'connection.discard.dependents.one': 'Discard \"{{ label }}\"? 1 other saved change depends on it and will not be sent either. This cannot be undone.',\n 'connection.discard.dependents.other': 'Discard \"{{ label }}\"? {{ count }} other saved changes depend on it and will not be sent either. This cannot be undone.',\n 'connection.discardAll.title': 'Discard all saved changes?',\n 'connection.discardAll.message.one': 'Discard {{ count }} saved change? It will not be sent to the server and this cannot be undone.',\n 'connection.discardAll.message.other': 'Discard all {{ count }} saved changes? They will not be sent to the server and this cannot be undone.',\n 'connection.result.retrying': 'Retrying \"{{ label }}\"…',\n 'connection.result.syncStarted': 'Sending your saved changes…',\n 'connection.result.discarded': 'Discarded \"{{ label }}\".',\n 'connection.result.discardedAll': 'Discarded all saved changes.',\n 'connection.conflict.rowText': 'This was changed by someone else after you saved it offline, so your change was not applied.',\n 'connection.conflict.keepMine': 'Keep my version',\n 'connection.conflict.keepMineNamed': 'Keep my version of {{ label }}',\n 'connection.conflict.discard': 'Discard my change',\n 'connection.conflict.discardNamed': 'Discard my change: {{ label }}',\n 'connection.conflict.confirmTitle': 'Keep my version?',\n 'connection.conflict.confirmMessage': 'Replace the newer version? Your change will overwrite what someone else saved. The other version is lost.',\n 'connection.conflict.result.keeping': 'Sending your version of \"{{ label }}\"…',\n 'connection.conflict.error.disabled': 'Keep my version is not turned on for this app.',\n 'connection.conflict.error.notFound': 'This saved change no longer exists.',\n 'connection.conflict.error.notConflict': 'This change is not waiting for your decision.',\n 'connection.conflict.error.noStamp': 'There is nothing to overwrite for this change.',\n 'connection.conflict.result.sent': 'Your version of \"{{ label }}\" was sent.',\n 'connection.conflict.result.shortly': 'Your version of \"{{ label }}\" will be sent shortly.',\n 'connection.conflict.error.unknown': 'Your version could not be sent yet. Your change is still saved on this device.',\n 'common.example': 'e.g. {{ value }}',\n 'format.durationMinSec': '{{ m }}m {{ s }}s',\n 'format.durationSec': '{{ s }}s',\n 'format.aptPrefix': 'Apt {{ apt }}',\n 'common.listAnd': '{{ list }} and {{ last }}',\n // The joiner before a last item that starts with the sound \"i\" (Spanish \"e\": \"video e imagen\"); English has one \"and\".\n 'common.listAndBeforeI': '{{ list }} and {{ last }}',\n 'discountSelector.applies.labor': 'labor',\n 'discountSelector.applies.materials': 'materials',\n 'discountSelector.applies.total': 'total',\n 'importExport.downloadTemplate': 'Download template',\n 'importExport.exportedCount': '{{ count }} {{ noun }} exported',\n 'contactPicker.resultCount_one': '{{ count }} result',\n 'contactPicker.resultCount_other': '{{ count }} results',\n 'conversations.status.delivered': 'Delivered',\n 'conversations.status.sent': 'Sent',\n 'conversations.status.failed': 'Failed',\n 'conversations.status.scheduled': 'Scheduled',\n 'conversations.imageFallbackName': 'image',\n 'calendar.view.week': 'Week',\n 'calendar.view.month': 'Month',\n 'calendar.view.agenda': 'Agenda',\n 'colorInput.invalidHex': 'Enter a hex colour like #3b82f6.',\n 'messagingVideoLink.watchNamed': 'Watch \"{{ title }}\": {{ link }}',\n 'connection.defaultLabel.add': 'Add {{ entity }}',\n 'connection.defaultLabel.update': 'Update {{ entity }}',\n 'connection.defaultLabel.delete': 'Delete {{ entity }}',\n 'connection.entityFallback': 'item',\n 'dataTable.rowPosition': '({{ k }} of {{ total }})',\n 'multiSelect.nSelected_one': '{{ count }} selected',\n 'multiSelect.nSelected_other': '{{ count }} selected',\n 'bulkMessagePanel.skippedNo_one': '{{ count }} skipped (no {{ what }})',\n 'bulkMessagePanel.skippedNo_other': '{{ count }} skipped (no {{ what }})',\n 'messagingSendMessagePanel.canReceiveEmail_one': '{{ count }} can receive email',\n 'messagingSendMessagePanel.canReceiveEmail_other': '{{ count }} can receive email',\n 'messagingSendMessagePanel.canReceiveText_one': '{{ count }} can receive text',\n 'messagingSendMessagePanel.canReceiveText_other': '{{ count }} can receive text',\n 'messagingSendMessagePanel.announceNone_one': '{{ count }} {{ word }} selected. None can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceNone_other': '{{ count }} {{ word }} selected. None can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceSome_one': '{{ count }} {{ word }} selected. {{ ok }} can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceSome_okOne': '{{ count }} {{ word }} selected. {{ ok }} can receive the {{ channel }}.',\n 'messagingSendMessagePanel.announceSome_other': '{{ count }} {{ word }} selected. {{ ok }} can receive the {{ channel }}.',\n 'paymentSidePanel.span.second_one': '{{ count }} second',\n 'paymentSidePanel.span.second_other': '{{ count }} seconds',\n 'fileInput.word.image': 'image',\n 'fileInput.word.video': 'video',\n 'fileInput.word.audio': 'audio',\n // Language marker, not a caption: the integrations catalog (integrations.catalog.ts) shows its Spanish copy only while this is 'es'. A dictionary of another\n // language leaves it as is (or sets its own code), so the English catalog is shown instead of a Spanish one next to that language's texts.\n 'integrations.language': 'en',\n // Locale marker, not a caption: the locale of dates, times and numbers that goes with this dictionary. UiLabelsService.locale() answers it unless\n // the app called setLocale(). A dictionary of another language that does not set it falls back to en-US.\n 'i18n.locale': 'en-US',\n 'language.label': 'Language',\n 'language.automatic': 'Automatic ({{ name }})',\n 'setupWizard.integrationTitle.twilio': 'Twilio (calls & texts)',\n 'validation.requiredNoLabel': 'This field is required.',\n 'common.nSelected': '{{ count }} selected',\n 'kanban.ariaLabel': 'Board',\n 'kanban.loading': 'Loading {{ name }}',\n 'kanban.emptyColumnText': 'Nothing here yet',\n 'kanban.columnLabel_one': '{{ column }}, {{ count }} card',\n 'kanban.columnLabel_other': '{{ column }}, {{ count }} cards',\n 'kanban.probability': '{{ percent }} probability',\n 'kanban.moveTo': 'Move to {{ column }}',\n 'kanban.moveMenu': 'Move {{ name }}',\n 'kanban.hint': 'Press Space to pick up a card, the arrow keys to move it, Space or Enter to drop it and Escape to cancel. Press Enter to open a card.',\n 'kanban.pickedUp': 'Picked up {{ item }}. {{ column }}, position {{ position }} of {{ total }}. Use the arrow keys to move it, Space or Enter to drop it, Escape to cancel.',\n 'kanban.movingOver': '{{ item }}: {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.movingOverBlocked': '{{ item }} cannot be dropped in {{ column }}.',\n 'kanban.moved': 'Moved {{ item }} to {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.unchanged': '{{ item }} stays in {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.dropBlocked': 'Cannot move {{ item }} to {{ column }}.',\n 'kanban.cancelled': 'Move cancelled. {{ item }} is back in {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.reverted': '{{ item }} could not be moved. It is back in {{ column }}, position {{ position }} of {{ total }}.',\n 'kanban.blocked': 'Not allowed',\n 'kanban.showMore': 'Show {{ next }} more ({{ hidden }} not shown)',\n 'kanban.showingOf': 'Showing {{ limit }} of {{ total }} cards in {{ column }}',\n 'map.ariaLabel': 'Map',\n 'map.keyboardHelp': 'Use the arrow keys to pan and the plus and minus keys to zoom. Every place on the map is also in the list of places.',\n 'map.zoomIn': 'Zoom in',\n 'map.zoomOut': 'Zoom out',\n 'map.fitMarkers': 'Show all places',\n 'map.loading': 'Loading map',\n 'map.unavailableNoTiles': 'Map unavailable: no tile source configured',\n 'map.unavailableNoAttribution': 'Map unavailable: the tile source has no attribution text',\n 'map.unavailableInvalidTiles': 'Map unavailable: the tile source address is not valid',\n 'map.unavailableLoadFailed': 'Map unavailable: the map could not be loaded',\n 'map.tilesFailed': 'Some map tiles could not be loaded.',\n 'map.listLabel': 'Places on the map',\n 'map.listCount_one': '{{ count }} place',\n 'map.listCount_other': '{{ count }} places',\n 'map.listShowing': 'Showing {{ shown }} of {{ total }} places',\n 'map.listEmpty': 'No places to show.',\n 'map.clusterTitle': '{{ count }} places. Select to zoom in.',\n 'map.infoLabel': 'Details for {{ name }}',\n 'map.closeInfo': 'Close details',\n 'map.drawToolbar': 'Search area tools',\n 'map.drawCircle': 'Draw circle',\n 'map.drawRectangle': 'Draw rectangle',\n 'map.drawPolygon': 'Draw area',\n 'map.clearArea': 'Clear area',\n 'map.drawFinish': 'Finish',\n 'map.drawCancel': 'Cancel',\n 'map.drawUndo': 'Undo last point',\n 'map.addPointAtCenter': 'Add point at crosshair',\n 'map.draw.circle': 'Drawing a circle. Click the center, then click a point on its edge. Space adds a point at the crosshair, Escape cancels.',\n 'map.draw.rectangle': 'Drawing a rectangle. Click one corner, then the opposite corner. Space adds a point at the crosshair, Escape cancels.',\n 'map.draw.polygon': 'Drawing an area. Click each corner, then press Enter or Finish. Space adds a point at the crosshair, Backspace removes the last point, Escape cancels.',\n 'map.draw.pointAdded': 'Point {{ count }} added.',\n 'map.draw.pointRemoved': 'Last point removed. {{ count }} left.',\n 'map.draw.needMore_one': 'Add {{ count }} more point to finish.',\n 'map.draw.needMore_other': 'Add {{ count }} more points to finish.',\n 'map.draw.rejected': 'That point cannot be used. Pick a different spot.',\n 'map.draw.cancelled': 'Drawing cancelled.',\n 'map.draw.cleared': 'Search area cleared.',\n 'map.draw.finished': 'Search area set. {{ area }}',\n 'map.areaSummary': 'Search area: {{ area }}',\n 'map.area.circle': 'Circle, center {{ lat }}, {{ lng }}, radius {{ radius }}',\n 'map.area.bbox': 'Rectangle, north {{ north }}, south {{ south }}, east {{ east }}, west {{ west }}',\n 'map.area.polygon': 'Area with {{ count }} points',\n 'map.unitMeters': '{{ value }} m',\n 'map.unitKilometers': '{{ value }} km',\n 'map.form.title': 'Search area',\n 'map.form.shape': 'Shape',\n 'map.form.circle': 'Circle',\n 'map.form.rectangle': 'Rectangle',\n 'map.form.polygon': 'Polygon',\n 'map.form.centerLat': 'Center latitude',\n 'map.form.centerLng': 'Center longitude',\n 'map.form.radius': 'Radius',\n 'map.form.radiusUnit': 'Radius unit',\n 'map.form.unitM': 'Meters',\n 'map.form.unitKm': 'Kilometers',\n 'map.form.unitMi': 'Miles',\n 'map.form.north': 'North latitude',\n 'map.form.south': 'South latitude',\n 'map.form.east': 'East longitude',\n 'map.form.west': 'West longitude',\n 'map.form.pointLat': 'Point latitude',\n 'map.form.pointLng': 'Point longitude',\n 'map.form.addPoint': 'Add point',\n 'map.form.pointsLabel': 'Points',\n 'map.form.pointItem': 'Point {{ n }}: {{ lat }}, {{ lng }}',\n 'map.form.removePoint': 'Remove point {{ n }}',\n 'map.form.noPoints': 'No points yet.',\n 'map.form.apply': 'Apply area',\n 'map.form.clear': 'Clear area',\n 'map.form.applied': 'Search area applied.',\n 'map.form.errorNumber': 'Enter a number.',\n 'map.form.errorLat': 'Enter a latitude between -90 and 90.',\n 'map.form.errorLng': 'Enter a longitude between -180 and 180.',\n 'map.form.errorRadius': 'Enter a radius greater than 0.',\n 'map.form.errorNorthSouth': 'North must be greater than south.',\n 'map.form.errorEastWest': 'East must be greater than west.',\n 'map.form.errorPolygon': 'Add at least 3 points.',\n 'map.draw.selfIntersecting': 'That point would make the area cross itself. Pick a different spot.',\n 'map.draw.finishSelfIntersecting': 'The area crosses itself. Remove the last point or undo until it does not.',\n 'map.form.errorSelfIntersecting': 'The area cannot cross itself. Remove or move a point.',\n 'map.placeSelected': '{{ name }} selected',\n 'notificationBell.label': 'Notifications',\n 'notificationBell.empty': 'You have no notifications.',\n 'notificationBell.close': 'Close',\n 'notificationBell.loading': 'Loading notifications',\n 'notificationBell.retry': 'Retry',\n 'notificationBell.markAllRead': 'Mark all as read',\n 'notificationBell.markRead': 'Mark read',\n 'notificationBell.markReadNamed': 'Mark {{ title }} as read',\n 'notificationBell.loadMore': 'Load more',\n 'notificationBell.new': 'New',\n 'notificationBell.labelUnread': '{{ label }}, {{ count }} unread',\n 'notificationBell.unread': '{{ count }} unread',\n 'notificationBell.allCaughtUp': 'All caught up',\n 'notificationBell.announce.none': 'You have no unread notifications.',\n 'notificationBell.announce.one': 'You have 1 unread notification.',\n 'notificationBell.announce.other': 'You have {{ count }} unread notifications.',\n 'stackingPlan.legend': 'Legend',\n 'stackingPlan.showTable': 'Show as table',\n 'stackingPlan.showPlan': 'Show as plan',\n 'stackingPlan.floor': 'Floor',\n 'stackingPlan.unit': 'Unit',\n 'stackingPlan.size': 'Size',\n 'stackingPlan.details': 'Details',\n 'rangeFilter.min': 'Min',\n 'rangeFilter.max': 'Max',\n 'rangeFilter.minFor': '{{ label }} minimum',\n 'rangeFilter.maxFor': '{{ label }} maximum',\n 'rangeFilter.group': '{{ label }} range',\n 'rangeFilter.minAboveMax': 'Min must not be above Max.',\n 'rangeFilter.between': '{{ min }} - {{ max }}',\n 'rangeFilter.atLeast': 'At least {{ min }}',\n 'rangeFilter.atMost': 'At most {{ max }}',\n 'rangeFilter.filterByActive': 'Filter by {{ label }}: {{ range }}',\n 'rangeFilter.percent': '{{ value }}%',\n 'rangeFilter.withUnit': '{{ value }} {{ unit }}',\n 'rangeFilter.badNumber': 'Please enter a valid number',\n // square / quickbooks payments entry points (@forgeroute/ui/square, @forgeroute/ui/quickbooks) and the Stripe confirmation token\n 'squarePayment.label': 'Payment details',\n 'squarePayment.loadErrorMessage': 'Failed to load the payment form. Please try again.',\n 'squarePayment.a11y.loading': 'Loading payment form',\n 'squarePayment.a11y.processing': 'Processing payment',\n 'squarePayment.a11y.tokenized': 'Payment details accepted',\n 'squarePayment.method.group': 'Payment method',\n 'squarePayment.method.card': 'Card',\n 'squarePayment.method.ach': 'Bank account',\n 'squarePayment.submit.pay': 'Pay',\n 'squarePayment.submit.payBank': 'Pay with bank account',\n 'squarePayment.submit.saveCard': 'Save card',\n 'squarePayment.submit.saveBank': 'Save bank account',\n 'squarePayment.holderLabel': 'Account holder name',\n 'squarePayment.holderPlaceholder': 'Full name on the bank account',\n 'squarePayment.holderRequired': 'Enter the account holder name.',\n 'squarePayment.achInfo': 'Choose your bank in the secure window that opens next. Your bank login is never shared with us.',\n 'squarePayment.achConsent': 'By checking this box, I authorize the above business to initiate a one-time ACH debit entry to my bank account for the total shown (the payment amount plus any fees). I understand I may revoke this authorization at any time by contacting the business.',\n 'squarePayment.achConsentSetup': 'By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.',\n 'squarePayment.consentRequired': 'Accept the bank authorization to continue.',\n 'squarePayment.msg.loadFailed': 'Failed to load the payment service',\n 'squarePayment.msg.configMissing': 'Payments are not set up for this business yet.',\n 'squarePayment.msg.notReady': 'The payment form is not ready yet.',\n 'squarePayment.msg.cardFormFailed': 'Could not show the card form. Please refresh the page.',\n 'squarePayment.msg.achInitFailed': 'Could not start the bank account form. Please try again.',\n 'squarePayment.msg.cancelled': 'The bank authorization was cancelled.',\n 'squarePayment.msg.tokenizeFailed': 'We could not read your card details. Please check them and try again.',\n 'squarePayment.msg.achFailed': 'The bank account could not be authorized. Please try again.',\n 'squarePayment.msg.verifyFailed': 'We could not verify your identity with your bank. Please try again or use another card.',\n 'squareErrors.defaultMessage': 'Payment failed. Please try again.',\n 'squareErrors.field.cardNumber': 'The card number is not valid. Please check it and try again.',\n 'squareErrors.field.expirationDate': 'The expiration date is not valid. Please check it and try again.',\n 'squareErrors.field.cvv': 'The security code is not valid. Please check it and try again.',\n 'squareErrors.field.postalCode': 'The postal code is not valid. Please check it and try again.',\n 'squareErrors.type.UNSUPPORTED_CARD_BRAND': 'This card type is not accepted. Please use a different card.',\n 'squareErrors.type.CONFIGURATION': 'Card payments are not set up correctly. Please contact the business.',\n 'squareErrors.type.PAYMENT_METHOD_NOT_SUPPORTED': 'This payment method is not available in your browser. Please use a different one.',\n 'squareErrors.code.GENERIC_DECLINE': 'Your card was declined. Please contact your bank or try a different card.',\n 'squareErrors.code.CARD_DECLINED': 'Your card was declined. Please use a different card.',\n 'squareErrors.code.CARD_DECLINED_CALL_ISSUER': 'Your bank declined this payment. Please call your bank for more information.',\n 'squareErrors.code.CARD_DECLINED_VERIFICATION_REQUIRED': 'This card needs to be verified. Please try again and complete the verification step.',\n 'squareErrors.code.INSUFFICIENT_FUNDS': 'Your card has insufficient funds. Please use a different card.',\n 'squareErrors.code.CVV_FAILURE': 'The security code is incorrect. Please check it and try again.',\n 'squareErrors.code.ADDRESS_VERIFICATION_FAILURE': 'The postal code does not match the card. Please check it and try again.',\n 'squareErrors.code.INVALID_EXPIRATION': 'The expiration date is incorrect. Please check it and try again.',\n 'squareErrors.code.CARD_EXPIRED': 'Your card has expired. Please use a different card.',\n 'squareErrors.code.INVALID_CARD': 'The card number is incorrect. Please check it and try again.',\n 'squareErrors.code.CARD_NOT_SUPPORTED': 'This card does not support this type of payment. Please use a different card.',\n 'squareErrors.code.INVALID_ACCOUNT': 'This bank account could not be used. Please try a different account.',\n 'squareErrors.code.PAYMENT_LIMIT_EXCEEDED': 'This payment is over the allowed limit. Please contact the business.',\n 'squareErrors.code.BUYER_REFUSED_PAYMENT': 'The payment was not authorized. Please try again.',\n 'squareErrors.code.CARDHOLDER_INSUFFICIENT_PERMISSIONS': 'This card cannot be used for this payment. Please use a different card.',\n 'squareErrors.code.IDEMPOTENCY_KEY_REUSED': 'This payment was already submitted with different details. Please reload the page and try again.',\n 'squareErrors.code.RATE_LIMITED': 'Too many requests. Please wait a moment and try again.',\n 'squareErrors.code.UNAUTHORIZED': 'Card payments are not available right now. Please contact the business.',\n 'squareConnect.title': 'Square account',\n 'squareConnect.startTitle': 'Connect your Square account',\n 'squareConnect.startText': 'Collect your customers\\' payments online. You authorize access on Square, then come back here.',\n 'squareConnect.startLabel': 'Connect Square',\n 'squareConnect.connected': 'Square connected',\n 'squareConnect.needsReconnect': 'Reconnect needed',\n 'squareConnect.reconnectText': 'Square no longer accepts the saved authorization. Connect again to keep taking payments.',\n 'squareConnect.reconnect': 'Reconnect',\n 'squareConnect.disconnect': 'Disconnect',\n 'squareConnect.disconnectTitle': 'Disconnect Square',\n 'squareConnect.disconnectMessage': 'Customers can no longer pay with Square until you connect again.',\n 'squareConnect.checkStatus': 'Check Status',\n 'squareConnect.checking': 'Checking...',\n 'squareConnect.connectedOn': 'Connected {{ date }}',\n 'squareConnect.opensInNewTabBusy': '{{ label }}, opens in a new tab, busy',\n 'squareConnect.opensInNewTabSr': ', opens in a new tab',\n 'squareConnect.live.none': 'Square not connected.',\n 'squareConnect.live.connected': 'Square connected.',\n 'squareConnect.live.reconnect': 'Square needs to be reconnected.',\n 'squareConnect.live.loading': '{{ text }} Loading.',\n 'squareConnect.noticeConnected': 'Square is connected.',\n 'squareConnect.noticeReconnect': 'Square needs to be reconnected. Please connect again.',\n 'squareConnect.noticeNotConnected': 'Square is not connected yet. Finish the authorization, then check again.',\n 'squareConnect.noticeDisconnected': 'Square disconnected.',\n 'squareConnect.noticeLinkUnavailable': 'Unable to open the Square authorization page. Please try again.',\n 'squareConnect.failedStart': 'Failed to start the Square connection',\n 'squareConnect.failedCheck': 'Failed to check the Square connection',\n 'squareConnect.failedDisconnect': 'Failed to disconnect Square',\n 'squareConnect.merchantLine': 'Merchant: {{ merchant }}',\n 'squareConnect.locationLine': 'Location: {{ location }}',\n 'qboConnect.title': 'QuickBooks Payments',\n 'qboConnect.startTitle': 'Connect your QuickBooks account',\n 'qboConnect.startText': 'Collect your customers\\' card and bank payments through QuickBooks Payments. You authorize access on Intuit, then come back here.',\n 'qboConnect.startLabel': 'Connect QuickBooks',\n 'qboConnect.connected': 'QuickBooks connected',\n 'qboConnect.needsReconnect': 'Reconnect needed',\n 'qboConnect.reconnectText': 'QuickBooks no longer accepts the saved authorization. Connect again to keep taking payments.',\n 'qboConnect.reconnect': 'Reconnect',\n 'qboConnect.disconnect': 'Disconnect',\n 'qboConnect.disconnectTitle': 'Disconnect QuickBooks',\n 'qboConnect.disconnectMessage': 'Customers can no longer pay with QuickBooks until you connect again.',\n 'qboConnect.checkStatus': 'Check Status',\n 'qboConnect.checking': 'Checking...',\n 'qboConnect.connectedOn': 'Connected {{ date }}',\n 'qboConnect.opensInNewTabBusy': '{{ label }}, opens in a new tab, busy',\n 'qboConnect.opensInNewTabSr': ', opens in a new tab',\n 'qboConnect.live.none': 'QuickBooks not connected.',\n 'qboConnect.live.connected': 'QuickBooks connected.',\n 'qboConnect.live.reconnect': 'QuickBooks needs to be reconnected.',\n 'qboConnect.live.loading': '{{ text }} Loading.',\n 'qboConnect.noticeConnected': 'QuickBooks is connected.',\n 'qboConnect.noticeReconnect': 'QuickBooks needs to be reconnected. Please connect again.',\n 'qboConnect.noticeNotConnected': 'QuickBooks is not connected yet. Finish the authorization, then check again.',\n 'qboConnect.noticeDisconnected': 'QuickBooks disconnected.',\n 'qboConnect.noticeLinkUnavailable': 'Unable to open the QuickBooks authorization page. Please try again.',\n 'qboConnect.failedStart': 'Failed to start the QuickBooks connection',\n 'qboConnect.failedCheck': 'Failed to check the QuickBooks connection',\n 'qboConnect.failedDisconnect': 'Failed to disconnect QuickBooks',\n 'qboConnect.companyLine': 'Company: {{ company }}',\n 'squarePaymentMethod.methodCard': 'Card',\n 'squarePaymentMethod.methodAch': 'ACH / Bank Transfer',\n 'squarePaymentMethod.amountNeeded': 'Enter an amount to continue.',\n 'squarePaymentMethod.notCompleted': 'Payment was not completed. Please try again or choose another method.',\n 'squarePaymentMethod.achTitle': 'Bank Payment Submitted',\n 'squarePaymentMethod.achMessage': 'Your bank payment of {{ amount }} has been submitted for processing. ACH payments typically take 3–5 business days to complete.',\n 'squarePaymentMethod.pendingTitle': 'Payment Submitted',\n 'squarePaymentMethod.pendingMessage': 'Your payment of {{ amount }} has been submitted and is being processed.',\n 'squarePaymentMethod.receiptNote': 'A receipt is sent once the payment has been fully processed and settled.',\n 'squarePaymentMethod.paymentDetails': 'Payment details',\n 'squarePaymentMethod.totalCharged': 'Total charged',\n 'squarePaymentMethod.amountPlusFees': 'Payment amount plus fees',\n 'squarePaymentMethod.paymentTotal': 'Payment total',\n 'squarePaymentMethod.paymentAmount': 'Payment amount',\n 'squarePaymentMethod.processingFee': 'Processing fee',\n 'squarePaymentMethod.platformFee': 'Platform fee',\n 'squarePaymentMethod.feesFailed': 'Could not calculate the fees. Please try again.',\n 'squarePaymentMethod.announceProcessing': 'Processing payment',\n 'squarePaymentMethod.pay': 'Pay',\n 'squarePaymentMethod.paymentFailed': 'Payment failed. Please try again.',\n 'squarePaymentMethod.unavailable': 'Payments are not available right now.',\n 'squarePaymentMethod.announceReady': 'Payment form ready',\n 'qboPaymentMethod.methodCard': 'Card',\n 'qboPaymentMethod.methodAch': 'ACH / Bank Transfer',\n 'qboPaymentMethod.amountNeeded': 'Enter an amount to continue.',\n 'qboPaymentMethod.notCompleted': 'Payment was not completed. Please try again or choose another method.',\n 'qboPaymentMethod.achTitle': 'Bank Payment Submitted',\n 'qboPaymentMethod.achMessage': 'Your bank payment of {{ amount }} has been submitted for processing. ACH payments typically take 3–5 business days to complete.',\n 'qboPaymentMethod.pendingTitle': 'Payment Submitted',\n 'qboPaymentMethod.pendingMessage': 'Your payment of {{ amount }} has been submitted and is being processed.',\n 'qboPaymentMethod.receiptNote': 'A receipt is sent once the payment has been fully processed and settled.',\n 'qboPaymentMethod.paymentDetails': 'Payment details',\n 'qboPaymentMethod.totalCharged': 'Total charged',\n 'qboPaymentMethod.amountPlusFees': 'Payment amount plus fees',\n 'qboPaymentMethod.paymentTotal': 'Payment total',\n 'qboPaymentMethod.paymentAmount': 'Payment amount',\n 'qboPaymentMethod.processingFee': 'Processing fee',\n 'qboPaymentMethod.platformFee': 'Platform fee',\n 'qboPaymentMethod.feesFailed': 'Could not calculate the fees. Please try again.',\n 'qboPaymentMethod.announceProcessing': 'Processing payment',\n 'qboPaymentMethod.pay': 'Pay',\n 'qboPaymentMethod.paymentFailed': 'Payment failed. Please try again.',\n 'qboPaymentMethod.unavailable': 'Payments are not available right now.',\n 'qboPayment.label': 'Payment details',\n 'qboPayment.a11y.processing': 'Processing payment',\n 'qboPayment.a11y.tokenized': 'Payment details accepted',\n 'qboPayment.method.group': 'Payment method',\n 'qboPayment.method.card': 'Card',\n 'qboPayment.method.ach': 'Bank account',\n 'qboPayment.submit.pay': 'Pay',\n 'qboPayment.submit.payBank': 'Pay with bank account',\n 'qboPayment.submit.saveCard': 'Save card',\n 'qboPayment.submit.saveBank': 'Save bank account',\n 'qboPayment.secureNote': 'Your details are sent securely to the payment processor and are not stored on this page.',\n 'qboPayment.card.number': 'Card number',\n 'qboPayment.card.name': 'Name on card',\n 'qboPayment.card.nameOptional': 'Name on card (optional)',\n 'qboPayment.card.expiry': 'Expiration (MM/YY)',\n 'qboPayment.card.expiryPlaceholder': 'MM/YY',\n 'qboPayment.card.cvc': 'Security code',\n 'qboPayment.card.postal': 'Postal code',\n 'qboPayment.card.postalOptional': 'Postal code (optional)',\n 'qboPayment.bank.info': 'Enter the bank account details. The payment is sent as an ACH bank transfer.',\n 'qboPayment.bank.holder': 'Account holder name',\n 'qboPayment.bank.routing': 'Routing number',\n 'qboPayment.bank.routingPlaceholder': '9 digits',\n 'qboPayment.bank.account': 'Account number',\n 'qboPayment.bank.confirm': 'Confirm account number',\n 'qboPayment.bank.type': 'Account type',\n 'qboPayment.bank.type.PERSONAL_CHECKING': 'Personal checking',\n 'qboPayment.bank.type.PERSONAL_SAVINGS': 'Personal savings',\n 'qboPayment.bank.type.BUSINESS_CHECKING': 'Business checking',\n 'qboPayment.bank.type.BUSINESS_SAVINGS': 'Business savings',\n 'qboPayment.brand.visa': 'Visa',\n 'qboPayment.brand.mastercard': 'Mastercard',\n 'qboPayment.brand.amex': 'American Express',\n 'qboPayment.brand.discover': 'Discover',\n 'qboPayment.brand.diners': 'Diners Club',\n 'qboPayment.brand.jcb': 'JCB',\n 'qboPayment.achConsent': 'By checking this box, I authorize the above business to initiate a one-time ACH debit entry to my bank account for the total shown (the payment amount plus any fees). I understand I may revoke this authorization at any time by contacting the business.',\n 'qboPayment.achConsentSetup': 'By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.',\n 'qboPayment.consentRequired': 'Accept the bank authorization to continue.',\n 'qboPayment.err.required': '{{ field }} is required.',\n 'qboPayment.err.numberLength': 'Enter the full card number.',\n 'qboPayment.err.numberLuhn': 'This card number is not valid. Please check it.',\n 'qboPayment.err.expiryFormat': 'Use the format MM/YY.',\n 'qboPayment.err.expiryMonth': 'The month must be 01 to 12.',\n 'qboPayment.err.expiryPast': 'This card has expired.',\n 'qboPayment.err.cvcLength': 'The security code has {{ length }} digits.',\n 'qboPayment.err.or': 'or',\n 'qboPayment.err.postalFormat': 'Enter a ZIP code such as 94086 or 94086-1234.',\n 'qboPayment.err.postalFormatCa': 'Enter a valid postal code, such as A1A 1A1.',\n 'qboPayment.err.routingLength': 'The routing number has 9 digits.',\n 'qboPayment.err.accountLength': 'The account number has 4 to 17 digits.',\n 'qboPayment.err.confirmMismatch': 'The account numbers do not match.',\n 'qboErrors.defaultMessage': 'Payment failed. Please try again.',\n 'qboErrors.field.cardNumber': 'The card number was not accepted. Please check it and try again.',\n 'qboErrors.field.expiry': 'The expiration date was not accepted. Please check it and try again.',\n 'qboErrors.field.cvc': 'The security code was not accepted. Please check it and try again.',\n 'qboErrors.field.postalCode': 'The postal code was not accepted. Please check it and try again.',\n 'qboErrors.field.routing': 'The routing number was not accepted. Please check it and try again.',\n 'qboErrors.field.account': 'The account number was not accepted. Please check it and try again.',\n 'qboErrors.field.accountType': 'The account type was not accepted. Please check it and try again.',\n 'qboErrors.field.holder': 'The account holder name was not accepted. Please check it and try again.',\n 'qboErrors.status.network': 'We could not reach the payment service. Please check your connection and try again.',\n 'qboErrors.status.invalid': 'The payment details were not accepted. Please check them and try again.',\n 'qboErrors.status.notAllowed': 'This payment form cannot take payments right now. Please contact the business.',\n 'qboErrors.status.rateLimited': 'Too many requests. Please wait a moment and try again.',\n 'qboErrors.status.unavailable': 'The payment service is unavailable right now. Please try again in a few minutes.',\n 'paymentAttempt.checking': 'Checking your payment...',\n 'paymentAttempt.checkingHelp': 'Please wait and do not pay again. We are making sure your payment went through.',\n 'paymentAttempt.stillChecking': 'We could not confirm your payment yet. Please check again in a moment and do not pay again.',\n 'paymentAttempt.checkAgain': 'Check again',\n 'paymentAttempt.waiting': 'Waiting for your payment to be confirmed...',\n 'paymentAttempt.startOver': 'Start over',\n 'paymentAttempt.paid': 'A payment for this was just received. If you need to make another payment, please wait a moment or contact support.',\n 'paymentAttempt.queuedOffline': 'You appear to be offline. Your payment was not confirmed. Please check your connection and try again.',\n 'paymentAttempt.offline': 'You are offline. Reconnect to the internet to pay: nothing was sent.',\n 'paymentAttempt.timeout': 'Your payment is taking longer than expected. We are checking whether it went through: do not pay again.',\n 'paymentAttempt.offlineInFlight': 'You went offline while your payment was being sent. We are checking whether it went through: do not pay again.',\n 'paymentAttempt.failedAfterCheck': 'The earlier payment attempt did not go through. You can try again.',\n 'paymentAttempt.authRequired': 'Your bank needs to verify this payment. Complete the verification window and do not close it.',\n 'paymentAttempt.authAbandoned': 'The verification was not completed. We are checking whether the payment went through before you can try again.',\n 'paymentAttempt.verifyRetry': 'The card could not be verified. You can try again: the total stays {{ amount }}.',\n 'paymentAttempt.referenceChanged': 'This payment can no longer be taken: the balance changed. Please ask for a new payment link.',\n 'paymentAttempt.linkInUse': 'A payment for this link is already in progress. Please wait a moment and check again before paying.',\n 'paymentAttempt.linkAlreadyPaid': 'This link has already been paid.',\n 'paymentAttempt.linkExpired': 'This payment link has expired. Please ask for a new link.',\n 'paymentAttempt.linkCancelled': 'This payment link was cancelled. Please ask for a new link.',\n 'paymentAttempt.notSupported': 'This business cannot take this kind of payment. Please contact the business.',\n 'paymentAttempt.awaitingVerification': 'Bank verification required: your payment has NOT started. Until you verify the small deposits (or descriptor code) from your bank, it will not start processing and nothing will be charged.',\n 'paymentAttempt.duplicate': 'We detected a possible duplicate payment. Please contact support before paying again.',\n 'paymentReadiness.offline': 'You are offline. Reconnect to the internet to pay: nothing was sent.',\n 'paymentReadiness.slow_connection': 'Your connection is too slow to pay safely. Please try again on a better connection.',\n 'paymentReadiness.sdk_blocked': 'The secure payment form could not be loaded. It may be blocked by an extension, a network filter or a weak connection. Retry loading it, or try another browser.',\n 'paymentReadiness.service_unavailable': 'Payments are temporarily unavailable. Please try again in a few minutes.',\n 'paymentReadiness.merchant_not_ready': 'This business cannot accept this kind of payment right now. Please contact the business.',\n 'paymentReadiness.events_backlog': 'Payments are paused for a moment while we catch up. Please try again shortly.',\n 'paymentReadiness.payable_changed': 'The amount due changed. Reload the page to see the current balance before you pay.',\n 'paymentReadiness.already_paid': 'This has already been paid.',\n 'paymentReadiness.reconnect_required': 'Payments are not available right now: this business must reconnect its payment account. Please contact the business.',\n 'paymentReadiness.outcome_unknown': 'We are still confirming the result of an earlier payment. Please wait and do not pay again.',\n 'paymentReadiness.payment_in_flight': 'A payment for this is already being processed. Please wait and check again shortly.',\n 'paymentReadiness.unsupported_browser': 'This browser cannot make payments safely. Please use a current version of Chrome, Edge, Firefox or Safari over a secure (https) connection.',\n 'paymentReadiness.unknown_payment': 'We are still checking an earlier payment. Please wait and do not pay again.',\n 'paymentReadiness.checking': 'Checking that payments are available...',\n 'paymentReadiness.generic': 'Payments are not available right now. Please try again shortly.',\n 'paymentReadiness.retryLoad': 'Retry loading the payment form',\n 'paymentReadiness.storageWarning': 'Your browser limits storage, so a page reload or a second tab during a payment cannot be recovered automatically. Please do not reload or open this page twice while paying.',\n 'paymentSetup.checking': 'Checking that your payment method was saved...',\n 'paymentSetup.checkingHelp': 'Please wait and do not save it again. We are making sure your payment method was saved.',\n 'paymentSetup.stillChecking': 'We could not confirm yet that your payment method was saved. Please check again in a moment and do not save it again.',\n 'paymentSetup.waiting': 'Waiting for your payment method to be confirmed...',\n 'paymentSetup.paid': 'A payment method was just saved for this. If you need to save another one, please wait a moment or contact support.',\n 'paymentSetup.queuedOffline': 'You appear to be offline. Your payment method was not saved. Please check your connection and try again.',\n 'paymentSetup.offline': 'You are offline. Reconnect to the internet to save your payment method: nothing was sent.',\n 'paymentSetup.awaitingVerification': 'Bank verification required: your bank account has NOT been saved yet. Until you verify the small deposits (or descriptor code) from your bank, it cannot be used and nothing will be charged.',\n 'paymentSetup.slowConnection': 'Your connection is too slow to save your payment method safely. Please try again on a better connection.',\n 'paymentSetup.serviceUnavailable': 'Saving payment methods is temporarily unavailable. Please try again in a few minutes.',\n 'paymentSetup.outcomeChecking': 'We are still confirming the result of an earlier attempt to save a payment method. Please wait and do not save it again.',\n 'paymentSetup.inFlight': 'A payment method for this is already being saved. Please wait and check again shortly.',\n 'paymentSetup.readinessChecking': 'Checking that saving a payment method is available...',\n 'paymentSetup.readinessGeneric': 'Saving a payment method is not available right now. Please try again shortly.',\n 'paymentSetup.alreadySaved': 'A payment method has already been saved for this.',\n 'paymentSetup.storageWarning': 'Your browser limits storage, so a page reload or a second tab while your payment method is being saved cannot be recovered automatically. Please do not reload or open this page twice while saving.',\n 'paymentSetup.unsupportedBrowser': 'This browser cannot save payment methods safely. Please use a current version of Chrome, Edge, Firefox or Safari over a secure (https) connection.',\n 'paymentSetup.merchantNotReady': 'This business cannot save this kind of payment method right now. Please contact the business.',\n 'paymentSetup.eventsBacklog': 'Saving payment methods is paused for a moment while we catch up. Please try again shortly.',\n 'paymentSetup.payableChanged': 'The details on this page changed after it loaded. Reload the page to see the current details before you save a payment method.',\n 'paymentSetup.reconnectRequired': 'Saving payment methods is not available right now: this business must reconnect its payment account. Please contact the business.',\n 'paymentSetup.requiresPaymentMethod': 'Your payment method was not saved. Please try a different payment method.',\n 'paymentSetup.processing': 'Your bank is still confirming your payment method and it has NOT been saved yet. Please wait and do not save it again.',\n 'qboHostedPay.title': 'Pay {{ amount }}',\n 'qboHostedPay.titleNoAmount': 'Secure payment',\n 'qboHostedPay.pay': 'Pay {{ amount }}',\n 'qboHostedPay.loading': 'Loading payment details',\n 'qboHostedPay.expiredTitle': 'Link expired',\n 'qboHostedPay.expired': 'This payment link has expired. Please contact the business for a new one.',\n 'qboHostedPay.usedTitle': 'Already paid',\n 'qboHostedPay.used': 'This payment link has already been used.',\n 'qboHostedPay.successTitle': 'Payment received',\n 'qboHostedPay.success': 'Thank you. Your payment of {{ amount }} was received.',\n 'qboHostedPay.submittedTitle': 'Payment submitted',\n 'qboHostedPay.submitted': 'Thank you. Your bank payment of {{ amount }} was submitted. Bank transfers (ACH) usually take 3–5 business days to complete.',\n 'qboHostedPay.errorTitle': 'Something went wrong',\n 'qboHostedPay.unavailable': 'This payment link cannot be paid right now. Please contact the business.',\n 'qboHostedPay.footer': 'Payments are processed securely.',\n 'stripePayment.msg.tokenFailed': 'The card details could not be checked. Please try again.',\n // stripe card readers\n 'stripeReader.theReader': 'the card reader',\n 'stripeReader.status.loading': 'Checking the card reader...',\n 'stripeReader.status.no_reader.title': 'No card reader set up',\n 'stripeReader.status.no_reader.text': 'Your company can take in-person card payments with a card reader. Get one to start taking them.',\n 'stripeReader.status.unsupported_only.title': 'No supported card reader',\n 'stripeReader.status.unsupported_only.text': 'The readers on this account cannot take payments here. Supported readers are the Stripe Reader S700, the Stripe Reader S710 and the BBPOS WisePOS E. Get a supported reader.',\n 'stripeReader.status.reader_offline.title': 'Card reader not connected',\n 'stripeReader.status.reader_offline.text': 'The card reader is turned off or has no connection. Check its power and network, then check again.',\n 'stripeReader.status.reader_busy.title': 'A card reader payment is waiting',\n 'stripeReader.status.reader_busy.text': 'A payment is waiting on {{ reader }}. Finish or cancel it before starting another.',\n 'stripeReader.status.merchant_not_ready.title': 'Payments are not set up',\n 'stripeReader.status.merchant_not_ready.text': 'Finish setting up payments before card payments can be taken, including with a card reader.',\n 'stripeReader.status.checking.title': 'Checking the card reader',\n 'stripeReader.status.checking.text': 'The card reader has not been confirmed yet. Nothing was changed. Check again in a moment.',\n 'stripeReader.status.reconnect_required.title': 'Payment account needs reconnecting',\n 'stripeReader.status.reconnect_required.text': 'Your payment account needs to be reconnected before card payments can be taken, including with a card reader.',\n 'stripeReader.status.stale_attention.title': 'The payment account needs attention',\n 'stripeReader.status.stale_attention.text': 'The card reader could not be checked because the payment account needs attention. Nothing was changed. Reconnect payments, then check again.',\n 'stripeReader.status.reader_ready.live': 'Card reader ready: {{ reader }}',\n 'stripeReader.status.connect': 'Connect a reader',\n 'stripeReader.status.get': 'Get a card reader',\n 'stripeReader.status.recheck': 'Check again',\n 'stripeReader.status.setup': 'Set up payments',\n 'stripeReader.status.reconnect': 'Reconnect payments',\n 'stripeReader.status.cancelBusy': 'Cancel that payment',\n 'stripeReader.status.manual': 'Take a manual payment instead',\n 'stripeReader.status.getInfo': 'How to get a card reader',\n 'stripeReaderBanner.getReader': 'Get a card reader to take in-person card payments.',\n 'stripeReader.banner.notConnected': 'Your card reader is not connected.',\n 'stripeReader.status.connectYours': 'Connect Your Reader',\n 'stripeReaderBanner.setupFirst': 'Set up payments to take card payments, including in person with a card reader.',\n 'stripeReaderBanner.sandbox': 'Card readers are not available in a sandbox account.',\n 'stripeReaderBanner.serviceDisabled': 'Card readers are turned off for this account.',\n 'stripeReaderBanner.processorUnsupported': 'Card readers are not available with this payment processor.',\n 'stripeReader.mode.label': 'How is the card paid?',\n 'stripeReader.mode.reader': 'Card reader',\n 'stripeReader.mode.manual': 'Enter card manually',\n 'stripeReader.selectReader': 'Card reader',\n 'stripeReader.readerLine': 'Card reader: {{ reader }}',\n 'stripeReader.start': 'Send {{ amount }} to the reader',\n 'stripeReader.startNoAmount': 'Send to the reader',\n 'stripeReader.starting': 'Sending to the reader',\n 'stripeReader.startingText': 'Sending the payment to the reader. Do not start another payment.',\n 'stripeReader.manualInstead': 'Enter the card manually instead',\n 'stripeReader.takeManual': 'Take a manual payment instead',\n 'stripeReader.startAgain': 'Start again',\n 'stripeReader.cancel': 'Cancel payment',\n 'stripeReader.wait.waiting.title': 'Waiting for the customer',\n 'stripeReader.wait.waiting.text': 'Waiting for the customer to tap, insert or swipe their card on {{ reader }}.',\n 'stripeReader.wait.declined.title': 'Card declined',\n 'stripeReader.wait.declined.text': 'The card was declined. Try again with the same card or another card, or cancel the payment.',\n 'stripeReader.wait.stopped.title': 'The reader stopped waiting',\n 'stripeReader.wait.stopped.text': '{{ reader }} stopped waiting for a card. The payment is still open: try again or cancel it.',\n 'stripeReader.wait.retrying.title': 'Sending the payment again',\n 'stripeReader.wait.retrying.text': 'Sending the same payment to {{ reader }} again. Nothing new is charged.',\n 'stripeReader.wait.cancelling.title': 'Canceling the payment',\n 'stripeReader.wait.cancelling.text': 'Canceling the payment on {{ reader }}. Do not tap a card.',\n 'stripeReader.wait.recovering.title': 'Checking the payment',\n 'stripeReader.wait.recovering.text': 'Checking whether the payment reached the reader. Do not start another payment.',\n 'stripeReader.connectionLost': 'Connection lost. The reader may still take the payment. Do not start another payment; reconnecting...',\n 'stripeReader.readerDisconnected': 'Reader disconnected - waiting for it to reconnect or cancel.',\n 'stripeReader.stillChecking': 'Still checking the reader. This is not an error: do not start another payment.',\n 'stripeReader.cancelUnreachable': 'The payment could not be canceled because the reader or Stripe could not be reached. The payment is still open. Try canceling again.',\n 'stripeReader.elapsed': 'Elapsed: {{ time }}',\n 'stripeReader.fees.loading': 'Calculating the card reader fees...',\n 'stripeReader.fees.failed': 'The card reader fees could not be calculated. Nothing can be sent to the reader until they are.',\n 'stripeReader.done.title': 'Payment received',\n 'stripeReader.done.text': 'The card payment of {{ amount }} was taken on {{ reader }}.',\n 'stripeReader.done.card': '{{ brand }} ending in {{ last4 }}',\n 'stripeReader.done.cardWord': 'Card',\n 'stripeReader.receipt': 'View receipt',\n 'stripeReader.cardSaved': 'Card saved for future payments.',\n 'stripeReader.cardNotSaved': 'The card is not saved yet, or we could not confirm it. The payment itself went through. Check the customer\\'s saved payment methods later.',\n 'stripeReader.canceled.title': 'Payment canceled',\n 'stripeReader.canceled.text': 'The payment was canceled on the reader. Nothing was charged.',\n 'stripeReader.failed.title': 'The payment did not go through',\n 'stripeReader.failed.text': 'The payment failed on the reader. Nothing was charged. You can start it again.',\n 'stripeReader.saveCard.label': 'Save this card for future payments',\n 'stripeReader.saveCard.consent': 'The customer agreed to keep this payment method on file for later payments.',\n 'stripeReader.closeBlocked': 'A card reader payment is waiting. Cancel the payment before closing.',\n 'stripeReader.offline.withManual': 'You\\'re offline. Card reader payments can\\'t be started until you\\'re back online. You can still record a manual payment.',\n 'stripeReader.offline.noManual': 'You\\'re offline. Card reader payments can\\'t be started until you\\'re back online.',\n 'stripeReader.refusal.generic': 'The card reader payment could not be started. Nothing was charged.',\n 'stripeReader.refusal.reader_busy': 'The card reader is busy with another payment. Nothing was charged.',\n 'stripeReader.refusal.reader_offline': 'The card reader is offline. Nothing was charged. Check its power and network, then try again.',\n 'stripeReader.refusal.reader_not_supported': 'This card reader is not supported for payments. Nothing was charged.',\n 'stripeReader.refusal.reader_unreachable': 'The card reader or Stripe could not be reached. The payment was not changed: check it again in a moment.',\n 'stripeReader.refusal.terminal_not_retryable': 'This payment can no longer be retried on the reader. Its current state is shown.',\n 'stripeReader.refusal.payment_in_flight': 'Another payment for this is already open, possibly on a card reader. Finish or cancel it first. Nothing new was charged.',\n 'stripeReader.refusal.merchant_not_ready': 'Payments are not set up for this business, so no card payment can be taken. Nothing was charged.',\n 'stripeReader.refusal.reconnect_required': 'The payment account must be reconnected before payments can be taken. Nothing was charged.',\n 'stripeReader.refusal.consent_required': 'Record the customer\\'s agreement before the card can be kept. Nothing was charged.',\n 'stripeReader.refusal.terminal_save_needs_direct': 'This business cannot keep a card taken on a reader. Take the payment without saving the card. Nothing was charged.',\n 'stripeReader.refusal.not_supported_by_processor': 'This business cannot take card reader payments. Nothing was charged.',\n 'stripeReader.refusal.exceeds_amount_due': 'This payment is more than the amount due. Nothing was charged.',\n 'stripeReader.refusal.duplicate_suspected': 'An identical payment was made moments ago. Check the payments before taking another.',\n 'stripeReader.refusal.paid': 'A payment for this was already received. Check the payments before taking another one.',\n 'stripeReader.refusal.offline': 'You are offline. Nothing was sent.',\n 'stripeReader.refusal.outcome_checking': 'We are still confirming the result of an earlier payment. Do not start another one.',\n 'stripeReader.refusal.queued_offline': 'You appear to be offline. The payment was not sent. Check your connection and try again.',\n 'stripeReader.refusal.start_not_received': 'We have no record of this payment, so it was not started. You can start again.',\n 'stripeReader.refusal.retry_unreachable': 'The payment could not be sent to the reader again. It was not changed: check it in a moment.',\n 'stripeReaders.list.title': 'Card readers',\n 'stripeReaders.list.empty': 'No card readers are connected yet.',\n 'stripeReaders.status.online': 'Online',\n 'stripeReaders.status.offline': 'Offline',\n 'stripeReaders.status.registering': 'Registering',\n 'stripeReaders.badge.busy': 'Busy',\n 'stripeReaders.badge.unsupported': 'Not supported',\n 'stripeReaders.rename.action': 'Rename',\n 'stripeReaders.rename.for': 'Rename {{ name }}',\n 'stripeReaders.rename.label': 'Reader name',\n 'stripeReaders.rename.done': 'Reader renamed to {{ name }}.',\n 'stripeReaders.remove.action': 'Remove',\n 'stripeReaders.remove.for': 'Remove {{ name }}',\n 'stripeReaders.remove.title': 'Remove card reader',\n 'stripeReaders.remove.text': 'Remove {{ name }}? It will stop taking payments on this account. You can connect it again later with a new registration code.',\n 'stripeReaders.remove.confirm': 'Remove reader',\n 'stripeReaders.remove.done': 'Reader {{ name }} removed.',\n 'stripeReaders.remove.busy': 'A payment is waiting on this reader. Cancel it first.',\n 'stripeReaders.add.title': 'Connect a card reader',\n 'stripeReaders.add.howS700': 'Stripe Reader S700 or S710: on the reader, open Settings and generate a pairing code.',\n 'stripeReaders.add.howWisepos': 'BBPOS WisePOS E: on the home screen, press 0-7-1-3-9 to show the registration code.',\n 'stripeReaders.add.supported': 'Supported readers: {{ models }}.',\n 'stripeReaders.add.connect': 'Connect reader',\n 'stripeReaders.add.connecting': 'Connecting...',\n 'stripeReaders.add.done': 'Reader {{ name }} connected.',\n 'stripeReaders.code.label': 'Registration code',\n 'stripeReaders.code.hint': 'Type the code the reader shows. It is used once and is not kept.',\n 'stripeReaders.code.invalid': 'Enter the code exactly as the reader shows it: letters, numbers and hyphens, at least 3 characters.',\n 'stripeReaders.name.label': 'Reader name',\n 'stripeReaders.name.hint': 'For example \"Front desk\".',\n 'stripeReaders.location.label': 'Location',\n 'stripeReaders.location.placeholder': 'Select a location',\n 'stripeReaders.location.new': 'New location',\n 'stripeReaders.location.name': 'Location name',\n 'stripeReaders.location.line1': 'Address',\n 'stripeReaders.location.city': 'City',\n 'stripeReaders.location.state': 'State',\n 'stripeReaders.location.postal': 'ZIP code',\n 'stripeReaders.location.create': 'Create location',\n 'stripeReaders.location.created': 'Location {{ name }} created.',\n 'stripeReaders.failed.load': 'The card readers could not be loaded. Try again in a moment.',\n 'stripeReaders.failed.register': 'The reader could not be connected. Check the registration code and try again.',\n 'stripeReaders.failed.rename': 'The reader could not be renamed. Try again.',\n 'stripeReaders.failed.remove': 'The reader could not be removed. Try again.',\n 'stripeReaders.failed.location': 'The location could not be saved. Check the address and try again.',\n 'stripeReaders.failed.notSupported': 'This reader is not supported. Supported readers are the Stripe Reader S700, the Stripe Reader S710 and the BBPOS WisePOS E.',\n 'stripeReader.refusal.quote_changed': 'The total changed to {{ amount }} since it was shown. Review the new total and confirm it before sending to the reader. Nothing was charged.',\n 'stripeReader.refusal.quote_changedNoAmount': 'The total changed since it was shown. Review the new total and confirm it before sending to the reader. Nothing was charged.',\n 'stripeReader.refusal.attempt_failed_use_new_key': 'This payment can no longer be completed. Start again to send a new payment to the reader.',\n 'stripeReader.refusal.payment_being_sent': 'The payment is still being sent to the reader. Wait a moment, then cancel again.',\n 'stripeReader.refusal.rate_limited': 'Too many attempts. Wait a moment, then try again.',\n 'stripeReader.refusal.viewExisting': 'View the existing payment',\n 'stripeReader.confirmTotal': 'Confirm the new total {{ amount }}',\n 'stripeReader.leaveHint': 'You can close this panel. When you open it again the payment is checked and nothing new is started.',\n 'stripeReader.wait.amount': 'Total: {{ amount }}',\n 'stripeReader.wait.amountBase': 'Amount: {{ amount }} (processing fees may be added)',\n 'stripeReader.degraded.since': 'We cannot reach the card reader\\'s payment processor since {{ time }}. The payment was not changed: do not start another payment.',\n 'stripeReader.degraded.attention': 'The payment account needs attention. The payment was not changed. Cancel may not work until it is reconnected.',\n 'stripeReader.done.textNoAmount': 'The card payment was taken on {{ reader }}.',\n 'stripeReader.mode.blocked': 'A card reader payment is still open. Cancel it, or wait for its result, before entering a card manually.',\n 'stripeReader.mode.blockedManual': 'A card payment is still being confirmed. Wait for it to finish before using the card reader.',\n 'stripeReader.saveCard.consentFees': 'Later charges will include processing fees.',\n 'stripeReaderShop.title': 'Get a card reader',\n 'stripeReaderShop.orders.title': 'Card reader orders',\n 'stripeReaderShop.loading': 'Loading the card reader shop...',\n 'stripeReaderShop.orders.loading': 'Loading your card reader orders...',\n 'stripeReaderShop.live.ready': 'The card reader shop is ready.',\n 'stripeReaderShop.error.title': 'The card reader shop could not be loaded',\n 'stripeReaderShop.error.text': 'Check your connection and try again. Nothing was changed.',\n 'stripeReaderShop.offline.title': 'You are offline',\n 'stripeReaderShop.offline.text': 'The card reader shop needs an internet connection. It loads again when you are back online.',\n 'stripeReaderShop.unavailable.title': 'Ordering a reader here is not available',\n 'stripeReaderShop.unavailable.platform_not_enabled': 'Ordering card readers in the app is not turned on yet.',\n 'stripeReaderShop.unavailable.account_not_eligible': 'This payment account cannot order card readers in the app right now. It may still be being set up or verified.',\n 'stripeReaderShop.unavailable.processor_refused': 'Stripe did not allow the card reader shop for this account.',\n 'stripeReaderShop.unavailable.not_enabled_for_app': 'Ordering card readers in the app is not turned on for this account.',\n 'stripeReaderShop.unavailable.other': 'The card reader shop is not available right now.',\n 'stripeReaderShop.unavailable.models': 'These readers work with card payments in the app:',\n 'stripeReaderShop.model.s700': 'Smart countertop reader with a touchscreen. Takes tap, chip and swipe payments.',\n 'stripeReaderShop.model.s710': 'Smart countertop reader with a touchscreen, from the same family as the S700. Takes tap, chip and swipe payments.',\n 'stripeReaderShop.model.wisepos': 'Smart reader with a touchscreen that connects over Wi-Fi. Takes tap, chip and swipe payments.',\n 'stripeReaderShop.unavailable.how': 'To get a reader, order a supported model from the Terminal hardware settings of your payment account, or contact support. When it arrives, choose Connect a reader and enter the code the device shows.',\n 'stripeReaderShop.help.link': 'How to order a card reader',\n 'stripeReaderShop.placed.title': 'Your order was placed',\n 'stripeReaderShop.placed.text': 'Your order was placed. When the reader arrives, choose Connect a reader and enter the code the device shows.',\n 'stripeReader.wait.unconfirmed.title': 'We could not confirm this payment',\n 'stripeReader.wait.unconfirmed.text': 'We could not confirm whether this payment reached the reader. Check again before taking another payment. If the customer was charged, the payment shows here once it is found.',\n 'stripeReader.cancelBusy.timeout': 'The payment could not be canceled in time. It may still be open: check the card reader again before taking another payment.',\n 'stripeReader.fees.unavailable': 'The card reader fees are not available, so nothing can be sent to the reader. Try again in a moment.',\n 'stripeReaders.failed.timeout': 'The card reader service did not answer in time. The list was checked again: look at it before trying once more.',\n // Square Terminal (library source 2026-11-22): the processor-aware wording of the card reader screens when the reader is a Square Terminal.\n 'squareTerminal.banner.getReader': 'Get a Square Terminal to take in-person card payments.',\n 'squareTerminal.banner.setupFirst': 'Set up payments to take card payments, including in person with a Square Terminal.',\n 'squareTerminal.banner.notConnected': 'Your Square Terminal is not connected.',\n 'squareTerminal.status.connect': 'Connect a Terminal',\n 'squareTerminal.status.connectYours': 'Connect Your Terminal',\n 'squareTerminal.status.getInfo': 'How to get one',\n 'squareTerminal.status.no_reader.title': 'No Square Terminal set up',\n 'squareTerminal.status.no_reader.text': 'Your company can take in-person card payments with a Square Terminal. Get one to start taking them.',\n 'squareTerminal.status.unsupported_only.title': 'No supported Square Terminal',\n 'squareTerminal.status.unsupported_only.text': 'The devices on this account cannot take payments here. Only the Square Terminal is supported. Get a Square Terminal.',\n 'squareTerminal.status.reader_offline.title': 'Square Terminal not connected',\n 'squareTerminal.status.reader_offline.text': 'The Terminal is turned off or has no connection. Check its power and network, then check again.',\n 'squareTerminal.theReader': 'the Terminal',\n 'squareTerminal.readerLine': 'Square Terminal: {{ reader }}',\n 'squareTerminal.start': 'Send {{ amount }} to the Terminal',\n 'squareTerminal.startNoAmount': 'Send to the Terminal',\n 'squareTerminal.starting': 'Sending to the Terminal',\n 'squareTerminal.startingText': 'Sending the payment to the Terminal. Do not start another payment.',\n 'squareTerminal.wait.waiting.text': 'Ask the customer to tap, insert or swipe their card on {{ reader }}.',\n 'squareTerminal.cancel': 'Cancel on the Terminal',\n 'squareTerminal.readerDisconnected': 'The Terminal is offline - waiting for it to reconnect or cancel.',\n 'squareTerminal.canceled.text': 'The payment was canceled on the Terminal. Nothing was charged.',\n 'squareTerminal.pairing.title': 'Connect a Square Terminal',\n 'squareTerminal.pairing.intro': 'Name the Terminal, get a pairing code and enter it on the Terminal. A Square Terminal can only be renamed or removed in your Square dashboard.',\n 'squareTerminal.pairing.name.label': 'Terminal name',\n 'squareTerminal.pairing.name.hint': 'For example, Front counter',\n 'squareTerminal.pairing.start': 'Get a pairing code',\n 'squareTerminal.pairing.starting': 'Getting a code...',\n 'squareTerminal.pairing.code.label': 'Pairing code',\n 'squareTerminal.pairing.steps': 'On the Terminal choose Sign in > Use a device code and enter {{ code }}.',\n 'squareTerminal.pairing.waiting': 'Waiting for the Terminal to connect. Time left: {{ time }}.',\n 'squareTerminal.pairing.paired': 'Terminal {{ name }} connected.',\n 'squareTerminal.pairing.timeout.title': 'The code was not used in time',\n 'squareTerminal.pairing.timeout.text': 'The pairing code expired before the Terminal connected. Nothing was changed. Get a new code and enter it on the Terminal.',\n 'squareTerminal.pairing.newCode': 'Get a new code',\n 'squareTerminal.pairing.failed': 'The pairing code could not be created. Nothing was changed. Try again.',\n 'squareTerminal.pairing.live': 'Pairing code {{ code }}. On the Terminal choose Sign in, then Use a device code, and enter the code.',\n 'squareTerminal.cancelUnreachable': 'The payment could not be canceled because the Terminal or Square could not be reached. The payment is still open. Try canceling again.',\n 'squareTerminal.refusal.reader_unreachable': 'The Terminal or Square could not be reached. The payment was not changed: check it again in a moment.',\n 'squareTerminal.status.reader_pairing.title': 'Square Terminal waiting for its code',\n 'squareTerminal.status.reader_pairing.text': 'The Terminal has not been paired yet. Enter its pairing code on the Terminal, then check again, or connect the Terminal again to get a new code.',\n 'squareTerminal.cancelPending': 'The Terminal is being stopped. The customer may still pay until it confirms, so the payment is still open. Check again in a moment, or press cancel again. Do not start another payment.',\n 'squareTerminal.refusal.reader_not_paired': 'This Terminal is not paired yet. On the Terminal choose Sign in > Use a device code and enter {{ code }}, or connect the Terminal again to get a new code. Nothing was charged.',\n 'squareTerminal.refusal.reader_not_paired_nocode': 'This Terminal is not paired yet. Connect the Terminal again to get a pairing code and enter it on the Terminal. Nothing was charged.',\n // DEPRECATED ALIASES (kept from 0.5.18 so an app that overrides one still compiles and works): same text as the replacement key; `setLabels` / `t()` forward them to it (see DEPRECATED_LABEL_ALIASES).\n 'paymentAttempt.stillUnknown': 'We could not confirm your payment yet. Please check again in a moment and do not pay again.',\n 'paymentSetup.stillUnknown': 'We could not confirm yet that your payment method was saved. Please check again in a moment and do not save it again.',\n 'paymentSetup.outcomeUnknown': 'We are still confirming the result of an earlier attempt to save a payment method. Please wait and do not save it again.',\n 'stripeReader.status.unknown.title': 'Checking the card reader',\n 'stripeReader.status.unknown.text': 'The card reader has not been confirmed yet. Nothing was changed. Check again in a moment.',\n 'stripeReader.status.unknown_attention.title': 'The payment account needs attention',\n 'stripeReader.status.unknown_attention.text': 'The card reader could not be checked because the payment account needs attention. Nothing was changed. Reconnect payments, then check again.',\n 'stripeReader.refusal.outcome_unknown': 'We are still confirming the result of an earlier payment. Do not start another one.',\n} as const;\n\nexport type UiLabelKey = keyof typeof UI_DEFAULT_LABELS;\n\n/**\n * DEPRECATED label keys that existed in 0.5.18 and were renamed on 2026-11-21 (the \"unknown\" payment / reader state became \"checking\"). Each old key maps to its replacement.\n * The old keys stay in `UiLabelKey` and in both dictionaries (same text as the replacement), so an app that overrides one still compiles; `UiLabelsService.setLabels` copies such an\n * override onto the replacement (unless the dictionary also sets the replacement) and `t(oldKey)` returns the replacement's text. New code uses the replacement keys.\n */\nexport const DEPRECATED_LABEL_ALIASES: Readonly<Record<string, UiLabelKey>> = {\n 'paymentAttempt.stillUnknown': 'paymentAttempt.stillChecking',\n 'paymentSetup.stillUnknown': 'paymentSetup.stillChecking',\n 'paymentSetup.outcomeUnknown': 'paymentSetup.outcomeChecking',\n 'stripeReader.status.unknown.title': 'stripeReader.status.checking.title',\n 'stripeReader.status.unknown.text': 'stripeReader.status.checking.text',\n 'stripeReader.status.unknown_attention.title': 'stripeReader.status.stale_attention.title',\n 'stripeReader.status.unknown_attention.text': 'stripeReader.status.stale_attention.text',\n 'stripeReader.refusal.outcome_unknown': 'stripeReader.refusal.outcome_checking',\n};\nexport type UiLabelDictionary = Partial<Record<UiLabelKey, string>>;\n\n/** Fills `{{ name }}` placeholders; a placeholder with no value is left visible. */\nfunction interpolate(text: string, params?: Readonly<Record<string, string | number>>): string {\n if (!params) return text;\n return text.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g, (whole, name: string) => (name in params ? String(params[name]) : whole));\n}\n\n/** The English default text of a key. For plain helper functions that run without the service (their `ui` argument is optional). */\nexport function defaultLabel(key: UiLabelKey, params?: Readonly<Record<string, string | number>>): string {\n return interpolate(UI_DEFAULT_LABELS[key] ?? key, params);\n}\n\nlet activeLabels: UiLabelsService | null = null;\n\n/**\n * The text of a key in the app's active language, for plain helper functions that have no injector (error messages, validators).\n * Without a `UiLabelsService` in use it is the English default, so such a function behaves exactly as before.\n */\nexport function uiText(key: UiLabelKey, params?: Readonly<Record<string, string | number>>): string {\n return activeLabels ? activeLabels.t(key, params) : defaultLabel(key, params);\n}\n\n/** The app's active locale for plain helper functions (`en-US` without a service). */\nexport function uiLocale(): string {\n return activeLabels ? activeLabels.locale() : DEFAULT_LOCALE;\n}\n\n/**\n * Looks up the library's fixed texts. `t()` reads a signal, so a template or computed that calls it re-renders when the app calls\n * `setLabels()` (a language switch) - no re-creation of components needed.\n */\n@Injectable({ providedIn: 'root' })\nexport class UiLabelsService implements OnDestroy {\n // The service this one replaced as the ambient one: destroying a newer service gives the ambient role back to the older one that is still alive.\n private readonly previousActive: UiLabelsService | null = activeLabels;\n private destroyed = false;\n constructor() { activeLabels = this; }\n ngOnDestroy(): void {\n this.destroyed = true;\n if (activeLabels === this) {\n let back = this.previousActive;\n while (back && back.destroyed) back = back.previousActive;\n activeLabels = back;\n }\n }\n\n // Like Angular's DatePipe, dates honour the app's DATE_PIPE_DEFAULT_OPTIONS ({ dateFormat, timezone }) and the deprecated DATE_PIPE_DEFAULT_TIMEZONE.\n private readonly dateDefaults = inject(DATE_PIPE_DEFAULT_OPTIONS, { optional: true });\n private readonly dateDefaultTimezone = inject(DATE_PIPE_DEFAULT_TIMEZONE, { optional: true });\n\n private readonly overrides = signal<Readonly<Record<string, string>>>({});\n\n /** Replaces the active dictionary (not merged with the previous one: switching language must not keep the old language's texts). */\n setLabels(dictionary: Readonly<Record<string, unknown>> | null | undefined): void {\n const clean: Record<string, string> = {};\n for (const [k, v] of Object.entries(dictionary ?? {})) {\n if (k in UI_DEFAULT_LABELS && typeof v === 'string' && v.trim() !== '') clean[k] = v;\n }\n // an override of a DEPRECATED key reaches the replacement the screens read (an explicit replacement in the same dictionary wins); the deprecated entry in a full dictionary (UI_LABELS_ES) carries the same text, so nothing changes\n for (const [old, now] of Object.entries(DEPRECATED_LABEL_ALIASES)) {\n if (old in clean && !(dictionary && typeof (dictionary as Record<string, unknown>)[now] === 'string' && ((dictionary as Record<string, string>)[now]).trim() !== '')) clean[now] = clean[old];\n }\n this.overrides.set(clean);\n }\n\n private readonly _explicitLocale = signal<string | null>(null);\n /**\n * BCP 47 locale used for dates, times and numbers. Resolution: the value the app set with `setLocale()` (full control), else the active dictionary's\n * `i18n.locale` marker (so `setLabels()` with the Spanish dictionary alone gives Spanish dates and times: 'es-US'), else `en-US` (a dictionary of another language\n * without the marker, or no dictionary).\n */\n readonly locale: Signal<string> = computed(() => this._explicitLocale() ?? safeLocale(this.overrides()['i18n.locale']));\n\n /**\n * Sets the locale of dates and numbers ('es-US', 'es-MX' ...) and keeps it whatever dictionary is active. A tag the browser does not know falls back to\n * `en-US`; `null` / `undefined` removes the explicit choice, so the dictionary's `i18n.locale` marker decides again.\n */\n setLocale(locale: string | null | undefined): void { this._explicitLocale.set(locale == null ? null : safeLocale(locale)); }\n\n /** A date with an Angular pattern ('MMM d, y') in the active locale; '' when the value is empty or unreadable. Reads a signal, so templates follow a language switch. */\n formatDate(value: Date | string | number | null | undefined, format?: string, timeZone?: string): string {\n return uiFormatDate(value, format ?? this.dateDefaults?.dateFormat ?? 'mediumDate', this.locale(), timeZone ?? this.dateDefaults?.timezone ?? this.dateDefaultTimezone ?? undefined);\n }\n formatNumber(value: number | null | undefined, options?: Intl.NumberFormatOptions): string { return uiFormatNumber(value, this.locale(), options); }\n formatCurrency(value: number | null | undefined, currency = 'USD', options?: Intl.NumberFormatOptions): string { return uiFormatCurrency(value, currency, this.locale(), options); }\n monthName(month: number, style: 'long' | 'short' | 'narrow' = 'short'): string { return uiMonthName(month, style, this.locale()); }\n weekdayName(day: number, style: 'long' | 'short' | 'narrow' = 'short'): string { return uiWeekdayName(day, style, this.locale()); }\n formatClock(hour: number, minute = 0): string { return uiFormatClock(hour, minute, this.locale()); }\n formatHour(hour: number): string { return uiFormatHour(hour, this.locale()); }\n\n /** The text for `key` with `{{ name }}` placeholders filled in from `params`. */\n t(key: UiLabelKey, params?: Readonly<Record<string, string | number>>): string {\n const target = DEPRECATED_LABEL_ALIASES[key] ?? key;\n return interpolate(this.overrides()[target] ?? UI_DEFAULT_LABELS[target] ?? key, params);\n }\n}\n","import { HttpErrorResponse, HttpInterceptorFn } from '@angular/common/http';\nimport { catchError, throwError } from 'rxjs';\nimport { UiLabelKey, uiText } from './i18n/ui-labels';\n\n/** What the user was doing when the request failed — drives the fallback wording. */\nexport type ErrorAction =\n | 'load' | 'save' | 'create' | 'update' | 'delete'\n | 'send' | 'export' | 'import' | 'upload' | 'download';\n\n// The verbs (\"loading\", \"access\" ...) live in the label dictionary: errors.verb.<action> and errors.permissionVerb.<action>.\n\n/** Non-enumerable property `errorContextInterceptor` attaches to failed responses. */\nconst REQUEST_METHOD = '__forgerouteRequestMethod';\n\n/**\n * Records the HTTP method on every failed response so `getErrorMessage` can word its fallback\n * for what the user was doing (GET → loading, POST/PUT/PATCH → saving, DELETE → deleting).\n * Register it FIRST in `withInterceptors([...])` so it sees the final error. The error object is\n * re-thrown unchanged (same instance), so `instanceof HttpErrorResponse` checks keep working.\n */\nexport const errorContextInterceptor: HttpInterceptorFn = (req, next) =>\n next(req).pipe(\n catchError((err: unknown) => {\n if (err instanceof HttpErrorResponse && !(REQUEST_METHOD in err)) {\n Object.defineProperty(err, REQUEST_METHOD, { value: req.method.toUpperCase(), enumerable: false });\n }\n return throwError(() => err);\n }),\n );\n\n/** The action implied by a failed request's method, or 'load' when unknown. */\nfunction actionFromMethod(error: HttpErrorResponse): ErrorAction {\n const method = (error as unknown as Record<string, unknown>)[REQUEST_METHOD];\n switch (method) {\n case 'POST': case 'PUT': case 'PATCH': return 'save';\n case 'DELETE': return 'delete';\n default: return 'load';\n }\n}\n\n/**\n * Drops one leading article (\"the \", \"a \", \"an \", any case) so wording that adds its own \"The\" never reads\n * \"The the contact\". A context that is only an article (\"the\") is kept as given.\n */\nfunction withoutLeadingArticle(ctx: string): string {\n const rest = ctx.replace(/^(?:the|an?)\\s+/i, '');\n return rest || ctx;\n}\n\n/**\n * Whole fallback sentences an app supplies instead of a bare noun phrase, so a translated app never gets an English noun inside a sentence of another\n * language. Pass it as the 2nd argument of {@link getErrorMessage} in place of the `fallbackContext` string. Texts are used exactly as given (no\n * placeholders, no article handling) except that they are trimmed and `failed` gets a full stop when it does not already end with sentence punctuation; a missing or blank entry falls back to the library's own sentence built from `context` (default \"data\").\n */\nexport interface ErrorFallback {\n /** The sentence for \"it failed\" (no server message; status 0, 408, 429, 5xx, other statuses, an unknown error), e.g. \"No se pudo guardar el contacto.\". The library's follow-up (\"Please try again.\") is appended after it as before. */\n failed?: string;\n /** The whole 403 sentence, e.g. \"No tienes permiso para guardar el contacto.\". */\n noPermission?: string;\n /** The whole 404 sentence, e.g. \"No se encontró el contacto.\". */\n notFound?: string;\n /** Noun phrase used by any library sentence this object does not replace (same rules as the string form). */\n context?: string;\n}\n\nconst usableText = (value: unknown): value is string => typeof value === 'string' && value.trim() !== '';\n/** The supplied sentence, trimmed. */\nconst sentenceOf = (value: unknown): string | null => (usableText(value) ? value.trim() : null);\n/** `failed` gets a full stop unless it already ends with sentence punctuation (. ! ? … and their full-width forms), optionally followed by closing quotes / brackets (\" ' ) ] } ” ’ » › ) ] } 」 』 】 〉 》); an opening ¡ ¿ is not an ending, so \"<failed> <follow-up>\" always reads as two sentences. */\nconst withFullStop = (text: string): string => (/[.!?…。!?‼⁇⁈⁉][)\\]}\"'”’»›)]}」』】〉》]*$/.test(text) ? text : `${text}.`);\n\n/**\n * Extracts a user-friendly error message from any error response.\n * Prioritizes: backend message > status text > typed fallback.\n *\n * The fallback names what the user was doing: pass `action` explicitly ('send', 'export', …), or\n * let it come from the request method recorded by `errorContextInterceptor`. With neither it says \"loading\".\n *\n * `fallbackContext` is a bare noun phrase (\"contact\", \"your invoices\"); an empty or whitespace-only one becomes \"data\".\n * The 404 text starts with \"The <context>\", so one leading article (\"the\", \"a\", \"an\") on the context is dropped\n * there: \"the contact\" and \"a contact\" both read \"The contact you're looking for could not be found.\".\n *\n * `fallbackContext` may instead be an {@link ErrorFallback} carrying the whole sentences (`failed`, `noPermission`, `notFound`), for apps whose language the\n * library's \"There was an error <verb> <noun>.\" template does not fit. The string form is unchanged.\n */\nexport function getErrorMessage(error: unknown, fallbackContext?: string | ErrorFallback, action?: ErrorAction): string {\n const sentences: ErrorFallback | null = fallbackContext !== null && typeof fallbackContext === 'object' ? fallbackContext : null;\n const noun = sentences ? sentences.context : (fallbackContext as string | undefined);\n const ctx = (typeof noun === 'string' ? noun.trim() : '') || uiText('errors.dataWord');\n const act: ErrorAction = action ?? (error instanceof HttpErrorResponse ? actionFromMethod(error) : 'load');\n const failed = sentenceOf(sentences?.failed) !== null ? withFullStop(sentenceOf(sentences?.failed)!) : uiText('errors.failed', { verb: uiText(`errors.verb.${act}` as UiLabelKey), ctx });\n if (error instanceof HttpErrorResponse) {\n if (error.error?.message) {\n return error.error.message;\n }\n if (typeof error.error === 'string' && error.error.length < 200) {\n return error.error;\n }\n switch (error.status) {\n case 0:\n return `${failed} ${uiText('errors.checkConnection')}`;\n case 401:\n return uiText('errors.sessionExpired');\n case 403:\n return sentenceOf(sentences?.noPermission) ?? uiText('errors.noPermission', { verb: uiText(`errors.permissionVerb.${act}` as UiLabelKey), ctx });\n case 404:\n return sentenceOf(sentences?.notFound) ?? uiText('errors.notFound', { ctx: withoutLeadingArticle(ctx) });\n case 408:\n return `${failed} ${uiText('errors.timedOut')}`;\n case 422:\n return uiText('errors.invalidData');\n case 429:\n return `${failed} ${uiText('errors.tooManyRequests')}`;\n case 502:\n case 503:\n case 504:\n return `${failed} ${uiText('errors.tryInAFewMinutes')}`;\n default:\n return `${failed} ${uiText('errors.tryAgain')}`;\n }\n }\n if (error instanceof Error) return error.message;\n if (typeof error === 'string') return error;\n return `${failed} ${uiText('errors.tryAgain')}`;\n}\n","import { Injectable, OnDestroy, signal } from '@angular/core';\nimport { Subject } from 'rxjs';\n\nexport type ToastType = 'success' | 'error' | 'info' | 'warning';\n\n/** A button on a toast (e.g. \"View Contact\", \"Call Back\"). */\nexport interface ToastAction {\n /** Identifies the button in `onAction` and in the `(action)` output; also the test id suffix (`toast-action-<id>`). */\n id: string;\n label: string;\n /** Look of the button. Default `secondary`. */\n variant?: 'primary' | 'secondary' | 'danger';\n disabled?: boolean;\n /** Keep the toast open after this button is used. Default `false`: using a button closes the toast. */\n keepOpen?: boolean;\n}\n\n/** What `(action)` / `ToastService.action$` emit when a toast button is used. */\nexport interface ToastActionEvent {\n /** The `id` of the button. */\n id: string;\n /** The `key` of the toast it belongs to, when the toast had one. */\n key?: string;\n}\n\n/**\n * Per-message options for `show()` / `success()` / `info()` / `warning()` / `error()` / `notify()`. Every field is optional; a call without any of them is a plain\n * toast exactly as before.\n */\nexport interface ToastOptions {\n /** Only `notify()` reads this (`show` / `success` / `info` / `warning` / `error` fix their own type). Default `success`. */\n type?: ToastType;\n /** How long it stays, in ms. Default: 3000 (4000 for errors). */\n duration?: number;\n /** A bold first line above the message. */\n title?: string;\n /** Buttons under the message. */\n actions?: readonly ToastAction[];\n /** Show \"Dismissing in Ns\" and a shrinking bar for this toast. Default: the outlet's / app's `countdown` setting (off). */\n countdown?: boolean;\n /** When another toast is showing, wait for it to finish instead of replacing it. Default: the outlet's / app's `queue` setting (off). */\n queue?: boolean;\n /** Identifies the toast: while one with the same key is showing or waiting, another one with that key is not added again (e.g. one per call id). */\n key?: string;\n /** Called with the `id` of a button when it is used (before the toast closes). */\n onAction?: (actionId: string) => void;\n /**\n * (library source 2026-11-04, not yet published) Default `false` (unchanged). `true` = if a toast with the SAME message and the SAME type is on screen right\n * now, show this one as a fresh toast of its own: the toast element is re-created (so a screen reader announces the text again and the\n * entry animation replays), the dismiss timer restarts with this call's duration, and the title / buttons / countdown of this call replace\n * the old ones. Nothing is queued. If the message on screen is different (or nothing is showing) `repeat` changes nothing. Without\n * `repeat`, an identical message arriving while it is on screen only restarts the timer silently: it is not announced again.\n */\n repeat?: boolean;\n}\n\n/** What is known about the toast on screen beyond its message and type; `null` for a plain toast. */\nexport interface ToastDetails {\n title?: string;\n actions: readonly ToastAction[];\n countdown: boolean;\n key?: string;\n onAction?: (actionId: string) => void;\n}\n\ninterface PendingToast { type: ToastType; message: string; duration: number; details: ToastDetails | null }\n\n/** Least time a paused toast stays after the pointer / focus leaves it. */\nconst MIN_RESUME_MS = 1000;\n/** Pause between one queued toast closing and the next one appearing, so the entry animation replays. */\nconst QUEUE_GAP_MS = 80;\n/** How often the countdown redraws. */\nconst COUNTDOWN_TICK_MS = 200;\n/** Default cap of waiting toasts. */\nconst DEFAULT_MAX_QUEUED = 20;\n\n@Injectable({ providedIn: 'root' })\nexport class ToastService implements OnDestroy {\n readonly message = signal<string | null>(null);\n readonly type = signal<ToastType>('success');\n /**\n * Opt-in: every `<ui-toast>` shows a close button (\"Dismiss notification\"). Default `false`: toasts look exactly as before.\n * Set once per app with `provideForgerouteToast({ dismissible: true })`, or per outlet with `<ui-toast [dismissible]=\"true\" />`\n * (the input wins). Escape, pause on hover / focus and `dismiss()` work either way.\n */\n readonly dismissible = signal(false);\n /**\n * Opt-in: every `<ui-toast>` keeps always-present live regions and renders the message inside them (reliable screen-reader\n * announcements, VoiceOver / Safari included). Default `false`: toasts keep their own `role` exactly as before.\n * Set once per app with `provideForgerouteToast({ persistentLiveRegion: true })`, or per outlet with `<ui-toast [persistentLiveRegion]=\"true\" />`.\n */\n readonly persistentLiveRegion = signal(false);\n\n /** The title, buttons, countdown flag, key and callback of the toast on screen; `null` for a plain toast or none. */\n readonly details = signal<ToastDetails | null>(null);\n /**\n * (library source 2026-11-04, not yet published) Counts the `repeat: true` re-presentations of an identical message. The outlet re-creates the toast\n * element whenever it changes, which is what makes a screen reader announce the same text again. Starts at 0 and only grows.\n */\n readonly repeatTick = signal(0);\n /** How many toasts are waiting behind the one on screen (queue mode). */\n readonly queuedCount = signal(0);\n /** Default for `ToastOptions.queue`: new toasts wait for the one on screen instead of replacing it. Set with `provideForgerouteToast({ queue: true })` or `<ui-toast [queue]=\"true\" />`. */\n readonly queueDefault = signal(false);\n /** Default for `ToastOptions.countdown`. Set with `provideForgerouteToast({ countdown: true })` or `<ui-toast [countdown]=\"true\" />`. */\n readonly countdownDefault = signal(false);\n /** Most toasts that may wait; further ones are dropped. Default 20. Set with `provideForgerouteToast({ maxQueued })` or `<ui-toast [maxQueued]=\"n\" />`. */\n readonly maxQueued = signal(DEFAULT_MAX_QUEUED);\n /** Time left of the toast on screen, in ms; only kept up to date for a toast with a countdown. */\n readonly remainingMs = signal(0);\n /** The full time the toast on screen was given, in ms (the denominator of the countdown bar). */\n readonly totalMs = signal(0);\n /** Emits when a toast button is used. */\n readonly action$ = new Subject<ToastActionEvent>();\n\n private _timer: ReturnType<typeof setTimeout> | null = null;\n private _ticker: ReturnType<typeof setInterval> | null = null;\n private _advanceTimer: ReturnType<typeof setTimeout> | null = null;\n private _deadline = 0;\n private _remaining = 0;\n private _paused = false;\n private _queue: PendingToast[] = [];\n\n /** Green success toast. `durationOrOptions` is the time in ms (default 3000) or a {@link ToastOptions} object. */\n show(msg: string, durationOrOptions: number | ToastOptions = 3000) {\n this._enter('success', msg, 3000, durationOrOptions);\n }\n\n /** Green success toast, the explicit name for `show()` (same type, same 3000ms default, same behaviour). */\n success(msg: string, durationOrOptions: number | ToastOptions = 3000) {\n this._enter('success', msg, 3000, durationOrOptions);\n }\n\n /** Neutral (blue) toast for a result that is neither a success nor a failure, e.g. \"No changes to save.\". */\n info(msg: string, durationOrOptions: number | ToastOptions = 3000) {\n this._enter('info', msg, 3000, durationOrOptions);\n }\n\n /**\n * Amber toast for a result that worked but needs attention, e.g. \"Saved, but 2 screenshots could not be attached.\" Announced politely (not as an\n * alert: nothing failed). Default 4000ms, a little longer than info because the user has something to read and maybe act on.\n * (library source 2026-11-04, not yet published)\n */\n warning(msg: string, durationOrOptions: number | ToastOptions = 4000) {\n this._enter('warning', msg, 4000, durationOrOptions);\n }\n\n error(msg: string, durationOrOptions: number | ToastOptions = 4000) {\n this._enter('error', msg, 4000, durationOrOptions);\n }\n\n /** A toast whose type comes from `options.type` (default `success`); the same as the named methods otherwise. */\n notify(msg: string, options: ToastOptions = {}) {\n const type = options.type ?? 'success';\n this._enter(type, msg, type === 'error' || type === 'warning' ? 4000 : 3000, options);\n }\n\n /** Removes the current toast now (close button / Escape); the next waiting one, if any, follows. Safe when nothing is showing. */\n dismiss() {\n this._finish();\n }\n\n /** Uses the button `id` of the toast on screen: calls its `onAction`, emits `action$`, and closes the toast unless the button has `keepOpen`. No-op for an unknown or disabled button. */\n runAction(id: string) {\n const d = this.details();\n const a = d?.actions.find(x => x.id === id);\n if (!d || !a || a.disabled) return;\n d.onAction?.(id);\n this.action$.next({ id, key: d.key });\n if (!a.keepOpen) this._finish();\n }\n\n /** Holds the countdown while the pointer or keyboard focus is on the toast (WCAG 2.2.1). No-op when nothing is counting down. */\n pause() {\n if (this._paused || !this._timer || this.message() === null) return;\n this._remaining = Math.max(0, this._deadline - Date.now());\n this.remainingMs.set(this._remaining);\n this._clearTimer();\n this._paused = true;\n }\n\n /** Continues after `pause()`; the toast gets at least 1000ms more so it can be read. No-op when not paused. */\n resume() {\n if (!this._paused) return;\n this._paused = false;\n this._start(Math.max(this._remaining, MIN_RESUME_MS), false);\n }\n\n /** The root injector is destroyed (app teardown, TestBed reset): no timer may outlive it. */\n ngOnDestroy() {\n this._clearTimer();\n this._clearTicker();\n this._clearAdvance();\n this._queue = [];\n this._paused = false;\n this.action$.complete();\n }\n\n private _clearTimer() {\n if (this._timer) clearTimeout(this._timer);\n this._timer = null;\n }\n\n private _clearTicker() {\n if (this._ticker) clearInterval(this._ticker);\n this._ticker = null;\n }\n\n private _clearAdvance() {\n if (this._advanceTimer) clearTimeout(this._advanceTimer);\n this._advanceTimer = null;\n }\n\n /** Starts the expiry timer (and the countdown ticker for a toast with a countdown). `fresh` = a new toast, not a resume after a pause. */\n private _start(duration: number, fresh: boolean) {\n this._deadline = Date.now() + duration;\n this._timer = setTimeout(() => this._finish(), duration);\n if (fresh) this.totalMs.set(duration);\n this.remainingMs.set(duration);\n if (this.details()?.countdown && !this._ticker) {\n this._ticker = setInterval(() => {\n if (!this._paused && this._timer) this.remainingMs.set(Math.max(0, this._deadline - Date.now()));\n }, COUNTDOWN_TICK_MS);\n }\n }\n\n /** The toast on screen is over (expired, dismissed or its button used): clear it and bring in the next waiting one after a short gap. */\n private _finish() {\n this._clearTimer();\n this._clearTicker();\n this._paused = false;\n this.message.set(null);\n this.details.set(null);\n this.remainingMs.set(0);\n if (this._queue.length > 0 && !this._advanceTimer) {\n this._advanceTimer = setTimeout(() => {\n this._advanceTimer = null;\n const next = this._queue.shift();\n this.queuedCount.set(this._queue.length);\n if (next) this._present(next);\n }, QUEUE_GAP_MS);\n }\n }\n\n private _enter(type: ToastType, msg: string, defaultDuration: number, arg: number | ToastOptions) {\n const options: ToastOptions = typeof arg === 'number' ? { duration: arg } : (arg ?? {});\n const hasRich = !!(options.title || options.actions?.length);\n const countdown = options.countdown ?? this.countdownDefault();\n // A key or a callback alone is enough to keep details (de-duplication and onAction need them); the component only switches to the rich layout for a title, buttons or a countdown.\n const details: ToastDetails | null = hasRich || countdown || options.key !== undefined || !!options.onAction\n ? { title: options.title, actions: options.actions ?? [], countdown, key: options.key, onAction: options.onAction }\n : null;\n const pending: PendingToast = { type, message: msg, duration: options.duration ?? defaultDuration, details };\n\n // repeat: the identical message (same text and type) is on screen -> present it again in place, announced anew (never queued)\n if (options.repeat && this.message() === msg && this.type() === type) {\n this._clearAdvance();\n this.repeatTick.update(n => n + 1);\n this._present(pending);\n return;\n }\n\n const queue = options.queue ?? this.queueDefault();\n const busy = this.message() !== null || this._advanceTimer !== null;\n if (queue && busy) {\n const key = options.key;\n if (key !== undefined && (this.details()?.key === key || this._queue.some(q => q.details?.key === key))) return;\n if (this._queue.length >= this.maxQueued()) return;\n this._queue.push(pending);\n this.queuedCount.set(this._queue.length);\n return;\n }\n // Replace: cancel the previous toast's timers so they can't clear a newer toast early.\n this._clearAdvance();\n this._present(pending);\n }\n\n private _present(p: PendingToast) {\n this._clearTimer();\n this._clearTicker();\n this._paused = false;\n this.type.set(p.type);\n this.details.set(p.details);\n this.message.set(p.message);\n this._start(p.duration, true);\n }\n}\n","import { Injectable } from '@angular/core';\n\n/**\n * Open overlays (ui-modal, ui-side-panel) in the order they opened. Both listen for keydown on the whole\n * document, so only the TOPMOST one may react to Escape / trap Tab — otherwise Escape on a confirm modal\n * stacked over a side panel closes both. Body scroll is unlocked only when the last overlay closes.\n */\n@Injectable({ providedIn: 'root' })\nexport class OverlayStack {\n private readonly stack: object[] = [];\n\n push(overlay: object): void {\n this.remove(overlay);\n this.stack.push(overlay);\n }\n\n remove(overlay: object): void {\n const i = this.stack.indexOf(overlay);\n if (i >= 0) this.stack.splice(i, 1);\n }\n\n /** Position of `overlay` in the stack (0 = bottom), -1 when it is not open. */\n indexOf(overlay: object): number {\n return this.stack.indexOf(overlay);\n }\n\n /**\n * Closes the open overlays that left the page without closing (a `ui-side-panel` projected into a `ui-modal` whose content was removed when the modal closed): an overlay that\n * implements `isDetached()` (true) gets `onOrphaned()`, which releases its place in the stack and the page scroll lock and emits its own `closed` so the host can reset its state.\n */\n pruneDetached(): void {\n for (const overlay of [...this.stack]) {\n const o = overlay as { isDetached?: () => boolean; onOrphaned?: () => void };\n if (o.isDetached?.()) o.onOrphaned?.();\n }\n }\n\n isTop(overlay: object): boolean {\n return this.stack.length > 0 && this.stack[this.stack.length - 1] === overlay;\n }\n\n get isEmpty(): boolean {\n return this.stack.length === 0;\n }\n}\n","/**\n * Initial-focus helpers shared by ui-side-panel and ui-modal (internal — not exported from the public API).\n *\n * Order: an explicit `[autofocus]` / `[data-autofocus]` target in the body → the dialog container itself. A form field is NEVER\n * focused on its own (user decision 2026-11-24): the panel / modal opens with the container focused, so keyboard and screen-reader\n * users are inside the dialog and nothing is edited, highlighted or validated until the user interacts. The header's close button is\n * never chosen. On phones / coarse pointers the container is always focused (no on-screen keyboard or iOS zoom).\n */\n\nconst NON_TEXT_INPUT_TYPES = new Set(['checkbox', 'radio', 'file', 'button', 'submit', 'reset', 'image', 'hidden']);\n\n/** `(max-width: 480px)` or `(pointer: coarse)` — SSR / old-browser safe. */\nexport function isTouchViewport(doc: Document): boolean {\n const w = doc.defaultView;\n return !!w?.matchMedia && (w.matchMedia('(max-width: 480px)').matches || w.matchMedia('(pointer: coarse)').matches);\n}\n\n/** The native control behind an autofocus marker: the element itself or its first descendant control. */\nexport function nativeControl(el: HTMLElement): HTMLElement | null {\n if (/^(INPUT|SELECT|TEXTAREA|BUTTON)$/.test(el.tagName)) return el;\n return el.querySelector('input, select, textarea, button') as HTMLElement | null;\n}\n\n/** Enabled, visible, editable, not hidden from assistive tech, and a real text-like control. */\nexport function isUsableField(el: HTMLElement): boolean {\n const c = el as HTMLInputElement;\n if (c.disabled || c.readOnly) return false;\n if (el.tagName === 'INPUT' && NON_TEXT_INPUT_TYPES.has((c.type || '').toLowerCase())) return false;\n if (el.closest('[hidden], [aria-hidden=\"true\"], [inert]')) return false;\n if (!el.getClientRects().length) return false;\n const view = el.ownerDocument.defaultView;\n return !view || view.getComputedStyle(el).visibility !== 'hidden';\n}\n\n/** Attribute that marks the invisible focus-guard sentinels rendered at the start and end of a dialog. */\nexport const FOCUS_GUARD_ATTR = 'data-ui-focus-guard';\n\nconst TABBABLE_SELECTOR =\n 'button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), iframe, [tabindex]:not([tabindex=\"-1\"])';\n\n/**\n * Elements that take part in the Tab trap: focusable and not `tabindex=\"-1\"`. An `<iframe>` is a stop of its own (unless it\n * is `tabindex=\"-1\"` or not rendered); the focus-guard sentinels are never part of the list.\n */\nexport function tabbables(root: HTMLElement): HTMLElement[] {\n return (Array.from(root.querySelectorAll(TABBABLE_SELECTOR)) as HTMLElement[]).filter(el => {\n if (el.getAttribute('tabindex') === '-1') return false;\n if (el.hasAttribute(FOCUS_GUARD_ATTR)) return false;\n return el.tagName !== 'IFRAME' || isRenderedFrame(el);\n });\n}\n\n/** An iframe that can really take focus: laid out, not `visibility:hidden`, not inside an `[inert]` subtree. */\nfunction isRenderedFrame(el: HTMLElement): boolean {\n if (!el.getClientRects().length || el.closest('[inert]')) return false;\n const view = el.ownerDocument.defaultView;\n return !view || view.getComputedStyle(el).visibility !== 'hidden';\n}\n\n/**\n * Focus-guard handler. Each dialog renders an invisible `tabindex=\"0\"` sentinel as its first and last child. Focus can reach one\n * only through the browser's own Tab order, which is exactly what a keydown handler cannot see (Tab pressed inside a cross-origin\n * iframe). Landing on the START guard means the user went backwards past the first stop, so focus goes to the last tabbable;\n * landing on the END guard goes to the first. With nothing tabbable the dialog container takes focus.\n * Exception: Tab pressed while the dialog CONTAINER holds focus (confirm modals without a field, touch viewports) moves the\n * browser to the START guard, the next element in DOM order; `relatedTarget` is then the container and focus goes to the FIRST\n * tabbable (as it did before the guards existed), or stays on the container when there is none.\n */\nexport function redirectFromGuard(which: 'start' | 'end', host: HTMLElement, dialog: HTMLElement | null, relatedTarget: EventTarget | null = null): void {\n const list = tabbables(host);\n if (!list.length) { dialog?.focus(); return; }\n if (which === 'start' && dialog && relatedTarget === dialog) { list[0].focus(); return; }\n (which === 'start' ? list[list.length - 1] : list[0]).focus();\n}\n\n/** Next (`1`) or previous (`-1`) tabbable relative to `ref` in document order, wrapping around; null for an empty list. */\nfunction neighbourTabbable(list: HTMLElement[], ref: Node, dir: 1 | -1): HTMLElement | null {\n if (!list.length) return null;\n if (dir === 1) {\n return list.find(el => el !== ref && !ref.contains(el) && (ref.compareDocumentPosition(el) & 4) !== 0) ?? list[0];\n }\n const rev = [...list].reverse();\n return rev.find(el => el !== ref && !el.contains(ref) && (ref.compareDocumentPosition(el) & 2) !== 0) ?? list[list.length - 1];\n}\n\n/** The iframe's document when it is same-origin and loaded; null for a cross-origin frame (or one that throws). */\nfunction accessibleDocument(frame: HTMLIFrameElement): Document | null {\n try { return frame.contentDocument ?? null; } catch { return null; }\n}\n\nexport interface IframeKeyBridgeOptions {\n /** Called with the original event when Escape is pressed inside a same-origin iframe. */\n onEscape: (event: KeyboardEvent) => void;\n /** Tab / Shift+Tab are only handled while this returns true (the dialog is open and topmost). */\n isActive: () => boolean;\n}\n\n/**\n * Keys typed inside a same-origin `<iframe>` never reach the parent document, so the dialog's own keydown handler cannot see\n * Escape or Tab there. This bridge listens inside every same-origin iframe under `root` and:\n * - Escape: calls `onEscape` (the dialog closes as if the key was pressed outside the frame);\n * - Tab on the frame's last tabbable (or a frame with none): moves focus to the next tabbable of the dialog, wrapping to the\n * first; Shift+Tab on the frame's first tabbable: the previous one, wrapping to the last. Tab elsewhere in the frame is left\n * to the browser.\n * Cross-origin frames (no accessible document) are skipped silently: their Tab-out is caught by the focus-guard sentinels.\n * Listeners are re-bound when a frame loads a new document, dropped when a frame leaves `root`, and all removed by the\n * returned function (idempotent). A server (no `defaultView`) gets a no-op.\n */\nexport function bridgeIframeKeys(root: HTMLElement, doc: Document, options: IframeKeyBridgeOptions): () => void {\n if (!doc.defaultView) return () => {};\n\n interface Bound { doc: Document | null; onKey: (e: KeyboardEvent) => void; onLoad: () => void; }\n const bound = new Map<HTMLIFrameElement, Bound>();\n\n const makeHandler = (frame: HTMLIFrameElement) => (event: KeyboardEvent) => {\n if (event.key === 'Escape') { options.onEscape(event); return; }\n if (event.key !== 'Tab' || !options.isActive()) return;\n const inner = accessibleDocument(frame);\n if (!inner) return;\n const own = tabbables(inner.body);\n const active = inner.activeElement;\n const atEdge = event.shiftKey\n ? !own.length || active === own[0] || active === inner.body || active === inner.documentElement\n : !own.length || active === own[own.length - 1];\n if (!atEdge) return;\n const target = neighbourTabbable(tabbables(root), frame, event.shiftKey ? -1 : 1);\n if (!target) return;\n event.preventDefault();\n target.focus();\n };\n\n const unbindDoc = (b: Bound) => {\n if (!b.doc) return;\n try { b.doc.removeEventListener('keydown', b.onKey, true); } catch { /* the frame navigated away */ }\n b.doc = null;\n };\n const bindDoc = (frame: HTMLIFrameElement, b: Bound) => {\n unbindDoc(b);\n const inner = accessibleDocument(frame);\n if (!inner) return;\n inner.addEventListener('keydown', b.onKey, true);\n b.doc = inner;\n };\n\n const attach = (frame: HTMLIFrameElement) => {\n const b: Bound = { doc: null, onKey: makeHandler(frame), onLoad: () => bindDoc(frame, b) };\n frame.addEventListener('load', b.onLoad);\n bound.set(frame, b);\n bindDoc(frame, b);\n };\n const detach = (frame: HTMLIFrameElement) => {\n const b = bound.get(frame);\n if (!b) return;\n frame.removeEventListener('load', b.onLoad);\n unbindDoc(b);\n bound.delete(frame);\n };\n const sync = () => {\n const current = new Set(Array.from(root.querySelectorAll('iframe')) as HTMLIFrameElement[]);\n for (const frame of Array.from(bound.keys())) if (!current.has(frame)) detach(frame);\n for (const frame of current) if (!bound.has(frame)) attach(frame);\n };\n\n sync();\n // Only a mutation that adds or removes an iframe (directly or inside a subtree) needs a re-scan.\n const touchesFrame = (n: Node) => n.nodeType === 1 && ((n as Element).tagName === 'IFRAME' || !!(n as Element).querySelector('iframe'));\n const observer = typeof MutationObserver === 'undefined' ? null : new MutationObserver(records => {\n if (records.some(r => Array.from(r.addedNodes).some(touchesFrame) || Array.from(r.removedNodes).some(touchesFrame))) sync();\n });\n observer?.observe(root, { childList: true, subtree: true });\n\n let destroyed = false;\n return () => {\n if (destroyed) return;\n destroyed = true;\n observer?.disconnect();\n for (const frame of Array.from(bound.keys())) detach(frame);\n };\n}\n\n/** Moves focus per the order above; returns the element that ended up focused. */\nexport function focusInitial(dialog: HTMLElement | null, body: HTMLElement | null, doc: Document): void {\n if (!dialog) return;\n if (isTouchViewport(doc) || !body) { dialog.focus(); return; }\n\n const tryFocus = (el: HTMLElement | null): boolean => {\n if (!el) return false;\n el.focus();\n return doc.activeElement === el;\n };\n\n for (const marker of Array.from(body.querySelectorAll('[autofocus], [data-autofocus]')) as HTMLElement[]) {\n const control = nativeControl(marker);\n if (!control) continue;\n const usable = control.tagName === 'BUTTON'\n ? !(control as HTMLButtonElement).disabled && control.getClientRects().length > 0\n : isUsableField(control);\n if (usable && tryFocus(control)) return;\n }\n\n // No field is focused on its own: an explicit autofocus marker (above) is the only way to focus a control on open.\n dialog.focus();\n}\n","/**\n * Return-focus helpers shared by ui-modal and ui-side-panel (internal — not exported from the public API).\n *\n * A dialog gives focus back to whatever opened it. Safari (macOS and iOS) does not focus a button on click, so at open time\n * `document.activeElement` is `<body>` and the plain \"remember the active element\" approach loses the trigger. The\n * `LastInteraction` service therefore remembers the target of the last pointerdown / click / keyboard activation (document-level\n * capturing listeners, registered once while at least one dialog component exists), and `resolveTrigger` falls back to the\n * closest focusable ancestor of that target.\n */\nimport { Injectable } from '@angular/core';\n\n/** Ancestors that count as \"the trigger\": the control the user actually activated. */\nconst FOCUSABLE_ANCESTOR =\n 'button, a[href], [tabindex], [role=\"button\"], input:not([type=\"hidden\"]), select, textarea, summary';\n\n/** An interaction older than this (ms) is not the opener of a dialog: dialogs opened by a timer / socket / route change ignore it. */\nexport const INTERACTION_WINDOW_MS = 1000;\n\n@Injectable({ providedIn: 'root' })\nexport class LastInteraction {\n private _target: Element | null = null;\n private _at = 0;\n private _users = 0;\n private _off: (() => void) | null = null;\n\n /** The target of the last pointerdown / click / Enter or Space keydown, or null. */\n get target(): Element | null { return this._target; }\n\n /**\n * The remembered target if it is at most `INTERACTION_WINDOW_MS` old; it is cleared either way, so one interaction opens at\n * most one dialog.\n */\n consume(): Element | null {\n const fresh = this._target && Date.now() - this._at <= INTERACTION_WINDOW_MS ? this._target : null;\n this._target = null;\n return fresh;\n }\n\n /**\n * Starts listening (first caller only). Safe on the server: without a `defaultView` nothing is registered.\n * Known limitation: a dialog inside an `@defer` block is created after the click that opens it, so the listeners do not exist\n * yet for that very first open and its return focus falls back to the old behaviour (`document.activeElement`).\n */\n acquire(doc: Document): void {\n this._users++;\n if (this._off || !doc.defaultView) return;\n const remember = (e: Event) => { if (e.target instanceof Element) { this._target = e.target; this._at = Date.now(); } };\n const onKey = (e: KeyboardEvent) => { if (e.key === 'Enter' || e.key === ' ') remember(e); };\n doc.addEventListener('pointerdown', remember, true);\n doc.addEventListener('click', remember, true);\n doc.addEventListener('keydown', onKey, true);\n this._off = () => {\n doc.removeEventListener('pointerdown', remember, true);\n doc.removeEventListener('click', remember, true);\n doc.removeEventListener('keydown', onKey, true);\n };\n }\n\n /** Stops listening and forgets the target once the last user is gone. */\n release(): void {\n this._users = Math.max(0, this._users - 1);\n if (this._users > 0) return;\n this._off?.();\n this._off = null;\n this._target = null;\n }\n}\n\n/** The closest focusable ancestor-or-self of `target` (a button / link / tabindex / role=button / form control), or null. */\nexport function closestFocusable(target: Element | null): HTMLElement | null {\n return (target?.closest(FOCUSABLE_ANCESTOR) as HTMLElement | null) ?? null;\n}\n\n/**\n * The element to give focus back to, captured when the dialog opens.\n * 1. A real `document.activeElement` (not body / html, not another dialog's container) — what every browser that focuses on click gives.\n * 2. Otherwise the closest focusable ancestor of the last interaction target (the Safari case).\n * 3. Otherwise whatever `activeElement` was (as before).\n */\nexport function resolveTrigger(doc: Document, tracker: LastInteraction): HTMLElement | null {\n const consumed = tracker.consume(); // always consumed: one interaction opens at most one dialog\n const active = doc.activeElement as HTMLElement | null;\n const isBody = !active || active === doc.body || active === doc.documentElement;\n const isDialog = !isBody && active.matches('[role=\"dialog\"]');\n if (!isBody && !isDialog) return active;\n const tracked = closestFocusable(consumed);\n if (!tracked) return active;\n // A dialog container that holds focus (Safari, a confirm opened from a button inside a panel): only a control inside it counts.\n return isDialog && !active.contains(tracked) ? active : tracked;\n}\n\nfunction isUsable(el: HTMLElement | null | undefined): el is HTMLElement {\n if (!el || !el.isConnected || !el.getClientRects().length) return false;\n const view = el.ownerDocument.defaultView;\n return !view || view.getComputedStyle(el).visibility !== 'hidden';\n}\n\n/** Gives focus back: the explicit `returnFocusTo` first, then the captured trigger; each only if still in the DOM and visible. */\nexport function restoreFocus(explicit: HTMLElement | null | undefined, captured: HTMLElement | null): void {\n for (const candidate of [explicit, captured]) {\n if (isUsable(candidate)) { candidate.focus(); return; }\n }\n captured?.focus(); // as before: a no-op for a detached / hidden element\n}\n","/**\n * Tracks the visual viewport (the part of the page not covered by the on-screen keyboard) and publishes it as CSS\n * custom properties on `host`:\n * --ui-vvh : visible height in px\n * --ui-kb : px covered at the bottom of the layout viewport (keyboard height), 0 when no keyboard\n * Overlays use them so their footer stays above the keyboard. SSR-safe (no-op without a window / visualViewport).\n * Returns a cleanup function that removes the listeners and the properties.\n */\nexport function trackVisualViewport(win: Window | null | undefined, host: HTMLElement): () => void {\n const vv = win?.visualViewport;\n if (!win || !vv) return () => {};\n const update = () => {\n const covered = Math.max(0, Math.round(win.innerHeight - (vv.offsetTop + vv.height)));\n host.style.setProperty('--ui-vvh', `${Math.round(vv.height)}px`);\n host.style.setProperty('--ui-kb', `${covered}px`);\n };\n update();\n vv.addEventListener('resize', update);\n vv.addEventListener('scroll', update);\n return () => {\n vv.removeEventListener('resize', update);\n vv.removeEventListener('scroll', update);\n host.style.removeProperty('--ui-vvh');\n host.style.removeProperty('--ui-kb');\n };\n}\n","import { DestroyRef, ElementRef, InjectionToken, Signal, WritableSignal, computed, effect, inject, signal } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\n/**\n * Shared validity contract of the form inputs (`ui-text-input`, `ui-textarea-input`, `ui-select`,\n * `ui-date-input`, `ui-datetime-input`).\n *\n * Every input provides this token, so a host can read the validity of all the fields in its template\n * without reimplementing any rule:\n *\n * ```ts\n * readonly fields = viewChildren(UiFieldValidity);\n * readonly hasInvalid = computed(() => this.fields().some(f => f.invalid()));\n * ```\n */\nexport abstract class UiFieldValidity {\n /** True while the field's current value breaks a built-in rule (or the host passed a non-empty `[error]`). Not gated on touched. */\n abstract readonly invalid: Signal<boolean>;\n /** The message of the first broken built-in rule ('' when valid), whether or not it is currently shown. */\n abstract readonly errorMessage: Signal<string>;\n}\n\n/** One broken rule: `key` is the Angular validation-error key reported on the form control. */\nexport interface FieldIssue {\n key: string;\n message: string;\n value?: unknown;\n}\n\n/** Maps an issue to the `ValidationErrors` a `Validator` returns. */\nexport function issueToErrors(issue: FieldIssue | null): ValidationErrors | null {\n return issue ? { [issue.key]: issue.value ?? true } : null;\n}\n\n/** \"Name is required.\" / \"This field is required.\" */\nexport function requiredIssue(label: string): FieldIssue {\n const name = label.trim();\n return { key: 'required', message: name ? uiText('validation.required', { label: name }) : uiText('validation.requiredNoLabel') };\n}\n\n/** \"Too long (max N characters).\" when the trimmed text is longer than `max`. */\nexport function maxLengthIssue(text: string, max: number | undefined | null): FieldIssue | null {\n if (max == null || max < 0 || text.length <= max) return null;\n return { key: 'maxlength', message: uiText('validation.tooLong', { max }), value: { requiredLength: max, actualLength: text.length } };\n}\n\n/**\n * An overlay that keeps the fields projected into it ALIVE while it is closed (`ui-side-panel`, `ui-modal`: Angular creates projected content with the host's template,\n * whether or not the overlay renders it). It provides this token, and every field (through [createFieldReveal]) forgets that it was blurred each time the overlay opens or\n * closes, so a field the user left before pressing Cancel / the close button is clean again when the overlay is opened the next time.\n */\nexport interface UiFieldRevealHost {\n readonly open: Signal<boolean>;\n}\nexport const UI_FIELD_REVEAL_HOST = new InjectionToken<UiFieldRevealHost>('UI_FIELD_REVEAL_HOST');\n\n/**\n * Touched / reveal bookkeeping shared by the inputs (every library input uses it, so the rule below is the same for all of them). A message AND the red border (both follow\n * `revealed`) show only when:\n * - the USER clicked / touched / typed in THIS field and then left it (blur): the field must have been interacted with (a pointer press, a click, typing, a key press other than\n * Escape, a change) inside it. Focus that arrives by itself (a panel focusing its first field when it opens) and is then lost (the user closes the panel) is NOT an interaction,\n * so closing an untouched form never shows an error; OR\n * - the host sets `showErrors` (a failed Save / Create / Submit click), which reveals an invalid untouched field at once.\n * A host-provided `[error]` follows the same rule. Switching `showErrors` from true back to false (the host closing / re-initialising its form) clears the touched and interacted\n * state again, so no red field is left. A field inside a `ui-side-panel` / `ui-modal` ([UI_FIELD_REVEAL_HOST]) also clears both whenever that overlay opens or closes.\n * Must be called from an injection context. Outside a component (no host element, e.g. a direct spec) every blur counts as an interaction.\n */\nexport function createFieldReveal(showErrors: Signal<boolean>): { touched: WritableSignal<boolean>; revealed: Signal<boolean>; interacted: WritableSignal<boolean> } {\n const touched = signal(false);\n const element = inject(ElementRef, { optional: true })?.nativeElement as HTMLElement | undefined;\n const hasHost = !!element && typeof element.addEventListener === 'function';\n const interacted = signal(!hasHost);\n if (hasHost) {\n const mark = () => interacted.set(true);\n const key = (e: Event) => { if ((e as KeyboardEvent).key !== 'Escape') interacted.set(true); };\n element!.addEventListener('pointerdown', mark, true);\n element!.addEventListener('mousedown', mark, true);\n element!.addEventListener('touchstart', mark, true);\n element!.addEventListener('click', mark, true);\n element!.addEventListener('input', mark, true);\n element!.addEventListener('change', mark, true);\n element!.addEventListener('keydown', key, true);\n inject(DestroyRef).onDestroy(() => {\n element!.removeEventListener('pointerdown', mark, true);\n element!.removeEventListener('mousedown', mark, true);\n element!.removeEventListener('touchstart', mark, true);\n element!.removeEventListener('click', mark, true);\n element!.removeEventListener('input', mark, true);\n element!.removeEventListener('change', mark, true);\n element!.removeEventListener('keydown', key, true);\n });\n }\n const forget = () => { touched.set(false); if (hasHost) interacted.set(false); };\n const host = inject(UI_FIELD_REVEAL_HOST, { optional: true });\n let previous = false;\n effect(() => {\n const show = showErrors();\n if (previous && !show) forget();\n previous = show;\n });\n let hostOpen: boolean | null = null;\n effect(() => {\n if (!host) return;\n const open = host.open();\n if (hostOpen !== null && open !== hostOpen) forget();\n hostOpen = open;\n });\n return { touched, interacted, revealed: computed(() => (touched() && interacted()) || showErrors()) };\n}\n\nimport { DEFAULT_LOCALE, safeLocale, uiFormatClock, uiFormatDate } from '../i18n/ui-format';\nimport { uiText } from '../i18n/ui-labels';\n\nconst isEnglishLocale = (locale: string): boolean => { const l = safeLocale(locale); return l === 'en-US' || l === 'en'; };\nconst MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n\n/** Splits `YYYY-MM-DD` (optionally followed by `Thh:mm[:ss]`) and rejects impossible dates (2026-02-31) and times (25:00). */\nexport function parseIso(value: string | null | undefined, withTime: boolean): { y: number; mo: number; d: number; h: number; mi: number } | null {\n if (typeof value !== 'string') return null;\n const m = /^(\\d{4})-(\\d{2})-(\\d{2})(?:[T ](\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.\\d+)?)?)?$/.exec(value.trim());\n if (!m) return null;\n if (m[6] !== undefined && Number(m[6]) > 59) return null;\n if (withTime && m[4] === undefined) return null;\n if (!withTime && m[4] !== undefined) return null;\n const y = Number(m[1]), mo = Number(m[2]), d = Number(m[3]);\n const h = m[4] === undefined ? 0 : Number(m[4]);\n const mi = m[5] === undefined ? 0 : Number(m[5]);\n if (mo < 1 || mo > 12 || d < 1 || d > new Date(Date.UTC(y, mo, 0)).getUTCDate()) return null;\n if (h > 23 || mi > 59) return null;\n return { y, mo, d, h, mi };\n}\n\n/** \"Oct 20, 2026\" from an ISO date (never shifted by the time zone). */\nexport function formatIsoDate(value: string | null | undefined, locale: string = DEFAULT_LOCALE): string {\n const p = parseIso(value, false);\n if (!p) return typeof value === 'string' ? value : '';\n if (isEnglishLocale(locale)) return `${MONTHS[p.mo - 1]} ${p.d}, ${p.y}`;\n return uiFormatDate(new Date(p.y, p.mo - 1, p.d), 'MMM d, y', locale);\n}\n\n/** \"Oct 20, 2026, 3:30 PM\" from an ISO local date-time. */\nexport function formatIsoDateTime(value: string | null | undefined, locale: string = DEFAULT_LOCALE): string {\n const p = parseIso(value, true);\n if (!p) return typeof value === 'string' ? value : '';\n if (!isEnglishLocale(locale)) return uiFormatDate(new Date(p.y, p.mo - 1, p.d, p.h, p.mi), 'MMM d, y, h:mm a', locale);\n const hour = p.h % 12 === 0 ? 12 : p.h % 12;\n return `${MONTHS[p.mo - 1]} ${p.d}, ${p.y}, ${hour}:${String(p.mi).padStart(2, '0')} ${p.h < 12 ? 'AM' : 'PM'}`;\n}\n\n/** Sortable key `YYYYMMDDHHmm` of a parsed ISO value. */\nexport function isoKey(p: { y: number; mo: number; d: number; h: number; mi: number }): number {\n return ((((p.y * 100 + p.mo) * 100 + p.d) * 100 + p.h) * 100) + p.mi;\n}\n\n/** Parses `HH:mm` (optionally `HH:mm:ss`) into minutes since midnight; null for anything else (25:00, 9:5, 09:30:99, text, null/undefined). */\nexport function parseTime(value: string | null | undefined): number | null {\n if (typeof value !== 'string') return null;\n const m = /^(\\d{2}):(\\d{2})(?::(\\d{2})(?:\\.\\d+)?)?$/.exec(value.trim());\n if (!m) return null;\n if (m[3] !== undefined && Number(m[3]) > 59) return null;\n const h = Number(m[1]), mi = Number(m[2]);\n return h > 23 || mi > 59 ? null : h * 60 + mi;\n}\n\n/** \"9:00 AM\" / \"12:30 PM\" from an `HH:mm` value (returned unchanged when it cannot be parsed; '' for null/undefined/non-strings). */\nexport function formatTime(value: string | null | undefined, locale: string = DEFAULT_LOCALE): string {\n const t = parseTime(value);\n if (t == null) return typeof value === 'string' ? value : '';\n return uiFormatClock(Math.floor(t / 60), t % 60, locale);\n}\n\n/**\n * Joins a control's own `aria-describedby` ids with the ids a host passes through `[ariaDescribedBy]` (space separated, own ids first,\n * duplicates dropped). Returns null when there is nothing to point at, so the attribute is absent.\n */\nexport function mergeDescribedBy(own: string | null | undefined, external: string | null | undefined): string | null {\n const ids = `${own ?? ''} ${external ?? ''}`.split(/\\s+/).filter(Boolean);\n const unique = ids.filter((id, i) => ids.indexOf(id) === i);\n return unique.length ? unique.join(' ') : null;\n}\n","import { forwardRef, Component, ChangeDetectionStrategy, input, output, inject, ElementRef, Renderer2, OnInit, OnDestroy, effect, untracked, computed, signal, Injector, afterNextRender } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { OverlayStack } from '../utils/overlay-stack';\nimport { focusInitial, tabbables, redirectFromGuard, bridgeIframeKeys } from '../utils/overlay-focus';\nimport { LastInteraction, resolveTrigger, restoreFocus } from '../utils/return-focus';\nimport { trackVisualViewport } from '../utils/visual-viewport';\nimport { UiLabelsService } from '../i18n/ui-labels';\nimport { UI_FIELD_REVEAL_HOST } from '../utils/field-validation';\n\n@Component({\n selector: 'ui-modal',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '(document:keydown)': 'onKeydown($event)' },\n // the fields projected into this overlay forget that they were blurred whenever it opens or closes (see UI_FIELD_REVEAL_HOST)\n providers: [{ provide: UI_FIELD_REVEAL_HOST, useExisting: forwardRef(() => ModalComponent) }],\n template: `\n @if (open()) {\n <div class=\"m-backdrop\" [class.m-kiosk-backdrop]=\"kiosk()\" [style.z-index]=\"backdropZ()\" (click)=\"dismiss('backdrop')\"></div>\n <div class=\"m-modal\" [class.m-kiosk]=\"kiosk()\" role=\"dialog\" aria-modal=\"true\" tabindex=\"-1\" [attr.aria-labelledby]=\"titleId\" [attr.aria-describedby]=\"describedById()\" [attr.aria-busy]=\"busy() ? 'true' : null\" [attr.data-testid]=\"dialogTestId() || null\" [style.max-width]=\"maxWidth()\" [style.z-index]=\"dialogZ()\">\n <span class=\"m-focus-guard\" data-ui-focus-guard=\"start\" tabindex=\"0\" (focus)=\"onGuardFocus('start', $event)\"></span>\n <div class=\"m-header\">\n <div class=\"m-header-text\">\n <h3 class=\"m-title\" [id]=\"titleId\">{{ title() }}</h3>\n @if (description()) {\n <p class=\"m-description\" [id]=\"descId\">{{ description() }}</p>\n }\n </div>\n <ng-content select=\"[modal-header-end]\" />\n @if (!hideClose() && closable()) {\n <button class=\"m-close\" type=\"button\" [attr.aria-label]=\"labels.t('common.close')\" [disabled]=\"busy()\" (click)=\"dismiss('close')\">\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/>\n </svg>\n </button>\n }\n </div>\n <div class=\"m-body\" [style.overflow-y]=\"bodyOverflow()\">\n <ng-content />\n </div>\n <div class=\"m-footer\">\n <div class=\"m-footer-left\"><ng-content select=\"[modal-footer-left]\" /></div>\n <div class=\"m-footer-center\"><ng-content select=\"[modal-footer-center]\" /></div>\n <div class=\"m-footer-right\"><ng-content select=\"[modal-footer-right]\" /></div>\n </div>\n <span class=\"m-focus-guard\" data-ui-focus-guard=\"end\" tabindex=\"0\" (focus)=\"onGuardFocus('end', $event)\"></span>\n </div>\n }\n `,\n styles: [`\n .m-backdrop {\n position: fixed; inset: 0;\n background: rgba(2, 8, 23, 0.45);\n backdrop-filter: blur(4px);\n -webkit-backdrop-filter: blur(4px);\n z-index: 200;\n animation: m-fade 180ms ease;\n }\n .m-modal:focus { outline: none; }\n .m-close:disabled { opacity: 0.4; cursor: not-allowed; }\n /* Invisible Tab-order sentinels at the start / end of the dialog; they only redirect focus back inside. */\n .m-focus-guard { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; outline: none; }\n /* Centred WITHOUT a transform (inset 0 + margin auto + height fit-content, like the kiosk layout): a transform would make the dialog the containing block of every position: fixed descendant,\n so a ui-side-panel (or any fixed overlay) inside the modal body would be positioned against the dialog and clipped by its scrolling body instead of the viewport. Nothing here (transform, filter,\n will-change, contain, perspective) creates a containing block for fixed descendants at rest; the entrance animation below uses a transform only while it runs. */\n .m-modal {\n position: fixed; top: 0; right: 0; bottom: 0; left: 0; margin: auto; height: fit-content;\n background: #fff;\n border-radius: 16px;\n border: 1px solid rgba(0,0,0,0.07);\n z-index: 201;\n width: calc(100% - 32px);\n box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.12), 0 48px 96px rgba(0,0,0,0.10);\n max-height: calc(100vh - 48px);\n /* dvh follows the visible viewport (iOS Safari's collapsing address bar, landscape tablets); browsers without it keep the vh line above */\n max-height: calc(100dvh - 48px);\n display: flex; flex-direction: column;\n animation: m-scale 220ms cubic-bezier(0.16, 1, 0.3, 1);\n }\n .m-header {\n display: flex; align-items: flex-start; justify-content: space-between;\n padding: 20px 24px 16px;\n background: #f8fafc;\n border-bottom: 1px solid #e2e8f0;\n border-radius: 16px 16px 0 0;\n flex-shrink: 0;\n }\n .m-header-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }\n .m-title {\n font-size: 1.125rem; font-weight: 700; color: #0f172a; margin: 0;\n letter-spacing: -0.02em; line-height: 1.3;\n }\n .m-description {\n font-size: 0.8125rem; color: #64748b; margin: 0; line-height: 1.4;\n }\n .m-close {\n display: flex; align-items: center; justify-content: center;\n width: 30px; height: 30px; border-radius: 8px; border: none;\n background: none; cursor: pointer; color: #94a3b8; flex-shrink: 0; margin-left: 12px;\n transition: background 130ms, color 130ms;\n &:hover { background: #f1f5f9; color: #1e293b; }\n &:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n }\n .m-body {\n padding: 20px 24px; overflow-y: auto; flex: 1; min-height: 0;\n font-size: 0.9rem; color: #475569; line-height: 1.65;\n }\n .m-footer {\n padding: 14px 24px 18px;\n background: #f8fafc;\n border-top: 1px solid #e2e8f0;\n border-radius: 0 0 16px 16px;\n flex-shrink: 0;\n display: flex; align-items: center; justify-content: space-between; gap: 8px;\n &:not(:has(*)) { display: none; }\n }\n .m-footer-left { display: flex; align-items: center; gap: 8px; }\n .m-footer-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }\n /* Optional middle slot ([modal-footer-center]): hidden while nothing is projected, so a two-slot footer looks exactly as before. */\n .m-footer-center { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 auto; margin: 0 8px; }\n .m-footer-center:empty { display: none; }\n\n @media (max-width: 480px) {\n .m-modal:not(.m-kiosk) {\n top: auto; bottom: var(--ui-kb, 0px); left: 0; right: 0; transform: none; margin: 0; height: auto;\n width: 100vw; max-width: none !important; max-height: min(85dvh, var(--ui-vvh, 100dvh));\n border-radius: 20px 20px 0 0; animation: m-up 240ms cubic-bezier(0.16, 1, 0.3, 1);\n }\n /* Same footer as ui-side-panel on a phone: the buttons side by side (Cancel left, the primary action right), wrapping only when they do not fit. */\n .m-footer {\n border-radius: 0; flex-wrap: wrap;\n padding-bottom: max(18px, env(safe-area-inset-bottom));\n }\n }\n\n /* Touch targets: the close button's own box is 44 x 44 (a real box, so any measurement sees it). The 30px look is kept with 7px padding + background-clip: content-box, and the negative\n margins (-7px, left 12 - 7 = 5px) keep the header layout of the 30px button (desktop unchanged). */\n @media (pointer: coarse), (max-width: 480px) {\n .m-close { box-sizing: border-box; width: 44px; height: 44px; padding: 7px; margin: -7px -7px -7px 5px; background-clip: content-box; }\n }\n\n /* layout=\"kiosk\": a centred card that always fits the visible viewport (100vh with a 100dvh upgrade): header and footer stay put, the body scrolls\n inside the card, also on a phone (no bottom sheet). Inset 0 + margin auto + height fit-content centres it without a transform. */\n .m-backdrop.m-kiosk-backdrop { background: rgba(15, 23, 42, 0.72); backdrop-filter: none; -webkit-backdrop-filter: none; }\n .m-modal.m-kiosk {\n top: 0; right: 0; bottom: 0; left: 0; transform: none; margin: auto;\n width: calc(100% - 32px); height: fit-content;\n max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);\n overflow: hidden; animation: m-fade 180ms ease;\n box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);\n }\n .m-modal.m-kiosk .m-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }\n .m-modal.m-kiosk .m-footer { border-radius: 0 0 16px 16px; }\n @media (max-width: 480px) {\n .m-modal.m-kiosk { bottom: var(--ui-kb, 0px); max-height: min(calc(100dvh - 32px), var(--ui-vvh, 100dvh)); border-radius: 16px; }\n .m-modal.m-kiosk .m-footer { flex-wrap: wrap; padding-bottom: max(18px, env(safe-area-inset-bottom)); }\n }\n\n @keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }\n @keyframes m-scale {\n from { opacity: 0; transform: translateY(2%) scale(0.96); }\n to { opacity: 1; transform: none; }\n }\n @keyframes m-up { from { transform: translateY(100%); } to { transform: translateY(0); } }\n\n /* Reduced motion: no entrance / shimmer animation (a loading spinner stays, slower). */\n @media (prefers-reduced-motion: reduce) {\n .m-backdrop, .m-modal { animation: none; } /* appears at once: no fade / scale / slide */\n }\n `],\n})\nexport class ModalComponent implements OnInit, OnDestroy {\n protected readonly labels = inject(UiLabelsService);\n readonly open = input(false);\n readonly title = input('');\n readonly description = input('');\n /**\n * Id(s) of the element(s) inside the dialog that describe it (space-separated, as `aria-describedby` takes them), e.g. the confirm message\n * paragraph. Screen readers read them after the title when the dialog opens. When it is not set and `description` is, the dialog is described\n * by that description line; with neither, no `aria-describedby` is rendered (the body of a form dialog is not a description).\n */\n readonly describedBy = input<string | null>(null);\n readonly maxWidth = input('460px');\n readonly bodyOverflow = input<'auto' | 'visible' | 'hidden'>('auto');\n /** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */\n readonly dialogTestId = input('');\n /** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */\n readonly hideClose = input(false);\n /**\n * `false` = the user cannot dismiss the dialog: the X button is hidden and Escape / a backdrop click do not emit `close`\n * (e.g. while a save is running; the host closes it itself). Default `true` = today's behaviour.\n */\n readonly closable = input(true);\n /**\n * Look of the dialog. `'default'` (today's dialog; a bottom sheet on a phone) or `'kiosk'`: a darker backdrop and a centred card on every screen\n * size that never grows past the visible viewport (header and footer stay, the body scrolls, 100dvh with a 100vh fallback). Meant for full-attention\n * dialogs such as a payment or bank-account entry; combine with `[closeOnBackdrop]=\"false\"` and `[busy]`. See docs/modal-kiosk-and-bank-account-form.md.\n */\n readonly layout = input<'default' | 'kiosk'>('default');\n /** `false` = a click on the backdrop does not close (a mis-click must not lose a half-filled payment form). Default `true`. */\n readonly closeOnBackdrop = input(true);\n /** `false` = Escape does not close. Default `true`. */\n readonly closeOnEscape = input(true);\n /**\n * `true` while a request is running (e.g. a payment is processing): sets `aria-busy` on the dialog, disables the X button and blocks Escape and\n * backdrop dismissal, whatever `closable` / `closeOnEscape` / `closeOnBackdrop` say. Default `false`.\n */\n readonly busy = input(false);\n readonly close = output<void>();\n /**\n * Element that gets focus back when the dialog closes. Takes precedence over the element that was focused (or last\n * clicked / activated) when it opened; used only if it is still in the page and visible. Default null = the opener.\n */\n readonly returnFocusTo = input<HTMLElement | null>(null);\n\n protected readonly kiosk = computed(() => this.layout() === 'kiosk');\n protected readonly titleId = `m-title-${Math.random().toString(36).slice(2, 8)}`;\n protected readonly descId = `m-desc-${Math.random().toString(36).slice(2, 8)}`;\n protected readonly describedById = computed(() => this.describedBy()?.trim() || (this.description() ? this.descId : null));\n\n private readonly el = inject(ElementRef);\n private readonly ren = inject(Renderer2);\n private readonly doc = inject(DOCUMENT);\n private readonly injector = inject(Injector);\n\n /**\n * Stacking layer: the position of this dialog in the OverlayStack when it opened (0 = nothing else open). Each layer is 2 z-index steps (backdrop 200 + 2n, dialog 201 + 2n), so a dialog opened\n * later - a confirm or another ui-modal opened from inside this one or from a ui-side-panel inside it - always paints ABOVE the one it was opened from, whatever the order of their host elements in <body>.\n */\n private readonly _layer = signal(0);\n protected readonly backdropZ = computed(() => 200 + 2 * this._layer());\n protected readonly dialogZ = computed(() => 201 + 2 * this._layer());\n\n private readonly _overlays = inject(OverlayStack);\n private _prevFocus: HTMLElement | null = null;\n private _scrollLocked = false;\n private _stopViewport: (() => void) | null = null;\n private _stopIframeKeys: (() => void) | null = null;\n private readonly _interaction = inject(LastInteraction);\n\n constructor() {\n this._interaction.acquire(this.doc);\n effect(() => {\n if (this.open()) {\n this._overlays.push(this);\n this._layer.set(this._overlays.indexOf(this));\n this._prevFocus = resolveTrigger(this.doc, this._interaction);\n this._stopIframeKeys?.();\n this._stopIframeKeys = bridgeIframeKeys(this.el.nativeElement, this.doc, {\n onEscape: e => this.onKeydown(e),\n isActive: () => this.open() && this._overlays.isTop(this),\n });\n this.doc.body.style.overflow = 'hidden';\n this._scrollLocked = true;\n this._stopViewport?.();\n this._stopViewport = trackVisualViewport(this.doc.defaultView, this.el.nativeElement);\n setTimeout(() => this._focusFirst(), 50);\n } else if (this._scrollLocked) {\n this._overlays.remove(this);\n // Another overlay (e.g. the side panel under a confirm modal) is still open — keep the page locked.\n if (this._overlays.isEmpty) this.doc.body.style.overflow = '';\n this._scrollLocked = false;\n this._stopViewport?.();\n this._stopViewport = null;\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n restoreFocus(untracked(() => this.returnFocusTo()), this._prevFocus);\n this._prevFocus = null;\n // a ui-side-panel projected into this dialog is no longer in the page once the dialog content is gone: after the render, close the ones the host left open (see OverlayStack.pruneDetached)\n afterNextRender(() => this._overlays.pruneDetached(), { injector: this.injector });\n }\n });\n }\n\n onKeydown(event: KeyboardEvent) {\n // Only the topmost open overlay handles Escape / Tab (see OverlayStack).\n if (!this.open() || !this._overlays.isTop(this)) return;\n if (event.key === 'Escape') {\n event.preventDefault();\n this.dismiss('escape');\n return;\n }\n if (event.key === 'Tab') {\n const focusable = this._focusable();\n if (!focusable.length) { event.preventDefault(); return; }\n const first = focusable[0];\n const last = focusable[focusable.length - 1];\n if (event.shiftKey) {\n const active = this.doc.activeElement;\n // Focus on the dialog container itself: Shift+Tab must wrap, not leave the modal.\n if (active === first || active === this.el.nativeElement.querySelector('.m-modal')) { event.preventDefault(); last.focus(); }\n } else {\n if (this.doc.activeElement === last) { event.preventDefault(); first.focus(); }\n }\n }\n }\n\n /** Emits `close` when the dialog may be dismissed this way (not closable / busy / backdrop or Escape switched off = nothing). */\n protected dismiss(via: 'backdrop' | 'escape' | 'close') {\n if (!this.closable() || this.busy()) return;\n if (via === 'backdrop' && !this.closeOnBackdrop()) return;\n if (via === 'escape' && !this.closeOnEscape()) return;\n this.close.emit();\n }\n\n /** A focus-guard sentinel received focus (Tab left the dialog's tab order, e.g. out of an iframe): send it back inside. */\n protected onGuardFocus(which: 'start' | 'end', event?: FocusEvent) {\n if (!this._overlays.isTop(this)) return;\n redirectFromGuard(which, this.el.nativeElement, this.el.nativeElement.querySelector('.m-modal'), event?.relatedTarget ?? null);\n }\n\n /** Initial focus — see `focusInitial` (autofocus target → first usable field → dialog container). */\n private _focusFirst() {\n if (!this._overlays.isTop(this)) return; // an overlay opened inside this one in the same pass (a panel) owns the focus\n focusInitial(\n this.el.nativeElement.querySelector('.m-modal'),\n this.el.nativeElement.querySelector('.m-body'),\n this.doc,\n );\n }\n\n private _focusable(): HTMLElement[] {\n return tabbables(this.el.nativeElement);\n }\n\n ngOnInit(): void {\n this.ren.appendChild(this.doc.body, this.el.nativeElement);\n }\n\n ngOnDestroy(): void {\n this._interaction.release();\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n this._stopViewport?.();\n this._stopViewport = null;\n this._overlays.remove(this);\n // Kiosk: destroyed while open (e.g. `<ui-modal [open]=\"true\">` inside an @if) - the opener still gets the focus back.\n if (this._scrollLocked && this.layout() === 'kiosk') {\n restoreFocus(this.returnFocusTo(), this._prevFocus);\n this._prevFocus = null;\n }\n if (this._scrollLocked && this._overlays.isEmpty) this.doc.body.style.overflow = '';\n const el = this.el.nativeElement as HTMLElement;\n if (el.parentNode === this.doc.body) {\n this.ren.removeChild(this.doc.body, el);\n }\n }\n}\n","import { Component, ChangeDetectionStrategy, ElementRef, Input, computed, effect, inject, input, signal } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink } from '@angular/router';\n\n@Component({\n selector: 'ui-button',\n standalone: true,\n imports: [NgTemplateOutlet, RouterLink],\n host: { '[class.ui-btn-block]': \"variant() === 'ghost-start'\" },\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <ng-template #content>\n @if (loading()) {\n <span class=\"spinner\"></span>\n }\n @if (shortLabel()) {\n <!-- shortLabel: the projected (long) text stays in the DOM, visually hidden while the short one shows, so the accessible name is always the long text; the short text is aria-hidden (never read twice). -->\n <span [class]=\"'btn-sl-long ' + _slClass()\"><ng-container [ngTemplateOutlet]=\"projected\" /></span>\n <span [class]=\"'btn-sl-short ' + _slClass()\" aria-hidden=\"true\">{{ shortLabel() }}</span>\n } @else {\n <ng-container [ngTemplateOutlet]=\"projected\" />\n }\n </ng-template>\n <ng-template #projected><ng-content /></ng-template>\n @if (routerLink() !== null) {\n <!-- A real link (middle-click, open in new tab, screen readers say \"link\"): same look as the button of this variant, underlined. -->\n @if (disabled() || loading()) {\n <!-- Like a disabled href: no href, so it cannot be clicked, middle-clicked or opened in a new tab. -->\n <span\n role=\"link\" aria-disabled=\"true\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></span>\n } @else {\n <a\n [routerLink]=\"routerLink()\"\n [queryParams]=\"queryParams()\"\n [fragment]=\"fragment() ?? undefined\"\n [state]=\"state() ?? undefined\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></a>\n }\n } @else if (_safeHref() !== null) {\n <!-- A plain link (mailto:, tel:, https://…): the browser handles it, so middle-click, copy-link and \"open in new tab\" work. -->\n @if (disabled() || loading()) {\n <span\n role=\"link\" aria-disabled=\"true\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></span>\n } @else {\n <a\n [attr.href]=\"_safeHref()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"_rel()\"\n [class]=\"'btn btn-anchor btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></a>\n }\n } @else {\n <button\n [type]=\"type()\"\n [class]=\"'btn btn-' + variant() + ' btn-' + size()\"\n [class.btn-full]=\"fullWidth()\"\n [class.active]=\"active()\"\n [disabled]=\"disabled() || loading()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-expanded]=\"ariaExpanded()\"\n [attr.aria-pressed]=\"ariaPressed()\"\n [attr.aria-describedby]=\"ariaDescribedBy() || null\"\n [style.background]=\"color() || null\"\n [style.border-color]=\"color() || null\"\n ><ng-container [ngTemplateOutlet]=\"content\" /></button>\n }\n `,\n styles: [`\n :host { display: inline-flex; }\n :host(.ui-btn-block) { display: flex; width: 100%; } /* ghost-start: the host itself is a full-width row */\n .btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n border: none; border-radius: 8px; font-weight: 600; cursor: pointer;\n font-family: inherit; transition: all 150ms ease; white-space: nowrap;\n &:disabled { opacity: 0.5; cursor: not-allowed; }\n &:focus-visible { outline: 2px solid var(--ui-focus, #3b82f6); outline-offset: 2px; }\n }\n .btn-full { width: 100%; }\n\n .btn-primary {\n background: var(--ui-accent, #2563EB); color: var(--ui-on-accent, #fff); border: 1px solid var(--ui-accent, #2563EB); /* #2563EB + white = 5.17:1 (WCAG AA text); apps that set --ui-accent keep their colour */\n &:hover:not(:disabled) { background: var(--ui-accent-hover, #1D4ED8); border-color: var(--ui-accent-hover, #1D4ED8); } /* #1D4ED8 + white = 6.70:1 */\n }\n .btn-secondary {\n background: #fff; color: #334155; border: 1px solid #e2e8f0;\n &:hover:not(:disabled) { background: #f8fafc; border-color: #cbd5e1; }\n }\n .btn-ghost {\n background: transparent; color: #64748b; border: 1px solid transparent;\n &:hover:not(:disabled) { background: #f8fafc; color: #334155; }\n }\n /* ghost-start: full-width row toggle, content aligned to the start (works with a heading inside the label) */\n .btn-ghost-start {\n display: flex; width: 100%; justify-content: flex-start; text-align: start; white-space: normal;\n background: transparent; color: #334155; border: 1px solid transparent;\n &:hover:not(:disabled) { background: #f1f5f9; color: #1e293b; }\n }\n .btn-danger {\n background: #dc2626; color: #fff; border: 1px solid #dc2626;\n &:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }\n }\n .btn-link {\n background: none; color: var(--ui-link, var(--ui-accent, #2563eb)); border: none; padding: 0; font-weight: 500; /* #2563eb = 5.17:1 on white, >= 4.75:1 on the light tints (WCAG AA text) */\n &:hover:not(:disabled) { color: var(--ui-link-hover, var(--ui-accent-hover, #1d4ed8)); }\n &.btn-xs, &.btn-sm, &.btn-md, &.btn-lg { padding: 0; }\n }\n .btn-anchor { text-decoration: none; }\n /* A link-button that is disabled or busy is not a link any more (no href): it only looks disabled */\n .btn[aria-disabled=\"true\"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }\n .btn-anchor.btn-link { text-decoration: underline; text-underline-offset: 2px; }\n .btn-warning {\n background: #f97316; color: #fff; border: 1px solid #f97316;\n &:hover:not(:disabled) { background: #ea6c0a; border-color: #ea6c0a; }\n }\n .btn-tab {\n background: none; color: #64748b; border: none; border-bottom: 2px solid transparent;\n border-radius: 0; font-weight: 600; font-size: 0.875rem; transition: all 0.15s;\n &:hover:not(:disabled) { background: none; color: #1e293b; }\n &.active { color: var(--ui-accent, #2563eb); border-bottom-color: var(--ui-accent, #2563eb); } /* text on white: #2563eb 5.17:1 (was #3b82f6 3.68:1) */\n &.btn-xs, &.btn-sm, &.btn-md, &.btn-lg { padding: 10px 20px; border-radius: 0; }\n }\n /* .btn.btn-icon outranks .btn-xs / -sm / -md / -lg, which come later and would give the 28px icon button text padding (an icon of width 0). */\n .btn.btn-icon {\n width: 28px; height: 28px; padding: 0; border-radius: 6px;\n background: transparent; border: none; color: #64748b;\n &:hover:not(:disabled) { background: #f1f5f9; color: #334155; }\n }\n .btn.btn-icon-danger {\n width: 28px; height: 28px; padding: 0; border-radius: 6px;\n background: transparent; border: none; color: #64748b;\n &:hover:not(:disabled) { background: #fee2e2; color: #dc2626; }\n }\n\n .btn-xs { padding: 3px 8px; font-size: 0.75rem; border-radius: 5px; gap: 4px; }\n .btn-sm { padding: 6px 12px; font-size: 0.8125rem; border-radius: 6px; }\n .btn-md { padding: 10px 16px; font-size: 0.875rem; }\n .btn-lg { padding: 14px 20px; font-size: 1rem; }\n\n /* Touch targets: >= 44px hit height on touch devices and phones (desktop unchanged). Link buttons are inline text and\n keep their line height; icon buttons keep their 28px look but get a 44px hit area through ::after. */\n @media (pointer: coarse), (max-width: 480px) {\n .btn-xs, .btn-sm, .btn-md, .btn-lg, .btn-tab { min-height: 44px; }\n .btn-link.btn-xs, .btn-link.btn-sm, .btn-link.btn-md, .btn-link.btn-lg { min-height: 0; }\n .btn-icon, .btn-icon-danger { position: relative; }\n .btn-icon::after, .btn-icon-danger::after { content: ''; position: absolute; inset: -8px; }\n }\n\n /* shortLabel: below the breakpoint the long (projected) text is visually hidden - still in the accessibility tree - and the short text shows */\n .btn-sl-short { display: none; }\n @media (max-width: 479.98px) { .btn-sl-sm.btn-sl-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .btn-sl-sm.btn-sl-short { display: inline; } }\n @media (max-width: 767.98px) { .btn-sl-md.btn-sl-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .btn-sl-md.btn-sl-short { display: inline; } }\n @media (max-width: 1023.98px) { .btn-sl-lg.btn-sl-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .btn-sl-lg.btn-sl-short { display: inline; } }\n /* numeric shortBelow: the component tracks matchMedia and sets .btn-sl-narrow */\n .btn-sl-long.btn-sl-narrow { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }\n .btn-sl-short.btn-sl-narrow { display: inline; }\n\n .spinner {\n width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);\n border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite;\n }\n @keyframes spin { to { transform: rotate(360deg); } }\n\n /* Reduced motion: no entrance / shimmer animation (a loading spinner stays, slower). */\n @media (prefers-reduced-motion: reduce) {\n .spinner { animation-duration: 2s; } /* a loading indicator stays, but turns slowly */\n }\n `],\n})\nexport class ButtonComponent {\n /**\n * `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent\n * background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.\n */\n readonly variant = input<'primary' | 'secondary' | 'ghost' | 'ghost-start' | 'danger' | 'link' | 'warning' | 'tab' | 'icon' | 'icon-danger'>('primary');\n /** Renders an anchor to this route instead of a button (use with `variant=\"link\"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role=\"link\" aria-disabled>` with no href (like `href`). */\n readonly routerLink = input<string | readonly unknown[] | null>(null);\n /** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */\n readonly queryParams = input<Record<string, unknown> | null>(null);\n /** Fragment (hash) of the `routerLink`, without the `#` (e.g. `'billing'` -> `/settings#billing`). */\n readonly fragment = input<string | null>(null);\n /**\n * Router navigation state of the `routerLink` (the `history.state` of the page it opens), e.g. `{ returnTo: '/compliance' }` so the\n * target page can offer a \"Back\" link. Ignored without `routerLink`. Middle-click / open-in-new-tab open the plain href, which carries\n * no state (the target page then falls back to its default back target).\n */\n readonly state = input<Record<string, unknown> | null>(null);\n /**\n * Renders a plain `<a href>` instead of a button: for `mailto:`, `tel:`, `sms:`, `https://…` and relative URLs (use with\n * `variant=\"link\"` for an inline text link). The browser handles the click, so middle-click, copy-link and open-in-new-tab work and\n * the host needs no click handler. Other schemes (`javascript:`, `data:`, …) are never rendered as a link: the component stays a\n * button. `routerLink` wins when both are set. While `disabled` or `loading` the link has no `href` (it only looks disabled).\n */\n readonly href = input<string | null>(null);\n /** Where to open the `href` (`_blank` = a new tab). */\n readonly target = input<'_blank' | '_self' | '_parent' | '_top' | null>(null);\n /** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */\n readonly rel = input<string | null>(null);\n /** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */\n protected readonly _safeHref = computed((): string | null => {\n const raw = this.href();\n if (raw == null) return null;\n const value = raw.trim();\n if (!value) return null;\n // Browsers ignore control characters and spaces inside a scheme (\"java\\nscript:\"), so check the normalised text\n const normalised = value.replace(/[\\u0000-\\u0020]/g, '');\n const scheme = /^([a-z][a-z0-9+.\\-]*):/i.exec(normalised);\n return !scheme || ['http', 'https', 'mailto', 'tel', 'sms'].includes(scheme[1].toLowerCase()) ? value : null;\n });\n protected readonly _rel = computed((): string | null => {\n const rel = (this.rel() ?? '').trim();\n if (this.target() !== '_blank') return rel || null;\n const parts = new Set(rel.split(/\\s+/).filter(Boolean));\n parts.add('noopener'); parts.add('noreferrer');\n return [...parts].join(' ');\n });\n /**\n * A shorter text for narrow screens (e.g. content \"Previous\", `shortLabel=\"Back\"`). Below `shortBelow` the button shows this text instead of\n * its content. Accessibility: the projected (long) content stays in the page, only visually hidden, so the accessible name is always the\n * long text - the short text is `aria-hidden` and never read twice; an explicit `ariaLabel` still wins. Empty (default) = the content is\n * rendered exactly as before. Meant for text content (icons inside the content are hidden together with it).\n */\n readonly shortLabel = input('');\n /**\n * Where `shortLabel` applies: a library token `'sm'` (480px) / `'md'` (768px) / `'lg'` (1024px), or a pixel number (e.g. `640`). The short text\n * shows when the viewport is narrower than this; from the width itself the long text shows (`640`: >= 640px long, < 640px short, like a\n * `min-width: 640px` switch). Tokens are pure CSS; a number is tracked with `matchMedia`. Default `'md'`.\n */\n readonly shortBelow = input<'sm' | 'md' | 'lg' | number>('md');\n /** Classes of the two label spans: the token class, or `btn-sl-narrow` while a pixel breakpoint is active. */\n protected readonly _slClass = computed((): string => {\n const below = this.shortBelow();\n if (typeof below === 'number') return this._narrow() ? 'btn-sl-num btn-sl-narrow' : 'btn-sl-num';\n return 'btn-sl-' + (below === 'sm' || below === 'lg' ? below : 'md');\n });\n private readonly _narrow = signal(false);\n readonly color = input<string | undefined>(undefined);\n readonly active = input(false);\n readonly size = input<'xs' | 'sm' | 'md' | 'lg'>('md');\n readonly type = input<'button' | 'submit' | 'reset'>('button');\n readonly disabled = input(false);\n readonly loading = input(false);\n readonly fullWidth = input(false);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaExpanded = input<boolean | undefined>(undefined);\n readonly ariaPressed = input<boolean | undefined>(undefined);\n /** Id of the element that describes this button (an error or hint rendered next to it), e.g. `<ui-error errorId=\"x\">`. Absent when empty. */\n readonly ariaDescribedBy = input<string | undefined>(undefined);\n private readonly _hostEl = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /**\n * Library source 2026-11-04, not yet published. Puts the keyboard focus on the inner native control (the `<button>`, or the `<a>` of a\n * `routerLink` / `href` button): `buttonRef.focus()` via `viewChild(ButtonComponent)`. Same options as the DOM method (`{ preventScroll: true }`).\n * Safe at any time: before the view exists, or while the button is `disabled` / `loading` (a disabled `<button>` cannot take focus; the\n * disabled-link `<span>` is not focusable), it does nothing and never throws.\n */\n focus(options?: FocusOptions): void {\n this._hostEl.nativeElement.querySelector<HTMLElement>('button.btn, a.btn')?.focus(options);\n }\n\n constructor() {\n // Numeric shortBelow: follow the viewport. Tokens need no script (CSS media queries).\n effect((onCleanup) => {\n const below = this.shortBelow();\n if (!this.shortLabel() || typeof below !== 'number' || !Number.isFinite(below) || typeof window === 'undefined' || typeof window.matchMedia !== 'function') {\n this._narrow.set(false);\n return;\n }\n const mq = window.matchMedia(`(max-width: ${below - 0.02}px)`);\n const update = () => this._narrow.set(mq.matches);\n update();\n mq.addEventListener('change', update);\n onCleanup(() => mq.removeEventListener('change', update));\n });\n }\n\n // Content-projection slot markers used by ui-modal — declared here so Angular's\n // template type-checker doesn't emit unknown-attribute warnings.\n @Input('modal-footer-left') _footerLeft?: string;\n @Input('modal-footer-right') _footerRight?: string;\n}\n","import { Component, ChangeDetectionStrategy, inject, computed, OnInit, OnDestroy } from '@angular/core';\nimport { ConfirmService } from './confirm.service';\nimport { ModalComponent } from '../modal/modal.component';\nimport { ButtonComponent } from '../button/button.component';\nimport { UiLabelsService } from '../i18n/ui-labels';\n\n// Test ids (library source 2026-11-04 for `confirm-dialog`, not yet published): `confirm-modal` is on the <ui-modal> HOST element (zero-size,\n// toBeVisible() is false for it - keep using it for existing selectors / toHaveCount); `confirm-dialog` is on the real dialog element\n// (role=\"dialog\", visible only while the confirm is open) - use it for toBeVisible() / toBeHidden(). Inside: confirm-message,\n// confirm-details, confirm-cancel, confirm-accept.\n\n// Only one outlet renders the modal (preventing double-backdrop stacking when e.g. app-shell and\n// data-table both provide one). The primary outlet is re-evaluated whenever outlets come and go —\n// see ConfirmService.primaryOutlet — rather than fixed at creation time.\n\n@Component({\n selector: 'ui-confirm-outlet',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ModalComponent, ButtonComponent],\n template: `\n @if (_isPrimary() && svc.active()) {\n <ui-modal\n data-testid=\"confirm-modal\"\n dialogTestId=\"confirm-dialog\"\n [open]=\"svc.open()\"\n [title]=\"svc.active()!.title\"\n maxWidth=\"420px\"\n [describedBy]=\"_describedBy()\"\n (close)=\"svc.dismiss(false)\">\n <p class=\"confirm-msg\" data-testid=\"confirm-message\" [id]=\"msgId\">{{ svc.active()!.message }}</p>\n @if (svc.active()!.details.length) {\n <ul class=\"confirm-details\" data-testid=\"confirm-details\" [attr.aria-label]=\"labels.t('confirm.whatWillHappen')\" [id]=\"detailsId\">\n @for (d of svc.active()!.details; track $index) { <li>{{ d }}</li> }\n </ul>\n }\n <ui-button modal-footer-left data-testid=\"confirm-cancel\" variant=\"secondary\" size=\"sm\" (click)=\"svc.dismiss(false)\">\n {{ svc.active()!.cancelLabel }}\n </ui-button>\n <ui-button\n modal-footer-right\n data-testid=\"confirm-accept\"\n [variant]=\"svc.active()!.variant\"\n size=\"sm\"\n (click)=\"svc.dismiss(true)\">\n {{ svc.active()!.confirmLabel }}\n </ui-button>\n </ui-modal>\n }\n `,\n styles: [`\n .confirm-msg { margin: 0; font-size: 0.875rem; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; white-space: pre-line; }\n .confirm-details { margin: 10px 0 0; padding-left: 20px; font-size: 0.875rem; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; }\n .confirm-details li + li { margin-top: 4px; }\n `],\n})\nexport class ConfirmOutletComponent implements OnInit, OnDestroy {\n protected readonly labels = inject(UiLabelsService);\n protected readonly svc = inject(ConfirmService);\n protected readonly _isPrimary = computed(() => this.svc.primaryOutlet() === this);\n /** Unique per outlet: the dialog is described by the message and, when there is one, the \"what will happen\" list (aria-describedby). */\n private readonly _uid = Math.random().toString(36).slice(2, 8);\n protected readonly msgId = `ui-confirm-msg-${this._uid}`;\n protected readonly detailsId = `ui-confirm-details-${this._uid}`;\n protected readonly _describedBy = computed(() => this.svc.active()?.details.length ? `${this.msgId} ${this.detailsId}` : this.msgId);\n\n ngOnInit(): void {\n this.svc.registerOutlet(this);\n }\n\n ngOnDestroy(): void {\n this.svc.unregisterOutlet(this);\n }\n}\n","import { DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport { ApplicationRef, ComponentRef, EnvironmentInjector, Injectable, OnDestroy, PLATFORM_ID, computed, createComponent, inject, signal } from '@angular/core';\nimport { ConfirmOutletComponent } from './confirm-outlet.component';\nimport { UiLabelsService } from '../i18n/ui-labels';\n\nexport interface ActiveConfirm {\n title: string;\n message: string;\n confirmLabel: string;\n cancelLabel: string;\n variant: 'danger' | 'primary' | 'warning';\n /** Optional bullet list rendered under the message (plain text). */\n details: string[];\n}\n\n@Injectable({ providedIn: 'root' })\nexport class ConfirmService implements OnDestroy {\n private readonly _labels = inject(UiLabelsService);\n private readonly _appRef = inject(ApplicationRef);\n private readonly _envInjector = inject(EnvironmentInjector);\n private readonly _doc = inject(DOCUMENT);\n private readonly _browser = isPlatformBrowser(inject(PLATFORM_ID));\n private _open = signal(false);\n private _active = signal<ActiveConfirm | null>(null);\n private _resolve: ((v: boolean) => void) | null = null;\n\n readonly open = this._open.asReadonly();\n readonly active = this._active.asReadonly();\n\n /**\n * Live <ui-confirm-outlet> instances, oldest first. Every ui-data-table renders an outlet, so\n * several can exist at once (e.g. during a route change the next page's table is created before\n * the previous page's is destroyed). Only the oldest live outlet renders the dialog; when it is\n * destroyed the next one takes over, so a confirm always has somewhere to render.\n */\n private readonly _outlets = signal<readonly object[]>([]);\n readonly primaryOutlet = computed(() => this._outlets()[0] ?? null);\n\n /**\n * The outlet this service created itself because `confirm()` was called while no `<ui-confirm-outlet>` existed (a page without a\n * `ui-data-table` and without a hand-placed outlet). Null while a template-placed outlet exists, before the first such confirm, and\n * on the server. Library source 2026-11-04, not yet published.\n */\n private _auto: ComponentRef<ConfirmOutletComponent> | null = null;\n /** True when a template-placed outlet appeared while the auto outlet's dialog was open: the auto outlet is removed once that dialog closes. */\n private _retireAutoOnDismiss = false;\n\n registerOutlet(outlet: object): void {\n this._outlets.update(list => [...list, outlet]);\n // A template-placed outlet always wins: drop the auto outlet (right away, or after the open dialog is answered) so only one outlet remains.\n if (this._auto && outlet !== this._auto.instance) {\n if (this._open()) this._retireAutoOnDismiss = true; else this._destroyAuto();\n }\n }\n\n unregisterOutlet(outlet: object): void {\n this._outlets.update(list => list.filter(o => o !== outlet));\n }\n\n ngOnDestroy(): void {\n this._destroyAuto();\n }\n\n /**\n * Makes sure some outlet exists to render the dialog. Template-placed outlets (data-table, app-shell, a hand-placed\n * `<ui-confirm-outlet />`) are used as they are; only when there is none is one outlet created and attached to `document.body`\n * (reused for later confirms, removed when the service is destroyed or a template-placed outlet appears). Does nothing without a DOM (SSR).\n */\n private _ensureOutlet(): void {\n if (this._outlets().length > 0) return;\n if (!this._browser) return;\n const body = this._doc.body;\n const ref = createComponent(ConfirmOutletComponent, { environmentInjector: this._envInjector });\n this._appRef.attachView(ref.hostView);\n body.appendChild(ref.location.nativeElement);\n this._auto = ref;\n ref.changeDetectorRef.detectChanges(); // runs ngOnInit, which registers the outlet\n }\n\n private _destroyAuto(): void {\n const ref = this._auto;\n if (!ref) return;\n this._auto = null;\n this._retireAutoOnDismiss = false;\n const el = ref.location.nativeElement as HTMLElement;\n ref.destroy();\n el.remove();\n }\n\n confirm(config: {\n title: string;\n message: string;\n confirmLabel?: string;\n cancelLabel?: string;\n variant?: 'danger' | 'primary' | 'warning';\n details?: string[];\n }): Promise<boolean> {\n return new Promise(resolve => {\n this._resolve = resolve;\n this._active.set({\n title: config.title,\n message: config.message,\n confirmLabel: config.confirmLabel ?? this._labels.t('common.confirm'),\n cancelLabel: config.cancelLabel ?? this._labels.t('common.cancel'),\n variant: config.variant ?? 'danger',\n details: config.details ?? [],\n });\n this._open.set(true);\n this._ensureOutlet();\n });\n }\n\n dismiss(confirmed: boolean): void {\n this._open.set(false);\n const res = this._resolve;\n this._resolve = null;\n this._active.set(null);\n res?.(confirmed);\n if (this._retireAutoOnDismiss) this._destroyAuto();\n }\n}\n","import { forwardRef, Component, input, output, ChangeDetectionStrategy, inject, ElementRef, effect, OnDestroy, untracked, signal, viewChild, computed, Injector, afterNextRender } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { OverlayStack } from '../utils/overlay-stack';\nimport { focusInitial, tabbables, redirectFromGuard, bridgeIframeKeys } from '../utils/overlay-focus';\nimport { LastInteraction, resolveTrigger, restoreFocus } from '../utils/return-focus';\nimport { trackVisualViewport } from '../utils/visual-viewport';\nimport { UiLabelsService } from '../i18n/ui-labels';\nimport { UI_FIELD_REVEAL_HOST } from '../utils/field-validation';\n\n@Component({\n selector: 'ui-side-panel',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '(document:keydown)': 'onKeydown($event)' },\n // the fields projected into this overlay forget that they were blurred whenever it opens or closes (see UI_FIELD_REVEAL_HOST)\n providers: [{ provide: UI_FIELD_REVEAL_HOST, useExisting: forwardRef(() => SidePanelComponent) }],\n template: `\n @if (open()) {\n <div class=\"sp-backdrop\" (click)=\"closed.emit()\"></div>\n <div\n class=\"sp-panel\"\n [class.sp-wide]=\"wide()\"\n [class.sp-extra-wide]=\"extraWide()\"\n [class.sp-ultra-wide]=\"ultraWide()\"\n role=\"dialog\"\n aria-modal=\"true\"\n tabindex=\"-1\"\n [attr.aria-labelledby]=\"titleId\">\n <span class=\"sp-focus-guard\" data-ui-focus-guard=\"start\" tabindex=\"0\" (focus)=\"onGuardFocus('start', $event)\"></span>\n\n <!-- Header -->\n <div class=\"sp-header\">\n <div class=\"sp-header-text\">\n <h2 class=\"sp-title\" data-testid=\"side-panel-title\" [id]=\"titleId\">{{ title() }}</h2>\n @if (subtitle()) { <p class=\"sp-subtitle\" data-testid=\"side-panel-subtitle\">{{ subtitle() }}</p> }\n </div>\n <div class=\"sp-header-end\"><ng-content select=\"[panel-header-end]\" /></div>\n <button class=\"sp-close\" type=\"button\" (click)=\"closed.emit()\" [attr.aria-label]=\"labels.t('sidePanel.dismissPanel')\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/>\n </svg>\n </button>\n </div>\n\n <!-- Body -->\n <div\n class=\"sp-body\"\n #spBody\n [attr.tabindex]=\"bodyScrollable() ? 0 : null\"\n [attr.role]=\"bodyScrollable() ? 'group' : null\"\n [attr.aria-labelledby]=\"bodyScrollable() ? titleId : null\">\n <ng-content />\n </div>\n\n <!-- Footer: cancel always left, primary always right -->\n @if (cancelLabel() || primaryLabel()) {\n <div class=\"sp-footer\">\n @if (cancelLabel()) {\n <button class=\"sp-btn sp-btn-cancel\" type=\"button\" [attr.data-testid]=\"cancelTestId() || null\" (click)=\"closed.emit()\">\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>\n {{ cancelLabel() }}\n </button>\n }\n <div class=\"sp-footer-extra\"><ng-content select=\"[panel-footer-extra]\" /></div>\n @if (primaryLabel()) {\n <button\n class=\"sp-btn\"\n [attr.data-testid]=\"primaryTestId() || null\"\n [class.sp-btn-primary]=\"primaryVariant() === 'primary'\"\n [class.sp-btn-danger]=\"primaryVariant() === 'danger'\"\n [class.sp-btn-warning]=\"primaryVariant() === 'warning'\"\n type=\"button\"\n [disabled]=\"primaryDisabled() || primaryLoading()\"\n (click)=\"primaryClick.emit()\">\n @if (primaryLoading()) {\n <span class=\"sp-spinner\" aria-hidden=\"true\"></span>\n } @else if (primaryVariant() === 'danger') {\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"3 6 5 6 21 6\"/><path d=\"M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6\"/><path d=\"M10 11v6M14 11v6\"/><path d=\"M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2\"/></svg>\n } @else if (primaryVariant() === 'warning') {\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"/><polygon points=\"22 2 15 22 11 13 2 9 22 2\"/></svg>\n } @else {\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><polyline points=\"20 6 9 17 4 12\"/></svg>\n }\n {{ primaryLabel() }}\n </button>\n }\n </div>\n }\n <span class=\"sp-focus-guard\" data-ui-focus-guard=\"end\" tabindex=\"0\" (focus)=\"onGuardFocus('end', $event)\"></span>\n </div>\n }\n `,\n styles: [`\n .sp-backdrop {\n position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 90;\n animation: sp-fade 200ms ease;\n }\n .sp-panel {\n position: fixed; top: 0; right: 0; bottom: var(--ui-kb, 0px); width: 480px; max-width: 100vw;\n max-height: 100vh;\n max-height: var(--ui-vvh, 100dvh);\n background: #fff; z-index: 100; box-shadow: -4px 0 20px rgba(0,0,0,0.1);\n display: flex; flex-direction: column; animation: sp-slide 250ms ease;\n }\n .sp-panel:focus { outline: none; }\n /* Opened from inside a ui-modal: nothing is moved. ui-modal is centred without a transform, so this fixed panel is positioned against the viewport (not the dialog) and is not clipped by the dialog body;\n it sits inside the dialog's stacking context (201), so it paints over the dialog content, and a dialog opened later gets a higher layer (ui-modal z-index 200 + 2n) and paints over the panel. */\n /* Invisible Tab-order sentinels at the start / end of the panel; they only redirect focus back inside. */\n .sp-focus-guard { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; outline: none; }\n .sp-wide { width: 620px; }\n .sp-extra-wide { width: 760px; }\n .sp-ultra-wide { width: 1040px; max-width: 100vw; } /* the widest panel: a table with many columns (a delivery log) */\n\n /* ── Header ─── */\n .sp-header {\n display: flex; justify-content: space-between; align-items: center;\n padding: 24px 24px 20px; gap: 12px; flex-shrink: 0;\n background: linear-gradient(135deg, #1e293b 0%, #334155 100%);\n }\n .sp-header-text { flex: 1; min-width: 0; }\n /* Optional [panel-header-end] slot: actions (a Preview button) in the top right of the header, left of the close button; removed from the layout while nothing is projected. */\n .sp-header-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }\n .sp-header-end:empty { display: none; }\n .sp-title { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0; overflow-wrap: anywhere; } /* a long title wraps onto more lines (never clipped or pushing the close button out); anywhere also breaks one very long word */\n .sp-subtitle { font-size: 0.8125rem; color: #94a3b8; margin: 4px 0 0; }\n .sp-close {\n display: flex; align-items: center; justify-content: center; flex-shrink: 0;\n width: 36px; height: 36px; border-radius: 8px;\n border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1);\n cursor: pointer; color: #cbd5e1; transition: background 0.15s, border-color 0.15s;\n &:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); color: #fff; }\n &:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n }\n\n /* ── Body ─── */\n .sp-body { padding: 20px 24px 24px; flex: 1; overflow-y: auto; overflow-x: hidden; }\n /* Keyboard focus ring of a body that overflows (it is a Tab stop only then, so arrow keys / Space / PageDown can scroll it). */\n .sp-body:focus-visible { outline: 2px solid #3b82f6; outline-offset: -2px; }\n\n /* ── Footer ─── */\n .sp-footer {\n display: flex; align-items: center; justify-content: space-between;\n flex-shrink: 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));\n border-top: 1px solid #e2e8f0; background: #f8fafc;\n }\n /* Optional [panel-footer-extra] slot between Cancel and the primary button; removed from the layout while nothing is projected. */\n .sp-footer-extra { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 auto; margin: 0 8px; min-width: 0; }\n .sp-footer-extra:empty { display: none; }\n /* The footer buttons use exactly the ui-button look (md size): same padding, radius, weight, colors, focus ring and spinner. */\n .sp-btn {\n display: inline-flex; align-items: center; justify-content: center; gap: 6px;\n padding: 10px 16px; border-radius: 8px; font-size: 0.875rem;\n font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap;\n transition: all 150ms ease;\n &:disabled { opacity: 0.5; cursor: not-allowed; }\n &:focus-visible { outline: 2px solid var(--ui-focus, #3b82f6); outline-offset: 2px; }\n }\n .sp-btn-cancel {\n background: #fff; border: 1px solid #e2e8f0; color: #334155;\n &:hover:not(:disabled) { background: #f8fafc; border-color: #cbd5e1; }\n }\n .sp-btn-primary {\n background: var(--ui-accent, #2563eb); border: 1px solid var(--ui-accent, #2563eb); color: var(--ui-on-accent, #fff);\n &:hover:not(:disabled) { background: var(--ui-accent-hover, #1d4ed8); border-color: var(--ui-accent-hover, #1d4ed8); }\n }\n .sp-btn-danger {\n background: #dc2626; border: 1px solid #dc2626; color: #fff;\n &:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }\n }\n .sp-btn-warning {\n background: #f97316; border: 1px solid #f97316; color: #fff;\n &:hover:not(:disabled) { background: #ea6c0a; border-color: #ea6c0a; }\n }\n .sp-spinner {\n display: inline-block; width: 16px; height: 16px; border-radius: 50%;\n border: 2px solid rgba(255,255,255,0.3); border-top-color: currentColor;\n animation: sp-spin 0.6s linear infinite; flex-shrink: 0;\n }\n\n /* ── Responsive ─── */\n @media (max-width: 768px) {\n .sp-panel, .sp-wide, .sp-extra-wide, .sp-ultra-wide { width: 100vw; }\n }\n @media (max-width: 480px) {\n .sp-panel, .sp-wide, .sp-extra-wide, .sp-ultra-wide {\n top: auto; bottom: 0; left: 0; right: 0;\n width: 100vw; max-height: 90vh;\n max-height: min(90dvh, var(--ui-vvh, 100dvh));\n border-radius: 16px 16px 0 0;\n box-shadow: 0 -4px 24px rgba(0,0,0,0.15);\n animation: sp-up 250ms ease;\n }\n .sp-header { padding: 16px 16px 14px; }\n .sp-body { padding: 16px; }\n .sp-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }\n /* The footer buttons stack full width, the primary action on top (column-reverse: the primary button is last in the DOM, the Cancel button first),\n each button may wrap its text and nothing can run past the screen edge. The [panel-footer-extra] slot sits between them and may wrap too. */\n .sp-footer { flex-direction: column-reverse; align-items: stretch; gap: 8px; }\n .sp-footer .sp-btn { width: 100%; white-space: normal; }\n .sp-footer .sp-footer-extra { margin: 0; flex-wrap: wrap; }\n }\n\n /* Touch targets: >= 44px on touch devices and phones (desktop unchanged). The close button's own box is 44 x 44 (a real box, so any measurement sees it); the 36px look (border + tint)\n moves to a ::before inset 4px and the -4px margin keeps the header layout of the 36px button. Footer buttons simply grow. */\n @media (pointer: coarse), (max-width: 480px) {\n .sp-close { position: relative; box-sizing: border-box; width: 44px; height: 44px; margin: -4px; border: 0; background: none; }\n .sp-close:hover { background: none; }\n .sp-close::before { content: ''; position: absolute; inset: 4px; box-sizing: border-box; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(255,255,255,0.1); pointer-events: none; transition: background 0.15s, border-color 0.15s; }\n .sp-close:hover::before { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }\n .sp-close > svg { position: relative; }\n .sp-btn { min-height: 44px; justify-content: center; }\n }\n\n @keyframes sp-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }\n @keyframes sp-up { from { transform: translateY(100%); } to { transform: translateY(0); } }\n @keyframes sp-fade { from { opacity: 0; } to { opacity: 1; } }\n @keyframes sp-spin { to { transform: rotate(360deg); } }\n\n /* Reduced motion: no entrance / shimmer animation (a loading spinner stays, slower). */\n @media (prefers-reduced-motion: reduce) {\n .sp-backdrop, .sp-panel, .sp-wide, .sp-extra-wide, .sp-ultra-wide { animation: none; } /* appears at once: no fade / slide */\n .sp-spinner { animation-duration: 2s; }\n }\n `],\n})\nexport class SidePanelComponent implements OnDestroy {\n\n protected readonly labels = inject(UiLabelsService);\n readonly open = input(false);\n readonly title = input.required<string>();\n readonly subtitle = input('');\n readonly wide = input(false);\n readonly extraWide = input(false);\n /** 1040px (100vw on a phone): wider than `extraWide`, for a table with many columns. */\n readonly ultraWide = input(false);\n /** Left-aligned cancel button. Default 'Cancel'. Set to '' to hide. */\n readonly cancelLabelInput = input<string | null>(null, { alias: 'cancelLabel' });\n readonly cancelLabel = computed(() => this.cancelLabelInput() ?? this.labels.t('sidePanel.cancelLabel'));\n /** Right-aligned primary action button label. Empty string = hidden. */\n readonly primaryLabel = input('');\n readonly primaryVariant = input<'primary' | 'danger' | 'warning'>('primary');\n readonly primaryLoading = input(false);\n readonly primaryDisabled = input(false);\n /** `data-testid` of the Cancel button; none when empty (default). */\n readonly cancelTestId = input('');\n /** `data-testid` of the primary footer button; none when empty (default). */\n readonly primaryTestId = input('');\n\n /**\n * Element that gets focus back when the panel closes. Takes precedence over the element that was focused (or last\n * clicked / activated) when it opened; used only if it is still in the page and visible. Default null = the opener.\n */\n readonly returnFocusTo = input<HTMLElement | null>(null);\n\n readonly closed = output<void>();\n readonly primaryClick = output<void>();\n\n protected readonly titleId = `sp-title-${Math.random().toString(36).slice(2, 8)}`;\n\n /**\n * (library source 2026-11-04, not yet published) True while the scrollable body (`.sp-body`) is taller than the space it has.\n * Only then the body is a keyboard Tab stop (`tabindex=\"0\"`, `role=\"group\"`, named by the panel title via `aria-labelledby`)\n * so keyboard users can scroll it with the arrow keys / Space / PageUp / PageDown. While the content fits, the body carries\n * none of those attributes (unchanged markup). Kept current by a ResizeObserver + MutationObserver on the body.\n */\n readonly bodyScrollable = signal(false);\n private readonly _bodyRef = viewChild<ElementRef<HTMLElement>>('spBody');\n private _bodyObservers: { ro: ResizeObserver | null; mo: MutationObserver | null } | null = null;\n\n private readonly _el = inject(ElementRef);\n private readonly _doc = inject(DOCUMENT);\n private readonly _overlays = inject(OverlayStack);\n private _prevFocus: HTMLElement | null = null;\n private _scrollLocked = false;\n private _stopViewport: (() => void) | null = null;\n private _stopIframeKeys: (() => void) | null = null;\n private readonly _interaction = inject(LastInteraction);\n private readonly _injector = inject(Injector);\n\n constructor() {\n this._interaction.acquire(this._doc);\n effect(() => {\n const body = this._bodyRef()?.nativeElement ?? null;\n untracked(() => this._watchBody(body));\n });\n effect(() => {\n if (this.open()) {\n this._overlays.push(this);\n // Opened in the same render pass as the ui-modal it sits in: the modal may have been pushed after this panel. After the render, a panel that is inside a modal moves back on top (Escape / Tab / focus belong to it).\n afterNextRender(() => {\n if (this.open() && !this._overlays.isTop(this) && (this._el.nativeElement as HTMLElement).closest('.m-modal')) { this._overlays.push(this); }\n }, { injector: this._injector });\n this._prevFocus = resolveTrigger(this._doc, this._interaction);\n this._stopIframeKeys?.();\n this._stopIframeKeys = bridgeIframeKeys(this._el.nativeElement, this._doc, {\n onEscape: e => this.onKeydown(e),\n isActive: () => this.open() && this._overlays.isTop(this),\n });\n this._doc.body.style.overflow = 'hidden';\n this._scrollLocked = true;\n this._stopViewport?.();\n this._stopViewport = trackVisualViewport(this._doc.defaultView, this._el.nativeElement);\n setTimeout(() => this._focusFirst(), 50);\n } else if (this._scrollLocked) {\n this._overlays.remove(this);\n // Another overlay (e.g. the side panel under a confirm modal) is still open — keep the page locked.\n if (this._overlays.isEmpty) this._doc.body.style.overflow = '';\n this._scrollLocked = false;\n this._stopViewport?.();\n this._stopViewport = null;\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n restoreFocus(untracked(() => this.returnFocusTo()), this._prevFocus);\n this._prevFocus = null;\n }\n });\n }\n\n /** `OverlayStack.pruneDetached`: this open panel's host is no longer in the page (the `ui-modal` it was projected into closed and removed its content). */\n isDetached(): boolean {\n return this.open() && this._scrollLocked && !(this._el.nativeElement as HTMLElement).isConnected;\n }\n\n /** The panel's modal closed under it: release the stack place and the scroll lock (the page must not stay locked) and tell the host, which resets its own open state. */\n onOrphaned(): void {\n if (!this._scrollLocked) return;\n this._overlays.remove(this);\n if (this._overlays.isEmpty) this._doc.body.style.overflow = '';\n this._scrollLocked = false;\n this._stopViewport?.();\n this._stopViewport = null;\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n this._prevFocus = null;\n this.closed.emit();\n }\n\n /**\n * Re-measures the body now (`scrollHeight` vs `clientHeight`, 1px tolerance for sub-pixel rounding) and updates\n * `bodyScrollable`. Called by the observers; also usable by a host that changes the body content in a way no observer sees.\n */\n refreshScrollable(): void {\n const el = this._bodyRef()?.nativeElement;\n this.bodyScrollable.set(!!el && el.scrollHeight - el.clientHeight > 1);\n }\n\n /** Starts observing the (new) body element, or stops observing when the body is gone (panel closed). */\n private _watchBody(body: HTMLElement | null) {\n this._stopWatchingBody();\n if (!body) { this.bodyScrollable.set(false); return; }\n this.refreshScrollable();\n const ro = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(() => this.refreshScrollable());\n const mo = typeof MutationObserver === 'undefined' ? null : new MutationObserver(() => {\n // content added / removed: observe the new direct children too (a child growing does not resize the body box)\n if (ro) for (const child of Array.from(body.children)) ro.observe(child);\n this.refreshScrollable();\n });\n if (ro) { ro.observe(body); for (const child of Array.from(body.children)) ro.observe(child); }\n mo?.observe(body, { childList: true, subtree: true, characterData: true });\n this._bodyObservers = { ro, mo };\n }\n\n private _stopWatchingBody() {\n this._bodyObservers?.ro?.disconnect();\n this._bodyObservers?.mo?.disconnect();\n this._bodyObservers = null;\n }\n\n onKeydown(event: KeyboardEvent) {\n // Only the topmost open overlay handles Escape / Tab (see OverlayStack).\n if (!this.open() || !this._overlays.isTop(this)) return;\n if (event.key === 'Escape') {\n if (event.defaultPrevented) return; // a control inside (an open menu / dropdown) already used this Escape\n event.preventDefault();\n this.closed.emit();\n return;\n }\n if (event.key === 'Tab') {\n const focusable = this._focusable();\n if (!focusable.length) { event.preventDefault(); return; }\n const first = focusable[0];\n const last = focusable[focusable.length - 1];\n if (event.shiftKey) {\n const active = this._doc.activeElement;\n // Focus on the dialog container itself: Shift+Tab must wrap, not leave the panel.\n if (active === first || active === this._el.nativeElement.querySelector('.sp-panel')) { event.preventDefault(); last.focus(); }\n } else {\n if (this._doc.activeElement === last) { event.preventDefault(); first.focus(); }\n }\n }\n }\n\n /** A focus-guard sentinel received focus (Tab left the panel's tab order, e.g. out of an iframe): send it back inside. */\n protected onGuardFocus(which: 'start' | 'end', event?: FocusEvent) {\n if (!this._overlays.isTop(this)) return;\n redirectFromGuard(which, this._el.nativeElement, this._el.nativeElement.querySelector('.sp-panel'), event?.relatedTarget ?? null);\n }\n\n /** Initial focus — see `focusInitial` (autofocus target → first usable field → dialog container). */\n private _focusFirst() {\n if (!this._overlays.isTop(this)) return;\n focusInitial(\n this._el.nativeElement.querySelector('.sp-panel'),\n this._el.nativeElement.querySelector('.sp-body'),\n this._doc,\n );\n }\n\n private _focusable(): HTMLElement[] {\n return tabbables(this._el.nativeElement);\n }\n\n ngOnDestroy() {\n this._stopWatchingBody();\n this._interaction.release();\n this._stopIframeKeys?.();\n this._stopIframeKeys = null;\n this._stopViewport?.();\n this._stopViewport = null;\n this._overlays.remove(this);\n if (this._scrollLocked && this._overlays.isEmpty) this._doc.body.style.overflow = '';\n }\n}\n","import { InjectionToken } from '@angular/core';\n\n/** Where a note change saved on the device is in the offline layer. */\nexport type QueuedNoteState = 'waiting' | 'sending' | 'failed' | 'conflict';\n\n/** One note change that was saved while offline and has not been delivered yet. */\nexport interface QueuedNote {\n /** The id of the saved change (the offline layer's row), unique per change. */\n rowId: string;\n /** `add` = a new note, `edit` = new text for the note `noteId`, `delete` = the note `noteId` is to be deleted. */\n kind: 'add' | 'edit' | 'delete';\n /** The note an `edit` / `delete` is about; empty for an `add`. */\n noteId: string;\n /** The text of an `add` / `edit` (already trimmed, as it will be sent); empty for a `delete`. */\n text: string;\n /** When the change was saved on the device (ms since the epoch). */\n createdAt: number;\n state: QueuedNoteState;\n}\n\n/**\n * The small contract between `ui-notes` and an offline layer (the `@forgeroute/ui/offline` entry point provides it). It is optional: when nothing\n * provides `UI_NOTES_QUEUE`, `ui-notes` behaves exactly as it always did. It holds no data of its own: `queuedFor` reads the offline layer's own\n * saved-change list (a signal), so calling it inside a `computed` / template stays reactive.\n */\nexport interface UiNotesQueue {\n /**\n * The saved changes that belong to one notes list, oldest first. `listPath` is the list URL (`<base>/notes/contact/5` or `<base><basePath>`;\n * an `add` is a POST to exactly this path) and `itemPrefix` the URL of a single note up to its id (`<base>/notes/` or `<base><basePath>/`; an\n * `edit` is a PUT and a `delete` a DELETE to `<itemPrefix><noteId>`). Origin and query are ignored when comparing.\n */\n queuedFor(listPath: string, itemPrefix: string): readonly QueuedNote[];\n /** True while the browser is offline or the server cannot be reached: a failed load is then expected and shows no error toast. */\n readonly offline: () => boolean;\n /**\n * True when the saved change left the list because the USER discarded it. Any other departure (the change was delivered, or the session ended) makes\n * `ui-notes` reload the list and keep showing that change until the answer arrives, so a delivered note never flashes away or shows stale text.\n */\n wasDiscarded(rowId: string): boolean;\n}\n\n/** Optional provider of queued notes. Provided automatically by `provideOfflineSupport` from `@forgeroute/ui/offline`; absent = `ui-notes` is unchanged. */\nexport const UI_NOTES_QUEUE = new InjectionToken<UiNotesQueue>('UI_NOTES_QUEUE');\n","import { DOCUMENT } from '@angular/common';\nimport {\n EnvironmentProviders, Injectable, InjectionToken, OnDestroy, Signal, computed, inject, makeEnvironmentProviders, provideAppInitializer, signal,\n} from '@angular/core';\nimport { UiLabelDictionary, UiLabelsService } from './ui-labels';\n\n/** The switcher value (and `choice()` answer) meaning \"no manual choice: follow the browser / the embedding page\". */\nexport const UI_LANGUAGE_AUTO = 'auto';\n\n/**\n * Language selection for the whole app, in a few lines. Everything is optional: with no configuration the library offers English and Spanish\n * (English by default), detects the visitor's language automatically, remembers a manual pick, and lets the visitor change it with `<ui-language-switcher />`.\n *\n * provideUiLanguage() // en + es, automatic\n * provideUiLanguage({ onApplied: lang => loadMyOwnDictionary(lang) }) // + the app loads ITS texts before the language is announced\n */\nexport interface UiLanguageConfig {\n /** Supported language codes (default `['en', 'es']`). The first one is NOT assumed to be the default: see `defaultLanguage`. */\n readonly languages?: readonly string[];\n /** The language used when nothing else decides, and the fallback when a dictionary cannot be loaded (default `'en'`). Must be one of `languages`. */\n readonly defaultLanguage?: string;\n /** localStorage key of the visitor's MANUAL choice (default `'ui-language'`). */\n readonly storageKey?: string;\n /** Address parameter that sets the language when nothing was chosen manually: `?lang=es` (default `'lang'`). */\n readonly queryParam?: string;\n /** `type` of the message an embedding page posts to its iframe: `{ type: 'ui-language', lang: 'es' }` (default `'ui-language'`). */\n readonly messageType?: string;\n /** Name of each language in its own language (endonym) for the switcher. Default: a built-in table (en, es, fr, de, pt, it, nl, pl, tr, ar, zh, ja, ko, ru), then `Intl.DisplayNames`, then the code. */\n readonly languageNames?: Readonly<Record<string, string>>;\n /** BCP 47 locale of dates and numbers per language. A language without an entry uses the `i18n.locale` marker of its dictionary (`en-US` / `es-US` for the built-in ones). */\n readonly locales?: Readonly<Record<string, string>>;\n /**\n * Loader of the library texts per language: a dynamic import, an HttpClient call or a static object. Overrides the built-in dictionary of that language\n * (English and Spanish are built in); a language with neither shows the library's built-in English text.\n */\n readonly dictionaries?: Readonly<Record<string, () => Promise<UiLabelDictionary>>>;\n /** `false` = never read or write browser storage (useful in an iframe: the page follows its embedding page / the browser). Default `true`. */\n readonly persist?: boolean;\n /** `false` = ignore messages from an embedding page. Default `true`. */\n readonly trackEmbeddingParent?: boolean;\n /**\n * Awaited while a language is applied, BEFORE `lang()` announces it: the place for the app to load its OWN dictionary (e.g. Transloco's) so no key flashes.\n * A rejection is swallowed (it never blocks the app).\n */\n readonly onApplied?: (lang: string) => void | Promise<void>;\n /** `false` = do not register the app initializer; call `UiLanguageService.init()` yourself. Default `true`. */\n readonly initialize?: boolean;\n /**\n * Longest time, in milliseconds, a dictionary loader or `onApplied` may take (default 15000; 0 = wait forever). A loader that takes longer counts as a failed load\n * (the library stays in the default language and `degraded()` turns true); an `onApplied` that takes longer is given up on. So a hung request can never hold the app initializer forever.\n */\n readonly loadTimeoutMs?: number;\n /** Origin(s) a parent message must come from (`event.origin`, e.g. `'https://www.example.com'`). Default: any origin. */\n readonly parentOrigin?: string | readonly string[];\n}\n\n/** Holds the configuration given to `provideUiLanguage()`. */\nexport const UI_LANGUAGE_CONFIG = new InjectionToken<UiLanguageConfig>('UI_LANGUAGE_CONFIG');\n\n/**\n * Gives the window that embeds this page (iframe parent), or null when the page is not embedded. Specs provide their own to simulate an embedding page.\n * It is a getter, not the Window itself: Angular's injector reads `ngOnDestroy` on every value it creates, and on a cross-origin parent window that read\n * throws a SecurityError (the page then fails to start on a third-party site).\n */\nexport const EMBEDDING_PARENT = new InjectionToken<() => Window | null>('EMBEDDING_PARENT', {\n providedIn: 'root',\n factory: () => {\n const doc = inject(DOCUMENT);\n return () => {\n const view = doc.defaultView;\n return view && view.parent && view.parent !== view ? view.parent : null;\n };\n },\n});\n\n/** Each language written in its own language, for the languages most apps offer. Anything else comes from `Intl.DisplayNames`. */\nconst BUILT_IN_ENDONYMS: Readonly<Record<string, string>> = {\n en: 'English', es: 'Español', fr: 'Français', de: 'Deutsch', pt: 'Português', it: 'Italiano', nl: 'Nederlands', pl: 'Polski',\n tr: 'Türkçe', ar: 'العربية', zh: '中文', ja: '日本語', ko: '한국어', ru: 'Русский',\n};\n\n/** Dictionaries shipped inside the library. Dynamic imports, so a bundler puts each in its own lazy chunk: an app pays for Spanish only when Spanish is used. */\nconst BUILT_IN_LOADERS: ReadonlyMap<string, () => Promise<UiLabelDictionary>> = new Map([\n ['es', () => import('./ui-labels.es').then(m => m.UI_LABELS_ES as UiLabelDictionary)],\n]);\n\nconst normalizeTag = (tag: string): string => tag.trim().toLowerCase().replace(/_/g, '-');\nconst baseOf = (tag: string): string => normalizeTag(tag).split('-')[0];\n\n/** The built-in dictionary loader of a language code: the exact code first, then its base language (es-MX and es_CO use the Spanish one). */\nconst builtInLoader = (lang: string): (() => Promise<UiLabelDictionary>) | undefined => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));\n\n/**\n * The library's own dictionary of a built-in language, loaded on demand (a separate lazy chunk): `{}` for English (the built-in texts), the Spanish\n * dictionary for 'es' (also 'ES', 'es-MX', 'es_CO'), `null` for any other code (no built-in dictionary).\n */\nexport async function loadUiLabels(lang: string): Promise<UiLabelDictionary | null> {\n if (baseOf(lang) === 'en') return {};\n const loader = builtInLoader(lang);\n return loader ? loader() : null;\n}\n\n/** The configured code a BCP 47 tag or bare code ('es-MX', 'ES', 'es_CO') stands for, or null. An exact match wins, then the same base language. */\nfunction matchLanguage(languages: readonly string[], tag: unknown): string | null {\n if (typeof tag !== 'string' || tag.trim() === '') return null;\n const wanted = normalizeTag(tag);\n return languages.find(l => normalizeTag(l) === wanted) ?? languages.find(l => baseOf(l) === baseOf(wanted)) ?? null;\n}\n\ninterface ResolvedUiLanguageConfig {\n languages: readonly string[]; defaultLanguage: string; storageKey: string; queryParam: string; messageType: string;\n languageNames: Readonly<Record<string, string>>; locales: Readonly<Record<string, string>>;\n dictionaries: Readonly<Record<string, () => Promise<UiLabelDictionary>>>;\n persist: boolean; trackEmbeddingParent: boolean; onApplied: ((lang: string) => void | Promise<void>) | undefined;\n loadTimeoutMs: number; parentOrigins: readonly string[] | null;\n}\n\nfunction resolveConfig(config: UiLanguageConfig): ResolvedUiLanguageConfig {\n const languages = config.languages ?? ['en', 'es'];\n if (languages.length === 0) throw new Error('provideUiLanguage: `languages` must list at least one language code.');\n if (languages.some(l => typeof l !== 'string' || l.trim() === '')) throw new Error('provideUiLanguage: `languages` must hold non-empty language codes.');\n const defaultLanguage = config.defaultLanguage ?? 'en';\n if (!languages.includes(defaultLanguage)) {\n throw new Error(`provideUiLanguage: \\`defaultLanguage\\` \"${defaultLanguage}\" is not one of \\`languages\\` (${languages.join(', ')}).`);\n }\n return {\n languages, defaultLanguage,\n storageKey: config.storageKey ?? 'ui-language',\n queryParam: config.queryParam ?? 'lang',\n messageType: config.messageType ?? 'ui-language',\n languageNames: config.languageNames ?? {},\n locales: config.locales ?? {},\n dictionaries: config.dictionaries ?? {},\n persist: config.persist ?? true,\n trackEmbeddingParent: config.trackEmbeddingParent ?? true,\n onApplied: config.onApplied,\n loadTimeoutMs: config.loadTimeoutMs ?? 15000,\n parentOrigins: config.parentOrigin === undefined ? null : typeof config.parentOrigin === 'string' ? [config.parentOrigin] : config.parentOrigin,\n };\n}\n\n/** Registers the language service with its configuration (all optional) and, unless `initialize: false`, an app initializer that waits for the first language to be applied. */\nexport function provideUiLanguage(config: UiLanguageConfig = {}): EnvironmentProviders {\n resolveConfig(config); // a wrong configuration fails here, with a clear message, not on first use\n return makeEnvironmentProviders([\n { provide: UI_LANGUAGE_CONFIG, useValue: config },\n ...(config.initialize === false ? [] : [provideAppInitializer(() => inject(UiLanguageService).init())]),\n ]);\n}\n\n/**\n * The one place that knows the active language.\n *\n * AUTOMATIC by default, and the visitor can always choose:\n * 1. the visitor's MANUAL choice (the switcher; the only thing that is saved in the browser) always wins;\n * 2. otherwise it is detected, first match wins: a message from the embedding page (iframes, live), `?lang=` in the address, the browser's whole\n * language preference list (`navigator.languages`; regional variants map to their language), then `defaultLanguage`.\n * An automatic result is never saved, so it keeps following the browser / the embedding page; `setAutomatic()` clears a manual choice. Applying a language\n * loads its dictionary, hands it to `UiLabelsService` (texts + dates/numbers), runs `onApplied`, then announces it in `lang()` and `<html lang>`.\n *\n * To follow it from the app's own i18n (Transloco): `effect(() => transloco.setActiveLang(language.lang()))`, and load that library's dictionary in `onApplied`.\n */\n@Injectable({ providedIn: 'root' })\nexport class UiLanguageService implements OnDestroy {\n private readonly config = (() => {\n const given = inject(UI_LANGUAGE_CONFIG, { optional: true });\n if (!given) throw new Error('UiLanguageService: language selection is not configured. Add provideUiLanguage() to the application providers.');\n return resolveConfig(given);\n })();\n private readonly doc = inject(DOCUMENT);\n private readonly uiLabels = inject(UiLabelsService);\n private readonly embeddingParent = inject(EMBEDDING_PARENT);\n\n private newest = 0;\n /** The language most recently asked for (may still be loading); `lang()` only changes once it is ready. */\n private target: string | null = null;\n private current: Promise<void> = Promise.resolve();\n private initPromise: Promise<void> | null = null;\n private destroyed = false;\n /** True while the library locale in use was set by this service (so only then may it be cleared again; an app's own `setLocale()` is left alone). */\n private localeSetByService = false;\n /** The latest valid language an embedding parent asked for; used before `?lang=` and the browser list whenever no manual choice exists. */\n private parentLang: string | null = null;\n private readonly _lang = signal<string>(this.config.defaultLanguage);\n /**\n * The language in use, announced after its dictionaries are loaded. If the library's dictionary for it could not be loaded, this is still the REQUESTED\n * language while the library texts stay in the default language: read `degraded()` to tell.\n */\n readonly lang: Signal<string> = this._lang.asReadonly();\n private readonly _degraded = signal(false);\n /** `true` after the library dictionary of the last applied language failed to load (or timed out): the library texts and locale are those of the default language. */\n readonly degraded: Signal<boolean> = this._degraded.asReadonly();\n private readonly _manual = signal<string | null>(null);\n /** What the visitor picked: a language code, or `'auto'` when nothing was chosen manually. */\n readonly choice: Signal<string> = computed(() => this._manual() ?? UI_LANGUAGE_AUTO);\n /** BCP 47 locale of dates and numbers in the library right now (from `locales`, else the dictionary's `i18n.locale` marker). */\n readonly locale: Signal<string> = computed(() => this.uiLabels.locale());\n /** The supported language codes. */\n readonly languages: Signal<readonly string[]> = signal(this.config.languages).asReadonly();\n /** Each supported language written in its own language. */\n readonly names: Signal<Readonly<Record<string, string>>> = signal(this.buildNames()).asReadonly();\n\n private messageListener: ((e: MessageEvent) => void) | null = null;\n\n /** Called once at startup (the app initializer): resolves after the first language is applied, so no text flashes. Calling it again returns the same work. */\n init(): Promise<void> {\n return this.initPromise ??= this.start();\n }\n\n private async start(): Promise<void> {\n const manual = this.savedChoice();\n this._manual.set(manual);\n // listen BEFORE the first load, so a message that arrives while it runs is not lost\n this.listenToEmbeddingPage();\n await this.apply(manual ?? this.detect());\n // a message may have started a newer change meanwhile: the app starts once the newest one is announced\n let waited: Promise<void>;\n do { waited = this.current; await waited; } while (waited !== this.current);\n }\n\n /** A MANUAL choice (the switcher): applied now and saved in this browser (unless `persist` is false). A code that is not supported becomes `defaultLanguage`. */\n async setLanguage(code: string): Promise<void> {\n const next = matchLanguage(this.config.languages, code) ?? this.config.defaultLanguage;\n this._manual.set(next);\n this.store(next);\n await this.apply(next);\n }\n\n /** Back to automatic: forgets a manual choice and follows the embedding page / `?lang=` / the browser again. */\n async setAutomatic(): Promise<void> {\n this._manual.set(null);\n this.store(null);\n await this.apply(this.detect());\n }\n\n ngOnDestroy(): void {\n this.destroyed = true;\n this.newest++; // a change still loading must not touch the library after the service is gone\n const view = this.doc.defaultView;\n if (view && this.messageListener) view.removeEventListener('message', this.messageListener);\n this.messageListener = null;\n }\n\n private apply(next: string): Promise<void> {\n const work = this.run(next);\n this.current = work;\n return work;\n }\n\n private async run(next: string): Promise<void> {\n const mine = ++this.newest;\n this.target = next;\n const { defaultLanguage, locales } = this.config;\n // A dictionary that fails to load (rejects, throws, times out) must never stop the app: the library then shows the default language (texts AND locale).\n let dictionary: UiLabelDictionary = {};\n let locale: string | null;\n let failed = false;\n try {\n dictionary = await this.withTimeout(this.loadDictionary(next));\n locale = locales[next] ?? null;\n } catch {\n failed = true;\n if (next !== defaultLanguage) {\n try { dictionary = await this.withTimeout(this.loadDictionary(defaultLanguage)); } catch { dictionary = {}; }\n }\n locale = locales[defaultLanguage] ?? null;\n }\n if (mine !== this.newest) return; // a newer change started while this one was loading: only the newest applies\n this.uiLabels.setLabels(dictionary);\n this.applyLocale(locale);\n this._degraded.set(failed);\n try { await this.withTimeout((async () => this.config.onApplied?.(next))()); } catch { /* the app's own dictionary failed or hung: never block the app */ }\n if (mine !== this.newest) return;\n this._lang.set(next);\n this.doc.documentElement.lang = next;\n }\n\n /** The configured locale of the language, or (no entry) the dictionary's marker; an explicit locale the APP set itself is never cleared. */\n private applyLocale(locale: string | null): void {\n if (locale !== null) {\n this.uiLabels.setLocale(locale);\n this.localeSetByService = true;\n } else if (this.localeSetByService) {\n this.uiLabels.setLocale(null);\n this.localeSetByService = false;\n }\n }\n\n /** The dictionary of a language: the app's loader, else the built-in one; none = the library's built-in English text (empty dictionary). A throwing loader is a failed load. */\n private async loadDictionary(lang: string): Promise<UiLabelDictionary> {\n const loader = this.config.dictionaries[lang] ?? builtInLoader(lang);\n return loader ? await loader() : {};\n }\n\n private withTimeout<T>(work: Promise<T>): Promise<T> {\n const ms = this.config.loadTimeoutMs;\n if (!(ms > 0)) return work;\n return new Promise<T>((resolve, reject) => {\n const timer = setTimeout(() => reject(new Error('timeout')), ms);\n work.then(value => { clearTimeout(timer); resolve(value); }, error => { clearTimeout(timer); reject(error); });\n });\n }\n\n private store(value: string | null): void {\n if (!this.config.persist) return;\n try {\n if (value === null) localStorage.removeItem(this.config.storageKey);\n else localStorage.setItem(this.config.storageKey, value);\n } catch { /* private mode / blocked storage: the choice just is not remembered */ }\n }\n\n private savedChoice(): string | null {\n if (!this.config.persist) return null;\n try { return matchLanguage(this.config.languages, localStorage.getItem(this.config.storageKey)); } catch { return null; }\n }\n\n /** Automatic detection (no manual choice): the embedding page's language, `?lang=`, the browser's whole preference list, then the default language. */\n private detect(): string {\n if (this.parentLang) return this.parentLang;\n const { languages, defaultLanguage, queryParam } = this.config;\n const view = this.doc.defaultView;\n const fromAddress = matchLanguage(languages, new URLSearchParams(view?.location?.search ?? '').get(queryParam));\n if (fromAddress) return fromAddress;\n const nav = view?.navigator;\n const preferred = nav?.languages?.length ? nav.languages : [nav?.language ?? ''];\n for (const tag of preferred) {\n const match = matchLanguage(languages, tag);\n if (match) return match;\n }\n return defaultLanguage;\n }\n\n /**\n * An embedded page follows its embedding page: `postMessage({ type: 'ui-language', lang }, '*')` from the parent window sets the language (live, no reload),\n * unless the visitor chose manually. Only the parent window is listened to (and, with `parentOrigin`, only that origin), and only a supported language counts.\n * The latest valid parent language is remembered, so `setAutomatic()` keeps following the parent.\n */\n private listenToEmbeddingPage(): void {\n const view = this.doc.defaultView;\n const parent = this.embeddingParent();\n if (!this.config.trackEmbeddingParent || !view || !parent || this.messageListener || this.destroyed) return;\n this.messageListener = (e: MessageEvent) => {\n if (e.source !== parent) return;\n const origins = this.config.parentOrigins;\n if (origins && !origins.includes(e.origin)) return;\n const data = e.data as { type?: unknown; lang?: unknown } | null;\n if (!data || data.type !== this.config.messageType) return;\n const lang = matchLanguage(this.config.languages, data.lang);\n if (!lang) return;\n this.parentLang = lang;\n if (this._manual() === null && lang !== (this.target ?? this._lang())) void this.apply(lang);\n };\n view.addEventListener('message', this.messageListener);\n }\n\n private buildNames(): Record<string, string> {\n const names: Record<string, string> = {};\n for (const code of this.config.languages) {\n names[code] = this.config.languageNames[code] ?? BUILT_IN_ENDONYMS[normalizeTag(code)] ?? BUILT_IN_ENDONYMS[baseOf(code)] ?? intlName(code) ?? code;\n }\n return names;\n }\n}\n\n/** The language's name in its own language from the browser's `Intl.DisplayNames`, or undefined when it does not know the code. */\nfunction intlName(code: string): string | undefined {\n try {\n return new Intl.DisplayNames([code], { type: 'language', fallback: 'none' }).of(code) || undefined;\n } catch { return undefined; }\n}\n","import {\n EnvironmentInjector, EnvironmentProviders, Injectable, InjectionToken, OnDestroy, Provider, Signal, WritableSignal, computed, effect, inject, isDevMode, makeEnvironmentProviders, signal, untracked,\n} from '@angular/core';\nimport { UiLabelsService } from './ui-labels';\nimport { UI_LANGUAGE_CONFIG, UiLanguageService } from './ui-language';\n\n/**\n * Module labels: English + Spanish texts for a module package (@forgeroute/communications, accounting, marketing ...) that follow the app's language with\n * the SAME mechanism the library uses: the language comes from `UiLanguageService` (switcher, `?lang=`, postMessage ...), English is built in, the Spanish\n * dictionary is a lazy chunk downloaded the first time Spanish is active, `{{ name }}` placeholders, `_one` / `_other` plurals, and the library locale\n * for numbers and dates. See docs/module-labels.md.\n */\n\nexport type ModuleLabelParams = Readonly<Record<string, string | number>>;\n\n/** The plural base names of a dictionary: every key written `<base>_one` (its `<base>_other` pair is required by `assertModuleLabelParity`). */\nexport type ModuleLabelPluralBase<K extends string> = K extends `${infer B}_one` ? B : never;\n\nexport interface ModuleLabelsOptions<K extends string> {\n /** Unique name of the module ('communications'); overrides and the test helper address the module by it. */\n namespace: string;\n /** The English texts: the key set of the module, always available, no download. */\n en: Readonly<Record<K, string>>;\n /** Loads the Spanish texts, written as a dynamic import so a bundler puts them in a lazy chunk: `() => import('./labels.es').then(m => m.ES)`. */\n es?: () => Promise<Readonly<Record<K, string>>>;\n}\n\n/** What `createModuleLabels` returns: plain data, safe to create at module level (no injection context needed). Hand it to `injectModuleLabels`. */\nexport interface ModuleLabelsHandle<K extends string> {\n readonly namespace: string;\n readonly en: Readonly<Record<K, string>>;\n readonly es?: () => Promise<Readonly<Record<K, string>>>;\n}\n\nexport function createModuleLabels<K extends string>(options: ModuleLabelsOptions<K>): ModuleLabelsHandle<K> {\n if (typeof options.namespace !== 'string' || options.namespace.trim() === '') throw new Error('createModuleLabels: `namespace` must be a non-empty string.');\n return Object.freeze({ namespace: options.namespace, en: options.en, es: options.es });\n}\n\n/** The labels of one module in the current injection context. Every member reads signals, so a template or `computed` that calls it follows a language change. */\nexport interface ModuleLabels<K extends string> {\n /** The text of `key` in the active language (English for a key the language lacks or while its chunk loads), `{{ name }}` filled from `params`. */\n t(key: K, params?: ModuleLabelParams): string;\n /** A plural text: `<base>_one` when `count === 1`, else `<base>_other`; `count` is available as `{{ count }}` (an own `count` param wins). */\n tn(base: ModuleLabelPluralBase<K>, count: number, params?: ModuleLabelParams): string;\n /** `true` when the active language needs no chunk (English, a language the module has no texts for) or its chunk finished loading (or failed: English is shown). */\n readonly ready: Signal<boolean>;\n /** The active language code of the app (base language: 'es-MX' reads 'es'). */\n readonly language: Signal<string>;\n /** The library locale (dates / numbers) that goes with the language. */\n readonly locale: Signal<string>;\n formatDate(value: Date | string | number | null | undefined, format?: string, timeZone?: string): string;\n formatNumber(value: number | null | undefined, options?: Intl.NumberFormatOptions): string;\n formatCurrency(value: number | null | undefined, currency?: string, options?: Intl.NumberFormatOptions): string;\n}\n\n/** Fills `{{ name }}` placeholders exactly like the library; a placeholder with no value stays visible. */\nfunction interpolate(text: string, params?: ModuleLabelParams): string {\n if (!params) return text;\n return text.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g, (whole, name: string) => (name in params ? String(params[name]) : whole));\n}\n\n/** The sorted, de-duplicated placeholder names of a text. */\nfunction placeholdersOf(text: string): string[] {\n return [...new Set([...text.matchAll(/\\{\\{\\s*(\\w+)\\s*\\}\\}/g)].map(m => m[1]))].sort();\n}\n\nconst baseLanguage = (tag: string): string => tag.trim().toLowerCase().replace(/_/g, '-').split('-')[0];\n\n// ---- host overrides ----\n\nexport interface ModuleLabelOverrides<K extends string = string> {\n en?: Partial<Readonly<Record<K, string>>>;\n es?: Partial<Readonly<Record<K, string>>>;\n}\n/**\n * Where the overrides of one `provideModuleLabelOverrides` call come from: a plain object (read once, as always) or a function - typically a `computed` / signal\n * - that returns the overrides and is called on EVERY text lookup, so the texts follow runtime state (the signed-in company's user type ...) and an OnPush\n * template that reads them re-renders when a signal the function reads changes. A function that returns null / undefined / a non-object contributes nothing.\n */\nexport type ModuleLabelOverridesSource<K extends string = string> = ModuleLabelOverrides<K> | (() => ModuleLabelOverrides<K> | null | undefined);\ninterface CleanOverrides { readonly en: Record<string, string>; readonly es: Record<string, string> }\ninterface OverrideEntry { namespace: string; overrides: ModuleLabelOverridesSource }\nconst MODULE_LABEL_OVERRIDES = new InjectionToken<OverrideEntry[]>('MODULE_LABEL_OVERRIDES');\n\n/**\n * Lets the host app change single texts of a module, with the semantics of `UiLabelsService.setLabels`: a key the module does not have is ignored, a blank text\n * is ignored (the module's own text stays) and the placeholders must be exactly those of the module's English text of that key (otherwise ignored).\n * Several calls for one namespace merge; the later one wins.\n * `overrides` may also be a function / signal returning the overrides (see {@link ModuleLabelOverridesSource}): it is evaluated on every lookup with the same\n * rules, so the texts follow runtime state. A static object behaves exactly as before.\n */\nexport function provideModuleLabelOverrides<K extends string = string>(namespace: string | Pick<ModuleLabelsHandle<K>, 'namespace'>, overrides: ModuleLabelOverridesSource<K>): EnvironmentProviders {\n const ns = typeof namespace === 'string' ? namespace : namespace.namespace;\n return makeEnvironmentProviders([{ provide: MODULE_LABEL_OVERRIDES, multi: true, useValue: { namespace: ns, overrides } satisfies OverrideEntry }]);\n}\n\n// ---- language source and loaders (replaced by the test helper) ----\n\n/** Where the language comes from. Default: `UiLanguageService.lang()` when `provideUiLanguage` is set up, else the base language of the library locale. */\nconst MODULE_LABELS_LANGUAGE = new InjectionToken<Signal<string>>('MODULE_LABELS_LANGUAGE');\n/** Replaces the Spanish loader of a namespace (the test helper). */\nconst MODULE_LABELS_LOADERS = new InjectionToken<Readonly<Record<string, () => Promise<Readonly<Record<string, string>>>>>>('MODULE_LABELS_LOADERS');\n\ntype Status = 'idle' | 'loading' | 'done' | 'failed';\ninterface ModuleState {\n readonly handle: ModuleLabelsHandle<string>;\n readonly status: WritableSignal<Status>;\n readonly spanish: WritableSignal<Readonly<Record<string, string>> | null>;\n /** The merged overrides of the static entries; the whole answer when `sources` is null. */\n readonly overrides: { en: Record<string, string>; es: Record<string, string> };\n /** Only set when at least one entry is a function: every entry of the namespace in registration order, merged afresh on each lookup. */\n readonly sources: readonly (CleanOverrides | (() => ModuleLabelOverrides | null | undefined))[] | null;\n /** Set once a function entry threw and the dev warning was shown. */\n warned?: boolean;\n}\n\n/** Keeps the known keys with a non-blank string; for the placeholder rule `strictPlaceholders` also drops a text whose placeholders differ from the English text. */\nfunction clean(handle: ModuleLabelsHandle<string>, source: unknown, strictPlaceholders: boolean): Record<string, string> {\n const out: Record<string, string> = {};\n if (!source || typeof source !== 'object') return out;\n for (const [key, value] of Object.entries(source)) {\n if (!(key in handle.en) || typeof value !== 'string' || value.trim() === '') continue;\n if (strictPlaceholders && placeholdersOf(value).join('|') !== placeholdersOf(handle.en[key]).join('|')) continue;\n out[key] = value;\n }\n return out;\n}\n\n/** Root-level store of the module labels of one application: language, lazily loaded Spanish dictionaries (once per module), host overrides. */\n@Injectable({ providedIn: 'root' })\nexport class ModuleLabelsRegistry implements OnDestroy {\n private readonly injector = inject(EnvironmentInjector);\n private readonly labels = inject(UiLabelsService);\n private readonly loaders = inject(MODULE_LABELS_LOADERS, { optional: true });\n private readonly entries = inject(MODULE_LABEL_OVERRIDES, { optional: true }) ?? [];\n private readonly states = new Map<ModuleLabelsHandle<string>, ModuleState>();\n private destroyed = false;\n\n /** The app's language (base code). */\n readonly language: Signal<string> = (() => {\n const given = inject(MODULE_LABELS_LANGUAGE, { optional: true });\n if (given) return computed(() => baseLanguage(given()));\n if (inject(UI_LANGUAGE_CONFIG, { optional: true })) {\n const service = inject(UiLanguageService);\n return computed(() => baseLanguage(service.lang()));\n }\n return computed(() => baseLanguage(this.labels.locale()));\n })();\n\n ngOnDestroy(): void { this.destroyed = true; }\n\n stateFor(handle: ModuleLabelsHandle<string>): ModuleState {\n let state = this.states.get(handle);\n if (state) return state;\n const overrides = { en: {} as Record<string, string>, es: {} as Record<string, string> };\n const own = this.entries.filter(entry => entry.namespace === handle.namespace).map(entry => entry.overrides);\n for (const source of own) {\n if (typeof source === 'function') continue;\n Object.assign(overrides.en, clean(handle, source.en, true));\n Object.assign(overrides.es, clean(handle, source.es, true));\n }\n // Static objects are cleaned ONCE here (read-once semantics, also next to a function entry); only function entries run again on each lookup.\n const sources = own.some(source => typeof source === 'function')\n ? own.map(source => (typeof source === 'function' ? source : { en: clean(handle, source.en, true), es: clean(handle, source.es, true) }))\n : null;\n state = { handle, status: signal<Status>('idle'), spanish: signal(null), overrides, sources };\n this.states.set(handle, state);\n const made = state;\n effect(() => { if (this.language() === 'es') untracked(() => this.load(made)); }, { injector: this.injector });\n untracked(() => { if (this.language() === 'es') this.load(made); }); // do not wait for the first effect run\n return state;\n }\n\n /** Downloads the Spanish texts once per module (a failed download is tried again the next time Spanish becomes active). */\n private load(state: ModuleState): void {\n const status = state.status();\n if (status === 'loading' || status === 'done') return;\n const loader = this.loaders?.[state.handle.namespace] ?? state.handle.es;\n if (!loader) { state.status.set('done'); return; }\n state.status.set('loading');\n loader().then(\n dictionary => { if (this.destroyed) return; state.spanish.set(clean(state.handle, dictionary, false)); state.status.set('done'); },\n () => { if (!this.destroyed) state.status.set('failed'); },\n );\n }\n\n /** The overrides in force right now: the precomputed static merge, or (a function / signal entry exists) a fresh merge of every entry in order. A throwing function counts as no overrides. */\n private currentOverrides(state: ModuleState): { en: Record<string, string>; es: Record<string, string> } {\n if (!state.sources) return state.overrides;\n const merged = { en: {} as Record<string, string>, es: {} as Record<string, string> };\n for (const source of state.sources) {\n if (typeof source !== 'function') { Object.assign(merged.en, source.en); Object.assign(merged.es, source.es); continue; }\n let value: ModuleLabelOverrides | null | undefined;\n try { value = source(); } catch (error) {\n value = undefined;\n // Never throws (a label lookup must not break a page), but a silent failure is hard to debug: say so once, in development only.\n if (!state.warned && isDevMode()) {\n state.warned = true;\n console.warn(`[module labels] The override function for \"${state.handle.namespace}\" threw and was ignored. It runs on every text lookup, outside any injection context: build the function (or a computed) where inject() works and capture the service there; do not call inject() inside it.`, error);\n }\n }\n if (!value || typeof value !== 'object') continue;\n Object.assign(merged.en, clean(state.handle, value.en, true));\n Object.assign(merged.es, clean(state.handle, value.es, true));\n }\n return merged;\n }\n\n create<K extends string>(handle: ModuleLabelsHandle<K>): ModuleLabels<K> {\n const state = this.stateFor(handle as ModuleLabelsHandle<string>);\n const language = this.language;\n const text = (key: string): string => {\n const lang = language();\n const overrides = this.currentOverrides(state);\n const spanish = lang === 'es' ? (overrides.es[key] ?? state.spanish()?.[key]) : undefined;\n return spanish ?? overrides.en[key] ?? state.handle.en[key] ?? key;\n };\n const labels = this.labels;\n return {\n t: (key, params) => interpolate(text(key), params),\n tn: (base, count, params) => interpolate(text(`${base}_${count === 1 ? 'one' : 'other'}`), { count, ...params }),\n ready: computed(() => {\n if (language() !== 'es') return true;\n const status = state.status();\n return status === 'done' || status === 'failed';\n }),\n language,\n locale: labels.locale,\n formatDate: (value, format, timeZone) => labels.formatDate(value, format, timeZone),\n formatNumber: (value, options) => labels.formatNumber(value, options),\n formatCurrency: (value, currency, options) => labels.formatCurrency(value, currency, options),\n };\n }\n}\n\n/** The labels of a module for the current injection context (a component, directive or service field). Call it once, as a field initializer. */\nexport function injectModuleLabels<K extends string>(handle: ModuleLabelsHandle<K>): ModuleLabels<K> {\n return inject(ModuleLabelsRegistry).create(handle);\n}\n\n// ---- spec helpers ----\n\n/**\n * For a module package's specs: throws one Error listing every problem when the Spanish dictionary does not match the English one - a key missing or extra,\n * a blank text, different `{{ placeholders }}`, a plural pair (`x_one` / `x_other`) incomplete in either language.\n */\nexport function assertModuleLabelParity(en: Readonly<Record<string, string>>, es: Readonly<Record<string, string>>): void {\n const problems: string[] = [];\n const enKeys = Object.keys(en);\n const esKeys = Object.keys(es);\n for (const key of enKeys) if (!(key in es)) problems.push(`missing in es: ${key}`);\n for (const key of esKeys) if (!(key in en)) problems.push(`extra in es: ${key}`);\n for (const key of enKeys) {\n if (!(key in es)) continue;\n if (typeof es[key] !== 'string' || es[key].trim() === '') { problems.push(`blank in es: ${key}`); continue; }\n const a = placeholdersOf(en[key]).join(', ');\n const b = placeholdersOf(es[key]).join(', ');\n if (a !== b) problems.push(`placeholders differ for ${key}: en {${a}} vs es {${b}}`);\n }\n for (const [name, dictionary] of [['en', en], ['es', es]] as const) {\n for (const key of Object.keys(dictionary)) {\n if (key.endsWith('_one') && !((key.slice(0, -4) + '_other') in dictionary)) problems.push(`plural pair incomplete in ${name}: ${key} has no _other`);\n if (key.endsWith('_other') && !((key.slice(0, -6) + '_one') in dictionary)) problems.push(`plural pair incomplete in ${name}: ${key} has no _one`);\n }\n }\n if (problems.length) throw new Error(`Module label parity check failed:\\n- ${problems.join('\\n- ')}`);\n}\n\nexport interface ModuleLabelsTestingOptions {\n /** Starting language (default 'en'). */\n language?: string;\n /** In-memory Spanish texts by namespace; replaces the module's own lazy loader so no chunk is requested. A function may return a rejected promise to simulate a failed download. */\n es?: Readonly<Record<string, Readonly<Record<string, string>> | (() => Promise<Readonly<Record<string, string>>>)>>;\n}\nexport interface ModuleLabelsTesting {\n /** Add to `TestBed.configureTestingModule({ providers })`. */\n readonly providers: Provider[];\n /** Change it in a spec to switch the language (then `TestBed.tick()` to let the lazy load start). */\n readonly language: WritableSignal<string>;\n /** How many times the Spanish loader of a namespace was called. */\n loadCount(namespace: string): number;\n}\n\n/** Test helper for module specs, like `provideTestI18n` in apps: a writable language and in-memory Spanish loaders (no `provideUiLanguage` needed). */\nexport function moduleLabelsTesting(options: ModuleLabelsTestingOptions = {}): ModuleLabelsTesting {\n const language = signal(options.language ?? 'en');\n const counts: Record<string, number> = {};\n const loaders: Record<string, () => Promise<Readonly<Record<string, string>>>> = {};\n for (const [namespace, source] of Object.entries(options.es ?? {})) {\n loaders[namespace] = () => {\n counts[namespace] = (counts[namespace] ?? 0) + 1;\n return typeof source === 'function' ? source() : Promise.resolve(source);\n };\n }\n return {\n providers: [{ provide: MODULE_LABELS_LANGUAGE, useValue: language.asReadonly() }, { provide: MODULE_LABELS_LOADERS, useValue: loaders }],\n language,\n loadCount: namespace => counts[namespace] ?? 0,\n };\n}\n"],"mappings":";;;;;;AAMA,MAAa,oBAAoB,IAAI,eAAiC,mBAAmB;ACEzF,MAAa,iBAAiB;AAG9B,SAAgB,WAAW,QAAiC;CAC1D,MAAM,KAAK,UAAU,GAAA,CAAI,KAAI;CAC7B,IAAI,CAAC,GAAG,OAAO;CACf,IAAI;EAAE,OAAO,KAAK,eAAe,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI;CAAgB,QAAQ;EAAE,OAAO;CAAgB;AACzH;AAEA,MAAM,eAAe,WAA4B,WAAW,WAAW,WAAW;AAGlF,MAAM,qBAAqB;AAE3B,SAAS,gBAAgB,OAAuB;CAC9C,MAAM,uBAAO,IAAI,KAAK,CAAC;CACvB,IAAI,SAAS,GAAG,QAAQ;CACxB,MAAM,aAAa,MA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