@streamlayer/react 1.14.2 → 1.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("./index2.js"),o=require("./provider.js"),u=()=>{const e=o.useStreamLayer();return e?t.jsx(n.Z,{sdk:e}):null},i=({close:e,onEvent:s})=>{const r=o.useStreamLayer();return r?t.jsx(n.ur,{sdk:r,onEvent:s,close:e}):null};exports.BetPackOverlayProvider=i;exports.BetPackProvider=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("./index2.js"),o=require("./provider.js"),i=()=>{const e=o.useStreamLayer();return e?t.jsx(n.K,{sdk:e}):null},u=({close:e,onEvent:s})=>{const r=o.useStreamLayer();return r?t.jsx(n.er,{sdk:r,onEvent:s,close:e}):null};exports.BetPackOverlayProvider=u;exports.BetPackProvider=i;
@@ -1,9 +1,9 @@
1
- "use strict";const h=require("react/jsx-runtime"),m=require("./provider.js"),z=require("react"),V=require("./useStreamLayerApp2.js"),vr="16px",hr=17,yr=21,gr=24,tt=r=>r<.9?gr:r<1.17?yr:hr,xt=r=>{const[e,n]=z.useState(vr),i=z.useRef(null),t=z.useRef();return z.useEffect(()=>{const a=i.current,o=()=>{t.current&&(clearTimeout(t.current),t.current=void 0),t.current=setTimeout(()=>{if(a){const l=getComputedStyle(a),c=+l.width.replace("px",""),v=+l.height.replace("px","")/c,u=c/tt(v);n(`${u<20?u:20}px`)}t.current=void 0},200)},s=()=>{o()};return window.screen.orientation.addEventListener("change",s),window.addEventListener("orientationchange",s),window.addEventListener("resize",o),a==null||a.addEventListener("transitionend",o,!1),o(),()=>{window.screen.orientation.removeEventListener("change",s),window.removeEventListener("orientationchange",s),window.removeEventListener("resize",o),a==null||a.removeEventListener("transitionend",o),t.current&&clearTimeout(t.current)}},[]),z.useEffect(()=>(t.current&&(clearTimeout(t.current),t.current=void 0),t.current=setTimeout(()=>{if(i.current){const a=getComputedStyle(i.current),o=+a.width.replace("px",""),s=+a.height.replace("px","")/o,l=o/tt(s);n(`${l<20?l:20}px`),t.current=void 0}},200),()=>{t.current&&clearTimeout(t.current)}),[r]),{container:i,fontSize:e}},Ke=m.styled_default("button")({name:"ScreenButton",class:"s1pdy82n",propsAsIs:!1}),jt=m.styled_default("div")({name:"ScreenTitle",class:"spc0iwi",propsAsIs:!1}),Ve=m.styled_default("div")({name:"ScreenDescription",class:"s18vssq2",propsAsIs:!1}),mr=m.styled_default("div")({name:"BetPackContainer",class:"blelwov",propsAsIs:!1}),br=m.styled_default("div")({name:"EmergencyContainer",class:"e1f9mu2m",propsAsIs:!1}),Sr=m.styled_default("div")({name:"EmergencyScreenTitle",class:"e1n10yo1",propsAsIs:!1}),wr=m.styled_default("div")({name:"EmergencyScreenDescription",class:"e1xecypc",propsAsIs:!1}),Or=()=>Ke,_r=m.styled_default(Or())({name:"EmergencyScreenButton",class:"e1k6zoyu",propsAsIs:!0}),He=({actionFn:r,description:e,isMobile:n,height:i})=>{const{container:t,fontSize:a}=xt(i);return h.jsxs(br,{style:{fontSize:a},ref:t,className:m.cx_default("betPack",!!n&&"isMobile"),children:[h.jsx(Sr,{children:"Something went wrong."}),h.jsx(wr,{children:e}),h.jsx(_r,{onClick:r,children:"Try again"})]})},Pr=m.styled_default("div")({name:"ScreenContainerBox",class:"s28ooi9",propsAsIs:!1}),de=({children:r,height:e})=>{const{container:n,fontSize:i}=xt(e);return h.jsx(Pr,{style:{height:e,fontSize:i},ref:n,children:h.jsx("div",{children:r})})},rt=m.styled_default("div")({name:"ScreenWrap",class:"s8s3kc9",propsAsIs:!1}),kr=()=>m.k1,xr=m.styled_default(kr())({name:"SponsorIcon",class:"s1uswib2",propsAsIs:!0}),Tt=m.styled_default("div")({name:"EndScreenWrap",class:"el0dbzn",propsAsIs:!1}),jr=()=>Tt,Tr=m.styled_default(jr())({name:"EndFirstScreenWrap",class:"e11do4i1",propsAsIs:!0}),Er=()=>Tt,Cr=m.styled_default(Er())({name:"EndLastScreenWrap",class:"ef67yx9",propsAsIs:!0}),nt=m.styled_default("div")({name:"EndScreenMain",class:"enw6fxs",propsAsIs:!1}),Lr=()=>jt,Mr=m.styled_default(Lr())({name:"EndScreenTitle",class:"euaws9b",propsAsIs:!0}),Rr=()=>Ve,Ir=m.styled_default(Rr())({name:"EndScreenDescription",class:"e9uqaot",propsAsIs:!0}),zr=()=>Ve,Ar=m.styled_default(zr())({name:"EndLastScreenDescription",class:"etyeg2m",propsAsIs:!0}),Dr=()=>Ke,it=m.styled_default(Dr())({name:"EndScreenButton",class:"e177v9in",propsAsIs:!0}),$r=m.styled_default("img")({name:"EndScreenMedia",class:"ehp7lor",propsAsIs:!1}),Hr=({height:r,onEvent:e})=>{const[n,i]=z.useState(0);return n===0?h.jsx(de,{height:r,children:h.jsx(rt,{children:h.jsxs(Tr,{children:[h.jsxs(nt,{children:[h.jsx(xr,{name:"icon-masters-logo"}),h.jsx(Mr,{children:"Great picks!"}),h.jsxs(Ir,{children:["As results come in we’ll send you",h.jsx("br",{}),"live updates right here."]})]}),h.jsx(it,{onClick:()=>{i(1)},children:"Continue"})]})})},"end"):h.jsx(de,{height:r,children:h.jsx(rt,{children:h.jsxs(Cr,{children:[h.jsxs(nt,{children:[h.jsx($r,{src:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/bet_pack_end_screen.png"}),h.jsxs(Ar,{children:["Look for more live match insights,",h.jsx("br",{}),"predictions and more."]})]}),h.jsx(it,{onClick:()=>e({type:"slOpenGameCenter"}),children:"Open Game Center"})]})})},"end")},Nr=({height:r="37px",width:e="37px"})=>h.jsx("div",{style:{height:r,width:e},children:h.jsx(m.k1,{name:"loader"})}),Wr=m.styled_default("div")({name:"Container",class:"cv31tt7",propsAsIs:!1}),Et=()=>h.jsx(Wr,{children:h.jsx(Nr,{})}),qr=({question:r,vote:e})=>r?h.jsx(m.Ft,{close:()=>{},openedQuestion:r,vote:e,isLoading:!1,isEarlyPrediction:!0}):null,Fr=m.styled_default("div")({name:"ScreenWrap",class:"s991vvm",propsAsIs:!1}),Br=m.styled_default("div")({name:"Main",class:"mnbj36g",propsAsIs:!1}),Gr=()=>m.k1,Ur=m.styled_default(Gr())({name:"IconArrowRight",class:"izrvgt",propsAsIs:!0}),Qr=()=>m.k1,Xr=m.styled_default(Qr())({name:"SponsorIcon",class:"swqs2ju",propsAsIs:!0}),Yr=m.styled_default("div")({name:"StartScreenSponsor",class:"s1oq8jlq",propsAsIs:!1}),Kr=()=>jt,Vr=m.styled_default(Kr())({name:"StartScreenTitle",class:"se4nn9a",propsAsIs:!0}),Zr=()=>Ve,Jr=m.styled_default(Zr())({name:"StartScreenDescription",class:"sofug8s",propsAsIs:!0}),en=()=>Ke,tn=m.styled_default(en())({name:"StartScreenButton",class:"s18s0pjp",propsAsIs:!0}),rn=m.styled_default("div")({name:"StartScreenNote",class:"s1pgosw8",propsAsIs:!1}),nn=({height:r,countQuestionsAvailable:e,sliderRef:n})=>h.jsx(de,{height:r,children:h.jsxs(Fr,{children:[h.jsxs(Br,{children:[h.jsx(Xr,{name:"icon-masters-logo"}),h.jsx(Yr,{children:"Featured Groups+"}),h.jsx(Vr,{children:"The First Five"}),h.jsxs(Jr,{children:["Tee off with these five initial",h.jsx("br",{}),"predictions for today’s play."]})]}),h.jsxs(tn,{onClick:()=>{var i;(i=n.current)==null||i.slickNext()},children:[e?`${e} questions available`:"See all questions",h.jsx(Ur,{name:"iconArrowRight"})]}),h.jsxs(rn,{children:["Note: Some questions may have been",h.jsx("br",{}),"resolved as a result of today’s play."]})]})},"start");var Ct={},Lt={},_e={},Mt={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};r.default=e})(Mt);var on="Expected a function",ot=NaN,an="[object Symbol]",sn=/^\s+|\s+$/g,ln=/^[-+]0x[0-9a-f]+$/i,un=/^0b[01]+$/i,cn=/^0o[0-7]+$/i,dn=parseInt,fn=typeof m.commonjsGlobal=="object"&&m.commonjsGlobal&&m.commonjsGlobal.Object===Object&&m.commonjsGlobal,pn=typeof self=="object"&&self&&self.Object===Object&&self,vn=fn||pn||Function("return this")(),hn=Object.prototype,yn=hn.toString,gn=Math.max,mn=Math.min,Ee=function(){return vn.Date.now()};function bn(r,e,n){var i,t,a,o,s,l,c=0,v=!1,u=!1,b=!0;if(typeof r!="function")throw new TypeError(on);e=at(e)||0,Ne(n)&&(v=!!n.leading,u="maxWait"in n,a=u?gn(at(n.maxWait)||0,e):a,b="trailing"in n?!!n.trailing:b);function j(L){var D=i,q=t;return i=t=void 0,c=L,o=r.apply(q,D),o}function O(L){return c=L,s=setTimeout(P,e),v?j(L):o}function S(L){var D=L-l,q=L-c,g=e-D;return u?mn(g,a-q):g}function w(L){var D=L-l,q=L-c;return l===void 0||D>=e||D<0||u&&q>=a}function P(){var L=Ee();if(w(L))return d(L);s=setTimeout(P,S(L))}function d(L){return s=void 0,b&&i?j(L):(i=t=void 0,o)}function p(){s!==void 0&&clearTimeout(s),c=0,i=l=t=s=void 0}function k(){return s===void 0?o:d(Ee())}function C(){var L=Ee(),D=w(L);if(i=arguments,t=this,l=L,D){if(s===void 0)return O(l);if(u)return s=setTimeout(P,e),j(l)}return s===void 0&&(s=setTimeout(P,e)),o}return C.cancel=p,C.flush=k,C}function Ne(r){var e=typeof r;return!!r&&(e=="object"||e=="function")}function Sn(r){return!!r&&typeof r=="object"}function wn(r){return typeof r=="symbol"||Sn(r)&&yn.call(r)==an}function at(r){if(typeof r=="number")return r;if(wn(r))return ot;if(Ne(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=Ne(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=r.replace(sn,"");var n=un.test(r);return n||cn.test(r)?dn(r.slice(2),n?2:8):ln.test(r)?ot:+r}var On=bn,Rt={exports:{}};/*!
1
+ "use strict";const y=require("react/jsx-runtime"),w=require("./provider.js"),z=require("react"),V=require("./useStreamLayerApp2.js");var _t={},Pt={},Pe={},kt={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};r.default=e})(kt);var cr="Expected a function",nt=NaN,fr="[object Symbol]",dr=/^\s+|\s+$/g,pr=/^[-+]0x[0-9a-f]+$/i,vr=/^0b[01]+$/i,hr=/^0o[0-7]+$/i,yr=parseInt,gr=typeof w.commonjsGlobal=="object"&&w.commonjsGlobal&&w.commonjsGlobal.Object===Object&&w.commonjsGlobal,mr=typeof self=="object"&&self&&self.Object===Object&&self,br=gr||mr||Function("return this")(),Sr=Object.prototype,wr=Sr.toString,Or=Math.max,_r=Math.min,Ce=function(){return br.Date.now()};function Pr(r,e,n){var i,t,a,o,s,l,c=0,p=!1,f=!1,b=!0;if(typeof r!="function")throw new TypeError(cr);e=it(e)||0,$e(n)&&(p=!!n.leading,f="maxWait"in n,a=f?Or(it(n.maxWait)||0,e):a,b="trailing"in n?!!n.trailing:b);function x(E){var A=i,q=t;return i=t=void 0,c=E,o=r.apply(q,A),o}function O(E){return c=E,s=setTimeout(k,e),p?x(E):o}function u(E){var A=E-l,q=E-c,h=e-A;return f?_r(h,a-q):h}function m(E){var A=E-l,q=E-c;return l===void 0||A>=e||A<0||f&&q>=a}function k(){var E=Ce();if(m(E))return g(E);s=setTimeout(k,u(E))}function g(E){return s=void 0,b&&i?x(E):(i=t=void 0,o)}function _(){s!==void 0&&clearTimeout(s),c=0,i=l=t=s=void 0}function C(){return s===void 0?o:g(Ce())}function L(){var E=Ce(),A=m(E);if(i=arguments,t=this,l=E,A){if(s===void 0)return O(l);if(f)return s=setTimeout(k,e),x(l)}return s===void 0&&(s=setTimeout(k,e)),o}return L.cancel=_,L.flush=C,L}function $e(r){var e=typeof r;return!!r&&(e=="object"||e=="function")}function kr(r){return!!r&&typeof r=="object"}function jr(r){return typeof r=="symbol"||kr(r)&&wr.call(r)==fr}function it(r){if(typeof r=="number")return r;if(jr(r))return nt;if($e(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=$e(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=r.replace(dr,"");var n=vr.test(r);return n||hr.test(r)?yr(r.slice(2),n?2:8):pr.test(r)?nt:+r}var Tr=Pr,jt={exports:{}};/*!
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(r){(function(){var e={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(a=t(a,i(s)))}return a}function i(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var s in a)e.call(a,s)&&a[s]&&(o=t(o,s));return o}function t(a,o){return o?a?a+" "+o:a+o:a}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(Rt);var Pe=Rt.exports,f={},Ze={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(z);function n(t){return t&&t.__esModule?t:{default:t}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(a){return e.default.createElement("ul",{style:{display:"block"}},a)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(a){return e.default.createElement("button",null,a+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};r.default=i})(Ze);Object.defineProperty(f,"__esModule",{value:!0});f.checkSpecKeys=f.checkNavigable=f.changeSlide=f.canUseDOM=f.canGoNext=void 0;f.clamp=zt;f.extractObject=void 0;f.filterSettings=Dn;f.validSettings=f.swipeStart=f.swipeMove=f.swipeEnd=f.slidesOnRight=f.slidesOnLeft=f.slideHandler=f.siblingDirection=f.safePreventDefault=f.lazyStartIndex=f.lazySlidesOnRight=f.lazySlidesOnLeft=f.lazyEndIndex=f.keyHandler=f.initializedState=f.getWidth=f.getTrackLeft=f.getTrackCSS=f.getTrackAnimateCSS=f.getTotalSlides=f.getSwipeDirection=f.getSlideCount=f.getRequiredLazySlides=f.getPreClones=f.getPostClones=f.getOnDemandLazySlides=f.getNavigableIndexes=f.getHeight=void 0;var _n=It(z),Pn=It(Ze);function It(r){return r&&r.__esModule?r:{default:r}}function ae(r){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(r)}function st(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function A(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?st(Object(n),!0).forEach(function(i){kn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function kn(r,e,n){return e=xn(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function xn(r){var e=jn(r,"string");return ae(e)=="symbol"?e:String(e)}function jn(r,e){if(ae(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ae(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function zt(r,e,n){return Math.max(e,Math.min(r,n))}var Z=f.safePreventDefault=function(e){var n=["onTouchStart","onTouchMove","onWheel"];n.includes(e._reactName)||e.preventDefault()},At=f.getOnDemandLazySlides=function(e){for(var n=[],i=Dt(e),t=$t(e),a=i;a<t;a++)e.lazyLoadedList.indexOf(a)<0&&n.push(a);return n};f.getRequiredLazySlides=function(e){for(var n=[],i=Dt(e),t=$t(e),a=i;a<t;a++)n.push(a);return n};var Dt=f.lazyStartIndex=function(e){return e.currentSlide-Tn(e)},$t=f.lazyEndIndex=function(e){return e.currentSlide+En(e)},Tn=f.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},En=f.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},We=f.getWidth=function(e){return e&&e.offsetWidth||0},Ht=f.getHeight=function(e){return e&&e.offsetHeight||0},Nt=f.getSwipeDirection=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i,t,a,o;return i=e.startX-e.curX,t=e.startY-e.curY,a=Math.atan2(t,i),o=Math.round(a*180/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":n===!0?o>=35&&o<=135?"up":"down":"vertical"},Wt=f.canGoNext=function(e){var n=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(n=!1),n};f.extractObject=function(e,n){var i={};return n.forEach(function(t){return i[t]=e[t]}),i};f.initializedState=function(e){var n=_n.default.Children.count(e.children),i=e.listRef,t=Math.ceil(We(i)),a=e.trackRef&&e.trackRef.node,o=Math.ceil(We(a)),s;if(e.vertical)s=t;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=t/100),s=Math.ceil((t-l)/e.slidesToShow)}var c=i&&Ht(i.querySelector('[data-index="0"]')),v=c*e.slidesToShow,u=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(u=n-1-e.initialSlide);var b=e.lazyLoadedList||[],j=At(A(A({},e),{},{currentSlide:u,lazyLoadedList:b}));b=b.concat(j);var O={slideCount:n,slideWidth:s,listWidth:t,trackWidth:o,currentSlide:u,slideHeight:c,listHeight:v,lazyLoadedList:b};return e.autoplaying===null&&e.autoplay&&(O.autoplaying="playing"),O};f.slideHandler=function(e){var n=e.waitForAnimate,i=e.animating,t=e.fade,a=e.infinite,o=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,v=e.centerMode,u=e.slidesToScroll,b=e.slidesToShow,j=e.useCSS,O=e.lazyLoadedList;if(n&&i)return{};var S=o,w,P,d,p={},k={},C=a?o:zt(o,0,s-1);if(t){if(!a&&(o<0||o>=s))return{};o<0?S=o+s:o>=s&&(S=o-s),l&&O.indexOf(S)<0&&(O=O.concat(S)),p={animating:!0,currentSlide:S,lazyLoadedList:O,targetSlide:S},k={animating:!1,targetSlide:S}}else w=S,S<0?(w=S+s,a?s%u!==0&&(w=s-s%u):w=0):!Wt(e)&&S>c?S=w=c:v&&S>=s?(S=a?s:s-1,w=a?0:s-1):S>=s&&(w=S-s,a?s%u!==0&&(w=0):w=s-b),!a&&S+b>=s&&(w=s-b),P=pe(A(A({},e),{},{slideIndex:S})),d=pe(A(A({},e),{},{slideIndex:w})),a||(P===d&&(S=w),P=d),l&&(O=O.concat(At(A(A({},e),{},{currentSlide:S})))),j?(p={animating:!0,currentSlide:w,trackStyle:qt(A(A({},e),{},{left:P})),lazyLoadedList:O,targetSlide:C},k={animating:!1,currentSlide:w,trackStyle:fe(A(A({},e),{},{left:d})),swipeLeft:null,targetSlide:C}):p={currentSlide:w,trackStyle:fe(A(A({},e),{},{left:d})),lazyLoadedList:O,targetSlide:C};return{state:p,nextState:k}};f.changeSlide=function(e,n){var i,t,a,o,s,l=e.slidesToScroll,c=e.slidesToShow,v=e.slideCount,u=e.currentSlide,b=e.targetSlide,j=e.lazyLoad,O=e.infinite;if(o=v%l!==0,i=o?0:(v-u)%l,n.message==="previous")a=i===0?l:c-i,s=u-a,j&&!O&&(t=u-a,s=t===-1?v-1:t),O||(s=b-l);else if(n.message==="next")a=i===0?l:i,s=u+a,j&&!O&&(s=(u+l)%v+i),O||(s=b+l);else if(n.message==="dots")s=n.index*n.slidesToScroll;else if(n.message==="children"){if(s=n.index,O){var S=Rn(A(A({},e),{},{targetSlide:s}));s>n.currentSlide&&S==="left"?s=s-v:s<n.currentSlide&&S==="right"&&(s=s+v)}}else n.message==="index"&&(s=Number(n.index));return s};f.keyHandler=function(e,n,i){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":e.keyCode===37?i?"next":"previous":e.keyCode===39?i?"previous":"next":""};f.swipeStart=function(e,n,i){return e.target.tagName==="IMG"&&Z(e),!n||!i&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};f.swipeMove=function(e,n){var i=n.scrolling,t=n.animating,a=n.vertical,o=n.swipeToSlide,s=n.verticalSwiping,l=n.rtl,c=n.currentSlide,v=n.edgeFriction,u=n.edgeDragged,b=n.onEdge,j=n.swiped,O=n.swiping,S=n.slideCount,w=n.slidesToScroll,P=n.infinite,d=n.touchObject,p=n.swipeEvent,k=n.listHeight,C=n.listWidth;if(!i){if(t)return Z(e);a&&o&&s&&Z(e);var L,D={},q=pe(n);d.curX=e.touches?e.touches[0].pageX:e.clientX,d.curY=e.touches?e.touches[0].pageY:e.clientY,d.swipeLength=Math.round(Math.sqrt(Math.pow(d.curX-d.startX,2)));var g=Math.round(Math.sqrt(Math.pow(d.curY-d.startY,2)));if(!s&&!O&&g>10)return{scrolling:!0};s&&(d.swipeLength=g);var y=(l?-1:1)*(d.curX>d.startX?1:-1);s&&(y=d.curY>d.startY?1:-1);var M=Math.ceil(S/w),x=Nt(n.touchObject,s),T=d.swipeLength;return P||(c===0&&(x==="right"||x==="down")||c+1>=M&&(x==="left"||x==="up")||!Wt(n)&&(x==="left"||x==="up"))&&(T=d.swipeLength*v,u===!1&&b&&(b(x),D.edgeDragged=!0)),!j&&p&&(p(x),D.swiped=!0),a?L=q+T*(k/C)*y:l?L=q-T*y:L=q+T*y,s&&(L=q+T*y),D=A(A({},D),{},{touchObject:d,swipeLeft:L,trackStyle:fe(A(A({},n),{},{left:L}))}),Math.abs(d.curX-d.startX)<Math.abs(d.curY-d.startY)*.8||d.swipeLength>10&&(D.swiping=!0,Z(e)),D}};f.swipeEnd=function(e,n){var i=n.dragging,t=n.swipe,a=n.touchObject,o=n.listWidth,s=n.touchThreshold,l=n.verticalSwiping,c=n.listHeight,v=n.swipeToSlide,u=n.scrolling,b=n.onSwipe,j=n.targetSlide,O=n.currentSlide,S=n.infinite;if(!i)return t&&Z(e),{};var w=l?c/s:o/s,P=Nt(a,l),d={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!a.swipeLength)return d;if(a.swipeLength>w){Z(e),b&&b(P);var p,k,C=S?O:j;switch(P){case"left":case"up":k=C+ut(n),p=v?lt(n,k):k,d.currentDirection=0;break;case"right":case"down":k=C-ut(n),p=v?lt(n,k):k,d.currentDirection=1;break;default:p=C}d.triggerSlideHandler=p}else{var L=pe(n);d.trackStyle=qt(A(A({},n),{},{left:L}))}return d};var Cn=f.getNavigableIndexes=function(e){for(var n=e.infinite?e.slideCount*2:e.slideCount,i=e.infinite?e.slidesToShow*-1:0,t=e.infinite?e.slidesToShow*-1:0,a=[];i<n;)a.push(i),i=t+e.slidesToScroll,t+=Math.min(e.slidesToScroll,e.slidesToShow);return a},lt=f.checkNavigable=function(e,n){var i=Cn(e),t=0;if(n>i[i.length-1])n=i[i.length-1];else for(var a in i){if(n<i[a]){n=t;break}t=i[a]}return n},ut=f.getSlideCount=function(e){var n=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var i,t=e.listRef,a=t.querySelectorAll&&t.querySelectorAll(".slick-slide")||[];if(Array.from(a).every(function(l){if(e.vertical){if(l.offsetTop+Ht(l)/2>e.swipeLeft*-1)return i=l,!1}else if(l.offsetLeft-n+We(l)/2>e.swipeLeft*-1)return i=l,!1;return!0}),!i)return 0;var o=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide,s=Math.abs(i.dataset.index-o)||1;return s}else return e.slidesToScroll},Je=f.checkSpecKeys=function(e,n){return n.reduce(function(i,t){return i&&e.hasOwnProperty(t)},!0)?null:console.error("Keys Missing:",e)},fe=f.getTrackCSS=function(e){Je(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n,i,t=e.slideCount+2*e.slidesToShow;e.vertical?i=t*e.slideHeight:n=Mn(e)*e.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";a=A(A({},a),{},{WebkitTransform:o,transform:s,msTransform:l})}else e.vertical?a.top=e.left:a.left=e.left;return e.fade&&(a={opacity:1}),n&&(a.width=n),i&&(a.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},qt=f.getTrackAnimateCSS=function(e){Je(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var n=fe(e);return e.useTransform?(n.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,n.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?n.transition="top "+e.speed+"ms "+e.cssEase:n.transition="left "+e.speed+"ms "+e.cssEase,n},pe=f.getTrackLeft=function(e){if(e.unslick)return 0;Je(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var n=e.slideIndex,i=e.trackRef,t=e.infinite,a=e.centerMode,o=e.slideCount,s=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,v=e.listWidth,u=e.variableWidth,b=e.slideHeight,j=e.fade,O=e.vertical,S=0,w,P,d=0;if(j||e.slideCount===1)return 0;var p=0;if(t?(p=-ce(e),o%l!==0&&n+l>o&&(p=-(n>o?s-(n-o):o%l)),a&&(p+=parseInt(s/2))):(o%l!==0&&n+l>o&&(p=s-o%l),a&&(p=parseInt(s/2))),S=p*c,d=p*b,O?w=n*b*-1+d:w=n*c*-1+S,u===!0){var k,C=i&&i.node;if(k=n+ce(e),P=C&&C.childNodes[k],w=P?P.offsetLeft*-1:0,a===!0){k=t?n+ce(e):n,P=C&&C.children[k],w=0;for(var L=0;L<k;L++)w-=C&&C.children[L]&&C.children[L].offsetWidth;w-=parseInt(e.centerPadding),w+=P&&(v-P.offsetWidth)/2}}return w},ce=f.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},Ln=f.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},Mn=f.getTotalSlides=function(e){return e.slideCount===1?1:ce(e)+e.slideCount+Ln(e)},Rn=f.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+In(e)?"left":"right":e.targetSlide<e.currentSlide-zn(e)?"right":"left"},In=f.slidesOnRight=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,a=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(a)>0&&(o+=1),t&&n%2===0&&(o+=1),o}return t?0:n-1},zn=f.slidesOnLeft=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,a=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(a)>0&&(o+=1),!t&&n%2===0&&(o+=1),o}return t?n-1:0};f.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var An=f.validSettings=Object.keys(Pn.default);function Dn(r){return An.reduce(function(e,n){return r.hasOwnProperty(n)&&(e[n]=r[n]),e},{})}var ke={};Object.defineProperty(ke,"__esModule",{value:!0});ke.Track=void 0;var G=Ft(z),Ce=Ft(Pe),Le=f;function Ft(r){return r&&r.__esModule?r:{default:r}}function ee(r){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(r)}function qe(){return qe=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},qe.apply(this,arguments)}function $n(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Gt(i.key),i)}}function Nn(r,e,n){return e&&Hn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Wn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Fe(r,e)}function Fe(r,e){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Fe(r,e)}function qn(r){var e=Bt();return function(){var i=ve(r),t;if(e){var a=ve(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return Fn(this,t)}}function Fn(r,e){if(e&&(ee(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Be(r)}function Be(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Bt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Bt=function(){return!!r})()}function ve(r){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(r)}function ct(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function W(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ct(Object(n),!0).forEach(function(i){Ge(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Ge(r,e,n){return e=Gt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Gt(r){var e=Bn(r,"string");return ee(e)=="symbol"?e:String(e)}function Bn(r,e){if(ee(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ee(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Me=function(e){var n,i,t,a,o;e.rtl?o=e.slideCount-1-e.index:o=e.index,t=o<0||o>=e.slideCount,e.centerMode?(a=Math.floor(e.slidesToShow/2),i=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-a-1&&o<=e.currentSlide+a&&(n=!0)):n=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow;var s;e.targetSlide<0?s=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?s=e.targetSlide-e.slideCount:s=e.targetSlide;var l=o===s;return{"slick-slide":!0,"slick-active":n,"slick-center":i,"slick-cloned":t,"slick-current":l}},Gn=function(e){var n={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(n.width=e.slideWidth),e.fade&&(n.position="relative",e.vertical?n.top=-e.index*parseInt(e.slideHeight):n.left=-e.index*parseInt(e.slideWidth),n.opacity=e.currentSlide===e.index?1:0,n.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(n.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),n},Re=function(e,n){return e.key||n},Un=function(e){var n,i=[],t=[],a=[],o=G.default.Children.count(e.children),s=(0,Le.lazyStartIndex)(e),l=(0,Le.lazyEndIndex)(e);return G.default.Children.forEach(e.children,function(c,v){var u,b={message:"children",index:v,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(v)>=0?u=c:u=G.default.createElement("div",null);var j=Gn(W(W({},e),{},{index:v})),O=u.props.className||"",S=Me(W(W({},e),{},{index:v}));if(i.push(G.default.cloneElement(u,{key:"original"+Re(u,v),"data-index":v,className:(0,Ce.default)(S,O),tabIndex:"-1","aria-hidden":!S["slick-active"],style:W(W({outline:"none"},u.props.style||{}),j),onClick:function(d){u.props&&u.props.onClick&&u.props.onClick(d),e.focusOnSelect&&e.focusOnSelect(b)}})),e.infinite&&e.fade===!1){var w=o-v;w<=(0,Le.getPreClones)(e)&&(n=-w,n>=s&&(u=c),S=Me(W(W({},e),{},{index:n})),t.push(G.default.cloneElement(u,{key:"precloned"+Re(u,n),"data-index":n,tabIndex:"-1",className:(0,Ce.default)(S,O),"aria-hidden":!S["slick-active"],style:W(W({},u.props.style||{}),j),onClick:function(d){u.props&&u.props.onClick&&u.props.onClick(d),e.focusOnSelect&&e.focusOnSelect(b)}}))),n=o+v,n<l&&(u=c),S=Me(W(W({},e),{},{index:n})),a.push(G.default.cloneElement(u,{key:"postcloned"+Re(u,n),"data-index":n,tabIndex:"-1",className:(0,Ce.default)(S,O),"aria-hidden":!S["slick-active"],style:W(W({},u.props.style||{}),j),onClick:function(d){u.props&&u.props.onClick&&u.props.onClick(d),e.focusOnSelect&&e.focusOnSelect(b)}}))}}),e.rtl?t.concat(i,a).reverse():t.concat(i,a)};ke.Track=function(r){Wn(n,r);var e=qn(n);function n(){var i;$n(this,n);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return i=e.call.apply(e,[this].concat(a)),Ge(Be(i),"node",null),Ge(Be(i),"handleRef",function(s){i.node=s}),i}return Nn(n,[{key:"render",value:function(){var t=Un(this.props),a=this.props,o=a.onMouseEnter,s=a.onMouseOver,l=a.onMouseLeave,c={onMouseEnter:o,onMouseOver:s,onMouseLeave:l};return G.default.createElement("div",qe({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},c),t)}}]),n}(G.default.PureComponent);var xe={};function te(r){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(r)}Object.defineProperty(xe,"__esModule",{value:!0});xe.Dots=void 0;var le=Ut(z),Qn=Ut(Pe),dt=f;function Ut(r){return r&&r.__esModule?r:{default:r}}function ft(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function Xn(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ft(Object(n),!0).forEach(function(i){Yn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Yn(r,e,n){return e=Qt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Kn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Qt(i.key),i)}}function Zn(r,e,n){return e&&Vn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Qt(r){var e=Jn(r,"string");return te(e)=="symbol"?e:String(e)}function Jn(r,e){if(te(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(te(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function ei(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Ue(r,e)}function Ue(r,e){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Ue(r,e)}function ti(r){var e=Xt();return function(){var i=he(r),t;if(e){var a=he(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return ri(this,t)}}function ri(r,e){if(e&&(te(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ni(r)}function ni(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Xt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xt=function(){return!!r})()}function he(r){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},he(r)}var ii=function(e){var n;return e.infinite?n=Math.ceil(e.slideCount/e.slidesToScroll):n=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,n};xe.Dots=function(r){ei(n,r);var e=ti(n);function n(){return Kn(this,n),e.apply(this,arguments)}return Zn(n,[{key:"clickHandler",value:function(t,a){a.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t=this.props,a=t.onMouseEnter,o=t.onMouseOver,s=t.onMouseLeave,l=t.infinite,c=t.slidesToScroll,v=t.slidesToShow,u=t.slideCount,b=t.currentSlide,j=ii({slideCount:u,slidesToScroll:c,slidesToShow:v,infinite:l}),O={onMouseEnter:a,onMouseOver:o,onMouseLeave:s},S=[],w=0;w<j;w++){var P=(w+1)*c-1,d=l?P:(0,dt.clamp)(P,0,u-1),p=d-(c-1),k=l?p:(0,dt.clamp)(p,0,u-1),C=(0,Qn.default)({"slick-active":l?b>=k&&b<=d:b===k}),L={message:"dots",index:w,slidesToScroll:c,currentSlide:b},D=this.clickHandler.bind(this,L);S=S.concat(le.default.createElement("li",{key:w,className:C},le.default.cloneElement(this.props.customPaging(w),{onClick:D})))}return le.default.cloneElement(this.props.appendDots(S),Xn({className:this.props.dotsClass},O))}}]),n}(le.default.PureComponent);var re={};function ne(r){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(r)}Object.defineProperty(re,"__esModule",{value:!0});re.PrevArrow=re.NextArrow=void 0;var J=Kt(z),Yt=Kt(Pe),oi=f;function Kt(r){return r&&r.__esModule?r:{default:r}}function ye(){return ye=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},ye.apply(this,arguments)}function pt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function ge(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(i){ai(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function ai(r,e,n){return e=Jt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Vt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function si(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Jt(i.key),i)}}function Zt(r,e,n){return e&&si(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Jt(r){var e=li(r,"string");return ne(e)=="symbol"?e:String(e)}function li(r,e){if(ne(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ne(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function er(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Qe(r,e)}function Qe(r,e){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Qe(r,e)}function tr(r){var e=rr();return function(){var i=me(r),t;if(e){var a=me(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return ui(this,t)}}function ui(r,e){if(e&&(ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ci(r)}function ci(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function rr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rr=function(){return!!r})()}function me(r){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},me(r)}re.PrevArrow=function(r){er(n,r);var e=tr(n);function n(){return Vt(this,n),e.apply(this,arguments)}return Zt(n,[{key:"clickHandler",value:function(t,a){a&&a.preventDefault(),this.props.clickHandler(t,a)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},a=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,a=null);var o={key:"0","data-role":"none",className:(0,Yt.default)(t),style:{display:"block"},onClick:a},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=J.default.cloneElement(this.props.prevArrow,ge(ge({},o),s)):l=J.default.createElement("button",ye({key:"0",type:"button"},o)," ","Previous"),l}}]),n}(J.default.PureComponent);re.NextArrow=function(r){er(n,r);var e=tr(n);function n(){return Vt(this,n),e.apply(this,arguments)}return Zt(n,[{key:"clickHandler",value:function(t,a){a&&a.preventDefault(),this.props.clickHandler(t,a)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},a=this.clickHandler.bind(this,{message:"next"});(0,oi.canGoNext)(this.props)||(t["slick-disabled"]=!0,a=null);var o={key:"1","data-role":"none",className:(0,Yt.default)(t),style:{display:"block"},onClick:a},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=J.default.cloneElement(this.props.nextArrow,ge(ge({},o),s)):l=J.default.createElement("button",ye({key:"1",type:"button"},o)," ","Next"),l}}]),n}(J.default.PureComponent);var nr=function(){if(typeof Map<"u")return Map;function r(e,n){var i=-1;return e.some(function(t,a){return t[0]===n?(i=a,!0):!1}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var i=r(this.__entries__,n),t=this.__entries__[i];return t&&t[1]},e.prototype.set=function(n,i){var t=r(this.__entries__,n);~t?this.__entries__[t][1]=i:this.__entries__.push([n,i])},e.prototype.delete=function(n){var i=this.__entries__,t=r(i,n);~t&&i.splice(t,1)},e.prototype.has=function(n){return!!~r(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,i){i===void 0&&(i=null);for(var t=0,a=this.__entries__;t<a.length;t++){var o=a[t];n.call(i,o[1],o[0])}},e}()}(),Xe=typeof window<"u"&&typeof document<"u"&&window.document===document,be=function(){return typeof V.global<"u"&&V.global.Math===Math?V.global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),di=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(be):function(r){return setTimeout(function(){return r(Date.now())},1e3/60)}}(),fi=2;function pi(r,e){var n=!1,i=!1,t=0;function a(){n&&(n=!1,r()),i&&s()}function o(){di(a)}function s(){var l=Date.now();if(n){if(l-t<fi)return;i=!0}else n=!0,i=!1,setTimeout(o,e);t=l}return s}var vi=20,hi=["top","right","bottom","left","width","height","size","weight"],yi=typeof MutationObserver<"u",gi=function(){function r(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=pi(this.refresh.bind(this),vi)}return r.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},r.prototype.removeObserver=function(e){var n=this.observers_,i=n.indexOf(e);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},r.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},r.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},r.prototype.connect_=function(){!Xe||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),yi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},r.prototype.disconnect_=function(){!Xe||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},r.prototype.onTransitionEnd_=function(e){var n=e.propertyName,i=n===void 0?"":n,t=hi.some(function(a){return!!~i.indexOf(a)});t&&this.refresh()},r.getInstance=function(){return this.instance_||(this.instance_=new r),this.instance_},r.instance_=null,r}(),ir=function(r,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var t=i[n];Object.defineProperty(r,t,{value:e[t],enumerable:!1,writable:!1,configurable:!0})}return r},ie=function(r){var e=r&&r.ownerDocument&&r.ownerDocument.defaultView;return e||be},or=je(0,0,0,0);function Se(r){return parseFloat(r)||0}function vt(r){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(i,t){var a=r["border-"+t+"-width"];return i+Se(a)},0)}function mi(r){for(var e=["top","right","bottom","left"],n={},i=0,t=e;i<t.length;i++){var a=t[i],o=r["padding-"+a];n[a]=Se(o)}return n}function bi(r){var e=r.getBBox();return je(0,0,e.width,e.height)}function Si(r){var e=r.clientWidth,n=r.clientHeight;if(!e&&!n)return or;var i=ie(r).getComputedStyle(r),t=mi(i),a=t.left+t.right,o=t.top+t.bottom,s=Se(i.width),l=Se(i.height);if(i.boxSizing==="border-box"&&(Math.round(s+a)!==e&&(s-=vt(i,"left","right")+a),Math.round(l+o)!==n&&(l-=vt(i,"top","bottom")+o)),!Oi(r)){var c=Math.round(s+a)-e,v=Math.round(l+o)-n;Math.abs(c)!==1&&(s-=c),Math.abs(v)!==1&&(l-=v)}return je(t.left,t.top,s,l)}var wi=function(){return typeof SVGGraphicsElement<"u"?function(r){return r instanceof ie(r).SVGGraphicsElement}:function(r){return r instanceof ie(r).SVGElement&&typeof r.getBBox=="function"}}();function Oi(r){return r===ie(r).document.documentElement}function _i(r){return Xe?wi(r)?bi(r):Si(r):or}function Pi(r){var e=r.x,n=r.y,i=r.width,t=r.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(a.prototype);return ir(o,{x:e,y:n,width:i,height:t,top:n,right:e+i,bottom:t+n,left:e}),o}function je(r,e,n,i){return{x:r,y:e,width:n,height:i}}var ki=function(){function r(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=je(0,0,0,0),this.target=e}return r.prototype.isActive=function(){var e=_i(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},r.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},r}(),xi=function(){function r(e,n){var i=Pi(n);ir(this,{target:e,contentRect:i})}return r}(),ji=function(){function r(e,n,i){if(this.activeObservations_=[],this.observations_=new nr,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=i}return r.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new ki(e)),this.controller_.addObserver(this),this.controller_.refresh())}},r.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},r.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},r.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},r.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(i){return new xi(i.target,i.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},r.prototype.clearActive=function(){this.activeObservations_.splice(0)},r.prototype.hasActive=function(){return this.activeObservations_.length>0},r}(),ar=typeof WeakMap<"u"?new WeakMap:new nr,sr=function(){function r(e){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=gi.getInstance(),i=new ji(e,n,this);ar.set(this,i)}return r}();["observe","unobserve","disconnect"].forEach(function(r){sr.prototype[r]=function(){var e;return(e=ar.get(this))[r].apply(e,arguments)}});var Ti=function(){return typeof be.ResizeObserver<"u"?be.ResizeObserver:sr}();const Ei=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),Ci=m.getAugmentedNamespace(Ei);Object.defineProperty(_e,"__esModule",{value:!0});_e.InnerSlider=void 0;var N=se(z),Li=se(Mt),Mi=se(On),Ri=se(Pe),$=f,Ii=ke,zi=xe,ht=re,Ai=se(Ci);function se(r){return r&&r.__esModule?r:{default:r}}function X(r){"@babel/helpers - typeof";return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(r)}function we(){return we=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},we.apply(this,arguments)}function Di(r,e){if(r==null)return{};var n=$i(r,e),i,t;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(t=0;t<a.length;t++)i=a[t],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(n[i]=r[i])}return n}function $i(r,e){if(r==null)return{};var n={},i=Object.keys(r),t,a;for(a=0;a<i.length;a++)t=i[a],!(e.indexOf(t)>=0)&&(n[t]=r[t]);return n}function yt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function _(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?yt(Object(n),!0).forEach(function(i){I(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Hi(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Ni(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,ur(i.key),i)}}function Wi(r,e,n){return e&&Ni(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function qi(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Ye(r,e)}function Ye(r,e){return Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Ye(r,e)}function Fi(r){var e=lr();return function(){var i=Oe(r),t;if(e){var a=Oe(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return Bi(this,t)}}function Bi(r,e){if(e&&(X(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R(r)}function R(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function lr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lr=function(){return!!r})()}function Oe(r){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(r)}function I(r,e,n){return e=ur(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function ur(r){var e=Gi(r,"string");return X(e)=="symbol"?e:String(e)}function Gi(r,e){if(X(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(X(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}_e.InnerSlider=function(r){qi(n,r);var e=Fi(n);function n(i){var t;Hi(this,n),t=e.call(this,i),I(R(t),"listRefHandler",function(o){return t.list=o}),I(R(t),"trackRefHandler",function(o){return t.track=o}),I(R(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var o=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,$.getHeight)(o)+"px"}}),I(R(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var o=(0,$.getOnDemandLazySlides)(_(_({},t.props),t.state));o.length>0&&(t.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o))}var s=_({listRef:t.list,trackRef:t.track},t.props);t.updateState(s,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),t.props.lazyLoad==="progressive"&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new Ai.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,l.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),I(R(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(o){return clearTimeout(o)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),I(R(t),"componentDidUpdate",function(o){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var s=(0,$.getOnDemandLazySlides)(_(_({},t.props),t.state));s.length>0&&(t.setState(function(v){return{lazyLoadedList:v.lazyLoadedList.concat(s)}}),t.props.onLazyLoad&&t.props.onLazyLoad(s))}t.adaptHeight();var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state),c=t.didPropsChange(o);c&&t.updateState(l,c,function(){t.state.currentSlide>=N.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:N.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),I(R(t),"onWindowResized",function(o){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,Mi.default)(function(){return t.resizeWindow(o)},50),t.debouncedResize()}),I(R(t),"resizeWindow",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,s=!!(t.track&&t.track.node);if(s){var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(l,o,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),I(R(t),"updateState",function(o,s,l){var c=(0,$.initializedState)(o);o=_(_(_({},o),c),{},{slideIndex:c.currentSlide});var v=(0,$.getTrackLeft)(o);o=_(_({},o),{},{left:v});var u=(0,$.getTrackCSS)(o);(s||N.default.Children.count(t.props.children)!==N.default.Children.count(o.children))&&(c.trackStyle=u),t.setState(c,l)}),I(R(t),"ssrInit",function(){if(t.props.variableWidth){var o=0,s=0,l=[],c=(0,$.getPreClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length})),v=(0,$.getPostClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(D){l.push(D.props.style.width),o+=D.props.style.width});for(var u=0;u<c;u++)s+=l[l.length-1-u],o+=l[l.length-1-u];for(var b=0;b<v;b++)o+=l[b];for(var j=0;j<t.state.currentSlide;j++)s+=l[j];var O={width:o+"px",left:-s+"px"};if(t.props.centerMode){var S="".concat(l[t.state.currentSlide],"px");O.left="calc(".concat(O.left," + (100% - ").concat(S,") / 2 ) ")}return{trackStyle:O}}var w=N.default.Children.count(t.props.children),P=_(_(_({},t.props),t.state),{},{slideCount:w}),d=(0,$.getPreClones)(P)+(0,$.getPostClones)(P)+w,p=100/t.props.slidesToShow*d,k=100/d,C=-k*((0,$.getPreClones)(P)+t.state.currentSlide)*p/100;t.props.centerMode&&(C+=(100-k*p/100)/2);var L={width:p+"%",left:C+"%"};return{slideWidth:k+"%",trackStyle:L}}),I(R(t),"checkImagesLoad",function(){var o=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],s=o.length,l=0;Array.prototype.forEach.call(o,function(c){var v=function(){return++l&&l>=s&&t.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var u=c.onclick;c.onclick=function(b){u(b),c.parentNode.focus()}}c.onload||(t.props.lazyLoad?c.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(c.onload=v,c.onerror=function(){v(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),I(R(t),"progressiveLazyLoad",function(){for(var o=[],s=_(_({},t.props),t.state),l=t.state.currentSlide;l<t.state.slideCount+(0,$.getPostClones)(s);l++)if(t.state.lazyLoadedList.indexOf(l)<0){o.push(l);break}for(var c=t.state.currentSlide-1;c>=-(0,$.getPreClones)(s);c--)if(t.state.lazyLoadedList.indexOf(c)<0){o.push(c);break}o.length>0?(t.setState(function(v){return{lazyLoadedList:v.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),I(R(t),"slideHandler",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=t.props,c=l.asNavFor,v=l.beforeChange,u=l.onLazyLoad,b=l.speed,j=l.afterChange,O=t.state.currentSlide,S=(0,$.slideHandler)(_(_(_({index:o},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!s})),w=S.state,P=S.nextState;if(w){v&&v(O,w.currentSlide);var d=w.lazyLoadedList.filter(function(p){return t.state.lazyLoadedList.indexOf(p)<0});u&&d.length>0&&u(d),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),j&&j(O),delete t.animationEndCallback),t.setState(w,function(){c&&t.asNavForIndex!==o&&(t.asNavForIndex=o,c.innerSlider.slideHandler(o)),P&&(t.animationEndCallback=setTimeout(function(){var p=P.animating,k=Di(P,["animating"]);t.setState(k,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:p})},10)),j&&j(w.currentSlide),delete t.animationEndCallback})},b))})}}),I(R(t),"changeSlide",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=_(_({},t.props),t.state),c=(0,$.changeSlide)(l,o);if(!(c!==0&&!c)&&(s===!0?t.slideHandler(c,s):t.slideHandler(c),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var v=t.list.querySelectorAll(".slick-current");v[0]&&v[0].focus()}}),I(R(t),"clickHandler",function(o){t.clickable===!1&&(o.stopPropagation(),o.preventDefault()),t.clickable=!0}),I(R(t),"keyHandler",function(o){var s=(0,$.keyHandler)(o,t.props.accessibility,t.props.rtl);s!==""&&t.changeSlide({message:s})}),I(R(t),"selectHandler",function(o){t.changeSlide(o)}),I(R(t),"disableBodyScroll",function(){var o=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=o}),I(R(t),"enableBodyScroll",function(){window.ontouchmove=null}),I(R(t),"swipeStart",function(o){t.props.verticalSwiping&&t.disableBodyScroll();var s=(0,$.swipeStart)(o,t.props.swipe,t.props.draggable);s!==""&&t.setState(s)}),I(R(t),"swipeMove",function(o){var s=(0,$.swipeMove)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));s&&(s.swiping&&(t.clickable=!1),t.setState(s))}),I(R(t),"swipeEnd",function(o){var s=(0,$.swipeEnd)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(s){var l=s.triggerSlideHandler;delete s.triggerSlideHandler,t.setState(s),l!==void 0&&(t.slideHandler(l),t.props.verticalSwiping&&t.enableBodyScroll())}}),I(R(t),"touchEnd",function(o){t.swipeEnd(o),t.clickable=!0}),I(R(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),I(R(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),I(R(t),"slickGoTo",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o=Number(o),isNaN(o))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:o,currentSlide:t.state.currentSlide},s)},0))}),I(R(t),"play",function(){var o;if(t.props.rtl)o=t.state.currentSlide-t.props.slidesToScroll;else if((0,$.canGoNext)(_(_({},t.props),t.state)))o=t.state.currentSlide+t.props.slidesToScroll;else return!1;t.slideHandler(o)}),I(R(t),"autoPlay",function(o){t.autoplayTimer&&clearInterval(t.autoplayTimer);var s=t.state.autoplaying;if(o==="update"){if(s==="hovered"||s==="focused"||s==="paused")return}else if(o==="leave"){if(s==="paused"||s==="focused")return}else if(o==="blur"&&(s==="paused"||s==="hovered"))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),I(R(t),"pause",function(o){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var s=t.state.autoplaying;o==="paused"?t.setState({autoplaying:"paused"}):o==="focused"?(s==="hovered"||s==="playing")&&t.setState({autoplaying:"focused"}):s==="playing"&&t.setState({autoplaying:"hovered"})}),I(R(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),I(R(t),"onDotsLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),I(R(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),I(R(t),"onTrackLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),I(R(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),I(R(t),"onSlideBlur",function(){return t.props.autoplay&&t.state.autoplaying==="focused"&&t.autoPlay("blur")}),I(R(t),"render",function(){var o=(0,Ri.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),s=_(_({},t.props),t.state),l=(0,$.extractObject)(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=t.props.pauseOnHover;l=_(_({},l),{},{onMouseEnter:c?t.onTrackOver:null,onMouseLeave:c?t.onTrackLeave:null,onMouseOver:c?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null});var v;if(t.props.dots===!0&&t.state.slideCount>=t.props.slidesToShow){var u=(0,$.extractObject)(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;u=_(_({},u),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),v=N.default.createElement(zi.Dots,u)}var j,O,S=(0,$.extractObject)(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);S.clickHandler=t.changeSlide,t.props.arrows&&(j=N.default.createElement(ht.PrevArrow,S),O=N.default.createElement(ht.NextArrow,S));var w=null;t.props.vertical&&(w={height:t.state.listHeight});var P=null;t.props.vertical===!1?t.props.centerMode===!0&&(P={padding:"0px "+t.props.centerPadding}):t.props.centerMode===!0&&(P={padding:t.props.centerPadding+" 0px"});var d=_(_({},w),P),p=t.props.touchMove,k={className:"slick-list",style:d,onClick:t.clickHandler,onMouseDown:p?t.swipeStart:null,onMouseMove:t.state.dragging&&p?t.swipeMove:null,onMouseUp:p?t.swipeEnd:null,onMouseLeave:t.state.dragging&&p?t.swipeEnd:null,onTouchStart:p?t.swipeStart:null,onTouchMove:t.state.dragging&&p?t.swipeMove:null,onTouchEnd:p?t.touchEnd:null,onTouchCancel:t.state.dragging&&p?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},C={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(k={className:"slick-list"},C={className:o}),N.default.createElement("div",C,t.props.unslick?"":j,N.default.createElement("div",we({ref:t.listRefHandler},k),N.default.createElement(Ii.Track,we({ref:t.trackRefHandler},l),t.props.children)),t.props.unslick?"":O,t.props.unslick?"":v)}),t.list=null,t.track=null,t.state=_(_({},Li.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:N.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var a=t.ssrInit();return t.state=_(_({},t.state),a),t}return Wi(n,[{key:"didPropsChange",value:function(t){for(var a=!1,o=0,s=Object.keys(this.props);o<s.length;o++){var l=s[o];if(!t.hasOwnProperty(l)){a=!0;break}if(!(X(t[l])==="object"||typeof t[l]=="function"||isNaN(t[l]))&&t[l]!==this.props[l]){a=!0;break}}return a||N.default.Children.count(this.props.children)!==N.default.Children.count(t.children)}}]),n}(N.default.Component);var Ui=function(r){return r.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},Qi=Ui,Xi=Qi,Yi=function(r){var e=/[height|width]$/;return e.test(r)},gt=function(r){var e="",n=Object.keys(r);return n.forEach(function(i,t){var a=r[i];i=Xi(i),Yi(i)&&typeof a=="number"&&(a=a+"px"),a===!0?e+=i:a===!1?e+="not "+i:e+="("+i+": "+a+")",t<n.length-1&&(e+=" and ")}),e},Ki=function(r){var e="";return typeof r=="string"?r:r instanceof Array?(r.forEach(function(n,i){e+=gt(n),i<r.length-1&&(e+=", ")}),e):gt(r)},Vi=Ki,Ie,mt;function Zi(){if(mt)return Ie;mt=1;function r(e){this.options=e,!e.deferSetup&&this.setup()}return r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},Ie=r,Ie}var ze,bt;function cr(){if(bt)return ze;bt=1;function r(i,t){var a=0,o=i.length,s;for(a;a<o&&(s=t(i[a],a),s!==!1);a++);}function e(i){return Object.prototype.toString.apply(i)==="[object Array]"}function n(i){return typeof i=="function"}return ze={isFunction:n,isArray:e,each:r},ze}var Ae,St;function Ji(){if(St)return Ae;St=1;var r=Zi(),e=cr().each;function n(i,t){this.query=i,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(i);var a=this;this.listener=function(o){a.mql=o.currentTarget||o,a.assess()},this.mql.addListener(this.listener)}return n.prototype={constuctor:n,addHandler:function(i){var t=new r(i);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(i){var t=this.handlers;e(t,function(a,o){if(a.equals(i))return a.destroy(),!t.splice(o,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(i){i.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var i=this.matches()?"on":"off";e(this.handlers,function(t){t[i]()})}},Ae=n,Ae}var De,wt;function eo(){if(wt)return De;wt=1;var r=Ji(),e=cr(),n=e.each,i=e.isFunction,t=e.isArray;function a(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return a.prototype={constructor:a,register:function(o,s,l){var c=this.queries,v=l&&this.browserIsIncapable;return c[o]||(c[o]=new r(o,v)),i(s)&&(s={match:s}),t(s)||(s=[s]),n(s,function(u){i(u)&&(u={match:u}),c[o].addHandler(u)}),this},unregister:function(o,s){var l=this.queries[o];return l&&(s?l.removeHandler(s):(l.clear(),delete this.queries[o])),this}},De=a,De}var $e,Ot;function to(){if(Ot)return $e;Ot=1;var r=eo();return $e=new r,$e}(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=o(z),n=_e,i=o(Vi),t=o(Ze),a=f;function o(g){return g&&g.__esModule?g:{default:g}}function s(g){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},s(g)}function l(){return l=Object.assign?Object.assign.bind():function(g){for(var y=1;y<arguments.length;y++){var M=arguments[y];for(var x in M)Object.prototype.hasOwnProperty.call(M,x)&&(g[x]=M[x])}return g},l.apply(this,arguments)}function c(g,y){var M=Object.keys(g);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(g);y&&(x=x.filter(function(T){return Object.getOwnPropertyDescriptor(g,T).enumerable})),M.push.apply(M,x)}return M}function v(g){for(var y=1;y<arguments.length;y++){var M=arguments[y]!=null?arguments[y]:{};y%2?c(Object(M),!0).forEach(function(x){C(g,x,M[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(M)):c(Object(M)).forEach(function(x){Object.defineProperty(g,x,Object.getOwnPropertyDescriptor(M,x))})}return g}function u(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}function b(g,y){for(var M=0;M<y.length;M++){var x=y[M];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(g,L(x.key),x)}}function j(g,y,M){return y&&b(g.prototype,y),Object.defineProperty(g,"prototype",{writable:!1}),g}function O(g,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),y&&S(g,y)}function S(g,y){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,T){return x.__proto__=T,x},S(g,y)}function w(g){var y=p();return function(){var x=k(g),T;if(y){var E=k(this).constructor;T=Reflect.construct(x,arguments,E)}else T=x.apply(this,arguments);return P(this,T)}}function P(g,y){if(y&&(s(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(g)}function d(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function p(){try{var g=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(p=function(){return!!g})()}function k(g){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},k(g)}function C(g,y,M){return y=L(y),y in g?Object.defineProperty(g,y,{value:M,enumerable:!0,configurable:!0,writable:!0}):g[y]=M,g}function L(g){var y=D(g,"string");return s(y)=="symbol"?y:String(y)}function D(g,y){if(s(g)!="object"||!g)return g;var M=g[Symbol.toPrimitive];if(M!==void 0){var x=M.call(g,y||"default");if(s(x)!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(g)}var q=(0,a.canUseDOM)()&&to();r.default=function(g){O(M,g);var y=w(M);function M(x){var T;return u(this,M),T=y.call(this,x),C(d(T),"innerSliderRefHandler",function(E){return T.innerSlider=E}),C(d(T),"slickPrev",function(){return T.innerSlider.slickPrev()}),C(d(T),"slickNext",function(){return T.innerSlider.slickNext()}),C(d(T),"slickGoTo",function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return T.innerSlider.slickGoTo(E,U)}),C(d(T),"slickPause",function(){return T.innerSlider.pause("paused")}),C(d(T),"slickPlay",function(){return T.innerSlider.autoPlay("play")}),T.state={breakpoint:null},T._responsiveMediaHandlers=[],T}return j(M,[{key:"media",value:function(T,E){q.register(T,E),this._responsiveMediaHandlers.push({query:T,handler:E})}},{key:"componentDidMount",value:function(){var T=this;if(this.props.responsive){var E=this.props.responsive.map(function(H){return H.breakpoint});E.sort(function(H,F){return H-F}),E.forEach(function(H,F){var Y;F===0?Y=(0,i.default)({minWidth:0,maxWidth:H}):Y=(0,i.default)({minWidth:E[F-1]+1,maxWidth:H}),(0,a.canUseDOM)()&&T.media(Y,function(){T.setState({breakpoint:H})})});var U=(0,i.default)({minWidth:E.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(U,function(){T.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(T){q.unregister(T.query,T.handler)})}},{key:"render",value:function(){var T=this,E,U;this.state.breakpoint?(U=this.props.responsive.filter(function(oe){return oe.breakpoint===T.state.breakpoint}),E=U[0].settings==="unslick"?"unslick":v(v(v({},t.default),this.props),U[0].settings)):E=v(v({},t.default),this.props),E.centerMode&&(E.slidesToScroll>1,E.slidesToScroll=1),E.fade&&(E.slidesToShow>1,E.slidesToScroll>1,E.slidesToShow=1,E.slidesToScroll=1);var H=e.default.Children.toArray(this.props.children);H=H.filter(function(oe){return typeof oe=="string"?!!oe.trim():!!oe}),E.variableWidth&&(E.rows>1||E.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),E.variableWidth=!1);for(var F=[],Y=null,B=0;B<H.length;B+=E.rows*E.slidesPerRow){for(var Te=[],K=B;K<B+E.rows*E.slidesPerRow;K+=E.slidesPerRow){for(var et=[],Q=K;Q<K+E.slidesPerRow&&(E.variableWidth&&H[Q].props.style&&(Y=H[Q].props.style.width),!(Q>=H.length));Q+=1)et.push(e.default.cloneElement(H[Q],{key:100*B+10*K+Q,tabIndex:-1,style:{width:"".concat(100/E.slidesPerRow,"%"),display:"inline-block"}}));Te.push(e.default.createElement("div",{key:10*B+K},et))}E.variableWidth?F.push(e.default.createElement("div",{key:B,style:{width:Y}},Te)):F.push(e.default.createElement("div",{key:B},Te))}if(E==="unslick"){var pr="regular slider "+(this.props.className||"");return e.default.createElement("div",{className:pr},H)}else F.length<=E.slidesToShow&&!E.infinite&&(E.unslick=!0);return e.default.createElement(n.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(E)),F)}}]),M}(e.default.Component)})(Lt);(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(Lt);function n(i){return i&&i.__esModule?i:{default:i}}r.default=e.default})(Ct);const ro=m.getDefaultExportFromCjs(Ct),no=()=>ro,io=m.styled_default(no())({name:"Carousel",class:"c1f9jjsn",propsAsIs:!0}),oo="d25r51y",ao=m.styled_default("div")({name:"Dot",class:"d1lvrmx8",propsAsIs:!1}),so=m.styled_default("div")({name:"Dots",class:"d11xps29",propsAsIs:!1}),_t={dots:!0,infinite:!1,arrows:!1,centerMode:!0,centerPadding:"19px",speed:500,rows:1,slidesToShow:1,slidesToScroll:1,appendDots:r=>h.jsxs(so,{children:[" ",r," "]}),customPaging:r=>h.jsx(ao,{children:h.jsx("div",{})},r)};function lo(r,e,n){let i=new Set(e).add(void 0);return r.listen((t,a,o)=>{i.has(o)&&n(t,a,o)})}function uo(r,e={}){let n=z.useCallback(t=>e.keys?lo(r,e.keys,t):r.listen(t),[e.keys,r]),i=r.get.bind(r);return z.useSyncExternalStore(n,i,i)}const co=({gamification:r,autoplay:e,swipeable:n,changeHeightOnInit:i,height:t,onEvent:a,centerPadding:o})=>{const s=z.useRef(),l=z.useRef(null),[c,v]=z.useState(!1),{data:u,error:b,loading:j}=uo(r.betPack.getStore()),{listOfQuestions:O,countQuestionsAvailable:S}=z.useMemo(()=>{const p=u?Object.values(u):[];return{listOfQuestions:p,countQuestionsAvailable:p.filter(({marketClosed:k})=>!k).length}},[u]);z.useEffect(()=>{!b&&!j&&u!==void 0&&!c&&a({type:"slBetPackReady",payload:{next:()=>{var p;return(p=l.current)==null?void 0:p.slickNext()},prev:()=>{var p;return(p=l.current)==null?void 0:p.slickPrev()},current:0,canNext:!0,canPrev:!1}})},[u,b,j,a]);const w=z.useCallback(async(p,k)=>{try{v(!0),await r.betPackVote(p,k),a({type:"slVoted",payload:{questionId:p,answerId:k}})}finally{s.current&&clearTimeout(s.current),e&&(s.current=setTimeout(()=>{var C;(C=l.current)==null||C.slickNext()},2e3))}},[r,a,e]);if(z.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),j)return h.jsx(Et,{});if(!b&&(u==null||!Object.keys(u).length))return h.jsx(He,{actionFn:()=>a({type:"slHardRefresh"}),description:`It looks like we couldn't
6
- load the questions.`,isMobile:n,height:t});if(b)return h.jsx(He,{actionFn:()=>a({type:"slHardRefresh"}),description:b instanceof V.ConnectError&&b.code!==V.Code.InvalidArgument?`The event ID was not
5
+ */(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var s=arguments[o];s&&(a=t(a,i(s)))}return a}function i(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var s in a)e.call(a,s)&&a[s]&&(o=t(o,s));return o}function t(a,o){return o?a?a+" "+o:a+o:a}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(jt);var ke=jt.exports,d={},et={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(z);function n(t){return t&&t.__esModule?t:{default:t}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(a){return e.default.createElement("ul",{style:{display:"block"}},a)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(a){return e.default.createElement("button",null,a+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1};r.default=i})(et);Object.defineProperty(d,"__esModule",{value:!0});d.checkSpecKeys=d.checkNavigable=d.changeSlide=d.canUseDOM=d.canGoNext=void 0;d.clamp=xt;d.extractObject=void 0;d.filterSettings=qr;d.validSettings=d.swipeStart=d.swipeMove=d.swipeEnd=d.slidesOnRight=d.slidesOnLeft=d.slideHandler=d.siblingDirection=d.safePreventDefault=d.lazyStartIndex=d.lazySlidesOnRight=d.lazySlidesOnLeft=d.lazyEndIndex=d.keyHandler=d.initializedState=d.getWidth=d.getTrackLeft=d.getTrackCSS=d.getTrackAnimateCSS=d.getTotalSlides=d.getSwipeDirection=d.getSlideCount=d.getRequiredLazySlides=d.getPreClones=d.getPostClones=d.getOnDemandLazySlides=d.getNavigableIndexes=d.getHeight=void 0;var xr=Tt(z),Er=Tt(et);function Tt(r){return r&&r.__esModule?r:{default:r}}function ae(r){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(r)}function ot(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function D(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ot(Object(n),!0).forEach(function(i){Cr(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Cr(r,e,n){return e=Lr(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Lr(r){var e=Mr(r,"string");return ae(e)=="symbol"?e:String(e)}function Mr(r,e){if(ae(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ae(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function xt(r,e,n){return Math.max(e,Math.min(r,n))}var J=d.safePreventDefault=function(e){var n=["onTouchStart","onTouchMove","onWheel"];n.includes(e._reactName)||e.preventDefault()},Et=d.getOnDemandLazySlides=function(e){for(var n=[],i=Ct(e),t=Lt(e),a=i;a<t;a++)e.lazyLoadedList.indexOf(a)<0&&n.push(a);return n};d.getRequiredLazySlides=function(e){for(var n=[],i=Ct(e),t=Lt(e),a=i;a<t;a++)n.push(a);return n};var Ct=d.lazyStartIndex=function(e){return e.currentSlide-Rr(e)},Lt=d.lazyEndIndex=function(e){return e.currentSlide+Ir(e)},Rr=d.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},Ir=d.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},We=d.getWidth=function(e){return e&&e.offsetWidth||0},Mt=d.getHeight=function(e){return e&&e.offsetHeight||0},Rt=d.getSwipeDirection=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i,t,a,o;return i=e.startX-e.curX,t=e.startY-e.curY,a=Math.atan2(t,i),o=Math.round(a*180/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":n===!0?o>=35&&o<=135?"up":"down":"vertical"},It=d.canGoNext=function(e){var n=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(n=!1),n};d.extractObject=function(e,n){var i={};return n.forEach(function(t){return i[t]=e[t]}),i};d.initializedState=function(e){var n=xr.default.Children.count(e.children),i=e.listRef,t=Math.ceil(We(i)),a=e.trackRef&&e.trackRef.node,o=Math.ceil(We(a)),s;if(e.vertical)s=t;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=t/100),s=Math.ceil((t-l)/e.slidesToShow)}var c=i&&Mt(i.querySelector('[data-index="0"]')),p=c*e.slidesToShow,f=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(f=n-1-e.initialSlide);var b=e.lazyLoadedList||[],x=Et(D(D({},e),{},{currentSlide:f,lazyLoadedList:b}));b=b.concat(x);var O={slideCount:n,slideWidth:s,listWidth:t,trackWidth:o,currentSlide:f,slideHeight:c,listHeight:p,lazyLoadedList:b};return e.autoplaying===null&&e.autoplay&&(O.autoplaying="playing"),O};d.slideHandler=function(e){var n=e.waitForAnimate,i=e.animating,t=e.fade,a=e.infinite,o=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,p=e.centerMode,f=e.slidesToScroll,b=e.slidesToShow,x=e.useCSS,O=e.lazyLoadedList;if(n&&i)return{};var u=o,m,k,g,_={},C={},L=a?o:xt(o,0,s-1);if(t){if(!a&&(o<0||o>=s))return{};o<0?u=o+s:o>=s&&(u=o-s),l&&O.indexOf(u)<0&&(O=O.concat(u)),_={animating:!0,currentSlide:u,lazyLoadedList:O,targetSlide:u},C={animating:!1,targetSlide:u}}else m=u,u<0?(m=u+s,a?s%f!==0&&(m=s-s%f):m=0):!It(e)&&u>c?u=m=c:p&&u>=s?(u=a?s:s-1,m=a?0:s-1):u>=s&&(m=u-s,a?s%f!==0&&(m=0):m=s-b),!a&&u+b>=s&&(m=s-b),k=de(D(D({},e),{},{slideIndex:u})),g=de(D(D({},e),{},{slideIndex:m})),a||(k===g&&(u=m),k=g),l&&(O=O.concat(Et(D(D({},e),{},{currentSlide:u})))),x?(_={animating:!0,currentSlide:m,trackStyle:zt(D(D({},e),{},{left:k})),lazyLoadedList:O,targetSlide:L},C={animating:!1,currentSlide:m,trackStyle:fe(D(D({},e),{},{left:g})),swipeLeft:null,targetSlide:L}):_={currentSlide:m,trackStyle:fe(D(D({},e),{},{left:g})),lazyLoadedList:O,targetSlide:L};return{state:_,nextState:C}};d.changeSlide=function(e,n){var i,t,a,o,s,l=e.slidesToScroll,c=e.slidesToShow,p=e.slideCount,f=e.currentSlide,b=e.targetSlide,x=e.lazyLoad,O=e.infinite;if(o=p%l!==0,i=o?0:(p-f)%l,n.message==="previous")a=i===0?l:c-i,s=f-a,x&&!O&&(t=f-a,s=t===-1?p-1:t),O||(s=b-l);else if(n.message==="next")a=i===0?l:i,s=f+a,x&&!O&&(s=(f+l)%p+i),O||(s=b+l);else if(n.message==="dots")s=n.index*n.slidesToScroll;else if(n.message==="children"){if(s=n.index,O){var u=Nr(D(D({},e),{},{targetSlide:s}));s>n.currentSlide&&u==="left"?s=s-p:s<n.currentSlide&&u==="right"&&(s=s+p)}}else n.message==="index"&&(s=Number(n.index));return s};d.keyHandler=function(e,n,i){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":e.keyCode===37?i?"next":"previous":e.keyCode===39?i?"previous":"next":""};d.swipeStart=function(e,n,i){return e.target.tagName==="IMG"&&J(e),!n||!i&&e.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};d.swipeMove=function(e,n){var i=n.scrolling,t=n.animating,a=n.vertical,o=n.swipeToSlide,s=n.verticalSwiping,l=n.rtl,c=n.currentSlide,p=n.edgeFriction,f=n.edgeDragged,b=n.onEdge,x=n.swiped,O=n.swiping,u=n.slideCount,m=n.slidesToScroll,k=n.infinite,g=n.touchObject,_=n.swipeEvent,C=n.listHeight,L=n.listWidth;if(!i){if(t)return J(e);a&&o&&s&&J(e);var E,A={},q=de(n);g.curX=e.touches?e.touches[0].pageX:e.clientX,g.curY=e.touches?e.touches[0].pageY:e.clientY,g.swipeLength=Math.round(Math.sqrt(Math.pow(g.curX-g.startX,2)));var h=Math.round(Math.sqrt(Math.pow(g.curY-g.startY,2)));if(!s&&!O&&h>10)return{scrolling:!0};s&&(g.swipeLength=h);var v=(l?-1:1)*(g.curX>g.startX?1:-1);s&&(v=g.curY>g.startY?1:-1);var M=Math.ceil(u/m),P=Rt(n.touchObject,s),j=g.swipeLength;return k||(c===0&&(P==="right"||P==="down")||c+1>=M&&(P==="left"||P==="up")||!It(n)&&(P==="left"||P==="up"))&&(j=g.swipeLength*p,f===!1&&b&&(b(P),A.edgeDragged=!0)),!x&&_&&(_(P),A.swiped=!0),a?E=q+j*(C/L)*v:l?E=q-j*v:E=q+j*v,s&&(E=q+j*v),A=D(D({},A),{},{touchObject:g,swipeLeft:E,trackStyle:fe(D(D({},n),{},{left:E}))}),Math.abs(g.curX-g.startX)<Math.abs(g.curY-g.startY)*.8||g.swipeLength>10&&(A.swiping=!0,J(e)),A}};d.swipeEnd=function(e,n){var i=n.dragging,t=n.swipe,a=n.touchObject,o=n.listWidth,s=n.touchThreshold,l=n.verticalSwiping,c=n.listHeight,p=n.swipeToSlide,f=n.scrolling,b=n.onSwipe,x=n.targetSlide,O=n.currentSlide,u=n.infinite;if(!i)return t&&J(e),{};var m=l?c/s:o/s,k=Rt(a,l),g={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!a.swipeLength)return g;if(a.swipeLength>m){J(e),b&&b(k);var _,C,L=u?O:x;switch(k){case"left":case"up":C=L+st(n),_=p?at(n,C):C,g.currentDirection=0;break;case"right":case"down":C=L-st(n),_=p?at(n,C):C,g.currentDirection=1;break;default:_=L}g.triggerSlideHandler=_}else{var E=de(n);g.trackStyle=zt(D(D({},n),{},{left:E}))}return g};var zr=d.getNavigableIndexes=function(e){for(var n=e.infinite?e.slideCount*2:e.slideCount,i=e.infinite?e.slidesToShow*-1:0,t=e.infinite?e.slidesToShow*-1:0,a=[];i<n;)a.push(i),i=t+e.slidesToScroll,t+=Math.min(e.slidesToScroll,e.slidesToShow);return a},at=d.checkNavigable=function(e,n){var i=zr(e),t=0;if(n>i[i.length-1])n=i[i.length-1];else for(var a in i){if(n<i[a]){n=t;break}t=i[a]}return n},st=d.getSlideCount=function(e){var n=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var i,t=e.listRef,a=t.querySelectorAll&&t.querySelectorAll(".slick-slide")||[];if(Array.from(a).every(function(l){if(e.vertical){if(l.offsetTop+Mt(l)/2>e.swipeLeft*-1)return i=l,!1}else if(l.offsetLeft-n+We(l)/2>e.swipeLeft*-1)return i=l,!1;return!0}),!i)return 0;var o=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide,s=Math.abs(i.dataset.index-o)||1;return s}else return e.slidesToScroll},tt=d.checkSpecKeys=function(e,n){return n.reduce(function(i,t){return i&&e.hasOwnProperty(t)},!0)?null:console.error("Keys Missing:",e)},fe=d.getTrackCSS=function(e){tt(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n,i,t=e.slideCount+2*e.slidesToShow;e.vertical?i=t*e.slideHeight:n=Ar(e)*e.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";a=D(D({},a),{},{WebkitTransform:o,transform:s,msTransform:l})}else e.vertical?a.top=e.left:a.left=e.left;return e.fade&&(a={opacity:1}),n&&(a.width=n),i&&(a.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},zt=d.getTrackAnimateCSS=function(e){tt(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var n=fe(e);return e.useTransform?(n.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,n.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?n.transition="top "+e.speed+"ms "+e.cssEase:n.transition="left "+e.speed+"ms "+e.cssEase,n},de=d.getTrackLeft=function(e){if(e.unslick)return 0;tt(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var n=e.slideIndex,i=e.trackRef,t=e.infinite,a=e.centerMode,o=e.slideCount,s=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,p=e.listWidth,f=e.variableWidth,b=e.slideHeight,x=e.fade,O=e.vertical,u=0,m,k,g=0;if(x||e.slideCount===1)return 0;var _=0;if(t?(_=-ce(e),o%l!==0&&n+l>o&&(_=-(n>o?s-(n-o):o%l)),a&&(_+=parseInt(s/2))):(o%l!==0&&n+l>o&&(_=s-o%l),a&&(_=parseInt(s/2))),u=_*c,g=_*b,O?m=n*b*-1+g:m=n*c*-1+u,f===!0){var C,L=i&&i.node;if(C=n+ce(e),k=L&&L.childNodes[C],m=k?k.offsetLeft*-1:0,a===!0){C=t?n+ce(e):n,k=L&&L.children[C],m=0;for(var E=0;E<C;E++)m-=L&&L.children[E]&&L.children[E].offsetWidth;m-=parseInt(e.centerPadding),m+=k&&(p-k.offsetWidth)/2}}return m},ce=d.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},Dr=d.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},Ar=d.getTotalSlides=function(e){return e.slideCount===1?1:ce(e)+e.slideCount+Dr(e)},Nr=d.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Hr(e)?"left":"right":e.targetSlide<e.currentSlide-$r(e)?"right":"left"},Hr=d.slidesOnRight=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,a=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(a)>0&&(o+=1),t&&n%2===0&&(o+=1),o}return t?0:n-1},$r=d.slidesOnLeft=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,a=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(a)>0&&(o+=1),!t&&n%2===0&&(o+=1),o}return t?n-1:0};d.canUseDOM=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)};var Wr=d.validSettings=Object.keys(Er.default);function qr(r){return Wr.reduce(function(e,n){return r.hasOwnProperty(n)&&(e[n]=r[n]),e},{})}var je={};Object.defineProperty(je,"__esModule",{value:!0});je.Track=void 0;var G=Dt(z),Le=Dt(ke),Me=d;function Dt(r){return r&&r.__esModule?r:{default:r}}function ee(r){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(r)}function qe(){return qe=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},qe.apply(this,arguments)}function Fr(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Nt(i.key),i)}}function Gr(r,e,n){return e&&Br(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Ur(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Fe(r,e)}function Fe(r,e){return Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Fe(r,e)}function Qr(r){var e=At();return function(){var i=pe(r),t;if(e){var a=pe(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return Kr(this,t)}}function Kr(r,e){if(e&&(ee(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Be(r)}function Be(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function At(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(At=function(){return!!r})()}function pe(r){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},pe(r)}function lt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function W(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?lt(Object(n),!0).forEach(function(i){Ge(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Ge(r,e,n){return e=Nt(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Nt(r){var e=Xr(r,"string");return ee(e)=="symbol"?e:String(e)}function Xr(r,e){if(ee(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ee(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}var Re=function(e){var n,i,t,a,o;e.rtl?o=e.slideCount-1-e.index:o=e.index,t=o<0||o>=e.slideCount,e.centerMode?(a=Math.floor(e.slidesToShow/2),i=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-a-1&&o<=e.currentSlide+a&&(n=!0)):n=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow;var s;e.targetSlide<0?s=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?s=e.targetSlide-e.slideCount:s=e.targetSlide;var l=o===s;return{"slick-slide":!0,"slick-active":n,"slick-center":i,"slick-cloned":t,"slick-current":l}},Yr=function(e){var n={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(n.width=e.slideWidth),e.fade&&(n.position="relative",e.vertical?n.top=-e.index*parseInt(e.slideHeight):n.left=-e.index*parseInt(e.slideWidth),n.opacity=e.currentSlide===e.index?1:0,n.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(n.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),n},Ie=function(e,n){return e.key||n},Vr=function(e){var n,i=[],t=[],a=[],o=G.default.Children.count(e.children),s=(0,Me.lazyStartIndex)(e),l=(0,Me.lazyEndIndex)(e);return G.default.Children.forEach(e.children,function(c,p){var f,b={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?f=c:f=G.default.createElement("div",null);var x=Yr(W(W({},e),{},{index:p})),O=f.props.className||"",u=Re(W(W({},e),{},{index:p}));if(i.push(G.default.cloneElement(f,{key:"original"+Ie(f,p),"data-index":p,className:(0,Le.default)(u,O),tabIndex:"-1","aria-hidden":!u["slick-active"],style:W(W({outline:"none"},f.props.style||{}),x),onClick:function(g){f.props&&f.props.onClick&&f.props.onClick(g),e.focusOnSelect&&e.focusOnSelect(b)}})),e.infinite&&e.fade===!1){var m=o-p;m<=(0,Me.getPreClones)(e)&&(n=-m,n>=s&&(f=c),u=Re(W(W({},e),{},{index:n})),t.push(G.default.cloneElement(f,{key:"precloned"+Ie(f,n),"data-index":n,tabIndex:"-1",className:(0,Le.default)(u,O),"aria-hidden":!u["slick-active"],style:W(W({},f.props.style||{}),x),onClick:function(g){f.props&&f.props.onClick&&f.props.onClick(g),e.focusOnSelect&&e.focusOnSelect(b)}}))),n=o+p,n<l&&(f=c),u=Re(W(W({},e),{},{index:n})),a.push(G.default.cloneElement(f,{key:"postcloned"+Ie(f,n),"data-index":n,tabIndex:"-1",className:(0,Le.default)(u,O),"aria-hidden":!u["slick-active"],style:W(W({},f.props.style||{}),x),onClick:function(g){f.props&&f.props.onClick&&f.props.onClick(g),e.focusOnSelect&&e.focusOnSelect(b)}}))}}),e.rtl?t.concat(i,a).reverse():t.concat(i,a)};je.Track=function(r){Ur(n,r);var e=Qr(n);function n(){var i;Fr(this,n);for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return i=e.call.apply(e,[this].concat(a)),Ge(Be(i),"node",null),Ge(Be(i),"handleRef",function(s){i.node=s}),i}return Gr(n,[{key:"render",value:function(){var t=Vr(this.props),a=this.props,o=a.onMouseEnter,s=a.onMouseOver,l=a.onMouseLeave,c={onMouseEnter:o,onMouseOver:s,onMouseLeave:l};return G.default.createElement("div",qe({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},c),t)}}]),n}(G.default.PureComponent);var Te={};function te(r){"@babel/helpers - typeof";return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(r)}Object.defineProperty(Te,"__esModule",{value:!0});Te.Dots=void 0;var le=Ht(z),Jr=Ht(ke),ut=d;function Ht(r){return r&&r.__esModule?r:{default:r}}function ct(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function Zr(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ct(Object(n),!0).forEach(function(i){en(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function en(r,e,n){return e=$t(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function tn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,$t(i.key),i)}}function nn(r,e,n){return e&&rn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function $t(r){var e=on(r,"string");return te(e)=="symbol"?e:String(e)}function on(r,e){if(te(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(te(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function an(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Ue(r,e)}function Ue(r,e){return Ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Ue(r,e)}function sn(r){var e=Wt();return function(){var i=ve(r),t;if(e){var a=ve(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return ln(this,t)}}function ln(r,e){if(e&&(te(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return un(r)}function un(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Wt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Wt=function(){return!!r})()}function ve(r){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(r)}var cn=function(e){var n;return e.infinite?n=Math.ceil(e.slideCount/e.slidesToScroll):n=Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,n};Te.Dots=function(r){an(n,r);var e=sn(n);function n(){return tn(this,n),e.apply(this,arguments)}return nn(n,[{key:"clickHandler",value:function(t,a){a.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t=this.props,a=t.onMouseEnter,o=t.onMouseOver,s=t.onMouseLeave,l=t.infinite,c=t.slidesToScroll,p=t.slidesToShow,f=t.slideCount,b=t.currentSlide,x=cn({slideCount:f,slidesToScroll:c,slidesToShow:p,infinite:l}),O={onMouseEnter:a,onMouseOver:o,onMouseLeave:s},u=[],m=0;m<x;m++){var k=(m+1)*c-1,g=l?k:(0,ut.clamp)(k,0,f-1),_=g-(c-1),C=l?_:(0,ut.clamp)(_,0,f-1),L=(0,Jr.default)({"slick-active":l?b>=C&&b<=g:b===C}),E={message:"dots",index:m,slidesToScroll:c,currentSlide:b},A=this.clickHandler.bind(this,E);u=u.concat(le.default.createElement("li",{key:m,className:L},le.default.cloneElement(this.props.customPaging(m),{onClick:A})))}return le.default.cloneElement(this.props.appendDots(u),Zr({className:this.props.dotsClass},O))}}]),n}(le.default.PureComponent);var re={};function ne(r){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(r)}Object.defineProperty(re,"__esModule",{value:!0});re.PrevArrow=re.NextArrow=void 0;var Z=Ft(z),qt=Ft(ke),fn=d;function Ft(r){return r&&r.__esModule?r:{default:r}}function he(){return he=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},he.apply(this,arguments)}function ft(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function ye(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ft(Object(n),!0).forEach(function(i){dn(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function dn(r,e,n){return e=Ut(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function Bt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Ut(i.key),i)}}function Gt(r,e,n){return e&&pn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Ut(r){var e=vn(r,"string");return ne(e)=="symbol"?e:String(e)}function vn(r,e){if(ne(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(ne(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Qt(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Qe(r,e)}function Qe(r,e){return Qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Qe(r,e)}function Kt(r){var e=Xt();return function(){var i=ge(r),t;if(e){var a=ge(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return hn(this,t)}}function hn(r,e){if(e&&(ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yn(r)}function yn(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Xt(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Xt=function(){return!!r})()}function ge(r){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(r)}re.PrevArrow=function(r){Qt(n,r);var e=Kt(n);function n(){return Bt(this,n),e.apply(this,arguments)}return Gt(n,[{key:"clickHandler",value:function(t,a){a&&a.preventDefault(),this.props.clickHandler(t,a)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},a=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,a=null);var o={key:"0","data-role":"none",className:(0,qt.default)(t),style:{display:"block"},onClick:a},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=Z.default.cloneElement(this.props.prevArrow,ye(ye({},o),s)):l=Z.default.createElement("button",he({key:"0",type:"button"},o)," ","Previous"),l}}]),n}(Z.default.PureComponent);re.NextArrow=function(r){Qt(n,r);var e=Kt(n);function n(){return Bt(this,n),e.apply(this,arguments)}return Gt(n,[{key:"clickHandler",value:function(t,a){a&&a.preventDefault(),this.props.clickHandler(t,a)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},a=this.clickHandler.bind(this,{message:"next"});(0,fn.canGoNext)(this.props)||(t["slick-disabled"]=!0,a=null);var o={key:"1","data-role":"none",className:(0,qt.default)(t),style:{display:"block"},onClick:a},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=Z.default.cloneElement(this.props.nextArrow,ye(ye({},o),s)):l=Z.default.createElement("button",he({key:"1",type:"button"},o)," ","Next"),l}}]),n}(Z.default.PureComponent);var Yt=function(){if(typeof Map<"u")return Map;function r(e,n){var i=-1;return e.some(function(t,a){return t[0]===n?(i=a,!0):!1}),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var i=r(this.__entries__,n),t=this.__entries__[i];return t&&t[1]},e.prototype.set=function(n,i){var t=r(this.__entries__,n);~t?this.__entries__[t][1]=i:this.__entries__.push([n,i])},e.prototype.delete=function(n){var i=this.__entries__,t=r(i,n);~t&&i.splice(t,1)},e.prototype.has=function(n){return!!~r(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,i){i===void 0&&(i=null);for(var t=0,a=this.__entries__;t<a.length;t++){var o=a[t];n.call(i,o[1],o[0])}},e}()}(),Ke=typeof window<"u"&&typeof document<"u"&&window.document===document,me=function(){return typeof V.global<"u"&&V.global.Math===Math?V.global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),gn=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(me):function(r){return setTimeout(function(){return r(Date.now())},1e3/60)}}(),mn=2;function bn(r,e){var n=!1,i=!1,t=0;function a(){n&&(n=!1,r()),i&&s()}function o(){gn(a)}function s(){var l=Date.now();if(n){if(l-t<mn)return;i=!0}else n=!0,i=!1,setTimeout(o,e);t=l}return s}var Sn=20,wn=["top","right","bottom","left","width","height","size","weight"],On=typeof MutationObserver<"u",_n=function(){function r(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=bn(this.refresh.bind(this),Sn)}return r.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},r.prototype.removeObserver=function(e){var n=this.observers_,i=n.indexOf(e);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},r.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},r.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},r.prototype.connect_=function(){!Ke||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),On?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},r.prototype.disconnect_=function(){!Ke||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},r.prototype.onTransitionEnd_=function(e){var n=e.propertyName,i=n===void 0?"":n,t=wn.some(function(a){return!!~i.indexOf(a)});t&&this.refresh()},r.getInstance=function(){return this.instance_||(this.instance_=new r),this.instance_},r.instance_=null,r}(),Vt=function(r,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var t=i[n];Object.defineProperty(r,t,{value:e[t],enumerable:!1,writable:!1,configurable:!0})}return r},ie=function(r){var e=r&&r.ownerDocument&&r.ownerDocument.defaultView;return e||me},Jt=xe(0,0,0,0);function be(r){return parseFloat(r)||0}function dt(r){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(i,t){var a=r["border-"+t+"-width"];return i+be(a)},0)}function Pn(r){for(var e=["top","right","bottom","left"],n={},i=0,t=e;i<t.length;i++){var a=t[i],o=r["padding-"+a];n[a]=be(o)}return n}function kn(r){var e=r.getBBox();return xe(0,0,e.width,e.height)}function jn(r){var e=r.clientWidth,n=r.clientHeight;if(!e&&!n)return Jt;var i=ie(r).getComputedStyle(r),t=Pn(i),a=t.left+t.right,o=t.top+t.bottom,s=be(i.width),l=be(i.height);if(i.boxSizing==="border-box"&&(Math.round(s+a)!==e&&(s-=dt(i,"left","right")+a),Math.round(l+o)!==n&&(l-=dt(i,"top","bottom")+o)),!xn(r)){var c=Math.round(s+a)-e,p=Math.round(l+o)-n;Math.abs(c)!==1&&(s-=c),Math.abs(p)!==1&&(l-=p)}return xe(t.left,t.top,s,l)}var Tn=function(){return typeof SVGGraphicsElement<"u"?function(r){return r instanceof ie(r).SVGGraphicsElement}:function(r){return r instanceof ie(r).SVGElement&&typeof r.getBBox=="function"}}();function xn(r){return r===ie(r).document.documentElement}function En(r){return Ke?Tn(r)?kn(r):jn(r):Jt}function Cn(r){var e=r.x,n=r.y,i=r.width,t=r.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(a.prototype);return Vt(o,{x:e,y:n,width:i,height:t,top:n,right:e+i,bottom:t+n,left:e}),o}function xe(r,e,n,i){return{x:r,y:e,width:n,height:i}}var Ln=function(){function r(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=xe(0,0,0,0),this.target=e}return r.prototype.isActive=function(){var e=En(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},r.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},r}(),Mn=function(){function r(e,n){var i=Cn(n);Vt(this,{target:e,contentRect:i})}return r}(),Rn=function(){function r(e,n,i){if(this.activeObservations_=[],this.observations_=new Yt,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=i}return r.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new Ln(e)),this.controller_.addObserver(this),this.controller_.refresh())}},r.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ie(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},r.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},r.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},r.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(i){return new Mn(i.target,i.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},r.prototype.clearActive=function(){this.activeObservations_.splice(0)},r.prototype.hasActive=function(){return this.activeObservations_.length>0},r}(),Zt=typeof WeakMap<"u"?new WeakMap:new Yt,er=function(){function r(e){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=_n.getInstance(),i=new Rn(e,n,this);Zt.set(this,i)}return r}();["observe","unobserve","disconnect"].forEach(function(r){er.prototype[r]=function(){var e;return(e=Zt.get(this))[r].apply(e,arguments)}});var In=function(){return typeof me.ResizeObserver<"u"?me.ResizeObserver:er}();const zn=Object.freeze(Object.defineProperty({__proto__:null,default:In},Symbol.toStringTag,{value:"Module"})),Dn=w.getAugmentedNamespace(zn);Object.defineProperty(Pe,"__esModule",{value:!0});Pe.InnerSlider=void 0;var $=se(z),An=se(kt),Nn=se(Tr),Hn=se(ke),N=d,$n=je,Wn=Te,pt=re,qn=se(Dn);function se(r){return r&&r.__esModule?r:{default:r}}function K(r){"@babel/helpers - typeof";return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(r)}function Se(){return Se=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},Se.apply(this,arguments)}function Fn(r,e){if(r==null)return{};var n=Bn(r,e),i,t;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(t=0;t<a.length;t++)i=a[t],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(n[i]=r[i])}return n}function Bn(r,e){if(r==null)return{};var n={},i=Object.keys(r),t,a;for(a=0;a<i.length;a++)t=i[a],!(e.indexOf(t)>=0)&&(n[t]=r[t]);return n}function vt(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),n.push.apply(n,i)}return n}function S(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?vt(Object(n),!0).forEach(function(i){I(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function Gn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(r,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,rr(i.key),i)}}function Qn(r,e,n){return e&&Un(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Kn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Xe(r,e)}function Xe(r,e){return Xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,t){return i.__proto__=t,i},Xe(r,e)}function Xn(r){var e=tr();return function(){var i=we(r),t;if(e){var a=we(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return Yn(this,t)}}function Yn(r,e){if(e&&(K(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R(r)}function R(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function tr(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tr=function(){return!!r})()}function we(r){return we=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},we(r)}function I(r,e,n){return e=rr(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function rr(r){var e=Vn(r,"string");return K(e)=="symbol"?e:String(e)}function Vn(r,e){if(K(r)!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,e||"default");if(K(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}Pe.InnerSlider=function(r){Kn(n,r);var e=Xn(n);function n(i){var t;Gn(this,n),t=e.call(this,i),I(R(t),"listRefHandler",function(o){return t.list=o}),I(R(t),"trackRefHandler",function(o){return t.track=o}),I(R(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var o=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,N.getHeight)(o)+"px"}}),I(R(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var o=(0,N.getOnDemandLazySlides)(S(S({},t.props),t.state));o.length>0&&(t.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o))}var s=S({listRef:t.list,trackRef:t.track},t.props);t.updateState(s,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),t.props.lazyLoad==="progressive"&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new qn.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,l.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),I(R(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(o){return clearTimeout(o)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),I(R(t),"componentDidUpdate",function(o){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var s=(0,N.getOnDemandLazySlides)(S(S({},t.props),t.state));s.length>0&&(t.setState(function(p){return{lazyLoadedList:p.lazyLoadedList.concat(s)}}),t.props.onLazyLoad&&t.props.onLazyLoad(s))}t.adaptHeight();var l=S(S({listRef:t.list,trackRef:t.track},t.props),t.state),c=t.didPropsChange(o);c&&t.updateState(l,c,function(){t.state.currentSlide>=$.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:$.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),I(R(t),"onWindowResized",function(o){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,Nn.default)(function(){return t.resizeWindow(o)},50),t.debouncedResize()}),I(R(t),"resizeWindow",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,s=!!(t.track&&t.track.node);if(s){var l=S(S({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(l,o,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),I(R(t),"updateState",function(o,s,l){var c=(0,N.initializedState)(o);o=S(S(S({},o),c),{},{slideIndex:c.currentSlide});var p=(0,N.getTrackLeft)(o);o=S(S({},o),{},{left:p});var f=(0,N.getTrackCSS)(o);(s||$.default.Children.count(t.props.children)!==$.default.Children.count(o.children))&&(c.trackStyle=f),t.setState(c,l)}),I(R(t),"ssrInit",function(){if(t.props.variableWidth){var o=0,s=0,l=[],c=(0,N.getPreClones)(S(S(S({},t.props),t.state),{},{slideCount:t.props.children.length})),p=(0,N.getPostClones)(S(S(S({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(A){l.push(A.props.style.width),o+=A.props.style.width});for(var f=0;f<c;f++)s+=l[l.length-1-f],o+=l[l.length-1-f];for(var b=0;b<p;b++)o+=l[b];for(var x=0;x<t.state.currentSlide;x++)s+=l[x];var O={width:o+"px",left:-s+"px"};if(t.props.centerMode){var u="".concat(l[t.state.currentSlide],"px");O.left="calc(".concat(O.left," + (100% - ").concat(u,") / 2 ) ")}return{trackStyle:O}}var m=$.default.Children.count(t.props.children),k=S(S(S({},t.props),t.state),{},{slideCount:m}),g=(0,N.getPreClones)(k)+(0,N.getPostClones)(k)+m,_=100/t.props.slidesToShow*g,C=100/g,L=-C*((0,N.getPreClones)(k)+t.state.currentSlide)*_/100;t.props.centerMode&&(L+=(100-C*_/100)/2);var E={width:_+"%",left:L+"%"};return{slideWidth:C+"%",trackStyle:E}}),I(R(t),"checkImagesLoad",function(){var o=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],s=o.length,l=0;Array.prototype.forEach.call(o,function(c){var p=function(){return++l&&l>=s&&t.onWindowResized()};if(!c.onclick)c.onclick=function(){return c.parentNode.focus()};else{var f=c.onclick;c.onclick=function(b){f(b),c.parentNode.focus()}}c.onload||(t.props.lazyLoad?c.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(c.onload=p,c.onerror=function(){p(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),I(R(t),"progressiveLazyLoad",function(){for(var o=[],s=S(S({},t.props),t.state),l=t.state.currentSlide;l<t.state.slideCount+(0,N.getPostClones)(s);l++)if(t.state.lazyLoadedList.indexOf(l)<0){o.push(l);break}for(var c=t.state.currentSlide-1;c>=-(0,N.getPreClones)(s);c--)if(t.state.lazyLoadedList.indexOf(c)<0){o.push(c);break}o.length>0?(t.setState(function(p){return{lazyLoadedList:p.lazyLoadedList.concat(o)}}),t.props.onLazyLoad&&t.props.onLazyLoad(o)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),I(R(t),"slideHandler",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=t.props,c=l.asNavFor,p=l.beforeChange,f=l.onLazyLoad,b=l.speed,x=l.afterChange,O=t.state.currentSlide,u=(0,N.slideHandler)(S(S(S({index:o},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!s})),m=u.state,k=u.nextState;if(m){p&&p(O,m.currentSlide);var g=m.lazyLoadedList.filter(function(_){return t.state.lazyLoadedList.indexOf(_)<0});f&&g.length>0&&f(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),x&&x(O),delete t.animationEndCallback),t.setState(m,function(){c&&t.asNavForIndex!==o&&(t.asNavForIndex=o,c.innerSlider.slideHandler(o)),k&&(t.animationEndCallback=setTimeout(function(){var _=k.animating,C=Fn(k,["animating"]);t.setState(C,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:_})},10)),x&&x(m.currentSlide),delete t.animationEndCallback})},b))})}}),I(R(t),"changeSlide",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=S(S({},t.props),t.state),c=(0,N.changeSlide)(l,o);if(!(c!==0&&!c)&&(s===!0?t.slideHandler(c,s):t.slideHandler(c),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var p=t.list.querySelectorAll(".slick-current");p[0]&&p[0].focus()}}),I(R(t),"clickHandler",function(o){t.clickable===!1&&(o.stopPropagation(),o.preventDefault()),t.clickable=!0}),I(R(t),"keyHandler",function(o){var s=(0,N.keyHandler)(o,t.props.accessibility,t.props.rtl);s!==""&&t.changeSlide({message:s})}),I(R(t),"selectHandler",function(o){t.changeSlide(o)}),I(R(t),"disableBodyScroll",function(){var o=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=o}),I(R(t),"enableBodyScroll",function(){window.ontouchmove=null}),I(R(t),"swipeStart",function(o){t.props.verticalSwiping&&t.disableBodyScroll();var s=(0,N.swipeStart)(o,t.props.swipe,t.props.draggable);s!==""&&t.setState(s)}),I(R(t),"swipeMove",function(o){var s=(0,N.swipeMove)(o,S(S(S({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));s&&(s.swiping&&(t.clickable=!1),t.setState(s))}),I(R(t),"swipeEnd",function(o){var s=(0,N.swipeEnd)(o,S(S(S({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(s){var l=s.triggerSlideHandler;delete s.triggerSlideHandler,t.setState(s),l!==void 0&&(t.slideHandler(l),t.props.verticalSwiping&&t.enableBodyScroll())}}),I(R(t),"touchEnd",function(o){t.swipeEnd(o),t.clickable=!0}),I(R(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),I(R(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),I(R(t),"slickGoTo",function(o){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o=Number(o),isNaN(o))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:o,currentSlide:t.state.currentSlide},s)},0))}),I(R(t),"play",function(){var o;if(t.props.rtl)o=t.state.currentSlide-t.props.slidesToScroll;else if((0,N.canGoNext)(S(S({},t.props),t.state)))o=t.state.currentSlide+t.props.slidesToScroll;else return!1;t.slideHandler(o)}),I(R(t),"autoPlay",function(o){t.autoplayTimer&&clearInterval(t.autoplayTimer);var s=t.state.autoplaying;if(o==="update"){if(s==="hovered"||s==="focused"||s==="paused")return}else if(o==="leave"){if(s==="paused"||s==="focused")return}else if(o==="blur"&&(s==="paused"||s==="hovered"))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),I(R(t),"pause",function(o){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var s=t.state.autoplaying;o==="paused"?t.setState({autoplaying:"paused"}):o==="focused"?(s==="hovered"||s==="playing")&&t.setState({autoplaying:"focused"}):s==="playing"&&t.setState({autoplaying:"hovered"})}),I(R(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),I(R(t),"onDotsLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),I(R(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),I(R(t),"onTrackLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),I(R(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),I(R(t),"onSlideBlur",function(){return t.props.autoplay&&t.state.autoplaying==="focused"&&t.autoPlay("blur")}),I(R(t),"render",function(){var o=(0,Hn.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),s=S(S({},t.props),t.state),l=(0,N.extractObject)(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=t.props.pauseOnHover;l=S(S({},l),{},{onMouseEnter:c?t.onTrackOver:null,onMouseLeave:c?t.onTrackLeave:null,onMouseOver:c?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null});var p;if(t.props.dots===!0&&t.state.slideCount>=t.props.slidesToShow){var f=(0,N.extractObject)(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),b=t.props.pauseOnDotsHover;f=S(S({},f),{},{clickHandler:t.changeSlide,onMouseEnter:b?t.onDotsLeave:null,onMouseOver:b?t.onDotsOver:null,onMouseLeave:b?t.onDotsLeave:null}),p=$.default.createElement(Wn.Dots,f)}var x,O,u=(0,N.extractObject)(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);u.clickHandler=t.changeSlide,t.props.arrows&&(x=$.default.createElement(pt.PrevArrow,u),O=$.default.createElement(pt.NextArrow,u));var m=null;t.props.vertical&&(m={height:t.state.listHeight});var k=null;t.props.vertical===!1?t.props.centerMode===!0&&(k={padding:"0px "+t.props.centerPadding}):t.props.centerMode===!0&&(k={padding:t.props.centerPadding+" 0px"});var g=S(S({},m),k),_=t.props.touchMove,C={className:"slick-list",style:g,onClick:t.clickHandler,onMouseDown:_?t.swipeStart:null,onMouseMove:t.state.dragging&&_?t.swipeMove:null,onMouseUp:_?t.swipeEnd:null,onMouseLeave:t.state.dragging&&_?t.swipeEnd:null,onTouchStart:_?t.swipeStart:null,onTouchMove:t.state.dragging&&_?t.swipeMove:null,onTouchEnd:_?t.touchEnd:null,onTouchCancel:t.state.dragging&&_?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},L={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(C={className:"slick-list"},L={className:o}),$.default.createElement("div",L,t.props.unslick?"":x,$.default.createElement("div",Se({ref:t.listRefHandler},C),$.default.createElement($n.Track,Se({ref:t.trackRefHandler},l),t.props.children)),t.props.unslick?"":O,t.props.unslick?"":p)}),t.list=null,t.track=null,t.state=S(S({},An.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:$.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var a=t.ssrInit();return t.state=S(S({},t.state),a),t}return Qn(n,[{key:"didPropsChange",value:function(t){for(var a=!1,o=0,s=Object.keys(this.props);o<s.length;o++){var l=s[o];if(!t.hasOwnProperty(l)){a=!0;break}if(!(K(t[l])==="object"||typeof t[l]=="function"||isNaN(t[l]))&&t[l]!==this.props[l]){a=!0;break}}return a||$.default.Children.count(this.props.children)!==$.default.Children.count(t.children)}}]),n}($.default.Component);var Jn=function(r){return r.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},Zn=Jn,ei=Zn,ti=function(r){var e=/[height|width]$/;return e.test(r)},ht=function(r){var e="",n=Object.keys(r);return n.forEach(function(i,t){var a=r[i];i=ei(i),ti(i)&&typeof a=="number"&&(a=a+"px"),a===!0?e+=i:a===!1?e+="not "+i:e+="("+i+": "+a+")",t<n.length-1&&(e+=" and ")}),e},ri=function(r){var e="";return typeof r=="string"?r:r instanceof Array?(r.forEach(function(n,i){e+=ht(n),i<r.length-1&&(e+=", ")}),e):ht(r)},ni=ri,ze,yt;function ii(){if(yt)return ze;yt=1;function r(e){this.options=e,!e.deferSetup&&this.setup()}return r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},ze=r,ze}var De,gt;function nr(){if(gt)return De;gt=1;function r(i,t){var a=0,o=i.length,s;for(a;a<o&&(s=t(i[a],a),s!==!1);a++);}function e(i){return Object.prototype.toString.apply(i)==="[object Array]"}function n(i){return typeof i=="function"}return De={isFunction:n,isArray:e,each:r},De}var Ae,mt;function oi(){if(mt)return Ae;mt=1;var r=ii(),e=nr().each;function n(i,t){this.query=i,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(i);var a=this;this.listener=function(o){a.mql=o.currentTarget||o,a.assess()},this.mql.addListener(this.listener)}return n.prototype={constuctor:n,addHandler:function(i){var t=new r(i);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(i){var t=this.handlers;e(t,function(a,o){if(a.equals(i))return a.destroy(),!t.splice(o,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(i){i.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var i=this.matches()?"on":"off";e(this.handlers,function(t){t[i]()})}},Ae=n,Ae}var Ne,bt;function ai(){if(bt)return Ne;bt=1;var r=oi(),e=nr(),n=e.each,i=e.isFunction,t=e.isArray;function a(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return a.prototype={constructor:a,register:function(o,s,l){var c=this.queries,p=l&&this.browserIsIncapable;return c[o]||(c[o]=new r(o,p)),i(s)&&(s={match:s}),t(s)||(s=[s]),n(s,function(f){i(f)&&(f={match:f}),c[o].addHandler(f)}),this},unregister:function(o,s){var l=this.queries[o];return l&&(s?l.removeHandler(s):(l.clear(),delete this.queries[o])),this}},Ne=a,Ne}var He,St;function si(){if(St)return He;St=1;var r=ai();return He=new r,He}(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=o(z),n=Pe,i=o(ni),t=o(et),a=d;function o(h){return h&&h.__esModule?h:{default:h}}function s(h){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},s(h)}function l(){return l=Object.assign?Object.assign.bind():function(h){for(var v=1;v<arguments.length;v++){var M=arguments[v];for(var P in M)Object.prototype.hasOwnProperty.call(M,P)&&(h[P]=M[P])}return h},l.apply(this,arguments)}function c(h,v){var M=Object.keys(h);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(h);v&&(P=P.filter(function(j){return Object.getOwnPropertyDescriptor(h,j).enumerable})),M.push.apply(M,P)}return M}function p(h){for(var v=1;v<arguments.length;v++){var M=arguments[v]!=null?arguments[v]:{};v%2?c(Object(M),!0).forEach(function(P){L(h,P,M[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(M)):c(Object(M)).forEach(function(P){Object.defineProperty(h,P,Object.getOwnPropertyDescriptor(M,P))})}return h}function f(h,v){if(!(h instanceof v))throw new TypeError("Cannot call a class as a function")}function b(h,v){for(var M=0;M<v.length;M++){var P=v[M];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(h,E(P.key),P)}}function x(h,v,M){return v&&b(h.prototype,v),Object.defineProperty(h,"prototype",{writable:!1}),h}function O(h,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(v&&v.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),v&&u(h,v)}function u(h,v){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(P,j){return P.__proto__=j,P},u(h,v)}function m(h){var v=_();return function(){var P=C(h),j;if(v){var T=C(this).constructor;j=Reflect.construct(P,arguments,T)}else j=P.apply(this,arguments);return k(this,j)}}function k(h,v){if(v&&(s(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return g(h)}function g(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function _(){try{var h=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_=function(){return!!h})()}function C(h){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},C(h)}function L(h,v,M){return v=E(v),v in h?Object.defineProperty(h,v,{value:M,enumerable:!0,configurable:!0,writable:!0}):h[v]=M,h}function E(h){var v=A(h,"string");return s(v)=="symbol"?v:String(v)}function A(h,v){if(s(h)!="object"||!h)return h;var M=h[Symbol.toPrimitive];if(M!==void 0){var P=M.call(h,v||"default");if(s(P)!="object")return P;throw new TypeError("@@toPrimitive must return a primitive value.")}return(v==="string"?String:Number)(h)}var q=(0,a.canUseDOM)()&&si();r.default=function(h){O(M,h);var v=m(M);function M(P){var j;return f(this,M),j=v.call(this,P),L(g(j),"innerSliderRefHandler",function(T){return j.innerSlider=T}),L(g(j),"slickPrev",function(){return j.innerSlider.slickPrev()}),L(g(j),"slickNext",function(){return j.innerSlider.slickNext()}),L(g(j),"slickGoTo",function(T){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return j.innerSlider.slickGoTo(T,U)}),L(g(j),"slickPause",function(){return j.innerSlider.pause("paused")}),L(g(j),"slickPlay",function(){return j.innerSlider.autoPlay("play")}),j.state={breakpoint:null},j._responsiveMediaHandlers=[],j}return x(M,[{key:"media",value:function(j,T){q.register(j,T),this._responsiveMediaHandlers.push({query:j,handler:T})}},{key:"componentDidMount",value:function(){var j=this;if(this.props.responsive){var T=this.props.responsive.map(function(H){return H.breakpoint});T.sort(function(H,F){return H-F}),T.forEach(function(H,F){var X;F===0?X=(0,i.default)({minWidth:0,maxWidth:H}):X=(0,i.default)({minWidth:T[F-1]+1,maxWidth:H}),(0,a.canUseDOM)()&&j.media(X,function(){j.setState({breakpoint:H})})});var U=(0,i.default)({minWidth:T.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(U,function(){j.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(j){q.unregister(j.query,j.handler)})}},{key:"render",value:function(){var j=this,T,U;this.state.breakpoint?(U=this.props.responsive.filter(function(oe){return oe.breakpoint===j.state.breakpoint}),T=U[0].settings==="unslick"?"unslick":p(p(p({},t.default),this.props),U[0].settings)):T=p(p({},t.default),this.props),T.centerMode&&(T.slidesToScroll>1,T.slidesToScroll=1),T.fade&&(T.slidesToShow>1,T.slidesToScroll>1,T.slidesToShow=1,T.slidesToScroll=1);var H=e.default.Children.toArray(this.props.children);H=H.filter(function(oe){return typeof oe=="string"?!!oe.trim():!!oe}),T.variableWidth&&(T.rows>1||T.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),T.variableWidth=!1);for(var F=[],X=null,B=0;B<H.length;B+=T.rows*T.slidesPerRow){for(var Ee=[],Y=B;Y<B+T.rows*T.slidesPerRow;Y+=T.slidesPerRow){for(var rt=[],Q=Y;Q<Y+T.slidesPerRow&&(T.variableWidth&&H[Q].props.style&&(X=H[Q].props.style.width),!(Q>=H.length));Q+=1)rt.push(e.default.cloneElement(H[Q],{key:100*B+10*Y+Q,tabIndex:-1,style:{width:"".concat(100/T.slidesPerRow,"%"),display:"inline-block"}}));Ee.push(e.default.createElement("div",{key:10*B+Y},rt))}T.variableWidth?F.push(e.default.createElement("div",{key:B,style:{width:X}},Ee)):F.push(e.default.createElement("div",{key:B},Ee))}if(T==="unslick"){var ur="regular slider "+(this.props.className||"");return e.default.createElement("div",{className:ur},H)}else F.length<=T.slidesToShow&&!T.infinite&&(T.unslick=!0);return e.default.createElement(n.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(T)),F)}}]),M}(e.default.Component)})(Pt);(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=n(Pt);function n(i){return i&&i.__esModule?i:{default:i}}r.default=e.default})(_t);const li=w.getDefaultExportFromCjs(_t),ui=()=>li,ci=w.styled_default(ui())({name:"Carousel",class:"c1f9jjsn",propsAsIs:!0}),fi=w.styled_default("div")({name:"Dot",class:"d25r51y",propsAsIs:!1}),di=w.styled_default("div")({name:"Dots",class:"d1lvrmx8",propsAsIs:!1}),Ye=w.styled_default("div")({name:"ScreenWrap",class:"s11xps29",propsAsIs:!1}),pi=()=>w.k1,vi=w.styled_default(pi())({name:"SponsorIconI",class:"s14qstuv",propsAsIs:!0}),ir=({style:r,className:e})=>y.jsx(vi,{className:e,style:r,name:"icon-masters-logo"}),or=w.styled_default("div")({name:"ScreenTextBlock",class:"s14mdh2e",propsAsIs:!1}),ar=w.styled_default("div")({name:"ScreenTitle",class:"sqtjig9",propsAsIs:!1}),Ve=w.styled_default("div")({name:"ScreenDescription",class:"ss0mt",propsAsIs:!1}),Oe=w.styled_default("button")({name:"ScreenButton",class:"s10dmski",propsAsIs:!1}),hi=w.styled_default("div")({name:"EmergencyContainer",class:"e1f9mu2m",propsAsIs:!1}),yi=w.styled_default("div")({name:"EmergencyScreenTitle",class:"e1n10yo1",propsAsIs:!1}),gi=w.styled_default("div")({name:"EmergencyScreenDescription",class:"e1xecypc",propsAsIs:!1}),mi=()=>Oe,bi=w.styled_default(mi())({name:"EmergencyScreenButton",class:"e1k6zoyu",propsAsIs:!0}),Je=({actionFn:r,description:e,className:n,onEvent:i})=>(z.useEffect(()=>{i({type:"slBetPackReady"})},[i]),y.jsxs(hi,{className:n,children:[y.jsx(yi,{children:"Something went wrong."}),y.jsx(gi,{children:e}),y.jsx(bi,{onClick:r,children:"Try again"})]})),Si=w.styled_default("div")({name:"ScreenContainerBox",class:"s28ooi9",propsAsIs:!1}),_e=({children:r,height:e})=>y.jsx(Si,{className:"ScreenContainer",children:y.jsx("div",{style:e?{height:e}:{},children:r})}),wi=w.styled_default("img")({name:"EndScreenMedia",class:"e8s3kc9",propsAsIs:!1}),Oi=()=>ir,_i=w.styled_default(Oi())({name:"EndScreenSponsorIcon",class:"e1uswib2",propsAsIs:!0}),Pi=({onEvent:r,height:e})=>{const[n,i]=z.useState(0);return n===0?y.jsx(_e,{height:e,children:y.jsxs(Ye,{children:[y.jsx(_i,{}),y.jsxs(or,{children:[y.jsx(ar,{children:"Great picks!"}),y.jsx(Ve,{children:"Stay in the Enhanced Stream for live results, predictions, trivia, polls, and match insights."})]}),y.jsx(Oe,{onClick:()=>{i(1)},style:{marginTop:"auto "},children:"Continue"})]})},"end"):y.jsx(_e,{height:e,children:y.jsxs(Ye,{children:[y.jsx(wi,{src:"https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/bet_pack_end_screen.png"}),y.jsx(Ve,{children:"Look for more live match insights, predictions and more."}),y.jsx(Oe,{onClick:()=>r({type:"slOpenGameCenter"}),children:"Open Game Center"})]})},"end")},ki=({height:r="37px",width:e="37px"})=>y.jsx("div",{style:{height:r,width:e},children:y.jsx(w.k1,{name:"loader"})}),ji=w.styled_default("div")({name:"Container",class:"cv31tt7",propsAsIs:!1}),Ze=({className:r})=>y.jsx(ji,{className:r,children:y.jsx(ki,{})}),Ti=({question:r,vote:e})=>r?y.jsx(w.Ft,{close:()=>{},openedQuestion:r,vote:e,isLoading:!1,isEarlyPrediction:!0}):null,xi=w.styled_default("span")({name:"NextButton",class:"n991vvm",propsAsIs:!1}),Ei=()=>w.k1,Ci=w.styled_default(Ei())({name:"IconArrowRight",class:"inbj36g",propsAsIs:!0}),Li=w.styled_default("div")({name:"StartScreenSponsor",class:"szrvgt",propsAsIs:!1}),Mi=w.styled_default("div")({name:"StartScreenNote",class:"swqs2ju",propsAsIs:!1}),Ri=z.forwardRef(({countQuestionsAvailable:r,sliderRef:e},n)=>y.jsx(_e,{children:y.jsxs(Ye,{ref:n,children:[y.jsx(ir,{}),y.jsxs(or,{children:[y.jsx(Li,{children:"FEATURED GROUPS+"}),y.jsx(ar,{children:"The First Five"})]}),y.jsx(Ve,{children:"Tee off with these five initial predictions for today’s play."}),y.jsxs(Oe,{onClick:()=>{var i;(i=e.current)==null||i.slickNext()},children:[r?`${r} questions available`:"See all questions",y.jsx(xi,{children:y.jsx(Ci,{name:"iconArrowRight"})})]}),y.jsx(Mi,{children:"Note: Some questions may have been resolved as a result of today’s play."})]})},"start")),Ii={dots:!0,infinite:!1,arrows:!1,centerMode:!0,centerPadding:"18px",speed:500,rows:1,slidesToShow:1,slidesToScroll:1,appendDots:r=>y.jsxs(di,{children:[" ",r," "]}),customPaging:r=>y.jsx(fi,{children:y.jsx("div",{})},r)};function zi(r,e,n){let i=new Set(e).add(void 0);return r.listen((t,a,o)=>{i.has(o)&&n(t,a,o)})}function Di(r,e={}){let n=z.useCallback(t=>e.keys?zi(r,e.keys,t):r.listen(t),[e.keys,r]),i=r.get.bind(r);return z.useSyncExternalStore(n,i,i)}const Ai=({data:r,gamification:e,onEvent:n,swipeable:i,overlay:t,autoplay:a})=>{const o=z.useRef(),s=z.useRef(null),l=z.useRef(null),[c,p]=z.useState(0),{listOfQuestions:f,countQuestionsAvailable:b}=z.useMemo(()=>{const u=r?Object.values(r):[];return{listOfQuestions:u,countQuestionsAvailable:u.filter(({marketClosed:m})=>!m).length}},[r]),x=z.useCallback(async(u,m)=>{try{await e.betPackVote(u,m),n({type:"slVoted",payload:{questionId:u,answerId:m}})}finally{o.current&&clearTimeout(o.current),a&&(o.current=setTimeout(()=>{var k;(k=s.current)==null||k.slickNext()},2e3))}},[e,n,a]);z.useEffect(()=>(n({type:"slBetPackReady",payload:{next:()=>{var u;return(u=s.current)==null?void 0:u.slickNext()},prev:()=>{var u;return(u=s.current)==null?void 0:u.slickPrev()},current:0,canNext:!0,canPrev:!1}}),()=>{o.current&&clearTimeout(o.current)}),[n]);const O=u=>{var m;if(n({type:"slBetPackChangeCard",payload:{current:u,canNext:u<Object.keys(r).length+1,canPrev:u>=1}}),u!==0&&u!==Object.keys(r).length+1&&(m=f[u-1])!=null&&m.id){e.openQuestion(f[u-1].id,{openedFrom:"bet-pack",attributes:{id:f[u-1].id,type:f[u-1].type,status:f[u-1].status,attributes:{case:void 0}}});return}e.closeQuestion()};return z.useEffect(()=>{t&&l.current&&p(l.current.clientHeight)},[t]),y.jsxs(ci,{...Ii,swipe:i,afterChange:O,beforeChange:()=>{o.current&&clearTimeout(o.current)},ref:s,children:[y.jsx(Ri,{ref:l,sliderRef:s,countQuestionsAvailable:b}),f.map(u=>u?y.jsx(_e,{height:c,children:y.jsx(Ti,{question:u,vote:x})},u.id):null),y.jsx(Pi,{height:c,onEvent:n})]})},Ni=({gamification:r,autoplay:e,overlay:n,swipeable:i,onEvent:t})=>{const a=Di(r.betPack.getStore()),{error:o,loading:s,data:l}=a;return s||!Object.hasOwn(a,"data")?y.jsx(Ze,{}):o?y.jsx(Je,{onEvent:t,actionFn:()=>t({type:"slHardRefresh"}),description:o instanceof V.ConnectError&&o.code!==V.Code.InvalidArgument?`The event ID was not
7
6
  specified or is invalid.`:`The server is unable to
8
- handle this request.`,isMobile:n,height:t});const P=p=>{var k;if(a({type:"slBetPackChangeCard",payload:{current:p,canNext:p<Object.keys(u).length+1,canPrev:p>=1}}),p!==0&&p!==Object.keys(u).length+1&&(k=O[p-1])!=null&&k.id){r.openQuestion(O[p-1].id,{openedFrom:"bet-pack",attributes:{id:O[p-1].id,type:O[p-1].type,status:O[p-1].status,attributes:{case:void 0}}});return}r.closeQuestion()},d=p=>p?h.jsx(de,{height:t,children:h.jsx(qr,{question:p,vote:w})},p.id):null;return h.jsxs(io,{..._t,swipe:n,onInit:i,centerPadding:o||_t.centerPadding,afterChange:P,beforeChange:()=>{s.current&&clearTimeout(s.current)},ref:l,className:m.cx_default(!n&&oo),children:[h.jsx(nn,{height:t,sliderRef:l,countQuestionsAvailable:S}),Object.values(u).map(d),h.jsx(Hr,{onEvent:a,height:t})]})},ue="slBetPackCb",fo=m.createLogger("betPack-ui"),po=(r,e={})=>{var n,i;const{questionId:t,answerId:a}=e,o={questionId:t,answerId:a};fo.debug({id:ue,type:r,...o}),(n=window.top)==null||n.postMessage({id:ue,type:r,...o},"*"),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers[ue]&&window.webkit.messageHandlers[ue].postMessage({type:r,...o}),(i=window.slBetPackCb)!=null&&i.postMessage&&window.slBetPackCb.postMessage(JSON.stringify({type:r,...o,from:"base"}))},vo=r=>{po(r.type,r.payload)},ho=()=>{const[r,e]=z.useState(""),n=()=>{window.screen.orientation.type.includes("landscape")||Math.abs(window.orientation)===90?e("landscape"):e("portrait")};return z.useEffect(()=>(window.screen.orientation.addEventListener("change",n),window.addEventListener("orientationchange",n),n(),()=>{window.screen.orientation.removeEventListener("change",n),window.removeEventListener("orientationchange",n)}),[]),{orientation:r}},yo=m.styled_default("div")({name:"Container",class:"c1mj28sn",propsAsIs:!1}),go=m.styled_default("button")({name:"CloseButton",class:"coc9f01",propsAsIs:!1}),Pt="b590k5k",mo=()=>m.k1,dr=m.styled_default(mo())({name:"IconArrowPrev",class:"i1tkem14",propsAsIs:!0}),bo=()=>dr,So=m.styled_default(bo())({name:"IconArrowNext",class:"i175qlj5",propsAsIs:!0}),wo=m.styled_default("div")({name:"Header",class:"h1foi3kz",propsAsIs:!1}),Oo=m.styled_default("div")({name:"HeaderTitle",class:"hc2d48a",propsAsIs:!1}),_o=m.styled_default("div")({name:"Main",class:"mgfyjlp",propsAsIs:!1}),Po=m.styled_default("div")({name:"Footer",class:"f1vakhu9",propsAsIs:!1}),kt=m.styled_default("button")({name:"SlideSwitchButton",class:"spp13y7",propsAsIs:!1}),ko=z.forwardRef(({sdk:r,onEvent:e,close:n,isMobile:i},t)=>{const[a,o]=z.useState(),[s,l]=z.useState(),{orientation:c}=ho(),v=z.useCallback(b=>{if(b.type==="slBetPackReady"){const{next:j,prev:O,current:S,canNext:w,canPrev:P}=b.payload||{};o({next:j,prev:O}),l(d=>({current:d!=null&&d.current?d==null?void 0:d.current:S,canPrev:d!=null&&d.current?d==null?void 0:d.canPrev:P,canNext:w}))}if(b.type==="slBetPackChangeCard"){const{current:j,canNext:O,canPrev:S}=b.payload||{};l({current:j,canNext:O,canPrev:S})}e==null||e(b)},[e]),u=z.useMemo(()=>i?c==="landscape"?"60px":"18px":"30px",[i,c]);return h.jsxs(yo,{ref:t,children:[h.jsxs(wo,{children:[h.jsxs(Oo,{children:[h.jsx(m.k1,{name:"fgIcon"}),"Featured Groups+"," "]}),h.jsx(go,{onClick:n,children:h.jsx(m.k1,{name:"icon-close-btn-gray"})})]}),h.jsx(_o,{children:h.jsx(fr,{sdk:r,onEvent:v,swipeable:!!i,centerPadding:u,heightOffset:i?0:48})}),!i&&h.jsxs(Po,{children:[h.jsx(kt,{onClick:a==null?void 0:a.prev,disabled:!(s!=null&&s.canPrev),children:h.jsx(dr,{name:"iconArrowPrev",className:m.cx_default((s==null?void 0:s.canPrev)&&Pt)})}),h.jsx(kt,{onClick:a==null?void 0:a.next,disabled:!(s!=null&&s.canNext),children:h.jsx(So,{name:"iconArrowPrev",className:m.cx_default((s==null?void 0:s.canNext)&&Pt)})})]})]})}),fr=z.memo(({sdk:r,swipeable:e=!0,heightOffset:n=65,onEvent:i=vo,centerPadding:t})=>{const a=m.useStore(r.featuresList.getStore()),o=z.useMemo(()=>r.getFeature(V.SdkOverlayType.GAMES),[a]),s=m.useStore(r.getUserStore()),l=z.useRef(null),[c,v]=z.useState(),u=z.useCallback(()=>{l.current&&v(l.current.clientHeight)},[]);return z.useEffect(()=>{const b=m.x(()=>{l.current&&v(l.current.clientHeight)},200);return window.addEventListener("resize",b),()=>{window.removeEventListener("resize",b)}},[]),s.data?o?h.jsx(mr,{ref:l,className:m.cx_default("betPack",e&&"isMobile"),children:h.jsx(co,{gamification:o,onEvent:i,swipeable:e,centerPadding:t,changeHeightOnInit:u,height:c?c-n:void 0})}):h.jsx("div",{children:"no gamification"}):s.error&&!s.loading?h.jsx(He,{actionFn:()=>i({type:"slHardRefresh"}),description:`You are not authorized to
9
- view this resource.`,isMobile:e,height:c?c-n:void 0}):h.jsx(Et,{})});exports.Z=fr;exports.ur=ko;
7
+ handle this request.`}):!l||!l.timestamp||!l.data||!Object.keys(l.data).length?y.jsx(Je,{onEvent:t,actionFn:()=>t({type:"slHardRefresh"}),description:`It looks like we couldn't
8
+ load the questions.`}):y.jsx(Ai,{data:l.data,gamification:r,onEvent:t,swipeable:i,autoplay:e,overlay:n})},Hi=w.styled_default("div")({name:"BetPackContainer",class:"b18vssq2",propsAsIs:!1}),ue="slBetPackCb",$i=w.createLogger("betPack-ui"),Wi=(r,e={})=>{var n,i;const{questionId:t,answerId:a}=e,o={questionId:t,answerId:a};$i.debug({id:ue,type:r,...o}),(n=window.top)==null||n.postMessage({id:ue,type:r,...o},"*"),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers[ue]&&window.webkit.messageHandlers[ue].postMessage({type:r,...o}),(i=window.slBetPackCb)!=null&&i.postMessage&&window.slBetPackCb.postMessage(JSON.stringify({type:r,...o,from:"base"}))},qi=r=>{Wi(r.type,r.payload)},Fi=w.styled_default("div")({name:"Container",class:"c1mj28sn",propsAsIs:!1}),Bi=w.styled_default("button")({name:"CloseButton",class:"coc9f01",propsAsIs:!1}),wt="b590k5k",Gi=()=>w.k1,sr=w.styled_default(Gi())({name:"IconArrowPrev",class:"i1tkem14",propsAsIs:!0}),Ui=()=>sr,Qi=w.styled_default(Ui())({name:"IconArrowNext",class:"i175qlj5",propsAsIs:!0}),Ki=w.styled_default("div")({name:"Header",class:"h1foi3kz",propsAsIs:!1}),Xi=w.styled_default("div")({name:"HeaderTitle",class:"hc2d48a",propsAsIs:!1}),Yi=w.styled_default("div")({name:"Main",class:"mgfyjlp",propsAsIs:!1}),Vi=w.styled_default("div")({name:"Footer",class:"f1vakhu9",propsAsIs:!1}),Ot=w.styled_default("button")({name:"SlideSwitchButton",class:"spp13y7",propsAsIs:!1}),Ji=z.forwardRef(({sdk:r,onEvent:e,close:n},i)=>{const[t,a]=z.useState(),[o,s]=z.useState(),l=z.useCallback(c=>{if(c.type==="slBetPackReady"){const{next:p,prev:f,current:b,canNext:x,canPrev:O}=c.payload||{};a({next:p,prev:f}),s(u=>({current:u!=null&&u.current?u==null?void 0:u.current:b,canPrev:u!=null&&u.current?u==null?void 0:u.canPrev:O,canNext:x}))}if(c.type==="slBetPackChangeCard"){const{current:p,canNext:f,canPrev:b}=c.payload||{};s({current:p,canNext:f,canPrev:b})}e==null||e(c)},[e]);return y.jsxs(Fi,{ref:i,children:[y.jsxs(Ki,{children:[y.jsxs(Xi,{children:[y.jsx(w.k1,{name:"fgIcon"}),"Featured Groups+"]}),y.jsx(Bi,{onClick:n,children:y.jsx(w.k1,{name:"icon-close-btn-gray"})})]}),y.jsx(Yi,{children:y.jsx(lr,{sdk:r,onEvent:l,overlay:!0})}),y.jsxs(Vi,{children:[y.jsx(Ot,{onClick:t==null?void 0:t.prev,disabled:!(o!=null&&o.canPrev),children:y.jsx(sr,{name:"iconArrowPrev",className:w.cx_default((o==null?void 0:o.canPrev)&&wt)})}),y.jsx(Ot,{onClick:t==null?void 0:t.next,disabled:!(o!=null&&o.canNext),children:y.jsx(Qi,{name:"iconArrowPrev",className:w.cx_default((o==null?void 0:o.canNext)&&wt)})})]})]})}),Zi=({user:r,gamification:e,overlay:n,swipeable:i,onEvent:t})=>r.data?e?y.jsx(Ni,{overlay:n,gamification:e,onEvent:t,swipeable:i}):y.jsx(Ze,{}):r.error&&!r.loading?y.jsx(Je,{onEvent:t,actionFn:()=>t({type:"slHardRefresh"}),description:`You are not authorized to
9
+ view this resource.`}):y.jsx(Ze,{}),lr=z.memo(({sdk:r,swipeable:e=!0,onEvent:n=qi,overlay:i})=>{const t=w.useStore(r.featuresList.getStore()),a=z.useMemo(()=>r.getFeature(V.SdkOverlayType.GAMES),[t]),o=w.useStore(r.getUserStore());return y.jsx(Hi,{className:w.cx_default("SL-BetPack",i&&"SL-BetPack--overlay",!i&&"SL-BetPack--standalone"),children:y.jsx(Zi,{overlay:i,user:o,gamification:a,onEvent:n,swipeable:e})})});exports.K=lr;exports.er=Ji;