@duckduckgo/content-scope-scripts
    Preparing search index...

    Interface TopSitesPickerStep

    Overrides for the topSitesPicker step. Each field replaces the page's default as a whole.

    interface TopSitesPickerStep {
        existingFavorites?: string[];
        sites?: TopSitesPickerSite[];
    }
    Index
    existingFavorites?: string[]

    URLs of the favorites the user already has, filled in from the shouldShowTopSitesPicker answer. Never more than 4, because native answers no at 5 or more. A suggested site matches a favorite when their hostnames match after dropping a leading "www.". A site whose URL has a path, such as https://www.bbc.com/news, also needs the favorite's path to be that path or a path below it. The page shows matching sites as picked and locked, and leaves them out of addFavorites. Unparseable URLs are skipped.

    The suggested sites, in display order. The page groups them by section. Every id needs a bundled icon and translated copy, so a new site still needs a page release.