@adstore/templates 2.1.9 → 2.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,4 @@
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 a=arguments[r];if(a){var s=typeof a;if(s==="string"||s==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=o.apply(null,a);l&&n.push(l)}}else if(s==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var c in a)t.call(a,c)&&a[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Wo);const C=Ke;var oe,b,Xe,_t,ue=0,ut=[],Se=[],ft=u.options.__b,pt=u.options.__r,vt=u.options.diffed,ht=u.options.__c,gt=u.options.unmount;function fe(e,t){u.options.__h&&u.options.__h(b,e,ue||t),ue=0;var o=b.__H||(b.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Se}),o.__[e]}function pe(e){return ue=1,Uo(wt,e)}function Uo(e,t,o){var n=fe(oe++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):wt(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=b,!b.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(p){return p.__c});if(_.every(function(p){return!p.__N}))return!a||a.call(this,l,c,d);var f=!1;return _.forEach(function(p){if(p.__N){var h=p.__[0];p.__=p.__N,p.__N=void 0,h!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!a||a.call(this,l,c,d))};b.u=!0;var a=b.shouldComponentUpdate,s=b.componentWillUpdate;b.componentWillUpdate=function(l,c,d){if(this.__e){var _=a;a=void 0,r(l,c,d),a=_}s&&s.call(this,l,c,d)},b.shouldComponentUpdate=r}return n.__N||n.__}function ne(e,t){var o=fe(oe++,3);!u.options.__s&&Ye(o.__H,t)&&(o.__=e,o.i=t,b.__H.__h.push(o))}function bt(e,t){var o=fe(oe++,4);!u.options.__s&&Ye(o.__H,t)&&(o.__=e,o.i=t,b.__h.push(o))}function z(e){return ue=5,yt(function(){return{current:e}},[])}function mt(e,t,o){ue=6,bt(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 yt(e,t){var o=fe(oe++,7);return Ye(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function Ko(e){var t=b.context[e.__c],o=fe(oe++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(b)),t.props.value):e.__}function Xo(){for(var e;e=ut.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ae),e.__H.__h.forEach(Je),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){b=null,ft&&ft(e)},u.options.__r=function(e){pt&&pt(e),oe=0;var t=(b=e.__c).__H;t&&(Xe===b?(t.__h=[],b.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Se,o.__N=o.i=void 0})):(t.__h.forEach(Ae),t.__h.forEach(Je),t.__h=[])),Xe=b},u.options.diffed=function(e){vt&&vt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ut.push(t)!==1&&_t===u.options.requestAnimationFrame||((_t=u.options.requestAnimationFrame)||Jo)(Xo)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Se&&(o.__=o.__V),o.i=void 0,o.__V=Se})),Xe=b=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Ae),o.__h=o.__h.filter(function(n){return!n.__||Je(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),ht&&ht(e,t)},u.options.unmount=function(e){gt&&gt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Ae(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var $t=typeof requestAnimationFrame=="function";function Jo(e){var t,o=function(){clearTimeout(n),$t&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);$t&&(t=requestAnimationFrame(o))}function Ae(e){var t=b,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),b=t}function Je(e){var t=b;e.__c=e.__(),b=t}function Ye(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function wt(e,t){return typeof t=="function"?t(e):t}function xt(e,t){for(var o in t)e[o]=t[o];return e}function Ot(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 Tt(e){this.props=e}(Tt.prototype=new u.Component).isPureReactComponent=!0,Tt.prototype.shouldComponentUpdate=function(e,t){return Ot(this.props,e)||Ot(this.state,t)};var kt=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),kt&&kt(e)};var Yo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ve(e){function t(o){var n=xt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=Yo,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zo=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Zo(e,t,o,n)};var Nt=u.options.unmount;function Ct(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=xt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Ct(n,t,o)})),e}function St(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return St(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 Ze(){this.__u=0,this.t=null,this.__b=null}function At(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Nt&&Nt(e)},(Ze.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=At(n.__v),a=!1,s=function(){a||(a=!0,o.__R=null,r?r(l):l())};o.__R=s;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=St(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Ze.prototype.componentWillUnmount=function(){this.t=[]},Ze.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]=Ct(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Rt=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]}};(Re.prototype=new u.Component).__a=function(e){var t=this,o=At(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Rt(t,e,n)):r()};o?o(a):a()}},Re.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Re.prototype.componentDidUpdate=Re.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Rt(e,o,t)})};var Qo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,en=/^(?: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]/,tn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,on=/[A-Z0-9]/g,nn=typeof document<"u",rn=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var jt=u.options.event;function an(){}function sn(){return this.cancelBubble}function cn(){return this.defaultPrevented}u.options.event=function(e){return jt&&(e=jt(e)),e.persist=an,e.isPropagationStopped=sn,e.isDefaultPrevented=cn,e.nativeEvent=e};var ln={enumerable:!1,configurable:!0,get:function(){return this.class}},Et=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var s=o[a];if(!(a==="value"&&"defaultValue"in o&&s==null||nn&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&s===!0?s="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||rn(o.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":tn.test(a)?a=l:n.indexOf("-")===-1&&en.test(a)?a=a.replace(on,"-$&").toLowerCase():s===null&&(s=void 0):l=a="oninput",l==="oninput"&&r[a=l]&&(a="oninputCapture"),r[a]=s}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",ln)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Qo,Et&&Et(e)};var It=u.options.__r;u.options.__r=function(e){It&&It(e),e.__c};var Pt=u.options.diffed;u.options.diffed=function(e){Pt&&Pt(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 dn(){this.__data__=[],this.size=0}var _n=dn;function un(e,t){return e===t||e!==e&&t!==t}var je=un,fn=je;function pn(e,t){for(var o=e.length;o--;)if(fn(e[o][0],t))return o;return-1}var Ee=pn,vn=Ee,hn=Array.prototype,gn=hn.splice;function bn(e){var t=this.__data__,o=vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():gn.call(t,o,1),--this.size,!0}var mn=bn,yn=Ee;function $n(e){var t=this.__data__,o=yn(t,e);return o<0?void 0:t[o][1]}var wn=$n,xn=Ee;function On(e){return xn(this.__data__,e)>-1}var Tn=On,kn=Ee;function Nn(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 Cn=Nn,Sn=_n,An=mn,Rn=wn,jn=Tn,En=Cn;function re(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])}}re.prototype.clear=Sn,re.prototype.delete=An,re.prototype.get=Rn,re.prototype.has=jn,re.prototype.set=En;var Ie=re,In=Ie;function Pn(){this.__data__=new In,this.size=0}var Bn=Pn;function Ln(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var zn=Ln;function qn(e){return this.__data__.get(e)}var Hn=qn;function Dn(e){return this.__data__.has(e)}var Mn=Dn,Vn=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,Bt=Vn,Fn=Bt,Gn=typeof self=="object"&&self&&self.Object===Object&&self,Wn=Fn||Gn||Function("return this")(),ae=Wn,Un=ae,Kn=Un.Symbol,Lt=Kn,zt=Lt,qt=Object.prototype,Xn=qt.hasOwnProperty,Jn=qt.toString,he=zt?zt.toStringTag:void 0;function Yn(e){var t=Xn.call(e,he),o=e[he];try{e[he]=void 0;var n=!0}catch{}var r=Jn.call(e);return n&&(t?e[he]=o:delete e[he]),r}var Zn=Yn,Qn=Object.prototype,er=Qn.toString;function tr(e){return er.call(e)}var or=tr,Ht=Lt,nr=Zn,rr=or,ar="[object Null]",ir="[object Undefined]",Dt=Ht?Ht.toStringTag:void 0;function sr(e){return e==null?e===void 0?ir:ar:Dt&&Dt in Object(e)?nr(e):rr(e)}var Pe=sr;function cr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var W=cr,lr=Pe,dr=W,_r="[object AsyncFunction]",ur="[object Function]",fr="[object GeneratorFunction]",pr="[object Proxy]";function vr(e){if(!dr(e))return!1;var t=lr(e);return t==ur||t==fr||t==_r||t==pr}var Qe=vr,hr=ae,gr=hr["__core-js_shared__"],br=gr,et=br,Mt=function(){var e=/[^.]+$/.exec(et&&et.keys&&et.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function mr(e){return!!Mt&&Mt in e}var yr=mr,$r=Function.prototype,wr=$r.toString;function xr(e){if(e!=null){try{return wr.call(e)}catch{}try{return e+""}catch{}}return""}var Or=xr,Tr=Qe,kr=yr,Nr=W,Cr=Or,Sr=/[\\^$.*+?()[\]{}|]/g,Ar=/^\[object .+?Constructor\]$/,Rr=Function.prototype,jr=Object.prototype,Er=Rr.toString,Ir=jr.hasOwnProperty,Pr=RegExp("^"+Er.call(Ir).replace(Sr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Br(e){if(!Nr(e)||kr(e))return!1;var t=Tr(e)?Pr:Ar;return t.test(Cr(e))}var Lr=Br;function zr(e,t){return e==null?void 0:e[t]}var qr=zr,Hr=Lr,Dr=qr;function Mr(e,t){var o=Dr(e,t);return Hr(o)?o:void 0}var tt=Mr,Vr=tt,Fr=ae,Gr=Vr(Fr,"Map"),Vt=Gr,Wr=tt,Ur=Wr(Object,"create"),Be=Ur,Ft=Be;function Kr(){this.__data__=Ft?Ft(null):{},this.size=0}var Xr=Kr;function Jr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Yr=Jr,Zr=Be,Qr="__lodash_hash_undefined__",ea=Object.prototype,ta=ea.hasOwnProperty;function oa(e){var t=this.__data__;if(Zr){var o=t[e];return o===Qr?void 0:o}return ta.call(t,e)?t[e]:void 0}var na=oa,ra=Be,aa=Object.prototype,ia=aa.hasOwnProperty;function sa(e){var t=this.__data__;return ra?t[e]!==void 0:ia.call(t,e)}var ca=sa,la=Be,da="__lodash_hash_undefined__";function _a(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=la&&t===void 0?da:t,this}var ua=_a,fa=Xr,pa=Yr,va=na,ha=ca,ga=ua;function ie(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])}}ie.prototype.clear=fa,ie.prototype.delete=pa,ie.prototype.get=va,ie.prototype.has=ha,ie.prototype.set=ga;var ba=ie,Gt=ba,ma=Ie,ya=Vt;function $a(){this.size=0,this.__data__={hash:new Gt,map:new(ya||ma),string:new Gt}}var wa=$a;function xa(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Oa=xa,Ta=Oa;function ka(e,t){var o=e.__data__;return Ta(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Le=ka,Na=Le;function Ca(e){var t=Na(this,e).delete(e);return this.size-=t?1:0,t}var Sa=Ca,Aa=Le;function Ra(e){return Aa(this,e).get(e)}var ja=Ra,Ea=Le;function Ia(e){return Ea(this,e).has(e)}var Pa=Ia,Ba=Le;function La(e,t){var o=Ba(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var za=La,qa=wa,Ha=Sa,Da=ja,Ma=Pa,Va=za;function se(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])}}se.prototype.clear=qa,se.prototype.delete=Ha,se.prototype.get=Da,se.prototype.has=Ma,se.prototype.set=Va;var Fa=se,Ga=Ie,Wa=Vt,Ua=Fa,Ka=200;function Xa(e,t){var o=this.__data__;if(o instanceof Ga){var n=o.__data__;if(!Wa||n.length<Ka-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new Ua(n)}return o.set(e,t),this.size=o.size,this}var Ja=Xa,Ya=Ie,Za=Bn,Qa=zn,ei=Hn,ti=Mn,oi=Ja;function ce(e){var t=this.__data__=new Ya(e);this.size=t.size}ce.prototype.clear=Za,ce.prototype.delete=Qa,ce.prototype.get=ei,ce.prototype.has=ti,ce.prototype.set=oi;var ni=ce,ri=tt,ai=function(){try{var e=ri(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Wt=ai,Ut=Wt;function ii(e,t,o){t=="__proto__"&&Ut?Ut(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ot=ii,si=ot,ci=je;function li(e,t,o){(o!==void 0&&!ci(e[t],o)||o===void 0&&!(t in e))&&si(e,t,o)}var Kt=li;function di(e){return function(t,o,n){for(var r=-1,a=Object(t),s=n(t),l=s.length;l--;){var c=s[e?l:++r];if(o(a[c],c,a)===!1)break}return t}}var _i=di,ui=_i,fi=ui(),pi=fi,ze={},vi={get exports(){return ze},set exports(e){ze=e}};(function(e,t){var o=ae,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(d,_){if(_)return d.slice();var f=d.length,p=l?l(f):new d.constructor(f);return d.copy(p),p}e.exports=c})(vi,ze);var hi=ae,gi=hi.Uint8Array,bi=gi,Xt=bi;function mi(e){var t=new e.constructor(e.byteLength);return new Xt(t).set(new Xt(e)),t}var yi=mi,$i=yi;function wi(e,t){var o=t?$i(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var xi=wi;function Oi(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ti=Oi,ki=W,Jt=Object.create,Ni=function(){function e(){}return function(t){if(!ki(t))return{};if(Jt)return Jt(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ci=Ni;function Si(e,t){return function(o){return e(t(o))}}var Ai=Si,Ri=Ai,ji=Ri(Object.getPrototypeOf,Object),Yt=ji,Ei=Object.prototype;function Ii(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Ei;return e===o}var Zt=Ii,Pi=Ci,Bi=Yt,Li=Zt;function zi(e){return typeof e.constructor=="function"&&!Li(e)?Pi(Bi(e)):{}}var qi=zi;function Hi(e){return e!=null&&typeof e=="object"}var ge=Hi,Di=Pe,Mi=ge,Vi="[object Arguments]";function Fi(e){return Mi(e)&&Di(e)==Vi}var Gi=Fi,Qt=Gi,Wi=ge,eo=Object.prototype,Ui=eo.hasOwnProperty,Ki=eo.propertyIsEnumerable,Xi=Qt(function(){return arguments}())?Qt:function(e){return Wi(e)&&Ui.call(e,"callee")&&!Ki.call(e,"callee")},to=Xi,Ji=Array.isArray,oo=Ji,Yi=9007199254740991;function Zi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Yi}var no=Zi,Qi=Qe,es=no;function ts(e){return e!=null&&es(e.length)&&!Qi(e)}var nt=ts,os=nt,ns=ge;function rs(e){return ns(e)&&os(e)}var as=rs,be={},is={get exports(){return be},set exports(e){be=e}};function ss(){return!1}var cs=ss;(function(e,t){var o=ae,n=cs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===r,l=s?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(is,be);var ls=Pe,ds=Yt,_s=ge,us="[object Object]",fs=Function.prototype,ps=Object.prototype,ro=fs.toString,vs=ps.hasOwnProperty,hs=ro.call(Object);function gs(e){if(!_s(e)||ls(e)!=us)return!1;var t=ds(e);if(t===null)return!0;var o=vs.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&ro.call(o)==hs}var bs=gs,ms=Pe,ys=no,$s=ge,ws="[object Arguments]",xs="[object Array]",Os="[object Boolean]",Ts="[object Date]",ks="[object Error]",Ns="[object Function]",Cs="[object Map]",Ss="[object Number]",As="[object Object]",Rs="[object RegExp]",js="[object Set]",Es="[object String]",Is="[object WeakMap]",Ps="[object ArrayBuffer]",Bs="[object DataView]",Ls="[object Float32Array]",zs="[object Float64Array]",qs="[object Int8Array]",Hs="[object Int16Array]",Ds="[object Int32Array]",Ms="[object Uint8Array]",Vs="[object Uint8ClampedArray]",Fs="[object Uint16Array]",Gs="[object Uint32Array]",g={};g[Ls]=g[zs]=g[qs]=g[Hs]=g[Ds]=g[Ms]=g[Vs]=g[Fs]=g[Gs]=!0,g[ws]=g[xs]=g[Ps]=g[Os]=g[Bs]=g[Ts]=g[ks]=g[Ns]=g[Cs]=g[Ss]=g[As]=g[Rs]=g[js]=g[Es]=g[Is]=!1;function Ws(e){return $s(e)&&ys(e.length)&&!!g[ms(e)]}var Us=Ws;function Ks(e){return function(t){return e(t)}}var Xs=Ks,qe={},Js={get exports(){return qe},set exports(e){qe=e}};(function(e,t){var o=Bt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Js,qe);var Ys=Us,Zs=Xs,ao=qe,io=ao&&ao.isTypedArray,Qs=io?Zs(io):Ys,so=Qs;function ec(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var co=ec,tc=ot,oc=je,nc=Object.prototype,rc=nc.hasOwnProperty;function ac(e,t,o){var n=e[t];(!(rc.call(e,t)&&oc(n,o))||o===void 0&&!(t in e))&&tc(e,t,o)}var ic=ac,sc=ic,cc=ot;function lc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?cc(o,l,c):sc(o,l,c)}return o}var dc=lc;function _c(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var uc=_c,fc=9007199254740991,pc=/^(?:0|[1-9]\d*)$/;function vc(e,t){var o=typeof e;return t=t??fc,!!t&&(o=="number"||o!="symbol"&&pc.test(e))&&e>-1&&e%1==0&&e<t}var lo=vc,hc=uc,gc=to,bc=oo,mc=be,yc=lo,$c=so,wc=Object.prototype,xc=wc.hasOwnProperty;function Oc(e,t){var o=bc(e),n=!o&&gc(e),r=!o&&!n&&mc(e),a=!o&&!n&&!r&&$c(e),s=o||n||r||a,l=s?hc(e.length,String):[],c=l.length;for(var d in e)(t||xc.call(e,d))&&!(s&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||yc(d,c)))&&l.push(d);return l}var Tc=Oc;function kc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Nc=kc,Cc=W,Sc=Zt,Ac=Nc,Rc=Object.prototype,jc=Rc.hasOwnProperty;function Ec(e){if(!Cc(e))return Ac(e);var t=Sc(e),o=[];for(var n in e)n=="constructor"&&(t||!jc.call(e,n))||o.push(n);return o}var Ic=Ec,Pc=Tc,Bc=Ic,Lc=nt;function zc(e){return Lc(e)?Pc(e,!0):Bc(e)}var _o=zc,qc=dc,Hc=_o;function Dc(e){return qc(e,Hc(e))}var Mc=Dc,uo=Kt,Vc=ze,Fc=xi,Gc=Ti,Wc=qi,fo=to,po=oo,Uc=as,Kc=be,Xc=Qe,Jc=W,Yc=bs,Zc=so,vo=co,Qc=Mc;function el(e,t,o,n,r,a,s){var l=vo(e,o),c=vo(t,o),d=s.get(c);if(d){uo(e,o,d);return}var _=a?a(l,c,o+"",e,t,s):void 0,f=_===void 0;if(f){var p=po(c),h=!p&&Kc(c),y=!p&&!h&&Zc(c);_=c,p||h||y?po(l)?_=l:Uc(l)?_=Gc(l):h?(f=!1,_=Vc(c,!0)):y?(f=!1,_=Fc(c,!0)):_=[]:Yc(c)||fo(c)?(_=l,fo(l)?_=Qc(l):(!Jc(l)||Xc(l))&&(_=Wc(c))):f=!1}f&&(s.set(c,_),r(_,c,n,a,s),s.delete(c)),uo(e,o,_)}var tl=el,ol=ni,nl=Kt,rl=pi,al=tl,il=W,sl=_o,cl=co;function ho(e,t,o,n,r){e!==t&&rl(t,function(a,s){if(r||(r=new ol),il(a))al(e,t,s,o,ho,n,r);else{var l=n?n(cl(e,s),a,s+"",e,t,r):void 0;l===void 0&&(l=a),nl(e,s,l)}},sl)}var ll=ho;function dl(e){return e}var go=dl;function _l(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 ul=_l,fl=ul,bo=Math.max;function pl(e,t,o){return t=bo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=bo(n.length-t,0),s=Array(a);++r<a;)s[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(s),fl(e,this,l)}}var vl=pl;function hl(e){return function(){return e}}var gl=hl,bl=gl,mo=Wt,ml=go,yl=mo?function(e,t){return mo(e,"toString",{configurable:!0,enumerable:!1,value:bl(t),writable:!0})}:ml,$l=yl,wl=800,xl=16,Ol=Date.now;function Tl(e){var t=0,o=0;return function(){var n=Ol(),r=xl-(n-o);if(o=n,r>0){if(++t>=wl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var kl=Tl,Nl=$l,Cl=kl,Sl=Cl(Nl),Al=Sl,Rl=go,jl=vl,El=Al;function Il(e,t){return El(jl(e,t,Rl),e+"")}var Pl=Il,Bl=je,Ll=nt,zl=lo,ql=W;function Hl(e,t,o){if(!ql(o))return!1;var n=typeof t;return(n=="number"?Ll(o)&&zl(t,o.length):n=="string"&&t in o)?Bl(o[t],e):!1}var Dl=Hl,Ml=Pl,Vl=Dl;function Fl(e){return Ml(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,s=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,s&&Vl(o[0],o[1],s)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,a)}return t})}var Gl=Fl,Wl=ll,Ul=Gl;Ul(function(e,t,o){Wl(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(P).join(".");return me(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const s=[o,r].filter(P).join(".");return n[r]=me(t(r,a,s),t,s),n},{}):e,Kl=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},yo=()=>{let e={};return{on:(s,l)=>{s in e?e[s].push(l):e[s]=[l]},has:s=>s in e,get:s=>e[s],emit:(s,...l)=>s in e?e[s].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},$o=e=>!e&&e==null,P=e=>!$o(e),le=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function ye(e,...t){const o={...e};return t.forEach(n=>{delete o[n]}),o}const Xl=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,s)=>a&&a[s],e);return r===void 0?o:r},He=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,s)=>(r[a]===void 0&&(r[a]={}),s===n.length-1&&(r[a]=o),r[a]),e)},Jl=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},Yl=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Zl=e=>"id"in e&&"root"in e,Ql=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),ed=(e,t)=>{try{me(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},wo=["desktop","laptop","tablet","mobile"],td={mobile:320,tablet:768,laptop:1024,desktop:1920},$={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var od=0;function i(e,t,o,n,r,a){var s,l,c={};for(l in t)l=="ref"?s=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--od,__source:r,__self:a};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)c[l]===void 0&&(c[l]=s[l]);return u.options.vnode&&u.options.vnode(d),d}const xo=u.createContext(),U=({children:e,value:t})=>i(xo.Provider,{value:t,children:e}),K=e=>async({target:t,id:o,ref:n,state:r,...a})=>{if(!("ResizeObserver"in window)){const s=await Promise.resolve().then(()=>a_);window.ResizeObserver=s.ResizeObserver}return u.render(i(U,{value:r,children:u.cloneElement(e,{ref:n,id:o,...a})}),t)},j=()=>Ko(xo),nd=(e={})=>typeof e=="object"&&P(e)&&wo.every(t=>t in e),rd=(e,t)=>e&&me(e,(o,n)=>{if(nd(n)){const r=n[t];return"parent"in r&&P(r.parent)?{...n[r.parent],...ye(r,"parent")}:r}return n}),X=(e,t)=>rd(e,t),de=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=td})=>{const[r,a]=pe("desktop"),s=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries({...n}).sort(([p,h],[y,x])=>h-x),_=((f=d.find(([p,h],y)=>{const[x,v]=d[y+1]||[];return c>=h&&c<v}))==null?void 0:f[0])||"desktop";a(_)};return bt(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>s(l)).observe(l),s(l))},[]),r},De=(e,t)=>`${e}${t}`,ad=e=>e.startsWith("px_"),id=e=>e.startsWith("percent_"),sd=(e,t)=>{let o=e,n=t;return ad(o)&&(o=o.replace("px_",""),n=De(t,"px")),id(o)&&(o=o.replace("percent_",""),n=De(t,"%")),{key:o,value:n}},cd=["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"],ld=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e={...e,...n,"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize}}return Object.entries(e).reduce((n,[r,a])=>{cd.includes(r)&&(a=De(a,"px"));const{key:s,value:l}=sd(r,a);if(n[s]=l,s==="innerHTML"&&(n.innerHTML=P(l)?`${l}`:""),s==="innerText"&&(n.innerText=P(l)?`${l}`:""),s==="children"&&(n.children=typeof l=="string"?P(l)?`${l}`:"":l),(s==="innerHTML"||s==="innerText"||s==="children")&&(typeof l=="string"&&l.length===0||$o(l))&&(n.display="none"),s.includes("borderWidth")&&(n.borderStyle="solid"),s==="corner"&&(n.borderRadius=De(l,"px")),s==="backgroundFit"&&(n.backgroundSize=l),s==="backgroundImage"&&P(l)&&(n.backgroundImage=`url(${l})`,n.backgroundRepeat="no-repeat"),s==="backgroundColorOpacity"&&P(n.backgroundColorOpacity)&&P(n.backgroundColor)){const c=Jl(n.backgroundColor);c&&(n.backgroundColor=Ql(`rgb(${c.r}, ${c.g}, ${c.b})`,+n.backgroundColorOpacity/100))}return s==="isBold"&&(n.fontWeight=l?"bold":"initial"),s==="isItalic"&&(n.fontStyle=l?"italic":"initial"),s==="isThrough"&&(n.textDecoration=l?"line-through":"initial"),n},e)},dd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,S=e=>P(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=dd(n)?ld({...e[o]},o):n,t),{}):e,$e=({children:e,...t})=>{var n;const o=(n=e==null?void 0:e.replace("script",""))==null?void 0:n.replace(/{{(.*?)}}/g,"<span>$1</span>");return i("div",{...t,dangerouslySetInnerHTML:{__html:o}})},Oo=()=>{const[e,t]=pe(!1);return[e,()=>t(o=>!o)]},we=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:i("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),rt=()=>i("svg",{viewBox:"0 0 16 16",children:i("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),_d=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`}),To=(e,t)=>{var _,f,p,h,y,x,v,w,m,T,I,L,F;const o=_d(t),n=S(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,a={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:(h=n==null?void 0:n.container)==null?void 0:h.borderWidth,borderTopColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderTopStyle:"solid",borderLeftWidth:(x=n==null?void 0:n.container)==null?void 0:x.borderWidth,borderLeftColor:(v=n==null?void 0:n.container)==null?void 0:v.borderColor,borderLeftStyle:"solid"},s={left:(w=n==null?void 0:n.container)==null?void 0:w.left},l=(((m=n==null?void 0:n.icon)==null?void 0:m.animations)||[]).map(G=>o[G]).join(", "),c=P((T=n==null?void 0:n.icon)==null?void 0:T.gradientColor)&&((I=n==null?void 0:n.icon)!=null&&I.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(L=n.icon)==null?void 0:L.backgroundColor} 0%, ${(F=n==null?void 0:n.icon)==null?void 0:F.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d={...(n==null?void 0:n.icon)||{},animation:l,...c};return{hasIcon:r,arrowRules:a,bodyRules:s,iconRules:d}},xe=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=yt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);ne(()=>{o.forEach(n=>Kl(n))},[o])},Oe=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],ud=["borderWidth","borderColor","borderStyle"],ko=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],fd=e=>console.log(`Noop YaMektika reach goal: ${e}`),pd=e=>console.log(`Noop AdFox reach goal: ${e}`),vd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=pe(!1),a=z(null),s=c=>{clearTimeout(a.current),a.current=null},l=()=>{s(a.current),r(c=>!c)};return ne(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>s(a.current)),[e]),ne(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:l}},No=({ref:e,openDelay:t})=>{const o=z(yo()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),a=c=>o.current.on("autoOpen",c),{isOpen:s,toggle:l}=vd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return mt(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:s,toggle:l,click:()=>o.current.emit("click")}},hd=ve(({id:e},t)=>{var w,m,T,I,L,F,G;const o=z(null),[n,r]=Oo(),a=j(),s=de({targetRef:o,id:e}),l=X(a,s),c=S(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:p}=To(l,{fade:$.fadein,pulse:$.pulse,wiggle:$.wiggle,gradient:$.gradient}),{isOpen:h,toggle:y,click:x}=No({ref:t,openDelay:(w=l==null?void 0:l.container)==null?void 0:w.delay});xe(l);const v=n?le(c.container,...ud):{};return i("div",{className:C($.root,{[$.legalOpen]:n}),ref:o,children:[i("div",{className:$.icon,style:_,onClick:y,children:d&&i("div",{className:$.iconTarget,children:i(rt,{})})}),i("div",{className:C($.body,{[$.bodyOpen]:h}),style:f,children:[i("div",{className:$.arrow,style:p}),i("div",{className:$.close,style:c==null?void 0:c.close,onClick:y,children:i(we,{})}),i("div",{className:$.container,style:c==null?void 0:c.container,children:[i("a",{href:(m=c==null?void 0:c.root)==null?void 0:m.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:x,children:[i("div",{className:$.inner,children:[i("div",{className:$.logo,style:c==null?void 0:c.logo}),i($e,{className:$.text,style:c==null?void 0:c.text,children:(T=c==null?void 0:c.text)==null?void 0:T.children})]}),i("div",{className:C($.button,{[$.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(I=c==null?void 0:c.button)==null?void 0:I.children})]}),i("div",{className:$.legalGap}),i("div",{className:$.legal,style:{...c==null?void 0:c.legal,...v},children:i("span",{className:$.legalText,children:i("span",{children:[i("span",{children:(L=c==null?void 0:c.legal)==null?void 0:L.children}),i("span",{className:$.legalButton,onClick:r,children:n?(F=c==null?void 0:c.legal)==null?void 0:F.buttonOpenText:(G=c==null?void 0:c.legal)==null?void 0:G.buttonHideText})]})})})]})]})]})}),gd=K(i(hd,{})),O={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},q={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},at=(e,t="root")=>{const o=z(),n=(e==null?void 0:e.yaReachGoal)||fd,r=(e==null?void 0:e.adfoxReachGoal)||pd,a=P(e)?le(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return ne(()=>{Yl(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},bd=()=>{var n,r,a,s,l;const e=j(),t=S(e),o=at(e);return i("a",{href:(n=t.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(q.root,{[q.variant2]:((r=t.root)==null?void 0:r.variant)==="variant2"}),style:t.root,onClick:o,children:[i("div",{className:q.body,children:[i("div",{className:q.line,style:t.line}),i("div",{className:q.bodyInner,children:[i("div",{className:q.logo,style:t.logo}),i("div",{className:q.text,style:t.text,children:i($e,{children:(a=t.text)==null?void 0:a.children})})]}),i("div",{className:q.button,style:t.button,children:[i("div",{className:q.logo,style:t.logo}),i("div",{className:q.buttonText,children:(s=t.button)==null?void 0:s.children})]})]}),i("div",{className:q.legal,style:t.legal,children:(l=t.legal)==null?void 0:l.children})]})},md=ve(({id:e},t)=>{var x,v,w,m;const o=z(null),n=j(),r=de({targetRef:o,id:e}),a=X(n,r),s=S(a),{isOpen:l,click:c,toggle:d}=No({ref:t,openDelay:(x=a==null?void 0:a.container)==null?void 0:x.delay});xe(a);const{hasIcon:_,iconRules:f,bodyRules:p,arrowRules:h}=To(a,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),y=(v=s==null?void 0:s.title)==null?void 0:v.hasIcon;return i("div",{ref:o,className:C(O.root,{[O.desktop]:r==="desktop",[O.laptop]:r==="laptop",[O.tablet]:r==="tablet"}),children:[i("div",{className:O.icon,style:f,onClick:d,children:_&&i("div",{className:O.iconTarget,children:i(rt,{})})}),i("div",{className:C(O.body,{[O.bodyOpen]:l}),style:p,children:[i("div",{className:O.arrow,style:h}),i("div",{className:O.container,style:s.container,children:[i("div",{className:O.close,style:s.close,onClick:d,children:i(we,{})}),i("div",{className:O.promotion,style:s.promotion,children:(w=s.promotion)==null?void 0:w.children}),i("div",{className:O.head,children:[y&&i("div",{className:O.headIcon,style:le(s.title,"color"),children:i(rt,{})}),i("div",{className:O.headTitle,style:s.title,children:(m=s.title)==null?void 0:m.children})]}),i("div",{className:O.inner,onClick:c,children:(s.children||[]).map(T=>i(U,{value:T,children:i(bd,{})}))})]})]})]})}),yd=K(i(md,{})),B={root:"_root_1f2tm_1",content:"_content_1f2tm_11",laptop:"_laptop_1f2tm_20",tablet:"_tablet_1f2tm_24",desktop:"_desktop_1f2tm_28",wrapper:"_wrapper_1f2tm_32",overlay:"_overlay_1f2tm_36",close:"_close_1f2tm_42",body:"_body_1f2tm_50",logo:"_logo_1f2tm_62",text:"_text_1f2tm_68",button:"_button_1f2tm_72",legal:"_legal_1f2tm_87"},J=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],$d={root:"_root_2ic16_1"},wd=()=>{var o;const e=j(),t=S(e);return i("div",{className:$d.root,style:t.root,children:i($e,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},it=e=>{const t=z(yo()),[o,n]=pe(!1),r=c=>t.current.on("visible",c),a=c=>t.current.on("click",c),s=()=>n(!0),l=()=>n(!1);return ne(()=>{t.current.emit("visible",o)},[o]),mt(e,()=>({onVisible:r,onClick:a,show:s,hide:l})),{isOpen:o,show:s,hide:l,click:()=>t.current.emit("click")}},xd=ve(({id:e,className:t},o)=>{var y,x,v,w,m,T,I;const n=z(null),{isOpen:r,hide:a,click:s}=it(o),l=de({targetRef:n,id:e}),c=j(),d=X(c,l);xe(d),He(d,"button.percent_width",(y=d==null?void 0:d.button)==null?void 0:y.width),He(d,"legal.percent_width",(x=d==null?void 0:d.legal)==null?void 0:x.width);const _=S(d),f={alignItems:J((v=_.root)==null?void 0:v.align)},p={..._==null?void 0:_.button,justifyContent:J((w=_.root)==null?void 0:w.textAlign)},h={..._==null?void 0:_.legal,justifyContent:J((m=_.root)==null?void 0:m.textAlign)};return i("div",{className:C(B.root,t),ref:n,style:{display:r?"flex":"none"},children:[i("div",{className:B.overlay,style:_.overlay,onClick:a}),i("div",{className:B.wrapper,children:[i("div",{className:B.close,style:{color:(T=_.close)==null?void 0:T.backgroundColor},onClick:a,children:i(we,{})}),i("a",{href:(I=_.root)==null?void 0:I.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(B.content,{[B.desktop]:l==="desktop",[B.tablet]:l==="tablet",[B.laptop]:l==="laptop"}),style:_.root,onClick:s,children:i("div",{className:B.body,style:f,children:[i("div",{className:B.logo,style:_.logo}),i("div",{className:B.text,children:((_==null?void 0:_.children)||[]).map(L=>i(U,{value:L,children:i(wd,{})}))}),i("div",{className:B.button,style:p,children:p==null?void 0:p.children}),i("div",{className:B.legal,style:h,children:h==null?void 0:h.children})]})})]})]})}),Od=K(i(xd,{})),Y={root:"_root_1momy_1",content:"_content_1momy_11",desktop:"_desktop_1momy_23",overlay:"_overlay_1momy_28",close:"_close_1momy_34",title:"_title_1momy_41",wrapper:"_wrapper_1momy_56"},M={root:"_root_1ska4_1",desktop:"_desktop_1ska4_10",header:"_header_1ska4_15",logo:"_logo_1ska4_26",container:"_container_1ska4_33",body:"_body_1ska4_44",text:"_text_1ska4_61",button:"_button_1ska4_84",legal:"_legal_1ska4_102"},Td=({onClick:e})=>{var r,a,s,l;const t=j(),o=S(t),n=(t==null?void 0:t.device)||"desktop";return i("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(M.root,{[M.desktop]:n==="desktop"}),style:ye(o.root,...ko),onClick:e,children:[i("div",{className:M.header,style:o.header,children:i("div",{className:M.logo,style:o.logo})}),i("div",{className:M.container,style:le(o.root,...ko),children:[i("div",{className:M.body,children:[i("div",{className:M.logo}),i($e,{className:M.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),i("div",{children:[i("div",{className:M.button,style:o.button,children:(s=o.button)==null?void 0:s.children}),i("div",{className:M.legal,style:o.legal,children:(l=o.legal)==null?void 0:l.children})]})]})]})},kd=ve(({id:e},t)=>{var _,f;const o=z(null),{isOpen:n,hide:r,click:a}=it(t),s=de({targetRef:o,id:e}),l=j(),c=X(l,s),d=S(c);return xe(c),i("div",{className:Y.root,style:{display:n?"flex":"none"},children:[i("div",{className:Y.overlay,style:d.overlay,onClick:r}),i("div",{ref:o,className:C(Y.content,{[Y.desktop]:s==="desktop"}),style:d.root,children:[i("div",{className:Y.close,style:{color:(_=d.close)==null?void 0:_.backgroundColor},onClick:r,children:i(we,{})}),i("div",{className:Y.title,style:d.title,children:(f=d.title)==null?void 0:f.children}),i("div",{className:Y.wrapper,children:(d.children||[]).map(p=>i(U,{value:{...p,device:s},children:i(Td,{onClick:a})}))})]})]})}),Nd=K(i(kd,{})),A={root:"_root_14xbh_1",content:"_content_14xbh_11",close:"_close_14xbh_19",overlay:"_overlay_14xbh_27",body:"_body_14xbh_33",desktop:"_desktop_14xbh_43",laptop:"_laptop_14xbh_48",tablet:"_tablet_14xbh_48",head:"_head_14xbh_53",title:"_title_14xbh_63",logo:"_logo_14xbh_76",wrapper:"_wrapper_14xbh_82",text:"_text_14xbh_89",button:"_button_14xbh_104",buttonHead:"_buttonHead_14xbh_119",buttonTarget:"_buttonTarget_14xbh_138",legal:"_legal_14xbh_154"},k={root:"_root_14sq5_1",left:"_left_14sq5_8",desktop:"_desktop_14sq5_15",teams:"_teams_14sq5_19",logo:"_logo_14sq5_25",league:"_league_14sq5_32",name:"_name_14sq5_37",right:"_right_14sq5_43",odd:"_odd_14sq5_54",oddLabel:"_oddLabel_14sq5_67",oddValue:"_oddValue_14sq5_76",team:"_team_14sq5_19",teamLogo:"_teamLogo_14sq5_100",teamName:"_teamName_14sq5_106"},Cd=()=>{var n,r,a,s,l,c,d;const e=j(),t=S(e),o=(e==null?void 0:e.device)||"desktop";return i("div",{className:C(k.root,{[k.desktop]:o==="desktop"}),children:[i("div",{className:k.left,children:[i("div",{className:k.teams,children:[i("div",{className:k.logo}),i("div",{className:k.logo})]}),i("div",{className:k.body,children:[i("div",{className:k.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),i("div",{className:k.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),i("div",{className:k.right,children:[i("div",{className:k.team,children:[i("div",{className:k.teamLogo}),i("div",{className:k.teamName,style:t.teams,children:(s=t.teams)==null?void 0:s.teamA})]}),i("div",{className:k.odd,children:[i("div",{className:k.oddLabel,style:t.oddLabel,children:(l=t.oddLabel)==null?void 0:l.children}),i("div",{className:k.oddValue,style:t.oddValue,children:(c=t.oddValue)==null?void 0:c.children})]}),i("div",{className:k.team,children:[i("div",{className:k.teamLogo}),i("div",{className:k.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Sd=ve(({id:e},t)=>{var x,v,w,m,T,I,L,F,G,ee,te,We,Ue,Ne;const o=z(null),{isOpen:n,hide:r,click:a}=it(t),s=de({targetRef:o,id:e}),l=j(),c=X(l,s);He(c,"buttonWrapper.percent_width",(x=c==null?void 0:c.buttonWrapper)==null?void 0:x.width),He(c,"legal.percent_width",(v=c==null?void 0:c.legal)==null?void 0:v.width);const d=S(c);xe(c);const _={...d.root,alignItems:J((w=d.root)==null?void 0:w.align)},f={...d.content,alignItems:J((m=d.root)==null?void 0:m.align)},p={...d.text,textAlign:(T=d.root)==null?void 0:T.align},h={...d==null?void 0:d.button,justifyContent:J((I=d.root)==null?void 0:I.textAlign)},y={...d==null?void 0:d.legal,justifyContent:J((L=d.root)==null?void 0:L.textAlign)};return i("div",{className:A.root,ref:o,style:{display:n?"flex":"none"},children:[i("div",{className:A.overlay,style:d.overlay,onClick:r}),i("div",{className:C(A.content,{[A.desktop]:s==="desktop",[A.laptop]:s==="laptop",[A.tablet]:s==="tablet"}),children:[i("div",{className:A.close,style:{color:(F=d.close)==null?void 0:F.backgroundColor},onClick:r,children:i(we,{})}),i("a",{ref:o,href:(G=d.root)==null?void 0:G.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:a,children:i("div",{className:A.body,style:_,children:[i("div",{className:A.head,children:[i("div",{className:A.title,style:d.title,children:(ee=d.title)==null?void 0:ee.children}),i("div",{className:A.logo,style:d.logo})]}),i("div",{className:A.wrapper,style:f,children:(d.children||[]).map(i_=>i(U,{value:{...i_,device:s},children:i(Cd,{})}))}),i($e,{className:A.text,style:p,children:(te=d.text)==null?void 0:te.children}),i("div",{className:A.button,style:d.buttonWrapper,children:[i("div",{className:A.buttonHead,style:d.buttonHead,children:(We=d.buttonHead)==null?void 0:We.children}),i("div",{className:A.buttonTarget,style:h,children:(Ue=d.button)==null?void 0:Ue.children})]}),i("div",{className:A.legal,style:y,children:(Ne=d.legal)==null?void 0:Ne.children})]})})]})]})}),Ad=K(i(Sd,{})),H={root:"_root_1slvw_1",background:"_background_1slvw_20",body:"_body_1slvw_29",bookmaker:"_bookmaker_1slvw_39",button:"_button_1slvw_46",rowFirst:"_rowFirst_1slvw_60",rowSecond:"_rowSecond_1slvw_66",legal:"_legal_1slvw_72",legalText:"_legalText_1slvw_88",legalOpen:"_legalOpen_1slvw_98",legalButton:"_legalButton_1slvw_103"},Rd=()=>{var a,s,l,c,d,_,f;const e=j(),t=S(e),[o,n]=Oo(),r=at(e);return i("div",{className:H.root,style:t.root,children:[i("div",{className:H.background,style:t.background}),i("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:H.body,onClick:r,children:[i("div",{children:[i("div",{className:H.rowFirst,style:t.rowFirst,children:(s=t.rowFirst)==null?void 0:s.children}),i("div",{className:H.rowSecond,style:t.rowSecond,children:(l=t.rowSecond)==null?void 0:l.children}),i("div",{className:H.bookmaker,children:"winline"})]}),i("div",{className:H.button,style:t.button,children:(c=t.button)==null?void 0:c.children})]}),i("div",{className:C(H.legal,{[H.legalOpen]:o}),style:t.legalInfo,children:i("span",{className:H.legalText,children:[i("span",{children:(d=t.legalInfo)==null?void 0:d.children}),i("span",{className:H.legalButton,style:t.legalInfoButton,onClick:n,children:o?(_=t.legalInfoButton)==null?void 0:_.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},jd=K(i(()=>{const e=z(null),t=j(),n=X(t,"desktop"),r=S(n);return i("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>i(U,{value:a,children:i(Rd,{})}))})},{})),N={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Co={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Ed=()=>{var o;const e=j(),t=S(e);return i("div",{className:C(Co.root,{[Co.desktop]:(e==null?void 0:e.device)==="desktop"}),style:ye(t.root,...Oe),children:(o=t.root)==null?void 0:o.children})},D={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Id=()=>{var n,r,a;const e=j(),t=S(e),o=ye(t.root,...Oe);return i("div",{className:D.root,children:[i("div",{className:D.odd,children:[i("div",{className:D.oddLogo,style:o}),i("div",{className:D.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),i("div",{className:D.coef,children:[i("div",{className:D.coefHead,style:t.coef,children:"X"}),i("div",{className:D.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),i("div",{className:C(D.odd,D.oddReverse),children:[i("div",{className:D.oddLogo,style:o}),i("div",{className:D.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},E={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Pd=()=>{const e=j(),t=S(e);return i("div",{className:C(E.root,{[E.desktop]:(e==null?void 0:e.device)==="desktop",[E.laptop]:(e==null?void 0:e.device)==="laptop",[E.tablet]:(e==null?void 0:e.device)==="tablet"}),style:ye(t.root,...Oe),children:[i("div",{className:E.title,children:[i("div",{className:E.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),i("div",{className:E.titleValue,style:t.titleValue,children:t.titleValue.children})]}),i("div",{children:[i("div",{className:E.team,children:[i("div",{className:E.teamLogo,style:t.logo}),i("div",{className:E.teamName,style:t.teamName,children:t.team1Name.children}),i("div",{className:E.teamValue,style:t.value,children:t.value1.children})]}),i("div",{className:E.team,children:[i("div",{className:E.teamLogo,style:t.logo}),i("div",{className:E.teamName,style:t.teamName,children:t.team2Name.children}),i("div",{className:E.teamValue,style:t.value,children:t.value2.children})]})]})]})},Bd=(e=[])=>{var a;const t=e.length,[o,n]=pe(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return ne(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},Ld=3700,zd=K(i(()=>{var f,p,h,y,x;const e=z(null),t=j(),o=de({targetRef:e}),n=X(t,o),r=S(n),a=at(n),s=v=>({text:i(Ed,{}),matches:i(Id,{}),matchesOneTwo:i(Pd,{})})[v],l=(r.children||[]).filter(Boolean).map(v=>{var w,m;return{...v,animationName:(w=v==null?void 0:v.root)==null?void 0:w.animationName,animationDuration:((m=v==null?void 0:v.root)==null?void 0:m.animationDuration)||Ld}}),c=Bd(l),d=S(l[c]||{}),_=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?le((d==null?void 0:d.root)||{},...Oe):le(r.background,...Oe);return i("a",{ref:e,href:(p=r.root)==null?void 0:p.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop",[N.tablet]:o==="tablet",[N.variant2]:((h=r.root)==null?void 0:h.variant)==="variant2"}),style:r.root,onClick:a,children:[i("div",{className:N.background,style:_}),i("div",{className:N.promotion,style:r.promotion,children:(y=r.promotion)==null?void 0:y.children}),i("div",{className:N.content,children:[i("div",{className:N.left,children:i("div",{className:N.logo,style:r.logo})}),i("div",{className:N.center,children:(r.children||[]).map((v,w)=>{var m,T;return i("div",{className:N.slide,style:{animationName:c===w?N[((m=v.root)==null?void 0:m.animationName)||"fade-in-out"]:"none",animationDuration:`${(T=v.root)==null?void 0:T.animationDuration}ms`},children:i(U,{value:{...v,device:o},children:s(v.name)})})})}),i("div",{className:N.right,children:[i("div",{className:N.logo,style:r.logo}),i("div",{className:N.buttonWrapper,children:i("div",{className:N.button,style:r.button,children:[i("div",{className:N.logo,style:r.logo}),(x=r.button)==null?void 0:x.children]})})]})]})]})},{})),qd=(e,t,o,n,r=wo)=>{const a={...e};return r.forEach(s=>{a[t]={...a[t],[s]:{...a[t][s],[o]:typeof n=="function"?n(Xl(a,`${t}.${s}.${o}`)):n}}}),a};var Z=[],Hd=function(){return Z.some(function(e){return e.activeTargets.length>0})},Dd=function(){return Z.some(function(e){return e.skippedTargets.length>0})},So="ResizeObserver loop completed with undelivered notifications.",Md=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:So}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=So),window.dispatchEvent(e)},Te;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Te||(Te={}));var Q=function(e){return Object.freeze(e)},Ao=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,Q(this)}return e}(),Ro=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,Q(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,s=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:s,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),st=function(e){return e instanceof SVGElement&&"getBBox"in e},jo=function(e){if(st(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,s=r.offsetHeight;return!(a||s||e.getClientRects().length)},Eo=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)},Vd=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},ke=typeof window<"u"?window:{},Me=new WeakMap,Io=/auto|scroll/,Fd=/^tb|vertical/,Gd=/msie|trident/i.test(ke.navigator&&ke.navigator.userAgent),V=function(e){return parseFloat(e||"0")},_e=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Ao((o?t:e)||0,(o?e:t)||0)},Po=Q({devicePixelContentBoxSize:_e(),borderBoxSize:_e(),contentBoxSize:_e(),contentRect:new Ro(0,0,0,0)}),Bo=function(e,t){if(t===void 0&&(t=!1),Me.has(e)&&!t)return Me.get(e);if(jo(e))return Me.set(e,Po),Po;var o=getComputedStyle(e),n=st(e)&&e.ownerSVGElement&&e.getBBox(),r=!Gd&&o.boxSizing==="border-box",a=Fd.test(o.writingMode||""),s=!n&&Io.test(o.overflowY||""),l=!n&&Io.test(o.overflowX||""),c=n?0:V(o.paddingTop),d=n?0:V(o.paddingRight),_=n?0:V(o.paddingBottom),f=n?0:V(o.paddingLeft),p=n?0:V(o.borderTopWidth),h=n?0:V(o.borderRightWidth),y=n?0:V(o.borderBottomWidth),x=n?0:V(o.borderLeftWidth),v=f+d,w=c+_,m=x+h,T=p+y,I=l?e.offsetHeight-T-e.clientHeight:0,L=s?e.offsetWidth-m-e.clientWidth:0,F=r?v+m:0,G=r?w+T:0,ee=n?n.width:V(o.width)-F-L,te=n?n.height:V(o.height)-G-I,We=ee+v+L+m,Ue=te+w+I+T,Ne=Q({devicePixelContentBoxSize:_e(Math.round(ee*devicePixelRatio),Math.round(te*devicePixelRatio),a),borderBoxSize:_e(We,Ue,a),contentBoxSize:_e(ee,te,a),contentRect:new Ro(f,c,ee,te)});return Me.set(e,Ne),Ne},Lo=function(e,t,o){var n=Bo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Te.DEVICE_PIXEL_CONTENT_BOX:return s;case Te.BORDER_BOX:return r;default:return a}},zo=function(){function e(t){var o=Bo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=Q([o.borderBoxSize]),this.contentBoxSize=Q([o.contentBoxSize]),this.devicePixelContentBoxSize=Q([o.devicePixelContentBoxSize])}return e}(),qo=function(e){if(jo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Wd=function(){var e=1/0,t=[];Z.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(d){var _=new zo(d.target),f=qo(d.target);l.push(_),d.lastReportedSize=Lo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){s.callback.call(s.observer,l,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Ho=function(e){Z.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(qo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Ud=function(){var e=0;for(Ho(e);Hd();)e=Wd(),Ho(e);return Dd()&&Md(),e>0},ct,Do=[],Kd=function(){return Do.splice(0).forEach(function(e){return e()})},Xd=function(e){if(!ct){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Kd()}).observe(o,n),ct=function(){o.textContent="".concat(t?t--:t++)}}Do.push(e),ct()},Jd=function(e){Xd(function(){requestAnimationFrame(e)})},Ve=0,Yd=function(){return!!Ve},Zd=250,Qd={attributes:!0,characterData:!0,childList:!0,subtree:!0},Mo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Vo=function(e){return e===void 0&&(e=0),Date.now()+e},lt=!1,e_=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=Zd),!lt){lt=!0;var n=Vo(t);Jd(function(){var r=!1;try{r=Ud()}finally{if(lt=!1,t=n-Vo(),!Yd())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,Qd)};document.body?o():ke.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Mo.forEach(function(o){return ke.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Mo.forEach(function(o){return ke.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),dt=new e_,Fo=function(e){!Ve&&e>0&&dt.start(),Ve+=e,!Ve&&dt.stop()},t_=function(e){return!st(e)&&!Vd(e)&&getComputedStyle(e).display==="inline"},o_=function(){function e(t,o){this.target=t,this.observedBox=o||Te.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Lo(this.target,this.observedBox,!0);return t_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),n_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Fe=new WeakMap,Go=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ge=function(){function e(){}return e.connect=function(t,o){var n=new n_(t,o);Fe.set(t,n)},e.observe=function(t,o,n){var r=Fe.get(t),a=r.observationTargets.length===0;Go(r.observationTargets,o)<0&&(a&&Z.push(r),r.observationTargets.push(new o_(o,n&&n.box)),Fo(1),dt.schedule())},e.unobserve=function(t,o){var n=Fe.get(t),r=Go(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&Z.splice(Z.indexOf(n),1),n.observationTargets.splice(r,1),Fo(-1))},e.disconnect=function(t){var o=this,n=Fe.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),r_=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.");Ge.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(!Eo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ge.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(!Eo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ge.unobserve(this,t)},e.prototype.disconnect=function(){Ge.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const a_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:r_,ResizeObserverEntry:zo,ResizeObserverSize:Ao},Symbol.toStringTag,{value:"Module"}));R.BonusCard=jd,R.ComplexGift=yd,R.ComplexPopup=Nd,R.ExpressPopup=Ad,R.SimpleGift=gd,R.SimplePopup=Od,R.WideCard=zd,R.findDeep=ed,R.isValidTemplate=Zl,R.modifyState=qd,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var s=typeof a;if(s==="string"||s==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=o.apply(null,a);l&&n.push(l)}}else if(s==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var c in a)t.call(a,c)&&a[c]&&n.push(c)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Wo);const C=Ke;var oe,b,Xe,_t,ue=0,ut=[],Se=[],ft=u.options.__b,vt=u.options.__r,pt=u.options.diffed,ht=u.options.__c,gt=u.options.unmount;function fe(e,t){u.options.__h&&u.options.__h(b,e,ue||t),ue=0;var o=b.__H||(b.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Se}),o.__[e]}function ve(e){return ue=1,Uo(wt,e)}function Uo(e,t,o){var n=fe(oe++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):wt(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=b,!b.u)){var r=function(l,c,d){if(!n.__c.__H)return!0;var _=n.__c.__H.__.filter(function(v){return v.__c});if(_.every(function(v){return!v.__N}))return!a||a.call(this,l,c,d);var f=!1;return _.forEach(function(v){if(v.__N){var h=v.__[0];v.__=v.__N,v.__N=void 0,h!==v.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!a||a.call(this,l,c,d))};b.u=!0;var a=b.shouldComponentUpdate,s=b.componentWillUpdate;b.componentWillUpdate=function(l,c,d){if(this.__e){var _=a;a=void 0,r(l,c,d),a=_}s&&s.call(this,l,c,d)},b.shouldComponentUpdate=r}return n.__N||n.__}function ne(e,t){var o=fe(oe++,3);!u.options.__s&&Ye(o.__H,t)&&(o.__=e,o.i=t,b.__H.__h.push(o))}function bt(e,t){var o=fe(oe++,4);!u.options.__s&&Ye(o.__H,t)&&(o.__=e,o.i=t,b.__h.push(o))}function z(e){return ue=5,yt(function(){return{current:e}},[])}function mt(e,t,o){ue=6,bt(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 yt(e,t){var o=fe(oe++,7);return Ye(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function Ko(e){var t=b.context[e.__c],o=fe(oe++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(b)),t.props.value):e.__}function Xo(){for(var e;e=ut.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ae),e.__H.__h.forEach(Je),e.__H.__h=[]}catch(t){e.__H.__h=[],u.options.__e(t,e.__v)}}u.options.__b=function(e){b=null,ft&&ft(e)},u.options.__r=function(e){vt&&vt(e),oe=0;var t=(b=e.__c).__H;t&&(Xe===b?(t.__h=[],b.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Se,o.__N=o.i=void 0})):(t.__h.forEach(Ae),t.__h.forEach(Je),t.__h=[])),Xe=b},u.options.diffed=function(e){pt&&pt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ut.push(t)!==1&&_t===u.options.requestAnimationFrame||((_t=u.options.requestAnimationFrame)||Jo)(Xo)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Se&&(o.__=o.__V),o.i=void 0,o.__V=Se})),Xe=b=null},u.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Ae),o.__h=o.__h.filter(function(n){return!n.__||Je(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],u.options.__e(n,o.__v)}}),ht&&ht(e,t)},u.options.unmount=function(e){gt&&gt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Ae(n)}catch(r){t=r}}),o.__H=void 0,t&&u.options.__e(t,o.__v))};var $t=typeof requestAnimationFrame=="function";function Jo(e){var t,o=function(){clearTimeout(n),$t&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);$t&&(t=requestAnimationFrame(o))}function Ae(e){var t=b,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),b=t}function Je(e){var t=b;e.__c=e.__(),b=t}function Ye(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function wt(e,t){return typeof t=="function"?t(e):t}function Ot(e,t){for(var o in t)e[o]=t[o];return e}function Tt(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 Nt(e){this.props=e}(Nt.prototype=new u.Component).isPureReactComponent=!0,Nt.prototype.shouldComponentUpdate=function(e,t){return Tt(this.props,e)||Tt(this.state,t)};var xt=u.options.__b;u.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xt&&xt(e)};var Yo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(o){var n=Ot({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=Yo,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zo=u.options.__e;u.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Zo(e,t,o,n)};var kt=u.options.unmount;function Ct(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=Ot({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Ct(n,t,o)})),e}function St(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return St(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 Ze(){this.__u=0,this.t=null,this.__b=null}function At(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(){this.u=null,this.o=null}u.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),kt&&kt(e)},(Ze.prototype=new u.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=At(n.__v),a=!1,s=function(){a||(a=!0,o.__R=null,r?r(l):l())};o.__R=s;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=St(d,d.__c.__P,d.__c.__O)}var _;for(n.setState({__a:n.__b=null});_=n.t.pop();)_.forceUpdate()}},c=t.__h===!0;n.__u++||c||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Ze.prototype.componentWillUnmount=function(){this.t=[]},Ze.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]=Ct(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&u.createElement(u.Fragment,null,e.fallback);return r&&(r.__h=null),[u.createElement(u.Fragment,null,t.__a?null:e.children),r]};var Rt=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]}};(Re.prototype=new u.Component).__a=function(e){var t=this,o=At(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Rt(t,e,n)):r()};o?o(a):a()}},Re.prototype.render=function(e){this.u=null,this.o=new Map;var t=u.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Re.prototype.componentDidUpdate=Re.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Rt(e,o,t)})};var Qo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,en=/^(?: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]/,tn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,on=/[A-Z0-9]/g,nn=typeof document<"u",rn=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};u.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(u.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var jt=u.options.event;function an(){}function sn(){return this.cancelBubble}function cn(){return this.defaultPrevented}u.options.event=function(e){return jt&&(e=jt(e)),e.persist=an,e.isPropagationStopped=sn,e.isDefaultPrevented=cn,e.nativeEvent=e};var ln={enumerable:!1,configurable:!0,get:function(){return this.class}},Et=u.options.vnode;u.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var s=o[a];if(!(a==="value"&&"defaultValue"in o&&s==null||nn&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&s===!0?s="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||rn(o.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":tn.test(a)?a=l:n.indexOf("-")===-1&&en.test(a)?a=a.replace(on,"-$&").toLowerCase():s===null&&(s=void 0):l=a="oninput",l==="oninput"&&r[a=l]&&(a="oninputCapture"),r[a]=s}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=u.toChildArray(o.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",ln)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Qo,Et&&Et(e)};var It=u.options.__r;u.options.__r=function(e){It&&It(e),e.__c};var Pt=u.options.diffed;u.options.diffed=function(e){Pt&&Pt(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 dn(){this.__data__=[],this.size=0}var _n=dn;function un(e,t){return e===t||e!==e&&t!==t}var je=un,fn=je;function vn(e,t){for(var o=e.length;o--;)if(fn(e[o][0],t))return o;return-1}var Ee=vn,pn=Ee,hn=Array.prototype,gn=hn.splice;function bn(e){var t=this.__data__,o=pn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():gn.call(t,o,1),--this.size,!0}var mn=bn,yn=Ee;function $n(e){var t=this.__data__,o=yn(t,e);return o<0?void 0:t[o][1]}var wn=$n,On=Ee;function Tn(e){return On(this.__data__,e)>-1}var Nn=Tn,xn=Ee;function kn(e,t){var o=this.__data__,n=xn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Cn=kn,Sn=_n,An=mn,Rn=wn,jn=Nn,En=Cn;function re(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])}}re.prototype.clear=Sn,re.prototype.delete=An,re.prototype.get=Rn,re.prototype.has=jn,re.prototype.set=En;var Ie=re,In=Ie;function Pn(){this.__data__=new In,this.size=0}var Bn=Pn;function Ln(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var zn=Ln;function qn(e){return this.__data__.get(e)}var Hn=qn;function Dn(e){return this.__data__.has(e)}var Mn=Dn,Vn=typeof Ce=="object"&&Ce&&Ce.Object===Object&&Ce,Bt=Vn,Fn=Bt,Gn=typeof self=="object"&&self&&self.Object===Object&&self,Wn=Fn||Gn||Function("return this")(),ae=Wn,Un=ae,Kn=Un.Symbol,Lt=Kn,zt=Lt,qt=Object.prototype,Xn=qt.hasOwnProperty,Jn=qt.toString,he=zt?zt.toStringTag:void 0;function Yn(e){var t=Xn.call(e,he),o=e[he];try{e[he]=void 0;var n=!0}catch{}var r=Jn.call(e);return n&&(t?e[he]=o:delete e[he]),r}var Zn=Yn,Qn=Object.prototype,er=Qn.toString;function tr(e){return er.call(e)}var or=tr,Ht=Lt,nr=Zn,rr=or,ar="[object Null]",ir="[object Undefined]",Dt=Ht?Ht.toStringTag:void 0;function sr(e){return e==null?e===void 0?ir:ar:Dt&&Dt in Object(e)?nr(e):rr(e)}var Pe=sr;function cr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var W=cr,lr=Pe,dr=W,_r="[object AsyncFunction]",ur="[object Function]",fr="[object GeneratorFunction]",vr="[object Proxy]";function pr(e){if(!dr(e))return!1;var t=lr(e);return t==ur||t==fr||t==_r||t==vr}var Qe=pr,hr=ae,gr=hr["__core-js_shared__"],br=gr,et=br,Mt=function(){var e=/[^.]+$/.exec(et&&et.keys&&et.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function mr(e){return!!Mt&&Mt in e}var yr=mr,$r=Function.prototype,wr=$r.toString;function Or(e){if(e!=null){try{return wr.call(e)}catch{}try{return e+""}catch{}}return""}var Tr=Or,Nr=Qe,xr=yr,kr=W,Cr=Tr,Sr=/[\\^$.*+?()[\]{}|]/g,Ar=/^\[object .+?Constructor\]$/,Rr=Function.prototype,jr=Object.prototype,Er=Rr.toString,Ir=jr.hasOwnProperty,Pr=RegExp("^"+Er.call(Ir).replace(Sr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Br(e){if(!kr(e)||xr(e))return!1;var t=Nr(e)?Pr:Ar;return t.test(Cr(e))}var Lr=Br;function zr(e,t){return e==null?void 0:e[t]}var qr=zr,Hr=Lr,Dr=qr;function Mr(e,t){var o=Dr(e,t);return Hr(o)?o:void 0}var tt=Mr,Vr=tt,Fr=ae,Gr=Vr(Fr,"Map"),Vt=Gr,Wr=tt,Ur=Wr(Object,"create"),Be=Ur,Ft=Be;function Kr(){this.__data__=Ft?Ft(null):{},this.size=0}var Xr=Kr;function Jr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Yr=Jr,Zr=Be,Qr="__lodash_hash_undefined__",ea=Object.prototype,ta=ea.hasOwnProperty;function oa(e){var t=this.__data__;if(Zr){var o=t[e];return o===Qr?void 0:o}return ta.call(t,e)?t[e]:void 0}var na=oa,ra=Be,aa=Object.prototype,ia=aa.hasOwnProperty;function sa(e){var t=this.__data__;return ra?t[e]!==void 0:ia.call(t,e)}var ca=sa,la=Be,da="__lodash_hash_undefined__";function _a(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=la&&t===void 0?da:t,this}var ua=_a,fa=Xr,va=Yr,pa=na,ha=ca,ga=ua;function ie(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])}}ie.prototype.clear=fa,ie.prototype.delete=va,ie.prototype.get=pa,ie.prototype.has=ha,ie.prototype.set=ga;var ba=ie,Gt=ba,ma=Ie,ya=Vt;function $a(){this.size=0,this.__data__={hash:new Gt,map:new(ya||ma),string:new Gt}}var wa=$a;function Oa(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ta=Oa,Na=Ta;function xa(e,t){var o=e.__data__;return Na(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Le=xa,ka=Le;function Ca(e){var t=ka(this,e).delete(e);return this.size-=t?1:0,t}var Sa=Ca,Aa=Le;function Ra(e){return Aa(this,e).get(e)}var ja=Ra,Ea=Le;function Ia(e){return Ea(this,e).has(e)}var Pa=Ia,Ba=Le;function La(e,t){var o=Ba(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var za=La,qa=wa,Ha=Sa,Da=ja,Ma=Pa,Va=za;function se(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])}}se.prototype.clear=qa,se.prototype.delete=Ha,se.prototype.get=Da,se.prototype.has=Ma,se.prototype.set=Va;var Fa=se,Ga=Ie,Wa=Vt,Ua=Fa,Ka=200;function Xa(e,t){var o=this.__data__;if(o instanceof Ga){var n=o.__data__;if(!Wa||n.length<Ka-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new Ua(n)}return o.set(e,t),this.size=o.size,this}var Ja=Xa,Ya=Ie,Za=Bn,Qa=zn,ei=Hn,ti=Mn,oi=Ja;function ce(e){var t=this.__data__=new Ya(e);this.size=t.size}ce.prototype.clear=Za,ce.prototype.delete=Qa,ce.prototype.get=ei,ce.prototype.has=ti,ce.prototype.set=oi;var ni=ce,ri=tt,ai=function(){try{var e=ri(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Wt=ai,Ut=Wt;function ii(e,t,o){t=="__proto__"&&Ut?Ut(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var ot=ii,si=ot,ci=je;function li(e,t,o){(o!==void 0&&!ci(e[t],o)||o===void 0&&!(t in e))&&si(e,t,o)}var Kt=li;function di(e){return function(t,o,n){for(var r=-1,a=Object(t),s=n(t),l=s.length;l--;){var c=s[e?l:++r];if(o(a[c],c,a)===!1)break}return t}}var _i=di,ui=_i,fi=ui(),vi=fi,ze={},pi={get exports(){return ze},set exports(e){ze=e}};(function(e,t){var o=ae,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(d,_){if(_)return d.slice();var f=d.length,v=l?l(f):new d.constructor(f);return d.copy(v),v}e.exports=c})(pi,ze);var hi=ae,gi=hi.Uint8Array,bi=gi,Xt=bi;function mi(e){var t=new e.constructor(e.byteLength);return new Xt(t).set(new Xt(e)),t}var yi=mi,$i=yi;function wi(e,t){var o=t?$i(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Oi=wi;function Ti(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ni=Ti,xi=W,Jt=Object.create,ki=function(){function e(){}return function(t){if(!xi(t))return{};if(Jt)return Jt(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Ci=ki;function Si(e,t){return function(o){return e(t(o))}}var Ai=Si,Ri=Ai,ji=Ri(Object.getPrototypeOf,Object),Yt=ji,Ei=Object.prototype;function Ii(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Ei;return e===o}var Zt=Ii,Pi=Ci,Bi=Yt,Li=Zt;function zi(e){return typeof e.constructor=="function"&&!Li(e)?Pi(Bi(e)):{}}var qi=zi;function Hi(e){return e!=null&&typeof e=="object"}var ge=Hi,Di=Pe,Mi=ge,Vi="[object Arguments]";function Fi(e){return Mi(e)&&Di(e)==Vi}var Gi=Fi,Qt=Gi,Wi=ge,eo=Object.prototype,Ui=eo.hasOwnProperty,Ki=eo.propertyIsEnumerable,Xi=Qt(function(){return arguments}())?Qt:function(e){return Wi(e)&&Ui.call(e,"callee")&&!Ki.call(e,"callee")},to=Xi,Ji=Array.isArray,oo=Ji,Yi=9007199254740991;function Zi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Yi}var no=Zi,Qi=Qe,es=no;function ts(e){return e!=null&&es(e.length)&&!Qi(e)}var nt=ts,os=nt,ns=ge;function rs(e){return ns(e)&&os(e)}var as=rs,be={},is={get exports(){return be},set exports(e){be=e}};function ss(){return!1}var cs=ss;(function(e,t){var o=ae,n=cs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===r,l=s?o.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||n;e.exports=d})(is,be);var ls=Pe,ds=Yt,_s=ge,us="[object Object]",fs=Function.prototype,vs=Object.prototype,ro=fs.toString,ps=vs.hasOwnProperty,hs=ro.call(Object);function gs(e){if(!_s(e)||ls(e)!=us)return!1;var t=ds(e);if(t===null)return!0;var o=ps.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&ro.call(o)==hs}var bs=gs,ms=Pe,ys=no,$s=ge,ws="[object Arguments]",Os="[object Array]",Ts="[object Boolean]",Ns="[object Date]",xs="[object Error]",ks="[object Function]",Cs="[object Map]",Ss="[object Number]",As="[object Object]",Rs="[object RegExp]",js="[object Set]",Es="[object String]",Is="[object WeakMap]",Ps="[object ArrayBuffer]",Bs="[object DataView]",Ls="[object Float32Array]",zs="[object Float64Array]",qs="[object Int8Array]",Hs="[object Int16Array]",Ds="[object Int32Array]",Ms="[object Uint8Array]",Vs="[object Uint8ClampedArray]",Fs="[object Uint16Array]",Gs="[object Uint32Array]",g={};g[Ls]=g[zs]=g[qs]=g[Hs]=g[Ds]=g[Ms]=g[Vs]=g[Fs]=g[Gs]=!0,g[ws]=g[Os]=g[Ps]=g[Ts]=g[Bs]=g[Ns]=g[xs]=g[ks]=g[Cs]=g[Ss]=g[As]=g[Rs]=g[js]=g[Es]=g[Is]=!1;function Ws(e){return $s(e)&&ys(e.length)&&!!g[ms(e)]}var Us=Ws;function Ks(e){return function(t){return e(t)}}var Xs=Ks,qe={},Js={get exports(){return qe},set exports(e){qe=e}};(function(e,t){var o=Bt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,s=a&&o.process,l=function(){try{var c=r&&r.require&&r.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Js,qe);var Ys=Us,Zs=Xs,ao=qe,io=ao&&ao.isTypedArray,Qs=io?Zs(io):Ys,so=Qs;function ec(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var co=ec,tc=ot,oc=je,nc=Object.prototype,rc=nc.hasOwnProperty;function ac(e,t,o){var n=e[t];(!(rc.call(e,t)&&oc(n,o))||o===void 0&&!(t in e))&&tc(e,t,o)}var ic=ac,sc=ic,cc=ot;function lc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=n?n(o[l],e[l],l,o,e):void 0;c===void 0&&(c=e[l]),r?cc(o,l,c):sc(o,l,c)}return o}var dc=lc;function _c(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var uc=_c,fc=9007199254740991,vc=/^(?:0|[1-9]\d*)$/;function pc(e,t){var o=typeof e;return t=t??fc,!!t&&(o=="number"||o!="symbol"&&vc.test(e))&&e>-1&&e%1==0&&e<t}var lo=pc,hc=uc,gc=to,bc=oo,mc=be,yc=lo,$c=so,wc=Object.prototype,Oc=wc.hasOwnProperty;function Tc(e,t){var o=bc(e),n=!o&&gc(e),r=!o&&!n&&mc(e),a=!o&&!n&&!r&&$c(e),s=o||n||r||a,l=s?hc(e.length,String):[],c=l.length;for(var d in e)(t||Oc.call(e,d))&&!(s&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||yc(d,c)))&&l.push(d);return l}var Nc=Tc;function xc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var kc=xc,Cc=W,Sc=Zt,Ac=kc,Rc=Object.prototype,jc=Rc.hasOwnProperty;function Ec(e){if(!Cc(e))return Ac(e);var t=Sc(e),o=[];for(var n in e)n=="constructor"&&(t||!jc.call(e,n))||o.push(n);return o}var Ic=Ec,Pc=Nc,Bc=Ic,Lc=nt;function zc(e){return Lc(e)?Pc(e,!0):Bc(e)}var _o=zc,qc=dc,Hc=_o;function Dc(e){return qc(e,Hc(e))}var Mc=Dc,uo=Kt,Vc=ze,Fc=Oi,Gc=Ni,Wc=qi,fo=to,vo=oo,Uc=as,Kc=be,Xc=Qe,Jc=W,Yc=bs,Zc=so,po=co,Qc=Mc;function el(e,t,o,n,r,a,s){var l=po(e,o),c=po(t,o),d=s.get(c);if(d){uo(e,o,d);return}var _=a?a(l,c,o+"",e,t,s):void 0,f=_===void 0;if(f){var v=vo(c),h=!v&&Kc(c),y=!v&&!h&&Zc(c);_=c,v||h||y?vo(l)?_=l:Uc(l)?_=Gc(l):h?(f=!1,_=Vc(c,!0)):y?(f=!1,_=Fc(c,!0)):_=[]:Yc(c)||fo(c)?(_=l,fo(l)?_=Qc(l):(!Jc(l)||Xc(l))&&(_=Wc(c))):f=!1}f&&(s.set(c,_),r(_,c,n,a,s),s.delete(c)),uo(e,o,_)}var tl=el,ol=ni,nl=Kt,rl=vi,al=tl,il=W,sl=_o,cl=co;function ho(e,t,o,n,r){e!==t&&rl(t,function(a,s){if(r||(r=new ol),il(a))al(e,t,s,o,ho,n,r);else{var l=n?n(cl(e,s),a,s+"",e,t,r):void 0;l===void 0&&(l=a),nl(e,s,l)}},sl)}var ll=ho;function dl(e){return e}var go=dl;function _l(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 ul=_l,fl=ul,bo=Math.max;function vl(e,t,o){return t=bo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=bo(n.length-t,0),s=Array(a);++r<a;)s[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(s),fl(e,this,l)}}var pl=vl;function hl(e){return function(){return e}}var gl=hl,bl=gl,mo=Wt,ml=go,yl=mo?function(e,t){return mo(e,"toString",{configurable:!0,enumerable:!1,value:bl(t),writable:!0})}:ml,$l=yl,wl=800,Ol=16,Tl=Date.now;function Nl(e){var t=0,o=0;return function(){var n=Tl(),r=Ol-(n-o);if(o=n,r>0){if(++t>=wl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var xl=Nl,kl=$l,Cl=xl,Sl=Cl(kl),Al=Sl,Rl=go,jl=pl,El=Al;function Il(e,t){return El(jl(e,t,Rl),e+"")}var Pl=Il,Bl=je,Ll=nt,zl=lo,ql=W;function Hl(e,t,o){if(!ql(o))return!1;var n=typeof t;return(n=="number"?Ll(o)&&zl(t,o.length):n=="string"&&t in o)?Bl(o[t],e):!1}var Dl=Hl,Ml=Pl,Vl=Dl;function Fl(e){return Ml(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,s=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,s&&Vl(o[0],o[1],s)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,a)}return t})}var Gl=Fl,Wl=ll,Ul=Gl;Ul(function(e,t,o){Wl(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(P).join(".");return me(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const s=[o,r].filter(P).join(".");return n[r]=me(t(r,a,s),t,s),n},{}):e,Kl=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},yo=()=>{let e={};return{on:(s,l)=>{s in e?e[s].push(l):e[s]=[l]},has:s=>s in e,get:s=>e[s],emit:(s,...l)=>s in e?e[s].map(c=>c(...l)).filter(Boolean):[],reset:()=>e={}}},$o=e=>!e&&e==null,P=e=>!$o(e),le=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function ye(e,...t){const o={...e};return t.forEach(n=>{delete o[n]}),o}const Xl=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,s)=>a&&a[s],e);return r===void 0?o:r},He=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,s)=>(r[a]===void 0&&(r[a]={}),s===n.length-1&&(r[a]=o),r[a]),e)},Jl=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},Yl=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Zl=e=>"id"in e&&"root"in e,Ql=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),ed=(e,t)=>{try{me(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},wo=["desktop","laptop","tablet","mobile"],td={mobile:320,tablet:768,laptop:1024,desktop:1920},$={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var od=0;function i(e,t,o,n,r,a){var s,l,c={};for(l in t)l=="ref"?s=t[l]:c[l]=t[l];var d={type:e,props:c,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--od,__source:r,__self:a};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)c[l]===void 0&&(c[l]=s[l]);return u.options.vnode&&u.options.vnode(d),d}const Oo=u.createContext(),U=({children:e,value:t})=>i(Oo.Provider,{value:t,children:e}),K=e=>async({target:t,id:o,ref:n,state:r,...a})=>{if(!("ResizeObserver"in window)){const s=await Promise.resolve().then(()=>a_);window.ResizeObserver=s.ResizeObserver}return u.render(i(U,{value:r,children:u.cloneElement(e,{ref:n,id:o,...a})}),t)},j=()=>Ko(Oo),nd=(e={})=>typeof e=="object"&&P(e)&&wo.every(t=>t in e),rd=(e,t)=>e&&me(e,(o,n)=>{if(nd(n)){const r=n[t];return"parent"in r&&P(r.parent)?{...n[r.parent],...ye(r,"parent")}:r}return n}),X=(e,t)=>rd(e,t),de=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=td})=>{const[r,a]=ve("desktop"),s=l=>{var f;const c=l.getBoundingClientRect().width||0,d=Object.entries({...n}).sort(([v,h],[y,O])=>h-O),_=((f=d.find(([v,h],y)=>{const[O,p]=d[y+1]||[];return c>=h&&c<p}))==null?void 0:f[0])||"desktop";a(_)};return bt(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>s(l)).observe(l),s(l))},[]),r},De=(e,t)=>`${e}${t}`,ad=e=>e.startsWith("px_"),id=e=>e.startsWith("percent_"),sd=(e,t)=>{let o=e,n=t;return ad(o)&&(o=o.replace("px_",""),n=De(t,"px")),id(o)&&(o=o.replace("percent_",""),n=De(t,"%")),{key:o,value:n}},cd=["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"],ld=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e={...e,...n,"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize}}return Object.entries(e).reduce((n,[r,a])=>{cd.includes(r)&&(a=De(a,"px"));const{key:s,value:l}=sd(r,a);if(n[s]=l,s==="innerHTML"&&(n.innerHTML=P(l)?`${l}`:""),s==="innerText"&&(n.innerText=P(l)?`${l}`:""),s==="children"&&(n.children=typeof l=="string"?P(l)?`${l}`:"":l),(s==="innerHTML"||s==="innerText"||s==="children")&&(typeof l=="string"&&l.length===0||$o(l))&&(n.display="none"),s.includes("borderWidth")&&(n.borderStyle="solid"),s==="corner"&&(n.borderRadius=De(l,"px")),s==="backgroundFit"&&(n.backgroundSize=l),s==="backgroundImage"&&P(l)&&(n.backgroundImage=`url(${l})`,n.backgroundRepeat="no-repeat"),s==="backgroundColorOpacity"&&P(n.backgroundColorOpacity)&&P(n.backgroundColor)){const c=Jl(n.backgroundColor);c&&(n.backgroundColor=Ql(`rgb(${c.r}, ${c.g}, ${c.b})`,+n.backgroundColorOpacity/100))}return s==="isBold"&&(n.fontWeight=l?"bold":"initial"),s==="isItalic"&&(n.fontStyle=l?"italic":"initial"),s==="isThrough"&&(n.textDecoration=l?"line-through":"initial"),n},e)},dd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,S=e=>P(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=dd(n)?ld({...e[o]},o):n,t),{}):e,$e=({children:e,...t})=>{var n;const o=(n=e==null?void 0:e.replace("script",""))==null?void 0:n.replace(/{{(.*?)}}/g,"<span>$1</span>");return i("div",{...t,dangerouslySetInnerHTML:{__html:o}})},To=()=>{const[e,t]=ve(!1);return[e,()=>t(o=>!o)]},we=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:i("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),rt=()=>i("svg",{viewBox:"0 0 16 16",children:i("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),_d=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`}),No=(e,t)=>{var _,f,v,h,y,O,p,w,m,N,I,L,F;const o=_d(t),n=S(e),r=(_=n==null?void 0:n.icon)==null?void 0:_.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(v=n==null?void 0:n.container)==null?void 0:v.backgroundColor,borderTopWidth:(h=n==null?void 0:n.container)==null?void 0:h.borderWidth,borderTopColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderTopStyle:"solid",borderLeftWidth:(O=n==null?void 0:n.container)==null?void 0:O.borderWidth,borderLeftColor:(p=n==null?void 0:n.container)==null?void 0:p.borderColor,borderLeftStyle:"solid"},s={left:(w=n==null?void 0:n.container)==null?void 0:w.left},l=(((m=n==null?void 0:n.icon)==null?void 0:m.animations)||[]).map(G=>o[G]).join(", "),c=P((N=n==null?void 0:n.icon)==null?void 0:N.gradientColor)&&((I=n==null?void 0:n.icon)!=null&&I.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(L=n.icon)==null?void 0:L.backgroundColor} 0%, ${(F=n==null?void 0:n.icon)==null?void 0:F.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,d={...(n==null?void 0:n.icon)||{},animation:l,...c};return{hasIcon:r,arrowRules:a,bodyRules:s,iconRules:d}},Oe=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=yt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);ne(()=>{o.forEach(n=>Kl(n))},[o])},Te=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],ud=["borderWidth","borderColor","borderStyle"],xo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],fd=e=>console.log(`Noop YaMektika reach goal: ${e}`),vd=e=>console.log(`Noop AdFox reach goal: ${e}`),pd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=ve(!1),a=z(null),s=c=>{clearTimeout(a.current),a.current=null},l=()=>{s(a.current),r(c=>!c)};return ne(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>s(a.current)),[e]),ne(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:l}},ko=({ref:e,openDelay:t})=>{const o=z(yo()),n=c=>o.current.on("open",c),r=c=>o.current.on("click",c),a=c=>o.current.on("autoOpen",c),{isOpen:s,toggle:l}=pd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return mt(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),{isOpen:s,toggle:l,click:()=>o.current.emit("click")}},hd=pe(({id:e},t)=>{var w,m,N,I,L,F,G;const o=z(null),[n,r]=To(),a=j(),s=de({targetRef:o,id:e}),l=X(a,s),c=S(l),{hasIcon:d,iconRules:_,bodyRules:f,arrowRules:v}=No(l,{fade:$.fadein,pulse:$.pulse,wiggle:$.wiggle,gradient:$.gradient}),{isOpen:h,toggle:y,click:O}=ko({ref:t,openDelay:(w=l==null?void 0:l.container)==null?void 0:w.delay});Oe(l);const p=n?le(c.container,...ud):{};return i("div",{className:C($.root,{[$.legalOpen]:n}),ref:o,children:[i("div",{className:$.icon,style:_,onClick:y,children:d&&i("div",{className:$.iconTarget,children:i(rt,{})})}),i("div",{className:C($.body,{[$.bodyOpen]:h}),style:f,children:[i("div",{className:$.arrow,style:v}),i("div",{className:$.close,style:c==null?void 0:c.close,onClick:y,children:i(we,{})}),i("div",{className:$.container,style:c==null?void 0:c.container,children:[i("a",{href:(m=c==null?void 0:c.root)==null?void 0:m.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:O,children:[i("div",{className:$.inner,children:[i("div",{className:$.logo,style:c==null?void 0:c.logo}),i($e,{className:$.text,style:c==null?void 0:c.text,children:(N=c==null?void 0:c.text)==null?void 0:N.children})]}),i("div",{className:C($.button,{[$.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(I=c==null?void 0:c.button)==null?void 0:I.children})]}),i("div",{className:$.legalGap}),i("div",{className:$.legal,style:{...c==null?void 0:c.legal,...p},children:i("span",{className:$.legalText,children:i("span",{children:[i("span",{children:(L=c==null?void 0:c.legal)==null?void 0:L.children}),i("span",{className:$.legalButton,onClick:r,children:n?(F=c==null?void 0:c.legal)==null?void 0:F.buttonOpenText:(G=c==null?void 0:c.legal)==null?void 0:G.buttonHideText})]})})})]})]})]})}),gd=K(i(hd,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},q={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},at=(e,t="root")=>{const o=z(),n=(e==null?void 0:e.yaReachGoal)||fd,r=(e==null?void 0:e.adfoxReachGoal)||vd,a=P(e)?le(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return ne(()=>{Yl(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},bd=()=>{var n,r,a,s,l;const e=j(),t=S(e),o=at(e);return i("a",{href:(n=t.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(q.root,{[q.variant2]:((r=t.root)==null?void 0:r.variant)==="variant2"}),style:t.root,onClick:o,children:[i("div",{className:q.body,children:[i("div",{className:q.line,style:t.line}),i("div",{className:q.bodyInner,children:[i("div",{className:q.logo,style:t.logo}),i("div",{className:q.text,style:t.text,children:i($e,{children:(a=t.text)==null?void 0:a.children})})]}),i("div",{className:q.button,style:t.button,children:[i("div",{className:q.logo,style:t.logo}),i("div",{className:q.buttonText,children:(s=t.button)==null?void 0:s.children})]})]}),i("div",{className:q.legal,style:t.legal,children:(l=t.legal)==null?void 0:l.children})]})},md=pe(({id:e},t)=>{var O,p,w,m;const o=z(null),n=j(),r=de({targetRef:o,id:e}),a=X(n,r),s=S(a),{isOpen:l,click:c,toggle:d}=ko({ref:t,openDelay:(O=a==null?void 0:a.container)==null?void 0:O.delay});Oe(a);const{hasIcon:_,iconRules:f,bodyRules:v,arrowRules:h}=No(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),y=(p=s==null?void 0:s.title)==null?void 0:p.hasIcon;return i("div",{ref:o,className:C(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[i("div",{className:T.icon,style:f,onClick:d,children:_&&i("div",{className:T.iconTarget,children:i(rt,{})})}),i("div",{className:C(T.body,{[T.bodyOpen]:l}),style:v,children:[i("div",{className:T.arrow,style:h}),i("div",{className:T.container,style:s.container,children:[i("div",{className:T.close,style:s.close,onClick:d,children:i(we,{})}),i("div",{className:T.promotion,style:s.promotion,children:(w=s.promotion)==null?void 0:w.children}),i("div",{className:T.head,children:[y&&i("div",{className:T.headIcon,style:le(s.title,"color"),children:i(rt,{})}),i("div",{className:T.headTitle,style:s.title,children:(m=s.title)==null?void 0:m.children})]}),i("div",{className:T.inner,onClick:c,children:(s.children||[]).map(N=>i(U,{value:N,children:i(bd,{})}))})]})]})]})}),yd=K(i(md,{})),B={root:"_root_t83ci_1",content:"_content_t83ci_11",laptop:"_laptop_t83ci_20",tablet:"_tablet_t83ci_24",desktop:"_desktop_t83ci_28",wrapper:"_wrapper_t83ci_32",overlay:"_overlay_t83ci_36",close:"_close_t83ci_42",body:"_body_t83ci_50",logo:"_logo_t83ci_58",text:"_text_t83ci_64",button:"_button_t83ci_68",legal:"_legal_t83ci_83"},J=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],$d={root:"_root_2ic16_1"},wd=()=>{var o;const e=j(),t=S(e);return i("div",{className:$d.root,style:t.root,children:i($e,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},it=e=>{const t=z(yo()),[o,n]=ve(!1),r=c=>t.current.on("visible",c),a=c=>t.current.on("click",c),s=()=>n(!0),l=()=>n(!1);return ne(()=>{t.current.emit("visible",o)},[o]),mt(e,()=>({onVisible:r,onClick:a,show:s,hide:l})),{isOpen:o,show:s,hide:l,click:()=>t.current.emit("click")}},Od=pe(({id:e,className:t},o)=>{var y,O,p,w,m,N,I;const n=z(null),{isOpen:r,hide:a,click:s}=it(o),l=de({targetRef:n,id:e}),c=j(),d=X(c,l);Oe(d),He(d,"button.percent_width",(y=d==null?void 0:d.button)==null?void 0:y.width),He(d,"legal.percent_width",(O=d==null?void 0:d.legal)==null?void 0:O.width);const _=S(d),f={alignItems:J((p=_.root)==null?void 0:p.align)},v={..._==null?void 0:_.button,justifyContent:J((w=_.root)==null?void 0:w.textAlign)},h={..._==null?void 0:_.legal,justifyContent:J((m=_.root)==null?void 0:m.textAlign)};return i("div",{className:C(B.root,t),ref:n,style:{display:r?"flex":"none"},children:[i("div",{className:B.overlay,style:_.overlay,onClick:a}),i("div",{className:B.wrapper,children:[i("div",{className:B.close,style:{color:(N=_.close)==null?void 0:N.backgroundColor},onClick:a,children:i(we,{})}),i("a",{href:(I=_.root)==null?void 0:I.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(B.content,{[B.desktop]:l==="desktop",[B.tablet]:l==="tablet",[B.laptop]:l==="laptop"}),style:_.root,onClick:s,children:i("div",{className:B.body,style:f,children:[i("div",{className:B.logo,style:_.logo}),i("div",{className:B.text,children:((_==null?void 0:_.children)||[]).map(L=>i(U,{value:L,children:i(wd,{})}))}),i("div",{className:B.button,style:v,children:v==null?void 0:v.children}),i("div",{className:B.legal,style:h,children:h==null?void 0:h.children})]})})]})]})}),Td=K(i(Od,{})),Y={root:"_root_1wc0c_1",content:"_content_1wc0c_11",desktop:"_desktop_1wc0c_23",overlay:"_overlay_1wc0c_28",close:"_close_1wc0c_34",title:"_title_1wc0c_42",wrapper:"_wrapper_1wc0c_57"},M={root:"_root_1dwcj_1",desktop:"_desktop_1dwcj_9",header:"_header_1dwcj_14",logo:"_logo_1dwcj_25",container:"_container_1dwcj_32",body:"_body_1dwcj_43",text:"_text_1dwcj_60",button:"_button_1dwcj_83",legal:"_legal_1dwcj_101"},Nd=({onClick:e})=>{var r,a,s,l;const t=j(),o=S(t),n=(t==null?void 0:t.device)||"desktop";return i("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(M.root,{[M.desktop]:n==="desktop"}),style:ye(o.root,...xo),onClick:e,children:[i("div",{className:M.header,style:o.header,children:i("div",{className:M.logo,style:o.logo})}),i("div",{className:M.container,style:le(o.root,...xo),children:[i("div",{className:M.body,children:[i("div",{className:M.logo}),i($e,{className:M.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),i("div",{children:[i("div",{className:M.button,style:o.button,children:(s=o.button)==null?void 0:s.children}),i("div",{className:M.legal,style:o.legal,children:(l=o.legal)==null?void 0:l.children})]})]})]})},xd=pe(({id:e},t)=>{var _,f;const o=z(null),{isOpen:n,hide:r,click:a}=it(t),s=de({targetRef:o,id:e}),l=j(),c=X(l,s),d=S(c);return Oe(c),i("div",{className:Y.root,style:{display:n?"flex":"none"},children:[i("div",{className:Y.overlay,style:d.overlay,onClick:r}),i("div",{ref:o,className:C(Y.content,{[Y.desktop]:s==="desktop"}),style:d.root,children:[i("div",{className:Y.close,style:{color:(_=d.close)==null?void 0:_.backgroundColor},onClick:r,children:i(we,{})}),i("div",{className:Y.title,style:d.title,children:(f=d.title)==null?void 0:f.children}),i("div",{className:Y.wrapper,children:(d.children||[]).map(v=>i(U,{value:{...v,device:s},children:i(Nd,{onClick:a})}))})]})]})}),kd=K(i(xd,{})),A={root:"_root_1v7ce_1",content:"_content_1v7ce_11",close:"_close_1v7ce_19",overlay:"_overlay_1v7ce_27",body:"_body_1v7ce_33",desktop:"_desktop_1v7ce_41",laptop:"_laptop_1v7ce_45",tablet:"_tablet_1v7ce_45",head:"_head_1v7ce_50",title:"_title_1v7ce_60",logo:"_logo_1v7ce_73",wrapper:"_wrapper_1v7ce_79",text:"_text_1v7ce_86",button:"_button_1v7ce_101",buttonHead:"_buttonHead_1v7ce_116",buttonTarget:"_buttonTarget_1v7ce_135",legal:"_legal_1v7ce_151"},x={root:"_root_14sq5_1",left:"_left_14sq5_8",desktop:"_desktop_14sq5_15",teams:"_teams_14sq5_19",logo:"_logo_14sq5_25",league:"_league_14sq5_32",name:"_name_14sq5_37",right:"_right_14sq5_43",odd:"_odd_14sq5_54",oddLabel:"_oddLabel_14sq5_67",oddValue:"_oddValue_14sq5_76",team:"_team_14sq5_19",teamLogo:"_teamLogo_14sq5_100",teamName:"_teamName_14sq5_106"},Cd=()=>{var n,r,a,s,l,c,d;const e=j(),t=S(e),o=(e==null?void 0:e.device)||"desktop";return i("div",{className:C(x.root,{[x.desktop]:o==="desktop"}),children:[i("div",{className:x.left,children:[i("div",{className:x.teams,children:[i("div",{className:x.logo}),i("div",{className:x.logo})]}),i("div",{className:x.body,children:[i("div",{className:x.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),i("div",{className:x.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),i("div",{className:x.right,children:[i("div",{className:x.team,children:[i("div",{className:x.teamLogo}),i("div",{className:x.teamName,style:t.teams,children:(s=t.teams)==null?void 0:s.teamA})]}),i("div",{className:x.odd,children:[i("div",{className:x.oddLabel,style:t.oddLabel,children:(l=t.oddLabel)==null?void 0:l.children}),i("div",{className:x.oddValue,style:t.oddValue,children:(c=t.oddValue)==null?void 0:c.children})]}),i("div",{className:x.team,children:[i("div",{className:x.teamLogo}),i("div",{className:x.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Sd=pe(({id:e},t)=>{var O,p,w,m,N,I,L,F,G,ee,te,We,Ue,ke;const o=z(null),{isOpen:n,hide:r,click:a}=it(t),s=de({targetRef:o,id:e}),l=j(),c=X(l,s);He(c,"buttonWrapper.percent_width",(O=c==null?void 0:c.buttonWrapper)==null?void 0:O.width),He(c,"legal.percent_width",(p=c==null?void 0:c.legal)==null?void 0:p.width);const d=S(c);Oe(c);const _={...d.root,alignItems:J((w=d.root)==null?void 0:w.align)},f={...d.content,alignItems:J((m=d.root)==null?void 0:m.align)},v={...d.text,textAlign:(N=d.root)==null?void 0:N.align},h={...d==null?void 0:d.button,justifyContent:J((I=d.root)==null?void 0:I.textAlign)},y={...d==null?void 0:d.legal,justifyContent:J((L=d.root)==null?void 0:L.textAlign)};return i("div",{className:C(A.root,{[A.desktop]:s==="desktop",[A.laptop]:s==="laptop",[A.tablet]:s==="tablet"}),ref:o,style:{display:n?"flex":"none"},children:[i("div",{className:A.overlay,style:d.overlay,onClick:r}),i("div",{className:A.content,children:[i("div",{className:A.close,style:{color:(F=d.close)==null?void 0:F.backgroundColor},onClick:r,children:i(we,{})}),i("a",{ref:o,href:(G=d.root)==null?void 0:G.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:a,children:i("div",{className:A.body,style:_,children:[i("div",{className:A.head,children:[i("div",{className:A.title,style:d.title,children:(ee=d.title)==null?void 0:ee.children}),i("div",{className:A.logo,style:d.logo})]}),i("div",{className:A.wrapper,style:f,children:(d.children||[]).map(i_=>i(U,{value:{...i_,device:s},children:i(Cd,{})}))}),i($e,{className:A.text,style:v,children:(te=d.text)==null?void 0:te.children}),i("div",{className:A.button,style:d.buttonWrapper,children:[i("div",{className:A.buttonHead,style:d.buttonHead,children:(We=d.buttonHead)==null?void 0:We.children}),i("div",{className:A.buttonTarget,style:h,children:(Ue=d.button)==null?void 0:Ue.children})]}),i("div",{className:A.legal,style:y,children:(ke=d.legal)==null?void 0:ke.children})]})})]})]})}),Ad=K(i(Sd,{})),H={root:"_root_1slvw_1",background:"_background_1slvw_20",body:"_body_1slvw_29",bookmaker:"_bookmaker_1slvw_39",button:"_button_1slvw_46",rowFirst:"_rowFirst_1slvw_60",rowSecond:"_rowSecond_1slvw_66",legal:"_legal_1slvw_72",legalText:"_legalText_1slvw_88",legalOpen:"_legalOpen_1slvw_98",legalButton:"_legalButton_1slvw_103"},Rd=()=>{var a,s,l,c,d,_,f;const e=j(),t=S(e),[o,n]=To(),r=at(e);return i("div",{className:H.root,style:t.root,children:[i("div",{className:H.background,style:t.background}),i("a",{href:(a=t.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:H.body,onClick:r,children:[i("div",{children:[i("div",{className:H.rowFirst,style:t.rowFirst,children:(s=t.rowFirst)==null?void 0:s.children}),i("div",{className:H.rowSecond,style:t.rowSecond,children:(l=t.rowSecond)==null?void 0:l.children}),i("div",{className:H.bookmaker,children:"winline"})]}),i("div",{className:H.button,style:t.button,children:(c=t.button)==null?void 0:c.children})]}),i("div",{className:C(H.legal,{[H.legalOpen]:o}),style:t.legalInfo,children:i("span",{className:H.legalText,children:[i("span",{children:(d=t.legalInfo)==null?void 0:d.children}),i("span",{className:H.legalButton,style:t.legalInfoButton,onClick:n,children:o?(_=t.legalInfoButton)==null?void 0:_.openText:(f=t.legalInfoButton)==null?void 0:f.closeText})]})})]})},jd=K(i(()=>{const e=z(null),t=j(),n=X(t,"desktop"),r=S(n);return i("div",{ref:e,children:((r==null?void 0:r.children)||[]).map(a=>i(U,{value:a,children:i(Rd,{})}))})},{})),k={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Co={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Ed=()=>{var o;const e=j(),t=S(e);return i("div",{className:C(Co.root,{[Co.desktop]:(e==null?void 0:e.device)==="desktop"}),style:ye(t.root,...Te),children:(o=t.root)==null?void 0:o.children})},D={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Id=()=>{var n,r,a;const e=j(),t=S(e),o=ye(t.root,...Te);return i("div",{className:D.root,children:[i("div",{className:D.odd,children:[i("div",{className:D.oddLogo,style:o}),i("div",{className:D.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),i("div",{className:D.coef,children:[i("div",{className:D.coefHead,style:t.coef,children:"X"}),i("div",{className:D.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),i("div",{className:C(D.odd,D.oddReverse),children:[i("div",{className:D.oddLogo,style:o}),i("div",{className:D.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},E={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Pd=()=>{const e=j(),t=S(e);return i("div",{className:C(E.root,{[E.desktop]:(e==null?void 0:e.device)==="desktop",[E.laptop]:(e==null?void 0:e.device)==="laptop",[E.tablet]:(e==null?void 0:e.device)==="tablet"}),style:ye(t.root,...Te),children:[i("div",{className:E.title,children:[i("div",{className:E.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),i("div",{className:E.titleValue,style:t.titleValue,children:t.titleValue.children})]}),i("div",{children:[i("div",{className:E.team,children:[i("div",{className:E.teamLogo,style:t.logo}),i("div",{className:E.teamName,style:t.teamName,children:t.team1Name.children}),i("div",{className:E.teamValue,style:t.value,children:t.value1.children})]}),i("div",{className:E.team,children:[i("div",{className:E.teamLogo,style:t.logo}),i("div",{className:E.teamName,style:t.teamName,children:t.team2Name.children}),i("div",{className:E.teamValue,style:t.value,children:t.value2.children})]})]})]})},Bd=(e=[])=>{var a;const t=e.length,[o,n]=ve(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return ne(()=>{const l=setTimeout(()=>{n(c=>c+1<t?c+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},Ld=3700,zd=K(i(()=>{var f,v,h,y,O;const e=z(null),t=j(),o=de({targetRef:e}),n=X(t,o),r=S(n),a=at(n),s=p=>({text:i(Ed,{}),matches:i(Id,{}),matchesOneTwo:i(Pd,{})})[p],l=(r.children||[]).filter(Boolean).map(p=>{var w,m;return{...p,animationName:(w=p==null?void 0:p.root)==null?void 0:w.animationName,animationDuration:((m=p==null?void 0:p.root)==null?void 0:m.animationDuration)||Ld}}),c=Bd(l),d=S(l[c]||{}),_=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?le((d==null?void 0:d.root)||{},...Te):le(r.background,...Te);return i("a",{ref:e,href:(v=r.root)==null?void 0:v.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:C(k.root,{[k.desktop]:o==="desktop",[k.laptop]:o==="laptop",[k.tablet]:o==="tablet",[k.variant2]:((h=r.root)==null?void 0:h.variant)==="variant2"}),style:r.root,onClick:a,children:[i("div",{className:k.background,style:_}),i("div",{className:k.promotion,style:r.promotion,children:(y=r.promotion)==null?void 0:y.children}),i("div",{className:k.content,children:[i("div",{className:k.left,children:i("div",{className:k.logo,style:r.logo})}),i("div",{className:k.center,children:(r.children||[]).map((p,w)=>{var m,N;return i("div",{className:k.slide,style:{animationName:c===w?k[((m=p.root)==null?void 0:m.animationName)||"fade-in-out"]:"none",animationDuration:`${(N=p.root)==null?void 0:N.animationDuration}ms`},children:i(U,{value:{...p,device:o},children:s(p.name)})})})}),i("div",{className:k.right,children:[i("div",{className:k.logo,style:r.logo}),i("div",{className:k.buttonWrapper,children:i("div",{className:k.button,style:r.button,children:[i("div",{className:k.logo,style:r.logo}),(O=r.button)==null?void 0:O.children]})})]})]})]})},{})),qd=(e,t,o,n,r=wo)=>{const a={...e};return r.forEach(s=>{a[t]={...a[t],[s]:{...a[t][s],[o]:typeof n=="function"?n(Xl(a,`${t}.${s}.${o}`)):n}}}),a};var Z=[],Hd=function(){return Z.some(function(e){return e.activeTargets.length>0})},Dd=function(){return Z.some(function(e){return e.skippedTargets.length>0})},So="ResizeObserver loop completed with undelivered notifications.",Md=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:So}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=So),window.dispatchEvent(e)},Ne;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ne||(Ne={}));var Q=function(e){return Object.freeze(e)},Ao=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,Q(this)}return e}(),Ro=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,Q(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,s=t.bottom,l=t.left,c=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:s,left:l,width:c,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),st=function(e){return e instanceof SVGElement&&"getBBox"in e},jo=function(e){if(st(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,s=r.offsetHeight;return!(a||s||e.getClientRects().length)},Eo=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)},Vd=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},xe=typeof window<"u"?window:{},Me=new WeakMap,Io=/auto|scroll/,Fd=/^tb|vertical/,Gd=/msie|trident/i.test(xe.navigator&&xe.navigator.userAgent),V=function(e){return parseFloat(e||"0")},_e=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Ao((o?t:e)||0,(o?e:t)||0)},Po=Q({devicePixelContentBoxSize:_e(),borderBoxSize:_e(),contentBoxSize:_e(),contentRect:new Ro(0,0,0,0)}),Bo=function(e,t){if(t===void 0&&(t=!1),Me.has(e)&&!t)return Me.get(e);if(jo(e))return Me.set(e,Po),Po;var o=getComputedStyle(e),n=st(e)&&e.ownerSVGElement&&e.getBBox(),r=!Gd&&o.boxSizing==="border-box",a=Fd.test(o.writingMode||""),s=!n&&Io.test(o.overflowY||""),l=!n&&Io.test(o.overflowX||""),c=n?0:V(o.paddingTop),d=n?0:V(o.paddingRight),_=n?0:V(o.paddingBottom),f=n?0:V(o.paddingLeft),v=n?0:V(o.borderTopWidth),h=n?0:V(o.borderRightWidth),y=n?0:V(o.borderBottomWidth),O=n?0:V(o.borderLeftWidth),p=f+d,w=c+_,m=O+h,N=v+y,I=l?e.offsetHeight-N-e.clientHeight:0,L=s?e.offsetWidth-m-e.clientWidth:0,F=r?p+m:0,G=r?w+N:0,ee=n?n.width:V(o.width)-F-L,te=n?n.height:V(o.height)-G-I,We=ee+p+L+m,Ue=te+w+I+N,ke=Q({devicePixelContentBoxSize:_e(Math.round(ee*devicePixelRatio),Math.round(te*devicePixelRatio),a),borderBoxSize:_e(We,Ue,a),contentBoxSize:_e(ee,te,a),contentRect:new Ro(f,c,ee,te)});return Me.set(e,ke),ke},Lo=function(e,t,o){var n=Bo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Ne.DEVICE_PIXEL_CONTENT_BOX:return s;case Ne.BORDER_BOX:return r;default:return a}},zo=function(){function e(t){var o=Bo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=Q([o.borderBoxSize]),this.contentBoxSize=Q([o.contentBoxSize]),this.devicePixelContentBoxSize=Q([o.devicePixelContentBoxSize])}return e}(),qo=function(e){if(jo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Wd=function(){var e=1/0,t=[];Z.forEach(function(s){if(s.activeTargets.length!==0){var l=[];s.activeTargets.forEach(function(d){var _=new zo(d.target),f=qo(d.target);l.push(_),d.lastReportedSize=Lo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){s.callback.call(s.observer,l,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Ho=function(e){Z.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(qo(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Ud=function(){var e=0;for(Ho(e);Hd();)e=Wd(),Ho(e);return Dd()&&Md(),e>0},ct,Do=[],Kd=function(){return Do.splice(0).forEach(function(e){return e()})},Xd=function(e){if(!ct){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Kd()}).observe(o,n),ct=function(){o.textContent="".concat(t?t--:t++)}}Do.push(e),ct()},Jd=function(e){Xd(function(){requestAnimationFrame(e)})},Ve=0,Yd=function(){return!!Ve},Zd=250,Qd={attributes:!0,characterData:!0,childList:!0,subtree:!0},Mo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Vo=function(e){return e===void 0&&(e=0),Date.now()+e},lt=!1,e_=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=Zd),!lt){lt=!0;var n=Vo(t);Jd(function(){var r=!1;try{r=Ud()}finally{if(lt=!1,t=n-Vo(),!Yd())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,Qd)};document.body?o():xe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Mo.forEach(function(o){return xe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Mo.forEach(function(o){return xe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),dt=new e_,Fo=function(e){!Ve&&e>0&&dt.start(),Ve+=e,!Ve&&dt.stop()},t_=function(e){return!st(e)&&!Vd(e)&&getComputedStyle(e).display==="inline"},o_=function(){function e(t,o){this.target=t,this.observedBox=o||Ne.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Lo(this.target,this.observedBox,!0);return t_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),n_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Fe=new WeakMap,Go=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ge=function(){function e(){}return e.connect=function(t,o){var n=new n_(t,o);Fe.set(t,n)},e.observe=function(t,o,n){var r=Fe.get(t),a=r.observationTargets.length===0;Go(r.observationTargets,o)<0&&(a&&Z.push(r),r.observationTargets.push(new o_(o,n&&n.box)),Fo(1),dt.schedule())},e.unobserve=function(t,o){var n=Fe.get(t),r=Go(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&Z.splice(Z.indexOf(n),1),n.observationTargets.splice(r,1),Fo(-1))},e.disconnect=function(t){var o=this,n=Fe.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),r_=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.");Ge.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(!Eo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ge.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(!Eo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ge.unobserve(this,t)},e.prototype.disconnect=function(){Ge.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const a_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:r_,ResizeObserverEntry:zo,ResizeObserverSize:Ao},Symbol.toStringTag,{value:"Module"}));R.BonusCard=jd,R.ComplexGift=yd,R.ComplexPopup=kd,R.ExpressPopup=Ad,R.SimpleGift=gd,R.SimplePopup=Td,R.WideCard=zd,R.findDeep=ed,R.isValidTemplate=Zl,R.modifyState=qd,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.1.9",
4
+ "version": "2.1.10",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"