-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-tsx-9f57ab62917fc7eec00a.js
3 lines (3 loc) · 70.4 KB
/
component---src-pages-index-tsx-9f57ab62917fc7eec00a.js
1
2
3
/*! For license information please see component---src-pages-index-tsx-9f57ab62917fc7eec00a.js.LICENSE.txt */
(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[691],{5900:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var c in n)r.call(n,c)&&n[c]&&e.push(c)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1455:function(e,t,n){"use strict";var r=n(8072),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,c,l,s,u=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),c=document.createRange(),l=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),c.selectNodeContents(s),l.addRange(c),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(c):l.removeAllRanges()),s&&document.body.removeChild(s),i()}return u}},660:function(e,t,n){"use strict";n.r(t),n.d(t,{InView:function(){return v},default:function(){return v},defaultFallbackInView:function(){return u},observe:function(){return f},useInView:function(){return h}});var r=n(7294);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}var i=new Map,c=new WeakMap,l=0,s=void 0;function u(e){s=e}function d(e){return Object.keys(e).sort().filter((function(t){return void 0!==e[t]})).map((function(t){return t+"_"+("root"===t?(n=e.root)?(c.has(n)||(l+=1,c.set(n,l.toString())),c.get(n)):"0":e[t]);var n})).toString()}function f(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=s),void 0===window.IntersectionObserver&&void 0!==r){var o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var a=function(e){var t=d(e),n=i.get(t);if(!n){var r,o=new Map,a=new IntersectionObserver((function(t){t.forEach((function(t){var n,a=t.isIntersecting&&r.some((function(e){return t.intersectionRatio>=e}));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(n=o.get(t.target))||n.forEach((function(e){e(a,t)}))}))}),e);r=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:a,elements:o},i.set(t,n)}return n}(n),c=a.id,l=a.observer,u=a.elements,f=u.get(e)||[];return u.has(e)||u.set(e,f),f.push(t),l.observe(e),function(){f.splice(f.indexOf(t),1),0===f.length&&(u.delete(e),l.unobserve(e)),0===u.size&&(l.disconnect(),i.delete(c))}}var m=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function p(e){return"function"!=typeof e.children}var v=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){n.node&&(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),p(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n);var c=i.prototype;return c.componentDidUpdate=function(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())},c.componentWillUnmount=function(){this.unobserve(),this.node=null},c.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,o=e.trackVisibility,a=e.delay,i=e.fallbackInView;this._unobserveCb=f(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:o,delay:a},i)}},c.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},c.render=function(){if(!p(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var a=this.props,i=a.children,c=a.as,l=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(a,m);return r.createElement(c||"div",o({ref:this.handleNode},l),i)},i}(r.Component);function h(e){var t=void 0===e?{}:e,n=t.threshold,o=t.delay,a=t.trackVisibility,i=t.rootMargin,c=t.root,l=t.triggerOnce,s=t.skip,u=t.initialInView,d=t.fallbackInView,m=r.useRef(),p=r.useState({inView:!!u}),v=p[0],h=p[1],g=r.useCallback((function(e){void 0!==m.current&&(m.current(),m.current=void 0),s||e&&(m.current=f(e,(function(e,t){h({inView:e,entry:t}),t.isIntersecting&&l&&m.current&&(m.current(),m.current=void 0)}),{root:c,rootMargin:i,threshold:n,trackVisibility:a,delay:o},d))}),[Array.isArray(n)?n.toString():n,c,i,l,s,a,d,o]);(0,r.useEffect)((function(){m.current||!v.entry||l||s||h({inView:!!u})}));var y=[g,v.inView,v.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}v.displayName="InView",v.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},5238:function(e,t,n){"use strict";t.Z=void 0;var r=i(n(7294)),o=i(n(5697)),a=i(n(5900));function i(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.animate,n=void 0===t||t,o=e.className,i=void 0===o?"":o,c=e.layout,l=void 0===c?"2-columns":c,s=e.lineColor,u=void 0===s?"#FFF":s,d=e.children;return"object"==typeof window&&document.documentElement.style.setProperty("--line-color",u),r.default.createElement("div",{className:(0,a.default)(i,"vertical-timeline",{"vertical-timeline--animate":n,"vertical-timeline--two-columns":"2-columns"===l,"vertical-timeline--one-column-left":"1-column"===l||"1-column-left"===l,"vertical-timeline--one-column-right":"1-column-right"===l})},d)};c.propTypes={children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node]).isRequired,className:o.default.string,animate:o.default.bool,layout:o.default.oneOf(["1-column-left","1-column","2-columns","1-column-right"]),lineColor:o.default.string};var l=c;t.Z=l},7038:function(e,t,n){"use strict";t.Z=void 0;var r=c(n(7294)),o=c(n(5697)),a=c(n(5900)),i=n(660);function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.children,n=void 0===t?"":t,o=e.className,c=void 0===o?"":o,l=e.contentArrowStyle,s=void 0===l?null:l,u=e.contentStyle,d=void 0===u?null:u,f=e.date,m=void 0===f?"":f,p=e.dateClassName,v=void 0===p?"":p,h=e.icon,g=void 0===h?null:h,y=e.iconClassName,b=void 0===y?"":y,w=e.iconOnClick,E=void 0===w?null:w,k=e.onTimelineElementClick,x=void 0===k?null:k,C=e.iconStyle,N=void 0===C?null:C,O=e.id,S=void 0===O?"":O,_=e.position,P=void 0===_?"":_,M=e.style,R=void 0===M?null:M,T=e.textClassName,A=void 0===T?"":T,I=e.intersectionObserverProps,j=void 0===I?{rootMargin:"0px 0px -40px 0px",triggerOnce:!0}:I,F=e.visible,D=void 0!==F&&F;return r.default.createElement(i.InView,j,(function(e){var t=e.inView,o=e.ref;return r.default.createElement("div",{ref:o,id:S,className:(0,a.default)(c,"vertical-timeline-element",{"vertical-timeline-element--left":"left"===P,"vertical-timeline-element--right":"right"===P,"vertical-timeline-element--no-children":""===n}),style:R},r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{style:N,onClick:E,className:(0,a.default)(b,"vertical-timeline-element-icon",{"bounce-in":t||D,"is-hidden":!(t||D)})},g),r.default.createElement("div",{style:d,onClick:x,className:(0,a.default)(A,"vertical-timeline-element-content",{"bounce-in":t||D,"is-hidden":!(t||D)})},r.default.createElement("div",{style:s,className:"vertical-timeline-element-content-arrow"}),n,r.default.createElement("span",{className:(0,a.default)(v,"vertical-timeline-element-date")},m))))}))};l.propTypes={children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node]),className:o.default.string,contentArrowStyle:o.default.shape({}),contentStyle:o.default.shape({}),date:o.default.node,dateClassName:o.default.string,icon:o.default.element,iconClassName:o.default.string,iconStyle:o.default.shape({}),iconOnClick:o.default.func,onTimelineElementClick:o.default.func,id:o.default.string,position:o.default.string,style:o.default.shape({}),textClassName:o.default.string,visible:o.default.bool,intersectionObserverProps:o.default.shape({root:o.default.object,rootMargin:o.default.string,threshold:o.default.number,triggerOnce:o.default.bool})};var s=l;t.Z=s},7772:function(e,t,n){"use strict";e.exports={VerticalTimeline:n(5238).Z,VerticalTimelineElement:n(7038).Z}},8072:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},1528:function(e,t,n){"use strict";var r=n(7294),o=n(5205);t.Z=function(){return r.createElement("div",{style:{background:o.af.dark.palette.accent.main,display:"flex",textAlign:"center",justifyContent:"center",width:"100%",height:"auto",flexDirection:"column",alignItems:"center"}},r.createElement("div",null,r.createElement("h1",{className:"sponsorsText",style:{color:o.af.dark.palette.primary.main}},"Sponsors")),r.createElement("div",{className:"banner"},r.createElement("img",{src:"/images/sponsors/balsamic_logo.png"}),r.createElement("img",{src:"/images/sponsors/echoAR.png"})))}},3359:function(e,t,n){"use strict";n.r(t),n.d(t,{Head:function(){return Kr},default:function(){return Qr}});var r=n(7294),o=n(2302),a=n(4001),i=n(7108),c=n(9037),l=n(5205),s=function(e,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},s(e,t)};var u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)};function d(e){var t=e.className,n=e.counterClockwise,o=e.dashRatio,a=e.pathRadius,i=e.strokeWidth,c=e.style;return(0,r.createElement)("path",{className:t,style:Object.assign({},c,m({pathRadius:a,dashRatio:o,counterClockwise:n})),d:f({pathRadius:a,counterClockwise:n}),strokeWidth:i,fillOpacity:0})}function f(e){var t=e.pathRadius,n=e.counterClockwise?1:0;return"\n M 50,50\n m 0,-"+t+"\n a "+t+","+t+" "+n+" 1 1 0,"+2*t+"\n a "+t+","+t+" "+n+" 1 1 0,-"+2*t+"\n "}function m(e){var t=e.counterClockwise,n=e.dashRatio,r=e.pathRadius,o=2*Math.PI*r,a=(1-n)*o;return{strokeDasharray:o+"px "+o+"px",strokeDashoffset:(t?-a:a)+"px"}}var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},t.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},t.prototype.getPathRatio=function(){var e=this.props,t=e.value,n=e.minValue,r=e.maxValue;return(Math.min(Math.max(t,n),r)-n)/(r-n)},t.prototype.render=function(){var e=this.props,t=e.circleRatio,n=e.className,o=e.classes,a=e.counterClockwise,i=e.styles,c=e.strokeWidth,l=e.text,s=this.getPathRadius(),u=this.getPathRatio();return(0,r.createElement)("svg",{className:o.root+" "+n,style:i.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,r.createElement)("circle",{className:o.background,style:i.background,cx:50,cy:50,r:50}):null,(0,r.createElement)(d,{className:o.trail,counterClockwise:a,dashRatio:t,pathRadius:s,strokeWidth:c,style:i.trail}),(0,r.createElement)(d,{className:o.path,counterClockwise:a,dashRatio:u*t,pathRadius:s,strokeWidth:c,style:i.path}),l?(0,r.createElement)("text",{className:o.text,style:i.text,x:50,y:50},l):null)},t.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},t}(r.Component);function v(e){e.children;var t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n}(e,["children"]);return(0,r.createElement)("div",{"data-test-id":"CircularProgressbarWithChildren"},(0,r.createElement)("div",{style:{position:"relative",width:"100%",height:"100%"}},(0,r.createElement)(p,u({},t)),e.children?(0,r.createElement)("div",{"data-test-id":"CircularProgressbarWithChildren__children",style:{position:"absolute",width:"100%",height:"100%",marginTop:"-100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},e.children):null))}function h(e){return Object.keys(e).forEach((function(t){null==e[t]&&delete e[t]})),e}var g=function(e){var t=e.currentTime,n=(e.timeOfEvent.getTime()-t.getTime())/6e4,r=Math.floor(n/1440),o=Math.floor((n-60*r*24)/60);return[r,o,Math.ceil(n-60*r*24-60*o)]},y=function(e){var t=e.year,n=e.month,o=e.day,a=e.hour,i=new Date(t,n,o,a,0,0),c=new Date,s=(0,r.useState)(g({currentTime:c,timeOfEvent:i})),u=s[0],d=s[1];function f(e,t){return 100-Math.round(e/t*100)}(0,r.useEffect)((function(){var e=setInterval((function(){var e=new Date;d((function(){return g({currentTime:e,timeOfEvent:i})}))}),1e3);return function(){return clearInterval(e)}}),[]);f(u[1],24),f(u[0],30.5),f(u[2],60);var m,p,y,b,w,E,k,x,C,N,O,S,_=(m={rotation:.5,strokeLinecap:"butt",textSize:"16px",pathColor:l.af.dark.palette.primary.main,textColor:l.af.dark.palette.secondary.main,trailColor:l.af.dark.palette.accent.main},p=m.rotation,y=m.strokeLinecap,b=m.textColor,w=m.textSize,E=m.pathColor,k=m.pathTransition,x=m.pathTransitionDuration,C=m.trailColor,N=m.backgroundColor,{root:{},path:h({stroke:E,strokeLinecap:y,transform:O=null==p?void 0:"rotate("+p+"turn)",transformOrigin:S=null==p?void 0:"center center",transition:k,transitionDuration:null==x?void 0:x+"s"}),trail:h({stroke:C,strokeLinecap:y,transform:O,transformOrigin:S}),text:h({fill:b,fontSize:w}),background:h({fill:N})});return r.createElement(r.Fragment,null,r.createElement("div",{style:{paddingTop:"10vh",background:l.af.dark.palette.primary.main,color:l.af.dark.palette.secondary.main,margin:0}},r.createElement("div",{className:"progressBars"},r.createElement(v,{value:0,className:"progressCircle",styles:_},r.createElement("div",{className:"circleBigText"},"0"),r.createElement("div",null,"Days")),r.createElement(v,{value:0,className:"progressCircle",styles:_},r.createElement("div",{className:"circleBigText"},"0"),r.createElement("div",null,"Hours")),r.createElement(v,{value:0,className:"progressCircle",styles:_},r.createElement("div",{className:"circleBigText"},"0"),r.createElement("div",null,"Minutes")))))},b=n(7772),w=function(e){var t=e.eventInfo;return r.createElement(r.Fragment,null,r.createElement(b.VerticalTimeline,{lineColor:l.af.dark.palette.accent.main},t.map((function(e,t){return r.createElement(b.VerticalTimelineElement,{key:t,className:"vertical-timeline-element--work",contentStyle:{background:l.af.dark.palette.primary.main,color:l.af.dark.palette.secondary.secondary,boxShadow:"none",outline:"2px solid"},contentArrowStyle:{borderRight:"8px solid",color:l.af.dark.palette.secondary.secondary},date:e.time,iconStyle:{background:l.af.dark.palette.primary.main,color:l.af.dark.palette.accent.main,boxShadow:"none",border:"4px solid"},dateClassName:"test",textClassName:"t2"},r.createElement("h1",{className:"vertical-timeline-element-title",style:{color:l.af.dark.palette.secondary.main,fontSize:"24px"}},e.name),e.descriptionLinked?r.createElement("h2",{className:"vertical-timeline-element-subtitle",style:{color:l.af.dark.palette.secondary.main,fontSize:"18px"}},r.createElement("u",null,r.createElement("a",{href:e.descriptionLink,target:"_blank"},e.description))):r.createElement("h2",{className:"vertical-timeline-element-subtitle",style:{color:l.af.dark.palette.secondary.main,fontSize:"18px"}},e.description))}))))},E=function(){return r.createElement("div",{style:{background:l.af.dark.palette.accent.main,display:"flex",textAlign:"center",justifyContent:"center",width:"100%"}},r.createElement("h1",{className:"prizeMoney",style:{color:l.af.dark.palette.primary.main}},"$1000 in prizes"))},k=JSON.parse('[{"name":"Check-in","description":"","time":"8:00 am"},{"name":"Opening Ceremony","description":"","time":"8:15 am"},{"name":"Icebreakers","description":"Team Formation + Start Hacking","time":"8:30 am"},{"name":"Hack!","description":"Start hacking!","time":"9:00 am"},{"name":"Workshop 1: Building with VueJS","description":"Hosted by Sander Vonk","time":"10:00 am"},{"name":"Workshop 2: Intro to iOS","description":"Hosted by Atulya Weise","time":"12:30 pm"},{"name":"Capture the Flag","description":"Click here to check your answers!","time":"1:00 pm","descriptionLinked":true,"descriptionLink":"https://mvhacks-ctfs.vercel.app/"},{"name":"skribbl.io","description":"~Game time~","time":"4:00 pm"},{"name":"Turn in submissions!","description":"Voting and judging starts","time":"8:00 pm"},{"name":"Closing cerenomy","description":"Announcing winners!","time":"9:00 pm"}]'),x=n(1528),C=function(){return r.createElement("div",{style:{background:l.af.dark.palette.accent.main,display:"flex",textAlign:"center",justifyContent:"center",width:"100%",marginTop:"15vh"}},r.createElement("h1",{className:"dateBanner",style:{color:l.af.dark.palette.primary.main}},"Join us virtually on June 17th!"))},N=n(4942),O=n(9439),S=n(7684);n(1455);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,N.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=S.jU?r.useLayoutEffect:r.useEffect;function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,r.useRef)(e);return M((function(){n.current=e})),(0,r.useCallback)((function(){for(var e,t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return null==(t=n.current)?void 0:(e=t).call.apply(e,[n].concat(o))}),t)}function T(e,t){var n=void 0!==e;return[n,n&&void 0!==e?e:t]}function A(e,t){var n=(0,r.useId)();return(0,r.useMemo)((function(){return e||[t,n].filter(Boolean).join("-")}),[e,t,n])}var I=n(4925),j=n(5671),F=n(3144),D=n(4739),Z=n(6219),L=n(7066),W=n(4567),G=n(2996),B=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},V=new WeakMap,$=new WeakMap,z={},q=0,U=function(e,t,n,r){var o=Array.isArray(e)?e:[e];z[n]||(z[n]=new WeakMap);var a=z[n],i=[],c=new Set,l=new Set(o);o.forEach((function e(t){t&&!c.has(t)&&(c.add(t),e(t.parentNode))}));return function e(t){t&&!l.has(t)&&Array.prototype.forEach.call(t.children,(function(t){if(c.has(t))e(t);else{var o=t.getAttribute(r),l=null!==o&&"false"!==o,s=(V.get(t)||0)+1,u=(a.get(t)||0)+1;V.set(t,s),a.set(t,u),i.push(t),1===s&&l&&$.set(t,!0),1===u&&t.setAttribute(n,"true"),l||t.setAttribute(r,"true")}}))}(t),c.clear(),q++,function(){i.forEach((function(e){var t=V.get(e)-1,o=a.get(e)-1;V.set(e,t),a.set(e,o),t||($.has(e)||e.removeAttribute(r),$.delete(e)),o||e.removeAttribute(n)})),--q||(V=new WeakMap,V=new WeakMap,$=new WeakMap,z={})}},H=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||B(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),U(r,o,n,"aria-hidden")):function(){return null}},X=n(2680),Y=n(7462),J="data-focus-lock",K="data-focus-lock-disabled";function Q(e,t){return n=t||null,o=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},(a=(0,r.useState)((function(){return{value:n,callback:o,facade:{get current(){return a.value},set current(e){var t=a.value;t!==e&&(a.value=e,a.callback(e,t))}}}}))[0]).callback=o,a.facade;var n,o,a}var ee={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},te=function(e){var t=e.children;return r.createElement(r.Fragment,null,r.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:ee}),t,t&&r.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:ee}))};te.defaultProps={children:null};var ne=n(9900);function re(e){return e}function oe(e,t){void 0===t&&(t=re);var n=[],r=!1;return{read:function(){if(r)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]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function ae(e,t){return void 0===t&&(t=re),oe(e,t)}function ie(e){void 0===e&&(e={});var t=oe(null);return t.options=(0,ne.pi)({async:!0,ssr:!1},e),t}var ce=ae({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),le=ae(),se=ae(),ue=ie({async:!0}),de=[],fe=r.forwardRef((function(e,t){var n,o=r.useState(),a=o[0],i=o[1],c=r.useRef(),l=r.useRef(!1),s=r.useRef(null),u=e.children,d=e.disabled,f=e.noFocusGuards,m=e.persistentFocus,p=e.crossFrame,v=e.autoFocus,h=(e.allowTextSelection,e.group),g=e.className,y=e.whiteList,b=e.hasPositiveIndices,w=e.shards,E=void 0===w?de:w,k=e.as,x=void 0===k?"div":k,C=e.lockProps,N=void 0===C?{}:C,O=e.sideCar,S=e.returnFocus,_=e.focusOptions,P=e.onActivation,M=e.onDeactivation,R=r.useState({})[0],T=r.useCallback((function(){s.current=s.current||document&&document.activeElement,c.current&&P&&P(c.current),l.current=!0}),[P]),A=r.useCallback((function(){l.current=!1,M&&M(c.current)}),[M]);(0,r.useEffect)((function(){d||(s.current=null)}),[]);var I=r.useCallback((function(e){var t=s.current;if(t&&t.focus){var n="function"==typeof S?S(t):S;if(n){var r="object"==typeof n?n:void 0;s.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[S]),j=r.useCallback((function(e){l.current&&ce.useMedium(e)}),[]),F=le.useMedium,D=r.useCallback((function(e){c.current!==e&&(c.current=e,i(e))}),[]);var Z=(0,Y.Z)(((n={})[K]=d&&"disabled",n[J]=h,n),N),L=!0!==f,W=L&&"tail"!==f,G=Q([t,D]);return r.createElement(r.Fragment,null,L&&[r.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:ee}),b?r.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:ee}):null],!d&&r.createElement(O,{id:R,sideCar:ue,observed:a,disabled:d,persistentFocus:m,crossFrame:p,autoFocus:v,whiteList:y,shards:E,onActivation:T,onDeactivation:A,returnFocus:I,focusOptions:_}),r.createElement(x,(0,Y.Z)({ref:G},Z,{className:g,onBlur:F,onFocus:j}),u),W&&r.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:ee}))}));fe.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var me=fe,pe=n(4578);var ve=function(e,t){return function(n){var o,a=[];function i(){o=e(a.map((function(e){return e.props}))),t(o)}var c=function(e){function t(){return e.apply(this,arguments)||this}(0,pe.Z)(t,e),t.peek=function(){return o};var c=t.prototype;return c.componentDidMount=function(){a.push(this),i()},c.componentDidUpdate=function(){i()},c.componentWillUnmount=function(){var e=a.indexOf(this);a.splice(e,1),i()},c.render=function(){return r.createElement(n,this.props)},t}(r.PureComponent);return(0,N.Z)(c,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),c}},he=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},ge=function(e){return Array.isArray(e)?e:[e]},ye=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},be=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},we=function(e,t){return!e||be(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(ye(e))},Ee=function e(t,n){var r=t.get(n);if(void 0!==r)return r;var o=we(n,e.bind(void 0,t));return t.set(n,o),o},ke=function e(t,n){var r=t.get(n);if(void 0!==r)return r;var o=function(e,t){return!(e&&!be(e))||!!Oe(e)&&t(ye(e))}(n,e.bind(void 0,t));return t.set(n,o),o},xe=function(e){return e.dataset},Ce=function(e){return"INPUT"===e.tagName},Ne=function(e){return Ce(e)&&"radio"===e.type},Oe=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},Se=function(e){var t;return Boolean(e&&(null===(t=xe(e))||void 0===t?void 0:t.focusGuard))},_e=function(e){return!Se(e)},Pe=function(e){return Boolean(e)},Me=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},Re=function(e,t,n){return he(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(Me)},Te=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),Ae="".concat(Te,", [data-focus-guard]"),Ie=function e(t,n){var r;return he((null===(r=t.shadowRoot)||void 0===r?void 0:r.children)||t.children).reduce((function(t,r){return t.concat(r.matches(n?Ae:Te)?[r]:[],e(r))}),[])},je=function(e,t){return e.reduce((function(e,n){return e.concat(Ie(n,t),n.parentNode?he(n.parentNode.querySelectorAll(Te)).filter((function(e){return e===n})):[])}),[])},Fe=function(e,t){return he(e).filter((function(e){return Ee(t,e)})).filter((function(e){return function(e){return!((Ce(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)}))},De=function(e,t){return void 0===t&&(t=new Map),he(e).filter((function(e){return ke(t,e)}))},Ze=function(e,t,n){return Re(Fe(je(e,n),t),!0,n)},Le=function(e,t){return Re(Fe(je(e),t),!1)},We=function(e,t){return Fe((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),he(n).map((function(e){return je([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var n},Ge=function e(t,n){return t.shadowRoot?e(t.shadowRoot,n):!(void 0===Object.getPrototypeOf(t).contains||!Object.getPrototypeOf(t).contains.call(t,n))||he(t.children).some((function(t){return e(t,n)}))},Be=function e(t){return t.activeElement?t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement:void 0},Ve=function(){return document.activeElement?document.activeElement.shadowRoot?Be(document.activeElement.shadowRoot):document.activeElement:void 0},$e=function e(t){return t.parentNode?e(t.parentNode):t},ze=function(e){return ge(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(J);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(he($e(t).querySelectorAll("[".concat(J,'="').concat(n,'"]:not([').concat(K,'="disabled"])')))):[t]),e}),[])},qe=function(e){return Boolean(he(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))},Ue=function(e){var t=document&&Ve();return!(!t||t.dataset&&t.dataset.focusGuard)&&ze(e).some((function(e){return Ge(e,t)||qe(e)}))},He=function(e,t){return Ne(e)&&e.name?function(e,t){return t.filter(Ne).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},Xe=function(e){return e[0]&&e.length>1?He(e[0],e):e[0]},Ye=function(e,t){return e.length>1?e.indexOf(He(e[t],e)):t},Je="NEW_FOCUS",Ke=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],c=Se(n);if(!(n&&e.indexOf(n)>=0)){var l,s,u=void 0!==n?t.indexOf(n):-1,d=r?t.indexOf(r):u,f=r?e.indexOf(r):-1,m=u-d,p=t.indexOf(a),v=t.indexOf(i),h=(l=t,s=new Set,l.forEach((function(e){return s.add(He(e,l))})),l.filter((function(e){return s.has(e)}))),g=(void 0!==n?h.indexOf(n):-1)-(r?h.indexOf(r):u),y=Ye(e,0),b=Ye(e,o-1);return-1===u||-1===f?Je:!m&&f>=0?f:u<=p&&c&&Math.abs(m)>1?b:u>=v&&c&&Math.abs(m)>1?y:m&&Math.abs(g)>1?f:u<=p?b:u>v?y:m?Math.abs(m)>1?f:(o+f+m)%o:void 0}},Qe=function(e,t,n){var r,o=e.map((function(e){return e.node})),a=De(o.filter((r=n,function(e){var t,n=null===(t=xe(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return a&&a.length?Xe(a):Xe(De(t))},et=function e(t,n){return void 0===n&&(n=[]),n.push(t),t.parentNode&&e(t.parentNode.host||t.parentNode,n),n},tt=function(e,t){for(var n=et(e),r=et(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},nt=function(e,t,n){var r=ge(e),o=ge(t),a=r[0],i=!1;return o.filter(Boolean).forEach((function(e){i=tt(i||e,e)||i,n.filter(Boolean).forEach((function(e){var t=tt(a,e);t&&(i=!i||Ge(t,i)?t:tt(t,i))}))})),i},rt=function(e,t){return e.reduce((function(e,n){return e.concat(We(n,t))}),[])},ot=function(e,t){var n=document&&Ve(),r=ze(e).filter(_e),o=nt(n||e,e,r),a=new Map,i=Le(r,a),c=Ze(r,a).filter((function(e){var t=e.node;return _e(t)}));if(c[0]||(c=i)[0]){var l,s,u,d=Le([o],a).map((function(e){return e.node})),f=(l=d,s=c,u=new Map,s.forEach((function(e){return u.set(e.node,e)})),l.map((function(e){return u.get(e)})).filter(Pe)),m=f.map((function(e){return e.node})),p=Ke(m,d,n,t);return p===Je?{node:Qe(i,m,rt(r,a))}:void 0===p?p:f[p]}},at=0,it=!1,ct=function(e,t,n){void 0===n&&(n={});var r,o,a=ot(e,t);if(!it&&a){if(at>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),it=!0,void setTimeout((function(){it=!1}),1);at++,r=a.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),at--}},lt=function(e){var t=ze(e).filter(_e),n=nt(e,e,t),r=new Map,o=Ze([n],r,!0),a=Ze(t,r).filter((function(e){var t=e.node;return _e(t)})).map((function(e){return e.node}));return o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:Se(t)}}))};function st(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var ut=function(){return document&&document.activeElement===document.body||!!(e=document&&Ve())&&he(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(t){return Ge(t,e)}));var e},dt=null,ft=null,mt=null,pt=!1,vt=function(){return!0};function ht(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else{if(!i.lockItem)break;if(a!==e)return;o=null}}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var gt=function(e){return e&&"current"in e?e.current:e},yt=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},bt=function(){var e,t=!1;if(dt){var n=dt,r=n.observed,o=n.persistentFocus,a=n.autoFocus,i=n.shards,c=n.crossFrame,l=n.focusOptions,s=r||mt&&mt.portaledElement,u=document&&document.activeElement;if(s){var d=[s].concat(i.map(gt).filter(Boolean));if(u&&!function(e){return(dt.whiteList||vt)(e)}(u)||(o||(c?Boolean(pt):"meanwhile"===pt)||!ut()||!ft&&a)&&(s&&!(Ue(d)||u&&function(e,t){return t.some((function(t){return yt(e,t,t)}))}(u,d)||(e=u,mt&&mt.portaledElement===e))&&(document&&!ft&&u&&!a?(u.blur&&u.blur(),document.body.focus()):(t=ct(d,ft,{focusOptions:l}),mt={})),pt=!1,ft=document&&document.activeElement),document){var f=document&&document.activeElement,m=lt(d),p=m.map((function(e){return e.node})).indexOf(f);p>-1&&(m.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),ht(p,m.length,1,m),ht(p,-1,-1,m))}}}return t},wt=function(e){bt()&&e&&(e.stopPropagation(),e.preventDefault())},Et=function(){return st(bt)},kt=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(mt={observerNode:n,portaledElement:t})},xt=function(){pt="just",setTimeout((function(){pt="meanwhile"}),0)};ce.assignSyncMedium(kt),le.assignMedium(Et),se.assignMedium((function(e){return e({moveFocusInside:ct,focusInside:Ue})}));var Ct=ve((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!dt&&(document.addEventListener("focusin",wt),document.addEventListener("focusout",Et),window.addEventListener("blur",xt));var n=dt,r=n&&t&&t.id===n.id;dt=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(ft=null,r&&n.observed===t.observed||t.onActivation(),bt(),st(bt)):(document.removeEventListener("focusin",wt),document.removeEventListener("focusout",Et),window.removeEventListener("blur",xt),ft=null)}))((function(){return null})),Nt=r.forwardRef((function(e,t){return r.createElement(me,(0,Y.Z)({sideCar:Ct,ref:t},e))})),Ot=((me.propTypes||{}).sideCar,Nt);n(5743);function St(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function _t(e){var t;return!!St(e)&&e instanceof(null!==(t=e.ownerDocument.defaultView)&&void 0!==t?t:window).HTMLElement}var Pt=function(e){return e.hasAttribute("tabindex")};function Mt(e){return!(!e.parentElement||!Mt(e.parentElement))||e.hidden}function Rt(e){if(!_t(e)||Mt(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;var t=e.localName;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():!!function(e){var t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||Pt(e)}var Tt=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function At(e){var t=Array.from(e.querySelectorAll(Tt));return t.unshift(e),t.filter((function(e){return Rt(e)&&function(e){return e.offsetWidth>0&&e.offsetHeight>0}(e)}))}var It=function(e){var t=e.initialFocusRef,n=e.finalFocusRef,o=e.contentRef,a=e.restoreFocus,i=e.children,c=e.isDisabled,l=e.autoFocus,s=e.persistentFocus,u=e.lockFocusAcrossFrames,d=(0,r.useCallback)((function(){if(null==t?void 0:t.current)t.current.focus();else if(null==o?void 0:o.current){0===At(o.current).length&&requestAnimationFrame((function(){var e;null==(e=o.current)||e.focus()}))}}),[t,o]),f=(0,r.useCallback)((function(){var e;null==(e=null==n?void 0:n.current)||e.focus()}),[n]),m=a&&!n;return r.createElement(Ot,{crossFrame:u,persistentFocus:s,autoFocus:l,disabled:c,onActivation:d,onDeactivation:f,returnFocus:m},i)};It.displayName="FocusLock";var jt=n(5284),Ft="right-scroll-bar-position",Dt="width-before-scroll-bar",Zt=ie(),Lt=function(){},Wt=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:Lt,onWheelCapture:Lt,onTouchMoveCapture:Lt}),a=o[0],i=o[1],c=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,p=e.noIsolation,v=e.inert,h=e.allowPinchZoom,g=e.as,y=void 0===g?"div":g,b=(0,ne._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=m,E=Q([n,t]),k=(0,ne.pi)((0,ne.pi)({},b),a);return r.createElement(r.Fragment,null,d&&r.createElement(w,{sideCar:Zt,removeScrollBar:u,shards:f,noIsolation:p,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),c?r.cloneElement(r.Children.only(l),(0,ne.pi)((0,ne.pi)({},k),{ref:E})):r.createElement(y,(0,ne.pi)({},k,{className:s,ref:E}),l))}));Wt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Wt.classNames={fullWidth:Dt,zeroRight:Ft};var Gt,Bt=function(e){var t=e.sideCar,n=(0,ne._T)(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return r.createElement(o,(0,ne.pi)({},n))};Bt.isSideCarExport=!0;function Vt(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Gt||n.nc;return t&&e.setAttribute("nonce",t),e}var $t=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=Vt())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},zt=function(){var e,t=(e=$t(),function(t,n){r.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},qt={left:0,top:0,right:0,gap:0},Ut=function(e){return parseInt(e||"",10)||0},Ht=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return qt;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Ut(n),Ut(r),Ut(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Xt=zt(),Yt=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ft," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Dt," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Ft," .").concat(Ft," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Dt," .").concat(Dt," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},Jt=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,a=void 0===o?"margin":o,i=r.useMemo((function(){return Ht(a)}),[a]);return r.createElement(Xt,{styles:Yt(i,!t,a,n?"":"!important")})},Kt=!1;if("undefined"!=typeof window)try{var Qt=Object.defineProperty({},"passive",{get:function(){return Kt=!0,!0}});window.addEventListener("test",Qt,Qt),window.removeEventListener("test",Qt,Qt)}catch(eo){Kt=!1}var en=!!Kt&&{passive:!1},tn=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},nn=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),rn(e,n)){var r=on(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},rn=function(e,t){return"v"===e?function(e){return tn(e,"overflowY")}(t):function(e){return tn(e,"overflowX")}(t)},on=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},an=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},cn=function(e){return[e.deltaX,e.deltaY]},ln=function(e){return e&&"current"in e?e.current:e},sn=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},un=0,dn=[];var fn,mn=(fn=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),a=r.useState(un++)[0],i=r.useState((function(){return zt()}))[0],c=r.useRef(e);r.useEffect((function(){c.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,ne.ev)([e.lockRef.current],(e.shards||[]).map(ln),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(a))})),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(a))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!c.current.allowPinchZoom;var r,a=an(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-a[0],s="deltaY"in e?e.deltaY:i[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=nn(d,u);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=nn(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(l||s)&&(o.current=r),!r)return!0;var m=o.current||r;return function(e,t,n,r,o){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=a*r,c=n.target,l=t.contains(c),s=!1,u=i>0,d=0,f=0;do{var m=on(e,c),p=m[0],v=m[1]-m[2]-a*p;(p||v)&&rn(e,c)&&(d+=v,f+=p),c=c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(u&&(o&&0===d||!o&&i>d)||!u&&(o&&0===f||!o&&-i>f))&&(s=!0),s}(m,t,e,"h"===m?l:s,!0)}),[]),s=r.useCallback((function(e){var n=e;if(dn.length&&dn[dn.length-1]===i){var r="deltaY"in n?cn(n):an(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(c.current.shards||[]).map(ln).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?l(n,a[0]):!c.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),u=r.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),d=r.useCallback((function(e){n.current=an(e),o.current=void 0}),[]),f=r.useCallback((function(t){u(t.type,cn(t),t.target,l(t,e.lockRef.current))}),[]),m=r.useCallback((function(t){u(t.type,an(t),t.target,l(t,e.lockRef.current))}),[]);r.useEffect((function(){return dn.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",s,en),document.addEventListener("touchmove",s,en),document.addEventListener("touchstart",d,en),function(){dn=dn.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,en),document.removeEventListener("touchmove",s,en),document.removeEventListener("touchstart",d,en)}}),[]);var p=e.removeScrollBar,v=e.inert;return r.createElement(r.Fragment,null,v?r.createElement(i,{styles:sn(a)}):null,p?r.createElement(Jt,{gapMode:"margin"}):null)},Zt.useMedium(fn),Bt),pn=r.forwardRef((function(e,t){return r.createElement(Wt,(0,ne.pi)({},e,{ref:t,sideCar:mn}))}));pn.classNames=Wt.classNames;var vn=pn,hn=n(3401),gn=n(9064),yn=["className"],bn=["onClick","className"],wn=["preset","motionProps"],En=["className","children","containerProps","motionProps"],kn=["className"],xn=["className"],Cn=["className","transition","motionProps"],Nn=["className","children","motionProps","containerProps"];function On(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?On(Object(n),!0).forEach((function(t){(0,N.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):On(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")};function Pn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.some((function(t){return null==t||t(e),null==e?void 0:e.defaultPrevented}))}}var Mn=new(function(){function e(){(0,j.Z)(this,e),(0,N.Z)(this,"modals",void 0),this.modals=[]}return(0,F.Z)(e,[{key:"add",value:function(e){this.modals.push(e)}},{key:"remove",value:function(e){this.modals=this.modals.filter((function(t){return t!==e}))}},{key:"isTopModal",value:function(e){return this.modals[this.modals.length-1]===e}}]),e}());function Rn(e){var t,n,o,a=e.isOpen,i=e.onClose,c=e.id,l=e.closeOnOverlayClick,s=void 0===l||l,u=e.closeOnEsc,d=void 0===u||u,f=e.useInert,m=void 0===f||f,p=e.onOverlayClick,v=e.onEsc,h=(0,r.useRef)(null),g=(0,r.useRef)(null),y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=(0,r.useId)(),i=e||a;return(0,r.useMemo)((function(){return n.map((function(e){return"".concat(e,"-").concat(i)}))}),[i,n])}(c,"chakra-modal","chakra-modal--header","chakra-modal--body"),b=(0,O.Z)(y,3),w=b[0],E=b[1],k=b[2];n=a&&m,o=(t=h).current,(0,r.useEffect)((function(){if(t.current&&n)return H(t.current)}),[n,t,o]),function(e,t){(0,r.useEffect)((function(){return t&&Mn.add(e),function(){Mn.remove(e)}}),[t,e])}(h,a);var x=(0,r.useRef)(null),C=(0,r.useCallback)((function(e){x.current=e.target}),[]),N=(0,r.useCallback)((function(e){"Escape"===e.key&&(e.stopPropagation(),d&&(null==i||i()),null==v||v())}),[d,i,v]),S=(0,r.useState)(!1),_=(0,O.Z)(S,2),P=_[0],M=_[1],R=(0,r.useState)(!1),T=(0,O.Z)(R,2),A=T[0],I=T[1],j=(0,r.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Sn(Sn({role:"dialog"},e),{},{ref:(0,G.lq)(t,h),id:w,tabIndex:-1,"aria-modal":!0,"aria-labelledby":P?E:void 0,"aria-describedby":A?k:void 0,onClick:Pn(e.onClick,(function(e){return e.stopPropagation()}))})}),[k,A,w,E,P]),F=(0,r.useCallback)((function(e){e.stopPropagation(),x.current===e.target&&Mn.isTopModal(h)&&(s&&(null==i||i()),null==p||p())}),[i,s,p]),D=(0,r.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Sn(Sn({},e),{},{ref:(0,G.lq)(t,g),onClick:Pn(e.onClick,F),onKeyDown:Pn(e.onKeyDown,N),onMouseDown:Pn(e.onMouseDown,C)})}),[N,C,F]);return{isOpen:a,onClose:i,headerId:E,bodyId:k,setBodyMounted:I,setHeaderMounted:M,dialogRef:h,overlayRef:g,getDialogProps:j,getDialogContainerProps:D}}var Tn=(0,Z.k)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),An=(0,O.Z)(Tn,2),In=An[0],jn=An[1],Fn=(0,Z.k)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),Dn=(0,O.Z)(Fn,2),Zn=Dn[0],Ln=Dn[1],Wn=function(e){var t=e.portalProps,n=e.children,o=e.autoFocus,a=e.trapFocus,i=e.initialFocusRef,c=e.finalFocusRef,l=e.returnFocusOnClose,s=e.blockScrollOnMount,u=e.allowPinchZoom,d=e.preserveScrollBarGap,f=e.motionPreset,m=e.lockFocusAcrossFrames,p=e.onCloseComplete,v=(0,L.jC)("Modal",e),h=Sn(Sn({},Rn(e)),{},{autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:l,blockScrollOnMount:s,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:f,lockFocusAcrossFrames:m});return r.createElement(Zn,{value:h},r.createElement(In,{value:v},r.createElement(W.M,{onExitComplete:p},h.isOpen&&r.createElement(D.h_,Sn({},t),n))))};Wn.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},Wn.displayName="Modal";var Gn=(0,L.Gp)((function(e,t){var n=e.className,o=(0,I.Z)(e,yn),a=Ln(),i=a.bodyId,c=a.setBodyMounted;(0,r.useEffect)((function(){return c(!0),function(){return c(!1)}}),[c]);var l=_n("chakra-modal__body",n),s=jn();return r.createElement(L.m$.div,Sn(Sn({ref:t,className:l,id:i},o),{},{__css:s.body}))}));Gn.displayName="ModalBody";var Bn=(0,L.Gp)((function(e,t){var n=e.onClick,o=e.className,a=(0,I.Z)(e,bn),i=Ln().onClose,c=_n("chakra-modal__close-btn",o),l=jn();return r.createElement(X.P,Sn({ref:t,__css:l.closeButton,className:c,onClick:Pn(n,(function(e){e.stopPropagation(),i()}))},a))}));function Vn(e){var t=Ln(),n=t.autoFocus,o=t.trapFocus,a=t.dialogRef,i=t.initialFocusRef,c=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,d=t.preserveScrollBarGap,f=t.lockFocusAcrossFrames,m=(0,jt.oO)(),p=(0,O.Z)(m,2),v=p[0],h=p[1];return(0,r.useEffect)((function(){!v&&h&&setTimeout(h)}),[v,h]),r.createElement(It,{autoFocus:n,isDisabled:!o,initialFocusRef:i,finalFocusRef:s,restoreFocus:u,contentRef:a,lockFocusAcrossFrames:f},r.createElement(vn,{removeScrollBar:!d,allowPinchZoom:l,enabled:c,forwardProps:!0},e.children))}Bn.displayName="ModalCloseButton";var $n={slideInBottom:Sn(Sn({},hn.Xc),{},{custom:{offsetY:16,reverse:!0}}),slideInRight:Sn(Sn({},hn.Xc),{},{custom:{offsetX:16,reverse:!0}}),scale:Sn(Sn({},hn.Qh),{},{custom:{initialScale:.95,reverse:!0}}),none:{}},zn=(0,L.m$)(gn.E.section),qn=(0,r.forwardRef)((function(e,t){var n=e.preset,o=e.motionProps,a=void 0===o?function(e){return $n[e||"none"]}(n):o,i=(0,I.Z)(e,wn);return r.createElement(zn,Sn(Sn({ref:t},a),i))}));qn.displayName="ModalTransition";var Un=(0,L.Gp)((function(e,t){var n=e.className,o=e.children,a=e.containerProps,i=e.motionProps,c=(0,I.Z)(e,En),l=Ln(),s=l.getDialogProps,u=l.getDialogContainerProps,d=s(c,t),f=u(a),m=_n("chakra-modal__content",n),p=jn(),v=Sn({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},p.dialog),h=Sn({display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0},p.dialogContainer),g=Ln().motionPreset;return r.createElement(Vn,null,r.createElement(L.m$.div,Sn(Sn({},f),{},{className:"chakra-modal__content-container",tabIndex:-1,__css:h}),r.createElement(qn,Sn(Sn({preset:g,motionProps:i,className:m},d),{},{__css:v}),o)))}));Un.displayName="ModalContent";var Hn=(0,L.Gp)((function(e,t){var n=e.className,o=(0,I.Z)(e,kn),a=_n("chakra-modal__footer",n),i=Sn({display:"flex",alignItems:"center",justifyContent:"flex-end"},jn().footer);return r.createElement(L.m$.footer,Sn(Sn({ref:t},o),{},{__css:i,className:a}))}));Hn.displayName="ModalFooter";var Xn=(0,L.Gp)((function(e,t){var n=e.className,o=(0,I.Z)(e,xn),a=Ln(),i=a.headerId,c=a.setHeaderMounted;(0,r.useEffect)((function(){return c(!0),function(){return c(!1)}}),[c]);var l=_n("chakra-modal__header",n),s=Sn({flex:0},jn().header);return r.createElement(L.m$.header,Sn(Sn({ref:t,className:l,id:i},o),{},{__css:s}))}));Xn.displayName="ModalHeader";var Yn=(0,L.m$)(gn.E.div),Jn=(0,L.Gp)((function(e,t){var n=e.className,o=(e.transition,e.motionProps),a=(0,I.Z)(e,Cn),i=_n("chakra-modal__overlay",n),c=Sn({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},jn().overlay),l="none"===Ln().motionPreset?{}:hn.uf,s=o||l;return r.createElement(Yn,Sn(Sn({},s),{},{__css:c,ref:t,className:i},a))}));Jn.displayName="ModalOverlay";(0,L.Gp)((function(e,t){return r.createElement(Un,Sn({ref:t,role:"alertdialog"},e))}));var Kn=(0,Z.k)(),Qn=(0,O.Z)(Kn,2),er=(Qn[0],Qn[1]);var tr=(0,L.m$)(hn.Mi);(0,L.Gp)((function(e,t){var n=e.className,o=e.children,a=e.motionProps,i=e.containerProps,c=(0,I.Z)(e,Nn),l=Ln(),s=l.getDialogProps,u=l.getDialogContainerProps,d=l.isOpen,f=s(c,t),m=u(i),p=_n("chakra-modal__content",n),v=jn(),h=Sn({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},v.dialog),g=Sn({display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0},v.dialogContainer),y=er().placement;return r.createElement(Vn,null,r.createElement(L.m$.div,Sn(Sn({},m),{},{className:"chakra-modal__content-container",__css:g}),r.createElement(tr,Sn(Sn({motionProps:a,direction:y,in:d,className:p},f),{},{__css:h}),o)))})).displayName="DrawerContent";n(8559);function nr(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function rr(e,t){return Array.isArray(e)?e.map((function(e){return null===e?null:t(e)})):nr(e)?Object.keys(e).reduce((function(n,r){return n[r]=t(e[r]),n}),{}):null!=e?t(e):null}var or=n(3410),ar=n(5200);function ir(e){var t=Object.assign({},e);for(var n in t)void 0===t[n]&&delete t[n];return t}var cr=n(3953);function lr(e){return r.Children.toArray(e).filter((function(e){return(0,r.isValidElement)(e)}))}var sr=["ratio","children","className"],ur=["className"],dr=["size","centerContent"],fr=["size"],mr=["axis"],pr=["className"],vr=["className","centerContent"],hr=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],gr=["className","orientation","__css"],yr=["direction","align","justify","wrap","basis","grow","shrink"],br=["templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],wr=["area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart"],Er=["className"],kr=["className"],xr=["className","isExternal"],Cr=["isExternal","target","rel","className"],Nr=["className"],Or=["children","styleType","stylePosition","spacing"],Sr=["as"],_r=["as"],Pr=["columns","spacingX","spacingY","spacing","minChildWidth"],Mr=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],Rr=["className","align","decoration","casing"],Tr=["spacing","spacingX","spacingY","children","justify","direction","align","className","shouldWrapChildren"],Ar=["className"];function Ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(n),!0).forEach((function(t){(0,N.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,L.Gp)((function(e,t){var n=e.ratio,o=void 0===n?4/3:n,a=e.children,i=e.className,c=(0,I.Z)(e,sr),l=r.Children.only(a),s=(0,or.cx)("chakra-aspect-ratio",i);return r.createElement(L.m$.div,jr({ref:t,position:"relative",className:s,_before:{height:0,content:'""',display:"block",paddingBottom:rr(o,(function(e){return"".concat(1/e*100,"%")}))},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}}},c),l)})).displayName="AspectRatio",(0,L.Gp)((function(e,t){var n=(0,L.mq)("Badge",e),o=(0,ar.Lr)(e),a=(o.className,(0,I.Z)(o,ur));return r.createElement(L.m$.span,jr(jr({ref:t,className:(0,or.cx)("chakra-badge",e.className)},a),{},{__css:jr({display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle"},n)}))})).displayName="Badge";var Fr=(0,L.m$)("div");Fr.displayName="Box";var Dr=(0,L.Gp)((function(e,t){var n=e.size,o=e.centerContent,a=void 0===o||o,i=(0,I.Z)(e,dr),c=a?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return r.createElement(Fr,jr({ref:t,boxSize:n,__css:jr(jr({},c),{},{flexShrink:0,flexGrow:0})},i))}));Dr.displayName="Square",(0,L.Gp)((function(e,t){var n=e.size,o=(0,I.Z)(e,fr);return r.createElement(Dr,jr({size:n,ref:t,borderRadius:"9999px"},o))})).displayName="Circle",(0,L.m$)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}).displayName="Center";var Zr={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};(0,L.Gp)((function(e,t){var n=e.axis,o=void 0===n?"both":n,a=(0,I.Z)(e,mr);return r.createElement(L.m$.div,jr(jr({ref:t,__css:Zr[o]},a),{},{position:"absolute"}))}));(0,L.Gp)((function(e,t){var n=(0,L.mq)("Code",e),o=(0,ar.Lr)(e),a=(o.className,(0,I.Z)(o,pr));return r.createElement(L.m$.code,jr(jr({ref:t,className:(0,or.cx)("chakra-code",e.className)},a),{},{__css:jr({display:"inline-block"},n)}))})).displayName="Code",(0,L.Gp)((function(e,t){var n=(0,ar.Lr)(e),o=n.className,a=n.centerContent,i=(0,I.Z)(n,vr),c=(0,L.mq)("Container",e);return r.createElement(L.m$.div,jr(jr({ref:t,className:(0,or.cx)("chakra-container",o)},i),{},{__css:jr(jr({},c),a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))})).displayName="Container",(0,L.Gp)((function(e,t){var n=(0,L.mq)("Divider",e),o=n.borderLeftWidth,a=n.borderBottomWidth,i=n.borderTopWidth,c=n.borderRightWidth,l=n.borderWidth,s=n.borderStyle,u=n.borderColor,d=(0,I.Z)(n,hr),f=(0,ar.Lr)(e),m=f.className,p=f.orientation,v=void 0===p?"horizontal":p,h=f.__css,g=(0,I.Z)(f,gr),y={vertical:{borderLeftWidth:o||c||l||"1px",height:"100%"},horizontal:{borderBottomWidth:a||i||l||"1px",width:"100%"}};return r.createElement(L.m$.hr,jr(jr({ref:t,"aria-orientation":v},g),{},{__css:jr(jr(jr({},d),{},{border:"0",borderColor:u,borderStyle:s},y[v]),h),className:(0,or.cx)("chakra-divider",m)}))})).displayName="Divider",(0,L.Gp)((function(e,t){var n=e.direction,o=e.align,a=e.justify,i=e.wrap,c=e.basis,l=e.grow,s=e.shrink,u=(0,I.Z)(e,yr),d={display:"flex",flexDirection:n,alignItems:o,justifyContent:a,flexWrap:i,flexBasis:c,flexGrow:l,flexShrink:s};return r.createElement(L.m$.div,jr({ref:t,__css:d},u))})).displayName="Flex";var Lr=(0,L.Gp)((function(e,t){var n=e.templateAreas,o=e.gap,a=e.rowGap,i=e.columnGap,c=e.column,l=e.row,s=e.autoFlow,u=e.autoRows,d=e.templateRows,f=e.autoColumns,m=e.templateColumns,p=(0,I.Z)(e,br),v={display:"grid",gridTemplateAreas:n,gridGap:o,gridRowGap:a,gridColumnGap:i,gridAutoColumns:f,gridColumn:c,gridRow:l,gridAutoFlow:s,gridAutoRows:u,gridTemplateRows:d,gridTemplateColumns:m};return r.createElement(L.m$.div,jr({ref:t,__css:v},p))}));function Wr(e){return rr(e,(function(e){return"auto"===e?"auto":"span ".concat(e,"/span ").concat(e)}))}Lr.displayName="Grid",(0,L.Gp)((function(e,t){var n=e.area,o=e.colSpan,a=e.colStart,i=e.colEnd,c=e.rowEnd,l=e.rowSpan,s=e.rowStart,u=(0,I.Z)(e,wr),d=ir({gridArea:n,gridColumn:Wr(o),gridRow:Wr(l),gridColumnStart:a,gridColumnEnd:i,gridRowStart:s,gridRowEnd:c});return r.createElement(L.m$.div,jr({ref:t,__css:d},u))})).displayName="GridItem",(0,L.Gp)((function(e,t){var n=(0,L.mq)("Heading",e),o=(0,ar.Lr)(e),a=(o.className,(0,I.Z)(o,Er));return r.createElement(L.m$.h2,jr(jr({ref:t,className:(0,or.cx)("chakra-heading",e.className)},a),{},{__css:n}))})).displayName="Heading";(0,L.Gp)((function(e,t){var n=(0,L.mq)("Mark",e),o=(0,ar.Lr)(e);return r.createElement(Fr,jr(jr({ref:t},o),{},{as:"mark",__css:jr({bg:"transparent",whiteSpace:"nowrap"},n)}))}));(0,L.Gp)((function(e,t){var n=(0,L.mq)("Kbd",e),o=(0,ar.Lr)(e),a=o.className,i=(0,I.Z)(o,kr);return r.createElement(L.m$.kbd,jr(jr({ref:t,className:(0,or.cx)("chakra-kbd",a)},i),{},{__css:jr({fontFamily:"mono"},n)}))})).displayName="Kbd";var Gr=(0,L.Gp)((function(e,t){var n=(0,L.mq)("Link",e),o=(0,ar.Lr)(e),a=o.className,i=o.isExternal,c=(0,I.Z)(o,xr);return r.createElement(L.m$.a,jr(jr({target:i?"_blank":void 0,rel:i?"noopener":void 0,ref:t,className:(0,or.cx)("chakra-link",a)},c),{},{__css:n}))}));Gr.displayName="Link";(0,L.Gp)((function(e,t){var n=e.isExternal,o=e.target,a=e.rel,i=e.className,c=(0,I.Z)(e,Cr);return r.createElement(L.m$.a,jr(jr({},c),{},{ref:t,className:(0,or.cx)("chakra-linkbox__overlay",i),rel:n?"noopener noreferrer":a,target:n?"_blank":o,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}}))})),(0,L.Gp)((function(e,t){var n=e.className,o=(0,I.Z)(e,Nr);return r.createElement(L.m$.div,jr(jr({ref:t,position:"relative"},o),{},{className:(0,or.cx)("chakra-linkbox",n),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}}))}));var Br=(0,Z.k)({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),Vr=(0,O.Z)(Br,2),$r=Vr[0],zr=Vr[1],qr=(0,L.Gp)((function(e,t){var n=(0,L.jC)("List",e),o=(0,ar.Lr)(e),a=o.children,i=o.styleType,c=void 0===i?"none":i,l=o.stylePosition,s=o.spacing,u=(0,I.Z)(o,Or),d=lr(a),f=s?(0,N.Z)({},"& > *:not(style) ~ *:not(style)",{mt:s}):{};return r.createElement($r,{value:n},r.createElement(L.m$.ul,jr({ref:t,listStyleType:c,listStylePosition:l,role:"list",__css:jr(jr({},n.container),f)},u),d))}));qr.displayName="List",(0,L.Gp)((function(e,t){e.as;var n=(0,I.Z)(e,Sr);return r.createElement(qr,jr({ref:t,as:"ol",styleType:"decimal",marginStart:"1em"},n))})).displayName="OrderedList",(0,L.Gp)((function(e,t){e.as;var n=(0,I.Z)(e,_r);return r.createElement(qr,jr({ref:t,as:"ul",styleType:"initial",marginStart:"1em"},n))})).displayName="UnorderedList",(0,L.Gp)((function(e,t){var n=zr();return r.createElement(L.m$.li,jr(jr({ref:t},e),{},{__css:n.item}))})).displayName="ListItem",(0,L.Gp)((function(e,t){var n=zr();return r.createElement(cr.JO,jr(jr({ref:t,role:"presentation"},e),{},{__css:n.icon}))})).displayName="ListIcon",(0,L.Gp)((function(e,t){var n=e.columns,o=e.spacingX,a=e.spacingY,i=e.spacing,c=e.minChildWidth,l=(0,I.Z)(e,Pr),s=(0,L.Fg)(),u=c?function(e,t){return rr(e,(function(e){var n,r=(0,L.LP)("sizes",e,"number"==typeof(n=e)?"".concat(n,"px"):n)(t);return null===e?null:"repeat(auto-fit, minmax(".concat(r,", 1fr))")}))}(c,s):rr(n,(function(e){return null===e?null:"repeat(".concat(e,", minmax(0, 1fr))")}));return r.createElement(Lr,jr({ref:t,gap:i,columnGap:o,rowGap:a,templateColumns:u},l))})).displayName="SimpleGrid",(0,L.m$)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}}).displayName="Spacer";var Ur="& > *:not(style) ~ *:not(style)";var Hr=function(e){return r.createElement(L.m$.div,jr(jr({className:"chakra-stack__item"},e),{},{__css:jr({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)}))};Hr.displayName="StackItem";var Xr=(0,L.Gp)((function(e,t){var n=e.isInline,o=e.direction,a=e.align,i=e.justify,c=e.spacing,l=void 0===c?"0.5rem":c,s=e.wrap,u=e.children,d=e.divider,f=e.className,m=e.shouldWrapChildren,p=(0,I.Z)(e,Mr),v=n?"row":null!=o?o:"column",h=(0,r.useMemo)((function(){return function(e){var t=e.spacing,n=e.direction,r={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return(0,N.Z)({flexDirection:n},Ur,rr(n,(function(e){return r[e]})))}({direction:v,spacing:l})}),[v,l]),g=(0,r.useMemo)((function(){return function(e){var t=e.spacing,n=e.direction,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":rr(n,(function(e){return r[e]}))}}({spacing:l,direction:v})}),[l,v]),y=!!d,b=!m&&!y,w=(0,r.useMemo)((function(){var e=lr(u);return b?e:e.map((function(t,n){var o=void 0!==t.key?t.key:n,a=n+1===e.length,i=m?r.createElement(Hr,{key:o},t):t;if(!y)return i;var c=(0,r.cloneElement)(d,{__css:g}),l=a?null:c;return r.createElement(r.Fragment,{key:o},i,l)}))}),[d,g,y,b,m,u]),E=(0,or.cx)("chakra-stack",f);return r.createElement(L.m$.div,jr({ref:t,display:"flex",alignItems:a,justifyContent:i,flexDirection:h.flexDirection,flexWrap:s,className:E,__css:y?{}:(0,N.Z)({},Ur,h[Ur])},p),w)}));Xr.displayName="Stack",(0,L.Gp)((function(e,t){return r.createElement(Xr,jr(jr({align:"center"},e),{},{direction:"row",ref:t}))})).displayName="HStack";function Yr(e){return"number"==typeof e?"".concat(e,"px"):e}(0,L.Gp)((function(e,t){return r.createElement(Xr,jr(jr({align:"center"},e),{},{direction:"column",ref:t}))})).displayName="VStack",(0,L.Gp)((function(e,t){var n=(0,L.mq)("Text",e),o=(0,ar.Lr)(e),a=(o.className,o.align,o.decoration,o.casing,(0,I.Z)(o,Rr)),i=ir({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return r.createElement(L.m$.p,jr(jr(jr({ref:t,className:(0,or.cx)("chakra-text",e.className)},i),a),{},{__css:n}))})).displayName="Text",(0,L.Gp)((function(e,t){var n=e.spacing,o=void 0===n?"0.5rem":n,a=e.spacingX,i=e.spacingY,c=e.children,l=e.justify,s=e.direction,u=e.align,d=e.className,f=e.shouldWrapChildren,m=(0,I.Z)(e,Tr),p=(0,r.useMemo)((function(){var e={spacingX:a,spacingY:i},t=e.spacingX,n=void 0===t?o:t,r=e.spacingY,c=void 0===r?o:r;return{"--chakra-wrap-x-spacing":function(e){return rr(n,(function(t){return Yr((0,ar.fr)("space",t)(e))}))},"--chakra-wrap-y-spacing":function(e){return rr(c,(function(t){return Yr((0,ar.fr)("space",t)(e))}))},"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:l,alignItems:u,flexDirection:s,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}}),[o,a,i,l,u,s]),v=(0,r.useMemo)((function(){return f?r.Children.map(c,(function(e,t){return r.createElement(Jr,{key:t},e)})):c}),[c,f]);return r.createElement(L.m$.div,jr({ref:t,className:(0,or.cx)("chakra-wrap",d),overflow:"hidden"},m),r.createElement(L.m$.ul,{className:"chakra-wrap__list",__css:p},v))})).displayName="Wrap";var Jr=(0,L.Gp)((function(e,t){var n=e.className,o=(0,I.Z)(e,Ar);return r.createElement(L.m$.li,jr({ref:t,__css:{display:"flex",alignItems:"flex-start"},className:(0,or.cx)("chakra-wrap__listitem",n)},o))}));Jr.displayName="WrapItem";var Kr=function(){return r.createElement(a.Z,{title:"Home",children:void 0})},Qr=function(){var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onClose,n=e.onOpen,o=e.isOpen,a=e.id,i=R(n),c=R(t),l=(0,r.useState)(e.defaultIsOpen||!1),s=(0,O.Z)(l,2),u=s[0],d=s[1],f=T(o,u),m=(0,O.Z)(f,2),p=m[0],v=m[1],h=A(a,"disclosure"),g=(0,r.useCallback)((function(){p||d(!1),null==c||c()}),[p,c]),y=(0,r.useCallback)((function(){p||d(!0),null==i||i()}),[p,i]),b=(0,r.useCallback)((function(){(v?g:y)()}),[v,y,g]);return{isOpen:!!v,onOpen:y,onClose:g,onToggle:b,isControlled:p,getButtonProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return P(P({},e),{},{"aria-expanded":v,"aria-controls":h,onClick:(0,S.v0)(e.onClick,b)})},getDisclosureProps:function(){return P(P({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),{},{hidden:!v,id:h})}}}({defaultIsOpen:!0}),t=e.isOpen,n=(e.onOpen,e.onClose);return r.createElement(c.xjn,{theme:l.ZP},r.createElement(o.Z,null,r.createElement(a.Z,{title:"Home",children:void 0}),r.createElement(Wn,{isOpen:t,onClose:n,isCentered:!0},r.createElement(Jn,null),r.createElement(Un,null,r.createElement(Xn,null,"This Website Is Not Updated"),r.createElement(Bn,null),r.createElement(Gn,null,r.createElement("p",null,"This websited used our old url and is no longer updated. Please visit our new and improved website (mvhacks.dev) for the latest information.")),r.createElement(Hn,null,r.createElement(i.zx,{colorScheme:"blue",mr:3,onClick:n},"Close"),r.createElement(i.zx,{colorScheme:"blue",variant:"solid"},r.createElement(Gr,{href:"https://mvhacks.dev",isExternal:!0},"Go to mvhacks.dev"))))),r.createElement("div",{className:"center"},r.createElement("div",{id:"backgroundText",style:{color:l.af.dark.palette.accent.secondary}},r.createElement("span",null,"2023"),r.createElement("div",{id:"foregroundText",style:{color:l.af.dark.palette.secondary.main}},"MVHacks 6.0")),r.createElement("div",{id:"subtitle",style:{color:l.af.dark.palette.secondary.main}},"The hackathon for everyone. Especially beginners."),r.createElement(i.zx,{variant:"outline"},r.createElement("a",{href:"https://forms.gle/ivGpBxPEDeNZ2JaM6",target:"_blank"},"Apply for the 7.0 team!")),r.createElement("div",{style:{padding:"10vh"}}),r.createElement(C,null),r.createElement(y,{year:2023,month:5,day:17,hour:8}),r.createElement(E,null),r.createElement(w,{eventInfo:k}),r.createElement(x.Z,null))))}}}]);
//# sourceMappingURL=component---src-pages-index-tsx-9f57ab62917fc7eec00a.js.map