// Module ID: 4241 // Function ID: 4242 // Name: prototype // Dependencies: [1074, 1272, 1114, 2] // Module 4241 (prototype) import set from "set" /* 2 */; import ME from "ME" /* 1074 */; import getSystemLocale from "getSystemLocale" /* 1114 */; import sendRequest from "sendRequest" /* 1272 */; const Links = ME.Links; const V6OrEarlierAPIError = sendRequest.V6OrEarlierAPIError; const prototype = function APIErrorWithDefaultMessage(arg0, arg1) { if (null != arg1) { const intl2 = getSystemLocale.intl; let obj = { statusPageURL: null, details: null }; obj[0] = Links.STATUS; const _HermesInternal = HermesInternal; obj[1] = "" + arg1; intl2.formatToPlainString(getSystemLocale.t.aKRa0Q, obj); } else { const intl = getSystemLocale.intl; obj = { statusPageURL: null }; obj[0] = Links.STATUS; intl.formatToPlainString(getSystemLocale.t.aTVNes, obj); } tmp = new tmp(); // ThrowIfThisInitialized (0x7c) return tmp; }.prototype; class prototype extends V6OrEarlierAPIError { } const result = set.fileFinishedImporting("errors/V6OrEarlierAPIError.tsx"); export default prototype;