(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7846],{24684:function(e,t,n){"use strict";var r=n(59499),o=(n(67294),n(47166)),l=n.n(o),c=n(9980),i=n.n(c),a=n(86437),s=n(84004),u=n(83385),d=n.n(u),f=n(58199),m=n(16717),h=n(97902),p=n(24268),g=n(85893);function v(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 _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=l().bind(d()),b=function(e){var t=e.node.data.target,n=t.fields,r=n.header,o=n.body;n.type;return"code"===t.sys.contentType.sys.id?(0,g.jsx)(m.Z,_({},t.fields)):"embed"===t.sys.contentType.sys.id?(0,g.jsx)(h.Z,_({},t.fields)):"embeddedSection"===t.sys.contentType.sys.id?(0,g.jsx)(p.Z,_({},t.fields)):(0,g.jsxs)(g.Fragment,{children:[r&&(0,g.jsx)("h3",{children:r}),o&&(0,g.jsx)("div",{dangerouslySetInnerHTML:{__html:i()({html:!0,breaks:!0,code:!0}).render(o)}})]})};t.Z=function(e){var t,n=e.body,o=e.page,l={renderNode:(t={},(0,r.Z)(t,a.BLOCKS.EMBEDDED_ENTRY,(function(e){return(0,g.jsx)(b,{node:e})})),(0,r.Z)(t,a.BLOCKS.HEADING_1,(function(e,t){return(0,g.jsx)("h2",{children:t})})),(0,r.Z)(t,a.INLINES.EMBEDDED_ENTRY,(function(e){var t=e.data.target.fields,n=t.image,r=t.id;if(!n)return(0,g.jsx)("a",{id:r});var o=n.fields,l=o.file,c=o.title,i=l.details.image.width;return(0,g.jsx)("img",{src:l.url||"",style:{width:i},alt:c,id:r})})),(0,r.Z)(t,a.BLOCKS.EMBEDDED_ASSET,(function(e){var t=e.data,n=t.target,r=t.isRetina2x,o=n.fields,l=(o.description,o.file.details.image.width);return(0,g.jsx)("div",{className:y("image"),style:{width:l/(r?2:1)},children:(0,g.jsx)(f.Z,_(_({},n.fields),{},{plain:!0,alignCaption:"left"}))})})),t),renderText:function(e){return e.split("\n").flatMap((function(e,t){return[t>0&&(0,g.jsx)("br",{}),e]}))}};return(0,g.jsx)("div",{className:y("container","page_".concat(o)),children:(0,g.jsx)("div",{className:y("inner"),children:(0,s.h)(n,l)})})}},92477:function(e,t,n){"use strict";n(67294);var r=n(47166),o=n.n(r),l=n(41664),c=n.n(l),i=n(36882),a=n.n(i),s=n(85893),u=o().bind(a()),d=function(e){var t=e.parentFolderName,n=e.parentFolderLink,r=e.folderName;return(0,s.jsxs)("div",{className:u("root"),children:[(0,s.jsx)(c(),{href:"/",children:(0,s.jsx)("a",{className:u("link"),children:"Home"})}),n&&(0,s.jsx)(c(),{href:n,children:(0,s.jsx)("a",{className:u("link"),children:t})}),!n&&(0,s.jsx)("span",{className:u("link"),children:t}),(0,s.jsx)("span",{className:u("link"),children:r})]})};d.defaaultProps={parentFolderName:"",parentFolderLink:"",folderName:""},t.Z=d},88805:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r,o=n(67294),l=n(41664),c=n.n(l),i=n(47166),a=n.n(i);function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}var u,d=function(e){return o.createElement("svg",s({width:24,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),r||(r=o.createElement("path",{d:"M1 10h22m0 0-9-9m9 9-9 9",stroke:"#234999",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};function f(){return f=Object.assign?Object.assign.bind():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},f.apply(this,arguments)}var m=function(e){return o.createElement("svg",f({width:24,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),u||(u=o.createElement("path",{d:"M1 10h22m0 0-9-9m9 9-9 9",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))},h=n(71069),p=n.n(h),g=n(85893),v=a().bind(p()),_=(0,o.forwardRef)((function(e,t){var n=e.text,r=(e.onClick,e.href),o=e.className,l=e.hasArrow,i=e.target,a=e.align,s=e.inverted,u=void 0!==s&&s,f="".concat(v("button","align_".concat(a),{button_arrow:l,inverted:u})," ").concat(o);if(!r||!n)return null;var h=function(){return u?(0,g.jsx)(m,{}):(0,g.jsx)(d,{})};return r.includes("//")&&!r.includes("anyscale.com")?(0,g.jsxs)("a",{href:r,target:i,rel:"_blank"===i?"noreferrer":null,className:f,ref:t,children:[n,l&&h()]}):(0,g.jsx)(c(),{href:r,children:(0,g.jsxs)("a",{className:f,ref:t,children:[n,l&&h()]})})}));_.defaultProps={onClick:null,href:null,className:"",target:null,hasArrow:!1};var y=_},16717:function(e,t,n){"use strict";n(67294);var r=n(47166),o=n.n(r),l=n(9980),c=n.n(l),i=n(84380),a=n(6048),s=n.n(a),u=n(85893),d=o().bind(s()),f={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#ccc",background:"#222025"},"hljs-comment":{color:"#5c6370"},"hljs-quote":{color:"#5c6370",fontStyle:"italic"},"hljs-doctag":{color:"#c678dd"},"hljs-keyword":{color:"#c678dd"},"hljs-formula":{color:"#c678dd"},"hljs-section":{color:"#e06c75"},"hljs-name":{color:"#e06c75"},"hljs-selector-tag":{color:"#e06c75"},"hljs-deletion":{color:"#e06c75"},"hljs-subst":{color:"#e06c75"},"hljs-literal":{color:"#56b6c2"},"hljs-string":{color:"#98c379"},"hljs-regexp":{color:"#98c379"},"hljs-addition":{color:"#98c379"},"hljs-attribute":{color:"#98c379"},"hljs-meta-string":{color:"#98c379"},"hljs-built_in":{color:"#e6c07b"},"hljs-class .hljs-title":{color:"#e6c07b"},"hljs-attr":{color:"#d19a66"},"hljs-variable":{color:"#d19a66"},"hljs-template-variable":{color:"#d19a66"},"hljs-type":{color:"#d19a66"},"hljs-selector-class":{color:"#d19a66"},"hljs-selector-attr":{color:"#d19a66"},"hljs-selector-pseudo":{color:"#d19a66"},"hljs-number":{color:"#d19a66"},"hljs-symbol":{color:"#61aeee"},"hljs-bullet":{color:"#61aeee"},"hljs-link":{color:"#61aeee",textDecoration:"underline"},"hljs-meta":{color:"#61aeee"},"hljs-selector-id":{color:"#61aeee"},"hljs-title":{color:"#61aeee"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};t.Z=function(e){var t=e.body,n=e.language,r=void 0===n?null:n,o=e.highlightRows,l=e.caption,a=void 0===l?null:l,s=o?o.map((function(e){return parseInt(e)})):[];return(0,u.jsxs)("div",{className:d("container"),children:[(0,u.jsx)(i.Z,{language:r?r.toLowerCase():null,useInlineStyles:!0,wrapLines:!0,showLineNumbers:!0,style:f,lineNumberStyle:{opacity:.35},lineProps:function(e){var t={display:"block"};return s.includes(e)&&(t.backgroundColor="#333"),{style:t}},children:t}),a&&(0,u.jsx)("span",{className:d("caption","align_left"),dangerouslySetInnerHTML:{__html:c()().renderInline(a)}})]})}},97902:function(e,t,n){"use strict";var r=n(92777),o=n(82262),l=n(45959),c=n(63553),i=n(37247),a=n(67294),s=n(9980),u=n.n(s),d=n(47166),f=n.n(d),m=n(48710),h=n(17828),p=n.n(h),g=n(85893);function v(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 n,r=(0,i.Z)(e);if(t){var o=(0,i.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var _=f().bind(p()),y=function(e){(0,l.Z)(n,e);var t=v(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,o.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.videoUrl,n=e.caption;return(0,g.jsxs)("div",{className:_("root"),children:[(0,g.jsx)("div",{className:_("inner"),children:(0,g.jsx)(m.Z,{src:t})}),n&&(0,g.jsx)("span",{className:_("caption","align_left"),dangerouslySetInnerHTML:{__html:u()().renderInline(n)}})]})}}]),n}(a.PureComponent);t.Z=y},24268:function(e,t,n){"use strict";var r=n(59499),o=(n(67294),n(47166)),l=n.n(o),c=(n(9980),n(58199)),i=n(88805),a=n(34738),s=n.n(a),u=n(85893);function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=l().bind(s());t.Z=function(e){var t=e.header,n=e.links,r=e.icon,o=void 0===r?null:r;e.type;return(0,u.jsx)("div",{className:m("root"),children:(0,u.jsxs)("div",{className:m("inner"),children:[(0,u.jsxs)("div",{className:m("header"),children:[(0,u.jsx)("span",{className:m("image"),children:o&&(0,u.jsx)(c.Z,f(f({},o.fields),{},{plain:!0}))}),t&&(0,u.jsx)("h4",{children:t})]}),(0,u.jsx)("div",{className:m("links"),children:null===n||void 0===n?void 0:n.map((function(e){return(0,u.jsx)(i.Z,{className:m("link"),text:e.fields.text,href:e.fields.link},e.sys.id)}))})]})})}},58199:function(e,t,n){"use strict";var r=n(92777),o=n(82262),l=n(45959),c=n(63553),i=n(37247),a=n(67294),s=n(47166),u=n.n(s),d=n(9980),f=n.n(d),m=n(11362),h=n.n(m),p=n(85893);function g(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 n,r=(0,i.Z)(e);if(t){var o=(0,i.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var v=u().bind(h()),_=function(e){(0,l.Z)(n,e);var t=g(n);function n(e){var o;return(0,r.Z)(this,n),(o=t.call(this,e)).state={loaded:!1},o}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.file;if(t){var n=new Image;n.onload=function(){setTimeout((function(){e.setState({loaded:!0})}),0)},n.src=t.url}}},{key:"render",value:function(){var e=this.props,t=e.file,n=e.title,r=e.description,o=e.sizing,l=e.plain,c=e.contain,i=e.ratio,s=e.alignCaption,u=this.state.loaded,d=o?"".concat(t.url,"?").concat(o):t.url,m=i?{paddingBottom:"".concat(100*i,"%")}:{};return(0,p.jsxs)(a.Fragment,{children:[(0,p.jsx)("div",{className:v(["wrapper",{plain:l}]),style:m,children:(0,p.jsx)("div",{className:v(["image",{loaded:u,contain:c}]),children:(0,p.jsx)("img",{src:d||"",alt:n})})}),r&&(0,p.jsx)("span",{className:v("caption","align_".concat(s)),dangerouslySetInnerHTML:{__html:f()().renderInline(r)}})]})}}]),n}(a.PureComponent);_.defaultProps={file:{},title:"",description:null,sizing:null,plain:!1,contain:!1,alignCaption:""},t.Z=_},48710:function(e,t,n){"use strict";var r=n(92777),o=n(82262),l=n(10748),c=n(45959),i=n(63553),a=n(37247),s=n(59499),u=n(67294),d=n(47166),f=n.n(d),m=n(84192),h=n(72927),p=n.n(h),g=n(85893);function v(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 n,r=(0,a.Z)(e);if(t){var o=(0,a.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}var _=f().bind(p()),y=function(e){(0,c.Z)(n,e);var t=v(n);function n(){var e;(0,r.Z)(this,n);for(var o=arguments.length,c=new Array(o),i=0;i<o;i++)c[i]=arguments[i];return e=t.call.apply(t,[this].concat(c)),(0,s.Z)((0,l.Z)(e),"state",{videoSrc:null}),e}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.src,n=e.autoplay;if(t){var r=(0,m.Kr)(t);this.setState({videoSrc:"https://www.youtube.com/embed/".concat(r).concat(n?"?&autoplay=1":"")})}}},{key:"render",value:function(){var e=this.state.videoSrc;return(0,g.jsx)("div",{className:_("container"),children:(0,g.jsx)("div",{className:_("inner"),children:(0,g.jsx)("div",{className:_("wrapper"),children:e&&(0,g.jsx)("iframe",{frameBorder:"0",height:"100%",width:"100%",allowFullScreen:!0,allow:"autoplay",src:e})})})})}}]),n}(u.PureComponent);y.defaultProps={src:null},t.Z=y},84192:function(e,t,n){"use strict";n.d(t,{Kr:function(){return u},Ph:function(){return a},U6:function(){return i},Uh:function(){return s},h6:function(){return d},ld:function(){return c}});var r=n(27812),o=n(99490),l=n(89380),c=function(e){(0,l.Z)(e,{speed:1e3})},i=function(e){var t=e.route,n=e.startDate,r=e.slug,l=t||"/events";if(!n)return r?"".concat(l,"/").concat(r):l;var c=o.ou.fromISO(n,{locale:"en-US"}).toFormat("yyyy"),i=o.ou.fromISO(n,{locale:"en-US"}).toFormat("MM"),a=o.ou.fromISO(n,{locale:"en-US"}).toFormat("dd");return"".concat(l,"/").concat(c,"/").concat(i,"/").concat(a,"/").concat(r)},a=function(e){var t=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),n=new RegExp("[\\?&]".concat(t,"=([^&#]*)")).exec(window.location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))},s=function(e){var t=a("utm_source"),n=a("utm_medium"),r=a("utm_content"),o=a("utm_campaign"),l=a("utm_term"),c="";return t&&(c+="&utm_source="+t),n&&(c+="&utm_medium="+n),o&&(c+="&utm_campaign="+o),r&&(c+="&utm_content="+r),l&&(c+="&utm_term="+l),c.length>0&&!e.includes("?")&&(c=c.replace("&","?")),"".concat(e).concat(c)},u=function(e){if(!e)return null;return e.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#&?]*).*/)[1]},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=[];return n.length>0?n.forEach((function(n){var l=n.id,c=n.title;e.forEach((function(e){e.fields.id===l&&(o=[].concat((0,r.Z)(o),[{name:c,id:l,slug:"".concat(t,"#").concat(l)}]))}))})):e.forEach((function(e){var n=e.fields,l=n.type,c=n.header;switch(l){case"Summit Speakers":return void(o=[].concat((0,r.Z)(o),[{name:c,id:"speakers",slug:"".concat(t,"#speakers")}]));case"Agenda":return void(o=[].concat((0,r.Z)(o),[{name:c,id:"agenda",slug:"".concat(t,"#agenda")}]));case"Summit Sponsors":return void(o=[].concat((0,r.Z)(o),[{name:c,id:"sponsors",slug:"".concat(t,"#sponsors")}]));case"Summit Community":o=[].concat((0,r.Z)(o),[{name:"Community",id:"community",slug:"".concat(t,"#community")}]);default:return null}})),o}},83385:function(e){e.exports={container:"ArticleBody_container__QoiWj",page_article:"ArticleBody_page_article__R6nNl",page_legal:"ArticleBody_page_legal__2hPpH",inner:"ArticleBody_inner__ml2H8",image:"ArticleBody_image__rd3Dj"}},36882:function(e){e.exports={root:"Breadcrumbs_root__53EXt",link:"Breadcrumbs_link__HBYkg"}},71069:function(e){e.exports={button:"Button_button__QHarr",inverted:"Button_inverted__gh_1q",button_arrow:"Button_button_arrow__lCSmx",align_left:"Button_align_left__ufaxo"}},6048:function(e){e.exports={container:"CodeSnippet_container__wu5pt",caption:"CodeSnippet_caption__FSclk",align_left:"CodeSnippet_align_left__TJ5SN"}},17828:function(e){e.exports={root:"EmbeddedContent_root__oulKc",inner:"EmbeddedContent_inner__IE4jT",caption:"EmbeddedContent_caption__D3wUT",align_left:"EmbeddedContent_align_left__IRH6R"}},34738:function(e){e.exports={root:"EmbeddedSection_root__0LAUl",inner:"EmbeddedSection_inner__wedUm",header:"EmbeddedSection_header__RLxZX",image:"EmbeddedSection_image__aV_i6",links:"EmbeddedSection_links__nJv_O",link:"EmbeddedSection_link__3xxQF"}},11362:function(e){e.exports={wrapper:"Image_wrapper__beWl0",plain:"Image_plain__m5QAa",image:"Image_image__EAuYA",contain:"Image_contain__sI5D9",loaded:"Image_loaded___CdvS",caption:"Image_caption__outy2",align_left:"Image_align_left__VA3hB"}},72927:function(e){e.exports={container:"YoutubePlayer_container__xfelL",inner:"YoutubePlayer_inner__Hkl4E",wrapper:"YoutubePlayer_wrapper__Oq7Ea"}},89380:function(e,t){"use strict";var n=function(e,t,n,r){return new(n||(n=Promise))((function(o,l){function c(e){try{a(r.next(e))}catch(t){l(t)}}function i(e){try{a(r.throw(e))}catch(t){l(t)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,i)}a((r=r.apply(e,t||[])).next())}))};function r(e){let t=0,n=0,r=e;do{t+=r.offsetTop||0,n+=r.offsetLeft||0,r=r.offsetParent}while(r);return{top:t,left:n}}class o{constructor(e){this.element=e}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(e,t){return r(e).left-r(t).left}getVerticalElementScrollOffset(e,t){return r(e).top-r(t).top}scrollTo(e,t){this.element.scrollLeft=e,this.element.scrollTop=t}}class l{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(e){return(window.scrollX||document.documentElement.scrollLeft)+e.getBoundingClientRect().left}getVerticalElementScrollOffset(e){return(window.scrollY||document.documentElement.scrollTop)+e.getBoundingClientRect().top}scrollTo(e,t){window.scrollTo(e,t)}}const c={elements:[],cancelMethods:[],add:(e,t)=>{c.elements.push(e),c.cancelMethods.push(t)},remove:(e,t)=>{const n=c.elements.indexOf(e);n>-1&&(t&&c.cancelMethods[n](),c.elements.splice(n,1),c.cancelMethods.splice(n,1))}},i="undefined"!==typeof window,a={cancelOnUserAction:!0,easing:e=>--e*e*e+1,elementToScroll:i?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};t.Z=function(e,t={}){return n(this,void 0,void 0,(function*(){if(!i)return new Promise((e=>{e(!1)}));if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";let n,r,s,u=Object.assign(Object.assign({},a),t);const d=u.elementToScroll===window,f=!!u.elementToScroll.nodeName;if(!d&&!f)throw"Element to scroll needs to be either window or DOM element.";const m=d?document.documentElement:u.elementToScroll;"smooth"===getComputedStyle(m).getPropertyValue("scroll-behavior")&&console.warn(`${m.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const h=d?new l:new o(u.elementToScroll);if(e instanceof Element){if(s=e,f&&(!u.elementToScroll.contains(s)||u.elementToScroll.isSameNode(s)))throw"options.elementToScroll has to be a parent of scrollToElement";n=h.getHorizontalElementScrollOffset(s,u.elementToScroll),r=h.getVerticalElementScrollOffset(s,u.elementToScroll)}else if("number"===typeof e)n=h.getHorizontalScroll(),r=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n  animateScrollTo(y:number, options)\n  animateScrollTo([x:number | null, y:number | null], options)\n  animateScrollTo(scrollToElement:Element, options)";n=null===e[0]?h.getHorizontalScroll():e[0],r=null===e[1]?h.getVerticalScroll():e[1]}n+=u.horizontalOffset,r+=u.verticalOffset;const p=h.getMaxHorizontalScroll(),g=h.getHorizontalScroll();n>p&&(n=p);const v=n-g,_=h.getMaxVerticalScroll(),y=h.getVerticalScroll();r>_&&(r=_);const b=r-y,j=Math.abs(Math.round(v/1e3*u.speed)),w=Math.abs(Math.round(b/1e3*u.speed));let x=j>w?j:w;return x<u.minDuration?x=u.minDuration:x>u.maxDuration&&(x=u.maxDuration),new Promise(((e,t)=>{let o;0===v&&0===b&&e(!0),c.remove(h.element,!0);const l=()=>{d(),cancelAnimationFrame(o),e(!1)};c.add(h.element,l);const i=u.cancelOnUserAction?l:e=>e.preventDefault(),a=u.cancelOnUserAction?{passive:!0}:{passive:!1},s=["wheel","touchstart","keydown","mousedown"],d=()=>{s.forEach((e=>{h.element.removeEventListener(e,i,a)}))};s.forEach((e=>{h.element.addEventListener(e,i,a)}));const f=Date.now(),m=()=>{var t=Date.now()-f,l=t/x;const i=Math.round(g+v*u.easing(l)),a=Math.round(y+b*u.easing(l));t<x&&(i!==n||a!==r)?(h.scrollTo(i,a),o=requestAnimationFrame(m)):(h.scrollTo(n,r),cancelAnimationFrame(o),d(),c.remove(h.element,!1),e(!0))};o=requestAnimationFrame(m)}))}))}},52587:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},27812:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(52587);var o=n(2937);function l(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2937:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52587);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}}]);