| 465 | renderEnhancedDialogContent: function (contentRoot, content, options) { |
| 466 | const sectionScrollOffset = 24; |
| 467 | const createSectionIcon = function (className, iconUrl) { |
| 468 | if (!iconUrl) { |
| 469 | return null; |
| 470 | } |
| 471 | |
| 472 | const icon = document.createElement('span'); |
| 473 | icon.className = className; |
| 474 | icon.setAttribute('aria-hidden', 'true'); |
| 475 | icon.style.setProperty('--analytics-dialog-section-icon', `url("${iconUrl}")`); |
| 476 | return icon; |
| 477 | }; |
| 478 | const layout = document.createElement('div'); |
| 479 | layout.className = 'analyticsEnhancedDialogLayout'; |
| 480 | |