@streamlayer/react 1.14.1 → 1.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/advertisement.js +45 -45
- package/lib/cjs/gamification-feature2.js +1 -1
- package/lib/cjs/index2.js +5 -5
- package/lib/cjs/masters2.js +2 -2
- package/lib/cjs/notification.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/provider.js +13 -13
- package/lib/cjs/useStreamLayerApp2.js +7 -7
- package/lib/classic/cjs/advertisement.js +45 -45
- package/lib/classic/cjs/gamification-feature2.js +1 -1
- package/lib/classic/cjs/index2.js +5 -5
- package/lib/classic/cjs/masters2.js +2 -2
- package/lib/classic/cjs/notification.js +1 -1
- package/lib/classic/cjs/points.js +1 -1
- package/lib/classic/cjs/provider.js +13 -13
- package/lib/classic/cjs/useStreamLayerApp2.js +7 -7
- package/lib/classic/es/advertisement.js +37691 -39689
- package/lib/classic/es/gamification-feature2.js +1 -1
- package/lib/classic/es/index.js +1 -1
- package/lib/classic/es/index2.js +899 -902
- package/lib/classic/es/masters2.js +264 -241
- package/lib/classic/es/notification.js +40 -40
- package/lib/classic/es/points.js +5 -5
- package/lib/classic/es/provider.js +2406 -2387
- package/lib/classic/es/useStreamLayerApp2.js +1448 -1446
- package/lib/classic/style.css +1 -1
- package/lib/dist/cjs/gamification-feature.js +1 -1
- package/lib/dist/cjs/gamification-feature2.js +1 -1
- package/lib/dist/cjs/masters.js +29 -29
- package/lib/dist/es/gamification-feature.js +1 -1
- package/lib/dist/es/gamification-feature2.js +45 -45
- package/lib/dist/es/index.js +3 -3
- package/lib/dist/es/masters.js +5393 -5353
- package/lib/dist/style.css +1 -1
- package/lib/es/advertisement.js +37691 -39689
- package/lib/es/gamification-feature2.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/index2.js +899 -902
- package/lib/es/masters2.js +264 -241
- package/lib/es/notification.js +40 -40
- package/lib/es/points.js +5 -5
- package/lib/es/provider.js +2404 -2385
- package/lib/es/useStreamLayerApp2.js +1448 -1446
- package/lib/style.css +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./masters2.js");exports.default=e.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./masters2.js");exports.default=e.A;
|
package/lib/cjs/index2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";const h=require("react/jsx-runtime"),
|
|
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:{}};/*!
|
|
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 s="",o=0;o<arguments.length;o++){var a=arguments[o];a&&(s=t(s,i(a)))}return s}function i(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var o="";for(var a in s)e.call(s,a)&&s[a]&&(o=t(o,a));return o}function t(s,o){return o?s?s+" "+o:s+o:s}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(I);function n(t){return t&&t.__esModule?t:{default:t}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(s){return e.default.createElement("ul",{style:{display:"block"}},s)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(s){return e.default.createElement("button",null,s+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=It;f.extractObject=void 0;f.filterSettings=An;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 On=zt(I),_n=zt(Ze);function zt(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){Pn(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 Pn(r,e,n){return e=kn(e),e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}function kn(r){var e=xn(r,"string");return ae(e)=="symbol"?e:String(e)}function xn(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 It(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=$t(e),t=Dt(e),s=i;s<t;s++)e.lazyLoadedList.indexOf(s)<0&&n.push(s);return n};f.getRequiredLazySlides=function(e){for(var n=[],i=$t(e),t=Dt(e),s=i;s<t;s++)n.push(s);return n};var $t=f.lazyStartIndex=function(e){return e.currentSlide-Tn(e)},Dt=f.lazyEndIndex=function(e){return e.currentSlide+jn(e)},Tn=f.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},jn=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,s,o;return i=e.startX-e.curX,t=e.startY-e.curY,s=Math.atan2(t,i),o=Math.round(s*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=On.default.Children.count(e.children),i=e.listRef,t=Math.ceil(We(i)),s=e.trackRef&&e.trackRef.node,o=Math.ceil(We(s)),a;if(e.vertical)a=t;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding=="string"&&e.centerPadding.slice(-1)==="%"&&(l*=t/100),a=Math.ceil((t-l)/e.slidesToShow)}var u=i&&Ht(i.querySelector('[data-index="0"]')),p=u*e.slidesToShow,c=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(c=n-1-e.initialSlide);var y=e.lazyLoadedList||[],P=At(A(A({},e),{},{currentSlide:c,lazyLoadedList:y}));y=y.concat(P);var O={slideCount:n,slideWidth:a,listWidth:t,trackWidth:o,currentSlide:c,slideHeight:u,listHeight:p,lazyLoadedList:y};return e.autoplaying===null&&e.autoplay&&(O.autoplaying="playing"),O};f.slideHandler=function(e){var n=e.waitForAnimate,i=e.animating,t=e.fade,s=e.infinite,o=e.index,a=e.slideCount,l=e.lazyLoad,u=e.currentSlide,p=e.centerMode,c=e.slidesToScroll,y=e.slidesToShow,P=e.useCSS,O=e.lazyLoadedList;if(n&&i)return{};var g=o,w,k,d,v={},T={},C=s?o:It(o,0,a-1);if(t){if(!s&&(o<0||o>=a))return{};o<0?g=o+a:o>=a&&(g=o-a),l&&O.indexOf(g)<0&&(O=O.concat(g)),v={animating:!0,currentSlide:g,lazyLoadedList:O,targetSlide:g},T={animating:!1,targetSlide:g}}else w=g,g<0?(w=g+a,s?a%c!==0&&(w=a-a%c):w=0):!Wt(e)&&g>u?g=w=u:p&&g>=a?(g=s?a:a-1,w=s?0:a-1):g>=a&&(w=g-a,s?a%c!==0&&(w=0):w=a-y),!s&&g+y>=a&&(w=a-y),k=pe(A(A({},e),{},{slideIndex:g})),d=pe(A(A({},e),{},{slideIndex:w})),s||(k===d&&(g=w),k=d),l&&(O=O.concat(At(A(A({},e),{},{currentSlide:g})))),P?(v={animating:!0,currentSlide:w,trackStyle:qt(A(A({},e),{},{left:k})),lazyLoadedList:O,targetSlide:C},T={animating:!1,currentSlide:w,trackStyle:fe(A(A({},e),{},{left:d})),swipeLeft:null,targetSlide:C}):v={currentSlide:w,trackStyle:fe(A(A({},e),{},{left:d})),lazyLoadedList:O,targetSlide:C};return{state:v,nextState:T}};f.changeSlide=function(e,n){var i,t,s,o,a,l=e.slidesToScroll,u=e.slidesToShow,p=e.slideCount,c=e.currentSlide,y=e.targetSlide,P=e.lazyLoad,O=e.infinite;if(o=p%l!==0,i=o?0:(p-c)%l,n.message==="previous")s=i===0?l:u-i,a=c-s,P&&!O&&(t=c-s,a=t===-1?p-1:t),O||(a=y-l);else if(n.message==="next")s=i===0?l:i,a=c+s,P&&!O&&(a=(c+l)%p+i),O||(a=y+l);else if(n.message==="dots")a=n.index*n.slidesToScroll;else if(n.message==="children"){if(a=n.index,O){var g=Mn(A(A({},e),{},{targetSlide:a}));a>n.currentSlide&&g==="left"?a=a-p:a<n.currentSlide&&g==="right"&&(a=a+p)}}else n.message==="index"&&(a=Number(n.index));return a};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,s=n.vertical,o=n.swipeToSlide,a=n.verticalSwiping,l=n.rtl,u=n.currentSlide,p=n.edgeFriction,c=n.edgeDragged,y=n.onEdge,P=n.swiped,O=n.swiping,g=n.slideCount,w=n.slidesToScroll,k=n.infinite,d=n.touchObject,v=n.swipeEvent,T=n.listHeight,C=n.listWidth;if(!i){if(t)return Z(e);s&&o&&a&&Z(e);var L,$={},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 b=Math.round(Math.sqrt(Math.pow(d.curY-d.startY,2)));if(!a&&!O&&b>10)return{scrolling:!0};a&&(d.swipeLength=b);var m=(l?-1:1)*(d.curX>d.startX?1:-1);a&&(m=d.curY>d.startY?1:-1);var M=Math.ceil(g/w),x=Nt(n.touchObject,a),j=d.swipeLength;return k||(u===0&&(x==="right"||x==="down")||u+1>=M&&(x==="left"||x==="up")||!Wt(n)&&(x==="left"||x==="up"))&&(j=d.swipeLength*p,c===!1&&y&&(y(x),$.edgeDragged=!0)),!P&&v&&(v(x),$.swiped=!0),s?L=q+j*(T/C)*m:l?L=q-j*m:L=q+j*m,a&&(L=q+j*m),$=A(A({},$),{},{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&&($.swiping=!0,Z(e)),$}};f.swipeEnd=function(e,n){var i=n.dragging,t=n.swipe,s=n.touchObject,o=n.listWidth,a=n.touchThreshold,l=n.verticalSwiping,u=n.listHeight,p=n.swipeToSlide,c=n.scrolling,y=n.onSwipe,P=n.targetSlide,O=n.currentSlide,g=n.infinite;if(!i)return t&&Z(e),{};var w=l?u/a:o/a,k=Nt(s,l),d={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!s.swipeLength)return d;if(s.swipeLength>w){Z(e),y&&y(k);var v,T,C=g?O:P;switch(k){case"left":case"up":T=C+ut(n),v=p?lt(n,T):T,d.currentDirection=0;break;case"right":case"down":T=C-ut(n),v=p?lt(n,T):T,d.currentDirection=1;break;default:v=C}d.triggerSlideHandler=v}else{var L=pe(n);d.trackStyle=qt(A(A({},n),{},{left:L}))}return d};var En=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,s=[];i<n;)s.push(i),i=t+e.slidesToScroll,t+=Math.min(e.slidesToScroll,e.slidesToShow);return s},lt=f.checkNavigable=function(e,n){var i=En(e),t=0;if(n>i[i.length-1])n=i[i.length-1];else for(var s in i){if(n<i[s]){n=t;break}t=i[s]}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,s=t.querySelectorAll&&t.querySelectorAll(".slick-slide")||[];if(Array.from(s).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,a=Math.abs(i.dataset.index-o)||1;return a}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=Ln(e)*e.slideWidth;var s={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=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)";s=A(A({},s),{},{WebkitTransform:o,transform:a,msTransform:l})}else e.vertical?s.top=e.left:s.left=e.left;return e.fade&&(s={opacity:1}),n&&(s.width=n),i&&(s.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?s.marginTop=e.left+"px":s.marginLeft=e.left+"px"),s},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,s=e.centerMode,o=e.slideCount,a=e.slidesToShow,l=e.slidesToScroll,u=e.slideWidth,p=e.listWidth,c=e.variableWidth,y=e.slideHeight,P=e.fade,O=e.vertical,g=0,w,k,d=0;if(P||e.slideCount===1)return 0;var v=0;if(t?(v=-ce(e),o%l!==0&&n+l>o&&(v=-(n>o?a-(n-o):o%l)),s&&(v+=parseInt(a/2))):(o%l!==0&&n+l>o&&(v=a-o%l),s&&(v=parseInt(a/2))),g=v*u,d=v*y,O?w=n*y*-1+d:w=n*u*-1+g,c===!0){var T,C=i&&i.node;if(T=n+ce(e),k=C&&C.childNodes[T],w=k?k.offsetLeft*-1:0,s===!0){T=t?n+ce(e):n,k=C&&C.children[T],w=0;for(var L=0;L<T;L++)w-=C&&C.children[L]&&C.children[L].offsetWidth;w-=parseInt(e.centerPadding),w+=k&&(p-k.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)},Cn=f.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},Ln=f.getTotalSlides=function(e){return e.slideCount===1?1:ce(e)+e.slideCount+Cn(e)},Mn=f.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+Rn(e)?"left":"right":e.targetSlide<e.currentSlide-zn(e)?"right":"left"},Rn=f.slidesOnRight=function(e){var n=e.slidesToShow,i=e.centerMode,t=e.rtl,s=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(s)>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,s=e.centerPadding;if(i){var o=(n-1)/2+1;return parseInt(s)>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 In=f.validSettings=Object.keys(_n.default);function An(r){return In.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(I),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 Dn(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 Hn(r,e,n){return e&&Dn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Nn(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 Wn(r){var e=Bt();return function(){var i=ve(r),t;if(e){var s=ve(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return qn(this,t)}}function qn(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=Fn(r,"string");return ee(e)=="symbol"?e:String(e)}function Fn(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,s,o;e.rtl?o=e.slideCount-1-e.index:o=e.index,t=o<0||o>=e.slideCount,e.centerMode?(s=Math.floor(e.slidesToShow/2),i=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-s-1&&o<=e.currentSlide+s&&(n=!0)):n=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow;var a;e.targetSlide<0?a=e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?a=e.targetSlide-e.slideCount:a=e.targetSlide;var l=o===a;return{"slick-slide":!0,"slick-active":n,"slick-center":i,"slick-cloned":t,"slick-current":l}},Bn=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},Gn=function(e){var n,i=[],t=[],s=[],o=G.default.Children.count(e.children),a=(0,Le.lazyStartIndex)(e),l=(0,Le.lazyEndIndex)(e);return G.default.Children.forEach(e.children,function(u,p){var c,y={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?c=u:c=G.default.createElement("div",null);var P=Bn(W(W({},e),{},{index:p})),O=c.props.className||"",g=Me(W(W({},e),{},{index:p}));if(i.push(G.default.cloneElement(c,{key:"original"+Re(c,p),"data-index":p,className:(0,Ce.default)(g,O),tabIndex:"-1","aria-hidden":!g["slick-active"],style:W(W({outline:"none"},c.props.style||{}),P),onClick:function(d){c.props&&c.props.onClick&&c.props.onClick(d),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&e.fade===!1){var w=o-p;w<=(0,Le.getPreClones)(e)&&(n=-w,n>=a&&(c=u),g=Me(W(W({},e),{},{index:n})),t.push(G.default.cloneElement(c,{key:"precloned"+Re(c,n),"data-index":n,tabIndex:"-1",className:(0,Ce.default)(g,O),"aria-hidden":!g["slick-active"],style:W(W({},c.props.style||{}),P),onClick:function(d){c.props&&c.props.onClick&&c.props.onClick(d),e.focusOnSelect&&e.focusOnSelect(y)}}))),n=o+p,n<l&&(c=u),g=Me(W(W({},e),{},{index:n})),s.push(G.default.cloneElement(c,{key:"postcloned"+Re(c,n),"data-index":n,tabIndex:"-1",className:(0,Ce.default)(g,O),"aria-hidden":!g["slick-active"],style:W(W({},c.props.style||{}),P),onClick:function(d){c.props&&c.props.onClick&&c.props.onClick(d),e.focusOnSelect&&e.focusOnSelect(y)}}))}}),e.rtl?t.concat(i,s).reverse():t.concat(i,s)};ke.Track=function(r){Nn(n,r);var e=Wn(n);function n(){var i;$n(this,n);for(var t=arguments.length,s=new Array(t),o=0;o<t;o++)s[o]=arguments[o];return i=e.call.apply(e,[this].concat(s)),Ge(Be(i),"node",null),Ge(Be(i),"handleRef",function(a){i.node=a}),i}return Hn(n,[{key:"render",value:function(){var t=Gn(this.props),s=this.props,o=s.onMouseEnter,a=s.onMouseOver,l=s.onMouseLeave,u={onMouseEnter:o,onMouseOver:a,onMouseLeave:l};return G.default.createElement("div",qe({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},u),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(I),Un=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 Qn(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){Xn(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 Xn(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 Yn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(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 Vn(r,e,n){return e&&Kn(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Qt(r){var e=Zn(r,"string");return te(e)=="symbol"?e:String(e)}function Zn(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 Jn(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 ei(r){var e=Xt();return function(){var i=he(r),t;if(e){var s=he(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return ti(this,t)}}function ti(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 ri(r)}function ri(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 ni=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){Jn(n,r);var e=ei(n);function n(){return Yn(this,n),e.apply(this,arguments)}return Vn(n,[{key:"clickHandler",value:function(t,s){s.preventDefault(),this.props.clickHandler(t)}},{key:"render",value:function(){for(var t=this.props,s=t.onMouseEnter,o=t.onMouseOver,a=t.onMouseLeave,l=t.infinite,u=t.slidesToScroll,p=t.slidesToShow,c=t.slideCount,y=t.currentSlide,P=ni({slideCount:c,slidesToScroll:u,slidesToShow:p,infinite:l}),O={onMouseEnter:s,onMouseOver:o,onMouseLeave:a},g=[],w=0;w<P;w++){var k=(w+1)*u-1,d=l?k:(0,dt.clamp)(k,0,c-1),v=d-(u-1),T=l?v:(0,dt.clamp)(v,0,c-1),C=(0,Un.default)({"slick-active":l?y>=T&&y<=d:y===T}),L={message:"dots",index:w,slidesToScroll:u,currentSlide:y},$=this.clickHandler.bind(this,L);g=g.concat(le.default.createElement("li",{key:w,className:C},le.default.cloneElement(this.props.customPaging(w),{onClick:$})))}return le.default.cloneElement(this.props.appendDots(g),Qn({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(I),Yt=Kt(Pe),ii=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){oi(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 oi(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 ai(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&&ai(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Jt(r){var e=si(r,"string");return ne(e)=="symbol"?e:String(e)}function si(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 s=me(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return li(this,t)}}function li(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 ui(r)}function ui(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,s){s&&s.preventDefault(),this.props.clickHandler(t,s)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-prev":!0},s=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,s=null);var o={key:"0","data-role":"none",className:(0,Yt.default)(t),style:{display:"block"},onClick:s},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=J.default.cloneElement(this.props.prevArrow,ge(ge({},o),a)):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,s){s&&s.preventDefault(),this.props.clickHandler(t,s)}},{key:"render",value:function(){var t={"slick-arrow":!0,"slick-next":!0},s=this.clickHandler.bind(this,{message:"next"});(0,ii.canGoNext)(this.props)||(t["slick-disabled"]=!0,s=null);var o={key:"1","data-role":"none",className:(0,Yt.default)(t),style:{display:"block"},onClick:s},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=J.default.cloneElement(this.props.nextArrow,ge(ge({},o),a)):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,s){return t[0]===n?(i=s,!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,s=this.__entries__;t<s.length;t++){var o=s[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")()}(),ci=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(be):function(r){return setTimeout(function(){return r(Date.now())},1e3/60)}}(),di=2;function fi(r,e){var n=!1,i=!1,t=0;function s(){n&&(n=!1,r()),i&&a()}function o(){ci(s)}function a(){var l=Date.now();if(n){if(l-t<di)return;i=!0}else n=!0,i=!1,setTimeout(o,e);t=l}return a}var pi=20,vi=["top","right","bottom","left","width","height","size","weight"],hi=typeof MutationObserver<"u",yi=function(){function r(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=fi(this.refresh.bind(this),pi)}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),hi?(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=vi.some(function(s){return!!~i.indexOf(s)});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=Te(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 s=r["border-"+t+"-width"];return i+Se(s)},0)}function gi(r){for(var e=["top","right","bottom","left"],n={},i=0,t=e;i<t.length;i++){var s=t[i],o=r["padding-"+s];n[s]=Se(o)}return n}function mi(r){var e=r.getBBox();return Te(0,0,e.width,e.height)}function bi(r){var e=r.clientWidth,n=r.clientHeight;if(!e&&!n)return or;var i=ie(r).getComputedStyle(r),t=gi(i),s=t.left+t.right,o=t.top+t.bottom,a=Se(i.width),l=Se(i.height);if(i.boxSizing==="border-box"&&(Math.round(a+s)!==e&&(a-=vt(i,"left","right")+s),Math.round(l+o)!==n&&(l-=vt(i,"top","bottom")+o)),!wi(r)){var u=Math.round(a+s)-e,p=Math.round(l+o)-n;Math.abs(u)!==1&&(a-=u),Math.abs(p)!==1&&(l-=p)}return Te(t.left,t.top,a,l)}var Si=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 wi(r){return r===ie(r).document.documentElement}function Oi(r){return Xe?Si(r)?mi(r):bi(r):or}function _i(r){var e=r.x,n=r.y,i=r.width,t=r.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(s.prototype);return ir(o,{x:e,y:n,width:i,height:t,top:n,right:e+i,bottom:t+n,left:e}),o}function Te(r,e,n,i){return{x:r,y:e,width:n,height:i}}var Pi=function(){function r(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Te(0,0,0,0),this.target=e}return r.prototype.isActive=function(){var e=Oi(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}(),ki=function(){function r(e,n){var i=_i(n);ir(this,{target:e,contentRect:i})}return r}(),xi=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 Pi(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 ki(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=yi.getInstance(),i=new xi(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 ji=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),Ei=S.getAugmentedNamespace(ji);Object.defineProperty(_e,"__esModule",{value:!0});_e.InnerSlider=void 0;var N=se(I),Ci=se(Mt),Li=se(wn),Mi=se(Pe),D=f,Ri=ke,zi=xe,ht=re,Ii=se(Ei);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 Ai(r,e){if(r==null)return{};var n=$i(r,e),i,t;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(t=0;t<s.length;t++)i=s[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,s;for(s=0;s<i.length;s++)t=i[s],!(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){z(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 Di(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Hi(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 Ni(r,e,n){return e&&Hi(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function Wi(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 qi(r){var e=lr();return function(){var i=Oe(r),t;if(e){var s=Oe(this).constructor;t=Reflect.construct(i,arguments,s)}else t=i.apply(this,arguments);return Fi(this,t)}}function Fi(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 z(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=Bi(r,"string");return X(e)=="symbol"?e:String(e)}function Bi(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){Wi(n,r);var e=qi(n);function n(i){var t;Di(this,n),t=e.call(this,i),z(R(t),"listRefHandler",function(o){return t.list=o}),z(R(t),"trackRefHandler",function(o){return t.track=o}),z(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,D.getHeight)(o)+"px"}}),z(R(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var o=(0,D.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 a=_({listRef:t.list,trackRef:t.track},t.props);t.updateState(a,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),t.props.lazyLoad==="progressive"&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new Ii.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)}),z(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()}),z(R(t),"componentDidUpdate",function(o){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var a=(0,D.getOnDemandLazySlides)(_(_({},t.props),t.state));a.length>0&&(t.setState(function(p){return{lazyLoadedList:p.lazyLoadedList.concat(a)}}),t.props.onLazyLoad&&t.props.onLazyLoad(a))}t.adaptHeight();var l=_(_({listRef:t.list,trackRef:t.track},t.props),t.state),u=t.didPropsChange(o);u&&t.updateState(l,u,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")})}),z(R(t),"onWindowResized",function(o){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,Li.default)(function(){return t.resizeWindow(o)},50),t.debouncedResize()}),z(R(t),"resizeWindow",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=!!(t.track&&t.track.node);if(a){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}}),z(R(t),"updateState",function(o,a,l){var u=(0,D.initializedState)(o);o=_(_(_({},o),u),{},{slideIndex:u.currentSlide});var p=(0,D.getTrackLeft)(o);o=_(_({},o),{},{left:p});var c=(0,D.getTrackCSS)(o);(a||N.default.Children.count(t.props.children)!==N.default.Children.count(o.children))&&(u.trackStyle=c),t.setState(u,l)}),z(R(t),"ssrInit",function(){if(t.props.variableWidth){var o=0,a=0,l=[],u=(0,D.getPreClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length})),p=(0,D.getPostClones)(_(_(_({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function($){l.push($.props.style.width),o+=$.props.style.width});for(var c=0;c<u;c++)a+=l[l.length-1-c],o+=l[l.length-1-c];for(var y=0;y<p;y++)o+=l[y];for(var P=0;P<t.state.currentSlide;P++)a+=l[P];var O={width:o+"px",left:-a+"px"};if(t.props.centerMode){var g="".concat(l[t.state.currentSlide],"px");O.left="calc(".concat(O.left," + (100% - ").concat(g,") / 2 ) ")}return{trackStyle:O}}var w=N.default.Children.count(t.props.children),k=_(_(_({},t.props),t.state),{},{slideCount:w}),d=(0,D.getPreClones)(k)+(0,D.getPostClones)(k)+w,v=100/t.props.slidesToShow*d,T=100/d,C=-T*((0,D.getPreClones)(k)+t.state.currentSlide)*v/100;t.props.centerMode&&(C+=(100-T*v/100)/2);var L={width:v+"%",left:C+"%"};return{slideWidth:T+"%",trackStyle:L}}),z(R(t),"checkImagesLoad",function(){var o=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],a=o.length,l=0;Array.prototype.forEach.call(o,function(u){var p=function(){return++l&&l>=a&&t.onWindowResized()};if(!u.onclick)u.onclick=function(){return u.parentNode.focus()};else{var c=u.onclick;u.onclick=function(y){c(y),u.parentNode.focus()}}u.onload||(t.props.lazyLoad?u.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(u.onload=p,u.onerror=function(){p(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),z(R(t),"progressiveLazyLoad",function(){for(var o=[],a=_(_({},t.props),t.state),l=t.state.currentSlide;l<t.state.slideCount+(0,D.getPostClones)(a);l++)if(t.state.lazyLoadedList.indexOf(l)<0){o.push(l);break}for(var u=t.state.currentSlide-1;u>=-(0,D.getPreClones)(a);u--)if(t.state.lazyLoadedList.indexOf(u)<0){o.push(u);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)}),z(R(t),"slideHandler",function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=t.props,u=l.asNavFor,p=l.beforeChange,c=l.onLazyLoad,y=l.speed,P=l.afterChange,O=t.state.currentSlide,g=(0,D.slideHandler)(_(_(_({index:o},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!a})),w=g.state,k=g.nextState;if(w){p&&p(O,w.currentSlide);var d=w.lazyLoadedList.filter(function(v){return t.state.lazyLoadedList.indexOf(v)<0});c&&d.length>0&&c(d),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),P&&P(O),delete t.animationEndCallback),t.setState(w,function(){u&&t.asNavForIndex!==o&&(t.asNavForIndex=o,u.innerSlider.slideHandler(o)),k&&(t.animationEndCallback=setTimeout(function(){var v=k.animating,T=Ai(k,["animating"]);t.setState(T,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:v})},10)),P&&P(w.currentSlide),delete t.animationEndCallback})},y))})}}),z(R(t),"changeSlide",function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=_(_({},t.props),t.state),u=(0,D.changeSlide)(l,o);if(!(u!==0&&!u)&&(a===!0?t.slideHandler(u,a):t.slideHandler(u),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var p=t.list.querySelectorAll(".slick-current");p[0]&&p[0].focus()}}),z(R(t),"clickHandler",function(o){t.clickable===!1&&(o.stopPropagation(),o.preventDefault()),t.clickable=!0}),z(R(t),"keyHandler",function(o){var a=(0,D.keyHandler)(o,t.props.accessibility,t.props.rtl);a!==""&&t.changeSlide({message:a})}),z(R(t),"selectHandler",function(o){t.changeSlide(o)}),z(R(t),"disableBodyScroll",function(){var o=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=o}),z(R(t),"enableBodyScroll",function(){window.ontouchmove=null}),z(R(t),"swipeStart",function(o){t.props.verticalSwiping&&t.disableBodyScroll();var a=(0,D.swipeStart)(o,t.props.swipe,t.props.draggable);a!==""&&t.setState(a)}),z(R(t),"swipeMove",function(o){var a=(0,D.swipeMove)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));a&&(a.swiping&&(t.clickable=!1),t.setState(a))}),z(R(t),"swipeEnd",function(o){var a=(0,D.swipeEnd)(o,_(_(_({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(a){var l=a.triggerSlideHandler;delete a.triggerSlideHandler,t.setState(a),l!==void 0&&(t.slideHandler(l),t.props.verticalSwiping&&t.enableBodyScroll())}}),z(R(t),"touchEnd",function(o){t.swipeEnd(o),t.clickable=!0}),z(R(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),z(R(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),z(R(t),"slickGoTo",function(o){var a=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},a)},0))}),z(R(t),"play",function(){var o;if(t.props.rtl)o=t.state.currentSlide-t.props.slidesToScroll;else if((0,D.canGoNext)(_(_({},t.props),t.state)))o=t.state.currentSlide+t.props.slidesToScroll;else return!1;t.slideHandler(o)}),z(R(t),"autoPlay",function(o){t.autoplayTimer&&clearInterval(t.autoplayTimer);var a=t.state.autoplaying;if(o==="update"){if(a==="hovered"||a==="focused"||a==="paused")return}else if(o==="leave"){if(a==="paused"||a==="focused")return}else if(o==="blur"&&(a==="paused"||a==="hovered"))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),z(R(t),"pause",function(o){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var a=t.state.autoplaying;o==="paused"?t.setState({autoplaying:"paused"}):o==="focused"?(a==="hovered"||a==="playing")&&t.setState({autoplaying:"focused"}):a==="playing"&&t.setState({autoplaying:"hovered"})}),z(R(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),z(R(t),"onDotsLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),z(R(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),z(R(t),"onTrackLeave",function(){return t.props.autoplay&&t.state.autoplaying==="hovered"&&t.autoPlay("leave")}),z(R(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),z(R(t),"onSlideBlur",function(){return t.props.autoplay&&t.state.autoplaying==="focused"&&t.autoPlay("blur")}),z(R(t),"render",function(){var o=(0,Mi.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),a=_(_({},t.props),t.state),l=(0,D.extractObject)(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=t.props.pauseOnHover;l=_(_({},l),{},{onMouseEnter:u?t.onTrackOver:null,onMouseLeave:u?t.onTrackLeave:null,onMouseOver:u?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 c=(0,D.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;c=_(_({},c),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),p=N.default.createElement(zi.Dots,c)}var P,O,g=(0,D.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=t.changeSlide,t.props.arrows&&(P=N.default.createElement(ht.PrevArrow,g),O=N.default.createElement(ht.NextArrow,g));var w=null;t.props.vertical&&(w={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 d=_(_({},w),k),v=t.props.touchMove,T={className:"slick-list",style:d,onClick:t.clickHandler,onMouseDown:v?t.swipeStart:null,onMouseMove:t.state.dragging&&v?t.swipeMove:null,onMouseUp:v?t.swipeEnd:null,onMouseLeave:t.state.dragging&&v?t.swipeEnd:null,onTouchStart:v?t.swipeStart:null,onTouchMove:t.state.dragging&&v?t.swipeMove:null,onTouchEnd:v?t.touchEnd:null,onTouchCancel:t.state.dragging&&v?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},C={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(T={className:"slick-list"},C={className:o}),N.default.createElement("div",C,t.props.unslick?"":P,N.default.createElement("div",we({ref:t.listRefHandler},T),N.default.createElement(Ri.Track,we({ref:t.trackRefHandler},l),t.props.children)),t.props.unslick?"":O,t.props.unslick?"":p)}),t.list=null,t.track=null,t.state=_(_({},Ci.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 s=t.ssrInit();return t.state=_(_({},t.state),s),t}return Ni(n,[{key:"didPropsChange",value:function(t){for(var s=!1,o=0,a=Object.keys(this.props);o<a.length;o++){var l=a[o];if(!t.hasOwnProperty(l)){s=!0;break}if(!(X(t[l])==="object"||typeof t[l]=="function"||isNaN(t[l]))&&t[l]!==this.props[l]){s=!0;break}}return s||N.default.Children.count(this.props.children)!==N.default.Children.count(t.children)}}]),n}(N.default.Component);var Gi=function(r){return r.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()},Ui=Gi,Qi=Ui,Xi=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 s=r[i];i=Qi(i),Xi(i)&&typeof s=="number"&&(s=s+"px"),s===!0?e+=i:s===!1?e+="not "+i:e+="("+i+": "+s+")",t<n.length-1&&(e+=" and ")}),e},Yi=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)},Ki=Yi,ze,mt;function Vi(){if(mt)return ze;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}},ze=r,ze}var Ie,bt;function cr(){if(bt)return Ie;bt=1;function r(i,t){var s=0,o=i.length,a;for(s;s<o&&(a=t(i[s],s),a!==!1);s++);}function e(i){return Object.prototype.toString.apply(i)==="[object Array]"}function n(i){return typeof i=="function"}return Ie={isFunction:n,isArray:e,each:r},Ie}var Ae,St;function Zi(){if(St)return Ae;St=1;var r=Vi(),e=cr().each;function n(i,t){this.query=i,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(i);var s=this;this.listener=function(o){s.mql=o.currentTarget||o,s.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(s,o){if(s.equals(i))return s.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 $e,wt;function Ji(){if(wt)return $e;wt=1;var r=Zi(),e=cr(),n=e.each,i=e.isFunction,t=e.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}return s.prototype={constructor:s,register:function(o,a,l){var u=this.queries,p=l&&this.browserIsIncapable;return u[o]||(u[o]=new r(o,p)),i(a)&&(a={match:a}),t(a)||(a=[a]),n(a,function(c){i(c)&&(c={match:c}),u[o].addHandler(c)}),this},unregister:function(o,a){var l=this.queries[o];return l&&(a?l.removeHandler(a):(l.clear(),delete this.queries[o])),this}},$e=s,$e}var De,Ot;function eo(){if(Ot)return De;Ot=1;var r=Ji();return De=new r,De}(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e=o(I),n=_e,i=o(Ki),t=o(Ze),s=f;function o(b){return b&&b.__esModule?b:{default:b}}function a(b){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},a(b)}function l(){return l=Object.assign?Object.assign.bind():function(b){for(var m=1;m<arguments.length;m++){var M=arguments[m];for(var x in M)Object.prototype.hasOwnProperty.call(M,x)&&(b[x]=M[x])}return b},l.apply(this,arguments)}function u(b,m){var M=Object.keys(b);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(b);m&&(x=x.filter(function(j){return Object.getOwnPropertyDescriptor(b,j).enumerable})),M.push.apply(M,x)}return M}function p(b){for(var m=1;m<arguments.length;m++){var M=arguments[m]!=null?arguments[m]:{};m%2?u(Object(M),!0).forEach(function(x){C(b,x,M[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(M)):u(Object(M)).forEach(function(x){Object.defineProperty(b,x,Object.getOwnPropertyDescriptor(M,x))})}return b}function c(b,m){if(!(b instanceof m))throw new TypeError("Cannot call a class as a function")}function y(b,m){for(var M=0;M<m.length;M++){var x=m[M];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,L(x.key),x)}}function P(b,m,M){return m&&y(b.prototype,m),Object.defineProperty(b,"prototype",{writable:!1}),b}function O(b,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(m&&m.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),m&&g(b,m)}function g(b,m){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,j){return x.__proto__=j,x},g(b,m)}function w(b){var m=v();return function(){var x=T(b),j;if(m){var E=T(this).constructor;j=Reflect.construct(x,arguments,E)}else j=x.apply(this,arguments);return k(this,j)}}function k(b,m){if(m&&(a(m)==="object"||typeof m=="function"))return m;if(m!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(b)}function d(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function v(){try{var b=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(v=function(){return!!b})()}function T(b){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(M){return M.__proto__||Object.getPrototypeOf(M)},T(b)}function C(b,m,M){return m=L(m),m in b?Object.defineProperty(b,m,{value:M,enumerable:!0,configurable:!0,writable:!0}):b[m]=M,b}function L(b){var m=$(b,"string");return a(m)=="symbol"?m:String(m)}function $(b,m){if(a(b)!="object"||!b)return b;var M=b[Symbol.toPrimitive];if(M!==void 0){var x=M.call(b,m||"default");if(a(x)!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(m==="string"?String:Number)(b)}var q=(0,s.canUseDOM)()&&eo();r.default=function(b){O(M,b);var m=w(M);function M(x){var j;return c(this,M),j=m.call(this,x),C(d(j),"innerSliderRefHandler",function(E){return j.innerSlider=E}),C(d(j),"slickPrev",function(){return j.innerSlider.slickPrev()}),C(d(j),"slickNext",function(){return j.innerSlider.slickNext()}),C(d(j),"slickGoTo",function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return j.innerSlider.slickGoTo(E,U)}),C(d(j),"slickPause",function(){return j.innerSlider.pause("paused")}),C(d(j),"slickPlay",function(){return j.innerSlider.autoPlay("play")}),j.state={breakpoint:null},j._responsiveMediaHandlers=[],j}return P(M,[{key:"media",value:function(j,E){q.register(j,E),this._responsiveMediaHandlers.push({query:j,handler:E})}},{key:"componentDidMount",value:function(){var j=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,s.canUseDOM)()&&j.media(Y,function(){j.setState({breakpoint:H})})});var U=(0,i.default)({minWidth:E.slice(-1)[0]});(0,s.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,E,U;this.state.breakpoint?(U=this.props.responsive.filter(function(oe){return oe.breakpoint===j.state.breakpoint}),E=U[0].settings==="unslick"?"unslick":p(p(p({},t.default),this.props),U[0].settings)):E=p(p({},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 je=[],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"}}));je.push(e.default.createElement("div",{key:10*B+K},et))}E.variableWidth?F.push(e.default.createElement("div",{key:B,style:{width:Y}},je)):F.push(e.default.createElement("div",{key:B},je))}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,s.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 to=S.getDefaultExportFromCjs(Ct),ro=()=>to,no=S.styled_default(ro())({name:"Carousel",class:"c1f9jjsn",propsAsIs:!0}),io="d25r51y",oo=S.styled_default("div")({name:"Dot",class:"d1lvrmx8",propsAsIs:!1}),ao=S.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(ao,{children:[" ",r," "]}),customPaging:r=>h.jsx(oo,{children:h.jsx("div",{})},r)};function so(r,e,n){let i=new Set(e).add(void 0);return r.listen((t,s,o)=>{i.has(o)&&n(t,s,o)})}function lo(r,e={}){let n=I.useCallback(t=>e.keys?so(r,e.keys,t):r.listen(t),[e.keys,r]),i=r.get.bind(r);return I.useSyncExternalStore(n,i,i)}const uo=({gamification:r,autoplay:e,swipeable:n,changeHeightOnInit:i,height:t,onEvent:s,centerPadding:o})=>{const a=I.useRef(),l=I.useRef(null),[u,p]=I.useState(!1),{data:c,error:y,loading:P}=lo(r.betPack.getStore()),{listOfQuestions:O,countQuestionsAvailable:g}=I.useMemo(()=>{const v=c?Object.values(c):[];return{listOfQuestions:v,countQuestionsAvailable:v.filter(({marketClosed:T})=>!T).length}},[c]);I.useEffect(()=>{!y&&!P&&c!==void 0&&!u&&s({type:"slBetPackReady",payload:{next:()=>{var v;return(v=l.current)==null?void 0:v.slickNext()},prev:()=>{var v;return(v=l.current)==null?void 0:v.slickPrev()},current:0,canNext:!0,canPrev:!1}})},[c,y,P,s]);const w=I.useCallback(async(v,T)=>{try{p(!0),await r.betPackVote(v,T)}finally{a.current&&clearTimeout(a.current),e&&(a.current=setTimeout(()=>{var C;(C=l.current)==null||C.slickNext()},2e3))}},[r,l,e]);if(I.useEffect(()=>()=>{a.current&&clearTimeout(a.current)},[]),P)return h.jsx(Et,{});if(!y&&(c==null||!Object.keys(c).length))return h.jsx(He,{actionFn:()=>s({type:"slHardRefresh"}),description:`It looks like we couldn't
|
|
6
|
-
load the questions.`,isMobile:n,height:t});if(
|
|
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
|
|
7
7
|
specified or is invalid.`:`The server is unable to
|
|
8
|
-
handle this request.`,isMobile:n,height:t});const
|
|
9
|
-
view this resource.`,isMobile:e,height:
|
|
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;
|