whatmore-react-assets 1.0.1404 → 1.0.1405

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/package.json +1 -1
  2. package/static/js/13.b216da25.chunk.js +1 -0
  3. package/static/js/210.d4c6f9a4.chunk.js +1 -0
  4. package/static/js/219.a0c7f0d6.chunk.js +1 -0
  5. package/static/js/240.9c510ae9.chunk.js +2 -0
  6. package/static/js/302.41f7dffe.chunk.js +1 -0
  7. package/static/js/348.6120786d.chunk.js +117 -0
  8. package/static/js/423.4d5ac85a.chunk.js +1 -0
  9. package/static/js/561.95fd0242.chunk.js +1 -0
  10. package/static/js/577.646fa55d.chunk.js +1 -0
  11. package/static/js/731.4a524607.chunk.js +1 -0
  12. package/static/js/733.c8453574.chunk.js +1 -0
  13. package/static/js/745.107e7775.chunk.js +2 -0
  14. package/static/js/751.4f97aaf7.chunk.js +1 -0
  15. package/static/js/819.c2077f1e.chunk.js +2 -0
  16. package/static/js/824.5e1bcf5b.chunk.js +2 -0
  17. package/static/js/app-main.12f402fb.chunk.js +1 -0
  18. package/static/js/{atc-with-form.958f95e3.chunk.js → atc-with-form.c6e794f2.chunk.js} +1 -1
  19. package/static/js/banner-template-a.17b6cfa5.chunk.js +1 -0
  20. package/static/js/carousel-template-a.9bab2855.chunk.js +1 -0
  21. package/static/js/carousel-template-b.59ad5f64.chunk.js +1 -0
  22. package/static/js/carousel-template-f.26ab7395.chunk.js +1 -0
  23. package/static/js/carousel-template-feed.ad73c3ed.chunk.js +15 -0
  24. package/static/js/carousel-template-g.2f70770b.chunk.js +1 -0
  25. package/static/js/carousel-template-h.eada0967.chunk.js +1 -0
  26. package/static/js/carousel-template-view-more.4b1e8a28.chunk.js +45 -0
  27. package/static/js/collections-template-a.d79da3e9.chunk.js +1 -0
  28. package/static/js/collections-template-b.d191151d.chunk.js +1 -0
  29. package/static/js/collections-template-c.6aadef97.chunk.js +1 -0
  30. package/static/js/collections-template-stories.9696a048.chunk.js +1 -0
  31. package/static/js/event-click-main.e9e26fc2.chunk.js +1 -0
  32. package/static/js/event-click-product.60b5a8fa.chunk.js +1 -0
  33. package/static/js/event-click-spotlight.929fb915.chunk.js +1 -0
  34. package/static/js/homepage-carousel-view.8510dc03.chunk.js +1 -0
  35. package/static/js/{location-details.b14d3704.chunk.js → location-details.c0431f85.chunk.js} +1 -1
  36. package/static/js/product-page-view.6f93465d.chunk.js +1 -0
  37. package/static/js/recommended-carousel.9a69fdec.chunk.js +2 -0
  38. package/static/js/spotlight-view.2f2adc85.chunk.js +1 -0
  39. package/static/js/stories-template-a.69cd6742.chunk.js +1 -0
  40. package/whatmore.js +2 -2
  41. package/static/js/2.a6e5564f.chunk.js +0 -1
  42. package/static/js/286.4d801177.chunk.js +0 -1
  43. package/static/js/296.25439eea.chunk.js +0 -1
  44. package/static/js/311.96c6c80a.chunk.js +0 -1
  45. package/static/js/378.bce12c1d.chunk.js +0 -1
  46. package/static/js/461.28347fc7.chunk.js +0 -1
  47. package/static/js/571.96f2c5ac.chunk.js +0 -1
  48. package/static/js/620.04f526c7.chunk.js +0 -1
  49. package/static/js/650.50b7ab24.chunk.js +0 -117
  50. package/static/js/669.fcb5e7c7.chunk.js +0 -2
  51. package/static/js/682.8623fb18.chunk.js +0 -1
  52. package/static/js/756.7523a583.chunk.js +0 -2
  53. package/static/js/842.85030e08.chunk.js +0 -2
  54. package/static/js/850.5091474f.chunk.js +0 -2
  55. package/static/js/859.3d380911.chunk.js +0 -1
  56. package/static/js/920.298a46d6.chunk.js +0 -1
  57. package/static/js/app-main.5bc4359c.chunk.js +0 -1
  58. package/static/js/banner-template-a.86b38542.chunk.js +0 -1
  59. package/static/js/carousel-template-a.1173f55c.chunk.js +0 -1
  60. package/static/js/carousel-template-b.406fc806.chunk.js +0 -1
  61. package/static/js/carousel-template-f.4f8a98f4.chunk.js +0 -1
  62. package/static/js/carousel-template-feed.cc5f97a1.chunk.js +0 -15
  63. package/static/js/carousel-template-g.3670c058.chunk.js +0 -1
  64. package/static/js/carousel-template-h.264e373e.chunk.js +0 -1
  65. package/static/js/carousel-template-view-more.12a1f50b.chunk.js +0 -45
  66. package/static/js/collections-template-a.daea1564.chunk.js +0 -1
  67. package/static/js/collections-template-b.22c9d294.chunk.js +0 -1
  68. package/static/js/collections-template-c.6ea927fa.chunk.js +0 -1
  69. package/static/js/collections-template-stories.57f85909.chunk.js +0 -1
  70. package/static/js/event-click-main.73709ad2.chunk.js +0 -1
  71. package/static/js/event-click-product.873632c6.chunk.js +0 -1
  72. package/static/js/event-click-spotlight.87acc60c.chunk.js +0 -1
  73. package/static/js/homepage-carousel-view.d6bf4477.chunk.js +0 -1
  74. package/static/js/product-page-view.d08a5a1a.chunk.js +0 -1
  75. package/static/js/recommended-carousel.22249e9e.chunk.js +0 -2
  76. package/static/js/spotlight-view.2163ff18.chunk.js +0 -1
  77. package/static/js/stories-template-a.a97215e7.chunk.js +0 -1
  78. /package/static/css/{139.a9bfc3e2.chunk.css → 926.a9bfc3e2.chunk.css} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 842.85030e08.chunk.js.LICENSE.txt */
