/*! backstage-client 09-05-2021 */ !function o(a,s,u){function c(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[t]={exports:{}};a[t][0].call(i.exports,function(e){return c(a[t][1][e]||e)},i,i.exports,o,a,s,u)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;e>8-i%1*8)){if(255<(n=r.charCodeAt(i+=.75)))throw new u("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a}),e.atob||(e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new u("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)&&(a+=String.fromCharCode(255&n>>(-2*i&6))))r=s.indexOf(r);return a})}()},{}],3:[function(e,t,n){var i={},o={};adrollAdapter={pushAudience:function(e,t){if(e.integrations&&e.integrations.adroll&&e.integrations.adroll.segment){var n=e.integrations.adroll.segment,r=!1;void 0!==o[n]&&(r=!0),o[n]=function(){i[n]=setTimeout(function(){"undefined"!=typeof __adroll&&null!==__adroll?__adroll.record_user({adroll_segments:n}):o[n]()},500)},t.log("\tPushing segment "+n+" to AdRoll.","info"),r||o[n]()}}},t.exports=adrollAdapter},{}],4:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":237}],5:[function(e,t,n){t.exports=function(n){var r={provider:"behavioral"};return r.bctx=n,r.getToken=function(){if(!r.bctx._fe_bvid)throw n.log("No Backstage cookie detected.","info"),(e=new Error("Could not identify the current visitor because no Backstage cookie was detected.")).code="E_COULD_NOT_IDENT",e;var e,t={type:"cookie",value:r.bctx._fe_bvid};return n.log("Backstage "+t.type+" detected: "+t.value,"info"),t},r.getAttributes=function(){return r.bctx.cache.get(n.config.customEventsNamespace).then(function(e){return e||{}})},r}},{}],6:[function(e,t,n){"use strict";var r=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n"].indexOf(n[0])?void 0:n[0];return new s({functionName:r,fileName:i,lineNumber:n[1],columnNumber:n[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(r)},this).map(function(e){if(-1 eval")&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new s({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,i=this.extractLocation(e.replace(t,""));return new s({functionName:r,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseOpera:function(e){return!e.stacktrace||-1e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split("\n"),r=[],i=2,o=n.length;i/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(t=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var a=void 0===t||"[arguments not available]"===t?void 0:t.split(",");return new s({functionName:o,args:a,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:e})},this)}}});var S={};!function(e,t){"use strict";"object"==typeof S?S=t(C):e.StackGenerator=t(e.StackFrame)}(this,function(a){return{backtrace:function(e){var t=[],n=10;"object"==typeof e&&"number"==typeof e.maxStackSize&&(n=e.maxStackSize);for(var r=arguments.callee;r&&t.lengththis.config.maxBreadcrumbs&&(this.breadcrumbs=this.breadcrumbs.slice(this.breadcrumbs.length-this.config.maxBreadcrumbs)),this}},de.prototype.notify=function(e,t){var n=1=t.config.maxEvents)return e.ignore();n++}),t.refresh=function(){n=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return me(e)&&e<100}}}},_e=Object.assign||function(e){for(var t=1;t/,Fe=/<\/script>.*$/,ze=(Re={init:function(e){function s(){return document.documentElement.outerHTML}var u="",c=!1,l=window.location.href;u=s(),document.onreadystatechange=function(){"interactive"===document.readyState&&(u=s(),c=!0)},e.config.beforeSend.unshift(function(e){var r=e.stacktrace[0];if(!r||!r.file||!r.lineNumber)return r;if(r.file.replace(/#.*$/,"")!==l.replace(/#.*$/,""))return r;c&&u||(u=s());var t=["\x3c!-- DOC START --\x3e"].concat(u.split("\n")),n=ze(t,r.lineNumber-1),i=n.script,o=n.start,a=Ne(i,function(e,t,n){return 10 "+n.join("");return n.join("")}(e.target)}catch(e){n=t="[hidden]",r._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/y94fq5zm")}r.leaveBreadcrumb("UI click",{targetText:t,targetSelector:n},"user")},!0)},configSchema:{interactionBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}}},Ve=function(e){var t,n,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),r=r.replace(/^\s+|\s+$/g,""),n=140,(t=r)&&t.length<=n?t:t.slice(0,n-"(...)".length)+"(...)"};var Ue=Object.assign||function(e){for(var t=1;ti){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",s.name,s.message)}}else a=o[t]=n,++e._eventsCount;return e}function d(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;te.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function k(e){return a([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i>4,l[u++]=(15&r)<<4|i>>2,l[u++]=(3&i)<<6|63&o;return c}function B(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=T[(3&n[t])<<4|n[t+1]>>4],r+=T[(15&n[t+1])<<2|n[t+2]>>6],r+=T[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var V={serialize:function(t,n){var e="";if(t&&(e=F.call(t)),t&&("[object ArrayBuffer]"===e||t.buffer&&"[object ArrayBuffer]"===F.call(t.buffer))){var r,i=D;t instanceof ArrayBuffer?(r=t,i+=R):(r=t.buffer,"[object Int8Array]"===e?i+="si08":"[object Uint8Array]"===e?i+="ui08":"[object Uint8ClampedArray]"===e?i+="uic8":"[object Int16Array]"===e?i+="si16":"[object Uint16Array]"===e?i+="ur16":"[object Int32Array]"===e?i+="si32":"[object Uint32Array]"===e?i+="ui32":"[object Float32Array]"===e?i+="fl32":"[object Float64Array]"===e?i+="fl64":n(new Error("Failed to get type for BinaryArray"))),n(i+B(r))}else if("[object Blob]"===e){var o=new FileReader;o.onload=function(){var e="~~local_forage_type~"+t.type+"~"+B(this.result);n(D+N+e)},o.readAsArrayBuffer(t)}else try{n(JSON.stringify(t))}catch(e){console.error("Couldn't convert value into a JSON string: ",t),n(null,e)}},deserialize:function(e){if(e.substring(0,L)!==D)return JSON.parse(e);var t,n=e.substring(M),r=e.substring(L,M);if(r===N&&P.test(n)){var i=n.match(P);t=i[1],n=n.substring(i[0].length)}var o=z(n);switch(r){case R:return o;case N:return a([o],{type:t});case"si08":return new Int8Array(o);case"ui08":return new Uint8Array(o);case"uic8":return new Uint8ClampedArray(o);case"si16":return new Int16Array(o);case"ur16":return new Uint16Array(o);case"si32":return new Int32Array(o);case"ui32":return new Uint32Array(o);case"fl32":return new Float32Array(o);case"fl64":return new Float64Array(o);default:throw new Error("Unkown type: "+r)}},stringToBuffer:z,bufferToString:B};function U(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function q(e,r,i,o,a,s){e.executeSql(i,o,a,function(e,n){n.code===n.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[r.storeName],function(e,t){t.rows.length?s(e,n):U(e,r,function(){e.executeSql(i,o,a,s)},s)},s):s(e,n)},s)}var H={_driver:"webSQLStorage",_initStorage:function(e){var r=this,i={db:null};if(e)for(var t in e)i[t]="string"!=typeof e[t]?e[t].toString():e[t];var n=new f(function(t,n){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(e){return n(e)}i.db.transaction(function(e){U(e,i,function(){r._dbInfo=i,t()},function(e,t){n(t)})},n)});return i.serializer=V,n},_support:"function"==typeof openDatabase,iterate:function(c,e){var t=this,n=new f(function(u,n){t.ready().then(function(){var s=t._dbInfo;s.db.transaction(function(e){q(e,s,"SELECT * FROM "+s.storeName,[],function(e,t){for(var n=t.rows,r=n.length,i=0;i '__WebKitDatabaseInfoTable__'",[],function(e,t){for(var n=[],r=0;r>>0,t>>>=0;for(var o=Array(i);++r]*>/,jva=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,kva=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,lva=/^(?:body|html)$/i,mva=/([A-Z])/g,nva=["val","css","html","text","data","width","height","offset"],pva=eva.createElement("table"),qva=eva.createElement("tr"),rva={tr:eva.createElement("tbody"),tbody:pva,thead:pva,tfoot:pva,td:qva,th:qva,"*":eva.createElement("div")},sva=/complete|loaded|interactive/,tva=/^[\w-]*$/,vva=(uva={}).toString,wva={},zva=eva.createElement("div"),Ava={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Bva=Array.isArray||function(e){return e instanceof Array},wva.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var r,i=e.parentNode,o=!i;return o&&(i=zva).appendChild(e),r=~wva.qsa(i,t).indexOf(e),o&&zva.removeChild(e),r},xva=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},yva=function(n){return dva.call(n,function(e,t){return n.indexOf(e)==t})},wva.fragment=function(e,t,n){var r,i,o;return jva.test(e)&&(r=_ua(eva.createElement(RegExp.$1))),r||(e.replace&&(e=e.replace(kva,"<$1>")),t===Zua&&(t=iva.test(e)&&RegExp.$1),t in rva||(t="*"),(o=rva[t]).innerHTML=""+e,r=_ua.each(cva.call(o.childNodes),function(){o.removeChild(this)})),Hva(n)&&(i=_ua(r),_ua.each(n,function(e,t){-1)<[^<]*)*<\/script>/gi,fDa=/^(?:text|application)\/javascript/i,gDa=/^(?:text|application)\/xml/i,hDa="application/json",jDa=/^\s*$/,kDa=bDa.createElement("a");function mDa(e,t,n,r){if(e.global)return i=t||bDa,o=n,a=r,s=_Ca.Event(o),_Ca(i).trigger(s,a),!s.isDefaultPrevented();var i,o,a,s}function pDa(e,t){var n=t.context;if(!1===t.beforeSend.call(n,e,t)||!1===mDa(t,n,"ajaxBeforeSend",[e,t]))return!1;mDa(t,n,"ajaxSend",[e,t])}function qDa(e,t,n,r){var i=n.context,o="success";n.success.call(i,e,o,t),r&&r.resolveWith(i,[e,o,t]),mDa(n,i,"ajaxSuccess",[t,n,e]),sDa(o,t,n)}function rDa(e,t,n,r,i){var o=r.context;r.error.call(o,n,t,e),i&&i.rejectWith(o,[n,t,e]),mDa(r,o,"ajaxError",[n,r,e||t]),sDa(t,n,r)}function sDa(e,t,n){var r,i=n.context;n.complete.call(i,t,e),mDa(n,i,"ajaxComplete",[t,n]),(r=n).global&&!--_Ca.active&&mDa(r,null,"ajaxStop")}function tDa(){}function vDa(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function xDa(e,t,n,r){return _Ca.isFunction(t)&&(r=n,n=t,t=void 0),_Ca.isFunction(n)||(r=n,n=void 0),{url:e,data:t,success:n,dataType:r}}kDa.href=window.location.href,_Ca.active=0,_Ca.ajaxJSONP=function(n,r){if(!("type"in n))return _Ca.ajax(n);function e(e){_Ca(s).triggerHandler("error",e||"abort")}var i,o,t=n.jsonpCallback,a=(_Ca.isFunction(t)?t():t)||"jsonp"+ ++aDa,s=bDa.createElement("script"),u=window[a],c={abort:e};return r&&r.promise(c),_Ca(s).on("load error",function(e,t){clearTimeout(o),_Ca(s).off().remove(),"error"!=e.type&&i?qDa(i[0],c,n,r):rDa(null,t||"error",c,n,r),window[a]=u,i&&_Ca.isFunction(u)&&u(i[0]),u=i=void 0}),!1===pDa(c,n)?e("abort"):(window[a]=function(){i=arguments},s.src=n.url.replace(/\?(.+)=\?/,"?$1="+a),bDa.head.appendChild(s),0").html(e.replace(eDa,"")).find(r):e),s&&s.apply(i,arguments)},_Ca.ajax(a),this};var yDa=encodeURIComponent;_Ca.param=function(e,t){var n=[];return n.add=function(e,t){_Ca.isFunction(t)&&(t=t()),null==t&&(t=""),this.push(yDa(e)+"="+yDa(t))},function n(r,e,i,o){var a,s=_Ca.isArray(e),u=_Ca.isPlainObject(e);_Ca.each(e,function(e,t){a=_Ca.type(t),o&&(e=i?o:o+"["+(u||"object"==a||"array"==a?e:"")+"]"),!o&&s?r.add(t.name,t.value):"array"==a||!i&&"object"==a?n(r,t,i,e):r.add(e,t)})}(n,e,t),n.join("&").replace(/%20/g,"+")}}(Yua),(mFa=Yua).fn.serializeArray=function(){var n,r,t=[],i=function(e){if(e.forEach)return e.forEach(i);t.push({name:n,value:e})};return this[0]&&mFa.each(this[0].elements,function(e,t){r=t.type,(n=t.name)&&"fieldset"!=t.nodeName.toLowerCase()&&!t.disabled&&"submit"!=r&&"reset"!=r&&"button"!=r&&"file"!=r&&("radio"!=r&&"checkbox"!=r||t.checked)&&i(mFa(t).val())}),t},mFa.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},mFa.fn.submit=function(e){if(0 in arguments)this.bind("submit",e);else if(this.length){var t=mFa.Event("submit");this.eq(0).trigger(t),t.isDefaultPrevented()||this.get(0).submit()}return this},function(n){"__proto__"in{}||n.extend(n.zepto,{Z:function(e,t){return e=e||[],n.extend(e,n.fn),e.selector=t||"",e.__Z=!0,e},isZ:function(e){return"array"===n.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var t=getComputedStyle;window.getComputedStyle=function(e){try{return t(e)}catch(e){return null}}}}(Yua),"object"==typeof Xua&&(Wua.exports=Yua)},{}],231:[function(e,t,n){var r=!1,i=0,o={pushAudience:function(e,t){var n=o;e.integrations&&e.integrations.olark&&e.integrations.olark&&(e.integrations.olark.operatorNotifications||e.integrations.olark.visitorStatus)&&(console.log("integrated! called"),!1===r&&"undefined"!=typeof olark?n.pushToOlark(e,t):i++<10&&setTimeout(n.pushAudience(e,t),50))},pushToOlark:function(t,n){r=!0,n.cache.get("fe_olark_vid").then(function(e){e||!0!==t.integrations.olark.operatorNotifications||(n.cache.set("fe_olark_vid",n._fe_bvid||""),olark("api.chat.sendNotificationToOperator",{body:"This visitor is in the Backstage audience destination "+t.name}),n.log("Notification sent to olark operator","info"))}),!0===t.integrations.olark.visitorStatus&&(olark("api.chat.updateVisitorStatus",{snippet:"Backstage audience destination: "+t.name}),n.log("Olark visitor status updated","info"))}};t.exports=o},{}],232:[function(e,t,n){t.exports={pushAudience:function(e,t){if(this.bctx=t,window.optimizely=window.optimizely||[],e.integrations&&e.integrations.optimizely&&e.integrations.optimizely.audienceId){var n=e.integrations.optimizely.audienceId;t.log("Pushing audience "+n+" to Optimizely."),this.bucketAndActivate(n)}},bucketAndActivate:function(n){var r=this.bctx;if(!window.optimizely||"function"!=typeof window.optimizely.addToAudience)return window.optimizely=window.optimizely||[],window.optimizely.push(["addToAudience",n]),!1;function e(t){return function(e){e==n&&-1===window.optimizely.activeExperiments.indexOf(t)&&(r.log("activating experiment "+t,"info"),window.optimizely.activate(t))}}window.optimizely.allExperiments;for(var t in window.optimizely.addToAudience(n),window.optimizely.allExperiments)experiment=window.optimizely.allExperiments[t],!experiment.audiences||experiment.activation_mode&&"conditional"==experiment.activation_mode||experiment.audiences.forEach(e(t))}}},{}],233:[function(e,t,n){var r=e("./classic"),i=e("./x");optimizelyAdapter={pushAudience:function(e,t){this.bctx=t,r.pushAudience(e,t),i.pushAudience(e,t)},activate:function(e){i.activateExperiences(e)}},t.exports=optimizelyAdapter},{"./classic":232,"./x":234}],234:[function(e,t,n){var r=e("./xVariations");t.exports={pushAudience:function(e,t){this.bctx=t,window.optimizely=window.optimizely||[],t.log(e.integrations),e.integrations&&e.integrations.optimizely&&e.integrations.optimizely.isIntegrated&&(t.log("Pushing audience "+e.slug+" to OptimizelyX."),this.bucketAndActivate(e,t))},bucketAndActivate:function(e,t){document.cookie=e.slug+"=true",window.optimizely=window.optimizely||[];var n={type:"user",attributes:{}};n.attributes[e.name]=!0,window.optimizely.push(n),t.log("attribute setup complete",n)},activateExperiences:function(e){r.activate(e)}}},{"./xVariations":235}],235:[function(e,t,n){var o=null,a=e("lodash.filter");function r(e){(e.data.decision.variationId||e.data.decision.experimentId)&&e.data&&i(e.data.decision.experimentId,e.data.decision.variationId,e.data.decision.isCampaignHoldback)}function i(e,t,n){if(o.campaignState)if(0==a(o.campaignState,{source:"optimizely",status:"running",campaignSourceId:e}).length)o.log("FE - SKIPPING OptX VARIATION ACTIVATION: Backstage doesn't know about campaignSourceId="+e);else{var r=!0===window.optimizely.feCampaignsInHoldback[e],i=!0===window.optimizely.feActiveBucketedVariations[t];n?(o.log("FE - OptX HOLDBACK : optimizelyExperimentId ("+e+") visitor is in the Optimizely Holdback. This should never happen if Optimizely is configured correctly with the holdback at 0%"),o.push({event:"activate_variation",isActivateVariation:!0,source:"optimizely",attributes:{optimizely:{experimentId:e,variationId:"holdback",isOptXCampaignHoldback:!0}}})):(o.log("FE - OptX VARIATION ACTIVATED: { recommended:"+i+", optimizelyVariationId:"+t+", optimizelyExperimentId: '"+e+"', isInFEHoldback:"+r),o.push({event:"activate_variation",isActivateVariation:!0,source:"optimizely",attributes:{recommended:i,holdback:r,optimizely:{experimentId:e,variationId:t}}}))}else o.log("FE - SKIPPING OptX VARIATION ACTIVATION: Backstage campaignState is not found")}t.exports={activate:function(e){o=e,this.bctx=e,window.optimizely?(window.optimizely.feActiveBucketedVariations={},window.optimizely.feCampaignsInHoldback={},window.optimizely=window.optimizely||[],window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"campaignDecided"},handler:r}),function(){if(o.log("FE - applyRecommendedVariationBucketing"),o.campaignState){var e=a(o.campaignState,{source:"optimizely",status:"running"});0>7,sequence=parseInt(e.toString(2)+this.seed.toString(2),2),t=n.toString(r)+this.sep+sequence.toString(r),this.append&&(t+=this.sep+this.append),t},n.exports=t}).call(this,e("_process"))},{_process:236}],245:[function(e,t,n){var r={sendEvent:function(t){ga(function(){var e=ga.getAll()[0].get("name");ga(e+".send","event",t)})},setDimension:function(t,n){ga(function(){var e=ga.getAll()[0].get("name");ga(e+".set","dimension"+t,n)})},pushAudience:function(e,t){if(e&&e.integrations&&e.integrations["universal-analytics"]){var n=e.integrations["universal-analytics"];if(ga)if(n.setAsDimension&&n.dimensionId&&!isNaN(Number(n.dimensionId))&&(this.setDimension(n.dimensionId,e.name),t.log("Google Analytics dimension set","info")),n.sentAsEvent){var r={nonInteraction:!0};r.eventCategory=n.eventCategory||"",r.eventAction=n.eventAction||"",r.eventLabel=n.eventLabel||"",this.sendEvent(r),t.log("Google Analytics event sent","info")}else n.setAsDimension&&(this.sendEvent({eventCategory:"funnelEnvy",eventAction:"setDimension",nonInteraction:!0}),t.log("Default Google event sent","info"));else t.log('The object "ga" is not defined, please verify that Google Analytics was loaded correctly',"error")}}};t.exports=r},{}],246:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;function n(){}n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],247:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],248:[function(d,e,j){(function(r,i){var s=/%[sdj%]/g;j.format=function(e){if(!w(e)){for(var t=[],n=0;n=a()&&(0,c.default)(e,function(e){var t,n,r=(t=e,n=(0,l.default)(t,"token.value"),o("identities['"+n+"'].expires")),i=r>=a();return i?p.logger.debug(e.provider+" cache entry found and will expire on "+r):p.logger.debug("identity expired: "+e.token.value),i})}}]),b);function b(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),this.bctx=e}},{"./classify":256,"./identifier":287,"./lib/error-factory":288,"./lib/get-query-param":291,"./logger":299,"babel-runtime/regenerator":4,"lodash/assign":166,"lodash/defaults":168,"lodash/every":172,"lodash/get":178}],253:[function(e,t,n){"use strict";var a=P(e("babel-runtime/regenerator")),r=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n"+t+"<\/script>";for(var o=i.childNodes,a=0;o[a];a++)!f.nodeName(o[a],"script")||o[a].type&&"text/javascript"!==o[a].type.toLowerCase()||f.evalScript(o[a].parentNode?o[a].parentNode.removeChild(o[a]):o[a],n,r);u.logger.groupCollapsed("Executing script"),u.logger.log(t),u.logger.groupEnd()}else u.logger.debug("Preview has to add an eventListener because document.readyState = "+document.readyState),document.addEventListener?document.addEventListener("DOMContentLoaded",function(e){return f.insertAndExecute(t,n,r)}):(u.logger.error("document.addEventListener is null or undefined;"),u.logger.error("Error: Failed to execute JS string because document not ready"))}},{key:"isCustomJavascriptObject",value:function(e){return!Array.isArray(e)}},{key:"runCustomJavascript",value:function(e,t,n){var r=2m&&(this.events=(0,l.default)(this.events,this.events.length-m)),n.length<2?n[0]:n}},{key:"contains",value:function(t){return Boolean((0,f.default)(this.events,function(e){return e.matches(t)}))}},{key:"length",get:function(){return this.events.length}}]),R);function R(e){var t=1new Date(e.resetAt)))}}]),O);function O(){var e=0 div span:nth-child(2) {\n text-decoration: underline !important;\n}\nhtml body .item .bmitem_text>div span:nth-child(2):after {\n content: '»';\n margin-left: .25rem;\n}\nhtml body .bmfewitems .bmitem_text p {\n color: #333;\n font-size: .95rem;\n font-weight: 300;\n height: 70px;\n margin-bottom: 0px !important;\n overflow: hidden;\n text-overflow: ellipsis;\n}\nhtml body .item .bmitem_text span {\n color: #704674;\n font-weight: normal;\n font-size: 1rem;\n display: inline-block;\n vertical-align: middle;\n}\nhtml body .item:nth-child(2) .bmitem_text span {\n color :#A12A70;\n}\n.bmitem_text > div > span:nth-child(1) {\n font-size: 1.6rem !important;\n}\nhtml body .bmfeWrapper .bmfewitems {\n margin-bottom: 70px;\n}\nhtml body .bmitem_text > div > span:last-child {\n padding-left: 8px;\n}\nhtml body .bmfewitems .bmitem_text > div {\n padding-top: 41px;\n}\nhtml body .bmfewitems .bmsource a sup {\n text-decoration: none;\n display: inline-block;\n}\nhtml body .item .bmitem_text > div :first-child {\n display: inline-block;\n} \n/*itemsec end*/\n@media screen and (max-width:767px) {\n html body .bmfewitems .item {\n width: 100%;\n }\n html body .bmfewitems .itemsec {\n flex-direction: column;\n }\n html body .item {\n padding: 10px !important;\n }\n html body .bmfewitems .bmsource {\n text-align: center;\n margin-bottom: 30px;\n }\n html body .bmthankusec .bmtext {\n width: 100%;\n padding: 10px;\n }\n html body .bmfeWrapper h3 {\n padding: 10px;\n text-align: center;\n margin-top: 6px;\n font-size: 1.2rem;\n }\n html body .bmtext h2 {\n font-size: 1.2rem;\n }\n}\n@media screen \nand (min-device-width : 768px) \nand (max-device-width : 1115px) {\n html body .bmfewitems .item {\n width: 100%;\n }\n html body .bmfewitems .itemsec {\n flex-direction: column;\n }\n html body .item {\n padding: 10px !important;\n }\n html body .bmfewitems .bmsource {\n text-align: center;\n margin-bottom: 30px;\n }\n html body .bmfeWrapper h3 {\n text-align: center;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n hasClass: function(element, className) {\n return element.classList\n ? element.classList.contains(className)\n : new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n removeClass: function(element, className) {\n if (element.classList) element.classList.remove(className);\n else\n element.className = element.className.replace(\n new RegExp('\\\\b' + className + '\\\\b', 'g'),\n ''\n );\n },\n insertBefore: function(beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function(afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n live: function (selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function (ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n },\n };\n\n\n var cardData = {\n spotfire: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO Spotfire® ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO Spotfire® resources curated just for you:',\n resourceText: 'TIBCO Spotfire® Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=391&search=',\n topResourcesData: [\n {\n title: 'TIBCO Spotfire®',\n subTitle: 'AI-powered, search-driven experience with built-in data wrangling and advanced analytics',\n button: 'Start 30-day free trial', \n url: \"https://account.cloud.tibco.com/signup/spotfire\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'Reporting, Predictive Analytics, and Everything In Between: A Guide to Selecting...',\n subTitle: 'Analytics is no longer a luxury; it’s a necessity to survive. Businesses today must collect, analyze...',\n button: 'eBook Download',\n url: \"https://www.tibco.com/resources/ebook-download/reporting-to-predictive-analytics\",\n iconClass: \"icon icon-resource-book\"\n },\n {\n title: 'Webinar – TIBCO Spotfire X: AI Powered Analytics',\n subTitle: 'Data hides a lot of treasures. Make your first dashboards and visualizations, and learn how to view...',\n button: 'On-Demand Webinar',\n url: \"https://www.tibco.com/resources/demand-webinar/webinar--tibco-spotfire-x-ai-powered-analytics\",\n iconClass: \"icon icon-resource-film\"\n }\n ]\n },\n\n tci: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO Cloud™ Integration ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO Cloud™ Integration resources curated just for you:',\n resourceText: 'TIBCO Cloud™ Integration Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=401&search=',\n topResourcesData: [\n {\n title: 'TIBCO Cloud™ Integration 30-Day Free Trial',\n subTitle: 'Start your free trial of TIBCO Cloud Integration today. Get started immediately integrating all of...',\n button: 'Start 30-day free trial',\n url: \"https://www.tibco.com/resources/product-trial-cloud/tibco-cloud-integration-30-day-free-trial\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'Ovum Decision Matrix: Cloud Platforms for Hybrid Integration, 2019-2020',\n subTitle: 'Ovum Decision Matrix: Cloud Platforms for Hybrid Integration, 2019-2020 is a comprehensive research...',\n button: 'Analyst Report',\n url: \"https://www.tibco.com/resources/analyst-report/ovum-decision-matrix-cloud-platforms-hybrid-integration-2019-2020\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'WHITEPAPER: 5 Emerging Use Cases for Cloud Integration ',\n subTitle: 'The popularity of integration platform as a service (iPaaS) started with business users looking to...',\n button: 'Whitepaper',\n url: \"https://www.tibco.com/resources/whitepaper/whitepaper-5-emerging-use-cases-cloud-integration\",\n iconClass: \"icon icon-resource-text-doc\"\n }\n ]\n },\n\n ebx: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO EBX™ Software ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO EBX™ Software resources curated just for you:',\n resourceText: 'TIBCO EBX™ Software Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=47501&search=',\n topResourcesData: [\n {\n title: 'Introducing TIBCO EBX',\n subTitle: 'Businesses, and business innovation, thrive when high-quality shared data assets—master data, reference data, business...',\n button: 'On-Demand Webinar',\n url: \"https://www.tibco.com/resources/demand-webinar/introducing-tibco-ebx\",\n iconClass: \"icon icon-resource-film\"\n },\n {\n title: 'TIBCO EBX',\n subTitle: 'As recognized leader in master data management (MDM), and a pioneer in data asset management...',\n button: 'Datasheet',\n url: \"https://www.tibco.com/resources/datasheet/tibco-ebx\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: '2019 Gartner Critical Capabilities for Master Data Management Solutions',\n subTitle: 'TIBCO EBX, formerly Orchestra Networks, scored highest in five of the six use cases covered',\n button: 'Analyst Report',\n url: \"https://www.tibco.com/resources/analyst-report/gartner-critical-capabilities-master-data-management-solutions\",\n iconClass: \"icon icon-resource-text-doc\"\n }\n ]\n },\n\n mashrey: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO Cloud™ Mashery® ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO Cloud™ Mashery® resources curated just for you:',\n resourceText: 'TIBCO Cloud™ Mashery® Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=47501&search=',\n topResourcesData: [\n {\n title: 'TIBCO Cloud™ Mashery® API Management Platform',\n subTitle: 'The cloud-native API platform you can deploy anywhere, and manage APIs from everywhere',\n button: 'Start 30-day free trial',\n url: 'https://account.cloud.tibco.com/signup/mashery',\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'The Definitive Success Guide for the API Product Manager',\n subTitle: 'Creating an API program that delights developers and grows digital business is a challenge. Today...',\n button: 'eBook Online',\n url: \"https://www.tibco.com/resources/ebook-online/definitive-success-guide-api-product-manager\",\n iconClass: \"icon icon-resource-browser--window\"\n },\n {\n title: 'Mashery API Management On-Demand Demo',\n subTitle: 'In this product demo, we walk through important functionality that you will typically implement over...',\n button: 'Product Demonstration Video',\n url: \"https://www.tibco.com/resources/product-demonstration-video/mashery-api-management-demand-demo\",\n iconClass: \"icon icon-resource-film\"\n }\n ]\n },\n\n }\n\n\n\n function generateContent(data) {\n var str = '';\n data.topResourcesData.forEach(function(cardData){\n //card string will go here \n var innerCont = '';\n \n str += innerCont;\n });\n\n return ''+ \n '
'+ \n '
'+ \n // ' '+ \n ' '+ \n // ' '+ \n '
'+ \n '
'+ \n '

Thank You!

'+ \n '

'+ data.preTitle +''+ data.title +''+ data.postTitle + \n '

'+ \n '
'+ \n '
'+ \n '

'+ data.subHeading +'

'+ \n '
'+ \n // '
'+ \n // ' '+ data.resourceText +''+ \n // '
'+ \n '
'+ str +\n '
'+ \n '
';\n };\n \n //set local storage with product selected on form submit at contact us page\n function runThis() {\n var productType = document.querySelector('#edit-field-product-').value;\n window.localStorage .setItem('productType', productType);\n }\n \n //initial function\n function init() {\n var url = window.location.pathname;\n //new HTML container\n var feEle = document.createElement('div');\n feEle.setAttribute('class', 'bmfeWrapper');\n\n if(url === '/contact-us') {\n FEHelper.live('input[type=\"submit\"]', 'click', runThis)\n \n }else if(url === '/contact-us/thank-you') {\n\n //if we are in thankyou page\n document.querySelector('body').classList.add('feThankyou');\n var personalizeType = window.localStorage.getItem('productType');\n if(personalizeType === 'EBX') {\n //show this\n\n feEle.innerHTML = generateContent(cardData.ebx);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else if(personalizeType === 'TIBCO Spotfire') {\n //show this\n feEle.innerHTML = generateContent(cardData.spotfire);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else if(personalizeType === 'TIBCO Cloud Integration') {\n //show this\n feEle.innerHTML = generateContent(cardData.tci);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else if(personalizeType === 'TIBCO Mashery') {\n //show this\n feEle.innerHTML = generateContent(cardData.mashrey);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else {\n document.querySelector('body').classList.remove('feThankyou');\n }\n //Thankyou page condition ends\n }\n }\n \n FEHelper.onLoadElement(\n 'body .lightBreadcrumb',\n init,\n 50,\n 10000\n );\n \n })();","lastChanged":"\"2020-03-06T07:15:22.459Z\"","selector":"body"}],"selector":"body"}]},"campaign":"5eaa64369a9e194046410be0","slug":"V67491312","sourceId":"V67491312","createdAt":"2020-04-30T05:37:59.059Z","updatedAt":"2020-04-30T05:42:18.988Z","id":"5eaa64379a9e194046410be3"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"TIBCO-44: [TY Contact us] 100% Personalization","pageTargets":[{"include":true,"url":"https://www.tibco.com/contact-us/thank-you","match":"simple"}],"persistentDecisions":true,"editorUrl":"https://www.tibco.com/contact-us/thank-you","source":"visual","sourceId":"C1413809","createdAt":"2020-02-28T10:21:22.608Z","updatedAt":"2020-04-30T05:42:18.957Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 17; // Desired Custom Dimension\n var campaignSlug = 'C6656113'; // Campaign ID taken from URL \n var predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-04-30T05:38:47.205Z"}]}]},"slug":"C1413809","status":"running","description":"Full-scaling the personalized version of the thank you page","runningFrom":"2020-04-30T05:42:18.891Z","id":"5eaa64369a9e194046410be0"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"5eaa655cc5a71582787e2d69","description":"","isArchived":true,"slug":"V127119657","sourceId":"V127119657","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-04-30T05:42:52.077Z","updatedAt":"2020-04-30T05:45:01.745Z","id":"5eaa655cc5a71582787e2d6b"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"P13ed Contact Us","campaignType":"visual","isBaselineVariation":false,"redirectCode":false,"customCSS":"html body.fe_tibco-45 #bannerText {\n display: none;\n}\n\nhtml body.fe_tibco-45 .gradientSmall {\n margin-bottom: 30px;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n hasClass: function(element, className) {\n return element.classList\n ? element.classList.contains(className)\n : new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n prepend: function(targetElement, prependElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('afterbegin', prependElement);\n }\n },\n };\n\n var feReferrer = '';\n var fePageData = {\n Spotfire: {\n h2: 'Thank you for your interest in TIBCO Spotfire®',\n p:\n 'Thousands of customers around the globe use TIBCO Spotfire® to empower everyone to integrate anything.',\n img:\n 'https://www.tibco.com/sites/tibco/files/styles/media_block_large/public/2018-11/benefit-screen_laptop-realtime_streaming_analytics.png?itok=n-EfmhE9',\n },\n TCI: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Integration',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Integration to empower everyone to integrate anything.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-tci.png',\n },\n EBX: {\n h2: 'Thank you for your interest in TIBCO EBX™ Software',\n p:\n 'Thousands of customers around the globe use TIBCO EBX™ Software to govern, manage, and consume all shared data assets.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-ebx.png',\n },\n Mashery: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Mashery®',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Mashery® to manage APIs from everywhere.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-mashery.png',\n },\n Jaspersoft: {\n h2: 'Thank you for your interest in TIBCO Jaspersoft®',\n p:\n 'Thousands of customers around the globe use TIBCO Jaspersoft® to design data visualizations exactly how they like. Down to the pixel.',\n img:\n 'https://www.jaspersoft.com/sites/jaspersoft/files/styles/optimize_only/public/2019-11/main-foreground.png?itok=zwPl4f8c',\n },\n };\n\n function init() {\n // console && console.log('>> init');\n // console && console.log('>> feReferrer: ' + feReferrer);\n FEHelper.addClass(document.body, 'fe_tibco-45');\n // Add sidebar image & message\n var feSidebarHTML =\n '' +\n '
' +\n ' \"\"' +\n \"

We're here to answer any questions regarding our products, pricing, services or any other information. \" +\n fePageData[feReferrer].p +\n '

' +\n '

Simply fill out the form or call ut at +1 866 240 0491

' +\n '
';\n FEHelper.prepend(\n document.querySelector('#main .columns.small-12.medium-5.large-4'),\n feSidebarHTML\n );\n\n FEHelper.onLoadElement(\n '.contact-form:not(.geotarget-lazyload) h2',\n function() {\n // Adjust form headline\n document.querySelector('.contact-form h2').innerHTML =\n fePageData[feReferrer].h2;\n // Auto select Product Interest\n switch (feReferrer) {\n case 'Spotfire':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Spotfire\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'TCI':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Cloud Integration\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'EBX':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"EBX\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'Mashery':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Mashery\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'Jaspersoft':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Jaspersoft\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n }\n },\n 50,\n 10000\n );\n }\n\n // Check document.referrer\n if (document.referrer != ''&& !document.referrer.includes('https://www.tibco.com/support/')) {\n if (document.referrer.indexOf('spotfire') != -1) {\n feReferrer = 'Spotfire';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/cloud-integration') != -1) {\n feReferrer = 'TCI';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (\n document.referrer.indexOf('/tibco-ebx-software') != -1 ||\n document.referrer.indexOf(\n '/product/47501/demo-videos?field_video_type_target_id=1306'\n ) != -1\n ) {\n feReferrer = 'EBX';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/api-management') != -1) {\n feReferrer = 'Mashery';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('jaspersoft') != -1) {\n feReferrer = 'Jaspersoft';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n }\n\n // Initialize if referrer match found on tibco contact-us page\n if (window.location.href.indexOf('https://www.tibco.com/contact-us') != -1) {\n if (feReferrer != '' || sessionStorage.getItem('feReferrer')) {\n // console && console.log('>> contact-us page');\n if (feReferrer == '') {\n feReferrer = sessionStorage.getItem('feReferrer');\n }\n FEHelper.onLoadElement('.contact-form h2', init, 50, 10000);\n }\n } else {\n // console && console.log('>> other pages');\n sessionStorage.removeItem('feReferrer');\n }\n})();","lastChanged":"\"2020-09-16T06:46:04.473Z\"","selector":"body"}],"selector":"body"}]},"isArchived":false,"campaign":"5eaa655cc5a71582787e2d69","slug":"V42627074","sourceId":"V42627074","createdAt":"2020-04-30T05:42:52.149Z","updatedAt":"2020-09-16T06:46:13.219Z","id":"5eaa655cc5a71582787e2d6c"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","persistentDecisions":true,"name":"TIBCO-45: [Contact us] 100% Personalization by product","description":"CD:15","pageTargets":[{"include":true,"url":"https://www.tibco.com/contact-us","match":"simple"}],"editorUrl":"https://www.tibco.com/contact-us","source":"visual","sourceId":"C1307408","createdAt":"2020-02-27T04:03:09.717Z","updatedAt":"2020-04-30T12:16:39.597Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 15; // Desired Custom Dimension\n var campaignSlug = 'C18889791'; // Campaign ID taken from URL \n var predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-04-30T06:34:01.998Z"}]}]},"slug":"C1307408","status":"running","runningFrom":"2020-04-30T05:45:01.656Z","id":"5eaa655cc5a71582787e2d69"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"5f0cabf695948bce0f86f026","description":"","isArchived":false,"slug":"V127119665","sourceId":"V127119665","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-07-13T18:46:14.081Z","updatedAt":"2020-07-14T14:41:33.367Z","id":"5f0cabf695948bce0f86f028"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"Manufacturing Variation 2","campaign":"5f0cabf695948bce0f86f026","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V8601336","sourceId":"V8601336","redirectCode":false,"createdAt":"2020-07-13T18:54:32.073Z","updatedAt":"2020-07-14T14:41:33.367Z","id":"5f0cade8d85af1960f917da6"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"Manufacturing Variation 3","campaign":"5f0cabf695948bce0f86f026","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V8601337","sourceId":"V8601337","redirectCode":false,"createdAt":"2020-07-13T18:55:05.019Z","updatedAt":"2020-07-14T14:41:33.368Z","id":"5f0cae09d85af1960f917da7"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"Manufacturing Variation 4","campaign":"5f0cabf695948bce0f86f026","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V86013371","sourceId":"V86013371","redirectCode":false,"createdAt":"2020-07-14T16:33:25.158Z","updatedAt":"2020-07-14T16:33:25.160Z","id":"5f0dde5543d66c7c06a36c70"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":"5f0f4b38d85af1960f917dab","holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"Personalization Test - Manufacturing","description":"Test campaign for SC + FE variations","pageTargets":[{"include":true,"url":"http://www-stg.tibco.com","match":"simple"},{"include":true,"url":"http://tibco.test","match":"simple"}],"editorUrl":"http://www-stg.tibco.com","persistentDecisions":true,"source":"visual","slug":"C70220681","sourceId":"C70220681","status":"running","isArchived":false,"createdAt":"2020-07-13T18:46:14.050Z","updatedAt":"2020-07-15T20:26:52.529Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"","lastChanged":"2020-07-15T18:31:28.066Z"}]}]},"runningFrom":"2020-07-14T14:41:33.330Z","id":"5f0cabf695948bce0f86f026"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"608bd028d6815a7b1fd6bda0","description":"","isArchived":true,"slug":"V1271196116","sourceId":"V1271196116","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-04-30T09:38:48.844Z","updatedAt":"2021-05-21T06:52:43.852Z","id":"608bd028d6815a7b1fd6bda2"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"v1","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"/* FORM FUNCTIONALITY STEP 1 */\nbody.fe-step1 form.contact-message-form > div#edit-field-product-interest-term-wrapper {\t\n width: 100%;\t\n margin: 0;\t\n}\t\nbody.fe-step1 form.contact-message-form > div:not(#edit-field-product-interest-term-wrapper) {\t\n display: none;\t\n}\t\nbody.fe-step2 form.contact-message-form #edit-field-product-interest-term-wrapper,\t\nbody.fe-interestStep form.contact-message-form #edit-field-product-interest-term-wrapper {\t\n display: none;\t\n}\nbody .fe-customer-carousel{\n opacity: 0;\n}\nbody.fe-step2 form.contact-message-form #edit-field-product-interest-term-wrapper,\nbody.fe-interestStep form.contact-message-form #edit-field-product-interest-term-wrapper {\n display: none;\n}\nbody.fe-step1 form.contact-message-form > p:not(.button) {\n display: none;\n}\n\n/* FORM FUNCTIONALITY STEP 2*/\nbody.fe-interestStep .fe-leftSec,\nbody.fe-step1 .fe-interestBased-sec,\nbody.fe-interestStep .contact-message-form h2,\nbody.fe-step2 .contact-message-form h2 {\n display: none;\n}\nbody.fe-step2 .fe-dummy-btn,\nbody.fe-interestStep .fe-dummy-btn {\n display: none;\n}\n\n/* SLIDER SETTINGS */\nhtml body .slick-slider .slick-list,\nhtml body .slick-slider .slick-track {\n height: 120px !important;\n}\nhtml body .slick-slide .logoTeaser img {\n padding: 10px !important;\n}\n.fe-customer-carousel.slick-slider,\n.fe-customer-images.slick-slider {\n margin-left: 25px !important;\n}\n.fe-customer-images:not(.slick-slider) > div {\n width: 130px;\n display: inline-block;\n margin-right: 20px;\n}\n.fe-customer-images:not(.slick-slider) > div img {\n width: 100%;\n}\n.fe-customer-images:not(.slick-slider) {\n margin-top: 25px;\n}\n.fe-customer-carousel .slick-prev:before,\n.fe-customer-images .slick-prev:before,\n.fe-customer-images .slick-next:before,\n.fe-customer-carousel .slick-next:before {\n color: #00a9d7;\n margin-top: -10px;\n}\n/* HIDING EXISTING CONTENT */\nhtml\n body\n .color-scheme-\n .full-width\n > .row\n > div:nth-child(2)\n > .field-wrapper {\n display: none;\n}\n.color-scheme- #bannerText,\n.full-width > .field-type-entity-reference-revisions {\n display: none;\n}\n@media screen and (min-width: 768px) {\n html body .color-scheme- .full-width > .row {\n flex-direction: row-reverse;\n display: flex;\n padding-right: 0px;\n max-width: 73em !important;\n }\n html body .color-scheme- .full-width > .row > div:nth-child(2) {\n width: 60% !important;\n padding-left: 44px;\n margin-top: -103px;\n background: #fff;\n padding: 20px 25px;\n }\n html body .color-scheme- .full-width > .row > div:nth-child(1) {\n width: 40% !important;\n position: relative;\n z-index: 2;\n }\n}\n@media screen and (min-width: 769px) {\n html body form .form-item-mail,\n html body form .field--type-list-string {\n width: 48%;\n margin-right: 2%;\n float: left;\n }\n html body form input[type=\"text\"],\n html body form input[type=\"date\"],\n html body form input[type=\"password\"],\n html body form input[type=\"email\"],\n html body form input[type=\"search\"],\n html body form input[type=\"number\"],\n html body form select,\n html body form textarea {\n margin: 0rem 0 1.5rem !important;\n }\n html body form .field--type-boolean {\n clear: both;\n }\n}\n\n@media screen and (max-width: 767px) {\n html body .color-scheme- .full-width > .row {\n flex-direction: column;\n display: flex;\n }\n html body .color-scheme- .full-width > .row > div {\n width: 100%;\n }\n}\nhtml body .IN-widget {\n display: block !important;\n}\nhtml body .color-scheme- form h2 + p {\n display: block;\n font-size: 18px;\n font-weight: 500;\n margin-bottom: 10px !important;\n font-family: \"Gotham A\",\"Gotham B\",Verdana,Geneva,sans-serif;\n}\n/* LEFT SECTION BULLETS */\n.fe-bullet-list > li {\n list-style-type: none;\n padding: 0;\n position: relative;\n padding-left: 30px;\n}\n.fe-leftSec > h5,\n.fe-interestBased-sec > h5 {\n font-weight: normal;\n margin-top: 30px;\n margin-bottom: 10px;\n}\n.fe-interestBased-sec > h5 {\n font-size: 20px;\n font-weight: 600;\n letter-spacing: 1px;\n}\n.fe-bullet-list {\n margin: 0;\n margin-top: 20px;\n}\n.fe-bullet-list > li::before {\n content: \"\";\n height: 25px;\n width: 25px;\n background: url(\"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/Tibco_tick.png\")\n no-repeat;\n background-size: contain;\n display: block;\n position: absolute;\n left: 0;\n}\n/*.fe-interestBased-sec .headline,\n.fe-leftSec .headline {\n font-size: 36px;\n}*/\nhtml body .color-scheme- .gradientSmall {\n margin-bottom: 54px;\n}\n.fe-interestBased-sec .subHeadline,\n.fe-leftSec .subHeadline {\n font-size: 24px;\n font-weight: normal;\n}\n.fe-interestBased-img {\n margin-top: 35px;\n}\n.contact-message-form h2 {\n margin-bottom: 18px !important;\n font-size: 18px;\n}\n.fe-dummy-btn.button {\n width: 170px;\n}\n/* BOTTOM STRIP */\n.fe-recognize-inr h5 {\n font-size: 1.5rem;\n margin-top: 2rem;\n}\n.fe-recognize-logo-section {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 32px 0px;\n}\n.fe-recognize-logo {\n width: 24%;\n}\n.fe-recognize-logo img {\n max-width: 80%;\n margin: 0 auto;\n vertical-align: bottom;\n}\n.fe-recognize-inr {\n max-width: 623px;\n position: relative;\n}\n.fe-recognize-section {\n padding: 10px 0px;\n position: relative;\n padding-left: 25px;\n margin-top: 50px;\n}\nimg.fe-reco-image {\n position: absolute;\n top: 0;\n left: 0;\n -o-object-fit: cover;\n object-fit: cover;\n font-family: \"object-fit: cover;\";\n z-index: 0;\n height: 100%;\n width: 100%;\n}\n#contact-message-contact-us-form-sales-form .IN-widget iframe {\n height: 52px !important;\n}\n\n.fe-steps {\n display: flex;\n justify-content: space-between;\n align-items: center;\n text-align: center;\n}\n\n.fe-steps p {\n width: 50%;\n margin: 0px;\n padding: 10px;\n background: #BEE9F5;\n cursor: pointer;\n font-weight: 600;\n font-size: 17px;\n}\n\n.fe-step1 .fe-steps > .fe-button-step2 {\n background: transparent;\n font-weight: normal;\n}\n.fe-step2 .fe-steps > .fe-button-step1,\n.fe-interestStep .fe-steps > .fe-button-step1 {\n background: transparent;\n font-weight: normal;\n}\n.slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{top:0;left:0}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function () {\n try {\n /*-----------------------\n section data \n -----------------------*/\n var FeHelper = this;\n //wait for element to load\n FeHelper.doWhenJqueryLoaded= function (todoWhenLoaded) {\n var waitForjQuery = setInterval(function () {\n if (typeof window.jQuery != 'undefined') {\n clearInterval(waitForjQuery);\n todoWhenLoaded();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(waitForjQuery);\n }, 10000);\n };\n FeHelper.doWhenElementLoaded = function (\n selector,\n trigger,\n delayInterval,\n delayTimeout\n ) {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n trigger();\n } else {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n }\n };\n FeHelper.doWhenSlickLoaded = function (todoWhenLoaded) {\n var waitForSlick = setInterval(function () {\n if (window.jQuery && window.jQuery.fn && window.jQuery.fn.slick) {\n clearInterval(waitForSlick);\n todoWhenLoaded();\n }\n }, 500);\n setTimeout(function () {\n clearInterval(waitForSlick);\n }, 10000);\n };\n FeHelper.pushEvent = function(eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n }\n }, 50);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 5000);\n };\n FeHelper.insertAfter = function (reference_selector, inserting_selector) {\n var reference_element = document.querySelector(reference_selector);\n var inserting_element = document.querySelector(inserting_selector);\n reference_element.parentNode.insertBefore(inserting_element, reference_element.nextSibling);\n }\n // pure live click\n FeHelper._on = function (event, selector, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent(\"on\" + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element &&\n (function (ElementPrototype) {\n ElementPrototype.matches =\n ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(\n selector\n ),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n })(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found,\n el = e.target || e.srcElement;\n while (\n el &&\n el.matches &&\n el !== context &&\n !(found = el.matches(selector))\n )\n el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n };\n\n FeHelper.genericCarouselContent = [\n {\n link: \"/customers/aeroporti-di-roma\",\n img: \"/sites/tibco/files/2017-10/customer-logo-adr.svg\",\n },\n {\n link: \"/customers/bayer-crop-sciences\",\n img: \"/sites/tibco/files/2020-04/bayer-logo.svg\",\n },\n {\n link: \"/customers/blendtec\",\n img: \"/sites/tibco/files/2018-12/customer-logo_blendtec.svg\",\n },\n {\n link: \"/customers/brembo\",\n img: \"/sites/tibco/files/2019-02/customer-brembo_0.svg\",\n },\n {\n link: \"/customers/cargosmart\",\n img: \"/sites/tibco/files/2016-12/customer-logo_cargosmart.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/campari-group.svg\",\n },\n {\n link: \"/customers/cerner\",\n img: \"/sites/tibco/files/2017-01/customer-logo-cerner.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/dbs.svg\",\n },\n {\n link: \"/customers/general-mills\",\n img: \"/sites/tibco/files/2017-01/customer-logo_general-mills-80.svg\",\n },\n {\n link: \"/customers/hunt-oil\",\n img: \"/sites/tibco/files/2020-01/hunt-oil.svg\",\n },\n {\n link: \"/customers/equifax\",\n img: \"/sites/tibco/files/2016-12/customer-logo_equifax.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/fannie-mae_0.svg\",\n },\n {\n link: \"/customers/goya-foods\",\n img: \"/sites/tibco/files/2019-09/customer-logo_goya.svg\",\n },\n {\n link: \"/customers/grupo-xcaret\",\n img: \"/sites/tibco/files/2019-09/customer-logo_grupo-xcaret.svg\",\n },\n {\n link: \"/customers/invitalia\",\n img: \"/sites/tibco/files/2020-02/invitalia-01.svg\",\n },\n {\n link: \"/customers/iron-mountain\",\n img: \"/sites/tibco/files/2019-06/customer-logo_iron-mountain.svg\",\n },\n {\n link: \"/customers/macys\",\n img: \"/sites/tibco/files/2016-12/customer-logo_macys.svg\",\n },\n {\n link: \"/customers/nasa\",\n img: \"/sites/tibco/files/2018-03/customer-logo_nasa.svg\",\n },\n {\n link: \"/customers/panera-bread\",\n img: \"/sites/tibco/files/2019-10/customer-logo_panera.svg\",\n },\n {\n link: \"/customers/rotten-tomatoes\",\n img: \"/sites/tibco/files/2018-10/fandango.svg\",\n },\n {\n link: \"/customers/save-children-uk\",\n img: \"/sites/tibco/files/2018-03/customer-logo_save-the-children.svg\",\n },\n {\n link: \"/customers/schlumberger\",\n img: \"/sites/tibco/files/2019-12/customer-logo_schlumberger.svg\",\n },\n {\n link: \"/customers/scottish-environment-protection-agency\",\n img: \"/sites/tibco/files/2019-07/customer-logo__SEPA.svg\",\n },\n {\n link: \"/customers/telkomsel\",\n img: \"/sites/tibco/files/2019-06/customer-logo_telkomsel.svg\",\n },\n {\n link: \"/customers/three-uk\",\n img: \"/sites/tibco/files/2017-01/customer-logo_three-uk_three-uk.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/ulta-beauty.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-04/united-logo.svg\",\n },\n {\n link: \"/customers/waste-management\",\n img: \"/sites/tibco/files/2019-04/website-logos-waste-management.svg\",\n },\n ];\n\n FeHelper.stepsContent = {\n \"TIBCO Mashery\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-ebx.png\",\n bullets: [\n \"Manage APIs For Insights and Business Acceleration\",\n \"Connect Any Architecture and Data\",\n \"Cloud-Native, Deploy Anywhere\",\n ],\n customerImg: [\n {\n link: \"/customers/argos\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-09/mashery-logos_argos.svg\",\n },\n {\n link: \"/customers/macys\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2016-12/customer-logo_macys.svg\",\n },\n {\n link: \"/customers/news-corp-australia\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-09/logo_news-corp.svg\",\n },\n {\n link: \"/customers/rotten-tomatoes\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-09/logo_rotten-tomatoes.svg\",\n },\n {\n link: \"/customers/telkomsel\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-06/customer-logo_telkomsel.svg\",\n },\n {\n link: \"/customers/caesars-entertainment\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-10/customer-logo_caesars.svg\",\n },\n {\n link: \"/customers/air-france-klm\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-01/customer-logo_airfrance.svg\",\n },\n {\n link: \"/customers/bnp-paribas\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-01/customer-logo_bnp-paribas_bnp-paribas_bnp-paribas.svg\",\n },\n {\n link: \"/customers/sportradar\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo_sportradar.svg\",\n },\n {\n link: \"/customers/athenahealth\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-09/mashery-logos_athenahealth.svg\",\n },\n {\n link: \"/customers/egnyte\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-02/egnyte_egnyte.svg\",\n },\n ],\n },\n \"TIBCO Spotfire\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/TIBCO_Spotfire_Analytics.png\",\n bullets: [\n \"Immersive Visual Analytics\",\n \"Custom Analytics Apps\",\n \"Real-time Streaming Analytics\",\n ],\n customerImg: [\n {\n link: \"#\",\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/customer-logo_jetblue.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/customer-logo_bank-of-montreal_bmo.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/customer-logo_f1-lockup.svg\",\n },\n ],\n },\n \"TIBCO Cloud Integration\": {\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/tci-main-img-1.png\",\n bullets: [\n \"Empower Everyone to Connect Anything\",\n \"Increase Business Agility with Accelerated Connectivity\",\n \"Respond Quickly to Continuous Disruption\",\n ],\n customerImg: [\n {\n link: \"/customers/caesars-entertainment\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-10/customer-logo_caesars.svg\",\n },\n {\n link: \"/customers/t-mobile-usa\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2018-03/customer-logo_tmobile.svg\",\n },\n {\n link: \"/customers/eagleview\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-09/customer-logo_eagleview.svg\",\n },\n {\n link: \"/customers/nasa\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2018-03/customer-logo_nasa.svg\",\n },\n {\n link: \"/customers/air-france-klm\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-01/customer-logo_airfrance.svg\",\n },\n ],\n },\n \"EBX\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-mashery.png\",\n bullets: [\n \"Govern, Manage and Consume All Shared Data Assets\",\n \"Streamline Operational Processes\",\n \"One Platform For All Users\",\n ],\n customerImg: [\n {\n link: \"#\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-10/customer-logo_panera.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-11/customer-logo_netspend.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-10/ontario-power.svg\",\n },\n ],\n },\n \"TIBCO Jaspersoft\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/Jaspersoft_in-product_screen.png\",\n bullets: [\n \"Embed reports & dashboards in your app. Perfectly.\",\n \"Flexible, customizable, and developer-friendly BI platform\",\n \"Manage reports & analytics with programmatic control\",\n ],\n customerImg: [\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_inquba_inquba.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_bigmate.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_iron-mountain.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_gichd.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_lufthansa-systems.svg\",\n },\n ],\n },\n \"TIBCO Statistica\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/stetica_in-product_screen.png\",\n bullets: [\n \"Enable data science for everyone\",\n \"Simplify complexity and speed innovation\",\n \"Operationalize machine learning pipelines\"\n ],\n customerImg: [\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo-adr.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2020-04/bayer-logo.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-02/customer-brembo_0.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2016-12/customer-logo_cargosmart.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-07/customer-logo__SEPA.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2018-12/customer-logo_anadarko.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo_uni-iowa.svg\",\n }\n ],\n },\n \"Other\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/TIBCO_Overview.png.png\",\n bullets: [\n \"Learn more about our solutions\",\n \"Schedule a demo\",\n \"Get pricing information\",\n ],\n customerImg: [\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-06/customer-logo_telkomsel.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2020-01/hunt-oil.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-09/customer-logo_goya.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2018-03/customer-logo_nasa.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo_adis.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-05/customer-logo_bank-of-montreal_bmo.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-01/desigual-logo.svg\",\n },\n ],\n }\n };\n\n // FeHelper.reOrderList = [\n // \"TIBCO Spotfire\",\n // \"TIBCO Cloud Integration\",\n // \"EBX\",\n // \"TIBCO Data Virtualization\",\n // \"TIBCO Statistica\",\n // \"TIBCO Jaspersoft\",\n // \"TIBCO Mashery\",\n // \"Flogo\",\n // \"TIBCO ActiveMatrix BPM\",\n // \"TIBCO BusinessConnect\",\n // \"TIBCO BusinessWorks\",\n // \"TIBCO Messaging\",\n // \"TIBCO Cloud Metadata\",\n // \"TIBCO StreamBase\",\n // \"TIBCO BPM Enterprise\",\n // \"TIBCO BusinessEvents\",\n // \"TIBCO LogLogic\",\n // \"TIBCO Cloud Live Apps\",\n // \"TIBCO Cloud Messaging\",\n // \"Other\"\n // ];\n\n FeHelper.reOrderList = [\n \"8231\",\n \"8181\",\n \"8201\",\n \"8196\",\n \"8236\",\n \"8206\",\n \"8216\",\n \"8156\",\n \"8161\",\n \"8166\",\n \"8176\",\n \"8221\",\n \"8226\",\n \"8241\",\n \"8171\",\n \"8211\",\n \"8186\",\n \"8191\",\n \"8246\"\n ];\n\n FeHelper.generateSlider = function (carouselObj) {\n var sliderHTML = \"\";\n for (var i = 0; i < carouselObj.length; i++) {\n sliderHTML +=\n \"\" +\n ' \";\n }\n return sliderHTML;\n };\n\n FeHelper.bottomStripHTML =\n \"\" +\n '
' +\n ' \"Analyst' +\n '
' +\n '
' +\n \"
Recognized in over 13 areas as a leader in Integration, Data Management and Analytics
\" +\n '
' +\n '
' +\n ' \"Gartner\"' +\n \"
\" +\n '
' +\n ' \"IDC\"' +\n \"
\" +\n '
' +\n ' \"Forrester\"' +\n \"
\" +\n '
' +\n ' \"Ovum\"' +\n \"
\" +\n \"
\" +\n \"
\" +\n \"
\" +\n \"
\";\n\n FeHelper.leftSection =\n \"\" +\n '
' +\n '

Get started with TIBCO

' +\n '

Let’s find the right solution for your business needs.

' +\n '
    ' +\n \"
  • Questions about our products
  • \" +\n \"
  • Explore use cases for your industry
  • \" +\n \"
  • Get pricing information
  • \" +\n \"
\" +\n \"
Since 1997 we have helped leaders in every industry unlock the potential of their data in extraordinary ways.
\" +\n '
' +\n FeHelper.generateSlider(FeHelper.genericCarouselContent) +\n \"
\" +\n \"
\";\n\n FeHelper.reOrderDropdown = function () {\n var selectBox = document.querySelector(\"form select#edit-field-product-interest-term\");\n var i = 0;\n while (i < reOrderList.length) {\n var option = selectBox.querySelector(\n 'option[value=\"' + reOrderList[i] + '\"]'\n );\n if (option != null) {\n document\n .querySelectorAll(\"form select#edit-field-product-interest-term option\")\n [i].insertAdjacentElement(\"afterend\", option);\n }\n i++;\n }\n };\n\n /* INITIALIZE SLIDER */\n FeHelper.initializeSlider = function (selector) {\n FeHelper.doWhenSlickLoaded(function () {\n //initiate slick slider\n window.jQuery(selector).slick({\n slidesToShow: 4,\n slidesToScroll: 4,\n responsive: [\n {\n breakpoint: 1024,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 600,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2,\n },\n },\n {\n breakpoint: 480,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n },\n },\n ],\n });\n document.querySelector('body .fe-customer-carousel').style.opacity=1;\n });\n };\n\n /* SHOW ERROR ON FIRST STEP */\n FeHelper.showError = function () {\n if (\n document.querySelector(\n \"form.contact-message-form #edit-field-product-interest-term-wrapper ul\"\n ) == null\n ) {\n document\n .querySelector(\"form.contact-message-form #edit-field-product-interest-term\")\n .insertAdjacentHTML(\n \"afterend\",\n '
  • This value is required.
'\n );\n }\n document\n .querySelector(\"form.contact-message-form #edit-field-product-interest-term\")\n .classList.add(\"parsley-error\");\n };\n\n /* REMOVE ERROR ON FIRST STEP */\n FeHelper.removeError = function () {\n var error = document.querySelector(\n \"form.contact-message-form #edit-field-product-interest-term + ul\"\n );\n if (error != null) {\n error.remove();\n }\n document\n .querySelector(\"form.contact-message-form #edit-field-product-interest-term\")\n .classList.remove(\"parsley-error\");\n };\n\n /* SHOW NEXT STEP */\n FeHelper.showNextStep = function () {\n var productInterest = document.querySelector(\n \"form select#edit-field-product-interest-term\"\n ).value;\n if (productInterest.length == 0) {\n FeHelper.showError();\n } else {\n FeHelper.removeError();\n /* ADD 2nd STEP CLASS */\n document.querySelector(\"body\").classList.remove(\"fe-step1\");\n /* FIRE EVENT FOR 2ND STEP */\n FeHelper.pushEvent('2nd step (full-form loads)');\n if (productInterest == \"8216\") {\n FeHelper.renderNextStep(\"TIBCO Mashery\");\n } else if (productInterest == \"8231\") {\n FeHelper.renderNextStep(\"TIBCO Spotfire\");\n } else if (productInterest == \"8181\") {\n FeHelper.renderNextStep(\"TIBCO Cloud Integration\");\n } else if (productInterest == \"8201\") {\n FeHelper.renderNextStep(\"EBX\");\n } else if (productInterest == \"8206\") {\n FeHelper.renderNextStep(\"TIBCO Jaspersoft\");\n } else if (productInterest == \"8236\") {\n FeHelper.renderNextStep(\"TIBCO Statistica\");\n } else {\n FeHelper.renderNextStep(\"Other\");\n document.querySelector(\"body\").classList.add(\"fe-step2\");\n }\n }\n };\n /* RENDER NEXT STEP */\n FeHelper.renderNextStep = function (productInterest) {\n document.querySelector(\"body\").classList.add(\"fe-interestStep\");\n var type = FeHelper.stepsContent[productInterest],\n bulletHTML = \"\",\n subHeadline;\n for (var i = 0; i < type.bullets.length; i++) {\n bulletHTML += \"
  • \" + type.bullets[i] + \"
  • \";\n }\n\n if(document.querySelector(\"form select#edit-field-product-interest-term\").value == '4246') {\n subHeadline = 'Thank you for your interest in
    TIBCO products and solutions';\n } else {\n subHeadline = 'Thank you for your interest in
    '+document.querySelectorAll(\"form select#edit-field-product-interest-term option\")[document.querySelector(\"form select#edit-field-product-interest-term\").selectedIndex].text+'';\n }\n\n var basedHTML =\n \"\" +\n '
    ' +\n '

    Talk with a product expert

    ' +\n '

    ' + subHeadline +\n \"

    \" +\n '
      ' +\n bulletHTML +\n \"
    \" +\n '
    ' +\n ' \"interest' +\n \"
    \" +\n \"
    Customers
    \" +\n '
    ' +\n FeHelper.generateSlider(type.customerImg) +\n \"
    \" +\n \"
    \";\n if(document.querySelector('.fe-interestBased-sec') != null) {\n document.querySelector('.fe-interestBased-sec').remove();\n }\n document\n .querySelector(\".fe-leftSec\")\n .insertAdjacentHTML(\"afterend\", basedHTML);\n if (document.querySelectorAll(\".fe-customer-images > div\").length > 3) {\n FeHelper.initializeSlider(\".fe-customer-images\");\n }\n };\n\n /*-----------------------\n init is the main controller\n --------------------*/\n\n FeHelper.firePersonalizedEvent = function() {\n var selectBox = document.querySelector('body form.contact-message-form select#edit-field-product-interest-term');\n selectBox.addEventListener('change', function() {\n var val = this.value;\n switch(val) {\n case 'TIBCO Mashery':\n FeHelper.pushEvent('TIBCO-83-Interest-Mashery');\n break;\n case 'TIBCO Spotfire':\n FeHelper.pushEvent('TIBCO-83-Interest-Spotfire');\n break;\n case 'TIBCO Cloud Integration':\n FeHelper.pushEvent('TIBCO-83-Interest-Cloud Integration');\n break;\n case 'EBX':\n FeHelper.pushEvent('TIBCO-83-Interest-EBX');\n break;\n case 'TIBCO Jaspersoft':\n FeHelper.pushEvent('TIBCO-83-Interest-Jaspersoft');\n break;\n case 'TIBCO Statistica':\n FeHelper.pushEvent('TIBCO-83-Interest-Statistica');\n break;\n default:\n FeHelper.pushEvent('TIBCO-83-Interest-Other(All other clicks from the product list)');\n }\n })\n }\n\n FeHelper.init = function () {\n setTimeout(function () {\n /* SHOW FORM */\n document.querySelector(\n \"#contact-message-contact-us-form-sales-form\"\n ).style.opacity = 1;\n FeHelper.reOrderDropdown();\n document.querySelector(\"body\").classList.add(\"fe-step1\");\n /* CHANGE STEP 1 FORM TEXT */\n document.querySelector(\".contact-message-form h2\").innerText =\n \"Which product are you interested in?\";\n document\n .querySelector(\"form.contact-message-form\")\n .insertAdjacentHTML(\n \"beforeend\",\n '

    Next

    '\n );\n document\n .querySelector(\"form select#edit-field-product-interest-term\")\n .addEventListener(\"focus\", function () {\n FeHelper.removeError();\n });\n document\n .querySelector(\".fe-dummy-btn\")\n .addEventListener(\"click\", function () {\n FeHelper.showNextStep();\n });\n //add steps\n var steps='

    Step 1

    Step 2

    ' ;\n document.querySelector('div.field-name-field-p-marketo-form').insertAdjacentHTML(\n \"beforebegin\",steps);\n FeHelper._on('click','.fe-steps .fe-button-step2',function(){\n document.querySelector('.fe-dummy-btn.button').click();\n });\n FeHelper._on('click','.fe-steps .fe-button-step1',function(){\n document.querySelector(\"body\").classList.remove(\"fe-step2\");\n document.querySelector(\"body\").classList.add(\"fe-step1\");\n document.querySelector(\"body\").classList.remove(\"fe-interestStep\");\n \n });\n /* FIRE PERSONALIZED EVENT */\n FeHelper.firePersonalizedEvent();\n }, 500);\n };\n FeHelper.moveFormField = function () {\n //move from fields\n setTimeout(function () {\n FeHelper.insertAfter('.field--name-field-phone-number', '.field--name-field-country-taxref');\n }, 2000);\n \n }\n FeHelper.addLeftSection = function () {\n document\n .querySelector(\n \"body .color-scheme- .full-width > .row > div:nth-child(2)\"\n )\n .insertAdjacentHTML(\"afterbegin\", FeHelper.leftSection);\n FeHelper.initializeSlider(\".fe-customer-carousel\");\n document\n .querySelector(\"body #siteFooter\")\n .insertAdjacentHTML(\"beforebegin\", FeHelper.bottomStripHTML);\n };\n\n FeHelper.doWhenElementLoaded(\n \"body form.contact-message-form:not(.geotarget-lazyload) select#edit-field-product-interest-term\",\n FeHelper.init,\n 50,\n 30000\n );\n FeHelper.doWhenElementLoaded(\n \"body .color-scheme- .full-width > .row > div:nth-child(2)\",\n FeHelper.addLeftSection,\n 50,\n 15000\n );\n FeHelper.doWhenElementLoaded('.field--name-field-phone-number', FeHelper.moveFormField);\n \n /* FORM FLASHING */\n FeHelper.doWhenElementLoaded(\n \"#contact-message-contact-us-form-sales-form\",\n function () {\n document.querySelector(\n \"#contact-message-contact-us-form-sales-form\"\n ).style.opacity = 0;\n setTimeout(function () {\n document.querySelector(\n \"#contact-message-contact-us-form-sales-form\"\n ).style.opacity = 1;\n }, 15000);\n },\n 50,\n 15000\n );\n function addScript() {\n // var bmScript = document.createElement('script');\n // bmScript.src =\n // 'https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js';\n // document.getElementsByTagName('head')[0].appendChild(bmScript);\n !function(a){\"use strict\";\"function\"==typeof define&&define.amd?define([\"jquery\"],a):\"undefined\"!=typeof exports?module.exports=a(require(\"jquery\")):a(jQuery)}(function(a){\"use strict\";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:\"50px\",cssEase:\"ease\",customPaging:function(b,c){return a('',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:\"50px\",cssEase:\"ease\",customPaging:function(b,c){return a('