import { html } from '//resources/polymer/v3_0/polymer/polymer_bundled.min.js';
export function getTemplate() {
    return html `<!--_html_template_start_--><style include="cr-shared-style settings-shared">
  :host {
    display: block;
    padding-bottom: 24px;
  }
</style>

<!-- TODO(crbug.com/362225975): Remove V2 suffixes. -->
<settings-section page-title="$i18n{aiPageTitle}">
  <div>
    <cr-link-row id="passwordChangeRowV2" class="hr"
        hidden="[[!showPasswordChangeControl_]]"
        start-icon="cr20:password"
        label="$i18n{passwordChangeSettingLabel}"
        sub-label="$i18n{passwordChangeSettingSubLabel}"
        on-click="onPasswordChangeRowClick_" external>
    </cr-link-row>
    <cr-link-row id="historySearchRowV2" class="hr"
        hidden="[[!showHistorySearchControl_]]"
        start-icon="settings20:search-spark"
        label="$i18n{historySearchSettingLabel}"
        sub-label="[[getHistorySearchSublabel_(
          prefs.optimization_guide.history_search_setting_state.value)]]"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onHistorySearchRowClick_">
    </cr-link-row>
    <cr-link-row id="composeRowV2" class="hr"
        hidden="[[!showComposeControl_]]"
        start-icon="settings20:pen-spark"
        label="$i18n{aiComposeLabel}"
        sub-label="$i18n{aiComposeSublabelV2}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onComposeRowClick_">
    </cr-link-row>
    <cr-link-row id="aiSuggestionsRow" class="hr"
        hidden="[[!showAiSuggestionsControl_]]"
        start-icon="settings20:button-auto"
        label="$i18n{aiSuggestionsLabel}"
        sub-label="$i18n{aiSuggestionsSublabel}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onAiSuggestionsRowClick_">
    </cr-link-row>
    <cr-link-row id="skillsRow" class="hr"
        hidden="[[!showSkillsSettingPage_]]"
        start-icon="settings20:flash-on"
        label="$i18n{skillsSettingLabel}"
        sub-label="$i18n{skillsSettingSublabel}"
        role-description="$i18n{subpageArrowRoleDescription}"
        on-click="onSkillsRowClick_">
    </cr-link-row>
    <cr-link-row id="indigoRow" class="hr"
        hidden="[[!showIndigoControl_]]"

        start-icon="settings20:magic"


        label="$i18n{indigoLabel}"
        sub-label="$i18n{indigoSublabel}"
        on-click="onIndigoRowClick_" external>
    </cr-link-row>
    <cr-link-row id="googleSearchAiModeWorkspaceRow" class="hr"
        hidden="[[!showGoogleSearchAiModeWorkspaceControl_]]"
        start-icon="settings20:apps"
        label="$i18n{googleSearchAiModeWorkspaceLabel}"
        sub-label="$i18n{googleSearchAiModeWorkspaceSublabel}"
        on-click="onGoogleSearchAiModeWorkspaceRowClick_" external>
    </cr-link-row>
  </div>
</settings-section>
<!--_html_template_end_-->`;
}
