@adstore/templates 2.6.9 → 2.6.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
- (function(h,u){typeof exports=="object"&&typeof module!="undefined"?u(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],u):(h=typeof globalThis!="undefined"?globalThis:h||self,u(h["@adstore/templates"]={},h.preact))})(this,function(h,u){"use strict";var tu=Object.defineProperty,ou=Object.defineProperties;var nu=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var vn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var hn=(h,u,T)=>u in h?tu(h,u,{enumerable:!0,configurable:!0,writable:!0,value:T}):h[u]=T,g=(h,u)=>{for(var T in u||(u={}))vn.call(u,T)&&hn(h,T,u[T]);if(ut)for(var T of ut(u))mn.call(u,T)&&hn(h,T,u[T]);return h},w=(h,u)=>ou(h,nu(u));var Ct=(h,u)=>{var T={};for(var X in h)vn.call(h,X)&&u.indexOf(X)<0&&(T[X]=h[X]);if(h!=null&&ut)for(var X of ut(h))u.indexOf(X)<0&&mn.call(h,X)&&(T[X]=h[X]);return T};var We=(h,u,T)=>new Promise((X,Ge)=>{var C=ee=>{try{k(T.next(ee))}catch(we){Ge(we)}},le=ee=>{try{k(T.throw(ee))}catch(we){Ge(we)}},k=ee=>ee.done?X(ee.value):Promise.resolve(ee.value).then(C,le);k((T=T.apply(h,u)).next())});var T=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},X={},Ge={get exports(){return X},set exports(e){X=e}};/*!
1
+ (function(h,p){typeof exports=="object"&&typeof module!="undefined"?p(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],p):(h=typeof globalThis!="undefined"?globalThis:h||self,p(h["@adstore/templates"]={},h.preact))})(this,function(h,p){"use strict";var t_=Object.defineProperty,o_=Object.defineProperties;var n_=Object.getOwnPropertyDescriptors;var _t=Object.getOwnPropertySymbols;var vn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var hn=(h,p,C)=>p in h?t_(h,p,{enumerable:!0,configurable:!0,writable:!0,value:C}):h[p]=C,g=(h,p)=>{for(var C in p||(p={}))vn.call(p,C)&&hn(h,C,p[C]);if(_t)for(var C of _t(p))mn.call(p,C)&&hn(h,C,p[C]);return h},w=(h,p)=>o_(h,n_(p));var Tt=(h,p)=>{var C={};for(var Z in h)vn.call(h,Z)&&p.indexOf(Z)<0&&(C[Z]=h[Z]);if(h!=null&&_t)for(var Z of _t(h))p.indexOf(Z)<0&&mn.call(h,Z)&&(C[Z]=h[Z]);return C};var We=(h,p,C)=>new Promise((Z,Ge)=>{var T=ee=>{try{k(C.next(ee))}catch(we){Ge(we)}},de=ee=>{try{k(C.throw(ee))}catch(we){Ge(we)}},k=ee=>ee.done?Z(ee.value):Promise.resolve(ee.value).then(T,de);k((C=C.apply(h,p)).next())});var C=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Z={},Ge={get exports(){return Z},set exports(e){Z=e}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if(a==="string"||a==="number")n.push(i);else if(Array.isArray(i)){if(i.length){var l=o.apply(null,i);l&&n.push(l)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var c in i)t.call(i,c)&&i[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ge);const C=X;var le,k,ee,we,xe=0,Ot=[],Ue=[],St=u.options.__b,Lt=u.options.__r,At=u.options.diffed,It=u.options.__c,Rt=u.options.unmount;function Ie(e,t){u.options.__h&&u.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ue}),o.__[e]}function ie(e){return xe=1,bn(Bt,e)}function bn(e,t,o){var n=Ie(le++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,l);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!i||i.call(this,l,c,d);var f=!1;return _.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!i||i.call(this,l,c,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,c,d){if(this.__e){var _=i;i=void 0,r(l,c,d),i=_}a&&a.call(this,l,c,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function q(e,t){var o=Ie(le++,3);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(le++,4);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function W(e){return xe=5,Ee(function(){return{current:e}},[])}function Re(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Ee(e,t){var o=Ie(le++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function yn(e,t){return xe=8,Ee(function(){return e},t)}function $n(e){var t=k.context[e.__c],o=Ie(le++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function kn(){for(var e;e=Ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){k=null,St&&St(e)},u.options.__r=function(e){Lt&&Lt(e),le=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ue,o.__N=o.i=void 0})):(t.__h.forEach(Xe),t.__h.forEach(pt),t.__h=[])),ee=k},u.options.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ot.push(t)!==1&&we===u.options.requestAnimationFrame||((we=u.options.requestAnimationFrame)||wn)(kn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ue&&(o.__=o.__V),o.i=void 0,o.__V=Ue})),ee=k=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Xe),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),It&&It(e,t)},u.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Xe(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Xe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Mt(e){this.props=e}(Mt.prototype=new u.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function de(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=xn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Nn(e,t,o,n)};var Vt=u.options.unmount;function Dt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function qt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return qt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function gt(){this.__u=0,this.t=null,this.__b=null}function Ft(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ft(n.__v),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=qt(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Wt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ze.prototype=new u.Component).__a=function(e){var t=this,o=Ft(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var Tn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Cn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,On=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sn=/[A-Z0-9]/g,Ln=typeof document!="undefined",An=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gt=u.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}u.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var i in o){var a=o[i];if(!(i==="value"&&"defaultValue"in o&&a==null||Ln&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||An(o.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":On.test(i)?i=l:n.indexOf("-")===-1&&Cn.test(i)?i=i.replace(Sn,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&r[i=l]&&(i="oninputCapture"),r[i]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",jn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Tn,Ut&&Ut(e)};var Xt=u.options.__r;u.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=u.options.diffed;u.options.diffed=function(e){Zt&&Zt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Bn(){this.__data__=[],this.size=0}var zn=Bn;function Pn(e,t){return e===t||e!==e&&t!==t}var Ke=Pn,Mn=Ke;function Hn(e,t){for(var o=e.length;o--;)if(Mn(e[o][0],t))return o;return-1}var Je=Hn,Vn=Je,Dn=Array.prototype,qn=Dn.splice;function Fn(e){var t=this.__data__,o=Vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Wn=Fn,Gn=Je;function Un(e){var t=this.__data__,o=Gn(t,e);return o<0?void 0:t[o][1]}var Xn=Un,Zn=Je;function Kn(e){return Zn(this.__data__,e)>-1}var Jn=Kn,Yn=Je;function Qn(e,t){var o=this.__data__,n=Yn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var er=Qn,tr=zn,or=Wn,nr=Xn,rr=Jn,ar=er;function Ne(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=tr,Ne.prototype.delete=or,Ne.prototype.get=nr,Ne.prototype.has=rr,Ne.prototype.set=ar;var Ye=Ne,ir=Ye;function sr(){this.__data__=new ir,this.size=0}var cr=sr;function lr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var dr=lr;function _r(e){return this.__data__.get(e)}var ur=_r;function pr(e){return this.__data__.has(e)}var fr=pr,gr=typeof T=="object"&&T&&T.Object===Object&&T,Kt=gr,hr=Kt,vr=typeof self=="object"&&self&&self.Object===Object&&self,mr=hr||vr||Function("return this")(),Te=mr,br=Te,yr=br.Symbol,Jt=yr,Yt=Jt,Qt=Object.prototype,$r=Qt.hasOwnProperty,kr=Qt.toString,je=Yt?Yt.toStringTag:void 0;function wr(e){var t=$r.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(i){}var r=kr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var xr=wr,Nr=Object.prototype,Tr=Nr.toString;function Cr(e){return Tr.call(e)}var Or=Cr,eo=Jt,Sr=xr,Lr=Or,Ar="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:Ar:to&&to in Object(e)?Sr(e):Lr(e)}var Qe=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var he=Er,jr=Qe,Br=he,zr="[object AsyncFunction]",Pr="[object Function]",Mr="[object GeneratorFunction]",Hr="[object Proxy]";function Vr(e){if(!Br(e))return!1;var t=jr(e);return t==Pr||t==Mr||t==zr||t==Hr}var ht=Vr,Dr=Te,qr=Dr["__core-js_shared__"],Fr=qr,vt=Fr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wr(e){return!!oo&&oo in e}var Gr=Wr,Ur=Function.prototype,Xr=Ur.toString;function Zr(e){if(e!=null){try{return Xr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Kr=Zr,Jr=ht,Yr=Gr,Qr=he,ea=Kr,ta=/[\\^$.*+?()[\]{}|]/g,oa=/^\[object .+?Constructor\]$/,na=Function.prototype,ra=Object.prototype,aa=na.toString,ia=ra.hasOwnProperty,sa=RegExp("^"+aa.call(ia).replace(ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!Qr(e)||Yr(e))return!1;var t=Jr(e)?sa:oa;return t.test(ea(e))}var la=ca;function da(e,t){return e==null?void 0:e[t]}var _a=da,ua=la,pa=_a;function fa(e,t){var o=pa(e,t);return ua(o)?o:void 0}var mt=fa,ga=mt,ha=Te,va=ga(ha,"Map"),no=va,ma=mt,ba=ma(Object,"create"),et=ba,ro=et;function ya(){this.__data__=ro?ro(null):{},this.size=0}var $a=ya;function ka(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=ka,xa=et,Na="__lodash_hash_undefined__",Ta=Object.prototype,Ca=Ta.hasOwnProperty;function Oa(e){var t=this.__data__;if(xa){var o=t[e];return o===Na?void 0:o}return Ca.call(t,e)?t[e]:void 0}var Sa=Oa,La=et,Aa=Object.prototype,Ia=Aa.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,ja=et,Ba="__lodash_hash_undefined__";function za(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ba:t,this}var Pa=za,Ma=$a,Ha=wa,Va=Sa,Da=Ea,qa=Pa;function Ce(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ce.prototype.clear=Ma,Ce.prototype.delete=Ha,Ce.prototype.get=Va,Ce.prototype.has=Da,Ce.prototype.set=qa;var Fa=Ce,ao=Fa,Wa=Ye,Ga=no;function Ua(){this.size=0,this.__data__={hash:new ao,map:new(Ga||Wa),string:new ao}}var Xa=Ua;function Za(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ka=Za,Ja=Ka;function Ya(e,t){var o=e.__data__;return Ja(t)?o[typeof t=="string"?"string":"hash"]:o.map}var tt=Ya,Qa=tt;function ei(e){var t=Qa(this,e).delete(e);return this.size-=t?1:0,t}var ti=ei,oi=tt;function ni(e){return oi(this,e).get(e)}var ri=ni,ai=tt;function ii(e){return ai(this,e).has(e)}var si=ii,ci=tt;function li(e,t){var o=ci(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var di=li,_i=Xa,ui=ti,pi=ri,fi=si,gi=di;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=_i,Oe.prototype.delete=ui,Oe.prototype.get=pi,Oe.prototype.has=fi,Oe.prototype.set=gi;var hi=Oe,vi=Ye,mi=no,bi=hi,yi=200;function $i(e,t){var o=this.__data__;if(o instanceof vi){var n=o.__data__;if(!mi||n.length<yi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bi(n)}return o.set(e,t),this.size=o.size,this}var ki=$i,wi=Ye,xi=cr,Ni=dr,Ti=ur,Ci=fr,Oi=ki;function Se(e){var t=this.__data__=new wi(e);this.size=t.size}Se.prototype.clear=xi,Se.prototype.delete=Ni,Se.prototype.get=Ti,Se.prototype.has=Ci,Se.prototype.set=Oi;var Si=Se,Li=mt,Ai=function(){try{var e=Li(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),io=Ai,so=io;function Ii(e,t,o){t=="__proto__"&&so?so(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var bt=Ii,Ri=bt,Ei=Ke;function ji(e,t,o){(o!==void 0&&!Ei(e[t],o)||o===void 0&&!(t in e))&&Ri(e,t,o)}var co=ji;function Bi(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),l=a.length;l--;){var c=a[e?l:++r];if(o(i[c],c,i)===!1)break}return t}}var zi=Bi,Pi=zi,Mi=Pi(),Hi=Mi,ot={},Vi={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Te,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function c(d,_){if(_)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Vi,ot);var Di=Te,qi=Di.Uint8Array,Fi=qi,lo=Fi;function Wi(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Gi=Wi,Ui=Gi;function Xi(e,t){var o=t?Ui(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Zi=Xi;function Ki(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ji=Ki,Yi=he,_o=Object.create,Qi=function(){function e(){}return function(t){if(!Yi(t))return{};if(_o)return _o(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),es=Qi;function ts(e,t){return function(o){return e(t(o))}}var os=ts,ns=os,rs=ns(Object.getPrototypeOf,Object),uo=rs,as=Object.prototype;function is(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||as;return e===o}var po=is,ss=es,cs=uo,ls=po;function ds(e){return typeof e.constructor=="function"&&!ls(e)?ss(cs(e)):{}}var _s=ds;function us(e){return e!=null&&typeof e=="object"}var Be=us,ps=Qe,fs=Be,gs="[object Arguments]";function hs(e){return fs(e)&&ps(e)==gs}var vs=hs,fo=vs,ms=Be,go=Object.prototype,bs=go.hasOwnProperty,ys=go.propertyIsEnumerable,$s=fo(function(){return arguments}())?fo:function(e){return ms(e)&&bs.call(e,"callee")&&!ys.call(e,"callee")},ho=$s,ks=Array.isArray,vo=ks,ws=9007199254740991;function xs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ws}var mo=xs,Ns=ht,Ts=mo;function Cs(e){return e!=null&&Ts(e.length)&&!Ns(e)}var yt=Cs,Os=yt,Ss=Be;function Ls(e){return Ss(e)&&Os(e)}var As=Ls,ze={},Is={get exports(){return ze},set exports(e){ze=e}};function Rs(){return!1}var Es=Rs;(function(e,t){var o=Te,n=Es,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,l=a?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(Is,ze);var js=Qe,Bs=uo,zs=Be,Ps="[object Object]",Ms=Function.prototype,Hs=Object.prototype,bo=Ms.toString,Vs=Hs.hasOwnProperty,Ds=bo.call(Object);function qs(e){if(!zs(e)||js(e)!=Ps)return!1;var t=Bs(e);if(t===null)return!0;var o=Vs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bo.call(o)==Ds}var Fs=qs,Ws=Qe,Gs=mo,Us=Be,Xs="[object Arguments]",Zs="[object Array]",Ks="[object Boolean]",Js="[object Date]",Ys="[object Error]",Qs="[object Function]",ec="[object Map]",tc="[object Number]",oc="[object Object]",nc="[object RegExp]",rc="[object Set]",ac="[object String]",ic="[object WeakMap]",sc="[object ArrayBuffer]",cc="[object DataView]",lc="[object Float32Array]",dc="[object Float64Array]",_c="[object Int8Array]",uc="[object Int16Array]",pc="[object Int32Array]",fc="[object Uint8Array]",gc="[object Uint8ClampedArray]",hc="[object Uint16Array]",vc="[object Uint32Array]",N={};N[lc]=N[dc]=N[_c]=N[uc]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=!0,N[Xs]=N[Zs]=N[sc]=N[Ks]=N[cc]=N[Js]=N[Ys]=N[Qs]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[ic]=!1;function mc(e){return Us(e)&&Gs(e.length)&&!!N[Ws(e)]}var bc=mc;function yc(e){return function(t){return e(t)}}var $c=yc,nt={},kc={get exports(){return nt},set exports(e){nt=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,i=r&&r.exports===n,a=i&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=l})(kc,nt);var wc=bc,xc=$c,yo=nt,$o=yo&&yo.isTypedArray,Nc=$o?xc($o):wc,ko=Nc;function Tc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Tc,Cc=bt,Oc=Ke,Sc=Object.prototype,Lc=Sc.hasOwnProperty;function Ac(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Oc(n,o))||o===void 0&&!(t in e))&&Cc(e,t,o)}var Ic=Ac,Rc=Ic,Ec=bt;function jc(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?Ec(o,l,c):Rc(o,l,c)}return o}var Bc=jc;function zc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Pc=zc,Mc=9007199254740991,Hc=/^(?:0|[1-9]\d*)$/;function Vc(e,t){var o=typeof e;return t=t==null?Mc:t,!!t&&(o=="number"||o!="symbol"&&Hc.test(e))&&e>-1&&e%1==0&&e<t}var xo=Vc,Dc=Pc,qc=ho,Fc=vo,Wc=ze,Gc=xo,Uc=ko,Xc=Object.prototype,Zc=Xc.hasOwnProperty;function Kc(e,t){var o=Fc(e),n=!o&&qc(e),r=!o&&!n&&Wc(e),i=!o&&!n&&!r&&Uc(e),a=o||n||r||i,l=a?Dc(e.length,String):[],c=l.length;for(var d in e)(t||Zc.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Gc(d,c)))&&l.push(d);return l}var Jc=Kc;function Yc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Qc=Yc,el=he,tl=po,ol=Qc,nl=Object.prototype,rl=nl.hasOwnProperty;function al(e){if(!el(e))return ol(e);var t=tl(e),o=[];for(var n in e)n=="constructor"&&(t||!rl.call(e,n))||o.push(n);return o}var il=al,sl=Jc,cl=il,ll=yt;function dl(e){return ll(e)?sl(e,!0):cl(e)}var No=dl,_l=Bc,ul=No;function pl(e){return _l(e,ul(e))}var fl=pl,To=co,gl=ot,hl=Zi,vl=Ji,ml=_s,Co=ho,Oo=vo,bl=As,yl=ze,$l=ht,kl=he,wl=Fs,xl=ko,So=wo,Nl=fl;function Tl(e,t,o,n,r,i,a){var l=So(e,o),c=So(t,o),d=a.get(c);if(d){To(e,o,d);return}var _=i?i(l,c,o+"",e,t,a):void 0,f=_===void 0;if(f){var p=Oo(c),v=!p&&yl(c),b=!p&&!v&&xl(c);_=c,p||v||b?Oo(l)?_=l:bl(l)?_=vl(l):v?(f=!1,_=gl(c,!0)):b?(f=!1,_=hl(c,!0)):_=[]:wl(c)||Co(c)?(_=l,Co(l)?_=Nl(l):(!kl(l)||$l(l))&&(_=ml(c))):f=!1}f&&(a.set(c,_),r(_,c,n,i,a),a.delete(c)),To(e,o,_)}var Cl=Tl,Ol=Si,Sl=co,Ll=Hi,Al=Cl,Il=he,Rl=No,El=wo;function Lo(e,t,o,n,r){e!==t&&Ll(t,function(i,a){if(r||(r=new Ol),Il(i))Al(e,t,a,o,Lo,n,r);else{var l=n?n(El(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Sl(e,a,l)}},Rl)}var jl=Lo;function Bl(e){return e}var Ao=Bl;function zl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Pl=zl,Ml=Pl,Io=Math.max;function Hl(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=Io(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Ml(e,this,l)}}var Vl=Hl;function Dl(e){return function(){return e}}var ql=Dl,Fl=ql,Ro=io,Wl=Ao,Gl=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Fl(t),writable:!0})}:Wl,Ul=Gl,Xl=800,Zl=16,Kl=Date.now;function Jl(e){var t=0,o=0;return function(){var n=Kl(),r=Zl-(n-o);if(o=n,r>0){if(++t>=Xl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yl=Jl,Ql=Ul,ed=Yl,td=ed(Ql),od=td,nd=Ao,rd=Vl,ad=od;function id(e,t){return ad(rd(e,t,nd),e+"")}var sd=id,cd=Ke,ld=yt,dd=xo,_d=he;function ud(e,t,o){if(!_d(o))return!1;var n=typeof t;return(n=="number"?ld(o)&&dd(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var pd=ud,fd=sd,gd=pd;function hd(e){return fd(function(t,o){var n=-1,r=o.length,i=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&gd(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,i)}return t})}var vd=hd,md=jl,bd=vd;bd(function(e,t,o){md(e,t,o)});const ve=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(H).join(".");return ve(t(r,n,i),t,i)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,i])=>{const a=[o,r].filter(H).join(".");return n[r]=ve(t(r,i,a),t,a),n},{}):e,yd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Pe=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},$d=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),kd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),xd=()=>({w1:null,w2:null}),Nd=()=>({one_x_two:wd(),one_two:xd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||$d(),prediction:(e==null?void 0:e.prediction)||kd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=m(e||{},`markets.${a}`,Nd()[a||"one_two"]),i),{});Me(o,"markets",r)}return o},Td=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Cd=e=>!e&&e==null,H=e=>!Cd(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Od=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Sd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function se(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},Me=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,i,a)=>(r[i]===void 0&&(r[i]={}),a===n.length-1&&(r[i]=o),r[i]),e)},Ld=e=>{const t=e.slice(1);return t.length===3&&(e="#"+t.split("").map(o=>`${o}${o}`).join("")),e},Ad=e=>{const t=Ld(e),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>ve(e,(n,r,i)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,m(t,i)],i)?m(t,i,r):r:m(t,i,r):r),Ed=(e,t)=>{try{ve(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return ve(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function s(e,t,o,n,r,i){var a,l,c={};for(l in t)l=="ref"?a=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)c[l]===void 0&&(c[l]=a[l]);return u.options.vnode&&u.options.vnode(d),d}const Ho=u.createContext(),_e=({children:e,value:t})=>s(Ho.Provider,{value:t,children:e}),ue=e=>a=>We(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=Ct(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Q_);window.ResizeObserver=c.ResizeObserver}return u.render(s(_e,{value:r,children:u.cloneElement(e,g({ref:n,id:o},i))}),t)}),V=()=>$n(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&ve(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),se(r,"parent")):r}return n}),pe=(e,t)=>Md(e,t),me=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,i]=ie("desktop"),a=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[b,$])=>v-$),_=((f=d.find(([p,v],b)=>{const[$,y]=d[b+1]||[];return c>=v&&c<y}))==null?void 0:f[0])||"desktop";i(_)};return Et(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},qd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Fd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Fd.includes(n)&&(r=rt(r,"px"));const{key:i,value:a}=Dd(n,r);if(Od(a)&&(o[i]=Do(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),i==="innerText"&&(o.innerText=H(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=rt(a,"px")),i==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Ad(o.backgroundColor);l&&(o.backgroundColor=Rd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=qd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,L=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=Ct(i,["children","typography","accentTypography"]);var c;const a=Ee(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([_,f])=>{Gd(_)&&(d+=`${Sd(_)}: ${f}; `)}),d},[o]),l=(c=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:c.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=ie(!1);return[e,()=>t(o=>!o)]},Le=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",children:s("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),$t=()=>s("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),qo=(e,t)=>{var _,f,p,v,b,$,y,j,B,S,z,P,U;const o=Ud(t),n=L(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,i={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(j=n==null?void 0:n.container)==null?void 0:j.left},l=(((B=n==null?void 0:n.icon)==null?void 0:B.animations)||[]).map(x=>o[x]).join(", "),c=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((z=n==null?void 0:n.icon)!=null&&z.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(U=n==null?void 0:n.icon)==null?void 0:U.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:i,bodyRules:a,iconRules:d}},fe=e=>{const t=new Set([]);ve(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ee(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);q(()=>{o.forEach(yd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],Fo=["imageSource","objectFit"],it=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ie(!1),i=W(null),a=c=>{clearTimeout(i.current),i.current=null},l=()=>{a(i.current),r(c=>!c)};return q(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),q(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Wo=({ref:e,openDelay:t})=>{const o=W(Pe()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),i=c=>o.current.on("autoOpen",c),{isOpen:a,toggle:l}=Zd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Re(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),q(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Kd=de(({id:e},t)=>{var j,B,S,z,P,U,x,D,M;const o=W(null),[n,r]=at(),i=V(),a=me({targetRef:o,id:e}),l=pe(i,a),c=L(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=qo(l,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:v,toggle:b,click:$}=Wo({ref:t,openDelay:(j=l==null?void 0:l.container)==null?void 0:j.delay});fe(l);const y=n?te(c.container,...Xd):{};return s("div",{className:C(O.root,{[O.legalOpen]:n}),ref:o,children:[s("div",{className:O.icon,style:_,onClick:b,children:d&&s("div",{className:O.iconTarget,children:s($t,{})})}),s("div",{className:C(O.body,{[O.bodyOpen]:v}),style:f,children:[s("div",{className:O.arrow,style:p}),s("div",{className:O.close,style:c==null?void 0:c.close,onClick:b,children:s(Le,{})}),s("div",{className:O.container,style:c==null?void 0:c.container,children:[s("a",{href:(B=c==null?void 0:c.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(c.id),children:[s("div",{className:O.inner,children:[s("div",{className:O.logo,style:c==null?void 0:c.logo}),s(J,{className:O.text,style:c==null?void 0:c.text,typography:(S=c.text)==null?void 0:S.typography,accentTypography:(z=c.text)==null?void 0:z.accentTypography,children:(P=c==null?void 0:c.text)==null?void 0:P.children})]}),s("div",{className:C(O.button,{[O.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(U=c==null?void 0:c.button)==null?void 0:U.children})]}),s("div",{className:O.legalGap}),s("div",{className:O.legal,style:g(g({},c==null?void 0:c.legal),y),children:s("span",{className:O.legalText,children:s("span",{children:[s("span",{children:(x=c==null?void 0:c.legal)==null?void 0:x.children}),s("span",{className:O.legalButton,onClick:r,children:n?(D=c==null?void 0:c.legal)==null?void 0:D.buttonOpenText:(M=c==null?void 0:c.legal)==null?void 0:M.buttonHideText})]})})})]})]})]})}),Jd=ue(s(Kd,{})),A={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,i,a,l,c,d;const t=V(),o=L(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:oe.body,children:[s("div",{className:oe.line,style:o.line}),s("div",{className:oe.bodyInner,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.text,style:o.text,children:s(J,{typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),s("div",{className:oe.button,style:o.button,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:oe.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Qd=de(({id:e},t)=>{var j,B,S,z;const o=W(null),n=V(),r=me({targetRef:o,id:e}),i=pe(n,r),a=L(i),{isOpen:l,click:c,toggle:d}=Wo({ref:t,openDelay:(j=i==null?void 0:i.container)==null?void 0:j.delay});fe(i);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:v}=qo(i,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),b=(B=a==null?void 0:a.title)==null?void 0:B.hasIcon,$=te(a==null?void 0:a.title,...it),y=se(a==null?void 0:a.title,...it);return s("div",{ref:o,className:C(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[s("div",{className:A.icon,style:f,onClick:d,children:_&&s("div",{className:A.iconTarget,children:s($t,{})})}),s("div",{className:C(A.body,{[A.bodyOpen]:l}),style:p,children:[s("div",{className:A.arrow,style:v}),s("div",{className:A.container,style:a.container,children:[s("div",{className:A.close,style:a.close,onClick:d,children:s(Le,{})}),s("div",{className:A.head,style:$,children:[b&&s("div",{className:A.headIcon,style:te(a.title,"color"),children:s($t,{})}),s("div",{className:A.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),s("div",{className:A.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Yd,{onClick:c})}))}),s("div",{className:A.promotion,style:a.promotion,children:(z=a.promotion)==null?void 0:z.children})]})]})]})}),e_=ue(s(Qd,{})),Z={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},be=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],t_={root:"_root_mj8hr_1"},o_=()=>{var o,n,r;const e=V(),t=L(e);return s("div",{className:t_.root,style:t.root,children:s(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=W(Pe()),[r,i]=ie(!1),[a,l]=ie(),[c,d]=ie(o),_=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),v=()=>We(this,null,function*(){yield Td(+t),i(!0)}),b=()=>i(!1),$=()=>{n.current.emit("clickHide"),b()};return q(()=>{c&&n.current.emit("visible",r)},[r,c]),Re(e,()=>({onVisible:_,onClick:f,onClickHide:p,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:d,click:(...y)=>{b(),n.current.emit("click",...y)}}};function n_(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const r_=de(({id:e,className:t},o)=>{var z,P,U,x,D,M;const n=W(null),r=W(null),i=me({targetRef:n,id:e}),a=V(),l=pe(a,i);fe(l),Me(l,"button.percent_width",(z=l==null?void 0:l.button)==null?void 0:z.width),Me(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const c=L(l),d=m(c,"root.delay",0),{isOpen:_,isReady:f,setIsReady:p,clickHide:v,click:b}=kt(o,d);q(()=>{const K=r.current;if(!K)return;if(n_(K)){p(!0);return}const ke=()=>p(!0);return K.addEventListener("load",ke),()=>{K.removeEventListener("load",ke)}},[c]);const $={alignItems:be((U=c.root)==null?void 0:U.align)},y=w(g({},c==null?void 0:c.button),{justifyContent:be((x=c.root)==null?void 0:x.textAlign)}),j=w(g({},c==null?void 0:c.legal),{justifyContent:be((D=c.root)==null?void 0:D.textAlign)}),B=se(c.root,...Fo,...Y),S=te(c.root,...Fo);return s("div",{className:C(Z.root,t,{[Z.desktop]:i==="desktop",[Z.tablet]:i==="tablet",[Z.laptop]:i==="laptop"}),ref:n,style:{display:_&&f?"flex":"none"},children:[s("div",{className:Z.overlay,style:c.overlay,onClick:v}),s("div",{className:Z.wrapper,children:[s("div",{className:Z.close,style:Ve(c.close),onClick:v,children:s(Le,{})}),s("a",{href:(M=c.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:Z.content,style:B,onClick:()=>b(c.id),children:[s("img",{ref:r,className:Z.background,src:S.imageSource,alt:"",style:S}),s("div",{className:Z.body,style:$,children:[s("div",{className:Z.logo,style:c.logo}),s("div",{className:Z.text,children:((c==null?void 0:c.children)||[]).map(K=>s(_e,{value:K,children:s(o_,{})}))}),s("div",{className:Z.button,style:y,children:y==null?void 0:y.children}),s("div",{className:Z.legal,style:j,children:j==null?void 0:j.children})]})]})]})]})}),a_=ue(s(r_,{})),ge={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},i_=({onClick:e})=>{var i,a,l,c,d,_;const t=V(),o=L(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:se(o.root,...it),onClick:()=>e(o.id),children:[s("div",{className:Q.header,style:o.header,children:s("div",{className:Q.logo,style:o.logo})}),s("div",{className:Q.container,style:te(o.root,...it),children:[s("div",{className:Q.body,children:[s("div",{className:Q.logoWrapper,style:r,children:s("div",{className:Q.logo,style:o.logo})}),s(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(c=o.text)==null?void 0:c.children})]}),s("div",{children:[s(J,{className:Q.button,style:o.button,children:(d=o.button)==null?void 0:d.children}),s(J,{className:Q.legal,style:o.legal,children:(_=o.legal)==null?void 0:_.children})]})]})]})},s_=de(({id:e},t)=>{var f;const o=W(null),n=me({targetRef:o,id:e}),r=V(),i=pe(r,n),a=L(i);fe(i);const l=m(a,"root.delay",0),{isOpen:c,clickHide:d,click:_}=kt(t,l,!0);return s("div",{className:ge.root,style:{display:c?"flex":"none"},children:[s("div",{className:ge.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:C(ge.content,{[ge.desktop]:n==="desktop",[ge.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ge.close,style:Ve(a.close),onClick:d,children:s(Le,{})}),s(J,{className:ge.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ge.wrapper,children:(a.children||[]).map(p=>s(_e,{value:w(g({},p),{device:n}),children:s(i_,{onClick:_})}))})]})]})}),c_=ue(s(s_,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},l_=()=>{const e=V(),t=L(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:C(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[s("div",{className:I.left,children:[s("div",{className:I.teams,children:[s("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:I.logo,src:r.backgroundImage,style:r})]}),s("div",{className:I.body,children:[s("div",{className:I.league,style:t.league,children:m(t,"match.league.name")}),s("div",{className:I.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),s("div",{className:I.right,children:[s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),s("div",{className:I.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),s("div",{className:I.team,children:[s("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ie(),l=Ee(()=>{let d=e;if(o){const _=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{_.append(f,p)}),d+=_}return d},[e,o]),c=yn(()=>We(this,null,function*(){if(t)return;const d=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(_=>_.json());a(d.data)}),[l,t,n,r]);return q(()=>{t||c()},[l,t]),{data:i,execute:c}};function Uo(e){const t=W();return q(()=>{t.current=e},[e]),t.current}const d_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return q(()=>{zo(i,r)||l()},[r]),n.map(d=>{const _=(a||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=jo(_),p=Po(f,d.root.customMatch,(v,[b,$])=>H($));return w(g({},d),{match:p})}).filter(Boolean)},__=de(({id:e},t)=>{var B,S,z,P,U,x,D,M,K,ke,Fe,fn,gn;const o=W(null),n=me({targetRef:o,id:e}),r=V(),i=pe(r,n);Me(i,"buttonWrapper.percent_width",(B=i==null?void 0:i.buttonWrapper)==null?void 0:B.width),Me(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const a=L(i);fe(i);const l=m(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:_,click:f}=kt(t,l,!0),p=d_(i,d),v=w(g({},a.root),{alignItems:be((z=a.root)==null?void 0:z.align)}),b=w(g({},a.content),{alignItems:be((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(U=a.root)==null?void 0:U.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:be((x=a.root)==null?void 0:x.textAlign)}),j=w(g({},a==null?void 0:a.legal),{justifyContent:be((D=a.root)==null?void 0:D.textAlign)});return s("div",{className:C(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:F.overlay,style:a.overlay,onClick:_}),s("div",{className:F.content,children:[s("div",{className:F.close,style:Ve(a.close),onClick:_,children:s(Le,{})}),s("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:F.body,style:v,children:[s("div",{className:F.head,children:[s("div",{className:F.title,style:a.title,children:(K=a.title)==null?void 0:K.children}),s("div",{className:F.logo,style:a.logo})]}),s("div",{className:F.wrapper,style:b,children:(p||[]).map(eu=>s(_e,{value:w(g({},eu),{device:n}),children:s(l_,{})}))}),s(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(ke=a.text)==null?void 0:ke.children}),s("div",{className:F.button,style:a.buttonWrapper,children:[s("div",{className:F.buttonHead,style:a.buttonHead,children:(Fe=a.buttonHead)==null?void 0:Fe.children}),s("div",{className:F.buttonTarget,style:y,children:(fn=a.button)==null?void 0:fn.children})]}),s(J,{className:F.legal,style:j,children:(gn=a.legal)==null?void 0:gn.children})]})})]})]})}),u_=ue(s(__,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},p_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=L(t),[n,r]=at();return s("div",{className:ne.root,style:se(o.root,...Y),children:[s("div",{className:ne.background,style:te(o.root,...Y)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:C(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:ne.legalText,children:[s("span",{children:(_=o.legalInfo)==null?void 0:_.children}),s("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},f_=e=>{const t=W(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},g_=de((e,t)=>{const o=W(null),n=V(),i=pe(n,"mobile"),a=L(i);fe(i);const{click:l}=f_(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(c=>s(_e,{value:c,children:s(p_,{onClick:l})}))})}),h_=ue(s(g_,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Xo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},v_=()=>{var o,n,r;const e=V(),t=L(e);return s("div",{className:C(Xo.root,{[Xo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:se(t.root,...Y),children:s(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},st=(e,t,o=1,n=!1)=>{var l;const[r,i]=[t[0],t[1]||t[0]].map(c=>c*o),a=`w${r}-h${i}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},m_=()=>{var i,a;const e=V(),t=L(e),o=se(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:st(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:st(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:C(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:E.title,children:[s("div",{className:E.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:E.odds,children:[s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),s("div",{className:E.odd,children:[s("div",{className:E.oddX,style:t.coef,children:"X"}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),s("div",{className:E.odd,children:[s("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:E.teams,children:[s("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},G={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},b_=()=>{var r,i;const e=V(),t=L(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(m(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(m(t,"match.teams[1].logo"),[120,120])});return s("div",{className:C(G.root,{[G.desktop]:(e==null?void 0:e.device)==="desktop",[G.laptop]:(e==null?void 0:e.device)==="laptop",[G.tablet]:(e==null?void 0:e.device)==="tablet",[G.national]:m(t,"match.isNational")}),style:se(t.root,...Y),children:[s("div",{className:G.title,children:[s("div",{className:G.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:G.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:G.team,children:[s("img",{className:G.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:G.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:G.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),s("div",{className:G.team,children:[s("img",{className:G.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:G.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),s("div",{className:G.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},y_=(e=[])=>{var i;const t=e.length,[o,n]=ie(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return q(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},$_={matches:"one_x_two",matchesOneTwo:"one_two"},Zo=e=>[$_[e]],k_=(e,t)=>{const o=d=>{var _;return H(d==null?void 0:d.matchSlug)&&((_=d==null?void 0:d.matchSlug)==null?void 0:_.length)>0},n=(e==null?void 0:e.children)||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>w(g({},d.root.targetMatch),{markets:Zo(d.name)})),i=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(d=>({slug:d.matchSlug,sport_slug:d.sportSlug,lang:d.langSlug,bookmaker_slug:d.bookmaker,offset:d.offset,markets:d.markets}))},pause:!t||r.length===0});return q(()=>{zo(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const _=(a||[]).find(b=>b.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Zo(d.name),p=jo(_,{markets:f}),v=Po(p,d.root.customMatch,(b,[$,y])=>H(y));return w(g({},d),{match:v})}return d}).filter(Boolean)},w_=e=>{const t=W(Pe()),[o,n]=ie(!1),[r,i]=ie(),a=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>We(this,null,function*(){n(!0)}),_=()=>n(!1),f=()=>{t.current.emit("clickHide"),_()};return q(()=>{t.current.emit("visible",o)},[o]),Re(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:_,setApiHost:i,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:_,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},x_=3700,N_=de(({id:e},t)=>{var B,S,z,P,U;const o=W(null),n=V(),r=me({id:e,targetRef:o}),i=pe(n,r),a=L(i);fe(i);const{apiHost:l,isOpen:c,click:d,clickHide:_}=w_(t),f=k_(a,l),p=x=>({text:s(v_,{}),matches:s(m_,{}),matchesOneTwo:s(b_,{})})[x],v=f.filter(Boolean).map(x=>{var D,M;return w(g({},x),{animationName:(D=x==null?void 0:x.root)==null?void 0:D.animationName,animationDuration:((M=x==null?void 0:x.root)==null?void 0:M.animationDuration)||x_})}),b=y_(v),$=L(v[b]||{}),y=se(a.root,...Y),j=(B=$==null?void 0:$.root)!=null&&B.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return s("div",{ref:o,className:C(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:c?"block":"none"}),children:[s("div",{className:R.close,style:a.close,onClick:_,children:s(Le,{})}),s("a",{href:(z=a.root)==null?void 0:z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:R.background,style:j}),s("div",{className:R.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:a.logo})}),s("div",{className:R.center,children:(v||[]).map((x,D)=>{var M,K;return s("div",{className:R.slide,style:{animationName:b===D?R[((M=x.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(K=x.root)==null?void 0:K.animationDuration}ms`},children:s(_e,{value:w(g({},x),{device:r}),children:p(x.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:a.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:C(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:R.logo,style:a.logo}),(U=a.button)==null?void 0:U.children]})})]})]})]})]})}),T_=ue(s(N_,{})),He={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_t1sch_1",content:"_content_t1sch_8",textContent:"_textContent_t1sch_15",backgroundLine:"_backgroundLine_t1sch_20",button:"_button_t1sch_26",link:"_link_t1sch_32",legal:"_legal_t1sch_38",legalText:"_legalText_t1sch_47",open:"_open_t1sch_56",legalMore:"_legalMore_t1sch_61"},C_=(e,t,o,n,r=Mo)=>{const i=g({},e);return r.forEach(a=>{i[t]=w(g({},i[t]),{[a]:w(g({},i[t][a]),{[o]:typeof n=="function"?n(m(i,`${t}.${a}.${o}`)):n})})}),i},Ve=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return se(o,"backgroundColor")},O_=()=>s("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),s("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),s("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),s("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),s("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),s("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),S_=({onClick:e})=>{var i,a,l,c,d,_,f,p,v;const t=V(),o=L(t),[n,r]=at();return s("div",{className:re.root,style:o.root,children:[s("div",{className:re.content,children:[s("div",{className:re.textContent,children:[s(J,{className:re.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:re.button,style:o.button,children:o.button.children}),s("div",{className:re.backgroundLine,style:w(g({},Ve(o.line)),{left:`calc(50% - ${(d=o.line)==null?void 0:d.left})`}),children:s(O_,{})}),s("a",{className:re.link,target:"_blank",href:(_=o.root)==null?void 0:_.offer,onClick:()=>e(o.id),rel:"noreferrer"})]}),s("div",{className:C(re.legal,{[re.open]:n}),style:o.legalInfo,children:s("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,s("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(p=o.legalInfoButton)==null?void 0:p.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ka6mq_1",content:"_content_ka6mq_8",backgroundLine:"_backgroundLine_ka6mq_14",link:"_link_ka6mq_20",button:"_button_ka6mq_26",logo:"_logo_ka6mq_31",legal:"_legal_ka6mq_37",open:"_open_ka6mq_49",legalText:"_legalText_ka6mq_53",legalMore:"_legalMore_ka6mq_66"},L_=({onClick:e})=>{var i,a,l,c,d,_,f,p;const t=V(),o=L(t),[n,r]=at();return s("div",{className:ae.root,style:o.root,children:[s("div",{className:ae.content,children:[s(J,{className:ae.text,style:o.text,typography:(i=o.text)==null?void 0:i.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),s("div",{className:ae.button,style:o.button,children:[s("div",{className:ae.logo,style:o.logo}),o.button.children]}),s("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer})]}),s("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer,target:"_blank",onClick:()=>e(o.id),rel:"noreferrer"}),s("div",{className:C(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[s("div",{className:ae.legalText,children:(_=o.legalInfo)==null?void 0:_.children}),s("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})]})},A_=e=>{const t=W(Pe()),o=r=>t.current.on("click",r),n=r=>t.current.on("visible",r);return Re(e,()=>({promoId:"ContentCards",onClick:o,onVisible:n,resetListeners:t.current.reset})),q(()=>{t.current.emit("visible")},[]),q(()=>t.current.reset,[]),{click:(...r)=>t.current.emit("click",...r),onClick:o}},I_=de(({id:e},t)=>{const o=W(null),n=V(),r=me({targetRef:o,id:e}),i=pe(n,r),a=L(i);fe(i);const{click:l}=A_(t),c=d=>({cardVariant1:s(S_,{onClick:l}),cardVariant2:s(L_,{onClick:l})})[d];return s("div",{ref:o,className:C(He.root,{[He.desktop]:r==="desktop",[He.laptop]:r==="laptop",[He.tablet]:r==="tablet"}),children:s("div",{className:He.content,children:((a==null?void 0:a.children)||[]).map(d=>s(_e,{value:d,children:c(d.name)}))})})}),R_=ue(s(I_,{}));var ye=[],E_=function(){return ye.some(function(e){return e.activeTargets.length>0})},j_=function(){return ye.some(function(e){return e.skippedTargets.length>0})},Ko="ResizeObserver loop completed with undelivered notifications.",B_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ko}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ko),window.dispatchEvent(e)},De;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(De||(De={}));var $e=function(e){return Object.freeze(e)},Jo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,$e(this)}return e}(),Yo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,$e(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,i=t.right,a=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},en=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},z_=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},qe=typeof window!="undefined"?window:{},ct=new WeakMap,tn=/auto|scroll/,P_=/^tb|vertical/,M_=/msie|trident/i.test(qe.navigator&&qe.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Ae=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Jo((o?t:e)||0,(o?e:t)||0)},on=$e({devicePixelContentBoxSize:Ae(),borderBoxSize:Ae(),contentBoxSize:Ae(),contentRect:new Yo(0,0,0,0)}),nn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(Qo(e))return ct.set(e,on),on;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!M_&&o.boxSizing==="border-box",i=P_.test(o.writingMode||""),a=!n&&tn.test(o.overflowY||""),l=!n&&tn.test(o.overflowX||""),c=n?0:ce(o.paddingTop),d=n?0:ce(o.paddingRight),_=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),p=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),b=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+d,j=c+_,B=$+v,S=p+b,z=l?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-B-e.clientWidth:0,U=r?y+B:0,x=r?j+S:0,D=n?n.width:ce(o.width)-U-P,M=n?n.height:ce(o.height)-x-z,K=D+y+P+B,ke=M+j+z+S,Fe=$e({devicePixelContentBoxSize:Ae(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Ae(K,ke,i),contentBoxSize:Ae(D,M,i),contentRect:new Yo(f,c,D,M)});return ct.set(e,Fe),Fe},rn=function(e,t,o){var n=nn(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case De.DEVICE_PIXEL_CONTENT_BOX:return a;case De.BORDER_BOX:return r;default:return i}},an=function(){function e(t){var o=nn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=$e([o.borderBoxSize]),this.contentBoxSize=$e([o.contentBoxSize]),this.devicePixelContentBoxSize=$e([o.devicePixelContentBoxSize])}return e}(),sn=function(e){if(Qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},H_=function(){var e=1/0,t=[];ye.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var _=new an(d.target),f=sn(d.target);l.push(_),d.lastReportedSize=rn(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){ye.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(sn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},V_=function(){var e=0;for(cn(e);E_();)e=H_(),cn(e);return j_()&&B_(),e>0},xt,ln=[],D_=function(){return ln.splice(0).forEach(function(e){return e()})},q_=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return D_()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}ln.push(e),xt()},F_=function(e){q_(function(){requestAnimationFrame(e)})},lt=0,W_=function(){return!!lt},G_=250,U_={attributes:!0,characterData:!0,childList:!0,subtree:!0},dn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_n=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,X_=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=G_),!Nt){Nt=!0;var n=_n(t);F_(function(){var r=!1;try{r=V_()}finally{if(Nt=!1,t=n-_n(),!W_())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,U_)};document.body?o():qe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dn.forEach(function(o){return qe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dn.forEach(function(o){return qe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Tt=new X_,un=function(e){!lt&&e>0&&Tt.start(),lt+=e,!lt&&Tt.stop()},Z_=function(e){return!wt(e)&&!z_(e)&&getComputedStyle(e).display==="inline"},K_=function(){function e(t,o){this.target=t,this.observedBox=o||De.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rn(this.target,this.observedBox,!0);return Z_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),J_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,pn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},_t=function(){function e(){}return e.connect=function(t,o){var n=new J_(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),i=r.observationTargets.length===0;pn(r.observationTargets,o)<0&&(i&&ye.push(r),r.observationTargets.push(new K_(o,n&&n.box)),un(1),Tt.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=pn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ye.splice(ye.indexOf(n),1),n.observationTargets.splice(r,1),un(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Y_=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");_t.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");_t.unobserve(this,t)},e.prototype.disconnect=function(){_t.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Q_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Y_,ResizeObserverEntry:an,ResizeObserverSize:Jo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=h_,h.ComplexGift=e_,h.ComplexPopup=c_,h.ContentCards=R_,h.ExpressPopup=u_,h.SimpleGift=Jd,h.SimplePopup=a_,h.WideCard=T_,h.backgroundToColor=Ve,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=C_,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var a=typeof s;if(a==="string"||a==="number")n.push(s);else if(Array.isArray(s)){if(s.length){var l=o.apply(null,s);l&&n.push(l)}}else if(a==="object"){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){n.push(s.toString());continue}for(var d in s)t.call(s,d)&&s[d]&&n.push(d)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ge);const T=Z;var de,k,ee,we,xe=0,Ot=[],Ue=[],St=p.options.__b,Lt=p.options.__r,At=p.options.diffed,It=p.options.__c,Rt=p.options.unmount;function Ie(e,t){p.options.__h&&p.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ue}),o.__[e]}function se(e){return xe=1,bn(Bt,e)}function bn(e,t,o){var n=Ie(de++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var d=n.__N?n.__N[0]:n.__[0],c=n.t(d,l);d!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,d,c){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(_){return _.__c});if(u.every(function(_){return!_.__N}))return!s||s.call(this,l,d,c);var f=!1;return u.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!s||s.call(this,l,d,c))};k.u=!0;var s=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,d,c){if(this.__e){var u=s;s=void 0,r(l,d,c),s=u}a&&a.call(this,l,d,c)},k.shouldComponentUpdate=r}return n.__N||n.__}function q(e,t){var o=Ie(de++,3);!p.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(de++,4);!p.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function G(e){return xe=5,Ee(function(){return{current:e}},[])}function Re(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Ee(e,t){var o=Ie(de++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function yn(e,t){return xe=8,Ee(function(){return e},t)}function $n(e){var t=k.context[e.__c],o=Ie(de++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function kn(){for(var e;e=Ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],p.options.__e(t,e.__v)}}p.options.__b=function(e){k=null,St&&St(e)},p.options.__r=function(e){Lt&&Lt(e),de=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ue,o.__N=o.i=void 0})):(t.__h.forEach(Xe),t.__h.forEach(pt),t.__h=[])),ee=k},p.options.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ot.push(t)!==1&&we===p.options.requestAnimationFrame||((we=p.options.requestAnimationFrame)||wn)(kn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ue&&(o.__=o.__V),o.i=void 0,o.__V=Ue})),ee=k=null},p.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Xe),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],p.options.__e(n,o.__v)}}),It&&It(e,t)},p.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Xe(n)}catch(r){t=r}}),o.__H=void 0,t&&p.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Xe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Mt(e){this.props=e}(Mt.prototype=new p.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=p.options.__b;p.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=xn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=p.options.__e;p.options.__e=function(e,t,o,n){if(e.then){for(var r,s=t;s=s.__;)if((r=s.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Nn(e,t,o,n)};var Vt=p.options.unmount;function Dt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function qt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return qt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function gt(){this.__u=0,this.t=null,this.__b=null}function Ft(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}p.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new p.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ft(n.__v),s=!1,a=function(){s||(s=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=qt(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},d=t.__h===!0;n.__u++||d||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&p.createElement(p.Fragment,null,e.fallback);return r&&(r.__h=null),[p.createElement(p.Fragment,null,t.__a?null:e.children),r]};var Wt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ze.prototype=new p.Component).__a=function(e){var t=this,o=Ft(t.__v),n=t.o.get(e);return n[0]++,function(r){var s=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(s):s()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=p.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var Cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Tn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,On=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sn=/[A-Z0-9]/g,Ln=typeof document!="undefined",An=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};p.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(p.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gt=p.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}p.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=p.options.vnode;p.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var s in o){var a=o[s];if(!(s==="value"&&"defaultValue"in o&&a==null||Ln&&s==="children"&&n==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in o&&o.value==null?s="value":s==="download"&&a===!0?a="":l==="ondoubleclick"?s="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||An(o.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":On.test(s)?s=l:n.indexOf("-")===-1&&Tn.test(s)?s=s.replace(Sn,"-$&").toLowerCase():a===null&&(a=void 0):l=s="oninput",l==="oninput"&&r[s=l]&&(s="oninputCapture"),r[s]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=p.toChildArray(o.children).forEach(function(d){d.props.selected=r.value.indexOf(d.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=p.toChildArray(o.children).forEach(function(d){d.props.selected=r.multiple?r.defaultValue.indexOf(d.props.value)!=-1:r.defaultValue==d.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",jn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Cn,Ut&&Ut(e)};var Xt=p.options.__r;p.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=p.options.diffed;p.options.diffed=function(e){Zt&&Zt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Bn(){this.__data__=[],this.size=0}var zn=Bn;function Pn(e,t){return e===t||e!==e&&t!==t}var Ke=Pn,Mn=Ke;function Hn(e,t){for(var o=e.length;o--;)if(Mn(e[o][0],t))return o;return-1}var Je=Hn,Vn=Je,Dn=Array.prototype,qn=Dn.splice;function Fn(e){var t=this.__data__,o=Vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Wn=Fn,Gn=Je;function Un(e){var t=this.__data__,o=Gn(t,e);return o<0?void 0:t[o][1]}var Xn=Un,Zn=Je;function Kn(e){return Zn(this.__data__,e)>-1}var Jn=Kn,Yn=Je;function Qn(e,t){var o=this.__data__,n=Yn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var er=Qn,tr=zn,or=Wn,nr=Xn,rr=Jn,ar=er;function Ne(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=tr,Ne.prototype.delete=or,Ne.prototype.get=nr,Ne.prototype.has=rr,Ne.prototype.set=ar;var Ye=Ne,sr=Ye;function ir(){this.__data__=new sr,this.size=0}var cr=ir;function lr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var dr=lr;function ur(e){return this.__data__.get(e)}var _r=ur;function pr(e){return this.__data__.has(e)}var fr=pr,gr=typeof C=="object"&&C&&C.Object===Object&&C,Kt=gr,hr=Kt,vr=typeof self=="object"&&self&&self.Object===Object&&self,mr=hr||vr||Function("return this")(),Ce=mr,br=Ce,yr=br.Symbol,Jt=yr,Yt=Jt,Qt=Object.prototype,$r=Qt.hasOwnProperty,kr=Qt.toString,je=Yt?Yt.toStringTag:void 0;function wr(e){var t=$r.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(s){}var r=kr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var xr=wr,Nr=Object.prototype,Cr=Nr.toString;function Tr(e){return Cr.call(e)}var Or=Tr,eo=Jt,Sr=xr,Lr=Or,Ar="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:Ar:to&&to in Object(e)?Sr(e):Lr(e)}var Qe=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ve=Er,jr=Qe,Br=ve,zr="[object AsyncFunction]",Pr="[object Function]",Mr="[object GeneratorFunction]",Hr="[object Proxy]";function Vr(e){if(!Br(e))return!1;var t=jr(e);return t==Pr||t==Mr||t==zr||t==Hr}var ht=Vr,Dr=Ce,qr=Dr["__core-js_shared__"],Fr=qr,vt=Fr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wr(e){return!!oo&&oo in e}var Gr=Wr,Ur=Function.prototype,Xr=Ur.toString;function Zr(e){if(e!=null){try{return Xr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Kr=Zr,Jr=ht,Yr=Gr,Qr=ve,ea=Kr,ta=/[\\^$.*+?()[\]{}|]/g,oa=/^\[object .+?Constructor\]$/,na=Function.prototype,ra=Object.prototype,aa=na.toString,sa=ra.hasOwnProperty,ia=RegExp("^"+aa.call(sa).replace(ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!Qr(e)||Yr(e))return!1;var t=Jr(e)?ia:oa;return t.test(ea(e))}var la=ca;function da(e,t){return e==null?void 0:e[t]}var ua=da,_a=la,pa=ua;function fa(e,t){var o=pa(e,t);return _a(o)?o:void 0}var mt=fa,ga=mt,ha=Ce,va=ga(ha,"Map"),no=va,ma=mt,ba=ma(Object,"create"),et=ba,ro=et;function ya(){this.__data__=ro?ro(null):{},this.size=0}var $a=ya;function ka(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=ka,xa=et,Na="__lodash_hash_undefined__",Ca=Object.prototype,Ta=Ca.hasOwnProperty;function Oa(e){var t=this.__data__;if(xa){var o=t[e];return o===Na?void 0:o}return Ta.call(t,e)?t[e]:void 0}var Sa=Oa,La=et,Aa=Object.prototype,Ia=Aa.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,ja=et,Ba="__lodash_hash_undefined__";function za(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ba:t,this}var Pa=za,Ma=$a,Ha=wa,Va=Sa,Da=Ea,qa=Pa;function Te(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Te.prototype.clear=Ma,Te.prototype.delete=Ha,Te.prototype.get=Va,Te.prototype.has=Da,Te.prototype.set=qa;var Fa=Te,ao=Fa,Wa=Ye,Ga=no;function Ua(){this.size=0,this.__data__={hash:new ao,map:new(Ga||Wa),string:new ao}}var Xa=Ua;function Za(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ka=Za,Ja=Ka;function Ya(e,t){var o=e.__data__;return Ja(t)?o[typeof t=="string"?"string":"hash"]:o.map}var tt=Ya,Qa=tt;function es(e){var t=Qa(this,e).delete(e);return this.size-=t?1:0,t}var ts=es,os=tt;function ns(e){return os(this,e).get(e)}var rs=ns,as=tt;function ss(e){return as(this,e).has(e)}var is=ss,cs=tt;function ls(e,t){var o=cs(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var ds=ls,us=Xa,_s=ts,ps=rs,fs=is,gs=ds;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=us,Oe.prototype.delete=_s,Oe.prototype.get=ps,Oe.prototype.has=fs,Oe.prototype.set=gs;var hs=Oe,vs=Ye,ms=no,bs=hs,ys=200;function $s(e,t){var o=this.__data__;if(o instanceof vs){var n=o.__data__;if(!ms||n.length<ys-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bs(n)}return o.set(e,t),this.size=o.size,this}var ks=$s,ws=Ye,xs=cr,Ns=dr,Cs=_r,Ts=fr,Os=ks;function Se(e){var t=this.__data__=new ws(e);this.size=t.size}Se.prototype.clear=xs,Se.prototype.delete=Ns,Se.prototype.get=Cs,Se.prototype.has=Ts,Se.prototype.set=Os;var Ss=Se,Ls=mt,As=function(){try{var e=Ls(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),so=As,io=so;function Is(e,t,o){t=="__proto__"&&io?io(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var bt=Is,Rs=bt,Es=Ke;function js(e,t,o){(o!==void 0&&!Es(e[t],o)||o===void 0&&!(t in e))&&Rs(e,t,o)}var co=js;function Bs(e){return function(t,o,n){for(var r=-1,s=Object(t),a=n(t),l=a.length;l--;){var d=a[e?l:++r];if(o(s[d],d,s)===!1)break}return t}}var zs=Bs,Ps=zs,Ms=Ps(),Hs=Ms,ot={},Vs={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Ce,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===n,a=s?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function d(c,u){if(u)return c.slice();var f=c.length,_=l?l(f):new c.constructor(f);return c.copy(_),_}e.exports=d})(Vs,ot);var Ds=Ce,qs=Ds.Uint8Array,Fs=qs,lo=Fs;function Ws(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Gs=Ws,Us=Gs;function Xs(e,t){var o=t?Us(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Zs=Xs;function Ks(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Js=Ks,Ys=ve,uo=Object.create,Qs=function(){function e(){}return function(t){if(!Ys(t))return{};if(uo)return uo(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),ei=Qs;function ti(e,t){return function(o){return e(t(o))}}var oi=ti,ni=oi,ri=ni(Object.getPrototypeOf,Object),_o=ri,ai=Object.prototype;function si(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||ai;return e===o}var po=si,ii=ei,ci=_o,li=po;function di(e){return typeof e.constructor=="function"&&!li(e)?ii(ci(e)):{}}var ui=di;function _i(e){return e!=null&&typeof e=="object"}var Be=_i,pi=Qe,fi=Be,gi="[object Arguments]";function hi(e){return fi(e)&&pi(e)==gi}var vi=hi,fo=vi,mi=Be,go=Object.prototype,bi=go.hasOwnProperty,yi=go.propertyIsEnumerable,$i=fo(function(){return arguments}())?fo:function(e){return mi(e)&&bi.call(e,"callee")&&!yi.call(e,"callee")},ho=$i,ki=Array.isArray,vo=ki,wi=9007199254740991;function xi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wi}var mo=xi,Ni=ht,Ci=mo;function Ti(e){return e!=null&&Ci(e.length)&&!Ni(e)}var yt=Ti,Oi=yt,Si=Be;function Li(e){return Si(e)&&Oi(e)}var Ai=Li,ze={},Ii={get exports(){return ze},set exports(e){ze=e}};function Ri(){return!1}var Ei=Ri;(function(e,t){var o=Ce,n=Ei,r=t&&!t.nodeType&&t,s=r&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===r,l=a?o.Buffer:void 0,d=l?l.isBuffer:void 0,c=d||n;e.exports=c})(Ii,ze);var ji=Qe,Bi=_o,zi=Be,Pi="[object Object]",Mi=Function.prototype,Hi=Object.prototype,bo=Mi.toString,Vi=Hi.hasOwnProperty,Di=bo.call(Object);function qi(e){if(!zi(e)||ji(e)!=Pi)return!1;var t=Bi(e);if(t===null)return!0;var o=Vi.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bo.call(o)==Di}var Fi=qi,Wi=Qe,Gi=mo,Ui=Be,Xi="[object Arguments]",Zi="[object Array]",Ki="[object Boolean]",Ji="[object Date]",Yi="[object Error]",Qi="[object Function]",ec="[object Map]",tc="[object Number]",oc="[object Object]",nc="[object RegExp]",rc="[object Set]",ac="[object String]",sc="[object WeakMap]",ic="[object ArrayBuffer]",cc="[object DataView]",lc="[object Float32Array]",dc="[object Float64Array]",uc="[object Int8Array]",_c="[object Int16Array]",pc="[object Int32Array]",fc="[object Uint8Array]",gc="[object Uint8ClampedArray]",hc="[object Uint16Array]",vc="[object Uint32Array]",N={};N[lc]=N[dc]=N[uc]=N[_c]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=!0,N[Xi]=N[Zi]=N[ic]=N[Ki]=N[cc]=N[Ji]=N[Yi]=N[Qi]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[sc]=!1;function mc(e){return Ui(e)&&Gi(e.length)&&!!N[Wi(e)]}var bc=mc;function yc(e){return function(t){return e(t)}}var $c=yc,nt={},kc={get exports(){return nt},set exports(e){nt=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===n,a=s&&o.process,l=function(){try{var d=r&&r.require&&r.require("util").types;return d||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=l})(kc,nt);var wc=bc,xc=$c,yo=nt,$o=yo&&yo.isTypedArray,Nc=$o?xc($o):wc,ko=Nc;function Cc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Cc,Tc=bt,Oc=Ke,Sc=Object.prototype,Lc=Sc.hasOwnProperty;function Ac(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Oc(n,o))||o===void 0&&!(t in e))&&Tc(e,t,o)}var Ic=Ac,Rc=Ic,Ec=bt;function jc(e,t,o,n){var r=!o;o||(o={});for(var s=-1,a=t.length;++s<a;){var l=t[s],d=n?n(o[l],e[l],l,o,e):void 0;d===void 0&&(d=e[l]),r?Ec(o,l,d):Rc(o,l,d)}return o}var Bc=jc;function zc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Pc=zc,Mc=9007199254740991,Hc=/^(?:0|[1-9]\d*)$/;function Vc(e,t){var o=typeof e;return t=t==null?Mc:t,!!t&&(o=="number"||o!="symbol"&&Hc.test(e))&&e>-1&&e%1==0&&e<t}var xo=Vc,Dc=Pc,qc=ho,Fc=vo,Wc=ze,Gc=xo,Uc=ko,Xc=Object.prototype,Zc=Xc.hasOwnProperty;function Kc(e,t){var o=Fc(e),n=!o&&qc(e),r=!o&&!n&&Wc(e),s=!o&&!n&&!r&&Uc(e),a=o||n||r||s,l=a?Dc(e.length,String):[],d=l.length;for(var c in e)(t||Zc.call(e,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Gc(c,d)))&&l.push(c);return l}var Jc=Kc;function Yc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Qc=Yc,el=ve,tl=po,ol=Qc,nl=Object.prototype,rl=nl.hasOwnProperty;function al(e){if(!el(e))return ol(e);var t=tl(e),o=[];for(var n in e)n=="constructor"&&(t||!rl.call(e,n))||o.push(n);return o}var sl=al,il=Jc,cl=sl,ll=yt;function dl(e){return ll(e)?il(e,!0):cl(e)}var No=dl,ul=Bc,_l=No;function pl(e){return ul(e,_l(e))}var fl=pl,Co=co,gl=ot,hl=Zs,vl=Js,ml=ui,To=ho,Oo=vo,bl=Ai,yl=ze,$l=ht,kl=ve,wl=Fi,xl=ko,So=wo,Nl=fl;function Cl(e,t,o,n,r,s,a){var l=So(e,o),d=So(t,o),c=a.get(d);if(c){Co(e,o,c);return}var u=s?s(l,d,o+"",e,t,a):void 0,f=u===void 0;if(f){var _=Oo(d),v=!_&&yl(d),b=!_&&!v&&xl(d);u=d,_||v||b?Oo(l)?u=l:bl(l)?u=vl(l):v?(f=!1,u=gl(d,!0)):b?(f=!1,u=hl(d,!0)):u=[]:wl(d)||To(d)?(u=l,To(l)?u=Nl(l):(!kl(l)||$l(l))&&(u=ml(d))):f=!1}f&&(a.set(d,u),r(u,d,n,s,a),a.delete(d)),Co(e,o,u)}var Tl=Cl,Ol=Ss,Sl=co,Ll=Hs,Al=Tl,Il=ve,Rl=No,El=wo;function Lo(e,t,o,n,r){e!==t&&Ll(t,function(s,a){if(r||(r=new Ol),Il(s))Al(e,t,a,o,Lo,n,r);else{var l=n?n(El(e,a),s,a+"",e,t,r):void 0;l===void 0&&(l=s),Sl(e,a,l)}},Rl)}var jl=Lo;function Bl(e){return e}var Ao=Bl;function zl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Pl=zl,Ml=Pl,Io=Math.max;function Hl(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,s=Io(n.length-t,0),a=Array(s);++r<s;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Ml(e,this,l)}}var Vl=Hl;function Dl(e){return function(){return e}}var ql=Dl,Fl=ql,Ro=so,Wl=Ao,Gl=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Fl(t),writable:!0})}:Wl,Ul=Gl,Xl=800,Zl=16,Kl=Date.now;function Jl(e){var t=0,o=0;return function(){var n=Kl(),r=Zl-(n-o);if(o=n,r>0){if(++t>=Xl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yl=Jl,Ql=Ul,ed=Yl,td=ed(Ql),od=td,nd=Ao,rd=Vl,ad=od;function sd(e,t){return ad(rd(e,t,nd),e+"")}var id=sd,cd=Ke,ld=yt,dd=xo,ud=ve;function _d(e,t,o){if(!ud(o))return!1;var n=typeof t;return(n=="number"?ld(o)&&dd(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var pd=_d,fd=id,gd=pd;function hd(e){return fd(function(t,o){var n=-1,r=o.length,s=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(s=e.length>3&&typeof s=="function"?(r--,s):void 0,a&&gd(o[0],o[1],a)&&(s=r<3?void 0:s,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,s)}return t})}var vd=hd,md=jl,bd=vd;bd(function(e,t,o){md(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const s=[o,r].filter(H).join(".");return me(t(r,n,s),t,s)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,s])=>{const a=[o,r].filter(H).join(".");return n[r]=me(t(r,s,a),t,a),n},{}):e,yd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Pe=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(d=>d(...l)).filter(Boolean):[],reset:()=>e={}}},$d=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),kd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),xd=()=>({w1:null,w2:null}),Nd=()=>({one_x_two:wd(),one_two:xd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||$d(),prediction:(e==null?void 0:e.prediction)||kd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((s,a)=>(s[a]=m(e||{},`markets.${a}`,Nd()[a||"one_two"]),s),{});Me(o,"markets",r)}return o},Cd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Td=e=>!e&&e==null,H=e=>!Td(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Od=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Sd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function ie(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((s,a)=>s&&s[a],e);return r===void 0?o:r},Me=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,s,a)=>(r[s]===void 0&&(r[s]={}),a===n.length-1&&(r[s]=o),r[s]),e)},Ld=e=>{const t=e.slice(1);return t.length===3&&(e="#"+t.split("").map(o=>`${o}${o}`).join("")),e},Ad=e=>{const t=Ld(e),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>me(e,(n,r,s)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,m(t,s)],s)?m(t,s,r):r:m(t,s,r):r),Ed=(e,t)=>{try{me(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return me(e,(n,r,s)=>(t(n,r,s,o)&&o.push({key:n,value:r,path:s}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function i(e,t,o,n,r,s){var a,l,d={};for(l in t)l=="ref"?a=t[l]:d[l]=t[l];var c={type:e,props:d,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:s};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)d[l]===void 0&&(d[l]=a[l]);return p.options.vnode&&p.options.vnode(c),c}const Ho=p.createContext(),_e=({children:e,value:t})=>i(Ho.Provider,{value:t,children:e}),pe=e=>a=>We(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,s=Tt(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const d=yield Promise.resolve().then(()=>Qu);window.ResizeObserver=d.ResizeObserver}return p.render(i(_e,{value:r,children:p.cloneElement(e,g({ref:n,id:o},s))}),t)}),V=()=>$n(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&me(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),ie(r,"parent")):r}return n}),fe=(e,t)=>Md(e,t),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,s]=se("desktop"),a=l=>{var f;const d=l.getBoundingClientRect().width||0,c=Object.entries(g({},n)).sort(([_,v],[b,$])=>v-$),u=((f=c.find(([_,v],b)=>{const[$,y]=c[b+1]||[];return d>=v&&d<y}))==null?void 0:f[0])||"desktop";s(u)};return Et(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},qd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Fd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Fd.includes(n)&&(r=rt(r,"px"));const{key:s,value:a}=Dd(n,r);if(Od(a)&&(o[s]=Do(a)),o[s]=a,s==="hidden"&&a)return o.display="none",o;if(s==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),s==="innerText"&&(o.innerText=H(a)?`${a}`:""),s==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),s.includes("borderWidth")&&(o.borderStyle="solid"),s==="corner"&&(o.borderRadius=rt(a,"px")),s==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),s==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),s==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Ad(o.backgroundColor);l&&(o.backgroundColor=Rd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return s==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=qd),s==="isBold"&&(o.fontWeight=a?"bold":"initial"),s==="isItalic"&&(o.fontStyle=a?"italic":"initial"),s==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,L=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var s=r,{children:e,typography:t,accentTypography:o}=s,n=Tt(s,["children","typography","accentTypography"]);var d;const a=Ee(()=>{if(!o)return{};let c="";return Object.entries(o).forEach(([u,f])=>{Gd(u)&&(c+=`${Sd(u)}: ${f}; `)}),c},[o]),l=(d=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:d.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return i("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=se(!1);return[e,()=>t(o=>!o)]},Le=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",children:i("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),$t=()=>i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),qo=(e,t)=>{var u,f,_,v,b,$,y,B,z,S,j,P,X;const o=Ud(t),n=L(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,s={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(_=n==null?void 0:n.container)==null?void 0:_.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(B=n==null?void 0:n.container)==null?void 0:B.left},l=(((z=n==null?void 0:n.icon)==null?void 0:z.animations)||[]).map(x=>o[x]).join(", "),d=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((j=n==null?void 0:n.icon)!=null&&j.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(X=n==null?void 0:n.icon)==null?void 0:X.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,c=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:l}),d);return{hasIcon:r,arrowRules:s,bodyRules:a,iconRules:c}},ge=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ee(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);q(()=>{o.forEach(yd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],Fo=["imageSource","objectFit"],st=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,openEmitter:t,autoOpenEmitter:o,closeEmitter:n,crossCloseEmitter:r,disableAutoOpen:s})=>{const[a,l]=se(!1),d=G(null),c=_=>{clearTimeout(d.current),d.current=null},u=()=>{c(d.current),l(_=>(_&&n&&n(),!_))},f=()=>{u(),r&&r()};return q(()=>{if(!s)return d.current=setTimeout(()=>{l(!0),o&&o()},e||1e3),()=>c(d.current)},[e,s]),q(()=>{a&&!d.current&&t&&t()},[a]),{isOpen:a,toggle:u,onCrossClick:f}},Wo=({ref:e,openDelay:t,disableAutoOpen:o})=>{const n=G(Pe()),r=_=>n.current.on("open",_),s=_=>n.current.on("click",_),a=_=>n.current.on("autoOpen",_),l=_=>n.current.on("close",_),d=_=>n.current.on("crossClose",_),{isOpen:c,toggle:u,onCrossClick:f}=Zd({delay:t,disableAutoOpen:o,openEmitter:()=>n.current.emit("open"),autoOpenEmitter:()=>n.current.emit("autoOpen"),closeEmitter:()=>n.current.emit("close"),crossCloseEmitter:()=>n.current.emit("crossClose")});return Re(e,()=>({toggle:u,onCrossClose:d,onOpen:r,onClick:s,onClose:l,onAutoOpen:a,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isOpen:c,toggle:u,onCrossClick:f,click:(..._)=>n.current.emit("click",..._)}},Kd=ue(({id:e,disableAutoOpen:t},o)=>{var S,j,P,X,x,D,M,W,le;const n=G(null),[r,s]=at(),a=V(),l=be({targetRef:n,id:e}),d=fe(a,l),c=L(d),{hasIcon:u,iconRules:f,bodyRules:_,arrowRules:v}=qo(d,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:b,toggle:$,click:y,onCrossClick:B}=Wo({ref:o,openDelay:(S=d==null?void 0:d.container)==null?void 0:S.delay,disableAutoOpen:t});ge(d);const z=r?te(c.container,...Xd):{};return i("div",{className:T(O.root,{[O.legalOpen]:r}),ref:n,children:[i("div",{className:O.icon,style:f,onClick:$,children:u&&i("div",{className:O.iconTarget,children:i($t,{})})}),i("div",{className:T(O.body,{[O.bodyOpen]:b}),style:_,children:[i("div",{className:O.arrow,style:v}),i("div",{className:O.close,style:c==null?void 0:c.close,onClick:B,children:i(Le,{})}),i("div",{className:O.container,style:c==null?void 0:c.container,children:[i("a",{href:(j=c==null?void 0:c.root)==null?void 0:j.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>y(c.id),children:[i("div",{className:O.inner,children:[i("div",{className:O.logo,style:c==null?void 0:c.logo}),i(J,{className:O.text,style:c==null?void 0:c.text,typography:(P=c.text)==null?void 0:P.typography,accentTypography:(X=c.text)==null?void 0:X.accentTypography,children:(x=c==null?void 0:c.text)==null?void 0:x.children})]}),i("div",{className:T(O.button,{[O.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(D=c==null?void 0:c.button)==null?void 0:D.children})]}),i("div",{className:O.legalGap}),i("div",{className:O.legal,style:g(g({},c==null?void 0:c.legal),z),children:i("span",{className:O.legalText,children:i("span",{children:[i("span",{children:(M=c==null?void 0:c.legal)==null?void 0:M.children}),i("span",{className:O.legalButton,onClick:s,children:r?(W=c==null?void 0:c.legal)==null?void 0:W.buttonOpenText:(le=c==null?void 0:c.legal)==null?void 0:le.buttonHideText})]})})})]})]})]})}),Jd=pe(i(Kd,{})),A={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,s,a,l,d,c;const t=V(),o=L(t);return i("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:T(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[i("div",{className:oe.body,children:[i("div",{className:oe.line,style:o.line}),i("div",{className:oe.bodyInner,children:[i("div",{className:oe.logo,style:o.logo}),i("div",{className:oe.text,style:o.text,children:i(J,{typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),i("div",{className:oe.button,style:o.button,children:[i("div",{className:oe.logo,style:o.logo}),i("div",{className:oe.buttonText,children:(d=o.button)==null?void 0:d.children})]})]}),i("div",{className:oe.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Qd=ue(({id:e},t)=>{var B,z,S,j;const o=G(null),n=V(),r=be({targetRef:o,id:e}),s=fe(n,r),a=L(s),{isOpen:l,click:d,toggle:c}=Wo({ref:t,openDelay:(B=s==null?void 0:s.container)==null?void 0:B.delay});ge(s);const{hasIcon:u,iconRules:f,bodyRules:_,arrowRules:v}=qo(s,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),b=(z=a==null?void 0:a.title)==null?void 0:z.hasIcon,$=te(a==null?void 0:a.title,...st),y=ie(a==null?void 0:a.title,...st);return i("div",{ref:o,className:T(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[i("div",{className:A.icon,style:f,onClick:c,children:u&&i("div",{className:A.iconTarget,children:i($t,{})})}),i("div",{className:T(A.body,{[A.bodyOpen]:l}),style:_,children:[i("div",{className:A.arrow,style:v}),i("div",{className:A.container,style:a.container,children:[i("div",{className:A.close,style:a.close,onClick:c,children:i(Le,{})}),i("div",{className:A.head,style:$,children:[b&&i("div",{className:A.headIcon,style:te(a.title,"color"),children:i($t,{})}),i("div",{className:A.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),i("div",{className:A.inner,children:(a.children||[]).map(P=>i(_e,{value:P,children:i(Yd,{onClick:d})}))}),i("div",{className:A.promotion,style:a.promotion,children:(j=a.promotion)==null?void 0:j.children})]})]})]})}),eu=pe(i(Qd,{})),K={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},ye=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],tu={root:"_root_mj8hr_1"},ou=()=>{var o,n,r;const e=V(),t=L(e);return i("div",{className:tu.root,style:t.root,children:i(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=G(Pe()),[r,s]=se(!1),[a,l]=se(),[d,c]=se(o),u=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),_=y=>n.current.on("clickHide",y),v=()=>We(this,null,function*(){yield Cd(+t),s(!0)}),b=()=>s(!1),$=()=>{n.current.emit("clickHide"),b()};return q(()=>{d&&n.current.emit("visible",r)},[r,d]),Re(e,()=>({onVisible:u,onClick:f,onClickHide:_,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isReady:d,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:c,click:(...y)=>{b(),n.current.emit("click",...y)}}};function nu(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const ru=ue(({id:e,className:t},o)=>{var j,P,X,x,D,M;const n=G(null),r=G(null),s=be({targetRef:n,id:e}),a=V(),l=fe(a,s);ge(l),Me(l,"button.percent_width",(j=l==null?void 0:l.button)==null?void 0:j.width),Me(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const d=L(l),c=m(d,"root.delay",0),{isOpen:u,isReady:f,setIsReady:_,clickHide:v,click:b}=kt(o,c);q(()=>{const W=r.current;if(!W)return;if(nu(W)){_(!0);return}const le=()=>_(!0);return W.addEventListener("load",le),()=>{W.removeEventListener("load",le)}},[d]);const $={alignItems:ye((X=d.root)==null?void 0:X.align)},y=w(g({},d==null?void 0:d.button),{justifyContent:ye((x=d.root)==null?void 0:x.textAlign)}),B=w(g({},d==null?void 0:d.legal),{justifyContent:ye((D=d.root)==null?void 0:D.textAlign)}),z=ie(d.root,...Fo,...Y),S=te(d.root,...Fo);return i("div",{className:T(K.root,t,{[K.desktop]:s==="desktop",[K.tablet]:s==="tablet",[K.laptop]:s==="laptop"}),ref:n,style:{display:u&&f?"flex":"none"},children:[i("div",{className:K.overlay,style:d.overlay,onClick:v}),i("div",{className:K.wrapper,children:[i("div",{className:K.close,style:Ve(d.close),onClick:v,children:i(Le,{})}),i("a",{href:(M=d.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.content,style:z,onClick:()=>b(d.id),children:[i("img",{ref:r,className:K.background,src:S.imageSource,alt:"",style:S}),i("div",{className:K.body,style:$,children:[i("div",{className:K.logo,style:d.logo}),i("div",{className:K.text,children:((d==null?void 0:d.children)||[]).map(W=>i(_e,{value:W,children:i(ou,{})}))}),i("div",{className:K.button,style:y,children:y==null?void 0:y.children}),i("div",{className:K.legal,style:B,children:B==null?void 0:B.children})]})]})]})]})}),au=pe(i(ru,{})),he={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},su=({onClick:e})=>{var s,a,l,d,c,u;const t=V(),o=L(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return i("a",{href:(s=o.root)==null?void 0:s.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:T(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:ie(o.root,...st),onClick:()=>e(o.id),children:[i("div",{className:Q.header,style:o.header,children:i("div",{className:Q.logo,style:o.logo})}),i("div",{className:Q.container,style:te(o.root,...st),children:[i("div",{className:Q.body,children:[i("div",{className:Q.logoWrapper,style:r,children:i("div",{className:Q.logo,style:o.logo})}),i(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(d=o.text)==null?void 0:d.children})]}),i("div",{children:[i(J,{className:Q.button,style:o.button,children:(c=o.button)==null?void 0:c.children}),i(J,{className:Q.legal,style:o.legal,children:(u=o.legal)==null?void 0:u.children})]})]})]})},iu=ue(({id:e},t)=>{var f;const o=G(null),n=be({targetRef:o,id:e}),r=V(),s=fe(r,n),a=L(s);ge(s);const l=m(a,"root.delay",0),{isOpen:d,clickHide:c,click:u}=kt(t,l,!0);return i("div",{className:he.root,style:{display:d?"flex":"none"},children:[i("div",{className:he.overlay,style:a.overlay,onClick:c}),i("div",{ref:o,className:T(he.content,{[he.desktop]:n==="desktop",[he.laptop]:n==="laptop"}),style:a.root,children:[i("div",{className:he.close,style:Ve(a.close),onClick:c,children:i(Le,{})}),i(J,{className:he.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),i("div",{className:he.wrapper,children:(a.children||[]).map(_=>i(_e,{value:w(g({},_),{device:n}),children:i(su,{onClick:u})}))})]})]})}),cu=pe(i(iu,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},lu=()=>{const e=V(),t=L(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return i("div",{className:T(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[i("div",{className:I.left,children:[i("div",{className:I.teams,children:[i("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),i("img",{className:I.logo,src:r.backgroundImage,style:r})]}),i("div",{className:I.body,children:[i("div",{className:I.league,style:t.league,children:m(t,"match.league.name")}),i("div",{className:I.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),i("div",{className:I.right,children:[i("div",{className:I.team,children:[i("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),i("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),i("div",{className:I.odd,children:[i("div",{className:I.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),i("div",{className:I.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),i("div",{className:I.team,children:[i("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),i("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[s,a]=se(),l=Ee(()=>{let c=e;if(o){const u=new URLSearchParams(c);Object.entries(o).forEach(([f,_])=>{u.append(f,_)}),c+=u}return c},[e,o]),d=yn(()=>We(this,null,function*(){if(t)return;const c=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(u=>u.json());a(c.data)}),[l,t,n,r]);return q(()=>{t||d()},[l,t]),{data:s,execute:d}};function Uo(e){const t=G();return q(()=>{t.current=e},[e]),t.current}const du=(e,t)=>{const o=c=>{var u;return H(c==null?void 0:c.matchSlug)&&((u=c==null?void 0:c.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(c=>o(c.root.targetMatch)).map(c=>c.root.targetMatch),s=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(c=>({slug:c.matchSlug,sport_slug:c.sportSlug,lang:c.langSlug,bookmaker_slug:c.bookmaker,offset:c.offset,markets:c.markets}))},pause:!t||r.length===0});return q(()=>{zo(s,r)||l()},[r]),n.map(c=>{const u=(a||[]).find(v=>v.slug===c.root.targetMatch.matchSlug);if(!u)return;const f=jo(u),_=Po(f,c.root.customMatch,(v,[b,$])=>H($));return w(g({},c),{match:_})}).filter(Boolean)},uu=ue(({id:e},t)=>{var z,S,j,P,X,x,D,M,W,le,Fe,fn,gn;const o=G(null),n=be({targetRef:o,id:e}),r=V(),s=fe(r,n);Me(s,"buttonWrapper.percent_width",(z=s==null?void 0:s.buttonWrapper)==null?void 0:z.width),Me(s,"legal.percent_width",(S=s==null?void 0:s.legal)==null?void 0:S.width);const a=L(s);ge(s);const l=m(a,"root.delay",0),{isOpen:d,apiHost:c,clickHide:u,click:f}=kt(t,l,!0),_=du(s,c),v=w(g({},a.root),{alignItems:ye((j=a.root)==null?void 0:j.align)}),b=w(g({},a.content),{alignItems:ye((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(X=a.root)==null?void 0:X.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:ye((x=a.root)==null?void 0:x.textAlign)}),B=w(g({},a==null?void 0:a.legal),{justifyContent:ye((D=a.root)==null?void 0:D.textAlign)});return i("div",{className:T(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:d?"flex":"none"},children:[i("div",{className:F.overlay,style:a.overlay,onClick:u}),i("div",{className:F.content,children:[i("div",{className:F.close,style:Ve(a.close),onClick:u,children:i(Le,{})}),i("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:i("div",{className:F.body,style:v,children:[i("div",{className:F.head,children:[i("div",{className:F.title,style:a.title,children:(W=a.title)==null?void 0:W.children}),i("div",{className:F.logo,style:a.logo})]}),i("div",{className:F.wrapper,style:b,children:(_||[]).map(e_=>i(_e,{value:w(g({},e_),{device:n}),children:i(lu,{})}))}),i(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(le=a.text)==null?void 0:le.children}),i("div",{className:F.button,style:a.buttonWrapper,children:[i("div",{className:F.buttonHead,style:a.buttonHead,children:(Fe=a.buttonHead)==null?void 0:Fe.children}),i("div",{className:F.buttonTarget,style:y,children:(fn=a.button)==null?void 0:fn.children})]}),i(J,{className:F.legal,style:B,children:(gn=a.legal)==null?void 0:gn.children})]})})]})]})}),_u=pe(i(uu,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},pu=({onClick:e})=>{var s,a,l,d,c,u,f,_;const t=V(),o=L(t),[n,r]=at();return i("div",{className:ne.root,style:ie(o.root,...Y),children:[i("div",{className:ne.background,style:te(o.root,...Y)}),i("a",{href:(s=o.root)==null?void 0:s.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[i("div",{children:[i("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),i("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),i("div",{className:ne.bookmaker,style:o.bookmaker,children:(d=o.bookmaker)==null?void 0:d.children})]}),i("div",{className:ne.button,style:o.button,children:(c=o.button)==null?void 0:c.children})]}),i("div",{className:T(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:i("span",{className:ne.legalText,children:[i("span",{children:(u=o.legalInfo)==null?void 0:u.children}),i("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(_=o.legalInfoButton)==null?void 0:_.closeText})]})})]})},fu=e=>{const t=G(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},gu=ue((e,t)=>{const o=G(null),n=V(),s=fe(n,"mobile"),a=L(s);ge(s);const{click:l}=fu(t);return i("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(d=>i(_e,{value:d,children:i(pu,{onClick:l})}))})}),hu=pe(i(gu,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Xo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},vu=()=>{var o,n,r;const e=V(),t=L(e);return i("div",{className:T(Xo.root,{[Xo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:ie(t.root,...Y),children:i(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},it=(e,t,o=1,n=!1)=>{var l;const[r,s]=[t[0],t[1]||t[0]].map(d=>d*o),a=`w${r}-h${s}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},mu=()=>{var s,a;const e=V(),t=L(e),o=ie(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:it(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:it(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return i("div",{className:T(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[i("div",{className:E.title,children:[i("div",{className:E.titleLabel,style:t.titleLabel,children:(s=t.titleLabel)==null?void 0:s.children}),i("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),i("div",{className:E.odds,children:[i("div",{className:E.odd,children:[i("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),i("div",{className:E.odd,children:[i("div",{className:E.oddX,style:t.coef,children:"X"}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),i("div",{className:E.odd,children:[i("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),i("div",{className:E.teams,children:[i("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),i("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},U={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},bu=()=>{var r,s;const e=V(),t=L(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:it(m(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:it(m(t,"match.teams[1].logo"),[120,120])});return i("div",{className:T(U.root,{[U.desktop]:(e==null?void 0:e.device)==="desktop",[U.laptop]:(e==null?void 0:e.device)==="laptop",[U.tablet]:(e==null?void 0:e.device)==="tablet",[U.national]:m(t,"match.isNational")}),style:ie(t.root,...Y),children:[i("div",{className:U.title,children:[i("div",{className:U.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),i("div",{className:U.titleValue,style:t.titleValue,children:(s=t.titleValue)==null?void 0:s.children})]}),i("div",{children:[i("div",{className:U.team,children:[i("img",{className:U.teamLogo,src:o.backgroundImage,style:o}),i("div",{className:U.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),i("div",{className:U.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),i("div",{className:U.team,children:[i("img",{className:U.teamLogo,src:n.backgroundImage,style:n}),i("div",{className:U.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),i("div",{className:U.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},yu=(e=[])=>{var s;const t=e.length,[o,n]=se(0),r=(s=e[o||0])==null?void 0:s.animationDuration;return q(()=>{const l=setTimeout(()=>{n(d=>d+1<t?d+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},$u={matches:"one_x_two",matchesOneTwo:"one_two"},Zo=e=>[$u[e]],ku=(e,t)=>{const o=c=>{var u;return H(c==null?void 0:c.matchSlug)&&((u=c==null?void 0:c.matchSlug)==null?void 0:u.length)>0},n=(e==null?void 0:e.children)||[],r=n.filter(c=>o(c.root.targetMatch)).map(c=>w(g({},c.root.targetMatch),{markets:Zo(c.name)})),s=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(c=>({slug:c.matchSlug,sport_slug:c.sportSlug,lang:c.langSlug,bookmaker_slug:c.bookmaker,offset:c.offset,markets:c.markets}))},pause:!t||r.length===0});return q(()=>{zo(s,r)||l()},[r]),n.map(c=>{if("targetMatch"in c.root){const u=(a||[]).find(b=>b.slug===c.root.targetMatch.matchSlug);if(!u)return;const f=Zo(c.name),_=jo(u,{markets:f}),v=Po(_,c.root.customMatch,(b,[$,y])=>H(y));return w(g({},c),{match:v})}return c}).filter(Boolean)},wu=e=>{const t=G(Pe()),[o,n]=se(!1),[r,s]=se(),a=_=>t.current.on("visible",_),l=_=>t.current.on("click",_),d=_=>t.current.on("clickHide",_),c=()=>We(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return q(()=>{t.current.emit("visible",o)},[o]),Re(e,()=>({onVisible:a,onClick:l,onClickHide:d,show:c,hide:u,setApiHost:s,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:c,hide:u,clickHide:f,click:(..._)=>{t.current.emit("click",..._)}}},xu=3700,Nu=ue(({id:e},t)=>{var z,S,j,P,X;const o=G(null),n=V(),r=be({id:e,targetRef:o}),s=fe(n,r),a=L(s);ge(s);const{apiHost:l,isOpen:d,click:c,clickHide:u}=wu(t),f=ku(a,l),_=x=>({text:i(vu,{}),matches:i(mu,{}),matchesOneTwo:i(bu,{})})[x],v=f.filter(Boolean).map(x=>{var D,M;return w(g({},x),{animationName:(D=x==null?void 0:x.root)==null?void 0:D.animationName,animationDuration:((M=x==null?void 0:x.root)==null?void 0:M.animationDuration)||xu})}),b=yu(v),$=L(v[b]||{}),y=ie(a.root,...Y),B=(z=$==null?void 0:$.root)!=null&&z.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return i("div",{ref:o,className:T(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:d?"block":"none"}),children:[i("div",{className:R.close,style:a.close,onClick:u,children:i(Le,{})}),i("a",{href:(j=a.root)==null?void 0:j.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:c,children:[i("div",{className:R.background,style:B}),i("div",{className:R.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),i("div",{className:R.content,children:[i("div",{className:R.left,children:i("div",{className:R.logo,style:a.logo})}),i("div",{className:R.center,children:(v||[]).map((x,D)=>{var M,W;return i("div",{className:R.slide,style:{animationName:b===D?R[((M=x.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(W=x.root)==null?void 0:W.animationDuration}ms`},children:i(_e,{value:w(g({},x),{device:r}),children:_(x.name)})})})}),i("div",{className:R.right,children:[i("div",{className:R.logo,style:a.logo}),i("div",{className:R.buttonWrapper,children:i("div",{className:T(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[i("div",{className:R.logo,style:a.logo}),(X=a.button)==null?void 0:X.children]})})]})]})]})]})}),Cu=pe(i(Nu,{})),He={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_t1sch_1",content:"_content_t1sch_8",textContent:"_textContent_t1sch_15",backgroundLine:"_backgroundLine_t1sch_20",button:"_button_t1sch_26",link:"_link_t1sch_32",legal:"_legal_t1sch_38",legalText:"_legalText_t1sch_47",open:"_open_t1sch_56",legalMore:"_legalMore_t1sch_61"},Tu=(e,t,o,n,r=Mo)=>{const s=g({},e);return r.forEach(a=>{s[t]=w(g({},s[t]),{[a]:w(g({},s[t][a]),{[o]:typeof n=="function"?n(m(s,`${t}.${a}.${o}`)):n})})}),s},Ve=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return ie(o,"backgroundColor")},Ou=()=>i("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),i("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),i("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),i("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),i("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),i("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),Su=({onClick:e})=>{var s,a,l,d,c,u,f,_,v;const t=V(),o=L(t),[n,r]=at();return i("div",{className:re.root,style:o.root,children:[i("div",{className:re.content,children:[i("div",{className:re.textContent,children:[i(J,{className:re.text,style:o.text,typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),i("div",{style:o.bookmaker,children:(d=o.bookmaker)==null?void 0:d.children})]}),i("div",{className:re.button,style:o.button,children:o.button.children}),i("div",{className:re.backgroundLine,style:w(g({},Ve(o.line)),{left:`calc(50% - ${(c=o.line)==null?void 0:c.left})`}),children:i(Ou,{})}),i("a",{className:re.link,target:"_blank",href:(u=o.root)==null?void 0:u.offer,onClick:()=>e(o.id),rel:"noreferrer"})]}),i("div",{className:T(re.legal,{[re.open]:n}),style:o.legalInfo,children:i("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,i("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(_=o.legalInfoButton)==null?void 0:_.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ka6mq_1",content:"_content_ka6mq_8",backgroundLine:"_backgroundLine_ka6mq_14",link:"_link_ka6mq_20",button:"_button_ka6mq_26",logo:"_logo_ka6mq_31",legal:"_legal_ka6mq_37",open:"_open_ka6mq_49",legalText:"_legalText_ka6mq_53",legalMore:"_legalMore_ka6mq_66"},Lu=({onClick:e})=>{var s,a,l,d,c,u,f,_;const t=V(),o=L(t),[n,r]=at();return i("div",{className:ae.root,style:o.root,children:[i("div",{className:ae.content,children:[i(J,{className:ae.text,style:o.text,typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),i("div",{className:ae.button,style:o.button,children:[i("div",{className:ae.logo,style:o.logo}),o.button.children]}),i("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer})]}),i("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer,target:"_blank",onClick:()=>e(o.id),rel:"noreferrer"}),i("div",{className:T(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[i("div",{className:ae.legalText,children:(u=o.legalInfo)==null?void 0:u.children}),i("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(_=o.legalInfoButton)==null?void 0:_.closeText})]})]})},Au=e=>{const t=G(Pe()),o=r=>t.current.on("click",r),n=r=>t.current.on("visible",r);return Re(e,()=>({promoId:"ContentCards",onClick:o,onVisible:n,resetListeners:t.current.reset})),q(()=>{t.current.emit("visible")},[]),q(()=>t.current.reset,[]),{click:(...r)=>t.current.emit("click",...r),onClick:o}},Iu=ue(({id:e},t)=>{const o=G(null),n=V(),r=be({targetRef:o,id:e}),s=fe(n,r),a=L(s);ge(s);const{click:l}=Au(t),d=c=>({cardVariant1:i(Su,{onClick:l}),cardVariant2:i(Lu,{onClick:l})})[c];return i("div",{ref:o,className:T(He.root,{[He.desktop]:r==="desktop",[He.laptop]:r==="laptop",[He.tablet]:r==="tablet"}),children:i("div",{className:He.content,children:((a==null?void 0:a.children)||[]).map(c=>i(_e,{value:c,children:d(c.name)}))})})}),Ru=pe(i(Iu,{}));var $e=[],Eu=function(){return $e.some(function(e){return e.activeTargets.length>0})},ju=function(){return $e.some(function(e){return e.skippedTargets.length>0})},Ko="ResizeObserver loop completed with undelivered notifications.",Bu=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ko}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ko),window.dispatchEvent(e)},De;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(De||(De={}));var ke=function(e){return Object.freeze(e)},Jo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ke(this)}return e}(),Yo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ke(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,s=t.right,a=t.bottom,l=t.left,d=t.width,c=t.height;return{x:o,y:n,top:r,right:s,bottom:a,left:l,width:d,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,s=r.offsetWidth,a=r.offsetHeight;return!(s||a||e.getClientRects().length)},en=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},zu=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},qe=typeof window!="undefined"?window:{},ct=new WeakMap,tn=/auto|scroll/,Pu=/^tb|vertical/,Mu=/msie|trident/i.test(qe.navigator&&qe.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Ae=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Jo((o?t:e)||0,(o?e:t)||0)},on=ke({devicePixelContentBoxSize:Ae(),borderBoxSize:Ae(),contentBoxSize:Ae(),contentRect:new Yo(0,0,0,0)}),nn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(Qo(e))return ct.set(e,on),on;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Mu&&o.boxSizing==="border-box",s=Pu.test(o.writingMode||""),a=!n&&tn.test(o.overflowY||""),l=!n&&tn.test(o.overflowX||""),d=n?0:ce(o.paddingTop),c=n?0:ce(o.paddingRight),u=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),_=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),b=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+c,B=d+u,z=$+v,S=_+b,j=l?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-z-e.clientWidth:0,X=r?y+z:0,x=r?B+S:0,D=n?n.width:ce(o.width)-X-P,M=n?n.height:ce(o.height)-x-j,W=D+y+P+z,le=M+B+j+S,Fe=ke({devicePixelContentBoxSize:Ae(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),s),borderBoxSize:Ae(W,le,s),contentBoxSize:Ae(D,M,s),contentRect:new Yo(f,d,D,M)});return ct.set(e,Fe),Fe},rn=function(e,t,o){var n=nn(e,o),r=n.borderBoxSize,s=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case De.DEVICE_PIXEL_CONTENT_BOX:return a;case De.BORDER_BOX:return r;default:return s}},an=function(){function e(t){var o=nn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=ke([o.borderBoxSize]),this.contentBoxSize=ke([o.contentBoxSize]),this.devicePixelContentBoxSize=ke([o.devicePixelContentBoxSize])}return e}(),sn=function(e){if(Qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Hu=function(){var e=1/0,t=[];$e.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(c){var u=new an(c.target),f=sn(c.target);l.push(u),c.lastReportedSize=rn(c.target,c.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){$e.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(sn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Vu=function(){var e=0;for(cn(e);Eu();)e=Hu(),cn(e);return ju()&&Bu(),e>0},xt,ln=[],Du=function(){return ln.splice(0).forEach(function(e){return e()})},qu=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Du()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}ln.push(e),xt()},Fu=function(e){qu(function(){requestAnimationFrame(e)})},lt=0,Wu=function(){return!!lt},Gu=250,Uu={attributes:!0,characterData:!0,childList:!0,subtree:!0},dn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],un=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,Xu=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Gu),!Nt){Nt=!0;var n=un(t);Fu(function(){var r=!1;try{r=Vu()}finally{if(Nt=!1,t=n-un(),!Wu())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,Uu)};document.body?o():qe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dn.forEach(function(o){return qe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dn.forEach(function(o){return qe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Ct=new Xu,_n=function(e){!lt&&e>0&&Ct.start(),lt+=e,!lt&&Ct.stop()},Zu=function(e){return!wt(e)&&!zu(e)&&getComputedStyle(e).display==="inline"},Ku=function(){function e(t,o){this.target=t,this.observedBox=o||De.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rn(this.target,this.observedBox,!0);return Zu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Ju=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,pn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},ut=function(){function e(){}return e.connect=function(t,o){var n=new Ju(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),s=r.observationTargets.length===0;pn(r.observationTargets,o)<0&&(s&&$e.push(r),r.observationTargets.push(new Ku(o,n&&n.box)),_n(1),Ct.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=pn(n.observationTargets,o),s=n.observationTargets.length===1;r>=0&&(s&&$e.splice($e.indexOf(n),1),n.observationTargets.splice(r,1),_n(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Yu=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ut.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ut.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ut.unobserve(this,t)},e.prototype.disconnect=function(){ut.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Qu=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Yu,ResizeObserverEntry:an,ResizeObserverSize:Jo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=hu,h.ComplexGift=eu,h.ComplexPopup=cu,h.ContentCards=Ru,h.ExpressPopup=_u,h.SimpleGift=Jd,h.SimplePopup=au,h.WideCard=Cu,h.backgroundToColor=Ve,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=Tu,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.6.9",
4
+ "version": "2.6.10",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"