| 525 | renderEnhancedDialogContent: function (contentRoot, content, options) { |
| 526 | const sectionScrollOffset = 24; |
| 527 | const createSectionIcon = function (className, iconUrl) { |
| 528 | if (!iconUrl) { |
| 529 | return null; |
| 530 | } |
| 531 | |
| 532 | const icon = document.createElement('span'); |
| 533 | icon.className = className; |
| 534 | icon.setAttribute('aria-hidden', 'true'); |
| 535 | icon.style.setProperty('--analytics-dialog-section-icon', `url("${iconUrl}")`); |
| 536 | return icon; |
| 537 | }; |
| 538 | const layout = document.createElement('div'); |
| 539 | layout.className = 'analyticsEnhancedDialogLayout'; |
| 540 | |