{"version":3,"file":"ngx-microsoft-bot-framework-15.mjs","sources":["../../../projects/ngx-microsoft-bot-framework/src/lib/services/com.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/services/message.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/services/http-error-handler.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/services/bot.service.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/directives/style-set.directive.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/directives/bot.directive.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/directives/bot-helper.directive.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/interfaces/default-options.ts","../../../projects/ngx-microsoft-bot-framework/src/lib/ngx-microsoft-bot-framework.module.ts","../../../projects/ngx-microsoft-bot-framework/src/public-api.ts","../../../projects/ngx-microsoft-bot-framework/src/ngx-microsoft-bot-framework-15.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { Subject }    from 'rxjs';\nimport { IPayload } from '../interfaces/bot-payload';\nimport { DEFAULT_OPTIONS } from '../interfaces/default-options';\n\n@Injectable()\nexport class ComService {\n\n  // Observable string sources\n  private secretDirectlineToken = new Subject<IPayload>();\n  private styleSetPayload = new Subject<DEFAULT_OPTIONS | undefined>();\n  private styleOptionsPayload = new Subject<DEFAULT_OPTIONS | undefined>();\n\n  // Observable string streams\n  botPayload$ = this.secretDirectlineToken.asObservable();\n  styleSet$ = this.styleSetPayload.asObservable();\n  styleOptions$ = this.styleOptionsPayload.asObservable();\n\n  // Service message commands\n  obtainToken(payload: IPayload) {\n    this.secretDirectlineToken.next(payload);\n  }\n\n  obtainStylePayload(styleoptionsPayload?: DEFAULT_OPTIONS, stylesetPayload?: DEFAULT_OPTIONS) {\n    this.styleSetPayload.next(stylesetPayload);\n    this.styleOptionsPayload.next(styleoptionsPayload);\n  }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class MessageService {\n  messages: string[] = [];\n\n  add(message: string) {\n    this.messages.push(message);\n  }\n\n  clear() {\n    this.messages = [];\n  }\n}","import { Injectable } from '@angular/core';\nimport { HttpErrorResponse } from '@angular/common/http';\n\nimport { Observable, of } from 'rxjs';\n\nimport { MessageService } from './message.service';\n\n/** Type of the handleError function returned by HttpErrorHandler.createHandleError */\nexport type HandleError =\n  <T> (operation?: string, result?: T) => (error: HttpErrorResponse) => Observable<T>;\n\n/** Handles HttpClient errors */\n@Injectable()\nexport class HttpErrorHandler {\n  constructor(private messageService: MessageService) { }\n\n  /** Create curried handleError function that already knows the service name */\n  createHandleError = (serviceName = '') => <T>\n    (operation = 'operation', result = {} as T) => this.handleError(serviceName, operation, result);\n\n  /**\n   * Returns a function that handles Http operation failures.\n   * This error handler lets the app continue to run as if no error occurred.\n   * @param serviceName = name of the data service that attempted the operation\n   * @param operation - name of the operation that failed\n   * @param result - optional value to return as the observable result\n   */\n  handleError<T> (serviceName = '', operation = 'operation', result = {} as T) {\n\n    return (error: HttpErrorResponse): Observable<T> => {\n      // TODO: send the error to remote logging infrastructure\n      console.error(error, operation); // log to console instead and add specific service call\n\n      const message = (error.error instanceof ErrorEvent) ?\n        error.error.message :\n       `server returned code ${error.status} with body \"${error.error}\"`;\n\n      // TODO: better job of transforming error for user consumption\n      this.messageService.add(`${serviceName}: ${operation} failed: ${message}`);\n\n      // Let the app keep running by returning a safe result.\n      return of( result );\n    };\n\n  }\n}","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { HttpHeaders } from '@angular/common/http';\n\nimport { ComService } from './com.service';\nimport { Observable, Subscription, of } from 'rxjs';\nimport { catchError } from 'rxjs/operators';\n\nimport { HttpErrorHandler, HandleError } from './http-error-handler.service';\n\nconst httpOptions = {\n  headers: new HttpHeaders({\n    'Content-Type':  'application/json',\n    'Authorization': 'my-auth-token'\n  })\n};\n\n@Injectable()\nexport class BotService {\n  webchatUrl?: string;\n  subscription: Subscription;\n  botTokenHeader?: HttpHeaders;\n  secretSetting?: boolean;\n  private handleError: HandleError;\n\n  constructor(\n    private http: HttpClient,\n    private comService: ComService,\n    httpErrorHandler: HttpErrorHandler\n  ) {\n    this.handleError = httpErrorHandler.createHandleError('AppService');\n    this.subscription = this.comService.botPayload$.subscribe(\n      response => {\n        this.botTokenHeader =\n          httpOptions.headers.set('Authorization', 'BotConnector ' + response.secret);\n        this.webchatUrl = response.url;\n        this.secretSetting = response.secretSetting;\n    });\n  }\n\n  /** GET temporary token from the server api */\n  public getTokenObs (): Observable<any> {\n    if (this.secretSetting && this.webchatUrl) {\n      return this.http.get<any>(\n        this.webchatUrl,\n        { headers: this.botTokenHeader, observe: 'response' }\n      )\n      .pipe(\n       catchError(this.handleError<any>('getTokenObs', []))\n      );\n    } else {\n      return of<any>(false);\n    }\n  }\n\n  makeIntentionalError() {\n    return this.http.get('not/a/real/url')\n      .pipe(\n        catchError(this.handleError('makeIntentionalError', []))\n      );\n  }\n}\n","import { Directive } from '@angular/core';\n\nimport { BotService } from '../services/bot.service';\nimport { ComService } from '../services/com.service';\n\nimport { StyleSetObj, StyleSetProp, StyleSetObjReturn } from '../interfaces/style-set';\n\n@Directive({\n  selector: 'app-style-set',\n  providers: [BotService, ComService]\n})\nexport class StyleSetDirective implements StyleSetProp, StyleSetObj {\n  activities?: StyleSetProp;\n  activity?: StyleSetProp;\n  audioAttachment?: StyleSetProp;\n  audioContent?: StyleSetProp;\n  avatar?: StyleSetProp;\n  bubble?: StyleSetProp;\n  carouselFilmStrip?: StyleSetProp;\n  carouselFlipper?: StyleSetProp;\n  connectivityNotification?: StyleSetProp;\n  dictationInterims?: StyleSetProp;\n  downloadAttachment?: StyleSetProp;\n  errorBox?: StyleSetProp;\n  errorNotification?: StyleSetProp;\n  microphoneButton?: StyleSetProp;\n  root?: StyleSetProp;\n  scrollToEndButton?: StyleSetProp;\n  sendBox?: StyleSetProp;\n  sendBoxButton?: StyleSetProp;\n  sendBoxTextArea?: StyleSetProp;\n  sendBoxTextBox?: StyleSetProp;\n  sendStatus?: StyleSetProp;\n  singleAttachmentActivity?: StyleSetProp;\n  spinnerAnnimation?: StyleSetProp;\n  stackedLayout?: StyleSetProp;\n  suggestedAction?: StyleSetProp;\n  suggestedActionsStyleSet?: StyleSetProp;\n  textContent?: StyleSetProp;\n  timestamp?: StyleSetProp;\n  typingActivity?: StyleSetProp;\n  typingAnimation?: StyleSetProp;\n  uploadButton?: StyleSetProp;\n  videoAttachment?: StyleSetProp;\n  videoContent?: StyleSetProp;\n  vimeoContent?: StyleSetProp;\n  warningNotification?: StyleSetProp;\n  youTubeContent?: StyleSetProp;\n\n  Activities(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  Activity(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  AudioAttachment(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  AudioContent(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  Avatar(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  Bubble(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  CarouselFilmStrip(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  CarouselFlipper(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  ConnectivityNotification(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  DictationInterims(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  DownloadAttachment(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  ErrorBox(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  ErrorNotification(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  MicrophoneButton(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  Root(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  ScrollToEndButton(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SendBox(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SendBoxButton(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SendBoxTextArea(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SendBoxTextBox(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SendStatus(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SingleAttachmentActivity(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SpinnerAnimation(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  StackedLayout(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SuggestedAction(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SuggestedActions(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  SuggestedActionsStyleSet(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  TextContent(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  Timestamp(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  TypingActivity(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  TypingAnimation(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  UploadButton(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  VideoAttachment(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  VideoContent(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  VimeoContent(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  WarningNotification(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n  YouTubeContent(a?: StyleSetProp , b?: StyleSetObjReturn) {\n    return a = Object.assign({}, a, b);\n  }\n}\n","// directives\nimport {Directive, ViewChild} from '@angular/core';\nimport {StyleSetDirective} from './style-set.directive';\n// services\nimport {BotService} from '../services/bot.service';\nimport {ComService} from '../services/com.service';\n// interfaces\nimport {DEFAULT_OPTIONS} from '../interfaces/default-options';\nimport {StyleSetProp} from '../interfaces/style-set';\n\n/**\n * Declares the WebChat property on the window object.\n */\ndeclare global {\n  interface Window {\n    WebChat: any;\n  }\n}\n\nwindow.WebChat = window.WebChat || {};\n\n@Directive({\n  selector: 'app-bot',\n  providers: [BotService, ComService]\n})\nexport class BotDirective {\n  viewChild?: ViewChild;\n  styleSet?: StyleSetProp;\n  styleOptions?: DEFAULT_OPTIONS;\n  secretSetting?: boolean;\n  secret?: string;\n  userId: string = 'USER_ID';\n  webSocket: boolean = true;\n  error: any;\n\n  constructor(\n    private styleSetDir: StyleSetDirective,\n    private botService: BotService,\n    private comService: ComService\n  ) {\n    this.comService.botPayload$.subscribe(\n      payload => {\n        this.secretSetting = payload.secretSetting;\n        this.secret = payload.secret;\n        payload.userId != undefined ? this.userId = payload.userId : this.userId;\n        payload.webSocket != undefined ? this.webSocket = payload.webSocket : this.webSocket;\n      });\n    this.comService.styleSet$.subscribe(\n      response => {\n        if (response != null || response != undefined) {\n          // styleset set to property options for creatstyleset set from user\n          this.styleSet = window.WebChat.createStyleSet(response);\n          // stylesetdirective properties set to response from user\n          this.styleSetDir.activities = response.activties;\n          this.styleSetDir.activity = response.activity;\n          this.styleSetDir.audioAttachment = response.audioAttachment;\n          this.styleSetDir.audioContent = response.audioContent;\n          this.styleSetDir.avatar = response.avatar;\n          this.styleSetDir.bubble = response.bubble;\n          this.styleSetDir.carouselFilmStrip = response.carouselFilmStrip;\n          this.styleSetDir.carouselFlipper = response.carouselFlipper;\n          this.styleSetDir.connectivityNotification = response.connectivityNotification;\n          this.styleSetDir.dictationInterims = response.dictationInterims;\n          this.styleSetDir.downloadAttachment = response.downloadAttachment;\n          this.styleSetDir.errorBox = response.errorBox;\n          this.styleSetDir.errorNotification = response.errorNotification;\n          this.styleSetDir.microphoneButton = response.microphoneButton;\n          this.styleSetDir.root = response.root;\n          this.styleSetDir.scrollToEndButton = response.scrollToEndButton;\n          this.styleSetDir.sendBox = response.sendBox;\n          this.styleSetDir.sendBoxButton = response.sendBoxButton;\n          this.styleSetDir.sendBoxTextArea = response.sendBoxTextArea;\n          this.styleSetDir.sendBoxTextBox = response.sendBoxTextBox;\n          this.styleSetDir.sendStatus = response.sendStatus;\n          this.styleSetDir.singleAttachmentActivity = response.singleAttachmentActivity;\n          this.styleSetDir.spinnerAnnimation = response.spinnerAnnimation;\n          this.styleSetDir.stackedLayout = response.stackedLayout;\n          this.styleSetDir.suggestedAction = response.suggestedAction;\n          this.styleSetDir.suggestedActionsStyleSet = response.suggestedActionsStyleSet;\n          this.styleSetDir.textContent = response.textContent;\n          this.styleSetDir.timestamp = response.timestamp;\n          this.styleSetDir.typingActivity = response.typingActivity;\n          this.styleSetDir.uploadButton = response.uploadButton;\n          this.styleSetDir.videoAttachment = response.videoAttachment;\n          this.styleSetDir.videoContent = response.videoContent;\n          this.styleSetDir.vimeoContent = response.vimeoContent;\n          this.styleSetDir.warningNotification = response.warningNotification;\n          this.styleSetDir.youTubeContent = response.youTubContent;\n        }\n      });\n    this.comService.styleOptions$.subscribe(\n      response => {\n        if (response !== null || response !== undefined) {\n          this.styleOptions = response;\n        }\n      }\n    );\n  }\n\n  /**\n   * botDirective initiates the botservice to retreive token or secret,\n   * initiates renderWebChat and activates the directLine api.\n   * set styles from styleSet and styleOptions properties\n   * @viewChild is the only required parameter\n   * Use the bot-helper for full access and control of directline webchat api\n   */\n  botDirective(viewChild: any): void {\n    this.viewChild = viewChild;\n    let token: string | undefined;\n    this.botService.getTokenObs()\n      .subscribe(\n        response => {\n          this.secretSetting ? token = response.body : token = this.secret;\n          if (response.status == 200 && response.statusText == 'OK' || response == false) {\n            const directLine = window.WebChat.createDirectLine({\n              secret: token,\n              webSocket: this.webSocket\n            });\n            if (this.styleSet && this.styleOptions) {\n              window.WebChat.renderWebChat(\n                {\n                  directLine: directLine,\n                  userID: this.userId,\n                  styleOptions: this.styleOptions,\n                  styleSet: this.styleSet\n                },\n                this.viewChild\n              );\n            } else if (this.styleSet && !this.styleOptions) {\n              window.WebChat.renderWebChat(\n                {\n                  directLine: directLine,\n                  userID: this.userId,\n                  styleSet: this.styleSet\n                },\n                this.viewChild\n              );\n            } else if (this.styleOptions && !this.styleSet) {\n              window.WebChat.renderWebChat(\n                {\n                  directLine: directLine,\n                  userID: this.userId,\n                  styleOptions: this.styleOptions\n                },\n                this.viewChild\n              );\n            } else {\n              window.WebChat.renderWebChat(\n                {\n                  directLine: directLine,\n                  userID: this.userId\n                },\n                this.viewChild\n              );\n            }\n            directLine\n              .postActivity({\n                from: {id: this.userId, name: 'USER_NAME'},\n                name: 'requestWelcomeDialog',\n                type: 'event',\n                value: 'token'\n              })\n              .subscribe({\n                next: (id: any) => console.log(`Posted activity, assigned ID ${id}`),\n                error: (error: any) => console.log(`Error posting activity ${error}`)\n              });\n          }\n          if (this.styleSet != null || this.styleSet != undefined) {\n            this.styleSet.activities = this.styleSetDir.Activities(this.styleSet.activities, this.styleSetDir.activities);\n            this.styleSet.activity = this.styleSetDir.Activity(this.styleSet.activity, this.styleSetDir.activity);\n            this.styleSet.audioAttachment = this.styleSetDir.AudioAttachment(this.styleSet.audioAttachment, this.styleSetDir.audioAttachment);\n            this.styleSet.audioContent = this.styleSetDir.AudioContent(this.styleSet.audioContent, this.styleSetDir.audioContent);\n            this.styleSet.avatar = this.styleSetDir.Avatar(this.styleSet.avatar, this.styleSetDir.avatar);\n            this.styleSet.bubble = this.styleSetDir.Bubble(this.styleSet.bubble, this.styleSetDir.bubble);\n            this.styleSet.carouselFilmStrip = this.styleSetDir.CarouselFilmStrip(this.styleSet.carouselFilmStrip, this.styleSetDir.carouselFilmStrip);\n            this.styleSet.carouselFlipper = this.styleSetDir.CarouselFlipper(this.styleSet.carouselFlipper, this.styleSetDir.carouselFlipper);\n            this.styleSet.connectivityNotification = this.styleSetDir.ConnectivityNotification(this.styleSet.connectivityNotification, this.styleSetDir.connectivityNotification);\n            this.styleSet.dictationInterims = this.styleSetDir.DictationInterims(this.styleSet.dictationInterims, this.styleSetDir.dictationInterims);\n            this.styleSet.downloadAttachment = this.styleSetDir.DownloadAttachment(this.styleSet.downloadAttachment, this.styleSetDir.downloadAttachment);\n            this.styleSet.errorBox = this.styleSetDir.ErrorBox(this.styleSet.errorBox, this.styleSetDir.errorBox);\n            this.styleSet.errorNotification = this.styleSetDir.ErrorNotification(this.styleSet.errorNotification, this.styleSetDir.errorNotification);\n            this.styleSet.microphoneButton = this.styleSetDir.MicrophoneButton(this.styleSet.microphoneButton, this.styleSetDir.microphoneButton);\n            this.styleSet.root = this.styleSetDir.Root(this.styleSet.root, this.styleSetDir.root);\n            this.styleSet.scrollToEndButton = this.styleSetDir.ScrollToEndButton(this.styleSet.scrollToEndButton, this.styleSetDir.scrollToEndButton);\n            this.styleSet.sendBox = this.styleSetDir.SendBox(this.styleSet.sendBox, this.styleSetDir.sendBox);\n            this.styleSet.sendBoxButton = this.styleSetDir.SendBoxButton(this.styleSet.sendBoxButton, this.styleSetDir.sendBoxButton);\n            this.styleSet.sendBoxTextArea = this.styleSetDir.SendBoxTextArea(this.styleSet.sendBoxTextArea, this.styleSetDir.sendBoxTextArea);\n            this.styleSet.sendBoxTextBox = this.styleSetDir.SendBoxTextBox(this.styleSet.sendBoxTextBox, this.styleSetDir.sendBoxTextBox);\n            this.styleSet.sendStatus = this.styleSetDir.SendStatus(this.styleSet.sendStatus, this.styleSetDir.sendStatus);\n            this.styleSet.singleAttachmentActivity = this.styleSetDir.SingleAttachmentActivity(this.styleSet.singleAttachmentActivity, this.styleSetDir.singleAttachmentActivity);\n            this.styleSet.spinnerAnnimation = this.styleSetDir.SpinnerAnimation(this.styleSet.spinnerAnnimation, this.styleSetDir.spinnerAnnimation);\n            this.styleSet.stackedLayout = this.styleSetDir.StackedLayout(this.styleSet.stackedLayout, this.styleSetDir.stackedLayout);\n            this.styleSet.suggestedAction = this.styleSetDir.SuggestedAction(this.styleSet.suggestedAction, this.styleSetDir.suggestedAction);\n            this.styleSet.suggestedActionsStyleSet = this.styleSetDir.SuggestedActionsStyleSet(this.styleSet.suggestedActionsStyleSet, this.styleSetDir.suggestedActionsStyleSet);\n            this.styleSet.textContent = this.styleSetDir.TextContent(this.styleSet.textContent, this.styleSetDir.textContent);\n            this.styleSet.timestamp = this.styleSetDir.Timestamp(this.styleSet.timestamp, this.styleSetDir.timestamp);\n            this.styleSet.typingActivity = this.styleSetDir.TypingActivity(this.styleSet.typingActivity, this.styleSetDir.typingActivity);\n            this.styleSet.typingAnimation = this.styleSetDir.TypingAnimation(this.styleSet.typingAnimation, this.styleSetDir.typingAnimation);\n            this.styleSet.uploadButton = this.styleSetDir.UploadButton(this.styleSet.uploadButton, this.styleSetDir.uploadButton);\n            this.styleSet.videoAttachment = this.styleSetDir.VideoAttachment(this.styleSet.videoAttachment, this.styleSetDir.videoAttachment);\n            this.styleSet.videoContent = this.styleSetDir.VideoContent(this.styleSet.videoContent, this.styleSetDir.videoContent);\n            this.styleSet.vimeoContent = this.styleSetDir.VimeoContent(this.styleSet.vimeoContent, this.styleSetDir.vimeoContent);\n            this.styleSet.warningNotification = this.styleSetDir.WarningNotification(this.styleSet.warningNotification, this.styleSetDir.warningNotification);\n            this.styleSet.youTubeContent = this.styleSetDir.YouTubeContent(this.styleSet.youTubeContent, this.styleSetDir.youTubeContent);\n          }\n        }\n      );\n  }\n\n  makeError() {\n    this.botService.makeIntentionalError().subscribe({error: error => this.error = error});\n  }\n}\n","import { Directive, Query, ViewChild} from '@angular/core';\n\n@Directive({\n  selector: 'bot-helper'\n})\nexport class BotHelperDirective {\n  viewChild?: ViewChild;\n  userId: string = 'USER_ID';\n\n  /**\n   * renderWebChat overloaded method(+3) to initiate renderWebChat object for bot construction\n   * 2 - 6 parameters allow for a self constructed renderWebChat objects to a\n   * 2 parameter self contained object will full access to the WebChat api\n   * @viewChild is the only required parameter i\n   * If not providing a @renderObject provide null in its place to skip over\n   */\n  public renderWebChat(viewChild: any, renderObject: any, directLine: any, userId: any, styleOptionsPayload: any, styleSet: any): void;\n  public renderWebChat(viewChild: any, renderObject: {}, directLine: any, userId: any, styleOptionsPayload: any): void;\n  public renderWebChat(viewChild: any, renderObject: {}, directLine: any, userId: string): void;\n  public renderWebChat(viewChild: any, renderObject: {}): void;\n  public renderWebChat(viewChild: Query | undefined, renderObject?: any, directLine?: any, userId?: string | undefined, styleOptionsPayload?: any, styleSet?: any): void {\n    userId != undefined ? this.userId = userId : this.userId;\n    if (styleOptionsPayload && styleSet) {\n      window.WebChat.renderWebChat(\n        {\n          directLine: directLine,\n          userID: this.userId,\n          styleOptions: styleOptionsPayload,\n          styleSet: styleSet\n        },\n        this.viewChild = viewChild\n      );\n    } else if (styleOptionsPayload && !styleSet)  {\n      window.WebChat.renderWebChat(\n        {\n          directLine: directLine,\n          userID: this.userId,\n          styleOptions: styleOptionsPayload\n        },\n        this.viewChild = viewChild\n      );\n    } else if (styleSet && !styleOptionsPayload) {\n      window.WebChat.renderWebChat(\n        {\n          directLine: directLine,\n          userID: this.userId,\n          styleSet: styleSet\n        },\n        this.viewChild = viewChild\n      );\n    } else if (renderObject) {\n      window.WebChat.renderWebChat(\n        renderObject,\n        this.viewChild = viewChild\n      );\n    } else {\n      window.WebChat.renderWebChat(\n        {\n          directLine: directLine,\n          userId: this.userId\n        }\n      );\n    }\n  }\n}\n","function fontFamily(fonts: any[]) {\n  return fonts.map(font => `'${font}'`).join(', ');\n}\n\nexport interface DEFAULT_OPTIONS {\n  // Color and paddings\n  accent?: string;\n  backgroundColor?: string;\n  cardEmphasisBackgroundColor?: string;\n  paddingRegular?: any;\n  paddingWide?: any;\n  subtle?: string;\n\n  // Word break\n  messageActivityWordBreak?: string; // 'normal' || 'break-all' || 'break-word' || 'keep-all'\n\n  // Fonts\n  fontSizeSmall?: string;\n  monospaceFont?: string;\n  primaryFont?: string;\n\n  // Avatar\n  avatarSize?: any;\n  botAvatarImage?: string;\n  botAvatarInitials?: string;\n  userAvatarImage?: string;\n  userAvatarInitials?: string;\n\n  // Bubble\n  bubbleBackground?: string;\n  bubbleBorderColor?: string;\n  bubbleBorderRadius?: any;\n  bubbleBorderStyle?: string;\n  bubbleBorderWidth?: any;\n  bubbleFromUserBackground?: string;\n  bubbleFromUserBorderColor?: string;\n  bubbleFromUserBorderRadius?: any;\n  bubbleFromUserBorderStyle?: string;\n  bubbleFromUserBorderWidth?: any;\n  bubbleFromUserNubOffset?: string;\n  bubbleFromUserNubSize?: any;\n  bubbleFromUserTextColor?: string;\n  bubbleImageHeight?: any;\n  bubbleMaxWidth?: any; // screen width = 600px\n  bubbleMinHeight?: any;\n  bubbleMinWidth?: any; // min screen width = 300px, Edge requires 372px (https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13621468/)\n  bubbleNubOffset?: string;\n  bubbleNubSize?: any;\n  bubbleTextColor?: string;\n\n  // Markdown\n  markdownRespectCRLF?: boolean;\n\n  // Rich Cards\n  richCardWrapTitle?: boolean; // Applies to subtitles as well\n\n  // Root\n  rootHeight?: string;\n  rootWidth?: string;\n\n  // Send box\n  hideSendBox?: boolean;\n  hideUploadButton?: boolean;\n  microphoneButtonColorOnDictate?: string;\n  sendBoxBackground?: string;\n  sendBoxButtonColor?: string;\n  sendBoxButtonColorOnDisabled?: string;\n  sendBoxButtonColorOnFocus?: string;\n  sendBoxButtonColorOnHover?: string;\n  sendBoxHeight?: any;\n  sendBoxMaxHeight?: any;\n  sendBoxTextColor?: string;\n  sendBoxBorderBottom?: string;\n  sendBoxBorderLeft?: string;\n  sendBoxBorderRight?: string;\n  sendBoxBorderTop?: string;\n  sendBoxPlaceholderColor?: string;\n  sendBoxTextWrap?: boolean;\n\n  // Visually show spoken text\n  showSpokenText?: boolean;\n\n  // Suggested actions\n  suggestedActionBackground?: string;\n  suggestedActionBorder?: string;\n  suggestedActionBorderRadius?: any;\n  suggestedActionImageHeight?: any;\n  // DEFAULT_ACCENT\n  suggestedActionTextColor?: string;\n  suggestedActionDisabledBackground?: string;\n  suggestedActionDisabledBorder?: string;\n  // DEFAULT_SUBTLE\n  suggestedActionDisabledTextColor?: string;\n  suggestedActionHeight?: any;\n\n  // Timestamp\n  timestampColor?: string;\n\n  // Transcript overlay buttons (e.g. carousel and suggested action flippers, scroll to bottom, etc.)\n  transcriptOverlayButtonBackground?: string;\n  transcriptOverlayButtonBackgroundOnFocus?: string;\n  transcriptOverlayButtonBackgroundOnHover?: string;\n  transcriptOverlayButtonColor?: string;\n  transcriptOverlayButtonColorOnFocus?: string;\n  transcriptOverlayButtonColorOnHover?: string;\n\n  // Video\n  videoHeight?: any; // based on bubbleMaxWidth, 480 / 16 * 9 = 270\n\n  // Connectivity UI\n  // PADDING_REGULAR\n  connectivityIconPadding?: any;\n  // PADDING_REGULAR\n  connectivityMarginLeftRight?: any;\n  // PADDING_REGULAR\n  connectivityMarginTopBottom?: any;\n  connectivityTextSize?: any;\n  failedConnectivity?: string;\n  slowConnectivity?: string;\n  notificationText?: string;\n\n  typingAnimationBackgroundImage?: any;\n  typingAnimationHeight?: any;\n  typingAnimationWidth?: any;\n\n  spinnerAnimationBackgroundImage?: any;\n  spinnerAnimationHeight?: any;\n  spinnerAnimationWidth?: any;\n  spinnerAnimationPaddingRight?: any;\n\n  // added properties for styling styleSet\n  activties?: {};\n  activity?: {};\n  audioAttachment?: {};\n  audioContent?: {};\n  avatar?: {};\n  bubble?: {};\n  carouselFilmStrip?: {};\n  carouselFlipper?: {};\n  connectivityNotification?: {};\n  dictationInterims?: {};\n  downloadAttachment?: {};\n  errorBox?: {};\n  errorNotification?: {};\n  microphoneButton?: {};\n  root?: {};\n  scrollToEndButton?: {};\n  sendBox?: {};\n  sendBoxButton?: {};\n  sendBoxTextArea?: {};\n  sendBoxTextBox?: {};\n  sendStatus?: {};\n  singleAttachmentActivity?: {};\n  spinnerAnnimation?: {};\n  stackedLayout?: {};\n  suggestedAction?: {};\n  suggestedActionsStyleSet?: {};\n  textContent?: {};\n  timestamp?: {};\n  typingActivity?: {};\n  uploadButton?: {};\n  videoAttachment?: {};\n  videoContent?: {};\n  vimeoContent?: {};\n  warningNotification?: {};\n  youTubContent?: {};\n};\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { BotDirective } from './directives/bot.directive';\nimport { BotHelperDirective } from './directives/bot-helper.directive';\nimport { StyleSetDirective } from './directives/style-set.directive';\nimport { HttpClientModule } from '@angular/common/http';\n\nimport { HttpErrorHandler }     from './services/http-error-handler.service';\nimport { MessageService }       from './services/message.service';\n\n\n@NgModule({\n  declarations: [\n    BotDirective,\n    BotHelperDirective,\n    StyleSetDirective\n  ],\n  imports: [\n    BrowserModule,\n    HttpClientModule\n  ],\n  exports: [],\n  providers: [\n    HttpErrorHandler,\n    MessageService\n  ]\n})\nexport class NgxMicrosoftBotFrameworkModule { }\n","/*\n * Public API Surface of ngx-microsoft-bot-framework\n */\n\n// directives \nexport * from './lib/directives/bot.directive';\nexport * from './lib/directives/bot-helper.directive';\nexport * from './lib/directives/style-set.directive';\n// services\nexport * from './lib/services/bot.service';\nexport * from './lib/services/com.service';\nexport * from './lib/services/http-error-handler.service';\nexport * from './lib/services/message.service';\n// interfaces\nexport * from './lib/interfaces/bot-payload';\nexport * from './lib/interfaces/webchat';\nexport * from './lib/interfaces/default-options';\nexport * from './lib/interfaces/payload-response';\nexport * from './lib/interfaces/style-set';\n// module.ts\nexport * from './lib/ngx-microsoft-bot-framework.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.MessageService","i2.ComService","i3.HttpErrorHandler","i1.StyleSetDirective","i2.BotService","i3.ComService"],"mappings":";;;;;;;;MAMa,UAAU,CAAA;AADvB,IAAA,WAAA,GAAA;;AAIU,QAAA,IAAA,CAAA,qBAAqB,GAAG,IAAI,OAAO,EAAY,CAAC;AAChD,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,OAAO,EAA+B,CAAC;AAC7D,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,OAAO,EAA+B,CAAC;;AAGzE,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,CAAC,qBAAqB,CAAC,YAAY,EAAE,CAAC;AACxD,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,CAAC;AAChD,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,CAAC,mBAAmB,CAAC,YAAY,EAAE,CAAC;AAWzD,KAAA;;AARC,IAAA,WAAW,CAAC,OAAiB,EAAA;AAC3B,QAAA,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC1C;IAED,kBAAkB,CAAC,mBAAqC,EAAE,eAAiC,EAAA;AACzF,QAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAC3C,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;KACpD;;uGApBU,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eA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