{"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n// response\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.IntentResponse = void 0;\nclass IntentResponse {\n constructor(json) {\n if (json === \"\") {\n this.privIntentResponse = {};\n } else {\n this.privIntentResponse = JSON.parse(json);\n }\n }\n static fromJSON(json) {\n return new IntentResponse(json);\n }\n get query() {\n return this.privIntentResponse.query;\n }\n get topScoringIntent() {\n return this.privIntentResponse.topScoringIntent;\n }\n get entities() {\n return this.privIntentResponse.entities;\n }\n}\nexports.IntentResponse = IntentResponse;","map":{"version":3,"names":["Object","defineProperty","exports","value","IntentResponse","constructor","json","privIntentResponse","JSON","parse","fromJSON","query","topScoringIntent","entities"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/ServiceMessages/IntentResponse.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n// response\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IntentResponse = void 0;\nclass IntentResponse {\n constructor(json) {\n if (json === \"\") {\n this.privIntentResponse = {};\n }\n else {\n this.privIntentResponse = JSON.parse(json);\n }\n }\n static fromJSON(json) {\n return new IntentResponse(json);\n }\n get query() {\n return this.privIntentResponse.query;\n }\n get topScoringIntent() {\n return this.privIntentResponse.topScoringIntent;\n }\n get entities() {\n return this.privIntentResponse.entities;\n }\n}\nexports.IntentResponse = IntentResponse;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,cAAc,GAAG,KAAK,CAAC;AAC/B,MAAMA,cAAc,CAAC;EACjBC,WAAWA,CAACC,IAAI,EAAE;IACd,IAAIA,IAAI,KAAK,EAAE,EAAE;MACb,IAAI,CAACC,kBAAkB,GAAG,CAAC,CAAC;IAChC,CAAC,MACI;MACD,IAAI,CAACA,kBAAkB,GAAGC,IAAI,CAACC,KAAK,CAACH,IAAI,CAAC;IAC9C;EACJ;EACA,OAAOI,QAAQA,CAACJ,IAAI,EAAE;IAClB,OAAO,IAAIF,cAAc,CAACE,IAAI,CAAC;EACnC;EACA,IAAIK,KAAKA,CAAA,EAAG;IACR,OAAO,IAAI,CAACJ,kBAAkB,CAACI,KAAK;EACxC;EACA,IAAIC,gBAAgBA,CAAA,EAAG;IACnB,OAAO,IAAI,CAACL,kBAAkB,CAACK,gBAAgB;EACnD;EACA,IAAIC,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACN,kBAAkB,CAACM,QAAQ;EAC3C;AACJ;AACAX,OAAO,CAACE,cAAc,GAAGA,cAAc","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}