@adstore/templates 2.5.16 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/style.css +1 -1
- package/dist/templates.es.js +1641 -1451
- package/dist/templates.umd.js +2 -2
- package/package.json +1 -1
package/dist/templates.umd.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
(function(
|
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 Q_=Object.defineProperty,eu=Object.defineProperties;var tu=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var bn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var vn=(h,u,T)=>u in h?Q_(h,u,{enumerable:!0,configurable:!0,writable:!0,value:T}):h[u]=T,g=(h,u)=>{for(var T in u||(u={}))bn.call(u,T)&&vn(h,T,u[T]);if(ut)for(var T of ut(u))mn.call(u,T)&&vn(h,T,u[T]);return h},w=(h,u)=>eu(h,tu(u));var Ot=(h,u)=>{var T={};for(var G in h)bn.call(h,G)&&u.indexOf(G)<0&&(T[G]=h[G]);if(h!=null&&ut)for(var G of ut(h))u.indexOf(G)<0&&mn.call(h,G)&&(T[G]=h[G]);return T};var Fe=(h,u,T)=>new Promise((G,qe)=>{var O=ee=>{try{k(T.next(ee))}catch(we){qe(we)}},ce=ee=>{try{k(T.throw(ee))}catch(we){qe(we)}},k=ee=>ee.done?G(ee.value):Promise.resolve(ee.value).then(O,ce);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:{},G={},qe={get exports(){return G},set exports(e){G=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})()})(Me);const z=W;var se,k,Q,ye,$e=0,xt=[],Ve=[],Nt=_.options.__b,Ot=_.options.__r,Tt=_.options.diffed,Ct=_.options.__c,St=_.options.unmount;function Ae(e,t){_.options.__h&&_.options.__h(k,e,$e||t),$e=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ve}),o.__[e]}function ne(e){return $e=1,vn(jt,e)}function vn(e,t,o){var n=Ae(se++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):jt(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 u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!i||i.call(this,l,c,d);var f=!1;return u.forEach(function(p){if(p.__N){var g=p.__[0];p.__=p.__N,p.__N=void 0,g!==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 u=i;i=void 0,r(l,c,d),i=u}a&&a.call(this,l,c,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function G(e,t){var o=Ae(se++,3);!_.options.__s&&dt(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function At(e,t){var o=Ae(se++,4);!_.options.__s&&dt(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function X(e){return $e=5,Re(function(){return{current:e}},[])}function De(e,t,o){$e=6,At(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 Re(e,t){var o=Ae(se++,7);return dt(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function gn(e,t){return $e=8,Re(function(){return e},t)}function bn(e){var t=k.context[e.__c],o=Ae(se++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function mn(){for(var e;e=xt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Fe),e.__H.__h.forEach(lt),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){k=null,Nt&&Nt(e)},_.options.__r=function(e){Ot&&Ot(e),se=0;var t=(k=e.__c).__H;t&&(Q===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ve,o.__N=o.i=void 0})):(t.__h.forEach(Fe),t.__h.forEach(lt),t.__h=[])),Q=k},_.options.diffed=function(e){Tt&&Tt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(xt.push(t)!==1&&ye===_.options.requestAnimationFrame||((ye=_.options.requestAnimationFrame)||yn)(mn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ve&&(o.__=o.__V),o.i=void 0,o.__V=Ve})),Q=k=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Fe),o.__h=o.__h.filter(function(n){return!n.__||lt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),Ct&&Ct(e,t)},_.options.unmount=function(e){St&&St(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Fe(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var Rt=typeof requestAnimationFrame=="function";function yn(e){var t,o=function(){clearTimeout(n),Rt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Rt&&(t=requestAnimationFrame(o))}function Fe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function lt(e){var t=k;e.__c=e.__(),k=t}function dt(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function jt(e,t){return typeof t=="function"?t(e):t}function It(e,t){for(var o in t)e[o]=t[o];return e}function Lt(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 Et(e){this.props=e}(Et.prototype=new _.Component).isPureReactComponent=!0,Et.prototype.shouldComponentUpdate=function(e,t){return Lt(this.props,e)||Lt(this.state,t)};var zt=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),zt&&zt(e)};var $n=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(o){var n=It({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=$n,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var kn=_.options.__e;_.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)}kn(e,t,o,n)};var Pt=_.options.unmount;function Bt(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=It({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Bt(n,t,o)})),e}function Ht(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ht(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 ut(){this.__u=0,this.t=null,this.__b=null}function Mt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function qe(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Pt&&Pt(e)},(ut.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Mt(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]=Ht(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},ut.prototype.componentWillUnmount=function(){this.t=[]},ut.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]=Bt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var Vt=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]}};(qe.prototype=new _.Component).__a=function(e){var t=this,o=Mt(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),Vt(t,e,n)):r()};o?o(i):i()}},qe.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.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},qe.prototype.componentDidUpdate=qe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Vt(e,o,t)})};var wn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,xn=/^(?: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]/,Nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,On=/[A-Z0-9]/g,Tn=typeof document!="undefined",Cn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.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 Dt=_.options.event;function Sn(){}function An(){return this.cancelBubble}function Rn(){return this.defaultPrevented}_.options.event=function(e){return Dt&&(e=Dt(e)),e.persist=Sn,e.isPropagationStopped=An,e.isDefaultPrevented=Rn,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ft=_.options.vnode;_.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||Tn&&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"||Cn(o.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Nn.test(i)?i=l:n.indexOf("-")===-1&&xn.test(i)?i=i.replace(On,"-$&").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=_.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.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=wn,Ft&&Ft(e)};var qt=_.options.__r;_.options.__r=function(e){qt&&qt(e),e.__c};var Wt=_.options.diffed;_.options.diffed=function(e){Wt&&Wt(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 In(){this.__data__=[],this.size=0}var Ln=In;function En(e,t){return e===t||e!==e&&t!==t}var We=En,zn=We;function Pn(e,t){for(var o=e.length;o--;)if(zn(e[o][0],t))return o;return-1}var Ge=Pn,Bn=Ge,Hn=Array.prototype,Mn=Hn.splice;function Vn(e){var t=this.__data__,o=Bn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():Mn.call(t,o,1),--this.size,!0}var Dn=Vn,Fn=Ge;function qn(e){var t=this.__data__,o=Fn(t,e);return o<0?void 0:t[o][1]}var Wn=qn,Gn=Ge;function Un(e){return Gn(this.__data__,e)>-1}var Xn=Un,Kn=Ge;function Zn(e,t){var o=this.__data__,n=Kn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Jn=Zn,Yn=Ln,Qn=Dn,er=Wn,tr=Xn,or=Jn;function ke(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])}}ke.prototype.clear=Yn,ke.prototype.delete=Qn,ke.prototype.get=er,ke.prototype.has=tr,ke.prototype.set=or;var Ue=ke,nr=Ue;function rr(){this.__data__=new nr,this.size=0}var ar=rr;function ir(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var sr=ir;function cr(e){return this.__data__.get(e)}var lr=cr;function dr(e){return this.__data__.has(e)}var ur=dr,_r=typeof O=="object"&&O&&O.Object===Object&&O,Gt=_r,pr=Gt,fr=typeof self=="object"&&self&&self.Object===Object&&self,hr=pr||fr||Function("return this")(),we=hr,vr=we,gr=vr.Symbol,Ut=gr,Xt=Ut,Kt=Object.prototype,br=Kt.hasOwnProperty,mr=Kt.toString,je=Xt?Xt.toStringTag:void 0;function yr(e){var t=br.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(i){}var r=mr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var $r=yr,kr=Object.prototype,wr=kr.toString;function xr(e){return wr.call(e)}var Nr=xr,Zt=Ut,Or=$r,Tr=Nr,Cr="[object Null]",Sr="[object Undefined]",Jt=Zt?Zt.toStringTag:void 0;function Ar(e){return e==null?e===void 0?Sr:Cr:Jt&&Jt in Object(e)?Or(e):Tr(e)}var Xe=Ar;function Rr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var de=Rr,jr=Xe,Ir=de,Lr="[object AsyncFunction]",Er="[object Function]",zr="[object GeneratorFunction]",Pr="[object Proxy]";function Br(e){if(!Ir(e))return!1;var t=jr(e);return t==Er||t==zr||t==Lr||t==Pr}var _t=Br,Hr=we,Mr=Hr["__core-js_shared__"],Vr=Mr,pt=Vr,Yt=function(){var e=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dr(e){return!!Yt&&Yt in e}var Fr=Dr,qr=Function.prototype,Wr=qr.toString;function Gr(e){if(e!=null){try{return Wr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ur=Gr,Xr=_t,Kr=Fr,Zr=de,Jr=Ur,Yr=/[\\^$.*+?()[\]{}|]/g,Qr=/^\[object .+?Constructor\]$/,ea=Function.prototype,ta=Object.prototype,oa=ea.toString,na=ta.hasOwnProperty,ra=RegExp("^"+oa.call(na).replace(Yr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aa(e){if(!Zr(e)||Kr(e))return!1;var t=Xr(e)?ra:Qr;return t.test(Jr(e))}var ia=aa;function sa(e,t){return e==null?void 0:e[t]}var ca=sa,la=ia,da=ca;function ua(e,t){var o=da(e,t);return la(o)?o:void 0}var ft=ua,_a=ft,pa=we,fa=_a(pa,"Map"),Qt=fa,ha=ft,va=ha(Object,"create"),Ke=va,eo=Ke;function ga(){this.__data__=eo?eo(null):{},this.size=0}var ba=ga;function ma(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ya=ma,$a=Ke,ka="__lodash_hash_undefined__",wa=Object.prototype,xa=wa.hasOwnProperty;function Na(e){var t=this.__data__;if($a){var o=t[e];return o===ka?void 0:o}return xa.call(t,e)?t[e]:void 0}var Oa=Na,Ta=Ke,Ca=Object.prototype,Sa=Ca.hasOwnProperty;function Aa(e){var t=this.__data__;return Ta?t[e]!==void 0:Sa.call(t,e)}var Ra=Aa,ja=Ke,Ia="__lodash_hash_undefined__";function La(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ia:t,this}var Ea=La,za=ba,Pa=ya,Ba=Oa,Ha=Ra,Ma=Ea;function xe(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])}}xe.prototype.clear=za,xe.prototype.delete=Pa,xe.prototype.get=Ba,xe.prototype.has=Ha,xe.prototype.set=Ma;var Va=xe,to=Va,Da=Ue,Fa=Qt;function qa(){this.size=0,this.__data__={hash:new to,map:new(Fa||Da),string:new to}}var Wa=qa;function Ga(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ua=Ga,Xa=Ua;function Ka(e,t){var o=e.__data__;return Xa(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ze=Ka,Za=Ze;function Ja(e){var t=Za(this,e).delete(e);return this.size-=t?1:0,t}var Ya=Ja,Qa=Ze;function ei(e){return Qa(this,e).get(e)}var ti=ei,oi=Ze;function ni(e){return oi(this,e).has(e)}var ri=ni,ai=Ze;function ii(e,t){var o=ai(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var si=ii,ci=Wa,li=Ya,di=ti,ui=ri,_i=si;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=ci,Ne.prototype.delete=li,Ne.prototype.get=di,Ne.prototype.has=ui,Ne.prototype.set=_i;var pi=Ne,fi=Ue,hi=Qt,vi=pi,gi=200;function bi(e,t){var o=this.__data__;if(o instanceof fi){var n=o.__data__;if(!hi||n.length<gi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new vi(n)}return o.set(e,t),this.size=o.size,this}var mi=bi,yi=Ue,$i=ar,ki=sr,wi=lr,xi=ur,Ni=mi;function Oe(e){var t=this.__data__=new yi(e);this.size=t.size}Oe.prototype.clear=$i,Oe.prototype.delete=ki,Oe.prototype.get=wi,Oe.prototype.has=xi,Oe.prototype.set=Ni;var Oi=Oe,Ti=ft,Ci=function(){try{var e=Ti(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),oo=Ci,no=oo;function Si(e,t,o){t=="__proto__"&&no?no(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ht=Si,Ai=ht,Ri=We;function ji(e,t,o){(o!==void 0&&!Ri(e[t],o)||o===void 0&&!(t in e))&&Ai(e,t,o)}var ro=ji;function Ii(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 Li=Ii,Ei=Li,zi=Ei(),Pi=zi,Je={},Bi={get exports(){return Je},set exports(e){Je=e}};(function(e,t){var o=we,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,u){if(u)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(Bi,Je);var Hi=we,Mi=Hi.Uint8Array,Vi=Mi,ao=Vi;function Di(e){var t=new e.constructor(e.byteLength);return new ao(t).set(new ao(e)),t}var Fi=Di,qi=Fi;function Wi(e,t){var o=t?qi(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Gi=Wi;function Ui(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Xi=Ui,Ki=de,io=Object.create,Zi=function(){function e(){}return function(t){if(!Ki(t))return{};if(io)return io(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ji=Zi;function Yi(e,t){return function(o){return e(t(o))}}var Qi=Yi,es=Qi,ts=es(Object.getPrototypeOf,Object),so=ts,os=Object.prototype;function ns(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||os;return e===o}var co=ns,rs=Ji,as=so,is=co;function ss(e){return typeof e.constructor=="function"&&!is(e)?rs(as(e)):{}}var cs=ss;function ls(e){return e!=null&&typeof e=="object"}var Ie=ls,ds=Xe,us=Ie,_s="[object Arguments]";function ps(e){return us(e)&&ds(e)==_s}var fs=ps,lo=fs,hs=Ie,uo=Object.prototype,vs=uo.hasOwnProperty,gs=uo.propertyIsEnumerable,bs=lo(function(){return arguments}())?lo:function(e){return hs(e)&&vs.call(e,"callee")&&!gs.call(e,"callee")},_o=bs,ms=Array.isArray,po=ms,ys=9007199254740991;function $s(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ys}var fo=$s,ks=_t,ws=fo;function xs(e){return e!=null&&ws(e.length)&&!ks(e)}var vt=xs,Ns=vt,Os=Ie;function Ts(e){return Os(e)&&Ns(e)}var Cs=Ts,Le={},Ss={get exports(){return Le},set exports(e){Le=e}};function As(){return!1}var Rs=As;(function(e,t){var o=we,n=Rs,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})(Ss,Le);var js=Xe,Is=so,Ls=Ie,Es="[object Object]",zs=Function.prototype,Ps=Object.prototype,ho=zs.toString,Bs=Ps.hasOwnProperty,Hs=ho.call(Object);function Ms(e){if(!Ls(e)||js(e)!=Es)return!1;var t=Is(e);if(t===null)return!0;var o=Bs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&ho.call(o)==Hs}var Vs=Ms,Ds=Xe,Fs=fo,qs=Ie,Ws="[object Arguments]",Gs="[object Array]",Us="[object Boolean]",Xs="[object Date]",Ks="[object Error]",Zs="[object Function]",Js="[object Map]",Ys="[object Number]",Qs="[object Object]",ec="[object RegExp]",tc="[object Set]",oc="[object String]",nc="[object WeakMap]",rc="[object ArrayBuffer]",ac="[object DataView]",ic="[object Float32Array]",sc="[object Float64Array]",cc="[object Int8Array]",lc="[object Int16Array]",dc="[object Int32Array]",uc="[object Uint8Array]",_c="[object Uint8ClampedArray]",pc="[object Uint16Array]",fc="[object Uint32Array]",N={};N[ic]=N[sc]=N[cc]=N[lc]=N[dc]=N[uc]=N[_c]=N[pc]=N[fc]=!0,N[Ws]=N[Gs]=N[rc]=N[Us]=N[ac]=N[Xs]=N[Ks]=N[Zs]=N[Js]=N[Ys]=N[Qs]=N[ec]=N[tc]=N[oc]=N[nc]=!1;function hc(e){return qs(e)&&Fs(e.length)&&!!N[Ds(e)]}var vc=hc;function gc(e){return function(t){return e(t)}}var bc=gc,Ye={},mc={get exports(){return Ye},set exports(e){Ye=e}};(function(e,t){var o=Gt,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})(mc,Ye);var yc=vc,$c=bc,vo=Ye,go=vo&&vo.isTypedArray,kc=go?$c(go):yc,bo=kc;function wc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var mo=wc,xc=ht,Nc=We,Oc=Object.prototype,Tc=Oc.hasOwnProperty;function Cc(e,t,o){var n=e[t];(!(Tc.call(e,t)&&Nc(n,o))||o===void 0&&!(t in e))&&xc(e,t,o)}var Sc=Cc,Ac=Sc,Rc=ht;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?Rc(o,l,c):Ac(o,l,c)}return o}var Ic=jc;function Lc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Ec=Lc,zc=9007199254740991,Pc=/^(?:0|[1-9]\d*)$/;function Bc(e,t){var o=typeof e;return t=t==null?zc:t,!!t&&(o=="number"||o!="symbol"&&Pc.test(e))&&e>-1&&e%1==0&&e<t}var yo=Bc,Hc=Ec,Mc=_o,Vc=po,Dc=Le,Fc=yo,qc=bo,Wc=Object.prototype,Gc=Wc.hasOwnProperty;function Uc(e,t){var o=Vc(e),n=!o&&Mc(e),r=!o&&!n&&Dc(e),i=!o&&!n&&!r&&qc(e),a=o||n||r||i,l=a?Hc(e.length,String):[],c=l.length;for(var d in e)(t||Gc.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Fc(d,c)))&&l.push(d);return l}var Xc=Uc;function Kc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Zc=Kc,Jc=de,Yc=co,Qc=Zc,el=Object.prototype,tl=el.hasOwnProperty;function ol(e){if(!Jc(e))return Qc(e);var t=Yc(e),o=[];for(var n in e)n=="constructor"&&(t||!tl.call(e,n))||o.push(n);return o}var nl=ol,rl=Xc,al=nl,il=vt;function sl(e){return il(e)?rl(e,!0):al(e)}var $o=sl,cl=Ic,ll=$o;function dl(e){return cl(e,ll(e))}var ul=dl,ko=ro,_l=Je,pl=Gi,fl=Xi,hl=cs,wo=_o,xo=po,vl=Cs,gl=Le,bl=_t,ml=de,yl=Vs,$l=bo,No=mo,kl=ul;function wl(e,t,o,n,r,i,a){var l=No(e,o),c=No(t,o),d=a.get(c);if(d){ko(e,o,d);return}var u=i?i(l,c,o+"",e,t,a):void 0,f=u===void 0;if(f){var p=xo(c),g=!p&&gl(c),m=!p&&!g&&$l(c);u=c,p||g||m?xo(l)?u=l:vl(l)?u=fl(l):g?(f=!1,u=_l(c,!0)):m?(f=!1,u=pl(c,!0)):u=[]:yl(c)||wo(c)?(u=l,wo(l)?u=kl(l):(!ml(l)||bl(l))&&(u=hl(c))):f=!1}f&&(a.set(c,u),r(u,c,n,i,a),a.delete(c)),ko(e,o,u)}var xl=wl,Nl=Oi,Ol=ro,Tl=Pi,Cl=xl,Sl=de,Al=$o,Rl=mo;function Oo(e,t,o,n,r){e!==t&&Tl(t,function(i,a){if(r||(r=new Nl),Sl(i))Cl(e,t,a,o,Oo,n,r);else{var l=n?n(Rl(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Ol(e,a,l)}},Al)}var jl=Oo;function Il(e){return e}var To=Il;function Ll(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 El=Ll,zl=El,Co=Math.max;function Pl(e,t,o){return t=Co(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=Co(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),zl(e,this,l)}}var Bl=Pl;function Hl(e){return function(){return e}}var Ml=Hl,Vl=Ml,So=oo,Dl=To,Fl=So?function(e,t){return So(e,"toString",{configurable:!0,enumerable:!1,value:Vl(t),writable:!0})}:Dl,ql=Fl,Wl=800,Gl=16,Ul=Date.now;function Xl(e){var t=0,o=0;return function(){var n=Ul(),r=Gl-(n-o);if(o=n,r>0){if(++t>=Wl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Kl=Xl,Zl=ql,Jl=Kl,Yl=Jl(Zl),Ql=Yl,ed=To,td=Bl,od=Ql;function nd(e,t){return od(td(e,t,ed),e+"")}var rd=nd,ad=We,id=vt,sd=yo,cd=de;function ld(e,t,o){if(!cd(o))return!1;var n=typeof t;return(n=="number"?id(o)&&sd(t,o.length):n=="string"&&t in o)?ad(o[t],e):!1}var dd=ld,ud=rd,_d=dd;function pd(e){return ud(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&&_d(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 fd=pd,hd=jl,vd=fd;vd(function(e,t,o){hd(e,t,o)});const ue=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const i=[o,r].filter(H).join(".");return ue(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]=ue(t(r,i,a),t,a),n},{}):e,gd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Qe=()=>{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={}}},bd=()=>({name:null,logo:null}),Ao=()=>({name:null,logo:null}),md=()=>({factor:null,type:null,outcome:null,value:null}),yd=()=>({w1:null,x:null,w2:null}),$d=()=>({w1:null,w2:null}),kd=()=>({one_x_two:yd(),one_two:$d()}),Ro=(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:h({},(e==null?void 0:e.teams)||{0:Ao(),1:Ao()}),league:(e==null?void 0:e.unique_tournament)||bd(),prediction:(e==null?void 0:e.prediction)||md(),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]=b(e||{},`markets.${a}`,kd()[a||"one_two"]),i),{});Ee(o,"markets",r)}return o},wd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),xd=e=>!e&&e==null,H=e=>!xd(e),jo=e=>typeof e!="object"&&typeof e!="function"||e===null,Nd=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Od=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),ee=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function re(e,...t){const o=h({},e);return t.forEach(n=>{delete o[n]}),o}const b=(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},Ee=(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)},Td=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},Io=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Cd=e=>"id"in e&&"root"in e,Sd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Lo=(e,t,o)=>ue(e,(n,r,i)=>jo(r)||Array.isArray(r)&&r.every(jo)?o?o(n,[r,b(t,i)],i)?b(t,i,r):r:b(t,i,r):r),Ad=(e,t)=>{try{ue(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},Rd=(e,t)=>{const o=[];return ue(e,(n,r,i)=>(t(n,r,i,o)&&o.push({key:n,value:r,path:i}),r)),o},Eo=["desktop","laptop","tablet","mobile"],jd={mobile:320,tablet:768,laptop:1024,desktop:1920},T={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 Id=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:--Id,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)c[l]===void 0&&(c[l]=a[l]);return _.options.vnode&&_.options.vnode(d),d}const zo=_.createContext(),_e=({children:e,value:t})=>s(zo.Provider,{value:t,children:e}),pe=e=>a=>He(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=wt(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const c=yield Promise.resolve().then(()=>Fu);window.ResizeObserver=c.ResizeObserver}return _.render(s(_e,{value:r,children:_.cloneElement(e,h({ref:n,id:o},i))}),t)}),U=()=>bn(zo),Ld=(e={})=>typeof e=="object"&&H(e)&&Eo.every(t=>t in e),Ed=(e,t)=>e&&ue(e,(o,n)=>{if(Ld(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?h(h({},n[r.parent]),re(r,"parent")):r}return n}),fe=(e,t)=>Ed(e,t),Te=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=jd})=>{const[r,i]=ne("desktop"),a=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(h({},n)).sort(([p,g],[m,$])=>g-$),u=((f=d.find(([p,g],m)=>{const[$,y]=d[m+1]||[];return c>=g&&c<y}))==null?void 0:f[0])||"desktop";i(u)};return At(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Po=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),et=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,zd=e=>e.startsWith("px_"),Pd=e=>e.startsWith("percent_"),Bd=(e,t)=>{let o=e,n=t;return zd(o)&&(o=o.replace("px_",""),n=et(t,"px")),Pd(o)&&(o=o.replace("percent_",""),n=et(t,"%")),{key:o,value:n}},Hd="-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'",Md=["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"],Bo=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])=>{Md.includes(n)&&(r=et(r,"px"));const{key:i,value:a}=Bd(n,r);if(Nd(a)&&(o[i]=Bo(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=et(a,"px")),i==="backgroundFit"&&(Po("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,Po("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Td(o.backgroundColor);l&&(o.backgroundColor=Sd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=Hd),i==="isBold"&&(o.fontWeight=a?"bold":"initial"),i==="isItalic"&&(o.fontStyle=a?"italic":"initial"),i==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Vd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,V=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Vd(n)?Bo(h({},e[o])):n,t),{}):e,Dd=e=>e in document.createElement("div").style||e.startsWith("--"),ae=r=>{var i=r,{children:e,typography:t,accentTypography:o}=i,n=wt(i,["children","typography","accentTypography"]);var c;const a=Re(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([u,f])=>{Dd(u)&&(d+=`${Od(u)}: ${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",x(h({},n),{style:h(h({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},Ho=()=>{const[e,t]=ne(!1);return[e,()=>t(o=>!o)]},Ce=()=>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"})}),gt=()=>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"})}),Fd=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`}),Mo=(e,t)=>{var u,f,p,g,m,$,y,I,L,C,E,P,q;const o=Fd(t),n=V(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.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:(g=n==null?void 0:n.container)==null?void 0:g.borderWidth,borderTopColor:(m=n==null?void 0:n.container)==null?void 0:m.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:(I=n==null?void 0:n.container)==null?void 0:I.left},l=(((L=n==null?void 0:n.icon)==null?void 0:L.animations)||[]).map(w=>o[w]).join(", "),c=H((C=n==null?void 0:n.icon)==null?void 0:C.gradientColor)&&((E=n==null?void 0:n.icon)!=null&&E.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(q=n==null?void 0:n.icon)==null?void 0:q.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d=h(x(h({},(n==null?void 0:n.icon)||{}),{animation:l}),c);return{hasIcon:r,arrowRules:i,bodyRules:a,iconRules:d}},he=e=>{const t=new Set([]);ue(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Re(()=>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]);G(()=>{o.forEach(gd)},[o])},J=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],qd=["borderWidth","borderColor","borderStyle"],Vo=["imageSource","objectFit"],tt=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Wd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ne(!1),i=X(null),a=c=>{clearTimeout(i.current),i.current=null},l=()=>{a(i.current),r(c=>!c)};return G(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),G(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:l}},Do=({ref:e,openDelay:t})=>{const o=X(Qe()),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}=Wd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return De(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),G(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Gd=le(({id:e},t)=>{var I,L,C,E,P,q,w,M,B;const o=X(null),[n,r]=Ho(),i=U(),a=Te({targetRef:o,id:e}),l=fe(i,a),c=V(l),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=Mo(l,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),{isOpen:g,toggle:m,click:$}=Do({ref:t,openDelay:(I=l==null?void 0:l.container)==null?void 0:I.delay});he(l);const y=n?ee(c.container,...qd):{};return s("div",{className:z(T.root,{[T.legalOpen]:n}),ref:o,children:[s("div",{className:T.icon,style:u,onClick:m,children:d&&s("div",{className:T.iconTarget,children:s(gt,{})})}),s("div",{className:z(T.body,{[T.bodyOpen]:g}),style:f,children:[s("div",{className:T.arrow,style:p}),s("div",{className:T.close,style:c==null?void 0:c.close,onClick:m,children:s(Ce,{})}),s("div",{className:T.container,style:c==null?void 0:c.container,children:[s("a",{href:(L=c==null?void 0:c.root)==null?void 0:L.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(c.id),children:[s("div",{className:T.inner,children:[s("div",{className:T.logo,style:c==null?void 0:c.logo}),s(ae,{className:T.text,style:c==null?void 0:c.text,typography:(C=c.text)==null?void 0:C.typography,accentTypography:(E=c.text)==null?void 0:E.accentTypography,children:(P=c==null?void 0:c.text)==null?void 0:P.children})]}),s("div",{className:z(T.button,{[T.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(q=c==null?void 0:c.button)==null?void 0:q.children})]}),s("div",{className:T.legalGap}),s("div",{className:T.legal,style:h(h({},c==null?void 0:c.legal),y),children:s("span",{className:T.legalText,children:s("span",{children:[s("span",{children:(w=c==null?void 0:c.legal)==null?void 0:w.children}),s("span",{className:T.legalButton,onClick:r,children:n?(M=c==null?void 0:c.legal)==null?void 0:M.buttonOpenText:(B=c==null?void 0:c.legal)==null?void 0:B.buttonHideText})]})})})]})]})]})}),Ud=pe(s(Gd,{})),S={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"},te={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"},Xd=({onClick:e})=>{var n,r,i,a,l,c,d;const t=U(),o=V(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:z(te.root,{[te.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:te.body,children:[s("div",{className:te.line,style:o.line}),s("div",{className:te.bodyInner,children:[s("div",{className:te.logo,style:o.logo}),s("div",{className:te.text,style:o.text,children:s(ae,{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:te.button,style:o.button,children:[s("div",{className:te.logo,style:o.logo}),s("div",{className:te.buttonText,children:(c=o.button)==null?void 0:c.children})]})]}),s("div",{className:te.legal,style:o.legal,children:(d=o.legal)==null?void 0:d.children})]})},Kd=le(({id:e},t)=>{var I,L,C,E;const o=X(null),n=U(),r=Te({targetRef:o,id:e}),i=fe(n,r),a=V(i),{isOpen:l,click:c,toggle:d}=Do({ref:t,openDelay:(I=i==null?void 0:i.container)==null?void 0:I.delay});he(i);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:g}=Mo(i,{fade:S.fadein,pulse:S.pulse,wiggle:S.wiggle,gradient:S.gradient}),m=(L=a==null?void 0:a.title)==null?void 0:L.hasIcon,$=ee(a==null?void 0:a.title,...tt),y=re(a==null?void 0:a.title,...tt);return s("div",{ref:o,className:z(S.root,{[S.desktop]:r==="desktop",[S.laptop]:r==="laptop",[S.tablet]:r==="tablet"}),children:[s("div",{className:S.icon,style:f,onClick:d,children:u&&s("div",{className:S.iconTarget,children:s(gt,{})})}),s("div",{className:z(S.body,{[S.bodyOpen]:l}),style:p,children:[s("div",{className:S.arrow,style:g}),s("div",{className:S.container,style:a.container,children:[s("div",{className:S.close,style:a.close,onClick:d,children:s(Ce,{})}),s("div",{className:S.head,style:$,children:[m&&s("div",{className:S.headIcon,style:ee(a.title,"color"),children:s(gt,{})}),s("div",{className:S.headTitle,style:y,children:(C=a.title)==null?void 0:C.children})]}),s("div",{className:S.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Xd,{onClick:c})}))}),s("div",{className:S.promotion,style:a.promotion,children:(E=a.promotion)==null?void 0:E.children})]})]})]})}),Zd=pe(s(Kd,{})),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"},ve=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Jd={root:"_root_mj8hr_1"},Yd=()=>{var o,n,r;const e=U(),t=V(e);return s("div",{className:Jd.root,style:t.root,children:s(ae,{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})})},bt=(e,t=0,o=!1)=>{const n=X(Qe()),[r,i]=ne(!1),[a,l]=ne(),[c,d]=ne(o),u=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),g=()=>He(this,null,function*(){yield wd(+t),i(!0)}),m=()=>i(!1),$=()=>{n.current.emit("clickHide"),m()};return G(()=>{c&&n.current.emit("visible",r)},[r,c]),De(e,()=>({onVisible:u,onClick:f,onClickHide:p,show:g,hide:m,setApiHost:l,resetListeners:n.current.reset})),G(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:g,hide:m,clickHide:$,setIsReady:d,click:(...y)=>{m(),n.current.emit("click",...y)}}};function Qd(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const eu=le(({id:e,className:t},o)=>{var E,P,q,w,M,B;const n=X(null),r=X(null),i=Te({targetRef:n,id:e}),a=U(),l=fe(a,i);he(l),Ee(l,"button.percent_width",(E=l==null?void 0:l.button)==null?void 0:E.width),Ee(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const c=V(l),d=b(c,"root.delay",0),{isOpen:u,isReady:f,setIsReady:p,clickHide:g,click:m}=bt(o,d);G(()=>{const Z=r.current;if(!Z)return;if(Qd(Z)){p(!0);return}const me=()=>p(!0);return Z.addEventListener("load",me),()=>{Z.removeEventListener("load",me)}},[c]);const $={alignItems:ve((q=c.root)==null?void 0:q.align)},y=x(h({},c==null?void 0:c.button),{justifyContent:ve((w=c.root)==null?void 0:w.textAlign)}),I=x(h({},c==null?void 0:c.legal),{justifyContent:ve((M=c.root)==null?void 0:M.textAlign)}),L=re(c.root,...Vo,...J),C=ee(c.root,...Vo);return s("div",{className:z(K.root,t,{[K.desktop]:i==="desktop",[K.tablet]:i==="tablet",[K.laptop]:i==="laptop"}),ref:n,style:{display:u&&f?"flex":"none"},children:[s("div",{className:K.overlay,style:c.overlay,onClick:g}),s("div",{className:K.wrapper,children:[s("div",{className:K.close,style:nt(c.close),onClick:g,children:s(Ce,{})}),s("a",{href:(B=c.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.content,style:L,onClick:()=>m(c.id),children:[s("img",{ref:r,className:K.background,src:C.imageSource,alt:"",style:C}),s("div",{className:K.body,style:$,children:[s("div",{className:K.logo,style:c.logo}),s("div",{className:K.text,children:((c==null?void 0:c.children)||[]).map(Z=>s(_e,{value:Z,children:s(Yd,{})}))}),s("div",{className:K.button,style:y,children:y==null?void 0:y.children}),s("div",{className:K.legal,style:I,children:I==null?void 0:I.children})]})]})]})]})}),tu=pe(s(eu,{})),ce={root:"_root_1orbg_1",content:"_content_1orbg_11",desktop:"_desktop_1orbg_23",laptop:"_laptop_1orbg_23",overlay:"_overlay_1orbg_28",close:"_close_1orbg_34",title:"_title_1orbg_45",wrapper:"_wrapper_1orbg_60"},Y={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"},ou=({onClick:e})=>{var i,a,l,c,d,u;const t=U(),o=V(t),n=(t==null?void 0:t.device)||"desktop",r=ee(o.header,...J);return s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:z(Y.root,{[Y.desktop]:n==="desktop",[Y.laptop]:n==="laptop"}),style:re(o.root,...tt),onClick:()=>e(o.id),children:[s("div",{className:Y.header,style:o.header,children:s("div",{className:Y.logo,style:o.logo})}),s("div",{className:Y.container,style:ee(o.root,...tt),children:[s("div",{className:Y.body,children:[s("div",{className:Y.logoWrapper,style:r,children:s("div",{className:Y.logo,style:o.logo})}),s(ae,{className:Y.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(ae,{className:Y.button,style:o.button,children:(d=o.button)==null?void 0:d.children}),s(ae,{className:Y.legal,style:o.legal,children:(u=o.legal)==null?void 0:u.children})]})]})]})},nu=le(({id:e},t)=>{var f;const o=X(null),n=Te({targetRef:o,id:e}),r=U(),i=fe(r,n),a=V(i);he(i);const l=b(a,"root.delay",0),{isOpen:c,clickHide:d,click:u}=bt(t,l,!0);return s("div",{className:ce.root,style:{display:c?"flex":"none"},children:[s("div",{className:ce.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:z(ce.content,{[ce.desktop]:n==="desktop",[ce.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ce.close,style:nt(a.close),onClick:d,children:s(Ce,{})}),s(ae,{className:ce.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),s("div",{className:ce.wrapper,children:(a.children||[]).map(p=>s(_e,{value:x(h({},p),{device:n}),children:s(ou,{onClick:u})}))})]})]})}),ru=pe(s(nu,{})),D={root:"_root_18anl_1",content:"_content_18anl_11",close:"_close_18anl_19",overlay:"_overlay_18anl_30",body:"_body_18anl_36",desktop:"_desktop_18anl_44",laptop:"_laptop_18anl_44",tablet:"_tablet_18anl_48",head:"_head_18anl_53",title:"_title_18anl_63",logo:"_logo_18anl_76",wrapper:"_wrapper_18anl_83",text:"_text_18anl_90",button:"_button_18anl_98",buttonHead:"_buttonHead_18anl_113",buttonTarget:"_buttonTarget_18anl_130",legal:"_legal_18anl_144"},A={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"},au=()=>{const e=U(),t=V(e),o=(e==null?void 0:e.device)||"desktop",n=x(h({},t==null?void 0:t.teamALogo),{backgroundImage:b(t,"match.teams[0].logo")}),r=x(h({},t==null?void 0:t.teamBLogo),{backgroundImage:b(t,"match.teams[1].logo")});return s("div",{className:z(A.root,{[A.desktop]:o==="desktop",[A.laptop]:o==="laptop"}),children:[s("div",{className:A.left,children:[s("div",{className:A.teams,children:[s("img",{className:A.logo,src:n.backgroundImage,style:n,alt:""}),s("img",{className:A.logo,src:r.backgroundImage,style:r})]}),s("div",{className:A.body,children:[s("div",{className:A.league,style:t.league,children:b(t,"match.league.name")}),s("div",{className:A.name,style:t.teams,children:[b(t,"match.teams[0].name")," — ",b(t,"match.teams[1].name")]})]})]}),s("div",{className:A.right,children:[s("div",{className:A.team,children:[s("img",{className:A.teamLogo,style:n,src:n.backgroundImage}),s("div",{className:A.teamName,style:t.teams,children:b(t,"match.teams[0].name")})]}),s("div",{className:A.odd,children:[s("div",{className:A.oddLabel,style:t.oddLabel,children:b(t,"match.prediction.value")}),s("div",{className:A.oddValue,style:t.oddValue,children:b(t,"match.prediction.factor")})]}),s("div",{className:A.team,children:[s("img",{className:A.teamLogo,style:r,src:r.backgroundImage}),s("div",{className:A.teamName,style:t.teams,children:b(t,"match.teams[1].name")})]})]})]})},Fo=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ne(),l=Re(()=>{let d=e;if(o){const u=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{u.append(f,p)}),d+=u}return d},[e,o]),c=gn(()=>He(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(u=>u.json());a(d.data)}),[l,t,n,r]);return G(()=>{t||c()},[l,t]),{data:i,execute:c}};function qo(e){const t=X();return G(()=>{t.current=e},[e]),t.current}const iu=(e,t)=>{const o=d=>{var u;return H(d==null?void 0:d.matchSlug)&&((u=d==null?void 0:d.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>d.root.targetMatch),i=qo(r),{data:a,execute:l}=Fo(`${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 G(()=>{Io(i,r)||l()},[r]),n.map(d=>{const u=(a||[]).find(g=>g.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Ro(u),p=Lo(f,d.root.customMatch,(g,[m,$])=>H($));return x(h({},d),{match:p})}).filter(Boolean)},su=le(({id:e},t)=>{var L,C,E,P,q,w,M,B,Z,me,Be,un,_n;const o=X(null),n=Te({targetRef:o,id:e}),r=U(),i=fe(r,n);Ee(i,"buttonWrapper.percent_width",(L=i==null?void 0:i.buttonWrapper)==null?void 0:L.width),Ee(i,"legal.percent_width",(C=i==null?void 0:i.legal)==null?void 0:C.width);const a=V(i);he(i);const l=b(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:u,click:f}=bt(t,l,!0),p=iu(i,d),g=x(h({},a.root),{alignItems:ve((E=a.root)==null?void 0:E.align)}),m=x(h({},a.content),{alignItems:ve((P=a.root)==null?void 0:P.align)}),$=x(h({},a.text),{textAlign:(q=a.root)==null?void 0:q.align}),y=x(h({},a==null?void 0:a.button),{justifyContent:ve((w=a.root)==null?void 0:w.textAlign)}),I=x(h({},a==null?void 0:a.legal),{justifyContent:ve((M=a.root)==null?void 0:M.textAlign)});return s("div",{className:z(D.root,{[D.desktop]:n==="desktop",[D.laptop]:n==="laptop",[D.tablet]:n==="tablet"}),ref:o,style:{display:c?"flex":"none"},children:[s("div",{className:D.overlay,style:a.overlay,onClick:u}),s("div",{className:D.content,children:[s("div",{className:D.close,style:nt(a.close),onClick:u,children:s(Ce,{})}),s("a",{ref:o,href:(B=a.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:s("div",{className:D.body,style:g,children:[s("div",{className:D.head,children:[s("div",{className:D.title,style:a.title,children:(Z=a.title)==null?void 0:Z.children}),s("div",{className:D.logo,style:a.logo})]}),s("div",{className:D.wrapper,style:m,children:(p||[]).map(qu=>s(_e,{value:x(h({},qu),{device:n}),children:s(au,{})}))}),s(ae,{className:D.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(me=a.text)==null?void 0:me.children}),s("div",{className:D.button,style:a.buttonWrapper,children:[s("div",{className:D.buttonHead,style:a.buttonHead,children:(Be=a.buttonHead)==null?void 0:Be.children}),s("div",{className:D.buttonTarget,style:y,children:(un=a.button)==null?void 0:un.children})]}),s(ae,{className:D.legal,style:I,children:(_n=a.legal)==null?void 0:_n.children})]})})]})]})}),cu=pe(s(su,{})),oe={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"},lu=({onClick:e})=>{var i,a,l,c,d,u,f,p;const t=U(),o=V(t),[n,r]=Ho();return s("div",{className:oe.root,style:re(o.root,...J),children:[s("div",{className:oe.background,style:ee(o.root,...J)}),s("a",{href:(i=o.root)==null?void 0:i.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:oe.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:oe.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),s("div",{className:oe.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),s("div",{className:oe.bookmaker,style:o.bookmaker,children:(c=o.bookmaker)==null?void 0:c.children})]}),s("div",{className:oe.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:z(oe.legal,{[oe.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:oe.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:oe.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},du=e=>{const t=X(Qe()),o=n=>t.current.on("click",n);return De(e,()=>({promoId:"BonusCard",onClick:o,resetListeners:t.current.reset})),G(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},uu=le((e,t)=>{const o=X(null),n=U(),i=fe(n,"mobile"),a=V(i);he(i);const{click:l}=du(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(c=>s(_e,{value:c,children:s(lu,{onClick:l})}))})}),_u=pe(s(uu,{})),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"},Wo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},pu=()=>{var o,n,r;const e=U(),t=V(e);return s("div",{className:z(Wo.root,{[Wo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:re(t.root,...J),children:s(ae,{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})})},j={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"},ot=(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},fu=()=>{var i,a;const e=U(),t=V(e),o=re(t.root,...J),n=x(h({},t.teamLogo),{backgroundImage:ot(b(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=x(h({},t.teamLogo),{backgroundImage:ot(b(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:z(j.root,{[j.desktop]:e.device==="desktop",[j.laptop]:e.device==="laptop",[j.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:j.title,children:[s("div",{className:j.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:j.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:j.odds,children:[s("div",{className:j.odd,children:[s("img",{className:j.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:j.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w1")})]}),s("div",{className:j.odd,children:[s("div",{className:j.oddX,style:t.coef,children:"X"}),s("div",{className:j.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.x")})]}),s("div",{className:j.odd,children:[s("img",{className:j.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:j.oddValue,style:t.value,children:b(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:j.teams,children:[s("div",{className:j.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:j.teamName,style:t.teamName,children:b(t,"match.teams[1].name")})]})]})},F={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"},hu=()=>{var r,i;const e=U(),t=V(e),o=x(h(h({},ee(t.root,...J)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:ot(b(t,"match.teams[0].logo"),[120,120])}),n=x(h(h({},ee(t.root,...J)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:ot(b(t,"match.teams[1].logo"),[120,120])});return s("div",{className:z(F.root,{[F.desktop]:(e==null?void 0:e.device)==="desktop",[F.laptop]:(e==null?void 0:e.device)==="laptop",[F.tablet]:(e==null?void 0:e.device)==="tablet",[F.national]:b(t,"match.isNational")}),style:re(t.root,...J),children:[s("div",{className:F.title,children:[s("div",{className:F.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:F.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:F.team,children:[s("img",{className:F.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:F.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:F.teamValue,style:t.value,children:b(t,"match.markets.one_two.w1")})]}),s("div",{className:F.team,children:[s("img",{className:F.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:F.teamName,style:t.teamName,children:b(t,"match.teams[1].name")}),s("div",{className:F.teamValue,style:t.value,children:b(t,"match.markets.one_two.w2")})]})]})]})},vu=(e=[])=>{var i;const t=e.length,[o,n]=ne(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return G(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},gu={matches:"one_x_two",matchesOneTwo:"one_two"},Go=e=>[gu[e]],bu=(e,t)=>{const o=d=>{var u;return H(d==null?void 0:d.matchSlug)&&((u=d==null?void 0:d.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(d=>o(d.root.targetMatch)).map(d=>x(h({},d.root.targetMatch),{markets:Go(d.name)})),i=qo(r),{data:a,execute:l}=Fo(`${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 G(()=>{Io(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const u=(a||[]).find(m=>m.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Go(d.name),p=Ro(u,{markets:f}),g=Lo(p,d.root.customMatch,(m,[$,y])=>H(y));return x(h({},d),{match:g})}return d}).filter(Boolean)},mu=e=>{const t=X(Qe()),[o,n]=ne(!1),[r,i]=ne(),a=p=>t.current.on("visible",p),l=p=>t.current.on("click",p),c=p=>t.current.on("clickHide",p),d=()=>He(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return G(()=>{t.current.emit("visible",o)},[o]),De(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:u,setApiHost:i,resetListeners:t.current.reset})),G(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:u,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},yu=3700,$u=le(({id:e},t)=>{var L,C,E,P,q;const o=X(null),n=U(),r=Te({id:e,targetRef:o}),i=fe(n,r),a=V(i);he(i);const{apiHost:l,isOpen:c,click:d,clickHide:u}=mu(t),f=bu(a,l),p=w=>({text:s(pu,{}),matches:s(fu,{}),matchesOneTwo:s(hu,{})})[w],g=f.filter(Boolean).map(w=>{var M,B;return x(h({},w),{animationName:(M=w==null?void 0:w.root)==null?void 0:M.animationName,animationDuration:((B=w==null?void 0:w.root)==null?void 0:B.animationDuration)||yu})}),m=vu(g),$=V(g[m]||{}),y=re(a.root,...J),I=(L=$==null?void 0:$.root)!=null&&L.hasCustomBackground?ee(($==null?void 0:$.root)||{},...J):ee(a.root,...J);return s("div",{ref:o,className:z(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((C=a.root)==null?void 0:C.variant)==="variant2"}),style:x(h({},y),{display:c?"block":"none"}),children:[s("div",{className:R.close,style:a.close,onClick:u,children:s(Ce,{})}),s("a",{href:(E=a.root)==null?void 0:E.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:R.background,style:I}),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:(g||[]).map((w,M)=>{var B,Z;return s("div",{className:R.slide,style:{animationName:m===M?R[((B=w.root)==null?void 0:B.animationName)||"fade-in-out"]:"none",animationDuration:`${(Z=w.root)==null?void 0:Z.animationDuration}ms`},children:s(_e,{value:x(h({},w),{device:r}),children:p(w.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:a.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:z(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:R.logo,style:a.logo}),(q=a.button)==null?void 0:q.children]})})]})]})]})]})}),ku=pe(s($u,{})),wu=(e,t,o,n,r=Eo)=>{const i=h({},e);return r.forEach(a=>{i[t]=x(h({},i[t]),{[a]:x(h({},i[t][a]),{[o]:typeof n=="function"?n(b(i,`${t}.${a}.${o}`)):n})})}),i},nt=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=x(h({},e),{color:t});return re(o,"backgroundColor")};var ge=[],xu=function(){return ge.some(function(e){return e.activeTargets.length>0})},Nu=function(){return ge.some(function(e){return e.skippedTargets.length>0})},Uo="ResizeObserver loop completed with undelivered notifications.",Ou=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Uo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Uo),window.dispatchEvent(e)},ze;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(ze||(ze={}));var be=function(e){return Object.freeze(e)},Xo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,be(this)}return e}(),Ko=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,be(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}(),mt=function(e){return e instanceof SVGElement&&"getBBox"in e},Zo=function(e){if(mt(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)},Jo=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)},Tu=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},Pe=typeof window!="undefined"?window:{},rt=new WeakMap,Yo=/auto|scroll/,Cu=/^tb|vertical/,Su=/msie|trident/i.test(Pe.navigator&&Pe.navigator.userAgent),ie=function(e){return parseFloat(e||"0")},Se=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Xo((o?t:e)||0,(o?e:t)||0)},Qo=be({devicePixelContentBoxSize:Se(),borderBoxSize:Se(),contentBoxSize:Se(),contentRect:new Ko(0,0,0,0)}),en=function(e,t){if(t===void 0&&(t=!1),rt.has(e)&&!t)return rt.get(e);if(Zo(e))return rt.set(e,Qo),Qo;var o=getComputedStyle(e),n=mt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Su&&o.boxSizing==="border-box",i=Cu.test(o.writingMode||""),a=!n&&Yo.test(o.overflowY||""),l=!n&&Yo.test(o.overflowX||""),c=n?0:ie(o.paddingTop),d=n?0:ie(o.paddingRight),u=n?0:ie(o.paddingBottom),f=n?0:ie(o.paddingLeft),p=n?0:ie(o.borderTopWidth),g=n?0:ie(o.borderRightWidth),m=n?0:ie(o.borderBottomWidth),$=n?0:ie(o.borderLeftWidth),y=f+d,I=c+u,L=$+g,C=p+m,E=l?e.offsetHeight-C-e.clientHeight:0,P=a?e.offsetWidth-L-e.clientWidth:0,q=r?y+L:0,w=r?I+C:0,M=n?n.width:ie(o.width)-q-P,B=n?n.height:ie(o.height)-w-E,Z=M+y+P+L,me=B+I+E+C,Be=be({devicePixelContentBoxSize:Se(Math.round(M*devicePixelRatio),Math.round(B*devicePixelRatio),i),borderBoxSize:Se(Z,me,i),contentBoxSize:Se(M,B,i),contentRect:new Ko(f,c,M,B)});return rt.set(e,Be),Be},tn=function(e,t,o){var n=en(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case ze.DEVICE_PIXEL_CONTENT_BOX:return a;case ze.BORDER_BOX:return r;default:return i}},on=function(){function e(t){var o=en(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=be([o.borderBoxSize]),this.contentBoxSize=be([o.contentBoxSize]),this.devicePixelContentBoxSize=be([o.devicePixelContentBoxSize])}return e}(),nn=function(e){if(Zo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Au=function(){var e=1/0,t=[];ge.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var u=new on(d.target),f=nn(d.target);l.push(u),d.lastReportedSize=tn(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},rn=function(e){ge.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(nn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Ru=function(){var e=0;for(rn(e);xu();)e=Au(),rn(e);return Nu()&&Ou(),e>0},yt,an=[],ju=function(){return an.splice(0).forEach(function(e){return e()})},Iu=function(e){if(!yt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return ju()}).observe(o,n),yt=function(){o.textContent="".concat(t?t--:t++)}}an.push(e),yt()},Lu=function(e){Iu(function(){requestAnimationFrame(e)})},at=0,Eu=function(){return!!at},zu=250,Pu={attributes:!0,characterData:!0,childList:!0,subtree:!0},sn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],cn=function(e){return e===void 0&&(e=0),Date.now()+e},$t=!1,Bu=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=zu),!$t){$t=!0;var n=cn(t);Lu(function(){var r=!1;try{r=Ru()}finally{if($t=!1,t=n-cn(),!Eu())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,Pu)};document.body?o():Pe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sn.forEach(function(o){return Pe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),sn.forEach(function(o){return Pe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),kt=new Bu,ln=function(e){!at&&e>0&&kt.start(),at+=e,!at&&kt.stop()},Hu=function(e){return!mt(e)&&!Tu(e)&&getComputedStyle(e).display==="inline"},Mu=function(){function e(t,o){this.target=t,this.observedBox=o||ze.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=tn(this.target,this.observedBox,!0);return Hu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Vu=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),it=new WeakMap,dn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},st=function(){function e(){}return e.connect=function(t,o){var n=new Vu(t,o);it.set(t,n)},e.observe=function(t,o,n){var r=it.get(t),i=r.observationTargets.length===0;dn(r.observationTargets,o)<0&&(i&&ge.push(r),r.observationTargets.push(new Mu(o,n&&n.box)),ln(1),kt.schedule())},e.unobserve=function(t,o){var n=it.get(t),r=dn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ge.splice(ge.indexOf(n),1),n.observationTargets.splice(r,1),ln(-1))},e.disconnect=function(t){var o=this,n=it.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Du=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.");st.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(!Jo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");st.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(!Jo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");st.unobserve(this,t)},e.prototype.disconnect=function(){st.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Fu=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Du,ResizeObserverEntry:on,ResizeObserverSize:Xo},Symbol.toStringTag,{value:"Module"}));v.BonusCard=_u,v.ComplexGift=Zd,v.ComplexPopup=ru,v.ExpressPopup=cu,v.SimpleGift=Ud,v.SimplePopup=tu,v.WideCard=ku,v.backgroundToColor=nt,v.filterDeep=Rd,v.findDeep=Ad,v.isValidTemplate=Cd,v.modifyState=wu,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
|
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 c=o.apply(null,i);c&&n.push(c)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){n.push(i.toString());continue}for(var l in i)t.call(i,l)&&i[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(qe);const O=G;var ce,k,ee,we,xe=0,Ct=[],We=[],St=u.options.__b,At=u.options.__r,Lt=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:We}),o.__[e]}function ie(e){return xe=1,yn(Bt,e)}function yn(e,t,o){var n=Ie(ce++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,c);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(c,l,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,c,l,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===c)&&(!i||i.call(this,c,l,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(c,l,d){if(this.__e){var _=i;i=void 0,r(c,l,d),i=_}a&&a.call(this,c,l,d)},k.shouldComponentUpdate=r}return n.__N||n.__}function U(e,t){var o=Ie(ce++,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(ce++,4);!u.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function X(e){return xe=5,Re(function(){return{current:e}},[])}function Ge(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 Re(e,t){var o=Ie(ce++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function $n(e,t){return xe=8,Re(function(){return e},t)}function kn(e){var t=k.context[e.__c],o=Ie(ce++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function wn(){for(var e;e=Ct.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ue),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){At&&At(e),ce=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=We,o.__N=o.i=void 0})):(t.__h.forEach(Ue),t.__h.forEach(pt),t.__h=[])),ee=k},u.options.diffed=function(e){Lt&&Lt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ct.push(t)!==1&&we===u.options.requestAnimationFrame||((we=u.options.requestAnimationFrame)||xn)(wn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==We&&(o.__=o.__V),o.i=void 0,o.__V=We})),ee=k=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Ue),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{Ue(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function xn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Ue(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 Nn=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=Nn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Tn=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)}Tn(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 Ft(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Ft(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 qt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Xe(){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=qt(n.__v),i=!1,a=function(){i||(i=!0,o.__R=null,r?r(c):c())};o.__R=a;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Ft(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},l=t.__h===!0;n.__u++||l||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]}};(Xe.prototype=new u.Component).__a=function(e){var t=this,o=qt(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()}},Xe.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},Xe.prototype.componentDidUpdate=Xe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var On=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]/,Sn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,An=/[A-Z0-9]/g,Ln=typeof document!="undefined",In=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 Rn(){}function En(){return this.cancelBubble}function jn(){return this.defaultPrevented}u.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=Rn,e.isPropagationStopped=En,e.isDefaultPrevented=jn,e.nativeEvent=e};var Bn={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 c=i.toLowerCase();i==="defaultValue"&&"value"in o&&o.value==null?i="value":i==="download"&&a===!0?a="":c==="ondoubleclick"?i="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||In(o.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":Sn.test(i)?i=c:n.indexOf("-")===-1&&Cn.test(i)?i=i.replace(An,"-$&").toLowerCase():a===null&&(a=void 0):c=i="oninput",c==="oninput"&&r[i=c]&&(i="oninputCapture"),r[i]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",Bn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=On,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 zn(){this.__data__=[],this.size=0}var Pn=zn;function Mn(e,t){return e===t||e!==e&&t!==t}var Ze=Mn,Hn=Ze;function Vn(e,t){for(var o=e.length;o--;)if(Hn(e[o][0],t))return o;return-1}var Ke=Vn,Dn=Ke,Fn=Array.prototype,qn=Fn.splice;function Wn(e){var t=this.__data__,o=Dn(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 Gn=Wn,Un=Ke;function Xn(e){var t=this.__data__,o=Un(t,e);return o<0?void 0:t[o][1]}var Zn=Xn,Kn=Ke;function Jn(e){return Kn(this.__data__,e)>-1}var Yn=Jn,Qn=Ke;function er(e,t){var o=this.__data__,n=Qn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var tr=er,or=Pn,nr=Gn,rr=Zn,ar=Yn,ir=tr;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=or,Ne.prototype.delete=nr,Ne.prototype.get=rr,Ne.prototype.has=ar,Ne.prototype.set=ir;var Je=Ne,sr=Je;function lr(){this.__data__=new sr,this.size=0}var cr=lr;function dr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var _r=dr;function ur(e){return this.__data__.get(e)}var pr=ur;function fr(e){return this.__data__.has(e)}var gr=fr,hr=typeof T=="object"&&T&&T.Object===Object&&T,Kt=hr,vr=Kt,br=typeof self=="object"&&self&&self.Object===Object&&self,mr=vr||br||Function("return this")(),Te=mr,yr=Te,$r=yr.Symbol,Jt=$r,Yt=Jt,Qt=Object.prototype,kr=Qt.hasOwnProperty,wr=Qt.toString,Ee=Yt?Yt.toStringTag:void 0;function xr(e){var t=kr.call(e,Ee),o=e[Ee];try{e[Ee]=void 0;var n=!0}catch(i){}var r=wr.call(e);return n&&(t?e[Ee]=o:delete e[Ee]),r}var Nr=xr,Tr=Object.prototype,Or=Tr.toString;function Cr(e){return Or.call(e)}var Sr=Cr,eo=Jt,Ar=Nr,Lr=Sr,Ir="[object Null]",Rr="[object Undefined]",to=eo?eo.toStringTag:void 0;function Er(e){return e==null?e===void 0?Rr:Ir:to&&to in Object(e)?Ar(e):Lr(e)}var Ye=Er;function jr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var he=jr,Br=Ye,zr=he,Pr="[object AsyncFunction]",Mr="[object Function]",Hr="[object GeneratorFunction]",Vr="[object Proxy]";function Dr(e){if(!zr(e))return!1;var t=Br(e);return t==Mr||t==Hr||t==Pr||t==Vr}var ht=Dr,Fr=Te,qr=Fr["__core-js_shared__"],Wr=qr,vt=Wr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gr(e){return!!oo&&oo in e}var Ur=Gr,Xr=Function.prototype,Zr=Xr.toString;function Kr(e){if(e!=null){try{return Zr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Jr=Kr,Yr=ht,Qr=Ur,ea=he,ta=Jr,oa=/[\\^$.*+?()[\]{}|]/g,na=/^\[object .+?Constructor\]$/,ra=Function.prototype,aa=Object.prototype,ia=ra.toString,sa=aa.hasOwnProperty,la=RegExp("^"+ia.call(sa).replace(oa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!ea(e)||Qr(e))return!1;var t=Yr(e)?la:na;return t.test(ta(e))}var da=ca;function _a(e,t){return e==null?void 0:e[t]}var ua=_a,pa=da,fa=ua;function ga(e,t){var o=fa(e,t);return pa(o)?o:void 0}var bt=ga,ha=bt,va=Te,ba=ha(va,"Map"),no=ba,ma=bt,ya=ma(Object,"create"),Qe=ya,ro=Qe;function $a(){this.__data__=ro?ro(null):{},this.size=0}var ka=$a;function wa(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var xa=wa,Na=Qe,Ta="__lodash_hash_undefined__",Oa=Object.prototype,Ca=Oa.hasOwnProperty;function Sa(e){var t=this.__data__;if(Na){var o=t[e];return o===Ta?void 0:o}return Ca.call(t,e)?t[e]:void 0}var Aa=Sa,La=Qe,Ia=Object.prototype,Ra=Ia.hasOwnProperty;function Ea(e){var t=this.__data__;return La?t[e]!==void 0:Ra.call(t,e)}var ja=Ea,Ba=Qe,za="__lodash_hash_undefined__";function Pa(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Ba&&t===void 0?za:t,this}var Ma=Pa,Ha=ka,Va=xa,Da=Aa,Fa=ja,qa=Ma;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=Ha,Oe.prototype.delete=Va,Oe.prototype.get=Da,Oe.prototype.has=Fa,Oe.prototype.set=qa;var Wa=Oe,ao=Wa,Ga=Je,Ua=no;function Xa(){this.size=0,this.__data__={hash:new ao,map:new(Ua||Ga),string:new ao}}var Za=Xa;function Ka(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ja=Ka,Ya=Ja;function Qa(e,t){var o=e.__data__;return Ya(t)?o[typeof t=="string"?"string":"hash"]:o.map}var et=Qa,ei=et;function ti(e){var t=ei(this,e).delete(e);return this.size-=t?1:0,t}var oi=ti,ni=et;function ri(e){return ni(this,e).get(e)}var ai=ri,ii=et;function si(e){return ii(this,e).has(e)}var li=si,ci=et;function di(e,t){var o=ci(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var _i=di,ui=Za,pi=oi,fi=ai,gi=li,hi=_i;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=ui,Ce.prototype.delete=pi,Ce.prototype.get=fi,Ce.prototype.has=gi,Ce.prototype.set=hi;var vi=Ce,bi=Je,mi=no,yi=vi,$i=200;function ki(e,t){var o=this.__data__;if(o instanceof bi){var n=o.__data__;if(!mi||n.length<$i-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new yi(n)}return o.set(e,t),this.size=o.size,this}var wi=ki,xi=Je,Ni=cr,Ti=_r,Oi=pr,Ci=gr,Si=wi;function Se(e){var t=this.__data__=new xi(e);this.size=t.size}Se.prototype.clear=Ni,Se.prototype.delete=Ti,Se.prototype.get=Oi,Se.prototype.has=Ci,Se.prototype.set=Si;var Ai=Se,Li=bt,Ii=function(){try{var e=Li(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),io=Ii,so=io;function Ri(e,t,o){t=="__proto__"&&so?so(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var mt=Ri,Ei=mt,ji=Ze;function Bi(e,t,o){(o!==void 0&&!ji(e[t],o)||o===void 0&&!(t in e))&&Ei(e,t,o)}var lo=Bi;function zi(e){return function(t,o,n){for(var r=-1,i=Object(t),a=n(t),c=a.length;c--;){var l=a[e?c:++r];if(o(i[l],l,i)===!1)break}return t}}var Pi=zi,Mi=Pi,Hi=Mi(),Vi=Hi,tt={},Di={get exports(){return tt},set exports(e){tt=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,c=a?a.allocUnsafe:void 0;function l(d,_){if(_)return d.slice();var f=d.length,p=c?c(f):new d.constructor(f);return d.copy(p),p}e.exports=l})(Di,tt);var Fi=Te,qi=Fi.Uint8Array,Wi=qi,co=Wi;function Gi(e){var t=new e.constructor(e.byteLength);return new co(t).set(new co(e)),t}var Ui=Gi,Xi=Ui;function Zi(e,t){var o=t?Xi(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ki=Zi;function Ji(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Yi=Ji,Qi=he,_o=Object.create,es=function(){function e(){}return function(t){if(!Qi(t))return{};if(_o)return _o(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),ts=es;function os(e,t){return function(o){return e(t(o))}}var ns=os,rs=ns,as=rs(Object.getPrototypeOf,Object),uo=as,is=Object.prototype;function ss(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||is;return e===o}var po=ss,ls=ts,cs=uo,ds=po;function _s(e){return typeof e.constructor=="function"&&!ds(e)?ls(cs(e)):{}}var us=_s;function ps(e){return e!=null&&typeof e=="object"}var je=ps,fs=Ye,gs=je,hs="[object Arguments]";function vs(e){return gs(e)&&fs(e)==hs}var bs=vs,fo=bs,ms=je,go=Object.prototype,ys=go.hasOwnProperty,$s=go.propertyIsEnumerable,ks=fo(function(){return arguments}())?fo:function(e){return ms(e)&&ys.call(e,"callee")&&!$s.call(e,"callee")},ho=ks,ws=Array.isArray,vo=ws,xs=9007199254740991;function Ns(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xs}var bo=Ns,Ts=ht,Os=bo;function Cs(e){return e!=null&&Os(e.length)&&!Ts(e)}var yt=Cs,Ss=yt,As=je;function Ls(e){return As(e)&&Ss(e)}var Is=Ls,Be={},Rs={get exports(){return Be},set exports(e){Be=e}};function Es(){return!1}var js=Es;(function(e,t){var o=Te,n=js,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,c=a?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(Rs,Be);var Bs=Ye,zs=uo,Ps=je,Ms="[object Object]",Hs=Function.prototype,Vs=Object.prototype,mo=Hs.toString,Ds=Vs.hasOwnProperty,Fs=mo.call(Object);function qs(e){if(!Ps(e)||Bs(e)!=Ms)return!1;var t=zs(e);if(t===null)return!0;var o=Ds.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&mo.call(o)==Fs}var Ws=qs,Gs=Ye,Us=bo,Xs=je,Zs="[object Arguments]",Ks="[object Array]",Js="[object Boolean]",Ys="[object Date]",Qs="[object Error]",el="[object Function]",tl="[object Map]",ol="[object Number]",nl="[object Object]",rl="[object RegExp]",al="[object Set]",il="[object String]",sl="[object WeakMap]",ll="[object ArrayBuffer]",cl="[object DataView]",dl="[object Float32Array]",_l="[object Float64Array]",ul="[object Int8Array]",pl="[object Int16Array]",fl="[object Int32Array]",gl="[object Uint8Array]",hl="[object Uint8ClampedArray]",vl="[object Uint16Array]",bl="[object Uint32Array]",N={};N[dl]=N[_l]=N[ul]=N[pl]=N[fl]=N[gl]=N[hl]=N[vl]=N[bl]=!0,N[Zs]=N[Ks]=N[ll]=N[Js]=N[cl]=N[Ys]=N[Qs]=N[el]=N[tl]=N[ol]=N[nl]=N[rl]=N[al]=N[il]=N[sl]=!1;function ml(e){return Xs(e)&&Us(e.length)&&!!N[Gs(e)]}var yl=ml;function $l(e){return function(t){return e(t)}}var kl=$l,ot={},wl={get exports(){return ot},set exports(e){ot=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,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||a&&a.binding&&a.binding("util")}catch(d){}}();e.exports=c})(wl,ot);var xl=yl,Nl=kl,yo=ot,$o=yo&&yo.isTypedArray,Tl=$o?Nl($o):xl,ko=Tl;function Ol(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Ol,Cl=mt,Sl=Ze,Al=Object.prototype,Ll=Al.hasOwnProperty;function Il(e,t,o){var n=e[t];(!(Ll.call(e,t)&&Sl(n,o))||o===void 0&&!(t in e))&&Cl(e,t,o)}var Rl=Il,El=Rl,jl=mt;function Bl(e,t,o,n){var r=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var c=t[i],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?jl(o,c,l):El(o,c,l)}return o}var zl=Bl;function Pl(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Ml=Pl,Hl=9007199254740991,Vl=/^(?:0|[1-9]\d*)$/;function Dl(e,t){var o=typeof e;return t=t==null?Hl:t,!!t&&(o=="number"||o!="symbol"&&Vl.test(e))&&e>-1&&e%1==0&&e<t}var xo=Dl,Fl=Ml,ql=ho,Wl=vo,Gl=Be,Ul=xo,Xl=ko,Zl=Object.prototype,Kl=Zl.hasOwnProperty;function Jl(e,t){var o=Wl(e),n=!o&&ql(e),r=!o&&!n&&Gl(e),i=!o&&!n&&!r&&Xl(e),a=o||n||r||i,c=a?Fl(e.length,String):[],l=c.length;for(var d in e)(t||Kl.call(e,d))&&!(a&&(d=="length"||r&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Ul(d,l)))&&c.push(d);return c}var Yl=Jl;function Ql(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var ec=Ql,tc=he,oc=po,nc=ec,rc=Object.prototype,ac=rc.hasOwnProperty;function ic(e){if(!tc(e))return nc(e);var t=oc(e),o=[];for(var n in e)n=="constructor"&&(t||!ac.call(e,n))||o.push(n);return o}var sc=ic,lc=Yl,cc=sc,dc=yt;function _c(e){return dc(e)?lc(e,!0):cc(e)}var No=_c,uc=zl,pc=No;function fc(e){return uc(e,pc(e))}var gc=fc,To=lo,hc=tt,vc=Ki,bc=Yi,mc=us,Oo=ho,Co=vo,yc=Is,$c=Be,kc=ht,wc=he,xc=Ws,Nc=ko,So=wo,Tc=gc;function Oc(e,t,o,n,r,i,a){var c=So(e,o),l=So(t,o),d=a.get(l);if(d){To(e,o,d);return}var _=i?i(c,l,o+"",e,t,a):void 0,f=_===void 0;if(f){var p=Co(l),v=!p&&$c(l),m=!p&&!v&&Nc(l);_=l,p||v||m?Co(c)?_=c:yc(c)?_=bc(c):v?(f=!1,_=hc(l,!0)):m?(f=!1,_=vc(l,!0)):_=[]:xc(l)||Oo(l)?(_=c,Oo(c)?_=Tc(c):(!wc(c)||kc(c))&&(_=mc(l))):f=!1}f&&(a.set(l,_),r(_,l,n,i,a),a.delete(l)),To(e,o,_)}var Cc=Oc,Sc=Ai,Ac=lo,Lc=Vi,Ic=Cc,Rc=he,Ec=No,jc=wo;function Ao(e,t,o,n,r){e!==t&&Lc(t,function(i,a){if(r||(r=new Sc),Rc(i))Ic(e,t,a,o,Ao,n,r);else{var c=n?n(jc(e,a),i,a+"",e,t,r):void 0;c===void 0&&(c=i),Ac(e,a,c)}},Ec)}var Bc=Ao;function zc(e){return e}var Lo=zc;function Pc(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 Mc=Pc,Hc=Mc,Io=Math.max;function Vc(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 c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(a),Hc(e,this,c)}}var Dc=Vc;function Fc(e){return function(){return e}}var qc=Fc,Wc=qc,Ro=io,Gc=Lo,Uc=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Wc(t),writable:!0})}:Gc,Xc=Uc,Zc=800,Kc=16,Jc=Date.now;function Yc(e){var t=0,o=0;return function(){var n=Jc(),r=Kc-(n-o);if(o=n,r>0){if(++t>=Zc)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Qc=Yc,ed=Xc,td=Qc,od=td(ed),nd=od,rd=Lo,ad=Dc,id=nd;function sd(e,t){return id(ad(e,t,rd),e+"")}var ld=sd,cd=Ze,dd=yt,_d=xo,ud=he;function pd(e,t,o){if(!ud(o))return!1;var n=typeof t;return(n=="number"?dd(o)&&_d(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var fd=pd,gd=ld,hd=fd;function vd(e){return gd(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&&hd(o[0],o[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,i)}return t})}var bd=vd,md=Bc,yd=bd;yd(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,$d=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},nt=()=>{let e={};return{on:(a,c)=>{a in e?e[a].push(c):e[a]=[c]},has:a=>a in e,get:a=>e[a],emit:(a,...c)=>a in e?e[a].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},kd=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),wd=()=>({factor:null,type:null,outcome:null,value:null}),xd=()=>({w1:null,x:null,w2:null}),Nd=()=>({w1:null,w2:null}),Td=()=>({one_x_two:xd(),one_two:Nd()}),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)||kd(),prediction:(e==null?void 0:e.prediction)||wd(),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]=b(e||{},`markets.${a}`,Td()[a||"one_two"]),i),{});ze(o,"markets",r)}return o},Od=(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,Sd=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Ad=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 b=(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},ze=(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);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);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,b(t,i)],i)?b(t,i,r):r:b(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},C={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,c,l={};for(c in t)c=="ref"?a=t[c]:l[c]=t[c];var d={type:e,props:l,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(c in a)l[c]===void 0&&(l[c]=a[c]);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=>Fe(this,null,function*(){var c=a,{target:t,id:o,ref:n,state:r}=c,i=Ot(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>J_);window.ResizeObserver=l.ResizeObserver}return u.render(s(_e,{value:r,children:u.cloneElement(e,g({ref:n,id:o},i))}),t)}),V=()=>kn(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),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,i]=ie("desktop"),a=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(g({},n)).sort(([p,v],[m,$])=>v-$),_=((f=d.find(([p,v],m)=>{const[$,y]=d[m+1]||[];return l>=v&&l<y}))==null?void 0:f[0])||"desktop";i(_)};return Et(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>a(c)).observe(c),a(c))},[]),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}},Fd="-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'",qd=["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])=>{qd.includes(n)&&(r=rt(r,"px"));const{key:i,value:a}=Dd(n,r);if(Sd(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 c=Ld(o.backgroundColor);c&&(o.backgroundColor=Rd(`rgb(${c.r}, ${c.g}, ${c.b})`,+o.backgroundColorOpacity/100))}return i==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=Fd),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,A=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=Ot(i,["children","typography","accentTypography"]);var l;const a=Re(()=>{if(!o)return{};let d="";return Object.entries(o).forEach(([_,f])=>{Gd(_)&&(d+=`${Ad(_)}: ${f}; `)}),d},[o]),c=(l=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:l.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return s("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:c}}))},at=()=>{const[e,t]=ie(!1);return[e,()=>t(o=>!o)]},Ae=()=>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`}),Fo=(e,t)=>{var _,f,p,v,m,$,y,j,B,S,z,P,W;const o=Ud(t),n=A(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:(m=n==null?void 0:n.container)==null?void 0:m.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},c=(((B=n==null?void 0:n.icon)==null?void 0:B.animations)||[]).map(x=>o[x]).join(", "),l=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%, ${(W=n==null?void 0:n.icon)==null?void 0:W.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:c}),l);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=Re(()=>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]);U(()=>{o.forEach($d)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],qo=["imageSource","objectFit"],it=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ie(!1),i=X(null),a=l=>{clearTimeout(i.current),i.current=null},c=()=>{a(i.current),r(l=>!l)};return U(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),U(()=>{n&&!i.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Wo=({ref:e,openDelay:t})=>{const o=X(nt()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),i=l=>o.current.on("autoOpen",l),{isOpen:a,toggle:c}=Zd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return Ge(e,()=>({onOpen:n,onClick:r,onAutoOpen:i,resetListeners:o.current.reset})),U(()=>o.current.reset,[]),{isOpen:a,toggle:c,click:(...l)=>o.current.emit("click",...l)}},Kd=de(({id:e},t)=>{var j,B,S,z,P,W,x,D,M;const o=X(null),[n,r]=at(),i=V(),a=be({targetRef:o,id:e}),c=pe(i,a),l=A(c),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=Fo(c,{fade:C.fadein,pulse:C.pulse,wiggle:C.wiggle,gradient:C.gradient}),{isOpen:v,toggle:m,click:$}=Wo({ref:t,openDelay:(j=c==null?void 0:c.container)==null?void 0:j.delay});fe(c);const y=n?te(l.container,...Xd):{};return s("div",{className:O(C.root,{[C.legalOpen]:n}),ref:o,children:[s("div",{className:C.icon,style:_,onClick:m,children:d&&s("div",{className:C.iconTarget,children:s($t,{})})}),s("div",{className:O(C.body,{[C.bodyOpen]:v}),style:f,children:[s("div",{className:C.arrow,style:p}),s("div",{className:C.close,style:l==null?void 0:l.close,onClick:m,children:s(Ae,{})}),s("div",{className:C.container,style:l==null?void 0:l.container,children:[s("a",{href:(B=l==null?void 0:l.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>$(l.id),children:[s("div",{className:C.inner,children:[s("div",{className:C.logo,style:l==null?void 0:l.logo}),s(J,{className:C.text,style:l==null?void 0:l.text,typography:(S=l.text)==null?void 0:S.typography,accentTypography:(z=l.text)==null?void 0:z.accentTypography,children:(P=l==null?void 0:l.text)==null?void 0:P.children})]}),s("div",{className:O(C.button,{[C.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(W=l==null?void 0:l.button)==null?void 0:W.children})]}),s("div",{className:C.legalGap}),s("div",{className:C.legal,style:g(g({},l==null?void 0:l.legal),y),children:s("span",{className:C.legalText,children:s("span",{children:[s("span",{children:(x=l==null?void 0:l.legal)==null?void 0:x.children}),s("span",{className:C.legalButton,onClick:r,children:n?(D=l==null?void 0:l.legal)==null?void 0:D.buttonOpenText:(M=l==null?void 0:l.legal)==null?void 0:M.buttonHideText})]})})})]})]})]})}),Jd=ue(s(Kd,{})),L={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,c,l,d;const t=V(),o=A(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:O(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:(c=o.text)==null?void 0:c.children})})]}),s("div",{className:oe.button,style:o.button,children:[s("div",{className:oe.logo,style:o.logo}),s("div",{className:oe.buttonText,children:(l=o.button)==null?void 0:l.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=X(null),n=V(),r=be({targetRef:o,id:e}),i=pe(n,r),a=A(i),{isOpen:c,click:l,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}=Fo(i,{fade:L.fadein,pulse:L.pulse,wiggle:L.wiggle,gradient:L.gradient}),m=(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:O(L.root,{[L.desktop]:r==="desktop",[L.laptop]:r==="laptop",[L.tablet]:r==="tablet"}),children:[s("div",{className:L.icon,style:f,onClick:d,children:_&&s("div",{className:L.iconTarget,children:s($t,{})})}),s("div",{className:O(L.body,{[L.bodyOpen]:c}),style:p,children:[s("div",{className:L.arrow,style:v}),s("div",{className:L.container,style:a.container,children:[s("div",{className:L.close,style:a.close,onClick:d,children:s(Ae,{})}),s("div",{className:L.head,style:$,children:[m&&s("div",{className:L.headIcon,style:te(a.title,"color"),children:s($t,{})}),s("div",{className:L.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),s("div",{className:L.inner,children:(a.children||[]).map(P=>s(_e,{value:P,children:s(Yd,{onClick:l})}))}),s("div",{className:L.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"},me=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=A(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=X(nt()),[r,i]=ie(!1),[a,c]=ie(),[l,d]=ie(o),_=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),p=y=>n.current.on("clickHide",y),v=()=>Fe(this,null,function*(){yield Od(+t),i(!0)}),m=()=>i(!1),$=()=>{n.current.emit("clickHide"),m()};return U(()=>{l&&n.current.emit("visible",r)},[r,l]),Ge(e,()=>({onVisible:_,onClick:f,onClickHide:p,show:v,hide:m,setApiHost:c,resetListeners:n.current.reset})),U(()=>n.current.reset,[]),{isReady:l,isOpen:r,apiHost:a,show:v,hide:m,clickHide:$,setIsReady:d,click:(...y)=>{m(),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,W,x,D,M;const n=X(null),r=X(null),i=be({targetRef:n,id:e}),a=V(),c=pe(a,i);fe(c),ze(c,"button.percent_width",(z=c==null?void 0:c.button)==null?void 0:z.width),ze(c,"legal.percent_width",(P=c==null?void 0:c.legal)==null?void 0:P.width);const l=A(c),d=b(l,"root.delay",0),{isOpen:_,isReady:f,setIsReady:p,clickHide:v,click:m}=kt(o,d);U(()=>{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)}},[l]);const $={alignItems:me((W=l.root)==null?void 0:W.align)},y=w(g({},l==null?void 0:l.button),{justifyContent:me((x=l.root)==null?void 0:x.textAlign)}),j=w(g({},l==null?void 0:l.legal),{justifyContent:me((D=l.root)==null?void 0:D.textAlign)}),B=se(l.root,...qo,...Y),S=te(l.root,...qo);return s("div",{className:O(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:l.overlay,onClick:v}),s("div",{className:Z.wrapper,children:[s("div",{className:Z.close,style:Me(l.close),onClick:v,children:s(Ae,{})}),s("a",{href:(M=l.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:Z.content,style:B,onClick:()=>m(l.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:l.logo}),s("div",{className:Z.text,children:((l==null?void 0:l.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,c,l,d,_;const t=V(),o=A(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:O(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:(c=o.text)==null?void 0:c.accentTypography,children:(l=o.text)==null?void 0:l.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=X(null),n=be({targetRef:o,id:e}),r=V(),i=pe(r,n),a=A(i);fe(i);const c=b(a,"root.delay",0),{isOpen:l,clickHide:d,click:_}=kt(t,c,!0);return s("div",{className:ge.root,style:{display:l?"flex":"none"},children:[s("div",{className:ge.overlay,style:a.overlay,onClick:d}),s("div",{ref:o,className:O(ge.content,{[ge.desktop]:n==="desktop",[ge.laptop]:n==="laptop"}),style:a.root,children:[s("div",{className:ge.close,style:Me(a.close),onClick:d,children:s(Ae,{})}),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:_})}))})]})]})}),l_=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"},c_=()=>{const e=V(),t=A(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:b(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:b(t,"match.teams[1].logo")});return s("div",{className:O(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:b(t,"match.league.name")}),s("div",{className:I.name,style:t.teams,children:[b(t,"match.teams[0].name")," — ",b(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:b(t,"match.teams[0].name")})]}),s("div",{className:I.odd,children:[s("div",{className:I.oddLabel,style:t.oddLabel,children:b(t,"match.prediction.value")}),s("div",{className:I.oddValue,style:t.oddValue,children:b(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:b(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ie(),c=Re(()=>{let d=e;if(o){const _=new URLSearchParams(d);Object.entries(o).forEach(([f,p])=>{_.append(f,p)}),d+=_}return d},[e,o]),l=$n(()=>Fe(this,null,function*(){if(t)return;const d=yield fetch(c,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(_=>_.json());a(d.data)}),[c,t,n,r]);return U(()=>{t||l()},[c,t]),{data:i,execute:l}};function Uo(e){const t=X();return U(()=>{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:c}=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 U(()=>{zo(i,r)||c()},[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,[m,$])=>H($));return w(g({},d),{match:p})}).filter(Boolean)},__=de(({id:e},t)=>{var B,S,z,P,W,x,D,M,K,ke,De,gn,hn;const o=X(null),n=be({targetRef:o,id:e}),r=V(),i=pe(r,n);ze(i,"buttonWrapper.percent_width",(B=i==null?void 0:i.buttonWrapper)==null?void 0:B.width),ze(i,"legal.percent_width",(S=i==null?void 0:i.legal)==null?void 0:S.width);const a=A(i);fe(i);const c=b(a,"root.delay",0),{isOpen:l,apiHost:d,clickHide:_,click:f}=kt(t,c,!0),p=d_(i,d),v=w(g({},a.root),{alignItems:me((z=a.root)==null?void 0:z.align)}),m=w(g({},a.content),{alignItems:me((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(W=a.root)==null?void 0:W.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:me((x=a.root)==null?void 0:x.textAlign)}),j=w(g({},a==null?void 0:a.legal),{justifyContent:me((D=a.root)==null?void 0:D.textAlign)});return s("div",{className:O(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:F.overlay,style:a.overlay,onClick:_}),s("div",{className:F.content,children:[s("div",{className:F.close,style:Me(a.close),onClick:_,children:s(Ae,{})}),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:m,children:(p||[]).map(Y_=>s(_e,{value:w(g({},Y_),{device:n}),children:s(c_,{})}))}),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:(De=a.buttonHead)==null?void 0:De.children}),s("div",{className:F.buttonTarget,style:y,children:(gn=a.button)==null?void 0:gn.children})]}),s(J,{className:F.legal,style:j,children:(hn=a.legal)==null?void 0:hn.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,c,l,d,_,f,p;const t=V(),o=A(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:(c=o.rowSecond)==null?void 0:c.children}),s("div",{className:ne.bookmaker,style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:ne.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:O(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})]})})]})},Xo=e=>{const t=X(nt()),o=n=>t.current.on("click",n);return Ge(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},f_=de((e,t)=>{const o=X(null),n=V(),i=pe(n,"mobile"),a=A(i);fe(i);const{click:c}=Xo(t);return s("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(l=>s(_e,{value:l,children:s(p_,{onClick:c})}))})}),g_=ue(s(f_,{})),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"},Zo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},h_=()=>{var o,n,r;const e=V(),t=A(e);return s("div",{className:O(Zo.root,{[Zo.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 c;const[r,i]=[t[0],t[1]||t[0]].map(l=>l*o),a=`w${r}-h${i}${n?"-c":""}`;return(c=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?c:e},v_=()=>{var i,a;const e=V(),t=A(e),o=se(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:st(b(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:st(b(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:O(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:b(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:b(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:b(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:E.teams,children:[s("div",{className:E.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:E.teamName,style:t.teamName,children:b(t,"match.teams[1].name")})]})]})},q={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=A(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(b(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:st(b(t,"match.teams[1].logo"),[120,120])});return s("div",{className:O(q.root,{[q.desktop]:(e==null?void 0:e.device)==="desktop",[q.laptop]:(e==null?void 0:e.device)==="laptop",[q.tablet]:(e==null?void 0:e.device)==="tablet",[q.national]:b(t,"match.isNational")}),style:se(t.root,...Y),children:[s("div",{className:q.title,children:[s("div",{className:q.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),s("div",{className:q.titleValue,style:t.titleValue,children:(i=t.titleValue)==null?void 0:i.children})]}),s("div",{children:[s("div",{className:q.team,children:[s("img",{className:q.teamLogo,src:o.backgroundImage,style:o}),s("div",{className:q.teamName,style:t.teamName,children:b(t,"match.teams[0].name")}),s("div",{className:q.teamValue,style:t.value,children:b(t,"match.markets.one_two.w1")})]}),s("div",{className:q.team,children:[s("img",{className:q.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:q.teamName,style:t.teamName,children:b(t,"match.teams[1].name")}),s("div",{className:q.teamValue,style:t.value,children:b(t,"match.markets.one_two.w2")})]})]})]})},m_=(e=[])=>{var i;const t=e.length,[o,n]=ie(0),r=(i=e[o||0])==null?void 0:i.animationDuration;return U(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},y_={matches:"one_x_two",matchesOneTwo:"one_two"},Ko=e=>[y_[e]],$_=(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=>w(g({},d.root.targetMatch),{markets:Ko(d.name)})),i=Uo(r),{data:a,execute:c}=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 U(()=>{zo(i,r)||c()},[r]),n.map(d=>{if("targetMatch"in d.root){const _=(a||[]).find(m=>m.slug===d.root.targetMatch.matchSlug);if(!_)return;const f=Ko(d.name),p=jo(_,{markets:f}),v=Po(p,d.root.customMatch,(m,[$,y])=>H(y));return w(g({},d),{match:v})}return d}).filter(Boolean)},k_=e=>{const t=X(nt()),[o,n]=ie(!1),[r,i]=ie(),a=p=>t.current.on("visible",p),c=p=>t.current.on("click",p),l=p=>t.current.on("clickHide",p),d=()=>Fe(this,null,function*(){n(!0)}),_=()=>n(!1),f=()=>{t.current.emit("clickHide"),_()};return U(()=>{t.current.emit("visible",o)},[o]),Ge(e,()=>({onVisible:a,onClick:c,onClickHide:l,show:d,hide:_,setApiHost:i,resetListeners:t.current.reset})),U(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:d,hide:_,clickHide:f,click:(...p)=>{t.current.emit("click",...p)}}},w_=3700,x_=de(({id:e},t)=>{var B,S,z,P,W;const o=X(null),n=V(),r=be({id:e,targetRef:o}),i=pe(n,r),a=A(i);fe(i);const{apiHost:c,isOpen:l,click:d,clickHide:_}=k_(t),f=$_(a,c),p=x=>({text:s(h_,{}),matches:s(v_,{}),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)||w_})}),m=m_(v),$=A(v[m]||{}),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:O(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:l?"block":"none"}),children:[s("div",{className:R.close,style:a.close,onClick:_,children:s(Ae,{})}),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:m===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:O(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:R.logo,style:a.logo}),(W=a.button)==null?void 0:W.children]})})]})]})]})]})}),N_=ue(s(x_,{})),Pe={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_10l51_1",content:"_content_10l51_8",textContent:"_textContent_10l51_15",backgroundLine:"_backgroundLine_10l51_21",button:"_button_10l51_27",link:"_link_10l51_33",legal:"_legal_10l51_39",legalText:"_legalText_10l51_48",open:"_open_10l51_57",legalMore:"_legalMore_10l51_62"},T_=(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(b(i,`${t}.${a}.${o}`)):n})})}),i},Me=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"})]}),C_=({onClick:e})=>{var i,a,c,l,d,_,f,p,v;const t=V(),o=A(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:(c=o.text)==null?void 0:c.children}),s("div",{style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:re.button,style:o.button,children:o.button.children}),s("div",{className:re.backgroundLine,style:w(g({},Me(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,rel:"noreferrer"})]}),s("div",{className:O(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_160ab_1",content:"_content_160ab_8",backgroundLine:"_backgroundLine_160ab_15",link:"_link_160ab_21",button:"_button_160ab_27",logo:"_logo_160ab_32",legal:"_legal_160ab_38",open:"_open_160ab_50",legalText:"_legalText_160ab_54",legalMore:"_legalMore_160ab_64"},S_=({onClick:e})=>{var i,a,c,l,d,_,f,p;const t=V(),o=A(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:(c=o.text)==null?void 0:c.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:(l=o.root)==null?void 0:l.offer})]}),s("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer,target:"_blank",onClick:e,rel:"noreferrer"}),s("div",{className:O(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_=de(({id:e},t)=>{const o=X(null),n=V(),r=be({targetRef:o,id:e}),i=pe(n,r),a=A(i);fe(i);const{click:c}=Xo(t),l=d=>({cardVariant1:s(C_,{onClick:c}),cardVariant2:s(S_,{onClick:c})})[d];return s("div",{ref:o,className:O(Pe.root,{[Pe.desktop]:r==="desktop",[Pe.laptop]:r==="laptop",[Pe.tablet]:r==="tablet"}),children:s("div",{className:Pe.content,children:((a==null?void 0:a.children)||[]).map(d=>s(_e,{value:d,children:l(d.name)}))})})}),L_=ue(s(A_,{}));var ye=[],I_=function(){return ye.some(function(e){return e.activeTargets.length>0})},R_=function(){return ye.some(function(e){return e.skippedTargets.length>0})},Jo="ResizeObserver loop completed with undelivered notifications.",E_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Jo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Jo),window.dispatchEvent(e)},He;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(He||(He={}));var $e=function(e){return Object.freeze(e)},Yo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,$e(this)}return e}(),Qo=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,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:i,bottom:a,left:c,width:l,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},en=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)},tn=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)},j_=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},Ve=typeof window!="undefined"?window:{},lt=new WeakMap,on=/auto|scroll/,B_=/^tb|vertical/,z_=/msie|trident/i.test(Ve.navigator&&Ve.navigator.userAgent),le=function(e){return parseFloat(e||"0")},Le=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Yo((o?t:e)||0,(o?e:t)||0)},nn=$e({devicePixelContentBoxSize:Le(),borderBoxSize:Le(),contentBoxSize:Le(),contentRect:new Qo(0,0,0,0)}),rn=function(e,t){if(t===void 0&&(t=!1),lt.has(e)&&!t)return lt.get(e);if(en(e))return lt.set(e,nn),nn;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!z_&&o.boxSizing==="border-box",i=B_.test(o.writingMode||""),a=!n&&on.test(o.overflowY||""),c=!n&&on.test(o.overflowX||""),l=n?0:le(o.paddingTop),d=n?0:le(o.paddingRight),_=n?0:le(o.paddingBottom),f=n?0:le(o.paddingLeft),p=n?0:le(o.borderTopWidth),v=n?0:le(o.borderRightWidth),m=n?0:le(o.borderBottomWidth),$=n?0:le(o.borderLeftWidth),y=f+d,j=l+_,B=$+v,S=p+m,z=c?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-B-e.clientWidth:0,W=r?y+B:0,x=r?j+S:0,D=n?n.width:le(o.width)-W-P,M=n?n.height:le(o.height)-x-z,K=D+y+P+B,ke=M+j+z+S,De=$e({devicePixelContentBoxSize:Le(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:Le(K,ke,i),contentBoxSize:Le(D,M,i),contentRect:new Qo(f,l,D,M)});return lt.set(e,De),De},an=function(e,t,o){var n=rn(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case He.DEVICE_PIXEL_CONTENT_BOX:return a;case He.BORDER_BOX:return r;default:return i}},sn=function(){function e(t){var o=rn(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}(),ln=function(e){if(en(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},P_=function(){var e=1/0,t=[];ye.forEach(function(a){if(a.activeTargets.length!==0){var c=[];a.activeTargets.forEach(function(d){var _=new sn(d.target),f=ln(d.target);c.push(_),d.lastReportedSize=an(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,c,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()&&(ln(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},M_=function(){var e=0;for(cn(e);I_();)e=P_(),cn(e);return R_()&&E_(),e>0},xt,dn=[],H_=function(){return dn.splice(0).forEach(function(e){return e()})},V_=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return H_()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}dn.push(e),xt()},D_=function(e){V_(function(){requestAnimationFrame(e)})},ct=0,F_=function(){return!!ct},q_=250,W_={attributes:!0,characterData:!0,childList:!0,subtree:!0},_n=["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,G_=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=q_),!Nt){Nt=!0;var n=un(t);D_(function(){var r=!1;try{r=M_()}finally{if(Nt=!1,t=n-un(),!F_())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,W_)};document.body?o():Ve.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_n.forEach(function(o){return Ve.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),_n.forEach(function(o){return Ve.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Tt=new G_,pn=function(e){!ct&&e>0&&Tt.start(),ct+=e,!ct&&Tt.stop()},U_=function(e){return!wt(e)&&!j_(e)&&getComputedStyle(e).display==="inline"},X_=function(){function e(t,o){this.target=t,this.observedBox=o||He.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=an(this.target,this.observedBox,!0);return U_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,fn=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 Z_(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),i=r.observationTargets.length===0;fn(r.observationTargets,o)<0&&(i&&ye.push(r),r.observationTargets.push(new X_(o,n&&n.box)),pn(1),Tt.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=fn(n.observationTargets,o),i=n.observationTargets.length===1;r>=0&&(i&&ye.splice(ye.indexOf(n),1),n.observationTargets.splice(r,1),pn(-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}(),K_=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(!tn(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(!tn(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 J_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:K_,ResizeObserverEntry:sn,ResizeObserverSize:Yo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=g_,h.ComplexGift=e_,h.ComplexPopup=l_,h.ContentCards=L_,h.ExpressPopup=u_,h.SimpleGift=Jd,h.SimplePopup=a_,h.WideCard=N_,h.backgroundToColor=Me,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=T_,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|