"use strict";(self.webpackChunk_spark_front_templates=self.webpackChunk_spark_front_templates||[]).push([["7553"],{2873:function(t,n,e){e.r(n),e.d(n,{PianoCustomVariablesE2PModule:()=>a});var o=e("7278"),a=t=>{var n=JSON.parse(window.atob(t.dataset.pianoCustomVariables||""));if(n)for(var e in n)(0,o.FF)(e,"".concat(n[e]))}},7278:function(t,n,e){function o(t,n,e,o,a,i,r){try{var c=t[i](r),u=c.value}catch(t){e(t);return}c.done?n(u):Promise.resolve(u).then(o,a)}function a(t){return function(){var n=this,e=arguments;return new Promise(function(a,i){var r=t.apply(n,e);function c(t){o(r,a,i,c,u,"next",t)}function u(t){o(r,a,i,c,u,"throw",t)}c(void 0)})}}e.d(n,{FF:function(){return f},jW:function(){return v},oc:function(){return s}});var i,r,c,u=(0,e(971).Z)("PianoUtils");var s=(i=a(function*(t){return new Promise((n,e)=>{var o,a=!1;o=setInterval(()=>{switch(t){case"tp":a=void 0!==window.tp;break;case"cX":a=void 0!==window.cX&&void 0!==window.cX.CCE&&"function"==typeof window.cX.createDelegate;break;default:a=!1}a&&(clearInterval(o),n())},100);setTimeout(()=>{clearInterval(o),e(Error("Timeout: window.".concat(t," did not become available within ").concat(1e4,"ms")))},1e4)})}),function(t){return i.apply(this,arguments)});var f=(r=a(function*(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];yield s("tp");var o="undefined"!=typeof window&&window.tp||void 0;o&&(o.push(["setCustomVariable",t,n]),e&&o.experience.execute(),u.info("setPianoCustomVariable: ".concat(t,"=").concat(n,", execute=").concat(e)))}),function(t,n){return r.apply(this,arguments)}),d=function(t,n,e){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";t.push(["setCustomParam",n,e,o]),u.info("setPianoCustomParam: ".concat(n,"=").concat(e))};var v=(c=a(function*(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];yield s("tp");var o="undefined"!=typeof window&&window.tp||void 0;if(o){for(var a in t){var i=t[a];i&&"userDetails"!==a&&d(o,a,i.toString(),n),u.info("setPianoCustomParams: ".concat(a,"=").concat(i,", scope=").concat(n," execute=").concat(e))}e&&o.experience.execute()}}),function(t,n){return c.apply(this,arguments)})}}]);