{"version":3,"sources":["webpack:///./app/javascript/shared/helpers/HTMLSanitizer.js","webpack:///./app/javascript/shared/helpers/MessageFormatter.js","webpack:///./app/javascript/shared/mixins/messageFormatterMixin.js","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue?1fa1","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue?2ff9","webpack:///./app/javascript/dashboard/assets/images/chatwoot_bot.png","webpack:///./app/javascript/widget/components/UnreadMessage.vue?c55a","webpack:///./app/javascript/widget/components/UnreadMessageList.vue?dc46","webpack:///./app/javascript/widget/components/UnreadMessageList.vue?3a35","webpack:///./app/javascript/widget/components/UnreadMessage.vue?829b","webpack:///app/javascript/widget/components/UnreadMessage.vue","webpack:///./app/javascript/widget/components/UnreadMessage.vue","webpack:///./app/javascript/widget/components/UnreadMessage.vue?8b69","webpack:///app/javascript/widget/components/UnreadMessageList.vue","webpack:///./app/javascript/widget/components/UnreadMessageList.vue?4033","webpack:///./app/javascript/widget/components/UnreadMessageList.vue","webpack:///./app/javascript/widget/views/Campaigns.vue?d5bf","webpack:///app/javascript/widget/views/Campaigns.vue","webpack:///./app/javascript/widget/views/Campaigns.vue?ca47","webpack:///./app/javascript/widget/views/Campaigns.vue","webpack:///app/javascript/dashboard/components/widgets/Avatar.vue","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue?1562","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue?8701","webpack:///app/javascript/dashboard/components/widgets/Thumbnail.vue","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue","webpack:///./app/javascript/dashboard/components/widgets/Avatar.vue?c48e","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue","webpack:///./app/javascript/dashboard/components/widgets/Thumbnail.vue?54fe"],"names":["escapeHtml","unsafe","replace","TWITTER_USERNAME_REGEX","TWITTER_HASH_REGEX","USER_MENTIONS_REGEX","MessageFormatter","message","isATweet","isAPrivateNote","this","DOMPurify","sanitize","marked","renderer","heading","text","link","url","title","mentionRegex","RegExp","match","use","withHash","addHook","node","setAttribute","breaks","gfm","formatMessage","DOMParser","parseFromString","formattedMessage","body","textContent","methods","getPlainText","plainText","truncateMessage","description","length","slice","stripStyleCharacters","FORBID_TAGS","FORBID_ATTR","module","exports","_vm","_h","$createElement","_c","_self","staticClass","class","$dm","on","onClickMessage","attrs","avatarUrl","agentName","availabilityStatus","_v","_s","companyName","_e","domProps","closeFullView","$t","_l","index","key","id","messageType","sender","getMessageContent","campaignId","openConversationView","component","messages","style","customStyle","userInitial","height","size","width","imgError","Boolean","src","thumbnailClass","$event","onImgError","username","avatarSize","badge","status"],"mappings":"uKAAaA,EAAa,WAAkB,IAAjBC,EAAgB,uDAAP,GAClC,OAAOA,EACJC,QAAQ,KAAM,SACdA,QAAQ,KAAM,QACdA,QAAQ,KAAM,QACdA,QAAQ,KAAM,UACdA,QAAQ,KAAM,W,oQCFnB,IAAMC,EAAyB,2BAIzBC,EAAqB,gBAIrBC,EAAsB,yCA2DbC,E,WAxDb,WAAYC,GAAoD,IAA3CC,EAA0C,wDAAxBC,EAAwB,kEAC7DC,KAAKH,QAAUI,IAAUC,SAASZ,EAAWO,GAAW,KACxDG,KAAKD,eAAiBA,EACtBC,KAAKF,SAAWA,EAChBE,KAAKG,OAASA,SAEd,IAAMC,EAAW,CACfC,QADe,SACPC,GACN,MAAM,WAAN,OAAkBA,EAAlB,cAEFC,KAJe,SAIVC,EAAKC,EAAOH,GACf,IAAMI,EAAe,IAAIC,OAAOhB,GAChC,OAAIa,EAAII,MAAMF,GACN,0CAAN,OAAiDJ,EAAjD,WAEI,+CAAN,OAAsDE,EAAtD,iCAAkFC,GAChF,GADF,6BACyBH,EADzB,UAIJN,KAAKG,OAAOU,IAAI,CAAET,a,oDAGpB,WACE,GAAIJ,KAAKF,WAAaE,KAAKD,eAAgB,CACzC,IAIMe,EAJed,KAAKH,QAAQL,QAChCC,EAlCN,gGAqCkCD,QAC5BE,EAlCN,yGAsCI,OADyBS,iBAAOW,GAMlC,OAHAb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B,EAAIc,GAAG,KAAMd,EAAuB,oBAAEG,EAAG,MAAM,CAACG,MAAO,uDAAyDN,EAAI+C,OAAQf,MAAOhC,EAAe,cAAIA,EAAIiB,MAAM,KACt4D,IDWpB,EACA,KACA,WACA,OAIa,M","file":"js/10-783fb77cf79fe9b7fb3a.chunk.js","sourcesContent":["export const escapeHtml = (unsafe = '') => {\n return unsafe\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n};\n","import { marked } from 'marked';\nimport DOMPurify from 'dompurify';\nimport { escapeHtml } from './HTMLSanitizer';\n\nconst TWITTER_USERNAME_REGEX = /(^|[^@\\w])@(\\w{1,15})\\b/g;\nconst TWITTER_USERNAME_REPLACEMENT =\n '$1@$2';\n\nconst TWITTER_HASH_REGEX = /(^|\\s)#(\\w+)/g;\nconst TWITTER_HASH_REPLACEMENT =\n '$1#$2';\n\nconst USER_MENTIONS_REGEX = /mention:\\/\\/(user|team)\\/(\\d+)\\/(.+)/gm;\n\nclass MessageFormatter {\n constructor(message, isATweet = false, isAPrivateNote = false) {\n this.message = DOMPurify.sanitize(escapeHtml(message || ''));\n this.isAPrivateNote = isAPrivateNote;\n this.isATweet = isATweet;\n this.marked = marked;\n\n const renderer = {\n heading(text) {\n return `${text}`;\n },\n link(url, title, text) {\n const mentionRegex = new RegExp(USER_MENTIONS_REGEX);\n if (url.match(mentionRegex)) {\n return `${text}`;\n }\n return `${text}`;\n },\n };\n this.marked.use({ renderer });\n }\n\n formatMessage() {\n if (this.isATweet && !this.isAPrivateNote) {\n const withUserName = this.message.replace(\n TWITTER_USERNAME_REGEX,\n TWITTER_USERNAME_REPLACEMENT\n );\n const withHash = withUserName.replace(\n TWITTER_HASH_REGEX,\n TWITTER_HASH_REPLACEMENT\n );\n const markedDownOutput = marked(withHash);\n return markedDownOutput;\n }\n DOMPurify.addHook('afterSanitizeAttributes', node => {\n if ('target' in node) node.setAttribute('target', '_blank');\n });\n return DOMPurify.sanitize(\n marked(this.message, { breaks: true, gfm: true })\n );\n }\n\n get formattedMessage() {\n return this.formatMessage();\n }\n\n get plainText() {\n const strippedOutHtml = new DOMParser().parseFromString(\n this.formattedMessage,\n 'text/html'\n );\n return strippedOutHtml.body.textContent || '';\n }\n}\n\nexport default MessageFormatter;\n","import MessageFormatter from '../helpers/MessageFormatter';\nimport DOMPurify from 'dompurify';\n\nexport default {\n methods: {\n formatMessage(message, isATweet, isAPrivateNote) {\n const messageFormatter = new MessageFormatter(\n message,\n isATweet,\n isAPrivateNote\n );\n return messageFormatter.formattedMessage;\n },\n getPlainText(message, isATweet) {\n const messageFormatter = new MessageFormatter(message, isATweet);\n return messageFormatter.plainText;\n },\n truncateMessage(description = '') {\n if (description.length < 100) {\n return description;\n }\n\n return `${description.slice(0, 97)}...`;\n },\n stripStyleCharacters(message) {\n return DOMPurify.sanitize(message, {\n FORBID_TAGS: ['style'],\n FORBID_ATTR: [\n 'id',\n 'class',\n 'style',\n 'bgcolor',\n 'valign',\n 'width',\n 'face',\n 'color',\n 'height',\n 'lang',\n 'align',\n 'size',\n 'border',\n ],\n });\n },\n },\n};\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=style&index=0&id=22fe9c21&lang=scss&scoped=true&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thumbnail.vue?vue&type=style&index=0&id=fa846d32&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"media/dashboard/assets/images/chatwoot_bot-905112376e6493b37e2cecea8f9dc50c.png\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnreadMessage.vue?vue&type=style&index=0&id=5c9f6c14&lang=scss&scoped=true&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnreadMessageList.vue?vue&type=style&index=0&id=385dc6b8&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"unread-wrap\"},[_c('div',{staticClass:\"close-unread-wrap\"},[_c('button',{staticClass:\"button small close-unread-button\",on:{\"click\":_vm.closeFullView}},[_c('span',{staticClass:\"flex items-center\"},[_c('fluent-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"dismiss\",\"size\":\"12\"}}),_vm._v(\"\\n \"+_vm._s(_vm.$t('UNREAD_VIEW.CLOSE_MESSAGES_BUTTON'))+\"\\n \")],1)])]),_vm._v(\" \"),_c('div',{staticClass:\"unread-messages\"},_vm._l((_vm.messages),function(message,index){return _c('unread-message',{key:message.id,attrs:{\"message-type\":message.messageType,\"message-id\":message.id,\"show-sender\":!index,\"sender\":message.sender,\"message\":_vm.getMessageContent(message),\"campaign-id\":message.campaignId}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"open-read-view-wrap\"},[(_vm.unreadMessageCount)?_c('button',{staticClass:\"button clear-button\",on:{\"click\":_vm.openConversationView}},[_c('span',{staticClass:\"flex items-center\"},[_c('fluent-icon',{staticClass:\"mr-2\",attrs:{\"size\":\"16\",\"icon\":\"arrow-right\"}}),_vm._v(\"\\n \"+_vm._s(_vm.$t('UNREAD_VIEW.VIEW_MESSAGES_BUTTON'))+\"\\n \")],1)]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnreadMessage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnreadMessage.vue?vue&type=script&lang=js&\"","\n\n\n\n","import { render, staticRenderFns } from \"./UnreadMessage.vue?vue&type=template&id=5c9f6c14&scoped=true&\"\nimport script from \"./UnreadMessage.vue?vue&type=script&lang=js&\"\nexport * from \"./UnreadMessage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./UnreadMessage.vue?vue&type=style&index=0&id=5c9f6c14&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5c9f6c14\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"chat-bubble-wrap\"},[_c('button',{staticClass:\"chat-bubble agent\",class:_vm.$dm('bg-white', 'dark:bg-slate-50'),on:{\"click\":_vm.onClickMessage}},[(_vm.showSender)?_c('div',{staticClass:\"row--agent-block\"},[_c('thumbnail',{attrs:{\"src\":_vm.avatarUrl,\"size\":\"20px\",\"username\":_vm.agentName,\"status\":_vm.availabilityStatus}}),_vm._v(\" \"),_c('span',{staticClass:\"agent--name\"},[_vm._v(_vm._s(_vm.agentName))]),_vm._v(\" \"),_c('span',{staticClass:\"company--name\"},[_vm._v(\" \"+_vm._s(_vm.companyName))])],1):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"message-content\",domProps:{\"innerHTML\":_vm._s(_vm.formatMessage(_vm.message, false))}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnreadMessageList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnreadMessageList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UnreadMessageList.vue?vue&type=template&id=385dc6b8&scoped=true&\"\nimport script from \"./UnreadMessageList.vue?vue&type=script&lang=js&\"\nexport * from \"./UnreadMessageList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./UnreadMessageList.vue?vue&type=style&index=0&id=385dc6b8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"385dc6b8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('unread-message-list',{attrs:{\"messages\":_vm.messages}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Campaigns.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Campaigns.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Campaigns.vue?vue&type=template&id=a2295b4e&\"\nimport script from \"./Campaigns.vue?vue&type=script&lang=js&\"\nexport * from \"./Campaigns.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Avatar.vue?vue&type=script&lang=js&\"","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thumbnail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thumbnail.vue?vue&type=script&lang=js&\"","\n\n\n\n","import { render, staticRenderFns } from \"./Avatar.vue?vue&type=template&id=22fe9c21&scoped=true&\"\nimport script from \"./Avatar.vue?vue&type=script&lang=js&\"\nexport * from \"./Avatar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Avatar.vue?vue&type=style&index=0&id=22fe9c21&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"22fe9c21\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"avatar-container\",style:([_vm.style, _vm.customStyle]),attrs:{\"aria-hidden\":\"true\"}},[_c('span',[_vm._v(_vm._s(_vm.userInitial))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Thumbnail.vue?vue&type=template&id=fa846d32&scoped=true&\"\nimport script from \"./Thumbnail.vue?vue&type=script&lang=js&\"\nexport * from \"./Thumbnail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Thumbnail.vue?vue&type=style&index=0&id=fa846d32&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fa846d32\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"user-thumbnail-box\",style:({ height: _vm.size, width: _vm.size })},[(!_vm.imgError && Boolean(_vm.src))?_c('img',{class:_vm.thumbnailClass,attrs:{\"id\":\"image\",\"src\":_vm.src},on:{\"error\":function($event){return _vm.onImgError()}}}):_c('Avatar',{class:_vm.thumbnailClass,attrs:{\"username\":_vm.username,\"size\":_vm.avatarSize}}),_vm._v(\" \"),(_vm.badge === 'instagram_direct_message')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/instagram-dm.png\"}}):(_vm.badge === 'facebook')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/messenger.png\"}}):(_vm.badge === 'twitter-tweet')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/twitter-tweet.png\"}}):(_vm.badge === 'twitter-dm')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/twitter-dm.png\"}}):(_vm.badge === 'whatsapp')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/whatsapp.png\"}}):(_vm.badge === 'sms')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/sms.png\"}}):(_vm.badge === 'Channel::Line')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/line.png\"}}):(_vm.badge === 'Channel::Telegram')?_c('img',{staticClass:\"source-badge\",style:(_vm.badgeStyle),attrs:{\"id\":\"badge\",\"src\":\"/integrations/channels/badges/telegram.png\"}}):_vm._e(),_vm._v(\" \"),(_vm.showStatusIndicator)?_c('div',{class:(\"source-badge user-online-status user-online-status--\" + _vm.status),style:(_vm.statusStyle)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"sourceRoot":""}