/** * Constants (phrases, urls etc.) * @author [Vivek Sudarsan] * @version 0.1.0 */ export const INTERACTION_CUSTOMERS_EXCLUDE = [ 'rho', 'xplor', 'rakuten', 'arc', 'madmobile', ]; export const TOUCH_TYPES = { VIEW: 'VIEW', FORM_FILL: 'FORM_FILL', IN_APP_VIEW: 'IN_APP_VIEW', }; export const TRACK_TYPE_MAP: any = { VIEW: 'session', FORM_FILL: 'forms', IN_APP_VIEW: 'inAppView', }; export const INTERACTION_TYPES: any = { VIEW: 'VIEW', HIGHLIGHT: 'HIGHLIGHT', CLICK: 'CLICK', SCREENSHOT: 'SCREENSHOT', HOVER: 'HOVER', COPY: 'COPY', }; export const URL: { [key: string]: { [key: string]: string } } = { contact: { GET: '', }, }; export const THIRD_PARTY_SCRIPTS: any = { fullContact: (key: string) => `(function (w, d, s, o, f, js, fjs) { w['FCObject'] = o; w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) }; js = d.createElement(s), fjs = d.getElementsByTagName(s)[0]; js.id = o; js.src = f; js.async = 1; fjs.parentNode.insertBefore(js, fjs); }(window, document, 'script', 'fc', 'https://tags.fullcontact.com/anon/fullcontact.js')); fc('init','${key}');`, vector: `!function(e,r){try{if(e.vector)return void console.log("Vector snippet included more than once.");var t={};t.q=t.q||[];for(var o=["load","identify","on"],n=function(e){return function(){var r=Array.prototype.slice.call(arguments);t.q.push([e,r])}},c=0;c