2
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[842],{7807:function(t,e,n){"use strict";n.d(e,{$n:function(){return v}});var o=n(9950),i=n(2713),r=n(9592),a=n(2508),s=n(4992),l=n.n(s),c=n(3034),u=n(1480),d=n(4259),[f,p]=(0,u.q6)({strict:!1,name:"ButtonGroupContext"});function h(t){const{children:e,className:n,...i}=t,a=(0,o.isValidElement)(e)?(0,o.cloneElement)(e,{"aria-hidden":!0,focusable:!1}):e,s=(0,c.cx)("chakra-button__icon",n);return o.createElement(r.Bv.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:s},a)}function m(t){const{label:e,placement:n,spacing:i="0.5rem",children:a=o.createElement(d.y,{color:"currentColor",width:"1em",height:"1em"}),className:s,__css:l,...u}=t,f=(0,c.cx)("chakra-button__spinner",s),p="start"===n?"marginEnd":"marginStart",h=(0,o.useMemo)((()=>({display:"flex",alignItems:"center",position:e?"relative":"absolute",[p]:e?i:0,fontSize:"1em",lineHeight:"normal",...l})),[l,e,p,i]);return o.createElement(r.Bv.div,{className:f,...u,__css:h},a)}c.gt&&(h.displayName="ButtonIcon"),c.gt&&(m.displayName="ButtonSpinner");var v=(0,r.Rf)(((t,e)=>{const n=p(),s=(0,r.Vl)("Button",{...n,...t}),{isDisabled:u=(null==n?void 0:n.isDisabled),isLoading:d,isActive:f,children:h,leftIcon:v,rightIcon:y,loadingText:b,iconSpacing:x="0.5rem",type:E,spinner:w,spinnerPlacement:O="start",className:C,as:S,...A}=(0,a.MN)(t),P=(0,o.useMemo)((()=>{const t=l()({},(null==s?void 0:s._focus)??{},{zIndex:1});return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...s,...!!n&&{_focus:t}}}),[s,n]),{ref:T,type:M}=function(t){const[e,n]=(0,o.useState)(!t);return{ref:(0,o.useCallback)((t=>{t&&n("BUTTON"===t.tagName)}),[]),type:e?"button":void 0}}(S),R={rightIcon:y,leftIcon:v,iconSpacing:x,children:h};return o.createElement(r.Bv.button,{disabled:u||d,ref:(0,i.SV)(e,T),as:S,type:E??M,"data-active":(0,c.sE)(f),"data-loading":(0,c.sE)(d),__css:P,className:(0,c.cx)("chakra-button",C),...A},d&&"start"===O&&o.createElement(m,{className:"chakra-button__spinner--start",label:b,placement:"start",spacing:x},w),d?b||o.createElement(r.Bv.span,{opacity:0},o.createElement(g,{...R})):o.createElement(g,{...R}),d&&"end"===O&&o.createElement(m,{className:"chakra-button__spinner--end",label:b,placement:"end",spacing:x},w))}));function g(t){const{leftIcon:e,rightIcon:n,children:i,iconSpacing:r}=t;return o.createElement(o.Fragment,null,e&&o.createElement(h,{marginEnd:r},e),i,n&&o.createElement(h,{marginStart:r},n))}c.gt&&(v.displayName="Button");var y=(0,r.Rf)((function(t,e){const{size:n,colorScheme:i,variant:a,className:s,spacing:l="0.5rem",isAttached:u,isDisabled:d,...p}=t,h=(0,c.cx)("chakra-button__group",s),m=(0,o.useMemo)((()=>({size:n,colorScheme:i,variant:a,isDisabled:d})),[n,i,a,d]);let v={display:"inline-flex"};return v=u?{...v,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:{...v,"& > *:not(style) ~ *:not(style)":{marginStart:l}},o.createElement(f,{value:m},o.createElement(r.Bv.div,{ref:e,role:"group",__css:v,className:h,"data-attached":u?"":void 0,...p}))}));c.gt&&(y.displayName="ButtonGroup");var b=(0,r.Rf)(((t,e)=>{const{icon:n,children:i,isRound:r,"aria-label":a,...s}=t,l=n||i,c=(0,o.isValidElement)(l)?(0,o.cloneElement)(l,{"aria-hidden":!0,focusable:!1}):null;return o.createElement(v,{padding:"0",borderRadius:r?"full":void 0,ref:e,"aria-label":a,...s},c)}));c.gt&&(b.displayName="IconButton")},4259:function(t,e,n){"use strict";n.d(e,{y:function(){return f}});var o=n(9950),i=n(8283),r=n(9592),a=n(2508),s=n(3034),l={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},c=(0,r.Bv)("span",{baseStyle:l});s.gt&&(c.displayName="VisuallyHidden");var u=(0,r.Bv)("input",{baseStyle:l});s.gt&&(u.displayName="VisuallyHiddenInput");var d=(0,i.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),f=(0,r.Rf)(((t,e)=>{const n=(0,r.Vl)("Spinner",t),{label:i="Loading...",thickness:l="2px",speed:u="0.45s",emptyColor:f="transparent",className:p,...h}=(0,a.MN)(t),m=(0,s.cx)("chakra-spinner",p),v={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:f,borderLeftColor:f,animation:`${d} ${u} linear infinite`,...n};return o.createElement(r.Bv.div,{ref:e,__css:v,className:m,...h},i&&o.createElement(c,null,i))}));s.gt&&(f.displayName="Spinner")},7958:function(t,e,n){"use strict";n.d(e,{Jt:function(){return U},s1:function(){return W}});var o=n(9950),i=n(3034),r=n(4992),a=n.n(r),s=n(6918),l=n(9099),c=n(7544);function u(){const t=(0,o.useRef)(!1);return(0,c.E)((()=>(t.current=!0,()=>{t.current=!1})),[]),t}var d=n(3487),f=n(9305);class p extends o.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){const t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h(t){let{children:e,isPresent:n}=t;const i=(0,o.useId)(),r=(0,o.useRef)(null),a=(0,o.useRef)({width:0,height:0,top:0,left:0});return(0,o.useInsertionEffect)((()=>{var t;const{width:e,height:o,top:s,left:l}=a.current;if(n||!r.current||!e||!o)return;r.current.dataset.motionPopId=i;const c=document.createElement("style");return document.head.appendChild(c),null===(t=c.sheet)||void 0===t||t.insertRule(`\n [data-motion-pop-id="${i}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${o}px !important;\n top: ${s}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(c)}}),[n]),o.createElement(p,{isPresent:n,childRef:r,sizeRef:a},o.cloneElement(e,{ref:r}))}const m=t=>{let{children:e,initial:n,isPresent:i,onExitComplete:r,custom:a,presenceAffectsLayout:s,mode:l}=t;const c=(0,f.M)(v),u=(0,o.useId)(),p=(0,o.useMemo)((()=>({id:u,initial:n,isPresent:i,custom:a,onExitComplete:t=>{c.set(t,!0);for(const e of c.values())if(!e)return;null===r||void 0===r||r()},register:t=>(c.set(t,!1),()=>c.delete(t))})),s?void 0:[i]);return(0,o.useMemo)((()=>{c.forEach(((t,e)=>c.set(e,!1)))}),[i]),o.useEffect((()=>{!i&&!c.size&&(null===r||void 0===r||r())}),[i]),"popLayout"===l&&(e=o.createElement(h,{isPresent:i},e)),o.createElement(d.t.Provider,{value:p},e)};function v(){return new Map}var g=n(6017),y=n(6835),b=n(7419);const x=t=>t.key||"";const E=t=>{let{children:e,custom:n,initial:i=!0,onExitComplete:r,exitBeforeEnter:a,presenceAffectsLayout:d=!0,mode:f="sync"}=t;a&&(f="wait",(0,b.m)(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=function(){const t=u(),[e,n]=(0,o.useState)(0),i=(0,o.useCallback)((()=>{t.current&&n(e+1)}),[e]);return[(0,o.useCallback)((()=>l.Ay.postRender(i)),[i]),e]}();const h=(0,o.useContext)(g.L).forceRender;h&&(p=h);const v=u(),E=function(t){const e=[];return o.Children.forEach(t,(t=>{(0,o.isValidElement)(t)&&e.push(t)})),e}(e);let w=E;const O=new Set,C=(0,o.useRef)(w),S=(0,o.useRef)(new Map).current,A=(0,o.useRef)(!0);if((0,c.E)((()=>{A.current=!1,function(t,e){t.forEach((t=>{const n=x(t);e.set(n,t)}))}(E,S),C.current=w})),(0,y.l)((()=>{A.current=!0,S.clear(),O.clear()})),A.current)return o.createElement(o.Fragment,null,w.map((t=>o.createElement(m,{key:x(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:d,mode:f},t))));w=[...w];const P=C.current.map(x),T=E.map(x),M=P.length;for(let o=0;o<M;o++){const t=P[o];-1===T.indexOf(t)&&O.add(t)}return"wait"===f&&O.size&&(w=[]),O.forEach((t=>{if(-1!==T.indexOf(t))return;const e=S.get(t);if(!e)return;const i=P.indexOf(t);w.splice(i,0,o.createElement(m,{key:x(e),isPresent:!1,onExitComplete:()=>{S.delete(t),O.delete(t);const e=C.current.findIndex((e=>e.key===t));if(C.current.splice(e,1),!O.size){if(C.current=E,!1===v.current)return;p(),r&&r()}},custom:n,presenceAffectsLayout:d,mode:f},e))})),w=w.map((t=>{const e=t.key;return O.has(e)?t:o.createElement(m,{key:x(t),isPresent:!0,presenceAffectsLayout:d,mode:f},t)})),"production"!==s._&&"wait"===f&&w.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),o.createElement(o.Fragment,null,O.size?w:w.map((t=>(0,o.cloneElement)(t))))};var w=n(1322),O={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},C={position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},S={position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},A={position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},P={position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}};function T(t){switch((null==t?void 0:t.direction)??"right"){case"right":default:return S;case"left":return C;case"bottom":return P;case"top":return A}}var M={enter:{duration:.2,ease:O.easeOut},exit:{duration:.1,ease:O.easeIn}},R=(t,e)=>({...t,delay:"number"===typeof e?e:null==e?void 0:e.enter}),j=(t,e)=>({...t,delay:"number"===typeof e?e:null==e?void 0:e.exit}),V={exit:{height:{duration:.2,ease:O.ease},opacity:{duration:.3,ease:O.ease}},enter:{height:{duration:.3,ease:O.ease},opacity:{duration:.4,ease:O.ease}}},L={exit:t=>{let{animateOpacity:e,startingHeight:n,transition:o,transitionEnd:i,delay:r}=t;return{...e&&{opacity:(a=n,null!=a&&parseInt(a.toString(),10)>0?1:0)},height:n,transitionEnd:null==i?void 0:i.exit,transition:(null==o?void 0:o.exit)??j(V.exit,r)};var a},enter:t=>{let{animateOpacity:e,endingHeight:n,transition:o,transitionEnd:i,delay:r}=t;return{...e&&{opacity:1},height:n,transitionEnd:null==i?void 0:i.enter,transition:(null==o?void 0:o.enter)??R(V.enter,r)}}},k=(0,o.forwardRef)(((t,e)=>{const{in:n,unmountOnExit:r,animateOpacity:s=!0,startingHeight:l=0,endingHeight:c="auto",style:u,className:d,transition:f,transitionEnd:p,...h}=t,[m,v]=(0,o.useState)(!1);(0,o.useEffect)((()=>{const t=setTimeout((()=>{v(!0)}));return()=>clearTimeout(t)}),[]),(0,i.R8)({condition:Boolean(l>0&&r),message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const g=parseFloat(l.toString())>0,y={startingHeight:l,endingHeight:c,animateOpacity:s,transition:m?f:{enter:{duration:0}},transitionEnd:a()(p,{exit:r?void 0:{display:g?"block":"none"}})},b=!r||n,x=n||r?"enter":"exit";return o.createElement(E,{initial:!1,custom:y},b&&o.createElement(w.P.div,{ref:e,...h,className:(0,i.cx)("chakra-collapse",d),style:{overflow:"hidden",display:"block",...u},custom:y,variants:L,initial:!!r&&"exit",animate:x,exit:"exit"}))}));i.gt&&(k.displayName="Collapse");var D={enter:function(){let{transition:t,transitionEnd:e,delay:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:1,transition:(null==t?void 0:t.enter)??R(M.enter,n),transitionEnd:null==e?void 0:e.enter}},exit:function(){let{transition:t,transitionEnd:e,delay:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:0,transition:(null==t?void 0:t.exit)??j(M.exit,n),transitionEnd:null==e?void 0:e.exit}}},N={initial:"exit",animate:"enter",exit:"exit",variants:D},F=(0,o.forwardRef)((function(t,e){const{unmountOnExit:n,in:r,className:a,transition:s,transitionEnd:l,delay:c,...u}=t,d=r||n?"enter":"exit",f=!n||r&&n,p={transition:s,transitionEnd:l,delay:c};return o.createElement(E,{custom:p},f&&o.createElement(w.P.div,{ref:e,className:(0,i.cx)("chakra-fade",a),custom:p,...N,animate:d,...u}))}));i.gt&&(F.displayName="Fade");var B={initial:"exit",animate:"enter",exit:"exit",variants:{exit:t=>{let{reverse:e,initialScale:n,transition:o,transitionEnd:i,delay:r}=t;return{opacity:0,...e?{scale:n,transitionEnd:null==i?void 0:i.exit}:{transitionEnd:{scale:n,...null==i?void 0:i.exit}},transition:(null==o?void 0:o.exit)??j(M.exit,r)}},enter:t=>{let{transitionEnd:e,transition:n,delay:o}=t;return{opacity:1,scale:1,transition:(null==n?void 0:n.enter)??R(M.enter,o),transitionEnd:null==e?void 0:e.enter}}}},U=(0,o.forwardRef)((function(t,e){const{unmountOnExit:n,in:r,reverse:a=!0,initialScale:s=.95,className:l,transition:c,transitionEnd:u,delay:d,...f}=t,p=!n||r&&n,h=r||n?"enter":"exit",m={initialScale:s,reverse:a,transition:c,transitionEnd:u,delay:d};return o.createElement(E,{custom:m},p&&o.createElement(w.P.div,{ref:e,className:(0,i.cx)("chakra-offset-slide",l),...B,animate:h,custom:m,...f}))}));i.gt&&(U.displayName="ScaleFade");var I={exit:{duration:.15,ease:O.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},_={exit:t=>{let{direction:e,transition:n,transitionEnd:o,delay:i}=t;const{exit:r}=T({direction:e});return{...r,transition:(null==n?void 0:n.exit)??j(I.exit,i),transitionEnd:null==o?void 0:o.exit}},enter:t=>{let{direction:e,transitionEnd:n,transition:o,delay:i}=t;const{enter:r}=T({direction:e});return{...r,transition:(null==o?void 0:o.enter)??R(I.enter,i),transitionEnd:null==n?void 0:n.enter}}},z=(0,o.forwardRef)((function(t,e){const{direction:n="right",style:r,unmountOnExit:a,in:s,className:l,transition:c,transitionEnd:u,delay:d,...f}=t,p=T({direction:n}),h=Object.assign({position:"fixed"},p.position,r),m=!a||s&&a,v=s||a?"enter":"exit",g={transitionEnd:u,transition:c,direction:n,delay:d};return o.createElement(E,{custom:g},m&&o.createElement(w.P.div,{...f,ref:e,initial:"exit",className:(0,i.cx)("chakra-slide",l),animate:v,exit:"exit",custom:g,variants:_,style:h}))}));i.gt&&(z.displayName="Slide");var H={initial:"initial",animate:"enter",exit:"exit",variants:{initial:t=>{let{offsetX:e,offsetY:n,transition:o,transitionEnd:i,delay:r}=t;return{opacity:0,x:e,y:n,transition:(null==o?void 0:o.exit)??j(M.exit,r),transitionEnd:null==i?void 0:i.exit}},enter:t=>{let{transition:e,transitionEnd:n,delay:o}=t;return{opacity:1,x:0,y:0,transition:(null==e?void 0:e.enter)??R(M.enter,o),transitionEnd:null==n?void 0:n.enter}},exit:t=>{let{offsetY:e,offsetX:n,transition:o,transitionEnd:i,reverse:r,delay:a}=t;const s={x:n,y:e};return{opacity:0,transition:(null==o?void 0:o.exit)??j(M.exit,a),...r?{...s,transitionEnd:null==i?void 0:i.exit}:{transitionEnd:{...s,...null==i?void 0:i.exit}}}}}},W=(0,o.forwardRef)((function(t,e){const{unmountOnExit:n,in:r,reverse:a=!0,className:s,offsetX:l=0,offsetY:c=8,transition:u,transitionEnd:d,delay:f,...p}=t,h=!n||r&&n,m=r||n?"enter":"exit",v={offsetX:l,offsetY:c,reverse:a,transition:u,transitionEnd:d,delay:f};return o.createElement(E,{custom:v},h&&o.createElement(w.P.div,{ref:e,className:(0,i.cx)("chakra-offset-slide",s),custom:v,...H,animate:m,...p}))}));i.gt&&(W.displayName="SlideFade")},2159:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddBox");e.A=a},8544:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z"}),"ArrowForwardRounded");e.A=a},9810:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.29 16.29 5.7 12.7a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0z"}),"CheckCircleRounded");e.A=a},7642:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"}),"CloseRounded");e.A=a},9935:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");e.A=a},645:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M15.88 9.29 12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z"}),"ExpandMoreRounded");e.A=a},3420:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M19.66 3.99c-2.64-1.8-5.9-.96-7.66 1.1-1.76-2.06-5.02-2.91-7.66-1.1-1.4.96-2.28 2.58-2.34 4.29-.14 3.88 3.3 6.99 8.55 11.76l.1.09c.76.69 1.93.69 2.69-.01l.11-.1c5.25-4.76 8.68-7.87 8.55-11.75-.06-1.7-.94-3.32-2.34-4.28zM12.1 18.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"}),"FavoriteBorderRounded");e.A=a},7170:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M13.35 20.13c-.76.69-1.93.69-2.69-.01l-.11-.1C5.3 15.27 1.87 12.16 2 8.28c.06-1.7.93-3.33 2.34-4.29 2.64-1.8 5.9-.96 7.66 1.1 1.76-2.06 5.02-2.91 7.66-1.1 1.41.96 2.28 2.59 2.34 4.29.14 3.88-3.3 6.99-8.55 11.76l-.1.09z"}),"FavoriteRounded");e.A=a},6118:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z"}),"KeyboardArrowUpOutlined");e.A=a},4892:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"Launch");e.A=a},173:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Loop");e.A=a},6834:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M14.91 6.71a.9959.9959 0 0 0-1.41 0L8.91 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L11.03 12l3.88-3.88c.38-.39.38-1.03 0-1.41z"}),"NavigateBeforeRounded");e.A=a},2804:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M9.31 6.71c-.39.39-.39 1.02 0 1.41L13.19 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.72 6.7c-.38-.38-1.02-.38-1.41.01z"}),"NavigateNextRounded");e.A=a},4143:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"}),"Reply");e.A=a},8203:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M14.83 4.83 12.7 2.7c-.62-.62-1.7-.18-1.7.71v.66C7.06 4.56 4 7.92 4 12c0 3.64 2.43 6.71 5.77 7.68.62.18 1.23-.32 1.23-.96v-.03c0-.43-.27-.82-.68-.94C7.82 17.03 6 14.73 6 12c0-2.97 2.16-5.43 5-5.91v1.53c0 .89 1.07 1.33 1.7.71l2.13-2.08c.4-.38.4-1.02 0-1.42zm4.84 4.93c-.16-.55-.38-1.08-.66-1.59-.31-.57-1.1-.66-1.56-.2l-.01.01c-.31.31-.38.78-.17 1.16.2.37.36.76.48 1.16.12.42.51.7.94.7h.02c.65 0 1.15-.62.96-1.24zM13 18.68v.02c0 .65.62 1.14 1.24.96.55-.16 1.08-.38 1.59-.66.57-.31.66-1.1.2-1.56l-.02-.02c-.31-.31-.78-.38-1.16-.17-.37.21-.76.37-1.16.49-.41.12-.69.51-.69.94zm4.44-2.65c.46.46 1.25.37 1.56-.2.28-.51.5-1.04.67-1.59.18-.62-.31-1.24-.96-1.24h-.02c-.44 0-.82.28-.94.7-.12.4-.28.79-.48 1.17-.21.38-.13.86.17 1.16z"}),"RotateRightRounded");e.A=a},9537:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"}),"ShoppingCart");e.A=a},5078:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M0 12c0 3.22 1.13 6.18 3.02 8.5H1.75c-.41 0-.75.34-.75.75s.34.75.75.75H5c.55 0 1-.45 1-1v-3.25c0-.41-.34-.75-.75-.75s-.75.34-.75.75v2.16c-1.86-2.11-3-4.88-3-7.91s1.14-5.79 3-7.91v2.16c0 .41.34.75.75.75S6 6.66 6 6.25V3c0-.55-.45-1-1-1H1.75c-.41 0-.75.34-.75.75s.34.75.75.75h1.27C1.13 5.82 0 8.78 0 12zm8.83 7.1c-.26-.6.09-1.28.73-1.41l3.58-.71-4.35-9.81c-.34-.76 0-1.64.76-1.98.76-.34 1.64 0 1.98.76l2.43 5.49.84-.37c.28-.13.59-.18.9-.17l4.56.21c.86.04 1.6.63 1.83 1.45l1.23 4.33c.27.96-.2 1.97-1.11 2.37l-5.63 2.49c-.48.21-1.26.33-1.76.14l-5.45-2.27c-.24-.09-.44-.28-.54-.52z"}),"SwipeVerticalRounded");e.A=a},5375:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M3.63 3.63c-.39.39-.39 1.02 0 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v1.79l2.48 2.48c.01-.08.02-.16.02-.24z"}),"VolumeOffRounded");e.A=a},4895:function(t,e,n){"use strict";var o=n(5709);e.A=void 0;var i=o(n(9526)),r=n(4414),a=(0,i.default)((0,r.jsx)("path",{d:"M3 10v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71V6.41c0-.89-1.08-1.34-1.71-.71L7 9H4c-.55 0-1 .45-1 1zm13.5 2c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 4.45v.2c0 .38.25.71.6.85C17.18 6.53 19 9.06 19 12s-1.82 5.47-4.4 6.5c-.36.14-.6.47-.6.85v.2c0 .63.63 1.07 1.21.85C18.6 19.11 21 15.84 21 12s-2.4-7.11-5.79-8.4c-.58-.23-1.21.22-1.21.85z"}),"VolumeUpRounded");e.A=a},731:function(t,e,n){"use strict";var o=n(3235),i=n(4414);e.A=(0,o.A)((0,i.jsx)("path",{d:"M3.5 4.02V2.75c0-.41-.34-.75-.75-.75S2 2.34 2 2.75V6c0 .55.45 1 1 1h3.25c.41 0 .75-.34.75-.75s-.34-.75-.75-.75H4.09c2.11-1.86 4.88-3 7.91-3 4.42 0 7.27 2.19 8.25 4.1.12.25.38.4.66.4.56 0 .93-.59.67-1.08C20.3 3.39 16.81 1 12 1 8.78 1 5.82 2.13 3.5 4.02zm1.7 13.41c0-.65.6-1.13 1.24-.99l3.56.8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v6h.91c.31 0 .62.07.89.21l4.09 2.04c.77.38 1.21 1.22 1.09 2.07l-.63 4.46c-.14.99-.99 1.72-1.98 1.72h-6.16c-.53 0-1.29-.21-1.66-.59l-4.07-4.29c-.18-.18-.28-.43-.28-.69z"}),"SwipeLeftRounded")},789:function(t,e,n){var o;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(o=function(){return r}.call(e,n,e,t))||(t.exports=o)}()},4899:function(t,e,n){"use strict";function o(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function i(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function r(t,e){try{var n=this.props,o=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,s=null;if("function"===typeof e.componentWillMount?n="componentWillMount":"function"===typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof e.componentWillUpdate?s="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=t.displayName||t.name,c="function"===typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof t.getDerivedStateFromProps&&(e.componentWillMount=o,e.componentWillReceiveProps=i),"function"===typeof e.getSnapshotBeforeUpdate){if("function"!==typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=r;var u=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,t,e,o)}}return t}n.r(e),n.d(e,{polyfill:function(){return a}}),o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0},158:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bodyOpenClassName=e.portalClassName=void 0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=n(9950),a=h(r),s=h(n(7119)),l=h(n(1942)),c=h(n(544)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(2936)),d=n(5652),f=h(d),p=n(4899);function h(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var v=e.portalClassName="ReactModalPortal",g=e.bodyOpenClassName="ReactModal__Body--open",y=d.canUseDOM&&void 0!==s.default.createPortal,b=function(t){return document.createElement(t)},x=function(){return y?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function E(t){return t()}var w=function(t){function e(){var t,n,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,l=Array(r),u=0;u<r;u++)l[u]=arguments[u];return n=i=m(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(l))),i.removePortal=function(){!y&&s.default.unmountComponentAtNode(i.node);var t=E(i.props.parentSelector);t&&t.contains(i.node)?t.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(t){i.portal=t},i.renderPortal=function(t){var n=x()(i,a.default.createElement(c.default,o({defaultStyles:e.defaultStyles},t)),i.node);i.portalRef(n)},m(i,n)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentDidMount",value:function(){d.canUseDOM&&(y||(this.node=b("div")),this.node.className=this.props.portalClassName,E(this.props.parentSelector).appendChild(this.node),!y&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(t){return{prevParent:E(t.parentSelector),nextParent:E(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(t,e,n){if(d.canUseDOM){var o=this.props,i=o.isOpen,r=o.portalClassName;t.portalClassName!==r&&(this.node.className=r);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(t.isOpen||i)&&!y&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var t=this.portal.state,e=Date.now(),n=t.isOpen&&this.props.closeTimeoutMS&&(t.closesAt||e+this.props.closeTimeoutMS);n?(t.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-e)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&y?(!this.node&&y&&(this.node=b("div")),x()(a.default.createElement(c.default,o({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(t){u.setElement(t)}}]),e}(r.Component);w.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(f.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(f.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},w.defaultProps={isOpen:!1,portalClassName:v,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(t,e){return a.default.createElement("div",t,e)},contentElement:function(t,e){return a.default.createElement("div",t,e)}},w.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(w),e.default=w},544:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(9950),s=v(n(1942)),l=m(n(4013)),c=v(n(749)),u=m(n(2936)),d=m(n(5140)),f=n(5652),p=v(f),h=v(n(1998));function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function v(t){return t&&t.__esModule?t:{default:t}}n(797);var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,b=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setOverlayRef=function(t){n.overlay=t,n.props.overlayRef&&n.props.overlayRef(t)},n.setContentRef=function(t){n.content=t,n.props.contentRef&&n.props.contentRef(t)},n.afterClose=function(){var t=n.props,e=t.appElement,o=t.ariaHideApp,i=t.htmlOpenClassName,r=t.bodyOpenClassName;r&&d.remove(document.body,r),i&&d.remove(document.getElementsByTagName("html")[0],i),o&&y>0&&0===(y-=1)&&u.show(e),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var t=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:t},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(t){9===t.keyCode&&(0,c.default)(n.content,t),n.props.shouldCloseOnEsc&&27===t.keyCode&&(t.stopPropagation(),n.requestClose(t))},n.handleOverlayOnClick=function(t){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(t):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(t){n.props.shouldCloseOnOverlayClick||t.target!=n.overlay||t.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(t){return n.ownerHandlesClose()&&n.props.onRequestClose(t)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(t,e){var o="object"===("undefined"===typeof e?"undefined":i(e))?e:{base:g[t],afterOpen:g[t]+"--after-open",beforeClose:g[t]+"--before-close"},r=o.base;return n.state.afterOpen&&(r=r+" "+o.afterOpen),n.state.beforeClose&&(r=r+" "+o.beforeClose),"string"===typeof e&&e?r+" "+e:r},n.attributesFromObject=function(t,e){return Object.keys(e).reduce((function(n,o){return n[t+"-"+o]=e[o],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(t,e){this.props.isOpen&&!t.isOpen?this.open():!this.props.isOpen&&t.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!e.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var t=this.props,e=t.appElement,n=t.ariaHideApp,o=t.htmlOpenClassName,i=t.bodyOpenClassName;i&&d.add(document.body,i),o&&d.add(document.getElementsByTagName("html")[0],o),n&&(y+=1,u.hide(e)),h.default.register(this)}},{key:"render",value:function(){var t=this.props,e=t.id,n=t.className,i=t.overlayClassName,r=t.defaultStyles,a=t.children,s=n?{}:r.content,l=i?{}:r.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:o({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=o({id:e,ref:this.setContentRef,style:o({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),e}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(f.SafeHTMLCollection),s.default.instanceOf(f.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},e.default=b,t.exports=e.default},2936:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(t){return t.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(t){return t.removeAttribute("aria-hidden")})));s=null},e.log=function(){0},e.assertNodeList=l,e.setElement=function(t){var e=t;if("string"===typeof e&&a.canUseDOM){var n=document.querySelectorAll(e);l(n,e),e=n}return s=e||s},e.validateElement=c,e.hide=function(t){var e=!0,n=!1,o=void 0;try{for(var i,r=c(t)[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){i.value.setAttribute("aria-hidden","true")}}catch(a){n=!0,o=a}finally{try{!e&&r.return&&r.return()}finally{if(n)throw o}}},e.show=function(t){var e=!0,n=!1,o=void 0;try{for(var i,r=c(t)[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){i.value.removeAttribute("aria-hidden")}}catch(a){n=!0,o=a}finally{try{!e&&r.return&&r.return()}finally{if(n)throw o}}},e.documentNotReadyOrSSRTesting=function(){s=null};var o,i=n(2241),r=(o=i)&&o.__esModule?o:{default:o},a=n(5652);var s=null;function l(t,e){if(!t||!t.length)throw new Error("react-modal: No elements were found for selector "+e+".")}function c(t){var e=t||s;return e?Array.isArray(e)||e instanceof HTMLCollection||e instanceof NodeList?e:[e]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},797:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){for(var t=[a,s],e=0;e<t.length;e++){var n=t[e];n&&(n.parentNode&&n.parentNode.removeChild(n))}a=s=null,l=[]},e.log=function(){console.log("bodyTrap ----------"),console.log(l.length);for(var t=[a,s],e=0;e<t.length;e++){var n=t[e]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var o,i=n(1998),r=(o=i)&&o.__esModule?o:{default:o};var a=void 0,s=void 0,l=[];function c(){0!==l.length&&l[l.length-1].focusContent()}r.default.subscribe((function(t,e){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(s=a.cloneNode()).addEventListener("focus",c)),(l=e).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},5140:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){var t=document.getElementsByTagName("html")[0];for(var e in n)i(t,n[e]);var r=document.body;for(var a in o)i(r,o[a]);n={},o={}},e.log=function(){0};var n={},o={};function i(t,e){t.classList.remove(e)}e.add=function(t,e){return i=t.classList,r="html"==t.nodeName.toLowerCase()?n:o,void e.split(" ").forEach((function(t){!function(t,e){t[e]||(t[e]=0),t[e]+=1}(r,t),i.add(t)}));var i,r},e.remove=function(t,e){return i=t.classList,r="html"==t.nodeName.toLowerCase()?n:o,void e.split(" ").forEach((function(t){!function(t,e){t[e]&&(t[e]-=1)}(r,t),0===r[t]&&i.remove(t)}));var i,r}},4013:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){a=[]},e.log=function(){0},e.handleBlur=c,e.handleFocus=u,e.markForFocusLater=function(){a.push(document.activeElement)},e.returnFocus=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=null;try{return void(0!==a.length&&(e=a.pop()).focus({preventScroll:t}))}catch(n){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},e.popWithoutFocus=function(){a.length>0&&a.pop()},e.setupScopedFocus=function(t){s=t,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},e.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var o,i=n(513),r=(o=i)&&o.__esModule?o:{default:o};var a=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,r.default)(s)[0]||s).focus()}),0)}}},1998:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach((function(t){return console.log(t)})),console.log("end portalOpenInstances ----------")},e.resetState=function(){o=new n};var n=function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.register=function(t){-1===e.openInstances.indexOf(t)&&(e.openInstances.push(t),e.emit("register"))},this.deregister=function(t){var n=e.openInstances.indexOf(t);-1!==n&&(e.openInstances.splice(n,1),e.emit("deregister"))},this.subscribe=function(t){e.subscribers.push(t)},this.emit=function(t){e.subscribers.forEach((function(n){return n(t,e.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},o=new n;e.default=o},5652:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.canUseDOM=e.SafeNodeList=e.SafeHTMLCollection=void 0;var o,i=n(789);var r=((o=i)&&o.__esModule?o:{default:o}).default,a=r.canUseDOM?window.HTMLElement:{};e.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},e.SafeNodeList=r.canUseDOM?window.NodeList:{},e.canUseDOM=r.canUseDOM;e.default=a},749:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(0,r.default)(t);if(!n.length)return void e.preventDefault();var o=void 0,i=e.shiftKey,s=n[0],l=n[n.length-1],c=a();if(t===c){if(!i)return;o=l}l!==c||i||(o=s);s===c&&i&&(o=l);if(o)return e.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=i?-1:1);if("undefined"===typeof(o=n[d]))return e.preventDefault(),void(o=i?l:s).focus();e.preventDefault(),o.focus()};var o,i=n(513),r=(o=i)&&o.__esModule?o:{default:o};function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?a(t.activeElement.shadowRoot):t.activeElement}t.exports=e.default},513:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){var n=[].slice.call(e.querySelectorAll("*"),0).reduce((function(e,n){return e.concat(n.shadowRoot?t(n.shadowRoot):[n])}),[]);return n.filter(r)};var n=/input|select|textarea|button|object|iframe/;function o(t){var e=t.offsetWidth<=0&&t.offsetHeight<=0;if(e&&!t.innerHTML)return!0;try{var n=window.getComputedStyle(t);return e?"visible"!==n.getPropertyValue("overflow")||t.scrollWidth<=0&&t.scrollHeight<=0:"none"==n.getPropertyValue("display")}catch(o){return console.warn("Failed to inspect element style"),!1}}function i(t,e){var i=t.nodeName.toLowerCase();return(n.test(i)&&!t.disabled||"a"===i&&t.href||e)&&function(t){for(var e=t,n=t.getRootNode&&t.getRootNode();e&&e!==document.body;){if(n&&e===n&&(e=n.host.parentNode),o(e))return!1;e=e.parentNode}return!0}(t)}function r(t){var e=t.getAttribute("tabindex");null===e&&(e=void 0);var n=isNaN(e);return(n||e>=0)&&i(t,!n)}t.exports=e.default},4806:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(158),r=(o=i)&&o.__esModule?o:{default:o};e.default=r.default,t.exports=e.default},8675:function(t,e,n){"use strict";n.d(e,{A:function(){return I}});var o=n(1873),i=n(9950),r="right-scroll-bar-position",a="width-before-scroll-bar";function s(t,e){return function(t,e){var n=(0,i.useState)((function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(t){var e=n.value;e!==t&&(n.value=t,n.callback(t,e))}}}}))[0];return n.callback=e,n.facade}(e||null,(function(e){return t.forEach((function(t){return function(t,e){return"function"===typeof t?t(e):t&&(t.current=e),t}(t,e)}))}))}function l(t){return t}function c(t,e){void 0===e&&(e=l);var n=[],o=!1;return{read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(t){var i=e(t,o);return n.push(i),function(){n=n.filter((function(t){return t!==i}))}},assignSyncMedium:function(t){for(o=!0;n.length;){var e=n;n=[],e.forEach(t)}n={push:function(e){return t(e)},filter:function(){return n}}},assignMedium:function(t){o=!0;var e=[];if(n.length){var i=n;n=[],i.forEach(t),e=n}var r=function(){var n=e;e=[],n.forEach(t)},a=function(){return Promise.resolve().then(r)};a(),n={push:function(t){e.push(t),a()},filter:function(t){return e=e.filter(t),n}}}}}var u=function(t){void 0===t&&(t={});var e=c(null);return e.options=(0,o.Cl)({async:!0,ssr:!1},t),e}(),d=function(){},f=i.forwardRef((function(t,e){var n=i.useRef(null),r=i.useState({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:d}),a=r[0],l=r[1],c=t.forwardProps,f=t.children,p=t.className,h=t.removeScrollBar,m=t.enabled,v=t.shards,g=t.sideCar,y=t.noIsolation,b=t.inert,x=t.allowPinchZoom,E=t.as,w=void 0===E?"div":E,O=(0,o.Tt)(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=g,S=s([n,e]),A=(0,o.Cl)((0,o.Cl)({},O),a);return i.createElement(i.Fragment,null,m&&i.createElement(C,{sideCar:u,removeScrollBar:h,shards:v,noIsolation:y,inert:b,setCallbacks:l,allowPinchZoom:!!x,lockRef:n}),c?i.cloneElement(i.Children.only(f),(0,o.Cl)((0,o.Cl)({},A),{ref:S})):i.createElement(w,(0,o.Cl)({},A,{className:p,ref:S}),f))}));f.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},f.classNames={fullWidth:a,zeroRight:r};var p,h=function(t){var e=t.sideCar,n=(0,o.Tt)(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,(0,o.Cl)({},n))};h.isSideCarExport=!0;function m(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=p||n.nc;return e&&t.setAttribute("nonce",e),t}var v=function(){var t=0,e=null;return{add:function(n){var o,i;0==t&&(e=m())&&(i=n,(o=e).styleSheet?o.styleSheet.cssText=i:o.appendChild(document.createTextNode(i)),function(t){(document.head||document.getElementsByTagName("head")[0]).appendChild(t)}(e)),t++},remove:function(){! --t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},g=function(){var t=function(){var t=v();return function(e,n){i.useEffect((function(){return t.add(e),function(){t.remove()}}),[e&&n])}}();return function(e){var n=e.styles,o=e.dynamic;return t(n,o),null}},y={left:0,top:0,right:0,gap:0},b=function(t){return parseInt(t||"",10)||0},x=function(t){if(void 0===t&&(t="margin"),"undefined"===typeof window)return y;var e=function(t){var e=window.getComputedStyle(document.body),n=e["padding"===t?"paddingLeft":"marginLeft"],o=e["padding"===t?"paddingTop":"marginTop"],i=e["padding"===t?"paddingRight":"marginRight"];return[b(n),b(o),b(i)]}(t),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,o-n+e[2]-e[0])}},E=g(),w=function(t,e,n,o){var i=t.left,s=t.top,l=t.right,c=t.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(c,"px ").concat(o,";\n }\n body {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([e&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(s,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(r," {\n right: ").concat(c,"px ").concat(o,";\n }\n \n .").concat(a," {\n margin-right: ").concat(c,"px ").concat(o,";\n }\n \n .").concat(r," .").concat(r," {\n right: 0 ").concat(o,";\n }\n \n .").concat(a," .").concat(a," {\n margin-right: 0 ").concat(o,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},O=function(t){var e=t.noRelative,n=t.noImportant,o=t.gapMode,r=void 0===o?"margin":o,a=i.useMemo((function(){return x(r)}),[r]);return i.createElement(E,{styles:w(a,!e,r,n?"":"!important")})},C=!1;if("undefined"!==typeof window)try{var S=Object.defineProperty({},"passive",{get:function(){return C=!0,!0}});window.addEventListener("test",S,S),window.removeEventListener("test",S,S)}catch(_){C=!1}var A=!!C&&{passive:!1},P=function(t,e){var n=window.getComputedStyle(t);return"hidden"!==n[e]&&!(n.overflowY===n.overflowX&&!function(t){return"TEXTAREA"===t.tagName}(t)&&"visible"===n[e])},T=function(t,e){var n=e;do{if("undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),M(t,n)){var o=R(t,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},M=function(t,e){return"v"===t?function(t){return P(t,"overflowY")}(e):function(t){return P(t,"overflowX")}(e)},R=function(t,e){return"v"===t?[(n=e).scrollTop,n.scrollHeight,n.clientHeight]:function(t){return[t.scrollLeft,t.scrollWidth,t.clientWidth]}(e);var n},j=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},V=function(t){return[t.deltaX,t.deltaY]},L=function(t){return t&&"current"in t?t.current:t},k=function(t){return"\n .block-interactivity-".concat(t," {pointer-events: none;}\n .allow-interactivity-").concat(t," {pointer-events: all;}\n")},D=0,N=[];var F,B=(F=function(t){var e=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),a=i.useState(D++)[0],s=i.useState((function(){return g()}))[0],l=i.useRef(t);i.useEffect((function(){l.current=t}),[t]),i.useEffect((function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(a));var e=(0,o.fX)([t.lockRef.current],(t.shards||[]).map(L),!0).filter(Boolean);return e.forEach((function(t){return t.classList.add("allow-interactivity-".concat(a))})),function(){document.body.classList.remove("block-interactivity-".concat(a)),e.forEach((function(t){return t.classList.remove("allow-interactivity-".concat(a))}))}}}),[t.inert,t.lockRef.current,t.shards]);var c=i.useCallback((function(t,e){if("touches"in t&&2===t.touches.length)return!l.current.allowPinchZoom;var o,i=j(t),a=n.current,s="deltaX"in t?t.deltaX:a[0]-i[0],c="deltaY"in t?t.deltaY:a[1]-i[1],u=t.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in t&&"h"===d&&"range"===u.type)return!1;var f=T(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=T(d,u)),!f)return!1;if(!r.current&&"changedTouches"in t&&(s||c)&&(r.current=o),!o)return!0;var p=r.current||o;return function(t,e,n,o,i){var r=function(t,e){return"h"===t&&"rtl"===e?-1:1}(t,window.getComputedStyle(e).direction),a=r*o,s=n.target,l=e.contains(s),c=!1,u=a>0,d=0,f=0;do{var p=R(t,s),h=p[0],m=p[1]-p[2]-r*h;(h||m)&&M(t,s)&&(d+=m,f+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(u&&(i&&0===d||!i&&a>d)||!u&&(i&&0===f||!i&&-a>f))&&(c=!0),c}(p,e,t,"h"===p?s:c,!0)}),[]),u=i.useCallback((function(t){var n=t;if(N.length&&N[N.length-1]===s){var o="deltaY"in n?V(n):j(n),i=e.current.filter((function(t){return t.name===n.type&&t.target===n.target&&(e=t.delta,i=o,e[0]===i[0]&&e[1]===i[1]);var e,i}))[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var r=(l.current.shards||[]).map(L).filter(Boolean).filter((function(t){return t.contains(n.target)}));(r.length>0?c(n,r[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),d=i.useCallback((function(t,n,o,i){var r={name:t,delta:n,target:o,should:i};e.current.push(r),setTimeout((function(){e.current=e.current.filter((function(t){return t!==r}))}),1)}),[]),f=i.useCallback((function(t){n.current=j(t),r.current=void 0}),[]),p=i.useCallback((function(e){d(e.type,V(e),e.target,c(e,t.lockRef.current))}),[]),h=i.useCallback((function(e){d(e.type,j(e),e.target,c(e,t.lockRef.current))}),[]);i.useEffect((function(){return N.push(s),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,A),document.addEventListener("touchmove",u,A),document.addEventListener("touchstart",f,A),function(){N=N.filter((function(t){return t!==s})),document.removeEventListener("wheel",u,A),document.removeEventListener("touchmove",u,A),document.removeEventListener("touchstart",f,A)}}),[]);var m=t.removeScrollBar,v=t.inert;return i.createElement(i.Fragment,null,v?i.createElement(s,{styles:k(a)}):null,m?i.createElement(O,{gapMode:"margin"}):null)},u.useMedium(F),h),U=i.forwardRef((function(t,e){return i.createElement(f,(0,o.Cl)({},t,{ref:e,sideCar:B}))}));U.classNames=f.classNames;var I=U},1873:function(t,e,n){"use strict";n.d(e,{Cl:function(){return o},Tt:function(){return i},fX:function(){return r}});var o=function(){return o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function i(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]])}return n}Object.create;function r(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;i<r;i++)!o&&i in e||(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))}Object.create},2241:function(t){"use strict";var e=function(){};t.exports=e},6017:function(t,e,n){"use strict";n.d(e,{L:function(){return o}});const o=(0,n(9950).createContext)({})},3487:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});const o=(0,n(9950).createContext)(null)},1322:function(t,e,n){"use strict";n.d(e,{P:function(){return Ma}});var o=n(9950),i=n(6918);const r=t=>({isEnabled:e=>t.some((t=>!!e[t]))}),a={measureLayout:r(["layout","layoutId","drag"]),animation:r(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:r(["exit"]),drag:r(["drag","dragControls"]),focus:r(["whileFocus"]),hover:r(["whileHover","onHoverStart","onHoverEnd"]),tap:r(["whileTap","onTap","onTapStart","onTapCancel"]),pan:r(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:r(["whileInView","onViewportEnter","onViewportLeave"])};const s=(0,o.createContext)({strict:!1}),l=Object.keys(a),c=l.length;const u=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),d=(0,o.createContext)({});var f=n(3487),p=n(7544),h=n(7584);const m={current:null};let v=!1;function g(){!v&&function(){if(v=!0,h.B)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>m.current=t.matches;t.addListener(e),e()}else m.current=!1}();const[t]=(0,o.useState)(m.current);return t}function y(t,e,n,i){const r=(0,o.useContext)(s),a=(0,o.useContext)(d).visualElement,l=(0,o.useContext)(f.t),c=function(){const t=g(),{reducedMotion:e}=(0,o.useContext)(u);return"never"!==e&&("always"===e||t)}(),h=(0,o.useRef)(void 0);i||(i=r.renderer),!h.current&&i&&(h.current=i(t,{visualState:e,parent:a,props:n,presenceId:null===l||void 0===l?void 0:l.id,blockInitialAnimation:!1===(null===l||void 0===l?void 0:l.initial),shouldReduceMotion:c}));const m=h.current;return(0,p.E)((()=>{null===m||void 0===m||m.syncRender()})),(0,o.useEffect)((()=>{var t;null===(t=null===m||void 0===m?void 0:m.animationState)||void 0===t||t.animateChanges()})),(0,p.E)((()=>()=>null===m||void 0===m?void 0:m.notifyUnmount()),[]),m}function b(t){return"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function x(t){return Array.isArray(t)}function E(t){return"string"===typeof t||x(t)}function w(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};var r;return"function"===typeof e&&(e=e(null!==n&&void 0!==n?n:t.custom,o,i)),"string"===typeof e&&(e=null===(r=t.variants)||void 0===r?void 0:r[e]),"function"===typeof e&&(e=e(null!==n&&void 0!==n?n:t.custom,o,i)),e}function O(t,e,n){const o=t.getProps();return w(o,e,null!==n&&void 0!==n?n:o.custom,function(t){const e={};return t.forEachValue(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.forEachValue(((t,n)=>e[n]=t.getVelocity())),e}(t))}function C(t){var e;return"function"===typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||E(t.initial)||E(t.animate)||E(t.whileHover)||E(t.whileDrag)||E(t.whileTap)||E(t.whileFocus)||E(t.exit)}function S(t){return Boolean(C(t)||t.variants)}function A(t){const{initial:e,animate:n}=function(t,e){if(C(t)){const{initial:e,animate:n}=t;return{initial:!1===e||E(e)?e:void 0,animate:E(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(d));return(0,o.useMemo)((()=>({initial:e,animate:n})),[P(e),P(n)])}function P(t){return Array.isArray(t)?t.join(" "):t}var T=n(9305);const M={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let R=1;var j=n(6017);const V=(0,o.createContext)({});class L extends o.Component{getSnapshotBeforeUpdate(){return this.updateProps(),null}componentDidUpdate(){}updateProps(){const{visualElement:t,props:e}=this.props;t&&t.setProps(e)}render(){return this.props.children}}function k(t){let{preloadedFeatures:e,createVisualElement:n,projectionNodeConstructor:r,useRender:f,useVisualState:p,Component:m}=t;return e&&function(t){for(const e in t)null!==t[e]&&("projectionNodeConstructor"===e?a.projectionNodeConstructor=t[e]:a[e].Component=t[e])}(e),(0,o.forwardRef)((function(t,v){const g=function(t){let{layoutId:e}=t;var n;const i=null===(n=(0,o.useContext)(j.L))||void 0===n?void 0:n.id;return i&&void 0!==e?i+"-"+e:e}(t);t=Object.assign(Object.assign({},t),{layoutId:g});const x=(0,o.useContext)(u);let E=null;const w=A(t),O=x.isStatic?void 0:(0,T.M)((()=>{if(M.hasEverUpdated)return R++})),C=p(t,x.isStatic);return!x.isStatic&&h.B&&(w.visualElement=y(m,C,Object.assign(Object.assign({},x),t),n),function(t,e,n,i){let{layoutId:r,layout:a,drag:s,dragConstraints:l,layoutScroll:c}=e;var u;const d=(0,o.useContext)(V);i&&n&&!(null===n||void 0===n?void 0:n.projection)&&(n.projection=new i(t,n.getLatestValues(),null===(u=n.parent)||void 0===u?void 0:u.projection),n.projection.setOptions({layoutId:r,layout:a,alwaysMeasureLayout:Boolean(s)||l&&b(l),visualElement:n,scheduleRender:()=>n.scheduleRender(),animationType:"string"===typeof a?a:"both",initialPromotionConfig:d,layoutScroll:c}))}(O,t,w.visualElement,r||a.projectionNodeConstructor),E=function(t,e,n){const r=[],u=(0,o.useContext)(s);if(!e)return null;"production"!==i._&&n&&u.strict;for(let i=0;i<c;i++){const n=l[i],{isEnabled:s,Component:c}=a[n];s(t)&&c&&r.push(o.createElement(c,Object.assign({key:n},t,{visualElement:e})))}return r}(t,w.visualElement,e)),o.createElement(L,{visualElement:w.visualElement,props:Object.assign(Object.assign({},x),t)},E,o.createElement(d.Provider,{value:w},f(m,t,O,function(t,e,n){return(0,o.useCallback)((o=>{var i;o&&(null===(i=t.mount)||void 0===i||i.call(t,o)),e&&(o?e.mount(o):e.unmount()),n&&("function"===typeof n?n(o):b(n)&&(n.current=o))}),[e])}(C,w.visualElement,v),C,x.isStatic,w.visualElement)))}))}function D(t){function e(e){return k(t(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}if("undefined"===typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,o)=>(n.has(o)||n.set(o,e(o)),n.get(o))})}const N=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function F(t){return"string"===typeof t&&!t.includes("-")&&!!(N.indexOf(t)>-1||/[A-Z]/.test(t))}const B={};const U=["","X","Y","Z"],I=["transformPerspective","x","y","z"];function _(t,e){return I.indexOf(t)-I.indexOf(e)}["translate","scale","rotate","skew"].forEach((t=>U.forEach((e=>I.push(t+e)))));const z=new Set(I);function H(t){return z.has(t)}const W=new Set(["originX","originY","originZ"]);function $(t){return W.has(t)}function X(t,e){let{layout:n,layoutId:o}=e;return H(t)||$(t)||(n||void 0!==o)&&(!!B[t]||"opacity"===t)}const Y=t=>Boolean(null!==t&&"object"===typeof t&&t.getVelocity),q={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function G(t){return t.startsWith("--")}const K=(t,e)=>e&&"number"===typeof t?e.transform(t):t,Z=(t,e)=>n=>Math.max(Math.min(n,e),t),J=t=>t%1?Number(t.toFixed(5)):t,Q=/(-)?([\d]*\.?[\d])+/g,tt=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,et=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function nt(t){return"string"===typeof t}const ot=t=>({test:e=>nt(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),it=ot("deg"),rt=ot("%"),at=ot("px"),st=ot("vh"),lt=ot("vw"),ct=Object.assign(Object.assign({},rt),{parse:t=>rt.parse(t)/100,transform:t=>rt.transform(100*t)}),ut={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},dt=Object.assign(Object.assign({},ut),{transform:Z(0,1)}),ft=Object.assign(Object.assign({},ut),{default:1}),pt=Object.assign(Object.assign({},ut),{transform:Math.round}),ht={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,radius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,size:at,top:at,right:at,bottom:at,left:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,rotate:it,rotateX:it,rotateY:it,rotateZ:it,scale:ft,scaleX:ft,scaleY:ft,scaleZ:ft,skew:it,skewX:it,skewY:it,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:dt,originX:ct,originY:ct,originZ:at,zIndex:pt,fillOpacity:dt,strokeOpacity:dt,numOctaves:pt};function mt(t,e,n,o){var i;const{style:r,vars:a,transform:s,transformKeys:l,transformOrigin:c}=t;l.length=0;let u=!1,d=!1,f=!0;for(const p in e){const t=e[p];if(G(p)){a[p]=t;continue}const n=ht[p],o=K(t,n);if(H(p)){if(u=!0,s[p]=o,l.push(p),!f)continue;t!==(null!==(i=n.default)&&void 0!==i?i:0)&&(f=!1)}else $(p)?(c[p]=o,d=!0):r[p]=o}u?r.transform=function(t,e,n,o){let{transform:i,transformKeys:r}=t,{enableHardwareAcceleration:a=!0,allowTransformNone:s=!0}=e,l="";r.sort(_);let c=!1;const u=r.length;for(let d=0;d<u;d++){const t=r[d];l+=`${q[t]||t}(${i[t]}) `,"z"===t&&(c=!0)}return!c&&a&&(l+="translateZ(0)"),l=l.trim(),o?l=o(i,n?"":l):s&&n&&(l="none"),l}(t,n,f,o):o?r.transform=o({},""):!e.transform&&r.transform&&(r.transform="none"),d&&(r.transformOrigin=function(t){let{originX:e="50%",originY:n="50%",originZ:o=0}=t;return`${e} ${n} ${o}`}(c))}const vt=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function gt(t,e,n){for(const o in e)Y(e[o])||X(o,n)||(t[o]=e[o])}function yt(t,e,n){let i={};return gt(i,t.style||{},t),Object.assign(i,function(t,e,n){let{transformTemplate:i}=t;return(0,o.useMemo)((()=>{const t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};mt(t,e,{enableHardwareAcceleration:!n},i);const{vars:o,style:r}=t;return Object.assign(Object.assign({},o),r)}),[e])}(t,e,n)),t.transformValues&&(i=t.transformValues(i)),i}function bt(t,e,n){const o={},i=yt(t,e,n);return Boolean(t.drag)&&!1!==t.dragListener&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),o.style=i,o}const xt=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Et(t){return xt.has(t)}let wt=t=>!Et(t);try{(Ot=require("@emotion/is-prop-valid").default)&&(wt=t=>t.startsWith("on")?!Et(t):Ot(t))}catch(Ra){}var Ot;var Ct=n(1873);function St(t,e,n){return"string"===typeof t?t:at.transform(e+n*t)}const At={offset:"stroke-dashoffset",array:"stroke-dasharray"},Pt={offset:"strokeDashoffset",array:"strokeDasharray"};function Tt(t,e,n,o){var{attrX:i,attrY:r,originX:a,originY:s,pathLength:l,pathSpacing:c=1,pathOffset:u=0}=e;mt(t,(0,Ct.Tt)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,o),t.attrs=t.style,t.style={};const{attrs:d,style:f,dimensions:p}=t;d.transform&&(p&&(f.transform=d.transform),delete d.transform),p&&(void 0!==a||void 0!==s||f.transform)&&(f.transformOrigin=function(t,e,n){return`${St(e,t.x,t.width)} ${St(n,t.y,t.height)}`}(p,void 0!==a?a:.5,void 0!==s?s:.5)),void 0!==i&&(d.x=i),void 0!==r&&(d.y=r),void 0!==l&&function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;const r=i?At:Pt;t[r.offset]=at.transform(-o);const a=at.transform(e),s=at.transform(n);t[r.array]=`${a} ${s}`}(d,l,c,u,!1)}const Mt=()=>Object.assign(Object.assign({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}});function Rt(t,e){const n=(0,o.useMemo)((()=>{const n=Mt();return Tt(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),Object.assign(Object.assign({},n.attrs),{style:Object.assign({},n.style)})}),[e]);if(t.style){const e={};gt(e,t.style,t),n.style=Object.assign(Object.assign({},e),n.style)}return n}function jt(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e,n,i,r,a,s)=>{let{latestValues:l}=a;const c=(F(e)?Rt:bt)(n,l,s),u=function(t,e,n){const o={};for(const i in t)(wt(i)||!0===n&&Et(i)||!e&&!Et(i)||t.draggable&&i.startsWith("onDrag"))&&(o[i]=t[i]);return o}(n,"string"===typeof e,t),d=Object.assign(Object.assign(Object.assign({},u),c),{ref:r});return i&&(d["data-projection-id"]=i),(0,o.createElement)(e,d)}}const Vt=/([a-z])([A-Z])/g,Lt=t=>t.replace(Vt,"$1-$2").toLowerCase();function kt(t,e,n,o){let{style:i,vars:r}=e;Object.assign(t.style,i,o&&o.getProjectionStyles(n));for(const a in r)t.style.setProperty(a,r[a])}const Dt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Nt(t,e,n,o){kt(t,e,void 0,o);for(const i in e.attrs)t.setAttribute(Dt.has(i)?i:Lt(i),e.attrs[i])}function Ft(t){const{style:e}=t,n={};for(const o in e)(Y(e[o])||X(o,t))&&(n[o]=e[o]);return n}function Bt(t){const e=Ft(t);for(const n in t)if(Y(t[n])){e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function Ut(t){return"object"===typeof t&&"function"===typeof t.start}const It=t=>Array.isArray(t),_t=t=>It(t)?t[t.length-1]||0:t;function zt(t){const e=Y(t)?t.get():t;return n=e,Boolean(n&&"object"===typeof n&&n.mix&&n.toValue)?e.toValue():e;var n}function Ht(t,e,n,o){let{scrapeMotionValuesFromProps:i,createRenderState:r,onMount:a}=t;const s={latestValues:$t(e,n,o,i),renderState:r()};return a&&(s.mount=t=>a(e,t,s)),s}const Wt=t=>(e,n)=>{const i=(0,o.useContext)(d),r=(0,o.useContext)(f.t);return n?Ht(t,e,i,r):(0,T.M)((()=>Ht(t,e,i,r)))};function $t(t,e,n,o){const i={},r=!1===(null===n||void 0===n?void 0:n.initial),a=o(t);for(const p in a)i[p]=zt(a[p]);let{initial:s,animate:l}=t;const c=C(t),u=S(t);e&&u&&!c&&!1!==t.inherit&&(null!==s&&void 0!==s||(s=e.initial),null!==l&&void 0!==l||(l=e.animate));const d=r||!1===s,f=d?l:s;if(f&&"boolean"!==typeof f&&!Ut(f)){(Array.isArray(f)?f:[f]).forEach((e=>{const n=w(t,e);if(!n)return;const{transitionEnd:o,transition:r}=n,a=(0,Ct.Tt)(n,["transitionEnd","transition"]);for(const t in a){let e=a[t];if(Array.isArray(e)){e=e[d?e.length-1:0]}null!==e&&(i[t]=e)}for(const t in o)i[t]=o[t]}))}return i}const Xt={useVisualState:Wt({scrapeMotionValuesFromProps:Bt,createRenderState:Mt,onMount:(t,e,n)=>{let{renderState:o,latestValues:i}=n;try{o.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(r){o.dimensions={x:0,y:0,width:0,height:0}}Tt(o,i,{enableHardwareAcceleration:!1},t.transformTemplate),Nt(e,o)}})},Yt={useVisualState:Wt({scrapeMotionValuesFromProps:Ft,createRenderState:vt})};var qt;function Gt(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n)}function Kt(t,e,n,i){(0,o.useEffect)((()=>{const o=t.current;if(n&&o)return Gt(o,e,n,i)}),[t,e,n,i])}function Zt(t){return"undefined"!==typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Jt(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(qt||(qt={}));const Qt={pageX:0,pageY:0};function te(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";const n=t.touches[0]||t.changedTouches[0]||Qt;return{x:n[e+"X"],y:n[e+"Y"]}}function ee(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{x:t[e+"X"],y:t[e+"Y"]}}function ne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:Jt(t)?te(t,e):ee(t,e)}}const oe=function(t){const e=e=>t(e,ne(e));return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(n=e,t=>{const e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}):e;var n},ie={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},re={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function ae(t){return h.B&&null===window.onpointerdown?t:h.B&&null===window.ontouchstart?re[t]:h.B&&null===window.onmousedown?ie[t]:t}function se(t,e,n,o){return Gt(t,ae(e),oe(n,"pointerdown"===e),o)}function le(t,e,n,o){return Kt(t,ae(e),n&&oe(n,"pointerdown"===e),o)}function ce(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const ue=ce("dragHorizontal"),de=ce("dragVertical");function fe(t){let e=!1;if("y"===t)e=de();else if("x"===t)e=ue();else{const t=ue(),n=de();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function pe(){const t=fe(!0);return!t||(t(),!1)}function he(t,e,n){return(o,i)=>{var r;Zt(o)&&!pe()&&(null===(r=t.animationState)||void 0===r||r.setActive(qt.Hover,e),null===n||void 0===n||n(o,i))}}const me=(t,e)=>!!e&&(t===e||me(t,e.parentElement));var ve=n(6835);const ge=(t,e)=>n=>e(t(n)),ye=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(ge)};var be=n(7419);const xe=new WeakMap,Ee=new WeakMap,we=t=>{var e;null===(e=xe.get(t.target))||void 0===e||e(t)},Oe=t=>{t.forEach(we)};function Ce(t,e,n){const o=function(t){var{root:e}=t,n=(0,Ct.Tt)(t,["root"]);const o=e||document;Ee.has(o)||Ee.set(o,{});const i=Ee.get(o),r=JSON.stringify(n);return i[r]||(i[r]=new IntersectionObserver(Oe,Object.assign({root:e},n))),i[r]}(e);return xe.set(t,n),o.observe(t),()=>{xe.delete(t),o.unobserve(t)}}const Se={some:0,all:1};function Ae(t,e,n,i){let{root:r,margin:a,amount:s="some",once:l}=i;(0,o.useEffect)((()=>{if(!t)return;const o={root:null===r||void 0===r?void 0:r.current,rootMargin:a,threshold:"number"===typeof s?s:Se[s]};return Ce(n.getInstance(),o,(t=>{var o;const{isIntersecting:i}=t;if(e.isInView===i)return;if(e.isInView=i,l&&!i&&e.hasEnteredView)return;i&&(e.hasEnteredView=!0),null===(o=n.animationState)||void 0===o||o.setActive(qt.InView,i);const r=n.getProps(),a=i?r.onViewportEnter:r.onViewportLeave;null===a||void 0===a||a(t)}))}),[t,r,a,s])}function Pe(t,e,n,r){let{fallback:a=!0}=r;(0,o.useEffect)((()=>{t&&a&&("production"!==i._&&(0,be.m)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((()=>{var t;e.hasEnteredView=!0;const{onViewportEnter:o}=n.getProps();null===o||void 0===o||o(null),null===(t=n.animationState)||void 0===t||t.setActive(qt.InView,!0)})))}),[t])}const Te=t=>e=>(t(e),null),Me={inView:Te((function(t){let{visualElement:e,whileInView:n,onViewportEnter:i,onViewportLeave:r,viewport:a={}}=t;const s=(0,o.useRef)({hasEnteredView:!1,isInView:!1});let l=Boolean(n||i||r);a.once&&s.current.hasEnteredView&&(l=!1),("undefined"===typeof IntersectionObserver?Pe:Ae)(l,s.current,e,a)})),tap:Te((function(t){let{onTap:e,onTapStart:n,onTapCancel:i,whileTap:r,visualElement:a}=t;const s=e||n||i||r,l=(0,o.useRef)(!1),c=(0,o.useRef)(null),u={passive:!(n||e||i||m)};function d(){var t;null===(t=c.current)||void 0===t||t.call(c),c.current=null}function f(){var t;return d(),l.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(qt.Tap,!1),!pe()}function p(t,n){f()&&(me(a.getInstance(),t.target)?null===e||void 0===e||e(t,n):null===i||void 0===i||i(t,n))}function h(t,e){f()&&(null===i||void 0===i||i(t,e))}function m(t,e){var o;d(),l.current||(l.current=!0,c.current=ye(se(window,"pointerup",p,u),se(window,"pointercancel",h,u)),null===(o=a.animationState)||void 0===o||o.setActive(qt.Tap,!0),null===n||void 0===n||n(t,e))}le(a,"pointerdown",s?m:void 0,u),(0,ve.l)(d)})),focus:Te((function(t){let{whileFocus:e,visualElement:n}=t;Kt(n,"focus",e?()=>{var t;null===(t=n.animationState)||void 0===t||t.setActive(qt.Focus,!0)}:void 0),Kt(n,"blur",e?()=>{var t;null===(t=n.animationState)||void 0===t||t.setActive(qt.Focus,!1)}:void 0)})),hover:Te((function(t){let{onHoverStart:e,onHoverEnd:n,whileHover:o,visualElement:i}=t;le(i,"pointerenter",e||o?he(i,!0,e):void 0,{passive:!e}),le(i,"pointerleave",n||o?he(i,!1,n):void 0,{passive:!n})}))};function Re(){const t=(0,o.useContext)(f.t);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,r=(0,o.useId)();(0,o.useEffect)((()=>i(r)),[]);return!e&&n?[!1,()=>null===n||void 0===n?void 0:n(r)]:[!0]}function je(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(e[o]!==t[o])return!1;return!0}const Ve=(t,e,n)=>Math.min(Math.max(n,t),e),Le=.001;function ke(t){let e,n,{duration:o=800,bounce:i=.25,velocity:r=0,mass:a=1}=t,s=1-i;s=Ve(.05,1,s),o=Ve(.01,10,o/1e3),s<1?(e=t=>{const e=t*s,n=e*o,i=e-r,a=Ne(t,s),l=Math.exp(-n);return Le-i/a*l},n=t=>{const n=t*s*o,i=n*r+r,a=Math.pow(s,2)*Math.pow(t,2)*o,l=Math.exp(-n),c=Ne(Math.pow(t,2),s);return(-e(t)+Le>0?-1:1)*((i-a)*l)/c}):(e=t=>Math.exp(-t*o)*((t-r)*o+1)-.001,n=t=>Math.exp(-t*o)*(o*o*(r-t)));const l=function(t,e,n){let o=n;for(let i=1;i<De;i++)o-=t(o)/e(o);return o}(e,n,5/o);if(o*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:o};{const t=Math.pow(l,2)*a;return{stiffness:t,damping:2*s*Math.sqrt(a*t),duration:o}}}const De=12;function Ne(t,e){return t*Math.sqrt(1-e*e)}const Fe=["duration","bounce"],Be=["stiffness","damping","mass"];function Ue(t,e){return e.some((e=>void 0!==t[e]))}function Ie(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,r=(0,Ct.Tt)(t,["from","to","restSpeed","restDelta"]);const a={done:!1,value:e};let{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:f}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Ue(t,Be)&&Ue(t,Fe)){const n=ke(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(r),p=_e,h=_e;function m(){const t=u?-u/1e3:0,o=n-e,r=l/(2*Math.sqrt(s*c)),a=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),r<1){const e=Ne(a,r);p=i=>{const s=Math.exp(-r*a*i);return n-s*((t+r*a*o)/e*Math.sin(e*i)+o*Math.cos(e*i))},h=n=>{const i=Math.exp(-r*a*n);return r*a*i*(Math.sin(e*n)*(t+r*a*o)/e+o*Math.cos(e*n))-i*(Math.cos(e*n)*(t+r*a*o)-e*o*Math.sin(e*n))}}else if(1===r)p=e=>n-Math.exp(-a*e)*(o+(t+a*o)*e);else{const e=a*Math.sqrt(r*r-1);p=i=>{const s=Math.exp(-r*a*i),l=Math.min(e*i,300);return n-s*((t+r*a*o)*Math.sinh(l)+e*o*Math.cosh(l))/e}}}return m(),{next:t=>{const e=p(t);if(f)a.done=t>=d;else{const r=1e3*h(t),s=Math.abs(r)<=o,l=Math.abs(n-e)<=i;a.done=s&&l}return a.value=a.done?n:e,a},flipTarget:()=>{u=-u,[e,n]=[n,e],m()}}}Ie.needsInterpolation=(t,e)=>"string"===typeof t||"string"===typeof e;const _e=t=>0,ze=(t,e,n)=>{const o=e-t;return 0===o?1:(n-t)/o},He=(t,e,n)=>-n*t+n*e+t,We=(t,e)=>n=>Boolean(nt(n)&&et.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),$e=(t,e,n)=>o=>{if(!nt(o))return o;const[i,r,a,s]=o.match(Q);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Xe=Z(0,255),Ye=Object.assign(Object.assign({},ut),{transform:t=>Math.round(Xe(t))}),qe={test:We("rgb","red"),parse:$e("red","green","blue"),transform:t=>{let{red:e,green:n,blue:o,alpha:i=1}=t;return"rgba("+Ye.transform(e)+", "+Ye.transform(n)+", "+Ye.transform(o)+", "+J(dt.transform(i))+")"}};const Ge={test:We("#"),parse:function(t){let e="",n="",o="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),o=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),o=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,o+=o,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}},transform:qe.transform},Ke={test:We("hsl","hue"),parse:$e("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:n,lightness:o,alpha:i=1}=t;return"hsla("+Math.round(e)+", "+rt.transform(J(n))+", "+rt.transform(J(o))+", "+J(dt.transform(i))+")"}};function Ze(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Je(t){let{hue:e,saturation:n,lightness:o,alpha:i}=t;e/=360,n/=100,o/=100;let r=0,a=0,s=0;if(n){const t=o<.5?o*(1+n):o+n-o*n,i=2*o-t;r=Ze(i,t,e+1/3),a=Ze(i,t,e),s=Ze(i,t,e-1/3)}else r=a=s=o;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}const Qe=(t,e,n)=>{const o=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-o)+o))},tn=[Ge,qe,Ke],en=t=>tn.find((e=>e.test(t))),nn=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,on=(t,e)=>{let n=en(t),o=en(e);nn(t),nn(e);let i=n.parse(t),r=o.parse(e);n===Ke&&(i=Je(i),n=qe),o===Ke&&(r=Je(r),o=qe);const a=Object.assign({},i);return t=>{for(const e in a)"alpha"!==e&&(a[e]=Qe(i[e],r[e],t));return a.alpha=He(i.alpha,r.alpha,t),n.transform(a)}},rn={test:t=>qe.test(t)||Ge.test(t)||Ke.test(t),parse:t=>qe.test(t)?qe.parse(t):Ke.test(t)?Ke.parse(t):Ge.parse(t),transform:t=>nt(t)?t:t.hasOwnProperty("red")?qe.transform(t):Ke.transform(t)},an="${c}",sn="${n}";function ln(t){"number"===typeof t&&(t=`${t}`);const e=[];let n=0;const o=t.match(tt);o&&(n=o.length,t=t.replace(tt,an),e.push(...o.map(rn.parse)));const i=t.match(Q);return i&&(t=t.replace(Q,sn),e.push(...i.map(ut.parse))),{values:e,numColors:n,tokenised:t}}function cn(t){return ln(t).values}function un(t){const{values:e,numColors:n,tokenised:o}=ln(t),i=e.length;return t=>{let e=o;for(let o=0;o<i;o++)e=e.replace(o<n?an:sn,o<n?rn.transform(t[o]):J(t[o]));return e}}const dn=t=>"number"===typeof t?0:t;const fn={test:function(t){var e,n,o,i;return isNaN(t)&&nt(t)&&(null!==(n=null===(e=t.match(Q))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(o=t.match(tt))||void 0===o?void 0:o.length)&&void 0!==i?i:0)>0},parse:cn,createTransformer:un,getAnimatableNone:function(t){const e=cn(t);return un(t)(e.map(dn))}},pn=t=>"number"===typeof t;function hn(t,e){return pn(t)?n=>He(t,e,n):rn.test(t)?on(t,e):yn(t,e)}const mn=(t,e)=>{const n=[...t],o=n.length,i=t.map(((t,n)=>hn(t,e[n])));return t=>{for(let e=0;e<o;e++)n[e]=i[e](t);return n}},vn=(t,e)=>{const n=Object.assign(Object.assign({},t),e),o={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(o[i]=hn(t[i],e[i]));return t=>{for(const e in o)n[e]=o[e](t);return n}};function gn(t){const e=fn.parse(t),n=e.length;let o=0,i=0,r=0;for(let a=0;a<n;a++)o||"number"===typeof e[a]?o++:void 0!==e[a].hue?r++:i++;return{parsed:e,numNumbers:o,numRGB:i,numHSL:r}}const yn=(t,e)=>{const n=fn.createTransformer(e),o=gn(t),i=gn(e);return o.numHSL===i.numHSL&&o.numRGB===i.numRGB&&o.numNumbers>=i.numNumbers?ye(mn(o.parsed,i.parsed),n):n=>`${n>0?e:t}`},bn=(t,e)=>n=>He(t,e,n);function xn(t,e,n){const o=[],i=n||("number"===typeof(r=t[0])?bn:"string"===typeof r?rn.test(r)?on:yn:Array.isArray(r)?mn:"object"===typeof r?vn:void 0);var r;const a=t.length-1;for(let s=0;s<a;s++){let n=i(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]:e;n=ye(t,n)}o.push(n)}return o}function En(t,e){let{clamp:n=!0,ease:o,mixer:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.length;e.length,!o||!Array.isArray(o)||o.length,t[0]>t[r-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const a=xn(e,o,i),s=2===r?function(t,e){let[n,o]=t,[i]=e;return t=>i(ze(n,o,t))}(t,a):function(t,e){const n=t.length,o=n-1;return i=>{let r=0,a=!1;if(i<=t[0]?a=!0:i>=t[o]&&(r=o-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i||e===o);e++);r=e-1}const s=ze(t[r],t[r+1],i);return e[r](s)}}(t,a);return n?e=>s(Ve(t[0],t[r-1],e)):s}const wn=t=>e=>1-t(1-e),On=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Cn=t=>e=>e*e*((t+1)*e-t),Sn=4/11,An=8/11,Pn=t=>t,Tn=(Mn=2,t=>Math.pow(t,Mn));var Mn;const Rn=wn(Tn),jn=On(Tn),Vn=t=>1-Math.sin(Math.acos(t)),Ln=wn(Vn),kn=On(Ln),Dn=Cn(1.525),Nn=wn(Dn),Fn=On(Dn),Bn=(t=>{const e=Cn(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),Un=4356/361,In=35442/1805,_n=16061/1805,zn=t=>{if(1===t||0===t)return t;const e=t*t;return t<Sn?7.5625*e:t<An?9.075*e-9.9*t+3.4:t<.9?Un*e-In*t+_n:10.8*t*t-20.52*t+10.72},Hn=wn(zn);function Wn(t,e){return t.map((()=>e||jn)).splice(0,t.length-1)}function $n(t){let{from:e=0,to:n=1,ease:o,offset:i,duration:r=300}=t;const a={done:!1,value:e},s=Array.isArray(n)?n:[e,n],l=function(t,e){return t.map((t=>t*e))}(i&&i.length===s.length?i:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(s),r);function c(){return En(l,s,{ease:Array.isArray(o)?o:Wn(s,o)})}let u=c();return{next:t=>(a.value=u(t),a.done=t>=r,a),flipTarget:()=>{s.reverse(),u=c()}}}const Xn={keyframes:$n,spring:Ie,decay:function(t){let{velocity:e=0,from:n=0,power:o=.8,timeConstant:i=350,restDelta:r=.5,modifyTarget:a}=t;const s={done:!1,value:n};let l=o*e;const c=n+l,u=void 0===a?c:a(c);return u!==c&&(l=u-n),{next:t=>{const e=-l*Math.exp(-t/i);return s.done=!(e>r||e<-r),s.value=s.done?u:u+e,s},flipTarget:()=>{}}}};const Yn=1/60*1e3,qn="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),Gn="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(qn())),Yn);let Kn=!0,Zn=!1,Jn=!1;const Qn={delta:0,timestamp:0},to=["read","update","preRender","render","postRender"],eo=to.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],o=0,i=!1,r=!1;const a=new WeakSet,s={schedule:function(t){const r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,s=r?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),r&&i&&(o=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:l=>{if(i)r=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,o=e.length,o)for(let n=0;n<o;n++){const o=e[n];o(l),a.has(o)&&(s.schedule(o),t())}i=!1,r&&(r=!1,s.process(l))}}};return s}((()=>Zn=!0)),t)),{}),no=to.reduce(((t,e)=>{const n=eo[e];return t[e]=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Zn||ao(),n.schedule(t,e,o)},t}),{}),oo=to.reduce(((t,e)=>(t[e]=eo[e].cancel,t)),{}),io=(to.reduce(((t,e)=>(t[e]=()=>eo[e].process(Qn),t)),{}),t=>eo[t].process(Qn)),ro=t=>{Zn=!1,Qn.delta=Kn?Yn:Math.max(Math.min(t-Qn.timestamp,40),1),Qn.timestamp=t,Jn=!0,to.forEach(io),Jn=!1,Zn&&(Kn=!1,Gn(ro))},ao=()=>{Zn=!0,Kn=!0,Jn||Gn(ro)};var so=no;function lo(t,e){return t-e-(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}const co=t=>{const e=e=>{let{delta:n}=e;return t(n)};return{start:()=>so.update(e,!0),stop:()=>oo.update(e)}};function uo(t){var e,n,{from:o,autoplay:i=!0,driver:r=co,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=t,m=(0,Ct.Tt)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let v,g,y,{to:b}=m,x=0,E=m.duration,w=!1,O=!0;const C=function(t){if(Array.isArray(t.to))return $n;if(Xn[t.type])return Xn[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?$n:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?Ie:$n}(m);(null===(n=(e=C).needsInterpolation)||void 0===n?void 0:n.call(e,o,b))&&(y=En([0,100],[o,b],{clamp:!1}),o=0,b=100);const S=C(Object.assign(Object.assign({},m),{from:o,to:b}));function A(){x++,"reverse"===l?(O=x%2===0,a=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?e-(t-e)+n:lo(e+-t,e,n)}(a,E,c,O)):(a=lo(a,E,c),"mirror"===l&&S.flipTarget()),w=!1,p&&p()}function P(t){if(O||(t=-t),a+=t,!w){const t=S.next(Math.max(0,a));g=t.value,y&&(g=y(g)),w=O?t.done:a<=0}null===h||void 0===h||h(g),w&&(0===x&&(null!==E&&void 0!==E||(E=a)),x<s?function(t,e,n,o){return o?t>=e+n:t<=-n}(a,E,c,O)&&A():(v.stop(),f&&f()))}return i&&(null===u||void 0===u||u(),v=r(P),v.start()),{stop:()=>{null===d||void 0===d||d(),v.stop()}}}function fo(t,e){return e?t*(1e3/e):0}function po(t){let e,{from:n=0,velocity:o=0,min:i,max:r,power:a=.8,timeConstant:s=750,bounceStiffness:l=500,bounceDamping:c=10,restDelta:u=1,modifyTarget:d,driver:f,onUpdate:p,onComplete:h,onStop:m}=t;function v(t){return void 0!==i&&t<i||void 0!==r&&t>r}function g(t){return void 0===i?r:void 0===r||Math.abs(i-t)<Math.abs(r-t)?i:r}function y(t){null===e||void 0===e||e.stop(),e=uo(Object.assign(Object.assign({},t),{driver:f,onUpdate:e=>{var n;null===p||void 0===p||p(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:h,onStop:m}))}function b(t){y(Object.assign({type:"spring",stiffness:l,damping:c,restDelta:u},t))}if(v(n))b({from:n,velocity:o,to:g(n)});else{let t=a*o+n;"undefined"!==typeof d&&(t=d(t));const e=g(t),r=e===i?-1:1;let l,c;const f=t=>{l=c,c=t,o=fo(t-l,Qn.delta),(1===r&&t>e||-1===r&&t<e)&&b({from:t,to:e,velocity:o})};y({type:"decay",from:n,velocity:o,timeConstant:s,power:a,restDelta:u,modifyTarget:d,onUpdate:v(t)?f:void 0})}return{stop:()=>null===e||void 0===e?void 0:e.stop()}}const ho=t=>1e3*t,mo=(t,e)=>1-3*e+3*t,vo=(t,e)=>3*e-6*t,go=t=>3*t,yo=(t,e,n)=>((mo(e,n)*t+vo(e,n))*t+go(e))*t,bo=(t,e,n)=>3*mo(e,n)*t*t+2*vo(e,n)*t+go(e);const xo=.1;function Eo(t,e,n,o){if(t===e&&n===o)return Pn;const i=new Float32Array(11);for(let a=0;a<11;++a)i[a]=yo(a*xo,t,n);function r(e){let o=0,r=1;for(;10!==r&&i[r]<=e;++r)o+=xo;--r;const a=o+(e-i[r])/(i[r+1]-i[r])*xo,s=bo(a,t,n);return s>=.001?function(t,e,n,o){for(let i=0;i<8;++i){const i=bo(e,n,o);if(0===i)return e;e-=(yo(e,n,o)-t)/i}return e}(e,a,t,n):0===s?a:function(t,e,n,o,i){let r,a,s=0;do{a=e+(n-e)/2,r=yo(a,o,i)-t,r>0?n=a:e=a}while(Math.abs(r)>1e-7&&++s<10);return a}(e,o,o+xo,t,n)}return t=>0===t||1===t?t:yo(r(t),e,o)}const wo={linear:Pn,easeIn:Tn,easeInOut:jn,easeOut:Rn,circIn:Vn,circInOut:kn,circOut:Ln,backIn:Dn,backInOut:Fn,backOut:Nn,anticipate:Bn,bounceIn:Hn,bounceInOut:t=>t<.5?.5*(1-zn(1-2*t)):.5*zn(2*t-1)+.5,bounceOut:zn},Oo=t=>{if(Array.isArray(t)){t.length;const[e,n,o,i]=t;return Eo(e,n,o,i)}return"string"===typeof t?wo[t]:t},Co=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!fn.test(e)||e.startsWith("url("))),So=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Ao=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),Po=()=>({type:"keyframes",ease:"linear",duration:.3}),To=t=>({type:"keyframes",duration:.8,values:t}),Mo={x:So,y:So,z:So,rotate:So,rotateX:So,rotateY:So,rotateZ:So,scaleX:Ao,scaleY:Ao,scale:Ao,opacity:Po,backgroundColor:Po,color:Po,default:Ao},Ro=new Set(["brightness","contrast","saturate","opacity"]);function jo(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[o]=n.match(Q)||[];if(!o)return t;const i=n.replace(o,"");let r=Ro.has(e)?1:0;return o!==n&&(r*=100),e+"("+r+i+")"}const Vo=/([a-z-]*)\(.*?\)/g,Lo=Object.assign(Object.assign({},fn),{getAnimatableNone:t=>{const e=t.match(Vo);return e?e.map(jo).join(" "):t}}),ko=Object.assign(Object.assign({},ht),{color:rn,backgroundColor:rn,outlineColor:rn,fill:rn,stroke:rn,borderColor:rn,borderTopColor:rn,borderRightColor:rn,borderBottomColor:rn,borderLeftColor:rn,filter:Lo,WebkitFilter:Lo}),Do=t=>ko[t];function No(t,e){var n;let o=Do(t);return o!==Lo&&(o=fn),null===(n=o.getAnimatableNone)||void 0===n?void 0:n.call(o,e)}const Fo=!1;let Bo=!1;function Uo(t){var{ease:e,times:n,yoyo:o,flip:i,loop:r}=t,a=(0,Ct.Tt)(t,["ease","times","yoyo","flip","loop"]);const s=Object.assign({},a);return n&&(s.offset=n),a.duration&&(s.duration=ho(a.duration)),a.repeatDelay&&(s.repeatDelay=ho(a.repeatDelay)),e&&(s.ease=(t=>Array.isArray(t)&&"number"!==typeof t[0])(e)?e.map(Oo):Oo(e)),"tween"===a.type&&(s.type="keyframes"),(o||r||i)&&(Bo=!0,o?s.repeatType="reverse":r?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=r||o||i||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}function Io(t,e,n){var o;return Array.isArray(e.to)&&(null!==(o=t.duration)&&void 0!==o||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=[...t.to],t.to[0]=t.from)}(e),function(t){var e=(0,Ct.Tt)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=Object.assign(Object.assign({},t),((t,e)=>{let n;return n=It(e)?To:Mo[t]||Mo.default,Object.assign({to:e},n(e))})(n,e.to))),Object.assign(Object.assign({},e),Uo(t))}function _o(t){return 0===t||"string"===typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function zo(t){return"number"===typeof t?0:No("",t)}function Ho(t,e){return t[e]||t.default||t}function Wo(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Fo&&(o={type:!1}),e.start((i=>{let r,a;const s=function(t,e,n,o,i){var r;const a=Ho(o,t);let s=null!==(r=a.from)&&void 0!==r?r:e.get();const l=Co(t,n);"none"===s&&l&&"string"===typeof n?s=No(t,n):_o(s)&&"string"===typeof n?s=zo(n):!Array.isArray(n)&&_o(n)&&"string"===typeof s&&(n=zo(s));const c=Co(t,s);return c&&l&&!1!==a.type?function(){const o={from:s,to:n,velocity:e.getVelocity(),onComplete:i,onUpdate:t=>e.set(t)};return"inertia"===a.type||"decay"===a.type?po(Object.assign(Object.assign({},o),a)):uo(Object.assign(Object.assign({},Io(a,o,t)),{onUpdate:t=>{var e;o.onUpdate(t),null===(e=a.onUpdate)||void 0===e||e.call(a,t)},onComplete:()=>{var t;o.onComplete(),null===(t=a.onComplete)||void 0===t||t.call(a)}}))}:function(){var t,o;const r=_t(n);return e.set(r),i(),null===(t=null===a||void 0===a?void 0:a.onUpdate)||void 0===t||t.call(a,r),null===(o=null===a||void 0===a?void 0:a.onComplete)||void 0===o||o.call(a),{stop:()=>{}}}}(t,e,n,o,i),l=function(t,e){var n,o;return null!==(o=null!==(n=(Ho(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==o?o:0}(o,t),c=()=>a=s();return l?r=window.setTimeout(c,ho(l)):c(),()=>{clearTimeout(r),null===a||void 0===a||a.stop()}}))}const $o=t=>/^0[^.\s]+$/.test(t);var Xo=n(9099);function Yo(t,e){-1===t.indexOf(e)&&t.push(e)}function qo(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Go{constructor(){this.subscriptions=[]}add(t){return Yo(this.subscriptions,t),()=>qo(this.subscriptions,t)}notify(t,e,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](t,e,n);else for(let i=0;i<o;i++){const o=this.subscriptions[i];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class Ko{constructor(t){var e,n=this;this.version="7.2.0",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Go,this.velocityUpdateSubscribers=new Go,this.renderSubscribers=new Go,this.canTrackVelocity=!1,this.updateAndNotify=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.prev=n.current,n.current=t;const{delta:o,timestamp:i}=(0,Xo.KK)();n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,Xo.Ay.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=()=>Xo.Ay.postRender(this.velocityCheck),this.velocityCheck=t=>{let{timestamp:e}=t;e!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?fo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.stopAnimation=t(e)})).then((()=>this.clearAnimation()))}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Zo(t){return new Ko(t)}const Jo=t=>e=>e.test(t),Qo=[ut,at,rt,it,lt,st,{test:t=>"auto"===t,parse:t=>t}],ti=t=>Qo.find(Jo(t)),ei=[...Qo,rn,fn],ni=t=>ei.find(Jo(t));function oi(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Zo(n))}function ii(t,e){const n=O(t,e);let o=n?t.makeTargetAnimatable(n,!1):{},{transitionEnd:i={},transition:r={}}=o,a=(0,Ct.Tt)(o,["transitionEnd","transition"]);a=Object.assign(Object.assign({},a),i);for(const s in a){oi(t,s,_t(a[s]))}}function ri(t,e){if(!e)return;return(e[t]||e.default||e).from}function ai(t){return Boolean(Y(t)&&t.add)}function si(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var o;const i=O(t,e,n.custom);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const a=i?()=>li(t,i,n):()=>Promise.resolve(),s=(null===(o=t.variantChildren)||void 0===o?void 0:o.size)?function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=r;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=arguments.length>5?arguments[5]:void 0;const a=[],s=(t.variantChildren.size-1)*o,l=1===i?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*o}:function(){return s-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*o};return Array.from(t.variantChildren).sort(ci).forEach(((t,o)=>{a.push(si(t,e,Object.assign(Object.assign({},r),{delay:n+l(o)})).then((()=>t.notifyAnimationComplete(e))))})),Promise.all(a)}(t,e,i+o,a,s,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[t,e]="beforeChildren"===l?[a,s]:[s,a];return t().then(e)}return Promise.all([a(),s(n.delay)])}function li(t,e){let{delay:n=0,transitionOverride:o,type:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var r;let a=t.makeTargetAnimatable(e),{transition:s=t.getDefaultTransition(),transitionEnd:l}=a,c=(0,Ct.Tt)(a,["transition","transitionEnd"]);const u=t.getValue("willChange");o&&(s=o);const d=[],f=i&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[i]);for(const p in c){const e=t.getValue(p),o=c[p];if(!e||void 0===o||f&&ui(f,p))continue;let i=Object.assign({delay:n},s);t.shouldReduceMotion&&H(p)&&(i=Object.assign(Object.assign({},i),{type:!1,delay:0}));let r=Wo(p,e,o,i);ai(u)&&(u.add(p),r=r.then((()=>u.remove(p)))),d.push(r)}return Promise.all(d).then((()=>{l&&ii(t,l)}))}function ci(t,e){return t.sortNodePosition(e)}function ui(t,e){let{protectedKeys:n,needsAnimating:o}=t;const i=n.hasOwnProperty(e)&&!0!==o[e];return o[e]=!1,i}const di=[qt.Animate,qt.InView,qt.Focus,qt.Hover,qt.Tap,qt.Drag,qt.Exit],fi=[...di].reverse(),pi=di.length;function hi(t){return e=>Promise.all(e.map((e=>{let{animation:n,options:o}=e;return function(t,e){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notifyAnimationStart(e),Array.isArray(e)){const i=e.map((e=>si(t,e,o)));n=Promise.all(i)}else if("string"===typeof e)n=si(t,e,o);else{const i="function"===typeof e?O(t,e,o.custom):e;n=li(t,i,o)}return n.then((()=>t.notifyAnimationComplete(e)))}(t,n,o)})))}function mi(t){let e=hi(t);const n={[qt.Animate]:gi(!0),[qt.InView]:gi(),[qt.Hover]:gi(),[qt.Tap]:gi(),[qt.Drag]:gi(),[qt.Focus]:gi(),[qt.Exit]:gi()};let o=!0;const i=(e,n)=>{const o=O(t,n);if(o){const{transition:t,transitionEnd:n}=o,i=(0,Ct.Tt)(o,["transition","transitionEnd"]);e=Object.assign(Object.assign(Object.assign({},e),i),n)}return e};function r(r,a){var s;const l=t.getProps(),c=t.getVariantContext(!0)||{},u=[],d=new Set;let f={},p=1/0;for(let e=0;e<pi;e++){const h=fi[e],m=n[h],v=null!==(s=l[h])&&void 0!==s?s:c[h],g=E(v),y=h===a?m.isActive:null;!1===y&&(p=e);let b=v===c[h]&&v!==l[h]&&g;if(b&&o&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=Object.assign({},f),!m.isActive&&null===y||!v&&!m.prevProp||Ut(v)||"boolean"===typeof v)continue;const x=vi(m.prevProp,v);let w=x||h===a&&m.isActive&&!b&&g||e>p&&g;const O=Array.isArray(v)?v:[v];let C=O.reduce(i,{});!1===y&&(C={});const{prevResolvedValues:S={}}=m,A=Object.assign(Object.assign({},S),C),P=t=>{w=!0,d.delete(t),m.needsAnimating[t]=!0};for(const t in A){const e=C[t],n=S[t];f.hasOwnProperty(t)||(e!==n?It(e)&&It(n)?!je(e,n)||x?P(t):m.protectedKeys[t]=!0:void 0!==e?P(t):d.add(t):void 0!==e&&d.has(t)?P(t):m.protectedKeys[t]=!0)}m.prevProp=v,m.prevResolvedValues=C,m.isActive&&(f=Object.assign(Object.assign({},f),C)),o&&t.blockInitialAnimation&&(w=!1),w&&!b&&u.push(...O.map((t=>({animation:t,options:Object.assign({type:h},r)}))))}if(d.size){const e={};d.forEach((n=>{const o=t.getBaseTarget(n);void 0!==o&&(e[n]=o)})),u.push({animation:e})}let h=Boolean(u.length);return o&&!1===l.initial&&!t.manuallyAnimateOnMount&&(h=!1),o=!1,h?e(u):Promise.resolve()}return{animateChanges:r,setActive:function(e,o,i){var a;if(n[e].isActive===o)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,o)})),n[e].isActive=o;const s=r(i,e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function vi(t,e){return"string"===typeof e?e!==t:!!x(e)&&!je(e,t)}function gi(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}const yi={animation:Te((t=>{let{visualElement:e,animate:n}=t;e.animationState||(e.animationState=mi(e)),Ut(n)&&(0,o.useEffect)((()=>n.subscribe(e)),[n])})),exit:Te((t=>{const{custom:e,visualElement:n}=t,[i,r]=Re(),a=(0,o.useContext)(f.t);(0,o.useEffect)((()=>{var t,o;n.isPresent=i;const s=null===(t=n.animationState)||void 0===t?void 0:t.setActive(qt.Exit,!i,{custom:null!==(o=null===a||void 0===a?void 0:a.custom)&&void 0!==o?o:e});!i&&(null===s||void 0===s||s.then(r))}),[i])}))},bi=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),xi=t=>bi(t)&&t.hasOwnProperty("z"),Ei=(t,e)=>Math.abs(t-e);function wi(t,e){if(pn(t)&&pn(e))return Ei(t,e);if(bi(t)&&bi(e)){const n=Ei(t.x,e.x),o=Ei(t.y,e.y),i=xi(t)&&xi(e)?Ei(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2)+Math.pow(i,2))}}class Oi{constructor(t,e){let{transformPagePoint:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Ai(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=wi(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:o}=t,{timestamp:i}=(0,Xo.KK)();this.history.push(Object.assign(Object.assign({},o),{timestamp:i}));const{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Ci(e,this.transformPagePoint),Zt(t)&&0===t.buttons?this.handlePointerUp(t,e):Xo.Ay.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:o}=this.handlers,i=Ai(Ci(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),o&&o(t,i)},Jt(t)&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=n;const o=Ci(ne(t),this.transformPagePoint),{point:i}=o,{timestamp:r}=(0,Xo.KK)();this.history=[Object.assign(Object.assign({},i),{timestamp:r})];const{onSessionStart:a}=e;a&&a(t,Ai(o,this.history)),this.removeListeners=ye(se(window,"pointermove",this.handlePointerMove),se(window,"pointerup",this.handlePointerUp),se(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Xo.eO.update(this.updatePoint)}}function Ci(t,e){return e?{point:e(t.point)}:t}function Si(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ai(t,e){let{point:n}=t;return{point:n,delta:Si(n,Ti(e)),offset:Si(n,Pi(e)),velocity:Mi(e,.1)}}function Pi(t){return t[0]}function Ti(t){return t[t.length-1]}function Mi(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,o=null;const i=Ti(t);for(;n>=0&&(o=t[n],!(i.timestamp-o.timestamp>ho(e)));)n--;if(!o)return{x:0,y:0};const r=(i.timestamp-o.timestamp)/1e3;if(0===r)return{x:0,y:0};const a={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ri(t){return t.max-t.min}function ji(t){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return wi(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)<e}function Vi(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=o,t.originPoint=He(e.min,e.max,t.origin),t.scale=Ri(n)/Ri(e),(ji(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=He(n.min,n.max,t.origin)-t.originPoint,(ji(t.translate)||isNaN(t.translate))&&(t.translate=0)}function Li(t,e,n,o){Vi(t.x,e.x,n.x,null===o||void 0===o?void 0:o.originX),Vi(t.y,e.y,n.y,null===o||void 0===o?void 0:o.originY)}function ki(t,e,n){t.min=n.min+e.min,t.max=t.min+Ri(e)}function Di(t,e,n){t.min=e.min-n.min,t.max=t.min+Ri(e)}function Ni(t,e,n){Di(t.x,e.x,n.x),Di(t.y,e.y,n.y)}function Fi(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Bi(t,e){let n=e.min-t.min,o=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,o]=[o,n]),{min:n,max:o}}const Ui=.35;function Ii(t,e,n){return{min:_i(t,e),max:_i(t,n)}}function _i(t,e){var n;return"number"===typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function zi(t){return[t("x"),t("y")]}function Hi(t){let{top:e,left:n,right:o,bottom:i}=t;return{x:{min:n,max:o},y:{min:e,max:i}}}function Wi(t){return void 0===t||1===t}function $i(t){let{scale:e,scaleX:n,scaleY:o}=t;return!Wi(e)||!Wi(n)||!Wi(o)}function Xi(t){return $i(t)||Yi(t.x)||Yi(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function Yi(t){return t&&"0%"!==t}function qi(t,e,n){return n+e*(t-n)}function Gi(t,e,n,o,i){return void 0!==i&&(t=qi(t,i,o)),qi(t,n,o)+e}function Ki(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;t.min=Gi(t.min,e,n,o,i),t.max=Gi(t.max,e,n,o,i)}function Zi(t,e){let{x:n,y:o}=e;Ki(t.x,n.translate,n.scale,n.originPoint),Ki(t.y,o.translate,o.scale,o.originPoint)}function Ji(t,e){t.min=t.min+e,t.max=t.max+e}function Qi(t,e,n){let[o,i,r]=n;const a=void 0!==e[r]?e[r]:.5,s=He(t.min,t.max,a);Ki(t,e[o],e[i],s,e.scale)}const tr=["x","scaleX","originX"],er=["y","scaleY","originY"];function nr(t,e){Qi(t.x,e,tr),Qi(t.y,e,er)}function or(t,e){return Hi(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),o=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(t.getBoundingClientRect(),e))}const ir=new WeakMap;class rr{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!1===this.visualElement.isPresent)return;this.panSession=new Oi(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(ne(t,"page").point)},onStart:(t,e)=>{var n;const{drag:o,dragPropagation:i,onDragStart:r}=this.getProps();(!o||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=fe(o),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),zi((t=>{var e,n;let o=this.getAxisMotionValue(t).get()||0;if(rt.test(o)){const i=null===(n=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===n?void 0:n.actual[t];if(i){o=Ri(i)*(parseFloat(o)/100)}}this.originPoint[t]=o})),null===r||void 0===r||r(t,e),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(qt.Drag,!0))},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:i,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=e;if(o&&null===this.currentDirection)return this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&(null===i||void 0===i||i(this.currentDirection)));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.syncRender(),null===r||void 0===r||r(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=e;this.startAnimation(o);const{onDragEnd:i}=this.getProps();null===i||void 0===i||i(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(qt.Drag,!1)}updateAxis(t,e,n){const{drag:o}=this.getProps();if(!n||!ar(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=function(t,e,n){let{min:o,max:i}=e;return void 0!==o&&t<o?t=n?He(o,t,n.min):Math.max(t,o):void 0!==i&&t>i&&(t=n?He(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),i.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&b(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,e){let{top:n,left:o,bottom:i,right:r}=e;return{x:Fi(t.x,o,r),y:Fi(t.y,n,i)}}(n.actual,t),this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ui;return!1===t?t=0:!0===t&&(t=Ui),{x:Ii(t,"left","right"),y:Ii(t,"top","bottom")}}(e),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&zi((t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.actual[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!b(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=function(t,e,n){const o=or(t,n),{scroll:i}=e;return i&&(Ji(o.x,i.x),Ji(o.y,i.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:Bi(t.x,e.x),y:Bi(t.y,e.y)}}(o.layout.actual,i);if(e){const t=e(function(t){let{x:e,y:n}=t;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(r));this.hasMutatedConstraints=!!t,t&&(r=Hi(t))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=zi((a=>{var l;if(!ar(a,e,this.currentDirection))return;let c=null!==(l=null===s||void 0===s?void 0:s[a])&&void 0!==l?l:{};r&&(c={min:0,max:0});const u=o?200:1e6,d=o?40:1e7,f=Object.assign(Object.assign({type:"inertia",velocity:n?t[a]:0,bounceStiffness:u,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},i),c);return this.startAxisValueAnimation(a,f)}));return Promise.all(l).then(a)}startAxisValueAnimation(t,e){return Wo(t,this.getAxisMotionValue(t),0,e)}stopAnimation(){zi((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){var e,n;const o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)}snapToCursor(t){zi((e=>{const{drag:n}=this.getProps();if(!ar(e,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(e);if(o&&o.layout){const{min:n,max:r}=o.layout.actual[e];i.set(t[e]-He(n,r,.5))}}))}scalePositionWithinConstraints(){var t;const{drag:e,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!b(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};zi((t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();i[t]=function(t,e){let n=.5;const o=Ri(t),i=Ri(e);return i>o?n=ze(e.min,e.max-o,t.min):o>i&&(n=ze(t.min,t.max-i,e.min)),Ve(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.getInstance().style.transform=r?r({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),zi((t=>{if(!ar(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(He(o,r,i[t]))}))}addListeners(){var t;ir.set(this.visualElement,this);const e=se(this.visualElement.getInstance(),"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),n=()=>{const{dragConstraints:t}=this.getProps();b(t)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),n();const r=Gt(window,"resize",(()=>this.scalePositionWithinConstraints())),a=o.addEventListener("didUpdate",(t=>{let{delta:e,hasLayoutChanged:n}=t;this.isDragging&&n&&(zi((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.syncRender())}));return()=>{r(),e(),i(),null===a||void 0===a||a()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:r=Ui,dragMomentum:a=!0}=t;return Object.assign(Object.assign({},t),{drag:e,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:a})}}function ar(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}const sr={pan:Te((function(t){let{onPan:e,onPanStart:n,onPanEnd:i,onPanSessionStart:r,visualElement:a}=t;const s=e||n||i||r,l=(0,o.useRef)(null),{transformPagePoint:c}=(0,o.useContext)(u),d={onSessionStart:r,onStart:n,onMove:e,onEnd:(t,e)=>{l.current=null,i&&i(t,e)}};(0,o.useEffect)((()=>{null!==l.current&&l.current.updateHandlers(d)})),le(a,"pointerdown",s&&function(t){l.current=new Oi(t,d,{transformPagePoint:c})}),(0,ve.l)((()=>l.current&&l.current.end()))})),drag:Te((function(t){const{dragControls:e,visualElement:n}=t,i=(0,T.M)((()=>new rr(n)));(0,o.useEffect)((()=>e&&e.subscribe(i)),[i,e]),(0,o.useEffect)((()=>i.addListeners()),[i])}))},lr=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];const cr=t=>{let{treeType:e="",build:n,getBaseTarget:o,makeTargetAnimatable:i,measureViewportBox:r,render:a,readValueFromInstance:s,removeValueFromRenderState:l,sortNodePosition:c,scrapeMotionValuesFromProps:u}=t;return function(t){let{parent:d,props:f,presenceId:p,blockInitialAnimation:h,visualState:m,shouldReduceMotion:v}=t,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},y=!1;const{latestValues:b,renderState:x}=m;let w;const O=function(){const t=lr.map((()=>new Go)),e={},n={clearAllListeners:()=>t.forEach((t=>t.clear())),updatePropListeners:t=>{lr.forEach((o=>{var i;const r="on"+o,a=t[r];null===(i=e[o])||void 0===i||i.call(e),a&&(e[o]=n[r](a))}))}};return t.forEach(((t,e)=>{n["on"+lr[e]]=e=>t.add(e),n["notify"+lr[e]]=function(){return t.notify(...arguments)}})),n}(),A=new Map,P=new Map;let T={};const M=Object.assign({},b);let R;function j(){w&&y&&(V(),a(w,x,f.style,I.projection))}function V(){n(I,x,b,g,f)}function L(){O.notifyUpdate(b)}function k(t,e){const n=e.onChange((e=>{b[t]=e,f.onUpdate&&Xo.Ay.update(L,!1,!0)})),o=e.onRenderRequest(I.scheduleRender);P.set(t,(()=>{n(),o()}))}const D=u(f),{willChange:N}=D,F=(0,Ct.Tt)(D,["willChange"]);for(const e in F){const t=F[e];void 0!==b[e]&&Y(t)&&(t.set(b[e],!1),ai(N)&&N.add(e))}const B=C(f),U=S(f),I=Object.assign(Object.assign({treeType:e,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:p,shouldReduceMotion:v,variantChildren:U?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===d||void 0===d?void 0:d.isMounted()),blockInitialAnimation:h,isMounted:()=>Boolean(w),mount(t){y=!0,w=I.current=t,I.projection&&I.projection.mount(t),U&&d&&!B&&(R=null===d||void 0===d?void 0:d.addVariantChild(I)),A.forEach(((t,e)=>k(e,t))),null===d||void 0===d||d.children.add(I),I.setProps(f)},unmount(){var t;null===(t=I.projection)||void 0===t||t.unmount(),Xo.eO.update(L),Xo.eO.render(j),P.forEach((t=>t())),null===R||void 0===R||R(),null===d||void 0===d||d.children.delete(I),O.clearAllListeners(),w=void 0,y=!1},addVariantChild(t){var e;const n=I.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),()=>n.variantChildren.delete(t)},sortNodePosition(t){return c&&e===t.treeType?c(I.getInstance(),t.getInstance()):0},getClosestVariantNode:()=>U?I:null===d||void 0===d?void 0:d.getClosestVariantNode(),getLayoutId:()=>f.layoutId,getInstance:()=>w,getStaticValue:t=>b[t],setStaticValue:(t,e)=>b[t]=e,getLatestValues:()=>b,setVisibility(t){I.isVisible!==t&&(I.isVisible=t,I.scheduleRender())},makeTargetAnimatable(t){return i(I,t,f,!(arguments.length>1&&void 0!==arguments[1])||arguments[1])},measureViewportBox(){return r(w,f)},addValue(t,e){I.hasValue(t)&&I.removeValue(t),A.set(t,e),b[t]=e.get(),k(t,e)},removeValue(t){var e;A.delete(t),null===(e=P.get(t))||void 0===e||e(),P.delete(t),delete b[t],l(t,x)},hasValue:t=>A.has(t),getValue(t,e){let n=A.get(t);return void 0===n&&void 0!==e&&(n=Zo(e),I.addValue(t,n)),n},forEachValue:t=>A.forEach(t),readValue:t=>{var e;return null!==(e=b[t])&&void 0!==e?e:s(w,t,g)},setBaseTarget(t,e){M[t]=e},getBaseTarget(t){if(o){const e=o(f,t);if(void 0!==e&&!Y(e))return e}return M[t]}},O),{build(){return V(),x},scheduleRender(){Xo.Ay.render(j,!1,!0)},syncRender:j,setProps(t){(t.transformTemplate||f.transformTemplate)&&I.scheduleRender(),f=t,O.updatePropListeners(t),T=function(t,e,n){var o;const{willChange:i}=e;for(const r in e){const a=e[r],s=n[r];if(Y(a))t.addValue(r,a),ai(i)&&i.add(r);else if(Y(s))t.addValue(r,Zo(a)),ai(i)&&i.remove(r);else if(s!==a)if(t.hasValue(r)){const e=t.getValue(r);!e.hasAnimated&&e.set(a)}else t.addValue(r,Zo(null!==(o=t.getStaticValue(r))&&void 0!==o?o:a))}for(const r in n)void 0===e[r]&&t.removeValue(r);return e}(I,u(f),T)},getProps:()=>f,getVariant:t=>{var e;return null===(e=f.variants)||void 0===e?void 0:e[t]},getDefaultTransition:()=>f.transition,getTransformPagePoint:()=>f.transformPagePoint,getVariantContext(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return null===d||void 0===d?void 0:d.getVariantContext();if(!B){const t=(null===d||void 0===d?void 0:d.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}const t={};for(let e=0;e<dr;e++){const n=ur[e],o=f[n];(E(o)||!1===o)&&(t[n]=o)}return t}});return I}},ur=["initial",...di],dr=ur.length;function fr(t){return"string"===typeof t&&t.startsWith("var(--")}const pr=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function hr(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const[o,i]=function(t){const e=pr.exec(t);if(!e)return[,];const[,n,o]=e;return[n,o]}(t);if(!o)return;const r=window.getComputedStyle(e).getPropertyValue(o);return r?r.trim():fr(i)?hr(i,e,n+1):i}const mr=new Set(["width","height","top","left","right","bottom","x","y"]),vr=t=>mr.has(t),gr=(t,e)=>{t.set(e,!1),t.set(e)},yr=t=>t===ut||t===at;var br;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(br||(br={}));const xr=(t,e)=>parseFloat(t.split(", ")[e]),Er=(t,e)=>(n,o)=>{let{transform:i}=o;if("none"===i||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/);if(r)return xr(r[1],e);{const e=i.match(/^matrix\((.+)\)$/);return e?xr(e[1],t):0}},wr=new Set(["x","y","z"]),Or=I.filter((t=>!wr.has(t)));const Cr={width:(t,e)=>{let{x:n}=t,{paddingLeft:o="0",paddingRight:i="0"}=e;return n.max-n.min-parseFloat(o)-parseFloat(i)},height:(t,e)=>{let{y:n}=t,{paddingTop:o="0",paddingBottom:i="0"}=e;return n.max-n.min-parseFloat(o)-parseFloat(i)},top:(t,e)=>{let{top:n}=e;return parseFloat(n)},left:(t,e)=>{let{left:n}=e;return parseFloat(n)},bottom:(t,e)=>{let{y:n}=t,{top:o}=e;return parseFloat(o)+(n.max-n.min)},right:(t,e)=>{let{x:n}=t,{left:o}=e;return parseFloat(o)+(n.max-n.min)},x:Er(4,13),y:Er(5,14)},Sr=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=Object.assign({},e),o=Object.assign({},o);const i=Object.keys(e).filter(vr);let r=[],a=!1;const s=[];if(i.forEach((i=>{const l=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],u=ti(c);const d=e[i];let f;if(It(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],u=ti(c);for(let n=e;n<t;n++)f?ti(d[n]):(f=ti(d[n]),f===u||yr(u)&&yr(f))}else f=ti(d);if(u!==f)if(yr(u)&&yr(f)){const t=l.get();"string"===typeof t&&l.set(parseFloat(t)),"string"===typeof d?e[i]=parseFloat(d):Array.isArray(d)&&f===at&&(e[i]=d.map(parseFloat))}else(null===u||void 0===u?void 0:u.transform)&&(null===f||void 0===f?void 0:f.transform)&&(0===c||0===d)?0===c?l.set(f.transform(c)):e[i]=u.transform(d):(a||(r=function(t){const e=[];return Or.forEach((n=>{const o=t.getValue(n);void 0!==o&&(e.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))})),e.length&&t.syncRender(),e}(t),a=!0),s.push(i),o[i]=void 0!==o[i]?o[i]:e[i],gr(l,d))})),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((t,e,n)=>{const o=e.measureViewportBox(),i=e.getInstance(),r=getComputedStyle(i),{display:a}=r,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{s[t]=Cr[t](o,r)})),e.syncRender();const l=e.measureViewportBox();return n.forEach((n=>{const o=e.getValue(n);gr(o,s[n]),t[n]=Cr[n](l,r)})),t})(e,t,s);return r.length&&r.forEach((e=>{let[n,o]=e;t.getValue(n).set(o)})),t.syncRender(),h.B&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:o}}return{target:e,transitionEnd:o}};function Ar(t,e,n,o){return(t=>Object.keys(t).some(vr))(e)?Sr(t,e,n,o):{target:e,transitionEnd:o}}const Pr=(t,e,n,o)=>{const i=function(t,e,n){var o,i=(0,Ct.Tt)(e,[]);const r=t.getInstance();if(!(r instanceof Element))return{target:i,transitionEnd:n};n&&(n=Object.assign({},n)),t.forEachValue((t=>{const e=t.get();if(!fr(e))return;const n=hr(e,r);n&&t.set(n)}));for(const a in i){const t=i[a];if(!fr(t))continue;const e=hr(t,r);e&&(i[a]=e,n&&(null!==(o=n[a])&&void 0!==o||(n[a]=t)))}return{target:i,transitionEnd:n}}(t,e,o);return Ar(t,e=i.target,n,o=i.transitionEnd)};const Tr={treeType:"dom",readValueFromInstance(t,e){if(H(e)){const t=Do(e);return t&&t.default||0}{const o=(n=t,window.getComputedStyle(n)),i=(G(e)?o.getPropertyValue(e):o[e])||0;return"string"===typeof i?i.trim():i}var n},sortNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox(t,e){let{transformPagePoint:n}=e;return or(t,n)},resetTransform(t,e,n){const{transformTemplate:o}=n;e.style.transform=o?o({},""):"none",t.scheduleRender()},restoreTransform(t,e){t.style.transform=e.style.transform},removeValueFromRenderState(t,e){let{vars:n,style:o}=e;delete n[t],delete o[t]},makeTargetAnimatable(t,e,n,o){var{transition:i,transitionEnd:r}=e,a=(0,Ct.Tt)(e,["transition","transitionEnd"]),s=n.transformValues;void 0===o&&(o=!0);let l=function(t,e,n){var o,i;const r={};for(const a in t)r[a]=null!==(o=ri(a,e))&&void 0!==o?o:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return r}(a,i||{},t);if(s&&(r&&(r=s(r)),a&&(a=s(a)),l&&(l=s(l))),o){!function(t,e,n){var o,i,r,a;const s=Object.keys(e).filter((e=>!t.hasValue(e))),l=s.length;if(l)for(let c=0;c<l;c++){const l=s[c],u=e[l];let d=null;Array.isArray(u)&&(d=u[0]),null===d&&(d=null!==(i=null!==(o=n[l])&&void 0!==o?o:t.readValue(l))&&void 0!==i?i:e[l]),void 0!==d&&null!==d&&("string"===typeof d&&(/^\-?\d*\.?\d+$/.test(d)||$o(d))?d=parseFloat(d):!ni(d)&&fn.test(u)&&(d=No(l,u)),t.addValue(l,Zo(d)),null!==(r=(a=n)[l])&&void 0!==r||(a[l]=d),t.setBaseTarget(l,d))}}(t,a,l);const e=Pr(t,a,l,r);r=e.transitionEnd,a=e.target}return Object.assign({transition:i,transitionEnd:r},a)},scrapeMotionValuesFromProps:Ft,build(t,e,n,o,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),mt(e,n,o,i.transformTemplate)},render:kt},Mr=cr(Tr),Rr=cr(Object.assign(Object.assign({},Tr),{getBaseTarget(t,e){return t[e]},readValueFromInstance(t,e){var n;return H(e)?(null===(n=Do(e))||void 0===n?void 0:n.default)||0:(e=Dt.has(e)?e:Lt(e),t.getAttribute(e))},scrapeMotionValuesFromProps:Bt,build(t,e,n,o,i){Tt(e,n,o,i.transformTemplate)},render:Nt})),jr=(t,e)=>F(t)?Rr(e,{enableHardwareAcceleration:!1}):Mr(e,{enableHardwareAcceleration:!0});function Vr(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Lr={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!at.test(t))return t;t=parseFloat(t)}return`${Vr(t,e.target.x)}% ${Vr(t,e.target.y)}%`}},kr="_$css",Dr={correct:(t,e)=>{let{treeScale:n,projectionDelta:o}=e;const i=t,r=t.includes("var("),a=[];r&&(t=t.replace(pr,(t=>(a.push(t),kr))));const s=fn.parse(t);if(s.length>5)return i;const l=fn.createTransformer(t),c="number"!==typeof s[0]?1:0,u=o.x.scale*n.x,d=o.y.scale*n.y;s[0+c]/=u,s[1+c]/=d;const f=He(u,d,.5);"number"===typeof s[2+c]&&(s[2+c]/=f),"number"===typeof s[3+c]&&(s[3+c]/=f);let p=l(s);if(r){let t=0;p=p.replace(kr,(()=>{const e=a[t];return t++,e}))}return p}};class Nr extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;var r;r=Fr,Object.assign(B,r),i&&((null===e||void 0===e?void 0:e.group)&&e.group.add(i),(null===n||void 0===n?void 0:n.register)&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions(Object.assign(Object.assign({},i.options),{onExitComplete:()=>this.safeToRemove()}))),M.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:o,isPresent:i}=this.props,r=n.projection;return r?(r.isPresent=i,o||t.layoutDependency!==e||void 0===e?r.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?r.promote():r.relegate()||Xo.Ay.postRender((()=>{var t;(null===(t=r.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),(null===e||void 0===e?void 0:e.group)&&e.group.remove(o),(null===n||void 0===n?void 0:n.deregister)&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;null===t||void 0===t||t()}render(){return null}}const Fr={borderRadius:Object.assign(Object.assign({},Lr),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Lr,borderTopRightRadius:Lr,borderBottomLeftRadius:Lr,borderBottomRightRadius:Lr,boxShadow:Dr},Br={measureLayout:function(t){const[e,n]=Re(),i=(0,o.useContext)(j.L);return o.createElement(Nr,Object.assign({},t,{layoutGroup:i,switchLayoutGroup:(0,o.useContext)(V),isPresent:e,safeToRemove:n}))}};const Ur=["TopLeft","TopRight","BottomLeft","BottomRight"],Ir=Ur.length,_r=t=>"string"===typeof t?parseFloat(t):t,zr=t=>"number"===typeof t||at.test(t);function Hr(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}const Wr=Xr(0,.5,Ln),$r=Xr(.5,.95,Pn);function Xr(t,e,n){return o=>o<t?0:o>e?1:n(ze(t,e,o))}function Yr(t,e){t.min=e.min,t.max=e.max}function qr(t,e){Yr(t.x,e.x),Yr(t.y,e.y)}function Gr(t,e,n,o,i){return t=qi(t-=e,1/n,o),void 0!==i&&(t=qi(t,1/i,o)),t}function Kr(t,e,n,o,i){let[r,a,s]=n;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,i=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;rt.test(e)&&(e=parseFloat(e),e=He(a.min,a.max,e/100)-a.min);if("number"!==typeof e)return;let s=He(r.min,r.max,o);t===r&&(s-=e),t.min=Gr(t.min,e,n,s,i),t.max=Gr(t.max,e,n,s,i)}(t,e[r],e[a],e[s],e.scale,o,i)}const Zr=["x","scaleX","originX"],Jr=["y","scaleY","originY"];function Qr(t,e,n,o){Kr(t.x,e,Zr,null===n||void 0===n?void 0:n.x,null===o||void 0===o?void 0:o.x),Kr(t.y,e,Jr,null===n||void 0===n?void 0:n.y,null===o||void 0===o?void 0:o.y)}function ta(t){return 0===t.translate&&1===t.scale}function ea(t){return ta(t.x)&&ta(t.y)}function na(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}class oa{constructor(){this.members=[]}add(t){Yo(this.members,t),t.scheduleRender()}remove(t){if(qo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let o=e;o>=0;o--){const t=this.members[o];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){var n;const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,e&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&o.hide()}}exitAnimationComplete(){this.members.forEach((t=>{var e,n,o,i,r;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(r=null===(o=t.resumingFrom)||void 0===o?void 0:(i=o.options).onExitComplete)||void 0===r||r.call(i)}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ia(t,e,n){let o=`translate3d(${t.x.translate/e.x}px, ${t.y.translate/e.y}px, 0) `;if(o+=`scale(${1/e.x}, ${1/e.y}) `,n){const{rotate:t,rotateX:e,rotateY:i}=n;t&&(o+=`rotate(${t}deg) `),e&&(o+=`rotateX(${e}deg) `),i&&(o+=`rotateY(${i}deg) `)}return o+=`scale(${t.x.scale*e.x}, ${t.y.scale*e.y})`,"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===o?"none":o}const ra=(t,e)=>t.depth-e.depth;class aa{constructor(){this.children=[],this.isDirty=!1}add(t){Yo(this.children,t),this.isDirty=!0}remove(t){qo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ra),this.isDirty=!1,this.children.forEach(t)}}function sa(t){let{attachResizeListener:e,defaultParent:n,measureScroll:o,checkIsScrollRoot:i,resetTransform:r}=t;return class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null===n||void 0===n?void 0:n();this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(ha),this.nodes.forEach(ma)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let n=0;n<this.path.length;n++)this.path[n].shouldResetTransform=!0;this.root===this&&(this.nodes=new aa)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Go),this.eventHandlers.get(t).add(e)}notifyListeners(t){const e=this.eventHandlers.get(t);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];null===e||void 0===e||e.notify(...o)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var o;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;const{layoutId:i,layout:r,visualElement:a}=this.options;if(a&&!a.getInstance()&&a.mount(t),this.root.nodes.add(this),null===(o=this.parent)||void 0===o||o.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(r||i)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,clearTimeout(n),n=window.setTimeout(o,250),M.hasAnimatedSinceResize&&(M.hasAnimatedSinceResize=!1,this.nodes.forEach(pa))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||r)&&this.addEventListener("didUpdate",(t=>{let{delta:e,hasLayoutChanged:n,hasRelativeTargetChanged:o,layout:i}=t;var r,s,l,c,u;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const d=null!==(s=null!==(r=this.options.transition)&&void 0!==r?r:a.getDefaultTransition())&&void 0!==s?s:Ea,{onLayoutAnimationStart:f,onLayoutAnimationComplete:p}=a.getProps(),h=!this.targetLayout||!na(this.targetLayout,i)||o,m=!n&&o;if((null===(l=this.resumeFrom)||void 0===l?void 0:l.instance)||m||n&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,m);const t=Object.assign(Object.assign({},Ho(d,"layout")),{onPlay:f,onComplete:p});a.shouldReduceMotion&&(t.delay=0,t.type=!1),this.startAnimation(t)}else n||0!==this.animationProgress||this.finishAnimation(),this.isLead()&&(null===(u=(c=this.options).onExitComplete)||void 0===u||u.call(c));this.targetLayout=i}))}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,Xo.eO.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(va))}willUpdate(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var e,n,o;if(this.root.isUpdateBlocked())return void(null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e));if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll()}const{layoutId:i,layout:r}=this.options;if(void 0===i&&!r)return;const a=null===(o=this.options.visualElement)||void 0===o?void 0:o.getProps().transformTemplate;this.prevTransformTemplateValue=null===a||void 0===a?void 0:a(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(da);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(wa),this.potentialNodes.clear()),this.nodes.forEach(fa),this.nodes.forEach(la),this.nodes.forEach(ca),this.clearAllSnapshots(),Xo.qX.update(),Xo.qX.preRender(),Xo.qX.render())}clearAllSnapshots(){this.nodes.forEach(ua),this.sharedNodes.forEach(ga)}scheduleUpdateProjection(){Xo.Ay.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Xo.Ay.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){if(this.snapshot||!this.instance)return;const t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));Ca(e),this.snapshot={measured:t,layout:e,latestValues:{}}}updateLayout(){var t;if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let o=0;o<this.path.length;o++){this.path[o].updateScroll()}const e=this.measure();Ca(e);const n=this.layout;this.layout={measured:e,actual:this.removeElementScroll(e)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null===n||void 0===n?void 0:n.actual)}updateScroll(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=o(this.instance))}resetTransform(){var t;if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!ea(this.projectionDelta),o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null===o||void 0===o?void 0:o(this.latestValues,""),a=i!==this.prevTransformTemplateValue;e&&(n||Xi(this.latestValues)||a)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(Ji(e.x,n.x),Ji(e.y,n.y)),e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};qr(e,t);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:i,options:r,isScrollRoot:a}=o;if(o!==this.root&&i&&r.layoutScroll){if(a){qr(e,t);const{scroll:n}=this.root;n&&(Ji(e.x,-n.x),Ji(e.y,-n.y))}Ji(e.x,i.x),Ji(e.y,i.y)}}return e}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={x:{min:0,max:0},y:{min:0,max:0}};qr(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&nr(n,{x:-t.scroll.x,y:-t.scroll.y}),Xi(t.latestValues)&&nr(n,t.latestValues)}return Xi(this.latestValues)&&nr(n,this.latestValues),n}removeTransform(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};qr(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];if(!t.instance)continue;if(!Xi(t.latestValues))continue;$i(t.latestValues)&&t.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};qr(i,t.measure()),Qr(n,t.latestValues,null===(e=t.snapshot)||void 0===e?void 0:e.layout,i)}return Xi(this.latestValues)&&Qr(n,this.latestValues),n}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection()}setOptions(t){var e;this.options=Object.assign(Object.assign(Object.assign({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var t;const{layout:e,layoutId:n}=this.options;var o,i,r;this.layout&&(e||n)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ni(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),qr(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(o=this.target,i=this.relativeTarget,r=this.relativeParent.target,ki(o.x,i.x,r.x),ki(o.y,i.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):qr(this.target,this.layout.actual),Zi(this.target,this.targetDelta)):qr(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ni(this.relativeTargetOrigin,this.target,this.relativeParent.target),qr(this.relativeTarget,this.relativeTargetOrigin)))))}getClosestProjectingParent(){if(this.parent&&!Xi(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;const{layout:e,layoutId:n}=this.options;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!e&&!n)return;const o=this.getLead();qr(this.layoutCorrected,this.layout.actual),function(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];var i,r;const a=n.length;if(!a)return;let s,l;e.x=e.y=1;for(let c=0;c<a;c++)s=n[c],l=s.projectionDelta,"contents"!==(null===(r=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===r?void 0:r.display)&&(o&&s.options.layoutScroll&&s.scroll&&s!==s.root&&nr(t,{x:-s.scroll.x,y:-s.scroll.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,Zi(t,l)),o&&Xi(s.latestValues)&&nr(t,s.latestValues))}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);const{target:i}=o;if(!i)return;this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const r=this.treeScale.x,a=this.treeScale.y,s=this.projectionTransform;Li(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=ia(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===r&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var e,n,o;null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(o=this.getStack())||void 0===o||o.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n;const o=this.snapshot,i=(null===o||void 0===o?void 0:o.latestValues)||{},r=Object.assign({},this.latestValues),a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;const s={x:{min:0,max:0},y:{min:0,max:0}},l=null===o||void 0===o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,u=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(xa));this.animationProgress=0,this.mixTargetDelta=e=>{var n;const o=e/1e3;var d,f,p,h;ya(a.x,t.x,o),ya(a.y,t.y,o),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(Ni(s,this.layout.actual,this.relativeParent.layout.actual),d=this.relativeTarget,f=this.relativeTargetOrigin,p=s,h=o,ba(d.x,f.x,p.x,h),ba(d.y,f.y,p.y,h)),l&&(this.animationValues=r,function(t,e,n,o,i,r){var a,s,l,c;i?(t.opacity=He(0,null!==(a=n.opacity)&&void 0!==a?a:1,Wr(o)),t.opacityExit=He(null!==(s=e.opacity)&&void 0!==s?s:1,0,$r(o))):r&&(t.opacity=He(null!==(l=e.opacity)&&void 0!==l?l:1,null!==(c=n.opacity)&&void 0!==c?c:1,o));for(let u=0;u<Ir;u++){const i=`border${Ur[u]}Radius`;let r=Hr(e,i),a=Hr(n,i);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||zr(r)===zr(a)?(t[i]=Math.max(He(_r(r),_r(a),o),0),(rt.test(a)||rt.test(r))&&(t[i]+="%")):t[i]=a)}(e.rotate||n.rotate)&&(t.rotate=He(e.rotate||0,n.rotate||0,o))}(r,i,this.latestValues,o,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=o},this.mixTargetDelta(0)}startAnimation(t){var e,n;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(Xo.eO.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Xo.Ay.update((()=>{M.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=Y(t)?t:Zo(t);return Wo("",o,e,n),{stop:()=>o.stop(),isAnimating:()=>o.isAnimating()}}(0,1e3,Object.assign(Object.assign({},t),{onUpdate:e=>{var n;this.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const{targetWithTransforms:t,target:e,layout:n,latestValues:o}=this.getLead();t&&e&&n&&(qr(t,e),nr(t,o),Li(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))}registerSharedNode(t,e){var n,o,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new oa);this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(o=e.options.initialPromotionConfig)||void 0===o?void 0:o.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(o,e)})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=this.getStack();o&&o.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const n={};for(let o=0;o<U.length;o++){const i="rotate"+U[o];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){null===t||void 0===t||t.syncRender();for(const e in n)t.setStaticValue(e,n[e]);t.scheduleRender()}}getProjectionStyles(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e,n,o,i,r,a;const s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";const l=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=zt(t.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none",s;const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){const e={};return this.options.layoutId&&(e.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,e.pointerEvents=zt(t.pointerEvents)||""),this.hasProjected&&!Xi(this.latestValues)&&(e.transform=l?l({},""):"none",this.hasProjected=!1),e}const u=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=ia(this.projectionDeltaWithTransform,this.treeScale,u),l&&(s.transform=l(u,s.transform));const{x:d,y:f}=this.projectionDelta;s.transformOrigin=`${100*d.origin}% ${100*f.origin}% 0`,c.animationValues?s.opacity=c===this?null!==(i=null!==(o=u.opacity)&&void 0!==o?o:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=c===this?null!==(r=u.opacity)&&void 0!==r?r:"":null!==(a=u.opacityExit)&&void 0!==a?a:0;for(const p in B){if(void 0===u[p])continue;const{correct:t,applyTo:e}=B[p],n=t(u[p],c);if(e){const t=e.length;for(let o=0;o<t;o++)s[e[o]]=n}else s[p]=n}return this.options.layoutId&&(s.pointerEvents=c===this?zt(t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(da),this.root.sharedNodes.clear()}}}function la(t){t.updateLayout()}function ca(t){var e,n,o,i;const r=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){const{actual:e,measured:n}=t.layout;"size"===t.options.animationType?zi((t=>{const n=r.isShared?r.measured[t]:r.layout[t],o=Ri(n);n.min=e[t].min,n.max=n.min+o})):"position"===t.options.animationType&&zi((t=>{const n=r.isShared?r.measured[t]:r.layout[t],o=Ri(e[t]);n.max=n.min+o}));const o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Li(o,e,r.layout);const i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r.isShared?Li(i,t.applyTransform(n,!0),r.measured):Li(i,e,r.layout);const a=!ea(o);let s=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){const{snapshot:n,layout:o}=t.relativeParent;if(n&&o){const t={x:{min:0,max:0},y:{min:0,max:0}};Ni(t,r.layout,n.layout);const i={x:{min:0,max:0},y:{min:0,max:0}};Ni(i,e,o.actual),na(t,i)||(s=!0)}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:i,layoutDelta:o,hasLayoutChanged:a,hasRelativeTargetChanged:s})}else t.isLead()&&(null===(i=(o=t.options).onExitComplete)||void 0===i||i.call(o));t.options.transition=void 0}function ua(t){t.clearSnapshot()}function da(t){t.clearMeasurements()}function fa(t){const{visualElement:e}=t.options;(null===e||void 0===e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function pa(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function ha(t){t.resolveTargetDelta()}function ma(t){t.calcProjection()}function va(t){t.resetRotation()}function ga(t){t.removeLeadSnapshot()}function ya(t,e,n){t.translate=He(e.translate,0,n),t.scale=He(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ba(t,e,n,o){t.min=He(e.min,n.min,o),t.max=He(e.max,n.max,o)}function xa(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Ea={duration:.45,ease:[.4,0,.1,1]};function wa(t,e){let n=t.root;for(let i=t.path.length-1;i>=0;i--)if(Boolean(t.path[i].instance)){n=t.path[i];break}const o=(n&&n!==t.root?n.instance:document).querySelector(`[data-projection-id="${e}"]`);o&&t.mount(o,!0)}function Oa(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function Ca(t){Oa(t.x),Oa(t.y)}const Sa=sa({attachResizeListener:(t,e)=>Gt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Aa={current:void 0},Pa=sa({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Aa.current){const t=new Sa(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),Aa.current=t}return Aa.current},resetTransform:(t,e)=>{t.style.transform=null!==e&&void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Ta=Object.assign(Object.assign(Object.assign(Object.assign({},yi),Me),sr),Br),Ma=D(((t,e)=>function(t,e,n,o,i){let{forwardMotionProps:r=!1}=e;const a=F(t)?Xt:Yt;return Object.assign(Object.assign({},a),{preloadedFeatures:n,useRender:jt(r),createVisualElement:o,projectionNodeConstructor:i,Component:t})}(t,e,Ta,jr,Pa)))},7584:function(t,e,n){"use strict";n.d(e,{B:function(){return o}});const o="undefined"!==typeof document},6918:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});const o="production"},9305:function(t,e,n){"use strict";n.d(e,{M:function(){return i}});var o=n(9950);function i(t){const e=(0,o.useRef)(null);return null===e.current&&(e.current=t()),e.current}},7544:function(t,e,n){"use strict";n.d(e,{E:function(){return i}});var o=n(9950);const i=n(7584).B?o.useLayoutEffect:o.useEffect},6835:function(t,e,n){"use strict";n.d(e,{l:function(){return i}});var o=n(9950);function i(t){return(0,o.useEffect)((()=>()=>t()),[])}},7419:function(t,e,n){"use strict";n.d(e,{m:function(){return i}});const o=new Set;function i(t,e,n){t||o.has(e)||(console.warn(e),n&&console.warn(n),o.add(e))}},9099:function(t,e,n){"use strict";n.d(e,{eO:function(){return p},Ay:function(){return b},qX:function(){return h},KK:function(){return y}});const o=1/60*1e3,i="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),r="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(i())),o);let a=!0,s=!1,l=!1;const c={delta:0,timestamp:0},u=["read","update","preRender","render","postRender"],d=u.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],o=0,i=!1,r=!1;const a=new WeakSet,s={schedule:function(t){const r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,s=r?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),r&&i&&(o=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:l=>{if(i)r=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,o=e.length,o)for(let n=0;n<o;n++){const o=e[n];o(l),a.has(o)&&(s.schedule(o),t())}i=!1,r&&(r=!1,s.process(l))}}};return s}((()=>s=!0)),t)),{}),f=u.reduce(((t,e)=>{const n=d[e];return t[e]=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return s||g(),n.schedule(t,e,o)},t}),{}),p=u.reduce(((t,e)=>(t[e]=d[e].cancel,t)),{}),h=u.reduce(((t,e)=>(t[e]=()=>d[e].process(c),t)),{}),m=t=>d[t].process(c),v=t=>{s=!1,c.delta=a?o:Math.max(Math.min(t-c.timestamp,40),1),c.timestamp=t,l=!0,u.forEach(m),l=!1,s&&(a=!1,r(v))},g=()=>{s=!0,a=!0,l||r(v)},y=()=>c;var b=f}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 850.5091474f.chunk.js.LICENSE.txt */
2
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[850],{5709:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(2859)},1550:function(e,t,n){"use strict";n.d(t,{A:function(){return L}});var r=n(8168),o=n(8587),i=n(9753),a=n(9034),u=n(2341);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function c(e){if(e.type)return e;if("#"===e.charAt(0))return c(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,i.A)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,i.A)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function f(e){let t="hsl"===(e=c(e)).type?c(function(e){e=c(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)};let u="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(u+="a",s.push(t[3])),l({type:u,values:s})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){if(e=c(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function d(e,t){if(e=c(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}var h={black:"#000",white:"#fff"};var m={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var g={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var y={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var A={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var x={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const w=["mode","contrastThreshold","tonalOffset"],k={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:h.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},S={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=d(e.main,o):"dark"===t&&(e.dark=p(e.main,i)))}function $(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:u=.2}=e,s=(0,o.A)(e,w),c=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[200],light:v[50],dark:v[400]}:{main:v[700],light:v[400],dark:v[800]}}(t),l=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[200],light:g[50],dark:g[400]}:{main:g[500],light:g[300],dark:g[700]}}(t),p=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[500],light:y[300],dark:y[700]}:{main:y[700],light:y[400],dark:y[800]}}(t),d=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(t),$=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:x[400],light:x[300],dark:x[700]}:{main:x[800],light:x[500],dark:x[900]}}(t),T=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:A[400],light:A[300],dark:A[700]}:{main:"#ed6c02",light:A[500],dark:A[900]}}(t);function P(e){const t=function(e,t){const n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,S.text.primary)>=n?S.text.primary:k.text.primary;return t}const R=e=>{let{color:t,name:n,mainShade:o=500,lightShade:a=300,darkShade:s=700}=e;if(t=(0,r.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,i.A)(11,n?` (${n})`:"",o));if("string"!==typeof t.main)throw new Error((0,i.A)(12,n?` (${n})`:"",JSON.stringify(t.main)));return O(t,"light",a,u),O(t,"dark",s,u),t.contrastText||(t.contrastText=P(t.main)),t},j={dark:S,light:k};return(0,a.A)((0,r.A)({common:(0,r.A)({},h),mode:t,primary:R({color:c,name:"primary"}),secondary:R({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:p,name:"error"}),warning:R({color:T,name:"warning"}),info:R({color:d,name:"info"}),success:R({color:$,name:"success"}),grey:m,contrastThreshold:n,getContrastText:P,augmentColor:R,tonalOffset:u},j[t]),s)}const T=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const P={textTransform:"uppercase"},R='"Roboto", "Helvetica", "Arial", sans-serif';function j(e,t){const n="function"===typeof t?t(e):t,{fontFamily:i=R,fontSize:u=14,fontWeightLight:s=300,fontWeightRegular:c=400,fontWeightMedium:l=500,fontWeightBold:f=700,htmlFontSize:p=16,allVariants:d,pxToRem:h}=n,m=(0,o.A)(n,T);const g=u/14,y=h||(e=>e/p*g+"rem"),A=(e,t,n,o,a)=>{return(0,r.A)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:n},i===R?{letterSpacing:(u=o/t,Math.round(1e5*u)/1e5)+"em"}:{},a,d);var u},v={h1:A(s,96,1.167,-1.5),h2:A(s,60,1.2,-.5),h3:A(c,48,1.167,0),h4:A(c,34,1.235,.25),h5:A(c,24,1.334,0),h6:A(l,20,1.6,.15),subtitle1:A(c,16,1.75,.15),subtitle2:A(l,14,1.57,.1),body1:A(c,16,1.5,.15),body2:A(c,14,1.43,.15),button:A(l,14,1.75,.4,P),caption:A(c,12,1.66,.4),overline:A(c,12,2.66,1,P)};return(0,a.A)((0,r.A)({htmlFontSize:p,pxToRem:y,fontFamily:i,fontSize:u,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:l,fontWeightBold:f},v),m,{clone:!1})}function _(){return[`${arguments.length<=0?void 0:arguments[0]}px ${arguments.length<=1?void 0:arguments[1]}px ${arguments.length<=2?void 0:arguments[2]}px ${arguments.length<=3?void 0:arguments[3]}px rgba(0,0,0,0.2)`,`${arguments.length<=4?void 0:arguments[4]}px ${arguments.length<=5?void 0:arguments[5]}px ${arguments.length<=6?void 0:arguments[6]}px ${arguments.length<=7?void 0:arguments[7]}px rgba(0,0,0,0.14)`,`${arguments.length<=8?void 0:arguments[8]}px ${arguments.length<=9?void 0:arguments[9]}px ${arguments.length<=10?void 0:arguments[10]}px ${arguments.length<=11?void 0:arguments[11]}px rgba(0,0,0,0.12)`].join(",")}var E=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)];const I=["duration","easing","delay"],z={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},M={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function C(e){return`${Math.round(e)}ms`}function B(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function W(e){const t=(0,r.A)({},z,e.easing),n=(0,r.A)({},M,e.duration);return(0,r.A)({getAutoHeightDuration:B,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:i=n.standard,easing:a=t.easeInOut,delay:u=0}=r;(0,o.A)(r,I);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"===typeof i?i:C(i)} ${a} ${"string"===typeof u?u:C(u)}`)).join(",")}},e,{easing:t,duration:n})}var K={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const N=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function F(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:n={},transitions:s={},typography:c={}}=e,l=(0,o.A)(e,N);if(e.vars)throw new Error((0,i.A)(18));const f=$(n),p=(0,u.A)(e);let d=(0,a.A)(p,{mixins:(h=p.breakpoints,m=t,(0,r.A)({toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}}},m)),palette:f,shadows:E.slice(),typography:j(f,c),transitions:W(s),zIndex:(0,r.A)({},K)});var h,m;d=(0,a.A)(d,l);for(var g=arguments.length,y=new Array(g>1?g-1:0),A=1;A<g;A++)y[A-1]=arguments[A];return d=y.reduce(((e,t)=>(0,a.A)(e,t)),d),d}var L=F},195:function(e,t,n){"use strict";const r=(0,n(1550).A)();t.A=r},5786:function(e,t,n){"use strict";n.d(t,{Ay:function(){return v}});var r=n(8587),o=n(8168),i=n(8741),a=n(2341),u=n(7532);const s=["variant"];function c(e){return 0===e.length}function l(e){const{variant:t}=e,n=(0,r.A)(e,s);let o=t||"";return Object.keys(n).sort().forEach((t=>{o+="color"===t?c(o)?e[t]:(0,u.A)(e[t]):`${c(o)?t:(0,u.A)(t)}${(0,u.A)(e[t].toString())}`})),o}var f=n(505);const p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],d=["theme"],h=["theme"];function m(e){return 0===Object.keys(e).length}function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const y=(0,a.A)();const A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultTheme:t=y,rootShouldForwardProp:n=g,slotShouldForwardProp:a=g,styleFunctionSx:u=f.A}=e,s=e=>{const n=m(e.theme)?t:e.theme;return u((0,o.A)({},e,{theme:n}))};return s.__mui_systemSx=!0,function(e){let u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.q_)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:c,slot:f,skipVariantsResolver:y,skipSx:A,overridesResolver:v}=u,b=(0,r.A)(u,p),x=void 0!==y?y:f&&"Root"!==f||!1,w=A||!1;let k=g;"Root"===f?k=n:f?k=a:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(k=void 0);const S=(0,i.Ay)(e,(0,o.A)({shouldForwardProp:k,label:undefined},b)),O=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];const u=i?i.map((e=>"function"===typeof e&&e.__emotion_real!==e?n=>{let{theme:i}=n,a=(0,r.A)(n,d);return e((0,o.A)({theme:m(i)?t:i},a))}:e)):[];let f=e;c&&v&&u.push((e=>{const n=m(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(c,n);if(r){const t={};return Object.entries(r).forEach((r=>{let[i,a]=r;t[i]="function"===typeof a?a((0,o.A)({},e,{theme:n})):a})),v(e,t)}return null})),c&&!x&&u.push((e=>{const n=m(e.theme)?t:e.theme;return((e,t,n,r)=>{var o,i;const{ownerState:a={}}=e,u=[],s=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return s&&s.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&u.push(t[l(n.props)])})),u})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=l(e.props);r[t]=e.style})),r})(c,n),n,c)})),w||u.push(s);const p=u.length-i.length;if(Array.isArray(e)&&p>0){const t=new Array(p).fill("");f=[...e,...t],f.raw=[...e.raw,...t]}else"function"===typeof e&&e.__emotion_real!==e&&(f=n=>{let{theme:i}=n,a=(0,r.A)(n,h);return e((0,o.A)({theme:m(i)?t:i},a))});return S(f,...u)};return S.withConfig&&(O.withConfig=S.withConfig),O}}({defaultTheme:n(195).A,rootShouldForwardProp:e=>g(e)&&"classes"!==e});var v=A},8694:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(8168);function o(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?function(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}(t.components[n].defaultProps,o):o}var i=n(7365);var a=n(195);function u(e){let{props:t,name:n}=e;return function(e){let{props:t,name:n,defaultTheme:r}=e;return o({theme:(0,i.A)(r),name:n,props:t})}({props:t,name:n,defaultTheme:a.A})}},1676:function(e,t,n){"use strict";var r=n(7532);t.A=r.A},3235:function(e,t,n){"use strict";n.d(t,{A:function(){return A}});var r=n(8168),o=n(9950),i=n(8587),a=n(2803),u=n(8465),s=n(1676),c=n(8694),l=n(5786),f=n(423);function p(e){return(0,f.A)("MuiSvgIcon",e)}(0,n(1763).A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var d=n(4414);const h=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,l.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,s.A)(n.color)}`],t[`fontSize${(0,s.A)(n.fontSize)}`]]}})((e=>{let{theme:t,ownerState:n}=e;var r,o,i,a,u,s,c,l,f,p,d,h,m,g,y,A,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(r=t.transitions)||null==(o=r.create)?void 0:o.call(r,"fill",{duration:null==(i=t.transitions)||null==(a=i.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(u=t.typography)||null==(s=u.pxToRem)?void 0:s.call(u,20))||"1.25rem",medium:(null==(c=t.typography)||null==(l=c.pxToRem)?void 0:l.call(c,24))||"1.5rem",large:(null==(f=t.typography)||null==(p=f.pxToRem)?void 0:p.call(f,35))||"2.1875"}[n.fontSize],color:null!=(d=null==(h=(t.vars||t).palette)||null==(m=h[n.color])?void 0:m.main)?d:{action:null==(g=(t.vars||t).palette)||null==(y=g.action)?void 0:y.active,disabled:null==(A=(t.vars||t).palette)||null==(v=A.action)?void 0:v.disabled,inherit:void 0}[n.color]}})),g=o.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiSvgIcon"}),{children:o,className:l,color:f="inherit",component:g="svg",fontSize:y="medium",htmlColor:A,inheritViewBox:v=!1,titleAccess:b,viewBox:x="0 0 24 24"}=n,w=(0,i.A)(n,h),k=(0,r.A)({},n,{color:f,component:g,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:x}),S={};v||(S.viewBox=x);const O=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,s.A)(t)}`,`fontSize${(0,s.A)(n)}`]};return(0,u.A)(o,p,r)})(k);return(0,d.jsxs)(m,(0,r.A)({as:g,className:(0,a.default)(O.root,l),ownerState:k,focusable:"false",color:A,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:t},S,w,{children:[o,b?(0,d.jsx)("title",{children:b}):null]}))}));g.muiName="SvgIcon";var y=g;function A(e,t){const n=(n,o)=>(0,d.jsx)(y,(0,r.A)({"data-testid":`${t}Icon`,ref:o},n,{children:e}));return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},2859:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.A},createChainedFunction:function(){return i},createSvgIcon:function(){return a.A},debounce:function(){return u},deprecatedPropType:function(){return s},isMuiElement:function(){return c.A},ownerDocument:function(){return f},ownerWindow:function(){return p},requirePropFactory:function(){return d},setRef:function(){return m},unstable_ClassNameGenerator:function(){return C},unstable_useEnhancedEffect:function(){return v},unstable_useId:function(){return w},unsupportedProp:function(){return k},useControlled:function(){return S},useEventCallback:function(){return O},useForkRef:function(){return $},useIsFocusVisible:function(){return M}});var r=n(4501),o=n(1676);var i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}),(()=>{}))},a=n(3235);var u=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(t),t=setTimeout((()=>{e.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(t)},r};var s=function(e,t){return()=>null},c=n(834);function l(e){return e&&e.ownerDocument||document}var f=l;var p=function(e){return l(e).defaultView||window};n(8168);var d=function(e,t){return()=>null};function h(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var m=h,g=n(9950),y=n.t(g,2);var A="undefined"!==typeof window?g.useLayoutEffect:g.useEffect,v=A;let b=0;const x=y.useId;var w=function(e){if(void 0!==x){const t=x();return null!=e?e:t}return function(e){const[t,n]=g.useState(e),r=e||t;return g.useEffect((()=>{null==t&&(b+=1,n(`mui-${b}`))}),[t]),r}(e)};var k=function(e,t,n,r,o){return null};var S=function(e){let{controlled:t,default:n,name:r,state:o="value"}=e;const{current:i}=g.useRef(void 0!==t),[a,u]=g.useState(n);return[i?t:a,g.useCallback((e=>{i||u(e)}),[])]};var O=function(e){const t=g.useRef(e);return A((()=>{t.current=e})),g.useCallback((function(){return(0,t.current)(...arguments)}),[])};var $=function(e,t){return g.useMemo((()=>null==e&&null==t?null:n=>{h(e,n),h(t,n)}),[e,t])};let T,P=!0,R=!1;const j={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function _(e){e.metaKey||e.altKey||e.ctrlKey||(P=!0)}function E(){P=!1}function I(){"hidden"===this.visibilityState&&R&&(P=!0)}function z(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return P||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!j[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var M=function(){const e=g.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",_,!0),t.addEventListener("mousedown",E,!0),t.addEventListener("pointerdown",E,!0),t.addEventListener("touchstart",E,!0),t.addEventListener("visibilitychange",I,!0))}),[]),t=g.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!z(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(R=!0,window.clearTimeout(T),T=window.setTimeout((()=>{R=!1}),100),t.current=!1,!0)},ref:e}};const C={configure:e=>{console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),r.A.configure(e)}}},834:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(9950);var o=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},8741:function(e,t,n){"use strict";n.d(t,{Ay:function(){return o},q_:function(){return i}});var r=n(6466);function o(e,t){return(0,r.A)(e,t)}const i=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},8286:function(e,t,n){"use strict";n.d(t,{EU:function(){return a},NI:function(){return i},vf:function(){return u},zu:function(){return r}});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${r[e]}px)`};function i(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"===typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce(((o,i)=>{if(-1!==Object.keys(e.values||r).indexOf(i)){o[e.up(i)]=n(t[i],i)}else{const e=i;o[e]=t[e]}return o}),{})}return n(t)}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function u(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}},2341:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(8168),o=n(8587),i=n(9034);const a=["values","unit","step"];function u(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5}=e,u=(0,o.A)(e,a),s=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,r.A)({},e,{[t.key]:t.val})),{})})(t),c=Object.keys(s);function l(e){return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n})`}function f(e){return`@media (max-width:${("number"===typeof t[e]?t[e]:e)-i/100}${n})`}function p(e,r){const o=c.indexOf(r);return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"===typeof t[c[o]]?t[c[o]]:r)-i/100}${n})`}return(0,r.A)({keys:c,values:s,up:l,down:f,between:p,only:function(e){return c.indexOf(e)+1<c.length?p(e,c[c.indexOf(e)+1]):l(e)},not:function(e){const t=c.indexOf(e);return 0===t?l(c[1]):t===c.length-1?f(c[t]):p(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},u)}var s={borderRadius:4},c=n(7937);const l=["breakpoints","palette","spacing","shape"];var f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:n={},spacing:a,shape:f={}}=e,p=(0,o.A)(e,l),d=u(t),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,c.LX)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0===n.length?[1]:n).map((e=>{const n=t(e);return"number"===typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}(a);let m=(0,i.A)({breakpoints:d,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},n),spacing:h,shape:(0,r.A)({},s,f)},p);for(var g=arguments.length,y=new Array(g>1?g-1:0),A=1;A<g;A++)y[A-1]=arguments[A];return m=y.reduce(((e,t)=>(0,i.A)(e,t)),m),m}},2015:function(e,t,n){"use strict";n.d(t,{en:function(){return Y},y6:function(){return X}});var r=n(2703),o=n(6206);var i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),i=e=>Object.keys(e).reduce(((t,n)=>r[n]?(0,o.A)(t,r[n](e)):t),{});return i.propTypes={},i.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),i},a=n(7937),u=n(8286);function s(e){return"number"!==typeof e?e:`${e}px solid`}const c=(0,r.A)({prop:"border",themeKey:"borders",transform:s}),l=(0,r.A)({prop:"borderTop",themeKey:"borders",transform:s}),f=(0,r.A)({prop:"borderRight",themeKey:"borders",transform:s}),p=(0,r.A)({prop:"borderBottom",themeKey:"borders",transform:s}),d=(0,r.A)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,r.A)({prop:"borderColor",themeKey:"palette"}),m=(0,r.A)({prop:"borderTopColor",themeKey:"palette"}),g=(0,r.A)({prop:"borderRightColor",themeKey:"palette"}),y=(0,r.A)({prop:"borderBottomColor",themeKey:"palette"}),A=(0,r.A)({prop:"borderLeftColor",themeKey:"palette"}),v=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,a.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,a._W)(t,e)});return(0,u.NI)(e,e.borderRadius,n)}return null};v.propTypes={},v.filterProps=["borderRadius"];var b=i(c,l,f,p,d,h,m,g,y,A,v);var x=i((0,r.A)({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),(0,r.A)({prop:"display"}),(0,r.A)({prop:"overflow"}),(0,r.A)({prop:"textOverflow"}),(0,r.A)({prop:"visibility"}),(0,r.A)({prop:"whiteSpace"}));var w=i((0,r.A)({prop:"flexBasis"}),(0,r.A)({prop:"flexDirection"}),(0,r.A)({prop:"flexWrap"}),(0,r.A)({prop:"justifyContent"}),(0,r.A)({prop:"alignItems"}),(0,r.A)({prop:"alignContent"}),(0,r.A)({prop:"order"}),(0,r.A)({prop:"flex"}),(0,r.A)({prop:"flexGrow"}),(0,r.A)({prop:"flexShrink"}),(0,r.A)({prop:"alignSelf"}),(0,r.A)({prop:"justifyItems"}),(0,r.A)({prop:"justifySelf"}));const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,a.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,a._W)(t,e)});return(0,u.NI)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,a.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,a._W)(t,e)});return(0,u.NI)(e,e.columnGap,n)}return null};S.propTypes={},S.filterProps=["columnGap"];const O=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,a.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,a._W)(t,e)});return(0,u.NI)(e,e.rowGap,n)}return null};O.propTypes={},O.filterProps=["rowGap"];var $=i(k,S,O,(0,r.A)({prop:"gridColumn"}),(0,r.A)({prop:"gridRow"}),(0,r.A)({prop:"gridAutoFlow"}),(0,r.A)({prop:"gridAutoColumns"}),(0,r.A)({prop:"gridAutoRows"}),(0,r.A)({prop:"gridTemplateColumns"}),(0,r.A)({prop:"gridTemplateRows"}),(0,r.A)({prop:"gridTemplateAreas"}),(0,r.A)({prop:"gridArea"}));var T=i((0,r.A)({prop:"position"}),(0,r.A)({prop:"zIndex",themeKey:"zIndex"}),(0,r.A)({prop:"top"}),(0,r.A)({prop:"right"}),(0,r.A)({prop:"bottom"}),(0,r.A)({prop:"left"}));var P=i((0,r.A)({prop:"color",themeKey:"palette"}),(0,r.A)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),(0,r.A)({prop:"backgroundColor",themeKey:"palette"}));var R=(0,r.A)({prop:"boxShadow",themeKey:"shadows"});function j(e){return e<=1&&0!==e?100*e+"%":e}const _=(0,r.A)({prop:"width",transform:j}),E=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||u.zu[t]||j(t)}};return(0,u.NI)(e,e.maxWidth,t)}return null};E.filterProps=["maxWidth"];const I=(0,r.A)({prop:"minWidth",transform:j}),z=(0,r.A)({prop:"height",transform:j}),M=(0,r.A)({prop:"maxHeight",transform:j}),C=(0,r.A)({prop:"minHeight",transform:j});(0,r.A)({prop:"size",cssProperty:"width",transform:j}),(0,r.A)({prop:"size",cssProperty:"height",transform:j});var B=i(_,E,I,z,M,C,(0,r.A)({prop:"boxSizing"}));const W=(0,r.A)({prop:"fontFamily",themeKey:"typography"}),K=(0,r.A)({prop:"fontSize",themeKey:"typography"}),N=(0,r.A)({prop:"fontStyle",themeKey:"typography"}),F=(0,r.A)({prop:"fontWeight",themeKey:"typography"}),L=(0,r.A)({prop:"letterSpacing"}),G=(0,r.A)({prop:"textTransform"}),V=(0,r.A)({prop:"lineHeight"}),H=(0,r.A)({prop:"textAlign"});var D=i((0,r.A)({prop:"typography",cssProperty:!1,themeKey:"typography"}),W,K,N,F,L,V,H,G);const U={borders:b.filterProps,display:x.filterProps,flexbox:w.filterProps,grid:$.filterProps,positions:T.filterProps,palette:P.filterProps,shadows:R.filterProps,sizing:B.filterProps,spacing:a.Ay.filterProps,typography:D.filterProps},X={borders:b,display:x,flexbox:w,grid:$,positions:T,palette:P,shadows:R,sizing:B,spacing:a.Ay,typography:D},Y=Object.keys(U).reduce(((e,t)=>(U[t].forEach((n=>{e[n]=X[t]})),e)),{})},6206:function(e,t,n){"use strict";var r=n(9034);t.A=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},7937:function(e,t,n){"use strict";n.d(t,{LX:function(){return h},MA:function(){return d},Ay:function(){return x},_W:function(){return m}});var r=n(8286),o=n(2703),i=n(6206);const a={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}const[t,n]=e.split(""),r=a[t],o=u[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),l=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...l,...f];function d(e,t,n,r){var i;const a=null!=(i=(0,o.Y)(e,t,!1))?i:n;return"number"===typeof a?e=>"string"===typeof e?e:a*e:Array.isArray(a)?e=>"string"===typeof e?e:a[e]:"function"===typeof a?a:()=>{}}function h(e){return d(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(c(n),o),a=e[n];return(0,r.NI)(e,a,i)}function y(e,t){const n=h(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(i.A,{})}function A(e){return y(e,l)}function v(e){return y(e,f)}function b(e){return y(e,p)}A.propTypes={},A.filterProps=l,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=p;var x=b},2703:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(7532),o=n(8286);function i(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n){let r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:i(e,n)||o,t&&(r=t(r)),r}t.A=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:u,transform:s}=e,c=e=>{if(null==e[t])return null;const c=e[t],l=i(e.theme,u)||{};return(0,o.NI)(e,c,(e=>{let o=a(l,s,e);return e===o&&"string"===typeof e&&(o=a(l,s,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},505:function(e,t,n){"use strict";var r=n(6206),o=n(2015),i=n(8286);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.y6;const t=Object.keys(e).reduce(((t,n)=>(e[n].filterProps.forEach((r=>{t[r]=e[n]})),t)),{});function n(e,n,r){const o={[e]:n,theme:r},i=t[e];return i?i(o):{[e]:n}}return function e(o){const{sx:a,theme:u={}}=o||{};if(!a)return null;function s(o){let a=o;if("function"===typeof o)a=o(u);else if("object"!==typeof o)return o;if(!a)return null;const s=(0,i.EU)(u.breakpoints),c=Object.keys(s);let l=s;return Object.keys(a).forEach((o=>{const s=(c=a[o],f=u,"function"===typeof c?c(f):c);var c,f;if(null!==s&&void 0!==s)if("object"===typeof s)if(t[o])l=(0,r.A)(l,n(o,s,u));else{const t=(0,i.NI)({theme:u},s,(e=>({[o]:e})));!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(r);return t.every((e=>o.size===Object.keys(e).length))}(t,s)?l=(0,r.A)(l,t):l[o]=e({sx:s,theme:u})}else l=(0,r.A)(l,n(o,s,u))})),(0,i.vf)(c,l)}return Array.isArray(a)?a.map(s):s(a)}}();a.filterProps=["sx"],t.A=a},7365:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(2341),o=n(9950);var i=o.createContext(null);var a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=o.useContext(i);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n};const u=(0,r.A)();var s=function(){return a(arguments.length>0&&void 0!==arguments[0]?arguments[0]:u)}},4501:function(e,t){"use strict";const n=e=>e,r=(()=>{let e=n;return{configure(t){e=t},generate(t){return e(t)},reset(){e=n}}})();t.A=r},7532:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(9753);function o(e){if("string"!==typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8465:function(e,t,n){"use strict";function r(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}n.d(t,{A:function(){return r}})},9034:function(e,t,n){"use strict";n.d(t,{A:function(){return i},Q:function(){return o}});var r=n(8168);function o(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const a=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},9753:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:function(){return r}})},423:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(4501);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},1763:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(423);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,r.A)(e,t,n)})),o}},2803:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.r(t),n.d(t,{clsx:function(){return o}}),t.default=o},8587:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:function(){return r}})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[859],{2209:function(e,t,r){var n=r(5709);t.A=void 0;var o=n(r(9526)),a=r(4414),i=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.A=i},6702:function(e,t,r){var n=r(5709);t.A=void 0;var o=n(r(9526)),a=r(4414),i=(0,o.default)((0,a.jsx)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");t.A=i},5727:function(e,t,r){var n=r(5709);t.A=void 0;var o=n(r(9526)),a=r(4414),i=(0,o.default)((0,a.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");t.A=i},5217:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return f.default}}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,r&&r.set(e,o);return o}(r(9950)),a=g(r(1942)),i=g(r(7119)),u=g(r(2803)),l=r(9219),s=r(7616),c=r(5190),f=g(r(6450)),d=g(r(3782)),p=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){M(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(l){u=!0,o=l}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D(e,t){return D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},D(e,t)}function P(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=x(e);if(t){var a=x(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return j(e)}(this,r)}}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t)}(c,e);var t,r,n,a=P(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),M(j(t=a.call(this,e)),"onDragStart",(function(e,r){if((0,d.default)("Draggable: onDragStart: %j",r),!1===t.props.onStart(e,(0,s.createDraggableData)(j(t),r)))return!1;t.setState({dragging:!0,dragged:!0})})),M(j(t),"onDrag",(function(e,r){if(!t.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",r);var n=(0,s.createDraggableData)(j(t),r),o={x:n.x,y:n.y};if(t.props.bounds){var a=o.x,i=o.y;o.x+=t.state.slackX,o.y+=t.state.slackY;var u=w((0,s.getBoundPosition)(j(t),o.x,o.y),2),l=u[0],c=u[1];o.x=l,o.y=c,o.slackX=t.state.slackX+(a-o.x),o.slackY=t.state.slackY+(i-o.y),n.x=o.x,n.y=o.y,n.deltaX=o.x-t.state.x,n.deltaY=o.y-t.state.y}if(!1===t.props.onDrag(e,n))return!1;t.setState(o)})),M(j(t),"onDragStop",(function(e,r){if(!t.state.dragging)return!1;if(!1===t.props.onStop(e,(0,s.createDraggableData)(j(t),r)))return!1;(0,d.default)("Draggable: onDragStop: %j",r);var n={dragging:!1,slackX:0,slackY:0};if(Boolean(t.props.position)){var o=t.props.position,a=o.x,i=o.y;n.x=a,n.y=i}t.setState(n)})),t.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:m({},e.position),slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return t=c,n=[{key:"getDerivedStateFromProps",value:function(e,t){var r=e.position,n=t.prevPropsPosition;return!r||n&&r.x===n.x&&r.y===n.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:r,prevPropsPosition:n}),{x:r.x,y:r.y,prevPropsPosition:m({},r)})}}],(r=[{key:"componentDidMount",value:function(){"undefined"!==typeof window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var e,t,r;return null!==(e=null===(t=this.props)||void 0===t||null===(r=t.nodeRef)||void 0===r?void 0:r.current)&&void 0!==e?e:i.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,r=(t.axis,t.bounds,t.children),n=t.defaultPosition,a=t.defaultClassName,i=t.defaultClassNameDragging,c=t.defaultClassNameDragged,d=t.position,g=t.positionOffset,y=(t.scale,b(t,p)),v={},w=null,S=!Boolean(d)||this.state.dragging,O=d||n,D={x:(0,s.canDragX)(this)&&S?this.state.x:O.x,y:(0,s.canDragY)(this)&&S?this.state.y:O.y};this.state.isElementSVG?w=(0,l.createSVGTransform)(D,g):v=(0,l.createCSSTransform)(D,g);var P=(0,u.default)(r.props.className||"",a,(M(e={},i,this.state.dragging),M(e,c,this.state.dragged),e));return o.createElement(f.default,h({},y,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),o.cloneElement(o.Children.only(r),{className:P,style:m(m({},r.props.style),v),transform:w}))}}])&&O(t.prototype,r),n&&O(t,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Component);t.default=E,M(E,"displayName","Draggable"),M(E,"propTypes",m(m({},f.default.propTypes),{},{axis:a.default.oneOf(["both","x","y","none"]),bounds:a.default.oneOfType([a.default.shape({left:a.default.number,right:a.default.number,top:a.default.number,bottom:a.default.number}),a.default.string,a.default.oneOf([!1])]),defaultClassName:a.default.string,defaultClassNameDragging:a.default.string,defaultClassNameDragged:a.default.string,defaultPosition:a.default.shape({x:a.default.number,y:a.default.number}),positionOffset:a.default.shape({x:a.default.oneOfType([a.default.number,a.default.string]),y:a.default.oneOfType([a.default.number,a.default.string])}),position:a.default.shape({x:a.default.number,y:a.default.number}),className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe})),M(E,"defaultProps",m(m({},f.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},6450:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}o.default=e,r&&r.set(e,o);return o}(r(9950)),a=f(r(1942)),i=f(r(7119)),u=r(9219),l=r(7616),s=r(5190),c=f(r(3782));function f(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(l){u=!0,o=l}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,r)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S={start:"touchstart",move:"touchmove",stop:"touchend"},O={start:"mousedown",move:"mousemove",stop:"mouseup"},D=O,P=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(s,e);var t,r,n,a=b(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return w(v(e=a.call.apply(a,[this].concat(r))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),w(v(e),"mounted",!1),w(v(e),"handleDragStart",(function(t){if(e.props.onMouseDown(t),!e.props.allowAnyClick&&"number"===typeof t.button&&0!==t.button)return!1;var r=e.findDOMNode();if(!r||!r.ownerDocument||!r.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var n=r.ownerDocument;if(!(e.props.disabled||!(t.target instanceof n.defaultView.Node)||e.props.handle&&!(0,u.matchesSelectorAndParentsTo)(t.target,e.props.handle,r)||e.props.cancel&&(0,u.matchesSelectorAndParentsTo)(t.target,e.props.cancel,r))){"touchstart"===t.type&&t.preventDefault();var o=(0,u.getTouchIdentifier)(t);e.setState({touchIdentifier:o});var a=(0,l.getControlPosition)(t,o,v(e));if(null!=a){var i=a.x,s=a.y,f=(0,l.createCoreData)(v(e),i,s);(0,c.default)("DraggableCore: handleDragStart: %j",f),(0,c.default)("calling",e.props.onStart),!1!==e.props.onStart(t,f)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,u.addUserSelectStyles)(n),e.setState({dragging:!0,lastX:i,lastY:s}),(0,u.addEvent)(n,D.move,e.handleDrag),(0,u.addEvent)(n,D.stop,e.handleDragStop))}}})),w(v(e),"handleDrag",(function(t){var r=(0,l.getControlPosition)(t,e.state.touchIdentifier,v(e));if(null!=r){var n=r.x,o=r.y;if(Array.isArray(e.props.grid)){var a=n-e.state.lastX,i=o-e.state.lastY,u=p((0,l.snapToGrid)(e.props.grid,a,i),2);if(a=u[0],i=u[1],!a&&!i)return;n=e.state.lastX+a,o=e.state.lastY+i}var s=(0,l.createCoreData)(v(e),n,o);if((0,c.default)("DraggableCore: handleDrag: %j",s),!1!==e.props.onDrag(t,s)&&!1!==e.mounted)e.setState({lastX:n,lastY:o});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(d){var f=document.createEvent("MouseEvents");f.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(f)}}})),w(v(e),"handleDragStop",(function(t){if(e.state.dragging){var r=(0,l.getControlPosition)(t,e.state.touchIdentifier,v(e));if(null!=r){var n=r.x,o=r.y;if(Array.isArray(e.props.grid)){var a=n-e.state.lastX||0,i=o-e.state.lastY||0,s=p((0,l.snapToGrid)(e.props.grid,a,i),2);a=s[0],i=s[1],n=e.state.lastX+a,o=e.state.lastY+i}var f=(0,l.createCoreData)(v(e),n,o);if(!1===e.props.onStop(t,f)||!1===e.mounted)return!1;var d=e.findDOMNode();d&&e.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(d.ownerDocument),(0,c.default)("DraggableCore: handleDragStop: %j",f),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),d&&((0,c.default)("DraggableCore: Removing handlers"),(0,u.removeEvent)(d.ownerDocument,D.move,e.handleDrag),(0,u.removeEvent)(d.ownerDocument,D.stop,e.handleDragStop))}}})),w(v(e),"onMouseDown",(function(t){return D=O,e.handleDragStart(t)})),w(v(e),"onMouseUp",(function(t){return D=O,e.handleDragStop(t)})),w(v(e),"onTouchStart",(function(t){return D=S,e.handleDragStart(t)})),w(v(e),"onTouchEnd",(function(t){return D=S,e.handleDragStop(t)})),e}return t=s,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,u.addEvent)(e,S.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,u.removeEvent)(t,O.move,this.handleDrag),(0,u.removeEvent)(t,S.move,this.handleDrag),(0,u.removeEvent)(t,O.stop,this.handleDragStop),(0,u.removeEvent)(t,S.stop,this.handleDragStop),(0,u.removeEvent)(e,S.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function(){var e,t,r;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(r=t.nodeRef)||void 0===r?void 0:r.current:i.default.findDOMNode(this)}},{key:"render",value:function(){return o.cloneElement(o.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.Component);t.default=P,w(P,"displayName","DraggableCore"),w(P,"propTypes",{allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,nodeRef:a.default.object,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,scale:a.default.number,className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe}),w(P,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},1628:function(e,t,r){var n=r(5217),o=n.default,a=n.DraggableCore;e.exports=o,e.exports.default=o,e.exports.DraggableCore=a},9219:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=p,t.addEvent=function(e,t,r,n){if(!e)return;var o=l({capture:!0},n);e.addEventListener?e.addEventListener(t,r,o):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},t.addUserSelectStyles=function(e){if(!e)return;var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&p(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){var r=d(e,t,"px");return s({},(0,a.browserPrefixToKey)("transform",a.default),r)},t.createSVGTransform=function(e,t){return d(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,o.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,o.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=d,t.innerHeight=function(e){var t=e.clientHeight,r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,o.int)(r.paddingTop),t-=(0,o.int)(r.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,o.int)(r.paddingLeft),t-=(0,o.int)(r.paddingRight)},t.matchesSelector=f,t.matchesSelectorAndParentsTo=function(e,t,r){var n=e;do{if(f(n,t))return!0;if(n===r)return!1;n=n.parentNode}while(n);return!1},t.offsetXYFromParent=function(e,t,r){var n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-n.left)/r,a=(e.clientY+t.scrollTop-n.top)/r;return{x:o,y:a}},t.outerHeight=function(e){var t=e.clientHeight,r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,o.int)(r.borderTopWidth),t+=(0,o.int)(r.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,o.int)(r.borderLeftWidth),t+=(0,o.int)(r.borderRightWidth)},t.removeClassName=g,t.removeEvent=function(e,t,r,n){if(!e)return;var o=l({capture:!0},n);e.removeEventListener?e.removeEventListener(t,r,o):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&g(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(r){}};var o=r(5190),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=a?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}o.default=e,r&&r.set(e,o);return o}(r(1228));function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c="";function f(e,t){return c||(c=(0,o.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,o.isFunction)(e[t])}))),!!(0,o.isFunction)(e[c])&&e[c](t)}function d(e,t,r){var n=e.x,o=e.y,a="translate(".concat(n).concat(r,",").concat(o).concat(r,")");if(t){var i="".concat("string"===typeof t.x?t.x:t.x+r),u="".concat("string"===typeof t.y?t.y:t.y+r);a="translate(".concat(i,", ").concat(u,")")+a}return a}function p(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function g(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},1228:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=n;var r=["Moz","Webkit","O","ms"];function n(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window)return"";var a=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!a)return"";if(n in a)return"";for(var i=0;i<r.length;i++)if(o(n,r[i])in a)return r[i];return""}function o(e,t){return t?"".concat(t).concat(function(e){for(var t="",r=!0,n=0;n<e.length;n++)r?(t+=e[n].toUpperCase(),r=!1):"-"===e[n]?r=!0:t+=e[n];return t}(e)):e}var a=n();t.default=a},3782:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},7616:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,r){var o=e.state,i=!(0,n.isNum)(o.lastX),u=a(e);return i?{node:u,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:u,deltaX:t-o.lastX,deltaY:r-o.lastY,lastX:o.lastX,lastY:o.lastY,x:t,y:r}},t.createDraggableData=function(e,t){var r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,r){if(!e.props.bounds)return[t,r];var i=e.props.bounds;i="string"===typeof i?i:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(i);var u=a(e);if("string"===typeof i){var l,s=u.ownerDocument,c=s.defaultView;if(!((l="parent"===i?u.parentNode:s.querySelector(i))instanceof c.HTMLElement))throw new Error('Bounds selector "'+i+'" could not find an element.');var f=l,d=c.getComputedStyle(u),p=c.getComputedStyle(f);i={left:-u.offsetLeft+(0,n.int)(p.paddingLeft)+(0,n.int)(d.marginLeft),top:-u.offsetTop+(0,n.int)(p.paddingTop)+(0,n.int)(d.marginTop),right:(0,o.innerWidth)(f)-(0,o.outerWidth)(u)-u.offsetLeft+(0,n.int)(p.paddingRight)-(0,n.int)(d.marginRight),bottom:(0,o.innerHeight)(f)-(0,o.outerHeight)(u)-u.offsetTop+(0,n.int)(p.paddingBottom)-(0,n.int)(d.marginBottom)}}(0,n.isNum)(i.right)&&(t=Math.min(t,i.right));(0,n.isNum)(i.bottom)&&(r=Math.min(r,i.bottom));(0,n.isNum)(i.left)&&(t=Math.max(t,i.left));(0,n.isNum)(i.top)&&(r=Math.max(r,i.top));return[t,r]},t.getControlPosition=function(e,t,r){var n="number"===typeof t?(0,o.getTouch)(e,t):null;if("number"===typeof t&&!n)return null;var i=a(r),u=r.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,o.offsetXYFromParent)(n||e,u,r.props.scale)},t.snapToGrid=function(e,t,r){var n=Math.round(t/e[0])*e[0],o=Math.round(r/e[1])*e[1];return[n,o]};var n=r(5190),o=r(9219);function a(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},5190:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,r){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(r," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(var r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"===typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"===typeof e&&!isNaN(e)}}}]);