import*as i18n from"../i18n/i18n.js";import{Issue,IssueCategory}from"./Issue.js";const UIStrings={enablingSharedArrayBuffer:"Enabling Shared Array Buffer"},str_=i18n.i18n.registerUIStrings("sdk/SharedArrayBufferIssue.ts",UIStrings),i18nString=i18n.i18n.getLocalizedString.bind(void 0,str_);export class SharedArrayBufferIssue extends Issue{constructor(r,e){const s=[Protocol.Audits.InspectorIssueCode.SharedArrayBufferIssue,r.type].join("::");super({code:Protocol.Audits.InspectorIssueCode.SharedArrayBufferIssue,umaCode:s},e),this.issueDetails=r}getCategory(){return IssueCategory.Other}details(){return this.issueDetails}getDescription(){return{file:"issues/descriptions/sharedArrayBuffer.md",substitutions:void 0,links:[{link:"https://developer.chrome.com/blog/enabling-shared-array-buffer/",linkTitle:i18nString(UIStrings.enablingSharedArrayBuffer)}]}}primaryKey(){return JSON.stringify(this.issueDetails)}}