function generateCategoryOptionsList(settings) {
  const frag = document.createDocumentFragment();

  SettingsController.DEFAULT_CATEGORIES.forEach(category => {
    const isChecked = settings.selectedCategories.includes(category.id);
    frag.append(createOptionItem(category.title, category.id, isChecked));
  });

  const optionsCategoriesList = dom.find('.options__categories');
  optionsCategoriesList.append(frag);
}
Generates a document fragment containing a list of checkboxes and labels
for the categories.
@param {SettingsController.Settings} settings