window.FuseDeckOptions = {"host":{"hostname":"www.ubs.com","domain":"ubs.com"}};
/*!
 * Copyright Capture Media AG
 * 
 * All information contained herein is, and remains
 * the property of Capture Media AG. The intellectual and technical
 * concepts contained herein are proprietary to Capture Media AG
 * and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Capture Media AG.
 * 
 */!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=40)}([function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.SERVER_SIDE_VARIABLE_OPERATION=t.MESSAGE_TYPE=t.FLAG_FREQUENCY=t.PROPERTY_FLAG_TYPE=t.ENVIRONMENT_MODE=t.TRACKING_CONFIG=t.TRACKING_TYPE=t.DOM_TRIGGERS_TYPES=t.TRIGGER_TYPES=t.VARIABLE_OPERATION_TYPE=t.ACTION_VALUE_TYPE=t.ACTION_TYPE=t.SCOPE=t.USER_STATUS=t.CORE_EVENT=t.DATE=t.NODE_TYPE=t.VIDEO_TYPE=t.VAR_TYPE=t.TYPE=void 0,function(e){e.string="string",e.number="number",e.boolean="boolean",e.object="object",e.function="function",e[void 0]="undefined"}(t.TYPE||(t.TYPE={})),function(e){e.js="js",e.env="env",e.cookie="cookie",e.dom="dom",e.dataLayer="data_layer",e.dataLayerPush="data_layer_push",e.localStorage="local_storage",e.sessionStorage="session_storage",e.session="session",e.serverSide="server_side"}(t.VAR_TYPE||(t.VAR_TYPE={})),function(e){e.html5="html5",e.youtube="youtube",e.vimeo="vimeo"}(t.VIDEO_TYPE||(t.VIDEO_TYPE={})),function(e){e.iframe="IFRAME",e.div="DIV"}(t.NODE_TYPE||(t.NODE_TYPE={})),function(e){e[e.minute=6e4]="minute",e[e.hour=36e5]="hour",e[e.day=864e5]="day",e[e.year=31536e6]="year"}(t.DATE||(t.DATE={})),function(e){e.fuseDeckAnalyticsReady="fd_js",e.documentReady="fd_dom",e.windowLoad="fd_load",e.windowBeforeUnload="fd_unload",e.domManipulation="fd_dom_update",e.userStatusChange="fd_status_update",e.historyChange="fd_history_change",e.hashChange="fd_hash_change",e.pageView="fd_page_view",e.youtubeApiReady="fd_youtube_api_ready",e.dataLayerPush="fd_datalayer_push",e.pageViewChange="fd_page_view_change"}(t.CORE_EVENT||(t.CORE_EVENT={})),function(e){e.active="active",e.idle="idle",e.inactive="inactive",e.any="any"}(t.USER_STATUS||(t.USER_STATUS={})),function(e){e.always="always",e.pageView="page_view",e.session="session"}(t.SCOPE||(t.SCOPE={})),function(e){e.analytics="analytics",e.pixel="pixel",e.js="js",e.html="html",e.htmlTemplate="html_template",e.modifyVariables="modify_variables",e.event="event",e.plugin="plugin"}(t.ACTION_TYPE||(t.ACTION_TYPE={})),function(e){e.trigger="trigger",e.last_trigger_name="last_trigger_name",e.variable="variable",e.custom="custom"}(t.ACTION_VALUE_TYPE||(t.ACTION_VALUE_TYPE={})),function(e){e.IncrementBy="increment_by",e.DecrementBy="decrement_by",e.Delete="delete",e.Set="set"}(t.VARIABLE_OPERATION_TYPE||(t.VARIABLE_OPERATION_TYPE={})),function(e){e.init="init",e.pageView="page_view",e.error="error",e.click="click",e.visibility="visibility",e.scrollDepth="scroll_depth",e.timer="timer",e.formSubmit="form_submit",e.dataLayer="data_layer",e.dataLayerPush="data_layer_push",e.video="video",e.domEvent="dom_event",e.hover="hover",e.event="event",e.plugin="plugin"}(r=t.TRIGGER_TYPES||(t.TRIGGER_TYPES={}));var i=[r.click,r.visibility,r.formSubmit,r.video,r.domEvent,r.hover];t.DOM_TRIGGERS_TYPES=i,function(e){e[e.NoTracking=0]="NoTracking",e[e.PageViewOnly=10]="PageViewOnly",e[e.ServerSideSession=20]="ServerSideSession",e[e.ServerSideUser=25]="ServerSideUser",e[e.FullCookie=30]="FullCookie"}(t.TRACKING_TYPE||(t.TRACKING_TYPE={})),function(e){e.CampaignOnly="campaign_only",e.CampaignThirdParty="campaign_third_party",e.OrganicOnly="organic_only",e.NoTracking="no_tracking"}(t.TRACKING_CONFIG||(t.TRACKING_CONFIG={})),function(e){e.Production="production",e.Development="dev",e.Test="test",e.UnitTest="unit_test"}(t.ENVIRONMENT_MODE||(t.ENVIRONMENT_MODE={})),function(e){e.Block="block",e.PageView="flag_page_view",e.Session="flag_session"}(t.PROPERTY_FLAG_TYPE||(t.PROPERTY_FLAG_TYPE={})),function(e){e.PageView="page_view",e.Session="session"}(t.FLAG_FREQUENCY||(t.FLAG_FREQUENCY={})),function(e){e.User="user",e.Session="session",e.PageView="page-view",e.Event="event",e.SessionState="session-state",e.SessionExpire="session-expire",e.Variable="variable",e.Heartbeat="heartbeat"}(t.MESSAGE_TYPE||(t.MESSAGE_TYPE={})),function(e){e.Set="set",e.Delete="delete"}(t.SERVER_SIDE_VARIABLE_OPERATION||(t.SERVER_SIDE_VARIABLE_OPERATION={}))},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Debug=void 0;var i=r(n(50)),o=n(0),s=function(){function e(e){void 0===e&&(e=""),this.debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},"production"!==o.ENVIRONMENT_MODE.Production&&"production"!==o.ENVIRONMENT_MODE.UnitTest&&(i.default.enable("*"),this.debug=i.default(e))}return e.prototype.setType=function(e){"production"!==o.ENVIRONMENT_MODE.Production&&"production"!==o.ENVIRONMENT_MODE.UnitTest&&(this.debug=i.default(e))},e.prototype.log=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.debug(e,t)},e}();t.Debug=s},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(s,a)}c((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},s=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.isNonEmptyObject=t.cleanValue=t.getStyle=t.getTimestampOffset=t.getElementAttributes=t.appendDom=t.mergeDeep=t.isObject=t.getFiniteOfPercentage=t.clamp=t.isNumeric=t.isNumericType=t.deleteObjectProperty=t.setObjectProperty=t.getObjectProperty=t.stringToNumber=t.uuidv4=void 0;var u=n(0),l=c(n(54)),p=c(n(93));function h(e,t,n){return Math.min(Math.max(e,t),n)}function f(e){return e&&"object"==typeof e&&!Array.isArray(e)}t.uuidv4=function(){var e=window.crypto||window.msCrypto;return e&&void 0!==e.getRandomValues?([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(t){return(t^e.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},t.stringToNumber=function(e){var t=0;return e.split("").forEach(function(e){t+=e.charCodeAt(0)}),t},t.getObjectProperty=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=!0);try{var i=l.default(e,t);return r&&typeof i===u.TYPE.undefined?n:i}catch(e){return r?n:void 0}},t.setObjectProperty=function(e,t,n){p.default(e,t,n)},t.deleteObjectProperty=function(e,t){p.default(e,t,void 0)},t.isNumericType=function(e){return"string"!=typeof e&&!isNaN(e)},t.isNumeric=function(e){return!isNaN(e)},t.clamp=h,t.getFiniteOfPercentage=function(e,t){return e/100*h(t,0,100)},t.isObject=f,t.mergeDeep=function e(t){for(var n,r,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];if(!i.length)return t;var a=i.shift();if(f(t)&&f(a)){var c=Object.keys(a);for(var u in c)if(c.hasOwnProperty(u)){var l=c[u];f(a[l])?(t[l]||Object.assign(t,((n={})[l]={},n)),e(t[l],a[l])):Object.assign(t,((r={})[l]=a[l],r))}}return e.apply(void 0,s([t],i))},t.appendDom=function e(t,n,o){return void 0===o&&(o=!1),r(this,void 0,void 0,function(){var r,s,c,u,l,p;return i(this,function(i){switch(i.label){case 0:t=t.firstChild,i.label=1;case 1:if(!t)return[3,9];switch(t.nodeType){case 1:return[3,2];case 3:return[3,7]}return[3,8];case 2:r=document.createElement(t.tagName);try{for(l=void 0,s=a(t.attributes),c=s.next();!c.done;c=s.next())u=c.value,r.setAttribute(u.name,u.value)}catch(e){l={error:e}}finally{try{c&&!c.done&&(p=s.return)&&p.call(s)}finally{if(l)throw l.error}}return"SCRIPT"===t.tagName.toUpperCase()&&o&&r.src?[4,function(e,t){return new Promise(function(n,r){e.onload=function(){n()},e.onerror=function(){r("cannot load script")},t.appendChild(e)})}(r,n)]:[3,4];case 3:return i.sent(),[3,5];case 4:n.appendChild(r),i.label=5;case 5:return[4,e(t,r,o)];case 6:return i.sent(),[3,8];case 7:return n.appendChild(document.createTextNode(t.textContent)),[3,8];case 8:return t=t.nextSibling,[3,1];case 9:return[2]}})})},t.getElementAttributes=function(e){var t,n,r={};try{for(var i=a(e.attributes),o=i.next();!o.done;o=i.next()){var s=o.value;r[s.name]=s.value}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},t.getTimestampOffset=function(e){var t=(new Date).getTime()-e;return t<0&&(t=0),t},t.getStyle=function(e,t){return e&&"undefined"!=typeof getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):null},t.cleanValue=function(e){return typeof e===u.TYPE.string?e.replace(/^\s+|\s+$/gm,""):e},t.isNonEmptyObject=function(e){return e&&"object"==typeof e&&Object.keys(e).length>0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractVariable=void 0;var r=n(2),i=function(){function e(e,t){this.property=e,this.config=t}return e.prototype.setValue=function(e){JSON.stringify(e)!==this.previousValue&&this.sendStatsMessages()},e.prototype.deleteValue=function(){this.sendStatsMessages()},e.prototype.decrementBy=function(e){var t=this.getValue()||0;r.isNumeric(t)&&r.isNumeric(e)&&(t=+t,e=+e,this.setValue(t-e))},e.prototype.incrementBy=function(e){var t=this.getValue()||0;r.isNumeric(t)&&r.isNumeric(e)&&(t=+t,e=+e,this.setValue(t+e))},e.prototype.isArray=function(){var e=this.getValue();return!!e&&Array.isArray(e)},e.prototype.initValue=function(e){},e.prototype.getKey=function(){return this.config.key},e.prototype.getUniqueKey=function(){return this.config.uniqueKey},e.prototype.sendStatsMessages=function(){var e,t,n,r=this.property.getConfig();this.isVariableInStatsValues(null===(e=r.user)||void 0===e?void 0:e.variables)&&this.property.getSession().sendUser(!1),this.isVariableInStatsValues(null===(t=r.session)||void 0===t?void 0:t.variables)&&this.property.getSession().send(),this.isVariableInStatsValues(null===(n=r.pageView)||void 0===n?void 0:n.variables)&&this.property.getPageView().send()},e.prototype.isVariableInStatsValues=function(e){if(!e)return!1;for(var t in e)if(e.hasOwnProperty(t)&&e[t]===this.config.id)return!0;return!1},e}();t.AbstractVariable=i},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.pushDataLayer=t.loadEvents=t.fireEvent=t.fireTrigger=t.addToEnv=t.Actions=void 0,function(e){e.addToEnv="[ENV] Add",e.fireTrigger="[PROP] Fire Trigger",e.loadTriggers="[PROP] Load Triggers",e.fireEvent="[PROP] Fire Event",e.loadEvents="[PROP] Load Events",e.pushDataLayer="[DATALAYER] push"}(r=t.Actions||(t.Actions={})),t.addToEnv=function(e){return{type:r.addToEnv,data:e}},t.fireTrigger=function(e){return{type:r.fireTrigger,payload:i(i({},e),{timestamp:(new Date).getTime()})}},t.fireEvent=function(e){return{type:r.fireEvent,payload:e}},t.loadEvents=function(e){return{type:r.loadEvents,payload:e}},t.pushDataLayer=function(e){return{type:r.pushDataLayer,payload:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectorUnique=void 0;var r=n(120);Object.defineProperty(t,"fullPath",{enumerable:!0,get:function(){return r.domElementPath}}),t.isSelectorUnique=function(e){if(e.includes(","))return!1;try{return 1===document.querySelectorAll(e).length}catch(e){}return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(e){this.running=!1,this.time=0,this.startCallbacks=[],this.stopCallbacks=[],this.valueCallbacks=[],e&&typeof e===r.TYPE.number&&e>0&&(this.time=e)}return e.prototype.start=function(){var e=this;if(!this.isRunning())return this.zero||(this.zero=window.performance.now()-this.getTime()),this.running=!0,this.startCallbacks.forEach(function(t){typeof t===r.TYPE.function&&t.call(window,e)}),this.valueCallbackCheckIntervalFunc=setInterval(function(){var t=e.getTime();e.valueCallbacks.forEach(function(n){t>=n.value&&!n.executed&&(n.callback.call(window,e),n.executed=!0)})},100),this},e.prototype.stop=function(){var e=this;this.isRunning()&&(this.time=Math.floor(window.performance.now()-this.zero),this.zero=null,this.running=!1,clearInterval(this.valueCallbackCheckIntervalFunc),this.stopCallbacks.forEach(function(t){typeof t===r.TYPE.function&&t.call(window,e.getTime())}))},e.prototype.toggle=function(e){e?this.start():this.stop()},e.prototype.reset=function(e){return void 0===e&&(e=0),this.zero=window.performance.now(),this.time=e,this.valueCallbacks.forEach(function(e){e.executed=!1}),this},e.prototype.getTime=function(){return(this.zero||this.isRunning())&&this.isRunning()?this.time=Math.floor(window.performance.now()-this.zero):this.time},e.prototype.isRunning=function(){return this.running},e.prototype.onStart=function(e){typeof e===r.TYPE.function&&this.startCallbacks.push(e)},e.prototype.onStop=function(e){typeof e===r.TYPE.function&&this.stopCallbacks.push(e)},e.prototype.onValue=function(e,t){typeof t===r.TYPE.function&&this.valueCallbacks.push({value:e,callback:t,executed:!1})},e.prototype.toString=function(){return this.getTime()},e.prototype.toJSON=function(){return this.getTime()},e}();t.default=i,function(){if(!window.performance||!window.performance.now)if(window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&window.performance.mark&&window.performance.clearMarks&&window.performance.getEntriesByName)window.performance.now=function(){return window.performance.clearMarks("__PERFORMANCE_NOW__"),window.performance.mark("__PERFORMANCE_NOW__"),window.performance.getEntriesByName("__PERFORMANCE_NOW__")[0].startTime};else{window.performance=window.performance||{};var e=(new Date).valueOf();window.performance.now=function(){return(new Date).valueOf()-e}}}()},function(e,t,n){var r=n(15)(Object,"create");e.exports=r},function(e,t,n){var r=n(24);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(86);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertVariableValue=t.assertTriggerFired=t.assert=void 0;new(n(1).Debug)("Assert");function r(e){return"string"!=typeof e?e:!!e.trim().match(/^true$/i)||!e.trim().match(/^false$/i)&&e}t.assert={eq:function(e,t){return r(e)==r(t)},ne:function(e,t){return r(e)!=r(t)},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},empty:function(e){return null===e||void 0===e||""===e},not_empty:function(e){return null!==e&&void 0!==e&&""!==e},contains:function(e,t){return String(e).toLowerCase().indexOf(String(t).toLowerCase())>-1},begins_with:function(e,t){return String(e).toLowerCase().startsWith(String(t).toLowerCase())},ends_with:function(e,t){return String(e).toLowerCase().endsWith(String(t).toLowerCase())},not_contains:function(e,t){return-1===String(e).toLowerCase().indexOf(String(t).toLowerCase())},matches:function(e,t){var n=i(t);return null!==n&&n.test(e)},not_matches:function(e,t){var n=i(t);return null!==n&&!n.test(e)},by_operator:function(e,t,n){return!!this.hasOwnProperty(e)&&this[e](t,n)}};var i=function(e){var t,n=e;if(!n)return null;"/"===n[0]&&(n=n.substr(1));var r=n.match(/\/\w+$/);r?(t=r[0],n=n.replace(t,""),t=t.substr(1)):(r=n.match(/\/$/))&&(n=n.substr(0,r.index));try{return new RegExp(n,t||void 0)}catch(e){return null}};t.assertTriggerFired=function(e){return function(t){return e.hasOwnProperty(t)}},t.assertVariableValue=function(e){return function(t){var n=e.getVariable(t),r=null;return n&&(r=n.getValue()),r}}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(23),i=n(60),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(14).Symbol;e.exports=r},function(e,t,n){var r=n(57),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){var r=n(68),i=n(73);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DomEventTriggerPlugin=void 0;var r=n(1),i=n(2),o=n(5),s=(new r.Debug("DOM Event Trigger"),function(){function e(){this.initialized=!1}return e.prototype.initialize=function(e,t,n){if(this.initialized||(this.domEvent||(this.domEvent=n.options.dom_event),this.listener=function(e){var r=e.currentTarget,s={id:n.id,payload:{name:n.name,element_id:r.id||null,element_class:r.className||null,element_text:r.innerText||null,element_html:r.innerHTML||null,element_path:o.fullPath(r),element_attributes:i.getElementAttributes(r)}};t.fireTrigger(n,s)}),this.domEvent){for(var r=t.querySelectorService.querySelectorAll(n.options.selector),s=0;s<r.length;s++){var a=r[s];a&&(a.removeEventListener(this.domEvent,this.listener),a.addEventListener(this.domEvent,this.listener))}this.initialized=!0}},e}());t.DomEventTriggerPlugin=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractVideoTrigger=void 0;var r=n(1),i=n(2),o=(new r.Debug("Abstract Video Trigger"),function(){function e(){this.PERCENTAGE=1,this.NUMERIC=0,this.playCallbacks=[],this.pauseCallbacks=[],this.endedCallbacks=[],this.timeUpdateCallbacks=[],this.durationReachedCallbacks=[],this.playing=!1,this.duration=0,this.currentTime=0}return e.prototype.onPlay=function(e){this.playCallbacks.push(e)},e.prototype.onPause=function(e){this.pauseCallbacks.push(e)},e.prototype.onEnded=function(e){this.endedCallbacks.push(e)},e.prototype.onTimeUpdate=function(e){this.timeUpdateCallbacks.push(e)},e.prototype.onValue=function(e,t){var n,r;if(i.isNumericType(e)){n=this.NUMERIC,r=o=e}else{var o;if((o=e).indexOf("%")>-1){if(n=this.PERCENTAGE,""===(o=o.substr(0,o.indexOf("%"))))return}else n=this.NUMERIC;r=+o}isNaN(r)||this.durationReachedCallbacks.push({value:r,type:n,callback:t})},e.prototype.isPlaying=function(){return this.playing},e.prototype.getProgressPercent=function(){return this.duration?i.clamp(100/this.duration*this.currentTime,0,100):0},e.prototype.play=function(){this.playing=!0,this.playCallbacks.forEach(function(e){return e()})},e.prototype.pause=function(){this.playing=!1,this.pauseCallbacks.forEach(function(e){return e()})},e.prototype.timeUpdate=function(e,t){var n=this;this.currentTime=e,this.duration=t,this.timeUpdateCallbacks.forEach(function(e){return e(n.currentTime)}),this.durationReachedCallbacks=this.durationReachedCallbacks.filter(function(e){var r=0,o=1e3*n.currentTime,s=n.getProgressPercent();return e.type===n.PERCENTAGE?(r=i.getFiniteOfPercentage(t,e.value),s=e.value):(r=e.value/1e3,o=e.value),r>n.duration&&(r=n.duration),!(n.currentTime>=r)||(e.callback(o,s),!1)})},e.prototype.ended=function(){this.playing=!1,this.endedCallbacks.forEach(function(e){return e()})},e.prototype.getCurrentTimeMs=function(){return 1e3*this.currentTime},e}());t.AbstractVideoTrigger=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=t.Store=void 0;var r=function(){function e(e){this.devtools=null,this.state={},this.listeners=[],this.reducers=[],this.state=e||{}}return e.prototype.registerReducers=function(e){var t=this;e.forEach(function(e){t.registerReducer(e)})},e.prototype.registerReducer=function(e){this.reducers.push(e)},e.prototype.getState=function(){return this.state},e.prototype.dispatch=function(e){for(var t in this.executeReducers(e),this.listeners)this.listeners.hasOwnProperty(t)&&this.listeners[t](this.state,e)},e.prototype.subscribe=function(e){var t=this;return this.listeners.push(e),function(){t.unsubscribe(e)}},e.prototype.unsubscribe=function(e){for(var t in this.listeners)this.listeners.hasOwnProperty(t)&&this.listeners[t]===e&&this.listeners.splice(parseInt(t,10),1)},e.prototype.executeReducers=function(e){var t=this;this.reducers.forEach(function(n){t.state=n(t.state,e)})},e}();t.Store=r,t.createStore=function(e){return new r(e)}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.dataLayer=t.property=t.environment=void 0;var i=n(4),o=n(2),s={env:{}};t.environment=function(e,t){var n,a;switch(void 0===e&&(e=s),t.type){case i.Actions.addToEnv:var c=r(r({},e),{env:r({},o.mergeDeep(e.env||{},t.data))});return(null===(n=null===t||void 0===t?void 0:t.data)||void 0===n?void 0:n.hasOwnProperty("location"))&&(c.env.location=t.data.location),(null===(a=null===t||void 0===t?void 0:t.data)||void 0===a?void 0:a.hasOwnProperty("referer"))&&(c.env.referer=t.data.referer),c;default:return e}};var a={triggers:{},events:{},lastTrigger:0};t.property=function(e,t){var n,o;switch(void 0===e&&(e=a),t.type){case i.Actions.fireTrigger:return r(r({},e),{lastTrigger:t.payload.id,triggers:r(r({},e.triggers),(n={},n[t.payload.id]=t.payload,n))});case i.Actions.loadTriggers:var s=Object.keys(t.payload);return r(r({},e),{lastTrigger:s.find(function(){return!0}),triggers:r(r({},e.triggers),t.payload)});case i.Actions.fireEvent:return r(r({},e),{events:r(r({},e.events),(o={},o[t.payload.id]=t.payload,o))});case i.Actions.loadEvents:return r(r({},e),{events:r(r({},e.events),t.payload)});default:return e}},t.dataLayer=function(e,t){switch(void 0===e&&(e={}),t.type){case i.Actions.pushDataLayer:return o.mergeDeep(e,t.payload);default:return e}}},function(e,t,n){var r=n(11),i=n(56),o=n(61),s=n(90);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(s(e))}},function(e,t,n){var r=n(13),i=n(58),o=n(59),s="[object Null]",a="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?a:s:c&&c in Object(e)?i(e):o(e)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(12),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.storeDevTools=void 0,t.storeDevTools=function(e,t){try{var n=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__,r=!1;return n?(e.devtools||(e.devtools=n.connect({name:t}),e.devtools.subscribe(function(t){"DISPATCH"===t.type&&t.state&&(r="JUMP_TO_ACTION"===t.payload.type||"JUMP_TO_STATE"===t.payload.type,e.state=JSON.parse(t.state))}),e.devtools.init(e.getState()),e.subscribe(function(t,n){var i=n&&n.type||"init";r?r=!1:e.devtools.send(i,t)})),e):e}catch(t){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractTransport=void 0;var r=function(){function e(e){this.config=e}return e.prototype.onError=function(e){this.errorCallback=e},e.prototype.onSuccess=function(e){this.successCallback=e},e.prototype.connectionError=function(){this.errorCallback.call(window,this.config)},e.prototype.connectionSuccess=function(){this.successCallback.call(window,this.config)},e}();t.AbstractTransport=r},function(e,t,n){var r,i;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */!function(o){if(void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i),!0,e.exports=o(),!!0){var s=window.Cookies,a=window.Cookies=o();a.noConflict=function(){return window.Cookies=s,a}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},i.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var s=JSON.stringify(n);/^[\{\[]/.test(s)&&(n=s)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var c in o)o[c]&&(a+="; "+c,!0!==o[c]&&(a+="="+o[c].split(";")[0]));return document.cookie=t+"="+n+a}}function s(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],s=0;s<o.length;s++){var a=o[s].split("="),c=a.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=t(a[0]);if(c=(r.read||r)(c,u)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(i[u]=c,e===u)break}catch(e){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return s(e,!1)},i.getJSON=function(e){return s(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}(function(){})})},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractBrowserStorageVariable=void 0;var i=n(3),o=n(0),s=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getStorage=function(){return null},t.prototype.getValue=function(){var e=this.getValueFromStorage();return this.config.param&&(e=s.getObjectProperty(e,this.config.param,this.config.defaultValue)),e||(e=this.config.defaultValue),e=s.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue());var n=this.getValueFromStorage();this.config.param?(n=n||{},s.setObjectProperty(n,this.config.param,t)):n=t;var r=this.getStorage();r&&(r.setItem(this.config.key,JSON.stringify(n)),e.prototype.setValue.call(this,t))},t.prototype.deleteValue=function(){var t=this.getValueFromStorage(),n=this.getStorage();n&&(this.config.param?(s.deleteObjectProperty(t,this.config.param),n.setItem(this.config.key,JSON.stringify(t))):n.removeItem(this.config.key),e.prototype.deleteValue.call(this))},t.prototype.exists=function(){var e=this.getStorage();if(!e)return!1;if(!(this.config.key in e))return!1;var t=this.getValueFromStorage();return!this.config.param||typeof(t=s.getObjectProperty(t,this.config.param,null,!1))!==o.TYPE.undefined},t.prototype.getValueFromStorage=function(){var e=this.getStorage();if(e){var t=e.getItem(this.config.key);try{t=JSON.parse(t)}catch(e){}return t}},t}(i.AbstractVariable);t.AbstractBrowserStorageVariable=a},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyEventEmitter=void 0;var i=function(){function e(){this.listenersMap=new Map,this.pastEventsMap=new Map}return e.prototype.on=function(e,t){var n,i,o=this.listenersMap.get(e);o||(o=[]),o.push(t),this.listenersMap.set(e,o);var s=this.pastEventsMap.get(e);if(s)try{for(var a=r(s),c=a.next();!c.done;c=a.next()){t(c.value)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},e.prototype.once=function(e,t){var n=this,r=this.pastEventsMap.get(e);if(r&&r[0])t(r[0]);else{var i=function(r){t(r),n.off(e,i)},o=this.listenersMap.get(e);o||(o=[]),o.push(i),this.listenersMap.set(e,o)}},e.prototype.off=function(e,t){var n=this.listenersMap.get(e);if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}},e.prototype.dispatch=function(e,t){this.emit(new CustomEvent(e,{detail:t}))},e.prototype.emit=function(e){var t,n;this.listenersMap.has(e.type)||this.listenersMap.set(e.type,[]);var i=this.listenersMap.get(e.type)||[];try{for(var o=r(i),s=o.next();!s.done;s=o.next()){(0,s.value)(e)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}var a=this.pastEventsMap.get(e.type);a||(a=[]),a.push(e),this.pastEventsMap.set(e.type,a)},e}();t.PropertyEventEmitter=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ClickTriggerPlugin=void 0;var i=function(e){function t(){var t=e.call(this)||this;return t.domEvent="click",t}return r(t,e),t}(n(17).DomEventTriggerPlugin);t.ClickTriggerPlugin=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataLayerTriggerPlugin=void 0;var r=n(2),i=n(10),o=n(1),s=n(0),a=(new o.Debug("DataLayer Trigger"),function(){function e(){this.initialized=!1,this.previousJsonValue=void 0}return e.prototype.initialize=function(e,t,n){var i=this;if(!this.initialized){if(this.property=t,this.dataLayerStore=t.getDataLayerStore(),this.config=n,this.config.type!==s.TRIGGER_TYPES.dataLayerPush){var o=window[t.getConfig().dataLayerName];o&&o instanceof Array&&o.forEach(function(e){var t=r.getObjectProperty(e,n.options.key),o=JSON.stringify(t),s=i.previousJsonValue;i.previousJsonValue=JSON.stringify(t),o!==s&&i.check(t)})}this.dataLayerStore.subscribe(function(e,t){if(i.config.type===s.TRIGGER_TYPES.dataLayerPush)i.property.fireTrigger(n,{id:i.config.id,payload:{name:i.config.name}});else{var o=r.getObjectProperty(e,n.options.key),a=JSON.stringify(o),c=i.previousJsonValue;i.previousJsonValue=JSON.stringify(o),a!==c&&i.check(o)}}),this.initialized=!0}},e.prototype.check=function(e){var t=this.config.options.operator,n=this.config.options.value,r=-1!==["empty","not_empty"].indexOf(t);(null!==e||r)&&((r?i.assert.by_operator(t,e):i.assert.by_operator(t,e,n))&&this.property.fireTrigger(this.config,{id:this.config.id,payload:{name:this.config.name,value:e}}))},e}());t.DataLayerTriggerPlugin=a},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},o=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0}),t.FormSubmitTriggerPlugin=void 0;var s=n(1),a=n(2),c=n(5),u=(new s.Debug("Form Submit Trigger"),function(){function e(){this.initialized=!1}return e.prototype.initialize=function(e,t,n){var i=this;this.initialized||(this.listener=function(e){var o=e.currentTarget;if(!(o.className.indexOf("ng-invalid")>=0)){var s={id:n.id,payload:{name:n.name,form_values:r({},i.toJSON(o.elements)),element_id:o.id||null,element_class:o.className||null,element_path:c.fullPath(o),element_attributes:a.getElementAttributes(o)}};t.fireTrigger(n,s)}});var o=t.querySelectorService.querySelector(n.options.selector);o&&(o.removeEventListener("submit",this.listener),o.addEventListener("submit",this.listener)),this.initialized=!0},e.prototype.toJSON=function(e){return o(e).reduce(function(e,t){if(t.name)switch(t.type){case"radio":case"checkbox":t.checked&&(e[t.name]=t.value);break;default:e[t.name]=t.value}return e},{})},e}());t.FormSubmitTriggerPlugin=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageViewTriggerPlugin=void 0;var r=n(0),i=(new(n(1).Debug)("PageView Trigger"),function(){function e(){this.initialized=!1}return e.prototype.initialize=function(e,t,n){this.initialized||(t.eventEmitter.on(r.CORE_EVENT.pageView,function(){var e={id:n.id,payload:{name:n.name}};t.fireTrigger(n,e)}),this.initialized=!0)},e}());t.PageViewTriggerPlugin=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollDepthTriggerPlugin=void 0;new(n(1).Debug)("ScrollDepthTriggerPlugin");var r=function(){function e(){this.initialized=!1}return e.prototype.initialize=function(e,t,n){if(!this.initialized){var r=n.options.hasOwnProperty("direction")?n.options.direction:1,i=n.options.hasOwnProperty("from")?n.options.from:0,o=!n.options.hasOwnProperty("triggerOnce")||n.options.triggerOnce;n.options.thresholds.forEach(function(e){t.scrollDepthService.onValue(e,r,i,o,function(r,i,o){var s={id:n.id,payload:{name:n.name,scroll_threshold:e,scroll_percent:r,scroll_px:i,scroll_velocity:o}};t.fireTrigger(n,s)})}),this.initialized=!0}},e}();t.ScrollDepthTriggerPlugin=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimerTriggerPlugin=void 0;var r=n(0),i=(new(n(1).Debug)("Timer Trigger"),function(){function e(){this.initialized=!1}return e.prototype.initialize=function(t,n,r){if(!this.initialized){var i="session"===r.options.source?n.getSession():n.getPageView(),o=e.getStopwatch(i,r.options.type);r.options.thresholds.forEach(function(e){o.onValue(e,function(t){n.fireTrigger(r,{id:r.id,payload:{name:r.name,time_threshold:e}})})}),this.initialized=!0}},e.getStopwatch=function(e,t){switch(t){case r.USER_STATUS.idle:return e.stopWatchIdle;case r.USER_STATUS.inactive:return e.stopWatchInactive;case r.USER_STATUS.active:return e.stopWatchActive;case r.USER_STATUS.any:return e.stopWatchAny}},e}());t.TimerTriggerPlugin=i},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VideoTriggerPlugin=void 0;var o=i(n(6)),s=n(0),a=n(127),c=n(128),u=n(129),l=n(1),p=n(2),h=n(5),f=(new l.Debug("Video Trigger"),function(){function e(){this.initialized=!1,this.isVisible=!0,this.isScrollValid=!0,this.isMinWatched=!0}return e.prototype.initialize=function(e,t,n){var r=this;if(!this.initialized){this.property=t,this.querySelectorService=t.querySelectorService,this.config=n;var i=this.querySelectorService.querySelector(n.options.selector);if(i){switch(this.initialized=!0,n.options.type){case s.VIDEO_TYPE.html5:this.videoTrigger=new a.HTML5VideoTrigger;break;case s.VIDEO_TYPE.youtube:this.videoTrigger=new c.YoutubeVideoTrigger(t.scriptService,t.internalEventEmitter);break;case s.VIDEO_TYPE.vimeo:this.videoTrigger=new u.VimeoVideoTrigger(t.scriptService);break;default:throw new Error("Invalid video type")}this.stopwatch=new o.default,this.videoTrigger.initialize(i),n.options.thresholds.forEach(function(e){r.videoTrigger.onValue(e,function(e,o){if(r.isMinWatched&&r.isVisible&&r.isScrollValid){var s={name:n.name,progress_ms:e,progress_percent:o,element_id:i.id||null,element_class:i.className||null,element_path:h.fullPath(i),element_attributes:p.getElementAttributes(i)};t.fireTrigger(n,{id:n.id,payload:s})}})}),n.options.watchtime>0&&(this.isMinWatched=!1,this.stopwatch.onValue(n.options.watchtime,function(e){r.isMinWatched=!0})),this.videoTrigger.onPlay(function(){return r.checkStopwatch()}),this.videoTrigger.onPause(function(){return r.checkStopwatch()}),this.videoTrigger.onEnded(function(){return r.checkStopwatch()}),n.options.percentage>0&&(this.isVisible=!1,this.subscribeIntersectionObservable(n.options.selector,n.options.percentage)),null!==n.options.velocity&&(this.subscribeScrollingTooFast(n.options.velocity),this.subscribeScrollingEnd())}}},e.prototype.subscribeIntersectionObservable=function(e,t){var n=this.querySelectorService.querySelectorAll(e);if(!(n.length<1))for(var r={threshold:t/100},i=new IntersectionObserver(this.onElementIntersecting.bind(this),r),o=0;o<n.length;o++){var s=n[o];i.observe(s)}},e.prototype.onElementIntersecting=function(e){var t,n;try{for(var i=r(e),o=i.next();!o.done;o=i.next()){var s=o.value;this.isVisible=s.isIntersecting,this.checkStopwatch()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},e.prototype.subscribeScrollingTooFast=function(e){var t=this;if(e){var n=-1,r="any",i=0,o=!1;this.property.scrollDepthService.onValue(n,r,i,o,function(n,r,i){t.isScrollValid=i<=e,t.checkStopwatch()})}},e.prototype.subscribeScrollingEnd=function(){var e=this;this.property.scrollDepthService.onEnd(function(t){e.isScrollValid=!0,e.checkStopwatch()})},e.prototype.checkStopwatch=function(){this.isVisible&&this.isScrollValid&&this.videoTrigger.isPlaying()?this.stopwatch.start():this.stopwatch.stop();this.isVisible,this.isScrollValid,this.videoTrigger.isPlaying()},e}());t.VideoTriggerPlugin=f},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityTriggerPlugin=void 0;var o=n(1),s=n(2),a=n(130),c=i(n(39)),u=n(5);new o.Debug("Visibility Trigger");c.default.POLL_INTERVAL=100;var l=function(){function e(){this.triggers=[],this.initializedElements=[]}return e.prototype.initialize=function(e,t,n){var r=t.querySelectorService.querySelectorAll(n.options.selector);r.length<1||(!n.options.hasOwnProperty("over_all")||n.options.over_all?this.initOverAll(t,n,r):this.initSingles(t,n,r))},e.prototype.initOverAll=function(e,t,n){0===this.triggers.length&&this.createTrigger(e,t);for(var r=[],i=0;i<n.length;i++){var o=n[i];this.isInitialized(o)||r.push(o)}r.length>0&&this.triggers[0].initialize(r)},e.prototype.initSingles=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];this.isInitialized(i)||this.createTrigger(e,t).initialize([i])}},e.prototype.createTrigger=function(e,t){var n=new a.VisibilityTrigger(e.internalEventEmitter,e.userStatusService,e.scrollDepthService,!!t.options.hasOwnProperty("track_css")&&t.options.track_css,t.options.hasOwnProperty("velocity")?t.options.velocity:0,t.options.percentage);return t.options.thresholds.forEach(function(r){n.onThreshold(r,function(n){e.fireTrigger(t,{id:t.id,payload:{name:t.name,time_threshold:r,element_id:n.id||null,element_class:n.className||null,element_text:n.innerText||null,element_html:n.innerHTML||null,element_path:u.fullPath(n),element_attributes:s.getElementAttributes(n)}})})}),this.triggers.push(n),n},e.prototype.isInitialized=function(e){var t,n;try{for(var i=r(this.initializedElements),o=i.next();!o.done;o=i.next()){if(o.value===e)return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return this.initializedElements.push(e),!1},e}();t.VisibilityTriggerPlugin=l},function(e,t){!function(e,t){"use strict";if("IntersectionObserver"in e&&"IntersectionObserverEntry"in e&&"intersectionRatio"in e.IntersectionObserverEntry.prototype)"isIntersecting"in e.IntersectionObserverEntry.prototype||Object.defineProperty(e.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},i.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(e,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(e,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),n=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(i){var o=i.element,s=c(o),a=this._rootContainsTarget(o),u=i.entry,l=t&&a&&this._computeTargetAndRootIntersection(o,n),p=i.entry=new r({time:e.performance&&performance.now&&performance.now(),target:o,boundingClientRect:s,rootBounds:n,intersectionRect:l});u?t&&a?this._hasCrossedThreshold(u,p)&&this._queuedEntries.push(p):u&&u.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=e.getComputedStyle(n).display){for(var i=c(n),o=l(n),s=!1;!s;){var u=null,p=1==o.nodeType?e.getComputedStyle(o):{};if("none"==p.display)return;if(o==this.root||o==t?(s=!0,u=r):o!=t.body&&o!=t.documentElement&&"visible"!=p.overflow&&(u=c(o)),u&&!(i=a(u,i)))break;o=l(o)}return i}},i.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},i.prototype._rootIsInDom=function(){return!this.root||u(t,this.root)},i.prototype._rootContainsTarget=function(e){return u(this.root||t,e)},i.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},i.prototype._unregisterInstance=function(){var e=n.indexOf(this);-1!=e&&n.splice(e,1)},e.IntersectionObserver=i,e.IntersectionObserverEntry=r}function r(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function i(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}function o(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function s(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),s=o-i,a=r-n;return s>=0&&a>=0&&{top:n,bottom:r,left:i,right:o,width:s,height:a}}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e,t){for(var n=t;n;){if(n==e)return!0;n=l(n)}return!1}function l(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t}}(window,document)},function(e,t,n){n(41),n(31),n(32),n(33),n(35),n(36),n(38),n(37),n(34),e.exports=n(17)},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.FuseDeck=void 0;var c=n(42),u=n(0),l=n(43),p=n(48),h=n(4),f=n(20),d=n(26),y=s(n(21)),g=n(126),v=n(1),m=n(17),E=n(31),b=n(32),_=n(33),T=n(34),w=n(35),S=n(36),P=n(37),O=n(38),I=n(131),C=n(132),V=n(133),A=n(134),D=n(135),R=n(136),k=n(137),x=n(138),N=n(139),M=n(140),j=n(141),L=n(142),F=n(2),U=n(30),Y=(new v.Debug("fda.js"),function(){function e(e){this.triggerPlugins={},this.actionHandlers={},this.properties={},this.dataLayers={},this.plugTrigger(u.TRIGGER_TYPES.domEvent,m.DomEventTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.click,E.ClickTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.dataLayer,b.DataLayerTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.dataLayerPush,b.DataLayerTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.formSubmit,_.FormSubmitTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.pageView,T.PageViewTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.scrollDepth,w.ScrollDepthTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.timer,S.TimerTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.video,P.VideoTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.visibility,O.VisibilityTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.hover,I.HoverTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.event,C.EventTriggerPlugin),this.plugTrigger(u.TRIGGER_TYPES.plugin,D.PluginTriggerPlugin),this.registerActionHandler(new R.HTMLActionHandler),this.registerActionHandler(new k.HTMLTemplateActionHandler),this.registerActionHandler(new x.PixelActionHandler),this.registerActionHandler(new N.JSActionHandler),this.registerActionHandler(new M.PluginActionHandler),this.registerActionHandler(new j.ModifyVariablesHandler),this.initTimestamp=this.calculateInitTimestamp(),this.store="production"===u.ENVIRONMENT_MODE.Production?f.createStore():d.storeDevTools(f.createStore(),"Fusedeck"),this.store.registerReducers([y.environment]),"production"!==u.ENVIRONMENT_MODE.UnitTest&&Object.seal(this.store),this.host=(null===e||void 0===e?void 0:e.host)?e.host:{hostname:window.location.hostname,domain:window.location.hostname},this.internalEventEmitter=new c.EventEmitter,this.cookieService=new g.CookieService(this.host),this.environmentService=new l.EnvironmentService(this.internalEventEmitter,this.store,this.cookieService),this.previewService=new V.PreviewService(this.cookieService,this.environmentService),this.debuggerService=new A.DebuggerService(this.cookieService),this.userStatusService=new L.UserStatusService(this.internalEventEmitter,7,F.getTimestampOffset(this.initTimestamp)),this.registerCoreEvents(),this.internalEventEmitter.dispatch(u.CORE_EVENT.fuseDeckAnalyticsReady),"production"!==u.ENVIRONMENT_MODE.UnitTest&&Object.freeze(this)}return Object.defineProperty(e.prototype,"eventEmitter",{get:function(){var e,t;try{for(var n=a(Object.values(this.properties)),r=n.next();!r.done;r=n.next()){return r.value.eventEmitter}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return new U.PropertyEventEmitter},enumerable:!1,configurable:!0}),e.prototype.createProperty=function(e,t,n,r){if(!this.properties.hasOwnProperty(e)){t.triggers&&t.triggers.sort(function(e,t){return e.type===t.type?0:e.type===u.TRIGGER_TYPES.event?-1:1});this.properties[e]=new p.Property(e,t,n,this,r),this.initializeDataLayer(e,t.dataLayerName)}},e.prototype.initializeProperty=function(e,t,n,r,i){void 0===r&&(r=null),void 0===i&&(i={}),this.properties.hasOwnProperty(e)&&this.properties[e].initialize(t,n,r,i)},e.prototype.setTrackingType=function(e,t){t>=u.TRACKING_TYPE.FullCookie&&!this.environmentService.isCookiesEnabled()||this.properties.hasOwnProperty(e)&&this.properties[e].setTrackingType(t)},e.prototype.initializeDataLayer=function(e,t){var n=this;window[t]=window[t]||[];var r=window[t],i=window[t].push,o=this;this.dataLayers.hasOwnProperty(t)?this.dataLayers[t].push(e):(this.dataLayers[t]=[e],window[t].push=function(){if(void 0!==arguments[1]&&null!==arguments[1]){var e=arguments[1];-1!==o.dataLayers[t].indexOf(e)&&o.handleDataLayerPush(arguments[0],[e])}else o.handleDataLayerPush(arguments[0],o.dataLayers[t]);return i.apply(this,arguments)}),r.forEach(function(t){n.handleDataLayerPush(t,[e])})},e.prototype.handleDataLayerPush=function(e,t){var n=this;t.forEach(function(t){n.properties.hasOwnProperty(t)&&(n.properties[t].getDataLayerStore().dispatch(h.pushDataLayer(r({},e))),n.internalEventEmitter.dispatch(u.CORE_EVENT.dataLayerPush,t))})},e.prototype.setEnvVars=function(e){e.userAgent&&navigator.webdriver&&(e.userAgent.type="bot"),this.store.dispatch(h.addToEnv(e))},e.prototype.plugTrigger=function(e,t){this.triggerPlugins.hasOwnProperty(e)||(this.triggerPlugins[e]=t)},e.prototype.registerActionHandler=function(e){this.actionHandlers.hasOwnProperty(e.type)||(this.actionHandlers[e.type]=e)},e.prototype.resetSession=function(){var e=this;Object.keys(this.properties).forEach(function(t){e.properties[t].getSession().reset()}),window.location.reload()},e.prototype.setCampaign=function(e,t,n){Object.keys(this.properties).some(function(t){return t===e})&&this.properties[e].getSession().updateCampaignData(t,n)},e.prototype.setCampaignCustomParams=function(e,t){Object.keys(this.properties).some(function(t){return t===e})&&this.properties[e].getSession().updateCampaignCustomParams(t)},e.prototype.getCampaign=function(e){if(Object.keys(this.properties).some(function(t){return t===e}))return this.properties[e].getSession().getCampaignData("session")},e.prototype.startPreview=function(e){this.previewService.start(e)},e.prototype.exitPreview=function(){this.previewService.exit()},e.prototype.startDebugger=function(e,t,n,r){!!Object.keys(this.properties).length&&this.debuggerService.start(this.properties,e,t,n,r)},e.prototype.exitDebugger=function(){this.debuggerService.exit()},e.prototype.registerCoreEvents=function(){var e=this;if(this.performanceWinLoaded()||this.fdWinLoaded()||this.gtmWinLoaded()?this.internalEventEmitter.dispatch(u.CORE_EVENT.windowLoad):window.addEventListener("load",function(){e.internalEventEmitter.dispatch(u.CORE_EVENT.windowLoad)}),"complete"===document.readyState)this.internalEventEmitter.dispatch(u.CORE_EVENT.documentReady);else var t=setInterval(function(){"complete"===document.readyState&&(clearInterval(t),e.internalEventEmitter.dispatch(u.CORE_EVENT.documentReady))},10);var n=window.navigator.userAgent.match(/(iPad|iPhone|iPod)/i)?"pagehide":"beforeunload";window.addEventListener(n,function(t){e.internalEventEmitter.dispatch(u.CORE_EVENT.windowBeforeUnload)},!1);var r=this,i=history.pushState;history.pushState=function(e){"function"==typeof history.onpushstate&&history.onpushstate({state:e});var t=i.apply(history,arguments);return r.internalEventEmitter.dispatch(u.CORE_EVENT.historyChange),t},window.addEventListener("popstate",function(){setTimeout(function(){r.internalEventEmitter.dispatch(u.CORE_EVENT.historyChange)},0)}),window.addEventListener("hashchange",function(){e.internalEventEmitter.dispatch(u.CORE_EVENT.hashChange)});var o=["class","id"];this.internalEventEmitter.on(u.CORE_EVENT.documentReady,function(){var t;new MutationObserver(function(n){var r,i,s=!1;try{for(var c=a(n),l=c.next();!l.done;l=c.next()){var p=l.value;if("attributes"!==p.type||o.indexOf(p.attributeName)>=0){s=!0;break}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}s&&(t&&clearTimeout(t),t=setTimeout(function(){e.internalEventEmitter.dispatch(u.CORE_EVENT.domManipulation)},100))}).observe(document.body,{attributes:!0,childList:!0,subtree:!0});var n=document.head.getElementsByTagName("title");if(n&&n.length>0){var r=n[0];new MutationObserver(function(t){var n,r;try{for(var i=a(t),o=i.next();!o.done;o=i.next()){"TITLE"===o.value.target.nodeName&&e.internalEventEmitter.dispatch(u.CORE_EVENT.pageViewChange)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}).observe(r,{childList:!0})}});var s=window;if(s.YT&&"function"==typeof s.YT.ready)s.YT.ready(function(){e.internalEventEmitter.dispatch(u.CORE_EVENT.youtubeApiReady)});else if(typeof s.onYouTubeIframeAPIReady!==u.TYPE.function)s.onYouTubeIframeAPIReady=function(){e.internalEventEmitter.dispatch(u.CORE_EVENT.youtubeApiReady)};else{var c=s.onYouTubeIframeAPIReady;s.onYouTubeIframeAPIReady=function(){typeof c===u.TYPE.function&&c(),e.internalEventEmitter.dispatch(u.CORE_EVENT.youtubeApiReady)}}},e.prototype.fdWinLoaded=function(){return window.hasOwnProperty("fdWinLoaded")&&!0===window.fdWinLoaded},e.prototype.getGtmDataLayerName=function(){var e=window.google_tag_manager;if(!e)return null;var t="dataLayer";if(!e.hasOwnProperty(t))for(var n in e)n.startsWith("GTM-")&&(t=e[n].dataLayer.name);return t},e.prototype.getGtmDataLayer=function(){var e=this.getGtmDataLayerName(),t=window;return e&&t[e]&&Array.isArray(t[e])?t[e]:null},e.prototype.getGtmTimestamp=function(){var e=this.getGtmDataLayer(),t=(new Date).getTime();return e&&e.forEach(function(e){e.hasOwnProperty("event")&&"gtm.js"===e.event&&e.hasOwnProperty("gtm.start")&&(t=e["gtm.start"])}),t},e.prototype.calculateInitTimestamp=function(){var e=window,t=(new Date).getTime(),n=this.getGtmTimestamp()||t,r=e.fdInitTS||t;return Math.min(n,r,t)},e.prototype.gtmWinLoaded=function(){var e=window.google_tag_manager,t=this.getGtmDataLayerName();return!!(e&&t&&e.hasOwnProperty(t)&&e[t].hasOwnProperty("gtmLoad"))&&e[t].gtmLoad},e.prototype.performanceWinLoaded=function(){var e,t=0;typeof performance.getEntriesByType===u.TYPE.function&&performance.getEntriesByType("navigation").forEach(function(e){return t=e.loadEventEnd||t});return!t&&(null===(e=window.performance)||void 0===e?void 0:e.timing)&&(t=window.performance.timing.loadEventEnd),t>0},e}());t.FuseDeck=Y,function(e){if(e)try{if(!function(){for(var t=[e.MutationObserver,e.IntersectionObserver,Object.assign,Array.isArray,Array.prototype.forEach,Array.prototype.find,Array.prototype.findIndex,String.prototype.startsWith,String.prototype.endsWith,String.prototype.includes,e.Promise],n=0;n<t.length;n++)if(!t[n])return!1;return!0}())return void console.warn("Error starting Fusedeck","Polyfills functionalities are not supported");e.FuseDeck=e.FuseDeck||new Y(e.FuseDeckOptions)}catch(e){console.warn("Error starting Fusedeck",e)}}(window)},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var i=n(0),o=function(){function e(){this.eventListeners={},this.firedEvents={}}return e.prototype.on=function(e,t,n){void 0===n&&(n=999),this.firedEvents.hasOwnProperty(e)&&t.apply(window,this.firedEvents[e]),this.eventListeners[e]=this.eventListeners[e]||{},this.eventListeners[e][n]=this.eventListeners[e][n]||[],this.eventListeners[e][n].push(t)},e.prototype.dispatch=function(e){for(var t,n,o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];if(this.firedEvents[e]=o,typeof this.eventListeners[e]!==i.TYPE.undefined)for(var a in this.eventListeners[e])if(this.eventListeners[e].hasOwnProperty(a))try{for(var c=(t=void 0,r(this.eventListeners[e][a])),u=c.next();!u.done;u=c.next()){u.value.apply(window,o)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}},e}();t.EventEmitter=o},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.EnvironmentService=void 0;var i=n(4),o=n(0),s=n(44),a=function(){function e(e,t,n){var r=this;this.internalEventEmitter=e,this.store=t,this.cookies=n,this.init(),this.internalEventEmitter.on(o.CORE_EVENT.historyChange,function(){r.navigate()}),this.internalEventEmitter.on(o.CORE_EVENT.hashChange,function(){r.navigate()})}return e.prototype.getQuery=function(){return this.store.getState().env.location.query},e.prototype.getQueryParameter=function(e){var t=this.getQuery();return t&&t.hasOwnProperty(e)?t[e]:null},e.prototype.getStore=function(){return this.store},e.prototype.isCookiesEnabled=function(){var e=this.store.getState();return e&&e.client&&e.client.cookieEnabled||!0},e.prototype.navigate=function(){var e=this.store.getState(),t=r({},e.env.location),n={location:s.UrlParser.parseFromCurrentLocation(),referer:t};this.store.dispatch(i.addToEnv(n))},e.prototype.init=function(){var e={location:s.UrlParser.parseFromCurrentLocation(),referer:s.UrlParser.parse(document.referrer||""),lang:navigator.language||navigator.userLanguage,client:{cookieEnabled:navigator.cookieEnabled,doNotTrack:navigator.doNotTrack,navigationType:window.performance.navigation.type,userId:null,lang:navigator.language||navigator.userLanguage}};this.store.dispatch(i.addToEnv(e))},e}();t.EnvironmentService=a},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UrlParser=void 0;var o=i(n(45)),s=function(){function e(){}return e.parseFromCurrentLocation=function(){return e.parse(window.location.href)},e.parse=function(e){if(!e)return{href:null,host:null,hash:null,pathname:null,path_segment:null,port:null,protocol:null,query:null};var t=o.default(e,!0),n={href:t.href,host:t.hostname,hash:t.hash,pathname:t.pathname||"/",path_segment:t.pathname&&t.pathname.replace(/^\/+|\/+$/g,"").split("/")||null,port:t.port?parseInt(t.port,10):null,protocol:t.protocol,query:t.query};if("file:"===(null===n||void 0===n?void 0:n.protocol)&&(n.href="file:///{private}",n.host="localhost",n.pathname="{private}",n.path_segment=null),null!==n.hash&&n.hash.indexOf("?")>=0){var i=n.hash.split("?"),s=i.pop();n.hash=i.join("?");var a="https://domain.tld?"+s,c=o.default(a,!0);null!==c.query&&(n.query=r(r({},n.query),c.query))}return n},e}();t.UrlParser=s},function(e,t,n){"use strict";(function(t){var r=n(46),i=n(47),o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,s=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,a=/^[a-zA-Z]:/,c=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(c,"")}var l=[["#","hash"],["?","query"],function(e,t){return f(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function h(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},i={},s=typeof(e=e||r);if("blob:"===e.protocol)i=new y(unescape(e.pathname),{});else if("string"===s)for(n in i=new y(e,{}),p)delete i[n];else if("object"===s){for(n in e)n in p||(i[n]=e[n]);void 0===i.slashes&&(i.slashes=o.test(e.href))}return i}function f(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function d(e,t){e=u(e),t=t||{};var n,r=s.exec(e),i=r[1]?r[1].toLowerCase():"",o=!!r[2],a=!!r[3],c=0;return o?a?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):a?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===i?c>=2&&(n=n.slice(2)):f(i)?n=r[4]:i?o&&(n=n.slice(2)):c>=2&&f(t.protocol)&&(n=r[4]),{protocol:i,slashes:o||f(i),slashesCount:c,rest:n}}function y(e,t,n){if(e=u(e),!(this instanceof y))return new y(e,t,n);var o,s,c,p,g,v,m=l.slice(),E=typeof t,b=this,_=0;for("object"!==E&&"string"!==E&&(n=t,t=null),n&&"function"!=typeof n&&(n=i.parse),t=h(t),o=!(s=d(e||"",t)).protocol&&!s.slashes,b.slashes=s.slashes||o&&t.slashes,b.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||a.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!f(b.protocol)))&&(m[3]=[/(.*)/,"pathname"]);_<m.length;_++)"function"!=typeof(p=m[_])?(c=p[0],v=p[1],c!=c?b[v]=e:"string"==typeof c?~(g=e.indexOf(c))&&("number"==typeof p[2]?(b[v]=e.slice(0,g),e=e.slice(g+p[2])):(b[v]=e.slice(g),e=e.slice(0,g))):(g=c.exec(e))&&(b[v]=g[1],e=e.slice(0,g.index)),b[v]=b[v]||o&&p[3]&&t[v]||"",p[4]&&(b[v]=b[v].toLowerCase())):e=p(e,b);n&&(b.query=n(b.query)),o&&t.slashes&&"/"!==b.pathname.charAt(0)&&(""!==b.pathname||""!==t.pathname)&&(b.pathname=function(e,t){if(""===e)return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,i=n[r-1],o=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(o=!0),n.splice(r,1),s--);return o&&n.unshift(""),"."!==i&&".."!==i||n.push(""),n.join("/")}(b.pathname,t.pathname)),"/"!==b.pathname.charAt(0)&&f(b.protocol)&&(b.pathname="/"+b.pathname),r(b.port,b.protocol)||(b.host=b.hostname,b.port=""),b.username=b.password="",b.auth&&(p=b.auth.split(":"),b.username=p[0]||"",b.password=p[1]||""),b.origin="file:"!==b.protocol&&f(b.protocol)&&b.host?b.protocol+"//"+b.host:"null",b.href=b.toString()}y.prototype={set:function(e,t,n){var o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||i.parse)(t)),o[e]=t;break;case"port":o[e]=t,r(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,/:\d+$/.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!n;break;case"pathname":case"hash":if(t){var s="pathname"===e?"/":"#";o[e]=t.charAt(0)!==s?s+t:t}else o[e]=t;break;default:o[e]=t}for(var a=0;a<l.length;a++){var c=l[a];c[4]&&(o[c[1]]=o[c[1]].toLowerCase())}return o.origin="file:"!==o.protocol&&f(o.protocol)&&o.host?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=i.stringify);var t,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var o=r+(n.slashes||f(n.protocol)?"//":"");return n.username&&(o+=n.username,n.password&&(o+=":"+n.password),o+="@"),o+=n.host+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(o+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(o+=n.hash),o}},y.extractProtocol=d,y.location=h,y.trimLeft=u,y.qs=i,e.exports=y}).call(this,n(19))},function(e,t,n){"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},function(e,t,n){"use strict";var r,i=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function s(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var n,o,a=[];for(o in"string"!=typeof t&&(t="?"),e)if(i.call(e,o)){if((n=e[o])||null!==n&&n!==r&&!isNaN(n)||(n=""),o=s(o),n=s(n),null===o||null===n)continue;a.push(o+"="+n)}return a.length?t+a.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=o(t[1]),s=o(t[2]);null===i||null===s||i in r||(r[i]=s)}return r}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},c=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0}),t.Property=void 0;var u=n(0),l=n(49),p=n(20),h=s(n(21)),f=n(26),d=n(99),y=n(100),g=n(104),v=n(106),m=n(4),E=n(1),b=n(118),_=n(119),T=n(5),w=n(121),S=n(122),P=n(123),O=n(124),I=n(125),C=n(30),V=(new E.Debug("Property"),function(){function e(e,t,n,r,i){this.id=e,this.config=t,this.trackingType=n,this.fusedeck=r,this.environmentId=i,this.initialized=!1,this.variables={},this.triggers={},this.transport=new y.Transport(t.transports),this.propertyStore="production"===u.ENVIRONMENT_MODE.Production?p.createStore():f.storeDevTools(p.createStore(),"Triggers "+this.id),this.propertyStore.registerReducers([h.property]),this.dataLayerStore="production"===u.ENVIRONMENT_MODE.Production?p.createStore():f.storeDevTools(p.createStore(),"DataLayer "+this.id),this.dataLayerStore.registerReducers([h.dataLayer]),this.host=r.host,this.initTimestamp=r.initTimestamp,this.internalEventEmitter=r.internalEventEmitter,this.eventEmitter=new C.PropertyEventEmitter,this.cookieService=r.cookieService,this.environmentService=r.environmentService,this.conditionChecker=new l.ConditionChecker(r.store),this.flagParser=new _.FlagParser(r.store),this.scrollDepthService=new O.ScrollDepthService(this.internalEventEmitter),this.messageFactory=new g.MessageFactory(r.store,this.scrollDepthService,new P.DocumentService),this.dependencyManager=new w.DependencyManager(t.dependencies,this.internalEventEmitter),this.scriptService=new S.ScriptService,this.userStatusService=r.userStatusService,this.querySelectorService=new I.QuerySelectorService(t.jsSelector)}return e.prototype.initialize=function(e,t,n,r){var i=this;if(void 0===n&&(n=null),void 0===r&&(r={}),!this.initialized){this.initialized=!0,this.initializeVariables(r),this.createSession(e,t),this.createPageView(),this.config&&this.config.pageView&&this.config.pageView.hashChange?this.internalEventEmitter.on(u.CORE_EVENT.hashChange,function(){i.navigate()}):this.internalEventEmitter.on(u.CORE_EVENT.historyChange,function(){i.navigate()}),this.listenToTriggers(),this.config.triggers.filter(function(e){return e.type===u.TRIGGER_TYPES.init}).forEach(function(e){return i.fireTrigger(e,{id:e.id,payload:{name:e.name}})}),this.internalEventEmitter.on(u.CORE_EVENT.domManipulation,function(){i.initializeTriggers(!0)}),this.internalEventEmitter.on(u.CORE_EVENT.documentReady,function(){i.initializeTriggers()});var o=window;n&&o[n]&&typeof o[n]===u.TYPE.function&&o[n]()}},Object.defineProperty(e.prototype,"dataLayer",{get:function(){return window[this.config.dataLayerName]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"store",{get:function(){return this.fusedeck.store},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"container",{get:function(){var e=this;return{get:function(t){switch(t){case"user_status":return e.userStatusService;case"scroll_depth":return e.scrollDepthService}return null}}},enumerable:!1,configurable:!0}),e.prototype.checkTracking=function(e,t){if(this.trackingType>=u.TRACKING_TYPE.FullCookie&&!this.environmentService.isCookiesEnabled())return!1;var n=this.getTrackingSetting(e),r=this.session.getCampaignData(e,t);if(!n)return!0;switch(n){case u.TRACKING_CONFIG.CampaignThirdParty:return this.session.sessionData.isThirdParty||null!==r.adId&&null!==r.siteId;case u.TRACKING_CONFIG.CampaignOnly:return null!==r.adId&&null!==r.siteId;case u.TRACKING_CONFIG.OrganicOnly:return(null===r.adId||null===r.siteId)&&!this.session.sessionData.isThirdParty;case u.TRACKING_CONFIG.NoTracking:return!1;default:return!0}},e.prototype.checkBlocking=function(){var e=this;return(this.config.flags||[]).some(function(t){if(t.type!==u.PROPERTY_FLAG_TYPE.Block)return!1;var n=e.flagParser.evaluate(e,t.condition);return n})},e.prototype.checkFlags=function(e){var t=this,n=this.config.flags||[],r=[[u.PROPERTY_FLAG_TYPE.PageView,u.FLAG_FREQUENCY.PageView],[u.PROPERTY_FLAG_TYPE.Session,u.FLAG_FREQUENCY.Session]],i=n.reduce(function(n,i){return r.some(function(t){var n=a(t,2),r=n[0],o=n[1];return i.type===r&&e===o})&&t.flagParser.evaluate(t,i.condition)?c(n,[i.id]):n},[]);return i.length?i:null},e.prototype.getPropertyStore=function(){return this.propertyStore},e.prototype.getDataLayerStore=function(){return this.dataLayerStore},e.prototype.getEnvStore=function(){return this.fusedeck.store},e.prototype.getEnvState=function(){var e=this.getEnvStore().getState();return r(r({},e),{env:r(r({},e.env),{environment:r({},this.config.environment),client:r(r({},e.env.client),{userId:this.getSession().getUserId(),trackingType:this.getTrackingType()})})})},e.prototype.getConfig=function(){return this.config},e.prototype.getUserVarsConfig=function(){var e=this.getConfig(),t=null;return e.user&&e.user.variables&&(t=e.user.variables),t},e.prototype.getSession=function(){return this.session},e.prototype.getPageView=function(){return this.pageView},e.prototype.getTrackingType=function(){return this.trackingType},e.prototype.getVariable=function(e){return this.variables.hasOwnProperty(e)?this.variables[e]:null},e.prototype.getVariableByKey=function(e){var t=this,n=Object.keys(this.variables).find(function(n){return t.variables[+n].getKey()===e});return this.variables[+n]},e.prototype.getVariableByUniqueKey=function(e){var t=this,n=Object.keys(this.variables).find(function(n){return t.variables[+n].getUniqueKey()===e});return this.variables[+n]},e.prototype.setVariableValue=function(e,t){var n=this.getVariable(e);n&&n.setValue(t)},e.prototype.incrementVariableValueBy=function(e,t){var n=this.getVariable(e);n&&n.incrementBy(t)},e.prototype.decrementVariableValueBy=function(e,t){var n=this.getVariable(e);n&&n.decrementBy(t)},e.prototype.deleteVariableValue=function(e){var t=this.getVariable(e);t&&t.deleteValue()},e.prototype.getTriggerValue=function(e,t){if(!t||!t.payload)return null;var n=this.getPayloadKeys(t.payload,e);return t.payload.hasOwnProperty(n.main)?n.sub?t.payload[n.main].hasOwnProperty(n.sub)?t.payload[n.main][n.sub]:null:t.payload[n.main]:null},e.prototype.getActionValue=function(e){if(null!==e.type)switch(e.type){case u.ACTION_VALUE_TYPE.trigger:return this.getTriggerValue(e.value,this.getTriggerById(e.id));case u.ACTION_VALUE_TYPE.last_trigger_name:return this.getTriggerValue("name",this.getTriggerById(this.propertyStore.getState().lastTrigger));case u.ACTION_VALUE_TYPE.variable:return this.getVariable(e.id).getValue();case u.ACTION_VALUE_TYPE.custom:if(!e.value&&e.default_value){var t=e.default_value;return parseInt(t,void 0)?parseInt(t,void 0):Date.parse(t)?new Date(t):"true"===t||"false"===t?"true"===t:t}return e.value;default:return null}},e.prototype.getVariableValues=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=this.getVariable(e[n]);r&&r.exists()&&!r.isArray()&&(t[n]=r.getValue())}return t},e.prototype.setTrackingType=function(e){this.trackingType!==e&&(this.trackingType=e,this.session.setTrackingTypeCookie(e,this.id),this.session.switchTrackingType(e),this.pageView.switchTrackingType(e))},e.prototype.fireTrigger=function(e,t){e.name||e.id.toString();e.condition&&!this.conditionChecker.checkTriggerCondition(this,e.condition)||this.propertyStore.dispatch(m.fireTrigger(t))},e.prototype.getTransport=function(){return this.transport},e.prototype.getTriggerById=function(e){var t=this.propertyStore.getState();return t.triggers.hasOwnProperty(e)?t.triggers[e]:null},e.prototype.fireEvent=function(e,t){this.runActions(e,t);var n={id:e.id,scope:e.scope},r=this.messageFactory.createEventHeartbeatMessage(e.id,this.environmentId);this.transport.send(r),this.propertyStore.dispatch(m.fireEvent(n))},e.prototype.initializeTriggers=function(e,t){var n=this;this.config.triggers.filter(function(e){return e.type!==u.TRIGGER_TYPES.init}).forEach(function(r){try{if(!n.fusedeck.triggerPlugins.hasOwnProperty(r.type))return;var i=u.DOM_TRIGGERS_TYPES.indexOf(r.type)>-1;if(typeof e===u.TYPE.undefined||i===e){var o=void 0;if(n.triggers.hasOwnProperty(r.id)){var s=i&&(!r.options.hasOwnProperty("init_on_dom_change")||!0===r.options.init_on_dom_change);(!e||s||t)&&(o=n.triggers[r.id]).initialize(n.fusedeck,n,r)}else(o=new n.fusedeck.triggerPlugins[r.type]).initialize(n.fusedeck,n,r),n.triggers[r.id]=o}}catch(e){}})},e.prototype.createSession=function(e,t){this.session=new d.Session(this,this.config.session,e),this.session.initialize(t)},e.prototype.createPageView=function(){this.pageView=new b.PageView(this,this.getConfig().pageView),this.pageView.initialize()},e.prototype.getTrackingSetting=function(e){var t=this.config.tracking;if(!t)return null;switch(e){case"user":return t.users;case"session":return t.sessions;case"page_view":return t.pageViews;case"event":return t.events}},e.prototype.initializeVariables=function(e){var t=this;void 0===e&&(e={}),this.config.variables.forEach(function(n){if(!t.variables.hasOwnProperty(n.id)){var r=v.VariableFactory.create(t,n);r&&(e.hasOwnProperty(n.id)&&r.initValue(e[n.id]),t.variables[n.id]=r)}})},e.prototype.listenToTriggers=function(){var e=this;this.propertyStore.subscribe(function(t,n){if(n.type===m.Actions.fireTrigger){var r=n.payload,i=new RegExp("[^!]\\$t\\("+r.id+"\\)");e.config.events.forEach(function(t){e.checkEventScope(t)&&(t.condition&&!i.exec(t.condition.toString())||e.conditionChecker.checkEventCondition(e,t.condition)&&e.fireEvent(t,r))})}})},e.prototype.checkEventScope=function(e){var t=this.propertyStore.getState();return e.scope===u.SCOPE.always||!t.events.hasOwnProperty(e.id)||t.events[e.id].scope!==e.scope},e.prototype.runActions=function(e,t){var n=this;e.actions.forEach(function(r){var i,o;switch(r.type){case u.ACTION_TYPE.analytics:if(n.session.isExpired())break;if(n.checkBlocking())break;if(n.getTrackingType()>=u.TRACKING_TYPE.PageViewOnly&&n.checkTracking("event",e)){var s=null,a=n.getTriggerConfigById(null===t||void 0===t?void 0:t.id);(null===(i=null===a||void 0===a?void 0:a.options)||void 0===i?void 0:i.selector)&&!T.isSelectorUnique(a.options.selector)&&(s=null===(o=null===t||void 0===t?void 0:t.payload)||void 0===o?void 0:o.element_path);var c=n.messageFactory.createEventMessage(n,e,r,s);n.transport.send(c)}break;case u.ACTION_TYPE.event:var l=n.config.events.find(function(e){return e.id===r.options.event_id});l&&n.checkEventScope(l)&&n.fireEvent(l);break;default:if(n.fusedeck.actionHandlers.hasOwnProperty(r.type))n.fusedeck.actionHandlers[r.type].execute(r,n)}})},e.prototype.getTriggerConfigById=function(e){return e&&this.config.triggers.find(function(t){return t.id===e})||null},e.prototype.getPayloadKeys=function(e,t){var n={main:t||"value"};if("value"===n.main&&e.hasOwnProperty("time_threshold"))return{main:"time_threshold"};if("url"===n.main&&e.hasOwnProperty("element_attributes")){if(e.element_attributes.hasOwnProperty("href"))return{main:"element_attributes",sub:"href"};if(e.element_attributes.hasOwnProperty("action"))return{main:"element_attributes",sub:"action"}}var r=n.main.match(/^([^\[]*)\[([^\]]*)]$/);return null!==r&&"string"==typeof r[1]&&"string"==typeof r[2]?{main:r[1],sub:r[2]}:n},e.prototype.navigate=function(){var e=this.session.isExpired();this.session.navigate(),this.pageView.navigate(!e)},e}());t.Property=V},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionChecker=void 0;var r=n(10),i=function(){function e(e){this.store=e}return e.prototype.checkEventCondition=function(e,t){if(null===t)return!1;var n=e.getPropertyStore().getState(),i={};n.hasOwnProperty("triggers")&&(i=n.triggers);var o=r.assertVariableValue(e),s=r.assertTriggerFired(i);return t(r.assert,o,s)},e.prototype.checkTriggerCondition=function(e,t){if(null===t)return!0;var n=r.assertVariableValue(e);return t(r.assert,n)},e}();t.ConditionChecker=i},function(e,t,n){"use strict";(function(r){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":i(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(i=++r)}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=Object({NODE_ENV:"production"}).DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(52)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,n(51))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,u=[],l=!1,p=-1;function h(){l&&c&&(l=!1,c.length?u=c.concat(u):p=-1,u.length&&f())}function f(){if(!l){var e=a(h);l=!0;for(var t=u.length;t;){for(c=u,u=[];++p<t;)c&&c[p].run();p=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function y(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new d(e,t)),1!==u.length||l||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";e.exports=function(env){function e(e){for(var n=0,r=0;r<e.length;r++)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]}function t(n){var o;function s(){if(s.enabled){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=s,a=Number(new Date),c=a-(o||a);i.diff=c,i.prev=o,i.curr=a,o=a,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");var u=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,function(e,r){if("%%"===e)return e;u++;var o=t.formatters[r];if("function"==typeof o){var s=n[u];e=o.call(i,s),n.splice(u,1),u--}return e}),t.formatArgs.call(i,n),(i.log||t.log).apply(i,n)}}return s.namespace=n,s.enabled=t.enabled(n),s.useColors=t.useColors(),s.color=e(n),s.destroy=r,s.extend=i,"function"==typeof t.init&&t.init(s),t.instances.push(s),s}function r(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}function i(e,n){return t(this.namespace+(void 0===n?":":n)+e)}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var o=t.instances[n];o.enabled=t.enabled(o.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(53),Object.keys(env).forEach(function(e){t[e]=env[e]}),t.instances=[],t.names=[],t.skips=[],t.formatters={},t.selectColor=e,t.enable(t.load()),t}},function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i,s=7*o,a=365.25*o;function c(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*i;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return c(e,t,o,"day");if(t>=i)return c(e,t,i,"hour");if(t>=r)return c(e,t,r,"minute");if(t>=n)return c(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){var r=n(55);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(22),i=n(25);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},function(e,t,n){var r=n(11),i=n(12),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(19))},function(e,t,n){var r=n(13),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=n(62)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=o},function(e,t,n){var r=n(63),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(64),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(65),i=n(85),o=n(87),s=n(88),a=n(89);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},function(e,t,n){var r=n(66),i=n(78),o=n(84);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(67),i=n(74),o=n(75),s=n(76),a=n(77);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},function(e,t,n){var r=n(7);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(69),i=n(70),o=n(16),s=n(72),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:a).test(s(e))}},function(e,t,n){var r=n(23),i=n(16),o="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==s||t==a||t==o||t==c}},function(e,t,n){var r=n(71),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(14)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(7),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(7),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(7),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t,n){var r=n(79),i=n(80),o=n(81),s=n(82),a=n(83);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(8),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(8);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(8);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(8);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(15)(n(14),"Map");e.exports=r},function(e,t,n){var r=n(9);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(9);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(9);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(9);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t,n){var r=n(91);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(13),i=n(92),o=n(11),s=n(12),a=1/0,c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){var r=n(94);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},function(e,t,n){var r=n(95),i=n(22),o=n(98),s=n(16),a=n(25);e.exports=function(e,t,n,c){if(!s(e))return e;for(var u=-1,l=(t=i(t,e)).length,p=l-1,h=e;null!=h&&++u<l;){var f=a(t[u]),d=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(u!=p){var y=h[f];void 0===(d=c?c(y,f,h):void 0)&&(d=s(y)?y:o(t[u+1])?[]:{})}r(h,f,d),h=h[f]}return e}},function(e,t,n){var r=n(96),i=n(24),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];o.call(e,t)&&i(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(97);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(15),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Session=void 0;var s=o(n(6)),a=n(2),c=n(0),u=n(4),l=(new(n(1).Debug)("Session"),function(){function e(e,t,n){this.property=e,this.config=t,this.sessionData=n,this.isNewSession=!1,this.isNewCampaign=!1,this.resetting=!1,this.userServerSide=!1,this.expired=!1,this.SESSION_EXPIRY=6*c.DATE.hour,this.sendedSessionHeartbeat=!1,this.sendedUserHeartbeat=!1,this.internalEventEmitter=e.internalEventEmitter,this.cookieService=e.cookieService,this.transport=e.transport,this.messageFactory=e.messageFactory,this.environmentService=e.environmentService}return e.prototype.initialize=function(e){var t=this;this.load(),this.initUser(e),this.initStopwatch(a.getTimestampOffset(this.property.initTimestamp)),this.send(),this.internalEventEmitter.on(c.CORE_EVENT.windowBeforeUnload,function(){t.send(!0)}),this.internalEventEmitter.on(c.CORE_EVENT.userStatusChange,function(status){var e,n=((e={})[c.USER_STATUS.active]=4e3,e[c.USER_STATUS.idle]=1e4,e[c.USER_STATUS.inactive]=6e4,e);t.sendInterval(),window.clearInterval(t.updateInterval),t.updateInterval=window.setInterval(function(){t.sendInterval()},n[status])}),this.internalEventEmitter.on(c.CORE_EVENT.dataLayerPush,function(e){e===t.property.id&&t.sendInterval()}),this.property.getPropertyStore().subscribe(function(e,n){n.type===u.Actions.fireEvent&&n.payload.scope===c.SCOPE.session&&t.saveEvent(n.payload)}),this.clearOldCookies()},e.prototype.saveEvent=function(e){this.sessionData.events[e.id]=e,this.send(!0)},e.prototype.getCampaignData=function(e,t){switch(e){case"user":case"session":return{adId:this.sessionData.campaign.sessionAdId,siteId:this.sessionData.campaign.sessionSiteId,customParams:this.sessionData.campaign.sessionCustomParameters};case"page_view":return{adId:this.sessionData.campaign.pageviewAdId,siteId:this.sessionData.campaign.pageviewSiteId,customParams:this.sessionData.campaign.pageViewCustomParameters};case"event":try{return this.sessionData.campaign.pageviewAdId&&this.sessionData.campaign.pageviewSiteId||a.isNonEmptyObject(this.sessionData.campaign.pageViewCustomParameters)?{adId:this.sessionData.campaign.pageviewAdId,siteId:this.sessionData.campaign.pageviewSiteId,customParams:this.sessionData.campaign.pageViewCustomParameters}:t.hasOwnProperty("campaign_ttl")&&(new Date).getTime()-this.campaignData.timestamp<=t.campaign_ttl?{adId:this.campaignData.adId,siteId:this.campaignData.siteId,customParams:this.campaignData.customParams}:{adId:null,siteId:null,customParams:null}}catch(e){console.log("test err",e)}}},e.prototype.reset=function(){this.resetting=!0,this.expireServerSideSession(),this.removeCookies()},e.prototype.saveSession=function(){if(!this.isExpired()&&!this.resetting){this.sessionData.active=this.stopWatchActive?this.stopWatchActive.getTime():0,this.sessionData.idle=this.stopWatchIdle?this.stopWatchIdle.getTime():0,this.sessionData.inactive=this.stopWatchInactive?this.stopWatchInactive.getTime():0,this.property.getTrackingType()>=c.TRACKING_TYPE.FullCookie&&(this.cookieService.set("fdse_"+this.property.id,this.sessionData,this.config.timeout*c.DATE.minute),this.campaignData.timestamp=(new Date).getTime(),this.cookieService.set("fdca_"+this.property.id,this.campaignData,365*c.DATE.day));var e=this.property.getTrackingType();e!==c.TRACKING_TYPE.ServerSideSession&&e!==c.TRACKING_TYPE.ServerSideUser||this.transport.send({type:c.MESSAGE_TYPE.SessionState,data:this.sessionData})}},e.prototype.updateCampaignData=function(e,t){this.campaignData.adId=e,this.campaignData.siteId=t,this.sessionData.campaign.sessionAdId=e,this.sessionData.campaign.sessionSiteId=t,this.sessionData.campaign.pageviewAdId=e,this.sessionData.campaign.pageviewSiteId=t,this.saveSession()},e.prototype.updateCampaignCustomParams=function(e){this.campaignData.customParams=e,this.sessionData.campaign.sessionCustomParameters=e,this.sessionData.campaign.pageViewCustomParameters=e,this.saveSession()},e.prototype.getSessionVariable=function(e){return this.sessionData.variables&&this.sessionData.variables.hasOwnProperty(e)&&this.sessionData.variables[e]},e.prototype.setSessionVariable=function(e,t){this.sessionData.variables||(this.sessionData.variables={}),this.sessionData.variables[e]=t,this.saveSession()},e.prototype.deleteSessionVariable=function(e){this.sessionData.variables&&this.sessionData.variables.hasOwnProperty(e)&&delete this.sessionData.variables[e],this.saveSession()},e.prototype.hasSessionVariable=function(e){return this.sessionData.variables&&this.sessionData.variables.hasOwnProperty(e)},e.prototype.switchTrackingType=function(e){e===c.TRACKING_TYPE.FullCookie&&(this.saveUser(),this.sendUser(!1)),e>=c.TRACKING_TYPE.ServerSideSession&&(this.send(),this.saveSession())},e.prototype.setTrackingTypeCookie=function(e,t){this.cookieService.set("fdTrackingType"+t,e,365*c.DATE.day),this.cookieService.set("fdTrackingType",e,365*c.DATE.day)},e.prototype.getUserId=function(){return this.user.id},e.prototype.getMessageUserId=function(){return this.property.getTrackingType()>=c.TRACKING_TYPE.ServerSideUser?this.user.id:null},e.prototype.getMessageSessionId=function(){return this.property.getTrackingType()>=c.TRACKING_TYPE.ServerSideSession?this.sessionData.id:null},e.prototype.isExpired=function(){if(!this.sessionData.createdAt)return!1;var e=Date.now()-this.sessionData.createdAt;return!this.expired&&e>=this.SESSION_EXPIRY&&(this.expire(),this.expired=!0),this.expired},e.prototype.navigate=function(){if(this.isExpired()){this.expired=!1;var e=this.getEnvState().location,t=a.uuidv4();this.sessionData=this.createNewSession(t,this.sessionData.hashCode,e,null),this.isNewSession=!0,this.isNewCampaign=!1,this.initStopwatch(0),this.property.getTrackingType()>=c.TRACKING_TYPE.FullCookie&&this.saveUser(),this.sendUser(!0)}else this.isNewSession=!1;this.sessionData.pageViewCount++,this.send(!0)},e.prototype.getRuntimeActive=function(){return this.stopWatchActive.getTime()},e.prototype.getRuntimeIdle=function(){return this.stopWatchIdle.getTime()},e.prototype.getRuntimeInactive=function(){return this.stopWatchInactive.getTime()},e.prototype.getRuntimeTotal=function(){return this.getRuntimeActive()+this.getRuntimeIdle()+this.getRuntimeInactive()},e.prototype.send=function(e){void 0===e&&(e=!1),this.isExpired()||(e&&this.saveSession(),this.property.checkBlocking()||this.property.getTrackingType()>=c.TRACKING_TYPE.ServerSideSession&&this.property.checkTracking("session")&&(this.sendedSessionHeartbeat||(this.transport.send(this.messageFactory.createSessionHeartbeatMessage(this.property.environmentId)),this.sendedSessionHeartbeat=!0),this.transport.send(this.messageFactory.createSessionMessage(this))))},e.prototype.sendUser=function(e){this.isExpired()||this.property.checkBlocking()||this.property.checkTracking("user")&&(this.sendedUserHeartbeat||(this.transport.send(this.messageFactory.createUserHeartbeatMessage(this.property.environmentId)),this.sendedUserHeartbeat=!0),this.transport.send(this.messageFactory.createUserMessage(this.property,this.user,e)))},e.prototype.expire=function(){this.expireServerSideSession(),this.removeSessionCookie()},e.prototype.initUser=function(e){e&&(this.userServerSide=!0),this.user=this.user||e||{id:a.uuidv4(),sessionCount:0};var t=this.property.getTrackingType();t>=c.TRACKING_TYPE.FullCookie&&(this.loadUser(),this.saveUser()),t>=c.TRACKING_TYPE.ServerSideUser&&this.sendUser(this.isNewSession)},e.prototype.loadUser=function(){var e=this.cookieService.get("fdusr");typeof e!==c.TYPE.undefined&&this.cookieService.remove("fdusr");var t=this.cookieService.getOrSet("fdusr_"+this.property.id,e||this.user,c.DATE.year);typeof t===c.TYPE.string?this.user={id:t,sessionCount:0}:this.user=t},e.prototype.saveUser=function(){this.cookieService.set("fdusr_"+this.property.id,this.user,c.DATE.year)},e.prototype.removeSessionCookie=function(){this.cookieService.remove("fdse_"+this.property.id)},e.prototype.removeCampaignCookie=function(){this.cookieService.remove("fdca_"+this.property.id)},e.prototype.removeCookies=function(){this.removeSessionCookie(),this.removeCampaignCookie()},e.prototype.expireServerSideSession=function(){var e=this.property.getTrackingType();e!==c.TRACKING_TYPE.ServerSideSession&&e!==c.TRACKING_TYPE.ServerSideUser||this.transport.send({type:c.MESSAGE_TYPE.SessionExpire,data:{propertyId:this.sessionData.propertyId,hashCode:this.sessionData.hashCode}})},e.prototype.sendInterval=function(){this.send(!0);var e=this.property.getUserVarsConfig();this.property.getTrackingType()>=c.TRACKING_TYPE.ServerSideUser&&null!==e&&Object.keys(e).length>0&&this.sendUser(!1)},e.prototype.initStopwatch=function(e){var t=this;this.stopWatchActive=new s.default(this.sessionData.active+e),this.stopWatchInactive=new s.default(this.sessionData.inactive),this.stopWatchIdle=new s.default(this.sessionData.idle),this.stopWatchAny=new s.default(this.sessionData.active+this.sessionData.inactive+this.sessionData.idle+e),this.stopWatchAny.toggle(!0),this.internalEventEmitter.on(c.CORE_EVENT.userStatusChange,function(status){t.stopWatchActive.toggle(status===c.USER_STATUS.active),t.stopWatchIdle.toggle(status===c.USER_STATUS.idle),t.stopWatchInactive.toggle(status===c.USER_STATUS.inactive)})},e.prototype.load=function(){var e=this.getEnvState(),t=a.uuidv4(),n=(new Date).getTime(),i=null,o=r({},e.location);e.referer&&o&&e.referer.host!==o.host&&(i=r({},e.referer)),this.sessionData||(this.sessionData=this.createNewSession(t,null,o,i)),this.campaignData||(this.campaignData={adId:null,siteId:null,customParams:null,timestamp:n}),this.property.getTrackingType()>=c.TRACKING_TYPE.ServerSideSession&&null===this.sessionData.id&&(this.sessionData.id=t,this.sessionData.createdAt=Date.now(),this.sessionData.location=o,this.sessionData.referer=i,this.sessionData.isThirdParty=!1),this.property.getTrackingType()>=c.TRACKING_TYPE.FullCookie&&(this.sessionData=this.cookieService.getDefault("fdse_"+this.property.id,this.sessionData),this.campaignData=this.cookieService.getDefault("fdca_"+this.property.id,this.campaignData)),this.sessionData.pageViewCount++,this.isNewSession=this.sessionData.id===t,this.isNewCampaign=this.isNewSession,this.isThirdPartySession(o.query)&&(this.sessionData.isThirdParty=!0);var s=this.environmentService.getQueryParameter(this.config.urlAdId),l=this.environmentService.getQueryParameter(this.config.urlSiteId),p=this.checkCustomCampaignParams();(s&&l||a.isNonEmptyObject(p))&&(this.isNewCampaign||this.sessionData.campaign.pageviewAdId===s&&this.sessionData.campaign.pageviewSiteId===l&&JSON.stringify(this.sessionData.campaign.pageViewCustomParameters)===JSON.stringify(p)||(this.isNewCampaign=!0),s&&(this.sessionData.campaign.sessionAdId=s,this.sessionData.campaign.pageviewAdId=s),l&&(this.sessionData.campaign.sessionSiteId=l,this.sessionData.campaign.pageviewSiteId=l),a.isNonEmptyObject(p)&&(this.sessionData.campaign.sessionCustomParameters=p,this.sessionData.campaign.pageViewCustomParameters=p),this.campaignData.adId=this.sessionData.campaign.sessionAdId,this.campaignData.siteId=this.sessionData.campaign.sessionSiteId,this.campaignData.customParams=this.sessionData.campaign.sessionCustomParameters,this.campaignData.timestamp=n),this.property.getPropertyStore().dispatch(u.loadEvents(this.sessionData.events))},e.prototype.checkCustomCampaignParams=function(){var e,t={},n=this.environmentService.getQuery();if(!a.isNonEmptyObject(n))return t;var r=Object.keys(n),i=function(i){if(!n.hasOwnProperty(r[i]))return"continue";(null===(e=o.config.customCampaignUrlParams)||void 0===e?void 0:e.some(function(e){return e.indexOf("*")>=0?new RegExp(e.replace(/\*/g,".*"),"gi").test(r[i]):e.toLowerCase()===r[i].toLowerCase()}))&&(t[r[i]]=n[r[i]])},o=this;for(var s in r)i(s);return t},e.prototype.createNewSession=function(e,t,n,r){return{id:e,propertyId:this.property.id,active:0,inactive:0,idle:0,events:{},campaign:{sessionAdId:null,sessionSiteId:null,sessionCustomParameters:null,pageviewAdId:null,pageviewSiteId:null,pageViewCustomParameters:null},location:n,referer:r,pageViewCount:0,variables:{},isThirdParty:!1,hashCode:t,createdAt:Date.now()}},e.prototype.isThirdPartySession=function(e){return Object.keys(e).some(function(e){if(!e)return!1;var t=e.toLowerCase();return t.startsWith("utm_")||"cid"===t||"gclid"===t||"campid"===t})},e.prototype.getEnvState=function(){return this.environmentService.getStore().getState().env},e.prototype.clearOldCookies=function(){var e=this;if(""!==document.cookie){var t=document.cookie.split("; ").reduce(function(e,t){var n=i(t.split("=")),r=n[0],o=n.slice(1);return e[r]=o.join("="),e},{}),n=0,r=[];if(Object.keys(t).map(function(t){if(-1!==t.indexOf("fdca_")||-1!==t.indexOf("fdse_")||-1!==t.indexOf("fdusr_")){var i=t.split("_")[1];-1===r.indexOf(i)&&i!==e.property.id&&(n++,r.push(i))}}),n>4){var o=[];r.map(function(e){var n=t["fdse_"+e];if(n&&e){var r=JSON.parse(n);o.push({propertyId:e,timestamp:r.createdAt})}}),o.sort(function(e,t){return e.timestamp?t.timestamp?e.timestamp-t.timestamp:1:-1});for(var s=o.length;s>4;s--){var a=o[s-1];this.cookieService.remove("fdse_"+a.propertyId),this.cookieService.remove("fdca_"+a.propertyId),this.cookieService.remove("fdusr_"+a.propertyId)}}}},e}());t.Session=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transport=void 0;var r=n(101),i=(new(n(1).Debug)("Transport"),function(){function e(e){var t=this;for(this.configs=e,this.transports={},this.transportStack=[],this.currentTransportIndex=0,this.currentTransportConnected=!1,this.queue=[],this.configs.forEach(function(e){var n=r.TransportFactory.createTransport(e);t.transports[e.type]=n,t.transportStack.push(e.type),n.onSuccess(function(e){t.currentTransportIndex=t.transportStack.indexOf(e.type),t.currentTransport=t.findTransportByIndex(t.currentTransportIndex),t.currentTransportConnected=!0,t.handleQueue()}),n.onError(function(e){var n=t.transportStack.indexOf(e.type);n<t.currentTransportIndex||(t.currentTransportConnected=!1,t.canDowngrade(++n)&&t.findTransportByIndex(n).connect())})}),this.currentTransport=this.findTransportByIndex(this.currentTransportIndex);!this.currentTransport.isSupported();)this.currentTransportIndex++,this.currentTransport=this.findTransportByIndex(this.currentTransportIndex);this.currentTransport.connect(),setInterval(function(){var e=t.currentTransportIndex-1;t.canUpgrade(e)&&t.findTransportByIndex(e).connect()},5e3)}return e.prototype.send=function(e){this.currentTransportConnected?this.getTransport().send(e).then().catch():this.queueMessage(e)},e.prototype.queueMessage=function(e){if("user"!==e.type){var t=this.queue.findIndex(function(t){return t.type===e.type&&t.data.id===e.data.id});t<0?this.queue.push(e):this.queue[t]=e}else this.queue.push(e)},e.prototype.canUpgrade=function(e){if(e<0)return!1;var t=this.findTransportByIndex(e);return t&&t.isSupported()},e.prototype.canDowngrade=function(e){if(e>=this.transportStack.length)return!1;var t=this.findTransportByIndex(e);return t&&t.isSupported()},e.prototype.findTransportByIndex=function(e){var t=this.transportStack[e];return this.transports[t]},e.prototype.getTransport=function(){return this.currentTransport},e.prototype.handleQueue=function(){for(;this.queue.length>0;){var e=this.queue.shift();this.send(e)}},e}());t.Transport=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransportFactory=void 0;var r=n(102),i=n(103),o=function(){function e(){}return e.createTransport=function(e){switch(e.type){case"pixel":return new r.PixelTransport(e);case"socket":return new i.SocketTransport(e)}return null},e}();t.TransportFactory=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.PixelTransport=void 0;var i=n(27),o=(new(n(1).Debug)("PixelTransport"),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.connected=!1,t}return r(t,e),t.prototype.send=function(e){var t=this;return new Promise(function(n,r){var i=t.config.endpoint,o=new Image;o.onerror=function(e){t.connected=!1,r(e)},o.onload=function(){t.connected=!0,n(!0)},o.src=i+"?type="+e.type+"&payload="+encodeURIComponent(JSON.stringify(e.data))})},t.prototype.isSupported=function(){return!0},t.prototype.isConnected=function(){return this.connected},t.prototype.connect=function(){var e=this;this.send({type:"ping",data:{}}).then(function(){e.connected=!0,e.connectionSuccess()}).catch(function(){e.connected=!1,e.connectionError()})},t.prototype.getName=function(){return"pixel"},t}(i.AbstractTransport));t.PixelTransport=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SocketTransport=void 0;var i=n(27),o=(new(n(1).Debug)("SocketTransport"),function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.connected=!1,t}return r(t,e),t.prototype.isSupported=function(){return"function"==typeof t.getWebSocketConstructor()},t.prototype.isConnected=function(){return this.connected},t.prototype.connect=function(){var e=this;this.isSupported()||this.connectionError();var n=t.getWebSocketConstructor();try{this.socket=new n(this.config.endpoint),this.socket.onopen=function(){e.connected=!0,e.connectionSuccess()},this.socket.onerror=function(){e.connected=!1,e.connectionError()},this.socket.onclose=function(){e.connected=!1,e.connectionError()}}catch(e){this.connected=!1,this.connectionError()}},t.prototype.getName=function(){return"socket"},t.prototype.send=function(e){var t=this;return new Promise(function(n,r){t.socket.onmessage=function(e){e.data.status>=200?n(e.data):r(e.data)};try{t.socket.send(JSON.stringify(e)),n()}catch(e){r(e)}})},t.getWebSocketConstructor=function(){return window.WebSocket||window.MozWebSocket},t}(i.AbstractTransport));t.SocketTransport=o},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MessageFactory=void 0;var i=n(2),o=n(0),s=n(105),a=function(){function e(e,t,n){this.store=e,this.scrollDepthService=t,this.documentService=n}return e.prototype.createUserMessage=function(e,t,n){var r=e.getUserVarsConfig(),i=e.getSession(),s={id:t.id,propertyId:e.id,values:e.getVariableValues(r),consent:e.getTrackingType(),sessionIncrement:n?1:0,sessionId:i.sessionData.id};return{type:o.MESSAGE_TYPE.User,data:s}},e.prototype.createSessionMessage=function(e){var t=this.store.getState(),n=r({},t.env.userAgent),s=r({},t.env.location),a=n.device,c=n.os;delete n.device,delete n.os;var u=e.property,l=u.getConfig(),p=null;l.session&&l.session.variables&&(p=l.session.variables);var h=e.property.checkFlags(o.FLAG_FREQUENCY.Session),f=e.getCampaignData("session"),d=u.getVariableValues(p);i.isNonEmptyObject(f.customParams)&&(d=r(r({},d),{__customCampaignParams:f.customParams}));var y={id:e.getMessageSessionId(),userId:e.getMessageUserId(),propertyId:e.property.id,adId:f.adId,siteId:f.siteId,runtimeActive:e.getRuntimeActive(),runtimeIdle:e.getRuntimeIdle(),runtimeInactive:e.getRuntimeInactive(),runtimeTotal:e.getRuntimeTotal(),userAgent:n,device:a,os:c,location:e.sessionData.location||null,referer:e.sessionData.referer||null,lastPageView:s,pageViewCount:e.sessionData.pageViewCount,values:d,userValues:u.getVariableValues(u.getUserVarsConfig()),consent:u.getTrackingType(),hashCode:e.sessionData.hashCode,flags:h};return e.sessionData.temporary&&(y.values.temporary=e.sessionData.temporary),{type:o.MESSAGE_TYPE.Session,data:y}},e.prototype.createPageViewMessage=function(e){var t=e.getSession(),n=e.getPageView(),s=e.getConfig(),a=null;s.pageView&&s.pageView.variables&&(a=s.pageView.variables);var c=this.store.getState(),u=t.getCampaignData("page_view"),l=t.isNewCampaign&&null!==u.adId&&null!==u.siteId,p=e.checkFlags(o.FLAG_FREQUENCY.PageView),h=e.getVariableValues(a);i.isNonEmptyObject(u.customParams)&&(h=r(r({},h),{__customCampaignParams:u.customParams}));var f={id:n.id,userId:t.getMessageUserId(),propertyId:n.property.id,sessionId:t.getMessageSessionId(),adId:u.adId,siteId:u.siteId,click:l,runtimeActive:n.getRuntimeActive(),runtimeIdle:n.getRuntimeIdle(),runtimeInactive:n.getRuntimeInactive(),runtimeTotal:n.getRuntimeTotal(),sessionRuntimeActive:n.getSessionRuntimeActive(),sessionRuntimeTotal:n.getSessionRuntimeTotal(),location:c.env.location,referer:c.env.referer,maxScroll:this.scrollDepthService.getMaxDepth(),exitScroll:this.scrollDepthService.getCurrentDepth(),values:h,consent:e.getTrackingType(),documentTitle:this.documentService.getTitle(),flags:p};return{type:o.MESSAGE_TYPE.PageView,data:f}},e.prototype.createEventMessage=function(e,t,n,s){var a=e.getSession(),c=e.getPageView(),u={};for(var l in n.values)if(n.values.hasOwnProperty(l)){var p=n.values[l],h=i.cleanValue(e.getActionValue(p));if(null===h||void 0===h||""===h||"object"==typeof h&&0===Object.keys(h).length)continue;u[l]=h}var f=a.getCampaignData("event",t);i.isNonEmptyObject(f.customParams)&&(u=r(r({},u),{__customCampaignParams:f.customParams}));var d={id:i.uuidv4(),userId:a.getMessageUserId(),propertyId:e.id,sessionId:a.getMessageSessionId(),pageViewId:c.id,eventId:t.id,values:u,adId:f.adId,siteId:f.siteId,consent:e.getTrackingType(),selector:s,scope:t.scope,sessionRuntimeActive:a.getRuntimeActive(),sessionRuntimeTotal:a.getRuntimeTotal()};return{type:o.MESSAGE_TYPE.Event,data:d}},e.prototype.createEventHeartbeatMessage=function(e,t){return{type:o.MESSAGE_TYPE.Heartbeat,data:{id:i.uuidv4(),eventId:e,environmentId:t,type:s.HeartbeatType.Event}}},e.prototype.createPageViewHeartbeatMessage=function(e){return{type:o.MESSAGE_TYPE.Heartbeat,data:{id:i.uuidv4(),environmentId:e,type:s.HeartbeatType.PageView}}},e.prototype.createSessionHeartbeatMessage=function(e){return{type:o.MESSAGE_TYPE.Heartbeat,data:{id:i.uuidv4(),environmentId:e,type:s.HeartbeatType.Session}}},e.prototype.createUserHeartbeatMessage=function(e){return{type:o.MESSAGE_TYPE.Heartbeat,data:{id:i.uuidv4(),environmentId:e,type:s.HeartbeatType.User}}},e}();t.MessageFactory=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeartbeatType=void 0,function(e){e.PageView="page-view",e.Session="session",e.User="user",e.Event="event"}(t.HeartbeatType||(t.HeartbeatType={}))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.VariableFactory=void 0;var i=n(0),o=n(107),s=n(108),a=n(109),c=n(111),u=n(112),l=n(114),p=n(115),h=n(116),f=n(117),d=function(){function e(){}return e.create=function(t,n){return e.classMap.hasOwnProperty(n.type)?new e.classMap[n.type](t,n):null},e.classMap=((r={})[i.VAR_TYPE.js]=o.JavaScriptVariable,r[i.VAR_TYPE.env]=u.EnvironmentVariable,r[i.VAR_TYPE.cookie]=s.CookieVariable,r[i.VAR_TYPE.dom]=a.DOMSelectorVariable,r[i.VAR_TYPE.dataLayer]=c.DataLayerVariable,r[i.VAR_TYPE.dataLayerPush]=c.DataLayerVariable,r[i.VAR_TYPE.localStorage]=l.LocalStorageVariable,r[i.VAR_TYPE.sessionStorage]=p.SessionStorageVariable,r[i.VAR_TYPE.session]=h.SessionVariable,r[i.VAR_TYPE.serverSide]=f.ServerSideVariable,r),e}();t.VariableFactory=d},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.JavaScriptVariable=void 0;var i=n(3),o=n(0),s=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getValue=function(){var e=s.getObjectProperty(window,this.config.key,this.config.defaultValue);return e=s.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue()),s.setObjectProperty(window,this.config.key,t),e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){this.setValue(null)},t.prototype.exists=function(){return typeof s.getObjectProperty(window,this.config.key,null,!1)!==o.TYPE.undefined},t}(i.AbstractVariable);t.JavaScriptVariable=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&o(t,e,n);return s(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CookieVariable=void 0;var c=n(3),u=n(0),l=a(n(28)),p=n(2),h=function(e){function t(t,n){var r,i=e.call(this,t,n)||this;return i.property=t,i.config=n,i.options={},i.options={secure:"https:"===window.location.protocol,path:"/"},i.options.secure&&(i.options.sameSite="none"),(null===(r=i.config)||void 0===r?void 0:r.includeSubdomain)&&(i.options.domain=t.host.domain),i}return r(t,e),t.prototype.getValue=function(){var e=l.getJSON(this.config.key);return typeof e===u.TYPE.undefined&&(e=this.config.defaultValue),e=p.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue());var n=i({},this.options);+this.config.param&&(n.expires=this.getExpiryDate(+this.config.param*u.DATE.hour)),l.set(this.config.key,t,n),e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){l.remove(this.config.key,this.options),e.prototype.deleteValue.call(this)},t.prototype.exists=function(){return typeof l.get(this.config.key)!==u.TYPE.undefined},t.prototype.getExpiryDate=function(e){var t=new Date;return new Date(t.getTime()+e)},t}(c.AbstractVariable);t.CookieVariable=h},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.DOMSelectorVariable=void 0;var i=n(3),o=n(0),s=n(110),a=n(2),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getValue=function(){var e,t=this.getElement();if(null===t)return this.config.defaultValue;try{var n=this.getConfigKey();if(typeof(e=s.getFromPath(t,n))===o.TYPE.undefined||null===e)e=a.getElementAttributes(t)[n];if(typeof e===o.TYPE.undefined)return this.config.defaultValue}catch(e){return this.config.defaultValue}return e=a.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue());var n=this.getElement();null!==n&&s.setToPath(n,this.getConfigKey(),t),e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){var t=this.getElement();typeof t!==o.TYPE.undefined&&s.removeAtPath(t,this.getConfigKey()),e.prototype.deleteValue.call(this)},t.prototype.exists=function(){var e=this.getElement();if(null===e)return!1;var t=this.getConfigKey(),n=s.getFromPath(e,t);typeof n!==o.TYPE.undefined&&null!==n||(n=a.getElementAttributes(e)[t]);return typeof n!==o.TYPE.undefined&&null!==n},t.prototype.getConfigKey=function(){return"Custom"===this.config.key?this.config.param:this.config.key},t.prototype.getElement=function(){return this.property.querySelectorService.querySelector(this.config.selector)},t}(i.AbstractVariable);t.DOMSelectorVariable=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setToPath=function(e,t,n,r){void 0===r&&(r=".");var i,o=t.split(r);for(i=0;i<o.length-1;i++)e=e[o[i]];e[o[i]]=n},t.getFromPath=function(e,t,n){void 0===n&&(n=".");var r,i=t.split(n);for(r=0;r<i.length-1;r++)e=e[i[r]];return e[i[r]]},t.removeAtPath=function(e,t,n){void 0===n&&(n=".");var r,i=t.split(n);for(r=0;r<i.length-1;r++)e=e[i[r]];delete e[i[r]]}},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.DataLayerVariable=void 0;var i=n(3),o=n(2),s=n(0),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dataLayerName=t.property.getConfig().dataLayerName,t}return r(t,e),t.prototype.getValue=function(){var e=o.getObjectProperty(this.getDataLayerState(),this.config.key,this.config.defaultValue);return e=o.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue());var n=this.createNestedObject(this.config.key,t);window.hasOwnProperty(this.dataLayerName)&&window[this.dataLayerName].push(n),e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){this.setValue(null),e.prototype.deleteValue.call(this)},t.prototype.exists=function(){return typeof o.getObjectProperty(this.getDataLayerState(),this.config.key,null,!1)!==s.TYPE.undefined},t.prototype.getDataLayerState=function(){return this.property.getDataLayerStore().getState()},t.prototype.createNestedObject=function(e,t){var n={},r=e.split("."),i=r.pop();return r.reduce(function(e,t){return e[t]=e[t]||{}},n)[i]=t,n},t}(i.AbstractVariable);t.DataLayerVariable=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.EnvironmentVariable=void 0;var i=n(3),o=n(2),s=n(0),a=n(113),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.DATE_TIME_CONFIG_KEY="env.environment.date_time",t}return r(t,e),t.prototype.getValue=function(){if(this.config.key===this.DATE_TIME_CONFIG_KEY)return new Date;var e=a.formatConfigKey(this.config.key),t=o.getObjectProperty(this.property.getEnvState(),e,this.config.defaultValue);return o.cleanValue(t)},t.prototype.setValue=function(t){e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){e.prototype.deleteValue.call(this)},t.prototype.exists=function(){return this.config.key===this.DATE_TIME_CONFIG_KEY||typeof o.getObjectProperty(this.property.getEnvState(),this.config.key,null,!1)!==s.TYPE.undefined},t}(i.AbstractVariable);t.EnvironmentVariable=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatConfigKey=void 0,t.formatConfigKey=function(e){return e.match(/-/gm)&&(e=e.split(".").reduce(function(e,t){return e+"['"+t+"']"},"")),e}},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageVariable=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getStorage=function(){try{return window.localStorage}catch(e){return null}},t}(n(29).AbstractBrowserStorageVariable);t.LocalStorageVariable=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorageVariable=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getStorage=function(){try{return window.sessionStorage}catch(e){return null}},t}(n(29).AbstractBrowserStorageVariable);t.SessionStorageVariable=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.SessionVariable=void 0;var i=n(3),o=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getValue=function(){var e=this.property.getSession().getSessionVariable(this.config.id);return e||(e=this.config.defaultValue),e=o.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue()),this.property.getSession().setSessionVariable(this.config.id,t),e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){this.property.getSession().deleteSessionVariable(this.config.id),e.prototype.deleteValue.call(this)},t.prototype.exists=function(){return this.property.getSession().hasSessionVariable(this.config.id)},t}(i.AbstractVariable);t.SessionVariable=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ServerSideVariable=void 0;var i=n(3),o=n(0),s=n(2),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=void 0,t}return r(t,e),t.prototype.getValue=function(){var e=this.value;return this.exists()||(e=this.config.defaultValue),s.cleanValue(e)},t.prototype.setValue=function(t){this.previousValue=JSON.stringify(this.getValue()),this.value=t;var n={id:this.config.id,hashCode:this.hashCodeKey,operation:o.SERVER_SIDE_VARIABLE_OPERATION.Set,value:this.value,ttl:+this.config.param};this.property.getTransport().send({type:o.MESSAGE_TYPE.Variable,data:n}),e.prototype.setValue.call(this,t)},t.prototype.deleteValue=function(){this.value=void 0;var t={id:this.config.id,hashCode:this.hashCodeKey,operation:o.SERVER_SIDE_VARIABLE_OPERATION.Delete};this.property.getTransport().send({type:o.MESSAGE_TYPE.Variable,data:t}),e.prototype.deleteValue.call(this)},t.prototype.exists=function(){return typeof this.value!==o.TYPE.undefined},t.prototype.initValue=function(e){this.hashCodeKey=e.hashCode,this.value=e.value},t}(i.AbstractVariable);t.ServerSideVariable=a},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PageView=void 0;var i=r(n(6)),o=n(0),s=n(2),a=(new(n(1).Debug)("PageView"),function(){function e(e,t){this.property=e,this.config=t,this.sessionRuntimeActive=0,this.sessionRuntimeTotal=0,this.sendedPageViewHeartbeat=!1,this.id=s.uuidv4(),this.sessionRuntimeActive=e.getSession().getRuntimeActive(),this.sessionRuntimeTotal=e.getSession().getRuntimeTotal(),this.internalEventEmitter=e.internalEventEmitter,this.transport=e.transport,this.messageFactory=e.messageFactory}return e.prototype.initialize=function(){var e=this;this.initStopwatches(),this.send(),this.property.eventEmitter.dispatch(o.CORE_EVENT.pageView),this.internalEventEmitter.on(o.CORE_EVENT.windowLoad,function(){e.send()}),this.internalEventEmitter.on(o.CORE_EVENT.windowBeforeUnload,function(){e.send()}),this.internalEventEmitter.on(o.CORE_EVENT.pageViewChange,function(){e.send()}),this.internalEventEmitter.on(o.CORE_EVENT.userStatusChange,function(status){var t,n=((t={})[o.USER_STATUS.active]=4e3,t[o.USER_STATUS.idle]=1e4,t[o.USER_STATUS.inactive]=6e4,t);e.send(),window.clearInterval(e.updateInterval),e.updateInterval=window.setInterval(function(){e.send()},n[status])}),this.internalEventEmitter.on(o.CORE_EVENT.dataLayerPush,function(t){t===e.property.id&&e.send()})},e.prototype.switchTrackingType=function(e){e>=o.TRACKING_TYPE.PageViewOnly&&this.send()},e.prototype.navigate=function(e){e&&this.send(),this.reset(),this.send(),this.property.eventEmitter.dispatch(o.CORE_EVENT.pageView)},e.prototype.getRuntimeActive=function(){return this.stopWatchActive.getTime()},e.prototype.getRuntimeIdle=function(){return this.stopWatchIdle.getTime()},e.prototype.getRuntimeInactive=function(){return this.stopWatchInactive.getTime()},e.prototype.getRuntimeTotal=function(){return this.getRuntimeActive()+this.getRuntimeIdle()+this.getRuntimeInactive()},e.prototype.getSessionRuntimeActive=function(){return this.sessionRuntimeActive},e.prototype.getSessionRuntimeTotal=function(){return this.sessionRuntimeTotal},e.prototype.send=function(){this.property.getSession().isExpired()||this.property.checkBlocking()||this.property.getTrackingType()>=o.TRACKING_TYPE.PageViewOnly&&this.property.checkTracking("page_view")&&(this.sendedPageViewHeartbeat||(this.transport.send(this.messageFactory.createPageViewHeartbeatMessage(this.property.environmentId)),this.sendedPageViewHeartbeat=!0),this.transport.send(this.messageFactory.createPageViewMessage(this.property)))},e.prototype.initStopwatches=function(){var e=this,t=s.getTimestampOffset(this.property.initTimestamp);this.reset(t),this.stopWatchAny.toggle(!0),this.internalEventEmitter.on(o.CORE_EVENT.userStatusChange,function(status){e.stopWatchActive.toggle(status===o.USER_STATUS.active),e.stopWatchIdle.toggle(status===o.USER_STATUS.idle),e.stopWatchInactive.toggle(status===o.USER_STATUS.inactive)})},e.prototype.reset=function(e){void 0===e&&(e=0),this.id=s.uuidv4(),this.sessionRuntimeActive=this.property.getSession().getRuntimeActive(),this.sessionRuntimeTotal=this.property.getSession().getRuntimeTotal(),this.stopWatchActive?this.stopWatchActive.reset(e):this.stopWatchActive=new i.default(e),this.stopWatchInactive?this.stopWatchInactive.reset(e):this.stopWatchInactive=new i.default(e),this.stopWatchIdle?this.stopWatchIdle.reset(e):this.stopWatchIdle=new i.default(e),this.stopWatchAny?this.stopWatchAny.reset(e):this.stopWatchAny=new i.default(e)},e}());t.PageView=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlagParser=void 0;var r=n(10),i=function(){function e(e){this.store=e}return e.prototype.evaluate=function(e,t){var n=this.createContext(e);try{return t(n.$a,n.value)}catch(e){return!1}},e.prototype.createContext=function(e){var t=this.store.getState(),n=t.env&&t.env.location||null,i=e.getSession().sessionData.location||null,o=t.env&&t.env.geo||null,s=t.env&&t.env.client&&t.env.client.ipAddress||null,a=t.env&&t.env.client&&t.env.client.datacenterName||null,c=t.env&&t.env.client&&t.env.client.crawlerFamily||null;return{$a:r.assert,value:{session:{url:i,data_center_name:a,crawler_family:c},pageview:{url:n},ip:s,geo:o}}},e}();t.FlagParser=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.domElementPath=void 0;var r=["html","body"];function i(e){var t=[];return e.forEach(function(e){(function(e,t){var n=""===t?e:t+" > "+e;return document.querySelectorAll(n).length>1})(e.selector,t.join(" > "))&&(e.selector+=":nth-of-type("+function(e,t){void 0===t&&(t=!0);for(var n=e,r=1;null!==n.previousElementSibling;)t&&n.previousElementSibling.nodeName!==e.nodeName||r++,n=n.previousElementSibling;return r}(e.element)+")"),t.push(e.selector)}),t.join(" > ")}t.domElementPath=function(e){if(!(e instanceof HTMLElement))return null;try{return i(function(e){for(var t=[];e;){var n=e.nodeName.toLowerCase(),i=e.id?"#"+e.id:"",o="";e.className&&"string"==typeof e.className&&(o="."+e.className.trim().replace(/\s+/g,".").replace(/[:*+?^${}()|[\]\\]/gi,"\\$&"));var s=i+o;r.includes(n)&&(s=""),t.unshift({element:e,selector:n+s}),e=e.parentNode!==document?e.parentNode:void 0}return t}(e))}catch(e){return null}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(s,a)}c((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.DependencyManager=void 0;var s;new(n(1).Debug)("DependencyManager");!function(e){e[e.Loading=0]="Loading",e[e.Loaded=1]="Loaded",e[e.Error=2]="Error"}(s||(s={}));var a=function(){function e(e,t){var n,r;if(this.dependencies={},e)try{for(var i=o(e),s=i.next();!s.done;s=i.next()){var a=s.value;this.dependencies[a.key]=a}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}this.internalEventEmitter=t}return e.prototype.loadDependencyByKey=function(e){return r(this,void 0,void 0,function(){var t;return i(this,function(n){switch(n.label){case 0:switch(t=this.getDependencyByKey(e),t.status){case s.Loaded:return[3,1];case s.Loading:return[3,2];case s.Error:return[3,5]}return[3,6];case 1:return[2];case 2:return[4,this.waitUntilReadyByDependency(t)];case 3:return n.sent(),[4,this.loadDependencyByKey(t.key)];case 4:return n.sent(),[2];case 5:throw new Error('Unable to load url "'+t.url+'"');case 6:return[4,this.loadScriptByDependency(t)];case 7:n.sent(),n.label=8;case 8:return[2]}})})},e.prototype.getDependencyByKey=function(e){if(!(e in this.dependencies))throw new Error('Unkown dependency "'+e+'".');return this.dependencies[e]},e.prototype.waitUntilReadyByDependency=function(e){return new Promise(function(t){var n=setInterval(function(){e.status&&(t(),clearInterval(n))},50)})},e.prototype.loadScriptByDependency=function(e){return r(this,void 0,void 0,function(){var t,n=this;return i(this,function(r){return e.status=s.Loading,t=e.url.includes("//localhost")?"?date_time="+(new Date).toISOString():"",[2,new Promise(function(r,i){var o=document.createElement("script");o.async=!0,o.type="module",o.src=e.url+t,o.onload=function(){e.status=s.Loaded,n.internalEventEmitter.dispatch("dependency_"+e.key+"_loaded",e),r()},o.onerror=function(t){e.status=s.Error,n.internalEventEmitter.dispatch("dependency_"+e.key+"_failed",e),i(new Error('Unable to load url "'+e.url+'"'))},document.getElementsByTagName("head")[0].appendChild(o)})]})})},e}();t.DependencyManager=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptService=void 0;new(n(1).Debug)("Script Service");var r=function(){function e(){this.scripts={}}return e.prototype.attach=function(e,t,n){var r=this;if(void 0===n&&(n=!0),!this.scripts[e]){var i=document.createElement("script");i.async=!0,i.id=e,i.src=t;var o=document.getElementsByTagName("script")[0];if(o.parentNode.insertBefore(i,o),this.scripts[e]={scriptElement:i,state:!1,callbacks:[]},!n)return;i.onload=function(){return r.notify(e)}}},e.prototype.subscribe=function(e,t){if(!this.scripts[e])throw new Error("Script element does not exist");this.scripts[e].state?t():this.scripts[e].callbacks.push(t)},e.prototype.notify=function(e){if(!this.scripts[e])throw new Error("Script element does not exist");this.scripts[e].callbacks=this.scripts[e].callbacks.filter(function(e){return e(),!1})},e.prototype.delete=function(e){if(!this.scripts[e])throw new Error("Script element does not exist");var t=this.scripts[e].scriptElement;t.parentNode.removeChild(t),delete this.scripts[e]},e}();t.ScriptService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentService=void 0;var r=function(){function e(){}return e.prototype.getTitle=function(){return document.title},e}();t.DocumentService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollDepthService=void 0;var r=n(0),i=(new(n(1).Debug)("ScrollDepthService"),function(){function e(e){var t=this;this.internalEventEmitter=e,this.INTERVAL_TIME=10,this.INTERVAL_MULTIPLIER_TO_SECOND=100,this.UP_DIRECTION="up",this.DOWN_DIRECTION="down",this.ANY_DIRECTION="any",this.running=!1,this.initalized=!1,this.maxDepth=0,this.currentDepth=0,this.previousDepth=0,this.velocity=0,this.currentPixelPosition=0,this.previousPixelPosition=0,this.callbacks=[],this.onScrollEndCallbacks=[],this.scrollTimeoutHandler=-1,this.internalEventEmitter.on(r.CORE_EVENT.windowLoad,function(){document.addEventListener("scroll",function(){-1!==t.scrollTimeoutHandler&&clearInterval(t.scrollTimeoutHandler),t.scrollTimeoutHandler=window.setTimeout(function(){t.onScrollEndCallbacks.forEach(function(e){return e.callback(t.currentDepth)})},t.INTERVAL_TIME),t.running||(t.running=!0,t.onScroll(),window.setTimeout(function(){t.running=!1},t.INTERVAL_TIME))}),t.initalized=!0,t.onScroll(!0)})}return e.prototype.getMaxDepth=function(){return this.maxDepth},e.prototype.getCurrentDepth=function(){return this.currentDepth},e.prototype.onValue=function(e,t,n,r,i){this.callbacks.push({value:e,direction:t,from:n,removeAfterExecution:r,callback:i}),this.initalized&&this.checkCallbacks()},e.prototype.onEnd=function(e){this.onScrollEndCallbacks.push({callback:e})},e.prototype.onScroll=function(t){void 0===t&&(t=!1),this.previousDepth=this.currentDepth,this.currentDepth=e.scrollPercent(),this.previousPixelPosition=this.currentPixelPosition,this.currentPixelPosition=e.scrollPosition(),this.maxDepth<=this.currentDepth&&(this.maxDepth=this.currentDepth),t||(this.velocity=(this.currentPixelPosition-this.previousPixelPosition)/this.INTERVAL_TIME,this.velocity=Math.abs(this.velocity*this.INTERVAL_TIME*this.INTERVAL_MULTIPLIER_TO_SECOND)),this.currentDepth!==this.previousDepth&&this.checkCallbacks()},e.prototype.checkCallbacks=function(){var e=this;this.callbacks=this.callbacks.filter(function(t){return t.direction===e.ANY_DIRECTION?(t.callback(e.currentDepth,e.currentPixelPosition,e.velocity),!t.removeAfterExecution):t.direction===e.DOWN_DIRECTION&&(e.maxDepth>=t.value||-1===t.value)?(t.callback(e.currentDepth,e.currentPixelPosition,e.velocity),!t.removeAfterExecution):!(t.direction===e.UP_DIRECTION&&(e.currentDepth<=t.value||-1===t.value)&&e.maxDepth>=t.from)||(t.callback(e.currentDepth,e.currentPixelPosition,e.velocity),!t.removeAfterExecution)})},e.scrollPercent=function(){var e=document.documentElement,t=document.body,n="scrollTop",r="scrollHeight",i=e[n]||t[n],o=e[r]||t[r],s=Math.ceil((i+e.clientHeight)/o*100);return s>100?100:s<0?0:s},e.scrollPosition=function(){return(window.pageYOffset||document.documentElement.scrollTop)-(document.documentElement.clientTop||0)},e}());t.ScrollDepthService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySelectorService=void 0;new(n(1).Debug)("QuerySelectorService");var r=function(){function e(e){this.selectorFunction=e,this.selectorFunction}return e.prototype.querySelectorAll=function(e){return this.isSelectorActive()?this.runFunction(e):document.querySelectorAll(e)},e.prototype.querySelector=function(e){if(!this.isSelectorActive())return document.querySelector(e);var t=this.runFunction(e);return 0===t.length?null:t[0]},e.prototype.isSelectorActive=function(){return this.selectorFunction instanceof Function},e.prototype.isNodeList=function(e){var t=Object.prototype.toString.call(e);return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(t)&&"number"==typeof e.length&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},e.prototype.runFunction=function(e){var t=null;try{t=this.selectorFunction(e)}catch(e){return[]}return t&&(Array.isArray(t)||this.isNodeList(t))?t:[]},e}();t.QuerySelectorService=r},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CookieService=void 0;var a=s(n(28)),c=n(0),u=function(){function e(e){this.options={},this.options={domain:e.domain,secure:"https:"===window.location.protocol},this.options.secure&&(this.options.sameSite="none"),this.cookiesAPI=a.withConverter({write:function(e,t){return e.toString().replace(/;/g,"%3B")},read:function(e,t){var n=e.replace(/%3B/g,";");return n.startsWith("{%22")?JSON.parse(unescape(n)):n}})}return e.prototype.get=function(e){return this.cookiesAPI.getJSON(e)},e.prototype.set=function(e,t,n){this.cookiesAPI.set(e,t,r({expires:this.getExpiryDate(n)},this.options))},e.prototype.getDefault=function(e,t){var n=this.get(e);return typeof n===c.TYPE.undefined&&(n=t),n},e.prototype.getOrSet=function(e,t,n){var r=this.get(e);return typeof r===c.TYPE.undefined&&(r=t,this.set(e,r,n)),r},e.prototype.remove=function(e){a.remove(e,this.options)},e.prototype.getExpiryDate=function(e){var t=new Date;return new Date(t.getTime()+e)},e}();t.CookieService=u},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.HTML5VideoTrigger=void 0;var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.initialize=function(e){var t=this;if(!e)throw new Error("Video element can not be undefined");if(!(e instanceof HTMLVideoElement||e instanceof HTMLAudioElement))throw new Error("Invalid video or audio element tag");var n=e;n.addEventListener("play",this.play.bind(this)),n.addEventListener("pause",this.pause.bind(this)),n.addEventListener("waiting",this.pause.bind(this)),n.addEventListener("timeupdate",function(){return t.timeUpdate(n.currentTime,n.duration)}),n.addEventListener("ended",this.ended.bind(this))},t}(n(18).AbstractVideoTrigger);t.HTML5VideoTrigger=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.YoutubeVideoTrigger=void 0;var i=n(18),o=n(0),s=n(2),a=function(e){function t(t,n){var r=e.call(this)||this;return r.players={},r.CURRENT_TIME_INTERVAL=250,r.INSTANCE_NAME="youtube-script-instance",r.YOUTUBE_DIV_API_URL="https://www.youtube.com/player_api",r.YOUTUBE_IFRAME_API_URL="https://www.youtube.com/iframe_api",r.YOUTUBE_IFRAME_API_URL_ENABLE_ATTRIBUTE="enablejsapi=1",r.scriptService=t,r.internalEventEmitter=n,r}return r(t,e),t.prototype.initialize=function(e){var t=this;if(!e)throw new Error("Video element can not be undefined");if(!(e instanceof HTMLDivElement||e instanceof HTMLIFrameElement))throw new Error("Invalid html element tag");var n=this.YOUTUBE_DIV_API_URL;if(e.nodeName===o.NODE_TYPE.iframe){var r=e;if(r.id||(r.id=s.uuidv4()),r.src&&!r.src.includes(this.YOUTUBE_IFRAME_API_URL_ENABLE_ATTRIBUTE)){var i="?";r.src.includes("?")&&(i="&"),r.src=r.src+i+this.YOUTUBE_IFRAME_API_URL_ENABLE_ATTRIBUTE}n=this.YOUTUBE_IFRAME_API_URL}this.scriptService.attach(this.INSTANCE_NAME,n,!1),this.internalEventEmitter.on(o.CORE_EVENT.youtubeApiReady,function(){t.initPlayer(e)})},t.prototype.initPlayer=function(e){var t=this,n={};if(e.nodeName!==o.NODE_TYPE.iframe){var r=e;n={height:r.dataset.height,width:r.dataset.width,videoId:r.dataset.id}}this.players.hasOwnProperty(e.id)||(this.players[e.id]=new YT.Player(e.id,n));var i=this.players[e.id];i.addEventListener("onStateChange",function(e){switch(e.data){case YT.PlayerState.PLAYING:t.play();break;case YT.PlayerState.PAUSED:t.pause();break;case YT.PlayerState.ENDED:t.ended()}}),setInterval(function(){t.isPlaying()&&(typeof i.getCurrentTime===o.TYPE.function&&typeof i.getDuration===o.TYPE.function?t.timeUpdate(i.getCurrentTime(),i.getDuration()):i.hasOwnProperty("playerInfo")&&i.playerInfo.hasOwnProperty("currentTime")&&i.playerInfo.hasOwnProperty("duration")&&t.timeUpdate(i.playerInfo.currentTime,i.playerInfo.duration))},this.CURRENT_TIME_INTERVAL)},t}(i.AbstractVideoTrigger);t.YoutubeVideoTrigger=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.VimeoVideoTrigger=void 0;var i=function(e){function t(t){var n=e.call(this)||this;return n.INSTANCE_NAME="vimeo-script-instance",n.VIMEO_API_URL="https://player.vimeo.com/api/player.js",n.script=t,n}return r(t,e),t.prototype.initialize=function(e){var t=this;if(!e)throw new Error("Video element can not be undefined");if(!(e instanceof HTMLIFrameElement))throw new Error("Invalid element tag");this.script.attach(this.INSTANCE_NAME,this.VIMEO_API_URL),this.script.subscribe(this.INSTANCE_NAME,function(){return t.initPlayer(e)})},t.prototype.initPlayer=function(e){var t=this,n=new Vimeo.Player(e);n.on("play",this.play.bind(this)),n.on("pause",this.pause.bind(this)),n.on("timeupdate",function(e){t.isPlaying()||t.play(),t.timeUpdate(e.seconds,e.duration)}),n.on("ended",this.ended.bind(this))},t}(n(18).AbstractVideoTrigger);t.VimeoVideoTrigger=i},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityTrigger=void 0;var o=i(n(6)),s=n(0),a=n(1),c=n(2),u=i(n(39));new a.Debug("Visibility Trigger");u.default.POLL_INTERVAL=100;var l=function(){function e(e,t,n,r,i,o){this.intersecting=!1,this.velocityTooHigh=!1,this.cssVisibilityInterval=null,this.cssVisible=!0,this.CSS_VISIBILITY_INTERVAL=100,this.thresholdCallbacks=[],this.internalEventEmitter=e,this.userStatusService=t,this.scrollDepthService=n,this.trackCssVisibility=r,this.velocity=i,this.percentage=o}return e.prototype.initialize=function(e){var t=this;this.lastElement||0===e.length||(this.lastElement=e[0]),this.stopwatch=new o.default,this.thresholdCallbacks.forEach(function(e){t.stopwatch.onValue(e.duration,function(){e.callback(t.lastElement)})}),this.internalEventEmitter.on(s.CORE_EVENT.userStatusChange,function(status){t.check()}),this.velocity>0&&(this.subscribeScrollingTooFast(this.velocity),this.subscribeScrollingEnd()),this.subscribeIntersectionObservable(e,this.percentage)},e.prototype.onThreshold=function(e,t){this.thresholdCallbacks.push({duration:e,callback:t})},e.prototype.subscribeIntersectionObservable=function(e,t){var n=this;if(!(e.length<1)){var r={threshold:t/100};this.observer?(this.observer.disconnect(),clearInterval(this.cssVisibilityInterval)):this.observer=new IntersectionObserver(this.onElementIntersecting.bind(this),r),e.forEach(function(e){n.observer.observe(e)})}},e.prototype.onElementIntersecting=function(t){var n,i,o=this,s=!1;try{for(var a=r(t),c=a.next();!c.done;c=a.next()){var u=c.value;s=s||u.isIntersecting}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.intersecting=s,this.trackCssVisibility?(this.cssVisible=!1,this.intersecting?this.cssVisibilityInterval=window.setInterval(function(){var n,i,s=!1;try{for(var a=r(t),c=a.next();!c.done;c=a.next()){var u=c.value;e.isVisible(u.target)&&(s=!0,o.lastElement=u.target)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}o.cssVisible=s,o.check()},this.CSS_VISIBILITY_INTERVAL):clearInterval(this.cssVisibilityInterval)):0!==t.length&&(this.lastElement=t[0].target),this.check()},e.prototype.subscribeScrollingTooFast=function(e){var t=this,n=-1,r="any",i=0,o=!1;this.scrollDepthService.onValue(n,r,i,o,function(n,r,i){t.velocityTooHigh=i>e,t.check()})},e.prototype.subscribeScrollingEnd=function(){var e=this;this.scrollDepthService.onEnd(function(t){e.velocityTooHigh=!1,e.check()})},e.prototype.check=function(){this.intersecting&&!this.velocityTooHigh&&this.userStatusService.getStatus()!==s.USER_STATUS.inactive&&this.cssVisible?(this.stopwatch.isRunning(),this.stopwatch.start()):(this.stopwatch.isRunning(),this.stopwatch.stop())},e.isVisible=function(t){return!("none"===c.getStyle(t,"display")||"hidden"===c.getStyle(t,"visibility")||+c.getStyle(t,"opacity")<.25)&&(!t.parentElement||"html"===t.parentElement.nodeName||e.isVisible(t.parentElement))},e}();t.VisibilityTrigger=l},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HoverTriggerPlugin=void 0;var i=n(1),o=r(n(6)),s=n(2),a=n(5),c=(new i.Debug("Hover Trigger"),function(){function e(){this.initialized=!1,this.target=null}return e.prototype.initialize=function(e,t,n){var r=this;this.initialized||(this.propertyStore=t.getPropertyStore(),this.stopwatch=new o.default,this.mouseOverListener=function(e){r.target=e.currentTarget,r.stopwatch.start()},this.mouseOutListener=function(e){r.stopwatch.stop(),r.stopwatch.reset()},n.options.thresholds.forEach(function(e){r.stopwatch.onValue(e,function(i){var o={id:n.id,payload:{name:n.name,time_threshold:e,element_id:r.target.id||null,element_class:r.target.className||null,element_text:r.target.innerText||null,element_html:r.target.innerHTML||null,element_path:a.fullPath(r.target),element_attributes:s.getElementAttributes(r.target)}};t.fireTrigger(n,o)})}));for(var i=t.querySelectorService.querySelectorAll(n.options.selector),c=0;c<i.length;c++){var u=i[c];u&&(u.removeEventListener("mouseover",this.mouseOverListener),u.addEventListener("mouseover",this.mouseOverListener),u.removeEventListener("mouseout",this.mouseOutListener),u.addEventListener("mouseout",this.mouseOutListener))}this.initialized=!0},e}());t.HoverTriggerPlugin=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventTriggerPlugin=void 0;var r=n(4),i=(new(n(1).Debug)("EventTrigger"),function(){function e(){this.initialized=!1}return e.prototype.initialize=function(e,t,n){this.initialized||(this.propertyStore=t.getPropertyStore(),this.propertyStore.subscribe(function(e,i){i.type===r.Actions.fireEvent&&i.payload.id===n.options.event&&window.setTimeout(function(){t.fireTrigger(n,{id:n.id,payload:{name:n.name}})},100)}),this.initialized=!0)},e}());t.EventTriggerPlugin=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewService=void 0;var r=n(0),i=n(2),o=(new(n(1).Debug)("PreviewService"),function(){function e(e,t){this.cookies=e,this.environmentService=t}return e.prototype.start=function(e){this.cookies.set("fdEnvId",e,r.DATE.hour);var t=(new DOMParser).parseFromString('\n            <div onclick="window.FuseDeck.exitPreview();"\n                style="position:fixed;\n                bottom:5px;\n                right:5px;\n                padding:5px;\n                background-color:#fff;\n                border:1px solid #ccc;\n                cursor:pointer;\n                font-family: Arial, sans-serif;\n                font-size: 14px;\n                text-align:center;\n                color:#999;\n                z-index:999999;">\n                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjM1Q0YxMzYyRDBCMTFFODk4NjVFRDI2MUI5MUIzOTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjM1Q0YxMzcyRDBCMTFFODk4NjVFRDI2MUI5MUIzOTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MzVDRjEzNDJEMEIxMUU4OTg2NUVEMjYxQjkxQjM5MiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2MzVDRjEzNTJEMEIxMUU4OTg2NUVEMjYxQjkxQjM5MiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pkf24AoAAASnSURBVHjatFdLbBtVFD3PmWRiO3HifOrUcQIqqaKyioRgARuohAQriBIEO7rqCkElJBZtBAKyAMGiC2DVVXeEiAqxhjUIVQEJlAopfOJ8bDdOPInj2nGcy5kZz98tqtqO9OZ9Zt47555375s76jA/tyKCjwB8l5xYPsEjvH5UC4rVSywfqOr6nCilICKrrBdZL5HA8UMGjAFqls0FQGbMMXWYnxf3DZrOzhoJfMLO9URu+egBATVWb7BcVlDnbCD7TuA5tlRoivUwz/IZyzUSuHOfgD0EukAz3mP3CXtUuXfTvAgwpbZfUM6YFNi7ysaXidw31f8BjLO6yPIu50w41jlwdks5wJ7UJqhy3rH3vU3Cupd5+4LlKglUQoB9fP4WJ15inTEXsAE8aeFScIDpXOIu7kkC/yRxhi0yB1TjK3Y+/2li2nRCguFtLpiWEEjY2sCoZbEJ7UnrgtsKqMhYs5LC7aVEy/heSfW3lCaIhazrQB7BdTSrE1o8contEI3iIPa+bkJWtwl13JXOAYNZDdXSOIybo2ih6y5r+K0WRMMJjvHKCS3rqucJuNSAWitx/KSDBXz3JIbDMgmsnMJxUwuBRRXQwnK4irNRW0vDWKoB/667ruIJIwFwFTtB32geyRc3UCtnYfxOAoc6bPphAorAPstsxQXVW0MwlquIbf7TxhD/nAB7z3udNQTJkS0kn9+iAmPYv5XBUUUP7bcQWHlT938dwsG3FcRKf3O3FBxK1pHayWPbex/dVvvd5PA2ks9t446RgfHnGBqluCe16aX7v4ygeqOM2O5fiCl3t/07Hw0LJwbF75Tixqk/buMDRcSfLqK+PwJjLYv6Vhzqj9k36/rRpn5XTww5u6uPSIdx6Ri7YTL17lxTK9zI6YnJIQyc2UBPci8afyroweLEfDsEnUXFfyqFjgxpk5RUColXRnH62Z1uy6tr6wmWafSO1zA4tQk9WQ4B+mJQBYmJ71m0ZZNpDafQ9+oIBp7ZIYkdi7Tmd9X6ZhyFzSnomRwGzm5zb0odzxPH1shRGIoayaTRN5tG/8wue2VfuIoDHDzMG8U4SsUz0E9lkZraRiJdcvc0vF8BOqqtwvgwUnP96HvS/Jbsdjx+tfAJ5CfSKPXidulx6MNZ9J8tMDwKnoeHnMtqP0Y555NITBnsVNzkwgpZJwLatRYFjZ6rjbLOMglj8DRS00US2HLZi7no1CgG53vQO3nAcSNooe/z6j9/NNzjmxmWslnpRvnnHG0ZQ/9Te63UCy0Mvd7q6h0z84OGTwnbQvf77iYW3pqxoFbK55MqcDD4+B60oH1auTk6ln3HGNEzBx8SYM991x/bLg8V8UH1A65IJ0dR0RPLjDErAzkvHwcykNrGa8xAhBmIukQSGdc6vzuELCbwggSljnybCyaYmXMR8J45V21jPs6pF4nCnAsTjtQOcKBvW+xZ6O2vameZcu28LN5XlkkCPVz8AkHcLDNgtbQtDsqKNfaYV+M6AR8or67l5/n1M/NqdZndc37t21JbnFY5uMjGEiV9qH8S9AEmZTJLk/kngRmxga+sEND6dyLgI/13ogJmnL3M5vv/CTAAGs4/zzxo/90AAAAASUVORK5CYII=" />\n                <p style="line-height:14px;margin:0;padding:0;">Exit</p>\n            </div>\n        ',"text/html");i.appendDom(t.body,document.body).catch(function(){})},e.prototype.exit=function(){this.cookies.remove("fdEnvId"),document.location.href=document.location.href.replace(/(&|\?)fdEnvId=.{10}/,"")},e}());t.PreviewService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DebuggerService=void 0;var r,i=n(0);new(n(1).Debug)("DebuggerService");!function(e){e.MODE="fdDebugMode",e.TOKEN="fdDebugToken",e.PROPERTY_ID="fdDebugPropertyId"}(r||(r={}));var o=function(){function e(e){this.cookies=e}return e.prototype.start=function(properties,e,t,n,o){var s=e||this.cookies.get(r.MODE);s&&this.cookies.set(r.MODE,s,i.DATE.hour);var a=t||this.cookies.get(r.TOKEN);a&&this.cookies.set(r.TOKEN,a,i.DATE.hour);var c=o||this.cookies.get(r.PROPERTY_ID),u=properties[c];u&&(this.cookies.set(r.PROPERTY_ID,c,i.DATE.hour),s&&a&&n&&this.loadDebuggerScript(u,s,a,n))},e.prototype.exit=function(){this.cookies.remove(r.MODE),this.cookies.remove(r.TOKEN),this.cookies.remove(r.PROPERTY_ID);var e=document.location.href;e=(e=(e=e.replace(/(&|\?)fdDebugMode=.*/,"")).replace(/(&|\?)fdDebugToken=.*/,"")).replace(/(&|\?)fdDebugPropertyId=.*/,""),document.location.href=e},e.prototype.loadDebuggerScript=function(e,t,n,r){var i=window;if("FuseDeck"in i)if("FuseDeckHelper"in i)i.FuseDeckHelper.startUi(!0,{token:n,defaultModule:t,apiEndpoint:r});else{!function(t){var n=document.createElement("script");n.async=!0,n.type="text/javascript",n.onload=function(){i.FuseDeckHelper.init(e.id,e.getConfig().dataLayerName,!0),t&&t()},n.src="https://cdn.fusedeck.net/fdhelper/prod.js",document.head.appendChild(n)}(function(){i.FuseDeckHelper.startUi(!0,{token:n,defaultModule:t,apiEndpoint:r})})}},e}();t.DebuggerService=o},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(s,a)}c((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.PluginTriggerPlugin=void 0;new(n(1).Debug)("PluginTrigger");var a=function(){function e(){}return e.prototype.initialize=function(e,t,n){var a;return i(this,void 0,void 0,function(){var e,i,c,u,l;return o(this,function(o){switch(o.label){case 0:return(e=function(e,t){var n,r;if(t.pluginTriggers)try{for(var i=s(t.pluginTriggers),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.id===e)return a}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}(n.plugin_trigger_id,t.getConfig()))?(i={parameter:{getValueByKey:function(e){if(null===n||void 0===n?void 0:n.parameters){var t=n.parameters[e];if(t)return t}}},variable:{},property:t,propertyId:t.id,eventEmitter:t.eventEmitter,fire:function(e){t.fireTrigger(n,{id:n.id,payload:r(r({},e),{name:n.name})})}},[4,t.dependencyManager.loadDependencyByKey("plugin:"+e.pluginKey)]):(console.warn('Plugin trigger "'+n.plugin_trigger_id+'" not found for trigger "'+(n.name||n.id)+'".'),[2]);case 1:if(o.sent(),"object"!=typeof window.FuseDeckPlugins)return console.warn("window.FuseDeckPlugins not initialized."),[2];if("object"!=typeof window.FuseDeckPlugins[e.pluginKey])return console.warn('Plugin "'+e.pluginKey+'" not found.'),[2];if("string"!=typeof window.FuseDeckPlugins[e.pluginKey].developerKey)return console.warn('Plugin developerKey"'+e.pluginKey+'" not found.'),[2];if("function"!=typeof window.FuseDeckPlugins[e.pluginKey].loadTriggerByUniqueKey)return console.warn('Plugin "'+e.pluginKey+'" has no method loadTriggerByUniqueKey.'),[2];if(c=window.FuseDeckPlugins[e.pluginKey].developerKey,i.variable={setValueByUniqueKey:function(e,n){0!==e.indexOf(c)&&(e=c+"."+e);var r=t.getVariableByUniqueKey(e);r?r.setValue(n):console.warn('Variable "'+e+'" not found.')},getValueByUniqueKey:function(e){0!==e.indexOf(c)&&(e=c+"."+e);var n=t.getVariableByUniqueKey(e);if(n)return n.getValue();console.warn('Variable "'+e+'" not found.')}},!(u=window.FuseDeckPlugins[e.pluginKey].loadTriggerByUniqueKey(e.uniqueKey)))return console.warn('Plugin trigger "'+e.uniqueKey+'" not found.'),[2];o.label=2;case 2:return o.trys.push([2,4,,5]),[4,u(i)];case 3:return o.sent(),[3,5];case 4:return l=o.sent(),console.warn('Plugin trigger "'+e.uniqueKey+'" failed to initialize. '+(null===(a=l)||void 0===a?void 0:a.stack)),[3,5];case 5:return[2]}})})},e}();t.PluginTriggerPlugin=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLActionHandler=void 0;var r=n(2),i=n(0),o=function(){function e(){this.type=i.ACTION_TYPE.html}return e.prototype.execute=function(e,t){var n=e.value||"";n="<html><body>"+n+"</body></html>";try{var i=(new DOMParser).parseFromString(n,"text/html"),o=e.options&&e.options.sync;r.appendDom(i.body,document.body,o)}catch(e){}},e}();t.HTMLActionHandler=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLTemplateActionHandler=void 0;var r=n(2),i=n(0),o=function(){function e(){this.type=i.ACTION_TYPE.htmlTemplate}return e.prototype.execute=function(e,t){var n=this.loadHtmlTemplateContent(e.value,t.getConfig());for(var i in n="<html><body>"+n+"</body></html>",e.values)if(e.values.hasOwnProperty(i)){var o=e.values[i],s=this.escapePlaceholderValue(n,t.getActionValue(o),i);n=n.replace(new RegExp("{"+i+"}","gm"),s)}try{var a=(new DOMParser).parseFromString(n,"text/html"),c=e.options&&e.options.sync;r.appendDom(a.body,document.body,c)}catch(e){}},e.prototype.escapePlaceholderValue=function(e,t,n,r,i,o){if(void 0===r&&(r="\\'"),void 0===i&&(i='\\"'),void 0===o&&(o="\\`"),"string"!=typeof t)return t;var s=new RegExp("'[^';]*?{"+n+"}[^']*?'","g");e.match(s)&&(t=(t=(t=t.replace(/\'/g,r)).replace(/\\\\'/g,r)).replace(/\n/g," "));var a=new RegExp('"[^";]*?{'+n+'}[^"]*?"',"g");e.match(a)&&(t=(t=(t=t.replace(/\"/g,i)).replace(/\\\\"/g,i)).replace(/\n/g," "));var c=new RegExp("`[^`;]*?{"+n+"}[^`]*?`","g");return e.match(c)&&(t=(t=t.replace(/\`/g,o)).replace(/\\\\`/g,o)),t},e.prototype.loadHtmlTemplateContent=function(e,t){if("string"==typeof e)return e;if(!(null===t||void 0===t?void 0:t.htmlTemplates))return"";var n=t.htmlTemplates.find(function(t){return t.id===e});return n?n.body:""},e}();t.HTMLTemplateActionHandler=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PixelActionHandler=void 0;var r=n(0),i=function(){function e(){this.type=r.ACTION_TYPE.pixel}return e.prototype.execute=function(e,t){var n=e.value;document.createElement("img").src=n},e}();t.PixelActionHandler=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSActionHandler=void 0;var r=n(2),i=n(0),o=function(){function e(){this.type=i.ACTION_TYPE.js}return e.prototype.execute=function(e,t){var n=e.value||"";n='<html><body><script type="text/javascript">'+n+"<\/script></body></html>";try{var i=(new DOMParser).parseFromString(n,"text/html");r.appendDom(i.body,document.body)}catch(e){}},e}();t.JSActionHandler=o},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(s,a)}c((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.PluginActionHandler=void 0;var s=n(0),a=(new(n(1).Debug)("PluginAction"),function(){function e(){this.type=s.ACTION_TYPE.plugin}return e.prototype.execute=function(e,t){var n,o;return r(this,void 0,void 0,function(){var r,s,a,c,u,l,p;return i(this,function(i){switch(i.label){case 0:if(!(r=this.loadPluginActionById(parseInt(e.value,10),t.getConfig())))return console.warn('Plugin action "'+e.value+'" not found'+((null===(n=e.options)||void 0===n?void 0:n.event_id)?' for event "'+e.options.event_id+'"':"")+"."),[2];for(a in s={},e.values)e.values.hasOwnProperty(a)&&(s[a]=t.getActionValue(e.values[a]));return[4,t.dependencyManager.loadDependencyByKey("plugin:"+r.pluginKey)];case 1:if(i.sent(),"object"!=typeof window.FuseDeckPlugins)return console.warn("window.FuseDeckPlugins not initialized."),[2];if("object"!=typeof window.FuseDeckPlugins[r.pluginKey])return console.warn('Plugin "'+r.pluginKey+'" not found.'),[2];if("string"!=typeof window.FuseDeckPlugins[r.pluginKey].developerKey)return console.warn('Plugin developerKey"'+r.pluginKey+'" not found.'),[2];if("function"!=typeof window.FuseDeckPlugins[r.pluginKey].loadActionByUniqueKey)return console.warn('Plugin "'+r.pluginKey+'" has no method loadActionByUniqueKey.'),[2];if(c=window.FuseDeckPlugins[r.pluginKey].developerKey,u={property:t,propertyId:t.id,eventEmitter:t.eventEmitter,parameter:{getValueByName:function(e){return s[e]}},variable:{setValueById:function(e,n){var r=t.getVariable(e);r?r.setValue(n):console.warn('Variable "'+e+'" not found.')},getValueById:function(e){var n=t.getVariable(e);if(n)return n.getValue();console.warn('Variable "'+e+'" not found.')},setValueByUniqueKey:function(e,n){0!==e.indexOf(c)&&(e=c+"."+e);var r=t.getVariableByUniqueKey(e);r?r.setValue(n):console.warn('Variable "'+e+'" not found.')},getValueByUniqueKey:function(e){0!==e.indexOf(c)&&(e=c+"."+e);var n=t.getVariableByUniqueKey(e);if(n)return n.getValue();console.warn('Variable "'+e+'" not found.')}}},!(l=window.FuseDeckPlugins[r.pluginKey].loadActionByUniqueKey(r.uniqueKey)))return console.warn('Plugin action "'+r.uniqueKey+'" not found.'),[2];i.label=2;case 2:return i.trys.push([2,4,,5]),[4,l(u)];case 3:return i.sent(),[3,5];case 4:return p=i.sent(),console.warn('Plugin action "'+r.uniqueKey+'" failed to execute. '+(null===(o=p)||void 0===o?void 0:o.stack)),[3,5];case 5:return[2]}})})},e.prototype.loadPluginActionById=function(e,t){var n,r;if(t.pluginActions)try{for(var i=o(t.pluginActions),s=i.next();!s.done;s=i.next()){var a=s.value;if(a.id===e)return a}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null},e}());t.PluginActionHandler=a},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.ModifyVariablesHandler=void 0;var i=n(0),o=function(){function e(){this.type=i.ACTION_TYPE.modifyVariables}return e.prototype.execute=function(e,t){var n,i;try{for(var o=r(Object.keys(e.values)),s=o.next();!s.done;s=o.next()){var a=s.value,c=e.values[a];this.applyVariableOperation(c.variable_operation,c.variable_to_modify,t,t.getActionValue(c))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},e.prototype.applyVariableOperation=function(e,t,n,r){switch(e){case i.VARIABLE_OPERATION_TYPE.Delete:n.deleteVariableValue(t);break;case i.VARIABLE_OPERATION_TYPE.IncrementBy:n.incrementVariableValueBy(t,r);break;case i.VARIABLE_OPERATION_TYPE.DecrementBy:n.decrementVariableValueBy(t,r);break;case i.VARIABLE_OPERATION_TYPE.Set:n.setVariableValue(t,r)}},e}();t.ModifyVariablesHandler=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserStatusService=void 0;var r=n(0),i=(new(n(1).Debug)("UserStatusService"),function(){function e(e,t,n){this.internalEventEmitter=e,this.idleTimeout=t,this.idleOffset=n,this.timer=null,this.userStatus=r.USER_STATUS.active,this.windowHasFocus=!0,this.notify(),this.registerEvents()}return e.prototype.getStatus=function(){return this.userStatus},e.prototype.registerEvents=function(){var e=this;this.internalEventEmitter.on(r.CORE_EVENT.windowLoad,function(){e.resetTimer()}),window.addEventListener("mousemove",function(){e.resetTimer()},!1),window.addEventListener("mousedown",function(){e.resetTimer()},!1),window.addEventListener("click",function(){e.resetTimer()},!1),window.addEventListener("scroll",function(){e.resetTimer()},!1),window.addEventListener("keypress",function(){e.resetTimer()},!1),window.addEventListener("touchstart",function(){e.resetTimer()},!1),window.addEventListener("touchend",function(){e.resetTimer()},!1),window.addEventListener("focus",function(){e.windowHasFocus=!0,e.resetTimer()},!1),window.addEventListener("blur",function(){e.windowHasFocus=!1,document.activeElement&&"IFRAME"===document.activeElement.tagName||(e.userStatus=r.USER_STATUS.inactive,e.notify())},!1)},e.prototype.resetTimer=function(){var e=this;this.userStatus!==r.USER_STATUS.active&&(this.userStatus=r.USER_STATUS.active,this.notify());var t=1e3*this.idleTimeout;this.timer?window.clearTimeout(this.timer):this.idleOffset>t?t=0:t-=this.idleOffset,this.timer=window.setTimeout(function(){e.userStatus!==r.USER_STATUS.inactive&&(e.windowHasFocus?e.userStatus=r.USER_STATUS.idle:e.userStatus=r.USER_STATUS.inactive,e.notify())},t)},e.prototype.notify=function(){this.internalEventEmitter.dispatch(r.CORE_EVENT.userStatusChange,this.userStatus)},e}());t.UserStatusService=i}]);
window.FuseDeck && window.FuseDeck.createProperty("eh7KWg43bQ", {"environment":{"id":1,"publicId":"pT5tR7NTuC","version":157,"type":"prod","name":"Production"},"session":{"timeout":30,"variables":{"consentGiven":5431,"wss":7325,"Campaign":2,"Language":3,"CountryRegion":4,"Channel":5,"SiteAppPublisher":6,"Placement":7,"Device":8,"Creative":9,"CreativeType":10,"UBSAccount":11,"SocialNetwork":12,"Format":13,"FileFormat":14,"MediaType":15,"PressreleaseId":16,"DisplayFormat":17,"Engine":18,"AdGroup":19,"UniqueId":20,"Group":21,"Date":22,"Publisher":23,"Keyword":24,"Filename":25,"PaidOrganic":26,"MatchType":27,"Targeting":28,"Site":29,"SearchCampaignSiteLink":30,"Newsletter":31,"PlacementSection":32,"UnMatched":67,"CampIdNormalized":1946,"scoring":3658,"ubs_cookie_settings":6838,"conversion":8576,"ContentHubVisit":10069,"source_declaration":10699},"urlAdId":"fdAdId","urlSiteId":"fdSiteId","customCampaignUrlParams":null},"pageView":{"hashChange":false,"variables":{"reader":8072,"scoring":3659,"conversion":8576,"ContentHubVisitConversion":10382,"ContentHubVisit":10069,"fdProxy":9105}},"user":{"variables":{"_fbp":2215,"conversion":8576}},"tracking":{"users":"campaign_third_party","sessions":"campaign_third_party","pageViews":"campaign_third_party","events":"campaign_third_party"},"dependencies":[{"key":"plugin:com.fusedeck.ubs.js.digitaldata.trigger.1.3.10","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.ubs.js.digitaldata.trigger/1.3.10/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.traffic-tracking-switch.1.0.1","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.traffic-tracking-switch/1.0.1/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.consent.consentmode.controller.1.0.2","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.consent.consentmode.controller/1.0.2/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.ubs.customjs.1.1.1","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.ubs.customjs/1.1.1/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.ubs.campid.1.6.4","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.ubs.campid/1.6.4/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.thirdparty.linkedin.events.1.5.54","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.thirdparty.linkedin.events/1.5.54/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.conversiontracking.1.1.3","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.conversiontracking/1.1.3/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.thirdparty.tiktok.events.1.2.18","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.thirdparty.tiktok.events/1.2.18/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.thirdparty.google.ads.events.1.2.12","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.thirdparty.google.ads.events/1.2.12/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.thirdparty.fb.events.1.9.23","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.thirdparty.fb.events/1.9.23/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.scoring.main.1.20.6","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.scoring.main/1.20.6/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.mapper.1.3.5","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.mapper/1.3.5/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.reader.1.3.7","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.reader/1.3.7/dist/tagmanager.js"},{"key":"plugin:com.fusedeck.traffic-classification.1.1.12","url":"https://fuse.ubs.com/service/data/plugin/com.fusedeck.traffic-classification/1.1.12/dist/tagmanager.js"}],"flags":[{"id":1,"type":"block","condition":function($a, value) { return $a.contains(value.session.url.query["campID"], "ORGANIC") || $a.contains(value.session.url.query["campid"], "ORGANIC") || $a.contains(value.session.url.query["CampID"], "ORGANIC") || $a.contains(value.session.url.query["CAMPID"], "ORGANIC"); }},{"id":2,"type":"flag_session","condition":function($a, value) { return $a.begins_with(value.ip, "202.1.90.") || $a.begins_with(value.ip, "202.1.91.") || $a.begins_with(value.ip, "202.1.110.") || $a.begins_with(value.ip, "202.1.111.") || $a.begins_with(value.ip, "147.60.") || $a.begins_with(value.ip, "161.239.") || $a.begins_with(value.ip, "162.65.") || $a.begins_with(value.ip, "165.222.") || $a.begins_with(value.ip, "155.145.") || $a.begins_with(value.ip, "115.110.77.") || $a.begins_with(value.ip, "115.111.222.") || $a.begins_with(value.ip, "138.206.") || $a.eq(value.ip, "115.110.164.16") || $a.eq(value.ip, "115.110.164.17") || $a.eq(value.ip, "115.110.164.18") || $a.eq(value.ip, "115.110.164.19") || $a.eq(value.ip, "115.110.164.20") || $a.eq(value.ip, "115.110.164.21") || $a.eq(value.ip, "115.110.164.22") || $a.eq(value.ip, "115.110.164.23") || $a.eq(value.ip, "115.110.164.24") || $a.eq(value.ip, "115.110.164.25") || $a.eq(value.ip, "115.110.164.26") || $a.eq(value.ip, "115.110.164.27") || $a.eq(value.ip, "115.110.164.28") || $a.eq(value.ip, "115.110.164.29") || $a.eq(value.ip, "115.110.164.30") || $a.eq(value.ip, "115.110.164.31") || $a.eq(value.ip, "202.54.235.80") || $a.eq(value.ip, "202.54.235.81") || $a.eq(value.ip, "202.54.235.82") || $a.eq(value.ip, "202.54.235.83") || $a.eq(value.ip, "202.54.235.84") || $a.eq(value.ip, "202.54.235.85") || $a.eq(value.ip, "202.54.235.86") || $a.eq(value.ip, "202.54.235.87") || $a.eq(value.ip, "202.54.235.88") || $a.eq(value.ip, "202.54.235.89") || $a.eq(value.ip, "202.54.235.90") || $a.eq(value.ip, "202.54.235.91") || $a.eq(value.ip, "202.54.235.92") || $a.eq(value.ip, "202.54.235.93") || $a.eq(value.ip, "202.54.235.94") || $a.eq(value.ip, "202.54.235.95"); }}],"triggers":[{"id":133,"type":"plugin","plugin_trigger_id":20,"options":[],"condition":null},{"id":145,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"change","operator":"not_empty","value":""},"condition":null},{"id":146,"type":"page_view","plugin_trigger_id":null,"options":[],"condition":null},{"id":1457,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"thirdPartyConsent","operator":"eq","value":"true"},"condition":null},{"id":782,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"contentHubCategory","operator":"not_empty","value":""},"condition":null},{"id":1,"type":"page_view","plugin_trigger_id":null,"options":[],"condition":null},{"id":474,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"form start"},"condition":null,"name":"Form start"},{"id":3186,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"application started"},"condition":null},{"id":846,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"eq","value":"form success"},"condition":null},{"id":3187,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"application finish"},"condition":null},{"id":174,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\".pdf\"]","init_on_dom_change":true},"condition":null,"name":"Click PDF"},{"id":175,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventaction","operator":"contains","value":"accordionclick"},"condition":null},{"id":176,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.attributes_linkname","operator":"matches","value":"/cta/i"},"condition":null},{"id":173,"type":"video","plugin_trigger_id":null,"options":{"selector":"iframe[src*=\"youtube\"]","type":"youtube","watchtime":1,"thresholds":["25%"],"percentage":null,"velocity":null,"init_on_dom_change":true},"condition":null,"name":"Video Youtube 25%"},{"id":187,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"eq","value":"media started"},"condition":null,"name":"Video View DL"},{"id":475,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"eq","value":"form submit"},"condition":null,"name":"Form Complete (form submit)"},{"id":2112,"type":"click","plugin_trigger_id":null,"options":{"selector":"a, button","init_on_dom_change":false},"condition":null},{"id":1914,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"form"},"condition":null,"name":"All forms"},{"id":1969,"type":"form_submit","plugin_trigger_id":null,"options":{"selector":"form","init_on_dom_change":true},"condition":null,"name":"Form Submit"},{"id":3462,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"poll submitted"},"condition":null,"name":"Poll Submission"},{"id":3461,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href^=\"http\"]:not([href*=\"ubs.com\"])","init_on_dom_change":true},"condition":null,"name":"Exit Link Click"},{"id":3464,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"scrollTrackingEventCount","operator":"gt","value":"1"},"condition":null,"name":"Scroll Tracking Event Count > 1"},{"id":3463,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"scroll tracking"},"condition":null},{"id":3538,"type":"scroll_depth","plugin_trigger_id":null,"options":{"thresholds":[25],"direction":"down","from":null},"condition":null},{"id":4293,"type":"click","plugin_trigger_id":null,"options":{"selector":"[href*=\"ubskey4\"][href*=\"google.com\"], [href*=\"ubskey4\"][href*=\"apple.com\"], [href*=\"ubskey4\"][href*=\"huawei.com\"]","init_on_dom_change":true},"condition":null},{"id":5972,"type":"page_view","plugin_trigger_id":null,"options":[],"condition":function($a, $v) { return $a.contains($v(979),"/ch/") && $a.not_contains($v(979),"/awards") && $a.not_contains($v(979),"/digital-banking") && $a.not_contains($v(979),"/error/") && $a.not_contains($v(979),"/fidleg") && $a.not_contains($v(979),"/help") && $a.not_contains($v(979),"/access-app") && $a.not_contains($v(979),"/public-authorities") && $a.not_contains($v(979),"/assetmanagement"); }},{"id":384,"type":"plugin","plugin_trigger_id":45,"options":[],"condition":null,"parameters":[{"name":"Pixel Event","value":"pixelEvent"}]},{"id":408,"type":"plugin","plugin_trigger_id":51,"options":[],"condition":null,"parameters":[{"name":"Pixel Event","value":"pixelEvent"}]},{"id":783,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"scoringElement_fd2nq3bi","operator":"not_empty","value":""},"condition":null},{"id":784,"type":"scroll_depth","plugin_trigger_id":null,"options":{"thresholds":[25,50,75,95],"direction":"down","from":null},"condition":null},{"id":785,"type":"click","plugin_trigger_id":null,"options":{"selector":"a, button","init_on_dom_change":false},"condition":null},{"id":1034,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"not_empty","value":""},"condition":null},{"id":1104,"type":"click","plugin_trigger_id":null,"options":{"selector":".grid-cell .linklistnewlook__listItem a","init_on_dom_change":true},"condition":null},{"id":1177,"type":"click","plugin_trigger_id":null,"options":{"selector":".textimage__base a","init_on_dom_change":true},"condition":null},{"id":1229,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.attributes_linkname","operator":"not_empty","value":""},"condition":null},{"id":1725,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"not_empty","value":""},"condition":null},{"id":1943,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div.spotlight.basecomponent > div > div > div.spotlight__content.spotlight__content--darkmode > div > a","init_on_dom_change":true},"condition":null},{"id":1944,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(2) > div.gridcontrol2__spacing.gridcontrol2__spacing--none.invisibleHeader > div > div > div > div.gridcontrol2__cell.grid-cell.grid-cell--l9 > div > div > a","init_on_dom_change":true},"condition":null},{"id":1945,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(2) > div.gridcontrol2__spacing.gridcontrol2__spacing--none.invisibleHeader > div > div > div > div:nth-child(2) > div > div > a","init_on_dom_change":true},"condition":null},{"id":1946,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(2) > div.gridcontrol2__spacing.gridcontrol2__spacing--none.invisibleHeader > div > div > div > div:nth-child(3) > div > div > a","init_on_dom_change":true},"condition":null},{"id":1947,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(4) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div:nth-child(2) > div > div > div > div.gridcontrol2__cell.gridcontrol2__cell--alignHeight.grid-cell.grid-cell--l9.innergrid__cell > div > div.basecomponent.basecomponent__base.actionbutton.actionbutton__base > div > div > a","init_on_dom_change":true},"condition":null},{"id":1948,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(4) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div:nth-child(2) > div > div > div > div:nth-child(2) > div > div.basecomponent.basecomponent__base.actionbutton.actionbutton__base > div > div > a","init_on_dom_change":true},"condition":null},{"id":1949,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(4) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div:nth-child(2) > div > div > div > div:nth-child(3) > div > div.basecomponent.basecomponent__base.actionbutton.actionbutton__base > div > div > a","init_on_dom_change":true},"condition":null},{"id":1950,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(5) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div.basecomponent.messagestage.basecomponent__base.messagestage__context.messagestage__context--generous > div > div > ul > li > div > a > div > div > div.actionbtn__wrapper.actionbtn__wrapper--left > button","init_on_dom_change":true},"condition":null},{"id":1951,"type":"video","plugin_trigger_id":null,"options":{"selector":"#vjs_video_3_html5_api","type":"html5","watchtime":0,"thresholds":["0%","25%","50%","75%","95%"],"percentage":50,"velocity":null,"init_on_dom_change":true},"condition":null},{"id":1956,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(2) > div > div > div.spotlight__content.spotlight__content--darkmode > div > a","init_on_dom_change":true},"condition":null},{"id":1957,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(3) > div > div > div.spotlight__content.spotlight__content--darkmode > div > a","init_on_dom_change":true},"condition":null},{"id":1979,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(6) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div:nth-child(2) > div > div > div > div.gridcontrol2__cell.grid-cell.grid-cell--l2.innergrid__cell > div.basecomponent.basecomponent__base.actionbutton.actionbutton__base > div > div > a","init_on_dom_change":true},"condition":null},{"id":1980,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(7) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div > div > div > div > div.gridcontrol2__spacing.gridcontrol2__spacing--standard > div > div > div > div:nth-child(1) > div.basecomponent.basecomponent__base.linklistnewlook.linklistnewlook__base > div > div > div > div > div > a","init_on_dom_change":true},"condition":null},{"id":1981,"type":"click","plugin_trigger_id":null,"options":{"selector":"#main > div > div:nth-child(7) > div.gridcontrol2__spacing.gridcontrol2__spacing--standard.invisibleHeader > div > div > div > div > div > div > div > div.gridcontrol2__spacing.gridcontrol2__spacing--standard > div > div > div > div:nth-child(2) > div.basecomponent.basecomponent__base.linklistnewlook.linklistnewlook__base > div > div > div > div > div > a","init_on_dom_change":true},"condition":null},{"id":2177,"type":"visibility","plugin_trigger_id":null,"options":{"selector":"div.lightbox__container.lightbox__container--visible","thresholds":[100],"percentage":50,"velocity":null,"init_on_dom_change":true,"track_css":false,"over_all":true},"condition":null},{"id":2768,"type":"plugin","plugin_trigger_id":360,"options":[],"condition":null},{"id":3831,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"conversion","operator":"not_empty","value":""},"condition":null},{"id":3832,"type":"click","plugin_trigger_id":null,"options":{"selector":"a, button:not(.lightbox__container button)","init_on_dom_change":false},"condition":null},{"id":4289,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"eq","value":"form success"},"condition":null,"name":"Form Complete (form success)"},{"id":4290,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"data.eventinfo_eventname","operator":"contains","value":"application finish"},"condition":null,"name":"Application finish"},{"id":4291,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"play.google.com\"], a[href*=\"apple.com\"], a[href*=\"huawei.com\"], a[href*=\"ubskey4\"]","init_on_dom_change":true},"condition":null},{"id":4378,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"fdProxy.state.possibleCallIn","operator":"eq","value":"true"},"condition":null,"name":"DL is Possible Call In"},{"id":4379,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*='tel:']","init_on_dom_change":false},"condition":null,"name":"a with Tel"},{"id":5188,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\".pdf\"]","init_on_dom_change":true},"condition":null},{"id":4133,"type":"plugin","plugin_trigger_id":478,"options":[],"condition":null},{"id":4134,"type":"plugin","plugin_trigger_id":479,"options":[],"condition":null},{"id":5015,"type":"plugin","plugin_trigger_id":578,"options":[],"condition":null},{"id":6061,"type":"page_view","plugin_trigger_id":null,"options":[],"condition":null},{"id":6266,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"eq","value":"ViewContent"},"condition":null},{"id":6267,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"eq","value":"FormStart"},"condition":null},{"id":6268,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"eq","value":"FormComplete"},"condition":null},{"id":6361,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"com.ubs.swidkxj.android\"]","init_on_dom_change":true},"condition":null},{"id":6362,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"c103641509\"]","init_on_dom_change":true},"condition":null},{"id":6360,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"441068021\"]","init_on_dom_change":true},"condition":null},{"id":7135,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"eq","value":"FormComplete"},"condition":null},{"id":7136,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"eq","value":"FormStart"},"condition":null},{"id":7137,"type":"data_layer","plugin_trigger_id":null,"options":{"key":"set_a","operator":"eq","value":"ViewContent"},"condition":null},{"id":7138,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"com.ubs.swidkxj.android\"]","init_on_dom_change":true},"condition":null},{"id":7139,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"c103641509\"]","init_on_dom_change":true},"condition":null},{"id":7140,"type":"click","plugin_trigger_id":null,"options":{"selector":"a[href*=\"441068021\"]","init_on_dom_change":true},"condition":null}],"variables":[{"id":990,"type":"data_layer","key":"change","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":992,"type":"data_layer","key":"data.eventinfo_eventaction","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":991,"type":"data_layer","key":"data.eventinfo_eventname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":979,"type":"env","key":"env.location.href","uniqueKey":"com.fusedeck.essentials.env.url","selector":null,"param":null,"defaultValue":""},{"id":5431,"type":"data_layer","key":"thirdPartyConsent","uniqueKey":null,"selector":null,"param":null,"defaultValue":"false"},{"id":988,"type":"data_layer","key":"event","uniqueKey":"com.fusedeck.essentials.variable.dl.event","selector":null,"param":null,"defaultValue":null},{"id":3654,"type":"data_layer","key":"contentHubCategory","uniqueKey":"com.fusedeck.mapping.fdpqcbxl.var.dl","selector":null,"param":null,"defaultValue":""},{"id":3956,"type":"data_layer","key":"fbs2s","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":980,"type":"env","key":"env.location.pathname","uniqueKey":"com.fusedeck.essentials.env.pathname","selector":null,"param":null,"defaultValue":""},{"id":981,"type":"env","key":"env.environment.name","uniqueKey":"com.fusedeck.essentials.env.envname","selector":null,"param":null,"defaultValue":""},{"id":982,"type":"env","key":"env.geo.country.code","uniqueKey":"com.fusedeck.essentials.env.countrycode","selector":null,"param":null,"defaultValue":""},{"id":983,"type":"dom","key":"Custom","uniqueKey":"com.fusedeck.essentials.dom.lang","selector":"html","param":"lang","defaultValue":""},{"id":984,"type":"dom","key":"Custom","uniqueKey":"com.fusedeck.essentials.dom.url.de","selector":"link[rel=\"alternate\"][hreflang*=\"de\"]","param":"href","defaultValue":""},{"id":985,"type":"dom","key":"Custom","uniqueKey":"com.fusedeck.essentials.dom.url.en","selector":"link[rel=\"alternate\"][hreflang*=\"en\"]","param":"href","defaultValue":""},{"id":986,"type":"dom","key":"Custom","uniqueKey":"com.fusedeck.essentials.dom.url.fr","selector":"link[rel=\"alternate\"][hreflang*=\"fr\"]","param":"href","defaultValue":""},{"id":987,"type":"dom","key":"Custom","uniqueKey":"com.fusedeck.essentials.dom.url.it","selector":"link[rel=\"alternate\"][hreflang*=\"it\"]","param":"href","defaultValue":""},{"id":989,"type":"data_layer","key":"data","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":4865,"type":"data_layer","key":"data.attributes_linkname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":4929,"type":"data_layer","key":"data.attributes_linkurl","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":6120,"type":"data_layer","key":"set_a","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":7325,"type":"js","key":"window.FuseDeck.properties.eh7KWg43bQ.transport.transports.socket.connected","uniqueKey":null,"selector":null,"param":null,"defaultValue":null},{"id":8072,"type":"js","key":"FuseDeckReaderStats","uniqueKey":"com.fusedeck.reader.variable.pageview.stats","selector":null,"param":null,"defaultValue":""},{"id":9106,"type":"data_layer","key":"fdProxy.state.possibleCallIn","uniqueKey":null,"selector":null,"param":null,"defaultValue":null},{"id":10780,"type":"data_layer","key":"segID","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":2,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.campaign","selector":null,"param":null,"defaultValue":null},{"id":3,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.language","selector":null,"param":null,"defaultValue":null},{"id":4,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.countryregion","selector":null,"param":null,"defaultValue":null},{"id":5,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.channel","selector":null,"param":null,"defaultValue":null},{"id":6,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.siteapppublisher","selector":null,"param":null,"defaultValue":null},{"id":7,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.placement","selector":null,"param":null,"defaultValue":null},{"id":8,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.device","selector":null,"param":null,"defaultValue":null},{"id":9,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.creative","selector":null,"param":null,"defaultValue":null},{"id":10,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.creativetype","selector":null,"param":null,"defaultValue":null},{"id":11,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.ubsaccount","selector":null,"param":null,"defaultValue":null},{"id":12,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.socialnetwork","selector":null,"param":null,"defaultValue":null},{"id":13,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.format","selector":null,"param":null,"defaultValue":null},{"id":14,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.fileformat","selector":null,"param":null,"defaultValue":null},{"id":15,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.mediatype","selector":null,"param":null,"defaultValue":null},{"id":16,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.pressreleaseid","selector":null,"param":null,"defaultValue":null},{"id":17,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.displayformat","selector":null,"param":null,"defaultValue":null},{"id":18,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.engine","selector":null,"param":null,"defaultValue":null},{"id":19,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.adgroup","selector":null,"param":null,"defaultValue":null},{"id":20,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.uniqueid","selector":null,"param":null,"defaultValue":null},{"id":21,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.group","selector":null,"param":null,"defaultValue":null},{"id":22,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.date","selector":null,"param":null,"defaultValue":null},{"id":23,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.publisher","selector":null,"param":null,"defaultValue":null},{"id":24,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.keyword","selector":null,"param":null,"defaultValue":null},{"id":25,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.filename","selector":null,"param":null,"defaultValue":null},{"id":26,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.paidorganic","selector":null,"param":null,"defaultValue":null},{"id":27,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.matchtype","selector":null,"param":null,"defaultValue":null},{"id":28,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.targeting","selector":null,"param":null,"defaultValue":null},{"id":29,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.site","selector":null,"param":null,"defaultValue":null},{"id":30,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.searchcampaignsitelink","selector":null,"param":null,"defaultValue":null},{"id":31,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.newsletter","selector":null,"param":null,"defaultValue":null},{"id":32,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.placementsection","selector":null,"param":null,"defaultValue":null},{"id":67,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.unmatched","selector":null,"param":null,"defaultValue":null},{"id":1946,"type":"session","key":null,"uniqueKey":"com.fusedeck.ubs.campid.js.variable.params.campidnormalized","selector":null,"param":null,"defaultValue":null},{"id":2543,"type":"data_layer","key":"data.eventinfo_eventname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":1195,"type":"data_layer","key":"data.eventinfo_eventaction","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":1196,"type":"data_layer","key":"data.attributes_linkname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":6636,"type":"dom","key":"Custom","uniqueKey":null,"selector":".newinputtext__input.newinputtext__input-is-error","param":"name","defaultValue":""},{"id":8214,"type":"data_layer","key":"scrollTrackingEventCount","uniqueKey":null,"selector":null,"param":null,"defaultValue":null},{"id":8213,"type":"session","key":null,"uniqueKey":null,"selector":null,"param":null,"defaultValue":"0"},{"id":2215,"type":"cookie","key":"_fbp","uniqueKey":"com.fusedeck.fb.pixel.events.fbp","selector":null,"param":"","defaultValue":"","includeSubdomain":false},{"id":3660,"type":"data_layer","key":"scoringElement_fd2nq3bi","uniqueKey":"com.fusedeck.scoring.base.var.dlElementName.fd2nq3bi","selector":null,"param":null,"defaultValue":""},{"id":3655,"type":"local_storage","key":"fdScoringList","uniqueKey":"com.fusedeck.scoring.base.var.local","selector":null,"param":"","defaultValue":""},{"id":3656,"type":"session_storage","key":"fdScoringList","uniqueKey":"com.fusedeck.scoring.base.var.session","selector":null,"param":"","defaultValue":""},{"id":3657,"type":"server_side","key":"fdScoringList","uniqueKey":"com.fusedeck.scoring.base.var.remote","selector":null,"param":"","defaultValue":""},{"id":3658,"type":"js","key":"fdScoring","uniqueKey":"com.fusedeck.scoring.base.var.reportfull","selector":null,"param":null,"defaultValue":""},{"id":3659,"type":"js","key":"fdScoringPage","uniqueKey":"com.fusedeck.scoring.base.var.reportdelta","selector":null,"param":null,"defaultValue":""},{"id":4368,"type":"data_layer","key":"data.eventinfo_eventname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":4430,"type":"data_layer","key":"data.attributes_formname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":6121,"type":"data_layer","key":"set_d","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":6838,"type":"cookie","key":"ubs_cookie_settings_2.0.4","uniqueKey":null,"selector":null,"param":"","defaultValue":"0","includeSubdomain":false},{"id":8575,"type":"data_layer","key":"conversion","uniqueKey":"com.fusedeck.conversiontrigger.var.dl","selector":null,"param":null,"defaultValue":""},{"id":8576,"type":"js","key":"fdconversion_tracking","uniqueKey":"com.fusedeck.fdconversion_tracking","selector":null,"param":null,"defaultValue":""},{"id":9024,"type":"data_layer","key":"data.attributes_formname","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":10382,"type":"server_side","key":"fdssCD","uniqueKey":null,"selector":null,"param":"1","defaultValue":""},{"id":10069,"type":"js","key":"fdContentHubVisit","uniqueKey":null,"selector":null,"param":null,"defaultValue":""},{"id":9105,"type":"data_layer","key":"fdProxy","uniqueKey":"com.fusedeck.variable.ubscustomjs","selector":null,"param":null,"defaultValue":""},{"id":10699,"type":"js","key":"fd_traffic_classification","uniqueKey":"com.fusedeck.source_declaration","selector":null,"param":null,"defaultValue":"Unknown"}],"events":[{"id":1,"scope":"page_view","condition":function($a, $v, $t) { return ($t(1)); },"actions":[{"type":"plugin","value":1,"values":null}],"priority":null},{"id":171,"scope":"always","condition":function($a, $v, $t) { return ($t(133)); },"actions":[{"type":"plugin","value":37,"values":null}],"priority":null},{"id":183,"scope":"always","condition":function($a, $v, $t) { return ($t(145)); },"actions":[{"type":"analytics","value":null,"values":{"eventAction":{"type":"variable","id":992,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null},"eventName":{"type":"variable","id":991,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":193,"scope":"always","condition":function($a, $v, $t) { return ($t(474) || $t(3186)); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"FormStart","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_FormStart\",\"partnerId\":\"1531340\",\"conversionId\":16062306,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_FormStart_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594145,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":204,"scope":"always","condition":function($a, $v, $t) { return ($t(846) || $t(3187)); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"FormComplete","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_FormComplete\",\"partnerId\":\"1531340\",\"conversionId\":16062314,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_FormComplete_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594153,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":205,"scope":"page_view","condition":function($a, $v, $t) { return ($t(146)); },"actions":[{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"PageView","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_Visit\",\"partnerId\":\"1531340\",\"conversionId\":16062274,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Visit_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594105,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":207,"scope":"always","condition":function($a, $v, $t) { return ($t(174)); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"Download","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_Download\",\"partnerId\":\"1531340\",\"conversionId\":16062298,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Download_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594137,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":1038,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"General Leads\",\"id\":\"fdxnswmt\",\"type\":\"lead\"}","default_value":null},"Value":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":208,"scope":"always","condition":function($a, $v, $t) { return ($t(174) || $t(175) || $t(176) || $t(173) || $t(187) || $t(474) || $t(475) || $t(2112)) && ($t(1457)); },"actions":[{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"ViewContent","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_QualityVisit\",\"partnerId\":\"1531340\",\"conversionId\":16062282,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_QualityVisit_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594113,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":209,"scope":"always","condition":function($a, $v, $t) { return ($t(176)); },"actions":[{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"Click","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_Click\",\"partnerId\":\"1531340\",\"conversionId\":16062290,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Click_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594121,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":399,"scope":"page_view","condition":function($a, $v, $t) { return (($t(146))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"craft.html") || $a.contains($v(979),"/private/pension/") || $a.contains($v(979),"/services/guide"))); },"actions":[{"type":"plugin","value":107,"values":{"Users":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"full","default_value":null},"Sessions":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"full","default_value":null},"Page Views":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"full","default_value":null},"Events":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"full","default_value":null}}}],"priority":null},{"id":424,"scope":"always","condition":function($a, $v, $t) { return ($t(384)); },"actions":[{"type":"analytics","value":null,"values":{"pixelEvent":{"type":"trigger","id":384,"variable_operation":null,"variable_to_modify":null,"value":"pixelEvent","default_value":null}}}],"priority":null},{"id":451,"scope":"always","condition":function($a, $v, $t) { return ($t(408)); },"actions":[{"type":"analytics","value":null,"values":{"pixelEvent":{"type":"trigger","id":408,"variable_operation":null,"variable_to_modify":null,"value":"pixelEvent","default_value":null}}}],"priority":null},{"id":636,"scope":"page_view","condition":function($a, $v, $t) { return ($t(187)); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":6120,"value":"VideoView","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503320362_VideoView\",\"partnerId\":\"1531340\",\"conversionId\":16062322,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_VideoView_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":17594129,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":792,"scope":"page_view","condition":function($a, $v, $t) { return ($t(146)); },"actions":[{"type":"plugin","value":247,"values":{"Mapping":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdpqcbxl\",\"name\":\"UBS Content Hub\",\"keyname\":\"contentHubCategory\",\"mappings\":{\"fd27f5dn\":{\"id\":\"fd27f5dn\",\"order\":null,\"regex\":\"/magazine/article-adp/ch/\",\"result\":\"Wissen\",\"notregex\":\"\"},\"fd6gbaes\":{\"id\":\"fd6gbaes\",\"order\":null,\"regex\":\"/microsites/impulse/\",\"result\":\"Impulse\",\"notregex\":\"\"},\"fd8lbtdd\":{\"id\":\"fd8lbtdd\",\"order\":null,\"regex\":\"microsites/womens-wealth\",\"result\":\"Women’s Wealth\",\"notregex\":\"\"},\"fd9jo7rt\":{\"id\":\"fd9jo7rt\",\"order\":null,\"regex\":\"/wealth-management/womens-wealth\",\"result\":\"Women’s Wealth\",\"notregex\":\"\"},\"fdbr9usu\":{\"id\":\"fdbr9usu\",\"order\":null,\"regex\":\"/microsites/young/\",\"result\":\"Young\",\"notregex\":\"\"},\"fddiyzzq\":{\"id\":\"fddiyzzq\",\"order\":null,\"regex\":\"/microsites/family/\",\"result\":\"Family\",\"notregex\":\"\"},\"fdfl3uv0\":{\"id\":\"fdfl3uv0\",\"order\":null,\"regex\":\"/private/mortgages/information/brochures-and-publications/interest-forecast.html\",\"result\":\"Hypo\",\"notregex\":\"\"},\"fdgfaqzi\":{\"id\":\"fdgfaqzi\",\"order\":null,\"regex\":\"/information/magazine/\",\"result\":\"Wissen\",\"notregex\":\"\"},\"fdkm4pbm\":{\"id\":\"fdkm4pbm\",\"order\":null,\"regex\":\"microsites/womens-wealth\",\"result\":\"Women’s Wealth\",\"notregex\":\"\"},\"fdmqszph\":{\"id\":\"fdmqszph\",\"order\":null,\"regex\":\"/wealth-management/womens-wealth\",\"result\":\"Women’s Wealth\",\"notregex\":\"\"},\"fdsqymsz\":{\"id\":\"fdsqymsz\",\"order\":null,\"regex\":\"/private/digital-banking/magazine/\",\"result\":\"Wissen\",\"notregex\":\"\"},\"fdvkrlke\":{\"id\":\"fdvkrlke\",\"order\":null,\"regex\":\"/private/mortgages/real-estate.html\",\"result\":\"Bubble Index\",\"notregex\":\"\"}},\"ignoreCase\":true,\"useAllMatches\":false}","default_value":null},"Value":{"type":"variable","id":979,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":793,"scope":"always","condition":function($a, $v, $t) { return ($t(783)); },"actions":[{"type":"plugin","value":250,"values":{"Scoring":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fd2nq3bi\",\"name\":\"ContentHub Scoring\",\"slug\":\"ContentHub-Scoring\",\"persistantScore\":true,\"useWhitelist\":false,\"whitelist\":[],\"useBlacklist\":false,\"blacklist\":[],\"heartbeat\":true,\"scrolls\":true,\"clicks\":true,\"heartbeat_active\":10,\"heartbeat_idle\":0,\"heartbeat_inactive\":0,\"singleHeartbeat\":false,\"reportTrafficSourceSegmentation\":\"utm\"}","default_value":null},"Name":{"type":"trigger","id":783,"variable_operation":null,"variable_to_modify":null,"value":"value","default_value":null}}}],"priority":null},{"id":794,"scope":"always","condition":function($a, $v, $t) { return ($t(784) && $t(783)); },"actions":[{"type":"plugin","value":249,"values":{"Modify Score":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"add","default_value":null},"Scoring":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fd2nq3bi\",\"name\":\"ContentHub Scoring\",\"slug\":\"ContentHub-Scoring\",\"persistantScore\":true,\"useWhitelist\":false,\"whitelist\":[],\"useBlacklist\":false,\"blacklist\":[],\"heartbeat\":true,\"scrolls\":true,\"clicks\":true,\"heartbeat_active\":10,\"heartbeat_idle\":0,\"heartbeat_inactive\":0,\"singleHeartbeat\":false,\"reportTrafficSourceSegmentation\":\"utm\"}","default_value":null},"Name":{"type":"trigger","id":783,"variable_operation":null,"variable_to_modify":null,"value":"value","default_value":null},"Score":{"type":"trigger","id":784,"variable_operation":null,"variable_to_modify":null,"value":"scroll_threshold","default_value":null},"Weight":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"0.5","default_value":null}}}],"priority":null},{"id":795,"scope":"always","condition":function($a, $v, $t) { return ($t(785) && $t(783)); },"actions":[{"type":"plugin","value":248,"values":{"Modify Score":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"add","default_value":null},"Scoring":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fd2nq3bi\",\"name\":\"ContentHub Scoring\",\"slug\":\"ContentHub-Scoring\",\"persistantScore\":true,\"useWhitelist\":false,\"whitelist\":[],\"useBlacklist\":false,\"blacklist\":[],\"heartbeat\":true,\"scrolls\":true,\"clicks\":true,\"heartbeat_active\":10,\"heartbeat_idle\":0,\"heartbeat_inactive\":0,\"singleHeartbeat\":false,\"reportTrafficSourceSegmentation\":\"utm\"}","default_value":null},"Name":{"type":"trigger","id":783,"variable_operation":null,"variable_to_modify":null,"value":"value","default_value":null},"Score":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"100","default_value":null}}}],"priority":null},{"id":796,"scope":"page_view","condition":function($a, $v, $t) { return ($t(782)); },"actions":[{"type":"plugin","value":251,"values":{"Scoring":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fd2nq3bi\",\"name\":\"ContentHub Scoring\",\"slug\":\"ContentHub-Scoring\",\"persistantScore\":true,\"useWhitelist\":false,\"whitelist\":[],\"useBlacklist\":false,\"blacklist\":[],\"heartbeat\":true,\"scrolls\":true,\"clicks\":true,\"heartbeat_active\":10,\"heartbeat_idle\":0,\"heartbeat_inactive\":0,\"singleHeartbeat\":false,\"reportTrafficSourceSegmentation\":\"utm\"}","default_value":null},"Name":{"type":"variable","id":3654,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":1027,"scope":"always","condition":function($a, $v, $t) { return (($t(1034))) && (($a.contains($v(4368),"form"))); },"actions":[{"type":"analytics","value":null,"values":{"eventinfo_eventname":{"type":"variable","id":4368,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null},"eventinfo_formname":{"type":"variable","id":4430,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":1091,"scope":"always","condition":function($a, $v, $t) { return ($t(1104)); },"actions":[{"type":"analytics","value":null,"values":{"ListItemLinkText":{"type":"trigger","id":1104,"variable_operation":null,"variable_to_modify":null,"value":"element_text","default_value":null},"ListItemHref":{"type":"trigger","id":1104,"variable_operation":null,"variable_to_modify":null,"value":"element_attributes[href]","default_value":null}}}],"priority":null},{"id":1158,"scope":"always","condition":function($a, $v, $t) { return ($t(1177)); },"actions":[{"type":"analytics","value":null,"values":{"href":{"type":"trigger","id":1177,"variable_operation":null,"variable_to_modify":null,"value":"element_attributes[href]","default_value":null}}}],"priority":null},{"id":1207,"scope":"always","condition":function($a, $v, $t) { return ($t(1229)); },"actions":[{"type":"analytics","value":null,"values":{"attributes_linkname":{"type":"variable","id":4865,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null},"attributes_linkurl":{"type":"variable","id":4929,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":1639,"scope":"always","condition":function($a, $v, $t) { return ($t(1457) && $t(1725)); },"actions":[{"type":"plugin","value":116,"values":{"Pixel Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null},"Event Name":{"type":"trigger","id":1725,"variable_operation":null,"variable_to_modify":null,"value":"value","default_value":null}}},{"type":"modify_variables","value":null,"values":{"m1":{"type":"trigger","id":1725,"variable_operation":"set","variable_to_modify":6121,"value":"value","default_value":null}}}],"priority":null},{"id":1783,"scope":"always","condition":function($a, $v, $t) { return ($t(1914)); },"actions":[{"type":"analytics","value":null,"values":{"value":{"type":"trigger","id":1914,"variable_operation":null,"variable_to_modify":null,"value":"value","default_value":null},"name":{"type":"trigger","id":1914,"variable_operation":null,"variable_to_modify":null,"value":"name","default_value":null}}}],"priority":null},{"id":1808,"scope":"always","condition":function($a, $v, $t) { return (($t(1943))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1809,"scope":"always","condition":function($a, $v, $t) { return (($t(1944))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1810,"scope":"always","condition":function($a, $v, $t) { return (($t(1945))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1811,"scope":"always","condition":function($a, $v, $t) { return (($t(1946))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1812,"scope":"always","condition":function($a, $v, $t) { return (($t(1947))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1813,"scope":"always","condition":function($a, $v, $t) { return (($t(1948))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1814,"scope":"always","condition":function($a, $v, $t) { return (($t(1949))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1815,"scope":"always","condition":function($a, $v, $t) { return (($t(1950))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1816,"scope":"always","condition":function($a, $v, $t) { return (($t(1951))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":{"progress":{"type":"trigger","id":1951,"variable_operation":null,"variable_to_modify":null,"value":"progress_percent","default_value":null}}}],"priority":null},{"id":1820,"scope":"always","condition":function($a, $v, $t) { return (($t(1956))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1821,"scope":"always","condition":function($a, $v, $t) { return (($t(1957))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1822,"scope":"always","condition":function($a, $v, $t) { return ($t(1969)); },"actions":[{"type":"analytics","value":null,"values":{"form-error":{"type":"variable","id":6636,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"plugin","value":1038,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"General Leads\",\"id\":\"fdxnswmt\",\"type\":\"lead\"}","default_value":null},"Value":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}}],"priority":null},{"id":1823,"scope":"always","condition":function($a, $v, $t) { return (($t(1979))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1824,"scope":"always","condition":function($a, $v, $t) { return (($t(1980))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1825,"scope":"always","condition":function($a, $v, $t) { return (($t(1981))) && (($a.ends_with($v(980),"craft.html"))); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":1946,"scope":"session","condition":function($a, $v, $t) { return ($t(2177)); },"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":2321,"scope":"always","condition":function($a, $v, $t) { return ($t(2768)) && ($t(2768)) && ($t(2768)); },"actions":[{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":2768,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}},{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":2768,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}},{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":2768,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}}],"priority":null},{"id":2322,"scope":"page_view","condition":null,"actions":[{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":4133,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}}],"priority":null},{"id":2365,"scope":"page_view","condition":function($a, $v, $t) { return ($t(1457)); },"actions":[{"type":"plugin","value":837,"values":{"Consent Level":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"consentmode.marketing","default_value":"consentmode.technical"}}}],"priority":null},{"id":2644,"scope":"always","condition":function($a, $v, $t) { return (($t(174) || $t(173) || $t(187) || $t(474) || $t(475) || $t(3462) || $t(3461) || $t(3464))) && (($a.contains($v(980),"wealth-management") || $a.contains($v(980),"wealthmanagement")) && ($a.not_contains($v(980),"/careers") && $a.not_contains($v(980),"financial-advisor-experience") && $a.not_contains($v(980),"complaints-process"))); },"actions":[{"type":"analytics","value":null,"values":{"trigger":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503237698_QualityVisit_GBC_CAPI\",\"partnerId\":\"637385\",\"conversionId\":16536588,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"513021908_QualityVisit_CAPI\",\"partnerId\":1531340,\"conversionId\":19648313,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":2690,"scope":"always","condition":null,"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":2691,"scope":"always","condition":function($a, $v, $t) { return (($t(146))) && (($a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/private/pension/information/magazine/") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/information/magazine/") || $a.contains($v(979),"/private/digital-banking/magazine/") || $a.contains($v(979),"/magazine/article-adp/ch/") || $a.contains($v(979),"/services/guide") || $a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/private/magazine.html"))); },"actions":[{"type":"plugin","value":939,"values":{"Selector":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"div.textimage","default_value":"body"},"Reading speed":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"250","default_value":"250"},"Consider visibility":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"1","default_value":"false"}}}],"priority":null},{"id":2784,"scope":"always","condition":function($a, $v, $t) { return ($t(3463) || $t(3538)); },"actions":[{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"increment_by","variable_to_modify":8213,"value":"1","default_value":null}}},{"type":"modify_variables","value":null,"values":{"m1":{"type":"variable","id":8213,"variable_operation":"set","variable_to_modify":8214,"value":null,"default_value":null}}}],"priority":null},{"id":2880,"scope":"always","condition":function($a, $v, $t) { return (($t(146))) && (($a.contains($v(980),"wealth-management") || $a.contains($v(980),"wealthmanagement")) && ($a.not_contains($v(980),"/careers") && $a.not_contains($v(980),"financial-advisor-experience") && $a.not_contains($v(980),"complaints-process"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503237698_Visit_GBC_CAPI\",\"partnerId\":\"637385\",\"conversionId\":17221716,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":0}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"513021908_Visit_CAPI\",\"partnerId\":1531340,\"conversionId\":19648305,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3025,"scope":"always","condition":function($a, $v, $t) { return ($t(3831)); },"actions":[{"type":"analytics","value":null,"values":{"conversion":{"type":"trigger","id":3831,"variable_operation":null,"variable_to_modify":null,"value":"value","default_value":null}}}],"priority":null},{"id":3026,"scope":"always","condition":function($a, $v, $t) { return (($t(3832))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":{"click-href":{"type":"trigger","id":3832,"variable_operation":null,"variable_to_modify":null,"value":"element_attributes[href]","default_value":null},"click-name":{"type":"trigger","id":3832,"variable_operation":null,"variable_to_modify":null,"value":"element_text","default_value":null},"click-class":{"type":"trigger","id":3832,"variable_operation":null,"variable_to_modify":null,"value":"element_class","default_value":null}}},{"type":"plugin","value":1038,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdohbnzy\",\"name\":\"Content Hub Interaktion\",\"type\":\"lead\"}","default_value":null}}}],"priority":null},{"id":3127,"scope":"always","condition":function($a, $v, $t) { return (($t(474))) && (($a.contains($v(980),"wealth-management") || $a.contains($v(980),"wealthmanagement")) && ($a.not_contains($v(980),"/careers") && $a.not_contains($v(980),"financial-advisor-experience") && $a.not_contains($v(980),"complaints-process"))); },"actions":[{"type":"analytics","value":null,"values":{"trigger":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503237698_FormStart_GBC_CAPI\",\"partnerId\":\"637385\",\"conversionId\":17530740,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"513021908_FormStart_CAPI\",\"partnerId\":1531340,\"conversionId\":19648321,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3128,"scope":"always","condition":function($a, $v, $t) { return (($t(475))) && (($a.contains($v(980),"wealth-management") || $a.contains($v(980),"wealthmanagement")) && ($a.not_contains($v(980),"/careers") && $a.not_contains($v(980),"financial-advisor-experience") && $a.not_contains($v(980),"complaints-process"))); },"actions":[{"type":"analytics","value":null,"values":{"trigger":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"503237698_FormComplete_GBC_CAPI\",\"partnerId\":\"637385\",\"conversionId\":17530748,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}},{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"513021908_FormComplete_CAPI\",\"partnerId\":1531340,\"conversionId\":19648329,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3241,"scope":"always","condition":function($a, $v, $t) { return ($t(4133)); },"actions":[{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":4133,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}}],"priority":null},{"id":3242,"scope":"always","condition":function($a, $v, $t) { return ($t(4134)); },"actions":[{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":4133,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}}],"priority":null},{"id":3359,"scope":"always","condition":function($a, $v, $t) { return (($t(4289) || $t(4290))) && (($a.contains($v(9024),"arrange-consultation"))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"plugin","value":1038,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdohbnzy\",\"name\":\"Content Hub Interaktion\",\"type\":\"lead\"}","default_value":null},"Value":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"arrange-consultation Form Complete ","default_value":null}}}],"priority":null},{"id":3360,"scope":"always","condition":function($a, $v, $t) { return (($t(4289) || $t(4290))) && (($a.contains($v(9024),"Callmeback") || $a.contains($v(9024),"callback-leap") || $a.contains($v(9024),"wealth-management/womens-wealth/contact") || $a.contains($v(9024),"/corporates/accounts/current-account-new"))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"plugin","value":1038,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdohbnzy\",\"name\":\"Content Hub Interaktion\",\"type\":\"lead\"}","default_value":null},"Value":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"Callmeback Form Complete","default_value":null}}}],"priority":null},{"id":3361,"scope":"always","condition":function($a, $v, $t) { return (($t(4289) || $t(4290))) && (($a.contains($v(9024),"subscription"))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"Newsletters subscriptions Form Complete ","default_value":null}}}],"priority":null},{"id":3362,"scope":"always","condition":function($a, $v, $t) { return (($t(4289) || $t(4290))) && (($a.not_contains($v(9024),"Callmeback") && $a.not_contains($v(9024),"callback-leap") && $a.not_contains($v(9024),"wealth-management/womens-wealth/contact") && $a.not_contains($v(9024),"/corporates/accounts/current-account-new") && $a.not_contains($v(9024),"arrange-consultation") && $a.not_contains($v(9024),"subscription"))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"Form Complete (others)","default_value":null}}}],"priority":null},{"id":3363,"scope":"always","condition":function($a, $v, $t) { return (($t(4291))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"Redirect AppStore","default_value":null}}}],"priority":null},{"id":3365,"scope":"always","condition":function($a, $v, $t) { return (($t(4293))) && (($a.contains($v(979),"/private/accounts-and-cards/"))); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdnwsjfn\",\"token\":\"\",\"pixelId\":\"CMBC7BRC77UFQ8DF1H40\",\"sendMode\":\"api\",\"batchSize\":1000,\"configName\":\"UBS\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_5_minutes\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"Download","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3366,"scope":"always","condition":function($a, $v, $t) { return (($t(174) || $t(173) || $t(187) || $t(474) || $t(846) || $t(3462) || $t(3461) || $t(3464))) && (($a.contains($v(980),"/private/pension/") || $a.contains($v(980),"/private/accounts-and-cards/"))); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdnwsjfn\",\"token\":\"\",\"pixelId\":\"CMBC7BRC77UFQ8DF1H40\",\"sendMode\":\"api\",\"batchSize\":1000,\"configName\":\"UBS\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_5_minutes\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3367,"scope":"always","condition":function($a, $v, $t) { return (($t(474))) && (($a.contains($v(980),"/private/pension/") || $a.contains($v(980),"/private/accounts-and-cards/"))); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdnwsjfn\",\"token\":\"\",\"pixelId\":\"CMBC7BRC77UFQ8DF1H40\",\"sendMode\":\"api\",\"batchSize\":1000,\"configName\":\"UBS\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_5_minutes\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"InitiateCheckout","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3368,"scope":"always","condition":function($a, $v, $t) { return (($t(846))) && (($a.contains($v(980),"/private/pension/") || $a.contains($v(980),"/private/accounts-and-cards/"))); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdnwsjfn\",\"token\":\"\",\"pixelId\":\"CMBC7BRC77UFQ8DF1H40\",\"sendMode\":\"api\",\"batchSize\":1000,\"configName\":\"UBS\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_5_minutes\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"SubmitForm","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3437,"scope":"page_view","condition":function($a, $v, $t) { return ($t(146)); },"actions":[{"type":"plugin","value":1149,"values":null},{"type":"plugin","value":1151,"values":null}],"priority":null},{"id":3438,"scope":"always","condition":function($a, $v, $t) { return (($t(4378) && $t(4379))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":null},{"type":"plugin","value":1038,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdohbnzy\",\"name\":\"Content Hub Interaktion\",\"type\":\"lead\"}","default_value":null},"Value":{"type":"last_trigger_name","id":null,"variable_operation":null,"variable_to_modify":null,"value":null,"default_value":null}}},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"Call Ins","default_value":null}}}],"priority":null},{"id":3721,"scope":"always","condition":null,"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":3722,"scope":"always","condition":null,"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":3881,"scope":"always","condition":null,"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":3882,"scope":"always","condition":null,"actions":[{"type":"analytics","value":null,"values":null}],"priority":null},{"id":3971,"scope":"always","condition":function($a, $v, $t) { return ($t(5015)); },"actions":[{"type":"analytics","value":null,"values":{"event":{"type":"trigger","id":5015,"variable_operation":null,"variable_to_modify":null,"value":"values","default_value":null}}}],"priority":null},{"id":3972,"scope":"page_view","condition":function($a, $v, $t) { return ($t(146)); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fduqp3hc\",\"token\":\"\",\"pixelId\":\"CSP0LMRC77UCS5RP9RLG\",\"sendMode\":\"api\",\"batchSize\":2000,\"configName\":\"UBS Neu\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_1_hour\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"Pageview","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3973,"scope":"always","condition":function($a, $v, $t) { return ($t(174) || $t(175) || $t(176) || $t(173) || $t(187) || $t(474) || $t(475) || $t(2112)) && ($t(1457)); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fduqp3hc\",\"token\":\"\",\"pixelId\":\"CSP0LMRC77UCS5RP9RLG\",\"sendMode\":\"api\",\"batchSize\":2000,\"configName\":\"UBS Neu\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_1_hour\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3974,"scope":"always","condition":function($a, $v, $t) { return ($t(474) || $t(3186)); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fduqp3hc\",\"token\":\"\",\"pixelId\":\"CSP0LMRC77UCS5RP9RLG\",\"sendMode\":\"api\",\"batchSize\":2000,\"configName\":\"UBS Neu\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_1_hour\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"InitiateCheckout","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":3975,"scope":"always","condition":function($a, $v, $t) { return ($t(846) || $t(3187)); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fduqp3hc\",\"token\":\"\",\"pixelId\":\"CSP0LMRC77UCS5RP9RLG\",\"sendMode\":\"api\",\"batchSize\":2000,\"configName\":\"UBS Neu\",\"dataFlowOn\":true,\"debugEmail\":\"\",\"instantLogs\":true,\"s2sSchedule\":\"every_1_hour\",\"testEventCode\":\"\",\"useExternalId\":false,\"debugEventReport\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"SubmitForm","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":4126,"scope":"always","condition":function($a, $v, $t) { return (($t(5188))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"analytics","value":null,"values":{"pdf-name":{"type":"trigger","id":5188,"variable_operation":null,"variable_to_modify":null,"value":"element_text","default_value":null},"pdf-href":{"type":"trigger","id":5188,"variable_operation":null,"variable_to_modify":null,"value":"element_attributes[href]","default_value":null}}},{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10382,"value":"File Download","default_value":null}}}],"priority":null},{"id":4280,"scope":"page_view","condition":function($a, $v, $t) { return (($t(146))) && (($a.contains($v(979),"/private/magazine.html") || $a.contains($v(979),"/microsites/young") || $a.contains($v(979),"/microsites/family") || $a.contains($v(979),"/microsites/impulse") || $a.contains($v(979),"/microsites/focus") || $a.contains($v(979),"/wealth-management/womens-wealth") || $a.contains($v(979),"/magazine") || $a.contains($v(979),"/private/mortgages/information/brochures-and-publications/interest-forecast.html") || $a.contains($v(979),"/microsites/womens-wealth") || $a.contains($v(979),"/private/mortgages/real-estate.html") || $a.contains($v(979),"/private/pension/"))); },"actions":[{"type":"modify_variables","value":null,"values":{"m1":{"type":"custom","id":null,"variable_operation":"set","variable_to_modify":10069,"value":"true","default_value":null},"m2":{"type":"variable","id":10382,"variable_operation":"set","variable_to_modify":10382,"value":null,"default_value":null}}}],"priority":null},{"id":4826,"scope":"always","condition":function($a, $v, $t) { return ($t(5972) && $t(1457)) && ($t(474)); },"actions":[{"type":"plugin","value":1306,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fd8wgriv\",\"name\":\"Form Start - Native Pixel MMC - Conversion API\",\"category\":\"DEFAULT\",\"customerId\":\"2959206622\",\"conversionId\":\"6963736252\",\"resourceName\":\"customers/2959206622/conversionActions/6963736252\",\"conversionType\":\"UPLOAD_CLICKS\",\"conversionMethod\":\"CONVERSIONS_API\"}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":4827,"scope":"always","condition":function($a, $v, $t) { return ($t(5972) && $t(1457)) && ($t(846)); },"actions":[{"type":"plugin","value":1306,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdea8ite\",\"name\":\"Form Success - Native Pixel MMC - Conversion API\",\"category\":\"SUBMIT_LEAD_FORM\",\"customerId\":\"2959206622\",\"conversionId\":\"6963104302\",\"resourceName\":\"customers/2959206622/conversionActions/6963104302\",\"conversionType\":\"UPLOAD_CLICKS\",\"conversionMethod\":\"CONVERSIONS_API\"}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":4828,"scope":"always","condition":function($a, $v, $t) { return ($t(174) || $t(175) || $t(176) || $t(173) || $t(187) || $t(474) || $t(475) || $t(2112)) && ($t(5972) && $t(1457)); },"actions":[{"type":"plugin","value":1306,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdp9iloq\",\"name\":\"Quality Visits (Without Scrolling) – Native Pixel MCC - Conversion API\",\"category\":\"PAGE_VIEW\",\"customerId\":\"2959206622\",\"conversionId\":\"6963544733\",\"resourceName\":\"customers/2959206622/conversionActions/6963544733\",\"conversionType\":\"UPLOAD_CLICKS\",\"conversionMethod\":\"CONVERSIONS_API\"}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":4829,"scope":"always","condition":function($a, $v, $t) { return ($t(3186)); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdobxp0v\",\"configName\":\"UBS CMBC7BRC77UFQ8DF1H40\",\"pixelId\":\"CMBC7BRC77UFQ8DF1H40\",\"sendMode\":\"api\",\"token\":\"\",\"testEventCode\":\"\",\"debugEmail\":\"\",\"debugEventReport\":true,\"instantLogs\":true,\"s2sSchedule\":\"every_5_minutes\",\"useExternalId\":false,\"batchSize\":100,\"dataFlowOn\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"InitiateCheckout","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":4830,"scope":"always","condition":function($a, $v, $t) { return ($t(3187)); },"actions":[{"type":"plugin","value":1099,"values":{"Pixel":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"fdId\":\"fdobxp0v\",\"configName\":\"UBS CMBC7BRC77UFQ8DF1H40\",\"pixelId\":\"CMBC7BRC77UFQ8DF1H40\",\"sendMode\":\"api\",\"token\":\"\",\"testEventCode\":\"\",\"debugEmail\":\"\",\"debugEventReport\":true,\"instantLogs\":true,\"s2sSchedule\":\"every_5_minutes\",\"useExternalId\":false,\"batchSize\":100,\"dataFlowOn\":true}","default_value":null},"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"SubmitForm","default_value":""},"Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":4914,"scope":"always","condition":null,"actions":[{"type":"analytics","value":null,"values":null},{"type":"analytics","value":null,"values":null}],"priority":null},{"id":4915,"scope":"session","condition":function($a, $v, $t) { return ($t(6061)); },"actions":[{"type":"plugin","value":1559,"values":null}],"priority":null},{"id":5100,"scope":"always","condition":function($a, $v, $t) { return (($t(6266))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/pension"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839851","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5101,"scope":"always","condition":function($a, $v, $t) { return (($t(6267))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/pension"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormStart","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839856","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5102,"scope":"always","condition":function($a, $v, $t) { return (($t(6268))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/pension"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormComplete","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839859","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5103,"scope":"always","condition":function($a, $v, $t) { return (($t(6266))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/accounts-and-cards/fixed-term-deposit.html") || $a.contains($v(979),"/services/investments/products/well-invested"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"26475499","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5104,"scope":"always","condition":function($a, $v, $t) { return (($t(6267))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/investments/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/investment-plan/callback") || $a.contains($v(979),"/services/investments/callback") || $a.contains($v(979),"/services/accounts-and-cards/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/products/ubs-duo-savings") || $a.contains($v(979),"/services/investments/products/well-invested"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormStart","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"26475518","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5105,"scope":"always","condition":function($a, $v, $t) { return (($t(6268))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/investments/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/investment-plan/callback") || $a.contains($v(979),"/services/investments/callback") || $a.contains($v(979),"/services/accounts-and-cards/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/products/ubs-duo-savings") || $a.contains($v(979),"/services/investments/products/well-invested"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormComplete","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"26475536","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5106,"scope":"always","condition":function($a, $v, $t) { return (($t(6266))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/accounts-and-cards/daily-banking/youth-accounts/students") || $a.contains($v(979),"/services/accounts-and-cards/daily-banking/private-account-adults/key4"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839995","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5107,"scope":"always","condition":function($a, $v, $t) { return (($t(6266))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/corporate-account/key4"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25877693","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5108,"scope":"always","condition":function($a, $v, $t) { return (($t(6267))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/corporate-account/key4/banking-package/apply"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormStart","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25623949","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5109,"scope":"always","condition":function($a, $v, $t) { return (($t(6268))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/corporate-account/key4/banking-package/apply"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormComplete","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25623621","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5110,"scope":"always","condition":function($a, $v, $t) { return (($t(6266))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/mortgages"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"ViewContent","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839845","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5111,"scope":"always","condition":function($a, $v, $t) { return (($t(6267))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/mortgages"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormStart","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839846","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5112,"scope":"always","condition":function($a, $v, $t) { return (($t(6268))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/mortgages"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormComplete","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"25839847","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5210,"scope":"always","condition":function($a, $v, $t) { return (($t(6361) || $t(6362) || $t(6360))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/private-account-adults/key4")) || ($a.contains($v(979),"/services/accounts-and-cards/daily-banking/youth-accounts/students.html"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"Download","default_value":null},"Seg ID":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"26715350","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":5603,"scope":"always","condition":function($a, $v, $t) { return (($t(6268))) && (($a.contains($v(979),"wealth-management") || $a.contains($v(979),"wealthmanagement")) && ($a.not_contains($v(979),"/careers") && $a.not_contains($v(979),"financial-advisor-experience") && $a.not_contains($v(979),"complaints-process"))); },"actions":[{"type":"plugin","value":1582,"values":{"Event Name":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"FormComplete","default_value":null},"CAPI":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"true","default_value":null},"Pixel Config":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"id\":\"fdj4gsol\",\"s2s\":true,\"fbid\":\"2348238035464142\",\"name\":\"UBS / Key4\",\"useScript\":false,\"autoConfig\":true,\"payloadEvents\":[{\"niceName\":\"Seg ID\",\"fieldName\":\"segID\",\"fieldType\":\"custom\"},{\"niceName\":\"CAPI\",\"fieldName\":\"CAPI\",\"fieldType\":\"custom\"}],\"useExternalId\":false,\"payloadActionId\":1}","default_value":null}}}],"priority":null},{"id":6018,"scope":"always","condition":function($a, $v, $t) { return (($t(7135))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/mortgages"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_UBS Classic Mortgages_Form Complete_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441593,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6019,"scope":"always","condition":function($a, $v, $t) { return (($t(7136))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/mortgages"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_UBS Classic Mortgages_Form Start_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441585,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6020,"scope":"always","condition":function($a, $v, $t) { return (($t(7137))) && (($a.contains($v(979),"/ch/") && $a.contains($v(979),"/mortgages"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_UBS Classic Mortgages_Quality Visit_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441577,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6021,"scope":"always","condition":function($a, $v, $t) { return (($t(7135))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/corporate-account/key4/banking-package/apply"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Key4 Business_Form Complete_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441569,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6022,"scope":"always","condition":function($a, $v, $t) { return (($t(7136))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/corporate-account/key4/banking-package/apply"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Key4 Business_Form Start_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441561,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6023,"scope":"always","condition":function($a, $v, $t) { return (($t(7137))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/corporate-account/key4"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Key4 Business_Quality Visit_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441553,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6024,"scope":"always","condition":function($a, $v, $t) { return (($t(7138) || $t(7139) || $t(7140))) && (($a.contains($v(979),"/services/accounts-and-cards/daily-banking/private-account-adults/key4") || $a.contains($v(979),"/services/accounts-and-cards/daily-banking/youth-accounts/students.html"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Key4 Banking_App Download_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441545,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6025,"scope":"always","condition":function($a, $v, $t) { return (($t(7137))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/accounts-and-cards/daily-banking/youth-accounts/students") || $a.contains($v(979),"/services/accounts-and-cards/daily-banking/private-account-adults/key4"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Key4 Banking_Quality Visit_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441537,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6026,"scope":"always","condition":function($a, $v, $t) { return (($t(7135))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/investments/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/investment-plan/callback") || $a.contains($v(979),"/services/investments/callback") || $a.contains($v(979),"/services/accounts-and-cards/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/products/ubs-duo-savings") || $a.contains($v(979),"/services/investments/products/well-invested"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Deposits_Form Complete_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441529,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6027,"scope":"always","condition":function($a, $v, $t) { return (($t(7136))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/investments/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/investment-plan/callback") || $a.contains($v(979),"/services/investments/callback") || $a.contains($v(979),"/services/accounts-and-cards/fixed-term-deposit/callback") || $a.contains($v(979),"/services/investments/products/ubs-duo-savings") || $a.contains($v(979),"/services/investments/products/well-invested"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Deposits_Form Start_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441521,\"conversionType\":\"OTHER\",\"conversionMethod\":\"CONVERSIONS_API\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6028,"scope":"always","condition":function($a, $v, $t) { return (($t(7137))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/services/accounts-and-cards/fixed-term-deposit.html") || $a.contains($v(979),"/services/investments/products/well-invested"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Deposits_Quality Visit_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441873,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6029,"scope":"always","condition":function($a, $v, $t) { return (($t(7137))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/pension"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Pension_Quality Visit_CAPI \",\"partnerId\":\"6375009\",\"conversionId\":21441897,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6030,"scope":"always","condition":function($a, $v, $t) { return (($t(7136))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/pension"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Pension_Form Start_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441889,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null},{"id":6031,"scope":"always","condition":function($a, $v, $t) { return (($t(7135))) && (($a.contains($v(979),"/ch/")) && ($a.contains($v(979),"/pension"))); },"actions":[{"type":"plugin","value":823,"values":{"Conversion":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"{\"name\":\"512581628_Pension_Form Complete_CAPI\",\"partnerId\":\"6375009\",\"conversionId\":21441881,\"conversionMethod\":\"CONVERSIONS_API\",\"conversionType\":\"OTHER\",\"associatedConversionId\":null}","default_value":null},"Conversion Currency":{"type":"custom","id":null,"variable_operation":null,"variable_to_modify":null,"value":"CHF","default_value":null}}}],"priority":null}],"pluginActions":[{"id":37,"pluginKey":"com.fusedeck.ubs.js.digitaldata.trigger.1.3.10","uniqueKey":"com.fusedeck.ubs.js.digitaldata.trigger.listenEvent"},{"id":107,"pluginKey":"com.fusedeck.traffic-tracking-switch.1.0.1","uniqueKey":"com.fusedeck.traffic-tracking-switch.mainevent"},{"id":837,"pluginKey":"com.fusedeck.consent.consentmode.controller.1.0.2","uniqueKey":"com.fusedeck.consent.consentmode.controller.pluginAction.consentmodecontroller"},{"id":1149,"pluginKey":"com.fusedeck.ubs.customjs.1.1.1","uniqueKey":"com.fusedeck.ubs.customjs.pluginAction.ubscustomjsstoredatemodified"},{"id":1151,"pluginKey":"com.fusedeck.ubs.customjs.1.1.1","uniqueKey":"com.fusedeck.ubs.customjs.pluginAction.ubscustomjssetcallin"},{"id":116,"pluginKey":"com.fusedeck.thirdparty.fb.events.1.9.23","uniqueKey":"com.fusedeck.thirdparty.fb.events.fb.pixel.events.fb.action"},{"id":247,"pluginKey":"com.fusedeck.mapper.1.3.5","uniqueKey":"com.fusedeck.mapper.mapping.action"},{"id":248,"pluginKey":"com.fusedeck.scoring.main.1.20.6","uniqueKey":"com.fusedeck.scoring.main.scoring.base.action.modify"},{"id":249,"pluginKey":"com.fusedeck.scoring.main.1.20.6","uniqueKey":"com.fusedeck.scoring.main.scoring.base.action.modify.weighted"},{"id":251,"pluginKey":"com.fusedeck.scoring.main.1.20.6","uniqueKey":"com.fusedeck.scoring.main.scoring.base.action.setElement"},{"id":570,"pluginKey":"com.fusedeck.thirdparty.fb.events.1.9.23","uniqueKey":"com.fusedeck.thirdparty.fb.events.fb.pixel.events.fb.action.standard.parameters"},{"id":823,"pluginKey":"com.fusedeck.thirdparty.linkedin.events.1.5.54","uniqueKey":"com.fusedeck.thirdparty.linkedin.events.pluginAction.linkedineventconversion"},{"id":824,"pluginKey":"com.fusedeck.thirdparty.linkedin.events.1.5.54","uniqueKey":"com.fusedeck.thirdparty.linkedin.events.pluginAction.linkedineventinsighttag"},{"id":939,"pluginKey":"com.fusedeck.reader.1.3.7","uniqueKey":"com.fusedeck.reader.reader.action.init"},{"id":1038,"pluginKey":"com.fusedeck.conversiontracking.1.1.3","uniqueKey":"com.fusedeck.conversiontracking.conversiontracking_action"},{"id":1099,"pluginKey":"com.fusedeck.thirdparty.tiktok.events.1.2.18","uniqueKey":"com.fusedeck.thirdparty.tiktok.events.pluginAction.tiktokevent"},{"id":1150,"pluginKey":"com.fusedeck.ubs.customjs.1.1.1","uniqueKey":"com.fusedeck.ubs.customjs.pluginAction.ubscustomjsstorecallin"},{"id":1306,"pluginKey":"com.fusedeck.thirdparty.google.ads.events.1.2.12","uniqueKey":"com.fusedeck.thirdparty.google.ads.events.pluginAction.googleadsconversioneventconversion"},{"id":1582,"pluginKey":"com.fusedeck.thirdparty.fb.events.1.9.23","uniqueKey":"com.fusedeck.thirdparty.fb.events.fb.pixel.events.fb.action.custom.payload.1"},{"id":1778,"pluginKey":"com.fusedeck.thirdparty.fb.events.1.9.23","uniqueKey":"com.fusedeck.thirdparty.fb.events.fb.pixel.events.fb.action.pixel"},{"id":1,"pluginKey":"com.fusedeck.ubs.campid.1.6.4","uniqueKey":"com.fusedeck.ubs.campid.ubs.campid.action.default"},{"id":250,"pluginKey":"com.fusedeck.scoring.main.1.20.6","uniqueKey":"com.fusedeck.scoring.main.scoring.base.action.heartbeat"},{"id":1148,"pluginKey":"com.fusedeck.ubs.customjs.1.1.1","uniqueKey":"com.fusedeck.ubs.customjs.pluginAction.storedatemodified"},{"id":1559,"pluginKey":"com.fusedeck.traffic-classification.1.1.12","uniqueKey":"com.fusedeck.traffic-classification.fd_traffic_classification.action"}],"pluginTriggers":[{"id":20,"pluginKey":"com.fusedeck.ubs.js.digitaldata.trigger.1.3.10","uniqueKey":"com.fusedeck.ubs.js.digitaldata.trigger.firejs"},{"id":45,"pluginKey":"com.fusedeck.thirdparty.fb.events.1.9.23","uniqueKey":"com.fusedeck.thirdparty.fb.events.fb.pixel.events.plugintrigger.s2s"},{"id":51,"pluginKey":"com.fusedeck.thirdparty.fb.events.1.9.23","uniqueKey":"com.fusedeck.thirdparty.fb.events.fb.pixel.events.plugintrigger.audienceSend"},{"id":360,"pluginKey":"com.fusedeck.thirdparty.linkedin.events.1.5.54","uniqueKey":"com.fusedeck.thirdparty.linkedin.events.pluginTrigger.linkedineventapievent"},{"id":478,"pluginKey":"com.fusedeck.thirdparty.tiktok.events.1.2.18","uniqueKey":"com.fusedeck.thirdparty.tiktok.events.pluginTrigger.tiktokeventapievent"},{"id":479,"pluginKey":"com.fusedeck.thirdparty.tiktok.events.1.2.18","uniqueKey":"com.fusedeck.thirdparty.tiktok.events.pluginTrigger.tiktokpixelevents"},{"id":578,"pluginKey":"com.fusedeck.thirdparty.google.ads.events.1.2.12","uniqueKey":"com.fusedeck.thirdparty.google.ads.events.pluginTrigger.googleadsconversioneventapievent"}],"htmlTemplates":[],"jsSelector":null,"includeBotTraffic":true,"transports":[{"type":"socket","endpoint":"wss://fuse.ubs.com/t/eng"},{"type":"pixel","endpoint":"https://fuse.ubs.com/t/pxl.gif"}],"dataLayerName":"fdData"}, 20, 1);
window.FuseDeck && window.FuseDeck.setEnvVars({"geo":{"continent":{"code":"NA","name":"North America"},"country":{"code":"US","name":"United States"},"location":{"latitude":37.751,"longitude":-97.822},"ipClassification":"Unrecognized"},"userAgent":{"family":"Safari","major":"0","minor":"0","patch":"0","os":{"family":"Other","major":"0","minor":"0","patch":"0"},"device":{"family":"Spider","major":"0","minor":"0","patch":"0"},"type":"bot"},"client":{"ipAddress":"3.141.46.77","crawlerFamily":null,"datacenterName":"Amazon AWS"}});
window.FuseDeck && window.FuseDeck.initializeProperty("eh7KWg43bQ", {"id":null,"propertyId":"eh7KWg43bQ","active":0,"inactive":0,"idle":0,"events":{},"campaign":{"sessionAdId":null,"sessionSiteId":null,"pageviewAdId":null,"pageviewSiteId":null},"location":null,"referer":null,"pageViewCount":0,"variables":{},"isThirdParty":false,"hashCode":"44d1110eed2cbafa4c9c576d6fa9fcb1","temporary":false}, null, undefined, {"3657":{"hashCode":"44d1110eed2cbafa4c9c576d6fa9fcb1"},"10382":{"hashCode":"44d1110eed2cbafa4c9c576d6fa9fcb1"}});window.FuseDeck && window.FuseDeck.startDebugger(undefined, undefined, "https://fuseapi.ubs.com", undefined);
(()=>{"use strict";var o,n=function(o,n,e){if(e||2===arguments.length)for(var i,t=0,r=n.length;t<r;t++)!i&&t in n||(i||(i=Array.prototype.slice.call(n,0,t)),i[t]=n[t]);return o.concat(i||Array.prototype.slice.call(n))};!function(o){o.ERROR="ERROR",o.DEBUG="DEBUG",o.WARN="WARN",o.INFO="INFO",o.LOG="LOG"}(o||(o={}));var e=function(){function e(){this.enabled=!1,this.checkWindow()&&(this.enabled=!0,window.fdDebugError=window.fdDebugError||[],window.fdDebugWarn=window.fdDebugWarn||[],window.fdDebugInfo=window.fdDebugInfo||[])}return e.prototype.checkWindow=function(){return"object"==typeof window&&!!window},e.prototype.log=function(e){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.logMessage.apply(this,n([o.LOG,e],i,!1))},e.prototype.info=function(e){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.logMessage.apply(this,n([o.INFO,e],i,!1))},e.prototype.debug=function(e){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.logMessage.apply(this,n([o.DEBUG,e],i,!1))},e.prototype.warn=function(e){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.logMessage.apply(this,n([o.WARN,e],i,!1))},e.prototype.error=function(e){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.logMessage.apply(this,n([o.ERROR,e],i,!1))},e.prototype.logMessage=function(n,e){for(var i,t,r,d=[],l=2;l<arguments.length;l++)d[l-2]=arguments[l];if(this.enabled)switch(n){case o.ERROR:null===(i=null===window||void 0===window?void 0:window.fdDebugError)||void 0===i||i.push({scope:e,args:d});break;case o.WARN:null===(t=null===window||void 0===window?void 0:window.fdDebugWarn)||void 0===t||t.push({scope:e,args:d});break;default:null===(r=null===window||void 0===window?void 0:window.fdDebugInfo)||void 0===r||r.push({scope:e,args:d})}},e}();window.fdDebugConsole=new e})();