@axiom-lattice/protocols 7.4.0 → 7.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -24,15 +24,34 @@ __export(index_exports, {
24
24
  AFFINITY_MISS_CODE: () => AFFINITY_MISS_CODE,
25
25
  AGENT_AFFINITY_HEADER: () => AGENT_AFFINITY_HEADER,
26
26
  ASR_DEFAULT_KEY: () => ASR_DEFAULT_KEY,
27
+ AUTH_BRANDING_CASES: () => AUTH_BRANDING_CASES,
28
+ AUTH_BRANDING_CASE_IDS: () => AUTH_BRANDING_CASE_IDS,
29
+ AUTH_BRANDING_PRESETS: () => AUTH_BRANDING_PRESETS,
30
+ AUTH_BRANDING_PRESET_IDS: () => AUTH_BRANDING_PRESET_IDS,
31
+ AUTH_BRANDING_PRESET_RESET_FIELDS: () => AUTH_BRANDING_PRESET_RESET_FIELDS,
27
32
  AUTH_CSS_CONTRACT_PARTS: () => AUTH_CSS_CONTRACT_PARTS,
28
33
  AUTH_CSS_CONTRACT_VARIABLES: () => AUTH_CSS_CONTRACT_VARIABLES,
34
+ AUTH_FONT_FAMILIES: () => AUTH_FONT_FAMILIES,
35
+ AUTH_FONT_FAMILY_IDS: () => AUTH_FONT_FAMILY_IDS,
36
+ AUTH_SLOT_IDS: () => AUTH_SLOT_IDS,
37
+ AUTH_SLOT_REGISTRY: () => AUTH_SLOT_REGISTRY,
38
+ AUTH_SURFACE_KINDS: () => AUTH_SURFACE_KINDS,
29
39
  AgentType: () => AgentType,
30
40
  AuthError: () => AuthError,
41
+ BRANDING_ASSET_URL_KEYS: () => BRANDING_ASSET_URL_KEYS,
42
+ BRANDING_COLOR_KEYS: () => BRANDING_COLOR_KEYS,
43
+ BRANDING_CSS_KEYS: () => BRANDING_CSS_KEYS,
44
+ BRANDING_ENUM_KEYS: () => BRANDING_ENUM_KEYS,
45
+ BRANDING_INTEGER_KEYS: () => BRANDING_INTEGER_KEYS,
46
+ BRANDING_PERCENT_KEYS: () => BRANDING_PERCENT_KEYS,
47
+ BRANDING_TEXT_KEYS: () => BRANDING_TEXT_KEYS,
48
+ BRANDING_VIDEO_URL_KEYS: () => BRANDING_VIDEO_URL_KEYS,
31
49
  CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT: () => CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT,
32
50
  CHANNEL_REPLY_JOB_LIST_LIMIT_MAX: () => CHANNEL_REPLY_JOB_LIST_LIMIT_MAX,
33
51
  CHANNEL_REPLY_JOB_LIST_LIMIT_MIN: () => CHANNEL_REPLY_JOB_LIST_LIMIT_MIN,
34
52
  COLLECTION_ENTRY_BATCH_MAX: () => COLLECTION_ENTRY_BATCH_MAX,
35
53
  ChannelBindingMigrationConflictError: () => ChannelBindingMigrationConflictError,
54
+ DEFAULT_LOGIN_LAYOUT: () => DEFAULT_LOGIN_LAYOUT,
36
55
  DEFAULT_MODEL_KEY: () => DEFAULT_MODEL_KEY,
37
56
  DEFAULT_PLATFORM_BRANDING: () => DEFAULT_PLATFORM_BRANDING,
38
57
  DuplicateChannelBindingSubjectError: () => DuplicateChannelBindingSubjectError,
@@ -44,6 +63,8 @@ __export(index_exports, {
44
63
  ExternalIdentityPersistError: () => ExternalIdentityPersistError,
45
64
  InvalidProjectCapabilityBundleConfigError: () => InvalidProjectCapabilityBundleConfigError,
46
65
  LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION: () => LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION,
66
+ LOGIN_LAYOUTS: () => LOGIN_LAYOUTS,
67
+ LOGIN_LAYOUT_IDS: () => LOGIN_LAYOUT_IDS,
47
68
  LoggerType: () => LoggerType,
48
69
  MAX_CUSTOM_CSS_LENGTH: () => MAX_CUSTOM_CSS_LENGTH,
49
70
  MAX_PENDING_EXECUTION_RESULTS_LIMIT: () => MAX_PENDING_EXECUTION_RESULTS_LIMIT,
@@ -53,6 +74,10 @@ __export(index_exports, {
53
74
  OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX: () => OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX,
54
75
  OidcIdentityClaimConflictError: () => OidcIdentityClaimConflictError,
55
76
  OidcProviderConfigConflictError: () => OidcProviderConfigConflictError,
77
+ PLATFORM_BRANDING_FIELDS: () => PLATFORM_BRANDING_FIELDS,
78
+ PLATFORM_BRANDING_FIELD_GROUPS: () => PLATFORM_BRANDING_FIELD_GROUPS,
79
+ PLATFORM_BRANDING_FIELD_GROUP_ORDER: () => PLATFORM_BRANDING_FIELD_GROUP_ORDER,
80
+ PLATFORM_BRANDING_FIELD_KEYS: () => PLATFORM_BRANDING_FIELD_KEYS,
56
81
  PLATFORM_MODEL_TENANT_ID: () => PLATFORM_MODEL_TENANT_ID,
57
82
  PLATFORM_OPS_AGENT_ID: () => PLATFORM_OPS_AGENT_ID,
58
83
  PLATFORM_OPS_PROJECT_ID: () => PLATFORM_OPS_PROJECT_ID,
@@ -97,14 +122,18 @@ __export(index_exports, {
97
122
  hasTools: () => hasTools,
98
123
  interruptAnswerKeySchema: () => interruptAnswerKeySchema,
99
124
  isA2ARemoteAgentConfig: () => isA2ARemoteAgentConfig,
125
+ isAuthFontFamilyId: () => isAuthFontFamilyId,
100
126
  isDeepAgentConfig: () => isDeepAgentConfig,
101
127
  isExecutionResultEventKey: () => isExecutionResultEventKey,
128
+ isLoginLayoutId: () => isLoginLayoutId,
102
129
  isMcpUiRef: () => isMcpUiRef,
103
130
  isPersonalMcpServerConfigStore: () => isPersonalMcpServerConfigStore,
104
131
  isPlatformTenantId: () => isPlatformTenantId,
105
132
  isProjectRoomEventId: () => isProjectRoomEventId,
106
133
  isWorkflowAgentConfig: () => isWorkflowAgentConfig,
107
134
  isWorkspacePublicRoomProjectId: () => isWorkspacePublicRoomProjectId,
135
+ layoutSpecificFields: () => layoutSpecificFields,
136
+ layoutSupportsSurface: () => layoutSupportsSurface,
108
137
  normalizeAllowedPrivateHosts: () => normalizeAllowedPrivateHosts,
109
138
  normalizeBrandingHost: () => normalizeBrandingHost,
110
139
  normalizeChannelReplyJobListLimit: () => normalizeChannelReplyJobListLimit,
@@ -124,6 +153,7 @@ __export(index_exports, {
124
153
  projectRoomUserEventScope: () => projectRoomUserEventScope,
125
154
  replaceTaskBeliefState: () => replaceTaskBeliefState,
126
155
  requireProjectTaskWorkItemStore: () => requireProjectTaskWorkItemStore,
156
+ resolveLoginLayout: () => resolveLoginLayout,
127
157
  resolveRunScope: () => resolveRunScope,
128
158
  runCancelSignalSchema: () => runCancelSignalSchema,
129
159
  snapshotExactArray: () => snapshotExactArray,
@@ -1392,6 +1422,1384 @@ function observabilityDashboardElementKey(provider) {
1392
1422
  }
1393
1423
  var LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION = 3;
1394
1424
 
1425
+ // src/PlatformBrandingFields.ts
1426
+ var AUTH_SURFACE_KINDS = [
1427
+ "login",
1428
+ "register",
1429
+ "invite",
1430
+ "oidc-email",
1431
+ "tenant-select",
1432
+ "platform-admin-login"
1433
+ ];
1434
+ var LOGIN_LAYOUT_IDS = [
1435
+ "centered",
1436
+ "split-brand",
1437
+ "split-story",
1438
+ "split-showcase",
1439
+ "centered-editorial",
1440
+ "full-bleed"
1441
+ ];
1442
+ var AUTH_FONT_FAMILY_IDS = ["system", "inter", "serif", "mono"];
1443
+ var AUTH_FONT_FAMILIES = {
1444
+ system: {
1445
+ labelKey: "platformAdmin.settings.branding.font.system",
1446
+ stack: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
1447
+ },
1448
+ inter: {
1449
+ labelKey: "platformAdmin.settings.branding.font.inter",
1450
+ stack: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
1451
+ },
1452
+ serif: {
1453
+ labelKey: "platformAdmin.settings.branding.font.serif",
1454
+ stack: 'Georgia, "Times New Roman", Times, serif'
1455
+ },
1456
+ mono: {
1457
+ labelKey: "platformAdmin.settings.branding.font.mono",
1458
+ stack: '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace'
1459
+ }
1460
+ };
1461
+ var AUTH_SLOT_IDS = [
1462
+ "logo",
1463
+ "eyebrow",
1464
+ "headline",
1465
+ "description",
1466
+ "points",
1467
+ "stats",
1468
+ "quote",
1469
+ "trustLogos",
1470
+ "productShot",
1471
+ "media",
1472
+ "footerNote",
1473
+ "form"
1474
+ ];
1475
+ var PLATFORM_BRANDING_FIELDS = {
1476
+ brandName: { kind: "text", maxLength: 80 },
1477
+ logoUrl: { kind: "asset-url" },
1478
+ faviconUrl: { kind: "asset-url" },
1479
+ primaryColor: { kind: "color" },
1480
+ backgroundColor: { kind: "color" },
1481
+ loginTitle: { kind: "text", maxLength: 200 },
1482
+ loginSubtitle: { kind: "text", maxLength: 200 },
1483
+ footerNote: {
1484
+ kind: "text",
1485
+ maxLength: 160,
1486
+ layouts: ["centered", "centered-editorial", "full-bleed"]
1487
+ },
1488
+ customCss: { kind: "css", maxLength: 65536 },
1489
+ loginLayout: { kind: "enum", values: LOGIN_LAYOUT_IDS },
1490
+ cardStyle: {
1491
+ kind: "enum",
1492
+ values: ["card", "plain", "glass", "outline"]
1493
+ },
1494
+ cardPosition: {
1495
+ kind: "enum",
1496
+ values: ["center", "left", "right"],
1497
+ layouts: ["full-bleed"]
1498
+ },
1499
+ surfaceColor: { kind: "color" },
1500
+ textColor: { kind: "color" },
1501
+ textSecondaryColor: { kind: "color" },
1502
+ borderColor: { kind: "color" },
1503
+ radius: { kind: "integer", min: 0, max: 40 },
1504
+ fontFamily: { kind: "enum", values: AUTH_FONT_FAMILY_IDS },
1505
+ fieldStyle: {
1506
+ kind: "enum",
1507
+ values: ["soft", "outline", "filled", "underline", "none"]
1508
+ },
1509
+ logoSize: { kind: "integer", min: 32, max: 96 },
1510
+ titleSize: { kind: "integer", min: 18, max: 56 },
1511
+ bodySize: { kind: "integer", min: 12, max: 20 },
1512
+ pagePadding: { kind: "integer", min: 12, max: 48 },
1513
+ cardPadding: { kind: "integer", min: 16, max: 48 },
1514
+ cardWidth: { kind: "integer", min: 320, max: 560 },
1515
+ cardShadow: {
1516
+ kind: "enum",
1517
+ values: ["none", "soft", "floating", "hard"]
1518
+ },
1519
+ cardEffect: {
1520
+ kind: "enum",
1521
+ values: ["none", "gradient-border", "inner-glow"]
1522
+ },
1523
+ logoStyle: { kind: "enum", values: ["plain", "badge"] },
1524
+ formDensity: {
1525
+ kind: "enum",
1526
+ values: ["compact", "comfortable", "airy"]
1527
+ },
1528
+ ssoLayout: { kind: "enum", values: ["stack", "inline"] },
1529
+ backgroundPattern: {
1530
+ kind: "enum",
1531
+ values: ["none", "grid", "dots", "aurora"],
1532
+ layouts: ["centered", "full-bleed"]
1533
+ },
1534
+ backgroundTreatment: {
1535
+ kind: "enum",
1536
+ values: ["none", "vignette", "grain", "duotone"],
1537
+ layouts: ["centered", "full-bleed"]
1538
+ },
1539
+ imageFit: { kind: "enum", values: ["cover", "contain"] },
1540
+ imagePosition: {
1541
+ kind: "enum",
1542
+ values: ["center", "top", "bottom", "left", "right"]
1543
+ },
1544
+ imageTreatment: {
1545
+ kind: "enum",
1546
+ values: ["none", "grayscale", "duotone"]
1547
+ },
1548
+ panelPosition: {
1549
+ kind: "enum",
1550
+ values: ["left", "right"],
1551
+ layouts: ["split-brand", "split-showcase"]
1552
+ },
1553
+ panelContentAlign: {
1554
+ kind: "enum",
1555
+ values: ["left", "center"],
1556
+ layouts: ["split-brand", "split-showcase"]
1557
+ },
1558
+ panelVisual: {
1559
+ kind: "enum",
1560
+ values: ["orbit", "mesh", "waves", "aurora", "topography", "none"],
1561
+ layouts: ["split-brand", "split-showcase"]
1562
+ },
1563
+ panelTitle: {
1564
+ kind: "text",
1565
+ maxLength: 120,
1566
+ layouts: ["split-brand", "split-showcase"]
1567
+ },
1568
+ panelDescription: {
1569
+ kind: "text",
1570
+ maxLength: 240,
1571
+ layouts: ["split-brand", "split-showcase"]
1572
+ },
1573
+ panelPoint1: {
1574
+ kind: "text",
1575
+ maxLength: 60,
1576
+ layouts: ["split-brand", "split-showcase"]
1577
+ },
1578
+ panelPoint2: {
1579
+ kind: "text",
1580
+ maxLength: 60,
1581
+ layouts: ["split-brand", "split-showcase"]
1582
+ },
1583
+ panelPoint3: {
1584
+ kind: "text",
1585
+ maxLength: 60,
1586
+ layouts: ["split-brand", "split-showcase"]
1587
+ },
1588
+ panelImageUrl: { kind: "asset-url", layouts: ["split-brand"] },
1589
+ panelVideoUrl: { kind: "video-url", layouts: ["split-brand"] },
1590
+ panelProductImageUrl: {
1591
+ kind: "asset-url",
1592
+ layouts: ["split-showcase"]
1593
+ },
1594
+ panelProductImageAlt: {
1595
+ kind: "text",
1596
+ maxLength: 120,
1597
+ layouts: ["split-showcase"]
1598
+ },
1599
+ panelEyebrow: {
1600
+ kind: "text",
1601
+ maxLength: 80,
1602
+ layouts: ["split-story", "split-showcase", "centered-editorial"]
1603
+ },
1604
+ panelStat1Value: { kind: "text", maxLength: 20, layouts: ["split-story"] },
1605
+ panelStat1Label: { kind: "text", maxLength: 40, layouts: ["split-story"] },
1606
+ panelStat2Value: { kind: "text", maxLength: 20, layouts: ["split-story"] },
1607
+ panelStat2Label: { kind: "text", maxLength: 40, layouts: ["split-story"] },
1608
+ panelStat3Value: { kind: "text", maxLength: 20, layouts: ["split-story"] },
1609
+ panelStat3Label: { kind: "text", maxLength: 40, layouts: ["split-story"] },
1610
+ panelQuote: { kind: "text", maxLength: 240, layouts: ["split-story"] },
1611
+ panelQuoteAuthor: { kind: "text", maxLength: 80, layouts: ["split-story"] },
1612
+ panelQuoteRole: { kind: "text", maxLength: 80, layouts: ["split-story"] },
1613
+ panelTrustLogo1: { kind: "asset-url", layouts: ["split-story", "split-showcase", "centered-editorial"] },
1614
+ panelTrustLogo2: { kind: "asset-url", layouts: ["split-story", "split-showcase", "centered-editorial"] },
1615
+ panelTrustLogo3: { kind: "asset-url", layouts: ["split-story", "split-showcase", "centered-editorial"] },
1616
+ panelTrustLogo4: { kind: "asset-url", layouts: ["split-story", "split-showcase", "centered-editorial"] },
1617
+ backgroundImageUrl: {
1618
+ kind: "asset-url",
1619
+ layouts: ["centered", "full-bleed"]
1620
+ },
1621
+ backgroundVideoUrl: { kind: "video-url", layouts: ["full-bleed"] },
1622
+ backgroundOverlayColor: {
1623
+ kind: "color",
1624
+ layouts: ["centered", "full-bleed"]
1625
+ },
1626
+ backgroundOverlayOpacity: {
1627
+ kind: "percent",
1628
+ min: 0,
1629
+ max: 100,
1630
+ layouts: ["centered", "full-bleed"]
1631
+ }
1632
+ };
1633
+ var PLATFORM_BRANDING_FIELD_KEYS = Object.keys(
1634
+ PLATFORM_BRANDING_FIELDS
1635
+ );
1636
+ var AUTH_SLOT_REGISTRY = {
1637
+ logo: {
1638
+ fields: ["logoUrl"],
1639
+ layouts: LOGIN_LAYOUT_IDS,
1640
+ renderer: "LogoSlot",
1641
+ empty: "hide"
1642
+ },
1643
+ eyebrow: {
1644
+ fields: ["panelEyebrow"],
1645
+ layouts: ["split-story", "split-showcase", "centered-editorial"],
1646
+ renderer: "EyebrowSlot",
1647
+ empty: "hide"
1648
+ },
1649
+ headline: {
1650
+ fields: ["panelTitle", "loginTitle", "brandName"],
1651
+ layouts: LOGIN_LAYOUT_IDS,
1652
+ renderer: "HeadlineSlot",
1653
+ empty: "hide"
1654
+ },
1655
+ description: {
1656
+ fields: ["panelDescription", "loginSubtitle"],
1657
+ layouts: LOGIN_LAYOUT_IDS,
1658
+ renderer: "DescriptionSlot",
1659
+ empty: "hide"
1660
+ },
1661
+ points: {
1662
+ fields: ["panelPoint1", "panelPoint2", "panelPoint3"],
1663
+ layouts: ["split-brand", "split-story", "split-showcase"],
1664
+ renderer: "PointsSlot",
1665
+ empty: "hide"
1666
+ },
1667
+ stats: {
1668
+ fields: [
1669
+ "panelStat1Value",
1670
+ "panelStat1Label",
1671
+ "panelStat2Value",
1672
+ "panelStat2Label",
1673
+ "panelStat3Value",
1674
+ "panelStat3Label"
1675
+ ],
1676
+ layouts: ["split-story"],
1677
+ renderer: "StatsSlot",
1678
+ empty: "hide"
1679
+ },
1680
+ quote: {
1681
+ fields: ["panelQuote", "panelQuoteAuthor", "panelQuoteRole"],
1682
+ layouts: ["split-story"],
1683
+ renderer: "QuoteSlot",
1684
+ empty: "hide"
1685
+ },
1686
+ trustLogos: {
1687
+ fields: [
1688
+ "panelTrustLogo1",
1689
+ "panelTrustLogo2",
1690
+ "panelTrustLogo3",
1691
+ "panelTrustLogo4"
1692
+ ],
1693
+ layouts: ["split-story", "split-showcase", "centered-editorial"],
1694
+ renderer: "TrustLogosSlot",
1695
+ empty: "hide"
1696
+ },
1697
+ productShot: {
1698
+ fields: ["panelProductImageUrl", "panelProductImageAlt"],
1699
+ layouts: ["split-showcase"],
1700
+ renderer: "ProductShotSlot",
1701
+ empty: "hide"
1702
+ },
1703
+ media: {
1704
+ fields: [
1705
+ "panelImageUrl",
1706
+ "panelVideoUrl",
1707
+ "backgroundImageUrl",
1708
+ "backgroundVideoUrl"
1709
+ ],
1710
+ layouts: ["split-brand", "split-story", "full-bleed"],
1711
+ renderer: "MediaSlot",
1712
+ empty: "hide"
1713
+ },
1714
+ footerNote: {
1715
+ fields: ["footerNote"],
1716
+ layouts: ["centered", "centered-editorial", "full-bleed"],
1717
+ renderer: "FooterNoteSlot",
1718
+ empty: "hide"
1719
+ },
1720
+ form: {
1721
+ fields: [],
1722
+ layouts: LOGIN_LAYOUT_IDS,
1723
+ renderer: "FormSlot",
1724
+ required: true,
1725
+ empty: "always"
1726
+ }
1727
+ };
1728
+ var PLATFORM_BRANDING_FIELD_GROUPS = {
1729
+ brandName: "brand",
1730
+ logoUrl: "brand",
1731
+ faviconUrl: "brand",
1732
+ primaryColor: "color",
1733
+ backgroundColor: "color",
1734
+ loginTitle: "content",
1735
+ loginSubtitle: "content",
1736
+ footerNote: "content",
1737
+ customCss: "advanced",
1738
+ loginLayout: "layout",
1739
+ cardStyle: "surface",
1740
+ cardPosition: "layout",
1741
+ surfaceColor: "color",
1742
+ textColor: "color",
1743
+ textSecondaryColor: "color",
1744
+ borderColor: "color",
1745
+ radius: "surface",
1746
+ fontFamily: "type",
1747
+ fieldStyle: "surface",
1748
+ logoSize: "brand",
1749
+ titleSize: "type",
1750
+ bodySize: "type",
1751
+ pagePadding: "spacing",
1752
+ cardPadding: "spacing",
1753
+ cardWidth: "spacing",
1754
+ cardShadow: "surface",
1755
+ cardEffect: "surface",
1756
+ logoStyle: "brand",
1757
+ formDensity: "spacing",
1758
+ ssoLayout: "spacing",
1759
+ backgroundPattern: "background",
1760
+ backgroundTreatment: "background",
1761
+ imageFit: "media",
1762
+ imagePosition: "media",
1763
+ imageTreatment: "media",
1764
+ panelPosition: "layout",
1765
+ panelContentAlign: "layout",
1766
+ panelVisual: "layout",
1767
+ panelTitle: "panel",
1768
+ panelDescription: "panel",
1769
+ panelPoint1: "panel",
1770
+ panelPoint2: "panel",
1771
+ panelPoint3: "panel",
1772
+ panelImageUrl: "panel",
1773
+ panelVideoUrl: "panel",
1774
+ panelEyebrow: "panel",
1775
+ panelStat1Value: "panel",
1776
+ panelStat1Label: "panel",
1777
+ panelStat2Value: "panel",
1778
+ panelStat2Label: "panel",
1779
+ panelStat3Value: "panel",
1780
+ panelStat3Label: "panel",
1781
+ panelQuote: "panel",
1782
+ panelQuoteAuthor: "panel",
1783
+ panelQuoteRole: "panel",
1784
+ panelTrustLogo1: "panel",
1785
+ panelTrustLogo2: "panel",
1786
+ panelTrustLogo3: "panel",
1787
+ panelTrustLogo4: "panel",
1788
+ panelProductImageUrl: "panel",
1789
+ panelProductImageAlt: "panel",
1790
+ backgroundImageUrl: "background",
1791
+ backgroundVideoUrl: "background",
1792
+ backgroundOverlayColor: "background",
1793
+ backgroundOverlayOpacity: "background"
1794
+ };
1795
+ var PLATFORM_BRANDING_FIELD_GROUP_ORDER = [
1796
+ "layout",
1797
+ "brand",
1798
+ "color",
1799
+ "type",
1800
+ "spacing",
1801
+ "surface",
1802
+ "background",
1803
+ "media",
1804
+ "panel",
1805
+ "content",
1806
+ "advanced"
1807
+ ];
1808
+ var AUTH_BRANDING_PRESET_RESET_FIELDS = [
1809
+ "loginLayout",
1810
+ "cardStyle",
1811
+ "cardPosition",
1812
+ "surfaceColor",
1813
+ "primaryColor",
1814
+ "backgroundColor",
1815
+ "textColor",
1816
+ "textSecondaryColor",
1817
+ "borderColor",
1818
+ "radius",
1819
+ "fontFamily",
1820
+ "fieldStyle",
1821
+ "logoSize",
1822
+ "titleSize",
1823
+ "bodySize",
1824
+ "pagePadding",
1825
+ "cardPadding",
1826
+ "cardWidth",
1827
+ "cardShadow",
1828
+ "cardEffect",
1829
+ "logoStyle",
1830
+ "formDensity",
1831
+ "ssoLayout",
1832
+ "backgroundPattern",
1833
+ "backgroundTreatment",
1834
+ "imageFit",
1835
+ "imagePosition",
1836
+ "imageTreatment",
1837
+ "panelPosition",
1838
+ "panelContentAlign",
1839
+ "panelVisual",
1840
+ "backgroundImageUrl",
1841
+ "backgroundVideoUrl",
1842
+ "backgroundOverlayColor",
1843
+ "backgroundOverlayOpacity",
1844
+ "panelImageUrl",
1845
+ "panelVideoUrl"
1846
+ ];
1847
+ function keysOfKind(kind) {
1848
+ return PLATFORM_BRANDING_FIELD_KEYS.filter(
1849
+ (key) => PLATFORM_BRANDING_FIELDS[key].kind === kind
1850
+ );
1851
+ }
1852
+ var BRANDING_TEXT_KEYS = keysOfKind("text");
1853
+ var BRANDING_ASSET_URL_KEYS = keysOfKind("asset-url");
1854
+ var BRANDING_VIDEO_URL_KEYS = keysOfKind("video-url");
1855
+ var BRANDING_COLOR_KEYS = keysOfKind("color");
1856
+ var BRANDING_CSS_KEYS = keysOfKind("css");
1857
+ var BRANDING_ENUM_KEYS = keysOfKind("enum");
1858
+ var BRANDING_PERCENT_KEYS = keysOfKind("percent");
1859
+ var BRANDING_INTEGER_KEYS = keysOfKind("integer");
1860
+ var DEFAULT_LOGIN_LAYOUT = "centered";
1861
+ var BRAND_PANEL_SUPPORTS = [
1862
+ "login",
1863
+ "register",
1864
+ "platform-admin-login"
1865
+ ];
1866
+ var LOGIN_LAYOUTS = {
1867
+ centered: {
1868
+ id: "centered",
1869
+ labelKey: "platformAdmin.settings.branding.layout.centered",
1870
+ supports: AUTH_SURFACE_KINDS,
1871
+ slots: ["logo", "headline", "description", "footerNote", "form"],
1872
+ fields: [
1873
+ "backgroundImageUrl",
1874
+ "backgroundPattern",
1875
+ "backgroundTreatment",
1876
+ "backgroundOverlayColor",
1877
+ "backgroundOverlayOpacity",
1878
+ "footerNote"
1879
+ ],
1880
+ parts: [
1881
+ "page",
1882
+ "auth-panel",
1883
+ "card",
1884
+ "header",
1885
+ "logo",
1886
+ "logo-image",
1887
+ "title",
1888
+ "subtitle",
1889
+ "sso-button",
1890
+ "divider",
1891
+ "form",
1892
+ "field",
1893
+ "input",
1894
+ "submit",
1895
+ "alert",
1896
+ "footer",
1897
+ "link",
1898
+ "cancel"
1899
+ ]
1900
+ },
1901
+ "split-brand": {
1902
+ id: "split-brand",
1903
+ labelKey: "platformAdmin.settings.branding.layout.splitBrand",
1904
+ supports: BRAND_PANEL_SUPPORTS,
1905
+ slots: ["logo", "headline", "description", "points", "media", "form"],
1906
+ fields: [
1907
+ "panelPosition",
1908
+ "panelContentAlign",
1909
+ "panelVisual",
1910
+ "panelTitle",
1911
+ "panelDescription",
1912
+ "panelPoint1",
1913
+ "panelPoint2",
1914
+ "panelPoint3",
1915
+ "panelImageUrl",
1916
+ "panelVideoUrl"
1917
+ ],
1918
+ parts: [
1919
+ "page",
1920
+ "auth-layout",
1921
+ "brand-panel",
1922
+ "brand-name",
1923
+ "panel-title",
1924
+ "panel-description",
1925
+ "panel-points",
1926
+ "panel-point",
1927
+ "panel-graphic",
1928
+ "panel-image",
1929
+ "panel-video",
1930
+ "auth-panel",
1931
+ "card"
1932
+ ]
1933
+ },
1934
+ "split-story": {
1935
+ id: "split-story",
1936
+ labelKey: "platformAdmin.settings.branding.layout.splitStory",
1937
+ supports: BRAND_PANEL_SUPPORTS,
1938
+ slots: [
1939
+ "logo",
1940
+ "eyebrow",
1941
+ "headline",
1942
+ "description",
1943
+ "points",
1944
+ "stats",
1945
+ "quote",
1946
+ "trustLogos",
1947
+ "media",
1948
+ "form"
1949
+ ],
1950
+ fields: [
1951
+ "panelPosition",
1952
+ "panelContentAlign",
1953
+ "panelVisual",
1954
+ "panelEyebrow",
1955
+ "panelTitle",
1956
+ "panelDescription",
1957
+ "panelPoint1",
1958
+ "panelPoint2",
1959
+ "panelPoint3",
1960
+ "panelStat1Value",
1961
+ "panelStat1Label",
1962
+ "panelStat2Value",
1963
+ "panelStat2Label",
1964
+ "panelStat3Value",
1965
+ "panelStat3Label",
1966
+ "panelQuote",
1967
+ "panelQuoteAuthor",
1968
+ "panelQuoteRole",
1969
+ "panelTrustLogo1",
1970
+ "panelTrustLogo2",
1971
+ "panelTrustLogo3",
1972
+ "panelTrustLogo4",
1973
+ "panelImageUrl",
1974
+ "panelVideoUrl"
1975
+ ],
1976
+ parts: [
1977
+ "page",
1978
+ "auth-layout",
1979
+ "story-panel",
1980
+ "story-panel-content",
1981
+ "story-eyebrow",
1982
+ "story-stats",
1983
+ "story-stat",
1984
+ "story-stat-value",
1985
+ "story-stat-label",
1986
+ "story-testimonial",
1987
+ "story-quote",
1988
+ "story-author",
1989
+ "story-role",
1990
+ "story-trust",
1991
+ "story-trust-logo",
1992
+ "brand-name",
1993
+ "panel-title",
1994
+ "panel-description",
1995
+ "panel-points",
1996
+ "panel-point",
1997
+ "panel-graphic",
1998
+ "panel-image",
1999
+ "panel-video",
2000
+ "auth-panel",
2001
+ "card"
2002
+ ]
2003
+ },
2004
+ "centered-editorial": {
2005
+ id: "centered-editorial",
2006
+ labelKey: "platformAdmin.settings.branding.layout.centeredEditorial",
2007
+ supports: AUTH_SURFACE_KINDS,
2008
+ slots: ["logo", "eyebrow", "headline", "description", "footerNote", "form", "trustLogos"],
2009
+ fields: [
2010
+ "panelEyebrow",
2011
+ "footerNote",
2012
+ "panelTrustLogo1",
2013
+ "panelTrustLogo2",
2014
+ "panelTrustLogo3",
2015
+ "panelTrustLogo4"
2016
+ ],
2017
+ parts: [
2018
+ "page",
2019
+ "auth-panel",
2020
+ "centered-editorial-header",
2021
+ "editorial-eyebrow",
2022
+ "editorial-headline",
2023
+ "editorial-description",
2024
+ "card",
2025
+ "header",
2026
+ "logo",
2027
+ "logo-image",
2028
+ "title",
2029
+ "subtitle",
2030
+ "form",
2031
+ "field",
2032
+ "input",
2033
+ "submit",
2034
+ "alert",
2035
+ "footer",
2036
+ "link",
2037
+ "cancel",
2038
+ "story-trust",
2039
+ "story-trust-logo"
2040
+ ]
2041
+ },
2042
+ "split-showcase": {
2043
+ id: "split-showcase",
2044
+ labelKey: "platformAdmin.settings.branding.layout.splitShowcase",
2045
+ supports: BRAND_PANEL_SUPPORTS,
2046
+ slots: [
2047
+ "logo",
2048
+ "eyebrow",
2049
+ "headline",
2050
+ "description",
2051
+ "points",
2052
+ "productShot",
2053
+ "trustLogos",
2054
+ "form"
2055
+ ],
2056
+ fields: [
2057
+ "panelPosition",
2058
+ "panelContentAlign",
2059
+ "panelVisual",
2060
+ "panelEyebrow",
2061
+ "panelTitle",
2062
+ "panelDescription",
2063
+ "panelPoint1",
2064
+ "panelPoint2",
2065
+ "panelPoint3",
2066
+ "panelProductImageUrl",
2067
+ "panelProductImageAlt",
2068
+ "panelTrustLogo1",
2069
+ "panelTrustLogo2",
2070
+ "panelTrustLogo3",
2071
+ "panelTrustLogo4"
2072
+ ],
2073
+ parts: [
2074
+ "page",
2075
+ "auth-layout",
2076
+ "showcase-panel",
2077
+ "showcase-panel-content",
2078
+ "showcase-eyebrow",
2079
+ "product-frame",
2080
+ "product-shot",
2081
+ "brand-name",
2082
+ "panel-title",
2083
+ "panel-description",
2084
+ "panel-points",
2085
+ "panel-point",
2086
+ "panel-graphic",
2087
+ "story-trust",
2088
+ "story-trust-logo",
2089
+ "auth-panel",
2090
+ "card"
2091
+ ]
2092
+ },
2093
+ "full-bleed": {
2094
+ id: "full-bleed",
2095
+ labelKey: "platformAdmin.settings.branding.layout.fullBleed",
2096
+ supports: BRAND_PANEL_SUPPORTS,
2097
+ slots: ["logo", "media", "footerNote", "form"],
2098
+ fields: [
2099
+ "cardPosition",
2100
+ "footerNote",
2101
+ "backgroundImageUrl",
2102
+ "backgroundVideoUrl",
2103
+ "backgroundPattern",
2104
+ "backgroundTreatment",
2105
+ "backgroundOverlayColor",
2106
+ "backgroundOverlayOpacity"
2107
+ ],
2108
+ parts: [
2109
+ "page",
2110
+ "background",
2111
+ "background-image",
2112
+ "background-video",
2113
+ "background-overlay",
2114
+ "auth-panel",
2115
+ "card"
2116
+ ]
2117
+ }
2118
+ };
2119
+ var AUTH_BRANDING_PRESETS = {
2120
+ classic: {
2121
+ id: "classic",
2122
+ labelKey: "platformAdmin.settings.branding.preset.classic.label",
2123
+ descriptionKey: "platformAdmin.settings.branding.preset.classic.description",
2124
+ branding: {
2125
+ loginLayout: "centered",
2126
+ cardStyle: "card",
2127
+ primaryColor: "#4f46e5",
2128
+ backgroundColor: "#f8fafc",
2129
+ surfaceColor: "#ffffff",
2130
+ textColor: "#0f172a",
2131
+ textSecondaryColor: "#64748b",
2132
+ borderColor: "#e2e8f0",
2133
+ radius: 12,
2134
+ fontFamily: "system"
2135
+ },
2136
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2137
+ background-image: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--axiom-auth-primary) 12%, transparent), transparent 42%);
2138
+ }
2139
+ #axiom-auth-root [data-axiom-part="card"] {
2140
+ border-color: transparent;
2141
+ box-shadow: 0 32px 80px -32px color-mix(in srgb, var(--axiom-auth-primary) 45%, transparent);
2142
+ }`
2143
+ },
2144
+ minimal: {
2145
+ id: "minimal",
2146
+ labelKey: "platformAdmin.settings.branding.preset.minimal.label",
2147
+ descriptionKey: "platformAdmin.settings.branding.preset.minimal.description",
2148
+ branding: {
2149
+ loginLayout: "centered",
2150
+ cardStyle: "plain",
2151
+ primaryColor: "#111111",
2152
+ backgroundColor: "#ffffff",
2153
+ surfaceColor: "#ffffff",
2154
+ textColor: "#111111",
2155
+ textSecondaryColor: "#666666",
2156
+ borderColor: "#e5e5e5",
2157
+ radius: 0,
2158
+ fontFamily: "system",
2159
+ formDensity: "compact",
2160
+ ssoLayout: "inline",
2161
+ fieldStyle: "underline"
2162
+ },
2163
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2164
+ background-image: linear-gradient(180deg, #ffffff, #fafafa);
2165
+ }
2166
+ #axiom-auth-root [data-axiom-part="card"] {
2167
+ border: 0;
2168
+ box-shadow: none;
2169
+ }
2170
+ #axiom-auth-root [data-axiom-part="title"] {
2171
+ letter-spacing: -0.04em;
2172
+ }`
2173
+ },
2174
+ editorial: {
2175
+ id: "editorial",
2176
+ labelKey: "platformAdmin.settings.branding.preset.editorial.label",
2177
+ descriptionKey: "platformAdmin.settings.branding.preset.editorial.description",
2178
+ branding: {
2179
+ loginLayout: "split-brand",
2180
+ panelPosition: "left",
2181
+ panelContentAlign: "left",
2182
+ panelVisual: "waves",
2183
+ cardStyle: "card",
2184
+ primaryColor: "#1f2937",
2185
+ backgroundColor: "#f5f1e8",
2186
+ surfaceColor: "#fffdf8",
2187
+ textColor: "#1f2937",
2188
+ textSecondaryColor: "#6b7280",
2189
+ borderColor: "#e5e0d5",
2190
+ radius: 4,
2191
+ fontFamily: "serif"
2192
+ },
2193
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2194
+ background-image: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--axiom-auth-primary) 9%, transparent), transparent 42%), linear-gradient(135deg, #f5f1e8, #efe9dc);
2195
+ }
2196
+ #axiom-auth-root [data-axiom-part="brand-panel"] {
2197
+ background: linear-gradient(145deg, color-mix(in srgb, var(--axiom-auth-primary) 70%, #000), var(--axiom-auth-primary) 55%, color-mix(in srgb, var(--axiom-auth-primary) 80%, #000));
2198
+ }
2199
+ #axiom-auth-root [data-axiom-part="panel-title"] {
2200
+ letter-spacing: -0.03em;
2201
+ }`
2202
+ },
2203
+ product: {
2204
+ id: "product",
2205
+ labelKey: "platformAdmin.settings.branding.preset.product.label",
2206
+ descriptionKey: "platformAdmin.settings.branding.preset.product.description",
2207
+ branding: {
2208
+ loginLayout: "split-brand",
2209
+ panelPosition: "right",
2210
+ panelContentAlign: "center",
2211
+ panelVisual: "mesh",
2212
+ cardStyle: "card",
2213
+ primaryColor: "#2563eb",
2214
+ backgroundColor: "#eff6ff",
2215
+ surfaceColor: "#ffffff",
2216
+ textColor: "#0f172a",
2217
+ textSecondaryColor: "#475569",
2218
+ borderColor: "#bfdbfe",
2219
+ radius: 16,
2220
+ fontFamily: "inter"
2221
+ },
2222
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2223
+ background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--axiom-auth-primary) 16%, transparent), transparent 42%);
2224
+ }
2225
+ #axiom-auth-root [data-axiom-part="brand-panel"] {
2226
+ background: linear-gradient(150deg, color-mix(in srgb, var(--axiom-auth-primary) 80%, #000), var(--axiom-auth-primary) 45%, color-mix(in srgb, var(--axiom-auth-primary) 70%, #fff));
2227
+ }
2228
+ #axiom-auth-root [data-axiom-part="card"] {
2229
+ box-shadow: 0 32px 80px -36px color-mix(in srgb, var(--axiom-auth-primary) 55%, transparent);
2230
+ }`
2231
+ },
2232
+ midnight: {
2233
+ id: "midnight",
2234
+ labelKey: "platformAdmin.settings.branding.preset.midnight.label",
2235
+ descriptionKey: "platformAdmin.settings.branding.preset.midnight.description",
2236
+ branding: {
2237
+ loginLayout: "full-bleed",
2238
+ cardPosition: "center",
2239
+ cardStyle: "glass",
2240
+ cardEffect: "inner-glow",
2241
+ formDensity: "airy",
2242
+ fieldStyle: "filled",
2243
+ primaryColor: "#f97316",
2244
+ backgroundColor: "#09090b",
2245
+ surfaceColor: "#18181b",
2246
+ textColor: "#fafafa",
2247
+ textSecondaryColor: "#a1a1aa",
2248
+ borderColor: "#27272a",
2249
+ radius: 18,
2250
+ fontFamily: "system",
2251
+ backgroundOverlayColor: "#000000",
2252
+ backgroundOverlayOpacity: 55
2253
+ },
2254
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2255
+ background-image: radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--axiom-auth-primary) 20%, transparent), transparent 38%), radial-gradient(circle at 80% 90%, rgba(124, 58, 237, 0.18), transparent 42%);
2256
+ }
2257
+ #axiom-auth-root [data-axiom-part="card"] {
2258
+ border-color: rgba(255, 255, 255, 0.12);
2259
+ box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
2260
+ }`
2261
+ },
2262
+ cinematic: {
2263
+ id: "cinematic",
2264
+ labelKey: "platformAdmin.settings.branding.preset.cinematic.label",
2265
+ descriptionKey: "platformAdmin.settings.branding.preset.cinematic.description",
2266
+ branding: {
2267
+ loginLayout: "full-bleed",
2268
+ cardPosition: "right",
2269
+ cardStyle: "glass",
2270
+ backgroundTreatment: "vignette",
2271
+ fieldStyle: "filled",
2272
+ primaryColor: "#e11d48",
2273
+ backgroundColor: "#0a0a0a",
2274
+ surfaceColor: "#111111",
2275
+ textColor: "#f5f5f5",
2276
+ textSecondaryColor: "#a3a3a3",
2277
+ borderColor: "#262626",
2278
+ radius: 4,
2279
+ fontFamily: "system",
2280
+ backgroundOverlayColor: "#000000",
2281
+ backgroundOverlayOpacity: 65
2282
+ },
2283
+ customCss: `#axiom-auth-root [data-axiom-part="background-overlay"] {
2284
+ background: radial-gradient(circle at 25% 30%, transparent 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.88) 100%);
2285
+ opacity: 1;
2286
+ }
2287
+ #axiom-auth-root [data-axiom-part="card"] {
2288
+ border-color: rgba(255, 255, 255, 0.14);
2289
+ box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
2290
+ }`
2291
+ },
2292
+ playful: {
2293
+ id: "playful",
2294
+ labelKey: "platformAdmin.settings.branding.preset.playful.label",
2295
+ descriptionKey: "platformAdmin.settings.branding.preset.playful.description",
2296
+ branding: {
2297
+ loginLayout: "centered",
2298
+ cardStyle: "card",
2299
+ cardEffect: "inner-glow",
2300
+ logoStyle: "badge",
2301
+ primaryColor: "#db2777",
2302
+ backgroundColor: "#fff1f2",
2303
+ surfaceColor: "#ffffff",
2304
+ textColor: "#500724",
2305
+ textSecondaryColor: "#9d174d",
2306
+ borderColor: "#fecdd3",
2307
+ radius: 28,
2308
+ fontFamily: "inter"
2309
+ },
2310
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2311
+ background-image: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--axiom-auth-primary) 18%, transparent), transparent 35%), radial-gradient(circle at 85% 80%, rgba(251, 113, 133, 0.22), transparent 38%);
2312
+ }
2313
+ #axiom-auth-root [data-axiom-part="card"] {
2314
+ box-shadow: 0 32px 80px -28px color-mix(in srgb, var(--axiom-auth-primary) 45%, transparent);
2315
+ }`
2316
+ },
2317
+ enterprise: {
2318
+ id: "enterprise",
2319
+ labelKey: "platformAdmin.settings.branding.preset.enterprise.label",
2320
+ descriptionKey: "platformAdmin.settings.branding.preset.enterprise.description",
2321
+ branding: {
2322
+ loginLayout: "centered",
2323
+ cardStyle: "card",
2324
+ primaryColor: "#0f766e",
2325
+ backgroundColor: "#f0fdfa",
2326
+ surfaceColor: "#ffffff",
2327
+ textColor: "#134e4a",
2328
+ textSecondaryColor: "#5f7f7a",
2329
+ borderColor: "#99f6e4",
2330
+ radius: 8,
2331
+ fontFamily: "system",
2332
+ logoStyle: "badge",
2333
+ formDensity: "compact",
2334
+ backgroundPattern: "grid",
2335
+ fieldStyle: "outline"
2336
+ },
2337
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2338
+ background-image: linear-gradient(color-mix(in srgb, var(--axiom-auth-primary) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--axiom-auth-primary) 6%, transparent) 1px, transparent 1px);
2339
+ background-size: 32px 32px;
2340
+ }
2341
+ #axiom-auth-root [data-axiom-part="card"] {
2342
+ box-shadow: 0 24px 64px -32px color-mix(in srgb, var(--axiom-auth-primary) 35%, transparent);
2343
+ }`
2344
+ },
2345
+ noir: {
2346
+ id: "noir",
2347
+ labelKey: "platformAdmin.settings.branding.preset.noir.label",
2348
+ descriptionKey: "platformAdmin.settings.branding.preset.noir.description",
2349
+ branding: {
2350
+ loginLayout: "split-brand",
2351
+ panelPosition: "left",
2352
+ panelVisual: "orbit",
2353
+ cardStyle: "outline",
2354
+ primaryColor: "#111827",
2355
+ backgroundColor: "#f9fafb",
2356
+ surfaceColor: "#ffffff",
2357
+ textColor: "#111827",
2358
+ textSecondaryColor: "#6b7280",
2359
+ borderColor: "#e5e7eb",
2360
+ radius: 0,
2361
+ fontFamily: "mono"
2362
+ },
2363
+ customCss: `#axiom-auth-root [data-axiom-part="brand-panel"] {
2364
+ background: var(--axiom-auth-primary);
2365
+ }
2366
+ #axiom-auth-root [data-axiom-part="brand-panel"]::after {
2367
+ background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
2368
+ background-size: 24px 24px;
2369
+ opacity: 0.45;
2370
+ }
2371
+ #axiom-auth-root [data-axiom-part="card"] {
2372
+ border-color: var(--axiom-auth-primary);
2373
+ box-shadow: 8px 8px 0 var(--axiom-auth-text);
2374
+ }`
2375
+ },
2376
+ aurora: {
2377
+ id: "aurora",
2378
+ labelKey: "platformAdmin.settings.branding.preset.aurora.label",
2379
+ descriptionKey: "platformAdmin.settings.branding.preset.aurora.description",
2380
+ branding: {
2381
+ loginLayout: "full-bleed",
2382
+ cardPosition: "center",
2383
+ cardStyle: "glass",
2384
+ cardEffect: "inner-glow",
2385
+ logoStyle: "badge",
2386
+ formDensity: "airy",
2387
+ fieldStyle: "filled",
2388
+ primaryColor: "#22d3ee",
2389
+ backgroundColor: "#07111f",
2390
+ surfaceColor: "#0f1b2d",
2391
+ textColor: "#e2f8ff",
2392
+ textSecondaryColor: "#9cb8c9",
2393
+ borderColor: "#1e3a4f",
2394
+ radius: 24,
2395
+ fontFamily: "inter",
2396
+ logoSize: 56,
2397
+ titleSize: 34,
2398
+ bodySize: 16,
2399
+ pagePadding: 24,
2400
+ cardPadding: 32,
2401
+ cardWidth: 440,
2402
+ cardShadow: "floating",
2403
+ backgroundPattern: "aurora",
2404
+ backgroundOverlayColor: "#000000",
2405
+ backgroundOverlayOpacity: 45
2406
+ },
2407
+ customCss: `#axiom-auth-root [data-axiom-part="card"] {
2408
+ border-color: color-mix(in srgb, var(--axiom-auth-primary) 22%, transparent);
2409
+ box-shadow: 0 40px 110px -30px color-mix(in srgb, var(--axiom-auth-primary) 35%, transparent);
2410
+ }
2411
+ #axiom-auth-root [data-axiom-part="card"]::before {
2412
+ content: "";
2413
+ position: absolute;
2414
+ inset: 0;
2415
+ border-radius: inherit;
2416
+ pointer-events: none;
2417
+ background: linear-gradient(135deg, color-mix(in srgb, var(--axiom-auth-primary) 12%, transparent), transparent 45%);
2418
+ }`
2419
+ },
2420
+ swiss: {
2421
+ id: "swiss",
2422
+ labelKey: "platformAdmin.settings.branding.preset.swiss.label",
2423
+ descriptionKey: "platformAdmin.settings.branding.preset.swiss.description",
2424
+ branding: {
2425
+ loginLayout: "centered",
2426
+ cardStyle: "card",
2427
+ cardEffect: "gradient-border",
2428
+ formDensity: "compact",
2429
+ fieldStyle: "underline",
2430
+ primaryColor: "#ef4444",
2431
+ backgroundColor: "#f4f4f0",
2432
+ surfaceColor: "#ffffff",
2433
+ textColor: "#111111",
2434
+ textSecondaryColor: "#555555",
2435
+ borderColor: "#d4d4d0",
2436
+ radius: 0,
2437
+ fontFamily: "inter",
2438
+ logoSize: 52,
2439
+ titleSize: 44,
2440
+ bodySize: 15,
2441
+ pagePadding: 32,
2442
+ cardPadding: 36,
2443
+ cardWidth: 460,
2444
+ cardShadow: "none",
2445
+ backgroundPattern: "grid"
2446
+ },
2447
+ customCss: `#axiom-auth-root [data-axiom-part="title"] {
2448
+ letter-spacing: -0.05em;
2449
+ }
2450
+ #axiom-auth-root [data-axiom-part="card"] {
2451
+ border: 1px solid var(--axiom-auth-text);
2452
+ }`
2453
+ },
2454
+ luxe: {
2455
+ id: "luxe",
2456
+ labelKey: "platformAdmin.settings.branding.preset.luxe.label",
2457
+ descriptionKey: "platformAdmin.settings.branding.preset.luxe.description",
2458
+ branding: {
2459
+ loginLayout: "split-brand",
2460
+ panelPosition: "right",
2461
+ panelContentAlign: "center",
2462
+ panelVisual: "topography",
2463
+ cardStyle: "glass",
2464
+ logoStyle: "badge",
2465
+ formDensity: "airy",
2466
+ fieldStyle: "filled",
2467
+ primaryColor: "#a16207",
2468
+ backgroundColor: "#0c0a09",
2469
+ surfaceColor: "#1c1917",
2470
+ textColor: "#fafaf9",
2471
+ textSecondaryColor: "#a8a29e",
2472
+ borderColor: "#44403c",
2473
+ radius: 20,
2474
+ fontFamily: "serif",
2475
+ logoSize: 72,
2476
+ titleSize: 32,
2477
+ bodySize: 16,
2478
+ pagePadding: 24,
2479
+ cardPadding: 32,
2480
+ cardWidth: 420,
2481
+ cardShadow: "floating"
2482
+ },
2483
+ customCss: `#axiom-auth-root [data-axiom-part="brand-panel"] {
2484
+ background: linear-gradient(145deg, #1c1917, #292524 55%, #0c0a09);
2485
+ }
2486
+ #axiom-auth-root [data-axiom-part="panel-title"] {
2487
+ letter-spacing: -0.04em;
2488
+ }
2489
+ #axiom-auth-root [data-axiom-part="card"] {
2490
+ border-color: color-mix(in srgb, var(--axiom-auth-primary) 35%, transparent);
2491
+ box-shadow: 0 40px 110px -40px color-mix(in srgb, var(--axiom-auth-primary) 55%, transparent);
2492
+ }`
2493
+ },
2494
+ narrative: {
2495
+ id: "narrative",
2496
+ labelKey: "platformAdmin.settings.branding.preset.narrative.label",
2497
+ descriptionKey: "platformAdmin.settings.branding.preset.narrative.description",
2498
+ branding: {
2499
+ loginLayout: "split-story",
2500
+ panelPosition: "right",
2501
+ panelContentAlign: "center",
2502
+ panelVisual: "aurora",
2503
+ cardStyle: "glass",
2504
+ cardEffect: "inner-glow",
2505
+ logoStyle: "badge",
2506
+ formDensity: "airy",
2507
+ fieldStyle: "filled",
2508
+ primaryColor: "#0f766e",
2509
+ backgroundColor: "#f0fdfa",
2510
+ surfaceColor: "#ffffff",
2511
+ textColor: "#134e4a",
2512
+ textSecondaryColor: "#5f7f7a",
2513
+ borderColor: "#99f6e4",
2514
+ radius: 20,
2515
+ fontFamily: "serif",
2516
+ logoSize: 64,
2517
+ titleSize: 40,
2518
+ bodySize: 16,
2519
+ pagePadding: 24,
2520
+ cardPadding: 32,
2521
+ cardWidth: 420,
2522
+ cardShadow: "floating",
2523
+ panelEyebrow: "Trusted by modern teams",
2524
+ panelTitle: "Build with confidence",
2525
+ panelDescription: "A foundation for teams that care about craft, security, and speed.",
2526
+ panelPoint1: "SOC 2 ready workflows",
2527
+ panelPoint2: "Fast onboarding",
2528
+ panelPoint3: "Clear audit trails",
2529
+ panelStat1Value: "99.99%",
2530
+ panelStat1Label: "Uptime",
2531
+ panelStat2Value: "4.9/5",
2532
+ panelStat2Label: "Customer rating",
2533
+ panelStat3Value: "12k+",
2534
+ panelStat3Label: "Teams onboarded",
2535
+ panelQuote: "The calmest, most reliable launch experience we have shipped.",
2536
+ panelQuoteAuthor: "Maya Chen",
2537
+ panelQuoteRole: "VP Engineering, Northstar"
2538
+ },
2539
+ customCss: `#axiom-auth-root [data-axiom-part="story-panel"] {
2540
+ background: linear-gradient(145deg, color-mix(in srgb, var(--axiom-auth-primary) 82%, #000), var(--axiom-auth-primary) 55%, color-mix(in srgb, var(--axiom-auth-primary) 72%, #fff));
2541
+ }
2542
+ #axiom-auth-root [data-axiom-part="story-stat"] {
2543
+ padding: 12px 14px;
2544
+ border: 1px solid rgba(255, 255, 255, 0.18);
2545
+ border-radius: 12px;
2546
+ background: rgba(255, 255, 255, 0.08);
2547
+ }
2548
+ #axiom-auth-root [data-axiom-part="story-testimonial"] {
2549
+ border-left: 2px solid rgba(255, 255, 255, 0.45);
2550
+ padding-left: 16px;
2551
+ }`
2552
+ },
2553
+ "editorial-centered": {
2554
+ id: "editorial-centered",
2555
+ labelKey: "platformAdmin.settings.branding.preset.editorialCentered.label",
2556
+ descriptionKey: "platformAdmin.settings.branding.preset.editorialCentered.description",
2557
+ branding: {
2558
+ loginLayout: "centered-editorial",
2559
+ cardStyle: "card",
2560
+ cardEffect: "gradient-border",
2561
+ formDensity: "airy",
2562
+ primaryColor: "#7c2d12",
2563
+ backgroundColor: "#faf7f2",
2564
+ surfaceColor: "#fffdf9",
2565
+ textColor: "#1c1917",
2566
+ textSecondaryColor: "#78716c",
2567
+ borderColor: "#e7e5e4",
2568
+ radius: 10,
2569
+ fontFamily: "serif",
2570
+ logoSize: 56,
2571
+ titleSize: 46,
2572
+ bodySize: 16,
2573
+ pagePadding: 32,
2574
+ cardPadding: 32,
2575
+ cardWidth: 440,
2576
+ cardShadow: "soft",
2577
+ panelEyebrow: "Crafted for thoughtful teams"
2578
+ },
2579
+ customCss: `#axiom-auth-root [data-axiom-part="page"] {
2580
+ background-image: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--axiom-auth-primary) 10%, transparent), transparent 44%);
2581
+ }
2582
+ #axiom-auth-root [data-axiom-part="editorial-headline"] {
2583
+ font-weight: 400;
2584
+ }`
2585
+ },
2586
+ brutalist: {
2587
+ id: "brutalist",
2588
+ labelKey: "platformAdmin.settings.branding.preset.brutalist.label",
2589
+ descriptionKey: "platformAdmin.settings.branding.preset.brutalist.description",
2590
+ branding: {
2591
+ loginLayout: "centered",
2592
+ cardStyle: "card",
2593
+ formDensity: "compact",
2594
+ ssoLayout: "inline",
2595
+ fieldStyle: "outline",
2596
+ primaryColor: "#000000",
2597
+ backgroundColor: "#f5f5f0",
2598
+ surfaceColor: "#ffffff",
2599
+ textColor: "#000000",
2600
+ textSecondaryColor: "#333333",
2601
+ borderColor: "#000000",
2602
+ radius: 0,
2603
+ fontFamily: "mono",
2604
+ logoSize: 48,
2605
+ titleSize: 40,
2606
+ bodySize: 14,
2607
+ pagePadding: 24,
2608
+ cardPadding: 32,
2609
+ cardWidth: 480,
2610
+ cardShadow: "hard",
2611
+ backgroundPattern: "dots"
2612
+ },
2613
+ customCss: `#axiom-auth-root [data-axiom-part="title"] {
2614
+ text-transform: uppercase;
2615
+ letter-spacing: -0.03em;
2616
+ }
2617
+ #axiom-auth-root [data-axiom-part="card"] {
2618
+ border: 3px solid var(--axiom-auth-text);
2619
+ box-shadow: 8px 8px 0 var(--axiom-auth-text);
2620
+ }`
2621
+ }
2622
+ };
2623
+ var AUTH_BRANDING_PRESET_IDS = Object.keys(
2624
+ AUTH_BRANDING_PRESETS
2625
+ );
2626
+ var AUTH_BRANDING_CASES = {
2627
+ "editorial-launch": {
2628
+ id: "editorial-launch",
2629
+ labelKey: "platformAdmin.settings.branding.case.editorialLaunch.label",
2630
+ descriptionKey: "platformAdmin.settings.branding.case.editorialLaunch.description",
2631
+ presetId: "editorial-centered",
2632
+ branding: {
2633
+ brandName: "AlphaFina",
2634
+ logoUrl: "/logo.png",
2635
+ loginTitle: "A quieter way to sign in",
2636
+ loginSubtitle: "One account for every workspace.",
2637
+ footerNote: "SOC 2 ready \xB7 SSO \xB7 Audit logs",
2638
+ panelEyebrow: "Crafted for thoughtful teams",
2639
+ panelTrustLogo1: "/cases/trust-northstar.svg",
2640
+ panelTrustLogo2: "/cases/trust-acme.svg",
2641
+ panelTrustLogo3: "/cases/trust-vertex.svg",
2642
+ panelTrustLogo4: "/cases/trust-lumen.svg"
2643
+ }
2644
+ },
2645
+ "product-showcase": {
2646
+ id: "product-showcase",
2647
+ labelKey: "platformAdmin.settings.branding.case.productShowcase.label",
2648
+ descriptionKey: "platformAdmin.settings.branding.case.productShowcase.description",
2649
+ presetId: "product",
2650
+ branding: {
2651
+ brandName: "AlphaFina",
2652
+ logoUrl: "/logo.png",
2653
+ loginLayout: "split-showcase",
2654
+ panelPosition: "right",
2655
+ panelContentAlign: "center",
2656
+ cardStyle: "glass",
2657
+ panelEyebrow: "Product tour",
2658
+ panelTitle: "One workspace for every launch",
2659
+ panelDescription: "Plan, build, and ship agent workflows without losing the thread.",
2660
+ panelPoint1: "Live run visibility",
2661
+ panelPoint2: "Audit-ready activity",
2662
+ panelPoint3: "One shared context",
2663
+ panelProductImageUrl: "/cases/product-dashboard.svg",
2664
+ panelProductImageAlt: "AlphaFina workspace dashboard",
2665
+ panelTrustLogo1: "/cases/trust-northstar.svg",
2666
+ panelTrustLogo2: "/cases/trust-acme.svg",
2667
+ panelTrustLogo3: "/cases/trust-vertex.svg",
2668
+ panelTrustLogo4: "/cases/trust-lumen.svg",
2669
+ imageFit: "cover",
2670
+ imagePosition: "top",
2671
+ imageTreatment: "none"
2672
+ },
2673
+ customCss: `#axiom-auth-root [data-axiom-part="showcase-panel"] {
2674
+ background: linear-gradient(150deg, color-mix(in srgb, var(--axiom-auth-primary) 82%, #000), var(--axiom-auth-primary) 48%, color-mix(in srgb, var(--axiom-auth-primary) 68%, #fff));
2675
+ }
2676
+ #axiom-auth-root [data-axiom-part="product-frame"] {
2677
+ background: rgba(255, 255, 255, 0.16);
2678
+ border-color: rgba(255, 255, 255, 0.28);
2679
+ }`
2680
+ },
2681
+ "data-story": {
2682
+ id: "data-story",
2683
+ labelKey: "platformAdmin.settings.branding.case.dataStory.label",
2684
+ descriptionKey: "platformAdmin.settings.branding.case.dataStory.description",
2685
+ presetId: "narrative",
2686
+ branding: {
2687
+ brandName: "AlphaFina",
2688
+ logoUrl: "/logo.png",
2689
+ loginLayout: "split-story",
2690
+ panelEyebrow: "Trusted by modern teams",
2691
+ panelTitle: "Build with confidence",
2692
+ panelDescription: "A foundation for teams that care about craft, security, and speed.",
2693
+ panelPoint1: "SOC 2 ready workflows",
2694
+ panelPoint2: "Fast onboarding",
2695
+ panelPoint3: "Clear audit trails",
2696
+ panelStat1Value: "99.99%",
2697
+ panelStat1Label: "Uptime",
2698
+ panelStat2Value: "4.9/5",
2699
+ panelStat2Label: "Customer rating",
2700
+ panelStat3Value: "12k+",
2701
+ panelStat3Label: "Teams onboarded",
2702
+ panelQuote: "The calmest, most reliable launch experience we have shipped.",
2703
+ panelQuoteAuthor: "Maya Chen",
2704
+ panelQuoteRole: "VP Engineering, Northstar",
2705
+ panelTrustLogo1: "/cases/trust-northstar.svg",
2706
+ panelTrustLogo2: "/cases/trust-acme.svg",
2707
+ panelTrustLogo3: "/cases/trust-vertex.svg",
2708
+ panelTrustLogo4: "/cases/trust-lumen.svg"
2709
+ }
2710
+ },
2711
+ "aurora-launch": {
2712
+ id: "aurora-launch",
2713
+ labelKey: "platformAdmin.settings.branding.case.auroraLaunch.label",
2714
+ descriptionKey: "platformAdmin.settings.branding.case.auroraLaunch.description",
2715
+ presetId: "aurora",
2716
+ branding: {
2717
+ brandName: "AlphaFina",
2718
+ logoUrl: "/logo.png",
2719
+ loginLayout: "full-bleed",
2720
+ backgroundImageUrl: "/cases/aurora-bg.svg",
2721
+ backgroundOverlayColor: "#000000",
2722
+ backgroundOverlayOpacity: 35,
2723
+ imageFit: "cover",
2724
+ imagePosition: "center",
2725
+ imageTreatment: "none",
2726
+ cardStyle: "glass",
2727
+ cardPosition: "center",
2728
+ loginTitle: "Sign in to the network",
2729
+ loginSubtitle: "One secure account for every team and agent.",
2730
+ footerNote: "Encrypted sessions \xB7 SSO \xB7 Audit trails"
2731
+ }
2732
+ },
2733
+ "cinematic-video": {
2734
+ id: "cinematic-video",
2735
+ labelKey: "platformAdmin.settings.branding.case.cinematicVideo.label",
2736
+ descriptionKey: "platformAdmin.settings.branding.case.cinematicVideo.description",
2737
+ presetId: "cinematic",
2738
+ branding: {
2739
+ brandName: "AlphaFina",
2740
+ logoUrl: "/logo.png",
2741
+ loginLayout: "full-bleed",
2742
+ backgroundVideoUrl: "/cases/14471967_3840_2160_30fps.mp4",
2743
+ backgroundImageUrl: "/cases/aurora-bg.svg",
2744
+ backgroundOverlayColor: "#000000",
2745
+ backgroundOverlayOpacity: 65,
2746
+ imageFit: "cover",
2747
+ imagePosition: "center",
2748
+ imageTreatment: "none",
2749
+ cardStyle: "glass",
2750
+ cardPosition: "right",
2751
+ loginTitle: "Sign in to the network",
2752
+ loginSubtitle: "One secure account for every team and agent."
2753
+ }
2754
+ },
2755
+ "aurora-video": {
2756
+ id: "aurora-video",
2757
+ labelKey: "platformAdmin.settings.branding.case.auroraVideo.label",
2758
+ descriptionKey: "platformAdmin.settings.branding.case.auroraVideo.description",
2759
+ presetId: "aurora",
2760
+ branding: {
2761
+ brandName: "AlphaFina",
2762
+ logoUrl: "/logo.png",
2763
+ loginLayout: "full-bleed",
2764
+ backgroundVideoUrl: "/cases/15404923_1920_1080_60fps.mp4",
2765
+ backgroundImageUrl: "/cases/aurora-bg.svg",
2766
+ backgroundOverlayColor: "#000000",
2767
+ backgroundOverlayOpacity: 30,
2768
+ imageFit: "cover",
2769
+ imagePosition: "center",
2770
+ imageTreatment: "none",
2771
+ cardStyle: "glass",
2772
+ cardPosition: "center",
2773
+ loginTitle: "Sign in to the network",
2774
+ loginSubtitle: "One secure account for every team and agent."
2775
+ }
2776
+ }
2777
+ };
2778
+ var AUTH_BRANDING_CASE_IDS = Object.keys(
2779
+ AUTH_BRANDING_CASES
2780
+ );
2781
+ function isLoginLayoutId(value) {
2782
+ return typeof value === "string" && LOGIN_LAYOUT_IDS.includes(value);
2783
+ }
2784
+ function isAuthFontFamilyId(value) {
2785
+ return typeof value === "string" && AUTH_FONT_FAMILY_IDS.includes(value);
2786
+ }
2787
+ function layoutSpecificFields(layout) {
2788
+ return PLATFORM_BRANDING_FIELD_KEYS.filter((key) => {
2789
+ const definition = PLATFORM_BRANDING_FIELDS[key];
2790
+ return definition.layouts?.includes(layout) ?? false;
2791
+ });
2792
+ }
2793
+ function layoutSupportsSurface(layout, surface) {
2794
+ return LOGIN_LAYOUTS[layout].supports.includes(surface);
2795
+ }
2796
+ function resolveLoginLayout(layout, surface) {
2797
+ if (isLoginLayoutId(layout) && layoutSupportsSurface(layout, surface)) {
2798
+ return layout;
2799
+ }
2800
+ return DEFAULT_LOGIN_LAYOUT;
2801
+ }
2802
+
1395
2803
  // src/PlatformSettingsProtocol.ts
1396
2804
  var PlatformSettingsVersionConflictError = class extends Error {
1397
2805
  constructor(expectedVersion, actualVersion) {
@@ -1417,7 +2825,38 @@ var DEFAULT_PLATFORM_BRANDING = {
1417
2825
  brandName: "AlphaFina",
1418
2826
  logoUrl: "/logo.png",
1419
2827
  primaryColor: "#5b50c6",
1420
- backgroundColor: "#ffffff"
2828
+ backgroundColor: "#ffffff",
2829
+ loginLayout: DEFAULT_LOGIN_LAYOUT,
2830
+ cardStyle: "card",
2831
+ cardPosition: "center",
2832
+ surfaceColor: "#ffffff",
2833
+ textColor: "#101828",
2834
+ textSecondaryColor: "#667085",
2835
+ borderColor: "#e4e7ec",
2836
+ radius: 12,
2837
+ fontFamily: "system",
2838
+ fieldStyle: "soft",
2839
+ logoSize: 64,
2840
+ titleSize: 24,
2841
+ bodySize: 16,
2842
+ pagePadding: 16,
2843
+ cardPadding: 24,
2844
+ cardWidth: 400,
2845
+ cardShadow: "soft",
2846
+ cardEffect: "none",
2847
+ backgroundPattern: "none",
2848
+ backgroundTreatment: "none",
2849
+ imageFit: "cover",
2850
+ imagePosition: "center",
2851
+ imageTreatment: "none",
2852
+ logoStyle: "plain",
2853
+ formDensity: "comfortable",
2854
+ ssoLayout: "stack",
2855
+ panelPosition: "left",
2856
+ panelContentAlign: "left",
2857
+ panelVisual: "orbit",
2858
+ backgroundOverlayColor: "#000000",
2859
+ backgroundOverlayOpacity: 40
1421
2860
  };
1422
2861
  function normalizeBrandingHost(raw) {
1423
2862
  let host = raw.trim().toLowerCase();
@@ -1578,6 +3017,41 @@ function validateCustomCss(value) {
1578
3017
  // src/AuthCssContract.ts
1579
3018
  var AUTH_CSS_CONTRACT_PARTS = [
1580
3019
  "page",
3020
+ "auth-layout",
3021
+ "brand-panel",
3022
+ "story-panel",
3023
+ "story-panel-content",
3024
+ "story-eyebrow",
3025
+ "story-stats",
3026
+ "story-stat",
3027
+ "story-stat-value",
3028
+ "story-stat-label",
3029
+ "story-testimonial",
3030
+ "story-quote",
3031
+ "story-author",
3032
+ "story-role",
3033
+ "story-trust",
3034
+ "story-trust-logo",
3035
+ "showcase-panel",
3036
+ "showcase-panel-content",
3037
+ "showcase-panel-heading",
3038
+ "showcase-eyebrow",
3039
+ "product-frame",
3040
+ "product-shot",
3041
+ "brand-panel-content",
3042
+ "brand-name",
3043
+ "panel-title",
3044
+ "panel-description",
3045
+ "panel-points",
3046
+ "panel-point",
3047
+ "panel-image",
3048
+ "panel-video",
3049
+ "panel-graphic",
3050
+ "background",
3051
+ "background-image",
3052
+ "background-video",
3053
+ "background-overlay",
3054
+ "auth-panel",
1581
3055
  "card",
1582
3056
  "header",
1583
3057
  "logo",
@@ -1592,6 +3066,7 @@ var AUTH_CSS_CONTRACT_PARTS = [
1592
3066
  "sso-button",
1593
3067
  "alert",
1594
3068
  "footer",
3069
+ "footer-note",
1595
3070
  "link",
1596
3071
  "cancel",
1597
3072
  "tenant-list",
@@ -1610,6 +3085,19 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
1610
3085
  "--axiom-auth-text-secondary",
1611
3086
  "--axiom-auth-border",
1612
3087
  "--axiom-auth-radius",
3088
+ "--axiom-auth-font-family",
3089
+ "--axiom-auth-title-size",
3090
+ "--axiom-auth-body-size",
3091
+ "--axiom-auth-form-gap",
3092
+ "--axiom-auth-field-bg",
3093
+ "--axiom-auth-field-border-width",
3094
+ "--axiom-auth-field-border-color",
3095
+ "--axiom-auth-field-radius",
3096
+ "--axiom-auth-image-fit",
3097
+ "--axiom-auth-image-position",
3098
+ "--axiom-auth-image-filter",
3099
+ "--axiom-auth-overlay-color",
3100
+ "--axiom-auth-overlay-opacity",
1613
3101
  "--axiom-auth-page-padding",
1614
3102
  "--axiom-auth-card-width",
1615
3103
  "--axiom-auth-card-padding",
@@ -1624,15 +3112,34 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
1624
3112
  AFFINITY_MISS_CODE,
1625
3113
  AGENT_AFFINITY_HEADER,
1626
3114
  ASR_DEFAULT_KEY,
3115
+ AUTH_BRANDING_CASES,
3116
+ AUTH_BRANDING_CASE_IDS,
3117
+ AUTH_BRANDING_PRESETS,
3118
+ AUTH_BRANDING_PRESET_IDS,
3119
+ AUTH_BRANDING_PRESET_RESET_FIELDS,
1627
3120
  AUTH_CSS_CONTRACT_PARTS,
1628
3121
  AUTH_CSS_CONTRACT_VARIABLES,
3122
+ AUTH_FONT_FAMILIES,
3123
+ AUTH_FONT_FAMILY_IDS,
3124
+ AUTH_SLOT_IDS,
3125
+ AUTH_SLOT_REGISTRY,
3126
+ AUTH_SURFACE_KINDS,
1629
3127
  AgentType,
1630
3128
  AuthError,
3129
+ BRANDING_ASSET_URL_KEYS,
3130
+ BRANDING_COLOR_KEYS,
3131
+ BRANDING_CSS_KEYS,
3132
+ BRANDING_ENUM_KEYS,
3133
+ BRANDING_INTEGER_KEYS,
3134
+ BRANDING_PERCENT_KEYS,
3135
+ BRANDING_TEXT_KEYS,
3136
+ BRANDING_VIDEO_URL_KEYS,
1631
3137
  CHANNEL_REPLY_JOB_LIST_LIMIT_DEFAULT,
1632
3138
  CHANNEL_REPLY_JOB_LIST_LIMIT_MAX,
1633
3139
  CHANNEL_REPLY_JOB_LIST_LIMIT_MIN,
1634
3140
  COLLECTION_ENTRY_BATCH_MAX,
1635
3141
  ChannelBindingMigrationConflictError,
3142
+ DEFAULT_LOGIN_LAYOUT,
1636
3143
  DEFAULT_MODEL_KEY,
1637
3144
  DEFAULT_PLATFORM_BRANDING,
1638
3145
  DuplicateChannelBindingSubjectError,
@@ -1644,6 +3151,8 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
1644
3151
  ExternalIdentityPersistError,
1645
3152
  InvalidProjectCapabilityBundleConfigError,
1646
3153
  LANGFUSE_OBSERVABILITY_DASHBOARD_VERSION,
3154
+ LOGIN_LAYOUTS,
3155
+ LOGIN_LAYOUT_IDS,
1647
3156
  LoggerType,
1648
3157
  MAX_CUSTOM_CSS_LENGTH,
1649
3158
  MAX_PENDING_EXECUTION_RESULTS_LIMIT,
@@ -1653,6 +3162,10 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
1653
3162
  OBSERVABILITY_DASHBOARD_ELEMENT_KEY_PREFIX,
1654
3163
  OidcIdentityClaimConflictError,
1655
3164
  OidcProviderConfigConflictError,
3165
+ PLATFORM_BRANDING_FIELDS,
3166
+ PLATFORM_BRANDING_FIELD_GROUPS,
3167
+ PLATFORM_BRANDING_FIELD_GROUP_ORDER,
3168
+ PLATFORM_BRANDING_FIELD_KEYS,
1656
3169
  PLATFORM_MODEL_TENANT_ID,
1657
3170
  PLATFORM_OPS_AGENT_ID,
1658
3171
  PLATFORM_OPS_PROJECT_ID,
@@ -1697,14 +3210,18 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
1697
3210
  hasTools,
1698
3211
  interruptAnswerKeySchema,
1699
3212
  isA2ARemoteAgentConfig,
3213
+ isAuthFontFamilyId,
1700
3214
  isDeepAgentConfig,
1701
3215
  isExecutionResultEventKey,
3216
+ isLoginLayoutId,
1702
3217
  isMcpUiRef,
1703
3218
  isPersonalMcpServerConfigStore,
1704
3219
  isPlatformTenantId,
1705
3220
  isProjectRoomEventId,
1706
3221
  isWorkflowAgentConfig,
1707
3222
  isWorkspacePublicRoomProjectId,
3223
+ layoutSpecificFields,
3224
+ layoutSupportsSurface,
1708
3225
  normalizeAllowedPrivateHosts,
1709
3226
  normalizeBrandingHost,
1710
3227
  normalizeChannelReplyJobListLimit,
@@ -1724,6 +3241,7 @@ var AUTH_CSS_CONTRACT_VARIABLES = [
1724
3241
  projectRoomUserEventScope,
1725
3242
  replaceTaskBeliefState,
1726
3243
  requireProjectTaskWorkItemStore,
3244
+ resolveLoginLayout,
1727
3245
  resolveRunScope,
1728
3246
  runCancelSignalSchema,
1729
3247
  snapshotExactArray,