import*as Common from"../common/common.js";import*as i18n from"../i18n/i18n.js";const UIStrings={network:"Network",preserveLog:"Preserve log",preserve:"preserve",clear:"clear",reset:"reset",preserveLogOnPageReload:"Preserve log on page reload / navigation",doNotPreserveLogOnPageReload:"Do not preserve log on page reload / navigation",recordNetworkLog:"Record network log"},str_=i18n.i18n.registerUIStrings("browser_sdk/browser_sdk-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);Common.Settings.registerSettingExtension({category:"NETWORK",title:i18nLazyString(UIStrings.preserveLog),settingName:"network_log.preserve-log",settingType:"boolean",defaultValue:!1,tags:[i18nLazyString(UIStrings.preserve),i18nLazyString(UIStrings.clear),i18nLazyString(UIStrings.reset)],options:[{value:!0,title:i18nLazyString(UIStrings.preserveLogOnPageReload)},{value:!1,title:i18nLazyString(UIStrings.doNotPreserveLogOnPageReload)}]}),Common.Settings.registerSettingExtension({category:"NETWORK",title:i18nLazyString(UIStrings.recordNetworkLog),settingName:"network_log.record-log",settingType:"boolean",defaultValue:!0,storageType:Common.Settings.SettingStorageType.Session});