@hivegpt/hiveai-angular 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/bundles/hivegpt-hiveai-angular.umd.js +1482 -0
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -0
- package/bundles/hivegpt-hiveai-angular.umd.min.js +2 -0
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -0
- package/environments/environment.d.ts +11 -0
- package/environments/environment.d.ts.map +1 -0
- package/esm2015/environments/environment.js +11 -0
- package/esm2015/hivegpt-hiveai-angular.js +7 -0
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +731 -0
- package/esm2015/lib/components/chatbot/chatbot.component.js +49 -0
- package/esm2015/lib/components/video-player/video-player.component.js +123 -0
- package/esm2015/lib/hivegpt.module.js +19 -0
- package/esm2015/lib/models/video.js +2 -0
- package/esm2015/lib/pipes/safe-html.pipe.js +19 -0
- package/esm2015/lib/utils/utils.js +36 -0
- package/esm2015/public-api.js +7 -0
- package/fesm2015/hivegpt-hiveai-angular.js +986 -0
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -0
- package/hivegpt-hiveai-angular.d.ts +7 -0
- package/hivegpt-hiveai-angular.d.ts.map +1 -0
- package/hivegpt-hiveai-angular.metadata.json +1 -0
- package/lib/components/chat-drawer/chat-drawer.component.d.ts +126 -0
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -0
- package/lib/components/chatbot/chatbot.component.d.ts +35 -0
- package/lib/components/chatbot/chatbot.component.d.ts.map +1 -0
- package/lib/components/video-player/video-player.component.d.ts +36 -0
- package/lib/components/video-player/video-player.component.d.ts.map +1 -0
- package/lib/hivegpt.module.d.ts +3 -0
- package/lib/hivegpt.module.d.ts.map +1 -0
- package/lib/models/video.d.ts +35 -0
- package/lib/models/video.d.ts.map +1 -0
- package/lib/pipes/safe-html.pipe.d.ts +8 -0
- package/lib/pipes/safe-html.pipe.d.ts.map +1 -0
- package/lib/utils/utils.d.ts +3 -0
- package/lib/utils/utils.d.ts.map +1 -0
- package/package.json +19 -0
- package/public-api.d.ts +4 -0
- package/public-api.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hivegpt-hiveai-angular.js","sources":["../../../../projects/hivegpt/eventsgpt-angular/src/lib/utils/utils.ts","../../../../projects/hivegpt/eventsgpt-angular/src/environments/environment.ts","../../../../projects/hivegpt/eventsgpt-angular/src/lib/components/chat-drawer/chat-drawer.component.ts","../../../../projects/hivegpt/eventsgpt-angular/src/lib/components/chatbot/chatbot.component.ts","../../../../projects/hivegpt/eventsgpt-angular/src/lib/pipes/safe-html.pipe.ts","../../../../projects/hivegpt/eventsgpt-angular/src/lib/components/video-player/video-player.component.ts","../../../../projects/hivegpt/eventsgpt-angular/src/lib/hivegpt.module.ts","../../../../projects/hivegpt/eventsgpt-angular/src/public-api.ts","../../../../projects/hivegpt/eventsgpt-angular/src/hivegpt-hiveai-angular.ts"],"sourcesContent":["const formatHoursAndMinutes = (date: Date) => {\r\n let hours = date.getHours() % 12;\r\n const minutes = date.getMinutes();\r\n const amPm = date.getHours() < 12 ? 'AM' : 'PM';\r\n if(hours === 0) hours = 12;\r\n\r\n const formattedHours = hours < 10 ? `0${hours}` : hours;\r\n const formattedMinutes = minutes < 10 ? `0${minutes}` : minutes;\r\n\r\n return `${formattedHours}:${formattedMinutes} ${amPm}`;\r\n};\r\n\r\nexport const formatNow = (timezone?: string) => {\r\n const now = new Date();\r\n if (timezone) {\r\n const options: any = {\r\n hour12: true,\r\n hour: 'numeric',\r\n minute: 'numeric',\r\n timeZone: timezone,\r\n };\r\n return now.toLocaleString('en-US', options);\r\n }\r\n return formatHoursAndMinutes(now);\r\n};\r\n\r\nexport const formatTimeStamps = (timezone: string, timestamps: any) => {\r\n const date = new Date(timestamps + 'Z');\r\n\r\n const options: any = {\r\n hour12: true,\r\n hour: 'numeric',\r\n minute: 'numeric',\r\n timeZone: timezone,\r\n };\r\n return date.toLocaleString('en-US', options);\r\n};\r\n","export const prod_environment = {\r\n USERS_API: 'https://es-user.social27.com/api',\r\n BASE_URL: 'https://chatbot-api.social27.com',\r\n API_KEY: 'b621eb3f-0bd2-41d5-a48c-a8f8ab7d38f8'\r\n}\r\n\r\nexport const dev_environment = {\r\n USERS_API: 'https://pre-user.social27.com/api',\r\n BASE_URL: 'https://chatbot-api-staging.social27.com',\r\n API_KEY: 'b621eb3f-0bd2-41d5-a48c-a8f8ab7d38f8'\r\n}\r\n","// import { Platform } from '@angular/cdk/platform';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n OnInit,\r\n Output,\r\n Renderer2,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { MatDrawer } from '@angular/material/sidenav';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { of } from 'rxjs';\r\nimport { catchError, switchMap } from 'rxjs/operators';\r\nimport { formatNow, formatTimeStamps } from '../../utils/utils';\r\nimport { dev_environment, prod_environment } from '../../../environments/environment';\r\n\r\n@Component({\r\n selector: 'hivegpt-chat-drawer',\r\n templateUrl: './chat-drawer.component.html',\r\n styleUrls: ['./chat-drawer.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class ChatDrawerComponent implements OnInit {\r\n @ViewChild('chatMain') private chatMain: ElementRef;\r\n\r\n @ViewChild('drawer') drawer!: MatDrawer;\r\n private bodyOverflowClass = 'body-overflow-hidden';\r\n @ViewChild('myTextarea', { static: false })\r\n myTextarea!: ElementRef<HTMLTextAreaElement>; // Reference to the textarea\r\n\r\n @Input() copilotName: string = \"HiveXGPT\";\r\n @Input() firstName!: string;\r\n @Input() lastName!: string;\r\n @Input() apiKey!: string;\r\n @Input() bgBubbleAi!: string;\r\n @Input() bgBubbleUser!: string;\r\n @Input() bgGradient!: string[];\r\n @Input() botName!: string;\r\n @Input() botId!: string;\r\n @Input() closeButtonColor!: string;\r\n @Input() closeButtonbgColor!: string;\r\n @Input() credentials!: [];\r\n @Input() dateTimeColor!: string;\r\n @Input() dateTextColor!: string;\r\n @Input() eventId!: string;\r\n @Input() s27UserToken!: string;\r\n @Input() eventName!: string;\r\n @Input() botIcon!: string;\r\n @Input() formFieldBgColor!: string;\r\n @Input() formFieldTextColor!: string;\r\n @Input() fullView!: boolean;\r\n @Input() gradientColors!: string[];\r\n @Input() greeting!: string;\r\n @Input() messageTextColorAi!: string;\r\n @Input() messageTextColorUser!: string;\r\n @Input() rules!: string;\r\n @Input() sendButtonColor!: string;\r\n @Input() sendButtonTextColor!: string;\r\n @Input() showClose!: boolean;\r\n @Input() thumbsDownMessages!: string[];\r\n @Input() thumbsUpMessage!: string;\r\n @Input() timezone!: string;\r\n @Input() unknownResponses!: [];\r\n @Input() useOpenAi!: boolean;\r\n @Input() userId!: string;\r\n @Input() isDev!: boolean;\r\n\r\n @Input() againButtonColor!: string[];\r\n @Input() againButtonTextColor!: string[];\r\n @Output() feedbackEvent = new EventEmitter<string>();\r\n @Output() onCloseEvent = new EventEmitter<void>();\r\n @Output() openPage = new EventEmitter<any>();\r\n @Output() sessionActions = new EventEmitter<any>();\r\n @Output() closeBot = new EventEmitter<any>();\r\n @Output() connectWithUser = new EventEmitter<any>();\r\n @Output() scheduleMeeting = new EventEmitter<string>();\r\n\r\n autogenKey = \"Autogen_eDJTtEU-NB0RtIpzq1w\"\r\n addToMyAgendaAction = \"add_to_my_agenda\";\r\n myUpcomingSessionAction = \"my_upcomming_session\";\r\n connectOrFollowAction = \"connect_or_follow\";\r\n aiResponse: string = '';\r\n chatLog: any[] = [];\r\n decoder = new TextDecoder();\r\n feedbackDone: boolean = false;\r\n greetingMsg: string = '';\r\n hasBackdropValue: boolean = false;\r\n input: string = '';\r\n listenerAdded = false;\r\n loading: boolean = false;\r\n mode: string = 'over';\r\n quickPrompts: any[] = [];\r\n thumbsDownMsgIndex = 0;\r\n userName: string = '';\r\n showStartAgain: boolean = false;\r\n isIOSDevice: boolean = false;\r\n showFeedBackIconsIndex: number | null = null;\r\n temperature: number = 1;\r\n speakers = [];\r\n environment: {\r\n USERS_API,\r\n BASE_URL\r\n };\r\n pendingRequests: any;\r\n myConnections: any;\r\n\r\n constructor(\r\n private cdr: ChangeDetectorRef,\r\n private http: HttpClient,\r\n private sanitizer: DomSanitizer,\r\n private elementRef: ElementRef,\r\n private renderer: Renderer2,\r\n // private platform: Platform\r\n ) {\r\n this.chatMain = new ElementRef(null);\r\n // if (this.platform.IOS) {\r\n // this.isIOSDevice = true;\r\n // }\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.environment = this.isDev ? dev_environment : prod_environment;\r\n\r\n this.fetchMyConnections().subscribe();\r\n this.fetchPendingRequests().subscribe();\r\n\r\n this.changeTemperature(this.temperature);\r\n this.fetchBotConfig().subscribe(\r\n (res) => {\r\n this.cdr.markForCheck();\r\n this.fetchChatHistory().subscribe(\r\n (response) => {\r\n this.mapChatHistory(response);\r\n this.cdr.markForCheck();\r\n },\r\n (err) => {\r\n console.error('Error fetching chat history:', err);\r\n }\r\n );\r\n },\r\n (err) => {\r\n console.error('Error fetching chat history:', err);\r\n }\r\n );\r\n\r\n this.cdr.markForCheck();\r\n }\r\n\r\n changeTemperature(newTemperature: number) {\r\n if (this.loading) return;\r\n this.temperature = newTemperature;\r\n const wrapper = document.querySelector('.hivegpt-chat-wrapper')\r\n // Remove existing theme classes from body\r\n wrapper?.classList.remove('creative', 'balanced', 'precise');\r\n\r\n switch (newTemperature) {\r\n case 0:\r\n wrapper?.classList.add('creative');\r\n break;\r\n case 1:\r\n wrapper?.classList.add('balanced');\r\n break;\r\n case 2:\r\n wrapper?.classList.add('precise');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n onStartAgain() {\r\n if (this.loading) return;\r\n this.showStartAgain = false;\r\n this.chatLog = [];\r\n this.chatLog.push({\r\n type: 'ai',\r\n message:\r\n this.greetingMsg ||\r\n this.processMessage(\r\n \"Greetings! I'm your COP28 virtual assistant. Have questions about the event? I'm here to help.\"\r\n ),\r\n time: formatNow(this.timezone),\r\n });\r\n this.archieveMessages().subscribe();\r\n }\r\n\r\n archieveMessages() {\r\n const headers = new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'x-api-key': this.apiKey,\r\n });\r\n const url = `${this.environment.BASE_URL}/bot/clear-history/${this.botId}/${this.userId}`;\r\n return this.http.post(url, {}, { headers }).pipe(\r\n switchMap((res: any) => {\r\n return of(res);\r\n }),\r\n catchError((error) => {\r\n return of(null);\r\n })\r\n );\r\n }\r\n\r\n fetchBotConfig() {\r\n this.loading = true;\r\n const url = `${this.environment.BASE_URL}/bots?bot_id=${this.botId}`;\r\n return this.http.get(url).pipe(\r\n switchMap((res: any) => {\r\n this.botName = res.name;\r\n this.botIcon = res.icon;\r\n this.greetingMsg = res.greeting;\r\n\r\n this.thumbsDownMessages = res?.negativeResponses?.length\r\n ? res.negativeResponses\r\n : [\r\n \"We are sorry we've not been able to answer your question.<br/> However, our dedicated support team is happy to help. <span class='feedback-link' style='cursor: pointer; text-decoration: underline; font-weight: 700; color: #17235B;'>Please click here</span> and a human agent will assist you as soon as possible\",\r\n ];\r\n this.quickPrompts = res.quickPrompts;\r\n this.cdr.markForCheck();\r\n this.loading = false;\r\n return of(res);\r\n }),\r\n catchError((error) => {\r\n console.error('Error fetching chatbot config: ', error);\r\n this.loading = false;\r\n return of(null);\r\n })\r\n );\r\n }\r\n\r\n fetchChatHistory() {\r\n this.loading = true;\r\n const headers = new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'x-api-key': this.apiKey,\r\n });\r\n return this.http\r\n .post(\r\n `${this.environment.BASE_URL}/bot/history`,\r\n {\r\n user_id: this.userId,\r\n bot_id: this.botId,\r\n },\r\n { headers }\r\n )\r\n .pipe(\r\n switchMap((res: any) => {\r\n this.loading = false;\r\n return of(res);\r\n }),\r\n catchError((error: any) => {\r\n console.error('Error fetching chat history: ', error);\r\n this.loading = false;\r\n return of(null);\r\n })\r\n );\r\n }\r\n\r\n mapChatHistory(chats: any) {\r\n this.chatLog.push({\r\n type: 'ai',\r\n message:\r\n this.greetingMsg ||\r\n this.processMessage(\r\n \"Greetings! I'm your COP28 virtual assistant. Have questions about the event? I'm here to help.\"\r\n ),\r\n time: formatNow(this.timezone),\r\n });\r\n if (chats && chats.length) {\r\n chats.forEach((chat: any) => {\r\n if (chat.User) {\r\n this.chatLog.push({\r\n type: 'user',\r\n message: this.processMessage(chat.User),\r\n time: formatTimeStamps(this.timezone, chat.Timestamp),\r\n });\r\n }\r\n if (chat.AI) {\r\n this.chatLog.push({\r\n type: 'ai',\r\n message: this.processMessage(chat.AI),\r\n time: formatTimeStamps(this.timezone, chat.Timestamp),\r\n });\r\n this.showFeedBackIconsIndex = this.chatLog.length - 1;\r\n }\r\n });\r\n this.showStartAgain = true;\r\n }\r\n this.scrollToBottom();\r\n this.cdr.markForCheck();\r\n }\r\n\r\n processMessage(message: string): SafeHtml {\r\n if (!message || !(message?.length > 0)) {\r\n return '';\r\n }\r\n\r\n console.log('here is my message')\r\n console.log(message);\r\n\r\n message = message.trim();\r\n\r\n const markdownLinkRegex = /\\[([^[]+)]\\(([^)]+)\\)/g;\r\n const urlRegex = /(?<!href=\")\\bhttps?:\\/\\/\\S+(?<![.,])/gi;\r\n\r\n if (markdownLinkRegex.test(message)) {\r\n const html = message.replace(\r\n markdownLinkRegex,\r\n '<a href=\"$2\" target=\"_blank\">$1</a>'\r\n );\r\n console.log('Sanitized message: ', message);\r\n return this.sanitizeHtml(html);\r\n }\r\n\r\n if (urlRegex.test(message)) {\r\n const html = message.replace(\r\n urlRegex,\r\n '<a href=\"$&\" target=\"_blank\">$&</a>'\r\n );\r\n console.log('Sanitized message: ', message);\r\n return this.sanitizeHtml(html);\r\n }\r\n\r\n message = message.replace(/(?:\\r\\n|\\r|\\n)/g, '<br>');\r\n\r\n message = message.replace(/\\*\\*(.*?)\\*\\*/g, '<strong>$1</strong>');\r\n\r\n this.cdr.markForCheck();\r\n const sanitizedMessage = this.sanitizeHtml(message);\r\n return sanitizedMessage;\r\n }\r\n\r\n ngAfterViewChecked() {\r\n const feedbackLinks =\r\n this.elementRef.nativeElement.querySelectorAll('.feedback-link');\r\n feedbackLinks.forEach((link: any) => {\r\n link.addEventListener(\r\n 'click',\r\n this.onFeedbackClick.bind(this, 'zendesk')\r\n );\r\n });\r\n // if (this.elementRef.nativeElement.querySelector('.feedback-link')) {\r\n // this.elementRef.nativeElement\r\n // .querySelector('.feedback-link')\r\n // .addEventListener('click', this.onFeedbackClick.bind(this, 'zendesk'));\r\n // }\r\n }\r\n\r\n sanitizeHtml(html: string): SafeHtml {\r\n return this.sanitizer.bypassSecurityTrustHtml(html);\r\n }\r\n\r\n onFeedbackClick(value: string) {\r\n this.feedbackEvent.emit(value);\r\n }\r\n\r\n onClose() {\r\n this.renderer.removeClass(document.body, this.bodyOverflowClass);\r\n this.onCloseEvent.emit();\r\n }\r\n\r\n sendMessageWithTile(prompt: string) {\r\n this.input = prompt;\r\n this.fetchData();\r\n this.scrollToBottom();\r\n }\r\n\r\n fetchData() {\r\n this.input = this.input?.trim();\r\n if (!this.input || !this.userId || this.loading) {\r\n return;\r\n }\r\n\r\n this.chatLog.push({\r\n type: 'user',\r\n message: this.processMessage(this.input),\r\n time: formatNow(this.timezone),\r\n });\r\n\r\n this.cdr.markForCheck();\r\n\r\n this.aiResponse = '';\r\n this.loading = true;\r\n\r\n const url =\r\n `${this.environment.BASE_URL}/bot/ask-kb` +\r\n (this.useOpenAi === false ? '/llm-hf' : '');\r\n fetch(url, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'x-api-key': this.apiKey,\r\n },\r\n body: JSON.stringify({\r\n query: this.input,\r\n user_id: this.userId,\r\n bot_id: this.botId,\r\n temperature: this.temperature,\r\n event_id: this.eventId,\r\n token: this.s27UserToken\r\n }),\r\n })\r\n // Retrieve its body as ReadableStream\r\n .then((response) => {\r\n return this.readAllChunks(response.body);\r\n })\r\n .catch((err) => {\r\n console.error('Err: ', err);\r\n this.loading = false;\r\n });\r\n\r\n this.input = '';\r\n }\r\n\r\n fetchSmallTalk() {\r\n this.loading = true;\r\n this.cdr.markForCheck();\r\n\r\n const url = `${this.environment.BASE_URL}/bot/small-talk/${this.botId}/${this.userId}`;\r\n\r\n this.http\r\n .get<{ smallTalk: string }>(url, {\r\n headers: {\r\n 'x-api-key': this.apiKey,\r\n },\r\n })\r\n .pipe(\r\n catchError((error) => {\r\n console.error('Error while fetching small talk:', error);\r\n\r\n return of(null);\r\n })\r\n )\r\n .subscribe((response) => {\r\n this.loading = false;\r\n this.cdr.markForCheck();\r\n\r\n if (!response) {\r\n return;\r\n }\r\n\r\n if (response && response.smallTalk) {\r\n this.chatLog.push({\r\n type: 'ai',\r\n message: this.processMessage(response.smallTalk),\r\n time: formatNow(this.timezone),\r\n isFeedbackMsg: true,\r\n });\r\n this.showFeedBackIconsIndex = this.chatLog.length - 2;\r\n // this.scrollToBottom();\r\n this.cdr.markForCheck();\r\n }\r\n });\r\n }\r\n\r\n readAllChunks = (stream: any) => {\r\n const reader = stream.getReader();\r\n const allSuggestions: string[] = [];\r\n\r\n reader.closed.catch((err: any) => {\r\n if (err) {\r\n console.error('Error reading stream: ', err);\r\n }\r\n\r\n this.loading = false;\r\n this.scrollToBottom();\r\n return;\r\n });\r\n\r\n return new ReadableStream({\r\n start: (controller) => {\r\n return this.pump(controller, reader, allSuggestions);\r\n },\r\n });\r\n };\r\n\r\n pump(controller: any, reader: any, allSuggestions: string[]) {\r\n reader.read().then(({ done, value }: any) => {\r\n const lastItem = this.chatLog[this.chatLog.length - 1];\r\n\r\n if (done) {\r\n lastItem.message = this.processMessage(lastItem.message);\r\n this.chatLog.pop();\r\n this.chatLog.push(lastItem);\r\n if (allSuggestions?.length) {\r\n this.chatLog.push({\r\n type: 'suggestions',\r\n suggestions: allSuggestions\r\n })\r\n }\r\n\r\n controller.close();\r\n this.loading = false;\r\n // this.scrollToBottom();\r\n this.cdr.markForCheck();\r\n this.showStartAgain = true;\r\n\r\n // setTimeout(() => {\r\n // this.fetchSmallTalk();\r\n // },1000)\r\n return;\r\n }\r\n\r\n let decodedChunk = this.decoder.decode(value, { stream: true });\r\n this.aiResponse += decodedChunk;\r\n if (lastItem.type === 'ai') {\r\n const suggestionsMatch = this.aiResponse.match(/<sug>(.*?)<\\/sug>/g);\r\n if (suggestionsMatch) {\r\n suggestionsMatch.forEach((match) => {\r\n this.aiResponse = this.aiResponse.replace(match, \"\");\r\n allSuggestions.push(match?.replace(/<\\/?sug>/g, \"\"));\r\n });\r\n }\r\n\r\n lastItem.message = this.aiResponse;\r\n this.cdr.markForCheck();\r\n } else {\r\n this.loading = false;\r\n\r\n let aiFormattedData: any;\r\n\r\n try {\r\n console.log('parsing json ')\r\n aiFormattedData = JSON.parse(JSON.parse(this.aiResponse))\r\n }\r\n catch (e) {\r\n try {\r\n console.log('parsing json 2')\r\n aiFormattedData = JSON.parse(this.aiResponse)\r\n } catch (e) { }\r\n }\r\n\r\n console.log('parsing json done')\r\n\r\n if (aiFormattedData && aiFormattedData?.section_id?.length > 0) {\r\n if (aiFormattedData.section_id == 'company_search' || aiFormattedData.section_id == 'user_search' || aiFormattedData.section_id == 'industry_company_search') {\r\n this.fetchMyConnections().subscribe();\r\n this.fetchPendingRequests().subscribe();\r\n }\r\n\r\n if (aiFormattedData.section_id == this.myUpcomingSessionAction) {\r\n var speakerIds = [];\r\n aiFormattedData.content?.forEach(session => {\r\n speakerIds = [...speakerIds, ...session.speakers]\r\n });\r\n\r\n if (speakerIds?.length > 0)\r\n this.getSpeakersByStaffIds(speakerIds);\r\n }\r\n\r\n if (aiFormattedData.section_id == this.addToMyAgendaAction && aiFormattedData.content?.length > 0) {\r\n this.openPage.next({\r\n sectionId: aiFormattedData.section_id,\r\n sessionIds: aiFormattedData.content\r\n })\r\n }\r\n\r\n if (aiFormattedData.section_id == this.connectOrFollowAction) {\r\n let usersLen = aiFormattedData.content?.length;\r\n if (usersLen > 1) {\r\n this.openPage.next({\r\n sectionId: \"open_networking_drawer\",\r\n search: aiFormattedData.content\r\n })\r\n }\r\n else if (usersLen == 1) {\r\n this.openPage.next({\r\n sectionId: aiFormattedData.section_id,\r\n connetUserIds: [aiFormattedData.content[0].userId]\r\n })\r\n }\r\n }\r\n\r\n if (aiFormattedData.is_open_page == \"true\") {\r\n this.openPage.next({\r\n sectionId: aiFormattedData.section_id,\r\n search: aiFormattedData.content\r\n });\r\n\r\n if (this.isMobileBrowser()) {\r\n aiFormattedData.message += \"\\n\\n\" + '<a id=\"closeBotNow\">Click Here</a> to see results.'\r\n }\r\n }\r\n\r\n\r\n\r\n this.chatLog.push({\r\n type: 'ai',\r\n message: aiFormattedData.message,\r\n action: aiFormattedData,\r\n time: formatNow(this.timezone)\r\n });\r\n\r\n if (this.isMobileBrowser()) {\r\n setTimeout(() => {\r\n this.addCloseBotClickEvent();\r\n }, 500);\r\n }\r\n\r\n this.aiResponse = \"\";\r\n } else {\r\n this.chatLog.push({\r\n type: 'ai',\r\n message: this.aiResponse,\r\n time: formatNow(this.timezone),\r\n });\r\n }\r\n\r\n this.showFeedBackIconsIndex = this.chatLog.length - 1;\r\n this.cdr.markForCheck();\r\n }\r\n\r\n this.scrollToBottom();\r\n\r\n // Enqueue the next data chunk into our target stream\r\n controller.enqueue(value);\r\n this.pump(controller, reader, allSuggestions);\r\n });\r\n }\r\n\r\n submitFeedback(flag: boolean) {\r\n this.feedbackDone = true;\r\n this.showFeedBackIconsIndex = null;\r\n const url = `${this.environment.BASE_URL}/bot/feedback`;\r\n fetch(url, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'x-api-key': this.apiKey,\r\n },\r\n body: JSON.stringify({ flag, user_id: this.userId, bot_id: this.botId }),\r\n }).then(() => {\r\n if (flag) {\r\n this.chatLog.push({\r\n type: 'ai',\r\n message:\r\n this.thumbsUpMessage ||\r\n `Great. May I assist you with anything else?`,\r\n time: formatNow(this.timezone),\r\n isFeedbackMsg: true,\r\n });\r\n\r\n this.scrollToBottom();\r\n this.cdr.markForCheck();\r\n this.feedbackDone = false;\r\n this.showFeedBackIconsIndex = null;\r\n return;\r\n }\r\n\r\n this.chatLog.push({\r\n type: 'ai',\r\n message: this.processMessage(\r\n this.thumbsDownMessages[this.thumbsDownMsgIndex]\r\n ),\r\n time: formatNow(this.timezone),\r\n isFeedbackMsg: true,\r\n });\r\n this.thumbsDownMsgIndex =\r\n (this.thumbsDownMsgIndex + 1) % this.thumbsDownMessages.length;\r\n this.scrollToBottom();\r\n this.cdr.markForCheck();\r\n this.feedbackDone = false;\r\n this.showFeedBackIconsIndex = null;\r\n });\r\n }\r\n\r\n handleSubmit() {\r\n this.fetchData();\r\n this.scrollToBottom();\r\n }\r\n\r\n handleUpClick(idx: any) {\r\n if (this.feedbackDone) {\r\n return;\r\n }\r\n\r\n this.submitFeedback(true);\r\n this.chatLog[idx].liked = !this.chatLog[idx].liked;\r\n\r\n if (this.chatLog[idx].unliked) {\r\n this.chatLog[idx].unliked = !this.chatLog[idx].unliked;\r\n }\r\n\r\n this.cdr.markForCheck();\r\n }\r\n\r\n handleDownClick(idx: any) {\r\n if (this.feedbackDone) return;\r\n this.submitFeedback(false);\r\n this.chatLog[idx].unliked = !this.chatLog[idx].unliked;\r\n if (this.chatLog[idx].liked)\r\n this.chatLog[idx].liked = !this.chatLog[idx].liked;\r\n }\r\n\r\n scrollToBottom() {\r\n let counter = 0;\r\n const interval = setInterval(() => {\r\n this.chatMain.nativeElement.scrollTop =\r\n this.chatMain.nativeElement.scrollHeight;\r\n if (counter++ > 5) clearInterval(interval);\r\n }, 5);\r\n }\r\n\r\n handleAction(action: any) {\r\n console.info(\"incoming action from the chatbot AI\")\r\n console.info(action)\r\n\r\n if (action?.content) {\r\n\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n // Check if the drawer is initially open and apply overflow hidden to body if so\r\n if (this.drawer.opened) {\r\n this.setBodyOverflow();\r\n }\r\n\r\n // Listen to changes in the drawer being opened or closed\r\n this.drawer.openedChange.subscribe((opened: boolean) => {\r\n if (opened) {\r\n this.setBodyOverflow();\r\n } else {\r\n this.removeBodyOverflow();\r\n }\r\n });\r\n\r\n this.drawer.openedChange.subscribe((opened) => {\r\n if (opened) {\r\n setTimeout(() => {\r\n if (this.myTextarea && this.myTextarea.nativeElement) {\r\n this.myTextarea.nativeElement.focus(); // Focus on the textarea\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n private setBodyOverflow() {\r\n this.renderer.addClass(document.body, this.bodyOverflowClass);\r\n }\r\n\r\n private removeBodyOverflow() {\r\n this.renderer.removeClass(document.body, this.bodyOverflowClass);\r\n }\r\n\r\n getSpeakersByStaffIds(ids) {\r\n const url =\r\n `${this.environment.USERS_API}/events/${this.eventId}/users/get-by-staff-ids`\r\n fetch(url, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Authorization': \"Bearer \" + \"your_token_here\",\r\n },\r\n body: JSON.stringify(ids),\r\n })\r\n .then((response) => {\r\n if (response.ok) {\r\n return response.json(); // Parse the JSON body of the response\r\n } else {\r\n throw new Error('Network response was not ok.');\r\n }\r\n })\r\n .then((data) => {\r\n if (data?.length > 0) {\r\n data.forEach(speaker => {\r\n this.speakers[speaker.id] = speaker;\r\n });\r\n\r\n this.cdr.markForCheck();\r\n }\r\n })\r\n .catch((err) => {\r\n console.error('Error fetching data:', err);\r\n this.loading = false;\r\n });\r\n }\r\n\r\n performSessionAction(sessionId, action) {\r\n this.sessionActions.next({\r\n sessionId,\r\n action\r\n });\r\n }\r\n\r\n addCloseBotClickEvent() {\r\n const element = this.elementRef.nativeElement.querySelector('#closeBotNow');\r\n if (element) {\r\n this.renderer.listen(element, 'click', () => {\r\n this.closeBot.next();\r\n });\r\n }\r\n }\r\n\r\n isMobileBrowser() {\r\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\n }\r\n\r\n connectToUser(userId) {\r\n this.connectWithUser.emit({\r\n connect: !this.canDisconnect(userId),\r\n userId\r\n });\r\n\r\n setTimeout(() => {\r\n this.fetchMyConnections().subscribe(res => {\r\n this.cdr.markForCheck();\r\n });\r\n this.fetchPendingRequests().subscribe(res => {\r\n this.cdr.markForCheck();\r\n });\r\n }, 500);\r\n }\r\n\r\n scheduleMeetingWithUser(user) {\r\n this.scheduleMeeting.emit(user);\r\n }\r\n\r\n canConnect(userId) {\r\n return !(this.canDisconnect(userId) || this.pendingRequests.find(a => a == userId))\r\n }\r\n\r\n canDisconnect(userId) {\r\n return this.myConnections.find(conn => conn.userId == userId)\r\n }\r\n\r\n fetchPendingRequests() {\r\n const headers = new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'apiKey': this.autogenKey\r\n });\r\n return this.http\r\n .get(\r\n `${this.environment.USERS_API}/events/${this.eventId}/connection-requests/autogen/pending-sent-requests?userId=${this.userId}`,\r\n { headers }\r\n )\r\n .pipe(\r\n switchMap((res: any) => {\r\n this.pendingRequests = res;\r\n this.cdr.markForCheck();\r\n return of(res);\r\n }),\r\n catchError((error: any) => {\r\n console.error('Error fetching pending requests: ', error);\r\n return of(null);\r\n })\r\n );\r\n }\r\n\r\n fetchMyConnections() {\r\n const headers = new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'apiKey': this.autogenKey\r\n });\r\n return this.http\r\n .get(\r\n `${this.environment.USERS_API}/events/${this.eventId}/users-connections/autogen?userId=${this.userId}`,\r\n { headers }\r\n )\r\n .pipe(\r\n switchMap((res: any) => {\r\n this.myConnections = res;\r\n this.cdr.markForCheck();\r\n return of(res);\r\n }),\r\n catchError((error: any) => {\r\n console.error('Error fetching pending requests: ', error);\r\n return of(null);\r\n })\r\n );\r\n }\r\n // events/${eventId}/users-connections\r\n}\r\n","import { Component, Input } from '@angular/core';\r\n@Component({\r\n selector: 'hivegpt-chatbot',\r\n templateUrl: './chatbot.component.html',\r\n styleUrls: ['./chatbot.component.scss'],\r\n})\r\nexport class ChatBotComponent {\r\n @Input() userId!: string;\r\n @Input() apiKey!: string;\r\n @Input() botName!: string;\r\n @Input() botId!: string;\r\n @Input() closeButtonColor!: string;\r\n @Input() gradientColors!: string[];\r\n @Input() greeting!: string;\r\n @Input() sendButtonColor!: string;\r\n @Input() useOpenAi!: boolean;\r\n @Input() showClose!: boolean;\r\n @Input() bgGradient!: string[];\r\n @Input() sendButtonTextColor!: string;\r\n @Input() fullView!: boolean;\r\n @Input() bgBubbleAi!: string;\r\n @Input() bgBubbleUser!: string;\r\n @Input() closeButtonbgColor!: string;\r\n @Input() messageTextColorAi!: string;\r\n @Input() messageTextColorUser!: string;\r\n @Input() dateTimeColor!: string;\r\n @Input() dateTextColor!: string;\r\n @Input() formFieldBgColor!: string;\r\n @Input() formFieldTextColor!: string;\r\n @Input() thumbsUpMessage!: string;\r\n @Input() thumbsDownMessages!: string[];\r\n @Input() timezone!: string;\r\n @Input() eventName!: string;\r\n @Input() credentials!: [];\r\n @Input() unknownResponses!: [];\r\n @Input() rules!: string;\r\n @Input() eventId!: string;\r\n visible = false;\r\n\r\n toggle() {\r\n this.visible = !this.visible;\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n name: 'safeHtml',\r\n})\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) {\r\n }\r\n\r\n transform(html): unknown {\r\n return html ? this.sanitizer.bypassSecurityTrustHtml(html) : '';\r\n }\r\n\r\n}\r\n","import {\r\n AfterViewInit,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n Inject,\r\n Input,\r\n OnInit,\r\n Output,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { IVideo } from '../../models/video';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-video-player',\r\n templateUrl: './video-player.component.html',\r\n styleUrls: ['./video-player.component.scss'],\r\n})\r\nexport class VideoPlayerComponent\r\n implements OnInit, AfterViewInit {\r\n @Input() currentUserId: string;\r\n @Input() user: any;\r\n @Input() eventId: string;\r\n @Input() videoObj: IVideo;\r\n @Input() isDev: boolean;\r\n myFollowingList: Array<string>;\r\n myPendingSentRequests: Array<string>;\r\n @Input() type: string;\r\n isMuted: boolean = true;\r\n private observer: IntersectionObserver;\r\n isFullscreen: boolean = false;\r\n @ViewChild('video') video: any;\r\n @ViewChild('fullscreenvideo') fullscreenvideo: any;\r\n isFullscreenvideoPlaying: boolean = false;\r\n\r\n @Output() connectWithUser = new EventEmitter<string>();\r\n @Output() scheduleMeeting = new EventEmitter<any>();\r\n\r\n constructor(\r\n @Inject(DOCUMENT) private doc: any,\r\n private el: ElementRef,\r\n private cdr: ChangeDetectorRef\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n toggleSound(isMuted = null) {\r\n this.isMuted = isMuted != null ? isMuted : !this.isMuted;\r\n setTimeout(() => {\r\n const video: any = this.doc\r\n .getElementById(this.video.id.toString());\r\n if (video) {\r\n video.muted = this.isMuted;\r\n this.video.isMuted = this.isMuted;\r\n }\r\n\r\n this.cdr.markForCheck();\r\n //this.muteToggle.emit(this.isMuted);\r\n })\r\n}\r\n\r\n togglePlay(playState: boolean, videoEl) {\r\n this.videoObj.isPlaying = !this.videoObj.isPlaying;\r\n setTimeout(() => { \r\n if (playState) { \r\n this.videoObj.isPlaying = true;\r\n videoEl.play();\r\n var pauseBtn = document.getElementById('pause-btn');\r\n pauseBtn.classList.add('hide-pause-btn');\r\n\r\n this.toggleSound(false);\r\n }\r\n else{\r\n this.videoObj.isPlaying = false;\r\n videoEl.pause();\r\n }\r\n this.cdr.markForCheck();\r\n })\r\n }\r\n \r\n ngAfterViewInit() {\r\n if (window.innerWidth <= 576) {\r\n this.observer = new IntersectionObserver(\r\n (entries) => {\r\n if (entries[0].isIntersecting === true) {\r\n this.video.nativeElement.play();\r\n } else {\r\n this.video.nativeElement.pause();\r\n }\r\n },\r\n {\r\n threshold: 0.75,\r\n }\r\n );\r\n\r\n this.observer.observe(this.el.nativeElement as HTMLElement);\r\n }\r\n }\r\n\r\n toggleFullscreen() {\r\n this.isFullscreen = !this.isFullscreen;\r\n if (!this.isFullscreen) {\r\n this.fullscreenvideo.nativeElement.pause();\r\n }\r\n }\r\n\r\n toggleFullscreenPlay() {\r\n this.isFullscreenvideoPlaying = !this.isFullscreenvideoPlaying;\r\n\r\n if (this.isFullscreenvideoPlaying) {\r\n this.fullscreenvideo.nativeElement.play();\r\n } else {\r\n this.fullscreenvideo.nativeElement.pause();\r\n }\r\n }\r\n\r\n followUser(userId) {\r\n this.connectWithUser.emit(userId);\r\n }\r\n\r\n checkPendingSentRequest(userId) {\r\n return this.myPendingSentRequests?.find(a => a == userId);\r\n }\r\n\r\n canUnfollowUser() {\r\n return false;\r\n }\r\n\r\n canFollowUser() {\r\n return true;\r\n }\r\n\r\n getIniNames(firstName, lastName) {\r\n if(!firstName && !lastName) {\r\n return '';\r\n }\r\n \r\n if (firstName && lastName)\r\n return (\r\n firstName.charAt(0).toUpperCase() + lastName.charAt(0).toUpperCase()\r\n );\r\n else return firstName.charAt(0).toUpperCase();\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { ChatDrawerComponent } from './components/chat-drawer/chat-drawer.component';\r\nimport { ChatBotComponent } from './components/chatbot/chatbot.component';\r\nimport { SafeHtmlPipe } from './pipes/safe-html.pipe';\r\nimport { VideoPlayerComponent } from './components/video-player/video-player.component';\r\n\r\n@NgModule({\r\n declarations: [ChatBotComponent, ChatDrawerComponent, VideoPlayerComponent, SafeHtmlPipe],\r\n imports: [CommonModule, MatIconModule, MatSidenavModule, FormsModule],\r\n exports: [ChatBotComponent, ChatDrawerComponent, VideoPlayerComponent]\r\n})\r\nexport class HiveGptModule {}\r\n","/*\r\n * Public API Surface of hive-gpt\r\n */\r\n\r\nexport * from './lib/components/chat-drawer/chat-drawer.component';\r\nexport * from './lib/components/chatbot/chatbot.component';\r\nexport * from './lib/hivegpt.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {VideoPlayerComponent as ɵa} from './lib/components/video-player/video-player.component';\nexport {SafeHtmlPipe as ɵb} from './lib/pipes/safe-html.pipe';"],"names":[],"mappings":";;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,CAAC,IAAU;IACvC,IAAI,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;IAChD,IAAG,KAAK,KAAK,CAAC;QAAE,KAAK,GAAG,EAAE,CAAC;IAE3B,MAAM,cAAc,GAAG,KAAK,GAAG,EAAE,GAAG,IAAI,KAAK,EAAE,GAAG,KAAK,CAAC;IACxD,MAAM,gBAAgB,GAAG,OAAO,GAAG,EAAE,GAAG,IAAI,OAAO,EAAE,GAAG,OAAO,CAAC;IAEhE,OAAO,GAAG,cAAc,IAAI,gBAAgB,IAAI,IAAI,EAAE,CAAC;AACzD,CAAC,CAAC;;AAEK,MAAM,SAAS,GAAG,CAAC,QAAiB;IACzC,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;IACvB,IAAI,QAAQ,EAAE;QACZ,MAAM,OAAO,GAAQ;YACnB,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,Q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AAC,CAAC,WAAW,EAAE,CAAC;KAC/C;;;YAnIF,SAAS,SAAC;gBACT,QAAQ,EAAE,kBAAkB;gBAC5B,yvFAA4C;;aAE7C;;;4CAsBI,MAAM,SAAC,QAAQ;YArClB,UAAU;YAFV,iBAAiB;;;4BAoBhB,KAAK;mBACL,KAAK;sBACL,KAAK;uBACL,KAAK;oBACL,KAAK;mBAGL,KAAK;oBAIL,SAAS,SAAC,OAAO;8BACjB,SAAS,SAAC,iBAAiB;8BAG3B,MAAM;8BACN,MAAM;;;MCvBI,aAAa;;;YALzB,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,gBAAgB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,YAAY,CAAC;gBACzF,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,WAAW,CAAC;gBACrE,OAAO,EAAE,CAAC,gBAAgB,EAAE,mBAAmB,EAAE,oBAAoB,CAAC;aACvE;;;ACdD;;;;ACAA;;;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
export { VideoPlayerComponent as ɵa } from './lib/components/video-player/video-player.component';
|
|
6
|
+
export { SafeHtmlPipe as ɵb } from './lib/pipes/safe-html.pipe';
|
|
7
|
+
//# sourceMappingURL=hivegpt-hiveai-angular.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hivegpt-hiveai-angular.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["hivegpt-hiveai-angular.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAC,oBAAoB,IAAI,EAAE,EAAC,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAC,YAAY,IAAI,EAAE,EAAC,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"ChatDrawerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"hivegpt-chat-drawer","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":25,"character":19},"member":"OnPush"},"template":"\r\n<mat-drawer-container class=\"hivegpt-chat-wrapper\" [class.ios-device]=\"isIOSDevice\" [hasBackdrop]=\"hasBackdropValue\">\r\n\r\n <mat-drawer class=\"drawer\" #drawer [position]=\"'end'\" [mode]=\"'over'\" opened=\"true\" [class.full-width-drawer]=\"fullView\"\r\n [style.background]=\"\r\n 'linear-gradient(' + (bgGradient ? bgGradient.join(', ') : '') + ')'\r\n \">\r\n <mat-drawer-content>\r\n\r\n <div class=\"chat-main\">\r\n <!-- <div class=\"chat-header\">\r\n <h2> -->\r\n <!-- {{eventName}} -->\r\n <!-- </h2> -->\r\n <!-- <button class=\"closeIcon\" (click)=\"onClose()\">\r\n <span class=\"material-symbols-outlined\">\r\n close\r\n </span>\r\n </button> -->\r\n <!-- </div> -->\r\n\r\n <div class=\"innerChat\" #chatMain>\r\n <div class=\"\">\r\n <div class=\"title\"><h2><span> {{eventName}} <i><svg width=\"30\" height=\"30\" viewBox=\"0 0 106 105\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M52.8578 104.318C52.8645 104.32 52.8713 104.323 52.878 104.325V104.311C74.7711 96.9781 115.49 69.0948 103.537 16.0875C79.9227 8.17267 59.9557 2.08167 52.878 0.0118542V0C52.8713 0.0019722 52.8645 0.00394726 52.8578 0.00592613C52.851 0.00394726 52.8442 0.0019722 52.8375 0V0.0118542C45.7599 2.08167 25.7928 8.17267 2.17802 16.0875C-9.77459 69.0948 30.9444 96.9781 52.8375 104.311V104.325C52.8442 104.323 52.851 104.32 52.8578 104.318Z\" fill=\"#E2F6FA\"></path><path d=\"M52.8409 95.3002V9.02441C58.6643 10.7266 75.2028 15.7706 94.7694 22.3286C104.66 66.1922 70.9382 89.2528 52.8409 95.3002Z\" fill=\"url(#paint0_linear_174_9166)\"></path><rect x=\"63.725\" y=\"21.0347\" width=\"2.275\" height=\"29.6903\" rx=\"1.1375\" transform=\"rotate(-73.8316 63.725 21.0347)\" fill=\"url(#paint1_linear_174_9166)\"></rect><path d=\"M52.8745 95.3002V9.02441C47.0511 10.7266 30.5127 15.7706 10.9461 22.3286C1.0553 66.1922 34.7772 89.2528 52.8745 95.3002Z\" fill=\"url(#paint2_linear_174_9166)\"></path><path d=\"M67.1131 34.3431L43.2493 56.165C41.5673 57.7031 41.5085 60.3337 43.1202 61.9454L68.0846 86.9097C69.4975 88.3227 71.7364 88.4762 73.3289 87.2693L89.8566 74.7444C90.8029 74.0273 91.3817 72.9269 91.4364 71.7409L91.7769 64.3639C91.8163 63.5106 91.5814 62.667 91.1067 61.9568L73.138 35.0723C71.7767 33.0355 68.9209 32.6899 67.1131 34.3431Z\" fill=\"url(#paint3_linear_174_9166)\"></path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M68.6302 31.8839C69.0923 31.6059 69.6441 31.5177 70.1698 31.6379C70.6955 31.758 71.1542 32.0771 71.4497 32.5282L73.5143 35.6772C73.7834 36.0886 73.8986 36.5818 73.8394 37.0698C73.7803 37.5579 73.5506 38.0093 73.191 38.3445L73.1848 38.3528L73.1556 38.3799L73.0367 38.4905L72.5675 38.9388C69.9711 41.4572 67.4535 44.0555 65.0183 46.7299C60.4366 51.7683 54.9958 58.3624 51.3338 64.7604C50.3119 66.5456 47.8157 66.9293 46.335 65.3882L32.8111 51.3366C32.6173 51.1352 32.466 50.8968 32.3661 50.6357C32.2663 50.3746 32.2199 50.0961 32.2298 49.8168C32.2398 49.5374 32.3057 49.2629 32.4239 49.0095C32.542 48.7562 32.7098 48.5292 32.9175 48.342L37.0049 44.6549C37.3641 44.3311 37.8247 44.1422 38.3078 44.1205C38.7909 44.0988 39.2666 44.2457 39.6534 44.5361L46.554 49.71C57.3335 39.0806 63.4459 35.0016 68.6302 31.8839Z\" fill=\"url(#paint4_linear_174_9166)\"></path><defs><linearGradient id=\"paint0_linear_174_9166\" x1=\"74.6954\" y1=\"9.02441\" x2=\"74.6954\" y2=\"95.3002\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#6EC6E3\"></stop><stop offset=\"1\" stop-color=\"#5361C7\"></stop></linearGradient><linearGradient id=\"paint1_linear_174_9166\" x1=\"64.8625\" y1=\"21.0347\" x2=\"64.2597\" y2=\"43.0438\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"white\" stop-opacity=\"0.47\"></stop><stop offset=\"1\" stop-color=\"white\" stop-opacity=\"0\"></stop></linearGradient><linearGradient id=\"paint2_linear_174_9166\" x1=\"31.02\" y1=\"9.02441\" x2=\"31.02\" y2=\"95.3002\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#5F8ED4\"></stop><stop offset=\"1\" stop-color=\"#4F54C3\"></stop></linearGradient><linearGradient id=\"paint3_linear_174_9166\" x1=\"54.7875\" y1=\"42.5752\" x2=\"75.425\" y2=\"71.3377\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#5975CC\"></stop><stop offset=\"1\" stop-color=\"#0043A6\" stop-opacity=\"0\"></stop></linearGradient><linearGradient id=\"paint4_linear_174_9166\" x1=\"40.8125\" y1=\"66.3502\" x2=\"73.8\" y2=\"66.3502\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#D0F0F7\"></stop><stop offset=\"1\" stop-color=\"white\"></stop></linearGradient></defs></svg></i> </span></h2><p>AI-powered <span>copilot</span> for events</p></div>\r\n <div class=\"chatType\" style=\"display:none\"><h4 class=\"labelChat\">Choose a conversation style</h4>\r\n <ul>\r\n <li (click)=\"changeTemperature(0)\">\r\n <button [ngClass]=\"{active: temperature === 0}\">\r\n <span class=\"top-section-title\">\r\n More Creative\r\n </span>\r\n </button>\r\n </li>\r\n <li (click)=\"changeTemperature(1)\" class=\"fdssfd\">\r\n <button [ngClass]=\"{active: temperature === 1}\">\r\n <span class=\"top-section-title\">\r\n More Balanced\r\n </span>\r\n </button>\r\n </li>\r\n <li (click)=\"changeTemperature(2)\">\r\n <button [ngClass]=\"{active: temperature === 2}\">\r\n <span class=\"top-section-title\">\r\n More Precise\r\n </span>\r\n </button>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <!-- chattype -->\r\n <div class=\"chat\" *ngFor=\"let chat of chatLog; let i = index\"\r\n [ngClass]=\"{ user: chat.type === 'user', bot: chat.type === 'ai' }\">\r\n <div class=\"chat-box\">\r\n <div class=\"message\" *ngIf=\"chat.type === 'ai' || chat.type === 'user'\" [ngStyle]=\"{\r\n background:\r\n chat.type === 'ai' && bgBubbleAi\r\n ? ''\r\n : chat.type === 'user' && bgBubbleUser\r\n ? ''\r\n : ''\r\n }\">\r\n <p *ngIf=\"chat.type === 'ai' || chat.type === 'user'\" [ngStyle]=\"{\r\n background:\r\n chat.type === 'ai' && messageTextColorAi\r\n ? ''\r\n : chat.type === 'user' && messageTextColorUser\r\n ? ''\r\n : '',\r\n color:\r\n chat.type === 'ai' && messageTextColorAi\r\n ? ''\r\n : chat.type === 'user' && messageTextColorUser\r\n ? ''\r\n : ''\r\n }\" [innerHTML]=\"chat.message\">\r\n </p>\r\n <div class=\"cta\" *ngIf=\"showFeedBackIconsIndex === i\">\r\n <button class=\"up\" [class.active]=\"chat.liked\" (click)=\"handleUpClick(i)\">\r\n <i *ngIf=\"chat.liked\">\r\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M8.38989 18.4902V8.33022C8.38989 7.93022 8.50989 7.54022 8.72989 7.21022L11.4599 3.15022C11.8899 2.50022 12.9599 2.04022 13.8699 2.38022C14.8499 2.71022 15.4999 3.81022 15.2899 4.79022L14.7699 8.06022C14.7299 8.36022 14.8099 8.63022 14.9799 8.84022C15.1499 9.03022 15.3999 9.15022 15.6699 9.15022H19.7799C20.5699 9.15022 21.2499 9.47022 21.6499 10.0302C22.0299 10.5702 22.0999 11.2702 21.8499 11.9802L19.3899 19.4702C19.0799 20.7102 17.7299 21.7202 16.3899 21.7202H12.4899C11.8199 21.7202 10.8799 21.4902 10.4499 21.0602L9.16989 20.0702C8.67989 19.7002 8.38989 19.1102 8.38989 18.4902Z\"\r\n fill=\"#17235B\" />\r\n <path\r\n d=\"M5.21 6.37988H4.18C2.63 6.37988 2 6.97988 2 8.45988V18.5199C2 19.9999 2.63 20.5999 4.18 20.5999H5.21C6.76 20.5999 7.39 19.9999 7.39 18.5199V8.45988C7.39 6.97988 6.76 6.37988 5.21 6.37988Z\"\r\n fill=\"#17235B\" />\r\n </svg>\r\n </i>\r\n <i *ngIf=\"!chat.liked\">\r\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M10.4037 20.9264L10.381 20.9038L10.3557 20.8843L7.72165 18.85L8.02965 18.4516L10.7161 20.5315C10.9228 20.7195 11.2181 20.8517 11.4962 20.9377C11.7978 21.0309 12.1451 21.09 12.4801 21.09H16.2801C16.8572 21.09 17.4266 20.8625 17.8751 20.5306C18.3159 20.2044 18.6912 19.7385 18.8305 19.1997L21.2428 11.8732C21.4379 11.3309 21.4287 10.749 21.0965 10.2887C20.7583 9.81377 20.1844 9.58999 19.5801 9.58999H15.5801C15.2031 9.58999 14.8615 9.43143 14.6276 9.16215L14.627 9.16142C14.3873 8.88649 14.2756 8.51549 14.3345 8.11501L14.8322 4.9195C14.9978 4.1052 14.4664 3.24596 13.7053 2.98804C13.3277 2.85165 12.9297 2.89129 12.61 2.99839C12.2949 3.10396 11.9772 3.30172 11.7881 3.57673L11.7881 3.57671L11.7851 3.58107L7.96352 9.26689L7.55454 8.99314L11.3751 3.30891L11.3755 3.30836C11.8763 2.56103 13.0109 2.19028 13.8726 2.51744L13.8834 2.52151L13.8943 2.52509C14.9044 2.8564 15.556 3.98765 15.3317 5.01314L15.3284 5.02805L15.326 5.04314L14.836 8.19314L14.836 8.19313L14.8351 8.19928C14.8184 8.31642 14.7981 8.60268 15.0138 8.84924L15.0248 8.86177L15.0366 8.87354C15.1833 9.02026 15.3817 9.09999 15.5901 9.09999H19.5901C20.4308 9.09999 21.1176 9.44886 21.5113 10.0079L21.5124 10.0095C21.8964 10.5502 21.9908 11.2849 21.7202 12.0291L21.7175 12.0365L21.7151 12.044L19.3251 19.324L19.3198 19.34L19.3156 19.3564C19.0058 20.5707 17.6766 21.6 16.2801 21.6H12.4801C12.2411 21.6 11.8403 21.5625 11.4297 21.4512C11.0123 21.338 10.6406 21.1633 10.4037 20.9264Z\"\r\n fill=\"#566563\" stroke=\"#566563\" />\r\n <path\r\n d=\"M5.37988 20.4999H4.37988C3.52442 20.4999 2.98559 20.2982 2.65822 19.9825C2.33437 19.6702 2.12988 19.1614 2.12988 18.3499V8.5499C2.12988 7.73843 2.33437 7.22962 2.65822 6.91731C2.98559 6.6016 3.52442 6.3999 4.37988 6.3999H5.37988C6.23534 6.3999 6.77418 6.6016 7.10155 6.91731C7.4254 7.22962 7.62988 7.73843 7.62988 8.5499V18.3499C7.62988 19.1614 7.4254 19.6702 7.10155 19.9825C6.77418 20.2982 6.23534 20.4999 5.37988 20.4999ZM4.37988 6.8999C4.0934 6.8999 3.83578 6.9164 3.61382 6.96689C3.38745 7.01838 3.16822 7.11196 2.99258 7.2876C2.81559 7.46459 2.72807 7.67966 2.68301 7.89002C2.63948 8.09318 2.62988 8.31967 2.62988 8.5499V18.3499C2.62988 18.5801 2.63948 18.8066 2.68301 19.0098C2.72807 19.2201 2.81559 19.4352 2.99258 19.6122C3.16822 19.7878 3.38745 19.8814 3.61382 19.9329C3.83578 19.9834 4.0934 19.9999 4.37988 19.9999H5.37988C5.66637 19.9999 5.92398 19.9834 6.14595 19.9329C6.37232 19.8814 6.59155 19.7878 6.76719 19.6122C6.94418 19.4352 7.0317 19.2201 7.07676 19.0098C7.12028 18.8066 7.12988 18.5801 7.12988 18.3499V8.5499C7.12988 8.31967 7.12028 8.09318 7.07676 7.89002C7.0317 7.67966 6.94418 7.46459 6.76719 7.2876C6.59155 7.11196 6.37232 7.01838 6.14595 6.96689C5.92398 6.9164 5.66637 6.8999 5.37988 6.8999H4.37988Z\"\r\n fill=\"#566563\" stroke=\"#566563\" />\r\n </svg>\r\n </i>\r\n </button>\r\n <button class=\"down\" [class.active]=\"chat.unliked\" (click)=\"handleDownClick(i)\">\r\n <i *ngIf=\"chat.unliked\">\r\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M15.61 5.50002V15.66C15.61 16.06 15.49 16.45 15.27 16.78L12.54 20.84C12.11 21.49 11.04 21.95 10.13 21.61C9.15002 21.28 8.50002 20.18 8.71002 19.2L9.23002 15.93C9.27002 15.63 9.19002 15.36 9.02002 15.15C8.85002 14.96 8.60002 14.84 8.33002 14.84H4.22002C3.43002 14.84 2.75002 14.52 2.35002 13.96C1.97002 13.42 1.90002 12.72 2.15002 12.01L4.61002 4.52002C4.92002 3.28002 6.27002 2.27002 7.61002 2.27002H11.51C12.18 2.27002 13.12 2.50002 13.55 2.93002L14.83 3.92002C15.32 4.30002 15.61 4.88002 15.61 5.50002Z\"\r\n fill=\"#17235B\" />\r\n\r\n <path\r\n d=\"M18.7901 17.6099H19.8201C21.3701 17.6099 22.0001 17.0099 22.0001 15.5299V5.4799C22.0001 3.9999 21.3701 3.3999 19.8201 3.3999H18.7901C17.2401 3.3999 16.6101 3.9999 16.6101 5.4799V15.5399C16.6101 17.0099 17.2401 17.6099 18.7901 17.6099Z\"\r\n fill=\"#17235B\" />\r\n </svg>\r\n </i>\r\n\r\n <i *ngIf=\"!chat.unliked\">\r\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M10.1237 21.481L10.1148 21.4778L10.1059 21.4748C9.09577 21.1435 8.44416 20.0122 8.66849 18.9867L8.67175 18.9718L8.6741 18.9568L9.1641 15.8068L9.16413 15.8068L9.16501 15.8006C9.18175 15.6835 9.20207 15.3972 8.98633 15.1507L8.97536 15.1381L8.96359 15.1263C8.81687 14.9796 8.61841 14.8999 8.41004 14.8999H4.41004C3.56937 14.8999 2.88252 14.551 2.48884 13.992L2.4877 13.9904C2.10371 13.4497 2.00931 12.715 2.27994 11.9708L2.28263 11.9634L2.28509 11.9559L4.67509 4.67586L4.68035 4.65985L4.68451 4.64353C4.99418 3.42996 6.33271 2.3999 7.72004 2.3999H11.52C11.7591 2.3999 12.1599 2.43736 12.5704 2.54872C12.9878 2.66194 13.3596 2.83655 13.5965 3.07346L13.6191 3.09608L13.6444 3.11563L16.2785 5.14986L15.9705 5.54825L13.2875 3.47111C13.0799 3.2763 12.7837 3.1413 12.5061 3.05412C12.2031 2.95897 11.8551 2.8999 11.52 2.8999H7.72004C7.1429 2.8999 6.57353 3.12735 6.12508 3.45926C5.68428 3.78551 5.30892 4.25142 5.16963 4.79019L2.75738 12.1167C2.56223 12.659 2.57147 13.2409 2.90366 13.7012C3.24183 14.1761 3.81578 14.3999 4.42004 14.3999H8.42004C8.79702 14.3999 9.13867 14.5585 9.37252 14.8277L9.37315 14.8285C9.61286 15.1034 9.72457 15.4745 9.66568 15.875C9.6656 15.8755 9.66552 15.8761 9.66544 15.8766L9.16795 19.0704C9.00242 19.8841 9.53299 20.7428 10.2933 21.0013C10.6685 21.1391 11.0675 21.0978 11.3857 20.9917C11.7001 20.8869 12.0218 20.6898 12.2121 20.4132L12.2121 20.4132L12.215 20.4088L16.0351 14.7253L16.4472 15.0045L12.6251 20.691L12.6249 20.6912C12.259 21.2361 11.5347 21.5999 10.8 21.5999C10.5668 21.5999 10.3358 21.5596 10.1237 21.481Z\"\r\n fill=\"#566563\" stroke=\"#566563\" />\r\n <path\r\n d=\"M19.6201 17.6H18.6201C17.7647 17.6 17.2258 17.3983 16.8985 17.0826C16.5746 16.7703 16.3701 16.2615 16.3701 15.45V5.65C16.3701 4.83853 16.5746 4.32972 16.8985 4.0174C17.2258 3.7017 17.7647 3.5 18.6201 3.5H19.6201C20.4756 3.5 21.0144 3.7017 21.3418 4.0174C21.6656 4.32972 21.8701 4.83853 21.8701 5.65V15.45C21.8701 16.2615 21.6656 16.7703 21.3418 17.0826C21.0144 17.3983 20.4756 17.6 19.6201 17.6ZM18.6201 4C18.3336 4 18.076 4.01649 17.8541 4.06699C17.6277 4.11848 17.4085 4.21206 17.2328 4.3877C17.0558 4.56469 16.9683 4.77976 16.9232 4.99011C16.8797 5.19328 16.8701 5.41977 16.8701 5.65V15.45C16.8701 15.6802 16.8797 15.9067 16.9232 16.1099C16.9683 16.3202 17.0558 16.5353 17.2328 16.7123C17.4085 16.8879 17.6277 16.9815 17.8541 17.033C18.076 17.0835 18.3336 17.1 18.6201 17.1H19.6201C19.9066 17.1 20.1642 17.0835 20.3862 17.033C20.6126 16.9815 20.8318 16.8879 21.0074 16.7123C21.1844 16.5353 21.2719 16.3202 21.317 16.1099C21.3605 15.9067 21.3701 15.6802 21.3701 15.45V5.65C21.3701 5.41977 21.3605 5.19328 21.317 4.99011C21.2719 4.77976 21.1844 4.56469 21.0074 4.3877C20.8318 4.21206 20.6126 4.11848 20.3862 4.06699C20.1642 4.01649 19.9066 4 19.6201 4H18.6201Z\"\r\n fill=\"#566563\" stroke=\"#566563\" />\r\n </svg>\r\n </i>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"time-cta\">\r\n <div class=\"Icon_TimeSTamp\" *ngIf=\"chat.type === 'ai'\">\r\n <img [src]=\"botIcon\" [alt]=\"botName || 'Assistant'\">\r\n <div class=\"dateTime\" [style.color]=\"dateTimeColor ? '' : ''\">\r\n {{ botName || \"Assistant\" }} - {{ chat.time }}\r\n </div>\r\n </div>\r\n\r\n <div class=\"Icon_TimeSTamp\" *ngIf=\"chat.type === 'user'\">\r\n <img src=\"https://e1cdn.social27.com/digitalevents/chatbot/user-chatbot-icon.svg\">\r\n <div class=\"dateTime\">\r\n You - {{ chat.time }}\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n </div>\r\n <div class=\"cta-faqs quick-prompts-extended\" *ngIf=\"i == 0 && quickPrompts.length\">\r\n <!-- <div *ngFor=\"let tile of quickPrompts\" class=\"cta\"\r\n (click)=\"sendMessageWithTile(tile.prompt)\">\r\n Q: {{ tile.text }}\r\n </div> -->\r\n <div class=\"cta_suggestions\">\r\n <button *ngFor=\"let tile of quickPrompts\" (click)=\"sendMessageWithTile(tile.prompt)\">\r\n <ng-container *ngIf=\"tile\">{{tile.text}}</ng-container>\r\n </button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"chat.suggestions?.length\">\r\n <h4 class=\"labelChat\">Here are some things EventsGPT Copilot can help you do:</h4>\r\n <div class=\"cta_suggestions\">\r\n <button *ngFor=\"let suggestion of chat.suggestions\" (click)=\"sendMessageWithTile(suggestion)\">\r\n <ng-container *ngIf=\"suggestion\">{{suggestion}}</ng-container>\r\n </button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"chat.action?.section_id == 'company_search' || chat.action?.section_id == 'user_search' || chat.action?.section_id == 'industry_company_search'\">\r\n <div class=\"box\">\r\n <div class=\"tiktokwrapper\">\r\n <div class=\"tiktokshell\" *ngFor=\"let user of chat.action.users\">\r\n <div class=\"videoPhotobox\">\r\n <ng-conatiner *ngIf=\"user?.photoPath && !user.userVideosModel\">\r\n <img [src]=\"user?.photoPath\">\r\n </ng-conatiner>\r\n <ng-conatiner *ngIf=\"user.userVideosModel\">\r\n <app-video-player *ngIf=\"user?.userVideosModel\"\r\n [isDev]=\"isDev\"\r\n [currentUserId]=\"userId\"\r\n [videoObj]=\"user?.userVideosModel\"\r\n [user]=\"user\" [eventId]=\"eventId\" type=\"1\">\r\n </app-video-player>\r\n </ng-conatiner>\r\n\r\n </div>\r\n\r\n <div class=\"noPhoto\" *ngIf=\"!user?.photoPath && !user.userVideosModel\">\r\n <h3>{{user.firstName | slice:0:1}}{{user.lastName | slice:0:1}}</h3>\r\n </div>\r\n <div class=\"overlymask\" *ngIf=\"!user.userVideosModel\">\r\n </div>\r\n <div class=\"onshell-content\">\r\n <div class=\"title-shell\">\r\n <h3>{{user.firstName}} {{user.lastName}}</h3>\r\n <h3 class=\"companyName\">{{user.company}}</h3>\r\n </div>\r\n <div class=\"button-shell\">\r\n <button class=\"Connectbtn\" (click)=\"connectToUser(user.userId)\">{{canConnect(user.userId) ? 'Connect' : canDisconnect(user.userId) ? 'Disconnect' : 'Request Sent'}}</button>\r\n <button class=\"schedulebtn\" (click)=\"scheduleMeetingWithUser(user)\">Schedule</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"chat.action?.section_id == myUpcomingSessionAction\">\r\n <div class=\"agenda-items-wrapper\" class=\"agenda-items-wrapper\">\r\n <div class=\"list-view\">\r\n <div class=\"session-detail-wrapper card-background-session\" *ngFor=\"let upcomingSession of chat.action.content\">\r\n <div class=\"thumbnail \"><img alt=\"Introduction to the Imaging Radar Academy\"\r\n src=\"https://s27media.azureedge.net/8008/profile_pic/453cea2c-feba-11ed-8c0b-00155d025b0a.png\"\r\n class=\"\"><!----><!----><!----><button class=\"play-btn color-primary \"\r\n title=\"Play Session: Introduction to the Imaging Radar Academy\"><span\r\n class=\"material-icons notranslate \"> play_circle_outline\r\n </span><!----></button><!----><!----></div><!----><!---->\r\n <div class=\"content p-3\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex flex-column\">\r\n <p class=\"fs-xs mb-0 body-text-color \">{{upcomingSession.dateTimeRange.start | date:'MM-dd-yyyy HH:mm':'UTC'}} - {{upcomingSession.dateTimeRange.end | date:'MM-dd-yyyy HH:mm':'UTC'}} {{upcomingSession.timeZone.id}}</p>\r\n <!----><!---->\r\n <!-- <p class=\"fs-xs mb-2 color-secondary\" title=\"Session Type: Generative AI\">Generative AI </p> -->\r\n <!---->\r\n </div>\r\n <div class=\"d-flex align-items-center actions px-2\"><!---->\r\n <button\r\n (click)=\"performSessionAction(upcomingSession.id, 'view-session')\"\r\n class=\"s27-btn-icon body-text-color\"\r\n title=\"View Session Information: Introduction to the Imaging Radar Academy\"><span class=\"material-icons notranslate\"> remove_red_eye\r\n </span>\r\n </button>\r\n\r\n <button\r\n (click)=\"performSessionAction(upcomingSession.id, 'add-to-agenda')\"\r\n class=\"s27-btn-icon body-text-color \"><span class=\"material-icons notranslate\"\r\n title=\"Add Session: Introduction to the Imaging Radar Academy to My agendaa\">\r\n event_available </span>\r\n </button><!----><!----><!----><!---->\r\n\r\n <button\r\n (click)=\"performSessionAction(upcomingSession.id, 'play')\"\r\n class=\"s27-btn-icon body-text-color \" title=\"Copy session link to share\"><span\r\n class=\"material-icons notranslate\"> play_circle_outline </span>\r\n </button><!---->\r\n </div>\r\n </div>\r\n <h2 class=\"body-text-color\">{{upcomingSession.title}}</h2>\r\n <div class=\"session-description color-secondary\" [innerHTML]=\"sanitizeHtml(upcomingSession.description)\">\r\n </div>\r\n <ul class=\"speakers grid-2-cols\" *ngFor=\"let speakerId of upcomingSession.speakers\">\r\n <li class=\"\" style=\"\">\r\n <div class=\"image \" title=\"Blair Wunderlich\"><img alt=\"Blair Wunderlich\"\r\n [src]=\"speakers[speakerId]?.photoPath\"\r\n class=\"\"><!----><!----><!----></div><!---->\r\n <div class=\"content pl-3 \" style=\"text-transform: none;\">\r\n <div class=\"mb-0 body-text-color fs-xs fw-500\">{{speakers[speakerId]?.firstName}} {{speakers[speakerId]?.lastName}}</div>\r\n <div class=\"color-secondary fs-xxs\">{{speakers[speakerId]?.jobTitle}}</div>\r\n <div class=\"color-secondary fs-xxs\">{{speakers[speakerId]?.company}}</div>\r\n </div><!---->\r\n </li>\r\n </ul><!---->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"chat bot\" *ngIf=\"loading\">\r\n <div class=\"chat-box\">\r\n <div class=\"message\" [style.background]=\"bgBubbleAi ? '' : ''\">\r\n <p>Searching </p> \r\n <div class=\"spinner\">\r\n <div class=\"bounce1\"></div>\r\n <div class=\"bounce2\"></div>\r\n <div class=\"bounce3\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- <div #chatMain></div> -->\r\n <div class=\"chatFooterWrapper\">\r\n <div class=\"chat-footer\">\r\n <div class=\"border-shape\">\r\n <!-- <textarea type=\"text\" class=\"form-control-1 s27-scroll\" rows=\"2\" name=\"\" id=\"\" placeholder=\"Write your message\"\r\n [style.background]=\"formFieldBgColor ? '' : ''\" [style.color]=\"formFieldTextColor ? '' : ''\"\r\n [(ngModel)]=\"input\" (keyup.enter)=\"handleSubmit()\" #myTextarea></textarea> -->\r\n <input\r\n type=\"text\"\r\n class=\"form-control-1 s27-scroll\"\r\n placeholder=\"Write your message\"\r\n [style.background]=\"formFieldBgColor ? formFieldBgColor : ''\"\r\n [style.color]=\"formFieldTextColor ? formFieldTextColor : ''\"\r\n [(ngModel)]=\"input\"\r\n (keyup.enter)=\"handleSubmit()\"\r\n #myInput />\r\n </div>\r\n <div class=\"cta-footer\">\r\n <!-- <button *ngIf=\"showStartAgain\" (click)=\"onStartAgain()\" class=\"btn cta-again\" [style.background]=\"againButtonColor ? '' : ''\"\r\n [style.color]=\"againButtonTextColor ? '' : ''\">\r\n <i>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 16 16\">\r\n <path fill=\"#fff\" fill-rule=\"evenodd\"\r\n d=\"M5.905.28A8 8 0 0 1 14.5 3.335V1.75a.75.75 0 0 1 1.5 0V6h-4.25a.75.75 0 0 1 0-1.5h1.727a6.5 6.5 0 1 0 .526 5.994a.75.75 0 1 1 1.385.575A8 8 0 1 1 5.905.279Z\"\r\n clip-rule=\"evenodd\" />\r\n </svg>\r\n </i>\r\n Start Again\r\n </button> -->\r\n <button class=\"btn cta-chat\" (click)=\"handleSubmit()\" [style.background]=\"sendButtonColor ? '' : ''\"\r\n [style.color]=\"sendButtonTextColor ? '' : ''\">\r\n <svg stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" viewBox=\"0 0 512 512\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M476.59 227.05l-.16-.07L49.35 49.84A23.56 23.56 0 0027.14 52 24.65 24.65 0 0016 72.59v113.29a24 24 0 0019.52 23.57l232.93 43.07a4 4 0 010 7.86L35.53 303.45A24 24 0 0016 327v113.31A23.57 23.57 0 0026.59 460a23.94 23.94 0 0013.22 4 24.55 24.55 0 009.52-1.93L476.4 285.94l.19-.09a32 32 0 000-58.8z\"></path></svg>\r\n <!-- SEND -->\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"text-left\"><div class=\"note\"><i> <svg width=\"30\" height=\"30\" viewBox=\"0 0 106 105\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M52.8578 104.318C52.8645 104.32 52.8713 104.323 52.878 104.325V104.311C74.7711 96.9781 115.49 69.0948 103.537 16.0875C79.9227 8.17267 59.9557 2.08167 52.878 0.0118542V0C52.8713 0.0019722 52.8645 0.00394726 52.8578 0.00592613C52.851 0.00394726 52.8442 0.0019722 52.8375 0V0.0118542C45.7599 2.08167 25.7928 8.17267 2.17802 16.0875C-9.77459 69.0948 30.9444 96.9781 52.8375 104.311V104.325C52.8442 104.323 52.851 104.32 52.8578 104.318Z\" fill=\"#E2F6FA\"></path><path d=\"M52.8409 95.3002V9.02441C58.6643 10.7266 75.2028 15.7706 94.7694 22.3286C104.66 66.1922 70.9382 89.2528 52.8409 95.3002Z\" fill=\"url(#paint0_linear_174_9166)\"></path><rect x=\"63.725\" y=\"21.0347\" width=\"2.275\" height=\"29.6903\" rx=\"1.1375\" transform=\"rotate(-73.8316 63.725 21.0347)\" fill=\"url(#paint1_linear_174_9166)\"></rect><path d=\"M52.8745 95.3002V9.02441C47.0511 10.7266 30.5127 15.7706 10.9461 22.3286C1.0553 66.1922 34.7772 89.2528 52.8745 95.3002Z\" fill=\"url(#paint2_linear_174_9166)\"></path><path d=\"M67.1131 34.3431L43.2493 56.165C41.5673 57.7031 41.5085 60.3337 43.1202 61.9454L68.0846 86.9097C69.4975 88.3227 71.7364 88.4762 73.3289 87.2693L89.8566 74.7444C90.8029 74.0273 91.3817 72.9269 91.4364 71.7409L91.7769 64.3639C91.8163 63.5106 91.5814 62.667 91.1067 61.9568L73.138 35.0723C71.7767 33.0355 68.9209 32.6899 67.1131 34.3431Z\" fill=\"url(#paint3_linear_174_9166)\"></path><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M68.6302 31.8839C69.0923 31.6059 69.6441 31.5177 70.1698 31.6379C70.6955 31.758 71.1542 32.0771 71.4497 32.5282L73.5143 35.6772C73.7834 36.0886 73.8986 36.5818 73.8394 37.0698C73.7803 37.5579 73.5506 38.0093 73.191 38.3445L73.1848 38.3528L73.1556 38.3799L73.0367 38.4905L72.5675 38.9388C69.9711 41.4572 67.4535 44.0555 65.0183 46.7299C60.4366 51.7683 54.9958 58.3624 51.3338 64.7604C50.3119 66.5456 47.8157 66.9293 46.335 65.3882L32.8111 51.3366C32.6173 51.1352 32.466 50.8968 32.3661 50.6357C32.2663 50.3746 32.2199 50.0961 32.2298 49.8168C32.2398 49.5374 32.3057 49.2629 32.4239 49.0095C32.542 48.7562 32.7098 48.5292 32.9175 48.342L37.0049 44.6549C37.3641 44.3311 37.8247 44.1422 38.3078 44.1205C38.7909 44.0988 39.2666 44.2457 39.6534 44.5361L46.554 49.71C57.3335 39.0806 63.4459 35.0016 68.6302 31.8839Z\" fill=\"url(#paint4_linear_174_9166)\"></path><defs><linearGradient id=\"paint0_linear_174_9166\" x1=\"74.6954\" y1=\"9.02441\" x2=\"74.6954\" y2=\"95.3002\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#6EC6E3\"></stop><stop offset=\"1\" stop-color=\"#5361C7\"></stop></linearGradient><linearGradient id=\"paint1_linear_174_9166\" x1=\"64.8625\" y1=\"21.0347\" x2=\"64.2597\" y2=\"43.0438\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"white\" stop-opacity=\"0.47\"></stop><stop offset=\"1\" stop-color=\"white\" stop-opacity=\"0\"></stop></linearGradient><linearGradient id=\"paint2_linear_174_9166\" x1=\"31.02\" y1=\"9.02441\" x2=\"31.02\" y2=\"95.3002\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#5F8ED4\"></stop><stop offset=\"1\" stop-color=\"#4F54C3\"></stop></linearGradient><linearGradient id=\"paint3_linear_174_9166\" x1=\"54.7875\" y1=\"42.5752\" x2=\"75.425\" y2=\"71.3377\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#5975CC\"></stop><stop offset=\"1\" stop-color=\"#0043A6\" stop-opacity=\"0\"></stop></linearGradient><linearGradient id=\"paint4_linear_174_9166\" x1=\"40.8125\" y1=\"66.3502\" x2=\"73.8\" y2=\"66.3502\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#D0F0F7\"></stop><stop offset=\"1\" stop-color=\"white\"></stop></linearGradient></defs></svg></i><span class=\"flex-1\">Your personal or company information is kept private and secure within this chat. </span></div></div>\r\n\r\n </div>\r\n </mat-drawer-content>\r\n </mat-drawer>\r\n </mat-drawer-container>\r\n","styles":["@import url(\"https://e1cdn.social27.com/digitalevents/liteversion/fonts/segoe-ui/stylesheet.css\");::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb:hover{background:#e5ccbc}body{overflow:hidden}.ios-device .drawer .chat-footer .form-control{font-size:16px}.hivegpt-chat-wrapper{background:transparent!important;height:100%;inset:0;opacity:0;position:fixed;visibility:hidden;z-index:999999}.hivegpt-chat-wrapper.mat-drawer-container-has-open{background:transparent!important;opacity:1;transition:all .3s;visibility:visible;z-index:999999}.hivegpt-chat-wrapper .mat-drawer:not(.mat-drawer-side){box-shadow:none}.hivegpt-chat-wrapper mat-drawer{background-color:#eee;background-image:linear-gradient(180deg,rgba(88,190,251,.050980392156862744) 60%,rgba(0,102,255,.2) 96.27%);max-width:800px;width:100%}.hivegpt-chat-wrapper mat-drawer.full-width-drawer{max-width:100%}.hivegpt-chat-wrapper .mat-drawer-content{display:flex;flex-direction:column}.hivegpt-chat-wrapper .chat-header{padding:16px 40px;width:100%}.hivegpt-chat-wrapper .chat-header h2{font-family:Segoe UI,sans-serif;font-size:36px;font-weight:500;letter-spacing:-.72px;line-height:108%;margin:0;text-transform:uppercase}.hivegpt-chat-wrapper .chat-header .closeIcon{align-items:center;background:transparent;border:none;border-radius:50%;display:inline-flex;font-size:18px;height:35px;justify-content:center;outline:none;padding:0;position:absolute;right:12px;top:16px;width:35px}.hivegpt-chat-wrapper .chat-main{display:flex;flex:1;flex-direction:column;justify-content:space-between;overflow-y:auto;width:100%}.hivegpt-chat-wrapper .chat-main .innerChat{overflow-y:auto;padding:20px 40px 10px;width:100%}.hivegpt-chat-wrapper .chat-main .chat{margin-bottom:20px}.hivegpt-chat-wrapper .chat-main .chat .chat-box{max-width:80%;width:100%}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message{background:hsla(0,0%,100%,.7019607843137254);box-shadow:0 .3px .9px rgba(0,0,0,.12156862745098039),0 1.6px 3.6px rgba(0,0,0,.1607843137254902);display:inline-flex;margin-bottom:5px;min-height:44px;padding:12px 20px;position:relative}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message p{color:#111;font-family:Segoe UI,sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:160%;margin:0;text-align:left;white-space:pre-line}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message p a{color:#17235b!important;cursor:pointer!important;font-weight:700;text-decoration:underline}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message .cta{align-items:end;bottom:-7px;display:inline-flex;gap:10px;grid-gap:10px;position:relative;right:-10px;z-index:5}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message .cta button{background:transparent;border:none;color:#566563;cursor:pointer;padding:0;transition:all .3s}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message .cta button i{display:inline-block}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message .cta button:hover{color:#17235b}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message .cta button.up:hover i{animation:thumbsUpAnimation .5s ease-in-out;animation-fill-mode:forwards}.hivegpt-chat-wrapper .chat-main .chat .chat-box .message .cta button.down:hover i{animation:thumbsDownAnimation .5s ease-in-out;animation-fill-mode:forwards}.hivegpt-chat-wrapper .chat-main .chat.bot .chat-box .message{border-radius:20px 20px 20px 0}.hivegpt-chat-wrapper .chat-main .chat.user{text-align:right}.hivegpt-chat-wrapper .chat-main .chat.user .chat-box{margin-left:auto}.hivegpt-chat-wrapper .chat-main .chat.user .chat-box .message{background:linear-gradient(96deg,#8b4ead -10.61%,#761c79 84.59%);border-radius:20px 20px 0 20px;color:#fff}.hivegpt-chat-wrapper .chat-main .chat.user .chat-box .message p{color:#fff;text-align:left}.hivegpt-chat-wrapper .chat-main .chat.user .dateTime{text-align:right}.hivegpt-chat-wrapper .chat-main .chat.user .time-cta{justify-content:flex-end}.hivegpt-chat-wrapper .chat-main .chat .Icon_TimeSTamp{align-content:center;align-items:center;display:flex;justify-content:center}.hivegpt-chat-wrapper .chat-main .chat .dateTime{color:#566563;font-family:Segoe UI,sans-serif;font-size:13px;font-style:normal;font-weight:500;line-height:140%;margin:0 5px}.hivegpt-chat-wrapper .chat-main .chat:last-of-type{margin-bottom:0}.hivegpt-chat-wrapper .chatFooterWrapper{background:#fff;border-radius:6px 6px 0 0!important;margin-top:5px!important;padding:10px 14px}.hivegpt-chat-wrapper .chatFooterWrapper .note{align-items:center;border-radius:6px;color:#1b75bb;display:inline-flex;font-size:11px;gap:8px;line-height:1;margin:0 auto 4px;padding:4px 8px}.hivegpt-chat-wrapper .chatFooterWrapper .note a{text-transform:capitalize}.hivegpt-chat-wrapper .chatFooterWrapper .note i{font-size:18px}.hivegpt-chat-wrapper .chatFooterWrapper .note i svg{height:18px;width:18px}.hivegpt-chat-wrapper .chatFooterWrapper .note span{flex:1;gap:4px;line-height:1.3}.hivegpt-chat-wrapper .chat-footer{align-items:center;display:flex;gap:8px;justify-content:space-between;padding:4px 0 0;position:relative}.hivegpt-chat-wrapper .chat-footer .form-control{background:#fff!important;border:0;line-height:21px;outline:0;padding:10px;position:relative;width:100%}.hivegpt-chat-wrapper .chat-footer .form-control::-moz-placeholder{color:#6c7a78}.hivegpt-chat-wrapper .chat-footer .form-control::placeholder{color:#6c7a78}.hivegpt-chat-wrapper .chat-footer .form-control:focus{border-color:#e5ccbc;box-shadow:0 0 0 .2rem rgba(229,204,188,.25)}.hivegpt-chat-wrapper .chat-footer .cta-footer{align-items:center;bottom:5px;display:flex;gap:8px;justify-content:space-between;position:absolute;right:10px;text-align:right}.hivegpt-chat-wrapper .chat-footer .cta-footer .btn{color:#000;font-weight:500;gap:8px;max-width:150px;padding:0}.hivegpt-chat-wrapper .chat-footer .cta-footer .cta-chat{align-items:center;background:transparent!important;border:none;border-radius:0;box-shadow:0 1px 2px 0 rgba(16,24,40,.05);display:inline-flex;font-size:20px;height:auto;justify-content:center;width:auto}.hivegpt-chat-wrapper .chat-footer .cta-footer .cta-chat:hover{opacity:.8}.hivegpt-chat-wrapper .chat-footer .cta-footer .cta-again{background:#17235b;border:1px solid #17235b;color:#fff}.hivegpt-chat-wrapper .cta-faqs{align-items:flex-end;display:flex;flex-direction:column;flex-wrap:wrap;gap:8px;margin-left:auto;max-width:80%;padding:10px 0 0}.hivegpt-chat-wrapper .cta-faqs .cta{background:transparent;border:1px solid #c9a893;border-radius:20px 20px 0 20px;color:#333;cursor:pointer;font-family:Segoe UI,sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:160%;margin:0;min-height:44px;padding:12px 20px;text-align:left;text-decoration:none;transition:all .3s;white-space:pre-line}.spinner{align-items:center;display:flex;gap:2px;justify-content:center}.spinner>div{animation:bouncedelay 1.4s ease-in-out infinite;animation-fill-mode:both;background-color:#173330;border-radius:100%;display:inline-block;height:5px;width:5px}.spinner .bounce1{animation-delay:-.32s}.spinner .bounce2{animation-delay:-.16s}@keyframes bouncedelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.time-cta{align-items:center;display:flex;gap:8px;justify-content:start;margin-left:-30px;margin-top:5px}@keyframes thumbsUpAnimation{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes thumbsDownAnimation{0%,to{transform:translateY(0)}50%{transform:translateY(3px)}}@media (max-width:767px){.hivegpt-chat-wrapper .chat-main .innerChat{padding:0 24px 10px}.hivegpt-chat-wrapper .chat-footer{padding:10px 24px}.hivegpt-chat-wrapper .chat-footer .cta-footer .cta-chat{max-width:100%}.hivegpt-chat-wrapper .chat-footer .form-control{height:80px}.hivegpt-chat-wrapper .chat-header .closeIcon{height:28px;right:8px;top:8px;width:28px}.hivegpt-chat-wrapper .chat-header .closeIcon span{font-size:14px}.hivegpt-chat-wrapper .chat-header{padding:10px 24px}.hivegpt-chat-wrapper .chat-header h2{font-size:20px}.cta-faqs{padding:10px 0 0}}.body-overflow-hidden{overflow:hidden}.chat-button{align-items:center;background:#17235b;border:#17235b;border-radius:50%;color:#fff;display:inline-flex;font-size:24px;height:50px;justify-content:center;width:50px}textarea{caret-color:#000}.labelChat{font-size:14px;font-weight:400;margin:0 0 10px}.chatType h4{color:#566563;text-align:center}.chatType ul{align-items:center;background:#fff;border-radius:10px;box-shadow:0 .3px .9px rgba(0,0,0,.12),0 1.6px 3.6px rgba(0,0,0,.16);display:flex;justify-content:center;list-style:none;margin:0 0 20px;padding:4px}.chatType ul li{flex:1}.chatType ul li button{align-items:center;background:#fff;border:none;border-radius:10px;font-weight:600;min-height:48px;padding:.375rem;text-align:center;text-shadow:1px 0 rgba(0,0,0,.2);width:100%}.chatType ul li button.active{background:linear-gradient(96deg,#761c79 -10.61%,#761c79 84.59%);box-shadow:0 1px 2px 0 rgba(16,24,40,.05);color:#fff}.cta_suggestions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:20px}.cta_suggestions button{background:#fff;border:1px solid #174ae4;border-radius:10px;box-shadow:0 1.6px 3.6px 0 rgba(0,0,0,.13),0 .3px .9px 0 rgba(0,0,0,.1);color:#1543cd;font-size:14px;font-weight:600;line-height:1.2;padding:8px 12px;position:relative;text-align:left;transition:all .3s}.cta_suggestions button:hover{background:#eff3ff}.balanced .chat-footer .cta-footer .cta-chat,.balanced .chat-main .chat.user .chat-box .message,.balanced .chatType ul li button.active{color:#000}.balanced .chat-main .innerChat .title p span{color:#06f}.balanced mat-drawer{background-image:linear-gradient(180deg,rgba(88,190,251,.05) 60%,rgba(0,102,255,.2) 96.27%)}.balanced .cta_suggestions button:hover{border:1px solid #06f}.precise .chat-footer .cta-footer .cta-chat,.precise .chat-main .chat.user .chat-box .message{background:linear-gradient(96deg,#69ca6d -10.61%,#4caf50 84.59%)}.precise .chatType ul li button.active{background:linear-gradient(96deg,#4caf50 -10.61%,#4caf50 84.59%);color:#fff}.precise .chat-main .innerChat .title p span{color:#4caf50}.precise mat-drawer{background-image:linear-gradient(180deg,rgba(76,175,80,.05) 60%,rgba(76,175,80,.3) 96.27%)}.precise .cta_suggestions button:hover{border:1px solid #4caf50}.title{margin-bottom:50px}.title h2{font-size:28px;margin:0 0 10px}.title h2 span{align-items:center;color:#000;display:inline-flex;gap:10px}.title h2 i{color:#06f;font-size:30px;line-height:1}.title h2 i svg{height:30px;width:30px}.title p{font-weight:600;margin:0}.title p span{color:#06f}.agenda-items-wrapper{padding-bottom:15px;padding-top:15px}@media (max-width:576px){.list-view .session-detail-wrapper{border:none;flex-direction:column}}.card-background-session{background:#fff;border-radius:8px}.card-background-session .body-text-color{color:#111!important}.card-background-session h2{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;font-size:20px;margin-bottom:8px;overflow:hidden}.card-background-session .session-description{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#111!important;display:-webkit-box;font-size:14px;overflow:hidden}.card-background-session .color-secondary{color:#111!important}.card-background-session p{font-size:14px}.list-view .session-detail-wrapper .s27-btn-icon{background:transparent;border:transparent}.list-view .session-detail-wrapper{border-left:3px solid transparent;display:flex;margin-bottom:16px}.thumbnail{align-items:center;display:flex;height:160px;justify-content:center;min-width:160px;position:relative;width:160px}.thumbnail img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (max-width:576px){.thumbnail{height:160px;min-height:unset;width:100%}}.thumbnail .play-btn{align-items:center;background-color:transparent;border:0;bottom:0;display:flex;font-size:60px;justify-content:center;left:0;position:absolute;right:0;top:0;width:100%}.thumbnail .play-btn span{font-size:80px;text-shadow:0 0 14px rgba(74,74,74,.45)}.content{flex-grow:1}.actions{background-color:transparent!important}.speakers{margin-bottom:0;margin-top:10px;padding:0}.speakers li{align-items:unset;display:flex}.speakers li .content{font-size:12px!important}.speakers .image{border-radius:100%;height:40px;min-width:40px;overflow:hidden;width:40px}.speakers img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}.grid-2-cols{display:grid;grid-gap:15px;grid-template-columns:calc(55% - 10px) calc(50% - 10px);padding-right:20px}@media (max-width:768px){.grid-2-cols{grid-template-columns:calc(50% - 10px) calc(50% - 10px)}}@media (max-width:575px){.grid-3-cols{grid-template-columns:100%}}.quick-prompts-extended{align-items:flex-start!important;margin-left:0!important}.border-shape{background:#fff;border:1px solid #ced4da;border-radius:4px;min-height:60px;overflow:hidden;padding:0;width:100%}.border-shape .form-control-1{background:none!important;border:0;line-height:21px;outline:0;padding:10px;position:relative;width:100%}.border-shape .form-control-1:focus{box-shadow:none;outline:none}.border-shape .s27-scroll::-webkit-scrollbar{border-radius:30px;width:3px}.border-shape .s27-scroll::-webkit-scrollbar-track{background:#f1f1f1;border-radius:30px}.border-shape .s27-scroll::-webkit-scrollbar-thumb{background:#888;border-radius:30px}.box{display:table;height:275px;margin:10px 0;width:100%}.tiktokwrapper{display:grid;gap:10px;grid-template-columns:repeat(2,1fr);height:100%}.tiktokwrapper .tiktokshell{background:#3d2b8f;border:2px solid #fff;border-radius:5px;box-shadow:0 0 6px #494949;height:100%;min-height:275px;min-width:160px;position:relative;width:100%}.tiktokwrapper .overlymask{background-image:url(https://e1cdn.social27.com/digitalevents/HiveGpt/screen-overlay.png);background-position:0 0;bottom:0;height:100%;left:0;position:absolute;width:100%;z-index:6}.tiktokwrapper .videoPhotobox{bottom:0;height:272px;left:0;overflow:hidden;position:absolute;width:auto;z-index:6}.tiktokwrapper .videoPhotobox video{-o-object-fit:cover;border-radius:0;cursor:pointer;height:270px;object-fit:cover;outline:0;transition:.3s ease-in-out;width:100%}.tiktokwrapper .videoPhotobox img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}.tiktokwrapper .playBtn{align-items:center;border:none;cursor:pointer;display:flex;height:40px;justify-content:center;left:0;margin:0 auto;position:absolute;right:0;top:105px;transition:all 1s;width:40px;z-index:10}.tiktokwrapper .playBtn:hover{transform:scale(1.2)}.tiktokwrapper .noPhoto{align-items:center;border:none;cursor:pointer;display:flex;height:40px;justify-content:center;left:0;margin:0 auto;position:absolute;right:0;top:105px;transition:all 1s;z-index:6}.tiktokwrapper .noPhoto h3{color:#fff;font-size:46px}.tiktokwrapper .onshell-content{bottom:10px;left:5px;position:absolute;z-index:10}.tiktokwrapper .onshell-content .title-shell{margin:0 10px}.tiktokwrapper .onshell-content h3{color:#fff;font-size:13px;font-weight:500}.tiktokwrapper .onshell-content .companyName{color:#eaeaea;font-size:12px;font-weight:400}.tiktokwrapper .onshell-content .button-shell button{background:#4e4e4e;border:none;border-radius:2px;color:#fff;font-size:11px;margin:0 1px;padding:4px 7px;text-transform:capitalize}.tiktokwrapper .onshell-content .Connectbtn{background:linear-gradient(149deg,#06f,#06f)!important}"]}]}],"members":{"chatMain":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["chatMain"]}]}],"drawer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":30,"character":3},"arguments":["drawer"]}]}],"myTextarea":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":32,"character":3},"arguments":["myTextarea",{"static":false}]}]}],"copilotName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"firstName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"lastName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"apiKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"bgBubbleAi":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"bgBubbleUser":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"bgGradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"botName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"botId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"closeButtonColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"closeButtonbgColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"credentials":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"dateTimeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"dateTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"eventId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"s27UserToken":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"eventName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"botIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"formFieldBgColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"formFieldTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"fullView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"gradientColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"greeting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"messageTextColorAi":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":3}}]}],"messageTextColorUser":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"rules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":3}}]}],"sendButtonColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"sendButtonTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"showClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"thumbsDownMessages":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"thumbsUpMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":3}}]}],"timezone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":3}}]}],"unknownResponses":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"useOpenAi":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"userId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3}}]}],"isDev":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"againButtonColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":3}}]}],"againButtonTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"feedbackEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":74,"character":3}}]}],"onCloseEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":75,"character":3}}]}],"openPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":76,"character":3}}]}],"sessionActions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":77,"character":3}}]}],"closeBot":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":78,"character":3}}]}],"connectWithUser":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":79,"character":3}}]}],"scheduleMeeting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":80,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":112,"character":17},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":113,"character":18},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":114,"character":23},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":115,"character":24},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":116,"character":22}]}],"ngOnInit":[{"__symbolic":"method"}],"changeTemperature":[{"__symbolic":"method"}],"onStartAgain":[{"__symbolic":"method"}],"archieveMessages":[{"__symbolic":"method"}],"fetchBotConfig":[{"__symbolic":"method"}],"fetchChatHistory":[{"__symbolic":"method"}],"mapChatHistory":[{"__symbolic":"method"}],"processMessage":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"sanitizeHtml":[{"__symbolic":"method"}],"onFeedbackClick":[{"__symbolic":"method"}],"onClose":[{"__symbolic":"method"}],"sendMessageWithTile":[{"__symbolic":"method"}],"fetchData":[{"__symbolic":"method"}],"fetchSmallTalk":[{"__symbolic":"method"}],"pump":[{"__symbolic":"method"}],"submitFeedback":[{"__symbolic":"method"}],"handleSubmit":[{"__symbolic":"method"}],"handleUpClick":[{"__symbolic":"method"}],"handleDownClick":[{"__symbolic":"method"}],"scrollToBottom":[{"__symbolic":"method"}],"handleAction":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"setBodyOverflow":[{"__symbolic":"method"}],"removeBodyOverflow":[{"__symbolic":"method"}],"getSpeakersByStaffIds":[{"__symbolic":"method"}],"performSessionAction":[{"__symbolic":"method"}],"addCloseBotClickEvent":[{"__symbolic":"method"}],"isMobileBrowser":[{"__symbolic":"method"}],"connectToUser":[{"__symbolic":"method"}],"scheduleMeetingWithUser":[{"__symbolic":"method"}],"canConnect":[{"__symbolic":"method"}],"canDisconnect":[{"__symbolic":"method"}],"fetchPendingRequests":[{"__symbolic":"method"}],"fetchMyConnections":[{"__symbolic":"method"}]}},"ChatBotComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":1,"character":1},"arguments":[{"selector":"hivegpt-chatbot","template":"<button mat-icon-button class=\"chat-button\" color=\"primary\" (click)=\"toggle()\">\r\n <mat-icon>chat</mat-icon>\r\n</button>\r\n\r\n<ng-container *ngIf=\"visible\">\r\n <hivegpt-chat-drawer\r\n [apiKey]=\"apiKey\"\r\n [bgBubbleAi]=\"bgBubbleAi\"\r\n [bgBubbleUser]=\"bgBubbleUser\"\r\n [bgGradient]=\"bgGradient\"\r\n [botName]=\"botName\"\r\n [closeButtonbgColor]=\"closeButtonbgColor\"\r\n [closeButtonColor]=\"closeButtonColor\"\r\n [credentials]=\"credentials\"\r\n [dateTextColor]=\"dateTextColor\"\r\n [dateTimeColor]=\"dateTimeColor\"\r\n [eventId]=\"eventId\"\r\n [eventName]=\"eventName\"\r\n [formFieldBgColor]=\"formFieldBgColor\"\r\n [formFieldTextColor]=\"formFieldTextColor\"\r\n [fullView]=\"fullView\"\r\n [greeting]=\"greeting\"\r\n [gradientColors]=\"gradientColors\"\r\n [messageTextColorAi]=\"messageTextColorAi\"\r\n [messageTextColorUser]=\"messageTextColorUser\"\r\n [sendButtonColor]=\"sendButtonColor\"\r\n [sendButtonTextColor]=\"sendButtonTextColor\"\r\n [showClose]=\"showClose\"\r\n [thumbsDownMessages]=\"thumbsDownMessages\"\r\n [thumbsUpMessage]=\"thumbsUpMessage\"\r\n [unknownResponses]=\"unknownResponses\"\r\n [useOpenAi]=\"useOpenAi\"\r\n [userId]=\"userId\"\r\n [botId]=\"botId\"\r\n >\r\n </hivegpt-chat-drawer>\r\n</ng-container>\r\n","styles":["::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb:hover{background:#e5ccbc}.spinner{align-items:center;display:flex;gap:2px;justify-content:center}.spinner>div{animation:bouncedelay 1.4s ease-in-out infinite;animation-fill-mode:both;background-color:#173330;border-radius:100%;display:inline-block;height:5px;width:5px}.spinner .bounce1{animation-delay:-.32s}.spinner .bounce2{animation-delay:-.16s}@keyframes bouncedelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.chat-button{align-items:center;background:#17235b;border:#17235b;border-radius:50%;bottom:20px;color:#fff;display:inline-flex;font-size:24px;height:50px;justify-content:center;position:fixed;right:20px;width:50px}"]}]}],"members":{"userId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":3}}]}],"apiKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"botName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"botId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"closeButtonColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"gradientColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"greeting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"sendButtonColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"useOpenAi":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"showClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"bgGradient":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"sendButtonTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"fullView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"bgBubbleAi":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"bgBubbleUser":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"closeButtonbgColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"messageTextColorAi":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"messageTextColorUser":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"dateTimeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"dateTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"formFieldBgColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"formFieldTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"thumbsUpMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"thumbsDownMessages":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"timezone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"eventName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"credentials":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"unknownResponses":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"rules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"eventId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"toggle":[{"__symbolic":"method"}]}},"HiveGptModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ChatBotComponent"},{"__symbolic":"reference","name":"ChatDrawerComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":12},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":12,"character":26},{"__symbolic":"reference","module":"@angular/material/sidenav","name":"MatSidenavModule","line":12,"character":41},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":12,"character":59}],"exports":[{"__symbolic":"reference","name":"ChatBotComponent"},{"__symbolic":"reference","name":"ChatDrawerComponent"},{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":15,"character":1},"arguments":[{"selector":"app-video-player","template":"<div class=\"video-wrapper\" >\r\n <div class=\"overlymask-video\"></div>\r\n <video (click)=\"toggleFullscreen()\" #video [loop]=\"true\" [muted]=\"isMuted\" [src]=\"videoObj.processedUrls || videoObj.url\" playsinline\r\n [controls]=\"false\"></video>\r\n <div class=\"main-controls\" [class.no-opacity]=\"video.isPlaying\">\r\n <button mat-icon-button *ngIf=\"!videoObj.isPlaying\"\r\n attr.aria-label=\"Play Video\"\r\n title=\"Play Video\" class=\"play-pause-btn\"\r\n (click)=\"togglePlay(true, video)\">\r\n <!-- <mat-icon alt=\"Play\">play_arrow</mat-icon> -->\r\n <span class=\"material-icons notranslate \" aria-hidden=\"true\">play_circle_outline</span>\r\n </button>\r\n\r\n <button mat-icon-button id=\"pause-btn\" [hidden]=\"!videoObj.isPlaying\" class=\"pause_btn play-pause-btn playing\"\r\n title=\"Pause Video\"\r\n [class.half-opacity]=\"video.isPlaying\" (click)=\"togglePlay(false, video)\">\r\n <!-- <mat-icon alt=\"Pause\">pause</mat-icon> -->\r\n <span class=\"material-icons notranslate \" aria-hidden=\"true\">pause_circle_outline</span>\r\n </button>\r\n </div>\r\n <div class=\"video-actions\">\r\n <button class=\"button-trasparent action\" (click)=\"toggleSound()\" title=\"Mute\" *ngIf=\"isMuted\">\r\n <span class=\"material-icons notranslate \" aria-hidden=\"true\">volume_off</span>\r\n </button>\r\n <button class=\"button-trasparent action\" (click)=\"toggleSound()\" title=\"Unmute\" *ngIf=\"!isMuted\">\r\n <span class=\"material-icons notranslate \" aria-hidden=\"true\">volume_up</span>\r\n </button>\r\n\r\n </div>\r\n</div>\r\n\r\n<div class=\"full-screen\" *ngIf=\"isFullscreen\" [ngClass]=\"{'show': isFullscreen}\">\r\n <div class=\"video-wrapper\">\r\n <video #fullscreenvideo (click)=\"toggleFullscreenPlay()\" [loop]=\"true\" [muted]=\"isMuted\" [src]=\"videoObj.processedUrls || videoObj.url\"\r\n playsinline [controls]=\"false\"></video>\r\n <div (click)=\"toggleFullscreen()\" class=\"close-btn\">\r\n <span class=\"material-icons notranslate \">clear</span>\r\n </div>\r\n <div class=\"video-actions\">\r\n <button *ngIf=\"!video.isPlaying\" title=\"Play\"\r\n class=\"material-icons notranslate body-text-color fs-h2 play position-absolute transparent-btn\" (click)=\"togglePlay(true, video)\">\r\n play_circle_outline\r\n </button>\r\n <button id=\"pause-btn\" [hidden]=\"!videoObj.isPlaying\" title=\"Pause\"\r\n class=\"pause_btn material-icons body-text-color fs-h2 play position-absolute transparent-btn\"\r\n [class.half-opacity]=\"video.isPlaying\" (click)=\"togglePlay(false, video)\">\r\n pause_circle_outline\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n","styles":[".video-wrapper{position:relative}.video-wrapper video{-o-object-fit:cover;border-radius:5px;cursor:pointer;height:330px;object-fit:cover;outline:0;transition:.3s ease-in-out;width:100%}.video-wrapper .video-actions{display:flex;flex-direction:column;position:absolute;right:10px;top:10px}.video-wrapper .video-actions .action{color:#fff;cursor:pointer;margin-bottom:5px}.video-wrapper .author-details{bottom:18px;display:flex;flex-direction:column;justify-content:flex-start;left:12px;position:absolute;right:12px;transition:.3s ease-in-out}.video-wrapper .author-details .author-image{border-radius:50%;height:34px;margin-right:6px;overflow:hidden;width:34px}.video-wrapper .author-details .author-image img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}.video-wrapper .author-details .author-name,.video-wrapper .author-details .video-title{color:#fff;display:block;font-size:14px;mix-blend-mode:hard-light}.video-wrapper .connect-btn{bottom:20px;opacity:0;outline:0;position:absolute;text-align:center;transition:.3s ease-in-out;width:100%}@media only screen and (max-width:576px){.video-wrapper .connect-btn{opacity:1;right:20px;width:unset}}.video-wrapper .connect-btn button{margin:auto}.video-wrapper:hover .author-details{opacity:0}@media only screen and (max-width:576px){.video-wrapper:hover .author-details{opacity:1}}.video-wrapper:hover .connect-btn{opacity:1}.video-wrapper .half-opacity{opacity:.2}.video-wrapper .no-opacity{background-color:transparent}.like-btn{margin-bottom:20px;text-align:center;transition:.2s ease-in-out}.like-btn .count{font-size:16px;margin-left:3px}.like-btn span{cursor:pointer;font-size:30px}.like-btn:hover{transform:scale(1.1)}.like-btn.like{color:#025be7}.like-btn.dislike{color:#8d8d8d}.like-btn.info{color:#aeae3f}.full-screen.show{align-items:center;background:rgba(27,26,26,.9607843137254902);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:9999}.full-screen.show .video-wrapper video{height:270px;transform:none!important;transition:none;width:300px}.full-screen .close-btn{cursor:pointer;left:10px;position:absolute;top:10px}.full-screen .close-btn span{color:#fff}.main-controls{background-color:rgba(0,0,0,.3);bottom:0;left:0;right:0;top:0}.main-controls,.main-controls .play-pause-btn{align-items:center;display:flex;justify-content:center;position:absolute}.main-controls .play-pause-btn{background:none;border:none;color:#fff;line-height:0;top:34%}.main-controls .play-pause-btn.playing{cursor:pointer;left:50%;position:absolute;top:40%;transform:translate(-50%,-50%)}.main-controls .play-pause-btn.playing span{color:#fff;text-shadow:0 0 6px rgba(47,47,47,.36)}.main-controls .play-pause-btn:focus{outline:none}.main-controls .play-pause-btn .material-icons{font-size:40px}.main-controls .play-pause-btn .mat-icon{height:auto;width:auto}.main-controls .half-opacity{opacity:.2}.main-controls .no-opacity{background-color:transparent}button.transparent-btn{background:transparent;border:0!important}.pause_btn{height:100%;opacity:.02!important;width:100%}.pause_btn:hover{background-color:rgba(0,0,0,.7411764705882353);opacity:1!important}.hide-pause-btn{opacity:0!important}.no-photo{align-items:center;display:flex;font-size:14px;height:35px;justify-content:center;width:35px}.overlymask-video{background-image:linear-gradient(hsla(0,0%,100%,.058823529411764705),rgba(0,0,0,.1803921568627451));background-position:0 bottom;height:275px;position:absolute;width:100%;z-index:0}"]}]}],"members":{"currentUserId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"eventId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"videoObj":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"isDev":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"video":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":33,"character":3},"arguments":["video"]}]}],"fullscreenvideo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":34,"character":3},"arguments":["fullscreenvideo"]}]}],"connectWithUser":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"scheduleMeeting":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":41,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":41,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":42,"character":16},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":43,"character":17}]}],"ngOnInit":[{"__symbolic":"method"}],"toggleSound":[{"__symbolic":"method"}],"togglePlay":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"toggleFullscreen":[{"__symbolic":"method"}],"toggleFullscreenPlay":[{"__symbolic":"method"}],"followUser":[{"__symbolic":"method"}],"checkPendingSentRequest":[{"__symbolic":"method"}],"canUnfollowUser":[{"__symbolic":"method"}],"canFollowUser":[{"__symbolic":"method"}],"getIniNames":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"safeHtml"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":8,"character":33}]}],"transform":[{"__symbolic":"method"}]}}},"origins":{"ChatDrawerComponent":"./lib/components/chat-drawer/chat-drawer.component","ChatBotComponent":"./lib/components/chatbot/chatbot.component","HiveGptModule":"./lib/hivegpt.module","ɵa":"./lib/components/video-player/video-player.component","ɵb":"./lib/pipes/safe-html.pipe"},"importAs":"@hivegpt/hiveai-angular"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
3
|
+
import { MatDrawer } from '@angular/material/sidenav';
|
|
4
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
5
|
+
export declare class ChatDrawerComponent implements OnInit {
|
|
6
|
+
private cdr;
|
|
7
|
+
private http;
|
|
8
|
+
private sanitizer;
|
|
9
|
+
private elementRef;
|
|
10
|
+
private renderer;
|
|
11
|
+
private chatMain;
|
|
12
|
+
drawer: MatDrawer;
|
|
13
|
+
private bodyOverflowClass;
|
|
14
|
+
myTextarea: ElementRef<HTMLTextAreaElement>;
|
|
15
|
+
copilotName: string;
|
|
16
|
+
firstName: string;
|
|
17
|
+
lastName: string;
|
|
18
|
+
apiKey: string;
|
|
19
|
+
bgBubbleAi: string;
|
|
20
|
+
bgBubbleUser: string;
|
|
21
|
+
bgGradient: string[];
|
|
22
|
+
botName: string;
|
|
23
|
+
botId: string;
|
|
24
|
+
closeButtonColor: string;
|
|
25
|
+
closeButtonbgColor: string;
|
|
26
|
+
credentials: [];
|
|
27
|
+
dateTimeColor: string;
|
|
28
|
+
dateTextColor: string;
|
|
29
|
+
eventId: string;
|
|
30
|
+
s27UserToken: string;
|
|
31
|
+
eventName: string;
|
|
32
|
+
botIcon: string;
|
|
33
|
+
formFieldBgColor: string;
|
|
34
|
+
formFieldTextColor: string;
|
|
35
|
+
fullView: boolean;
|
|
36
|
+
gradientColors: string[];
|
|
37
|
+
greeting: string;
|
|
38
|
+
messageTextColorAi: string;
|
|
39
|
+
messageTextColorUser: string;
|
|
40
|
+
rules: string;
|
|
41
|
+
sendButtonColor: string;
|
|
42
|
+
sendButtonTextColor: string;
|
|
43
|
+
showClose: boolean;
|
|
44
|
+
thumbsDownMessages: string[];
|
|
45
|
+
thumbsUpMessage: string;
|
|
46
|
+
timezone: string;
|
|
47
|
+
unknownResponses: [];
|
|
48
|
+
useOpenAi: boolean;
|
|
49
|
+
userId: string;
|
|
50
|
+
isDev: boolean;
|
|
51
|
+
againButtonColor: string[];
|
|
52
|
+
againButtonTextColor: string[];
|
|
53
|
+
feedbackEvent: EventEmitter<string>;
|
|
54
|
+
onCloseEvent: EventEmitter<void>;
|
|
55
|
+
openPage: EventEmitter<any>;
|
|
56
|
+
sessionActions: EventEmitter<any>;
|
|
57
|
+
closeBot: EventEmitter<any>;
|
|
58
|
+
connectWithUser: EventEmitter<any>;
|
|
59
|
+
scheduleMeeting: EventEmitter<string>;
|
|
60
|
+
autogenKey: string;
|
|
61
|
+
addToMyAgendaAction: string;
|
|
62
|
+
myUpcomingSessionAction: string;
|
|
63
|
+
connectOrFollowAction: string;
|
|
64
|
+
aiResponse: string;
|
|
65
|
+
chatLog: any[];
|
|
66
|
+
decoder: TextDecoder;
|
|
67
|
+
feedbackDone: boolean;
|
|
68
|
+
greetingMsg: string;
|
|
69
|
+
hasBackdropValue: boolean;
|
|
70
|
+
input: string;
|
|
71
|
+
listenerAdded: boolean;
|
|
72
|
+
loading: boolean;
|
|
73
|
+
mode: string;
|
|
74
|
+
quickPrompts: any[];
|
|
75
|
+
thumbsDownMsgIndex: number;
|
|
76
|
+
userName: string;
|
|
77
|
+
showStartAgain: boolean;
|
|
78
|
+
isIOSDevice: boolean;
|
|
79
|
+
showFeedBackIconsIndex: number | null;
|
|
80
|
+
temperature: number;
|
|
81
|
+
speakers: any[];
|
|
82
|
+
environment: {
|
|
83
|
+
USERS_API: any;
|
|
84
|
+
BASE_URL: any;
|
|
85
|
+
};
|
|
86
|
+
pendingRequests: any;
|
|
87
|
+
myConnections: any;
|
|
88
|
+
constructor(cdr: ChangeDetectorRef, http: HttpClient, sanitizer: DomSanitizer, elementRef: ElementRef, renderer: Renderer2);
|
|
89
|
+
ngOnInit(): void;
|
|
90
|
+
changeTemperature(newTemperature: number): void;
|
|
91
|
+
onStartAgain(): void;
|
|
92
|
+
archieveMessages(): import("rxjs").Observable<any>;
|
|
93
|
+
fetchBotConfig(): import("rxjs").Observable<any>;
|
|
94
|
+
fetchChatHistory(): import("rxjs").Observable<any>;
|
|
95
|
+
mapChatHistory(chats: any): void;
|
|
96
|
+
processMessage(message: string): SafeHtml;
|
|
97
|
+
ngAfterViewChecked(): void;
|
|
98
|
+
sanitizeHtml(html: string): SafeHtml;
|
|
99
|
+
onFeedbackClick(value: string): void;
|
|
100
|
+
onClose(): void;
|
|
101
|
+
sendMessageWithTile(prompt: string): void;
|
|
102
|
+
fetchData(): void;
|
|
103
|
+
fetchSmallTalk(): void;
|
|
104
|
+
readAllChunks: (stream: any) => ReadableStream<any>;
|
|
105
|
+
pump(controller: any, reader: any, allSuggestions: string[]): void;
|
|
106
|
+
submitFeedback(flag: boolean): void;
|
|
107
|
+
handleSubmit(): void;
|
|
108
|
+
handleUpClick(idx: any): void;
|
|
109
|
+
handleDownClick(idx: any): void;
|
|
110
|
+
scrollToBottom(): void;
|
|
111
|
+
handleAction(action: any): void;
|
|
112
|
+
ngAfterViewInit(): void;
|
|
113
|
+
private setBodyOverflow;
|
|
114
|
+
private removeBodyOverflow;
|
|
115
|
+
getSpeakersByStaffIds(ids: any): void;
|
|
116
|
+
performSessionAction(sessionId: any, action: any): void;
|
|
117
|
+
addCloseBotClickEvent(): void;
|
|
118
|
+
isMobileBrowser(): boolean;
|
|
119
|
+
connectToUser(userId: any): void;
|
|
120
|
+
scheduleMeetingWithUser(user: any): void;
|
|
121
|
+
canConnect(userId: any): boolean;
|
|
122
|
+
canDisconnect(userId: any): any;
|
|
123
|
+
fetchPendingRequests(): import("rxjs").Observable<any>;
|
|
124
|
+
fetchMyConnections(): import("rxjs").Observable<any>;
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=chat-drawer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-drawer.component.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/components/chat-drawer/chat-drawer.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAe,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,MAAM,EAEN,SAAS,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAMnE,qBAMa,mBAAoB,YAAW,MAAM;IAqF9C,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAxFK,OAAO,CAAC,QAAQ,CAAa;IAE/B,MAAM,EAAG,SAAS,CAAC;IACxC,OAAO,CAAC,iBAAiB,CAA0B;IAEnD,UAAU,EAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAEpC,WAAW,EAAE,MAAM,CAAc;IACjC,SAAS,EAAG,MAAM,C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;IAIpC,eAAe,CAAC,KAAK,EAAE,MAAM;IAI7B,OAAO;IAKP,mBAAmB,CAAC,MAAM,EAAE,MAAM;IAMlC,SAAS;IA+CT,cAAc;IAyCd,aAAa,WAAY,GAAG,yBAmB1B;IAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,EAAE;IAgJ3D,cAAc,CAAC,IAAI,EAAE,OAAO;IA8C5B,YAAY;IAKZ,aAAa,CAAC,GAAG,EAAE,GAAG;IAetB,eAAe,CAAC,GAAG,EAAE,GAAG;IAQxB,cAAc;IASd,YAAY,CAAC,MAAM,EAAE,GAAG;IASxB,eAAe;IA0Bf,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,kBAAkB;IAI1B,qBAAqB,CAAC,GAAG,KAAA;IAiCzB,oBAAoB,CAAC,SAAS,KAAA,EAAE,MAAM,KAAA;IAOtC,qBAAqB;IASrB,eAAe;IAIf,aAAa,CAAC,MAAM,KAAA;IAgBpB,uBAAuB,CAAC,IAAI,KAAA;IAI5B,UAAU,CAAC,MAAM,KAAA;IAIjB,aAAa,CAAC,MAAM,KAAA;IAIpB,oBAAoB;IAuBpB,kBAAkB;CAuBnB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare class ChatBotComponent {
|
|
2
|
+
userId: string;
|
|
3
|
+
apiKey: string;
|
|
4
|
+
botName: string;
|
|
5
|
+
botId: string;
|
|
6
|
+
closeButtonColor: string;
|
|
7
|
+
gradientColors: string[];
|
|
8
|
+
greeting: string;
|
|
9
|
+
sendButtonColor: string;
|
|
10
|
+
useOpenAi: boolean;
|
|
11
|
+
showClose: boolean;
|
|
12
|
+
bgGradient: string[];
|
|
13
|
+
sendButtonTextColor: string;
|
|
14
|
+
fullView: boolean;
|
|
15
|
+
bgBubbleAi: string;
|
|
16
|
+
bgBubbleUser: string;
|
|
17
|
+
closeButtonbgColor: string;
|
|
18
|
+
messageTextColorAi: string;
|
|
19
|
+
messageTextColorUser: string;
|
|
20
|
+
dateTimeColor: string;
|
|
21
|
+
dateTextColor: string;
|
|
22
|
+
formFieldBgColor: string;
|
|
23
|
+
formFieldTextColor: string;
|
|
24
|
+
thumbsUpMessage: string;
|
|
25
|
+
thumbsDownMessages: string[];
|
|
26
|
+
timezone: string;
|
|
27
|
+
eventName: string;
|
|
28
|
+
credentials: [];
|
|
29
|
+
unknownResponses: [];
|
|
30
|
+
rules: string;
|
|
31
|
+
eventId: string;
|
|
32
|
+
visible: boolean;
|
|
33
|
+
toggle(): void;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=chatbot.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatbot.component.d.ts","sourceRoot":"D:/hiveGPT-AI-packages/HiveAI-Packages/projects/hivegpt/eventsgpt-angular/src/","sources":["lib/components/chatbot/chatbot.component.ts"],"names":[],"mappings":"AACA,qBAKa,gBAAgB;IAClB,MAAM,EAAG,MAAM,CAAC;IAChB,MAAM,EAAG,MAAM,CAAC;IAChB,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;IACf,gBAAgB,EAAG,MAAM,CAAC;IAC1B,cAAc,EAAG,MAAM,EAAE,CAAC;IAC1B,QAAQ,EAAG,MAAM,CAAC;IAClB,eAAe,EAAG,MAAM,CAAC;IACzB,SAAS,EAAG,OAAO,CAAC;IACpB,SAAS,EAAG,OAAO,CAAC;IACpB,UAAU,EAAG,MAAM,EAAE,CAAC;IACtB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,QAAQ,EAAG,OAAO,CAAC;IACnB,UAAU,EAAG,MAAM,CAAC;IACpB,YAAY,EAAG,MAAM,CAAC;IACtB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,EAAG,MAAM,CAAC;IACvB,gBAAgB,EAAG,MAAM,CAAC;IAC1B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,eAAe,EAAG,MAAM,CAAC;IACzB,kBAAkB,EAAG,MAAM,EAAE,CAAC;IAC9B,QAAQ,EAAG,MAAM,CAAC;IAClB,SAAS,EAAG,MAAM,CAAC;IACnB,WAAW,EAAG,EAAE,CAAC;IACjB,gBAAgB,EAAG,EAAE,CAAC;IACtB,KAAK,EAAG,MAAM,CAAC;IACf,OAAO,EAAG,MAAM,CAAC;IAC1B,OAAO,UAAS;IAEhB,MAAM;CAGP"}
|