{"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CancellationDetailsBase = void 0;\n/**\n * Contains detailed information about why a result was canceled.\n * @class CancellationDetailsBase\n */\nclass CancellationDetailsBase {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {CancellationReason} reason - The cancellation reason.\n * @param {string} errorDetails - The error details, if provided.\n */\n constructor(reason, errorDetails, errorCode) {\n this.privReason = reason;\n this.privErrorDetails = errorDetails;\n this.privErrorCode = errorCode;\n }\n /**\n * The reason the recognition was canceled.\n * @member CancellationDetailsBase.prototype.reason\n * @function\n * @public\n * @returns {CancellationReason} Specifies the reason canceled.\n */\n get reason() {\n return this.privReason;\n }\n /**\n * In case of an unsuccessful recognition, provides details of the occurred error.\n * @member CancellationDetailsBase.prototype.errorDetails\n * @function\n * @public\n * @returns {string} A String that represents the error details.\n */\n get errorDetails() {\n return this.privErrorDetails;\n }\n /**\n * The error code in case of an unsuccessful recognition.\n * Added in version 1.1.0.\n * @return An error code that represents the error reason.\n */\n get ErrorCode() {\n return this.privErrorCode;\n }\n}\nexports.CancellationDetailsBase = CancellationDetailsBase;","map":{"version":3,"names":["Object","defineProperty","exports","value","CancellationDetailsBase","constructor","reason","errorDetails","errorCode","privReason","privErrorDetails","privErrorCode","ErrorCode"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/CancellationDetailsBase.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CancellationDetailsBase = void 0;\n/**\n * Contains detailed information about why a result was canceled.\n * @class CancellationDetailsBase\n */\nclass CancellationDetailsBase {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {CancellationReason} reason - The cancellation reason.\n * @param {string} errorDetails - The error details, if provided.\n */\n constructor(reason, errorDetails, errorCode) {\n this.privReason = reason;\n this.privErrorDetails = errorDetails;\n this.privErrorCode = errorCode;\n }\n /**\n * The reason the recognition was canceled.\n * @member CancellationDetailsBase.prototype.reason\n * @function\n * @public\n * @returns {CancellationReason} Specifies the reason canceled.\n */\n get reason() {\n return this.privReason;\n }\n /**\n * In case of an unsuccessful recognition, provides details of the occurred error.\n * @member CancellationDetailsBase.prototype.errorDetails\n * @function\n * @public\n * @returns {string} A String that represents the error details.\n */\n get errorDetails() {\n return this.privErrorDetails;\n }\n /**\n * The error code in case of an unsuccessful recognition.\n * Added in version 1.1.0.\n * @return An error code that represents the error reason.\n */\n get ErrorCode() {\n return this.privErrorCode;\n }\n}\nexports.CancellationDetailsBase = CancellationDetailsBase;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,uBAAuB,GAAG,KAAK,CAAC;AACxC;AACA;AACA;AACA;AACA,MAAMA,uBAAuB,CAAC;EAC1B;AACJ;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,MAAM,EAAEC,YAAY,EAAEC,SAAS,EAAE;IACzC,IAAI,CAACC,UAAU,GAAGH,MAAM;IACxB,IAAI,CAACI,gBAAgB,GAAGH,YAAY;IACpC,IAAI,CAACI,aAAa,GAAGH,SAAS;EAClC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIF,MAAMA,CAAA,EAAG;IACT,OAAO,IAAI,CAACG,UAAU;EAC1B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIF,YAAYA,CAAA,EAAG;IACf,OAAO,IAAI,CAACG,gBAAgB;EAChC;EACA;AACJ;AACA;AACA;AACA;EACI,IAAIE,SAASA,CAAA,EAAG;IACZ,OAAO,IAAI,CAACD,aAAa;EAC7B;AACJ;AACAT,OAAO,CAACE,uBAAuB,GAAGA,uBAAuB","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}