(()=>{"use strict";var t={946(t){function e(t){return/[A-Z]/.test(t)?t.charCodeAt(0)-"A".charCodeAt(0):/[a-z]/.test(t)?t.charCodeAt(0)-"a".charCodeAt(0)+26:/[0-9]/.test(t)?t.charCodeAt(0)-"0".charCodeAt(0)+52:"+"===t?62:"/"===t?63:void 0}t.exports=function(t){if((t=(t=`${t}`).replace(/[ \t\n\f\r]/g,"")).length%4==0&&(t=t.replace(/==?$/,"")),t.length%4==1||/[^+/0-9A-Za-z]/.test(t))return null;let n="",r=0,o=0;for(let i=0;i<t.length;i++)r<<=6,r|=e(t[i]),o+=6,24===o&&(n+=String.fromCharCode((16711680&r)>>16),n+=String.fromCharCode((65280&r)>>8),n+=String.fromCharCode(255&r),r=o=0);return 12===o?(r>>=4,n+=String.fromCharCode(r)):18===o&&(r>>=2,n+=String.fromCharCode((65280&r)>>8),n+=String.fromCharCode(255&r)),n}},952(t){function e(t){return t<26?String.fromCharCode(t+"A".charCodeAt(0)):t<52?String.fromCharCode(t-26+"a".charCodeAt(0)):t<62?String.fromCharCode(t-52+"0".charCodeAt(0)):62===t?"+":63===t?"/":void 0}t.exports=function(t){let n;for(t=`${t}`,n=0;n<t.length;n++)if(t.charCodeAt(n)>255)return null;let r="";for(n=0;n<t.length;n+=3){const o=[void 0,void 0,void 0,void 0];o[0]=t.charCodeAt(n)>>2,o[1]=(3&t.charCodeAt(n))<<4,t.length>n+1&&(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2),t.length>n+2&&(o[2]|=t.charCodeAt(n+2)>>6,o[3]=63&t.charCodeAt(n+2));for(let t=0;t<o.length;t++)void 0===o[t]?r+="=":r+=e(o[t])}return r}},703(t,e,n){function r(t,e,n={},r={}){const o=t.createElement(e);return Object.keys(n).forEach(t=>o[t]=n[t]),Object.keys(r).forEach(t=>o.style[t]=r[t]),o}function o(t){t?.parentNode?.removeChild(t)}function i(t){const e=[];for(;t.parentNode;)e.push(t),t=t.parentNode;return e}function a(t,e){return t?[].slice.call(t.getElementsByClassName(e)):[]}function s(t){if(t.defaultView&&t.defaultView.innerWidth>t.documentElement.clientWidth){const e=t.defaultView.innerWidth-t.documentElement.clientWidth,{overflow:n,paddingRight:r}=t.documentElement.style;return t.documentElement.style.overflow="hidden",t.documentElement.style.paddingRight=`${e}px`,{overflow:n,paddingRight:r}}return{}}function c(t,e){t.documentElement.style.overflow=e.overflow??"",t.documentElement.style.paddingRight=e.paddingRight??""}function l(t,e,n){const o=t.getElementById(e);if(o)return o;const i=r(t,"style",{id:e,type:"text/css"});return i.appendChild(document.createTextNode(n)),t.head.appendChild(i),i}function u(t,e,n){return"function"!=typeof window.CustomEvent||!t||t.dispatchEvent(new window.CustomEvent(e,{detail:n}))}function d(t,e){const n=Array.from(e.getElementsByTagName("script"));for(const e of n){const n=t.createElement("script");for(const t of Array.from(e.attributes))n.setAttribute(t.name,t.value);n.appendChild(t.createTextNode(e.innerHTML)),e.parentNode&&e.parentNode.replaceChild(n,e)}}n.r(e),n.d(e,{addStyle:()=>l,createTag:()=>r,disableScroll:()=>s,getAllAncestorsFromElement:()=>i,listByClass:()=>a,removeElement:()=>o,replaceScriptTags:()=>d,restoreScroll:()=>c,triggerEvent:()=>u})},403(t){t.exports="@keyframes cn_fadeIn {\n    from {\n        opacity: 0;\n    }\n    to {\n        opacity: 1;\n    }\n}\n\n@keyframes cn_fadeInLeft {\n    from {\n        opacity: 0;\n        transform: translate3d(-100%, 0, 0);\n    }\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes cn_fadeInDown {\n    from {\n        opacity: 0;\n        transform: translate3d(0, -100%, 0);\n    }\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes cn_fadeInRight {\n    from {\n        opacity: 0;\n        transform: translate3d(100%, 0, 0);\n    }\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes cn_fadeInUp {\n    from {\n        opacity: 0;\n        transform: translate3d(0, 100%, 0);\n    }\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes cn_zoomIn {\n    from {\n        opacity: 0;\n        transform: scale3d(0.3, 0.3, 0.3);\n    }\n    50% {\n        opacity: 1;\n    }\n}\n\n@keyframes cn_bounceIn {\n    from,\n    20%,\n    40%,\n    60%,\n    80%,\n    to {\n        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n    }\n    0% {\n        opacity: 0;\n        transform: scale3d(0.3, 0.3, 0.3);\n    }\n    20% {\n        transform: scale3d(1.1, 1.1, 1.1);\n    }\n    40% {\n        transform: scale3d(0.9, 0.9, 0.9);\n    }\n    60% {\n        opacity: 1;\n        transform: scale3d(1.03, 1.03, 1.03);\n    }\n    80% {\n        transform: scale3d(0.97, 0.97, 0.97);\n    }\n    to {\n        opacity: 1;\n        transform: scale3d(1, 1, 1);\n    }\n}\n\n@keyframes cn_fadeOut {\n    from {\n        opacity: 1;\n    }\n    to {\n        opacity: 0;\n    }\n}\n\n@keyframes cn_fadeOutLeft {\n    from {\n        opacity: 1;\n    }\n    to {\n        opacity: 0;\n        transform: translate3d(-100%, 0, 0);\n    }\n}\n\n@keyframes cn_fadeOutDown {\n    from {\n        opacity: 1;\n    }\n    to {\n        opacity: 0;\n        transform: translate3d(0, 100%, 0);\n    }\n}\n\n@keyframes cn_fadeOutRight {\n    from {\n        opacity: 1;\n    }\n    to {\n        opacity: 0;\n        transform: translate3d(100%, 0, 0);\n    }\n}\n\n@keyframes cn_fadeOutUp {\n    from {\n        opacity: 1;\n    }\n    to {\n        opacity: 0;\n        transform: translate3d(0, -100%, 0);\n    }\n}\n\n@keyframes cn_zoomOut {\n    from {\n        opacity: 1;\n    }\n    50% {\n        opacity: 0;\n        transform: scale3d(0.3, 0.3, 0.3);\n    }\n    to {\n        opacity: 0;\n    }\n}\n\n@keyframes cn_bounceOut {\n    20% {\n        transform: scale3d(0.9, 0.9, 0.9);\n    }\n    50%,\n    55% {\n        opacity: 1;\n        transform: scale3d(1.1, 1.1, 1.1);\n    }\n    to {\n        opacity: 0;\n        transform: scale3d(0.3, 0.3, 0.3);\n    }\n}\n\n.cn__slider {\n    position: relative;\n    overflow: hidden;\n}\n\n.cn__frame {\n    width: 100%;\n    position: relative;\n    overflow: hidden;\n    white-space: nowrap;\n}\n\nul.cn__slides.js_slides {\n    display: block;\n    margin: 0;\n    padding: 0;\n    font-size: 0;\n    line-height: 0;\n}\n\nli.cn__li {\n    position: relative;\n    display: inline-block;\n    overflow: hidden;\n    font-size: 14px;\n    line-height: 14px;\n    vertical-align: top;\n}\n\n.cn__prev,\n.cn__next {\n    position: absolute;\n    top: 50%;\n    margin-top: -25px;\n    display: block;\n    cursor: pointer;\n}\n\n.cn__next {\n    right: 0;\n}\n\n.cn__prev {\n    left: 0;\n}\n\n.cn__next svg,\n.cn__prev svg {\n    width: 25px;\n}\n\n[data-cn-required-message-for]:not(.visible) {\n    display: none;\n}\n\n.cn_product {\n    float: left;\n}\n\n.cn_rating {\n    --star-size: 20px;\n    --star-color: #fc0;\n    --star-background: #ccc;\n    --percent: calc(var(--rating) / 5 * 100%);\n    font-size: var(--star-size);\n    font-family: Times;\n    line-height: 1;\n}\n\n.cn_rating::before {\n    content: '★★★★★';\n    letter-spacing: 3px;\n    background: linear-gradient(\n        90deg,\n        var(--star-color) var(--percent),\n        var(--star-background) var(--percent)\n    );\n    -webkit-background-clip: text;\n    background-clip: text;\n    -webkit-text-fill-color: transparent;\n}\n\n.cn_countdown {\n    line-height: 3em;\n}\n\n.cn_countdown .cn_numbers {\n    text-align: center;\n    display: inline-block;\n    font-weight: bold;\n    padding: 0 10px;\n}\n\n.cn_countdown .cn_time-labels {\n    font-weight: bold;\n    text-align: center;\n}\n"}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r=n(703);function o(){return"_"+Math.random().toString(36).substr(2,9)}function i(t,e,n){return t.replace(/<a[^<>]*href\s*=\s*(["'])(.*?)\1[^<>]*>/gi,(t,r,o)=>{const i=function(t,e){const[n,r]=t.split("?"),o=(t,n)=>Object.entries(e).reduce((t,[e,r])=>t.replace(new RegExp(`{{${e}}}`,"g"),n(r)),t);return o(n,t=>t)+(r?"?"+o(r,encodeURIComponent):"")}(o,e),a=t.match(/data-cn-alias\s*=\s*(["'])(.*?)\1/i)?.[2],s=`data-cn-alias="${a??o.replace(/{{/g,"{%{").replace(/}}/g,"}%}")}"`+(n?` data-cn-element-id="${n}"`:"");return t.replace(/\s*data-cn-alias\s*=\s*(["'])(.*?)\1\s*/gi," ").replace(/href\s*=\s*(["'])(.*?)\1/i,`href="${i}" ${s}`)})}function a(t,e){return Object.entries(e).reduce((t,[e,n])=>t.replace(new RegExp(`{{${e}}}`,"g"),()=>n),t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){l(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function l(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e,n,r){const o=function(t){const e=`cn_${t.elementTypeId.replace("-","_")}`;return`cn_element ${e} id-${t.id}`}(t),s=function(t,e){const n=e?Object.entries(e).map(([t,e])=>`${t}="${e}"`).join(" "):"";return`<div ${n}>${t}</div>`}(e,c(c({class:[o,...t.classes].join(" ")},r),{},{style:d(t,r?.style)}));return a(i(s,n.variableValues),n.variableValues).replace(/{%{/g,"{{").replace(/}%}/g,"}}")}function d(t,e){return(t.backgroundColor?`background-color: ${t.backgroundColor};`:"")+f(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft)+(e??"")}function f(t,e,n,r){return(t?`padding-top: ${t};`:"")+(e?`padding-right: ${e};`:"")+(n?`padding-bottom: ${n};`:"")+(r?`padding-left: ${r};`:"")}function p(t,e,n,r){return(t?`border-top-left-radius: ${t};`:"")+(e?`border-top-right-radius: ${e};`:"")+(n?`border-bottom-left-radius: ${n};`:"")+(r?`border-bottom-right-radius: ${r};`:"")}function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach(function(e){g(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function g(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){const n=e.products?.[t.id]??[];return"static"===t.type?function(t,e,n){const r=i(t.templateHtml,e.variableValues,t.id),o=t.rowQuantity*t.columnQuantity,s=t.responsiveRowQuantity*t.responsiveColumnQuantity,c=Math.max(o,s);let l=Math.min(n.length,c);for(;!t.showIncompleteRows&&l&&l%t.columnQuantity!==0;)l--;const d=(t,e)=>`<div class="cn_product${e>=o?" cn__desktop-hidden":""}${e>=s?" cn__mobile-hidden":""}">`+a(r,t)+"</div>",f=n.slice(0,l).map(d).join("");return u(t,f,e)}(t,e,n):function(t,e,n){const r=i(t.templateHtml,e.variableValues,t.id),o=t=>`<li class="cn__li js_slide">${a(r,t)}</li>`,s=b(b({},t),{},{classes:[...t.classes,"cn__slider","js_slide"]}),c=`<div class="cn__frame js_frame"><ul class="cn__slides js_slides">${n.map(o).join("")}</ul></div><span class="js_prev cn__prev">${t.carouselLeftArrowHtml}</span><span class="js_next cn__next">${t.carouselRightArrowHtml}</span>`,l={"data-column-quantity":t.columnQuantity.toString(),"data-carousel-interval":t.carouselInterval.toString(),"data-responsive-column-quantity":t.responsiveColumnQuantity.toString(),"data-content-responsive-breakpoint":e.responsiveBreakpoint,style:"opacity: 0;"};return u(s,c,e,l)}(t,e,n)}function h(t){return"products"===t.elementTypeId}function v(t){return`<div style="position: relative; padding-bottom: 56.25%; height: 0"><iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%" src="${t.url.startsWith("https://vimeo.com/")?function(t){const e=new URL(t.url).pathname.substring(1),n=[t.autoplay&&"autoplay=1",t.hideControls&&"controls=0",t.loop&&"loop=1",t.mute&&"muted=1"].filter(t=>t);return`https://player.vimeo.com/video/${e}${n.length>0?"?"+n.join("&"):""}`}(t):function(t){const e=new URL(t.url),n=new URLSearchParams(e.search),r="youtu.be"===e.host?e.pathname.substring(1):n.get("v"),o=[t.autoplay&&"autoplay=1",t.hideControls&&"controls=0",t.loop&&`loop=1&playlist=${r}`,t.mute&&"mute=1"].filter(t=>t);return`https://www.youtube.com/embed/${r}${o.length>0?"?"+o.join("&"):""}`}(t)}" frameborder="0" allow="autoplay"></iframe></div>`}function w(t){const e=k(t,"minutes",t.minutesLabel),n=k(t,"seconds",t.secondsLabel);let r="";["untilDays","untilHours"].includes(t.format)&&(r=k(t,"hours",t.hoursLabel));let o="";"untilDays"===t.format&&(o=k(t,"days",t.daysLabel));const i=`${o}${r}${e}${n}`;return`<div ${`data-expiration-date="${t.expirationDate instanceof Date?t.expirationDate.toISOString():t.expirationDate}" data-format="${t.format}"`} ${`style="text-align: ${t.align}"`}>${i}</div>`}function _(t){return t?`;font-family: ${t}`:""}function k(t,e,n){return`<div class="cn_numbers" style="color: ${t.numberColor};line-height: ${t.numberSize};font-size: ${t.numberSize}${_(t.numberFont)}"><div class="cn_number-${e}"></div><div class="cn_time-labels" style="color: ${t.labelColor};line-height: ${t.labelSize};font-size: ${t.labelSize}${_(t.labelFont)}"><span class="cn_label-${e}">${n}</span></div></div>`}function C(t){const e=function(t){const{variableValues:e,products:n,webContent:r}=t;return{variableValues:e,products:n,responsiveBreakpoint:r.responsiveBreakpoint}}(t),n=t.webContent.sections.map(t=>function(t,e){const n=t.blocks.map(t=>function(t,e){const n=t.cells.map(t=>function(t,e){const n=t.elements.map(t=>function(t,e){switch(t.elementTypeId){case"broke":case"button-link":case"image":case"text":case"button-submit":case"divider":case"html":case"checkbox":case"radio-button":case"input-text":case"input-number":case"input-email":case"select":case"input-date":case"textarea":case"whatsapp":case"countdown":case"video":{const{html:n,attributes:r}=function(t){switch(t.elementTypeId){case"broke":return{html:"&nbsp;",attributes:{style:`line-height: ${t.distance};`}};case"button-link":return{html:`<a href="${t.buttonLink}" title="${t.buttonTitle}" target="${t.linkTarget??"_self"}"><div style="${I(t)}">${t.html}</div></a>`,attributes:{style:`text-align: ${t.buttonAlign};`}};case"divider":return{html:`<div style="border-top: 1px solid ${t.color}; width:100%; font-size:1px;">&nbsp;</div>`};case"html":return{html:t.html};case"image":return{html:$(t),attributes:{style:`text-align: ${t.imageAlign};`}};case"text":return{html:t.html,attributes:{style:" word-wrap: break-word;"}};case"checkbox":return{html:x(t)};case"radio-button":return{html:O(t)};case"button-submit":return{html:`<button type="submit" name="${t.name}" value="${t.buttonValue}" title="${t.buttonTitle}" style="${I(t)}">${t.html}</button>`,attributes:{style:`text-align: ${t.buttonAlign};`}};case"input-text":return{html:S(t,"text")};case"input-date":return{html:S(t,"date")};case"input-number":return{html:S(t,"number")};case"input-email":return{html:S(t,"email")};case"select":return{html:A(t)};case"textarea":return{html:E(t)};case"whatsapp":return{html:T(t),attributes:{style:`text-align: ${t.buttonAlign};`}};case"video":return{html:v(t)};case"countdown":return{html:w(t)};default:return{html:""}}}(t);return u(t,n,e,r)}case"products":return y(t,e);default:return""}}(t,e)).join(" ");return`<div class="${["cn_cell",`id-${t.id}`,...t.classes].join(" ")}" style="${function(t){return(t.backgroundColor?`background-color: ${t.backgroundColor};`:"")+(t.width?`width: ${t.width};`:"")}(t)}">${n}</div>`}(t,e)).join(" ");return`<div class="${["cn_block",`id-${t.id}`,...t.classes].join(" ")}" style="${function(t){return"display: flex;"+(t.backgroundColor?`background-color: ${t.backgroundColor};`:"")}(t)}">${n}</div>`}(t,e)).join("");return`<div class="${["cn_section",`id-${t.id}`,...t.classes].join(" ")}" style="${function(t){return"width: 100%;"+(t.backgroundColor?`background-color: ${t.backgroundColor};`:"")}(t)}">${n}</div>`}(t,e)).join(""),{form:r}=t.webContent;return r?`<form method="POST" style="width: 100%; margin: 0;">${n}</form>`:n}function E(t){const e=o();return P(e,t.labelHtml,t.labelAlign,t.labelPaddingTop,t.labelPaddingRight,t.labelPaddingBottom,t.labelPaddingLeft)+"<textarea "+`id="${e}" `+`name="${t.name}" `+`rows="${t.rows}" `+`placeholder="${t.inputPlaceholder}" `+`title="${t.inputTitle}" `+(t.isRequired?"data-cn-required ":"")+'style="width: 100%; resize: none;'+`text-align: ${t.inputAlign};`+f(t.inputPaddingTop,t.inputPaddingRight,t.inputPaddingBottom,t.inputPaddingLeft)+p(t.borderTopLeftRadius,t.borderTopRightRadius,t.borderBottomLeftRadius,t.borderBottomRightRadius)+`border-style: ${t.borderStyle};`+`border-color: ${t.borderColor};`+`border-width: ${t.borderWidth};`+`color: ${t.inputColor};`+`background-color: ${t.inputBackgroundColor};"></textarea>`+(t.isRequired?j(t):"")}function $(t){const{imageUrl:e,imageAlt:n,imageTitle:r,imageLink:o,imageTarget:i}=t,a=`<img src="${e}" alt="${n}" title="${r}" style="max-width: 100%">`;return t.imageLink?`<a href="${o}" target="${i??"_self"}">${a}</a>`:a}function S(t,e){const n=o();return P(n,t.labelHtml,t.labelAlign,t.labelPaddingTop,t.labelPaddingRight,t.labelPaddingBottom,t.labelPaddingLeft)+`<input type="${e}" `+`id="${n}" `+`name="${t.name}" `+("date"===e?'max = "9999-12-31"':"")+`placeholder="${t.inputPlaceholder}" `+`title="${t.inputTitle}" `+(t.isRequired?"data-cn-required ":"")+'style="width: 100%;'+`background-color: ${t.inputBackgroundColor};`+`color: ${t.inputColor};`+f(t.inputPaddingTop,t.inputPaddingRight,t.inputPaddingBottom,t.inputPaddingLeft)+p(t.borderTopLeftRadius,t.borderTopRightRadius,t.borderBottomLeftRadius,t.borderBottomRightRadius)+`border-width: ${t.borderWidth};`+`border-style: ${t.borderStyle};`+`border-color: ${t.borderColor};`+`text-align: ${t.inputAlign}"/>`+(t.isRequired?j(t):"")}function P(t,e,n,r,o,i,a){return`<label for="${t}" style="display: block;width: 100%;text-align: ${n};`+f(r,o,i,a)+`">${e}</label>`}function x(t){return`<fieldset style="border-width: 0;padding: 0;"><legend style="display: block;width: 100%;text-align: ${t.labelAlign};`+f(t.labelPaddingTop,t.labelPaddingRight,t.labelPaddingBottom,t.labelPaddingLeft)+`">${t.labelHtml}</legend><div style="`+`text-align: ${t.optionsAlign};">`+t.options.map((e,n)=>`<label style="display: ${"horizontal"===t.orientation?"inline-block":"block"};`+("horizontal"===t.orientation&&n!==t.options.length-1?"margin-right: 10px; ":"")+f(t.optionsPaddingTop,t.optionsPaddingRight,t.optionsPaddingBottom,t.optionsPaddingLeft)+'">'+("right"===t.optionsAlign&&"horizontal"!==t.orientation?e.labelHtml:"")+'<input type="checkbox" '+(t.areRequired?`data-cn-required="${t.areRequired}" `:"")+`name="${t.name}" `+`value="${e.value}"`+(e.isSelectedByDefault?" checked":"")+"/>"+("right"!==t.optionsAlign||"horizontal"===t.orientation?e.labelHtml:"")+"</label>").join("")+"</div></fieldset>"+(t.areRequired?j(t):"")}function A(t){const e=o();return P(e,t.labelHtml,t.labelAlign,t.labelPaddingTop,t.labelPaddingRight,t.labelPaddingBottom,t.labelPaddingLeft)+"<select "+`id="${e}" `+`name="${t.name}" `+(t.isRequired?"data-cn-required ":"")+'style="width: 100%;'+`background-color: ${t.optionsBackgroundColor};`+`color: ${t.optionsColor};`+`border-width: ${t.borderWidth};`+`border-style: ${t.borderStyle};`+`border-color: ${t.borderColor};`+p(t.borderTopLeftRadius,t.borderTopRightRadius,t.borderBottomLeftRadius,t.borderBottomRightRadius)+f(t.optionsPaddingTop,t.optionsPaddingRight,t.optionsPaddingBottom,t.optionsPaddingLeft)+'">'+(-1===t.optionIndexSelectedByDefault?`<option disabled selected value="">${t.selectPlaceholder}</option>`:"")+t.options.map((e,n)=>`<option value="${e.value}"`+(t.optionIndexSelectedByDefault===n?" selected":"")+`>${e.labelText}</option>`).join("")+"</select>"+(t.isRequired?j(t):"")}function O(t){return`<fieldset style="border-width: 0;padding: 0;"><legend style="display: block;width: 100%;text-align: ${t.labelAlign};`+f(t.labelPaddingTop,t.labelPaddingRight,t.labelPaddingBottom,t.labelPaddingLeft)+`">${t.labelHtml}</legend><div style="`+`text-align: ${t.optionsAlign};">`+t.options.map((e,n)=>`<label style="display: ${"horizontal"===t.orientation?"inline-block":"block"};`+("horizontal"===t.orientation&&n!==t.options.length-1?"margin-right: 10px; ":"")+f(t.optionsPaddingTop,t.optionsPaddingRight,t.optionsPaddingBottom,t.optionsPaddingLeft)+'">'+("right"===t.optionsAlign&&"horizontal"!==t.orientation?e.labelHtml:"")+'<input type="radio" '+`id="${t.name}_${e.value}" `+(t.isRequired?"data-cn-required ":"")+`name="${t.name}" `+`value="${e.value}" `+(n===t.optionIndexSelectedByDefault?"checked":"")+"/>"+("right"!==t.optionsAlign||"horizontal"===t.orientation?e.labelHtml:"")+"</label>").join("")+"</div></fieldset>"+(t.isRequired?j(t):"")}function T(t){const e=!!t.contactNumber,n=!!t.message;return`<a href="https://api.whatsapp.com/send?${(e?`phone=${t.contactNumber}`:"")+(e&&n?"&":"")+(n?`text=${function(t){const e=/{{.+?}}/g;return t.split(e).map(n=>{const r=e.exec(t);return r?encodeURIComponent(n).concat(r[0]):encodeURIComponent(n)}).join("")}(t.message)}`:"")}" title="${t.buttonTitle}" target="${t.linkTarget??"_self"}"><div style="${I(t)}">${t.html}</div></a>`}function I(t){return"display: inline-block;word-wrap: break-word;min-height: 18px;min-width: 18px;cursor: pointer;box-sizing: border-box;"+(t.buttonTextColor?`color: ${t.buttonTextColor};`:"")+(t.buttonAdjustToWidth?"width: 100%;":"")+p(t.borderTopLeftRadius,t.borderTopRightRadius,t.borderBottomLeftRadius,t.borderBottomRightRadius)+(t.buttonBackgroundColor?`background-color: ${t.buttonBackgroundColor};`:"")+(t.borderWidth?`border-width: ${t.borderWidth};`:"")+(t.borderWidth?`border-style: ${t.borderStyle};`:"")+(t.borderColor?`border-color: ${t.borderColor};`:"")+f(t.buttonPaddingTop,t.buttonPaddingRight,t.buttonPaddingBottom,t.buttonPaddingLeft)}function j(t){return t.validationRequiredMessageHtml?`<div data-cn-required-message-for="${t.name}">${t.validationRequiredMessageHtml}</div>`:""}const{listByClass:L}=n(703);let B;function R(t){const e=L(t,"cn__slider");e&&e.forEach(function(e){!function(e){e.style.opacity=1;var n=Array.prototype.slice.call(e.querySelectorAll(".js_slide"));if(0===n.length)return;var r,o=Math.min(n.length,parseInt(e.getAttribute("data-column-quantity"),10)),i=parseInt(e.getAttribute("data-carousel-interval"),10),a=Math.min(n.length,parseInt(e.getAttribute("data-responsive-column-quantity"),10)),s=parseInt(e.getAttribute("data-content-responsive-breakpoint"),10),c=100/o,l=100/a,u={infinite:o},d=!1,f=B(e,u),p=!1;h(),Array.prototype.slice.call(e.querySelectorAll(".cn__prev, .cn__next")).forEach(function(t,e){t.setAttribute("data-cn-original-display",t.style.display)});const m=N(window,function(t){h(t.target)});window.addEventListener("resize",m),e.querySelector(".js_prev").addEventListener("click",y),e.querySelector(".js_next").addEventListener("click",y),e.addEventListener("mouseleave",y),e.addEventListener("touchend",y),e.addEventListener("mouseover",_),u.infinite<n.length&&k();if(!g()){b(100)}function b(t){try{g()?f.reset():setTimeout(b,t,t)}catch(t){console.error("Connectif - Lory",t)}}function g(){const t=e.getElementsByClassName("js_frame")[0],n=e.getElementsByClassName("js_slides")[0],r=n.getBoundingClientRect().width||n.offsetWidth,o=t.getBoundingClientRect().width||t.offsetWidth;return 0!==r&&0!==o}function y(){_(),k()}function h(e){const r=e||t.ownerDocument.defaultView||t.ownerDocument.parentWindow;r.innerWidth<s&&!p?(p=!0,u.infinite=a):r.innerWidth>=s&&p&&(p=!1,u.infinite=o),u.infinite===n.length?C():E(),f.destroy(),w(),v(p),f.setup()}function v(t){Array.prototype.slice.call(e.querySelectorAll(".js_slide")).forEach(function(e){e.style.width=(t?l:c)+"%"})}function w(){var t=e.querySelector(".js_slides");t.innerHtml="",n.forEach(function(e){t.appendChild(e)})}function _(){clearTimeout(r)}function k(){i<=0||(r=setTimeout(function(){d||f.isTouching()||f.next(),k()},1e3*i))}function C(){d=!0,Array.prototype.slice.call(e.querySelectorAll(".cn__prev, .cn__next")).forEach(function(t){t.style.display="none"})}function E(){d=!1,Array.prototype.slice.call(e.querySelectorAll(".cn__prev, .cn__next")).forEach(function(t){t.style.display=t.getAttribute("data-cn-original-display")})}}(e)})}function N(t,e){let n=t.innerWidth;return function(r){const o=t.innerWidth;o!==n&&(n=o,e(r))}}var D,q,M,W,H;function z(t){const e=(0,r.listByClass)(t,"cn_countdown"),n=1e3,o=60;e&&e.forEach(function(t){!function(t){const e=t.childNodes[0],r=new Date(e.getAttribute("data-expiration-date")??""),i=e.getAttribute("data-format")??"";let a,s,c="00",l="00",u="00",d="00";"untilDays"===i&&(a=t.querySelector(".cn_number-days"));"untilDays"!==i&&"untilHours"!==i||(s=t.querySelector(".cn_number-hours"));const f=t.querySelector(".cn_number-minutes"),p=t.querySelector(".cn_number-seconds");let m;b(),"untilDays"===i&&(a.innerHTML=`${c}`);"untilDays"!==i&&"untilHours"!==i||(s.innerHTML=`${l}`);function b(){m=r.getTime()-(new Date).getTime(),y(m),p.innerHTML=`${d}`,f.innerHTML=`${u}`,"untilDays"!==i&&"untilHours"!==i||(s.innerHTML=`${l}`),"untilDays"===i&&(a.innerHTML=`${c}`)}function g(t){return Math.floor(t).toString().padStart(2,"0")}function y(t){t>0&&(d=g(t/n%o),"untilDays"===i?(u=g(t/6e4%o),l=g(t/36e5%24),c=g(t/864e5)):"untilHours"===i?(u=g(t/6e4%o),l=g(t/36e5),c="00"):"untilMinutes"===i&&(u=g(t/6e4),l="00",c="00"))}f.innerHTML=`${u}`,p.innerHTML=`${d}`,setInterval(()=>{b()},1e3)}(t)})}function U(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach(function(e){V(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function V(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t,e){const n=t.getAttribute("href")??"",r=n.startsWith("javascript:")?"javascript:":n,o=t.getAttribute("data-cn-alias"),i=t.getAttribute("data-cn-element-id");return F(F(F({linkUrl:r},i?{elementId:i}:{}),o?{linkAlias:o}:{}),e?{contentId:e.webContent.id,webContentTypeId:e.webContent.webContentTypeId,workflowDefinitionId:e.workflowDefinitionId,sendUuid:e.sendUuid}:{})}function Q(t,e,n){if(!e)return!1;const r=t=>{if(!(t.currentTarget instanceof HTMLAnchorElement))return;const r=t.currentTarget,i=r.getAttribute("href")??"",a=r.getAttribute("data-cn-track-click");switch("#__cn_ask_for_push_subscription"===i&&e.subscribeToPushNotifications(),a){case"async":e.sendEvents([F({type:"web-link-clicked"},K(r,n))],{entityInfo:{}});break;case"sync":t.preventDefault(),e.sendEvents([F({type:"web-link-clicked"},K(r,n))],{onResponded:()=>o(r,i),entityInfo:{}}),setTimeout(()=>o(r,i),1e3);break;case"track-click":navigator.sendBeacon(`${e.apiBaseUrl}t/w`,JSON.stringify(F({token:e.token,entityId:e.tracker},K(r,n))))}};function o(t,e){const n=(t.getAttribute("target")||"").toLowerCase();if("_blank"===n){const t=window.open(e,"_blank");try{t&&(t.opener=null)}catch(t){}}else"_parent"===n||"_top"===n?window.open(e,n):window.location.assign(e)}const i=n?"a":"a[data-cn-track-click]",a=t.querySelectorAll(i);return Array.from(a).forEach(t=>{const o=t.getAttribute("href");if(!o)return;if(!n&&o.startsWith("javascript:")&&!t.getAttribute("data-cn-alias"))return;const i=function(t,e,n){if("none"===n||t.startsWith(e.apiBaseUrl+"t/c"))return"none";const r=new URL(t,window.location.origin);if(r.hash||r.href===`${window.location.origin}/#`)return"sync"===n||"track-click"===n?n:"async";if(r.toString().startsWith(window.location.origin))return"sync"===n||"async"===n||"track-click"===n?n:"after-redirect";if("http:"===r.protocol||"https:"===r.protocol)return"sync"===n||"async"===n?n:"track-click";if("javascript:"===r.protocol)return"async";return"async"}(o,e,t.getAttribute("data-cn-track-click")??void 0);switch(i){case"none":break;case"after-redirect":t.setAttribute("data-cn-track-click",i),t.setAttribute("href",function(t,e,n){const r=new URL(e,"https://x.x"),o="https://x.x"===r.origin,i=new URLSearchParams(r.search);i.delete("cnWebLinkClicked"),r.search=i.toString();const a=o?J(e)+r.toString().replace(/^https:\/\/x.x\//,""):r.toString(),s=F(F({},K(t,n)),{},{linkUrl:a});return i.set("cnWebLinkClicked",JSON.stringify(s)),r.search=i.toString(),o?J(e)+r.toString().replace(/^https:\/\/x.x\//,""):r.toString()}(t,o,n));break;case"track-click":case"async":case"sync":t.setAttribute("data-cn-track-click",i),t.onclick=r}}),!0}function J(t){const e=t.match(/^(\.\.\/|\.\/|\/)+/);return e?e[0]:""}function Y(t){return t.form?.querySelector(`[data-cn-required-message-for="${t.name}"]`)??void 0}function X(t){switch(t.type){case"text":case"email":case"number":case"textarea":case"date":return function(t){return t.hasAttribute("data-cn-required")?()=>""===t.value.trim()?(Y(t)?.classList.add("visible"),!1):(Y(t)?.classList.remove("visible"),!0):()=>!0}(t);case"checkbox":return function(t){const e=t.form?.querySelector(`input[type="checkbox"][name="${t.name}"][data-cn-required]`);if(!e)return()=>!0;const n=e.getAttribute("data-cn-required")?Number(e.getAttribute("data-cn-required")):1;return()=>{const e=t.form?.querySelectorAll(`input[type="checkbox"][name="${t.getAttribute("name")}"]`),r=Array.from(e).reduce((t,e)=>t+(e.checked?1:0),0);return r<n?(Y(t)?.classList.add("visible"),!1):(Y(t)?.classList.remove("visible"),!0)}}(t);case"radio":return function(t){const e=t.form?.querySelector(`input[type="radio"][name="${t.name}"][data-cn-required]`);return e?()=>{const e=t.form?.querySelectorAll(`input[type="radio"][name="${t.getAttribute("name")}"]`),n=Array.from(e).some(t=>t.checked);return n?(Y(t)?.classList.remove("visible"),!0):(Y(t)?.classList.add("visible"),!1)}:()=>!0}(t);case"select-one":return function(t){return t.hasAttribute("data-cn-required")?()=>t.value?(Y(t)?.classList.remove("visible"),!0):(Y(t)?.classList.add("visible"),!1):()=>!0}(t);default:return()=>!0}}function Z(t){return Array.from(t.querySelectorAll("input,textarea,select"))}function G(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?G(Object(n),!0).forEach(function(e){et(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function et(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nt(t,e,n,r){const{form:o}=t.webContent,i=e.querySelector("form");o&&i&&(!function(t){Z(t).forEach(t=>t.onchange=X(t))}(i),function(t,e){e.fields.forEach(e=>{if("date"===e.type){const n=t.querySelector(`input[name="${e.name}"]`);n instanceof HTMLInputElement&&"date"!==n.type&&(n.setAttribute("pattern","[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])"),n.setAttribute("placeholder","YYYY-MM-DD"),n.setAttribute("maxLength","10"))}})}(i,o),i.onsubmit=function(e){e.preventDefault();const i=e.target;if(!function(t){return Z(t).map(X).map(t=>t()).every(t=>t)}(i))return;const a=function(t,e){const n=(e,n)=>{switch(n.type){case"text":case"email":case"number":{const r=t.querySelector(`input[name="${n.name}"]`);return r instanceof HTMLInputElement?tt(tt({},e),{},{[n.name]:r.value}):e}case"select":{const r=t.querySelector(`select[name="${n.name}"]`);return r instanceof HTMLSelectElement?tt(tt({},e),{},{[n.name]:r.value}):e}case"textarea":{const r=t.querySelector(`textarea[name="${n.name}"]`);return r instanceof HTMLTextAreaElement?tt(tt({},e),{},{[n.name]:r.value}):e}case"submit":{const r=t.querySelector(`button[name="${n.name}"]`);return r instanceof HTMLButtonElement?tt(tt({},e),{},{[n.name]:r.value}):e}case"checkbox":{const r=t.querySelectorAll(`input[type="checkbox"][name="${n.name}"]:checked`),o=Array.from(r).filter(t=>n.values.some(e=>e.id===t.value)).map(t=>t.value);return tt(tt({},e),{},{[n.name]:1===r.length?o[0]:o})}case"radio-button":{const r=t.querySelector(`input[type="radio"][name="${n.name}"]:checked`);return r instanceof HTMLInputElement?tt(tt({},e),{},{[n.name]:r.value}):e}case"date":{const r=t.querySelector(`input[name="${n.name}"]`);if(r instanceof HTMLInputElement){const t=r.value.split("-");return tt(tt({},e),{},{[n.name]:new Date(+t[0],+t[1]-1,+t[2])})}return e}default:return e}};return e.fields.reduce(n,{})}(i,o);"add"===o.type&&o.identifiedByFieldName&&r?.setLastSubmittedFormPk(a[o.identifiedByFieldName].toString()),r?.sendEvents([{type:"form-submitted",formId:o.formId,contentId:t.webContent.id,workflowDefinitionId:t.workflowDefinitionId,payload:a,sendUuid:t.sendUuid}],{onResponded:()=>{o.redirectUrl&&window.location.assign(o.redirectUrl)}}),o.closeOnSubmit&&n()})}function rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(n),!0).forEach(function(e){it(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function it(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}D=Array.prototype.slice,q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},M=window.CustomEvent,W=function(){try{var t=new M("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?M:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n},H={slidesToScroll:1,slideSpeed:300,rewindSpeed:600,snapBackSpeed:200,ease:"ease",rewind:!1,infinite:!1,initialIndex:0,classNameFrame:"js_frame",classNameSlideContainer:"js_slides",classNamePrevCtrl:"js_prev",classNameNextCtrl:"js_next",classNameActiveSlide:"active",enableMouseEvents:!1,window:"undefined"!=typeof window?window:null,rewindOnResize:!0},B=function(t,e){let n;var r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,c=void 0,l=void 0,u=void 0,d=void 0,f=void 0,p=0,m={},b=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(t){}return t}()&&{passive:!0},g=!1;function y(t,e){var n=m.classNameActiveSlide;t.forEach(function(t,e){t.classList.contains(n)&&t.classList.remove(n)}),t[e].classList.add(n)}function h(e,n,r){!function(t,e,n){var r=new W(e,{bubbles:!0,cancelable:!0,detail:n});t.dispatchEvent(r)}(t,e+".lory."+n,r)}function v(t,e,n){var r=c&&c.style;r&&(r[d.transition+"TimingFunction"]=n,r[d.transition+"Duration"]=e+"ms",d.hasTranslate3d?r[d.transform]="translate3d("+t+"px, 0, 0)":r[d.transform]="translate("+t+"px, 0)")}function w(t,e){var n=m,s=n.slideSpeed,c=n.slidesToScroll,d=n.infinite,b=n.rewind,g=n.rewindSpeed,w=n.ease,_=n.classNameActiveSlide,k=s,C=e?p+1:p-1,E=Math.round(o-i);h("before","slide",{index:p,nextSlide:C}),l&&l.classList.remove("disabled"),u&&u.classList.remove("disabled"),"number"!=typeof t&&(t=e?p+c:p-c),t=Math.min(Math.max(t,0),a.length-1),d&&void 0===e&&(t+=d);var $=Math.min(Math.max(-1*a[t].offsetLeft,-1*E),0);b&&Math.abs(r.x)===E&&e&&($=0,t=0,k=g),v($,k,w),r.x=$,a[t].offsetLeft<=E&&(p=t),!d||t!==a.length-d&&0!==t||(e&&(p=d),e||(p=a.length-2*d),r.x=-1*a[p].offsetLeft,f=function(){v(-1*a[p].offsetLeft,0,void 0)}),_&&y(D.call(a),p),l&&!d&&0===t&&l.classList.add("disabled"),!u||d||b||t+1!==a.length||u.classList.add("disabled"),h("after","slide",{currentSlide:p})}function _(){var o,i,f,g,v,w,_;h("before","init"),g=void 0,v=void 0,w=void 0,_=void 0,o=document.createElement("_"),i=o.style,f=void 0,""===i[f="webkitTransition"]&&(w="webkitTransitionEnd",v=f),""===i[f="transition"]&&(w="transitionend",v=f),""===i[f="webkitTransform"]&&(g=f),""===i[f="msTransform"]&&(g=f),""===i[f="transform"]&&(g=f),document.body.insertBefore(o,null),i[g]="translate3d(0, 0, 0)",_=!!window.getComputedStyle(o).getPropertyValue(g),document.body.removeChild(o),d={transform:g,transition:v,transitionEnd:w,hasTranslate3d:_};var $,S,P,O,T=m=q({},H,e),L=T.classNameFrame,B=T.classNameSlideContainer,R=T.classNamePrevCtrl,M=T.classNameNextCtrl,W=T.enableMouseEvents,z=T.classNameActiveSlide,U=T.initialIndex;p=U,s=t.getElementsByClassName(L)[0],c=s.getElementsByClassName(B)[0],l=t.getElementsByClassName(R)[0],u=t.getElementsByClassName(M)[0],r={x:c.offsetLeft,y:c.offsetTop},m.infinite?($=D.call(c.children),S=m.infinite,P=$.slice(0,S),O=$.slice($.length-S,$.length),P.forEach(function(t){var e=t.cloneNode(!0);c.appendChild(e)}),O.reverse().forEach(function(t){var e=t.cloneNode(!0);c.insertBefore(e,c.firstChild)}),c.addEventListener(d.transitionEnd,x),a=D.call(c.children)):(a=D.call(c.children),l&&l.classList.add("disabled"),u&&1===a.length&&!m.rewind&&u.classList.add("disabled")),k(),z&&y(a,p),l&&u&&(l.addEventListener("click",C),u.addEventListener("click",E)),s.addEventListener("touchstart",A,b),W&&(s.addEventListener("mousedown",A),s.addEventListener("click",I)),n=N(m.window,j),m.window.addEventListener("resize",n),h("after","init")}function k(){var t=m,e=t.infinite,n=t.ease,l=t.rewindSpeed,u=t.rewindOnResize,d=t.classNameActiveSlide,f=t.initialIndex;o=c.getBoundingClientRect().width||c.offsetWidth,(i=s.getBoundingClientRect().width||s.offsetWidth)===o&&(o=a.reduce(function(t,e){return t+e.getBoundingClientRect().width||e.offsetWidth},0)),u?p=f:(n=null,l=0),e?(v(-1*a[p+e].offsetLeft,0,null),p+=e,r.x=-1*a[p].offsetLeft):(v(-1*a[p].offsetLeft,l,n),r.x=-1*a[p].offsetLeft),d&&y(D.call(a),p)}function C(){w(!1,!1)}function E(){w(!1,!0)}var $=void 0,S=void 0,P=void 0;function x(){f&&(f(),f=void 0)}function A(t){var e=m.enableMouseEvents,n=t.touches?t.touches[0]:t;e&&(s.addEventListener("mousemove",O),s.addEventListener("mouseup",T),s.addEventListener("mouseleave",T)),s.addEventListener("touchmove",O,b),s.addEventListener("touchend",T);var r=n.pageX,o=n.pageY;$={x:r,y:o,time:Date.now()},P=void 0,g=!0,S={},h("on","touchstart",{event:t})}function O(t){var e=t.touches?t.touches[0]:t,n=e.pageX,o=e.pageY;S={x:n-$.x,y:o-$.y},void 0===P&&(P=!!(P||Math.abs(S.x)<Math.abs(S.y))),!P&&$&&v(r.x+S.x,0,null),h("on","touchmove",{event:t})}function T(t){var e=$?Date.now()-$.time:void 0,n=Number(e)<300&&Math.abs(S.x)>25||Math.abs(S.x)>i/3,o=!p&&S.x>0||p===a.length-1&&S.x<0,c=S.x<0;P||(n&&!o?w(!1,c):v(r.x,m.snapBackSpeed)),$=void 0,g=!1,s.removeEventListener("touchmove",O),s.removeEventListener("touchend",T),s.removeEventListener("mousemove",O),s.removeEventListener("mouseup",T),s.removeEventListener("mouseleave",T),h("on","touchend",{event:t})}function I(t){S.x&&t.preventDefault()}function j(t){k(),h("on","resize",{event:t})}return _(),{setup:_,reset:k,slideTo:function(t){w(t)},returnIndex:function(){return p-m.infinite||0},prev:C,next:E,destroy:function(){h("before","destroy"),s.removeEventListener(d.transitionEnd,x),s.removeEventListener("touchstart",A,b),s.removeEventListener("touchmove",O,b),s.removeEventListener("touchend",T),s.removeEventListener("mousemove",O),s.removeEventListener("mousedown",A),s.removeEventListener("mouseup",T),s.removeEventListener("mouseleave",T),s.removeEventListener("click",I),m.window.removeEventListener("resize",n),l&&l.removeEventListener("click",C),u&&u.removeEventListener("click",E),m.infinite&&Array.apply(null,Array(m.infinite)).forEach(function(){c.removeChild(c.firstChild),c.removeChild(c.lastChild)}),h("after","destroy")},isTouching:function(){return g}}};const at=n(403);function st(t,e,n){const o=function(t,e,n,o){switch(e.webContent.webContentTypeId){case"popup":return function(t,e,n,o){const{webContent:i}=e;ct(t);const a=lt(t,i);function s({backdropBlur:t,backdropSaturate:e,backdropBrightness:n,backdropContrast:r}){return!!vt(t,e,n,r).backdropFilter}const{uuid:c,backdropColor:l,backgroundColor:u,borderBottomLeftRadius:d,borderBottomRightRadius:f,borderTopLeftRadius:p,borderTopRightRadius:m,width:b,position:g,distanceToWindow:y}=i,h=s(i),v=(0,r.createTag)(t,"div",{className:`cn_content_backdrop-${c}`},ot(ot({},!h&&{backgroundColor:l,animationName:"cn_fadeIn",animationDuration:`${i.entranceAnimationDuration}ms`}),{},{overflow:"auto",display:"flex",justifyContent:"center",alignItems:_(g),position:"fixed",top:"0",bottom:"0",left:"0",right:"0"},gt(i.zIndex)));if(h){const e=(0,r.createTag)(t,"div",{className:`cn_content_backdrop_filter-${c}`},ot(ot({backgroundColor:l,position:"absolute",width:"100%",height:"100%"},w(i)),{},{animationName:"cn_fadeIn",animationDuration:`${i.entranceAnimationDuration}ms`,pointerEvents:"none"}));v.appendChild(e)}function w({backdropBlur:t,backdropSaturate:e,backdropBrightness:n,backdropContrast:r}){return vt(t,e,n,r)}function _(t){switch(t){case"center":case"left":case"right":return"center";case"bottom":case"bottom-left":case"bottom-right":return"flex-end";default:return"flex-start"}}const k=(0,r.createTag)(t,"div",{className:`cn_content_popup-${c}`},ot(ot({position:"relative",margin:C(g,y),maxWidth:"100%",borderBottomLeftRadius:d,borderBottomRightRadius:f,borderTopLeftRadius:p,borderTopRightRadius:m},ht(i)),bt(i)));function C(t,e){switch(t){case"center":return"auto";case"left":return`auto auto auto ${e}`;case"right":return`auto ${e} auto auto`;case"bottom":return`auto auto ${e} auto`;case"bottom-left":return`auto auto ${e} ${e}`;case"bottom-right":return`auto ${e} ${e} auto`;case"top":return`${e} auto auto auto`;case"top-left":return`${e} auto auto ${e}`;case"top-right":return`${e} ${e} auto auto`}}"none"!==i.entranceAnimation&&i.entranceAnimationDuration>0?k.addEventListener("animationend",()=>{n(E)},{once:!0}):setTimeout(()=>n(E));v.appendChild(k);const E=dt(t,e,ot(ot(ot({backgroundColor:u,borderBottomLeftRadius:d,borderBottomRightRadius:f,borderTopLeftRadius:p,borderTopRightRadius:m},mt(i)),yt(e)),{},{width:b,maxWidth:"100%",overflow:"hidden"}));k.appendChild(E),k.appendChild(ut(t,i));const $=()=>pt(k,i,()=>{(0,r.removeElement)(v),(0,r.removeElement)(a),(0,r.restoreScroll)(t,S)});v.onclick=t=>{(t.target===v&&i.backdropClosePopupOnClick||ft(t))&&(t.preventDefault(),$())},e.webContent.form&&nt(e,E,$,o);const S=(0,r.disableScroll)(t);return t.body.appendChild(v),E}(t,e,n,o);case"full-screen":return function(t,e,n,o){const{webContent:i}=e;ct(t);const a=lt(t,i),{uuid:s,backgroundColor:c,width:l}=i,u=(0,r.createTag)(t,"div",{className:`cn_content_backdrop-${s}`},ot(ot(ot(ot({backgroundColor:c},bt(i)),{},{display:"flex",overflow:"auto",justifyContent:"center",alignItems:"center",position:"fixed",top:"0",bottom:"0",left:"0",right:"0"},mt(i)),gt(i.zIndex)),ht(i))),d=dt(t,e,{maxWidth:"100%",width:l,margin:"auto"});u.appendChild(d),u.appendChild(ut(t,i));const f=()=>{pt(u,i,()=>{(0,r.restoreScroll)(t,p),(0,r.removeElement)(u),(0,r.removeElement)(a)})};u.onclick=t=>{ft(t)&&(t.preventDefault(),f())},e.webContent.form&&nt(e,d,f,o);"none"!==i.entranceAnimation&&i.entranceAnimationDuration>0?u.addEventListener("animationend",()=>{n(d)},{once:!0}):setTimeout(()=>n(d));const p=(0,r.disableScroll)(t);return t.body.appendChild(u),d}(t,e,n,o);case"slide-in":return function(t,e,n,o){const{webContent:i}=e;ct(t);const a=lt(t,i),{uuid:s,backgroundColor:c,borderBottomLeftRadius:l,borderBottomRightRadius:u,borderTopLeftRadius:d,borderTopRightRadius:f,position:p,distanceToWindow:m,width:b}=i,g=(0,r.createTag)(t,"div",{className:`cn_content_slide_in-${s}`},ot(ot(ot(ot({position:"fixed",width:b,borderBottomLeftRadius:l,borderBottomRightRadius:u,borderTopLeftRadius:d,borderTopRightRadius:f,maxWidth:`calc(100% - ${m})`,maxHeight:`calc(100% - ${m})`},function(t,e){switch(t){case"bottom-left":return{bottom:e,left:e};case"bottom-right":return{bottom:e,right:e};default:return{}}}(p,m)),bt(i)),gt(i.zIndex)),ht(i))),y=dt(t,e,ot(ot(ot({display:"flex",backgroundColor:c,borderBottomLeftRadius:l,borderBottomRightRadius:u,borderTopLeftRadius:d,borderTopRightRadius:f},mt(i)),yt(e)),{},{overflow:"hidden"})),h=()=>{pt(g,i,()=>{(0,r.removeElement)(g),(0,r.removeElement)(a)})};g.appendChild(y),g.appendChild(ut(t,i)),g.onclick=t=>{ft(t)&&(t.preventDefault(),h())},e.webContent.form&&nt(e,y,h,o);"none"!==i.entranceAnimation&&i.entranceAnimationDuration>0?g.addEventListener("animationend",()=>{n(y)},{once:!0}):setTimeout(()=>n(y));return t.body.appendChild(g),y}(t,e,n,o);case"floating-bar":return function(t,e,n,o){const{webContent:i}=e;ct(t);const a=lt(t,i),{backgroundColor:s,position:c}=i,l=dt(t,e,ot(ot(ot(ot(ot({display:"flex",backgroundColor:s},function(t){switch(t){case"top":return{top:"0",left:"0",right:"0"};case"bottom":return{bottom:"0",left:"0",right:"0"};default:return{}}}(c)),{},{position:"fixed"},mt(i)),gt(i.zIndex)),yt(e)),ht(i))),u=()=>{pt(l,i,()=>{(0,r.removeElement)(l),(0,r.removeElement)(a)})};l.onclick=t=>{ft(t)&&(t.preventDefault(),u())},e.webContent.form&&nt(e,l,u,o);return setTimeout(()=>n(l)),t.body.appendChild(l),l}(t,e,n,o);case"inline":return function(t,e,n,o){const{webContent:i,selector:a,position:s}=e;ct(t);const c=lt(t,i),l=t.querySelector(a);if(!l)return;const{backgroundColor:u}=i,d=dt(t,e,ot(ot(ot(ot({display:"flex",backgroundColor:u},mt(i)),gt(i.zIndex)),yt(e)),ht(i)));switch(s){case"before":l.parentNode?.insertBefore(d,l);break;case"after":l.parentNode?.insertBefore(d,l.nextSibling);break;case"append":l.appendChild(d);break;default:l.innerHTML="",l.appendChild(d)}const f=()=>{pt(d,i,()=>{(0,r.removeElement)(d),(0,r.removeElement)(c)})};d.onclick=t=>{ft(t)&&(t.preventDefault(),f())},e.webContent.form&&nt(e,d,f,o);return setTimeout(()=>n(d)),d}(t,e,n,o)}}(t,e,t=>{R(t)},n);return o&&(z(o),n&&Q(o,n,e),(0,r.replaceScriptTags)(t,o)),o}function ct(t){(0,r.addStyle)(t,"cn_style",at)}function lt(t,{uuid:e,responsiveBreakpoint:n,sections:o}){return(0,r.addStyle)(t,`cn_style_${e}`,`.cn_content.id-${e} .cn_button_link p{margin: 0; line-height: 1em;}`+function(t,e,n){const r=n.flatMap(t=>t.blocks.flatMap(t=>t.cells.flatMap(t=>t.elements.filter(h))));return 0===r.length?"":`@media (min-width: ${t}) {.id-${e} .cn__desktop-hidden { display: none !important; }}`+r.map(t=>{const n=100/t.columnQuantity;return`.id-${e} .cn_product { width: ${n}%; }`}).join("")+`@media (max-width: ${parseInt(t,10)-1}px) {`+`.id-${e} .cn__mobile-hidden { display: none !important; }`+r.map(t=>{const n=100/t.responsiveColumnQuantity;return`.id-${e} .cn_product { max-width: ${n}% !important; width: ${n}% !important; }`}).join("")+"}"}(n,e,o))}function ut(t,e){const{uuid:n,closeButtonHtml:o}=e,i=(0,r.createTag)(t,"div",{className:`cn_content_close-${n}`});return i.innerHTML=o,i}function dt(t,e,n){const{uuid:o,classes:i,webContentTypeId:a}=e.webContent,s=(0,r.createTag)(t,"div",{className:["cn_content",`cn_content_type_${a}`,`id-${o}`,...i].join(" ")},n);return s.innerHTML=function(t){return`<style type="text/css">@media (max-width: ${t.webContent.responsiveBreakpoint}) {.id-${t.webContent.uuid} .cn_cell { width:100% !important; max-width:100% !important; }.id-${t.webContent.uuid} .cn_block { display: block !important; }}</style>`}(e)+C(e),s}function ft(t){return(0,r.getAllAncestorsFromElement)(t.target).some(t=>["#__cn_close_content","#__cn_ask_for_push_subscription"].includes(t.getAttribute?.("href")))}function pt(t,e,n){const o=()=>{n(),(0,r.triggerEvent)(t.ownerDocument,"connectif.webContent.afterClose",{webContent:e})};if((0,r.triggerEvent)(t.ownerDocument,"connectif.webContent.beforeClose",{webContent:e}))if("popup"===e.webContentTypeId||"full-screen"===e.webContentTypeId||"slide-in"===e.webContentTypeId)switch(e.exitAnimation){case"fadeOut":case"fadeOutLeft":case"fadeOutDown":case"fadeOutRight":case"fadeOutUp":case"zoomOut":case"bounceOut":if("popup"===e.webContentTypeId&&t.parentElement){const n=t.previousSibling?t.previousSibling:t.parentElement;n.style.animationName="cn_fadeOut",n.style.animationDuration=`${e.exitAnimationDuration}ms`}t.style.animationName=`cn_${e.exitAnimation}`,t.style.animationDuration=`${e.exitAnimationDuration}ms`,t.addEventListener("animationend",o);break;default:o()}else o()}function mt({borderWidth:t,borderStyle:e,borderColor:n}){return t&&e?{borderWidth:t,borderStyle:e,borderColor:n||"transparent"}:{}}function bt(t){return{animationName:`cn_${t.entranceAnimation}`,animationDuration:`${t.entranceAnimationDuration}ms`}}function gt(t){return"number"==typeof t?{zIndex:t.toString()}:{}}function yt(t){const{webContent:{boxShadowHorizontal:e,boxShadowVertical:n,boxShadowBlur:r,boxShadowSpread:o,boxShadowColor:i}}=t;function a(t){return!!t}if(!a(e)&&!a(n)&&!a(r)&&!a(o)||!i)return{};return{boxShadow:`${e||0}px ${n||0}px ${r||0}px ${o||0}px ${i||"transparent"}`}}function ht({backgroundBlur:t,backgroundSaturate:e,backgroundBrightness:n,backgroundContrast:r}){return vt(t,e,n,r)}function vt(t,e,n,r){if("number"!=typeof t&&"number"!=typeof e&&"number"!=typeof n&&"number"!=typeof r)return{};return{backdropFilter:`blur(${t??0}px) saturate(${e??1}) brightness(${n??1}) contrast(${r??1})`}}var wt=n(946),_t=n.n(wt),kt=n(952),Ct=n.n(kt);function Et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function $t(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(n),!0).forEach(function(e){St(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function St(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}let Pt,xt,At,Ot,Tt,It;const jt={};let Lt,Bt;const Rt=window.document,Nt={};function Dt(){return new Promise(t=>{if(Ot&&At&&"serviceWorker"in navigator&&"PushManager"in window)return navigator.serviceWorker.register(At).then(function(e){Tt=e,t()},t);t()})}function qt(){return new Promise(t=>{if(!Lt)return void t();window.addEventListener("message",function(e){if("ready"===e.data.id)return clearTimeout(Bt),void t();if("connectif.3PCookiesNotAllowed"===e.data.id)return Lt=null,void t();const n=jt[e.data.id];n&&(delete jt[e.data.id],n(e.data.value))});const e=document.getElementById("connectif-iframe");if(e)It=e.contentWindow,Mt();else{const t=document.createElement("iframe");t.setAttribute("src",Lt),t.setAttribute("style","display: none;"),t.setAttribute("width","0"),t.setAttribute("height","0"),document.body.appendChild(t),It=t.contentWindow}})}function Mt(){It.postMessage({method:"check-ready"},Lt),Bt=setTimeout(Mt,100)}function Wt(t,e){return(0,r.triggerEvent)(Rt,t,e)}function Ht(t,e){window.localStorage.setItem(t,e),Lt&&It.postMessage({method:"set",key:Ft(t),value:e},Lt)}function zt(t,e){return new Promise(function(n){if(window.localStorage.setItem(t,e),Lt){const r=Math.random().toString(36).substr(2,9);jt[r]=n,It.postMessage({method:"set",key:Ft(t),value:e,id:r},Lt)}else n()})}function Ut(t){return Lt?new Promise(function(e){const n=Math.random().toString(36).substr(2,9);jt[n]=e,It.postMessage({method:"get",key:Ft(t),id:n},Lt)}).then(e=>(null===e&&null!==(e=window.localStorage.getItem(t))&&(Ht(t,e),It.postMessage({method:"set",key:Ft(t),value:e},Lt)),e)):Promise.resolve(window.localStorage.getItem(t))}function Ft(t){return xt+"_"+t}function Vt(t){if(t)return"true"===t.getAttribute("data-field-list")?[...t.children||[]].map(t=>Gt(t)):Gt(t)}function Kt(){let t,e=[];const n=document.querySelector("meta[name='keywords']");return n&&(t=n.getAttribute("content")),t&&(e=t.split(",")),e.filter(oe).map(t=>t.trim().substring(0,25)).slice(0,10)}function Qt(t){if(!t||"function"!=typeof t.toJSON)return!1;const e=t.toJSON();return"string"==typeof e.endpoint&&e.keys&&"string"==typeof e.keys.p256dh&&e.keys.p256dh.length>0&&"string"==typeof e.keys.auth&&e.keys.auth.length>0}function Jt(t){console.error(`connectif.${t}() should not be used`)}function Yt(t,e){return(0,r.listByClass)(t,e).map(function(t){return Zt(t)}).filter(function(t){return t.name&&t.productDetailUrl&&t.productId&&void 0!==t.unitPrice&&t.unitPrice>=0})}function Xt(t,e){return(0,r.listByClass)(t,e).map(function(t){return function(t){return $t($t({},Zt(t)),{},{quantity:ne((0,r.listByClass)(t,"quantity")[0]),price:ee((0,r.listByClass)(t,"price")[0])})}(t)}).filter(function(t){return t.name&&t.productDetailUrl&&t.productId&&void 0!==t.unitPrice&&t.unitPrice>=0})}function Zt(t){return{name:Gt((0,r.listByClass)(t,"name")[0]),productDetailUrl:Gt((0,r.listByClass)(t,"url")[0]),productId:Gt((0,r.listByClass)(t,"product_id")[0]),unitPrice:ee((0,r.listByClass)(t,"unit_price")[0]),availability:Gt((0,r.listByClass)(t,"availability")[0]),imageUrl:Gt((0,r.listByClass)(t,"image_url")[0]),description:Gt((0,r.listByClass)(t,"description")[0]),thumbnailUrl:Gt((0,r.listByClass)(t,"thumbnail_url")[0]),priority:ne((0,r.listByClass)(t,"priority")[0]),rating:ee((0,r.listByClass)(t,"rating_value")[0]),reviewCount:ne((0,r.listByClass)(t,"review_count")[0]),categories:(0,r.listByClass)(t,"category").map(Gt).filter(oe).slice(0,200),tags:(0,r.listByClass)(t,"tag").map(Gt).filter(oe).slice(0,200),relatedExternalProductIds:(0,r.listByClass)(t,"related_external_product_id").map(Gt).filter(oe).slice(0,200),unitPriceOriginal:ee((0,r.listByClass)(t,"unit_price_original")[0]),unitPriceWithoutVAT:ee((0,r.listByClass)(t,"unit_price_without_vat")[0]),discountedAmount:ee((0,r.listByClass)(t,"discounted_amount")[0]),discountedPercentage:ee((0,r.listByClass)(t,"discounted_percentage")[0]),ratingCount:ne((0,r.listByClass)(t,"rating_count")[0]),brand:Gt((0,r.listByClass)(t,"brand")[0]),publishedAt:te(Gt((0,r.listByClass)(t,"published_at")[0])),customField1:Gt((0,r.listByClass)(t,"custom_field_1")[0]),customField2:Gt((0,r.listByClass)(t,"custom_field_2")[0]),customField3:Gt((0,r.listByClass)(t,"custom_field_3")[0])}}function Gt(t){if(t)return re(t).trim()}function te(t){if(t)return isNaN(t)?t:new Date(Number(t)).toISOString()}function ee(t){if(!t)return;const e=re(t).trim(),n=parseFloat(e);return!isNaN(n)&&isFinite(n)?n:void 0}function ne(t){if(!t)return;const e=re(t).trim(),n=parseInt(e,10);return!isNaN(n)&&isFinite(n)?n:void 0}function re(t){return t.innerText||t.textContent}function oe(t){return!function(t){return null==t||""===t}(t)}function ie(t){var e,n;const r=(t+(e="=",n=(4-t.length%4)%4,new Array(n+1).join(e))).replace(/-/g,"+").replace(/_/g,"/"),o=_t()(r);if(!o)return[];const i=new Uint8Array(o.length);for(let t=0;t<o.length;++t)i[t]=o.charCodeAt(t);return i}function ae(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ae(Object(n),!0).forEach(function(e){ce(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ce(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}window.connectif||(window.connectif={version:"1.3.0",initialize:function(t,e){if("object"!=typeof t||"string"!=typeof t.token)throw Error("Connectif: config.token must be provided on initialize");xt=t.token,At=t.serviceWorkerUrl,Ot=t.vapidPublicKey,Pt=t.baseUrl,Lt=t.iframeSource,Promise.all([qt(),Dt()]).then(function(){"function"==typeof e&&e(),Wt("connectif.initialized")})},triggerEvent:Wt,set:Ht,setAsync:zt,get:function(t){if(Lt)throw Error("connectif: Cannot use get method when cross domain storage is enabled");return window.localStorage.getItem(t)},getAsync:Ut,unset:function(t){window.localStorage.removeItem(t),Lt&&It.postMessage({method:"remove",key:Ft(t)},Lt)},getClientPrivateInfo:function(){const t=(0,r.listByClass)(Rt,"cn_client_private_info")[0];return t?.innerText.trim()},getClientInfo:function(){const t=(0,r.listByClass)(Rt,"cn_client_info")[0],e={};if(!t||!t.children)return e;const n=t.children;for(let o=0;o<n.length;o++){const i=n[o].className;"primary_key"===i?e.primaryKey=Gt((0,r.listByClass)(t,i)[0]):"tracker_id"===i?e.trackerId=Gt((0,r.listByClass)(t,i)[0]):"_email_status"===i?e._emailStatus=Gt((0,r.listByClass)(t,i)[0]):"_newsletter_subscription_status"===i?e._newsletterSubscriptionStatus=Gt((0,r.listByClass)(t,i)[0]):e[i]=Vt((0,r.listByClass)(t,i)[0])}return e},getPageVisitEvent:function(){return{type:"page-visit"}},getWebLinkClickedEvent:function(){const t=new URLSearchParams(location.search),e=t.get("cnWebLinkClicked");if(e){t.delete("cnWebLinkClicked");const n=t.toString();return history.replaceState(null,"",location.pathname+(n?"?"+n:"")),$t({type:"web-link-clicked"},JSON.parse(e))}},getVisitedProductEvents:function(){return Yt(Rt,"cn_product_visited").map(function(t){return{type:"product-visited",product:t}})},getSearchedProductEvents:function(){return Yt(Rt,"cn_product_searched").map(t=>({type:"product-searched",product:t}))},getProductsNotFoundEvents:function(){return(0,r.listByClass)(Rt,"cn_product_not_found").map(t=>Zt(t)).filter(t=>!!t.productId).map(t=>({type:"product-not-found",productId:t.productId}))},getLoginEvent:function(){return(0,r.listByClass)(Rt,"cn_login")[0]?{type:"login"}:void 0},getRegisterEvent:function(){return(0,r.listByClass)(Rt,"cn_register")[0]?{type:"register"}:void 0},getSearchEvent:function(){const t=(0,r.listByClass)(Rt,"cn_search")[0],e=Gt((0,r.listByClass)(t,"search_text")[0]);return e?{type:"search",searchText:e}:void 0},getNewsletterSubscribeEvent:function(){const t=(0,r.listByClass)(Rt,"cn_newsletter_subscribe")[0],e=Gt((0,r.listByClass)(t,"email")[0]);return t?{type:"newsletter-subscribe",email:e}:void 0},getPurchaseEvents:function(){return(0,r.listByClass)(Rt,"cn_purchase").map(function(t){return function(t){return{cartId:Gt((0,r.listByClass)(t,"cart_id")[0]),totalQuantity:ne((0,r.listByClass)(t,"total_quantity")[0]),totalPrice:ee((0,r.listByClass)(t,"total_price")[0]),products:Xt(t,"product_basket_item"),purchaseId:Gt((0,r.listByClass)(t,"purchase_id")[0]),paymentMethod:Gt((0,r.listByClass)(t,"payment_method")[0]),purchaseDate:Gt((0,r.listByClass)(t,"purchase_date")[0]),sourceType:Gt((0,r.listByClass)(t,"source_type")[0]),sourceName:Gt((0,r.listByClass)(t,"source_name")[0])}}(t)}).filter(function(t){return t.purchaseId&&void 0!==t.totalQuantity&&t.totalQuantity>=0&&void 0!==t.totalPrice&&t.totalPrice>=0}).map(function(t){return{type:"purchase",purchase:t}})},getCartModel:function(){const t=(e=(0,r.listByClass)(Rt,"cn_cart")[0],{cartId:Gt((0,r.listByClass)(e,"cart_id")[0]),totalQuantity:ne((0,r.listByClass)(e,"total_quantity")[0]),totalPrice:ee((0,r.listByClass)(e,"total_price")[0]),cartRecoveryUrl:Gt((0,r.listByClass)(e,"cart_recovery_url")[0]),products:Xt(e,"product_basket_item")});var e;return t.cartId&&void 0!==t.totalQuantity&&t.totalQuantity>=0&&void 0!==t.totalPrice&&t.totalPrice>=0?t:void 0},getEmbeddedBlockPlaceholderIds:()=>(Jt("getEmbeddedBlockPlaceholderIds"),[]),getPushSubscription:function(){if(!xt)throw Error("Connectif: cannot getSubscription before initialize");return Tt?Tt.pushManager.getSubscription().then(t=>Qt(t)?t:void 0):Promise.resolve()},getPageInfo:function(){return{categories:(0,r.listByClass)(Rt,"cn_page_category").map(Gt).filter(oe).slice(0,10).map(t=>t.trim().substring(0,256)),title:document.title.substring(0,50),keywords:Kt(),tags:(0,r.listByClass)(Rt,"cn_page_tag").map(Gt).filter(oe).slice(0,10).map(t=>t.trim().substring(0,25))}},sendData:function(t,e,n){if(!xt)throw Error("Connectif: cannot sendData before initialize");if("object"!=typeof t||null===t)throw Error("Connectif: invalid data to send: "+t);t.browserInfo=t.browserInfo||{windowWidth:window.outerWidth,windowHeight:window.outerHeight,screenHeight:window.screen.height,screenWidth:window.screen.width,colorDepth:screen.colorDepth,cookieEnabled:navigator.cookieEnabled,language:navigator.language,platform:navigator.platform,url:encodeURIComponent(window.location.href),referer:document.referrer,device:"function"==typeof window.matchMedia&&window.matchMedia("only screen and (max-width: 760px)").matches?"mobile":"desktop"},function(t,e,n){if(!(t in Nt)||0===Nt[t].length)return void n(e);const r=Nt[t].slice();function o(t,e){if(r.length===e)return void n(t);(0,r[e])(t,function(t,n){t&&console.error(t),o(n,e+=1)})}o(e,0)}("before-send-data",t,function(t){const r=new XMLHttpRequest;r.open("POST",Pt+"integration-type/system/scrippet-notification/"+xt,!0),r.setRequestHeader("Content-type","text/plain"),r.onreadystatechange=function(){r.readyState>3&&(200===r.status&&e?e(JSON.parse(r.responseText),r):200!==r.status&&n&&n(r.status))},r.send(JSON.stringify(t))})},isSomeModalOpened:()=>(Jt("isSomeModalOpened"),!1),hideModal:()=>Jt("hideModal"),showModal:()=>Jt("showModal"),showBanner:()=>Jt("showBanner"),showWebContent:(t,e)=>st(Rt,t,e),isSomeWebContentOpened:function(t,e=["popup","full-screen","slide-in","floating-bar","inline"]){return!!t.querySelector(e.map(t=>`.cn_content_type_${t}`).join(", "))},subscribeToPushNotifications:function(t){"function"!=typeof t&&(t=function(){});if(!Tt)return void t(null,null);return Tt.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:ie(Ot)}).then(function(e){Qt(e)?t(null,e.toJSON()):t(Error("Connectif: The subscription is not valid"))},t)},unsubscribeFromPushNotification:function(t){return t.unsubscribe()},doesPushSubscriptionPublicKeyMatch:function(t){const e=t.options.applicationServerKey;return Ct()(new Uint8Array(e))===Ct()(ie(Ot))},onEmbeddedFormSubmit:null,onAskForPushNotifications:null,initializeCarousels:()=>Jt("initializeCarousels"),addHookHandler:function(t,e){if("function"!=typeof e)throw new Error("handler must be a function");if("string"!=typeof t)throw new Error("hook must be a string");t in Nt||(Nt[t]=[]);Nt[t].push(e)},removeHookHandler:function(t,e){if("function"!=typeof e)throw new Error("handler must be a function");if("string"!=typeof t)throw new Error("hook must be a string");if(Array.isArray(Nt[t])){const n=Nt[t].indexOf(e);n>=0&&Nt[t].splice(n,1)}},getTrackerId:function(){return Ut("cn_tracker").then(t=>t?JSON.parse(t).id:void 0)},setTrackerId:function(t){return zt("cn_tracker",JSON.stringify({id:t}))}},setTimeout(()=>{Wt("connectif.loaded")},1)),window.initializeConnectif=function(t){Array.isArray(t.forms)||(t.forms=[]);let e=!1;const n=window.connectif,r={sendEvents:E,getAllEvents:function(){return q({lastSubmittedFormEvent:F([n.get("cn_last_submitted_form_id"),n.get("cn_last_submitted_form_data"),n.get("cn_last_submitted_form_primary_key_field")]),webClickEvent:n.getWebLinkClickedEvent()})},getAllEventsAsync:D,deepEquals:P,isExcludedPage:K,getSamplingValue:function(){return l},isAllowedDomain:V,setLastSubmittedFormPk:J,getAllConnectifEventsAsync:function(){return N().then(t=>[].concat(t.lastSubmittedFormEvent?[t.lastSubmittedFormEvent]:[]).concat(t.webClickEvent?[t.webClickEvent]:[]))},onNewWebContainer:function(t){const e=s;s=[];for(let n=0;n<e.length;n+=1){const r=e[n];t===p&&B(r)}},isInitialized:function(){return e},getSharedDataById:function(t){if(!t||"string"!=typeof t)throw new Error('getSharedDataById: "id" is required and must be a string');const e=c[t];return e?se({id:t},e):null}};n.managed=r;const o=window.document;let i=[],a=[],s=[],c={};const l=t.samplingValue||Math.floor(100*Math.random()),u=t.serializeRequests??!1;let d,f,p,m=new Date,b=!1;const{enqueuePromise:g}=function(){let t=Promise.resolve();return{enqueuePromise:function(e){const n=t.then(e,e);return t=n.catch(()=>{}),n}}}();function y(){n.onEmbeddedFormSubmit=z,n.onAskForPushNotifications=H,function(){for(let n=0;n<t.forms.length;n+=1){let i;const a=t.forms[n];if(!r(a))continue;const s=a.identificationOptions;!a.htmlId||s&&!s.useHtmlId||(i=o.getElementById(a.htmlId)),i||!a.htmlName||s&&!s.useHtmlName||(i=o.querySelector('form[name="'+a.htmlName+'"]')),i||!a.htmlAction||s&&!s.useHtmlAction||(i=o.querySelector('form[action="'+a.htmlAction+'"]')),i||!a.htmlClass||s&&!s.useHtmlClass||(i=o.querySelector('form[class="'+a.htmlClass+'"]')),i&&!i.getAttribute("data-cn-form-id")&&(i.setAttribute("data-cn-form-id",a.id),a.primaryKeyField&&i.setAttribute("data-cn-primary-key-field",a.primaryKeyField),i.addEventListener("submit",e,!0))}function e(t){n.set("cn_last_submitted_form_id",t.target.getAttribute("data-cn-form-id")),t.target.getAttribute("data-cn-primary-key-field")&&n.set("cn_last_submitted_form_primary_key_field",t.target.getAttribute("data-cn-primary-key-field")),n.set("cn_last_submitted_form_data",JSON.stringify(U(t.target,!0)))}function r(t){let e,n,r;switch(t.urlSourceId){case"any":return!0;case"exact":for(e=0;e<t.exactUrls.length;e+=1)if(n=t.exactUrls[e].url,window.location.href===n)return!0;return!1;case"startsWith":for(e=0;e<t.startsWithUrls.length;e+=1)if(n=t.startsWithUrls[e].url,r=n.length,window.location.href.substring(0,r)===n)return!0;return!1}return!1}}(),n.initialize(t,h)}function h(e){if(e)throw Error(e);new Promise(function(t,e){try{const e=/[?&]__cn_tracker=([^&#]*)/i.exec(location.search);e?O(decodeURIComponent(e[1].replace(/\+/g," ")).substring(0,24)).then(function(){const n=e[0].substring(1);let r=location.search.replace("?"+n+"&","?").replace("?"+n,"").replace("&"+n,"");location.hash&&(r+=location.hash),history.replaceState(null,"",location.pathname+r),t()}):t()}catch(t){console.error(t),e(t)}}).then(function(){if(t.webTrackingEnabled){o.addEventListener("connectif.webContent.afterClose",W);const{trackerId:t}=n.getClientInfo();w(t).then(()=>{b=Q(document,f),v()})}else v();t.autoSendEventsOnInit&&D().then(E),function(t){t||(t=document);const e=Array.prototype.slice.call(t.querySelectorAll("[data-cn-embedded-form]:not(.cn__initialized)")),r=n.getClientInfo();A({trackerId:r.trackerId,primaryKey:r.primaryKey}).then(t=>{e.forEach(function(e){Object.keys(r).forEach(function(t){"trackerId"!==t&&"primaryKey"!==t&&_(e,t,r[t])}),_(e,"eventType","form-submitted"),_(e,"formId",e.getAttribute("data-form-id")),_(e,"contentId",e.getAttribute("data-cn-content-id")),_(e,"workflowDefinitionId",e.getAttribute("data-cn-workflow-definition-id")),_(e,"sendUuid",e.getAttribute("data-cn-send-uuid")),_(e,"redirectUrl",e.getAttribute("data-cn-redirect-url")),_(e,"primaryKeyFieldName",e.getAttribute("data-cn-primary-key-field-name")),_(e,"primaryKey",t.primaryKey),_(e,"trackerId",t.trackerId),e.classList.add("cn__initialized")})})}()})}function v(){e=!0,n.triggerEvent("connectif.managed.initialized")}function w(e){return A({trackerId:e}).then(({trackerId:e})=>{e&&(f={sendEvents:E,apiBaseUrl:t.baseUrl,token:t.token,tracker:e,subscribeToPushNotifications:()=>{n.subscribeToPushNotifications(function(t){t||E([])})},setLastSubmittedFormPk:J})})}function _(t,e,n){const r=document.createElement("input");n&&(r.setAttribute("type","hidden"),r.setAttribute("name","cn__"+e),r.setAttribute("value",n),t.appendChild(r))}function k(t){return t.some(t=>"page-visit"===t.type)}function C(t){return k(t)?N().then(function(e){return(e.lastSubmittedFormEvent?[e.lastSubmittedFormEvent]:[]).concat(t).concat(e.webClickEvent?[e.webClickEvent]:[])}):Promise.resolve(t)}function E(t,e){return u?g(()=>function(t,e){return new Promise((n,r)=>$(t,se(se({},e),{},{onResponded:()=>{n(),"function"==typeof e?.onResponded&&e.onResponded()},onError:t=>r(t),waitForInternalResponseHandling:!0})).catch(r))}(t,e)):$(t,e)}function $(e,r){return"object"==typeof r&&null!==r||(r={}),"function"!=typeof r.onResponded&&(r.onResponded=()=>{}),"function"!=typeof r.onError&&(r.onError=()=>{}),!r||r.entityInfo&&"object"==typeof r.entityInfo&&!Array.isArray(r.entityInfo)||(r.entityInfo=void 0),e=Array.isArray(e)?e:[],V()&&!K()&&t.webTrackingEnabled?(k(e)&&(i=[],a=[],s=[],c={}),Promise.all([C(e),n.getPushSubscription()]).then(function(t){const e=t[0];let o=t[1];if("Notification"in window&&"granted"===Notification.permission){if(o&&!n.doesPushSubscriptionPublicKeyMatch(o))return n.unsubscribeFromPushNotification(o).finally(()=>i());if(!o)return i()}return c();function i(){return new Promise(t=>{n.subscribeToPushNotifications(function(e,n){return o=n,c().then(t)})})}function a(){if(!r.pageInfo)return;p=r.pageInfo.id;const{tags:t,categories:e,keywords:n,title:o}=r.pageInfo;return se(se(se(se({},s(t)?{tags:t.filter(t=>t).slice(0,10).map(t=>t.trim().substring(0,25))}:{}),s(e)?{categories:e.filter(t=>t).slice(0,10).map(t=>t.trim().substring(0,256))}:{}),s(n)?{keywords:n.filter(t=>t).slice(0,10).map(t=>t.trim().substring(0,25))}:{}),"string"==typeof o?{title:o.substring(0,50)}:{})}function s(t){return Array.isArray(t)&&t.every(t=>"string"==typeof t)}function c(){const t={entityPrivateInfo:r.privateInfo||n.getClientPrivateInfo(),entityInfo:r.entityInfo||n.getClientInfo(),cart:r.cart||n.getCartModel(),pushSubscription:o,events:e,pageInfo:se(se({},n.getPageInfo()),a())};return A(t.entityInfo).then(e=>{return t.entityInfo.trackerId=e.trackerId,t.entityInfo.primaryKey=e.primaryKey,Promise.all([(o=t.entityInfo,n.getAsync("cn_previous_entity_info").then(t=>{if(t){const e=JSON.parse(t);return!P(o,e)}return!0}).catch(()=>(n.unset("cn_previous_entity_info"),!0))),S(t.pushSubscription),x(t)]).then(([e,o])=>{e||t.cart||t.events.length>0||o?(n.set("cn_previous_entity_info",JSON.stringify(t.entityInfo)),t.pushSubscription?n.set("cn_previous_push_subscription",t.pushSubscription.endpoint):n.unset("cn_previous_push_subscription"),n.sendData(t,function(t,e){r.waitForInternalResponseHandling?T(t,e).finally(()=>r.onResponded()):(T(t,e),r.onResponded())},function(t){r.onError(t)})):r.onResponded()});var o})}})):(setTimeout(r.onResponded,0),Promise.resolve())}function S(t){return n.getAsync("cn_previous_push_subscription").then(e=>!(t||!e)||(!(!t||e)||!(!t&&!e)&&(t&&e?t.endpoint!==e:void 0)))}function P(t,e){return typeof t==typeof e&&(Array.isArray(t)?!!Array.isArray(e)&&(t.length===e.length&&t.every(function(t,n){return P(t,e[n])})):!Array.isArray(e)&&("object"==typeof t?null===t?null===e:Object.keys(t).every(function(n){return P(t[n],e[n])})&&Object.keys(e).every(function(n){return P(t[n],e[n])}):t===e))}function x(t){const e=t.cart;if("object"==typeof e)return n.getAsync("cn_previous_cart").then(r=>{if(r){const n=JSON.parse(r);i=n,(o=e).cartId===i.cartId&&o.totalPrice===i.totalPrice&&o.totalQuantity===i.totalQuantity&&o.cartRecoveryUrl===i.cartRecoveryUrl&&Array.isArray(o.products)&&Array.isArray(i.products)&&o.products.length===i.products.length&&o.products.every(function(t){return i.products.some(function(e){return t.quantity===e.quantity&&t.price===e.price&&t.productId===e.productId})})&&delete t.cart}var o,i;n.set("cn_previous_cart",JSON.stringify(e))}).catch(()=>{n.unset("cn_previous_cart")})}function A(t){return n.getTrackerId().then(e=>{const n=t.trackerId||e||function(t){const e=window.location.href;t=t.replace(/[[\]]/g,"\\$&");const n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);if(!n)return null;if(!n[2])return"";return decodeURIComponent(n[2].replace(/\+/g," "))}("__cn_tracker");return{trackerId:n?n.substring(0,24):void 0,primaryKey:d||t.primaryKey}})}function O(t){return new Promise(function(e,r){try{n.getTrackerId().then(o=>{n.setTrackerId(t).then(()=>{t!==o&&n.triggerEvent("connectif.managed.tracker_changed",{oldTrackerId:o,newTrackerId:t}),e()}).catch(r)}).catch(r)}catch(t){r(t)}})}function T(t,e){return(t?.trackerId?O(t.trackerId):Promise.resolve()).then(()=>{w().then(()=>{b||(b=Q(document,f));const e=t.sharedData;e&&Object.keys(e).length>0&&(c=se(se({},c),e),Object.entries(e).forEach(([t,e])=>{n.triggerEvent("connectif.managed.shared_data_received",se({id:t},e))})),n.getPushSubscription().then(function(e){let r=!0;"Notification"in window&&"denied"!==Notification.permission?"default"===Notification.permission||"granted"===Notification.permission&&(r=!1,e||n.subscribeToPushNotifications()):r=!1,Array.isArray(t.webContents)&&t.webContents.filter(t=>r||!t.onlyShowIfPushUnsubscribed).forEach(t=>{switch(t.showOn){case"immediate":i.push(t);break;case"on-leave-page":case"on-scroll":case"on-activity-timeout":a.push(t);break;case"on-timeout":a.push(t),function(t){setTimeout(function(){R(t),I()},t.milliseconds)}(t)}}),I()})})})}function I(){const t=[];n.isSomeWebContentOpened(o,["popup","full-screen"])||t.push(...L(["popup","full-screen"])),n.isSomeWebContentOpened(o,["slide-in"])||t.push(...L(["slide-in"])),n.isSomeWebContentOpened(o,["floating-bar"])||t.push(...L(["floating-bar"])),j(["inline"]).forEach(B),t.length>0&&E(t,{entityInfo:{}})}function j(t){const e="default"===window.Notification?.permission;return i.filter(e=>t.includes(e.webContent.webContentTypeId)).filter(t=>e||!t.onlyShowIfPushUnsubscribed)}function L(t){const e=j(t);return e.length>0?B(e[0]):[]}function B(t){i=i.filter(e=>e!==t);var e;n.showWebContent(t,f)||"inline"!==t.webContent.webContentTypeId||(e=t,s.push(e));const{workflowDefinitionId:r,webContent:{id:o,webContentTypeId:a},sendUuid:c}=t;return"inline"!==t.webContent.webContentTypeId?[{type:"web-content-opened",contentId:o,webContentTypeId:a,workflowDefinitionId:r,sendUuid:c}]:[]}function R(t){a=a.filter(e=>e!==t),i.push(t)}function N(){return Promise.all([n.getAsync("cn_last_submitted_form_id"),n.getAsync("cn_last_submitted_form_data"),n.getAsync("cn_last_submitted_form_primary_key_field")]).then(F).then(t=>({lastSubmittedFormEvent:t,webClickEvent:n.getWebLinkClickedEvent()}))}function D(){return N().then(q)}function q(t){return(t.lastSubmittedFormEvent?[t.lastSubmittedFormEvent]:[]).concat(n.getVisitedProductEvents()).concat(n.getSearchedProductEvents()).concat(n.getProductsNotFoundEvents()).concat([n.getLoginEvent()]).concat([n.getRegisterEvent()]).concat([n.getSearchEvent()]).concat([n.getNewsletterSubscribeEvent()]).concat(n.getPurchaseEvents()).concat([n.getPageVisitEvent()]).concat([t.webClickEvent]).filter(t=>!!t)}function M(){m=new Date}function W(){I()}function H(){n.subscribeToPushNotifications(function(t){t||E([])})}function z(t){if(t.preventDefault(),!function(t){const e="cn__validateForm",n=window.document.querySelector("iframe.cn_modal_iframe");if(n&&n.contentWindow){const r=n.contentWindow[e];if("function"==typeof r)return r(t)}const r=window[e];if("function"==typeof r)return r(t);return!0}(t.target))return;const e=U(t.target,!1),n=t.target.getAttribute("data-cn-primary-key-field-name");n&&(d=e[n]),E([{type:"form-submitted",formId:t.target.getAttribute("data-form-id"),contentId:t.target.getAttribute("data-cn-content-id"),workflowDefinitionId:t.target.getAttribute("data-cn-workflow-definition-id"),sendUuid:t.target.getAttribute("data-cn-send-uuid"),payload:e}],{onResponded:function(){let e=t.target.getAttribute("data-cn-redirect-url");if(e){/^https?:\/\//i.test(e)||(e="//"+e),window.location.href=e}}})}function U(e,r){const o={},i=n.get("cn_last_submitted_form_id"),a=t.forms.find(t=>t.id===i).fields;for(let t=0;t<e.length;t+=1){const{name:n,value:i,type:s}=e.elements[t];r&&!a.some(t=>t===n)||("checkbox"===e.elements[t].getAttribute("type")?e.elements[t].checked?("string"==typeof o[n]&&(o[n]=[o[n]]),"object"==typeof o[n]&&o[n].length>=0?o[n].push(i):o[n]=i):o[n]=o[n]||[]:"radio"===e.elements[t].getAttribute("type")?e.elements[t].checked&&(o[n]=i):o[n]="text"!==s?i:i.trim())}return o}function F([t,e,r]){if(!t)return null;n.unset("cn_last_submitted_form_id"),n.unset("cn_last_submitted_form_data"),n.unset("cn_last_submitted_form_primary_key_field");const o={type:"form-submitted",formId:t,payload:JSON.parse(e)};return r&&(o.primaryKeyField=r),o}function V(){return!t.allowedDomains||0===t.allowedDomains.length||t.allowedDomains.some(t=>function(t){const e=window.location.href,n=window.location.hostname,r=0===t.indexOf("*");if(0===t.indexOf("http://")||0===t.indexOf("https://"))return 0===e.indexOf(t);if(!r)return t===n;return n.endsWith(t.replace("*",""))}(t))}function K(){return t.trackAllByDefault?!(!Array.isArray(t.excludeTracking)||!t.excludeTracking.some(e))||!!t.samplingTrackingPercent&&l>t.samplingTrackingPercent:(!Array.isArray(t.includeTracking)||!t.includeTracking.some(e))&&(!t.samplingTrackingPercent||l>t.samplingTrackingPercent);function e(t){return"string"==typeof t&&new RegExp(t).test(window.location.href)}}function J(t){d=t}window.addEventListener("scroll",function(){const t=window.pageYOffset||document.documentElement.scrollTop,e=window.innerHeight,n=document.documentElement.scrollHeight,r=100*t/(n-e);a.filter(t=>"on-scroll"===t.showOn&&t.scrollPercentage<=r).forEach(R),I()}),o.addEventListener("mouseout",function(t){if(null!==t.relatedTarget)return;a.filter(t=>"on-leave-page"===t.showOn).forEach(R),I()}),["mousemove","click","keydown","change","wheel","scroll"].forEach(function(t){window.addEventListener(t,M)}),setInterval(function(){const t=(new Date).getTime()-m.getTime();a.filter(e=>"on-activity-timeout"===e.showOn&&e.milliseconds<t).forEach(R),I()},1e3),"complete"===document.readyState||"interactive"===document.readyState?setTimeout(y,0):o.addEventListener("DOMContentLoaded",y)}})();window.connectifConfiguration={"baseUrl":"https://eu6-api.connectif.cloud/","token":"953b931d-b7df-4f80-b335-2d2157e58c58","forms":[{"id":"63da78239ef522a75ad65c94","htmlId":"newsletter-validate-detail","htmlName":null,"htmlAction":"https://www.lavinia.com/es-es/newsletter/subscriber/new/","urlSourceId":"exact","exactUrls":[{"url":"https://www.lavinia.com/es-es/"},{"url":"https://lavinia.com/es-es/"}],"startsWithUrls":[{"url":"https://www.lavinia.com/es-es/"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":false,"useHtmlAction":true,"useHtmlClass":false},"fields":["email"]},{"id":"65e065ce090d793ebd698b08","htmlId":"membership-registration-form","htmlName":"membership_registration_form","htmlAction":"https://www.lavinia.com/es-es/customer/account/createPost/","urlSourceId":"any","exactUrls":[{"url":"https://www.lavinia.com/es-es/unete-club-lavinia"}],"startsWithUrls":[{"url":"https://www.lavinia.com/es-es/unete-club-lavinia"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":true,"useHtmlAction":true,"useHtmlClass":false},"fields":["form_name","firstname","lastname","email","dob","is_subscribed_email","is_subscribed_sms","terms"]},{"id":"660d74358eaf4d73caa34364","htmlId":"membership-registration-form","htmlName":"membership_registration_form","htmlAction":"https://www.lavinia.com/es-es/customer/account/createPost/","urlSourceId":"any","exactUrls":[{"url":"https://www.lavinia.com/es-es/unete-club-lavinia"}],"startsWithUrls":[{"url":"https://www.lavinia.com/es-es/unete-club-lavinia"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":true,"useHtmlAction":true,"useHtmlClass":false},"fields":["form_key","form_return_url","form_name","firstname","lastname","email","password","password_confirmation","dob","telephone","is_subscribed_email","is_subscribed_sms","terms"]},{"id":"665f3c1f5fc53ef09b0b0c87","htmlId":"newsletter-validate-detail","htmlName":null,"htmlAction":"https://www.lavinia.com/es-es/newsletter/subscriber/new/","urlSourceId":"exact","exactUrls":[{"url":"https://lavinia.com/es-es/ues/central-compras-notarios"}],"startsWithUrls":[{"url":"https://lavinia.com/es-es/ues/central-compras-notarios"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":false,"useHtmlAction":true,"useHtmlClass":false},"fields":["email","am-gdpr-checkboxes-from"]},{"id":"666046ec03550dbdef3cf527","htmlId":"membership-registration-form","htmlName":"membership_registration_form","htmlAction":"https://www.lavinia.com/es-es/customer/account/createPost/","urlSourceId":"startsWith","exactUrls":[{"url":"https://lavinia.com/es-es/ues/central-compras-notarios"}],"startsWithUrls":[{"url":"https://lavinia.com/es-es/ues/central-compras-notarios"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":true,"useHtmlAction":true,"useHtmlClass":false},"fields":["form_key","form_return_url","form_name","firstname","lastname","email","dob","telephone","is_subscribed_email","is_subscribed_sms","terms"]},{"id":"669f976dc826ea29ecbfcabb","htmlId":"membership-registration-form","htmlName":"membership_registration_form","htmlAction":"https://www.lavinia.com/es-es/customer/account/createPost/","urlSourceId":"startsWith","exactUrls":[{"url":"https://lavinia.com/es-es/ues/central-compras-notarios"}],"startsWithUrls":[{"url":"https://lavinia.com/es-es/ues/central-compras-notarios"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":true,"useHtmlAction":true,"useHtmlClass":false},"fields":["form_key","form_return_url","form_name","firstname","lastname","email","password","password_confirmation","dob","telephone","is_subscribed_email","is_subscribed_sms","terms"]},{"id":"6707eddabbd577228216436c","htmlId":"membership-registration-form","htmlName":"membership_registration_form","htmlAction":"https://www.lavinia.com/es-es/customer/account/createPost/","urlSourceId":"startsWith","exactUrls":[{"url":"https://www.lavinia.com/es-es/ues/fiesta-espumoso"}],"startsWithUrls":[{"url":"https://www.lavinia.com/es-es/ues/fiesta-espumoso"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":true,"useHtmlAction":true,"useHtmlClass":false},"fields":["form_key","form_return_url","form_name","firstname","lastname","email","password","password_confirmation","dob","telephone","is_subscribed_email","is_subscribed_sms","terms"]},{"id":"6807bc92ca53f529a5de7345","htmlId":"newsletter-validate-detail","htmlName":null,"htmlAction":"https://www.lavinia.com/es-es/newsletter/subscriber/new/","urlSourceId":"any","exactUrls":[{"url":"https://www.lavinia.com/es-es/ues/primeur"}],"startsWithUrls":[{"url":"https://www.lavinia.com/es-es/ues/primeur"}],"primaryKeyField":"email","identificationOptions":{"useHtmlId":true,"useHtmlName":false,"useHtmlAction":false,"useHtmlClass":false},"fields":["email","am-gdpr-checkboxes-from"]}],"webTrackingEnabled":true,"vapidPublicKey":"BFrri2AhdwL-MmbxqFzYmvBmuTJOE-Fz5FCxcvyoJnPf1w3tRrzws_1LiiJ_lWpzELNVj0Q5F1qGhpRrJpmYlw8","serviceWorkerUrl":"https://admin.lavinia.com/static/version1675323590/frontend/Ebolution/lavinia/en_US/Connectif_Integration/service-worker.min.js","autoInitialize":true,"autoSendEventsOnInit":true,"trackAllByDefault":true,"excludeTracking":[],"allowedDomains":["https://www.lavinia.com"]};window.initializeConnectif(window.connectifConfiguration);