From c88f3f26f5662dbf6af9b701ed9981f69792772d Mon Sep 17 00:00:00 2001 From: Saurav <138126051+AirSurfer09@users.noreply.github.com> Date: Thu, 7 Nov 2024 19:06:11 +0530 Subject: [PATCH] Narrative design (#10) * TIVO temp fix * custom actions code * narrative endpoints and microphone access * audio controls tested * readme updated --- README.md | 15 ++++--- dist/cjs/convai-web-client.js | 2 +- dist/typings/convai_client.d.ts | 14 ++++-- dist/typings/convai_grpc_client.d.ts | 4 +- dist/typings/narrativeDesign.d.ts | 56 ++++++++++++++++++++++++ dist/typings/streaming_audio_player.d.ts | 16 ++++++- dist/umd/convai-web-client.umd.js | 2 +- package.json | 2 +- 8 files changed, 97 insertions(+), 14 deletions(-) create mode 100644 dist/typings/narrativeDesign.d.ts diff --git a/README.md b/README.md index 70452e0..d3a297a 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,16 @@ import { GetResponseResponse } from "convai-web-sdk/dist/_proto/service/service_ // Initiate the convai client. const convaiClient = useRef(null); convaiClient.current = new ConvaiClient({ - apiKey: string //Enter your API Key here, - characterId: string //Enter your Character ID, - enableAudio: boolean, //use false for text only. - sessionId: string //current conversation session. Can be used to retrieve chat history. - disableAudioGeneration: boolean false, //Optional parameter for chat only applications + apiKey: string, //Enter your API Key here, + characterId: string, //Enter your Character ID, + enableAudio: boolean, //No chareacter audio will be played but will be generated. + sessionId: string, //current conversation session. Can be used to retrieve chat history. + languageCode?: string, + textOnlyResponse?: boolean, //Optional parameter for chat only applications (No audio response from chareacter) + micUsage?: boolean, // Option parameter for no microphone usage and access + enableFacialData?: boolean, // Optional for viseme data generation used for lipsync and expression + faceModel?: 3, + narrativeTemplateKeysMap: Map, //dynamically pass variables to the Narrative Design section and triggers }) // Set a response callback. This may fire multiple times as response diff --git a/dist/cjs/convai-web-client.js b/dist/cjs/convai-web-client.js index 0479beb..eec3dd3 100644 --- a/dist/cjs/convai-web-client.js +++ b/dist/cjs/convai-web-client.js @@ -1 +1 @@ -(()=>{var __webpack_modules__={720:(e,t,o)=>{var r=o(339),s=r,i=Function("return this")();s.exportSymbol("proto.service.ARKitBlendShapes",null,i),s.exportSymbol("proto.service.ARKitBlendShapesData",null,i),proto.service.ARKitBlendShapesData=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ARKitBlendShapesData,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ARKitBlendShapesData.displayName="proto.service.ARKitBlendShapesData"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ARKitBlendShapesData.prototype.toObject=function(e){return proto.service.ARKitBlendShapesData.toObject(e,this)},proto.service.ARKitBlendShapesData.toObject=function(e,t){var o,r={arKitBlendShapes:(o=t.getArKitBlendShapes())&&proto.service.ARKitBlendShapes.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.service.ARKitBlendShapesData.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ARKitBlendShapesData;return proto.service.ARKitBlendShapesData.deserializeBinaryFromReader(o,t)},proto.service.ARKitBlendShapesData.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.service.ARKitBlendShapes;t.readMessage(o,proto.service.ARKitBlendShapes.deserializeBinaryFromReader),e.setArKitBlendShapes(o)}else t.skipField()}return e},proto.service.ARKitBlendShapesData.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ARKitBlendShapesData.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ARKitBlendShapesData.serializeBinaryToWriter=function(e,t){var o;null!=(o=e.getArKitBlendShapes())&&t.writeMessage(1,o,proto.service.ARKitBlendShapes.serializeBinaryToWriter)},proto.service.ARKitBlendShapesData.prototype.getArKitBlendShapes=function(){return r.Message.getWrapperField(this,proto.service.ARKitBlendShapes,1)},proto.service.ARKitBlendShapesData.prototype.setArKitBlendShapes=function(e){r.Message.setWrapperField(this,1,e)},proto.service.ARKitBlendShapesData.prototype.clearArKitBlendShapes=function(){this.setArKitBlendShapes(void 0)},proto.service.ARKitBlendShapesData.prototype.hasArKitBlendShapes=function(){return null!=r.Message.getField(this,1)},proto.service.ARKitBlendShapes=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ARKitBlendShapes,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ARKitBlendShapes.displayName="proto.service.ARKitBlendShapes"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ARKitBlendShapes.prototype.toObject=function(e){return proto.service.ARKitBlendShapes.toObject(e,this)},proto.service.ARKitBlendShapes.toObject=function(e,t){var o={browDownLeft:+r.Message.getFieldWithDefault(t,1,0),browDownRight:+r.Message.getFieldWithDefault(t,2,0),browInnerUp:+r.Message.getFieldWithDefault(t,3,0),browOuterUpLeft:+r.Message.getFieldWithDefault(t,4,0),browOuterUpRight:+r.Message.getFieldWithDefault(t,5,0),cheekPuff:+r.Message.getFieldWithDefault(t,6,0),cheekSquintLeft:+r.Message.getFieldWithDefault(t,7,0),cheekSquintRight:+r.Message.getFieldWithDefault(t,8,0),eyeBlinkLeft:+r.Message.getFieldWithDefault(t,9,0),eyeBlinkRight:+r.Message.getFieldWithDefault(t,10,0),eyeLookDownLeft:+r.Message.getFieldWithDefault(t,11,0),eyeLookDownRight:+r.Message.getFieldWithDefault(t,12,0),eyeLookInLeft:+r.Message.getFieldWithDefault(t,13,0),eyeLookInRight:+r.Message.getFieldWithDefault(t,14,0),eyeLookOutLeft:+r.Message.getFieldWithDefault(t,15,0),eyeLookOutRight:+r.Message.getFieldWithDefault(t,16,0),eyeLookUpLeft:+r.Message.getFieldWithDefault(t,17,0),eyeLookUpRight:+r.Message.getFieldWithDefault(t,18,0),eyeSquintLeft:+r.Message.getFieldWithDefault(t,19,0),eyeSquintRight:+r.Message.getFieldWithDefault(t,20,0),eyeWideLeft:+r.Message.getFieldWithDefault(t,21,0),eyeWideRight:+r.Message.getFieldWithDefault(t,22,0),jawForward:+r.Message.getFieldWithDefault(t,23,0),jawLeft:+r.Message.getFieldWithDefault(t,24,0),jawOpen:+r.Message.getFieldWithDefault(t,25,0),jawRight:+r.Message.getFieldWithDefault(t,26,0),mouthClose:+r.Message.getFieldWithDefault(t,27,0),mouthDimpleLeft:+r.Message.getFieldWithDefault(t,28,0),mouthDimpleRight:+r.Message.getFieldWithDefault(t,29,0),mouthFrownLeft:+r.Message.getFieldWithDefault(t,30,0),mouthFrownRight:+r.Message.getFieldWithDefault(t,31,0),mouthFunnel:+r.Message.getFieldWithDefault(t,32,0),mouthLeft:+r.Message.getFieldWithDefault(t,33,0),mouthLowerDownLeft:+r.Message.getFieldWithDefault(t,34,0),mouthLowerDownRight:+r.Message.getFieldWithDefault(t,35,0),mouthPressLeft:+r.Message.getFieldWithDefault(t,36,0),mouthPressRight:+r.Message.getFieldWithDefault(t,37,0),mouthPucker:+r.Message.getFieldWithDefault(t,38,0),mouthRight:+r.Message.getFieldWithDefault(t,39,0),mouthRollLower:+r.Message.getFieldWithDefault(t,40,0),mouthRollUpper:+r.Message.getFieldWithDefault(t,41,0),mouthShrugLower:+r.Message.getFieldWithDefault(t,42,0),mouthShrugUpper:+r.Message.getFieldWithDefault(t,43,0),mouthSmileLeft:+r.Message.getFieldWithDefault(t,44,0),mouthSmileRight:+r.Message.getFieldWithDefault(t,45,0),mouthStretchLeft:+r.Message.getFieldWithDefault(t,46,0),mouthStretchRight:+r.Message.getFieldWithDefault(t,47,0),mouthUpperUpLeft:+r.Message.getFieldWithDefault(t,48,0),mouthUpperUpRight:+r.Message.getFieldWithDefault(t,49,0),noseSneerLeft:+r.Message.getFieldWithDefault(t,50,0),noseSneerRight:+r.Message.getFieldWithDefault(t,51,0),tongueOut:+r.Message.getFieldWithDefault(t,52,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ARKitBlendShapes.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ARKitBlendShapes;return proto.service.ARKitBlendShapes.deserializeBinaryFromReader(o,t)},proto.service.ARKitBlendShapes.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setBrowDownLeft(o);break;case 2:o=t.readFloat();e.setBrowDownRight(o);break;case 3:o=t.readFloat();e.setBrowInnerUp(o);break;case 4:o=t.readFloat();e.setBrowOuterUpLeft(o);break;case 5:o=t.readFloat();e.setBrowOuterUpRight(o);break;case 6:o=t.readFloat();e.setCheekPuff(o);break;case 7:o=t.readFloat();e.setCheekSquintLeft(o);break;case 8:o=t.readFloat();e.setCheekSquintRight(o);break;case 9:o=t.readFloat();e.setEyeBlinkLeft(o);break;case 10:o=t.readFloat();e.setEyeBlinkRight(o);break;case 11:o=t.readFloat();e.setEyeLookDownLeft(o);break;case 12:o=t.readFloat();e.setEyeLookDownRight(o);break;case 13:o=t.readFloat();e.setEyeLookInLeft(o);break;case 14:o=t.readFloat();e.setEyeLookInRight(o);break;case 15:o=t.readFloat();e.setEyeLookOutLeft(o);break;case 16:o=t.readFloat();e.setEyeLookOutRight(o);break;case 17:o=t.readFloat();e.setEyeLookUpLeft(o);break;case 18:o=t.readFloat();e.setEyeLookUpRight(o);break;case 19:o=t.readFloat();e.setEyeSquintLeft(o);break;case 20:o=t.readFloat();e.setEyeSquintRight(o);break;case 21:o=t.readFloat();e.setEyeWideLeft(o);break;case 22:o=t.readFloat();e.setEyeWideRight(o);break;case 23:o=t.readFloat();e.setJawForward(o);break;case 24:o=t.readFloat();e.setJawLeft(o);break;case 25:o=t.readFloat();e.setJawOpen(o);break;case 26:o=t.readFloat();e.setJawRight(o);break;case 27:o=t.readFloat();e.setMouthClose(o);break;case 28:o=t.readFloat();e.setMouthDimpleLeft(o);break;case 29:o=t.readFloat();e.setMouthDimpleRight(o);break;case 30:o=t.readFloat();e.setMouthFrownLeft(o);break;case 31:o=t.readFloat();e.setMouthFrownRight(o);break;case 32:o=t.readFloat();e.setMouthFunnel(o);break;case 33:o=t.readFloat();e.setMouthLeft(o);break;case 34:o=t.readFloat();e.setMouthLowerDownLeft(o);break;case 35:o=t.readFloat();e.setMouthLowerDownRight(o);break;case 36:o=t.readFloat();e.setMouthPressLeft(o);break;case 37:o=t.readFloat();e.setMouthPressRight(o);break;case 38:o=t.readFloat();e.setMouthPucker(o);break;case 39:o=t.readFloat();e.setMouthRight(o);break;case 40:o=t.readFloat();e.setMouthRollLower(o);break;case 41:o=t.readFloat();e.setMouthRollUpper(o);break;case 42:o=t.readFloat();e.setMouthShrugLower(o);break;case 43:o=t.readFloat();e.setMouthShrugUpper(o);break;case 44:o=t.readFloat();e.setMouthSmileLeft(o);break;case 45:o=t.readFloat();e.setMouthSmileRight(o);break;case 46:o=t.readFloat();e.setMouthStretchLeft(o);break;case 47:o=t.readFloat();e.setMouthStretchRight(o);break;case 48:o=t.readFloat();e.setMouthUpperUpLeft(o);break;case 49:o=t.readFloat();e.setMouthUpperUpRight(o);break;case 50:o=t.readFloat();e.setNoseSneerLeft(o);break;case 51:o=t.readFloat();e.setNoseSneerRight(o);break;case 52:o=t.readFloat();e.setTongueOut(o);break;default:t.skipField()}}return e},proto.service.ARKitBlendShapes.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ARKitBlendShapes.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ARKitBlendShapes.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getBrowDownLeft())&&t.writeFloat(1,o),0!==(o=e.getBrowDownRight())&&t.writeFloat(2,o),0!==(o=e.getBrowInnerUp())&&t.writeFloat(3,o),0!==(o=e.getBrowOuterUpLeft())&&t.writeFloat(4,o),0!==(o=e.getBrowOuterUpRight())&&t.writeFloat(5,o),0!==(o=e.getCheekPuff())&&t.writeFloat(6,o),0!==(o=e.getCheekSquintLeft())&&t.writeFloat(7,o),0!==(o=e.getCheekSquintRight())&&t.writeFloat(8,o),0!==(o=e.getEyeBlinkLeft())&&t.writeFloat(9,o),0!==(o=e.getEyeBlinkRight())&&t.writeFloat(10,o),0!==(o=e.getEyeLookDownLeft())&&t.writeFloat(11,o),0!==(o=e.getEyeLookDownRight())&&t.writeFloat(12,o),0!==(o=e.getEyeLookInLeft())&&t.writeFloat(13,o),0!==(o=e.getEyeLookInRight())&&t.writeFloat(14,o),0!==(o=e.getEyeLookOutLeft())&&t.writeFloat(15,o),0!==(o=e.getEyeLookOutRight())&&t.writeFloat(16,o),0!==(o=e.getEyeLookUpLeft())&&t.writeFloat(17,o),0!==(o=e.getEyeLookUpRight())&&t.writeFloat(18,o),0!==(o=e.getEyeSquintLeft())&&t.writeFloat(19,o),0!==(o=e.getEyeSquintRight())&&t.writeFloat(20,o),0!==(o=e.getEyeWideLeft())&&t.writeFloat(21,o),0!==(o=e.getEyeWideRight())&&t.writeFloat(22,o),0!==(o=e.getJawForward())&&t.writeFloat(23,o),0!==(o=e.getJawLeft())&&t.writeFloat(24,o),0!==(o=e.getJawOpen())&&t.writeFloat(25,o),0!==(o=e.getJawRight())&&t.writeFloat(26,o),0!==(o=e.getMouthClose())&&t.writeFloat(27,o),0!==(o=e.getMouthDimpleLeft())&&t.writeFloat(28,o),0!==(o=e.getMouthDimpleRight())&&t.writeFloat(29,o),0!==(o=e.getMouthFrownLeft())&&t.writeFloat(30,o),0!==(o=e.getMouthFrownRight())&&t.writeFloat(31,o),0!==(o=e.getMouthFunnel())&&t.writeFloat(32,o),0!==(o=e.getMouthLeft())&&t.writeFloat(33,o),0!==(o=e.getMouthLowerDownLeft())&&t.writeFloat(34,o),0!==(o=e.getMouthLowerDownRight())&&t.writeFloat(35,o),0!==(o=e.getMouthPressLeft())&&t.writeFloat(36,o),0!==(o=e.getMouthPressRight())&&t.writeFloat(37,o),0!==(o=e.getMouthPucker())&&t.writeFloat(38,o),0!==(o=e.getMouthRight())&&t.writeFloat(39,o),0!==(o=e.getMouthRollLower())&&t.writeFloat(40,o),0!==(o=e.getMouthRollUpper())&&t.writeFloat(41,o),0!==(o=e.getMouthShrugLower())&&t.writeFloat(42,o),0!==(o=e.getMouthShrugUpper())&&t.writeFloat(43,o),0!==(o=e.getMouthSmileLeft())&&t.writeFloat(44,o),0!==(o=e.getMouthSmileRight())&&t.writeFloat(45,o),0!==(o=e.getMouthStretchLeft())&&t.writeFloat(46,o),0!==(o=e.getMouthStretchRight())&&t.writeFloat(47,o),0!==(o=e.getMouthUpperUpLeft())&&t.writeFloat(48,o),0!==(o=e.getMouthUpperUpRight())&&t.writeFloat(49,o),0!==(o=e.getNoseSneerLeft())&&t.writeFloat(50,o),0!==(o=e.getNoseSneerRight())&&t.writeFloat(51,o),0!==(o=e.getTongueOut())&&t.writeFloat(52,o)},proto.service.ARKitBlendShapes.prototype.getBrowDownLeft=function(){return+r.Message.getFieldWithDefault(this,1,0)},proto.service.ARKitBlendShapes.prototype.setBrowDownLeft=function(e){r.Message.setProto3FloatField(this,1,e)},proto.service.ARKitBlendShapes.prototype.getBrowDownRight=function(){return+r.Message.getFieldWithDefault(this,2,0)},proto.service.ARKitBlendShapes.prototype.setBrowDownRight=function(e){r.Message.setProto3FloatField(this,2,e)},proto.service.ARKitBlendShapes.prototype.getBrowInnerUp=function(){return+r.Message.getFieldWithDefault(this,3,0)},proto.service.ARKitBlendShapes.prototype.setBrowInnerUp=function(e){r.Message.setProto3FloatField(this,3,e)},proto.service.ARKitBlendShapes.prototype.getBrowOuterUpLeft=function(){return+r.Message.getFieldWithDefault(this,4,0)},proto.service.ARKitBlendShapes.prototype.setBrowOuterUpLeft=function(e){r.Message.setProto3FloatField(this,4,e)},proto.service.ARKitBlendShapes.prototype.getBrowOuterUpRight=function(){return+r.Message.getFieldWithDefault(this,5,0)},proto.service.ARKitBlendShapes.prototype.setBrowOuterUpRight=function(e){r.Message.setProto3FloatField(this,5,e)},proto.service.ARKitBlendShapes.prototype.getCheekPuff=function(){return+r.Message.getFieldWithDefault(this,6,0)},proto.service.ARKitBlendShapes.prototype.setCheekPuff=function(e){r.Message.setProto3FloatField(this,6,e)},proto.service.ARKitBlendShapes.prototype.getCheekSquintLeft=function(){return+r.Message.getFieldWithDefault(this,7,0)},proto.service.ARKitBlendShapes.prototype.setCheekSquintLeft=function(e){r.Message.setProto3FloatField(this,7,e)},proto.service.ARKitBlendShapes.prototype.getCheekSquintRight=function(){return+r.Message.getFieldWithDefault(this,8,0)},proto.service.ARKitBlendShapes.prototype.setCheekSquintRight=function(e){r.Message.setProto3FloatField(this,8,e)},proto.service.ARKitBlendShapes.prototype.getEyeBlinkLeft=function(){return+r.Message.getFieldWithDefault(this,9,0)},proto.service.ARKitBlendShapes.prototype.setEyeBlinkLeft=function(e){r.Message.setProto3FloatField(this,9,e)},proto.service.ARKitBlendShapes.prototype.getEyeBlinkRight=function(){return+r.Message.getFieldWithDefault(this,10,0)},proto.service.ARKitBlendShapes.prototype.setEyeBlinkRight=function(e){r.Message.setProto3FloatField(this,10,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookDownLeft=function(){return+r.Message.getFieldWithDefault(this,11,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookDownLeft=function(e){r.Message.setProto3FloatField(this,11,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookDownRight=function(){return+r.Message.getFieldWithDefault(this,12,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookDownRight=function(e){r.Message.setProto3FloatField(this,12,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookInLeft=function(){return+r.Message.getFieldWithDefault(this,13,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookInLeft=function(e){r.Message.setProto3FloatField(this,13,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookInRight=function(){return+r.Message.getFieldWithDefault(this,14,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookInRight=function(e){r.Message.setProto3FloatField(this,14,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookOutLeft=function(){return+r.Message.getFieldWithDefault(this,15,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookOutLeft=function(e){r.Message.setProto3FloatField(this,15,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookOutRight=function(){return+r.Message.getFieldWithDefault(this,16,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookOutRight=function(e){r.Message.setProto3FloatField(this,16,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookUpLeft=function(){return+r.Message.getFieldWithDefault(this,17,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookUpLeft=function(e){r.Message.setProto3FloatField(this,17,e)},proto.service.ARKitBlendShapes.prototype.getEyeLookUpRight=function(){return+r.Message.getFieldWithDefault(this,18,0)},proto.service.ARKitBlendShapes.prototype.setEyeLookUpRight=function(e){r.Message.setProto3FloatField(this,18,e)},proto.service.ARKitBlendShapes.prototype.getEyeSquintLeft=function(){return+r.Message.getFieldWithDefault(this,19,0)},proto.service.ARKitBlendShapes.prototype.setEyeSquintLeft=function(e){r.Message.setProto3FloatField(this,19,e)},proto.service.ARKitBlendShapes.prototype.getEyeSquintRight=function(){return+r.Message.getFieldWithDefault(this,20,0)},proto.service.ARKitBlendShapes.prototype.setEyeSquintRight=function(e){r.Message.setProto3FloatField(this,20,e)},proto.service.ARKitBlendShapes.prototype.getEyeWideLeft=function(){return+r.Message.getFieldWithDefault(this,21,0)},proto.service.ARKitBlendShapes.prototype.setEyeWideLeft=function(e){r.Message.setProto3FloatField(this,21,e)},proto.service.ARKitBlendShapes.prototype.getEyeWideRight=function(){return+r.Message.getFieldWithDefault(this,22,0)},proto.service.ARKitBlendShapes.prototype.setEyeWideRight=function(e){r.Message.setProto3FloatField(this,22,e)},proto.service.ARKitBlendShapes.prototype.getJawForward=function(){return+r.Message.getFieldWithDefault(this,23,0)},proto.service.ARKitBlendShapes.prototype.setJawForward=function(e){r.Message.setProto3FloatField(this,23,e)},proto.service.ARKitBlendShapes.prototype.getJawLeft=function(){return+r.Message.getFieldWithDefault(this,24,0)},proto.service.ARKitBlendShapes.prototype.setJawLeft=function(e){r.Message.setProto3FloatField(this,24,e)},proto.service.ARKitBlendShapes.prototype.getJawOpen=function(){return+r.Message.getFieldWithDefault(this,25,0)},proto.service.ARKitBlendShapes.prototype.setJawOpen=function(e){r.Message.setProto3FloatField(this,25,e)},proto.service.ARKitBlendShapes.prototype.getJawRight=function(){return+r.Message.getFieldWithDefault(this,26,0)},proto.service.ARKitBlendShapes.prototype.setJawRight=function(e){r.Message.setProto3FloatField(this,26,e)},proto.service.ARKitBlendShapes.prototype.getMouthClose=function(){return+r.Message.getFieldWithDefault(this,27,0)},proto.service.ARKitBlendShapes.prototype.setMouthClose=function(e){r.Message.setProto3FloatField(this,27,e)},proto.service.ARKitBlendShapes.prototype.getMouthDimpleLeft=function(){return+r.Message.getFieldWithDefault(this,28,0)},proto.service.ARKitBlendShapes.prototype.setMouthDimpleLeft=function(e){r.Message.setProto3FloatField(this,28,e)},proto.service.ARKitBlendShapes.prototype.getMouthDimpleRight=function(){return+r.Message.getFieldWithDefault(this,29,0)},proto.service.ARKitBlendShapes.prototype.setMouthDimpleRight=function(e){r.Message.setProto3FloatField(this,29,e)},proto.service.ARKitBlendShapes.prototype.getMouthFrownLeft=function(){return+r.Message.getFieldWithDefault(this,30,0)},proto.service.ARKitBlendShapes.prototype.setMouthFrownLeft=function(e){r.Message.setProto3FloatField(this,30,e)},proto.service.ARKitBlendShapes.prototype.getMouthFrownRight=function(){return+r.Message.getFieldWithDefault(this,31,0)},proto.service.ARKitBlendShapes.prototype.setMouthFrownRight=function(e){r.Message.setProto3FloatField(this,31,e)},proto.service.ARKitBlendShapes.prototype.getMouthFunnel=function(){return+r.Message.getFieldWithDefault(this,32,0)},proto.service.ARKitBlendShapes.prototype.setMouthFunnel=function(e){r.Message.setProto3FloatField(this,32,e)},proto.service.ARKitBlendShapes.prototype.getMouthLeft=function(){return+r.Message.getFieldWithDefault(this,33,0)},proto.service.ARKitBlendShapes.prototype.setMouthLeft=function(e){r.Message.setProto3FloatField(this,33,e)},proto.service.ARKitBlendShapes.prototype.getMouthLowerDownLeft=function(){return+r.Message.getFieldWithDefault(this,34,0)},proto.service.ARKitBlendShapes.prototype.setMouthLowerDownLeft=function(e){r.Message.setProto3FloatField(this,34,e)},proto.service.ARKitBlendShapes.prototype.getMouthLowerDownRight=function(){return+r.Message.getFieldWithDefault(this,35,0)},proto.service.ARKitBlendShapes.prototype.setMouthLowerDownRight=function(e){r.Message.setProto3FloatField(this,35,e)},proto.service.ARKitBlendShapes.prototype.getMouthPressLeft=function(){return+r.Message.getFieldWithDefault(this,36,0)},proto.service.ARKitBlendShapes.prototype.setMouthPressLeft=function(e){r.Message.setProto3FloatField(this,36,e)},proto.service.ARKitBlendShapes.prototype.getMouthPressRight=function(){return+r.Message.getFieldWithDefault(this,37,0)},proto.service.ARKitBlendShapes.prototype.setMouthPressRight=function(e){r.Message.setProto3FloatField(this,37,e)},proto.service.ARKitBlendShapes.prototype.getMouthPucker=function(){return+r.Message.getFieldWithDefault(this,38,0)},proto.service.ARKitBlendShapes.prototype.setMouthPucker=function(e){r.Message.setProto3FloatField(this,38,e)},proto.service.ARKitBlendShapes.prototype.getMouthRight=function(){return+r.Message.getFieldWithDefault(this,39,0)},proto.service.ARKitBlendShapes.prototype.setMouthRight=function(e){r.Message.setProto3FloatField(this,39,e)},proto.service.ARKitBlendShapes.prototype.getMouthRollLower=function(){return+r.Message.getFieldWithDefault(this,40,0)},proto.service.ARKitBlendShapes.prototype.setMouthRollLower=function(e){r.Message.setProto3FloatField(this,40,e)},proto.service.ARKitBlendShapes.prototype.getMouthRollUpper=function(){return+r.Message.getFieldWithDefault(this,41,0)},proto.service.ARKitBlendShapes.prototype.setMouthRollUpper=function(e){r.Message.setProto3FloatField(this,41,e)},proto.service.ARKitBlendShapes.prototype.getMouthShrugLower=function(){return+r.Message.getFieldWithDefault(this,42,0)},proto.service.ARKitBlendShapes.prototype.setMouthShrugLower=function(e){r.Message.setProto3FloatField(this,42,e)},proto.service.ARKitBlendShapes.prototype.getMouthShrugUpper=function(){return+r.Message.getFieldWithDefault(this,43,0)},proto.service.ARKitBlendShapes.prototype.setMouthShrugUpper=function(e){r.Message.setProto3FloatField(this,43,e)},proto.service.ARKitBlendShapes.prototype.getMouthSmileLeft=function(){return+r.Message.getFieldWithDefault(this,44,0)},proto.service.ARKitBlendShapes.prototype.setMouthSmileLeft=function(e){r.Message.setProto3FloatField(this,44,e)},proto.service.ARKitBlendShapes.prototype.getMouthSmileRight=function(){return+r.Message.getFieldWithDefault(this,45,0)},proto.service.ARKitBlendShapes.prototype.setMouthSmileRight=function(e){r.Message.setProto3FloatField(this,45,e)},proto.service.ARKitBlendShapes.prototype.getMouthStretchLeft=function(){return+r.Message.getFieldWithDefault(this,46,0)},proto.service.ARKitBlendShapes.prototype.setMouthStretchLeft=function(e){r.Message.setProto3FloatField(this,46,e)},proto.service.ARKitBlendShapes.prototype.getMouthStretchRight=function(){return+r.Message.getFieldWithDefault(this,47,0)},proto.service.ARKitBlendShapes.prototype.setMouthStretchRight=function(e){r.Message.setProto3FloatField(this,47,e)},proto.service.ARKitBlendShapes.prototype.getMouthUpperUpLeft=function(){return+r.Message.getFieldWithDefault(this,48,0)},proto.service.ARKitBlendShapes.prototype.setMouthUpperUpLeft=function(e){r.Message.setProto3FloatField(this,48,e)},proto.service.ARKitBlendShapes.prototype.getMouthUpperUpRight=function(){return+r.Message.getFieldWithDefault(this,49,0)},proto.service.ARKitBlendShapes.prototype.setMouthUpperUpRight=function(e){r.Message.setProto3FloatField(this,49,e)},proto.service.ARKitBlendShapes.prototype.getNoseSneerLeft=function(){return+r.Message.getFieldWithDefault(this,50,0)},proto.service.ARKitBlendShapes.prototype.setNoseSneerLeft=function(e){r.Message.setProto3FloatField(this,50,e)},proto.service.ARKitBlendShapes.prototype.getNoseSneerRight=function(){return+r.Message.getFieldWithDefault(this,51,0)},proto.service.ARKitBlendShapes.prototype.setNoseSneerRight=function(e){r.Message.setProto3FloatField(this,51,e)},proto.service.ARKitBlendShapes.prototype.getTongueOut=function(){return+r.Message.getFieldWithDefault(this,52,0)},proto.service.ARKitBlendShapes.prototype.setTongueOut=function(e){r.Message.setProto3FloatField(this,52,e)},s.object.extend(t,proto.service)},48:(e,t,o)=>{var r=o(339),s=r,i=Function("return this")(),n=o(720);s.exportSymbol("proto.service.ActionConfig",null,i),s.exportSymbol("proto.service.ActionConfig.Character",null,i),s.exportSymbol("proto.service.ActionConfig.Object",null,i),s.exportSymbol("proto.service.AudioConfig",null,i),s.exportSymbol("proto.service.BlendShapesData",null,i),s.exportSymbol("proto.service.EmotionResponse",null,i),s.exportSymbol("proto.service.FaceModel",null,i),s.exportSymbol("proto.service.FeedbackRequest",null,i),s.exportSymbol("proto.service.FeedbackRequest.Feedback",null,i),s.exportSymbol("proto.service.FeedbackResponse",null,i),s.exportSymbol("proto.service.GetResponseRequest",null,i),s.exportSymbol("proto.service.GetResponseRequest.GetResponseConfig",null,i),s.exportSymbol("proto.service.GetResponseRequest.GetResponseData",null,i),s.exportSymbol("proto.service.GetResponseRequestSingle",null,i),s.exportSymbol("proto.service.GetResponseResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.ActionResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.AudioResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.BehaviorTreeResponse",null,i),s.exportSymbol("proto.service.GetResponseResponse.UserTranscript",null,i),s.exportSymbol("proto.service.HelloRequest",null,i),s.exportSymbol("proto.service.HelloResponse",null,i),s.exportSymbol("proto.service.STTRequest",null,i),s.exportSymbol("proto.service.STTResponse",null,i),s.exportSymbol("proto.service.TriggerConfig",null,i),s.exportSymbol("proto.service.Viseme",null,i),s.exportSymbol("proto.service.VisemesData",null,i),proto.service.AudioConfig=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.AudioConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.AudioConfig.displayName="proto.service.AudioConfig"),r.Message.GENERATE_TO_OBJECT&&(proto.service.AudioConfig.prototype.toObject=function(e){return proto.service.AudioConfig.toObject(e,this)},proto.service.AudioConfig.toObject=function(e,t){var o={sampleRateHertz:r.Message.getFieldWithDefault(t,1,0),disableAudio:r.Message.getFieldWithDefault(t,2,!1),enableFacialData:r.Message.getFieldWithDefault(t,3,!1),faceModel:r.Message.getFieldWithDefault(t,4,0),enableFacialEmotionData:r.Message.getFieldWithDefault(t,5,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.AudioConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.AudioConfig;return proto.service.AudioConfig.deserializeBinaryFromReader(o,t)},proto.service.AudioConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setSampleRateHertz(o);break;case 2:o=t.readBool();e.setDisableAudio(o);break;case 3:o=t.readBool();e.setEnableFacialData(o);break;case 4:o=t.readEnum();e.setFaceModel(o);break;case 5:o=t.readBool();e.setEnableFacialEmotionData(o);break;default:t.skipField()}}return e},proto.service.AudioConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.AudioConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.AudioConfig.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getSampleRateHertz())&&t.writeInt32(1,o),(o=e.getDisableAudio())&&t.writeBool(2,o),(o=e.getEnableFacialData())&&t.writeBool(3,o),0!==(o=e.getFaceModel())&&t.writeEnum(4,o),(o=e.getEnableFacialEmotionData())&&t.writeBool(5,o)},proto.service.AudioConfig.prototype.getSampleRateHertz=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.service.AudioConfig.prototype.setSampleRateHertz=function(e){r.Message.setProto3IntField(this,1,e)},proto.service.AudioConfig.prototype.getDisableAudio=function(){return r.Message.getFieldWithDefault(this,2,!1)},proto.service.AudioConfig.prototype.setDisableAudio=function(e){r.Message.setProto3BooleanField(this,2,e)},proto.service.AudioConfig.prototype.getEnableFacialData=function(){return r.Message.getFieldWithDefault(this,3,!1)},proto.service.AudioConfig.prototype.setEnableFacialData=function(e){r.Message.setProto3BooleanField(this,3,e)},proto.service.AudioConfig.prototype.getFaceModel=function(){return r.Message.getFieldWithDefault(this,4,0)},proto.service.AudioConfig.prototype.setFaceModel=function(e){r.Message.setProto3EnumField(this,4,e)},proto.service.AudioConfig.prototype.getEnableFacialEmotionData=function(){return r.Message.getFieldWithDefault(this,5,!1)},proto.service.AudioConfig.prototype.setEnableFacialEmotionData=function(e){r.Message.setProto3BooleanField(this,5,e)},proto.service.TriggerConfig=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.TriggerConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.TriggerConfig.displayName="proto.service.TriggerConfig"),r.Message.GENERATE_TO_OBJECT&&(proto.service.TriggerConfig.prototype.toObject=function(e){return proto.service.TriggerConfig.toObject(e,this)},proto.service.TriggerConfig.toObject=function(e,t){var o={triggerName:r.Message.getFieldWithDefault(t,1,""),triggerMessage:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.TriggerConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.TriggerConfig;return proto.service.TriggerConfig.deserializeBinaryFromReader(o,t)},proto.service.TriggerConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setTriggerName(o);break;case 2:o=t.readString();e.setTriggerMessage(o);break;default:t.skipField()}}return e},proto.service.TriggerConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.TriggerConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.TriggerConfig.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getTriggerName()).length>0&&t.writeString(1,o),(o=e.getTriggerMessage()).length>0&&t.writeString(2,o)},proto.service.TriggerConfig.prototype.getTriggerName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.TriggerConfig.prototype.setTriggerName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.TriggerConfig.prototype.getTriggerMessage=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.TriggerConfig.prototype.setTriggerMessage=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.ActionConfig=function(e){r.Message.initialize(this,e,0,-1,proto.service.ActionConfig.repeatedFields_,null)},s.inherits(proto.service.ActionConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ActionConfig.displayName="proto.service.ActionConfig"),proto.service.ActionConfig.repeatedFields_=[1,2,3],r.Message.GENERATE_TO_OBJECT&&(proto.service.ActionConfig.prototype.toObject=function(e){return proto.service.ActionConfig.toObject(e,this)},proto.service.ActionConfig.toObject=function(e,t){var o={actionsList:r.Message.getRepeatedField(t,1),charactersList:r.Message.toObjectList(t.getCharactersList(),proto.service.ActionConfig.Character.toObject,e),objectsList:r.Message.toObjectList(t.getObjectsList(),proto.service.ActionConfig.Object.toObject,e),classification:r.Message.getFieldWithDefault(t,4,""),contextLevel:r.Message.getFieldWithDefault(t,5,0),currentAttentionObject:r.Message.getFieldWithDefault(t,6,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ActionConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ActionConfig;return proto.service.ActionConfig.deserializeBinaryFromReader(o,t)},proto.service.ActionConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.addActions(o);break;case 2:o=new proto.service.ActionConfig.Character;t.readMessage(o,proto.service.ActionConfig.Character.deserializeBinaryFromReader),e.addCharacters(o);break;case 3:o=new proto.service.ActionConfig.Object;t.readMessage(o,proto.service.ActionConfig.Object.deserializeBinaryFromReader),e.addObjects(o);break;case 4:o=t.readString();e.setClassification(o);break;case 5:o=t.readInt32();e.setContextLevel(o);break;case 6:o=t.readString();e.setCurrentAttentionObject(o);break;default:t.skipField()}}return e},proto.service.ActionConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ActionConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ActionConfig.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getActionsList()).length>0&&t.writeRepeatedString(1,o),(o=e.getCharactersList()).length>0&&t.writeRepeatedMessage(2,o,proto.service.ActionConfig.Character.serializeBinaryToWriter),(o=e.getObjectsList()).length>0&&t.writeRepeatedMessage(3,o,proto.service.ActionConfig.Object.serializeBinaryToWriter),(o=e.getClassification()).length>0&&t.writeString(4,o),0!==(o=e.getContextLevel())&&t.writeInt32(5,o),(o=e.getCurrentAttentionObject()).length>0&&t.writeString(6,o)},proto.service.ActionConfig.Character=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ActionConfig.Character,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ActionConfig.Character.displayName="proto.service.ActionConfig.Character"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ActionConfig.Character.prototype.toObject=function(e){return proto.service.ActionConfig.Character.toObject(e,this)},proto.service.ActionConfig.Character.toObject=function(e,t){var o={name:r.Message.getFieldWithDefault(t,1,""),bio:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ActionConfig.Character.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ActionConfig.Character;return proto.service.ActionConfig.Character.deserializeBinaryFromReader(o,t)},proto.service.ActionConfig.Character.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setBio(o);break;default:t.skipField()}}return e},proto.service.ActionConfig.Character.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ActionConfig.Character.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ActionConfig.Character.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getBio()).length>0&&t.writeString(2,o)},proto.service.ActionConfig.Character.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.ActionConfig.Character.prototype.setName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.ActionConfig.Character.prototype.getBio=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.ActionConfig.Character.prototype.setBio=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.ActionConfig.Object=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.ActionConfig.Object,r.Message),s.DEBUG&&!COMPILED&&(proto.service.ActionConfig.Object.displayName="proto.service.ActionConfig.Object"),r.Message.GENERATE_TO_OBJECT&&(proto.service.ActionConfig.Object.prototype.toObject=function(e){return proto.service.ActionConfig.Object.toObject(e,this)},proto.service.ActionConfig.Object.toObject=function(e,t){var o={name:r.Message.getFieldWithDefault(t,1,""),description:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.ActionConfig.Object.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.ActionConfig.Object;return proto.service.ActionConfig.Object.deserializeBinaryFromReader(o,t)},proto.service.ActionConfig.Object.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setDescription(o);break;default:t.skipField()}}return e},proto.service.ActionConfig.Object.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.ActionConfig.Object.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.ActionConfig.Object.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getDescription()).length>0&&t.writeString(2,o)},proto.service.ActionConfig.Object.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.ActionConfig.Object.prototype.setName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.ActionConfig.Object.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.ActionConfig.Object.prototype.setDescription=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.ActionConfig.prototype.getActionsList=function(){return r.Message.getRepeatedField(this,1)},proto.service.ActionConfig.prototype.setActionsList=function(e){r.Message.setField(this,1,e||[])},proto.service.ActionConfig.prototype.addActions=function(e,t){r.Message.addToRepeatedField(this,1,e,t)},proto.service.ActionConfig.prototype.clearActionsList=function(){this.setActionsList([])},proto.service.ActionConfig.prototype.getCharactersList=function(){return r.Message.getRepeatedWrapperField(this,proto.service.ActionConfig.Character,2)},proto.service.ActionConfig.prototype.setCharactersList=function(e){r.Message.setRepeatedWrapperField(this,2,e)},proto.service.ActionConfig.prototype.addCharacters=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.service.ActionConfig.Character,t)},proto.service.ActionConfig.prototype.clearCharactersList=function(){this.setCharactersList([])},proto.service.ActionConfig.prototype.getObjectsList=function(){return r.Message.getRepeatedWrapperField(this,proto.service.ActionConfig.Object,3)},proto.service.ActionConfig.prototype.setObjectsList=function(e){r.Message.setRepeatedWrapperField(this,3,e)},proto.service.ActionConfig.prototype.addObjects=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.service.ActionConfig.Object,t)},proto.service.ActionConfig.prototype.clearObjectsList=function(){this.setObjectsList([])},proto.service.ActionConfig.prototype.getClassification=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.service.ActionConfig.prototype.setClassification=function(e){r.Message.setProto3StringField(this,4,e)},proto.service.ActionConfig.prototype.getContextLevel=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.service.ActionConfig.prototype.setContextLevel=function(e){r.Message.setProto3IntField(this,5,e)},proto.service.ActionConfig.prototype.getCurrentAttentionObject=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.service.ActionConfig.prototype.setCurrentAttentionObject=function(e){r.Message.setProto3StringField(this,6,e)},proto.service.STTRequest=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.STTRequest.oneofGroups_)},s.inherits(proto.service.STTRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.service.STTRequest.displayName="proto.service.STTRequest"),proto.service.STTRequest.oneofGroups_=[[1,2]],proto.service.STTRequest.RequestTypeCase={REQUEST_TYPE_NOT_SET:0,AUDIO_CONFIG:1,AUDIO_CHUNK:2},proto.service.STTRequest.prototype.getRequestTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.STTRequest.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.STTRequest.prototype.toObject=function(e){return proto.service.STTRequest.toObject(e,this)},proto.service.STTRequest.toObject=function(e,t){var o,r={audioConfig:(o=t.getAudioConfig())&&proto.service.AudioConfig.toObject(e,o),audioChunk:t.getAudioChunk_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.service.STTRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.STTRequest;return proto.service.STTRequest.deserializeBinaryFromReader(o,t)},proto.service.STTRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.service.AudioConfig;t.readMessage(o,proto.service.AudioConfig.deserializeBinaryFromReader),e.setAudioConfig(o);break;case 2:o=t.readBytes();e.setAudioChunk(o);break;default:t.skipField()}}return e},proto.service.STTRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.STTRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.STTRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getAudioConfig())&&t.writeMessage(1,o,proto.service.AudioConfig.serializeBinaryToWriter),null!=(o=r.Message.getField(e,2))&&t.writeBytes(2,o)},proto.service.STTRequest.prototype.getAudioConfig=function(){return r.Message.getWrapperField(this,proto.service.AudioConfig,1)},proto.service.STTRequest.prototype.setAudioConfig=function(e){r.Message.setOneofWrapperField(this,1,proto.service.STTRequest.oneofGroups_[0],e)},proto.service.STTRequest.prototype.clearAudioConfig=function(){this.setAudioConfig(void 0)},proto.service.STTRequest.prototype.hasAudioConfig=function(){return null!=r.Message.getField(this,1)},proto.service.STTRequest.prototype.getAudioChunk=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.STTRequest.prototype.getAudioChunk_asB64=function(){return r.Message.bytesAsB64(this.getAudioChunk())},proto.service.STTRequest.prototype.getAudioChunk_asU8=function(){return r.Message.bytesAsU8(this.getAudioChunk())},proto.service.STTRequest.prototype.setAudioChunk=function(e){r.Message.setOneofField(this,2,proto.service.STTRequest.oneofGroups_[0],e)},proto.service.STTRequest.prototype.clearAudioChunk=function(){r.Message.setOneofField(this,2,proto.service.STTRequest.oneofGroups_[0],void 0)},proto.service.STTRequest.prototype.hasAudioChunk=function(){return null!=r.Message.getField(this,2)},proto.service.STTResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.STTResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.STTResponse.displayName="proto.service.STTResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.STTResponse.prototype.toObject=function(e){return proto.service.STTResponse.toObject(e,this)},proto.service.STTResponse.toObject=function(e,t){var o={text:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.STTResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.STTResponse;return proto.service.STTResponse.deserializeBinaryFromReader(o,t)},proto.service.STTResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setText(o)}else t.skipField()}return e},proto.service.STTResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.STTResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.STTResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getText()).length>0&&t.writeString(1,o)},proto.service.STTResponse.prototype.getText=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.STTResponse.prototype.setText=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.GetResponseRequest=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.GetResponseRequest.oneofGroups_)},s.inherits(proto.service.GetResponseRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseRequest.displayName="proto.service.GetResponseRequest"),proto.service.GetResponseRequest.oneofGroups_=[[1,2]],proto.service.GetResponseRequest.RequestTypeCase={REQUEST_TYPE_NOT_SET:0,GET_RESPONSE_CONFIG:1,GET_RESPONSE_DATA:2},proto.service.GetResponseRequest.prototype.getRequestTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.GetResponseRequest.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseRequest.prototype.toObject=function(e){return proto.service.GetResponseRequest.toObject(e,this)},proto.service.GetResponseRequest.toObject=function(e,t){var o,r={getResponseConfig:(o=t.getGetResponseConfig())&&proto.service.GetResponseRequest.GetResponseConfig.toObject(e,o),getResponseData:(o=t.getGetResponseData())&&proto.service.GetResponseRequest.GetResponseData.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.service.GetResponseRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseRequest;return proto.service.GetResponseRequest.deserializeBinaryFromReader(o,t)},proto.service.GetResponseRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.service.GetResponseRequest.GetResponseConfig;t.readMessage(o,proto.service.GetResponseRequest.GetResponseConfig.deserializeBinaryFromReader),e.setGetResponseConfig(o);break;case 2:o=new proto.service.GetResponseRequest.GetResponseData;t.readMessage(o,proto.service.GetResponseRequest.GetResponseData.deserializeBinaryFromReader),e.setGetResponseData(o);break;default:t.skipField()}}return e},proto.service.GetResponseRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getGetResponseConfig())&&t.writeMessage(1,o,proto.service.GetResponseRequest.GetResponseConfig.serializeBinaryToWriter),null!=(o=e.getGetResponseData())&&t.writeMessage(2,o,proto.service.GetResponseRequest.GetResponseData.serializeBinaryToWriter)},proto.service.GetResponseRequest.GetResponseConfig=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.GetResponseRequest.GetResponseConfig,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseRequest.GetResponseConfig.displayName="proto.service.GetResponseRequest.GetResponseConfig"),r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseRequest.GetResponseConfig.prototype.toObject=function(e){return proto.service.GetResponseRequest.GetResponseConfig.toObject(e,this)},proto.service.GetResponseRequest.GetResponseConfig.toObject=function(e,t){var o,s={characterId:r.Message.getFieldWithDefault(t,2,""),apiKey:r.Message.getFieldWithDefault(t,3,""),sessionId:r.Message.getFieldWithDefault(t,4,""),audioConfig:(o=t.getAudioConfig())&&proto.service.AudioConfig.toObject(e,o),actionConfig:(o=t.getActionConfig())&&proto.service.ActionConfig.toObject(e,o),speaker:r.Message.getFieldWithDefault(t,7,""),languageCode:r.Message.getFieldWithDefault(t,8,""),speakerId:r.Message.getFieldWithDefault(t,9,""),apiAuthToken:r.Message.getFieldWithDefault(t,10,""),narrativeTemplateKeysMap:(o=t.getNarrativeTemplateKeysMap())?o.toObject(e,void 0):[]};return e&&(s.$jspbMessageInstance=t),s}),proto.service.GetResponseRequest.GetResponseConfig.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseRequest.GetResponseConfig;return proto.service.GetResponseRequest.GetResponseConfig.deserializeBinaryFromReader(o,t)},proto.service.GetResponseRequest.GetResponseConfig.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 2:var o=t.readString();e.setCharacterId(o);break;case 3:o=t.readString();e.setApiKey(o);break;case 4:o=t.readString();e.setSessionId(o);break;case 5:o=new proto.service.AudioConfig;t.readMessage(o,proto.service.AudioConfig.deserializeBinaryFromReader),e.setAudioConfig(o);break;case 6:o=new proto.service.ActionConfig;t.readMessage(o,proto.service.ActionConfig.deserializeBinaryFromReader),e.setActionConfig(o);break;case 7:o=t.readString();e.setSpeaker(o);break;case 8:o=t.readString();e.setLanguageCode(o);break;case 9:o=t.readString();e.setSpeakerId(o);break;case 10:o=t.readString();e.setApiAuthToken(o);break;case 11:o=e.getNarrativeTemplateKeysMap();t.readMessage(o,(function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readString,null,"")}));break;default:t.skipField()}}return e},proto.service.GetResponseRequest.GetResponseConfig.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseRequest.GetResponseConfig.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseRequest.GetResponseConfig.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getCharacterId()).length>0&&t.writeString(2,o),(o=e.getApiKey()).length>0&&t.writeString(3,o),(o=e.getSessionId()).length>0&&t.writeString(4,o),null!=(o=e.getAudioConfig())&&t.writeMessage(5,o,proto.service.AudioConfig.serializeBinaryToWriter),null!=(o=e.getActionConfig())&&t.writeMessage(6,o,proto.service.ActionConfig.serializeBinaryToWriter),(o=e.getSpeaker()).length>0&&t.writeString(7,o),(o=e.getLanguageCode()).length>0&&t.writeString(8,o),(o=e.getSpeakerId()).length>0&&t.writeString(9,o),(o=e.getApiAuthToken()).length>0&&t.writeString(10,o),(o=e.getNarrativeTemplateKeysMap(!0))&&o.getLength()>0&&o.serializeBinary(11,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeString)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getCharacterId=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setCharacterId=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getApiKey=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setApiKey=function(e){r.Message.setProto3StringField(this,3,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getSessionId=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setSessionId=function(e){r.Message.setProto3StringField(this,4,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getAudioConfig=function(){return r.Message.getWrapperField(this,proto.service.AudioConfig,5)},proto.service.GetResponseRequest.GetResponseConfig.prototype.setAudioConfig=function(e){r.Message.setWrapperField(this,5,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.clearAudioConfig=function(){this.setAudioConfig(void 0)},proto.service.GetResponseRequest.GetResponseConfig.prototype.hasAudioConfig=function(){return null!=r.Message.getField(this,5)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getActionConfig=function(){return r.Message.getWrapperField(this,proto.service.ActionConfig,6)},proto.service.GetResponseRequest.GetResponseConfig.prototype.setActionConfig=function(e){r.Message.setWrapperField(this,6,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.clearActionConfig=function(){this.setActionConfig(void 0)},proto.service.GetResponseRequest.GetResponseConfig.prototype.hasActionConfig=function(){return null!=r.Message.getField(this,6)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getSpeaker=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setSpeaker=function(e){r.Message.setProto3StringField(this,7,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getLanguageCode=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setLanguageCode=function(e){r.Message.setProto3StringField(this,8,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getSpeakerId=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setSpeakerId=function(e){r.Message.setProto3StringField(this,9,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getApiAuthToken=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.service.GetResponseRequest.GetResponseConfig.prototype.setApiAuthToken=function(e){r.Message.setProto3StringField(this,10,e)},proto.service.GetResponseRequest.GetResponseConfig.prototype.getNarrativeTemplateKeysMap=function(e){return r.Message.getMapField(this,11,e,null)},proto.service.GetResponseRequest.GetResponseConfig.prototype.clearNarrativeTemplateKeysMap=function(){this.getNarrativeTemplateKeysMap().clear()},proto.service.GetResponseRequest.GetResponseData=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.GetResponseRequest.GetResponseData.oneofGroups_)},s.inherits(proto.service.GetResponseRequest.GetResponseData,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseRequest.GetResponseData.displayName="proto.service.GetResponseRequest.GetResponseData"),proto.service.GetResponseRequest.GetResponseData.oneofGroups_=[[1,2,3]],proto.service.GetResponseRequest.GetResponseData.InputTypeCase={INPUT_TYPE_NOT_SET:0,AUDIO_DATA:1,TEXT_DATA:2,TRIGGER_DATA:3},proto.service.GetResponseRequest.GetResponseData.prototype.getInputTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.GetResponseRequest.GetResponseData.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseRequest.GetResponseData.prototype.toObject=function(e){return proto.service.GetResponseRequest.GetResponseData.toObject(e,this)},proto.service.GetResponseRequest.GetResponseData.toObject=function(e,t){var o,s={audioData:t.getAudioData_asB64(),textData:r.Message.getFieldWithDefault(t,2,""),triggerData:(o=t.getTriggerData())&&proto.service.TriggerConfig.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.service.GetResponseRequest.GetResponseData.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseRequest.GetResponseData;return proto.service.GetResponseRequest.GetResponseData.deserializeBinaryFromReader(o,t)},proto.service.GetResponseRequest.GetResponseData.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBytes();e.setAudioData(o);break;case 2:o=t.readString();e.setTextData(o);break;case 3:o=new proto.service.TriggerConfig;t.readMessage(o,proto.service.TriggerConfig.deserializeBinaryFromReader),e.setTriggerData(o);break;default:t.skipField()}}return e},proto.service.GetResponseRequest.GetResponseData.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseRequest.GetResponseData.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseRequest.GetResponseData.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeBytes(1,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),null!=(o=e.getTriggerData())&&t.writeMessage(3,o,proto.service.TriggerConfig.serializeBinaryToWriter)},proto.service.GetResponseRequest.GetResponseData.prototype.getAudioData=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.GetResponseRequest.GetResponseData.prototype.getAudioData_asB64=function(){return r.Message.bytesAsB64(this.getAudioData())},proto.service.GetResponseRequest.GetResponseData.prototype.getAudioData_asU8=function(){return r.Message.bytesAsU8(this.getAudioData())},proto.service.GetResponseRequest.GetResponseData.prototype.setAudioData=function(e){r.Message.setOneofField(this,1,proto.service.GetResponseRequest.GetResponseData.oneofGroups_[0],e)},proto.service.GetResponseRequest.GetResponseData.prototype.clearAudioData=function(){r.Message.setOneofField(this,1,proto.service.GetResponseRequest.GetResponseData.oneofGroups_[0],void 0)},proto.service.GetResponseRequest.GetResponseData.prototype.hasAudioData=function(){return null!=r.Message.getField(this,1)},proto.service.GetResponseRequest.GetResponseData.prototype.getTextData=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.GetResponseRequest.GetResponseData.prototype.setTextData=function(e){r.Message.setOneofField(this,2,proto.service.GetResponseRequest.GetResponseData.oneofGroups_[0],e)},proto.service.GetResponseRequest.GetResponseData.prototype.clearTextData=function(){r.Message.setOneofField(this,2,proto.service.GetResponseRequest.GetResponseData.oneofGroups_[0],void 0)},proto.service.GetResponseRequest.GetResponseData.prototype.hasTextData=function(){return null!=r.Message.getField(this,2)},proto.service.GetResponseRequest.GetResponseData.prototype.getTriggerData=function(){return r.Message.getWrapperField(this,proto.service.TriggerConfig,3)},proto.service.GetResponseRequest.GetResponseData.prototype.setTriggerData=function(e){r.Message.setOneofWrapperField(this,3,proto.service.GetResponseRequest.GetResponseData.oneofGroups_[0],e)},proto.service.GetResponseRequest.GetResponseData.prototype.clearTriggerData=function(){this.setTriggerData(void 0)},proto.service.GetResponseRequest.GetResponseData.prototype.hasTriggerData=function(){return null!=r.Message.getField(this,3)},proto.service.GetResponseRequest.prototype.getGetResponseConfig=function(){return r.Message.getWrapperField(this,proto.service.GetResponseRequest.GetResponseConfig,1)},proto.service.GetResponseRequest.prototype.setGetResponseConfig=function(e){r.Message.setOneofWrapperField(this,1,proto.service.GetResponseRequest.oneofGroups_[0],e)},proto.service.GetResponseRequest.prototype.clearGetResponseConfig=function(){this.setGetResponseConfig(void 0)},proto.service.GetResponseRequest.prototype.hasGetResponseConfig=function(){return null!=r.Message.getField(this,1)},proto.service.GetResponseRequest.prototype.getGetResponseData=function(){return r.Message.getWrapperField(this,proto.service.GetResponseRequest.GetResponseData,2)},proto.service.GetResponseRequest.prototype.setGetResponseData=function(e){r.Message.setOneofWrapperField(this,2,proto.service.GetResponseRequest.oneofGroups_[0],e)},proto.service.GetResponseRequest.prototype.clearGetResponseData=function(){this.setGetResponseData(void 0)},proto.service.GetResponseRequest.prototype.hasGetResponseData=function(){return null!=r.Message.getField(this,2)},proto.service.GetResponseRequestSingle=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.GetResponseRequestSingle,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseRequestSingle.displayName="proto.service.GetResponseRequestSingle"),r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseRequestSingle.prototype.toObject=function(e){return proto.service.GetResponseRequestSingle.toObject(e,this)},proto.service.GetResponseRequestSingle.toObject=function(e,t){var o,r={responseConfig:(o=t.getResponseConfig())&&proto.service.GetResponseRequest.toObject(e,o),responseData:(o=t.getResponseData())&&proto.service.GetResponseRequest.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.service.GetResponseRequestSingle.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseRequestSingle;return proto.service.GetResponseRequestSingle.deserializeBinaryFromReader(o,t)},proto.service.GetResponseRequestSingle.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.service.GetResponseRequest;t.readMessage(o,proto.service.GetResponseRequest.deserializeBinaryFromReader),e.setResponseConfig(o);break;case 2:o=new proto.service.GetResponseRequest;t.readMessage(o,proto.service.GetResponseRequest.deserializeBinaryFromReader),e.setResponseData(o);break;default:t.skipField()}}return e},proto.service.GetResponseRequestSingle.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseRequestSingle.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseRequestSingle.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getResponseConfig())&&t.writeMessage(1,o,proto.service.GetResponseRequest.serializeBinaryToWriter),null!=(o=e.getResponseData())&&t.writeMessage(2,o,proto.service.GetResponseRequest.serializeBinaryToWriter)},proto.service.GetResponseRequestSingle.prototype.getResponseConfig=function(){return r.Message.getWrapperField(this,proto.service.GetResponseRequest,1)},proto.service.GetResponseRequestSingle.prototype.setResponseConfig=function(e){r.Message.setWrapperField(this,1,e)},proto.service.GetResponseRequestSingle.prototype.clearResponseConfig=function(){this.setResponseConfig(void 0)},proto.service.GetResponseRequestSingle.prototype.hasResponseConfig=function(){return null!=r.Message.getField(this,1)},proto.service.GetResponseRequestSingle.prototype.getResponseData=function(){return r.Message.getWrapperField(this,proto.service.GetResponseRequest,2)},proto.service.GetResponseRequestSingle.prototype.setResponseData=function(e){r.Message.setWrapperField(this,2,e)},proto.service.GetResponseRequestSingle.prototype.clearResponseData=function(){this.setResponseData(void 0)},proto.service.GetResponseRequestSingle.prototype.hasResponseData=function(){return null!=r.Message.getField(this,2)},proto.service.GetResponseResponse=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.GetResponseResponse.oneofGroups_)},s.inherits(proto.service.GetResponseResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseResponse.displayName="proto.service.GetResponseResponse"),proto.service.GetResponseResponse.oneofGroups_=[[2,3,4,5,6,7,8]],proto.service.GetResponseResponse.ResponseTypeCase={RESPONSE_TYPE_NOT_SET:0,ACTION_RESPONSE:2,AUDIO_RESPONSE:3,DEBUG_LOG:4,USER_QUERY:5,BT_RESPONSE:6,EMOTION_RESPONSE:7,INTERACTION_ID:8},proto.service.GetResponseResponse.prototype.getResponseTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.GetResponseResponse.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseResponse.prototype.toObject=function(e){return proto.service.GetResponseResponse.toObject(e,this)},proto.service.GetResponseResponse.toObject=function(e,t){var o,s={sessionId:r.Message.getFieldWithDefault(t,1,""),actionResponse:(o=t.getActionResponse())&&proto.service.GetResponseResponse.ActionResponse.toObject(e,o),audioResponse:(o=t.getAudioResponse())&&proto.service.GetResponseResponse.AudioResponse.toObject(e,o),debugLog:r.Message.getFieldWithDefault(t,4,""),userQuery:(o=t.getUserQuery())&&proto.service.GetResponseResponse.UserTranscript.toObject(e,o),btResponse:(o=t.getBtResponse())&&proto.service.GetResponseResponse.BehaviorTreeResponse.toObject(e,o),emotionResponse:r.Message.getFieldWithDefault(t,7,""),interactionId:r.Message.getFieldWithDefault(t,8,"")};return e&&(s.$jspbMessageInstance=t),s}),proto.service.GetResponseResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseResponse;return proto.service.GetResponseResponse.deserializeBinaryFromReader(o,t)},proto.service.GetResponseResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setSessionId(o);break;case 2:o=new proto.service.GetResponseResponse.ActionResponse;t.readMessage(o,proto.service.GetResponseResponse.ActionResponse.deserializeBinaryFromReader),e.setActionResponse(o);break;case 3:o=new proto.service.GetResponseResponse.AudioResponse;t.readMessage(o,proto.service.GetResponseResponse.AudioResponse.deserializeBinaryFromReader),e.setAudioResponse(o);break;case 4:o=t.readString();e.setDebugLog(o);break;case 5:o=new proto.service.GetResponseResponse.UserTranscript;t.readMessage(o,proto.service.GetResponseResponse.UserTranscript.deserializeBinaryFromReader),e.setUserQuery(o);break;case 6:o=new proto.service.GetResponseResponse.BehaviorTreeResponse;t.readMessage(o,proto.service.GetResponseResponse.BehaviorTreeResponse.deserializeBinaryFromReader),e.setBtResponse(o);break;case 7:o=t.readString();e.setEmotionResponse(o);break;case 8:o=t.readString();e.setInteractionId(o);break;default:t.skipField()}}return e},proto.service.GetResponseResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getSessionId()).length>0&&t.writeString(1,o),null!=(o=e.getActionResponse())&&t.writeMessage(2,o,proto.service.GetResponseResponse.ActionResponse.serializeBinaryToWriter),null!=(o=e.getAudioResponse())&&t.writeMessage(3,o,proto.service.GetResponseResponse.AudioResponse.serializeBinaryToWriter),null!=(o=r.Message.getField(e,4))&&t.writeString(4,o),null!=(o=e.getUserQuery())&&t.writeMessage(5,o,proto.service.GetResponseResponse.UserTranscript.serializeBinaryToWriter),null!=(o=e.getBtResponse())&&t.writeMessage(6,o,proto.service.GetResponseResponse.BehaviorTreeResponse.serializeBinaryToWriter),null!=(o=r.Message.getField(e,7))&&t.writeString(7,o),null!=(o=r.Message.getField(e,8))&&t.writeString(8,o)},proto.service.GetResponseResponse.AudioResponse=function(e){r.Message.initialize(this,e,0,-1,null,proto.service.GetResponseResponse.AudioResponse.oneofGroups_)},s.inherits(proto.service.GetResponseResponse.AudioResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseResponse.AudioResponse.displayName="proto.service.GetResponseResponse.AudioResponse"),proto.service.GetResponseResponse.AudioResponse.oneofGroups_=[[6,7]],proto.service.GetResponseResponse.AudioResponse.FaceDataTypeCase={FACE_DATA_TYPE_NOT_SET:0,VISEMES_DATA:6,BLENDSHAPES_DATA:7},proto.service.GetResponseResponse.AudioResponse.prototype.getFaceDataTypeCase=function(){return r.Message.computeOneofCase(this,proto.service.GetResponseResponse.AudioResponse.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseResponse.AudioResponse.prototype.toObject=function(e){return proto.service.GetResponseResponse.AudioResponse.toObject(e,this)},proto.service.GetResponseResponse.AudioResponse.toObject=function(e,t){var o,s={audioData:t.getAudioData_asB64(),audioConfig:(o=t.getAudioConfig())&&proto.service.AudioConfig.toObject(e,o),textData:r.Message.getFieldWithDefault(t,3,""),endOfResponse:r.Message.getFieldWithDefault(t,4,!1),faceData:r.Message.getFieldWithDefault(t,5,""),visemesData:(o=t.getVisemesData())&&proto.service.VisemesData.toObject(e,o),blendshapesData:(o=t.getBlendshapesData())&&proto.service.BlendShapesData.toObject(e,o),faceEmotion:(o=t.getFaceEmotion())&&n.ARKitBlendShapesData.toObject(e,o),emotionResponse:(o=t.getEmotionResponse())&&proto.service.EmotionResponse.toObject(e,o)};return e&&(s.$jspbMessageInstance=t),s}),proto.service.GetResponseResponse.AudioResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseResponse.AudioResponse;return proto.service.GetResponseResponse.AudioResponse.deserializeBinaryFromReader(o,t)},proto.service.GetResponseResponse.AudioResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBytes();e.setAudioData(o);break;case 2:o=new proto.service.AudioConfig;t.readMessage(o,proto.service.AudioConfig.deserializeBinaryFromReader),e.setAudioConfig(o);break;case 3:o=t.readString();e.setTextData(o);break;case 4:o=t.readBool();e.setEndOfResponse(o);break;case 5:o=t.readString();e.setFaceData(o);break;case 6:o=new proto.service.VisemesData;t.readMessage(o,proto.service.VisemesData.deserializeBinaryFromReader),e.setVisemesData(o);break;case 7:o=new proto.service.BlendShapesData;t.readMessage(o,proto.service.BlendShapesData.deserializeBinaryFromReader),e.setBlendshapesData(o);break;case 8:o=new n.ARKitBlendShapesData;t.readMessage(o,n.ARKitBlendShapesData.deserializeBinaryFromReader),e.setFaceEmotion(o);break;case 9:o=new proto.service.EmotionResponse;t.readMessage(o,proto.service.EmotionResponse.deserializeBinaryFromReader),e.setEmotionResponse(o);break;default:t.skipField()}}return e},proto.service.GetResponseResponse.AudioResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseResponse.AudioResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseResponse.AudioResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAudioData_asU8()).length>0&&t.writeBytes(1,o),null!=(o=e.getAudioConfig())&&t.writeMessage(2,o,proto.service.AudioConfig.serializeBinaryToWriter),(o=e.getTextData()).length>0&&t.writeString(3,o),(o=e.getEndOfResponse())&&t.writeBool(4,o),(o=e.getFaceData()).length>0&&t.writeString(5,o),null!=(o=e.getVisemesData())&&t.writeMessage(6,o,proto.service.VisemesData.serializeBinaryToWriter),null!=(o=e.getBlendshapesData())&&t.writeMessage(7,o,proto.service.BlendShapesData.serializeBinaryToWriter),null!=(o=e.getFaceEmotion())&&t.writeMessage(8,o,n.ARKitBlendShapesData.serializeBinaryToWriter),null!=(o=e.getEmotionResponse())&&t.writeMessage(9,o,proto.service.EmotionResponse.serializeBinaryToWriter)},proto.service.GetResponseResponse.AudioResponse.prototype.getAudioData=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.GetResponseResponse.AudioResponse.prototype.getAudioData_asB64=function(){return r.Message.bytesAsB64(this.getAudioData())},proto.service.GetResponseResponse.AudioResponse.prototype.getAudioData_asU8=function(){return r.Message.bytesAsU8(this.getAudioData())},proto.service.GetResponseResponse.AudioResponse.prototype.setAudioData=function(e){r.Message.setProto3BytesField(this,1,e)},proto.service.GetResponseResponse.AudioResponse.prototype.getAudioConfig=function(){return r.Message.getWrapperField(this,proto.service.AudioConfig,2)},proto.service.GetResponseResponse.AudioResponse.prototype.setAudioConfig=function(e){r.Message.setWrapperField(this,2,e)},proto.service.GetResponseResponse.AudioResponse.prototype.clearAudioConfig=function(){this.setAudioConfig(void 0)},proto.service.GetResponseResponse.AudioResponse.prototype.hasAudioConfig=function(){return null!=r.Message.getField(this,2)},proto.service.GetResponseResponse.AudioResponse.prototype.getTextData=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.service.GetResponseResponse.AudioResponse.prototype.setTextData=function(e){r.Message.setProto3StringField(this,3,e)},proto.service.GetResponseResponse.AudioResponse.prototype.getEndOfResponse=function(){return r.Message.getFieldWithDefault(this,4,!1)},proto.service.GetResponseResponse.AudioResponse.prototype.setEndOfResponse=function(e){r.Message.setProto3BooleanField(this,4,e)},proto.service.GetResponseResponse.AudioResponse.prototype.getFaceData=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.service.GetResponseResponse.AudioResponse.prototype.setFaceData=function(e){r.Message.setProto3StringField(this,5,e)},proto.service.GetResponseResponse.AudioResponse.prototype.getVisemesData=function(){return r.Message.getWrapperField(this,proto.service.VisemesData,6)},proto.service.GetResponseResponse.AudioResponse.prototype.setVisemesData=function(e){r.Message.setOneofWrapperField(this,6,proto.service.GetResponseResponse.AudioResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.AudioResponse.prototype.clearVisemesData=function(){this.setVisemesData(void 0)},proto.service.GetResponseResponse.AudioResponse.prototype.hasVisemesData=function(){return null!=r.Message.getField(this,6)},proto.service.GetResponseResponse.AudioResponse.prototype.getBlendshapesData=function(){return r.Message.getWrapperField(this,proto.service.BlendShapesData,7)},proto.service.GetResponseResponse.AudioResponse.prototype.setBlendshapesData=function(e){r.Message.setOneofWrapperField(this,7,proto.service.GetResponseResponse.AudioResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.AudioResponse.prototype.clearBlendshapesData=function(){this.setBlendshapesData(void 0)},proto.service.GetResponseResponse.AudioResponse.prototype.hasBlendshapesData=function(){return null!=r.Message.getField(this,7)},proto.service.GetResponseResponse.AudioResponse.prototype.getFaceEmotion=function(){return r.Message.getWrapperField(this,n.ARKitBlendShapesData,8)},proto.service.GetResponseResponse.AudioResponse.prototype.setFaceEmotion=function(e){r.Message.setWrapperField(this,8,e)},proto.service.GetResponseResponse.AudioResponse.prototype.clearFaceEmotion=function(){this.setFaceEmotion(void 0)},proto.service.GetResponseResponse.AudioResponse.prototype.hasFaceEmotion=function(){return null!=r.Message.getField(this,8)},proto.service.GetResponseResponse.AudioResponse.prototype.getEmotionResponse=function(){return r.Message.getWrapperField(this,proto.service.EmotionResponse,9)},proto.service.GetResponseResponse.AudioResponse.prototype.setEmotionResponse=function(e){r.Message.setWrapperField(this,9,e)},proto.service.GetResponseResponse.AudioResponse.prototype.clearEmotionResponse=function(){this.setEmotionResponse(void 0)},proto.service.GetResponseResponse.AudioResponse.prototype.hasEmotionResponse=function(){return null!=r.Message.getField(this,9)},proto.service.GetResponseResponse.ActionResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.GetResponseResponse.ActionResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseResponse.ActionResponse.displayName="proto.service.GetResponseResponse.ActionResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseResponse.ActionResponse.prototype.toObject=function(e){return proto.service.GetResponseResponse.ActionResponse.toObject(e,this)},proto.service.GetResponseResponse.ActionResponse.toObject=function(e,t){var o={action:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.GetResponseResponse.ActionResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseResponse.ActionResponse;return proto.service.GetResponseResponse.ActionResponse.deserializeBinaryFromReader(o,t)},proto.service.GetResponseResponse.ActionResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setAction(o)}else t.skipField()}return e},proto.service.GetResponseResponse.ActionResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseResponse.ActionResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseResponse.ActionResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getAction()).length>0&&t.writeString(1,o)},proto.service.GetResponseResponse.ActionResponse.prototype.getAction=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.GetResponseResponse.ActionResponse.prototype.setAction=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.GetResponseResponse.BehaviorTreeResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.GetResponseResponse.BehaviorTreeResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseResponse.BehaviorTreeResponse.displayName="proto.service.GetResponseResponse.BehaviorTreeResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.toObject=function(e){return proto.service.GetResponseResponse.BehaviorTreeResponse.toObject(e,this)},proto.service.GetResponseResponse.BehaviorTreeResponse.toObject=function(e,t){var o={btCode:r.Message.getFieldWithDefault(t,1,""),btConstants:r.Message.getFieldWithDefault(t,2,""),narrativeSectionId:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.GetResponseResponse.BehaviorTreeResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseResponse.BehaviorTreeResponse;return proto.service.GetResponseResponse.BehaviorTreeResponse.deserializeBinaryFromReader(o,t)},proto.service.GetResponseResponse.BehaviorTreeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setBtCode(o);break;case 2:o=t.readString();e.setBtConstants(o);break;case 3:o=t.readString();e.setNarrativeSectionId(o);break;default:t.skipField()}}return e},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseResponse.BehaviorTreeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseResponse.BehaviorTreeResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getBtCode()).length>0&&t.writeString(1,o),(o=e.getBtConstants()).length>0&&t.writeString(2,o),(o=e.getNarrativeSectionId()).length>0&&t.writeString(3,o)},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.getBtCode=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.setBtCode=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.getBtConstants=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.setBtConstants=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.getNarrativeSectionId=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.service.GetResponseResponse.BehaviorTreeResponse.prototype.setNarrativeSectionId=function(e){r.Message.setProto3StringField(this,3,e)},proto.service.GetResponseResponse.UserTranscript=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.GetResponseResponse.UserTranscript,r.Message),s.DEBUG&&!COMPILED&&(proto.service.GetResponseResponse.UserTranscript.displayName="proto.service.GetResponseResponse.UserTranscript"),r.Message.GENERATE_TO_OBJECT&&(proto.service.GetResponseResponse.UserTranscript.prototype.toObject=function(e){return proto.service.GetResponseResponse.UserTranscript.toObject(e,this)},proto.service.GetResponseResponse.UserTranscript.toObject=function(e,t){var o={textData:r.Message.getFieldWithDefault(t,1,""),isFinal:r.Message.getFieldWithDefault(t,2,!1),endOfResponse:r.Message.getFieldWithDefault(t,3,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.GetResponseResponse.UserTranscript.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.GetResponseResponse.UserTranscript;return proto.service.GetResponseResponse.UserTranscript.deserializeBinaryFromReader(o,t)},proto.service.GetResponseResponse.UserTranscript.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setTextData(o);break;case 2:o=t.readBool();e.setIsFinal(o);break;case 3:o=t.readBool();e.setEndOfResponse(o);break;default:t.skipField()}}return e},proto.service.GetResponseResponse.UserTranscript.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.GetResponseResponse.UserTranscript.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.GetResponseResponse.UserTranscript.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getTextData()).length>0&&t.writeString(1,o),(o=e.getIsFinal())&&t.writeBool(2,o),(o=e.getEndOfResponse())&&t.writeBool(3,o)},proto.service.GetResponseResponse.UserTranscript.prototype.getTextData=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.GetResponseResponse.UserTranscript.prototype.setTextData=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.GetResponseResponse.UserTranscript.prototype.getIsFinal=function(){return r.Message.getFieldWithDefault(this,2,!1)},proto.service.GetResponseResponse.UserTranscript.prototype.setIsFinal=function(e){r.Message.setProto3BooleanField(this,2,e)},proto.service.GetResponseResponse.UserTranscript.prototype.getEndOfResponse=function(){return r.Message.getFieldWithDefault(this,3,!1)},proto.service.GetResponseResponse.UserTranscript.prototype.setEndOfResponse=function(e){r.Message.setProto3BooleanField(this,3,e)},proto.service.GetResponseResponse.prototype.getSessionId=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.GetResponseResponse.prototype.setSessionId=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.GetResponseResponse.prototype.getActionResponse=function(){return r.Message.getWrapperField(this,proto.service.GetResponseResponse.ActionResponse,2)},proto.service.GetResponseResponse.prototype.setActionResponse=function(e){r.Message.setOneofWrapperField(this,2,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearActionResponse=function(){this.setActionResponse(void 0)},proto.service.GetResponseResponse.prototype.hasActionResponse=function(){return null!=r.Message.getField(this,2)},proto.service.GetResponseResponse.prototype.getAudioResponse=function(){return r.Message.getWrapperField(this,proto.service.GetResponseResponse.AudioResponse,3)},proto.service.GetResponseResponse.prototype.setAudioResponse=function(e){r.Message.setOneofWrapperField(this,3,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearAudioResponse=function(){this.setAudioResponse(void 0)},proto.service.GetResponseResponse.prototype.hasAudioResponse=function(){return null!=r.Message.getField(this,3)},proto.service.GetResponseResponse.prototype.getDebugLog=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.service.GetResponseResponse.prototype.setDebugLog=function(e){r.Message.setOneofField(this,4,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearDebugLog=function(){r.Message.setOneofField(this,4,proto.service.GetResponseResponse.oneofGroups_[0],void 0)},proto.service.GetResponseResponse.prototype.hasDebugLog=function(){return null!=r.Message.getField(this,4)},proto.service.GetResponseResponse.prototype.getUserQuery=function(){return r.Message.getWrapperField(this,proto.service.GetResponseResponse.UserTranscript,5)},proto.service.GetResponseResponse.prototype.setUserQuery=function(e){r.Message.setOneofWrapperField(this,5,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearUserQuery=function(){this.setUserQuery(void 0)},proto.service.GetResponseResponse.prototype.hasUserQuery=function(){return null!=r.Message.getField(this,5)},proto.service.GetResponseResponse.prototype.getBtResponse=function(){return r.Message.getWrapperField(this,proto.service.GetResponseResponse.BehaviorTreeResponse,6)},proto.service.GetResponseResponse.prototype.setBtResponse=function(e){r.Message.setOneofWrapperField(this,6,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearBtResponse=function(){this.setBtResponse(void 0)},proto.service.GetResponseResponse.prototype.hasBtResponse=function(){return null!=r.Message.getField(this,6)},proto.service.GetResponseResponse.prototype.getEmotionResponse=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.service.GetResponseResponse.prototype.setEmotionResponse=function(e){r.Message.setOneofField(this,7,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearEmotionResponse=function(){r.Message.setOneofField(this,7,proto.service.GetResponseResponse.oneofGroups_[0],void 0)},proto.service.GetResponseResponse.prototype.hasEmotionResponse=function(){return null!=r.Message.getField(this,7)},proto.service.GetResponseResponse.prototype.getInteractionId=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.service.GetResponseResponse.prototype.setInteractionId=function(e){r.Message.setOneofField(this,8,proto.service.GetResponseResponse.oneofGroups_[0],e)},proto.service.GetResponseResponse.prototype.clearInteractionId=function(){r.Message.setOneofField(this,8,proto.service.GetResponseResponse.oneofGroups_[0],void 0)},proto.service.GetResponseResponse.prototype.hasInteractionId=function(){return null!=r.Message.getField(this,8)},proto.service.VisemesData=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.VisemesData,r.Message),s.DEBUG&&!COMPILED&&(proto.service.VisemesData.displayName="proto.service.VisemesData"),r.Message.GENERATE_TO_OBJECT&&(proto.service.VisemesData.prototype.toObject=function(e){return proto.service.VisemesData.toObject(e,this)},proto.service.VisemesData.toObject=function(e,t){var o,r={visemes:(o=t.getVisemes())&&proto.service.Viseme.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.service.VisemesData.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.VisemesData;return proto.service.VisemesData.deserializeBinaryFromReader(o,t)},proto.service.VisemesData.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.service.Viseme;t.readMessage(o,proto.service.Viseme.deserializeBinaryFromReader),e.setVisemes(o)}else t.skipField()}return e},proto.service.VisemesData.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.VisemesData.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.VisemesData.serializeBinaryToWriter=function(e,t){var o;null!=(o=e.getVisemes())&&t.writeMessage(1,o,proto.service.Viseme.serializeBinaryToWriter)},proto.service.VisemesData.prototype.getVisemes=function(){return r.Message.getWrapperField(this,proto.service.Viseme,1)},proto.service.VisemesData.prototype.setVisemes=function(e){r.Message.setWrapperField(this,1,e)},proto.service.VisemesData.prototype.clearVisemes=function(){this.setVisemes(void 0)},proto.service.VisemesData.prototype.hasVisemes=function(){return null!=r.Message.getField(this,1)},proto.service.EmotionResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.EmotionResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.EmotionResponse.displayName="proto.service.EmotionResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.EmotionResponse.prototype.toObject=function(e){return proto.service.EmotionResponse.toObject(e,this)},proto.service.EmotionResponse.toObject=function(e,t){var o={emotion:r.Message.getFieldWithDefault(t,1,""),scale:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.EmotionResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.EmotionResponse;return proto.service.EmotionResponse.deserializeBinaryFromReader(o,t)},proto.service.EmotionResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmotion(o);break;case 2:o=t.readString();e.setScale(o);break;default:t.skipField()}}return e},proto.service.EmotionResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.EmotionResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.EmotionResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmotion()).length>0&&t.writeString(1,o),(o=e.getScale()).length>0&&t.writeString(2,o)},proto.service.EmotionResponse.prototype.getEmotion=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.EmotionResponse.prototype.setEmotion=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.EmotionResponse.prototype.getScale=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.EmotionResponse.prototype.setScale=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.Viseme=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.Viseme,r.Message),s.DEBUG&&!COMPILED&&(proto.service.Viseme.displayName="proto.service.Viseme"),r.Message.GENERATE_TO_OBJECT&&(proto.service.Viseme.prototype.toObject=function(e){return proto.service.Viseme.toObject(e,this)},proto.service.Viseme.toObject=function(e,t){var o={sil:+r.Message.getFieldWithDefault(t,1,0),pp:+r.Message.getFieldWithDefault(t,2,0),ff:+r.Message.getFieldWithDefault(t,3,0),th:+r.Message.getFieldWithDefault(t,4,0),dd:+r.Message.getFieldWithDefault(t,5,0),kk:+r.Message.getFieldWithDefault(t,6,0),ch:+r.Message.getFieldWithDefault(t,7,0),ss:+r.Message.getFieldWithDefault(t,8,0),nn:+r.Message.getFieldWithDefault(t,9,0),rr:+r.Message.getFieldWithDefault(t,10,0),aa:+r.Message.getFieldWithDefault(t,11,0),e:+r.Message.getFieldWithDefault(t,12,0),ih:+r.Message.getFieldWithDefault(t,13,0),oh:+r.Message.getFieldWithDefault(t,14,0),ou:+r.Message.getFieldWithDefault(t,15,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.Viseme.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.Viseme;return proto.service.Viseme.deserializeBinaryFromReader(o,t)},proto.service.Viseme.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setSil(o);break;case 2:o=t.readFloat();e.setPp(o);break;case 3:o=t.readFloat();e.setFf(o);break;case 4:o=t.readFloat();e.setTh(o);break;case 5:o=t.readFloat();e.setDd(o);break;case 6:o=t.readFloat();e.setKk(o);break;case 7:o=t.readFloat();e.setCh(o);break;case 8:o=t.readFloat();e.setSs(o);break;case 9:o=t.readFloat();e.setNn(o);break;case 10:o=t.readFloat();e.setRr(o);break;case 11:o=t.readFloat();e.setAa(o);break;case 12:o=t.readFloat();e.setE(o);break;case 13:o=t.readFloat();e.setIh(o);break;case 14:o=t.readFloat();e.setOh(o);break;case 15:o=t.readFloat();e.setOu(o);break;default:t.skipField()}}return e},proto.service.Viseme.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.Viseme.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.Viseme.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getSil())&&t.writeFloat(1,o),0!==(o=e.getPp())&&t.writeFloat(2,o),0!==(o=e.getFf())&&t.writeFloat(3,o),0!==(o=e.getTh())&&t.writeFloat(4,o),0!==(o=e.getDd())&&t.writeFloat(5,o),0!==(o=e.getKk())&&t.writeFloat(6,o),0!==(o=e.getCh())&&t.writeFloat(7,o),0!==(o=e.getSs())&&t.writeFloat(8,o),0!==(o=e.getNn())&&t.writeFloat(9,o),0!==(o=e.getRr())&&t.writeFloat(10,o),0!==(o=e.getAa())&&t.writeFloat(11,o),0!==(o=e.getE())&&t.writeFloat(12,o),0!==(o=e.getIh())&&t.writeFloat(13,o),0!==(o=e.getOh())&&t.writeFloat(14,o),0!==(o=e.getOu())&&t.writeFloat(15,o)},proto.service.Viseme.prototype.getSil=function(){return+r.Message.getFieldWithDefault(this,1,0)},proto.service.Viseme.prototype.setSil=function(e){r.Message.setProto3FloatField(this,1,e)},proto.service.Viseme.prototype.getPp=function(){return+r.Message.getFieldWithDefault(this,2,0)},proto.service.Viseme.prototype.setPp=function(e){r.Message.setProto3FloatField(this,2,e)},proto.service.Viseme.prototype.getFf=function(){return+r.Message.getFieldWithDefault(this,3,0)},proto.service.Viseme.prototype.setFf=function(e){r.Message.setProto3FloatField(this,3,e)},proto.service.Viseme.prototype.getTh=function(){return+r.Message.getFieldWithDefault(this,4,0)},proto.service.Viseme.prototype.setTh=function(e){r.Message.setProto3FloatField(this,4,e)},proto.service.Viseme.prototype.getDd=function(){return+r.Message.getFieldWithDefault(this,5,0)},proto.service.Viseme.prototype.setDd=function(e){r.Message.setProto3FloatField(this,5,e)},proto.service.Viseme.prototype.getKk=function(){return+r.Message.getFieldWithDefault(this,6,0)},proto.service.Viseme.prototype.setKk=function(e){r.Message.setProto3FloatField(this,6,e)},proto.service.Viseme.prototype.getCh=function(){return+r.Message.getFieldWithDefault(this,7,0)},proto.service.Viseme.prototype.setCh=function(e){r.Message.setProto3FloatField(this,7,e)},proto.service.Viseme.prototype.getSs=function(){return+r.Message.getFieldWithDefault(this,8,0)},proto.service.Viseme.prototype.setSs=function(e){r.Message.setProto3FloatField(this,8,e)},proto.service.Viseme.prototype.getNn=function(){return+r.Message.getFieldWithDefault(this,9,0)},proto.service.Viseme.prototype.setNn=function(e){r.Message.setProto3FloatField(this,9,e)},proto.service.Viseme.prototype.getRr=function(){return+r.Message.getFieldWithDefault(this,10,0)},proto.service.Viseme.prototype.setRr=function(e){r.Message.setProto3FloatField(this,10,e)},proto.service.Viseme.prototype.getAa=function(){return+r.Message.getFieldWithDefault(this,11,0)},proto.service.Viseme.prototype.setAa=function(e){r.Message.setProto3FloatField(this,11,e)},proto.service.Viseme.prototype.getE=function(){return+r.Message.getFieldWithDefault(this,12,0)},proto.service.Viseme.prototype.setE=function(e){r.Message.setProto3FloatField(this,12,e)},proto.service.Viseme.prototype.getIh=function(){return+r.Message.getFieldWithDefault(this,13,0)},proto.service.Viseme.prototype.setIh=function(e){r.Message.setProto3FloatField(this,13,e)},proto.service.Viseme.prototype.getOh=function(){return+r.Message.getFieldWithDefault(this,14,0)},proto.service.Viseme.prototype.setOh=function(e){r.Message.setProto3FloatField(this,14,e)},proto.service.Viseme.prototype.getOu=function(){return+r.Message.getFieldWithDefault(this,15,0)},proto.service.Viseme.prototype.setOu=function(e){r.Message.setProto3FloatField(this,15,e)},proto.service.BlendShapesData=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.BlendShapesData,r.Message),s.DEBUG&&!COMPILED&&(proto.service.BlendShapesData.displayName="proto.service.BlendShapesData"),r.Message.GENERATE_TO_OBJECT&&(proto.service.BlendShapesData.prototype.toObject=function(e){return proto.service.BlendShapesData.toObject(e,this)},proto.service.BlendShapesData.toObject=function(e,t){var o={blendshapeData:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.BlendShapesData.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.BlendShapesData;return proto.service.BlendShapesData.deserializeBinaryFromReader(o,t)},proto.service.BlendShapesData.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setBlendshapeData(o)}else t.skipField()}return e},proto.service.BlendShapesData.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.BlendShapesData.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.BlendShapesData.serializeBinaryToWriter=function(e,t){var o;(o=e.getBlendshapeData()).length>0&&t.writeString(1,o)},proto.service.BlendShapesData.prototype.getBlendshapeData=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.BlendShapesData.prototype.setBlendshapeData=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.HelloRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.HelloRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.service.HelloRequest.displayName="proto.service.HelloRequest"),r.Message.GENERATE_TO_OBJECT&&(proto.service.HelloRequest.prototype.toObject=function(e){return proto.service.HelloRequest.toObject(e,this)},proto.service.HelloRequest.toObject=function(e,t){var o={name:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.HelloRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.HelloRequest;return proto.service.HelloRequest.deserializeBinaryFromReader(o,t)},proto.service.HelloRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.service.HelloRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.HelloRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.HelloRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.service.HelloRequest.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.HelloRequest.prototype.setName=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.HelloResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.HelloResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.HelloResponse.displayName="proto.service.HelloResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.HelloResponse.prototype.toObject=function(e){return proto.service.HelloResponse.toObject(e,this)},proto.service.HelloResponse.toObject=function(e,t){var o={message:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.HelloResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.HelloResponse;return proto.service.HelloResponse.deserializeBinaryFromReader(o,t)},proto.service.HelloResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setMessage(o)}else t.skipField()}return e},proto.service.HelloResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.HelloResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.HelloResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getMessage()).length>0&&t.writeString(1,o)},proto.service.HelloResponse.prototype.getMessage=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.HelloResponse.prototype.setMessage=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.FeedbackRequest=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.FeedbackRequest,r.Message),s.DEBUG&&!COMPILED&&(proto.service.FeedbackRequest.displayName="proto.service.FeedbackRequest"),r.Message.GENERATE_TO_OBJECT&&(proto.service.FeedbackRequest.prototype.toObject=function(e){return proto.service.FeedbackRequest.toObject(e,this)},proto.service.FeedbackRequest.toObject=function(e,t){var o,s={interactionId:r.Message.getFieldWithDefault(t,1,""),characterId:r.Message.getFieldWithDefault(t,2,""),sessionId:r.Message.getFieldWithDefault(t,3,""),textFeedback:(o=t.getTextFeedback())&&proto.service.FeedbackRequest.Feedback.toObject(e,o),userQuery:r.Message.getFieldWithDefault(t,6,""),response:r.Message.getFieldWithDefault(t,7,"")};return e&&(s.$jspbMessageInstance=t),s}),proto.service.FeedbackRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.FeedbackRequest;return proto.service.FeedbackRequest.deserializeBinaryFromReader(o,t)},proto.service.FeedbackRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setInteractionId(o);break;case 2:o=t.readString();e.setCharacterId(o);break;case 3:o=t.readString();e.setSessionId(o);break;case 5:o=new proto.service.FeedbackRequest.Feedback;t.readMessage(o,proto.service.FeedbackRequest.Feedback.deserializeBinaryFromReader),e.setTextFeedback(o);break;case 6:o=t.readString();e.setUserQuery(o);break;case 7:o=t.readString();e.setResponse(o);break;default:t.skipField()}}return e},proto.service.FeedbackRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.FeedbackRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.FeedbackRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getInteractionId()).length>0&&t.writeString(1,o),(o=e.getCharacterId()).length>0&&t.writeString(2,o),(o=e.getSessionId()).length>0&&t.writeString(3,o),null!=(o=e.getTextFeedback())&&t.writeMessage(5,o,proto.service.FeedbackRequest.Feedback.serializeBinaryToWriter),(o=e.getUserQuery()).length>0&&t.writeString(6,o),(o=e.getResponse()).length>0&&t.writeString(7,o)},proto.service.FeedbackRequest.Feedback=function(e){r.Message.initialize(this,e,0,-1,proto.service.FeedbackRequest.Feedback.repeatedFields_,null)},s.inherits(proto.service.FeedbackRequest.Feedback,r.Message),s.DEBUG&&!COMPILED&&(proto.service.FeedbackRequest.Feedback.displayName="proto.service.FeedbackRequest.Feedback"),proto.service.FeedbackRequest.Feedback.repeatedFields_=[3],r.Message.GENERATE_TO_OBJECT&&(proto.service.FeedbackRequest.Feedback.prototype.toObject=function(e){return proto.service.FeedbackRequest.Feedback.toObject(e,this)},proto.service.FeedbackRequest.Feedback.toObject=function(e,t){var o={thumbsUp:r.Message.getFieldWithDefault(t,1,!1),feedbackText:r.Message.getFieldWithDefault(t,2,""),tagsList:r.Message.getRepeatedField(t,3),isTestCase:r.Message.getFieldWithDefault(t,4,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.service.FeedbackRequest.Feedback.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.FeedbackRequest.Feedback;return proto.service.FeedbackRequest.Feedback.deserializeBinaryFromReader(o,t)},proto.service.FeedbackRequest.Feedback.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setThumbsUp(o);break;case 2:o=t.readString();e.setFeedbackText(o);break;case 3:o=t.readString();e.addTags(o);break;case 4:o=t.readBool();e.setIsTestCase(o);break;default:t.skipField()}}return e},proto.service.FeedbackRequest.Feedback.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.FeedbackRequest.Feedback.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.FeedbackRequest.Feedback.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getThumbsUp())&&t.writeBool(1,o),(o=e.getFeedbackText()).length>0&&t.writeString(2,o),(o=e.getTagsList()).length>0&&t.writeRepeatedString(3,o),(o=e.getIsTestCase())&&t.writeBool(4,o)},proto.service.FeedbackRequest.Feedback.prototype.getThumbsUp=function(){return r.Message.getFieldWithDefault(this,1,!1)},proto.service.FeedbackRequest.Feedback.prototype.setThumbsUp=function(e){r.Message.setProto3BooleanField(this,1,e)},proto.service.FeedbackRequest.Feedback.prototype.getFeedbackText=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.FeedbackRequest.Feedback.prototype.setFeedbackText=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.FeedbackRequest.Feedback.prototype.getTagsList=function(){return r.Message.getRepeatedField(this,3)},proto.service.FeedbackRequest.Feedback.prototype.setTagsList=function(e){r.Message.setField(this,3,e||[])},proto.service.FeedbackRequest.Feedback.prototype.addTags=function(e,t){r.Message.addToRepeatedField(this,3,e,t)},proto.service.FeedbackRequest.Feedback.prototype.clearTagsList=function(){this.setTagsList([])},proto.service.FeedbackRequest.Feedback.prototype.getIsTestCase=function(){return r.Message.getFieldWithDefault(this,4,!1)},proto.service.FeedbackRequest.Feedback.prototype.setIsTestCase=function(e){r.Message.setProto3BooleanField(this,4,e)},proto.service.FeedbackRequest.prototype.getInteractionId=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.FeedbackRequest.prototype.setInteractionId=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.FeedbackRequest.prototype.getCharacterId=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.service.FeedbackRequest.prototype.setCharacterId=function(e){r.Message.setProto3StringField(this,2,e)},proto.service.FeedbackRequest.prototype.getSessionId=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.service.FeedbackRequest.prototype.setSessionId=function(e){r.Message.setProto3StringField(this,3,e)},proto.service.FeedbackRequest.prototype.getTextFeedback=function(){return r.Message.getWrapperField(this,proto.service.FeedbackRequest.Feedback,5)},proto.service.FeedbackRequest.prototype.setTextFeedback=function(e){r.Message.setWrapperField(this,5,e)},proto.service.FeedbackRequest.prototype.clearTextFeedback=function(){this.setTextFeedback(void 0)},proto.service.FeedbackRequest.prototype.hasTextFeedback=function(){return null!=r.Message.getField(this,5)},proto.service.FeedbackRequest.prototype.getUserQuery=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.service.FeedbackRequest.prototype.setUserQuery=function(e){r.Message.setProto3StringField(this,6,e)},proto.service.FeedbackRequest.prototype.getResponse=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.service.FeedbackRequest.prototype.setResponse=function(e){r.Message.setProto3StringField(this,7,e)},proto.service.FeedbackResponse=function(e){r.Message.initialize(this,e,0,-1,null,null)},s.inherits(proto.service.FeedbackResponse,r.Message),s.DEBUG&&!COMPILED&&(proto.service.FeedbackResponse.displayName="proto.service.FeedbackResponse"),r.Message.GENERATE_TO_OBJECT&&(proto.service.FeedbackResponse.prototype.toObject=function(e){return proto.service.FeedbackResponse.toObject(e,this)},proto.service.FeedbackResponse.toObject=function(e,t){var o={feedbackResponse:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.service.FeedbackResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.service.FeedbackResponse;return proto.service.FeedbackResponse.deserializeBinaryFromReader(o,t)},proto.service.FeedbackResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setFeedbackResponse(o)}else t.skipField()}return e},proto.service.FeedbackResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.service.FeedbackResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.service.FeedbackResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getFeedbackResponse()).length>0&&t.writeString(1,o)},proto.service.FeedbackResponse.prototype.getFeedbackResponse=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.service.FeedbackResponse.prototype.setFeedbackResponse=function(e){r.Message.setProto3StringField(this,1,e)},proto.service.FaceModel={FACE_MODEL_UNSPECIFIED:0,FACE_MODEL_A_2F_MODEL_NAME:1,FACE_MODEL_PHONEMES_MODEL_NAME:2,FACE_MODEL_OVR_MODEL_NAME:3},s.object.extend(t,proto.service)},820:(e,t,o)=>{var r=o(48),s=o(9).grpc,i=function(){function e(){}return e.serviceName="service.ConvaiService",e}();function n(e,t){this.serviceHost=e,this.options=t||{}}i.Hello={methodName:"Hello",service:i,requestStream:!1,responseStream:!1,requestType:r.HelloRequest,responseType:r.HelloResponse},i.HelloStream={methodName:"HelloStream",service:i,requestStream:!0,responseStream:!0,requestType:r.HelloRequest,responseType:r.HelloResponse},i.SpeechToText={methodName:"SpeechToText",service:i,requestStream:!0,responseStream:!0,requestType:r.STTRequest,responseType:r.STTResponse},i.GetResponse={methodName:"GetResponse",service:i,requestStream:!0,responseStream:!0,requestType:r.GetResponseRequest,responseType:r.GetResponseResponse},i.GetResponseSingle={methodName:"GetResponseSingle",service:i,requestStream:!1,responseStream:!0,requestType:r.GetResponseRequestSingle,responseType:r.GetResponseResponse},i.SubmitFeedback={methodName:"SubmitFeedback",service:i,requestStream:!1,responseStream:!1,requestType:r.FeedbackRequest,responseType:r.FeedbackResponse},t.C=i,n.prototype.hello=function(e,t,o){2===arguments.length&&(o=arguments[1]);var r=s.unary(i.Hello,{request:e,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(e){if(o)if(e.status!==s.Code.OK){var t=new Error(e.statusMessage);t.code=e.status,t.metadata=e.trailers,o(t,null)}else o(null,e.message)}});return{cancel:function(){o=null,r.close()}}},n.prototype.helloStream=function(e){var t={data:[],end:[],status:[]},o=s.client(i.HelloStream,{host:this.serviceHost,metadata:e,transport:this.options.transport});return o.onEnd((function(e,o,r){t.status.forEach((function(t){t({code:e,details:o,metadata:r})})),t.end.forEach((function(t){t({code:e,details:o,metadata:r})})),t=null})),o.onMessage((function(e){t.data.forEach((function(t){t(e)}))})),o.start(e),{on:function(e,o){return t[e].push(o),this},write:function(e){return o.send(e),this},end:function(){o.finishSend()},cancel:function(){t=null,o.close()}}},n.prototype.speechToText=function(e){var t={data:[],end:[],status:[]},o=s.client(i.SpeechToText,{host:this.serviceHost,metadata:e,transport:this.options.transport});return o.onEnd((function(e,o,r){t.status.forEach((function(t){t({code:e,details:o,metadata:r})})),t.end.forEach((function(t){t({code:e,details:o,metadata:r})})),t=null})),o.onMessage((function(e){t.data.forEach((function(t){t(e)}))})),o.start(e),{on:function(e,o){return t[e].push(o),this},write:function(e){return o.send(e),this},end:function(){o.finishSend()},cancel:function(){t=null,o.close()}}},n.prototype.getResponse=function(e){var t={data:[],end:[],status:[]},o=s.client(i.GetResponse,{host:this.serviceHost,metadata:e,transport:this.options.transport});return o.onEnd((function(e,o,r){t.status.forEach((function(t){t({code:e,details:o,metadata:r})})),t.end.forEach((function(t){t({code:e,details:o,metadata:r})})),t=null})),o.onMessage((function(e){t.data.forEach((function(t){t(e)}))})),o.start(e),{on:function(e,o){return t[e].push(o),this},write:function(e){return o.send(e),this},end:function(){o.finishSend()},cancel:function(){t=null,o.close()}}},n.prototype.getResponseSingle=function(e,t){var o={data:[],end:[],status:[]},r=s.invoke(i.GetResponseSingle,{request:e,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onMessage:function(e){o.data.forEach((function(t){t(e)}))},onEnd:function(e,t,r){o.status.forEach((function(o){o({code:e,details:t,metadata:r})})),o.end.forEach((function(o){o({code:e,details:t,metadata:r})})),o=null}});return{on:function(e,t){return o[e].push(t),this},cancel:function(){o=null,r.close()}}},n.prototype.submitFeedback=function(e,t,o){2===arguments.length&&(o=arguments[1]);var r=s.unary(i.SubmitFeedback,{request:e,host:this.serviceHost,metadata:t,transport:this.options.transport,debug:this.options.debug,onEnd:function(e){if(o)if(e.status!==s.Code.OK){var t=new Error(e.statusMessage);t.code=e.status,t.metadata=e.trailers,o(t,null)}else o(null,e.message)}});return{cancel:function(){o=null,r.close()}}}},9:(e,t)=>{var o,r;!function(e,t){for(var o in t)e[o]=t[o];t.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}(t,(o={418:function(e,t){!function(e,t){for(var o in t)e[o]=t[o]}(t,function(e){var t={};function o(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=e,o.c=t,o.i=function(e){return e},o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(3),s=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={splitValues:!1});var o,s=this;this.headersMap={},e&&("undefined"!=typeof Headers&&e instanceof Headers?r.getHeaderKeys(e).forEach((function(o){r.getHeaderValues(e,o).forEach((function(e){t.splitValues?s.append(o,r.splitHeaderValue(e)):s.append(o,e)}))})):"object"==typeof(o=e)&&"object"==typeof o.headersMap&&"function"==typeof o.forEach?e.forEach((function(e,t){s.append(e,t)})):"undefined"!=typeof Map&&e instanceof Map?e.forEach((function(e,t){s.append(t,e)})):"string"==typeof e?this.appendFromString(e):"object"==typeof e&&Object.getOwnPropertyNames(e).forEach((function(t){var o=e[t];Array.isArray(o)?o.forEach((function(e){s.append(t,e)})):s.append(t,o)})))}return e.prototype.appendFromString=function(e){for(var t=e.split("\r\n"),o=0;o0){var i=r.substring(0,s).trim(),n=r.substring(s+1).trim();this.append(i,n)}}},e.prototype.delete=function(e,t){var o=r.normalizeName(e);if(void 0===t)delete this.headersMap[o];else{var s=this.headersMap[o];if(s){var i=s.indexOf(t);i>=0&&s.splice(i,1),0===s.length&&delete this.headersMap[o]}}},e.prototype.append=function(e,t){var o=this,s=r.normalizeName(e);Array.isArray(this.headersMap[s])||(this.headersMap[s]=[]),Array.isArray(t)?t.forEach((function(e){o.headersMap[s].push(r.normalizeValue(e))})):this.headersMap[s].push(r.normalizeValue(t))},e.prototype.set=function(e,t){var o=r.normalizeName(e);if(Array.isArray(t)){var s=[];t.forEach((function(e){s.push(r.normalizeValue(e))})),this.headersMap[o]=s}else this.headersMap[o]=[r.normalizeValue(t)]},e.prototype.has=function(e,t){var o=this.headersMap[r.normalizeName(e)];if(!Array.isArray(o))return!1;if(void 0!==t){var s=r.normalizeValue(t);return o.indexOf(s)>=0}return!0},e.prototype.get=function(e){var t=this.headersMap[r.normalizeName(e)];return void 0!==t?t.concat():[]},e.prototype.forEach=function(e){var t=this;Object.getOwnPropertyNames(this.headersMap).forEach((function(o){e(o,t.headersMap[o])}),this)},e.prototype.toHeaders=function(){if("undefined"!=typeof Headers){var e=new Headers;return this.forEach((function(t,o){o.forEach((function(o){e.append(t,o)}))})),e}throw new Error("Headers class is not defined")},e}();t.BrowserHeaders=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(0);t.BrowserHeaders=r.BrowserHeaders},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterateHeaders=function(e,t){for(var o=e[Symbol.iterator](),r=o.next();!r.done;)t(r.value[0]),r=o.next()},t.iterateHeadersKeys=function(e,t){for(var o=e.keys(),r=o.next();!r.done;)t(r.value),r=o.next()}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2);t.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},t.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},t.getHeaderValues=function(e,t){var o=e;if(o instanceof Headers&&o.getAll)return o.getAll(t);var r=o.get(t);return r&&"string"==typeof r?[r]:r},t.getHeaderKeys=function(e){var t=e,o={},s=[];return t.keys?r.iterateHeadersKeys(t,(function(e){o[e]||(o[e]=!0,s.push(e))})):t.forEach?t.forEach((function(e,t){o[t]||(o[t]=!0,s.push(t))})):r.iterateHeaders(t,(function(e){var t=e[0];o[t]||(o[t]=!0,s.push(t))})),s},t.splitHeaderValue=function(e){var t=[];return e.split(", ").forEach((function(e){e.split(",").forEach((function(e){t.push(e)}))})),t}}]))},617:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkParser=t.ChunkType=t.encodeASCII=t.decodeASCII=void 0;var r,s=o(65);function i(e){return 9===(t=e)||10===t||13===t||e>=32&&e<=126;var t}function n(e){for(var t=0;t!==e.length;++t)if(!i(e[t]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(e))}function a(e){return!(128&~e.getUint8(0))}function g(e){return e.getUint32(1,!1)}function p(e,t,o){return e.byteLength-t>=o}function l(e,t,o){if(e.slice)return e.slice(t,o);var r=e.length;void 0!==o&&(r=o);for(var s=new Uint8Array(r-t),i=0,n=t;n=0?o:i.httpStatusToCode(t);this.props.debug&&n.debug("onHeaders.code",r);var s=e.get("grpc-message")||[];if(this.props.debug&&n.debug("onHeaders.gRPCMessage",s),this.rawOnHeaders(e),r!==i.Code.OK){var a=this.decodeGRPCStatus(s[0]);this.rawOnError(r,a,e)}}},e.prototype.onTransportChunk=function(e){var t=this;if(this.closed)this.props.debug&&n.debug("grpc.onChunk received after request was closed - ignoring");else{var o=[];try{o=this.parser.parse(e)}catch(e){return this.props.debug&&n.debug("onChunk.parsing error",e,e.message),void this.rawOnError(i.Code.Internal,"parsing error: "+e.message)}o.forEach((function(e){if(e.chunkType===s.ChunkType.MESSAGE){var o=t.methodDefinition.responseType.deserializeBinary(e.data);t.rawOnMessage(o)}else e.chunkType===s.ChunkType.TRAILERS&&(t.responseHeaders?(t.responseTrailers=new r.Metadata(e.trailers),t.props.debug&&n.debug("onChunk.trailers",t.responseTrailers)):(t.responseHeaders=new r.Metadata(e.trailers),t.rawOnHeaders(t.responseHeaders)))}))}},e.prototype.onTransportEnd=function(){if(this.props.debug&&n.debug("grpc.onEnd"),this.closed)this.props.debug&&n.debug("grpc.onEnd received after request was closed - ignoring");else if(void 0!==this.responseTrailers){var e=l(this.responseTrailers);if(null!==e){var t=this.responseTrailers.get("grpc-message"),o=this.decodeGRPCStatus(t[0]);this.rawOnEnd(e,o,this.responseTrailers)}else this.rawOnError(i.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(void 0===this.responseHeaders)return void this.rawOnError(i.Code.Unknown,"Response closed without headers");var r=l(this.responseHeaders),s=this.responseHeaders.get("grpc-message");if(this.props.debug&&n.debug("grpc.headers only response ",r,s),null===r)return void this.rawOnEnd(i.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var a=this.decodeGRPCStatus(s[0]);this.rawOnEnd(r,a,this.responseHeaders)}},e.prototype.decodeGRPCStatus=function(e){if(!e)return"";try{return decodeURIComponent(e)}catch(t){return e}},e.prototype.rawOnEnd=function(e,t,o){var r=this;this.props.debug&&n.debug("rawOnEnd",e,t,o),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(s){if(!r.closed)try{s(e,t,o)}catch(e){setTimeout((function(){throw e}),0)}})))},e.prototype.rawOnHeaders=function(e){this.props.debug&&n.debug("rawOnHeaders",e),this.completed||this.onHeadersCallbacks.forEach((function(t){try{t(e)}catch(e){setTimeout((function(){throw e}),0)}}))},e.prototype.rawOnError=function(e,t,o){var s=this;void 0===o&&(o=new r.Metadata),this.props.debug&&n.debug("rawOnError",e,t),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(r){if(!s.closed)try{r(e,t,o)}catch(e){setTimeout((function(){throw e}),0)}})))},e.prototype.rawOnMessage=function(e){var t=this;this.props.debug&&n.debug("rawOnMessage",e.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach((function(o){if(!t.closed)try{o(e)}catch(e){setTimeout((function(){throw e}),0)}}))},e.prototype.onHeaders=function(e){this.onHeadersCallbacks.push(e)},e.prototype.onMessage=function(e){this.onMessageCallbacks.push(e)},e.prototype.onEnd=function(e){this.onEndCallbacks.push(e)},e.prototype.start=function(e){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var t=new r.Metadata(e||{});t.set("content-type","application/grpc-web+proto"),t.set("x-grpc-web","1"),this.transport.start(t)},e.prototype.send=function(e){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var t=g.frameRequest(e);this.transport.sendMessage(t)},e.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},e.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&n.debug("request.abort aborting request"),this.transport.cancel()},e}();function l(e){var t=e.get("grpc-status")||[];if(t.length>0)try{var o=t[0];return parseInt(o,10)}catch(e){return null}return null}},346:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debug=void 0,t.debug=function(){for(var e=[],t=0;t=55296&&o<=56319){var r=e.charCodeAt(t+1);r>=56320&&r<=57343&&(o=65536+(o-55296<<10)+(r-56320))}return o}function u(e){for(var t=new Uint8Array(e.length),o=0,r=0;r=r}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var r=o.length,s=e.length;t=Math.max(0,Math.min(0|t,o.length));for(var i=0;i=s}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279>>=1)&&(t+=t);return o}}),"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.exportPath_=function(e,t,o){e=e.split("."),o=o||goog.global,e[0]in o||void 0===o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)e.length||void 0===t?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=t},goog.define=function(e,t){if(!COMPILED){var o=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;o&&void 0===o.nodeType&&Object.prototype.hasOwnProperty.call(o,e)?t=o[e]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if("string"!=typeof e||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&("function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath())},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&null!=goog.getObjectByName(e)},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.cloneObject(e[o]);return t}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw Error();if(2{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var o=this.createRequiresTranspilation_();this.requiresTranspilation_=o.map,this.transpilationTarget_=this.transpilationTarget_||o.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function o(){r&&(goog.global.setTimeout(r,0),r=null)}var r=t;if(e.length){t=[];for(var s=0;s<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}else{var s=t.createElement("script");s.defer=goog.Dependency.defer_,s.async=!1,s.type="text/javascript",(r=goog.getScriptNonce())&&s.setAttribute("nonce",r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),s.onreadystatechange=function(){"loaded"!=s.readyState&&"complete"!=s.readyState||(e.loaded(),e.resume())}):s.onload=function(){s.onload=null,e.loaded()},s.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(s)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,o,r,s){goog.Dependency.call(this,e,t,o,r,s)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,o=this;if(goog.isDocumentLoading_()){var r=function(e,o){e=o?'