PageSourceSearch

https://www.kotoba.fr/wp-content/cache/1b72feeb-0534-48d1-8c38-e79…c03f7156a74c284e1b5290bc4cb28.js?ver=1.16.0

js kotoba.fr collected 2026-10-02 13:03:04 UTC 302,002 bytes, 1 lines download raw bytes

vendor: 7,941 bytes, line 1
1/* Loaded from local cache - 1790554259 */globalThis.__AFFILIZZ_RENDERINGS_LOADED__||(globalThis.__AFFILIZZ_RENDERINGS_LOADED__=!0,function(){"use strict";const t=globalThis,e=t=>t,r=t.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,n="$lit$",i=`lit$${Math.random().toFixed(9).slice(2)}$`,a="?"+i,s=`<${a}>`,l=document,d=()=>l.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,h=Array.isArray,f=t=>h(t)||"function"==typeof t?.[Symbol.iterator],p="[ \t\n\f\r]",g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,u=/-->/g,z=/>/g,m=RegExp(`>|${p}(?:([^\\s"'>=/]+)(${p}*=${p}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,v=/"/g,x=/^(?:script|style|textarea|title)$/i,y=(t=>(e,...r)=>({_$litType$:t,strings:e,values:r}))(1),C=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),k=new WeakMap,F=l.createTreeWalker(l,129);function $(t,e){if(!h(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}let S=class t{constructor({strings:e,_$litType$:o},l){let c;this.parts=[];let h=0,f=0;const p=e.length-1,y=this.parts,[C,w]=((t,e)=>{const r=t.length-1,o=[];let a,l=2===e?"<svg>":3===e?"<math>":"",d=g;for(let e=0;e<r;e++){const r=t[e];let c,h,f=-1,p=0;for(;p<r.length&&(d.lastIndex=p,h=d.exec(r),null!==h);)p=d.lastIndex,d===g?"!--"===h[1]?d=u:void 0!==h[1]?d=z:void 0!==h[2]?(x.test(h[2])&&(a=RegExp("</"+h[2],"g")),d=m):void 0!==h[3]&&(d=m):d===m?">"===h[0]?(d=a??g,f=-1):void 0===h[1]?f=-2:(f=d.lastIndex-h[2].length,c=h[1],d=void 0===h[3]?m:'"'===h[3]?v:b):d===v||d===b?d=m:d===u||d===z?d=g:(d=m,a=void 0);const y=d===m&&t[e+1].startsWith("/>")?" ":"";l+=d===g?r+s:f>=0?(o.push(c),r.slice(0,f)+n+r.slice(f)+i+y):r+i+(-2===f?e:y)}return[$(t,l+(t[r]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]})(e,o);if(this.el=t.createElement(C,l),F.currentNode=this.el.content,2===o||3===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(c=F.nextNode())&&y.length<p;){if(1===c.nodeType){if(c.hasAttributes())for(const t of c.getAttributeNames())if(t.endsWith(n)){const e=w[f++],r=c.getAttribute(t).split(i),o=/([.?@])?(.*)/.exec(e);y.push({type:1,index:h,name:o[2],strings:r,ctor:"."===o[1]?L:"?"===o[1]?I:"@"===o[1]?V:A}),c.removeAttribute(t)}else t.startsWith(i)&&(y.push({type:6,index:h}),c.removeAttribute(t));if(x.test(c.tagName)){const t=c.textContent.split(i),e=t.length-1;if(e>0){c.textContent=r?r.emptyScript:"";for(let r=0;r<e;r++)c.append(t[r],d()),F.nextNode(),y.push({type:2,index:++h});c.append(t[e],d())}}}else if(8===c.nodeType)if(c.data===a)y.push({type:2,index:h});else{let t=-1;for(;-1!==(t=c.data.indexOf(i,t+1));)y.push({type:7,index:h}),t+=i.length-1}h++}}static createElement(t,e){const r=l.createElement("template");return r.innerHTML=t,r}};function B(t,e,r=t,o){if(e===C)return e;let n=void 0!==o?r._$Co?.[o]:r._$Cl;const i=c(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=n:r._$Cl=n),void 0!==n&&(e=B(t,n._$AS(t,e.values),n,o)),e}let T=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??l).importNode(e,!0);F.currentNode=o;let n=F.nextNode(),i=0,a=0,s=r[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new O(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new P(n,this,t)),this._$AV.push(e),s=r[++a]}i!==s?.index&&(n=F.nextNode(),i++)}return F.currentNode=l,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},O=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=B(this,t,e),c(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==C&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==w&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=S.createElement($(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new T(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new S(t)),e}k(e){h(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let o,n=0;for(const i of e)n===r.length?r.push(o=new t(this.O(d()),this.O(d()),this,this.options)):o=r[n],o._$AI(i),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){const r=e(t).nextSibling;e(t).remove(),t=r}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},A=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,n){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=w}_$AI(t,e=this,r,o){const n=this.strings;let i=!1;if(void 0===n)t=B(this,t,e,0),i=!c(t)||t!==this._$AH&&t!==C,i&&(this._$AH=t);else{const o=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=B(this,o[r+a],e,a),s===C&&(s=this._$AH[a]),i||=!c(s)||s!==this._$AH[a],s===w?t=w:t!==w&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!o&&this.j(t)}j(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},L=class extends A{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===w?void 0:t}},I=class extends A{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==w)}},V=class extends A{constructor(t,e,r,o,n){super(t,e,r,o,n),this.type=5}_$AI(t,e=this){if((t=B(this,t,e,0)??w)===C)return;const r=this._$AH,o=t===w&&r!==w||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==w&&(r===w||o);o&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},P=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){B(this,t)}};const _={R:T,D:f,V:B,I:O,F:P},R=t.litHtmlPolyfillSupport;R?.(S,O),(t.litHtmlVersions??=[]).push("3.3.2");const N=(t,e,r)=>{const o=r?.renderBefore??e;let n=o._$litPart$;if(void 0===n){const t=r?.renderBefore??null;o._$litPart$=n=new O(e.insertBefore(d(),t),t,void 0,r??{})}return n._$AI(t),n},E={resolveDirective:_.V,ElementPart:_.F,TemplateInstance:_.R,isIterable:_.D,ChildPart:_.I},H=1,M=2,D=3,U=5,j=6,W=t=>(...e)=>({_$litDirective$:t,values:e});let Z=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};const{I:q}=_,G=t=>t,X=t=>void 0===t.strings,J=()=>document.createComment(""),K=(t,e,r)=>{const o=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===r){const e=o.insertBefore(J(),n),i=o.insertBefore(J(),n);r=new q(e,i,t,t.options)}else{const e=r._$AB.nextSibling,i=r._$AM,a=i!==t;if(a){let e;r._$AQ?.(t),r._$AM=t,void 0!==r._$AP&&(e=t._$AU)!==i._$AU&&r._$AP(e)}if(e!==n||a){let t=r._$AA;
1for(;t!==e;){const e=G(t).nextSibling;G(o).insertBefore(t,n),t=e}}}return r},Q=(t,e,r=t)=>(t._$AI(e,r),t),Y={},tt=t=>{t._$AR(),t._$AA.remove()},{TemplateInstance:et,isIterable:rt,resolveDirective:ot,ChildPart:nt,ElementPart:it}=E,at=(t,e,r,o)=>{let n,i;if(0===r.length)i=new nt(e,null,void 0,o),n=t;else{const t=r[r.length-1];if("template-instance"===t.type)i=new nt(e,null,t.instance,o),t.instance._$AV.push(i),n=t.result.values[t.instancePartIndex++],t.templatePartIndex++;else if("iterable"===t.type){i=new nt(e,null,t.part,o);const r=t.iterator.next();if(r.done)throw n=void 0,t.done=!0,Error("Unhandled shorter than expected iterable");n=r.value,t.part._$AH.push(i)}else i=new nt(e,null,t.part,o)}if(n=ot(i,n),n===C)r.push({part:i,type:"leaf"});else if((t=>null===t||"object"!=typeof t&&"function"!=typeof t)(n))r.push({part:i,type:"leaf"}),i._$AH=n;else if((t=>void 0!==t?._$litType$)(n)){if((t=>null!=t?._$litType$?.h)(n))throw Error("compiled templates are not supported");const t="lit-part "+ct(n);if(e.data!==t)throw Error("Hydration value mismatch: Unexpected TemplateResult rendered to part");{const t=nt.prototype._$AC(n),e=new et(t,i);r.push({type:"template-instance",instance:e,part:i,templatePartIndex:0,instancePartIndex:0,result:n}),i._$AH=e}}else rt(n)?(r.push({part:i,type:"iterable",value:n,iterator:n[Symbol.iterator](),done:!1}),i._$AH=[]):(r.push({part:i,type:"leaf"}),i._$AH=n??"");return i},st=(t,e,r)=>{if(void 0===e)throw Error("unbalanced part marker");e._$AB=t;const o=r.pop();if("iterable"===o.type&&!o.iterator.next().done)throw Error("unexpected longer than expected iterable");if(r.length>0)return r[r.length-1].part},lt=(t,e,r)=>{const o=/lit-node (\d+)/.exec(t.data),n=parseInt(o[1]),i=t.nextElementSibling;if(null===i)throw Error("could not find node for attribute parts");i.removeAttribute("defer-hydration");const a=e[e.length-1];if("template-instance"!==a.type)throw Error("Hydration value mismatch: Primitive found where TemplateResult expected. This usually occurs due to conditional rendering that resulted in a different value or template being rendered between the server and client.");{const t=a.instance;for(;;){const e=t._$AD.parts[a.templatePartIndex];if(void 0===e||e.type!==H&&e.type!==j||e.index!==n)break;if(e.type===H){const o=new e.ctor(i,e.name,e.strings,a.instance,r),n=X(o)?a.result.values[a.instancePartIndex]:a.result.values,s=!(o.type===U||o.type===D);o._$AI(n,o,a.instancePartIndex,s),a.instancePartIndex+=e.strings.length-1,t._$AV.push(o)}else{const e=new it(i,a.instance,r);ot(e,a.result.values[a.instancePartIndex++]),t._$AV.push(e)}a.templatePartIndex++}}},dt=new WeakMap,ct=t=>{let e=dt.get(t.strings);if(void 0!==e)return e;const r=new Uint32Array(2).fill(5381);for(const e of t.strings)for(let t=0;t<e.length;t++)r[t%2]=33*r[t%2]^e.charCodeAt(t);const o=String.fromCharCode(...new Uint8Array(r.buffer));return e=btoa(o),dt.set(t.strings,e),e};globalThis.litElementHydrateSupport=({LitElement:t})=>{const e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"observedAttributes").get;Object.defineProperty(t,"observedAttributes",{get(){return[...e.call(this),"defer-hydration"]}});const r=t.prototype.attributeChangedCallback;t.prototype.attributeChangedCallback=function(t,e,n){"defer-hydration"===t&&null===n&&o.call(this),r.call(this,t,e,n)};const o=t.prototype.connectedCallback;t.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||o.call(this)};const n=t.prototype.createRenderRoot;t.prototype.createRenderRoot=function(){return this.shadowRoot?(this._$AG=!0,this.shadowRoot):n.call(this)};const i=Object.getPrototypeOf(t.prototype).update;t.prototype.update=function(t){const e=this.render();if(i.call(this,t),this._$AG){this._$AG=!1;for(const t of this.getAttributeNames())if(t.startsWith("hydrate-internals-")){const e=t.slice(18);this.removeAttribute(e),this.removeAttribute(t)}((t,e,r={})=>{if(void 0!==e._$litPart$)throw Error("container already contains a live render");let o,n,i;const a=[],s=document.createTreeWalker(e,NodeFilter.SHOW_COMMENT);let l;for(;null!==(l=s.nextNode());){const e=l.data;
vendor: 4,706 bytes, line 1
1if(e.startsWith("lit-part")){if(0===a.length&&void 0!==o)throw Error(`There must be only one root part per container. Found a part marker (${l}) when we already have a root part marker (${n})`);i=at(t,l,a,r),void 0===o&&(o=i),n??=l}else if(e.startsWith("lit-node"))lt(l,a,r);else if(e.startsWith("/lit-part")){if(1===a.length&&i!==o)throw Error("internal error");i=st(l,i,a)}}if(void 0===o){const t=e instanceof ShadowRoot?"{container.host.localName}'s shadow root":e instanceof DocumentFragment?"DocumentFragment":e.localName;console.error(`There should be exactly one root part in a render container, but we didn't find any in ${t}.`)}e._$litPart$=o})(e,this.renderRoot,this.renderOptions)}else N(e,this.renderRoot,this.renderOptions)}};const ht=globalThis,ft=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),gt=new WeakMap;let ut=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(ft&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=gt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&gt.set(e,t))}return t}toString(){return this.cssText}};const zt=t=>new ut("string"==typeof t?t:t+"",void 0,pt),mt=(t,...e)=>{const r=1===t.length?t[0]:e.reduce((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1],t[0]);return new ut(r,t,pt)},bt=ft?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return zt(e)})(t):t,{is:vt,defineProperty:xt,getOwnPropertyDescriptor:yt,getOwnPropertyNames:Ct,getOwnPropertySymbols:wt,getPrototypeOf:kt}=Object,Ft=globalThis,$t=Ft.trustedTypes,St=$t?$t.emptyScript:"",Bt=Ft.reactiveElementPolyfillSupport,Tt=(t,e)=>t,Ot={toAttribute(t,e){switch(e){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},At=(t,e)=>!vt(t,e),Lt={attribute:!0,type:String,converter:Ot,reflect:!1,useDefault:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),Ft.litPropertyMetadata??=new WeakMap;let It=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Lt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&xt(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:n}=yt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:o,set(e){const i=o?.call(this);n?.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Tt("elementProperties")))return;const t=kt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Tt("properties"))){const t=this.properties,e=[...Ct(t),...wt(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(bt(t))}else void 0!==t&&e.push(bt(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}
vendor: 4,409 bytes, line 1
1removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(ft)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const r of e){const e=document.createElement("style"),o=ht.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=r.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ET(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:Ot).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ot;this._$Em=o;const i=n.fromAttribute(e,t.type);this[o]=i??this._$Ej?.get(o)??i,this._$Em=null}}requestUpdate(t,e,r,o=!1,n){if(void 0!==t){const i=this.constructor;if(!1===o&&(n=this[t]),r??=i.getPropertyOptions(t),!((r.hasChanged??At)(n,e)||r.useDefault&&r.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,r))))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:r,reflect:o,wrapped:n},i){r&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),!0!==n||void 0!==i)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t){const{wrapped:t}=r,o=this[e];!0!==t||this._$AL.has(e)||void 0===o||this.C(e,void 0,r,o)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Tt("elementProperties")]=new Map,It[Tt("finalized")]=new Map,Bt?.({ReactiveElement:It}),(Ft.reactiveElementVersions??=[]).push("2.1.2");const Vt=globalThis;let Pt=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=N(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return C}};Pt._$litElement$=!0,Pt.finalized=!0,Vt.litElementHydrateSupport?.({LitElement:Pt});const _t=Vt.litElementPolyfillSupport;_t?.({LitElement:Pt}),(Vt.litElementVersions??=[]).push("4.2.2");const Rt=new class{constructor(){this.isEnable=!1,this.isEnable=this.#t()}debug(t,...e){this.#e(console.debug,t,...e)}error(t,...e){this.#e(console.error,t,...e)}log(t,...e){this.#e(console.log,t,...e)}trace(t,...e){this.#e(console.trace,t,...e)}warn(t,...e){this.#e(console.warn,t,...e)}
1#e(t,e,...r){this.isEnable&&t("[Affilizz component]",this.#r(e)??"",...r)}#r(t){return t?t.tagName.startsWith("AFFILIZZ-")||t.tagName.startsWith("AZZ-")?t:t.parentElement?this.#r(t.parentElement):t:t}#t(){try{return"undefined"!=typeof window&&window.localStorage&&"true"===window.localStorage.getItem("AFFILIZZ_DEBUG")}catch{return!1}}},Nt="__AFFILIZZ_HYDRATION_RECOVERY__";let Et;function Ht(t){const e=t instanceof Error?t.message:String(t);return/hydration|hydrate|lit-part|childpart|templateinstance|unexpected node|marker/i.test(e)}function Mt(t,e,r,o){var n,i=arguments.length,a=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,r,a):n(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}"function"==typeof SuppressedError&&SuppressedError;const Dt=t=>(e,r)=>{void 0!==r?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)},Ut={attribute:!0,type:String,converter:Ot,reflect:!1,hasChanged:At},jt=(t=Ut,e,r)=>{const{kind:o,metadata:n}=r;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),"setter"===o&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),"accessor"===o){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t,!0,r)},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===o){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t,!0,r)}}throw Error("Unsupported decorator location: "+o)};function Wt(t){return(e,r)=>"object"==typeof r?jt(t,e,r):((t,e,r)=>{const o=e.hasOwnProperty(r);return e.constructor.createProperty(r,t),o?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}function Zt(t){return Wt({...t,state:!0,attribute:!1})}function qt(t,e){return(e,r,o)=>((t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r))(e,r,{get(){return(e=>e.renderRoot?.querySelector(t)??null)(this)}})}class Gt{#o;#n;constructor(t,e){this.#o=t,this.#n=e}initTracking(){console.debug("Tracking initialized"),document.addEventListener("click",this.#i.bind(this),!1),document.addEventListener("contextmenu",this.#i.bind(this),!1)}#i(t){const e=t.composedPath?t.composedPath():[],r=[t.target,...e].find(t=>t&&"A"===t.nodeName);if(!r)return;const o="contextmenu"===t.type,n=2===t.button;if(!o&&n)return;const i=this.#o(r),a=r.href;i&&a!==i&&(r.href=i,this.#n?.(t,r,i),window.setTimeout(()=>{r&&(r.href=a)},o?15e3:500))}}function Xt(){let t=document.querySelector('meta[property="og:url"]')?.content;return t&&t.startsWith("/")&&(t=window.location.origin+t),t&&t.startsWith("http")||(t=window.location.href.split("#")[0]),t}function Jt(t,e,r){const o=e.getAttribute("data-offer"),n=o?JSON.parse(o):{},{offerId:i,price:a,currency:s,shopName:l,stock:d,marketplace:c,condition:h,specialPrice:f,promoCode:p,productBrand:g,productName:u}=n,z={detail:{condition:h,currency:s,marketplace:c,offerId:i,price:a,productBrand:g,productName:u,promoCode:p,shopName:l,specialPrice:f,stock:d,url:r},bubbles:!0,composed:!0};e.dispatchEvent(new CustomEvent("affilizz-link-click",z))}const Kt="redirect.affilizz.com";function Qt(t){const e=+t;if(!isNaN(e))return e}function Yt(t){if("string"==typeof t)return t}function te(t){return"string"==typeof t?t:"object"==typeof t&&t.name?t.name:void 0}function ee(){const t=document.querySelector('meta[name="description"], meta[property="og:description"]'),e=t?.getAttribute("content");return e||void 0}function re(){return document.querySelector('meta[name="affilizz-media"]')?.getAttribute("content")||void 0}function oe(){if("undefined"!=typeof document)return document.querySelector('meta[name="page-session-id"]')?.getAttribute("content")||void 0}const ne=["63ca7b683f695e2b0bfc753c","63ca78d87e89be682a4921ff","63ca7ce97e89be682a49220d"],ie=["primevideo.com","www.primevideo.com","amazon.com","www.amazon.com","amazon.fr","www.amazon.fr"];let ae=!1,se={allowedDomains:[],subtag:!1};function le(t){const e=t.href;if(!e)return e;try{const t=new URL(e,window.location.href);if([Kt,...se.allowedDomains].includes(t.host))return t.searchParams.set("location",window.location.href),se.subtag&&t.searchParams.set("subtag",crypto.randomUUID()),t.toString();const r=re();return r&&ne.includes(r)&&ie.includes(t.host)?function(t){const e=new URL(`https://${Kt}/r`);return t.tagIds?.length&&e.searchParams.set("azztag",t.tagIds.join(",")),e.searchParams.set("u",t.sourceUrl),e.searchParams.set("m",t.mediaId),e.searchParams.set("l",Xt()),e.toString()}({sourceUrl:e,mediaId:r}):e}catch(t){return e}}class de{static{this.CACHE_DURATION=3e5}static{this.PURGE_INTERVAL=6e4}static{this.lastPurgeAt=0}static{this.resultById=new Map}static{this.PAGE_SESSION_ID=oe()||crypto.randomUUID()}static getRenderByPublicationContentId(t,e,r=!0,o="",n=!0,i){const a=`${o}/render/${t}`;let s=t;const l=new URLSearchParams;return e&&(l.set("designId",e),s+=`:${e}`),this._getRender(s,a,n,r,l,i)}static getRenderByContentContainerId(t,e,r=!0,o="",n=!0,i){const a=`${o}/render/contentContainer`;let s=t;const l=new URLSearchParams;return l.set("contentContainerId",t),e&&(l.set("designId",e),s+=`:${e}`),this._getRender(s,a,n,r,l,i)}static getRenderByContentContainerTinyCode(t,e,r=!0,o="",n=!0,i){const a=`${o}/render/contentContainer`;let s=t;const l=new URLSearchParams;return l.set("contentContainerTinyCode",t),e&&(l.set("designId",e),s+=`:${e}`),this._getRender(s,a,n,r,l,i)}static getPageRenderByPublicationId(t,e=!0,r="",o=!0,n){const i=`${r}/render/page`,a=new URLSearchParams;return a.set("publicationId",t),this._getRender(t,i,o,e,a,n)}static getPageRenderByPublicationTinyCode(t,e=!0,r="",o=!0,n){const i=`${r}/render/page`,a=new URLSearchParams;return a.set("publicationTinyCode",t),this._getRender(t,i,o,e,a,n)}static getRenderByCatalog(t,e=!0,r="",o=!0,n){const i=`${r}/render/catalog`,a=new URLSearchParams;for(const e in t){const r=t[e];if(null!=r){if(r.startsWith("[")&&r.endsWith("]"))try{const t=JSON.parse(r);if(Array.isArray(t)){t.forEach(t=>{a.append(`${e}[]`,t)});continue}}catch{}a.set(e,r)}}return this._getRender(t,i,o,e,a,n)}static getRenderByWebComponent(t,e,r="",o=!0,n){const i=`${r}/render/webComponent`;return this._getRender(t.toString(),i,o,e,t,n)}static getRenderByMagicMatch(t,e,r="",o=!0,n){const i=`${r}/render/magicMatch`;return this._getRender(t.toString(),i,o,e,t,n)}static getRenderByContext(t,e,r="",o=!0,n){const i=`${r}/render/context`,a=new URLSearchParams;return["designId","mediaId","title","description","keywords"].filter(e=>
1"string"==typeof t[e]).forEach(e=>{a.set(e,t[e].toString())}),(t.categories||[]).forEach(t=>{a.append("categories[]",t)}),(t.products||[]).forEach((t,e)=>{Object.keys(t).filter(e=>!!t[e]).forEach(r=>{a.set(`products[${e}].${r}`,t[r].toString())})}),this._getRender(t,i,o,e,a,n)}static _getRender(t,e,r,o,n,i){const a=JSON.stringify(t);if(de.purgeStaleEntries(),o){const t=de.resultById.get(a);if(t&&t.date.getTime()>Date.now()-de.CACHE_DURATION)return de.linkConsumer(a,t,i),t.promise}let s="";s=Xt();const l=new URLSearchParams(n);l.set("cacheDisabled",r?"false":"true"),l.set("location",s),l.set("sessionId",de.PAGE_SESSION_ID);const d=new AbortController,c=fetch(e,{method:"POST",body:l,headers:{"content-type":"application/x-www-form-urlencoded"},signal:d.signal}).then(t=>{if(t.ok){const r=t.headers.get("content-type");if(r&&-1!==r.indexOf("application/json"))return t.json();Rt.error(null,`Error while parsing render response from ${e}`,t)}else Rt.error(null,`Response not ok while trying to get ${e}`,t);return null}).catch(t=>{if(d.signal.aborted)throw t;return Rt.error(null,`Error while trying to get ${e}`,t),null}),h={date:new Date,promise:c,controller:d,signals:new Set,uncancellable:!1};return o&&(de.resultById.set(a,h),c.then(t=>{t||de.evict(a,h)},()=>de.evict(a,h))),de.linkConsumer(a,h,i),c}static linkConsumer(t,e,r){if(!e.uncancellable)return r?void(r.aborted||e.signals.has(r)||(e.signals.add(r),r.addEventListener("abort",()=>{e.signals.delete(r),e.uncancellable||0!==e.signals.size||(e.controller.abort(r.reason),de.evict(t,e))},{once:!0}))):(e.uncancellable=!0,void e.signals.clear())}static evict(t,e){de.resultById.get(t)===e&&de.resultById.delete(t)}static purgeStaleEntries(){const t=Date.now();if(t-de.lastPurgeAt<de.PURGE_INTERVAL)return;de.lastPurgeAt=t;const e=t-de.CACHE_DURATION;for(const[t,r]of de.resultById)r.date.getTime()<=e&&de.resultById.delete(t)}}const ce=1,he=Symbol();let fe=class{get taskComplete(){return this.t||(1===this.i?this.t=new Promise((t,e)=>{this.o=t,this.h=e}):3===this.i?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,e,r){this.p=0,this.i=0,(this._=t).addController(this);const o="object"==typeof e?e:{task:e,args:r};this.v=o.task,this.j=o.args,this.m=o.argsEqual??pe,this.k=o.onComplete,this.A=o.onError,this.autoRun=o.autoRun??!0,"initialValue"in o&&(this.u=o.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){!0===this.autoRun&&this.S()}hostUpdated(){"afterUpdate"===this.autoRun&&this.S()}T(){if(void 0===this.j)return;const t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){const t=this.T(),e=this.O;this.O=t,t===e||void 0===t||void 0!==e&&this.m(e,t)||await this.run(t)}async run(t){let e,r;t??=this.T(),this.O=t,1===this.i?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,"afterUpdate"===this.autoRun?queueMicrotask(()=>this._.requestUpdate()):this._.requestUpdate();const o=++this.p;this.q=new AbortController;let n=!1;try{e=await this.v(t,{signal:this.q.signal})}catch(t){n=!0,r=t}if(this.p===o){if(e===he)this.i=0;else{if(!1===n){try{this.k?.(e)}catch{}this.i=2,this.o?.(e)}else{try{this.A?.(r)}catch{}this.i=3,this.h?.(r)}this.u=e,this.l=r}this._.requestUpdate()}}abort(t){1===this.i&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}};const pe=(t,e)=>t===e||t.length===e.length&&t.every((t,r)=>!At(t,e[r]));function ge(t,e,r){return t?e(t):r?.(t)}const ue="2.2.0",ze="https://render.api.affilizz.com/api/v1",me="https://redirect.affilizz.com",be="https://fliz.ly/",ve=["affilizz.com","azz.ninja","r.azz.ninja","fliz.ly","urlredir.ouest-france.fr"];const xe=function(t){if(t)try{return new URL(t).host.split(".").slice(-2).join(".")}catch(t){return}}(document?.currentScript?.getAttribute("src")??void 0);function ye(){return xe}function Ce(){const t=ye();return!ke(t)||Fe(t)?be:`https://r.${t}/`}function we(){const t=ye();return!ke(t)||Fe(t)?ze:`https://render.${t}/api/v1`}function ke(t){return!!t&&ve.includes(t)}function Fe(t){return"affilizz.com"===t}var $e=Array.isArray,Se="object"==typeof global&&global&&global.Object===Object&&global,Be="object"==typeof self&&self&&self.Object===Object&&self,Te=Se||Be||Function("return this")(),Oe=Te.Symbol,Ae=Object.prototype,Le=Ae.hasOwnProperty,Ie=Ae.toString,Ve=Oe?Oe.toStringTag:void 0,Pe=Object.prototype.toString,_e=Oe?Oe.toStringTag:void 0;
1function Re(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":_e&&_e in Object(t)?function(t){var e=Le.call(t,Ve),r=t[Ve];try{t[Ve]=void 0;var o=!0}catch(t){}var n=Ie.call(t);return o&&(e?t[Ve]=r:delete t[Ve]),n}(t):function(t){return Pe.call(t)}(t)}function Ne(t){return"symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&"[object Symbol]"==Re(t)}var Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,He=/^\w*$/;function Me(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var De,Ue=Te["__core-js_shared__"],je=(De=/[^.]+$/.exec(Ue&&Ue.keys&&Ue.keys.IE_PROTO||""))?"Symbol(src)_1."+De:"",We=Function.prototype.toString,Ze=/^\[object .+?Constructor\]$/,qe=Function.prototype,Ge=Object.prototype,Xe=qe.toString,Je=Ge.hasOwnProperty,Ke=RegExp("^"+Xe.call(Je).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qe(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){if(!Me(t)||je&&je in t)return!1;var e=function(t){if(!Me(t))return!1;var e=Re(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}(t)?Ke:Ze;return e.test(function(t){if(null!=t){try{return We.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}(r)?r:void 0}var Ye=Qe(Object,"create"),tr=Object.prototype.hasOwnProperty,er=Object.prototype.hasOwnProperty;function rr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}function or(t,e){return t===e||t!=t&&e!=e}function nr(t,e){for(var r=t.length;r--;)if(or(t[r][0],e))return r;return-1}rr.prototype.clear=function(){this.__data__=Ye?Ye(null):{},this.size=0},rr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},rr.prototype.get=function(t){var e=this.__data__;if(Ye){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return tr.call(e,t)?e[t]:void 0},rr.prototype.has=function(t){var e=this.__data__;return Ye?void 0!==e[t]:er.call(e,t)},rr.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Ye&&void 0===e?"__lodash_hash_undefined__":e,this};var ir=Array.prototype.splice;function ar(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}ar.prototype.clear=function(){this.__data__=[],this.size=0},ar.prototype.delete=function(t){var e=this.__data__,r=nr(e,t);return!(r<0||(r==e.length-1?e.pop():ir.call(e,r,1),--this.size,0))},ar.prototype.get=function(t){var e=this.__data__,r=nr(e,t);return r<0?void 0:e[r][1]},ar.prototype.has=function(t){return nr(this.__data__,t)>-1},ar.prototype.set=function(t,e){var r=this.__data__,o=nr(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};var sr=Qe(Te,"Map");function lr(t,e){var r,o,n=t.__data__;return("string"==(o=typeof(r=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function dr(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}function cr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=e?e.apply(this,o):o[0],i=r.cache;if(i.has(n))return i.get(n);var a=t.apply(this,o);return r.cache=i.set(n,a)||i,a};return r.cache=new(cr.Cache||dr),r}dr.prototype.clear=function(){this.size=0,this.__data__={hash:new rr,map:new(sr||ar),string:new rr}},dr.prototype.delete=function(t){var e=lr(this,t).delete(t);return this.size-=e?1:0,e},dr.prototype.get=function(t){return lr(this,t).get(t)},dr.prototype.has=function(t){return lr(this,t).has(t)},dr.prototype.set=function(t,e){var r=lr(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this},cr.Cache=dr;var hr,fr,pr,gr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ur=/\\(\\)?/g,zr=(hr=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(gr,function(t,r,o,n){e.push(o?n.replace(ur,"$1"):r||t)}),e},fr=cr(hr,function(t){return 500===pr.size&&pr.clear(),t}),pr=fr.cache,fr),mr=Oe?Oe.prototype:void 0,br=mr?mr.toString:void 0;function vr(t){if("string"==typeof t)return t;if($e(t))return function(t,e){for(var r=-1,o=null==t?0:t.length,n=Array(o);++r<o;)n[r]=e(t[r],r,t);return n}(t,vr)+"";if(Ne(t))return br?br.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function xr(t,e){return $e(t)?t:function(t,e){if($e(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!Ne(t))||He.test(t)||!Ee.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:zr(function(t){return null==t?"":vr(t)}(t))}function yr(t){if("string"==typeof t||Ne(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Cr(t,e,r){var o=null==t?void 0:function(t,e){for(var r=0,o=(e=xr(e,t)).length;null!=t&&r<o;)t=t[yr(e[r++])];return r&&r==o?t:void 0}(t,e);return void 0===o?r:o}var wr=new Map([["en",{CTA:{"see-offer":"See the ${contentPrice} offer at ${contentMerchant}"},CARD:{"offer-button":"${offerPrice} at ${offerMerchant}","offer-button-fallback":"See offer"},BOX:{"see-offer":"See offer"},mentions:{"provided-by":"The service is provided by",CARD:{button:"Card operation",content:"The price offers are listed in order of priority depending on the price and relevance of the offers. The prices displayed are inclusive of all taxes. The shipping price displayed corresponds to the cheapest home delivery offered by the merchant.\nThe cards list merchants who wish to be listed, provided that they display prices including VAT (all taxes included) and present an excellent level of service quality and customer satisfaction. This listing is subject to a fee. The cards are therefore not exhaustive of all the offers and merchants present on the market. The offers in the cards are updated daily and several times a day for certain shops."},BOX:{button:"Price table operation",content:"The price offers are listed in order of priority depending on the price and relevance of the offers. The prices displayed are inclusive of all taxes. The shipping price displayed corresponds to the cheapest home delivery offered by the merchant.\nThe price tables list merchants who wish to be listed, provided that they display prices including VAT (all taxes included) and present an excellent level of service quality and customer satisfaction. This listing is subject to a fee. The price tables are therefore not exhaustive of all the offers and merchants present on the market. The offers in the price tables are updated daily and several times a day for certain shops."},CAROUSEL:{button:"Carousel operation",content:"The price offers are listed in order of priority depending on the price and relevance of the offers. The prices displayed are inclusive of all taxes. The shipping price displayed corresponds to the cheapest home delivery offered by the merchant.\nThe carousels list merchants who wish to be listed, provided that they display prices including VAT (all taxes included) and present an excellent level of service quality and customer satisfaction. This listing is subject to a fee. The carousels are therefore not exhaustive of all the offers and merchants present on the market. The offers in the carousels are updated daily and several times a day for certain shops."}},merchants:"Merchants",stock:"Stock",price:"Price","is-stock":"stock","no-stock":"no stock","no-offer":"Currently Out of Stock","merchant-search-fallback":"See available offers",condition:{USED:"Used",NEW:"New",REFURBISHED:"Refurbished"},"see-less":"See less","see-more":"See more","more-offers":"See more offers","less-offers":"See less offers",pros:"pros",cons:"cons","code-copied":"Copied!","carousel-previous":"Previous item","carousel-next":"Next item"}],["fr",{CTA:{"see-offer":"Voir l'offre chez ${contentMerchant} à ${contentPrice}"},CARD:{"offer-button":"${offerPrice} chez ${offerMerchant}","offer-button-fallback":"Voir l'offre"},BOX:{"see-offer":"Voir l'offre"},mentions:{"provided-by":"Le service est assuré par",CARD:{button:"Fonctionnement de la carte",content:"Les offres de prix sont listées selon un ordre de priorité dépendant du prix et de la pertinence des offres. Les prix affichés sont TTC (toutes taxes comprises). Le prix de frais de port affiché correspond à la livraison à domicile la moins chère proposée par le marchand.\nLes cartes référencent les marchands qui souhaitent y être présents à condition d'afficher des prix avec TVA (TTC - toutes taxes comprises) et de présenter un excellent niveau de qualité de service et de satisfaction client. Ce référencement est payant. Les cartes ne sont donc pas exhaustives sur l'ensemble des offres et des marchands présents sur le marché. Les offres présentes dans les cartes sont actualisées quotidiennement et plusieurs fois par jour pour certaines boutiques."},BOX:{button:"Fonctionnement du tableau de prix",content:"Les offres de prix sont listées selon un ordre de priorité dépendant du prix et de la pertinence des offres. Les prix affichés sont TTC (toutes taxes comprises). Le prix de frais de port affiché correspond à la livraison à domicile la moins chère proposée par le marchand.\nLes tableaux de prix référencent les marchands qui souhaitent y être présents à condition d'afficher des prix avec TVA (TTC - toutes taxes comprises) et de présenter un excellent niveau de qualité de service et de satisfaction client. Ce référencement est payant. Les tableaux de prix ne sont donc pas exhaustifs sur l'ensemble des offres et des marchands présents sur le marché. Les offres présentes dans les tableaux de prix sont actualisées quotidiennement et plusieurs fois par jour pour certaines boutiques."},CAROUSEL:{button:"Fonctionnement du carrousel",content:"Les offres de prix sont listées selon un ordre de priorité dépendant du prix et de la pertinence des offres. Les prix affichés sont TTC (toutes taxes comprises). Le prix de frais de port affiché correspond à la livraison à domicile la moins chère proposée par le marchand.\nLes carrousels référencent les marchands qui souhaitent y être présents à condition d'afficher des prix avec TVA (TTC - toutes taxes comprises) et de présenter un excellent niveau de qualité de service et de satisfaction client. Ce référencement est payant. Les carrousels ne sont donc pas exhaustifs sur l'ensemble des offres et des marchands présents sur le marché. Les offres présentes dans les carrousels sont actualisées quotidiennement et plusieurs fois par jour pour certaines boutiques."}},merchants:"Marchands",stock:"Stock",price:"Prix","is-stock":"en stock","no-stock":"pas de stock","no-offer":"Actuellement en rupture de stock","merchant-search-fallback":"Voir les offres disponibles",condition:{USED:"Occasion",NEW:"Neuf",REFURBISHED:"Reconditionné"},"see-less":"Voir moins","see-more":"Voir plus","more-offers":"Voir plus d'offres","less-offers":"Voir moins d'offres",pros:"pour",cons:"contre","code-copied":"Copié !","carousel-previous":"Élément précédent","carousel-next":"Élément suivant"}]]);function kr(t,e){return wr.has(t)?t:e&&wr.has(e)?e:void 0}var Fr=function(t,e){return t};function $r(t){var e=kr(t.substring(0,2),"en");e?Fr=function(r,o){return function(t,e){var r,o,n,i=e.type?t.replaceAll("$type",e.type):t,a=null!==(r=e.debug)&&void 0!==r?r:console.debug,s=null!==(o=e.warn)&&void 0!==o?o:console.warn,l=kr(null!==(n=e.translationLocale)&&void 0!==n?n:e.locale,e.fallbackLocale),d=l?wr.get(l):void 0;if(!d)return s("No translation found for locale '".concat(e.locale,"'")),i;var c=Cr(d,i);if(c)return c;var h="".concat(i.substring(0,50)).concat(i.length>50?"...":"");return a("No translation found for path '".concat(h,"' and locale '").concat(e.locale,"'")),i}(r,{locale:t,translationLocale:e,type:o})}:console.debug("No translation found for locale '".concat(t,"'"))}var Sr=function(){return Sr=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},Sr.apply(this,arguments)};function Br(t,e,r){if(r||2===arguments.length)for(var o,n=0,i=e.length;n<i;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var Tr=function(){try{var t=Qe(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Or=Object.prototype.hasOwnProperty;function Ar(t,e,r){var o=t[e];Or.call(t,e)&&or(o,r)&&(void 0!==r||e in t)||function(t,e,r){"__proto__"==e&&Tr?Tr(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}(t,e,r)}var Lr=/^(?:0|[1-9]\d*)$/;function Ir(t,e){var r=typeof t;return!!(e=e??9007199254740991)&&("number"==r||"symbol"!=r&&Lr.test(t))&&t>-1&&t%1==0&&t<e}function Vr(t,e,r){return null==t?t:function(t,e,r){if(!Me(t))return t;for(var o=-1,n=(e=xr(e,t)).length,i=n-1,a=t;null!=a&&++o<n;){var s=yr(e[o]),l=r;if("__proto__"===s||"constructor"===s||"prototype"===s)return t;if(o!=i){var d=a[s];void 0===(l=void 0)&&(l=Me(d)?d:Ir(e[o+1])?[]:{})}Ar(a,s,l),a=a[s]}return t}(t,e,r)}var Pr,_r={offerListBehavior:"expand",offerListNbVisibleOffers:5,offerListHeaderVisible:!1,offerListStockVisible:!1,offerListPriceVisible:!0,offerListCrossedPriceVisible:!1,offerListCrossedPricePosition:"left",offerMerchantIconVisible:!0,offerMerchantTypeVisible:!0,offerMerchantTypeContent:"Marketplace",offerConditionVisible:!0,offerConditionUsedContent:"",offerConditionRefurbishedContent:"",offerButtonContent:"",offerButtonIconVisible:!1,offerButtonIconAppearance:"arrow_right",offerButtonIconPosition:"right",offerButtonContentHover:null,crossedPricePosition:"left",offerStockIconIsStockAppearance:"check",offerStockIconIsNotStockAppearance:"close",toggleVisible:!0,toggleContent:"",toggleShadowVisible:!1,toggleIconVisible:!0,toggleIconAppearance:"plus",toggleIconPosition:"right",toggleContentOpen:"",toggleIconAppearanceOpen:"minus",isRoundedPrice:!1,gdprContent:null,gdprButtonPosition:null,gdprButtonContent:null},Rr={offerListHeight:"300px",offerListMargin:"0px",offerListPadding:"5px",offerListBackgroun
1dColor:null,offerListBorderWidth:null,offerListBorderColor:"#000000",offerListBorderRadius:null,offerListColumnsProportions:"40% 30% 30%",offerListHeaderMargin:"5px",offerListHeaderPadding:"5px",offerListHeaderBackgroundColor:null,offerListHeaderBorderWidth:null,offerListHeaderBorderColor:"#000000",offerListHeaderBorderRadius:null,offerListHeaderFontFamily:null,offerListHeaderFontSize:"10px",offerListHeaderColor:null,offerListHeaderTextTransform:null,offerListHeaderFontWeight:null,offerListHeaderFontStyle:null,offerListHeaderTextDecoration:null,offerMargin:"5px",offerPadding:"5px",offerBackgroundColor:null,offerBorderWidth:"0px",offerBorderColor:"#CCCCCC",offerBorderRadius:null,offerBackgroundColorHover:null,offerBorderColorHover:"#CCCCCC",offerBackgroundColorCheapest:null,offerMerchantIconSpace:"4px",offerMerchantIconSize:"16px",offerMerchantPadding:null,offerMerchantFontFamily:null,offerMerchantFontSize:"14px",offerMerchantColor:null,offerMerchantFontWeight:null,offerMerchantFontStyle:null,offerMerchantTextTransform:"none",offerMerchantTextDecoration:null,offerMerchantTypePadding:"0px",offerMerchantTypeFontFamily:null,offerMerchantTypeFontSize:"10px",offerMerchantTypeColor:"#666",offerMerchantTypeFontWeight:null,offerMerchantTypeFontStyle:null,offerMerchantTypeTextTransform:"none",offerMerchantTypeTextDecoration:null,offerMerchantFontFamilyCheapest:null,offerMerchantFontSizeCheapest:null,offerMerchantColorCheapest:null,offerMerchantFontWeightCheapest:"bold",offerMerchantFontStyleCheapest:null,offerMerchantTextDecorationCheapest:null,offerStockIconSize:"12px",offerStockIconIsStockColor:null,offerStockIconIsNotStockColor:null,offerStockIconCheapestColor:null,offerPricePadding:null,offerPriceFontFamily:null,offerPriceFontSize:"16px",offerPriceColor:null,offerPriceFontWeight:null,offerPriceFontStyle:null,offerPriceTextDecoration:null,offerPriceTextAlign:"right",offerCrossedPricePadding:null,offerCrossedPriceFontFamily:null,offerCrossedPriceFontSize:"14px",offerCrossedPriceColor:null,offerCrossedPriceFontWeight:null,offerCrossedPriceFontStyle:null,offerCrossedPriceTextDecoration:null,offerCrossedPriceTextAlign:null,offerPriceFontFamilyCheapest:null,offerPriceFontSizeCheapest:null,offerPriceColorCheapest:null,offerPriceFontWeightCheapest:"bold",offerPriceFontStyleCheapest:null,offerPriceTextDecorationCheapest:null,offerPriceTextAlignCheapest:null,offerConditionPadding:null,offerConditionFontFamily:null,offerConditionFontSize:"10px",offerConditionColor:"#666",offerConditionFontWeight:null,offerConditionFontStyle:null,offerConditionTextDecoration:null,offerConditionTextAlign:"right",offerButtonMargin:"0 0 0 8px",offerButtonPadding:"4px",offerButtonBackgroundColor:null,offerButtonBorderWidth:null,offerButtonBorderColor:null,offerButtonBorderRadius:"20px",offerButtonFontFamily:null,offerButtonFontSize:"14px",offerButtonColor:"#FFFFFF",offerButtonFontWeight:null,offerButtonFontStyle:null,offerButtonTextTransform:"none",offerButtonTextDecoration:null,offerButtonTextAlign:"center",offerButtonIconSize:"12px",offerButtonIconColor:"#FFFFFF",offerButtonBackgroundColorHover:null,offerButtonBorderColorHover:null,offerButtonFontFamilyHover:null,offerButtonFontSizeHover:null,offerButtonColorHover:null,offerButtonFontWeightHover:null,offerButtonFontStyleHover:null,offerButtonTextDecorationHover:null,offerButtonTextAlignHover:null,offerButtonIconColorHover:null,toggleMargin:"8px 0px 0px 0px",togglePadding:"5px",toggleBackgroun
1dColor:null,toggleBorderWidth:null,toggleBorderColor:null,toggleBorderRadius:null,toggleFontFamily:null,toggleFontSize:"12px",toggleColor:null,toggleFontWeight:null,toggleFontStyle:null,toggleTextDecoration:null,toggleAlignment:"stretch",toggleShadowOffset:"0 4px",toggleShadowColor:"#CCCCCC99",toggleShadowBlur:"5px",toggleShadowSpread:"0",toggleBackgroundColorHover:null,toggleBorderColorHover:null,toggleFontFamilyOpen:null,toggleFontSizeOpen:null,toggleColorOpen:null,toggleFontWeightOpen:null,toggleFontStyleOpen:null,toggleTextDecorationOpen:null,toggleFontFamilyHover:null,toggleFontSizeHover:null,toggleColorHover:null,toggleFontWeightHover:null,toggleFontStyleHover:null,toggleTextDecorationHover:null,toggleIconSpace:"2px",toggleIconSize:"12px",toggleIconColor:null,toggleIconSizeOpen:null,toggleIconColorOpen:null,toggleIconSizeHover:null,toggleIconColorHover:null,gdprMargin:null,gdprPadding:null,gdprBackgroundColor:null,gdprBorderWidth:null,gdprBorderColor:null,gdprBorderRadius:null,gdprFontFamily:null,gdprFontSize:null,gdprColor:null,gdprFontWeight:null,gdprFontStyle:null,gdprTextDecoration:null,gdprTextAlign:null,crossedPriceTextColor:null,crossedPriceTextColorHover:null,crossedPriceTextFontSizeRatio:"80",crossedPriceSpacing:"8px",crossedPriceFontWeight:null,crossedPriceFontFamily:null,crossedPriceFontStyle:null},Nr=[{fieldOrigin:"cssVariables",fieldName:"offerListHeaderFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerListHeaderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"offerBackgroundColorCheapest",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerBackgroundColor"},{fieldOrigin:"cssVariables",fieldName:"offerMerchantFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerMerchantColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"offerMerchantColorCheapest",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"offerMerchantTypeFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerStockIconIsStockColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"offerStockIconIsNotStockColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerStockIconIsStockColor"},{fieldOrigin:"cssVariables",fieldName:"offerPriceFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerPriceColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"offerPriceColorCheapest",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"offerConditionFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerButtonFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerButtonBackgroundColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"offerButtonBackgroundColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"offerButtonBorderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"offerButtonBorderColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"offerButtonIconColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"offerCrossedPriceFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"offerCrossedPriceColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerPriceColor"}
1,{fieldOrigin:"cssVariables",fieldName:"crossedPriceTextColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerPriceColor"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceFontWeight",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerPriceFontWeight"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerButtonFontFamily"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceFontStyle",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"offerPriceFontStyle"},{fieldOrigin:"cssVariables",fieldName:"toggleFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"toggleFontFamilyOpen",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleFontFamily"},{fieldOrigin:"cssVariables",fieldName:"toggleFontFamilyHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleFontFamily"},{fieldOrigin:"cssVariables",fieldName:"toggleColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"toggleColorOpen",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleColor"},{fieldOrigin:"cssVariables",fieldName:"toggleColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleColor"},{fieldOrigin:"cssVariables",fieldName:"toggleIconColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleColor"}
1,{fieldOrigin:"cssVariables",fieldName:"toggleIconColorOpen",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleColorOpen"},{fieldOrigin:"cssVariables",fieldName:"toggleIconColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"toggleColorHover"}],Er=[{type:"DESKTOP",settings:{},cssVariables:{themePrimaryColor:"#1925F7",themeTextColor:"#000000"}},{type:"MOBILE",breakpointWidth:480,settings:{productImagePosition:"top",productImageSizing:"fixed",productImageWidth:"auto"},cssVariables:{productImageWidthPercent:"100%"}}],Hr={settings:Sr(Sr({boxShadowVisible:!1,titleVisible:!0,titlePosition:"top",titleContent:"",productImageVisible:!0,productImagePosition:"left",productImageSizing:"scaled",tabsPosition:"aboveOffers",tabsDisplay:"scroll"},_r),{gdprButtonPosition:"afterOffers",gdprButtonContent:"",gdprContent:""}),cssVariables:Sr(Sr({boxMargin:null,boxPadding:null,boxBackgroundColor:"#FFFFFF",boxBorderWidth:null,boxBorderColor:"#000000",boxBorderRadius:null,boxShadowOffset:"0 4px",boxShadowColor:"#CCCCCC99",boxShadowBlur:"5px",boxShadowSpread:"0",titleMargin:"16px",titlePadding:null,titleBackgroundColor:null,titleBorderWidth:null,titleBorderColor:"#000000",titleBorderRadius:null,titleFontFamily:null,titleFontSize:"20px",titleColor:null,titleFontWeight:"bold",titleFontStyle:"normal",titleTextTransform:"none",titleTextDecoration:"none",titleTextAlign:"left",titleLineHeight:"normal",productImageMargin:"10px",productImageBackgroundColor:null,productImageBorderWidth:null,productImageBorderColor:"#000000",productImageBorderRadius:null,productImageWidthPercent:"35%",productImageWidth:"200px",productImageHeight:"250px",productImageScale:"100%",productImageAlign:"center",productImageJustify:"center",tabsContainerMargin:"5px",tabsContainerPadding:"5px",tabsContainerBackgroundColor:null,tabsContainerBorderWidth:"0 0 1px 0",tabsContainerBorderColor:"#999999",tabsContainerBorderRadius:null,tabsMargin:"5px",tabsPadding:"5px",tabsBackgroundColor:null,tabsBorderWidth:null,tabsBorderColor:"#000000",tabsBorderRadius:null,tabsFontFamily:null,tabsFontSize:"12px",tabsColor:"#999999",tabsFontWeight:"normal",tabsFontStyle:"normal",tabsTextDecoration:"none",tabsTextAlign:"left",tabsBackgroundColorHover:null,tabsBorderColorHover:"#000000",tabsFontFamilyHover:null,tabsFontSizeHover:null,tabsColorHover:null,tabsFontWeightHover:null,tabsFontStyleHover:null,tabsTextDecorationHover:null,tabsTextAlignHover:null,tabsBackgroundColorActive:null,tabsBorderColorActive:null,tabsFontFamilyActive:null,tabsFontSizeActive:null,tabsColorActive:null,tabsFontWeightActive:null,tabsFontStyleActive:null,tabsTextDecorationActive:null,tabsTextAlignActive:null}
1,Rr),{gdprMargin:"5px",gdprPadding:"5px",gdprBackgroundColor:null,gdprBorderWidth:null,gdprBorderColor:"#000000",gdprBorderRadius:"4px",gdprFontFamily:null,gdprFontSize:"10px",gdprColor:null,gdprFontWeight:null,gdprFontStyle:null,gdprTextDecoration:null,gdprTextAlign:null,crossedPriceTextColor:null,crossedPriceTextColorHover:null,crossedPriceTextFontSizeRatio:"80",crossedPriceSpacing:"8px",crossedPriceFontWeight:null,crossedPriceFontFamily:null,crossedPriceFontStyle:null})},Mr=Br(Br([{fieldOrigin:"cssVariables",fieldName:"titleFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"titleColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"tabsFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"tabsColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"tabsColorActive",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"tabsBorderColorActive",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"tabsBorderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"tabsBorderColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"}],Nr,!0),[{fieldOrigin:"cssVariables",fieldName:"gdprFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"gdprColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"}],!1),Dr=[{type:"DESKTOP",settings:{},cssVariables:{themePrimaryColor:"#1925F7",themeTextColor:"#FFFFFF"}},{type:"MOBILE",breakpointWidth:480,settings:{},cssVariables:{}}],Ur=((Pr={settings:{buttonShadowVisible:!1,textContent:"",textContentHover:null,textEllipsis:!1,isRoundedPrice:!1,buttonIconLeftVisible:!1,buttonIconLeftAppearance:"arrow_left",buttonIconRightVisible:!1,buttonIconRightAppearance:"arrow_right",crossedPricePosition:"left",promoCodeContent:"${promocode}",promoCodeContentHover:null,promoCodeContentClicked:"",promoCodePosition:"bottomCenter",gdprButtonPosition:"bottomLeft",gdprButtonContent:"",gdprContent:""}}).cssVariables={buttonMargin:null,buttonPadding:"10px 32px 10px 32px",buttonBackgroundColor:null,buttonBackgroundColorHover:null,buttonPosition:"center",buttonBorderWidth:null,buttonBorderColor:null,buttonBorderColorHover:null,buttonBorderRadius:"50px",buttonShadowOffset:"0 4px",buttonShadowColor:"#CCCCCC99",buttonShadowBlur:"5px",buttonShadowSpread:"0",textColor:null,textFontFamily:null,textFontSize:"20px",textFontWeight:"bold",textFontStyle:"normal",textTextAlign:"center",textTextTransform:"none",textTextDecoration:"none",textLineHeight:"normal",textColorHover:null,textFontFamilyHover:null,textFontSizeHover:null,textFontWeightHover:null,textFontStyleHover:null,textTextAlignHover:null,textTextDecorationHover:null,textLineHeightHover:null,buttonIconLeftColor:null,buttonIconLeftSize:"16px",buttonIconLeftSpace:"2px",buttonIconLeftAlignment:"right",buttonIconLeftColorHover:null,buttonIconRightColor:null,buttonIconRightSize:"16px",buttonIconRightSpace:"2px",buttonIconRightAlignment:"left",buttonIconRightColorHover:null,promoCodePadding:"4px 2px 4px 2px",promoCodeOffsetY:"-6px",promoCodeOffsetX:"0",promoCodeBackgroundColor:null,promoCodeBorderWidth:null,promoCodeBorderColor:null,promoCodeBorderRadius:"12px",promoCodeTextColor:null,promoCodeTextFontSize:"12px",promoCodeTextFontWeight:"normal",promoCodeTextFontStyle:"normal",promoCodeTextFontFamily:null,promoCodeTextTextTransform:"none",promoCodeTextTextDecoration:"none",promoCodeTextLineHeight:"normal",promoCodeTextTextAlign:"center",promoCodeBackgroundColorHover:null,promoCodeBorderColorHover:null,promoCodeTextColorHover:null,promoCodeTextFontSizeHover:null,promoCodeTextFontWeightHover:null,promoCodeTextFontStyleHover:null,promoCodeTextFontFamilyHover:null,promoCodeTextTextTransformHover:null,promoCodeTextTextDecorationHover:null,promoCodeTextLineHeightHover:null,promoCodeTextTextAlignHover:null,promoCodeBackgroun
1dColorClicked:null,promoCodeBorderColorClicked:null,promoCodeTextColorClicked:null,promoCodeTextFontSizeClicked:null,promoCodeTextFontWeightClicked:null,promoCodeTextFontStyleClicked:null,promoCodeTextFontFamilyClicked:null,promoCodeTextTextTransformClicked:null,promoCodeTextTextDecorationClicked:null,promoCodeTextLineHeightClicked:null,promoCodeTextTextAlignClicked:null,gdprMargin:"5px",gdprPadding:"5px",gdprBackgroundColor:null,gdprBorderWidth:null,gdprBorderColor:"#000000",gdprBorderRadius:"4px",gdprFontFamily:null,gdprFontSize:"10px",gdprColor:null,gdprFontWeight:null,gdprFontStyle:null,gdprTextDecoration:null,gdprTextAlign:null,crossedPriceTextColor:null,crossedPriceTextColorHover:null,crossedPriceTextFontSizeRatio:"80",crossedPriceSpacing:"8px",crossedPriceFontWeight:null,crossedPriceFontFamily:null,crossedPriceFontStyle:null},Pr),jr=[{fieldOrigin:"cssVariables",fieldName:"textColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"textFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"buttonBackgroundColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"buttonBorderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"buttonBackgroundColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"buttonBorderColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"buttonIconLeftColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"buttonIconRightColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceTextColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"textColor"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceFontWeight",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"textFontWeight"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"textFontFamily"},{fieldOrigin:"cssVariables",fieldName:"crossedPriceFontStyle",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"textFontStyle"},{fieldOrigin:"cssVariables",fieldName:"promoCodeTextFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"promoCodeBorderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"promoCodeBackgroundColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"promoCodeBorderColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"promoCodeTextColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"}],Wr=[{type:"DESKTOP",settings:{},cssVariables:{themePrimaryColor:"#1925F7",themeTextColor:"#000000"}},{type:"MOBILE",breakpointWidth:480,settings:{productImagePosition:"top",cardNbColumns:"1",pointsNbColumns:"1"},cssVariables:{cardColumnsProportions:"100%"}}],Zr={settings:Sr(Sr({cardShadowVisible:!1,cardNbColumns:"2",titleVisible:!0,titleContent:"",tagVisible:!0,tagContent:"${cardTag}",descriptionVisible:!0,descriptionContent:"${cardDescription}",tagPosition:"aboveTitle",productImagePosition:"left",productImageSizing:"scaled",offerListType:"buttons"},_r),{offerListExpandable:!0,offerButtonContent:"",offerButtonIconVisible:!1,offerButtonIconAppearance:"arrow_right",offerButtonIconPosition:"right",offerButtonContentHover:null,offerListButtonTextEllipsis:!1,offerListNbVisibleOffers:3,toggleIconPosition:"left",gdprButtonPosition:"bottomLeft",gdprButtonContent:"",gdprContent:"",pointsVisible:!0,pointsNbColumns:"2",pointsTitleVisible:!0,pointsListTitleLeftContent:"",pointsListTitleRightContent:"",pointsPosition:"bottom",pointsListItemLeftIconAppearance:"plus-circle",pointsListItemLeftIconVisible:!0,pointsListItemRightIconAppearance:"minus-circle",pointsListItemRightIconVisible:!0}),cssVariables:Sr(Sr({cardColumnsAlignment:"start",cardMargin:null,cardPadding:"20px",cardBackgroun
1dColor:"#FFFFFF",cardBorderWidth:"1px",cardBorderColor:"#E5E5E5",cardBorderRadius:null,cardShadowOffset:"0 4px",cardShadowColor:"#CCCCCC99",cardShadowBlur:"5px",cardShadowSpread:"0",cardColumnsProportions:"50% 50%",titleMargin:"0px 0px 8px 0px",titlePadding:null,titleBackgroundColor:null,titleBorderWidth:null,titleBorderColor:"#000000",titleBorderRadius:null,titleFontFamily:null,titleFontSize:"20px",titleColor:null,titleFontWeight:"bold",titleFontStyle:"normal",titleTextTransform:"none",titleTextDecoration:"none",titleTextAlign:"left",titleLineHeight:"normal",tagMargin:"0px 0px 8px 0px",tagPadding:"4px",tagBackgroundColor:null,tagBorderWidth:"1px",tagBorderColor:null,tagBorderRadius:null,tagFontFamily:null,tagFontSize:"14px",tagColor:null,tagFontWeight:"bold",tagFontStyle:"normal",tagTextTransform:"none",tagTextDecoration:"none",tagTextAlign:"left",tagLineHeight:"normal",descriptionMargin:"0px 0px 8px 0px",descriptionPadding:null,descriptionBackgroundColor:null,descriptionBorderWidth:null,descriptionBorderColor:null,descriptionBorderRadius:null,descriptionFontFamily:null,descriptionFontSize:"14px",descriptionColor:null,descriptionFontWeight:"normal",descriptionFontStyle:"normal",descriptionTextTransform:"none",descriptionTextDecoration:"none",descriptionTextAlign:"left",descriptionLineHeight:"normal",productImageMargin:null,productImageBackgroundColor:null,productImageBorderWidth:null,productImageBorderColor:"#000000",productImageBorderRadius:null,productImageWidthPercent:"92%",productImageWidth:"auto",productImageHeight:"250px",productImageScale:"100%",productImageAlign:"start",productImageJustify:"center"},Rr),{offerButtonAlignment:"stretch",offerButtonMargin:"0 0 8px 0",offerButtonPadding:"10px",offerButtonBackgroundColor:null,offerButtonBorderWidth:null,offerButtonBorderColor:null,offerButtonBorderRadius:"8px",offerButtonFontFamily:null,offerButtonFontSize:"14px",offerButtonFontWeight:null,offerButtonFontStyle:null,offerButtonTextTransform:"none",offerButtonTextDecoration:null,offerButtonTextAlign:"center",offerButtonIconSize:"12px",offerButtonIconColor:"#FFFFFF",offerButtonIconAlign:"left",offerButtonBackgroundColorHover:null,offerButtonBorderColorHover:null,offerButtonFontFamilyHover:null,offerButtonFontSizeHover:null,offerButtonColorHover:null,offerButtonFontWeightHover:null,offerButtonFontStyleHover:null,offerButtonTextDecorationHover:null,offerButtonTextAlignHover:null,offerButtonIconColorHover:null,toggleAlignment:"center",toggleIconSpace:"4px",gdprMargin:"5px",gdprPadding:"5px",gdprBackgroun
1dColor:null,gdprBorderWidth:null,gdprBorderColor:"#000000",gdprBorderRadius:"4px",gdprFontFamily:null,gdprFontSize:"10px",gdprColor:null,gdprFontWeight:null,gdprFontStyle:null,gdprTextDecoration:null,gdprTextAlign:null,pointsListMargin:"10px 0px 0px 0px",pointsListPadding:null,pointsListBackgroundColor:null,pointsListBorderWidth:null,pointsListBorderColor:"#A9B1C8",pointsListBorderRadius:null,pointsListLeftMargin:null,pointsListItemLeftSpace:"4px",pointsListItemLeftMargin:"5px 0px 5px 0px",pointsListItemLeftPadding:null,pointsListItemLeftBackgroundColor:null,pointsListItemLeftBorderWidth:null,pointsListItemLeftBorderColor:"#A9B1C8",pointsListItemLeftBorderRadius:null,pointsListItemLeftIconSize:"16px",pointsListItemLeftIconSpace:"4px",pointsListItemLeftIconColor:"#1DD6A1",pointsListItemLeftFontFamily:null,pointsListItemLeftFontSize:"14px",pointsListItemLeftColor:null,pointsListItemLeftFontWeight:null,pointsListItemLeftFontStyle:null,pointsListItemLeftTextDecoration:null,pointsListItemLeftTextAlign:"left",pointsListItemLeftTextTransform:null,pointsListRightMargin:null,pointsListItemRightSpace:"4px",pointsListItemRightMargin:"5px 0px 5px 0px",pointsListItemRightPadding:null,pointsListItemRightBackgroun
1dColor:null,pointsListItemRightBorderWidth:null,pointsListItemRightBorderColor:"#A9B1C8",pointsListItemRightBorderRadius:null,pointsListItemRightIconSize:"16px",pointsListItemRightIconSpace:"4px",pointsListItemRightIconColor:"#E41F5A",pointsListItemRightFontFamily:null,pointsListItemRightFontSize:"14px",pointsListItemRightColor:null,pointsListItemRightFontWeight:null,pointsListItemRightFontStyle:null,pointsListItemRightTextDecoration:null,pointsListItemRightTextAlign:"left",pointsListItemRightTextTransform:null,pointsListTitleLeftMargin:"4px 0 8px 0",pointsListTitleLeftPadding:null,pointsListTitleLeftBackgroundColor:null,pointsListTitleLeftBorderWidth:null,pointsListTitleLeftBorderColor:null,pointsListTitleLeftBorderRadius:null,pointsListTitleLeftFontFamily:null,pointsListTitleLeftFontSize:"14px",pointsListTitleLeftColor:null,pointsListTitleLeftFontWeight:"bold",pointsListTitleLeftFontStyle:null,pointsListTitleLeftTextDecoration:null,pointsListTitleLeftTextAlign:"left",pointsListTitleLeftTextTransform:"uppercase",pointsListTitleRightMargin:"4px 0 8px 0",pointsListTitleRightPadding:null,pointsListTitleRightBackgroun
1dColor:null,pointsListTitleRightBorderWidth:null,pointsListTitleRightBorderColor:null,pointsListTitleRightBorderRadius:null,pointsListTitleRightFontFamily:null,pointsListTitleRightFontSize:"14px",pointsListTitleRightColor:null,pointsListTitleRightFontWeight:"bold",pointsListTitleRightFontStyle:null,pointsListTitleRightTextDecoration:null,pointsListTitleRightTextAlign:"left",pointsListTitleRightTextTransform:"uppercase",crossedPriceTextColor:null,crossedPriceTextColorHover:null,crossedPriceTextFontSizeRatio:"80",crossedPriceSpacing:"8px",crossedPriceFontWeight:null,crossedPriceFontFamily:null,crossedPriceFontStyle:null})},qr=Br(Br([{fieldOrigin:"cssVariables",fieldName:"titleFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"titleColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"tagFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"tagBackgroundColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"tagBorderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"descriptionFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"descriptionColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"pointsListBorderColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"pointsListItemLeftColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"pointsListItemRightColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"}],Nr,!0),[{fieldOrigin:"cssVariables",fieldName:"pointsListTitleLeftFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"pointsListTitleLeftColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"pointsListTitleRightFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"pointsListTitleRightColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"pointsListItemLeftFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"pointsListItemRightFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"gdprFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"gdprColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"}],!1),Gr={CARD:function(t){var e,r,o,n,i,a;return{settings:{titleVisible:null!==(e=t.settings.containableTitleVisible)&&void 0!==e?e:void 0,tagVisible:null!==(r=t.settings.containableTagVisible)&&void 0!==r?r:void 0,descriptionVisible:null!==(o=t.settings.containableDescriptionVisible)&&void 0!==o?o:void 0,offerListNbVisibleOffers:null!==(n=t.settings.containableNbVisibleOffers)&&void 0!==n?n:void 0,toggleVisible:null!==(i=t.settings.containableExpandButtonVisible)&&void 0!==i?i:void 0,pointsVisible:null!==(a=t.settings.containableArgumentListVisible)&&void 0!==a?a:void 0,gdprButtonHide:!0},cssVariables:{cardMargin:"0"}}},BOX:function(t){var e,r,o;return{settings:{titleVisible:null!==(e=t.settings.containableTitleVisible)&&void 0!==e?e:void 0,offerListNbVisibleOffers:null!==(r=t.settings.containableNbVisibleOffers)&&void 0!==r?r:void 0,toggleVisible:null!==(o=t.settings.containableExpandButtonVisible)&&void 0!==o?o:void 0,gdprButtonHide:!0},cssVariables:{boxMargin:"0"}}},CTA:function(t){return{}},LINK:function(t){return{}},CAROUSEL:function(t){return{}},PAGE:function(t){return{}},HTML:function(t){return{}},CONTAINER:function(t){return{}},LINK_ENRICHMENT:function(t){return{}}},Xr={},Jr=[{type:"DESKTOP",cssVariables:{themePrimaryColor:"#1925F7",themeTextColor:"#000000",themeFontFamily:"Roboto"},settings:{}},{type:"MOBILE",breakpointWidth:480,settings:{},cssVariables:{}}],Kr={settings:{containerShadowVisible:!1,itemShadowVisible:!1,buttonShadowVisible:!0,direction:"horizontal",itemSizeType:"fixed",titleVisible:!0,titleContent:"${carouselTitle}",scrollbarVisible:!0,navigationButtonsVisible:!0,navigationButtonIconAppearance:"arrow_right",navigationButtonShadowVisible:!1,expandButtonContent:null,expandButtonContentOpen:null,expandButtonShadowVisible:!0,expandButtonIconVisible:!1,expandButtonIconAppearance:"arrow_down",expandButtonIconAppearanceOpen:"arrow_up",expandButtonIconPosition:"right",containableNbVisibleOffers:3,containableNbVisibleContents:3,containableTitleVisible:!0,containableDescriptionVisible:!0,containableTagVisible:!0,containableExpandButtonVisible:!0,containableArgumentListVisible:!1,isRoundedPrice:!1,gdprButtonPosition:"bottomLeft",gdprButtonContent:"",gdprContent:""},cssVariables:{containerMargin:null,containerPadding:null,containerBorderWidth:null,containerBorderColor:"#000000",containerBackgroun
1dColor:null,containerBorderRadius:null,containerShadowOffset:"0 4px",containerShadowColor:"#CCCCCC99",containerShadowBlur:"5px",containerShadowSpread:"0",scrollbarTrackColor:"#D9DEEB",scrollbarThumbColor:"#A9B1C8",scrollbarSpace:"16px",itemWidth:"250px",itemHeight:"auto",nbItemsToDisplay:"3",itemGap:"16px",itemPadding:"0",itemBackgroundColor:"transparent",itemBorderWidth:"0",itemBorderColor:null,itemBorderRadius:"0",itemShadowOffset:"0 4px",itemShadowColor:"#CCCCCC99",itemShadowBlur:"5px",itemShadowSpread:"0",titleMargin:"16px 0px 16px 0px",titlePadding:null,titleBackgroundColor:null,titleBorderWidth:null,titleBorderColor:"#000000",titleBorderRadius:null,titleFontFamily:null,titleFontSize:"20px",titleColor:null,titleFontWeight:"bold",titleFontStyle:"normal",titleTextTransform:"none",titleTextDecoration:"none",titleTextAlign:"left",titleLineHeight:"normal",navigationButtonGap:"8px",navigationButtonBorderRadius:"16px",navigationButtonBackgroundColor:null,navigationButtonColor:null,navigationButtonWidth:"32px",navigationButtonHeight:"32px",navigationButtonIconColor:null,navigationButtonIconSize:"16px",navigationButtonShadowOffset:"0 0",navigationButtonShadowColor:"#000000",navigationButtonShadowBlur:"0",navigationButtonShadowSpread:"0",navigationButtonColorHover:null,navigationButtonBackgroundColorHover:null,expandButtonPadding:"4px",expandButtonMargin:"8px 0px 0px 0px",expandButtonAlign:"stretch",expandButtonBackgroundColor:null,expandButtonBorderWidth:"1px",expandButtonBorderColor:null,expandButtonBorderRadius:"8px",expandButtonShadowOffset:"0px 0px",expandButtonShadowColor:"0px",expandButtonShadowBlur:"0px",expandButtonShadowSpread:"0px",expandButtonColor:null,expandButtonFontFamily:null,expandButtonFontSize:"12px",expandButtonFontWeight:"normal",expandButtonFontStyle:"normal",expandButtonTextDecoration:"none",expandButtonTextAlign:"center",expandButtonTextTransform:"uppercase",expandButtonBackgroundColorHover:null,expandButtonBorderColorHover:null,expandButtonColorHover:null,expandButtonFontFamilyHover:null,expandButtonFontSizeHover:null,expandButtonFontWeightHover:null,expandButtonFontStyleHover:null,expandButtonTextDecorationHover:null,expandButtonTextAlignHover:null,expandButtonTextTransformHover:null,expandButtonBackgroundColorOpen:null,expandButtonBorderColorOpen:null,expandButtonColorOpen:null,expandButtonFontFamilyOpen:null,expandButtonFontSizeOpen:null,expandButtonFontWeightOpen:null,expandButtonFontStyleOpen:null,expandButtonTextDecorationOpen:null,expandButtonTextAlignOpen:null,expandButtonTextTransformOpen:null,expandButtonIconSpace:"2px",expandButtonIconSize:"12px",expandButtonIconSizeOpen:null,expandButtonIconColor:null,expandButtonIconColorOpen:null,gdprMargin:"5px",gdprPadding:"5px",gdprBackgroun
1dColor:null,gdprBorderWidth:null,gdprBorderColor:"#000000",gdprBorderRadius:"4px",gdprFontFamily:null,gdprFontSize:"10px",gdprColor:null,gdprFontWeight:null,gdprFontStyle:null,gdprTextDecoration:null,gdprTextAlign:null}},Qr=[{fieldOrigin:"cssVariables",fieldName:"titleFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"titleColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"expandButtonFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"navigationButtonColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"navigationButtonBackgroundColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryColor"},{fieldOrigin:"cssVariables",fieldName:"navigationButtonBackgroundColorHover",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themePrimaryHoverColor"},{fieldOrigin:"cssVariables",fieldName:"gdprFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"gdprColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"}],Yr=[{type:"DESKTOP",cssVariables:{themePrimaryColor:"#1925F7",themeTextColor:"#000000",themeFontFamily:"Roboto"},settings:{}},{type:"MOBILE",breakpointWidth:480,settings:{},cssVariables:{}}],to={settings:{headerVisible:!0,headerLayout:"floating",headerTitleVisible:!0,headerTitleContent:"${mediaName}",headerLogoContent:null,isRoundedPrice:!1,contentShadowVisible:!1,titleVisible:!0,titleContent:null,displayChannels:!0,channelList:null,gdprButtonPosition:null,gdprButtonContent:null,gdprContent:null}
1,cssVariables:{pageBackgroundColor:"#F7F7F7",maxWidth:"920px",headerMargin:"20px 0px 20px 0px",headerPadding:"0px 20px 0px 20px",headerBorderRadius:"40px",headerLogoMaxHeight:"40px",headerLogoBorderRadius:"8px",headerBackgroundColor:"#FFFFFF",headerLogoBackgroundColor:null,headerShadowOffset:"0px 4px",headerShadowColor:"#CCCCCC99",headerShadowBlur:"5px",headerShadowSpread:"0",headerTitleFontFamily:null,headerTitleFontSize:"24px",headerTitleColor:null,headerTitleFontWeight:"bold",headerTitleFontStyle:"normal",headerTitleTextTransform:"none",headerTitleTextDecoration:"none",headerTitleTextAlign:"right",headerInitialsColor:null,contentBackgroundColor:"#FFFFFF",contentMargin:null,contentPadding:"20px",contentBorderWidth:null,contentBorderColor:"#000000",contentBorderRadius:"4px",contentShadowOffset:"0px 4px",contentShadowColor:"#CCCCCC99",contentShadowBlur:"5px",contentShadowSpread:"0",titleMarginTop:"23px",titleMarginBottom:"23px",titleFontFamily:null,titleFontSize:"24px",titleColor:null,titleFontWeight:"bold",titleFontStyle:"normal",titleTextTransform:"none",titleTextDecoration:"none",titleTextAlign:"left",titleLineHeight:"normal",titleMarginTopH2:"16px",titleMarginBottomH2:"16px",titleFontFamilyH2:null,titleFontSizeH2:"20px",titleColorH2:null,titleFontWeightH2:"bold",titleFontStyleH2:"normal",titleTextTransformH2:"none",titleTextDecorationH2:"none",titleTextAlignH2:"left",titleLineHeightH2:"normal",titleMarginTopH3:"16px",titleMarginBottomH3:"16px",titleFontFamilyH3:null,titleFontSizeH3:"16px",titleColorH3:null,titleFontWeightH3:"bold",titleFontStyleH3:"normal",titleTextTransformH3:"none",titleTextDecorationH3:"none",titleTextAlignH3:"left",titleLineHeightH3:"normal",paragraphMarginTop:"16px",paragraphMarginBottom:"16px",paragraphFontFamily:null,paragraphFontSize:"14px",paragraphColor:null,paragraphFontWeight:null,paragraphFontStyle:null,paragraphTextTransform:null,paragraphTextDecoration:null,paragraphTextAlign:null,paragraphLineHeight:"normal",paragraphFontFamilyBold:null,paragraphFontSizeBold:null,paragraphColorBold:null,paragraphFontWeightBold:null,paragraphFontStyleBold:null,paragraphTextTransformBold:null,paragraphTextDecorationBold:null,paragraphTextAlignBold:null,paragraphLineHeightBold:"normal",paragraphFontFamilyItalic:null,paragraphFontSizeItalic:null,paragraphColorItalic:null,paragraphFontWeightItalic:null,paragraphFontStyleItalic:null,paragraphTextTransformItalic:null,paragraphTextDecorationItalic:null,paragraphTextAlignItalic:null,paragraphLineHeightItalic:"normal",paragraphFontFamilyLink:null,paragraphFontSizeLink:null,paragraphColorLink:null,paragraphFontWeightLink:null,paragraphFontStyleLink:null,paragraphTextTransformLink:null,paragraphTextDecorationLink:null,paragraphTextAlignLink:null,paragraphLineHeightLink:"normal",bulletListFontFamily:null,bulletListFontSize:"16px",bulletListColor:null,bulletListPaddingLeft:"12px",bulletListStyleType:"square",bulletListMarkerColor:null,bulletListMarkerFontSize:"8px",bulletListMarkerPaddingLeft:"8px",channelIconColor:null,gdprMargin:"5px",gdprPadding:"5px",gdprBackgroun
1dColor:null,gdprBorderWidth:null,gdprBorderColor:"#000000",gdprBorderRadius:"4px",gdprFontFamily:null,gdprFontSize:"10px",gdprColor:null,gdprFontWeight:null,gdprFontStyle:null,gdprTextDecoration:null,gdprTextAlign:null}},eo=[{fieldOrigin:"cssVariables",fieldName:"headerInitialsColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"headerTitleFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"headerTitleColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"titleFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"titleColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"paragraphFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"paragraphColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"bulletListFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"bulletListColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"bulletListMarkerColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"gdprFontFamily",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeFontFamily"},{fieldOrigin:"cssVariables",fieldName:"gdprColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"},{fieldOrigin:"cssVariables",fieldName:"channelIconColor",inheritedFieldOrigin:"cssVariables",inheritedFieldName:"themeTextColor"}],ro="--rndzz-",oo=["Andale Mono","Arial","Arial Black","Baskerville","Bradley Hand","Brush Script MT","Comic Sans MS","Courier","Georgia","Gill Sans","Helvetica","Impact","Lucida","Luminari","Monaco","Palatino","Tahoma","Times New Roman","Trebuchet MS","Verdana"],no=function(t){switch(t){case"BOX":return Hr;case"CTA":return Ur;case"CARD":return Zr;case"CAROUSEL":return Kr;case"HTML":case"CONTAINER":case"PAGE":return to;default:return{settings:{},cssVariables:{}}}},io=function(t){var e,r,o;switch(t["@type"]){case"BOX":return!!(null===(e=t.tabs)||void 0===e?void 0:e.some(function(t){var e;return(null===(e=t.offers)||void 0===e?void 0:e.length)>0}));case"CARD":return(null===(r=t.offers)||void 0===r?void 0:r.length)>0;case"CTA":return void 0!==t.price&&null!==t.price;case"CAROUSEL":return!!(null===(o=t.contents)||void 0===o?void 0:o.some(function(t){return io(t)}));default:return!0}},ao=/(Hover|Active|Open|Cheapest|Clicked|H1|H2|H3|Bold|Italic|Link)$/,so=["Hover","Active","Cheapest","Open","Clicked","H1","H2","H3","Bold","Italic","Link"],lo=["gdpr"];function co(t,e){return void 0===e&&(e=""),Object.entries(t||{}).filter(function(t){return t[0],null!=t[1]}).flatMap(function(t){var r=t[0],o=t[1],n=r.split(/\.?(?=[A-Z])/).join("-").toLowerCase(),i=!lo.some(function(t){return r.includes(t)})&&e?"".concat(e,"-"):"",a=[];if(r.includes("Margin")||r.includes("Padding")){var s=o.split(" "),l=["top","right","bottom","left"];switch(s.length){case 1:a=l.map(function(t){return"".concat(ro).concat(i).concat(n,"-").concat(t,": ").concat(o,";")});break;case 2:a=l.map(function(t,e){var r=e%2==0?s[0]:s[1];return"".concat(ro).concat(i).concat(n,"-").concat(t,": ").concat(r,";")});break;case 3:a=l.map(function(t,e){var r;return r=0===e?s[0]:1===e?s[1]:2===e?s[2]:s[1],"".concat(ro).concat(i).concat(n,"-").concat(t,": ").concat(r,";")});break;case 4:a=l.map(function(t,e){return"".concat(ro).concat(i).concat(n,"-").concat(t,": ").concat(s[e],";")});break;default:a=[]}}return Br(["".concat(ro).concat(i).concat(n,": ").concat(o,";")],a,!0)}).join(" ")}function ho(t,e,r){void 0===r&&(r=0);var o=no(t),n=e[r],i=n?e.indexOf(n):-1,a=e.filter(function(t,e){return e<=i}).map(fo).reduce(po,o);return a=uo(t,a),zo(t,a)}var fo=function(t){return{cssVariables:t.cssVariables,settings:t.settings,misc:t.misc}},po=function(t,e){return{cssVariables:Sr(Sr({},t.cssVariables),go(e.cssVariables)),settings:Sr(Sr({},t.settings),go(e.settings)),misc:Sr(Sr({},t.misc),go(e.misc))}},go=function(t){return t&&Object.keys(t).reduce(function(e,r){var o;return null===t[r]?e:Sr(Sr({},e),((o={})[r]=t[r],o))},{})},uo=function(t,e){var r=function(t){switch(t){case"BOX":return Mr;case"CTA":return jr;case"CARD":return qr;case"CAROUSEL":return Qr;case"HTML":case"CONTAINER":case"PAGE":return eo;default:return[]}}(t),o={settings:Sr({},e.settings),cssVariables:Sr({},e.cssVariables),misc:Sr({},e.misc)};return r.filter(function(t){return null===Cr(o,[t.fieldOrigin,t.fieldName])&&null!==Cr(o,[t.inheritedFieldOrigin,t.inheritedFieldName])}
1).forEach(function(t){var e=Cr(o,[t.inheritedFieldOrigin,t.inheritedFieldName]);Vr(o,[t.fieldOrigin,t.fieldName],e)}),o},zo=function(t,e){var r=no(t),o={settings:Sr({},e.settings),cssVariables:Sr({},e.cssVariables),misc:Sr({},e.misc)};return new Map([["settings",Object.keys(r.settings).filter(function(t){return so.some(function(e){return t.endsWith(e)})})],["cssVariables",Object.keys(r.cssVariables).filter(function(t){return so.some(function(e){return t.endsWith(e)})})]]).forEach(function(t,e){t.forEach(function(t){if(null===Cr(o,[e,t])){var r=t.replace(ao,"");if(r){var n=Cr(o,[e,r]);Vr(o,[e,t],n)}}})}),o},mo="undefined"==typeof document;function bo(t){var e=function(t){if(t.cssVariables){var e=[];return Object.keys(t.cssVariables).map(function(t){return t}).filter(function(t){return!t.startsWith("theme")&&t.includes("FontFamily")}).filter(function(e){return t.cssVariables[e]&&!oo.includes(t.cssVariables[e])&&"inherit"!==t.cssVariables[e]}).forEach(function(r){var o=r.replace(/FontFamily(.*)/,""),n=r.replace(/(.*)FontFamily/,""),i={family:t.cssVariables[r],isBold:"bold"===t.cssVariables["".concat(o,"FontWeight").concat(n)],isItalic:"italic"===t.cssVariables["".concat(o,"FontStyle").concat(n)]};e.find(function(t){return t.family===i.family&&t.isBold===i.isBold&&t.isItalic===i.isItalic})||e.push(i)}),e.length?"".concat(e.reduce(function(t,r,o){var n=r.family.replace(" ","+");return"".concat(t).concat(r.isBold||r.isItalic?"".concat(n,"|").concat(n,":"):n).concat(r.isBold?"b":"").concat(r.isItalic?"i":"").concat(o<e.length-1?"|":"")},"https://fonts.googleapis.com/css?display=swap&family=")):void 0}}(t);e&&function(t){if(!mo){var e,r=(e=t,mo?null:document.querySelector('link[href="'.concat(e,'"][rel="').concat("stylesheet",'"]')));if(r)return r;var o=document.createElement("link");o.href!==t&&(o.crossOrigin="",o.rel="stylesheet",o.href=t),document.head.appendChild(o)}}(e)}var vo=new Map([["arrow_down",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 11a.999.999 0 0 1-.79-.4l-3-4a1 1 0 0 1 .2-1.4 1 1 0 0 1 1.39.2L8 8.34l2.2-2.94a1 1 0 1 1 1.6 1.2l-3 4a1 1 0 0 1-.8.4Z"/></svg>'],["arrow_up",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M11 11a.999.999 0 0 1-.8-.4L8 7.66 5.8 10.6a1 1 0 0 1-1.6-1.2l3-4a1 1 0 0 1 1.6 0l3 4A1 1 0 0 1 11 11Z"/></svg>'],["arrow_right",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M6 12a1 1 0 0 1-.6-1.8L8.33 8 5.4 5.8a1 1 0 0 1 1.2-1.6l4 3a1 1 0 0 1 0 1.6l-4 3a1 1 0 0 1-.6.2Z"/></svg>'],["arrow_left",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M9.99 12a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1 0-1.6l4-3a1 1 0 0 1 1.559.551 1 1 0 0 1-.369 1.048L7.65 8l2.93 2.2a1 1 0 0 1-.59 1.8Z"/></svg>'],["caret_down",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M10.828 7.35 8.69 10.164a.87.87 0 0 1-1.372 0L5.173 7.351A.848.848 0 0 1 5.863 6h4.26a.84.84 0 0 1 .705 1.35Z"/></svg>'],["caret_up",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="m5.17 9.15 2.14-2.82a.86.86 0 0 1 1.37 0l2.14 2.82a.84.84 0 0 1-.68 1.35H5.86a.851.851 0 0 1-.69-1.35Z"/></svg>'],["caret_right",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="m7.35 5.17 2.81 2.15a.86.86 0 0 1 0 1.37l-2.81 2.13A.84.84 0 0 1 6 10.14V5.86a.84.84 0 0 1 1.35-.69Z"/></svg>'],["caret_left",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M9.15 10.83 6.33 8.68a.86.86 0 0 1 0-1.37l2.82-2.14a.85.85 0 0 1 1.35.69v4.28a.851.851 0 0 1-1.35.69Z"/></svg>'],["minus",'<svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path d="M10 5H2a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2Z"/></svg>'],["plus",'<svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path d="M10 5H7V2a1 1 0 0 0-2 0v3H2a1 1 0 0 0 0 2h3v3a1 1 0 1 0 2 0V7h3a1 1 0 1 0 0-2Z"/></svg>'],["plus-circle",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.59 0 0 3.59 0 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"/><path d="M10.799 7h-1.76V5.2c0-.55-.45-1-1-1s-1 .45-1 1V7h-1.84c-.55 0-1 .45-1 1s.45 1 1 1h1.84v1.8c0 .55.45 1 1 1s1-.45 1-1V9h1.76c.55 0 1-.45 1-1s-.45-1-1-1z"/></svg>
1'],["plus-square",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M12 0H4C1.79 0 0 1.79 0 4v8c0 2.21 1.79 4 4 4h8c2.21 0 4-1.79 4-4V4c0-2.21-1.79-4-4-4zm2 12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2v8z"/><path d="M10.799 7h-1.76V5.2c0-.55-.45-1-1-1s-1 .45-1 1V7h-1.84c-.55 0-1 .45-1 1s.45 1 1 1h1.84v1.8c0 .55.45 1 1 1s1-.45 1-1V9h1.76c.55 0 1-.45 1-1s-.45-1-1-1z"/></svg>'],["minus-circle",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 16c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM8 2C4.69 2 2 4.69 2 8s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6z"/><path d="M10.799 9h-5.6c-.55 0-1-.45-1-1s.45-1 1-1h5.6c.55 0 1 .45 1 1s-.45 1-1 1z"/></svg>'],["minus-square",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M12 16H4c-2.21 0-4-1.79-4-4V4c0-2.21 1.79-4 4-4h8c2.21 0 4 1.79 4 4v8c0 2.21-1.79 4-4 4zM4 2c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4z"/><path d="M10.799 9h-5.6c-.55 0-1-.45-1-1s.45-1 1-1h5.6c.55 0 1 .45 1 1s-.45 1-1 1z"/></svg>'],["angry",'<svg width="16" height="16" viewBox="0 0 16 14" fill="currentColor"><path d="M2.865 3.92c1.143 0 2.07-.878 2.07-1.96C4.935.877 4.008 0 2.865 0S.795.878.795 1.96c0 1.083.927 1.96 2.07 1.96zM12.736 3.92c1.143 0 2.07-.878 2.07-1.96 0-1.083-.927-1.96-2.07-1.96-1.143 0-2.07.878-2.07 1.96 0 1.083.927 1.96 2.07 1.96zM1.006 13.012c-.15 0-.29-.03-.44-.1a.992.992 0 0 1-.46-1.34c1.34-2.77 4.27-4.56 7.47-4.56s6.12 1.79 7.47 4.56c.24.5.03 1.09-.46 1.34-.5.24-1.09.03-1.34-.46-1.01-2.09-3.24-3.44-5.67-3.44s-4.66 1.35-5.67 3.44c-.17.36-.53.56-.9.56z"/></svg>'],["happy",'<svg width="16" height="16" viewBox="0 0 16 13" fill="currentColor"><path d="M3.004 3.92c1.143 0 2.07-.878 2.07-1.96C5.074.877 4.147 0 3.004 0S.934.878.934 1.96c0 1.083.926 1.96 2.07 1.96zM12.875 3.92c1.143 0 2.07-.878 2.07-1.96 0-1.083-.927-1.96-2.07-1.96s-2.07.878-2.07 1.96c0 1.083.927 1.96 2.07 1.96zM7.714 13.001c-3.19 0-6.12-1.79-7.47-4.56-.24-.5-.03-1.09.46-1.34.5-.24 1.1-.03 1.34.46 1.01 2.09 3.24 3.44 5.67 3.44 2.43 0 4.66-1.35 5.67-3.44.24-.5.84-.7 1.34-.46s.7.84.46 1.34c-1.34 2.77-4.27 4.56-7.47 4.56z"/></svg>'],["thumbs-up",'<svg width="16" height="16" fill="currentColor" viewBox="0 0 17 16"><path d="M14.275 4.53h-3.22V2.15c0-1.19-.98-2.15-2.19-2.15-.73 0-1.41.35-1.82.95l-3.43 5H.285V16h14c1.1 0 2-.9 2-2V6.53c0-1.1-.9-2-2-2h-.01zm-12 3.42h.86V14h-.86V7.95zm12 6.05h-9.14V7.26l3.56-5.18c.09-.13.36-.05.36.07v2.38c0 1.1.9 2 2 2h3.22V14z"/></svg>'],["thumbs-up_thin",'<svg width="16" height="16" fill="currentColor" viewBox="0 0 16 15"><path d="M13.785 4.53h-3.22c-.28 0-.5-.22-.5-.5V1.65c0-.91-.76-1.65-1.69-1.65-.57 0-1.09.27-1.41.73l-3.58 5.22h-3.1V15h13.5c.83 0 1.5-.67 1.5-1.5V6.03c0-.83-.67-1.5-1.5-1.5zm-12.5 2.42h1.86V14h-1.86V6.95zm13 6.55c0 .28-.22.5-.5.5h-9.64V6.6l3.64-5.31c.13-.19.35-.3.58-.3.38 0 .69.29.69.65v2.38c0 .83.67 1.5 1.5 1.5h3.22c.28 0 .5.22.5.5v7.47l.01.01z"/></svg>'],["thumbs-down",'<svg width="16" height="16" fill="currentColor" viewBox="0 0 17 16"><path d="M14.285 0h-14v10.05h3.33l3.43 5c.41.59 1.09.95 1.82.95 1.21 0 2.19-.96 2.19-2.15v-2.38h3.22c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2h.01zm-12 2h.86v6.05h-.86V2zm12 7.47h-3.22c-1.1 0-2 .9-2 2v2.38c0 .12-.27.2-.36.07l-3.56-5.18V2h9.14v7.47z"/></svg>'],["thumbs-down_thin",'<svg width="16" height="16" fill="currentColor" viewBox="0 0 16 15"><path d="M13.785 0H.285v9.05h3.1l3.58 5.22c.31.46.84.73 1.41.73.93 0 1.69-.74 1.69-1.65v-2.38c0-.28.22-.5.5-.5h3.22c.83 0 1.5-.67 1.5-1.5V1.5c0-.83-.67-1.5-1.5-1.5zm-12.5 1h1.86v7.05h-1.86V1zm13 7.97c0 .28-.22.5-.5.5h-3.22c-.83 0-1.5.67-1.5 1.5v2.38c0 .36-.31.65-.69.65a.69.69 0 0 1-.58-.3l-3.64-5.31V1h9.64c.28 0 .5.22.5.5v7.47h-.01z"/></svg>'],["nav_arrow_left",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M14 6.5H4.6l3.07-2.76a1 1 0 1 0-1.34-1.48l-5 4.49a.83.83 0 0 0-.08.12 1.19 1.19 0 0 0-.09.15v.17a1 1 0 0 0 0 .17v.34c0 .06 0 0 0 0 .026.053.056.103.09.15a.83.83 0 0 0 .08.12l5 4.5a1 1 0 0 0 1.075.174 1 1 0 0 0 .335-.243 1 1 0 0 0-.07-1.42L4.6 8.5H14a1 1 0 1 0 0-2Z"/></svg>
1'],["nav_arrow_right",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M14.93 7.86a1.005 1.005 0 0 0 0-.17 1.005 1.005 0 0 0 0-.17 1.005 1.005 0 0 0 0-.17.847.847 0 0 0 0-.17c0-.06-.07-.1-.1-.15-.03-.05 0-.08-.07-.12l-5-4.5A1 1 0 1 0 8.43 3.9l2.97 2.6H2a1 1 0 0 0 0 2h9.4l-3.06 2.75a.999.999 0 0 0 .993 1.71c.126-.05.24-.125.337-.22l5-4.5s0-.08.07-.12l.1-.15a.071.071 0 0 1 .09-.11Z"/></svg>'],["nav_arrow_right-bis",'<svg width="15.2" height="10.427" viewBox="0 0 15.2 10.427" stroke="currentColor"><g fill="none" stroke-linecap="round" stroke-width="1.2"><path d="M.6 5.213h3.761m2.089 0h7.15"/><path d="M11.386 9.589 14.6 5.214 11.386.839" stroke-linejoin="round"/></g></svg>'],["nav-arrow-up",'<svg width="16" height="16" fill="currentColor" viewBox="0 0 12 14"><path d="m11.688 5.095-5-4.82s-.09-.06-.14-.09c-.06-.04-.11-.09-.18-.11a1 1 0 0 0-.76 0c-.07.03-.12.07-.18.11-.05.03-.1.05-.14.09l-4.98 4.81a.996.996 0 1 0 1.38 1.44l3.31-3.18v9.65c0 .55.45 1 1 1s1-.45 1-1v-9.65l3.31 3.18c.19.19.44.28.69.28s.52-.1.72-.31c.38-.4.37-1.03-.03-1.41v.01z"/></svg>'],["nav-arrow-down",'<svg width="16" height="16" fill="currentColor" viewBox="0 0 14 15"><path d="M12.714 7.5a.996.996 0 0 0-1.41-.03l-3.31 3.18V1c0-.55-.45-1-1-1s-1 .45-1 1v9.65l-3.31-3.18a.996.996 0 1 0-1.38 1.44l5 4.82s.09.06.14.09c.06.04.11.09.18.12.12.05.25.08.38.08s.26-.03.38-.08c.07-.03.12-.07.18-.12.04-.03.1-.05.14-.09l5-4.81c.4-.38.41-1.02.03-1.41l-.02-.01z"/></svg>'],["check",'<svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path d="M5.681 8.86 2.361 6.1a1.001 1.001 0 0 1 1.28-1.54l1.89 1.58 2.75-2.84a1.022 1.022 0 0 1 1.44 1.45l-4.04 4.11Z"/></svg>'],["check_circle",'<svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path d="M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0Zm0 10.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9Z"/><path d="M7.573 4.417 5.465 6.532l-.885-.885a.75.75 0 1 0-1.057 1.065l1.41 1.41a.75.75 0 0 0 .532.218.75.75 0 0 0 .533-.218L8.63 5.49a.75.75 0 0 0 0-1.065.75.75 0 0 0-1.057-.008Z"/></svg>'],["close",'<svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path d="M7.41 6 9.7 3.68a1 1 0 0 0 0-1.41 1 1 0 0 0-1.41 0L6 4.58 3.7 2.29a1 1 0 0 0-1.41 0 1 1 0 0 0 0 1.41L4.59 6l-2.3 2.29a1 1 0 0 0 0 1.41A1 1 0 0 0 3 10a1 1 0 0 0 .7-.3L6 7.41l2.29 2.27a1 1 0 0 0 .71.3 1 1 0 0 0 .7-.3 1 1 0 0 0 0-1.41L7.41 6Z"/></svg>'],["close_circle",'<svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor"><path d="M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0Zm2.527 7.5a.75.75 0 0 1 0 1.057.75.75 0 0 1-.525.226.75.75 0 0 1-.532-.226l-1.5-1.5-1.5 1.5a.75.75 0 0 1-.532.226.75.75 0 0 1-.526-.226.75.75 0 0 1 0-1.057l1.5-1.5-1.5-1.5a.75.75 0 0 1 0-1.058.75.75 0 0 1 1.058 0l1.5 1.5 1.5-1.5a.75.75 0 0 1 1.058 0 .75.75 0 0 1 0 1.058L7.027 6l1.5 1.5Z"/></svg>'],["basket",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M15.5 6.21h-2L10.27.26a.504.504 0 0 0-.68-.2c-.24.13-.33.44-.2.68l2.97 5.48H3.63L6.61.74c.13-.24.04-.55-.2-.68a.506.506 0 0 0-.68.2L2.5 6.21h-2c-.28 0-.5.22-.5.5s.22.5.5.5h.77l2.21 8.42c.06.22.26.37.48.37h8.08c.23 0 .43-.15.48-.37l2.21-8.41h.77c.28 0 .5-.22.5-.5s-.22-.5-.5-.5v-.01ZM11.65 15h-7.3L2.3 7.21h11.4L11.65 15Z"/><path d="M8 13.17c.28 0 .5-.22.5-.5V9.55c0-.28-.22-.5-.5-.5s-.5.22-.5.5v3.12c0 .28.22.5.5.5Zm-2.22 0c.28 0 .5-.22.5-.5V9.55c0-.28-.22-.5-.5-.5s-.5.22-.5.5v3.12c0 .28.22.5.5.5Zm4.44 0c.28 0 .5-.22.5-.5V9.55c0-.28-.22-.5-.5-.5s-.5.22-.5.5v3.12c0 .28.22.5.5.5Z"/></svg>'],["basket_bold",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M15.2 5.96h-1.728L10.464.414a.808.808 0 0 0-1.088-.32.794.794 0 0 0-.32 1.088l2.6 4.784H4.344l2.6-4.784a.81.81 0 0 0-.32-1.088.812.812 0 0 0-1.088.32L2.528 5.96H.8c-.44 0-.8.36-.8.8 0 .44.36.8.8.8h.416l1.088 7.744a.801.801 0 0 0 .792.688h9.808c.4 0 .736-.296.792-.688l1.088-7.744h.416c.44 0 .8-.36.8-.8 0-.44-.36-.8-.8-.8Zm-2.992 8.431H3.792l-.96-6.832h10.344l-.96 6.832h-.008Z"/><path d="M6.48 12.767c.44 0 .8-.36.8-.8V10c0-.44-.36-.8-.8-.8-.44 0-.8.36-.8.8v1.968c0 .44.36.8.8.8Zm3.24 0c.44 0 .8-.36.8-.8V10c0-.44-.36-.8-.8-.8-.44 0-.8.36-.8.8v1.968c0 .44.36.8.8.8Z"/></svg>'],["cart",'<svg width="16" height="14" viewBox="0 0 16 14" fill="currentColor"><path d="M15.5 0h-2.67c-.24 0-.45.18-.49.42l-1.39 8.2H3.08c-.27 0-.52-.16-.6-.36L1.01 4.89c-.03-.16.01-.33.12-.46a.66.66 0 0 1 .52-.24l7.22-1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5l-7.23.99c-.51 0-.98.22-1.29.6-.3.3
16-.42.83-.31 1.35l1.5 3.46c.24.61.86 1.02 1.54 1.02h7.69l-.12.68c-.05.29-.32.5-.64.5H4.23c-.07 0-.14.02-.2.04-.81.1-1.45.76-1.45 1.57 0 .88.74 1.59 1.65 1.59.91 0 1.65-.71 1.65-1.59 0-.22-.05-.43-.13-.62h2.6c-.08.19-.13.4-.13.62 0 .88.74 1.59 1.65 1.59.91 0 1.65-.71 1.65-1.59 0-.39-.15-.75-.4-1.03.27-.23.46-.55.53-.92L13.25 1h2.25c.28 0 .5-.22.5-.5s-.22-.5-.5-.5ZM4.23 13c-.36 0-.65-.26-.65-.59 0-.33.29-.59.65-.59.36 0 .65.27.65.59 0 .32-.29.59-.65.59Zm5.63 0c-.36 0-.65-.26-.65-.59 0-.33.29-.59.65-.59.36 0 .65.27.65.59 0 .32-.29.59-.65.59Z"/></svg>'],["cart_bold",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M15.201 0h-2.568a.807.807 0 0 0-.792.68l-1.152 7.4H3.281c-.112 0-.224-.096-.272-.24L1.601 5.056a.47.47 0 0 1 .104-.288.259.259 0 0 1 .2-.104l7.048-1.04a.798.798 0 0 0 .672-.912.798.798 0 0 0-.912-.672l-6.88 1.032a1.88 1.88 0 0 0-1.36.672 2.072 2.072 0 0 0-.44 1.68l1.48 3c.288.752.992 1.256 1.768 1.256h7.16l-.208 1.344c-.024.184-.152.32-.288.32H2.953c-.44 0-.8.36-.8.8 0 .272.144.504.36.648a1.523 1.523 0 0 0-.288.88c0 .848.688 1.528 1.544 1.528.856 0 1.544-.688 1.544-1.528 0-.264-.072-.512-.192-.728h3.328c-.12.216-.192.464-.192.728 0 .848.688 1.528 1.544 1.528.856 0 1.544-.688 1.544-1.528 0-.392-.152-.752-.408-1.024.456-.296.792-.792.88-1.384L13.321 1.6h1.88c.44 0 .8-.36.8-.8 0-.44-.36-.8-.8-.8Z"/></svg>'],["tag",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M15.26.74c-.53-.53-1.27-.8-2.02-.73l-3.06.27c-.83.07-1.61.44-2.2 1.03L.64 8.65C.22 9.07 0 9.62 0 10.2c0 .58.23 1.14.64 1.55l3.59 3.59c.43.43.99.64 1.55.64s1.13-.21 1.55-.64L14.67 8c.59-.59.95-1.37 1.03-2.2l.27-3.06c.07-.75-.2-1.48-.73-2.01l.02.01Zm-.54 4.99c-.05.6-.32 1.16-.74 1.58l-7.34 7.34c-.47.47-1.23.47-1.69 0l-3.59-3.59c-.23-.23-.35-.53-.35-.85 0-.32.12-.62.35-.85l7.33-7.34c.42-.42.98-.69 1.58-.74l3.06-.27h.14a1.53 1.53 0 0 1 1.52 1.67l-.27 3.06v-.01Z"/><path d="M10.16 3.01c-.78.78-.78 2.05 0 2.83.39.39.9.58 1.41.58.51 0 1.02-.2 1.41-.58.78-.78.78-2.05 0-2.83-.78-.78-2.05-.78-2.83 0h.01Zm2.12 2.12a.996.996 0 1 1-1.41-1.41.996.996 0 1 1 1.41 1.41Z"/></svg>'],["tag_bold",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M5.88 16a2.441 2.441 0 0 1-1.72-.711L.712 11.84a2.443 2.443 0 0 1 0-3.44L7.76 1.353c.616-.616 1.44-1 2.304-1.08l2.944-.264A2.76 2.76 0 0 1 15.2.8a2.75 2.75 0 0 1 .792 2.192l-.264 2.936a3.745 3.745 0 0 1-1.08 2.304L7.6 15.28a2.427 2.427 0 0 1-1.72.712V16Zm7.368-14.4h-.104l-2.936.265a2.166 2.166 0 0 0-1.32.616L1.84 9.537a.84.84 0 0 0 0 1.176l3.448 3.448a.856.856 0 0 0 1.176 0l7.048-7.048c.352-.352.568-.824.616-1.32l.264-2.936a1.12 1.12 0 0 0-.336-.912 1.138 1.138 0 0 0-.808-.336V1.6Z"/><path d="M11.433 6.111a1.544 1.544 0 1 0 0-3.088 1.544 1.544 0 0 0 0 3.088Z"/></svg>'],["bag",'<svg width="14" height="16" viewBox="0 0 14 16" fill="currentColor"><path d="m13.99 14.31-1.14-8.86h-2.39V3.24C10.46 1.46 8.91 0 7 0S3.54 1.45 3.54 3.24v2.22H1.15L.01 14.31c-.05.42.08.85.36 1.17.29.33.71.52 1.15.52h10.96c.44 0 .86-.19 1.15-.52.28-.32.41-.75.36-1.17ZM4.54 3.24C4.54 2.01 5.64 1 7 1c1.36 0 2.46 1 2.46 2.24v2.22H4.54V3.24Zm8.34 11.58c-.1.11-.24.18-.4.18H1.52c-.15 0-.3-.06-.4-.18a.486.486 0 0 1-.12-.38l1.03-7.98h1.51V8.7c0 .28.22.5.5.5s.5-.22.5-.5V6.46h4.92V8.7c0 .28.22.5.5.5s.5-.22.5-.5V6.46h1.51L13 14.44c.02.14-.02.28-.12.38Z"/></svg>'],["bag_bold",'<svg width="15" height="16" viewBox="0 0 15 16" fill="currentColor"><path d="m14.384 13.936-1.152-8.704h-2.32V3.424C10.92 1.536 9.248 0 7.2 0S3.48 1.536 3.48 3.424v1.808H1.168L.016 13.936a1.807 1.807 0 0 0 .432 1.416c.36.408.888.648 1.44.648h10.624c.56 0 1.08-.232 1.44-.648.344-.392.496-.904.432-1.416ZM5.08 3.424c0-1.008.952-1.824 2.12-1.824 1.168 0 2.12.816 2.12 1.824v1.808H5.08V3.424Zm7.664 10.872s-.104.104-.24.104H1.888a.304.304 0 0 1-.24-.104.185.185 0 0 1-.048-.152l.968-7.312h.912v1.832c0 .44.36.8.8.8.44 0 .8-.36.8-.8V6.832h4.232v1.832c0 .44.36.8.8.8.44 0 .8-.36.8-.8V6.832h.912l.968 7.312a.216.216 0 0 1-.048.152Z"/></svg>'],["export",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
1<path d="M12.67 12.67H3.33V3.33H8V2H2v12h12V8h-1.33zM9.33 2v1.33h2.4L5.17 9.9l.94.94 6.56-6.56v2.4H14V2z"></path></svg>']]),xo=new Map([["Discord",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><mask id="Discord-mask" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16"><path d="M16 0H0v16h16V0Z" fill="#fff"/></mask><g mask="url(#Discord-mask)"><path d="M10.495 10.297a1.445 1.445 0 0 1-1.35-1.5 1.435 1.435 0 0 1 1.35-1.5 1.435 1.435 0 0 1 1.35 1.5 1.45 1.45 0 0 1-1.35 1.5Zm-5 0a1.44 1.44 0 0 1-1.345-1.5 1.43 1.43 0 0 1 1.345-1.5 1.43 1.43 0 0 1 1.35 1.5 1.445 1.445 0 0 1-1.35 1.5Zm7.685-6.85a12.34 12.34 0 0 0-3.05-.95.05.05 0 0 0-.05 0 8.01 8.01 0 0 0-.38.78 11.6 11.6 0 0 0-3.43 0c-.115-.265-.245-.5-.385-.78a.06.06 0 0 0-.05 0 12.38 12.38 0 0 0-3.055.95 12.695 12.695 0 0 0-2.215 8.54.05.05 0 0 0 0 .035 12.418 12.418 0 0 0 3.77 1.902.05.05 0 0 0 .025-.007c.29-.393.548-.81.77-1.245a.05.05 0 0 0 0-.065 8.082 8.082 0 0 1-1.17-.56.045.045 0 0 1 0-.065c.081-.058.16-.12.235-.185a.056.056 0 0 1 .05 0 8.87 8.87 0 0 0 7.535 0 .06.06 0 0 1 .05 0c.075.065.155.125.235.185.004.004.008.01.01.015a.045.045 0 0 1-.01.05 7.504 7.504 0 0 1-1.182.563.046.046 0 0 0-.016.033c0 .007 0 .013.003.019.225.434.48.852.765 1.25a.055.055 0 0 0 .055 0 12.448 12.448 0 0 0 3.75-1.895.04.04 0 0 0 0-.03 12.6 12.6 0 0 0-2.22-8.54h-.04Z"/></g></svg>'],["Facebook",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M0 8.043a8.131 8.131 0 0 0 1.897 5.195A8.058 8.058 0 0 0 6.67 16l.073-.06c-.024-.004-.048-.005-.072-.01v-5.673H4.664V8.021h2.001V6.236c0-2.011 1.286-3.126 3.11-3.126.596.013 1.19.073 1.777.176v2.097h-1.019c-.981 0-1.2.493-1.2 1.12v1.518h2.134l-.357 2.236H9.338v5.673c-.024.005-.05.007-.074.011l.073.059a8.059 8.059 0 0 0 4.772-2.762A8.128 8.128 0 0 0 16 8.176v-.26a8.059 8.059 0 0 0-2.338-5.56A7.983 7.983 0 0 0 8.003 0a7.983 7.983 0 0 0-5.659 2.356A8.063 8.063 0 0 0 0 8.043Z"/></svg>'],["Instagram",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M9.413 6.632a1.978 1.978 0 0 0-2.16-.427A1.979 1.979 0 0 0 6.03 8.033v.006a1.984 1.984 0 0 0 2.74 1.832 1.983 1.983 0 0 0 1.223-1.838 1.977 1.977 0 0 0-.581-1.4Z"/><path d="M12.656 4.516a1.818 1.818 0 0 0-.442-.683 1.9 1.9 0 0 0-.683-.448 3.393 3.393 0 0 0-1.104-.203c-.63-.032-.821-.032-2.405-.032-1.584 0-1.771.032-2.4.032-.377.005-.75.073-1.104.203-.258.098-.49.251-.683.448a1.819 1.819 0 0 0-.443.683 3.158 3.158 0 0 0-.208 1.104c-.032.63-.032.81-.032 2.4 0 1.59.032 1.776.032 2.405a3.2 3.2 0 0 0 .208 1.104c.094.258.246.492.443.683.191.197.425.348.683.442a3.29 3.29 0 0 0 1.104.208v.032c.629.032.81.032 2.4.032 1.589 0 1.776-.032 2.405-.032a3.32 3.32 0 0 0 1.104-.208 1.82 1.82 0 0 0 .683-.474c.197-.191.348-.425.442-.683.134-.353.205-.727.208-1.104.032-.63.032-.821.032-2.405 0-1.584-.032-1.77-.032-2.4a3.155 3.155 0 0 0-.208-1.104Zm-2.475 5.674a3.062 3.062 0 0 1-2.16.896 3.057 3.057 0 0 1-3.045-3.05l-.005-.006a3.05 3.05 0 0 1 5.21-2.157c.573.572.895 1.348.897 2.157a3.062 3.062 0 0 1-.897 2.16Zm1.674-5.086a.714.714 0 0 1-1.163.231.709.709 0 0 1-.154-.232.71.71 0 0 1-.05-.256l-.002.015V4.83c0 .006.003.011.003.017a.713.713 0 0 1 .706-.694.715.715 0 0 1 .715.677.715.715 0 0 1-.055.274Z"/><path d="M15.61 2.245a3.066 3.066 0 0 0-.73-1.125 3.066 3.066 0 0 0-1.125-.73 5.536 5.536 0 0 0-1.808-.331C10.982.004 10.645 0 8.462 0H8C5.397 0 5.088.01 4.059.059a5.466 5.466 0 0 0-1.814.33 3.087 3.087 0 0 0-1.12.731c-.324.316-.573.7-.73 1.125A5.368 5.368 0 0 0 .059 4.06C.004 5.024 0 5.35 0 7.537V8c0 2.608.01 2.917.059 3.941.006.62.12 1.233.336 1.814.157.424.406.809.73 1.125.315.322.697.57 1.12.725.58.218 1.194.331 1.814.336h.005c.965.055 1.293.059 3.479.059h.462c2.608 0 2.918-.01 3.947-.059a5.223 5.223 0 0 0 1.803-.336c.425-.153.81-.401 1.125-.725.322-.318.572-.702.73-1.125a5.36 5.36 0 0 0 .337-1.814c.05-.965.053-1.292.053-3.478V8c0-2.608-.01-2.912-.053-3.941a5.361 5.361 0 0 0-.336-1.814Zm-1.689 8.256c-.008.493-.102.98-.277 1.44a2.853 2.853 0 0 1-.683 1.067c-.3.305-.664.538-1.067.683-.46.176-.947.27-1.44.277-.634.037-.842.037-2.453.037-1.61 0-1.813-.037-2.448-.037a4.268 4.268 0 0 1-1.445-.277 2.873 2.873 0 0 1-1.067-.683 2.932 2.932 0 0 1-.688-1.067 4.393 4.393 0 0 1-.272-1.44c-.037-.634-.037-.842-.037-2.453 0-1.61.005-1.813.037-2.448.01-.494.101-.982.272-1.445.15-.401.384-.765.688-1.067A2.96 2.96 0 0 1 4.108 2.4a4.405 4.405 0 0 1 1.445-.272c.635-.037.843-.037 2.453-.037 1.611 0 1.814.005 2.448.037.494.009.983.101 1.446.272.4.15.765.384 1.066.688.304.3.538.665.683 1.067.174.462.266.951.272 1.445.037.635.037.832.037 2.448s-.005 1.819-.037 2.453Z"/></svg>
1'],["Pinterest",'<svg width="17" height="16" viewBox="0 0 17 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><mask id="a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="17" height="16"><path d="M16.014 0H.027v15.987h15.987V0Z" fill="#fff"/></mask><g mask="url(#a)"><path d="M.027 7.994a7.993 7.993 0 0 0 5.149 7.467 7.874 7.874 0 0 1 0-2.372l.939-3.956a2.83 2.83 0 0 1-.24-1.18c0-1.105.666-1.931 1.439-1.931a1 1 0 0 1 1.006 1.12 15.912 15.912 0 0 1-.666 2.664 1.16 1.16 0 0 0 1.179 1.438c1.412 0 2.504-1.492 2.504-3.65a3.142 3.142 0 0 0-3.33-3.237A3.45 3.45 0 0 0 4.41 7.814c0 .651.208 1.286.593 1.812a.233.233 0 0 1 .053.233c-.06.253-.193.793-.22.9-.027.106-.113.179-.266.106-.993-.46-1.612-1.912-1.612-3.084 0-2.505 1.825-4.81 5.255-4.81 2.758 0 4.91 1.965 4.91 4.59 0 2.744-1.732 4.956-4.13 4.956a2.126 2.126 0 0 1-1.826-.92l-.5 1.892a9.135 9.135 0 0 1-1.025 2.158A7.994 7.994 0 1 0 0 8.007"/></g></svg>'],["Snapchat",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M15.253.747A2.55 2.55 0 0 0 13.451 0H2.549A2.55 2.55 0 0 0 0 2.55v10.9A2.55 2.55 0 0 0 2.55 16h10.9A2.55 2.55 0 0 0 16 13.45V2.55a2.55 2.55 0 0 0-.747-1.803Zm-1.486 10.295a.725.725 0 0 1-.2.35 1.34 1.34 0 0 1-.308.24c-.23.128-.476.225-.731.288a.649.649 0 0 0-.139.064c-.074.064-.074.16-.154.299a.82.82 0 0 1-.24.266 1.397 1.397 0 0 1-.79.187c-.296 0-.59.043-.874.128-.154.06-.3.137-.438.23a3.243 3.243 0 0 1-1.85.58 3.27 3.27 0 0 1-1.004-.163 3.27 3.27 0 0 1-.884-.428 1.85 1.85 0 0 0-.414-.222 3.025 3.025 0 0 0-.861-.13 1.364 1.364 0 0 1-.616-.1 1.361 1.361 0 0 1-.21-.098.831.831 0 0 1-.214-.218c-.117-.16-.101-.272-.187-.347a.351.351 0 0 0-.129-.057 3.476 3.476 0 0 1-.353-.12 3.488 3.488 0 0 1-.382-.175 1.187 1.187 0 0 1-.293-.224.737.737 0 0 1-.203-.773c.123-.326.411-.427.688-.571a3.376 3.376 0 0 0 1.216-1.067 1.99 1.99 0 0 0 .214-.373.176.176 0 0 0 0-.155.288.288 0 0 0-.08-.08l-.24-.154-.267-.176a1.44 1.44 0 0 1-.475-.507.986.986 0 0 1-.048-.832.981.981 0 0 1 .955-.63c.093 0 .186.012.277.033h.07a7.034 7.034 0 0 1 0-.816 2.95 2.95 0 0 1 .773-1.878c.224-.255.491-.47.79-.634a3.733 3.733 0 0 1 3.189-.194c.155.06.307.13.453.21.298.164.565.379.79.634.47.516.743 1.18.773 1.878.026.277.026.533.026.8h.027c.09-.021.184-.032.277-.032a.976.976 0 0 1 .335.05.978.978 0 0 1 .663.595.987.987 0 0 1-.048.832 1.44 1.44 0 0 1-.475.507l-.267.176-.25.165a.176.176 0 0 0-.07.07.164.164 0 0 0 0 .149c.06.132.131.259.214.378.326.451.756.817 1.253 1.067l.155.08.09.043a.827.827 0 0 1 .406.432l.042.021c.044.13.05.27.018.402Z"/></svg>'],["Tiktok",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.208 3.806A3.358 3.358 0 0 1 10.708 1H8.344l-.004 9.646c-.04 1.08-.914 1.947-1.985 1.947-.321 0-.638-.08-.922-.232a2.029 2.029 0 0 1-1.066-1.791c0-1.116.892-2.023 1.988-2.023.205 0 .401.034.587.093V6.183a4.258 4.258 0 0 0-.587-.043C3.954 6.14 2 8.127 2 10.57a4.45 4.45 0 0 0 1.859 3.627A4.277 4.277 0 0 0 6.354 15c2.401 0 4.355-1.987 4.355-4.43V5.679A5.563 5.563 0 0 0 14 6.755V4.348c-.66 0-1.276-.2-1.792-.542Z"/></svg>'],["Twitch",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="m9.565 13.157 5.14-5.141v-8L3.854 0 1 2.852v10.305h3.418V16h.016l2.843-2.843h2.288ZM4.418 9.712v-8.57h9.147l.005 6.287-2.288 2.283H8.994L6.706 12V9.712H4.418Z"/><path d="M11.852 3.43H10.71v3.429h1.14v-3.43ZM9.001 3.43H7.859v3.429h1.142v-3.43Z"/></svg>'],["Website",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm5.91 7h-1.29a12.92 12.92 0 0 0-.7-3.54A6 6 0 0 1 13.91 7ZM7 2.44V7H5.39A7.21 7.21 0 0 1 7 2.44ZM7 9v4.55A7.26 7.26 0 0 1 5.39 9H7Zm2 4.55V9h1.61A7.32 7.32 0 0 1 9 13.55ZM9 7V2.44A7.29 7.29 0 0 1 10.61 7H9ZM4.12 3.46A12.21 12.21 0 0 0 3.42 7h-1.3a6 6 0 0 1 2-3.54ZM2.13 8.99h1.29a12.14 12.14 0 0 0 .7 3.53 6 6 0 0 1-2-3.52l.01-.01Zm9.83 3.53c.398-1.138.633-2.326.7-3.53h1.29a6 6 0 0 1-2.03 3.54l.04-.01Z"/></svg>'],["Whatsapp",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M15.852 7.64A7.93 7.93 0 0 0 7.975 0h-.038A7.93 7.93 0 0 0 .972 11.735L.27 15.93A.061.061 0 0 0 .33 16h.013l4.15-.923a7.935 7.935 0 0 0 3.436.781h.227a7.927 7.927 0 0 0 7.696-8.218Zm-7.735 6.84h-.188a6.557 6.557 0 0 1-3.02-.734l-.213-.111-2.815.665.52-2.848-.12-.204a6.556 6.556 0 0 1 5.468-9.87h.19a6.553 6.553 0 0 1 .185 13.104l-.007-.003Z"/><path d="M5.172 4.101a.733.733 0 0 0-.52.232c-.19.194-.718.66-.749 1.64-.03.98.654 1.949.75 2.085.096.136 1.308 2.251 3.306 3.11 1.174.505 1.689.592 2.022.592.138 0 .242-.014.35-.02.366-.023 1.192-.446 1.372-.906.18-.46.192-.862.145-.943-.048-.08-.178-.138-.374-.241-.196-.103-1.159-.618-1.34-.69a.611.611 0 0 0-.213-.056.295.295 0 0 0-.237.142c-.161.2-.53.635-.654.76a.295.295 0 0 1-.217.102.52.52 0 0 1-.218-.059 5.077 5.077 0 0 1-1.567-1.045 6.009 6.009 0 0 1-1.065-1.416c-.11-.203 0-.307.1-.402.1-.095.206-.226.31-.34.084-.097.154-.205.208-.321a.367.367 0 0 0-.005-.35c-.048-.1-.402-1.097-.569-1.497-.135-.342-.296-.353-.437-.363a10.248 10.248 0 0 0-.38-.016h-.018"/></svg>
1'],["X",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="m4.344 4.003 5.978 7.994h1.355l-5.98-7.994H4.345Z"/><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm2.005 12.635-2.722-3.64-3.369 3.64h-.866l3.848-4.157-3.824-5.113h2.947l2.507 3.352 3.103-3.352h.866l-3.582 3.87 4.04 5.4h-2.948Z"/></svg>'],["Youtube",'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M.842 12.153c.25.246.56.424.9.514 1.835.415 10.55.472 12.496 0 .343-.086.657-.26.909-.505a1.96 1.96 0 0 0 .526-.885c.216-1.179.32-2.37.327-3.563v-.397a20.441 20.441 0 0 0-.359-3.596 1.96 1.96 0 0 0-.517-.882 2.008 2.008 0 0 0-.896-.509c-.478-.182-3.12-.316-5.914-.33h-.951c-2.288.012-4.527.108-5.626.33-.34.088-.65.263-.898.508a1.945 1.945 0 0 0-.515.883A21.734 21.734 0 0 0 0 7.35v.286c.008 1.214.112 2.428.324 3.63.09.335.27.64.518.886Zm5.605-7.01 4.176 2.356-4.176 2.366V5.143Z"/></svg>']]),yo={catalog:"affilizz-catalog-component",designer:"affilizz-designer-component",publication:"affilizz-rendering-component",page:"affilizz-page-component",container:"affilizz-deal-component"},Co=function(){function t(){}return t.prototype.generateWebComponentTagHtml=function(e,r){var o=Object.assign({loading:"lazy"},r),n=yo[e],i=Object.entries(o).filter(function(t){return t[0],null!=t[1]}).map(function(e){var r=e[0],o=e[1],n=t.argumentKeyToAttribute(r),i="object"==typeof o?JSON.stringify(o):String(o);return"".concat(n,'="').concat(i.replace(/"/g,"&quot;"),'"')}).join(" ");return"<".concat(n," ").concat(i,"></").concat(n,">")},t.prototype.applyAttributesToElement=function(e,r){for(var o in e){var n=e[o],i=t.argumentKeyToAttribute(o);null!=n?("object"==typeof n&&(n=JSON.stringify(n)),r.setAttribute(i,String(n))):r.hasAttribute(i)&&r.removeAttribute(i)}},t.argumentKeyToAttribute=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},t}();let wo,ko=(t,e,r=!1)=>`${e} ${$o(t,r)}`;function Fo(t){return t?{maximumFractionDigits:0}:{minimumFractionDigits:2,maximumFractionDigits:2}}function $o(t,e){return e?Math.round(t).toString():t.toFixed(2)}function So(t){const e=t??navigator.language;var r;wo!==e&&(wo?Rt.warn(null,"Locale already set, will not set it again."):(Rt.warn(null,"Set locale",e),$r(e),r=e,ko=(t,e,o=!1)=>{try{return new Intl.NumberFormat(r,{style:"currency",currency:e,currencyDisplay:"narrowSymbol",...Fo(o)}).format(t)}catch{return`${e} ${$o(t,o)}`}},wo=e))}class Bo{static{this.MICRODATA_CONDITIONS=new Map([["NEW","https://schema.org/NewCondition"],["USED","https://schema.org/UsedCondition"],["REFURBISHED","https://schema.org/RefurbishedCondition"]])}getBaseRenderSchema(t){return{"@context":"https://schema.org/","@type":"Product",name:(t.productName??"").substring(0,150),...t.productImage&&{image:t.productImage},brand:t.brandName?{"@type":"Brand",name:t.brandName}:void 0}}}const To=/^[a-zA-Z][a-zA-Z\d+\-.]*:/;function Oo(t,e){return t}class Ao{getOfferListSchema(t){const e=t?.length?t[0]:void 0;return{"@type":"AggregateOffer",priceCurrency:e?.currency,lowPrice:e?.price,offerCount:t.length,offers:t.map(this.getOfferSchema)}}getOfferSchema(t){return{"@type":"Offer",price:t.price,priceCurrency:t.currency,availability:t.stock?"https://schema.org/InStock":"https://schema.org/OutOfStock",itemCondition:Bo.MICRODATA_CONDITIONS.get(t.condition)??"https://schema.org/NewCondition",seller:{"@type":"Organization",name:t.shopName},url:Oo(t.url)||"#"}}}const Lo=new Map([["BOX",class extends Bo{#a=new Ao;getJsonSchema(t){return{...this.getBaseRenderSchema(t),description:t.description,...t.tabs?.length&&t.tabs?.some(t=>t.offers?.length)&&{offers:this.#s(t.tabs)}}}hasOffer(t){const e=this.#s(t.tabs);return e?.some(t=>t.offers?.some(t=>!!t.price))??!1}#s(t){const e=t?.filter(t=>t.offers?.length);return e?.length?e.map(t=>({...this.#a.getOfferListSchema(t.offers),name:t.title,image:t.productImage})):void 0}}],["CARD",class extends Bo{#a=new Ao;getJsonSchema(t){return{...this.getBaseRenderSchema(t),description:t.description,...t.positivePoints?.length&&{positiveNotes:t.positivePoints},...t.negativePoints?.length&&{negativeNotes:t.negativePoints},...t.offers?.length&&{offers:this.#a.getOfferListSchema(t.offers)}}}hasOffer(t){const e=this.#a.getOfferListSchema(t.offers);return e?.offers?.some(t=>!!t.price)}}],["CTA",class extends Bo{#a=new Ao;getJsonSchema(t){return{...this.getBaseRenderSchema(t),description:t.description,offers:this.#a.getOfferSchema(t)}}hasOffer(t){const e=this.#a.getOfferSchema(t);return!!e?.price}}]]),Io=new WeakMap;let Vo;function Po(t,e){const r=function(){if("undefined"!=typeof ResizeObserver)return Vo??=new ResizeObserver(t=>{for(const e of t)Io.get(e.target)?.(e)}),Vo}();return r?(Io.set(t,e),r.observe(t),()=>{Io.delete(t),r.unobserve(t)}):()=>{}}const _o="--rndzz-box-background-color,--rndzz-box-border-color,--rndzz-box-border-radius,--rndzz-box-border-width,--rndzz-box-margin,--rndzz-box-padding,--rndzz-box-shadow-blur,--rndzz-box-shadow-color,--rndzz-box-shadow-offset,--rndzz-box-shadow-spread,--rndzz-button-background-color,--rndzz-button-background-color-hover,--rndzz-button-border-color,--rndzz-button-border-color-hover,--rndzz-button-border-radius,--rndzz-button-border-width,--rndzz-button-icon-left-alignment,--rndzz-button-icon-left-color,--rndzz-button-icon-left-color-hover,--rndzz-button-icon-left-size,--rndzz-button-icon-left-space,--rndzz-button-icon-right-alignment,--rndzz-button-icon-right-color,--rndzz-button-icon-right-color-hover,--rndzz-button-icon-right-size,--rndzz-button-icon-right-space,--rndzz-button-margin,--rndzz-button-padding,--rndzz-button-position,--rndzz-button-shadow-blur,--rndzz-button-shadow-color,--rndzz-button-shadow-offset,--rndzz-button-shadow-spread,--rndzz-card-background-color,--rndzz-card-border-color,--rndzz-card-border-radius,--rndzz-card-border-width,--rndzz-card-columns-alignment,--rndzz-card-columns-proportions,--rndzz-card-margin,--rndzz-card-padding,--rndzz-card-shadow-blur,--rndzz-card-shadow-color,--rndzz-card-shadow-offset,--rndzz-card-shadow-spread,--rndzz-carousel-container-background-color,--rndzz-carousel-container-border-color,--rndzz-carousel-container-border-radius,--rndzz-carousel-container-border-width,--rndzz-carousel-container-margin,--rndzz-carousel-container-padding,--rndzz-carousel-container-shadow-blur,--rndzz-carousel-container-shadow-color,--rndzz-carousel-container-shadow-offset,--rndzz-carousel-container-shadow-spread,--rndzz-carousel-expand-button-align,--rndzz-carousel-expand-button-background-color,--rndzz-carousel-expand-button-background-color-hover,--rndzz-carousel-expand-button-background-color-open,--rndzz-carousel-expand-button-border-color,--rndzz-carousel-expand-button-border-color-hover,--rndzz-carousel-expand-button-border-color-open,--rndzz-carousel-expand-button-border-radius,--rndzz-carousel-expand-button-border-width,--rndzz-carousel-expand-button-color,--rndzz-carousel-expand-button-color-hover,--rndzz-carousel-expand-button-color-open,--rndzz-carousel-expand-button-font-family,--rndzz-carousel-expand-button-font-family-hover,--rndzz-carousel-expand-button-font-family-open,--rndzz-carousel-expand-button-font-size,--rndzz-carousel-expand-button-font-size-hover,--rndzz-carousel-expand-button-font-size-open,--rndzz-carousel-expand-button-font-weight,--rndzz-carousel-expand-button-font-weight-hover,--rndzz-carousel-expand-button-font-weight-open,--rndzz-carousel-expand-button-icon-color,--rndzz-carousel-expand-button-icon-size,--rndzz-carousel-expand-button-icon-space,--rndzz-carousel-expand-button-margin,--rndzz-carousel-expand-button-padding,--rndzz-carousel-expand-button-shadow-blur,--rndzz-carousel-expand-button-shadow-color,--rndzz-carousel-expand-button-shadow-offset,--rndzz-carousel-expand-button-shadow-spread,--rndzz-carousel-expand-button-text-align,--rndzz-carousel-expand-button-text-align-hover,--rndzz-carousel-expand-button-text-align-open,--rndzz-carousel-expand-button-text-decoration,--rndzz-carousel-expand-button-text-decoration-hover,--rndzz-carousel-expand-button-text-decoration-open,--rndzz-carousel-expand-button-text-transform,--rndzz-carousel-expand-button-text-transform-hover,--rndzz-carousel-expand-button-text-transform-open,--rndzz-carousel-flexible-item-size,--rndzz-carousel-item-border-color,--rndzz-carousel-item-border-radius,--rndzz-carousel-item-border-width,--rndzz-carousel-item-gap,--rndzz-carousel-item-padding,--rndzz-carousel-item-shadow-blur,--rndzz-carousel-item-shadow-color,--rndzz-carousel-item-shadow-offset,--rndzz-carousel-item-shadow-spread,--rndzz-carousel-item-width,--rndzz-carousel-navigation-button-background-color,--rndzz-carousel-navigation-button-background-color-hover,--rndzz-carousel-navigation-button-border-radius,--rndzz-carousel-navigation-button-color,--rndzz-carousel-navigation-button-color-hover,--rndzz-carousel-navigation-button-gap,--rndzz-carousel-navigation-button-height,--rndzz-carousel-navigation-button-icon-size,--rndzz-carousel-navigation-button-shadow-blur,--rndzz-carousel-navigation-button-shadow-color,--rndzz-carousel-navigation-button-shadow-offset,--rndzz-carousel-navigation-button-shadow-spread,--rndzz-carousel-navigation-button-width,--rndzz-carousel-nb-items-to-display,--rndzz-carousel-scrollbar-space,--rndzz-carousel-scrollbar-thumb-color,--rndzz-carousel-scrollbar-track-color,--rndzz-carousel-title-background-color,--rndzz-carousel-title-border-color,--rndzz-carousel-title-border-radius,--rndzz-carousel-title-border-width,--rndzz-carousel-title-color,--rndzz-carousel-title-font-family,--rndzz-carousel-title-font-size,--rndzz-carousel-title-font-style,--rndzz-carousel-title-font-we
1ight,--rndzz-carousel-title-line-height,--rndzz-carousel-title-margin,--rndzz-carousel-title-padding,--rndzz-carousel-title-text-align,--rndzz-carousel-title-text-decoration,--rndzz-carousel-title-text-transform,--rndzz-containable-height,--rndzz-crossed-price-font-family,--rndzz-crossed-price-font-style,--rndzz-crossed-price-font-weight,--rndzz-crossed-price-spacing,--rndzz-crossed-price-text-color,--rndzz-crossed-price-text-color-hover,--rndzz-crossed-price-text-font-size-ratio,--rndzz-description-background-color,--rndzz-description-border-color,--rndzz-description-border-radius,--rndzz-description-border-width,--rndzz-description-color,--rndzz-description-font-family,--rndzz-description-font-size,--rndzz-description-font-style,--rndzz-description-font-weight,--rndzz-description-line-height,--rndzz-description-margin,--rndzz-description-padding,--rndzz-description-text-align,--rndzz-description-text-decoration,--rndzz-description-text-transform,--rndzz-gdpr-background-color,--rndzz-gdpr-border-color,--rndzz-gdpr-border-radius,--rndzz-gdpr-border-width,--rndzz-gdpr-color,--rndzz-gdpr-font-family,--rndzz-gdpr-font-size,--rndzz-gdpr-font-style,--rndzz-gdpr-font-weight,--rndzz-gdpr-margin,--rndzz-gdpr-padding,--rndzz-gdpr-text-align,--rndzz-gdpr-text-decoration,--rndzz-offer-background-color,--rndzz-offer-background-color-cheapest,--rndzz-offer-background-color-hover,--rndzz-offer-border-color,--rndzz-offer-border-color-hover,--rndzz-offer-border-radius,--rndzz-offer-border-width,--rndzz-offer-button-alignment,--rndzz-offer-button-background-color,--rndzz-offer-button-background-color-hover,--rndzz-offer-button-border-color,--rndzz-offer-button-border-color-hover,--rndzz-offer-button-border-radius,--rndzz-offer-button-border-width,--rndzz-offer-button-color,--rndzz-offer-button-color-hover,--rndzz-offer-button-font-family,--rndzz-offer-button-font-family-hover,--rndzz-offer-button-font-size,--rndzz-offer-button-font-size-hover,--rndzz-offer-button-font-style,--rndzz-offer-button-font-style-hover,--rndzz-offer-button-font-weight,--rndzz-offer-button-font-weight-hover,--rndzz-offer-button-icon-align,--rndzz-offer-button-icon-color,--rndzz-offer-button-icon-color-hover,--rndzz-offer-button-icon-size,--rndzz-offer-button-margin,--rndzz-offer-button-margin-bottom,--rndzz-offer-button-margin-top,--rndzz-offer-button-padding,--rndzz-offer-button-text-align,--rndzz-offer-button-text-align-hover,--rndzz-offer-button-text-decoration,--rndzz-offer-button-text-decoration-hover,--rndzz-offer-button-text-transform,--rndzz-offer-button-text-transform-hover,--rndzz-offer-condition-color,--rndzz-offer-condition-font-family,--rndzz-offer-condition-font-size,--rndzz-offer-condition-font-style,--rndzz-offer-condition-font-weight,--rndzz-offer-condition-padding,--rndzz-offer-condition-text-decoration,--rndzz-offer-crossed-price-color,--rndzz-offer-crossed-price-font-family,--rndzz-offer-crossed-price-font-size,--rndzz-offer-crossed-price-font-style,--rndzz-offer-crossed-price-font-weight,--rndzz-offer-crossed-price-padding,--rndzz-offer-list-background-color,--rndzz-offer-list-border-color,--rndzz-offer-list-border-radius,--rndzz-offer-list-border-width,--rndzz-offer-list-columns-proportions,--rndzz-offer-list-header-background-color,--rndzz-offer-list-header-border-color,--rndzz-offer-list-header-border-radius,--rndzz-offer-list-header-border-width,--rndzz-offer-list-header-color,--rndzz-offer-list-header-font-family,--rndzz-offer-list-header-font-size,--rndzz-offer-list-header-font-weight,--rndzz-offer-list-header-margin,--rndzz-offer-list-header-padding,--rndzz-offer-list-header-text-decoration,--rndzz-offer-list-header-text-transform,--rndzz-offer-list-height,--rndzz-offer-list-margin,--rndzz-offer-list-padding,--rndzz-offer-list-stock-background-color,--rndzz-offer-list-stock-border-color,--rndzz-offer-list-stock-border-radius,--rndzz-offer-list-stock-border-width,--rndzz-offer-list-stock-margin,--rndzz-offer-list-stock-padding,--rndzz-offer-margin,--rndzz-offer-margin-bottom,--rndzz-offer-margin-top,--rndzz-offer-merchant-background-color,--rndzz-offer-merchant-color,--rndzz-offer-merchant-color-cheapest,--rndzz-offer-merchant-font-family,--rndzz-offer-merchant-font-family-cheapest,--rndzz-offer-merchant-font-size,--rndzz-offer-merchant-font-size-cheapest,--rndzz-offer-merchant-font-style,--rndzz-offer-merchant-font-style-cheapest,--rndzz-offer-merchant-font-we
1ight,--rndzz-offer-merchant-font-weight-cheapest,--rndzz-offer-merchant-icon-size,--rndzz-offer-merchant-icon-space,--rndzz-offer-merchant-padding,--rndzz-offer-merchant-text-decoration,--rndzz-offer-merchant-text-decoration-cheapest,--rndzz-offer-merchant-text-transform,--rndzz-offer-merchant-type-color,--rndzz-offer-merchant-type-font-family,--rndzz-offer-merchant-type-font-size,--rndzz-offer-merchant-type-font-style,--rndzz-offer-merchant-type-font-weight,--rndzz-offer-merchant-type-padding,--rndzz-offer-merchant-type-text-decoration,--rndzz-offer-merchant-type-text-transform,--rndzz-offer-padding,--rndzz-offer-price-color,--rndzz-offer-price-color-cheapest,--rndzz-offer-price-font-family,--rndzz-offer-price-font-family-cheapest,--rndzz-offer-price-font-size,--rndzz-offer-price-font-size-cheapest,--rndzz-offer-price-font-style,--rndzz-offer-price-font-style-cheapest,--rndzz-offer-price-font-weight,--rndzz-offer-price-font-weight-cheapest,--rndzz-offer-price-padding,--rndzz-offer-price-text-align,--rndzz-offer-price-text-align-cheapest,--rndzz-offer-price-text-decoration,--rndzz-offer-price-text-decoration-cheapest,--rndzz-offer-stock-icon-cheapest-color,--rndzz-offer-stock-icon-is-not-stock-color,--rndzz-offer-stock-icon-is-stock-color,--rndzz-offer-stock-icon-size,--rndzz-page-bullet-list-color,--rndzz-page-bullet-list-font-family,--rndzz-page-bullet-list-font-size,--rndzz-page-bullet-list-marker-color,--rndzz-page-bullet-list-marker-font-size,--rndzz-page-bullet-list-marker-padding-left,--rndzz-page-bullet-list-padding-left,--rndzz-page-bullet-list-style-type,--rndzz-page-channel-icon-color,--rndzz-page-content-background-color,--rndzz-page-content-border-radius,--rndzz-page-content-border-width,--rndzz-page-content-margin,--rndzz-page-content-padding,--rndzz-page-content-shadow-blur,--rndzz-page-content-shadow-color,--rndzz-page-content-shadow-offset,--rndzz-page-content-shadow-spread,--rndzz-page-header-background-color,--rndzz-page-header-logo-background-color,--rndzz-page-header-title-color,--rndzz-page-header-title-font-family,--rndzz-page-header-title-font-size,--rndzz-page-header-title-font-style,--rndzz-page-header-title-font-weight,--rndzz-page-header-title-text-align,--rndzz-page-header-title-text-decoration,--rndzz-page-header-title-text-transform,--rndzz-page-max-width,--rndzz-page-page-background-color,--rndzz-page-paragraph-color,--rndzz-page-paragraph-color-bold,--rndzz-page-paragraph-color-italic,--rndzz-page-paragraph-color-link,--rndzz-page-paragraph-font-family,--rndzz-page-paragraph-font-family-bold,--rndzz-page-paragraph-font-family-italic,--rndzz-page-paragraph-font-family-link,--rndzz-page-paragraph-font-size,--rndzz-page-paragraph-font-size-bold,--rndzz-page-paragraph-font-size-italic,--rndzz-page-paragraph-font-size-link,--rndzz-page-paragraph-font-style,--rndzz-page-paragraph-font-style-bold,--rndzz-page-paragraph-font-style-italic,--rndzz-page-paragraph-font-style-link,--rndzz-page-paragraph-font-weight,--rndzz-page-paragraph-font-weight-bold,--rndzz-page-paragraph-font-weight-italic,--rndzz-page-paragraph-font-weight-link,--rndzz-page-paragraph-line-height,--rndzz-page-paragraph-line-height-bold,--rndzz-page-paragraph-line-height-italic,--rndzz-page-paragraph-line-height-link,--rndzz-page-paragraph-margin-bottom,--rndzz-page-paragraph-margin-top,--rndzz-page-paragraph-text-align,--rndzz-page-paragraph-text-align-bold,--rndzz-page-paragraph-text-align-italic,--rndzz-page-paragraph-text-align-link,--rndzz-page-paragraph-text-decoration,--rndzz-page-paragraph-text-decoration-bold,--rndzz-page-paragraph-text-decoration-italic,--rndzz-page-paragraph-text-decoration-link,--rndzz-page-paragraph-text-transform,--rndzz-page-paragraph-text-transform-bold,--rndzz-page-paragraph-text-transform-italic,--rndzz-page-paragraph-text-transform-link,--rndzz-page-title-color,--rndzz-page-title-color-h2,--rndzz-page-title-color-h3,--rndzz-page-title-font-family,--rndzz-page-title-font-family-h2,--rndzz-page-title-font-family-h3,--rndzz-page-title-font-size,--rndzz-page-title-font-size-h2,--rndzz-page-title-font-size-h3,--rndzz-page-title-font-style,--rndzz-page-title-font-style-h2,--rndzz-page-title-font-style-h3,--rndzz-page-title-font-we
1ight,--rndzz-page-title-font-weight-h2,--rndzz-page-title-font-weight-h3,--rndzz-page-title-line-height,--rndzz-page-title-line-height-h2,--rndzz-page-title-line-height-h3,--rndzz-page-title-margin-bottom,--rndzz-page-title-margin-bottom-h2,--rndzz-page-title-margin-bottom-h3,--rndzz-page-title-margin-top,--rndzz-page-title-margin-top-h2,--rndzz-page-title-margin-top-h3,--rndzz-page-title-text-align,--rndzz-page-title-text-align-h2,--rndzz-page-title-text-align-h3,--rndzz-page-title-text-decoration,--rndzz-page-title-text-decoration-h2,--rndzz-page-title-text-decoration-h3,--rndzz-page-title-text-transform,--rndzz-page-title-text-transform-h2,--rndzz-page-title-text-transform-h3,--rndzz-points-list-background-color,--rndzz-points-list-border-color,--rndzz-points-list-border-radius,--rndzz-points-list-border-width,--rndzz-points-list-item-left-background-color,--rndzz-points-list-item-left-border-color,--rndzz-points-list-item-left-border-radius,--rndzz-points-list-item-left-border-width,--rndzz-points-list-item-left-color,--rndzz-points-list-item-left-font-family,--rndzz-points-list-item-left-font-size,--rndzz-points-list-item-left-font-style,--rndzz-points-list-item-left-font-weight,--rndzz-points-list-item-left-icon-color,--rndzz-points-list-item-left-icon-size,--rndzz-points-list-item-left-icon-space,--rndzz-points-list-item-left-margin,--rndzz-points-list-item-left-padding,--rndzz-points-list-item-left-space,--rndzz-points-list-item-left-text-align,--rndzz-points-list-item-left-text-decoration,--rndzz-points-list-item-left-text-transform,--rndzz-points-list-item-right-background-color,--rndzz-points-list-item-right-border-color,--rndzz-points-list-item-right-border-radius,--rndzz-points-list-item-right-border-width,--rndzz-points-list-item-right-color,--rndzz-points-list-item-right-font-family,--rndzz-points-list-item-right-font-size,--rndzz-points-list-item-right-font-style,--rndzz-points-list-item-right-font-weight,--rndzz-points-list-item-right-icon-color,--rndzz-points-list-item-right-icon-size,--rndzz-points-list-item-right-icon-space,--rndzz-points-list-item-right-margin,--rndzz-points-list-item-right-padding,--rndzz-points-list-item-right-space,--rndzz-points-list-item-right-text-align,--rndzz-points-list-item-right-text-decoration,--rndzz-points-list-item-right-text-transform,--rndzz-points-list-left-margin,--rndzz-points-list-margin,--rndzz-points-list-padding,--rndzz-points-list-right-margin,--rndzz-points-list-title-left-background-color,--rndzz-points-list-title-left-border-color,--rndzz-points-list-title-left-border-radius,--rndzz-points-list-title-left-border-width,--rndzz-points-list-title-left-color,--rndzz-points-list-title-left-font-family,--rndzz-points-list-title-left-font-size,--rndzz-points-list-title-left-font-weight,--rndzz-points-list-title-left-margin,--rndzz-points-list-title-left-padding,--rndzz-points-list-title-left-text-align,--rndzz-points-list-title-left-text-decoration,--rndzz-points-list-title-left-text-transform,--rndzz-points-list-title-right-background-color,--rndzz-points-list-title-right-border-color,--rndzz-points-list-title-right-border-radius,--rndzz-points-list-title-right-border-width,--rndzz-points-list-title-right-color,--rndzz-points-list-title-right-font-family,--rndzz-points-list-title-right-font-size,--rndzz-points-list-title-right-font-weight,--rndzz-points-list-title-right-margin,--rndzz-points-list-title-right-padding,--rndzz-points-list-title-right-text-align,--rndzz-points-list-title-right-text-decoration,--rndzz-points-list-title-right-text-transform,--rndzz-product-image-align,--rndzz-product-image-background-color,--rndzz-product-image-border-color,--rndzz-product-image-border-radius,--rndzz-product-image-border-width,--rndzz-product-image-height,--rndzz-product-image-justify,--rndzz-product-image-margin,--rndzz-product-image-scale,--rndzz-product-image-width,--rndzz-product-image-width-percent,--rndzz-promo-code-background-color,--rndzz-promo-code-background-color-clicked,--rndzz-promo-code-background-color-hover,--rndzz-promo-code-border-color,--rndzz-promo-code-border-color-clicked,--rndzz-promo-code-border-color-hover,--rndzz-promo-code-border-radius,--rndzz-promo-code-border-width,--rndzz-promo-code-offset-x,--rndzz-promo-code-offset-y,--rndzz-promo-code-padding,--rndzz-promo-code-text-color,--rndzz-promo-code-text-color-clicked,--rndzz-promo-code-text-color-hover,--rndzz-promo-code-text-font-family,--rndzz-promo-code-text-font-family-clicked,--rndzz-promo-code-text-font-family-hover,--rndzz-promo-code-text-font-size,--rndzz-promo-code-text-font-size-clicked,--rndzz-promo-code-text-font-size-hover,--rndzz-promo-code-text-font-style,--rndzz-promo-code-text-font-style-clicked,--rndzz-promo-code-text-font-style-hover,--rndzz-promo-code-text-font-we
1ight,--rndzz-promo-code-text-font-weight-clicked,--rndzz-promo-code-text-font-weight-hover,--rndzz-promo-code-text-line-height,--rndzz-promo-code-text-line-height-clicked,--rndzz-promo-code-text-line-height-hover,--rndzz-promo-code-text-text-align,--rndzz-promo-code-text-text-align-clicked,--rndzz-promo-code-text-text-align-hover,--rndzz-promo-code-text-text-decoration,--rndzz-promo-code-text-text-decoration-clicked,--rndzz-promo-code-text-text-decoration-hover,--rndzz-promo-code-text-text-transform,--rndzz-promo-code-text-text-transform-clicked,--rndzz-promo-code-text-text-transform-hover,--rndzz-tabs-background-color,--rndzz-tabs-background-color-active,--rndzz-tabs-background-color-hover,--rndzz-tabs-border-color,--rndzz-tabs-border-color-active,--rndzz-tabs-border-color-hover,--rndzz-tabs-border-radius,--rndzz-tabs-border-width,--rndzz-tabs-color,--rndzz-tabs-color-active,--rndzz-tabs-color-hover,--rndzz-tabs-container-background-color,--rndzz-tabs-container-border-color,--rndzz-tabs-container-border-radius,--rndzz-tabs-container-border-width,--rndzz-tabs-container-margin,--rndzz-tabs-container-padding,--rndzz-tabs-font-family,--rndzz-tabs-font-family-active,--rndzz-tabs-font-family-hover,--rndzz-tabs-font-size,--rndzz-tabs-font-size-active,--rndzz-tabs-font-size-hover,--rndzz-tabs-font-style,--rndzz-tabs-font-style-active,--rndzz-tabs-font-style-hover,--rndzz-tabs-font-weight,--rndzz-tabs-font-weight-active,--rndzz-tabs-font-weight-hover,--rndzz-tabs-margin,--rndzz-tabs-padding,--rndzz-tabs-text-align,--rndzz-tabs-text-align-active,--rndzz-tabs-text-align-hover,--rndzz-tabs-text-decoration,--rndzz-tabs-text-decoration-active,--rndzz-tabs-text-decoration-hover,--rndzz-tag-background-color,--rndzz-tag-border-color,--rndzz-tag-border-radius,--rndzz-tag-border-width,--rndzz-tag-color,--rndzz-tag-font-family,--rndzz-tag-font-size,--rndzz-tag-font-style,--rndzz-tag-font-weight,--rndzz-tag-line-height,--rndzz-tag-margin,--rndzz-tag-padding,--rndzz-tag-text-align,--rndzz-tag-text-decoration,--rndzz-tag-text-transform,--rndzz-text-color,--rndzz-text-color-hover,--rndzz-text-font-family,--rndzz-text-font-family-hover,--rndzz-text-font-size,--rndzz-text-font-size-hover,--rndzz-text-font-style,--rndzz-text-font-style-hover,--rndzz-text-font-weight,--rndzz-text-font-weight-hover,--rndzz-text-line-height,--rndzz-text-line-height-hover,--rndzz-text-text-align,--rndzz-text-text-align-hover,--rndzz-text-text-decoration,--rndzz-text-text-decoration-hover,--rndzz-text-text-transform,--rndzz-text-text-transform-hover,--rndzz-theme-font-family,--rndzz-theme-primary-color,--rndzz-theme-text-color,--rndzz-title-background-color,--rndzz-title-border-color,--rndzz-title-border-radius,--rndzz-title-border-width,--rndzz-title-color,--rndzz-title-font-family,--rndzz-title-font-size,--rndzz-title-font-style,--rndzz-title-font-weight,--rndzz-title-line-height,--rndzz-title-margin,--rndzz-title-padding,--rndzz-title-text-align,--rndzz-title-text-decoration,--rndzz-title-text-transform,--rndzz-toggle-background-color,--rndzz-toggle-background-color-hover,--rndzz-toggle-border-color,--rndzz-toggle-border-color-hover,--rndzz-toggle-border-radius,--rndzz-toggle-border-width,--rndzz-toggle-color,--rndzz-toggle-color-hover,--rndzz-toggle-color-open,--rndzz-toggle-font-family,--rndzz-toggle-font-family-hover,--rndzz-toggle-font-family-open,--rndzz-toggle-font-size,--rndzz-toggle-font-size-hover,--rndzz-toggle-font-size-open,--rndzz-toggle-font-style,--rndzz-toggle-font-style-hover,--rndzz-toggle-font-style-open,--rndzz-toggle-font-weight,--rndzz-toggle-font-weight-hover,--rndzz-toggle-font-weight-open,--rndzz-toggle-icon-color,--rndzz-toggle-icon-color-hover,--rndzz-toggle-icon-color-open,--rndzz-toggle-icon-size,--rndzz-toggle-icon-space,--rndzz-toggle-margin,--rndzz-toggle-open-icon-size,--rndzz-toggle-padding,--rndzz-toggle-shadow-blur,--rndzz-toggle-shadow-color,--rndzz-toggle-shadow-offset,--rndzz-toggle-shadow-spread,--rndzz-toggle-text-align,--rndzz-toggle-text-decoration,--rndzz-toggle-text-decoration-hover,--rndzz-toggle-text-decoration-open",Ro=_o.includes("__USED_CSS")?void 0:new Set(_o.split(",")),No=/(--[a-zA-Z0-9-]+)\s*:[^;]*;/g;const Eo=(Ho=Ro)?t=>t.replace(No,(t,e)=>Ho.has(e)?t:""):t=>t;var Ho;const Mo="rndzz-host";class Do{#l;#d;#c=[];constructor(t){this.host=t,t.addController(this)}initData(t){this.#h(t)}hostConnected(){this.#l=Po(this.host,t=>this.#f(t))}hostDisconnected(){this.#l?.(),this.#l=void 0}#h(t){t&&this.rendering!==t&&(this.rendering=t,this.#d=void 0,this.#c=this.#p(t),this.computedStylesScript=this.#g(t["@type"],this.#c),!1!==this.host.runtimeConfig?.loadFonts&&bo(ho(t["@type"],this.#c,0)),this.#u(t),this.#z(void 0,t))}#f(t){this.rendering&&this.#z(t.contentRect.width,this.rendering)}#z(t=this.host.offsetWidth||this.host.initialWidthHint,e){const r=this.rendering===e&&this.#c.length?this.#c:this.#p(e),o=function(t,e){if(0===e)return 0;var r=Br([],t,!0).reverse().find(function(t){return!t.breakpointWidth||t.breakpointWidth>=e});return t.indexOf(r)}(r,t??0);if(this.#d===o)return;this.#d=o;const n=ho(e["@type"],r,o);Rt.trace(this.host,`Computed configuration for containerWidth: ${t}`,n),this.designConfiguration=n,this.host.requestUpdate()}#p(t){return t.design?.configurations?.length?t.design.configurations:function(t){switch(t){case"BOX":return Er;case"CTA":return Dr;case"CARD":return Wr;case"CAROUSEL":return Jr;case"HTML":case"CONTAINER":case"PAGE":return Yr;default:return[]}}(t["@type"])}#u(t){const e=Lo.get(t["@type"]);if(!e)return void(this.jsonLdScript=void 0);const r=new e;r.hasOffer(t)?this.jsonLdScript=JSON.stringify(r.getJsonSchema(t)):this.jsonLdScript=void 0}#g(t,e){if(!e?.length)return"";const r=function(t){switch(t){case"CAROUSEL":return"carousel";case"PAGE":case"CONTAINER":case"HTML":return"page";default:return}}(t),o=[],n=ho(t,e,0),i=Eo(co(n.cssVariables||{},r));o.push(`:host { container-type: inline-size !important; container-name: ${Mo} !important; ${i}}`);for(let n=1;n<e.length;n++){const i=e[n];if(!i.breakpointWidth)continue;const a=ho(t,e,n),s=Eo(co(a.cssVariables||{},r));s&&o.push(`@container ${Mo} (max-width: ${i.breakpointWidth}px) { :host > * { ${s}}}`)}return o.join("\n")}}class Uo extends Z{static{this.BASE_REGEXPS=[{regexp:/\${mediaName}/g,replacement:t=>t.mediaName||"",requirementsAvailable:t=>!!t.mediaName},{regexp:/\${productName}/g,replacement:t=>t.productName||"",requirementsAvailable:t=>!!t.productName},{regexp:/\${productBrand}/g,replacement:t=>t.productBrand||"",requirementsAvailable:t=>!!t.productBrand}]}static applyReplacements(t,e,r){const o=[];if(r.every(r=>{const n=r.regexp.test(t);r.regexp.lastIndex=0,o.push(n);const i=!r.requirementsAvailable||r.requirementsAvailable(e);return!n||i}))return r.filter((t,e)=>o[e]).reduce((t,{regexp:r,replacement:o})=>t.replace(r,o(e)),t)}static{this.NBSP=" "}static preserveWhitespace(t){if(""===t.trim())return"";const e=Uo.NBSP;return t.replace(/^\s/,e).replace(/\s$/,e).replace(/(\S)\s+(?=<)/g,`$1${e}`).replace(/(?<=>)\s+(\S)/g,`${e}$1`)}static wrapPlainTextChunks(t){if(!/<\/?[a-z][\s\S]*>/i.test(t))return t;return t.split(/(<[^>
1]+>)/g).filter(t=>""!==t).map(t=>/^<[^>]+>$/.test(t)?t:`<span>${t}</span>`).join("")}static getPrice(t,e){const r=t.specialPrice?.price??t.price;return r>=0?ko(r,t.currency,e?.settings.isRoundedPrice):""}static getCrossedPrice(t,e="crossed-price",r){const o=t.crossedPrice;return o&&o>=0?`<span class="${e}">${ko(o,t.currency,r?.settings.isRoundedPrice)}</span>`:""}static mapPlainTextChunksToNoCrawlable(t){return t.split(/(<[^>]+>)/g).filter(t=>""!==t).map(t=>/^<[^>]+>$/.test(t)?t:`<span data-content="${t}" class="from-content-attribute"></span>`).join("")}static isolateCrossedPrice(t){const e=/(<span class="rndzz-crossed-price">.*?<\/span>)/,r=t.match(e);if(r){return`${r[1]}<span class="rndzz-isolated-content">${t.replace(e,"")}</span>`}return t}}class jo extends Uo{static{this.REGEXPS=[]}static transform(t,e){if(!t)return;let r=Uo.applyReplacements(t,e,[...Uo.BASE_REGEXPS,...jo.REGEXPS]);return null!=r?(r=Uo.preserveWhitespace(r),r=Uo.wrapPlainTextChunks(r),r):void 0}render(t,e){return jo.transform(t,e)}}let Wo=class extends Z{constructor(t){if(super(t),this.it=w,t.type!==M)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===w||null==t)return this._t=void 0,this.it=t;if(t===C)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Wo.directiveName="unsafeHTML",Wo.resultType=1;const Zo=W(Wo),qo=Zo,Go=Zo,Xo=new Map,Jo="function"==typeof CSSStyleSheet&&"replaceSync"in CSSStyleSheet.prototype&&"function"==typeof ShadowRoot&&"adoptedStyleSheets"in ShadowRoot.prototype;function Ko(t){if(!Jo||!t)return;let e=Xo.get(t);return e||(e=new CSSStyleSheet,e.replaceSync(t),Xo.set(t,e)),e}const Qo=W(class extends Z{constructor(t){if(super(t),t.type!==H||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const r=t.element.classList;for(const t of this.st)t in e||(r.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)))}return C}}),Yo="important",tn=" !"+Yo,en=W(class extends Z{constructor(t){if(super(t),t.type!==H||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const o=t[r];return null==o?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?r.removeProperty(t):r[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(tn);t.includes("-")||e?r.setProperty(t,e?o.slice(0,-11):o,e?Yo:""):r[t]=o}}return C}});class rn extends Z{static{this.REG_LOWER_PRICE=new RegExp("\\${lowerPrice}","g")}static{this.REG_PRODUCT_NAME=new RegExp("\\${(contentProductName|tableTitle)}","g")}render(t,e,r){return jo.transform(t,e)?.replace(rn.REG_PRODUCT_NAME,e.productName||"").replace(rn.REG_LOWER_PRICE,this.#m(e,r))??""}#m(t,e){const r=t.tabs.map(t=>{const e=t.offers[0];return e?{price:e.specialPrice?.price||e.price,currency:e.currency}:void 0}).filter(t=>t).sort((t,e)=>(t?.price??0)-(e?.price??0))?.[0];return r?ko(r.price,r.currency,e.settings.isRoundedPrice):""}}function on(t,e){const r={offer:e,productBrand:t.productBrand,productName:t.productName};return JSON.stringify(r)}const nn=(t,e,r)=>{const o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},an=W(class extends Z{constructor(t){if(super(t),t.type!==M)throw Error("repeat() can only be used in text expressions")}
1dt(t,e,r){let o;void 0===r?r=e:void 0!==e&&(o=e);const n=[],i=[];let a=0;for(const e of t)n[a]=o?o(e,a):a,i[a]=r(e,a),a++;return{values:i,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=a,i;const s=this.ut??=[],l=[];let d,c,h=0,f=n.length-1,p=0,g=i.length-1;for(;h<=f&&p<=g;)if(null===n[h])h++;else if(null===n[f])f--;else if(s[h]===a[p])l[p]=Q(n[h],i[p]),h++,p++;else if(s[f]===a[g])l[g]=Q(n[f],i[g]),f--,g--;else if(s[h]===a[g])l[g]=Q(n[h],i[g]),K(t,l[g+1],n[h]),h++,g--;else if(s[f]===a[p])l[p]=Q(n[f],i[p]),K(t,n[h],n[f]),f--,p++;else if(void 0===d&&(d=nn(a,p,g),c=nn(s,h,f)),d.has(s[h]))if(d.has(s[f])){const e=c.get(a[p]),r=void 0!==e?n[e]:null;if(null===r){const e=K(t,n[h]);Q(e,i[p]),l[p]=e}else l[p]=Q(r,i[p]),K(t,n[h],r),n[e]=null;p++}else tt(n[f]),f--;else tt(n[h]),h++;for(;p<=g;){const e=K(t,l[g+1]);Q(e,i[p]),l[p++]=e}for(;h<=f;){const t=n[h++];null!==t&&tt(t)}return this.ut=a,((t,e=Y)=>{t._$AH=e})(t,l),C}});class sn{#l;#b;constructor(t){this.host=t,this.hasContentOverflow=!1,this.isTabPartiallyOverflow=[],t.addController(this)}hostConnected(){this.#l=Po(this.host,()=>this.#v())}hostDisconnected(){this.#l?.(),this.#l=void 0,void 0!==this.#b&&(cancelAnimationFrame(this.#b),this.#b=void 0)}hostUpdated(){this.#v()}#v(){void 0===this.#b&&(this.#b=requestAnimationFrame(()=>{this.#b=void 0,this.#x()}))}#x(){const t=this.host.getBoundingClientRect().right,e=this.host.shadowRoot?.querySelector(".box-tab:last-child")?.getBoundingClientRect().right,r=e&&e>t||!1;if(this.hasContentOverflow!==r&&(this.hasContentOverflow=r,this.host.requestUpdate()),"expandable"===this.host.designConfiguration.settings.tabsDisplay){const t=this.host.shadowRoot?.querySelector(".box-tabs")?.getBoundingClientRect(),e=[];Array.from(this.host.shadowRoot?.querySelectorAll(".box-tab:not(.expand-button)")??[]).map(t=>[Number.parseInt(t.id.split("-")[1]),t.getBoundingClientRect().right]).forEach(r=>e[r[0]]=r[1]>(t?.right??0)),JSON.stringify(this.isTabPartiallyOverflow)!==JSON.stringify(e)&&(this.isTabPartiallyOverflow=e,this.host.requestUpdate())}}}var ln=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{align-items:start;background-color:var(--rndzz-tabs-container-background-color,transparent);border-color:var(--rndzz-tabs-container-border-color,transparent);border-radius:var(--rndzz-tabs-container-border-radius,0);border-style:solid;border-width:var(--rndzz-tabs-container-border-width,0);display:grid;grid-template-columns:1fr auto;margin:var(--rndzz-tabs-container-margin,0);padding:var(--rndzz-tabs-container-padding,0)}:host .box-tabs{display:flex;list-style:none;margin:0;min-width:0;padding:0}:host .box-tabs.display-scroll{overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}:host .box-tabs.display-scroll::-webkit-scrollbar{display:none}:host .box-tabs.display-scroll .box-tab{max-width:30%;overflow:hidden;scroll-snap-align:start}:host .box-tabs.display-expandable .box-tab,:host .box-tabs.display-scroll .box-tab{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap}:host .box-tabs.display-expandable .box-tab.partially-overflow{visibility:hidden}:host .box-tabs.display-expandable:not(.expanded){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .box-tabs.display-expandable.expanded{flex-wrap:wrap}:host .box-tabs.display-wrap{flex-wrap:wrap;justify-content:space-evenly}:host .box-tabs.display-wrap .box-tab{flex-grow:1}:host .box-tab{background-color:var(--rndzz-tabs-background-color,transparent);border-color:var(--rndzz-tabs-border-color,transparent);border-radius:var(--rndzz-tabs-border-radius,0);border-style:solid;border-width:var(--rndzz-tabs-border-width,0);color:var(--rndzz-tabs-color);cursor:pointer;flex-shrink:0;font-family:var(--rndzz-tabs-font-family),sans-serif;font-size:var(--rndzz-tabs-font-size);font-style:var(--rndzz-tabs-font-style);font-weight:var(--rndzz-tabs-font-weight);line-height:calc(var(--rndzz-tabs-font-size)*1.25);margin:var(--rndzz-tabs-margin,0);max-width:100%;padding:var(--rndzz-tabs-padding,0);text-align:var(--rndzz-tabs-text-align);text-decoration:var(--rndzz-tabs-text-decoration);transition:color .25s,background-color .25s,border-color .25s}
1:host .box-tab span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .box-tab:hover{background-color:var(--rndzz-tabs-background-color-hover,transparent);border-color:var(--rndzz-tabs-border-color-hover,transparent);color:var(--rndzz-tabs-color-hover);font-family:var(--rndzz-tabs-font-family-hover),sans-serif;font-size:var(--rndzz-tabs-font-size-hover);font-style:var(--rndzz-tabs-font-style-hover);font-weight:var(--rndzz-tabs-font-weight-hover);text-align:var(--rndzz-tabs-text-align-hover);text-decoration:var(--rndzz-tabs-text-decoration-hover)}:host .box-tab.active{background-color:var(--rndzz-tabs-background-color-active,transparent);border-color:var(--rndzz-tabs-border-color-active,transparent);color:var(--rndzz-tabs-color-active);cursor:default;font-family:var(--rndzz-tabs-font-family-active),sans-serif;font-size:var(--rndzz-tabs-font-size-active);font-style:var(--rndzz-tabs-font-style-active);font-weight:var(--rndzz-tabs-font-weight-active);text-align:var(--rndzz-tabs-text-align-active);text-decoration:var(--rndzz-tabs-text-decoration-active)}:host .expand-button{padding-left:10px;padding-right:10px}`;let dn=class extends Pt{constructor(){super(...arguments),this.isExpanded=!1,this.#y=new sn(this)}static{this.styles=ln}#y;render(){return this.rendering&&this.designConfiguration?y`<ol class="${Qo({"box-tabs":!0,[`display-${this.designConfiguration.settings.tabsDisplay}`]:!0,expanded:this.isExpanded})}">${an(this.rendering.tabs,(t,e)=>e,(t,e)=>ge(t.offers.length>0,()=>this.#C(t,e)))}</ol>${ge("expandable"===this.designConfiguration.settings.tabsDisplay&&(this.#y.hasContentOverflow||this.isExpanded),()=>y`<button class="expand-button box-tab" @click="${()=>this.#w()}">${this.isExpanded?"-":"+"}</button>`)}`:w}#C(t,e){const r=this.selectedTabIdx===e;return y`<li id="tab-${e}" class="${Qo({"box-tab":!0,active:r,"partially-overflow":this.#y.isTabPartiallyOverflow[e]})}" role="button" tabindex="0" aria-pressed="${r}" @click="${()=>this.#k(e)}" @keydown="${t=>this.#F(t,e)}"><span>${t.title}</span></li>`}#F(t,e){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.#k(e))}#k(t){if(this.selectedTabIdx!==t){const e=new CustomEvent("selectedTabIdxChange",{detail:t});this.dispatchEvent(e)}}#w(){this.isExpanded=!this.isExpanded}};function cn(t,e){if(!t||t.startsWith("data"))return t;if(e){const r="p=wc_"+e;t.includes(r)||(t+=t.includes("?")?"&":"?",t+=r)}return t}Mt([Wt({type:Object})],dn.prototype,"rendering",void 0),Mt([Wt({type:Object})],dn.prototype,"designConfiguration",void 0),Mt([Wt({type:Number})],dn.prototype,"selectedTabIdx",void 0),Mt([Zt()],dn.prototype,"isExpanded",void 0),dn=Mt([Dt("rndzz-box-tabs")],dn);class hn extends Uo{static{this.REGEXPS=[{regexp:/\${offerPrice}/g,replacement:t=>Uo.getPrice(t.offer,t.design),requirementsAvailable:t=>!!t.offer.specialPrice?.price||!!t.offer.price},{regexp:/\${offerMerchant}/g,replacement:t=>t.offer.shopName||"",requirementsAvailable:t=>!!t.offer.shopName},{regexp:/\${strikeThroughPrice}/g,replacement:t=>Uo.getCrossedPrice(t.offer,"rndzz-crossed-price",t.design)}]}static transform(t,e,r){if(!t)return;let o=Uo.applyReplacements(t,e,[...hn.REGEXPS]);return null!=o?(o=Uo.preserveWhitespace(o),r?.isolateCrossedPrice&&(o=Uo.isolateCrossedPrice(o)),o=r?.preventCrawling?Uo.mapPlainTextChunksToNoCrawlable(o):Uo.wrapPlainTextChunks(o),o):void 0}render(t,e,r){const o=hn.transform(t,e,r);return null!=o?qo(o):void 0}}const fn=t=>t??w;let pn=class extends Pt{constructor(){super(...arguments),this.initial=!1,this.ensureCountryCode=!1}static{this.styles=mt`:host{display:contents}a:not(.initial){display:contents;color:unset;text-decoration:unset}`}firstUpdated(){this.ensureCountryCode&&(this.countryCode=function(){if("undefined"!=typeof navigator&&navigator.language)try{return new Intl.Locale(navigator.language).maximize().region}catch(t){return}}())}render(){const t=function(t,e){if(!t||!e||0===Array.from(e).length)return t;const r=t.trim();if(!r||"#"===r)return t;try{if(!To.test(r))return t;const o=new URL(t);if("http:"!==o.protocol&&"https:"!==o.protocol)return t;const n=new Set(o.searchParams.keys());for(const[t,r]of e)n.has(t)||o.searchParams.append(t,r);return o.toString()}catch(e){return t}}(Oo(this.url,this.runtimeConfig),this.#$)??"#";return y`<a href="${t}" class="${Qo({initial:this.initial})}" @click="${e=>this.#S(t,e)}" target="_blank" rel="sponsored" aria-label="${fn(this.accessibleLabel)}"><slot></slot></a>`}get#$(){const t=this.runtimeConfig?.linkQueryParams;if(!this.countryCode)return t;const e=new URLSearchParams(t);return e.has("cc")||e.append("cc",this.countryCode),e}#S(t,e){t&&"#"!==t||e.preventDefault()}};Mt([Wt()],pn.prototype,"url",void 0),Mt([Wt({type:Boolean})],pn.prototype,"initial",void 0),Mt([Wt({type:Boolean,attribute:"ensure-country-code"})],pn.prototype,"ensureCountryCode",void 0),Mt([Wt({attribute:"aria-label"})],pn.prototype,"accessibleLabel",void 0),Mt([Wt({attribute:!1}
1)],pn.prototype,"runtimeConfig",void 0),Mt([Zt()],pn.prototype,"countryCode",void 0),pn=Mt([Dt("rndzz-link")],pn);var gn=mt`:host .no-offer-wrapper{align-items:center;display:flex;height:100%;justify-content:center;width:100%}:host .no-offer-wrapper.button-align-start{justify-content:start}:host .no-offer-wrapper.button-align-end{justify-content:end}:host .no-offer-wrapper .no-offer{align-items:center;background-color:#eee;border-color:var(--rndzz-offer-button-border-color);border-radius:var(--rndzz-offer-button-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-button-border-width,0);display:inline-flex;gap:.15rem;margin:var(--rndzz-offer-button-margin,0);padding:.5rem .75rem}:host .no-offer-wrapper .no-offer .no-offer-text{color:#666;font-family:var(--rndzz-offer-button-font-family),sans-serif;font-size:var(--rndzz-offer-button-font-size);font-style:var(--rndzz-offer-button-font-style);font-weight:var(--rndzz-offer-button-font-weight);line-height:normal;text-decoration:var(--rndzz-offer-button-text-decoration);text-transform:var(--rndzz-offer-button-text-transform)}:host .no-offer-wrapper .merchant-search-fallback{align-items:center;background-color:var(--rndzz-offer-button-background-color);border-color:var(--rndzz-offer-button-border-color);border-radius:var(--rndzz-offer-button-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-button-border-width,0);box-sizing:border-box;cursor:pointer;display:inline-flex;margin:var(--rndzz-offer-button-margin,0);padding:var(--rndzz-offer-button-padding,.5rem .75rem);transition:background-color .25s,border-color .25s}:host .no-offer-wrapper .merchant-search-fallback .merchant-search-fallback-text{color:var(--rndzz-offer-button-color);font-family:var(--rndzz-offer-button-font-family),sans-serif;font-size:var(--rndzz-offer-button-font-size);font-style:var(--rndzz-offer-button-font-style);font-weight:var(--rndzz-offer-button-font-weight);line-height:normal;text-decoration:var(--rndzz-offer-button-text-decoration);text-transform:var(--rndzz-offer-button-text-transform);transition:color .25s}:host .no-offer-wrapper .merchant-search-fallback:hover{--rndzz-offer-button-background-color:var(--rndzz-offer-button-background-color-hover);--rndzz-offer-button-border-color:var(--rndzz-offer-button-border-color-hover);--rndzz-offer-button-font-family:var(--rndzz-offer-button-font-family-hover);--rndzz-offer-button-font-size:var(--rndzz-offer-button-font-size-hover);--rndzz-offer-button-color:var(--rndzz-offer-button-color-hover);--rndzz-offer-button-font-weight:var(--rndzz-offer-button-font-weight-hover);--rndzz-offer-button-font-style:var(--rndzz-offer-button-font-style-hover);--rndzz-offer-button-text-decoration:var(--rndzz-offer-button-text-decoration-hover);--rndzz-offer-button-text-transform:var(--rndzz-offer-button-text-transform-hover)}`;let un=class extends Pt{constructor(){super(...arguments),this.buttonAlign="center"}static{this.styles=gn}render(){return y`<div class="no-offer-wrapper button-align-${this.buttonAlign}">${ge(!!this.fallbackUrl,()=>this.#B(),()=>y`<div class="no-offer"><div class="no-offer-text">${Fr("no-offer")}</div></div>`)}</div>`}#B(){const t=Fr("merchant-search-fallback");return y`<rndzz-link .url="${this.fallbackUrl}" .runtimeConfig="${this.runtimeConfig}" ensure-country-code aria-label="${t}"><span class="merchant-search-fallback"><span class="merchant-search-fallback-text">${t}</span></span></rndzz-link>`}};Mt([Wt()],un.prototype,"buttonAlign",void 0),Mt([Wt()],un.prototype,"fallbackUrl",void 0),Mt([Wt({attribute:!1})],un.prototype,"runtimeConfig",void 0),un=Mt([Dt("rndzz-no-offer")],un);const zn=W(class extends Z{constructor(t){if(super(t),t.type!==M)throw new Error("icon directive can only be used in child expressions")}render(t,e){if(!t)return C;const r=vo.get(t)??t;return y`<span class="${e?`rndzz-icon ${e}`:"rndzz-icon"}">${Go(r)}</span>`}});var mn=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{background-color:var(--rndzz-offer-list-background-color);border-color:var(--rndzz-offer-list-border-color);border-radius:var(--rndzz-offer-list-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-list-border-width,0);
1display:block;margin:var(--rndzz-offer-list-margin,0);padding:var(--rndzz-offer-list-padding,0)}:host([behavior=fixed]){overflow:auto}:host([no-offer]){height:100%}:host .rndzz-offer-list-wrapper{display:grid;grid-template-rows:max-content 0fr;overflow:hidden;transition:grid-template-rows .25s ease-out}:host .rndzz-offer-list-wrapper.rndzz-expanded{grid-template-rows:max-content 1fr}:host .rndzz-offer-list{height:auto;margin:0;overflow:hidden;padding:0;width:100%}:host .rndzz-offer-list li{list-style:none}:host .rndzz-offer-list a{color:unset;text-decoration:unset}:host .rndzz-offer-list a:active,:host .rndzz-offer-list a:focus,:host .rndzz-offer-list a:hover{color:unset;text-decoration:unset}:host .rndzz-offer-list .rndzz-grid-wrapper{display:grid;grid-template-columns:var(--rndzz-offer-list-columns-proportions);position:relative}:host .rndzz-offer-list .rndzz-grid-wrapper>*{align-items:center;display:inline-flex}:host .rndzz-offer-list .rndzz-hide{opacity:0}:host .rndzz-offer-list .rndzz-hide .rndzz-merchant-type-label,:host .rndzz-offer-list .rndzz-hide .rndzz-offer-condition{display:none}:host .rndzz-offer-list:last-of-type{margin-top:calc(min(var(--rndzz-offer-margin-bottom),var(--rndzz-offer-margin-top))*-1)}:host .rndzz-offer-list-expandable{overflow:hidden}:host .rndzz-offer-list-expandable.rndzz-expanded{grid-template-rows:1fr}:host .rndzz-offer-list-header{background-color:var(--rndzz-offer-list-header-background-color);border-color:var(--rndzz-offer-list-header-border-color);border-radius:var(--rndzz-offer-list-header-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-list-header-border-width,0);color:var(--rndzz-offer-list-header-color);font-family:var(--rndzz-offer-list-header-font-family),sans-serif;font-size:var(--rndzz-offer-list-header-font-size);font-weight:var(--rndzz-offer-list-header-font-weight);margin:var(--rndzz-offer-list-header-margin,0);padding:var(--rndzz-offer-list-header-padding,0);text-decoration:var(--rndzz-offer-list-header-text-decoration);text-transform:var(--rndzz-offer-list-header-text-transform)}:host .rndzz-offer-list-header .rndzz-header-merchant .rndzz-text{text-align:left;width:100%}:host .rndzz-offer-list-header .rndzz-header-stock .rndzz-text{text-align:center;width:100%}:host .rndzz-offer-list-header .rndzz-header-price .rndzz-text{text-align:var(--rndzz-offer-price-text-align);width:100%}:host .rndzz-offer-list-header .rndzz-header-button{line-height:0;visibility:hidden}:host .rndzz-offer{background-color:var(--rndzz-offer-background-color);border-color:var(--rndzz-offer-border-color);border-radius:var(--rndzz-offer-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-border-width,0);margin:var(--rndzz-offer-margin,0);padding:var(--rndzz-offer-padding,0);transition:background-color .25s,border-color .25s}:host .rndzz-offer:hover{--rndzz-offer-background-color:var(--rndzz-offer-background-color-hover);--rndzz-offer-border-color:var(--rndzz-offer-border-color-hover);--rndzz-offer-button-background-color:var(--rndzz-offer-button-background-color-hover);--rndzz-offer-button-border-color:var(--rndzz-offer-button-border-color-hover);--rndzz-offer-button-font-family:var(--rndzz-offer-button-font-family-hover);--rndzz-offer-button-font-size:var(--rndzz-offer-button-font-size-hover);--rndzz-offer-button-color:var(--rndzz-offer-button-color-hover);--rndzz-offer-button-font-weight:var(--rndzz-offer-button-font-weight-hover);--rndzz-offer-button-font-style:var(--rndzz-offer-button-font-style-hover);--rndzz-offer-button-text-decoration:var(--rndzz-offer-button-text-decoration-hover);--rndzz-offer-button-text-transform:var(--rndzz-offer-button-text-transform-hover);--rndzz-crossed-price-text-color:var(--rndzz-crossed-price-text-color-hover);--rndzz-offer-button-icon-color:var(--rndzz-offer-button-icon-color-hover)}:host .rndzz-offer .rndzz-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .rndzz-offer .rndzz-offer-column-wrapper{display:flex;flex-direction:column;justify-content:center;overflow:hidden;width:100%}:host .rndzz-offer .rndzz-offer-merchant{background-color:var(--rndzz-offer-merchant-background-color);padding:var(--rndzz-offer-merchant-padding,0)}:host .rndzz-offer .rndzz-offer-merchant .rndzz-icon{margin-right:var(--rndzz-offer-merchant-icon-space);width:var(--rndzz-offer-merchant-icon-size)}:host .rndzz-offer .rndzz-offer-merchant .rndzz-merchant-label{color:var(--rndzz-offer-merchant-color);font-family:var(--rndzz-offer-merchant-font-family),sans-serif;font-size:var(--rndzz-offer-merchant-font-size);font-style:var(--rndzz-offer-merchant-font-style);
1font-weight:var(--rndzz-offer-merchant-font-weight);text-decoration:var(--rndzz-offer-merchant-text-decoration);text-transform:var(--rndzz-offer-merchant-text-transform)}:host .rndzz-offer .rndzz-offer-merchant .rndzz-merchant-type-label{color:var(--rndzz-offer-merchant-type-color);font-family:var(--rndzz-offer-merchant-type-font-family),sans-serif;font-size:var(--rndzz-offer-merchant-type-font-size);font-style:var(--rndzz-offer-merchant-type-font-style);font-weight:var(--rndzz-offer-merchant-type-font-weight);line-height:var(--rndzz-offer-merchant-type-font-size);padding:var(--rndzz-offer-merchant-type-padding,0);text-decoration:var(--rndzz-offer-merchant-type-text-decoration);text-transform:var(--rndzz-offer-merchant-type-text-transform)}:host .rndzz-offer .rndzz-offer-stock{background-color:var(--rndzz-offer-list-stock-background-color);border-color:var(--rndzz-offer-list-stock-border-color);border-radius:var(--rndzz-offer-list-stock-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-list-stock-border-width,0);color:var(--rndzz-offer-stock-icon-is-not-stock-color);justify-content:center;margin:var(--rndzz-offer-list-stock-margin,0);padding:var(--rndzz-offer-list-stock-padding,0)}:host .rndzz-offer .rndzz-offer-stock.rndzz-has-stock{color:var(--rndzz-offer-stock-icon-is-stock-color)}:host .rndzz-offer .rndzz-offer-stock .rndzz-icon{line-height:var(--rndzz-offer-stock-icon-size)}:host .rndzz-offer .rndzz-offer-stock .rndzz-icon svg{height:var(--rndzz-offer-stock-icon-size);width:var(--rndzz-offer-stock-icon-size)}:host .rndzz-offer .rndzz-offer-price{text-align:var(--rndzz-offer-price-text-align)}:host .rndzz-offer .rndzz-offer-price .rndzz-crossed-price,:host .rndzz-offer .rndzz-offer-price .rndzz-price-value{display:inline-block}:host .rndzz-offer .rndzz-offer-price .rndzz-price-value{color:var(--rndzz-offer-price-color);font-family:var(--rndzz-offer-price-font-family),sans-serif;font-size:var(--rndzz-offer-price-font-size);font-style:var(--rndzz-offer-price-font-style);font-weight:var(--rndzz-offer-price-font-weight);padding:var(--rndzz-offer-price-padding,0);text-decoration:var(--rndzz-offer-price-text-decoration)}:host .rndzz-offer .rndzz-offer-price .rndzz-crossed-price{color:var(--rndzz-offer-crossed-price-color);font-family:var(--rndzz-offer-crossed-price-font-family),sans-serif;font-size:var(--rndzz-offer-crossed-price-font-size);font-style:var(--rndzz-offer-crossed-price-font-style);font-weight:var(--rndzz-offer-crossed-price-font-weight);padding:var(--rndzz-offer-crossed-price-padding,0);text-decoration:line-through}:host .rndzz-offer .rndzz-offer-price .rndzz-crossed-price-position-top{display:block}:host .rndzz-offer .rndzz-offer-price .rndzz-offer-condition{color:var(--rndzz-offer-condition-color);font-family:var(--rndzz-offer-condition-font-family),sans-serif;font-size:var(--rndzz-offer-condition-font-size);font-style:var(--rndzz-offer-condition-font-style);font-weight:var(--rndzz-offer-condition-font-weight);line-height:var(--rndzz-offer-condition-font-size);padding:var(--rndzz-offer-condition-padding,0);text-decoration:var(--rndzz-offer-condition-text-decoration)}:host .rndzz-offer.rndzz-first-price{--rndzz-offer-merchant-font-family:var(--rndzz-offer-merchant-font-family-cheapest);--rndzz-offer-merchant-font-size:var(--rndzz-offer-merchant-font-size-cheapest);--rndzz-offer-merchant-color:var(--rndzz-offer-merchant-color-cheapest);--rndzz-offer-merchant-font-weight:var(--rndzz-offer-merchant-font-weight-cheapest);--rndzz-offer-merchant-font-style:var(--rndzz-offer-merchant-font-style-cheapest);--rndzz-offer-merchant-text-decoration:var(--rndzz-offer-merchant-text-decoration-cheapest);--rndzz-offer-price-font-family:var(--rndzz-offer-price-font-family-cheapest);--rndzz-offer-price-font-size:var(--rndzz-offer-price-font-size-cheapest);--rndzz-offer-price-color:var(--rndzz-offer-price-color-cheapest);--rndzz-offer-price-font-weight:var(--rndzz-offer-price-font-weight-cheapest);--rndzz-offer-price-font-style:var(--rndzz-offer-price-font-style-cheapest);--rndzz-offer-price-text-decoration:var(--rndzz-offer-price-text-decoration-cheapest);--rndzz-offer-price-text-align:var(--rndzz-offer-price-text-align-cheapest)}:host .rndzz-offer.rndzz-first-price:not(:hover){--rndzz-offer-background-color:var(--rndzz-offer-background-color-cheapest)}:host .rndzz-offer.rndzz-first-price .rndzz-offer-stock{color:var(--rndzz-offer-stock-icon-cheapest-color,var(--rndzz-offer-stock-icon-is-not-stock-color))}:host .rndzz-offer.rndzz-first-price .rndzz-offer-stock.rndzz-has-stock{color:var(--rndzz-offer-stock-icon-cheapest-color,var(--rndzz-offer-stock-icon-is-stock-color))}:host .rndzz-offer-button-wrapper{justify-content:end}:host .rndzz-offer-button{align-items:center;background-color:var(--rndzz-offer-button-background-color);border-color:var(--rndzz-offer-button-border-color);border-radius:var(--rndzz-offer-button-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-button-border-width,0);box-sizing:border-box;display:inline-flex;gap:.15rem;margin:var(--rndzz-offer-button-margin,0);padding:var(--rndzz-offer-button-padding,0);transition:background-color .25s,border-color .25s}:host .rndzz-offer-button .rndzz-button-label{color:var(--rndzz-offer-button-color);font-family:var(--rndzz-offer-button-font-family),sans-serif;font-size:var(--rndzz-offer-button-font-size);font-style:var(--rndzz-offer-button-font-style);font-weight:var(--rndzz-offer-button-font-weight);line-height:normal;text-decoration:var(--rndzz-offer-button-text-decoration);text-transform:var(--rndzz-offer-button-text-transform);transition:color .25s}:host .rndzz-offer-button .rndzz-button-label .rndzz-crossed-price{color:var(--rndzz-crossed-price-text-color);text-decoration:line-through;transition:color .25s}:host .rndzz-offer-button .rndzz-button-label .rndzz-crossed-price:not(:first-child){margin-left:var(--rndzz-crossed-price-spacing)}:host .rndzz-offer-button .rndzz-button-label .rndzz-crossed-price:not(:last-child){margin-right:var(--rndzz-crossed-price-spacing)}:host .rndzz-offer-button .rndzz-button-label .rndzz-crossed-price{font-family:var(--rndzz-crossed-price-font-family),sans-serif;font-size:calc(var(--rndzz-crossed-price-text-font-size-ratio)/100*var(--rndzz-offer-button-font-size));font-style:var(--rndzz-crossed-price-font-style);
1font-weight:var(--rndzz-crossed-price-font-weight)}:host .rndzz-offer-button .rndzz-button-label.crossed-price-top{align-items:flex-end;display:flex;flex-direction:column}:host .rndzz-offer-button .rndzz-icon{color:var(--rndzz-offer-button-icon-color)}:host .rndzz-offer-button .rndzz-icon svg{height:var(--rndzz-offer-button-icon-size);width:var(--rndzz-offer-button-icon-size)}:host .rndzz-actions{align-items:center;display:flex;flex-direction:row;justify-content:space-between}:host .rndzz-actions.rndzz-toggle-align-end{flex-direction:row-reverse}:host .rndzz-actions.rndzz-toggle-align-center,:host .rndzz-actions.rndzz-toggle-align-stretch{flex-direction:column}:host .rndzz-actions.rndzz-toggle-align-center{align-items:center}:host .rndzz-actions.rndzz-toggle-align-stretch{align-items:stretch}:host .rndzz-actions.rndzz-toggle-align-stretch .rndzz-toggle{flex:100%}:host .rndzz-actions.rndzz-toggle-align-stretch .rndzz-mentions{align-self:end}:host .rndzz-toggle{align-items:center;background-color:var(--rndzz-toggle-background-color);border-color:var(--rndzz-toggle-border-color);border-radius:var(--rndzz-toggle-border-radius,0);border-style:solid;border-width:var(--rndzz-toggle-border-width,0);color:var(--rndzz-toggle-color);cursor:pointer;display:flex;flex-direction:row;font-family:var(--rndzz-toggle-font-family),sans-serif;font-size:var(--rndzz-toggle-font-size);font-style:var(--rndzz-toggle-font-style);font-weight:var(--rndzz-toggle-font-weight);gap:var(--rndzz-toggle-icon-space,2px);justify-content:center;margin:var(--rndzz-toggle-margin,0);padding:var(--rndzz-toggle-padding,0);text-align:var(--rndzz-toggle-text-align);text-decoration:var(--rndzz-toggle-text-decoration);transition:color .25s,background-color .25s,border-color .25s}:host .rndzz-toggle .rndzz-icon{color:var(--rndzz-toggle-icon-color,var(--rndzz-toggle-color))}:host .rndzz-toggle .rndzz-icon svg{height:var(--rndzz-toggle-icon-size);width:var(--rndzz-toggle-icon-size)}:host .rndzz-toggle.hidden-behavior-hidden.rndzz-hidden{display:none}:host .rndzz-toggle.hidden-behavior-invisible.rndzz-hidden{visibility:hidden}:host .rndzz-toggle.rndzz-open{--rndzz-toggle-font-family:var(--rndzz-toggle-font-family-open);--rndzz-toggle-font-size:var(--rndzz-toggle-font-size-open);--rndzz-toggle-color:var(--rndzz-toggle-color-open);--rndzz-toggle-font-weight:var(--rndzz-toggle-font-weight-open);--rndzz-toggle-font-style:var(--rndzz-toggle-font-style-open);--rndzz-toggle-text-decoration:var(--rndzz-toggle-text-decoration-open);--rndzz-toggle-icon-color:var(--rndzz-toggle-icon-color-open)}:host .rndzz-toggle:hover{--rndzz-toggle-background-color:var(--rndzz-toggle-background-color-hover);--rndzz-toggle-border-color:var(--rndzz-toggle-border-color-hover);--rndzz-toggle-font-family:var(--rndzz-toggle-font-family-hover);--rndzz-toggle-font-size:var(--rndzz-toggle-font-size-hover);--rndzz-toggle-color:var(--rndzz-toggle-color-hover);--rndzz-toggle-font-weight:var(--rndzz-toggle-font-weight-hover);--rndzz-toggle-font-style:var(--rndzz-toggle-font-style-hover);--rndzz-toggle-text-decoration:var(--rndzz-toggle-text-decoration-hover);--rndzz-toggle-icon-color:var(--rndzz-toggle-icon-color-hover)}:host .rndzz-toggle.rndzz-has-shadow{box-shadow:var(--rndzz-toggle-shadow-offset) var(--rndzz-toggle-shadow-blur) var(--rndzz-toggle-shadow-spread) var(--rndzz-toggle-shadow-color)}`;let bn=class extends Pt{constructor(){super(...arguments),this.offers=[],this.nbMaxOffers=0,this.nbEmptyLines=0,this.buttonAlign="center",this.expandButtonHiddenBehavior="hidden",this.isOfferListExpanded=!1,this.fillList=[],this.userClickedExpand=!1,this.offerContentVariable=W(hn),this.#T=new Map,this.getOfferCondition=t=>{switch(t.condition){case"USED":return this.designConfiguration.settings.offerConditionUsedContent;case"REFURBISHED":return this.designConfiguration.settings.offerConditionRefurbishedContent;default:return null}}}static{this.styles=mn}#T;get noOffers(){return!this.offers||0===this.offers.length}get offerButtonState(){return{text:this.designConfiguration.settings.offerButtonContent,icon:{visible:this.designConfiguration.settings.offerButtonIconVisible,position:this.designConfiguration.settings.offerButtonIconPosition,appearance:this.designConfiguration.settings.offerButtonIconAppearance}}}get toggleState(){return this.isOfferListExpanded?{text:this.designConfiguration.settings.toggleContentOpen||this.designConfiguration.settings.toggleContent,icon:{visible:this.designConfiguration.settings.toggleIconVisible,position:this.designConfiguration.settings.toggleIconPosition,appearance:this.designConfiguration.settings.toggleIconAppearanceOpen||this.designConfiguration.settings.toggleIconAppearance}}:{text:this.designConfiguration.settings.toggleContent,icon:{visible:this.designConfiguration.settings.toggleIconVisible,position:this.designConfiguration.settings.toggleIconPosition,appearance:this.designConfiguration.settings.toggleIconAppearance}}}get isToggleVisible(){return this.designConfiguration.settings.toggleVisible&&"expand"===this.designConfiguration.settings.offerListBehavior&&(0===this.nbMaxOffers||this.designConfiguration.settings.offerListNbVisibleOffers<this.nbMaxOffers)}willUpdate(t){this.designConfiguration&&(t.has("offers")||t.has("renderingContent")||t.has("designConfiguration"))&&(this.#T=new Map((this.offers??[]).map(t=>[t,{json:on(this.renderingContent,t),ariaLabel:this.#O(t)}]))),(t.has("nbEmptyLines")||t.has("offers"))&&(this.fillList=[],this.nbEmptyLines>0&&this.offers.length>0&&(this.fillList=new Array(this.nbEmptyLines).fill(this.offers[this.offers.length-1]))),(t.has("designConfiguration")||t.has("offers"))&&this.designConfiguration&&(this.setAttribute("behavior",this.designConfiguration.settings.offerListBehavior),this.toggleAttribute("no-offer",this.noOffers))}render(){return this.designConfiguration?this.noOffers?y`<rndzz-no-offer .buttonAlign="${this.buttonAlign}" .fallbackUrl="${this.renderingContent?.merchantSearchFallbackUrl}" .runtimeConfig="${this.runtimeConfig}"></rndzz-no-offer>`:y`${this.#A()} ${this.#L()}`:w}#A(){const t=this.designConfiguration.settings,e="expand"===t.offerListBehavior,r=t.offerListNbVisibleOffers,o=e?this.offers?.slice(0,r)||[]:this.offers||[],n=e&&this.offers?.slice(r)||[];return y`<div class="${Qo({"rndzz-offer-list-wrapper":!0,"rndzz-expanded":this.isOfferListExpanded})}"><ol class="rndzz-offer-list">${ge(t.offerListHeaderVisible,()=>this.#I())} ${an(o,t=>t.offerId,(t,e)=>this.#V(t,e))}</ol>${ge(e&&(n.length>0||this.fillList.length>0),()=>y`<ol class="rndzz-offer-list">${an(n,t=>t.offerId,(t,e)=>this.#V(t,r+e))} ${an(this.fillList,(t,e)=>e,t=>this.#P(t))}</ol>`)}</div>`}#I(){const t=this.designConfiguration.settings;return y`<li class="${Qo({"rndzz-grid-wrapper":!0,"rndzz-offer-list-header":!0,"rndzz-display-stock":t.offerListStockVisible,"rndzz-display-price":t.offerListPriceVisible})}"><div class="rndzz-header-merchant"><div class="rndzz-text">${Fr("merchants")}</div></div>${ge(t.offerListStockVisible,()=>y`<div class="rndzz-header-stock"><div class="rndzz-text">${Fr("stock")}</div></div>`)} ${ge(t.offerListPriceVisible,()=>y`<div class="rndzz-header-price"><div class="rndzz-text">${Fr("price")}</div></div>`)}<div class="rndzz-offer-button-wrapper">${ge(this.offers.length>0,()=>y`<div class="rndzz-offer-button rndzz-header-button"><span class="rndzz-text">${this.offerContentVariable(this.offerButtonState.text,{design:this.designConfiguration,offer:this.offers[0]})} </span>${ge(this.offerButtonState.icon.visible,()=>zn(this.offerButtonState.icon.appearance))}</div>`)}</div></li>`}#V(t,e){const r=this.designConfiguration.settings,o=this.#T.get(t);return y`<li class="${Qo({"rndzz-offer":!0,"rndzz-first-price":0===e})}"><rndzz-link .url="${t.url}" .runtimeConfig="${this.runtimeConfig}" aria-label="${o?.ariaLabel??""}"><div class="${Qo({"rndzz-grid-wrapper":!0,"rndzz-display-stock":r.offerListStockVisible,"rndzz-display-price":r.offerListPriceVisible})}" data-offer="${o?.json??""}" aria-hidden="true">${this.#_(t)}</div></rndzz-link></li>`}#P(t){const e=this.designConfiguration.settings;return y`<li aria-hidden="true" class="${Qo({"rndzz-grid-wrapper":!0,"rndzz-offer":!0,"rndzz-hide":!0,"rndzz-display-stock":e.offerListStockVisible,"rndzz-display-price":e.offerListPriceVisible})}">${this.#_(t)}</li>`}#_(t){const e=this.designConfiguration.settings;return y`<div class="rndzz-offer-merchant">${ge(e.offerMerchantIconVisible&&t.shopIcon,()=>y`<img class="rndzz-icon" src="${cn(t.shopIcon,"icon")??""}" width="32" height="32" loading="lazy" decoding="async" alt="">`)}<div class="rndzz-offer-column-wrapper"><span class="rndzz-text rndzz-merchant-label from-content-attribute" data-content="${t.shopName}"></span> ${ge(e.offerMerchantTypeVisible&&t.marketplace,()=>y`<span class="rndzz-text rndzz-merchant-type-label from-content-attribute" data-content="${e.offerMerchantTypeContent}"></span>`)}</div></div>${ge(e.offerListStockVisible,()=>y`<div class="${Qo({"rndzz-offer-stock":!0,"rndzz-has-stock":!!t.stock})}" aria-label="${Fr(t.stock?"is-stock":"no-stock")}">${zn(t.stock?e.offerStockIconIsStockAppearance:e.offerStockIconIsNotStockAppearance)}</div>`)} ${ge(e.offerListPriceVisible,()=>y`<div class="rndzz-offer-price"><div class="rndzz-offer-column-wrapper">${ge(e.offerListCrossedPriceVisible&&!!t.crossedPrice,()=>y`<span class="${`rndzz-text rndzz-crossed-price from-content-attribute rndzz-crossed-price-position-${e.offerListCrossedPricePosition}`}" data-content="${ko(t.crossedPrice,t.currency,e.isRoundedPrice)}"></span>`)} <span class="rndzz-text rndzz-price-value from-content-attribute" data-content="${ko(t.specialPrice?.price??t.price,t.currency,e.isRoundedPrice)}"></span> ${ge(e.offerConditionVisible&&"NEW"!==t.condition,()=>y`<span class="rndzz-text rndzz-offer-condition from-content-attribute" data-content="${this.getOfferCondition(t)||t.condition&&Fr("condition."+t.condition)||""}"></span>`)}</div></div>`)}<div class="rndzz-offer-button-wrapper"><span class="rndzz-offer-button">${ge(this.offerButtonState.icon.visible&&"left"===this.offerButtonState.icon.position,()=>zn(this.offerButtonState.icon.appearance))} <span class="${Qo({"rndzz-text":!0,"rndzz-button-label":!0,"crossed-price-top":"top"===e.crossedPricePosition})}">
1${this.offerContentVariable(this.offerButtonState.text||Fr("BOX.see-offer"),{design:this.designConfiguration,offer:t},{preventCrawling:!0,isolateCrossedPrice:"top"===e.crossedPricePosition})}</span> ${ge(this.offerButtonState.icon.visible&&"right"===this.offerButtonState.icon.position,()=>zn(this.offerButtonState.icon.appearance))}</span></div>`}#L(){return y`<div class="${`rndzz-actions rndzz-toggle-align-${this.designConfiguration.cssVariables.toggleAlignment}`}">${ge(this.isToggleVisible,()=>y`<button class="${Qo({"rndzz-toggle":!0,[`hidden-behavior-${this.expandButtonHiddenBehavior}`]:!0,"rndzz-hidden":this.offers.length<=this.designConfiguration.settings.offerListNbVisibleOffers,"rndzz-open":this.isOfferListExpanded,"rndzz-has-shadow":this.designConfiguration.settings.toggleShadowVisible})}" @click="${t=>this.#R(t)}">${ge(this.toggleState.icon.visible&&"left"===this.toggleState.icon.position,()=>zn(this.toggleState.icon.appearance))} <span class="rndzz-text">${Fr(this.toggleState.text||(this.isOfferListExpanded?"less-offers":"more-offers"))} </span>${ge(this.toggleState.icon.visible&&"right"===this.toggleState.icon.position,()=>zn(this.toggleState.icon.appearance))}</button>`)}<slot></slot></div>`}#O(t){const e=this.designConfiguration.settings,r=hn.transform(this.offerButtonState.text||Fr("BOX.see-offer"),{design:this.designConfiguration,offer:t})||Fr("BOX.see-offer"),o=t.condition&&"NEW"!==t.condition?this.getOfferCondition(t)||Fr("condition."+t.condition):void 0;return[t.shopName,e.offerListPriceVisible?ko(t.specialPrice?.price??t.price,t.currency,e.isRoundedPrice):void 0,e.offerListStockVisible?Fr(t.stock?"is-stock":"no-stock"):void 0,e.offerConditionVisible?o:void 0,r.replace(/<[^>]*>/g,"")].filter(t=>!!t).join(", ")}#R(t){this.userClickedExpand||(this.userClickedExpand=!0),t.stopImmediatePropagation(),t.preventDefault(),this.isOfferListExpanded=!this.isOfferListExpanded}};Mt([Wt({type:Array})],bn.prototype,"offers",void 0),Mt([Wt({type:Number})],bn.prototype,"nbMaxOffers",void 0),Mt([Wt({type:Number})],bn.prototype,"nbEmptyLines",void 0),Mt([Wt({type:Object})],bn.prototype,"renderingContent",void 0),Mt([Wt({type:Object})],bn.prototype,"designConfiguration",void 0),Mt([Wt({attribute:!1})],bn.prototype,"runtimeConfig",void 0),Mt([Wt()],bn.prototype,"buttonAlign",void 0),Mt([Wt()],bn.prototype,"expandButtonHiddenBehavior",void 0),Mt([Zt()],bn.prototype,"isOfferListExpanded",void 0),Mt([Zt()],bn.prototype,"fillList",void 0),Mt([Zt()],bn.prototype,"userClickedExpand",void 0),bn=Mt([Dt("rndzz-offer-list")],bn);var vn=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{display:flex}:host([position=bottomRight]),:host([position=topRight]){flex-direction:row-reverse}:host([position=bottomCenter]){justify-content:center}:host .rndzz-gdpr-button{background-color:var(--rndzz-gdpr-background-color);border-color:var(--rndzz-gdpr-border-color);border-radius:var(--rndzz-gdpr-border-radius,0);border-style:solid;border-width:var(--rndzz-gdpr-border-width,0);color:var(--rndzz-gdpr-color);cursor:pointer;font-family:var(--rndzz-gdpr-font-family),sans-serif;font-size:var(--rndzz-gdpr-font-size);font-style:var(--rndzz-gdpr-font-style);font-weight:var(--rndzz-gdpr-font-weight);margin:var(--rndzz-gdpr-margin,0);padding:var(--rndzz-gdpr-padding,0);text-align:var(--rndzz-gdpr-text-align);text-decoration:var(--rndzz-gdpr-text-decoration)}:host .rndzz-gdpr-popover{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-shadow:0 0 4px rgba(17,20,83,.2);color:#000;font-family:Arial,Helvetica,sans-serif;font-size:11px;left:50%;margin:20px;opacity:0;padding:12px;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);transition:visibility .25s linear,opacity .25s linear;visibility:hidden;width:80%;z-index:1}:host .rndzz-gdpr-popover.rndzz-visible{opacity:1;visibility:visible}:host .rndzz-gdpr-popover .rndzz-content{display:block;overflow:auto}:host .rndzz-gdpr-popover .rndzz-content-link{align-items:center;color:inherit;display:flex;gap:4px;padding-top:8px}`;let xn=class extends Pt{constructor(){super(...arguments),this.isInfoPopoverDis
1played=!1}static{this.styles=vn}willUpdate(t){t.has("designConfiguration")&&this.designConfiguration&&this.setAttribute("position",this.designConfiguration.settings.gdprButtonPosition??"")}render(){if(!this.designConfiguration)return w;if(this.designConfiguration.settings.gdprButtonHide)return w;const t=this.designConfiguration.settings.gdprButtonContent||"mentions.$type.button",e=this.designConfiguration.settings.gdprContent||"mentions.$type.content";return y`<span class="rndzz-gdpr-button" @mouseenter="${()=>this.#N(!0)}" @mouseleave="${()=>this.#N(!1)}" @click="${()=>this.#N(!this.isInfoPopoverDisplayed)}">${Fr(t,this.type)}</span><div class="${Qo({"rndzz-gdpr-popover":!0,"rndzz-visible":this.isInfoPopoverDisplayed})}"><span class="rndzz-content from-content-attribute" data-content="${Fr(e,this.type)}"></span><div class="rndzz-arrow-down"></div></div>`}#N(t){this.isInfoPopoverDisplayed=t}};Mt([Wt({type:Object})],xn.prototype,"designConfiguration",void 0),Mt([Wt()],xn.prototype,"type",void 0),Mt([Zt()],xn.prototype,"isInfoPopoverDisplayed",void 0),xn=Mt([Dt("rndzz-mentions")],xn);var yn=mt`:host{flex:1}`;let Cn=class extends Pt{constructor(){super(...arguments),this.maxOffers=0,this.nbEmptyLines=0}static{this.styles=yn}willUpdate(t){if(t.has("tabIdx")||t.has("rendering")||t.has("designConfiguration")){this.maxOffers=Math.max(...this.rendering.tabs.map(t=>t.offers.length)),this.nbEmptyLines=0;const t=this.rendering.tabs[this.tabIdx];if(t?.offers?.length>0&&this.designConfiguration){const e=Math.min(this.designConfiguration.settings.offerListNbVisibleOffers,this.maxOffers);this.nbEmptyLines=e>t.offers.length?e-t.offers.length:0}}}render(){if(!this.rendering||!this.designConfiguration)return w;const t=this.rendering.tabs[this.tabIdx],e=this.rendering.tabs.length>1?"invisible":"hidden";return t?y`<rndzz-offer-list .offers="${t.offers}" .nbEmptyLines="${this.nbEmptyLines}" .nbMaxOffers="${this.maxOffers}" .designConfiguration="${this.designConfiguration}" .renderingContent="${this.rendering}" .expandButtonHiddenBehavior="${e}" .runtimeConfig="${this.runtimeConfig}">${ge("afterOffers"===this.designConfiguration.settings.gdprButtonPosition,()=>y`<rndzz-mentions class="rndzz-mentions" .designConfiguration="${this.designConfiguration}" type="BOX"></rndzz-mentions>`)}</rndzz-offer-list>`:w}};Mt([Wt({type:Number})],Cn.prototype,"tabIdx",void 0),Mt([Wt({type:Object})],Cn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Cn.prototype,"designConfiguration",void 0),Mt([Wt({attribute:!1})],Cn.prototype,"runtimeConfig",void 0),Mt([Zt()],Cn.prototype,"maxOffers",void 0),Mt([Zt()],Cn.prototype,"nbEmptyLines",void 0),Cn=Mt([Dt("rndzz-box-offer-list")],Cn);let wn=class extends Pt{static{this.styles=mt`:host{display:block;width:100%;height:100%}`}render(){return y`<svg width="100%" height="100%" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill="#404489" d="M29.45 38.2a1.1 1.1 0 0 1-1.1-1.1v-6.51l-1.78-1.79a3 3 0 0 0-.22 1.13v7.17a3.1 3.1 0 0 0 3.1 3.1h8.51l-2-2h-6.51z"/><path fill="#404489" d="m34.6 36.84-3.58-3.58v.18a3.42 3.42 0 0 0 3.42 3.41l.16-.01zM42.54 39.11l-.52-.47c.275-.467.423-.998.43-1.54v-7.17a3.11 3.11 0 0 0-3.11-3.11h-1.52l-.55-1.1a2 2 0 0 0-1.79-1.11h-2.21a2 2 0 0 0-1.79 1.11l-.55 1.1h-.73l-2.53-2.53a1 1 0 0 0-1.41 0 1 1 0 0 0 0 1.41l10.37 10.37 2.18 2.17 2.33 2.33a1.001 1.001 0 0 0 .71.29.998.998 0 0 0 .71-.29.999.999 0 0 0-.02-1.46zm-4.83-4.82a3.35 3.35 0 0 0 .12-.85 3.41 3.41 0 0 0-3.41-3.41 3.35 3.35 0 0 0-.85.12l-1.35-1.35 1.09-2.19h2.21l1.1 2.21h2.76a1.11 1.11 0 0 1 1.11 1.11v7.13l-2.78-2.77z"/></svg>`}};wn=Mt([Dt("rndzz-no-picture")],wn);var kn=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{color:var(--rndzz-theme-text-color);display:block;font-family:var(--rndzz-theme-font-family),sans-serif;font-size:14px;height:var(--rndzz-containable-height,auto);width:100%}:host .box-container{background-color:var(--rndzz-box-background-color,transparent);border-color:var(--rndzz-box-border-color,transparent);border-radius:var(--rndzz-box-border-radius,0);border-style:solid;border-width:var(--rndzz-box-border-width,0);box-sizing:border-box;height:inherit;margin:var(--rndzz-box-margin,0);padding:var(--rndzz-box-padding,0)}
1:host .box-container.has-shadow{box-shadow:var(--rndzz-box-shadow-offset) var(--rndzz-box-shadow-blur) var(--rndzz-box-shadow-spread) var(--rndzz-box-shadow-color)}:host .box-layout{display:flex;flex-direction:column;width:100%}:host .horizontal-layout{display:flex}:host .box-title{background-color:var(--rndzz-title-background-color,transparent);border-color:var(--rndzz-title-border-color,transparent);border-radius:var(--rndzz-title-border-radius,0);border-style:solid;border-width:var(--rndzz-title-border-width,0);color:var(--rndzz-title-color);display:-webkit-box;font-family:var(--rndzz-title-font-family),sans-serif;font-size:var(--rndzz-title-font-size);font-style:var(--rndzz-title-font-style);font-weight:var(--rndzz-title-font-weight);-webkit-line-clamp:3;line-height:var(--rndzz-title-line-height);margin:var(--rndzz-title-margin,0);padding:var(--rndzz-title-padding,0);text-align:var(--rndzz-title-text-align);text-decoration:var(--rndzz-title-text-decoration);text-transform:var(--rndzz-title-text-transform);-webkit-box-orient:vertical;overflow:hidden}:host .box-head-link{text-decoration:none}:host .box-product-image-wrapper{align-self:start}:host .box-product-image-wrapper.sizing-scaled{position:relative;width:var(--rndzz-product-image-width-percent)}:host .box-product-image-wrapper.sizing-scaled .box-product-image{aspect-ratio:1/1}:host .box-product-image-wrapper.sizing-fixed.box-position-top{width:100%}:host .box-product-image-wrapper.sizing-fixed .box-product-image{height:var(--rndzz-product-image-height,100%)}:host .box-product-image-wrapper.box-position-left.sizing-fixed,:host .box-product-image-wrapper.box-position-right.sizing-fixed{width:var(--rndzz-product-image-width)}:host .box-product-image-wrapper.box-position-top{align-self:center}:host .box-product-image-wrapper .box-product-image{align-items:var(--rndzz-product-image-align,center);background-color:var(--rndzz-product-image-background-color,transparent);border-color:var(--rndzz-product-image-border-color,transparent);border-radius:var(--rndzz-product-image-border-radius,0);border-style:solid;border-width:var(--rndzz-product-image-border-width,0);display:flex;flex-direction:column;justify-content:var(--rndzz-product-image-justify,center);margin:var(--rndzz-product-image-margin,0)}:host .box-product-image-wrapper .box-product-image img{border-radius:var(--rndzz-product-image-border-radius,0);max-height:var(--rndzz-product-image-scale,100%);max-width:var(--rndzz-product-image-scale,100%);object-fit:contain;overflow:clip;overflow-clip-margin:content-box}:host .box-offer-list-container{display:flex;flex-direction:column;overflow:hidden}:host .box-offer-list-container.fixed-height{height:var(--rndzz-offer-list-height,100%)}:host .box-offer-list-container.box-position-bottom,:host .box-offer-list-container.no-image{width:100%}:host .box-offer-list-container.box-position-side:not(.no-image).sizing-fixed{width:calc(100% - var(--rndzz-product-image-width))}:host .box-offer-list-container.box-position-side:not(.no-image).sizing-scaled{width:calc(100% - var(--rndzz-product-image-width-percent))}`;function Fn(t){if("undefined"==typeof window)return!0;const{top:e,bottom:r}=t.getBoundingClientRect();return e<(window.innerHeight||0)&&r>=0}let $n=class extends Pt{constructor(){super(...arguments),this.isImageAndTitleAsLink=!0,this.selectedTabIdx=0,this.#E=!0,this.#H=!1,this.boxVariableDirective=W(rn)}static{this.styles=kn}#M;#E;#H;get flexDirection(){switch(this.designConfiguration.settings.productImagePosition){case"left":return"row";case"right":return"row-reverse";default:return"column"}}get titleValue(){return this.boxVariableDirective(this.rendering.title||this.designConfiguration.settings.titleContent||"${productName}",this.rendering,this.designConfiguration)}get showTabs(){const t=(this.rendering.tabs?.length||0)>1,e=(this.rendering.tabs||[])?.some(t=>(t.offers?.length||0)>0);return t&&e}willUpdate(t){if(this.#H||(this.#H=!0,this.#E=Fn(this)),t.has("rendering")){const t=this.rendering?.title;t!==this.#M&&(this.#D(),this.#M=t)}}render(){if(!this.rendering||!this.designConfiguration)return w;const t=this.rendering.tabs[this.selectedTabIdx];return[ge(["topLeft","topRight"].includes(this.designConfiguration.settings.gdprButtonPosition??""),()=>y`<rndzz-mentions .designConfiguration="${this.designConfiguration}" type="BOX"></rndzz-mentions>`),ge(t,()=>this.#U(t)),ge(["bottomLeft","bottomRight","bottomCenter"].includes(this.designConfiguration.settings.gdprButtonPosition??""),()=>y`<rndzz-mentions .designConfiguration="${this.designConfiguration}" type="BOX"></rndzz-mentions>`)]}
1#U(t){return y`<div class="${Qo({"box-container":!0,"has-shadow":this.designConfiguration.settings.boxShadowVisible})}"><div class="box-layout">${[ge(this.designConfiguration.settings.titleVisible&&"top"===this.designConfiguration.settings.titlePosition,()=>this.#j(t)),ge(this.showTabs&&"top"===this.designConfiguration.settings.tabsPosition,()=>this.#W())]}<div class="horizontal-layout" style="${en({flexDirection:this.flexDirection})}">${ge(this.designConfiguration.settings.productImageVisible,()=>this.#Z(t))} ${this.#q(t)}</div>${ge("bottom"===this.designConfiguration.settings.gdprButtonPosition,()=>y`<rndzz-mentions .designConfiguration="${this.designConfiguration}" type="BOX"></rndzz-mentions>`)}</div></div>`}#j(t){return ge(this.designConfiguration.settings.titleVisible,()=>{const e=y`<span class="${Qo({"box-title":!0,[`box-position-${this.designConfiguration.settings.titlePosition}`]:!0})}">${this.titleValue}</span>`;return this.isImageAndTitleAsLink?y`<rndzz-link class="box-head-link" .url="${t?.offers?.[0]?.url??"#"}" .runtimeConfig="${this.runtimeConfig}" data-offer="${t?.offers?.[0]?on(this.rendering,t.offers[0]):""}">${e}</rndzz-link>`:e})}#W(){return y`<rndzz-box-tabs class="${Qo({"box-tabs":!0,[`box-position-${this.designConfiguration.settings.tabsPosition}`]:!0})}" .designConfiguration="${this.designConfiguration}" .rendering="${this.rendering}" .selectedTabIdx="${this.selectedTabIdx}" @selectedTabIdxChange="${t=>this.#G(t.detail)}"></rndzz-box-tabs>`}#Z(t){const e=`${this.rendering.title||this.rendering.productName} - ${t.title}`,r=y`<figure class="box-product-image">${ge(t.productImage,()=>y`<img fetchpriority="${this.#E?"high":"auto"}" loading="${this.#E?"eager":"lazy"}" decoding="async" src="${cn(t.productImage,"picture")}" alt="${e}" width="${this.rendering.productImageWidth??1200}" height="${this.rendering.productImageHeight??1200}">`,()=>y`<rndzz-no-picture></rndzz-no-picture>`)}</figure>`,o=this.isImageAndTitleAsLink?y`<rndzz-link class="box-head-link" .url="${t.offers?.[0]?.url??"#"}" .runtimeConfig="${this.runtimeConfig}" data-offer="${on(this.rendering,t.offers?.[0])}">${r}</rndzz-link>`:r;return y`<div class="${Qo({"box-product-image-wrapper":!0,[`box-position-${this.designConfiguration.settings.productImagePosition}`]:!0,[`sizing-${this.designConfiguration.settings.productImageSizing}`]:!0})}">${o}</div>`}#q(t){return y`<div class="${Qo({"box-offer-list-container":!0,"box-position-top":"top"===this.designConfiguration.settings.productImagePosition,"box-position-side":"top"!==this.designConfiguration.settings.productImagePosition,[`sizing-${this.designConfiguration.settings.productImageSizing}`]:!0,"no-image":!this.designConfiguration.settings.productImageVisible,"fixed-height":"fixed"===this.designConfiguration.settings.offerListBehavior})}">${[ge(this.designConfiguration.settings.titleVisible&&"aboveOffers"===this.designConfiguration.settings.titlePosition,()=>this.#j(t)),ge(this.showTabs&&"aboveOffers"===this.designConfiguration.settings.tabsPosition,()=>this.#W()),ge((this.rendering.tabs?.length||0)>0,()=>y`<rndzz-box-offer-list class="${Qo({"offer-list-no-offer":0===(t.offers?.length||0),[`behavior-${this.designConfiguration.settings.offerListBehavior}`]:!0})}" .tabIdx="${this.selectedTabIdx}" .rendering="${this.rendering}" .designConfiguration="${this.designConfiguration}" .runtimeConfig="${this.runtimeConfig}"></rndzz-box-offer-list>`,()=>y`<rndzz-no-offer .fallbackUrl="${this.rendering.merchantSearchFallbackUrl}" .runtimeConfig="${this.runtimeConfig}"></rndzz-no-offer>`)]}</div>`}#D(){const t=this.rendering.tabs.findIndex(t=>t.offers.length>0);this.selectedTabIdx=-1===t?0:t}#G(t){this.selectedTabIdx=t}};Mt([Wt({type:Object})],$n.prototype,"rendering",void 0),Mt([Wt({type:Object})],$n.prototype,"designConfiguration",void 0),Mt([Wt({type:Boolean})],$n.prototype,"isImageAndTitleAsLink",void 0),Mt([Wt({attribute:!1})],$n.prototype,"runtimeConfig",void 0),Mt([Zt()],$n.prototype,"selectedTabIdx",void 0),$n=Mt([Dt("rndzz-box")],$n);class Sn extends Uo{static{this.REGEXPS=[{regexp:/\${contentMerchant}/g,replacement:t=>t.rendering.shopName||"",requirementsAvailable:t=>!!t.rendering.shopName},{regexp:/\${contentProductName}/g,replacement:t=>t.rendering.productName||"",requirementsAvailable:t=>!!t.rendering.productName},{regexp:/\${contentMerchantIcon}/g,replacement:t=>t.rendering.shopIcon?`<img src="${t.rendering.shopIcon}" alt="" class="injected-image" />`:""},{regexp:/\${contentPrice}/g,replacement:t=>Uo.getPrice(t.rendering,t.designConfiguration),requirementsAvailable:t=>t.rendering.price>=0||!!t.rendering.specialPrice},{regexp:/\${strikeThroughPrice}/g,replacement:t=>Uo.getCrossedPrice(t.rendering,"crossed-price",t.designConfiguration)}]}static transform(t,e,r){if(!t)return;let o=Uo.applyReplacements(t,e,Uo.BASE_REGEXPS);return null!=o&&(o=Uo.applyReplacements(o,{rendering:e,designConfiguration:r},Sn.REGEXPS),null!=o)?(o=Uo.preserveWhitespace(o),o=Uo.wrapPlainTextChunks(o),o):void 0}render(t,e,r){const o=Sn.transform(t,e,r);return null!=o?qo(o):void 0}}class Bn extends Z{static{this.REG_PROMO_CODE=new RegExp("\\${promocode}","g")}render(t,e){return t?.replace(Bn.REG_PROMO_CODE,e.promoCode||"")??""}}var Tn=mt`:host{align-items:var(--rndzz-button-position);display:flex;flex-direction:column;width:100%}:host .cta{align-items:center;display:flex;justify-content:center;max-width:100%}:host .cta.promo-code-position-right{flex-direction:row}:host .cta.promo-code-position-right .promo-code{left:var(--rndzz-promo-code-offset-x);top:var(--rndzz-promo-code-offset-y)}:host .cta.promo-code-position-left{flex-direction:row-reverse}:host .cta.promo-code-position-left .promo-code{right:var(--rndzz-promo-code-offset-x);top:var(--rndzz-promo-code-offset-y)}:host .cta[class*=promo-code-position-bottom]{flex-direction:column}:host .cta[class*=promo-code-position-bottom] .promo-code{top:var(--rndzz-promo-code-offset-y)}:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomLeft{al
1ign-items:start}:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomLeft .promo-code{right:var(--rndzz-promo-code-offset-x)}:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomRight{align-items:end}:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomRight .promo-code{left:var(--rndzz-promo-code-offset-x)}:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomCenter .promo-code,:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomStretch .promo-code{left:var(--rndzz-promo-code-offset-x)}:host .cta[class*=promo-code-position-bottom].promo-code-position-bottomStretch{align-items:stretch}:host .cta[class*=promo-code-position-top]{flex-direction:column-reverse}:host .cta[class*=promo-code-position-top] .promo-code{bottom:var(--rndzz-promo-code-offset-y)}:host .cta[class*=promo-code-position-top].promo-code-position-topLeft{align-items:start}:host .cta[class*=promo-code-position-top].promo-code-position-topLeft .promo-code{right:var(--rndzz-promo-code-offset-x)}:host .cta[class*=promo-code-position-top].promo-code-position-topRight{align-items:end}:host .cta[class*=promo-code-position-top].promo-code-position-topRight .promo-code{left:var(--rndzz-promo-code-offset-x)}:host .cta[class*=promo-code-position-top].promo-code-position-topCenter .promo-code,:host .cta[class*=promo-code-position-top].promo-code-position-topStretch .promo-code{left:var(--rndzz-promo-code-offset-x)}:host .cta[class*=promo-code-position-top].promo-code-position-topStretch{align-items:stretch}:host .cta .cta-link{align-items:center;align-self:normal;background-color:var(--rndzz-button-background-color,var(--rndzz-theme-primary-color));border-color:var(--rndzz-button-border-color);border-radius:var(--rndzz-button-border-radius);border-style:solid;border-width:var(--rndzz-button-border-width,0);box-sizing:border-box;color:var(--rndzz-theme-text-color);display:inline-flex;margin:var(--rndzz-button-margin);padding:var(--rndzz-button-padding);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}:host .cta .cta-link.has-shadow{box-shadow:var(--rndzz-button-shadow-offset) var(--rndzz-button-shadow-blur) var(--rndzz-button-shadow-spread) var(--rndzz-button-shadow-color)}:host .cta .cta-link.align-left .icon.position-left{flex:unset}:host .cta .cta-link.align-right .icon.position-right{flex:unset}:host .cta .cta-link:hover{--rndzz-button-background-color:var(--rndzz-button-background-color-hover);--rndzz-text-color:var(--rndzz-text-color-hover);--rndzz-text-font-size:var(--rndzz-text-font-size-hover);--rndzz-text-font-weight:var(--rndzz-text-font-weight-hover);--rndzz-text-font-family:var(--rndzz-text-font-family-hover);--rndzz-text-font-style:var(--rndzz-text-font-style-hover);--rndzz-text-text-transform:var(--rndzz-text-text-transform-hover);--rndzz-text-text-align:var(--rndzz-text-text-align-hover);--rndzz-text-text-decoration:var(--rndzz-text-text-decoration-hover);--rndzz-text-line-height:var(--rndzz-text-line-height-hover);--rndzz-button-border-color:var(--rndzz-button-border-color-hover);--rndzz-button-icon-left-color:var(--rndzz-button-icon-left-color-hover);--rndzz-button-icon-right-color:var(--rndzz-button-icon-right-color-hover);--rndzz-crossed-price-text-color:var(--rndzz-crossed-price-text-color-hover)}:host .cta .cta-link:hover.align-hover-left .icon.position-left{flex:unset}:host .cta .cta-link:hover.align-hover-right .icon.position-right{flex:unset}:host .text{align-items:center;display:inline-flex}:host .text.text-ellipsis{overflow:hidden}:host .text{color:var(--rndzz-text-color);font-family:var(--rndzz-text-font-family),sans-serif;font-size:var(--rndzz-text-font-size);font-style:var(--rndzz-text-font-style);font-weight:var(--rndzz-text-font-weight);line-height:var(--rndzz-text-line-height);text-align:var(--rndzz-text-text-align);text-decoration:var(--rndzz-text-text-decoration);text-transform:var(--rndzz-text-text-transform)}:host .text .injected-image{height:var(--rndzz-text-font-size);margin:-3px 4px}:host .text .crossed-price{color:var(--rndzz-crossed-price-text-color);text-decoration:line-through;transition:color .25s}:host .text .crossed-price:not(:first-child){margin-left:var(--rndzz-crossed-price-spacing)}:host .text .crossed-price:not(:last-child){margin-right:var(--rndzz-crossed-price-spacing)}:host .text .crossed-price{font-family:var(--rndzz-crossed-price-font-family),sans-serif;font-size:calc(var(--rndzz-crossed-price-text-font-size-ratio)/100*var(--rndzz-text-font-size));font-style:var(--rndzz-crossed-price-font-style);
1font-weight:var(--rndzz-crossed-price-font-weight)}:host .text div{align-items:center;display:flex;flex-wrap:wrap}:host .text div.crossed-price-top{display:flex;flex-wrap:wrap;justify-content:var(--rndzz-text-text-align)}:host .text div.crossed-price-top>span{flex:100%}:host .text div.crossed-price-top .crossed-price{flex:100%;order:-1}:host .text.text-ellipsis div{flex-wrap:nowrap;white-space:nowrap}:host .cta-ellipsis{align-self:flex-end;color:var(--rndzz-text-color)}:host .icon{display:inline-flex;flex:1}:host .icon.position-left{color:var(--rndzz-button-icon-left-color);height:var(--rndzz-button-icon-left-size);justify-content:var(--rndzz-button-icon-left-alignment);margin-right:var(--rndzz-button-icon-left-space);width:var(--rndzz-button-icon-left-size)}:host .icon.position-left svg{height:var(--rndzz-button-icon-left-size);width:var(--rndzz-button-icon-left-size)}:host .icon.position-right{color:var(--rndzz-button-icon-right-color);height:var(--rndzz-button-icon-right-size);justify-content:var(--rndzz-button-icon-right-alignment);margin-left:var(--rndzz-button-icon-right-space);width:var(--rndzz-button-icon-right-size)}:host .icon.position-right svg{height:var(--rndzz-button-icon-right-size);width:var(--rndzz-button-icon-right-size)}:host .icon.hidden{margin:0;width:0}:host .promo-code{background-color:var(--rndzz-promo-code-background-color,var(--rndzz-theme-primary-color));border-color:var(--rndzz-promo-code-border-color);border-radius:var(--rndzz-promo-code-border-radius);border-style:solid;border-width:var(--rndzz-promo-code-border-width,0);cursor:pointer;padding:var(--rndzz-promo-code-padding);position:relative;transition:background-color .15s ease-in-out,border-color .15s ease-in-out}:host .promo-code .promo-code-text{color:var(--rndzz-promo-code-text-color);font-family:var(--rndzz-promo-code-text-font-family),sans-serif;font-size:var(--rndzz-promo-code-text-font-size);font-style:var(--rndzz-promo-code-text-font-style);font-weight:var(--rndzz-promo-code-text-font-weight);line-height:var(--rndzz-promo-code-text-line-height);text-align:var(--rndzz-promo-code-text-text-align);text-decoration:var(--rndzz-promo-code-text-text-decoration);text-transform:var(--rndzz-promo-code-text-text-transform);transition:color .15s ease-in-out}:host .promo-code .promo-code-text:before{content:attr(data-content)}:host .promo-code:hover{--rndzz-promo-code-background-color:var(--rndzz-promo-code-background-color-hover);--rndzz-promo-code-border-color:var(--rndzz-promo-code-border-color-hover);--rndzz-promo-code-text-color:var(--rndzz-promo-code-text-color-hover);--rndzz-promo-code-text-font-size:var(--rndzz-promo-code-text-font-size-hover);--rndzz-promo-code-text-font-weight:var(--rndzz-promo-code-text-font-weight-hover);--rndzz-promo-code-text-font-style:var(--rndzz-promo-code-text-font-style-hover);--rndzz-promo-code-text-font-family:var(--rndzz-promo-code-text-font-family-hover);--rndzz-promo-code-text-text-transform:var(--rndzz-promo-code-text-text-transform-hover);--rndzz-promo-code-text-text-align:var(--rndzz-promo-code-text-text-align-hover);--rndzz-promo-code-text-text-decoration:var(--rndzz-promo-code-text-text-decoration-hover);--rndzz-promo-code-text-line-height:var(--rndzz-promo-code-text-line-height-hover)}:host .promo-code:hover .promo-code-text:before{content:attr(data-content-hovered)}:host .promo-code.promo-code-clicked{--rndzz-promo-code-background-color:var(--rndzz-promo-code-background-color-clicked);--rndzz-promo-code-border-color:var(--rndzz-promo-code-border-color-clicked);--rndzz-promo-code-text-color:var(--rndzz-promo-code-text-color-clicked);--rndzz-promo-code-text-font-size:var(--rndzz-promo-code-text-font-size-clicked);--rndzz-promo-code-text-font-weight:var(--rndzz-promo-code-text-font-weight-clicked);--rndzz-promo-code-text-font-style:var(--rndzz-promo-code-text-font-style-clicked);--rndzz-promo-code-text-font-family:var(--rndzz-promo-code-text-font-family-clicked);--rndzz-promo-code-text-text-transform:var(--rndzz-promo-code-text-text-transform-clicked);--rndzz-promo-code-text-text-align:var(--rndzz-promo-code-text-text-align-clicked);--rndzz-promo-code-text-text-decoration:var(--rndzz-promo-code-text-text-decoration-clicked);--rndzz-promo-code-text-line-height:var(--rndzz-promo-code-text-line-height-clicked)}:host .promo-code.promo-code-clicked .promo-code-text:before{color:transparent}:host .promo-code.promo-code-clicked .promo-code-text:after{content:attr(data-content-clicked);left:0;position:absolute;right:0}`;let On=class extends Pt{constructor(){super(...arguments),this.isHovered=!1,this.isPromoCodeClicked=!1,this.hasOverflow=!1,this.renderingVariable=W(jo),this.ctaVariable=W(Sn),this.promoCodeVariable=W(Bn),this.#l=[]}static{this.styles=Tn}#l;firstUpdated(){for(const t of[this.textContainerRef,this.textContentRef])t&&this.#l.push(Po(t,()=>this.#X()))}disconnectedCallback(){super.disconnectedCallback(),this.#l.forEach(t=>t()),this.#l=[]}willUpdate(t){t.has("rendering")&&this.rendering&&this.setAttribute("data-offer",this.#J())}get#K(){return!this.rendering.url&&!!this.rendering.merchantSearchFallbackUrl}
1render(){if(!this.designConfiguration)return w;const t=this.designConfiguration.settings,e=this.designConfiguration.cssVariables,r=t.textEllipsis&&this.hasOverflow;return y`<div class="${Qo({cta:!0,[`promo-code-position-${t.promoCodePosition}`]:!0,"is-stretch":"stretch"===e.buttonPosition})}"><rndzz-link .url="${this.rendering.url||this.rendering.merchantSearchFallbackUrl}" .runtimeConfig="${this.runtimeConfig}" ?ensure-country-code="${this.#K}" aria-label="${this.#Q()}"><span class="${Qo({"cta-link":!0,"has-shadow":t.buttonShadowVisible,[`align-${e.textTextAlign}`]:!0,[`align-hover-${e.textTextAlignHover}`]:!0})}" @mouseenter="${()=>this.#Y(!0)}" @mouseleave="${()=>this.#Y(!1)}">${this.#tt("left")}<div class="${Qo({text:!0,"text-ellipsis":t.textEllipsis,truncable:r})}"><div class="${Qo({"text-content":!0,"crossed-price-top":"top"===t.crossedPricePosition})}">${this.#et()}</div></div>${r?y`<div class="cta-ellipsis"> ...</div>`:w} ${this.#tt("right")}</span></rndzz-link>${this.#rt()}</div>`}#et(){if(this.#K)return y`${Fr("merchant-search-fallback")}`;const t=this.rendering,e=this.designConfiguration.settings,r=t.title?this.renderingVariable(t.title,t):void 0;if(r)return y`${r}`;const o=(this.isHovered?e.textContentHover:e.textContent)||Fr("CTA.see-offer"),n=o?this.ctaVariable(o,t,this.designConfiguration):void 0;return n?y`${n}`:y`${Fr("CTA.see-offer-fallback")}`}#Y(t){this.isHovered!==t&&(this.isHovered=t)}#tt(t){const e=this.designConfiguration.settings,r="left"===t?e.buttonIconLeftAppearance:e.buttonIconRightAppearance,o="left"===t?e.buttonIconLeftVisible:e.buttonIconRightVisible,n=vo.get(r);return y`<div class="${Qo({icon:!0,[`position-${t}`]:!0,hidden:!o})}">${o?y`${Go(n??r)}`:w}</div>`}#rt(){if(!this.rendering.promoCode)return w;const t=this.designConfiguration.settings;return y`<div class="${Qo({"promo-code":!0,"promo-code-clicked":this.isPromoCodeClicked})}" @click="${this.#ot}"><div class="promo-code-text" data-content="${this.promoCodeVariable(t.promoCodeContent||"${promocode}",this.rendering)}" data-content-hovered="${this.promoCodeVariable(t.promoCodeContentHover||"${promocode}",this.rendering)}" data-content-clicked="${this.promoCodeVariable(t.promoCodeContentClicked||Fr("code-copied"),this.rendering)}"></div></div>`}#ot(){this.rendering.promoCode&&navigator.clipboard.writeText(this.rendering.promoCode).then(()=>this.#nt())}#nt(){this.isPromoCodeClicked=!0,setTimeout(()=>{this.isPromoCodeClicked=!1},1500)}#J(){const{design:t,...e}=this.rendering;return JSON.stringify(e)}#Q(){if(this.#K)return Fr("merchant-search-fallback");const t=this.rendering,e=this.designConfiguration.settings,r=t.title||e.textContent||Fr("CTA.see-offer");return(Sn.transform(r,t,this.designConfiguration)||Fr("CTA.see-offer-fallback")).replace(/<[^>]*>/g,"")}#X(){this.textContentRef&&this.textContainerRef&&(this.hasOverflow=this.textContentRef.scrollWidth>this.textContainerRef.clientWidth)}};Mt([Wt({type:Object})],On.prototype,"rendering",void 0),Mt([Wt({type:Object})],On.prototype,"designConfiguration",void 0),Mt([Wt({attribute:!1})],On.prototype,"runtimeConfig",void 0),Mt([Zt()],On.prototype,"isHovered",void 0),Mt([Zt()],On.prototype,"isPromoCodeClicked",void 0),Mt([Zt()],On.prototype,"hasOverflow",void 0),Mt([qt(".text")],On.prototype,"textContainerRef",void 0),Mt([qt(".text-content")],On.prototype,"textContentRef",void 0),On=Mt([Dt("rndzz-cta")],On);
1class An extends Z{static{this.REG_TAG=new RegExp("\\${cardTag}","g")}static{this.REG_DESCRIPTION=new RegExp("\\${cardDescription}","g")}static{this.REG_PRODUCT_NAME=new RegExp("\\${(contentProductName|cardTitle)}","g")}static{this.REG_LINEBREAK=new RegExp("\\?:\\r\\n|\\r|\\n","g")}render(t,e){const r=jo.transform(t,e)?.replace(An.REG_PRODUCT_NAME,e.productName||"").replace(An.REG_TAG,e.tag||"").replace(An.REG_DESCRIPTION,e.description||"").replace(An.REG_LINEBREAK,"<br/>");return null!=r?qo(r):w}}var Ln=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{display:block;max-width:100%}:host .offer-button{align-items:center;background-color:var(--rndzz-offer-button-background-color);border-color:var(--rndzz-offer-button-border-color);border-radius:var(--rndzz-offer-button-border-radius,0);border-style:solid;border-width:var(--rndzz-offer-button-border-width,0);box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;margin:var(--rndzz-offer-button-margin,0);padding:var(--rndzz-offer-button-padding,0);text-align:var(--rndzz-offer-button-text-align);transition:background-color .25s,border-color .25s;width:100%}:host .offer-button .button-label{color:var(--rndzz-offer-button-color);font-family:var(--rndzz-offer-button-font-family),sans-serif;font-size:var(--rndzz-offer-button-font-size);font-style:var(--rndzz-offer-button-font-style);font-weight:var(--rndzz-offer-button-font-weight);line-height:normal;text-decoration:var(--rndzz-offer-button-text-decoration);text-transform:var(--rndzz-offer-button-text-transform);transition:color .25s}:host .offer-button .button-label.crossed-price-top{display:flex;flex-wrap:wrap}:host .offer-button .button-label.crossed-price-top>span{flex:100%}:host .offer-button .button-label.crossed-price-top .rndzz-crossed-price{flex:1;order:-1}:host .offer-button .button-label.no-icon{flex:1}:host .offer-button.text-ellipsis .button-label{max-width:100%}:host .offer-button.text-ellipsis .button-label.truncable{overflow:hidden}:host .offer-button.text-ellipsis .button-label>span{white-space:nowrap}:host .offer-button .rndzz-icon{align-items:center;color:var(--rndzz-offer-button-icon-color);display:inline-flex;flex:1;justify-content:var(--rndzz-offer-button-icon-align,end);overflow:hidden;transition:color .25s}:host .offer-button .rndzz-icon svg{height:var(--rndzz-offer-button-icon-size);width:0}:host .offer-button .rndzz-icon.is-visible{overflow:visible}:host .offer-button .rndzz-icon.is-visible svg{width:var(--rndzz-offer-button-icon-size)}:host .offer-button .text+.rndzz-icon{margin-left:.15rem}:host .offer-button .rndzz-icon+.text{margin-left:.15rem}:host .offer-button .rndzz-crossed-price{color:var(--rndzz-crossed-price-text-color);text-decoration:line-through;transition:color .25s}:host .offer-button .rndzz-crossed-price:not(:first-child){margin-left:var(--rndzz-crossed-price-spacing)}:host .offer-button .rndzz-crossed-price:not(:last-child){margin-right:var(--rndzz-crossed-price-spacing)}:host .offer-button .rndzz-crossed-price{font-family:var(--rndzz-crossed-price-font-family),sans-serif;font-size:calc(var(--rndzz-crossed-price-text-font-size-ratio)/100*var(--rndzz-offer-button-font-size));font-style:var(--rndzz-crossed-price-font-style);font-weight:var(--rndzz-crossed-price-font-weight)}:host .offer-button .cta-ellipsis{align-self:flex-end;color:var(--rndzz-offer-button-color)}:host .offer-button:hover{--rndzz-offer-button-background-color:var(--rndzz-offer-button-background-color-hover);--rndzz-offer-button-border-color:var(--rndzz-offer-button-border-color-hover);--rndzz-offer-button-text-align:var(--rndzz-offer-button-text-align-hover);--rndzz-offer-button-font-family:var(--rndzz-offer-button-font-family-hover);--rndzz-offer-button-font-size:var(--rndzz-offer-button-font-size-hover);--rndzz-offer-button-color:var(--rndzz-offer-button-color-hover);--rndzz-offer-button-font-weight:var(--rndzz-offer-button-font-weight-hover);--rndzz-offer-button-font-style:var(--rndzz-offer-button-font-style-hover);--rndzz-offer-button-text-decoration:var(--rndzz-offer-button-text-decoration-hover);--rndzz-offer-button-text-transform:var(--rndzz-offer-button-text-transform-hover);--rndzz-offer-button-icon-color:var(--rndzz-offer-button-icon-color-hover);--rndzz-crossed-price-text-color:var(--rndzz-crossed-price-text-color-hover)}:host .offer-button.offer-button_text-align-left .rndzz-icon.offer-button_icon-left{flex:none}:host .offer-button.offer-button_text-align-right .rndzz-icon.offer-button_icon-right{flex:none}`;let In=class extends Pt{constructor(){super(...arguments),this.hasOverflow=!1,this.#it=W(hn)}static{this.styles=Ln}#it;firstUpdated(){this.resizeObserver=new ResizeObserver(()=>this.#X()),this.buttonRef&&this.resizeObserver.observe(this.buttonRef),this.contentRef&&this.resizeObserver.observe(this.contentRef)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}get#at(){return this.designConfiguration.settings.offerListButtonTextEllipsis&&this.hasOverflow}
1render(){if(!this.designConfiguration)return w;const t=this.renderingContent.offerButtonContent||this.offerButtonState.text||Fr("CARD.offer-button");return y`<span class="${Qo({"offer-button":!0,[`offer-button_text-align-${this.designConfiguration.cssVariables.offerButtonTextAlign}`]:!0,"text-ellipsis":this.designConfiguration.settings.offerListButtonTextEllipsis})}">${this.offerButtonState.icon.visible?zn(this.offerButtonState.icon.appearance,"offer-button_icon-left"+("left"===this.offerButtonState.icon.position?" is-visible":"")):w} <span class="${Qo({text:!0,"button-label":!0,"crossed-price-top":"top"===this.designConfiguration.settings.crossedPricePosition,"no-icon":!this.offerButtonState.icon.visible,truncable:this.#at})}">${this.#it(t,{design:this.designConfiguration,offer:this.offer},{preventCrawling:!0})??Fr("CARD.offer-button-fallback")}</span> ${this.#at?y`<div class="cta-ellipsis"> ...</div>`:w} ${this.offerButtonState.icon.visible?zn(this.offerButtonState.icon.appearance,"offer-button_icon-right"+("right"===this.offerButtonState.icon.position?" is-visible":"")):w}</span>`}#X(){if(!this.buttonRef||!this.contentRef)return;const t=getComputedStyle(this.buttonRef),e=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r=this.offerButtonState.icon.visible?parseFloat(this.designConfiguration.cssVariables.offerButtonIconSize??"0"):0;this.hasOverflow=this.contentRef.scrollWidth>this.buttonRef.clientWidth-(e+r)}};Mt([Wt({type:Object})],In.prototype,"offer",void 0),Mt([Wt({type:Object})],In.prototype,"offerButtonState",void 0),Mt([Wt({type:Object})],In.prototype,"designConfiguration",void 0),Mt([Wt({type:Object})],In.prototype,"renderingContent",void 0),Mt([Zt()],In.prototype,"hasOverflow",void 0),Mt([qt(".offer-button")],In.prototype,"buttonRef",void 0),Mt([qt(".button-label")],In.prototype,"contentRef",void 0),In=Mt([Dt("rndzz-card-offer-list-button")],In);var Vn=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host .offer-list-wrapper{display:grid;grid-template-rows:max-content 0fr;overflow:hidden;transition:grid-template-rows .25s ease-out}:host .offer-list-wrapper.expanded{grid-template-rows:max-content 1fr}:host .offer-list:last-of-type{margin-top:calc(min(var(--rndzz-offer-button-margin-bottom),var(--rndzz-offer-button-margin-top))*-1)}:host .offer-list{height:auto;margin:0;overflow:hidden;padding:0;width:100%}:host .offer-list li{list-style:none}:host .offer-list .offer-button-wrapper{align-items:var(--rndzz-offer-button-alignment);display:flex;flex-direction:column}:host .offer-list .hide{opacity:0}:host .card-no-offer-tag{background-color:#ccc;border-radius:8px;color:#fff;font-weight:700;line-height:2rem;margin:1rem 0;padding:6px 12px;text-align:center}:host .card-no-offer-tag:first-letter{text-transform:uppercase}:host .card-actions{align-items:center;display:flex;flex-direction:row;justify-content:space-between}:host .card-actions.card-toggle-align-end{flex-direction:row-reverse}:host .card-actions.card-toggle-align-center,:host .card-actions.card-toggle-align-stretch{flex-direction:column}:host .card-actions.card-toggle-align-center{align-items:center}:host .card-actions.card-toggle-align-stretch{align-items:stretch}:host .card-actions.card-toggle-align-stretch .card-toggle{flex:100%}:host .card-actions.card-toggle-align-stretch .mentions{align-self:end}:host .card-toggle{align-items:center;background-color:var(--rndzz-toggle-background-color);border-color:var(--rndzz-toggle-border-color);border-radius:var(--rndzz-toggle-border-radius,0);border-style:solid;border-width:var(--rndzz-toggle-border-width,0);color:var(--rndzz-toggle-color);cursor:pointer;display:flex;flex-direction:row;font-family:var(--rndzz-toggle-font-family),sans-serif;font-size:var(--rndzz-toggle-font-size);font-style:var(--rndzz-toggle-font-style);
1font-weight:var(--rndzz-toggle-font-weight);gap:var(--rndzz-toggle-icon-space,2px);justify-content:center;margin:var(--rndzz-toggle-margin,0);padding:var(--rndzz-toggle-padding,0);text-align:var(--rndzz-toggle-text-align);text-decoration:var(--rndzz-toggle-text-decoration);transition:color .25s,background-color .25s,border-color .25s}:host .card-toggle .rndzz-icon{color:var(--rndzz-toggle-icon-color,var(--rndzz-toggle-color))}:host .card-toggle .rndzz-icon svg{height:var(--rndzz-toggle-icon-size);width:var(--rndzz-toggle-icon-size)}:host .card-toggle.hidden{display:none}:host .card-toggle.open{color:var(--rndzz-toggle-color-open);font-family:var(--rndzz-toggle-font-family-open),sans-serif;font-size:var(--rndzz-toggle-font-size-open);font-style:var(--rndzz-toggle-font-style-open);font-weight:var(--rndzz-toggle-font-weight-open);text-decoration:var(--rndzz-toggle-text-decoration-open);--rndzz-toggle-icon-color:var(--rndzz-toggle-icon-color-open)}:host .card-toggle.open .rndzz-icon{width:var(--rndzz-toggle-open-icon-size)}:host .card-toggle:hover{background-color:var(--rndzz-toggle-background-color-hover);border-color:var(--rndzz-toggle-border-color-hover);color:var(--rndzz-toggle-color-hover);font-family:var(--rndzz-toggle-font-family-hover),sans-serif;font-size:var(--rndzz-toggle-font-size-hover);font-style:var(--rndzz-toggle-font-style-hover);font-weight:var(--rndzz-toggle-font-weight-hover);text-decoration:var(--rndzz-toggle-text-decoration-hover);--rndzz-toggle-icon-color:var(--rndzz-toggle-icon-color-hover)}:host .card-toggle.has-shadow{box-shadow:var(--rndzz-toggle-shadow-offset) var(--rndzz-toggle-shadow-blur) var(--rndzz-toggle-shadow-spread) var(--rndzz-toggle-shadow-color)}`;let Pn=class extends Pt{constructor(){super(...arguments),this.isOfferListExpanded=!1}static{this.styles=Vn}get#st(){return{text:this.designConfiguration.settings.offerButtonContent,icon:{visible:this.designConfiguration.settings.offerButtonIconVisible,position:this.designConfiguration.settings.offerButtonIconPosition,appearance:this.designConfiguration.settings.offerButtonIconAppearance}}}get#lt(){return this.isOfferListExpanded?{text:this.designConfiguration.settings.toggleContentOpen||this.designConfiguration.settings.toggleContent,icon:{visible:this.designConfiguration.settings.toggleIconVisible,position:this.designConfiguration.settings.toggleIconPosition,appearance:this.designConfiguration.settings.toggleIconAppearanceOpen||this.designConfiguration.settings.toggleIconAppearance}}:{text:this.designConfiguration.settings.toggleContent,icon:{visible:this.designConfiguration.settings.toggleIconVisible,position:this.designConfiguration.settings.toggleIconPosition,appearance:this.designConfiguration.settings.toggleIconAppearance}}}get#dt(){return this.rendering.offers?.length>0&&this.designConfiguration.settings.offerListNbVisibleOffers<this.rendering.offers.length}render(){return this.rendering&&this.designConfiguration?y`${ge(this.rendering.offers?.length>0,()=>this.#A(),()=>y`<rndzz-no-offer buttonAlign="start" .fallbackUrl="${this.rendering.merchantSearchFallbackUrl}" .runtimeConfig="${this.runtimeConfig}"></rndzz-no-offer>`)}<div class="${Qo({"card-actions":!0,[`card-toggle-align-${this.designConfiguration.cssVariables.toggleAlignment}`]:!0})}">${ge(this.designConfiguration.settings.toggleVisible&&this.designConfiguration.settings.offerListExpandable,()=>y`<button class="${Qo({"card-toggle":!0,hidden:!this.#dt,open:this.isOfferListExpanded,"has-shadow":this.designConfiguration.settings.toggleShadowVisible})}" @click="${t=>this.#R(t)}">${this.#lt.icon.visible&&"left"===this.#lt.icon.position?zn(this.#lt.icon.appearance):w} <span class="text">${Fr(this.#lt.text||(this.isOfferListExpanded?"less-offers":"more-offers"))}</span> ${this.#lt.icon.visible&&"right"===this.#lt.icon.position?zn(this.#lt.icon.appearance):w}</button>`)}</div>`:w}#A(){const t=this.designConfiguration.settings.offerListNbVisibleOffers,e=this.rendering.offers?.slice(t)||[];return y`<div class="${Qo({"offer-list-wrapper":!0,expanded:this.isOfferListExpanded})}">${this.#ct(0,t)} ${e.length>0?this.#ct(t):w}</div>`}#ct(t,e){return y`<ol class="offer-list">${an(this.rendering.offers?.slice(t,e)||[],t=>t.offerId,t=>{const e=this.rendering.offerButtonContent||this.#st.text||Fr("CARD.offer-button"),r=this.#Q(t,e);return y`<li class="offer"><rndzz-link .url="${t.url}" .runtimeConfig="${this.runtimeConfig}" aria-label="${r}"><div class="offer-button-wrapper" data-offer="${on(this.rendering,t)}" aria-hidden="true"><rndzz-card-offer-list-button .offer="${t}" .offerButtonState="${this.#st}" .designConfiguration="${this.designConfiguration}" .renderingContent="${this.rendering}"></rndzz-card-offer-list-button></div></rndzz-link></li>`})}</ol>`}
1#Q(t,e){return(hn.transform(e,{design:this.designConfiguration,offer:t})||Fr("CARD.offer-button-fallback")).replace(/<[^>]*>/g,"")}#R(t){t.stopImmediatePropagation(),t.preventDefault(),this.isOfferListExpanded=!this.isOfferListExpanded}};Mt([Wt({type:Object})],Pn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Pn.prototype,"designConfiguration",void 0),Mt([Wt({attribute:!1})],Pn.prototype,"runtimeConfig",void 0),Mt([Zt()],Pn.prototype,"isOfferListExpanded",void 0),Pn=Mt([Dt("rndzz-card-offer-list")],Pn);var _n=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host(.card-points-list-has-content){background-color:var(--rndzz-points-list-background-color);border-color:var(--rndzz-points-list-border-color);border-radius:var(--rndzz-points-list-border-radius,0);border-style:solid;border-width:var(--rndzz-points-list-border-width,0);display:flex;flex-direction:column;margin:var(--rndzz-points-list-margin,0);padding:var(--rndzz-points-list-padding,0)}:host(.card-points-list-is-inline){flex-direction:row}:host .card-points-list{flex:1;height:auto;padding:0}:host .card-points-list.card-points-list-left{margin:var(--rndzz-points-list-left-margin,0)}:host .card-points-list.card-points-list-right{margin:var(--rndzz-points-list-right-margin,0)}:host .card-points-list li{list-style:none;padding-left:0}:host .card-points-list-item-icon svg{height:100%;width:100%}:host .card-points-title-left{background-color:var(--rndzz-points-list-title-left-background-color);border-color:var(--rndzz-points-list-title-left-border-color);border-radius:var(--rndzz-points-list-title-left-border-radius,0);border-style:solid;border-width:var(--rndzz-points-list-title-left-border-width,0);color:var(--rndzz-points-list-title-left-color);font-family:var(--rndzz-points-list-title-left-font-family),sans-serif;font-size:var(--rndzz-points-list-title-left-font-size);font-weight:var(--rndzz-points-list-title-left-font-weight);margin:var(--rndzz-points-list-title-left-margin,0);padding:var(--rndzz-points-list-title-left-padding,0);text-align:var(--rndzz-points-list-title-left-text-align);text-decoration:var(--rndzz-points-list-title-left-text-decoration);text-transform:var(--rndzz-points-list-title-left-text-transform)}:host .card-points-title-right{background-color:var(--rndzz-points-list-title-right-background-color);border-color:var(--rndzz-points-list-title-right-border-color);border-radius:var(--rndzz-points-list-title-right-border-radius,0);border-style:solid;border-width:var(--rndzz-points-list-title-right-border-width,0);color:var(--rndzz-points-list-title-right-color);font-family:var(--rndzz-points-list-title-right-font-family),sans-serif;font-size:var(--rndzz-points-list-title-right-font-size);font-weight:var(--rndzz-points-list-title-right-font-weight);margin:var(--rndzz-points-list-title-right-margin,0);padding:var(--rndzz-points-list-title-right-padding,0);text-align:var(--rndzz-points-list-title-right-text-align);text-decoration:var(--rndzz-points-list-title-right-text-decoration);text-transform:var(--rndzz-points-list-title-right-text-transform)}:host .card-points-list-item-container{align-items:flex-start;border-style:solid;display:flex}:host .card-points-list-item-text{width:100%}:host .card-points-list-item-left{color:var(--rndzz-points-list-item-left-color);font-family:var(--rndzz-points-list-item-left-font-family);font-size:var(--rndzz-points-list-item-left-font-size);font-style:var(--rndzz-points-list-item-left-font-style);font-weight:var(--rndzz-points-list-item-left-font-weight);text-decoration:var(--rndzz-points-list-item-left-text-decoration);text-transform:var(--rndzz-points-list-item-left-text-transform)}:host .card-points-list-item-left:not(:last-child){padding-bottom:var(--rndzz-points-list-item-left-space,0)}:host .card-points-list-item-left .card-points-list-item-container{background-color:var(--rndzz-points-list-item-left-background-color);border-color:var(--rndzz-points-list-item-left-border-color);border-radius:var(--rndzz-points-list-item-left-border-radius,0);border-width:var(--rndzz-points-list-item-left-border-width,0);margin:var(--rndzz-points-list-item-left-margin,0);padding:var(--rndzz-points-list-item-left-padding,0)}:host .card-points-list-item-left .card-points-list-item-text{text-align:var(--rndzz-points-list-item-left-text-align)}:host .card-points-list-item-left .card-points-list-item-icon{color:var(--rndzz-points-list-item-left-icon-color);height:var(--rndzz-points-list-item-left-icon-size,0);margin-right:var(--rndzz-points-list-item-left-icon-space,0);width:var(--rndzz-points-list-item-left-icon-size,0)}:host .card-points-list-item-right{color:var(--rndzz-points-list-item-right-color);font-family:var(--rndzz-points-list-item-right-font-family);font-size:var(--rndzz-points-list-item-right-font-size);font-style:var(--rndzz-points-list-item-right-font-style);
1font-weight:var(--rndzz-points-list-item-right-font-weight);text-decoration:var(--rndzz-points-list-item-right-text-decoration);text-transform:var(--rndzz-points-list-item-right-text-transform)}:host .card-points-list-item-right:not(:last-child){padding-bottom:var(--rndzz-points-list-item-right-space,0)}:host .card-points-list-item-right .card-points-list-item-container{background-color:var(--rndzz-points-list-item-right-background-color);border-color:var(--rndzz-points-list-item-right-border-color);border-radius:var(--rndzz-points-list-item-right-border-radius,0);border-width:var(--rndzz-points-list-item-right-border-width,0);margin:var(--rndzz-points-list-item-right-margin,0);padding:var(--rndzz-points-list-item-right-padding,0)}:host .card-points-list-item-right .card-points-list-item-text{text-align:var(--rndzz-points-list-item-right-text-align)}:host .card-points-list-item-right .card-points-list-item-icon{color:var(--rndzz-points-list-item-right-icon-color);height:var(--rndzz-points-list-item-right-icon-size,0);margin-right:var(--rndzz-points-list-item-right-icon-space,0);width:var(--rndzz-points-list-item-right-icon-size,0)}`;let Rn=class extends Pt{static{this.styles=_n}render(){return this.rendering?y`${this.#ht(this.rendering.positivePoints,"left")} ${this.#ht(this.rendering.negativePoints,"right")}`:w}#ht(t,e){const r="left"===e,o="right"===e,n=r?this.designConfiguration.settings.pointsListItemLeftIconAppearance:this.designConfiguration.settings.pointsListItemRightIconAppearance,i=r?this.designConfiguration.settings.pointsListItemLeftIconVisible:this.designConfiguration.settings.pointsListItemRightIconVisible;return t?.length?y`<ol class="${Qo({"card-points-list":!0,"card-points-list-left":r,"card-points-list-right":o})}">${this.designConfiguration.settings.pointsTitleVisible?this.#ft(e):w} ${an(t,(t,e)=>e,t=>y`<li class="${Qo({"card-points-list-item":!0,"card-points-list-item-left":r,"card-points-list-item-right":o})}"><div class="card-points-list-item-container">${ge(i,()=>zn(n,"card-points-list-item-icon"))}<div class="card-points-list-item-text">${t}</div></div></li>`)}</ol>`:w}
1#ft(t){const e="left"===t?"pointsListTitleLeftContent":"pointsListTitleRightContent",r="left"===t?"pros":"cons";return y`<li class="${Qo({"card-points-title":!0,"card-points-title-left":"left"===t,"card-points-title-right":"right"===t})}">${Fr(this.designConfiguration.settings[e]||r)}</li>`}};Mt([Wt({type:Object})],Rn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Rn.prototype,"designConfiguration",void 0),Rn=Mt([Dt("rndzz-card-points-list")],Rn);var Nn=mt`:host{color:var(--rndzz-theme-text-color);display:block;font-family:var(--rndzz-theme-font-family,inherit),sans-serif;font-size:14px;height:var(--rndzz-containable-height,auto);width:100%}:host .card-container{background-color:var(--rndzz-card-background-color,transparent);border-color:var(--rndzz-card-border-color,transparent);border-radius:var(--rndzz-card-border-radius,0);border-style:solid;border-width:var(--rndzz-card-border-width,0);box-sizing:border-box;height:inherit;margin:var(--rndzz-card-margin,0);overflow:hidden;padding:var(--rndzz-card-padding,0)}:host .card-container.has-shadow{box-shadow:var(--rndzz-card-shadow-offset) var(--rndzz-card-shadow-blur) var(--rndzz-card-shadow-spread) var(--rndzz-card-shadow-color)}:host .card-container .card-layout{align-items:var(--rndzz-card-columns-alignment);display:grid;grid-template-areas:"image" "content" "offers" "points";grid-template-columns:var(--rndzz-card-columns-proportions);grid-template-rows:auto 1fr auto}:host .card-container .card-layout.card-nb-columns-2{grid-template-areas:"image content" "points points"}:host .card-container .card-layout.card-nb-columns-2.card-image-position-right{grid-template-areas:"content image" "points points"}:host .card-container .card-layout.card-nb-columns-3{grid-template-areas:"image content offers" "points points points"}:host .card-container .card-layout.card-nb-columns-3.card-image-position-right{grid-template-areas:"content offers image" "points points points"}:host .card-head-link{grid-area:image;text-decoration:none}:host .card-title-wrapper{text-align:var(--rndzz-title-text-align)}:host .card-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;background-color:var(--rndzz-title-background-color,transparent);border-color:var(--rndzz-title-border-color,transparent);border-radius:var(--rndzz-title-border-radius,0);border-style:solid;border-width:var(--rndzz-title-border-width,0);color:var(--rndzz-title-color);font-family:var(--rndzz-title-font-family),sans-serif;font-size:var(--rndzz-title-font-size);font-style:var(--rndzz-title-font-style);font-weight:var(--rndzz-title-font-weight);line-height:var(--rndzz-title-line-height);margin:var(--rndzz-title-margin,0);overflow:hidden;padding:var(--rndzz-title-padding,0);text-decoration:var(--rndzz-title-text-decoration);text-transform:var(--rndzz-title-text-transform)}:host .card-tag-wrapper{position:relative;text-align:var(--rndzz-tag-text-align)}:host .card-tag{background-color:var(--rndzz-tag-background-color,transparent);border-color:var(--rndzz-tag-border-color,transparent);border-radius:var(--rndzz-tag-border-radius,0);border-style:solid;border-width:var(--rndzz-tag-border-width,0);color:var(--rndzz-tag-color);display:inline-block;font-family:var(--rndzz-tag-font-family),sans-serif;font-size:var(--rndzz-tag-font-size);font-style:var(--rndzz-tag-font-style);font-weight:var(--rndzz-tag-font-weight);line-height:var(--rndzz-tag-line-height);margin:var(--rndzz-tag-margin,0);padding:var(--rndzz-tag-padding,0);text-decoration:var(--rndzz-tag-text-decoration);text-transform:var(--rndzz-tag-text-transform)}:host .card-tag.card-tag-position-topLeft{left:-4px;position:absolute;top:-4px;z-index:1}:host .card-tag.card-tag-position-topMiddle{left:50%;position:absolute;top:-4px;transform:translateX(-50%);z-index:1}:host .card-description-wrapper{text-align:var(--rndzz-description-text-align)}:host .card-description{display:-webkit-box;-webkit-box-orient:vertical;background-color:var(--rndzz-description-background-color,transparent);border-color:var(--rndzz-description-border-color,transparent);border-radius:var(--rndzz-description-border-radius,0);border-style:solid;border-width:var(--rndzz-description-border-width,0);color:var(--rndzz-description-color);font-family:var(--rndzz-description-font-family),sans-serif;font-size:var(--rndzz-description-font-size);font-style:var(--rndzz-description-font-style);font-weight:var(--rndzz-description-font-weight);line-height:var(--rndzz-description-line-height);margin:var(--rndzz-description-margin,0);overflow:hidden;padding:var(--rndzz-description-padding,0);text-decoration:var(--rndzz-description-text-decoration);text-transform:var(--rndzz-description-text-transform)}:host .card-description ol,:host .card-description p,:host .card-description ul{margin-top:0}:host .card-description ol:last-child,:host .card-description p:last-child,:host .card-description ul:last-child{margin-bottom:0}:host .card-product-image{align-items:var(--rndzz-product-image-align,center);background-color:var(--rndzz-product-image-background-color,transparent);border-color:var(--rndzz-product-image-border-color,transparent);border-radius:var(--rndzz-product-image-border-radius,0);border-style:solid;border-width:var(--rndzz-product-image-border-width,0);
1display:flex;flex-direction:column;grid-area:image;justify-content:var(--rndzz-product-image-justify,center);justify-self:center;margin:var(--rndzz-product-image-margin,0);overflow:hidden}:host .card-product-image.sizing-fixed{height:var(--rndzz-product-image-height,100%);width:auto}:host .card-product-image.sizing-scaled{position:relative;width:var(--rndzz-product-image-width-percent,100%)}:host .card-product-image.sizing-scaled>img{aspect-ratio:1/1}:host .card-product-image>img{object-fit:contain;overflow:clip;overflow-clip-margin:content-box}:host .card-product-image>img,:host .card-product-image>rndzz-no-picture{height:auto;max-height:var(--rndzz-product-image-scale,100%);max-width:var(--rndzz-product-image-scale,100%)}:host .card-content-wrapper{grid-area:content}:host rndzz-card-offer-list,:host rndzz-offer-list{grid-area:offers}:host rndzz-card-points-list{grid-area:points}`;let En=class extends Pt{constructor(){super(...arguments),this.isImageAndTitleAsLink=!0,this.cardVariable=W(An),this.#E=!0,this.#H=!1}static{this.styles=Nn}get#pt(){return this.rendering.offers[0]?.url??this.rendering.merchantSearchFallbackUrl??"#"}get#K(){return!this.rendering.offers[0]?.url&&!!this.rendering.merchantSearchFallbackUrl}#E;#H;willUpdate(){this.#H||(this.#H=!0,this.#E=Fn(this))}render(){return this.rendering&&this.designConfiguration?y`${["topLeft","topMiddle"].includes(this.designConfiguration.settings.tagPosition)?this.#gt():w} ${["topLeft","topRight"].includes(this.designConfiguration.settings.gdprButtonPosition??"")?this.#ut():w}<div class="${Qo({"card-container":!0,"has-shadow":this.designConfiguration.settings.cardShadowVisible})}"><div class="${Qo({"card-layout":!0,[`card-nb-columns-${this.designConfiguration.settings.cardNbColumns}`]:!0,[`card-image-position-${this.designConfiguration.settings.productImagePosition}`]:!0})}">${this.#Z()}<div class="card-content-wrapper">${"aboveTitle"===this.designConfiguration.settings.tagPosition?this.#gt():w}<div class="card-title-wrapper">${this.designConfiguration.settings.titleVisible?this.#j():w}</div>${"belowTitle"===this.designConfiguration.settings.tagPosition?this.#gt():w}<div class="card-description-wrapper">${this.designConfiguration.settings.descriptionVisible&&this.rendering.description?y`<div class="card-description">${this.cardVariable(this.designConfiguration.settings.descriptionContent,this.rendering)}</div>`:w}</div>${this.designConfiguration.settings.pointsVisible&&"aboveOffers"===this.designConfiguration.settings.pointsPosition?this.#zt():w} ${"2"===this.designConfiguration.settings.cardNbColumns?this.#A():w}</div>${"2"!==this.designConfiguration.settings.cardNbColumns?this.#A():w} ${this.designConfiguration.settings.pointsVisible&&"bottom"===this.designConfiguration.settings.pointsPosition?this.#zt():w}</div></div>${["bottomLeft","bottomRight","bottomCenter"].includes(this.designConfiguration.settings.gdprButtonPosition??"")?this.#ut():w}`:w}#Z(){const t=y`<figure class="${Qo({"card-product-image":!0,[`sizing-${this.designConfiguration.settings.productImageSizing}`]:!0})}">${ge(!!this.rendering.productImage,()=>y`<img fetchpriority="${this.#E?"high":"auto"}" loading="${this.#E?"eager":"lazy"}" decoding="async" src="${cn(this.rendering.productImage,"picture")}" alt="${this.rendering.title||this.rendering.productName}" width="1200" height="1200">`,()=>y`<rndzz-no-picture></rndzz-no-picture>`)}</figure>`;return this.isImageAndTitleAsLink?y`<div class="card-head-link" data-offer="${on(this.rendering,this.rendering.offers[0])}"><rndzz-link .url="${this.#pt}" .runtimeConfig="${this.runtimeConfig}" ?ensure-country-code="${this.#K}">${t}</rndzz-link></div>`:t}#j(){const t=y`<span class="card-title">${this.cardVariable(this.rendering.title||this.designConfiguration.settings.titleContent||"${productName}",this.rendering)}</span>`;return this.isImageAndTitleAsLink?y`<rndzz-link class="card-head-link" .url="${this.#pt}" .runtimeConfig="${this.runtimeConfig}" ?ensure-country-code="${this.#K}" data-offer="${on(this.rendering,this.rendering.offers[0])}">${t}</rndzz-link>`:t}#gt(){return this.designConfiguration.settings.tagVisible&&this.rendering.tag?y`<div class="card-tag-wrapper"><span class="${Qo({"card-tag":!0,[`card-tag-position-${this.designConfiguration.settings.tagPosition}`]:!0})}">${this.cardVariable(this.designConfiguration.settings.tagContent,this.rendering)}</span></div>`:w}#ut(){return y`<rndzz-mentions .designConfiguration="${this.designConfiguration}" type="CARD"></rndzz-mentions>`}#A(){return"table"===this.designConfiguration.settings.offerListType?y`<rndzz-offer-list .offers="${this.rendering.offers}" .renderingContent="${this.rendering}" .designConfiguration="${this.designConfiguration}" .runtimeConfig="${this.runtimeConfig}" buttonAlign="start"></rndzz-offer-list>`:y`<rndzz-card-offer-list .rendering="${this.rendering}" .designConfiguration="${this.designConfiguration}" .runtimeConfig="${this.runtimeConfig}"></rndzz-card-offer-list>`}#zt(){return y`<rndzz-card-points-list class="${Qo({"card-points-list-has-content":!!this.rendering.positivePoints?.length||!!this.rendering.negativePoints?.length,"card-points-list-is-inline":"2"===this.designConfiguration.settings.pointsNbColumns})}" .rendering="${this.rendering}" .designConfiguration="${this.designConfiguration}"></rndzz-card-points-list>`}};Mt([Wt({type:Object})],En.prototype,"rendering",void 0),Mt([Wt({type:Object})],En.prototype,"designConfiguration",void 0),Mt([Wt({type:Boolean})],En.prototype,"isImageAndTitleAsLink",void 0),Mt([Wt({attribute:!1})],En.prototype,"runtimeConfig",void 0),En=Mt([Dt("rndzz-card")],En);const Hn=/\${carouselTitle}/g;class Mn extends Z{render(t,e){const r=t.replace(Hn,e.content.title??"");return r===this.lastResult?C:(this.lastResult=r,r)}static transform(t,e){return t.replace(Hn,e.content.title??"")}}var Dn=mt`.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{display:block;position:relative;width:100%}:host .rndzz-carousel_container{align-items:center;background-color:var(--rndzz-carousel-container-background-color,transparent);border-color:var(--rndzz-carousel-container-border-color,transparent);border-radius:var(--rndzz-carousel-container-border-radius,0);border-style:solid;border-width:var(--rndzz-carousel-container-border-width,0);
1display:flex;flex-wrap:wrap;margin:var(--rndzz-carousel-container-margin,0);padding:var(--rndzz-carousel-container-padding,0)}:host .rndzz-carousel_container.has-shadow{box-shadow:var(--rndzz-carousel-container-shadow-offset) var(--rndzz-carousel-container-shadow-blur) var(--rndzz-carousel-container-shadow-spread) var(--rndzz-carousel-container-shadow-color)}:host .rndzz-carousel_list{border-color:var(--rndzz-carousel-item-border-color,transparent);border-radius:var(--rndzz-carousel-item-border-radius,0);border-style:solid;border-width:var(--rndzz-carousel-item-border-width,0);flex:1;scroll-behavior:smooth}@supports selector(::-webkit-scrollbar){:host .rndzz-carousel_list::-webkit-scrollbar{-webkit-appearance:none;height:8px;width:8px}:host .rndzz-carousel_list::-webkit-scrollbar-track{background-color:var(--rndzz-carousel-scrollbar-track-color);border-radius:4px}:host .rndzz-carousel_list::-webkit-scrollbar-thumb{background-color:var(--rndzz-carousel-scrollbar-thumb-color);border-radius:4px}}@supports (scrollbar-color:auto){:host .rndzz-carousel_list{scrollbar-color:var(--rndzz-carousel-scrollbar-thumb-color) var(--rndzz-carousel-scrollbar-track-color)}}:host .rndzz-carousel_list{display:flex;flex-flow:row nowrap;gap:var(--rndzz-carousel-item-gap);list-style:none;margin:0;padding:var(--rndzz-carousel-item-padding,0);width:100%}:host .rndzz-carousel_list.has-shadow{box-shadow:var(--rndzz-carousel-item-shadow-offset) var(--rndzz-carousel-item-shadow-blur) var(--rndzz-carousel-item-shadow-spread) var(--rndzz-carousel-item-shadow-color)}:host .rndzz-carousel_list .rndzz-carousel_item{padding:0;--rndzz-containable-height:100%}:host .rndzz-carousel_list.horizontal{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory}:host .rndzz-carousel_list.horizontal.item-size-type-fixed .rndzz-carousel_item{min-width:var(--rndzz-carousel-item-width);width:var(--rndzz-carousel-item-width)}:host .rndzz-carousel_list.horizontal.item-size-type-flexible .rndzz-carousel_item{--rndzz-carousel-flexible-item-size:calc((100% + var(--rndzz-carousel-item-gap))/var(--rndzz-carousel-nb-items-to-display) - var(--rndzz-carousel-item-gap));min-width:var(--rndzz-carousel-flexible-item-size);width:var(--rndzz-carousel-flexible-item-size)}:host .rndzz-carousel_list.horizontal .rndzz-carousel_item{margin-bottom:var(--rndzz-carousel-scrollbar-space,0)}:host .rndzz-carousel_list.vertical{flex-direction:column;height:100%}:host .rndzz-carousel_expand-button-wrapper{align-items:var(--rndzz-carousel-expand-button-align);display:flex;flex-basis:calc(100% + 1px);flex-direction:column}:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button{align-items:center;background-color:var(--rndzz-carousel-expand-button-background-color);border:unset;border:var(--rndzz-carousel-expand-button-border-width) solid var(--rndzz-carousel-expand-button-border-color);border-radius:var(--rndzz-carousel-expand-button-border-radius);color:var(--rndzz-carousel-expand-button-color);cursor:pointer;display:flex;font-family:var(--rndzz-carousel-expand-button-font-family),sans-serif;font-size:var(--rndzz-carousel-expand-button-font-size,inherit);font-weight:var(--rndzz-carousel-expand-button-font-weight,inherit);gap:var(--rndzz-carousel-expand-button-icon-space);justify-content:center;margin:var(--rndzz-carousel-expand-button-margin);padding:var(--rndzz-carousel-expand-button-padding);text-align:var(--rndzz-carousel-expand-button-text-align,inherit);text-decoration:var(--rndzz-carousel-expand-button-text-decoration,inherit);text-transform:var(--rndzz-carousel-expand-button-text-transform,inherit)}:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button.has-shadow{box-shadow:var(--rndzz-carousel-expand-button-shadow-offset) var(--rndzz-carousel-expand-button-shadow-blur) var(--rndzz-carousel-expand-button-shadow-spread) var(--rndzz-carousel-expand-button-shadow-color)}:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button:hover{--rndzz-carousel-expand-button-background-color:var(--rndzz-carousel-expand-button-background-color-hover);--rndzz-carousel-expand-button-border-color:var(--rndzz-carousel-expand-button-border-color-hover);--rndzz-carousel-expand-button-color:var(--rndzz-carousel-expand-button-color-hover);--rndzz-carousel-expand-button-font-size:var(--rndzz-carousel-expand-button-font-size-hover);--rndzz-carousel-expand-button-font-weight:var(--rndzz-carousel-expand-button-font-weight-hover);--rndzz-carousel-expand-button-font-family:var(--rndzz-carousel-expand-button-font-family-hover);--rndzz-carousel-expand-button-text-transform:var(--rndzz-carousel-expand-button-text-transform-hover);--rndzz-carousel-expand-button-text-decoration:var(--rndzz-carousel-expand-button-text-decoration-hover);--rndzz-carousel-expand-button-text-align:var(--rndzz-carousel-expand-button-text-align-hover)}:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button.expanded{--rndzz-carousel-expand-button-background-color:var(--rndzz-carousel-expand-button-background-color-open);--rndzz-carousel-expand-button-border-color:var(--rndzz-carousel-expand-button-border-color-open);--rndzz-carousel-expand-button-color:var(--rndzz-carousel-expand-button-color-open);--rndzz-carousel-expand-button-font-size:var(--rndzz-carousel-expand-button-font-size-open);--rndzz-carousel-expand-button-font-weight:var(--rndzz-carousel-expand-button-font-weight-open);--rndzz-carousel-expand-button-font-family:var(--rndzz-carousel-expand-button-font-family-open);--rndzz-carousel-expand-button-text-transform:var(--rndzz-carousel-expand-button-text-transform-open);--rndzz-carousel-expand-button-text-decoration:var(--rndzz-carousel-expand-button-text-decoration-open);--rndzz-carousel-expand-button-text-align:var(--rndzz-carousel-expand-button-text-align-open)}
1:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button{transition:background-color .25s,color .25s}:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button_icon .rndzz-icon{color:var(--rndzz-carousel-expand-button-icon-color)}:host .rndzz-carousel_expand-button-wrapper .rndzz-carousel_expand-button_icon .rndzz-icon svg{height:var(--rndzz-carousel-expand-button-icon-size);width:var(--rndzz-carousel-expand-button-icon-size)}:host .rndzz-carousel_title{background-color:var(--rndzz-carousel-title-background-color,transparent);border-color:var(--rndzz-carousel-title-border-color,transparent);border-radius:var(--rndzz-carousel-title-border-radius,0);border-style:solid;border-width:var(--rndzz-carousel-title-border-width,0);color:var(--rndzz-carousel-title-color);flex-basis:calc(100% + 1px);font-family:var(--rndzz-carousel-title-font-family),sans-serif;font-size:var(--rndzz-carousel-title-font-size);font-style:var(--rndzz-carousel-title-font-style);font-weight:var(--rndzz-carousel-title-font-weight);line-height:var(--rndzz-carousel-title-line-height);margin:var(--rndzz-carousel-title-margin,0);padding:var(--rndzz-carousel-title-padding,0);text-align:var(--rndzz-carousel-title-text-align);text-decoration:var(--rndzz-carousel-title-text-decoration);text-transform:var(--rndzz-carousel-title-text-transform)}:host .rndzz-carousel_anchor{color:unset;cursor:pointer;height:100%;text-decoration:unset}:host .rndzz-carousel_button{align-items:center;background-color:var(--rndzz-carousel-navigation-button-background-color);border:unset;border-radius:var(--rndzz-carousel-navigation-button-border-radius);color:var(--rndzz-carousel-navigation-button-color);cursor:pointer;display:flex;font-weight:700;height:var(--rndzz-carousel-navigation-button-height);justify-content:center;opacity:1;position:absolute;transition:opacity .25s,background-color .25s,color .25s;width:var(--rndzz-carousel-navigation-button-width);z-index:1}:host .rndzz-carousel_button.has-shadow{box-shadow:var(--rndzz-carousel-navigation-button-shadow-offset) var(--rndzz-carousel-navigation-button-shadow-blur) var(--rndzz-carousel-navigation-button-shadow-spread) var(--rndzz-carousel-navigation-button-shadow-color)}:host .rndzz-carousel_button:hover{--rndzz-carousel-navigation-button-color:var(--rndzz-carousel-navigation-button-color-hover);--rndzz-carousel-navigation-button-background-color:var(--rndzz-carousel-navigation-button-background-color-hover)}:host .rndzz-carousel_button.hidden{opacity:0;pointer-events:none}:host .rndzz-carousel_button.rndzz-carousel_button_previous{left:var(--rndzz-carousel-navigation-button-gap)}:host .rndzz-carousel_button.rndzz-carousel_button_next{right:var(--rndzz-carousel-navigation-button-gap)}:host .rndzz-carousel_button_icon{align-items:center;display:flex;justify-content:center}:host .rndzz-carousel_button_icon svg{height:var(--rndzz-carousel-navigation-button-icon-size);width:var(--rndzz-carousel-navigation-button-icon-size)}`;let Un=class extends Pt{constructor(){super(...arguments),this.isHiddenContentExpanded=!1,this.isScrollStart=!0,this.isScrollEnd=!1,this.#mt=[],this.#bt=()=>this.#vt()}static{this.styles=Dn}#mt;#xt;#l;#b;#bt;get#yt(){return this.rendering?.anchor?{isImageAndTitleAsLink:!1}:Xr}get#Ct(){const t=this.#mt[0];return this.#wt(t)}get#kt(){const t=this.designConfiguration?.cssVariables,e=this.#Ct;return{bgColor:t?.navigationButtonBackgroundColor&&"transparent"!==t.navigationButtonBackgroundColor?void 0:e.inheritedBackgroundColor,color:t?.navigationButtonColor&&"transparent"!==t.navigationButtonColor?void 0:e.inheritedColor}}get#Ft(){const t=this.designConfiguration?.cssVariables,e=this.#Ct;return{bgColor:t?.expandButtonBackgroundColor&&"transparent"!==t.expandButtonBackgroundColor?void 0:e.inheritedBackgroundColor,color:t?.expandButtonColor&&"transparent"!==t.expandButtonColor?void 0:e.inheritedColor}}firstUpdated(){this.#$t()}updated(){this.#$t()}disconnectedCallback(){super.disconnectedCallback(),this.#St()}willUpdate(t){(t.has("rendering")||t.has("designConfiguration"))&&(this.#mt=this.rendering&&this.designConfiguration?this.#Bt(this.rendering,this.designConfiguration):this.rendering?.contents??[])}
1render(){if(!this.rendering||!this.designConfiguration)return w;const t=this.designConfiguration.settings,e=this.#mt;return y`<div class="${Qo({"rndzz-carousel_container":!0,"has-shadow":t.containerShadowVisible})}">${this.#j()} ${this.#Tt("backward","previous")}<ol class="${Qo({"rndzz-carousel_list":!0,[t.direction]:!0,"has-shadow":t.itemShadowVisible,"item-size-type-flexible":"flexible"===t.itemSizeType,"item-size-type-fixed":"flexible"!==(t.itemSizeType??"fixed")})}">${an(this.#Ot(e),t=>t.id,t=>this.#At(t))}</ol>${this.#Tt("forward","next")} ${this.#Lt(e)}</div>${ge(["bottomLeft","bottomRight","bottomCenter"].includes(t.gdprButtonPosition??""),()=>y`<rndzz-mentions .designConfiguration="${this.designConfiguration}" type="CAROUSEL"></rndzz-mentions>`)}`}#j(){const t=this.designConfiguration.settings;if(!t.titleVisible)return w;const e=t.titleContent||"",r=Mn.transform(e,{content:this.rendering});return r?y`<div class="rndzz-carousel_title">${r}</div>`:w}#Tt(t,e){const r=this.designConfiguration.settings;if("horizontal"!==r.direction||!r.navigationButtonsVisible)return w;const o=this.#kt,n=this.#It(r.navigationButtonIconAppearance,"previous"===e?"left":"right"),i=vo.get(n)??"",a="previous"===e?this.isScrollStart:this.isScrollEnd;return y`<button class="${Qo({"rndzz-carousel_button":!0,[`rndzz-carousel_button_${e}`]:!0,"has-shadow":!!r.navigationButtonShadowVisible,hidden:a})}" style="${en({"background-color":o.bgColor,color:o.color})}" aria-label="${Fr("previous"===e?"carousel-previous":"carousel-next")}" @click="${()=>this.#Vt(t)}"><span class="rndzz-carousel_button_icon">${Go(i)}</span></button>`}#At(t){const e=this.rendering.anchor?y`<div class="rndzz-carousel_anchor" @click="${e=>this.#Pt(e,t.id)}"><rndzz-rendering .rendering="${t}" .runtimeConfig="${this.runtimeConfig}" .containableOptions="${this.#yt}" initial-width-hint="1"></rndzz-rendering></div>`:y`<rndzz-rendering .rendering="${t}" .runtimeConfig="${this.runtimeConfig}" .containableOptions="${this.#yt}" initial-width-hint="1"></rndzz-rendering>`;return y`<li class="rndzz-carousel_item">${e}</li>`}#Lt(t){const e=this.designConfiguration.settings;if("vertical"!==e.direction)return w;if(t.length<=(e.containableNbVisibleContents||0))return w;const r=this.#Ft;return y`<div class="rndzz-carousel_expand-button-wrapper"><button class="${Qo({"rndzz-carousel_expand-button":!0,expanded:this.isHiddenContentExpanded,"has-shadow":e.expandButtonShadowVisible})}" style="${en({"background-color":r.bgColor??"",color:r.color??""})}" @click="${()=>this.#_t()}">${ge(e.expandButtonIconVisible&&"left"===e.expandButtonIconPosition,()=>y`<span class="rndzz-carousel_expand-button_icon">${zn(this.isHiddenContentExpanded?e.expandButtonIconAppearanceOpen:e.expandButtonIconAppearance)}</span>`)} <span class="rndzz-text">${this.isHiddenContentExpanded?e.expandButtonContentOpen||Fr("see-less"):e.expandButtonContent||Fr("see-more")} </span>${ge(e.expandButtonIconVisible&&"right"===e.expandButtonIconPosition,()=>y`<span class="rndzz-carousel_expand-button_icon">${zn(this.isHiddenContentExpanded?e.expandButtonIconAppearanceOpen:e.expandButtonIconAppearance)}</span>`)}</button></div>`}#Ot(t){const e=this.designConfiguration.settings;return"horizontal"===e.direction||this.isHiddenContentExpanded?t:t.slice(0,e.containableNbVisibleContents??void 0)}#It(t,e){if(t){const r="_right",o="_left";if("left"===e&&t.endsWith(r))return t.replace(r,o);if("right"===e&&t.endsWith(o))return t.replace(o,r)}return t??""}#Vt(t){const e=this.scrollableContainer;if(e&&this.designConfiguration){const r=250,o="horizontal"===this.designConfiguration.settings.direction?"left":"top";e.scrollBy({[o]:"backward"===t?-r:r,behavior:"smooth"})}}#_t(){this.isHiddenContentExpanded=!this.isHiddenContentExpanded}#Pt(t,e){const r=this.getRootNode(),o=(r?.host?.getRootNode()??document).getElementById(e);if(o){const e=t=>"A"===t.tagName?t:t.parentElement?e(t.parentElement):void 0,r=t.target&&e(t.target);if("sponsored"===r?.getAttribute("rel"))return;t.preventDefault(),t.stopImmediatePropagation(),o.scrollIntoView({block:"center"})}}#wt(t){const e=t?.design?.configurations?.[0],r=t?.["@type"];if(r&&e){const t=ho(r,[e]).cssVariables;return{inheritedColor:t?.offerButtonColor??e.cssVariables?.themeTextColor,inheritedColorHover:t?.offerButtonColorHover??t?.offerButtonColorHover,inheritedBackgroun
1dColor:t?.offerButtonBackgroundColor??e.cssVariables?.themePrimaryColor,inheritedBackgroundColorHover:t?.offerButtonBackgroundColorHover??t?.offerButtonBackgroundColorHover}}return{inheritedColor:null,inheritedColorHover:null,inheritedBackgroundColor:null,inheritedBackgroundColorHover:null}}#Bt(t,e){return(t.contents??[]).map(t=>{const r=t["@type"],o=Gr[r]?.(e)??{};if(!o.settings&&!o.cssVariables)return t;const n=t.design?.configurations?.map(t=>{const e={...t.settings,...o.settings??{}},r={...t.cssVariables,...o.cssVariables??{}};return{...t,settings:e,cssVariables:r}});return n?{...t,design:{...t.design,configurations:n}}:t})}#$t(){const t=this.scrollableContainer;t!==this.#xt&&(this.#St(),t&&(this.#xt=t,t.addEventListener("scroll",this.#bt,{passive:!0}),this.#l=Po(t,()=>this.#vt()),this.#vt()))}#St(){this.#xt&&(this.#xt.removeEventListener("scroll",this.#bt),this.#xt=void 0),this.#l?.(),this.#l=void 0,void 0!==this.#b&&(cancelAnimationFrame(this.#b),this.#b=void 0)}#vt(){void 0===this.#b&&(this.#b=requestAnimationFrame(()=>{this.#b=void 0,this.#Rt(this.#xt)}))}#Rt(t){if(t){const e=t.scrollLeft,r=t.scrollWidth,o=0===e,n=e+t.clientWidth>=r;o!==this.isScrollStart&&(this.isScrollStart=o),n!==this.isScrollEnd&&(this.isScrollEnd=n)}}};Mt([Wt({type:Object})],Un.prototype,"rendering",void 0),Mt([Wt({type:Object})],Un.prototype,"designConfiguration",void 0),Mt([Wt({attribute:!1})],Un.prototype,"runtimeConfig",void 0),Mt([Zt()],Un.prototype,"isHiddenContentExpanded",void 0),Mt([Zt()],Un.prototype,"isScrollStart",void 0),Mt([Zt()],Un.prototype,"isScrollEnd",void 0),Mt([qt(".rndzz-carousel_list")],Un.prototype,"scrollableContainer",void 0),Un=Mt([Dt("rndzz-carousel")],Un);var jn=mt`:host{display:block;max-width:var(--rndzz-page-max-width);width:100%}:host .content{display:flex;margin:40px 0 26px;position:relative}:host .content.layout-solid{background:var(--rndzz-page-header-background-color);border-radius:30px;justify-content:space-between;padding:16px}:host .content.layout-solid .title{order:1;width:calc(50% - 38px)}:host .content.layout-solid .header-logo{left:50%;order:2;position:absolute;top:50%;transform:translate(-50%,-50%)}:host .content.layout-solid .social-networks{order:3}:host .content.layout-floating{align-items:center;flex-direction:column;gap:8px;justify-content:center}:host .content.layout-floating .header-logo{order:1}:host .content.layout-floating .title{order:2}:host .content .social-networks{order:3}:host .content .header-logo{align-items:center;aspect-ratio:1/1;background-color:var(--rndzz-page-header-logo-background-color);border-radius:50%;display:flex;justify-content:center;max-height:76px;overflow:hidden}:host .content .header-logo img{font-size:small;height:76px;object-fit:cover}:host .content .title{color:var(--rndzz-page-header-title-color,revert);font-family:var(--rndzz-page-header-title-font-family),sans-serif;font-size:var(--rndzz-page-header-title-font-size,revert);font-style:var(--rndzz-page-header-title-font-style,revert);font-weight:var(--rndzz-page-header-title-font-weight,revert);text-align:var(--rndzz-page-header-title-text-align,revert);text-decoration:var(--rndzz-page-header-title-text-decoration,revert);text-transform:var(--rndzz-page-header-title-text-transform,revert);white-space:nowrap}:host .social-networks{align-items:center;display:flex;flex-direction:row;gap:10px;list-style:none;margin:0;padding:0}:host .social-networks li{padding:0}:host .social-networks li a{color:var(--rndzz-page-channel-icon-color);text-decoration:none}:host .social-networks li a .rndzz-icon svg{height:20px;width:20px}`;let Wn=class extends Pt{static{this.styles=jn}get#Nt(){return this.designConfiguration.settings.headerTitleContent}get#Et(){const t=this.rendering.channels;if(!t)return[];const e=this.designConfiguration.settings.channelList,r=t.filter(t=>"#"===t.id||null===e||e.includes(t.id));return r.sort((t,r)=>(e?.indexOf(t.id)??0)-(e?.indexOf(r.id)??0)),r}render(){const t=this.designConfiguration.settings,e=t.headerLogoContent??this.rendering.headerImage;return y`<div class="content layout-${t.headerLayout}"><div class="header-logo">${e?y`<img src="${e}" alt="Page logo">`:w}</div><div class="title">${t.headerTitleVisible?jo.transform(this.#Nt??"",this.rendering):""}</div>${ge(t.displayChannels,()=>y`<ol class="social-networks">${an(this.#Et,t=>t.id,t=>y`<li><a href="${t.url??""}" target="_blank" title="${t.name}">${zn(xo.get(t.type))}</a></li>`)}</ol>`)}</div>`}};Mt([Wt({type:Object})],Wn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Wn.prototype,"designConfiguration",void 0),Wn=Mt([Dt("rndzz-page-header")],Wn);class Zn{static mapContentItemToWebComponentInputs(t,e){const r="string"==typeof e?e:e?.renderApiUrl,o="string"==typeof e?void 0:e?.redirectApiUrl;return t.content&&"@type"in t.content&&"HTML"!==t.content["@type"]?{type:"designer",args:{render:t.content,redirectApiUrl:o}}:"publicationContentId"in t&&t.publicationContentId?{type:"publication",args:{publicationContentId:t.publicationContentId,renderApiUrl:r,redirectApiUrl:o,loading:"lazy"}}:"contentContainerId"in t&&t.contentContainerId?{type:"container",args:{contentContainerId:t.contentContainerId,renderApiUrl:r,redirectApiUrl:o,loading:"lazy"}}:null}}var qn=mt`@charset "UTF-8";.from-content-attribute:before{content:attr(data-content)}img{border:unset;max-height:fit-content;max-width:100%;object-fit:contain;overflow:clip;overflow-clip-margin:content-box}.rndzz-icon{align-items:center;display:flex}ol,ul{list-style-type:disc;padding-inline-start:1rem}ol:has(>li:only-child>ol),ol:has(>li:only-child>ul),ul:has(>li:only-child>ol),ul:has(>li:only-child>ul){list-style:none}:host{line-height:1.42}:host h1{color:var(--rndzz-page-title-color,revert);font-family:var(--rndzz-page-title-font-family),sans-serif;font-size:var(--rndzz-page-title-font-size,revert);font-style:var(--rndzz-page-title-font-style,revert);
1font-weight:var(--rndzz-page-title-font-weight,revert);line-height:var(--rndzz-page-title-line-height,revert);margin-bottom:var(--rndzz-page-title-margin-bottom,revert);margin-top:var(--rndzz-page-title-margin-top,revert);text-align:var(--rndzz-page-title-text-align,revert);text-decoration:var(--rndzz-page-title-text-decoration,revert);text-transform:var(--rndzz-page-title-text-transform,revert)}:host h2{color:var(--rndzz-page-title-color-h2,revert);font-family:var(--rndzz-page-title-font-family-h2),sans-serif;font-size:var(--rndzz-page-title-font-size-h2,revert);font-style:var(--rndzz-page-title-font-style-h2,revert);font-weight:var(--rndzz-page-title-font-weight-h2,revert);line-height:var(--rndzz-page-title-line-height-h2,revert);margin-bottom:var(--rndzz-page-title-margin-bottom-h2,revert);margin-top:var(--rndzz-page-title-margin-top-h2,revert);text-align:var(--rndzz-page-title-text-align-h2,revert);text-decoration:var(--rndzz-page-title-text-decoration-h2,revert);text-transform:var(--rndzz-page-title-text-transform-h2,revert)}:host h3{color:var(--rndzz-page-title-color-h3,revert);font-family:var(--rndzz-page-title-font-family-h3),sans-serif;font-size:var(--rndzz-page-title-font-size-h3,revert);font-style:var(--rndzz-page-title-font-style-h3,revert);font-weight:var(--rndzz-page-title-font-weight-h3,revert);line-height:var(--rndzz-page-title-line-height-h3,revert);margin-bottom:var(--rndzz-page-title-margin-bottom-h3,revert);margin-top:var(--rndzz-page-title-margin-top-h3,revert);text-align:var(--rndzz-page-title-text-align-h3,revert);text-decoration:var(--rndzz-page-title-text-decoration-h3,revert);text-transform:var(--rndzz-page-title-text-transform-h3,revert)}:host p{color:var(--rndzz-page-paragraph-color,revert);font-family:var(--rndzz-page-paragraph-font-family),sans-serif;font-size:var(--rndzz-page-paragraph-font-size,revert);font-style:var(--rndzz-page-paragraph-font-style,revert);font-weight:var(--rndzz-page-paragraph-font-weight,revert);line-height:var(--rndzz-page-paragraph-line-height,revert);margin-bottom:var(--rndzz-page-paragraph-margin-bottom,revert);margin-top:var(--rndzz-page-paragraph-margin-top,revert);text-align:var(--rndzz-page-paragraph-text-align,revert);text-decoration:var(--rndzz-page-paragraph-text-decoration,revert);text-transform:var(--rndzz-page-paragraph-text-transform,revert)}:host p b,:host p strong{color:var(--rndzz-page-paragraph-color-bold,revert);font-family:var(--rndzz-page-paragraph-font-family-bold),sans-serif;font-size:var(--rndzz-page-paragraph-font-size-bold,revert);font-style:var(--rndzz-page-paragraph-font-style-bold,revert);font-weight:var(--rndzz-page-paragraph-font-weight-bold,revert);line-height:var(--rndzz-page-paragraph-line-height-bold,revert);text-align:var(--rndzz-page-paragraph-text-align-bold,revert);text-decoration:var(--rndzz-page-paragraph-text-decoration-bold,revert);text-transform:var(--rndzz-page-paragraph-text-transform-bold,revert)}:host p em,:host p i{color:var(--rndzz-page-paragraph-color-italic,revert);font-family:var(--rndzz-page-paragraph-font-family-italic),sans-serif;font-size:var(--rndzz-page-paragraph-font-size-italic,revert);font-style:var(--rndzz-page-paragraph-font-style-italic,revert);font-weight:var(--rndzz-page-paragraph-font-weight-italic,revert);line-height:var(--rndzz-page-paragraph-line-height-italic,revert);text-align:var(--rndzz-page-paragraph-text-align-italic,revert);text-decoration:var(--rndzz-page-paragraph-text-decoration-italic,revert);text-transform:var(--rndzz-page-paragraph-text-transform-italic,revert)}:host p a{color:var(--rndzz-page-paragraph-color-link,revert);font-family:var(--rndzz-page-paragraph-font-family-link),sans-serif;font-size:var(--rndzz-page-paragraph-font-size-link,revert);font-style:var(--rndzz-page-paragraph-font-style-link,revert);font-weight:var(--rndzz-page-paragraph-font-weight-link,revert);line-height:var(--rndzz-page-paragraph-line-height-link,revert);text-align:var(--rndzz-page-paragraph-text-align-link,revert);text-decoration:var(--rndzz-page-paragraph-text-decoration-link,revert);text-transform:var(--rndzz-page-paragraph-text-transform-link,revert)}:host p:empty:before{content:" "}:host ol,:host ul{font-family:var(--rndzz-page-bullet-list-font-family),sans-serif;font-size:var(--rndzz-page-bullet-list-font-size,revert);line-height:var(--rndzz-page-paragraph-line-height,revert);margin:0;padding-left:var(--rndzz-page-bullet-list-padding-left,revert)}:host ol li,:host ul li{color:var(--rndzz-page-bullet-list-color,revert)}:host ol li[data-list=bullet],:host ul li[data-list=bullet]{list-style-type:var(--rndzz-page-bullet-list-style-type,revert)}:host ol li[data-list=ordered],:host ul li[data-list=ordered]{list-style-type:decimal}:host ol li,:host ul li{padding-left:var(--rndzz-page-bullet-list-marker-padding-left,revert);position:static}:host ol li::marker,:host ul li::marker{color:var(--rndzz-page-bullet-list-marker-color,revert);font-size:var(--rndzz-page-bullet-list-marker-font-size,revert)}`;let Gn=class extends Pt{constructor(){super(...arguments),this.items=[],this.preventLazyLoad=!1,this.webComponentGenerator=new Co}static{this.styles=qn}willUpdate(t){t.has("designConfiguration")&&this.designConfiguration&&this.toggleAttribute("has-shadow",this.designConfiguration.settings.contentShadowVisible)}render(){return y`${this.#j()} ${an(this.#Ht(),(t,e)=>t.itemId||e,t=>this.#Mt(t))}`}#Dt(t){return!(t.content||!t.publicationContentId&&!t.contentContainerId)}#Ht(){return this.items.filter((t,e)=>!this.preventLazyLoad||!this.#Dt(t)||e<5).map(t=>{const e=t.content?.["@type"];if("HTML"===e)return{type:"HTML",content:t.content.html,itemId:t.itemId,id:t.itemId};if(["BOX","CARD","CTA","CAROUSEL"].includes(e))return{type:"RENDERED_WEB_COMPONENT",render:t.content,itemId:t.itemId};const r=Zn.mapContentItemToWebComponentInputs(t,this.runtimeConfig??this.renderApiUrl);
1return r?{type:"WEB_COMPONENT",inputs:r,itemId:t.itemId}:null}).filter(t=>null!==t)}#j(){return this.titleContent?y`<h1 class="page-contents_title">${this.titleContent}</h1>`:w}#Mt(t){switch(t.type){case"RENDERED_WEB_COMPONENT":return y`<div class="rndzz-content-wrapper" id="${fn(t.itemId)}"><rndzz-rendering .rendering="${t.render}" .runtimeConfig="${this.runtimeConfig}"></rndzz-rendering></div>`;case"WEB_COMPONENT":{const e=this.webComponentGenerator.generateWebComponentTagHtml(t.inputs.type,t.inputs.args);return y`<div class="rndzz-content-wrapper" id="${fn(t.itemId)}">${qo(e)}</div>`}case"HTML":return y`<div class="rndzz-content-wrapper" id="${fn(t.itemId)}"><div class="text-content">${qo(t.content)}</div></div>`;case"SEPARATOR":return y`<hr>`;default:return w}}};Mt([Wt({type:Array})],Gn.prototype,"items",void 0),Mt([Wt({type:Object})],Gn.prototype,"designConfiguration",void 0),Mt([Wt({type:Boolean})],Gn.prototype,"preventLazyLoad",void 0),Mt([Wt({type:String})],Gn.prototype,"renderApiUrl",void 0),Mt([Wt({type:String})],Gn.prototype,"titleContent",void 0),Mt([Wt({attribute:!1})],Gn.prototype,"runtimeConfig",void 0),Gn=Mt([Dt("rndzz-contents")],Gn);var Xn=mt`:host{align-items:center;background:var(--rndzz-page-page-background-color);display:flex;flex-direction:column;width:100%}:host header{align-items:center;display:flex;flex-direction:column;width:100%}:host .page-contents{background:var(--rndzz-page-content-background-color);border-radius:var(--rndzz-page-content-border-radius);border-width:var(--rndzz-page-content-border-width);margin:var(--rndzz-page-content-margin);padding:var(--rndzz-page-content-padding)}:host .page-contents.has-shadow{box-shadow:var(--rndzz-page-content-shadow-offset) var(--rndzz-page-content-shadow-blur) var(--rndzz-page-content-shadow-spread) var(--rndzz-page-content-shadow-color)}:host article{box-sizing:border-box;max-width:var(--rndzz-page-max-width);width:100%}`;let Jn=class extends Pt{constructor(){super(...arguments),this.pageMode=!1,this.preventLazyLoad=!1,this.#Ut=!1,this.#jt=null}static{this.styles=Xn}#Ut;#jt;connectedCallback(){super.connectedCallback(),this.pageMode&&this.preventLazyLoad&&!this.#Ut&&this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),null!==this.#jt&&(clearTimeout(this.#jt),this.#jt=null,this.#Ut=!1)}willUpdate(t){t.has("pageMode")&&(this.preventLazyLoad=this.pageMode)}updated(){this.pageMode&&!this.#Ut&&this.rendering&&(this.#Ut=!0,this.#jt=setTimeout(()=>{this.#jt=null,this.preventLazyLoad=!1},1e3))}render(){if(!this.designConfiguration)return w;const t=this.designConfiguration.settings;return y`${ge(t.headerVisible,()=>y`<header class="header-layout-${t.headerLayout}"><rndzz-page-header .rendering="${this.rendering}" .designConfiguration="${this.designConfiguration}"></rndzz-page-header></header>`)}<article><div class="${Qo({"page-contents":!0,"has-shadow":t.contentShadowVisible})}"><rndzz-contents .items="${this.rendering.items}" .designConfiguration="${this.designConfiguration}" .preventLazyLoad="${this.preventLazyLoad}" .renderApiUrl="${this.runtimeConfig?.renderApiUrl??this.renderApiUrl}" .runtimeConfig="${this.runtimeConfig}" .titleContent="${t.titleVisible?this.rendering.title||(t.titleContent??void 0):void 0}"></rndzz-contents></div></article>`}};Mt([Wt({type:Object})],Jn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Jn.prototype,"designConfiguration",void 0),Mt([Wt({type:Boolean})],Jn.prototype,"pageMode",void 0),Mt([Wt({type:String})],Jn.prototype,"renderApiUrl",void 0),Mt([Wt({attribute:!1})],Jn.prototype,"runtimeConfig",void 0),Mt([Zt()],Jn.prototype,"preventLazyLoad",void 0),Jn=Mt([Dt("rndzz-page")],Jn);var Kn=mt`:host{background:var(--rndzz-page-content-background-color);border-radius:var(--rndzz-page-content-border-radius);display:block;width:100%}:host[has-shadow]{box-shadow:var(--rndzz-page-content-shadow-offset) var(--rndzz-page-content-shadow-blur) var(--rndzz-page-content-shadow-spread) var(--rndzz-page-content-shadow-color)}:host .container{padding:var(--rndzz-page-content-padding)}`;let Qn=class extends Pt{static{this.styles=Kn}render(){return this.designConfiguration?y`<div class="container"><rndzz-contents .items="${this.rendering.items}" .designConfiguration="${this.designConfiguration}" .renderApiUrl="${this.runtimeConfig?.renderApiUrl??this.renderApiUrl}" .runtimeConfig="${this.runtimeConfig}"></rndzz-contents></div>`:w}};Mt([Wt({type:Object})],Qn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Qn.prototype,"designConfiguration",void 0),Mt([Wt({type:String})],Qn.prototype,"renderApiUrl",void 0),Mt([Wt({attribute:!1})],Qn.prototype,"runtimeConfig",void 0),Qn=Mt([Dt("rndzz-container")],Qn);let Yn=class extends Pt{render(){return this.designConfiguration?y`<rndzz-contents .items="${[{content:this.rendering,itemId:""}]}" .designConfiguration="${this.designConfiguration}" .runtimeConfig="${this.runtimeConfig}"></rndzz-contents>`:w}};Mt([Wt({type:Object})],Yn.prototype,"rendering",void 0),Mt([Wt({type:Object})],Yn.prototype,"designConfiguration",void 0),Mt([Wt({attribute:!1})],Yn.prototype,"runtimeConfig",void 0),Yn=Mt([Dt("rndzz-html")],Yn);var ti=mt`:host([hidden]){display:none}:host{all:initial;display:block;font-family:inherit;height:var(--rndzz-containable-height,auto);position:relative;width:100%}`;let ei=class extends Pt{constructor(){super(...arguments),this.pageMode=!1,this.controller=new Do(this),this.#Wt=W(jo)}static{this.styles=ti}#Zt;#qt;#Wt;get#Gt(){const t=this.controller.rendering;return!t||!1!==this.runtimeConfig?.displayWhenNoOffer||(io(t)||!!t.merchantSearchFallbackUrl)}willUpdate(t){!this.rendering||this.controller.rendering&&!t.has("rendering")||this.controller.initData(this.rendering),this.#Xt(),this.toggleAttribute("hidden",!this.#Gt)}#Xt(){if(!Jo)return;const t=Ko(this.controller.computedStylesScript??""),e=Ko(this.runtimeConfig?.customCss??"");if(t===this.#Zt&&e===this.#qt)return;const r=this.renderRoot,o=[this.#Zt,this.#qt];r.adoptedStyleSheets=[...r.adoptedStyleSheets.filter(t=>!o.includes(t)),...t?[t]:[],...e?[e]:[]],this.#Zt=t,this.#qt=e}render(){return this.controller.rendering&&this.controller.designConfiguration&&this.controller.computedStylesScript&&this.#Gt?[Jo?w:qo(`<style class="computed-variables">${zt(this.controller.computedStylesScript)}</style>`),this.#Jt(this.controller.rendering,this.controller.designConfiguration),this.controller.jsonLdScript?qo(`<script type="application/ld+json">${this.controller.jsonLdScript}<\/script>`):w]:w}#Jt(t,e){if(!t)throw new Error("no rendering");return((t,e,r)=>{for(const r of e)if(r[0]===t)return(0,r[1])();return r?.()})(t["@type"],[["BOX",()=>this.#Kt(t,e)],["CTA",()=>this.#Qt(t,e)],["CARD",()=>this.#Yt(t,e)],["CAROUSEL",()=>this.#te(t,e)],["PAGE",()=>this.#ee(t,e)],["CONTAINER",()=>this.#re(t,e)],["HTML",()=>this.#oe(t,e)]],()=>this.#ne(t))}#Kt(t,e){return y`<rndzz-box .rendering="${t}" .designConfiguration="${e}" .isImageAndTitleAsLink="${this.containableOptions?.isImageAndTitleAsLink??!0}" .runtimeConfig="${this.runtimeConfig}"></rndzz-box>`}#Qt(t,e){return y`<rndzz-cta .rendering="${t}" .designConfiguration="${e}" .runtimeConfig="${this.runtimeConfig}"></rndzz-cta>`}#Yt(t,e){return y`<rndzz-card .rendering="${t}" .designConfiguration="${e}" .isImageAndTitleAsLink="${this.containableOptions?.isImageAndTitleAsLink??!0}" .runtimeConfig="${this.runtimeConfig}"></rndzz-card>`}#ne(t){return Rt.error(null,`Unknown containable type: ${t["@type"]}`),y`<rndzz-link .url="${t.url}" .runtimeConfig="${this.runtimeConfig}" initial>${this.#Wt(t.title||t.productName,t)}</rndzz-link>`}#te(t,e){return y`<rndzz-carousel .rendering="${t}" .designConfiguration="${e}" .runtimeConfig="${this.runtimeConfig}"></rndzz-carousel>`}#ee(t,e){return y`<rndzz-page .rendering="${t}" .designConfiguration="${e}" .pageMode="${this.pageMode}" .runtimeConfig="${this.runtimeConfig}"></rndzz-page>`}#re(t,e){return y`<rndzz-container .rendering="${t}" .designConfiguration="${e}" .runtimeConfig="${this.runtimeConfig}"></rndzz-container>`}#oe(t,e){return y`<rndzz-html .rendering="${t}" .designConfiguration="${e}" .runtimeConfig="${this.runtimeConfig}"></rndzz-html>`}};function ri(t){if(!t)return new URLSearchParams;if(t instanceof URLSearchParams||"string"==typeof t)return new URLSearchParams(t);const e=new URLSearchParams;for(const[r,o]of Object.entries(t)){const t=Array.isArray(o)?o:[o];for(const o of t)null!=o&&e.append(r,String(o))}return e}var oi;Mt([Wt({type:Object})],ei.prototype,"rendering",void 0),Mt([Wt({type:Number,attribute:"initial-width-hint"})],ei.prototype,"initialWidthHint",void 0),Mt([Wt({type:Boolean,attribute:"page-mode"})],ei.prototype,"pageMode",void 0),Mt([Wt({attribute:!1})],ei.prototype,"runtimeConfig",void 0),Mt([Wt({type:Object})],ei.prototype,"containableOptions",void 0),ei=Mt([Dt("rndzz-rendering")],ei);
1class ni extends Pt{constructor(){super(...arguments),this.redirectApiUrl=Ce(),this.preventFontLoading=!1,this.subtag=!1,this.linkQueryParams=new URLSearchParams,this.displayWhenNoOffer=!0,this.pageMode=!1,this.renderingController=new Do(this)}static{this.styles=mt`:host{display:block;position:relative;width:100%}`}set version(t){}get version(){return ue}get runtimeConfig(){return function(t={}){return{loadFonts:t.loadFonts??!0,displayWhenNoOffer:t.displayWhenNoOffer??!0,customCss:t.customCss,renderApiUrl:t.renderApiUrl??we()??"",redirectApiUrl:t.redirectApiUrl??Ce()??"",renderBaseRedirectApiUrl:t.renderBaseRedirectApiUrl??me,linkQueryParams:ri(t.linkQueryParams),tracking:{allowedDomains:t.tracking?.allowedDomains??ve,subtag:t.tracking?.subtag??!1}}}({loadFonts:!this.preventFontLoading,displayWhenNoOffer:this.displayWhenNoOffer,customCss:this.customCss,redirectApiUrl:this.redirectApiUrl,renderApiUrl:this.getRuntimeRenderApiUrl(),linkQueryParams:this.linkQueryParams,tracking:{subtag:this.subtag}})}getRuntimeRenderApiUrl(){return we()??""}willUpdate(){So(this.customLocale)}render(){return ge(this.renderingController.rendering,()=>y`<rndzz-rendering .rendering="${this.renderingController.rendering}" .pageMode="${this.pageMode}" .runtimeConfig="${this.runtimeConfig}"></rndzz-rendering>`)}initializeComponent(){Rt.trace(this,"init"),this.#ie(),function(t){if(ae)return;ae=!0,se={allowedDomains:[...t.allowedDomains],subtag:t.subtag},new Gt(le,Jt).initTracking()}(this.runtimeConfig.tracking),this.#ae()}#ie(){const t=this.lastElementChild;"A"===t?.tagName&&t.remove()}static#se=!1;#ae(){if(oi.#se)return;oi.#se=!0;const t=document.querySelector('meta[name="ssr-notify-url"]')?.getAttribute("content");if(!t)return;let e=oe();if(!e){e=de.PAGE_SESSION_ID;const t=document.createElement("meta");t.name="page-session-id",t.content=e,document.head.appendChild(t)}var r;r=()=>{const r=document.querySelector('meta[name="ssr-notify-body"]')?.getAttribute("content")||"",o=new URLSearchParams(r);o.set("sessionId",e),o.set("location",Xt()),fetch(t,{method:"POST",body:o,headers:{"content-type":"application/x-www-form-urlencoded"},keepalive:!0,priority:"low"}).catch(()=>{Rt.error(this,`Error while trying to notify render with ${t}`)})},"requestIdleCallback"in globalThis?requestIdleCallback(r,{timeout:2e3}):setTimeout(r,2e3)}dispatchLoadedEvent(){const t=new CustomEvent("renderLoaded",{bubbles:!0,composed:!0});this.dispatchEvent(t)}}oi=ni,Mt([Wt({attribute:"redirect-api-url"})],ni.prototype,"redirectApiUrl",void 0),Mt([Wt({type:Boolean})],ni.prototype,"preventFontLoading",void 0),Mt([Wt({type:Boolean})],ni.prototype,"subtag",void 0),Mt([Wt({attribute:"custom-locale"})],ni.prototype,"customLocale",void 0),Mt([Wt({attribute:"custom-css"})],ni.prototype,"customCss",void 0),Mt([Wt({attribute:"link-query-params",converter:{fromAttribute:t=>ri(t??void 0),toAttribute:t=>ri(t).toString()}})],ni.prototype,"linkQueryParams",void 0),Mt([Wt({attribute:"display-when-no-offer",converter:{fromAttribute:t=>"false"!==t,toAttribute:t=>t?"":"false"},reflect:!0})],ni.prototype,"displayWhenNoOffer",void 0),Mt([Wt({type:Boolean,attribute:"page-mode"})],ni.prototype,"pageMode",void 0),Mt([Wt({reflect:!0,attribute:"version"})],ni.prototype,"version",null);class ii extends ni{#le;constructor(t){super(),this.noRenderApiCache=!1,this.noCache=!1,this.renderApiUrl=we()??"",this.loading="default",this.initialized=!1,this.#le=!1;const e=t.onComplete;this.renderTask=new fe(this,{...t,autoRun:!1,onComplete:t=>{t&&this.renderingController.initData(t),e?e(t):this.dispatchLoadedEvent()}})}connectedCallback(){if(super.connectedCallback(),this.#le)return this.#le=!1,void this.renderTask.run();this.initialized||(this.initialized=!0,this.#de(()=>{this.initializeComponent(),this.renderTask.run(),this.renderTask.autoRun=!0}))}disconnectedCallback(){super.disconnectedCallback(),this.renderTask.status===ce&&(this.#le=!0,this.renderTask.abort(new DOMException("Component disconnected","AbortError")))}getRuntimeRenderApiUrl(){return this.renderApiUrl}#de(t){if("lazy"===this.loading){const e=new IntersectionObserver(r=>{r.forEach(r=>{r.intersectionRatio>0&&(t(),e.disconnect())})},{threshold:.1,rootMargin:"300px"});e.observe(this)}else t()}}Mt([Wt({type:Boolean,attribute:"no-render-api-cache"})],ii.prototype,"noRenderApiCache",void 0),Mt([Wt({type:Boolean,attribute:"no-cache"})],ii.prototype,"noCache",void 0),Mt([Wt({attribute:"render-api-url"})],ii.prototype,"renderApiUrl",void 0),Mt([Wt({attribute:"design-id"})],ii.prototype,"designId",void 0),Mt([Wt()],ii.prototype,"loading",void 0);let ai=class extends ii{constructor(){super({task:async([t,e,r,o,n],{signal:i})=>{if(!t)throw new Error("No publication-content-id provided");return de.getRenderByPublicationContentId(t,e,!r,o,!n,i)},args:()=>[this.publicationContentId,this.designId,this.noCache,this.renderApiUrl,this.noRenderApiCache]})}updated(t){t.has("publicationContentId")&&(this.id=this.publicationContentId??"")}};Mt([Wt({attribute:"publication-content-id"})],ai.prototype,"publicationContentId",void 0),ai=Mt([Dt("affilizz-rendering-component")],ai);let si=class extends ai{};si=Mt([Dt("azz-rendering")],si);let li=class extends ai{};li=Mt([Dt("affilizz-content-component")],li);let di=class extends li{};di=Mt([Dt("azz-content")],di);let ci=class extends ii{constructor(){super({task:async([t,e,r,o,n],{signal:i})=>{if(t)return de.getPageRenderByPublicationId(t,!r,o,!n,i);if(e)return de.getPageRenderByPublicationTinyCode(e,!r,o,!n,i);throw new Error("No id or tinyCode provided")},args:()=>[this.publicationId,this.pageTinyCode,this.noCache,this.renderApiUrl,this.noRenderApiCache]})}updated(t){(t.has("pageTinyCode")||t.has("publicationId"))&&(this.id=this.pageTinyCode??this.publicationId??"")}};Mt([Wt({attribute:"publication-id"})],ci.prototype,"publicationId",void 0),Mt([Wt({attribute:"page-tiny-code"})],ci.prototype,"pageTinyCode",void 0),ci=Mt([Dt("affilizz-page-component")],ci);let hi=class extends ci{};hi=Mt([Dt("azz-page")],hi);let fi=class extends ii{constructor(){super({task:async([t,e,r,o,n,i,a,s],{signal:l})=>{const d=t||e,c=r||o;if(d)return de.getRenderByContentContainerId(d,n,!i,a,!s,l);if(c)return de.getRenderByContentContainerTinyCode(c,n,!i,a,!s,l);throw new Error("No id or tinyCode provided")},args:()=>[this.dealId,this.contentContainerId,this.dealTinyCode,this.contentContainerTinyCode,this.designId,this.noCache,this.renderApiUrl,this.noRenderApiCache]})}updated(t){(t.has("dealTinyCode")||t.has("dealId")||t.has("contentContainerTinyCode")||t.has("contentContainerId"))&&(this.id=this.dealTinyCode||this.dealId||this.contentContainerTinyCode||this.contentContainerId||"")}};Mt([Wt({attribute:"content-container-id"})],fi.prototype,"contentContainerId",void 0),Mt([Wt({attribute:"content-container-tiny-code"})],fi.prototype,"contentContainerTinyCode",void 0),Mt([Wt({attribute:"deal-id"})],fi.prototype,"dealId",void 0),Mt([Wt({attribute:"deal-tiny-code"})],fi.prototype,"dealTinyCode",void 0),fi=Mt([Dt("affilizz-deal-component")],fi);let pi=class extends fi{};pi=Mt([Dt("azz-deal")],pi);let gi=class extends ii{constructor(){super({task:async([t,e,r,o,n,i,a,s,l,d,c,h,f,p,g],{signal:u})=>
1{if(!t&&!e||!r)throw new Error("No product-id, product-localized-id, media-id provided");return de.getRenderByCatalog({productCatalogId:t,productCatalogLocalizedId:e,mediaId:r,variantKey:o,variantValue:n,variantKeyId:i,variantValueId:a,locale:s,offerIds:l,displayType:d,designId:c,title:h||void 0},!f,p,!g,u)},args:()=>[this.productId,this.productLocalizedId,this.mediaId,this.variantKey,this.variantValue,this.variantKeyId,this.variantValueId,this.locale,this.offerIds,this.type,this.designId,this.title,this.noCache,this.renderApiUrl,this.noRenderApiCache]}),this.mediaId=re(),this.title="",this.type="BOX"}};Mt([Wt({attribute:"media-id"})],gi.prototype,"mediaId",void 0),Mt([Wt({attribute:"product-id"})],gi.prototype,"productId",void 0),Mt([Wt({attribute:"product-localized-id"})],gi.prototype,"productLocalizedId",void 0),Mt([Wt({attribute:"variant-key"})],gi.prototype,"variantKey",void 0),Mt([Wt({attribute:"variant-value"})],gi.prototype,"variantValue",void 0),Mt([Wt({attribute:"variant-key-id"})],gi.prototype,"variantKeyId",void 0),Mt([Wt({attribute:"variant-value-id"})],gi.prototype,"variantValueId",void 0),Mt([Wt({attribute:"title"})],gi.prototype,"title",void 0),Mt([Wt()],gi.prototype,"locale",void 0),Mt([Wt({attribute:"offer-ids"})],gi.prototype,"offerIds",void 0),Mt([Wt()],gi.prototype,"type",void 0),gi=Mt([Dt("affilizz-catalog-component")],gi);let ui=class extends gi{};ui=Mt([Dt("azz-catalog")],ui);let zi=class extends ii{constructor(){super({task:async([t,e,r,o,n,i],{signal:a})=>{const s=t??re();if(!s)throw new Error("No media-id provided");const l={title:document.title,mediaId:re(),keywords:document.querySelector('meta[name="keywords"]')?.getAttribute("content")||void 0,description:ee(),...Array.from(document.querySelectorAll('script[type="application/ld+json"]')).map(t=>{const e=t.textContent;try{return e?JSON.parse(e):{}}catch(t){return{}}}).reduce((t,e)=>{const r=e["@type"]?.toLowerCase();switch(r){case"product":t.products||(t.products=[]),t.products.push({asin:Yt(e.asin),gtin:Yt(e.gtin),name:Yt(e.name),category:te(e.category),description:Yt(e.description),brand:te(e.brand),lowPrice:Qt(e.offers?.lowPrice),highPrice:Qt(e.offers?.highPrice)});break;case"breadcrumblist":{const r=Array.isArray(e.itemListElement)?e.itemListElement:[];t.categories=r.filter(t=>"ListItem"===(t.type||t["@type"])).map(t=>te(t.item)).filter(t=>!!t);break}}return t},{})};return e&&(l.keywords=e),l.mediaId=s,l.designId=r,de.getRenderByContext(l,!o,n,!i,a)},args:()=>[this.media,this.keywords,this.designId,this.noCache,this.renderApiUrl,this.noRenderApiCache]})}};Mt([Wt()],zi.prototype,"media",void 0),Mt([Wt()],zi.prototype,"keywords",void 0),zi=Mt([Dt("affilizz-dynamic-component")],zi);let mi=class extends zi{};mi=Mt([Dt("azz-dynamic")],mi);class bi extends ni{constructor(){super(...arguments),this.initialized=!1}connectedCallback(){super.connectedCallback(),this.initialized||(this.initialized=!0,this.initializeComponent())}initializeComponent(){super.initializeComponent()}willUpdate(){super.willUpdate(),this.rendering&&this.renderingController.initData(this.rendering)}updated(t){t.has("rendering")&&this.rendering&&(this.id=this.rendering.id||"",this.dispatchLoadedEvent())}}Mt([Wt({attribute:"render",type:Object})],bi.prototype,"rendering",void 0);let vi=class extends bi{};vi=Mt([Dt("affilizz-designer-component")],vi);let xi=class extends vi{};xi=Mt([Dt("azz-designer")],xi);let yi=class extends ii{constructor(){super({task:async([t,e,r,o],{signal:n})=>{const i=this.#ce(t);if(!i)throw new Error("No config params provided");return de.getRenderByWebComponent(i,!e,r,!o,n)},args:()=>[this.config,this.noCache,this.renderApiUrl,this.noRenderApiCache],onComplete:t=>{void 0!==t&&this.dispatchLoadedEvent()}})}#ce(t){if(!t)return;let e;try{e=JSON.parse(t)}catch(t){return void Rt.warn(null,"Invalid JSON config",t)}if(!e.displayType)return;const r=new URLSearchParams;r.set("mediaId",e.media??re()??""),r.set("strict",`${e.strict??!1}`),e.keyword&&r.set("keyword",e.keyword),e.minPrice&&r.set("minPrice",`${e.minPrice}`),e.maxPrice&&r.set("maxPrice",`${e.maxPrice}`),e.countryCode&&r.set("countryCode",e.countryCode),e.createPub&&r.set("createPub",`${e.createPub}`),e.azzTags?.length&&r.set("azzTags",e.azzTags.join(",")),"undefined"!=typeof document&&document.title&&r.set("pageTitle",document.title),e.subTags?.length&&r.set("subTags",e.subTags.join(","));let o=e.gtins||[];return"string"==typeof o&&(o=o.split(",")),o.map(t=>t?.trim()).filter(t=>!!t).forEach(t=>r.append("gtins[]",t)),r.set("displayConfig",JSON.stringify({type:e.dis
1playType,modelId:e.design||null,config:e.displayConfig||{}})),r}};Mt([Wt()],yi.prototype,"config",void 0),yi=Mt([Dt("affilizz-lazy-content")],yi);let Ci=class extends yi{};Ci=Mt([Dt("azz-lazy-content")],Ci);let wi=class extends ii{constructor(){super({task:async([t,e,r,o,n,i],{signal:a})=>{if(this.#he(r))return;const s=t??re();if(!s)throw new Error("No media-id provided");const l=new URLSearchParams;return l.set("mediaId",s),e&&l.set("id",e),de.getRenderByMagicMatch(l,!o,n,!i,a)},args:()=>[this.media,this.id,this.detectAffiliation,this.noCache,this.renderApiUrl,this.noRenderApiCache]}),this.id="",this.detectAffiliation=!0}#he(t){return!!t&&document.querySelectorAll("affilizz-rendering-component,azz-rendering,affilizz-catalog-component,azz-catalog").length>0}};Mt([Wt()],wi.prototype,"media",void 0),Mt([Wt({attribute:"id"})],wi.prototype,"id",void 0),Mt([Wt({attribute:"detect-affiliation",type:Boolean})],wi.prototype,"detectAffiliation",void 0),wi=Mt([Dt("affilizz-magic-match")],wi);let ki=class extends wi{};ki=Mt([Dt("azz-magic-match")],ki),function(t={}){if(!(t.enabled??!globalThis.__AFFILIZZ_DISABLE_HYDRATION_RECOVERY__)||Et)return;const e=t.shouldRecoverError??Ht,r=t.logRecoveries??!0,o=Pt.prototype;Et=o.update,o.update=function(t){const o=!this.hasUpdated;try{Et?.call(this,t)}catch(t){if(!o||!e(t))throw t;!function(t,e,r){(function(t){const e=globalThis,r=e[Nt]??={recovered:0,tagNames:[]},o=t.tagName?.toLowerCase()??"unknown";r.recovered++,r.tagNames.includes(o)||r.tagNames.push(o),1===r.recovered&&console.warn(`[Affilizz component] hydration mismatch on <${o}>: the server-rendered markup was rebuilt on the client. Further occurrences are counted in globalThis.${Nt}.`)})(t),r&&Rt.warn(t,`Hydration recovery (${t.tagName?.toLowerCase()})`,e);"innerHTML"in t.renderRoot&&(t.renderRoot.innerHTML=t.renderRoot.innerHTML.split("\x3c!--lit-part ")[0]);N(t.render(),t.renderRoot,t.renderOptions)}(this,t,r)}}}()}());

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.