/*! @version: ad237d6 */ "use strict";(self.webpackChunk_spark_front_templates=self.webpackChunk_spark_front_templates||[]).push([[2577],{2577:(e,t,n)=>{n.r(t),n.d(t,{PianoArticleDataModule:()=>i});var o=n(2958);const i=e=>{return t=void 0,n=null,i=function*(){yield(0,o.pn)("tp");const t="undefined"!=typeof window&&window.tp||void 0,n=JSON.parse((e=>{const t=atob(e),n=new Uint8Array(t.length);for(let e=0;e{var a=e=>{try{s(i.next(e))}catch(e){o(e)}},r=e=>{try{s(i.throw(e))}catch(e){o(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(a,r);s((i=i.apply(t,n)).next())}));var t,n,i}},2958:(e,t,n)=>{n.d(t,{T9:()=>d,f0:()=>s,pn:()=>r});var o=n(2193),i=(e,t,n)=>new Promise(((o,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},r=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(a,r);s((n=n.apply(e,t)).next())}));const a=(0,o.A)("PianoUtils"),r=e=>i(void 0,null,(function*(){return new Promise(((t,n)=>{let o,i=!1;o=setInterval((()=>{switch(e){case"tp":i=void 0!==window.tp;break;case"cX":i=void 0!==window.cX&&void 0!==window.cX.CCE&&"function"==typeof window.cX.createDelegate;break;default:i=!1}i&&(clearInterval(o),t())}),100);setTimeout((()=>{clearInterval(o),n(new Error(`Timeout: window.${e} did not become available within 10000ms`))}),1e4)}))})),s=(e,t,n=!1)=>i(void 0,null,(function*(){yield r("tp");const o="undefined"!=typeof window&&window.tp||void 0;o&&(o.push(["setCustomVariable",e,t]),n&&o.experience.execute(),a.info(`setPianoCustomVariable: ${e}=${t}, execute=${n}`))})),c=(e,t,n,o="")=>{e.push(["setCustomParam",t,n,o]),a.info(`setPianoCustomParam: ${t}=${n}`)},d=(e,t,n=!1)=>i(void 0,null,(function*(){yield r("tp");const o="undefined"!=typeof window&&window.tp||void 0;if(o){for(const i in e){const r=e[i];r&&"userDetails"!==i&&c(o,i,r.toString(),t),a.info(`setPianoCustomParams: ${i}=${r}, scope=${t} execute=${n}`)}n&&o.experience.execute()}}))}}]);