@adstore/templates 2.5.13 → 2.5.14
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 +0 -6
- package/dist/style.css +1 -1
- package/dist/templates.es.js +1052 -1052
- 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(g,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(g=typeof globalThis!="undefined"?globalThis:g||self,_(g["@adstore/templates"]={},g.preact))})(this,function(g,_){"use strict";var Wu=Object.defineProperty,Gu=Object.defineProperties;var Uu=Object.getOwnPropertyDescriptors;var ct=Object.getOwnPropertySymbols;var fn=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable;var pn=(g,_,O)=>_ in g?Wu(g,_,{enumerable:!0,configurable:!0,writable:!0,value:O}):g[_]=O,h=(g,_)=>{for(var O in _||(_={}))fn.call(_,O)&&pn(g,O,_[O]);if(ct)for(var O of ct(_))hn.call(_,O)&&pn(g,O,_[O]);return g},w=(g,_)=>Gu(g,Uu(_));var xt=(g,_)=>{var O={};for(var W in g)fn.call(g,W)&&_.indexOf(W)<0&&(O[W]=g[W]);if(g!=null&&ct)for(var W of ct(g))_.indexOf(W)<0&&hn.call(g,W)&&(O[W]=g[W]);return O};var He=(g,_,O)=>new Promise((W,Me)=>{var E=Q=>{try{k(O.next(Q))}catch(ye){Me(ye)}},se=Q=>{try{k(O.throw(Q))}catch(ye){Me(ye)}},k=Q=>Q.done?W(Q.value):Promise.resolve(Q.value).then(E,se);k((O=O.apply(g,_)).next())});var O=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},W={},Me={get exports(){return W},set exports(e){W=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 P=G;var se,w,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(w,e,$e||t),$e=0;var o=w.__H||(w.__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=w,!w.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))};w.u=!0;var i=w.shouldComponentUpdate,a=w.componentWillUpdate;w.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)},w.shouldComponentUpdate=r}return n.__N||n.__}function U(e,t){var o=Ae(se++,3);!_.options.__s&&dt(o.__H,t)&&(o.__=e,o.i=t,w.__H.__h.push(o))}function At(e,t){var o=Ae(se++,4);!_.options.__s&&dt(o.__H,t)&&(o.__=e,o.i=t,w.__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 mn(e){var t=w.context[e.__c],o=Ae(se++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(w)),t.props.value):e.__}function bn(){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){w=null,Nt&&Nt(e)},_.options.__r=function(e){Ot&&Ot(e),se=0;var t=(w=e.__c).__H;t&&(Q===w?(t.__h=[],w.__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=w},_.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)(bn)),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=w=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=w,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),w=t}function lt(e){var t=w;e.__c=e.__(),w=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 Pt=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Pt&&Pt(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 wn=_.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)}wn(e,t,o,n)};var Bt=_.options.unmount;function Ht(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 Ht(n,t,o)})),e}function zt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return zt(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 We(){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),Bt&&Bt(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]=zt(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]=Ht(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]}};(We.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()}},We.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},We.prototype.componentDidUpdate=We.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Vt(e,o,t)})};var kn=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=kn,Ft&&Ft(e)};var Wt=_.options.__r;_.options.__r=function(e){Wt&&Wt(e),e.__c};var Gt=_.options.diffed;_.options.diffed=function(e){Gt&&Gt(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 Ge=En,Pn=Ge;function Bn(e,t){for(var o=e.length;o--;)if(Pn(e[o][0],t))return o;return-1}var Ue=Bn,Hn=Ue,zn=Array.prototype,Mn=zn.splice;function Vn(e){var t=this.__data__,o=Hn(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=Ue;function Wn(e){var t=this.__data__,o=Fn(t,e);return o<0?void 0:t[o][1]}var Gn=Wn,Un=Ue;function qn(e){return Un(this.__data__,e)>-1}var Xn=qn,Kn=Ue;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=Gn,tr=Xn,or=Jn;function we(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])}}we.prototype.clear=Yn,we.prototype.delete=Qn,we.prototype.get=er,we.prototype.has=tr,we.prototype.set=or;var qe=we,nr=qe;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,Ut=_r,pr=Ut,fr=typeof self=="object"&&self&&self.Object===Object&&self,hr=pr||fr||Function("return this")(),ke=hr,vr=ke,gr=vr.Symbol,qt=gr,Xt=qt,Kt=Object.prototype,mr=Kt.hasOwnProperty,br=Kt.toString,je=Xt?Xt.toStringTag:void 0;function yr(e){var t=mr.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(i){}var r=br.call(e);return n&&(t?e[je]=o:delete e[je]),r}var $r=yr,wr=Object.prototype,kr=wr.toString;function xr(e){return kr.call(e)}var Nr=xr,Zt=qt,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]",Pr="[object GeneratorFunction]",Br="[object Proxy]";function Hr(e){if(!Ir(e))return!1;var t=jr(e);return t==Er||t==Pr||t==Lr||t==Br}var _t=Hr,zr=ke,Mr=zr["__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,Wr=Function.prototype,Gr=Wr.toString;function Ur(e){if(e!=null){try{return Gr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var qr=Ur,Xr=_t,Kr=Fr,Zr=de,Jr=qr,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=ke,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 ma=ga;function ba(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ya=ba,$a=Ke,wa="__lodash_hash_undefined__",ka=Object.prototype,xa=ka.hasOwnProperty;function Na(e){var t=this.__data__;if($a){var o=t[e];return o===wa?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,Pa=ma,Ba=ya,Ha=Oa,za=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=Pa,xe.prototype.delete=Ba,xe.prototype.get=Ha,xe.prototype.has=za,xe.prototype.set=Ma;var Va=xe,to=Va,Da=qe,Fa=Qt;function Wa(){this.size=0,this.__data__={hash:new to,map:new(Fa||Da),string:new to}}var Ga=Wa;function Ua(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var qa=Ua,Xa=qa;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=Ga,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=qe,hi=Qt,vi=pi,gi=200;function mi(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 bi=mi,yi=qe,$i=ar,wi=sr,ki=lr,xi=ur,Ni=bi;function Oe(e){var t=this.__data__=new yi(e);this.size=t.size}Oe.prototype.clear=$i,Oe.prototype.delete=wi,Oe.prototype.get=ki,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=Ge;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,Pi=Ei(),Bi=Pi,Je={},Hi={get exports(){return Je},set exports(e){Je=e}};(function(e,t){var o=ke,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})(Hi,Je);var zi=ke,Mi=zi.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,Wi=Fi;function Gi(e,t){var o=t?Wi(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ui=Gi;function qi(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Xi=qi,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,ms=lo(function(){return arguments}())?lo:function(e){return hs(e)&&vs.call(e,"callee")&&!gs.call(e,"callee")},_o=ms,bs=Array.isArray,po=bs,ys=9007199254740991;function $s(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ys}var fo=$s,ws=_t,ks=fo;function xs(e){return e!=null&&ks(e.length)&&!ws(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=ke,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]",Ps=Function.prototype,Bs=Object.prototype,ho=Ps.toString,Hs=Bs.hasOwnProperty,zs=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=Hs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&ho.call(o)==zs}var Vs=Ms,Ds=Xe,Fs=fo,Ws=Ie,Gs="[object Arguments]",Us="[object Array]",qs="[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[Gs]=N[Us]=N[rc]=N[qs]=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 Ws(e)&&Fs(e.length)&&!!N[Ds(e)]}var vc=hc;function gc(e){return function(t){return e(t)}}var mc=gc,Ye={},bc={get exports(){return Ye},set exports(e){Ye=e}};(function(e,t){var o=Ut,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})(bc,Ye);var yc=vc,$c=mc,vo=Ye,go=vo&&vo.isTypedArray,wc=go?$c(go):yc,mo=wc;function kc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var bo=kc,xc=ht,Nc=Ge,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,Pc=9007199254740991,Bc=/^(?:0|[1-9]\d*)$/;function Hc(e,t){var o=typeof e;return t=t==null?Pc:t,!!t&&(o=="number"||o!="symbol"&&Bc.test(e))&&e>-1&&e%1==0&&e<t}var yo=Hc,zc=Ec,Mc=_o,Vc=po,Dc=Le,Fc=yo,Wc=mo,Gc=Object.prototype,Uc=Gc.hasOwnProperty;function qc(e,t){var o=Vc(e),n=!o&&Mc(e),r=!o&&!n&&Dc(e),i=!o&&!n&&!r&&Wc(e),a=o||n||r||i,l=a?zc(e.length,String):[],c=l.length;for(var d in e)(t||Uc.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=qc;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,wo=ro,_l=Je,pl=Ui,fl=Xi,hl=cs,ko=_o,xo=po,vl=Cs,gl=Le,ml=_t,bl=de,yl=Vs,$l=mo,No=bo,wl=ul;function kl(e,t,o,n,r,i,a){var l=No(e,o),c=No(t,o),d=a.get(c);if(d){wo(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),b=!p&&!g&&$l(c);u=c,p||g||b?xo(l)?u=l:vl(l)?u=fl(l):g?(f=!1,u=_l(c,!0)):b?(f=!1,u=pl(c,!0)):u=[]:yl(c)||ko(c)?(u=l,ko(l)?u=wl(l):(!bl(l)||ml(l))&&(u=hl(c))):f=!1}f&&(a.set(c,u),r(u,c,n,i,a),a.delete(c)),wo(e,o,u)}var xl=kl,Nl=Oi,Ol=ro,Tl=Bi,Cl=xl,Sl=de,Al=$o,Rl=bo;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,Pl=El,Co=Math.max;function Bl(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),Pl(e,this,l)}}var Hl=Bl;function zl(e){return function(){return e}}var Ml=zl,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,Wl=Fl,Gl=800,Ul=16,ql=Date.now;function Xl(e){var t=0,o=0;return function(){var n=ql(),r=Ul-(n-o);if(o=n,r>0){if(++t>=Gl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Kl=Xl,Zl=Wl,Jl=Kl,Yl=Jl(Zl),Ql=Yl,ed=To,td=Hl,od=Ql;function nd(e,t){return od(td(e,t,ed),e+"")}var rd=nd,ad=Ge,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(z).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(z).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={}}},md=()=>({name:null,logo:null}),Ao=()=>({name:null,logo:null}),bd=()=>({factor:null,type:null,outcome:null,value:null}),yd=()=>({w1:null,x:null,w2:null}),$d=()=>({w1:null,w2:null}),wd=()=>({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)||md(),prediction:(e==null?void 0:e.prediction)||bd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=m(e||{},`markets.${a}`,wd()[a||"one_two"]),i),{});Ee(o,"markets",r)}return o},kd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),xd=e=>!e&&e==null,z=e=>!xd(e),jo=e=>typeof e!="object"&&typeof e!="function"||e===null,Nd=e=>typeof e=="object"&&!Array.isArray(e)&&z(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 m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},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,m(t,i)],i)?m(t,i,r):r:m(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_tlnsu_1",icon:"_icon_tlnsu_5",iconTarget:"_iconTarget_tlnsu_17",body:"_body_tlnsu_23",bodyOpen:"_bodyOpen_tlnsu_31",simpleGift_in:"_simpleGift_in_tlnsu_1",close:"_close_tlnsu_44",arrow:"_arrow_tlnsu_60",container:"_container_tlnsu_71",inner:"_inner_tlnsu_77",logo:"_logo_tlnsu_84",text:"_text_tlnsu_91",button:"_button_tlnsu_98",buttonAnimated:"_buttonAnimated_tlnsu_107",increase:"_increase_tlnsu_1",legalGap:"_legalGap_tlnsu_111",legalOpen:"_legalOpen_tlnsu_115",legal:"_legal_tlnsu_111",legalText:"_legalText_tlnsu_143",legalButton:"_legalButton_tlnsu_161",fadein:"_fadein_tlnsu_1",pulse:"_pulse_tlnsu_1",gradient:"_gradient_tlnsu_1",wiggle:"_wiggle_tlnsu_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 Po=_.createContext(),_e=({children:e,value:t})=>s(Po.Provider,{value:t,children:e}),pe=e=>a=>ze(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,i=kt(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)}),q=()=>mn(Po),Ld=(e={})=>typeof e=="object"&&z(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&&z(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],[b,$])=>g-$),u=((f=d.find(([p,g],b)=>{const[$,y]=d[b+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},Bo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),et=(e,t)=>z(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Pd=e=>e.startsWith("px_"),Bd=e=>e.startsWith("percent_"),Hd=(e,t)=>{let o=e,n=t;return Pd(o)&&(o=o.replace("px_",""),n=et(t,"px")),Bd(o)&&(o=o.replace("percent_",""),n=et(t,"%")),{key:o,value:n}},zd="-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"],Ho=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}=Hd(n,r);if(Nd(a)&&(o[i]=Ho(a)),o[i]=a,i==="hidden"&&a)return o.display="none",o;if(i==="innerHTML"&&(o.innerHTML=z(a)?`${a}`:""),i==="innerText"&&(o.innerText=z(a)?`${a}`:""),i==="children"&&(o.children=typeof a=="string"?z(a)?`${a}`:"":a),i.includes("borderWidth")&&(o.borderStyle="solid"),i==="corner"&&(o.borderRadius=et(a,"px")),i==="backgroundFit"&&(Bo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),i==="backgroundImage"&&z(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Bo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),i==="backgroundColorOpacity"&&z(o.backgroundColorOpacity)&&z(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=zd),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=>z(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Vd(n)?Ho(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=kt(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}}))},zo=()=>{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,b,$,y,I,L,C,E,B,W;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:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(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(k=>o[k]).join(", "),c=z((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, ${(B=n.icon)==null?void 0:B.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=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]);U(()=>{o.forEach(gd)},[o])},J=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Wd=["borderWidth","borderColor","borderStyle"],Vo=["imageSource","objectFit"],tt=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Gd=({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 U(()=>(i.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>a(i.current)),[e]),U(()=>{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}=Gd({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})),U(()=>o.current.reset,[]),{isOpen:a,toggle:l,click:(...c)=>o.current.emit("click",...c)}},Ud=le(({id:e},t)=>{var I,L,C,E,B,W,k,M,H;const o=X(null),[n,r]=zo(),i=q(),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:b,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,...Wd):{};return s("div",{className:P(T.root,{[T.legalOpen]:n}),ref:o,children:[s("div",{className:T.icon,style:u,onClick:b,children:d&&s("div",{className:T.iconTarget,children:s(gt,{})})}),s("div",{className:P(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:b,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:(B=c==null?void 0:c.text)==null?void 0:B.children})]}),s("div",{className:P(T.button,{[T.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(W=c==null?void 0:c.button)==null?void 0:W.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:(k=c==null?void 0:c.legal)==null?void 0:k.children}),s("span",{className:T.legalButton,onClick:r,children:n?(M=c==null?void 0:c.legal)==null?void 0:M.buttonOpenText:(H=c==null?void 0:c.legal)==null?void 0:H.buttonHideText})]})})})]})]})]})}),qd=pe(s(Ud,{})),S={root:"_root_g8256_1",icon:"_icon_g8256_5",iconTarget:"_iconTarget_g8256_17",body:"_body_g8256_23",desktop:"_desktop_g8256_30",tablet:"_tablet_g8256_30",laptop:"_laptop_g8256_30",bodyOpen:"_bodyOpen_g8256_34",complexGift_in:"_complexGift_in_g8256_1",arrow:"_arrow_g8256_47",container:"_container_g8256_57",promotion:"_promotion_g8256_62",close:"_close_g8256_68",head:"_head_g8256_82",headIcon:"_headIcon_g8256_88",headTitle:"_headTitle_g8256_94",inner:"_inner_g8256_101",fadein:"_fadein_g8256_1",pulse:"_pulse_g8256_1",gradient:"_gradient_g8256_1",wiggle:"_wiggle_g8256_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=q(),o=V(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:P(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=q(),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}),b=(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:P(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:P(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:[b&&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(B=>s(_e,{value:B,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=q(),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})})},mt=(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=()=>ze(this,null,function*(){yield kd(+t),i(!0)}),b=()=>i(!1),$=()=>{n.current.emit("clickHide"),b()};return U(()=>{c&&n.current.emit("visible",r)},[r,c]),De(e,()=>({onVisible:u,onClick:f,onClickHide:p,show:g,hide:b,setApiHost:l,resetListeners:n.current.reset})),U(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:g,hide:b,clickHide:$,setIsReady:d,click:(...y)=>{b(),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,B,W,k,M,H;const n=X(null),r=X(null),i=Te({targetRef:n,id:e}),a=q(),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",(B=l==null?void 0:l.legal)==null?void 0:B.width);const c=V(l),d=m(c,"root.delay",0),{isOpen:u,isReady:f,setIsReady:p,clickHide:g,click:b}=mt(o,d);U(()=>{const Z=r.current;if(!Z)return;if(Qd(Z)){p(!0);return}const be=()=>p(!0);return Z.addEventListener("load",be),()=>{Z.removeEventListener("load",be)}},[c]);const $={alignItems:ve((W=c.root)==null?void 0:W.align)},y=x(h({},c==null?void 0:c.button),{justifyContent:ve((k=c.root)==null?void 0:k.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:P(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:(H=c.root)==null?void 0:H.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.content,style:L,onClick:()=>b(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_cyc0m_1",content:"_content_cyc0m_11",desktop:"_desktop_cyc0m_23",laptop:"_laptop_cyc0m_23",overlay:"_overlay_cyc0m_28",close:"_close_cyc0m_34",title:"_title_cyc0m_45",wrapper:"_wrapper_cyc0m_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=q(),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:P(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=q(),i=fe(r,n),a=V(i);he(i);const l=m(a,"root.delay",0),{isOpen:c,clickHide:d,click:u}=mt(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:P(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_1wllh_1",content:"_content_1wllh_11",close:"_close_1wllh_19",overlay:"_overlay_1wllh_30",body:"_body_1wllh_36",desktop:"_desktop_1wllh_44",laptop:"_laptop_1wllh_44",tablet:"_tablet_1wllh_48",head:"_head_1wllh_53",title:"_title_1wllh_63",logo:"_logo_1wllh_76",wrapper:"_wrapper_1wllh_83",text:"_text_1wllh_90",button:"_button_1wllh_98",buttonHead:"_buttonHead_1wllh_113",buttonTarget:"_buttonTarget_1wllh_130",legal:"_legal_1wllh_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=q(),t=V(e),o=(e==null?void 0:e.device)||"desktop",n=x(h({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=x(h({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:P(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:m(t,"match.league.name")}),s("div",{className:A.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(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:m(t,"match.teams[0].name")})]}),s("div",{className:A.odd,children:[s("div",{className:A.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),s("div",{className:A.oddValue,style:t.oddValue,children:m(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:m(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(()=>ze(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 U(()=>{t||c()},[l,t]),{data:i,execute:c}};function Wo(e){const t=X();return U(()=>{t.current=e},[e]),t.current}const iu=(e,t)=>{const o=d=>{var u;return z(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=Wo(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 U(()=>{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,[b,$])=>z($));return x(h({},d),{match:p})}).filter(Boolean)},su=le(({id:e},t)=>{var L,C,E,B,W,k,M,H,Z,be,He,un,_n;const o=X(null),n=Te({targetRef:o,id:e}),r=q(),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=m(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:u,click:f}=mt(t,l,!0),p=iu(i,d),g=x(h({},a.root),{alignItems:ve((E=a.root)==null?void 0:E.align)}),b=x(h({},a.content),{alignItems:ve((B=a.root)==null?void 0:B.align)}),$=x(h({},a.text),{textAlign:(W=a.root)==null?void 0:W.align}),y=x(h({},a==null?void 0:a.button),{justifyContent:ve((k=a.root)==null?void 0:k.textAlign)}),I=x(h({},a==null?void 0:a.legal),{justifyContent:ve((M=a.root)==null?void 0:M.textAlign)});return s("div",{className:P(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:(H=a.root)==null?void 0:H.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:b,children:(p||[]).map(Wu=>s(_e,{value:x(h({},Wu),{device:n}),children:s(au,{})}))}),s(ae,{className:D.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(be=a.text)==null?void 0:be.children}),s("div",{className:D.button,style:a.buttonWrapper,children:[s("div",{className:D.buttonHead,style:a.buttonHead,children:(He=a.buttonHead)==null?void 0:He.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=q(),o=V(t),[n,r]=zo();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:P(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})),U(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},uu=le((e,t)=>{const o=X(null),n=q(),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_woisr_1",desktop:"_desktop_woisr_13",laptop:"_laptop_woisr_14",promotion:"_promotion_woisr_18",background:"_background_woisr_34",close:"_close_woisr_43",content:"_content_woisr_52",variant2:"_variant2_woisr_65",logo:"_logo_woisr_69",left:"_left_woisr_81",center:"_center_woisr_94",slide:"_slide_woisr_100",slide_animated_default:"_slide_animated_default_woisr_114","fade-in-out":"_fade-in-out_woisr_1","slide_animated_bottom-top":"_slide_animated_bottom-top_woisr_117","fade-in-bottom-out-top":"_fade-in-bottom-out-top_woisr_1","slide_animated_top-bottom":"_slide_animated_top-bottom_woisr_120",right:"_right_woisr_124",buttonWrapper:"_buttonWrapper_woisr_139",button:"_button_woisr_139",button_animated:"_button_animated_woisr_173",increase:"_increase_woisr_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_woisr_1"},Go={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},pu=()=>{var o,n,r;const e=q(),t=V(e);return s("div",{className:P(Go.root,{[Go.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=q(),t=V(e),o=re(t.root,...J),n=x(h({},t.teamLogo),{backgroundImage:ot(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=x(h({},t.teamLogo),{backgroundImage:ot(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:P(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:m(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:m(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:m(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:j.teams,children:[s("div",{className:j.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:j.teamName,style:t.teamName,children:m(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=q(),t=V(e),o=x(h(h({},ee(t.root,...J)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:ot(m(t,"match.teams[0].logo"),[120,120])}),n=x(h(h({},ee(t.root,...J)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:ot(m(t,"match.teams[1].logo"),[120,120])});return s("div",{className:P(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]:m(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:m(t,"match.teams[0].name")}),s("div",{className:F.teamValue,style:t.value,children:m(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:m(t,"match.teams[1].name")}),s("div",{className:F.teamValue,style:t.value,children:m(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 U(()=>{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"},Uo=e=>[gu[e]],mu=(e,t)=>{const o=d=>{var u;return z(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:Uo(d.name)})),i=Wo(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 U(()=>{Io(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const u=(a||[]).find(b=>b.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Uo(d.name),p=Ro(u,{markets:f}),g=Lo(p,d.root.customMatch,(b,[$,y])=>z(y));return x(h({},d),{match:g})}return d}).filter(Boolean)},bu=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=()=>ze(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return U(()=>{t.current.emit("visible",o)},[o]),De(e,()=>({onVisible:a,onClick:l,onClickHide:c,show:d,hide:u,setApiHost:i,resetListeners:t.current.reset})),U(()=>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,B,W;const o=X(null),n=q(),r=Te({id:e,targetRef:o}),i=fe(n,r),a=V(i);he(i);const{apiHost:l,isOpen:c,click:d,clickHide:u}=bu(t),f=mu(a,l),p=k=>({text:s(pu,{}),matches:s(fu,{}),matchesOneTwo:s(hu,{})})[k],g=f.filter(Boolean).map(k=>{var M,H;return x(h({},k),{animationName:(M=k==null?void 0:k.root)==null?void 0:M.animationName,animationDuration:((H=k==null?void 0:k.root)==null?void 0:H.animationDuration)||yu})}),b=vu(g),$=V(g[b]||{}),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:P(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:(B=a.promotion)==null?void 0:B.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((k,M)=>{var H,Z;return s("div",{className:R.slide,style:{animationName:b===M?R[((H=k.root)==null?void 0:H.animationName)||"fade-in-out"]:"none",animationDuration:`${(Z=k.root)==null?void 0:Z.animationDuration}ms`},children:s(_e,{value:x(h({},k),{device:r}),children:p(k.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:a.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:P(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]})})]})]})]})]})}),wu=pe(s($u,{})),ku=(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(m(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})},qo="ResizeObserver loop completed with undelivered notifications.",Ou=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:qo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=qo),window.dispatchEvent(e)},Pe;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Pe||(Pe={}));var me=function(e){return Object.freeze(e)},Xo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,me(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,me(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}(),bt=function(e){return e instanceof SVGElement&&"getBBox"in e},Zo=function(e){if(bt(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},Be=typeof window!="undefined"?window:{},rt=new WeakMap,Yo=/auto|scroll/,Cu=/^tb|vertical/,Su=/msie|trident/i.test(Be.navigator&&Be.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=me({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=bt(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),b=n?0:ie(o.borderBottomWidth),$=n?0:ie(o.borderLeftWidth),y=f+d,I=c+u,L=$+g,C=p+b,E=l?e.offsetHeight-C-e.clientHeight:0,B=a?e.offsetWidth-L-e.clientWidth:0,W=r?y+L:0,k=r?I+C:0,M=n?n.width:ie(o.width)-W-B,H=n?n.height:ie(o.height)-k-E,Z=M+y+B+L,be=H+I+E+C,He=me({devicePixelContentBoxSize:Se(Math.round(M*devicePixelRatio),Math.round(H*devicePixelRatio),i),borderBoxSize:Se(Z,be,i),contentBoxSize:Se(M,H,i),contentRect:new Ko(f,c,M,H)});return rt.set(e,He),He},tn=function(e,t,o){var n=en(e,o),r=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case Pe.DEVICE_PIXEL_CONTENT_BOX:return a;case Pe.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=me([o.borderBoxSize]),this.contentBoxSize=me([o.contentBoxSize]),this.devicePixelContentBoxSize=me([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},Pu=250,Bu={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,Hu=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=Pu),!$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,Bu)};document.body?o():Be.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 Be.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),sn.forEach(function(o){return Be.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),wt=new Hu,ln=function(e){!at&&e>0&&wt.start(),at+=e,!at&&wt.stop()},zu=function(e){return!bt(e)&&!Tu(e)&&getComputedStyle(e).display==="inline"},Mu=function(){function e(t,o){this.target=t,this.observedBox=o||Pe.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=tn(this.target,this.observedBox,!0);return zu(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),wt.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=qd,v.SimplePopup=tu,v.WideCard=wu,v.backgroundToColor=nt,v.filterDeep=Rd,v.findDeep=Ad,v.isValidTemplate=Cd,v.modifyState=ku,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 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 E=W;var se,k,Q,ye,$e=0,wt=[],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,gn(Rt,e)}function gn(e,t,o){var n=Ae(se++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Rt(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 v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!i||i.call(this,l,c,d))};k.u=!0;var i=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,c,d){if(this.__e){var 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,ze(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 ze(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 vn(e,t){return $e=8,ze(function(){return e},t)}function mn(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 bn(){for(var e;e=wt.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&&(wt.push(t)!==1&&ye===_.options.requestAnimationFrame||((ye=_.options.requestAnimationFrame)||yn)(bn)),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 zt=typeof requestAnimationFrame=="function";function yn(e){var t,o=function(){clearTimeout(n),zt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);zt&&(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 Rt(e,t){return typeof t=="function"?t(e):t}function jt(e,t){for(var o in t)e[o]=t[o];return e}function It(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 Lt(e){this.props=e}(Lt.prototype=new _.Component).isPureReactComponent=!0,Lt.prototype.shouldComponentUpdate=function(e,t){return It(this.props,e)||It(this.state,t)};var Et=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Et&&Et(e)};var $n=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(o){var n=jt({},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=jt({},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 xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,wn=/^(?: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 zn(){return this.defaultPrevented}_.options.event=function(e){return Dt&&(e=Dt(e)),e.persist=Sn,e.isPropagationStopped=An,e.isDefaultPrevented=zn,e.nativeEvent=e};var Rn={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&&wn.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",Rn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=xn,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 jn(){this.__data__=[],this.size=0}var In=jn;function Ln(e,t){return e===t||e!==e&&t!==t}var We=Ln,En=We;function Pn(e,t){for(var o=e.length;o--;)if(En(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=In,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")(),xe=hr,gr=xe,vr=gr.Symbol,Ut=vr,Xt=Ut,Kt=Object.prototype,mr=Kt.hasOwnProperty,br=Kt.toString,Re=Xt?Xt.toStringTag:void 0;function yr(e){var t=mr.call(e,Re),o=e[Re];try{e[Re]=void 0;var n=!0}catch(i){}var r=br.call(e);return n&&(t?e[Re]=o:delete e[Re]),r}var $r=yr,kr=Object.prototype,xr=kr.toString;function wr(e){return xr.call(e)}var Nr=wr,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 zr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var de=zr,Rr=Xe,jr=de,Ir="[object AsyncFunction]",Lr="[object Function]",Er="[object GeneratorFunction]",Pr="[object Proxy]";function Br(e){if(!jr(e))return!1;var t=Rr(e);return t==Lr||t==Er||t==Ir||t==Pr}var _t=Br,Hr=xe,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=xe,fa=_a(pa,"Map"),Qt=fa,ha=ft,ga=ha(Object,"create"),Ke=ga,eo=Ke;function va(){this.__data__=eo?eo(null):{},this.size=0}var ma=va;function ba(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ya=ba,$a=Ke,ka="__lodash_hash_undefined__",xa=Object.prototype,wa=xa.hasOwnProperty;function Na(e){var t=this.__data__;if($a){var o=t[e];return o===ka?void 0:o}return wa.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 za=Aa,Ra=Ke,ja="__lodash_hash_undefined__";function Ia(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Ra&&t===void 0?ja:t,this}var La=Ia,Ea=ma,Pa=ya,Ba=Oa,Ha=za,Ma=La;function we(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])}}we.prototype.clear=Ea,we.prototype.delete=Pa,we.prototype.get=Ba,we.prototype.has=Ha,we.prototype.set=Ma;var Va=we,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,gi=pi,vi=200;function mi(e,t){var o=this.__data__;if(o instanceof fi){var n=o.__data__;if(!hi||n.length<vi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new gi(n)}return o.set(e,t),this.size=o.size,this}var bi=mi,yi=Ue,$i=ar,ki=sr,xi=lr,wi=ur,Ni=bi;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=xi,Oe.prototype.has=wi,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,zi=We;function Ri(e,t,o){(o!==void 0&&!zi(e[t],o)||o===void 0&&!(t in e))&&Ai(e,t,o)}var ro=Ri;function ji(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 Ii=ji,Li=Ii,Ei=Li(),Pi=Ei,Je={},Bi={get exports(){return Je},set exports(e){Je=e}};(function(e,t){var o=xe,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=xe,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 je=ls,ds=Xe,us=je,_s="[object Arguments]";function ps(e){return us(e)&&ds(e)==_s}var fs=ps,lo=fs,hs=je,uo=Object.prototype,gs=uo.hasOwnProperty,vs=uo.propertyIsEnumerable,ms=lo(function(){return arguments}())?lo:function(e){return hs(e)&&gs.call(e,"callee")&&!vs.call(e,"callee")},_o=ms,bs=Array.isArray,po=bs,ys=9007199254740991;function $s(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ys}var fo=$s,ks=_t,xs=fo;function ws(e){return e!=null&&xs(e.length)&&!ks(e)}var gt=ws,Ns=gt,Os=je;function Ts(e){return Os(e)&&Ns(e)}var Cs=Ts,Ie={},Ss={get exports(){return Ie},set exports(e){Ie=e}};function As(){return!1}var zs=As;(function(e,t){var o=xe,n=zs,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,Ie);var Rs=Xe,js=so,Is=je,Ls="[object Object]",Es=Function.prototype,Ps=Object.prototype,ho=Es.toString,Bs=Ps.hasOwnProperty,Hs=ho.call(Object);function Ms(e){if(!Is(e)||Rs(e)!=Ls)return!1;var t=js(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=je,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 gc=hc;function vc(e){return function(t){return e(t)}}var mc=vc,Ye={},bc={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})(bc,Ye);var yc=gc,$c=mc,go=Ye,vo=go&&go.isTypedArray,kc=vo?$c(vo):yc,mo=kc;function xc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var bo=xc,wc=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))&&wc(e,t,o)}var Sc=Cc,Ac=Sc,zc=ht;function Rc(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?zc(o,l,c):Ac(o,l,c)}return o}var jc=Rc;function Ic(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Lc=Ic,Ec=9007199254740991,Pc=/^(?:0|[1-9]\d*)$/;function Bc(e,t){var o=typeof e;return t=t==null?Ec:t,!!t&&(o=="number"||o!="symbol"&&Pc.test(e))&&e>-1&&e%1==0&&e<t}var yo=Bc,Hc=Lc,Mc=_o,Vc=po,Dc=Ie,Fc=yo,qc=mo,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=gt;function sl(e){return il(e)?rl(e,!0):al(e)}var $o=sl,cl=jc,ll=$o;function dl(e){return cl(e,ll(e))}var ul=dl,ko=ro,_l=Je,pl=Gi,fl=Xi,hl=cs,xo=_o,wo=po,gl=Cs,vl=Ie,ml=_t,bl=de,yl=Vs,$l=mo,No=bo,kl=ul;function xl(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=wo(c),v=!p&&vl(c),b=!p&&!v&&$l(c);u=c,p||v||b?wo(l)?u=l:gl(l)?u=fl(l):v?(f=!1,u=_l(c,!0)):b?(f=!1,u=pl(c,!0)):u=[]:yl(c)||xo(c)?(u=l,xo(l)?u=kl(l):(!bl(l)||ml(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 wl=xl,Nl=Oi,Ol=ro,Tl=Pi,Cl=wl,Sl=de,Al=$o,zl=bo;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(zl(e,a),i,a+"",e,t,r):void 0;l===void 0&&(l=i),Ol(e,a,l)}},Al)}var Rl=Oo;function jl(e){return e}var To=jl;function Il(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 Ll=Il,El=Ll,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),El(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=gt,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=Rl,gd=fd;gd(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,vd=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={}}},md=()=>({name:null,logo:null}),Ao=()=>({name:null,logo:null}),bd=()=>({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()}),zo=(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)||md(),prediction:(e==null?void 0:e.prediction)||bd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((i,a)=>(i[a]=m(e||{},`markets.${a}`,kd()[a||"one_two"]),i),{});Le(o,"markets",r)}return o},xd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),wd=e=>!e&&e==null,H=e=>!wd(e),Ro=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 m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((i,a)=>i&&i[a],e);return r===void 0?o:r},Le=(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},jo=(...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"),Io=(e,t,o)=>ue(e,(n,r,i)=>Ro(r)||Array.isArray(r)&&r.every(Ro)?o?o(n,[r,m(t,i)],i)?m(t,i,r):r:m(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}},zd=(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},Lo=["desktop","laptop","tablet","mobile"],Rd={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 jd=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:--jd,__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 Eo=_.createContext(),_e=({children:e,value:t})=>s(Eo.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=xt(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=()=>mn(Eo),Id=(e={})=>typeof e=="object"&&H(e)&&Lo.every(t=>t in e),Ld=(e,t)=>e&&ue(e,(o,n)=>{if(Id(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)=>Ld(e,t),Te=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Rd})=>{const[r,i]=ne("desktop"),a=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries(h({},n)).sort(([p,v],[b,$])=>v-$),u=((f=d.find(([p,v],b)=>{const[$,y]=d[b+1]||[];return c>=v&&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,Ed=e=>e.startsWith("px_"),Pd=e=>e.startsWith("percent_"),Bd=(e,t)=>{let o=e,n=t;return Ed(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=xt(i,["children","typography","accentTypography"]);var c;const a=ze(()=>{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",w(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"})}),vt=()=>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,v,b,$,y,j,I,C,L,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:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(j=n==null?void 0:n.container)==null?void 0:j.left},l=(((I=n==null?void 0:n.icon)==null?void 0:I.animations)||[]).map(x=>o[x]).join(", "),c=H((C=n==null?void 0:n.icon)==null?void 0:C.gradientColor)&&((L=n==null?void 0:n.icon)!=null&&L.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(w(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=ze(()=>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(vd)},[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 j,I,C,L,P,q,x,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:v,toggle:b,click:$}=Do({ref:t,openDelay:(j=l==null?void 0:l.container)==null?void 0:j.delay});he(l);const y=n?ee(c.container,...qd):{};return s("div",{className:E(T.root,{[T.legalOpen]:n}),ref:o,children:[s("div",{className:T.icon,style:u,onClick:b,children:d&&s("div",{className:T.iconTarget,children:s(vt,{})})}),s("div",{className:E(T.body,{[T.bodyOpen]:v}),style:f,children:[s("div",{className:T.arrow,style:p}),s("div",{className:T.close,style:c==null?void 0:c.close,onClick:b,children:s(Ce,{})}),s("div",{className:T.container,style:c==null?void 0:c.container,children:[s("a",{href:(I=c==null?void 0:c.root)==null?void 0:I.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:(L=c.text)==null?void 0:L.accentTypography,children:(P=c==null?void 0:c.text)==null?void 0:P.children})]}),s("div",{className:E(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:(x=c==null?void 0:c.legal)==null?void 0:x.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:E(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 j,I,C,L;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:(j=i==null?void 0:i.container)==null?void 0:j.delay});he(i);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:v}=Mo(i,{fade:S.fadein,pulse:S.pulse,wiggle:S.wiggle,gradient:S.gradient}),b=(I=a==null?void 0:a.title)==null?void 0:I.hasIcon,$=ee(a==null?void 0:a.title,...tt),y=re(a==null?void 0:a.title,...tt);return s("div",{ref:o,className:E(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(vt,{})})}),s("div",{className:E(S.body,{[S.bodyOpen]:l}),style:p,children:[s("div",{className:S.arrow,style:v}),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:[b&&s("div",{className:S.headIcon,style:ee(a.title,"color"),children:s(vt,{})}),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:(L=a.promotion)==null?void 0:L.children})]})]})]})}),Zd=pe(s(Kd,{})),K={root:"_root_1gz6n_1",background:"_background_1gz6n_11",content:"_content_1gz6n_19",desktop:"_desktop_1gz6n_28",laptop:"_laptop_1gz6n_28",wrapper:"_wrapper_1gz6n_33",overlay:"_overlay_1gz6n_37",close:"_close_1gz6n_43",body:"_body_1gz6n_52",logo:"_logo_1gz6n_61",text:"_text_1gz6n_67",button:"_button_1gz6n_71",legal:"_legal_1gz6n_86"},ge=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})})},mt=(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),v=()=>He(this,null,function*(){yield xd(+t),i(!0)}),b=()=>i(!1),$=()=>{n.current.emit("clickHide"),b()};return G(()=>{c&&n.current.emit("visible",r)},[r,c]),De(e,()=>({onVisible:u,onClick:f,onClickHide:p,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),G(()=>n.current.reset,[]),{isReady:c,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:d,click:(...y)=>{b(),n.current.emit("click",...y)}}};function Qd(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const eu=le(({id:e,className:t},o)=>{var L,P,q,x,M,B;const n=X(null),r=X(null),i=Te({targetRef:n,id:e}),a=U(),l=fe(a,i);he(l),Le(l,"button.percent_width",(L=l==null?void 0:l.button)==null?void 0:L.width),Le(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const c=V(l),d=m(c,"root.delay",0),{isOpen:u,isReady:f,setIsReady:p,clickHide:v,click:b}=mt(o,d);G(()=>{const Z=r.current;if(!Z)return;if(Qd(Z)){p(!0);return}const be=()=>p(!0);return Z.addEventListener("load",be),()=>{Z.removeEventListener("load",be)}},[c]);const $={alignItems:ge((q=c.root)==null?void 0:q.align)},y=w(h({},c==null?void 0:c.button),{justifyContent:ge((x=c.root)==null?void 0:x.textAlign)}),j=w(h({},c==null?void 0:c.legal),{justifyContent:ge((M=c.root)==null?void 0:M.textAlign)}),I=re(c.root,...Vo,...J),C=ee(c.root,...Vo);return s("div",{className:E(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:v}),s("div",{className:K.wrapper,children:[s("div",{className:K.close,style:nt(c.close),onClick:v,children:s(Ce,{})}),s("a",{href:(B=c.root)==null?void 0:B.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.content,style:I,onClick:()=>b(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:j,children:j==null?void 0:j.children})]})]})]})]})}),tu=pe(s(eu,{})),ce={root:"_root_14dih_1",content:"_content_14dih_11",desktop:"_desktop_14dih_23",laptop:"_laptop_14dih_23",overlay:"_overlay_14dih_28",close:"_close_14dih_34",title:"_title_14dih_43",wrapper:"_wrapper_14dih_58"},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:E(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=m(a,"root.delay",0),{isOpen:c,clickHide:d,click:u}=mt(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:E(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:w(h({},p),{device:n}),children:s(ou,{onClick:u})}))})]})]})}),ru=pe(s(nu,{})),D={root:"_root_sz7yf_1",content:"_content_sz7yf_11",close:"_close_sz7yf_19",overlay:"_overlay_sz7yf_28",body:"_body_sz7yf_34",desktop:"_desktop_sz7yf_42",laptop:"_laptop_sz7yf_42",tablet:"_tablet_sz7yf_46",head:"_head_sz7yf_51",title:"_title_sz7yf_61",logo:"_logo_sz7yf_74",wrapper:"_wrapper_sz7yf_81",text:"_text_sz7yf_88",button:"_button_sz7yf_96",buttonHead:"_buttonHead_sz7yf_111",buttonTarget:"_buttonTarget_sz7yf_128",legal:"_legal_sz7yf_142"},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=w(h({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(h({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return s("div",{className:E(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:m(t,"match.league.name")}),s("div",{className:A.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(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:m(t,"match.teams[0].name")})]}),s("div",{className:A.odd,children:[s("div",{className:A.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),s("div",{className:A.oddValue,style:t.oddValue,children:m(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:m(t,"match.teams[1].name")})]})]})]})},Fo=(e,{pause:t,params:o,method:n,body:r})=>{const[i,a]=ne(),l=ze(()=>{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=vn(()=>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(()=>{jo(i,r)||l()},[r]),n.map(d=>{const u=(a||[]).find(v=>v.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=zo(u),p=Io(f,d.root.customMatch,(v,[b,$])=>H($));return w(h({},d),{match:p})}).filter(Boolean)},su=le(({id:e},t)=>{var I,C,L,P,q,x,M,B,Z,be,Be,un,_n;const o=X(null),n=Te({targetRef:o,id:e}),r=U(),i=fe(r,n);Le(i,"buttonWrapper.percent_width",(I=i==null?void 0:i.buttonWrapper)==null?void 0:I.width),Le(i,"legal.percent_width",(C=i==null?void 0:i.legal)==null?void 0:C.width);const a=V(i);he(i);const l=m(a,"root.delay",0),{isOpen:c,apiHost:d,clickHide:u,click:f}=mt(t,l,!0),p=iu(i,d),v=w(h({},a.root),{alignItems:ge((L=a.root)==null?void 0:L.align)}),b=w(h({},a.content),{alignItems:ge((P=a.root)==null?void 0:P.align)}),$=w(h({},a.text),{textAlign:(q=a.root)==null?void 0:q.align}),y=w(h({},a==null?void 0:a.button),{justifyContent:ge((x=a.root)==null?void 0:x.textAlign)}),j=w(h({},a==null?void 0:a.legal),{justifyContent:ge((M=a.root)==null?void 0:M.textAlign)});return s("div",{className:E(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:v,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:b,children:(p||[]).map(qu=>s(_e,{value:w(h({},qu),{device:n}),children:s(au,{})}))}),s(ae,{className:D.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(be=a.text)==null?void 0:be.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:j,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:E(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,{})),z={root:"_root_xdty7_1",desktop:"_desktop_xdty7_13",laptop:"_laptop_xdty7_14",promotion:"_promotion_xdty7_18",background:"_background_xdty7_34",close:"_close_xdty7_43",content:"_content_xdty7_54",variant2:"_variant2_xdty7_67",logo:"_logo_xdty7_71",left:"_left_xdty7_83",center:"_center_xdty7_96",slide:"_slide_xdty7_102",slide_animated_default:"_slide_animated_default_xdty7_116","fade-in-out":"_fade-in-out_xdty7_1","slide_animated_bottom-top":"_slide_animated_bottom-top_xdty7_119","fade-in-bottom-out-top":"_fade-in-bottom-out-top_xdty7_1","slide_animated_top-bottom":"_slide_animated_top-bottom_xdty7_122",right:"_right_xdty7_126",buttonWrapper:"_buttonWrapper_xdty7_141",button:"_button_xdty7_141",button_animated:"_button_animated_xdty7_175",increase:"_increase_xdty7_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_xdty7_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:E(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})})},R={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=w(h({},t.teamLogo),{backgroundImage:ot(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(h({},t.teamLogo),{backgroundImage:ot(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return s("div",{className:E(R.root,{[R.desktop]:e.device==="desktop",[R.laptop]:e.device==="laptop",[R.tablet]:e.device==="tablet"}),style:o,children:[s("div",{className:R.title,children:[s("div",{className:R.titleLabel,style:t.titleLabel,children:(i=t.titleLabel)==null?void 0:i.children}),s("div",{className:R.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),s("div",{className:R.odds,children:[s("div",{className:R.odd,children:[s("img",{className:R.teamLogo,src:n.backgroundImage,style:n}),s("div",{className:R.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),s("div",{className:R.odd,children:[s("div",{className:R.oddX,style:t.coef,children:"X"}),s("div",{className:R.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),s("div",{className:R.odd,children:[s("img",{className:R.teamLogo,src:r.backgroundImage,style:r}),s("div",{className:R.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),s("div",{className:R.teams,children:[s("div",{className:R.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),s("div",{className:R.teamName,style:t.teamName,children:m(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=w(h(h({},ee(t.root,...J)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:ot(m(t,"match.teams[0].logo"),[120,120])}),n=w(h(h({},ee(t.root,...J)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:ot(m(t,"match.teams[1].logo"),[120,120])});return s("div",{className:E(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]:m(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:m(t,"match.teams[0].name")}),s("div",{className:F.teamValue,style:t.value,children:m(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:m(t,"match.teams[1].name")}),s("div",{className:F.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},gu=(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},vu={matches:"one_x_two",matchesOneTwo:"one_two"},Go=e=>[vu[e]],mu=(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=>w(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(()=>{jo(i,r)||l()},[r]),n.map(d=>{if("targetMatch"in d.root){const u=(a||[]).find(b=>b.slug===d.root.targetMatch.matchSlug);if(!u)return;const f=Go(d.name),p=zo(u,{markets:f}),v=Io(p,d.root.customMatch,(b,[$,y])=>H(y));return w(h({},d),{match:v})}return d}).filter(Boolean)},bu=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 I,C,L,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}=bu(t),f=mu(a,l),p=x=>({text:s(pu,{}),matches:s(fu,{}),matchesOneTwo:s(hu,{})})[x],v=f.filter(Boolean).map(x=>{var M,B;return w(h({},x),{animationName:(M=x==null?void 0:x.root)==null?void 0:M.animationName,animationDuration:((B=x==null?void 0:x.root)==null?void 0:B.animationDuration)||yu})}),b=gu(v),$=V(v[b]||{}),y=re(a.root,...J),j=(I=$==null?void 0:$.root)!=null&&I.hasCustomBackground?ee(($==null?void 0:$.root)||{},...J):ee(a.root,...J);return s("div",{ref:o,className:E(z.root,{[z.desktop]:r==="desktop",[z.laptop]:r==="laptop",[z.tablet]:r==="tablet",[z.variant2]:((C=a.root)==null?void 0:C.variant)==="variant2"}),style:w(h({},y),{display:c?"block":"none"}),children:[s("div",{className:z.close,style:a.close,onClick:u,children:s(Ce,{})}),s("a",{href:(L=a.root)==null?void 0:L.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:d,children:[s("div",{className:z.background,style:j}),s("div",{className:z.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),s("div",{className:z.content,children:[s("div",{className:z.left,children:s("div",{className:z.logo,style:a.logo})}),s("div",{className:z.center,children:(v||[]).map((x,M)=>{var B,Z;return s("div",{className:z.slide,style:{animationName:b===M?z[((B=x.root)==null?void 0:B.animationName)||"fade-in-out"]:"none",animationDuration:`${(Z=x.root)==null?void 0:Z.animationDuration}ms`},children:s(_e,{value:w(h({},x),{device:r}),children:p(x.name)})})})}),s("div",{className:z.right,children:[s("div",{className:z.logo,style:a.logo}),s("div",{className:z.buttonWrapper,children:s("div",{className:E(z.button,{[z.button_animated]:a.button.$animated}),style:a.button,children:[s("div",{className:z.logo,style:a.logo}),(q=a.button)==null?void 0:q.children]})})]})]})]})]})}),ku=pe(s($u,{})),xu=(e,t,o,n,r=Lo)=>{const i=h({},e);return r.forEach(a=>{i[t]=w(h({},i[t]),{[a]:w(h({},i[t][a]),{[o]:typeof n=="function"?n(m(i,`${t}.${a}.${o}`)):n})})}),i},nt=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(h({},e),{color:t});return re(o,"backgroundColor")};var ve=[],wu=function(){return ve.some(function(e){return e.activeTargets.length>0})},Nu=function(){return ve.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)},Ee;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ee||(Ee={}));var me=function(e){return Object.freeze(e)},Xo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,me(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,me(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}(),bt=function(e){return e instanceof SVGElement&&"getBBox"in e},Zo=function(e){if(bt(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=me({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=bt(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),v=n?0:ie(o.borderRightWidth),b=n?0:ie(o.borderBottomWidth),$=n?0:ie(o.borderLeftWidth),y=f+d,j=c+u,I=$+v,C=p+b,L=l?e.offsetHeight-C-e.clientHeight:0,P=a?e.offsetWidth-I-e.clientWidth:0,q=r?y+I:0,x=r?j+C:0,M=n?n.width:ie(o.width)-q-P,B=n?n.height:ie(o.height)-x-L,Z=M+y+P+I,be=B+j+L+C,Be=me({devicePixelContentBoxSize:Se(Math.round(M*devicePixelRatio),Math.round(B*devicePixelRatio),i),borderBoxSize:Se(Z,be,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 Ee.DEVICE_PIXEL_CONTENT_BOX:return a;case Ee.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=me([o.borderBoxSize]),this.contentBoxSize=me([o.contentBoxSize]),this.devicePixelContentBoxSize=me([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=[];ve.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){ve.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))})})},zu=function(){var e=0;for(rn(e);wu();)e=Au(),rn(e);return Nu()&&Ou(),e>0},yt,an=[],Ru=function(){return an.splice(0).forEach(function(e){return e()})},ju=function(e){if(!yt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Ru()}).observe(o,n),yt=function(){o.textContent="".concat(t?t--:t++)}}an.push(e),yt()},Iu=function(e){ju(function(){requestAnimationFrame(e)})},at=0,Lu=function(){return!!at},Eu=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=Eu),!$t){$t=!0;var n=cn(t);Iu(function(){var r=!1;try{r=zu()}finally{if($t=!1,t=n-cn(),!Lu())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!bt(e)&&!Tu(e)&&getComputedStyle(e).display==="inline"},Mu=function(){function e(t,o){this.target=t,this.observedBox=o||Ee.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&&ve.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&&ve.splice(ve.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"}));g.BonusCard=_u,g.ComplexGift=Zd,g.ComplexPopup=ru,g.ExpressPopup=cu,g.SimpleGift=Ud,g.SimplePopup=tu,g.WideCard=ku,g.backgroundToColor=nt,g.filterDeep=zd,g.findDeep=Ad,g.isValidTemplate=Cd,g.modifyState=xu,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|